text: if(function(t){"use strict";function e(t,e){return e=e||Error,function(){var n,i,r=arguments[0],o=arguments[1],a="["+(t?t+":":"")+r+"] ",s=U(arguments,2).map(function(t){return wt(t,Ui.objectMaxDepth)});for(a+=o.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1);return e<s.length?s[e]:t}),a+="\nhttp://errors.angularjs.org/1.6.3/"+(t?t+"/":"")+r,i=0,n="?";i<s.length;i++,n="&")a+=n+"p"+i+"="+encodeURIComponent(s[i]);return new e(a)}}function n(t){if(!w(t))return Ui;b(t.objectMaxDepth)&&(Ui.objectMaxDepth=i(t.objectMaxDepth)?t.objectMaxDepth:NaN)}function i(t){return k(t)&&t>0}function r(t){if(null==t||A(t))return!1;if(lr(t)||C(t)||Zi&&t instanceof Zi)return!0;var e="length"in Object(t)&&t.length;return k(e)&&(e>=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function o(t,e,n){var i,a;if(t)if(E(t))for(i in t)"prototype"!==i&&"length"!==i&&"name"!==i&&t.hasOwnProperty(i)&&e.call(n,t[i],i,t);else if(lr(t)||r(t)){var s="object"!=typeof t;for(i=0,a=t.length;i<a;i++)(s||i in t)&&e.call(n,t[i],i,t)}else if(t.forEach&&t.forEach!==o)t.forEach(e,n,t);else if(x(t))for(i in t)e.call(n,t[i],i,t);else if("function"==typeof t.hasOwnProperty)for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t);else for(i in t)Wi.call(t,i)&&e.call(n,t[i],i,t);return t}function a(t,e,n){for(var i=Object.keys(t).sort(),r=0;r<i.length;r++)e.call(n,t[i[r]],i[r]);return i}function s(t){return function(e,n){t(n,e)}}function u(){return++sr}function l(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function c(t,e,n){for(var i=t.$$hashKey,r=0,o=e.length;r<o;++r){var a=e[r];if(w(a)||E(a))for(var s=Object.keys(a),u=0,d=s.length;u<d;u++){var f=s[u],h=a[f];n&&w(h)?S(h)?t[f]=new Date(h.valueOf()):T(h)?t[f]=new RegExp(h):h.nodeName?t[f]=h.cloneNode(!0):N(h)?t[f]=h.clone():(w(t[f])||(t[f]=lr(h)?[]:{}),c(t[f],[h],!0)):t[f]=h}}return l(t,i),t}function d(t){return c(t,tr.call(arguments,1),!1)}function f(t){return c(t,tr.call(arguments,1),!0)}function h(t){return parseInt(t,10)}function p(t,e){return d(Object.create(t),e)}function v(){}function g(t){return t}function m(t){return function(){return t}}function $(t){return E(t.toString)&&t.toString!==ir}function y(t){return void 0===t}function b(t){return void 0!==t}function w(t){return null!==t&&"object"==typeof t}function x(t){return null!==t&&"object"==typeof t&&!rr(t)}function C(t){return"string"==typeof t}function k(t){return"number"==typeof t}function S(t){return"[object Date]"===ir.call(t)}function E(t){return"function"==typeof t}function T(t){return"[object RegExp]"===ir.call(t)}function A(t){return t&&t.window===t}function O(t){return t&&t.$evalAsync&&t.$watch}function _(t){return"[object File]"===ir.call(t)}function M(t){return"[object FormData]"===ir.call(t)}function P(t){return"[object Blob]"===ir.call(t)}function I(t){return"boolean"==typeof t}function V(t){return t&&E(t.then)}function D(t){return t&&k(t.length)&&cr.test(ir.call(t))}function j(t){return"[object ArrayBuffer]"===ir.call(t)}function N(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function q(t){var e,n={},i=t.split(",");for(e=0;e<i.length;e++)n[i[e]]=!0;return n}function L(t){return Bi(t.nodeName||t[0]&&t[0].nodeName)}function R(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function H(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function F(t,e,n){function r(t,e,n){if(--n<0)return"...";var i,r=e.$$hashKey;if(lr(t))for(var o=0,s=t.length;o<s;o++)e.push(a(t[o],n));else if(x(t))for(i in t)e[i]=a(t[i],n);else if(t&&"function"==typeof t.hasOwnProperty)for(i in t)t.hasOwnProperty(i)&&(e[i]=a(t[i],n));else for(i in t)Wi.call(t,i)&&(e[i]=a(t[i],n));return l(e,r),e}function a(t,e){if(!w(t))return t;var n=u.indexOf(t);if(-1!==n)return c[n];if(A(t)||O(t))throw or("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,o=s(t);return void 0===o&&(o=lr(t)?[]:Object.create(rr(t)),i=!0),u.push(t),c.push(o),i?r(t,o,e):o}function s(t){switch(ir.call(t)){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 t.constructor(a(t.buffer),t.byteOffset,t.length);case"[object ArrayBuffer]":if(!t.slice){var e=new ArrayBuffer(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}return t.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new t.constructor(t.valueOf());case"[object RegExp]":var n=new RegExp(t.source,t.toString().match(/[^\/]*$/)[0]);return n.lastIndex=t.lastIndex,n;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(E(t.cloneNode))return t.cloneNode(!0)}var u=[],c=[];if(n=i(n)?n:NaN,e){if(D(e)||j(e))throw or("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw or("cpi","Can't copy! Source and destination are identical.");return lr(e)?e.length=0:o(e,function(t,n){"$$hashKey"!==n&&delete e[n]}),u.push(t),c.push(e),r(t,e,n)}return a(t,n)}function z(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,i,r,o=typeof t,a=typeof e;if(o===a&&"object"===o){if(!lr(t)){if(S(t))return!!S(e)&&z(t.getTime(),e.getTime());if(T(t))return!!T(e)&&t.toString()===e.toString();if(O(t)||O(e)||A(t)||A(e)||lr(e)||S(e)||T(e))return!1;r=gt();for(i in t)if("$"!==i.charAt(0)&&!E(t[i])){if(!z(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&"$"!==i.charAt(0)&&b(e[i])&&!E(e[i]))return!1;return!0}if(!lr(e))return!1;if((n=t.length)===e.length){for(i=0;i<n;i++)if(!z(t[i],e[i]))return!1;return!0}}return!1}function W(t,e,n){return t.concat(tr.call(e,n))}function U(t,e){return tr.call(t,e||0)}function B(t,e){var n=arguments.length>2?U(arguments,2):[];return!E(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,W(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function Q(e,n){var i=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=void 0:A(n)?i="$WINDOW":n&&t.document===n?i="$DOCUMENT":O(n)&&(i="$SCOPE"),i}function X(t,e){if(!y(t))return k(e)||(e=e?2:null),JSON.stringify(t,Q,e)}function Y(t){return C(t)?JSON.parse(t):t}function G(t,e){t=t.replace(vr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return ur(n)?e:n}function Z(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function J(t,e,n){n=n?-1:1;var i=t.getTimezoneOffset();return Z(t,n*(G(e,i)-i))}function K(t){t=Zi(t).clone();try{t.empty()}catch(t){}var e=Zi("<div>").append(t).html();try{return t[0].nodeType===wr?Bi(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(t,e){return"<"+Bi(e)})}catch(t){return Bi(e)}}function tt(t){try{return decodeURIComponent(t)}catch(t){}}function et(t){var e={};return o((t||"").split("&"),function(t){var n,i,r;t&&(i=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),-1!==n&&(i=t.substring(0,n),r=t.substring(n+1)),i=tt(i),b(i)&&(r=!b(r)||tt(r),Wi.call(e,i)?lr(e[i])?e[i].push(r):e[i]=[e[i],r]:e[i]=r))}),e}function nt(t){var e=[];return o(t,function(t,n){lr(t)?o(t,function(t){e.push(rt(n,!0)+(!0===t?"":"="+rt(t,!0)))}):e.push(rt(n,!0)+(!0===t?"":"="+rt(t,!0)))}),e.length?e.join("&"):""}function it(t){return rt(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function rt(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function ot(t,e){var n,i,r=gr.length;for(i=0;i<r;++i)if(n=gr[i]+e,C(n=t.getAttribute(n)))return n;return null}function at(e,n){var i,r,a={};if(o(gr,function(t){var n=t+"app";!i&&e.hasAttribute&&e.hasAttribute(n)&&(i=e,r=e.getAttribute(n))}),o(gr,function(t){var n,o=t+"app";!i&&(n=e.querySelector("["+o.replace(":","\\:")+"]"))&&(i=n,r=n.getAttribute(o))}),i){if(!mr)return void t.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==ot(i,"strict-di"),n(i,r?[r]:[],a)}}function st(e,n,i){w(i)||(i={}),i=d({strictDi:!1},i);var r=function(){if(e=Zi(e),e.injector()){var r=e[0]===t.document?"document":K(e);throw or("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"&lt;").replace(/>/,"&gt;"))}n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=ue(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,i){t.$apply(function(){e.data("$injector",i),n(e)(t)})}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(t&&a.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(a,"")),t&&!s.test(t.name))return r();t.name=t.name.replace(s,""),ar.resumeBootstrap=function(t){return o(t,function(t){n.push(t)}),r()},E(ar.resumeDeferredBootstrap)&&ar.resumeDeferredBootstrap()}function ut(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function lt(t){var e=ar.element(t).injector();if(!e)throw or("test","no injector found for element argument to getTestability");return e.get("$$testability")}function ct(t,e){return e=e||"_",t.replace($r,function(t,n){return(n?e:"")+t.toLowerCase()})}function dt(t,e,n){if(!t)throw or("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ft(t,e,n){return n&&lr(t)&&(t=t[t.length-1]),dt(E(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function ht(t,e){if("hasOwnProperty"===t)throw or("badname","hasOwnProperty is not a valid {0} name",e)}function pt(t,e,n){if(!e)return t;for(var i,r=e.split("."),o=t,a=r.length,s=0;s<a;s++)i=r[s],t&&(t=(o=t)[i]);return!n&&E(t)?B(o,t):t}function vt(t){for(var e,n=t[0],i=t[t.length-1],r=1;n!==i&&(n=n.nextSibling);r++)(e||t[r]!==n)&&(e||(e=Zi(tr.call(t,0,r))),e.push(n));return e||t}function gt(){return Object.create(null)}function mt(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!$(t)||lr(t)||S(t)?X(t):t.toString()}return t}function $t(t){function n(t,e,n){return t[e]||(t[e]=n())}var i=e("$injector"),r=e("ng"),o=n(t,"angular",Object);return o.$$minErr=o.$$minErr||e,n(o,"module",function(){var t={};return function(e,o,a){var s={};return function(t,e){if("hasOwnProperty"===t)throw r("badname","hasOwnProperty is not a valid {0} name",e)}(e,"module"),o&&t.hasOwnProperty(e)&&(t[e]=null),n(t,e,function(){function t(t,e,n,i){return i||(i=u),function(){return i[n||"push"]([t,e,arguments]),f}}function n(t,n,i){return i||(i=u),function(r,o){return o&&E(o)&&(o.$$moduleName=e),i.push([t,n,arguments]),f}}if(!o)throw i("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.",e);var u=[],l=[],c=[],d=t("$injector","invoke","push",l),f={_invokeQueue:u,_configBlocks:l,_runBlocks:c,info:function(t){if(b(t)){if(!w(t))throw r("aobj","Argument '{0}' must be an object","value");return s=t,this}return s},requires:o,name:e,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:n("$provide","decorator",l),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:d,run:function(t){return c.push(t),this}};return a&&d(a),f})}})}function yt(t,e){if(lr(t)){e=e||[];for(var n=0,i=t.length;n<i;n++)e[n]=t[n]}else if(w(t)){e=e||{};for(var r in t)"$"===r.charAt(0)&&"$"===r.charAt(1)||(e[r]=t[r])}return e||t}function bt(t,e){var n=[];return i(e)&&(t=F(t,null,e)),JSON.stringify(t,function(t,e){if(e=Q(t,e),w(e)){if(n.indexOf(e)>=0)return"...";n.push(e)}return e})}function wt(t,e){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):y(t)?"undefined":"string"!=typeof t?bt(t,e):t}function xt(){return++Tr}function Ct(t){return St(t.replace(Or,"ms-"))}function kt(t,e){return e.toUpperCase()}function St(t){return t.replace(Ar,kt)}function Et(t){return!Ir.test(t)}function Tt(t){var e=t.nodeType;return e===br||!e||e===Cr}function At(t){for(var e in Er[t.ng339])return!0;return!1}function Ot(t){for(var e=0,n=t.length;e<n;e++)Nt(t[e])}function _t(t,e){var n,i,r,a,s=e.createDocumentFragment(),u=[];if(Et(t))u.push(e.createTextNode(t));else{for(n=s.appendChild(e.createElement("div")),i=(Vr.exec(t)||["",""])[1].toLowerCase(),r=jr[i]||jr._default,n.innerHTML=r[1]+t.replace(Dr,"<$1></$2>")+r[2],a=r[0];a--;)n=n.lastChild;u=W(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(t){s.appendChild(t)}),s}function Mt(e,n){n=n||t.document;var i;return(i=Pr.exec(e))?[n.createElement(i[1])]:(i=_t(e,n))?i.childNodes:[]}function Pt(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function It(t){if(t instanceof It)return t;var e;if(C(t)&&(t=dr(t),e=!0),!(this instanceof It)){if(e&&"<"!==t.charAt(0))throw Mr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new It(t)}e?zt(this,Mt(t)):E(t)?Yt(t):zt(this,t)}function Vt(t){return t.cloneNode(!0)}function Dt(t,e){if(e||Nt(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),i=0,r=n.length;i<r;i++)Nt(n[i])}function jt(t,e,n,i){if(b(i))throw Mr("offargs","jqLite#off() does not support the `selector` argument");var r=qt(t),a=r&&r.events,s=r&&r.handle;if(s)if(e){var u=function(e){var i=a[e];b(n)&&H(i||[],n),b(n)&&i&&i.length>0||(t.removeEventListener(e,s),delete a[e])};o(e.split(" "),function(t){u(t),_r[t]&&u(_r[t])})}else for(e in a)"$destroy"!==e&&t.removeEventListener(e,s),delete a[e]}function Nt(t,e){var n=t.ng339,i=n&&Er[n];if(i){if(e)return void delete i.data[e];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),jt(t)),delete Er[n],t.ng339=void 0}}function qt(t,e){var n=t.ng339,i=n&&Er[n];return e&&!i&&(t.ng339=n=xt(),i=Er[n]={events:{},data:{},handle:void 0}),i}function Lt(t,e,n){if(Tt(t)){var i,r=b(n),o=!r&&e&&!w(e),a=!e,s=qt(t,!o),u=s&&s.data;if(r)u[St(e)]=n;else{if(a)return u;if(o)return u&&u[St(e)];for(i in e)u[St(i)]=e[i]}}}function Rt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Ht(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",dr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+dr(e)+" "," ")))})}function Ft(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=dr(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",dr(n))}}function zt(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var i=0;i<n;i++)t[t.length++]=e[i]}else t[t.length++]=e}}function Wt(t,e){return Ut(t,"$"+(e||"ngController")+"Controller")}function Ut(t,e,n){t.nodeType===Cr&&(t=t.documentElement);for(var i=lr(e)?e:[e];t;){for(var r=0,o=i.length;r<o;r++)if(b(n=Zi.data(t,i[r])))return n;t=t.parentNode||t.nodeType===kr&&t.host}}function Bt(t){for(Dt(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Qt(t,e){e||Dt(t);var n=t.parentNode;n&&n.removeChild(t)}function Xt(e,n){n=n||t,"complete"===n.document.readyState?n.setTimeout(e):Zi(n).on("load",e)}function Yt(e){function n(){t.document.removeEventListener("DOMContentLoaded",n),t.removeEventListener("load",n),e()}"complete"===t.document.readyState?t.setTimeout(e):(t.document.addEventListener("DOMContentLoaded",n),t.addEventListener("load",n))}function Gt(t,e){var n=Lr[e.toLowerCase()];return n&&Rr[L(t)]&&n}function Zt(t){return Hr[t]}function Jt(t,e){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var r=e[i||n.type],o=r?r.length:0;if(o){if(y(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=r.specialHandlerWrapper||Kt;o>1&&(r=yt(r));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(t,n,r[u])}};return n.elem=t,n}function Kt(t,e,n){n.call(t,e)}function te(t,e,n){var i=e.relatedTarget;i&&(i===t||Nr.call(t,i))||n.call(t,e)}function ee(){this.$get=function(){return d(It,{hasClass:function(t,e){return t.attr&&(t=t[0]),Rt(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),Ft(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),Ht(t,e)}})}}function ne(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var i=typeof t;return n="function"===i||"object"===i&&null!==t?t.$$hashKey=i+":"+(e||u)():i+":"+t}function ie(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function re(t){return Function.prototype.toString.call(t)}function oe(t){var e=re(t).replace(Yr,"");return e.match(Ur)||e.match(Br)}function ae(t){var e=oe(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function se(t,e,n){var i,r,a;if("function"==typeof t){if(!(i=t.$inject)){if(i=[],t.length){if(e)throw C(n)&&n||(n=t.name||ae(t)),Gr("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);r=oe(t),o(r[1].split(Qr),function(t){t.replace(Xr,function(t,e,n){i.push(n)})})}t.$inject=i}}else lr(t)?(a=t.length-1,ft(t[a],"fn"),i=t.slice(0,a)):ft(t,"fn",!0);return i}function ue(t,e){function n(t){return function(e,n){if(!w(e))return t(e,n);o(e,s(t))}}function i(t,e){if(ht(t,"service"),(E(e)||lr(e))&&(e=x.instantiate(e)),!e.$get)throw Gr("pget","Provider '{0}' must define $get factory method.",t);return b[t+v]=e}function r(t,e){return function(){var n=T.invoke(e,this);if(y(n))throw Gr("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function a(t,e,n){return i(t,{$get:!1!==n?r(t,e):e})}function u(t,e){return a(t,["$injector",function(t){return t.instantiate(e)}])}function l(t,e){return a(t,m(e),!1)}function c(t,e){ht(t,"constant"),b[t]=e,k[t]=e}function d(t,e){var n=x.get(t+v),i=n.$get;n.$get=function(){var t=T.invoke(i,n);return T.invoke(e,null,{$delegate:t})}}function f(t){dt(y(t)||lr(t),"modulesToLoad","not an array");var e,n=[];return o(t,function(t){function i(t){var e,n;for(e=0,n=t.length;e<n;e++){var i=t[e],r=x.get(i[0]);r[i[1]].apply(r,i[2])}}if(!$.get(t)){$.set(t,!0);try{C(t)?(e=Ki(t),T.modules[t]=e,n=n.concat(f(e.requires)).concat(e._runBlocks),i(e._invokeQueue),i(e._configBlocks)):E(t)?n.push(x.invoke(t)):lr(t)?n.push(x.invoke(t)):ft(t,"module")}catch(e){throw lr(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Gr("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}}),n}function h(t,n){function i(e,i){if(t.hasOwnProperty(e)){if(t[e]===p)throw Gr("cdep","Circular dependency found: {0}",e+" <- "+g.join(" <- "));return t[e]}try{return g.unshift(e),t[e]=p,t[e]=n(e,i),t[e]}catch(n){throw t[e]===p&&delete t[e],n}finally{g.shift()}}function r(t,n,r){for(var o=[],a=ue.$$annotate(t,e,r),s=0,u=a.length;s<u;s++){var l=a[s];if("string"!=typeof l)throw Gr("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:i(l,r))}return o}function o(t){if(Gi||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return I(e)||(e=t.$$ngIsClass=/^(?:class\b|constructor\()/.test(re(t))),e}function a(t,e,n,i){"string"==typeof n&&(i=n,n=null);var a=r(t,n,i);return lr(t)&&(t=t[t.length-1]),o(t)?(a.unshift(null),new(Function.prototype.bind.apply(t,a))):t.apply(e,a)}function s(t,e,n){var i=lr(t)?t[t.length-1]:t,o=r(t,e,n);return o.unshift(null),new(Function.prototype.bind.apply(i,o))}return{invoke:a,instantiate:s,get:i,annotate:ue.$$annotate,has:function(e){return b.hasOwnProperty(e+v)||t.hasOwnProperty(e)}}}e=!0===e;var p={},v="Provider",g=[],$=new zr,b={$provide:{provider:n(i),factory:n(a),service:n(u),value:n(l),constant:n(c),decorator:d}},x=b.$injector=h(b,function(t,e){throw ar.isString(e)&&g.push(e),Gr("unpr","Unknown provider: {0}",g.join(" <- "))}),k={},S=h(k,function(t,e){var n=x.get(t+v,e);return T.invoke(n.$get,n,void 0,t)}),T=S;b["$injector"+v]={$get:m(S)},T.modules=x.modules=gt();var A=f(t);return T=S.get("$injector"),T.strictDi=e,o(A,function(t){t&&T.invoke(t)}),T}function le(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,i){function r(t){var e=null;return Array.prototype.some.call(t,function(t){if("a"===L(t))return e=t,!0}),e}function o(){var t=s.yOffset;if(E(t))t=t();else if(N(t)){var n=t[0],i=e.getComputedStyle(n);t="fixed"!==i.position?0:n.getBoundingClientRect().bottom}else k(t)||(t=0);return t}function a(t){if(t){t.scrollIntoView();var n=o();if(n){var i=t.getBoundingClientRect().top;e.scrollBy(0,i-n)}}else e.scrollTo(0,0)}function s(t){t=C(t)?t:k(t)?t.toString():n.hash();var e;t?(e=u.getElementById(t))?a(e):(e=r(u.getElementsByName(t)))?a(e):"top"===t&&a(null):a(null)}var u=e.document;return t&&i.$watch(function(){return n.hash()},function(t,e){t===e&&""===t||Xt(function(){i.$evalAsync(s)})}),s}]}function ce(t,e){return t||e?t?e?(lr(t)&&(t=t.join(" ")),lr(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function de(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.nodeType===Jr)return n}}function fe(t){C(t)&&(t=t.split(" "));var e=gt();return o(t,function(t){t.length&&(e[t]=!0)}),e}function he(t){return w(t)?t:{}}function pe(t,e,n,i){function r(t){try{t.apply(null,U(arguments,1))}finally{if(0===--m)for(;$.length;)try{$.pop()()}catch(t){n.error(t)}}}function a(t){var e=t.indexOf("#");return-1===e?"":t.substr(e)}function s(){k=null,l()}function u(){b=S(),b=y(b)?null:b,z(b,A)&&(b=A),A=b,w=b}function l(){var t=w;u(),x===c.url()&&t===b||(x=c.url(),w=b,o(E,function(t){t(c.url(),b)}))}var c=this,d=t.location,f=t.history,h=t.setTimeout,p=t.clearTimeout,g={};c.isMock=!1;var m=0,$=[];c.$$completeOutstandingRequest=r,c.$$incOutstandingRequestCount=function(){m++},c.notifyWhenNoOutstandingRequests=function(t){0===m?t():$.push(t)};var b,w,x=d.href,C=e.find("base"),k=null,S=i.history?function(){try{return f.state}catch(t){}}:v;u(),c.url=function(e,n,r){if(y(r)&&(r=null),d!==t.location&&(d=t.location),f!==t.history&&(f=t.history),e){var o=w===r;if(x===e&&(!i.history||o))return c;var s=x&&Ye(x)===Ye(e);return x=e,w=r,!i.history||s&&o?(s||(k=e),n?d.replace(e):s?d.hash=a(e):d.href=e,d.href!==e&&(k=e)):(f[n?"replaceState":"pushState"](r,"",e),u()),k&&(k=e),c}return k||d.href.replace(/%27/g,"'")},c.state=function(){return b};var E=[],T=!1,A=null;c.onUrlChange=function(e){return T||(i.history&&Zi(t).on("popstate",s),Zi(t).on("hashchange",s),T=!0),E.push(e),e},c.$$applicationDestroyed=function(){Zi(t).off("hashchange popstate",s)},c.$$checkUrlChange=l,c.baseHref=function(){var t=C.attr("href");return t?t.replace(/^(https?:)?\/\/[^\/]*/,""):""},c.defer=function(t,e){var n;return m++,n=h(function(){delete g[n],r(t)},e||0),g[n]=!0,n},c.defer.cancel=function(t){return!!g[t]&&(delete g[t],p(t),r(v),!0)}}function ve(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,i){return new pe(t,i,e,n)}]}function ge(){this.$get=function(){function t(t,i){function r(t){t!==f&&(h?h===t&&(h=t.n):h=t,o(t.n,t.p),o(t,f),f=t,f.n=null)}function o(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}if(t in n)throw e("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var a=0,s=d({},i,{id:t}),u=gt(),l=i&&i.capacity||Number.MAX_VALUE,c=gt(),f=null,h=null;return n[t]={put:function(t,e){if(!y(e)){if(l<Number.MAX_VALUE){r(c[t]||(c[t]={key:t}))}return t in u||a++,u[t]=e,a>l&&this.remove(h.key),e}},get:function(t){if(l<Number.MAX_VALUE){var e=c[t];if(!e)return;r(e)}return u[t]},remove:function(t){if(l<Number.MAX_VALUE){var e=c[t];if(!e)return;e===f&&(f=e.p),e===h&&(h=e.n),o(e.n,e.p),delete c[t]}t in u&&(delete u[t],a--)},removeAll:function(){u=gt(),a=0,c=gt(),f=h=null},destroy:function(){u=null,s=null,c=null,delete n[t]},info:function(){return d({},s,{size:a})}}}var n={};return t.info=function(){var t={};return o(n,function(e,n){t[n]=e.info()}),t},t.get=function(t){return n[t]},t}}function me(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function $e(){}function ye(e,n){function i(t,e,n){var i=gt();return o(t,function(t,r){if(t in T)return void(i[r]=T[t]);var o=t.match(/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/);if(!o)throw oo("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,r,t,n?"controller bindings definition":"isolate scope definition");i[r]={mode:o[1][0],collection:"*"===o[2],optional:"?"===o[3],attrName:o[4]||r},o[4]&&(T[t]=i[r])}),i}function r(t,e){var n={isolateScope:null,bindToController:null};if(w(t.scope)&&(!0===t.bindToController?(n.bindToController=i(t.scope,e,!0),n.isolateScope={}):n.isolateScope=i(t.scope,e,!1)),w(t.bindToController)&&(n.bindToController=i(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw oo("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}function a(t){var e=t.charAt(0);if(!e||e!==Bi(e))throw oo("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw oo("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}function u(t){var e=t.require||t.controller&&t.name;return!lr(e)&&w(e)&&o(e,function(t,n){var i=t.match(k);t.substring(i[0].length)||(e[n]=i[0]+n)}),e}function l(t,e){if(t&&(!C(t)||!/[EACM]/.test(t)))throw oo("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}var c={},f="Directive",h=/^\s*directive:\s*([\w-]+)\s+(.*)$/,$=/(([\w-]+)(?::([^;]+))?;?)/,x=q("ngSrc,ngSrcset,src,srcset"),k=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,S=/^(on[a-z]+|formaction)$/,T=gt();this.directive=function t(n,i){return dt(n,"name"),ht(n,"directive"),C(n)?(a(n),dt(i,"directiveFactory"),c.hasOwnProperty(n)||(c[n]=[],e.factory(n+f,["$injector","$exceptionHandler",function(t,e){var i=[];return o(c[n],function(r,o){try{var a=t.invoke(r);E(a)?a={compile:m(a)}:!a.compile&&a.link&&(a.compile=m(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=u(a),a.restrict=l(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(t){e(t)}}),i}])),c[n].push(i)):o(n,s(t)),this},this.component=function(t,e){function n(t){function n(e){return E(e)||lr(e)?function(n,i){return t.invoke(e,this,{$element:n,$attrs:i})}:e}var r=e.template||e.templateUrl?e.template:"",a={controller:i,controllerAs:ke(e.controller)||e.controllerAs||"$ctrl",template:n(r),templateUrl:n(e.templateUrl),transclude:e.transclude,scope:{},bindToController:e.bindings||{},restrict:"E",require:e.require};return o(e,function(t,e){"$"===e.charAt(0)&&(a[e]=t)}),a}var i=e.controller||function(){};return o(e,function(t,e){"$"===e.charAt(0)&&(n[e]=t,E(i)&&(i[e]=t))}),n.$inject=["$injector"],this.directive(t,n)},this.aHrefSanitizationWhitelist=function(t){return b(t)?(n.aHrefSanitizationWhitelist(t),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return b(t)?(n.imgSrcSanitizationWhitelist(t),this):n.imgSrcSanitizationWhitelist()};var A=!0;this.debugInfoEnabled=function(t){return b(t)?(A=t,this):A};var _=!1;this.preAssignBindingsEnabled=function(t){return b(t)?(_=t,this):_};var M=10;this.onChangesTtl=function(t){return arguments.length?(M=t,this):M};var P=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(P=t,this):P};var V=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(V=t,this):V},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,n,i,a,s,u,l,m,T,D){function j(){try{if(!--Ot)throw Ct=void 0,oo("infchng","{0} $onChanges() iterations reached. Aborting!\n",M);l.$apply(function(){for(var t=[],e=0,n=Ct.length;e<n;++e)try{Ct[e]()}catch(e){t.push(e)}if(Ct=void 0,t.length)throw t})}finally{Ot++}}function N(t,e){if(e){var n,i,r,o=Object.keys(e);for(n=0,i=o.length;n<i;n++)r=o[n],this[r]=e[r]}else this.$attr={};this.$$element=t}function q(t,e,n){St.innerHTML="<span "+e+">";var i=St.firstChild.attributes,r=i[0];i.removeNamedItem(r.name),r.value=n,t.attributes.setNamedItem(r)}function R(t,e){try{t.addClass(e)}catch(t){}}function F(t,e,n,i,r){t instanceof Zi||(t=Zi(t));var o=Q(t,e,t,n,i,r);F.$$addScopeClass(t);var a=null;return function(e,n,i){if(!t)throw oo("multilink","This element has already been linked.");dt(e,"scope"),r&&r.needsNewScope&&(e=e.$parent.$new()),i=i||{};var s=i.parentBoundTranscludeFn,u=i.transcludeControllers,l=i.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=W(l));var c;if(c="html"!==a?Zi(vt(a,Zi("<div>").append(t).html())):n?qr.clone.call(t):t,u)for(var d in u)c.data("$"+d+"Controller",u[d].instance);return F.$$addScopeInfo(c,e),n&&n(c,e),o&&o(e,c,c,s),n||(t=o=null),c}}function W(t){var e=t&&t[0];return e&&"foreignobject"!==L(e)&&ir.call(e).match(/SVG/)?"svg":"html"}function Q(t,e,n,i,r,o){function a(t,n,i,r){var o,a,s,u,l,c,d,f,v;if(h){var g=n.length;for(v=new Array(g),l=0;l<p.length;l+=3)d=p[l],v[d]=n[d]}else v=n;for(l=0,c=p.length;l<c;)s=v[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=t.$new(),F.$$addScopeInfo(Zi(s),u)):u=t,f=o.transcludeOnThisElement?Y(t,o.transclude,r):!o.templateOnThisElement&&r?r:!r&&e?Y(t,e):null,o(a,u,s,i,f)):a&&a(t,s.childNodes,void 0,r)}for(var s,u,l,c,d,f,h,p=[],v=lr(t)||t instanceof Zi,g=0;g<t.length;g++)s=new N,11===Gi&&X(t,g,v),u=G(t[g],[],s,0===g?i:void 0,r),l=u.length?nt(u,t[g],s,e,n,null,[],[],o):null,l&&l.scope&&F.$$addScopeClass(s.$$element),d=l&&l.terminal||!(c=t[g].childNodes)||!c.length?null:Q(c,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:e),(l||d)&&(p.push(g,l,d),f=!0,h=h||l),o=null;return f?a:null}function X(t,e,n){var i,r=t[e],o=r.parentNode;if(r.nodeType===wr)for(;;){if(!(i=o?r.nextSibling:t[e+1])||i.nodeType!==wr)break;r.nodeValue=r.nodeValue+i.nodeValue,i.parentNode&&i.parentNode.removeChild(i),n&&i===t[e+1]&&t.splice(e+1,1)}}function Y(t,e,n){function i(i,r,o,a,s){return i||(i=t.$new(!1,s),i.$$transcluded=!0),e(i,r,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var r=i.$$slots=gt();for(var o in e.$$slots)e.$$slots[o]?r[o]=Y(t,e.$$slots[o],n):r[o]=null;return i}function G(t,e,n,i,r){var o,a,s,u=t.nodeType,l=n.$attr;switch(u){case br:a=L(t),at(e,we(a),"E",i,r);for(var c,d,f,h,p,v,g=t.attributes,m=0,y=g&&g.length;m<y;m++){var b=!1,x=!1;c=g[m],d=c.name,p=c.value,h=we(d),v=It.test(h),v&&(d=d.replace(so,"").substr(8).replace(/_(.)/g,function(t,e){return e.toUpperCase()}));var k=h.match(Dt);k&&st(k[1])&&(b=d,x=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),f=we(d.toLowerCase()),l[f]=d,!v&&n.hasOwnProperty(f)||(n[f]=p,Gt(t,f)&&(n[f]=!0)),$t(t,e,p,f,v),at(e,f,"A",i,r,b,x)}if("input"===a&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!At)break;if(s=t.className,w(s)&&(s=s.animVal),C(s)&&""!==s)for(;o=$.exec(s);)f=we(o[2]),at(e,f,"C",i,r)&&(n[f]=dr(o[3])),s=s.substr(o.index+o[0].length);break;case wr:pt(e,t.nodeValue);break;case xr:if(!Tt)break;Z(t,e,n,i,r)}return e.sort(ft),e}function Z(t,e,n,i,r){try{var o=h.exec(t.nodeValue);if(o){var a=we(o[1]);at(e,a,"M",i,r)&&(n[a]=dr(o[2]))}}catch(t){}}function J(t,e,n){var i=[],r=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw oo("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===br&&(t.hasAttribute(e)&&r++,t.hasAttribute(n)&&r--),i.push(t),t=t.nextSibling}while(r>0);else i.push(t);return Zi(i)}function tt(t,e,n){return function(i,r,o,a,s){return r=J(r[0],e,n),t(i,r,o,a,s)}}function et(t,e,n,i,r,o){var a
  ;return t?F(e,n,i,r,o):function(){return a||(a=F(e,n,i,r,o),e=n=o=null),a.apply(this,arguments)}}function nt(t,e,n,r,a,s,u,l,c){function f(t,e,n,i){t&&(n&&(t=tt(t,n,i)),t.require=p.require,t.directiveName=v,(k===p||p.$$isolateScope)&&(t=bt(t,{isolateScope:!0})),u.push(t)),e&&(n&&(e=tt(e,n,i)),e.require=p.require,e.directiveName=v,(k===p||p.$$isolateScope)&&(e=bt(e,{isolateScope:!0})),l.push(e))}function h(t,r,a,s,c){function f(t,e,n,i){var r;if(O(t)||(i=n,n=e,e=t,t=void 0),P&&(r=$),n||(n=P?T.parent():T),!i)return c(t,e,r,n,L);var o=c.$$slots[i];if(o)return o(t,e,r,n,L);if(y(o))throw oo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,K(T))}var h,p,v,g,m,$,b,T,A,M;e===a?(A=n,T=n.$$element):(T=Zi(a),A=new N(T,n)),m=r,k?g=r.$new(!0):x&&(m=r.$parent),c&&(b=f,b.$$boundTransclude=c,b.isSlotFilled=function(t){return!!c.$$slots[t]}),C&&($=rt(T,A,b,C,g,r,k)),k&&(F.$$addScopeInfo(T,g,!0,!(S&&(S===k||S===k.$$originalDirective))),F.$$addScopeClass(T,!0),g.$$isolateBindings=k.$$isolateBindings,M=xt(r,A,g,g.$$isolateBindings,k),M.removeWatches&&g.$on("$destroy",M.removeWatches));for(var I in $){var V=C[I],D=$[I],j=V.$$bindings.bindToController;if(_){D.bindingInfo=j?xt(m,A,D.instance,j,V):{};var q=D();q!==D.instance&&(D.instance=q,T.data("$"+V.name+"Controller",q),D.bindingInfo.removeWatches&&D.bindingInfo.removeWatches(),D.bindingInfo=xt(m,A,D.instance,j,V))}else D.instance=D(),T.data("$"+V.name+"Controller",D.instance),D.bindingInfo=xt(m,A,D.instance,j,V)}for(o(C,function(t,e){var n=t.require;t.bindToController&&!lr(n)&&w(n)&&d($[e].instance,it(e,n,T,$))}),o($,function(t){var e=t.instance;if(E(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){i(t)}if(E(e.$onInit))try{e.$onInit()}catch(t){i(t)}E(e.$doCheck)&&(m.$watch(function(){e.$doCheck()}),e.$doCheck()),E(e.$onDestroy)&&m.$on("$destroy",function(){e.$onDestroy()})}),h=0,p=u.length;h<p;h++)v=u[h],wt(v,v.isolateScope?g:r,T,A,v.require&&it(v.directiveName,v.require,T,$),b);var L=r;for(k&&(k.template||null===k.templateUrl)&&(L=g),t&&t(L,a.childNodes,void 0,c),h=l.length-1;h>=0;h--)v=l[h],wt(v,v.isolateScope?g:r,T,A,v.require&&it(v.directiveName,v.require,T,$),b);o($,function(t){var e=t.instance;E(e.$postLink)&&e.$postLink()})}c=c||{};for(var p,v,g,m,$,b=-Number.MAX_VALUE,x=c.newScopeDirective,C=c.controllerDirectives,k=c.newIsolateScopeDirective,S=c.templateDirective,T=c.nonTlbTranscludeDirective,A=!1,M=!1,P=c.hasElementTranscludeDirective,I=n.$$element=Zi(e),V=s,D=r,j=!1,q=!1,R=0,H=t.length;R<H;R++){p=t[R];var z=p.$$start,W=p.$$end;if(z&&(I=J(e,z,W)),g=void 0,b>p.priority)break;if($=p.scope,$&&(p.templateUrl||(w($)?(ht("new/isolated scope",k||x,p,I),k=p):ht("new/isolated scope",k,p,I)),x=x||p),v=p.name,!j&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var Q,X=R+1;Q=t[X++];)if(Q.transclude&&!Q.$$tlb||Q.replace&&(Q.templateUrl||Q.template)){q=!0;break}j=!0}if(!p.templateUrl&&p.controller&&(C=C||gt(),ht("'"+v+"' controller",C[v],p,I),C[v]=p),$=p.transclude)if(A=!0,p.$$tlb||(ht("transclusion",T,p,I),T=p),"element"===$)P=!0,b=p.priority,g=I,I=n.$$element=Zi(F.$$createComment(v,n[v])),e=I[0],yt(a,U(g),e),g[0].$$parentNode=g[0].parentNode,D=et(q,g,r,b,V&&V.name,{nonTlbTranscludeDirective:T});else{var Y=gt();if(w($)){g=[];var Z=gt(),nt=gt();o($,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,Z[t]=e,Y[e]=null,nt[e]=n}),o(I.contents(),function(t){var e=Z[we(L(t))];e?(nt[e]=!0,Y[e]=Y[e]||[],Y[e].push(t)):g.push(t)}),o(nt,function(t,e){if(!t)throw oo("reqslot","Required transclusion slot `{0}` was not filled.",e)});for(var at in Y)Y[at]&&(Y[at]=et(q,Y[at],r))}else g=Zi(Vt(e)).contents();I.empty(),D=et(q,g,r,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),D.$$slots=Y}if(p.template)if(M=!0,ht("template",S,p,I),S=p,$=E(p.template)?p.template(I,n):p.template,$=Pt($),p.replace){if(V=p,g=Et($)?[]:Ce(vt(p.templateNamespace,dr($))),e=g[0],1!==g.length||e.nodeType!==br)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v,"");yt(a,I,e);var st={$attr:{}},ct=G(e,[],st),dt=t.splice(R+1,t.length-(R+1));(k||x)&&ot(ct,k,x),t=t.concat(ct).concat(dt),ut(n,st),H=t.length}else I.html($);if(p.templateUrl)M=!0,ht("template",S,p,I),S=p,p.replace&&(V=p),h=lt(t.splice(R,t.length-R),I,n,a,A&&D,u,l,{controllerDirectives:C,newScopeDirective:x!==p&&x,newIsolateScopeDirective:k,templateDirective:S,nonTlbTranscludeDirective:T}),H=t.length;else if(p.compile)try{m=p.compile(I,n,D);var ft=p.$$originalDirective||p;E(m)?f(null,B(ft,m),z,W):m&&f(B(ft,m.pre),B(ft,m.post),z,W)}catch(t){i(t,K(I))}p.terminal&&(h.terminal=!0,b=Math.max(b,p.priority))}return h.scope=x&&!0===x.scope,h.transcludeOnThisElement=A,h.templateOnThisElement=M,h.transclude=D,c.hasElementTranscludeDirective=P,h}function it(t,e,n,i){var r;if(C(e)){var a=e.match(k),s=e.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(r=i&&i[s],r=r&&r.instance),!r){var c="$"+s+"Controller";r=u?n.inheritedData(c):n.data(c)}if(!r&&!l)throw oo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,t)}else if(lr(e)){r=[];for(var d=0,f=e.length;d<f;d++)r[d]=it(t,e[d],n,i)}else w(e)&&(r={},o(e,function(e,o){r[o]=it(t,e,n,i)}));return r||null}function rt(t,e,n,i,r,o,a){var s=gt();for(var l in i){var c=i[l],d={$scope:c===a||c.$$isolateScope?r:o,$element:t,$attrs:e,$transclude:n},f=c.controller;"@"===f&&(f=e[c.name]);var h=u(f,d,!0,c.controllerAs);s[c.name]=h,t.data("$"+c.name+"Controller",h.instance)}return s}function ot(t,e,n){for(var i=0,r=t.length;i<r;i++)t[i]=p(t[i],{$$isolateScope:e,$$newScope:n})}function at(t,n,i,o,a,s,u){if(n===a)return null;var l=null;if(c.hasOwnProperty(n))for(var d,h=e.get(n+f),v=0,g=h.length;v<g;v++)if(d=h[v],(y(o)||o>d.priority)&&-1!==d.restrict.indexOf(i)){if(s&&(d=p(d,{$$start:s,$$end:u})),!d.$$bindings){var m=d.$$bindings=r(d,d.name);w(m.isolateScope)&&(d.$$isolateBindings=m.isolateScope)}t.push(d),l=d}return l}function st(t){if(c.hasOwnProperty(t))for(var n,i=e.get(t+f),r=0,o=i.length;r<o;r++)if(n=i[r],n.multiElement)return!0;return!1}function ut(t,e){var n=e.$attr,i=t.$attr;o(t,function(i,r){"$"!==r.charAt(0)&&(e[r]&&e[r]!==i&&(i.length?i+=("style"===r?";":" ")+e[r]:i=e[r]),t.$set(r,i,!0,n[r]))}),o(e,function(e,r){t.hasOwnProperty(r)||"$"===r.charAt(0)||(t[r]=e,"class"!==r&&"style"!==r&&(i[r]=n[r]))})}function lt(t,e,n,r,s,u,l,c){var d,f,h=[],v=e[0],g=t.shift(),m=p(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),$=E(g.templateUrl)?g.templateUrl(e,n):g.templateUrl,y=g.templateNamespace;return e.empty(),a($).then(function(i){var a,p,b,x;if(i=Pt(i),g.replace){if(b=Et(i)?[]:Ce(vt(y,dr(i))),a=b[0],1!==b.length||a.nodeType!==br)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g.name,$);p={$attr:{}},yt(r,e,a);var C=G(a,[],p);w(g.scope)&&ot(C,!0),t=C.concat(t),ut(n,p)}else a=v,e.html(i);for(t.unshift(m),d=nt(t,a,n,s,e,g,u,l,c),o(r,function(t,n){t===a&&(r[n]=e[0])}),f=Q(e[0].childNodes,s);h.length;){var k=h.shift(),S=h.shift(),E=h.shift(),T=h.shift(),A=e[0];if(!k.$$destroyed){if(S!==v){var O=S.className;c.hasElementTranscludeDirective&&g.replace||(A=Vt(a)),yt(E,Zi(S),A),R(Zi(A),O)}x=d.transcludeOnThisElement?Y(k,d.transclude,T):T,d(f,k,A,r,x)}}h=null}).catch(function(t){t instanceof Error&&i(t)}),function(t,e,n,i,r){var o=r;e.$$destroyed||(h?h.push(e,n,i,o):(d.transcludeOnThisElement&&(o=Y(e,d.transclude,r)),d(f,e,n,i,o)))}}function ft(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function ht(t,e,n,i){function r(t){return t?" (module: "+t+")":""}if(e)throw oo("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,r(e.$$moduleName),n.name,r(n.$$moduleName),t,K(i))}function pt(t,e){var i=n(e,!0);i&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&F.$$addBindingClass(e),function(t,e){var r=e.parent();n||F.$$addBindingClass(r),F.$$addBindingInfo(r,i.expressions),t.$watch(i,function(t){e[0].nodeValue=t})}}})}function vt(e,n){switch(e=Bi(e||"html")){case"svg":case"math":var i=t.document.createElement("div");return i.innerHTML="<"+e+">"+n+"</"+e+">",i.childNodes[0].childNodes;default:return n}}function mt(t,e){if("srcdoc"===e)return m.HTML;var n=L(t);if("src"===e||"ngSrc"===e){if(-1===["img","video","audio","source","track"].indexOf(n))return m.RESOURCE_URL}else if("xlinkHref"===e||"form"===n&&"action"===e||"link"===n&&"href"===e)return m.RESOURCE_URL}function $t(t,e,i,r,o){var a=mt(t,r),s=!o,u=x[r]||o,l=n(i,s,a,u);if(l){if("multiple"===r&&"select"===L(t))throw oo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(t));if(S.test(r))throw oo("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");e.push({priority:100,compile:function(){return{pre:function(t,e,o){var s=o.$$observers||(o.$$observers=gt()),c=o[r];c!==i&&(l=c&&n(c,!0,a,u),i=c),l&&(o[r]=l(t),(s[r]||(s[r]=[])).$$inter=!0,(o.$$observers&&o.$$observers[r].$$scope||t).$watch(l,function(t,e){"class"===r&&t!==e?o.$updateClass(t,e):o.$set(r,t)}))}}}})}}function yt(e,n,i){var r,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(r=0,o=e.length;r<o;r++)if(e[r]===a){e[r++]=i;for(var l=r,c=l+s-1,d=e.length;l<d;l++,c++)c<d?e[l]=e[c]:delete e[l];e.length-=s-1,e.context===a&&(e.context=i);break}u&&u.replaceChild(i,a);var f=t.document.createDocumentFragment();for(r=0;r<s;r++)f.appendChild(n[r]);for(Zi.hasData(a)&&(Zi.data(i,Zi.data(a)),Zi(a).off("$destroy")),Zi.cleanData(f.querySelectorAll("*")),r=1;r<s;r++)delete n[r];n[0]=i,n.length=1}function bt(t,e){return d(function(){return t.apply(null,arguments)},t,e)}function wt(t,e,n,r,o,a){try{t(e,n,r,o,a)}catch(t){i(t,K(n))}}function xt(t,e,i,r,a){function u(e,n,r){!E(i.$onChanges)||n===r||n!==n&&r!==r||(Ct||(t.$$postDigest(j),Ct=[]),c||(c={},Ct.push(l)),c[e]&&(r=c[e].previousValue),c[e]=new be(r,n))}function l(){i.$onChanges(c),c=void 0}var c,d=[],f={};return o(r,function(r,o){var l,c,h,p,g,m=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Wi.call(e,m)||(i[o]=e[m]=void 0),g=e.$observe(m,function(t){if(C(t)||I(t)){var e=i[o];u(o,t,e),i[o]=t}}),e.$$observers[m].$$scope=t,l=e[m],C(l)?i[o]=n(l)(t):I(l)&&(i[o]=l),f[o]=new be(ao,i[o]),d.push(g);break;case"=":if(!Wi.call(e,m)){if($)break;e[m]=void 0}if($&&!e[m])break;c=s(e[m]),p=c.literal?z:function(t,e){return t===e||t!==t&&e!==e},h=c.assign||function(){throw l=i[o]=c(t),oo("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",e[m],m,a.name)},l=i[o]=c(t);var b=function(e){return p(e,i[o])||(p(e,l)?h(t,e=i[o]):i[o]=e),l=e};b.$stateful=!0,g=r.collection?t.$watchCollection(e[m],b):t.$watch(s(e[m],b),null,c.literal),d.push(g);break;case"<":if(!Wi.call(e,m)){if($)break;e[m]=void 0}if($&&!e[m])break;c=s(e[m]);var w=c.literal,x=i[o]=c(t);f[o]=new be(ao,i[o]),g=t.$watch(c,function(t,e){if(e===t){if(e===x||w&&z(e,x))return;e=x}u(o,t,e),i[o]=t},w),d.push(g);break;case"&":if((c=e.hasOwnProperty(m)?s(e[m]):v)===v&&$)break;i[o]=function(e){return c(t,e)}}}),{initialChanges:f,removeWatches:d.length&&function(){for(var t=0,e=d.length;t<e;++t)d[t]()}}}var Ct,kt=/^\w/,St=t.document.createElement("div"),Tt=P,At=V,Ot=M;N.prototype={$normalize:we,$addClass:function(t){t&&t.length>0&&T.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&T.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=xe(t,e);n&&n.length&&T.addClass(this.$$element,n);var i=xe(e,t);i&&i.length&&T.removeClass(this.$$element,i)},$set:function(t,e,n,r){var a,s=this.$$element[0],u=Gt(s,t),l=Zt(t),c=t;if(u?(this.$$element.prop(t,e),r=u):l&&(this[l]=e,c=l),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=ct(t,"-")),"a"===(a=L(this.$$element))&&("href"===t||"xlinkHref"===t)||"img"===a&&"src"===t)this[t]=e=D(e,"src"===t);else if("img"===a&&"srcset"===t&&b(e)){for(var d="",f=dr(e),h=/\s/.test(f)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,p=f.split(h),v=Math.floor(p.length/2),g=0;g<v;g++){var m=2*g;d+=D(dr(p[m]),!0),d+=" "+dr(p[m+1])}var $=dr(p[2*g]).split(/\s/);d+=D(dr($[0]),!0),2===$.length&&(d+=" "+dr($[1])),this[t]=e=d}!1!==n&&(null===e||y(e)?this.$$element.removeAttr(r):kt.test(r)?this.$$element.attr(r,e):q(this.$$element[0],r,e));var w=this.$$observers;w&&o(w[c],function(t){try{t(e)}catch(t){i(t)}})},$observe:function(t,e){var n=this,i=n.$$observers||(n.$$observers=gt()),r=i[t]||(i[t]=[]);return r.push(e),l.$evalAsync(function(){r.$$inter||!n.hasOwnProperty(t)||y(n[t])||e(n[t])}),function(){H(r,e)}}};var _t=n.startSymbol(),Mt=n.endSymbol(),Pt="{{"===_t&&"}}"===Mt?g:function(t){return t.replace(/\{\{/g,_t).replace(/}}/g,Mt)},It=/^ngAttr[A-Z]/,Dt=/^(.+)Start$/;return F.$$addBindingInfo=A?function(t,e){var n=t.data("$binding")||[];lr(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:v,F.$$addBindingClass=A?function(t){R(t,"ng-binding")}:v,F.$$addScopeInfo=A?function(t,e,n,i){var r=n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(r,e)}:v,F.$$addScopeClass=A?function(t,e){R(t,e?"ng-isolate-scope":"ng-scope")}:v,F.$$createComment=function(e,n){var i="";return A&&(i=" "+(e||"")+": ",n&&(i+=n+" ")),t.document.createComment(i)},F}]}function be(t,e){this.previousValue=t,this.currentValue=e}function we(t){return t.replace(so,"").replace(uo,kt)}function xe(t,e){var n="",i=t.split(/\s+/),r=e.split(/\s+/);t:for(var o=0;o<i.length;o++){for(var a=i[o],s=0;s<r.length;s++)if(a===r[s])continue t;n+=(n.length>0?" ":"")+a}return n}function Ce(t){t=Zi(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];(n.nodeType===xr||n.nodeType===wr&&""===n.nodeValue.trim())&&er.call(t,e,1)}return t}function ke(t,e){if(e&&C(e))return e;if(C(t)){var n=co.exec(t);if(n)return n[3]}}function Se(){var t={},n=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){ht(e,"controller"),w(e)?d(t,e):t[e]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(i,r){function o(t,n,i,r){if(!t||!w(t.$scope))throw e("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,n);t.$scope[n]=i}return function(e,a,s,u){var l,c,f,h;if(s=!0===s,u&&C(u)&&(h=u),C(e)){if(!(c=e.match(co)))throw lo("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",e);if(f=c[1],h=h||c[3],!(e=t.hasOwnProperty(f)?t[f]:pt(a.$scope,f,!0)||(n?pt(r,f,!0):void 0)))throw lo("ctrlreg","The controller with the name '{0}' is not registered.",f);ft(e,f,!0)}if(s){var p=(lr(e)?e[e.length-1]:e).prototype;return l=Object.create(p||null),h&&o(a,h,l,f||e.name),d(function(){var t=i.invoke(e,l,a,f);return t!==l&&(w(t)||E(t))&&(l=t,h&&o(a,h,l,f||e.name)),l},{instance:l,identifier:h})}return l=i.instantiate(e,a,f),h&&o(a,h,l,f||e.name),l}}]}function Ee(){this.$get=["$window",function(t){return Zi(t.document)}]}function Te(){this.$get=["$document","$rootScope",function(t,e){function n(){r=i.hidden}var i=t[0],r=i&&i.hidden;return t.on("visibilitychange",n),e.$on("$destroy",function(){t.off("visibilitychange",n)}),function(){return r}}]}function Ae(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function Oe(t){return w(t)?S(t)?t.toISOString():X(t):t}function _e(){this.$get=function(){return function(t){if(!t)return"";var e=[];return a(t,function(t,n){null===t||y(t)||(lr(t)?o(t,function(t){e.push(rt(n)+"="+rt(Oe(t)))}):e.push(rt(n)+"="+rt(Oe(t))))}),e.join("&")}}}function Me(){this.$get=function(){return function(t){function e(t,i,r){null===t||y(t)||(lr(t)?o(t,function(t,n){e(t,i+"["+(w(t)?n:"")+"]")}):w(t)&&!S(t)?a(t,function(t,n){e(t,i+(r?"":"[")+n+(r?"":"]"))}):n.push(rt(i)+"="+rt(Oe(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function Pe(t,e){if(C(t)){var n=t.replace(mo,"").trim();if(n){var i=e("Content-Type");(i&&0===i.indexOf(ho)||Ie(n))&&(t=Y(n))}}return t}function Ie(t){var e=t.match(vo);return e&&go[e[0]].test(t)}function Ve(t){function e(t,e){t&&(i[t]=i[t]?i[t]+", "+e:e)}var n,i=gt();return C(t)?o(t.split("\n"),function(t){n=t.indexOf(":"),e(Bi(dr(t.substr(0,n))),dr(t.substr(n+1)))}):w(t)&&o(t,function(t,n){e(Bi(n),dr(t))}),i}function De(t){var e;return function(n){if(e||(e=Ve(t)),n){var i=e[Bi(n)];return void 0===i&&(i=null),i}return e}}function je(t,e,n,i){return E(i)?i(t,e,n):(o(i,function(i){t=i(t,e,n)}),t)}function Ne(t){return 200<=t&&t<300}function qe(){var t=this.defaults={transformResponse:[Pe],transformRequest:[function(t){return!w(t)||_(t)||P(t)||M(t)?t:X(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:yt(po),put:yt(po),patch:yt(po)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(t){return b(t)?(n=!!t,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(r,a,s,u,l,c,f,h){function p(n){function i(t,e){for(var n=0,i=e.length;n<i;){var r=e[n++],o=e[n++];t=t.then(r,o)}return e.length=0,t}function a(){r.$$completeOutstandingRequest(v)}function s(t,e){var n,i={};return o(t,function(t,r){E(t)?null!=(n=t(e))&&(i[r]=n):i[r]=t}),i}function u(e){var n=e.headers,i=je(e.data,De(n),void 0,e.transformRequest);return y(i)&&o(n,function(t,e){"content-type"===Bi(e)&&delete n[e]}),y(e.withCredentials)&&!y(t.withCredentials)&&(e.withCredentials=t.withCredentials),g(e,i).then(l,l)}function l(t){var e=d({},t);return e.data=je(t.data,t.headers,t.status,p.transformResponse),Ne(t.status)?e:c.reject(e)}if(!w(n))throw e("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!C(h.valueOf(n.url)))throw e("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var p=d({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},n);p.headers=function(e){var n,i,r,o=t.headers,a=d({},e.headers);o=d({},o.common,o[Bi(e.method)]);t:for(n in o){i=Bi(n);for(r in a)if(Bi(r)===i)continue t;a[n]=o[n]}return s(a,yt(e))}(n),p.method=Qi(p.method),p.paramSerializer=C(p.paramSerializer)?f.get(p.paramSerializer):p.paramSerializer,r.$$incOutstandingRequestCount();var m=[],$=[],b=c.resolve(p);return o(k,function(t){(t.request||t.requestError)&&m.unshift(t.request,t.requestError),(t.response||t.responseError)&&$.push(t.response,t.responseError)}),b=i(b,m),b=b.then(u),b=i(b,$),b=b.finally(a)}function g(e,i){function r(t){if(t){var e={};return o(t,function(t,i){e[i]=function(e){function i(){t(e)}n?l.$applyAsync(i):l.$$phase?i():l.$apply(i)}}),e}}function u(t,e,i,r){function o(){d(e,t,i,r)}g&&(Ne(t)?g.put(O,[t,e,Ve(i),r]):g.remove(O)),n?l.$applyAsync(o):(o(),l.$$phase||l.$apply())}function d(t,n,i,r){n=n>=-1?n:0,(Ne(n)?S.resolve:S.reject)({data:t,status:n,headers:De(i),config:e,statusText:r})}function f(t){d(t.data,t.status,yt(t.headers()),t.statusText)}function v(){var t=p.pendingRequests.indexOf(e);-1!==t&&p.pendingRequests.splice(t,1)}var g,k,S=c.defer(),E=S.promise,T=e.headers,A="jsonp"===Bi(e.method),O=e.url;if(A?O=h.getTrustedResourceUrl(O):C(O)||(O=h.valueOf(O)),O=m(O,e.paramSerializer(e.params)),A&&(O=$(O,e.jsonpCallbackParam)),p.pendingRequests.push(e),E.then(v,v),!e.cache&&!t.cache||!1===e.cache||"GET"!==e.method&&"JSONP"!==e.method||(g=w(e.cache)?e.cache:w(t.cache)?t.cache:x),g&&(k=g.get(O),b(k)?V(k)?k.then(f,f):lr(k)?d(k[1],k[0],yt(k[2]),k[3]):d(k,200,{},"OK"):g.put(O,E)),y(k)){var _=Nn(e.url)?s()[e.xsrfCookieName||t.xsrfCookieName]:void 0;_&&(T[e.xsrfHeaderName||t.xsrfHeaderName]=_),a(e.method,O,i,u,T,e.timeout,e.withCredentials,e.responseType,r(e.eventHandlers),r(e.uploadEventHandlers))}return E}function m(t,e){return e.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+e),t}function $(t,e){if(/[&?][^=]+=JSON_CALLBACK/.test(t))throw $o("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',t);if(new RegExp("[&?]"+e+"=").test(t))throw $o("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',e,t);return t+=(-1===t.indexOf("?")?"?":"&")+e+"=JSON_CALLBACK"}var x=u("$http");t.paramSerializer=C(t.paramSerializer)?f.get(t.paramSerializer):t.paramSerializer;var k=[];return o(i,function(t){k.unshift(C(t)?f.get(t):f.invoke(t))}),p.pendingRequests=[],function(t){o(arguments,function(t){p[t]=function(e,n){return p(d({},n||{},{method:t,url:e}))}})}("get","delete","head","jsonp"),function(t){o(arguments,function(t){p[t]=function(e,n,i){return p(d({},i||{},{method:t,url:e,data:n}))}})}("post","put","patch"),p.defaults=t,p}]}function Le(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Re(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,i){return He(t,i,t.defer,e,n[0])}]}function He(t,e,n,i,r){function a(t,e,n){t=t.replace("JSON_CALLBACK",e);var o=r.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){o.removeEventListener("load",a),o.removeEventListener("error",a),r.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||i.wasCalled(e)||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},o.addEventListener("load",a),o.addEventListener("error",a),r.body.appendChild(o),a}return function(r,s,u,l,c,d,f,h,p,v){function g(){w&&w(),x&&x.abort()}function m(t,e,i,r,o){b(k)&&n.cancel(k),w=x=null,t(e,i,r,o)}if(s=s||t.url(),"jsonp"===Bi(r))var $=i.createCallback(s),w=a(s,$,function(t,e){var n=200===t&&i.getResponse($);m(l,t,n,"",e),i.removeCallback($)});else{var x=e(r,s);x.open(r,s,!0),o(c,function(t,e){b(t)&&x.setRequestHeader(e,t)}),x.onload=function(){var t=x.statusText||"",e="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=e?200:"file"===jn(s).protocol?404:0),m(l,n,e,x.getAllResponseHeaders(),t)};var C=function(){m(l,-1,null,null,"")};if(x.onerror=C,x.onabort=C,x.ontimeout=C,o(p,function(t,e){x.addEventListener(e,t)}),o(v,function(t,e){x.upload.addEventListener(e,t)}),f&&(x.withCredentials=!0),h)try{x.responseType=h}catch(t){if("json"!==h)throw t}x.send(y(u)?null:u)}if(d>0)var k=n(g,d);else V(d)&&d.then(g)}}function Fe(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,i,r){function o(t){return"\\\\\\"+t}function a(n){return n.replace(f,t).replace(h,e)}function s(t,e,n,i){var r=t.$watch(function(t){return r(),i(t)},e,n);return r}function u(o,u,f,h){function p(t){try{return t=_(t),h&&!b(t)?t:mt(t)}catch(t){i(yo.interr(o,t))}}if(!o.length||-1===o.indexOf(t)){var v;if(!u){v=m(a(o)),v.exp=o,v.expressions=[],v.$$watchDelegate=s}return v}h=!!h;for(var g,$,w,x=0,C=[],k=[],S=o.length,T=[],A=[];x<S;){if(-1===(g=o.indexOf(t,x))||-1===($=o.indexOf(e,g+l))){x!==S&&T.push(a(o.substring(x)));break}x!==g&&T.push(a(o.substring(x,g))),w=o.substring(g+l,$),C.push(w),k.push(n(w,p)),x=$+c,A.push(T.length),T.push("")}if(f&&T.length>1&&yo.throwNoconcat(o),!u||C.length){var O=function(t){for(var e=0,n=C.length;e<n;e++){if(h&&y(t[e]))return;T[A[e]]=t[e]}return T.join("")},_=function(t){return f?r.getTrusted(f,t):r.valueOf(t)};return d(function(t){var e=0,n=C.length,r=new Array(n);try{for(;e<n;e++)r[e]=k[e](t);return O(r)}catch(t){i(yo.interr(o,t))}},{exp:o,expressions:C,$$watchDelegate:function(t,e){var n;return t.$watchGroup(k,function(i,r){var o=O(i);E(e)&&e.call(this,o,i!==r?n:o,t),n=o})}})}}var l=t.length,c=e.length,f=new RegExp(t.replace(/./g,o),"g"),h=new RegExp(e.replace(/./g,o),"g");return u.startSymbol=function(){return t},u.endSymbol=function(){return e},u}]}function ze(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(t,e,n,i,r){function o(o,s,u,l){function c(){d?o.apply(null,f):o(v)}var d=arguments.length>4,f=d?U(arguments,4):[],h=e.setInterval,p=e.clearInterval,v=0,g=b(l)&&!l,m=(g?i:n).defer(),$=m.promise;return u=b(u)?u:0,$.$$intervalId=h(function(){g?r.defer(c):t.$evalAsync(c),m.notify(v++),u>0&&v>=u&&(m.resolve(v),p($.$$intervalId),delete a[$.$$intervalId]),g||t.$apply()},s),a[$.$$intervalId]=m,$}var a={};return o.cancel=function(t){return!!(t&&t.$$intervalId in a)&&(a[t.$$intervalId].promise.catch(v),a[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete a[t.$$intervalId],!0)},o}]}function We(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=it(e[n]);return e.join("/")}function Ue(t,e){var n=jn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=h(n.port)||xo[n.protocol]||null}function Be(t,e){if(ko.test(t))throw Co("badpath",'Invalid url "{0}".',t);var n="/"!==t.charAt(0);n&&(t="/"+t);var i=jn(t);e.$$path=decodeURIComponent(n&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=et(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Qe(t,e){return t.slice(0,e.length)===e}function Xe(t,e){if(Qe(e,t))return e.substr(t.length)}function Ye(t){var e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function Ge(t){return t.replace(/(#.+)|#$/,"$1")}function Ze(t){return t.substr(0,Ye(t).lastIndexOf("/")+1)}function Je(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function Ke(t,e,n){this.$$html5=!0,n=n||"",Ue(t,this),this.$$parse=function(t){var n=Xe(e,t);if(!C(n))throw Co("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Be(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=nt(this.$$search),n=this.$$hash?"#"+it(this.$$hash):"";this.$$url=We(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(i,r){if(r&&"#"===r[0])return this.hash(r.slice(1)),!0;var o,a,s;return b(o=Xe(t,i))?(a=o,s=n&&b(o=Xe(n,o))?e+(Xe("/",o)||o):t+a):b(o=Xe(e,i))?s=e+o:e===i+"/"&&(s=e),s&&this.$$parse(s),!!s}}function tn(t,e,n){Ue(t,this),this.$$parse=function(i){var r,o=Xe(t,i)||Xe(e,i);y(o)||"#"!==o.charAt(0)?this.$$html5?r=o:(r="",y(o)&&(t=i,this.replace())):(r=Xe(n,o),y(r)&&(r=o)),Be(r,this),this.$$path=function(t,e,n){var i,r=/^\/[A-Z]:(\/.*)/;return Qe(e,n)&&(e=e.replace(n,"")),r.exec(e)?t:(i=r.exec(t),i?i[1]:t)}(this.$$path,r,t),this.$$compose()},this.$$compose=function(){var e=nt(this.$$search),i=this.$$hash?"#"+it(this.$$hash):"";this.$$url=We(this.$$path)+(e?"?"+e:"")+i,this.$$absUrl=t+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(e,n){return Ye(t)===Ye(e)&&(this.$$parse(e),!0)}}function en(t,e,n){this.$$html5=!0,tn.apply(this,arguments),this.$$parseLinkUrl=function(i,r){if(r&&"#"===r[0])return this.hash(r.slice(1)),!0;var o,a;return t===Ye(i)?o=i:(a=Xe(e,i))?o=t+n+a:e===i+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=nt(this.$$search),i=this.$$hash?"#"+it(this.$$hash):"";this.$$url=We(this.$$path)+(e?"?"+e:"")+i,this.$$absUrl=t+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function nn(t){return function(){return this[t]}}function rn(t,e){return function(n){return y(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function on(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return b(e)?(t=e,this):t},this.html5Mode=function(t){return I(t)?(e.enabled=t,this):w(t)?(I(t.enabled)&&(e.enabled=t.enabled),I(t.requireBase)&&(e.requireBase=t.requireBase),(I(t.rewriteLinks)||C(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,r,o,a){function s(t,e,n){var r=l.url(),o=l.$$state;try{i.url(t,e,n),l.$$state=i.state()}catch(t){throw l.url(r),l.$$state=o,t}}function u(t,e){n.$broadcast("$locationChangeSuccess",l.absUrl(),t,l.$$state,e)}var l,c,d,f=i.baseHref(),h=i.url();if(e.enabled){if(!f&&e.requireBase)throw Co("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=Je(h)+(f||"/"),c=r.history?Ke:en}else d=Ye(h),c=tn;var p=Ze(d);l=new c(d,p,"#"+t),l.$$parseLinkUrl(h,h),l.$$state=i.state();var v=/^\s*(javascript|mailto):/i;o.on("click",function(t){var r=e.rewriteLinks;if(r&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!==t.which&&2!==t.button){for(var s=Zi(t.target);"a"!==L(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!C(r)||!y(s.attr(r))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");w(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=jn(u.animVal).href),v.test(u)||!u||s.attr("target")||t.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(t.preventDefault(),l.absUrl()!==i.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Ge(l.absUrl())!==Ge(h)&&i.url(l.absUrl(),!0);var g=!0;return i.onUrlChange(function(t,e){if(!Qe(t,p))return void(a.location.href=t);n.$evalAsync(function(){var i,r=l.absUrl(),o=l.$$state;t=Ge(t),l.$$parse(t),l.$$state=e,i=n.$broadcast("$locationChangeStart",t,r,e,o).defaultPrevented,l.absUrl()===t&&(i?(l.$$parse(r),l.$$state=o,s(r,!1,o)):(g=!1,u(r,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(g||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var t=Ge(i.url()),e=Ge(l.absUrl()),o=i.state(),a=l.$$replace,c=t!==e||l.$$html5&&r.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var e=l.absUrl(),i=n.$broadcast("$locationChangeStart",e,t,l.$$state,o).defaultPrevented;l.absUrl()===e&&(i?(l.$$parse(t),l.$$state=o):(c&&s(e,a,o===l.$$state?null:l.$$state),u(t,o)))}))}l.$$replace=!1}),l}]}function an(){var t=!0,e=this;this.debugEnabled=function(e){return b(e)?(t=e,this):t},this.$get=["$window",function(n){function i(t){return t instanceof Error&&(t.stack&&a?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function r(t){var e=n.console||{},r=e[t]||e.log||v,a=!1;try{a=!!r.apply}catch(t){}return a?function(){var t=[];return o(arguments,function(e){t.push(i(e))}),r.apply(e,t)}:function(t,e){r(t,null==e?"":e)}}var a=Gi||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:r("log"),info:r("info"),warn:r("warn"),error:r("error"),debug:function(){var n=r("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function sn(t){return t+""}function un(t,e){return void 0!==t?t:e}function ln(t,e){return void 0===t?e:void 0===e?t:t+e}function cn(t,e){return!t(e).$stateful}function dn(t,e){var n,i,r;switch(t.type){case Mo.Program:n=!0,o(t.body,function(t){dn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case Mo.Literal:t.constant=!0,t.toWatch=[];break;case Mo.UnaryExpression:dn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case Mo.BinaryExpression:dn(t.left,e),dn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case Mo.LogicalExpression:dn(t.left,e),dn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case Mo.ConditionalExpression:dn(t.test,e),dn(t.alternate,e),dn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case Mo.Identifier:t.constant=!1,t.toWatch=[t];break;case Mo.MemberExpression:dn(t.object,e),t.computed&&dn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case Mo.CallExpression:r=!!t.filter&&cn(e,t.callee.name),n=r,i=[],o(t.arguments,function(t){dn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=r?i:[t];break;case Mo.AssignmentExpression:dn(t.left,e),dn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case Mo.ArrayExpression:n=!0,i=[],o(t.elements,function(t){dn(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=i;break;case Mo.ObjectExpression:n=!0,i=[],o(t.properties,function(t){dn(t.value,e),n=n&&t.value.constant&&!t.computed,
  t.value.constant||i.push.apply(i,t.value.toWatch),t.computed&&(dn(t.key,e),t.key.constant||i.push.apply(i,t.key.toWatch))}),t.constant=n,t.toWatch=i;break;case Mo.ThisExpression:case Mo.LocalsExpression:t.constant=!1,t.toWatch=[]}}function fn(t){if(1===t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length?n:n[0]!==e?n:void 0}}function hn(t){return t.type===Mo.Identifier||t.type===Mo.MemberExpression}function pn(t){if(1===t.body.length&&hn(t.body[0].expression))return{type:Mo.AssignmentExpression,left:t.body[0].expression,right:{type:Mo.NGValueParameter},operator:"="}}function vn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===Mo.Literal||t.body[0].expression.type===Mo.ArrayExpression||t.body[0].expression.type===Mo.ObjectExpression)}function gn(t){return t.constant}function mn(t,e){this.astBuilder=t,this.$filter=e}function $n(t,e){this.astBuilder=t,this.$filter=e}function yn(t){return E(t.valueOf)?t.valueOf():To.call(t)}function bn(){var t,e,n=gt(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(t,e){i[t]=e},this.setIdentifierFns=function(n,i){return t=n,e=i,this},this.$get=["$filter",function(r){function a(t,e){var i,o,a;switch(typeof t){case"string":if(t=t.trim(),a=t,!(i=n[a])){":"===t.charAt(0)&&":"===t.charAt(1)&&(o=!0,t=t.substring(2));var s=new _o(p);i=new Po(s,r,p).parse(t),i.constant?i.$$watchDelegate=d:o?i.$$watchDelegate=i.literal?c:l:i.inputs&&(i.$$watchDelegate=u),n[a]=i}return f(i,e);case"function":return f(t,e);default:return f(v,e)}}function s(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&!n&&"object"==typeof(t=yn(t)))&&(t===e||t!==t&&e!==e)}function u(t,e,n,i,r){var o,a=i.inputs;if(1===a.length){var u=s;return a=a[0],t.$watch(function(t){var e=a(t);return s(e,u,i.literal)||(o=i(t,void 0,void 0,[e]),u=e&&yn(e)),o},e,n,r)}for(var l=[],c=[],d=0,f=a.length;d<f;d++)l[d]=s,c[d]=null;return t.$watch(function(t){for(var e=!1,n=0,r=a.length;n<r;n++){var u=a[n](t);(e||(e=!s(u,l[n],i.literal)))&&(c[n]=u,l[n]=u&&yn(u))}return e&&(o=i(t,void 0,void 0,c)),o},e,n,r)}function l(t,e,n,i,r){function o(t){return i(t)}function a(t,n,i){l=t,E(e)&&e(t,n,i),b(t)&&i.$$postDigest(function(){b(l)&&s()})}var s,l;return s=i.inputs?u(t,a,n,i,r):t.$watch(o,a,n)}function c(t,e,n,i){function r(t){var e=!0;return o(t,function(t){b(t)||(e=!1)}),e}var a,s;return a=t.$watch(function(t){return i(t)},function(t,n,i){s=t,E(e)&&e(t,n,i),r(t)&&i.$$postDigest(function(){r(s)&&a()})},n)}function d(t,e,n,i){var r=t.$watch(function(t){return r(),i(t)},e,n);return r}function f(t,e){if(!e)return t;var n=t.$$watchDelegate,i=!1,r=n!==c&&n!==l,o=r?function(n,r,o,a){var s=i&&a?a[0]:t(n,r,o,a);return e(s,n,r)}:function(n,i,r,o){var a=t(n,i,r,o),s=e(a,n,i);return b(a)?s:a};return i=!t.inputs,t.$$watchDelegate&&t.$$watchDelegate!==u?(o.$$watchDelegate=t.$$watchDelegate,o.inputs=t.inputs):e.$stateful||(o.$$watchDelegate=u,o.inputs=t.inputs?t.inputs:[t]),o}var h=hr().noUnsafeEval,p={csp:h,literals:F(i),isIdentifierStart:E(t)&&t,isIdentifierContinue:E(e)&&e};return a}]}function wn(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return Cn(function(t){e.$evalAsync(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return b(e)?(t=e,this):t}}function xn(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return Cn(function(t){e.defer(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return b(e)?(t=e,this):t}}function Cn(t,n,i){function r(){return new a}function a(){var t=this.promise=new s;this.resolve=function(e){f(t,e)},this.reject=function(e){p(t,e)},this.notify=function(e){g(t,e)}}function s(){this.$$state={status:0}}function u(e){var n,r,o;o=e.pending,e.processScheduled=!1,e.pending=void 0;try{for(var a=0,s=o.length;a<s;++a){e.pur=!0,r=o[a][0],n=o[a][e.status];try{E(n)?f(r,n(e.value)):1===e.status?f(r,e.value):p(r,e.value)}catch(t){p(r,t)}}}finally{--T,i&&0===T&&t(l)}}function l(){for(;!T&&A.length;){var t=A.shift();if(!t.pur){t.pur=!0;var e="Possibly unhandled rejection: "+wt(t.value);t.value instanceof Error?n(t.value,e):n(e)}}}function c(e){!i||e.pending||2!==e.status||e.pur||(0===T&&0===A.length&&t(l),A.push(e)),!e.processScheduled&&e.pending&&(e.processScheduled=!0,++T,t(function(){u(e)}))}function f(t,e){t.$$state.status||(e===t?v(t,S("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):h(t,e))}function h(t,e){function n(e){a||(a=!0,h(t,e))}function i(e){a||(a=!0,v(t,e))}function r(e){g(t,e)}var o,a=!1;try{(w(e)||E(e))&&(o=e.then),E(o)?(t.$$state.status=-1,o.call(e,n,i,r)):(t.$$state.value=e,t.$$state.status=1,c(t.$$state))}catch(t){i(t)}}function p(t,e){t.$$state.status||v(t,e)}function v(t,e){t.$$state.value=e,t.$$state.status=2,c(t.$$state)}function g(e,i){var r=e.$$state.pending;e.$$state.status<=0&&r&&r.length&&t(function(){for(var t,e,o=0,a=r.length;o<a;o++){e=r[o][0],t=r[o][3];try{g(e,E(t)?t(i):i)}catch(t){n(t)}}})}function m(t){var e=new s;return p(e,t),e}function $(t,e,n){var i=null;try{E(n)&&(i=n())}catch(t){return m(t)}return V(i)?i.then(function(){return e(t)},m):e(t)}function b(t,e,n,i){var r=new s;return f(r,t),r.then(e,n,i)}function x(t){var e=new s,n=0,i=lr(t)?[]:{};return o(t,function(t,r){n++,b(t).then(function(t){i[r]=t,--n||f(e,i)},function(t){p(e,t)})}),0===n&&f(e,i),e}function C(t){var e=r();return o(t,function(t){b(t).then(e.resolve,e.reject)}),e.promise}function k(t){function e(t){f(i,t)}function n(t){p(i,t)}if(!E(t))throw S("norslvr","Expected resolverFn, got '{0}'",t);var i=new s;return t(e,n),i}var S=e("$q",TypeError),T=0,A=[];d(s.prototype,{then:function(t,e,n){if(y(t)&&y(e)&&y(n))return this;var i=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,t,e,n]),this.$$state.status>0&&c(this.$$state),i},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then(function(e){return $(e,O,t)},function(e){return $(e,m,t)},e)}});var O=b;return k.prototype=s.prototype,k.defer=r,k.reject=m,k.when=b,k.resolve=O,k.all=x,k.race=C,k}function kn(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame,i=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,r=!!n,o=r?function(t){var e=n(t);return function(){i(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=r,o}]}function Sn(){function t(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=u(),this.$$ChildScope=null}return e.prototype=t,e}var n=10,i=e("$rootScope"),a=null,s=null;this.digestTtl=function(t){return arguments.length&&(n=t),n},this.$get=["$exceptionHandler","$parse","$browser",function(e,l,c){function d(t){t.currentScope.$$destroyed=!0}function f(t){9===Gi&&(t.$$childHead&&f(t.$$childHead),t.$$nextSibling&&f(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function h(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function p(t){if(k.$$phase)throw i("inprog","{0} already in progress",k.$$phase);k.$$phase=t}function g(){k.$$phase=null}function m(t,e){do{t.$$watchersCount+=e}while(t=t.$parent)}function $(t,e,n){do{t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n]}while(t=t.$parent)}function b(){}function x(){for(;A.length;)try{A.shift()()}catch(t){e(t)}s=null}function C(){null===s&&(s=c.defer(function(){k.$apply(x)}))}h.prototype={constructor:h,$new:function(e,n){var i;return n=n||this,e?(i=new h,i.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=t(this)),i=new this.$$ChildScope),i.$parent=n,i.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=i,n.$$childTail=i):n.$$childHead=n.$$childTail=i,(e||n!==this)&&i.$on("$destroy",d),i},$watch:function(t,e,n,i){var r=l(t);if(r.$$watchDelegate)return r.$$watchDelegate(this,e,n,r,t);var o=this,s=o.$$watchers,u={fn:e,last:b,get:r,exp:i||t,eq:!!n};return a=null,E(e)||(u.fn=v),s||(s=o.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(u),s.$$digestWatchIndex++,m(this,1),function(){var t=H(s,u);t>=0&&(m(o,-1),t<s.$$digestWatchIndex&&s.$$digestWatchIndex--),a=null}},$watchGroup:function(t,e){function n(){u=!1,l?(l=!1,e(r,r,s)):e(r,i,s)}var i=new Array(t.length),r=new Array(t.length),a=[],s=this,u=!1,l=!0;if(!t.length){var c=!0;return s.$evalAsync(function(){c&&e(r,r,s)}),function(){c=!1}}return 1===t.length?this.$watch(t[0],function(t,n,o){r[0]=t,i[0]=n,e(r,t===n?r:i,o)}):(o(t,function(t,e){var o=s.$watch(t,function(t,o){r[e]=t,i[e]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(t,e){function n(t){o=t;var e,n,i,s;if(!y(o)){if(w(o))if(r(o)){a!==h&&(a=h,g=a.length=0,d++),e=o.length,g!==e&&(d++,a.length=g=e);for(var u=0;u<e;u++)s=a[u],i=o[u],s!==s&&i!==i||s===i||(d++,a[u]=i)}else{a!==p&&(a=p={},g=0,d++),e=0;for(n in o)Wi.call(o,n)&&(e++,i=o[n],s=a[n],n in a?s!==s&&i!==i||s===i||(d++,a[n]=i):(g++,a[n]=i,d++));if(g>e){d++;for(n in a)Wi.call(o,n)||(g--,delete a[n])}}else a!==o&&(a=o,d++);return d}}function i(){if(v?(v=!1,e(o,o,u)):e(o,s,u),c)if(w(o))if(r(o)){s=new Array(o.length);for(var t=0;t<o.length;t++)s[t]=o[t]}else{s={};for(var n in o)Wi.call(o,n)&&(s[n]=o[n])}else s=o}n.$stateful=!0;var o,a,s,u=this,c=e.length>1,d=0,f=l(t,n),h=[],p={},v=!0,g=0;return this.$watch(f,i)},$digest:function(){var t,r,o,u,l,d,f,h,v,m,$,y=n,w=this,C=[];p("$digest"),c.$$checkUrlChange(),this===k&&null!==s&&(c.defer.cancel(s),x()),a=null;do{f=!1,v=w;for(var A=0;A<S.length;A++){try{$=S[A],u=$.fn,u($.scope,$.locals)}catch(t){e(t)}a=null}S.length=0;t:do{if(d=v.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(t=d[d.$$digestWatchIndex])if(l=t.get,(r=l(v))===(o=t.last)||(t.eq?z(r,o):ur(r)&&ur(o))){if(t===a){f=!1;break t}}else f=!0,a=t,t.last=t.eq?F(r,null):r,u=t.fn,u(r,o===b?r:o,v),y<5&&(m=4-y,C[m]||(C[m]=[]),C[m].push({msg:E(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:r,oldVal:o}))}catch(t){e(t)}if(!(h=v.$$watchersCount&&v.$$childHead||v!==w&&v.$$nextSibling))for(;v!==w&&!(h=v.$$nextSibling);)v=v.$parent}while(v=h);if((f||S.length)&&!y--)throw g(),i("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",n,C)}while(f||S.length);for(g();O<T.length;)try{T[O++]()}catch(t){e(t)}T.length=O=0,c.$$checkUrlChange()},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===k&&c.$$applicationDestroyed(),m(this,-this.$$watchersCount);for(var e in this.$$listenerCount)$(this,this.$$listenerCount[e],e);t&&t.$$childHead===this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail===this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=v,this.$on=this.$watch=this.$watchGroup=function(){return v},this.$$listeners={},this.$$nextSibling=null,f(this)}},$eval:function(t,e){return l(t)(this,e)},$evalAsync:function(t,e){k.$$phase||S.length||c.defer(function(){S.length&&k.$digest()}),S.push({scope:this,fn:l(t),locals:e})},$$postDigest:function(t){T.push(t)},$apply:function(t){try{p("$apply");try{return this.$eval(t)}finally{g()}}catch(t){e(t)}finally{try{k.$digest()}catch(t){throw e(t),t}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&A.push(e),t=l(t),C()},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var i=this;do{i.$$listenerCount[t]||(i.$$listenerCount[t]=0),i.$$listenerCount[t]++}while(i=i.$parent);var r=this;return function(){var i=n.indexOf(e);-1!==i&&(n[i]=null,$(r,1,t))}},$emit:function(t,n){var i,r,o,a=[],s=this,u=!1,l={name:t,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=W([l],arguments,1);do{for(i=s.$$listeners[t]||a,l.currentScope=s,r=0,o=i.length;r<o;r++)if(i[r])try{i[r].apply(null,c)}catch(t){e(t)}else i.splice(r,1),r--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(t,n){var i=this,r=i,o=i,a={name:t,targetScope:i,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!i.$$listenerCount[t])return a;for(var s,u,l,c=W([a],arguments,1);r=o;){for(a.currentScope=r,s=r.$$listeners[t]||[],u=0,l=s.length;u<l;u++)if(s[u])try{s[u].apply(null,c)}catch(t){e(t)}else s.splice(u,1),u--,l--;if(!(o=r.$$listenerCount[t]&&r.$$childHead||r!==i&&r.$$nextSibling))for(;r!==i&&!(o=r.$$nextSibling);)r=r.$parent}return a.currentScope=null,a}};var k=new h,S=k.$$asyncQueue=[],T=k.$$postDigestQueue=[],A=k.$$applyAsyncQueue=[],O=0;return k}]}function En(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.$get=function(){return function(n,i){var r,o=i?e:t;return r=jn(n).href,""===r||r.match(o)?n:"unsafe:"+r}}}function Tn(t){return t.replace(Do,kt)}function An(t){if("self"===t)return t;if(C(t)){if(t.indexOf("***")>-1)throw Io("iwcard","Illegal sequence *** in string matcher.  String: {0}",t);return t=fr(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(T(t))return new RegExp("^"+t.source+"$");throw Io("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function On(t){var e=[];return b(t)&&o(t,function(t){e.push(An(t))}),e}function _n(){this.SCE_CONTEXTS=Vo;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=On(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=On(t)),e},this.$get=["$injector",function(n){function i(t,e){return"self"===t?Nn(e):!!t.exec(e.href)}function r(n){var r,o,a=jn(n.toString()),s=!1;for(r=0,o=t.length;r<o;r++)if(i(t[r],a)){s=!0;break}if(s)for(r=0,o=e.length;r<o;r++)if(i(e[r],a)){s=!1;break}return s}function o(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function a(t,e){var n=d.hasOwnProperty(t)?d[t]:null;if(!n)throw Io("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||y(e)||""===e)return e;if("string"!=typeof e)throw Io("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)}function s(t){return t instanceof c?t.$$unwrapTrustedValue():t}function u(t,e){if(null===e||y(e)||""===e)return e;var n=d.hasOwnProperty(t)?d[t]:null;if(n&&e instanceof n)return e.$$unwrapTrustedValue();if(t===Vo.RESOURCE_URL){if(r(e))return e;throw Io("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",e.toString())}if(t===Vo.HTML)return l(e);throw Io("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(t){throw Io("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),d={};return d[Vo.HTML]=o(c),d[Vo.CSS]=o(c),d[Vo.URL]=o(c),d[Vo.JS]=o(c),d[Vo.RESOURCE_URL]=o(d[Vo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function Mn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&Gi<8)throw Io("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 i=yt(Vo);i.isEnabled=function(){return t},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=g),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:e(n,function(e){return i.getTrusted(t,e)})};var r=i.parseAs,a=i.getTrusted,s=i.trustAs;return o(Vo,function(t,e){var n=Bi(e);i[Tn("parse_as_"+n)]=function(e){return r(t,e)},i[Tn("get_trusted_"+n)]=function(e){return a(t,e)},i[Tn("trust_as_"+n)]=function(e){return s(t,e)}}),i}]}function Pn(){this.$get=["$window","$document",function(t,e){var n={},i=t.nw&&t.nw.process,r=!i&&t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id),o=!r&&t.history&&t.history.pushState,a=h((/android (\d+)/.exec(Bi((t.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((t.navigator||{}).userAgent),u=e[0]||{},l=u.body&&u.body.style,c=!1,d=!1;return l&&(c=!!("transition"in l||"webkitTransition"in l),d=!!("animation"in l||"webkitAnimation"in l)),{history:!(!o||a<4||s),hasEvent:function(t){if("input"===t&&Gi)return!1;if(y(n[t])){var e=u.createElement("div");n[t]="on"+t in e}return n[t]},csp:hr(),transitions:c,animations:d,android:a}}]}function In(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,i,r,o){function a(s,u){function l(t){return u||(t=jo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,t.status,t.statusText),e(t)),r.reject(t)}a.totalPendingRequests++,C(s)&&!y(n.get(s))||(s=o.getTrustedResourceUrl(s));var c=i.defaults&&i.defaults.transformResponse;return lr(c)?c=c.filter(function(t){return t!==Pe}):c===Pe&&(c=null),i.get(s,d({cache:n,transformResponse:c},t)).finally(function(){a.totalPendingRequests--}).then(function(t){return n.put(s,t.data),t.data},l)}return a.totalPendingRequests=0,a}]}function Vn(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var i={};return i.findBindings=function(t,e,n){var i=t.getElementsByClassName("ng-binding"),r=[];return o(i,function(t){var i=ar.element(t).data("$binding");i&&o(i,function(i){if(n){new RegExp("(^|\\s)"+fr(e)+"(\\s|\\||$)").test(i)&&r.push(t)}else-1!==i.indexOf(e)&&r.push(t)})}),r},i.findModels=function(t,e,n){for(var i=["ng-","data-ng-","ng\\:"],r=0;r<i.length;++r){var o=n?"=":"*=",a="["+i[r]+"model"+o+'"'+e+'"]',s=t.querySelectorAll(a);if(s.length)return s}},i.getLocation=function(){return n.url()},i.setLocation=function(e){e!==n.url()&&(n.url(e),t.$digest())},i.whenStable=function(t){e.notifyWhenNoOutstandingRequests(t)},i}]}function Dn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,i,r){function o(o,s,u){E(o)||(u=s,s=o,o=v);var l,c=U(arguments,3),d=b(u)&&!u,f=(d?i:n).defer(),h=f.promise;return l=e.defer(function(){try{f.resolve(o.apply(null,c))}catch(t){f.reject(t),r(t)}finally{delete a[h.$$timeoutId]}d||t.$apply()},s),h.$$timeoutId=l,a[l]=f,h}var a={};return o.cancel=function(t){return!!(t&&t.$$timeoutId in a)&&(a[t.$$timeoutId].promise.catch(v),a[t.$$timeoutId].reject("canceled"),delete a[t.$$timeoutId],e.defer.cancel(t.$$timeoutId))},o}]}function jn(t){var e=t;return Gi&&(No.setAttribute("href",e),e=No.href),No.setAttribute("href",e),{href:No.href,protocol:No.protocol?No.protocol.replace(/:$/,""):"",host:No.host,search:No.search?No.search.replace(/^\?/,""):"",hash:No.hash?No.hash.replace(/^#/,""):"",hostname:No.hostname,port:No.port,pathname:"/"===No.pathname.charAt(0)?No.pathname:"/"+No.pathname}}function Nn(t){var e=C(t)?jn(t):t;return e.protocol===qo.protocol&&e.host===qo.host}function qn(){this.$get=m(t)}function Ln(t){function e(t){try{return t.cookie||""}catch(t){return""}}function n(t){try{return decodeURIComponent(t)}catch(e){return t}}var i=t[0]||{},r={},o="";return function(){var t,a,s,u,l,c=e(i);if(c!==o)for(o=c,t=o.split("; "),r={},s=0;s<t.length;s++)a=t[s],(u=a.indexOf("="))>0&&(l=n(a.substring(0,u)),y(r[l])&&(r[l]=n(a.substring(u+1))));return r}}function Rn(){this.$get=Ln}function Hn(t){function e(i,r){if(w(i)){var a={};return o(i,function(t,n){a[n]=e(n,t)}),a}return t.factory(i+n,r)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Bn),e("date",si),e("filter",Fn),e("json",ui),e("limitTo",li),e("lowercase",Uo),e("number",Qn),e("orderBy",di),e("uppercase",Bo)}function Fn(){return function(t,n,i,o){if(!r(t)){if(null==t)return t;throw e("filter")("notarray","Expected array but received: {0}",t)}o=o||"$";var a,s,u=Un(n);switch(u){case"function":a=n;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=zn(n,i,o,s);break;default:return t}return Array.prototype.filter.call(t,a)}}function zn(t,e,n,i){var r=w(t)&&n in t;return!0===e?e=z:E(e)||(e=function(t,e){return!y(t)&&(null===t||null===e?t===e:!(w(e)||w(t)&&!$(t))&&(t=Bi(""+t),e=Bi(""+e),-1!==t.indexOf(e)))}),function(o){return r&&!w(o)?Wn(o,t[n],e,n,!1):Wn(o,t,e,n,i)}}function Wn(t,e,n,i,r,o){var a=Un(t),s=Un(e);if("string"===s&&"!"===e.charAt(0))return!Wn(t,e.substring(1),n,i,r);if(lr(t))return t.some(function(t){return Wn(t,e,n,i,r)});switch(a){case"object":var u;if(r){for(u in t)if(u.charAt&&"$"!==u.charAt(0)&&Wn(t[u],e,n,i,!0))return!0;return!o&&Wn(t,e,n,i,!1)}if("object"===s){for(u in e){var l=e[u];if(!E(l)&&!y(l)){var c=u===i;if(!Wn(c?t:t[u],l,n,i,c,c))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Un(t){return null===t?"null":typeof t}function Bn(t){var e=t.NUMBER_FORMATS;return function(t,n,i){return y(n)&&(n=e.CURRENCY_SYM),y(i)&&(i=e.PATTERNS[1].maxFrac),null==t?t:Gn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,i).replace(/\u00A4/g,n)}}function Qn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Gn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Xn(t){var e,n,i,r,o,a=0;for((n=t.indexOf(Ro))>-1&&(t=t.replace(Ro,"")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charAt(i)===Ho;i++);if(i===(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)===Ho;)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=+t.charAt(i)}return n>Lo&&(e=e.splice(0,Lo-1),a=n-1,n=1),{d:e,e:a,i:n}}function Yn(t,e,n,i){var r=t.d,o=r.length-t.i;e=y(e)?Math.min(Math.max(n,o),i):+e;var a=e+t.i,s=r[a];if(a>0){r.splice(Math.max(t.i,a));for(var u=a;u<r.length;u++)r[u]=0}else{o=Math.max(0,o),t.i=1,r.length=Math.max(1,a=e+1),r[0]=0;for(var l=1;l<a;l++)r[l]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),t.i++;r.unshift(1),t.i++}else r[a-1]++;for(;o<Math.max(0,e);o++)r.push(0);var d=r.reduceRight(function(t,e,n,i){return e+=t,i[n]=e%10,Math.floor(e/10)},0);d&&(r.unshift(d),t.i++)}function Gn(t,e,n,i,r){if(!C(t)&&!k(t)||isNaN(t))return"";var o,a=!isFinite(t),s=!1,u=Math.abs(t)+"",l="";if(a)l="∞";else{o=Xn(u),Yn(o,r,e.minFrac,e.maxFrac);var c=o.d,d=o.i,f=o.e,h=[];for(s=c.reduce(function(t,e){return t&&!e},!0);d<0;)c.unshift(0),d++;d>0?h=c.splice(d,c.length):(h=c,c=[0]);var p=[];for(c.length>=e.lgSize&&p.unshift(c.splice(-e.lgSize,c.length).join(""));c.length>e.gSize;)p.unshift(c.splice(-e.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=i+h.join("")),f&&(l+="e+"+f)}return t<0&&!s?e.negPre+l+e.negSuf:e.posPre+l+e.posSuf}function Zn(t,e,n,i){var r="";for((t<0||i&&t<=0)&&(i?t=1-t:(t=-t,r="-")),t=""+t;t.length<e;)t=Ho+t;return n&&(t=t.substr(t.length-e)),r+t}function Jn(t,e,n,i,r){return n=n||0,function(o){var a=o["get"+t]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),Zn(a,e,i,r)}}function Kn(t,e,n){return function(i,r){var o=i["get"+t]();return r[Qi((n?"STANDALONE":"")+(e?"SHORT":"")+t)][o]}}function ti(t,e,n){var i=-1*n,r=i>=0?"+":"";return r+=Zn(Math[i>0?"floor":"ceil"](i/60),2)+Zn(Math.abs(i%60),2)}function ei(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function ni(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function ii(t){return function(e){var n=ei(e.getFullYear()),i=ni(e),r=+i-+n;return Zn(1+Math.round(r/6048e5),t)}}function ri(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function oi(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function ai(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function si(t){function e(t){var e;if(e=t.match(n)){var i=new Date(0),r=0,o=0,a=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(r=h(e[9]+e[10]),o=h(e[9]+e[11])),a.call(i,h(e[1]),h(e[2])-1,h(e[3]));var u=h(e[4]||0)-r,l=h(e[5]||0)-o,c=h(e[6]||0),d=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(i,u,l,c,d),i}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,r){var a,s,u="",l=[];if(i=i||"mediumDate",i=t.DATETIME_FORMATS[i]||i,C(n)&&(n=Wo.test(n)?h(n):e(n)),k(n)&&(n=new Date(n)),!S(n)||!isFinite(n.getTime()))return n;for(;i;)s=zo.exec(i),s?(l=W(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return r&&(c=G(r,c),n=J(n,r,!0)),o(l,function(e){a=Fo[e],u+=a?a(n,t.DATETIME_FORMATS,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ui(){return function(t,e){return y(e)&&(e=2),X(t,e)}}function li(){return function(t,e,n){return e=Math.abs(Number(e))===1/0?Number(e):h(e),ur(e)?t:(k(t)&&(t=t.toString()),r(t)?(n=!n||isNaN(n)?0:h(n),n=n<0?Math.max(0,t.length+n):n,e>=0?ci(t,n,n+e):0===n?ci(t,e,t.length):ci(t,Math.max(0,n+e),n)):t)}}function ci(t,e,n){return C(t)?t.slice(e,n):tr.call(t,e,n)}function di(t){function n(e){return e.map(function(e){var n=1,i=g;if(E(e))i=e;else if(C(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(i=t(e),i.constant))){var r=i();i=function(t){return t[r]}}return{get:i,descending:n}})}function i(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function o(t){return E(t.valueOf)&&(t=t.valueOf(),i(t))?t:($(t)&&(t=t.toString(),i(t)),t)}function a(t,e){var n=typeof t;return null===t?(n="string",t="null"):"object"===n&&(t=o(t)),{value:t,type:n,index:e}}function s(t,e){var n=0,i=t.type,r=e.type;if(i===r){var o=t.value,a=e.value;"string"===i?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===i&&(w(o)&&(o=t.index),w(a)&&(a=e.index)),o!==a&&(n=o<a?-1:1)}else n=i<r?-1:1;return n}return function(t,i,o,u){function l(t,e){return{value:t,tieBreaker:{value:e,type:"number",index:e},predicateValues:d.map(function(n){return a(n.get(t),e)})}}function c(t,e){for(var n=0,i=d.length;n<i;n++){var r=h(t.predicateValues[n],e.predicateValues[n]);if(r)return r*d[n].descending*f}return h(t.tieBreaker,e.tieBreaker)*f}if(null==t)return t;if(!r(t))throw e("orderBy")("notarray","Expected array but received: {0}",t);lr(i)||(i=[i]),0===i.length&&(i=["+"]);var d=n(i),f=o?-1:1,h=E(u)?u:s,p=Array.prototype.map.call(t,l);return p.sort(c),t=p.map(function(t){return t.value})}}function fi(t){return E(t)&&(t={link:t}),t.restrict=t.restrict||"AC",m(t)}function hi(t,e){t.$name=e}function pi(t,e,n,i,r){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=r(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Yo,this.$$element=t,this.$$animate=i,vi(this)}function vi(t){t.$$classCache={},t.$$classCache[_a]=!(t.$$classCache[Oa]=t.$$element.hasClass(Oa))}function gi(t){function e(t,e,n,i){t[e]||(t[e]={}),a(t[e],n,i)}function n(t,e,n,i){t[e]&&s(t[e],n,i),mi(t[e])&&(t[e]=void 0)}function i(t,e,n){n&&!t.$$classCache[e]?(t.$$animate.addClass(t.$$element,e),t.$$classCache[e]=!0):!n&&t.$$classCache[e]&&(t.$$animate.removeClass(t.$$element,e),t.$$classCache[e]=!1)}function r(t,e,n){e=e?"-"+ct(e,"-"):"",i(t,Oa+e,!0===n),i(t,_a+e,!1===n)}var o=t.clazz,a=t.set,s=t.unset;o.prototype.$setValidity=function(t,o,u){y(o)?e(this,"$pending",t,u):n(this,"$pending",t,u),I(o)?o?(s(this.$error,t,u),a(this.$$success,t,u)):(a(this.$error,t,u),s(this.$$success,t,u)):(s(this.$error,t,u),s(this.$$success,t,u)),this.$pending?(i(this,Go,!0),this.$valid=this.$invalid=void 0,r(this,"",null)):(i(this,Go,!1),this.$valid=mi(this.$error),this.$invalid=!this.$valid,r(this,"",this.$valid));var l;l=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null),r(this,t,l),this.$$parentForm.$setValidity(t,l,this)}}function mi(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function $i(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function yi(t,e,n,i,r,o){bi(t,e,n,i,r,o),$i(i)}function bi(t,e,n,i,r,o){var a=Bi(e[0].type);if(!r.android){var s=!1;e.on("compositionstart",function(){s=!0}),e.on("compositionend",function(){s=!1,l()})}var u,l=function(t){if(u&&(o.defer.cancel(u),u=null),!s){var r=e.val(),l=t&&t.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(r=dr(r)),(i.$viewValue!==r||""===r&&i.$$hasNativeValidators)&&i.$setViewValue(r,l)}};if(r.hasEvent("input"))e.on("input",l);else{var c=function(t,e,n){u||(u=o.defer(function(){u=null,e&&e.value===n||l(t)}))};e.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&e<19||37<=e&&e<=40||c(t,this,this.value)}),r.hasEvent("paste")&&e.on("paste cut",c)}e.on("change",l),ua[a]&&i.$$hasNativeValidators&&a===n.type&&e.on(sa,function(t){if(!u){var e=this[zi],n=e.badInput,i=e.typeMismatch;u=o.defer(function(){u=null,e.badInput===n&&e.typeMismatch===i||l(t)})}}),i.$render=function(){var t=i.$isEmpty(i.$viewValue)?"":i.$viewValue;e.val()!==t&&e.val(t)}}function wi(t,e){if(S(t))return t;if(C(t)){oa.lastIndex=0;var n=oa.exec(t);if(n){var i=+n[1],r=+n[2],o=0,a=0,s=0,u=0,l=ei(i),c=7*(r-1);return e&&(o=e.getHours(),a=e.getMinutes(),s=e.getSeconds(),u=e.getMilliseconds()),new Date(i,0,l.getDate()+c,o,a,s,u)}}return NaN}function xi(t,e){return function(n,i){var r,a;if(S(n))return n;if(C(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),ta.test(n))return new Date(n);if(t.lastIndex=0,r=t.exec(n))return r.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(r,function(t,n){n<e.length&&(a[e[n]]=+t)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function Ci(t,e,n,i){return function(r,o,a,s,u,l,c){function d(t){return t&&!(t.getTime&&t.getTime()!==t.getTime())}function f(t){return b(t)&&!S(t)?n(t)||void 0:t}ki(r,o,a,s),bi(r,o,a,s,u,l);var h,p=s&&s.$options.getOption("timezone");if(s.$$parserName=t,s.$parsers.push(function(t){if(s.$isEmpty(t))return null;if(e.test(t)){var i=n(t,h);return p&&(i=J(i,p)),i}}),s.$formatters.push(function(t){if(t&&!S(t))throw Ia("datefmt","Expected `{0}` to be a date",t);return d(t)?(h=t,h&&p&&(h=J(h,p,!0)),c("date")(t,i,p)):(h=null,"")}),b(a.min)||a.ngMin){var v;s.$validators.min=function(t){return!d(t)||y(v)||n(t)>=v},a.$observe("min",function(t){v=f(t),s.$validate()})}if(b(a.max)||a.ngMax){var g;s.$validators.max=function(t){return!d(t)||y(g)||n(t)<=g},a.$observe("max",function(t){g=f(t),s.$validate()})}}}function ki(t,e,n,i){var r=e[0];(i.$$hasNativeValidators=w(r.validity))&&i.$parsers.push(function(t){var n=e.prop(zi)||{};return n.badInput||n.typeMismatch?void 0:t})}function Si(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:ia.test(e)?parseFloat(e):void 0}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!k(e))throw Ia("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function Ei(t){return b(t)&&!k(t)&&(t=parseFloat(t)),ur(t)?void 0:t}function Ti(t){return(0|t)===t}function Ai(t){var e=t.toString(),n=e.indexOf(".");if(-1===n){if(-1<t&&t<1){var i=/e-(\d+)$/.exec(e);if(i)return Number(i[1])}return 0}return e.length-n-1}function Oi(t,e,n){var i=Number(t),r=!Ti(i),o=!Ti(e),a=!Ti(n);if(r||o||a){
  var s=r?Ai(i):0,u=o?Ai(e):0,l=a?Ai(n):0,c=Math.max(s,u,l),d=Math.pow(10,c);i*=d,e*=d,n*=d,r&&(i=Math.round(i)),o&&(e=Math.round(e)),a&&(n=Math.round(n))}return(i-e)%n==0}function _i(t,e,n,i,r,o){ki(t,e,n,i),Si(i),bi(t,e,n,i,r,o);var a,s;if((b(n.min)||n.ngMin)&&(i.$validators.min=function(t){return i.$isEmpty(t)||y(a)||t>=a},n.$observe("min",function(t){a=Ei(t),i.$validate()})),(b(n.max)||n.ngMax)&&(i.$validators.max=function(t){return i.$isEmpty(t)||y(s)||t<=s},n.$observe("max",function(t){s=Ei(t),i.$validate()})),b(n.step)||n.ngStep){var u;i.$validators.step=function(t,e){return i.$isEmpty(e)||y(u)||Oi(e,a||0,u)},n.$observe("step",function(t){u=Ei(t),i.$validate()})}}function Mi(t,e,n,i,r,o){function a(t,i){e.attr(t,n[t]),n.$observe(t,i)}function s(t){if(d=Ei(t),!ur(i.$modelValue))if(c){var n=e.val();d>n&&(n=d,e.val(n)),i.$setViewValue(n)}else i.$validate()}function u(t){if(f=Ei(t),!ur(i.$modelValue))if(c){var n=e.val();f<n&&(e.val(f),n=f<d?d:f),i.$setViewValue(n)}else i.$validate()}function l(t){h=Ei(t),ur(i.$modelValue)||(c&&i.$viewValue!==e.val()?i.$setViewValue(e.val()):i.$validate())}ki(t,e,n,i),Si(i),bi(t,e,n,i,r,o);var c=i.$$hasNativeValidators&&"range"===e[0].type,d=c?0:void 0,f=c?100:void 0,h=c?1:void 0,p=e[0].validity,v=b(n.min),g=b(n.max),m=b(n.step),$=i.$render;i.$render=c&&b(p.rangeUnderflow)&&b(p.rangeOverflow)?function(){$(),i.$setViewValue(e.val())}:$,v&&(i.$validators.min=c?function(){return!0}:function(t,e){return i.$isEmpty(e)||y(d)||e>=d},a("min",s)),g&&(i.$validators.max=c?function(){return!0}:function(t,e){return i.$isEmpty(e)||y(f)||e<=f},a("max",u)),m&&(i.$validators.step=c?function(){return!p.stepMismatch}:function(t,e){return i.$isEmpty(e)||y(h)||Oi(e,d||0,h)},a("step",l))}function Pi(t,e,n,i,r,o){bi(t,e,n,i,r,o),$i(i),i.$$parserName="url",i.$validators.url=function(t,e){var n=t||e;return i.$isEmpty(n)||ea.test(n)}}function Ii(t,e,n,i,r,o){bi(t,e,n,i,r,o),$i(i),i.$$parserName="email",i.$validators.email=function(t,e){var n=t||e;return i.$isEmpty(n)||na.test(n)}}function Vi(t,e,n,i){var r=!n.ngTrim||"false"!==dr(n.ngTrim);y(n.name)&&e.attr("name",u());var o=function(t){var o;e[0].checked&&(o=n.value,r&&(o=dr(o)),i.$setViewValue(o,t&&t.type))};e.on("click",o),i.$render=function(){var t=n.value;r&&(t=dr(t)),e[0].checked=t===i.$viewValue},n.$observe("value",i.$render)}function Di(t,e,n,i,r){var o;if(b(i)){if(o=t(i),!o.constant)throw Ia("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return o(e)}return r}function ji(t,e,n,i,r,o,a,s){var u=Di(s,t,"ngTrueValue",n.ngTrueValue,!0),l=Di(s,t,"ngFalseValue",n.ngFalseValue,!1),c=function(t){i.$setViewValue(e[0].checked,t&&t.type)};e.on("click",c),i.$render=function(){e[0].checked=i.$viewValue},i.$isEmpty=function(t){return!1===t},i.$formatters.push(function(t){return z(t,u)}),i.$parsers.push(function(t){return t?u:l})}function Ni(t,e){function n(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;var n=[];t:for(var i=0;i<t.length;i++){for(var r=t[i],o=0;o<e.length;o++)if(r===e[o])continue t;n.push(r)}return n}function i(t){return t&&t.split(" ")}function r(t){var e=t;return lr(t)?e=t.map(r).join(" "):w(t)&&(e=Object.keys(t).filter(function(e){return t[e]}).join(" ")),e}function a(t){var e=t;if(lr(t))e=t.map(a);else if(w(t)){var n=!1;e=Object.keys(t).filter(function(e){var i=t[e];return!n&&y(i)&&(n=!0),i}),n&&e.push(void 0)}return e}t="ngClass"+t;var s;return["$parse",function(u){return{restrict:"AC",link:function(l,c,d){function f(t){t=v(i(t),1),d.$addClass(t)}function h(t){t=v(i(t),-1),d.$removeClass(t)}function p(t,e){var r=i(t),o=i(e),a=n(r,o),s=n(o,r),u=v(a,-1),l=v(s,1);d.$addClass(l),d.$removeClass(u)}function v(t,e){var n=[];return o(t,function(t){(e>0||S[t])&&(S[t]=(S[t]||0)+e,S[t]===+(e>0)&&n.push(t))}),n.join(" ")}function g(t){t===e?f(y):h(y),E=t}function m(t){var e=r(t);e!==y&&$(e)}function $(t){E===e&&p(y,t),y=t}var y,b=d[t].trim(),w=":"===b.charAt(0)&&":"===b.charAt(1),x=w?a:r,C=u(b,x),k=w?m:$,S=c.data("$classCounts"),E=!0;S||(S=gt(),c.data("$classCounts",S)),"ngClass"!==t&&(s||(s=u("$index",function(t){return 1&t})),l.$watch(s,g)),l.$watch(C,k,w)}}}]}function qi(t,e,n,i,r,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(t),this.$$parentForm=Yo,this.$options=Va,this.$$parsedNgModel=r(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=t,this.$$attr=n,this.$$element=i,this.$$animate=o,this.$$timeout=a,this.$$parse=r,this.$$q=s,this.$$exceptionHandler=e,vi(this),Li(this)}function Li(t){t.$$scope.$watch(function(){var e=t.$$ngModelGet(t.$$scope);if(e!==t.$modelValue&&(t.$modelValue===t.$modelValue||e===e)){t.$modelValue=t.$$rawModelValue=e,t.$$parserValid=void 0;for(var n=t.$formatters,i=n.length,r=e;i--;)r=n[i](r);t.$viewValue!==r&&(t.$$updateEmptyClasses(r),t.$viewValue=t.$$lastCommittedViewValue=r,t.$render(),t.$$runValidators(t.$modelValue,t.$viewValue,v))}return e})}function Ri(t){this.$$options=t}function Hi(t,e){o(e,function(e,n){b(t[n])||(t[n]=e)})}function Fi(t,e){t.prop("selected",e),t.attr("selected",e)}var zi="validity",Wi=Object.prototype.hasOwnProperty,Ui={objectMaxDepth:5},Bi=function(t){return C(t)?t.toLowerCase():t},Qi=function(t){return C(t)?t.toUpperCase():t},Xi=function(t){return C(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Yi=function(t){return C(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(-33&t.charCodeAt(0))}):t};"i"!=="I".toLowerCase()&&(Bi=Xi,Qi=Yi);var Gi,Zi,Ji,Ki,tr=[].slice,er=[].splice,nr=[].push,ir=Object.prototype.toString,rr=Object.getPrototypeOf,or=e("ng"),ar=t.angular||(t.angular={}),sr=0;Gi=t.document.documentMode;var ur=Number.isNaN||function(t){return t!==t};v.$inject=[],g.$inject=[];var lr=Array.isArray,cr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,dr=function(t){return C(t)?t.trim():t},fr=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},hr=function(){if(!b(hr.rules)){var e=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(e){var n=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");hr.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else hr.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(t){return!0}}(),noInlineStyle:!1}}return hr.rules},pr=function(){if(b(pr.name_))return pr.name_;var e,n,i,r,o=gr.length;for(n=0;n<o;++n)if(i=gr[n],e=t.document.querySelector("["+i.replace(":","\\:")+"jq]")){r=e.getAttribute(i+"jq");break}return pr.name_=r},vr=/:/g,gr=["ng-","data-ng-","ng:","x-ng-"],mr=function(e){var n=e.currentScript;if(!n)return!0;if(!(n instanceof t.HTMLScriptElement||n instanceof t.SVGScriptElement))return!1;var i=n.attributes;return[i.getNamedItem("src"),i.getNamedItem("href"),i.getNamedItem("xlink:href")].every(function(t){if(!t)return!0;if(!t.value)return!1;var n=e.createElement("a");if(n.href=t.value,e.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}})}(t.document),$r=/[A-Z]/g,yr=!1,br=1,wr=3,xr=8,Cr=9,kr=11,Sr={full:"1.6.3",major:1,minor:6,dot:3,codeName:"scriptalicious-bootstrapping"};It.expando="ng339";var Er=It.cache={},Tr=1;It._data=function(t){return this.cache[t[this.expando]]||{}};var Ar=/-([a-z])/g,Or=/^-ms-/,_r={mouseleave:"mouseout",mouseenter:"mouseover"},Mr=e("jqLite"),Pr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ir=/<|&#?\w+;/,Vr=/<([\w:-]+)/,Dr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,jr={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};jr.optgroup=jr.option,jr.tbody=jr.tfoot=jr.colgroup=jr.caption=jr.thead,jr.th=jr.td;var Nr=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},qr=It.prototype={ready:Yt,toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return Zi(t>=0?this[t]:this[this.length+t])},length:0,push:nr,sort:[].sort,splice:[].splice},Lr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Lr[Bi(t)]=t});var Rr={};o("input,select,option,textarea,button,form,details".split(","),function(t){Rr[t]=!0});var Hr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Lt,removeData:Nt,hasData:At,cleanData:Ot},function(t,e){It[e]=t}),o({data:Lt,inheritedData:Ut,scope:function(t){return Zi.data(t,"$scope")||Ut(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return Zi.data(t,"$isolateScope")||Zi.data(t,"$isolateScopeNoTemplate")},controller:Wt,injector:function(t){return Ut(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Rt,css:function(t,e,n){if(e=Ct(e),!b(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var i,r=t.nodeType;if(r!==wr&&2!==r&&r!==xr&&t.getAttribute){var o=Bi(e),a=Lr[o];if(!b(n))return i=t.getAttribute(e),a&&null!==i&&(i=o),null===i?void 0:i;null===n||!1===n&&a?t.removeAttribute(e):t.setAttribute(e,a?o:n)}},prop:function(t,e,n){if(!b(n))return t[e];t[e]=n},text:function(){function t(t,e){if(y(e)){var n=t.nodeType;return n===br||n===wr?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(y(e)){if(t.multiple&&"select"===L(t)){var n=[];return o(t.options,function(t){t.selected&&n.push(t.value||t.text)}),n}return t.value}t.value=e},html:function(t,e){if(y(e))return t.innerHTML;Dt(t,!0),t.innerHTML=e},empty:Bt},function(t,e){It.prototype[e]=function(e,n){var i,r,o=this.length;if(t!==Bt&&y(2===t.length&&t!==Rt&&t!==Wt?e:n)){if(w(e)){for(i=0;i<o;i++)if(t===Lt)t(this[i],e);else for(r in e)t(this[i],r,e[r]);return this}for(var a=t.$dv,s=y(a)?Math.min(o,1):o,u=0;u<s;u++){var l=t(this[u],e,n);a=a?a+l:l}return a}for(i=0;i<o;i++)t(this[i],e,n);return this}}),o({removeData:Nt,on:function(t,e,n,i){if(b(i))throw Mr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Tt(t)){var r=qt(t,!0),o=r.events,a=r.handle;a||(a=r.handle=Jt(t,o));for(var s=e.indexOf(" ")>=0?e.split(" "):[e],u=s.length,l=function(e,i,r){var s=o[e];s||(s=o[e]=[],s.specialHandlerWrapper=i,"$destroy"===e||r||t.addEventListener(e,a)),s.push(n)};u--;)e=s[u],_r[e]?(l(_r[e],te),l(e,void 0,!0)):l(e)}},off:jt,one:function(t,e,n){t=Zi(t),t.on(e,function i(){t.off(e,n),t.off(e,i)}),t.on(e,n)},replaceWith:function(t,e){var n,i=t.parentNode;Dt(t),o(new It(e),function(e){n?i.insertBefore(e,n.nextSibling):i.replaceChild(e,t),n=e})},children:function(t){var e=[];return o(t.childNodes,function(t){t.nodeType===br&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===br||n===kr){e=new It(e);for(var i=0,r=e.length;i<r;i++){var o=e[i];t.appendChild(o)}}},prepend:function(t,e){if(t.nodeType===br){var n=t.firstChild;o(new It(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){Pt(t,Zi(e).eq(0).clone()[0])},remove:Qt,detach:function(t){Qt(t,!0)},after:function(t,e){var n=t,i=t.parentNode;if(i){e=new It(e);for(var r=0,o=e.length;r<o;r++){var a=e[r];i.insertBefore(a,n.nextSibling),n=a}}},addClass:Ft,removeClass:Ht,toggleClass:function(t,e,n){e&&o(e.split(" "),function(e){var i=n;y(i)&&(i=!Rt(t,e)),(i?Ft:Ht)(t,e)})},parent:function(t){var e=t.parentNode;return e&&e.nodeType!==kr?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:Vt,triggerHandler:function(t,e,n){var i,r,a,s=e.type||e,u=qt(t),l=u&&u.events,c=l&&l[s];c&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:v,type:s,target:t},e.type&&(i=d(i,e)),r=yt(c),a=n?[i].concat(n):[i],o(r,function(e){i.isImmediatePropagationStopped()||e.apply(t,a)}))}},function(t,e){It.prototype[e]=function(e,n,i){for(var r,o=0,a=this.length;o<a;o++)y(r)?(r=t(this[o],e,n,i),b(r)&&(r=Zi(r))):zt(r,t(this[o],e,n,i));return b(r)?r:this}}),It.prototype.bind=It.prototype.on,It.prototype.unbind=It.prototype.off;var Fr=Object.create(null);ie.prototype={_idx:function(t){return t===this._lastKey?this._lastIndex:(this._lastKey=t,this._lastIndex=this._keys.indexOf(t),this._lastIndex)},_transformKey:function(t){return ur(t)?Fr:t},get:function(t){t=this._transformKey(t);var e=this._idx(t);if(-1!==e)return this._values[e]},set:function(t,e){t=this._transformKey(t);var n=this._idx(t);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=t,this._values[n]=e},delete:function(t){t=this._transformKey(t);var e=this._idx(t);return-1!==e&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var zr=ie,Wr=[function(){this.$get=[function(){return zr}]}],Ur=/^([^(]+?)=>/,Br=/^[^(]*\(\s*([^)]*)\)/m,Qr=/,/,Xr=/^\s*(_?)(\S+?)\1\s*$/,Yr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gr=e("$injector");ue.$$annotate=se;var Zr=e("$animate"),Jr=1,Kr=function(){this.$get=v},to=function(){var t=new zr,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function r(t,e,n){var i=!1;return e&&(e=C(e)?e.split(" "):lr(e)?e:[],o(e,function(e){e&&(i=!0,t[e]=n)})),i}function a(){o(e,function(e){var n=t.get(e);if(n){var i=fe(e.attr("class")),r="",a="";o(n,function(t,e){t!==!!i[e]&&(t?r+=(r.length?" ":"")+e:a+=(a.length?" ":"")+e)}),o(e,function(t){r&&Ft(t,r),a&&Ht(t,a)}),t.delete(e)}}),e.length=0}function s(n,o,s){var u=t.get(n)||{},l=r(u,o,!0),c=r(u,s,!1);(l||c)&&(t.set(n,u),e.push(n),1===e.length&&i.$$postDigest(a))}return{enabled:v,on:v,off:v,pin:v,push:function(t,e,i,r){r&&r(),i=i||{},i.from&&t.css(i.from),i.to&&t.css(i.to),(i.addClass||i.removeClass)&&s(t,i.addClass,i.removeClass);var o=new n;return o.complete(),o}}}]},eo=["$provide",function(t){var e=this,n=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw Zr("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var r=n+"-animation";e.$$registeredAnimations[n.substr(1)]=r,t.factory(r,i)},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null)){if(new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]").test(n.toString()))throw n=null,Zr("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var i=de(n);!i||i.parentNode||i.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,i,r,o){return i=i&&Zi(i),r=r&&Zi(r),i=i||r.parent(),e(n,i,r),t.push(n,"enter",he(o))},move:function(n,i,r,o){return i=i&&Zi(i),r=r&&Zi(r),i=i||r.parent(),e(n,i,r),t.push(n,"move",he(o))},leave:function(e,n){return t.push(e,"leave",he(n),function(){e.remove()})},addClass:function(e,n,i){return i=he(i),i.addClass=ce(i.addclass,n),t.push(e,"addClass",i)},removeClass:function(e,n,i){return i=he(i),i.removeClass=ce(i.removeClass,n),t.push(e,"removeClass",i)},setClass:function(e,n,i,r){return r=he(r),r.addClass=ce(r.addClass,n),r.removeClass=ce(r.removeClass,i),t.push(e,"setClass",r)},animate:function(e,n,i,r,o){return o=he(o),o.from=o.from?d(o.from,n):n,o.to=o.to?d(o.to,i):i,r=r||"ng-inline-animate",o.tempClasses=ce(o.tempClasses,r),t.push(e,"animate",o)}}}]}],no=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),n.length>1||t(function(){for(var t=0;t<n.length;t++)n[t]();n=[]})}var n=[];return function(){var t=!1;return e(function(){t=!0}),function(n){t?n():e(n)}}}]},io=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,i,r){function a(t){this.setHost(t);var e=n(),o=function(t){r(t,0,!1)};this._doneCallbacks=[],this._tick=function(t){i()?o(t):e(t)},this._state=0}return a.chain=function(t,e){function n(){if(i===t.length)return void e(!0);t[i](function(t){if(!1===t)return void e(!1);i++,n()})}var i=0;n()},a.all=function(t,e){function n(n){r=r&&n,++i===t.length&&e(r)}var i=0,r=!0;o(t,function(t){t.done(n)})},a.prototype={setHost:function(t){this.host=t||{}},done:function(t){2===this._state?t():this._doneCallbacks.push(t)},progress:v,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},catch:function(t){return this.getPromise().catch(t)},finally:function(t){return this.getPromise().finally(t)},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(t){var e=this;0===e._state&&(e._state=1,e._tick(function(){e._resolve(t)}))},_resolve:function(t){2!==this._state&&(o(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},a}]},ro=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,i){function r(){return t(function(){o(),s||u.complete(),s=!0}),u}function o(){a.addClass&&(e.addClass(a.addClass),a.addClass=null),a.removeClass&&(e.removeClass(a.removeClass),a.removeClass=null),a.to&&(e.css(a.to),a.to=null)}var a=i||{};a.$$prepared||(a=F(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(e.css(a.from),a.from=null);var s,u=new n;return{start:r,end:r}}}]},oo=e("$compile"),ao=new $e;ye.$inject=["$provide","$$sanitizeUriProvider"],be.prototype.isFirstChange=function(){return this.previousValue===ao};var so=/^((?:x|data)[:\-_])/i,uo=/[:\-_]+(.)/g,lo=e("$controller"),co=/^(\S+)(\s+as\s+([\w$]+))?$/,fo=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof Zi&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},ho="application/json",po={"Content-Type":ho+";charset=utf-8"},vo=/^\[|^\{(?!\{)/,go={"[":/]$/,"{":/}$/},mo=/^\)]\}',?\n/,$o=e("$http"),yo=ar.$interpolateMinErr=e("$interpolate");yo.throwNoconcat=function(t){throw yo("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",t)},yo.interr=function(t,e){return yo("interr","Can't interpolate: {0}\n{1}",t,e.toString())};var bo=function(){this.$get=function(){function t(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}var e=ar.callbacks,n={};return{createCallback:function(i){var r="_"+(e.$$counter++).toString(36),o="angular.callbacks."+r,a=t(r);return n[o]=e[r]=a,o},wasCalled:function(t){return n[t].called},getResponse:function(t){return n[t].data},removeCallback:function(t){var i=n[t];delete e[i.id],delete n[t]}}}},wo=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,xo={http:80,https:443,ftp:21},Co=e("$location"),ko=/^\s*[\\/]{2,}/,So={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:nn("$$absUrl"),url:function(t){if(y(t))return this.$$url;var e=wo.exec(t);return(e[1]||""===t)&&this.path(decodeURIComponent(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this},protocol:nn("$$protocol"),host:nn("$$host"),port:nn("$$port"),path:rn("$$path",function(t){return t=null!==t?t.toString():"","/"===t.charAt(0)?t:"/"+t}),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(C(t)||k(t))t=t.toString(),this.$$search=et(t);else{if(!w(t))throw Co("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");t=F(t,{}),o(t,function(e,n){null==e&&delete t[n]}),this.$$search=t}break;default:y(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:rn("$$hash",function(t){return null!==t?t.toString():""}),replace:function(){return this.$$replace=!0,this}};o([en,tn,Ke],function(t){t.prototype=Object.create(So),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==Ke||!this.$$html5)throw Co("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=y(e)?null:e,this.$$urlUpdatedByLocation=!0,this}});var Eo=e("$parse"),To={}.constructor.prototype.valueOf,Ao=gt();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(t){Ao[t]=!0});var Oo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},_o=function(t){this.options=t};_o.prototype={constructor:_o,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){var e=this.text.charAt(this.index);if('"'===e||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var n=e+this.peek(),i=n+this.peek(2),r=Ao[e],o=Ao[n],a=Ao[i];if(r||o||a){var s=a?i:o?n:e;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(t,e){return-1!==e.indexOf(t)},peek:function(t){var e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(t){return"0"<=t&&t<="9"&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===t||" "===t},isIdentifierStart:function(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:function(t){return"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"_"===t||"$"===t},isIdentifierContinue:function(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue:function(t,e){return this.isValidIdentifierStart(t,e)||this.isNumber(t)},codePointAt:function(t){return 1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888},peekMultichar:function(){var t=this.text.charAt(this.index),e=this.peek();if(!e)return t;var n=t.charCodeAt(0),i=e.charCodeAt(0);return n>=55296&&n<=56319&&i>=56320&&i<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var i=b(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw Eo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,i,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=Bi(this.text.charAt(this.index));if("."===n||this.isNumber(n))t+=n;else{var i=this.peek();if("e"===n&&this.isExpOperator(i))t+=n;else if(this.isExpOperator(n)&&i&&this.isNumber(i)&&"e"===t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||i&&this.isNumber(i)||"e"!==t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:e,text:t,constant:!0,value:Number(t)})},readIdent:function(){var t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var e=this.peekMultichar();if(!this.isIdentifierContinue(e))break;this.index+=e.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(t){var e=this.index;this.index++;for(var n="",i=t,r=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(i+=o,r){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+=Oo[o]||o}r=!1}else if("\\"===o)r=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:i,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};var Mo=function(t,e){this.lexer=t,this.options=e};Mo.Program="Program",Mo.ExpressionStatement="ExpressionStatement",Mo.AssignmentExpression="AssignmentExpression",Mo.ConditionalExpression="ConditionalExpression",Mo.LogicalExpression="LogicalExpression",Mo.BinaryExpression="BinaryExpression",Mo.UnaryExpression="UnaryExpression",Mo.CallExpression="CallExpression",Mo.MemberExpression="MemberExpression",Mo.Identifier="Identifier",Mo.Literal="Literal",Mo.ArrayExpression="ArrayExpression",Mo.Property="Property",Mo.ObjectExpression="ObjectExpression",Mo.ThisExpression="ThisExpression",Mo.LocalsExpression="LocalsExpression",Mo.NGValueParameter="NGValueParameter",Mo.prototype={ast:function(t){this.text=t,this.tokens=this.lexer.lex(t);var e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:Mo.Program,body:t}},expressionStatement:function(){return{type:Mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t=this.expression();this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();if(this.expect("=")){if(!hn(t))throw Eo("lval","Trying to assign a value to a non l-value");t={type:Mo.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:Mo.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:Mo.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:Mo.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:Mo.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:Mo.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:Mo.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:Mo.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:Mo.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=F(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:Mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:Mo.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:Mo.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:Mo.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:Mo.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do{t.push(this.filterChain())}while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:Mo.Identifier,name:t.text}},constant:function(){return{type:Mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Mo.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:Mo.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:Mo.ObjectExpression,properties:e}},throwError:function(t,e){throw Eo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw Eo("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw Eo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,i){return this.peekAhead(0,t,e,n,i)},peekAhead:function(t,e,n,i,r){if(this.tokens.length>t){var o=this.tokens[t],a=o.text;if(a===e||a===n||a===i||a===r||!e&&!n&&!i&&!r)return o}return!1},expect:function(t,e,n,i){var r=this.peek(t,e,n,i);return!!r&&(this.tokens.shift(),r)},selfReferential:{this:{type:Mo.ThisExpression},$locals:{type:Mo.LocalsExpression}}},mn.prototype={compile:function(t){var e=this,n=this.astBuilder.ast(t);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},dn(n,e.$filter);var i,r="";if(this.stage="assign",i=pn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),r="fn.assign="+this.generateFunction("assign","s,v,l")}var s=fn(n.body);e.stage="inputs",o(s,function(t,n){var i="fn"+n;e.state[i]={vars:[],body:[],own:{}},e.state.computing=i;var r=e.nextId();e.recurse(t,r),e.return_(r),e.state.inputs.push(i),t.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,sn,un,ln);return this.state=this.stage=void 0,l.literal=vn(n),l.constant=gn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return o(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},
  filterPrefix:function(){var t=[],e=this;return o(this.state.filters,function(n,i){t.push(n+"=$filter("+e.escape(i)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,i,r,a){var s,u,l,c,d,f=this;if(i=i||v,!a&&b(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,i,r,!0));switch(t.type){case Mo.Program:o(t.body,function(e,n){f.recurse(e.expression,void 0,void 0,function(t){u=t}),n!==t.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case Mo.Literal:c=this.escape(t.value),this.assign(e,c),i(e||c);break;case Mo.UnaryExpression:this.recurse(t.argument,void 0,void 0,function(t){u=t}),c=t.operator+"("+this.ifDefined(u,0)+")",this.assign(e,c),i(c);break;case Mo.BinaryExpression:this.recurse(t.left,void 0,void 0,function(t){s=t}),this.recurse(t.right,void 0,void 0,function(t){u=t}),c="+"===t.operator?this.plus(s,u):"-"===t.operator?this.ifDefined(s,0)+t.operator+this.ifDefined(u,0):"("+s+")"+t.operator+"("+u+")",this.assign(e,c),i(c);break;case Mo.LogicalExpression:e=e||this.nextId(),f.recurse(t.left,e),f.if_("&&"===t.operator?e:f.not(e),f.lazyRecurse(t.right,e)),i(e);break;case Mo.ConditionalExpression:e=e||this.nextId(),f.recurse(t.test,e),f.if_(e,f.lazyRecurse(t.alternate,e),f.lazyRecurse(t.consequent,e)),i(e);break;case Mo.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",t.name)),function(){f.if_("inputs"===f.stage||"s",function(){r&&1!==r&&f.if_(f.isNull(f.nonComputedMember("s",t.name)),f.lazyAssign(f.nonComputedMember("s",t.name),"{}")),f.assign(e,f.nonComputedMember("s",t.name))})},e&&f.lazyAssign(e,f.nonComputedMember("l",t.name))),i(e);break;case Mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),f.recurse(t.object,s,void 0,function(){f.if_(f.notNull(s),function(){t.computed?(u=f.nextId(),f.recurse(t.property,u),f.getStringValue(u),r&&1!==r&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.computedMember(s,u),f.assign(e,c),n&&(n.computed=!0,n.name=u)):(r&&1!==r&&f.if_(f.isNull(f.nonComputedMember(s,t.property.name)),f.lazyAssign(f.nonComputedMember(s,t.property.name),"{}")),c=f.nonComputedMember(s,t.property.name),f.assign(e,c),n&&(n.computed=!1,n.name=t.property.name))},function(){f.assign(e,"undefined")}),i(e)},!!r);break;case Mo.CallExpression:e=e||this.nextId(),t.filter?(u=f.filter(t.callee.name),l=[],o(t.arguments,function(t){var e=f.nextId();f.recurse(t,e),l.push(e)}),c=u+"("+l.join(",")+")",f.assign(e,c),i(e)):(u=f.nextId(),s={},l=[],f.recurse(t.callee,u,s,function(){f.if_(f.notNull(u),function(){o(t.arguments,function(e){f.recurse(e,t.constant?void 0:f.nextId(),void 0,function(t){l.push(t)})}),c=s.name?f.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",f.assign(e,c)},function(){f.assign(e,"undefined")}),i(e)}));break;case Mo.AssignmentExpression:u=this.nextId(),s={},this.recurse(t.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(t.right,u),c=f.member(s.context,s.name,s.computed)+t.operator+u,f.assign(e,c),i(e||c)})},1);break;case Mo.ArrayExpression:l=[],o(t.elements,function(e){f.recurse(e,t.constant?void 0:f.nextId(),void 0,function(t){l.push(t)})}),c="["+l.join(",")+"]",this.assign(e,c),i(e||c);break;case Mo.ObjectExpression:l=[],d=!1,o(t.properties,function(t){t.computed&&(d=!0)}),d?(e=e||this.nextId(),this.assign(e,"{}"),o(t.properties,function(t){t.computed?(s=f.nextId(),f.recurse(t.key,s)):s=t.key.type===Mo.Identifier?t.key.name:""+t.key.value,u=f.nextId(),f.recurse(t.value,u),f.assign(f.member(e,s,t.computed),u)})):(o(t.properties,function(e){f.recurse(e.value,t.constant?void 0:f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===Mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(e,c)),i(e||c);break;case Mo.ThisExpression:this.assign(e,"s"),i(e||"s");break;case Mo.LocalsExpression:this.assign(e,"l"),i(e||"l");break;case Mo.NGValueParameter:this.assign(e,"v"),i(e||"v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,i=this.current().own;return i.hasOwnProperty(n)||(i[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),i[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(!0===t)e();else{var i=this.current().body;i.push("if(",t,"){"),e(),i.push("}"),n&&(i.push("else{"),n(),i.push("}"))}},not:function(t){return"!("+t+")"},isNull:function(t){return t+"==null"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/;return n.test(e)?t+"."+e:t+'["'+e.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},lazyRecurse:function(t,e,n,i,r,o){var a=this;return function(){a.recurse(t,e,n,i,r,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(C(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(k(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw Eo("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},$n.prototype={compile:function(t){var e=this,n=this.astBuilder.ast(t);dn(n,e.$filter);var i,r;(i=pn(n))&&(r=this.recurse(i));var a,s=fn(n.body);s&&(a=[],o(s,function(t,n){var i=e.recurse(t);t.input=i,a.push(i),t.watchId=n}));var u=[];o(n.body,function(t){u.push(e.recurse(t.expression))});var l=0===n.body.length?v:1===n.body.length?u[0]:function(t,e){var n;return o(u,function(i){n=i(t,e)}),n};return r&&(l.assign=function(t,e,n){return r(t,n,e)}),a&&(l.inputs=a),l.literal=vn(n),l.constant=gn(n),l},recurse:function(t,e,n){var i,r,a,s=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case Mo.Literal:return this.value(t.value,e);case Mo.UnaryExpression:return r=this.recurse(t.argument),this["unary"+t.operator](r,e);case Mo.BinaryExpression:case Mo.LogicalExpression:return i=this.recurse(t.left),r=this.recurse(t.right),this["binary"+t.operator](i,r,e);case Mo.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case Mo.Identifier:return s.identifier(t.name,e,n);case Mo.MemberExpression:return i=this.recurse(t.object,!1,!!n),t.computed||(r=t.property.name),t.computed&&(r=this.recurse(t.property)),t.computed?this.computedMember(i,r,e,n):this.nonComputedMember(i,r,e,n);case Mo.CallExpression:return a=[],o(t.arguments,function(t){a.push(s.recurse(t))}),t.filter&&(r=this.$filter(t.callee.name)),t.filter||(r=this.recurse(t.callee,!0)),t.filter?function(t,n,i,o){for(var s=[],u=0;u<a.length;++u)s.push(a[u](t,n,i,o));var l=r.apply(void 0,s,o);return e?{context:void 0,name:void 0,value:l}:l}:function(t,n,i,o){var s,u=r(t,n,i,o);if(null!=u.value){for(var l=[],c=0;c<a.length;++c)l.push(a[c](t,n,i,o));s=u.value.apply(u.context,l)}return e?{value:s}:s};case Mo.AssignmentExpression:return i=this.recurse(t.left,!0,1),r=this.recurse(t.right),function(t,n,o,a){var s=i(t,n,o,a),u=r(t,n,o,a);return s.context[s.name]=u,e?{value:u}:u};case Mo.ArrayExpression:return a=[],o(t.elements,function(t){a.push(s.recurse(t))}),function(t,n,i,r){for(var o=[],s=0;s<a.length;++s)o.push(a[s](t,n,i,r));return e?{value:o}:o};case Mo.ObjectExpression:return a=[],o(t.properties,function(t){t.computed?a.push({key:s.recurse(t.key),computed:!0,value:s.recurse(t.value)}):a.push({key:t.key.type===Mo.Identifier?t.key.name:""+t.key.value,computed:!1,value:s.recurse(t.value)})}),function(t,n,i,r){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(t,n,i,r)]=a[s].value(t,n,i,r):o[a[s].key]=a[s].value(t,n,i,r);return e?{value:o}:o};case Mo.ThisExpression:return function(t){return e?{value:t}:t};case Mo.LocalsExpression:return function(t,n){return e?{value:n}:n};case Mo.NGValueParameter:return function(t,n,i){return e?{value:i}:i}}},"unary+":function(t,e){return function(n,i,r,o){var a=t(n,i,r,o);return a=b(a)?+a:0,e?{value:a}:a}},"unary-":function(t,e){return function(n,i,r,o){var a=t(n,i,r,o);return a=b(a)?-a:-0,e?{value:a}:a}},"unary!":function(t,e){return function(n,i,r,o){var a=!t(n,i,r,o);return e?{value:a}:a}},"binary+":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a),u=e(i,r,o,a),l=ln(s,u);return n?{value:l}:l}},"binary-":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a),u=e(i,r,o,a),l=(b(s)?s:0)-(b(u)?u:0);return n?{value:l}:l}},"binary*":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)*e(i,r,o,a);return n?{value:s}:s}},"binary/":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)/e(i,r,o,a);return n?{value:s}:s}},"binary%":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)%e(i,r,o,a);return n?{value:s}:s}},"binary===":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)===e(i,r,o,a);return n?{value:s}:s}},"binary!==":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)!==e(i,r,o,a);return n?{value:s}:s}},"binary==":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)==e(i,r,o,a);return n?{value:s}:s}},"binary!=":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)!=e(i,r,o,a);return n?{value:s}:s}},"binary<":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)<e(i,r,o,a);return n?{value:s}:s}},"binary>":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)>e(i,r,o,a);return n?{value:s}:s}},"binary<=":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)<=e(i,r,o,a);return n?{value:s}:s}},"binary>=":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)>=e(i,r,o,a);return n?{value:s}:s}},"binary&&":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)&&e(i,r,o,a);return n?{value:s}:s}},"binary||":function(t,e,n){return function(i,r,o,a){var s=t(i,r,o,a)||e(i,r,o,a);return n?{value:s}:s}},"ternary?:":function(t,e,n,i){return function(r,o,a,s){var u=t(r,o,a,s)?e(r,o,a,s):n(r,o,a,s);return i?{value:u}:u}},value:function(t,e){return function(){return e?{context:void 0,name:void 0,value:t}:t}},identifier:function(t,e,n){return function(i,r,o,a){var s=r&&t in r?r:i;n&&1!==n&&s&&null==s[t]&&(s[t]={});var u=s?s[t]:void 0;return e?{context:s,name:t,value:u}:u}},computedMember:function(t,e,n,i){return function(r,o,a,s){var u,l,c=t(r,o,a,s);return null!=c&&(u=e(r,o,a,s),u=sn(u),i&&1!==i&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(t,e,n,i){return function(r,o,a,s){var u=t(r,o,a,s);i&&1!==i&&u&&null==u[e]&&(u[e]={});var l=null!=u?u[e]:void 0;return n?{context:u,name:e,value:l}:l}},inputs:function(t,e){return function(n,i,r,o){return o?o[e]:t(n,i,r)}}};var Po=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new Mo(t,n),this.astCompiler=n.csp?new $n(this.ast,e):new mn(this.ast,e)};Po.prototype={constructor:Po,parse:function(t){return this.astCompiler.compile(t)}};var Io=e("$sce"),Vo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Do=/_([a-z])/g,jo=e("$compile"),No=t.document.createElement("a"),qo=jn(t.location.href);Ln.$inject=["$document"],Hn.$inject=["$provide"];var Lo=22,Ro=".",Ho="0";Bn.$inject=["$locale"],Qn.$inject=["$locale"];var Fo={yyyy:Jn("FullYear",4,0,!1,!0),yy:Jn("FullYear",2,0,!0,!0),y:Jn("FullYear",1,0,!1,!0),MMMM:Kn("Month"),MMM:Kn("Month",!0),MM:Jn("Month",2,1),M:Jn("Month",1,1),LLLL:Kn("Month",!1,!0),dd:Jn("Date",2),d:Jn("Date",1),HH:Jn("Hours",2),H:Jn("Hours",1),hh:Jn("Hours",2,-12),h:Jn("Hours",1,-12),mm:Jn("Minutes",2),m:Jn("Minutes",1),ss:Jn("Seconds",2),s:Jn("Seconds",1),sss:Jn("Milliseconds",3),EEEE:Kn("Day"),EEE:Kn("Day",!0),a:ri,Z:ti,ww:ii(2),w:ii(1),G:oi,GG:oi,GGG:oi,GGGG:ai},zo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Wo=/^-?\d+$/;si.$inject=["$locale"];var Uo=m(Bi),Bo=m(Qi);di.$inject=["$parse"];var Qo=m({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ir.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),Xo={};o(Lr,function(t,e){function n(t,n,r){t.$watch(r[i],function(t){r.$set(e,!!t)})}if("multiple"!==t){var i=we("ng-"+e),r=n;"checked"===t&&(r=function(t,e,r){r.ngModel!==r[i]&&n(t,e,r)}),Xo[i]=function(){return{restrict:"A",priority:100,link:r}}}}),o(Hr,function(t,e){Xo[e]=function(){return{priority:100,link:function(t,n,i){if("ngPattern"===e&&"/"===i.ngPattern.charAt(0)){var r=i.ngPattern.match(/^\/(.+)\/([a-z]*)$/);if(r)return void i.$set("ngPattern",new RegExp(r[1],r[2]))}t.$watch(i[e],function(t){i.$set(e,t)})}}}}),o(["src","srcset","href"],function(t){var e=we("ng-"+t);Xo[e]=function(){return{priority:99,link:function(n,i,r){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===ir.call(i.prop("href"))&&(a="xlinkHref",r.$attr[a]="xlink:href",o=null),r.$observe(e,function(e){if(!e)return void("href"===t&&r.$set(a,null));r.$set(a,e),Gi&&o&&i.prop(o,r[a])})}}}});var Yo={$addControl:v,$$renameControl:hi,$removeControl:v,$setValidity:v,$setDirty:v,$setPristine:v,$setSubmitted:v},Go="ng-pending";pi.$inject=["$element","$attrs","$scope","$animate","$interpolate"],pi.prototype={$rollbackViewValue:function(){o(this.$$controls,function(t){t.$rollbackViewValue()})},$commitViewValue:function(){o(this.$$controls,function(t){t.$commitViewValue()})},$addControl:function(t){ht(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$$renameControl:function(t,e){var n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl:function(t){t.$name&&this[t.$name]===t&&delete this[t.$name],o(this.$pending,function(e,n){this.$setValidity(n,null,t)},this),o(this.$error,function(e,n){this.$setValidity(n,null,t)},this),o(this.$$success,function(e,n){this.$setValidity(n,null,t)},this),H(this.$$controls,t),t.$$parentForm=Yo},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ma),this.$$animate.addClass(this.$$element,Pa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ma,Pa+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,o(this.$$controls,function(t){t.$setPristine()})},$setUntouched:function(){o(this.$$controls,function(t){t.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},gi({clazz:pi,set:function(t,e,n){var i=t[e];if(i){-1===i.indexOf(n)&&i.push(n)}else t[e]=[n]},unset:function(t,e,n){var i=t[e];i&&(H(i,n),0===i.length&&delete t[e])}});var Zo=function(t){return["$timeout","$parse",function(e,n){function i(t){return""===t?n('this[""]').assign:n(t).assign||v}return{name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:pi,compile:function(n,r){n.addClass(Ma).addClass(Oa);var o=r.name?"name":!(!t||!r.ngForm)&&"ngForm";return{pre:function(t,n,r,a){var s=a[0];if(!("action"in r)){var u=function(e){t.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),e.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){e(function(){n[0].removeEventListener("submit",u)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var l=o?i(s.$name):v;o&&(l(t,s),r.$observe(o,function(e){s.$name!==e&&(l(t,void 0),s.$$parentForm.$$renameControl(s,e),(l=i(s.$name))(t,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),l(t,void 0),d(s,Yo)})}}}}}]},Jo=Zo(),Ko=Zo(!0),ta=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,ea=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,na=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ia=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,ra=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,oa=/^(\d{4,})-W(\d\d)$/,aa=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,sa="keydown wheel mousedown",ua=gt();o("date,datetime-local,month,time,week".split(","),function(t){ua[t]=!0});var la={text:yi,date:Ci("date",/^(\d{4,})-(\d{2})-(\d{2})$/,xi(/^(\d{4,})-(\d{2})-(\d{2})$/,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ci("datetimelocal",ra,xi(ra,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ci("time",aa,xi(aa,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ci("week",oa,wi,"yyyy-Www"),month:Ci("month",/^(\d{4,})-(\d\d)$/,xi(/^(\d{4,})-(\d\d)$/,["yyyy","MM"]),"yyyy-MM"),number:_i,url:Pi,email:Ii,radio:Vi,range:Mi,checkbox:ji,hidden:v,button:v,submit:v,reset:v,file:v},ca=["$browser","$sniffer","$filter","$parse",function(t,e,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(r,o,a,s){s[0]&&(la[Bi(a.type)]||la.text)(r,o,a,s[0],e,t,n,i)}}}}],da=/^(true|false|\d+)$/,fa=function(){function t(t,e,n){var i=b(n)?n:9===Gi?"":null;t.prop("value",i),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return da.test(n.ngValue)?function(e,n,i){t(n,i,e.$eval(i.ngValue))}:function(e,n,i){e.$watch(i.ngValue,function(e){t(n,i,e)})}}}},ha=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,i){t.$$addBindingInfo(n,i.ngBind),n=n[0],e.$watch(i.ngBind,function(t){n.textContent=mt(t)})}}}}],pa=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,i,r){var o=t(i.attr(r.$attr.ngBindTemplate));e.$$addBindingInfo(i,o.expressions),i=i[0],r.$observe("ngBindTemplate",function(t){i.textContent=y(t)?"":t})}}}}],va=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(i,r){var o=e(r.ngBindHtml),a=e(r.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(i),function(e,i,r){n.$$addBindingInfo(i,r.ngBindHtml),e.$watch(a,function(){var n=o(e);i.html(t.getTrustedHtml(n)||"")})}}}}],ga=m({restrict:"A",require:"ngModel",link:function(t,e,n,i){i.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),ma=Ni("",!0),$a=Ni("Odd",0),ya=Ni("Even",1),ba=fi({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),wa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],xa={},Ca={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=we("ng-"+t);xa[e]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(r,o){var a=n(o[e]);return function(e,n){n.on(t,function(n){var r=function(){a(e,{$event:n})};Ca[t]&&i.$$phase?e.$evalAsync(r):e.$apply(r)})}}}}]});var ka=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,r,o,a){var s,u,l;n.$watch(r.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=e.$$createComment("end ngIf",r.ngIf),s={clone:n},t.enter(n,i.parent(),i)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=vt(s.clone),t.leave(l).done(function(t){!1!==t&&(l=null)}),s=null))})}}}],Sa=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ar.noop,compile:function(i,r){var o=r.ngInclude||r.src,a=r.onload||"",s=r.autoscroll;return function(i,r,u,l,c){var d,f,h,p=0,v=function(){f&&(f.remove(),f=null),d&&(d.$destroy(),d=null),h&&(n.leave(h).done(function(t){!1!==t&&(f=null)}),f=h,h=null)};i.$watch(o,function(o){var u=function(t){!1===t||!b(s)||s&&!i.$eval(s)||e()},f=++p;o?(t(o,!0).then(function(t){if(!i.$$destroyed&&f===p){var e=i.$new();l.template=t;var s=c(e,function(t){v(),n.enter(t,null,r).done(u)});d=e,h=s,d.$emit("$includeContentLoaded",o),i.$eval(a)}},function(){i.$$destroyed||f===p&&(v(),i.$emit("$includeContentError",o))}),i.$emit("$includeContentRequested",o)):(v(),l.template=null)})}}}}],Ea=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,r,o){if(ir.call(i[0]).match(/SVG/))return i.empty(),void e(_t(o.template,t.document).childNodes)(n,function(t){i.append(t)},{futureParentElement:i});i.html(o.template),e(i.contents())(n)}}}],Ta=fi({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Aa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,i){var r=n.ngList||", ",a="false"!==n.ngTrim,s=a?dr(r):r,u=function(t){if(!y(t)){var e=[];return t&&o(t.split(s),function(t){t&&e.push(a?dr(t):t)}),e}};i.$parsers.push(u),i.$formatters.push(function(t){if(lr(t))return t.join(r)}),i.$isEmpty=function(t){return!t||!t.length}}}},Oa="ng-valid",_a="ng-invalid",Ma="ng-pristine",Pa="ng-dirty",Ia=e("ngModel");qi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],qi.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var t=this.$$parse(this.$$attr.ngModel+"()"),e=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(e){var n=this.$$parsedNgModel(e);return E(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){E(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw Ia("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,K(this.$$element))},$render:v,$isEmpty:function(t){return y(t)||""===t||null===t||t!==t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(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,Pa),this.$$animate.addClass(this.$$element,Ma)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ma),this.$$animate.addClass(this.$$element,Pa),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(!ur(this.$modelValue)){var t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,i=this.$modelValue,r=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(e,t,function(t){r||n===t||(o.$modelValue=t?e:void 0,o.$modelValue!==i&&o.$$writeModelToScope())})}},$$runValidators:function(t,e,n){function i(t,e){a===s.$$currentValidationRunId&&s.$setValidity(t,e)}function r(t){a===s.$$currentValidationRunId&&n(t)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;return function(){var t=s.$$parserName||"parse";return y(s.$$parserValid)?(i(t,null),!0):(s.$$parserValid||(o(s.$validators,function(t,e){i(e,null)}),o(s.$asyncValidators,function(t,e){i(e,null)})),i(t,s.$$parserValid),s.$$parserValid)}()&&function(){var n=!0;return o(s.$validators,function(r,o){var a=Boolean(r(t,e));n=n&&a,i(o,a)}),!!n||(o(s.$asyncValidators,function(t,e){i(e,null)}),!1)}()?void function(){var n=[],a=!0;o(s.$asyncValidators,function(r,o){var s=r(t,e);if(!V(s))throw Ia("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);i(o,void 0),n.push(s.then(function(){i(o,!0)},function(){a=!1,i(o,!1)}))}),n.length?s.$$q.all(n).then(function(){r(a)},v):r(!0)}():void r(!1)},$commitViewValue:function(){var t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function t(){i.$modelValue!==o&&i.$$writeModelToScope()}var e=this.$$lastCommittedViewValue,n=e,i=this;if(this.$$parserValid=!y(n)||void 0,this.$$parserValid)for(var r=0;r<this.$parsers.length;r++)if(n=this.$parsers[r](n),y(n)){this.$$parserValid=!1;break}ur(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var o=this.$modelValue,a=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,a&&(this.$modelValue=n,t()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(e){a||(i.$modelValue=e?n:void 0,t())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),o(this.$viewChangeListeners,function(t){try{t()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit:function(t){var e=this.$options.getOption("debounce");k(e[t])?e=e[t]:k(e.default)&&(e=e.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;e>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},e):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(t){this.$options=this.$options.createChild(t)}},gi({clazz:qi,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var Va,Da=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:qi,priority:1,compile:function(e){return e.addClass(Ma).addClass("ng-untouched").addClass(Oa),{pre:function(t,e,n,i){var r=i[0],o=i[1]||r.$$parentForm,a=i[2];a&&(r.$options=a.$options),r.$$initGetterSetters(),o.$addControl(r),n.$observe("name",function(t){r.$name!==t&&r.$$parentForm.$$renameControl(r,t)}),t.$on("$destroy",function(){r.$$parentForm.$removeControl(r)})},post:function(e,n,i,r){function o(){a.$setTouched()}var a=r[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(t){a.$$debounceViewValueCommit(t&&t.type)}),n.on("blur",function(){a.$touched||(t.$$phase?e.$evalAsync(o):e.$apply(o))})}}}}}];Ri.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return t=d({},t),o(t,function(n,i){"$inherit"===n?"*"===i?e=!0:(t[i]=this.$$options[i],"updateOn"===i&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===i&&(t.updateOnDefault=!1,t[i]=dr(n.replace(/(\s+|^)default(\s+|$)/,function(){return t.updateOnDefault=!0," "})))},this),e&&(delete t["*"],Hi(t,this.$$options)),Hi(t,Va.$$options),new Ri(t)}},Va=new Ri({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var ja=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:Va,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}},Na=fi({terminal:!0,priority:1e3}),qa=e("ngOptions"),La=/^\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]+?))?$/,Ra=["$compile","$document","$parse",function(e,n,i){function a(t,e,n){function o(t,e,n,i,r){this.selectValue=t,this.viewValue=e,this.label=n,this.group=i,this.disabled=r}function a(t){var e;if(!l&&r(t))e=t;else{e=[];for(var n in t)t.hasOwnProperty(n)&&"$"!==n.charAt(0)&&e.push(n)}return e}var s=t.match(La);if(!s)throw qa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,K(e));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],d=s[9],f=i(s[2]?s[1]:u),h=c&&i(c),p=h||f,v=d&&i(d),g=d?function(t,e){return v(n,e)}:function(t){return ne(t)},m=function(t,e){return g(t,C(t,e))},$=i(s[2]||s[1]),y=i(s[3]||""),b=i(s[4]||""),w=i(s[8]),x={},C=l?function(t,e){return x[l]=e,x[u]=t,x}:function(t){return x[u]=t,x};return{trackBy:d,getTrackByValue:m,getWatchables:i(w,function(t){var e=[];t=t||[];for(var i=a(t),r=i.length,o=0;o<r;o++){var u=t===i?o:i[o],l=t[u],c=C(l,u),d=g(l,c);if(e.push(d),s[2]||s[1]){var f=$(n,c);e.push(f)}if(s[4]){var h=b(n,c);e.push(h)}}return e}),getOptions:function(){for(var t=[],e={},i=w(n)||[],r=a(i),s=r.length,u=0;u<s;u++){var l=i===r?u:r[u],c=i[l],f=C(c,l),h=p(n,f),v=g(h,f),x=$(n,f),k=y(n,f),S=b(n,f),E=new o(v,h,x,k,S);t.push(E),e[v]=E}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[m(t)]},getViewValueFromOption:function(t){return d?F(t.viewValue):t.viewValue}}}}}function s(t,i,r,s){function c(t,e){var n=u.cloneNode(!1);e.appendChild(n),f(t,n)}function d(t){var e=x.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}function f(t,e){t.element=e,e.disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),e.value=t.selectValue}function h(){var t=x&&p.readValue();if(x)for(var e=x.items.length-1;e>=0;e--){var n=x.items[e];Qt(b(n.group)?n.element.parentNode:n.element)}x=C.getOptions();var r={};if(w&&i.prepend(p.emptyOption),x.items.forEach(function(t){var e;b(t.group)?(e=r[t.group],e||(e=l.cloneNode(!1),k.appendChild(e),e.label=null===t.group?"null":t.group,r[t.group]=e),c(t,e)):c(t,k)}),i[0].appendChild(k),v.$render(),!v.$isEmpty(t)){var o=p.readValue();(C.trackBy||g?z(t,o):t===o)||(v.$setViewValue(o),v.$render())}}for(var p=s[0],v=s[1],g=r.multiple,m=0,$=i.children(),y=$.length;m<y;m++)if(""===$[m].value){p.hasEmptyOption=!0,p.emptyOption=$.eq(m);break}var w=!!p.emptyOption;Zi(u.cloneNode(!1)).val("?");var x,C=a(r.ngOptions,i,t),k=n[0].createDocumentFragment();p.generateUnknownOptionValue=function(t){return"?"},g?(p.writeValue=function(t){var e=t&&t.map(d)||[];x.items.forEach(function(t){t.element.selected&&!R(e,t)&&(t.element.selected=!1)})},p.readValue=function(){var t=i.val()||[],e=[];return o(t,function(t){var n=x.selectValueMap[t];n&&!n.disabled&&e.push(x.getViewValueFromOption(n))}),e},C.trackBy&&t.$watchCollection(function(){if(lr(v.$viewValue))return v.$viewValue.map(function(t){return C.getTrackByValue(t)})},function(){v.$render()})):(p.writeValue=function(t){var e=x.selectValueMap[i.val()],n=x.getOptionFromViewValue(t);e&&e.element.removeAttribute("selected"),n?(i[0].value!==n.selectValue&&(p.removeUnknownOption(),p.unselectEmptyOption(),i[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):w?p.selectEmptyOption():p.unknownOption.parent().length?p.updateUnknownOption(t):p.renderUnknownOption(t)},p.readValue=function(){var t=x.selectValueMap[i.val()];return t&&!t.disabled?(p.unselectEmptyOption(),p.removeUnknownOption(),x.getViewValueFromOption(t)):null},C.trackBy&&t.$watch(function(){
  return C.getTrackByValue(v.$viewValue)},function(){v.$render()})),w&&(p.emptyOption.remove(),e(p.emptyOption)(t),p.emptyOption[0].nodeType===xr?(p.hasEmptyOption=!1,p.registerOption=function(t,e){""===e.val()&&(p.hasEmptyOption=!0,p.emptyOption=e,p.emptyOption.removeClass("ng-scope"),v.$render(),e.on("$destroy",function(){p.hasEmptyOption=!1,p.emptyOption=void 0}))}):p.emptyOption.removeClass("ng-scope")),i.empty(),h(),t.$watchCollection(C.getWatchables,h)}var u=t.document.createElement("option"),l=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,i){i[0].registerOption=v},post:s}}}],Ha=["$locale","$interpolate","$log",function(t,e,n){var i=/^when(Minus)?(.+)$/;return{link:function(r,a,s){function u(t){a.text(t||"")}var l,c=s.count,d=s.$attr.when&&a.attr(s.$attr.when),f=s.offset||0,h=r.$eval(d)||{},p={},g=e.startSymbol(),m=e.endSymbol(),$=g+c+"-"+f+m,b=ar.noop;o(s,function(t,e){var n=i.exec(e);if(n){var r=(n[1]?"-":"")+Bi(n[2]);h[r]=a.attr(s.$attr[e])}}),o(h,function(t,n){p[n]=e(t.replace(/{}/g,$))}),r.$watch(c,function(e){var i=parseFloat(e),o=ur(i);if(o||i in h||(i=t.pluralCat(i-f)),!(i===l||o&&ur(l))){b();var a=p[i];y(a)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+d),b=v,u()):b=r.$watch(a,u),l=i}})}}}],Fa=["$parse","$animate","$compile",function(t,n,i){var a=e("ngRepeat"),s=function(t,e,n,i,r,o,a){t[n]=i,r&&(t[r]=o),t.$index=e,t.$first=0===e,t.$last=e===a-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0==(1&e))},u=function(t){return t.clone[0]},l=function(t){return t.clone[t.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,c){var d=c.ngRepeat,f=i.$$createComment("end ngRepeat",d),h=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!h)throw a("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var p=h[1],v=h[2],g=h[3],m=h[4];if(!(h=p.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw a("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",p);var $=h[3]||h[1],y=h[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw a("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var b,w,x,C,k={$id:ne};return m?b=t(m):(x=function(t,e){return ne(e)},C=function(t){return t}),function(t,e,i,c,h){b&&(w=function(e,n,i){return y&&(k[y]=e),k[$]=n,k.$index=i,b(t,k)});var p=gt();t.$watchCollection(v,function(i){var c,v,m,b,k,S,E,T,A,O,_,M,P=e[0],I=gt();if(g&&(t[g]=i),r(i))A=i,T=w||x;else{T=w||C,A=[];for(var V in i)Wi.call(i,V)&&"$"!==V.charAt(0)&&A.push(V)}for(b=A.length,_=new Array(b),c=0;c<b;c++)if(k=i===A?c:A[c],S=i[k],E=T(k,S,c),p[E])O=p[E],delete p[E],I[E]=O,_[c]=O;else{if(I[E])throw o(_,function(t){t&&t.scope&&(p[t.id]=t)}),a("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,S);_[c]={id:E,scope:void 0,clone:void 0},I[E]=!0}for(var D in p){if(O=p[D],M=vt(O.clone),n.leave(M),M[0].parentNode)for(c=0,v=M.length;c<v;c++)M[c].$$NG_REMOVED=!0;O.scope.$destroy()}for(c=0;c<b;c++)if(k=i===A?c:A[c],S=i[k],O=_[c],O.scope){m=P;do{m=m.nextSibling}while(m&&m.$$NG_REMOVED);u(O)!==m&&n.move(vt(O.clone),null,P),P=l(O),s(O.scope,c,$,S,y,k,b)}else h(function(t,e){O.scope=e;var i=f.cloneNode(!1);t[t.length++]=i,n.enter(t,null,P),P=i,O.clone=t,I[O.id]=O,s(O.scope,c,$,S,y,k,b)});p=I})}}}}],za=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngShow,function(e){t[e?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Wa=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngHide,function(e){t[e?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Ua=fi(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&o(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),Ba=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,r,a){var s=r.ngSwitch||r.on,u=[],l=[],c=[],d=[],f=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};n.$watch(s,function(n){for(var i,r;c.length;)t.cancel(c.pop());for(i=0,r=d.length;i<r;++i){var s=vt(l[i].clone);d[i].$destroy();(c[i]=t.leave(s)).done(f(c,i))}l.length=0,d.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(u,function(n){n.transclude(function(i,r){d.push(r);var o=n.element;i[i.length++]=e.$$createComment("end ngSwitchWhen");var a={clone:i};l.push(a),t.enter(i,o.parent(),o)})})})}}}],Qa=fi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,r){o(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(t,e,n){return n[e-1]!==t}),function(t){i.cases["!"+t]=i.cases["!"+t]||[],i.cases["!"+t].push({transclude:r,element:e})})}}),Xa=fi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,r){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:r,element:e})}}),Ya=e("ngTransclude"),Ga=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var n=t(e.contents());return e.empty(),function(t,e,i,r,o){function a(t,n){t.length&&u(t)?e.append(t):(s(),n.$destroy())}function s(){n(t,function(t){e.append(t)})}function u(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];if(i.nodeType!==wr||i.nodeValue.trim())return!0}}if(!o)throw Ya("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",K(e));i.ngTransclude===i.$attr.ngTransclude&&(i.ngTransclude="");var l=i.ngTransclude||i.ngTranscludeSlot;o(a,null,l),l&&!o.isSlotFilled(l)&&s()}}}}],Za=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"===n.type){var i=n.id,r=e[0].text;t.put(i,r)}}}}],Ja={$setViewValue:v,$render:v},Ka=["$element","$scope",function(e,n){function i(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function r(t){u||(u=!0,n.$$postDigest(function(){n.$$destroyed||(u=!1,o.ngModelCtrl.$setViewValue(o.readValue()),t&&o.ngModelCtrl.$render())}))}var o=this,a=new zr;o.selectValueMap={},o.ngModelCtrl=Ja,o.multiple=!1,o.unknownOption=Zi(t.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(t){var n=o.generateUnknownOptionValue(t);o.unknownOption.val(n),e.prepend(o.unknownOption),Fi(o.unknownOption,!0),e.val(n)},o.updateUnknownOption=function(t){var n=o.generateUnknownOptionValue(t);o.unknownOption.val(n),Fi(o.unknownOption,!0),e.val(n)},o.generateUnknownOptionValue=function(t){return"? "+ne(t)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(e.val(""),Fi(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&o.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){o.renderUnknownOption=v}),o.readValue=function(){var t=e.val(),n=t in o.selectValueMap?o.selectValueMap[t]:t;return o.hasOption(n)?n:null},o.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];if(n&&Fi(Zi(n),!1),o.hasOption(t)){o.removeUnknownOption();var i=ne(t);e.val(i in o.selectValueMap?i:t);var r=e[0].options[e[0].selectedIndex];Fi(Zi(r),!0)}else null==t&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(t):o.renderUnknownOption(t)},o.addOption=function(t,e){if(e[0].nodeType!==xr){ht(t,'"option value"'),""===t&&(o.hasEmptyOption=!0,o.emptyOption=e);var n=a.get(t)||0;a.set(t,n+1),i()}},o.removeOption=function(t){var e=a.get(t);e&&(1===e?(a.delete(t),""===t&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):a.set(t,e-1))},o.hasOption=function(t){return!!a.get(t)};var s=!1,u=!1;o.registerOption=function(t,e,n,a,s){if(n.$attr.ngValue){var u,l=NaN;n.$observe("value",function(t){var n,i=e.prop("selected");b(l)&&(o.removeOption(u),delete o.selectValueMap[l],n=!0),l=ne(t),u=t,o.selectValueMap[l]=t,o.addOption(t,e),e.attr("value",l),n&&i&&r()})}else a?n.$observe("value",function(t){o.readValue();var n,i=e.prop("selected");b(u)&&(o.removeOption(u),n=!0),u=t,o.addOption(t,e),n&&i&&r()}):s?t.$watch(s,function(t,i){n.$set("value",t);var a=e.prop("selected");i!==t&&o.removeOption(i),o.addOption(t,e),i&&a&&r()}):o.addOption(n.value,e);n.$observe("disabled",function(t){("true"===t||t&&e.prop("selected"))&&(o.multiple?r(!0):(o.ngModelCtrl.$setViewValue(null),o.ngModelCtrl.$render()))}),e.on("$destroy",function(){var t=o.readValue(),e=n.value;o.removeOption(e),i(),(o.multiple&&t&&-1!==t.indexOf(e)||t===e)&&r(!0)})}}],ts=function(){function t(t,e,n,i){var r=i[0],a=i[1];if(!a)return void(r.registerOption=v);if(r.ngModelCtrl=a,e.on("change",function(){r.removeUnknownOption(),t.$apply(function(){a.$setViewValue(r.readValue())})}),n.multiple){r.multiple=!0,r.readValue=function(){var t=[];return o(e.find("option"),function(e){if(e.selected&&!e.disabled){var n=e.value;t.push(n in r.selectValueMap?r.selectValueMap[n]:n)}}),t},r.writeValue=function(t){o(e.find("option"),function(e){var n=!!t&&(R(t,e.value)||R(t,r.selectValueMap[e.value]));n!==e.selected&&Fi(Zi(e),n)})};var s,u=NaN;t.$watch(function(){u!==a.$viewValue||z(s,a.$viewValue)||(s=yt(a.$viewValue),a.$render()),u=a.$viewValue}),a.$isEmpty=function(t){return!t||0===t.length}}}function e(t,e,n,i){var r=i[1];if(r){var o=i[0];r.$render=function(){o.writeValue(r.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ka,priority:1,link:{pre:t,post:e}}},es=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var i,r;return b(n.ngValue)||(b(n.value)?i=t(n.value,!0):(r=t(e.text(),!0))||n.$set("value",e.text())),function(t,e,n){var o=e.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(t,e,n,i,r)}}}}],ns=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){i&&(n.required=!0,i.$validators.required=function(t,e){return!n.required||!i.$isEmpty(e)},n.$observe("required",function(){i.$validate()}))}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(t,n,i,r){if(r){var o,a=i.ngPattern||i.pattern;i.$observe("pattern",function(t){if(C(t)&&t.length>0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw e("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,t,K(n));o=t||void 0,r.$validate()}),r.$validators.pattern=function(t,e){return r.$isEmpty(e)||y(o)||o.test(e)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var r=-1;n.$observe("maxlength",function(t){var e=h(t);r=ur(e)?-1:e,i.$validate()}),i.$validators.maxlength=function(t,e){return r<0||i.$isEmpty(e)||e.length<=r}}}}},os=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var r=0;n.$observe("minlength",function(t){r=h(t)||0,i.$validate()}),i.$validators.minlength=function(t,e){return i.$isEmpty(e)||e.length>=r}}}}};if(t.angular.bootstrap)return void(t.console&&console.log("WARNING: Tried to load angular more than once."));!function(){var e;if(!yr){var n=pr();Ji=y(n)?t.jQuery:n?t[n]:void 0,Ji&&Ji.fn.on?(Zi=Ji,d(Ji.fn,{scope:qr.scope,isolateScope:qr.isolateScope,controller:qr.controller,injector:qr.injector,inheritedData:qr.inheritedData}),e=Ji.cleanData,Ji.cleanData=function(t){for(var n,i,r=0;null!=(i=t[r]);r++)(n=Ji._data(i,"events"))&&n.$destroy&&Ji(i).triggerHandler("$destroy");e(t)}):Zi=It,ar.element=Zi,yr=!0}}(),function(i){d(i,{errorHandlingConfig:n,bootstrap:st,copy:F,extend:d,merge:f,equals:z,element:Zi,forEach:o,injector:ue,noop:v,bind:B,toJson:X,fromJson:Y,identity:g,isUndefined:y,isDefined:b,isString:C,isFunction:E,isObject:w,isNumber:k,isElement:N,isArray:lr,version:Sr,isDate:S,lowercase:Bi,uppercase:Qi,callbacks:{$$counter:0},getTestability:lt,reloadWithDebugInfo:ut,$$minErr:e,$$csp:hr,$$encodeUriSegment:it,$$encodeUriQuery:rt,$$stringify:mt}),Ki=$t(t),Ki("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:En}),t.provider("$compile",ye).directive({a:Qo,input:ca,textarea:ca,form:Jo,script:Za,select:ts,option:es,ngBind:ha,ngBindHtml:va,ngBindTemplate:pa,ngClass:ma,ngClassEven:ya,ngClassOdd:$a,ngCloak:ba,ngController:wa,ngForm:Ko,ngHide:Wa,ngIf:ka,ngInclude:Sa,ngInit:Ta,ngNonBindable:Na,ngPluralize:Ha,ngRepeat:Fa,ngShow:za,ngStyle:Ua,ngSwitch:Ba,ngSwitchWhen:Qa,ngSwitchDefault:Xa,ngOptions:Ra,ngTransclude:Ga,ngModel:Da,ngList:Aa,ngChange:ga,pattern:is,ngPattern:is,required:ns,ngRequired:ns,minlength:os,ngMinlength:os,maxlength:rs,ngMaxlength:rs,ngValue:fa,ngModelOptions:ja}).directive({ngInclude:Ea}).directive(Xo).directive(xa),t.provider({$anchorScroll:le,$animate:eo,$animateCss:ro,$$animateJs:Kr,$$animateQueue:to,$$AnimateRunner:io,$$animateAsyncRun:no,$browser:ve,$cacheFactory:ge,$controller:Se,$document:Ee,$$isDocumentHidden:Te,$exceptionHandler:Ae,$filter:Hn,$$forceReflow:fo,$interpolate:Fe,$interval:ze,$http:qe,$httpParamSerializer:_e,$httpParamSerializerJQLike:Me,$httpBackend:Re,$xhrFactory:Le,$jsonpCallbacks:bo,$location:on,$log:an,$parse:bn,$rootScope:Sn,$q:wn,$$q:xn,$sce:Mn,$sceDelegate:_n,$sniffer:Pn,$templateCache:me,$templateRequest:In,$$testability:Vn,$timeout:Dn,$window:qn,$$rAF:kn,$$jqLite:ee,$$Map:Wr,$$cookieReader:Rn})}]).info({angularVersion:"1.6.3"})}(ar),ar.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return-1==e?0:t.length-e-1}function n(t,n){var i=n;void 0===i&&(i=Math.min(e(t),3));var r=Math.pow(10,i);return{v:i,f:(t*r|0)%r}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.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(t,e){var r=0|t,o=n(t,e);return 1==r&&0==o.v?i.ONE:i.OTHER}})}]),Zi(function(){at(t.document,st)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(t){function e(t,e){return"all"==e?t:t.filter(function(t){return-1!=e.toLowerCase().indexOf(t)})}var n="application/x-dnd",i="application/json",r="Text",o=["move","copy","link"];t.directive("dndDraggable",["$parse","$timeout",function(t,s){return function(u,l,c){l.attr("draggable","true"),c.dndDisableIf&&u.$watch(c.dndDisableIf,function(t){l.attr("draggable",!t)}),l.on("dragstart",function(d){if(d=d.originalEvent||d,"false"==l.attr("draggable"))return!0;a.isDragging=!0,a.itemType=c.dndType&&u.$eval(c.dndType).toLowerCase(),a.dropEffect="none",a.effectAllowed=c.dndEffectAllowed||o[0],d.dataTransfer.effectAllowed=a.effectAllowed;var f=u.$eval(c.dndDraggable),h=n+(a.itemType?"-"+a.itemType:"");try{d.dataTransfer.setData(h,angular.toJson(f))}catch(t){var p=angular.toJson({item:f,type:a.itemType});try{d.dataTransfer.setData(i,p)}catch(t){var v=e(o,a.effectAllowed);d.dataTransfer.effectAllowed=v[0],d.dataTransfer.setData(r,p)}}if(l.addClass("dndDragging"),s(function(){l.addClass("dndDraggingSource")},0),d._dndHandle&&d.dataTransfer.setDragImage&&d.dataTransfer.setDragImage(l[0],0,0),t(c.dndDragstart)(u,{event:d}),c.dndCallback){var g=t(c.dndCallback);a.callback=function(t){return g(u,t||{})}}d.stopPropagation()}),l.on("dragend",function(e){e=e.originalEvent||e,u.$apply(function(){var n=a.dropEffect;t(c[{copy:"dndCopied",link:"dndLinked",move:"dndMoved",none:"dndCanceled"}[n]])(u,{event:e}),t(c.dndDragend)(u,{event:e,dropEffect:n})}),a.isDragging=!1,a.callback=void 0,l.removeClass("dndDragging"),l.removeClass("dndDraggingSource"),e.stopPropagation(),s(function(){l.removeClass("dndDraggingSource")},0)}),l.on("click",function(e){c.dndSelected&&(e=e.originalEvent||e,u.$apply(function(){t(c.dndSelected)(u,{event:e})}),e.stopPropagation())}),l.on("selectstart",function(){this.dragDrop&&this.dragDrop()})}}]),t.directive("dndList",["$parse",function(t){return function(s,u,l){function c(t){if(!t)return r;for(var e=0;e<t.length;e++)if(t[e]==r||t[e]==i||t[e].substr(0,n.length)==n)return t[e];return null}function d(t){return a.isDragging?a.itemType||void 0:t==r||t==i?null:t&&t.substr(n.length+1)||void 0}function f(t){return!b.disabled&&(!(!b.externalSources&&!a.isDragging)&&(!b.allowedTypes||null===t||t&&-1!=b.allowedTypes.indexOf(t)))}function h(t,n){var i=o;return n||(i=e(i,t.dataTransfer.effectAllowed)),a.isDragging&&(i=e(i,a.effectAllowed)),l.dndEffectAllowed&&(i=e(i,l.dndEffectAllowed)),i.length?t.ctrlKey&&-1!=i.indexOf("copy")?"copy":t.altKey&&-1!=i.indexOf("link")?"link":i[0]:"none"}function p(){return m.remove(),u.removeClass("dndDragover"),!0}function v(e,n,i,r,o,u){return t(e)(s,{callback:a.callback,dropEffect:i,event:n,external:!a.isDragging,index:void 0!==o?o:g(),item:u||void 0,type:r})}function g(){return Array.prototype.indexOf.call(y.children,$)}var m=function(){var t;return angular.forEach(u.children(),function(e){var n=angular.element(e);n.hasClass("dndPlaceholder")&&(t=n)}),t||angular.element("<li class='dndPlaceholder'></li>")}();m.remove();var $=m[0],y=u[0],b={};u.on("dragenter",function(t){t=t.originalEvent||t;var e=l.dndAllowedTypes&&s.$eval(l.dndAllowedTypes);b={allowedTypes:angular.isArray(e)&&e.join("|").toLowerCase().split("|"),disabled:l.dndDisableIf&&s.$eval(l.dndDisableIf),externalSources:l.dndExternalSources&&s.$eval(l.dndExternalSources),horizontal:l.dndHorizontalList&&s.$eval(l.dndHorizontalList)};var n=c(t.dataTransfer.types);if(!n||!f(d(n)))return!0;t.preventDefault()}),u.on("dragover",function(t){t=t.originalEvent||t;var e=c(t.dataTransfer.types),n=d(e);if(!e||!f(n))return!0;if($.parentNode!=y&&u.append(m),t.target!=y){for(var i=t.target;i.parentNode!=y&&i.parentNode;)i=i.parentNode;if(i.parentNode==y&&i!=$){var o=i.getBoundingClientRect();if(b.horizontal)var a=t.clientX<o.left+o.width/2;else var a=t.clientY<o.top+o.height/2;y.insertBefore($,a?i:i.nextSibling)}}var s=e==r,g=h(t,s);return"none"==g?p():l.dndDragover&&!v(l.dndDragover,t,g,n)?p():(t.preventDefault(),s||(t.dataTransfer.dropEffect=g),u.addClass("dndDragover"),t.stopPropagation(),!1)}),u.on("drop",function(t){t=t.originalEvent||t;var e=c(t.dataTransfer.types),n=d(e);if(!e||!f(n))return!0;t.preventDefault();try{var o=JSON.parse(t.dataTransfer.getData(e))}catch(t){return p()}if((e==r||e==i)&&(n=o.type||void 0,o=o.item,!f(n)))return p();var u=e==r,m=h(t,u);if("none"==m)return p();var $=g();return l.dndDrop&&!(o=v(l.dndDrop,t,m,n,$,o))?p():(a.dropEffect=m,u||(t.dataTransfer.dropEffect=m),!0!==o&&s.$apply(function(){s.$eval(l.dndList).splice($,0,o)}),v(l.dndInserted,t,m,n,$,o),p(),t.stopPropagation(),!1)}),u.on("dragleave",function(t){t=t.originalEvent||t;var e=document.elementFromPoint(t.clientX,t.clientY);y.contains(e)&&!t._dndPhShown?t._dndPhShown=!0:p()})}}]),t.directive("dndNodrag",function(){return function(t,e,n){e.attr("draggable","true"),e.on("dragstart",function(t){t=t.originalEvent||t,t._dndHandle||(t.dataTransfer.types&&t.dataTransfer.types.length||t.preventDefault(),t.stopPropagation())}),e.on("dragend",function(t){t=t.originalEvent||t,t._dndHandle||t.stopPropagation()})}}),t.directive("dndHandle",function(){return function(t,e,n){e.attr("draggable","true"),e.on("dragstart dragend",function(t){t=t.originalEvent||t,t._dndHandle=!0})}});var a={}}(angular.module("dndLists",[])),void 0===jQuery){var jQuery;jQuery="function"==typeof require?$=require("jquery"):$}jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,n,i,r){return jQuery.easing[jQuery.easing.def](t,e,n,i,r)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(1-Math.pow(2,-10*e/r))+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(1==(e/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return-(s*Math.pow(2,10*(e-=1)))*Math.sin((e*r-o)*(2*Math.PI)/a)+n},easeOutElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(1==(e/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*e)*Math.sin((e*r-o)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(2==(e/=r/2))return n+i;if(a||(a=r*(.3*1.5)),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*(e/=r)*e*((o+1)*e-o)+n},easeOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*((e=e/r-1)*e*((o+1)*e+o)+1)+n},easeInOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),(e/=r/2)<1?i/2*(e*e*((1+(o*=1.525))*e-o))+n:i/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+n},easeInBounce:function(t,e,n,i,r){return i-jQuery.easing.easeOutBounce(t,r-e,0,i,r)+n},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?i*(7.5625*e*e)+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,i,r){return e<r/2?.5*jQuery.easing.easeInBounce(t,2*e,0,i,r)+n:.5*jQuery.easing.easeOutBounce(t,2*e-r,0,i,r)+.5*i+n}}),jQuery.extend(jQuery.easing,{easeInOutMaterial:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:i/4*((e-=2)*e*e+2)+n}}),jQuery.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(t){function e(t){var e=t.length,i=n.type(t);return"function"!==i&&!n.isWindow(t)&&(!(1!==t.nodeType||!e)||"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}if(!t.jQuery){var n=function(t,e){return new n.fn.init(t,e)};n.isWindow=function(t){return null!=t&&t==t.window},n.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?r[a.call(t)]||"object":typeof t},n.isArray=Array.isArray||function(t){return"array"===n.type(t)},n.isPlainObject=function(t){var e;if(!t||"object"!==n.type(t)||t.nodeType||n.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||o.call(t,e)},n.each=function(t,n,i){var r=0,o=t.length,a=e(t);if(i){if(a)for(;o>r&&!1!==n.apply(t[r],i);r++);else for(r in t)if(!1===n.apply(t[r],i))break}else if(a)for(;o>r&&!1!==n.call(t[r],r,t[r]);r++);else for(r in t)if(!1===n.call(t[r],r,t[r]))break;return t},n.data=function(t,e,r){if(void 0===r){var o=t[n.expando],a=o&&i[o];if(void 0===e)return a;if(a&&e in a)return a[e]}else if(void 0!==e){var o=t[n.expando]||(t[n.expando]=++n.uuid);return i[o]=i[o]||{},i[o][e]=r,r}},n.removeData=function(t,e){var r=t[n.expando],o=r&&i[r];o&&n.each(e,function(t,e){delete o[e]})},n.extend=function(){var t,e,i,r,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"!=typeof s&&"function"!==n.type(s)&&(s={}),u===l&&(s=this,u--);l>u;u++)if(null!=(o=arguments[u]))for(r in o)t=s[r],i=o[r],s!==i&&(c&&i&&(n.isPlainObject(i)||(e=n.isArray(i)))?(e?(e=!1,a=t&&n.isArray(t)?t:[]):a=t&&n.isPlainObject(t)?t:{},s[r]=n.extend(c,a,i)):void 0!==i&&(s[r]=i));return s},n.queue=function(t,i,r){if(t){i=(i||"fx")+"queue";var o=n.data(t,i);return r?(!o||n.isArray(r)?o=n.data(t,i,function(t,n){var i=n||[];return null!=t&&(e(Object(t))?function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(i,"string"==typeof t?[t]:t):[].push.call(i,t)),i}(r)):o.push(r),o):o||[]}},n.dequeue=function(t,e){n.each(t.nodeType?[t]:t,function(t,i){e=e||"fx";var r=n.queue(i,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(i,function(){n.dequeue(i,e)}))})},n.fn=n.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),i=this.offset(),r=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:n(t).offset();return i.top-=parseFloat(e.style.marginTop)||0,i.left-=parseFloat(e.style.marginLeft)||0,t.style&&(r.top+=parseFloat(t.style.borderTopWidth)||0,r.left+=parseFloat(t.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var i={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(var r={},o=r.hasOwnProperty,a=r.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<s.length;u++)r["[object "+s[u]+"]"]=s[u].toLowerCase();n.fn.init.prototype=n.fn,t.Velocity={Utilities:n}}}(window),function(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t():"function"==typeof define&&define.amd?define(t):t()}(function(){return function(t,e,n,i){function r(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}function o(t){return v.isWrapped(t)?t=[].slice.call(t):v.isNode(t)&&(t=[t]),t}function a(t){var e=f.data(t,"velocity");return null===e?i:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function u(t,n,i,r){function o(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function u(t,e,n){return((o(e,n)*t+a(e,n))*t+s(e))*t}function l(t,e,n){return 3*o(e,n)*t*t+2*a(e,n)*t+s(e)}function c(e,n){for(var r=0;v>r;++r){var o=l(n,t,i);if(0===o)return n;n-=(u(n,t,i)-e)/o}return n}function d(){for(var e=0;y>e;++e)C[e]=u(e*b,t,i)}function f(e,n,r){var o,a,s=0;do{a=n+(r-n)/2,o=u(a,t,i)-e,o>0?r=a:n=a}while(Math.abs(o)>m&&++s<$);return a}function h(e){for(var n=0,r=1,o=y-1;r!=o&&C[r]<=e;++r)n+=b;--r;var a=(e-C[r])/(C[r+1]-C[r]),s=n+a*b,u=l(s,t,i);return u>=g?c(e,s):0==u?s:f(e,n,n+b)}function p(){k=!0,(t!=n||i!=r)&&d()}var v=4,g=.001,m=1e-7,$=10,y=11,b=1/(y-1),w="Float32Array"in e;if(4!==arguments.length)return!1;for(var x=0;4>x;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0);var C=w?new Float32Array(y):new Array(y),k=!1,S=function(e){return k||p(),t===n&&i===r?e:0===e?0:1===e?1:u(h(e),n,r)};S.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]};var E="generateBezier("+[t,n,i,r]+")";return S.toString=function(){return E},S}function l(t,e){var n=t;return v.isString(t)?y.Easings[t]||(n=!1):n=v.isArray(t)&&1===t.length?s.apply(null,t):v.isArray(t)&&2===t.length?b.apply(null,t.concat([e])):!(!v.isArray(t)||4!==t.length)&&u.apply(null,t),!1===n&&(n=y.Easings[y.defaults.easing]?y.defaults.easing:$),n}function c(t){if(t){var e=(new Date).getTime(),n=y.State.calls.length;n>1e4&&(y.State.calls=r(y.State.calls));for(var o=0;n>o;o++)if(y.State.calls[o]){var s=y.State.calls[o],u=s[0],l=s[2],h=s[3],p=!!h,g=null;h||(h=y.State.calls[o][3]=e-16);for(var m=Math.min((e-h)/l.duration,1),$=0,b=u.length;b>$;$++){var x=u[$],k=x.element;if(a(k)){var S=!1;if(l.display!==i&&null!==l.display&&"none"!==l.display){if("flex"===l.display){var E=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];f.each(E,function(t,e){w.setPropertyValue(k,"display",e)})}w.setPropertyValue(k,"display",l.display)}l.visibility!==i&&"hidden"!==l.visibility&&w.setPropertyValue(k,"visibility",l.visibility);for(var T in x)if("element"!==T){var A,O=x[T],_=v.isString(O.easing)?y.Easings[O.easing]:O.easing;if(1===m)A=O.endValue;else{var M=O.endValue-O.startValue;if(A=O.startValue+M*_(m,l,M),!p&&A===O.currentValue)continue}if(O.currentValue=A,"tween"===T)g=A;else{if(w.Hooks.registered[T]){var P=w.Hooks.getRoot(T),I=a(k).rootPropertyValueCache[P];I&&(O.rootPropertyValue=I)}var V=w.setPropertyValue(k,T,O.currentValue+(0===parseFloat(A)?"":O.unitType),O.rootPropertyValue,O.scrollData);w.Hooks.registered[T]&&(a(k).rootPropertyValueCache[P]=w.Normalizations.registered[P]?w.Normalizations.registered[P]("extract",null,V[1]):V[1]),"transform"===V[0]&&(S=!0)}}l.mobileHA&&a(k).transformCache.translate3d===i&&(a(k).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&w.flushTransformCache(k)}}l.display!==i&&"none"!==l.display&&(y.State.calls[o][2].display=!1),l.visibility!==i&&"hidden"!==l.visibility&&(y.State.calls[o][2].visibility=!1),l.progress&&l.progress.call(s[1],s[1],m,Math.max(0,h+l.duration-e),h,g),1===m&&d(o)}}y.State.isTicking&&C(c)}function d(t,e){if(!y.State.calls[t])return!1;for(var n=y.State.calls[t][0],r=y.State.calls[t][1],o=y.State.calls[t][2],s=y.State.calls[t][4],u=!1,l=0,c=n.length;c>l;l++){var d=n[l].element;if(e||o.loop||("none"===o.display&&w.setPropertyValue(d,"display",o.display),"hidden"===o.visibility&&w.setPropertyValue(d,"visibility",o.visibility)),
  !0!==o.loop&&(f.queue(d)[1]===i||!/\.velocityQueueEntryFlag/i.test(f.queue(d)[1]))&&a(d)){a(d).isAnimating=!1,a(d).rootPropertyValueCache={};var h=!1;f.each(w.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=a(d).transformCache[e];a(d).transformCache[e]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(h=!0,delete a(d).transformCache[e])}),o.mobileHA&&(h=!0,delete a(d).transformCache.translate3d),h&&w.flushTransformCache(d),w.Values.removeClass(d,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===c-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}s&&!0!==o.loop&&s(r),a(d)&&!0===o.loop&&!e&&(f.each(a(d).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),y(d,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&f.dequeue(d,o.queue)}y.State.calls[t]=!1;for(var p=0,v=y.State.calls.length;v>p;p++)if(!1!==y.State.calls[p]){u=!0;break}!1===u&&(y.State.isTicking=!1,delete y.State.calls,y.State.calls=[])}var f,h=function(){if(n.documentMode)return n.documentMode;for(var t=7;t>4;t--){var e=n.createElement("div");if(e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t}return i}(),p=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),v={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==i&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},g=!1;if(t.fn&&t.fn.jquery?(f=t,g=!0):f=e.Velocity.Utilities,8>=h&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=h)return void(jQuery.fn.velocity=jQuery.fn.animate);var m=400,$="swing",y={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:m,easing:$,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){f.data(t,"velocity",{isSVG:v.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};e.pageYOffset!==i?(y.State.scrollAnchor=e,y.State.scrollPropertyLeft="pageXOffset",y.State.scrollPropertyTop="pageYOffset"):(y.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,y.State.scrollPropertyLeft="scrollLeft",y.State.scrollPropertyTop="scrollTop");var b=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),a=e(n,.5*i,o),s=e(n,i,a),u=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),l=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+u*i,n.v=n.v+l*i,n}return function t(e,i,r){var o,a,s,u={x:-1,v:0,tension:null,friction:null},l=[0],c=0;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,u.tension=e,u.friction=i,o=null!==r,o?(c=t(e,i),a=c/r*.016):a=.016;s=n(s||u,a),l.push(1+s.x),c+=16,Math.abs(s.x)>1e-4&&Math.abs(s.v)>1e-4;);return o?function(t){return l[t*(l.length-1)|0]}:c}}();y.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){y.Easings[e[0]]=u.apply(null,e[1])});var w=y.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<w.Lists.colors.length;t++){var e="color"===w.Lists.colors[t]?"0 0 0 1":"255 255 255 1";w.Hooks.templates[w.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(h)for(n in w.Hooks.templates){i=w.Hooks.templates[n],r=i[0].split(" ");var o=i[1].match(w.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),w.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in w.Hooks.templates){i=w.Hooks.templates[n],r=i[0].split(" ");for(var t in r){var a=n+r[t],s=t;w.Hooks.registered[a]=[n,s]}}},getRoot:function(t){var e=w.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return w.RegEx.valueUnwrap.test(e)&&(e=e.match(w.RegEx.valueUnwrap)[1]),w.Values.isCSSNullValue(e)&&(e=w.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=w.Hooks.registered[t];if(n){var i=n[0],r=n[1];return e=w.Hooks.cleanRootPropertyValue(i,e),e.toString().match(w.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=w.Hooks.registered[t];if(i){var r,o=i[0],a=i[1];return n=w.Hooks.cleanRootPropertyValue(o,n),r=n.toString().match(w.RegEx.valueSplit),r[a]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return w.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(w.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return y.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=h)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){9>=h||y.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase.concat(w.Lists.transforms3D));for(var t=0;t<w.Lists.transformsBase.length;t++)!function(){var e=w.Lists.transformsBase[t];w.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return a(n)===i||a(n).transformCache[e]===i?/^scale/i.test(e)?1:0:a(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":y.State.isAndroid&&a(n).transformCache[e]===i&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(a(n).transformCache[e]="("+r+")"),a(n).transformCache[e]}}}();for(var t=0;t<w.Lists.colors.length;t++)!function(){var e=w.Lists.colors[t];w.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return e;case"extract":var o;if(w.RegEx.wrappedValueAlreadyExtracted.test(r))o=r;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=s[r]!==i?s[r]:s.black:w.RegEx.isHex.test(r)?a="rgb("+w.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=s.black),o=(a||r).toString().match(w.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=h||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=h?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(8>=h?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||y.State.isAndroid&&!y.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(y.State.prefixMatches[t])return[y.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),v.isString(y.State.prefixElement.style[r]))return y.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,n,i){return e+e+n+n+i+i}),e=n.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,n,r,o){function s(t,n){function r(){l&&w.setPropertyValue(t,"display","none")}var u=0;if(8>=h)u=f.css(t,n);else{var l=!1;if(/^(width|height)$/.test(n)&&0===w.getPropertyValue(t,"display")&&(l=!0,w.setPropertyValue(t,"display",w.Values.getDisplayType(t))),!o){if("height"===n&&"border-box"!==w.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var c=t.offsetHeight-(parseFloat(w.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(w.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(w.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(w.getPropertyValue(t,"paddingBottom"))||0);return r(),c}if("width"===n&&"border-box"!==w.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetWidth-(parseFloat(w.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(w.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(w.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(w.getPropertyValue(t,"paddingRight"))||0);return r(),d}}var p;p=a(t)===i?e.getComputedStyle(t,null):a(t).computedStyle?a(t).computedStyle:a(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),u=9===h&&"filter"===n?p.getPropertyValue(n):p[n],(""===u||null===u)&&(u=t.style[n]),r()}if("auto"===u&&/^(top|right|bottom|left)$/i.test(n)){var v=s(t,"position");("fixed"===v||"absolute"===v&&/top|left/i.test(n))&&(u=f(t).position()[n]+"px")}return u}var u;if(w.Hooks.registered[n]){var l=n,c=w.Hooks.getRoot(l);r===i&&(r=w.getPropertyValue(t,w.Names.prefixCheck(c)[0])),w.Normalizations.registered[c]&&(r=w.Normalizations.registered[c]("extract",t,r)),u=w.Hooks.extractValue(l,r)}else if(w.Normalizations.registered[n]){var d,p;d=w.Normalizations.registered[n]("name",t),"transform"!==d&&(p=s(t,w.Names.prefixCheck(d)[0]),w.Values.isCSSNullValue(p)&&w.Hooks.templates[n]&&(p=w.Hooks.templates[n][1])),u=w.Normalizations.registered[n]("extract",t,p)}if(!/^[\d-]/.test(u))if(a(t)&&a(t).isSVG&&w.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{u=t.getBBox()[n]}catch(t){u=0}else u=t.getAttribute(n);else u=s(t,w.Names.prefixCheck(n)[0]);return w.Values.isCSSNullValue(u)&&(u=0),y.debug>=2&&console.log("Get "+n+": "+u),u},setPropertyValue:function(t,n,i,r,o){var s=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?e.scrollTo(i,o.alternateValue):e.scrollTo(o.alternateValue,i);else if(w.Normalizations.registered[n]&&"transform"===w.Normalizations.registered[n]("name",t))w.Normalizations.registered[n]("inject",t,i),s="transform",i=a(t).transformCache[n];else{if(w.Hooks.registered[n]){var u=n,l=w.Hooks.getRoot(n);r=r||w.getPropertyValue(t,l),i=w.Hooks.injectValue(u,i,r),n=l}if(w.Normalizations.registered[n]&&(i=w.Normalizations.registered[n]("inject",t,i),n=w.Normalizations.registered[n]("name",t)),s=w.Names.prefixCheck(n)[0],8>=h)try{t.style[s]=i}catch(t){y.debug&&console.log("Browser does not support ["+i+"] for ["+s+"]")}else a(t)&&a(t).isSVG&&w.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[s]=i;y.debug>=2&&console.log("Set "+n+" ("+s+"): "+i)}return[s,i]},flushTransformCache:function(t){function e(e){return parseFloat(w.getPropertyValue(t,e))}var n="";if((h||y.State.isAndroid&&!y.State.isChrome)&&a(t).isSVG){var i={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]};f.each(a(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),i[t]&&(n+=t+"("+i[t].join(" ")+") ",delete i[t])})}else{var r,o;f.each(a(t).transformCache,function(e){return r=a(t).transformCache[e],"transformPerspective"===e?(o=r,!0):(9===h&&"rotateZ"===e&&(e="rotate"),void(n+=e+r+" "))}),o&&(n="perspective"+o+" "+n)}w.setPropertyValue(t,"transform",n)}};w.Hooks.register(),w.Normalizations.register(),y.hook=function(t,e,n){var r=i;return t=o(t),f.each(t,function(t,o){if(a(o)===i&&y.init(o),n===i)r===i&&(r=y.CSS.getPropertyValue(o,e));else{var s=y.CSS.setPropertyValue(o,e,n);"transform"===s[0]&&y.CSS.flushTransformCache(o),r=s}}),r};var x=function(){function t(){return s?T.promise||null:u}function r(){function t(t){function d(t,e){var n=i,r=i,a=i;return v.isArray(t)?(n=t[0],!v.isArray(t[1])&&/^[\d-]/.test(t[1])||v.isFunction(t[1])||w.RegEx.isHex.test(t[1])?a=t[1]:(v.isString(t[1])&&!w.RegEx.isHex.test(t[1])||v.isArray(t[1]))&&(r=e?t[1]:l(t[1],s.duration),t[2]!==i&&(a=t[2]))):n=t,e||(r=r||s.easing),v.isFunction(n)&&(n=n.call(o,k,C)),v.isFunction(a)&&(a=a.call(o,k,C)),[n||0,r,a]}function h(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=w.Values.getUnitType(t)),[i,n]}if(s.begin&&0===k)try{s.begin.call(p,p)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===A){var m,b,x,S=/^x$/i.test(s.axis)?"Left":"Top",E=parseFloat(s.offset)||0;s.container?v.isWrapped(s.container)||v.isNode(s.container)?(s.container=s.container[0]||s.container,m=s.container["scroll"+S],x=m+f(o).position()[S.toLowerCase()]+E):s.container=null:(m=y.State.scrollAnchor[y.State["scrollProperty"+S]],b=y.State.scrollAnchor[y.State["scrollProperty"+("Left"===S?"Top":"Left")]],x=f(o).offset()[S.toLowerCase()]+E),u={scroll:{rootPropertyValue:!1,startValue:m,currentValue:m,endValue:x,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:S,alternateValue:b}},element:o},y.debug&&console.log("tweensContainer (scroll): ",u.scroll,o)}else if("reverse"===A){if(!a(o).tweensContainer)return void f.dequeue(o,s.queue);"none"===a(o).opts.display&&(a(o).opts.display="auto"),"hidden"===a(o).opts.visibility&&(a(o).opts.visibility="visible"),a(o).opts.loop=!1,a(o).opts.begin=null,a(o).opts.complete=null,$.easing||delete s.easing,$.duration||delete s.duration,s=f.extend({},a(o).opts,s);var O=f.extend(!0,{},a(o).tweensContainer);for(var _ in O)if("element"!==_){var M=O[_].startValue;O[_].startValue=O[_].currentValue=O[_].endValue,O[_].endValue=M,v.isEmptyObject($)||(O[_].easing=s.easing),y.debug&&console.log("reverse tweensContainer ("+_+"): "+JSON.stringify(O[_]),o)}u=O}else if("start"===A){var O;a(o).tweensContainer&&!0===a(o).isAnimating&&(O=a(o).tweensContainer),f.each(g,function(t,e){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(t)){var n=d(e,!0),r=n[0],o=n[1],a=n[2];if(w.RegEx.isHex.test(r)){for(var s=["Red","Green","Blue"],u=w.Values.hexToRgb(r),l=a?w.Values.hexToRgb(a):i,c=0;c<s.length;c++){var f=[u[c]];o&&f.push(o),l!==i&&f.push(l[c]),g[t+s[c]]=f}delete g[t]}}});for(var P in g){var I=d(g[P]),j=I[0],N=I[1],q=I[2];P=w.Names.camelCase(P);var L=w.Hooks.getRoot(P),R=!1;if(a(o).isSVG||"tween"===L||!1!==w.Names.prefixCheck(L)[1]||w.Normalizations.registered[L]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(P)&&!q&&0!==j&&(q=0),s._cacheValues&&O&&O[P]?(q===i&&(q=O[P].endValue+O[P].unitType),R=a(o).rootPropertyValueCache[L]):w.Hooks.registered[P]?q===i?(R=w.getPropertyValue(o,L),q=w.getPropertyValue(o,P,R)):R=w.Hooks.templates[L][1]:q===i&&(q=w.getPropertyValue(o,P));var H,F,z,W=!1;if(H=h(P,q),q=H[0],z=H[1],H=h(P,j),j=H[0].replace(/^([+-\/*])=/,function(t,e){return W=e,""}),F=H[1],q=parseFloat(q)||0,j=parseFloat(j)||0,"%"===F&&(/^(fontSize|lineHeight)$/.test(P)?(j/=100,F="em"):/^scale/.test(P)?(j/=100,F=""):/(Red|Green|Blue)$/i.test(P)&&(j=j/100*255,F="")),/[\/*]/.test(W))F=z;else if(z!==F&&0!==q)if(0===j)F=z;else{r=r||function(){var t={myParent:o.parentNode||n.body,position:w.getPropertyValue(o,"position"),fontSize:w.getPropertyValue(o,"fontSize")},i=t.position===V.lastPosition&&t.myParent===V.lastParent,r=t.fontSize===V.lastFontSize;V.lastParent=t.myParent,V.lastPosition=t.position,V.lastFontSize=t.fontSize;var s=100,u={};if(r&&i)u.emToPx=V.lastEmToPx,u.percentToPxWidth=V.lastPercentToPxWidth,u.percentToPxHeight=V.lastPercentToPxHeight;else{var l=a(o).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");y.init(l),t.myParent.appendChild(l),f.each(["overflow","overflowX","overflowY"],function(t,e){y.CSS.setPropertyValue(l,e,"hidden")}),y.CSS.setPropertyValue(l,"position",t.position),y.CSS.setPropertyValue(l,"fontSize",t.fontSize),y.CSS.setPropertyValue(l,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){y.CSS.setPropertyValue(l,e,s+"%")}),y.CSS.setPropertyValue(l,"paddingLeft",s+"em"),u.percentToPxWidth=V.lastPercentToPxWidth=(parseFloat(w.getPropertyValue(l,"width",null,!0))||1)/s,u.percentToPxHeight=V.lastPercentToPxHeight=(parseFloat(w.getPropertyValue(l,"height",null,!0))||1)/s,u.emToPx=V.lastEmToPx=(parseFloat(w.getPropertyValue(l,"paddingLeft"))||1)/s,t.myParent.removeChild(l)}return null===V.remToPx&&(V.remToPx=parseFloat(w.getPropertyValue(n.body,"fontSize"))||16),null===V.vwToPx&&(V.vwToPx=parseFloat(e.innerWidth)/100,V.vhToPx=parseFloat(e.innerHeight)/100),u.remToPx=V.remToPx,u.vwToPx=V.vwToPx,u.vhToPx=V.vhToPx,y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(u),o),u}();var U=/margin|padding|left|right|width|text|word|letter/i.test(P)||/X$/.test(P)||"x"===P?"x":"y";switch(z){case"%":q*="x"===U?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:q*=r[z+"ToPx"]}switch(F){case"%":q*=1/("x"===U?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:q*=1/r[F+"ToPx"]}}switch(W){case"+":j=q+j;break;case"-":j=q-j;break;case"*":j*=q;break;case"/":j=q/j}u[P]={rootPropertyValue:R,startValue:q,currentValue:q,endValue:j,unitType:F,easing:N},y.debug&&console.log("tweensContainer ("+P+"): "+JSON.stringify(u[P]),o)}else y.debug&&console.log("Skipping ["+L+"] due to a lack of browser support.")}u.element=o}u.element&&(w.Values.addClass(o,"velocity-animating"),D.push(u),""===s.queue&&(a(o).tweensContainer=u,a(o).opts=s),a(o).isAnimating=!0,k===C-1?(y.State.calls.push([D,p,s,null,T.resolver]),!1===y.State.isTicking&&(y.State.isTicking=!0,c())):k++)}var r,o=this,s=f.extend({},y.defaults,$),u={};switch(a(o)===i&&y.init(o),parseFloat(s.delay)&&!1!==s.queue&&f.queue(o,s.queue,function(t){y.velocityQueueEntryFlag=!0,a(o).delayTimer={setTimeout:setTimeout(t,parseFloat(s.delay)),next:t}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=m;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}!1!==y.mock&&(!0===y.mock?s.duration=s.delay=1:(s.duration*=parseFloat(y.mock)||1,s.delay*=parseFloat(y.mock)||1)),s.easing=l(s.easing,s.duration),s.begin&&!v.isFunction(s.begin)&&(s.begin=null),s.progress&&!v.isFunction(s.progress)&&(s.progress=null),s.complete&&!v.isFunction(s.complete)&&(s.complete=null),s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=y.CSS.Values.getDisplayType(o))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&y.State.isMobile&&!y.State.isGingerbread,!1===s.queue?s.delay?setTimeout(t,s.delay):t():f.queue(o,s.queue,function(e,n){return!0===n?(T.promise&&T.resolver(p),!0):(y.velocityQueueEntryFlag=!0,void t(e))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===f.queue(o)[0]||f.dequeue(o)}var s,u,h,p,g,$,b=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||v.isString(arguments[0].properties));if(v.isWrapped(this)?(s=!1,h=0,p=this,u=this):(s=!0,h=1,p=b?arguments[0].elements||arguments[0].e:arguments[0]),p=o(p)){b?(g=arguments[0].properties||arguments[0].p,$=arguments[0].options||arguments[0].o):(g=arguments[h],$=arguments[h+1]);var C=p.length,k=0;if(!/^(stop|finish)$/i.test(g)&&!f.isPlainObject($)){var S=h+1;$={};for(var E=S;E<arguments.length;E++)v.isArray(arguments[E])||!/^(fast|normal|slow)$/i.test(arguments[E])&&!/^\d/.test(arguments[E])?v.isString(arguments[E])||v.isArray(arguments[E])?$.easing=arguments[E]:v.isFunction(arguments[E])&&($.complete=arguments[E]):$.duration=arguments[E]}var T={promise:null,resolver:null,rejecter:null};s&&y.Promise&&(T.promise=new y.Promise(function(t,e){T.resolver=t,T.rejecter=e}));var A;switch(g){case"scroll":A="scroll";break;case"reverse":A="reverse";break;case"finish":case"stop":f.each(p,function(t,e){a(e)&&a(e).delayTimer&&(clearTimeout(a(e).delayTimer.setTimeout),a(e).delayTimer.next&&a(e).delayTimer.next(),delete a(e).delayTimer)});var O=[];return f.each(y.State.calls,function(t,e){e&&f.each(e[1],function(n,r){var o=$===i?"":$;return!0!==o&&e[2].queue!==o&&($!==i||!1!==e[2].queue)||void f.each(p,function(n,i){i===r&&((!0===$||v.isString($))&&(f.each(f.queue(i,v.isString($)?$:""),function(t,e){v.isFunction(e)&&e(null,!0)}),f.queue(i,v.isString($)?$:"",[])),"stop"===g?(a(i)&&a(i).tweensContainer&&!1!==o&&f.each(a(i).tweensContainer,function(t,e){e.endValue=e.currentValue}),O.push(t)):"finish"===g&&(e[2].duration=1))})})}),"stop"===g&&(f.each(O,function(t,e){d(e,!0)}),T.promise&&T.resolver(p)),t();default:if(!f.isPlainObject(g)||v.isEmptyObject(g)){if(v.isString(g)&&y.Redirects[g]){var _=f.extend({},$),M=_.duration,P=_.delay||0;return!0===_.backwards&&(p=f.extend(!0,[],p).reverse()),f.each(p,function(t,e){parseFloat(_.stagger)?_.delay=P+parseFloat(_.stagger)*t:v.isFunction(_.stagger)&&(_.delay=P+_.stagger.call(e,t,C)),_.drag&&(_.duration=parseFloat(M)||(/^(callout|transition)/.test(g)?1e3:m),_.duration=Math.max(_.duration*(_.backwards?1-t/C:(t+1)/C),.75*_.duration,200)),y.Redirects[g].call(e,e,_||{},t,C,p,T.promise?T:i)}),t()}var I="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return T.promise?T.rejecter(new Error(I)):console.log(I),t()}A="start"}var V={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},D=[];f.each(p,function(t,e){v.isNode(e)&&r.call(e)});var j,_=f.extend({},y.defaults,$);if(_.loop=parseInt(_.loop),j=2*_.loop-1,_.loop)for(var N=0;j>N;N++){var q={delay:_.delay,progress:_.progress};N===j-1&&(q.display=_.display,q.visibility=_.visibility,q.complete=_.complete),x(p,"reverse",q)}return t()}};y=f.extend(x,y),y.animate=x;var C=e.requestAnimationFrame||p;return y.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(C=function(t){return setTimeout(function(){t(!0)},16)},c()):C=e.requestAnimationFrame||p}),t.Velocity=y,t!==e&&(t.fn.velocity=x,t.fn.velocity.defaults=y.defaults),f.each(["Down","Up"],function(t,e){y.Redirects["slide"+e]=function(t,n,r,o,a,s){var u=f.extend({},n),l=u.begin,c=u.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},h={};u.display===i&&(u.display="Down"===e?"inline"===y.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),u.begin=function(){l&&l.call(a,a);for(var n in d){h[n]=t.style[n];var i=y.CSS.getPropertyValue(t,n);d[n]="Down"===e?[i,0]:[0,i]}h.overflow=t.style.overflow,t.style.overflow="hidden"},u.complete=function(){for(var e in h)t.style[e]=h[e];c&&c.call(a,a),s&&s.resolver(a)},y(t,d,u)}}),f.each(["In","Out"],function(t,e){y.Redirects["fade"+e]=function(t,n,r,o,a,s){var u=f.extend({},n),l={opacity:"In"===e?1:0},c=u.complete;u.complete=r!==o-1?u.begin=null:function(){c&&c.call(a,a),s&&s.resolver(a)},u.display===i&&(u.display="In"===e?"auto":"none"),y(this,l,u)}}),y}(window.jQuery||window.Zepto||window,window,document)})),function(t,e,n,i){"use strict";function r(t,e,n){return setTimeout(c(t,n),e)}function o(t,e,n){return!!Array.isArray(t)&&(a(t,n[e],n),!0)}function a(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==i)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function s(t,e,n){for(var r=Object.keys(e),o=0;o<r.length;)(!n||n&&t[r[o]]===i)&&(t[r[o]]=e[r[o]]),o++;return t}function u(t,e){return s(t,e,!0)}function l(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&s(i,n)}function c(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==ct?t.apply(e?e[0]||i:i,e):t}function f(t,e){return t===i?e:t}function h(t,e,n){a(m(e),function(e){t.addEventListener(e,n,!1)})}function p(t,e,n){a(m(e),function(e){t.removeEventListener(e,n,!1)})}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function g(t,e){return t.indexOf(e)>-1}function m(t){return t.trim().split(/\s+/g)}function $(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function y(t){return Array.prototype.slice.call(t,0)}function b(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];$(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function w(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),a=0;a<ut.length;){if(n=ut[a],(r=n?n+o:e)in t)return r;a++}return i}function x(){return pt++}function C(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function k(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){d(t.options.enable,[t])&&n.handler(e)},this.init()}function S(t){var e=t.options.inputClass;return new(e||(mt?L:$t?F:gt?W:q))(t,E)}function E(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&xt&&0==i-r,a=e&(kt|St)&&0==i-r;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,T(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function T(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=_(e)),r>1&&!n.firstMultiple?n.firstMultiple=_(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,u=e.center=M(i);e.timeStamp=ht(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=D(s,u),e.distance=V(s,u),A(n,e),e.offsetDirection=I(e.deltaX,e.deltaY),e.scale=a?N(a.pointers,i):1,e.rotation=a?j(a.pointers,i):0,O(n,e);var l=t.element;v(e.srcEvent.target,l)&&(l=e.srcEvent.target),e.target=l}function A(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};(e.eventType===xt||o.eventType===kt)&&(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function O(t,e){var n,r,o,a,s=t.lastInterval||e,u=e.timeStamp-s.timeStamp;if(e.eventType!=St&&(u>wt||s.velocity===i)){var l=s.deltaX-e.deltaX,c=s.deltaY-e.deltaY,d=P(u,l,c);r=d.x,o=d.y,n=ft(d.x)>ft(d.y)?d.x:d.y,a=I(l,c),t.lastInterval=e}else n=s.velocity,r=s.velocityX,o=s.velocityY,a=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=o,e.direction=a}function _(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:dt(t.pointers[n].clientX),clientY:dt(t.pointers[n].clientY)},n++;return{timeStamp:ht(),pointers:e,center:M(e),deltaX:t.deltaX,deltaY:t.deltaY}}function M(t){var e=t.length;if(1===e)return{x:dt(t[0].clientX),y:dt(t[0].clientY)};for(var n=0,i=0,r=0;e>r;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:dt(n/e),y:dt(i/e)}}function P(t,e,n){return{x:e/t||0,y:n/t||0}}function I(t,e){return t===e?Et:ft(t)>=ft(e)?t>0?Tt:At:e>0?Ot:_t}function V(t,e,n){n||(n=Vt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function D(t,e,n){n||(n=Vt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function j(t,e){return D(e[1],e[0],Dt)-D(t[1],t[0],Dt)}function N(t,e){return V(e[0],e[1],Dt)/V(t[0],t[1],Dt)}function q(){this.evEl=Nt,this.evWin=qt,this.allow=!0,this.pressed=!1,k.apply(this,arguments)}function L(){this.evEl=Ht,this.evWin=Ft,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function R(){this.evTarget=Wt,this.evWin=Ut,this.started=!1,k.apply(this,arguments)}function H(t,e){var n=y(t.touches),i=y(t.changedTouches);return e&(kt|St)&&(n=b(n.concat(i),"identifier",!0)),[n,i]}function F(){this.evTarget=Qt,this.targetIds={},k.apply(this,arguments)}function z(t,e){var n=y(t.touches),i=this.targetIds;if(e&(xt|Ct)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=y(t.changedTouches),s=[],u=this.target;if(o=n.filter(function(t){return v(t.target,u)}),e===xt)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),e&(kt|St)&&delete i[a[r].identifier],r++;return s.length?[b(o.concat(s),"identifier",!0),s]:void 0}function W(){
  k.apply(this,arguments);var t=c(this.handler,this);this.touch=new F(this.manager,t),this.mouse=new q(this.manager,t)}function U(t,e){this.manager=t,this.set(e)}function B(t){if(g(t,Kt))return Kt;var e=g(t,te),n=g(t,ee);return e&&n?te+" "+ee:e||n?e?te:ee:g(t,Jt)?Jt:Zt}function Q(t){this.id=x(),this.manager=null,this.options=u(t||{},this.defaults),this.options.enable=f(this.options.enable,!0),this.state=ne,this.simultaneous={},this.requireFail=[]}function X(t){return t&se?"cancel":t&oe?"end":t&re?"move":t&ie?"start":""}function Y(t){return t==_t?"down":t==Ot?"up":t==Tt?"left":t==At?"right":""}function G(t,e){var n=e.manager;return n?n.get(t):t}function Z(){Q.apply(this,arguments)}function J(){Z.apply(this,arguments),this.pX=null,this.pY=null}function K(){Z.apply(this,arguments)}function tt(){Q.apply(this,arguments),this._timer=null,this._input=null}function et(){Z.apply(this,arguments)}function nt(){Z.apply(this,arguments)}function it(){Q.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function rt(t,e){return e=e||{},e.recognizers=f(e.recognizers,rt.defaults.preset),new ot(t,e)}function ot(t,e){e=e||{},this.options=u(e,rt.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=S(this),this.touchAction=new U(this,this.options.touchAction),at(this,!0),a(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function at(t,e){var n=t.element;a(t.options.cssProps,function(t,i){n.style[w(n.style,i)]=e?t:""})}function st(t,n){var i=e.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=n,n.target.dispatchEvent(i)}var ut=["","webkit","moz","MS","ms","o"],lt=e.createElement("div"),ct="function",dt=Math.round,ft=Math.abs,ht=Date.now,pt=1,vt=/mobile|tablet|ip(ad|hone|od)|android/i,gt="ontouchstart"in t,mt=w(t,"PointerEvent")!==i,$t=gt&&vt.test(navigator.userAgent),yt="touch",bt="mouse",wt=25,xt=1,Ct=2,kt=4,St=8,Et=1,Tt=2,At=4,Ot=8,_t=16,Mt=Tt|At,Pt=Ot|_t,It=Mt|Pt,Vt=["x","y"],Dt=["clientX","clientY"];k.prototype={handler:function(){},init:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(C(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(C(this.element),this.evWin,this.domHandler)}};var jt={mousedown:xt,mousemove:Ct,mouseup:kt},Nt="mousedown",qt="mousemove mouseup";l(q,k,{handler:function(t){var e=jt[t.type];e&xt&&0===t.button&&(this.pressed=!0),e&Ct&&1!==t.which&&(e=kt),this.pressed&&this.allow&&(e&kt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:bt,srcEvent:t}))}});var Lt={pointerdown:xt,pointermove:Ct,pointerup:kt,pointercancel:St,pointerout:St},Rt={2:yt,3:"pen",4:bt,5:"kinect"},Ht="pointerdown",Ft="pointermove pointerup pointercancel";t.MSPointerEvent&&(Ht="MSPointerDown",Ft="MSPointerMove MSPointerUp MSPointerCancel"),l(L,k,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Lt[i],o=Rt[t.pointerType]||t.pointerType,a=o==yt,s=$(e,t.pointerId,"pointerId");r&xt&&(0===t.button||a)?0>s&&(e.push(t),s=e.length-1):r&(kt|St)&&(n=!0),0>s||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var zt={touchstart:xt,touchmove:Ct,touchend:kt,touchcancel:St},Wt="touchstart",Ut="touchstart touchmove touchend touchcancel";l(R,k,{handler:function(t){var e=zt[t.type];if(e===xt&&(this.started=!0),this.started){var n=H.call(this,t,e);e&(kt|St)&&0==n[0].length-n[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:yt,srcEvent:t})}}});var Bt={touchstart:xt,touchmove:Ct,touchend:kt,touchcancel:St},Qt="touchstart touchmove touchend touchcancel";l(F,k,{handler:function(t){var e=Bt[t.type],n=z.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:yt,srcEvent:t})}}),l(W,k,{handler:function(t,e,n){var i=n.pointerType==yt,r=n.pointerType==bt;if(i)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(kt|St)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Xt=w(lt.style,"touchAction"),Yt=Xt!==i,Gt="compute",Zt="auto",Jt="manipulation",Kt="none",te="pan-x",ee="pan-y";U.prototype={set:function(t){t==Gt&&(t=this.compute()),Yt&&(this.manager.element.style[Xt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return a(this.manager.recognizers,function(e){d(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),B(t.join(" "))},preventDefaults:function(t){if(!Yt){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=g(i,Kt),o=g(i,ee),a=g(i,te);return r||o&&n&Mt||a&&n&Pt?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ne=1,ie=2,re=4,oe=8,ae=oe,se=16;Q.prototype={defaults:{},set:function(t){return s(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=G(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)?this:(t=G(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return t=G(t,this),-1===$(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=G(t,this);var e=$(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(n.options.event+(e?X(i):""),t)}var n=this,i=this.state;oe>i&&e(!0),e(),i>=oe&&e(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|ne)))return!1;t++}return!0},recognize:function(t){var e=s({},t);return d(this.options.enable,[this,e])?(this.state&(ae|se|32)&&(this.state=ne),this.state=this.process(e),void(this.state&(ie|re|oe|se)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(){},getTouchAction:function(){},reset:function(){}},l(Z,Q,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(ie|re),r=this.attrTest(t);return i&&(n&St||!r)?e|se:i||r?n&kt?e|oe:e&ie?e|re:ie:32}}),l(J,Z,{defaults:{event:"pan",threshold:10,pointers:1,direction:It},getTouchAction:function(){var t=this.options.direction,e=[];return t&Mt&&e.push(ee),t&Pt&&e.push(te),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&Mt?(r=0===o?Et:0>o?Tt:At,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?Et:0>a?Ot:_t,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return Z.prototype.attrTest.call(this,t)&&(this.state&ie||!(this.state&ie)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Y(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),l(K,Z,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Kt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&ie)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),l(tt,Q,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[Zt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(kt|St)&&!o)this.reset();else if(t.eventType&xt)this.reset(),this._timer=r(function(){this.state=ae,this.tryEmit()},e.time,this);else if(t.eventType&kt)return ae;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ae&&(t&&t.eventType&kt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=ht(),this.manager.emit(this.options.event,this._input)))}}),l(et,Z,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Kt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&ie)}}),l(nt,Z,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:Mt|Pt,pointers:1},getTouchAction:function(){return J.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Mt|Pt)?e=t.velocity:n&Mt?e=t.velocityX:n&Pt&&(e=t.velocityY),this._super.attrTest.call(this,t)&&n&t.direction&&t.distance>this.options.threshold&&ft(e)>this.options.velocity&&t.eventType&kt},emit:function(t){var e=Y(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),l(it,Q,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[Jt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&xt&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=kt)return this.failTimeout();var a=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||V(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,s&&a?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=r(function(){this.state=ae,this.tryEmit()},e.interval,this),ie):ae}return 32},failTimeout:function(){return this._timer=r(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ae&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),rt.VERSION="2.0.4",rt.defaults={domEvents:!1,touchAction:Gt,enable:!0,inputTarget:null,inputClass:null,preset:[[et,{enable:!1}],[K,{enable:!1},["rotate"]],[nt,{direction:Mt}],[J,{direction:Mt},["swipe"]],[it],[it,{event:"doubletap",taps:2},["tap"]],[tt]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};ot.prototype={set:function(t){return s(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ae)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(ie|re|oe)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Q)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice($(e,t),1),this.touchAction.update(),this},on:function(t,e){var n=this.handlers;return a(m(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return a(m(t),function(t){e?n[t].splice($(n[t],e),1):delete n[t]}),this},emit:function(t,e){this.options.domEvents&&st(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&at(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},s(rt,{INPUT_START:xt,INPUT_MOVE:Ct,INPUT_END:kt,INPUT_CANCEL:St,STATE_POSSIBLE:ne,STATE_BEGAN:ie,STATE_CHANGED:re,STATE_ENDED:oe,STATE_RECOGNIZED:ae,STATE_CANCELLED:se,STATE_FAILED:32,DIRECTION_NONE:Et,DIRECTION_LEFT:Tt,DIRECTION_RIGHT:At,DIRECTION_UP:Ot,DIRECTION_DOWN:_t,DIRECTION_HORIZONTAL:Mt,DIRECTION_VERTICAL:Pt,DIRECTION_ALL:It,Manager:ot,Input:k,TouchAction:U,TouchInput:F,MouseInput:q,PointerEventInput:L,TouchMouseInput:W,SingleTouchInput:R,Recognizer:Q,AttrRecognizer:Z,Tap:it,Pan:J,Swipe:nt,Pinch:K,Rotate:et,Press:tt,on:h,off:p,each:a,merge:u,extend:s,inherit:l,bindFn:c,prefixed:w}),typeof define==ct&&define.amd?define(function(){return rt}):"undefined"!=typeof module&&module.exports?module.exports=rt:t.Hammer=rt}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery","hammerjs"],t):"object"==typeof exports?t(require("jquery"),require("hammerjs")):t(jQuery,Hammer)}(function(t,e){function n(n,i){var r=t(n);r.data("hammer")||r.data("hammer",new e(r[0],i))}t.fn.hammer=function(t){return this.each(function(){n(this,t)})},e.Manager.prototype.emit=function(e){return function(n,i){e.call(this,n,i),t(this.element).trigger({type:n,gesture:i})}}(e.Manager.prototype.emit)}),function(t){t.Package?Materialize={}:t.Materialize={}}(window),function(t){for(var e=0,n=["webkit","moz"],i=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=n.length;--o>=0&&!i;)i=t[n[o]+"RequestAnimationFrame"],r=t[n[o]+"CancelRequestAnimationFrame"];i&&r||(i=function(t){var n=+Date.now(),i=Math.max(e+16,n);return setTimeout(function(){t(e=i)},i-n)},r=clearTimeout),t.requestAnimationFrame=i,t.cancelAnimationFrame=r}(window),Materialize.objectSelectorString=function(t){return((t.prop("tagName")||"")+(t.attr("id")||"")+(t.attr("class")||"")).replace(/\s/g,"")},Materialize.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),Materialize.escapeHash=function(t){return t.replace(/(:|\.|\[|\]|,|=)/g,"\\$1")},Materialize.elementOrParentIsFixed=function(t){var e=$(t),n=e.add(e.parents()),i=!1;return n.each(function(){if("fixed"===$(this).css("position"))return i=!0,!1}),i};var getTime=Date.now||function(){return(new Date).getTime()};Materialize.throttle=function(t,e,n){var i,r,o,a=null,s=0;n||(n={});var u=function(){s=!1===n.leading?0:getTime(),a=null,o=t.apply(i,r),i=r=null};return function(){var l=getTime();s||!1!==n.leading||(s=l);var c=e-(l-s);return i=this,r=arguments,c<=0?(clearTimeout(a),a=null,s=l,o=t.apply(i,r),i=r=null):a||!1===n.trailing||(a=setTimeout(u,c)),o}};var Vel;Vel=jQuery?jQuery.Velocity:$?$.Velocity:Velocity,function(t){t.fn.collapsible=function(e,n){var i={accordion:void 0,onOpen:void 0,onClose:void 0},r=e;return e=t.extend(i,e),this.each(function(){function i(e){d=c.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),d.not(e).removeClass("active").parent().removeClass("active"),d.not(e).parent().children(".collapsible-body").stop(!0,!1).each(function(){t(this).is(":visible")&&t(this).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height",""),s(t(this).siblings(".collapsible-header"))}})})}function o(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function a(t){t.toggleClass("active"),e.accordion||"accordion"===f||void 0===f?i(t):o(t),s(t)}function s(t){t.hasClass("active")?"function"==typeof e.onOpen&&e.onOpen.call(this,t.parent()):"function"==typeof e.onClose&&e.onClose.call(this,t.parent())}function u(t){return l(t).length>0}function l(t){return t.closest("li > .collapsible-header")}var c=t(this),d=t(this).find("> li > .collapsible-header"),f=c.data("collapsible");if(n>=0&&n<d.length){var h=d.eq(n);return void(h.length&&("open"===r||"close"===r&&h.hasClass("active"))&&a(h))}c.off("click.collapse","> li > .collapsible-header"),d.off("click.collapse"),c.on("click.collapse","> li > .collapsible-header",function(e){var n=t(e.target);u(n)&&(n=l(n)),a(n)}),e.accordion||"accordion"===f||void 0===f?a(d.filter(".active").first()):d.filter(".active").each(function(){a(t(this))})})},t(document).ready(function(){t(".collapsible").collapsible()})}(jQuery),function(t){t.fn.scrollTo=function(e){return t(this).scrollTop(t(this).scrollTop()-t(this).offset().top+t(e).offset().top),this},t.fn.dropdown=function(e){var n={inDuration:300,outDuration:225,constrainWidth:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left",stopPropagation:!1};return"open"===e?(this.each(function(){t(this).trigger("open")}),!1):"close"===e?(this.each(function(){t(this).trigger("close")}),!1):void this.each(function(){function i(){void 0!==a.data("induration")&&(s.inDuration=a.data("induration")),void 0!==a.data("outduration")&&(s.outDuration=a.data("outduration")),void 0!==a.data("constrainwidth")&&(s.constrainWidth=a.data("constrainwidth")),void 0!==a.data("hover")&&(s.hover=a.data("hover")),void 0!==a.data("gutter")&&(s.gutter=a.data("gutter")),void 0!==a.data("beloworigin")&&(s.belowOrigin=a.data("beloworigin")),void 0!==a.data("alignment")&&(s.alignment=a.data("alignment")),void 0!==a.data("stoppropagation")&&(s.stopPropagation=a.data("stoppropagation"))}function r(e){"focus"===e&&(u=!0),i(),l.addClass("active"),a.addClass("active"),!0===s.constrainWidth?l.css("width",a.outerWidth()):l.css("white-space","nowrap");var n=window.innerHeight,r=a.innerHeight(),c=a.offset().left,d=a.offset().top-t(window).scrollTop(),f=s.alignment,h=0,p=0,v=0;!0===s.belowOrigin&&(v=r);var g=0,m=0,$=a.parent();if($.is("body")||($[0].scrollHeight>$[0].clientHeight&&(g=$[0].scrollTop),$[0].scrollWidth>$[0].clientWidth&&(m=$[0].scrollLeft)),c+l.innerWidth()>t(window).width()?f="right":c-l.innerWidth()+a.innerWidth()<0&&(f="left"),d+l.innerHeight()>n)if(d+r-l.innerHeight()<0){var y=n-d-v;l.css("max-height",y)}else v||(v+=r),v-=l.innerHeight();if("left"===f)h=s.gutter,p=a.position().left+h;else if("right"===f){var b=a.position().left+a.outerWidth()-l.outerWidth();h=-s.gutter,p=b+h}l.css({position:"absolute",top:a.position().top+v+g,left:p+m}),l.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:s.inDuration,easing:"easeOutCubic",complete:function(){t(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:s.inDuration,easing:"easeOutSine"}),t(document).bind("click."+l.attr("id")+" touchstart."+l.attr("id"),function(e){l.is(e.target)||a.is(e.target)||l.find(e.target).length||(o(),t(document).unbind("click."+l.attr("id")+" touchstart."+l.attr("id")))})}function o(){u=!1,l.fadeOut(s.outDuration),l.removeClass("active"),a.removeClass("active"),t(document).unbind("click."+l.attr("id")+" touchstart."+l.attr("id")),setTimeout(function(){l.css("max-height","")},s.outDuration)}var a=t(this),s=t.extend({},n,e),u=!1,l=t("#"+a.attr("data-activates"));if(i(),a.after(l),s.hover){var c=!1;a.unbind("click."+a.attr("id")),a.on("mouseenter",function(t){!1===c&&(r(),c=!0)}),a.on("mouseleave",function(e){var n=e.toElement||e.relatedTarget;t(n).closest(".dropdown-content").is(l)||(l.stop(!0,!0),o(),c=!1)}),l.on("mouseleave",function(e){var n=e.toElement||e.relatedTarget;t(n).closest(".dropdown-button").is(a)||(l.stop(!0,!0),o(),c=!1)})}else a.unbind("click."+a.attr("id")),a.bind("click."+a.attr("id"),function(e){u||(a[0]!=e.currentTarget||a.hasClass("active")||0!==t(e.target).closest(".dropdown-content").length?a.hasClass("active")&&(o(),t(document).unbind("click."+l.attr("id")+" touchstart."+l.attr("id"))):(e.preventDefault(),s.stopPropagation&&e.stopPropagation(),r("click")))});a.on("open",function(t,e){r(e)}),a.on("close",o)})},t(document).ready(function(){t(".dropdown-button").dropdown()})}(jQuery),function(t){var e=0,n=0,i=function(){return"materialize-modal-overlay-"+ ++n},r={init:function(n){var r={opacity:.5,inDuration:350,outDuration:250,ready:void 0,complete:void 0,dismissible:!0,startingTop:"4%",endingTop:"10%"};return n=t.extend(r,n),this.each(function(){var r=t(this),o=t(this).attr("id")||"#"+t(this).data("target"),a=function(){var i=r.data("overlay-id"),o=t("#"+i);r.removeClass("open"),t("body").css({overflow:"",width:""}),r.find(".modal-close").off("click.close"),t(document).off("keyup.modal"+i),o.velocity({opacity:0},{duration:n.outDuration,queue:!1,ease:"easeOutQuart"});var a={duration:n.outDuration,queue:!1,ease:"easeOutCubic",complete:function(){t(this).css({display:"none"}),"function"==typeof n.complete&&n.complete.call(this,r),o.remove(),e--}};r.hasClass("bottom-sheet")?r.velocity({bottom:"-100%",opacity:0},a):r.velocity({top:n.startingTop,opacity:0,scaleX:.7},a)},s=function(o){var s=t("body"),u=s.innerWidth();if(s.css("overflow","hidden"),s.width(u),!r.hasClass("open")){var l=i(),c=t('<div class="modal-overlay"></div>');lStack=++e,c.attr("id",l).css("z-index",1e3+2*lStack),r.data("overlay-id",l).css("z-index",1e3+2*lStack+1),r.addClass("open"),t("body").append(c),n.dismissible&&(c.click(function(){a()}),t(document).on("keyup.modal"+l,function(t){27===t.keyCode&&a()})),r.find(".modal-close").on("click.close",function(t){a()}),c.css({display:"block",opacity:0}),r.css({display:"block",opacity:0}),c.velocity({opacity:n.opacity},{duration:n.inDuration,queue:!1,ease:"easeOutCubic"}),r.data("associated-overlay",c[0]);var d={duration:n.inDuration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof n.ready&&n.ready.call(this,r,o)}};r.hasClass("bottom-sheet")?r.velocity({bottom:"0",opacity:1},d):(t.Velocity.hook(r,"scaleX",.7),r.css({top:n.startingTop}),r.velocity({top:n.endingTop,opacity:1,scaleX:"1"},d))}};t(document).off("click.modalTrigger",'a[href="#'+o+'"], [data-target="'+o+'"]'),t(this).off("openModal"),t(this).off("closeModal"),t(document).on("click.modalTrigger",'a[href="#'+o+'"], [data-target="'+o+'"]',function(e){n.startingTop=(t(this).offset().top-t(window).scrollTop())/1.15,s(t(this)),e.preventDefault()}),t(this).on("openModal",function(){t(this).attr("href")||t(this).data("target"),s()}),t(this).on("closeModal",function(){a()})})},open:function(){t(this).trigger("openModal")},close:function(){t(this).trigger("closeModal")}};t.fn.modal=function(e){return r[e]?r[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.modal"):r.init.apply(this,arguments)}}(jQuery),function(t){t.fn.materialbox=function(){return this.each(function(){function e(){o=!1;var e=u.parent(".material-placeholder"),i=(window.innerWidth,window.innerHeight,u.data("width")),a=u.data("height");u.velocity("stop",!0),t("#materialbox-overlay").velocity("stop",!0),t(".materialbox-caption").velocity("stop",!0),t("#materialbox-overlay").velocity({opacity:0},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){r=!1,t(this).remove()}}),u.velocity({width:i,height:a,left:0,top:0},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){e.css({height:"",width:"",position:"",top:"",left:""}),u.removeAttr("style"),u.attr("style",c),u.removeClass("active"),o=!0,n&&n.css("overflow","")}}),t(".materialbox-caption").velocity({opacity:0},{duration:s,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}if(!t(this).hasClass("initialized")){t(this).addClass("initialized");var n,i,r=!1,o=!0,a=275,s=200,u=t(this),l=t("<div></div>").addClass("material-placeholder"),c=u.attr("style");u.wrap(l),u.on("click",function(){var s=u.parent(".material-placeholder"),l=window.innerWidth,c=window.innerHeight,d=u.width(),f=u.height();if(!1===o)return e(),!1;if(r&&!0===o)return e(),!1;for(o=!1,u.addClass("active"),r=!0,s.css({width:s[0].getBoundingClientRect().width,height:s[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),n=void 0,i=s[0].parentNode;null!==i&&!t(i).is(document);){var h=t(i);"visible"!==h.css("overflow")&&(h.css("overflow","visible"),n=void 0===n?h:n.add(h)),i=i.parentNode}u.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}).data("width",d).data("height",f);var p=t('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===o&&e()});u.before(p);var v=p[0].getBoundingClientRect();if(p.css({width:l,height:c,left:-1*v.left,top:-1*v.top}),p.velocity({opacity:1},{duration:a,queue:!1,easing:"easeOutQuad"}),""!==u.data("caption")){var g=t('<div class="materialbox-caption"></div>');g.text(u.data("caption")),t("body").append(g),g.css({display:"inline"}),g.velocity({opacity:1},{duration:a,queue:!1,easing:"easeOutQuad"})}var m=0,$=d/l,y=f/c,b=0,w=0;$>y?(m=f/d,b=.9*l,w=.9*l*m):(m=d/f,b=.9*c*m,w=.9*c),u.hasClass("responsive-img")?u.velocity({"max-width":b,width:d},{duration:0,queue:!1,complete:function(){u.css({left:0,top:0}).velocity({height:w,width:b,left:t(document).scrollLeft()+l/2-u.parent(".material-placeholder").offset().left-b/2,top:t(document).scrollTop()+c/2-u.parent(".material-placeholder").offset().top-w/2},{duration:a,queue:!1,easing:"easeOutQuad",complete:function(){o=!0}})}}):u.css("left",0).css("top",0).velocity({height:w,width:b,left:t(document).scrollLeft()+l/2-u.parent(".material-placeholder").offset().left-b/2,top:t(document).scrollTop()+c/2-u.parent(".material-placeholder").offset().top-w/2},{duration:a,queue:!1,easing:"easeOutQuad",complete:function(){o=!0}})}),t(window).scroll(function(){r&&e()}),t(document).keyup(function(t){27===t.keyCode&&!0===o&&r&&e()})}})},t(document).ready(function(){t(".materialboxed").materialbox()})}(jQuery),function(t){t.fn.parallax=function(){var e=t(window).width();return this.each(function(n){function i(n){var i;i=e<601?r.height()>0?r.height():r.children("img").height():r.height()>0?r.height():500;var o=r.children("img").first(),a=o.height(),s=a-i,u=r.offset().top+i,l=r.offset().top,c=t(window).scrollTop(),d=window.innerHeight,f=c+d,h=(f-l)/(i+d),p=Math.round(s*h);n&&o.css("display","block"),u>c&&l<c+d&&o.css("transform","translate3D(-50%,"+p+"px, 0)")}var r=t(this);r.addClass("parallax"),r.children("img").one("load",function(){i(!0)}).each(function(){this.complete&&t(this).trigger("load")}),t(window).scroll(function(){e=t(window).width(),i(!1)}),t(window).resize(function(){e=t(window).width(),i(!1)})})}}(jQuery),function(t){var e={init:function(e){var n={onShow:null,swipeable:!1,responsiveThreshold:1/0};return e=t.extend(n,e),this.each(function(){var n,i,r,o,a,s=t(this),u=t(window).width(),l=s.find("li.tab a"),c=s.width(),d=t(),f=Math.max(c,s[0].scrollWidth)/l.length,h=prev_index=0,p=!1,v=300,g=function(t){return c-t.position().left-t.outerWidth()-s.scrollLeft()},m=function(t){return t.position().left+s.scrollLeft()},$=function(t){h-t>=0?(o.velocity({right:g(n)},{duration:v,queue:!1,easing:"easeOutQuad"}),o.velocity({left:m(n)},{duration:v,queue:!1,easing:"easeOutQuad",delay:90})):(o.velocity({left:m(n)},{duration:v,queue:!1,easing:"easeOutQuad"}),o.velocity({right:g(n)},{duration:v,queue:!1,easing:"easeOutQuad",delay:90}))};e.swipeable&&u>e.responsiveThreshold&&(e.swipeable=!1),n=t(l.filter('[href="'+location.hash+'"]')),0===n.length&&(n=t(this).find("li.tab a.active").first()),0===n.length&&(n=t(this).find("li.tab a").first()),n.addClass("active"),h=l.index(n),h<0&&(h=0),void 0!==n[0]&&(i=t(n[0].hash),i.addClass("active")),s.find(".indicator").length||s.append('<div class="indicator"></div>'),o=s.find(".indicator"),s.append(o),s.is(":visible")&&setTimeout(function(){o.css({right:g(n)}),o.css({left:m(n)})},0),t(window).off("resize.tabs").on("resize.tabs",function(){c=s.width(),f=Math.max(c,s[0].scrollWidth)/l.length,h<0&&(h=0),0!==f&&0!==c&&(o.css({right:g(n)}),o.css({left:m(n)}))}),e.swipeable?(l.each(function(){var e=t(Materialize.escapeHash(this.hash));e.addClass("carousel-item"),d=d.add(e)}),r=d.wrapAll('<div class="tabs-content carousel"></div>'),d.css("display",""),t(".tabs-content.carousel").carousel({fullWidth:!0,noWrap:!0,onCycleTo:function(t){if(!p){var e=h;h=r.index(t),n=l.eq(h),$(e)}}})):l.not(n).each(function(){t(Materialize.escapeHash(this.hash)).hide()}),s.off("click.tabs").on("click.tabs","a",function(r){if(t(this).parent().hasClass("disabled"))return void r.preventDefault();if(!t(this).attr("target")){p=!0,c=s.width(),f=Math.max(c,s[0].scrollWidth)/l.length,n.removeClass("active");var o=i;n=t(this),i=t(Materialize.escapeHash(this.hash)),l=s.find("li.tab a"),n.position(),n.addClass("active"),prev_index=h,h=l.index(t(this)),h<0&&(h=0),e.swipeable?d.length&&d.carousel("set",h):(void 0!==i&&(i.show(),i.addClass("active"),"function"==typeof e.onShow&&e.onShow.call(this,i)),void 0===o||o.is(i)||(o.hide(),o.removeClass("active"))),a=setTimeout(function(){p=!1},v),$(prev_index),r.preventDefault()}})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};t.fn.tabs=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.tabs"):e.init.apply(this,arguments)},t(document).ready(function(){t("ul.tabs").tabs()})}(jQuery),function(t){t.fn.tooltip=function(n){var i={delay:350,tooltip:"",position:"bottom",html:!1};return"remove"===n?(this.each(function(){t("#"+t(this).attr("data-tooltip-id")).remove(),t(this).off("mouseenter.tooltip mouseleave.tooltip")}),!1):(n=t.extend(i,n),this.each(function(){var i=Materialize.guid(),r=t(this);r.attr("data-tooltip-id")&&t("#"+r.attr("data-tooltip-id")).remove(),r.attr("data-tooltip-id",i);var o,a,s,u,l,c,d=function(){o=r.attr("data-html")?"true"===r.attr("data-html"):n.html,a=r.attr("data-delay"),a=void 0===a||""===a?n.delay:a,s=r.attr("data-position"),s=void 0===s||""===s?n.position:s,u=r.attr("data-tooltip"),u=void 0===u||""===u?n.tooltip:u};d();l=function(){var e=t('<div class="material-tooltip"></div>');return u=o?t("<span></span>").html(u):t("<span></span>").text(u),e.append(u).appendTo(t("body")).attr("id",i),c=t('<div class="backdrop"></div>'),c.appendTo(e),e}(),r.off("mouseenter.tooltip mouseleave.tooltip");var f,h=!1;r.on({"mouseenter.tooltip":function(t){var n=function(){d(),h=!0,l.velocity("stop"),c.velocity("stop"),l.css({visibility:"visible",left:"0px",top:"0px"});var t,n,i,o=r.outerWidth(),a=r.outerHeight(),u=l.outerHeight(),f=l.outerWidth(),p="0px",v="0px",g=c[0].offsetWidth,m=c[0].offsetHeight,$=8,y=8,b=0;"top"===s?(t=r.offset().top-u-5,n=r.offset().left+o/2-f/2,i=e(n,t,f,u),p="-10px",c.css({bottom:0,left:0,borderRadius:"14px 14px 0 0",transformOrigin:"50% 100%",marginTop:u,marginLeft:f/2-g/2})):"left"===s?(t=r.offset().top+a/2-u/2,n=r.offset().left-f-5,i=e(n,t,f,u),v="-10px",c.css({top:"-7px",right:0,width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:u/2,marginLeft:f})):"right"===s?(t=r.offset().top+a/2-u/2,n=r.offset().left+o+5,i=e(n,t,f,u),v="+10px",c.css({top:"-7px",left:0,width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:u/2,marginLeft:"0px"
  })):(t=r.offset().top+r.outerHeight()+5,n=r.offset().left+o/2-f/2,i=e(n,t,f,u),p="+10px",c.css({top:0,left:0,marginLeft:f/2-g/2})),l.css({top:i.y,left:i.x}),$=Math.SQRT2*f/parseInt(g),y=Math.SQRT2*u/parseInt(m),b=Math.max($,y),l.velocity({translateY:p,translateX:v},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),c.css({visibility:"visible"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scaleX:b,scaleY:b},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})};f=setTimeout(n,a)},"mouseleave.tooltip":function(){h=!1,clearTimeout(f),setTimeout(function(){!0!==h&&(l.velocity({opacity:0,translateY:0,translateX:0},{duration:225,queue:!1}),c.velocity({opacity:0,scaleX:1,scaleY:1},{duration:225,queue:!1,complete:function(){c.css({visibility:"hidden"}),l.css({visibility:"hidden"}),h=!1}}))},225)}})}))};var e=function(e,n,i,r){var o=e,a=n;return o<0?o=4:o+i>window.innerWidth&&(o-=o+i-window.innerWidth),a<0?a=4:a+r>window.innerHeight+t(window).scrollTop&&(a-=a+r-window.innerHeight),{x:o,y:a}};t(document).ready(function(){t(".tooltipped").tooltip()})}(jQuery),function(t){"use strict";function e(t){return null!==t&&t===t.window}function n(t){return e(t)?t:9===t.nodeType&&t.defaultView}function i(t){var e,i,r={top:0,left:0},o=t&&t.ownerDocument;return e=o.documentElement,void 0!==t.getBoundingClientRect&&(r=t.getBoundingClientRect()),i=n(o),{top:r.top+i.pageYOffset-e.clientTop,left:r.left+i.pageXOffset-e.clientLeft}}function r(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}function o(t){if(!1===c.allowEvent(t))return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentElement;){if(!(n instanceof SVGElement||-1===n.className.indexOf("waves-effect"))){e=n;break}if(n.classList.contains("waves-effect")){e=n;break}n=n.parentElement}return e}function a(e){var n=o(e);null!==n&&(l.show(e,n),"ontouchstart"in t&&(n.addEventListener("touchend",l.hide,!1),n.addEventListener("touchcancel",l.hide,!1)),n.addEventListener("mouseup",l.hide,!1),n.addEventListener("mouseleave",l.hide,!1))}var s=s||{},u=document.querySelectorAll.bind(document),l={duration:750,show:function(t,e){if(2===t.button)return!1;var n=e||this,o=document.createElement("div");o.className="waves-ripple",n.appendChild(o);var a=i(n),s=t.pageY-a.top,u=t.pageX-a.left,c="scale("+n.clientWidth/100*10+")";"touches"in t&&(s=t.touches[0].pageY-a.top,u=t.touches[0].pageX-a.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",c),o.setAttribute("data-x",u),o.setAttribute("data-y",s);var d={top:s+"px",left:u+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",r(d)),o.className=o.className.replace("waves-notransition",""),d["-webkit-transform"]=c,d["-moz-transform"]=c,d["-ms-transform"]=c,d["-o-transform"]=c,d.transform=c,d.opacity="1",d["-webkit-transition-duration"]=l.duration+"ms",d["-moz-transition-duration"]=l.duration+"ms",d["-o-transition-duration"]=l.duration+"ms",d["transition-duration"]=l.duration+"ms",d["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",d["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",r(d))},hide:function(t){c.touchup(t);var e=this,n=(e.clientWidth,null),i=e.getElementsByClassName("waves-ripple");if(!(i.length>0))return!1;n=i[i.length-1];var o=n.getAttribute("data-x"),a=n.getAttribute("data-y"),s=n.getAttribute("data-scale"),u=Date.now()-Number(n.getAttribute("data-hold")),d=350-u;d<0&&(d=0),setTimeout(function(){var t={top:a+"px",left:o+"px",opacity:"0","-webkit-transition-duration":l.duration+"ms","-moz-transition-duration":l.duration+"ms","-o-transition-duration":l.duration+"ms","transition-duration":l.duration+"ms","-webkit-transform":s,"-moz-transform":s,"-ms-transform":s,"-o-transform":s,transform:s};n.setAttribute("style",r(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},l.duration)},d)},wrapInput:function(t){for(var e=0;e<t.length;e++){var n=t[e];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&-1!==i.className.indexOf("waves-effect"))continue;var r=document.createElement("i");r.className=n.className+" waves-input-wrapper";var o=n.getAttribute("style");o||(o=""),r.setAttribute("style",o),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(r,n),r.appendChild(n)}}}},c={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?c.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){c.touches>0&&(c.touches-=1)},500):"mousedown"===t.type&&c.touches>0&&(e=!1),e},touchup:function(t){c.allowEvent(t)}};s.displayEffect=function(e){e=e||{},"duration"in e&&(l.duration=e.duration),l.wrapInput(u(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",a,!1),document.body.addEventListener("mousedown",a,!1)},s.attach=function(e){"input"===e.tagName.toLowerCase()&&(l.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",a,!1),e.addEventListener("mousedown",a,!1)},t.Waves=s,document.addEventListener("DOMContentLoaded",function(){s.displayEffect()},!1)}(window),Materialize.toast=function(t,e,n,i){n=n||"";var r=document.getElementById("toast-container");null===r&&(r=document.createElement("div"),r.id="toast-container",document.body.appendChild(r));var o=function(t){var e=document.createElement("div");if(e.classList.add("toast"),n)for(var r=n.split(" "),o=0,a=r.length;o<a;o++)e.classList.add(r[o]);("object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)?e.appendChild(t):t instanceof jQuery?e.appendChild(t[0]):e.innerHTML=t;var s=new Hammer(e,{prevent_default:!1});return s.on("pan",function(t){var n=t.deltaX;e.classList.contains("panning")||e.classList.add("panning");var i=1-Math.abs(n/80);i<0&&(i=0),Vel(e,{left:n,opacity:i},{duration:50,queue:!1,easing:"easeOutQuad"})}),s.on("panend",function(t){var n=t.deltaX;Math.abs(n)>80?Vel(e,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof i&&i(),e.parentNode.removeChild(e)}}):(e.classList.remove("panning"),Vel(e,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),e}(t);t&&r.appendChild(o),o.style.opacity=0,Vel(o,{translateY:"-35px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var a,s=e;null!=s&&(a=setInterval(function(){null===o.parentNode&&window.clearInterval(a),o.classList.contains("panning")||(s-=20),s<=0&&(Vel(o,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof i&&i(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(a))},20))},function(t){var e={init:function(e){var n={menuWidth:300,edge:"left",closeOnClick:!1,draggable:!0};e=t.extend(n,e),t(this).each(function(){var n=t(this),i=n.attr("data-activates"),r=t("#"+i);300!=e.menuWidth&&r.css("width",e.menuWidth);var o=t('.drag-target[data-sidenav="'+i+'"]');e.draggable?(o.length&&o.remove(),o=t('<div class="drag-target"></div>').attr("data-sidenav",i),t("body").append(o)):o=t(),"left"==e.edge?(r.css("transform","translateX(-100%)"),o.css({left:0})):(r.addClass("right-aligned").css("transform","translateX(100%)"),o.css({right:0})),r.hasClass("fixed")&&window.innerWidth>992&&r.css("transform","translateX(0)"),r.hasClass("fixed")&&t(window).resize(function(){window.innerWidth>992?0!==t("#sidenav-overlay").length&&u?a(!0):r.css("transform","translateX(0%)"):!1===u&&("left"===e.edge?r.css("transform","translateX(-100%)"):r.css("transform","translateX(100%)"))}),!0===e.closeOnClick&&r.on("click.itemclick","a:not(.collapsible-header)",function(){a()});var a=function(n){s=!1,u=!1,t("body").css({overflow:"",width:""}),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),"left"===e.edge?(o.css({width:"",right:"",left:"0"}),r.velocity({translateX:"-100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===n&&(r.removeAttr("style"),r.css("width",e.menuWidth))}})):(o.css({width:"",right:"0",left:""}),r.velocity({translateX:"100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===n&&(r.removeAttr("style"),r.css("width",e.menuWidth))}}))},s=!1,u=!1;e.draggable&&(o.on("click",function(){u&&a()}),o.hammer({prevent_default:!1}).bind("pan",function(n){if("touch"==n.gesture.pointerType){var i=(n.gesture.direction,n.gesture.center.x),o=(n.gesture.center.y,n.gesture.velocityX,t("body")),s=t("#sidenav-overlay"),l=o.innerWidth();if(o.css("overflow","hidden"),o.width(l),0===s.length&&(s=t('<div id="sidenav-overlay"></div>'),s.css("opacity",0).click(function(){a()}),t("body").append(s)),"left"===e.edge&&(i>e.menuWidth?i=e.menuWidth:i<0&&(i=0)),"left"===e.edge)i<e.menuWidth/2?u=!1:i>=e.menuWidth/2&&(u=!0),r.css("transform","translateX("+(i-e.menuWidth)+"px)");else{i<window.innerWidth-e.menuWidth/2?u=!0:i>=window.innerWidth-e.menuWidth/2&&(u=!1);var c=i-e.menuWidth/2;c<0&&(c=0),r.css("transform","translateX("+c+"px)")}var d;"left"===e.edge?(d=i/e.menuWidth,s.velocity({opacity:d},{duration:10,queue:!1,easing:"easeOutQuad"})):(d=Math.abs((i-window.innerWidth)/e.menuWidth),s.velocity({opacity:d},{duration:10,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(n){if("touch"==n.gesture.pointerType){var i=t("#sidenav-overlay"),a=n.gesture.velocityX,l=n.gesture.center.x,c=l-e.menuWidth,d=l-e.menuWidth/2;c>0&&(c=0),d<0&&(d=0),s=!1,"left"===e.edge?u&&a<=.3||a<-.5?(0!==c&&r.velocity({translateX:[0,c]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:0,left:""}),u=!0):(!u||a>.3)&&(t("body").css({overflow:"",width:""}),r.velocity({translateX:[-1*e.menuWidth-10,c]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:"",left:0})):u&&a>=-.3||a>.5?(0!==d&&r.velocity({translateX:[0,d]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:"",left:0}),u=!0):(!u||a<-.3)&&(t("body").css({overflow:"",width:""}),r.velocity({translateX:[e.menuWidth+10,d]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:0,left:""}))}})),n.off("click.sidenav").on("click.sidenav",function(){if(!0===u)u=!1,s=!1,a();else{var n=t("body"),i=t('<div id="sidenav-overlay"></div>'),l=n.innerWidth();n.css("overflow","hidden"),n.width(l),t("body").append(o),"left"===e.edge?(o.css({width:"50%",right:0,left:""}),r.velocity({translateX:[0,-1*e.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})):(o.css({width:"50%",right:"",left:0}),r.velocity({translateX:[0,e.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})),i.css("opacity",0).click(function(){u=!1,s=!1,a(),i.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}),t("body").append(i),i.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){u=!0,s=!1}})}return!1})})},destroy:function(){var e=t("#sidenav-overlay"),n=t('.drag-target[data-sidenav="'+t(this).attr("data-activates")+'"]');e.trigger("click"),n.remove(),t(this).off("click"),e.remove()},show:function(){this.trigger("click")},hide:function(){t("#sidenav-overlay").trigger("click")}};t.fn.sideNav=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sideNav"):e.init.apply(this,arguments)}}(jQuery),function(t){function e(e,n,i,r){var a=t();return t.each(o,function(t,o){if(o.height()>0){var s=o.offset().top,u=o.offset().left,l=u+o.width(),c=s+o.height();!(u>n||l<r||s>i||c<e)&&a.push(o)}}),a}function n(n){++u;var i=r.scrollTop(),o=r.scrollLeft(),s=o+r.width(),c=i+r.height(),d=e(i+l.top+n||200,s+l.right,c+l.bottom,o+l.left);t.each(d,function(t,e){"number"!=typeof e.data("scrollSpy:ticks")&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",u)}),t.each(a,function(t,e){var n=e.data("scrollSpy:ticks");"number"==typeof n&&n!==u&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))}),a=d}function i(){r.trigger("scrollSpy:winSize")}var r=t(window),o=[],a=[],s=!1,u=0,l={top:0,right:0,bottom:0,left:0};t.scrollSpy=function(e,i){var a={throttle:100,scrollOffset:200};i=t.extend(a,i);var u=[];e=t(e),e.each(function(e,n){o.push(t(n)),t(n).data("scrollSpy:id",e),t('a[href="#'+t(n).attr("id")+'"]').click(function(e){e.preventDefault();var n=t(Materialize.escapeHash(this.hash)).offset().top+1;t("html, body").animate({scrollTop:n-i.scrollOffset},{duration:400,queue:!1,easing:"easeOutCubic"})})}),l.top=i.offsetTop||0,l.right=i.offsetRight||0,l.bottom=i.offsetBottom||0,l.left=i.offsetLeft||0;var c=Materialize.throttle(function(){n(i.scrollOffset)},i.throttle||100),d=function(){t(document).ready(c)};return s||(r.on("scroll",d),r.on("resize",d),s=!0),setTimeout(d,0),e.on("scrollSpy:enter",function(){u=t.grep(u,function(t){return 0!=t.height()});var e=t(this);u[0]?(t('a[href="#'+u[0].attr("id")+'"]').removeClass("active"),e.data("scrollSpy:id")<u[0].data("scrollSpy:id")?u.unshift(t(this)):u.push(t(this))):u.push(t(this)),t('a[href="#'+u[0].attr("id")+'"]').addClass("active")}),e.on("scrollSpy:exit",function(){if(u=t.grep(u,function(t){return 0!=t.height()}),u[0]){t('a[href="#'+u[0].attr("id")+'"]').removeClass("active");var e=t(this);u=t.grep(u,function(t){return t.attr("id")!=e.attr("id")}),u[0]&&t('a[href="#'+u[0].attr("id")+'"]').addClass("active")}}),e},t.winSizeSpy=function(e){return t.winSizeSpy=function(){return r},e=e||{throttle:100},r.on("resize",Materialize.throttle(i,e.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(jQuery),function(t){t(document).ready(function(){function e(e){var n=e.css("font-family"),r=e.css("font-size"),o=e.css("line-height");r&&i.css("font-size",r),n&&i.css("font-family",n),o&&i.css("line-height",o),"off"===e.attr("wrap")&&i.css("overflow-wrap","normal").css("white-space","pre"),i.text(e.val()+"\n");var a=i.html().replace(/\n/g,"<br>");i.html(a),e.is(":visible")?i.css("width",e.width()):i.css("width",t(window).width()/2),e.css("height",i.height())}Materialize.updateTextFields=function(){t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e,n){var i=t(this);t(n).val().length>0||n.autofocus||void 0!==i.attr("placeholder")?i.siblings("label").addClass("active"):t(n)[0].validity?i.siblings("label").toggleClass("active",!0===t(n)[0].validity.badInput):i.siblings("label").removeClass("active")})};var n="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t(document).on("change",n,function(){0===t(this).val().length&&void 0===t(this).attr("placeholder")||t(this).siblings("label").addClass("active"),validate_field(t(this))}),t(document).ready(function(){Materialize.updateTextFields()}),t(document).on("reset",function(e){var i=t(e.target);i.is("form")&&(i.find(n).removeClass("valid").removeClass("invalid"),i.find(n).each(function(){""===t(this).attr("value")&&t(this).siblings("label").removeClass("active")}),i.find("select.initialized").each(function(){var t=i.find("option[selected]").text();i.siblings("input.select-dropdown").val(t)}))}),t(document).on("focus",n,function(){t(this).siblings("label, .prefix").addClass("active")}),t(document).on("blur",n,function(){var e=t(this),n=".prefix";0===e.val().length&&!0!==e[0].validity.badInput&&void 0===e.attr("placeholder")&&(n+=", label"),e.siblings(n).removeClass("active"),validate_field(e)}),window.validate_field=function(t){var e=void 0!==t.attr("data-length"),n=parseInt(t.attr("data-length")),i=t.val().length;0===t.val().length&&!1===t[0].validity.badInput?t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid")):t.hasClass("validate")&&(t.is(":valid")&&e&&i<=n||t.is(":valid")&&!e?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid")))};t(document).on("keyup.radio","input[type=radio], input[type=checkbox]",function(e){if(9===e.which){t(this).addClass("tabbed");return void t(this).one("blur",function(e){t(this).removeClass("tabbed")})}});var i=t(".hiddendiv").first();i.length||(i=t('<div class="hiddendiv common"></div>'),t("body").append(i));var r=".materialize-textarea";t(r).each(function(){var n=t(this);n.val().length&&e(n)}),t("body").on("keyup keydown autoresize",r,function(){e(t(this))}),t(document).on("change",'.file-field input[type="file"]',function(){for(var e=t(this).closest(".file-field"),n=e.find("input.file-path"),i=t(this)[0].files,r=[],o=0;o<i.length;o++)r.push(i[o].name);n.val(r.join(", ")),n.trigger("change")});var o="input[type=range]",a=!1;t(o).each(function(){var e=t('<span class="thumb"><span class="value"></span></span>');t(this).after(e)});var s=".range-field";t(document).on("change",o,function(e){var n=t(this).siblings(".thumb");n.find(".value").html(t(this).val());var i=t(this).attr("max"),r=t(this).width()-15,o=(t(this).parent(".range-field").outerWidth(),t(this).val()*(r/i));n.hasClass("active")||n.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:"5px"},{duration:300,easing:"easeOutExpo"}),n.addClass("active").css("left",o)}),t(document).on("mousedown touchstart",o,function(e){var n=t(this).siblings(".thumb"),i=t(this).attr("max"),r=t(this).width()-15,o=(t(this).parent(".range-field").outerWidth(),t(this).val()*(r/i));n.length<=0&&(n=t('<span class="thumb"><span class="value"></span></span>'),t(this).after(n)),n.find(".value").html(t(this).val()),a=!0,t(this).addClass("active"),n.hasClass("active")||n.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:"5px"},{duration:300,easing:"easeOutExpo"}),"input"!==e.type&&n.addClass("active").css("left",o)}),t(document).on("mouseup touchend",s,function(){a=!1,t(this).removeClass("active")}),t(document).on("input mousemove touchmove",s,function(e){var n=t(this).children(".thumb"),i=t(this).find(o),r=i.attr("max"),s=i.width()-15,u=(t(this).outerWidth(),i.val()*(s/r));a&&(n.hasClass("active")||n.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:"5px"},{duration:300,easing:"easeOutExpo"}),n.addClass("active").css("left",u),n.find(".value").html(n.siblings(o).val()))}),t(document).on("mouseout touchleave",s,function(){if(!a){var e=t(this).children(".thumb");e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:"15px"},{duration:100}),e.removeClass("active")}}),t.fn.autocomplete=function(e){var n={data:{},limit:1/0,onAutocomplete:null,minLength:1};return e=t.extend(n,e),this.each(function(){var n,i=t(this),r=e.data,o=0,a=-1,s=i.closest(".input-field");if(!t.isEmptyObject(r)){var u,l=t('<ul class="autocomplete-content dropdown-content"></ul>');s.length?(u=s.children(".autocomplete-content.dropdown-content").first(),u.length||s.append(l)):(u=i.next(".autocomplete-content.dropdown-content"),u.length||i.after(l)),u.length&&(l=u);var c=function(t,e){var n=e.find("img"),i=e.text().toLowerCase().indexOf(""+t.toLowerCase()),r=i+t.length-1,o=e.text().slice(0,i),a=e.text().slice(i,r+1),s=e.text().slice(r+1);e.html("<span>"+o+"<span class='highlight'>"+a+"</span>"+s+"</span>"),n.length&&e.prepend(n)},d=function(){a=-1,l.find(".active").removeClass("active")},f=function(){l.empty(),d(),n=void 0};i.off("blur.autocomplete").on("blur.autocomplete",function(){f()}),i.off("keyup.autocomplete focus.autocomplete").on("keyup.autocomplete focus.autocomplete",function(a){o=0;var s=i.val().toLowerCase();if(13!==a.which&&38!==a.which&&40!==a.which){if(n!==s&&(f(),s.length>=e.minLength))for(var u in r)if(r.hasOwnProperty(u)&&-1!==u.toLowerCase().indexOf(s)&&u.toLowerCase()!==s){if(o>=e.limit)break;var d=t("<li></li>");r[u]?d.append('<img src="'+r[u]+'" class="right circle"><span>'+u+"</span>"):d.append("<span>"+u+"</span>"),l.append(d),c(s,d),o++}n=s}}),i.off("keydown.autocomplete").on("keydown.autocomplete",function(t){var e,n=t.which,i=l.children("li").length,r=l.children(".active").first();return 13===n&&a>=0?(e=l.children("li").eq(a),void(e.length&&(e.trigger("mousedown.autocomplete"),t.preventDefault()))):void(38!==n&&40!==n||(t.preventDefault(),38===n&&a>0&&a--,40===n&&a<i-1&&a++,r.removeClass("active"),a>=0&&l.children("li").eq(a).addClass("active")))}),l.on("mousedown.autocomplete touchstart.autocomplete","li",function(){var n=t(this).text().trim();i.val(n),i.trigger("change"),f(),"function"==typeof e.onAutocomplete&&e.onAutocomplete.call(this,n)})}})}}),t.fn.material_select=function(e){function n(t,e,n){var r=t.indexOf(e),o=-1===r;return o?t.push(e):t.splice(r,1),n.siblings("ul.dropdown-content").find("li:not(.optgroup)").eq(e).toggleClass("active"),n.find("option").eq(e).prop("selected",o),i(t,n),o}function i(t,e){for(var n="",i=0,r=t.length;i<r;i++){var o=e.find("option").eq(t[i]).text();n+=0===i?o:", "+o}""===n&&(n=e.find("option:disabled").eq(0).text()),e.siblings("input.select-dropdown").val(n)}t(this).each(function(){var i=t(this);if(!i.hasClass("browser-default")){var r=!!i.attr("multiple"),o=i.data("select-id");if(o&&(i.parent().find("span.caret").remove(),i.parent().find("input").remove(),i.unwrap(),t("ul#select-options-"+o).remove()),"destroy"===e)return void i.data("select-id",null).removeClass("initialized");var a=Materialize.guid();i.data("select-id",a);var s=t('<div class="select-wrapper"></div>');s.addClass(i.attr("class"));var u=t('<ul id="select-options-'+a+'" class="dropdown-content select-dropdown '+(r?"multiple-select-dropdown":"")+'"></ul>'),l=i.children("option, optgroup"),c=[],d=!1,f=i.find("option:selected").html()||i.find("option:first").html()||"",h=function(e,n,i){var o=n.is(":disabled")?"disabled ":"",a="optgroup-option"===i?"optgroup-option ":"",s=r?'<input type="checkbox"'+o+"/><label></label>":"",l=n.data("icon"),c=n.attr("class");if(l){var d="";return c&&(d=' class="'+c+'"'),u.append(t('<li class="'+o+a+'"><img alt="" src="'+l+'"'+d+"><span>"+s+n.html()+"</span></li>")),!0}u.append(t('<li class="'+o+a+'"><span>'+s+n.html()+"</span></li>"))};l.length&&l.each(function(){if(t(this).is("option"))r?h(0,t(this),"multiple"):h(0,t(this));else if(t(this).is("optgroup")){var e=t(this).children("option");u.append(t('<li class="optgroup"><span>'+t(this).attr("label")+"</span></li>")),e.each(function(){h(0,t(this),"optgroup-option")})}}),u.find("li:not(.optgroup)").each(function(o){t(this).click(function(a){if(!t(this).hasClass("disabled")&&!t(this).hasClass("optgroup")){var s=!0;r?(t('input[type="checkbox"]',this).prop("checked",function(t,e){return!e}),s=n(c,o,i),g.trigger("focus")):(u.find("li").removeClass("active"),t(this).toggleClass("active"),g.val(t(this).text())),m(u,t(this)),i.find("option").eq(o).prop("selected",s),i.trigger("change"),void 0!==e&&e()}a.stopPropagation()})}),i.wrap(s);var p=t('<span class="caret">&#9660;</span>');i.is(":disabled")&&p.addClass("disabled");var v=f.replace(/"/g,"&quot;"),g=t('<input type="text" class="select-dropdown" readonly="true" '+(i.is(":disabled")?"disabled":"")+' data-activates="select-options-'+a+'" value="'+v+'"/>');i.before(g),g.before(p),g.after(u),i.is(":disabled")||g.dropdown({hover:!1,closeOnClick:!1}),i.attr("tabindex")&&t(g[0]).attr("tabindex",i.attr("tabindex")),i.addClass("initialized"),g.on({focus:function(){if(t("ul.select-dropdown").not(u[0]).is(":visible")&&t("input.select-dropdown").trigger("close"),!u.is(":visible")){t(this).trigger("open",["focus"]);var e=t(this).val();r&&e.indexOf(",")>=0&&(e=e.split(",")[0]);var n=u.find("li").filter(function(){return t(this).text().toLowerCase()===e.toLowerCase()})[0];m(u,n,!0)}},click:function(t){t.stopPropagation()}}),g.on("blur",function(){r||t(this).trigger("close"),u.find("li.selected").removeClass("selected")}),u.hover(function(){d=!0},function(){d=!1}),t(window).on({click:function(){r&&(d||g.trigger("close"))}}),r&&i.find("option:selected:not(:disabled)").each(function(){var e=t(this).index();n(c,e,i),u.find("li").eq(e).find(":checkbox").prop("checked",!0)});var m=function(e,n,i){if(n){e.find("li.selected").removeClass("selected");var o=t(n);o.addClass("selected"),r&&!i||u.scrollTo(o)}},$=[],y=function(e){if(9==e.which)return void g.trigger("close");if(40==e.which&&!u.is(":visible"))return void g.trigger("open");if(13!=e.which||u.is(":visible")){e.preventDefault();var n=String.fromCharCode(e.which).toLowerCase(),i=[9,13,27,38,40];if(n&&-1===i.indexOf(e.which)){$.push(n);var o=$.join(""),a=u.find("li").filter(function(){return 0===t(this).text().toLowerCase().indexOf(o)})[0];a&&m(u,a)}if(13==e.which){var s=u.find("li.selected:not(.disabled)")[0];s&&(t(s).trigger("click"),r||g.trigger("close"))}40==e.which&&(a=u.find("li.selected").length?u.find("li.selected").next("li:not(.disabled)")[0]:u.find("li:not(.disabled)")[0],m(u,a)),27==e.which&&g.trigger("close"),38==e.which&&(a=u.find("li.selected").prev("li:not(.disabled)")[0])&&m(u,a),setTimeout(function(){$=[]},1e3)}};g.on("keydown",y)}})}}(jQuery),function(t){var e={init:function(e){var n={indicators:!0,height:400,transition:500,interval:6e3};return e=t.extend(n,e),this.each(function(){function n(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function i(t){t>=l.length?t=0:t<0&&(t=l.length-1),(c=u.find(".active").index())!=t&&(r=l.eq(c),$caption=r.find(".caption"),r.removeClass("active"),r.velocity({opacity:0},{duration:e.transition,queue:!1,easing:"easeOutQuad",complete:function(){l.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),n($caption,e.transition),e.indicators&&o.eq(c).removeClass("active"),l.eq(t).velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),l.eq(t).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,delay:e.transition,queue:!1,easing:"easeOutQuad"}),l.eq(t).addClass("active"),e.indicators&&o.eq(t).addClass("active"))}var r,o,a,s=t(this),u=s.find("ul.slides").first(),l=u.find("> li"),c=u.find(".active").index();-1!=c&&(r=l.eq(c)),s.hasClass("fullscreen")||(e.indicators?s.height(e.height+40):s.height(e.height),u.height(e.height)),l.find(".caption").each(function(){n(t(this),0)}),l.find("img").each(function(){var e="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";t(this).attr("src")!==e&&(t(this).css("background-image","url("+t(this).attr("src")+")"),t(this).attr("src",e))}),e.indicators&&(o=t('<ul class="indicators"></ul>'),l.each(function(n){var r=t('<li class="indicator-item"></li>');r.click(function(){i(u.parent().find(t(this)).index()),clearInterval(a),a=setInterval(function(){c=u.find(".active").index(),l.length==c+1?c=0:c+=1,i(c)},e.transition+e.interval)}),o.append(r)}),s.append(o),o=s.find("ul.indicators").find("li.indicator-item")),r?r.show():(l.first().addClass("active").velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),c=0,r=l.eq(c),e.indicators&&o.eq(c).addClass("active")),r.find("img").each(function(){r.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,queue:!1,easing:"easeOutQuad"})}),a=setInterval(function(){c=u.find(".active").index(),i(c+1)},e.transition+e.interval);var d=!1,f=!1,h=!1;s.hammer({prevent_default:!1}).bind("pan",function(t){if("touch"===t.gesture.pointerType){clearInterval(a);var e=t.gesture.direction,n=t.gesture.deltaX,i=t.gesture.velocityX,r=t.gesture.velocityY;$curr_slide=u.find(".active"),Math.abs(i)>Math.abs(r)&&$curr_slide.velocity({translateX:n},{duration:50,queue:!1,easing:"easeOutQuad"}),4===e&&(n>s.innerWidth()/2||i<-.65)?h=!0:2===e&&(n<-1*s.innerWidth()/2||i>.65)&&(f=!0);var o;f&&(o=$curr_slide.next(),0===o.length&&(o=l.first()),o.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),h&&(o=$curr_slide.prev(),0===o.length&&(o=l.last()),o.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(t){"touch"===t.gesture.pointerType&&($curr_slide=u.find(".active"),d=!1,curr_index=u.find(".active").index(),!h&&!f||l.length<=1?$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}):f?(i(curr_index+1),$curr_slide.velocity({translateX:-1*s.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):h&&(i(curr_index-1),$curr_slide.velocity({translateX:s.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})),f=!1,h=!1,clearInterval(a),a=setInterval(function(){c=u.find(".active").index(),l.length==c+1?c=0:c+=1,i(c)},e.transition+e.interval))}),s.on("sliderPause",function(){clearInterval(a)}),s.on("sliderStart",function(){clearInterval(a),a=setInterval(function(){c=u.find(".active").index(),l.length==c+1?c=0:c+=1,i(c)},e.transition+e.interval)}),s.on("sliderNext",function(){c=u.find(".active").index(),i(c+1)}),s.on("sliderPrev",function(){c=u.find(".active").index(),i(c-1)})})},pause:function(){t(this).trigger("sliderPause")},start:function(){t(this).trigger("sliderStart")},next:function(){t(this).trigger("sliderNext")},prev:function(){t(this).trigger("sliderPrev")}};t.fn.slider=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)}}(jQuery),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find("> .card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&(t(e.target).closest(".card").css("overflow","hidden"),t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"})))})})}(jQuery),function(t){var e={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{}};t(document).ready(function(){t(document).on("click",".chip .close",function(e){t(this).closest(".chips").attr("data-initialized")||t(this).closest(".chip").remove()})}),t.fn.material_chip=function(n){var i=this;if(this.$el=t(this),this.$document=t(document),this.SELS={CHIPS:".chips",CHIP:".chip",INPUT:"input",DELETE:".material-icons",SELECTED_CHIP:".selected"},"data"===n)return this.$el.data("chips");var r=t.extend({},e,n);i.hasAutocomplete=!t.isEmptyObject(r.autocompleteOptions.data),this.init=function(){var e=0;i.$el.each(function(){var n=t(this),o=Materialize.guid();i.chipId=o,r.data&&r.data instanceof Array||(r.data=[]),n.data("chips",r.data),n.attr("data-index",e),n.attr("data-initialized",!0),n.hasClass(i.SELS.CHIPS)||n.addClass("chips"),i.chips(n,o),e++})},this.handleEvents=function(){var e=i.SELS;i.$document.off("click.chips-focus",e.CHIPS).on("click.chips-focus",e.CHIPS,function(n){t(n.target).find(e.INPUT).focus()}),i.$document.off("click.chips-select",e.CHIP).on("click.chips-select",e.CHIP,function(n){var r=t(n.target);if(r.length){
  var o=r.hasClass("selected"),a=r.closest(e.CHIPS);t(e.CHIP).removeClass("selected"),o||i.selectChip(r.index(),a)}}),i.$document.off("keydown.chips").on("keydown.chips",function(n){if(!t(n.target).is("input, textarea")){var r,o=i.$document.find(e.CHIP+e.SELECTED_CHIP),a=o.closest(e.CHIPS),s=o.siblings(e.CHIP).length;if(o.length)if(8===n.which||46===n.which){n.preventDefault(),r=o.index(),i.deleteChip(r,a);var u=null;r+1<s?u=r:r!==s&&r+1!==s||(u=s-1),u<0&&(u=null),null!==u&&i.selectChip(u,a),s||a.find("input").focus()}else if(37===n.which){if((r=o.index()-1)<0)return;t(e.CHIP).removeClass("selected"),i.selectChip(r,a)}else if(39===n.which){if(r=o.index()+1,t(e.CHIP).removeClass("selected"),r>s)return void a.find("input").focus();i.selectChip(r,a)}}}),i.$document.off("focusin.chips",e.CHIPS+" "+e.INPUT).on("focusin.chips",e.CHIPS+" "+e.INPUT,function(n){var i=t(n.target).closest(e.CHIPS);i.addClass("focus"),i.siblings("label, .prefix").addClass("active"),t(e.CHIP).removeClass("selected")}),i.$document.off("focusout.chips",e.CHIPS+" "+e.INPUT).on("focusout.chips",e.CHIPS+" "+e.INPUT,function(n){var i=t(n.target).closest(e.CHIPS);i.removeClass("focus"),i.data("chips").length||i.siblings("label").removeClass("active"),i.siblings(".prefix").removeClass("active")}),i.$document.off("keydown.chips-add",e.CHIPS+" "+e.INPUT).on("keydown.chips-add",e.CHIPS+" "+e.INPUT,function(n){var r=t(n.target),o=r.closest(e.CHIPS),a=o.children(e.CHIP).length;if(13===n.which){if(i.hasAutocomplete&&o.find(".autocomplete-content.dropdown-content").length&&o.find(".autocomplete-content.dropdown-content").children().length)return;return n.preventDefault(),i.addChip({tag:r.val()},o),void r.val("")}if((8===n.keyCode||37===n.keyCode)&&""===r.val()&&a)return n.preventDefault(),i.selectChip(a-1,o),void r.blur()}),i.$document.off("click.chips-delete",e.CHIPS+" "+e.DELETE).on("click.chips-delete",e.CHIPS+" "+e.DELETE,function(n){var r=t(n.target),o=r.closest(e.CHIPS),a=r.closest(e.CHIP);n.stopPropagation(),i.deleteChip(a.index(),o),o.find("input").focus()})},this.chips=function(e,n){e.empty(),e.data("chips").forEach(function(t){e.append(i.renderChip(t))}),e.append(t('<input id="'+n+'" class="input" placeholder="">')),i.setPlaceholder(e);var o=e.next("label");o.length&&(o.attr("for",n),e.data("chips").length&&o.addClass("active"));var a=t("#"+n);i.hasAutocomplete&&(r.autocompleteOptions.onAutocomplete=function(t){i.addChip({tag:t},e),a.val(""),a.focus()},a.autocomplete(r.autocompleteOptions))},this.renderChip=function(e){if(e.tag){var n=t('<div class="chip"></div>');return n.text(e.tag),n.append(t('<i class="material-icons close">close</i>')),n}},this.setPlaceholder=function(t){t.data("chips").length&&r.placeholder?t.find("input").prop("placeholder",r.placeholder):!t.data("chips").length&&r.secondaryPlaceholder&&t.find("input").prop("placeholder",r.secondaryPlaceholder)},this.isValid=function(t,e){for(var n=t.data("chips"),i=!1,r=0;r<n.length;r++)if(n[r].tag===e.tag)return void(i=!0);return""!==e.tag&&!i},this.addChip=function(t,e){if(i.isValid(e,t)){for(var n=i.renderChip(t),r=[],o=e.data("chips"),a=0;a<o.length;a++)r.push(o[a]);r.push(t),e.data("chips",r),n.insertBefore(e.find("input")),e.trigger("chip.add",t),i.setPlaceholder(e)}},this.deleteChip=function(t,e){var n=e.data("chips")[t];e.find(".chip").eq(t).remove();for(var r=[],o=e.data("chips"),a=0;a<o.length;a++)a!==t&&r.push(o[a]);e.data("chips",r),e.trigger("chip.delete",n),i.setPlaceholder(e)},this.selectChip=function(t,e){var n=e.find(".chip").eq(t);n&&!1===n.hasClass("selected")&&(n.addClass("selected"),e.trigger("chip.select",e.data("chips")[t]))},this.getChipsElement=function(t,e){return e.eq(t)},this.init(),this.handleEvents()}}(jQuery),function(t){t.fn.pushpin=function(e){var n={top:0,bottom:1/0,offset:0};return"remove"===e?(this.each(function(){(id=t(this).data("pushpin-id"))&&(t(window).off("scroll."+id),t(this).removeData("pushpin-id").removeClass("pin-top pinned pin-bottom").removeAttr("style"))}),!1):(e=t.extend(n,e),$index=0,this.each(function(){function n(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function i(i,r){i.each(function(){e.top<=r&&e.bottom>=r&&!t(this).hasClass("pinned")&&(n(t(this)),t(this).css("top",e.offset),t(this).addClass("pinned")),r<e.top&&!t(this).hasClass("pin-top")&&(n(t(this)),t(this).css("top",0),t(this).addClass("pin-top")),r>e.bottom&&!t(this).hasClass("pin-bottom")&&(n(t(this)),t(this).addClass("pin-bottom"),t(this).css("top",e.bottom-a))})}var r=Materialize.guid(),o=t(this),a=t(this).offset().top;t(this).data("pushpin-id",r),i(o,t(window).scrollTop()),t(window).on("scroll."+r,function(){var n=t(window).scrollTop()+e.offset;i(o,n)})}))}}(jQuery),function(t){t(document).ready(function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(n){var i=t(this);e(i)}),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(e){var i=t(this);n(i)}),t(document).on("click.fabClickToggle",".fixed-action-btn.click-to-toggle > a",function(i){var r=t(this),o=r.parent();o.hasClass("active")?n(o):e(o)}),t(document).on("click.fabToolbar",".fixed-action-btn.toolbar > a",function(e){var n=t(this),r=n.parent();i(r)})}),t.fn.extend({openFAB:function(){e(t(this))},closeFAB:function(){n(t(this))},openToolbar:function(){i(t(this))},closeToolbar:function(){r(t(this))}});var e=function(e){var n=e;if(!1===n.hasClass("active")){var i,r;!0===n.hasClass("horizontal")?r=40:i=40,n.addClass("active"),n.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:i+"px",translateX:r+"px"},{duration:0});var o=0;n.find("ul .btn-floating").reverse().each(function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:o}),o+=40})}},n=function(t){var e,n,i=t;!0===i.hasClass("horizontal")?n=40:e=40,i.removeClass("active"),i.find("ul .btn-floating").velocity("stop",!0),i.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:e+"px",translateX:n+"px"},{duration:80})},i=function(e){if("true"!==e.attr("data-open")){var n,i,o,a=window.innerWidth,s=window.innerHeight,u=e[0].getBoundingClientRect(),l=e.find("> a").first(),c=e.find("> ul").first(),d=t('<div class="fab-backdrop"></div>'),f=l.css("background-color");l.append(d),n=u.left-a/2+u.width/2,i=s-u.bottom,o=a/d.width(),e.attr("data-origin-bottom",u.bottom),e.attr("data-origin-left",u.left),e.attr("data-origin-width",u.width),e.addClass("active"),e.attr("data-open",!0),e.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+n+"px)",transition:"none"}),l.css({transform:"translateY("+-i+"px)",transition:"none"}),d.css({"background-color":f}),setTimeout(function(){e.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),l.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){e.css({overflow:"hidden","background-color":f}),d.css({transform:"scale("+o+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),c.find("> li > a").css({opacity:1}),t(window).on("scroll.fabToolbarClose",function(){r(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose")}),t(document).on("click.fabToolbarClose",function(n){t(n.target).closest(c).length||(r(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose"))})},100)},0)}},r=function(t){if("true"===t.attr("data-open")){var e,n,i=window.innerWidth,r=window.innerHeight,o=t.attr("data-origin-width"),a=t.attr("data-origin-bottom"),s=t.attr("data-origin-left"),u=t.find("> .btn-floating").first(),l=t.find("> ul").first(),c=t.find(".fab-backdrop"),d=u.css("background-color");e=s-i/2+o/2,n=r-a,i/c.width(),t.removeClass("active"),t.attr("data-open",!1),t.css({"background-color":"transparent",transition:"none"}),u.css({transition:"none"}),c.css({transform:"scale(0)","background-color":d}),l.find("> li > a").css({opacity:""}),setTimeout(function(){c.remove(),t.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e+"px,0,0)"}),u.css({overflow:"",transform:"translate3d(0,"+n+"px,0)"}),setTimeout(function(){t.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),u.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}}(jQuery),function(t){Materialize.fadeInImage=function(e){var n;if("string"==typeof e)n=t(e);else{if("object"!=typeof e)return;n=e}n.css({opacity:0}),t(n).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),t(n).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,n){n.start=100;var i=e/100,r=150-(100-e)/1.75;r<100&&(r=100),e>=0&&t(this).css({"-webkit-filter":"grayscale("+i+")brightness("+r+"%)",filter:"grayscale("+i+")brightness("+r+"%)"})}})},Materialize.showStaggeredList=function(e){var n;if("string"==typeof e)n=t(e);else{if("object"!=typeof e)return;n=e}var i=0;n.find("li").velocity({translateX:"-100px"},{duration:0}),n.find("li").each(function(){t(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120})},t(document).ready(function(){var e=!1,n=!1;t(".dismissable").each(function(){t(this).hammer({prevent_default:!1}).bind("pan",function(i){if("touch"===i.gesture.pointerType){var r=t(this),o=i.gesture.direction,a=i.gesture.deltaX,s=i.gesture.velocityX;r.velocity({translateX:a},{duration:50,queue:!1,easing:"easeOutQuad"}),4===o&&(a>r.innerWidth()/2||s<-.75)&&(e=!0),2===o&&(a<-1*r.innerWidth()/2||s>.75)&&(n=!0)}}).bind("panend",function(i){if(Math.abs(i.gesture.deltaX)<t(this).innerWidth()/2&&(n=!1,e=!1),"touch"===i.gesture.pointerType){var r=t(this);if(e||n){var o;o=e?r.innerWidth():-1*r.innerWidth(),r.velocity({translateX:o},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){r.css("border","none"),r.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){r.remove()}})}})}else r.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});e=!1,n=!1}})})})}(jQuery),function(t){var e=!1;Materialize.scrollFire=function(t){var n=function(){for(var e=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var i=t[n],r=i.selector,o=i.offset,a=i.callback,s=document.querySelector(r);if(null!==s){if(e>s.getBoundingClientRect().top+window.pageYOffset+o&&!0!==i.done){if("function"==typeof a)a.call(this,s);else if("string"==typeof a){var u=new Function(a);u(s)}i.done=!0}}}},i=Materialize.throttle(function(){n()},t.throttle||100);e||(window.addEventListener("scroll",i),window.addEventListener("resize",i),e=!0),setTimeout(i,0)}}(),function(t){"function"==typeof define&&define.amd?define("picker",["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):this.Picker=t(jQuery)}(function(t){function e(o,a,u,d){function f(){return e._.node("div",e._.node("div",e._.node("div",e._.node("div",k.component.nodes(y.open),w.box),w.wrap),w.frame),w.holder)}function h(){x.data(a,k).addClass(w.input).attr("tabindex",-1).val(x.data("value")?k.get("select",b.format):o.value),b.editable||x.on("focus."+y.id+" click."+y.id,function(t){t.preventDefault(),k.$root.eq(0).focus()}).on("keydown."+y.id,g),r(o,{haspopup:!0,expanded:!1,readonly:!1,owns:o.id+"_root"})}function p(){k.$root.on({keydown:g,focusin:function(t){k.$root.removeClass(w.focused),t.stopPropagation()},"mousedown click":function(e){var n=e.target;n!=k.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(n).is("input, select, textarea, button, option")||(e.preventDefault(),k.$root.eq(0).focus()))}}).on({focus:function(){x.addClass(w.target)},blur:function(){x.removeClass(w.target)}}).on("focus.toOpen",m).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),n=e.data(),i=e.hasClass(w.navDisabled)||e.hasClass(w.disabled),r=s();r=r&&(r.type||r.href),(i||r&&!t.contains(k.$root[0],r))&&k.$root.eq(0).focus(),!i&&n.nav?k.set("highlight",k.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?k.set("select",n.pick):n.clear?k.clear().close(!0):n.close&&k.close(!0)}),r(k.$root[0],"hidden",!0)}function v(){var e;!0===b.hiddenName?(e=o.name,o.name=""):(e=["string"==typeof b.hiddenPrefix?b.hiddenPrefix:"","string"==typeof b.hiddenSuffix?b.hiddenSuffix:"_submit"],e=e[0]+o.name+e[1]),k._hidden=t('<input type=hidden name="'+e+'"'+(x.data("value")||o.value?' value="'+k.get("select",b.formatSubmit)+'"':"")+">")[0],x.on("change."+y.id,function(){k._hidden.value=o.value?k.get("select",b.formatSubmit):""}),b.container?t(b.container).append(k._hidden):x.after(k._hidden)}function g(t){var e=t.keyCode,n=/^(8|46)$/.test(e);return 27==e?(k.close(),!1):void((32==e||n||!y.open&&k.component.key[e])&&(t.preventDefault(),t.stopPropagation(),n?k.clear().close():k.open()))}function m(t){t.stopPropagation(),"focus"==t.type&&k.$root.addClass(w.focused),k.open()}if(!o)return e;var $=!1,y={id:o.id||"P"+Math.abs(~~(Math.random()*new Date))},b=u?t.extend(!0,{},u.defaults,d):d||{},w=t.extend({},e.klasses(),b.klass),x=t(o),C=function(){return this.start()},k=C.prototype={constructor:C,$node:x,start:function(){return y&&y.start?k:(y.methods={},y.start=!0,y.open=!1,y.type=o.type,o.autofocus=o==s(),o.readOnly=!b.editable,o.id=o.id||y.id,"text"!=o.type&&(o.type="text"),k.component=new u(k,b),k.$root=t(e._.node("div",f(),w.picker,'id="'+o.id+'_root" tabindex="0"')),p(),b.formatSubmit&&v(),h(),b.container?t(b.container).append(k.$root):x.after(k.$root),k.on({start:k.component.onStart,render:k.component.onRender,stop:k.component.onStop,open:k.component.onOpen,close:k.component.onClose,set:k.component.onSet}).on({start:b.onStart,render:b.onRender,stop:b.onStop,open:b.onOpen,close:b.onClose,set:b.onSet}),$=n(k.$root.children()[0]),o.autofocus&&k.open(),k.trigger("start").trigger("render"))},render:function(t){return t?k.$root.html(f()):k.$root.find("."+w.box).html(k.component.nodes(y.open)),k.trigger("render")},stop:function(){return y.start?(k.close(),k._hidden&&k._hidden.parentNode.removeChild(k._hidden),k.$root.remove(),x.removeClass(w.input).removeData(a),setTimeout(function(){x.off("."+y.id)},0),o.type=y.type,o.readOnly=!1,k.trigger("stop"),y.methods={},y.start=!1,k):k},open:function(n){return y.open?k:(x.addClass(w.active),r(o,"expanded",!0),setTimeout(function(){k.$root.addClass(w.opened),r(k.$root[0],"hidden",!1)},0),!1!==n&&(y.open=!0,$&&c.css("overflow","hidden").css("padding-right","+="+i()),k.$root.eq(0).focus(),l.on("click."+y.id+" focusin."+y.id,function(t){var e=t.target;e!=o&&e!=document&&3!=t.which&&k.close(e===k.$root.children()[0])}).on("keydown."+y.id,function(n){var i=n.keyCode,r=k.component.key[i],o=n.target;27==i?k.close(!0):o!=k.$root[0]||!r&&13!=i?t.contains(k.$root[0],o)&&13==i&&(n.preventDefault(),o.click()):(n.preventDefault(),r?e._.trigger(k.component.key.go,k,[e._.trigger(r)]):k.$root.find("."+w.highlighted).hasClass(w.disabled)||k.set("select",k.component.item.highlight).close())})),k.trigger("open"))},close:function(t){return t&&(k.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){k.$root.on("focus.toOpen",m)},0)),x.removeClass(w.active),r(o,"expanded",!1),setTimeout(function(){k.$root.removeClass(w.opened+" "+w.focused),r(k.$root[0],"hidden",!0)},0),y.open?(y.open=!1,$&&c.css("overflow","").css("padding-right","-="+i()),l.off("."+y.id),k.trigger("close")):k},clear:function(t){return k.set("clear",null,t)},set:function(e,n,i){var r,o,a=t.isPlainObject(e),s=a?e:{};if(i=a&&t.isPlainObject(n)?n:i||{},e){a||(s[e]=n);for(r in s)o=s[r],r in k.component.item&&(void 0===o&&(o=null),k.component.set(r,o,i)),"select"!=r&&"clear"!=r||x.val("clear"==r?"":k.get(r,b.format)).trigger("change");k.render()}return i.muted?k:k.trigger("set",s)},get:function(t,n){if(t=t||"value",null!=y[t])return y[t];if("valueSubmit"==t){if(k._hidden)return k._hidden.value;t="value"}if("value"==t)return o.value;if(t in k.component.item){if("string"==typeof n){var i=k.component.get(t);return i?e._.trigger(k.component.formats.toString,k.component,[n,i]):""}return k.component.get(t)}},on:function(e,n,i){var r,o,a=t.isPlainObject(e),s=a?e:{};if(e){a||(s[e]=n);for(r in s)o=s[r],i&&(r="_"+r),y.methods[r]=y.methods[r]||[],y.methods[r].push(o)}return k},off:function(){var t,e,n=arguments;for(t=0,namesCount=n.length;t<namesCount;t+=1)(e=n[t])in y.methods&&delete y.methods[e];return k},trigger:function(t,n){var i=function(t){var i=y.methods[t];i&&i.map(function(t){e._.trigger(t,k,[n])})};return i("_"+t),i(t),k}};return new C}function n(t){var e,n="position";return t.currentStyle?e=t.currentStyle[n]:window.getComputedStyle&&(e=getComputedStyle(t)[n]),"fixed"==e}function i(){if(c.height()<=u.height())return 0;var e=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),n=e[0].offsetWidth;e.css("overflow","scroll");var i=t('<div style="width:100%" />').appendTo(e),r=i[0].offsetWidth;return e.remove(),n-r}function r(e,n,i){if(t.isPlainObject(n))for(var r in n)o(e,r,n[r]);else o(e,n,i)}function o(t,e,n){t.setAttribute(("role"==e?"":"aria-")+e,n)}function a(e,n){t.isPlainObject(e)||(e={attribute:n}),n="";for(var i in e){var r=("role"==i?"":"aria-")+i;n+=null==e[i]?"":r+'="'+e[i]+'"'}return n}function s(){try{return document.activeElement}catch(t){}}var u=t(window),l=t(document),c=t(document.documentElement);return e.klasses=function(t){return t=t||"picker",{picker:t,opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},e._={group:function(t){for(var n,i="",r=e._.trigger(t.min,t);r<=e._.trigger(t.max,t,[r]);r+=t.i)n=e._.trigger(t.item,t,[r]),i+=e._.node(t.node,n[0],n[1],n[2]);return i},node:function(e,n,i,r){return n?(n=t.isArray(n)?n.join(""):n,i=i?' class="'+i+'"':"",r=r?" "+r:"","<"+e+i+r+">"+n+"</"+e+">"):""},lead:function(t){return(t<10?"0":"")+t},trigger:function(t,e,n){return"function"==typeof t?t.apply(e,n||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1==0},ariaAttr:a},e.extend=function(n,i){t.fn[n]=function(r,o){var a=this.data(n);return"picker"==r?a:a&&"string"==typeof r?e._.trigger(a[r],a,[o]):this.each(function(){t(this).data(n)||new e(this,n,i,r)})},t.fn[n].defaults=i.defaults},e}),function(t){"function"==typeof define&&define.amd?define(["picker","jquery"],t):"object"==typeof exports?module.exports=t(require("./picker.js"),require("jquery")):t(Picker,jQuery)}(function(t,e){function n(t,e){var n=this,i=t.$node[0],r=i.value,o=t.$node.data("value"),a=o||r,s=o?e.formatSubmit:e.format,u=function(){return i.currentStyle?"rtl"==i.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};n.settings=e,n.$node=t.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(e.disable||[]).slice(0),n.item.enable=-function(t){return!0===t[0]?t.shift():-1}(n.item.disable),n.set("min",e.min).set("max",e.max).set("now"),a?n.set("select",a,{format:s}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return u()?-1:1},37:function(){return u()?1:-1},go:function(t){var e=n.item.highlight,i=new Date(e.year,e.month,e.date+t);n.set("highlight",i,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var n=this.value;n&&(t.set("highlight",[t.get("view").year,n,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var n=this.value;n&&(t.set("highlight",[n,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var i=t._;n.prototype.set=function(t,e,n){var i=this,r=i.item;return null===e?("clear"==t&&(t="select"),r[t]=e,i):(r["enable"==t?"disable":"flip"==t?"enable":t]=i.queue[t].split(" ").map(function(r){return e=i[r](t,e,n)}).pop(),"select"==t?i.set("highlight",r.select,n):"highlight"==t?i.set("view",r.highlight,n):t.match(/^(flip|min|max|disable|enable)$/)&&(r.select&&i.disabled(r.select)&&i.set("select",r.select,n),r.highlight&&i.disabled(r.highlight)&&i.set("highlight",r.highlight,n)),i)},n.prototype.get=function(t){return this.item[t]},n.prototype.create=function(t,n,r){var o,a=this;return n=void 0===n?t:n,n==-1/0||n==1/0?o=n:e.isPlainObject(n)&&i.isInteger(n.pick)?n=n.obj:e.isArray(n)?(n=new Date(n[0],n[1],n[2]),n=i.isDate(n)?n:a.create().obj):n=i.isInteger(n)||i.isDate(n)?a.normalize(new Date(n),r):a.now(t,n,r),{year:o||n.getFullYear(),month:o||n.getMonth(),date:o||n.getDate(),day:o||n.getDay(),obj:o||n,pick:o||n.getTime()}},n.prototype.createRange=function(t,n){var r=this,o=function(t){return!0===t||e.isArray(t)||i.isDate(t)?r.create(t):t};return i.isInteger(t)||(t=o(t)),i.isInteger(n)||(n=o(n)),i.isInteger(t)&&e.isPlainObject(n)?t=[n.year,n.month,n.date+t]:i.isInteger(n)&&e.isPlainObject(t)&&(n=[t.year,t.month,t.date+n]),{from:o(t),to:o(n)}},n.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},n.prototype.overlapRanges=function(t,e){var n=this;return t=n.createRange(t.from,t.to),e=n.createRange(e.from,e.to),n.withinRange(t,e.from)||n.withinRange(t,e.to)||n.withinRange(e,t.from)||n.withinRange(e,t.to)},n.prototype.now=function(t,e,n){return e=new Date,n&&n.rel&&e.setDate(e.getDate()+n.rel),this.normalize(e,n)},n.prototype.navigate=function(t,n,i){var r,o,a,s,u=e.isArray(n),l=e.isPlainObject(n),c=this.item.view;if(u||l){for(l?(o=n.year,a=n.month,s=n.date):(o=+n[0],a=+n[1],s=+n[2]),i&&i.nav&&c&&c.month!==a&&(o=c.year,a=c.month),r=new Date(o,a+(i&&i.nav?i.nav:0),1),o=r.getFullYear(),a=r.getMonth();new Date(o,a,s).getMonth()!==a;)s-=1;n=[o,a,s]}return n},n.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},n.prototype.measure=function(t,e){var n=this;return e?"string"==typeof e?e=n.parse(t,e):i.isInteger(e)&&(e=n.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},n.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},n.prototype.validate=function(t,n,r){var o,a,s,u,l=this,c=n,d=r&&r.interval?r.interval:1,f=-1===l.item.enable,h=l.item.min,p=l.item.max,v=f&&l.item.disable.filter(function(t){if(e.isArray(t)){var r=l.create(t).pick;r<n.pick?o=!0:r>n.pick&&(a=!0)}return i.isInteger(t)}).length;if((!r||!r.nav)&&(!f&&l.disabled(n)||f&&l.disabled(n)&&(v||o||a)||!f&&(n.pick<=h.pick||n.pick>=p.pick)))for(f&&!v&&(!a&&d>0||!o&&d<0)&&(d*=-1);l.disabled(n)&&(Math.abs(d)>1&&(n.month<c.month||n.month>c.month)&&(n=c,d=d>0?1:-1),n.pick<=h.pick?(s=!0,d=1,n=l.create([h.year,h.month,h.date+(n.pick===h.pick?0:-1)])):n.pick>=p.pick&&(u=!0,d=-1,n=l.create([p.year,p.month,p.date+(n.pick===p.pick?0:1)])),!s||!u);)n=l.create([n.year,n.month,n.date+d]);return n},n.prototype.disabled=function(t){var n=this,r=n.item.disable.filter(function(r){return i.isInteger(r)?t.day===(n.settings.firstDay?r:r-1)%7:e.isArray(r)||i.isDate(r)?t.pick===n.create(r).pick:e.isPlainObject(r)?n.withinRange(r,t):void 0});return r=r.length&&!r.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===n.item.enable?!r:r||t.pick<n.item.min.pick||t.pick>n.item.max.pick},n.prototype.parse=function(t,e,n){var r=this,o={};return e&&"string"==typeof e?(n&&n.format||(n=n||{},n.format=r.settings.format),r.formats.toArray(n.format).map(function(t){var n=r.formats[t],a=n?i.trigger(n,r,[e,o]):t.replace(/^!/,"").length;n&&(o[t]=e.substr(0,a)),e=e.substr(a)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):e},n.prototype.formats=function(){function t(t,e,n){var i=t.match(/\w+/)[0];return n.mm||n.m||(n.m=e.indexOf(i)+1),i.length}function e(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?i.digits(t):e.date},dd:function(t,e){return t?2:i.lead(e.date)},ddd:function(t,n){return t?e(t):this.settings.weekdaysShort[n.day]},dddd:function(t,n){return t?e(t):this.settings.weekdaysFull[n.day]},m:function(t,e){return t?i.digits(t):e.month+1},mm:function(t,e){return t?2:i.lead(e.month+1)},mmm:function(e,n){var i=this.settings.monthsShort;return e?t(e,i,n):i[n.month]},mmmm:function(e,n){var i=this.settings.monthsFull;return e?t(e,i,n):i[n.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var n=this;return n.formats.toArray(t).map(function(t){return i.trigger(n.formats[t],n,[0,e])||t.replace(/^!/,"")}).join("")}}}(),n.prototype.isDateExact=function(t,n){var r=this;return i.isInteger(t)&&i.isInteger(n)||"boolean"==typeof t&&"boolean"==typeof n?t===n:(i.isDate(t)||e.isArray(t))&&(i.isDate(n)||e.isArray(n))?r.create(t).pick===r.create(n).pick:!(!e.isPlainObject(t)||!e.isPlainObject(n))&&r.isDateExact(t.from,n.from)&&r.isDateExact(t.to,n.to)},n.prototype.isDateOverlap=function(t,n){var r=this,o=r.settings.firstDay?1:0;return i.isInteger(t)&&(i.isDate(n)||e.isArray(n))?(t=t%7+o)===r.create(n).day+1:i.isInteger(n)&&(i.isDate(t)||e.isArray(t))?(n=n%7+o)===r.create(t).day+1:!(!e.isPlainObject(t)||!e.isPlainObject(n))&&r.overlapRanges(t,n)},n.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},n.prototype.deactivate=function(t,n){var r=this,o=r.item.disable.slice(0);return"flip"==n?r.flipEnable():!1===n?(r.flipEnable(1),o=[]):!0===n?(r.flipEnable(-1),o=[]):n.map(function(t){for(var n,a=0;a<o.length;a+=1)if(r.isDateExact(t,o[a])){n=!0;break}n||(i.isInteger(t)||i.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&o.push(t)}),o},n.prototype.activate=function(t,n){var r=this,o=r.item.disable,a=o.length;return"flip"==n?r.flipEnable():!0===n?(r.flipEnable(1),o=[]):!1===n?(r.flipEnable(-1),o=[]):n.map(function(t){var n,s,u,l;for(u=0;u<a;u+=1){if(s=o[u],r.isDateExact(s,t)){n=o[u]=null,l=!0;break}if(r.isDateOverlap(s,t)){e.isPlainObject(t)?(t.inverted=!0,n=t):e.isArray(t)?(n=t,n[3]||n.push("inverted")):i.isDate(t)&&(n=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(n)for(u=0;u<a;u+=1)if(r.isDateExact(o[u],t)){o[u]=null;break}if(l)for(u=0;u<a;u+=1)if(r.isDateOverlap(o[u],t)){o[u]=null;break}n&&o.push(n)}),o.filter(function(t){return null!=t})},n.prototype.nodes=function(t){var e=this,n=e.settings,r=e.item,o=r.now,a=r.select,s=r.highlight,u=r.view,l=r.disable,c=r.min,d=r.max,f=function(t,e){return n.firstDay&&(t.push(t.shift()),e.push(e.shift())),i.node("thead",i.node("tr",i.group({min:0,max:6,i:1,node:"th",item:function(i){return[t[i],n.klass.weekdays,'scope=col title="'+e[i]+'"']}})))}((n.showWeekdaysFull?n.weekdaysFull:n.weekdaysLetter).slice(0),n.weekdaysFull.slice(0)),h=function(t){return i.node("div"," ",n.klass["nav"+(t?"Next":"Prev")]+(t&&u.year>=d.year&&u.month>=d.month||!t&&u.year<=c.year&&u.month<=c.month?" "+n.klass.navDisabled:""),"data-nav="+(t||-1)+" "+i.ariaAttr({role:"button",controls:e.$node[0].id+"_table"})+' title="'+(t?n.labelMonthNext:n.labelMonthPrev)+'"')},p=function(r){var o=n.showMonthsShort?n.monthsShort:n.monthsFull;return"short_months"==r&&(o=n.monthsShort),n.selectMonths&&void 0==r?i.node("select",i.group({min:0,max:11,i:1,node:"option",item:function(t){return[o[t],0,"value="+t+(u.month==t?" selected":"")+(u.year==c.year&&t<c.month||u.year==d.year&&t>d.month?" disabled":"")]}}),n.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+i.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+n.labelMonthSelect+'"'):"short_months"==r?null!=a?i.node("div",o[a.month]):i.node("div",o[u.month]):i.node("div",o[u.month],n.klass.month)},v=function(r){var o=u.year,a=!0===n.selectYears?5:~~(n.selectYears/2);if(a){var s=c.year,l=d.year,f=o-a,h=o+a;if(s>f&&(h+=s-f,f=s),l<h){var p=f-s,v=h-l;f-=p>v?v:p,h=l}if(n.selectYears&&void 0==r)return i.node("select",i.group({min:f,max:h,i:1,node:"option",item:function(t){return[t,0,"value="+t+(o==t?" selected":"")]}}),n.klass.selectYear+" browser-default",(t?"":"disabled")+" "+i.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+n.labelYearSelect+'"')}return"raw"==r?i.node("div",o):i.node("div",o,n.klass.year)};return createDayLabel=function(){return null!=a?i.node("div",a.date):i.node("div",o.date)},createWeekdayLabel=function(){var t;return t=null!=a?a.day:o.day,n.weekdaysFull[t]},i.node("div",i.node("div",createWeekdayLabel(),"picker__weekday-display")+i.node("div",p("short_months"),n.klass.month_display)+i.node("div",createDayLabel(),n.klass.day_display)+i.node("div",v("raw"),n.klass.year_display),n.klass.date_display)+i.node("div",i.node("div",(n.selectYears,p()+v()+h()+h(1)),n.klass.header)+i.node("table",f+i.node("tbody",i.group({min:0,max:5,i:1,node:"tr",item:function(t){var r=n.firstDay&&0===e.create([u.year,u.month,1]).day?-7:0;return[i.group({min:7*t-u.day+r+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(t){t=e.create([u.year,u.month,t+(n.firstDay?1:0)]);var r=a&&a.pick==t.pick,f=s&&s.pick==t.pick,h=l&&e.disabled(t)||t.pick<c.pick||t.pick>d.pick,p=i.trigger(e.formats.toString,e,[n.format,t]);return[i.node("div",t.date,function(e){return e.push(u.month==t.month?n.klass.infocus:n.klass.outfocus),o.pick==t.pick&&e.push(n.klass.now),r&&e.push(n.klass.selected),f&&e.push(n.klass.highlighted),h&&e.push(n.klass.disabled),e.join(" ")}([n.klass.day]),"data-pick="+t.pick+" "+i.ariaAttr({role:"gridcell",label:p,selected:!(!r||e.$node.val()!==p)||null,activedescendant:!!f||null,disabled:!!h||null})),"",i.ariaAttr({role:"presentation"})]}})]}})),n.klass.table,'id="'+e.$node[0].id+'_table" '+i.ariaAttr({role:"grid",controls:e.$node[0].id,readonly:!0})),n.klass.calendar_container)+i.node("div",i.node("button",n.today,"btn-flat picker__today","type=button data-pick="+o.pick+(t&&!e.disabled(o)?"":" disabled")+" "+i.ariaAttr({controls:e.$node[0].id}))+i.node("button",n.clear,"btn-flat picker__clear","type=button data-clear=1"+(t?"":" disabled")+" "+i.ariaAttr({controls:e.$node[0].id}))+i.node("button",n.close,"btn-flat picker__close","type=button data-close=true "+(t?"":" disabled")+" "+i.ariaAttr({controls:e.$node[0].id})),n.klass.footer)},n.defaults=function(t){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:t+"table",header:t+"header",date_display:t+"date-display",day_display:t+"day-display",month_display:t+"month-display",year_display:t+"year-display",calendar_container:t+"calendar-container",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",
  buttonClose:t+"button--close"}}}(t.klasses().picker+"__"),t.extend("pickadate",n)}),function(t){function e(){var e=+t(this).attr("data-length"),n=+t(this).val().length,i=n<=e;t(this).parent().find('span[class="character-counter"]').html(n+"/"+e),r(i,t(this))}function n(e){var n=e.parent().find('span[class="character-counter"]');n.length||(n=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),e.parent().append(n))}function i(){t(this).parent().find('span[class="character-counter"]').html("")}function r(t,e){var n=e.hasClass("invalid");t&&n?e.removeClass("invalid"):t||n||(e.removeClass("valid"),e.addClass("invalid"))}t.fn.characterCounter=function(){return this.each(function(){var r=t(this);r.parent().find('span[class="character-counter"]').length||void 0!==r.attr("data-length")&&(r.on("input",e),r.on("focus",e),r.on("blur",i),n(r))})},t(document).ready(function(){t("input, textarea").characterCounter()})}(jQuery),function(t){var e={init:function(e){var n={duration:200,dist:-100,shift:0,padding:0,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null};e=t.extend(n,e);var i=Materialize.objectSelectorString(t(this));return this.each(function(n){function r(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function o(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function a(t){return t>=C?t%C:t<0?a(C+t%C):t}function s(n){var i,r,o,s,u,l,c,d=b;if($="number"==typeof n?n:$,b=Math.floor(($+x/2)/x),o=$-b*x,s=o<0?1:-1,u=-s*o*2/x,r=C>>1,e.fullWidth?c="translateX(0)":(c="translateX("+(N[0].clientWidth-g)/2+"px) ",c+="translateY("+(N[0].clientHeight-m)/2+"px)"),q){var f=b%C,h=j.find(".indicator-item.active");h.index()!==f&&(h.removeClass("active"),j.find(".indicator-item").eq(f).addClass("active"))}for((!e.noWrap||b>=0&&b<C)&&(l=v[a(b)],t(l).hasClass("active")||(N.find(".carousel-item").removeClass("active"),t(l).addClass("active")),l.style[O]=c+" translateX("+-o/2+"px) translateX("+s*e.shift*u*i+"px) translateZ("+e.dist*u+"px)",l.style.zIndex=0,e.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*u,l.style.opacity=tweenedOpacity,l.style.display="block"),i=1;i<=r;++i)e.fullWidth?(zTranslation=e.dist,tweenedOpacity=i===r&&o<0?1-u:1):(zTranslation=e.dist*(2*i+u*s),tweenedOpacity=1-.2*(2*i+u*s)),(!e.noWrap||b+i<C)&&(l=v[a(b+i)],l.style[O]=c+" translateX("+(e.shift+(x*i-o)/2)+"px) translateZ("+zTranslation+"px)",l.style.zIndex=-i,l.style.opacity=tweenedOpacity,l.style.display="block"),e.fullWidth?(zTranslation=e.dist,tweenedOpacity=i===r&&o>0?1-u:1):(zTranslation=e.dist*(2*i-u*s),tweenedOpacity=1-.2*(2*i-u*s)),(!e.noWrap||b-i>=0)&&(l=v[a(b-i)],l.style[O]=c+" translateX("+(-e.shift+(-x*i-o)/2)+"px) translateZ("+zTranslation+"px)",l.style.zIndex=-i,l.style.opacity=tweenedOpacity,l.style.display="block");if((!e.noWrap||b>=0&&b<C)&&(l=v[a(b)],l.style[O]=c+" translateX("+-o/2+"px) translateX("+s*e.shift*u+"px) translateZ("+e.dist*u+"px)",l.style.zIndex=0,e.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*u,l.style.opacity=tweenedOpacity,l.style.display="block"),d!==b&&"function"==typeof e.onCycleTo){var p=N.find(".carousel-item").eq(a(b));e.onCycleTo.call(this,p,I)}}function u(){var t,e,n,i;t=Date.now(),e=t-M,M=t,n=$-_,_=$,i=1e3*n/(1+e),A=.8*i+.2*A}function l(){var t,n;E&&(t=Date.now()-M,n=E*Math.exp(-t/e.duration),n>2||n<-2?(s(T-n),requestAnimationFrame(l)):s(T))}function c(n){if(I)return n.preventDefault(),n.stopPropagation(),!1;if(!e.fullWidth){var i=t(n.target).closest(".carousel-item").index();0!==b%C-i&&(n.preventDefault(),n.stopPropagation()),d(i)}}function d(t){var n=b%C-t;e.noWrap||(n<0?Math.abs(n+C)<Math.abs(n)&&(n+=C):n>0&&Math.abs(n-C)<n&&(n-=C)),n<0?N.trigger("carouselNext",[Math.abs(n)]):n>0&&N.trigger("carouselPrev",[n])}function f(t){t.preventDefault(),w=!0,I=!1,V=!1,k=r(t),S=o(t),A=E=0,_=$,M=Date.now(),clearInterval(P),P=setInterval(u,100)}function h(t){var e,n;if(w)if(e=r(t),y=o(t),n=k-e,Math.abs(S-y)<30&&!V)(n>2||n<-2)&&(I=!0,k=e,s($+n));else{if(I)return t.preventDefault(),t.stopPropagation(),!1;V=!0}if(I)return t.preventDefault(),t.stopPropagation(),!1}function p(t){if(w)return w=!1,clearInterval(P),T=$,(A>10||A<-10)&&(E=.9*A,T=$+E),T=Math.round(T/x)*x,e.noWrap&&(T>=x*(C-1)?T=x*(C-1):T<0&&(T=0)),E=T-$,M=Date.now(),requestAnimationFrame(l),I&&(t.preventDefault(),t.stopPropagation()),!1}var v,g,m,$,b,w,x,C,k,S,E,T,A,O,_,M,P,I,V,D=i+n,j=t('<ul class="indicators"></ul>'),N=t(this),q=N.attr("data-indicators")||e.indicators;if(N.hasClass("initialized"))return t(this).trigger("carouselNext",[1e-6]),!0;if(e.fullWidth){e.dist=0;var L=N.find(".carousel-item img").first();L.length?imageHeight=L.on("load",function(){N.css("height",t(this).height())}):(imageHeight=N.find(".carousel-item").first().height(),N.css("height",imageHeight)),q&&N.find(".carousel-fixed-item").addClass("with-indicators")}N.addClass("initialized"),w=!1,$=T=0,v=[],g=N.find(".carousel-item").first().innerWidth(),m=N.find(".carousel-item").first().innerHeight(),x=2*g+e.padding,N.find(".carousel-item").each(function(e){if(v.push(t(this)[0]),q){var n=t('<li class="indicator-item"></li>');0===e&&n.addClass("active"),n.click(function(e){e.stopPropagation(),d(t(this).index())}),j.append(n)}}),q&&N.append(j),C=v.length,O="transform",["webkit","Moz","O","ms"].every(function(t){var e=t+"Transform";return void 0===document.body.style[e]||(O=e,!1)}),t(window).off("resize."+D).on("resize."+D,function(){e.fullWidth?(g=N.find(".carousel-item").first().innerWidth(),m=N.find(".carousel-item").first().innerHeight(),x=2*g+e.padding,$=2*b*g,T=$):s()}),function(){void 0!==window.ontouchstart&&(N[0].addEventListener("touchstart",f),N[0].addEventListener("touchmove",h),N[0].addEventListener("touchend",p)),N[0].addEventListener("mousedown",f),N[0].addEventListener("mousemove",h),N[0].addEventListener("mouseup",p),N[0].addEventListener("mouseleave",p),N[0].addEventListener("click",c)}(),s($),t(this).on("carouselNext",function(t,e){void 0===e&&(e=1),T=x*Math.round($/x)+x*e,$!==T&&(E=T-$,M=Date.now(),requestAnimationFrame(l))}),t(this).on("carouselPrev",function(t,e){void 0===e&&(e=1),T=x*Math.round($/x)-x*e,$!==T&&(E=T-$,M=Date.now(),requestAnimationFrame(l))}),t(this).on("carouselSet",function(t,e){void 0===e&&(e=0),d(e)})})},next:function(e){t(this).trigger("carouselNext",[e])},prev:function(e){t(this).trigger("carouselPrev",[e])},set:function(e){t(this).trigger("carouselSet",[e])}};t.fn.carousel=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.carousel"):e.init.apply(this,arguments)}}(jQuery),function(t){var e={init:function(e){return this.each(function(){var n=t("#"+t(this).attr("data-activates")),i=(t("body"),t(this)),r=i.parent(".tap-target-wrapper"),o=r.find(".tap-target-wave"),a=r.find(".tap-target-origin"),s=i.find(".tap-target-content");r.length||(r=i.wrap(t('<div class="tap-target-wrapper"></div>')).parent()),s.length||(s=t('<div class="tap-target-content"></div>'),i.append(s)),o.length||(o=t('<div class="tap-target-wave"></div>'),a.length||(a=n.clone(!0,!0),a.addClass("tap-target-origin"),a.removeAttr("id"),a.removeAttr("style"),o.append(a)),r.append(o));var u=function(){r.is(".open")&&(r.removeClass("open"),a.off("click.tapTarget"),t(document).off("click.tapTarget"))};"open"==e&&(function(){var e="fixed"===n.css("position");if(!e)for(var a=n.parents(),u=0;u<a.length&&!(e="fixed"==t(a[u]).css("position"));u++);var l=n.outerWidth(),c=n.outerHeight(),d=e?n.offset().top-t(document).scrollTop():n.offset().top,f=e?n.offset().left-t(document).scrollLeft():n.offset().left,h=t(window).width(),p=t(window).height(),v=h/2,g=p/2,m=f<=v,$=f>v,y=d<=g,b=d>g,w=f>=.25*h&&f<=.75*h,x=i.outerWidth(),C=i.outerHeight(),k=d+c/2-C/2,S=f+l/2-x/2,E=e?"fixed":"absolute",T=w?x:x/2+l,A=C/2,O=y?C/2:0,_=m&&!w?x/2-l:0,M=l,P=b?"bottom":"top",I=2*l,V=I,D=C/2-V/2,j=x/2-I/2,N={};N.top=y?k:"",N.right=$?h-S-x:"",N.bottom=b?p-k-C:"",N.left=m?S:"",N.position=E,r.css(N),s.css({width:T,height:A,top:O,right:0,bottom:0,left:_,padding:M,verticalAlign:P}),o.css({top:D,left:j,width:I,height:V})}(),function(){r.is(".open")||(r.addClass("open"),setTimeout(function(){a.off("click.tapTarget").on("click.tapTarget",function(t){u(),a.off("click.tapTarget")}),t(document).off("click.tapTarget").on("click.tapTarget",function(e){u(),t(document).off("click.tapTarget")})},0))}()),"close"==e&&u()})},open:function(){},close:function(){}};t.fn.tapTarget=function(n){return e[n]||"object"==typeof n?e.init.apply(this,arguments):void t.error("Method "+n+" does not exist on jQuery.tap-target")}}(jQuery),angular.module("cssGridCC",["dndLists"]).controller("CSSGridController",["$scope",function(t){var e=this;t.$watch(function(){e.addExtraRows()});var n=["F44336","E91E63","9C27B0","673AB7","3F51B5","2196F3","00BCD4","009688","4CAF50","8BC34A","CDDC39","FFEB3B","FFC107","FF9800","FF5722","795548","607D8B"];e.selected_item=-1,e.guids=!0,e.expermental_guids=!0,e.natural_cols=0,e.natural_rows=0,e.grid_template_columns_arr=[{value:1,unit:"fr",repeat:2},{value:100,unit:"px",repeat:2}],e.grid_template_columns="",e.creatColumnsString=function(){e.natural_cols=0,e.grid_template_columns=e.grid_template_columns_arr.map(function(t){var n=t.repeat>1?"repeat("+t.repeat+", ":"",i=t.repeat>1?")":"";return e.natural_cols+=t.repeat,""+n+t.value+t.unit+i}),e.grid_template_columns=e.grid_template_columns.join(" "),setTimeout(function(){return $("select").material_select()},0)},e.creatColumnsString(),e.addColumn=function(){e.grid_template_columns_arr.push({value:1,unit:"fr",repeat:1}),e.creatColumnsString(),setTimeout(function(){return $("select").material_select()},0)},e.removeColumn=function(t){e.grid_template_columns_arr.splice(t,1),e.creatColumnsString(),setTimeout(function(){return $("select").material_select()},0)},e.grid_template_rows_arr=[{value:1,unit:"fr",repeat:3},{value:100,unit:"px",repeat:2}],e.grid_template_rows="",e.creatRowsString=function(){e.natural_rows=0,e.grid_template_rows=e.grid_template_rows_arr.map(function(t){var n=t.repeat>1?"repeat("+t.repeat+", ":"",i=t.repeat>1?")":"";return e.natural_rows+=t.repeat,""+n+t.value+t.unit+i}),e.grid_template_rows=e.grid_template_rows.join(" "),setTimeout(function(){return $("select").material_select()},0)},e.creatRowsString(),e.addRow=function(){e.grid_template_rows_arr.push({value:1,unit:"fr",repeat:1}),e.creatRowsString(),setTimeout(function(){return $("select").material_select()},0)},e.removeRow=function(t){e.grid_template_rows_arr.splice(t,1),e.creatRowsString(),setTimeout(function(){return $("select").material_select()},0)},e.container_height="",e.grid_column_gap=15,e.grid_row_gap=15,e.justify_items="stretch",e.align_items="stretch",e.justify_content="stretch",e.align_content="stretch",e.grid_auto_columns={value:30,unit:"px"},e.grid_auto_rows={value:30,unit:"px"},e.grid_auto_flow="row",e.ghosts=new Array(250),e.updateGhosts=function(){e.ghosts=e.container_height?new Array(e.items.length):new Array(250)},e.items=[],e.createNewItem=function(){e.items.push({"grid-column-start":{type:"auto",value:""},"grid-column-end":{type:"auto",value:""},"grid-row-start":{type:"auto",value:""},"grid-row-end":{type:"auto",value:""},"justify-self":"auto","align-self":"auto",colour:n[Math.floor(Math.random()*n.length)]}),e.updateGhosts()};for(var i=0;i<e.natural_rows*e.natural_cols;i++)e.createNewItem();e.getItemCells=function(t){if("auto"==t["grid-column-start"].type)return 1},e.extra_top_rows=0,e.extra_top_rows_text="",e.extra_right_cols=0,e.extra_left_cols=0,e.extra_right_cols_text="",e.addExtraRows=function(){e.extra_top_rows=0,e.extra_right_cols=0,e.extra_left_cols=0;for(var t=e.items.length-1;t>=0;t--){var n=e.items[t]["grid-row-start"].type,i=e.items[t]["grid-row-end"].type,r=parseInt(e.items[t]["grid-row-start"].value)||0,o=parseInt(e.items[t]["grid-row-end"].value)||0;if("span"==n&&"line"==i&&r&&o&&r>=o){var a=r-o+1;e.extra_top_rows=a>e.extra_top_rows?a:e.extra_top_rows}"line"!=i||r||1!=o||(e.extra_top_rows=o>e.extra_top_rows?o:e.extra_top_rows);var s=e.items[t]["grid-column-start"].type,u=e.items[t]["grid-column-end"].type,l=parseInt(e.items[t]["grid-column-start"].value)||0,c=parseInt(e.items[t]["grid-column-end"].value)||0;if("span"==s&&"line"==u&&l&&c)if(c>l)c-1>e.natural_cols&&c-e.natural_cols-1>e.extra_right_cols&&(e.extra_right_cols=c-e.natural_cols-1);else{var d=l-c+1,f=c-1-e.natural_cols;e.extra_right_cols=f>e.extra_right_cols?f:e.extra_right_cols,e.extra_left_cols=d>e.extra_left_cols?d:e.extra_left_cols}else if("span"==s&&"line"!=u)e.extra_right_cols=l>e.natural_cols&&l-e.natural_cols>e.extra_right_cols?l-e.natural_cols:e.extra_right_cols;else if("line"==s&&"line"==u&&c==l){var h=l;e.extra_right_cols=h>e.natural_cols&&h-e.natural_cols>e.extra_right_cols?h-e.natural_cols:e.extra_right_cols}else{var p="auto"!=s&&l?l:0,v=0;if("line"==u?v=c||0:"span"==u&&(v=c?p+c:0),p||"line"!=u||1!=c)if(!p&&"span"==u&&c>e.natural_cols)e.extra_right_cols=c-e.natural_cols>e.extra_right_cols?c-e.natural_cols:e.extra_right_cols;else if(!v&&"line"==s&&l>e.natural_cols)e.extra_right_cols=l-e.natural_cols>e.extra_right_cols?l-e.natural_cols:e.extra_right_cols;else if(!v&&"span"==s&&l>e.natural_cols)e.extra_right_cols=l-e.natural_cols>e.extra_right_cols?l-e.natural_cols:e.extra_right_cols;else{var g=Math.max(p,v),m=Math.min(p,v);g=Math.max(m,g-1),e.extra_right_cols=g>e.natural_cols&&g-e.natural_cols>e.extra_right_cols?g-e.natural_cols:e.extra_right_cols}else e.extra_left_cols=c>e.extra_left_cols?c:e.extra_left_cols}}e.extra_right_cols_text=e.extra_right_cols?" repeat("+e.extra_right_cols+", "+e.grid_auto_columns.value+e.grid_auto_columns.unit+")":"",e.extra_left_cols_text=e.extra_left_cols?"repeat("+e.extra_left_cols+", "+e.grid_auto_columns.value+e.grid_auto_columns.unit+") ":"",e.extra_top_rows_text=e.extra_top_rows?"repeat("+e.extra_top_rows+", "+e.grid_auto_rows.value+e.grid_auto_rows.unit+") ":""},e.getGridItemValue=function(t){return"line"==t.type?t.value?t.value+"":"auto":"span"==t.type&&t.value?"span "+t.value:"auto"},e.removeItem=function(t){e.items.splice(t,1),e.items.length==t&&(e.selected_item=t-1)},e.refresh=function(){setTimeout(function(){return $("select").material_select()},0)},e.toggleItem=function(t){e.selected_item=-1==e.selected_item||e.selected_item!=t?t:-1,e.refresh()}}]),$(document).ready(function(){$("select").material_select(),$(".tooltipped").tooltip({delay:50}),$(".modal").modal()}),$(window).load(function(){$("body").removeClass("loading")});