PageSourceSearch

https://cowanplumbingandheating.co.uk/build/default-v2/900.js

js cowanplumbingandheating.co.uk collected 2026-10-06 12:09:00 UTC 269,045 bytes, 2 lines download raw bytes

1/*! For license information please see 900.js.LICENSE.txt */
2(self.webpackChunk=self.webpackChunk||[]).push([[900],{4426:(t,e,n)=>{var i=n(9755);!function(t){"use strict";var e={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(t){if(!z(t))return e;U(t.objectMaxDepth)&&(e.objectMaxDepth=r(t.objectMaxDepth)?t.objectMaxDepth:NaN),U(t.urlErrorParamsEnabled)&&X(t.urlErrorParamsEnabled)&&(e.urlErrorParamsEnabled=t.urlErrorParamsEnabled)}function r(t){return q(t)&&t>0}function o(t,n){n=n||Error;var i="https://errors.angularjs.org/1.8.3/",r=i.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(r,"g");return function(){var r,s,a=arguments[0],l=arguments[1],u="["+(t?t+":":"")+a+"] ",c=ft(arguments,2).map((function(t){return Bt(t,e.objectMaxDepth)}));if(u+=l.replace(/\{\d+\}/g,(function(t){var e=+t.slice(1,-1);return e<c.length?c[e].replace(o,""):t})),u+="\n"+i+(t?t+"/":"")+a,e.urlErrorParamsEnabled)for(s=0,r="?";s<c.length;s++,r="&")u+=r+"p"+s+"="+encodeURIComponent(c[s]);return new n(u)}}var s,a,l,u,c=/^\/(.+)\/([a-z]*)$/,h="validity",p=Object.prototype.hasOwnProperty,f=function(t){return F(t)?t.toLowerCase():t},d=function(t){return F(t)?t.toUpperCase():t},m=[].slice,g=[].splice,$=[].push,v=Object.prototype.toString,y=Object.getPrototypeOf,b=o("ng"),w=t.angular||(t.angular={}),x=0;function C(t){if(null==t||J(t))return!1;if(W(t)||F(t)||a&&t instanceof a)return!0;var e="length"in Object(t)&&t.length;return q(e)&&(e>=0&&e-1 in t||"function"==typeof t.item)}function _(t,e,n){var i,r;if(t)if(Z(t))for(i in t)"prototype"!==i&&"length"!==i&&"name"!==i&&t.hasOwnProperty(i)&&e.call(n,t[i],i,t);else if(W(t)||C(t)){var o="object"!=typeof t;for(i=0,r=t.length;i<r;i++)(o||i in t)&&e.call(n,t[i],i,t)}else if(t.forEach&&t.forEach!==_)t.forEach(e,n,t);else if(H(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)p.call(t,i)&&e.call(n,t[i],i,t);return t}function E(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 T(){return++x}function k(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function A(t,e,n){for(var i=t.$$hashKey,r=0,o=e.length;r<o;++r){var s=e[r];if(z(s)||Z(s))for(var a=Object.keys(s),l=0,u=a.length;l<u;l++){var c=a[l],h=s[c];n&&z(h)?B(h)?t[c]=new Date(h.valueOf()):K(h)?t[c]=new RegExp(h):h.nodeName?t[c]=h.cloneNode(!0):it(h)?t[c]=h.clone():"__proto__"!==c&&(z(t[c])||(t[c]=W(h)?[]:{}),A(t[c],[h],!0)):t[c]=h}}return k(t,i),t}function O(t){return A(t,m.call(arguments,1),!1)}function M(t){return A(t,m.call(arguments,1),!0)}function I(t){return parseInt(t,10)}s=t.document.documentMode;var D=Number.isNaN||function(t){return t!=t};function N(t,e){return O(Object.create(t),e)}function V(){}function R(t){return t}function P(t){return function(){return t}}function j(t){return Z(t.toString)&&t.toString!==v}function L(t){return void 0===t}function U(t){return void 0!==t}function z(t){return null!==t&&"object"==typeof t}function H(t){return null!==t&&"object"==typeof t&&!y(t)}function F(t){return"string"==typeof t}function q(t){return"number"==typeof t}function B(t){return"[object Date]"===v.call(t)}function W(t){return Array.isArray(t)||t instanceof Array}function G(t){switch(v.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function Z(t){return"function"==typeof t}function K(t){return"[object RegExp]"===v.call(t)}function J(t){return t&&t.window===t}function Y(t){return t&&t.$evalAsync&&t.$watch}function X(t){return"boolean"==typeof t}function Q(t){return t&&Z(t.then)}V.$inject=[],R.$inject=[];var tt=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var et=function(t){return F(t)?t.trim():t},nt=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function it(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function rt(t){return f(t.nodeName||t[0]&&t[0].nodeName)}function ot(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function st(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function at(t,e,n){var i,o,s=[],a=[];if(n=r(n)?n:NaN,e){if((o=e)&&q(o.length)&&tt.test(v.call(o))||(i=e,"[object ArrayBuffer]"===v.call(i)))throw b("cpta","Can't copy! TypedArray de
2stination cannot be mutated.");if(t===e)throw b("cpi","Can't copy! Source and destination are identical.");return W(e)?e.length=0:_(e,(function(t,n){"$$hashKey"!==n&&delete e[n]})),s.push(t),a.push(e),l(t,e,n)}return u(t,n);function l(t,e,n){if(--n<0)return"...";var i,r=e.$$hashKey;if(W(t))for(var o=0,s=t.length;o<s;o++)e.push(u(t[o],n));else if(H(t))for(i in t)e[i]=u(t[i],n);else if(t&&"function"==typeof t.hasOwnProperty)for(i in t)t.hasOwnProperty(i)&&(e[i]=u(t[i],n));else for(i in t)p.call(t,i)&&(e[i]=u(t[i],n));return k(e,r),e}function u(t,e){if(!z(t))return t;var n=s.indexOf(t);if(-1!==n)return a[n];if(J(t)||Y(t))throw b("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var i=!1,r=function(t){switch(v.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(u(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(Z(t.cloneNode))return t.cloneNode(!0)}(t);return void 0===r&&(r=W(t)?[]:Object.create(y(t)),i=!0),s.push(t),a.push(r),i?l(t,r,e):r}}function lt(t,e){return t===e||t!=t&&e!=e}function ut(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;if(o===typeof e&&"object"===o){if(!W(t)){if(B(t))return!!B(e)&&lt(t.getTime(),e.getTime());if(K(t))return!!K(e)&&t.toString()===e.toString();if(Y(t)||Y(e)||J(t)||J(e)||W(e)||B(e)||K(e))return!1;for(i in r=zt(),t)if("$"!==i.charAt(0)&&!Z(t[i])){if(!ut(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r)&&"$"!==i.charAt(0)&&U(e[i])&&!Z(e[i]))return!1;return!0}if(!W(e))return!1;if((n=t.length)===e.length){for(i=0;i<n;i++)if(!ut(t[i],e[i]))return!1;return!0}}return!1}var ct=function(){if(!U(ct.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");ct.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ct.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(t){return!0}}(),noInlineStyle:!1}}return ct.rules},ht=function(){if(U(ht.name_))return ht.name_;var e,n,i,r,o=Tt.length;for(n=0;n<o;++n)if(i=Tt[n],e=t.document.querySelector("["+i.replace(":","\\:")+"jq]")){r=e.getAttribute(i+"jq");break}return ht.name_=r};function pt(t,e,n){return t.concat(m.call(e,n))}function ft(t,e){return m.call(t,e||0)}function dt(t,e){var n=arguments.length>2?ft(arguments,2):[];return!Z(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,pt(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function mt(e,n){var i=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=void 0:J(n)?i="$WINDOW":n&&t.document===n?i="$DOCUMENT":Y(n)&&(i="$SCOPE"),i}function gt(t,e){if(!L(t))return q(e)||(e=e?2:null),JSON.stringify(t,mt,e)}function $t(t){return F(t)?JSON.parse(t):t}var vt=/:/g;function yt(t,e){t=t.replace(vt,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return D(n)?e:n}function bt(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}function wt(t,e,n){n=n?-1:1;var i=t.getTimezoneOffset();return bt(t,n*(yt(e,i)-i))}function xt(t){t=a(t).clone().empty();var e=a("<div></div>").append(t).html();try{return t[0].nodeType===Ft?f(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(t,e){return"<"+f(e)}))}catch(t){return f(e)}}function Ct(t){try{return decodeURIComponent(t)}catch(t){}}function _t(t){var e={};
2return _((t||"").split("&"),(function(t){var n,i,r;t&&(i=t=t.replace(/\+/g,"%20"),-1!==(n=t.indexOf("="))&&(i=t.substring(0,n),r=t.substring(n+1)),U(i=Ct(i))&&(r=!U(r)||Ct(r),p.call(e,i)?W(e[i])?e[i].push(r):e[i]=[e[i],r]:e[i]=r))})),e}function Et(t){return St(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function St(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":"+")}var Tt=["ng-","data-ng-","ng:","x-ng-"];var kt=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);function At(e,n){var i,r,o={};if(_(Tt,(function(t){var n=t+"app";!i&&e.hasAttribute&&e.hasAttribute(n)&&(i=e,r=e.getAttribute(n))})),_(Tt,(function(t){var n,o=t+"app";!i&&(n=e.querySelector("["+o.replace(":","\\:")+"]"))&&(i=n,r=n.getAttribute(o))})),i){if(!kt)return void t.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==function(t,e){var n,i,r=Tt.length;for(i=0;i<r;++i)if(n=Tt[i]+e,F(n=t.getAttribute(n)))return n;return null}(i,"strict-di"),n(i,r?[r]:[],o)}}function Ot(e,n,i){z(i)||(i={});i=O({strictDi:!1},i);var r=function(){if((e=a(e)).injector()){var r=e[0]===t.document?"document":xt(e);throw b("btstrpd","App already bootstrapped with this element '{0}'",r.replace(/</,"&lt;").replace(/>/,"&gt;"))}(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=Qe(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},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(t&&o.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(o,"")),t&&!s.test(t.name))return r();t.name=t.name.replace(s,""),w.resumeBootstrap=function(t){return _(t,(function(t){n.push(t)})),r()},Z(w.resumeDeferredBootstrap)&&w.resumeDeferredBootstrap()}function Mt(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function It(t){var e=w.element(t).injector();if(!e)throw b("test","no injector found for element argument to getTestability");return e.get("$$testability")}var Dt=/[A-Z]/g;function Nt(t,e){return e=e||"_",t.replace(Dt,(function(t,n){return(n?e:"")+t.toLowerCase()}))}var Vt=!1;function Rt(){de.legacyXHTMLReplacement=!0}function Pt(t,e,n){if(!t)throw b("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function jt(t,e,n){return n&&W(t)&&(t=t[t.length-1]),Pt(Z(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function Lt(t,e){if("hasOwnProperty"===t)throw b("badname","hasOwnProperty is not a valid {0} name",e)}function Ut(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=a(m.call(t,0,r))),e.push(n));return e||t}function zt(){return Object.create(null)}function Ht(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!j(t)||W(t)||B(t)?gt(t):t.toString()}return t}var Ft=3;function qt(t,e){if(W(t)){e=e||[];for(var n=0,i=t.length;n<i;n++)e[n]=t[n]}else if(z(t))for(var r in e=e||{},t)"$"===r.charAt(0)&&"$"===r.charAt(1)||(e[r]=t[r]);return e||t}function Bt(t,e){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):L(t)?"undefined":"string"!=typeof t?function(t,e){var n=[];return r(e)&&(t=w.copy(t,null,e)),JSON.stringify(t,(function(t,e){if(z(e=mt(t,e))){if(n.indexOf(e)>=0)return"...";n.push(e)}return e}))}(t,e):t}var Wt={full:"1.8.3",major:1,minor:8,dot:3,codeName:"ultimate-farewell"};de.expando="ng339";
2var Gt=de.cache={},Zt=1;de._data=function(t){return this.cache[t[this.expando]]||{}};var Kt=/-([a-z])/g,Jt=/^-ms-/,Yt={mouseleave:"mouseout",mouseenter:"mouseover"},Xt=o("jqLite");function Qt(t,e){return e.toUpperCase()}function te(t){return t.replace(Kt,Qt)}var ee=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ne=/<|&#?\w+;/,ie=/<([\w:-]+)/,re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,oe={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};oe.tbody=oe.tfoot=oe.colgroup=oe.caption=oe.thead,oe.th=oe.td;var se={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var ae in oe){var le=oe[ae],ue=le.slice().reverse();se[ae]=[ue.length,"<"+ue.join("><")+">","</"+le.join("></")+">"]}function ce(t){return!ne.test(t)}function he(t){var e=t.nodeType;return 1===e||!e||9===e}function pe(e,n){var i,r,o,a,l,u=n.createDocumentFragment(),c=[];if(ce(e))c.push(n.createTextNode(e));else{if(i=u.appendChild(n.createElement("div")),r=(ie.exec(e)||["",""])[1].toLowerCase(),a=de.legacyXHTMLReplacement?e.replace(re,"<$1></$2>"):e,s<10)for(o=se[r]||se._default,i.innerHTML=o[1]+a+o[2],l=o[0];l--;)i=i.firstChild;else{for(l=(o=oe[r]||[]).length;--l>-1;)i.appendChild(t.document.createElement(o[l])),i=i.firstChild;i.innerHTML=a}c=pt(c,i.childNodes),(i=u.firstChild).textContent=""}return u.textContent="",u.innerHTML="",_(c,(function(t){u.appendChild(t)})),u}se.optgroup=se.option;var fe=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};function de(e){if(e instanceof de)return e;var n,i,r,o;if(F(e)&&(e=et(e),n=!0),!(this instanceof de)){if(n&&"<"!==e.charAt(0))throw Xt("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new de(e)}n?Se(this,(i=e,r=r||t.document,(o=ee.exec(i))?[r.createElement(o[1])]:(o=pe(i,r))?o.childNodes:[])):Z(e)?Me(e):Se(this,e)}function me(t){return t.cloneNode(!0)}function ge(t,e){!e&&he(t)&&a.cleanData([t]),t.querySelectorAll&&a.cleanData(t.querySelectorAll("*"))}function $e(t){var e;for(e in t)return!1;return!0}function ve(t){var e=t.ng339,n=e&&Gt[e],i=n&&n.events,r=n&&n.data;r&&!$e(r)||i&&!$e(i)||(delete Gt[e],t.ng339=void 0)}function ye(t,e,n,i){if(U(i))throw Xt("offargs","jqLite#off() does not support the `selector` argument");var r=we(t),o=r&&r.events,s=r&&r.handle;if(s){if(e){var a=function(e){var i=o[e];U(n)&&st(i||[],n),U(n)&&i&&i.length>0||(t.removeEventListener(e,s),delete o[e])};_(e.split(" "),(function(t){a(t),Yt[t]&&a(Yt[t])}))}else for(e in o)"$destroy"!==e&&t.removeEventListener(e,s),delete o[e];ve(t)}}function be(t,e){var n=t.ng339,i=n&&Gt[n];i&&(e?delete i.data[e]:i.data={},ve(t))}function we(t,e){var n=t.ng339,i=n&&Gt[n];return e&&!i&&(t.ng339=n=++Zt,i=Gt[n]={events:{},data:{},handle:void 0}),i}function xe(t,e,n){if(he(t)){var i,r=U(n),o=!r&&e&&!z(e),s=!e,a=we(t,!o),l=a&&a.data;if(r)l[te(e)]=n;else{if(s)return l;if(o)return l&&l[te(e)];for(i in e)l[te(i)]=e[i]}}}function Ce(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function _e(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),i=n;_(e.split(" "),(function(t){t=et(t),i=i.replace(" "+t+" "," ")})),i!==n&&t.setAttribute("class",et(i))}}function Ee(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),i=n;_(e.split(" "),(function(t){t=et(t),-1===i.indexOf(" "+t+" ")&&(i+=t+" ")})),i!==n&&t.setAttribute("class",et(i))}}function Se(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 Te(t,e){return ke(t,"$"+(e||"ngController")+"Controller")}function ke(t,e,n){9===t.nodeType&&(t=t.documentElement);for(var i=W(e)?e:[e];t;){for(var r=0,o=i.length;r<o;r++)if(U(n=a.data(t,i[r])))return n;t=t.parentNode||11===t.nodeType&&t.host}}function Ae(t){for(ge(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Oe(t,e){e||ge(t);var n=t.parentNode;n&&n.removeChild(t)}function Me(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))}var Ie=de.prototype={ready:Me,toString:function(){var t=[];return _(this,(function(e){t.push(""+e)})),"["+t.join(", ")+"]"},eq:function(t){return a(t>=0?this[t]:this[this.length+t])},length:0,push:$,sort:[].sort,splice:[].splice},De={};_("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(t){De[f(t)]=t}));var Ne={};_("input,select,option,textarea,button,form,details".split(","),(function(t){Ne[t]=!0}));var Ve={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Re(t,e){var n=De[e.toLowerCase()];return n&&Ne[rt(t)]&&n}function Pe(t,e,n){n.call(t,e)}function je(t,e,n){var i=e.relatedTarget;i&&(i===t||fe.call(t,i))||n.call(t,e)}function Le(){this.$get=function(){return O(de,{hasClass:function(t,e){return t.attr&&(t=t[0]),Ce(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),Ee(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),_e(t,e)}})}}function Ue(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||T)():i+":"+t}_({data:xe,removeData:be,hasData:function(t){for(var e in Gt[t.ng339])return!0;return!1},cleanData:function(t){for(var e=0,n=t.length;e<n;e++)be(t[e]),ye(t[e])}},(function(t,e){de[e]=t})),_({data:xe,inheritedData:ke,scope:function(t){return a.data(t,"$scope")||ke(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return a.data(t,"$isolateScope")||a.data(t,"$isolateScopeNoTemplate")},controller:Te,injector:function(t){return ke(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Ce,css:function(t,e,n){if(e=function(t){return te(t.replace(Jt,"ms-"))}(e),!U(n))return t.style[e];t.style[e]=n}
2,attr:function(t,e,n){var i,r=t.nodeType;if(r!==Ft&&2!==r&&8!==r&&t.getAttribute){var o=f(e),s=De[o];if(!U(n))return i=t.getAttribute(e),s&&null!==i&&(i=o),null===i?void 0:i;null===n||!1===n&&s?t.removeAttribute(e):t.setAttribute(e,s?o:n)}},prop:function(t,e,n){if(!U(n))return t[e];t[e]=n},text:function(){return t.$dv="",t;function t(t,e){if(L(e)){var n=t.nodeType;return 1===n||n===Ft?t.textContent:""}t.textContent=e}}(),val:function(t,e){if(L(e)){if(t.multiple&&"select"===rt(t)){var n=[];return _(t.options,(function(t){t.selected&&n.push(t.value||t.text)})),n}return t.value}t.value=e},html:function(t,e){if(L(e))return t.innerHTML;ge(t,!0),t.innerHTML=e},empty:Ae},(function(t,e){de.prototype[e]=function(e,n){var i,r,o=this.length;if(t!==Ae&&L(2===t.length&&t!==Ce&&t!==Te?e:n)){if(z(e)){for(i=0;i<o;i++)if(t===xe)t(this[i],e);else for(r in e)t(this[i],r,e[r]);return this}for(var s=t.$dv,a=L(s)?Math.min(o,1):o,l=0;l<a;l++){var u=t(this[l],e,n);s=s?s+u:u}return s}for(i=0;i<o;i++)t(this[i],e,n);return this}})),_({removeData:be,on:function(t,e,n,i){if(U(i))throw Xt("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(he(t)){var r=we(t,!0),o=r.events,s=r.handle;s||(s=r.handle=function(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(L(n.immediatePropagationStopped)){var s=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),s&&s.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var a=r.specialHandlerWrapper||Pe;o>1&&(r=qt(r));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||a(t,n,r[l])}};return n.elem=t,n}(t,o));for(var a=e.indexOf(" ")>=0?e.split(" "):[e],l=a.length,u=function(e,i,r){var a=o[e];a||((a=o[e]=[]).specialHandlerWrapper=i,"$destroy"===e||r||t.addEventListener(e,s)),a.push(n)};l--;)e=a[l],Yt[e]?(u(Yt[e],je),u(e,void 0,!0)):u(e)}},off:ye,one:function(t,e,n){(t=a(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;ge(t),_(new de(e),(function(e){n?i.insertBefore(e,n.nextSibling):i.replaceChild(e,t),n=e}))},children:function(t){var e=[];return _(t.childNodes,(function(t){1===t.nodeType&&e.push(t)})),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(1===n||11===n)for(var i=0,r=(e=new de(e)).length;i<r;i++){var o=e[i];t.appendChild(o)}},prepend:function(t,e){if(1===t.nodeType){var n=t.firstChild;_(new de(e),(function(e){t.insertBefore(e,n)}))}},wrap:function(t,e){var n,i,r;n=t,i=a(e).eq(0).clone()[0],(r=n.parentNode)&&r.replaceChild(i,n),i.appendChild(n)},remove:Oe,detach:function(t){Oe(t,!0)},after:function(t,e){var n=t,i=t.parentNode;if(i)for(var r=0,o=(e=new de(e)).length;r<o;r++){var s=e[r];i.insertBefore(s,n.nextSibling),n=s}},addClass:Ee,removeClass:_e,toggleClass:function(t,e,n){e&&_(e.split(" "),(function(e){var i=n;L(i)&&(i=!Ce(t,e)),(i?Ee:_e)(t,e)}))},parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:me,triggerHandler:function(t,e,n){var i,r,o,s=e.type||e,a=we(t),l=a&&a.events,u=l&&l[s];u&&(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=O(i,e)),r=qt(u),o=n?[i].concat(n):[i],_(r,(function(e){i.isImmediatePropagationStopped()||e.apply(t,o)})))}},(function(t,e){de.prototype[e]=function(e,n,i){for(var r,o=0,s=this.length;o<s;o++)L(r)?U(r=t(this[o],e,n,i))&&(r=a(r)):Se(r,t(this[o],e,n,i));return U(r)?r:this}})),de.prototype.bind=de.prototype.on,de.prototype.unbind=de.prototype.off;var ze=Object.create(null);function He(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}He.prototype={_idx:function(t){return t!==this._lastKey&&(this._lastKey=t,this._lastIndex=this._keys.indexOf(t)),this._lastIndex},_transformKey:function(t){return D(t)?ze:t},get:function(t){t=this._transformKey(t);var e=this._idx(t);if(-1!==e)return this._values[e]},has:function(t){return t=this._transformKey(t),-1!==this._idx(t)},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 Fe=He,qe=[function(){this.$get=[function(){return Fe}]}
2],Be=/^([^(]+?)=>/,We=/^[^(]*\(\s*([^)]*)\)/m,Ge=/,/,Ze=/^\s*(_?)(\S+?)\1\s*$/,Ke=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Je=o("$injector");function Ye(t){return Function.prototype.toString.call(t)}function Xe(t){var e=Ye(t).replace(Ke,"");return e.match(Be)||e.match(We)}function Qe(t,e){e=!0===e;var n={},i="Provider",r=[],o=new Fe,a={$provide:{provider:d(m),factory:d($),service:d((function(t,e){return $(t,["$injector",function(t){return t.instantiate(e)}])})),value:d((function(t,e){return $(t,P(e),!1)})),constant:d((function(t,e){Lt(t,"constant"),a[t]=e,c[t]=e})),decorator:function(t,e){var n=l.get(t+i),r=n.$get;n.$get=function(){var t=p.invoke(r,n);return p.invoke(e,null,{$delegate:t})}}}},l=a.$injector=y(a,(function(t,e){throw w.isString(e)&&r.push(e),Je("unpr","Unknown provider: {0}",r.join(" <- "))})),c={},h=y(c,(function(t,e){var n=l.get(t+i,e);return p.invoke(n.$get,n,void 0,t)})),p=h;a.$injectorProvider={$get:P(h)},p.modules=l.modules=zt();var f=v(t);return(p=h.get("$injector")).strictDi=e,_(f,(function(t){t&&p.invoke(t)})),p.loadNewModules=function(t){_(v(t),(function(t){t&&p.invoke(t)}))},p;function d(t){return function(e,n){if(!z(e))return t(e,n);_(e,S(t))}}function m(t,e){if(Lt(t,"service"),(Z(e)||W(e))&&(e=l.instantiate(e)),!e.$get)throw Je("pget","Provider '{0}' must define $get factory method.",t);return a[t+i]=e}function g(t,e){return function(){var n=p.invoke(e,this);if(L(n))throw Je("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function $(t,e,n){return m(t,{$get:!1!==n?g(t,e):e})}function v(t){Pt(L(t)||W(t),"modulesToLoad","not an array");var e,n=[];return _(t,(function(t){if(!o.get(t)){o.set(t,!0);try{F(t)?(e=u(t),p.modules[t]=e,n=n.concat(v(e.requires)).concat(e._runBlocks),i(e._invokeQueue),i(e._configBlocks)):Z(t)||W(t)?n.push(l.invoke(t)):jt(t,"module")}catch(e){throw W(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Je("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function i(t){var e,n;for(e=0,n=t.length;e<n;e++){var i=t[e],r=l.get(i[0]);r[i[1]].apply(r,i[2])}}})),n}function y(t,o){function l(e,i){if(t.hasOwnProperty(e)){if(t[e]===n)throw Je("cdep","Circular dependency found: {0}",e+" <- "+r.join(" <- "));return t[e]}try{return r.unshift(e),t[e]=n,t[e]=o(e,i),t[e]}catch(i){throw t[e]===n&&delete t[e],i}finally{r.shift()}}function u(t,n,i){for(var r=[],o=Qe.$$annotate(t,e,i),s=0,a=o.length;s<a;s++){var u=o[s];if("string"!=typeof u)throw Je("itkn","Incorrect injection token! Expected service name as string, got {0}",u);r.push(n&&n.hasOwnProperty(u)?n[u]:l(u,i))}return r}return{invoke:function(t,e,n,i){"string"==typeof n&&(i=n,n=null);var r=u(t,n,i);return W(t)&&(t=t[t.length-1]),function(t){if(s||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return X(e)||(e=t.$$ngIsClass=/^class\b/.test(Ye(t))),e}(t)?(r.unshift(null),new(Function.prototype.bind.apply(t,r))):t.apply(e,r)},instantiate:function(t,e,n){var i=W(t)?t[t.length-1]:t,r=u(t,e,n);return r.unshift(null),new(Function.prototype.bind.apply(i,r))},get:l,annotate:Qe.$$annotate,has:function(e){return a.hasOwnProperty(e+i)||t.hasOwnProperty(e)}}}}function tn(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(n,i,r){var o=n.document;function s(t){if(t){t.scrollIntoView();var e=function(){var t=l.yOffset;if(Z(t))t=t();else if(it(t)){var e=t[0];t="fixed"!==n.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom}else q(t)||(t=0);return t}();if(e){var i=t.getBoundingClientRect().top;n.scrollBy(0,i-e)}}else n.scrollTo(0,0)}function l(t){var e,n,r;(t=F(t)?t:q(t)?t.toString():i.hash())?(e=o.getElementById(t))?s(e):(n=o.getElementsByName(t),r=null,Array.prototype.some.call(n,(function(t){if("a"===rt(t))return r=t,!0})),(e=r)?s(e):"top"===t&&s(null)):s(null)}
2return e&&r.$watch((function(){return i.hash()}),(function(e,n){var i,o;e===n&&""===e||(i=function(){r.$evalAsync(l)},"complete"===(o=o||t).document.readyState?o.setTimeout(i):a(o).on("load",i))})),l}]}Qe.$$annotate=function(t,e,n){var i,r;if("function"==typeof t){if(!(i=t.$inject)){if(i=[],t.length){if(e)throw F(n)&&n||(n=t.name||function(t){var e=Xe(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(t)),Je("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);_(Xe(t)[1].split(Ge),(function(t){t.replace(Ze,(function(t,e,n){i.push(n)}))}))}t.$inject=i}}else W(t)?(jt(t[r=t.length-1],"fn"),i=t.slice(0,r)):jt(t,"fn",!0);return i};var en=o("$animate"),nn="ng-animate";function rn(t,e){return t||e?t?e?(W(t)&&(t=t.join(" ")),W(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function on(t){return z(t)?t:{}}var sn=function(){this.$get=V},an=function(){var t=new Fe,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){return{enabled:V,on:V,off:V,pin:V,push:function(s,a,l,u){u&&u(),(l=l||{}).from&&s.css(l.from),l.to&&s.css(l.to),(l.addClass||l.removeClass)&&function(n,s,a){var l=t.get(n)||{},u=r(l,s,!0),c=r(l,a,!1);(u||c)&&(t.set(n,l),e.push(n),1===e.length&&i.$$postDigest(o))}(s,l.addClass,l.removeClass);var c=new n;return c.complete(),c}};function r(t,e,n){var i=!1;return e&&_(e=F(e)?e.split(" "):W(e)?e:[],(function(e){e&&(i=!0,t[e]=n)})),i}function o(){_(e,(function(e){var n=t.get(e);if(n){var i=function(t){F(t)&&(t=t.split(" "));var e=zt();return _(t,(function(t){t.length&&(e[t]=!0)})),e}(e.attr("class")),r="",o="";_(n,(function(t,e){t!==!!i[e]&&(t?r+=(r.length?" ":"")+e:o+=(o.length?" ":"")+e)})),_(e,(function(t){r&&Ee(t,r),o&&_e(t,o)})),t.delete(e)}})),e.length=0}}]},ln=["$provide",function(t){var e=this,n=null,i=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw en("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var r=n+"-animation";e.$$registeredAnimations[n.substr(1)]=r,t.factory(r,i)},this.customFilter=function(t){return 1===arguments.length&&(i=Z(t)?t:null),i},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null)){var e=new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]");if(e.test(n.toString()))throw n=null,en("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',nn)}return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var i=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1===n.nodeType)return n}}(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.cancel&&t.cancel()},enter:function(n,i,r,o){return i=i&&a(i),r=r&&a(r),e(n,i=i||r.parent(),r),t.push(n,"enter",on(o))},move:function(n,i,r,o){return i=i&&a(i),r=r&&a(r),e(n,i=i||r.parent(),r),t.push(n,"move",on(o))},leave:function(e,n){return t.push(e,"leave",on(n),(function(){e.remove()}))},addClass:function(e,n,i){return(i=on(i)).addClass=rn(i.addclass,n),t.push(e,"addClass",i)},removeClass:function(e,n,i){return(i=on(i)).removeClass=rn(i.removeClass,n),t.push(e,"removeClass",i)},setClass:function(e,n,i,r){return(r=on(r)).addClass=rn(r.addClass,n),r.removeClass=rn(r.removeClass,i),t.push(e,"setClass",r)},animate:function(e,n,i,r,o){return(o=on(o)).from=o.from?O(o.from,n):n,o.to=o.to?O(o.to,i):i,r=r||"ng-inline-animate",o.tempClasses=rn(o.tempClasses,r),t.push(e,"animate",o)}}}]}],un=function(){this.$get=["$$rAF",function(t){var e=[];function n(n){e.push(n),e.length>1||t((function(){for(var t=0;t<e.length;t++)e[t]();e=[]}))}return function(){var t=!1;return n((function(){t=!0})),function(e){t?e():n(e)}}}]},cn=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,i,r){function o(t){this.setHost(t);var e=n();this._doneCallbacks=[],this._tick=function(t){i()?function(t){r(t,0,!1)}(t):e(t)},this._state=0}return o.chain=function(t,e){var n=0;!function i(){if(n===t.length)return void e(!0);t[n]((function(t){!1!==t?(n++,i()):e(!1)}))}()},o.all=function(t,e){var n=0,i=!0;function r(r){i=i&&r,++n===t.length&&e(i)}_(t,(function(t){t.done(r)}))},o.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&&(_(this._doneCallbacks,(function(e){e(t)})),this._doneCallbacks.length=0,this._state=2)}},o}]},hn=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,i){var r=i||{};r.$$prepared||(r=at(r)),r.cleanupStyles&&(r.from=r.to=null),r.from&&(e.css(r.from),r.from=null);var o,s=new n;return{start:a,end:a};function a(){return t((function(){!function(){r.addClass&&(e.addClass(r.addClass),r.addClass=null);r.removeClass&&(e.removeClass(r.removeClass),r.removeClass=null);r.to&&(e.css(r.to),r.to=null)}(),o||s.complete(),o=!0})),s}}}]};function pn(t,e,n,i,r){var o=this,s=t.location,l=t.history,u=t.setTimeout,c=t.clearTimeout,h={},p=r(n);o.isMock=!1,o.$$completeOutstandingRequest=p.completeTask,o.$$incOutstandingRequestCount=p.incTaskCount,o.notifyWhenNoOutstandingRequests=p.notifyWhenNoPendingTasks;var f,d,m=s.href,g=e.find("base"),$=null,v=i.history?function(){try{return l.state}catch(t){}}:V;C(),o.url=function(e,n,r){if(L(r)&&(r=null),s!==t.location&&(s=t.location),l!==t.history&&(l=t.history),e){var a=d===r;if(e=pr(e).href,m===e&&(!i.history||a))return o;var u=m&&hi(m)===hi(e);return m=e,d=r,!i.history||u&&a?(u||($=e),n?s.replace(e):u?s.hash=function(t){var e=t.indexOf("#");return-1===e?"":t.substr(e)}(e):s.href=e,s.href!==e&&($=e)):(l[n?"replaceState":"pushState"](r,"",e),C()),$&&($=e),o}return function(t){return t.replace(/#$/,"")}($||s.href)},o.state=function(){return f};var y=[],b=!1;function w(){$=null,E()}var x=null;function C(){ut(f=L(f=v())?null:f,x)&&(f=x),x=f,d=f}function E(){var t=d;C(),m===o.url()&&t===f||(m=o.url(),d=f,_(y,(function(t){t(o.url(),f)})))}o.onUrlChange=function(e){return b||(i.history&&a(t).on("popstate",w),a(t).on("hashchange",w),b=!0),y.push(e),e},o.$$applicationDestroyed=function(){a(t).off("hashchange popstate",w)},o.$$checkUrlChange=E,o.baseHref=function(){var t=g.attr("href");return t?t.replace(/^(https?:)?\/\/[^/]*/,""):""},o.defer=function(t,e,n){var i;return e=e||0,n=n||p.DEFAULT_TASK_TYPE,p.incTaskCount(n),i=u((function(){delete h[i],p.completeTask(t,n)}),e),h[i]=n,i},o.defer.cancel=function(t){if(h.hasOwnProperty(t)){var e=h[t];return delete h[t],c(t),p.completeTask(V,e),!0}return!1}}function fn(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(t,e,n,i,r){return new pn(t,i,e,n,r)}]}function dn(){this.$get=function(){var t={};
2function e(e,n){if(e in t)throw o("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var i=0,r=O({},n,{id:e}),s=zt(),a=n&&n.capacity||Number.MAX_VALUE,l=zt(),u=null,c=null;return t[e]={put:function(t,e){if(!L(e)){if(a<Number.MAX_VALUE)h(l[t]||(l[t]={key:t}));return t in s||i++,s[t]=e,i>a&&this.remove(c.key),e}},get:function(t){if(a<Number.MAX_VALUE){var e=l[t];if(!e)return;h(e)}return s[t]},remove:function(t){if(a<Number.MAX_VALUE){var e=l[t];if(!e)return;e===u&&(u=e.p),e===c&&(c=e.n),p(e.n,e.p),delete l[t]}t in s&&(delete s[t],i--)},removeAll:function(){s=zt(),i=0,l=zt(),u=c=null},destroy:function(){s=null,r=null,l=null,delete t[e]},info:function(){return O({},r,{size:i})}};function h(t){t!==u&&(c?c===t&&(c=t.n):c=t,p(t.n,t.p),p(t,u),(u=t).n=null)}function p(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}}return e.info=function(){var e={};return _(t,(function(t,n){e[n]=t.info()})),e},e.get=function(e){return t[e]},e}}function mn(){this.$get=["$cacheFactory",function(t){return t("templates")}]}var gn=o("$compile");var $n=new function(){};function vn(e,n){var i={},r="Directive",o=/^\s*directive:\s*([\w-]+)\s+(.*)$/,l=/(([\w-]+)(?::([^;]+))?;?)/,u=function(t){var e,n={},i=t.split(",");for(e=0;e<i.length;e++)n[i[e]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),c=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,h=/^(on[a-z]+|formaction)$/,d=zt();function m(t,e,n){var i=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,r=zt();return _(t,(function(t,o){if((t=t.trim())in d)r[o]=d[t];else{var s=t.match(i);if(!s)throw gn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");r[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o},s[4]&&(d[t]=r[o])}})),r}function g(t,e){var n={isolateScope:null,bindToController:null};if(z(t.scope)&&(!0===t.bindToController?(n.bindToController=m(t.scope,e,!0),n.isolateScope={}):n.isolateScope=m(t.scope,e,!1)),z(t.bindToController)&&(n.bindToController=m(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw gn("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}this.directive=function t(n,o){return Pt(n,"name"),Lt(n,"directive"),F(n)?(!function(t){var e=t.charAt(0);if(!e||e!==f(e))throw gn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw gn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}(n),Pt(o,"directiveFactory"),i.hasOwnProperty(n)||(i[n]=[],e.factory(n+r,["$injector","$exceptionHandler",function(t,e){var r=[];return _(i[n],(function(i,o){try{var s=t.invoke(i);Z(s)?s={compile:P(s)}:!s.compile&&s.link&&(s.compile=P(s.link)),s.priority=s.priority||0,s.index=o,s.name=s.name||n,s.require=function(t){var e=t.require||t.controller&&t.name;return!W(e)&&z(e)&&_(e,(function(t,n){var i=t.match(c);t.substring(i[0].length)||(e[n]=i[0]+n)})),e}(s),s.restrict=function(t,e){if(t&&(!F(t)||!/[EACM]/.test(t)))throw gn("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}(s.restrict,n),s.$$moduleName=i.$$moduleName,r.push(s)}catch(t){e(t)}})),r}])),i[n].push(o)):_(n,S(t)),this},this.component=function t(e,n){if(!F(e))return _(e,S(dt(this,t))),this;var i=n.controller||function(){};function r(t){function e(e){return Z(e)||W(e)?function(n,i){return t.invoke(e,this,{$element:n,$attrs:i})}:e}var r=n.template||n.templateUrl?n.template:"",o={controller:i,controllerAs:Tn(n.controller)||n.controllerAs||"$ctrl",template:e(r),templateUrl:e(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return _(n,(function(t,e){"$"===e.charAt(0)&&(o[e]=t)})),o}return _(n,(function(t,e){"$"===e.charAt(0)&&(r[e]=t,Z(i)&&(i[e]=t))})),r.$inject=["$injector"],this.directive(e,r)},this.aHrefSanitizationTrustedUrlList=function(t){return U(t)?(n.aHrefSanitizationTrustedUrlList(t),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(t){this.aHrefSanitizationTrustedUrlList=t}}),this.imgSrcSanitizationTrustedUrlList=function(t){return U(t)?(n.imgSrcSanitizationTrustedUrlList(t),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(t){this.imgSrcSanitizationTrustedUrlList=t}});var $=!0;this.debugInfoEnabled=function(t){return U(t)?($=t,this):$};var y=!1;this.strictComponentBindingsEnabled=function(t){return U(t)?(y=t,this):y};var b=10;this.onChangesTtl=function(t){return arguments.length?(b=t,this):b};var w=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(w=t,this):w};var x=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(x=t,this):x};var C=zt();this.addPropertySecurityContext=function(t,e,n){var i=t.toLowerCase()+"|"+e.toLowerCase();if(i in C&&C[i]!==n)throw gn("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",t,e,C[i],n);return C[i]=n,this},function(){function t(t,e){_(e,(function(e){C[e.toLowerCase()]=t}))}t(Zi.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t(Zi.CSS,["*|style"]),t(Zi.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),t(Zi.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),t(Zi.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(e,n,d,m,E,S,T,k,A){var M,I=/^\w/,D=t.document.createElement("div"),P=w,j=x,U=b;function H(){try{if(!--U)throw M=void 0,gn("infchng","{0} $onChanges() iterations reached. Aborting!\n",b);T.$apply((function(){for(var t=0,e=M.length;t<e;++t)try{M[t]()}catch(t){d(t)}M=void 0}))}finally{U++}}function q(t,e){if(!t)return t;if(!F(t))throw gn("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',e,t.toString());for(var n="",i=et(t),r=/\s/.test(i)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=i.split(r),s=Math.floor(o.length/2),a=0;a<s;a++){var l=2*a;n+=k.getTrustedMediaUrl(et(o[l])),n+=" "+et(o[l+1])}var u=et(o[2*a]).split(/\s/);return n+=k.getTrustedMediaUrl(et(u[0])),2===u.length&&(n+=" "+et(u[1])),n}function B(t,e){if(e){var n,i,r,o=Object.keys(e);for(n=0,i=o.length;n<i;n++)this[r=o[n]]=e[r]}else this.$attr={};this.$$element=t}function K(t,e){try{t.addClass(e)}catch(t){}}B.prototype={$normalize:xn,$addClass:function(t){t&&t.length>0&&A.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&A.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=Cn(t,e);n&&n.length&&A.addClass(this.$$element,n);var i=Cn(e,t);i&&i.length&&A.removeClass(this.$$element,i)},$set:function(t,e,n,i){var r=Re(this.$$element[0],t),o=Ve[t],s=t;r?(this.$$element.prop(t,e),i=r):o&&(this[o]=e,s=o),this[t]=e,i?this.$attr[t]=i:(i=this.$attr[t])||(this.$attr[t]=i=Nt(t,"-")),"img"===rt(this.$$element)&&"srcset"===t&&(this[t]=e=q(e,"$set('srcset', value)")),!1!==n&&(null===e||L(e)?this.$$element.removeAttr(i):I.test(i)?r&&!1===e?this.$$element.removeAttr(i):this.$$element.attr(i,e):function(t,e,n){D.innerHTML="<span "+e+">";var i=D.firstChild.attributes,r=i[0];i.removeNamedItem(r.name),r.value=n,t.attributes.setNamedItem(r)}(this.$$element[0],i,e));var a=this.$$observers;a&&_(a[s],(function(t){try{t(e)}catch(t){d(t)}}
2))},$observe:function(t,e){var n=this,i=n.$$observers||(n.$$observers=zt()),r=i[t]||(i[t]=[]);return r.push(e),T.$evalAsync((function(){r.$$inter||!n.hasOwnProperty(t)||L(n[t])||e(n[t])})),function(){st(r,e)}}};var J=n.startSymbol(),Q=n.endSymbol(),tt="{{"===J&&"}}"===Q?R:function(t){return t.replace(/\{\{/g,J).replace(/}}/g,Q)},nt=/^ng(Attr|Prop|On)([A-Z].*)$/,it=/^(.+)Start$/;return ot.$$addBindingInfo=$?function(t,e){var n=t.data("$binding")||[];W(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:V,ot.$$addBindingClass=$?function(t){K(t,"ng-binding")}:V,ot.$$addScopeInfo=$?function(t,e,n,i){var r=n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(r,e)}:V,ot.$$addScopeClass=$?function(t,e){K(t,e?"ng-isolate-scope":"ng-scope")}:V,ot.$$createComment=function(e,n){var i="";return $&&(i=" "+(e||"")+": ",n&&(i+=n+" ")),t.document.createComment(i)},ot;function ot(t,e,n,i,r){t instanceof a||(t=a(t));var o=at(t,e,t,n,i,r);ot.$$addScopeClass(t);var s=null;return function(e,n,i){if(!t)throw gn("multilink","This element has already been linked.");Pt(e,"scope"),r&&r.needsNewScope&&(e=e.$parent.$new());var l,u,c,h=(i=i||{}).parentBoundTranscludeFn,p=i.transcludeControllers,f=i.futureParentElement;if(h&&h.$$boundTransclude&&(h=h.$$boundTransclude),s||(u=(l=f)&&l[0],s=u&&"foreignobject"!==rt(u)&&v.call(u).match(/SVG/)?"svg":"html"),c="html"!==s?a(kt(s,a("<div></div>").append(t).html())):n?Ie.clone.call(t):t,p)for(var d in p)c.data("$"+d+"Controller",p[d].instance);return ot.$$addScopeInfo(c,e),n&&n(c,e),o&&o(e,c,c,h),n||(t=o=null),c}}function at(t,e,n,i,r,o){for(var l,u,c,h,p,f,d,m=[],g=W(t)||t instanceof a,$=0;$<t.length;$++)l=new B,11===s&&ct(t,$,g),(c=(u=pt(t[$],[],l,0===$?i:void 0,r)).length?vt(u,t[$],l,e,n,null,[],[],o):null)&&c.scope&&ot.$$addScopeClass(l.$$element),p=c&&c.terminal||!(h=t[$].childNodes)||!h.length?null:at(h,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:e),(c||p)&&(m.push($,c,p),f=!0,d=d||c),o=null;return f?function(t,n,i,r){var o,s,l,u,c,h,p,f,g;if(d){var $=n.length;for(g=new Array($),c=0;c<m.length;c+=3)p=m[c],g[p]=n[p]}else g=n;for(c=0,h=m.length;c<h;)l=g[m[c++]],o=m[c++],s=m[c++],o?(o.scope?(u=t.$new(),ot.$$addScopeInfo(a(l),u)):u=t,f=o.transcludeOnThisElement?ht(t,o.transclude,r):!o.templateOnThisElement&&r?r:!r&&e?ht(t,e):null,o(s,u,l,i,f)):s&&s(t,l.childNodes,void 0,r)}:null}function ct(t,e,n){var i,r=t[e],o=r.parentNode;if(r.nodeType===Ft)for(;(i=o?r.nextSibling:t[e+1])&&i.nodeType===Ft;)r.nodeValue=r.nodeValue+i.nodeValue,i.parentNode&&i.parentNode.removeChild(i),n&&i===t[e+1]&&t.splice(e+1,1)}function ht(t,e,n){function i(i,r,o,s,a){return i||((i=t.$new(!1,a)).$$transcluded=!0),e(i,r,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}var r=i.$$slots=zt();for(var o in e.$$slots)e.$$slots[o]?r[o]=ht(t,e.$$slots[o],n):r[o]=null;return i}function pt(t,e,i,r,s){var a,u,c,h=t.nodeType,p=i.$attr;switch(h){case 1:wt(e,xn(u=rt(t)),"E",r,s);for(var f,d,m,g,$,v=t.attributes,y=0,b=v&&v.length;y<b;y++){var w,x=!1,C=!1,_=!1,E=!1,S=!1;d=(f=v[y]).name,g=f.value,($=(m=xn(d.toLowerCase())).match(nt))?(_="Attr"===$[1],E="Prop"===$[1],S="On"===$[1],d=d.replace(bn,"").toLowerCase().substr(4+$[1].length).replace(/_(.)/g,(function(t,e){return e.toUpperCase()}))):(w=m.match(it))&&Ct(w[1])&&(x=d,C=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),E||S?(i[m]=g,p[m]=f.name,E?Ot(t,e,m,d):Mt(e,m,d)):(p[m=xn(d.toLowerCase())]=d,!_&&i.hasOwnProperty(m)||(i[m]=g,Re(t,m)&&(i[m]=!0)),It(t,e,g,m,_),wt(e,m,"A",r,s,x,C))}if("input"===u&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!j)break;if(z(c=t.className)&&(c=c.animVal),F(c)&&""!==c)for(;a=l.exec(c);)wt(e,m=xn(a[2]),"C",r,s)&&(i[m]=et(a[3])),c=c.substr(a.index+a[0].length);break;case Ft:!function(t,e){var i=n(e,!0);i&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&ot.$$addBindingClass(e),function(t,e){var r=e.parent();n||ot.$$addBindingClass(r),ot.$$addBindingInfo(r,i.expressions),t.$watch(i,(function(t){e[0].nodeValue=t}))}}})}(e,t.nodeValue);break;case 8:if(!P)break;!function(t,e,n,i,r){try{var s=o.exec(t.nodeValue);if(s){var a=xn(s[1]);wt(e,a,"M",i,r)&&(n[a]=et(s[2]))}}catch(t){}}(t,e,i,r,s)}return e.sort(St),e}function mt(t,e,n){var i=[],r=0;
2if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw gn("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);1===t.nodeType&&(t.hasAttribute(e)&&r++,t.hasAttribute(n)&&r--),i.push(t),t=t.nextSibling}while(r>0);else i.push(t);return a(i)}function gt(t,e,n){return function(i,r,o,s,a){return r=mt(r[0],e,n),t(i,r,o,s,a)}}function $t(t,e,n,i,r,o){var s;return t?ot(e,n,i,r,o):function(){return s||(s=ot(e,n,i,r,o),e=n=o=null),s.apply(this,arguments)}}function vt(e,n,i,r,o,s,l,u,c){c=c||{};for(var h,p,f,m,g,$=-Number.MAX_VALUE,v=c.newScopeDirective,y=c.controllerDirectives,b=c.newIsolateScopeDirective,w=c.templateDirective,x=c.nonTlbTranscludeDirective,C=!1,E=!1,T=c.hasElementTranscludeDirective,k=i.$$element=a(n),A=s,M=r,I=!1,D=!1,N=0,V=e.length;N<V;N++){var R=(h=e[N]).$$start,P=h.$$end;if(R&&(k=mt(n,R,P)),f=void 0,$>h.priority)break;if((g=h.scope)&&(h.templateUrl||(z(g)?(Tt("new/isolated scope",b||v,h,k),b=h):Tt("new/isolated scope",b,h,k)),v=v||h),p=h.name,!I&&(h.replace&&(h.templateUrl||h.template)||h.transclude&&!h.$$tlb)){for(var j,U=N+1;j=e[U++];)if(j.transclude&&!j.$$tlb||j.replace&&(j.templateUrl||j.template)){D=!0;break}I=!0}if(!h.templateUrl&&h.controller&&(y=y||zt(),Tt("'"+p+"' controller",y[p],h,k),y[p]=h),g=h.transclude)if(C=!0,h.$$tlb||(Tt("transclusion",x,h,k),x=h),"element"===g)T=!0,$=h.priority,f=k,k=i.$$element=a(ot.$$createComment(p,i[p])),n=k[0],Dt(o,ft(f),n),M=$t(D,f,r,$,A&&A.name,{nonTlbTranscludeDirective:x});else{var H=zt();if(z(g)){f=t.document.createDocumentFragment();var F=zt(),q=zt();for(var G in _(g,(function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,F[t]=e,H[e]=null,q[e]=n})),_(k.contents(),(function(e){var n=F[xn(rt(e))];n?(q[n]=!0,H[n]=H[n]||t.document.createDocumentFragment(),H[n].appendChild(e)):f.appendChild(e)})),_(q,(function(t,e){if(!t)throw gn("reqslot","Required transclusion slot `{0}` was not filled.",e)})),H)if(H[G]){var K=a(H[G].childNodes);H[G]=$t(D,K,r)}f=a(f.childNodes)}else f=a(me(n)).contents();k.empty(),(M=$t(D,f,r,void 0,void 0,{needsNewScope:h.$$isolateScope||h.$$newScope})).$$slots=H}if(h.template)if(E=!0,Tt("template",w,h,k),w=h,g=Z(h.template)?h.template(k,i):h.template,g=tt(g),h.replace){if(A=h,f=ce(g)?[]:_n(kt(h.templateNamespace,et(g))),n=f[0],1!==f.length||1!==n.nodeType)throw gn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",p,"");Dt(o,k,n);var J={$attr:{}},X=pt(n,[],J),Q=e.splice(N+1,e.length-(N+1));(b||v)&&bt(X,b,v),e=e.concat(X).concat(Q),_t(i,J),V=e.length}else k.html(g);if(h.templateUrl)E=!0,Tt("template",w,h,k),w=h,h.replace&&(A=h),st=Et(e.splice(N,e.length-N),k,i,o,C&&M,l,u,{controllerDirectives:y,newScopeDirective:v!==h&&v,newIsolateScopeDirective:b,templateDirective:w,nonTlbTranscludeDirective:x}),V=e.length;else if(h.compile)try{m=h.compile(k,i,M);var nt=h.$$originalDirective||h;Z(m)?it(null,dt(nt,m),R,P):m&&it(dt(nt,m.pre),dt(nt,m.post),R,P)}catch(t){d(t,xt(k))}h.terminal&&(st.terminal=!0,$=Math.max($,h.priority))}return st.scope=v&&!0===v.scope,st.transcludeOnThisElement=C,st.templateOnThisElement=E,st.transclude=M,c.hasElementTranscludeDirective=T,st;function it(t,e,n,i){t&&(n&&(t=gt(t,n,i)),t.require=h.require,t.directiveName=p,(b===h||h.$$isolateScope)&&(t=Vt(t,{isolateScope:!0})),l.push(t)),e&&(n&&(e=gt(e,n,i)),e.require=h.require,e.directiveName=p,(b===h||h.$$isolateScope)&&(e=Vt(e,{isolateScope:!0})),u.push(e))}function st(t,e,r,o,s){var c,h,p,f,m,g,$,x,C,E;for(var k in n===r?(C=i,x=i.$$element):C=new B(x=a(r),i),m=e,b?f=e.$new(!0):v&&(m=e.$parent),s&&($=function(t,e,n,i){var r;Y(t)||(i=n,n=e,e=t,t=void 0);T&&(r=g);n||(n=T?x.parent():x);if(!i)return s(t,e,r,n,D);var o=s.$$slots[i];if(o)return o(t,e,r,n,D);if(L(o))throw gn("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,xt(x))},$.$$boundTransclude=s,$.isSlotFilled=function(t){return!!s.$$slots[t]}),y&&(g=function(t,e,n,i,r,o,s){var a=zt();for(var l in i){var u=i[l],c={$scope:u===s||u.$$isolateScope?r:o,$element:t,$attrs:e,$transclude:n},h=u.controller;"@"===h&&(h=e[u.name]);var p=S(h,c,!0,u.controllerAs);a[u.name]=p,t.data("$"+u.name+"Controller",p.instance)}return a}(x,C,$,y,f,e,b)),b&&(ot.$$addScopeInfo(x,f,!0,!(w&&(w===b||w===b.$$originalDirective))),ot.$$addScopeClass(x,!0),f.$$isolateBindings=b.$$isolateBindings,(E=Lt(e,C,f,f.$$isolateBindings,b)).removeWatches&&f.$on("$destroy",E.removeWatches)),g){var A=y[k],M=g[k],I=A.$$bindings.bindToController;M.instance=M(),x.data("$"+A.name+"Controller",M.instance),M.bindingInfo=Lt(m,C,M.instance,I,A)}for(_(y,(function(t,e){var n=t.require;t.bindToController&&!W(n)&&z(n)&&O(g[e].instance,yt(e,n,x,g))})),_(g,(function(t){var e=t.instance;if(Z(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){d(t)}if(Z(e.$onInit))try{e.$onInit()}catch(t){d(t)}Z(e.$doCheck)&&(m.$watch((function(){e.$doCheck()})),e.$doCheck()),Z(e.$onDestroy)&&m.$on("$destroy",(function(){e.$onDestroy()}))})),c=0,h=l.length;c<h;c++)Rt(p=l[c],p.isolateScope?f:e,x,C,p.require&&yt(p.directiveName,p.require,x,g),$);var D=e;for(b&&(b.template||null===b.templateUrl)&&(D=f),t&&t(D,r.childNodes,void 0,s),c=u.length-1;c>=0;c--)Rt(p=u[c],p.isolateScope?f:e,x,C,p.require&&yt(p.directiveName,p.require,x,g),$);_(g,(function(t){var e=t.instance;Z(e.$postLink)&&e.$postLink()}))}}function yt(t,e,n,i){var r;if(F(e)){var o=e.match(c),s=e.substring(o[0].length),a=o[1]||o[3],l="?"===o[2];if("^^"===a?n=n.parent():r=(r=i&&i[s])&&r.instance,!r){var u="$"+s+"Controller";r="^^"===a&&n[0]&&9===n[0].nodeType?null:a?n.inheritedData(u):n.data(u)}
2if(!r&&!l)throw gn("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,t)}else if(W(e)){r=[];for(var h=0,p=e.length;h<p;h++)r[h]=yt(t,e[h],n,i)}else z(e)&&(r={},_(e,(function(e,o){r[o]=yt(t,e,n,i)})));return r||null}function bt(t,e,n){for(var i=0,r=t.length;i<r;i++)t[i]=N(t[i],{$$isolateScope:e,$$newScope:n})}function wt(t,n,o,s,a,l,u){if(n===a)return null;var c=null;if(i.hasOwnProperty(n))for(var h,p=e.get(n+r),f=0,d=p.length;f<d;f++)if(h=p[f],(L(s)||s>h.priority)&&-1!==h.restrict.indexOf(o)){if(l&&(h=N(h,{$$start:l,$$end:u})),!h.$$bindings){var m=h.$$bindings=g(h,h.name);z(m.isolateScope)&&(h.$$isolateBindings=m.isolateScope)}t.push(h),c=h}return c}function Ct(t){if(i.hasOwnProperty(t))for(var n=e.get(t+r),o=0,s=n.length;o<s;o++)if(n[o].multiElement)return!0;return!1}function _t(t,e){var n=e.$attr,i=t.$attr;_(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]))})),_(e,(function(e,r){t.hasOwnProperty(r)||"$"===r.charAt(0)||(t[r]=e,"class"!==r&&"style"!==r&&(i[r]=n[r]))}))}function Et(t,e,n,i,r,o,s,l){var u,c,h=[],p=e[0],f=t.shift(),g=N(f,{templateUrl:null,transclude:null,replace:null,$$originalDirective:f}),$=Z(f.templateUrl)?f.templateUrl(e,n):f.templateUrl,v=f.templateNamespace;return e.empty(),m($).then((function(d){var m,y,b,w;if(d=tt(d),f.replace){if(b=ce(d)?[]:_n(kt(v,et(d))),m=b[0],1!==b.length||1!==m.nodeType)throw gn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f.name,$);y={$attr:{}},Dt(i,e,m);var x=pt(m,[],y);z(f.scope)&&bt(x,!0),t=x.concat(t),_t(n,y)}else m=p,e.html(d);for(t.unshift(g),u=vt(t,m,n,r,e,f,o,s,l),_(i,(function(t,n){t===m&&(i[n]=e[0])})),c=at(e[0].childNodes,r);h.length;){var C=h.shift(),E=h.shift(),S=h.shift(),T=h.shift(),k=e[0];if(!C.$$destroyed){if(E!==p){var A=E.className;l.hasElementTranscludeDirective&&f.replace||(k=me(m)),Dt(S,a(E),k),K(a(k),A)}w=u.transcludeOnThisElement?ht(C,u.transclude,T):T,u(c,C,k,i,w)}}h=null})).catch((function(t){G(t)&&d(t)})),function(t,e,n,i,r){var o=r;e.$$destroyed||(h?h.push(e,n,i,o):(u.transcludeOnThisElement&&(o=ht(e,u.transclude,r)),u(c,e,n,i,o)))}}function St(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 Tt(t,e,n,i){function r(t){return t?" (module: "+t+")":""}if(e)throw gn("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,r(e.$$moduleName),n.name,r(n.$$moduleName),t,xt(i))}function kt(e,n){switch(e=f(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 At(t){return q(k.valueOf(t),"ng-prop-srcset")}function Ot(t,e,n,i){if(h.test(i))throw gn("nodomevents","Property bindings for HTML DOM event properties are disallowed");var r=rt(t),o=function(t,e){var n=e.toLowerCase();return C[t+"|"+n]||C["*|"+n]}(r,i),s=R;"srcset"!==i||"img"!==r&&"source"!==r?o&&(s=k.getTrusted.bind(k,o)):s=At,e.push({priority:100,compile:function(t,e){var r=E(e[n]),o=E(e[n],(function(t){return k.valueOf(t)}));return{pre:function(t,e){function n(){var n=r(t);e[0][i]=s(n)}n(),t.$watch(o,n)}}}})}function Mt(t,e,n){t.push(jo(E,T,d,e,n,!1))}function It(t,e,i,r,o){var s=rt(t),a=function(t,e){return"srcdoc"===e?k.HTML:"src"===e||"ngSrc"===e?-1===["img","video","audio","source","track"].indexOf(t)?k.RESOURCE_URL:k.MEDIA_URL:"xlinkHref"===e?"image"===t?k.MEDIA_URL:"a"===t?k.URL:k.RESOURCE_URL:"form"===t&&"action"===e||"base"===t&&"href"===e||"link"===t&&"href"===e?k.RESOURCE_URL:"a"!==t||"href"!==e&&"ngHref"!==e?void 0:k.URL}(s,r),l=!o,c=u[r]||o,p=n(i,l,a,c);if(p){if("multiple"===r&&"select"===s)throw gn("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",xt(t));if(h.test(r))throw gn("nodomevents","Interpolations for HTML DOM event attributes are disallowed");e.push({priority:100,compile:function(){return{pre:function(t,e,o){var s=o.$$observers||(o.$$observers=zt()),l=o[r];l!==i&&(p=l&&n(l,!0,a,c),i=l),p&&(o[r]=p(t),(s[r]||(s[r]=[])).$$inter=!0,(o.$$observers&&o.$$observers[r].$$scope||t).$watch(p,(function(t,e){"class"===r&&t!==e?o.$updateClass(t,e):o.$set(r,t)})))}}}})}}function Dt(e,n,i){var r,o,s=n[0],l=n.length,u=s.parentNode;if(e)for(r=0,o=e.length;r<o;r++)if(e[r]===s){e[r++]=i;for(var c=r,h=c+l-1,p=e.length;c<p;c++,h++)h<p?e[c]=e[h]:delete e[c];e.length-=l-1,e.context===s&&(e.context=i);break}u&&u.replaceChild(i,s);var f=t.document.createDocumentFragment();for(r=0;r<l;r++)f.appendChild(n[r]);for(a.hasData(s)&&(a.data(i,a.data(s)),a(s).off("$destroy")),a.cleanData(f.querySelectorAll("*")),r=1;r<l;r++)delete n[r];
2n[0]=i,n.length=1}function Vt(t,e){return O((function(){return t.apply(null,arguments)}),t,e)}function Rt(t,e,n,i,r,o){try{t(e,n,i,r,o)}catch(t){d(t,xt(n))}}function jt(t,e){if(y)throw gn("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",t,e)}function Lt(t,e,i,r,o){var s,a=[],l={};function u(e,n,r){Z(i.$onChanges)&&!lt(n,r)&&(M||(t.$$postDigest(H),M=[]),s||(s={},M.push(c)),s[e]&&(r=s[e].previousValue),s[e]=new yn(r,n))}function c(){i.$onChanges(s),s=void 0}return _(r,(function(r,s){var c,h,f,d,m,g=r.attrName,$=r.optional;switch(r.mode){case"@":$||p.call(e,g)||(jt(g,o.name),i[s]=e[g]=void 0),m=e.$observe(g,(function(t){if(F(t)||X(t)){var e=i[s];u(s,t,e),i[s]=t}})),e.$$observers[g].$$scope=t,F(c=e[g])?i[s]=n(c)(t):X(c)&&(i[s]=c),l[s]=new yn($n,i[s]),a.push(m);break;case"=":if(!p.call(e,g)){if($)break;jt(g,o.name),e[g]=void 0}if($&&!e[g])break;h=E(e[g]),d=h.literal?ut:lt,f=h.assign||function(){throw c=i[s]=h(t),gn("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",e[g],g,o.name)},c=i[s]=h(t);var v=function(e){return d(e,i[s])||(d(e,c)?f(t,e=i[s]):i[s]=e),c=e};v.$stateful=!0,m=r.collection?t.$watchCollection(e[g],v):t.$watch(E(e[g],v),null,h.literal),a.push(m);break;case"<":if(!p.call(e,g)){if($)break;jt(g,o.name),e[g]=void 0}if($&&!e[g])break;var y=(h=E(e[g])).literal,b=i[s]=h(t);l[s]=new yn($n,i[s]),m=t[r.collection?"$watchCollection":"$watch"](h,(function(t,e){if(e===t){if(e===b||y&&ut(e,b))return;e=b}u(s,t,e),i[s]=t})),a.push(m);break;case"&":if($||p.call(e,g)||jt(g,o.name),(h=e.hasOwnProperty(g)?E(e[g]):V)===V&&$)break;i[s]=function(e){return h(t,e)}}})),{initialChanges:l,removeWatches:a.length&&function(){for(var t=0,e=a.length;t<e;++t)a[t]()}}}}]}function yn(t,e){this.previousValue=t,this.currentValue=e}vn.$inject=["$provide","$$sanitizeUriProvider"],yn.prototype.isFirstChange=function(){return this.previousValue===$n};var bn=/^((?:x|data)[:\-_])/i,wn=/[:\-_]+(.)/g;function xn(t){return t.replace(bn,"").replace(wn,(function(t,e,n){return n?e.toUpperCase():e}))}function Cn(t,e){var n="",i=t.split(/\s+/),r=e.split(/\s+/);t:for(var o=0;o<i.length;o++){for(var s=i[o],a=0;a<r.length;a++)if(s===r[a])continue t;n+=(n.length>0?" ":"")+s}return n}function _n(t){var e=(t=a(t)).length;if(e<=1)return t;for(;e--;){var n=t[e];(8===n.nodeType||n.nodeType===Ft&&""===n.nodeValue.trim())&&g.call(t,e,1)}return t}var En=o("$controller"),Sn=/^(\S+)(\s+as\s+([\w$]+))?$/;function Tn(t,e){if(e&&F(e))return e;if(F(t)){var n=Sn.exec(t);if(n)return n[3]}}function kn(){var t={};this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){Lt(e,"controller"),z(e)?O(t,e):t[e]=n},this.$get=["$injector",function(e){return function(i,r,o,s){var a,l,u,c;if(o=!0===o,s&&F(s)&&(c=s),F(i)){if(!(l=i.match(Sn)))throw En("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",i);if(u=l[1],c=c||l[3],i=t.hasOwnProperty(u)?t[u]:function(t,e,n){if(!e)return t;for(var i,r=e.split("."),o=t,s=r.length,a=0;a<s;a++)i=r[a],t&&(t=(o=t)[i]);return!n&&Z(t)?dt(o,t):t}(r.$scope,u,!0),!i)throw En("ctrlreg","The controller with the name '{0}' is not registered.",u);jt(i,u,!0)}if(o){var h=(W(i)?i[i.length-1]:i).prototype;return a=Object.create(h||null),c&&n(r,c,a,u||i.name),O((function(){var t=e.invoke(i,a,r,u);return t!==a&&(z(t)||Z(t))&&(a=t,c&&n(r,c,a,u||i.name)),a}),{instance:a,identifier:c})}return a=e.instantiate(i,r,u),c&&n(r,c,a,u||i.name),a};function n(t,e,n,i){if(!t||!z(t.$scope))throw o("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,e);t.$scope[e]=n}}]}function An(){this.$get=["$window",function(t){return a(t.document)}]}function On(){this.$get=["$document","$rootScope",function(t,e){var n=t[0],i=n&&n.hidden;function r(){i=n.hidden}return t.on("visibilitychange",r),e.$on("$destroy",(function(){t.off("visibilitychange",r)})),function(){return i}}]}function Mn(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}var In=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof a&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},Dn="application/json",Nn={"Content-Type":"application/json;charset=utf-8"},Vn=/^\[|^\{(?!\{)/,Rn={"[":/]$/,"{":/}$/},Pn=/^\)]\}',?\n/,jn=o("$http");function Ln(t){return z(t)?B(t)?t.toISOString():gt(t):t}function Un(){this.$get=function(){return function(t){if(!t)return"";var e=[];return E(t,(function(t,n){null===t||L(t)||Z(t)||(W(t)?_(t,(function(t){e.push(St(n)+"="+St(Ln(t)))})):e.push(St(n)+"="+St(Ln(t))))})),e.join("&")}}}function zn(){this.$get=function(){return function(t){if(!t)return"";var e=[];return function t(n,i,r){W(n)?_(n,(function(e,n){t(e,i+"["+(z(e)?n:"")+"]")})):z(n)&&!B(n)?E(n,(function(e,n){t(e,i+(r?"":"[")+n+(r?"":"]"))}
2)):(Z(n)&&(n=n()),e.push(St(i)+"="+(null==n?"":St(Ln(n)))))}(t,"",!0),e.join("&")}}}function Hn(t,e){if(F(t)){var n=t.replace(Pn,"").trim();if(n){var i=e("Content-Type"),r=i&&0===i.indexOf(Dn);if(r||(s=(o=n).match(Vn))&&Rn[s[0]].test(o))try{t=$t(n)}catch(e){if(!r)return t;throw jn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',t,e)}}}var o,s;return t}function Fn(t){var e,n=zt();function i(t,e){t&&(n[t]=n[t]?n[t]+", "+e:e)}return F(t)?_(t.split("\n"),(function(t){e=t.indexOf(":"),i(f(et(t.substr(0,e))),et(t.substr(e+1)))})):z(t)&&_(t,(function(t,e){i(f(e),et(t))})),n}function qn(t){var e;return function(n){if(e||(e=Fn(t)),n){var i=e[f(n)];return void 0===i&&(i=null),i}return e}}function Bn(t,e,n,i){return Z(i)?i(t,e,n):(_(i,(function(i){t=i(t,e,n)})),t)}function Wn(t){return 200<=t&&t<300}function Gn(){var t=this.defaults={transformResponse:[Hn],transformRequest:[function(t){return!z(t)||(e=t,"[object File]"===v.call(e))||function(t){return"[object Blob]"===v.call(t)}(t)||function(t){return"[object FormData]"===v.call(t)}(t)?t:gt(t);var e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:qt(Nn),put:qt(Nn),patch:qt(Nn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},e=!1;this.useApplyAsync=function(t){return U(t)?(e=!!t,this):e};var n=this.interceptors=[],i=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(t){this.xsrfTrustedOrigins=t}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(r,s,a,l,u,c,h,p){var m=l("$http");t.paramSerializer=F(t.paramSerializer)?h.get(t.paramSerializer):t.paramSerializer;var g=[];_(n,(function(t){g.unshift(F(t)?h.get(t):h.invoke(t))}));var $,v=($=[cr].concat(i.map(pr)),function(t){var e=pr(t);return $.some(fr.bind(null,e))});function y(n){if(!z(n))throw o("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!F(p.valueOf(n.url)))throw o("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var i=O({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},n);i.headers=function(e){var n,i,r,o=t.headers,s=O({},e.headers);o=O({},o.common,o[f(e.method)]);t:for(n in o){for(r in i=f(n),s)if(f(r)===i)continue t;s[n]=o[n]}return function(t,e){var n,i={};return _(t,(function(t,r){Z(t)?null!=(n=t(e))&&(i[r]=n):i[r]=t})),i}(s,qt(e))}(n),i.method=d(i.method),i.paramSerializer=F(i.paramSerializer)?h.get(i.paramSerializer):i.paramSerializer,r.$$incOutstandingRequestCount("$http");var l=[],$=[],b=c.resolve(i);return _(g,(function(t){(t.request||t.requestError)&&l.unshift(t.request,t.requestError),(t.response||t.responseError)&&$.push(t.response,t.responseError)})),b=(b=w(b,l)).then((function(n){var i=n.headers,r=Bn(n.data,qn(i),void 0,n.transformRequest);L(r)&&_(i,(function(t,e){"content-type"===f(e)&&delete i[e]}));L(n.withCredentials)&&!L(t.withCredentials)&&(n.withCredentials=t.withCredentials);return function(n,i){var r,o,l=c.defer(),h=l.promise,d=n.headers,g="jsonp"===f(n.method),$=n.url;g?$=p.getTrustedResourceUrl($):F($)||($=p.valueOf($));$=function(t,e){e.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+e);return t}($,n.paramSerializer(n.params)),g&&($=function(t,e){var n=t.split("?");if(n.length>2)throw jn("badjsonp",'Illegal use more than one "?", in url, "{1}"',t);return _(_t(n[1]),(function(n,i){if("JSON_CALLBACK"===n)throw jn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',t);if(i===e)throw jn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',e,t)})),t+=(-1===t.indexOf("?")?"?":"&")+e+"=JSON_CALLBACK"}($,n.jsonpCallbackParam));y.pendingRequests.push(n),h.then(S,S),!n.cache&&!t.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(r=z(n.cache)?n.cache:z(t.cache)?t.cache:m);r&&(U(o=r.get($))?Q(o)?o.then(E,E):W(o)?C(o[1],o[0],qt(o[2]),o[3],o[4]):C(o,200,{},"OK","complete"):r.put($,h));if(L(o)){var b=v(n.url)?a()[n.xsrfCookieName||t.xsrfCookieName]:void 0;b&&(d[n.xsrfHeaderName||t.xsrfHeaderName]=b),s(n.method,$,i,x,d,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return h;function w(t){if(t){var n={};return _(t,(function(t,i){n[i]=function(n){function i(){t(n)}e?u.$applyAsync(i):u.$$phase?i():u.$apply(i)}})),n}}function x(t,n,i,o,s){function a(){C(n,t,i,o,s)}r&&(Wn(t)?r.put($,[t,n,Fn(i),o,s]):r.remove($)),e?u.$applyAsync(a):(a(),u.$$ph
2ase||u.$apply())}function C(t,e,i,r,o){(Wn(e=e>=-1?e:0)?l.resolve:l.reject)({data:t,status:e,headers:qn(i),config:n,statusText:r,xhrStatus:o})}function E(t){C(t.data,t.status,qt(t.headers()),t.statusText,t.xhrStatus)}function S(){var t=y.pendingRequests.indexOf(n);-1!==t&&y.pendingRequests.splice(t,1)}}(n,r).then(x,x)})),b=(b=w(b,$)).finally((function(){r.$$completeOutstandingRequest(V,"$http")}));function w(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 x(t){var e=O({},t);return e.data=Bn(t.data,t.headers,t.status,i.transformResponse),Wn(t.status)?e:c.reject(e)}}return y.pendingRequests=[],function(t){_(arguments,(function(t){y[t]=function(e,n){return y(O({},n||{},{method:t,url:e}))}}))}("get","delete","head","jsonp"),function(t){_(arguments,(function(t){y[t]=function(e,n,i){return y(O({},i||{},{method:t,url:e,data:n}))}}))}("post","put","patch"),y.defaults=t,y}]}function Zn(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Kn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,i){return function(t,e,n,i,r){return function(r,s,a,l,u,c,h,p,d,m){if(s=s||t.url(),"jsonp"===f(r))var g=i.createCallback(s),$=o(s,g,(function(t,e){var n=200===t&&i.getResponse(g);S(l,t,n,"",e,"complete"),i.removeCallback(g)}));else{var v=e(r,s),y=!1;v.open(r,s,!0),_(u,(function(t,e){U(t)&&v.setRequestHeader(e,t)})),v.onload=function(){var t=v.statusText||"",e="response"in v?v.response:v.responseText,n=1223===v.status?204:v.status;0===n&&(n=e?200:"file"===pr(s).protocol?404:0),S(l,n,e,v.getAllResponseHeaders(),t,"complete")};var b=function(){S(l,-1,null,null,"","error")},w=function(){S(l,-1,null,null,"",y?"timeout":"abort")},x=function(){S(l,-1,null,null,"","timeout")};if(v.onerror=b,v.ontimeout=x,v.onabort=w,_(d,(function(t,e){v.addEventListener(e,t)})),_(m,(function(t,e){v.upload.addEventListener(e,t)})),h&&(v.withCredentials=!0),p)try{v.responseType=p}catch(t){if("json"!==p)throw t}v.send(L(a)?null:a)}if(c>0)var C=n((function(){E("timeout")}),c);else Q(c)&&c.then((function(){E(U(c.$$timeoutId)?"timeout":"abort")}));function E(t){y="timeout"===t,$&&$(),v&&v.abort()}function S(t,e,i,r,o,s){U(C)&&n.cancel(C),$=v=null,t(e,i,r,o,s)}};function o(t,e,n){t=t.replace("JSON_CALLBACK",e);var o=r.createElement("script"),s=null;return o.type="text/javascript",o.src=t,o.async=!0,s=function(t){o.removeEventListener("load",s),o.removeEventListener("error",s),r.body.removeChild(o),o=null;var a=-1,l="unknown";t&&("load"!==t.type||i.wasCalled(e)||(t={type:"error"}),l=t.type,a="error"===t.type?404:200),n&&n(a,l)},o.addEventListener("load",s),o.addEventListener("error",s),r.body.appendChild(o),s}}(t,i,t.defer,e,n[0])}]}var Jn=w.$interpolateMinErr=o("$interpolate");function Yn(){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){var o=t.length,s=e.length,a=new RegExp(t.replace(/./g,u),"g"),l=new RegExp(e.replace(/./g,u),"g");function u(t){return"\\\\\\"+t}function c(n){return n.replace(a,t).replace(l,e)}function h(t,e,n,i){var r=t.$watch((function(t){return r(),i(t)}),e,n);return r}function p(a,l,u,p){var f=u===r.URL||u===r.MEDIA_URL;if(!a.length||-1===a.indexOf(t)){if(l)return;var d=c(a);f&&(d=r.getTrusted(u,d));var m=P(d);return m.exp=a,m.expressions=[],m.$$watchDelegate=h,m}p=!!p;for(var g,$,v,y,b,w=0,x=[],C=a.length,_=[],E=[];w<C;){if(-1===(g=a.indexOf(t,w))||-1===($=a.indexOf(e,g+o))){w!==C&&_.push(c(a.substring(w)));break}w!==g&&_.push(c(a.substring(w,g))),y=a.substring(g+o,$),x.push(y),w=$+s,E.push(_.length),_.push("")}b=1===_.length&&1===E.length;var S=f&&b?void 0:function(t){try{return t=u&&!f?r.getTrusted(u,t):r.valueOf(t),p&&!U(t)?t:Ht(t)}catch(t){i(Jn.interr(a,t))}};if(v=x.map((function(t){return n(t,S)})),!l||x.length){var T=function(t){for(var e=0,n=x.length;e<n;e++){if(p&&L(t[e]))return;_[E[e]]=t[e]}return f?r.getTrusted(u,b?_[0]:_.join("")):(u&&_.length>1&&Jn.throwNoconcat(a),_.join(""))};return O((function(t){var e=0,n=x.length,r=new Array(n);try{for(;e<n;e++)r[e]=v[e](t);return T(r)}catch(t){i(Jn.interr(a,t))}}),{exp:a,expressions:x,$$watchDelegate:function(t,e){var n;
2return t.$watchGroup(v,(function(i,r){var o=T(i);e.call(this,o,i!==r?n:o,t),n=o}))}})}}return p.startSymbol=function(){return t},p.endSymbol=function(){return e},p}]}Jn.throwNoconcat=function(t){throw Jn("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)},Jn.interr=function(t,e){return Jn("interr","Can't interpolate: {0}\n{1}",t,e.toString())};var Xn=o("$interval");function Qn(){this.$get=["$$intervalFactory","$window",function(t,e){var n={},i=function(t){e.clearInterval(t),delete n[t]},r=t((function(t,i,r){var o=e.setInterval(t,i);return n[o]=r,o}),i);return r.cancel=function(t){if(!t)return!1;if(!t.hasOwnProperty("$$intervalId"))throw Xn("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(t.$$intervalId))return!1;var e=t.$$intervalId,r=n[e];return Fi(r.promise),r.reject("canceled"),i(e),!0},r}]}function ti(){this.$get=["$browser","$q","$$q","$rootScope",function(t,e,n,i){return function(r,o){return function(s,a,l,u){var c=arguments.length>4,h=c?ft(arguments,4):[],p=0,f=U(u)&&!u,d=(f?n:e).defer(),m=d.promise;function g(){c?s.apply(null,h):s(p)}function $(){f?t.defer(g):i.$evalAsync(g),d.notify(p++),l>0&&p>=l&&(d.resolve(p),o(m.$$intervalId)),f||i.$apply()}return l=U(l)?l:0,m.$$intervalId=r($,a,d,f),m}}}]}var ei=function(){this.$get=function(){var t=w.callbacks,e={};return{createCallback:function(n){var i="_"+(t.$$counter++).toString(36),r="angular.callbacks."+i,o=function(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}(i);return e[r]=t[i]=o,r},wasCalled:function(t){return e[t].called},getResponse:function(t){return e[t].data},removeCallback:function(n){var i=e[n];delete t[i.id],delete e[n]}}}},ni=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,ii={http:80,https:443,ftp:21},ri=o("$location");function oi(t,e,n){var i,r=(i=[],_(e,(function(t,e){W(t)?_(t,(function(t){i.push(St(e,!0)+(!0===t?"":"="+St(t,!0)))})):i.push(St(e,!0)+(!0===t?"":"="+St(t,!0)))})),i.length?i.join("&"):""),o=n?"#"+Et(n):"";return function(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=Et(e[n].replace(/%2F/g,"/"));return e.join("/")}(t)+(r?"?"+r:"")+o}function si(t,e){var n=pr(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=I(n.port)||ii[n.protocol]||null}var ai=/^\s*[\\/]{2,}/;function li(t,e,n){if(ai.test(t))throw ri("badpath",'Invalid url "{0}".',t);var i="/"!==t.charAt(0);i&&(t="/"+t);var r=pr(t),o=i&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname;e.$$path=function(t,e){for(var n=t.split("/"),i=n.length;i--;)n[i]=decodeURIComponent(n[i]),e&&(n[i]=n[i].replace(/\//g,"%2F"));return n.join("/")}(o,n),e.$$search=_t(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function ui(t,e){return t.slice(0,e.length)===e}function ci(t,e){if(ui(e,t))return e.substr(t.length)}function hi(t){var e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function pi(t,e,n){this.$$html5=!0,n=n||"",si(t,this),this.$$parse=function(t){var n=ci(e,t);if(!F(n))throw ri("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);li(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(t){return e+t.substr(1)},this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(U(o=ci(t,i))?(s=o,a=n&&U(o=ci(n,o))?e+(ci("/",o)||o):t+s):U(o=ci(e,i))?a=e+o:e===i+"/"&&(a=e),a&&this.$$parse(a),!!a);var o,s,a}}function fi(t,e,n){si(t,this),this.$$parse=function(i){var r,o=ci(t,i)||ci(e,i);L(o)||"#"!==o.charAt(0)?this.$$html5?r=o:(r="",L(o)&&(t=i,this.replace())):L(r=ci(n,o))&&(r=o),li(r,this,!1),this.$$path=function(t,e,n){var i,r=/^\/[A-Z]:(\/.*)/;ui(e,n)&&(e=e.replace(n,""));if(r.exec(e))return t;return(i=r.exec(t))?i[1]:t}(this.$$path,r,t),this.$$compose()},this.$$normalizeUrl=function(e){return t+(e?n+e:"")},this.$$parseLinkUrl=function(e,n){return hi(t)===hi(e)&&(this.$$parse(e),!0)}}function di(t,e,n){this.$$html5=!0,fi.apply(this,arguments),this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(t===hi(i)?o=i:(s=ci(e,i))?o=t+n+s:e===i+"/"&&(o=e),o&&this.$$parse(o),!!o);var o,s},this.$$normalizeUrl=function(e){return t+n+e}}var mi={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=oi(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0}
2,absUrl:gi("$$absUrl"),url:function(t){if(L(t))return this.$$url;var e=ni.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:gi("$$protocol"),host:gi("$$host"),port:gi("$$port"),path:$i("$$path",(function(t){return"/"===(t=null!==t?t.toString():"").charAt(0)?t:"/"+t})),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(F(t)||q(t))t=t.toString(),this.$$search=_t(t);else{if(!z(t))throw ri("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");_(t=at(t,{}),(function(e,n){null==e&&delete t[n]})),this.$$search=t}break;default:L(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:$i("$$hash",(function(t){return null!==t?t.toString():""})),replace:function(){return this.$$replace=!0,this}};function gi(t){return function(){return this[t]}}function $i(t,e){return function(n){return L(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function vi(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return U(e)?(t=e,this):t},this.html5Mode=function(t){return X(t)?(e.enabled=t,this):z(t)?(X(t.enabled)&&(e.enabled=t.enabled),X(t.requireBase)&&(e.requireBase=t.requireBase),(X(t.rewriteLinks)||F(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,r,o,s){var l,u,c,h,p=i.baseHref(),f=i.url();if(e.enabled){if(!p&&e.requireBase)throw ri("nobase","$location in HTML5 mode requires a <base> tag to be present!");c=(h=f).substring(0,h.indexOf("/",h.indexOf("//")+2))+(p||"/"),u=r.history?pi:di}else c=hi(f),u=fi;var d=function(t){return t.substr(0,hi(t).lastIndexOf("/")+1)}(c);(l=new u(c,d,"#"+t)).$$parseLinkUrl(f,f),l.$$state=i.state();var m=/^\s*(javascript|mailto):/i;function g(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}}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=a(t.target);"a"!==rt(s[0]);
2)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!F(r)||!L(s.attr(r))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");z(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=pr(u.animVal).href),m.test(u)||!u||s.attr("target")||t.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(t.preventDefault(),l.absUrl()!==i.url()&&n.$apply())}}})),l.absUrl()!==f&&i.url(l.absUrl(),!0);var $=!0;return i.onUrlChange((function(t,e){ui(t,d)?(n.$evalAsync((function(){var i,r=l.absUrl(),o=l.$$state;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,g(r,!1,o)):($=!1,v(r,o)))})),n.$$phase||n.$digest()):s.location.href=t})),n.$watch((function(){if($||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var t=i.url(),e=l.absUrl(),o=i.state(),s=l.$$replace,a=!((u=t)===(c=e)||pr(u).href===pr(c).href)||l.$$html5&&r.history&&o!==l.$$state;($||a)&&($=!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):(a&&g(e,s,o===l.$$state?null:l.$$state),v(t,o)))})))}var u,c;l.$$replace=!1})),l;function v(t,e){n.$broadcast("$locationChangeSuccess",l.absUrl(),t,l.$$state,e)}}]}function yi(){var t=!0,e=this;this.debugEnabled=function(e){return U(e)?(t=e,this):t},this.$get=["$window",function(n){var i,r=s||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:a("log"),info:a("info"),warn:a("warn"),error:a("error"),debug:(i=a("debug"),function(){t&&i.apply(e,arguments)})};function o(t){return G(t)&&(t.stack&&r?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 a(t){var e=n.console||{},i=e[t]||e.log||V;return function(){var t=[];return _(arguments,(function(e){t.push(o(e))})),Function.prototype.apply.call(i,e,t)}}}]}_([di,fi,pi],(function(t){t.prototype=Object.create(mi),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==pi||!this.$$html5)throw ri("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=L(e)?null:e,this.$$urlUpdatedByLocation=!0,this}}));var bi=o("$parse"),wi={}.constructor.prototype.valueOf;function xi(t){return t+""}var Ci=zt();_("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(t){Ci[t]=!0}));var _i={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Ei=function(t){this.options=t};Ei.prototype={constructor:Ei,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=Ci[e],o=Ci[n],s=Ci[i];if(r||o||s){var a=s?i:o?n:e;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.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=U(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw bi("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=f(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 s=this.text.substring(this.index+1,this.index+5);s.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+s+"]"),this.index+=4,n+=String.fromCharCode(parseInt(s,16))}else{n+=_i[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 Si=function(t,e){this.lexer=t,this.options=e};function Ti(t,e){return void 0!==t?t:e}function ki(t,e){return void 0===t?e:void 0===e?t:t+e}Si.Program="Program",Si.ExpressionStatement="ExpressionStatement",Si.AssignmentExpression="AssignmentExpression",Si.ConditionalExpression="ConditionalExpression",Si.LogicalExpression="LogicalExpression",Si.BinaryExpression="BinaryExpression",Si.UnaryExpression="UnaryExpression",Si.CallExpression="CallExpression",Si.MemberExpression="MemberExpression",Si.Identifier="Identifier",Si.Literal="Literal",Si.ArrayExpression="ArrayExpression",Si.Property="Property",Si.ObjectExpression="ObjectExpression",Si.ThisExpression="ThisExpression",Si.LocalsExpression="LocalsExpression",Si.NGValueParameter="NGValueParameter",Si.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("}",")",";
2","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:Si.Program,body:t}},expressionStatement:function(){return{type:Si.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(!Mi(t))throw bi("lval","Trying to assign a value to a non l-value");t={type:Si.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:Si.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:Si.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:Si.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:Si.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:Si.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:Si.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:Si.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:Si.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t,e;for(this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=at(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:Si.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());e=this.expect("(","[",".");
2)"("===e.text?(t={type:Si.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:Si.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:Si.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:Si.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:Si.Identifier,name:t.text}},constant:function(){return{type:Si.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:Si.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:Si.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:Si.ObjectExpression,properties:e}},throwError:function(t,e){throw bi("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 bi("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 bi("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],s=o.text;if(s===e||s===n||s===i||s===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:Si.ThisExpression},$locals:{type:Si.LocalsExpression}}};function Ai(t,e,n){var i,r,o,s=t.isPure=function(t,e){switch(t.type){case Si.MemberExpression:if(t.computed)return!1;break;case Si.UnaryExpression:return 1;case Si.BinaryExpression:return"+"!==t.operator&&1;case Si.CallExpression:return!1}return void 0===e?2:e}(t,n);switch(t.type){case Si.Program:i=!0,_(t.body,(function(t){Ai(t.expression,e,s),i=i&&t.expression.constant})),t.constant=i;break;case Si.Literal:t.constant=!0,t.toWatch=[];break;case Si.UnaryExpression:Ai(t.argument,e,s),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case Si.BinaryExpression:Ai(t.left,e,s),Ai(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case Si.LogicalExpression:Ai(t.left,e,s),Ai(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case Si.ConditionalExpression:Ai(t.test,e,s),Ai(t.alternate,e,s),Ai(t.consequent,e,s),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case Si.Identifier:t.constant=!1,t.toWatch=[t];break;case Si.MemberExpression:Ai(t.object,e,s),t.computed&&Ai(t.property,e,s),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=t.constant?[]:[t];break;case Si.CallExpression:o=!!t.filter&&function(t,e){return!t(e).$stateful}(e,t.callee.name),i=o,r=[],_(t.arguments,(function(t){Ai(t,e,s),i=i&&t.constant,r.push.apply(r,t.toWatch)})),t.constant=i,t.toWatch=o?r:[t];break;case Si.AssignmentExpression:Ai(t.left,e,s),Ai(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case Si.ArrayExpression:i=!0,r=[],_(t.elements,(function(t){Ai(t,e,s),i=i&&t.constant,r.push.apply(r,t.toWatch)})),t.constant=i,t.toWatch=r;break;case Si.ObjectExpression:i=!0,r=[],_(t.properties,(function(t){Ai(t.value,e,s),i=i&&t.value.constant,r.push.apply(r,t.value.toWatch),t.computed&&(Ai(t.key,e,!1),i=i&&t.key.constant,r.push.apply(r,t.key.toWatch))})),t.constant=i,t.toWatch=r;break;case Si.ThisExpression:case Si.LocalsExpression:t.constant=!1,t.toWatch=[]}}function Oi(t){if(1===t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length||n[0]!==e?n:void 0}}function Mi(t){return t.type===Si.Identifier||t.type===Si.MemberExpression}function Ii(t){if(1===t.body.length&&Mi(t.body[0].expression))return{type:Si.AssignmentExpression,left:t.body[0].expression,right:{type:Si.NGValueParameter},operator:"="}}function Di(t){this.$filter=t}function Ni(t){this.$filter=t}function Vi(t,e,n){this.ast=new Si(t,n),this.astCompiler=n.csp?new Ni(e):new Di(e)}function Ri(t){return Z(t.valueOf)?t.valueOf():wi.call(t)}function Pi(){var t,e,n=zt(),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){var o={csp:ct().noUnsafeEval,literals:at(i),isIdentifierStart:Z(t)&&t,isIdentifierContinue:Z(e)&&e};return s.$$getAst=function(t){return new Vi(new Ei(o),r,o).getAst(t).ast},s;function s(t,e){var i,s;switch(typeof t){case"string":if(t=t.trim(),!(i=n[s=t]))i=new Vi(new Ei(o),r,o).parse(t),n[s]=p(i);return f(i,e);case"function":return f(t,e);default:return f(V,e)}}function a(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&"object"==typeof(t=Ri(t))&&!n)&&(t===e||t!=t&&e!=e)}function l(t,e,n,i,r){var o,s=i.inputs;if(1===s.length){var l=a;return s=s[0],t.$watch((function(t){var e=s(t);return a(e,l,s.isPure)||(o=i(t,void 0,void 0,[e]),l=e&&Ri(e)),o}),e,n,r)}for(var u=[],c=[],h=0,p=s.length;h<p;h++)u[h]=a,c[h]=null;
2return t.$watch((function(t){for(var e=!1,n=0,r=s.length;n<r;n++){var l=s[n](t);(e||(e=!a(l,u[n],s[n].isPure)))&&(c[n]=l,u[n]=l&&Ri(l))}return e&&(o=i(t,void 0,void 0,c)),o}),e,n,r)}function u(t,e,n,i,r){var o,s,a=i.literal?c:U,l=i.$$intercepted||i,u=i.$$interceptor||R,h=i.inputs&&!l.inputs;return d.literal=i.literal,d.constant=i.constant,d.inputs=i.inputs,p(d),o=t.$watch(d,e,n,r);function f(){a(s)&&o()}function d(t,e,n,i){return s=h&&i?i[0]:l(t,e,n,i),a(s)&&t.$$postDigest(f),u(s)}}function c(t){var e=!0;return _(t,(function(t){U(t)||(e=!1)})),e}function h(t,e,n,i){var r=t.$watch((function(t){return r(),i(t)}),e,n);return r}function p(t){return t.constant?t.$$watchDelegate=h:t.oneTime?t.$$watchDelegate=u:t.inputs&&(t.$$watchDelegate=l),t}function f(t,e){if(!e)return t;t.$$interceptor&&(e=function(t,e){function n(n){return e(t(n))}return n.$stateful=t.$stateful||e.$stateful,n.$$pure=t.$$pure&&e.$$pure,n}(t.$$interceptor,e),t=t.$$intercepted);var n=!1,i=function(i,r,o,s){var a=n&&s?s[0]:t(i,r,o,s);return e(a)};return i.$$intercepted=t,i.$$interceptor=e,i.literal=t.literal,i.oneTime=t.oneTime,i.constant=t.constant,e.$stateful||(n=!t.inputs,i.inputs=t.inputs?t.inputs:[t],e.$$pure||(i.inputs=i.inputs.map((function(t){return 2===t.isPure?function(e){return t(e)}:t})))),p(i)}}]}function ji(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return Ui((function(t){e.$evalAsync(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return U(e)?(t=e,this):t}}function Li(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return Ui((function(t){e.defer(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return U(e)?(t=e,this):t}}function Ui(t,e,n){var i=o("$q",TypeError),r=0,s=[];function a(){return new l}function l(){var t=this.promise=new u;this.resolve=function(e){p(t,e)},this.reject=function(e){d(t,e)},this.notify=function(e){g(t,e)}}function u(){this.$$state={status:0}}function c(){for(;!r&&s.length;){var t=s.shift();if(!zi(t)){Hi(t);var n="Possibly unhandled rejection: "+Bt(t.value);G(t.value)?e(t.value,n):e(n)}}}function h(i){!n||i.pending||2!==i.status||zi(i)||(0===r&&0===s.length&&t(c),s.push(i)),!i.processScheduled&&i.pending&&(i.processScheduled=!0,++r,t((function(){!function(i){var o,s,a;a=i.pending,i.processScheduled=!1,i.pending=void 0;try{for(var l=0,u=a.length;l<u;++l){Hi(i),s=a[l][0],o=a[l][i.status];try{Z(o)?p(s,o(i.value)):1===i.status?p(s,i.value):d(s,i.value)}catch(t){d(s,t),t&&!0===t.$$passToExceptionHandler&&e(t)}}}finally{--r,n&&0===r&&t(c)}}(i)})))}function p(t,e){t.$$state.status||(e===t?m(t,i("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):f(t,e))}function f(t,e){var n,i=!1;try{(z(e)||Z(e))&&(n=e.then),Z(n)?(t.$$state.status=-1,n.call(e,(function(e){if(i)return;i=!0,f(t,e)}),r,(function(e){g(t,e)}))):(t.$$state.value=e,t.$$state.status=1,h(t.$$state))}catch(t){r(t)}function r(e){i||(i=!0,m(t,e))}}function d(t,e){t.$$state.status||m(t,e)}function m(t,e){t.$$state.value=e,t.$$state.status=2,h(t.$$state)}function g(n,i){var r=n.$$state.pending;n.$$state.status<=0&&r&&r.length&&t((function(){for(var t,n,o=0,s=r.length;o<s;o++){n=r[o][0],t=r[o][3];try{g(n,Z(t)?t(i):i)}catch(t){e(t)}}}))}function $(t){var e=new u;return d(e,t),e}function v(t,e,n){var i=null;try{Z(n)&&(i=n())}catch(t){return $(t)}return Q(i)?i.then((function(){return e(t)}),$):e(t)}function y(t,e,n,i){var r=new u;return p(r,t),r.then(e,n,i)}O(u.prototype,{then:function(t,e,n){if(L(t)&&L(e)&&L(n))return this;var i=new u;
2return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,t,e,n]),this.$$state.status>0&&h(this.$$state),i},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then((function(e){return v(e,b,t)}),(function(e){return v(e,$,t)}),e)}});var b=y;function w(t){if(!Z(t))throw i("norslvr","Expected resolverFn, got '{0}'",t);var e=new u;return t((function(t){p(e,t)}),(function(t){d(e,t)})),e}return w.prototype=u.prototype,w.defer=a,w.reject=$,w.when=y,w.resolve=b,w.all=function(t){var e=new u,n=0,i=W(t)?[]:{};return _(t,(function(t,r){n++,y(t).then((function(t){i[r]=t,--n||p(e,i)}),(function(t){d(e,t)}))})),0===n&&p(e,i),e},w.race=function(t){var e=a();return _(t,(function(t){y(t).then(e.resolve,e.reject)})),e.promise},w}function zi(t){return!!t.pur}function Hi(t){t.pur=!0}function Fi(t){t.$$state&&Hi(t.$$state)}function qi(){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 Bi(){var t=10,e=o("$rootScope"),n=null,i=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,o,a){function l(t){t.currentScope.$$destroyed=!0}function u(t){9===s&&(t.$$childHead&&u(t.$$childHead),t.$$nextSibling&&u(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function c(){this.$id=T(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}c.prototype={constructor:c,$new:function(t,e){var n;return e=e||this,t?(n=new c).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=T(),this.$$ChildScope=null,this.$$suspended=!1}return e.prototype=t,e}(this)),n=new this.$$ChildScope),n.$parent=e,n.$$prevSibling=e.$$childTail,e.$$childHead?(e.$$childTail.$$nextSibling=n,e.$$childTail=n):e.$$childHead=e.$$childTail=n,(t||e!==this)&&n.$on("$destroy",l),n},$watch:function(t,e,i,r){var s=o(t),a=Z(e)?e:V;if(s.$$watchDelegate)return s.$$watchDelegate(this,a,i,s,t);var l=this,u=l.$$watchers,c={fn:a,last:w,get:s,exp:r||t,eq:!!i};return n=null,u||((u=l.$$watchers=[]).$$digestWatchIndex=-1),u.unshift(c),u.$$digestWatchIndex++,y(this,1),function(){var t=st(u,c);t>=0&&(y(l,-1),t<u.$$digestWatchIndex&&u.$$digestWatchIndex--),n=null}},$watchGroup:function(t,e){var n=new Array(t.length),i=new Array(t.length),r=[],o=this,s=!1,a=!0;if(!t.length){var l=!0;return o.$evalAsync((function(){l&&e(i,i,o)})),function(){l=!1}}if(1===t.length)return this.$watch(t[0],(function(t,r,o){i[0]=t,n[0]=r,e(i,t===r?i:n,o)}));function u(){s=!1;try{a?(a=!1,e(i,i,o)):e(i,n,o)}finally{for(var r=0;r<t.length;r++)n[r]=i[r]}}return _(t,(function(t,e){var n=o.$watch(t,(function(t){i[e]=t,s||(s=!0,o.$evalAsync(u))}));r.push(n)})),function(){for(;r.length;)r.shift()()}},$watchCollection:function(t,e){m.$$pure=o(t).literal,m.$stateful=!m.$$pure;var n,i,r,s=this,a=e.length>1,l=0,u=o(t,m),c=[],h={},f=!0,d=0;function m(t){var e,r,o,s;if(!L(n=t)){if(z(n))if(C(n)){i!==c&&(d=(i=c).length=0,l++),e=n.length,d!==e&&(l++,i.length=d=e);for(var a=0;a<e;a++)s=i[a],o=n[a],s!=s&&o!=o||s===o||(l++,i[a]=o)}else{for(r in i!==h&&(i=h={},d=0,l++),e=0,n)p.call(n,r)&&(e++,o=n[r],s=i[r],r in i?s!=s&&o!=o||s===o||(l++,i[r]=o):(d++,i[r]=o,l++));if(d>e)for(r in l++,i)p.call(n,r)||(d--,delete i[r])}else i!==n&&(i=n,l++);return l}}return this.$watch(u,(function(){if(f?(f=!1,e(n,n,s)):e(n,r,s),a)if(z(n))if(C(n)){r=new Array(n.length);for(var t=0;t<n.length;t++)r[t]=n[t]}else for(var i in r={},n)p.call(n,i)&&(r[i]=n[i]);else r=n}))},$digest:function(){var o,s,l,u,c,p,m,y,b,C=t,_=f.length?h:this,E=[];$("$digest"),a.$$checkUrlChange(),this===h&&null!==i&&(a.defer.cancel(i),x()),n=null;do{c=!1,m=_;for(var S=0;S<f.length;S++){try{(0,(b=f[S]).fn)(b.scope,b.locals)}catch(t){r(t)}n=null}f.length=0;t:do{if(u=!m.$$suspended&&m.$$watchers)for(u.$$digestWatchIndex=u.length;u.$$digestWatchIndex--;)try{if(o=u[u.$$digestWatchIndex])if((s=(0,o.get)(m))===(l=o.last)||(o.eq?ut(s,l):D(s)&&D(l))){if(o===n){c=!1;break t}}else c=!0,n=o,o.last=o.eq?at(s,null):s,(0,o.fn)(s,l===w?s:l,m),C<5&&(E[y=4-C]||(E[y]=[]),E[y].push({msg:Z(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:s,oldVal:l}))}catch(t){r(t)}if(!(p=!m.$$suspended&&m.$$watchersCount&&m.$$childHead||m!==_&&m.$$nextSibling))for(;m!==_&&!(p=m.$$nextSibling);)m=m.$parent}while(m=p);if((c||f.length)&&!C--)throw v(),e("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,E)}while(c||f.length);for(v();g<d.length;)try{d[g++]()}catch(t){r(t)}d.length=g=0,a.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;for(var e in this.$broadcast("$destroy"),this.$$destroyed=!0,this===h&&a.$$applicationDestroyed(),y(this,-this.$$wat
2chersCount),this.$$listenerCount)b(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,u(this)}},$eval:function(t,e){return o(t)(this,e)},$evalAsync:function(t,e){h.$$phase||f.length||a.defer((function(){f.length&&h.$digest()}),null,"$evalAsync"),f.push({scope:this,fn:o(t),locals:e})},$$postDigest:function(t){d.push(t)},$apply:function(t){try{$("$apply");try{return this.$eval(t)}finally{v()}}catch(t){r(t)}finally{try{h.$digest()}catch(t){throw r(t),t}}},$applyAsync:function(t){var e=this;t&&m.push((function(){e.$eval(t)})),t=o(t),null===i&&(i=a.defer((function(){h.$apply(x)}),null,"$applyAsync"))},$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&&(delete n[i],b(r,1,t))}},$emit:function(t,e){var n,i,o,s=[],a=this,l=!1,u={name:t,targetScope:a,stopPropagation:function(){l=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=pt([u],arguments,1);do{for(n=a.$$listeners[t]||s,u.currentScope=a,i=0,o=n.length;i<o;i++)if(n[i])try{n[i].apply(null,c)}catch(t){r(t)}else n.splice(i,1),i--,o--;if(l)break;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(t,e){var n=this,i=n,o=n,s={name:t,targetScope:n,preventDefault:function(){s.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[t])return s;for(var a,l,u,c=pt([s],arguments,1);i=o;){for(s.currentScope=i,l=0,u=(a=i.$$listeners[t]||[]).length;l<u;l++)if(a[l])try{a[l].apply(null,c)}catch(t){r(t)}else a.splice(l,1),l--,u--;if(!(o=i.$$listenerCount[t]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(o=i.$$nextSibling);)i=i.$parent}return s.currentScope=null,s}};var h=new c,f=h.$$asyncQueue=[],d=h.$$postDigestQueue=[],m=h.$$applyAsyncQueue=[],g=0;return h;function $(t){if(h.$$phase)throw e("inprog","{0} already in progress",h.$$phase);h.$$phase=t}function v(){h.$$phase=null}function y(t,e){do{t.$$watchersCount+=e}while(t=t.$parent)}function b(t,e,n){do{t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n]}while(t=t.$parent)}function w(){}function x(){for(;m.length;)try{m.shift()()}catch(t){r(t)}i=null}}]}function Wi(){var t=/^\s*(https?|s?ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(e){return U(e)?(t=e,this):t},this.imgSrcSanitizationTrustedUrlList=function(t){return U(t)?(e=t,this):e},this.$get=function(){return function(n,i){var r=i?e:t,o=pr(n&&n.trim()).href;return""===o||o.match(r)?n:"unsafe:"+o}}}Di.prototype={compile:function(t){var e=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Ai(t,e.$filter);var n,i="";if(this.stage="assign",n=Ii(t)){this.state.computing="assign";var r=this.nextId();this.recurse(n,r),this.return_(r),i="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Oi(t.body);e.stage="inputs",_(o,(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({name:i,isPure:t.isPure}),t.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(t);var s='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+i+this.watchFns()+"return fn;",a=new Function("$filter","getStringValue","ifDefined","plus",s)(this.$filter,xi,Ti,ki);return this.state=this.stage=void 0,a},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return _(e,(function(e){t.push("var "+e.name+"="+n.generateFunction(e.name,"s")),e.isPure&&t.push(e.name,".isPure="+JSON.stringify(e.isPure)+";")})),e.length&&t.push("fn.inputs=["+e.map((function(t){return t.name})).join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return _(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,o){var s,a,l,u,c,h=this;if(i=i||V,!o&&U(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 Si.Program:_(t.body,(function(e,n){h.recurse(e.expression,void 0,void 0,(function(t){a=t})),n!==t.body.length-1?h.current().body.push(a,";"):h.return_(a)}));break;
2case Si.Literal:u=this.escape(t.value),this.assign(e,u),i(e||u);break;case Si.UnaryExpression:this.recurse(t.argument,void 0,void 0,(function(t){a=t})),u=t.operator+"("+this.ifDefined(a,0)+")",this.assign(e,u),i(u);break;case Si.BinaryExpression:this.recurse(t.left,void 0,void 0,(function(t){s=t})),this.recurse(t.right,void 0,void 0,(function(t){a=t})),u="+"===t.operator?this.plus(s,a):"-"===t.operator?this.ifDefined(s,0)+t.operator+this.ifDefined(a,0):"("+s+")"+t.operator+"("+a+")",this.assign(e,u),i(u);break;case Si.LogicalExpression:e=e||this.nextId(),h.recurse(t.left,e),h.if_("&&"===t.operator?e:h.not(e),h.lazyRecurse(t.right,e)),i(e);break;case Si.ConditionalExpression:e=e||this.nextId(),h.recurse(t.test,e),h.if_(e,h.lazyRecurse(t.alternate,e),h.lazyRecurse(t.consequent,e)),i(e);break;case Si.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",t.name)),(function(){h.if_("inputs"===h.stage||"s",(function(){r&&1!==r&&h.if_(h.isNull(h.nonComputedMember("s",t.name)),h.lazyAssign(h.nonComputedMember("s",t.name),"{}")),h.assign(e,h.nonComputedMember("s",t.name))}))}),e&&h.lazyAssign(e,h.nonComputedMember("l",t.name))),i(e);break;case Si.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),h.recurse(t.object,s,void 0,(function(){h.if_(h.notNull(s),(function(){t.computed?(a=h.nextId(),h.recurse(t.property,a),h.getStringValue(a),r&&1!==r&&h.if_(h.not(h.computedMember(s,a)),h.lazyAssign(h.computedMember(s,a),"{}")),u=h.computedMember(s,a),h.assign(e,u),n&&(n.computed=!0,n.name=a)):(r&&1!==r&&h.if_(h.isNull(h.nonComputedMember(s,t.property.name)),h.lazyAssign(h.nonComputedMember(s,t.property.name),"{}")),u=h.nonComputedMember(s,t.property.name),h.assign(e,u),n&&(n.computed=!1,n.name=t.property.name))}),(function(){h.assign(e,"undefined")})),i(e)}),!!r);break;case Si.CallExpression:e=e||this.nextId(),t.filter?(a=h.filter(t.callee.name),l=[],_(t.arguments,(function(t){var e=h.nextId();h.recurse(t,e),l.push(e)})),u=a+"("+l.join(",")+")",h.assign(e,u),i(e)):(a=h.nextId(),s={},l=[],h.recurse(t.callee,a,s,(function(){h.if_(h.notNull(a),(function(){_(t.arguments,(function(e){h.recurse(e,t.constant?void 0:h.nextId(),void 0,(function(t){l.push(t)}))})),u=s.name?h.member(s.context,s.name,s.computed)+"("+l.join(",")+")":a+"("+l.join(",")+")",h.assign(e,u)}),(function(){h.assign(e,"undefined")})),i(e)})));break;case Si.AssignmentExpression:a=this.nextId(),s={},this.recurse(t.left,void 0,s,(function(){h.if_(h.notNull(s.context),(function(){h.recurse(t.right,a),u=h.member(s.context,s.name,s.computed)+t.operator+a,h.assign(e,u),i(e||u)}))}),1);break;case Si.ArrayExpression:l=[],_(t.elements,(function(e){h.recurse(e,t.constant?void 0:h.nextId(),void 0,(function(t){l.push(t)}))})),u="["+l.join(",")+"]",this.assign(e,u),i(e||u);break;case Si.ObjectExpression:l=[],c=!1,_(t.properties,(function(t){t.computed&&(c=!0)})),c?(e=e||this.nextId(),this.assign(e,"{}"),_(t.properties,(function(t){t.computed?(s=h.nextId(),h.recurse(t.key,s)):s=t.key.type===Si.Identifier?t.key.name:""+t.key.value,a=h.nextId(),h.recurse(t.value,a),h.assign(h.member(e,s,t.computed),a)}))):(_(t.properties,(function(e){h.recurse(e.value,t.constant?void 0:h.nextId(),void 0,(function(t){l.push(h.escape(e.key.type===Si.Identifier?e.key.name:""+e.key.value)+":"+t)}))})),u="{"+l.join(",")+"}",this.assign(e,u)),i(e||u);break;case Si.ThisExpression:this.assign(e,"s"),i(e||"s");break;case Si.LocalsExpression:this.assign(e,"l"),i(e||"l");break;case Si.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){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.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 s=this;return function(){s.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(F(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(q(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 bi("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]}},Ni.prototype={compile:function(t){var e,n,i=this;Ai(t,i.$filter),(e=Ii(t))&&(n=this.recurse(e));var r,o=Oi(t.body);o&&(r=[],_(o,(function(t,e){var n=i.recurse(t);
2n.isPure=t.isPure,t.input=n,r.push(n),t.watchId=e})));var s=[];_(t.body,(function(t){s.push(i.recurse(t.expression))}));var a=0===t.body.length?V:1===t.body.length?s[0]:function(t,e){var n;return _(s,(function(i){n=i(t,e)})),n};return n&&(a.assign=function(t,e,i){return n(t,i,e)}),r&&(a.inputs=r),a},recurse:function(t,e,n){var i,r,o,s=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case Si.Literal:return this.value(t.value,e);case Si.UnaryExpression:return r=this.recurse(t.argument),this["unary"+t.operator](r,e);case Si.BinaryExpression:case Si.LogicalExpression:return i=this.recurse(t.left),r=this.recurse(t.right),this["binary"+t.operator](i,r,e);case Si.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case Si.Identifier:return s.identifier(t.name,e,n);case Si.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 Si.CallExpression:return o=[],_(t.arguments,(function(t){o.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,s){for(var a=[],l=0;l<o.length;++l)a.push(o[l](t,n,i,s));var u=r.apply(void 0,a,s);return e?{context:void 0,name:void 0,value:u}:u}:function(t,n,i,s){var a,l=r(t,n,i,s);if(null!=l.value){for(var u=[],c=0;c<o.length;++c)u.push(o[c](t,n,i,s));a=l.value.apply(l.context,u)}return e?{value:a}:a};case Si.AssignmentExpression:return i=this.recurse(t.left,!0,1),r=this.recurse(t.right),function(t,n,o,s){var a=i(t,n,o,s),l=r(t,n,o,s);return a.context[a.name]=l,e?{value:l}:l};case Si.ArrayExpression:return o=[],_(t.elements,(function(t){o.push(s.recurse(t))})),function(t,n,i,r){for(var s=[],a=0;a<o.length;++a)s.push(o[a](t,n,i,r));return e?{value:s}:s};case Si.ObjectExpression:return o=[],_(t.properties,(function(t){t.computed?o.push({key:s.recurse(t.key),computed:!0,value:s.recurse(t.value)}):o.push({key:t.key.type===Si.Identifier?t.key.name:""+t.key.value,computed:!1,value:s.recurse(t.value)})})),function(t,n,i,r){for(var s={},a=0;a<o.length;++a)o[a].computed?s[o[a].key(t,n,i,r)]=o[a].value(t,n,i,r):s[o[a].key]=o[a].value(t,n,i,r);return e?{value:s}:s};case Si.ThisExpression:return function(t){return e?{value:t}:t};case Si.LocalsExpression:return function(t,n){return e?{value:n}:n};case Si.NGValueParameter:return function(t,n,i){return e?{value:i}:i}}},"unary+":function(t,e){return function(n,i,r,o){var s=t(n,i,r,o);return s=U(s)?+s:0,e?{value:s}:s}},"unary-":function(t,e){return function(n,i,r,o){var s=t(n,i,r,o);return s=U(s)?-s:-0,e?{value:s}:s}},"unary!":function(t,e){return function(n,i,r,o){var s=!t(n,i,r,o);return e?{value:s}:s}},"binary+":function(t,e,n){return function(i,r,o,s){var a=ki(t(i,r,o,s),e(i,r,o,s));return n?{value:a}:a}},"binary-":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s),l=e(i,r,o,s),u=(U(a)?a:0)-(U(l)?l:0);return n?{value:u}:u}},"binary*":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)*e(i,r,o,s);return n?{value:a}:a}},"binary/":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)/e(i,r,o,s);return n?{value:a}:a}},"binary%":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)%e(i,r,o,s);return n?{value:a}:a}},"binary===":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)===e(i,r,o,s);return n?{value:a}:a}},"binary!==":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)!==e(i,r,o,s);return n?{value:a}:a}},"binary==":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)==e(i,r,o,s);return n?{value:a}:a}},"binary!=":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)!=e(i,r,o,s);return n?{value:a}:a}},"binary<":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)<e(i,r,o,s);return n?{value:a}:a}},"binary>":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)>e(i,r,o,s);return n?{value:a}:a}},"binary<=":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)<=e(i,r,o,s);return n?{value:a}:a}},"binary>=":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)>=e(i,r,o,s);return n?{value:a}:a}},"binary&&":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)&&e(i,r,o,s);return n?{value:a}:a}},"binary||":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s)||e(i,r,o,s);return n?{value:a}:a}}
2,"ternary?:":function(t,e,n,i){return function(r,o,s,a){var l=t(r,o,s,a)?e(r,o,s,a):n(r,o,s,a);return i?{value:l}:l}},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,s){var a=r&&t in r?r:i;n&&1!==n&&a&&null==a[t]&&(a[t]={});var l=a?a[t]:void 0;return e?{context:a,name:t,value:l}:l}},computedMember:function(t,e,n,i){return function(r,o,s,a){var l,u,c=t(r,o,s,a);return null!=c&&(l=xi(l=e(r,o,s,a)),i&&1!==i&&c&&!c[l]&&(c[l]={}),u=c[l]),n?{context:c,name:l,value:u}:u}},nonComputedMember:function(t,e,n,i){return function(r,o,s,a){var l=t(r,o,s,a);i&&1!==i&&l&&null==l[e]&&(l[e]={});var u=null!=l?l[e]:void 0;return n?{context:l,name:e,value:u}:u}},inputs:function(t,e){return function(n,i,r,o){return o?o[e]:t(n,i,r)}}},Vi.prototype={constructor:Vi,parse:function(t){var e=this.getAst(t),n=this.astCompiler.compile(e.ast);return n.literal=function(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===Si.Literal||t.body[0].expression.type===Si.ArrayExpression||t.body[0].expression.type===Si.ObjectExpression)}(e.ast),n.constant=function(t){return t.constant}(e.ast),n.oneTime=e.oneTime,n},getAst:function(t){var e=!1;return":"===(t=t.trim()).charAt(0)&&":"===t.charAt(1)&&(e=!0,t=t.substring(2)),{ast:this.ast.ast(t),oneTime:e}}};var Gi=o("$sce"),Zi={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ki=/_([a-z])/g;function Ji(t){return t.replace(Ki,Qt)}function Yi(t){var e=[];return U(t)&&_(t,(function(t){e.push(function(t){if("self"===t)return t;if(F(t)){if(t.indexOf("***")>-1)throw Gi("iwcard","Illegal sequence *** in string matcher.  String: {0}",t);return t=nt(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(K(t))return new RegExp("^"+t.source+"$");throw Gi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(t))})),e}function Xi(){this.SCE_CONTEXTS=Zi;var e=["self"],n=[];this.trustedResourceUrlList=function(t){return arguments.length&&(e=Yi(t)),e},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(t){this.trustedResourceUrlList=t}}),this.bannedResourceUrlList=function(t){return arguments.length&&(n=Yi(t)),n},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(t){this.bannedResourceUrlList=t}}),this.$get=["$injector","$$sanitizeUri",function(i,r){var o=function(t){throw Gi("unsafe","Attempting to use an unsafe value in a safe context.")};function s(e,n){return"self"===e?fr(n,cr)||function(e){return fr(e,function(){if(t.document.baseURI)return t.document.baseURI;lr||((lr=t.document.createElement("a")).href=".",lr=lr.cloneNode(!1));return lr.href}())}(n):!!e.exec(n.href)}function a(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}i.has("$sanitize")&&(o=i.get("$sanitize"));var l=a(),u={};return u[Zi.HTML]=a(l),u[Zi.CSS]=a(l),u[Zi.MEDIA_URL]=a(l),u[Zi.URL]=a(u[Zi.MEDIA_URL]),u[Zi.JS]=a(l),u[Zi.RESOURCE_URL]=a(u[Zi.URL]),{trustAs:function(t,e){var n=u.hasOwnProperty(t)?u[t]:null;if(!n)throw Gi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||L(e)||""===e)return e;if("string"!=typeof e)throw Gi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)},getTrusted:function(t,i){if(null===i||L(i)||""===i)return i;var a=u.hasOwnProperty(t)?u[t]:null;if(a&&i instanceof a)return i.$$unwrapTrustedValue();if(Z(i.$$unwrapTrustedValue)&&(i=i.$$unwrapTrustedValue()),t===Zi.MEDIA_URL||t===Zi.URL)return r(i.toString(),t===Zi.MEDIA_URL);if(t===Zi.RESOURCE_URL){if(function(t){var i,r,o=pr(t.toString()),a=!1;for(i=0,r=e.length;i<r;i++)if(s(e[i],o)){a=!0;break}if(a)for(i=0,r=n.length;i<r;i++)if(s(n[i],o)){a=!1;break}return a}(i))return i;throw Gi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",i.toString())}if(t===Zi.HTML)return o(i);throw Gi("unsafe","Attempting to use an unsafe value in a safe context.")}
2,valueOf:function(t){return t instanceof l?t.$$unwrapTrustedValue():t}}}]}function Qi(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&s<8)throw Gi("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=qt(Zi);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=R),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,o=i.getTrusted,a=i.trustAs;return _(Zi,(function(t,e){var n=f(e);i[Ji("parse_as_"+n)]=function(e){return r(t,e)},i[Ji("get_trusted_"+n)]=function(e){return o(t,e)},i[Ji("trust_as_"+n)]=function(e){return a(t,e)}})),i}]}function tr(){this.$get=["$window","$document",function(t,e){var n={},i=!(!(t.nw&&t.nw.process)&&t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id))&&t.history&&t.history.pushState,r=I((/android (\d+)/.exec(f((t.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((t.navigator||{}).userAgent),a=e[0]||{},l=a.body&&a.body.style,u=!1,c=!1;return l&&(u=!(!("transition"in l)&&!("webkitTransition"in l)),c=!(!("animation"in l)&&!("webkitAnimation"in l))),{history:!(!i||r<4||o),hasEvent:function(t){if("input"===t&&s)return!1;if(L(n[t])){var e=a.createElement("div");n[t]="on"+t in e}return n[t]},csp:ct(),transitions:u,animations:c,android:r}}]}function er(){this.$get=P((function(t){return new nr(t)}))}function nr(t){var e=this,n={},i=[],r=e.ALL_TASKS_TYPE="$$all$$",o=e.DEFAULT_TASK_TYPE="$$default$$";function s(){var t=i.pop();return t&&t.cb}function a(t){for(var e=i.length-1;e>=0;--e){var n=i[e];if(n.type===t)return i.splice(e,1),n.cb}}e.completeTask=function(e,i){i=i||o;try{e()}finally{!function(t){n[t=t||o]&&(n[t]--,n[r]--)}(i);var l=n[i],u=n[r];if(!u||!l)for(var c,h=u?a:s;c=h(i);)try{c()}catch(e){t.error(e)}}},e.incTaskCount=function(t){n[t=t||o]=(n[t]||0)+1,n[r]=(n[r]||0)+1},e.notifyWhenNoPendingTasks=function(t,e){n[e=e||r]?i.push({type:e,cb:t}):t()}}var ir=o("$templateRequest");function rr(){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 s(a,l){s.totalPendingRequests++,F(a)&&!L(n.get(a))||(a=o.getTrustedResourceUrl(a));var u=i.defaults&&i.defaults.transformResponse;return W(u)?u=u.filter((function(t){return t!==Hn})):u===Hn&&(u=null),i.get(a,O({cache:n,transformResponse:u},t)).finally((function(){s.totalPendingRequests--})).then((function(t){return n.put(a,t.data)}),(function(t){l||(t=ir("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,t.status,t.statusText),e(t));return r.reject(t)}))}return s.totalPendingRequests=0,s}]}function or(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var i={findBindings:function(t,e,n){var i=t.getElementsByClassName("ng-binding"),r=[];return _(i,(function(t){var i=w.element(t).data("$binding");i&&_(i,(function(i){n?new RegExp("(^|\\s)"+nt(e)+"(\\s|\\||$)").test(i)&&r.push(t):-1!==i.indexOf(e)&&r.push(t)}))})),r},findModels:function(t,e,n){for(var i=["ng-","data-ng-","ng\\:"],r=0;r<i.length;++r){var o="["+i[r]+"model"+(n?"=":"*=")+'"'+e+'"]',s=t.querySelectorAll(o);if(s.length)return s}},getLocation:function(){return n.url()},setLocation:function(e){e!==n.url()&&(n.url(e),t.$digest())},whenStable:function(t){e.notifyWhenNoOutstandingRequests(t)}};return i}]}var sr=o("$timeout");function ar(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,i,r){var o={};function s(s,a,l){Z(s)||(l=a,a=s,s=V);var u,c=ft(arguments,3),h=U(l)&&!l,p=(h?i:n).defer(),f=p.promise;return u=e.defer((function(){try{p.resolve(s.apply(null,c))}catch(t){p.reject(t),r(t)}finally{delete o[f.$$timeoutId]}h||t.$apply()}),a,"$timeout"),f.$$timeoutId=u,o[u]=p,f}return s.cancel=function(t){if(!t)return!1;if(!t.hasOwnProperty("$$timeoutId"))throw sr("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!o.hasOwnProperty(t.$$timeoutId))return!1;var n=t.$$timeoutId,i=o[n];return Fi(i.promise),i.reject("canceled"),delete o[n],e.defer.cancel(n)},s}]}var lr,ur=t.document.createElement("a"),cr=pr(t.location.href);ur.href="http://[::1]";var hr="[::1]"===ur.hostname;function pr(t){if(!F(t))return t;var e=t;s&&(ur.setAttribute("href",e),e=ur.href),ur.setAttribute("href",e);var n=ur.hostname;return!hr&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:ur.href,protocol:ur.protocol?ur.protocol.replace(/:$/,""):"",host:ur.host,search:ur.search?ur.search.replace(/^\?/,""):"",hash:ur.hash?ur.hash.replace(/^#/,""):"",hostname:n,port:ur.port,pathname:"/"===ur.pathname.charAt(0)?ur.pathname:"/"+ur.pathname}}function fr(t,e){return t=pr(t),e=pr(e),t.protocol===e.protocol&&t.host===e.host}function dr(){this.$get=P(t)}function mr(t){var e=t[0]||{},n={},i="";function r(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var t,o,s,a,l,u=function(t){try{return t.cookie||""}catch(t){return""}}(e);if(u!==i)for(t=(i=u).split("; "),n={},s=0;s<t.length;s++)(a=(o=t[s]).indexOf("="))>0&&(l=r(o.substring(0,a)),L(n[l])&&(n[l]=r(o.substring(a+1))));return n}}function gr(){this.$get=mr}function $r(t){var e="Filter";function n(i,r){if(z(i)){var o={};return _(i,(function(t,e){o[e]=n(e,t)})),o}return t.factory(i+e,r)}this.register=n,this.$get=["$injector",function(t){return function(n){return t.get(n+e)}}],n("currency",wr),n("date",Dr),n("filter",vr),n("json",Nr),n("limitTo",Pr),n("lowercase",Vr),n("number",xr),n("orderBy",Lr),n("uppercase",Rr)}function vr(){return function(t,e,n,i){if(!C(t)){if(null==t)return t;throw o("filter")("notarray","Expected array but received: {0}",t)}var r,s;switch(i=i||"$",br(e)){case"function":r=e;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":r=function(t,e,n,i){var r=z(t)&&n in t;!0===e?e=ut:Z(e)||(e=function(t,e){return!L(t)&&(null===t||null===e?t===e:!(z(e)||z(t)&&!j(t))&&(t=f(""+t),e=f(""+e),-1!==t.indexOf(e)))});return function(o){return r&&!z(o)?yr(o,t[n],e,n,!1):yr(o,t,e,n,i)}}(e,n,i,s);break;default:return t}return Array.prototype.filter.call(t,r)}}function yr(t,e,n,i,r,o){var s=br(t),a=br(e);if("string"===a&&"!"===e.charAt(0))return!yr(t,e.substring(1),n,i,r);if(W(t))return t.some((function(t){return yr(t,e,n,i,r)}));switch(s){case"object":var l;if(r){for(l in t)if(l.charAt&&"$"!==l.charAt(0)&&yr(t[l],e,n,i,!0))return!0;return!o&&yr(t,e,n,i,!1)}if("object"===a){for(l in e){var u=e[l];if(!Z(u)&&!L(u)){var c=l===i;
2if(!yr(c?t:t[l],u,n,i,c,c))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function br(t){return null===t?"null":typeof t}mr.$inject=["$document"],$r.$inject=["$provide"];function wr(t){var e=t.NUMBER_FORMATS;return function(t,n,i){L(n)&&(n=e.CURRENCY_SYM),L(i)&&(i=e.PATTERNS[1].maxFrac);var r=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==t?t:Cr(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,i).replace(r,n)}}function xr(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Cr(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Cr(t,e,n,i,r){if(!F(t)&&!q(t)||isNaN(t))return"";var o,s=!isFinite(t),a=!1,l=Math.abs(t)+"",u="";if(s)u="∞";else{o=function(t){var e,n,i,r,o,s=0;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(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;"0"===t.charAt(i);i++);if(i===(o=t.length))e=[0],n=1;else{for(o--;"0"===t.charAt(o);)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=+t.charAt(i)}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{d:e,e:s,i:n}}(l),function(t,e,n,i){var r=t.d,o=r.length-t.i,s=(e=L(e)?Math.min(Math.max(n,o),i):+e)+t.i,a=r[s];if(s>0){r.splice(Math.max(t.i,s));for(var l=s;l<r.length;l++)r[l]=0}else{o=Math.max(0,o),t.i=1,r.length=Math.max(1,s=e+1),r[0]=0;for(var u=1;u<s;u++)r[u]=0}if(a>=5)if(s-1<0){for(var c=0;c>s;c--)r.unshift(0),t.i++;r.unshift(1),t.i++}else r[s-1]++;for(;o<Math.max(0,e);o++)r.push(0);var h=r.reduceRight((function(t,e,n,i){return e+=t,i[n]=e%10,Math.floor(e/10)}),0);h&&(r.unshift(h),t.i++)}(o,r,e.minFrac,e.maxFrac);var c=o.d,h=o.i,p=o.e,f=[];for(a=c.reduce((function(t,e){return t&&!e}),!0);h<0;)c.unshift(0),h++;h>0?f=c.splice(h,c.length):(f=c,c=[0]);var d=[];for(c.length>=e.lgSize&&d.unshift(c.splice(-e.lgSize,c.length).join(""));c.length>e.gSize;)d.unshift(c.splice(-e.gSize,c.length).join(""));c.length&&d.unshift(c.join("")),u=d.join(n),f.length&&(u+=i+f.join("")),p&&(u+="e+"+p)}return t<0&&!a?e.negPre+u+e.negSuf:e.posPre+u+e.posSuf}function _r(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="0"+t;return n&&(t=t.substr(t.length-e)),r+t}function Er(t,e,n,i,r){return n=n||0,function(o){var s=o["get"+t]();return(n>0||s>-n)&&(s+=n),0===s&&-12===n&&(s=12),_r(s,e,i,r)}}function Sr(t,e,n){return function(i,r){var o=i["get"+t]();
2return r[d((n?"STANDALONE":"")+(e?"SHORT":"")+t)][o]}}function Tr(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function kr(t){return function(e){var n,i=Tr(e.getFullYear()),r=+(n=e,new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay())))-+i;return _r(1+Math.round(r/6048e5),t)}}function Ar(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}wr.$inject=["$locale"],xr.$inject=["$locale"];var Or={yyyy:Er("FullYear",4,0,!1,!0),yy:Er("FullYear",2,0,!0,!0),y:Er("FullYear",1,0,!1,!0),MMMM:Sr("Month"),MMM:Sr("Month",!0),MM:Er("Month",2,1),M:Er("Month",1,1),LLLL:Sr("Month",!1,!0),dd:Er("Date",2),d:Er("Date",1),HH:Er("Hours",2),H:Er("Hours",1),hh:Er("Hours",2,-12),h:Er("Hours",1,-12),mm:Er("Minutes",2),m:Er("Minutes",1),ss:Er("Seconds",2),s:Er("Seconds",1),sss:Er("Milliseconds",3),EEEE:Sr("Day"),EEE:Sr("Day",!0),a:function(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]},Z:function(t,e,n){var i=-1*n,r=i>=0?"+":"";return r+=_r(Math[i>0?"floor":"ceil"](i/60),2)+_r(Math.abs(i%60),2)},ww:kr(2),w:kr(1),G:Ar,GG:Ar,GGG:Ar,GGGG:function(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}},Mr=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Ir=/^-?\d+$/;function Dr(t){var e=/^(\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 o,s,a="",l=[];if(i=i||"mediumDate",i=t.DATETIME_FORMATS[i]||i,F(n)&&(n=Ir.test(n)?I(n):function(t){var n;if(n=t.match(e)){var i=new Date(0),r=0,o=0,s=n[8]?i.setUTCFullYear:i.setFullYear,a=n[8]?i.setUTCHours:i.setHours;n[9]&&(r=I(n[9]+n[10]),o=I(n[9]+n[11])),s.call(i,I(n[1]),I(n[2])-1,I(n[3]));var l=I(n[4]||0)-r,u=I(n[5]||0)-o,c=I(n[6]||0),h=Math.round(1e3*parseFloat("0."+(n[7]||0)));return a.call(i,l,u,c,h),i}return t}(n)),q(n)&&(n=new Date(n)),!B(n)||!isFinite(n.getTime()))return n;for(;i;)(s=Mr.exec(i))?i=(l=pt(l,s,1)).pop():(l.push(i),i=null);var u=n.getTimezoneOffset();return r&&(u=yt(r,u),n=wt(n,r,!0)),_(l,(function(e){a+=(o=Or[e])?o(n,t.DATETIME_FORMATS,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),a}}function Nr(){return function(t,e){return L(e)&&(e=2),gt(t,e)}}Dr.$inject=["$locale"];var Vr=P(f),Rr=P(d);function Pr(){return function(t,e,n){return e=Math.abs(Number(e))===1/0?Number(e):I(e),D(e)?t:(q(t)&&(t=t.toString()),C(t)?(n=(n=!n||isNaN(n)?0:I(n))<0?Math.max(0,t.length+n):n,e>=0?jr(t,n,n+e):0===n?jr(t,e,t.length):jr(t,Math.max(0,n+e),n)):t)}}function jr(t,e,n){return F(t)?t.slice(e,n):m.call(t,e,n)}function Lr(t){return function(i,r,s,a){if(null==i)return i;if(!C(i))throw o("orderBy")("notarray","Expected array but received: {0}",i);W(r)||(r=[r]),0===r.length&&(r=["+"]);var l=r.map((function(e){var n=1,i=R;if(Z(e))i=e;else if(F(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(i=t(e)).constant)){var r=i();i=function(t){return t[r]}}return{get:i,descending:n}})),u=s?-1:1,c=Z(a)?a:n,h=Array.prototype.map.call(i,(function(t,n){return{value:t,tieBreaker:{value:n,type:"number",index:n},predicateValues:l.map((function(i){return function(t,n){var i=typeof t;null===t?i="null":"object"===i&&(t=function(t){if(Z(t.valueOf)&&e(t=t.valueOf()))return t;if(j(t)&&e(t=t.toString()))return t;return t}(t));return{value:t,type:i,index:n}}(i.get(t),n)}))}}));return h.sort((function(t,e){for(var i=0,r=l.length;i<r;i++){var o=c(t.predicateValues[i],e.predicateValues[i]);if(o)return o*l[i].descending*u}return(c(t.tieBreaker,e.tieBreaker)||n(t.tieBreaker,e.tieBreaker))*u})),i=h.map((function(t){return t.value}))};function e(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function n(t,e){var n=0,i=t.type,r=e.type;if(i===r){var o=t.value,s=e.value;"string"===i?(o=o.toLowerCase(),s=s.toLowerCase()):"object"===i&&(z(o)&&(o=t.index),z(s)&&(s=e.index)),o!==s&&(n=o<s?-1:1)}else n="undefined"===i?1:"undefined"===r?-1:"null"===i?1:"null"===r||i<r?-1:1;return n}}function Ur(t){return Z(t)&&(t={link:t}),t.restrict=t.restrict||"AC",P(t)}Lr.$inject=["$parse"];var zr=P({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]"===v.call(e.prop("href"))?"xlink:href":"href";e.on("click",(function(t){e.attr(n)||t.preventDefault()}))}}}}),Hr={};_(De,(function(t,e){if("multiple"!==t){var n=xn("ng-"+e),i=r;
2"checked"===t&&(i=function(t,e,i){i.ngModel!==i[n]&&r(t,0,i)}),Hr[n]=function(){return{restrict:"A",priority:100,link:i}}}function r(t,i,r){t.$watch(r[n],(function(t){r.$set(e,!!t)}))}})),_(Ve,(function(t,e){Hr[e]=function(){return{priority:100,link:function(t,n,i){if("ngPattern"===e&&"/"===i.ngPattern.charAt(0)){var r=i.ngPattern.match(c);if(r)return void i.$set("ngPattern",new RegExp(r[1],r[2]))}t.$watch(i[e],(function(t){i.$set(e,t)}))}}}})),_(["src","srcset","href"],(function(t){var e=xn("ng-"+t);Hr[e]=["$sce",function(n){return{priority:99,link:function(i,r,o){var a=t,l=t;"href"===t&&"[object SVGAnimatedString]"===v.call(r.prop("href"))&&(l="xlinkHref",o.$attr[l]="xlink:href",a=null),o.$set(e,n.getTrustedMediaUrl(o[e])),o.$observe(e,(function(e){e?(o.$set(l,e),s&&a&&r.prop(a,o[l])):"href"===t&&o.$set(l,null)}))}}}]}));var Fr={$addControl:V,$getControls:P([]),$$renameControl:function(t,e){t.$name=e},$removeControl:V,$setValidity:V,$setDirty:V,$setPristine:V,$setSubmitted:V,$$setSubmitted:V},qr="ng-pending",Br="ng-submitted";function Wr(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=Fr,this.$$element=t,this.$$animate=i,Jr(this)}Wr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Wr.prototype={$rollbackViewValue:function(){_(this.$$controls,(function(t){t.$rollbackViewValue()}))},$commitViewValue:function(){_(this.$$controls,(function(t){t.$commitViewValue()}))},$addControl:function(t){Lt(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$getControls:function(){return qt(this.$$controls)},$$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],_(this.$pending,(function(e,n){this.$setValidity(n,null,t)}),this),_(this.$error,(function(e,n){this.$setValidity(n,null,t)}),this),_(this.$$success,(function(e,n){this.$setValidity(n,null,t)}),this),st(this.$$controls,t),t.$$parentForm=Fr},$setDirty:function(){this.$$animate.removeClass(this.$$element,Wo),this.$$animate.addClass(this.$$element,Go),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Wo,Go+" "+Br),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,_(this.$$controls,(function(t){t.$setPristine()}))},$setUntouched:function(){_(this.$$controls,(function(t){t.$setUntouched()}))},$setSubmitted:function(){for(var t=this;t.$$parentForm&&t.$$parentForm!==Fr;)t=t.$$parentForm;t.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,Br),this.$submitted=!0,_(this.$$controls,(function(t){t.$$setSubmitted&&t.$$setSubmitted()}))}},Yr({clazz:Wr,set:function(t,e,n){var i=t[e];i?-1===i.indexOf(n)&&i.push(n):t[e]=[n]},unset:function(t,e,n){var i=t[e];i&&(st(i,n),0===i.length&&delete t[e])}});var Gr=function(t){return["$timeout","$parse",function(e,n){return{name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:Wr,compile:function(n,r){n.addClass(Wo).addClass(qo);var o=r.name?"name":!(!t||!r.ngForm)&&"ngForm";return{pre:function(t,n,r,s){var a=s[0];if(!("action"in r)){var l=function(e){t.$apply((function(){a.$commitViewValue(),a.$setSubmitted()})),e.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",(function(){e((function(){n[0].removeEventListener("submit",l)}),0,!1)}))}(s[1]||a.$$parentForm).$addControl(a);var u=o?i(a.$name):V;o&&(u(t,a),r.$observe(o,(function(e){a.$name!==e&&(u(t,void 0),a.$$parentForm.$$renameControl(a,e),(u=i(a.$name))(t,a))}))),n.on("$destroy",(function(){a.$$parentForm.$removeControl(a),u(t,void 0),O(a,Fr)}))}}}};function i(t){return""===t?n('this[""]').assign:n(t).assign||V}}]},Zr=Gr(),Kr=Gr(!0);function Jr(t){t.$$classCache={},t.$$classCache[Bo]=!(t.$$classCache[qo]=t.$$element.hasClass(qo))}function Yr(t){var e=t.clazz,n=t.set,i=t.unset;function r(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 o(t,e,n){e=e?"-"+Nt(e,"-"):"",r(t,qo+e,!0===n),r(t,Bo+e,!1===n)}e.prototype.$setValidity=function(t,e,s){var a;
2L(e)?function(t,e,i,r){t[e]||(t[e]={});n(t[e],i,r)}(this,"$pending",t,s):function(t,e,n,r){t[e]&&i(t[e],n,r);Xr(t[e])&&(t[e]=void 0)}(this,"$pending",t,s),X(e)?e?(i(this.$error,t,s),n(this.$$success,t,s)):(n(this.$error,t,s),i(this.$$success,t,s)):(i(this.$error,t,s),i(this.$$success,t,s)),this.$pending?(r(this,qr,!0),this.$valid=this.$invalid=void 0,o(this,"",null)):(r(this,qr,!1),this.$valid=Xr(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid)),o(this,t,a=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null)),this.$$parentForm.$setValidity(t,a,this)}}function Xr(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}var Qr=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,to=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,eo=/^(?=.{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])?)*$/,no=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,io=/^(\d{4,})-(\d{2})-(\d{2})$/,ro=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,oo=/^(\d{4,})-W(\d\d)$/,so=/^(\d{4,})-(\d\d)$/,ao=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,lo=zt();_("date,datetime-local,month,time,week".split(","),(function(t){lo[t]=!0}));var uo={text:function(t,e,n,i,r,o){ho(t,e,n,i,r,o),co(i)},date:fo("date",io,po(io,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":fo("datetimelocal",ro,po(ro,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:fo("time",ao,po(ao,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:fo("week",oo,(function(t,e){if(B(t))return t;if(F(t)){oo.lastIndex=0;var n=oo.exec(t);if(n){var i=+n[1],r=+n[2],o=0,s=0,a=0,l=0,u=Tr(i),c=7*(r-1);return e&&(o=e.getHours(),s=e.getMinutes(),a=e.getSeconds(),l=e.getMilliseconds()),new Date(i,0,u.getDate()+c,o,s,a,l)}}return NaN}),"yyyy-Www"),month:fo("month",so,po(so,["yyyy","MM"]),"yyyy-MM"),number:function(t,e,n,i,r,o,s,a){var l;if(mo(t,e,n,i,"number"),go(i),ho(t,e,n,i,r,o),U(n.min)||n.ngMin){var u=n.min||a(n.ngMin)(t);l=$o(u),i.$validators.min=function(t,e){return i.$isEmpty(e)||L(l)||e>=l},n.$observe("min",(function(t){t!==u&&(l=$o(t),u=t,i.$validate())}))}if(U(n.max)||n.ngMax){var c=n.max||a(n.ngMax)(t),h=$o(c);i.$validators.max=function(t,e){return i.$isEmpty(e)||L(h)||e<=h},n.$observe("max",(function(t){t!==c&&(h=$o(t),c=t,i.$validate())}))}if(U(n.step)||n.ngStep){var p=n.step||a(n.ngStep)(t),f=$o(p);i.$validators.step=function(t,e){return i.$isEmpty(e)||L(f)||bo(e,l||0,f)},n.$observe("step",(function(t){t!==p&&(f=$o(t),p=t,i.$validate())}))}},url:function(t,e,n,i,r,o){ho(t,e,n,i,r,o),co(i),i.$validators.url=function(t,e){var n=t||e;return i.$isEmpty(n)||to.test(n)}},email:function(t,e,n,i,r,o){ho(t,e,n,i,r,o),co(i),i.$validators.email=function(t,e){var n=t||e;return i.$isEmpty(n)||eo.test(n)}},radio:function(t,e,n,i){var r=!n.ngTrim||"false"!==et(n.ngTrim);L(n.name)&&e.attr("name",T());e.on("change",(function(t){var o;e[0].checked&&(o=n.value,r&&(o=et(o)),i.$setViewValue(o,t&&t.type))})),i.$render=function(){var t=n.value;r&&(t=et(t)),e[0].checked=t===i.$viewValue},n.$observe("value",i.$render)},range:function(t,e,n,i,r,o){mo(t,e,n,i,"range"),go(i),ho(t,e,n,i,r,o);var s=i.$$hasNativeValidators&&"range"===e[0].type,a=s?0:void 0,l=s?100:void 0,u=s?1:void 0,c=e[0].validity,h=U(n.min),p=U(n.max),f=U(n.step),d=i.$render;i.$render=s&&U(c.rangeUnderflow)&&U(c.rangeOverflow)?function(){d(),i.$setViewValue(e.val())}:d,h&&(a=$o(n.min),i.$validators.min=s?function(){return!0}:function(t,e){return i.$isEmpty(e)||L(a)||e>=a},m("min",(function(t){if(a=$o(t),D(i.$modelValue))return;if(s){var n=e.val();a>n&&(n=a,e.val(n)),i.$setViewValue(n)}else i.$validate()})));p&&(l=$o(n.max),i.$validators.max=s?function(){return!0}:function(t,e){return i.$isEmpty(e)||L(l)||e<=l},m("max",(function(t){if(l=$o(t),D(i.$modelValue))return;if(s){var n=e.val();l<n&&(e.val(l),n=l<a?a:l),i.$setViewValue(n)}else i.$validate()})));f&&(u=$o(n.step),i.$validators.step=s?function(){return!c.stepMismatch}:function(t,e){return i.$isEmpty(e)||L(u)||bo(e,a||0,u)},m("step",(function(t){if(u=$o(t),D(i.$modelValue))return;s?i.$viewValue!==e.val()&&i.$setViewValue(e.val()):i.$validate()})));function m(t,i){e.attr(t,n[t]);var r=n[t];
2n.$observe(t,(function(t){t!==r&&(r=t,i(t))}))}},checkbox:function(t,e,n,i,r,o,s,a){var l=wo(a,t,"ngTrueValue",n.ngTrueValue,!0),u=wo(a,t,"ngFalseValue",n.ngFalseValue,!1);e.on("change",(function(t){i.$setViewValue(e[0].checked,t&&t.type)})),i.$render=function(){e[0].checked=i.$viewValue},i.$isEmpty=function(t){return!1===t},i.$formatters.push((function(t){return ut(t,l)})),i.$parsers.push((function(t){return t?l:u}))},hidden:V,button:V,submit:V,reset:V,file:V};function co(t){t.$formatters.push((function(e){return t.$isEmpty(e)?e:e.toString()}))}function ho(t,e,n,i,r,o){var s,a=f(e[0].type);if(!r.android){var l=!1;e.on("compositionstart",(function(){l=!0})),e.on("compositionupdate",(function(t){(L(t.data)||""===t.data)&&(l=!1)})),e.on("compositionend",(function(){l=!1,u()}))}var u=function(t){if(s&&(o.defer.cancel(s),s=null),!l){var r=e.val(),u=t&&t.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(r=et(r)),(i.$viewValue!==r||""===r&&i.$$hasNativeValidators)&&i.$setViewValue(r,u)}};if(r.hasEvent("input"))e.on("input",u);else{var c=function(t,e,n){s||(s=o.defer((function(){s=null,e&&e.value===n||u(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 drop",c)}e.on("change",u),lo[a]&&i.$$hasNativeValidators&&a===n.type&&e.on("keydown wheel mousedown",(function(t){if(!s){var e=this.validity,n=e.badInput,i=e.typeMismatch;s=o.defer((function(){s=null,e.badInput===n&&e.typeMismatch===i||u(t)}))}})),i.$render=function(){var t=i.$isEmpty(i.$viewValue)?"":i.$viewValue;e.val()!==t&&e.val(t)}}function po(t,e){return function(n,i){var r,o;if(B(n))return n;if(F(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Qr.test(n))return new Date(n);if(t.lastIndex=0,r=t.exec(n)){r.shift(),o=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},_(r,(function(t,n){n<e.length&&(o[e[n]]=+t)}));var s=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&s.setFullYear(o.yyyy),s}}return NaN}}function fo(t,e,n,i){return function(r,o,s,a,l,u,c,h){mo(r,o,s,a,t),ho(0,o,s,a,l,u);var p,f,d="time"===t||"datetimelocal"===t;if(a.$parsers.push((function(n){return a.$isEmpty(n)?null:e.test(n)?w(n,p):void(a.$$parserName=t)})),a.$formatters.push((function(t){if(t&&!B(t))throw Xo("datefmt","Expected `{0}` to be a date",t);if(y(t)){p=t;var e=a.$options.getOption("timezone");return e&&(f=e,p=wt(p,e,!0)),function(t,e){var n=i;d&&F(a.$options.getOption("timeSecondsFormat"))&&(n=i.replace("ss.sss",a.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var r=c("date")(t,n,e);d&&a.$options.getOption("timeStripZeroSeconds")&&(r=r.replace(/(?::00)?(?:\.000)?$/,""));return r}(t,e)}return p=null,f=null,""})),U(s.min)||s.ngMin){var m=s.min||h(s.ngMin)(r),g=b(m);a.$validators.min=function(t){return!y(t)||L(g)||n(t)>=g},s.$observe("min",(function(t){t!==m&&(g=b(t),m=t,a.$validate())}))}if(U(s.max)||s.ngMax){var $=s.max||h(s.ngMax)(r),v=b($);a.$validators.max=function(t){return!y(t)||L(v)||n(t)<=v},s.$observe("max",(function(t){t!==$&&(v=b(t),$=t,a.$validate())}))}function y(t){return t&&!(t.getTime&&t.getTime()!=t.getTime())}function b(t){return U(t)&&!B(t)?w(t)||void 0:t}function w(t,e){var i=a.$options.getOption("timezone");f&&f!==i&&(e=bt(e,yt(f)));var r=n(t,e);return!isNaN(r)&&i&&(r=wt(r,i)),r}}}function mo(t,e,n,i,r){var o=e[0];(i.$$hasNativeValidators=z(o.validity))&&i.$parsers.push((function(t){var n=e.prop(h)||{};if(!n.badInput&&!n.typeMismatch)return t;i.$$parserName=r}))}function go(t){t.$parsers.push((function(e){return t.$isEmpty(e)?null:no.test(e)?parseFloat(e):void(t.$$parserName="number")})),t.$formatters.push((function(e){if(!t.$isEmpty(e)){if(!q(e))throw Xo("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}))}function $o(t){return U(t)&&!q(t)&&(t=parseFloat(t)),D(t)?void 0:t}function vo(t){return(0|t)===t}function yo(t){var e=t.toString(),n=e.indexOf(".");
2if(-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 bo(t,e,n){var i=Number(t),r=!vo(i),o=!vo(e),s=!vo(n);if(r||o||s){var a=r?yo(i):0,l=o?yo(e):0,u=s?yo(n):0,c=Math.max(a,l,u),h=Math.pow(10,c);i*=h,e*=h,n*=h,r&&(i=Math.round(i)),o&&(e=Math.round(e)),s&&(n=Math.round(n))}return(i-e)%n==0}function wo(t,e,n,i,r){var o;if(U(i)){if(!(o=t(i)).constant)throw Xo("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return o(e)}return r}var xo=["$browser","$sniffer","$filter","$parse",function(t,e,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(r,o,s,a){a[0]&&(uo[f(s.type)]||uo.text)(r,o,s,a[0],e,t,n,i)}}}}],Co=function(){var t={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(t){this.setAttribute("value",t)}};return{restrict:"E",priority:200,compile:function(e,n){if("hidden"===f(n.type))return{pre:function(e,n,i,r){var o=n[0];o.parentNode&&o.parentNode.insertBefore(o,o.nextSibling),Object.defineProperty&&Object.defineProperty(o,"value",t)}}}}},_o=/^(true|false|\d+)$/,Eo=function(){function t(t,e,n){var i=U(n)?n:9===s?"":null;t.prop("value",i),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return _o.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)}))}}}},So=["$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=Ht(t)}))}}}}],To=["$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=L(t)?"":t}))}}}}],ko=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(i,r){var o=e(r.ngBindHtml),s=e(r.ngBindHtml,(function(e){return t.valueOf(e)}));return n.$$addBindingClass(i),function(e,i,r){n.$$addBindingInfo(i,r.ngBindHtml),e.$watch(s,(function(){var n=o(e);i.html(t.getTrustedHtml(n)||"")}))}}}}],Ao=P({restrict:"A",require:"ngModel",link:function(t,e,n,i){i.$viewChangeListeners.push((function(){t.$eval(n.ngChange)}))}});function Oo(t,e){var n;return t="ngClass"+t,["$parse",function(s){return{restrict:"AC",link:function(a,l,u){var c,h=l.data("$classCounts"),p=!0;function f(t,e){var n=[];return _(t,(function(t){(e>0||h[t])&&(h[t]=(h[t]||0)+e,h[t]===+(e>0)&&n.push(t))})),n.join(" ")}h||(h=zt(),l.data("$classCounts",h)),"ngClass"!==t&&(n||(n=s("$index",(function(t){return 1&t}))),a.$watch(n,(function(t){t===e?(n=f(r(n=c),1),u.$addClass(n)):function(t){t=f(r(t),-1),u.$removeClass(t)}(c);var n;p=t}))),a.$watch(s(u[t],o),(function(t){p===e&&function(t,e){var n=r(t),o=r(e),s=i(n,o),a=i(o,n),l=f(s,-1),c=f(a,1);u.$addClass(c),u.$removeClass(l)}(c,t);c=t}))}}}];function i(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 r(t){return t&&t.split(" ")}function o(t){if(!t)return t;var e=t;return W(t)?e=t.map(o).join(" "):z(t)?e=Object.keys(t).filter((function(e){return t[e]})).join(" "):F(t)||(e=t+""),e}}var Mo=Oo("",!0),Io=Oo("Odd",0),Do=Oo("Even",1),No=Ur({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),Vo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ro={},Po={blur:!0,focus:!0};function jo(t,e,n,i,r,o){return{restrict:"A",compile:function(s,a){var l=t(a[i]);return function(t,i){i.on(r,(function(i){var r=function(){l(t,{$event:i})};if(e.$$phase)if(o)t.$evalAsync(r);else try{r()}catch(t){n(t)}else t.$apply(r)}))}}}}_("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(t){var e=xn("ng-"+t);Ro[e]=["$parse","$rootScope","$exceptionHandler",function(n,i,r){return jo(n,i,r,e,t,Po[t])}]}));var Lo=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,r,o,s){var a,l,u;n.$watch(r.ngIf,(function(n){n?l||s((function(n,o){l=o,n[n.length++]=e.$$createComment("end ngIf",r.ngIf),a={clone:n},t.enter(n,i.parent(),i)})):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),a&&(u=Ut(a.clone),t.leave(u).done((function(t){!1!==t&&(u=null)})),a=null))}))}}}],Uo=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:w.noop,compile:function(i,r){var o=r.ngInclude||r.src,s=r.onload||"",a=r.autoscroll;return function(i,r,l,u,c){var h,p,f,d=0,m=function(){p&&(p.remove(),p=null),h&&(h.$destroy(),h=null),f&&(n.leave(f).done((function(t){!1!==t&&(p=null)})),p=f,f=null)};i.$watch(o,(function(o){var l=function(t){!1===t||!U(a)||a&&!i.$eval(a)||e()},p=++d;
2o?(t(o,!0).then((function(t){if(!i.$$destroyed&&p===d){var e=i.$new();u.template=t;var a=c(e,(function(t){m(),n.enter(t,null,r).done(l)}));f=a,(h=e).$emit("$includeContentLoaded",o),i.$eval(s)}}),(function(){i.$$destroyed||p===d&&(m(),i.$emit("$includeContentError",o))})),i.$emit("$includeContentRequested",o)):(m(),u.template=null)}))}}}}],zo=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,r,o){if(v.call(i[0]).match(/SVG/))return i.empty(),void e(pe(o.template,t.document).childNodes)(n,(function(t){i.append(t)}),{futureParentElement:i});i.html(o.template),e(i.contents())(n)}}}],Ho=Ur({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Fo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,i){var r=n.ngList||", ",o="false"!==n.ngTrim,s=o?et(r):r;i.$parsers.push((function(t){if(!L(t)){var e=[];return t&&_(t.split(s),(function(t){t&&e.push(o?et(t):t)})),e}})),i.$formatters.push((function(t){if(W(t))return t.join(r)})),i.$isEmpty=function(t){return!t||!t.length}}}},qo="ng-valid",Bo="ng-invalid",Wo="ng-pristine",Go="ng-dirty",Zo="ng-untouched",Ko="ng-touched",Jo="ng-empty",Yo="ng-not-empty",Xo=o("ngModel");function Qo(t,e,n,i,r,o,s,a,l){var 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=l(n.name||"",!1)(t),this.$$parentForm=Fr,this.$options=ts,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),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.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=t,this.$$rootScope=t.$root,this.$$attr=n,this.$$element=i,this.$$animate=o,this.$$timeout=s,this.$$parse=r,this.$$q=a,this.$$exceptionHandler=e,Jr(this),(u=this).$$scope.$watch((function(t){var e=u.$$ngModelGet(t);return e===u.$modelValue||u.$modelValue!=u.$modelValue&&e!=e||u.$$setModelValue(e),e}))}Qo.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Qo.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 Z(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){Z(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw Xo("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,xt(this.$$element))},$render:V,$isEmpty:function(t){return L(t)||""===t||null===t||t!=t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,Yo),this.$$animate.addClass(this.$$element,Jo)):(this.$$animate.removeClass(this.$$element,Jo),this.$$animate.addClass(this.$$element,Yo))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Go),this.$$animate.addClass(this.$$element,Wo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Wo),this.$$animate.addClass(this.$$element,Go),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Zo,Ko)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ko,Zo)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!D(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){this.$$currentValidationRunId++;var i,r,o=this.$$currentValidationRunId,s=this;(function(){var t=s.$$parserName;if(!L(s.$$parserValid))return s.$$parserValid||(_(s.$validators,(function(t,e){a(e,null)})),_(s.$asyncValidators,(function(t,e){a(e,null)}))),a(t,s.$$parserValid),s.$$parserValid;a(t,null);return!0})()?!function(){var n=!0;if(_(s.$validators,(function(i,r){var o=Boolean(i(t,e));n=n&&o,a(r,o)})),!n)return _(s.$asyncValidators,(function(t,e){a(e,null)})),!1;return!0}()?l(!1):(i=[],r=!0,_(s.$asyncValidators,(function(n,o){var s=n(t,e);if(!Q(s))throw Xo("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);a(o,void 0),i.push(s.then((function(){a(o,!0)}),(function(){r=!1,a(o,!1)})))})),i.length?s.$$q.all(i).then((function(){l(r)}
2),V):l(!0)):l(!1);function a(t,e){o===s.$$currentValidationRunId&&s.$setValidity(t,e)}function l(t){o===s.$$currentValidationRunId&&n(t)}},$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(){var t=this.$$lastCommittedViewValue,e=this;if(this.$$parserValid=!L(t)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(L(t=this.$parsers[n](t))){this.$$parserValid=!1;break}D(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var i=this.$modelValue,r=this.$options.getOption("allowInvalid");function o(){e.$modelValue!==i&&e.$$writeModelToScope()}this.$$rawModelValue=t,r&&(this.$modelValue=t,o()),this.$$runValidators(t,this.$$lastCommittedViewValue,(function(n){r||(e.$modelValue=n?t:void 0,o())}))},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),_(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");q(e[t])?e=e[t]:q(e.default)&&-1===this.$options.getOption("updateOn").indexOf(t)?e=e.default:q(e["*"])&&(e=e["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;e>0?this.$$pendingDebounce=this.$$timeout((function(){n.$commitViewValue()}),e):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((function(){n.$commitViewValue()}))},$overrideModelOptions:function(t){this.$options=this.$options.createChild(t),this.$$setUpdateOnEvents()},$processModelValue:function(){var t=this.$$format();this.$viewValue!==t&&(this.$$updateEmptyClasses(t),this.$viewValue=this.$$lastCommittedViewValue=t,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,V))},$$format:function(){for(var t=this.$formatters,e=t.length,n=this.$modelValue;e--;)n=t[e](n);return n},$$setModelValue:function(t){this.$modelValue=this.$$rawModelValue=t,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(t){this.$$debounceViewValueCommit(t&&t.type)}}
2,Yr({clazz:Qo,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var ts,es=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Qo,priority:1,compile:function(e){return e.addClass(Wo).addClass(Zo).addClass(qo),{pre:function(t,e,n,i){var r=i[0],o=i[1]||r.$$parentForm,s=i[2];s&&(r.$options=s.$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){var o=r[0];function s(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",(function(){o.$touched||(t.$$phase?e.$evalAsync(s):e.$apply(s))}))}}}}}],ns=/(\s+|^)default(\s+|$)/;function is(t){this.$$options=t}is.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return _(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]=et(n.replace(ns,(function(){return t.updateOnDefault=!0," "}))))}),this),e&&(delete t["*"],os(t,this.$$options)),os(t,ts.$$options),new is(t)}},ts=new is({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var rs=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:ts,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}};function os(t,e){_(e,(function(e,n){U(t[n])||(t[n]=e)}))}var ss=Ur({terminal:!0,priority:1e3}),as=o("ngOptions"),ls=/^\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]+?))?$/,us=["$compile","$document","$parse",function(e,n,i){var r=t.document.createElement("option"),o=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,i){i[0].registerOption=V},post:function(t,s,l,u){for(var c=u[0],h=u[1],p=l.multiple,f=0,d=s.children(),m=d.length;f<m;f++)if(""===d[f].value){c.hasEmptyOption=!0,c.emptyOption=d.eq(f);break}s.empty();var g,$=!!c.emptyOption;a(r.cloneNode(!1)).val("?");var v=function(t,e,n){var r=t.match(ls);if(!r)throw as("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,xt(e));var o=r[5]||r[7],s=r[6],a=/ as /.test(r[0])&&r[1],l=r[9],u=i(r[2]?r[1]:o),c=a&&i(a)||u,h=l&&i(l),p=l?function(t,e){return h(n,e)}:function(t){return Ue(t)},f=function(t,e){return p(t,y(t,e))},d=i(r[2]||r[1]),m=i(r[3]||""),g=i(r[4]||""),$=i(r[8]),v={},y=s?function(t,e){return v[s]=e,v[o]=t,v}:function(t){return v[o]=t,v};function b(t,e,n,i,r){this.selectValue=t,this.viewValue=e,this.label=n,this.group=i,this.disabled=r}function w(t){var e;if(!s&&C(t))e=t;else for(var n in e=[],t)t.hasOwnProperty(n)&&"$"!==n.charAt(0)&&e.push(n);return e}return{trackBy:l,getTrackByValue:f,getWatchables:i($,(function(t){for(var e=[],i=w(t=t||[]),o=i.length,s=0;s<o;s++){var a=t===i?s:i[s],l=t[a],u=y(l,a),c=p(l,u);if(e.push(c),r[2]||r[1]){var h=d(n,u);e.push(h)}if(r[4]){var f=g(n,u);e.push(f)}}return e})),getOptions:function(){for(var t=[],e={},i=$(n)||[],r=w(i),o=r.length,s=0;s<o;s++){var a=i===r?s:r[s],u=i[a],h=y(u,a),v=c(n,h),x=p(v,h),C=new b(x,v,d(n,h),m(n,h),g(n,h));t.push(C),e[x]=C}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[f(t)]},getViewValueFromOption:function(t){return l?at(t.viewValue):t.viewValue}}}}}(l.ngOptions,s,t),y=n[0].createDocumentFragment();function b(t,e){var n=r.cloneNode(!1);e.appendChild(n),function(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}(t,n)}function w(t){var e=g.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}c.generateUnknownOptionValue=function(t){return"?"},p?(c.writeValue=function(t){if(g){var e=t&&t.map(w)||[];
2g.items.forEach((function(t){t.element.selected&&!ot(e,t)&&(t.element.selected=!1)}))}},c.readValue=function(){var t=s.val()||[],e=[];return _(t,(function(t){var n=g.selectValueMap[t];n&&!n.disabled&&e.push(g.getViewValueFromOption(n))})),e},v.trackBy&&t.$watchCollection((function(){if(W(h.$viewValue))return h.$viewValue.map((function(t){return v.getTrackByValue(t)}))}),(function(){h.$render()}))):(c.writeValue=function(t){if(g){var e=s[0].options[s[0].selectedIndex],n=g.getOptionFromViewValue(t);e&&e.removeAttribute("selected"),n?(s[0].value!==n.selectValue&&(c.removeUnknownOption(),s[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):c.selectUnknownOrEmptyOption(t)}},c.readValue=function(){var t=g.selectValueMap[s.val()];return t&&!t.disabled?(c.unselectEmptyOption(),c.removeUnknownOption(),g.getViewValueFromOption(t)):null},v.trackBy&&t.$watch((function(){return v.getTrackByValue(h.$viewValue)}),(function(){h.$render()}))),$&&(e(c.emptyOption)(t),s.prepend(c.emptyOption),8===c.emptyOption[0].nodeType?(c.hasEmptyOption=!1,c.registerOption=function(t,e){""===e.val()&&(c.hasEmptyOption=!0,c.emptyOption=e,c.emptyOption.removeClass("ng-scope"),h.$render(),e.on("$destroy",(function(){var t=c.$isEmptyOptionSelected();c.hasEmptyOption=!1,c.emptyOption=void 0,t&&h.$render()})))}):c.emptyOption.removeClass("ng-scope")),t.$watchCollection(v.getWatchables,(function(){var t=g&&c.readValue();if(g)for(var e=g.items.length-1;e>=0;e--){var n=g.items[e];U(n.group)?Oe(n.element.parentNode):Oe(n.element)}g=v.getOptions();var i={};if(g.items.forEach((function(t){var e;U(t.group)?((e=i[t.group])||(e=o.cloneNode(!1),y.appendChild(e),e.label=null===t.group?"null":t.group,i[t.group]=e),b(t,e)):b(t,y)})),s[0].appendChild(y),h.$render(),!h.$isEmpty(t)){var r=c.readValue();(v.trackBy||p?ut(t,r):t===r)||(h.$setViewValue(r),h.$render())}}))}}}}],cs=["$locale","$interpolate","$log",function(t,e,n){var i=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(o,s,a){var l,u=a.count,c=a.$attr.when&&s.attr(a.$attr.when),h=a.offset||0,p=o.$eval(c)||{},d={},m=e.startSymbol(),g=e.endSymbol(),$=m+u+"-"+h+g,v=w.noop;function y(t){s.text(t||"")}_(a,(function(t,e){var n=r.exec(e);if(n){var i=(n[1]?"-":"")+f(n[2]);p[i]=s.attr(a.$attr[e])}})),_(p,(function(t,n){d[n]=e(t.replace(i,$))})),o.$watch(u,(function(e){var i=parseFloat(e),r=D(i);if(r||i in p||(i=t.pluralCat(i-h)),!(i===l||r&&D(l))){v();var s=d[i];L(s)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+c),v=V,y()):v=o.$watch(s,y),l=i}}))}}}],hs=o("ngRef"),ps=["$parse",function(t){return{priority:-1,restrict:"A",compile:function(e,n){var i=xn(rt(e)),r=t(n.ngRef),o=r.assign||function(){throw hs("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(t,e,s){var a;if(s.hasOwnProperty("ngRefRead")){if("$element"===s.ngRefRead)a=e;else if(!(a=e.data("$"+s.ngRefRead+"Controller")))throw hs("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',s.ngRefRead,n.ngRef)}else a=e.data("$"+i+"Controller");o(t,a=a||e),e.on("$destroy",(function(){r(t)===a&&o(t,null)}))}}}}],fs=["$parse","$animate","$compile",function(t,e,n){var i="$$NG_REMOVED",r=o("ngRepeat"),s=function(t,e,n,i,r,o,s){t[n]=i,r&&(t[r]=o),t.$index=e,t.$first=0===e,t.$last=e===s-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0==(1&e))},a=function(t){return t.clone[0]},l=function(t){return t.clone[t.clone.length-1]},u=function(t,e,n){return Ue(n)},c=function(t,e){return e};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(o,h){var f=h.ngRepeat,d=n.$$createComment("end ngRepeat",f),m=f.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",f);var g=m[1],$=m[2],v=m[3],y=m[4];if(!(m=g.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",g);var b,w=m[3]||m[1],x=m[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw r("badident","alias '{0}
2' is invalid --- must be a valid JS identifier which is not a reserved name.",v);if(y){var E={$id:Ue},S=t(y);b=function(t,e,n,i){return x&&(E[x]=e),E[w]=n,E.$index=i,S(t,E)}}return function(t,n,o,h,m){var g=zt();t.$watchCollection($,(function(o){var h,$,y,S,T,k,A,O,M,I,D,N,V=n[0],R=zt();if(v&&(t[v]=o),C(o))M=o,O=b||u;else for(var P in O=b||c,M=[],o)p.call(o,P)&&"$"!==P.charAt(0)&&M.push(P);for(S=M.length,D=new Array(S),h=0;h<S;h++)if(T=o===M?h:M[h],k=o[T],A=O(t,T,k,h),g[A])I=g[A],delete g[A],R[A]=I,D[h]=I;else{if(R[A])throw _(D,(function(t){t&&t.scope&&(g[t.id]=t)})),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",f,A,k);D[h]={id:A,scope:void 0,clone:void 0},R[A]=!0}for(var j in E&&(E[w]=void 0),g){if(N=Ut((I=g[j]).clone),e.leave(N),N[0].parentNode)for(h=0,$=N.length;h<$;h++)N[h][i]=!0;I.scope.$destroy()}for(h=0;h<S;h++)if(T=o===M?h:M[h],k=o[T],(I=D[h]).scope){y=V;do{y=y.nextSibling}while(y&&y[i]);a(I)!==y&&e.move(Ut(I.clone),null,V),V=l(I),s(I.scope,h,w,k,x,T,S)}else m((function(t,n){I.scope=n;var i=d.cloneNode(!1);t[t.length++]=i,e.enter(t,null,V),V=i,I.clone=t,R[I.id]=I,s(I.scope,h,w,k,x,T,S)}));g=R}))}}}}],ds="ng-hide",ms="ng-hide-animate",gs=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngShow,(function(e){t[e?"removeClass":"addClass"](n,ds,{tempClasses:ms})}))}}}],$s=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngHide,(function(e){t[e?"addClass":"removeClass"](n,ds,{tempClasses:ms})}))}}}],vs=Ur((function(t,e,n){t.$watchCollection(n.ngStyle,(function(t,n){n&&t!==n&&_(n,(function(t,n){e.css(n,"")})),t&&e.css(t)}))})),ys=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,r,o){var s=r.ngSwitch||r.on,a=[],l=[],u=[],c=[],h=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};n.$watch(s,(function(n){for(var i,r;u.length;)t.cancel(u.pop());for(i=0,r=c.length;i<r;++i){var s=Ut(l[i].clone);c[i].$destroy(),(u[i]=t.leave(s)).done(h(u,i))}l.length=0,c.length=0,(a=o.cases["!"+n]||o.cases["?"])&&_(a,(function(n){n.transclude((function(i,r){c.push(r);var o=n.element;i[i.length++]=e.$$createComment("end ngSwitchWhen");var s={clone:i};l.push(s),t.enter(i,o.parent(),o)}))}))}))}}}],bs=Ur({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,r){var o=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter((function(t,e,n){return n[e-1]!==t}));_(o,(function(t){i.cases["!"+t]=i.cases["!"+t]||[],i.cases["!"+t].push({transclude:r,element:e})}))}}),ws=Ur({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})}}),xs=o("ngTransclude"),Cs=["$compile",function(t){return{restrict:"EAC",compile:function(e){var n=t(e.contents());return e.empty(),function(t,e,i,r,o){if(!o)throw xs("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",xt(e));i.ngTransclude===i.$attr.ngTransclude&&(i.ngTransclude="");var s=i.ngTransclude||i.ngTranscludeSlot;function a(){n(t,(function(t){e.append(t)}))}o((function(t,n){t.length&&function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];if(i.nodeType!==Ft||i.nodeValue.trim())return!0}}(t)?e.append(t):(a(),n.$destroy())}),null,s),s&&!o.isSlotFilled(s)&&a()}}}}],_s=["$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)}}}}],Es={$setViewValue:V,$render:V};function Ss(t,e){t.prop("selected",e),t.attr("selected",e)}var Ts=["$element","$scope",function(e,n){var i=this,r=new Fe;i.selectValueMap={},i.ngModelCtrl=Es,i.multiple=!1,i.unknownOption=a(t.document.createElement("option")),i.hasEmptyOption=!1,i.emptyOption=void 0,i.renderUnknownOption=function(t){var n=i.generateUnknownOptionValue(t);i.unknownOption.val(n),e.prepend(i.unknownOption),Ss(i.unknownOption,!0),e.val(n)},i.updateUnknownOption=function(t){var n=i.generateUnknownOptionValue(t);i.unknownOption.val(n),Ss(i.unknownOption,!0),e.val(n)},i.generateUnknownOptionValue=function(t){return"? "+Ue(t)+" ?"},i.removeUnknownOption=function(){i.unknownOption.parent()&&i.unknownOption.remove()},i.selectEmptyOption=function(){i.emptyOption&&(e.val(""),Ss(i.emptyOption,!0))},i.unselectEmptyOption=function(){i.hasEmptyOption&&Ss(i.emptyOption,!1)},n.$on("$destroy",(function(){i.renderUnknownOption=V})),i.readValue=function(){var t=e.val(),n=t in i.selectValueMap?i.selectValueMap[t]:t;return i.hasOption(n)?n:null},i.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];if(n&&Ss(a(n),!1),i.hasOption(t)){i.removeUnknownOption();var r=Ue(t);e.val(r in i.selectValueMap?r:t);var o=e[0].options[e[0].selectedIndex];Ss(a(o),!0)}else i.selectUnknownOrEmptyOption(t)},i.addOption=function(t,e){if(8!==e[0].nodeType){Lt(t,'"option value"'),""===t&&(i.hasEmptyOption=!0,i.emptyOption=e);var n=r.get(t)||0;r.set(t,n+1),s()}},i.removeOption=function(t){var e=r.get(t);e&&(1===e?(r.delete(t),""===t&&(i.hasEmptyOption=!1,i.emptyOption=void 0)):r.set(t,e-1))},i.hasOption=function(t){return!!r.get(t)},i.$hasEmptyOption=function(){return i.hasEmptyOption},i.$isUnknownOptionSelected=function(){return e[0].options[0]===i.unknownOption[0]},i.$isEmptyOptionSelected=function(){return i.hasEmptyOption&&e[0].options[e[0].selectedIndex]===i.emptyOption[0]},i.selectUnknownOrEmptyOption=function(t){null==t&&i.emptyOption?(i.removeUnknownOption(),i.selectEmptyOption()):i.unknownOption.parent().length?i.updateUnknownOption(t):i.renderUnknownOption(t)};var o=!1;function s(){o||(o=!0,n.$$postDigest((function(){o=!1,i.ngModelCtrl.$render()})))}var l=!1;function u(t){l||(l=!0,n.$$postDigest((function(){n.$$destroyed||(l=!1,i.ngModelCtrl.$setViewValue(i.readValue()),t&&i.ngModelCtrl.$render())})))}i.registerOption=function(t,e,n,r,o){var a,l;n.$attr.ngValue?n.$observe("value",(function(t){var n,r=e.prop("selected");U(l)&&(i.removeOption(a),delete i.selectValueMap[l],n=!0),l=Ue(t),a=t,i.selectValueMap[l]=t,i.addOption(t,e),e.attr("value",l),n&&r&&u()})):r?n.$observe("value",(function(t){var n;i.readValue();var r=e.prop("selected");U(a)&&(i.removeOption(a),n=!0),a=t,i.addOption(t,e),n&&r&&u()}
2)):o?t.$watch(o,(function(t,r){n.$set("value",t);var o=e.prop("selected");r!==t&&i.removeOption(r),i.addOption(t,e),r&&o&&u()})):i.addOption(n.value,e);n.$observe("disabled",(function(t){("true"===t||t&&e.prop("selected"))&&(i.multiple?u(!0):(i.ngModelCtrl.$setViewValue(null),i.ngModelCtrl.$render()))})),e.on("$destroy",(function(){var t=i.readValue(),e=n.value;i.removeOption(e),s(),(i.multiple&&t&&-1!==t.indexOf(e)||t===e)&&u(!0)}))}}],ks=function(){return{restrict:"E",require:["select","?ngModel"],controller:Ts,priority:1,link:{pre:function(t,e,n,i){var r=i[0],o=i[1];if(!o)return void(r.registerOption=V);if(r.ngModelCtrl=o,e.on("change",(function(){r.removeUnknownOption(),t.$apply((function(){o.$setViewValue(r.readValue())}))})),n.multiple){r.multiple=!0,r.readValue=function(){var t=[];return _(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){_(e.find("option"),(function(e){var n=!!t&&(ot(t,e.value)||ot(t,r.selectValueMap[e.value]));n!==e.selected&&Ss(a(e),n)}))};var s,l=NaN;t.$watch((function(){l!==o.$viewValue||ut(s,o.$viewValue)||(s=qt(o.$viewValue),o.$render()),l=o.$viewValue})),o.$isEmpty=function(t){return!t||0===t.length}}},post:function(t,e,n,i){var r=i[1];if(!r)return;var o=i[0];r.$render=function(){o.writeValue(r.$viewValue)}}}}},As=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var i,r;return U(n.ngValue)||(U(n.value)?i=t(n.value,!0):(r=t(e.text(),!0))||n.$set("value",e.text())),function(t,e,n){var o="$selectController",s=e.parent(),a=s.data(o)||s.parent().data(o);a&&a.registerOption(t,e,n,i,r)}}}}],Os=["$parse",function(t){return{restrict:"A",require:"?ngModel",link:function(e,n,i,r){if(r){var o=i.hasOwnProperty("required")||t(i.ngRequired)(e);i.ngRequired||(i.required=!0),r.$validators.required=function(t,e){return!o||!r.$isEmpty(e)},i.$observe("required",(function(t){o!==t&&(o=t,r.$validate())}))}}}}],Ms=["$parse",function(t){return{restrict:"A",require:"?ngModel",compile:function(e,n){var i,r;return n.ngPattern&&(i=n.ngPattern,r="/"===n.ngPattern.charAt(0)&&c.test(n.ngPattern)?function(){return n.ngPattern}:t(n.ngPattern)),function(t,e,n,o){if(o){var s=n.pattern;n.ngPattern?s=r(t):i=n.pattern;var a=Ns(s,i,e);n.$observe("pattern",(function(t){var n=a;a=Ns(t,i,e),(n&&n.toString())!==(a&&a.toString())&&o.$validate()})),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||L(a)||a.test(e)}}}}}}],Is=["$parse",function(t){return{restrict:"A",require:"?ngModel",link:function(e,n,i,r){if(r){var o=i.maxlength||t(i.ngMaxlength)(e),s=Vs(o);i.$observe("maxlength",(function(t){o!==t&&(s=Vs(t),o=t,r.$validate())})),r.$validators.maxlength=function(t,e){return s<0||r.$isEmpty(e)||e.length<=s}}}}}],Ds=["$parse",function(t){return{restrict:"A",require:"?ngModel",link:function(e,n,i,r){if(r){var o=i.minlength||t(i.ngMinlength)(e),s=Vs(o)||-1;i.$observe("minlength",(function(t){o!==t&&(s=Vs(t)||-1,o=t,r.$validate())})),r.$validators.minlength=function(t,e){return r.$isEmpty(e)||e.length>=s}}}}}];function Ns(t,e,n){if(t){if(F(t)&&(t=new RegExp("^"+t+"$")),!t.test)throw o("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",e,t,xt(n));return t}}function Vs(t){var e=I(t);return D(e)?-1:e}t.angular.bootstrap?t.console&&console.log("WARNING: Tried to load AngularJS more than once."):(!function(){var e;if(!Vt){var n=ht();(l=L(n)?i:n?t[n]:void 0)&&l.fn.on?(a=l,O(l.fn,{scope:Ie.scope,isolateScope:Ie.isolateScope,controller:Ie.controller,injector:Ie.injector,inheritedData:Ie.inheritedData})):a=de,e=a.cleanData,a.cleanData=function(t){for(var n,i,r=0;null!=(i=t[r]);r++)(n=(a._data(i)||{}).events)&&n.$destroy&&a(i).triggerHandler("$destroy");e(t)},w.element=a,Vt=!0}}(),function(e){O(e,{errorHandlingConfig:n,bootstrap:Ot,copy:at,extend:O,merge:M,equals:ut,element:a,forEach:_,injector:Qe,noop:V,bind:dt,toJson:gt,fromJson:$t,identity:R,isUndefined:L,isDefined:U,isString:F,isFunction:Z,isObject:z,isNumber:q,isElement:it,isArray:W,version:Wt,isDate:B,callbacks:{$$counter:0},getTestability:It,reloadWithDebugInfo:Mt,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:Rt,$$minErr:o,$$csp:ct,$$encodeUriSegment:Et,$$encodeUriQuery:St,$$lowercase:f,$$stringify:Ht,$$uppercase:d}),u=function(t){var e=o("$injector"),n=o("ng");function i(t,e,n){return t[e]||(t[e]=n())}var r=i(t,"angular",Object);return r.$$minErr=r.$$minErr||o,i(r,"module",(function(){var t={};return function(r,o,s){var a={};return function(t,e){if("hasOwnProperty"===t)throw n("badname","hasOwnProperty is not a valid {0} name","module")}(r),o&&t.hasOwnProperty(r)&&(t[r]=null),i(t,r,(function(){if(!o)throw e("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);
2var t=[],i=[],l=[],u=h("$injector","invoke","push",i),c={_invokeQueue:t,_configBlocks:i,_runBlocks:l,info:function(t){if(U(t)){if(!z(t))throw n("aobj","Argument '{0}' must be an object","value");return a=t,this}return a},requires:o,name:r,provider:p("$provide","provider"),factory:p("$provide","factory"),service:p("$provide","service"),value:h("$provide","value"),constant:h("$provide","constant","unshift"),decorator:p("$provide","decorator",i),animation:p("$animateProvider","register"),filter:p("$filterProvider","register"),controller:p("$controllerProvider","register"),directive:p("$compileProvider","directive"),component:p("$compileProvider","component"),config:u,run:function(t){return l.push(t),this}};return s&&u(s),c;function h(e,n,i,r){return r||(r=t),function(){return r[i||"push"]([e,n,arguments]),c}}function p(e,n,i){return i||(i=t),function(t,o){return o&&Z(o)&&(o.$$moduleName=r),i.push([e,n,arguments]),c}}}))}}))}(t),u("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Wi}),t.provider("$compile",vn).directive({a:zr,input:xo,textarea:xo,form:Zr,script:_s,select:ks,option:As,ngBind:So,ngBindHtml:ko,ngBindTemplate:To,ngClass:Mo,ngClassEven:Do,ngClassOdd:Io,ngCloak:No,ngController:Vo,ngForm:Kr,ngHide:$s,ngIf:Lo,ngInclude:Uo,ngInit:Ho,ngNonBindable:ss,ngPluralize:cs,ngRef:ps,ngRepeat:fs,ngShow:gs,ngStyle:vs,ngSwitch:ys,ngSwitchWhen:bs,ngSwitchDefault:ws,ngOptions:us,ngTransclude:Cs,ngModel:es,ngList:Fo,ngChange:Ao,pattern:Ms,ngPattern:Ms,required:Os,ngRequired:Os,minlength:Ds,ngMinlength:Ds,maxlength:Is,ngMaxlength:Is,ngValue:Eo,ngModelOptions:rs}).directive({ngInclude:zo,input:Co}).directive(Hr).directive(Ro),t.provider({$anchorScroll:tn,$animate:ln,$animateCss:hn,$$animateJs:sn,$$animateQueue:an,$$AnimateRunner:cn,$$animateAsyncRun:un,$browser:fn,$cacheFactory:dn,$controller:kn,$document:An,$$isDocumentHidden:On,$exceptionHandler:Mn,$filter:$r,$$forceReflow:In,$interpolate:Yn,$interval:Qn,$$intervalFactory:ti,$http:Gn,$httpParamSerializer:Un,$httpParamSerializerJQLike:zn,$httpBackend:Kn,$xhrFactory:Zn,$jsonpCallbacks:ei,$location:vi,$log:yi,$parse:Pi,$rootScope:Bi,$q:ji,$$q:Li,$sce:Qi,$sceDelegate:Xi,$sniffer:tr,$$taskTrackerFactory:er,$templateCache:mn,$templateRequest:rr,$$testability:or,$timeout:ar,$window:dr,$$rAF:qi,$$jqLite:Le,$$Map:qe,$$cookieReader:gr})}]).info({angularVersion:"1.8.3"})}(w),w.module("ngLocale",[],["$provide",function(t){var e="one",n="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,i){var r=0|t,o=function(t,e){var n=e;void 0===n&&(n=Math.min(function(t){var e=(t+="").indexOf(".");return-1==e?0:t.length-e-1}(t),3));var i=Math.pow(10,n);return{v:n,f:(t*i|0)%i}}(t,i);return 1==r&&0==o.v?e:n}})}]),a((function(){At(t.document,Ot)})))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))},6695:(t,e,n)=>{n(4426),t.exports=angular},7915:(t,e,n)=>{n(8294),n(1309),n(3929),n(4050),n(63),n(9737),n(8852),n(6278),n(6927),n(3497),n(7814),n(5377)},5377:(t,e,n)=>{!function(t){"use strict";var e=function(n,i){this.options=t.extend({},e.DEFAULTS,i);var r=this.options.target===e.DEFAULTS.target?t(this.options.target):t(document).find(this.options.target);this.$target=r.on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof n&&n;r||i.data("bs.affix",r=new e(this,o)),"string"==typeof n&&r[n]()}))}e.VERSION="3.4.1",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+s<=t-i)&&"bottom";var a=null==this.affixed,l=a?r:o.top;return null!=n&&r<=n?"top":null!=i&&l+(a?s:e)>=t-i&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,r=i.top,o=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var a=this.getState(s,n,r,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-o})}};var i=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),i=e.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(e,i)}))}))}(n(9755))},1309:(t,e,n)=>{!function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var i=t(this),r=i.attr("data-target");r||(r=(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),r="#"===r?[]:r;var o=t(document).find(r);function s(){o.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),o.length||(o=i.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s())};var i=t.fn.alert;t.fn.alert=function(e){return this.each((function(){var i=t(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof e&&r[e].call(i)}))},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}
2(n(9755))},3929:(t,e,n)=>{!function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof n&&n;r||i.data("bs.button",r=new e(this,o)),"toggle"==n?r.toggle():n&&r.setState(n)}))}e.VERSION="3.4.1",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy((function(){i[r](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var i=t(e.target).closest(".btn");n.call(i,"toggle"),t(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(n(9755))},4050:(t,e,n)=>{!function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each((function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n),s="string"==typeof n?n:o.slide;r||i.data("bs.carousel",r=new e(this,o)),"number"==typeof n?r.to(n):s?r[s]():o.interval&&r.pause().cycle()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")}
vendor: 5,219 bytes, line 2
2,e.prototype.slide=function(n,i){var r=this.$element.find(".item.active"),o=i||this.getItemForDirection(n,r),s=this.interval,a="next"==n?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var u=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),"object"==typeof o&&o.length&&o[0].offsetWidth,r.addClass(a),o.addClass(a),r.one("bsTransitionEnd",(function(){o.removeClass([n,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(p)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(p)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(e){var i=t(this),r=i.attr("href");r&&(r=r.replace(/.*(?=#[^\s]+$)/,""));var o=i.attr("data-target")||r,s=t(document).find(o);if(s.hasClass("carousel")){var a=t.extend({},s.data(),i.data()),l=i.attr("data-slide-to");l&&(a.interval=!1),n.call(s,a),l&&s.data("bs.carousel").to(l),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(n(9755))},63:(t,e,n)=>{!function(t){"use strict";var e=function(n,i){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(document).find(i)}function i(n){return this.each((function(){var i=t(this),r=i.data("bs.collapse"),o=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);!r&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),r||i.data("bs.collapse",r=new e(this,o)),"string"==typeof n&&r[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(n=r.data("bs.collapse"))&&n.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(i.call(r,"hide"),n||r.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return r.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,i){var r=t(i);this.addAriaAndCollapsedClass(n(r),r)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var r=t(this);r.attr("data-target")||e.preventDefault();var o=n(r),s=o.data("bs.collapse")?"toggle":r.data();i.call(o,s)}))}(n(9755))},9737:(t,e,n)=>{!function(t){"use strict";
2var e='[data-toggle="dropdown"]',n=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?t(document).find(n):null;return i&&i.length?i:e.parent()}function r(n){n&&3===n.which||(t(".dropdown-backdrop").remove(),t(e).each((function(){var e=t(this),r=i(e),o={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(e.attr("aria-expanded","false"),r.removeClass("open").trigger(t.Event("hidden.bs.dropdown",o)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var o=i(n),s=o.hasClass("open");if(r(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",r);var a={relatedTarget:this};if(o.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(t.Event("shown.bs.dropdown",a))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=t(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var o=i(r),s=o.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&o.find(e).trigger("focus"),r.trigger("click");var a=o.find(".dropdown-menu li:not(.disabled):visible a");if(a.length){var l=a.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<a.length-1&&l++,~l||(l=0),a.eq(l).trigger("focus")}}}};var o=t.fn.dropdown;t.fn.dropdown=function(e){return this.each((function(){var i=t(this),r=i.data("bs.dropdown");r||i.data("bs.dropdown",r=new n(this)),"string"==typeof e&&r[e].call(i)}))},t.fn.dropdown.Constructor=n,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=o,this},t(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,n.prototype.toggle).on("keydown.bs.dropdown.data-api",e,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(n(9755))},8852:(t,e,n)=>{!function(t){"use strict";var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function n(n,i){return this.each((function(){var r=t(this),o=r.data("bs.modal"),s=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);o||r.data("bs.modal",o=new e(this,s)),"string"==typeof n?o[n](i):s.show&&o.show(i)}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var i=this,r=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){i.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:n});r?i.$dialog.one("bsTransitionEnd",(function(){i.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(e.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)})))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("
2click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&r;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each((function(e,i){var r=i.style.paddingRight,o=t(i).css("padding-right");t(i).data("padding-right",r).css("padding-right",parseFloat(o)+n+"px")})))},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each((function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""}))},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var i=t(this),r=i.attr("href"),o=i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,""),s=t(document).find(o),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},s.data(),i.data());i.is("a")&&e.preventDefault(),s.one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){i.is(":visible")&&i.trigger("focus")}))}
2)),n.call(s,a,this)}))}(n(9755))},6927:(t,e,n)=>{!function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.4.1",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();if(this.options.html){var i=typeof n;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===i&&(n=this.sanitizeHtml(n))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===i?"html":"append"](n)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(n);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each((function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.popover",r=new e(this,o)),"string"==typeof n&&r[n]())}))},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(n(9755))},3497:(t,e,n)=>{!function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()}))}e.VERSION="3.4.1",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),r=e.data("target")||e.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,r]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)s!=o[t]&&e>
2=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);n.call(e,e.data())}))}))}(n(9755))},7814:(t,e,n)=>{!function(t){"use strict";var e=function(e){this.element=t(e)};function n(n){return this.each((function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new e(this)),"string"==typeof n&&r[n]()}))}e.VERSION="3.4.1",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(document).find(i);this.activate(e.closest("li"),n),this.activate(a,a.parent(),(function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}}},e.prototype.activate=function(n,i,r){var o=i.find("> .active"),s=r&&t.support.transition&&(o.length&&o.hasClass("fade")||!!i.find("> .fade").length);function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),o.removeClass("in")};var i=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(n(9755))},6278:(t,e,n)=>{!function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],i={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function s(e,i){var s=e.nodeName.toLowerCase();if(-1!==t.inArray(s,i))return-1===t.inArray(s,n)||Boolean(e.nodeValue.match(r)||e.nodeValue.match(o));for(var a=t(i).filter((function(t,e){return e instanceof RegExp})),l=0,u=a.length;l<u;l++)if(s.match(a[l]))return!0;return!1}function a(e,n,i){if(0===e.length)return e;if(i&&"function"==typeof i)return i(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var r=document.implementation.createHTMLDocument("sanitization");r.body.innerHTML=e;for(var o=t.map(n,(function(t,e){return e})),a=t(r.body).find("*"),l=0,u=a.length;l<u;l++){var c=a[l],h=c.nodeName.toLowerCase();if(-1!==t.inArray(h,o))for(var p=t.map(c.attributes,(function(t){return t})),f=[].concat(n["*"]||[],n[h]||[]),d=0,m=p.length;d<m;d++)s(p[d],f)||c.removeAttribute(p[d].nodeName);else c.parentNode.removeChild(c)}return r.body.innerHTML}var l=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:i},l.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var s=r[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(n){var i=this.$element.data();for(var r in i)i.hasOwnProperty(r)&&-1!==t.inArray(r,e)&&delete i[r];return(n=t.extend({}
vendor: 5,758 bytes, line 2
2,this.getDefaults(),i,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=a(n.template,n.whiteList,n.sanitizeFn)),n},l.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,(function(t,i){n[t]!=i&&(e[t]=i)})),e},l.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var i=this,r=this.tip(),o=this.getUID(this.type);this.setContent(),r.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&r.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,u=a.test(s);u&&(s=s.replace(a,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?r.appendTo(t(document).find(this.options.container)):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),h=r[0].offsetWidth,p=r[0].offsetHeight;if(u){var f=s,d=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+p>d.bottom?"top":"top"==s&&c.top-p<d.top?"bottom":"right"==s&&c.right+h>d.width?"left":"left"==s&&c.left-h<d.left?"right":s,r.removeClass(f).addClass(s)}var m=this.getCalculatedOffset(s,c,h,p);this.applyPlacement(m,s);var g=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",g).emulateTransitionEnd(l.TRANSITION_DURATION):g()}},l.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top+=s,e.left+=a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var h=/top|bottom/.test(n),p=h?2*c.left-r+l:2*c.top-o+u,f=h?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(p,i[0][f],h)},l.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=a(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(e){var n=this,i=t(this.$tip),r=t.Event("hide.bs."+this.type);function o(){"in"!=n.hoverState&&i.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}if(this.$element.trigger(r),!r.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=window.SVGElement&&n instanceof window.SVGElement,s=i?{top:0,left:0}:o?null:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,a,l,s)},l.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-s.scroll,l=e.top+o-s.scroll+i;a<s.top?r.top=s.top-a:l>s.top+s.height&&(r.top=s.top+s.height-l)}else{var u=e.left-o,c=e.left+o+n;u<s.left?r.left=s.left-u:c>
2s.right&&(r.left=s.left+s.width-c)}return r},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null}))},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var u=t.fn.tooltip;t.fn.tooltip=function(e){return this.each((function(){var n=t(this),i=n.data("bs.tooltip"),r="object"==typeof e&&e;!i&&/destroy|hide/.test(e)||(i||n.data("bs.tooltip",i=new l(this,r)),"string"==typeof e&&i[e]())}))},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=u,this}}(n(9755))},8294:(t,e,n)=>{!function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",(function(){n=!0}));return setTimeout((function(){n||t(i).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(n(9755))},7009:(t,e,n)=>{var i=n(9755),r=n(9755);!function(t,e,n,r){function o(e,n){this.settings=null,this.options=t.extend({},o.Defaults,n),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,n){this._handlers[n]=t.proxy(this[n],this)}),this)),t.each(o.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(o.Workers,t.proxy((function(e,n){this._pipe.push({filter:n.filter,run:t.proxy(n.run,this)})}),this)),this.setup(),this.initialize()}o.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,r={width:"auto","margin-left":i?e:"","margin-right":i?"":e};!n&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,r=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,t.items.merge=n>1||t.items.merge,o[i]=r?e*n:this._items[i].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],n=this._items,i=this.settings,r=Math.max(2*i.items,4),o=2*Math.ceil(n.length/2),s=i.loop&&n.length?i.rewind?r:Math.max(r,o):0,a="",l="";for(s/=2;s>0;)e.push(this.normalize(e.length/2,!0)),a+=n[e[e.length-1]][0].outerHTML,e.push(this.normalize(n.length-1-(e.length-1)/2,!0)),l=n[e[e.length-1]][0].outerHTML+l,s-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=-1,i=0,r=0,o=[];++n<e;)i=o[n-1]||0,r=this._widths[this.relative(n)]+this.settings.margin,o.push(i+r*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,n,i,r=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,s=this.coordinates(this.current())+o,a=s+this.width()*r,l=[];for(n=0,i=this._coordinates.length;n<i;n++)t=this._coordinates[n-1]||0,e=Math.abs(this._coordinates[n])+o*r,(this.op(t,"<=",s)&&this.op(t,">",a)||this.op(e,"<",s)&&this.op(e,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],o.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},o.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map((function(e){return t(e)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},o.prototype.initialize=function(){var t,e,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r,n=this.$element.children(e).width(),t.length&&n<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},o.prototype.setup=function(){var e=this.viewport(),n=this.options.responsive,i=-1,r=null;n?(t.each(n,(function(t){t<=e&&t>i&&(i=Number(t))})),"function"==typeof(r=t.extend({},this.options,n[i])).stagePadding&&(r.stagePadding=r.stagePadding()),delete r.responsive,r.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):r=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=i,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(e){var n=this.trigger("prepare",{content:e});return n.data||(n.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:n.data}),n.data},o.prototype.update=function(){for(var e=0,n=this._pipe.length,i=t.proxy((function(t){return this[t]}),this._invalidated),r={};e<n;)(this._invalidated.all||t.grep(this._pipe[e].filter,i).length>0)&&this._pipe[e].run(r),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(t){switch(t=t||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},o.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},o.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(e){var i=null;
vendor: 11,011 bytes, line 2
23!==e.which&&(t.support.transform?i={x:(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===i.length?12:4],y:i[16===i.length?13:5]}:(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(t.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(e),t(n).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(n).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var i=this.difference(this._drag.pointer,this.pointer(e));t(n).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},o.prototype.onDragMove=function(t){var e=null,n=null,i=null,r=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,r);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*r.x/5:0,o.x=Math.max(Math.min(o.x,e+i),n+i)),this._drag.stage.current=o,this.animate(o.x))},o.prototype.onDragEnd=function(e){var i=this.difference(this._drag.pointer,this.pointer(e)),r=this._drag.stage.current,o=i.x>0^this.settings.rtl?"left":"right";t(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(r.x,0!==i.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},o.prototype.closest=function(e,n){var i=-1,o=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy((function(t,a){return"left"===n&&e>a-30&&e<a+30?i=t:"right"===n&&e>a-o-30&&e<a-o+30?i=t+1:this.op(e,"<",a)&&this.op(e,">",s[t+1]!==r?s[t+1]:a-o)&&(i="left"===n?t+1:t),-1===i}),this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?i=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(i=e=this.maximum())),i},o.prototype.animate=function(e){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):n?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},o.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},o.prototype.current=function(t){if(t===r)return this._current;if(0===this._items.length)return r;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==r&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},o.prototype.reset=function(t){(t=this.normalize(t))!==r&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},o.prototype.normalize=function(t,e){var n=this._items.length,i=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=r:(t<0||t>=n+i)&&(t=((t-i/2)%n+n)%n+i/2),t},o.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},o.prototype.maximum=function(t){var e,n,i,r=this.settings,o=this._coordinates.length;if(r.loop)o=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){if(e=this._items.length)for(n=this._items[--e].width(),i=this.$element.width();e--&&!((n+=this._items[e].width()+this.settings.margin)>i););o=e+1}else o=r.center?this._items.length-1:this._items.length-r.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},o.prototype.minimum=function(t){return t?0:this._clones.length/2},o.prototype.items=function(t){return t===r?this._items.slice():(t=this.normalize(t,!0),this._items[t])},o.prototype.mergers=function(t){return t===r?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},o.prototype.clones=function(e){var n=this._clones.length/2,i=n+this._items.length,o=function(t){return t%2==0?i+t/2:n-(t+1)/2};return e===r?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,n){return t===e?o(n):null}))},o.prototype.speed=function(t){return t!==r&&(this._speed=t),this._speed},o.prototype.coordinates=function(e){var n,i=1,o=e-1;return e===r?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(i=-1,o=e+1),n=this._coordinates[e],n+=(this.width()-n+(this._coordinates[o]||0))/2*i):n=this._coordinates[o]||0,n=Math.ceil(n))},o.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},o.prototype.to=function(t,e){var n=this.current(),i=null,r=t-this.relative(n),o=(r>0)-(r<0),s=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>s/2&&(r+=-1*o*s),(i=(((t=n+r)-a)%s+s)%s+a)!==t&&i-r<=l&&i-r>0&&(n=i-r,t=i,this.reset(n))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&this.update()},o.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},o.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},o.prototype.onTransitionEnd=function(t){if(t!==r&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},o.prototype.viewport=function(){var i;return this.options.responsiveBaseElement!==e?i=t(this.options.responsiveBaseElement).width():e.innerWidth?i=e.innerWidth:n.documentElement&&n.documentElement.clientWidth?i=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),i},o.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof i?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},o.prototype.add=function(e,n){var o=this.relative(this._current);n=n===r?this._items.length:this.normalize(n,!0),e=e instanceof i?e:t(e),this.trigger("add",{content:e,position:n}),e=this.prepare(e),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[n-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(e),this._items.splice(n,0,e),this._mergers.splice(n,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:e,position:n})},o.prototype.remove=function(t){(t=this.normalize(t,!0))!==r&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},o.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,n){this.enter("pre-loading"),n=t(n),t(new Image).one("load",t.proxy((function(t){n.attr("src",t.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))}),this))},o.prototype.destroy=function(){for(var i in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(n).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},o.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?t>n:t<n;case">":return i?t<n:t>n;case">=":return i?t<=n:t>=n;case"<=":return i?t>=n:t<=n}},o.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},o.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},o.prototype.trigger=function(e,n,i,r,s){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,i],(function(t){return t})).join("-").toLowerCase()),u=t.Event([e,"owl",i||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,n));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(u)})),this.register({type:o.Type.Event,name:e}),this.$element.trigger(u),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,u)),u},o.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===r&&(this._states.current[e]=0),this._states.current[e]++}),this))},o.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},o.prototype.register=function(e){if(e.type===o.Type.Event){if(t.event.special[e.
2name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var n=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!n||!n.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:n.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===o.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(n,i){return t.inArray(n,this._states.tags[e.name])===i}),this)))},o.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},o.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},o.prototype.pointer=function(t){var n={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(n.x=t.pageX,n.y=t.pageY):(n.x=t.clientX,n.y=t.clientY),n},o.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},o.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var n=Array.prototype.slice.call(arguments,1);return this.each((function(){var i=t(this),r=i.data("owl.carousel");r||(r=new o(this,"object"==typeof e&&e),i.data("owl.carousel",r),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,n){r.register({type:o.Type.Event,name:n}),r.$element.on(n+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([n]),r[n].apply(this,[].slice.call(arguments,1)),this.release([n]))}),r))}))),"string"==typeof e&&"_"!==e.charAt(0)&&r[e].apply(r,n)}))},t.fn.owlCarousel.Constructor=o}(window.Zepto||r,window,document),function(t,e,n,i){var r=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoRefresh:!0,autoRefreshInterval:500},r.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},r.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},r.prototype.destroy=function(){var t,n;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=r}(window.Zepto||r,window,document),function(t,e,n,i){var r=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var n=this._core.settings,i=n.center&&Math.ceil(n.items/2)||n.items,r=n.center&&-1*i||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+r,s=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);for(n.lazyLoadEager>0&&(i+=n.lazyLoadEager,n.loop&&(o-=n.lazyLoadEager,i++));r++<i;)this.load(s/2+this._core.relative(o)),s&&t.each(this._core.clones(this._core.relative(o)),a),o++}}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={lazyLoad:!1,lazyLoadEager:0},r.prototype.load=function(n){var i=this._core.$stage.children().eq(n),r=i&&i.find(".owl-lazy");!r||t.inArray(i.get(0),this._loaded)>-1||(r.each(t.proxy((function(n,i){var r,o=t(i),s=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:s},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:s},"lazy")}),this)).attr("src",s):o.is("source")?o.one("load.owl.lazy",t.proxy((function(){this._core.trigger("loaded",{element:o,url:s},"lazy")}),this)).attr("srcset",s):((r=new Image).onload=t.proxy((function(){o.css({"background-image":'url("'+s+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:s},"lazy")}),this),r.src=s)}),this)),this._loaded.push(i.get(0)))},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=r}(window.Zepto||r,window,document),function(t,e,n,i){var r=function(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var i=this;t(e).on("load",(function(){i._core.settings.autoHeight&&i.update()})),t(e).resize((function(){i._core.settings.autoHeight&&(null!=i._intervalId&&clearTimeout(i._intervalId),i._intervalId=setTimeout((function(){i.update()}),250))}))};r.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},r.prototype.update=function(){var e=this._core._current,n=e+this._core.settings.items,i=this._core.settings.lazyLoad,r=this._core.$stage.children().toArray().slice(e,n),o=[],s=0;t.each(r,(function(e,n){o.push(t(n).height())})),(s=Math.max.apply(null,o))<=1&&i&&this._previousHeight&&(s=this._previousHeight),this._previousHeight=s,this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},r.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=r}(window.Zepto||r,window,document),function(t,e,n,i){var r=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var n=t(e.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,t(e.content)))}}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};r.Defaults={video:!1,videoHeight:!1,videoWidth:!1},r.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),r=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,s=t.attr("href");if(!s)throw new Error("Missing video URL.");
vendor: 12,823 bytes, line 2
2if((i=s.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(i[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[s]={type:n,id:i,width:r,height:o},e.attr("data-video",s),this.thumbnail(t,this._videos[s])},r.prototype.thumbnail=function(e,n){var i,r,o=n.width&&n.height?"width:"+n.width+"px;height:"+n.height+"px;":"",s=e.find("img"),a="src",l="",u=this._core.settings,c=function(n){'<div class="owl-video-play-icon"></div>',i=u.lazyLoad?t("<div/>",{class:"owl-video-tn "+l,srcType:n}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+n+")"}),e.after(i),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),s.length)return c(s.attr(a)),s.remove(),!1;"youtube"===n.type?(r="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",c(r)):"vimeo"===n.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t[0].thumbnail_large,c(r)}}):"vzaar"===n.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t.framegrab_url,c(r)}})},r.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},r.prototype.play=function(e){var n,i=t(e.target).closest("."+this._core.settings.itemClass),r=this._videos[i.attr("data-video")],o=r.width||"100%",s=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),(n=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",s),n.attr("width",o),"youtube"===r.type?n.attr("src","//www.youtube.com/embed/"+r.id+"?autoplay=1&rel=0&v="+r.id):"vimeo"===r.type?n.attr("src","//player.vimeo.com/video/"+r.id+"?autoplay=1"):"vzaar"===r.type&&n.attr("src","//view.vzaar.com/"+r.id+"/player?autoplay=true"),t(n).wrap('<div class="owl-video-frame" />').insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},r.prototype.isInFullScreen=function(){var e=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},r.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=r}(window.Zepto||r,window,document),function(t,e,n,i){var r=function(e){this.core=e,this.core.options=t.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,n=t.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(t.support.animation.end,n).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),o&&r.one(t.support.animation.end,n).addClass("animated owl-animated-in").addClass(o))}},r.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||r,window,document),function(t,e,n,i){var r=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,n){t.namespace&&this.play(e,n)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},r.Defaults,this._core.options)};r.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},r.prototype._next=function(i){this._call=e.setTimeout(t.proxy(this._next,this,i),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||n.hidden||this._core.next(i||this._core.settings.autoplaySpeed)},r.prototype.read=function(){return(new Date).getTime()-this._time},r.prototype.play=function(n,i){var r;this._core.is("rotating")||this._core.enter("rotating"),n=n||this._core.settings.autoplayTimeout,r=Math.min(this._time%(this._timeout||n),n),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%n-r,this._timeout=n,this._call=e.setTimeout(t.proxy(this._next,this,i),n-r)},r.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},r.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},r.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=r}(window.Zepto||r,window,document),function(t,e,n,i){"use strict";var r=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers)};r.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},r.prototype.initialize=function(){var e,n=this._core.settings;for(e in this._controls.$relative=(n.navContainer?t(n.navContainer):t("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(n.navSpeed)}),this)),this._controls.$next=t("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(n.navSpeed)}),this)),n.dotsData||(this._templates=[t('<button role="button">').addClass(n.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?t(n.dotsContainer):t("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy((function(e){var i=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(i,n.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},r.prototype.destroy=function(){var t,e,n,i,r;for(t in r=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&r.navContainer?this._controls[e].html(""):this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},r.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,r=this._core.maximum(!0),o=this._core.settings,s=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=n,e=0,0;t<i;t++){if(e>=s||0===e){if(this._pages.push({start:Math.min(r,t-n),end:t-n+s-1}),Math.min(r,t-n)===r)break;e=0}e+=this._core.mergers(this._core.relative(t))}},r.prototype.draw=function(){var e,n=this._core.settings,i=this._core.items().length<=n.items,r=this._core.relative(this._core.current()),o=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||i),n.nav&&(this._controls.$previous.toggleClass("disabled",!o&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||i),n.dots&&(e=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},r.prototype.onTrigger=function(e){var n=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},r.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,n){return t.start<=e&&t.end>=e}),this)).pop()},r.prototype.getPosition=function(e){var n,i,r=this._core.settings;return"page"==r.slideBy?(n=t.inArray(this.current(),this._pages),i=this._pages.length,e?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,e?n+=r.
vendor: 3,029 bytes, line 2
2slideBy:n-=r.slideBy),n},r.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},r.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},r.prototype.to=function(e,n,i){var r;!i&&this._pages.length?(r=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%r+r)%r].start,n)):t.proxy(this._overrides.to,this._core)(e,n)},t.fn.owlCarousel.Constructor.Plugins.Navigation=r}(window.Zepto||r,window,document),function(t,e,n,i){"use strict";var r=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var n=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=e.content}}),this),"changed.owl.carousel":t.proxy((function(n){if(n.namespace&&"position"===n.property.name){var i=this._core.items(this._core.relative(this._core.current())),r=t.map(this._hashes,(function(t,e){return t===i?e:null})).join();if(!r||e.location.hash.slice(1)===r)return;e.location.hash=r}}),this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var n=e.location.hash.substring(1),i=this._core.$stage.children(),r=this._hashes[n]&&i.index(this._hashes[n]);undefined!==r&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)}),this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var n,i;for(n in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||r,window,document),function(t,e,n,i){var r=t("<support>").get(0).style,o="Webkit Moz O ms".split(" "),s={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},a=function(){return!!c("transform")},l=function(){return!!c("perspective")},u=function(){return!!c("animation")};function c(e,n){var i=!1,s=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+o.join(s+" ")+s).split(" "),(function(t,e){if(undefined!==r[e])return i=!n||e,!1})),i}function h(t){return c(t,!0)}(function(){return!!c("transition")})()&&(t.support.transition=new String(h("transition")),t.support.transition.end=s.transition.end[t.support.transition]),u()&&(t.support.animation=new String(h("animation")),t.support.animation.end=s.animation.end[t.support.animation]),a()&&(t.support.transform=new String(h("transform")),t.support.transform3d=l())}(window.Zepto||r,window,document)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.