@angular-wave/angular.ts 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -15
- package/dist/angular-ts.esm.js +1 -1
- package/dist/angular-ts.umd.js +1 -1
- package/package.json +1 -1
- package/src/core/compile.js +0 -26
- package/src/exts/messages.md +30 -30
- package/test/ng/compile.spec.js +43 -61
- package/test/ng/directive/init.spec.js +1 -1
package/dist/angular-ts.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";const t="ng-valid",e="ng-invalid",n="ng-pristine",r="ng-dirty",i="ng-untouched",o="ng-touched",s="ng-empty",a="ng-not-empty",l=/^((?:x|data)[:\-_])/i,c=/[:\-_]+(.)/g,u={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"},h=mt("ng");let d=0;function p(){return d+=1,d}function f(t){return v(t)?t.toLowerCase():t}function $(t){if(null==t||k(t))return!1;if(x(t)||v(t))return!0;const e="length"in Object(t)&&t.length;return w(e)&&(e>=0&&e-1 in t||"function"==typeof t.item)}function m(t){return void 0===t}function g(t){return void 0!==t}function y(t){return null!==t&&"object"==typeof t}function v(t){return"string"==typeof t}function w(t){return"number"==typeof t}function b(t){return"[object Date]"===toString.call(t)}function x(t){return Array.isArray(t)||t instanceof Array}function C(t){switch(toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function E(t){return"function"==typeof t}function O(t){return"[object RegExp]"===toString.call(t)}function k(t){return t&&t.window===t}function S(t){return t&&t.$evalAsync&&t.$watch}function A(t){return"boolean"==typeof t}function N(t){return t&&E(t.then)}function T(t){return v(t)?t.trim():t}function M(t,e){const n=e;return t.replace(/[A-Z]/g,((t,e)=>(e?n:"")+t.toLowerCase()))}function D(t,e,n){let r,i;if(t)if(E(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&e.call(n,t[r],r,t);else if(x(t)||$(t)){const 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!==D)t.forEach(e,n,t);else if(null===(o=t)||"object"!=typeof o||Object.getPrototypeOf(o))for(r in t)Object.hasOwnProperty.call(t,r)&&e.call(n,t[r],r,t);else for(r in t)e.call(n,t[r],r,t);var o;return t}function V(t,e,n){const r=Object.keys(t).sort();return r.forEach((r=>e.call(n,t[r],r))),r}function j(t){return function(e,n){t(n,e)}}function P(t,e,n){const r=t.$$hashKey;for(let r=0,i=e.length;r<i;++r){const i=e[r];if(!y(i)&&!E(i))continue;const o=Object.keys(i);for(let e=0,r=o.length;e<r;e++){const r=o[e],s=i[r];n&&y(s)?b(s)?t[r]=new Date(s.valueOf()):O(s)?t[r]=new RegExp(s):s.nodeName?t[r]=s.cloneNode(!0):B(s)?t[r]=s[0].cloneNode(!0):"__proto__"!==r&&(y(t[r])||(t[r]=x(s)?[]:{}),P(t[r],[s],!0)):t[r]=s}}return function(t,e){e?t.$$hashKey=e:delete t.$$hashKey}(t,r),t}function L(t){return P(t,[].slice.call(arguments,1),!1)}function I(t){return P(t,Array.prototype.slice.call(arguments,1),!0)}function R(t){return parseInt(t,10)}function _(t){return Number.isNaN(t)}function U(t,e){return L(Object.create(t),e)}function q(t){return t}function F(t){return function(){return t}}function H(t){return E(t.toString)&&t.toString!==toString}function B(t){return!(!t||!(t.nodeName||t.attr&&t.find))}function z(t){return f(t.nodeName||t[0]&&t[0].nodeName)}function W(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function G(t,e){const n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function K(t,e){return t===e||t!=t&&e!=e}function Z(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;const n=typeof t;let r,i,o;if(n===typeof e&&"object"===n){if(!x(t)){if(b(t))return!!b(e)&&K(t.getTime(),e.getTime());if(O(t))return!!O(e)&&t.toString()===e.toString();if(S(t)||S(e)||k(t)||k(e)||x(e)||b(e)||O(e))return!1;for(i in o=Y(),t)if("$"!==i.charAt(0)&&!E(t[i])){if(!Z(t[i],e[i]))return!1;o[i]=!0}for(i in e)if(!(i in o)&&"$"!==i.charAt(0)&&g(e[i])&&!E(e[i]))return!1;return!0}if(!x(e))return!1;if((r=t.length)===e.length){for(i=0;i<r;i++)if(!Z(t[i],e[i]))return!1;return!0}}return!1}const J={};function X(t,e){if("hasOwnProperty"===t)throw h("badname","hasOwnProperty is not a valid {0} name",e)}function Y(){return Object.create(null)}function Q(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=`${t}`;break;default:t=!H(t)||x(t)||b(t)?it(t):t.toString()}return t}function tt(t,e,n){return t.concat(Array.prototype.slice.call(e,n))}function et(t,e){return Array.prototype.slice.call(t,e||0)}function nt(t,e){const n=arguments.length>2?et(arguments,2):[];return!E(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,tt(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function rt(t,e){let n=e;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?n=void 0:k(e)?n="$WINDOW":e&&window.document===e?n="$DOCUMENT":S(e)&&(n="$SCOPE"),n}function it(t,e){if(!m(t))return w(e)||(e=e?2:null),JSON.stringify(t,rt,e)}function ot(t){return v(t)?JSON.parse(t):t}function st(t,e,n){const r=t.getTimezoneOffset(),i=function(t,e){const n=Date.parse(`Jan 01, 1970 00:00:00 ${t}`)/6e4;return _(n)?e:n}(e,r);return function(t,e){const n=new Date(t.getTime());return n.setMinutes(n.getMinutes()+e),n}(t,1*(i-r))}function at(t){const e={};return(t||"").split("&").forEach((t=>{let n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),-1!==n&&(r=t.substring(0,n),i=t.substring(n+1)),r=lt(r),g(r)&&(i=!g(i)||lt(i),Object.hasOwnProperty.call(e,r)?x(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))})),e}function lt(t){try{return decodeURIComponent(t)}catch(t){}}function ct(t){return ut(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ut(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":"+")}const ht=["ng-","data-ng-","ng:","x-ng-"];function dt(t,e){if(x(t)){e=e||[];for(let n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(y(t)){e=e||{};for(const n in t)n.startsWith("$")&&"$"===n.charAt(1)||(e[n]=t[n])}return e||t}function pt(t,e,n){if(!t)throw h("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ft(t,e,n){return n&&x(t)&&(t=t[t.length-1]),pt(E(t),e,`not a function, got ${t&&"object"==typeof t?t.constructor.name||"Object":typeof t}`),t}const $t={};function mt(t){const e='https://errors.angularjs.org/"NG_VERSION_FULL"/',n=`${e.replace(".","\\.")}[\\s\\S]*`,r=new RegExp(n,"g");return function(){const n=arguments[0],i=arguments[1];let o=`[${t?`${t}:`:""}${n}] `;const s=et(arguments,2).map((t=>gt(t)));let a,l;if(o+=i.replace(/\{\d+\}/g,(t=>{const e=+t.slice(1,-1);return e<s.length?s[e].replace(r,""):t})),o+=`\n${e}${t?`${t}/`:""}${n}`,$t.urlErrorParamsEnabled)for(l=0,a="?";l<s.length;l++,a="&")o+=`${a}p${l}=${encodeURIComponent(s[l])}`;return new Error(o)}}function gt(t){if("function"==typeof t)return t.toString().replace(/ \{[\s\S]*$/,"");if(m(t))return"undefined";if("string"!=typeof t){const e=[];let n=structuredClone(t);return JSON.stringify(n,((t,n)=>{const r=rt(t,n);if(y(r)){if(e.indexOf(r)>=0)return"...";e.push(r)}return r}))}return t}function yt(t){const e=t&&t.$$hashKey;if(e)return"function"==typeof e?t.$$hashKey():e;const n=typeof t;return"function"===n||"object"===n&&null!==t?(t.$$hashKey=`${n}:${p()}`,t.$$hashKey):`${n}:${t}`}function vt(t,e){return t||e?t?e?(x(t)&&(t=t.join(" ")),x(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function wt(t){return t.replace(l,"").replace(c,((t,e,n)=>n?e.toUpperCase():e))}const bt="ngId",xt=new Proxy(new Map,{get:(t,e,n)=>"size"===e?t.size:"function"==typeof t[e]?function(...n){return t[e].apply(t,n)}:Reflect.get(t,e,n),set:(t,e,n,r)=>Reflect.set(t,e,n,r),deleteProperty:(t,e)=>Reflect.deleteProperty(t,e),has:(t,e)=>Reflect.has(t,e),ownKeys:t=>Reflect.ownKeys(t),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t,e)});let Ct=1;const Et=/-([a-z])/g,Ot=/_([a-z])/g,kt={mouseleave:"mouseout",mouseenter:"mouseover"},St=mt("jqLite");function At(t,e){return e.toUpperCase()}function Nt(t){return t.replace(Et,At)}function Tt(t){return t.replace(Ot,At)}const Mt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Dt=/<([\w:-]+)/,Vt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};function jt(t){return!/<|&#?\w+;/.test(t)}function Pt(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_NODE:case void 0:return!0;default:return!1}}function Lt(t,e){let n,r,i,o;const s=e.createDocumentFragment();let a,l=[];if(jt(t))l.push(e.createTextNode(t));else{for(n=s.appendChild(e.createElement("div")),r=(Dt.exec(t)||["",""])[1].toLowerCase(),o=t,i=Vt[r]||[],a=i.length;--a>-1;)n.appendChild(window.document.createElement(i[a])),n=n.firstChild;n.innerHTML=o,l=tt(l,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",D(l,(t=>{s.appendChild(t)})),s}Vt.tbody=Vt.tfoot=Vt.colgroup=Vt.caption=Vt.thead,Vt.th=Vt.td;const It=window.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};function Rt(t){if(t instanceof Rt)return t;let e;if(v(t)&&(t=T(t),e=!0),!(this instanceof Rt)){if(e&&"<"!==t.charAt(0))throw St("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Rt(t)}if(e){Wt(this,function(t,e){let n;return e=e||window.document,(n=Mt.exec(t))?[e.createElement(n[1])]:(n=Lt(t,e))?n.childNodes:[]}(t))}else E(t)?Xt(t):Wt(this,t)}var _t=Rt;function Ut(t,e){t&&(!e&&Pt(t)&&ee([t]),t.querySelectorAll&&ee(t.querySelectorAll("*")))}function qt(t){const e=t[bt],{events:n,data:r}=xt.get(e);r&&Object.keys(r).length||n&&Object.keys(n).length||(xt.delete(e),t[bt]=void 0)}function Ft(t,e,n,r){if(g(r))throw St("offargs","jqLite#off() does not support the `selector` argument");const i=Bt(t),o=i&&i.events,s=i&&i.handle;if(s){if(e){const r=function(e){const r=o[e];g(n)&&x(r)&&G(r,n),g(n)&&r&&r.length>0||(t.removeEventListener(e,s),delete o[e])};D(e.split(" "),(t=>{r(t),kt[t]&&r(kt[t])}))}else for(e in o)"$destroy"!==e&&t.removeEventListener(e,s),delete o[e];qt(t)}}function Ht(t,e){const n=t[bt],r=n&&xt.get(n);r&&(e?delete r.data[e]:r.data={},qt(t))}function Bt(t,e=!1){let n=t[bt],r=n&&xt.get(n);return e&&!r&&(t[bt]=n=++Ct,r={events:{},data:{},handle:null},xt.set(n,r)),r}function zt(t,e,n){if(Pt(t)){let r;const i=g(n),o=!i&&e&&!y(e),s=!e,a=Bt(t,!o),l=a&&a.data;if(i)l[Nt(e)]=n;else{if(s)return l;if(o)return l&&l[Nt(e)];for(r in e)l[Nt(r)]=e[r]}}}function Wt(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{const{length:n}=e;if("number"==typeof n&&e.window!==e){if(n)for(let r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function Gt(t,e){return Kt(t,`$${e||"ngController"}Controller`)}function Kt(t,e,n){t.nodeType===Node.DOCUMENT_NODE&&(t=t.documentElement);const r=x(e)?e:[e];for(;t;){for(let e=0,i=r.length;e<i;e++)if(g(n=zt(t,r[e])))return n;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function Zt(t){for(Ut(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Jt(t,e){e||Ut(t);const n=t.parentNode;n&&n.removeChild(t)}function Xt(t){function e(){window.document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),t()}"complete"===window.document.readyState?window.setTimeout(t):(window.document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}_t.CACHE=xt,Rt.prototype={ready:Xt,toString(){const t=[];return D(this,(e=>{t.push(`${e}`)})),`[${t.join(", ")}]`},eq(t){return _t(t>=0?this[t]:this[this.length+t])},length:0,push:[].push,sort:[].sort,splice:[].splice};const Yt={};"multiple,selected,checked,disabled,readOnly,required,open".split(",").forEach((t=>{Yt[f(t)]=t}));const Qt={};function te(t,e){const n=Yt[e.toLowerCase()];return n&&Qt[z(t)]&&n}function ee(t){for(let n=0,r=t.length;n<r;n++){var e=(xt.get(t[n][bt])||{}).events;e&&e.$destroy&&_t(t[n]).triggerHandler("$destroy"),Ht(t[n]),Ft(t[n])}}function ne(t,e,n){n.call(t,e)}function re(t,e,n){const r=e.relatedTarget;r&&(r===t||It.call(t,r))||n.call(t,e)}function ie(t){const e=_t(t)[0].cloneNode(!0),n=_t(e).empty();var r=_t("<div></div>").append(n).html();try{return n[0].nodeType===Node.TEXT_NODE?f(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(t,e){return"<"+f(e)}))}catch(t){return f(r)}}function oe(t){let e=t[0];const n=t[t.length-1];let r;for(let i=1;e!==n&&(e=e.nextSibling);i++)(r||t[i]!==e)&&(r||(r=_t(Array.prototype.slice.call(t,0,i))),r.push(e));return r||t}"input,select,option,textarea,button,form,details".split(",").forEach((t=>{Qt[t]=!0})),D({data:zt,removeData:Ht,cleanData:ee},((t,e)=>{Rt[e]=t})),D({data:zt,inheritedData:Kt,scope:t=>zt(t,"$scope")||Kt(t.parentNode||t,["$isolateScope","$scope"]),isolateScope:t=>zt(t,"$isolateScope")||zt(t,"$isolateScopeNoTemplate"),controller:Gt,injector:t=>Kt(t,"$injector"),attr(t,e,n){let r;const{nodeType:i}=t;if(i===Node.TEXT_NODE||i===Node.ATTRIBUTE_NODE||i===Node.COMMENT_NODE||!t.getAttribute)return;const o=f(e),s=Yt[o];if(!g(n))return r=t.getAttribute(e),s&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&s?t.removeAttribute(e):t.setAttribute(e,s?o:n)},text:function(){return t.$dv="",t;function t(t,e){if(m(e)){const{nodeType:e}=t;return e===Node.ELEMENT_NODE||e===Node.TEXT_NODE?t.textContent:""}t.textContent=e}}(),val(t,e){if(m(e)){if(t.multiple&&"select"===z(t)){const e=[];return D(t.options,(t=>{t.selected&&e.push(t.value||t.text)})),e}return t.value}t.value=e},html(t,e){if(m(e))return t.innerHTML;Ut(t,!0),t.innerHTML=e},empty:Zt},((t,e)=>{Rt.prototype[e]=function(e,n){let r,i;const o=this.length;if(t!==Zt&&m(2===t.length&&t!==Gt?e:n)){if(y(e)){for(r=0;r<o;r++)if(t===zt)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}let s=t.$dv;const a=m(s)?Math.min(o,1):o;for(let r=0;r<a;r++){const i=t(this[r],e,n);s=s?s+i:i}return s}for(r=0;r<o;r++)t(this[r],e,n);return this}})),D({removeData:Ht,on:(t,e,n,r)=>{if(g(r))throw St("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(!Pt(t))return;const i=Bt(t,!0),{events:o}=i;let{handle:s}=i;s||(s=i.handle=function(t,e){const n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};let i=e[r||n.type];const o=i?i.length:0;if(!o)return;if(m(n.immediatePropagationStopped)){const t=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),t&&t.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};const s=i.specialHandlerWrapper||ne;o>1&&(i=dt(i));for(let e=0;e<o;e++)n.isImmediatePropagationStopped()||s(t,n,i[e])};return n.elem=t,n}(t,o));const a=e.indexOf(" ")>=0?e.split(" "):[e];let l=a.length;const c=function(e,r,i){let a=o[e];a||(a=o[e]=[],a.specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,s)),a.push(n)};for(;l--;)e=a[l],kt[e]?(c(kt[e],re),c(e,void 0,!0)):c(e)},off:Ft,replaceWith(t,e){let n;const r=t.parentNode;Ut(t),D(new Rt(e),(e=>{n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e}))},children:t=>Array.from(t.childNodes).filter((t=>t.nodeType===Node.ELEMENT_NODE)),append(t,e){const{nodeType:n}=t;if(n===Node.ELEMENT_NODE||n===Node.DOCUMENT_FRAGMENT_NODE)for(let n=0,r=(e=new Rt(e)).length;n<r;n++){const r=e[n];t.appendChild(r)}},prepend(t,e){if(t.nodeType===Node.ELEMENT_NODE){const n=t.firstChild;D(new Rt(e),(e=>{t.insertBefore(e,n)}))}},remove:Jt,detach(t){Jt(t,!0)},after(t,e){let n=t;const r=t.parentNode;if(r)for(let t=0,i=(e=new Rt(e)).length;t<i;t++){const i=e[t];r.insertBefore(i,n.nextSibling),n=i}},parent(t){const e=t.parentNode;return e&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?e:null},find:(t,e)=>t.getElementsByTagName?t.getElementsByTagName(e):[],triggerHandler(t,e,n){let r,i,o;const s=e.type||e,a=Bt(t),l=a&&a.events,c=l&&l[s];c&&(r={preventDefault(){this.defaultPrevented=!0},isDefaultPrevented(){return!0===this.defaultPrevented},stopImmediatePropagation(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped(){return!0===this.immediatePropagationStopped},stopPropagation:()=>{},type:s,target:t},e.type&&(r=L(r,e)),i=dt(c),o=n?[r].concat(n):[r],D(i,(e=>{r.isImmediatePropagationStopped()||e.apply(t,o)})))}},((t,e)=>{Rt.prototype[e]=function(e,n,r){let i;for(let o=0,s=this.length;o<s;o++)m(i)?(i=t(this[o],e,n,r),g(i)&&(i=_t(i))):Wt(i,t(this[o],e,n,r));return g(i)?i:this}}));var se=/^([^(]+?)=>/,ae=/^[^(]*\(\s*([^)]*)\)/m,le=/,/,ce=/^\s*(_?)(\S+?)\1\s*$/,ue=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,he=mt("$injector");function de(t){return Function.prototype.toString.call(t)}function pe(t){var e=de(t).replace(ue,"");return e.match(se)||e.match(ae)}function fe(t,e,n){var r,i;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw v(n)&&n||(n=t.name||function(t){var e=pe(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(t)),he("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);D(pe(t)[1].split(le),(function(t){t.replace(ce,(function(t,e,n){r.push(n)}))}))}t.$inject=r}}else x(t)?(ft(t[i=t.length-1],"fn"),r=t.slice(0,i)):ft(t,"fn",!0);return r}const $e="Provider",me={};function ge(t,e){if(g(e)&&!A(e))throw he("strictDi must be boolean");e=!!e;const n=[],r=new Map,i={$provide:{provider:u(h),factory:u(p),service:u((function(t,e){return p(t,["$injector",function(t){return t.instantiate(e)}])})),value:u((function(t,e){return p(t,F(e),!1)})),constant:u((function(t,e){X(t,"constant"),i[t]=e,s[t]=e})),decorator:function(t,e){const n=o.get(t+$e),r=n.$get;n.$get=function(){const t=l.invoke(r,n);return l.invoke(e,null,{$delegate:t})}}}},o=i.$injector=$(i,(function(t,e){throw v(e)&&n.push(e),he("unpr","Unknown provider: {0}",n.join(" <- "))})),s={};let a=$(s,((t,e)=>{const n=o.get(t+$e,e);return l.invoke(n.$get,n,void 0,t)}));i["$injector"+$e]={$get:F(a)};let l=a;l.modules=o.modules=Y();var c=f(t);return l=a.get("$injector"),l.strictDi=e,c.forEach((t=>{t&&l.invoke(t)})),l.loadNewModules=function(t){f(t).forEach((t=>{t&&l.invoke(t)}))},l;function u(t){return function(e,n){if(!y(e))return t(e,n);D(e,j(t))}}function h(t,e){if(X(t,"service"),(E(e)||x(e))&&(e=o.instantiate(e)),!e.$get)throw he("pget","Provider '{0}' must define $get factory method.",t);return i[t+$e]=e}function d(t,e){return function(){const n=l.invoke(e,this);if(m(n))throw he("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function p(t,e,n){return h(t,{$get:!1!==n?d(t,e):e})}function f(t){pt(m(t)||x(t),"modulesToLoad","not an array");let e,n=[];return D(t,(t=>{if(!r.get(t)){r.set(t,!0);try{v(t)?(e=window.angular.module(t),l.modules[t]=e,n=n.concat(f(e.requires)).concat(e._runBlocks),i(e._invokeQueue),i(e._configBlocks)):E(t)||x(t)?n.push(o.invoke(t)):ft(t,"module")}catch(e){throw x(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=`${e.message}\n${e.stack}`),he("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function i(t){t.forEach((t=>{const e=o.get(t[0]);e[t[1]].apply(e,t[2])}))}})),n}function $(t,r){function o(e,i){if(Object.prototype.hasOwnProperty.call(t,e)){if(t[e]===me)throw he("cdep","Circular dependency found: {0}",`${e} <- ${n.join(" <- ")}`);return t[e]}try{return n.unshift(e),t[e]=me,t[e]=r(e,i),t[e]}catch(n){throw t[e]===me&&delete t[e],n}finally{n.shift()}}function s(t,n,r){const i=[],s=fe(t,e,r);for(let t=0,{length:e}=s;t<e;t++){const e=s[t];if("string"!=typeof e)throw he("itkn","Incorrect injection token! Expected service name as string, got {0}",e);i.push(n&&Object.prototype.hasOwnProperty.call(n,e)?n[e]:o(e,r))}return i}return{invoke:function(t,e,n,r){"string"==typeof n&&(r=n,n=null);const i=s(t,n,r);return x(t)&&(t=t[t.length-1]),function(t){let e=t.$$ngIsClass;return A(e)||(e=t.$$ngIsClass=/^class\b/.test(de(t))),e}(t)?(i.unshift(null),new(Function.prototype.bind.apply(t,i))):t.apply(e,i)},instantiate:function(t,e,n){const r=x(t)?t[t.length-1]:t,i=s(t,e,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:o,annotate:fe,has:function(e){const n=Object.prototype.hasOwnProperty.call(i,e+$e),r=Object.prototype.hasOwnProperty.call(t,e);return n||r}}}}ge.$$annotate=fe;const ye=mt("ng"),ve={};function we(t){let e,n;const r={};ht.forEach((r=>{const i=`${r}app`;!e&&t.hasAttribute&&t.hasAttribute(i)&&(e=t,n=t.getAttribute(i))})),ht.forEach((r=>{const i=`${r}app`;let o;!e&&(o=t.querySelector(`[${i.replace(":","\\:")}]`))&&(e=o,n=o.getAttribute(i))})),e&&(r.strictDi=null!==function(t,e){let n,r;const i=ht.length;for(r=0;r<i;++r)if(n=ht[r]+e,v(n=t.getAttribute(n)))return n;return null}(e,"strict-di"),window.angular.bootstrap(e,n?[n]:[],r))}function be(t){var e;return y(t)&&(g(t.objectMaxDepth)&&($t.objectMaxDepth=w(e=t.objectMaxDepth)&&e>0?t.objectMaxDepth:NaN),g(t.urlErrorParamsEnabled)&&A(t.urlErrorParamsEnabled)&&($t.urlErrorParamsEnabled=t.urlErrorParamsEnabled)),$t}const xe=mt("$controller"),Ce=/^(\S+)(\s+as\s+([\w$]+))?$/;function Ee(t,e){if(v(t)){const e=Ce.exec(t);if(e)return e[3]}}function Oe(){const t={};this.has=function(e){return Object.prototype.hasOwnProperty.call(t,e)},this.register=function(e,n){X(e,"controller"),y(e)?L(t,e):t[e]=n},this.$get=["$injector",function(e){return function(r,i,o,s){let a,l,c,u;if(o=!0===o,s&&v(s)&&(u=s),v(r)){if(l=r.match(Ce),!l)throw xe("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=l[1],u=u||l[3],!(r=Object.prototype.hasOwnProperty.call(t,c)?t[c]:function(t,e,n){if(!e)return t;const r=e.split(".");let i;const o=r.length;for(let e=0;e<o;e++)i=r[e],t&&(t=t[i]);return t}(i.$scope,c)))throw xe("ctrlreg","The controller with the name '{0}' is not registered.",c);ft(r,c,!0)}if(o){const t=(x(r)?r[r.length-1]:r).prototype;return a=Object.create(t||null),u&&n(i,u,a,c||r.name),L((()=>{const t=e.invoke(r,a,i,c);return t!==a&&(y(t)||E(t))&&(a=t,u&&n(i,u,a,c||r.name)),a}),{instance:a,identifier:u})}return a=e.instantiate(r,i,c),u&&n(i,u,a,c||r.name),a};function n(t,e,n,r){if(!t||!y(t.$scope))throw mt("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,e);t.$scope[e]=n}}]}const ke=window.document.createElement("a"),Se=Ne(window.location.href);let Ae;function Ne(t){if(!v(t))return t;const e=t;ke.setAttribute("href",e);let{hostname:n}=ke;return!("[::1]"===ke.hostname)&&n.indexOf(":")>-1&&(n=`[${n}]`),{href:ke.href,protocol:ke.protocol?ke.protocol.replace(/:$/,""):"",host:ke.host,search:ke.search?ke.search.replace(/^\?/,""):"",hash:ke.hash?ke.hash.replace(/^#/,""):"",hostname:n,port:ke.port,pathname:"/"===ke.pathname.charAt(0)?ke.pathname:`/${ke.pathname}`}}function Te(t){return Me(t,function(){if(window.document.baseURI)return window.document.baseURI;Ae||(Ae=window.document.createElement("a"),Ae.href=".",Ae=Ae.cloneNode(!1));return Ae.href}())}function Me(t,e){return t=Ne(t),e=Ne(e),t.protocol===e.protocol&&t.host===e.host}ke.href="http://[::1]";const De=mt("$sce"),Ve={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function je(t){if("self"===t)return t;if(v(t)){if(t.indexOf("***")>-1)throw De("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=(e=t,e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp(`^${t}$`)}var e;if(O(t))return new RegExp(`^${t.source}$`);throw De("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Pe(){this.SCE_CONTEXTS=Ve;let t=["self"],e=[];this.trustedResourceUrlList=function(e){return arguments.length&&(t=e.map((t=>je(t)))),t},this.bannedResourceUrlList=function(t){return arguments.length&&(e=t.map((t=>je(t)))),e},this.$get=["$injector","$$sanitizeUri",function(n,r){let i=function(){throw De("unsafe","Attempting to use an unsafe value in a safe context.")};function o(t,e){return"self"===t?Me(e,Se)||Te(e):!!t.exec(e.href)}function s(t){const 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}n.has("$sanitize")&&(i=n.get("$sanitize"));const a=s(),l={};return l[Ve.HTML]=s(a),l[Ve.CSS]=s(a),l[Ve.MEDIA_URL]=s(a),l[Ve.URL]=s(l[Ve.MEDIA_URL]),l[Ve.JS]=s(a),l[Ve.RESOURCE_URL]=s(l[Ve.URL]),{trustAs:function(t,e){const n=Object.prototype.hasOwnProperty.call(l,t)?l[t]:null;if(!n)throw De("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||m(e)||""===e)return e;if("string"!=typeof e)throw De("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)},getTrusted:function(n,s){if(null===s||m(s)||""===s)return s;const a=Object.prototype.hasOwnProperty.call(l,n)?l[n]:null;if(a&&s instanceof a)return s.$$unwrapTrustedValue();if(E(s.$$unwrapTrustedValue)&&(s=s.$$unwrapTrustedValue()),n===Ve.MEDIA_URL||n===Ve.URL)return r(s.toString(),n===Ve.MEDIA_URL);if(n===Ve.RESOURCE_URL){if(function(n){const r=Ne(n.toString());let i,s,a=!1;for(i=0,s=t.length;i<s;i++)if(o(t[i],r)){a=!0;break}if(a)for(i=0,s=e.length;i<s;i++)if(o(e[i],r)){a=!1;break}return a}(s))return s;throw De("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",s.toString())}if(n===Ve.HTML)return i(s);throw De("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(t){return t instanceof a?t.$$unwrapTrustedValue():t}}}]}function Le(){let t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){const r=dt(Ve);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=function(t){return t}),r.parseAs=function(t,n){const i=e(n);return i.literal&&i.constant?i:e(n,(e=>r.getTrusted(t,e)))};const i=r.parseAs,{getTrusted:o}=r,{trustAs:s}=r;return D(Ve,((t,e)=>{const n=f(e);r[Tt(`parse_as_${n}`)]=function(e){return i(t,e)},r[Tt(`get_trusted_${n}`)]=function(e){return o(t,e)},r[Tt(`trust_as_${n}`)]=function(e){return s(t,e)}})),r}]}const Ie={},Re={blur:!0,focus:!0};function _e(t,e,n,r,i,o){return{restrict:"A",compile(s,a){const l=t(a[r]);return function(t,r){r.on(i,(r=>{const i=function(){l(t,{$event:r})};if(e.$$phase)if(o)t.$evalAsync(i);else try{i()}catch(t){n(t)}else t.$apply(i)}))}}}}"click dblclick submit focus blur copy cut paste".split(" ").forEach((t=>{const e=wt(`ng-${t}`);Ie[e]=["$parse","$rootScope","$exceptionHandler",(n,r,i)=>_e(n,r,i,e,t,Re[t])]}));const Ue=mt("$compile"),qe=new Object;let Fe=10;function He(t,e){const n={},r="Directive",i={ngSrc:!0,ngSrcset:!0,src:!0,srcset:!0},o=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,s=/^(on[a-z]+|formaction)$/,a=Y();function c(t,e,n){const r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=Y();return D(t,((t,o)=>{if((t=t.trim())in a)return void(i[o]=a[t]);const s=t.match(r);if(!s)throw Ue("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o},s[4]&&(a[t]=i[o])})),i}function h(t,e){const n={isolateScope:null,bindToController:null};if(y(t.scope)&&(!0===t.bindToController?(n.bindToController=c(t.scope,e,!0),n.isolateScope={}):n.isolateScope=c(t.scope,e,!1)),y(t.bindToController)&&(n.bindToController=c(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw Ue("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}this.directive=function e(i,s){return pt(i,"name"),X(i,"directive"),v(i)?(!function(t){const e=t.charAt(0);if(!e||e!==f(e))throw Ue("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw Ue("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}(i),pt(s,"directiveFactory"),Object.prototype.hasOwnProperty.call(n,i)||(n[i]=[],t.factory(i+r,["$injector","$exceptionHandler",function(t,e){const r=[];return D(n[i],((n,s)=>{try{let e=t.invoke(n);E(e)?e={compile:F(e)}:!e.compile&&e.link&&(e.compile=F(e.link)),e.priority=e.priority||0,e.index=s,e.name=e.name||i,e.require=function(t){const e=t.require||t.controller&&t.name;return!x(e)&&y(e)&&D(e,((t,n)=>{const r=t.match(o);t.substring(r[0].length)||(e[n]=r[0]+n)})),e}(e),e.restrict=function(t,e){if(t&&(!v(t)||!/[EA]/.test(t)))throw Ue("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}(e.restrict,i),e.$$moduleName=n.$$moduleName,r.push(e)}catch(t){e(t)}})),r}])),n[i].push(s)):Object.entries(i).forEach((([t,n])=>e(t,n))),this},this.component=function t(e,n){if(!v(e))return D(e,j(nt(this,t))),this;const r=n.controller||function(){};function i(t){function e(e){return E(e)||x(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}const i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:Ee(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 D(n,((t,e)=>{"$"===e.charAt(0)&&(o[e]=t)})),o}return D(n,((t,e)=>{"$"===e.charAt(0)&&(i[e]=t,E(r)&&(r[e]=t))})),i.$inject=["$injector"],this.directive(e,i)},this.aHrefSanitizationTrustedUrlList=function(t){return g(t)?(e.aHrefSanitizationTrustedUrlList(t),this):e.aHrefSanitizationTrustedUrlList()},this.imgSrcSanitizationTrustedUrlList=function(t){return g(t)?(e.imgSrcSanitizationTrustedUrlList(t),this):e.imgSrcSanitizationTrustedUrlList()};let d=!0;this.debugInfoEnabled=function(t){return g(t)?(d=t,this):d};let p=!1;this.strictComponentBindingsEnabled=function(t){return g(t)?(p=t,this):p};const $=Y();this.addPropertySecurityContext=function(t,e,n){const r=`${t.toLowerCase()}|${e.toLowerCase()}`;if(r in $&&$[r]!==n)throw Ue("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",t,e,$[r],n);return $[r]=n,this},function(){function t(t,e){D(e,(e=>{$[e.toLowerCase()]=t}))}t(Ve.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t(Ve.CSS,["*|style"]),t(Ve.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),t(Ve.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),t(Ve.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,e,a,c,g,w,b,O,k){const N=/^\w/,V=window.document.createElement("div");let j;function P(){try{if(! --Fe)throw j=void 0,Ue("infchng","{0} $onChanges() iterations reached. Aborting!\n",Fe);b.$apply((()=>{for(let t=0,e=j.length;t<e;++t)try{j[t]()}catch(t){a(t)}j=void 0}))}finally{Fe++}}function I(t,e){if(!t)return t;if(!v(t))throw Ue("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',e,t.toString());for(var n="",r=T(t),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),s=Math.floor(o.length/2),a=0;a<s;a++){var l=2*a;n+=O.getTrustedMediaUrl(T(o[l])),n+=" "+T(o[l+1])}var c=T(o[2*a]).split(/\s/);return n+=O.getTrustedMediaUrl(T(c[0])),2===c.length&&(n+=" "+T(c[1])),n}class R{constructor(t,e){if(e){const t=Object.keys(e);for(let n=0,r=t.length;n<r;n++){const r=t[n];this[r]=e[r]}}else this.$attr={};this.$$element=t}$normalize=wt;$addClass(t){t&&t.length>0&&k.addClass(this.$$element,t)}$removeClass(t){t&&t.length>0&&k.removeClass(this.$$element,t)}$updateClass(t,e){const n=ze(t,e);n&&n.length&&k.addClass(this.$$element,n);const r=ze(e,t);r&&r.length&&k.removeClass(this.$$element,r)}$set(t,e,n,r){const i=te(this.$$element[0],t),o=u[t];let s=t;i?(this.$$element[0][t]=e,r=i):o&&(this[o]=e,s=o),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=M(t,"-")),"img"===this.$$element[0].nodeName.toLowerCase()&&"srcset"===t&&(this[t]=e=I(e,"$set('srcset', value)")),!1!==n&&(null===e||m(e)?this.$$element[0].removeAttribute(r):N.test(r)?i&&!1===e?this.$$element[0].removeAttribute(r):this.$$element.attr(r,e):function(t,e,n){V.innerHTML=`<span ${e}>`;const{attributes:r}=V.firstChild,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}(this.$$element[0],r,e));const{$$observers:l}=this;l&&D(l[s],(t=>{try{t(e)}catch(t){a(t)}}))}$observe(t,e){const n=this.$$observers||(this.$$observers=Y()),r=n[t]||(n[t]=[]);return r.push(e),b.$evalAsync((()=>{r.$$inter||!Object.prototype.hasOwnProperty.call(this,t)||m(this[t])||e(this[t])})),function(){G(r,e)}}}const _=e.startSymbol(),F=e.endSymbol(),H="{{"===_&&"}}"===F?q:function(t){return t.replace(/\{\{/g,_).replace(/}}/g,F)},B=/^ng(Attr|Prop|On)([A-Z].*)$/,W=/^(.+)Start$/;return J.$$addScopeInfo=d?(t,e,n,r)=>{const i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:()=>{},J;function J(t,e,n,r,i){t instanceof _t||(t=_t(t));let o=X(t,e,t,n,r,i),s=null;return function(e,n,r){if(!t)throw Ue("multilink","This element has already been linked.");pt(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new()),r=r||{};let a,{transcludeControllers:l,parentBoundTranscludeFn:c,futureParentElement:u}=r;if(c&&c.$$boundTransclude&&(c=c.$$boundTransclude),s||(s=function(t){const e=t&&t[0];if(!e)return"html";return"foreignobject"!==z(e)&&toString.call(e).match(/SVG/)?"svg":"html"}(u)),a="html"!==s?_t(mt(s,_t("<div></div>").append(t).html())):n?_t(Array.from(t).map((t=>t.cloneNode(!0)))):t,l)for(const t in l)a.data(`$${t}Controller`,l[t].instance);return n&&n(a,e),o&&o(e,a,a,c),n||(t=o=null),a}}function X(t,e,n,r,i,o){const s=[];let a,l;var c;let u,h,d,p;for(let f=0;f<t.length;f++)a=new R,l=tt(t[f],[],a,0===f?r:void 0,i),h=(c=l.length?st(l,t[f],a,e,n,null,[],[],o):null)&&c.terminal||!(u=t[f].childNodes)||!u.length?null:X(u,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:e),(c||h)&&(s.push(f,c,h),d=!0,p=p||c),o=null;return d?function(t,n,r,i){let o,a,l,c,u,h,d,f,$;if(p)for($=new Array(n.length),u=0;u<s.length;u+=3)d=s[u],$[d]=n[d];else $=n;for(u=0,h=s.length;u<h;)l=$[s[u++]],o=s[u++],a=s[u++],o?(o.scope?(c=t.$new(),J.$$addScopeInfo(_t(l),c)):c=t,f=o.transcludeOnThisElement?Q(t,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&e?Q(t,e):null,o(a,c,l,r,f)):a&&a(t,l.childNodes,void 0,i)}:null}function Q(t,e,n){function r(r,i,o,s,a){return r||((r=t.$new(!1,a)).$$transcluded=!0),e(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}const i=r.$$slots=Y();for(const r in e.$$slots)e.$$slots[r]?i[r]=Q(t,e.$$slots[r],n):i[r]=null;return r}function tt(t,n,r,i,o){const{nodeType:s}=t,a=r.$attr;let c;switch(s){case Node.ELEMENT_NODE:c=t.nodeName.toLowerCase(),ct(n,wt(c),"E",i,o);for(var u,h,d,p,f,$=t.attributes,m=0,g=$&&$.length;m<g;m++){let e,s=!1,c=!1,g=!1,y=!1,v=!1;h=(u=$[m]).name,p=u.value,(f=(d=wt(h.toLowerCase())).match(B))?(g="Attr"===f[1],y="Prop"===f[1],v="On"===f[1],h=h.replace(l,"").toLowerCase().substr(4+f[1].length).replace(/_(.)/g,((t,e)=>e.toUpperCase()))):(e=d.match(W))&&ut(e[1])&&(s=h,c=`${h.substr(0,h.length-5)}end`,h=h.substr(0,h.length-6)),y||v?(r[d]=p,a[d]=u.name,y?yt(t,n,d,h):vt(n,d,h)):(a[d=wt(h.toLowerCase())]=h,!g&&Object.prototype.hasOwnProperty.call(r,d)||(r[d]=p,te(t,d)&&(r[d]=!0)),Ct(t,n,p,d,g),ct(n,d,"A",i,o,s,c))}"input"===c&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off");break;case Node.TEXT_NODE:!function(t,n){const r=e(n,!0);r&&t.push({priority:0,compile:function(){return function(t,e){t.$watch(r,(t=>{e[0].nodeValue=t}))}}})}(n,t.nodeValue)}return n.sort(ft),n}function rt(t,e,n){const r=[];let i=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw Ue("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===Node.ELEMENT_NODE&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0);else r.push(t);return _t(r)}function it(t,e,n){return function(r,i,o,s,a){return i=rt(i[0],e,n),t(r,i,o,s,a)}}function ot(t,e,n,r,i,o){let s;return t?J(e,n,r,i,o):function(){return s||(s=J(e,n,r,i,o),e=n=o=null),s.apply(this,arguments)}}function st(t,e,n,r,i,o,s,l,c){c=c||{};let u,h,d,p,f,$=-Number.MAX_VALUE,{newScopeDirective:g}=c,{controllerDirectives:v}=c,{newIsolateScopeDirective:b}=c,{templateDirective:C}=c,{nonTlbTranscludeDirective:O}=c,k=!1,A=!1,{hasElementTranscludeDirective:N}=c,M=n.$$element=_t(e),V=o,j=r,P=!1,I=!1;for(let o=0,c=t.length;o<c;o++){u=t[o];const m=u.$$start,w=u.$$end;if(m&&(M=rt(e,m,w)),d=void 0,$>u.priority)break;if(f=u.scope,f&&(u.templateUrl||(y(f)?($t("new/isolated scope",b||g,u,M),b=u):$t("new/isolated scope",b,u,M)),g=g||u),h=u.name,!P&&(u.replace&&(u.templateUrl||u.template)||u.transclude&&!u.$$tlb)){let e;for(let n=o+1;e=t[n++];)if(e.transclude&&!e.$$tlb||e.replace&&(e.templateUrl||e.template)){I=!0;break}P=!0}if(!u.templateUrl&&u.controller&&(v=v||Y(),$t(`'${h}' controller`,v[h],u,M),v[h]=u),f=u.transclude,f)if(k=!0,u.$$tlb||($t("transclusion",O,u,M),O=u),"element"===f)N=!0,$=u.priority,d=M,M=n.$$element=_t(document.createComment("")),e=M[0],Et(i,et(d),e),j=ot(I,d,r,$,V&&V.name,{nonTlbTranscludeDirective:O});else{const t=Y();if(y(f)){d=window.document.createDocumentFragment();const e=Y(),n=Y();D(f,((r,i)=>{const o="?"===r.charAt(0);r=o?r.substring(1):r,e[r]=i,t[i]=null,n[i]=o})),D(_t(M[0].childNodes),(r=>{const i=e[wt(z(r))];i?(n[i]=!0,t[i]=t[i]||window.document.createDocumentFragment(),t[i].appendChild(r)):d.appendChild(r)})),D(n,((t,e)=>{if(!t)throw Ue("reqslot","Required transclusion slot `{0}` was not filled.",e)}));for(const e in t)if(t[e]){const n=_t(t[e].childNodes);t[e]=ot(I,n,r)}d=_t(d.childNodes)}else d=e.cloneNode(!0).childNodes;M.empty(),j=ot(I,d,r,void 0,void 0,{needsNewScope:u.$$isolateScope||u.$$newScope}),j.$$slots=t}if(u.template)if(A=!0,$t("template",C,u,M),C=u,f=E(u.template)?u.template(M,n):u.template,f=H(f),u.replace){if(V=u,d=jt(f)?[]:We(mt(u.templateNamespace,T(f))),e=d[0],1!==d.length||e.nodeType!==Node.ELEMENT_NODE)throw Ue("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h,"");Et(i,M,e);const r={$attr:{}},s=tt(e,[],r),a=t.splice(o+1,t.length-(o+1));(b||g)&<(s,b,g),t=t.concat(s).concat(a),ht(n,r),c=t.length}else M.html(f);if(u.templateUrl)A=!0,$t("template",C,u,M),C=u,u.replace&&(V=u),U=dt(t.splice(o,t.length-o),M,n,i,k&&j,s,l,{controllerDirectives:v,newScopeDirective:g!==u&&g,newIsolateScopeDirective:b,templateDirective:C,nonTlbTranscludeDirective:O}),c=t.length;else if(u.compile)try{p=u.compile(M,n,j);const t=u.$$originalDirective||u;E(p)?_(null,nt(t,p),m,w):p&&_(nt(t,p.pre),nt(t,p.post),m,w)}catch(t){a(t,ie(M))}u.terminal&&(U.terminal=!0,$=Math.max($,u.priority))}return U.scope=g&&!0===g.scope,U.transcludeOnThisElement=k,U.templateOnThisElement=A,U.transclude=j,c.hasElementTranscludeDirective=N,U;function _(t,e,n,r){t&&(n&&(t=it(t,n,r)),t.require=u.require,t.directiveName=h,(b===u||u.$$isolateScope)&&(t=Ot(t,{isolateScope:!0})),s.push(t)),e&&(n&&(e=it(e,n,r)),e.require=u.require,e.directiveName=h,(b===u||u.$$isolateScope)&&(e=Ot(e,{isolateScope:!0})),l.push(e))}function U(t,r,i,o,c){let u,h,d,p,f,$,O,k,A,T;e===i?(A=n,k=n.$$element):(k=_t(i),A=new R(k,n)),f=r,b?p=r.$new(!0):g&&(f=r.$parent),c&&(O=function(t,e,n,r){let i;S(t)||(r=n,n=e,e=t,t=void 0);N&&(i=$);n||(n=N?k.parent():k);if(!r)return c(t,e,i,n,M);{const o=c.$$slots[r];if(o)return o(t,e,i,n,M);if(m(o))throw Ue("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ie(k))}},O.$$boundTransclude=c,O.isSlotFilled=function(t){return!!c.$$slots[t]}),v&&($=function(t,e,n,r,i,o,s){const a=Y();for(const l in r){const c=r[l],u={$scope:c===s||c.$$isolateScope?i:o,$element:t,$attrs:e,$transclude:n};let{controller:h}=c;"@"===h&&(h=e[c.name]);const d=w(h,u,!0,c.controllerAs);a[c.name]=d,t.data(`$${c.name}Controller`,d.instance)}return a}(k,A,O,v,p,r,b)),b&&(J.$$addScopeInfo(k,p,!0,!(C&&(C===b||C===b.$$originalDirective))),p.$$isolateBindings=b.$$isolateBindings,T=At(r,A,p,p.$$isolateBindings,b),T.removeWatches&&p.$on("$destroy",T.removeWatches));for(const t in $){const e=v[t],n=$[t],r=e.$$bindings.bindToController;n.instance=n(),k.data(`$${e.name}Controller`,n.instance),n.bindingInfo=At(f,A,n.instance,r,e)}for(D(v,((t,e)=>{const{require:n}=t;t.bindToController&&!x(n)&&y(n)&&L($[e].instance,at(e,n,k,$))})),D($,(t=>{const e=t.instance;if(E(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){a(t)}if(E(e.$onInit))try{e.$onInit()}catch(t){a(t)}E(e.$doCheck)&&(f.$watch((()=>{e.$doCheck()})),e.$doCheck()),E(e.$onDestroy)&&f.$on("$destroy",(()=>{e.$onDestroy()}))})),u=0,h=s.length;u<h;u++)d=s[u],kt(d,d.isolateScope?p:r,k,A,d.require&&at(d.directiveName,d.require,k,$),O);var M=r;for(b&&(b.template||null===b.templateUrl)&&(M=p),t&&t(M,i.childNodes,void 0,c),u=l.length-1;u>=0;u--)d=l[u],kt(d,d.isolateScope?p:r,k,A,d.require&&at(d.directiveName,d.require,k,$),O);D($,(t=>{const e=t.instance;E(e.$postLink)&&e.$postLink()}))}}function at(t,e,n,r){let i;if(v(e)){const s=e.match(o),a=e.substring(s[0].length),l=s[1]||s[3],c="?"===s[2];if("^^"===l?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){const t=`$${a}Controller`;i="^^"===l&&n[0]&&n[0].nodeType===Node.DOCUMENT_NODE?null:l?n.inheritedData(t):n.data(t)}if(!i&&!c)throw Ue("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,t)}else if(x(e)){i=[];for(let o=0,s=e.length;o<s;o++)i[o]=at(t,e[o],n,r)}else y(e)&&(i={},D(e,((e,o)=>{i[o]=at(t,e,n,r)})));return i||null}function lt(t,e,n){for(let r=0,i=t.length;r<i;r++)t[r]=U(t[r],{$$isolateScope:e,$$newScope:n})}function ct(e,i,o,s,a,l,c){if(i===a)return null;let u=null;if(Object.prototype.hasOwnProperty.call(n,i))for(let n,a=t.get(i+r),d=0,p=a.length;d<p;d++)if(n=a[d],(m(s)||s>n.priority)&&-1!==n.restrict.indexOf(o)){if(l&&(n=U(n,{$$start:l,$$end:c})),!n.$$bindings){const t=n.$$bindings=h(n,n.name);y(t.isolateScope)&&(n.$$isolateBindings=t.isolateScope)}e.push(n),u=n}return u}function ut(e){if(Object.prototype.hasOwnProperty.call(n,e))for(let n,i=t.get(e+r),o=0,s=i.length;o<s;o++)if(n=i[o],n.multiElement)return!0;return!1}function ht(t,e){const n=e.$attr,r=t.$attr;D(t,((r,i)=>{"$"!==i.charAt(0)&&(e[i]&&e[i]!==r&&(r.length?r+=("style"===i?";":" ")+e[i]:r=e[i]),t.$set(i,r,!0,n[i]))})),D(e,((e,i)=>{Object.prototype.hasOwnProperty.call(t,i)||"$"===i.charAt(0)||(t[i]=e,"class"!==i&&"style"!==i&&(r[i]=n[i]))}))}function dt(t,e,n,r,i,o,s,l){let u,h,d=[];const p=e[0],f=t.shift(),$=U(f,{templateUrl:null,transclude:null,replace:null,$$originalDirective:f}),m=E(f.templateUrl)?f.templateUrl(e,n):f.templateUrl,{templateNamespace:g}=f;return e.empty(),c(m).then((a=>{let c,v,w,b;if(a=H(a),f.replace){if(w=jt(a)?[]:We(mt(g,T(a))),c=w[0],1!==w.length||c.nodeType!==Node.ELEMENT_NODE)throw Ue("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f.name,m);v={$attr:{}},Et(r,e,c);const i=tt(c,[],v);y(f.scope)&<(i,!0),t=i.concat(t),ht(n,v)}else c=p,e.html(a);for(t.unshift($),u=st(t,c,n,i,e,f,o,s,l),D(r,((t,n)=>{t===c&&(r[n]=e[0])})),h=X(e[0].childNodes,i);d.length;){const t=d.shift(),n=d.shift(),i=d.shift(),o=d.shift();let s=e[0];if(!t.$$destroyed){if(n!==p){const t=n.className;l.hasElementTranscludeDirective&&f.replace||(s=c.cloneNode(!0)),Et(i,_t(n),s);try{""!==t&&s.classList.add(t)}catch(t){}}b=u.transcludeOnThisElement?Q(t,u.transclude,o):o,u(h,t,s,r,b)}}d=null})).catch((t=>{C(t)&&a(t)})),function(t,e,n,r,i){let o=i;e.$$destroyed||(d?d.push(e,n,r,o):(u.transcludeOnThisElement&&(o=Q(e,u.transclude,i)),u(h,e,n,r,o)))}}function ft(t,e){const n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function $t(t,e,n,r){function i(t){return t?` (module: ${t})`:""}if(e)throw Ue("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,i(e.$$moduleName),n.name,i(n.$$moduleName),t,ie(r))}function mt(t,e){switch(t=f(t||"html")){case"svg":case"math":var n=window.document.createElement("div");return n.innerHTML=`<${t}>${e}</${t}>`,n.childNodes[0].childNodes;default:return e}}function gt(t){return I(O.valueOf(t),"ng-prop-srcset")}function yt(t,e,n,r){if(s.test(r))throw Ue("nodomevents","Property bindings for HTML DOM event properties are disallowed");const i=z(t),o=function(t,e){const n=e.toLowerCase();return $[`${t}|${n}`]||$[`*|${n}`]}(i,r);let a=q;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=O.getTrusted.bind(O,o)):a=gt,e.push({priority:100,compile:function(t,e){const i=g(e[n]),o=g(e[n],(t=>O.valueOf(t)));return{pre:function(t,e){function n(){const n=i(t);e[0][r]=a(n)}n(),t.$watch(o,n)}}}})}function vt(t,e,n){t.push(_e(g,b,a,e,n,!1))}function Ct(t,n,r,o,a){const l=z(t),c=function(t,e){return"srcdoc"===e?O.HTML:"src"===e||"ngSrc"===e?-1===["img","video","audio","source","track"].indexOf(t)?O.RESOURCE_URL:O.MEDIA_URL:"xlinkHref"===e?"image"===t?O.MEDIA_URL:"a"===t?O.URL:O.RESOURCE_URL:"form"===t&&"action"===e||"base"===t&&"href"===e||"link"===t&&"href"===e?O.RESOURCE_URL:"a"!==t||"href"!==e&&"ngHref"!==e?void 0:O.URL}(l,o),u=i[o]||a;let h=e(r,!a,c,u);if(h){if("multiple"===o&&"select"===l)throw Ue("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ie(t.outerHTML));if(s.test(o))throw Ue("nodomevents","Interpolations for HTML DOM event attributes are disallowed");n.push({priority:100,compile:()=>({pre:function(t,n,i){const s=i.$$observers||(i.$$observers=Y()),a=i[o];a!==r&&(h=a&&e(a,!0,c,u),r=a),h&&(i[o]=h(t),(s[o]||(s[o]=[])).$$inter=!0,(i.$$observers&&i.$$observers[o].$$scope||t).$watch(h,((t,e)=>{"class"===o&&t!==e?i.$updateClass(t,e):i.$set(o,t)})))}})})}}function Et(t,e,n){const r=e[0],i=e.length,o=r.parentNode;let s,a;if(t)for(s=0,a=t.length;s<a;s++)if(t[s]===r){t[s++]=n;for(let e=s,n=e+i-1,r=t.length;e<r;e++,n++)n<r?t[e]=t[n]:delete t[e];t.length-=i-1,t.context===r&&(t.context=n);break}o&&o.replaceChild(n,r);const l=window.document.createDocumentFragment();for(s=0;s<i;s++)l.appendChild(e[s]);for(xt.has(r[bt])&&(_t.data(n,_t.data(r)),_t(r).off("$destroy")),_t.cleanData(l.querySelectorAll("*")),s=1;s<i;s++)delete e[s];e[0]=n,e.length=1}function Ot(t,e){return L((function(){return t.apply(null,arguments)}),t,e)}function kt(t,e,n,r,i,o){try{t(e,n,r,i,o)}catch(t){console.error(t),a(t,ie(n))}}function St(t,e){if(p)throw Ue("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",t,e)}function At(t,n,r,i,o){const s=[],a={};let l;function c(e,n,i){E(r.$onChanges)&&!K(n,i)&&(j||(t.$$postDigest(P),j=[]),l||(l={},j.push(u)),l[e]&&(i=l[e].previousValue),l[e]=new Be(i,n))}function u(){r.$onChanges(l),l=void 0}return D(i,((i,l)=>{const{attrName:u}=i,{optional:h}=i,{mode:d}=i;let p,f,$,m,y;switch(d){case"@":h||hasOwnProperty.call(n,u)||(St(u,o.name),r[l]=n[u]=void 0),y=n.$observe(u,(t=>{if(v(t)||A(t)){const e=r[l];c(l,t,e),r[l]=t}})),n.$$observers[u].$$scope=t,p=n[u],v(p)?r[l]=e(p)(t):A(p)&&(r[l]=p),a[l]=new Be(qe,r[l]),s.push(y);break;case"=":if(!Object.hasOwnProperty.call(n,u)){if(h)break;St(u,o.name),n[u]=void 0}if(h&&!n[u])break;f=g(n[u]),m=f.literal?Z:K,$=f.assign||function(){throw p=r[l]=f(t),Ue("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",n[u],u,o.name)},p=r[l]=f(t);var w=function(e){return m(e,r[l])||(m(e,p)?$(t,e=r[l]):r[l]=e),p=e,p};w.$stateful=!0,y=i.collection?t.$watchCollection(n[u],w):t.$watch(g(n[u],w),null,f.literal),s.push(y);break;case"<":if(!Object.hasOwnProperty.call(n,u)){if(h)break;St(u,o.name),n[u]=void 0}if(h&&!n[u])break;f=g(n[u]);var b=f.literal,x=r[l]=f(t);a[l]=new Be(qe,r[l]),y=t[i.collection?"$watchCollection":"$watch"](f,((t,e)=>{if(e===t){if(e===x||b&&Z(e,x))return;e=x}c(l,t,e),r[l]=t})),s.push(y);break;case"&":if(h||Object.hasOwnProperty.call(n,u)||St(u,o.name),f=Object.prototype.hasOwnProperty.call(n,u)?g(n[u]):()=>{},f.toString()===(()=>{}).toString()&&h)break;r[l]=function(e){return f(t,e)}}})),{initialChanges:a,removeWatches:s.length&&function(){for(let t=0,e=s.length;t<e;++t)s[t]()}}}}]}He.$inject=["$provide","$$sanitizeUriProvider"];class Be{constructor(t,e){this.previousValue=t,this.currentValue=e}isFirstChange(){return this.previousValue===qe}}function ze(t,e){let n="";const r=t.split(/\s+/),i=e.split(/\s+/);t:for(let t=0;t<r.length;t++){const e=r[t];for(let t=0;t<i.length;t++)if(e===i[t])continue t;n+=(n.length>0?" ":"")+e}return n}function We(t){let e=(t=_t(t)).length;if(e<=1)return t;for(;e--;){const n=t[e];(n.nodeType===Node.COMMENT_NODE||n.nodeType===Node.TEXT_NODE&&""===n.nodeValue.trim())&&[].splice.call(t,e,1)}return t}function Ge(){return{restrict:"E",compile:(t,e)=>e.href||e.xlinkHref?()=>{}:(t,e)=>{if("a"!==e[0].nodeName.toLowerCase())return;const n="[object SVGAnimatedString]"===toString.call(e[0].href)?"xlink:href":"href";e.on("click",(t=>{e.attr(n)||t.preventDefault()}))}}}const Ke={$addControl:()=>{},$getControls:F([]),$$renameControl:function(t,e){t.$name=e},$removeControl:()=>{},$setValidity:()=>{},$setDirty:()=>{},$setPristine:()=>{},$setSubmitted:()=>{},$$setSubmitted:()=>{}},Ze="ng-pending",Je="ng-submitted";function Xe(t,e,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Ke,this.$$element=t,this.$$animate=r,en(this)}Xe.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Xe.prototype={$rollbackViewValue(){this.$$controls.forEach((t=>{t.$rollbackViewValue()}))},$commitViewValue(){this.$$controls.forEach((t=>{t.$commitViewValue()}))},$addControl(t){X(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$getControls(){return dt(this.$$controls)},$$renameControl(t,e){const n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl(t){t.$name&&this[t.$name]===t&&delete this[t.$name],D(this.$pending,(function(e,n){this.$setValidity(n,null,t)}),this),D(this.$error,(function(e,n){this.$setValidity(n,null,t)}),this),D(this.$$success,(function(e,n){this.$setValidity(n,null,t)}),this),G(this.$$controls,t),t.$$parentForm=Ke},$setDirty(){this.$$animate.removeClass(this.$$element,n),this.$$animate.addClass(this.$$element,r),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine(){this.$$animate.setClass(this.$$element,n,`${r} ${Je}`),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,this.$$controls.forEach((t=>{t.$setPristine()}))},$setUntouched(){this.$$controls.forEach((t=>{t.$setUntouched()}))},$setSubmitted(){let t=this;for(;t.$$parentForm&&t.$$parentForm!==Ke;)t=t.$$parentForm;t.$$setSubmitted()},$$setSubmitted(){this.$$animate.addClass(this.$$element,Je),this.$submitted=!0,this.$$controls.forEach((t=>{t.$$setSubmitted&&t.$$setSubmitted()}))}},nn({clazz:Xe,set(t,e,n){const r=t[e];if(r){-1===r.indexOf(n)&&r.push(n)}else t[e]=[n]},unset(t,e,n){const r=t[e];r&&(G(r,n),0===r.length&&delete t[e])}});const Ye=function(e){return["$timeout","$parse",function(r,i){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Xe,compile:function(i,s){i[0].classList.add(n,t);const a=s.name?"name":!(!e||!s.ngForm)&&"ngForm";return{pre:function(t,e,n,i){const s=i[0];if(!("action"in n)){const n=function(e){t.$apply((()=>{s.$commitViewValue(),s.$setSubmitted()})),e.preventDefault()};e[0].addEventListener("submit",n),e.on("$destroy",(()=>{r((()=>{e[0].removeEventListener("submit",n)}),0,!1)}))}(i[1]||s.$$parentForm).$addControl(s);let l=a?o(s.$name):()=>{};a&&(l(t,s),n.$observe(a,(e=>{s.$name!==e&&(l(t,void 0),s.$$parentForm.$$renameControl(s,e),l=o(s.$name),l(t,s))}))),e.on("$destroy",(()=>{s.$$parentForm.$removeControl(s),l(t,void 0),L(s,Ke)}))}}}};function o(t){return""===t?i('this[""]').assign:i(t).assign||(()=>{})}}]},Qe=Ye(),tn=Ye(!0);function en(n){n.$$classCache={},n.$$classCache[e]=!(n.$$classCache[t]=n.$$element[0].classList.contains(t))}function nn(n){const{clazz:r}=n,{set:i}=n,{unset:o}=n;function s(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 a(n,r,i){r=r?`-${M(r,"-")}`:"",s(n,t+r,!0===i),s(n,e+r,!1===i)}r.prototype.$setValidity=function(t,e,n){let r;m(e)?function(t,e,n,r){t[e]||(t[e]={});i(t[e],n,r)}(this,"$pending",t,n):function(t,e,n,r){t[e]&&o(t[e],n,r);rn(t[e])&&(t[e]=void 0)}(this,"$pending",t,n),A(e)?e?(o(this.$error,t,n),i(this.$$success,t,n)):(i(this.$error,t,n),o(this.$$success,t,n)):(o(this.$error,t,n),o(this.$$success,t,n)),this.$pending?(s(this,Ze,!0),this.$valid=this.$invalid=void 0,a(this,"",null)):(s(this,Ze,!1),this.$valid=rn(this.$error),this.$invalid=!this.$valid,a(this,"",this.$valid)),r=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null),a(this,t,r),this.$$parentForm.$setValidity(t,r,this)}}function rn(t){if(t)for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}let on;const sn=/(\s+|^)default(\s+|$)/;function an(t){this.$$options=t}an.prototype={getOption(t){return this.$$options[t]},createChild(t){let e=!1;return D(t=L({},t),(function(n,r){"$inherit"===n?"*"===r?e=!0:(t[r]=this.$$options[r],"updateOn"===r&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(t.updateOnDefault=!1,t[r]=T(n.replace(sn,(()=>(t.updateOnDefault=!0," ")))))}),this),e&&(delete t["*"],cn(t,this.$$options)),cn(t,on.$$options),new an(t)}},on=new an({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});const ln=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit(){const t=this.parentCtrl?this.parentCtrl.$options:on,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}};function cn(t,e){D(e,((e,n)=>{g(t[n])||(t[n]=e)}))}const un=mt("ngModel");function hn(t,e,n,r,i,o,s,a,l){var c;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(t),this.$$parentForm=Ke,this.$options=on,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=t,this.$$rootScope=t.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=s,this.$$parse=i,this.$$q=a,this.$$exceptionHandler=e,en(this),(c=this).$$scope.$watch((t=>{const e=c.$$ngModelGet(t);return e===c.$modelValue||c.$modelValue!=c.$modelValue&&e!=e||c.$$setModelValue(e),e}))}hn.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],hn.prototype={$$initGetterSetters(){if(this.$options.getOption("getterSetter")){const t=this.$$parse(`${this.$$attr.ngModel}()`),e=this.$$parse(`${this.$$attr.ngModel}($$$p)`);this.$$ngModelGet=function(e){let n=this.$$parsedNgModel(e);return E(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){E(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw un("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,ie(this.$$element))},$render:()=>{},$isEmpty:t=>m(t)||""===t||null===t||t!=t,$$updateEmptyClasses(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,a),this.$$animate.addClass(this.$$element,s)):(this.$$animate.removeClass(this.$$element,s),this.$$animate.addClass(this.$$element,a))},$setPristine(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,r),this.$$animate.addClass(this.$$element,n)},$setDirty(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,n),this.$$animate.addClass(this.$$element,r),this.$$parentForm.$setDirty()},$setUntouched(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,i,o)},$setTouched(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,o,i)},$rollbackViewValue(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate(){if(_(this.$modelValue))return;const t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(e,t,(t=>{i||n===t||(o.$modelValue=t?e:void 0,o.$modelValue!==r&&o.$$writeModelToScope())}))},$$runValidators(t,e,n){this.$$currentValidationRunId++;const r=this.$$currentValidationRunId,i=this;function o(t,e){r===i.$$currentValidationRunId&&i.$setValidity(t,e)}function s(t){r===i.$$currentValidationRunId&&n(t)}!function(){const t=i.$$parserName;if(!m(i.$$parserValid))return i.$$parserValid||(D(i.$validators,((t,e)=>{o(e,null)})),D(i.$asyncValidators,((t,e)=>{o(e,null)}))),o(t,i.$$parserValid),i.$$parserValid;o(t,null);return!0}()?s(!1):function(){let n=!0;if(D(i.$validators,((r,i)=>{const s=Boolean(r(t,e));n=n&&s,o(i,s)})),!n)return D(i.$asyncValidators,((t,e)=>{o(e,null)})),!1;return!0}()?function(){const n=[];let r=!0;D(i.$asyncValidators,((i,s)=>{const a=i(t,e);if(!N(a))throw un("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);o(s,void 0),n.push(a.then((()=>{o(s,!0)}),(()=>{r=!1,o(s,!1)})))})),n.length?i.$$q.all(n).then((()=>{s(r)}),(()=>{})):s(!0)}():s(!1)},$commitViewValue(){const t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(void 0===this.$$lastCommittedViewValue&&Number.isNaN(t)||(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate()))},$$parseAndValidate(){let t=this.$$lastCommittedViewValue;const e=this;if(this.$$parserValid=!m(t)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(let e=0;e<this.$parsers.length;e++)if(t=this.$parsers[e](t),m(t)){this.$$parserValid=!1;break}_(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));const n=this.$modelValue,r=this.$options.getOption("allowInvalid");function i(){e.$modelValue!==n&&e.$$writeModelToScope()}this.$$rawModelValue=t,r&&(this.$modelValue=t,i()),this.$$runValidators(t,this.$$lastCommittedViewValue,(n=>{r||(e.$modelValue=n?t:void 0,i())}))},$$writeModelToScope(){this.$$ngModelSet(this.$$scope,this.$modelValue),D(this.$viewChangeListeners,(function(t){try{t()}catch(t){this.$$exceptionHandler(t)}}),this)},$setViewValue(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit(t){let e=this.$options.getOption("debounce");w(e[t])?e=e[t]:w(e.default)&&-1===this.$options.getOption("updateOn").indexOf(t)?e=e.default:w(e["*"])&&(e=e["*"]),this.$$timeout.cancel(this.$$pendingDebounce);const n=this;e>0?this.$$pendingDebounce=this.$$timeout((()=>{n.$commitViewValue()}),e):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((()=>{n.$commitViewValue()}))},$overrideModelOptions(t){this.$options=this.$options.createChild(t),this.$$setUpdateOnEvents()},$processModelValue(){const t=this.$$format();this.$viewValue!==t&&(this.$$updateEmptyClasses(t),this.$viewValue=this.$$lastCommittedViewValue=t,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,(()=>{})))},$$format(){const t=this.$formatters;let e=t.length,n=this.$modelValue;for(;e--;)n=t[e](n);return n},$$setModelValue(t){this.$modelValue=this.$$rawModelValue=t,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents(){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(t){this.$$debounceViewValueCommit(t&&t.type)}},nn({clazz:hn,set(t,e){t[e]=!0},unset(t,e){delete t[e]}});const dn=["$rootScope",e=>({restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:hn,priority:1,compile:function(r){return r[0].classList.add(n,i,t),{pre:function(t,e,n,r){const i=r[0],o=r[1]||i.$$parentForm,s=r[2];s&&(i.$options=s.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",(t=>{i.$name!==t&&i.$$parentForm.$$renameControl(i,t)})),t.$on("$destroy",(()=>{i.$$parentForm.$removeControl(i)}))},post:function(t,n,r,i){const o=i[0];function s(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",(()=>{o.$touched||(e.$$phase?t.$evalAsync(s):t.$apply(s))}))}}}})],pn=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,fn=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,$n=/^(?=.{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])?)*$/,mn=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,gn=/^(\d{4,})-(\d{2})-(\d{2})$/,yn=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,vn=/^(\d{4,})-W(\d\d)$/,wn=/^(\d{4,})-(\d\d)$/,bn=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,xn="validity",Cn="keydown wheel mousedown",En=new Map;"date,datetime-local,month,time,week".split(",").forEach((t=>{En.set(t,!0)}));const On={text:function(t,e,n,r,i){Sn(t,e,n,r,i),kn(r)},date:Tn("date",gn,An(gn,["yyyy","MM","dd"])),"datetime-local":Tn("datetimelocal",yn,An(yn,["yyyy","MM","dd","HH","mm","ss","sss"])),time:Tn("time",bn,An(bn,["HH","mm","ss","sss"])),week:Tn("week",vn,(function(t,e){if(b(t))return t;if(v(t)){vn.lastIndex=0;const n=vn.exec(t);if(n){const t=+n[1],r=+n[2];let i=0,o=0,s=0,a=0;const l=function(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}(t),c=7*(r-1);return e&&(i=e.getHours(),o=e.getMinutes(),s=e.getSeconds(),a=e.getMilliseconds()),new Date(t,0,l.getDate()+c,i,o,s,a)}}return NaN})),month:Tn("month",wn,An(wn,["yyyy","MM"])),number:function(t,e,n,r,i,o,s){let a;if(Mn(t,e,n,r,"number"),Dn(r),Sn(t,e,n,r,i),g(n.min)||n.ngMin){let e=n.min||s(n.ngMin)(t);a=Vn(e),r.$validators.min=function(t,e){return r.$isEmpty(e)||m(a)||e>=a},n.$observe("min",(t=>{t!==e&&(a=Vn(t),e=t,r.$validate())}))}if(g(n.max)||n.ngMax){let e=n.max||s(n.ngMax)(t),i=Vn(e);r.$validators.max=function(t,e){return r.$isEmpty(e)||m(i)||e<=i},n.$observe("max",(t=>{t!==e&&(i=Vn(t),e=t,r.$validate())}))}if(g(n.step)||n.ngStep){let e=n.step||s(n.ngStep)(t),i=Vn(e);r.$validators.step=function(t,e){return r.$isEmpty(e)||m(i)||Ln(e,a||0,i)},n.$observe("step",(t=>{t!==e&&(i=Vn(t),e=t,r.$validate())}))}},url:function(t,e,n,r,i){Sn(t,e,n,r,i),kn(r),r.$validators.url=function(t,e){const n=t||e;return r.$isEmpty(n)||fn.test(n)}},email:function(t,e,n,r,i){Sn(t,e,n,r,i),kn(r),r.$validators.email=function(t,e){const n=t||e;return r.$isEmpty(n)||$n.test(n)}},radio:function(t,e,n,r){const i=!n.ngTrim||"false"!==T(n.ngTrim);m(n.name)&&e.attr("name",p());e.on("change",(function(t){let o;e[0].checked&&(o=n.value,i&&(o=T(o)),r.$setViewValue(o,t&&t.type))})),r.$render=function(){let{value:t}=n;i&&(t=T(t)),e[0].checked=t===r.$viewValue},n.$observe("value",r.$render)},range:function(t,e,n,r,i){Mn(t,e,n,r,"range"),Dn(r),Sn(t,e,n,r,i);const o=r.$$hasNativeValidators&&"range"===e[0].type;let s=o?0:void 0,a=o?100:void 0,l=o?1:void 0;const{validity:c}=e[0],u=g(n.min),h=g(n.max),d=g(n.step),p=r.$render;r.$render=o&&g(c.rangeUnderflow)&&g(c.rangeOverflow)?function(){p(),r.$setViewValue(e.val())}:p,u&&(s=Vn(n.min),r.$validators.min=o?function(){return!0}:function(t,e){return r.$isEmpty(e)||m(s)||e>=s},f("min",(function(t){if(s=Vn(t),_(r.$modelValue))return;if(o){let t=e.val();s>t&&(t=s,e.val(t)),r.$setViewValue(t)}else r.$validate()})));h&&(a=Vn(n.max),r.$validators.max=o?function(){return!0}:function(t,e){return r.$isEmpty(e)||m(a)||e<=a},f("max",(function(t){if(a=Vn(t),_(r.$modelValue))return;if(o){let t=e.val();a<t&&(e.val(a),t=a<s?s:a),r.$setViewValue(t)}else r.$validate()})));d&&(l=Vn(n.step),r.$validators.step=o?function(){return!c.stepMismatch}:function(t,e){return r.$isEmpty(e)||m(l)||Ln(e,s||0,l)},f("step",(function(t){if(l=Vn(t),_(r.$modelValue))return;o?r.$viewValue!==e.val()&&r.$setViewValue(e.val()):r.$validate()})));function f(t,r){e.attr(t,n[t]);let i=n[t];n.$observe(t,(t=>{t!==i&&(i=t,r(t))}))}},checkbox:function(t,e,n,r,i,o,s){const a=In(s,t,"ngTrueValue",n.ngTrueValue,!0),l=In(s,t,"ngFalseValue",n.ngFalseValue,!1);e.on("change",(function(t){r.$setViewValue(e[0].checked,t&&t.type)})),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return!1===t},r.$formatters.push((t=>Z(t,a))),r.$parsers.push((t=>t?a:l))},hidden:()=>{},button:()=>{},submit:()=>{},reset:()=>{},file:()=>{}};function kn(t){t.$formatters.push((e=>t.$isEmpty(e)?e:e.toString()))}function Sn(t,e,n,r,i){const o=f(e[0].type);let s,a=!1;e.on("compositionstart",(()=>{a=!0})),e.on("compositionend",(()=>{a=!1,l()}));let l=function(t){if(s&&(i.defer.cancel(s),s=null),a)return;let l=e.val();const c=t&&t.type;"password"===o||n.ngTrim&&"false"===n.ngTrim||(l=T(l)),(r.$viewValue!==l||""===l&&r.$$hasNativeValidators)&&r.$setViewValue(l,c)};["input","change","paste","drop","cut"].forEach((t=>{e.on(t,l)})),En[o]&&r.$$hasNativeValidators&&o===n.type&&e.on(Cn,(function(t){if(!s){const e=this[xn],n=e.badInput,r=e.typeMismatch;s=i.defer((()=>{s=null,e.badInput===n&&e.typeMismatch===r||l(t)}))}})),r.$render=function(){const t=r.$isEmpty(r.$viewValue)?"":r.$viewValue;e.val()!==t&&e.val(t)}}function An(t,e){return function(n,r){let i,o;if(b(n))return n;if(v(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),pn.test(n))return new Date(n);if(t.lastIndex=0,i=t.exec(n),i){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},D(i,((t,n)=>{n<e.length&&(o[e[n]]=+t)}));const t=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&t.setFullYear(o.yyyy),t}}return NaN}}const Nn=/\b\d{4}-(0[1-9]|1[0-2])\b/;function Tn(t,e,n){return function(r,i,o,s,a,l,c){if(Mn(r,i,o,s,t),Sn(0,i,o,s,a),s.$parsers.push((n=>s.$isEmpty(n)?null:e.test(n)?["month","week","datetimelocal","time","date"].includes(t)?n:d(n,undefined):void(s.$$parserName=t))),s.$formatters.push((function(e){if(e&&!v(e))throw un("datefmt","Expected `{0}` to be a String",e);if("month"===t){if(null==e)return"";if(!Nn.test(e))throw un("datefmt","Expected month `{0}` to be a 'YYYY-DD'",e)}if("week"===t){if(null==e)return"";if(!vn.test(e))throw un("datefmt","Expected week `{0}` to be a 'yyyy-Www'",e)}if("datetimelocal"===t){if(null==e)return"";if(!yn.test(e))throw un("datefmt","Expected week `{0}` to be a in date time format. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#local_date_and_time_strings",e)}return e})),g(o.min)||o.ngMin){let e=o.min||c(o.ngMin)(r),i=h(e);s.$validators.min=function(e){return"month"===t?m(i)||n(e)>=n(i):!u(e)||m(i)||n(e)>=i},o.$observe("min",(t=>{t!==e&&(i=h(t),e=t,s.$validate())}))}if(g(o.max)||o.ngMax){let e=o.max||c(o.ngMax)(r),i=h(e);s.$validators.max=function(e){return"month"===t?m(i)||n(e)<=n(i):!u(e)||m(i)||n(e)<=i},o.$observe("max",(t=>{t!==e&&(i=h(t),e=t,s.$validate())}))}function u(t){return t&&!(t.getTime&&t.getTime()!=t.getTime())}function h(t){return g(t)&&!b(t)?d(t)||void 0:t}function d(t,e){const r=s.$options.getOption("timezone");let i=n(t,e);return!Number.isNaN(i)&&r&&(i=st(i,r)),i}}}function Mn(t,e,n,r,i){const o=e[0];(r.$$hasNativeValidators=y(o.validity))&&r.$parsers.push((t=>{const n=e[0][xn]||{};if(!n.badInput&&!n.typeMismatch)return t;r.$$parserName=i}))}function Dn(t){t.$parsers.push((e=>t.$isEmpty(e)?null:mn.test(e)?parseFloat(e):void(t.$$parserName="number"))),t.$formatters.push((e=>{if(!t.$isEmpty(e)){if(!w(e))throw un("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}))}function Vn(t){return g(t)&&!w(t)&&(t=parseFloat(t)),_(t)?void 0:t}function jn(t){return(0|t)===t}function Pn(t){const e=t.toString(),n=e.indexOf(".");if(-1===n){if(t>-1&&t<1){const t=/e-(\d+)$/.exec(e);if(t)return Number(t[1])}return 0}return e.length-n-1}function Ln(t,e,n){let r=Number(t);const i=!jn(r),o=!jn(e),s=!jn(n);if(i||o||s){const t=i?Pn(r):0,a=o?Pn(e):0,l=s?Pn(n):0,c=10**Math.max(t,a,l);r*=c,e*=c,n*=c,i&&(r=Math.round(r)),o&&(e=Math.round(e)),s&&(n=Math.round(n))}return(r-e)%n==0}function In(t,e,n,r,i){let o;if(g(r)){if(o=t(r),!o.constant)throw un("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}const Rn=["$browser","$filter","$parse",function(t,e,n){return{restrict:"E",require:["?ngModel"],link:{pre(r,i,o,s){s[0]&&(On[f(o.type)]||On.text)(r,i,o,s[0],t,e,n)}}}}];function _n(){const t={configurable:!0,enumerable:!1,get(){return this.getAttribute("value")||""},set(t){this.setAttribute("value",t)}};return{restrict:"E",priority:200,compile(e,n){if("hidden"===f(n.type))return{pre(e,n){const r=n[0];r.parentNode&&r.parentNode.insertBefore(r,r.nextSibling),Object.defineProperty&&Object.defineProperty(r,"value",t)}}}}}const Un=/^(true|false|\d+)$/;function qn(){function t(t,e,n){const r=g(n)?n:null;t[0].value=r,e.$set("value",n)}return{restrict:"A",priority:100,compile:(e,n)=>Un.test(n.ngValue)?function(e,n,r){t(n,r,e.$eval(r.ngValue))}:function(e,n,r){e.$watch(r.ngValue,(e=>{t(n,r,e)}))}}}const Fn=["$templateCache",t=>({restrict:"E",terminal:!0,compile(e,n){if("text/ng-template"===n.type){const r=n.id,{text:i}=e[0];t.put(r,i)}}})],Hn={$setViewValue:()=>{},$render:()=>{}};function Bn(t,e){t[0].selected=e,t.attr("selected",e)}var zn=["$element","$scope",function(t,e){const n=this,r=new Map;n.selectValueMap={},n.ngModelCtrl=Hn,n.multiple=!1,n.unknownOption=_t(window.document.createElement("option")),n.hasEmptyOption=!1,n.emptyOption=void 0,n.renderUnknownOption=function(e){const r=n.generateUnknownOptionValue(e);n.unknownOption.val(r),t.prepend(n.unknownOption),Bn(n.unknownOption,!0),t.val(r)},n.updateUnknownOption=function(e){const r=n.generateUnknownOptionValue(e);n.unknownOption.val(r),Bn(n.unknownOption,!0),t.val(r)},n.generateUnknownOptionValue=function(t){return`? ${yt(t)} ?`},n.removeUnknownOption=function(){n.unknownOption.parent()&&n.unknownOption.remove()},n.selectEmptyOption=function(){n.emptyOption&&(t.val(""),Bn(n.emptyOption,!0))},n.unselectEmptyOption=function(){n.hasEmptyOption&&Bn(n.emptyOption,!1)},e.$on("$destroy",(()=>{n.renderUnknownOption=()=>{}})),n.readValue=function(){const e=t.val(),r=e in n.selectValueMap?n.selectValueMap[e]:e;return n.hasOption(r)?r:null},n.writeValue=function(e){const r=t[0].options[t[0].selectedIndex];if(r&&Bn(_t(r),!1),n.hasOption(e)){n.removeUnknownOption();const r=yt(e);t.val(r in n.selectValueMap?r:e);const i=t[0].options[t[0].selectedIndex];Bn(_t(i),!0)}else n.selectUnknownOrEmptyOption(e)},n.addOption=function(t,e){if(e[0].nodeType===Node.COMMENT_NODE)return;X(t,'"option value"'),""===t&&(n.hasEmptyOption=!0,n.emptyOption=e);const i=r.get(t)||0;r.set(t,i+1),o()},n.removeOption=function(t){const e=r.get(t);e&&(1===e?(r.delete(t),""===t&&(n.hasEmptyOption=!1,n.emptyOption=void 0)):r.set(t,e-1))},n.hasOption=function(t){return!!r.get(t)},n.$hasEmptyOption=function(){return n.hasEmptyOption},n.$isUnknownOptionSelected=function(){return t[0].options[0]===n.unknownOption[0]},n.$isEmptyOptionSelected=function(){return n.hasEmptyOption&&t[0].options[t[0].selectedIndex]===n.emptyOption[0]},n.selectUnknownOrEmptyOption=function(t){null==t&&n.emptyOption?(n.removeUnknownOption(),n.selectEmptyOption()):n.unknownOption.parent().length?n.updateUnknownOption(t):n.renderUnknownOption(t)};let i=!1;function o(){i||(i=!0,e.$$postDigest((()=>{i=!1,n.ngModelCtrl.$render()})))}let s=!1;function a(t){s||(s=!0,e.$$postDigest((()=>{e.$$destroyed||(s=!1,n.ngModelCtrl.$setViewValue(n.readValue()),t&&n.ngModelCtrl.$render())})))}n.registerOption=function(t,e,r,i,s){let l,c;r.$attr.ngValue?r.$observe("value",(t=>{let r;const i=e[0].selected;g(c)&&(n.removeOption(l),delete n.selectValueMap[c],r=!0),c=yt(t),l=t,n.selectValueMap[c]=t,n.addOption(t,e),e.attr("value",c),r&&i&&a()})):i?r.$observe("value",(t=>{let r;n.readValue();const i=e[0].selected;g(l)&&(n.removeOption(l),r=!0),l=t,n.addOption(t,e),r&&i&&a()})):s?t.$watch(s,((t,i)=>{r.$set("value",t);const o=e[0].selected;i!==t&&n.removeOption(i),n.addOption(t,e),i&&o&&a()})):n.addOption(r.value,e),r.$observe("disabled",(t=>{("true"===t||t&&e[0].selected)&&(n.multiple?a(!0):(n.ngModelCtrl.$setViewValue(null),n.ngModelCtrl.$render()))})),e.on("$destroy",(()=>{const t=n.readValue(),e=r.value;n.removeOption(e),o(),(n.multiple&&t&&-1!==t.indexOf(e)||t===e)&&a(!0)}))}}];const Wn=function(){return{restrict:"E",require:["select","?ngModel"],controller:zn,priority:1,link:{pre:function(t,e,n,r){const i=r[0],o=r[1];if(!o)return void(i.registerOption=()=>{});if(i.ngModelCtrl=o,e.on("change",(()=>{i.removeUnknownOption(),t.$apply((()=>{o.$setViewValue(i.readValue())}))})),n.multiple){let n;i.multiple=!0,i.readValue=function(){const t=[];return Array.from(e[0].getElementsByTagName("option")).forEach((e=>{if(e.selected&&!e.disabled){const n=e.value;t.push(n in i.selectValueMap?i.selectValueMap[n]:n)}})),t},i.writeValue=function(t){Array.from(e[0].getElementsByTagName("option")).forEach((e=>{const n=!!t&&(W(t,e.value)||W(t,i.selectValueMap[e.value]));n!==e.selected&&Bn(_t(e),n)}))};let r=NaN;t.$watch((()=>{r!==o.$viewValue||Z(n,o.$viewValue)||(n=dt(o.$viewValue),o.$render()),r=o.$viewValue})),o.$isEmpty=function(t){return!t||0===t.length}}},post:function(t,e,n,r){const i=r[1];if(!i)return;const o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}},Gn=["$interpolate",function(t){return{restrict:"E",priority:100,compile(e,n){let r,i;return g(n.ngValue)||(g(n.value)?r=t(n.value,!0):(i=t(e.text(),!0),i||n.$set("value",e.text()))),function(t,e,n){const o="$selectController",s=e.parent(),a=s.data(o)||s.parent().data(o);a&&a.registerOption(t,e,n,r,i)}}}}];function Kn(){return{restrict:"EA",link:(t,e,n)=>{t.$watch(n.ngBind,(t=>{e[0].textContent=Q(t)}))}}}function Zn(){return{restrict:"EA",link:(t,e,n)=>{n.$observe("ngBindTemplate",(t=>{e[0].textContent=m(t)?"":t}))}}}const Jn=["$parse",t=>({restrict:"A",compile:(e,n)=>{var r=t(n.ngBindHtml),i=t(n.ngBindHtml,(t=>t));return(t,e)=>{t.$watch(i,(()=>{e.html(r(t)||"")}))}}})];function Xn(t,e){var n;return t=`ngClass${t}`,["$parse",s=>({restrict:"EA",link(a,l,c){let u,h=l.data("$classCounts"),d=!0;function p(t,e){const n=[];return D(t,(t=>{(e>0||h[t])&&(h[t]=(h[t]||0)+e,h[t]===+(e>0)&&n.push(t))})),n.join(" ")}h||(h=Y(),l.data("$classCounts",h)),"ngClass"!==t&&(n||(n=s("$index",(function(t){return 1&t}))),a.$watch(n,(function(t){t===e?(n=p(i(n=u),1),c.$addClass(n)):function(t){t=p(i(t),-1),c.$removeClass(t)}(u);var n;d=t}))),a.$watch(s(c[t],o),(function(t){d===e&&function(t,e){const n=i(t),o=i(e),s=r(n,o),a=r(o,n),l=p(s,-1),u=p(a,1);c.$addClass(u),c.$removeClass(l)}(u,t);u=t}))}})];function r(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;const n=[];t:for(let r=0;r<t.length;r++){const i=t[r];for(let t=0;t<e.length;t++)if(i===e[t])continue t;n.push(i)}return n}function i(t){return t&&t.split(" ")}function o(t){if(!t)return t;let e=t;return x(t)?e=t.map(o).join(" "):y(t)?e=Object.keys(t).filter((e=>t[e])).join(" "):v(t)||(e=`${t}`),e}}const Yn=Xn("",!0),Qn=Xn("Odd",0),tr=Xn("Even",1);function er(){return{restrict:"EA",compile(t,e){e.$set("ngCloak",void 0),t[0].classList.remove("ng-cloak")}}}const nr=[()=>({restrict:"A",scope:!0,controller:"@",priority:500})],rr="ng-hide",ir="ng-hide-animate",or=["$animate",t=>({restrict:"A",multiElement:!0,link(e,n,r){e.$watch(r.ngShow,(e=>{t[e?"removeClass":"addClass"](n,rr,{tempClasses:ir})}))}})],sr=["$animate",t=>({restrict:"A",multiElement:!0,link(e,n,r){e.$watch(r.ngHide,(e=>{t[e?"addClass":"removeClass"](n,rr,{tempClasses:ir})}))}})],ar=["$animate",t=>({multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link(e,n,r,i,o){let s,a,l;e.$watch(r.ngIf,(e=>{e?a||o(((e,r)=>{a=r,e[e.length++]=document.createComment(""),s={clone:e},t.enter(e,n.parent(),n)})):(l&&(l.remove(),l=null),a&&(a.$destroy(),a=null),s&&(l=oe(s.clone),t.leave(l).done((t=>{!1!==t&&(l=null)})),s=null))}))}})],lr=["$templateRequest","$anchorScroll","$animate",(t,e,n)=>({restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:()=>{},compile(r,i){const o=i.ngInclude||i.src,s=i.onload||"",a=i.autoscroll;return(r,i,l,c,u)=>{let h,d,p,f=0;const $=()=>{d&&(d.remove(),d=null),h&&(h.$destroy(),h=null),p&&(n.leave(p).done((t=>{!1!==t&&(d=null)})),d=p,p=null)};r.$watch(o,(o=>{const l=function(t){!1===t||!g(a)||a&&!r.$eval(a)||e()},d=++f;o?(t(o,!0).then((t=>{if(r.$$destroyed)return;if(d!==f)return;const e=r.$new();c.template=t;const a=u(e,(t=>{$(),n.enter(t,null,i).done(l)}));h=e,p=a,h.$emit("$includeContentLoaded",o),r.$eval(s)}),(()=>{r.$$destroyed||d===f&&($(),r.$emit("$includeContentError",o))})),r.$emit("$includeContentRequested",o)):($(),c.template=null)}))}}})],cr=["$compile",t=>({restrict:"ECA",priority:-400,require:"ngInclude",link(e,n,r,i){if(toString.call(n[0]).match(/SVG/))return n.empty(),void t(Lt(i.template,window.document).childNodes)(e,(t=>{n.append(t)}),{futureParentElement:n});n.html(i.template),t(n[0].childNodes)(e)}})];function ur(){return{priority:450,compile:()=>({pre(t,e,n){t.$eval(n.ngInit)}})}}function hr(){return{restrict:"EA",terminal:!0,priority:1e3}}const dr=mt("ngRef"),pr=["$parse",t=>({priority:-1,restrict:"A",compile(e,n){const r=wt(z(e)),i=t(n.ngRef),o=i.assign||function(){throw dr("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(t,e,s){let a;if(Object.prototype.hasOwnProperty.call(s,"ngRefRead")){if("$element"===s.ngRefRead)a=e;else if(a=e.data(`$${s.ngRefRead}Controller`),!a)throw dr("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',s.ngRefRead,n.ngRef)}else a=e.data(`$${r}Controller`);a=a||e,o(t,a),e.on("$destroy",(()=>{i(t)===a&&o(t,null)}))}}})],fr=document.createComment(""),$r=["$parse","$animate",(t,e)=>{const n="$$NG_REMOVED",r=mt("ngRepeat"),i=function(t,e,n,r,i,o,s){t[n]=r,i&&(t[i]=o),t.$index=e,t.$first=0===e,t.$last=e===s-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=!(1&e))},o=function(t){return t.clone[0]},s=function(t){return t.clone[t.clone.length-1]},a=function(t,e,n){return yt(n)},l=function(t,e){return e};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(c,u){const h=u.ngRepeat;let d=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!d)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);const p=d[1],f=d[2],m=d[3],g=d[4];if(d=p.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!d)throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",p);const y=d[3]||d[1],v=d[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",m);let w;if(g){var b={$id:yt};const e=t(g);w=function(t,n,r,i){return v&&(b[v]=n),b[y]=r,b.$index=i,e(t,b)}}return function(t,c,u,d,p){let g=Y();t.$watchCollection(f,(u=>{var d,f,x,C,E,O,k,S,A,N,T,M,V=c[0],j=Y();if(m&&(t[m]=u),$(u))A=u,S=w||a;else for(var P in S=w||l,A=[],u)Object.hasOwnProperty.call(u,P)&&"$"!==P.charAt(0)&&A.push(P);for(C=A.length,T=new Array(C),d=0;d<C;d++)if(E=u===A?d:A[d],O=u[E],k=S(t,E,O,d),g[k])N=g[k],delete g[k],j[k]=N,T[d]=N;else{if(j[k])throw D(T,(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}",h,k,O);T[d]={id:k,scope:void 0,clone:void 0},j[k]=!0}for(var L in b&&(b[y]=void 0),g){if(M=oe((N=g[L]).clone),e.leave(M),M[0].parentNode)for(d=0,f=M.length;d<f;d++)M[d][n]=!0;N.scope.$destroy()}for(d=0;d<C;d++)if(E=u===A?d:A[d],O=u[E],(N=T[d]).scope){x=V;do{x=x.nextSibling}while(x&&x[n]);o(N)!==x&&e.move(oe(N.clone),null,V),V=s(N),i(N.scope,d,y,O,v,E,C)}else p(((t,n)=>{N.scope=n;const r=fr.cloneNode(!1);t[t.length++]=r,e.enter(t,null,V),V=r,N.clone=t,j[N.id]=N,i(N.scope,d,y,O,v,E,C)}));g=j}))}}}}];function mr(){return{restrict:"EA",link:(t,e,n)=>{t.$watchCollection(n.ngStyle,((t,n)=>{if(n){const t=Object.keys(n);for(let n=0,r=t.length;n<r;n++)e[0].style[t[n]]=""}if(t){const n=Object.entries(t);for(let t=0,r=n.length;t<r;t++){const[r,i]=n[t];e[0].style[r]=i}}}))}}}const gr=["$animate",t=>({require:"ngSwitch",controller:["$scope",class{constructor(){this.cases={}}}],link(e,n,r,i){const o=r.ngSwitch||r.on;let s=[];const a=[],l=[],c=[],u=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};e.$watch(o,(e=>{let n,r;for(;l.length;)t.cancel(l.pop());for(n=0,r=c.length;n<r;++n){const e=oe(a[n].clone);c[n].$destroy();(l[n]=t.leave(e)).done(u(l,n))}a.length=0,c.length=0,(s=i.cases[`!${e}`]||i.cases["?"])&&D(s,(e=>{e.transclude(((n,r)=>{c.push(r);const i=e.element;n[n.length++]=document.createComment("");const o={clone:n};a.push(o),t.enter(n,i.parent(),i)}))}))}))}})];function yr(){return{transclude:"element",priority:1200,restrict:"EA",require:"^ngSwitch",multiElement:!0,link(t,e,n,r,i){const o=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(((t,e,n)=>n[e-1]!==t));o.forEach((t=>{r.cases[`!${t}`]=r.cases[`!${t}`]||[],r.cases[`!${t}`].push({transclude:i,element:e})}))}}}function vr(){return{restrict:"EA",transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}}const wr=mt("ngOptions"),br=/^\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]+?))?$/,xr=["$compile","$document","$parse",function(t,e,n){const r=window.document.createElement("option"),i=window.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,r){r[0].registerOption=()=>{}},post:function(o,s,a,l){const c=l[0],u=l[1],{multiple:h}=a,d=s.childNodes;for(let t=0,e=d.length;t<e;t++)if(""===d[t].value){c.hasEmptyOption=!0,c.emptyOption=d[t];break}s.empty();const p=!!c.emptyOption;let f;_t(r.cloneNode(!1)).val("?");const m=function(t,e,r){const i=t.match(br);if(!i)throw wr("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,ie(e));const o=i[5]||i[7],s=i[6],a=/ as /.test(i[0])&&i[1],l=i[9],c=n(i[2]?i[1]:o),u=a&&n(a)||c,h=l&&n(l),d=l?function(t,e){return h(r,e)}:function(t){return yt(t)},p=function(t,e){return d(t,w(t,e))},f=n(i[2]||i[1]),m=n(i[3]||""),g=n(i[4]||""),y=n(i[8]),v={};let w=s?function(t,e){return v[s]=e,v[o]=t,v}:function(t){return v[o]=t,v};function b(t,e,n,r,i){this.selectValue=t,this.viewValue=e,this.label=n,this.group=r,this.disabled=i}function x(t){let e;if(!s&&$(t))e=t;else{e=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&"$"!==n.charAt(0)&&e.push(n)}return e}return{trackBy:l,getTrackByValue:p,getWatchables:n(y,(t=>{const e=[],n=x(t=t||[]),o=n.length;for(let s=0;s<o;s++){const o=t===n?s:n[s],a=t[o],l=w(a,o),c=d(a,l);if(e.push(c),i[2]||i[1]){const t=f(r,l);e.push(t)}if(i[4]){const t=g(r,l);e.push(t)}}return e})),getOptions(){const t=[],e={},n=y(r)||[],i=x(n),o=i.length;for(let s=0;s<o;s++){const o=n===i?s:i[s],a=n[o],l=w(a,o),c=u(r,l),h=d(c,l),p=new b(h,c,f(r,l),m(r,l),g(r,l));t.push(p),e[h]=p}return{items:t,selectValueMap:e,getOptionFromViewValue:t=>e[p(t)],getViewValueFromOption:t=>l?structuredClone(t.viewValue):t.viewValue}}}}(a.ngOptions,s,o),y=e[0].createDocumentFragment();function v(t,e){const 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){const e=f.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}c.generateUnknownOptionValue=()=>"?",h?(c.writeValue=function(t){if(!f)return;const e=t&&t.map(w)||[];f.items.forEach((t=>{t.element.selected&&!W(e,t)&&(t.element.selected=!1)}))},c.readValue=function(){const t=s.val()||[],e=[];return D(t,(t=>{const n=f.selectValueMap[t];n&&!n.disabled&&e.push(f.getViewValueFromOption(n))})),e},m.trackBy&&o.$watchCollection((()=>{if(x(u.$viewValue))return u.$viewValue.map((t=>m.getTrackByValue(t)))}),(()=>{u.$render()}))):(c.writeValue=function(t){if(!f)return;const e=s[0].options[s[0].selectedIndex],n=f.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(){const t=f.selectValueMap[s.val()];return t&&!t.disabled?(c.unselectEmptyOption(),c.removeUnknownOption(),f.getViewValueFromOption(t)):null},m.trackBy&&o.$watch((()=>m.getTrackByValue(u.$viewValue)),(()=>{u.$render()}))),p&&(t(c.emptyOption)(o),s.prepend(c.emptyOption),c.emptyOption[0].nodeType===Node.COMMENT_NODE&&(c.hasEmptyOption=!1,c.registerOption=function(t,e){""===e.val()&&(c.hasEmptyOption=!0,c.emptyOption=e,u.$render(),e.on("$destroy",(()=>{const t=c.$isEmptyOptionSelected();c.hasEmptyOption=!1,c.emptyOption=void 0,t&&u.$render()})))})),o.$watchCollection(m.getWatchables,(function(){const t=f&&c.readValue();if(f)for(let t=f.items.length-1;t>=0;t--){const e=f.items[t];g(e.group)?Jt(e.element.parentNode):Jt(e.element)}f=m.getOptions();const e={};if(f.items.forEach((t=>{let n;g(t.group)?(n=e[t.group],n||(n=i.cloneNode(!1),y.appendChild(n),n.label=null===t.group?"null":t.group,e[t.group]=n),v(t,n)):v(t,y)})),s[0].appendChild(y),u.$render(),!u.$isEmpty(t)){const e=c.readValue();(m.trackBy||h?Z(t,e):t===e)||(u.$setViewValue(e),u.$render())}}))}}}}],Cr=mt("ngTransclude"),Er=["$compile",function(t){return{restrict:"EAC",compile:function(e){const n=t(e[0].childNodes);return e.empty(),function(t,e,r,i,o){if(!o)throw Cr("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ie(e));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");const s=r.ngTransclude||r.ngTranscludeSlot;function a(){n(t,(t=>{e.append(t)}))}o((function(t,n){t.length&&function(t){for(let e=0,n=t.length;e<n;e++){const n=t[e];if(n.nodeType!==Node.TEXT_NODE||n.nodeValue.trim())return!0}}(t)?e.append(t):(a(),n.$destroy())}),null,s),s&&!o.isSlotFilled(s)&&a()}}}}];function Or(){return{restrict:"A",priority:100,require:"ngModel",link(t,e,n,r){const i=n.ngList||", ",o="false"!==n.ngTrim,s=o?T(i):i;r.$parsers.push((function(t){if(m(t))return;const e=[];return t&&D(t.split(s),(t=>{t&&e.push(o?T(t):t)})),e})),r.$formatters.push((t=>{if(x(t))return t.join(i)})),r.$isEmpty=function(t){return!t||!t.length}}}}function kr(){return{restrict:"A",require:"ngModel",link(t,e,n,r){r.$viewChangeListeners.push((()=>t.$eval(n.ngChange)))}}}const Sr=/^\/(.+)\/([a-z]*)$/,Ar={};D(Yt,((t,e)=>{if("multiple"===t)return;function n(t,n,i){t.$watch(i[r],(t=>{i.$set(e,!!t)}))}let r=wt(`ng-${e}`),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,0,i)}),Ar[r]=function(){return{restrict:"A",priority:100,link:i}}})),D(u,((t,e)=>{Ar[e]=function(){return{priority:100,link(t,n,r){if("ngPattern"===e&&"/"===r.ngPattern.charAt(0)){const t=r.ngPattern.match(Sr);if(t)return void r.$set("ngPattern",new RegExp(t[1],t[2]))}t.$watch(r[e],(t=>{r.$set(e,t)}))}}}})),D(["src","srcset","href"],(t=>{const e=wt(`ng-${t}`);Ar[e]=["$sce",function(n){return{priority:99,link(r,i,o){let s=t;"href"===t&&"[object SVGAnimatedString]"===toString.call(i[0].href)&&(s="xlinkHref",o.$attr[s]="xlink:href"),o.$set(e,n.getTrustedMediaUrl(o[e])),o.$observe(e,(e=>{e?o.$set(s,e):"href"===t&&o.$set(s,null)}))}}}]}));const Nr=["$parse",t=>({restrict:"A",require:"?ngModel",link(e,n,r,i){if(!i)return;let o=Object.prototype.hasOwnProperty.call(r,"required")||t(r.ngRequired)(e);r.ngRequired||(r.required=!0),i.$validators.required=function(t,e){return!o||!i.$isEmpty(e)},r.$observe("required",(t=>{o!==t&&(o=t,i.$validate())}))}})],Tr=["$parse",function(t){return{restrict:"A",require:"?ngModel",compile:function(e,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&Sr.test(n.ngPattern)?function(){return n.ngPattern}:t(n.ngPattern)),function(t,e,n,o){if(o){var s=n.pattern;n.ngPattern?s=i(t):r=n.pattern;var a=Vr(s,r,e);n.$observe("pattern",(function(t){var n=a;a=Vr(t,r,e),(n&&n.toString())!==(a&&a.toString())&&o.$validate()})),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||m(a)||a.test(e)}}}}}}],Mr=["$parse",t=>({restrict:"A",require:"?ngModel",link(e,n,r,i){if(!i)return;let o=r.maxlength||t(r.ngMaxlength)(e),s=jr(o);r.$observe("maxlength",(t=>{o!==t&&(s=jr(t),o=t,i.$validate())})),i.$validators.maxlength=function(t,e){return s<0||i.$isEmpty(e)||e.length<=s}}})],Dr=["$parse",function(t){return{restrict:"A",require:"?ngModel",link(e,n,r,i){if(!i)return;let o=r.minlength||t(r.ngMinlength)(e),s=jr(o)||-1;r.$observe("minlength",(t=>{o!==t&&(s=jr(t)||-1,o=t,i.$validate())})),i.$validators.minlength=function(t,e){return i.$isEmpty(e)||e.length>=s}}}}];function Vr(t,e,n){if(t){if(v(t)&&(t=new RegExp(`^${t}$`)),!t.test)throw mt("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",e,t,ie(n));return t}}function jr(t){const e=R(t);return _(e)?-1:e}function Pr(){let t=!0;this.disableAutoScrolling=()=>{t=!1},this.$get=["$location","$rootScope",function(e,n){const{document:r}=window;function i(t){if(t){t.scrollIntoView();const e=function(){let t=o.yOffset;if(E(t))t=t();else if(B(t)){const e=t[0];t="fixed"!==window.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom}else w(t)||(t=0);return t}();if(e){const n=t.getBoundingClientRect().top;window.scrollBy(0,n-e)}}else window.scrollTo(0,0)}function o(t){let n;(t=v(t)?t:w(t)?t.toString():e.hash())?(n=r.getElementById(t))||(n=function(t){let e=null;return Array.prototype.some.call(t,(t=>{if("a"===z(t))return e=t,!0})),e}(r.getElementsByName(t)))?i(n):"top"===t&&i(null):i(null)}return t&&n.$watch((()=>e.hash()),((t,e)=>{if(t===e&&""===t)return;const r=()=>n.$evalAsync(o);"complete"===window.document.readyState?window.setTimeout((()=>r())):window.addEventListener("load",(()=>r()))})),o}]}const Lr=mt("$animate"),Ir="ng-animate";function Rr(t,e){return t||e?t?e?(x(t)&&(t=t.join(" ")),x(e)&&(e=e.join(" ")),`${t} ${e}`):t:e:""}function _r(t){return y(t)?t:{}}function Ur(){this.$get=()=>{}}function qr(){const t=new Map,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:()=>{},on:()=>{},off:()=>{},pin:()=>{},push(s,a,l,c){c&&c(),(l=l||{}).from,l.to,(l.addClass||l.removeClass)&&function(n,s,a){const l=t.get(n)||{},c=i(l,s,!0),u=i(l,a,!1);(c||u)&&(t.set(n,l),e.push(n),1===e.length&&r.$$postDigest(o))}(s,l.addClass,l.removeClass);const u=new n;return u.complete(),u}};function i(t,e,n){let r=!1;return e&&D(e=v(e)?e.split(" "):x(e)?e:[],(e=>{e&&(r=!0,t[e]=n)})),r}function o(){D(e,(function(e){var n=t.get(e);if(n){var r=function(t){v(t)&&(t=t.split(" "));const e=Y();return D(t,(t=>{t.length&&(e[t]=!0)})),e}(e.attr("class")),i="",o="";D(n,(function(t,e){t!==!!r[e]&&(t?i+=(i.length?" ":"")+e:o+=(o.length?" ":"")+e)})),D(e,(function(t){o&&o.split(" ").forEach((e=>t.classList.remove(e))),i&&(t.className+=` ${i}`)})),t.delete(e)}})),e.length=0}}]}const Fr=["$provide",function(t){const e=this;let n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Lr("notcsel","Expecting class selector starting with '.' got '{0}'.",n);const i=`${n}-animation`;e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.customFilter=function(t){return 1===arguments.length&&(r=E(t)?t:null),r},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null,n)){if(new RegExp(`[(\\s|\\/)]${Ir}[(\\s|\\/)]`).test(n.toString()))throw n=null,Lr("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ir)}return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){const t=function(t){const{length:e}=t;for(let n=0;n<e;n++){const e=t[n];if(e.nodeType===Node.ELEMENT_NODE)return e}}(n);!t||t.parentNode||t.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel(t){t.cancel&&t.cancel()},enter:(n,r,i,o)=>(r=r&&_t(r),i=i&&_t(i),e(n,r=r||i.parent(),i),t.push(n,"enter",_r(o))),move:(n,r,i,o)=>(r=r&&_t(r),i=i&&_t(i),e(n,r=r||i.parent(),i),t.push(n,"move",_r(o))),leave:(e,n)=>t.push(e,"leave",_r(n),(()=>{e.remove()})),addClass:(e,n,r)=>((r=_r(r)).addClass=Rr(r.addclass,n),t.push(e,"addClass",r)),removeClass:(e,n,r)=>((r=_r(r)).removeClass=Rr(r.removeClass,n),t.push(e,"removeClass",r)),setClass:(e,n,r,i)=>((i=_r(i)).addClass=Rr(i.addClass,n),i.removeClass=Rr(i.removeClass,r),t.push(e,"setClass",i)),animate:(e,n,r,i,o)=>((o=_r(o)).from=o.from?L(o.from,n):n,o.to=o.to?L(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=Rr(o.tempClasses,i),t.push(e,"animate",o))}}]}];let Hr=null;function Br(t,e){const n=this;let{location:r}=window,{history:i}=window;const{setTimeout:o}=window,{clearTimeout:s}=window,a={},l=e(t);let c,u;n.$$completeOutstandingRequest=l.completeTask,n.$$incOutstandingRequestCount=l.incTaskCount,n.notifyWhenNoOutstandingRequests=l.notifyWhenNoPendingTasks;let h=r.href;const d=_t(Array.from(window.document.getElementsByTagName("base")));let p=null;const f=function(){return i.state};v(),n.url=function(t,e,o){if(m(o)&&(o=null),r!==window.location&&(r=window.location),i!==window.history&&(i=window.history),t){const r=u===o;return t=Ne(t).href,h===t&&r?n:(h=t,u=o,i[e?"replaceState":"pushState"](o,"",t),v(),n)}return function(t){return t.replace(/#$/,"")}(p||r.href)},n.state=function(){return c};const $=[];let g=!1;function y(){p=null,w()}function v(){c=f(),c=m(c)?null:c,Z(c,Hr)&&(c=Hr),Hr=c,u=c}function w(){const t=u;v(),h===n.url()&&t===c||(h=n.url(),u=c,D($,(t=>{t(n.url(),c)})))}n.onUrlChange=function(t){return g||(_t(window).on("popstate",y),_t(window).on("hashchange",y),g=!0),$.push(t),t},n.$$applicationDestroyed=function(){_t(window).off("hashchange popstate",y)},n.$$checkUrlChange=w,n.baseHref=function(){const t=d.attr("href");return t?t.replace(/^(https?:)?\/\/[^/]*/,""):""},n.defer=function(t,e,n){let r;return e=e||0,n=n||l.DEFAULT_TASK_TYPE,l.incTaskCount(n),r=o((()=>{delete a[r],l.completeTask(t,n)}),e),a[r]=n,r},n.defer.cancel=function(t){if(Object.prototype.hasOwnProperty.call(a,t)){const e=a[t];return delete a[t],s(t),l.completeTask((()=>{}),e),!0}return!1}}function zr(){this.$get=["$log","$$taskTrackerFactory",function(t,e){return new Br(t,e)}]}function Wr(){this.$get=["$$AnimateRunner",t=>function(e,n){let r,i=n||{};i.$$prepared||(i=structuredClone(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(i.from=null);const o=new t;return{start:s,end:s};function s(){return requestAnimationFrame((()=>{!function(){i.addClass&&(e[0].classList.add(i.addClass),i.addClass=null);i.removeClass&&(e[0].classList.remove(i.removeClass),i.removeClass=null);i.to&&(i.to=null)}(),r||o.complete(),r=!0})),o}}]}function Gr(t){const e=t[0]||{};let n={},r="";function i(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){let t,o,s,a,l;const c=function(t){try{return t.cookie||""}catch(t){return""}}(e);if(c!==r)for(r=c,t=r.split("; "),n={},s=0;s<t.length;s++)o=t[s],a=o.indexOf("="),a>0&&(l=i(o.substring(0,a)),m(n[l])&&(n[l]=i(o.substring(a+1))));return n}}function Kr(){this.$get=Gr}function Zr(){this.$get=[function(){var t=[];function e(e){t.push(e),t.length>1||window.requestAnimationFrame((function(){for(var e=0;e<t.length;e++)t[e]();t=[]}))}return function(){var t=!1;return e((function(){t=!0})),function(n){t?n():e(n)}}}]}function Jr(){this.$get=["$q","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r){function i(t){this.setHost(t);const i=e();this._doneCallbacks=[],this._tick=function(t){n()?function(t){r(t,0,!1)}(t):i(t)},this._state=0}return i.chain=function(t,e){let n=0;!function r(){if(n===t.length)return void e(!0);t[n]((t=>{!1!==t?(n++,r()):e(!1)}))}()},i.all=function(t,e){let n=0,r=!0;function i(i){r=r&&i,++n===t.length&&e(r)}D(t,(t=>{t.done(i)}))},i.prototype={setHost(t){this.host=t||{}},done(t){2===this._state?t():this._doneCallbacks.push(t)},progress:()=>{},getPromise(){if(!this.promise){const e=this;this.promise=t(((t,n)=>{e.done((e=>{!1===e?n():t()}))}))}return this.promise},then(t,e){return this.getPromise().then(t,e)},catch(t){return this.getPromise().catch(t)},finally(t){return this.getPromise().finally(t)},pause(){this.host.pause&&this.host.pause()},resume(){this.host.resume&&this.host.resume()},end(){this.host.end&&this.host.end(),this._resolve(!0)},cancel(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete(t){const e=this;0===e._state&&(e._state=1,e._tick((()=>{e._resolve(t)})))},_resolve(t){2!==this._state&&(D(this._doneCallbacks,(e=>{e(t)})),this._doneCallbacks.length=0,this._state=2)}},i}]}function Xr(){this.$get=function(){const t={};function e(e,n){if(e in t)throw mt("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);let r=0,i=L({},n,{id:e}),o=Y();const s=n&&n.capacity||Number.MAX_VALUE;let a=Y(),l=null,c=null;return t[e]={put(t,e){if(!m(e)){if(s<Number.MAX_VALUE){u(a[t]||(a[t]={key:t}))}return t in o||r++,o[t]=e,r>s&&this.remove(c.key),e}},get(t){if(s<Number.MAX_VALUE){const e=a[t];if(!e)return;u(e)}return o[t]},remove(t){if(s<Number.MAX_VALUE){const e=a[t];if(!e)return;e===l&&(l=e.p),e===c&&(c=e.n),h(e.n,e.p),delete a[t]}t in o&&(delete o[t],r--)},removeAll(){o=Y(),r=0,a=Y(),l=c=null},destroy(){o=null,i=null,a=null,delete t[e]},info:()=>L({},i,{size:r})};function u(t){t!==l&&(c?c===t&&(c=t.n):c=t,h(t.n,t.p),h(t,l),l=t,l.n=null)}function h(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}}return e.info=function(){const e={};return D(t,((t,n)=>{e[n]=t.info()})),e},e.get=function(e){return t[e]},e}}function Yr(){this.$get=["$cacheFactory",t=>t("templates")]}function Qr(){this.$get=[function(){return _t(window.document)}]}function ti(){this.$get=["$document","$rootScope",function(t,e){const n=t[0];let r=n&&n.hidden;function i(){r=n.hidden}return t.on("visibilitychange",i),e.$on("$destroy",(()=>{t.off("visibilitychange",i)})),function(){return r}}]}function ei(){this.$get=["$log",function(t){return function(){t.error.apply(t,arguments)}}]}function ni(){return function(t,e,n,r){if(!$(t)){if(null==t)return t;throw mt("filter")("notarray","Expected array but received: {0}",t)}let i,o;switch(r=r||"$",ii(e)){case"function":i=e;break;case"boolean":case"null":case"number":case"string":o=!0;case"object":i=function(t,e,n,r){const i=y(t)&&n in t;let o;!0===e?e=Z:E(e)||(e=function(t,e){return!m(t)&&(null===t||null===e?t===e:!(y(e)||y(t)&&!H(t))&&(t=f(`${t}`),e=f(`${e}`),-1!==t.indexOf(e)))});return o=function(o){return i&&!y(o)?ri(o,t[n],e,n,!1):ri(o,t,e,n,r)},o}(e,n,r,o);break;default:return t}return Array.prototype.filter.call(t,i)}}function ri(t,e,n,r,i,o){const s=ii(t),a=ii(e);if("string"===a&&"!"===e.charAt(0))return!ri(t,e.substring(1),n,r,i);if(x(t))return t.some((t=>ri(t,e,n,r,i)));switch(s){case"object":var l;if(i){for(l in t)if(l.charAt&&"$"!==l.charAt(0)&&ri(t[l],e,n,r,!0))return!0;return!o&&ri(t,e,n,r,!1)}if("object"===a){for(l in e){const i=e[l];if(E(i)||m(i))continue;const o=l===r;if(!ri(o?t:t[l],i,n,r,o,o))return!1}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function ii(t){return null===t?"null":typeof t}function oi(){return function(t,e){return m(e)&&(e=2),it(t,e)}}function si(){return function(t,e,n){return _(e=Math.abs(Number(e))===1/0?Number(e):R(e))?t:(w(t)&&(t=t.toString()),$(t)?(n=(n=!n||isNaN(n)?0:R(n))<0?Math.max(0,t.length+n):n,e>=0?ai(t,n,n+e):0===n?ai(t,e,t.length):ai(t,Math.max(0,n+e),n)):t)}}function ai(t,e,n){return v(t)?t.slice(e,n):[].slice.call(t,e,n)}function li(t){return function(r,i,o,s){if(null==r)return r;if(!$(r))throw mt("orderBy")("notarray","Expected array but received: {0}",r);x(i)||(i=[i]),0===i.length&&(i=["+"]);const a=i.map((e=>{let n=1,r=q;if(E(e))r=e;else if(v(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e),r.constant))){const t=r();r=function(e){return e[t]}}return{get:r,descending:n}}));const l=o?-1:1,c=E(s)?s:n,u=Array.prototype.map.call(r,(function(t,n){return{value:t,tieBreaker:{value:n,type:"number",index:n},predicateValues:a.map((r=>function(t,n){let r=typeof t;null===t?r="null":"object"===r&&(t=function(t){if(E(t.valueOf)&&e(t=t.valueOf()))return t;if(H(t)&&e(t=t.toString()))return t;return t}(t));return{value:t,type:r,index:n}}(r.get(t),n)))}}));return u.sort((function(t,e){for(let n=0,r=a.length;n<r;n++){const r=c(t.predicateValues[n],e.predicateValues[n]);if(r)return r*a[n].descending*l}return(c(t.tieBreaker,e.tieBreaker)||n(t.tieBreaker,e.tieBreaker))*l})),r=u.map((t=>t.value))};function e(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function n(t,e){let n=0;const r=t.type,i=e.type;if(r===i){let i=t.value,o=e.value;"string"===r?(i=i.toLowerCase(),o=o.toLowerCase()):"object"===r&&(y(i)&&(i=t.index),y(o)&&(o=e.index)),i!==o&&(n=i<o?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i||r<i?-1:1;return n}}function ci(t){const e="Filter";function n(r,i){if(y(r)){const t={};return D(r,((e,r)=>{t[r]=n(r,e)})),t}return t.factory(r+e,i)}this.register=n,this.$get=["$injector",function(t){return function(n){return t.get(n+e)}}],n("filter",ni),n("json",oi),n("limitTo",si),n("orderBy",li)}function ui(){let t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return di((t=>{e.$evalAsync(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return g(e)?(t=e,this):t}}function hi(){let t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return di((t=>{e.defer(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return g(e)?(t=e,this):t}}function di(t,e,n){const r=mt("$q");let i=0;const o=[];function s(){return new a}function a(){const t=this.promise=new l;this.resolve=function(e){h(t,e)},this.reject=function(e){p(t,e)},this.notify=function(e){$(t,e)}}function l(){this.$$state={status:0}}function c(){for(;!i&&o.length;){const t=o.shift();if(!pi(t)){fi(t);const n=`Possibly unhandled rejection: ${gt(t.value)}`;C(t.value)?e(t.value,n):e(n)}}}function u(r){!n||r.pending||2!==r.status||pi(r)||(0===i&&0===o.length&&t(c),o.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++i,t((()=>{!function(r){let o,s,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(let t=0,n=a.length;t<n;++t){fi(r),s=a[t][0],o=a[t][r.status];try{E(o)?h(s,o(r.value)):1===r.status?h(s,r.value):p(s,r.value)}catch(t){p(s,t),t&&!0===t.$$passToExceptionHandler&&e(t)}}}finally{--i,n&&0===i&&t(c)}}(r)})))}function h(t,e){t.$$state.status||(e===t?f(t,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):d(t,e))}function d(t,e){let n,r=!1;try{(y(e)||E(e))&&(n=e.then),E(n)?(t.$$state.status=-1,n.call(e,(function(e){if(r)return;r=!0,d(t,e)}),i,(function(e){$(t,e)}))):(t.$$state.value=e,t.$$state.status=1,u(t.$$state))}catch(t){i(t)}function i(e){r||(r=!0,f(t,e))}}function p(t,e){t.$$state.status||f(t,e)}function f(t,e){t.$$state.value=e,t.$$state.status=2,u(t.$$state)}function $(n,r){const i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&t((()=>{let t,n;for(let o=0,s=i.length;o<s;o++){n=i[o][0],t=i[o][3];try{$(n,E(t)?t(r):r)}catch(t){e(t)}}}))}function g(t){const e=new l;return p(e,t),e}function v(t,e,n){let r=null;try{E(n)&&(r=n())}catch(t){return g(t)}return N(r)?r.then((()=>e(t)),g):e(t)}function w(t,e,n,r){const i=new l;return h(i,t),i.then(e,n,r)}L(l.prototype,{then(t,e,n){if(m(t)&&m(e)&&m(n))return this;const r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,t,e,n]),this.$$state.status>0&&u(this.$$state),r},catch(t){return this.then(null,t)},finally(t,e){return this.then((e=>v(e,b,t)),(e=>v(e,g,t)),e)}});let b=w;function O(t){if(!E(t))throw r("norslvr","Expected resolverFn, got '{0}'",t);const e=new l;return t((function(t){h(e,t)}),(function(t){p(e,t)})),e}return O.prototype=l.prototype,O.defer=s,O.reject=g,O.when=w,O.resolve=b,O.all=function(t){const e=new l;let n=0;const r=x(t)?[]:{};return D(t,((t,i)=>{n++,w(t).then((t=>{r[i]=t,--n||h(e,r)}),(t=>{p(e,t)}))})),0===n&&h(e,r),e},O.race=function(t){const e=s();return D(t,(t=>{w(t).then(e.resolve,e.reject)})),e.promise},O}function pi(t){return!!t.pur}function fi(t){t.pur=!0}function $i(t){t.$$state&&fi(t.$$state)}Gr.$inject=["$document"],li.$inject=["$parse"],ci.$inject=["$provide"];const mi=mt("$interval");function gi(){this.$get=["$$intervalFactory",function(t){const e={},n=function(t){window.clearInterval(t),delete e[t]},r=t((function(t,n,r){const i=window.setInterval(t,n);return e[i]=r,i}),n);return r.cancel=function(t){if(!t)return!1;if(!Object.prototype.hasOwnProperty.call(t,"$$intervalId"))throw mi("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!Object.prototype.hasOwnProperty.call(e,t.$$intervalId))return!1;const r=t.$$intervalId,i=e[r];return $i(i.promise),i.reject("canceled"),n(r),!0},r}]}const yi=mt("$interpolate");function vi(){let 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,r,i){const o=t.length,s=e.length,a=new RegExp(t.replace(/./g,c),"g"),l=new RegExp(e.replace(/./g,c),"g");function c(t){return`\\\\\\${t}`}function u(n){return n.replace(a,t).replace(l,e)}function h(t,e,n,r){const i=t.$watch((t=>(i(),r(t))),e,n);return i}function d(a,l,c,d){const p=c===i.URL||c===i.MEDIA_URL;if(!a.length||-1===a.indexOf(t)){if(l)return;let t=u(a);p&&(t=i.getTrusted(c,t));const e=F(t);return e.exp=a,e.expressions=[],e.$$watchDelegate=h,e}let f,$;d=!!d;let y=0;const v=[];let w;const b=a.length;let x;const C=[],E=[];let O;for(;y<b;){if(-1===(f=a.indexOf(t,y))||-1===($=a.indexOf(e,f+o))){y!==b&&C.push(u(a.substring(y)));break}y!==f&&C.push(u(a.substring(y,f))),x=a.substring(f+o,$),v.push(x),y=$+s,E.push(C.length),C.push("")}O=1===C.length&&1===E.length;const k=p&&O?void 0:function(t){try{return t=c&&!p?i.getTrusted(c,t):i.valueOf(t),d&&!g(t)?t:Q(t)}catch(t){r(yi.interr(a,t))}};if(w=v.map((t=>n(t,k))),!l||v.length){const t=function(t){for(let e=0,n=v.length;e<n;e++){if(d&&m(t[e]))return;C[E[e]]=t[e]}return p?i.getTrusted(c,O?C[0]:C.join("")):(c&&C.length>1&&yi.throwNoconcat(a),C.join(""))};return L((e=>{let n=0;const i=v.length,o=new Array(i);try{for(;n<i;n++)o[n]=w[n](e);return t(o)}catch(t){r(yi.interr(a,t))}}),{exp:a,expressions:v,$$watchDelegate(e,n){let r;return e.$watchGroup(w,(function(i,o){const s=t(i);n.call(this,s,i!==o?r:s,e),r=s}))}})}}return d.startSymbol=function(){return t},d.endSymbol=function(){return e},d}]}function wi(){this.$get=["$browser","$q","$$q","$rootScope",function(t,e,n,r){return function(i,o){return function(s,a,l,c){const u=arguments.length>4,h=u?et(arguments,4):[];let d=0;const p=g(c)&&!c,f=(p?n:e).defer(),{promise:$}=f;function m(){u?s.apply(null,h):s(d)}return l=g(l)?l:0,$.$$intervalId=i((function(){p?t.defer(m):r.$evalAsync(m),f.notify(d++),l>0&&d>=l&&(f.resolve(d),o($.$$intervalId)),p||r.$apply()}),a,f,p),$}}}]}yi.throwNoconcat=function(t){throw yi("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)},yi.interr=function(t,e){throw yi("interr","Can't interpolate: {0}\n{1}",t,e.toString())};const bi="application/json",xi={"Content-Type":`${bi};charset=utf-8`},Ci=/^\[|^\{(?!\{)/,Ei={"[":/]$/,"{":/}$/},Oi=/^\)]\}',?\n/,ki=mt("$http");function Si(t){return y(t)?b(t)?t.toISOString():it(t):t}function Ai(){this.$get=function(){return function(t){if(!t)return"";const e=[];return V(t,((t,n)=>{null===t||m(t)||E(t)||(x(t)?D(t,(t=>{e.push(`${ut(n)}=${ut(Si(t))}`)})):e.push(`${ut(n)}=${ut(Si(t))}`))})),e.join("&")}}}function Ni(){this.$get=function(){return function(t){if(!t)return"";const e=[];return function t(n,r,i){x(n)?D(n,((e,n)=>{t(e,`${r}[${y(e)?n:""}]`)})):y(n)&&!b(n)?V(n,((e,n)=>{t(e,r+(i?"":"[")+n+(i?"":"]"))})):(E(n)&&(n=n()),e.push(`${ut(r)}=${null==n?"":ut(Si(n))}`))}(t,"",!0),e.join("&")}}}function Ti(t,e){if(v(t)){const n=t.replace(Oi,"").trim();if(n){const r=e("Content-Type"),i=r&&0===r.indexOf(bi);if(i||function(t){const e=t.match(Ci);return e&&Ei[e[0]].test(t)}(n))try{t=ot(n)}catch(e){if(!i)return t;throw ki("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',t,e)}}}return t}function Mi(t){const e=Y();let n;function r(t,n){t&&(e[t]=e[t]?`${e[t]}, ${n}`:n)}return v(t)?D(t.split("\n"),(t=>{n=t.indexOf(":"),r(f(T(t.substr(0,n))),T(t.substr(n+1)))})):y(t)&&D(t,((t,e)=>{r(f(e),T(t))})),e}function Di(t){let e;return function(n){if(e||(e=Mi(t)),n){let t=e[f(n)];return void 0===t&&(t=null),t}return e}}function Vi(t,e,n,r){return E(r)?r(t,e,n):(D(r,(r=>{t=r(t,e,n)})),t)}function ji(t){return t>=200&&t<300}function Pi(){const t=this.defaults={transformResponse:[Ti],transformRequest:[function(t){return!y(t)||(e=t,"[object File]"===toString.call(e))||function(t){return"[object Blob]"===toString.call(t)}(t)||function(t){return"[object FormData]"===toString.call(t)}(t)?t:it(t);var e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:dt(xi),put:dt(xi),patch:dt(xi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"};let e=!1;this.useApplyAsync=function(t){return g(t)?(e=!!t,this):e};const n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get(){return this.xsrfTrustedOrigins},set(t){this.xsrfTrustedOrigins=t}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,o,s,a,l,c,u,h){const d=a("$http");t.paramSerializer=v(t.paramSerializer)?u.get(t.paramSerializer):t.paramSerializer;const p=[];D(n,(t=>{p.unshift(v(t)?u.get(t):u.invoke(t))}));const $=function(t){const e=[Se].concat(t.map(Ne));return function(t){const n=Ne(t);return e.some(Me.bind(null,n))}}(r);function w(n){if(!y(n))throw mt("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!v(h.valueOf(n.url)))throw mt("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);const r=L({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer},n);var a;r.headers=function(e){let n=t.headers,r=L({},e.headers);return n=L({},n.common,n[f(e.method)]),Object.keys(n).forEach((t=>{r[f(t)]||(r[t]=n[t])})),function(t,e){let n;const r={};return D(t,((t,i)=>{E(t)?(n=t(e),null!=n&&(r[i]=n)):r[i]=t})),r}(r,dt(e))}(n),r.method=v(a=r.method)?a.toUpperCase():a,r.paramSerializer=v(r.paramSerializer)?u.get(r.paramSerializer):r.paramSerializer,i.$$incOutstandingRequestCount("$http");const b=[],C=[];let O=c.resolve(r);return D(p,(t=>{(t.request||t.requestError)&&b.unshift(t.request,t.requestError),(t.response||t.responseError)&&C.push(t.response,t.responseError)})),O=k(O,b),O=O.then((function(n){const{headers:r}=n,i=Vi(n.data,Di(r),void 0,n.transformRequest);m(i)&&D(r,((t,e)=>{"content-type"===f(e)&&delete r[e]}));m(n.withCredentials)&&!m(t.withCredentials)&&(n.withCredentials=t.withCredentials);return function(n,r){const i=c.defer(),{promise:a}=i;let u,p;const f=n.headers;let{url:b}=n;v(b)||(b=h.valueOf(b));b=function(t,e){e.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+e);return t}(b,n.paramSerializer(n.params)),w.pendingRequests.push(n),a.then(S,S),(n.cache||t.cache)&&!1!==n.cache&&"GET"===n.method&&(u=y(n.cache)?n.cache:y(t.cache)?t.cache:d);u&&(p=u.get(b),g(p)?N(p)?p.then(k,k):x(p)?O(p[1],p[0],dt(p[2]),p[3],p[4]):O(p,200,{},"OK","complete"):u.put(b,a));if(m(p)){const e=$(n.url)?s()[n.xsrfCookieName||t.xsrfCookieName]:void 0;e&&(f[n.xsrfHeaderName||t.xsrfHeaderName]=e),o(n.method,b,r,E,f,n.timeout,n.withCredentials,n.responseType,C(n.eventHandlers),C(n.uploadEventHandlers))}return a;function C(t){if(t){const n={};return D(t,((t,r)=>{n[r]=function(n){function r(){t(n)}e?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}})),n}}function E(t,n,r,i,o){function s(){O(n,t,r,i,o)}u&&(ji(t)?u.put(b,[t,n,Mi(r),i,o]):u.remove(b)),e?l.$applyAsync(s):(s(),l.$$phase||l.$apply())}function O(t,e,r,o,s){(ji(e=e>=-1?e:0)?i.resolve:i.reject)({data:t,status:e,headers:Di(r),config:n,statusText:o,xhrStatus:s})}function k(t){O(t.data,t.status,dt(t.headers()),t.statusText,t.xhrStatus)}function S(){const t=w.pendingRequests.indexOf(n);-1!==t&&w.pendingRequests.splice(t,1)}}(n,i).then(S,S)})),O=k(O,C),O=O.finally((function(){i.$$completeOutstandingRequest((()=>{}),"$http")})),O;function k(t,e){for(let n=0,r=e.length;n<r;){const r=e[n++],i=e[n++];t=t.then(r,i)}return e.length=0,t}function S(t){const e=L({},t);return e.data=Vi(t.data,t.headers,t.status,r.transformResponse),ji(t.status)?e:c.reject(e)}}return w.pendingRequests=[],function(...t){t.forEach((t=>{w[t]=function(e,n){return w(L({},n||{},{method:t,url:e}))}}))}("get","delete","head"),function(...t){t.forEach((t=>{w[t]=function(e,n,r){return w(L({},r||{},{method:t,url:e,data:n}))}}))}("post","put","patch"),w.defaults=t,w}]}function Li(){this.$get=()=>function(){return new window.XMLHttpRequest}}function Ii(){this.$get=["$browser","$xhrFactory",function(t,e){return function(t,e,n){return function(r,i,o,s,a,l,c,u,h,d){i=i||t.url();let p=e(r,i),f=!1;if(p.open(r,i,!0),D(a,((t,e)=>{g(t)&&p.setRequestHeader(e,t)})),p.onload=function(){const t=p.statusText||"",e="response"in p?p.response:p.responseText;let n=p.status;0===n&&(n=e?200:"file"===Ne(i).protocol?404:0),v(s,n,e,p.getAllResponseHeaders(),t,"complete")},p.onerror=function(){v(s,-1,null,null,"","error")},p.ontimeout=function(){v(s,-1,null,null,"","timeout")},p.onabort=function(){v(s,-1,null,null,"",f?"timeout":"abort")},D(h,((t,e)=>{p.addEventListener(e,t)})),D(d,((t,e)=>{p.upload.addEventListener(e,t)})),c&&(p.withCredentials=!0),u)try{p.responseType=u}catch(t){if("json"!==u)throw t}if(p.send(m(o)?null:o),l>0)var $=n((()=>{y("timeout")}),l);else N(l)&&l.then((()=>{y(g(l.$$timeoutId)?"timeout":"abort")}));function y(t){f="timeout"===t,p&&p.abort()}function v(t,e,r,i,o,s){g($)&&n.cancel($),p=null,t(e,r,i,o,s)}}}(t,e,t.defer)}]}const Ri=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,_i={http:80,https:443,ftp:21},Ui=mt("$location");function qi(t,e,n){const r=function(t){const e=[];return D(t,((t,n)=>{x(t)?D(t,(t=>{e.push(ut(n,!0)+(!0===t?"":`=${ut(t,!0)}`))})):e.push(ut(n,!0)+(!0===t?"":`=${ut(t,!0)}`))})),e.length?e.join("&"):""}(e),i=n?`#${ct(n)}`:"";return function(t){const e=t.split("/");let n=e.length;for(;n--;)e[n]=ct(e[n].replace(/%2F/g,"/"));return e.join("/")}(t)+(r?`?${r}`:"")+i}function Fi(t,e){const n=Ne(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=R(n.port)||_i[n.protocol]||null}const Hi=/^\s*[\\/]{2,}/;function Bi(t,e,n){if(Hi.test(t))throw Ui("badpath",'Invalid url "{0}".',t);const r="/"!==t.charAt(0);r&&(t=`/${t}`);const i=Ne(t),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;e.$$path=function(t,e){const n=t.split("/");let r=n.length;for(;r--;)n[r]=decodeURIComponent(n[r]),e&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),e.$$search=at(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path=`/${e.$$path}`)}function zi(t,e){return t.slice(0,e.length)===e}function Wi(t,e){if(zi(e,t))return e.substr(t.length)}function Gi(t){const e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function Ki(t,e,n){this.$$html5=!0,n=n||"",Fi(t,this),this.$$parse=function(t){const n=Wi(e,t);if(!v(n))throw Ui("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Bi(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(t){return e+t.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;let o,s,a;return g(o=Wi(t,r))?(s=o,a=n&&g(o=Wi(n,o))?e+(Wi("/",o)||o):t+s):g(o=Wi(e,r))?a=e+o:e===`${r}/`&&(a=e),a&&this.$$parse(a),!!a}}function Zi(t,e,n){Fi(t,this),this.$$parse=function(r){const i=Wi(t,r)||Wi(e,r);let o;m(i)||"#"!==i.charAt(0)?this.$$html5?o=i:(o="",m(i)&&(t=r,this.replace())):(o=Wi(n,i),m(o)&&(o=i)),Bi(o,this,!1),this.$$path=function(t,e,n){const r=/^\/[A-Z]:(\/.*)/;let i;zi(e,n)&&(e=e.replace(n,""));if(r.exec(e))return t;return i=r.exec(t),i?i[1]:t}(this.$$path,o,t),this.$$compose()},this.$$normalizeUrl=function(e){return t+(e?n+e:"")},this.$$parseLinkUrl=function(e){return Gi(t)===Gi(e)&&(this.$$parse(e),!0)}}const Ji={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose(){this.$$url=qi(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:Xi("$$absUrl"),url(t){if(m(t))return this.$$url;const e=Ri.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:Xi("$$protocol"),host:Xi("$$host"),port:Xi("$$port"),path:Yi("$$path",(t=>"/"===(t=null!==t?t.toString():"").charAt(0)?t:`/${t}`)),search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(v(t)||w(t))t=t.toString(),this.$$search=at(t);else{if(!y(t))throw Ui("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");D(t=structuredClone(t,{}),((e,n)=>{null==e&&delete t[n]})),this.$$search=t}break;default:m(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:Yi("$$hash",(t=>null!==t?t.toString():"")),replace(){return this.$$replace=!0,this}};function Xi(t){return function(){return this[t]}}function Yi(t,e){return function(n){return m(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Qi(){let t="!";const e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return g(e)?(t=e,this):t},this.html5Mode=function(t){return A(t)?(e.enabled=t,this):y(t)?(A(t.enabled)&&(e.enabled=t.enabled),A(t.requireBase)&&(e.requireBase=t.requireBase),(A(t.rewriteLinks)||v(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$rootElement",function(n,r,i){let o,s;const a=r.baseHref(),l=r.url();let c;if(e.enabled){if(!a&&e.requireBase)throw Ui("nobase","$location in HTML5 mode requires a <base> tag to be present!");c=(u=l).substring(0,u.indexOf("/",u.indexOf("//")+2))+(a||"/"),s=Ki}else c=Gi(l),s=Zi;var u;const h=function(t){return t.substr(0,Gi(t).lastIndexOf("/")+1)}(c);o=new s(c,h,`#${t}`),o.$$parseLinkUrl(l,l),o.$$state=r.state();const d=/^\s*(javascript|mailto):/i;function p(t,e,n){const i=o.url(),s=o.$$state;try{r.url(t,e,n),o.$$state=r.state()}catch(t){throw o.url(i),o.$$state=s,t}}i.on("click",(t=>{const{rewriteLinks:s}=e;if(!s||t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let a=_t(t.target);for(;"a"!==a[0].nodeName.toLowerCase();)if(a[0]===i[0]||!(a=a.parent())[0])return;if(v(s)&&m(a.attr(s)))return;let l=a[0].href;const c=a.attr("href")||a.attr("xlink:href");y(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=Ne(l.animVal).href),d.test(l)||!l||a.attr("target")||t.isDefaultPrevented()||o.$$parseLinkUrl(l,c)&&(t.preventDefault(),o.absUrl()!==r.url()&&n.$apply())})),o.absUrl()!==l&&r.url(o.absUrl(),!0);let f=!0;return r.onUrlChange(((t,e)=>{zi(t,h)?(n.$evalAsync((()=>{const r=o.absUrl(),i=o.$$state;let s;o.$$parse(t),o.$$state=e,s=n.$broadcast("$locationChangeStart",t,r,e,i).defaultPrevented,o.absUrl()===t&&(s?(o.$$parse(r),o.$$state=i,p(r,!1,i)):(f=!1,$(r,i)))})),n.$$phase||n.$digest()):window.location.href=t})),n.$watch((()=>{if(f||o.$$urlUpdatedByLocation){o.$$urlUpdatedByLocation=!1;const i=r.url(),s=o.absUrl(),a=r.state(),l=o.$$replace,c=!((t=i)===(e=s)||Ne(t).href===Ne(e).href)||o.$$html5&&a!==o.$$state;(f||c)&&(f=!1,n.$evalAsync((()=>{const t=o.absUrl(),{defaultPrevented:e}=n.$broadcast("$locationChangeStart",t,i,o.$$state,a);o.absUrl()===t&&(e?(o.$$parse(i),o.$$state=a):(c&&p(t,l,a===o.$$state?null:o.$$state),$(i,a)))})))}var t,e;o.$$replace=!1})),o;function $(t,e){n.$broadcast("$locationChangeSuccess",o.absUrl(),t,o.$$state,e)}}]}D([function(t,e,n){this.$$html5=!0,Zi.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;let o,s;return t===Gi(r)?o=r:(s=Wi(e,r))?o=t+n+s:e===`${r}/`&&(o=e),o&&this.$$parse(o),!!o},this.$$normalizeUrl=function(e){return t+n+e}},Zi,Ki],(t=>{t.prototype=Object.create(Ji),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==Ki||!this.$$html5)throw Ui("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=m(e)?null:e,this.$$urlUpdatedByLocation=!0,this}}));class to{constructor(){this.debug=!0}debugEnabled(t){return void 0!==t?(this.debug=t,this):this.debug}formatError(t){return C(t)&&(t.stack?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}consoleLog(t){const e=window.console||{},n=e[t]||e.log||(()=>{});return(...t)=>{const r=t.map((t=>this.formatError(t)));return n.apply(e,r)}}$get(){return{log:this.consoleLog("log"),info:this.consoleLog("info"),warn:this.consoleLog("warn"),error:this.consoleLog("error"),debug:(()=>{const t=this.consoleLog("debug");return(...e)=>{this.debug&&t.apply(this,e)}})()}}}const eo=mt("$parse"),no={}.constructor.prototype.valueOf;function ro(t){return`${t}`}const io=Y();"+ - * / % === !== == != < > <= >= && || ! = |".split(" ").forEach((t=>io[t]=!0));const oo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},so=function(t){this.options=t};so.prototype={constructor:so,lex(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){const t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{const e=t+this.peek(),n=e+this.peek(2),r=io[t],i=io[e],o=io[n];if(r||i||o){const r=o?n:i?e:t;this.tokens.push({index:this.index,text:r,operator:!0}),this.index+=r.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:(t,e)=>-1!==e.indexOf(t),peek(t){const e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:t=>t>="0"&&t<="9"&&"string"==typeof t,isWhitespace:t=>" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===t||" "===t,isIdentifierStart(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:t=>t>="a"&&t<="z"||t>="A"&&t<="Z"||"_"===t||"$"===t,isIdentifierContinue(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue(t){return this.isValidIdentifierStart(t)||this.isNumber(t)},codePointAt:t=>1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888,peekMultichar(){const t=this.text.charAt(this.index),e=this.peek();if(!e)return t;const n=t.charCodeAt(0),r=e.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator(t){return"-"===t||"+"===t||this.isNumber(t)},throwError(t,e,n){n=n||this.index;const r=g(e)?`s ${e}-${this.index} [${this.text.substring(e,n)}]`:` ${n}`;throw eo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber(){let t="";const e=this.index;for(;this.index<this.text.length;){const e=f(this.text.charAt(this.index));if("."===e||this.isNumber(e))t+=e;else{const n=this.peek();if("e"===e&&this.isExpOperator(n))t+=e;else if(this.isExpOperator(e)&&n&&this.isNumber(n)&&"e"===t.charAt(t.length-1))t+=e;else{if(!this.isExpOperator(e)||n&&this.isNumber(n)||"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(){const t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){const t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString(t){const e=this.index;this.index++;let n="",r=t,i=!1;for(;this.index<this.text.length;){const o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){const t=this.text.substring(this.index+1,this.index+5);t.match(/[\da-f]{4}/i)||this.throwError(`Invalid unicode escape [\\u${t}]`),this.index+=4,n+=String.fromCharCode(parseInt(t,16))}else{n+=oo[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};const ao={Program:"Program",ExpressionStatement:"ExpressionStatement",AssignmentExpression:"AssignmentExpression",ConditionalExpression:"ConditionalExpression",LogicalExpression:"LogicalExpression",BinaryExpression:"BinaryExpression",UnaryExpression:"UnaryExpression",CallExpression:"CallExpression",MemberExpression:"MemberExpression",Identifier:"Identifier",Literal:"Literal",ArrayExpression:"ArrayExpression",Property:"Property",ObjectExpression:"ObjectExpression",ThisExpression:"ThisExpression",LocalsExpression:"LocalsExpression",NGValueParameter:"NGValueParameter"};function lo(t,e){this.lexer=t,this.options=e}function co(t,e){return void 0!==t?t:e}function uo(t,e){return void 0===t?e:void 0===e?t:t+e}lo.prototype={ast(t){this.text=t,this.tokens=this.lexer.lex(t);const e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program(){const t=[];let e=!0;for(;e;)this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),this.expect(";")||(e=!1);return{type:ao.Program,body:t}},expressionStatement(){return{type:ao.ExpressionStatement,expression:this.filterChain()}},filterChain(){let t=this.expression();for(;this.expect("|");)t=this.filter(t);return t},expression(){return this.assignment()},assignment(){let t=this.ternary();if(this.expect("=")){if(!mo(t))throw eo("lval","Trying to assign a value to a non l-value");t={type:ao.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary(){const t=this.logicalOR();let e,n;return this.expect("?")&&(e=this.expression(),this.consume(":"))?(n=this.expression(),{type:ao.ConditionalExpression,test:t,alternate:e,consequent:n}):t},logicalOR(){let t=this.logicalAND();for(;this.expect("||");)t={type:ao.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND(){let t=this.equality();for(;this.expect("&&");)t={type:ao.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality(){let t,e=this.relational();for(;t=this.expect("==","!=","===","!==");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational(){let t,e=this.additive();for(;t=this.expect("<",">","<=",">=");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive(){let t,e=this.multiplicative();for(;t=this.expect("+","-");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative(){let t,e=this.unary();for(;t=this.expect("*","/","%");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary(){let t;return(t=this.expect("+","-","!"))?{type:ao.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary(){let t,e;for(this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():Object.prototype.hasOwnProperty.call(this.selfReferential,this.peek().text)?t=structuredClone(this.selfReferential[this.consume().text]):Object.prototype.hasOwnProperty.call(this.options.literals,this.peek().text)?t={type:ao.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("(","[",".");)"("===e.text?(t={type:ao.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:ao.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:ao.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter(t){const e=[t],n={type:ao.CallExpression,callee:this.identifier(),arguments:e,filter:!0};for(;this.expect(":");)e.push(this.expression());return n},parseArguments(){const t=[];if(")"!==this.peekToken().text)do{t.push(this.filterChain())}while(this.expect(","));return t},identifier(){const t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:ao.Identifier,name:t.text}},constant(){return{type:ao.Literal,value:this.consume().value}},arrayDeclaration(){const t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:ao.ArrayExpression,elements:t}},object(){const t=[];let e;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ao.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:ao.ObjectExpression,properties:t}},throwError(t,e){throw eo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume(t){if(0===this.tokens.length)throw eo("ueoe","Unexpected end of expression: {0}",this.text);const e=this.expect(t);return e||this.throwError(`is unexpected, expecting [${t}]`,this.peek()),e},peekToken(){if(0===this.tokens.length)throw eo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead(t,e,n,r,i){if(this.tokens.length>t){const o=this.tokens[t],s=o.text;if(s===e||s===n||s===r||s===i||!e&&!n&&!r&&!i)return o}return!1},expect(t,e,n,r){const i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:ao.ThisExpression},$locals:{type:ao.LocalsExpression}}};const ho=1,po=2;function fo(t,e,n){let r,i,o;const s=t.isPure=function(t,e){switch(t.type){case ao.MemberExpression:if(t.computed)return!1;break;case ao.UnaryExpression:return ho;case ao.BinaryExpression:return"+"!==t.operator&&ho;case ao.CallExpression:return!1}return void 0===e?po:e}(t,n);switch(t.type){case ao.Program:r=!0,D(t.body,(t=>{fo(t.expression,e,s),r=r&&t.expression.constant})),t.constant=r;break;case ao.Literal:t.constant=!0,t.toWatch=[];break;case ao.UnaryExpression:fo(t.argument,e,s),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case ao.BinaryExpression:fo(t.left,e,s),fo(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case ao.LogicalExpression:fo(t.left,e,s),fo(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case ao.ConditionalExpression:fo(t.test,e,s),fo(t.alternate,e,s),fo(t.consequent,e,s),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case ao.Identifier:t.constant=!1,t.toWatch=[t];break;case ao.MemberExpression:fo(t.object,e,s),t.computed&&fo(t.property,e,s),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=t.constant?[]:[t];break;case ao.CallExpression:o=!!t.filter&&function(t,e){return!t(e).$stateful}(e,t.callee.name),r=o,i=[],D(t.arguments,(t=>{fo(t,e,s),r=r&&t.constant,i.push.apply(i,t.toWatch)})),t.constant=r,t.toWatch=o?i:[t];break;case ao.AssignmentExpression:fo(t.left,e,s),fo(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case ao.ArrayExpression:r=!0,i=[],D(t.elements,(t=>{fo(t,e,s),r=r&&t.constant,i.push.apply(i,t.toWatch)})),t.constant=r,t.toWatch=i;break;case ao.ObjectExpression:r=!0,i=[],D(t.properties,(t=>{fo(t.value,e,s),r=r&&t.value.constant,i.push.apply(i,t.value.toWatch),t.computed&&(fo(t.key,e,!1),r=r&&t.key.constant,i.push.apply(i,t.key.toWatch))})),t.constant=r,t.toWatch=i;break;case ao.ThisExpression:case ao.LocalsExpression:t.constant=!1,t.toWatch=[]}}function $o(t){if(1!==t.length)return;const e=t[0].expression,n=e.toWatch;return 1!==n.length||n[0]!==e?n:void 0}function mo(t){return t.type===ao.Identifier||t.type===ao.MemberExpression}function go(t){if(1===t.body.length&&mo(t.body[0].expression))return{type:ao.AssignmentExpression,left:t.body[0].expression,right:{type:ao.NGValueParameter},operator:"="}}function yo(t){this.$filter=t}function vo(t){this.$filter=t}yo.prototype={compile(t){const e=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},fo(t,e.$filter);let n,r="";if(this.stage="assign",n=go(t)){this.state.computing="assign";const t=this.nextId();this.recurse(n,t),this.return_(t),r=`fn.assign=${this.generateFunction("assign","s,v,l")}`}const i=$o(t.body);e.stage="inputs",D(i,((t,n)=>{const r=`fn${n}`;e.state[r]={vars:[],body:[],own:{}},e.state.computing=r;const i=e.nextId();e.recurse(t,i),e.return_(i),e.state.inputs.push({name:r,isPure:t.isPure}),t.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(t);const o=`\n${this.filterPrefix()}let fn=${this.generateFunction("fn","s,l,a,i")}${r}${this.watchFns()}return fn;`,s=new Function("$filter","getStringValue","ifDefined","plus",o)(this.$filter,ro,co,uo);return this.state=this.stage=void 0,s},watchFns(){const t=[],{inputs:e}=this.state,n=this;return D(e,(e=>{t.push(`let ${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((t=>t.name)).join(",")}];`),t.join("")},generateFunction(t,e){return`function(${e}){${this.varsPrefix(t)}${this.body(t)}};`},filterPrefix(){const t=[],e=this;return D(this.state.filters,((n,r)=>{t.push(`${n}=$filter(${e.escape(r)})`)})),t.length?`let ${t.join(",")};`:""},varsPrefix(t){return this.state[t].vars.length?`let ${this.state[t].vars.join(",")};`:""},body(t){return this.state[t].body.join("")},recurse(t,e,n,r,i,o){let s,a;const l=this;let c,u,h;if(r=r||(()=>{}),!o&&g(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,r,i,!0));switch(t.type){case ao.Program:D(t.body,((e,n)=>{l.recurse(e.expression,void 0,void 0,(t=>{a=t})),n!==t.body.length-1?l.current().body.push(a,";"):l.return_(a)}));break;case ao.Literal:u=this.escape(t.value),this.assign(e,u),r(e||u);break;case ao.UnaryExpression:this.recurse(t.argument,void 0,void 0,(t=>{a=t})),u=`${t.operator}(${this.ifDefined(a,0)})`,this.assign(e,u),r(u);break;case ao.BinaryExpression:this.recurse(t.left,void 0,void 0,(t=>{s=t})),this.recurse(t.right,void 0,void 0,(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),r(u);break;case ao.LogicalExpression:e=e||this.nextId(),l.recurse(t.left,e),l.if_("&&"===t.operator?e:l.not(e),l.lazyRecurse(t.right,e)),r(e);break;case ao.ConditionalExpression:e=e||this.nextId(),l.recurse(t.test,e),l.if_(e,l.lazyRecurse(t.alternate,e),l.lazyRecurse(t.consequent,e)),r(e);break;case ao.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===l.stage?"s":this.assign(this.nextId(),`${this.getHasOwnProperty("l",t.name)}?l:s`),n.computed=!1,n.name=t.name),l.if_("inputs"===l.stage||l.not(l.getHasOwnProperty("l",t.name)),(()=>{l.if_("inputs"===l.stage||"s",(()=>{i&&1!==i&&l.if_(l.isNull(l.nonComputedMember("s",t.name)),l.lazyAssign(l.nonComputedMember("s",t.name),"{}")),l.assign(e,l.nonComputedMember("s",t.name))}))}),e&&l.lazyAssign(e,l.nonComputedMember("l",t.name))),r(e);break;case ao.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),l.recurse(t.object,s,void 0,(()=>{l.if_(l.notNull(s),(()=>{t.computed?(a=l.nextId(),l.recurse(t.property,a),l.getStringValue(a),i&&1!==i&&l.if_(l.not(l.computedMember(s,a)),l.lazyAssign(l.computedMember(s,a),"{}")),u=l.computedMember(s,a),l.assign(e,u),n&&(n.computed=!0,n.name=a)):(i&&1!==i&&l.if_(l.isNull(l.nonComputedMember(s,t.property.name)),l.lazyAssign(l.nonComputedMember(s,t.property.name),"{}")),u=l.nonComputedMember(s,t.property.name),l.assign(e,u),n&&(n.computed=!1,n.name=t.property.name))}),(()=>{l.assign(e,"undefined")})),r(e)}),!!i);break;case ao.CallExpression:e=e||this.nextId(),t.filter?(a=l.filter(t.callee.name),c=[],D(t.arguments,(t=>{const e=l.nextId();l.recurse(t,e),c.push(e)})),u=`${a}(${c.join(",")})`,l.assign(e,u),r(e)):(a=l.nextId(),s={},c=[],l.recurse(t.callee,a,s,(()=>{l.if_(l.notNull(a),(()=>{D(t.arguments,(e=>{l.recurse(e,t.constant?void 0:l.nextId(),void 0,(t=>{c.push(t)}))})),u=s.name?`${l.member(s.context,s.name,s.computed)}(${c.join(",")})`:`${a}(${c.join(",")})`,l.assign(e,u)}),(()=>{l.assign(e,"undefined")})),r(e)})));break;case ao.AssignmentExpression:a=this.nextId(),s={},this.recurse(t.left,void 0,s,(()=>{l.if_(l.notNull(s.context),(()=>{l.recurse(t.right,a),u=l.member(s.context,s.name,s.computed)+t.operator+a,l.assign(e,u),r(e||u)}))}),1);break;case ao.ArrayExpression:c=[],D(t.elements,(e=>{l.recurse(e,t.constant?void 0:l.nextId(),void 0,(t=>{c.push(t)}))})),u=`[${c.join(",")}]`,this.assign(e,u),r(e||u);break;case ao.ObjectExpression:c=[],h=!1,D(t.properties,(t=>{t.computed&&(h=!0)})),h?(e=e||this.nextId(),this.assign(e,"{}"),D(t.properties,(t=>{t.computed?(s=l.nextId(),l.recurse(t.key,s)):s=t.key.type===ao.Identifier?t.key.name:`${t.key.value}`,a=l.nextId(),l.recurse(t.value,a),l.assign(l.member(e,s,t.computed),a)}))):(D(t.properties,(e=>{l.recurse(e.value,t.constant?void 0:l.nextId(),void 0,(t=>{c.push(`${l.escape(e.key.type===ao.Identifier?e.key.name:`${e.key.value}`)}:${t}`)}))})),u=`{${c.join(",")}}`,this.assign(e,u)),r(e||u);break;case ao.ThisExpression:this.assign(e,"s"),r(e||"s");break;case ao.LocalsExpression:this.assign(e,"l"),r(e||"l");break;case ao.NGValueParameter:this.assign(e,"v"),r(e||"v")}},getHasOwnProperty(t,e){const n=`${t}.${e}`,{own:r}=this.current();return Object.prototype.hasOwnProperty.call(r,n)||(r[n]=this.nextId(!1,`${t}&&(${this.escape(e)} in ${t})`)),r[n]},assign(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter(t){return Object.prototype.hasOwnProperty.call(this.state.filters,t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined(t,e){return`ifDefined(${t},${this.escape(e)})`},plus:(t,e)=>`plus(${t},${e})`,return_(t){this.current().body.push("return ",t,";")},if_(t,e,n){if(!0===t)e();else{const{body:r}=this.current();r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:t=>`!(${t})`,isNull:t=>`${t}==null`,notNull:t=>`${t}!=null`,nonComputedMember(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:(t,e)=>`${t}[${e}]`,member(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue(t){this.assign(t,`getStringValue(${t})`)},lazyRecurse(t,e,n,r,i,o){const s=this;return function(){s.recurse(t,e,n,r,i,o)}},lazyAssign(t,e){const n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:t=>`\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`,escape(t){if(v(t))return`'${t.replace(this.stringEscapeRegex,this.stringEscapeFn)}'`;if(w(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw eo("esc","IMPOSSIBLE")},nextId(t,e){const n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?`=${e}`:"")),n},current(){return this.state[this.state.computing]}},vo.prototype={compile(t){const e=this;let n,r;fo(t,e.$filter),(n=go(t))&&(r=this.recurse(n));const i=$o(t.body);let o;i&&(o=[],D(i,((t,n)=>{const r=e.recurse(t);r.isPure=t.isPure,t.input=r,o.push(r),t.watchId=n})));const s=[];D(t.body,(t=>{s.push(e.recurse(t.expression))}));const a=0===t.body.length?()=>{}:1===t.body.length?s[0]:function(t,e){let n;return D(s,(r=>{n=r(t,e)})),n};return r&&(a.assign=function(t,e,n){return r(t,n,e)}),o&&(a.inputs=o),a},recurse(t,e,n){let r,i;const o=this;let s;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case ao.Literal:return this.value(t.value,e);case ao.UnaryExpression:return i=this.recurse(t.argument),this[`unary${t.operator}`](i,e);case ao.BinaryExpression:case ao.LogicalExpression:return r=this.recurse(t.left),i=this.recurse(t.right),this[`binary${t.operator}`](r,i,e);case ao.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case ao.Identifier:return o.identifier(t.name,e,n);case ao.MemberExpression:return r=this.recurse(t.object,!1,!!n),t.computed||(i=t.property.name),t.computed&&(i=this.recurse(t.property)),t.computed?this.computedMember(r,i,e,n):this.nonComputedMember(r,i,e,n);case ao.CallExpression:return s=[],D(t.arguments,(t=>{s.push(o.recurse(t))})),t.filter&&(i=this.$filter(t.callee.name)),t.filter||(i=this.recurse(t.callee,!0)),t.filter?function(t,n,r,o){const a=[];for(let e=0;e<s.length;++e)a.push(s[e](t,n,r,o));const l=i.apply(void 0,a,o);return e?{context:void 0,name:void 0,value:l}:l}:function(t,n,r,o){const a=i(t,n,r,o);let l;if(null!=a.value){const e=[];for(let i=0;i<s.length;++i)e.push(s[i](t,n,r,o));l=a.value.apply(a.context,e)}return e?{value:l}:l};case ao.AssignmentExpression:return r=this.recurse(t.left,!0,1),i=this.recurse(t.right),function(t,n,o,s){const a=r(t,n,o,s),l=i(t,n,o,s);return a.context[a.name]=l,e?{value:l}:l};case ao.ArrayExpression:return s=[],D(t.elements,(t=>{s.push(o.recurse(t))})),function(t,n,r,i){const o=[];for(let e=0;e<s.length;++e)o.push(s[e](t,n,r,i));return e?{value:o}:o};case ao.ObjectExpression:return s=[],D(t.properties,(t=>{t.computed?s.push({key:o.recurse(t.key),computed:!0,value:o.recurse(t.value)}):s.push({key:t.key.type===ao.Identifier?t.key.name:`${t.key.value}`,computed:!1,value:o.recurse(t.value)})})),function(t,n,r,i){const o={};for(let e=0;e<s.length;++e)s[e].computed?o[s[e].key(t,n,r,i)]=s[e].value(t,n,r,i):o[s[e].key]=s[e].value(t,n,r,i);return e?{value:o}:o};case ao.ThisExpression:return function(t){return e?{value:t}:t};case ao.LocalsExpression:return function(t,n){return e?{value:n}:n};case ao.NGValueParameter:return function(t,n,r){return e?{value:r}:r}}},"unary+":function(t,e){return function(n,r,i,o){let s=t(n,r,i,o);return s=g(s)?+s:0,e?{value:s}:s}},"unary-":function(t,e){return function(n,r,i,o){let s=t(n,r,i,o);return s=g(s)?-s:-0,e?{value:s}:s}},"unary!":function(t,e){return function(n,r,i,o){const s=!t(n,r,i,o);return e?{value:s}:s}},"binary+":function(t,e,n){return function(r,i,o,s){const a=uo(t(r,i,o,s),e(r,i,o,s));return n?{value:a}:a}},"binary-":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s),l=e(r,i,o,s),c=(g(a)?a:0)-(g(l)?l:0);return n?{value:c}:c}},"binary*":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)*e(r,i,o,s);return n?{value:a}:a}},"binary/":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)/e(r,i,o,s);return n?{value:a}:a}},"binary%":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)%e(r,i,o,s);return n?{value:a}:a}},"binary===":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)===e(r,i,o,s);return n?{value:a}:a}},"binary!==":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)!==e(r,i,o,s);return n?{value:a}:a}},"binary==":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)==e(r,i,o,s);return n?{value:a}:a}},"binary!=":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)!=e(r,i,o,s);return n?{value:a}:a}},"binary<":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)<e(r,i,o,s);return n?{value:a}:a}},"binary>":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)>e(r,i,o,s);return n?{value:a}:a}},"binary<=":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)<=e(r,i,o,s);return n?{value:a}:a}},"binary>=":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)>=e(r,i,o,s);return n?{value:a}:a}},"binary&&":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)&&e(r,i,o,s);return n?{value:a}:a}},"binary||":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)||e(r,i,o,s);return n?{value:a}:a}},"ternary?:":function(t,e,n,r){return function(i,o,s,a){const l=t(i,o,s,a)?e(i,o,s,a):n(i,o,s,a);return r?{value:l}:l}},value:(t,e)=>function(){return e?{context:void 0,name:void 0,value:t}:t},identifier:(t,e,n)=>function(r,i){const o=i&&t in i?i:r;n&&1!==n&&o&&null==o[t]&&(o[t]={});const s=o?o[t]:void 0;return e?{context:o,name:t,value:s}:s},computedMember:(t,e,n,r)=>function(i,o,s,a){const l=t(i,o,s,a);let c,u;return null!=l&&(c=e(i,o,s,a),c=ro(c),r&&1!==r&&l&&!l[c]&&(l[c]={}),u=l[c]),n?{context:l,name:c,value:u}:u},nonComputedMember:(t,e,n,r)=>function(i,o,s,a){const l=t(i,o,s,a);r&&1!==r&&l&&null==l[e]&&(l[e]={});const c=null!=l?l[e]:void 0;return n?{context:l,name:e,value:c}:c},inputs:(t,e)=>function(n,r,i,o){return o?o[e]:t(n,r,i)}};class wo{constructor(t,e,n){this.ast=new lo(t,n),this.astCompiler=n.csp?new vo(e):new yo(e)}parse(t){const{ast:e,oneTime:n}=this.getAst(t),r=this.astCompiler.compile(e);return r.literal=function(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===ao.Literal||t.body[0].expression.type===ao.ArrayExpression||t.body[0].expression.type===ao.ObjectExpression)}(e),r.constant=function(t){return t.constant}(e),r.oneTime=n,r}getAst(t){let e=!1;return(t=t.trim()).startsWith("::")&&(e=!0,t=t.substring(2)),{ast:this.ast.ast(t),oneTime:e}}}function bo(t){return E(t.valueOf)?t.valueOf():no.call(t)}function xo(){const t=Y(),e={true:!0,false:!1,null:null,undefined:void 0};var n,r;this.addLiteral=function(t,n){e[t]=n},this.setIdentifierFns=function(t,e){return n=t,r=e,this},this.$get=["$filter",function(i){var o={csp:function(){if(!g(J.rules)){const t=window.document.querySelector("[ng-csp]")||window.document.querySelector("[data-ng-csp]");if(t){const e=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");J.rules={noUnsafeEval:!e||-1!==e.indexOf("no-unsafe-eval"),noInlineStyle:!e||-1!==e.indexOf("no-inline-style")}}else J.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(t){return!0}}(),noInlineStyle:!1}}return J.rules}().noUnsafeEval,literals:structuredClone(e),isIdentifierStart:E(n)&&n,isIdentifierContinue:E(r)&&r};return s.$$getAst=function(t){var e=new so(o);return new wo(e,i,o).getAst(t).ast},s;function s(e,n){var r,s;switch(typeof e){case"string":if(e=e.trim(),!(r=t[s=e])){var a=new so(o);r=new wo(a,i,o).parse(e),t[s]=d(r)}return p(r,n);case"function":return p(e,n);default:return p((()=>{}),n)}}function a(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&"object"==typeof(t=bo(t))&&!n)&&(t===e||t!=t&&e!=e)}function l(t,e,n,r){var i,o=r.inputs;if(1===o.length){var s=a;return o=o[0],t.$watch((function(t){var e=o(t);return a(e,s,o.isPure)||(i=r(t,void 0,void 0,[e]),s=e&&bo(e)),i}),e,n)}for(var l=[],c=[],u=0,h=o.length;u<h;u++)l[u]=a,c[u]=null;return t.$watch((function(t){for(var e=!1,n=0,s=o.length;n<s;n++){var u=o[n](t);(e||(e=!a(u,l[n],o[n].isPure)))&&(c[n]=u,l[n]=u&&bo(u))}return e&&(i=r(t,void 0,void 0,c)),i}),e,n)}function c(t,e,n,r){var i,o,s=r.literal?u:g,a=r.$$intercepted||r,l=r.$$interceptor||q,c=r.inputs&&!a.inputs;return p.literal=r.literal,p.constant=r.constant,p.inputs=r.inputs,d(p),i=t.$watch(p,e,n);function h(){s(o)&&i()}function p(t,e,n,r){return o=c&&r?r[0]:a(t,e,n,r),s(o)&&t.$$postDigest(h),l(o)}}function u(t){var e=!0;return D(t,(function(t){g(t)||(e=!1)})),e}function h(t,e,n,r){var i=t.$watch((function(t){return i(),r(t)}),e,n);return i}function d(t){return t.constant?t.$$watchDelegate=h:t.oneTime?t.$$watchDelegate=c:t.inputs&&(t.$$watchDelegate=l),t}function p(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,r=function(r,i,o,s){var a=n&&s?s[0]:t(r,i,o,s);return e(a)};return r.$$intercepted=t,r.$$interceptor=e,r.literal=t.literal,r.oneTime=t.oneTime,r.constant=t.constant,e.$stateful||(n=!t.inputs,r.inputs=t.inputs?t.inputs:[t],e.$$pure||(r.inputs=r.inputs.map((function(t){return t.isPure===po?function(e){return t(e)}:t})))),d(r)}}]}let Co=10;const Eo=mt("$rootScope"),Oo=[],ko=[],So=[];let Ao,No,To,Mo=0,Do=null,Vo=null;function jo(){this.digestTtl=function(t){return arguments.length&&(Co=t),Co},this.$get=["$exceptionHandler","$parse","$browser",function(t,e,n){To=t,Ao=e,No=n;return new Po}]}class Po{constructor(){this.$id=p(),this.$$phase=null,this.$parent=null,this.$root=this,this.$$watchers=null,this.$$nextSibling=null,this.$$prevSibling=null,this.$$childHead=null,this.$$childTail=null,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null,this.$$ChildScope=null}$new(t,e){let n;return t?(n=new Po,n.$root=this.$root):(n=Object.create(this),n.$id=p(),n.$$watchers=null,n.$$nextSibling=null,n.$$childHead=null,n.$$childTail=null,n.$$listeners={},n.$$listenerCount={},n.$$watchersCount=0,n.$$ChildScope=null,n.$$suspended=!1),n.$parent=e||this,n.$$prevSibling=n.$parent.$$childTail,n.$parent.$$childHead?(n.$parent.$$childTail.$$nextSibling=n,n.$parent.$$childTail=n):(n.$parent.$$childHead=n,n.$parent.$$childTail=n),(t||e!==this)&&n.$on("$destroy",(t=>{t.currentScope.$$destroyed=!0})),n}$watch(t,e,n){const r=Ao(t),i=E(e)?e:()=>{};if(r.$$watchDelegate)return r.$$watchDelegate(this,i,n,r,t);const o=this;let s=o.$$watchers;const a={fn:i,last:Lo,get:r,exp:t,eq:!!n};Do=null,s||(s=o.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(a),s.$$digestWatchIndex++,this.incrementWatchersCount(1);const l=this;return function(){const t=G(s,a);t>=0&&(l.incrementWatchersCount(-1),t<s.$$digestWatchIndex&&s.$$digestWatchIndex--),Do=null}}$watchGroup(t,e){const n=new Array(t.length),r=new Array(t.length),i=[],o=this;let s=!1,a=!0;if(!t.length){let t=!0;return o.$evalAsync((()=>{t&&e(r,r,o)})),function(){t=!1}}if(1===t.length)return this.$watch(t[0],((t,i,o)=>{r[0]=t,n[0]=i,e(r,t===i?r:n,o)}));function l(){s=!1;try{a?(a=!1,e(r,r,o)):e(r,n,o)}finally{for(let e=0;e<t.length;e++)n[e]=r[e]}}return D(t,((t,e)=>{const n=o.$watch(t,(t=>{r[e]=t,s||(s=!0,o.$evalAsync(l))}));i.push(n)})),function(){for(;i.length;)i.shift()()}}$watchCollection(t,e){p.$$pure=Ao(t).literal,p.$stateful=!p.$$pure;const n=this;let r,i,o;const s=e.length>1;let a=0;const l=Ao(t,p),c=[];let u={},h=!0,d=0;function p(t){let e,n,o,s,l;if(r=t,!m(r)){if(y(r))if($(r)){i!==c&&(i=c,d=i.length=0,a++),e=r.length,d!==e&&(a++,i.length=d=e);for(let t=0;t<e;t++)l=i[t],s=r[t],o=l!=l&&s!=s,o||l===s||(a++,i[t]=s)}else{for(n in i!==u&&(i=u={},d=0,a++),e=0,r)Object.hasOwnProperty.call(r,n)&&(e++,s=r[n],l=i[n],n in i?(o=l!=l&&s!=s,o||l===s||(a++,i[n]=s)):(d++,i[n]=s,a++));if(d>e)for(n in a++,i)Object.hasOwnProperty.call(r,n)||(d--,delete i[n])}else i!==r&&(i=r,a++);return a}}return this.$watch(l,(function(){if(h?(h=!1,e(r,r,n)):e(r,o,n),s)if(y(r))if($(r)){o=new Array(r.length);for(let t=0;t<r.length;t++)o[t]=r[t]}else{o={};for(const t in r)Object.hasOwnProperty.call(r,t)&&(o[t]=r[t])}else o=r}))}$digest(){let t,e,n,r,i,o,s,a,l,c=Co;const u=Oo.length?this.$root:this,h=[];let d,p;this.beginPhase("$digest"),No.$$checkUrlChange(),this===this.$root&&null!==Vo&&(No.defer.cancel(Vo),Io(),Vo=null),Do=null;do{s=!1,l=u;for(let t=0;t<Oo.length;t++){try{p=Oo[t],r=p.fn,r(p.scope,p.locals)}catch(t){To(t)}Do=null}Oo.length=0;do{if(o=!l.$$suspended&&l.$$watchers)for(o.$$digestWatchIndex=o.length;o.$$digestWatchIndex--;)try{if(t=o[o.$$digestWatchIndex],t)if(i=t.get,(e=i(l))===(n=t.last)||(t.eq?Z(e,n):_(e)&&_(n))){if(t===Do){s=!1;break}}else s=!0,Do=t,t.last=t.eq?structuredClone(e):e,r=t.fn,r(e,n===Lo?e:n,l),c<5&&(d=4-c,h[d]||(h[d]=[]),h[d].push({msg:E(t.exp)?`fn: ${t.exp.name||t.exp.toString()}`:t.exp,newVal:e,oldVal:n}))}catch(t){To(t)}if(!(a=!l.$$suspended&&l.$$watchersCount&&l.$$childHead||l!==u&&l.$$nextSibling))for(;l!==u&&!(a=l.$$nextSibling);)l=l.$parent}while(l=a);if((s||Oo.length)&&!c--)throw this.clearPhase(),Eo("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",Co,h)}while(s||Oo.length);for(this.clearPhase();Mo<ko.length;)try{ko[Mo++]()}catch(t){To(t)}ko.length=Mo=0,No.$$checkUrlChange()}beginPhase(t){if(this.$root.$$phase)throw Eo("inprog","{0} already in progress",this.$root.$$phase);this.$root.$$phase=t}$suspend(){this.$$suspended=!0}$isSuspended(){return this.$$suspended}$resume(){this.$$suspended=!1}$destroy(){if(this.$$destroyed)return;const t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===this.$root&&No.$$applicationDestroyed(),this.incrementWatchersCount(-this.$$watchersCount);for(const t in this.$$listenerCount)this.decrementListenerCount(this.$$listenerCount[t],t);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=()=>{},this.$on=this.$watch=this.$watchGroup=function(){return()=>{}},this.$$listeners={},this.$$nextSibling=null,this.$parent=null,this.$$nextSibling=null,this.$$prevSibling=null,this.$$childHead=null,this.$$childTail=null,this.$root=null,this.$$watchers=null}$eval(t,e){return Ao(t)(this,e)}$evalAsync(t,e){let n;return this.$root.$$phase||Oo.length||(n=No.defer((()=>{Oo.length&&this.$root.$digest()}),null,"$evalAsync")),Oo.push({scope:this,fn:Ao(t),locals:e}),n}$$postDigest(t){ko.push(t)}$apply(t){try{this.beginPhase("$apply");try{return this.$eval(t)}finally{this.clearPhase()}}catch(t){To(t)}finally{try{this.$root.$digest()}catch(t){throw To(t),t}}}clearPhase(){this.$root.$$phase=null}$applyAsync(t){const e=this;t&&So.push((()=>e.$eval(t))),t=Ao(t),null===Vo&&(Vo=No.defer(Io,null,"$applyAsync"))}$on(t,e){let n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);let r=this;do{r.$$listenerCount[t]=(r.$$listenerCount[t]??0)+1}while(r=r.$parent);return()=>{const r=n.indexOf(e);-1!==r&&(delete n[r],this.decrementListenerCount(1,t))}}incrementWatchersCount(t){this.$$watchersCount+=t,this.$parent&&this.$parent.incrementWatchersCount(t)}decrementListenerCount(t,e){let n=this;for(;n;n=n.$parent)void 0!==n.$$listenerCount[e]&&(n.$$listenerCount[e]-=t,0===n.$$listenerCount[e]&&delete n.$$listenerCount[e])}$emit(t,...e){const n=[];let r,i=this,o=!1;const s={name:t,targetScope:i,stopPropagation(){o=!0},preventDefault(){s.defaultPrevented=!0},defaultPrevented:!1},a=tt([s],[s].concat(e),1);let l,c;do{for(r=i.$$listeners[t]||n,s.currentScope=i,l=0,c=r.length;l<c;l++)if(r[l])try{r[l].apply(null,a)}catch(t){To(t)}else r.splice(l,1),l--,c--;if(o)break;i=i.$parent}while(i);return s.currentScope=null,s}$broadcast(t,...e){const n=this;let r=n,i=n;const o={name:t,targetScope:n,preventDefault(){o.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[t])return o;const s=tt([o],[o].concat(e),1);let a,l,c;for(;r=i;){for(o.currentScope=r,a=r.$$listeners[t]||[],l=0,c=a.length;l<c;l++)if(a[l])try{a[l].apply(null,s)}catch(t){To(t)}else a.splice(l,1),l--,c--;if(!(i=r.$$listenerCount[t]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r&&r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return o.currentScope=null,o}}function Lo(){}function Io(){for(;So.length;)try{So.shift()()}catch(t){To(t)}Vo=null}function Ro(){this.$get=F((t=>new _o(t)))}function _o(t){const e=this,n={},r=[],i=e.ALL_TASKS_TYPE="$$all$$",o=e.DEFAULT_TASK_TYPE="$$default$$";function s(){const t=r.pop();return t&&t.cb}function a(t){for(let e=r.length-1;e>=0;--e){const n=r[e];if(n.type===t)return r.splice(e,1),n.cb}}e.completeTask=function(e,r){r=r||o;try{e()}finally{!function(t){t=t||o,n[t]&&(n[t]--,n[i]--)}(r);const e=n[r],l=n[i];if(!l||!e){const e=l?a:s;let n;for(;n=e(r);)try{n()}catch(e){t.error(e)}}}},e.incTaskCount=function(t){n[t=t||o]=(n[t]||0)+1,n[i]=(n[i]||0)+1},e.notifyWhenNoPendingTasks=function(t,e){n[e=e||i]?r.push({type:e,cb:t}):t()}}var Uo=mt("$templateRequest");function qo(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,r,i,o){function s(a,l){s.totalPendingRequests++,v(a)&&!m(n.get(a))||(a=o.getTrustedResourceUrl(a));var c=r.defaults&&r.defaults.transformResponse;return x(c)?c=c.filter((function(t){return t!==Ti})):c===Ti&&(c=null),r.get(a,L({cache:n,transformResponse:c},t)).finally((function(){s.totalPendingRequests--})).then((function(t){return n.put(a,t.data)}),(function(t){l||(t=Uo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,t.status,t.statusText),e(t));return i.reject(t)}))}return s.totalPendingRequests=0,s}]}const Fo=mt("$timeout");function Ho(t,e,n,r,i){const o={};function s(s,a,l){E(s)||(l=a,a=s,s=()=>{});const c=et(arguments,3),u=g(l)&&!l,h=(u?r:n).defer(),{promise:d}=h;let p;return p=e.defer((()=>{try{h.resolve(s.apply(null,c))}catch(t){h.reject(t),i(t)}finally{delete o[d.$$timeoutId]}u||t.$apply()}),a,"$timeout"),d.$$timeoutId=p,o[p]=h,d}return s.cancel=function(t){if(!t)return!1;if(!Object.prototype.hasOwnProperty.call(t,"$$timeoutId"))throw Fo("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!Object.prototype.hasOwnProperty.call(o,t.$$timeoutId))return!1;const n=t.$$timeoutId,r=o[n];return $i(r.promise),r.reject("canceled"),delete o[n],e.defer.cancel(n)},s}function Bo(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",Ho]}function zo(){let t=/^\s*(https?|s?ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(e){return g(e)?(t=e,this):t},this.imgSrcSanitizationTrustedUrlList=function(t){return g(t)?(e=t,this):e},this.$get=function(){return function(n,r){const i=r?e:t,o=Ne(n&&n.trim()).href;return""===o||o.match(i)?n:`unsafe:${o}`}}}const Wo="-add",Go="-remove",Ko="-prepare",Zo="ng-animate",Jo="$$ngAnimateChildren";let Xo,Yo,Qo,ts;void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend?(Xo="WebkitTransition",Yo="webkitTransitionEnd transitionend"):(Xo="transition",Yo="transitionend"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend?(Qo="WebkitAnimation",ts="webkitAnimationEnd animationend"):(Qo="animation",ts="animationend");const es="Duration",ns="Delay",rs="TimingFunction",is=Qo+ns,os=Qo+es,ss=Xo+ns,as=mt("ng");function ls(t,e,n){if(!t)throw as("areq","Argument '{0}' is {1}",e||"?",n);return t}function cs(t,e,n){let r="";return(t=x(t)?t:t&&v(t)&&t.length?t.split(/\s+/):[]).forEach(((t,i)=>{t&&t.length>0&&(r+=i>0?" ":"",r+=n?e+t:t+e)})),r}function us(t){if(t instanceof _t)switch(t.length){case 0:return t;case 1:if(t[0].nodeType===Node.ELEMENT_NODE)return t;break;default:return _t(hs(t))}if(t.nodeType===Node.ELEMENT_NODE)return _t(t)}function hs(t){if(!t[0])return t;for(let e=0;e<t.length;e++){const n=t[e];if(n.nodeType===Node.ELEMENT_NODE)return n}}function ds(t){if(!(t=t||{}).$$prepared){let e=t.domOperation||(()=>{});t.domOperation=function(){t.$$domOperationFired=!0,e(),e=()=>{}},t.$$prepared=!0}return t}function ps(t,e){fs(t,e),$s(t,e)}function fs(t,e){e.from&&(e.from=null)}function $s(t,e){e.to&&(e.to=null)}function ms(t,e,n){const r=e.options||{},i=n.options||{},o=`${r.addClass||""} ${i.addClass||""}`,s=`${r.removeClass||""} ${i.removeClass||""}`,a=function(t,e,n){const r=1,i=-1,o={};t=a(t),e=a(e),D(e,((t,e)=>{o[e]=r})),n=a(n),D(n,((t,e)=>{o[e]=o[e]===r?null:i}));const s={addClass:"",removeClass:""};function a(t){v(t)&&(t=t.split(" "));const e={};return D(t,(t=>{t.length&&(e[t]=!0)})),e}return D(o,(function(e,n){var o,a;e===r?(o="addClass",a=!t[n]||t[n+Go]):e===i&&(o="removeClass",a=t[n]||t[n+Wo]),a&&(s[o].length&&(s[o]+=" "),s[o]+=n)})),s}(t.attr("class"),o,s);i.preparationClasses&&(r.preparationClasses=ws(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);const l=r.domOperation!==(()=>{})?r.domOperation:null;return L(r,i),l&&(r.domOperation=l),a.addClass?r.addClass=a.addClass:r.addClass=null,a.removeClass?r.removeClass=a.removeClass:r.removeClass=null,e.addClass=r.addClass,e.removeClass=r.removeClass,r}function gs(t){return t instanceof _t?t[0]:t}function ys(t,e){const n=e?"paused":"",r=Qo+"PlayState";return vs(t,[r,n]),[r,n]}function vs(t,e){const n=e[0],r=e[1];t.style[n]=r}function ws(t,e){return t?e?`${t} ${e}`:t:e}const bs=["$interpolate",function(t){return{link(e,n,r){const i=r.ngAnimateChildren;function o(t){t="on"===t||"true"===t,n.data(Jo,t)}v(i)&&0===i.length?n.data(Jo,!0):(o(t(i)(e)),r.$observe("ngAnimateChildren",o))}}}];function xs(){const t="ng-animate-ref",e=this.drivers=[],n="$$animationRunner",r="$$animatePrepareClasses";function i(t){return t.data(n)}this.$get=["$rootScope","$injector","$$AnimateRunner","$$rAFScheduler","$$animateCache",function(o,s,a,l,c){const u=[],h=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};return function(d,p,f){f=ds(f);const $=["enter","move","leave"].indexOf(p)>=0,m=new a({end(){b()},cancel(){b(!0)}});if(!e.length)return b(),m;let g=vt(d.attr("class"),vt(f.addClass,f.removeClass)),{tempClasses:y}=f;return y&&(g+=` ${y}`,f.tempClasses=null),$&&d.data(r,`ng-${p}${Ko}`),function(t,e){t.data(n,e)}(d,m),u.push({element:d,classes:g,event:p,structural:$,options:f,beforeStart:function(){y=(y?`${y} `:"")+Zo,d.className+=` ${y}`;let t=d.data(r);t&&(d[0].classList.remove(t),t=null)},close:b}),d.on("$destroy",w),u.length>1||o.$$postDigest((()=>{const n=[];D(u,(t=>{i(t.element)?n.push(t):t.close()})),u.length=0;const o=function(e){const n=[],r={};D(e,((e,i)=>{const{element:o}=e,s=gs(o),{event:a}=e,l=["enter","move"].indexOf(a)>=0,c=e.structural?function(e){const n=`[${t}]`,r=e.hasAttribute(t)?[e]:e.querySelectorAll(n),i=[];return D(r,(e=>{const n=e.getAttribute(t);n&&n.length&&i.push(e)})),i}(s):[];if(c.length){const e=l?"to":"from";D(c,(n=>{const o=n.getAttribute(t);r[o]=r[o]||{},r[o][e]={animationID:i,element:_t(n)}}))}else n.push(e)}));const i={},o={};return Object.values(r).forEach((t=>{const{from:r}=t,{to:s}=t;if(!r||!s){const t=r?r.animationID:s.animationID,o=t.toString();return void(i[o]||(i[o]=!0,n.push(e[t])))}const a=e[r.animationID],l=e[s.animationID],c=r.animationID.toString();if(!o[c]){const t=o[c]={structural:!0,beforeStart(){a.beforeStart(),l.beforeStart()},close(){a.close(),l.close()},classes:v(a.classes,l.classes),from:a,to:l,anchors:[]};t.classes.length?n.push(t):(n.push(a),n.push(l))}o[c].anchors.push({out:r.element,in:s.element})})),n}(n),a=[];D(o,(t=>{const n=t.from?t.from.element:t.element;let r=f.addClass;r=(r?`${r} `:"")+Zo;const o=c.cacheKey(n[0],t.event,r,f.removeClass);a.push({element:n,domNode:gs(n),fn:function(){let n;const r=t.close;if(c.containsCachedAnimationWithoutDuration(o))return void r();t.beforeStart();if(i(t.anchors?t.from.element||t.to.element:t.element)){const r=function(t){for(let n=e.length-1;n>=0;n--){const r=e[n],i=s.get(r)(t);if(i)return i}}(t);r&&(n=r.start)}if(n){const e=n();e.done((t=>{r(!t)})),function(t,e){t.from&&t.to?(n(t.from.element),n(t.to.element)):n(t.element);function n(t){const n=i(t);n&&n.setHost(e)}}(t,e)}else r()}})}));const h=function(t){const e={children:[]};let n;const r=new Map;for(n=0;n<t.length;n++){const e=t[n];r.set(e.domNode,t[n]={domNode:e.domNode,element:e.element,fn:e.fn,children:[]})}for(n=0;n<t.length;n++)i(t[n]);return function(t){const e=[],n=[];let r;for(r=0;r<t.children.length;r++)n.push(t.children[r]);let i=n.length,o=0,s=[];for(r=0;r<n.length;r++){const t=n[r];i<=0&&(i=o,o=0,e.push(s),s=[]),s.push(t),t.children.forEach((t=>{o++,n.push(t)})),i--}return s.length&&e.push(s),e}(e);function i(t){if(t.processed)return t;t.processed=!0;const n=t.domNode;let o,{parentNode:s}=n;for(r.set(n,t);s;){if(o=r.get(s),o){o.processed||(o=i(o));break}s=s.parentNode}return(o||e).children.push(t),t}}(a);for(let t=0;t<h.length;t++){const e=h[t];for(let n=0;n<e.length;n++){const i=e[n],{element:o}=i;if(h[t][n]=i.fn,0===t){o.removeData(r);continue}const s=o.data(r);s&&o[0].classList.add(s)}}l(h)})),m;function v(t,e){t=t.split(" "),e=e.split(" ");const n=[];for(let r=0;r<t.length;r++){const i=t[r];if("ng-"!==i.substring(0,3))for(let t=0;t<e.length;t++)if(i===e[t]){n.push(i);break}}return n.join(" ")}function w(){const t=i(d);!t||"leave"===p&&f.$$domOperationFired||t.end()}function b(t){d.off("$destroy",w),function(t){t.removeData(n)}(d),h(d,f),ps(d,f),f.domOperation(),y&&y.split(" ").forEach((t=>d[0].classList.remove(t))),m.complete(!t)}}}]}const Cs=[()=>{let t,e;function n(){if(!t.length)return;t.shift().forEach((t=>t())),e||window.requestAnimationFrame((()=>{e||n()}))}function r(e){t=t.concat(e),n()}return t=r.queue=[],r.waitUntilQuiet=t=>{e&&e(),e=window.requestAnimationFrame((()=>{e=null,t(),n()}))},r}],Es=["$animate",function(t){return{restrict:"A",transclude:"element",terminal:!0,priority:550,link(e,n,r,i,o){let s,a;e.$watchCollection(r.ngAnimateSwap||r.for,(e=>{s&&t.leave(s),a&&(a.$destroy(),a=null),(e||0===e)&&o(((e,r)=>{s=e,a=r,t.enter(e,null,n)}))}))}}}],Os="data-ng-animate",ks="$ngAnimatePin",Ss=["$animateProvider",function(t){const e=" ",n=this.rules={skip:[],cancel:[],join:[]};function r(t){return{addClass:t.addClass,removeClass:t.removeClass,from:t.from,to:t.to}}function i(t,n){if(t&&n){const r=function(t){if(!t)return null;const n=t.split(e),r=Object.create(null);return D(n,(t=>{r[t]=!0})),r}(n);return t.split(e).some((t=>r[t]))}}function o(t,e,r){return n[t].some((t=>t(e,r)))}function s(t,e){const n=(t.addClass||"").length>0,r=(t.removeClass||"").length>0;return e?n&&r:n||r}n.join.push((t=>!t.structural&&s(t))),n.skip.push((t=>!t.structural&&!s(t))),n.skip.push(((t,e)=>"leave"===e.event&&t.structural)),n.skip.push(((t,e)=>e.structural&&2===e.state&&!t.structural)),n.cancel.push(((t,e)=>e.structural&&t.structural)),n.cancel.push(((t,e)=>2===e.state&&t.structural)),n.cancel.push(((t,e)=>{if(e.structural)return!1;const n=t.addClass,r=t.removeClass,o=e.addClass,s=e.removeClass;return!(m(n)&&m(r)||m(o)&&m(s))&&(i(n,s)||i(r,o))})),this.$get=["$rootScope","$rootElement","$document","$$animation","$$AnimateRunner","$templateRequest","$$isDocumentHidden",function(e,n,i,a,l,c,u){const h=new Map,d=new Map;let p=null;function f(t){d.delete(t.target)}const $=e.$watch((()=>0===c.totalPendingRequests),(t=>{t&&($(),e.$$postDigest((()=>{e.$$postDigest((()=>{null===p&&(p=!0)}))})))})),w=Object.create(null),b=t.customFilter(),C=t.classNameFilter(),E=function(){return!0},O=b||E,k=C?function(t,e){const n=[t.getAttribute("class"),e.addClass,e.removeClass].join(" ");return C.test(n)}:E,S=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};function A(t,e){return ms(t,e,{})}const N=window.Node.prototype.contains||function(t){return this===t||!!(16&this.compareDocumentPosition(t))};function T(t,e,n){const r=hs(e);return t.filter((t=>!(t.node===r&&(!n||t.callback===n))))}function M(t,e){"close"!==t||e.parentNode||V.off(e)}let V={on(t,e,n){const r=hs(e);w[t]=w[t]||[],w[t].push({node:r,callback:n}),_t(e).on("$destroy",(()=>{h.get(r)||V.off(t,e,n)}))},off(t,e,n){if(1===arguments.length&&!v(arguments[0])){e=arguments[0];for(const t in w)w[t]=T(w[t],e);return}const r=w[t];r&&(w[t]=1===arguments.length?null:T(r,e,n))},pin(t,e){ls(B(t),"element","not an element"),ls(B(e),"parentElement","not an element"),t.data(ks,e)},push:(t,c,f,$)=>((f=f||{}).domOperation=$,function(t,c,f){let $=structuredClone(f),b=us(t);const C=gs(b),E=C&&C.parentNode;$=ds($);const T=new l,V=function(){let t=!1;return function(n){t?n():e.$$postDigest((()=>{t=!0,n()}))}}();x($.addClass)&&($.addClass=$.addClass.join(" "));$.addClass&&!v($.addClass)&&($.addClass=null);x($.removeClass)&&($.removeClass=$.removeClass.join(" "));$.removeClass&&!v($.removeClass)&&($.removeClass=null);$.from&&!y($.from)&&($.from=null);$.to&&!y($.to)&&($.to=null);if(!(p&&C&&O(C,c,f)&&k(C,$)))return z(),T;const L=["enter","move","leave"].indexOf(c)>=0,I=u();let R=I||d.get(C);const _=!R&&h.get(C)||{},U=!!_.state;R||U&&1===_.state||(R=!function(t,e){const r=i[0].body,o=gs(n);let s,a=t===r||"HTML"===t.nodeName,l=t===o,c=!1,u=d.get(t),p=_t.data(t,ks);p&&(e=gs(p));for(;e&&(l||(l=e===o),e.nodeType===Node.ELEMENT_NODE);){const t=h.get(e)||{};if(!c){const n=d.get(e);if(!0===n&&!1!==u){u=!0;break}!1===n&&(u=!1),c=t.structural}if(m(s)||!0===s){const t=_t.data(e,Jo);g(t)&&(s=t)}if(c&&!1===s)break;if(a||(a=e===r),a&&l)break;e=l||(p=_t.data(e,ks),!p)?e.parentNode:gs(p)}return(!c||s)&&!0!==u&&l&&a}(C,E));if(R)return I&&B(T,c,"start",r($)),z(),I&&B(T,c,"close",r($)),T;L&&function(t){const e=t.querySelectorAll(`[${Os}]`);D(e,(t=>{const e=parseInt(t.getAttribute(Os),10),n=h.get(t);if(n)switch(e){case 2:n.runner.end();case 1:h.delete(t)}}))}(C);const q={structural:L,element:b,event:c,addClass:$.addClass,removeClass:$.removeClass,close:z,options:$,runner:T};if(U){if(o("skip",q,_))return 2===_.state?(z(),T):(ms(b,_,q),_.runner);if(o("cancel",q,_))if(2===_.state)_.runner.end();else{if(!_.structural)return ms(b,_,q),_.runner;_.close()}else{if(o("join",q,_)){if(2!==_.state)return function(t,e,n){let r="";e&&(r=cs(e,"ng-",!0)),n.addClass&&(r=ws(r,cs(n.addClass,Wo))),n.removeClass&&(r=ws(r,cs(n.removeClass,Go))),r.length&&(n.preparationClasses=r,t[0].className+=` ${r}`)}(b,L?c:null,$),c=q.event=_.event,$=ms(b,_,q),_.runner;A(b,q)}}}else A(b,q);let F=q.structural;F||(F="animate"===q.event&&Object.keys(q.options.to||{}).length>0||s(q));if(!F)return z(),j(C),T;const H=(_.counter||0)+1;return q.counter=H,P(C,1,q),e.$$postDigest((()=>{b=us(t);let e=h.get(C);const n=!e;e=e||{};const i=(b.parent()||[]).length>0&&("animate"===e.event||e.structural||s(e));if(n||e.counter!==H||!i)return n&&(S(b,$),ps(b,$)),(n||L&&e.event!==c)&&($.domOperation(),T.end()),void(i||j(C));c=!e.structural&&s(e,!0)?"setClass":e.event,P(C,2);const o=a(b,c,e.options);T.setHost(o),B(T,c,"start",r($)),o.done((t=>{z(!t);const e=h.get(C);e&&e.counter===H&&j(C),B(T,c,"close",r($))}))})),T;function B(t,e,n,r){V((()=>{const t=function(t,e,n){const r=[],i=w[n];return i&&D(i,(i=>{(N.call(i.node,e)||"leave"===n&&N.call(i.node,t))&&r.push(i.callback)})),r}(E,C,e);t.length?(D(t,(t=>{t(b,n,r)})),M(n,C)):M(n,C)})),t.progress(e,n,r)}function z(t){!function(t,e){e.preparationClasses&&(e.preparationClasses.split(" ").forEach((e=>t[0].classList.remove(e))),e.preparationClasses=null),e.activeClasses&&(e.activeClasses.split(" ").forEach((e=>t[0].classList.remove(e))),e.activeClasses=null)}(b,$),S(b,$),ps(b,$),$.domOperation(),T.complete(!t)}}(t,c,f)),enabled(t,e){const n=arguments.length;if(0===n)e=!!p;else{if(B(t)){const r=gs(t);1===n?e=!d.get(r):(d.has(r)||_t(t).on("$destroy",f),d.set(r,!e))}else e=p=!!t}return e}};return V;function j(t){t.removeAttribute(Os),h.delete(t)}function P(t,e,n){(n=n||{}).state=e,t.setAttribute(Os,e);const r=h.get(t),i=r?L(r,n):n;h.set(t,i)}}]}],As="$$ngAnimateParentKey";let Ns=0,Ts=Object.create(null);function Ms(){return{cacheKey(t,e,n,r){const{parentNode:i}=t,o=[i[As]||(i[As]=++Ns),e,t.getAttribute("class")];return n&&o.push(n),r&&o.push(r),o.join(" ")},containsCachedAnimationWithoutDuration(t){const e=Ts[t];return e&&!e.isValid||!1},flush(){Ts=Object.create(null)},count(t){const e=Ts[t];return e?e.total:0},get(t){const e=Ts[t];return e&&e.value},put(t,e,n){Ts[t]?(Ts[t].total++,Ts[t].value=e):Ts[t]={total:1,value:e,isValid:n}}}}function Ds(){this.$get=[Ms]}const Vs="$$animateCss",js=1e3;function Ps(t,e){return[e?is:ss,`${t}s`]}function Ls(t,e){const n=Object.create(null),r=window.getComputedStyle(t)||{};return D(e,((t,e)=>{let i=r[t];if(i){const t=i.charAt(0);("-"===t||"+"===t||t>=0)&&(i=function(t){let e=0;return D(t.split(/\s*,\s*/),(t=>{"s"===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t=parseFloat(t)||0,e=e?Math.max(t,e):t})),e}(i)),0===i&&(i=null),n[e]=i}})),n}function Is(t){return 0===t||null!=t}function Rs(t,e){let n=Xo,r=`${t}s`;return e?n+=es:r+=" linear all",[n,r]}function _s(t,e,n){D(n,(n=>{t[n]=g(t[n])?t[n]:e.style.getPropertyValue(n)}))}const Us=[function(){this.$get=["$$AnimateRunner","$timeout","$$animateCache","$$rAFScheduler","$$animateQueue",function(t,e,n,r,i){const o=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};const s=[];function a(t){s.push(t),r.waitUntilQuiet((()=>{n.flush();const t=document.body.offsetWidth+1;for(let e=0;e<s.length;e++)s[e](t);s.length=0}))}function l(t,e,r,i){const o=function(t,e,r,i,o){let s=n.get(r);s||(s=Ls(window,t),"infinite"===s.animationIterationCount&&(s.animationIterationCount=1));const a=i||s.transitionDuration>0||s.animationDuration>0;return n.put(r,s,a),s}(t,0,r,i),s=o.animationDelay,a=o.transitionDelay;return o.maxDelay=s&&a?Math.max(s,a):s||a,o.maxDuration=Math.max(o.animationDuration*o.animationIterationCount,o.transitionDuration),o}return function(r,s){let c=s||{};c.$$prepared||(c=ds(structuredClone(c)));const u={},h=gs(r);if(!h||!h.parentNode||!i.enabled())return Z();const d=[],p=r.attr("class"),f=function(t){const e={};return t&&(t.to||t.from)&&(e.to=t.to,e.from=t.from),e}(c);let $,m,g,y,v,w,b,C,E,O;const k=[];if(0===c.duration)return Z();const S=c.event&&x(c.event)?c.event.join(" "):c.event,A=S&&c.structural;let N="",T="";A?N=cs(S,"ng-",!0):S&&(N=S),c.addClass&&(T+=cs(c.addClass,Wo)),c.removeClass&&(T.length&&(T+=" "),T+=cs(c.removeClass,Go)),c.applyClassesEarly&&T.length&&o(r,c);let M=[N,T].join(" ").trim(),V=`${p} ${M}`;const j=f.to&&Object.keys(f.to).length>0;if(!((c.keyframeStyle||"").length>0)&&!j&&!M)return Z();let P,L,I=n.cacheKey(h,S,c.addClass,c.removeClass);if(n.containsCachedAnimationWithoutDuration(I))return M=null,Z();if(c.stagger>0){const t=parseFloat(c.stagger);P={transitionDelay:t,animationDelay:t,transitionDuration:0,animationDuration:0}}else P=function(t,e,r,i){let o;const s=`stagger-${r}`;if(n.count(r)>0&&(o=n.get(s),!o)){const r=cs(e,"-stagger");t.className+=` ${r}`,o=Ls(window,t),o.animationDuration=Math.max(o.animationDuration,0),o.transitionDuration=Math.max(o.transitionDuration,0),t.classList.remove(r),n.put(s,o,!0)}return o||{}}(h,M,I);if(c.$$skipPreparationClasses||r[0].classList.add(M),c.transitionStyle){const t=[Xo,c.transitionStyle];vs(h,t),d.push(t)}if(c.duration>=0){L=h.style[Xo].length>0;const t=Rs(c.duration,L);vs(h,t),d.push(t)}if(c.keyframeStyle){const t=[Qo,c.keyframeStyle];vs(h,t),d.push(t)}const R=P?c.staggerIndex>=0?c.staggerIndex:n.count(I):0,_=0===R;_&&!c.skipBlocking&&helpers.blockTransitions(h,9999);let U=l(h,0,I,!A),q=U.maxDelay;w=Math.max(q,0),C=U.maxDuration;const F={};if(F.hasTransitions=U.transitionDuration>0,F.hasAnimations=U.animationDuration>0,F.hasTransitionAll=F.hasTransitions&&"all"===U.transitionProperty,F.applyTransitionDuration=j&&(F.hasTransitions&&!F.hasTransitionAll||F.hasAnimations&&!F.hasTransitions),F.applyAnimationDuration=c.duration&&F.hasAnimations,F.applyTransitionDelay=Is(c.delay)&&(F.applyTransitionDuration||F.hasTransitions),F.applyAnimationDelay=Is(c.delay)&&F.hasAnimations,F.recalculateTimingStyles=T.length>0,(F.applyTransitionDuration||F.applyAnimationDuration)&&(C=c.duration?parseFloat(c.duration):C,F.applyTransitionDuration&&(F.hasTransitions=!0,U.transitionDuration=C,L=h.style[Xo+"Property"].length>0,d.push(Rs(C,L))),F.applyAnimationDuration&&(F.hasAnimations=!0,U.animationDuration=C,d.push([os,`${C}s`]))),0===C&&!F.recalculateTimingStyles)return Z();const H=cs(M,"-active");var B;null!=c.delay&&("boolean"!=typeof c.delay&&(B=parseFloat(c.delay),w=Math.max(B,0)),F.applyTransitionDelay&&d.push(Ps(B)),F.applyAnimationDelay&&d.push(Ps(B,!0)));return null==c.duration&&U.transitionDuration>0&&(F.recalculateTimingStyles=F.recalculateTimingStyles||_),b=w*js,E=C*js,c.skipBlocking||(F.blockTransition=U.transitionDuration>0,F.blockKeyframeAnimation=U.animationDuration>0&&P.animationDelay>0&&0===P.animationDuration),c.from&&(c.cleanupStyles&&_s(u,h,Object.keys(c.from)),fs(0,c)),F.blockTransition||F.blockKeyframeAnimation?K(C):c.skipBlocking||helpers.blockTransitions(h,!1),{$$willAnimate:!0,end:z,start(){if(!$)return v={end:z,cancel:W,resume:null,pause:null},y=new t(v),a(X),y}};function z(){G()}function W(){G(!0)}function G(t){if($||g&&m)return;$=!0,m=!1,M&&!c.$$skipPreparationClasses&&M.split(" ").forEach((t=>r.classList.remove(t))),H&&H.split(" ").forEach((t=>r.classList.remove(t))),ys(h,!1),helpers.blockTransitions(h,!1),D(d,(t=>{h.style[t[0]]=""})),o(r,c),ps(r,c),Object.keys(u).length&&D(u,((t,e)=>{t?h.style.setProperty(e,t):h.style.removeProperty(e)})),c.onDone&&c.onDone(),k&&k.length&&r.off(k.join(" "),J);const n=r.data(Vs);n&&(e.cancel(n[0].timer),r.removeData(Vs)),y&&y.complete(!t)}function K(t){F.blockTransition&&helpers.blockTransitions(h,t),F.blockKeyframeAnimation&&ys(h,!!t)}function Z(){return y=new t({end:z,cancel:W}),a((()=>{})),G(),{$$willAnimate:!1,start:()=>y,end:z}}function J(t){t.stopPropagation();const e=t.originalEvent||t;if(e.target!==h)return;const n=e.$manualTimeStamp||Date.now(),r=parseFloat(e.elapsedTime.toFixed(3));Math.max(n-O,0)>=b&&r>=C&&(g=!0,G())}function X(){if($)return;if(!h.parentNode)return void G();const t=function(t){if(g)m&&t&&(m=!1,G());else if(m=!t,U.animationDuration){const t=ys(h,m);m?d.push(t):function(t,e){const n=t.indexOf(e);e>=0&&t.splice(n,1)}(d,t)}},i=R>0&&(U.transitionDuration&&0===P.transitionDuration||U.animationDuration&&0===P.animationDuration)&&Math.max(P.animationDelay,P.transitionDelay);function s(){if($)return;if(K(!1),D(d,(t=>{const e=t[0],n=t[1];h.style[e]=n})),o(r,c),r.className+=` ${H}`,F.recalculateTimingStyles){if(V=`${h.getAttribute("class")} ${M}`,I=n.cacheKey(h,S,c.addClass,c.removeClass),U=l(h,0,I,!1),q=U.maxDelay,w=Math.max(q,0),C=U.maxDuration,0===C)return void G();F.hasTransitions=U.transitionDuration>0,F.hasAnimations=U.animationDuration>0}if(F.applyAnimationDelay&&(q="boolean"!=typeof c.delay&&Is(c.delay)?parseFloat(c.delay):q,w=Math.max(q,0),U.animationDelay=q,B=Ps(q,!0),d.push(B),h.style[B[0]]=B[1]),b=w*js,E=C*js,c.easing){let t;const e=c.easing;F.hasTransitions&&(t=Xo+rs,d.push([t,e]),h.style[t]=e),F.hasAnimations&&(t=Qo+rs,d.push([t,e]),h.style[t]=e)}U.transitionDuration&&k.push(Yo),U.animationDuration&&k.push(ts),O=Date.now();const t=b+1.5*E,i=O+t,s=r.data(Vs)||[];let p=!0;if(s.length){const t=s[0];p=i>t.expectedEndTime,p?e.cancel(t.timer):s.push(G)}if(p){const n=e(a,t,!1);s[0]={timer:n,expectedEndTime:i},s.push(G),r.data(Vs,s)}k.length&&r.on(k.join(" "),J),c.to&&(c.cleanupStyles&&_s(u,h,Object.keys(c.to)),$s(0,c))}function a(){const t=r.data(Vs);if(t){for(let e=1;e<t.length;e++)t[e]();r.removeData(Vs)}}i?e(s,Math.floor(i*R*js),!1):s(),v.resume=function(){t(!0)},v.pause=function(){t(!1)}}}}]}],qs=["$$animationProvider",function(t){t.drivers.push("$$animateCssDriver");const e="ng-animate-shim",n="ng-anchor",r="ng-anchor-out",i="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$document",function(t,o,s,a,l){const c=l[0].body,u=gs(a),h=_t((d=u).parentNode&&11===d.parentNode.nodeType||c.contains(u)?u:c);var d;return function(o){return o.from&&o.to?function(o,a,l,u){const d=$(o),m=$(a),g=[];if(D(u,(o=>{const a=function(o,a,l){const u=_t(gs(a).cloneNode(!0)),d=p(w(u));let $;a.addClass(e),l.addClass(e),u.addClass(n),h.append(u);const m=v();if(!m&&($=b(),!$))return x();const g=m||$;return{start(){let t,e=g.start();return e.done((()=>{if(e=null,!$&&($=b(),$))return e=$.start(),e.done((()=>{e=null,x(),t.complete()})),e;x(),t.complete()})),t=new s({end:n,cancel:n}),t;function n(){e&&e.end()}}};function y(t){const e={},n=gs(t).getBoundingClientRect();return D(["width","height","top","left"],(t=>{let r=n[t];switch(t){case"top":r+=c.scrollTop;break;case"left":r+=c.scrollLeft}e[t]=`${Math.floor(r)}px`})),e}function v(){const e=t(u,{addClass:r,delay:!0,from:y(a)});return e.$$willAnimate?e:null}function w(t){return t.attr("class")||""}function b(){const e=p(w(l)),n=f(e,d),o=f(d,e),s=t(u,{to:y(l),addClass:`${i} ${n}`,removeClass:`${r} ${o}`,delay:!0});return s.$$willAnimate?s:null}function x(){u.remove(),a.removeClass(e),l.removeClass(e)}}(0,o.out,o.in);a&&g.push(a)})),!d&&!m&&0===g.length)return;return{start(){const t=[];d&&t.push(d.start()),m&&t.push(m.start()),D(g,(e=>{t.push(e.start())}));const e=new s({end:n,cancel:n});return s.all(t,(t=>{e.complete(t)})),e;function n(){D(t,(t=>{t.end()}))}}}}(o.from,o.to,o.classes,o.anchors):$(o)};function p(t){return t.replace(/\bng-\S+\b/g,"")}function f(t,e){return v(t)&&(t=t.split(" ")),v(e)&&(e=e.split(" ")),t.filter((t=>-1===e.indexOf(t))).join(" ")}function $(e){const{element:n}=e,r=e.options||{};e.structural&&(r.event=e.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===e.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=ws(r.event,r.preparationClasses));const i=t(n,r);return i.$$willAnimate?i:null}}]}],Fs=["$animateProvider",function(t){this.$get=["$injector","$$AnimateRunner",function(e,n){const r=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};return function(i,o,s,a){let l=!1;3===arguments.length&&y(s)&&(a=s,s=null),a=ds(a),s||(s=i.attr("class")||"",a.addClass&&(s+=` ${a.addClass}`),a.removeClass&&(s+=` ${a.removeClass}`));const c=a.addClass,u=a.removeClass,h=function(n){n=x(n)?n:n.split(" ");const r=[],i={};for(let o=0;o<n.length;o++){const s=n[o],a=t.$$registeredAnimations[s];a&&!i[s]&&(r.push(e.get(a)),i[s]=!0)}return r}(s);let d,p,f;if(h.length){let t,e;"leave"===o?(e="leave",t="afterLeave"):(e=`before${o.charAt(0).toUpperCase()}${o.substr(1)}`,t=o),"enter"!==o&&"move"!==o&&(d=v(i,o,a,h,e)),p=v(i,o,a,h,t)}if(d||p)return{$$willAnimate:!0,end:()=>(f?f.end():(m(),f=new n,f.complete(!0)),f),start(){if(f)return f;let t;f=new n;const e=[];return d&&e.push((e=>{t=d(e)})),e.length?e.push((t=>{$(),t(!0)})):$(),p&&e.push((e=>{t=p(e)})),f.setHost({end(){i()},cancel(){i(!0)}}),n.chain(e,r),f;function r(t){m(),f.complete(t)}function i(e){l||((t||(()=>{}))(e),r(e))}}};function $(){a.domOperation(),r(i,a)}function m(){l=!0,$(),ps(i,a)}function g(t,e,r,i,o){const s=[];return D(i,(i=>{const a=i[o];a&&s.push((()=>{let i,o,s=!1;const l=function(t){s||(s=!0,(o||(()=>{}))(t),i.complete(!t))};return i=new n({end(){l()},cancel(){l(!0)}}),o=function(t,e,r,i,o){let s;switch(r){case"animate":s=[e,i.from,i.to,o];break;case"setClass":s=[e,c,u,o];break;case"addClass":s=[e,c,o];break;case"removeClass":s=[e,u,o];break;default:s=[e,o]}s.push(i);let a=t.apply(t,s);if(a)if(E(a.start)&&(a=a.start()),a instanceof n)a.done(o);else if(E(a))return a;return()=>{}}(a,t,e,r,(t=>{l(!1===t)})),i}))})),s}function v(t,e,r,i,o){let s=g(t,e,r,i,o);if(0===s.length){let e,n;"beforeSetClass"===o?(e=g(t,"removeClass",r,i,"beforeRemoveClass"),n=g(t,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(e=g(t,"removeClass",r,i,"removeClass"),n=g(t,"addClass",r,i,"addClass")),e&&(s=s.concat(e)),n&&(s=s.concat(n))}if(0!==s.length)return function(t){const e=[];return s.length&&D(s,(t=>{e.push(t())})),e.length?n.all(e,t):t(),function(t){D(e,(e=>{t?e.cancel():e.end()}))}}}}}]}],Hs=["$$animationProvider",function(t){t.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(t,e){return function(t){if(t.from&&t.to){const r=n(t.from),i=n(t.to);if(!r&&!i)return;return{start(){const t=[];r&&t.push(r.start()),i&&t.push(i.start()),e.all(t,(function(t){n.complete(t)}));const n=new e({end:o(),cancel:o()});return n;function o(){return function(){D(t,(t=>{t.end()}))}}}}}return n(t)};function n(e){const{element:n}=e,{event:r}=e,{options:i}=e,{classes:o}=e;return t(n,r,o,i)}}]}];function Bs(){function t(t){return["$animate",function(e){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link(n,r,i,o,s){let a,l,c,u,h,d;if(!t){a=r[0],c=i.ngMessage||i.when,u=i.ngMessageExp||i.whenExp;const t=function(t){l=t?x(t)?t:t.split(/[\s,]+/):null,o.reRender()};u?(t(n.$eval(u)),n.$watchCollection(u,t)):t(c)}o.register(a,d={test:t=>function(t,e){if(t)return x(t)?t.indexOf(e)>=0:Object.prototype.hasOwnProperty.call(t,e)}(l,t),attach(){h||s(((n,i)=>{e.enter(n,null,r),h=n;const s=h.$$attachId=o.getAttachId();h.on("$destroy",(()=>{h&&h.$$attachId===s&&(o.deregister(a,t),d.detach()),i.$destroy()}))}))},detach(){if(h){const t=h;h=null,e.leave(t)}}},t),n.$on("$destroy",(()=>{o.deregister(a,t)}))}}}]}window.angular.module("ngMessages",[]).directive("ngMessages",["$animate",function(t){const e="ng-active",n="ng-inactive";return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(o,s,a){const l=this;let c=0,u=0;this.getAttachId=function(){return u++};const h=this.messages={};let d,p;function f(t,e){let n=e;const r=[];for(;n&&n!==t;){const t=n.$$ngMessageNode;if(t&&t.length)return h[t];n.childNodes.length&&-1===r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}this.render=function(c){d=!1,p=c=c||{};const u=r(s,a.ngMessagesMultiple)||r(s,a.multiple),h=[],f={};let $=0,m=l.head,g=!1,y=0;for(;null!=m;){y++;const t=m.message;let e=!1;g||D(c,((n,r)=>{if(i(n)&&!e&&($++,t.test(r))){if(f[r])return;f[r]=!0,e=!0,t.attach()}})),e?g=!u:h.push(t),m=m.next}D(h,(t=>{t.detach()}));const v=h.length!==y,w=l.default&&!v&&$>0;w?l.default.attach():l.default&&l.default.detach(),v||w?t.setClass(o,e,n):t.setClass(o,n,e)},s.$watchCollection(a.ngMessages||a.for,l.render),this.reRender=function(){d||(d=!0,s.$evalAsync((()=>{d&&p&&l.render(p)})))},this.register=function(t,e,n){if(n)l.default=e;else{const n=c.toString();h[n]={message:e},function(t,e,n){const r=h[n];if(l.head){const n=f(t,e);n?(r.next=n.next,n.next=r):(r.next=l.head,l.head=r)}else l.head=r}(o[0],t,n),t.$$ngMessageNode=n,c++}l.reRender()},this.deregister=function(t,e){if(e)delete l.default;else{const e=t.$$ngMessageNode;delete t.$$ngMessageNode,function(t,e,n){const r=h[n];if(!r)return;const i=f(t,e);i?i.next=r.next:l.head=r.next}(o[0],t,e),delete h[e]}l.reRender()}}]};function r(t,e){return v(e)&&0===e.length||i(t.$eval(e))}function i(t){return v(t)?t.length:!!t}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(t,e,n){return{restrict:"AE",require:"^^ngMessages",link(e,r,i){const o=i.ngMessagesInclude||i.src;t(o).then((t=>{e.$$destroyed||v(t)&&!t.trim()||n(t)(e,(t=>{r.after(t)}))}))}}}]).directive("ngMessage",t(!1)).directive("ngMessageExp",t(!1)).directive("ngMessageDefault",t(!0))}const zs="ngAriaDisable";const Ws=["BUTTON","A","INPUT","TEXTAREA","SELECT","DETAILS","SUMMARY"],Gs=function(t,e){if(-1!==e.indexOf(t[0].nodeName))return!0};function Ks(){let t={ariaHidden:!0,ariaChecked:!0,ariaReadonly:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeydown:!0,bindRoleForClick:!0};function e(e,n,r,i){return function(o,s,a){if(Object.prototype.hasOwnProperty.call(a,zs))return;const l=a.$normalize(n);!t[l]||Gs(s,r)||a[l]||o.$watch(a[e],(t=>{t=i?!t:!!t,s.attr(n,t)}))}}this.config=function(e){t=L(t,e)},this.$get=function(){return{config:e=>t[e],$$watchExpr:e}}}window.angular=new class{constructor(){this.cache=xt,this.element=void 0,this.version={full:"",major:0,minor:0,dot:0,codeName:""},this.bind=nt,this.equals=Z,this.element=_t,this.extend=L,this.forEach=D,this.fromJson=ot,this.toJson=it,this.identity=q,this.isArray=x,this.isDate=b,this.isDefined=g,this.isElement=B,this.isFunction=E,this.isNumber=w,this.isObject=y,this.isString=v,this.isUndefined=m,this.merge=I,this.noop=()=>{},this.errorHandlingConfig=be}bootstrap(t,e,n){y(n)||(n={});n=L({strictDi:!1},n),this.doBootstrap=function(){if((t=_t(t)).injector()){const e=t[0]===window.document?"document":ie(t);throw ye("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"<").replace(/>/,">"))}this.bootsrappedModules=e||[],this.bootsrappedModules.unshift(["$provide",e=>{e.value("$rootElement",t)}]),n.debugInfoEnabled&&this.bootsrappedModules.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),this.bootsrappedModules.unshift("ng");const r=ge(this.bootsrappedModules,n.strictDi);return r.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply((()=>{e.data("$injector",r),n(e)(t)}))}]),r};const r=/^NG_ENABLE_DEBUG_INFO!/,i=/^NG_DEFER_BOOTSTRAP!/;if(window&&r.test(window.name)&&(n.debugInfoEnabled=!0,window.name=window.name.replace(r,"")),window&&!i.test(window.name))return this.doBootstrap();window.name=window.name.replace(i,""),this.resumeBootstrap=function(t){return D(t,(function(t){e.push(t)})),this.doBootstrap()},E(this.resumeDeferredBootstrap)&&this.resumeDeferredBootstrap()}injector(t,e){return ge(t,e)}resumeBootstrap(t){return D(t,(t=>{this.bootsrappedModules.push(t)})),this.doBootstrap()}module(t,e,n){const r=mt("$injector");let i={};return X(t,"module"),e&&Object.prototype.hasOwnProperty.call(ve,t)&&(ve[t]=null),function(t,e,n){return t[e]||(t[e]=n())}(ve,t,(()=>{if(!e)throw r("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.",t);const o=[],s=[],a=[],l=u("$injector","invoke","push",s),c={_invokeQueue:o,_configBlocks:s,_runBlocks:a,info(t){if(g(t)){if(!y(t))throw ye("aobj","Argument '{0}' must be an object","value");return i=t,this}return i},requires:e,name:t,provider:h("$provide","provider"),factory:h("$provide","factory"),service:h("$provide","service"),value:u("$provide","value"),constant:u("$provide","constant","unshift"),decorator:h("$provide","decorator",s),animation:h("$animateProvider","register"),filter:h("$filterProvider","register"),controller:h("$controllerProvider","register"),directive:h("$compileProvider","directive"),component:h("$compileProvider","component"),config:l,run(t){return a.push(t),this}};return n&&l(n),c;function u(t,e,n,r){return r||(r=o),function(){return r[n||"push"]([t,e,arguments]),c}}function h(e,n,r){return r||(r=o),function(i,o){return o&&E(o)&&(o.$$moduleName=t),r.push([e,n,arguments]),c}}}))}reloadWithDebugInfo(){window.name=`NG_ENABLE_DEBUG_INFO!${window.name}`,window.location.reload()}},function(){const t=function(t){const e=mt("$injector");function n(t,e,n){return t[e]||(t[e]=n())}const r=n(t,"angular",Object);return r.$$minErr=r.$$minErr||mt,n(r,"module",(()=>{const t={};return function(r,i,o){let s={};return X(r,"module"),i&&Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=null),n(t,r,(()=>{if(!i)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);const t=[],n=[],a=[],l=u("$injector","invoke","push",n),c={_invokeQueue:t,_configBlocks:n,_runBlocks:a,info(t){if(g(t)){if(!y(t))throw ye("aobj","Argument '{0}' must be an object","value");return s=t,this}return s},requires:i,name:r,provider:h("$provide","provider"),factory:h("$provide","factory"),service:h("$provide","service"),value:u("$provide","value"),constant:u("$provide","constant","unshift"),decorator:h("$provide","decorator",n),animation:h("$animateProvider","register"),filter:h("$filterProvider","register"),controller:h("$controllerProvider","register"),directive:h("$compileProvider","directive"),component:h("$compileProvider","component"),config:l,run(t){return a.push(t),this}};return o&&l(o),c;function u(e,n,r,i){return i||(i=t),function(){return i[r||"push"]([e,n,arguments]),c}}function h(e,n,i){return i||(i=t),function(t,o){return o&&E(o)&&(o.$$moduleName=r),i.push([e,n,arguments]),c}}}))}}))}(window),e=t("ng",[],["$provide",function(t){t.provider({$$sanitizeUri:zo}),t.provider("$compile",He).directive({a:Ge,input:Rn,textarea:Rn,form:Qe,script:Fn,select:Wn,option:Gn,ngBind:Kn,ngBindHtml:Jn,ngBindTemplate:Zn,ngClass:Yn,ngClassEven:tr,ngClassOdd:Qn,ngCloak:er,ngController:nr,ngForm:tn,ngHide:sr,ngIf:ar,ngInclude:lr,ngInit:ur,ngNonBindable:hr,ngRef:pr,ngRepeat:$r,ngShow:or,ngStyle:mr,ngSwitch:gr,ngSwitchWhen:yr,ngSwitchDefault:vr,ngOptions:xr,ngTransclude:Er,ngModel:dn,ngList:Or,ngChange:kr,pattern:Tr,ngPattern:Tr,required:Nr,ngRequired:Nr,ngMinlength:Dr,minlength:Dr,ngMaxlength:Mr,maxlength:Mr,ngValue:qn,ngModelOptions:ln}).directive({ngInclude:cr,input:_n}).directive(Ar).directive(Ie),t.provider({$anchorScroll:Pr,$animate:Fr,$animateCss:Wr,$$animateJs:Ur,$$animateQueue:qr,$$AnimateRunner:Jr,$$animateAsyncRun:Zr,$browser:zr,$cacheFactory:Xr,$controller:Oe,$document:Qr,$$isDocumentHidden:ti,$exceptionHandler:ei,$filter:ci,$interpolate:vi,$interval:gi,$$intervalFactory:wi,$http:Pi,$httpParamSerializer:Ai,$httpParamSerializerJQLike:Ni,$httpBackend:Ii,$xhrFactory:Li,$location:Qi,$log:to,$parse:xo,$rootScope:jo,$q:ui,$$q:hi,$sce:Le,$sceDelegate:Pe,$$taskTrackerFactory:Ro,$templateCache:Yr,$templateRequest:qo,$timeout:Bo,$$cookieReader:Kr})}]).info({angularVersion:'"NG_VERSION_FULL"'});window.angular.module("ngAnimate",[]).directive("ngAnimateSwap",Es).directive("ngAnimateChildren",bs).factory("$$rAFScheduler",Cs).provider("$$animateQueue",Ss).provider("$$animateCache",Ds).provider("$$animation",xs).provider("$animateCss",Us).provider("$$animateCssDriver",qs).provider("$$animateJs",Fs).provider("$$animateJsDriver",Hs),Bs(),window.angular.module("ngAria",["ng"]).provider("$aria",Ks).directive("ngShow",["$aria",function(t){return t.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(t){return t.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(t){return t.$$watchExpr("ngValue","aria-checked",Ws,!1)}]).directive("ngChecked",["$aria",function(t){return t.$$watchExpr("ngChecked","aria-checked",Ws,!1)}]).directive("ngReadonly",["$aria",function(t){return t.$$watchExpr("ngReadonly","aria-readonly",Ws,!1)}]).directive("ngRequired",["$aria",function(t){return t.$$watchExpr("ngRequired","aria-required",Ws,!1)}]).directive("ngModel",["$aria",function(t){function e(e,n,r,i){return t.config(n)&&!r.attr(e)&&(i||!Gs(r,Ws))&&("hidden"!==r.attr("type")||"INPUT"!==r[0].nodeName)}function n(t,e){return!e.attr("role")&&e.attr("type")===t&&!Gs(e,Ws)}return{restrict:"A",require:"ngModel",priority:200,compile(r,i){if(Object.prototype.hasOwnProperty.call(i,zs))return;const o=function(t){const{type:e}=t,{role:n}=t;return"checkbox"===(e||n)||"menuitemcheckbox"===n?"checkbox":"radio"===(e||n)||"menuitemradio"===n?"radio":"range"===e||"progressbar"===n||"slider"===n?"range":""}(i);return{post(r,i,s,a){const l=e("tabindex","tabindex",i,!1);function c(){return a.$modelValue}switch(o){case"radio":case"checkbox":n(o,i)&&i.attr("role",o),e("aria-checked","ariaChecked",i,!1)&&r.$watch(c,"radio"===o?function(){i[0].setAttribute("aria-checked",(s.value==a.$viewValue).toString())}:function(){i.attr("aria-checked",(!a.$isEmpty(a.$viewValue)).toString())}),l&&i.attr("tabindex",0);break;case"range":if(n(o,i)&&i.attr("role","slider"),t.config("ariaValue")){const t=!i.attr("aria-valuemin")&&(Object.prototype.hasOwnProperty.call(s,"min")||Object.prototype.hasOwnProperty.call(s,"ngMin")),e=!i.attr("aria-valuemax")&&(Object.prototype.hasOwnProperty.call(s,"max")||Object.prototype.hasOwnProperty.call(s,"ngMax")),n=!i.attr("aria-valuenow");t&&s.$observe("min",(t=>{i.attr("aria-valuemin",t)})),e&&s.$observe("max",(t=>{i.attr("aria-valuemax",t)})),n&&r.$watch(c,(t=>{i.attr("aria-valuenow",t)}))}l&&i.attr("tabindex",0)}!Object.prototype.hasOwnProperty.call(s,"ngRequired")&&a.$validators.required&&e("aria-required","ariaRequired",i,!1)&&s.$observe("required",(()=>{i.attr("aria-required",(!!s.required).toString())})),e("aria-invalid","ariaInvalid",i,!0)&&r.$watch((()=>a.$invalid),(t=>{i.attr("aria-invalid",(!!t).toString())}))}}}}}]).directive("ngDisabled",["$aria",function(t){return t.$$watchExpr("ngDisabled","aria-disabled",Ws,!1)}]).directive("ngMessages",(()=>({restrict:"A",require:"?ngMessages",link(t,e,n){Object.prototype.hasOwnProperty.call(n,zs)||e.attr("aria-live")||e.attr("aria-live","assertive")}}))).directive("ngClick",["$aria","$parse",function(t,e){return{restrict:"A",compile(n,r){if(Object.prototype.hasOwnProperty.call(r,zs))return;const i=e(r.ngClick);return function(e,n,r){Gs(n,Ws)||(t.config("bindRoleForClick")&&!n.attr("role")&&n.attr("role","button"),t.config("tabindex")&&!n.attr("tabindex")&&n.attr("tabindex",0),!t.config("bindKeydown")||r.ngKeydown||r.ngKeypress||r.ngKeyup||n.on("keydown",(t=>{const n=t.which||t.keyCode;13!==n&&32!==n||(-1!==Ws.indexOf(t.target.nodeName)||t.target.isContentEditable||t.preventDefault(),e.$apply((function(){i(e,{$event:t})})))})))}}}}]).directive("ngDblclick",["$aria",function(t){return function(e,n,r){Object.prototype.hasOwnProperty.call(r,zs)||!t.config("tabindex")||n.attr("tabindex")||Gs(n,Ws)||n.attr("tabindex",0)}}])}(),document.addEventListener("DOMContentLoaded",(()=>{we(document)}))}));
|
|
1
|
+
!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";const t="ng-valid",e="ng-invalid",n="ng-pristine",r="ng-dirty",i="ng-untouched",o="ng-touched",s="ng-empty",a="ng-not-empty",l=/^((?:x|data)[:\-_])/i,c=/[:\-_]+(.)/g,u={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"},h=mt("ng");let d=0;function p(){return d+=1,d}function f(t){return v(t)?t.toLowerCase():t}function $(t){if(null==t||k(t))return!1;if(x(t)||v(t))return!0;const e="length"in Object(t)&&t.length;return w(e)&&(e>=0&&e-1 in t||"function"==typeof t.item)}function m(t){return void 0===t}function g(t){return void 0!==t}function y(t){return null!==t&&"object"==typeof t}function v(t){return"string"==typeof t}function w(t){return"number"==typeof t}function b(t){return"[object Date]"===toString.call(t)}function x(t){return Array.isArray(t)||t instanceof Array}function C(t){switch(toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function E(t){return"function"==typeof t}function O(t){return"[object RegExp]"===toString.call(t)}function k(t){return t&&t.window===t}function S(t){return t&&t.$evalAsync&&t.$watch}function A(t){return"boolean"==typeof t}function N(t){return t&&E(t.then)}function T(t){return v(t)?t.trim():t}function M(t,e){const n=e;return t.replace(/[A-Z]/g,((t,e)=>(e?n:"")+t.toLowerCase()))}function D(t,e,n){let r,i;if(t)if(E(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&e.call(n,t[r],r,t);else if(x(t)||$(t)){const 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!==D)t.forEach(e,n,t);else if(null===(o=t)||"object"!=typeof o||Object.getPrototypeOf(o))for(r in t)Object.hasOwnProperty.call(t,r)&&e.call(n,t[r],r,t);else for(r in t)e.call(n,t[r],r,t);var o;return t}function V(t,e,n){const r=Object.keys(t).sort();return r.forEach((r=>e.call(n,t[r],r))),r}function j(t){return function(e,n){t(n,e)}}function P(t,e,n){const r=t.$$hashKey;for(let r=0,i=e.length;r<i;++r){const i=e[r];if(!y(i)&&!E(i))continue;const o=Object.keys(i);for(let e=0,r=o.length;e<r;e++){const r=o[e],s=i[r];n&&y(s)?b(s)?t[r]=new Date(s.valueOf()):O(s)?t[r]=new RegExp(s):s.nodeName?t[r]=s.cloneNode(!0):B(s)?t[r]=s[0].cloneNode(!0):"__proto__"!==r&&(y(t[r])||(t[r]=x(s)?[]:{}),P(t[r],[s],!0)):t[r]=s}}return function(t,e){e?t.$$hashKey=e:delete t.$$hashKey}(t,r),t}function L(t){return P(t,[].slice.call(arguments,1),!1)}function I(t){return P(t,Array.prototype.slice.call(arguments,1),!0)}function R(t){return parseInt(t,10)}function _(t){return Number.isNaN(t)}function U(t,e){return L(Object.create(t),e)}function q(t){return t}function F(t){return function(){return t}}function H(t){return E(t.toString)&&t.toString!==toString}function B(t){return!(!t||!(t.nodeName||t.attr&&t.find))}function z(t){return f(t.nodeName||t[0]&&t[0].nodeName)}function W(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function G(t,e){const n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function K(t,e){return t===e||t!=t&&e!=e}function Z(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;const n=typeof t;let r,i,o;if(n===typeof e&&"object"===n){if(!x(t)){if(b(t))return!!b(e)&&K(t.getTime(),e.getTime());if(O(t))return!!O(e)&&t.toString()===e.toString();if(S(t)||S(e)||k(t)||k(e)||x(e)||b(e)||O(e))return!1;for(i in o=Y(),t)if("$"!==i.charAt(0)&&!E(t[i])){if(!Z(t[i],e[i]))return!1;o[i]=!0}for(i in e)if(!(i in o)&&"$"!==i.charAt(0)&&g(e[i])&&!E(e[i]))return!1;return!0}if(!x(e))return!1;if((r=t.length)===e.length){for(i=0;i<r;i++)if(!Z(t[i],e[i]))return!1;return!0}}return!1}const J={};function X(t,e){if("hasOwnProperty"===t)throw h("badname","hasOwnProperty is not a valid {0} name",e)}function Y(){return Object.create(null)}function Q(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=`${t}`;break;default:t=!H(t)||x(t)||b(t)?it(t):t.toString()}return t}function tt(t,e,n){return t.concat(Array.prototype.slice.call(e,n))}function et(t,e){return Array.prototype.slice.call(t,e||0)}function nt(t,e){const n=arguments.length>2?et(arguments,2):[];return!E(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,tt(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function rt(t,e){let n=e;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?n=void 0:k(e)?n="$WINDOW":e&&window.document===e?n="$DOCUMENT":S(e)&&(n="$SCOPE"),n}function it(t,e){if(!m(t))return w(e)||(e=e?2:null),JSON.stringify(t,rt,e)}function ot(t){return v(t)?JSON.parse(t):t}function st(t,e,n){const r=t.getTimezoneOffset(),i=function(t,e){const n=Date.parse(`Jan 01, 1970 00:00:00 ${t}`)/6e4;return _(n)?e:n}(e,r);return function(t,e){const n=new Date(t.getTime());return n.setMinutes(n.getMinutes()+e),n}(t,1*(i-r))}function at(t){const e={};return(t||"").split("&").forEach((t=>{let n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),-1!==n&&(r=t.substring(0,n),i=t.substring(n+1)),r=lt(r),g(r)&&(i=!g(i)||lt(i),Object.hasOwnProperty.call(e,r)?x(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))})),e}function lt(t){try{return decodeURIComponent(t)}catch(t){}}function ct(t){return ut(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ut(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":"+")}const ht=["ng-","data-ng-","ng:","x-ng-"];function dt(t,e){if(x(t)){e=e||[];for(let n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(y(t)){e=e||{};for(const n in t)n.startsWith("$")&&"$"===n.charAt(1)||(e[n]=t[n])}return e||t}function pt(t,e,n){if(!t)throw h("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ft(t,e,n){return n&&x(t)&&(t=t[t.length-1]),pt(E(t),e,`not a function, got ${t&&"object"==typeof t?t.constructor.name||"Object":typeof t}`),t}const $t={};function mt(t){const e='https://errors.angularjs.org/"NG_VERSION_FULL"/',n=`${e.replace(".","\\.")}[\\s\\S]*`,r=new RegExp(n,"g");return function(){const n=arguments[0],i=arguments[1];let o=`[${t?`${t}:`:""}${n}] `;const s=et(arguments,2).map((t=>gt(t)));let a,l;if(o+=i.replace(/\{\d+\}/g,(t=>{const e=+t.slice(1,-1);return e<s.length?s[e].replace(r,""):t})),o+=`\n${e}${t?`${t}/`:""}${n}`,$t.urlErrorParamsEnabled)for(l=0,a="?";l<s.length;l++,a="&")o+=`${a}p${l}=${encodeURIComponent(s[l])}`;return new Error(o)}}function gt(t){if("function"==typeof t)return t.toString().replace(/ \{[\s\S]*$/,"");if(m(t))return"undefined";if("string"!=typeof t){const e=[];let n=structuredClone(t);return JSON.stringify(n,((t,n)=>{const r=rt(t,n);if(y(r)){if(e.indexOf(r)>=0)return"...";e.push(r)}return r}))}return t}function yt(t){const e=t&&t.$$hashKey;if(e)return"function"==typeof e?t.$$hashKey():e;const n=typeof t;return"function"===n||"object"===n&&null!==t?(t.$$hashKey=`${n}:${p()}`,t.$$hashKey):`${n}:${t}`}function vt(t,e){return t||e?t?e?(x(t)&&(t=t.join(" ")),x(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function wt(t){return t.replace(l,"").replace(c,((t,e,n)=>n?e.toUpperCase():e))}const bt="ngId",xt=new Proxy(new Map,{get:(t,e,n)=>"size"===e?t.size:"function"==typeof t[e]?function(...n){return t[e].apply(t,n)}:Reflect.get(t,e,n),set:(t,e,n,r)=>Reflect.set(t,e,n,r),deleteProperty:(t,e)=>Reflect.deleteProperty(t,e),has:(t,e)=>Reflect.has(t,e),ownKeys:t=>Reflect.ownKeys(t),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t,e)});let Ct=1;const Et=/-([a-z])/g,Ot=/_([a-z])/g,kt={mouseleave:"mouseout",mouseenter:"mouseover"},St=mt("jqLite");function At(t,e){return e.toUpperCase()}function Nt(t){return t.replace(Et,At)}function Tt(t){return t.replace(Ot,At)}const Mt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Dt=/<([\w:-]+)/,Vt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};function jt(t){return!/<|&#?\w+;/.test(t)}function Pt(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_NODE:case void 0:return!0;default:return!1}}function Lt(t,e){let n,r,i,o;const s=e.createDocumentFragment();let a,l=[];if(jt(t))l.push(e.createTextNode(t));else{for(n=s.appendChild(e.createElement("div")),r=(Dt.exec(t)||["",""])[1].toLowerCase(),o=t,i=Vt[r]||[],a=i.length;--a>-1;)n.appendChild(window.document.createElement(i[a])),n=n.firstChild;n.innerHTML=o,l=tt(l,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",D(l,(t=>{s.appendChild(t)})),s}Vt.tbody=Vt.tfoot=Vt.colgroup=Vt.caption=Vt.thead,Vt.th=Vt.td;const It=window.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};function Rt(t){if(t instanceof Rt)return t;let e;if(v(t)&&(t=T(t),e=!0),!(this instanceof Rt)){if(e&&"<"!==t.charAt(0))throw St("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Rt(t)}if(e){Wt(this,function(t,e){let n;return e=e||window.document,(n=Mt.exec(t))?[e.createElement(n[1])]:(n=Lt(t,e))?n.childNodes:[]}(t))}else E(t)?Xt(t):Wt(this,t)}var _t=Rt;function Ut(t,e){t&&(!e&&Pt(t)&&ee([t]),t.querySelectorAll&&ee(t.querySelectorAll("*")))}function qt(t){const e=t[bt],{events:n,data:r}=xt.get(e);r&&Object.keys(r).length||n&&Object.keys(n).length||(xt.delete(e),t[bt]=void 0)}function Ft(t,e,n,r){if(g(r))throw St("offargs","jqLite#off() does not support the `selector` argument");const i=Bt(t),o=i&&i.events,s=i&&i.handle;if(s){if(e){const r=function(e){const r=o[e];g(n)&&x(r)&&G(r,n),g(n)&&r&&r.length>0||(t.removeEventListener(e,s),delete o[e])};D(e.split(" "),(t=>{r(t),kt[t]&&r(kt[t])}))}else for(e in o)"$destroy"!==e&&t.removeEventListener(e,s),delete o[e];qt(t)}}function Ht(t,e){const n=t[bt],r=n&&xt.get(n);r&&(e?delete r.data[e]:r.data={},qt(t))}function Bt(t,e=!1){let n=t[bt],r=n&&xt.get(n);return e&&!r&&(t[bt]=n=++Ct,r={events:{},data:{},handle:null},xt.set(n,r)),r}function zt(t,e,n){if(Pt(t)){let r;const i=g(n),o=!i&&e&&!y(e),s=!e,a=Bt(t,!o),l=a&&a.data;if(i)l[Nt(e)]=n;else{if(s)return l;if(o)return l&&l[Nt(e)];for(r in e)l[Nt(r)]=e[r]}}}function Wt(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{const{length:n}=e;if("number"==typeof n&&e.window!==e){if(n)for(let r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function Gt(t,e){return Kt(t,`$${e||"ngController"}Controller`)}function Kt(t,e,n){t.nodeType===Node.DOCUMENT_NODE&&(t=t.documentElement);const r=x(e)?e:[e];for(;t;){for(let e=0,i=r.length;e<i;e++)if(g(n=zt(t,r[e])))return n;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function Zt(t){for(Ut(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Jt(t,e){e||Ut(t);const n=t.parentNode;n&&n.removeChild(t)}function Xt(t){function e(){window.document.removeEventListener("DOMContentLoaded",e),window.removeEventListener("load",e),t()}"complete"===window.document.readyState?window.setTimeout(t):(window.document.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}_t.CACHE=xt,Rt.prototype={ready:Xt,toString(){const t=[];return D(this,(e=>{t.push(`${e}`)})),`[${t.join(", ")}]`},eq(t){return _t(t>=0?this[t]:this[this.length+t])},length:0,push:[].push,sort:[].sort,splice:[].splice};const Yt={};"multiple,selected,checked,disabled,readOnly,required,open".split(",").forEach((t=>{Yt[f(t)]=t}));const Qt={};function te(t,e){const n=Yt[e.toLowerCase()];return n&&Qt[z(t)]&&n}function ee(t){for(let n=0,r=t.length;n<r;n++){var e=(xt.get(t[n][bt])||{}).events;e&&e.$destroy&&_t(t[n]).triggerHandler("$destroy"),Ht(t[n]),Ft(t[n])}}function ne(t,e,n){n.call(t,e)}function re(t,e,n){const r=e.relatedTarget;r&&(r===t||It.call(t,r))||n.call(t,e)}function ie(t){const e=_t(t)[0].cloneNode(!0),n=_t(e).empty();var r=_t("<div></div>").append(n).html();try{return n[0].nodeType===Node.TEXT_NODE?f(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(t,e){return"<"+f(e)}))}catch(t){return f(r)}}function oe(t){let e=t[0];const n=t[t.length-1];let r;for(let i=1;e!==n&&(e=e.nextSibling);i++)(r||t[i]!==e)&&(r||(r=_t(Array.prototype.slice.call(t,0,i))),r.push(e));return r||t}"input,select,option,textarea,button,form,details".split(",").forEach((t=>{Qt[t]=!0})),D({data:zt,removeData:Ht,cleanData:ee},((t,e)=>{Rt[e]=t})),D({data:zt,inheritedData:Kt,scope:t=>zt(t,"$scope")||Kt(t.parentNode||t,["$isolateScope","$scope"]),isolateScope:t=>zt(t,"$isolateScope")||zt(t,"$isolateScopeNoTemplate"),controller:Gt,injector:t=>Kt(t,"$injector"),attr(t,e,n){let r;const{nodeType:i}=t;if(i===Node.TEXT_NODE||i===Node.ATTRIBUTE_NODE||i===Node.COMMENT_NODE||!t.getAttribute)return;const o=f(e),s=Yt[o];if(!g(n))return r=t.getAttribute(e),s&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&s?t.removeAttribute(e):t.setAttribute(e,s?o:n)},text:function(){return t.$dv="",t;function t(t,e){if(m(e)){const{nodeType:e}=t;return e===Node.ELEMENT_NODE||e===Node.TEXT_NODE?t.textContent:""}t.textContent=e}}(),val(t,e){if(m(e)){if(t.multiple&&"select"===z(t)){const e=[];return D(t.options,(t=>{t.selected&&e.push(t.value||t.text)})),e}return t.value}t.value=e},html(t,e){if(m(e))return t.innerHTML;Ut(t,!0),t.innerHTML=e},empty:Zt},((t,e)=>{Rt.prototype[e]=function(e,n){let r,i;const o=this.length;if(t!==Zt&&m(2===t.length&&t!==Gt?e:n)){if(y(e)){for(r=0;r<o;r++)if(t===zt)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}let s=t.$dv;const a=m(s)?Math.min(o,1):o;for(let r=0;r<a;r++){const i=t(this[r],e,n);s=s?s+i:i}return s}for(r=0;r<o;r++)t(this[r],e,n);return this}})),D({removeData:Ht,on:(t,e,n,r)=>{if(g(r))throw St("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(!Pt(t))return;const i=Bt(t,!0),{events:o}=i;let{handle:s}=i;s||(s=i.handle=function(t,e){const n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};let i=e[r||n.type];const o=i?i.length:0;if(!o)return;if(m(n.immediatePropagationStopped)){const t=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),t&&t.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};const s=i.specialHandlerWrapper||ne;o>1&&(i=dt(i));for(let e=0;e<o;e++)n.isImmediatePropagationStopped()||s(t,n,i[e])};return n.elem=t,n}(t,o));const a=e.indexOf(" ")>=0?e.split(" "):[e];let l=a.length;const c=function(e,r,i){let a=o[e];a||(a=o[e]=[],a.specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,s)),a.push(n)};for(;l--;)e=a[l],kt[e]?(c(kt[e],re),c(e,void 0,!0)):c(e)},off:Ft,replaceWith(t,e){let n;const r=t.parentNode;Ut(t),D(new Rt(e),(e=>{n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e}))},children:t=>Array.from(t.childNodes).filter((t=>t.nodeType===Node.ELEMENT_NODE)),append(t,e){const{nodeType:n}=t;if(n===Node.ELEMENT_NODE||n===Node.DOCUMENT_FRAGMENT_NODE)for(let n=0,r=(e=new Rt(e)).length;n<r;n++){const r=e[n];t.appendChild(r)}},prepend(t,e){if(t.nodeType===Node.ELEMENT_NODE){const n=t.firstChild;D(new Rt(e),(e=>{t.insertBefore(e,n)}))}},remove:Jt,detach(t){Jt(t,!0)},after(t,e){let n=t;const r=t.parentNode;if(r)for(let t=0,i=(e=new Rt(e)).length;t<i;t++){const i=e[t];r.insertBefore(i,n.nextSibling),n=i}},parent(t){const e=t.parentNode;return e&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?e:null},find:(t,e)=>t.getElementsByTagName?t.getElementsByTagName(e):[],triggerHandler(t,e,n){let r,i,o;const s=e.type||e,a=Bt(t),l=a&&a.events,c=l&&l[s];c&&(r={preventDefault(){this.defaultPrevented=!0},isDefaultPrevented(){return!0===this.defaultPrevented},stopImmediatePropagation(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped(){return!0===this.immediatePropagationStopped},stopPropagation:()=>{},type:s,target:t},e.type&&(r=L(r,e)),i=dt(c),o=n?[r].concat(n):[r],D(i,(e=>{r.isImmediatePropagationStopped()||e.apply(t,o)})))}},((t,e)=>{Rt.prototype[e]=function(e,n,r){let i;for(let o=0,s=this.length;o<s;o++)m(i)?(i=t(this[o],e,n,r),g(i)&&(i=_t(i))):Wt(i,t(this[o],e,n,r));return g(i)?i:this}}));var se=/^([^(]+?)=>/,ae=/^[^(]*\(\s*([^)]*)\)/m,le=/,/,ce=/^\s*(_?)(\S+?)\1\s*$/,ue=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,he=mt("$injector");function de(t){return Function.prototype.toString.call(t)}function pe(t){var e=de(t).replace(ue,"");return e.match(se)||e.match(ae)}function fe(t,e,n){var r,i;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw v(n)&&n||(n=t.name||function(t){var e=pe(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(t)),he("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);D(pe(t)[1].split(le),(function(t){t.replace(ce,(function(t,e,n){r.push(n)}))}))}t.$inject=r}}else x(t)?(ft(t[i=t.length-1],"fn"),r=t.slice(0,i)):ft(t,"fn",!0);return r}const $e="Provider",me={};function ge(t,e){if(g(e)&&!A(e))throw he("strictDi must be boolean");e=!!e;const n=[],r=new Map,i={$provide:{provider:u(h),factory:u(p),service:u((function(t,e){return p(t,["$injector",function(t){return t.instantiate(e)}])})),value:u((function(t,e){return p(t,F(e),!1)})),constant:u((function(t,e){X(t,"constant"),i[t]=e,s[t]=e})),decorator:function(t,e){const n=o.get(t+$e),r=n.$get;n.$get=function(){const t=l.invoke(r,n);return l.invoke(e,null,{$delegate:t})}}}},o=i.$injector=$(i,(function(t,e){throw v(e)&&n.push(e),he("unpr","Unknown provider: {0}",n.join(" <- "))})),s={};let a=$(s,((t,e)=>{const n=o.get(t+$e,e);return l.invoke(n.$get,n,void 0,t)}));i["$injector"+$e]={$get:F(a)};let l=a;l.modules=o.modules=Y();var c=f(t);return l=a.get("$injector"),l.strictDi=e,c.forEach((t=>{t&&l.invoke(t)})),l.loadNewModules=function(t){f(t).forEach((t=>{t&&l.invoke(t)}))},l;function u(t){return function(e,n){if(!y(e))return t(e,n);D(e,j(t))}}function h(t,e){if(X(t,"service"),(E(e)||x(e))&&(e=o.instantiate(e)),!e.$get)throw he("pget","Provider '{0}' must define $get factory method.",t);return i[t+$e]=e}function d(t,e){return function(){const n=l.invoke(e,this);if(m(n))throw he("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function p(t,e,n){return h(t,{$get:!1!==n?d(t,e):e})}function f(t){pt(m(t)||x(t),"modulesToLoad","not an array");let e,n=[];return D(t,(t=>{if(!r.get(t)){r.set(t,!0);try{v(t)?(e=window.angular.module(t),l.modules[t]=e,n=n.concat(f(e.requires)).concat(e._runBlocks),i(e._invokeQueue),i(e._configBlocks)):E(t)||x(t)?n.push(o.invoke(t)):ft(t,"module")}catch(e){throw x(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=`${e.message}\n${e.stack}`),he("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function i(t){t.forEach((t=>{const e=o.get(t[0]);e[t[1]].apply(e,t[2])}))}})),n}function $(t,r){function o(e,i){if(Object.prototype.hasOwnProperty.call(t,e)){if(t[e]===me)throw he("cdep","Circular dependency found: {0}",`${e} <- ${n.join(" <- ")}`);return t[e]}try{return n.unshift(e),t[e]=me,t[e]=r(e,i),t[e]}catch(n){throw t[e]===me&&delete t[e],n}finally{n.shift()}}function s(t,n,r){const i=[],s=fe(t,e,r);for(let t=0,{length:e}=s;t<e;t++){const e=s[t];if("string"!=typeof e)throw he("itkn","Incorrect injection token! Expected service name as string, got {0}",e);i.push(n&&Object.prototype.hasOwnProperty.call(n,e)?n[e]:o(e,r))}return i}return{invoke:function(t,e,n,r){"string"==typeof n&&(r=n,n=null);const i=s(t,n,r);return x(t)&&(t=t[t.length-1]),function(t){let e=t.$$ngIsClass;return A(e)||(e=t.$$ngIsClass=/^class\b/.test(de(t))),e}(t)?(i.unshift(null),new(Function.prototype.bind.apply(t,i))):t.apply(e,i)},instantiate:function(t,e,n){const r=x(t)?t[t.length-1]:t,i=s(t,e,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:o,annotate:fe,has:function(e){const n=Object.prototype.hasOwnProperty.call(i,e+$e),r=Object.prototype.hasOwnProperty.call(t,e);return n||r}}}}ge.$$annotate=fe;const ye=mt("ng"),ve={};function we(t){let e,n;const r={};ht.forEach((r=>{const i=`${r}app`;!e&&t.hasAttribute&&t.hasAttribute(i)&&(e=t,n=t.getAttribute(i))})),ht.forEach((r=>{const i=`${r}app`;let o;!e&&(o=t.querySelector(`[${i.replace(":","\\:")}]`))&&(e=o,n=o.getAttribute(i))})),e&&(r.strictDi=null!==function(t,e){let n,r;const i=ht.length;for(r=0;r<i;++r)if(n=ht[r]+e,v(n=t.getAttribute(n)))return n;return null}(e,"strict-di"),window.angular.bootstrap(e,n?[n]:[],r))}function be(t){var e;return y(t)&&(g(t.objectMaxDepth)&&($t.objectMaxDepth=w(e=t.objectMaxDepth)&&e>0?t.objectMaxDepth:NaN),g(t.urlErrorParamsEnabled)&&A(t.urlErrorParamsEnabled)&&($t.urlErrorParamsEnabled=t.urlErrorParamsEnabled)),$t}const xe=mt("$controller"),Ce=/^(\S+)(\s+as\s+([\w$]+))?$/;function Ee(t,e){if(v(t)){const e=Ce.exec(t);if(e)return e[3]}}function Oe(){const t={};this.has=function(e){return Object.prototype.hasOwnProperty.call(t,e)},this.register=function(e,n){X(e,"controller"),y(e)?L(t,e):t[e]=n},this.$get=["$injector",function(e){return function(r,i,o,s){let a,l,c,u;if(o=!0===o,s&&v(s)&&(u=s),v(r)){if(l=r.match(Ce),!l)throw xe("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=l[1],u=u||l[3],!(r=Object.prototype.hasOwnProperty.call(t,c)?t[c]:function(t,e,n){if(!e)return t;const r=e.split(".");let i;const o=r.length;for(let e=0;e<o;e++)i=r[e],t&&(t=t[i]);return t}(i.$scope,c)))throw xe("ctrlreg","The controller with the name '{0}' is not registered.",c);ft(r,c,!0)}if(o){const t=(x(r)?r[r.length-1]:r).prototype;return a=Object.create(t||null),u&&n(i,u,a,c||r.name),L((()=>{const t=e.invoke(r,a,i,c);return t!==a&&(y(t)||E(t))&&(a=t,u&&n(i,u,a,c||r.name)),a}),{instance:a,identifier:u})}return a=e.instantiate(r,i,c),u&&n(i,u,a,c||r.name),a};function n(t,e,n,r){if(!t||!y(t.$scope))throw mt("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,e);t.$scope[e]=n}}]}const ke=window.document.createElement("a"),Se=Ne(window.location.href);let Ae;function Ne(t){if(!v(t))return t;const e=t;ke.setAttribute("href",e);let{hostname:n}=ke;return!("[::1]"===ke.hostname)&&n.indexOf(":")>-1&&(n=`[${n}]`),{href:ke.href,protocol:ke.protocol?ke.protocol.replace(/:$/,""):"",host:ke.host,search:ke.search?ke.search.replace(/^\?/,""):"",hash:ke.hash?ke.hash.replace(/^#/,""):"",hostname:n,port:ke.port,pathname:"/"===ke.pathname.charAt(0)?ke.pathname:`/${ke.pathname}`}}function Te(t){return Me(t,function(){if(window.document.baseURI)return window.document.baseURI;Ae||(Ae=window.document.createElement("a"),Ae.href=".",Ae=Ae.cloneNode(!1));return Ae.href}())}function Me(t,e){return t=Ne(t),e=Ne(e),t.protocol===e.protocol&&t.host===e.host}ke.href="http://[::1]";const De=mt("$sce"),Ve={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function je(t){if("self"===t)return t;if(v(t)){if(t.indexOf("***")>-1)throw De("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=(e=t,e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp(`^${t}$`)}var e;if(O(t))return new RegExp(`^${t.source}$`);throw De("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Pe(){this.SCE_CONTEXTS=Ve;let t=["self"],e=[];this.trustedResourceUrlList=function(e){return arguments.length&&(t=e.map((t=>je(t)))),t},this.bannedResourceUrlList=function(t){return arguments.length&&(e=t.map((t=>je(t)))),e},this.$get=["$injector","$$sanitizeUri",function(n,r){let i=function(){throw De("unsafe","Attempting to use an unsafe value in a safe context.")};function o(t,e){return"self"===t?Me(e,Se)||Te(e):!!t.exec(e.href)}function s(t){const 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}n.has("$sanitize")&&(i=n.get("$sanitize"));const a=s(),l={};return l[Ve.HTML]=s(a),l[Ve.CSS]=s(a),l[Ve.MEDIA_URL]=s(a),l[Ve.URL]=s(l[Ve.MEDIA_URL]),l[Ve.JS]=s(a),l[Ve.RESOURCE_URL]=s(l[Ve.URL]),{trustAs:function(t,e){const n=Object.prototype.hasOwnProperty.call(l,t)?l[t]:null;if(!n)throw De("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||m(e)||""===e)return e;if("string"!=typeof e)throw De("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)},getTrusted:function(n,s){if(null===s||m(s)||""===s)return s;const a=Object.prototype.hasOwnProperty.call(l,n)?l[n]:null;if(a&&s instanceof a)return s.$$unwrapTrustedValue();if(E(s.$$unwrapTrustedValue)&&(s=s.$$unwrapTrustedValue()),n===Ve.MEDIA_URL||n===Ve.URL)return r(s.toString(),n===Ve.MEDIA_URL);if(n===Ve.RESOURCE_URL){if(function(n){const r=Ne(n.toString());let i,s,a=!1;for(i=0,s=t.length;i<s;i++)if(o(t[i],r)){a=!0;break}if(a)for(i=0,s=e.length;i<s;i++)if(o(e[i],r)){a=!1;break}return a}(s))return s;throw De("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",s.toString())}if(n===Ve.HTML)return i(s);throw De("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(t){return t instanceof a?t.$$unwrapTrustedValue():t}}}]}function Le(){let t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){const r=dt(Ve);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=function(t){return t}),r.parseAs=function(t,n){const i=e(n);return i.literal&&i.constant?i:e(n,(e=>r.getTrusted(t,e)))};const i=r.parseAs,{getTrusted:o}=r,{trustAs:s}=r;return D(Ve,((t,e)=>{const n=f(e);r[Tt(`parse_as_${n}`)]=function(e){return i(t,e)},r[Tt(`get_trusted_${n}`)]=function(e){return o(t,e)},r[Tt(`trust_as_${n}`)]=function(e){return s(t,e)}})),r}]}const Ie={},Re={blur:!0,focus:!0};function _e(t,e,n,r,i,o){return{restrict:"A",compile(s,a){const l=t(a[r]);return function(t,r){r.on(i,(r=>{const i=function(){l(t,{$event:r})};if(e.$$phase)if(o)t.$evalAsync(i);else try{i()}catch(t){n(t)}else t.$apply(i)}))}}}}"click dblclick submit focus blur copy cut paste".split(" ").forEach((t=>{const e=wt(`ng-${t}`);Ie[e]=["$parse","$rootScope","$exceptionHandler",(n,r,i)=>_e(n,r,i,e,t,Re[t])]}));const Ue=mt("$compile"),qe=new Object;let Fe=10;function He(t,e){const n={},r="Directive",i={ngSrc:!0,ngSrcset:!0,src:!0,srcset:!0},o=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,s=/^(on[a-z]+|formaction)$/,a=Y();function c(t,e,n){const r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=Y();return D(t,((t,o)=>{if((t=t.trim())in a)return void(i[o]=a[t]);const s=t.match(r);if(!s)throw Ue("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o},s[4]&&(a[t]=i[o])})),i}function h(t,e){const n={isolateScope:null,bindToController:null};if(y(t.scope)&&(!0===t.bindToController?(n.bindToController=c(t.scope,e,!0),n.isolateScope={}):n.isolateScope=c(t.scope,e,!1)),y(t.bindToController)&&(n.bindToController=c(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw Ue("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}this.directive=function e(i,s){return pt(i,"name"),X(i,"directive"),v(i)?(!function(t){const e=t.charAt(0);if(!e||e!==f(e))throw Ue("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw Ue("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}(i),pt(s,"directiveFactory"),Object.prototype.hasOwnProperty.call(n,i)||(n[i]=[],t.factory(i+r,["$injector","$exceptionHandler",function(t,e){const r=[];return D(n[i],((n,s)=>{try{let e=t.invoke(n);E(e)?e={compile:F(e)}:!e.compile&&e.link&&(e.compile=F(e.link)),e.priority=e.priority||0,e.index=s,e.name=e.name||i,e.require=function(t){const e=t.require||t.controller&&t.name;return!x(e)&&y(e)&&D(e,((t,n)=>{const r=t.match(o);t.substring(r[0].length)||(e[n]=r[0]+n)})),e}(e),e.restrict=function(t,e){if(t&&(!v(t)||!/[EA]/.test(t)))throw Ue("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}(e.restrict,i),e.$$moduleName=n.$$moduleName,r.push(e)}catch(t){e(t)}})),r}])),n[i].push(s)):Object.entries(i).forEach((([t,n])=>e(t,n))),this},this.component=function t(e,n){if(!v(e))return D(e,j(nt(this,t))),this;const r=n.controller||function(){};function i(t){function e(e){return E(e)||x(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}const i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:Ee(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 D(n,((t,e)=>{"$"===e.charAt(0)&&(o[e]=t)})),o}return D(n,((t,e)=>{"$"===e.charAt(0)&&(i[e]=t,E(r)&&(r[e]=t))})),i.$inject=["$injector"],this.directive(e,i)},this.aHrefSanitizationTrustedUrlList=function(t){return g(t)?(e.aHrefSanitizationTrustedUrlList(t),this):e.aHrefSanitizationTrustedUrlList()},this.imgSrcSanitizationTrustedUrlList=function(t){return g(t)?(e.imgSrcSanitizationTrustedUrlList(t),this):e.imgSrcSanitizationTrustedUrlList()};let d=!0;this.debugInfoEnabled=function(t){return g(t)?(d=t,this):d};let p=!1;this.strictComponentBindingsEnabled=function(t){return g(t)?(p=t,this):p};const $=Y();this.addPropertySecurityContext=function(t,e,n){const r=`${t.toLowerCase()}|${e.toLowerCase()}`;if(r in $&&$[r]!==n)throw Ue("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",t,e,$[r],n);return $[r]=n,this},function(){function t(t,e){D(e,(e=>{$[e.toLowerCase()]=t}))}t(Ve.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t(Ve.CSS,["*|style"]),t(Ve.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),t(Ve.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),t(Ve.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,e,a,c,d,g,w,b,O){const k=/^\w/,N=window.document.createElement("div");let V;function j(){try{if(! --Fe)throw V=void 0,Ue("infchng","{0} $onChanges() iterations reached. Aborting!\n",Fe);w.$apply((()=>{for(let t=0,e=V.length;t<e;++t)try{V[t]()}catch(t){a(t)}V=void 0}))}finally{Fe++}}function P(t,e){if(!t)return t;if(!v(t))throw Ue("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',e,t.toString());for(var n="",r=T(t),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),s=Math.floor(o.length/2),a=0;a<s;a++){var l=2*a;n+=b.getTrustedMediaUrl(T(o[l])),n+=" "+T(o[l+1])}var c=T(o[2*a]).split(/\s/);return n+=b.getTrustedMediaUrl(T(c[0])),2===c.length&&(n+=" "+T(c[1])),n}class I{constructor(t,e){if(e){const t=Object.keys(e);for(let n=0,r=t.length;n<r;n++){const r=t[n];this[r]=e[r]}}else this.$attr={};this.$$element=t}$normalize=wt;$addClass(t){t&&t.length>0&&O.addClass(this.$$element,t)}$removeClass(t){t&&t.length>0&&O.removeClass(this.$$element,t)}$updateClass(t,e){const n=ze(t,e);n&&n.length&&O.addClass(this.$$element,n);const r=ze(e,t);r&&r.length&&O.removeClass(this.$$element,r)}$set(t,e,n,r){const i=te(this.$$element[0],t),o=u[t];let s=t;i?(this.$$element[0][t]=e,r=i):o&&(this[o]=e,s=o),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t])||(this.$attr[t]=r=M(t,"-")),"img"===this.$$element[0].nodeName.toLowerCase()&&"srcset"===t&&(this[t]=e=P(e,"$set('srcset', value)")),!1!==n&&(null===e||m(e)?this.$$element[0].removeAttribute(r):k.test(r)?i&&!1===e?this.$$element[0].removeAttribute(r):this.$$element.attr(r,e):function(t,e,n){N.innerHTML=`<span ${e}>`;const{attributes:r}=N.firstChild,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}(this.$$element[0],r,e));const{$$observers:l}=this;l&&D(l[s],(t=>{try{t(e)}catch(t){a(t)}}))}$observe(t,e){const n=this.$$observers||(this.$$observers=Y()),r=n[t]||(n[t]=[]);return r.push(e),w.$evalAsync((()=>{r.$$inter||!Object.prototype.hasOwnProperty.call(this,t)||m(this[t])||e(this[t])})),function(){G(r,e)}}}const R=e.startSymbol(),_=e.endSymbol(),F="{{"===R&&"}}"===_?q:function(t){return t.replace(/\{\{/g,R).replace(/}}/g,_)},H=/^ng(Attr|Prop|On)([A-Z].*)$/,B=/^(.+)Start$/;return W;function W(t,e,n,r,i){t instanceof _t||(t=_t(t));let o=J(t,e,t,n,r,i),s=null;return function(e,n,r){if(!t)throw Ue("multilink","This element has already been linked.");pt(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new()),r=r||{};let a,{transcludeControllers:l,parentBoundTranscludeFn:c,futureParentElement:u}=r;if(c&&c.$$boundTransclude&&(c=c.$$boundTransclude),s||(s=function(t){const e=t&&t[0];if(!e)return"html";return"foreignobject"!==z(e)&&toString.call(e).match(/SVG/)?"svg":"html"}(u)),a="html"!==s?_t($t(s,_t("<div></div>").append(t).html())):n?_t(Array.from(t).map((t=>t.cloneNode(!0)))):t,l)for(const t in l)a.data(`$${t}Controller`,l[t].instance);return n&&n(a,e),o&&o(e,a,a,c),n||(t=o=null),a}}function J(t,e,n,r,i,o){const s=[];let a,l;var c;let u,h,d,p;for(let f=0;f<t.length;f++)a=new I,l=Q(t[f],[],a,0===f?r:void 0,i),h=(c=l.length?ot(l,t[f],a,e,n,null,[],[],o):null)&&c.terminal||!(u=t[f].childNodes)||!u.length?null:J(u,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:e),(c||h)&&(s.push(f,c,h),d=!0,p=p||c),o=null;return d?function(t,n,r,i){let o,a,l,c,u,h,d,f,$;if(p)for($=new Array(n.length),u=0;u<s.length;u+=3)d=s[u],$[d]=n[d];else $=n;for(u=0,h=s.length;u<h;)l=$[s[u++]],o=s[u++],a=s[u++],o?(c=o.scope?t.$new():t,f=o.transcludeOnThisElement?X(t,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&e?X(t,e):null,o(a,c,l,r,f)):a&&a(t,l.childNodes,void 0,i)}:null}function X(t,e,n){function r(r,i,o,s,a){return r||((r=t.$new(!1,a)).$$transcluded=!0),e(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}const i=r.$$slots=Y();for(const r in e.$$slots)e.$$slots[r]?i[r]=X(t,e.$$slots[r],n):i[r]=null;return r}function Q(t,n,r,i,o){const{nodeType:s}=t,a=r.$attr;let c;switch(s){case Node.ELEMENT_NODE:c=t.nodeName.toLowerCase(),lt(n,wt(c),"E",i,o);for(var u,h,d,p,f,$=t.attributes,m=0,g=$&&$.length;m<g;m++){let e,s=!1,c=!1,g=!1,y=!1,v=!1;h=(u=$[m]).name,p=u.value,(f=(d=wt(h.toLowerCase())).match(H))?(g="Attr"===f[1],y="Prop"===f[1],v="On"===f[1],h=h.replace(l,"").toLowerCase().substr(4+f[1].length).replace(/_(.)/g,((t,e)=>e.toUpperCase()))):(e=d.match(B))&&ct(e[1])&&(s=h,c=`${h.substr(0,h.length-5)}end`,h=h.substr(0,h.length-6)),y||v?(r[d]=p,a[d]=u.name,y?gt(t,n,d,h):yt(n,d,h)):(a[d=wt(h.toLowerCase())]=h,!g&&Object.prototype.hasOwnProperty.call(r,d)||(r[d]=p,te(t,d)&&(r[d]=!0)),vt(t,n,p,d,g),lt(n,d,"A",i,o,s,c))}"input"===c&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off");break;case Node.TEXT_NODE:!function(t,n){const r=e(n,!0);r&&t.push({priority:0,compile:function(){return function(t,e){t.$watch(r,(t=>{e[0].nodeValue=t}))}}})}(n,t.nodeValue)}return n.sort(dt),n}function tt(t,e,n){const r=[];let i=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw Ue("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===Node.ELEMENT_NODE&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0);else r.push(t);return _t(r)}function rt(t,e,n){return function(r,i,o,s,a){return i=tt(i[0],e,n),t(r,i,o,s,a)}}function it(t,e,n,r,i,o){let s;return t?W(e,n,r,i,o):function(){return s||(s=W(e,n,r,i,o),e=n=o=null),s.apply(this,arguments)}}function ot(t,e,n,r,i,o,s,l,c){c=c||{};let u,h,d,p,f,$=-Number.MAX_VALUE,{newScopeDirective:v}=c,{controllerDirectives:w}=c,{newIsolateScopeDirective:b}=c,{templateDirective:C}=c,{nonTlbTranscludeDirective:O}=c,k=!1,A=!1,{hasElementTranscludeDirective:N}=c,M=n.$$element=_t(e),V=o,j=r,P=!1,R=!1;for(let o=0,c=t.length;o<c;o++){u=t[o];const m=u.$$start,g=u.$$end;if(m&&(M=tt(e,m,g)),d=void 0,$>u.priority)break;if(f=u.scope,f&&(u.templateUrl||(y(f)?(ft("new/isolated scope",b||v,u,M),b=u):ft("new/isolated scope",b,u,M)),v=v||u),h=u.name,!P&&(u.replace&&(u.templateUrl||u.template)||u.transclude&&!u.$$tlb)){let e;for(let n=o+1;e=t[n++];)if(e.transclude&&!e.$$tlb||e.replace&&(e.templateUrl||e.template)){R=!0;break}P=!0}if(!u.templateUrl&&u.controller&&(w=w||Y(),ft(`'${h}' controller`,w[h],u,M),w[h]=u),f=u.transclude,f)if(k=!0,u.$$tlb||(ft("transclusion",O,u,M),O=u),"element"===f)N=!0,$=u.priority,d=M,M=n.$$element=_t(document.createComment("")),e=M[0],Ct(i,et(d),e),j=it(R,d,r,$,V&&V.name,{nonTlbTranscludeDirective:O});else{const t=Y();if(y(f)){d=window.document.createDocumentFragment();const e=Y(),n=Y();D(f,((r,i)=>{const o="?"===r.charAt(0);r=o?r.substring(1):r,e[r]=i,t[i]=null,n[i]=o})),D(_t(M[0].childNodes),(r=>{const i=e[wt(z(r))];i?(n[i]=!0,t[i]=t[i]||window.document.createDocumentFragment(),t[i].appendChild(r)):d.appendChild(r)})),D(n,((t,e)=>{if(!t)throw Ue("reqslot","Required transclusion slot `{0}` was not filled.",e)}));for(const e in t)if(t[e]){const n=_t(t[e].childNodes);t[e]=it(R,n,r)}d=_t(d.childNodes)}else d=e.cloneNode(!0).childNodes;M.empty(),j=it(R,d,r,void 0,void 0,{needsNewScope:u.$$isolateScope||u.$$newScope}),j.$$slots=t}if(u.template)if(A=!0,ft("template",C,u,M),C=u,f=E(u.template)?u.template(M,n):u.template,f=F(f),u.replace){if(V=u,d=jt(f)?[]:We($t(u.templateNamespace,T(f))),e=d[0],1!==d.length||e.nodeType!==Node.ELEMENT_NODE)throw Ue("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h,"");Ct(i,M,e);const r={$attr:{}},s=Q(e,[],r),a=t.splice(o+1,t.length-(o+1));(b||v)&&at(s,b,v),t=t.concat(s).concat(a),ut(n,r),c=t.length}else M.html(f);if(u.templateUrl)A=!0,ft("template",C,u,M),C=u,u.replace&&(V=u),U=ht(t.splice(o,t.length-o),M,n,i,k&&j,s,l,{controllerDirectives:w,newScopeDirective:v!==u&&v,newIsolateScopeDirective:b,templateDirective:C,nonTlbTranscludeDirective:O}),c=t.length;else if(u.compile)try{p=u.compile(M,n,j);const t=u.$$originalDirective||u;E(p)?_(null,nt(t,p),m,g):p&&_(nt(t,p.pre),nt(t,p.post),m,g)}catch(t){a(t,ie(M))}u.terminal&&(U.terminal=!0,$=Math.max($,u.priority))}return U.scope=v&&!0===v.scope,U.transcludeOnThisElement=k,U.templateOnThisElement=A,U.transclude=j,c.hasElementTranscludeDirective=N,U;function _(t,e,n,r){t&&(n&&(t=rt(t,n,r)),t.require=u.require,t.directiveName=h,(b===u||u.$$isolateScope)&&(t=Et(t,{isolateScope:!0})),s.push(t)),e&&(n&&(e=rt(e,n,r)),e.require=u.require,e.directiveName=h,(b===u||u.$$isolateScope)&&(e=Et(e,{isolateScope:!0})),l.push(e))}function U(t,r,i,o,c){let u,h,d,p,f,$,C,O,k,A;e===i?(k=n,O=n.$$element):(O=_t(i),k=new I(O,n)),f=r,b?p=r.$new(!0):v&&(f=r.$parent),c&&(C=function(t,e,n,r){let i;S(t)||(r=n,n=e,e=t,t=void 0);N&&(i=$);n||(n=N?O.parent():O);if(!r)return c(t,e,i,n,T);{const o=c.$$slots[r];if(o)return o(t,e,i,n,T);if(m(o))throw Ue("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ie(O))}},C.$$boundTransclude=c,C.isSlotFilled=function(t){return!!c.$$slots[t]}),w&&($=function(t,e,n,r,i,o,s){const a=Y();for(const l in r){const c=r[l],u={$scope:c===s||c.$$isolateScope?i:o,$element:t,$attrs:e,$transclude:n};let{controller:h}=c;"@"===h&&(h=e[c.name]);const d=g(h,u,!0,c.controllerAs);a[c.name]=d,t.data(`$${c.name}Controller`,d.instance)}return a}(O,k,C,w,p,r,b)),b&&(p.$$isolateBindings=b.$$isolateBindings,A=St(r,k,p,p.$$isolateBindings,b),A.removeWatches&&p.$on("$destroy",A.removeWatches));for(const t in $){const e=w[t],n=$[t],r=e.$$bindings.bindToController;n.instance=n(),O.data(`$${e.name}Controller`,n.instance),n.bindingInfo=St(f,k,n.instance,r,e)}for(D(w,((t,e)=>{const{require:n}=t;t.bindToController&&!x(n)&&y(n)&&L($[e].instance,st(e,n,O,$))})),D($,(t=>{const e=t.instance;if(E(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){a(t)}if(E(e.$onInit))try{e.$onInit()}catch(t){a(t)}E(e.$doCheck)&&(f.$watch((()=>{e.$doCheck()})),e.$doCheck()),E(e.$onDestroy)&&f.$on("$destroy",(()=>{e.$onDestroy()}))})),u=0,h=s.length;u<h;u++)d=s[u],Ot(d,d.isolateScope?p:r,O,k,d.require&&st(d.directiveName,d.require,O,$),C);var T=r;for(b&&(b.template||null===b.templateUrl)&&(T=p),t&&t(T,i.childNodes,void 0,c),u=l.length-1;u>=0;u--)d=l[u],Ot(d,d.isolateScope?p:r,O,k,d.require&&st(d.directiveName,d.require,O,$),C);D($,(t=>{const e=t.instance;E(e.$postLink)&&e.$postLink()}))}}function st(t,e,n,r){let i;if(v(e)){const s=e.match(o),a=e.substring(s[0].length),l=s[1]||s[3],c="?"===s[2];if("^^"===l?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){const t=`$${a}Controller`;i="^^"===l&&n[0]&&n[0].nodeType===Node.DOCUMENT_NODE?null:l?n.inheritedData(t):n.data(t)}if(!i&&!c)throw Ue("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,t)}else if(x(e)){i=[];for(let o=0,s=e.length;o<s;o++)i[o]=st(t,e[o],n,r)}else y(e)&&(i={},D(e,((e,o)=>{i[o]=st(t,e,n,r)})));return i||null}function at(t,e,n){for(let r=0,i=t.length;r<i;r++)t[r]=U(t[r],{$$isolateScope:e,$$newScope:n})}function lt(e,i,o,s,a,l,c){if(i===a)return null;let u=null;if(Object.prototype.hasOwnProperty.call(n,i))for(let n,a=t.get(i+r),d=0,p=a.length;d<p;d++)if(n=a[d],(m(s)||s>n.priority)&&-1!==n.restrict.indexOf(o)){if(l&&(n=U(n,{$$start:l,$$end:c})),!n.$$bindings){const t=n.$$bindings=h(n,n.name);y(t.isolateScope)&&(n.$$isolateBindings=t.isolateScope)}e.push(n),u=n}return u}function ct(e){if(Object.prototype.hasOwnProperty.call(n,e))for(let n,i=t.get(e+r),o=0,s=i.length;o<s;o++)if(n=i[o],n.multiElement)return!0;return!1}function ut(t,e){const n=e.$attr,r=t.$attr;D(t,((r,i)=>{"$"!==i.charAt(0)&&(e[i]&&e[i]!==r&&(r.length?r+=("style"===i?";":" ")+e[i]:r=e[i]),t.$set(i,r,!0,n[i]))})),D(e,((e,i)=>{Object.prototype.hasOwnProperty.call(t,i)||"$"===i.charAt(0)||(t[i]=e,"class"!==i&&"style"!==i&&(r[i]=n[i]))}))}function ht(t,e,n,r,i,o,s,l){let u,h,d=[];const p=e[0],f=t.shift(),$=U(f,{templateUrl:null,transclude:null,replace:null,$$originalDirective:f}),m=E(f.templateUrl)?f.templateUrl(e,n):f.templateUrl,{templateNamespace:g}=f;return e.empty(),c(m).then((a=>{let c,v,w,b;if(a=F(a),f.replace){if(w=jt(a)?[]:We($t(g,T(a))),c=w[0],1!==w.length||c.nodeType!==Node.ELEMENT_NODE)throw Ue("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f.name,m);v={$attr:{}},Ct(r,e,c);const i=Q(c,[],v);y(f.scope)&&at(i,!0),t=i.concat(t),ut(n,v)}else c=p,e.html(a);for(t.unshift($),u=ot(t,c,n,i,e,f,o,s,l),D(r,((t,n)=>{t===c&&(r[n]=e[0])})),h=J(e[0].childNodes,i);d.length;){const t=d.shift(),n=d.shift(),i=d.shift(),o=d.shift();let s=e[0];if(!t.$$destroyed){if(n!==p){const t=n.className;l.hasElementTranscludeDirective&&f.replace||(s=c.cloneNode(!0)),Ct(i,_t(n),s);try{""!==t&&s.classList.add(t)}catch(t){}}b=u.transcludeOnThisElement?X(t,u.transclude,o):o,u(h,t,s,r,b)}}d=null})).catch((t=>{C(t)&&a(t)})),function(t,e,n,r,i){let o=i;e.$$destroyed||(d?d.push(e,n,r,o):(u.transcludeOnThisElement&&(o=X(e,u.transclude,i)),u(h,e,n,r,o)))}}function dt(t,e){const n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function ft(t,e,n,r){function i(t){return t?` (module: ${t})`:""}if(e)throw Ue("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,i(e.$$moduleName),n.name,i(n.$$moduleName),t,ie(r))}function $t(t,e){switch(t=f(t||"html")){case"svg":case"math":var n=window.document.createElement("div");return n.innerHTML=`<${t}>${e}</${t}>`,n.childNodes[0].childNodes;default:return e}}function mt(t){return P(b.valueOf(t),"ng-prop-srcset")}function gt(t,e,n,r){if(s.test(r))throw Ue("nodomevents","Property bindings for HTML DOM event properties are disallowed");const i=z(t),o=function(t,e){const n=e.toLowerCase();return $[`${t}|${n}`]||$[`*|${n}`]}(i,r);let a=q;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=b.getTrusted.bind(b,o)):a=mt,e.push({priority:100,compile:function(t,e){const i=d(e[n]),o=d(e[n],(t=>b.valueOf(t)));return{pre:function(t,e){function n(){const n=i(t);e[0][r]=a(n)}n(),t.$watch(o,n)}}}})}function yt(t,e,n){t.push(_e(d,w,a,e,n,!1))}function vt(t,n,r,o,a){const l=z(t),c=function(t,e){return"srcdoc"===e?b.HTML:"src"===e||"ngSrc"===e?-1===["img","video","audio","source","track"].indexOf(t)?b.RESOURCE_URL:b.MEDIA_URL:"xlinkHref"===e?"image"===t?b.MEDIA_URL:"a"===t?b.URL:b.RESOURCE_URL:"form"===t&&"action"===e||"base"===t&&"href"===e||"link"===t&&"href"===e?b.RESOURCE_URL:"a"!==t||"href"!==e&&"ngHref"!==e?void 0:b.URL}(l,o),u=i[o]||a;let h=e(r,!a,c,u);if(h){if("multiple"===o&&"select"===l)throw Ue("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ie(t.outerHTML));if(s.test(o))throw Ue("nodomevents","Interpolations for HTML DOM event attributes are disallowed");n.push({priority:100,compile:()=>({pre:function(t,n,i){const s=i.$$observers||(i.$$observers=Y()),a=i[o];a!==r&&(h=a&&e(a,!0,c,u),r=a),h&&(i[o]=h(t),(s[o]||(s[o]=[])).$$inter=!0,(i.$$observers&&i.$$observers[o].$$scope||t).$watch(h,((t,e)=>{"class"===o&&t!==e?i.$updateClass(t,e):i.$set(o,t)})))}})})}}function Ct(t,e,n){const r=e[0],i=e.length,o=r.parentNode;let s,a;if(t)for(s=0,a=t.length;s<a;s++)if(t[s]===r){t[s++]=n;for(let e=s,n=e+i-1,r=t.length;e<r;e++,n++)n<r?t[e]=t[n]:delete t[e];t.length-=i-1,t.context===r&&(t.context=n);break}o&&o.replaceChild(n,r);const l=window.document.createDocumentFragment();for(s=0;s<i;s++)l.appendChild(e[s]);for(xt.has(r[bt])&&(_t.data(n,_t.data(r)),_t(r).off("$destroy")),_t.cleanData(l.querySelectorAll("*")),s=1;s<i;s++)delete e[s];e[0]=n,e.length=1}function Et(t,e){return L((function(){return t.apply(null,arguments)}),t,e)}function Ot(t,e,n,r,i,o){try{t(e,n,r,i,o)}catch(t){console.error(t),a(t,ie(n))}}function kt(t,e){if(p)throw Ue("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",t,e)}function St(t,n,r,i,o){const s=[],a={};let l;function c(e,n,i){E(r.$onChanges)&&!K(n,i)&&(V||(t.$$postDigest(j),V=[]),l||(l={},V.push(u)),l[e]&&(i=l[e].previousValue),l[e]=new Be(i,n))}function u(){r.$onChanges(l),l=void 0}return D(i,((i,l)=>{const{attrName:u}=i,{optional:h}=i,{mode:p}=i;let f,$,m,g,y;switch(p){case"@":h||hasOwnProperty.call(n,u)||(kt(u,o.name),r[l]=n[u]=void 0),y=n.$observe(u,(t=>{if(v(t)||A(t)){const e=r[l];c(l,t,e),r[l]=t}})),n.$$observers[u].$$scope=t,f=n[u],v(f)?r[l]=e(f)(t):A(f)&&(r[l]=f),a[l]=new Be(qe,r[l]),s.push(y);break;case"=":if(!Object.hasOwnProperty.call(n,u)){if(h)break;kt(u,o.name),n[u]=void 0}if(h&&!n[u])break;$=d(n[u]),g=$.literal?Z:K,m=$.assign||function(){throw f=r[l]=$(t),Ue("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",n[u],u,o.name)},f=r[l]=$(t);var w=function(e){return g(e,r[l])||(g(e,f)?m(t,e=r[l]):r[l]=e),f=e,f};w.$stateful=!0,y=i.collection?t.$watchCollection(n[u],w):t.$watch(d(n[u],w),null,$.literal),s.push(y);break;case"<":if(!Object.hasOwnProperty.call(n,u)){if(h)break;kt(u,o.name),n[u]=void 0}if(h&&!n[u])break;$=d(n[u]);var b=$.literal,x=r[l]=$(t);a[l]=new Be(qe,r[l]),y=t[i.collection?"$watchCollection":"$watch"]($,((t,e)=>{if(e===t){if(e===x||b&&Z(e,x))return;e=x}c(l,t,e),r[l]=t})),s.push(y);break;case"&":if(h||Object.hasOwnProperty.call(n,u)||kt(u,o.name),$=Object.prototype.hasOwnProperty.call(n,u)?d(n[u]):()=>{},$.toString()===(()=>{}).toString()&&h)break;r[l]=function(e){return $(t,e)}}})),{initialChanges:a,removeWatches:s.length&&function(){for(let t=0,e=s.length;t<e;++t)s[t]()}}}}]}He.$inject=["$provide","$$sanitizeUriProvider"];class Be{constructor(t,e){this.previousValue=t,this.currentValue=e}isFirstChange(){return this.previousValue===qe}}function ze(t,e){let n="";const r=t.split(/\s+/),i=e.split(/\s+/);t:for(let t=0;t<r.length;t++){const e=r[t];for(let t=0;t<i.length;t++)if(e===i[t])continue t;n+=(n.length>0?" ":"")+e}return n}function We(t){let e=(t=_t(t)).length;if(e<=1)return t;for(;e--;){const n=t[e];(n.nodeType===Node.COMMENT_NODE||n.nodeType===Node.TEXT_NODE&&""===n.nodeValue.trim())&&[].splice.call(t,e,1)}return t}function Ge(){return{restrict:"E",compile:(t,e)=>e.href||e.xlinkHref?()=>{}:(t,e)=>{if("a"!==e[0].nodeName.toLowerCase())return;const n="[object SVGAnimatedString]"===toString.call(e[0].href)?"xlink:href":"href";e.on("click",(t=>{e.attr(n)||t.preventDefault()}))}}}const Ke={$addControl:()=>{},$getControls:F([]),$$renameControl:function(t,e){t.$name=e},$removeControl:()=>{},$setValidity:()=>{},$setDirty:()=>{},$setPristine:()=>{},$setSubmitted:()=>{},$$setSubmitted:()=>{}},Ze="ng-pending",Je="ng-submitted";function Xe(t,e,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Ke,this.$$element=t,this.$$animate=r,en(this)}Xe.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Xe.prototype={$rollbackViewValue(){this.$$controls.forEach((t=>{t.$rollbackViewValue()}))},$commitViewValue(){this.$$controls.forEach((t=>{t.$commitViewValue()}))},$addControl(t){X(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$getControls(){return dt(this.$$controls)},$$renameControl(t,e){const n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl(t){t.$name&&this[t.$name]===t&&delete this[t.$name],D(this.$pending,(function(e,n){this.$setValidity(n,null,t)}),this),D(this.$error,(function(e,n){this.$setValidity(n,null,t)}),this),D(this.$$success,(function(e,n){this.$setValidity(n,null,t)}),this),G(this.$$controls,t),t.$$parentForm=Ke},$setDirty(){this.$$animate.removeClass(this.$$element,n),this.$$animate.addClass(this.$$element,r),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine(){this.$$animate.setClass(this.$$element,n,`${r} ${Je}`),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,this.$$controls.forEach((t=>{t.$setPristine()}))},$setUntouched(){this.$$controls.forEach((t=>{t.$setUntouched()}))},$setSubmitted(){let t=this;for(;t.$$parentForm&&t.$$parentForm!==Ke;)t=t.$$parentForm;t.$$setSubmitted()},$$setSubmitted(){this.$$animate.addClass(this.$$element,Je),this.$submitted=!0,this.$$controls.forEach((t=>{t.$$setSubmitted&&t.$$setSubmitted()}))}},nn({clazz:Xe,set(t,e,n){const r=t[e];if(r){-1===r.indexOf(n)&&r.push(n)}else t[e]=[n]},unset(t,e,n){const r=t[e];r&&(G(r,n),0===r.length&&delete t[e])}});const Ye=function(e){return["$timeout","$parse",function(r,i){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Xe,compile:function(i,s){i[0].classList.add(n,t);const a=s.name?"name":!(!e||!s.ngForm)&&"ngForm";return{pre:function(t,e,n,i){const s=i[0];if(!("action"in n)){const n=function(e){t.$apply((()=>{s.$commitViewValue(),s.$setSubmitted()})),e.preventDefault()};e[0].addEventListener("submit",n),e.on("$destroy",(()=>{r((()=>{e[0].removeEventListener("submit",n)}),0,!1)}))}(i[1]||s.$$parentForm).$addControl(s);let l=a?o(s.$name):()=>{};a&&(l(t,s),n.$observe(a,(e=>{s.$name!==e&&(l(t,void 0),s.$$parentForm.$$renameControl(s,e),l=o(s.$name),l(t,s))}))),e.on("$destroy",(()=>{s.$$parentForm.$removeControl(s),l(t,void 0),L(s,Ke)}))}}}};function o(t){return""===t?i('this[""]').assign:i(t).assign||(()=>{})}}]},Qe=Ye(),tn=Ye(!0);function en(n){n.$$classCache={},n.$$classCache[e]=!(n.$$classCache[t]=n.$$element[0].classList.contains(t))}function nn(n){const{clazz:r}=n,{set:i}=n,{unset:o}=n;function s(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 a(n,r,i){r=r?`-${M(r,"-")}`:"",s(n,t+r,!0===i),s(n,e+r,!1===i)}r.prototype.$setValidity=function(t,e,n){let r;m(e)?function(t,e,n,r){t[e]||(t[e]={});i(t[e],n,r)}(this,"$pending",t,n):function(t,e,n,r){t[e]&&o(t[e],n,r);rn(t[e])&&(t[e]=void 0)}(this,"$pending",t,n),A(e)?e?(o(this.$error,t,n),i(this.$$success,t,n)):(i(this.$error,t,n),o(this.$$success,t,n)):(o(this.$error,t,n),o(this.$$success,t,n)),this.$pending?(s(this,Ze,!0),this.$valid=this.$invalid=void 0,a(this,"",null)):(s(this,Ze,!1),this.$valid=rn(this.$error),this.$invalid=!this.$valid,a(this,"",this.$valid)),r=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null),a(this,t,r),this.$$parentForm.$setValidity(t,r,this)}}function rn(t){if(t)for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}let on;const sn=/(\s+|^)default(\s+|$)/;function an(t){this.$$options=t}an.prototype={getOption(t){return this.$$options[t]},createChild(t){let e=!1;return D(t=L({},t),(function(n,r){"$inherit"===n?"*"===r?e=!0:(t[r]=this.$$options[r],"updateOn"===r&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(t.updateOnDefault=!1,t[r]=T(n.replace(sn,(()=>(t.updateOnDefault=!0," ")))))}),this),e&&(delete t["*"],cn(t,this.$$options)),cn(t,on.$$options),new an(t)}},on=new an({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});const ln=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit(){const t=this.parentCtrl?this.parentCtrl.$options:on,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}};function cn(t,e){D(e,((e,n)=>{g(t[n])||(t[n]=e)}))}const un=mt("ngModel");function hn(t,e,n,r,i,o,s,a,l){var c;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(t),this.$$parentForm=Ke,this.$options=on,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=t,this.$$rootScope=t.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=s,this.$$parse=i,this.$$q=a,this.$$exceptionHandler=e,en(this),(c=this).$$scope.$watch((t=>{const e=c.$$ngModelGet(t);return e===c.$modelValue||c.$modelValue!=c.$modelValue&&e!=e||c.$$setModelValue(e),e}))}hn.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],hn.prototype={$$initGetterSetters(){if(this.$options.getOption("getterSetter")){const t=this.$$parse(`${this.$$attr.ngModel}()`),e=this.$$parse(`${this.$$attr.ngModel}($$$p)`);this.$$ngModelGet=function(e){let n=this.$$parsedNgModel(e);return E(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){E(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw un("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,ie(this.$$element))},$render:()=>{},$isEmpty:t=>m(t)||""===t||null===t||t!=t,$$updateEmptyClasses(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,a),this.$$animate.addClass(this.$$element,s)):(this.$$animate.removeClass(this.$$element,s),this.$$animate.addClass(this.$$element,a))},$setPristine(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,r),this.$$animate.addClass(this.$$element,n)},$setDirty(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,n),this.$$animate.addClass(this.$$element,r),this.$$parentForm.$setDirty()},$setUntouched(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,i,o)},$setTouched(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,o,i)},$rollbackViewValue(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate(){if(_(this.$modelValue))return;const t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(e,t,(t=>{i||n===t||(o.$modelValue=t?e:void 0,o.$modelValue!==r&&o.$$writeModelToScope())}))},$$runValidators(t,e,n){this.$$currentValidationRunId++;const r=this.$$currentValidationRunId,i=this;function o(t,e){r===i.$$currentValidationRunId&&i.$setValidity(t,e)}function s(t){r===i.$$currentValidationRunId&&n(t)}!function(){const t=i.$$parserName;if(!m(i.$$parserValid))return i.$$parserValid||(D(i.$validators,((t,e)=>{o(e,null)})),D(i.$asyncValidators,((t,e)=>{o(e,null)}))),o(t,i.$$parserValid),i.$$parserValid;o(t,null);return!0}()?s(!1):function(){let n=!0;if(D(i.$validators,((r,i)=>{const s=Boolean(r(t,e));n=n&&s,o(i,s)})),!n)return D(i.$asyncValidators,((t,e)=>{o(e,null)})),!1;return!0}()?function(){const n=[];let r=!0;D(i.$asyncValidators,((i,s)=>{const a=i(t,e);if(!N(a))throw un("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);o(s,void 0),n.push(a.then((()=>{o(s,!0)}),(()=>{r=!1,o(s,!1)})))})),n.length?i.$$q.all(n).then((()=>{s(r)}),(()=>{})):s(!0)}():s(!1)},$commitViewValue(){const t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(void 0===this.$$lastCommittedViewValue&&Number.isNaN(t)||(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate()))},$$parseAndValidate(){let t=this.$$lastCommittedViewValue;const e=this;if(this.$$parserValid=!m(t)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(let e=0;e<this.$parsers.length;e++)if(t=this.$parsers[e](t),m(t)){this.$$parserValid=!1;break}_(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));const n=this.$modelValue,r=this.$options.getOption("allowInvalid");function i(){e.$modelValue!==n&&e.$$writeModelToScope()}this.$$rawModelValue=t,r&&(this.$modelValue=t,i()),this.$$runValidators(t,this.$$lastCommittedViewValue,(n=>{r||(e.$modelValue=n?t:void 0,i())}))},$$writeModelToScope(){this.$$ngModelSet(this.$$scope,this.$modelValue),D(this.$viewChangeListeners,(function(t){try{t()}catch(t){this.$$exceptionHandler(t)}}),this)},$setViewValue(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit(t){let e=this.$options.getOption("debounce");w(e[t])?e=e[t]:w(e.default)&&-1===this.$options.getOption("updateOn").indexOf(t)?e=e.default:w(e["*"])&&(e=e["*"]),this.$$timeout.cancel(this.$$pendingDebounce);const n=this;e>0?this.$$pendingDebounce=this.$$timeout((()=>{n.$commitViewValue()}),e):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((()=>{n.$commitViewValue()}))},$overrideModelOptions(t){this.$options=this.$options.createChild(t),this.$$setUpdateOnEvents()},$processModelValue(){const t=this.$$format();this.$viewValue!==t&&(this.$$updateEmptyClasses(t),this.$viewValue=this.$$lastCommittedViewValue=t,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,(()=>{})))},$$format(){const t=this.$formatters;let e=t.length,n=this.$modelValue;for(;e--;)n=t[e](n);return n},$$setModelValue(t){this.$modelValue=this.$$rawModelValue=t,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents(){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(t){this.$$debounceViewValueCommit(t&&t.type)}},nn({clazz:hn,set(t,e){t[e]=!0},unset(t,e){delete t[e]}});const dn=["$rootScope",e=>({restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:hn,priority:1,compile:function(r){return r[0].classList.add(n,i,t),{pre:function(t,e,n,r){const i=r[0],o=r[1]||i.$$parentForm,s=r[2];s&&(i.$options=s.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",(t=>{i.$name!==t&&i.$$parentForm.$$renameControl(i,t)})),t.$on("$destroy",(()=>{i.$$parentForm.$removeControl(i)}))},post:function(t,n,r,i){const o=i[0];function s(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",(()=>{o.$touched||(e.$$phase?t.$evalAsync(s):t.$apply(s))}))}}}})],pn=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,fn=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,$n=/^(?=.{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])?)*$/,mn=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,gn=/^(\d{4,})-(\d{2})-(\d{2})$/,yn=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,vn=/^(\d{4,})-W(\d\d)$/,wn=/^(\d{4,})-(\d\d)$/,bn=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,xn="validity",Cn="keydown wheel mousedown",En=new Map;"date,datetime-local,month,time,week".split(",").forEach((t=>{En.set(t,!0)}));const On={text:function(t,e,n,r,i){Sn(t,e,n,r,i),kn(r)},date:Tn("date",gn,An(gn,["yyyy","MM","dd"])),"datetime-local":Tn("datetimelocal",yn,An(yn,["yyyy","MM","dd","HH","mm","ss","sss"])),time:Tn("time",bn,An(bn,["HH","mm","ss","sss"])),week:Tn("week",vn,(function(t,e){if(b(t))return t;if(v(t)){vn.lastIndex=0;const n=vn.exec(t);if(n){const t=+n[1],r=+n[2];let i=0,o=0,s=0,a=0;const l=function(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}(t),c=7*(r-1);return e&&(i=e.getHours(),o=e.getMinutes(),s=e.getSeconds(),a=e.getMilliseconds()),new Date(t,0,l.getDate()+c,i,o,s,a)}}return NaN})),month:Tn("month",wn,An(wn,["yyyy","MM"])),number:function(t,e,n,r,i,o,s){let a;if(Mn(t,e,n,r,"number"),Dn(r),Sn(t,e,n,r,i),g(n.min)||n.ngMin){let e=n.min||s(n.ngMin)(t);a=Vn(e),r.$validators.min=function(t,e){return r.$isEmpty(e)||m(a)||e>=a},n.$observe("min",(t=>{t!==e&&(a=Vn(t),e=t,r.$validate())}))}if(g(n.max)||n.ngMax){let e=n.max||s(n.ngMax)(t),i=Vn(e);r.$validators.max=function(t,e){return r.$isEmpty(e)||m(i)||e<=i},n.$observe("max",(t=>{t!==e&&(i=Vn(t),e=t,r.$validate())}))}if(g(n.step)||n.ngStep){let e=n.step||s(n.ngStep)(t),i=Vn(e);r.$validators.step=function(t,e){return r.$isEmpty(e)||m(i)||Ln(e,a||0,i)},n.$observe("step",(t=>{t!==e&&(i=Vn(t),e=t,r.$validate())}))}},url:function(t,e,n,r,i){Sn(t,e,n,r,i),kn(r),r.$validators.url=function(t,e){const n=t||e;return r.$isEmpty(n)||fn.test(n)}},email:function(t,e,n,r,i){Sn(t,e,n,r,i),kn(r),r.$validators.email=function(t,e){const n=t||e;return r.$isEmpty(n)||$n.test(n)}},radio:function(t,e,n,r){const i=!n.ngTrim||"false"!==T(n.ngTrim);m(n.name)&&e.attr("name",p());e.on("change",(function(t){let o;e[0].checked&&(o=n.value,i&&(o=T(o)),r.$setViewValue(o,t&&t.type))})),r.$render=function(){let{value:t}=n;i&&(t=T(t)),e[0].checked=t===r.$viewValue},n.$observe("value",r.$render)},range:function(t,e,n,r,i){Mn(t,e,n,r,"range"),Dn(r),Sn(t,e,n,r,i);const o=r.$$hasNativeValidators&&"range"===e[0].type;let s=o?0:void 0,a=o?100:void 0,l=o?1:void 0;const{validity:c}=e[0],u=g(n.min),h=g(n.max),d=g(n.step),p=r.$render;r.$render=o&&g(c.rangeUnderflow)&&g(c.rangeOverflow)?function(){p(),r.$setViewValue(e.val())}:p,u&&(s=Vn(n.min),r.$validators.min=o?function(){return!0}:function(t,e){return r.$isEmpty(e)||m(s)||e>=s},f("min",(function(t){if(s=Vn(t),_(r.$modelValue))return;if(o){let t=e.val();s>t&&(t=s,e.val(t)),r.$setViewValue(t)}else r.$validate()})));h&&(a=Vn(n.max),r.$validators.max=o?function(){return!0}:function(t,e){return r.$isEmpty(e)||m(a)||e<=a},f("max",(function(t){if(a=Vn(t),_(r.$modelValue))return;if(o){let t=e.val();a<t&&(e.val(a),t=a<s?s:a),r.$setViewValue(t)}else r.$validate()})));d&&(l=Vn(n.step),r.$validators.step=o?function(){return!c.stepMismatch}:function(t,e){return r.$isEmpty(e)||m(l)||Ln(e,s||0,l)},f("step",(function(t){if(l=Vn(t),_(r.$modelValue))return;o?r.$viewValue!==e.val()&&r.$setViewValue(e.val()):r.$validate()})));function f(t,r){e.attr(t,n[t]);let i=n[t];n.$observe(t,(t=>{t!==i&&(i=t,r(t))}))}},checkbox:function(t,e,n,r,i,o,s){const a=In(s,t,"ngTrueValue",n.ngTrueValue,!0),l=In(s,t,"ngFalseValue",n.ngFalseValue,!1);e.on("change",(function(t){r.$setViewValue(e[0].checked,t&&t.type)})),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return!1===t},r.$formatters.push((t=>Z(t,a))),r.$parsers.push((t=>t?a:l))},hidden:()=>{},button:()=>{},submit:()=>{},reset:()=>{},file:()=>{}};function kn(t){t.$formatters.push((e=>t.$isEmpty(e)?e:e.toString()))}function Sn(t,e,n,r,i){const o=f(e[0].type);let s,a=!1;e.on("compositionstart",(()=>{a=!0})),e.on("compositionend",(()=>{a=!1,l()}));let l=function(t){if(s&&(i.defer.cancel(s),s=null),a)return;let l=e.val();const c=t&&t.type;"password"===o||n.ngTrim&&"false"===n.ngTrim||(l=T(l)),(r.$viewValue!==l||""===l&&r.$$hasNativeValidators)&&r.$setViewValue(l,c)};["input","change","paste","drop","cut"].forEach((t=>{e.on(t,l)})),En[o]&&r.$$hasNativeValidators&&o===n.type&&e.on(Cn,(function(t){if(!s){const e=this[xn],n=e.badInput,r=e.typeMismatch;s=i.defer((()=>{s=null,e.badInput===n&&e.typeMismatch===r||l(t)}))}})),r.$render=function(){const t=r.$isEmpty(r.$viewValue)?"":r.$viewValue;e.val()!==t&&e.val(t)}}function An(t,e){return function(n,r){let i,o;if(b(n))return n;if(v(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),pn.test(n))return new Date(n);if(t.lastIndex=0,i=t.exec(n),i){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},D(i,((t,n)=>{n<e.length&&(o[e[n]]=+t)}));const t=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&t.setFullYear(o.yyyy),t}}return NaN}}const Nn=/\b\d{4}-(0[1-9]|1[0-2])\b/;function Tn(t,e,n){return function(r,i,o,s,a,l,c){if(Mn(r,i,o,s,t),Sn(0,i,o,s,a),s.$parsers.push((n=>s.$isEmpty(n)?null:e.test(n)?["month","week","datetimelocal","time","date"].includes(t)?n:d(n,undefined):void(s.$$parserName=t))),s.$formatters.push((function(e){if(e&&!v(e))throw un("datefmt","Expected `{0}` to be a String",e);if("month"===t){if(null==e)return"";if(!Nn.test(e))throw un("datefmt","Expected month `{0}` to be a 'YYYY-DD'",e)}if("week"===t){if(null==e)return"";if(!vn.test(e))throw un("datefmt","Expected week `{0}` to be a 'yyyy-Www'",e)}if("datetimelocal"===t){if(null==e)return"";if(!yn.test(e))throw un("datefmt","Expected week `{0}` to be a in date time format. See: https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#local_date_and_time_strings",e)}return e})),g(o.min)||o.ngMin){let e=o.min||c(o.ngMin)(r),i=h(e);s.$validators.min=function(e){return"month"===t?m(i)||n(e)>=n(i):!u(e)||m(i)||n(e)>=i},o.$observe("min",(t=>{t!==e&&(i=h(t),e=t,s.$validate())}))}if(g(o.max)||o.ngMax){let e=o.max||c(o.ngMax)(r),i=h(e);s.$validators.max=function(e){return"month"===t?m(i)||n(e)<=n(i):!u(e)||m(i)||n(e)<=i},o.$observe("max",(t=>{t!==e&&(i=h(t),e=t,s.$validate())}))}function u(t){return t&&!(t.getTime&&t.getTime()!=t.getTime())}function h(t){return g(t)&&!b(t)?d(t)||void 0:t}function d(t,e){const r=s.$options.getOption("timezone");let i=n(t,e);return!Number.isNaN(i)&&r&&(i=st(i,r)),i}}}function Mn(t,e,n,r,i){const o=e[0];(r.$$hasNativeValidators=y(o.validity))&&r.$parsers.push((t=>{const n=e[0][xn]||{};if(!n.badInput&&!n.typeMismatch)return t;r.$$parserName=i}))}function Dn(t){t.$parsers.push((e=>t.$isEmpty(e)?null:mn.test(e)?parseFloat(e):void(t.$$parserName="number"))),t.$formatters.push((e=>{if(!t.$isEmpty(e)){if(!w(e))throw un("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}))}function Vn(t){return g(t)&&!w(t)&&(t=parseFloat(t)),_(t)?void 0:t}function jn(t){return(0|t)===t}function Pn(t){const e=t.toString(),n=e.indexOf(".");if(-1===n){if(t>-1&&t<1){const t=/e-(\d+)$/.exec(e);if(t)return Number(t[1])}return 0}return e.length-n-1}function Ln(t,e,n){let r=Number(t);const i=!jn(r),o=!jn(e),s=!jn(n);if(i||o||s){const t=i?Pn(r):0,a=o?Pn(e):0,l=s?Pn(n):0,c=10**Math.max(t,a,l);r*=c,e*=c,n*=c,i&&(r=Math.round(r)),o&&(e=Math.round(e)),s&&(n=Math.round(n))}return(r-e)%n==0}function In(t,e,n,r,i){let o;if(g(r)){if(o=t(r),!o.constant)throw un("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}const Rn=["$browser","$filter","$parse",function(t,e,n){return{restrict:"E",require:["?ngModel"],link:{pre(r,i,o,s){s[0]&&(On[f(o.type)]||On.text)(r,i,o,s[0],t,e,n)}}}}];function _n(){const t={configurable:!0,enumerable:!1,get(){return this.getAttribute("value")||""},set(t){this.setAttribute("value",t)}};return{restrict:"E",priority:200,compile(e,n){if("hidden"===f(n.type))return{pre(e,n){const r=n[0];r.parentNode&&r.parentNode.insertBefore(r,r.nextSibling),Object.defineProperty&&Object.defineProperty(r,"value",t)}}}}}const Un=/^(true|false|\d+)$/;function qn(){function t(t,e,n){const r=g(n)?n:null;t[0].value=r,e.$set("value",n)}return{restrict:"A",priority:100,compile:(e,n)=>Un.test(n.ngValue)?function(e,n,r){t(n,r,e.$eval(r.ngValue))}:function(e,n,r){e.$watch(r.ngValue,(e=>{t(n,r,e)}))}}}const Fn=["$templateCache",t=>({restrict:"E",terminal:!0,compile(e,n){if("text/ng-template"===n.type){const r=n.id,{text:i}=e[0];t.put(r,i)}}})],Hn={$setViewValue:()=>{},$render:()=>{}};function Bn(t,e){t[0].selected=e,t.attr("selected",e)}var zn=["$element","$scope",function(t,e){const n=this,r=new Map;n.selectValueMap={},n.ngModelCtrl=Hn,n.multiple=!1,n.unknownOption=_t(window.document.createElement("option")),n.hasEmptyOption=!1,n.emptyOption=void 0,n.renderUnknownOption=function(e){const r=n.generateUnknownOptionValue(e);n.unknownOption.val(r),t.prepend(n.unknownOption),Bn(n.unknownOption,!0),t.val(r)},n.updateUnknownOption=function(e){const r=n.generateUnknownOptionValue(e);n.unknownOption.val(r),Bn(n.unknownOption,!0),t.val(r)},n.generateUnknownOptionValue=function(t){return`? ${yt(t)} ?`},n.removeUnknownOption=function(){n.unknownOption.parent()&&n.unknownOption.remove()},n.selectEmptyOption=function(){n.emptyOption&&(t.val(""),Bn(n.emptyOption,!0))},n.unselectEmptyOption=function(){n.hasEmptyOption&&Bn(n.emptyOption,!1)},e.$on("$destroy",(()=>{n.renderUnknownOption=()=>{}})),n.readValue=function(){const e=t.val(),r=e in n.selectValueMap?n.selectValueMap[e]:e;return n.hasOption(r)?r:null},n.writeValue=function(e){const r=t[0].options[t[0].selectedIndex];if(r&&Bn(_t(r),!1),n.hasOption(e)){n.removeUnknownOption();const r=yt(e);t.val(r in n.selectValueMap?r:e);const i=t[0].options[t[0].selectedIndex];Bn(_t(i),!0)}else n.selectUnknownOrEmptyOption(e)},n.addOption=function(t,e){if(e[0].nodeType===Node.COMMENT_NODE)return;X(t,'"option value"'),""===t&&(n.hasEmptyOption=!0,n.emptyOption=e);const i=r.get(t)||0;r.set(t,i+1),o()},n.removeOption=function(t){const e=r.get(t);e&&(1===e?(r.delete(t),""===t&&(n.hasEmptyOption=!1,n.emptyOption=void 0)):r.set(t,e-1))},n.hasOption=function(t){return!!r.get(t)},n.$hasEmptyOption=function(){return n.hasEmptyOption},n.$isUnknownOptionSelected=function(){return t[0].options[0]===n.unknownOption[0]},n.$isEmptyOptionSelected=function(){return n.hasEmptyOption&&t[0].options[t[0].selectedIndex]===n.emptyOption[0]},n.selectUnknownOrEmptyOption=function(t){null==t&&n.emptyOption?(n.removeUnknownOption(),n.selectEmptyOption()):n.unknownOption.parent().length?n.updateUnknownOption(t):n.renderUnknownOption(t)};let i=!1;function o(){i||(i=!0,e.$$postDigest((()=>{i=!1,n.ngModelCtrl.$render()})))}let s=!1;function a(t){s||(s=!0,e.$$postDigest((()=>{e.$$destroyed||(s=!1,n.ngModelCtrl.$setViewValue(n.readValue()),t&&n.ngModelCtrl.$render())})))}n.registerOption=function(t,e,r,i,s){let l,c;r.$attr.ngValue?r.$observe("value",(t=>{let r;const i=e[0].selected;g(c)&&(n.removeOption(l),delete n.selectValueMap[c],r=!0),c=yt(t),l=t,n.selectValueMap[c]=t,n.addOption(t,e),e.attr("value",c),r&&i&&a()})):i?r.$observe("value",(t=>{let r;n.readValue();const i=e[0].selected;g(l)&&(n.removeOption(l),r=!0),l=t,n.addOption(t,e),r&&i&&a()})):s?t.$watch(s,((t,i)=>{r.$set("value",t);const o=e[0].selected;i!==t&&n.removeOption(i),n.addOption(t,e),i&&o&&a()})):n.addOption(r.value,e),r.$observe("disabled",(t=>{("true"===t||t&&e[0].selected)&&(n.multiple?a(!0):(n.ngModelCtrl.$setViewValue(null),n.ngModelCtrl.$render()))})),e.on("$destroy",(()=>{const t=n.readValue(),e=r.value;n.removeOption(e),o(),(n.multiple&&t&&-1!==t.indexOf(e)||t===e)&&a(!0)}))}}];const Wn=function(){return{restrict:"E",require:["select","?ngModel"],controller:zn,priority:1,link:{pre:function(t,e,n,r){const i=r[0],o=r[1];if(!o)return void(i.registerOption=()=>{});if(i.ngModelCtrl=o,e.on("change",(()=>{i.removeUnknownOption(),t.$apply((()=>{o.$setViewValue(i.readValue())}))})),n.multiple){let n;i.multiple=!0,i.readValue=function(){const t=[];return Array.from(e[0].getElementsByTagName("option")).forEach((e=>{if(e.selected&&!e.disabled){const n=e.value;t.push(n in i.selectValueMap?i.selectValueMap[n]:n)}})),t},i.writeValue=function(t){Array.from(e[0].getElementsByTagName("option")).forEach((e=>{const n=!!t&&(W(t,e.value)||W(t,i.selectValueMap[e.value]));n!==e.selected&&Bn(_t(e),n)}))};let r=NaN;t.$watch((()=>{r!==o.$viewValue||Z(n,o.$viewValue)||(n=dt(o.$viewValue),o.$render()),r=o.$viewValue})),o.$isEmpty=function(t){return!t||0===t.length}}},post:function(t,e,n,r){const i=r[1];if(!i)return;const o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}},Gn=["$interpolate",function(t){return{restrict:"E",priority:100,compile(e,n){let r,i;return g(n.ngValue)||(g(n.value)?r=t(n.value,!0):(i=t(e.text(),!0),i||n.$set("value",e.text()))),function(t,e,n){const o="$selectController",s=e.parent(),a=s.data(o)||s.parent().data(o);a&&a.registerOption(t,e,n,r,i)}}}}];function Kn(){return{restrict:"EA",link:(t,e,n)=>{t.$watch(n.ngBind,(t=>{e[0].textContent=Q(t)}))}}}function Zn(){return{restrict:"EA",link:(t,e,n)=>{n.$observe("ngBindTemplate",(t=>{e[0].textContent=m(t)?"":t}))}}}const Jn=["$parse",t=>({restrict:"A",compile:(e,n)=>{var r=t(n.ngBindHtml),i=t(n.ngBindHtml,(t=>t));return(t,e)=>{t.$watch(i,(()=>{e.html(r(t)||"")}))}}})];function Xn(t,e){var n;return t=`ngClass${t}`,["$parse",s=>({restrict:"EA",link(a,l,c){let u,h=l.data("$classCounts"),d=!0;function p(t,e){const n=[];return D(t,(t=>{(e>0||h[t])&&(h[t]=(h[t]||0)+e,h[t]===+(e>0)&&n.push(t))})),n.join(" ")}h||(h=Y(),l.data("$classCounts",h)),"ngClass"!==t&&(n||(n=s("$index",(function(t){return 1&t}))),a.$watch(n,(function(t){t===e?(n=p(i(n=u),1),c.$addClass(n)):function(t){t=p(i(t),-1),c.$removeClass(t)}(u);var n;d=t}))),a.$watch(s(c[t],o),(function(t){d===e&&function(t,e){const n=i(t),o=i(e),s=r(n,o),a=r(o,n),l=p(s,-1),u=p(a,1);c.$addClass(u),c.$removeClass(l)}(u,t);u=t}))}})];function r(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;const n=[];t:for(let r=0;r<t.length;r++){const i=t[r];for(let t=0;t<e.length;t++)if(i===e[t])continue t;n.push(i)}return n}function i(t){return t&&t.split(" ")}function o(t){if(!t)return t;let e=t;return x(t)?e=t.map(o).join(" "):y(t)?e=Object.keys(t).filter((e=>t[e])).join(" "):v(t)||(e=`${t}`),e}}const Yn=Xn("",!0),Qn=Xn("Odd",0),tr=Xn("Even",1);function er(){return{restrict:"EA",compile(t,e){e.$set("ngCloak",void 0),t[0].classList.remove("ng-cloak")}}}const nr=[()=>({restrict:"A",scope:!0,controller:"@",priority:500})],rr="ng-hide",ir="ng-hide-animate",or=["$animate",t=>({restrict:"A",multiElement:!0,link(e,n,r){e.$watch(r.ngShow,(e=>{t[e?"removeClass":"addClass"](n,rr,{tempClasses:ir})}))}})],sr=["$animate",t=>({restrict:"A",multiElement:!0,link(e,n,r){e.$watch(r.ngHide,(e=>{t[e?"addClass":"removeClass"](n,rr,{tempClasses:ir})}))}})],ar=["$animate",t=>({multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link(e,n,r,i,o){let s,a,l;e.$watch(r.ngIf,(e=>{e?a||o(((e,r)=>{a=r,e[e.length++]=document.createComment(""),s={clone:e},t.enter(e,n.parent(),n)})):(l&&(l.remove(),l=null),a&&(a.$destroy(),a=null),s&&(l=oe(s.clone),t.leave(l).done((t=>{!1!==t&&(l=null)})),s=null))}))}})],lr=["$templateRequest","$anchorScroll","$animate",(t,e,n)=>({restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:()=>{},compile(r,i){const o=i.ngInclude||i.src,s=i.onload||"",a=i.autoscroll;return(r,i,l,c,u)=>{let h,d,p,f=0;const $=()=>{d&&(d.remove(),d=null),h&&(h.$destroy(),h=null),p&&(n.leave(p).done((t=>{!1!==t&&(d=null)})),d=p,p=null)};r.$watch(o,(o=>{const l=function(t){!1===t||!g(a)||a&&!r.$eval(a)||e()},d=++f;o?(t(o,!0).then((t=>{if(r.$$destroyed)return;if(d!==f)return;const e=r.$new();c.template=t;const a=u(e,(t=>{$(),n.enter(t,null,i).done(l)}));h=e,p=a,h.$emit("$includeContentLoaded",o),r.$eval(s)}),(()=>{r.$$destroyed||d===f&&($(),r.$emit("$includeContentError",o))})),r.$emit("$includeContentRequested",o)):($(),c.template=null)}))}}})],cr=["$compile",t=>({restrict:"ECA",priority:-400,require:"ngInclude",link(e,n,r,i){if(toString.call(n[0]).match(/SVG/))return n.empty(),void t(Lt(i.template,window.document).childNodes)(e,(t=>{n.append(t)}),{futureParentElement:n});n.html(i.template),t(n[0].childNodes)(e)}})];function ur(){return{priority:450,compile:()=>({pre(t,e,n){t.$eval(n.ngInit)}})}}function hr(){return{restrict:"EA",terminal:!0,priority:1e3}}const dr=mt("ngRef"),pr=["$parse",t=>({priority:-1,restrict:"A",compile(e,n){const r=wt(z(e)),i=t(n.ngRef),o=i.assign||function(){throw dr("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(t,e,s){let a;if(Object.prototype.hasOwnProperty.call(s,"ngRefRead")){if("$element"===s.ngRefRead)a=e;else if(a=e.data(`$${s.ngRefRead}Controller`),!a)throw dr("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',s.ngRefRead,n.ngRef)}else a=e.data(`$${r}Controller`);a=a||e,o(t,a),e.on("$destroy",(()=>{i(t)===a&&o(t,null)}))}}})],fr=document.createComment(""),$r=["$parse","$animate",(t,e)=>{const n="$$NG_REMOVED",r=mt("ngRepeat"),i=function(t,e,n,r,i,o,s){t[n]=r,i&&(t[i]=o),t.$index=e,t.$first=0===e,t.$last=e===s-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=!(1&e))},o=function(t){return t.clone[0]},s=function(t){return t.clone[t.clone.length-1]},a=function(t,e,n){return yt(n)},l=function(t,e){return e};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(c,u){const h=u.ngRepeat;let d=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!d)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);const p=d[1],f=d[2],m=d[3],g=d[4];if(d=p.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!d)throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",p);const y=d[3]||d[1],v=d[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",m);let w;if(g){var b={$id:yt};const e=t(g);w=function(t,n,r,i){return v&&(b[v]=n),b[y]=r,b.$index=i,e(t,b)}}return function(t,c,u,d,p){let g=Y();t.$watchCollection(f,(u=>{var d,f,x,C,E,O,k,S,A,N,T,M,V=c[0],j=Y();if(m&&(t[m]=u),$(u))A=u,S=w||a;else for(var P in S=w||l,A=[],u)Object.hasOwnProperty.call(u,P)&&"$"!==P.charAt(0)&&A.push(P);for(C=A.length,T=new Array(C),d=0;d<C;d++)if(E=u===A?d:A[d],O=u[E],k=S(t,E,O,d),g[k])N=g[k],delete g[k],j[k]=N,T[d]=N;else{if(j[k])throw D(T,(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}",h,k,O);T[d]={id:k,scope:void 0,clone:void 0},j[k]=!0}for(var L in b&&(b[y]=void 0),g){if(M=oe((N=g[L]).clone),e.leave(M),M[0].parentNode)for(d=0,f=M.length;d<f;d++)M[d][n]=!0;N.scope.$destroy()}for(d=0;d<C;d++)if(E=u===A?d:A[d],O=u[E],(N=T[d]).scope){x=V;do{x=x.nextSibling}while(x&&x[n]);o(N)!==x&&e.move(oe(N.clone),null,V),V=s(N),i(N.scope,d,y,O,v,E,C)}else p(((t,n)=>{N.scope=n;const r=fr.cloneNode(!1);t[t.length++]=r,e.enter(t,null,V),V=r,N.clone=t,j[N.id]=N,i(N.scope,d,y,O,v,E,C)}));g=j}))}}}}];function mr(){return{restrict:"EA",link:(t,e,n)=>{t.$watchCollection(n.ngStyle,((t,n)=>{if(n){const t=Object.keys(n);for(let n=0,r=t.length;n<r;n++)e[0].style[t[n]]=""}if(t){const n=Object.entries(t);for(let t=0,r=n.length;t<r;t++){const[r,i]=n[t];e[0].style[r]=i}}}))}}}const gr=["$animate",t=>({require:"ngSwitch",controller:["$scope",class{constructor(){this.cases={}}}],link(e,n,r,i){const o=r.ngSwitch||r.on;let s=[];const a=[],l=[],c=[],u=function(t,e){return function(n){!1!==n&&t.splice(e,1)}};e.$watch(o,(e=>{let n,r;for(;l.length;)t.cancel(l.pop());for(n=0,r=c.length;n<r;++n){const e=oe(a[n].clone);c[n].$destroy();(l[n]=t.leave(e)).done(u(l,n))}a.length=0,c.length=0,(s=i.cases[`!${e}`]||i.cases["?"])&&D(s,(e=>{e.transclude(((n,r)=>{c.push(r);const i=e.element;n[n.length++]=document.createComment("");const o={clone:n};a.push(o),t.enter(n,i.parent(),i)}))}))}))}})];function yr(){return{transclude:"element",priority:1200,restrict:"EA",require:"^ngSwitch",multiElement:!0,link(t,e,n,r,i){const o=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(((t,e,n)=>n[e-1]!==t));o.forEach((t=>{r.cases[`!${t}`]=r.cases[`!${t}`]||[],r.cases[`!${t}`].push({transclude:i,element:e})}))}}}function vr(){return{restrict:"EA",transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}}const wr=mt("ngOptions"),br=/^\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]+?))?$/,xr=["$compile","$document","$parse",function(t,e,n){const r=window.document.createElement("option"),i=window.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,r){r[0].registerOption=()=>{}},post:function(o,s,a,l){const c=l[0],u=l[1],{multiple:h}=a,d=s.childNodes;for(let t=0,e=d.length;t<e;t++)if(""===d[t].value){c.hasEmptyOption=!0,c.emptyOption=d[t];break}s.empty();const p=!!c.emptyOption;let f;_t(r.cloneNode(!1)).val("?");const m=function(t,e,r){const i=t.match(br);if(!i)throw wr("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,ie(e));const o=i[5]||i[7],s=i[6],a=/ as /.test(i[0])&&i[1],l=i[9],c=n(i[2]?i[1]:o),u=a&&n(a)||c,h=l&&n(l),d=l?function(t,e){return h(r,e)}:function(t){return yt(t)},p=function(t,e){return d(t,w(t,e))},f=n(i[2]||i[1]),m=n(i[3]||""),g=n(i[4]||""),y=n(i[8]),v={};let w=s?function(t,e){return v[s]=e,v[o]=t,v}:function(t){return v[o]=t,v};function b(t,e,n,r,i){this.selectValue=t,this.viewValue=e,this.label=n,this.group=r,this.disabled=i}function x(t){let e;if(!s&&$(t))e=t;else{e=[];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&"$"!==n.charAt(0)&&e.push(n)}return e}return{trackBy:l,getTrackByValue:p,getWatchables:n(y,(t=>{const e=[],n=x(t=t||[]),o=n.length;for(let s=0;s<o;s++){const o=t===n?s:n[s],a=t[o],l=w(a,o),c=d(a,l);if(e.push(c),i[2]||i[1]){const t=f(r,l);e.push(t)}if(i[4]){const t=g(r,l);e.push(t)}}return e})),getOptions(){const t=[],e={},n=y(r)||[],i=x(n),o=i.length;for(let s=0;s<o;s++){const o=n===i?s:i[s],a=n[o],l=w(a,o),c=u(r,l),h=d(c,l),p=new b(h,c,f(r,l),m(r,l),g(r,l));t.push(p),e[h]=p}return{items:t,selectValueMap:e,getOptionFromViewValue:t=>e[p(t)],getViewValueFromOption:t=>l?structuredClone(t.viewValue):t.viewValue}}}}(a.ngOptions,s,o),y=e[0].createDocumentFragment();function v(t,e){const 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){const e=f.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}c.generateUnknownOptionValue=()=>"?",h?(c.writeValue=function(t){if(!f)return;const e=t&&t.map(w)||[];f.items.forEach((t=>{t.element.selected&&!W(e,t)&&(t.element.selected=!1)}))},c.readValue=function(){const t=s.val()||[],e=[];return D(t,(t=>{const n=f.selectValueMap[t];n&&!n.disabled&&e.push(f.getViewValueFromOption(n))})),e},m.trackBy&&o.$watchCollection((()=>{if(x(u.$viewValue))return u.$viewValue.map((t=>m.getTrackByValue(t)))}),(()=>{u.$render()}))):(c.writeValue=function(t){if(!f)return;const e=s[0].options[s[0].selectedIndex],n=f.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(){const t=f.selectValueMap[s.val()];return t&&!t.disabled?(c.unselectEmptyOption(),c.removeUnknownOption(),f.getViewValueFromOption(t)):null},m.trackBy&&o.$watch((()=>m.getTrackByValue(u.$viewValue)),(()=>{u.$render()}))),p&&(t(c.emptyOption)(o),s.prepend(c.emptyOption),c.emptyOption[0].nodeType===Node.COMMENT_NODE&&(c.hasEmptyOption=!1,c.registerOption=function(t,e){""===e.val()&&(c.hasEmptyOption=!0,c.emptyOption=e,u.$render(),e.on("$destroy",(()=>{const t=c.$isEmptyOptionSelected();c.hasEmptyOption=!1,c.emptyOption=void 0,t&&u.$render()})))})),o.$watchCollection(m.getWatchables,(function(){const t=f&&c.readValue();if(f)for(let t=f.items.length-1;t>=0;t--){const e=f.items[t];g(e.group)?Jt(e.element.parentNode):Jt(e.element)}f=m.getOptions();const e={};if(f.items.forEach((t=>{let n;g(t.group)?(n=e[t.group],n||(n=i.cloneNode(!1),y.appendChild(n),n.label=null===t.group?"null":t.group,e[t.group]=n),v(t,n)):v(t,y)})),s[0].appendChild(y),u.$render(),!u.$isEmpty(t)){const e=c.readValue();(m.trackBy||h?Z(t,e):t===e)||(u.$setViewValue(e),u.$render())}}))}}}}],Cr=mt("ngTransclude"),Er=["$compile",function(t){return{restrict:"EAC",compile:function(e){const n=t(e[0].childNodes);return e.empty(),function(t,e,r,i,o){if(!o)throw Cr("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ie(e));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");const s=r.ngTransclude||r.ngTranscludeSlot;function a(){n(t,(t=>{e.append(t)}))}o((function(t,n){t.length&&function(t){for(let e=0,n=t.length;e<n;e++){const n=t[e];if(n.nodeType!==Node.TEXT_NODE||n.nodeValue.trim())return!0}}(t)?e.append(t):(a(),n.$destroy())}),null,s),s&&!o.isSlotFilled(s)&&a()}}}}];function Or(){return{restrict:"A",priority:100,require:"ngModel",link(t,e,n,r){const i=n.ngList||", ",o="false"!==n.ngTrim,s=o?T(i):i;r.$parsers.push((function(t){if(m(t))return;const e=[];return t&&D(t.split(s),(t=>{t&&e.push(o?T(t):t)})),e})),r.$formatters.push((t=>{if(x(t))return t.join(i)})),r.$isEmpty=function(t){return!t||!t.length}}}}function kr(){return{restrict:"A",require:"ngModel",link(t,e,n,r){r.$viewChangeListeners.push((()=>t.$eval(n.ngChange)))}}}const Sr=/^\/(.+)\/([a-z]*)$/,Ar={};D(Yt,((t,e)=>{if("multiple"===t)return;function n(t,n,i){t.$watch(i[r],(t=>{i.$set(e,!!t)}))}let r=wt(`ng-${e}`),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,0,i)}),Ar[r]=function(){return{restrict:"A",priority:100,link:i}}})),D(u,((t,e)=>{Ar[e]=function(){return{priority:100,link(t,n,r){if("ngPattern"===e&&"/"===r.ngPattern.charAt(0)){const t=r.ngPattern.match(Sr);if(t)return void r.$set("ngPattern",new RegExp(t[1],t[2]))}t.$watch(r[e],(t=>{r.$set(e,t)}))}}}})),D(["src","srcset","href"],(t=>{const e=wt(`ng-${t}`);Ar[e]=["$sce",function(n){return{priority:99,link(r,i,o){let s=t;"href"===t&&"[object SVGAnimatedString]"===toString.call(i[0].href)&&(s="xlinkHref",o.$attr[s]="xlink:href"),o.$set(e,n.getTrustedMediaUrl(o[e])),o.$observe(e,(e=>{e?o.$set(s,e):"href"===t&&o.$set(s,null)}))}}}]}));const Nr=["$parse",t=>({restrict:"A",require:"?ngModel",link(e,n,r,i){if(!i)return;let o=Object.prototype.hasOwnProperty.call(r,"required")||t(r.ngRequired)(e);r.ngRequired||(r.required=!0),i.$validators.required=function(t,e){return!o||!i.$isEmpty(e)},r.$observe("required",(t=>{o!==t&&(o=t,i.$validate())}))}})],Tr=["$parse",function(t){return{restrict:"A",require:"?ngModel",compile:function(e,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&Sr.test(n.ngPattern)?function(){return n.ngPattern}:t(n.ngPattern)),function(t,e,n,o){if(o){var s=n.pattern;n.ngPattern?s=i(t):r=n.pattern;var a=Vr(s,r,e);n.$observe("pattern",(function(t){var n=a;a=Vr(t,r,e),(n&&n.toString())!==(a&&a.toString())&&o.$validate()})),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||m(a)||a.test(e)}}}}}}],Mr=["$parse",t=>({restrict:"A",require:"?ngModel",link(e,n,r,i){if(!i)return;let o=r.maxlength||t(r.ngMaxlength)(e),s=jr(o);r.$observe("maxlength",(t=>{o!==t&&(s=jr(t),o=t,i.$validate())})),i.$validators.maxlength=function(t,e){return s<0||i.$isEmpty(e)||e.length<=s}}})],Dr=["$parse",function(t){return{restrict:"A",require:"?ngModel",link(e,n,r,i){if(!i)return;let o=r.minlength||t(r.ngMinlength)(e),s=jr(o)||-1;r.$observe("minlength",(t=>{o!==t&&(s=jr(t)||-1,o=t,i.$validate())})),i.$validators.minlength=function(t,e){return i.$isEmpty(e)||e.length>=s}}}}];function Vr(t,e,n){if(t){if(v(t)&&(t=new RegExp(`^${t}$`)),!t.test)throw mt("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",e,t,ie(n));return t}}function jr(t){const e=R(t);return _(e)?-1:e}function Pr(){let t=!0;this.disableAutoScrolling=()=>{t=!1},this.$get=["$location","$rootScope",function(e,n){const{document:r}=window;function i(t){if(t){t.scrollIntoView();const e=function(){let t=o.yOffset;if(E(t))t=t();else if(B(t)){const e=t[0];t="fixed"!==window.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom}else w(t)||(t=0);return t}();if(e){const n=t.getBoundingClientRect().top;window.scrollBy(0,n-e)}}else window.scrollTo(0,0)}function o(t){let n;(t=v(t)?t:w(t)?t.toString():e.hash())?(n=r.getElementById(t))||(n=function(t){let e=null;return Array.prototype.some.call(t,(t=>{if("a"===z(t))return e=t,!0})),e}(r.getElementsByName(t)))?i(n):"top"===t&&i(null):i(null)}return t&&n.$watch((()=>e.hash()),((t,e)=>{if(t===e&&""===t)return;const r=()=>n.$evalAsync(o);"complete"===window.document.readyState?window.setTimeout((()=>r())):window.addEventListener("load",(()=>r()))})),o}]}const Lr=mt("$animate"),Ir="ng-animate";function Rr(t,e){return t||e?t?e?(x(t)&&(t=t.join(" ")),x(e)&&(e=e.join(" ")),`${t} ${e}`):t:e:""}function _r(t){return y(t)?t:{}}function Ur(){this.$get=()=>{}}function qr(){const t=new Map,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:()=>{},on:()=>{},off:()=>{},pin:()=>{},push(s,a,l,c){c&&c(),(l=l||{}).from,l.to,(l.addClass||l.removeClass)&&function(n,s,a){const l=t.get(n)||{},c=i(l,s,!0),u=i(l,a,!1);(c||u)&&(t.set(n,l),e.push(n),1===e.length&&r.$$postDigest(o))}(s,l.addClass,l.removeClass);const u=new n;return u.complete(),u}};function i(t,e,n){let r=!1;return e&&D(e=v(e)?e.split(" "):x(e)?e:[],(e=>{e&&(r=!0,t[e]=n)})),r}function o(){D(e,(function(e){var n=t.get(e);if(n){var r=function(t){v(t)&&(t=t.split(" "));const e=Y();return D(t,(t=>{t.length&&(e[t]=!0)})),e}(e.attr("class")),i="",o="";D(n,(function(t,e){t!==!!r[e]&&(t?i+=(i.length?" ":"")+e:o+=(o.length?" ":"")+e)})),D(e,(function(t){o&&o.split(" ").forEach((e=>t.classList.remove(e))),i&&(t.className+=` ${i}`)})),t.delete(e)}})),e.length=0}}]}const Fr=["$provide",function(t){const e=this;let n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Lr("notcsel","Expecting class selector starting with '.' got '{0}'.",n);const i=`${n}-animation`;e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.customFilter=function(t){return 1===arguments.length&&(r=E(t)?t:null),r},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null,n)){if(new RegExp(`[(\\s|\\/)]${Ir}[(\\s|\\/)]`).test(n.toString()))throw n=null,Lr("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ir)}return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){const t=function(t){const{length:e}=t;for(let n=0;n<e;n++){const e=t[n];if(e.nodeType===Node.ELEMENT_NODE)return e}}(n);!t||t.parentNode||t.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel(t){t.cancel&&t.cancel()},enter:(n,r,i,o)=>(r=r&&_t(r),i=i&&_t(i),e(n,r=r||i.parent(),i),t.push(n,"enter",_r(o))),move:(n,r,i,o)=>(r=r&&_t(r),i=i&&_t(i),e(n,r=r||i.parent(),i),t.push(n,"move",_r(o))),leave:(e,n)=>t.push(e,"leave",_r(n),(()=>{e.remove()})),addClass:(e,n,r)=>((r=_r(r)).addClass=Rr(r.addclass,n),t.push(e,"addClass",r)),removeClass:(e,n,r)=>((r=_r(r)).removeClass=Rr(r.removeClass,n),t.push(e,"removeClass",r)),setClass:(e,n,r,i)=>((i=_r(i)).addClass=Rr(i.addClass,n),i.removeClass=Rr(i.removeClass,r),t.push(e,"setClass",i)),animate:(e,n,r,i,o)=>((o=_r(o)).from=o.from?L(o.from,n):n,o.to=o.to?L(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=Rr(o.tempClasses,i),t.push(e,"animate",o))}}]}];let Hr=null;function Br(t,e){const n=this;let{location:r}=window,{history:i}=window;const{setTimeout:o}=window,{clearTimeout:s}=window,a={},l=e(t);let c,u;n.$$completeOutstandingRequest=l.completeTask,n.$$incOutstandingRequestCount=l.incTaskCount,n.notifyWhenNoOutstandingRequests=l.notifyWhenNoPendingTasks;let h=r.href;const d=_t(Array.from(window.document.getElementsByTagName("base")));let p=null;const f=function(){return i.state};v(),n.url=function(t,e,o){if(m(o)&&(o=null),r!==window.location&&(r=window.location),i!==window.history&&(i=window.history),t){const r=u===o;return t=Ne(t).href,h===t&&r?n:(h=t,u=o,i[e?"replaceState":"pushState"](o,"",t),v(),n)}return function(t){return t.replace(/#$/,"")}(p||r.href)},n.state=function(){return c};const $=[];let g=!1;function y(){p=null,w()}function v(){c=f(),c=m(c)?null:c,Z(c,Hr)&&(c=Hr),Hr=c,u=c}function w(){const t=u;v(),h===n.url()&&t===c||(h=n.url(),u=c,D($,(t=>{t(n.url(),c)})))}n.onUrlChange=function(t){return g||(_t(window).on("popstate",y),_t(window).on("hashchange",y),g=!0),$.push(t),t},n.$$applicationDestroyed=function(){_t(window).off("hashchange popstate",y)},n.$$checkUrlChange=w,n.baseHref=function(){const t=d.attr("href");return t?t.replace(/^(https?:)?\/\/[^/]*/,""):""},n.defer=function(t,e,n){let r;return e=e||0,n=n||l.DEFAULT_TASK_TYPE,l.incTaskCount(n),r=o((()=>{delete a[r],l.completeTask(t,n)}),e),a[r]=n,r},n.defer.cancel=function(t){if(Object.prototype.hasOwnProperty.call(a,t)){const e=a[t];return delete a[t],s(t),l.completeTask((()=>{}),e),!0}return!1}}function zr(){this.$get=["$log","$$taskTrackerFactory",function(t,e){return new Br(t,e)}]}function Wr(){this.$get=["$$AnimateRunner",t=>function(e,n){let r,i=n||{};i.$$prepared||(i=structuredClone(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(i.from=null);const o=new t;return{start:s,end:s};function s(){return requestAnimationFrame((()=>{!function(){i.addClass&&(e[0].classList.add(i.addClass),i.addClass=null);i.removeClass&&(e[0].classList.remove(i.removeClass),i.removeClass=null);i.to&&(i.to=null)}(),r||o.complete(),r=!0})),o}}]}function Gr(t){const e=t[0]||{};let n={},r="";function i(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){let t,o,s,a,l;const c=function(t){try{return t.cookie||""}catch(t){return""}}(e);if(c!==r)for(r=c,t=r.split("; "),n={},s=0;s<t.length;s++)o=t[s],a=o.indexOf("="),a>0&&(l=i(o.substring(0,a)),m(n[l])&&(n[l]=i(o.substring(a+1))));return n}}function Kr(){this.$get=Gr}function Zr(){this.$get=[function(){var t=[];function e(e){t.push(e),t.length>1||window.requestAnimationFrame((function(){for(var e=0;e<t.length;e++)t[e]();t=[]}))}return function(){var t=!1;return e((function(){t=!0})),function(n){t?n():e(n)}}}]}function Jr(){this.$get=["$q","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r){function i(t){this.setHost(t);const i=e();this._doneCallbacks=[],this._tick=function(t){n()?function(t){r(t,0,!1)}(t):i(t)},this._state=0}return i.chain=function(t,e){let n=0;!function r(){if(n===t.length)return void e(!0);t[n]((t=>{!1!==t?(n++,r()):e(!1)}))}()},i.all=function(t,e){let n=0,r=!0;function i(i){r=r&&i,++n===t.length&&e(r)}D(t,(t=>{t.done(i)}))},i.prototype={setHost(t){this.host=t||{}},done(t){2===this._state?t():this._doneCallbacks.push(t)},progress:()=>{},getPromise(){if(!this.promise){const e=this;this.promise=t(((t,n)=>{e.done((e=>{!1===e?n():t()}))}))}return this.promise},then(t,e){return this.getPromise().then(t,e)},catch(t){return this.getPromise().catch(t)},finally(t){return this.getPromise().finally(t)},pause(){this.host.pause&&this.host.pause()},resume(){this.host.resume&&this.host.resume()},end(){this.host.end&&this.host.end(),this._resolve(!0)},cancel(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete(t){const e=this;0===e._state&&(e._state=1,e._tick((()=>{e._resolve(t)})))},_resolve(t){2!==this._state&&(D(this._doneCallbacks,(e=>{e(t)})),this._doneCallbacks.length=0,this._state=2)}},i}]}function Xr(){this.$get=function(){const t={};function e(e,n){if(e in t)throw mt("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);let r=0,i=L({},n,{id:e}),o=Y();const s=n&&n.capacity||Number.MAX_VALUE;let a=Y(),l=null,c=null;return t[e]={put(t,e){if(!m(e)){if(s<Number.MAX_VALUE){u(a[t]||(a[t]={key:t}))}return t in o||r++,o[t]=e,r>s&&this.remove(c.key),e}},get(t){if(s<Number.MAX_VALUE){const e=a[t];if(!e)return;u(e)}return o[t]},remove(t){if(s<Number.MAX_VALUE){const e=a[t];if(!e)return;e===l&&(l=e.p),e===c&&(c=e.n),h(e.n,e.p),delete a[t]}t in o&&(delete o[t],r--)},removeAll(){o=Y(),r=0,a=Y(),l=c=null},destroy(){o=null,i=null,a=null,delete t[e]},info:()=>L({},i,{size:r})};function u(t){t!==l&&(c?c===t&&(c=t.n):c=t,h(t.n,t.p),h(t,l),l=t,l.n=null)}function h(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}}return e.info=function(){const e={};return D(t,((t,n)=>{e[n]=t.info()})),e},e.get=function(e){return t[e]},e}}function Yr(){this.$get=["$cacheFactory",t=>t("templates")]}function Qr(){this.$get=[function(){return _t(window.document)}]}function ti(){this.$get=["$document","$rootScope",function(t,e){const n=t[0];let r=n&&n.hidden;function i(){r=n.hidden}return t.on("visibilitychange",i),e.$on("$destroy",(()=>{t.off("visibilitychange",i)})),function(){return r}}]}function ei(){this.$get=["$log",function(t){return function(){t.error.apply(t,arguments)}}]}function ni(){return function(t,e,n,r){if(!$(t)){if(null==t)return t;throw mt("filter")("notarray","Expected array but received: {0}",t)}let i,o;switch(r=r||"$",ii(e)){case"function":i=e;break;case"boolean":case"null":case"number":case"string":o=!0;case"object":i=function(t,e,n,r){const i=y(t)&&n in t;let o;!0===e?e=Z:E(e)||(e=function(t,e){return!m(t)&&(null===t||null===e?t===e:!(y(e)||y(t)&&!H(t))&&(t=f(`${t}`),e=f(`${e}`),-1!==t.indexOf(e)))});return o=function(o){return i&&!y(o)?ri(o,t[n],e,n,!1):ri(o,t,e,n,r)},o}(e,n,r,o);break;default:return t}return Array.prototype.filter.call(t,i)}}function ri(t,e,n,r,i,o){const s=ii(t),a=ii(e);if("string"===a&&"!"===e.charAt(0))return!ri(t,e.substring(1),n,r,i);if(x(t))return t.some((t=>ri(t,e,n,r,i)));switch(s){case"object":var l;if(i){for(l in t)if(l.charAt&&"$"!==l.charAt(0)&&ri(t[l],e,n,r,!0))return!0;return!o&&ri(t,e,n,r,!1)}if("object"===a){for(l in e){const i=e[l];if(E(i)||m(i))continue;const o=l===r;if(!ri(o?t:t[l],i,n,r,o,o))return!1}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function ii(t){return null===t?"null":typeof t}function oi(){return function(t,e){return m(e)&&(e=2),it(t,e)}}function si(){return function(t,e,n){return _(e=Math.abs(Number(e))===1/0?Number(e):R(e))?t:(w(t)&&(t=t.toString()),$(t)?(n=(n=!n||isNaN(n)?0:R(n))<0?Math.max(0,t.length+n):n,e>=0?ai(t,n,n+e):0===n?ai(t,e,t.length):ai(t,Math.max(0,n+e),n)):t)}}function ai(t,e,n){return v(t)?t.slice(e,n):[].slice.call(t,e,n)}function li(t){return function(r,i,o,s){if(null==r)return r;if(!$(r))throw mt("orderBy")("notarray","Expected array but received: {0}",r);x(i)||(i=[i]),0===i.length&&(i=["+"]);const a=i.map((e=>{let n=1,r=q;if(E(e))r=e;else if(v(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e),r.constant))){const t=r();r=function(e){return e[t]}}return{get:r,descending:n}}));const l=o?-1:1,c=E(s)?s:n,u=Array.prototype.map.call(r,(function(t,n){return{value:t,tieBreaker:{value:n,type:"number",index:n},predicateValues:a.map((r=>function(t,n){let r=typeof t;null===t?r="null":"object"===r&&(t=function(t){if(E(t.valueOf)&&e(t=t.valueOf()))return t;if(H(t)&&e(t=t.toString()))return t;return t}(t));return{value:t,type:r,index:n}}(r.get(t),n)))}}));return u.sort((function(t,e){for(let n=0,r=a.length;n<r;n++){const r=c(t.predicateValues[n],e.predicateValues[n]);if(r)return r*a[n].descending*l}return(c(t.tieBreaker,e.tieBreaker)||n(t.tieBreaker,e.tieBreaker))*l})),r=u.map((t=>t.value))};function e(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function n(t,e){let n=0;const r=t.type,i=e.type;if(r===i){let i=t.value,o=e.value;"string"===r?(i=i.toLowerCase(),o=o.toLowerCase()):"object"===r&&(y(i)&&(i=t.index),y(o)&&(o=e.index)),i!==o&&(n=i<o?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i||r<i?-1:1;return n}}function ci(t){const e="Filter";function n(r,i){if(y(r)){const t={};return D(r,((e,r)=>{t[r]=n(r,e)})),t}return t.factory(r+e,i)}this.register=n,this.$get=["$injector",function(t){return function(n){return t.get(n+e)}}],n("filter",ni),n("json",oi),n("limitTo",si),n("orderBy",li)}function ui(){let t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return di((t=>{e.$evalAsync(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return g(e)?(t=e,this):t}}function hi(){let t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return di((t=>{e.defer(t)}),n,t)}],this.errorOnUnhandledRejections=function(e){return g(e)?(t=e,this):t}}function di(t,e,n){const r=mt("$q");let i=0;const o=[];function s(){return new a}function a(){const t=this.promise=new l;this.resolve=function(e){h(t,e)},this.reject=function(e){p(t,e)},this.notify=function(e){$(t,e)}}function l(){this.$$state={status:0}}function c(){for(;!i&&o.length;){const t=o.shift();if(!pi(t)){fi(t);const n=`Possibly unhandled rejection: ${gt(t.value)}`;C(t.value)?e(t.value,n):e(n)}}}function u(r){!n||r.pending||2!==r.status||pi(r)||(0===i&&0===o.length&&t(c),o.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++i,t((()=>{!function(r){let o,s,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(let t=0,n=a.length;t<n;++t){fi(r),s=a[t][0],o=a[t][r.status];try{E(o)?h(s,o(r.value)):1===r.status?h(s,r.value):p(s,r.value)}catch(t){p(s,t),t&&!0===t.$$passToExceptionHandler&&e(t)}}}finally{--i,n&&0===i&&t(c)}}(r)})))}function h(t,e){t.$$state.status||(e===t?f(t,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):d(t,e))}function d(t,e){let n,r=!1;try{(y(e)||E(e))&&(n=e.then),E(n)?(t.$$state.status=-1,n.call(e,(function(e){if(r)return;r=!0,d(t,e)}),i,(function(e){$(t,e)}))):(t.$$state.value=e,t.$$state.status=1,u(t.$$state))}catch(t){i(t)}function i(e){r||(r=!0,f(t,e))}}function p(t,e){t.$$state.status||f(t,e)}function f(t,e){t.$$state.value=e,t.$$state.status=2,u(t.$$state)}function $(n,r){const i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&t((()=>{let t,n;for(let o=0,s=i.length;o<s;o++){n=i[o][0],t=i[o][3];try{$(n,E(t)?t(r):r)}catch(t){e(t)}}}))}function g(t){const e=new l;return p(e,t),e}function v(t,e,n){let r=null;try{E(n)&&(r=n())}catch(t){return g(t)}return N(r)?r.then((()=>e(t)),g):e(t)}function w(t,e,n,r){const i=new l;return h(i,t),i.then(e,n,r)}L(l.prototype,{then(t,e,n){if(m(t)&&m(e)&&m(n))return this;const r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,t,e,n]),this.$$state.status>0&&u(this.$$state),r},catch(t){return this.then(null,t)},finally(t,e){return this.then((e=>v(e,b,t)),(e=>v(e,g,t)),e)}});let b=w;function O(t){if(!E(t))throw r("norslvr","Expected resolverFn, got '{0}'",t);const e=new l;return t((function(t){h(e,t)}),(function(t){p(e,t)})),e}return O.prototype=l.prototype,O.defer=s,O.reject=g,O.when=w,O.resolve=b,O.all=function(t){const e=new l;let n=0;const r=x(t)?[]:{};return D(t,((t,i)=>{n++,w(t).then((t=>{r[i]=t,--n||h(e,r)}),(t=>{p(e,t)}))})),0===n&&h(e,r),e},O.race=function(t){const e=s();return D(t,(t=>{w(t).then(e.resolve,e.reject)})),e.promise},O}function pi(t){return!!t.pur}function fi(t){t.pur=!0}function $i(t){t.$$state&&fi(t.$$state)}Gr.$inject=["$document"],li.$inject=["$parse"],ci.$inject=["$provide"];const mi=mt("$interval");function gi(){this.$get=["$$intervalFactory",function(t){const e={},n=function(t){window.clearInterval(t),delete e[t]},r=t((function(t,n,r){const i=window.setInterval(t,n);return e[i]=r,i}),n);return r.cancel=function(t){if(!t)return!1;if(!Object.prototype.hasOwnProperty.call(t,"$$intervalId"))throw mi("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!Object.prototype.hasOwnProperty.call(e,t.$$intervalId))return!1;const r=t.$$intervalId,i=e[r];return $i(i.promise),i.reject("canceled"),n(r),!0},r}]}const yi=mt("$interpolate");function vi(){let 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,r,i){const o=t.length,s=e.length,a=new RegExp(t.replace(/./g,c),"g"),l=new RegExp(e.replace(/./g,c),"g");function c(t){return`\\\\\\${t}`}function u(n){return n.replace(a,t).replace(l,e)}function h(t,e,n,r){const i=t.$watch((t=>(i(),r(t))),e,n);return i}function d(a,l,c,d){const p=c===i.URL||c===i.MEDIA_URL;if(!a.length||-1===a.indexOf(t)){if(l)return;let t=u(a);p&&(t=i.getTrusted(c,t));const e=F(t);return e.exp=a,e.expressions=[],e.$$watchDelegate=h,e}let f,$;d=!!d;let y=0;const v=[];let w;const b=a.length;let x;const C=[],E=[];let O;for(;y<b;){if(-1===(f=a.indexOf(t,y))||-1===($=a.indexOf(e,f+o))){y!==b&&C.push(u(a.substring(y)));break}y!==f&&C.push(u(a.substring(y,f))),x=a.substring(f+o,$),v.push(x),y=$+s,E.push(C.length),C.push("")}O=1===C.length&&1===E.length;const k=p&&O?void 0:function(t){try{return t=c&&!p?i.getTrusted(c,t):i.valueOf(t),d&&!g(t)?t:Q(t)}catch(t){r(yi.interr(a,t))}};if(w=v.map((t=>n(t,k))),!l||v.length){const t=function(t){for(let e=0,n=v.length;e<n;e++){if(d&&m(t[e]))return;C[E[e]]=t[e]}return p?i.getTrusted(c,O?C[0]:C.join("")):(c&&C.length>1&&yi.throwNoconcat(a),C.join(""))};return L((e=>{let n=0;const i=v.length,o=new Array(i);try{for(;n<i;n++)o[n]=w[n](e);return t(o)}catch(t){r(yi.interr(a,t))}}),{exp:a,expressions:v,$$watchDelegate(e,n){let r;return e.$watchGroup(w,(function(i,o){const s=t(i);n.call(this,s,i!==o?r:s,e),r=s}))}})}}return d.startSymbol=function(){return t},d.endSymbol=function(){return e},d}]}function wi(){this.$get=["$browser","$q","$$q","$rootScope",function(t,e,n,r){return function(i,o){return function(s,a,l,c){const u=arguments.length>4,h=u?et(arguments,4):[];let d=0;const p=g(c)&&!c,f=(p?n:e).defer(),{promise:$}=f;function m(){u?s.apply(null,h):s(d)}return l=g(l)?l:0,$.$$intervalId=i((function(){p?t.defer(m):r.$evalAsync(m),f.notify(d++),l>0&&d>=l&&(f.resolve(d),o($.$$intervalId)),p||r.$apply()}),a,f,p),$}}}]}yi.throwNoconcat=function(t){throw yi("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)},yi.interr=function(t,e){throw yi("interr","Can't interpolate: {0}\n{1}",t,e.toString())};const bi="application/json",xi={"Content-Type":`${bi};charset=utf-8`},Ci=/^\[|^\{(?!\{)/,Ei={"[":/]$/,"{":/}$/},Oi=/^\)]\}',?\n/,ki=mt("$http");function Si(t){return y(t)?b(t)?t.toISOString():it(t):t}function Ai(){this.$get=function(){return function(t){if(!t)return"";const e=[];return V(t,((t,n)=>{null===t||m(t)||E(t)||(x(t)?D(t,(t=>{e.push(`${ut(n)}=${ut(Si(t))}`)})):e.push(`${ut(n)}=${ut(Si(t))}`))})),e.join("&")}}}function Ni(){this.$get=function(){return function(t){if(!t)return"";const e=[];return function t(n,r,i){x(n)?D(n,((e,n)=>{t(e,`${r}[${y(e)?n:""}]`)})):y(n)&&!b(n)?V(n,((e,n)=>{t(e,r+(i?"":"[")+n+(i?"":"]"))})):(E(n)&&(n=n()),e.push(`${ut(r)}=${null==n?"":ut(Si(n))}`))}(t,"",!0),e.join("&")}}}function Ti(t,e){if(v(t)){const n=t.replace(Oi,"").trim();if(n){const r=e("Content-Type"),i=r&&0===r.indexOf(bi);if(i||function(t){const e=t.match(Ci);return e&&Ei[e[0]].test(t)}(n))try{t=ot(n)}catch(e){if(!i)return t;throw ki("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',t,e)}}}return t}function Mi(t){const e=Y();let n;function r(t,n){t&&(e[t]=e[t]?`${e[t]}, ${n}`:n)}return v(t)?D(t.split("\n"),(t=>{n=t.indexOf(":"),r(f(T(t.substr(0,n))),T(t.substr(n+1)))})):y(t)&&D(t,((t,e)=>{r(f(e),T(t))})),e}function Di(t){let e;return function(n){if(e||(e=Mi(t)),n){let t=e[f(n)];return void 0===t&&(t=null),t}return e}}function Vi(t,e,n,r){return E(r)?r(t,e,n):(D(r,(r=>{t=r(t,e,n)})),t)}function ji(t){return t>=200&&t<300}function Pi(){const t=this.defaults={transformResponse:[Ti],transformRequest:[function(t){return!y(t)||(e=t,"[object File]"===toString.call(e))||function(t){return"[object Blob]"===toString.call(t)}(t)||function(t){return"[object FormData]"===toString.call(t)}(t)?t:it(t);var e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:dt(xi),put:dt(xi),patch:dt(xi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"};let e=!1;this.useApplyAsync=function(t){return g(t)?(e=!!t,this):e};const n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get(){return this.xsrfTrustedOrigins},set(t){this.xsrfTrustedOrigins=t}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,o,s,a,l,c,u,h){const d=a("$http");t.paramSerializer=v(t.paramSerializer)?u.get(t.paramSerializer):t.paramSerializer;const p=[];D(n,(t=>{p.unshift(v(t)?u.get(t):u.invoke(t))}));const $=function(t){const e=[Se].concat(t.map(Ne));return function(t){const n=Ne(t);return e.some(Me.bind(null,n))}}(r);function w(n){if(!y(n))throw mt("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!v(h.valueOf(n.url)))throw mt("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",n.url);const r=L({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer},n);var a;r.headers=function(e){let n=t.headers,r=L({},e.headers);return n=L({},n.common,n[f(e.method)]),Object.keys(n).forEach((t=>{r[f(t)]||(r[t]=n[t])})),function(t,e){let n;const r={};return D(t,((t,i)=>{E(t)?(n=t(e),null!=n&&(r[i]=n)):r[i]=t})),r}(r,dt(e))}(n),r.method=v(a=r.method)?a.toUpperCase():a,r.paramSerializer=v(r.paramSerializer)?u.get(r.paramSerializer):r.paramSerializer,i.$$incOutstandingRequestCount("$http");const b=[],C=[];let O=c.resolve(r);return D(p,(t=>{(t.request||t.requestError)&&b.unshift(t.request,t.requestError),(t.response||t.responseError)&&C.push(t.response,t.responseError)})),O=k(O,b),O=O.then((function(n){const{headers:r}=n,i=Vi(n.data,Di(r),void 0,n.transformRequest);m(i)&&D(r,((t,e)=>{"content-type"===f(e)&&delete r[e]}));m(n.withCredentials)&&!m(t.withCredentials)&&(n.withCredentials=t.withCredentials);return function(n,r){const i=c.defer(),{promise:a}=i;let u,p;const f=n.headers;let{url:b}=n;v(b)||(b=h.valueOf(b));b=function(t,e){e.length>0&&(t+=(-1===t.indexOf("?")?"?":"&")+e);return t}(b,n.paramSerializer(n.params)),w.pendingRequests.push(n),a.then(S,S),(n.cache||t.cache)&&!1!==n.cache&&"GET"===n.method&&(u=y(n.cache)?n.cache:y(t.cache)?t.cache:d);u&&(p=u.get(b),g(p)?N(p)?p.then(k,k):x(p)?O(p[1],p[0],dt(p[2]),p[3],p[4]):O(p,200,{},"OK","complete"):u.put(b,a));if(m(p)){const e=$(n.url)?s()[n.xsrfCookieName||t.xsrfCookieName]:void 0;e&&(f[n.xsrfHeaderName||t.xsrfHeaderName]=e),o(n.method,b,r,E,f,n.timeout,n.withCredentials,n.responseType,C(n.eventHandlers),C(n.uploadEventHandlers))}return a;function C(t){if(t){const n={};return D(t,((t,r)=>{n[r]=function(n){function r(){t(n)}e?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}})),n}}function E(t,n,r,i,o){function s(){O(n,t,r,i,o)}u&&(ji(t)?u.put(b,[t,n,Mi(r),i,o]):u.remove(b)),e?l.$applyAsync(s):(s(),l.$$phase||l.$apply())}function O(t,e,r,o,s){(ji(e=e>=-1?e:0)?i.resolve:i.reject)({data:t,status:e,headers:Di(r),config:n,statusText:o,xhrStatus:s})}function k(t){O(t.data,t.status,dt(t.headers()),t.statusText,t.xhrStatus)}function S(){const t=w.pendingRequests.indexOf(n);-1!==t&&w.pendingRequests.splice(t,1)}}(n,i).then(S,S)})),O=k(O,C),O=O.finally((function(){i.$$completeOutstandingRequest((()=>{}),"$http")})),O;function k(t,e){for(let n=0,r=e.length;n<r;){const r=e[n++],i=e[n++];t=t.then(r,i)}return e.length=0,t}function S(t){const e=L({},t);return e.data=Vi(t.data,t.headers,t.status,r.transformResponse),ji(t.status)?e:c.reject(e)}}return w.pendingRequests=[],function(...t){t.forEach((t=>{w[t]=function(e,n){return w(L({},n||{},{method:t,url:e}))}}))}("get","delete","head"),function(...t){t.forEach((t=>{w[t]=function(e,n,r){return w(L({},r||{},{method:t,url:e,data:n}))}}))}("post","put","patch"),w.defaults=t,w}]}function Li(){this.$get=()=>function(){return new window.XMLHttpRequest}}function Ii(){this.$get=["$browser","$xhrFactory",function(t,e){return function(t,e,n){return function(r,i,o,s,a,l,c,u,h,d){i=i||t.url();let p=e(r,i),f=!1;if(p.open(r,i,!0),D(a,((t,e)=>{g(t)&&p.setRequestHeader(e,t)})),p.onload=function(){const t=p.statusText||"",e="response"in p?p.response:p.responseText;let n=p.status;0===n&&(n=e?200:"file"===Ne(i).protocol?404:0),v(s,n,e,p.getAllResponseHeaders(),t,"complete")},p.onerror=function(){v(s,-1,null,null,"","error")},p.ontimeout=function(){v(s,-1,null,null,"","timeout")},p.onabort=function(){v(s,-1,null,null,"",f?"timeout":"abort")},D(h,((t,e)=>{p.addEventListener(e,t)})),D(d,((t,e)=>{p.upload.addEventListener(e,t)})),c&&(p.withCredentials=!0),u)try{p.responseType=u}catch(t){if("json"!==u)throw t}if(p.send(m(o)?null:o),l>0)var $=n((()=>{y("timeout")}),l);else N(l)&&l.then((()=>{y(g(l.$$timeoutId)?"timeout":"abort")}));function y(t){f="timeout"===t,p&&p.abort()}function v(t,e,r,i,o,s){g($)&&n.cancel($),p=null,t(e,r,i,o,s)}}}(t,e,t.defer)}]}const Ri=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,_i={http:80,https:443,ftp:21},Ui=mt("$location");function qi(t,e,n){const r=function(t){const e=[];return D(t,((t,n)=>{x(t)?D(t,(t=>{e.push(ut(n,!0)+(!0===t?"":`=${ut(t,!0)}`))})):e.push(ut(n,!0)+(!0===t?"":`=${ut(t,!0)}`))})),e.length?e.join("&"):""}(e),i=n?`#${ct(n)}`:"";return function(t){const e=t.split("/");let n=e.length;for(;n--;)e[n]=ct(e[n].replace(/%2F/g,"/"));return e.join("/")}(t)+(r?`?${r}`:"")+i}function Fi(t,e){const n=Ne(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=R(n.port)||_i[n.protocol]||null}const Hi=/^\s*[\\/]{2,}/;function Bi(t,e,n){if(Hi.test(t))throw Ui("badpath",'Invalid url "{0}".',t);const r="/"!==t.charAt(0);r&&(t=`/${t}`);const i=Ne(t),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;e.$$path=function(t,e){const n=t.split("/");let r=n.length;for(;r--;)n[r]=decodeURIComponent(n[r]),e&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),e.$$search=at(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path=`/${e.$$path}`)}function zi(t,e){return t.slice(0,e.length)===e}function Wi(t,e){if(zi(e,t))return e.substr(t.length)}function Gi(t){const e=t.indexOf("#");return-1===e?t:t.substr(0,e)}function Ki(t,e,n){this.$$html5=!0,n=n||"",Fi(t,this),this.$$parse=function(t){const n=Wi(e,t);if(!v(n))throw Ui("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Bi(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(t){return e+t.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;let o,s,a;return g(o=Wi(t,r))?(s=o,a=n&&g(o=Wi(n,o))?e+(Wi("/",o)||o):t+s):g(o=Wi(e,r))?a=e+o:e===`${r}/`&&(a=e),a&&this.$$parse(a),!!a}}function Zi(t,e,n){Fi(t,this),this.$$parse=function(r){const i=Wi(t,r)||Wi(e,r);let o;m(i)||"#"!==i.charAt(0)?this.$$html5?o=i:(o="",m(i)&&(t=r,this.replace())):(o=Wi(n,i),m(o)&&(o=i)),Bi(o,this,!1),this.$$path=function(t,e,n){const r=/^\/[A-Z]:(\/.*)/;let i;zi(e,n)&&(e=e.replace(n,""));if(r.exec(e))return t;return i=r.exec(t),i?i[1]:t}(this.$$path,o,t),this.$$compose()},this.$$normalizeUrl=function(e){return t+(e?n+e:"")},this.$$parseLinkUrl=function(e){return Gi(t)===Gi(e)&&(this.$$parse(e),!0)}}const Ji={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose(){this.$$url=qi(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:Xi("$$absUrl"),url(t){if(m(t))return this.$$url;const e=Ri.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:Xi("$$protocol"),host:Xi("$$host"),port:Xi("$$port"),path:Yi("$$path",(t=>"/"===(t=null!==t?t.toString():"").charAt(0)?t:`/${t}`)),search(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(v(t)||w(t))t=t.toString(),this.$$search=at(t);else{if(!y(t))throw Ui("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");D(t=structuredClone(t,{}),((e,n)=>{null==e&&delete t[n]})),this.$$search=t}break;default:m(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:Yi("$$hash",(t=>null!==t?t.toString():"")),replace(){return this.$$replace=!0,this}};function Xi(t){return function(){return this[t]}}function Yi(t,e){return function(n){return m(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Qi(){let t="!";const e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return g(e)?(t=e,this):t},this.html5Mode=function(t){return A(t)?(e.enabled=t,this):y(t)?(A(t.enabled)&&(e.enabled=t.enabled),A(t.requireBase)&&(e.requireBase=t.requireBase),(A(t.rewriteLinks)||v(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$rootElement",function(n,r,i){let o,s;const a=r.baseHref(),l=r.url();let c;if(e.enabled){if(!a&&e.requireBase)throw Ui("nobase","$location in HTML5 mode requires a <base> tag to be present!");c=(u=l).substring(0,u.indexOf("/",u.indexOf("//")+2))+(a||"/"),s=Ki}else c=Gi(l),s=Zi;var u;const h=function(t){return t.substr(0,Gi(t).lastIndexOf("/")+1)}(c);o=new s(c,h,`#${t}`),o.$$parseLinkUrl(l,l),o.$$state=r.state();const d=/^\s*(javascript|mailto):/i;function p(t,e,n){const i=o.url(),s=o.$$state;try{r.url(t,e,n),o.$$state=r.state()}catch(t){throw o.url(i),o.$$state=s,t}}i.on("click",(t=>{const{rewriteLinks:s}=e;if(!s||t.ctrlKey||t.metaKey||t.shiftKey||2===t.which||2===t.button)return;let a=_t(t.target);for(;"a"!==a[0].nodeName.toLowerCase();)if(a[0]===i[0]||!(a=a.parent())[0])return;if(v(s)&&m(a.attr(s)))return;let l=a[0].href;const c=a.attr("href")||a.attr("xlink:href");y(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=Ne(l.animVal).href),d.test(l)||!l||a.attr("target")||t.isDefaultPrevented()||o.$$parseLinkUrl(l,c)&&(t.preventDefault(),o.absUrl()!==r.url()&&n.$apply())})),o.absUrl()!==l&&r.url(o.absUrl(),!0);let f=!0;return r.onUrlChange(((t,e)=>{zi(t,h)?(n.$evalAsync((()=>{const r=o.absUrl(),i=o.$$state;let s;o.$$parse(t),o.$$state=e,s=n.$broadcast("$locationChangeStart",t,r,e,i).defaultPrevented,o.absUrl()===t&&(s?(o.$$parse(r),o.$$state=i,p(r,!1,i)):(f=!1,$(r,i)))})),n.$$phase||n.$digest()):window.location.href=t})),n.$watch((()=>{if(f||o.$$urlUpdatedByLocation){o.$$urlUpdatedByLocation=!1;const i=r.url(),s=o.absUrl(),a=r.state(),l=o.$$replace,c=!((t=i)===(e=s)||Ne(t).href===Ne(e).href)||o.$$html5&&a!==o.$$state;(f||c)&&(f=!1,n.$evalAsync((()=>{const t=o.absUrl(),{defaultPrevented:e}=n.$broadcast("$locationChangeStart",t,i,o.$$state,a);o.absUrl()===t&&(e?(o.$$parse(i),o.$$state=a):(c&&p(t,l,a===o.$$state?null:o.$$state),$(i,a)))})))}var t,e;o.$$replace=!1})),o;function $(t,e){n.$broadcast("$locationChangeSuccess",o.absUrl(),t,o.$$state,e)}}]}D([function(t,e,n){this.$$html5=!0,Zi.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;let o,s;return t===Gi(r)?o=r:(s=Wi(e,r))?o=t+n+s:e===`${r}/`&&(o=e),o&&this.$$parse(o),!!o},this.$$normalizeUrl=function(e){return t+n+e}},Zi,Ki],(t=>{t.prototype=Object.create(Ji),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==Ki||!this.$$html5)throw Ui("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=m(e)?null:e,this.$$urlUpdatedByLocation=!0,this}}));class to{constructor(){this.debug=!0}debugEnabled(t){return void 0!==t?(this.debug=t,this):this.debug}formatError(t){return C(t)&&(t.stack?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}consoleLog(t){const e=window.console||{},n=e[t]||e.log||(()=>{});return(...t)=>{const r=t.map((t=>this.formatError(t)));return n.apply(e,r)}}$get(){return{log:this.consoleLog("log"),info:this.consoleLog("info"),warn:this.consoleLog("warn"),error:this.consoleLog("error"),debug:(()=>{const t=this.consoleLog("debug");return(...e)=>{this.debug&&t.apply(this,e)}})()}}}const eo=mt("$parse"),no={}.constructor.prototype.valueOf;function ro(t){return`${t}`}const io=Y();"+ - * / % === !== == != < > <= >= && || ! = |".split(" ").forEach((t=>io[t]=!0));const oo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},so=function(t){this.options=t};so.prototype={constructor:so,lex(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){const t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{const e=t+this.peek(),n=e+this.peek(2),r=io[t],i=io[e],o=io[n];if(r||i||o){const r=o?n:i?e:t;this.tokens.push({index:this.index,text:r,operator:!0}),this.index+=r.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:(t,e)=>-1!==e.indexOf(t),peek(t){const e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:t=>t>="0"&&t<="9"&&"string"==typeof t,isWhitespace:t=>" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===t||" "===t,isIdentifierStart(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:t=>t>="a"&&t<="z"||t>="A"&&t<="Z"||"_"===t||"$"===t,isIdentifierContinue(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue(t){return this.isValidIdentifierStart(t)||this.isNumber(t)},codePointAt:t=>1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888,peekMultichar(){const t=this.text.charAt(this.index),e=this.peek();if(!e)return t;const n=t.charCodeAt(0),r=e.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator(t){return"-"===t||"+"===t||this.isNumber(t)},throwError(t,e,n){n=n||this.index;const r=g(e)?`s ${e}-${this.index} [${this.text.substring(e,n)}]`:` ${n}`;throw eo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber(){let t="";const e=this.index;for(;this.index<this.text.length;){const e=f(this.text.charAt(this.index));if("."===e||this.isNumber(e))t+=e;else{const n=this.peek();if("e"===e&&this.isExpOperator(n))t+=e;else if(this.isExpOperator(e)&&n&&this.isNumber(n)&&"e"===t.charAt(t.length-1))t+=e;else{if(!this.isExpOperator(e)||n&&this.isNumber(n)||"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(){const t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){const t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString(t){const e=this.index;this.index++;let n="",r=t,i=!1;for(;this.index<this.text.length;){const o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){const t=this.text.substring(this.index+1,this.index+5);t.match(/[\da-f]{4}/i)||this.throwError(`Invalid unicode escape [\\u${t}]`),this.index+=4,n+=String.fromCharCode(parseInt(t,16))}else{n+=oo[o]||o}i=!1}else if("\\"===o)i=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};const ao={Program:"Program",ExpressionStatement:"ExpressionStatement",AssignmentExpression:"AssignmentExpression",ConditionalExpression:"ConditionalExpression",LogicalExpression:"LogicalExpression",BinaryExpression:"BinaryExpression",UnaryExpression:"UnaryExpression",CallExpression:"CallExpression",MemberExpression:"MemberExpression",Identifier:"Identifier",Literal:"Literal",ArrayExpression:"ArrayExpression",Property:"Property",ObjectExpression:"ObjectExpression",ThisExpression:"ThisExpression",LocalsExpression:"LocalsExpression",NGValueParameter:"NGValueParameter"};function lo(t,e){this.lexer=t,this.options=e}function co(t,e){return void 0!==t?t:e}function uo(t,e){return void 0===t?e:void 0===e?t:t+e}lo.prototype={ast(t){this.text=t,this.tokens=this.lexer.lex(t);const e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program(){const t=[];let e=!0;for(;e;)this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),this.expect(";")||(e=!1);return{type:ao.Program,body:t}},expressionStatement(){return{type:ao.ExpressionStatement,expression:this.filterChain()}},filterChain(){let t=this.expression();for(;this.expect("|");)t=this.filter(t);return t},expression(){return this.assignment()},assignment(){let t=this.ternary();if(this.expect("=")){if(!mo(t))throw eo("lval","Trying to assign a value to a non l-value");t={type:ao.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary(){const t=this.logicalOR();let e,n;return this.expect("?")&&(e=this.expression(),this.consume(":"))?(n=this.expression(),{type:ao.ConditionalExpression,test:t,alternate:e,consequent:n}):t},logicalOR(){let t=this.logicalAND();for(;this.expect("||");)t={type:ao.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND(){let t=this.equality();for(;this.expect("&&");)t={type:ao.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality(){let t,e=this.relational();for(;t=this.expect("==","!=","===","!==");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational(){let t,e=this.additive();for(;t=this.expect("<",">","<=",">=");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive(){let t,e=this.multiplicative();for(;t=this.expect("+","-");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative(){let t,e=this.unary();for(;t=this.expect("*","/","%");)e={type:ao.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary(){let t;return(t=this.expect("+","-","!"))?{type:ao.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary(){let t,e;for(this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():Object.prototype.hasOwnProperty.call(this.selfReferential,this.peek().text)?t=structuredClone(this.selfReferential[this.consume().text]):Object.prototype.hasOwnProperty.call(this.options.literals,this.peek().text)?t={type:ao.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("(","[",".");)"("===e.text?(t={type:ao.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:ao.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:ao.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter(t){const e=[t],n={type:ao.CallExpression,callee:this.identifier(),arguments:e,filter:!0};for(;this.expect(":");)e.push(this.expression());return n},parseArguments(){const t=[];if(")"!==this.peekToken().text)do{t.push(this.filterChain())}while(this.expect(","));return t},identifier(){const t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:ao.Identifier,name:t.text}},constant(){return{type:ao.Literal,value:this.consume().value}},arrayDeclaration(){const t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:ao.ArrayExpression,elements:t}},object(){const t=[];let e;if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:ao.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:ao.ObjectExpression,properties:t}},throwError(t,e){throw eo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume(t){if(0===this.tokens.length)throw eo("ueoe","Unexpected end of expression: {0}",this.text);const e=this.expect(t);return e||this.throwError(`is unexpected, expecting [${t}]`,this.peek()),e},peekToken(){if(0===this.tokens.length)throw eo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead(t,e,n,r,i){if(this.tokens.length>t){const o=this.tokens[t],s=o.text;if(s===e||s===n||s===r||s===i||!e&&!n&&!r&&!i)return o}return!1},expect(t,e,n,r){const i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:ao.ThisExpression},$locals:{type:ao.LocalsExpression}}};const ho=1,po=2;function fo(t,e,n){let r,i,o;const s=t.isPure=function(t,e){switch(t.type){case ao.MemberExpression:if(t.computed)return!1;break;case ao.UnaryExpression:return ho;case ao.BinaryExpression:return"+"!==t.operator&&ho;case ao.CallExpression:return!1}return void 0===e?po:e}(t,n);switch(t.type){case ao.Program:r=!0,D(t.body,(t=>{fo(t.expression,e,s),r=r&&t.expression.constant})),t.constant=r;break;case ao.Literal:t.constant=!0,t.toWatch=[];break;case ao.UnaryExpression:fo(t.argument,e,s),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case ao.BinaryExpression:fo(t.left,e,s),fo(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case ao.LogicalExpression:fo(t.left,e,s),fo(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case ao.ConditionalExpression:fo(t.test,e,s),fo(t.alternate,e,s),fo(t.consequent,e,s),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case ao.Identifier:t.constant=!1,t.toWatch=[t];break;case ao.MemberExpression:fo(t.object,e,s),t.computed&&fo(t.property,e,s),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=t.constant?[]:[t];break;case ao.CallExpression:o=!!t.filter&&function(t,e){return!t(e).$stateful}(e,t.callee.name),r=o,i=[],D(t.arguments,(t=>{fo(t,e,s),r=r&&t.constant,i.push.apply(i,t.toWatch)})),t.constant=r,t.toWatch=o?i:[t];break;case ao.AssignmentExpression:fo(t.left,e,s),fo(t.right,e,s),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case ao.ArrayExpression:r=!0,i=[],D(t.elements,(t=>{fo(t,e,s),r=r&&t.constant,i.push.apply(i,t.toWatch)})),t.constant=r,t.toWatch=i;break;case ao.ObjectExpression:r=!0,i=[],D(t.properties,(t=>{fo(t.value,e,s),r=r&&t.value.constant,i.push.apply(i,t.value.toWatch),t.computed&&(fo(t.key,e,!1),r=r&&t.key.constant,i.push.apply(i,t.key.toWatch))})),t.constant=r,t.toWatch=i;break;case ao.ThisExpression:case ao.LocalsExpression:t.constant=!1,t.toWatch=[]}}function $o(t){if(1!==t.length)return;const e=t[0].expression,n=e.toWatch;return 1!==n.length||n[0]!==e?n:void 0}function mo(t){return t.type===ao.Identifier||t.type===ao.MemberExpression}function go(t){if(1===t.body.length&&mo(t.body[0].expression))return{type:ao.AssignmentExpression,left:t.body[0].expression,right:{type:ao.NGValueParameter},operator:"="}}function yo(t){this.$filter=t}function vo(t){this.$filter=t}yo.prototype={compile(t){const e=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},fo(t,e.$filter);let n,r="";if(this.stage="assign",n=go(t)){this.state.computing="assign";const t=this.nextId();this.recurse(n,t),this.return_(t),r=`fn.assign=${this.generateFunction("assign","s,v,l")}`}const i=$o(t.body);e.stage="inputs",D(i,((t,n)=>{const r=`fn${n}`;e.state[r]={vars:[],body:[],own:{}},e.state.computing=r;const i=e.nextId();e.recurse(t,i),e.return_(i),e.state.inputs.push({name:r,isPure:t.isPure}),t.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(t);const o=`\n${this.filterPrefix()}let fn=${this.generateFunction("fn","s,l,a,i")}${r}${this.watchFns()}return fn;`,s=new Function("$filter","getStringValue","ifDefined","plus",o)(this.$filter,ro,co,uo);return this.state=this.stage=void 0,s},watchFns(){const t=[],{inputs:e}=this.state,n=this;return D(e,(e=>{t.push(`let ${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((t=>t.name)).join(",")}];`),t.join("")},generateFunction(t,e){return`function(${e}){${this.varsPrefix(t)}${this.body(t)}};`},filterPrefix(){const t=[],e=this;return D(this.state.filters,((n,r)=>{t.push(`${n}=$filter(${e.escape(r)})`)})),t.length?`let ${t.join(",")};`:""},varsPrefix(t){return this.state[t].vars.length?`let ${this.state[t].vars.join(",")};`:""},body(t){return this.state[t].body.join("")},recurse(t,e,n,r,i,o){let s,a;const l=this;let c,u,h;if(r=r||(()=>{}),!o&&g(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,r,i,!0));switch(t.type){case ao.Program:D(t.body,((e,n)=>{l.recurse(e.expression,void 0,void 0,(t=>{a=t})),n!==t.body.length-1?l.current().body.push(a,";"):l.return_(a)}));break;case ao.Literal:u=this.escape(t.value),this.assign(e,u),r(e||u);break;case ao.UnaryExpression:this.recurse(t.argument,void 0,void 0,(t=>{a=t})),u=`${t.operator}(${this.ifDefined(a,0)})`,this.assign(e,u),r(u);break;case ao.BinaryExpression:this.recurse(t.left,void 0,void 0,(t=>{s=t})),this.recurse(t.right,void 0,void 0,(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),r(u);break;case ao.LogicalExpression:e=e||this.nextId(),l.recurse(t.left,e),l.if_("&&"===t.operator?e:l.not(e),l.lazyRecurse(t.right,e)),r(e);break;case ao.ConditionalExpression:e=e||this.nextId(),l.recurse(t.test,e),l.if_(e,l.lazyRecurse(t.alternate,e),l.lazyRecurse(t.consequent,e)),r(e);break;case ao.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===l.stage?"s":this.assign(this.nextId(),`${this.getHasOwnProperty("l",t.name)}?l:s`),n.computed=!1,n.name=t.name),l.if_("inputs"===l.stage||l.not(l.getHasOwnProperty("l",t.name)),(()=>{l.if_("inputs"===l.stage||"s",(()=>{i&&1!==i&&l.if_(l.isNull(l.nonComputedMember("s",t.name)),l.lazyAssign(l.nonComputedMember("s",t.name),"{}")),l.assign(e,l.nonComputedMember("s",t.name))}))}),e&&l.lazyAssign(e,l.nonComputedMember("l",t.name))),r(e);break;case ao.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),l.recurse(t.object,s,void 0,(()=>{l.if_(l.notNull(s),(()=>{t.computed?(a=l.nextId(),l.recurse(t.property,a),l.getStringValue(a),i&&1!==i&&l.if_(l.not(l.computedMember(s,a)),l.lazyAssign(l.computedMember(s,a),"{}")),u=l.computedMember(s,a),l.assign(e,u),n&&(n.computed=!0,n.name=a)):(i&&1!==i&&l.if_(l.isNull(l.nonComputedMember(s,t.property.name)),l.lazyAssign(l.nonComputedMember(s,t.property.name),"{}")),u=l.nonComputedMember(s,t.property.name),l.assign(e,u),n&&(n.computed=!1,n.name=t.property.name))}),(()=>{l.assign(e,"undefined")})),r(e)}),!!i);break;case ao.CallExpression:e=e||this.nextId(),t.filter?(a=l.filter(t.callee.name),c=[],D(t.arguments,(t=>{const e=l.nextId();l.recurse(t,e),c.push(e)})),u=`${a}(${c.join(",")})`,l.assign(e,u),r(e)):(a=l.nextId(),s={},c=[],l.recurse(t.callee,a,s,(()=>{l.if_(l.notNull(a),(()=>{D(t.arguments,(e=>{l.recurse(e,t.constant?void 0:l.nextId(),void 0,(t=>{c.push(t)}))})),u=s.name?`${l.member(s.context,s.name,s.computed)}(${c.join(",")})`:`${a}(${c.join(",")})`,l.assign(e,u)}),(()=>{l.assign(e,"undefined")})),r(e)})));break;case ao.AssignmentExpression:a=this.nextId(),s={},this.recurse(t.left,void 0,s,(()=>{l.if_(l.notNull(s.context),(()=>{l.recurse(t.right,a),u=l.member(s.context,s.name,s.computed)+t.operator+a,l.assign(e,u),r(e||u)}))}),1);break;case ao.ArrayExpression:c=[],D(t.elements,(e=>{l.recurse(e,t.constant?void 0:l.nextId(),void 0,(t=>{c.push(t)}))})),u=`[${c.join(",")}]`,this.assign(e,u),r(e||u);break;case ao.ObjectExpression:c=[],h=!1,D(t.properties,(t=>{t.computed&&(h=!0)})),h?(e=e||this.nextId(),this.assign(e,"{}"),D(t.properties,(t=>{t.computed?(s=l.nextId(),l.recurse(t.key,s)):s=t.key.type===ao.Identifier?t.key.name:`${t.key.value}`,a=l.nextId(),l.recurse(t.value,a),l.assign(l.member(e,s,t.computed),a)}))):(D(t.properties,(e=>{l.recurse(e.value,t.constant?void 0:l.nextId(),void 0,(t=>{c.push(`${l.escape(e.key.type===ao.Identifier?e.key.name:`${e.key.value}`)}:${t}`)}))})),u=`{${c.join(",")}}`,this.assign(e,u)),r(e||u);break;case ao.ThisExpression:this.assign(e,"s"),r(e||"s");break;case ao.LocalsExpression:this.assign(e,"l"),r(e||"l");break;case ao.NGValueParameter:this.assign(e,"v"),r(e||"v")}},getHasOwnProperty(t,e){const n=`${t}.${e}`,{own:r}=this.current();return Object.prototype.hasOwnProperty.call(r,n)||(r[n]=this.nextId(!1,`${t}&&(${this.escape(e)} in ${t})`)),r[n]},assign(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter(t){return Object.prototype.hasOwnProperty.call(this.state.filters,t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined(t,e){return`ifDefined(${t},${this.escape(e)})`},plus:(t,e)=>`plus(${t},${e})`,return_(t){this.current().body.push("return ",t,";")},if_(t,e,n){if(!0===t)e();else{const{body:r}=this.current();r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:t=>`!(${t})`,isNull:t=>`${t}==null`,notNull:t=>`${t}!=null`,nonComputedMember(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:(t,e)=>`${t}[${e}]`,member(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue(t){this.assign(t,`getStringValue(${t})`)},lazyRecurse(t,e,n,r,i,o){const s=this;return function(){s.recurse(t,e,n,r,i,o)}},lazyAssign(t,e){const n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:t=>`\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`,escape(t){if(v(t))return`'${t.replace(this.stringEscapeRegex,this.stringEscapeFn)}'`;if(w(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw eo("esc","IMPOSSIBLE")},nextId(t,e){const n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?`=${e}`:"")),n},current(){return this.state[this.state.computing]}},vo.prototype={compile(t){const e=this;let n,r;fo(t,e.$filter),(n=go(t))&&(r=this.recurse(n));const i=$o(t.body);let o;i&&(o=[],D(i,((t,n)=>{const r=e.recurse(t);r.isPure=t.isPure,t.input=r,o.push(r),t.watchId=n})));const s=[];D(t.body,(t=>{s.push(e.recurse(t.expression))}));const a=0===t.body.length?()=>{}:1===t.body.length?s[0]:function(t,e){let n;return D(s,(r=>{n=r(t,e)})),n};return r&&(a.assign=function(t,e,n){return r(t,n,e)}),o&&(a.inputs=o),a},recurse(t,e,n){let r,i;const o=this;let s;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case ao.Literal:return this.value(t.value,e);case ao.UnaryExpression:return i=this.recurse(t.argument),this[`unary${t.operator}`](i,e);case ao.BinaryExpression:case ao.LogicalExpression:return r=this.recurse(t.left),i=this.recurse(t.right),this[`binary${t.operator}`](r,i,e);case ao.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case ao.Identifier:return o.identifier(t.name,e,n);case ao.MemberExpression:return r=this.recurse(t.object,!1,!!n),t.computed||(i=t.property.name),t.computed&&(i=this.recurse(t.property)),t.computed?this.computedMember(r,i,e,n):this.nonComputedMember(r,i,e,n);case ao.CallExpression:return s=[],D(t.arguments,(t=>{s.push(o.recurse(t))})),t.filter&&(i=this.$filter(t.callee.name)),t.filter||(i=this.recurse(t.callee,!0)),t.filter?function(t,n,r,o){const a=[];for(let e=0;e<s.length;++e)a.push(s[e](t,n,r,o));const l=i.apply(void 0,a,o);return e?{context:void 0,name:void 0,value:l}:l}:function(t,n,r,o){const a=i(t,n,r,o);let l;if(null!=a.value){const e=[];for(let i=0;i<s.length;++i)e.push(s[i](t,n,r,o));l=a.value.apply(a.context,e)}return e?{value:l}:l};case ao.AssignmentExpression:return r=this.recurse(t.left,!0,1),i=this.recurse(t.right),function(t,n,o,s){const a=r(t,n,o,s),l=i(t,n,o,s);return a.context[a.name]=l,e?{value:l}:l};case ao.ArrayExpression:return s=[],D(t.elements,(t=>{s.push(o.recurse(t))})),function(t,n,r,i){const o=[];for(let e=0;e<s.length;++e)o.push(s[e](t,n,r,i));return e?{value:o}:o};case ao.ObjectExpression:return s=[],D(t.properties,(t=>{t.computed?s.push({key:o.recurse(t.key),computed:!0,value:o.recurse(t.value)}):s.push({key:t.key.type===ao.Identifier?t.key.name:`${t.key.value}`,computed:!1,value:o.recurse(t.value)})})),function(t,n,r,i){const o={};for(let e=0;e<s.length;++e)s[e].computed?o[s[e].key(t,n,r,i)]=s[e].value(t,n,r,i):o[s[e].key]=s[e].value(t,n,r,i);return e?{value:o}:o};case ao.ThisExpression:return function(t){return e?{value:t}:t};case ao.LocalsExpression:return function(t,n){return e?{value:n}:n};case ao.NGValueParameter:return function(t,n,r){return e?{value:r}:r}}},"unary+":function(t,e){return function(n,r,i,o){let s=t(n,r,i,o);return s=g(s)?+s:0,e?{value:s}:s}},"unary-":function(t,e){return function(n,r,i,o){let s=t(n,r,i,o);return s=g(s)?-s:-0,e?{value:s}:s}},"unary!":function(t,e){return function(n,r,i,o){const s=!t(n,r,i,o);return e?{value:s}:s}},"binary+":function(t,e,n){return function(r,i,o,s){const a=uo(t(r,i,o,s),e(r,i,o,s));return n?{value:a}:a}},"binary-":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s),l=e(r,i,o,s),c=(g(a)?a:0)-(g(l)?l:0);return n?{value:c}:c}},"binary*":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)*e(r,i,o,s);return n?{value:a}:a}},"binary/":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)/e(r,i,o,s);return n?{value:a}:a}},"binary%":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)%e(r,i,o,s);return n?{value:a}:a}},"binary===":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)===e(r,i,o,s);return n?{value:a}:a}},"binary!==":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)!==e(r,i,o,s);return n?{value:a}:a}},"binary==":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)==e(r,i,o,s);return n?{value:a}:a}},"binary!=":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)!=e(r,i,o,s);return n?{value:a}:a}},"binary<":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)<e(r,i,o,s);return n?{value:a}:a}},"binary>":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)>e(r,i,o,s);return n?{value:a}:a}},"binary<=":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)<=e(r,i,o,s);return n?{value:a}:a}},"binary>=":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)>=e(r,i,o,s);return n?{value:a}:a}},"binary&&":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)&&e(r,i,o,s);return n?{value:a}:a}},"binary||":function(t,e,n){return function(r,i,o,s){const a=t(r,i,o,s)||e(r,i,o,s);return n?{value:a}:a}},"ternary?:":function(t,e,n,r){return function(i,o,s,a){const l=t(i,o,s,a)?e(i,o,s,a):n(i,o,s,a);return r?{value:l}:l}},value:(t,e)=>function(){return e?{context:void 0,name:void 0,value:t}:t},identifier:(t,e,n)=>function(r,i){const o=i&&t in i?i:r;n&&1!==n&&o&&null==o[t]&&(o[t]={});const s=o?o[t]:void 0;return e?{context:o,name:t,value:s}:s},computedMember:(t,e,n,r)=>function(i,o,s,a){const l=t(i,o,s,a);let c,u;return null!=l&&(c=e(i,o,s,a),c=ro(c),r&&1!==r&&l&&!l[c]&&(l[c]={}),u=l[c]),n?{context:l,name:c,value:u}:u},nonComputedMember:(t,e,n,r)=>function(i,o,s,a){const l=t(i,o,s,a);r&&1!==r&&l&&null==l[e]&&(l[e]={});const c=null!=l?l[e]:void 0;return n?{context:l,name:e,value:c}:c},inputs:(t,e)=>function(n,r,i,o){return o?o[e]:t(n,r,i)}};class wo{constructor(t,e,n){this.ast=new lo(t,n),this.astCompiler=n.csp?new vo(e):new yo(e)}parse(t){const{ast:e,oneTime:n}=this.getAst(t),r=this.astCompiler.compile(e);return r.literal=function(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===ao.Literal||t.body[0].expression.type===ao.ArrayExpression||t.body[0].expression.type===ao.ObjectExpression)}(e),r.constant=function(t){return t.constant}(e),r.oneTime=n,r}getAst(t){let e=!1;return(t=t.trim()).startsWith("::")&&(e=!0,t=t.substring(2)),{ast:this.ast.ast(t),oneTime:e}}}function bo(t){return E(t.valueOf)?t.valueOf():no.call(t)}function xo(){const t=Y(),e={true:!0,false:!1,null:null,undefined:void 0};var n,r;this.addLiteral=function(t,n){e[t]=n},this.setIdentifierFns=function(t,e){return n=t,r=e,this},this.$get=["$filter",function(i){var o={csp:function(){if(!g(J.rules)){const t=window.document.querySelector("[ng-csp]")||window.document.querySelector("[data-ng-csp]");if(t){const e=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");J.rules={noUnsafeEval:!e||-1!==e.indexOf("no-unsafe-eval"),noInlineStyle:!e||-1!==e.indexOf("no-inline-style")}}else J.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(t){return!0}}(),noInlineStyle:!1}}return J.rules}().noUnsafeEval,literals:structuredClone(e),isIdentifierStart:E(n)&&n,isIdentifierContinue:E(r)&&r};return s.$$getAst=function(t){var e=new so(o);return new wo(e,i,o).getAst(t).ast},s;function s(e,n){var r,s;switch(typeof e){case"string":if(e=e.trim(),!(r=t[s=e])){var a=new so(o);r=new wo(a,i,o).parse(e),t[s]=d(r)}return p(r,n);case"function":return p(e,n);default:return p((()=>{}),n)}}function a(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&"object"==typeof(t=bo(t))&&!n)&&(t===e||t!=t&&e!=e)}function l(t,e,n,r){var i,o=r.inputs;if(1===o.length){var s=a;return o=o[0],t.$watch((function(t){var e=o(t);return a(e,s,o.isPure)||(i=r(t,void 0,void 0,[e]),s=e&&bo(e)),i}),e,n)}for(var l=[],c=[],u=0,h=o.length;u<h;u++)l[u]=a,c[u]=null;return t.$watch((function(t){for(var e=!1,n=0,s=o.length;n<s;n++){var u=o[n](t);(e||(e=!a(u,l[n],o[n].isPure)))&&(c[n]=u,l[n]=u&&bo(u))}return e&&(i=r(t,void 0,void 0,c)),i}),e,n)}function c(t,e,n,r){var i,o,s=r.literal?u:g,a=r.$$intercepted||r,l=r.$$interceptor||q,c=r.inputs&&!a.inputs;return p.literal=r.literal,p.constant=r.constant,p.inputs=r.inputs,d(p),i=t.$watch(p,e,n);function h(){s(o)&&i()}function p(t,e,n,r){return o=c&&r?r[0]:a(t,e,n,r),s(o)&&t.$$postDigest(h),l(o)}}function u(t){var e=!0;return D(t,(function(t){g(t)||(e=!1)})),e}function h(t,e,n,r){var i=t.$watch((function(t){return i(),r(t)}),e,n);return i}function d(t){return t.constant?t.$$watchDelegate=h:t.oneTime?t.$$watchDelegate=c:t.inputs&&(t.$$watchDelegate=l),t}function p(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,r=function(r,i,o,s){var a=n&&s?s[0]:t(r,i,o,s);return e(a)};return r.$$intercepted=t,r.$$interceptor=e,r.literal=t.literal,r.oneTime=t.oneTime,r.constant=t.constant,e.$stateful||(n=!t.inputs,r.inputs=t.inputs?t.inputs:[t],e.$$pure||(r.inputs=r.inputs.map((function(t){return t.isPure===po?function(e){return t(e)}:t})))),d(r)}}]}let Co=10;const Eo=mt("$rootScope"),Oo=[],ko=[],So=[];let Ao,No,To,Mo=0,Do=null,Vo=null;function jo(){this.digestTtl=function(t){return arguments.length&&(Co=t),Co},this.$get=["$exceptionHandler","$parse","$browser",function(t,e,n){To=t,Ao=e,No=n;return new Po}]}class Po{constructor(){this.$id=p(),this.$$phase=null,this.$parent=null,this.$root=this,this.$$watchers=null,this.$$nextSibling=null,this.$$prevSibling=null,this.$$childHead=null,this.$$childTail=null,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null,this.$$ChildScope=null}$new(t,e){let n;return t?(n=new Po,n.$root=this.$root):(n=Object.create(this),n.$id=p(),n.$$watchers=null,n.$$nextSibling=null,n.$$childHead=null,n.$$childTail=null,n.$$listeners={},n.$$listenerCount={},n.$$watchersCount=0,n.$$ChildScope=null,n.$$suspended=!1),n.$parent=e||this,n.$$prevSibling=n.$parent.$$childTail,n.$parent.$$childHead?(n.$parent.$$childTail.$$nextSibling=n,n.$parent.$$childTail=n):(n.$parent.$$childHead=n,n.$parent.$$childTail=n),(t||e!==this)&&n.$on("$destroy",(t=>{t.currentScope.$$destroyed=!0})),n}$watch(t,e,n){const r=Ao(t),i=E(e)?e:()=>{};if(r.$$watchDelegate)return r.$$watchDelegate(this,i,n,r,t);const o=this;let s=o.$$watchers;const a={fn:i,last:Lo,get:r,exp:t,eq:!!n};Do=null,s||(s=o.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(a),s.$$digestWatchIndex++,this.incrementWatchersCount(1);const l=this;return function(){const t=G(s,a);t>=0&&(l.incrementWatchersCount(-1),t<s.$$digestWatchIndex&&s.$$digestWatchIndex--),Do=null}}$watchGroup(t,e){const n=new Array(t.length),r=new Array(t.length),i=[],o=this;let s=!1,a=!0;if(!t.length){let t=!0;return o.$evalAsync((()=>{t&&e(r,r,o)})),function(){t=!1}}if(1===t.length)return this.$watch(t[0],((t,i,o)=>{r[0]=t,n[0]=i,e(r,t===i?r:n,o)}));function l(){s=!1;try{a?(a=!1,e(r,r,o)):e(r,n,o)}finally{for(let e=0;e<t.length;e++)n[e]=r[e]}}return D(t,((t,e)=>{const n=o.$watch(t,(t=>{r[e]=t,s||(s=!0,o.$evalAsync(l))}));i.push(n)})),function(){for(;i.length;)i.shift()()}}$watchCollection(t,e){p.$$pure=Ao(t).literal,p.$stateful=!p.$$pure;const n=this;let r,i,o;const s=e.length>1;let a=0;const l=Ao(t,p),c=[];let u={},h=!0,d=0;function p(t){let e,n,o,s,l;if(r=t,!m(r)){if(y(r))if($(r)){i!==c&&(i=c,d=i.length=0,a++),e=r.length,d!==e&&(a++,i.length=d=e);for(let t=0;t<e;t++)l=i[t],s=r[t],o=l!=l&&s!=s,o||l===s||(a++,i[t]=s)}else{for(n in i!==u&&(i=u={},d=0,a++),e=0,r)Object.hasOwnProperty.call(r,n)&&(e++,s=r[n],l=i[n],n in i?(o=l!=l&&s!=s,o||l===s||(a++,i[n]=s)):(d++,i[n]=s,a++));if(d>e)for(n in a++,i)Object.hasOwnProperty.call(r,n)||(d--,delete i[n])}else i!==r&&(i=r,a++);return a}}return this.$watch(l,(function(){if(h?(h=!1,e(r,r,n)):e(r,o,n),s)if(y(r))if($(r)){o=new Array(r.length);for(let t=0;t<r.length;t++)o[t]=r[t]}else{o={};for(const t in r)Object.hasOwnProperty.call(r,t)&&(o[t]=r[t])}else o=r}))}$digest(){let t,e,n,r,i,o,s,a,l,c=Co;const u=Oo.length?this.$root:this,h=[];let d,p;this.beginPhase("$digest"),No.$$checkUrlChange(),this===this.$root&&null!==Vo&&(No.defer.cancel(Vo),Io(),Vo=null),Do=null;do{s=!1,l=u;for(let t=0;t<Oo.length;t++){try{p=Oo[t],r=p.fn,r(p.scope,p.locals)}catch(t){To(t)}Do=null}Oo.length=0;do{if(o=!l.$$suspended&&l.$$watchers)for(o.$$digestWatchIndex=o.length;o.$$digestWatchIndex--;)try{if(t=o[o.$$digestWatchIndex],t)if(i=t.get,(e=i(l))===(n=t.last)||(t.eq?Z(e,n):_(e)&&_(n))){if(t===Do){s=!1;break}}else s=!0,Do=t,t.last=t.eq?structuredClone(e):e,r=t.fn,r(e,n===Lo?e:n,l),c<5&&(d=4-c,h[d]||(h[d]=[]),h[d].push({msg:E(t.exp)?`fn: ${t.exp.name||t.exp.toString()}`:t.exp,newVal:e,oldVal:n}))}catch(t){To(t)}if(!(a=!l.$$suspended&&l.$$watchersCount&&l.$$childHead||l!==u&&l.$$nextSibling))for(;l!==u&&!(a=l.$$nextSibling);)l=l.$parent}while(l=a);if((s||Oo.length)&&!c--)throw this.clearPhase(),Eo("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",Co,h)}while(s||Oo.length);for(this.clearPhase();Mo<ko.length;)try{ko[Mo++]()}catch(t){To(t)}ko.length=Mo=0,No.$$checkUrlChange()}beginPhase(t){if(this.$root.$$phase)throw Eo("inprog","{0} already in progress",this.$root.$$phase);this.$root.$$phase=t}$suspend(){this.$$suspended=!0}$isSuspended(){return this.$$suspended}$resume(){this.$$suspended=!1}$destroy(){if(this.$$destroyed)return;const t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===this.$root&&No.$$applicationDestroyed(),this.incrementWatchersCount(-this.$$watchersCount);for(const t in this.$$listenerCount)this.decrementListenerCount(this.$$listenerCount[t],t);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=()=>{},this.$on=this.$watch=this.$watchGroup=function(){return()=>{}},this.$$listeners={},this.$$nextSibling=null,this.$parent=null,this.$$nextSibling=null,this.$$prevSibling=null,this.$$childHead=null,this.$$childTail=null,this.$root=null,this.$$watchers=null}$eval(t,e){return Ao(t)(this,e)}$evalAsync(t,e){let n;return this.$root.$$phase||Oo.length||(n=No.defer((()=>{Oo.length&&this.$root.$digest()}),null,"$evalAsync")),Oo.push({scope:this,fn:Ao(t),locals:e}),n}$$postDigest(t){ko.push(t)}$apply(t){try{this.beginPhase("$apply");try{return this.$eval(t)}finally{this.clearPhase()}}catch(t){To(t)}finally{try{this.$root.$digest()}catch(t){throw To(t),t}}}clearPhase(){this.$root.$$phase=null}$applyAsync(t){const e=this;t&&So.push((()=>e.$eval(t))),t=Ao(t),null===Vo&&(Vo=No.defer(Io,null,"$applyAsync"))}$on(t,e){let n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);let r=this;do{r.$$listenerCount[t]=(r.$$listenerCount[t]??0)+1}while(r=r.$parent);return()=>{const r=n.indexOf(e);-1!==r&&(delete n[r],this.decrementListenerCount(1,t))}}incrementWatchersCount(t){this.$$watchersCount+=t,this.$parent&&this.$parent.incrementWatchersCount(t)}decrementListenerCount(t,e){let n=this;for(;n;n=n.$parent)void 0!==n.$$listenerCount[e]&&(n.$$listenerCount[e]-=t,0===n.$$listenerCount[e]&&delete n.$$listenerCount[e])}$emit(t,...e){const n=[];let r,i=this,o=!1;const s={name:t,targetScope:i,stopPropagation(){o=!0},preventDefault(){s.defaultPrevented=!0},defaultPrevented:!1},a=tt([s],[s].concat(e),1);let l,c;do{for(r=i.$$listeners[t]||n,s.currentScope=i,l=0,c=r.length;l<c;l++)if(r[l])try{r[l].apply(null,a)}catch(t){To(t)}else r.splice(l,1),l--,c--;if(o)break;i=i.$parent}while(i);return s.currentScope=null,s}$broadcast(t,...e){const n=this;let r=n,i=n;const o={name:t,targetScope:n,preventDefault(){o.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[t])return o;const s=tt([o],[o].concat(e),1);let a,l,c;for(;r=i;){for(o.currentScope=r,a=r.$$listeners[t]||[],l=0,c=a.length;l<c;l++)if(a[l])try{a[l].apply(null,s)}catch(t){To(t)}else a.splice(l,1),l--,c--;if(!(i=r.$$listenerCount[t]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r&&r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return o.currentScope=null,o}}function Lo(){}function Io(){for(;So.length;)try{So.shift()()}catch(t){To(t)}Vo=null}function Ro(){this.$get=F((t=>new _o(t)))}function _o(t){const e=this,n={},r=[],i=e.ALL_TASKS_TYPE="$$all$$",o=e.DEFAULT_TASK_TYPE="$$default$$";function s(){const t=r.pop();return t&&t.cb}function a(t){for(let e=r.length-1;e>=0;--e){const n=r[e];if(n.type===t)return r.splice(e,1),n.cb}}e.completeTask=function(e,r){r=r||o;try{e()}finally{!function(t){t=t||o,n[t]&&(n[t]--,n[i]--)}(r);const e=n[r],l=n[i];if(!l||!e){const e=l?a:s;let n;for(;n=e(r);)try{n()}catch(e){t.error(e)}}}},e.incTaskCount=function(t){n[t=t||o]=(n[t]||0)+1,n[i]=(n[i]||0)+1},e.notifyWhenNoPendingTasks=function(t,e){n[e=e||i]?r.push({type:e,cb:t}):t()}}var Uo=mt("$templateRequest");function qo(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,r,i,o){function s(a,l){s.totalPendingRequests++,v(a)&&!m(n.get(a))||(a=o.getTrustedResourceUrl(a));var c=r.defaults&&r.defaults.transformResponse;return x(c)?c=c.filter((function(t){return t!==Ti})):c===Ti&&(c=null),r.get(a,L({cache:n,transformResponse:c},t)).finally((function(){s.totalPendingRequests--})).then((function(t){return n.put(a,t.data)}),(function(t){l||(t=Uo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,t.status,t.statusText),e(t));return i.reject(t)}))}return s.totalPendingRequests=0,s}]}const Fo=mt("$timeout");function Ho(t,e,n,r,i){const o={};function s(s,a,l){E(s)||(l=a,a=s,s=()=>{});const c=et(arguments,3),u=g(l)&&!l,h=(u?r:n).defer(),{promise:d}=h;let p;return p=e.defer((()=>{try{h.resolve(s.apply(null,c))}catch(t){h.reject(t),i(t)}finally{delete o[d.$$timeoutId]}u||t.$apply()}),a,"$timeout"),d.$$timeoutId=p,o[p]=h,d}return s.cancel=function(t){if(!t)return!1;if(!Object.prototype.hasOwnProperty.call(t,"$$timeoutId"))throw Fo("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!Object.prototype.hasOwnProperty.call(o,t.$$timeoutId))return!1;const n=t.$$timeoutId,r=o[n];return $i(r.promise),r.reject("canceled"),delete o[n],e.defer.cancel(n)},s}function Bo(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",Ho]}function zo(){let t=/^\s*(https?|s?ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(e){return g(e)?(t=e,this):t},this.imgSrcSanitizationTrustedUrlList=function(t){return g(t)?(e=t,this):e},this.$get=function(){return function(n,r){const i=r?e:t,o=Ne(n&&n.trim()).href;return""===o||o.match(i)?n:`unsafe:${o}`}}}const Wo="-add",Go="-remove",Ko="-prepare",Zo="ng-animate",Jo="$$ngAnimateChildren";let Xo,Yo,Qo,ts;void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend?(Xo="WebkitTransition",Yo="webkitTransitionEnd transitionend"):(Xo="transition",Yo="transitionend"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend?(Qo="WebkitAnimation",ts="webkitAnimationEnd animationend"):(Qo="animation",ts="animationend");const es="Duration",ns="Delay",rs="TimingFunction",is=Qo+ns,os=Qo+es,ss=Xo+ns,as=mt("ng");function ls(t,e,n){if(!t)throw as("areq","Argument '{0}' is {1}",e||"?",n);return t}function cs(t,e,n){let r="";return(t=x(t)?t:t&&v(t)&&t.length?t.split(/\s+/):[]).forEach(((t,i)=>{t&&t.length>0&&(r+=i>0?" ":"",r+=n?e+t:t+e)})),r}function us(t){if(t instanceof _t)switch(t.length){case 0:return t;case 1:if(t[0].nodeType===Node.ELEMENT_NODE)return t;break;default:return _t(hs(t))}if(t.nodeType===Node.ELEMENT_NODE)return _t(t)}function hs(t){if(!t[0])return t;for(let e=0;e<t.length;e++){const n=t[e];if(n.nodeType===Node.ELEMENT_NODE)return n}}function ds(t){if(!(t=t||{}).$$prepared){let e=t.domOperation||(()=>{});t.domOperation=function(){t.$$domOperationFired=!0,e(),e=()=>{}},t.$$prepared=!0}return t}function ps(t,e){fs(t,e),$s(t,e)}function fs(t,e){e.from&&(e.from=null)}function $s(t,e){e.to&&(e.to=null)}function ms(t,e,n){const r=e.options||{},i=n.options||{},o=`${r.addClass||""} ${i.addClass||""}`,s=`${r.removeClass||""} ${i.removeClass||""}`,a=function(t,e,n){const r=1,i=-1,o={};t=a(t),e=a(e),D(e,((t,e)=>{o[e]=r})),n=a(n),D(n,((t,e)=>{o[e]=o[e]===r?null:i}));const s={addClass:"",removeClass:""};function a(t){v(t)&&(t=t.split(" "));const e={};return D(t,(t=>{t.length&&(e[t]=!0)})),e}return D(o,(function(e,n){var o,a;e===r?(o="addClass",a=!t[n]||t[n+Go]):e===i&&(o="removeClass",a=t[n]||t[n+Wo]),a&&(s[o].length&&(s[o]+=" "),s[o]+=n)})),s}(t.attr("class"),o,s);i.preparationClasses&&(r.preparationClasses=ws(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);const l=r.domOperation!==(()=>{})?r.domOperation:null;return L(r,i),l&&(r.domOperation=l),a.addClass?r.addClass=a.addClass:r.addClass=null,a.removeClass?r.removeClass=a.removeClass:r.removeClass=null,e.addClass=r.addClass,e.removeClass=r.removeClass,r}function gs(t){return t instanceof _t?t[0]:t}function ys(t,e){const n=e?"paused":"",r=Qo+"PlayState";return vs(t,[r,n]),[r,n]}function vs(t,e){const n=e[0],r=e[1];t.style[n]=r}function ws(t,e){return t?e?`${t} ${e}`:t:e}const bs=["$interpolate",function(t){return{link(e,n,r){const i=r.ngAnimateChildren;function o(t){t="on"===t||"true"===t,n.data(Jo,t)}v(i)&&0===i.length?n.data(Jo,!0):(o(t(i)(e)),r.$observe("ngAnimateChildren",o))}}}];function xs(){const t="ng-animate-ref",e=this.drivers=[],n="$$animationRunner",r="$$animatePrepareClasses";function i(t){return t.data(n)}this.$get=["$rootScope","$injector","$$AnimateRunner","$$rAFScheduler","$$animateCache",function(o,s,a,l,c){const u=[],h=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};return function(d,p,f){f=ds(f);const $=["enter","move","leave"].indexOf(p)>=0,m=new a({end(){b()},cancel(){b(!0)}});if(!e.length)return b(),m;let g=vt(d.attr("class"),vt(f.addClass,f.removeClass)),{tempClasses:y}=f;return y&&(g+=` ${y}`,f.tempClasses=null),$&&d.data(r,`ng-${p}${Ko}`),function(t,e){t.data(n,e)}(d,m),u.push({element:d,classes:g,event:p,structural:$,options:f,beforeStart:function(){y=(y?`${y} `:"")+Zo,d.className+=` ${y}`;let t=d.data(r);t&&(d[0].classList.remove(t),t=null)},close:b}),d.on("$destroy",w),u.length>1||o.$$postDigest((()=>{const n=[];D(u,(t=>{i(t.element)?n.push(t):t.close()})),u.length=0;const o=function(e){const n=[],r={};D(e,((e,i)=>{const{element:o}=e,s=gs(o),{event:a}=e,l=["enter","move"].indexOf(a)>=0,c=e.structural?function(e){const n=`[${t}]`,r=e.hasAttribute(t)?[e]:e.querySelectorAll(n),i=[];return D(r,(e=>{const n=e.getAttribute(t);n&&n.length&&i.push(e)})),i}(s):[];if(c.length){const e=l?"to":"from";D(c,(n=>{const o=n.getAttribute(t);r[o]=r[o]||{},r[o][e]={animationID:i,element:_t(n)}}))}else n.push(e)}));const i={},o={};return Object.values(r).forEach((t=>{const{from:r}=t,{to:s}=t;if(!r||!s){const t=r?r.animationID:s.animationID,o=t.toString();return void(i[o]||(i[o]=!0,n.push(e[t])))}const a=e[r.animationID],l=e[s.animationID],c=r.animationID.toString();if(!o[c]){const t=o[c]={structural:!0,beforeStart(){a.beforeStart(),l.beforeStart()},close(){a.close(),l.close()},classes:v(a.classes,l.classes),from:a,to:l,anchors:[]};t.classes.length?n.push(t):(n.push(a),n.push(l))}o[c].anchors.push({out:r.element,in:s.element})})),n}(n),a=[];D(o,(t=>{const n=t.from?t.from.element:t.element;let r=f.addClass;r=(r?`${r} `:"")+Zo;const o=c.cacheKey(n[0],t.event,r,f.removeClass);a.push({element:n,domNode:gs(n),fn:function(){let n;const r=t.close;if(c.containsCachedAnimationWithoutDuration(o))return void r();t.beforeStart();if(i(t.anchors?t.from.element||t.to.element:t.element)){const r=function(t){for(let n=e.length-1;n>=0;n--){const r=e[n],i=s.get(r)(t);if(i)return i}}(t);r&&(n=r.start)}if(n){const e=n();e.done((t=>{r(!t)})),function(t,e){t.from&&t.to?(n(t.from.element),n(t.to.element)):n(t.element);function n(t){const n=i(t);n&&n.setHost(e)}}(t,e)}else r()}})}));const h=function(t){const e={children:[]};let n;const r=new Map;for(n=0;n<t.length;n++){const e=t[n];r.set(e.domNode,t[n]={domNode:e.domNode,element:e.element,fn:e.fn,children:[]})}for(n=0;n<t.length;n++)i(t[n]);return function(t){const e=[],n=[];let r;for(r=0;r<t.children.length;r++)n.push(t.children[r]);let i=n.length,o=0,s=[];for(r=0;r<n.length;r++){const t=n[r];i<=0&&(i=o,o=0,e.push(s),s=[]),s.push(t),t.children.forEach((t=>{o++,n.push(t)})),i--}return s.length&&e.push(s),e}(e);function i(t){if(t.processed)return t;t.processed=!0;const n=t.domNode;let o,{parentNode:s}=n;for(r.set(n,t);s;){if(o=r.get(s),o){o.processed||(o=i(o));break}s=s.parentNode}return(o||e).children.push(t),t}}(a);for(let t=0;t<h.length;t++){const e=h[t];for(let n=0;n<e.length;n++){const i=e[n],{element:o}=i;if(h[t][n]=i.fn,0===t){o.removeData(r);continue}const s=o.data(r);s&&o[0].classList.add(s)}}l(h)})),m;function v(t,e){t=t.split(" "),e=e.split(" ");const n=[];for(let r=0;r<t.length;r++){const i=t[r];if("ng-"!==i.substring(0,3))for(let t=0;t<e.length;t++)if(i===e[t]){n.push(i);break}}return n.join(" ")}function w(){const t=i(d);!t||"leave"===p&&f.$$domOperationFired||t.end()}function b(t){d.off("$destroy",w),function(t){t.removeData(n)}(d),h(d,f),ps(d,f),f.domOperation(),y&&y.split(" ").forEach((t=>d[0].classList.remove(t))),m.complete(!t)}}}]}const Cs=[()=>{let t,e;function n(){if(!t.length)return;t.shift().forEach((t=>t())),e||window.requestAnimationFrame((()=>{e||n()}))}function r(e){t=t.concat(e),n()}return t=r.queue=[],r.waitUntilQuiet=t=>{e&&e(),e=window.requestAnimationFrame((()=>{e=null,t(),n()}))},r}],Es=["$animate",function(t){return{restrict:"A",transclude:"element",terminal:!0,priority:550,link(e,n,r,i,o){let s,a;e.$watchCollection(r.ngAnimateSwap||r.for,(e=>{s&&t.leave(s),a&&(a.$destroy(),a=null),(e||0===e)&&o(((e,r)=>{s=e,a=r,t.enter(e,null,n)}))}))}}}],Os="data-ng-animate",ks="$ngAnimatePin",Ss=["$animateProvider",function(t){const e=" ",n=this.rules={skip:[],cancel:[],join:[]};function r(t){return{addClass:t.addClass,removeClass:t.removeClass,from:t.from,to:t.to}}function i(t,n){if(t&&n){const r=function(t){if(!t)return null;const n=t.split(e),r=Object.create(null);return D(n,(t=>{r[t]=!0})),r}(n);return t.split(e).some((t=>r[t]))}}function o(t,e,r){return n[t].some((t=>t(e,r)))}function s(t,e){const n=(t.addClass||"").length>0,r=(t.removeClass||"").length>0;return e?n&&r:n||r}n.join.push((t=>!t.structural&&s(t))),n.skip.push((t=>!t.structural&&!s(t))),n.skip.push(((t,e)=>"leave"===e.event&&t.structural)),n.skip.push(((t,e)=>e.structural&&2===e.state&&!t.structural)),n.cancel.push(((t,e)=>e.structural&&t.structural)),n.cancel.push(((t,e)=>2===e.state&&t.structural)),n.cancel.push(((t,e)=>{if(e.structural)return!1;const n=t.addClass,r=t.removeClass,o=e.addClass,s=e.removeClass;return!(m(n)&&m(r)||m(o)&&m(s))&&(i(n,s)||i(r,o))})),this.$get=["$rootScope","$rootElement","$document","$$animation","$$AnimateRunner","$templateRequest","$$isDocumentHidden",function(e,n,i,a,l,c,u){const h=new Map,d=new Map;let p=null;function f(t){d.delete(t.target)}const $=e.$watch((()=>0===c.totalPendingRequests),(t=>{t&&($(),e.$$postDigest((()=>{e.$$postDigest((()=>{null===p&&(p=!0)}))})))})),w=Object.create(null),b=t.customFilter(),C=t.classNameFilter(),E=function(){return!0},O=b||E,k=C?function(t,e){const n=[t.getAttribute("class"),e.addClass,e.removeClass].join(" ");return C.test(n)}:E,S=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};function A(t,e){return ms(t,e,{})}const N=window.Node.prototype.contains||function(t){return this===t||!!(16&this.compareDocumentPosition(t))};function T(t,e,n){const r=hs(e);return t.filter((t=>!(t.node===r&&(!n||t.callback===n))))}function M(t,e){"close"!==t||e.parentNode||V.off(e)}let V={on(t,e,n){const r=hs(e);w[t]=w[t]||[],w[t].push({node:r,callback:n}),_t(e).on("$destroy",(()=>{h.get(r)||V.off(t,e,n)}))},off(t,e,n){if(1===arguments.length&&!v(arguments[0])){e=arguments[0];for(const t in w)w[t]=T(w[t],e);return}const r=w[t];r&&(w[t]=1===arguments.length?null:T(r,e,n))},pin(t,e){ls(B(t),"element","not an element"),ls(B(e),"parentElement","not an element"),t.data(ks,e)},push:(t,c,f,$)=>((f=f||{}).domOperation=$,function(t,c,f){let $=structuredClone(f),b=us(t);const C=gs(b),E=C&&C.parentNode;$=ds($);const T=new l,V=function(){let t=!1;return function(n){t?n():e.$$postDigest((()=>{t=!0,n()}))}}();x($.addClass)&&($.addClass=$.addClass.join(" "));$.addClass&&!v($.addClass)&&($.addClass=null);x($.removeClass)&&($.removeClass=$.removeClass.join(" "));$.removeClass&&!v($.removeClass)&&($.removeClass=null);$.from&&!y($.from)&&($.from=null);$.to&&!y($.to)&&($.to=null);if(!(p&&C&&O(C,c,f)&&k(C,$)))return z(),T;const L=["enter","move","leave"].indexOf(c)>=0,I=u();let R=I||d.get(C);const _=!R&&h.get(C)||{},U=!!_.state;R||U&&1===_.state||(R=!function(t,e){const r=i[0].body,o=gs(n);let s,a=t===r||"HTML"===t.nodeName,l=t===o,c=!1,u=d.get(t),p=_t.data(t,ks);p&&(e=gs(p));for(;e&&(l||(l=e===o),e.nodeType===Node.ELEMENT_NODE);){const t=h.get(e)||{};if(!c){const n=d.get(e);if(!0===n&&!1!==u){u=!0;break}!1===n&&(u=!1),c=t.structural}if(m(s)||!0===s){const t=_t.data(e,Jo);g(t)&&(s=t)}if(c&&!1===s)break;if(a||(a=e===r),a&&l)break;e=l||(p=_t.data(e,ks),!p)?e.parentNode:gs(p)}return(!c||s)&&!0!==u&&l&&a}(C,E));if(R)return I&&B(T,c,"start",r($)),z(),I&&B(T,c,"close",r($)),T;L&&function(t){const e=t.querySelectorAll(`[${Os}]`);D(e,(t=>{const e=parseInt(t.getAttribute(Os),10),n=h.get(t);if(n)switch(e){case 2:n.runner.end();case 1:h.delete(t)}}))}(C);const q={structural:L,element:b,event:c,addClass:$.addClass,removeClass:$.removeClass,close:z,options:$,runner:T};if(U){if(o("skip",q,_))return 2===_.state?(z(),T):(ms(b,_,q),_.runner);if(o("cancel",q,_))if(2===_.state)_.runner.end();else{if(!_.structural)return ms(b,_,q),_.runner;_.close()}else{if(o("join",q,_)){if(2!==_.state)return function(t,e,n){let r="";e&&(r=cs(e,"ng-",!0)),n.addClass&&(r=ws(r,cs(n.addClass,Wo))),n.removeClass&&(r=ws(r,cs(n.removeClass,Go))),r.length&&(n.preparationClasses=r,t[0].className+=` ${r}`)}(b,L?c:null,$),c=q.event=_.event,$=ms(b,_,q),_.runner;A(b,q)}}}else A(b,q);let F=q.structural;F||(F="animate"===q.event&&Object.keys(q.options.to||{}).length>0||s(q));if(!F)return z(),j(C),T;const H=(_.counter||0)+1;return q.counter=H,P(C,1,q),e.$$postDigest((()=>{b=us(t);let e=h.get(C);const n=!e;e=e||{};const i=(b.parent()||[]).length>0&&("animate"===e.event||e.structural||s(e));if(n||e.counter!==H||!i)return n&&(S(b,$),ps(b,$)),(n||L&&e.event!==c)&&($.domOperation(),T.end()),void(i||j(C));c=!e.structural&&s(e,!0)?"setClass":e.event,P(C,2);const o=a(b,c,e.options);T.setHost(o),B(T,c,"start",r($)),o.done((t=>{z(!t);const e=h.get(C);e&&e.counter===H&&j(C),B(T,c,"close",r($))}))})),T;function B(t,e,n,r){V((()=>{const t=function(t,e,n){const r=[],i=w[n];return i&&D(i,(i=>{(N.call(i.node,e)||"leave"===n&&N.call(i.node,t))&&r.push(i.callback)})),r}(E,C,e);t.length?(D(t,(t=>{t(b,n,r)})),M(n,C)):M(n,C)})),t.progress(e,n,r)}function z(t){!function(t,e){e.preparationClasses&&(e.preparationClasses.split(" ").forEach((e=>t[0].classList.remove(e))),e.preparationClasses=null),e.activeClasses&&(e.activeClasses.split(" ").forEach((e=>t[0].classList.remove(e))),e.activeClasses=null)}(b,$),S(b,$),ps(b,$),$.domOperation(),T.complete(!t)}}(t,c,f)),enabled(t,e){const n=arguments.length;if(0===n)e=!!p;else{if(B(t)){const r=gs(t);1===n?e=!d.get(r):(d.has(r)||_t(t).on("$destroy",f),d.set(r,!e))}else e=p=!!t}return e}};return V;function j(t){t.removeAttribute(Os),h.delete(t)}function P(t,e,n){(n=n||{}).state=e,t.setAttribute(Os,e);const r=h.get(t),i=r?L(r,n):n;h.set(t,i)}}]}],As="$$ngAnimateParentKey";let Ns=0,Ts=Object.create(null);function Ms(){return{cacheKey(t,e,n,r){const{parentNode:i}=t,o=[i[As]||(i[As]=++Ns),e,t.getAttribute("class")];return n&&o.push(n),r&&o.push(r),o.join(" ")},containsCachedAnimationWithoutDuration(t){const e=Ts[t];return e&&!e.isValid||!1},flush(){Ts=Object.create(null)},count(t){const e=Ts[t];return e?e.total:0},get(t){const e=Ts[t];return e&&e.value},put(t,e,n){Ts[t]?(Ts[t].total++,Ts[t].value=e):Ts[t]={total:1,value:e,isValid:n}}}}function Ds(){this.$get=[Ms]}const Vs="$$animateCss",js=1e3;function Ps(t,e){return[e?is:ss,`${t}s`]}function Ls(t,e){const n=Object.create(null),r=window.getComputedStyle(t)||{};return D(e,((t,e)=>{let i=r[t];if(i){const t=i.charAt(0);("-"===t||"+"===t||t>=0)&&(i=function(t){let e=0;return D(t.split(/\s*,\s*/),(t=>{"s"===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t=parseFloat(t)||0,e=e?Math.max(t,e):t})),e}(i)),0===i&&(i=null),n[e]=i}})),n}function Is(t){return 0===t||null!=t}function Rs(t,e){let n=Xo,r=`${t}s`;return e?n+=es:r+=" linear all",[n,r]}function _s(t,e,n){D(n,(n=>{t[n]=g(t[n])?t[n]:e.style.getPropertyValue(n)}))}const Us=[function(){this.$get=["$$AnimateRunner","$timeout","$$animateCache","$$rAFScheduler","$$animateQueue",function(t,e,n,r,i){const o=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};const s=[];function a(t){s.push(t),r.waitUntilQuiet((()=>{n.flush();const t=document.body.offsetWidth+1;for(let e=0;e<s.length;e++)s[e](t);s.length=0}))}function l(t,e,r,i){const o=function(t,e,r,i,o){let s=n.get(r);s||(s=Ls(window,t),"infinite"===s.animationIterationCount&&(s.animationIterationCount=1));const a=i||s.transitionDuration>0||s.animationDuration>0;return n.put(r,s,a),s}(t,0,r,i),s=o.animationDelay,a=o.transitionDelay;return o.maxDelay=s&&a?Math.max(s,a):s||a,o.maxDuration=Math.max(o.animationDuration*o.animationIterationCount,o.transitionDuration),o}return function(r,s){let c=s||{};c.$$prepared||(c=ds(structuredClone(c)));const u={},h=gs(r);if(!h||!h.parentNode||!i.enabled())return Z();const d=[],p=r.attr("class"),f=function(t){const e={};return t&&(t.to||t.from)&&(e.to=t.to,e.from=t.from),e}(c);let $,m,g,y,v,w,b,C,E,O;const k=[];if(0===c.duration)return Z();const S=c.event&&x(c.event)?c.event.join(" "):c.event,A=S&&c.structural;let N="",T="";A?N=cs(S,"ng-",!0):S&&(N=S),c.addClass&&(T+=cs(c.addClass,Wo)),c.removeClass&&(T.length&&(T+=" "),T+=cs(c.removeClass,Go)),c.applyClassesEarly&&T.length&&o(r,c);let M=[N,T].join(" ").trim(),V=`${p} ${M}`;const j=f.to&&Object.keys(f.to).length>0;if(!((c.keyframeStyle||"").length>0)&&!j&&!M)return Z();let P,L,I=n.cacheKey(h,S,c.addClass,c.removeClass);if(n.containsCachedAnimationWithoutDuration(I))return M=null,Z();if(c.stagger>0){const t=parseFloat(c.stagger);P={transitionDelay:t,animationDelay:t,transitionDuration:0,animationDuration:0}}else P=function(t,e,r,i){let o;const s=`stagger-${r}`;if(n.count(r)>0&&(o=n.get(s),!o)){const r=cs(e,"-stagger");t.className+=` ${r}`,o=Ls(window,t),o.animationDuration=Math.max(o.animationDuration,0),o.transitionDuration=Math.max(o.transitionDuration,0),t.classList.remove(r),n.put(s,o,!0)}return o||{}}(h,M,I);if(c.$$skipPreparationClasses||r[0].classList.add(M),c.transitionStyle){const t=[Xo,c.transitionStyle];vs(h,t),d.push(t)}if(c.duration>=0){L=h.style[Xo].length>0;const t=Rs(c.duration,L);vs(h,t),d.push(t)}if(c.keyframeStyle){const t=[Qo,c.keyframeStyle];vs(h,t),d.push(t)}const R=P?c.staggerIndex>=0?c.staggerIndex:n.count(I):0,_=0===R;_&&!c.skipBlocking&&helpers.blockTransitions(h,9999);let U=l(h,0,I,!A),q=U.maxDelay;w=Math.max(q,0),C=U.maxDuration;const F={};if(F.hasTransitions=U.transitionDuration>0,F.hasAnimations=U.animationDuration>0,F.hasTransitionAll=F.hasTransitions&&"all"===U.transitionProperty,F.applyTransitionDuration=j&&(F.hasTransitions&&!F.hasTransitionAll||F.hasAnimations&&!F.hasTransitions),F.applyAnimationDuration=c.duration&&F.hasAnimations,F.applyTransitionDelay=Is(c.delay)&&(F.applyTransitionDuration||F.hasTransitions),F.applyAnimationDelay=Is(c.delay)&&F.hasAnimations,F.recalculateTimingStyles=T.length>0,(F.applyTransitionDuration||F.applyAnimationDuration)&&(C=c.duration?parseFloat(c.duration):C,F.applyTransitionDuration&&(F.hasTransitions=!0,U.transitionDuration=C,L=h.style[Xo+"Property"].length>0,d.push(Rs(C,L))),F.applyAnimationDuration&&(F.hasAnimations=!0,U.animationDuration=C,d.push([os,`${C}s`]))),0===C&&!F.recalculateTimingStyles)return Z();const H=cs(M,"-active");var B;null!=c.delay&&("boolean"!=typeof c.delay&&(B=parseFloat(c.delay),w=Math.max(B,0)),F.applyTransitionDelay&&d.push(Ps(B)),F.applyAnimationDelay&&d.push(Ps(B,!0)));return null==c.duration&&U.transitionDuration>0&&(F.recalculateTimingStyles=F.recalculateTimingStyles||_),b=w*js,E=C*js,c.skipBlocking||(F.blockTransition=U.transitionDuration>0,F.blockKeyframeAnimation=U.animationDuration>0&&P.animationDelay>0&&0===P.animationDuration),c.from&&(c.cleanupStyles&&_s(u,h,Object.keys(c.from)),fs(0,c)),F.blockTransition||F.blockKeyframeAnimation?K(C):c.skipBlocking||helpers.blockTransitions(h,!1),{$$willAnimate:!0,end:z,start(){if(!$)return v={end:z,cancel:W,resume:null,pause:null},y=new t(v),a(X),y}};function z(){G()}function W(){G(!0)}function G(t){if($||g&&m)return;$=!0,m=!1,M&&!c.$$skipPreparationClasses&&M.split(" ").forEach((t=>r.classList.remove(t))),H&&H.split(" ").forEach((t=>r.classList.remove(t))),ys(h,!1),helpers.blockTransitions(h,!1),D(d,(t=>{h.style[t[0]]=""})),o(r,c),ps(r,c),Object.keys(u).length&&D(u,((t,e)=>{t?h.style.setProperty(e,t):h.style.removeProperty(e)})),c.onDone&&c.onDone(),k&&k.length&&r.off(k.join(" "),J);const n=r.data(Vs);n&&(e.cancel(n[0].timer),r.removeData(Vs)),y&&y.complete(!t)}function K(t){F.blockTransition&&helpers.blockTransitions(h,t),F.blockKeyframeAnimation&&ys(h,!!t)}function Z(){return y=new t({end:z,cancel:W}),a((()=>{})),G(),{$$willAnimate:!1,start:()=>y,end:z}}function J(t){t.stopPropagation();const e=t.originalEvent||t;if(e.target!==h)return;const n=e.$manualTimeStamp||Date.now(),r=parseFloat(e.elapsedTime.toFixed(3));Math.max(n-O,0)>=b&&r>=C&&(g=!0,G())}function X(){if($)return;if(!h.parentNode)return void G();const t=function(t){if(g)m&&t&&(m=!1,G());else if(m=!t,U.animationDuration){const t=ys(h,m);m?d.push(t):function(t,e){const n=t.indexOf(e);e>=0&&t.splice(n,1)}(d,t)}},i=R>0&&(U.transitionDuration&&0===P.transitionDuration||U.animationDuration&&0===P.animationDuration)&&Math.max(P.animationDelay,P.transitionDelay);function s(){if($)return;if(K(!1),D(d,(t=>{const e=t[0],n=t[1];h.style[e]=n})),o(r,c),r.className+=` ${H}`,F.recalculateTimingStyles){if(V=`${h.getAttribute("class")} ${M}`,I=n.cacheKey(h,S,c.addClass,c.removeClass),U=l(h,0,I,!1),q=U.maxDelay,w=Math.max(q,0),C=U.maxDuration,0===C)return void G();F.hasTransitions=U.transitionDuration>0,F.hasAnimations=U.animationDuration>0}if(F.applyAnimationDelay&&(q="boolean"!=typeof c.delay&&Is(c.delay)?parseFloat(c.delay):q,w=Math.max(q,0),U.animationDelay=q,B=Ps(q,!0),d.push(B),h.style[B[0]]=B[1]),b=w*js,E=C*js,c.easing){let t;const e=c.easing;F.hasTransitions&&(t=Xo+rs,d.push([t,e]),h.style[t]=e),F.hasAnimations&&(t=Qo+rs,d.push([t,e]),h.style[t]=e)}U.transitionDuration&&k.push(Yo),U.animationDuration&&k.push(ts),O=Date.now();const t=b+1.5*E,i=O+t,s=r.data(Vs)||[];let p=!0;if(s.length){const t=s[0];p=i>t.expectedEndTime,p?e.cancel(t.timer):s.push(G)}if(p){const n=e(a,t,!1);s[0]={timer:n,expectedEndTime:i},s.push(G),r.data(Vs,s)}k.length&&r.on(k.join(" "),J),c.to&&(c.cleanupStyles&&_s(u,h,Object.keys(c.to)),$s(0,c))}function a(){const t=r.data(Vs);if(t){for(let e=1;e<t.length;e++)t[e]();r.removeData(Vs)}}i?e(s,Math.floor(i*R*js),!1):s(),v.resume=function(){t(!0)},v.pause=function(){t(!1)}}}}]}],qs=["$$animationProvider",function(t){t.drivers.push("$$animateCssDriver");const e="ng-animate-shim",n="ng-anchor",r="ng-anchor-out",i="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$document",function(t,o,s,a,l){const c=l[0].body,u=gs(a),h=_t((d=u).parentNode&&11===d.parentNode.nodeType||c.contains(u)?u:c);var d;return function(o){return o.from&&o.to?function(o,a,l,u){const d=$(o),m=$(a),g=[];if(D(u,(o=>{const a=function(o,a,l){const u=_t(gs(a).cloneNode(!0)),d=p(w(u));let $;a.addClass(e),l.addClass(e),u.addClass(n),h.append(u);const m=v();if(!m&&($=b(),!$))return x();const g=m||$;return{start(){let t,e=g.start();return e.done((()=>{if(e=null,!$&&($=b(),$))return e=$.start(),e.done((()=>{e=null,x(),t.complete()})),e;x(),t.complete()})),t=new s({end:n,cancel:n}),t;function n(){e&&e.end()}}};function y(t){const e={},n=gs(t).getBoundingClientRect();return D(["width","height","top","left"],(t=>{let r=n[t];switch(t){case"top":r+=c.scrollTop;break;case"left":r+=c.scrollLeft}e[t]=`${Math.floor(r)}px`})),e}function v(){const e=t(u,{addClass:r,delay:!0,from:y(a)});return e.$$willAnimate?e:null}function w(t){return t.attr("class")||""}function b(){const e=p(w(l)),n=f(e,d),o=f(d,e),s=t(u,{to:y(l),addClass:`${i} ${n}`,removeClass:`${r} ${o}`,delay:!0});return s.$$willAnimate?s:null}function x(){u.remove(),a.removeClass(e),l.removeClass(e)}}(0,o.out,o.in);a&&g.push(a)})),!d&&!m&&0===g.length)return;return{start(){const t=[];d&&t.push(d.start()),m&&t.push(m.start()),D(g,(e=>{t.push(e.start())}));const e=new s({end:n,cancel:n});return s.all(t,(t=>{e.complete(t)})),e;function n(){D(t,(t=>{t.end()}))}}}}(o.from,o.to,o.classes,o.anchors):$(o)};function p(t){return t.replace(/\bng-\S+\b/g,"")}function f(t,e){return v(t)&&(t=t.split(" ")),v(e)&&(e=e.split(" ")),t.filter((t=>-1===e.indexOf(t))).join(" ")}function $(e){const{element:n}=e,r=e.options||{};e.structural&&(r.event=e.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===e.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=ws(r.event,r.preparationClasses));const i=t(n,r);return i.$$willAnimate?i:null}}]}],Fs=["$animateProvider",function(t){this.$get=["$injector","$$AnimateRunner",function(e,n){const r=function(t,e){e.addClass&&(t[0].classList.add(e.addClass),e.addClass=null),e.removeClass&&(t[0].classList.remove(e.removeClass),e.removeClass=null)};return function(i,o,s,a){let l=!1;3===arguments.length&&y(s)&&(a=s,s=null),a=ds(a),s||(s=i.attr("class")||"",a.addClass&&(s+=` ${a.addClass}`),a.removeClass&&(s+=` ${a.removeClass}`));const c=a.addClass,u=a.removeClass,h=function(n){n=x(n)?n:n.split(" ");const r=[],i={};for(let o=0;o<n.length;o++){const s=n[o],a=t.$$registeredAnimations[s];a&&!i[s]&&(r.push(e.get(a)),i[s]=!0)}return r}(s);let d,p,f;if(h.length){let t,e;"leave"===o?(e="leave",t="afterLeave"):(e=`before${o.charAt(0).toUpperCase()}${o.substr(1)}`,t=o),"enter"!==o&&"move"!==o&&(d=v(i,o,a,h,e)),p=v(i,o,a,h,t)}if(d||p)return{$$willAnimate:!0,end:()=>(f?f.end():(m(),f=new n,f.complete(!0)),f),start(){if(f)return f;let t;f=new n;const e=[];return d&&e.push((e=>{t=d(e)})),e.length?e.push((t=>{$(),t(!0)})):$(),p&&e.push((e=>{t=p(e)})),f.setHost({end(){i()},cancel(){i(!0)}}),n.chain(e,r),f;function r(t){m(),f.complete(t)}function i(e){l||((t||(()=>{}))(e),r(e))}}};function $(){a.domOperation(),r(i,a)}function m(){l=!0,$(),ps(i,a)}function g(t,e,r,i,o){const s=[];return D(i,(i=>{const a=i[o];a&&s.push((()=>{let i,o,s=!1;const l=function(t){s||(s=!0,(o||(()=>{}))(t),i.complete(!t))};return i=new n({end(){l()},cancel(){l(!0)}}),o=function(t,e,r,i,o){let s;switch(r){case"animate":s=[e,i.from,i.to,o];break;case"setClass":s=[e,c,u,o];break;case"addClass":s=[e,c,o];break;case"removeClass":s=[e,u,o];break;default:s=[e,o]}s.push(i);let a=t.apply(t,s);if(a)if(E(a.start)&&(a=a.start()),a instanceof n)a.done(o);else if(E(a))return a;return()=>{}}(a,t,e,r,(t=>{l(!1===t)})),i}))})),s}function v(t,e,r,i,o){let s=g(t,e,r,i,o);if(0===s.length){let e,n;"beforeSetClass"===o?(e=g(t,"removeClass",r,i,"beforeRemoveClass"),n=g(t,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(e=g(t,"removeClass",r,i,"removeClass"),n=g(t,"addClass",r,i,"addClass")),e&&(s=s.concat(e)),n&&(s=s.concat(n))}if(0!==s.length)return function(t){const e=[];return s.length&&D(s,(t=>{e.push(t())})),e.length?n.all(e,t):t(),function(t){D(e,(e=>{t?e.cancel():e.end()}))}}}}}]}],Hs=["$$animationProvider",function(t){t.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(t,e){return function(t){if(t.from&&t.to){const r=n(t.from),i=n(t.to);if(!r&&!i)return;return{start(){const t=[];r&&t.push(r.start()),i&&t.push(i.start()),e.all(t,(function(t){n.complete(t)}));const n=new e({end:o(),cancel:o()});return n;function o(){return function(){D(t,(t=>{t.end()}))}}}}}return n(t)};function n(e){const{element:n}=e,{event:r}=e,{options:i}=e,{classes:o}=e;return t(n,r,o,i)}}]}];function Bs(){function t(t){return["$animate",function(e){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link(n,r,i,o,s){let a,l,c,u,h,d;if(!t){a=r[0],c=i.ngMessage||i.when,u=i.ngMessageExp||i.whenExp;const t=function(t){l=t?x(t)?t:t.split(/[\s,]+/):null,o.reRender()};u?(t(n.$eval(u)),n.$watchCollection(u,t)):t(c)}o.register(a,d={test:t=>function(t,e){if(t)return x(t)?t.indexOf(e)>=0:Object.prototype.hasOwnProperty.call(t,e)}(l,t),attach(){h||s(((n,i)=>{e.enter(n,null,r),h=n;const s=h.$$attachId=o.getAttachId();h.on("$destroy",(()=>{h&&h.$$attachId===s&&(o.deregister(a,t),d.detach()),i.$destroy()}))}))},detach(){if(h){const t=h;h=null,e.leave(t)}}},t),n.$on("$destroy",(()=>{o.deregister(a,t)}))}}}]}window.angular.module("ngMessages",[]).directive("ngMessages",["$animate",function(t){const e="ng-active",n="ng-inactive";return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(o,s,a){const l=this;let c=0,u=0;this.getAttachId=function(){return u++};const h=this.messages={};let d,p;function f(t,e){let n=e;const r=[];for(;n&&n!==t;){const t=n.$$ngMessageNode;if(t&&t.length)return h[t];n.childNodes.length&&-1===r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}this.render=function(c){d=!1,p=c=c||{};const u=r(s,a.ngMessagesMultiple)||r(s,a.multiple),h=[],f={};let $=0,m=l.head,g=!1,y=0;for(;null!=m;){y++;const t=m.message;let e=!1;g||D(c,((n,r)=>{if(i(n)&&!e&&($++,t.test(r))){if(f[r])return;f[r]=!0,e=!0,t.attach()}})),e?g=!u:h.push(t),m=m.next}D(h,(t=>{t.detach()}));const v=h.length!==y,w=l.default&&!v&&$>0;w?l.default.attach():l.default&&l.default.detach(),v||w?t.setClass(o,e,n):t.setClass(o,n,e)},s.$watchCollection(a.ngMessages||a.for,l.render),this.reRender=function(){d||(d=!0,s.$evalAsync((()=>{d&&p&&l.render(p)})))},this.register=function(t,e,n){if(n)l.default=e;else{const n=c.toString();h[n]={message:e},function(t,e,n){const r=h[n];if(l.head){const n=f(t,e);n?(r.next=n.next,n.next=r):(r.next=l.head,l.head=r)}else l.head=r}(o[0],t,n),t.$$ngMessageNode=n,c++}l.reRender()},this.deregister=function(t,e){if(e)delete l.default;else{const e=t.$$ngMessageNode;delete t.$$ngMessageNode,function(t,e,n){const r=h[n];if(!r)return;const i=f(t,e);i?i.next=r.next:l.head=r.next}(o[0],t,e),delete h[e]}l.reRender()}}]};function r(t,e){return v(e)&&0===e.length||i(t.$eval(e))}function i(t){return v(t)?t.length:!!t}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(t,e,n){return{restrict:"AE",require:"^^ngMessages",link(e,r,i){const o=i.ngMessagesInclude||i.src;t(o).then((t=>{e.$$destroyed||v(t)&&!t.trim()||n(t)(e,(t=>{r.after(t)}))}))}}}]).directive("ngMessage",t(!1)).directive("ngMessageExp",t(!1)).directive("ngMessageDefault",t(!0))}const zs="ngAriaDisable";const Ws=["BUTTON","A","INPUT","TEXTAREA","SELECT","DETAILS","SUMMARY"],Gs=function(t,e){if(-1!==e.indexOf(t[0].nodeName))return!0};function Ks(){let t={ariaHidden:!0,ariaChecked:!0,ariaReadonly:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeydown:!0,bindRoleForClick:!0};function e(e,n,r,i){return function(o,s,a){if(Object.prototype.hasOwnProperty.call(a,zs))return;const l=a.$normalize(n);!t[l]||Gs(s,r)||a[l]||o.$watch(a[e],(t=>{t=i?!t:!!t,s.attr(n,t)}))}}this.config=function(e){t=L(t,e)},this.$get=function(){return{config:e=>t[e],$$watchExpr:e}}}window.angular=new class{constructor(){this.cache=xt,this.element=void 0,this.version={full:"",major:0,minor:0,dot:0,codeName:""},this.bind=nt,this.equals=Z,this.element=_t,this.extend=L,this.forEach=D,this.fromJson=ot,this.toJson=it,this.identity=q,this.isArray=x,this.isDate=b,this.isDefined=g,this.isElement=B,this.isFunction=E,this.isNumber=w,this.isObject=y,this.isString=v,this.isUndefined=m,this.merge=I,this.noop=()=>{},this.errorHandlingConfig=be}bootstrap(t,e,n){y(n)||(n={});n=L({strictDi:!1},n),this.doBootstrap=function(){if((t=_t(t)).injector()){const e=t[0]===window.document?"document":ie(t);throw ye("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"<").replace(/>/,">"))}this.bootsrappedModules=e||[],this.bootsrappedModules.unshift(["$provide",e=>{e.value("$rootElement",t)}]),n.debugInfoEnabled&&this.bootsrappedModules.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),this.bootsrappedModules.unshift("ng");const r=ge(this.bootsrappedModules,n.strictDi);return r.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply((()=>{e.data("$injector",r),n(e)(t)}))}]),r};const r=/^NG_ENABLE_DEBUG_INFO!/,i=/^NG_DEFER_BOOTSTRAP!/;if(window&&r.test(window.name)&&(n.debugInfoEnabled=!0,window.name=window.name.replace(r,"")),window&&!i.test(window.name))return this.doBootstrap();window.name=window.name.replace(i,""),this.resumeBootstrap=function(t){return D(t,(function(t){e.push(t)})),this.doBootstrap()},E(this.resumeDeferredBootstrap)&&this.resumeDeferredBootstrap()}injector(t,e){return ge(t,e)}resumeBootstrap(t){return D(t,(t=>{this.bootsrappedModules.push(t)})),this.doBootstrap()}module(t,e,n){const r=mt("$injector");let i={};return X(t,"module"),e&&Object.prototype.hasOwnProperty.call(ve,t)&&(ve[t]=null),function(t,e,n){return t[e]||(t[e]=n())}(ve,t,(()=>{if(!e)throw r("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.",t);const o=[],s=[],a=[],l=u("$injector","invoke","push",s),c={_invokeQueue:o,_configBlocks:s,_runBlocks:a,info(t){if(g(t)){if(!y(t))throw ye("aobj","Argument '{0}' must be an object","value");return i=t,this}return i},requires:e,name:t,provider:h("$provide","provider"),factory:h("$provide","factory"),service:h("$provide","service"),value:u("$provide","value"),constant:u("$provide","constant","unshift"),decorator:h("$provide","decorator",s),animation:h("$animateProvider","register"),filter:h("$filterProvider","register"),controller:h("$controllerProvider","register"),directive:h("$compileProvider","directive"),component:h("$compileProvider","component"),config:l,run(t){return a.push(t),this}};return n&&l(n),c;function u(t,e,n,r){return r||(r=o),function(){return r[n||"push"]([t,e,arguments]),c}}function h(e,n,r){return r||(r=o),function(i,o){return o&&E(o)&&(o.$$moduleName=t),r.push([e,n,arguments]),c}}}))}reloadWithDebugInfo(){window.name=`NG_ENABLE_DEBUG_INFO!${window.name}`,window.location.reload()}},function(){const t=function(t){const e=mt("$injector");function n(t,e,n){return t[e]||(t[e]=n())}const r=n(t,"angular",Object);return r.$$minErr=r.$$minErr||mt,n(r,"module",(()=>{const t={};return function(r,i,o){let s={};return X(r,"module"),i&&Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=null),n(t,r,(()=>{if(!i)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);const t=[],n=[],a=[],l=u("$injector","invoke","push",n),c={_invokeQueue:t,_configBlocks:n,_runBlocks:a,info(t){if(g(t)){if(!y(t))throw ye("aobj","Argument '{0}' must be an object","value");return s=t,this}return s},requires:i,name:r,provider:h("$provide","provider"),factory:h("$provide","factory"),service:h("$provide","service"),value:u("$provide","value"),constant:u("$provide","constant","unshift"),decorator:h("$provide","decorator",n),animation:h("$animateProvider","register"),filter:h("$filterProvider","register"),controller:h("$controllerProvider","register"),directive:h("$compileProvider","directive"),component:h("$compileProvider","component"),config:l,run(t){return a.push(t),this}};return o&&l(o),c;function u(e,n,r,i){return i||(i=t),function(){return i[r||"push"]([e,n,arguments]),c}}function h(e,n,i){return i||(i=t),function(t,o){return o&&E(o)&&(o.$$moduleName=r),i.push([e,n,arguments]),c}}}))}}))}(window),e=t("ng",[],["$provide",function(t){t.provider({$$sanitizeUri:zo}),t.provider("$compile",He).directive({a:Ge,input:Rn,textarea:Rn,form:Qe,script:Fn,select:Wn,option:Gn,ngBind:Kn,ngBindHtml:Jn,ngBindTemplate:Zn,ngClass:Yn,ngClassEven:tr,ngClassOdd:Qn,ngCloak:er,ngController:nr,ngForm:tn,ngHide:sr,ngIf:ar,ngInclude:lr,ngInit:ur,ngNonBindable:hr,ngRef:pr,ngRepeat:$r,ngShow:or,ngStyle:mr,ngSwitch:gr,ngSwitchWhen:yr,ngSwitchDefault:vr,ngOptions:xr,ngTransclude:Er,ngModel:dn,ngList:Or,ngChange:kr,pattern:Tr,ngPattern:Tr,required:Nr,ngRequired:Nr,ngMinlength:Dr,minlength:Dr,ngMaxlength:Mr,maxlength:Mr,ngValue:qn,ngModelOptions:ln}).directive({ngInclude:cr,input:_n}).directive(Ar).directive(Ie),t.provider({$anchorScroll:Pr,$animate:Fr,$animateCss:Wr,$$animateJs:Ur,$$animateQueue:qr,$$AnimateRunner:Jr,$$animateAsyncRun:Zr,$browser:zr,$cacheFactory:Xr,$controller:Oe,$document:Qr,$$isDocumentHidden:ti,$exceptionHandler:ei,$filter:ci,$interpolate:vi,$interval:gi,$$intervalFactory:wi,$http:Pi,$httpParamSerializer:Ai,$httpParamSerializerJQLike:Ni,$httpBackend:Ii,$xhrFactory:Li,$location:Qi,$log:to,$parse:xo,$rootScope:jo,$q:ui,$$q:hi,$sce:Le,$sceDelegate:Pe,$$taskTrackerFactory:Ro,$templateCache:Yr,$templateRequest:qo,$timeout:Bo,$$cookieReader:Kr})}]).info({angularVersion:'"NG_VERSION_FULL"'});window.angular.module("ngAnimate",[]).directive("ngAnimateSwap",Es).directive("ngAnimateChildren",bs).factory("$$rAFScheduler",Cs).provider("$$animateQueue",Ss).provider("$$animateCache",Ds).provider("$$animation",xs).provider("$animateCss",Us).provider("$$animateCssDriver",qs).provider("$$animateJs",Fs).provider("$$animateJsDriver",Hs),Bs(),window.angular.module("ngAria",["ng"]).provider("$aria",Ks).directive("ngShow",["$aria",function(t){return t.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(t){return t.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(t){return t.$$watchExpr("ngValue","aria-checked",Ws,!1)}]).directive("ngChecked",["$aria",function(t){return t.$$watchExpr("ngChecked","aria-checked",Ws,!1)}]).directive("ngReadonly",["$aria",function(t){return t.$$watchExpr("ngReadonly","aria-readonly",Ws,!1)}]).directive("ngRequired",["$aria",function(t){return t.$$watchExpr("ngRequired","aria-required",Ws,!1)}]).directive("ngModel",["$aria",function(t){function e(e,n,r,i){return t.config(n)&&!r.attr(e)&&(i||!Gs(r,Ws))&&("hidden"!==r.attr("type")||"INPUT"!==r[0].nodeName)}function n(t,e){return!e.attr("role")&&e.attr("type")===t&&!Gs(e,Ws)}return{restrict:"A",require:"ngModel",priority:200,compile(r,i){if(Object.prototype.hasOwnProperty.call(i,zs))return;const o=function(t){const{type:e}=t,{role:n}=t;return"checkbox"===(e||n)||"menuitemcheckbox"===n?"checkbox":"radio"===(e||n)||"menuitemradio"===n?"radio":"range"===e||"progressbar"===n||"slider"===n?"range":""}(i);return{post(r,i,s,a){const l=e("tabindex","tabindex",i,!1);function c(){return a.$modelValue}switch(o){case"radio":case"checkbox":n(o,i)&&i.attr("role",o),e("aria-checked","ariaChecked",i,!1)&&r.$watch(c,"radio"===o?function(){i[0].setAttribute("aria-checked",(s.value==a.$viewValue).toString())}:function(){i.attr("aria-checked",(!a.$isEmpty(a.$viewValue)).toString())}),l&&i.attr("tabindex",0);break;case"range":if(n(o,i)&&i.attr("role","slider"),t.config("ariaValue")){const t=!i.attr("aria-valuemin")&&(Object.prototype.hasOwnProperty.call(s,"min")||Object.prototype.hasOwnProperty.call(s,"ngMin")),e=!i.attr("aria-valuemax")&&(Object.prototype.hasOwnProperty.call(s,"max")||Object.prototype.hasOwnProperty.call(s,"ngMax")),n=!i.attr("aria-valuenow");t&&s.$observe("min",(t=>{i.attr("aria-valuemin",t)})),e&&s.$observe("max",(t=>{i.attr("aria-valuemax",t)})),n&&r.$watch(c,(t=>{i.attr("aria-valuenow",t)}))}l&&i.attr("tabindex",0)}!Object.prototype.hasOwnProperty.call(s,"ngRequired")&&a.$validators.required&&e("aria-required","ariaRequired",i,!1)&&s.$observe("required",(()=>{i.attr("aria-required",(!!s.required).toString())})),e("aria-invalid","ariaInvalid",i,!0)&&r.$watch((()=>a.$invalid),(t=>{i.attr("aria-invalid",(!!t).toString())}))}}}}}]).directive("ngDisabled",["$aria",function(t){return t.$$watchExpr("ngDisabled","aria-disabled",Ws,!1)}]).directive("ngMessages",(()=>({restrict:"A",require:"?ngMessages",link(t,e,n){Object.prototype.hasOwnProperty.call(n,zs)||e.attr("aria-live")||e.attr("aria-live","assertive")}}))).directive("ngClick",["$aria","$parse",function(t,e){return{restrict:"A",compile(n,r){if(Object.prototype.hasOwnProperty.call(r,zs))return;const i=e(r.ngClick);return function(e,n,r){Gs(n,Ws)||(t.config("bindRoleForClick")&&!n.attr("role")&&n.attr("role","button"),t.config("tabindex")&&!n.attr("tabindex")&&n.attr("tabindex",0),!t.config("bindKeydown")||r.ngKeydown||r.ngKeypress||r.ngKeyup||n.on("keydown",(t=>{const n=t.which||t.keyCode;13!==n&&32!==n||(-1!==Ws.indexOf(t.target.nodeName)||t.target.isContentEditable||t.preventDefault(),e.$apply((function(){i(e,{$event:t})})))})))}}}}]).directive("ngDblclick",["$aria",function(t){return function(e,n,r){Object.prototype.hasOwnProperty.call(r,zs)||!t.config("tabindex")||n.attr("tabindex")||Gs(n,Ws)||n.attr("tabindex",0)}}])}(),document.addEventListener("DOMContentLoaded",(()=>{we(document)}))}));
|