angularjs-nouislider
Version:
An AngularJS wrapper for the noUiSlider range slider with minimal overhead.
2 lines • 185 kB
JavaScript
/*! For license information please see vendors~angular~angularjs-nouislider.b7ab606ed28f74f7737f.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{128:function(t,e,n){n(132),t.exports=angular},132:function(t,e){!function(t){"use strict";var e={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(t){if(!_(t))return e;L(t.objectMaxDepth)&&(e.objectMaxDepth=r(t.objectMaxDepth)?t.objectMaxDepth:NaN),L(t.urlErrorParamsEnabled)&&Y(t.urlErrorParamsEnabled)&&(e.urlErrorParamsEnabled=t.urlErrorParamsEnabled)}function r(t){return H(t)&&t>0}function i(t,n){n=n||Error;var r="https://errors.angularjs.org/1.8.1/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,a,s=arguments[0],u=arguments[1],c="["+(t?t+":":"")+s+"] ",l=ht(arguments,2).map((function(t){return Bt(t,e.objectMaxDepth)}));if(c+=u.replace(/\{\d+\}/g,(function(t){var e=+t.slice(1,-1);return e<l.length?l[e].replace(o,""):t})),c+="\n"+r+(t?t+"/":"")+s,e.urlErrorParamsEnabled)for(a=0,i="?";a<l.length;a++,i="&")c+=i+"p"+a+"="+encodeURIComponent(l[a]);return new n(c)}}var o,a,s,u,c=/^\/(.+)\/([a-z]*)$/,l="validity",f=Object.prototype.hasOwnProperty,h=function(t){return F(t)?t.toLowerCase():t},p=function(t){return F(t)?t.toUpperCase():t},d=[].slice,$=[].splice,v=[].push,m=Object.prototype.toString,g=Object.getPrototypeOf,y=i("ng"),b=t.angular||(t.angular={}),w=0;function x(t){if(null==t||K(t))return!1;if(z(t)||F(t)||a&&t instanceof a)return!0;var e="length"in Object(t)&&t.length;return H(e)&&(e>=0&&e-1 in t||"function"==typeof t.item)}function E(t,e,n){var r,i;if(t)if(G(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else if(z(t)||x(t)){var o="object"!=typeof t;for(r=0,i=t.length;r<i;r++)(o||r in t)&&e.call(n,t[r],r,t)}else if(t.forEach&&t.forEach!==E)t.forEach(e,n,t);else if(q(t))for(r in t)e.call(n,t[r],r,t);else if("function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else for(r in t)f.call(t,r)&&e.call(n,t[r],r,t);return t}function C(t,e,n){for(var r=Object.keys(t).sort(),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return r}function S(t){return function(e,n){t(n,e)}}function k(){return++w}function A(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function O(t,e,n){for(var r=t.$$hashKey,i=0,o=e.length;i<o;++i){var a=e[i];if(_(a)||G(a))for(var s=Object.keys(a),u=0,c=s.length;u<c;u++){var l=s[u],f=a[l];n&&_(f)?B(f)?t[l]=new Date(f.valueOf()):J(f)?t[l]=new RegExp(f):f.nodeName?t[l]=f.cloneNode(!0):nt(f)?t[l]=f.clone():"__proto__"!==l&&(_(t[l])||(t[l]=z(f)?[]:{}),O(t[l],[f],!0)):t[l]=f}}return A(t,r),t}function M(t){return O(t,d.call(arguments,1),!1)}function T(t){return O(t,d.call(arguments,1),!0)}function V(t){return parseInt(t,10)}o=t.document.documentMode;var N=Number.isNaN||function(t){return t!=t};function I(t,e){return M(Object.create(t),e)}function j(){}function R(t){return t}function P(t){return function(){return t}}function U(t){return G(t.toString)&&t.toString!==m}function D(t){return void 0===t}function L(t){return void 0!==t}function _(t){return null!==t&&"object"==typeof t}function q(t){return null!==t&&"object"==typeof t&&!g(t)}function F(t){return"string"==typeof t}function H(t){return"number"==typeof t}function B(t){return"[object Date]"===m.call(t)}function z(t){return Array.isArray(t)||t instanceof Array}function W(t){switch(m.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function G(t){return"function"==typeof t}function J(t){return"[object RegExp]"===m.call(t)}function K(t){return t&&t.window===t}function Z(t){return t&&t.$evalAsync&&t.$watch}function Y(t){return"boolean"==typeof t}function X(t){return t&&G(t.then)}j.$inject=[],R.$inject=[];var Q=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var tt=function(t){return F(t)?t.trim():t},et=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function nt(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function rt(t){return h(t.nodeName||t[0]&&t[0].nodeName)}function it(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function ot(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function at(t,e,n){var i,o,a=[],s=[];if(n=r(n)?n:NaN,e){if((o=e)&&H(o.length)&&Q.test(m.call(o))||(i=e,"[object ArrayBuffer]"===m.call(i)))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw y("cpi","Can't copy! Source and destination are identical.");return z(e)?e.length=0:E(e,(function(t,n){"$$hashKey"!==n&&delete e[n]})),a.push(t),s.push(e),u(t,e,n)}return c(t,n);function u(t,e,n){if(--n<0)return"...";var r,i=e.$$hashKey;if(z(t))for(var o=0,a=t.length;o<a;o++)e.push(c(t[o],n));else if(q(t))for(r in t)e[r]=c(t[r],n);else if(t&&"function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(e[r]=c(t[r],n));else for(r in t)f.call(t,r)&&(e[r]=c(t[r],n));return A(e,i),e}function c(t,e){if(!_(t))return t;var n=a.indexOf(t);if(-1!==n)return s[n];if(K(t)||Z(t))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=function(t){switch(m.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(c(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(G(t.cloneNode))return t.cloneNode(!0)}(t);return void 0===i&&(i=z(t)?[]:Object.create(g(t)),r=!0),a.push(t),s.push(i),r?u(t,i,e):i}}function st(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,r,i,o=typeof t;if(o===typeof e&&"object"===o){if(!z(t)){if(B(t))return!!B(e)&&st(t.getTime(),e.getTime());if(J(t))return!!J(e)&&t.toString()===e.toString();if(Z(t)||Z(e)||K(t)||K(e)||z(e)||B(e)||J(e))return!1;for(r in i=_t(),t)if("$"!==r.charAt(0)&&!G(t[r])){if(!ut(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!(r in i)&&"$"!==r.charAt(0)&&L(e[r])&&!G(e[r]))return!1;return!0}if(!z(e))return!1;if((n=t.length)===e.length){for(r=0;r<n;r++)if(!ut(t[r],e[r]))return!1;return!0}}return!1}var ct=function(){if(!L(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},lt=function(){if(L(lt.name_))return lt.name_;var e,n,r,i,o=kt.length;for(n=0;n<o;++n)if(r=kt[n],e=t.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return lt.name_=i};function ft(t,e,n){return t.concat(d.call(e,n))}function ht(t,e){return d.call(t,e||0)}function pt(t,e){var n=arguments.length>2?ht(arguments,2):[];return!G(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,ft(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function dt(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:K(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":Z(n)&&(r="$SCOPE"),r}function $t(t,e){if(!D(t))return H(e)||(e=e?2:null),JSON.stringify(t,dt,e)}function vt(t){return F(t)?JSON.parse(t):t}var mt=/:/g;function gt(t,e){t=t.replace(mt,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return N(n)?e:n}function yt(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}function bt(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset();return yt(t,n*(gt(e,r)-r))}function wt(t){t=a(t).clone().empty();var e=a("<div></div>").append(t).html();try{return t[0].nodeType===Ft?h(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(t,e){return"<"+h(e)}))}catch(t){return h(e)}}function xt(t){try{return decodeURIComponent(t)}catch(t){}}function Et(t){var e={};return E((t||"").split("&"),(function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),-1!==(n=t.indexOf("="))&&(r=t.substring(0,n),i=t.substring(n+1)),L(r=xt(r))&&(i=!L(i)||xt(i),f.call(e,r)?z(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))})),e}function Ct(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 kt=["ng-","data-ng-","ng:","x-ng-"];var At=function(e){var n=e.currentScript;if(!n)return!0;if(!(n instanceof t.HTMLScriptElement||n instanceof t.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.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 Ot(e,n){var r,i,o={};if(E(kt,(function(t){var n=t+"app";!r&&e.hasAttribute&&e.hasAttribute(n)&&(r=e,i=e.getAttribute(n))})),E(kt,(function(t){var n,o=t+"app";!r&&(n=e.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))})),r){if(!At)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,r,i=kt.length;for(r=0;r<i;++r)if(n=kt[r]+e,F(n=t.getAttribute(n)))return n;return null}(r,"strict-di"),n(r,i?[i]:[],o)}}function Mt(e,n,r){_(r)||(r={});r=M({strictDi:!1},r);var i=function(){if((e=a(e)).injector()){var i=e[0]===t.document?"document":wt(e);throw y("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"<").replace(/>/,">"))}(n=n||[]).unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Xe(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply((function(){e.data("$injector",r),n(e)(t)}))}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(t&&o.test(t.name)&&(r.debugInfoEnabled=!0,t.name=t.name.replace(o,"")),t&&!s.test(t.name))return i();t.name=t.name.replace(s,""),b.resumeBootstrap=function(t){return E(t,(function(t){n.push(t)})),i()},G(b.resumeDeferredBootstrap)&&b.resumeDeferredBootstrap()}function Tt(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function Vt(t){var e=b.element(t).injector();if(!e)throw y("test","no injector found for element argument to getTestability");return e.get("$$testability")}var Nt=/[A-Z]/g;function It(t,e){return e=e||"_",t.replace(Nt,(function(t,n){return(n?e:"")+t.toLowerCase()}))}var jt=!1;function Rt(){pe.legacyXHTMLReplacement=!0}function Pt(t,e,n){if(!t)throw y("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function Ut(t,e,n){return n&&z(t)&&(t=t[t.length-1]),Pt(G(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function Dt(t,e){if("hasOwnProperty"===t)throw y("badname","hasOwnProperty is not a valid {0} name",e)}function Lt(t){for(var e,n=t[0],r=t[t.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(e||t[i]!==n)&&(e||(e=a(d.call(t,0,i))),e.push(n));return e||t}function _t(){return Object.create(null)}function qt(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!U(t)||z(t)||B(t)?$t(t):t.toString()}return t}var Ft=3;function Ht(t,e){if(z(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(_(t))for(var i in e=e||{},t)"$"===i.charAt(0)&&"$"===i.charAt(1)||(e[i]=t[i]);return e||t}function Bt(t,e){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):D(t)?"undefined":"string"!=typeof t?function(t,e){var n=[];return r(e)&&(t=b.copy(t,null,e)),JSON.stringify(t,(function(t,e){if(_(e=dt(t,e))){if(n.indexOf(e)>=0)return"...";n.push(e)}return e}))}(t,e):t}var zt={full:"1.8.1",major:1,minor:8,dot:1,codeName:"mutually-supporting"};pe.expando="ng339";var Wt=pe.cache={},Gt=1;pe._data=function(t){return this.cache[t[this.expando]]||{}};var Jt=/-([a-z])/g,Kt=/^-ms-/,Zt={mouseleave:"mouseout",mouseenter:"mouseover"},Yt=i("jqLite");function Xt(t,e){return e.toUpperCase()}function Qt(t){return t.replace(Jt,Xt)}var te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ee=/<|&#?\w+;/,ne=/<([\w:-]+)/,re=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ie={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};ie.tbody=ie.tfoot=ie.colgroup=ie.caption=ie.thead,ie.th=ie.td;var oe={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var ae in ie){var se=ie[ae],ue=se.slice().reverse();oe[ae]=[ue.length,"<"+ue.join("><")+">","</"+se.join("></")+">"]}function ce(t){return!ee.test(t)}function le(t){var e=t.nodeType;return 1===e||!e||9===e}function fe(e,n){var r,i,a,s,u,c=n.createDocumentFragment(),l=[];if(ce(e))l.push(n.createTextNode(e));else{if(r=c.appendChild(n.createElement("div")),i=(ne.exec(e)||["",""])[1].toLowerCase(),s=pe.legacyXHTMLReplacement?e.replace(re,"<$1></$2>"):e,o<10)for(a=oe[i]||oe._default,r.innerHTML=a[1]+s+a[2],u=a[0];u--;)r=r.firstChild;else{for(u=(a=ie[i]||[]).length;--u>-1;)r.appendChild(t.document.createElement(a[u])),r=r.firstChild;r.innerHTML=s}l=ft(l,r.childNodes),(r=c.firstChild).textContent=""}return c.textContent="",c.innerHTML="",E(l,(function(t){c.appendChild(t)})),c}oe.optgroup=oe.option;var he=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};function pe(e){if(e instanceof pe)return e;var n,r,i,o;if(F(e)&&(e=tt(e),n=!0),!(this instanceof pe)){if(n&&"<"!==e.charAt(0))throw Yt("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new pe(e)}n?Se(this,(r=e,i=i||t.document,(o=te.exec(r))?[i.createElement(o[1])]:(o=fe(r,i))?o.childNodes:[])):G(e)?Te(e):Se(this,e)}function de(t){return t.cloneNode(!0)}function $e(t,e){!e&&le(t)&&a.cleanData([t]),t.querySelectorAll&&a.cleanData(t.querySelectorAll("*"))}function ve(t){var e;for(e in t)return!1;return!0}function me(t){var e=t.ng339,n=e&&Wt[e],r=n&&n.events,i=n&&n.data;i&&!ve(i)||r&&!ve(r)||(delete Wt[e],t.ng339=void 0)}function ge(t,e,n,r){if(L(r))throw Yt("offargs","jqLite#off() does not support the `selector` argument");var i=be(t),o=i&&i.events,a=i&&i.handle;if(a){if(e){var s=function(e){var r=o[e];L(n)&&ot(r||[],n),L(n)&&r&&r.length>0||(t.removeEventListener(e,a),delete o[e])};E(e.split(" "),(function(t){s(t),Zt[t]&&s(Zt[t])}))}else for(e in o)"$destroy"!==e&&t.removeEventListener(e,a),delete o[e];me(t)}}function ye(t,e){var n=t.ng339,r=n&&Wt[n];r&&(e?delete r.data[e]:r.data={},me(t))}function be(t,e){var n=t.ng339,r=n&&Wt[n];return e&&!r&&(t.ng339=n=++Gt,r=Wt[n]={events:{},data:{},handle:void 0}),r}function we(t,e,n){if(le(t)){var r,i=L(n),o=!i&&e&&!_(e),a=!e,s=be(t,!o),u=s&&s.data;if(i)u[Qt(e)]=n;else{if(a)return u;if(o)return u&&u[Qt(e)];for(r in e)u[Qt(r)]=e[r]}}}function xe(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Ee(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;E(e.split(" "),(function(t){t=tt(t),r=r.replace(" "+t+" "," ")})),r!==n&&t.setAttribute("class",tt(r))}}function Ce(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;E(e.split(" "),(function(t){t=tt(t),-1===r.indexOf(" "+t+" ")&&(r+=t+" ")})),r!==n&&t.setAttribute("class",tt(r))}}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 r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function ke(t,e){return Ae(t,"$"+(e||"ngController")+"Controller")}function Ae(t,e,n){9===t.nodeType&&(t=t.documentElement);for(var r=z(e)?e:[e];t;){for(var i=0,o=r.length;i<o;i++)if(L(n=a.data(t,r[i])))return n;t=t.parentNode||11===t.nodeType&&t.host}}function Oe(t){for($e(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Me(t,e){e||$e(t);var n=t.parentNode;n&&n.removeChild(t)}function Te(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 Ve=pe.prototype={ready:Te,toString:function(){var t=[];return E(this,(function(e){t.push(""+e)})),"["+t.join(", ")+"]"},eq:function(t){return a(t>=0?this[t]:this[this.length+t])},length:0,push:v,sort:[].sort,splice:[].splice},Ne={};E("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(t){Ne[h(t)]=t}));var Ie={};E("input,select,option,textarea,button,form,details".split(","),(function(t){Ie[t]=!0}));var je={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Re(t,e){var n=Ne[e.toLowerCase()];return n&&Ie[rt(t)]&&n}function Pe(t,e,n){n.call(t,e)}function Ue(t,e,n){var r=e.relatedTarget;r&&(r===t||he.call(t,r))||n.call(t,e)}function De(){this.$get=function(){return M(pe,{hasClass:function(t,e){return t.attr&&(t=t[0]),xe(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),Ce(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),Ee(t,e)}})}}function Le(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var r=typeof t;return n="function"===r||"object"===r&&null!==t?t.$$hashKey=r+":"+(e||k)():r+":"+t}E({data:we,removeData:ye,hasData:function(t){for(var e in Wt[t.ng339])return!0;return!1},cleanData:function(t){for(var e=0,n=t.length;e<n;e++)ye(t[e]),ge(t[e])}},(function(t,e){pe[e]=t})),E({data:we,inheritedData:Ae,scope:function(t){return a.data(t,"$scope")||Ae(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return a.data(t,"$isolateScope")||a.data(t,"$isolateScopeNoTemplate")},controller:ke,injector:function(t){return Ae(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:xe,css:function(t,e,n){if(e=function(t){return Qt(t.replace(Kt,"ms-"))}(e),!L(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var r,i=t.nodeType;if(i!==Ft&&2!==i&&8!==i&&t.getAttribute){var o=h(e),a=Ne[o];if(!L(n))return r=t.getAttribute(e),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?t.removeAttribute(e):t.setAttribute(e,a?o:n)}},prop:function(t,e,n){if(!L(n))return t[e];t[e]=n},text:function(){return t.$dv="",t;function t(t,e){if(D(e)){var n=t.nodeType;return 1===n||n===Ft?t.textContent:""}t.textContent=e}}(),val:function(t,e){if(D(e)){if(t.multiple&&"select"===rt(t)){var n=[];return E(t.options,(function(t){t.selected&&n.push(t.value||t.text)})),n}return t.value}t.value=e},html:function(t,e){if(D(e))return t.innerHTML;$e(t,!0),t.innerHTML=e},empty:Oe},(function(t,e){pe.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==Oe&&D(2===t.length&&t!==xe&&t!==ke?e:n)){if(_(e)){for(r=0;r<o;r++)if(t===we)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}for(var a=t.$dv,s=D(a)?Math.min(o,1):o,u=0;u<s;u++){var c=t(this[u],e,n);a=a?a+c:c}return a}for(r=0;r<o;r++)t(this[r],e,n);return this}})),E({removeData:ye,on:function(t,e,n,r){if(L(r))throw Yt("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(le(t)){var i=be(t,!0),o=i.events,a=i.handle;a||(a=i.handle=function(t,e){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=e[r||n.type],o=i?i.length:0;if(o){if(D(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Pe;o>1&&(i=Ht(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(t,n,i[u])}};return n.elem=t,n}(t,o));for(var s=e.indexOf(" ")>=0?e.split(" "):[e],u=s.length,c=function(e,r,i){var s=o[e];s||((s=o[e]=[]).specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,a)),s.push(n)};u--;)e=s[u],Zt[e]?(c(Zt[e],Ue),c(e,void 0,!0)):c(e)}},off:ge,one:function(t,e,n){(t=a(t)).on(e,(function r(){t.off(e,n),t.off(e,r)})),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;$e(t),E(new pe(e),(function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e}))},children:function(t){var e=[];return E(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 r=0,i=(e=new pe(e)).length;r<i;r++){var o=e[r];t.appendChild(o)}},prepend:function(t,e){if(1===t.nodeType){var n=t.firstChild;E(new pe(e),(function(e){t.insertBefore(e,n)}))}},wrap:function(t,e){var n,r,i;n=t,r=a(e).eq(0).clone()[0],(i=n.parentNode)&&i.replaceChild(r,n),r.appendChild(n)},remove:Me,detach:function(t){Me(t,!0)},after:function(t,e){var n=t,r=t.parentNode;if(r)for(var i=0,o=(e=new pe(e)).length;i<o;i++){var a=e[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Ce,removeClass:Ee,toggleClass:function(t,e,n){e&&E(e.split(" "),(function(e){var r=n;D(r)&&(r=!xe(t,e)),(r?Ce:Ee)(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:de,triggerHandler:function(t,e,n){var r,i,o,a=e.type||e,s=be(t),u=s&&s.events,c=u&&u[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:j,type:a,target:t},e.type&&(r=M(r,e)),i=Ht(c),o=n?[r].concat(n):[r],E(i,(function(e){r.isImmediatePropagationStopped()||e.apply(t,o)})))}},(function(t,e){pe.prototype[e]=function(e,n,r){for(var i,o=0,s=this.length;o<s;o++)D(i)?L(i=t(this[o],e,n,r))&&(i=a(i)):Se(i,t(this[o],e,n,r));return L(i)?i:this}})),pe.prototype.bind=pe.prototype.on,pe.prototype.unbind=pe.prototype.off;var _e=Object.create(null);function qe(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}qe.prototype={_idx:function(t){return t!==this._lastKey&&(this._lastKey=t,this._lastIndex=this._keys.indexOf(t)),this._lastIndex},_transformKey:function(t){return N(t)?_e: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=qe,He=[function(){this.$get=[function(){return Fe}]}],Be=/^([^(]+?)=>/,ze=/^[^(]*\(\s*([^)]*)\)/m,We=/,/,Ge=/^\s*(_?)(\S+?)\1\s*$/,Je=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Ke=i("$injector");function Ze(t){return Function.prototype.toString.call(t)}function Ye(t){var e=Ze(t).replace(Je,"");return e.match(Be)||e.match(ze)}function Xe(t,e){e=!0===e;var n={},r="Provider",i=[],a=new Fe,s={$provide:{provider:d($),factory:d(m),service:d((function(t,e){return m(t,["$injector",function(t){return t.instantiate(e)}])})),value:d((function(t,e){return m(t,P(e),!1)})),constant:d((function(t,e){Dt(t,"constant"),s[t]=e,l[t]=e})),decorator:function(t,e){var n=c.get(t+r),i=n.$get;n.$get=function(){var t=h.invoke(i,n);return h.invoke(e,null,{$delegate:t})}}}},c=s.$injector=y(s,(function(t,e){throw b.isString(e)&&i.push(e),Ke("unpr","Unknown provider: {0}",i.join(" <- "))})),l={},f=y(l,(function(t,e){var n=c.get(t+r,e);return h.invoke(n.$get,n,void 0,t)})),h=f;s.$injectorProvider={$get:P(f)},h.modules=c.modules=_t();var p=g(t);return(h=f.get("$injector")).strictDi=e,E(p,(function(t){t&&h.invoke(t)})),h.loadNewModules=function(t){E(g(t),(function(t){t&&h.invoke(t)}))},h;function d(t){return function(e,n){if(!_(e))return t(e,n);E(e,S(t))}}function $(t,e){if(Dt(t,"service"),(G(e)||z(e))&&(e=c.instantiate(e)),!e.$get)throw Ke("pget","Provider '{0}' must define $get factory method.",t);return s[t+r]=e}function v(t,e){return function(){var n=h.invoke(e,this);if(D(n))throw Ke("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function m(t,e,n){return $(t,{$get:!1!==n?v(t,e):e})}function g(t){Pt(D(t)||z(t),"modulesToLoad","not an array");var e,n=[];return E(t,(function(t){if(!a.get(t)){a.set(t,!0);try{F(t)?(e=u(t),h.modules[t]=e,n=n.concat(g(e.requires)).concat(e._runBlocks),r(e._invokeQueue),r(e._configBlocks)):G(t)||z(t)?n.push(c.invoke(t)):Ut(t,"module")}catch(e){throw z(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Ke("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var r=t[e],i=c.get(r[0]);i[r[1]].apply(i,r[2])}}})),n}function y(t,a){function u(e,r){if(t.hasOwnProperty(e)){if(t[e]===n)throw Ke("cdep","Circular dependency found: {0}",e+" <- "+i.join(" <- "));return t[e]}try{return i.unshift(e),t[e]=n,t[e]=a(e,r),t[e]}catch(r){throw t[e]===n&&delete t[e],r}finally{i.shift()}}function c(t,n,r){for(var i=[],o=Xe.$$annotate(t,e,r),a=0,s=o.length;a<s;a++){var c=o[a];if("string"!=typeof c)throw Ke("itkn","Incorrect injection token! Expected service name as string, got {0}",c);i.push(n&&n.hasOwnProperty(c)?n[c]:u(c,r))}return i}return{invoke:function(t,e,n,r){"string"==typeof n&&(r=n,n=null);var i=c(t,n,r);return z(t)&&(t=t[t.length-1]),function(t){if(o||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return Y(e)||(e=t.$$ngIsClass=/^class\b/.test(Ze(t))),e}(t)?(i.unshift(null),new(Function.prototype.bind.apply(t,i))):t.apply(e,i)},instantiate:function(t,e,n){var r=z(t)?t[t.length-1]:t,i=c(t,e,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:u,annotate:Xe.$$annotate,has:function(e){return s.hasOwnProperty(e+r)||t.hasOwnProperty(e)}}}}function Qe(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function s(t){if(t){t.scrollIntoView();var e=function(){var t=u.yOffset;if(G(t))t=t();else if(nt(t)){var e=t[0];t="fixed"!==n.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom}else H(t)||(t=0);return t}();if(e){var r=t.getBoundingClientRect().top;n.scrollBy(0,r-e)}}else n.scrollTo(0,0)}function u(t){var e,n,i;(t=F(t)?t:H(t)?t.toString():r.hash())?(e=o.getElementById(t))?s(e):(n=o.getElementsByName(t),i=null,Array.prototype.some.call(n,(function(t){if("a"===rt(t))return i=t,!0})),(e=i)?s(e):"top"===t&&s(null)):s(null)}return e&&i.$watch((function(){return r.hash()}),(function(e,n){var r,o;e===n&&""===e||(r=function(){i.$evalAsync(u)},"complete"===(o=o||t).document.readyState?o.setTimeout(r):a(o).on("load",r))})),u}]}Xe.$$annotate=function(t,e,n){var r,i;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw F(n)&&n||(n=t.name||function(t){var e=Ye(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(t)),Ke("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);E(Ye(t)[1].split(We),(function(t){t.replace(Ge,(function(t,e,n){r.push(n)}))}))}t.$inject=r}}else z(t)?(Ut(t[i=t.length-1],"fn"),r=t.slice(0,i)):Ut(t,"fn",!0);return r};var tn=i("$animate"),en="ng-animate";function nn(t,e){return t||e?t?e?(z(t)&&(t=t.join(" ")),z(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function rn(t){return _(t)?t:{}}var on=function(){this.$get=j},an=function(){var t=new Fe,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:j,on:j,off:j,pin:j,push:function(a,s,u,c){c&&c(),(u=u||{}).from&&a.css(u.from),u.to&&a.css(u.to),(u.addClass||u.removeClass)&&function(n,a,s){var u=t.get(n)||{},c=i(u,a,!0),l=i(u,s,!1);(c||l)&&(t.set(n,u),e.push(n),1===e.length&&r.$$postDigest(o))}(a,u.addClass,u.removeClass);var l=new n;return l.complete(),l}};function i(t,e,n){var r=!1;return e&&E(e=F(e)?e.split(" "):z(e)?e:[],(function(e){e&&(r=!0,t[e]=n)})),r}function o(){E(e,(function(e){var n=t.get(e);if(n){var r=function(t){F(t)&&(t=t.split(" "));var e=_t();return E(t,(function(t){t.length&&(e[t]=!0)})),e}(e.attr("class")),i="",o="";E(n,(function(t,e){t!==!!r[e]&&(t?i+=(i.length?" ":"")+e:o+=(o.length?" ":"")+e)})),E(e,(function(t){i&&Ce(t,i),o&&Ee(t,o)})),t.delete(e)}})),e.length=0}}]},sn=["$provide",function(t){var e=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw tn("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.customFilter=function(t){return 1===arguments.length&&(r=G(t)?t:null),r},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,tn("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',en)}return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.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,r,i,o){return r=r&&a(r),i=i&&a(i),e(n,r=r||i.parent(),i),t.push(n,"enter",rn(o))},move:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),e(n,r=r||i.parent(),i),t.push(n,"move",rn(o))},leave:function(e,n){return t.push(e,"leave",rn(n),(function(){e.remove()}))},addClass:function(e,n,r){return(r=rn(r)).addClass=nn(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return(r=rn(r)).removeClass=nn(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return(i=rn(i)).addClass=nn(i.addClass,n),i.removeClass=nn(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return(o=rn(o)).from=o.from?M(o.from,n):n,o.to=o.to?M(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=nn(o.tempClasses,i),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,r,i){function o(t){this.setHost(t);var e=n();this._doneCallbacks=[],this._tick=function(t){r()?function(t){i(t,0,!1)}(t):e(t)},this._state=0}return o.chain=function(t,e){var n=0;!function r(){if(n===t.length)return void e(!0);t[n]((function(t){!1!==t?(n++,r()):e(!1)}))}()},o.all=function(t,e){var n=0,r=!0;function i(i){r=r&&i,++n===t.length&&e(r)}E(t,(function(t){t.done(i)}))},o.prototype={setHost:function(t){this.host=t||{}},done:function(t){2===this._state?t():this._doneCallbacks.push(t)},progress:j,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&&(E(this._doneCallbacks,(function(e){e(t)})),this._doneCallbacks.length=0,this._state=2)}},o}]},ln=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,r){var i=r||{};i.$$prepared||(i=at(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(e.css(i.from),i.from=null);var o,a=new n;return{start:s,end:s};function s(){return t((function(){!function(){i.addClass&&(e.addClass(i.addClass),i.addClass=null);i.removeClass&&(e.removeClass(i.removeClass),i.removeClass=null);i.to&&(e.css(i.to),i.to=null)}(),o||a.complete(),o=!0})),a}}}]};function fn(t,e,n,r,i){var o=this,s=t.location,u=t.history,c=t.setTimeout,l=t.clearTimeout,f={},h=i(n);o.isMock=!1,o.$$completeOutstandingRequest=h.completeTask,o.$$incOutstandingRequestCount=h.incTaskCount,o.notifyWhenNoOutstandingRequests=h.notifyWhenNoPendingTasks;var p,d,$=s.href,v=e.find("base"),m=null,g=r.history?function(){try{return u.state}catch(t){}}:j;C(),o.url=function(e,n,i){if(D(i)&&(i=null),s!==t.location&&(s=t.location),u!==t.history&&(u=t.history),e){var a=d===i;if(e=fi(e).href,$===e&&(!r.history||a))return o;var c=$&&lr($)===lr(e);return $=e,d=i,!r.history||c&&a?(c||(m=e),n?s.replace(e):c?s.hash=function(t){var e=t.indexOf("#");return-1===e?"":t.substr(e)}(e):s.href=e,s.href!==e&&(m=e)):(u[n?"replaceState":"pushState"](i,"",e),C()),m&&(m=e),o}return function(t){return t.replace(/#$/,"")}(m||s.href)},o.state=function(){return p};var y=[],b=!1;function w(){m=null,S()}var x=null;function C(){ut(p=D(p=g())?null:p,x)&&(p=x),x=p,d=p}function S(){var t=d;C(),$===o.url()&&t===p||($=o.url(),d=p,E(y,(function(t){t(o.url(),p)})))}o.onUrlChange=function(e){return b||(r.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=S,o.baseHref=function(){var t=v.attr("href");return t?t.replace(/^(https?:)?\/\/[^/]*/,""):""},o.defer=function(t,e,n){var r;return e=e||0,n=n||h.DEFAULT_TASK_TYPE,h.incTaskCount(n),r=c((function(){delete f[r],h.completeTask(t,n)}),e),f[r]=n,r},o.defer.cancel=function(t){if(f.hasOwnProperty(t)){var e=f[t];return delete f[t],l(t),h.completeTask(j,e),!0}return!1}}function hn(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(t,e,n,r,i){return new fn(t,r,e,n,i)}]}function pn(){this.$get=function(){var t={};function e(e,n){if(e in t)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var r=0,o=M({},n,{id:e}),a=_t(),s=n&&n.capacity||Number.MAX_VALUE,u=_t(),c=null,l=null;return t[e]={put:function(t,e){if(!D(e)){if(s<Number.MAX_VALUE)f(u[t]||(u[t]={key:t}));return t in a||r++,a[t]=e,r>s&&this.remove(l.key),e}},get:function(t){if(s<Number.MAX_VALUE){var e=u[t];if(!e)return;f(e)}return a[t]},remove:function(t){if(s<Number.MAX_VALUE){var e=u[t];if(!e)return;e===c&&(c=e.p),e===l&&(l=e.n),h(e.n,e.p),delete u[t]}t in a&&(delete a[t],r--)},removeAll:function(){a=_t(),r=0,u=_t(),c=l=null},destroy:function(){a=null,o=null,u=null,delete t[e]},info:function(){return M({},o,{size:r})}};function f(t){t!==c&&(l?l===t&&(l=t.n):l=t,h(t.n,t.p),h(t,c),(c=t).n=null)}function h(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}}return e.info=function(){var e={};return E(t,(function(t,n){e[n]=t.info()})),e},e.get=function(e){return t[e]},e}}function dn(){this.$get=["$cacheFactory",function(t){return t("templates")}]}var $n=i("$compile");var vn=new function(){};function mn(e,n){var r={},i="Directive",s=/^\s*directive:\s*([\w-]+)\s+(.*)$/,u=/(([\w-]+)(?::([^;]+))?;?)/,c=function(t){var e,n={},r=t.split(",");for(e=0;e<r.length;e++)n[r[e]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),l=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,p=/^(on[a-z]+|formaction)$/,d=_t();function $(t,e,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=_t();return E(t,(function(t,o){if((t=t.trim())in d)i[o]=d[t];else{var a=t.match(r);if(!a)throw $n("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(d[t]=i[o])}})),i}function v(t,e){var n={isolateScope:null,bindToController:null};if(_(t.scope)&&(!0===t.bindToController?(n.bindToController=$(t.scope,e,!0),n.isolateScope={}):n.isolateScope=$(t.scope,e,!1)),_(t.bindToController)&&(n.bindToController=$(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw $n("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}this.directive=function t(n,o){return Pt(n,"name"),Dt(n,"directive"),F(n)?(!function(t){var e=t.charAt(0);if(!e||e!==h(e))throw $n("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw $n("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}(n),Pt(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],e.factory(n+i,["$injector","$exceptionHandler",function(t,e){var i=[];return E(r[n],(function(r,o){try{var a=t.invoke(r);G(a)?a={compile:P(a)}:!a.compile&&a.link&&(a.compile=P(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(t){var e=t.require||t.controller&&t.name;return!z(e)&&_(e)&&E(e,(function(t,n){var r=t.match(l);t.substring(r[0].length)||(e[n]=r[0]+n)})),e}(a),a.restrict=function(t,e){if(t&&(!F(t)||!/[EACM]/.test(t)))throw $n("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(t){e(t)}})),i}])),r[n].push(o)):E(n,S(t)),this},this.component=function t(e,n){if(!F(e))return E(e,S(pt(this,t))),this;var r=n.controller||function(){};function i(t){function e(e){return G(e)||z(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:kn(n.controller)||n.controllerAs||"$ctrl",template:e(i),templateUrl:e(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return E(n,(function(t,e){"$"===e.charAt(0)&&(o[e]=t)})),o}return E(n,(function(t,e){"$"===e.charAt(0)&&(i[e]=t,G(r)&&(r[e]=t))})),i.$inject=["$injector"],this.directive(e,i)},this.aHrefSanitizationTrustedUrlList=function(t){return L(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 L(t)?(n.imgSrcSanitizationTrustedUrlList(t),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(t){this.imgSrcSanitizationTrustedUrlList=t}});var g=!0;this.debugInfoEnabled=function(t){return L(t)?(g=t,this):g};var y=!1;this.strictComponentBindingsEnabled=function(t){return L(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=_t();this.addPropertySecurityContext=function(t,e,n){var r=t.toLowerCase()+"|"+e.toLowerCase();if(r in C&&C[r]!==n)throw $n("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",t,e,C[r],n);return C[r]=n,this},function(){function t(t,e){E(e,(function(e){C[e.toLowerCase()]=t}))}t(Gr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t(Gr.CSS,["*|style"]),t(Gr.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),t(Gr.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),t(Gr.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,$,S,k,A,O,T){var V,N=/^\w/,P=t.document.createElement("div"),U=w,L=x,q=b;function H(){try{if(!--q)throw V=void 0,$n("infchng","{0} $onChanges() iterations reached. Aborting!\n",b);A.$apply((function(){for(var t=0,e=V.length;t<e;++t)try{V[t]()}catch(t){d(t)}V=void 0}))}finally{q++}}function B(t,e){if(!t)return t;if(!F(t))throw $n("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',e,t.toString());for(var n="",r=tt(t),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),a=Math.floor(o.length/2),s=0;s<a;s++){var u=2*s;n+=O.getTrustedMediaUrl(tt(o[u])),n+=" "+tt(o[u+1])}var c=tt(o[2*s]).split(/\s/);return n+=O.getTrustedMediaUrl(tt(c[0])),2===c.length&&(n+=" "+tt(c[1])),n}function J(t,e){if(e){var n,r,i,o=Object.keys(e);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=e[i]}else this.$attr={};this.$$element=t}function K(t,e){try{t.addClass(e)}catch(t){}}J.prototype={$normalize:wn,$addClass:function(t){t&&t.length>0&&T.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&T.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=xn(t,e);n&&n.length&&T.addClass(this.$$element,n);var r=xn(e,t);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(t,e,n,r){var i=Re(this.$$element[0],t),o=je[t],a=t;i?(this.$$element.prop(t,e),r=i):o&&(this[o]=e,a=o),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=It(t,"-")),"img"===rt(this.$$element)&&"srcset"===t&&(this[t]=e=B(e,"$set('srcset', value)")),!1!==n&&(null===e||D(e)?this.$$element.removeAttr(r):N.test(r)?i&&!1===e?this.$$element.removeAttr(r):this.$$element.attr(r,e):function(t,e,n){P.innerHTML="<span "+e+">";var r=P.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}(this.$$element[0],r,e));var s=this.$$observers;s&&E(s[a],(function(t){try{t(e)}catch(t){d(t)}}))},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=_t()),i=r[t]||(r[t]=[]);return i.push(e),A.$evalAsync((function(){i.$$inter||!n.hasOwnProperty(t)||D(n[t])||e(n[t])})),function(){ot(i,e)}}};var X=n.startSymbol(),Q=n.endSymbol(),et="{{"===X&&"}}"===Q?R:function(t){return t.replace(/\{\{/g,X).replace(/}}/g,Q)},nt=/^ng(Attr|Prop|On)([A-Z].*)$/,it=/^(.+)Start$/;return at.$$addBindingInfo=g?function(t,e){var n=t.data("$binding")||[];z(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:j,at.$$addBindingClass=g?function(t){K(t,"ng-binding")}:j,at.$$addScopeInfo=g?function(t,e,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:j,at.$$addScopeClass=g?function(t,e){K(t,e?"ng-isolate-scope":"ng-scope")}:j,at.$$createComment=function(e,n){var r="";return g&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},at;function at(t,e,n,r,i){t instanceof a||(t=a(t));var o=ct(t,e,t,n,r,i);at.$$addScopeClass(t);var s=null;return function(e,n,r){if(!t)throw $n("multilink","This element has already been linked.");Pt(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new());var u,c,l,f=(r=r||{}).parentBoundTranscludeFn,h=r.transcludeControllers,p=r.futureParentElement;if(f&&f.$$boundTransclude&&(f=f.$$boundTransclude),s||(c=(u=p)&&u[0],s=c&&"foreignobject"!==rt(c)&&m.call(c).match(/SVG/)?"svg":"html"),l="html"!==s?a(Ot(s,a("<div></div>").append(t).html())):n?Ve.clone.call(t):t,h)for(var d in h)l.data("$"+d+"Controller",h[d].instance);return at.$$addScopeInfo(l,e),n&&n(l,e),o&&o(e,l,l,f),n||(t=o=null),l}}function ct(t,e,n,r,i,s){for(var u,c,l,f,h,p,d,$=[],v=z(t)||t instanceof a,m=0;m<t.length;m++)u=new J,11===o&<(t,m,v),(l=(c=dt(t[m],[],u,0===m?r:void 0,i)).length?gt(c,t[m],u,e,n,null,[],[],s):null)&&l.scope&&at.$$addScopeClass(u.$$element),h=l&&l.terminal||!(f=t[m].childNodes)||!f.length?null:ct(f,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:e),(l||h)&&($.push(m,l,h),p=!0,d=d||l),s=null;return p?function(t,n,r,i){var o,s,u,c,l,f,h,p,v;if(d){var m=n.length;for(v=new Array(m),l=0;l<$.length;l+=3)h=$[l],v[h]=n[h]}else v=n;for(l=0,f=$.length;l<f;)u=v[$[l++]],o=$[l++],s=$[l++],o?(o.scope?(c=t.$new(),at.$$addScopeInfo(a(u),c)):c=t,p=o.transcludeOnThisElement?ft(t,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&e?ft(t,e):null,o(s,c,u,r,p)):s&&s(t,u.childNodes,void 0,i)}:null}function lt(t,e,n){var r,i=t[e],o=i.parentNode;if(i.nodeType===Ft)for(;(r=o?i.nextSibling:t[e+1])&&r.nodeType===Ft;)i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===t[e+1]&&t.splice(e+1,1)}function ft(t,e,n){function r(r,i,o,a,s){return r||((r=t.$new(!1,s)).$$transcluded=!0),e(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=_t();for(var o in e.$$slots)e.$$slots[o]?i[o]=ft(t,e.$$slots[o],n):i[o]=null;return r}function dt(t,e,r,i,o){var a,c,l,f=t.nodeType,h=r.$attr;switch(f){case 1:xt(e,wn(c=rt(t)),"E",i,o);for(var p,d,$,v,m,g=t.attributes,y=0,b=g&&g.length;y<b;y++){var w,x=!1,E=!1,C=!1,S=!1,k=!1;d=(p=g[y]).name,v=p.value,(m=($=wn(d.toLowerCase())).match(nt))?(C="Attr"===m[1],S="Prop"===m[1],k="On"===m[1],d=d.replace(yn,"").toLowerCase().substr(4+m[1].length).replace(/_(.)/g,(function(t,e){return e.toUpperCase()}))):(w=$.match(it))&&Et(w[1])&&(x=d,E=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),S||k?(r[$]=v,h[$]=p.name,S?Tt(t,e,$,d):Vt(e,$,d)):(h[$=wn(d.toLowerCase())]=d,!C&&r.hasOwnProperty($)||(r[$]=v,Re(t,$)&&(r[$]=!0)),Nt(t,e,v,$,C),xt(e,$,"A",i,o,x,E))}if("input"===c&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!L)break;if(_(l=t.className)&&(l=l.animVal),F(l)&&""!==l)for(;a=u.exec(l);)xt(e,$=wn(a[2]),"C",i,o)&&(r[$]=tt(a[3])),l=l.substr(a.index+a[0].length);break;case Ft:!function(t,e){var r=n(e,!0);r&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&at.$$addBindingClass(e),function(t,e){var i=e.parent();n||at.$$addBindingClass(i),at.$$addBindingInfo(i,r.expressions),t.$watch(r,(function(t){e[0].nodeValue=t}))}}})}(e,t.nodeValue);break;case 8:if(!U)break;!function(t,e,n,r,i){try{var o=s.exec(t.nodeValue);if(o){var a=wn(o[1]);xt(e,a,"M",r,i)&&(n[a]=tt(o[2]))}}catch(t){}}(t,e,r,i,o)}return e.sort(kt),e}function $t(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw $n("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);1===t.nodeType&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0);else r.push(t);return a(r)}function vt(t,e,n){return function(r,i,o,a,s){return i=$t(i[0],e,n),t(r,i,o,a,s)}}function mt(t,e,n,r,i,o){var a;return t?at(e,n,r,i,o):function(){return a||(a=at(e,n,r,i,o),e=n=o=null),a.apply(this,arguments)}}function gt(e,n,r,i,o,s,u,c,l){l=l||{};for(var f,h,p,$,v,m=-Number.MAX_VALUE,g=l.newScopeDirective,y=l.controllerDirectives,b=l.newIsolateScopeDirective,w=l.templateDirective,x=l.nonTlbTranscludeDirective,C=!1,S=!1,A=l.hasElementTranscludeDirective,O=r.$$element=a(n),T=s,V=i,N=!1,I=!1,j=0,R=e.length;j<R;j++){var P=(f=e[j]).$$start,U=f.$$end;if(P&&(O=$t(n,P,U)),p=void 0,m>f.priority)break;if((v=f.scope)&&(f.templateUrl||(_(v)?(At("new/isolated scope",b||g,f,O),b=f):At("new/isolated scope",b,f,O)),g=g||f),h=f.name,!N&&(f.replace&&(f.templateUrl||f.template)||f.transclude&&!f.$$tlb)){for(var L,q=j+1;L=e[q++];)if(L.transclude&&!L.$$tlb||L.replace&&(L.templateUrl||L.template)){I=!0;break}N=!0}if(!f.templateUrl&&f.controller&&(y=y||_t(),At("'"+h+"' controller",y[h],f,O),y[h]=f),v=f.transclude)if(C=!0,f.$$tlb||(At("transclusion",x,f,O),x=f),"element"===v)A=!0,m=f.priority,p=O,O=r.$$element=a(at.$$createComment(h,r[h])),n=O[0],jt(o,ht(p),n),V=mt(I,p,i,m,T&&T.name,{nonTlbTranscludeDirective:x});else{var F=_t();if(_(v)){p=t.document.createDocumentFragment();var H=_t(),B=_t();for(var W in E(v,(function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,H[t]=e,F[e]=null,B[e]=n})),E(O.contents(),(function(e){var n=H[wn(rt(e))];n?(B[n]=!0,F[n]=F[n]||t.document.createDocumentFragment(),F[n].appendChild(e)):p.appendChild(e)})),E(B,(function(t,e){if(!t)throw $n("reqslot","Required transclusion slot `{0}` was not filled.",e)})),F)if(F[W]){var K=a(F[W].childNodes);F[W]=mt(I,K,i)}p=a(p.childNodes)}else p=a(de(n)).contents();O.empty(),(V=mt(I,p,i,void 0,void 0,{needsNewScope:f.$$isolateScope||f.$$newScope})).$$slots=F}if(f.template)if(S=!0,At("template",w,f,O),w=f,v=G(f.template)?f.template(O,r):f.template,v=et(v),f.replace){if(T=f,p=ce(v)?[]:En(Ot(f.templateNamespace,tt(v))),n=p[0],1!==p.length||1!==n.nodeType)throw $n("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h,"");jt(o,O,n);var Y={$attr:{}},X=dt(n,[],Y),Q=e.splice(j+1,e.length-(j+1));(b||g)&&bt(X,b,g),e=e.concat(X).concat(Q),Ct(r,Y),R=e.length}else O.html(v);if(f.templateUrl)S=!0,At("template",w,f,O),w=f,f.replace&&(T=f),ot=St(e.splice(j,e.length-j),O,r,o,C&&V,u,c,{controllerDirectives:y,newScopeDirective:g!==f&&g,newIsolateScopeDirective:b,templateDirective:w,nonTlbTranscludeDirective:x}),R=e.length;else if(f.compile)try{$=f.compile(O,r,V);var nt=f.$$originalDirective||f;G($)?it(null,pt(