@ngageoint/mage.web-app 6.5.8 → 6.5.10
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/admin/3rdpartylicenses.txt +309 -1650
- package/admin/index.html +7 -13
- package/admin/main.cb0bc80883aa4afe.js +1 -0
- package/admin/polyfills.46774eb62b7c7a59.js +1 -0
- package/admin/{styles.cca1983eb1421303.css → styles.3041e65d6daa5fd9.css} +2 -2
- package/app/203.0c5c6b6f489c62af.js +1 -0
- package/app/211.f2623d4b041960db.js +1 -0
- package/app/24.b54d606b7fe38c2a.js +1 -0
- package/app/3rdpartylicenses.txt +24 -26
- package/app/440.8511cd78532f4574.js +1 -0
- package/app/452.0982bee5def634f6.js +1 -0
- package/app/530.44d553dfd6ce8fc8.js +1 -0
- package/app/{556.5033ab36ba762f73.js → 556.94001d9d24240c80.js} +1 -1
- package/app/{614.ba133678daaf0cc3.js → 614.ef58b32a915591d7.js} +1 -1
- package/app/943.86324114c9395c19.js +1 -0
- package/app/index.html +3 -3
- package/app/main.cc5f52035feca038.js +1 -0
- package/app/polyfills.8deb6560698273f6.js +1 -0
- package/app/{runtime.cbd43258d4964074.js → runtime.e0964167505b0cf2.js} +1 -1
- package/package.json +2 -2
- package/admin/main.5c734652e18e168e.js +0 -1
- package/admin/polyfills.ebfd5e8553811e2d.js +0 -1
- package/app/142.0745dd3934719d3b.js +0 -1
- package/app/195.1e4997e55f480cbe.js +0 -1
- package/app/24.46e40c525cb998d6.js +0 -1
- package/app/278.49127071e8cd6bde.js +0 -1
- package/app/530.674789f19945632c.js +0 -1
- package/app/829.513177f468e3a3bd.js +0 -1
- package/app/943.de9935d94f916e43.js +0 -1
- package/app/main.e7db44be6deda1bb.js +0 -1
- package/app/polyfills.ed54dbbfb8606c29.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[429],{22061:(Xe,ke,K)=>{"use strict";K(88583),window.global=window,window.process={browser:!0},window.Buffer=window.Buffer||K(93172).lW},5343:(Xe,ke)=>{"use strict";ke.byteLength=function se(g){var L=Y(g),U=L[1];return 3*(L[0]+U)/4-U},ke.toByteArray=function Ee(g){var L,Ie,$=Y(g),U=$[0],Se=$[1],fe=new Pe(function l(g,L,$){return 3*(L+$)/4-$}(0,U,Se)),Ce=0,He=Se>0?U-4:U;for(Ie=0;Ie<He;Ie+=4)L=N[g.charCodeAt(Ie)]<<18|N[g.charCodeAt(Ie+1)]<<12|N[g.charCodeAt(Ie+2)]<<6|N[g.charCodeAt(Ie+3)],fe[Ce++]=L>>16&255,fe[Ce++]=L>>8&255,fe[Ce++]=255&L;return 2===Se&&(L=N[g.charCodeAt(Ie)]<<2|N[g.charCodeAt(Ie+1)]>>4,fe[Ce++]=255&L),1===Se&&(L=N[g.charCodeAt(Ie)]<<10|N[g.charCodeAt(Ie+1)]<<4|N[g.charCodeAt(Ie+2)]>>2,fe[Ce++]=L>>8&255,fe[Ce++]=255&L),fe},ke.fromByteArray=function Ae(g){for(var L,$=g.length,U=$%3,Se=[],Ce=0,He=$-U;Ce<He;Ce+=16383)Se.push(me(g,Ce,Ce+16383>He?He:Ce+16383));return 1===U?Se.push(K[(L=g[$-1])>>2]+K[L<<4&63]+"=="):2===U&&Se.push(K[(L=(g[$-2]<<8)+g[$-1])>>10]+K[L>>4&63]+K[L<<2&63]+"="),Se.join("")};for(var K=[],N=[],Pe=typeof Uint8Array<"u"?Uint8Array:Array,we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ce=0,ue=we.length;ce<ue;++ce)K[ce]=we[ce],N[we.charCodeAt(ce)]=ce;function Y(g){var L=g.length;if(L%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var $=g.indexOf("=");return-1===$&&($=L),[$,$===L?0:4-$%4]}function ae(g){return K[g>>18&63]+K[g>>12&63]+K[g>>6&63]+K[63&g]}function me(g,L,$){for(var Se=[],fe=L;fe<$;fe+=3)Se.push(ae((g[fe]<<16&16711680)+(g[fe+1]<<8&65280)+(255&g[fe+2])));return Se.join("")}N["-".charCodeAt(0)]=62,N["_".charCodeAt(0)]=63},93172:(Xe,ke,K)=>{"use strict";var Pe=K(5343),we=K(48461),ce="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ke.lW=l,ke.h2=50;var ue=2147483647;function se(r){if(r>ue)throw new RangeError('The value "'+r+'" is invalid for option "size"');var e=new Uint8Array(r);return Object.setPrototypeOf(e,l.prototype),e}function l(r,e,t){if("number"==typeof r){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return Ae(r)}return Ee(r,e,t)}function Ee(r,e,t){if("string"==typeof r)return function g(r,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var t=0|He(r,e),n=se(t),s=n.write(r,e);return s!==t&&(n=n.slice(0,s)),n}(r,e);if(ArrayBuffer.isView(r))return function $(r){if(Me(r,Uint8Array)){var e=new Uint8Array(r);return U(e.buffer,e.byteOffset,e.byteLength)}return L(r)}(r);if(null==r)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(Me(r,ArrayBuffer)||r&&Me(r.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Me(r,SharedArrayBuffer)||r&&Me(r.buffer,SharedArrayBuffer)))return U(r,e,t);if("number"==typeof r)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=r.valueOf&&r.valueOf();if(null!=n&&n!==r)return l.from(n,e,t);var s=function Se(r){if(l.isBuffer(r)){var e=0|fe(r.length),t=se(e);return 0===t.length||r.copy(t,0,0,e),t}return void 0!==r.length?"number"!=typeof r.length||at(r.length)?se(0):L(r):"Buffer"===r.type&&Array.isArray(r.data)?L(r.data):void 0}(r);if(s)return s;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof r[Symbol.toPrimitive])return l.from(r[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}function ae(r){if("number"!=typeof r)throw new TypeError('"size" argument must be of type number');if(r<0)throw new RangeError('The value "'+r+'" is invalid for option "size"')}function Ae(r){return ae(r),se(r<0?0:0|fe(r))}function L(r){for(var e=r.length<0?0:0|fe(r.length),t=se(e),n=0;n<e;n+=1)t[n]=255&r[n];return t}function U(r,e,t){if(e<0||r.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===e&&void 0===t?new Uint8Array(r):void 0===t?new Uint8Array(r,e):new Uint8Array(r,e,t),Object.setPrototypeOf(n,l.prototype),n}function fe(r){if(r>=ue)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ue.toString(16)+" bytes");return 0|r}function He(r,e){if(l.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||Me(r,ArrayBuffer))return r.byteLength;if("string"!=typeof r)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var t=r.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===t)return 0;for(var s=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Qe(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return gt(r).length;default:if(s)return n?-1:Qe(r).length;e=(""+e).toLowerCase(),s=!0}}function Ie(r,e,t){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===t||t>this.length)&&(t=this.length),t<=0)||(t>>>=0)<=(e>>>=0))return"";for(r||(r="utf8");;)switch(r){case"hex":return ot(this,e,t);case"utf8":case"utf-8":return ze(this,e,t);case"ascii":return Ze(this,e,t);case"latin1":case"binary":return yt(this,e,t);case"base64":return Be(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kt(this,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),n=!0}}function je(r,e,t){var n=r[e];r[e]=r[t],r[t]=n}function Ye(r,e,t,n,s){if(0===r.length)return-1;if("string"==typeof t?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),at(t=+t)&&(t=s?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(s)return-1;t=r.length-1}else if(t<0){if(!s)return-1;t=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:Je(r,e,t,n,s);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?s?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):Je(r,[e],t,n,s);throw new TypeError("val must be string, number or Buffer")}function Je(r,e,t,n,s){var oe,d=1,E=r.length,j=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(r.length<2||e.length<2)return-1;d=2,E/=2,j/=2,t/=2}function te(Ve,ut){return 1===d?Ve[ut]:Ve.readUInt16BE(ut*d)}if(s){var he=-1;for(oe=t;oe<E;oe++)if(te(r,oe)===te(e,-1===he?0:oe-he)){if(-1===he&&(he=oe),oe-he+1===j)return he*d}else-1!==he&&(oe-=oe-he),he=-1}else for(t+j>E&&(t=E-j),oe=t;oe>=0;oe--){for(var le=!0,tt=0;tt<j;tt++)if(te(r,oe+tt)!==te(e,tt)){le=!1;break}if(le)return oe}return-1}function ft(r,e,t,n){t=Number(t)||0;var s=r.length-t;n?(n=Number(n))>s&&(n=s):n=s;var d=e.length;n>d/2&&(n=d/2);for(var E=0;E<n;++E){var j=parseInt(e.substr(2*E,2),16);if(at(j))return E;r[t+E]=j}return E}function Ke(r,e,t,n){return et(Qe(e,r.length-t),r,t,n)}function ht(r,e,t,n){return et(function xt(r){for(var e=[],t=0;t<r.length;++t)e.push(255&r.charCodeAt(t));return e}(e),r,t,n)}function pt(r,e,t,n){return et(gt(e),r,t,n)}function dt(r,e,t,n){return et(function _t(r,e){for(var t,n,d=[],E=0;E<r.length&&!((e-=2)<0);++E)n=(t=r.charCodeAt(E))>>8,d.push(t%256),d.push(n);return d}(e,r.length-t),r,t,n)}function Be(r,e,t){return Pe.fromByteArray(0===e&&t===r.length?r:r.slice(e,t))}function ze(r,e,t){t=Math.min(r.length,t);for(var n=[],s=e;s<t;){var te,oe,he,le,d=r[s],E=null,j=d>239?4:d>223?3:d>191?2:1;if(s+j<=t)switch(j){case 1:d<128&&(E=d);break;case 2:128==(192&(te=r[s+1]))&&(le=(31&d)<<6|63&te)>127&&(E=le);break;case 3:oe=r[s+2],128==(192&(te=r[s+1]))&&128==(192&oe)&&(le=(15&d)<<12|(63&te)<<6|63&oe)>2047&&(le<55296||le>57343)&&(E=le);break;case 4:oe=r[s+2],he=r[s+3],128==(192&(te=r[s+1]))&&128==(192&oe)&&128==(192&he)&&(le=(15&d)<<18|(63&te)<<12|(63&oe)<<6|63&he)>65535&&le<1114112&&(E=le)}null===E?(E=65533,j=1):E>65535&&(n.push((E-=65536)>>>10&1023|55296),E=56320|1023&E),n.push(E),s+=j}return function vt(r){var e=r.length;if(e<=4096)return String.fromCharCode.apply(String,r);for(var t="",n=0;n<e;)t+=String.fromCharCode.apply(String,r.slice(n,n+=4096));return t}(n)}function Ze(r,e,t){var n="";t=Math.min(r.length,t);for(var s=e;s<t;++s)n+=String.fromCharCode(127&r[s]);return n}function yt(r,e,t){var n="";t=Math.min(r.length,t);for(var s=e;s<t;++s)n+=String.fromCharCode(r[s]);return n}function ot(r,e,t){var n=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>n)&&(t=n);for(var s="",d=e;d<t;++d)s+=ct[r[d]];return s}function kt(r,e,t){for(var n=r.slice(e,t),s="",d=0;d<n.length-1;d+=2)s+=String.fromCharCode(n[d]+256*n[d+1]);return s}function Te(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}function _e(r,e,t,n,s,d){if(!l.isBuffer(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||e<d)throw new RangeError('"value" argument is out of bounds');if(t+n>r.length)throw new RangeError("Index out of range")}function Et(r,e,t,n,s,d){if(t+n>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function De(r,e,t,n,s){return e=+e,t>>>=0,s||Et(r,0,t,4),we.write(r,e,t,n,23,4),t+4}function it(r,e,t,n,s){return e=+e,t>>>=0,s||Et(r,0,t,8),we.write(r,e,t,n,52,8),t+8}!(l.TYPED_ARRAY_SUPPORT=function Y(){try{var r=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(r,e),42===r.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(r,e,t){return Ee(r,e,t)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(r,e,t){return function me(r,e,t){return ae(r),r<=0?se(r):void 0!==e?"string"==typeof t?se(r).fill(e,t):se(r).fill(e):se(r)}(r,e,t)},l.allocUnsafe=function(r){return Ae(r)},l.allocUnsafeSlow=function(r){return Ae(r)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(Me(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),Me(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,s=t.length,d=0,E=Math.min(n,s);d<E;++d)if(e[d]!==t[d]){n=e[d],s=t[d];break}return n<s?-1:s<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var s=l.allocUnsafe(t),d=0;for(n=0;n<e.length;++n){var E=e[n];if(Me(E,Uint8Array))d+E.length>s.length?l.from(E).copy(s,d):Uint8Array.prototype.set.call(s,E,d);else{if(!l.isBuffer(E))throw new TypeError('"list" argument must be an Array of Buffers');E.copy(s,d)}d+=E.length}return s},l.byteLength=He,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)je(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)je(this,t,t+3),je(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)je(this,t,t+7),je(this,t+1,t+6),je(this,t+2,t+5),je(this,t+3,t+4);return this},l.prototype.toLocaleString=l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?ze(this,0,e):Ie.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",t=ke.h2;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},ce&&(l.prototype[ce]=l.prototype.inspect),l.prototype.compare=function(e,t,n,s,d){if(Me(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===s&&(s=0),void 0===d&&(d=this.length),t<0||n>e.length||s<0||d>this.length)throw new RangeError("out of range index");if(s>=d&&t>=n)return 0;if(s>=d)return-1;if(t>=n)return 1;if(this===e)return 0;for(var E=(d>>>=0)-(s>>>=0),j=(n>>>=0)-(t>>>=0),te=Math.min(E,j),oe=this.slice(s,d),he=e.slice(t,n),le=0;le<te;++le)if(oe[le]!==he[le]){E=oe[le],j=he[le];break}return E<j?-1:j<E?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return Ye(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return Ye(this,e,t,n,!1)},l.prototype.write=function(e,t,n,s){if(void 0===t)s="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)s=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===s&&(s="utf8")):(s=n,n=void 0)}var d=this.length-t;if((void 0===n||n>d)&&(n=d),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var E=!1;;)switch(s){case"hex":return ft(this,e,t,n);case"utf8":case"utf-8":return Ke(this,e,t,n);case"ascii":case"latin1":case"binary":return ht(this,e,t,n);case"base64":return pt(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return dt(this,e,t,n);default:if(E)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),E=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var s=this.subarray(e,t);return Object.setPrototypeOf(s,l.prototype),s},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=this[e],d=1,E=0;++E<t&&(d*=256);)s+=this[e+E]*d;return s},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=this[e+--t],d=1;t>0&&(d*=256);)s+=this[e+--t]*d;return s},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||Te(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||Te(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||Te(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||Te(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||Te(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=this[e],d=1,E=0;++E<t&&(d*=256);)s+=this[e+E]*d;return s>=(d*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Te(e,t,this.length);for(var s=t,d=1,E=this[e+--s];s>0&&(d*=256);)E+=this[e+--s]*d;return E>=(d*=128)&&(E-=Math.pow(2,8*t)),E},l.prototype.readInt8=function(e,t){return e>>>=0,t||Te(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||Te(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||Te(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||Te(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||Te(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||Te(e,4,this.length),we.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||Te(e,4,this.length),we.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||Te(e,8,this.length),we.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||Te(e,8,this.length),we.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,s){e=+e,t>>>=0,n>>>=0,s||_e(this,e,t,n,Math.pow(2,8*n)-1,0);var E=1,j=0;for(this[t]=255&e;++j<n&&(E*=256);)this[t+j]=e/E&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,s){e=+e,t>>>=0,n>>>=0,s||_e(this,e,t,n,Math.pow(2,8*n)-1,0);var E=n-1,j=1;for(this[t+E]=255&e;--E>=0&&(j*=256);)this[t+E]=e/j&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,s){if(e=+e,t>>>=0,!s){var d=Math.pow(2,8*n-1);_e(this,e,t,n,d-1,-d)}var E=0,j=1,te=0;for(this[t]=255&e;++E<n&&(j*=256);)e<0&&0===te&&0!==this[t+E-1]&&(te=1),this[t+E]=(e/j>>0)-te&255;return t+n},l.prototype.writeIntBE=function(e,t,n,s){if(e=+e,t>>>=0,!s){var d=Math.pow(2,8*n-1);_e(this,e,t,n,d-1,-d)}var E=n-1,j=1,te=0;for(this[t+E]=255&e;--E>=0&&(j*=256);)e<0&&0===te&&0!==this[t+E+1]&&(te=1),this[t+E]=(e/j>>0)-te&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||_e(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return De(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return De(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return it(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return it(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,s){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!s&&0!==s&&(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<n&&(s=n),s===n||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-n&&(s=e.length-t+n);var d=s-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,s):Uint8Array.prototype.set.call(e,this.subarray(n,s),t),d},l.prototype.fill=function(e,t,n,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,n=this.length):"string"==typeof n&&(s=n,n=this.length),void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!l.isEncoding(s))throw new TypeError("Unknown encoding: "+s);if(1===e.length){var d=e.charCodeAt(0);("utf8"===s&&d<128||"latin1"===s)&&(e=d)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var E;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(E=t;E<n;++E)this[E]=e;else{var j=l.isBuffer(e)?e:l.from(e,s),te=j.length;if(0===te)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(E=0;E<n-t;++E)this[E+t]=j[E%te]}return this};var mt=/[^+/0-9A-Za-z-_]/g;function Qe(r,e){e=e||1/0;for(var t,n=r.length,s=null,d=[],E=0;E<n;++E){if((t=r.charCodeAt(E))>55295&&t<57344){if(!s){if(t>56319){(e-=3)>-1&&d.push(239,191,189);continue}if(E+1===n){(e-=3)>-1&&d.push(239,191,189);continue}s=t;continue}if(t<56320){(e-=3)>-1&&d.push(239,191,189),s=t;continue}t=65536+(s-55296<<10|t-56320)}else s&&(e-=3)>-1&&d.push(239,191,189);if(s=null,t<128){if((e-=1)<0)break;d.push(t)}else if(t<2048){if((e-=2)<0)break;d.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;d.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;d.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return d}function gt(r){return Pe.toByteArray(function st(r){if((r=(r=r.split("=")[0]).trim().replace(mt,"")).length<2)return"";for(;r.length%4!=0;)r+="=";return r}(r))}function et(r,e,t,n){for(var s=0;s<n&&!(s+t>=e.length||s>=r.length);++s)e[s+t]=r[s];return s}function Me(r,e){return r instanceof e||null!=r&&null!=r.constructor&&null!=r.constructor.name&&r.constructor.name===e.name}function at(r){return r!=r}var ct=function(){for(var r="0123456789abcdef",e=new Array(256),t=0;t<16;++t)for(var n=16*t,s=0;s<16;++s)e[n+s]=r[t]+r[s];return e}()},48461:(Xe,ke)=>{ke.read=function(K,N,Pe,we,ce){var ue,Y,se=8*ce-we-1,l=(1<<se)-1,Ee=l>>1,ae=-7,me=Pe?ce-1:0,Ae=Pe?-1:1,g=K[N+me];for(me+=Ae,ue=g&(1<<-ae)-1,g>>=-ae,ae+=se;ae>0;ue=256*ue+K[N+me],me+=Ae,ae-=8);for(Y=ue&(1<<-ae)-1,ue>>=-ae,ae+=we;ae>0;Y=256*Y+K[N+me],me+=Ae,ae-=8);if(0===ue)ue=1-Ee;else{if(ue===l)return Y?NaN:1/0*(g?-1:1);Y+=Math.pow(2,we),ue-=Ee}return(g?-1:1)*Y*Math.pow(2,ue-we)},ke.write=function(K,N,Pe,we,ce,ue){var Y,se,l,Ee=8*ue-ce-1,ae=(1<<Ee)-1,me=ae>>1,Ae=23===ce?Math.pow(2,-24)-Math.pow(2,-77):0,g=we?0:ue-1,L=we?1:-1,$=N<0||0===N&&1/N<0?1:0;for(N=Math.abs(N),isNaN(N)||N===1/0?(se=isNaN(N)?1:0,Y=ae):(Y=Math.floor(Math.log(N)/Math.LN2),N*(l=Math.pow(2,-Y))<1&&(Y--,l*=2),(N+=Y+me>=1?Ae/l:Ae*Math.pow(2,1-me))*l>=2&&(Y++,l/=2),Y+me>=ae?(se=0,Y=ae):Y+me>=1?(se=(N*l-1)*Math.pow(2,ce),Y+=me):(se=N*Math.pow(2,me-1)*Math.pow(2,ce),Y=0));ce>=8;K[Pe+g]=255&se,g+=L,se/=256,ce-=8);for(Y=Y<<ce|se,Ee+=ce;Ee>0;K[Pe+g]=255&Y,g+=L,Y/=256,Ee-=8);K[Pe+g-L]|=128*$}},88583:()=>{"use strict";!function(o){const a=o.performance;function h(z){a&&a.mark&&a.mark(z)}function c(z,x){a&&a.measure&&a.measure(z,x)}h("Zone");const p=o.__Zone_symbol_prefix||"__zone_symbol__";function _(z){return p+z}const w=!0===o[_("forceDuplicateZoneCheck")];if(o.Zone){if(w||"function"!=typeof o.Zone.__symbol__)throw new Error("Zone already loaded.");return o.Zone}let k=(()=>{class z{constructor(i,u){this._parent=i,this._name=u?u.name||"unnamed":"<root>",this._properties=u&&u.properties||{},this._zoneDelegate=new I(this,this._parent&&this._parent._zoneDelegate,u)}static assertZonePatched(){if(o.Promise!==Fe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let i=z.current;for(;i.parent;)i=i.parent;return i}static get current(){return ne.zone}static get currentTask(){return Oe}static __load_patch(i,u,R=!1){if(Fe.hasOwnProperty(i)){if(!R&&w)throw Error("Already loaded patch: "+i)}else if(!o["__Zone_disable_"+i]){const B="Zone:"+i;h(B),Fe[i]=u(o,z,We),c(B,B)}}get parent(){return this._parent}get name(){return this._name}get(i){const u=this.getZoneWith(i);if(u)return u._properties[i]}getZoneWith(i){let u=this;for(;u;){if(u._properties.hasOwnProperty(i))return u;u=u._parent}return null}fork(i){if(!i)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,i)}wrap(i,u){if("function"!=typeof i)throw new Error("Expecting function got: "+i);const R=this._zoneDelegate.intercept(this,i,u),B=this;return function(){return B.runGuarded(R,this,arguments,u)}}run(i,u,R,B){ne={parent:ne,zone:this};try{return this._zoneDelegate.invoke(this,i,u,R,B)}finally{ne=ne.parent}}runGuarded(i,u=null,R,B){ne={parent:ne,zone:this};try{try{return this._zoneDelegate.invoke(this,i,u,R,B)}catch(Re){if(this._zoneDelegate.handleError(this,Re))throw Re}}finally{ne=ne.parent}}runTask(i,u,R){if(i.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(i.zone||ie).name+"; Execution: "+this.name+")");if(i.state===Q&&(i.type===M||i.type===X))return;const B=i.state!=xe;B&&i._transitionTo(xe,V),i.runCount++;const Re=Oe;Oe=i,ne={parent:ne,zone:this};try{i.type==X&&i.data&&!i.data.isPeriodic&&(i.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,i,u,R)}catch(m){if(this._zoneDelegate.handleError(this,m))throw m}}finally{i.state!==Q&&i.state!==be&&(i.type==M||i.data&&i.data.isPeriodic?B&&i._transitionTo(V,xe):(i.runCount=0,this._updateTaskCount(i,-1),B&&i._transitionTo(Q,xe,Q))),ne=ne.parent,Oe=Re}}scheduleTask(i){if(i.zone&&i.zone!==this){let R=this;for(;R;){if(R===i.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${i.zone.name}`);R=R.parent}}i._transitionTo(ve,Q);const u=[];i._zoneDelegates=u,i._zone=this;try{i=this._zoneDelegate.scheduleTask(this,i)}catch(R){throw i._transitionTo(be,ve,Q),this._zoneDelegate.handleError(this,R),R}return i._zoneDelegates===u&&this._updateTaskCount(i,1),i.state==ve&&i._transitionTo(V,ve),i}scheduleMicroTask(i,u,R,B){return this.scheduleTask(new b(D,i,u,R,B,void 0))}scheduleMacroTask(i,u,R,B,Re){return this.scheduleTask(new b(X,i,u,R,B,Re))}scheduleEventTask(i,u,R,B,Re){return this.scheduleTask(new b(M,i,u,R,B,Re))}cancelTask(i){if(i.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(i.zone||ie).name+"; Execution: "+this.name+")");i._transitionTo(J,V,xe);try{this._zoneDelegate.cancelTask(this,i)}catch(u){throw i._transitionTo(be,J),this._zoneDelegate.handleError(this,u),u}return this._updateTaskCount(i,-1),i._transitionTo(Q,J),i.runCount=0,i}_updateTaskCount(i,u){const R=i._zoneDelegates;-1==u&&(i._zoneDelegates=null);for(let B=0;B<R.length;B++)R[B]._updateTaskCount(i.type,u)}}return z.__symbol__=_,z})();const A={name:"",onHasTask:(z,x,i,u)=>z.hasTask(i,u),onScheduleTask:(z,x,i,u)=>z.scheduleTask(i,u),onInvokeTask:(z,x,i,u,R,B)=>z.invokeTask(i,u,R,B),onCancelTask:(z,x,i,u)=>z.cancelTask(i,u)};class I{constructor(x,i,u){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=x,this._parentDelegate=i,this._forkZS=u&&(u&&u.onFork?u:i._forkZS),this._forkDlgt=u&&(u.onFork?i:i._forkDlgt),this._forkCurrZone=u&&(u.onFork?this.zone:i._forkCurrZone),this._interceptZS=u&&(u.onIntercept?u:i._interceptZS),this._interceptDlgt=u&&(u.onIntercept?i:i._interceptDlgt),this._interceptCurrZone=u&&(u.onIntercept?this.zone:i._interceptCurrZone),this._invokeZS=u&&(u.onInvoke?u:i._invokeZS),this._invokeDlgt=u&&(u.onInvoke?i:i._invokeDlgt),this._invokeCurrZone=u&&(u.onInvoke?this.zone:i._invokeCurrZone),this._handleErrorZS=u&&(u.onHandleError?u:i._handleErrorZS),this._handleErrorDlgt=u&&(u.onHandleError?i:i._handleErrorDlgt),this._handleErrorCurrZone=u&&(u.onHandleError?this.zone:i._handleErrorCurrZone),this._scheduleTaskZS=u&&(u.onScheduleTask?u:i._scheduleTaskZS),this._scheduleTaskDlgt=u&&(u.onScheduleTask?i:i._scheduleTaskDlgt),this._scheduleTaskCurrZone=u&&(u.onScheduleTask?this.zone:i._scheduleTaskCurrZone),this._invokeTaskZS=u&&(u.onInvokeTask?u:i._invokeTaskZS),this._invokeTaskDlgt=u&&(u.onInvokeTask?i:i._invokeTaskDlgt),this._invokeTaskCurrZone=u&&(u.onInvokeTask?this.zone:i._invokeTaskCurrZone),this._cancelTaskZS=u&&(u.onCancelTask?u:i._cancelTaskZS),this._cancelTaskDlgt=u&&(u.onCancelTask?i:i._cancelTaskDlgt),this._cancelTaskCurrZone=u&&(u.onCancelTask?this.zone:i._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const R=u&&u.onHasTask;(R||i&&i._hasTaskZS)&&(this._hasTaskZS=R?u:A,this._hasTaskDlgt=i,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=x,u.onScheduleTask||(this._scheduleTaskZS=A,this._scheduleTaskDlgt=i,this._scheduleTaskCurrZone=this.zone),u.onInvokeTask||(this._invokeTaskZS=A,this._invokeTaskDlgt=i,this._invokeTaskCurrZone=this.zone),u.onCancelTask||(this._cancelTaskZS=A,this._cancelTaskDlgt=i,this._cancelTaskCurrZone=this.zone))}fork(x,i){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,x,i):new k(x,i)}intercept(x,i,u){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,x,i,u):i}invoke(x,i,u,R,B){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,x,i,u,R,B):i.apply(u,R)}handleError(x,i){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,x,i)}scheduleTask(x,i){let u=i;if(this._scheduleTaskZS)this._hasTaskZS&&u._zoneDelegates.push(this._hasTaskDlgtOwner),u=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,x,i),u||(u=i);else if(i.scheduleFn)i.scheduleFn(i);else{if(i.type!=D)throw new Error("Task is missing scheduleFn.");v(i)}return u}invokeTask(x,i,u,R){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,x,i,u,R):i.callback.apply(u,R)}cancelTask(x,i){let u;if(this._cancelTaskZS)u=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,x,i);else{if(!i.cancelFn)throw Error("Task is not cancelable");u=i.cancelFn(i)}return u}hasTask(x,i){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,x,i)}catch(u){this.handleError(x,u)}}_updateTaskCount(x,i){const u=this._taskCounts,R=u[x],B=u[x]=R+i;if(B<0)throw new Error("More tasks executed then were scheduled.");0!=R&&0!=B||this.hasTask(this.zone,{microTask:u.microTask>0,macroTask:u.macroTask>0,eventTask:u.eventTask>0,change:x})}}class b{constructor(x,i,u,R,B,Re){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=x,this.source=i,this.data=R,this.scheduleFn=B,this.cancelFn=Re,!u)throw new Error("callback is not defined");this.callback=u;const m=this;this.invoke=x===M&&R&&R.useG?b.invokeTask:function(){return b.invokeTask.call(o,m,this,arguments)}}static invokeTask(x,i,u){x||(x=this),Ue++;try{return x.runCount++,x.zone.runTask(x,i,u)}finally{1==Ue&&q(),Ue--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Q,ve)}_transitionTo(x,i,u){if(this._state!==i&&this._state!==u)throw new Error(`${this.type} '${this.source}': can not transition to '${x}', expecting state '${i}'${u?" or '"+u+"'":""}, was '${this._state}'.`);this._state=x,x==Q&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const G=_("setTimeout"),H=_("Promise"),W=_("then");let C,pe=[],re=!1;function v(z){if(0===Ue&&0===pe.length)if(C||o[H]&&(C=o[H].resolve(0)),C){let x=C[W];x||(x=C.then),x.call(C,q)}else o[G](q,0);z&&pe.push(z)}function q(){if(!re){for(re=!0;pe.length;){const z=pe;pe=[];for(let x=0;x<z.length;x++){const i=z[x];try{i.zone.runTask(i,null,null)}catch(u){We.onUnhandledError(u)}}}We.microtaskDrainDone(),re=!1}}const ie={name:"NO ZONE"},Q="notScheduled",ve="scheduling",V="scheduled",xe="running",J="canceling",be="unknown",D="microTask",X="macroTask",M="eventTask",Fe={},We={symbol:_,currentZoneFrame:()=>ne,onUnhandledError:de,microtaskDrainDone:de,scheduleMicroTask:v,showUncaughtError:()=>!k[_("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:de,patchMethod:()=>de,bindArguments:()=>[],patchThen:()=>de,patchMacroTask:()=>de,patchEventPrototype:()=>de,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>de,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>de,wrapWithCurrentZone:()=>de,filterProperties:()=>[],attachOriginToPatched:()=>de,_redefineProperty:()=>de,patchCallbacks:()=>de};let ne={parent:null,zone:new k(null,null)},Oe=null,Ue=0;function de(){}c("Zone","Zone"),o.Zone=k}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ke=Object.getOwnPropertyDescriptor,K=Object.defineProperty,N=Object.getPrototypeOf,Pe=Object.create,we=Array.prototype.slice,ce="addEventListener",ue="removeEventListener",Y=Zone.__symbol__(ce),se=Zone.__symbol__(ue),l="true",Ee="false",ae=Zone.__symbol__("");function me(o,a){return Zone.current.wrap(o,a)}function Ae(o,a,h,c,p){return Zone.current.scheduleMacroTask(o,a,h,c,p)}const g=Zone.__symbol__,L=typeof window<"u",$=L?window:void 0,U=L&&$||"object"==typeof self&&self||global,fe=[null];function Ce(o,a){for(let h=o.length-1;h>=0;h--)"function"==typeof o[h]&&(o[h]=me(o[h],a+"_"+h));return o}function Ie(o){return!o||!1!==o.writable&&!("function"==typeof o.get&&typeof o.set>"u")}const je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ye=!("nw"in U)&&typeof U.process<"u"&&"[object process]"==={}.toString.call(U.process),Je=!Ye&&!je&&!(!L||!$.HTMLElement),ft=typeof U.process<"u"&&"[object process]"==={}.toString.call(U.process)&&!je&&!(!L||!$.HTMLElement),Ke={},ht=function(o){if(!(o=o||U.event))return;let a=Ke[o.type];a||(a=Ke[o.type]=g("ON_PROPERTY"+o.type));const h=this||o.target||U,c=h[a];let p;if(Je&&h===$&&"error"===o.type){const _=o;p=c&&c.call(this,_.message,_.filename,_.lineno,_.colno,_.error),!0===p&&o.preventDefault()}else p=c&&c.apply(this,arguments),null!=p&&!p&&o.preventDefault();return p};function pt(o,a,h){let c=ke(o,a);if(!c&&h&&ke(h,a)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const p=g("on"+a+"patched");if(o.hasOwnProperty(p)&&o[p])return;delete c.writable,delete c.value;const _=c.get,w=c.set,k=a.substr(2);let A=Ke[k];A||(A=Ke[k]=g("ON_PROPERTY"+k)),c.set=function(I){let b=this;!b&&o===U&&(b=U),b&&(b[A]&&b.removeEventListener(k,ht),w&&w.apply(b,fe),"function"==typeof I?(b[A]=I,b.addEventListener(k,ht,!1)):b[A]=null)},c.get=function(){let I=this;if(!I&&o===U&&(I=U),!I)return null;const b=I[A];if(b)return b;if(_){let G=_&&_.call(this);if(G)return c.set.call(this,G),"function"==typeof I.removeAttribute&&I.removeAttribute(a),G}return null},K(o,a,c),o[p]=!0}function dt(o,a,h){if(a)for(let c=0;c<a.length;c++)pt(o,"on"+a[c],h);else{const c=[];for(const p in o)"on"==p.substr(0,2)&&c.push(p);for(let p=0;p<c.length;p++)pt(o,c[p],h)}}const Be=g("originalInstance");function ze(o){const a=U[o];if(!a)return;U[g(o)]=a,U[o]=function(){const p=Ce(arguments,o);switch(p.length){case 0:this[Be]=new a;break;case 1:this[Be]=new a(p[0]);break;case 2:this[Be]=new a(p[0],p[1]);break;case 3:this[Be]=new a(p[0],p[1],p[2]);break;case 4:this[Be]=new a(p[0],p[1],p[2],p[3]);break;default:throw new Error("Arg list too long.")}},Ze(U[o],a);const h=new a(function(){});let c;for(c in h)"XMLHttpRequest"===o&&"responseBlob"===c||function(p){"function"==typeof h[p]?U[o].prototype[p]=function(){return this[Be][p].apply(this[Be],arguments)}:K(U[o].prototype,p,{set:function(_){"function"==typeof _?(this[Be][p]=me(_,o+"."+p),Ze(this[Be][p],_)):this[Be][p]=_},get:function(){return this[Be][p]}})}(c);for(c in a)"prototype"!==c&&a.hasOwnProperty(c)&&(U[o][c]=a[c])}function Le(o,a,h){let c=o;for(;c&&!c.hasOwnProperty(a);)c=N(c);!c&&o[a]&&(c=o);const p=g(a);let _=null;if(c&&(!(_=c[p])||!c.hasOwnProperty(p))&&(_=c[p]=c[a],Ie(c&&ke(c,a)))){const k=h(_,p,a);c[a]=function(){return k(this,arguments)},Ze(c[a],_)}return _}function vt(o,a,h){let c=null;function p(_){const w=_.data;return w.args[w.cbIdx]=function(){_.invoke.apply(this,arguments)},c.apply(w.target,w.args),_}c=Le(o,a,_=>function(w,k){const A=h(w,k);return A.cbIdx>=0&&"function"==typeof k[A.cbIdx]?Ae(A.name,k[A.cbIdx],A,p):_.apply(w,k)})}function Ze(o,a){o[g("OriginalDelegate")]=a}let yt=!1,ot=!1;function Te(){if(yt)return ot;yt=!0;try{const o=$.navigator.userAgent;(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/")||-1!==o.indexOf("Edge/"))&&(ot=!0)}catch{}return ot}Zone.__load_patch("ZoneAwarePromise",(o,a,h)=>{const c=Object.getOwnPropertyDescriptor,p=Object.defineProperty,w=h.symbol,k=[],A=!0===o[w("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],I=w("Promise"),b=w("then");h.onUnhandledError=m=>{if(h.showUncaughtError()){const f=m&&m.rejection;f?console.error("Unhandled Promise rejection:",f instanceof Error?f.message:f,"; Zone:",m.zone.name,"; Task:",m.task&&m.task.source,"; Value:",f,f instanceof Error?f.stack:void 0):console.error(m)}},h.microtaskDrainDone=()=>{for(;k.length;){const m=k.shift();try{m.zone.runGuarded(()=>{throw m.throwOriginal?m.rejection:m})}catch(f){W(f)}}};const H=w("unhandledPromiseRejectionHandler");function W(m){h.onUnhandledError(m);try{const f=a[H];"function"==typeof f&&f.call(this,m)}catch{}}function pe(m){return m&&m.then}function re(m){return m}function C(m){return i.reject(m)}const v=w("state"),q=w("value"),ie=w("finally"),Q=w("parentPromiseValue"),ve=w("parentPromiseState"),xe=null,J=!0,be=!1;function X(m,f){return y=>{try{ne(m,f,y)}catch(T){ne(m,!1,T)}}}const We=w("currentTaskTrace");function ne(m,f,y){const T=function(){let m=!1;return function(y){return function(){m||(m=!0,y.apply(null,arguments))}}}();if(m===y)throw new TypeError("Promise resolved with itself");if(m[v]===xe){let P=null;try{("object"==typeof y||"function"==typeof y)&&(P=y&&y.then)}catch(O){return T(()=>{ne(m,!1,O)})(),m}if(f!==be&&y instanceof i&&y.hasOwnProperty(v)&&y.hasOwnProperty(q)&&y[v]!==xe)Ue(y),ne(m,y[v],y[q]);else if(f!==be&&"function"==typeof P)try{P.call(y,T(X(m,f)),T(X(m,!1)))}catch(O){T(()=>{ne(m,!1,O)})()}else{m[v]=f;const O=m[q];if(m[q]=y,m[ie]===ie&&f===J&&(m[v]=m[ve],m[q]=m[Q]),f===be&&y instanceof Error){const S=a.currentTask&&a.currentTask.data&&a.currentTask.data.__creationTrace__;S&&p(y,We,{configurable:!0,enumerable:!1,writable:!0,value:S})}for(let S=0;S<O.length;)de(m,O[S++],O[S++],O[S++],O[S++]);if(0==O.length&&f==be){m[v]=0;let S=y;try{throw new Error("Uncaught (in promise): "+function _(m){return m&&m.toString===Object.prototype.toString?(m.constructor&&m.constructor.name||"")+": "+JSON.stringify(m):m?m.toString():Object.prototype.toString.call(m)}(y)+(y&&y.stack?"\n"+y.stack:""))}catch(F){S=F}A&&(S.throwOriginal=!0),S.rejection=y,S.promise=m,S.zone=a.current,S.task=a.currentTask,k.push(S),h.scheduleMicroTask()}}}return m}const Oe=w("rejectionHandledHandler");function Ue(m){if(0===m[v]){try{const f=a[Oe];f&&"function"==typeof f&&f.call(this,{rejection:m[q],promise:m})}catch{}m[v]=be;for(let f=0;f<k.length;f++)m===k[f].promise&&k.splice(f,1)}}function de(m,f,y,T,P){Ue(m);const O=m[v],S=O?"function"==typeof T?T:re:"function"==typeof P?P:C;f.scheduleMicroTask("Promise.then",()=>{try{const F=m[q],Z=!!y&&ie===y[ie];Z&&(y[Q]=F,y[ve]=O);const ee=f.run(S,void 0,Z&&S!==C&&S!==re?[]:[F]);ne(y,!0,ee)}catch(F){ne(y,!1,F)}},y)}const x=function(){};class i{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(f){return ne(new this(null),J,f)}static reject(f){return ne(new this(null),be,f)}static race(f){let y,T,P=new this((F,Z)=>{y=F,T=Z});function O(F){y(F)}function S(F){T(F)}for(let F of f)pe(F)||(F=this.resolve(F)),F.then(O,S);return P}static all(f){return i.allWithCallback(f)}static allSettled(f){return(this&&this.prototype instanceof i?this:i).allWithCallback(f,{thenCallback:T=>({status:"fulfilled",value:T}),errorCallback:T=>({status:"rejected",reason:T})})}static allWithCallback(f,y){let T,P,O=new this((ee,ye)=>{T=ee,P=ye}),S=2,F=0;const Z=[];for(let ee of f){pe(ee)||(ee=this.resolve(ee));const ye=F;try{ee.then(Ne=>{Z[ye]=y?y.thenCallback(Ne):Ne,S--,0===S&&T(Z)},Ne=>{y?(Z[ye]=y.errorCallback(Ne),S--,0===S&&T(Z)):P(Ne)})}catch(Ne){P(Ne)}S++,F++}return S-=2,0===S&&T(Z),O}constructor(f){const y=this;if(!(y instanceof i))throw new Error("Must be an instanceof Promise.");y[v]=xe,y[q]=[];try{f&&f(X(y,J),X(y,be))}catch(T){ne(y,!1,T)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return i}then(f,y){let T=this.constructor[Symbol.species];(!T||"function"!=typeof T)&&(T=this.constructor||i);const P=new T(x),O=a.current;return this[v]==xe?this[q].push(O,P,f,y):de(this,O,P,f,y),P}catch(f){return this.then(null,f)}finally(f){let y=this.constructor[Symbol.species];(!y||"function"!=typeof y)&&(y=i);const T=new y(x);T[ie]=ie;const P=a.current;return this[v]==xe?this[q].push(P,T,f,f):de(this,P,T,f,f),T}}i.resolve=i.resolve,i.reject=i.reject,i.race=i.race,i.all=i.all;const u=o[I]=o.Promise;o.Promise=i;const R=w("thenPatched");function B(m){const f=m.prototype,y=c(f,"then");if(y&&(!1===y.writable||!y.configurable))return;const T=f.then;f[b]=T,m.prototype.then=function(P,O){return new i((F,Z)=>{T.call(this,F,Z)}).then(P,O)},m[R]=!0}return h.patchThen=B,u&&(B(u),Le(o,"fetch",m=>function Re(m){return function(f,y){let T=m.apply(f,y);if(T instanceof i)return T;let P=T.constructor;return P[R]||B(P),T}}(m))),Promise[a.__symbol__("uncaughtPromiseErrors")]=k,i}),Zone.__load_patch("toString",o=>{const a=Function.prototype.toString,h=g("OriginalDelegate"),c=g("Promise"),p=g("Error"),_=function(){if("function"==typeof this){const I=this[h];if(I)return"function"==typeof I?a.call(I):Object.prototype.toString.call(I);if(this===Promise){const b=o[c];if(b)return a.call(b)}if(this===Error){const b=o[p];if(b)return a.call(b)}}return a.call(this)};_[h]=a,Function.prototype.toString=_;const w=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":w.call(this)}});let _e=!1;if(typeof window<"u")try{const o=Object.defineProperty({},"passive",{get:function(){_e=!0}});window.addEventListener("test",o,o),window.removeEventListener("test",o,o)}catch{_e=!1}const Et={useG:!0},De={},it={},mt=new RegExp("^"+ae+"(\\w+)(true|false)$"),st=g("propagationStopped");function Qe(o,a){const h=(a?a(o):o)+Ee,c=(a?a(o):o)+l,p=ae+h,_=ae+c;De[o]={},De[o][Ee]=p,De[o][l]=_}function xt(o,a,h){const c=h&&h.add||ce,p=h&&h.rm||ue,_=h&&h.listeners||"eventListeners",w=h&&h.rmAll||"removeAllListeners",k=g(c),A="."+c+":",G=function(C,v,q){if(C.isRemoved)return;const ie=C.callback;"object"==typeof ie&&ie.handleEvent&&(C.callback=ve=>ie.handleEvent(ve),C.originalDelegate=ie),C.invoke(C,v,[q]);const Q=C.options;Q&&"object"==typeof Q&&Q.once&&v[p].call(v,q.type,C.originalDelegate?C.originalDelegate:C.callback,Q)},H=function(C){if(!(C=C||o.event))return;const v=this||C.target||o,q=v[De[C.type][Ee]];if(q)if(1===q.length)G(q[0],v,C);else{const ie=q.slice();for(let Q=0;Q<ie.length&&(!C||!0!==C[st]);Q++)G(ie[Q],v,C)}},W=function(C){if(!(C=C||o.event))return;const v=this||C.target||o,q=v[De[C.type][l]];if(q)if(1===q.length)G(q[0],v,C);else{const ie=q.slice();for(let Q=0;Q<ie.length&&(!C||!0!==C[st]);Q++)G(ie[Q],v,C)}};function pe(C,v){if(!C)return!1;let q=!0;v&&void 0!==v.useG&&(q=v.useG);const ie=v&&v.vh;let Q=!0;v&&void 0!==v.chkDup&&(Q=v.chkDup);let ve=!1;v&&void 0!==v.rt&&(ve=v.rt);let V=C;for(;V&&!V.hasOwnProperty(c);)V=N(V);if(!V&&C[c]&&(V=C),!V||V[k])return!1;const xe=v&&v.eventNameToString,J={},be=V[k]=V[c],D=V[g(p)]=V[p],X=V[g(_)]=V[_],M=V[g(w)]=V[w];let Fe;function We(f,y){return!_e&&"object"==typeof f&&f?!!f.capture:_e&&y?"boolean"==typeof f?{capture:f,passive:!0}:f?"object"==typeof f&&!1!==f.passive?Object.assign(Object.assign({},f),{passive:!0}):f:{passive:!0}:f}v&&v.prepend&&(Fe=V[g(v.prepend)]=V[v.prepend]);const x=q?function(f){if(!J.isExisting)return be.call(J.target,J.eventName,J.capture?W:H,J.options)}:function(f){return be.call(J.target,J.eventName,f.invoke,J.options)},i=q?function(f){if(!f.isRemoved){const y=De[f.eventName];let T;y&&(T=y[f.capture?l:Ee]);const P=T&&f.target[T];if(P)for(let O=0;O<P.length;O++)if(P[O]===f){P.splice(O,1),f.isRemoved=!0,0===P.length&&(f.allRemoved=!0,f.target[T]=null);break}}if(f.allRemoved)return D.call(f.target,f.eventName,f.capture?W:H,f.options)}:function(f){return D.call(f.target,f.eventName,f.invoke,f.options)},R=v&&v.diff?v.diff:function(f,y){const T=typeof y;return"function"===T&&f.callback===y||"object"===T&&f.originalDelegate===y},B=Zone[g("UNPATCHED_EVENTS")],Re=o[g("PASSIVE_EVENTS")],m=function(f,y,T,P,O=!1,S=!1){return function(){const F=this||o;let Z=arguments[0];v&&v.transferEventName&&(Z=v.transferEventName(Z));let ee=arguments[1];if(!ee)return f.apply(this,arguments);if(Ye&&"uncaughtException"===Z)return f.apply(this,arguments);let ye=!1;if("function"!=typeof ee){if(!ee.handleEvent)return f.apply(this,arguments);ye=!0}if(ie&&!ie(f,ee,F,arguments))return;const Ne=_e&&!!Re&&-1!==Re.indexOf(Z),Ge=We(arguments[2],Ne);if(B)for(let $e=0;$e<B.length;$e++)if(Z===B[$e])return Ne?f.call(F,Z,ee,Ge):f.apply(this,arguments);const bt=!!Ge&&("boolean"==typeof Ge||Ge.capture),It=!(!Ge||"object"!=typeof Ge)&&Ge.once,Lt=Zone.current;let Ct=De[Z];Ct||(Qe(Z,xe),Ct=De[Z]);const Rt=Ct[bt?l:Ee];let Tt,nt=F[Rt],At=!1;if(nt){if(At=!0,Q)for(let $e=0;$e<nt.length;$e++)if(R(nt[$e],ee))return}else nt=F[Rt]=[];const St=F.constructor.name,Dt=it[St];Dt&&(Tt=Dt[Z]),Tt||(Tt=St+y+(xe?xe(Z):Z)),J.options=Ge,It&&(J.options.once=!1),J.target=F,J.capture=bt,J.eventName=Z,J.isExisting=At;const lt=q?Et:void 0;lt&&(lt.taskData=J);const qe=Lt.scheduleEventTask(Tt,ee,lt,T,P);return J.target=null,lt&&(lt.taskData=null),It&&(Ge.once=!0),!_e&&"boolean"==typeof qe.options||(qe.options=Ge),qe.target=F,qe.capture=bt,qe.eventName=Z,ye&&(qe.originalDelegate=ee),S?nt.unshift(qe):nt.push(qe),O?F:void 0}};return V[c]=m(be,A,x,i,ve),Fe&&(V.prependListener=m(Fe,".prependListener:",function(f){return Fe.call(J.target,J.eventName,f.invoke,J.options)},i,ve,!0)),V[p]=function(){const f=this||o;let y=arguments[0];v&&v.transferEventName&&(y=v.transferEventName(y));const T=arguments[2],P=!!T&&("boolean"==typeof T||T.capture),O=arguments[1];if(!O)return D.apply(this,arguments);if(ie&&!ie(D,O,f,arguments))return;const S=De[y];let F;S&&(F=S[P?l:Ee]);const Z=F&&f[F];if(Z)for(let ee=0;ee<Z.length;ee++){const ye=Z[ee];if(R(ye,O))return Z.splice(ee,1),ye.isRemoved=!0,0===Z.length&&(ye.allRemoved=!0,f[F]=null,"string"==typeof y)&&(f[ae+"ON_PROPERTY"+y]=null),ye.zone.cancelTask(ye),ve?f:void 0}return D.apply(this,arguments)},V[_]=function(){const f=this||o;let y=arguments[0];v&&v.transferEventName&&(y=v.transferEventName(y));const T=[],P=_t(f,xe?xe(y):y);for(let O=0;O<P.length;O++){const S=P[O];T.push(S.originalDelegate?S.originalDelegate:S.callback)}return T},V[w]=function(){const f=this||o;let y=arguments[0];if(y){v&&v.transferEventName&&(y=v.transferEventName(y));const T=De[y];if(T){const S=f[T[Ee]],F=f[T[l]];if(S){const Z=S.slice();for(let ee=0;ee<Z.length;ee++){const ye=Z[ee];this[p].call(this,y,ye.originalDelegate?ye.originalDelegate:ye.callback,ye.options)}}if(F){const Z=F.slice();for(let ee=0;ee<Z.length;ee++){const ye=Z[ee];this[p].call(this,y,ye.originalDelegate?ye.originalDelegate:ye.callback,ye.options)}}}}else{const T=Object.keys(f);for(let P=0;P<T.length;P++){const S=mt.exec(T[P]);let F=S&&S[1];F&&"removeListener"!==F&&this[w].call(this,F)}this[w].call(this,"removeListener")}if(ve)return this},Ze(V[c],be),Ze(V[p],D),M&&Ze(V[w],M),X&&Ze(V[_],X),!0}let re=[];for(let C=0;C<a.length;C++)re[C]=pe(a[C],h);return re}function _t(o,a){if(!a){const _=[];for(let w in o){const k=mt.exec(w);let A=k&&k[1];if(A&&(!a||A===a)){const I=o[w];if(I)for(let b=0;b<I.length;b++)_.push(I[b])}}return _}let h=De[a];h||(Qe(a),h=De[a]);const c=o[h[Ee]],p=o[h[l]];return c?p?c.concat(p):c.slice():p?p.slice():[]}function gt(o,a){const h=o.Event;h&&h.prototype&&a.patchMethod(h.prototype,"stopImmediatePropagation",c=>function(p,_){p[st]=!0,c&&c.apply(p,_)})}function et(o,a,h,c,p){const _=Zone.__symbol__(c);if(a[_])return;const w=a[_]=a[c];a[c]=function(k,A,I){return A&&A.prototype&&p.forEach(function(b){const G=`${h}.${c}::`+b,H=A.prototype;if(H.hasOwnProperty(b)){const W=o.ObjectGetOwnPropertyDescriptor(H,b);W&&W.value?(W.value=o.wrapWithCurrentZone(W.value,G),o._redefineProperty(A.prototype,b,W)):H[b]&&(H[b]=o.wrapWithCurrentZone(H[b],G))}else H[b]&&(H[b]=o.wrapWithCurrentZone(H[b],G))}),w.call(a,k,A,I)},o.attachOriginToPatched(a[c],w)}const ct=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],e=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],E=["load"],j=["blur","error","focus","load","resize","scroll","messageerror"],te=["bounce","finish","start"],oe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],he=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],le=["close","error","open","message"],tt=["error","message"],Ve=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],ct,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ut(o,a,h){if(!h||0===h.length)return a;const c=h.filter(_=>_.target===o);if(!c||0===c.length)return a;const p=c[0].ignoreProperties;return a.filter(_=>-1===p.indexOf(_))}function ge(o,a,h,c){o&&dt(o,ut(o,a,h),c)}Zone.__load_patch("util",(o,a,h)=>{h.patchOnProperties=dt,h.patchMethod=Le,h.bindArguments=Ce,h.patchMacroTask=vt;const c=a.__symbol__("BLACK_LISTED_EVENTS"),p=a.__symbol__("UNPATCHED_EVENTS");o[p]&&(o[c]=o[p]),o[c]&&(a[c]=a[p]=o[c]),h.patchEventPrototype=gt,h.patchEventTarget=xt,h.isIEOrEdge=Te,h.ObjectDefineProperty=K,h.ObjectGetOwnPropertyDescriptor=ke,h.ObjectCreate=Pe,h.ArraySlice=we,h.patchClass=ze,h.wrapWithCurrentZone=me,h.filterProperties=ut,h.attachOriginToPatched=Ze,h._redefineProperty=Object.defineProperty,h.patchCallbacks=et,h.getGlobalObjects=()=>({globalSources:it,zoneSymbolEventNames:De,eventNames:Ve,isBrowser:Je,isMix:ft,isNode:Ye,TRUE_STR:l,FALSE_STR:Ee,ZONE_SYMBOL_PREFIX:ae,ADD_EVENT_LISTENER_STR:ce,REMOVE_EVENT_LISTENER_STR:ue})});const wt=g("zoneTask");function rt(o,a,h,c){let p=null,_=null;h+=c;const w={};function k(I){const b=I.data;return b.args[0]=function(){return I.invoke.apply(this,arguments)},b.handleId=p.apply(o,b.args),I}function A(I){return _.call(o,I.data.handleId)}p=Le(o,a+=c,I=>function(b,G){if("function"==typeof G[0]){const H={isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?G[1]||0:void 0,args:G},W=G[0];G[0]=function(){try{return W.apply(this,arguments)}finally{H.isPeriodic||("number"==typeof H.handleId?delete w[H.handleId]:H.handleId&&(H.handleId[wt]=null))}};const pe=Ae(a,G[0],H,k,A);if(!pe)return pe;const re=pe.data.handleId;return"number"==typeof re?w[re]=pe:re&&(re[wt]=pe),re&&re.ref&&re.unref&&"function"==typeof re.ref&&"function"==typeof re.unref&&(pe.ref=re.ref.bind(re),pe.unref=re.unref.bind(re)),"number"==typeof re||re?re:pe}return I.apply(o,G)}),_=Le(o,h,I=>function(b,G){const H=G[0];let W;"number"==typeof H?W=w[H]:(W=H&&H[wt],W||(W=H)),W&&"string"==typeof W.type?"notScheduled"!==W.state&&(W.cancelFn&&W.data.isPeriodic||0===W.runCount)&&("number"==typeof H?delete w[H]:H&&(H[wt]=null),W.zone.cancelTask(W)):I.apply(o,G)})}Zone.__load_patch("legacy",o=>{const a=o[Zone.__symbol__("legacyPatch")];a&&a()}),Zone.__load_patch("queueMicrotask",(o,a,h)=>{h.patchMethod(o,"queueMicrotask",c=>function(p,_){a.current.scheduleMicroTask("queueMicrotask",_[0])})}),Zone.__load_patch("timers",o=>{const a="set",h="clear";rt(o,a,h,"Timeout"),rt(o,a,h,"Interval"),rt(o,a,h,"Immediate")}),Zone.__load_patch("requestAnimationFrame",o=>{rt(o,"request","cancel","AnimationFrame"),rt(o,"mozRequest","mozCancel","AnimationFrame"),rt(o,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(o,a)=>{const h=["alert","prompt","confirm"];for(let c=0;c<h.length;c++)Le(o,h[c],(_,w,k)=>function(A,I){return a.current.run(_,o,I,k)})}),Zone.__load_patch("EventTarget",(o,a,h)=>{(function Bt(o,a){a.patchEventPrototype(o,a)})(o,h),function Pt(o,a){if(Zone[a.symbol("patchEventTarget")])return;const{eventNames:h,zoneSymbolEventNames:c,TRUE_STR:p,FALSE_STR:_,ZONE_SYMBOL_PREFIX:w}=a.getGlobalObjects();for(let A=0;A<h.length;A++){const I=h[A],H=w+(I+_),W=w+(I+p);c[I]={},c[I][_]=H,c[I][p]=W}const k=o.EventTarget;k&&k.prototype&&a.patchEventTarget(o,[k&&k.prototype])}(o,h);const c=o.XMLHttpRequestEventTarget;c&&c.prototype&&h.patchEventTarget(o,[c.prototype])}),Zone.__load_patch("MutationObserver",(o,a,h)=>{ze("MutationObserver"),ze("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(o,a,h)=>{ze("IntersectionObserver")}),Zone.__load_patch("FileReader",(o,a,h)=>{ze("FileReader")}),Zone.__load_patch("on_property",(o,a,h)=>{!function Ft(o,a){if(Ye&&!ft||Zone[o.symbol("patchEvents")])return;const h=typeof WebSocket<"u",c=a.__Zone_ignore_on_properties;if(Je){const w=window,k=function kt(){try{const o=$.navigator.userAgent;if(-1!==o.indexOf("MSIE ")||-1!==o.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:w,ignoreProperties:["error"]}]:[];ge(w,Ve.concat(["messageerror"]),c&&c.concat(k),N(w)),ge(Document.prototype,Ve,c),typeof w.SVGElement<"u"&&ge(w.SVGElement.prototype,Ve,c),ge(Element.prototype,Ve,c),ge(HTMLElement.prototype,Ve,c),ge(HTMLMediaElement.prototype,e,c),ge(HTMLFrameSetElement.prototype,ct.concat(j),c),ge(HTMLBodyElement.prototype,ct.concat(j),c),ge(HTMLFrameElement.prototype,E,c),ge(HTMLIFrameElement.prototype,E,c);const A=w.HTMLMarqueeElement;A&&ge(A.prototype,te,c);const I=w.Worker;I&&ge(I.prototype,tt,c)}const p=a.XMLHttpRequest;p&&ge(p.prototype,oe,c);const _=a.XMLHttpRequestEventTarget;_&&ge(_&&_.prototype,oe,c),typeof IDBIndex<"u"&&(ge(IDBIndex.prototype,he,c),ge(IDBRequest.prototype,he,c),ge(IDBOpenDBRequest.prototype,he,c),ge(IDBDatabase.prototype,he,c),ge(IDBTransaction.prototype,he,c),ge(IDBCursor.prototype,he,c)),h&&ge(WebSocket.prototype,le,c)}(h,o)}),Zone.__load_patch("customElements",(o,a,h)=>{!function Nt(o,a){const{isBrowser:h,isMix:c}=a.getGlobalObjects();(h||c)&&o.customElements&&"customElements"in o&&a.patchCallbacks(a,o.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(o,h)}),Zone.__load_patch("XHR",(o,a)=>{!function A(I){const b=I.XMLHttpRequest;if(!b)return;const G=b.prototype;let W=G[Y],pe=G[se];if(!W){const D=I.XMLHttpRequestEventTarget;if(D){const X=D.prototype;W=X[Y],pe=X[se]}}const re="readystatechange",C="scheduled";function v(D){const X=D.data,M=X.target;M[_]=!1,M[k]=!1;const Fe=M[p];W||(W=M[Y],pe=M[se]),Fe&&pe.call(M,re,Fe);const We=M[p]=()=>{if(M.readyState===M.DONE)if(!X.aborted&&M[_]&&D.state===C){const Oe=M[a.__symbol__("loadfalse")];if(0!==M.status&&Oe&&Oe.length>0){const Ue=D.invoke;D.invoke=function(){const de=M[a.__symbol__("loadfalse")];for(let z=0;z<de.length;z++)de[z]===D&&de.splice(z,1);!X.aborted&&D.state===C&&Ue.call(D)},Oe.push(D)}else D.invoke()}else!X.aborted&&!1===M[_]&&(M[k]=!0)};return W.call(M,re,We),M[h]||(M[h]=D),J.apply(M,X.args),M[_]=!0,D}function q(){}function ie(D){const X=D.data;return X.aborted=!0,be.apply(X.target,X.args)}const Q=Le(G,"open",()=>function(D,X){return D[c]=0==X[2],D[w]=X[1],Q.apply(D,X)}),V=g("fetchTaskAborting"),xe=g("fetchTaskScheduling"),J=Le(G,"send",()=>function(D,X){if(!0===a.current[xe]||D[c])return J.apply(D,X);{const M={target:D,url:D[w],isPeriodic:!1,args:X,aborted:!1},Fe=Ae("XMLHttpRequest.send",q,M,v,ie);D&&!0===D[k]&&!M.aborted&&Fe.state===C&&Fe.invoke()}}),be=Le(G,"abort",()=>function(D,X){const M=function H(D){return D[h]}(D);if(M&&"string"==typeof M.type){if(null==M.cancelFn||M.data&&M.data.aborted)return;M.zone.cancelTask(M)}else if(!0===a.current[V])return be.apply(D,X)})}(o);const h=g("xhrTask"),c=g("xhrSync"),p=g("xhrListener"),_=g("xhrScheduled"),w=g("xhrURL"),k=g("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",o=>{o.navigator&&o.navigator.geolocation&&function He(o,a){const h=o.constructor.name;for(let c=0;c<a.length;c++){const p=a[c],_=o[p];if(_){if(!Ie(ke(o,p)))continue;o[p]=(k=>{const A=function(){return k.apply(this,Ce(arguments,h+"."+p))};return Ze(A,k),A})(_)}}}(o.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(o,a)=>{function h(c){return function(p){_t(o,c).forEach(w=>{const k=o.PromiseRejectionEvent;if(k){const A=new k(c,{promise:p.promise,reason:p.rejection});w.invoke(A)}})}}o.PromiseRejectionEvent&&(a[g("unhandledPromiseRejectionHandler")]=h("unhandledrejection"),a[g("rejectionHandledHandler")]=h("rejectionhandled"))})}},Xe=>{Xe(Xe.s=22061)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[142],{4128:(B,R,l)=>{l.d(R,{D:()=>D});var n=l(69751),f=l(54742),w=l(38421),y=l(63269),_=l(25403),A=l(83268),O=l(31810);function D(...E){const h=(0,y.jO)(E),{args:M,keys:k}=(0,f.D)(E),u=new n.y(b=>{const{length:c}=M;if(!c)return void b.complete();const s=new Array(c);let g=c,p=c;for(let v=0;v<c;v++){let I=!1;(0,w.Xf)(M[v]).subscribe((0,_.x)(b,T=>{I||(I=!0,p--),s[v]=T},()=>g--,void 0,()=>{(!g||!I)&&(p||b.next(k?(0,O.n)(k,s):s),b.complete())}))}});return h?u.pipe((0,A.Z)(h)):u}},4859:(B,R,l)=>{l.d(R,{lW:()=>h,ot:()=>k,zs:()=>M});var n=l(94650),f=l(3238),w=l(12687);const y=["mat-button",""],_=["*"],D=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],E=(0,f.pj)((0,f.Id)((0,f.Kr)(class{constructor(u){this._elementRef=u}})));let h=(()=>{class u extends E{constructor(c,s,g){super(c),this._focusMonitor=s,this._animationMode=g,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const p of D)this._hasHostAttributes(p)&&this._getHostElement().classList.add(p);c.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(c,s){c?this._focusMonitor.focusVia(this._getHostElement(),c,s):this._getHostElement().focus(s)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...c){return c.some(s=>this._getHostElement().hasAttribute(s))}}return u.\u0275fac=function(c){return new(c||u)(n.Y36(n.SBq),n.Y36(w.tE),n.Y36(n.QbO,8))},u.\u0275cmp=n.Xpm({type:u,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(c,s){if(1&c&&n.Gf(f.wG,5),2&c){let g;n.iGM(g=n.CRH())&&(s.ripple=g.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(c,s){2&c&&(n.uIk("disabled",s.disabled||null),n.ekj("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-button-disabled",s.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.qOj],attrs:y,ngContentSelectors:_,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(c,s){1&c&&(n.F$t(),n.TgZ(0,"span",0),n.Hsn(1),n.qZA(),n._UZ(2,"span",1)(3,"span",2)),2&c&&(n.xp6(2),n.ekj("mat-button-ripple-round",s.isRoundButton||s.isIconButton),n.Q6J("matRippleDisabled",s._isRippleDisabled())("matRippleCentered",s.isIconButton)("matRippleTrigger",s._getHostElement()))},dependencies:[f.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),u})(),M=(()=>{class u extends h{constructor(c,s,g,p){super(s,c,g),this._ngZone=p,this._haltDisabledEvents=v=>{this.disabled&&(v.preventDefault(),v.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return u.\u0275fac=function(c){return new(c||u)(n.Y36(w.tE),n.Y36(n.SBq),n.Y36(n.QbO,8),n.Y36(n.R0b,8))},u.\u0275cmp=n.Xpm({type:u,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(c,s){2&c&&(n.uIk("tabindex",s.disabled?-1:s.tabIndex)("disabled",s.disabled||null)("aria-disabled",s.disabled.toString()),n.ekj("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-button-disabled",s.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.qOj],attrs:y,ngContentSelectors:_,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(c,s){1&c&&(n.F$t(),n.TgZ(0,"span",0),n.Hsn(1),n.qZA(),n._UZ(2,"span",1)(3,"span",2)),2&c&&(n.xp6(2),n.ekj("mat-button-ripple-round",s.isRoundButton||s.isIconButton),n.Q6J("matRippleDisabled",s._isRippleDisabled())("matRippleCentered",s.isIconButton)("matRippleTrigger",s._getHostElement()))},dependencies:[f.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),u})(),k=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({imports:[f.si,f.BQ,f.BQ]}),u})()},97392:(B,R,l)=>{l.d(R,{Hw:()=>J,Ps:()=>X,jv:()=>F});var n=l(94650),f=l(3238),w=l(21281),y=l(36895),_=l(39646),A=l(62843),O=l(4128),D=l(50727),E=l(18505),h=l(54004),M=l(70262),k=l(28746),u=l(13099),b=l(95698),c=l(80529),s=l(11481);const g=["*"];let p;function I(a){return function v(){if(void 0===p&&(p=null,typeof window<"u")){const a=window;void 0!==a.trustedTypes&&(p=a.trustedTypes.createPolicy("angular#components",{createHTML:d=>d}))}return p}()?.createHTML(a)||a}function T(a){return Error(`Unable to find icon with the name "${a}"`)}function z(a){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${a}".`)}function U(a){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${a}".`)}class x{constructor(d,t,e){this.url=d,this.svgText=t,this.options=e}}let F=(()=>{class a{constructor(t,e,o,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(t,e,o){return this.addSvgIconInNamespace("",t,e,o)}addSvgIconLiteral(t,e,o){return this.addSvgIconLiteralInNamespace("",t,e,o)}addSvgIconInNamespace(t,e,o,i){return this._addSvgIconConfig(t,e,new x(o,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,o,i){const r=this._sanitizer.sanitize(n.q3G.HTML,o);if(!r)throw U(o);const m=I(r);return this._addSvgIconConfig(t,e,new x("",m,i))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,o){return this._addSvgIconSetConfig(t,new x(e,null,o))}addSvgIconSetLiteralInNamespace(t,e,o){const i=this._sanitizer.sanitize(n.q3G.HTML,e);if(!i)throw U(e);const r=I(i);return this._addSvgIconSetConfig(t,new x("",r,o))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,t);if(!e)throw z(t);const o=this._cachedIconsByUrl.get(e);return o?(0,_.of)(P(o)):this._loadSvgIconFromConfig(new x(t,null)).pipe((0,E.b)(i=>this._cachedIconsByUrl.set(e,i)),(0,h.U)(i=>P(i)))}getNamedSvgIcon(t,e=""){const o=N(e,t);let i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):(0,A._)(T(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?(0,_.of)(P(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe((0,h.U)(e=>P(e)))}_getSvgFromIconSetConfigs(t,e){const o=this._extractIconWithNameFromAnySet(t,e);if(o)return(0,_.of)(o);const i=e.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe((0,M.K)(m=>{const C=`Loading icon set URL: ${this._sanitizer.sanitize(n.q3G.RESOURCE_URL,r.url)} failed: ${m.message}`;return this._errorHandler.handleError(new Error(C)),(0,_.of)(null)})));return(0,O.D)(i).pipe((0,h.U)(()=>{const r=this._extractIconWithNameFromAnySet(t,e);if(!r)throw T(t);return r}))}_extractIconWithNameFromAnySet(t,e){for(let o=e.length-1;o>=0;o--){const i=e[o];if(i.svgText&&i.svgText.toString().indexOf(t)>-1){const r=this._svgElementFromConfig(i),m=this._extractSvgIconFromSet(r,t,i.options);if(m)return m}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe((0,E.b)(e=>t.svgText=e),(0,h.U)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?(0,_.of)(null):this._fetchIcon(t).pipe((0,E.b)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,o){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,o);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),o);const m=this._svgElementFromString(I("<svg></svg>"));return m.appendChild(r),this._setSvgAttributes(m,o)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const o=e.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(t){const e=this._svgElementFromString(I("<svg></svg>")),o=t.attributes;for(let i=0;i<o.length;i++){const{name:r,value:m}=o[i];"id"!==r&&e.setAttribute(r,m)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchIcon(t){const{url:e,options:o}=t,i=o?.withCredentials??!1;if(!this._httpClient)throw function H(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==e)throw Error(`Cannot fetch icon from URL "${e}".`);const r=this._sanitizer.sanitize(n.q3G.RESOURCE_URL,e);if(!r)throw z(e);const m=this._inProgressUrlFetches.get(r);if(m)return m;const S=this._httpClient.get(r,{responseType:"text",withCredentials:i}).pipe((0,h.U)(C=>I(C)),(0,k.x)(()=>this._inProgressUrlFetches.delete(r)),(0,u.B)());return this._inProgressUrlFetches.set(r,S),S}_addSvgIconConfig(t,e,o){return this._svgIconConfigs.set(N(t,e),o),this}_addSvgIconSetConfig(t,e){const o=this._iconSetConfigs.get(t);return o?o.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let o=0;o<this._resolvers.length;o++){const i=this._resolvers[o](e,t);if(i)return j(i)?new x(i.url,null,i.options):new x(i,null)}}}return a.\u0275fac=function(t){return new(t||a)(n.LFG(c.eN,8),n.LFG(s.H7),n.LFG(y.K0,8),n.LFG(n.qLn))},a.\u0275prov=n.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();function P(a){return a.cloneNode(!0)}function N(a,d){return a+":"+d}function j(a){return!(!a.url||!a.options)}const Y=(0,f.pj)(class{constructor(a){this._elementRef=a}}),$=new n.OlP("MAT_ICON_DEFAULT_OPTIONS"),V=new n.OlP("mat-icon-location",{providedIn:"root",factory:function G(){const a=(0,n.f3M)(y.K0),d=a?a.location:null;return{getPathname:()=>d?d.pathname+d.search:""}}}),W=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Z=W.map(a=>`[${a}]`).join(", "),Q=/^url\(['"]?#(.*?)['"]?\)$/;let J=(()=>{class a extends Y{constructor(t,e,o,i,r,m){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=D.w0.EMPTY,m&&(m.color&&(this.color=this.defaultColor=m.color),m.fontSet&&(this.fontSet=m.fontSet)),o||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=(0,w.Ig)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const o=t.childNodes[e];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),e.forEach(o=>t.classList.add(o)),this._previousFontSetClass=e,this.fontIcon!==this._previousFontIconClass&&!e.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((o,i)=>{o.forEach(r=>{i.setAttribute(r.name,`url('${t}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(Z),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)W.forEach(r=>{const m=e[i],S=m.getAttribute(r),C=S?S.match(Q):null;if(C){let L=o.get(m);L||(L=[],o.set(m,L)),L.push({name:r,value:C[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,o]=this._splitIconName(t);e&&(this._svgNamespace=e),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,e).pipe((0,b.q)(1)).subscribe(i=>this._setSvgElement(i),i=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${o}! ${i.message}`))})}}}return a.\u0275fac=function(t){return new(t||a)(n.Y36(n.SBq),n.Y36(F),n.$8M("aria-hidden"),n.Y36(V),n.Y36(n.qLn),n.Y36($,8))},a.\u0275cmp=n.Xpm({type:a,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(t,e){2&t&&(n.uIk("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet)("fontIcon",e._usingFontIcon()?e.fontIcon:null),n.ekj("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.qOj],ngContentSelectors:g,decls:1,vars:0,template:function(t,e){1&t&&(n.F$t(),n.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),a})(),X=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[f.BQ,f.BQ]}),a})()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[195],{11716:(b,p,n)=>{n.d(p,{O:()=>s});var t=n(70262),u=n(39646),g=n(94650),f=n(1584);let s=(()=>{class l{constructor(M){this.service=M}resolve(M,v){return this.service.getMyself().pipe((0,t.K)(()=>(0,u.of)(null)))}}return l.\u0275fac=function(M){return new(M||l)(g.LFG(f.K))},l.\u0275prov=g.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})()},864:(b,p,n)=>{n.d(p,{k:()=>v});var t=n(94650),u=n(80529),g=n(11481),f=n(36895),s=n(97392);function l(c,h){if(1&c&&t._UZ(0,"img",2),2&c){const e=t.oxw();t.Q6J("src",e.data||e.url,t.LSH)("width",e.avatarWidth)("height",e.avatarHeight)}}const _=function(c){return{"font-size":c}};function M(c,h){if(1&c&&(t.TgZ(0,"mat-icon",3),t._uU(1,"account_circle"),t.qZA()),2&c){const e=t.oxw();t.Udp("width",e.avatarWidth+"px")("height",e.avatarHeight+"px"),t.Q6J("ngStyle",t.VKq(5,_,e.avatarHeight+"px"))}}let v=(()=>{class c{constructor(e,i){this.httpClient=e,this.sanitizer=i,this.avatarWidth=40,this.avatarHeight=40,this.url=null}ngOnChanges(e){if(e.file&&this.file){if(window.FileReader){const i=new FileReader;i.onload=(d=>m=>{this.data=m.target.result})(),i.readAsDataURL(e.file.currentValue)}}else e.user&&this.user&&this.fetchAvatar()}fetchAvatar(){this.httpClient.get(`/api/users/${this.user.id}/avatar`,{responseType:"blob"}).subscribe({next:i=>{this.url=this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(i))},error:i=>{404===i.status?console.warn("Avatar not found (404). Using fallback."):console.error("Error fetching avatar:",i),this.url="/assets/images/baseline-account_circle-24px.svg"}})}}return c.\u0275fac=function(e){return new(e||c)(t.Y36(u.eN),t.Y36(g.H7))},c.\u0275cmp=t.Xpm({type:c,selectors:[["user-avatar"]],inputs:{user:"user",file:"file",avatarWidth:"avatarWidth",avatarHeight:"avatarHeight"},features:[t.TTD],decls:2,vars:2,consts:[["class","avatar",3,"src","width","height",4,"ngIf"],["class","icon",3,"ngStyle","width","height",4,"ngIf"],[1,"avatar",3,"src","width","height"],[1,"icon",3,"ngStyle"]],template:function(e,i){1&e&&(t.YNc(0,l,1,3,"img",0),t.YNc(1,M,2,7,"mat-icon",1)),2&e&&(t.Q6J("ngIf",i.data||i.url),t.xp6(1),t.Q6J("ngIf",!i.data&&!i.url))},dependencies:[f.O5,f.PC,s.Hw],styles:[".avatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;background:#FFFFFF;vertical-align:middle}.icon[_ngcontent-%COMP%]{vertical-align:middle;color:#0006}"]}),c})()},93390:(b,p,n)=>{n.d(p,{l:()=>f});var t=n(36895),u=n(97392),g=n(94650);let f=(()=>{class s{}return s.\u0275fac=function(_){return new(_||s)},s.\u0275mod=g.oAB({type:s}),s.\u0275inj=g.cJS({imports:[t.ez,u.Ps]}),s})()},73546:(b,p,n)=>{n.d(p,{G2:()=>d,QW:()=>w,a8:()=>A,dk:()=>T,dn:()=>v,hq:()=>e,kc:()=>y,n5:()=>c,rt:()=>i});var t=n(94650),u=n(3238);const g=["*",[["mat-card-footer"]]],f=["*","mat-card-footer"],s=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],l=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let v=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),a})(),c=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),a})(),e=(()=>{class a{constructor(){this.align="start"}}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(o,C){2&o&&t.ekj("mat-card-actions-align-end","end"===C.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),a})(),i=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),a})(),d=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),a})(),y=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),a})(),A=(()=>{class a{constructor(o){this._animationMode=o}}return a.\u0275fac=function(o){return new(o||a)(t.Y36(t.QbO,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(o,C){2&o&&t.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)},exportAs:["matCard"],ngContentSelectors:f,decls:2,vars:0,template:function(o,C){1&o&&(t.F$t(g),t.Hsn(0),t.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),a})(),T=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:l,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(o,C){1&o&&(t.F$t(s),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0}),a})(),w=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]}),a})()},83683:(b,p,n)=>{n.d(p,{Ye:()=>v,g0:()=>h,rD:()=>M});var t=n(94650),u=n(3238),g=n(83353),f=n(36895);const s=["*",[["mat-toolbar-row"]]],l=["*","mat-toolbar-row"],_=(0,u.pj)(class{constructor(e){this._elementRef=e}});let M=(()=>{class e{}return e.\u0275fac=function(d){return new(d||e)},e.\u0275dir=t.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),v=(()=>{class e extends _{constructor(d,m,x){super(d),this._platform=m,this._document=x}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(d){return new(d||e)(t.Y36(t.SBq),t.Y36(g.t4),t.Y36(f.K0))},e.\u0275cmp=t.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(d,m,x){if(1&d&&t.Suo(x,M,5),2&d){let D;t.iGM(D=t.CRH())&&(m._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(d,m){2&d&&t.ekj("mat-toolbar-multiple-rows",m._toolbarRows.length>0)("mat-toolbar-single-row",0===m._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:l,decls:2,vars:0,template:function(d,m){1&d&&(t.F$t(s),t.Hsn(0),t.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),e})(),h=(()=>{class e{}return e.\u0275fac=function(d){return new(d||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]}),e})()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[24],{46605:(Qt,st,C)=>{C.d(st,{O:()=>q});class t{constructor(_,x,D){this._statusMessage=_,this._identifier=x,this._strategy=D,this._subject="",this._body=""}get subject(){return this._subject}get body(){return this._body}build(){const _=this._statusMessage.toUpperCase();this._subject=_.includes("DEVICE")?_.includes("REGISTER")?"Please approve my device":"Device ID issue":_.includes("APPROVED")||_.includes("ACTIVATE")?"Please activate my Mage account":_.includes("DISABLED")?"Please enable my Mage account":_.includes("LOCKED")?"Please unlock my Mage account":_.includes("CAPTCHA")?"Mage CAPTCHA issue":_.includes("EVENT")?"Please add me to a Mage event":"Mage signin issue",this._identifier&&(this._subject+=" - "+this._identifier,this._body+="Identifier (username or device id): "+this._identifier+"\n"),this._body+="Error Message Received: "+this._statusMessage}}class q{static emailLink(_,x,D,at){let I;if(_&&_.email){const k=new t(x,D,at);k.build(),I="mailto:"+encodeURIComponent(_.email),I+="?subject="+encodeURIComponent(k.subject),I+="&body="+encodeURIComponent(k.body)}return I}static phoneLink(_){let x;return _&&_.phone&&(x="tel:"+_.phone),x}}},19241:(Qt,st,C)=>{C.d(st,{t:()=>yt});var t=C(94650),q=C(4859),L=(()=>{return(i=L||(L={}))[i.ACCEPT=0]="ACCEPT",i[i.REJECT=1]="REJECT",L;var i})();let _=(()=>{class i{constructor(){this.close=new t.vpe}onAccept(){this.close.emit({reason:L.ACCEPT})}onReject(){this.close.emit({reason:L.REJECT})}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["disclaimer"]],inputs:{title:"title",text:"text"},outputs:{close:"close"},decls:12,vars:2,consts:[[1,"container"],[1,"header"],[1,"header__title"],[1,"disclaimer"],[1,"disclaimer__text"],[1,"actions"],["mat-stroked-button","",1,"actions__button",3,"click"],["mat-flat-button","","color","primary",1,"actions__button",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3),t.qZA()(),t.TgZ(4,"div",3)(5,"div",4),t._uU(6),t.qZA()(),t.TgZ(7,"div",5)(8,"button",6),t.NdJ("click",function(){return a.onReject()}),t._uU(9,"Exit"),t.qZA(),t.TgZ(10,"button",7),t.NdJ("click",function(){return a.onAccept()}),t._uU(11,"Accept"),t.qZA()()()),2&r&&(t.xp6(3),t.Oqu(a.title),t.xp6(3),t.Oqu(a.text))},dependencies:[q.lW],styles:[".container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px}.header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;height:30vh}.header__title[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;color:#1e88e5;margin-bottom:16px}.disclaimer[_ngcontent-%COMP%]{overflow-y:scroll}.disclaimer__text[_ngcontent-%COMP%]{font:400 16px/20px Roboto,Helvetica Neue,sans-serif;margin-bottom:32px;opacity:60%}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:start;width:100%;gap:16px}.actions__button[_ngcontent-%COMP%]{flex:1}"]}),i})();var x=C(37340),D=C(1584),at=C(38159),I=C(36895);let k=(()=>{class i{constructor(){this.complete=new t.vpe}ngOnChanges(r){!0===r.active.currentValue?(this.icon="check_circle",this.color="#4CAF50",this.title="Account Created",this.message="Your account has been successfully created."):!1===r.active.currentValue&&(this.icon="preliminary",this.color="#FFA000",this.title="Account Pending",this.message="Your account has been successfully created. A Mage administrator will need to activate your account before you can log in.")}onDone(){this.complete.emit()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["account-status"]],inputs:{active:"active"},outputs:{complete:"complete"},features:[t.TTD],decls:10,vars:5,consts:[[1,"content"],[1,"material-symbols-outlined","icon"],[1,"title"],[1,"actions"],["mat-flat-button","","color","primary",1,"actions__button",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"span",1),t._uU(2),t.qZA(),t.TgZ(3,"div",2),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA()(),t.TgZ(7,"div",3)(8,"button",4),t.NdJ("click",function(){return a.onDone()}),t._uU(9,"Return to Login"),t.qZA()()),2&r&&(t.xp6(1),t.Udp("color",a.color),t.xp6(1),t.Oqu(a.icon),t.xp6(2),t.Oqu(a.title),t.xp6(2),t.Oqu(a.message))},dependencies:[q.lW],styles:['.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;width:500px}.title[_ngcontent-%COMP%]{font:400 20px/32px Roboto,Helvetica Neue,sans-serif}.icon[_ngcontent-%COMP%]{font-size:96px;font-variation-settings:"fill" 0,"wght" 200,"grad" 0,"opsz" 96;margin-bottom:32px}.icon--active[_ngcontent-%COMP%]{color:#4caf50}.icon-inactive[_ngcontent-%COMP%]{color:red}.actions[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;margin-top:32px}.actions__button[_ngcontent-%COMP%]{flex:1}']}),i})();var ct=C(86349);function K(i,d){if(1&i&&(t.TgZ(0,"div",5),t._UZ(1,"img",6),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("src","data:image/png;base64,"+r.icon,t.LSH)}}function mt(i,d){1&i&&t._UZ(0,"div",7)}const pt=function(i){return{"background-color":i}},P=function(i){return{color:i}};let X=(()=>{class i{constructor(){this.click=new t.vpe}onClick(){this.click.emit()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["authentication-button"]],inputs:{icon:"icon",color:"color",text:"text",textColor:"textColor"},outputs:{click:"click"},decls:6,vars:10,consts:[["mat-flat-button","","color","primary",1,"authentication-button",3,"click"],[1,"authentication-button-container"],["class","authentication-button__icon",4,"ngIf"],[1,"authentication-button__text",3,"ngStyle"],["class","spacer",4,"ngIf"],[1,"authentication-button__icon"],[1,"authentication-button__image",3,"src"],[1,"spacer"]],template:function(r,a){1&r&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return a.onClick()}),t.TgZ(1,"div",1),t.YNc(2,K,2,1,"div",2),t.TgZ(3,"div",3),t._uU(4),t.qZA(),t.YNc(5,mt,1,0,"div",4),t.qZA()()),2&r&&(t.Akn(t.VKq(6,pt,a.color)),t.xp6(2),t.Q6J("ngIf",a.icon),t.xp6(1),t.Q6J("ngStyle",t.VKq(8,P,a.textColor)),t.xp6(1),t.hij("Continue with ",a.text,""),t.xp6(1),t.Q6J("ngIf",a.icon))},dependencies:[I.O5,I.PC,q.lW],styles:[".authentication-button[_ngcontent-%COMP%]{width:100%}.authentication-button-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;margin:0 -16px}.authentication-button__icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:2px;width:36px;border-radius:2px;background-color:#fff}.authentication-button__image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:2px;height:28px;border-radius:2px;background-color:#fff}.authentication-button__text[_ngcontent-%COMP%]{flex:1;width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spacer[_ngcontent-%COMP%]{margin:2px;width:36px}"]}),i})(),E=(()=>{class i{constructor(r){this.userService=r,this.authenticated=new t.vpe}signin(){this.userService.idpSignin(this.strategy.name).subscribe({next:r=>{if(!r.token||!r.user){let a="There was a problem signing in, Please contact a Mage administrator for assistance.";return r.user&&(r.user.active?r.user.enabled||(a="Your account has been disabled, please contact a Mage administrator for assistance."):a="Your account has been created but it is not active. A Mage administrator needs to activate your account before you can log in."),this.error.title="Signin Failed",void(this.error.message=a)}this.authenticated.emit(r)},error:r=>{this.error={title:"Error signing in",message:r.data||"Please check your username and password and try again."}}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["idp-authentication"]],inputs:{strategy:"strategy"},outputs:{authenticated:"authenticated"},decls:1,vars:4,consts:[[3,"text","textColor","color","icon","click"]],template:function(r,a){1&r&&(t.TgZ(0,"authentication-button",0),t.NdJ("click",function(){return a.signin()}),t.qZA()),2&r&&t.Q6J("text",a.strategy.title)("textColor",a.strategy.textColor)("color",a.strategy.buttonColor)("icon",a.strategy.icon)},dependencies:[X]}),i})();var g=C(24006),ht=C(46605),b=C(59549),j=C(44144);function Tt(i,d){if(1&i&&t._UZ(0,"span",11),2&i){const r=t.oxw(2);t.Q6J("innerHTML",r.contact,t.oJD)}}function R(i,d){if(1&i&&(t.TgZ(0,"div",6)(1,"div",7)(2,"span",8),t._uU(3,"sentiment_dissatisfied"),t.qZA(),t.TgZ(4,"div",9)(5,"div"),t._uU(6),t.YNc(7,Tt,1,1,"span",10),t.qZA()()()()),2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(6),t.hij("",null==r.error?null:r.error.message," "),t.xp6(1),t.Q6J("ngIf",r.contact)}}let nt=(()=>{class i{constructor(r){this.userService=r,this.authenticated=new t.vpe,this.authenticationForm=new g.cw({username:new g.NI("",[g.kI.required]),password:new g.NI("",[g.kI.required])})}onSignin(){if(this.authenticationForm.invalid)return;const{username:r,password:a}=this.authenticationForm.value;this.userService.ldapSignin(r,a).subscribe({next:p=>{this.authenticated.emit(p)},error:p=>{this.error={title:"Error Signing In",message:p.error||"Please check your username and password and try again."};const y=ht.O.emailLink(this.api.contactInfo,p.error,r,this.strategy),Q=ht.O.phoneLink(this.api.contactInfo);this.contact=`Should you need futher assistance you may contact your Mage administrator via ${[`<a href=${y}>email</a>`,`<a href=${Q}>phone</a>`].join(" or ")}.`}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["ldap-authentication"]],inputs:{api:"api",strategy:"strategy"},outputs:{authenticated:"authenticated"},decls:17,vars:10,consts:[[3,"formGroup","ngSubmit"],["appearance","fill"],["matInput","","formControlName","username","required","",3,"placeholder"],["matInput","","type","password","formControlName","password","required","",3,"placeholder"],[3,"text","textColor","color","icon","click"],["class","error-container",4,"ngIf"],[1,"error-container"],[1,"error"],[1,"material-symbols-outlined","error__icon"],[1,"error__message"],["class","contact",3,"innerHTML",4,"ngIf"],[1,"contact",3,"innerHTML"]],template:function(r,a){1&r&&(t.TgZ(0,"form",0),t.NdJ("ngSubmit",function(){return a.onSignin()}),t.TgZ(1,"div")(2,"mat-form-field",1)(3,"mat-label"),t._uU(4),t.qZA(),t._UZ(5,"input",2),t.TgZ(6,"mat-error"),t._uU(7,"Username is required"),t.qZA()()(),t.TgZ(8,"div")(9,"mat-form-field",1)(10,"mat-label"),t._uU(11),t.qZA(),t._UZ(12,"input",3),t.TgZ(13,"mat-error"),t._uU(14,"Password is required"),t.qZA()()(),t.TgZ(15,"authentication-button",4),t.NdJ("click",function(){return a.onSignin()}),t.qZA(),t.YNc(16,R,8,3,"div",5),t.qZA()),2&r&&(t.Q6J("formGroup",a.authenticationForm),t.xp6(4),t.hij("",a.strategy.title," Username"),t.xp6(1),t.MGl("placeholder","",a.strategy.title," Username"),t.xp6(6),t.hij("",a.strategy.title," Password"),t.xp6(1),t.MGl("placeholder","",a.strategy.title," Password"),t.xp6(3),t.Q6J("text",a.strategy.title)("textColor",a.strategy.textColor)("color",a.strategy.buttonColor)("icon",a.strategy.icon),t.xp6(1),t.Q6J("ngIf",a.error))},dependencies:[I.O5,b.TO,b.KE,b.hX,j.Nt,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u,X],styles:['[_nghost-%COMP%] a{color:#e53935;cursor:pointer;text-decoration:underline}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:8px}.auth-button[_ngcontent-%COMP%]{width:100%}.signup[_ngcontent-%COMP%]{display:flex;margin-top:32px;justify-content:center;gap:8px}.signup-text[_ngcontent-%COMP%]{opacity:60%}.signup-button[_ngcontent-%COMP%]{cursor:pointer;color:#1e88e5}.error-container[_ngcontent-%COMP%]{overflow:hidden}.error[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px;color:#e53935;border-radius:4px;padding:0 16px}.error__icon[_ngcontent-%COMP%]{font-size:48px;font-variation-settings:"fill" 0,"wght" 400,"grad" 0,"opsz" 48}.error__message[_ngcontent-%COMP%]{flex:1;text-align:center}']}),i})();var xt=C(19132),_t=C(82524),At=C(11481);const bt=["errorElement"];function S(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Username is required "),t.qZA())}function gt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Password is required "),t.qZA())}function Mt(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",8,9),t.NdJ("@slide.done",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.scrollToError())}),t.TgZ(2,"span",10),t._uU(3,"sentiment_dissatisfied"),t.qZA(),t._UZ(4,"div",11),t.qZA()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(4),t.Q6J("innerHTML",r.error.message,t.oJD)}}function St(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",12)(1,"div")(2,"span",13),t._uU(3,"New to Mage?"),t.qZA(),t.TgZ(4,"a",14),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onSignup())}),t._uU(5,"Sign Up Now"),t.qZA()(),t.TgZ(6,"div")(7,"span",13),t._uU(8,"Need More Info?"),t.qZA(),t.TgZ(9,"a",14),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onAboutClick())}),t._uU(10,"About Mage."),t.qZA()()()}}let Nt=(()=>{class i{constructor(r,a,p,y){this.router=r,this.apiService=a,this.userService=p,this.sanitizer=y,this.signup=new t.vpe,this.authenticated=new t.vpe,this.authenticationForm=new g.cw({username:new g.NI("",[g.kI.required]),password:new g.NI("",[g.kI.required])})}ngOnInit(){this.userService.myself&&this.router.navigate(["home"]),this.apiService.getApi().subscribe(r=>{this.api=r})}onSignin(){if(this.authenticationForm.invalid)return;const{username:r,password:a}=this.authenticationForm.value;this.userService.signin(r,a).subscribe({next:p=>{this.authenticated.emit(p)},error:p=>{let y=p.error||"Please check your username and password and try again.";(this.api.contactInfo.email||this.api.contactInfo.phone)&&(y=`${y} Should you need futher assistance you may contact your Mage administrator via ${[`<a href=${ht.O.emailLink(this.api.contactInfo,p.error,r,this.strategy)}>email</a>`,`<a href=${ht.O.phoneLink(this.api.contactInfo)}>phone</a>`].join(" or ")}.`),this.error={title:"Error Signing In",message:this.sanitizer.sanitize(t.q3G.HTML,y)},this.scrollToError()}})}onSignup(){this.signup.emit()}onAboutClick(){this.router.navigate(["about"])}scrollToError(){try{this.errorElement.nativeElement.scrollIntoView({behavior:"smooth"})}catch{}}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(xt.F0),t.Y36(_t.s),t.Y36(D.K),t.Y36(At.H7))},i.\u0275cmp=t.Xpm({type:i,selectors:[["local-authentication"]],viewQuery:function(r,a){if(1&r&&t.Gf(bt,5),2&r){let p;t.iGM(p=t.CRH())&&(a.errorElement=p.first)}},inputs:{api:"api",strategy:"strategy",landing:"landing"},outputs:{signup:"signup",authenticated:"authenticated"},decls:15,vars:5,consts:[[1,"auth-form",3,"formGroup","ngSubmit"],["appearance","fill",1,"auth-form__field"],["matInput","","formControlName","username","required","","placeholder","Enter your username"],[4,"ngIf"],["matInput","","type","password","formControlName","password","required","","placeholder","Enter your password"],["mat-flat-button","","color","primary","type","submit",1,"auth-form__button"],["class","auth-form__error",4,"ngIf"],["class","auth-form__footer",4,"ngIf"],[1,"auth-form__error"],["errorElement",""],[1,"material-symbols-outlined","auth-form__error-icon"],[1,"auth-form__error-message",3,"innerHTML"],[1,"auth-form__footer"],[1,"auth-form__footer-text"],[1,"auth-form__footer-link",3,"click"]],template:function(r,a){if(1&r&&(t.TgZ(0,"form",0),t.NdJ("ngSubmit",function(){return a.onSignin()}),t.TgZ(1,"mat-form-field",1)(2,"mat-label"),t._uU(3,"Username"),t.qZA(),t._UZ(4,"input",2),t.YNc(5,S,2,0,"mat-error",3),t.qZA(),t.TgZ(6,"mat-form-field",1)(7,"mat-label"),t._uU(8,"Password"),t.qZA(),t._UZ(9,"input",4),t.YNc(10,gt,2,0,"mat-error",3),t.qZA(),t.TgZ(11,"button",5),t._uU(12," Sign In "),t.qZA(),t.YNc(13,Mt,5,2,"div",6),t.YNc(14,St,11,0,"div",7),t.qZA()),2&r){let p,y;t.Q6J("formGroup",a.authenticationForm),t.xp6(5),t.Q6J("ngIf",null==(p=a.authenticationForm.get("username"))?null:p.hasError("required")),t.xp6(5),t.Q6J("ngIf",null==(y=a.authenticationForm.get("password"))?null:y.hasError("required")),t.xp6(3),t.Q6J("ngIf",a.error),t.xp6(1),t.Q6J("ngIf",a.landing)}},dependencies:[I.O5,q.lW,b.TO,b.KE,b.hX,j.Nt,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u],styles:['.auth-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.auth-form__field[_ngcontent-%COMP%], .auth-form__button[_ngcontent-%COMP%]{width:100%}.auth-form__error[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;margin:24px 0;padding:16px;border-radius:4px;background-color:#ffebee;color:#b71c1c;overflow:hidden}.auth-form__error-icon[_ngcontent-%COMP%]{font-size:48px;font-variation-settings:"fill" 0,"wght" 400,"grad" 0,"opsz" 48}.auth-form__error-message[_ngcontent-%COMP%]{text-align:center}.auth-form__footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:100px;margin-top:32px;flex-wrap:wrap;text-align:center}.auth-form__footer[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;gap:15px}.auth-form__footer-text[_ngcontent-%COMP%]{opacity:.6}.auth-form__footer-link[_ngcontent-%COMP%]{color:#1e88e5;cursor:pointer;text-decoration:underline;font-weight:500}.auth-form__footer-link[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] a{color:#e53935;cursor:pointer;text-decoration:underline}'],data:{animation:[(0,x.X$)("slide",[(0,x.eR)(":enter",[(0,x.oB)({height:"0px",opacity:0}),(0,x.jt)("250ms ease-out",(0,x.oB)({height:"*",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("250ms ease-out",(0,x.oB)({height:"0px",opacity:0}))])])]}}),i})();function Dt(i,d){1&i&&(t.TgZ(0,"div",7)(1,"div",8),t._uU(2,"Welcome to Mage"),t.qZA(),t.TgZ(3,"div",9),t._uU(4,"Sign in to your account"),t.qZA()())}function Ut(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"local-authentication",10),t.NdJ("signup",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onSignup())})("authenticated",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw();t.Q6J("landing",r.landing)}}function A(i,d){1&i&&(t.TgZ(0,"div")(1,"div",11),t._UZ(2,"div",12),t.TgZ(3,"div",13),t._uU(4,"or"),t.qZA(),t._UZ(5,"div",12),t.qZA()())}function F(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"idp-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function h(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"idp-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function f(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"idp-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function v(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"ldap-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function O(i,d){if(1&i&&(t.TgZ(0,"div"),t.ynx(1,14),t.YNc(2,F,1,1,"idp-authentication",15),t.YNc(3,h,1,1,"idp-authentication",15),t.YNc(4,f,1,1,"idp-authentication",15),t.YNc(5,v,1,1,"ldap-authentication",15),t.BQk(),t.qZA()),2&i){const r=d.$implicit;t.xp6(1),t.Q6J("ngSwitch",null==r?null:r.type),t.xp6(1),t.Q6J("ngSwitchCase","oauth"),t.xp6(1),t.Q6J("ngSwitchCase","saml"),t.xp6(1),t.Q6J("ngSwitchCase","openidconnect"),t.xp6(1),t.Q6J("ngSwitchCase","ldap")}}let Z=(()=>{class i{constructor(){this.landing=!1,this.signup=new t.vpe,this.authenticated=new t.vpe}ngOnChanges(r){r.api&&(this.api=r.api.currentValue,this.localAuthenticationStrategy=this.api?.authenticationStrategies.local,this.localAuthenticationStrategy&&(this.localAuthenticationStrategy.name="local"),this.thirdPartyStrategies=ct.UI(ct.CE(this.api?.authenticationStrategies,this.localStrategyFilter),function(a,p){return a.name=p,a}))}localStrategyFilter(r,a){return"local"===a}signin(r){this.authenticated.emit(r)}onSignup(){this.signup.emit()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["authentication"]],inputs:{api:"api",landing:"landing"},outputs:{signup:"signup",authenticated:"authenticated"},features:[t.TTD],decls:7,vars:4,consts:[[1,"signin-container"],["class","welcome",4,"ngIf"],[1,"authentications"],["strategy","localAuthenticationStrategy",3,"landing","signup","authenticated",4,"ngIf"],[4,"ngIf"],[1,"strategies"],[4,"ngFor","ngForOf"],[1,"welcome"],[1,"welcome__title"],[1,"welcome__message"],["strategy","localAuthenticationStrategy",3,"landing","signup","authenticated"],[1,"or"],[1,"or__divider"],[1,"or__text"],[3,"ngSwitch"],[3,"strategy","authenticated",4,"ngSwitchCase"],[3,"strategy","authenticated"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0),t.YNc(1,Dt,5,0,"div",1),t.TgZ(2,"div",2),t.YNc(3,Ut,1,1,"local-authentication",3),t.YNc(4,A,6,0,"div",4),t.TgZ(5,"div",5),t.YNc(6,O,6,5,"div",6),t.qZA()()()),2&r&&(t.xp6(1),t.Q6J("ngIf",a.landing),t.xp6(2),t.Q6J("ngIf",a.localAuthenticationStrategy),t.xp6(1),t.Q6J("ngIf",a.localAuthenticationStrategy&&a.thirdPartyStrategies.length),t.xp6(2),t.Q6J("ngForOf",a.thirdPartyStrategies))},dependencies:[I.sg,I.O5,I.RF,I.n9,E,nt,Nt],styles:["[_nghost-%COMP%]{height:100%;width:100%}.authentications[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:start}.signin-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px}.welcome[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;color:#1e88e5;height:30vh}.welcome__title[_ngcontent-%COMP%]{margin-bottom:16px;font:400 45px/48px Roboto,Helvetica Neue,sans-serif}.welcome__message[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.or[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:8px;margin:36px 0}.or__text[_ngcontent-%COMP%]{opacity:.6}.or__divider[_ngcontent-%COMP%]{flex:1;height:2px;background-color:#00000026;border-radius:1px}.strategies[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}"]}),i})();function tt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Invalid access code"),t.qZA())}let it=(()=>{class i{constructor(r){this.userService=r,this.authorized=new t.vpe,this.deviceId=new g.NI("",[g.kI.required])}authorize(){this.deviceId.setErrors(null),this.userService.authorize(this.token,this.deviceId.value).subscribe({next:r=>{this.authorized.emit({token:r.token})},error:()=>{this.deviceId.setErrors({invalid:!0})}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["authorization"]],inputs:{token:"token"},outputs:{authorized:"authorized"},decls:15,vars:2,consts:[[1,"authorization"],[1,"header"],[1,"header__title"],[1,"header__message"],["appearance","fill"],["matInput","","placeholder","Access Code","type","deviceId","required","",3,"formControl","keydown.enter"],[4,"ngIf"],[1,"authorize"],["mat-flat-button","","color","primary",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"Access Code"),t.qZA(),t.TgZ(4,"div",3),t._uU(5,"Please enter your Mage access code. If you do not have an access code please ask you Mage administrator to provide you with one."),t.qZA()(),t.TgZ(6,"div")(7,"mat-form-field",4)(8,"mat-label"),t._uU(9,"Access Code"),t.qZA(),t.TgZ(10,"input",5),t.NdJ("keydown.enter",function(){return a.authorize()}),t.qZA(),t.YNc(11,tt,2,0,"mat-error",6),t.qZA()(),t.TgZ(12,"div",7)(13,"button",8),t.NdJ("click",function(){return a.authorize()}),t._uU(14,"Continue to Mage"),t.qZA()()()),2&r&&(t.xp6(10),t.Q6J("formControl",a.deviceId),t.xp6(1),t.Q6J("ngIf",a.deviceId.hasError("invalid")))},dependencies:[I.O5,q.lW,b.TO,b.KE,b.hX,j.Nt,g.Fj,g.JJ,g.Q7,g.oH],styles:["[_nghost-%COMP%]{width:100%}.authorization[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px}.header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;height:30vh}.header__title[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;color:#1e88e5;margin-bottom:16px}.header__message[_ngcontent-%COMP%]{font:400 16px/20px Roboto,Helvetica Neue,sans-serif;margin-bottom:32px;opacity:60%}.authorize[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),i})();var $=C(25022),Y=C(34726),J=C(93935),B=C(66088),ot=C(64979),Ht=C(80529),Kt=C(96213);let Gt=(()=>{class i{constructor(r){this.httpClient=r}initialize(r,a,p){return this.httpClient.post("/api/setup",{username:r,password:a,passwordconfirm:a,uid:p},{context:(new Ht.qT).set(Kt.h,!0)})}}return i.\u0275fac=function(r){return new(r||i)(t.LFG(Ht.eN))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var qt=C(73162);function Vt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required"),t.qZA())}function It(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Passwords must match"),t.qZA())}function _e(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Password confirmation is required"),t.qZA())}function ge(i,d){if(1&i&&(t.TgZ(0,"div",19)(1,"div",20)(2,"span",21),t._uU(3,"sentiment_dissatisfied"),t.qZA(),t.TgZ(4,"div",22)(5,"div"),t._uU(6),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.qZA()()()()),2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(6),t.Oqu(null==r.error?null:r.error.title),t.xp6(2),t.Oqu(null==r.error?null:r.error.message)}}let ve=(()=>{class i{constructor(r,a){this.userService=r,this.initializeService=a,this.initialized=new t.vpe,this.accountForm=new g.cw({username:new g.NI("",[g.kI.required]),password:new g.NI("",[g.kI.required]),passwordconfirm:new g.NI("",[g.kI.required]),accessCode:new g.NI("",[g.kI.required])}),this.accountForm.controls.password.valueChanges.subscribe(p=>{this.onPasswordChanged(p)})}ngOnInit(){Y.Mu.setOptions({dictionary:{...J.F,...B.F},graphs:J.x,translations:ot.Z})}onPasswordChanged(r){if(r&&r.length>0){const a=r&&r.length?(0,Y.tu)(r,[this.accountForm.value.username]).score:0;this.passwordStrength=$.A[a]}else this.passwordStrength=$.A[0]}onInitialize(){const{username:r,password:a,passwordconfirm:p,accessCode:y}=this.accountForm.value;this.accountForm.controls.password.setErrors(a!==p?{match:!0}:a.length<1?{required:!0}:null),this.accountForm.markAllAsTouched(),!this.accountForm.invalid&&this.initializeService.initialize(r,a,y).subscribe({next:()=>{this.userService.signin(r,a).subscribe({next:Q=>{this.userService.authorize(Q.token,y).subscribe({next:et=>{this.initialized.emit({token:et.token})}})}})},error:Q=>{this.error={title:"Could not create account",message:Q.error}}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K),t.Y36(Gt))},i.\u0275cmp=t.Xpm({type:i,selectors:[["initialize"]],outputs:{initialized:"initialized"},decls:47,vars:7,consts:[[1,"container"],[1,"welcome"],[1,"welcome__title"],[1,"welcome__message"],[1,"form",3,"formGroup","ngSubmit"],["appearance","fill"],["matInput","","placeholder","Username","formControlName","username","required",""],["matInput","","placeholder","Password","type","password","formControlName","password","required",""],[4,"ngIf"],["matInput","","placeholder","Confirm Password","type","password","formControlName","passwordconfirm","required",""],[1,"password-strength"],[1,"password-strength__text"],[1,"mat-body-1"],[1,"mat-body-2"],["mode","determinate",3,"value"],["matInput","","placeholder","Access Code","type","text","formControlName","accessCode","required",""],[1,"actions"],["mat-flat-button","","color","primary",1,"actions__button"],["class","error-container",4,"ngIf"],[1,"error-container"],[1,"error"],[1,"material-symbols-outlined","error__icon"],[1,"error__message"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"Admin Account Creation"),t.qZA(),t.TgZ(4,"div",3),t._uU(5,"Create an account to access and administor Mage"),t.qZA()(),t.TgZ(6,"form",4),t.NdJ("ngSubmit",function(){return a.onInitialize()}),t.TgZ(7,"div")(8,"mat-form-field",5)(9,"mat-label"),t._uU(10,"Username"),t.qZA(),t._UZ(11,"input",6),t.TgZ(12,"mat-error"),t._uU(13,"Username is required"),t.qZA()()(),t.TgZ(14,"div")(15,"mat-form-field",5)(16,"mat-label"),t._uU(17,"Password"),t.qZA(),t._UZ(18,"input",7),t.YNc(19,Vt,2,0,"mat-error",8),t.YNc(20,It,2,0,"mat-error",8),t.qZA()(),t.TgZ(21,"div")(22,"mat-form-field",5)(23,"mat-label"),t._uU(24,"Confirm Password"),t.qZA(),t._UZ(25,"input",9),t.YNc(26,_e,2,0,"mat-error",8),t.qZA()(),t.TgZ(27,"div",10)(28,"div",11)(29,"div",12),t._uU(30,"Password Strengh"),t.qZA(),t.TgZ(31,"div",13),t._uU(32),t.qZA()(),t._UZ(33,"mat-progress-bar",14),t.qZA(),t.TgZ(34,"div")(35,"mat-form-field",5)(36,"mat-label"),t._uU(37,"Access Code"),t.qZA(),t._UZ(38,"input",15),t.TgZ(39,"mat-hint"),t._uU(40,"This code will allow users to access Mage via the web client"),t.qZA(),t.TgZ(41,"mat-error"),t._uU(42,"Access code is required"),t.qZA()()(),t.TgZ(43,"div",16)(44,"button",17),t._uU(45,"Create Account"),t.qZA()(),t.YNc(46,ge,9,3,"div",18),t.qZA()()),2&r&&(t.xp6(6),t.Q6J("formGroup",a.accountForm),t.xp6(13),t.Q6J("ngIf",a.accountForm.controls.password.hasError("required")),t.xp6(1),t.Q6J("ngIf",a.accountForm.controls.password.hasError("match")),t.xp6(6),t.Q6J("ngIf",a.accountForm.controls.passwordconfirm.hasError("required")),t.xp6(6),t.Oqu(null==a.passwordStrength?null:a.passwordStrength.text),t.xp6(1),t.Q6J("value",null==a.passwordStrength?null:a.passwordStrength.value),t.xp6(13),t.Q6J("ngIf",a.error))},dependencies:[I.O5,q.lW,b.TO,b.KE,b.bx,b.hX,j.Nt,qt.pW,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u],styles:['[_nghost-%COMP%]{width:100%;height:100%}[_nghost-%COMP%] a{color:#e53935;cursor:pointer;text-decoration:underline}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:16px}.container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px;padding-top:32px}.form[_ngcontent-%COMP%]{padding-bottom:16px}.welcome[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;color:#1e88e5;height:30vh}.welcome__title[_ngcontent-%COMP%]{margin-bottom:16px;font:400 45px/48px Roboto,Helvetica Neue,sans-serif}.welcome__message[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.password-strength[_ngcontent-%COMP%]{margin-bottom:32px}.password-strength__text[_ngcontent-%COMP%]{margin-bottom:8px}.actions[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;align-items:center;gap:16px;margin-top:16px}.actions__button[_ngcontent-%COMP%]{flex:1}.error-container[_ngcontent-%COMP%]{overflow:hidden}.error[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px;color:#e53935;border-radius:4px;padding:0 16px}.error__icon[_ngcontent-%COMP%]{font-size:48px;font-variation-settings:"fill" 0,"wght" 400,"grad" 0,"opsz" 48}.error__message[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;text-align:center;gap:4px}'],data:{animation:[(0,x.X$)("slide",[(0,x.eR)(":enter",[(0,x.oB)({height:"0px",opacity:0}),(0,x.jt)("250ms ease-out",(0,x.oB)({height:"*",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("250ms ease-out",(0,x.oB)({height:"0px",opacity:0}))])])]}}),i})();var $t=C(77579),U=C(82722);function Ce(i,d,r){return a=>{const p=a.value;if(!p)return null;const y=i.helpTextTemplate,Q=[],et={},be=[{enabled:i.passwordMinLengthEnabled,valid:p.length>=i.passwordMinLength,key:"passwordMinLength",template:y.passwordMinLength,value:i.passwordMinLength},{enabled:i.lowLettersEnabled,valid:(p.match(/[a-z]/g)||[]).length>=i.lowLetters,key:"lowLetters",template:y.lowLetters,value:i.lowLetters},{enabled:i.minCharsEnabled,valid:(p.match(/[a-z]/gi)||[]).length>=i.minChars,key:"minChars",template:y.minChars,value:i.minChars},{enabled:i.highLettersEnabled,valid:(p.match(/[A-Z]/g)||[]).length>=i.highLetters,key:"highLetters",template:y.highLetters,value:i.highLetters},{enabled:i.numbersEnabled,valid:(p.match(/[0-9]/g)||[]).length>=i.numbers,key:"numbers",template:y.numbers,value:i.numbers},{enabled:i.specialCharsEnabled,valid:(p.match(/[^a-zA-Z0-9]/g)||[]).length>=i.specialChars,key:"specialChars",template:y.specialChars,value:i.specialChars}];for(const W of be)W.enabled&&!W.valid&&(et[W.key]=!0,Q.push(`Must ${W.template?.replace("#",W.value.toString())}`));if(i.maxConCharsEnabled&&new RegExp(`[a-zA-Z]{${i.maxConChars+1},}`).test(p)&&(et.maxConChars=!0,Q.push(`Must ${y.maxConChars?.replace("#",i.maxConChars.toString())}`)),i.restrictSpecialCharsEnabled){const W=i.restrictSpecialChars.split("");(p.match(/[^a-zA-Z0-9]/g)||[]).some(pe=>!W.includes(pe))&&(et.restrictSpecialChars=!0,Q.push(`Must ${y.restrictSpecialChars?.replace("#",i.restrictSpecialChars)}`))}return d(Q),Object.keys(et).length?et:null}}function Wt(i){return d=>d.value!==i()?{match:!0}:null}var Xt=C(97392),M=C(10266);function jt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Username is required "),t.qZA())}function te(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Username already exists "),t.qZA())}function Lt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,jt,2,0,"mat-error",28),t.YNc(2,te,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.username.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.signup.controls.username.hasError("exists"))}}function ee(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Display name is required "),t.qZA())}function we(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,ee,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.displayName.hasError("required"))}}function vt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Must be a valid email address "),t.qZA())}function Rt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,vt,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.email.hasError("email"))}}function Jt(i,d){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&i){const r=d.$implicit;t.xp6(1),t.hij(" ",r," ")}}function ne(i,d){if(1&i&&(t.TgZ(0,"mat-error"),t.YNc(1,Jt,2,1,"div",29),t.qZA()),2&i){const r=d.ngIf,a=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",a.getPasswordErrorMessages(r))}}function zt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,ne,2,1,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.password.errors)}}function ie(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Password confirmation is required "),t.qZA())}function Te(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Passwords must match "),t.qZA())}function oe(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,ie,2,0,"mat-error",28),t.YNc(2,Te,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.passwordconfirm.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.signup.controls.passwordconfirm.hasError("match"))}}function xe(i,d){1&i&&(t.TgZ(0,"div",30)(1,"div",31)(2,"div",32),t._uU(3,"Generating Captcha..."),t.qZA(),t._UZ(4,"mat-progress-bar",33),t.qZA()())}function Ae(i,d){if(1&i&&(t.TgZ(0,"div",34),t._UZ(1,"img",35),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("src",r.captcha.uri,t.LSH)}}function Me(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",36)(1,"button",37),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.getCaptcha())}),t.TgZ(2,"mat-icon"),t._uU(3,"refresh"),t.qZA()()()}}function Ie(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Captcha is required"),t.qZA())}function Pe(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Invalid captcha"),t.qZA())}function dt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,Ie,2,0,"mat-error",28),t.YNc(2,Pe,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.captchaText.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.signup.controls.captchaText.hasError("invalid"))}}const Oe=function(i){return{"--password-bar-color":i}};let re=(()=>{class i{constructor(r,a){this.apiService=r,this.userService=a,this.complete=new t.vpe,this.showPassword=!1,this.showConfirmPassword=!1,this.passwordErrorMessages=[],this.signup=new g.cw({username:new g.NI("",[g.kI.required]),displayName:new g.NI("",[g.kI.required]),email:new g.NI("",[g.kI.email]),phone:new g.NI(""),password:new g.NI("",[g.kI.required]),passwordconfirm:new g.NI("",[g.kI.required]),captchaText:new g.NI("",[g.kI.required])}),this.loadingCaptcha=!1,this.captcha={},this.destroy$=new $t.x}ngOnInit(){Y.Mu.setOptions({dictionary:{...J.F,...B.F},graphs:J.x,translations:ot.Z}),this.apiService.getApi().pipe((0,U.R)(this.destroy$)).subscribe(r=>{this.passwordPolicy=r.authenticationStrategies.local.settings.passwordPolicy,this.signup.setControl("password",new g.NI("",{validators:[g.kI.required,Ce(this.passwordPolicy,p=>this.passwordErrorMessages=p)]})),this.signup.setControl("passwordconfirm",new g.NI("",{validators:[g.kI.required,Wt(()=>this.signup.controls.password.value??"")]})),this.signup.controls.password.valueChanges.pipe((0,U.R)(this.destroy$)).subscribe(p=>{this.onPasswordChanged(p??"")})})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onPasswordChanged(r){this.passwordStrength=function N(i,d){const r=i?(0,Y.tu)(i,d?[d]:[]).score:0;return $.A[r]}(r,this.signup.controls.username.value??"")}get passwordTooltipText(){return this.passwordPolicy?function ye(i){const d=[];return i.passwordMinLengthEnabled&&d.push(`\u2022 At least ${i.passwordMinLength} characters`),i.minCharsEnabled&&d.push(`\u2022 At least ${i.minChars} letters`),i.lowLettersEnabled&&d.push(`\u2022 Minimum ${i.lowLetters} lowercase letter(s)`),i.highLettersEnabled&&d.push(`\u2022 Minimum ${i.highLetters} uppercase letter(s)`),i.numbersEnabled&&d.push(`\u2022 Minimum ${i.numbers} number(s)`),i.specialCharsEnabled&&d.push(`\u2022 Minimum ${i.specialChars} special character(s)`),i.maxConCharsEnabled&&d.push(`\u2022 Max ${i.maxConChars} repeated characters`),i.restrictSpecialCharsEnabled&&d.push(`\u2022 Allowed: ${i.restrictSpecialChars}`),d.join("\n")}(this.passwordPolicy):""}getCaptcha(){this.loadingCaptcha=!0;const r=this.signup.controls.username.value;r?this.userService.signup(r).pipe((0,U.R)(this.destroy$)).subscribe(a=>{this.captcha={uri:a.captcha,token:a.token},this.loadingCaptcha=!1}):this.loadingCaptcha=!1}onCancel(){this.complete.emit({reason:"cancel"})}onSignup(){if((this.signup.controls.password.value??"")!==(this.signup.controls.passwordconfirm.value??""))this.signup.controls.passwordconfirm.setErrors({match:!0});else{const p=this.signup.controls.passwordconfirm,y=p.errors;y?.match&&(delete y.match,p.setErrors(Object.keys(y).length?y:null))}this.signup.markAllAsTouched(),this.signup.valid&&this.userService.signupVerify(this.signup.value,this.captcha.token).pipe((0,U.R)(this.destroy$)).subscribe({next:p=>{this.complete.emit({reason:"signup",user:p})},error:p=>{401===p.status?this.getCaptcha():403===p.status?this.signup.controls.captchaText.setErrors({invalid:!0}):409===p.status&&(this.captcha={},this.signup.controls.username.setErrors({exists:!0}))}})}getPasswordErrorMessages(r){return r?.required?["Password is required"]:this.passwordErrorMessages}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(_t.s),t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["signup"]],outputs:{complete:"complete"},decls:65,vars:21,consts:[[1,"signup-container"],[1,"welcome"],[1,"welcome__title"],[1,"welcome__message"],[1,"signup",3,"formGroup"],["appearance","fill"],["matInput","","placeholder","Username","formControlName","username","required","",3,"blur"],["class","password-error-popover",4,"ngIf"],["matInput","","placeholder","Display Name","formControlName","displayName","required",""],["matInput","","placeholder","Email","formControlName","email"],["matInput","","placeholder","Phone","formControlName","phone"],["matInput","","placeholder","Password","formControlName","password","required","",3,"type"],["mat-icon-button","","type","button","matSuffix","",3,"click"],["mat-icon-button","","matTooltipClass","tooltip-wide","matSuffix","",3,"matTooltip"],["matInput","","placeholder","Confirm Password","formControlName","passwordconfirm","required","",3,"type"],[1,"password-strength"],[1,"mat-body-1"],[1,"mat-body-2"],["mode","determinate",1,"custom-password-bar",3,"value","ngStyle"],[1,"auth-captcha-container"],["class","auth-captcha-progress",4,"ngIf"],["class","auth-captcha",4,"ngIf"],["class","auth-captcha-refresh",4,"ngIf"],["matInput","","placeholder","Captcha","formControlName","captchaText","required",""],[1,"actions"],["mat-stroked-button","","type","button",1,"actions__button",3,"click"],["mat-flat-button","","color","primary","type","submit",1,"actions__button",3,"disabled","click"],[1,"password-error-popover"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"auth-captcha-progress"],[1,"auth-captcha-progress__container"],[1,"auth-captcha-progress-text"],["mode","indeterminate",1,"auth-captcha-progressbar"],[1,"auth-captcha"],["alt","captcha image","width","100%","height","100%",3,"src"],[1,"auth-captcha-refresh"],["mat-icon-button","",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"New to Mage?"),t.qZA(),t.TgZ(4,"div",3),t._uU(5,"Let's set up your account."),t.qZA()(),t.TgZ(6,"form",4)(7,"mat-form-field",5)(8,"mat-label"),t._uU(9,"Username"),t.qZA(),t.TgZ(10,"input",6),t.NdJ("blur",function(){return a.getCaptcha()}),t.qZA(),t.YNc(11,Lt,3,2,"div",7),t.qZA(),t.TgZ(12,"mat-form-field",5)(13,"mat-label"),t._uU(14,"Display Name"),t.qZA(),t._UZ(15,"input",8),t.YNc(16,we,2,1,"div",7),t.qZA(),t.TgZ(17,"mat-form-field",5)(18,"mat-label"),t._uU(19,"Email"),t.qZA(),t._UZ(20,"input",9),t.YNc(21,Rt,2,1,"div",7),t.qZA(),t.TgZ(22,"mat-form-field",5)(23,"mat-label"),t._uU(24,"Phone"),t.qZA(),t._UZ(25,"input",10),t.qZA(),t.TgZ(26,"mat-form-field",5)(27,"mat-label"),t._uU(28,"Password"),t.qZA(),t._UZ(29,"input",11),t.TgZ(30,"button",12),t.NdJ("click",function(){return a.showPassword=!a.showPassword}),t.TgZ(31,"mat-icon"),t._uU(32),t.qZA()(),t.TgZ(33,"button",13)(34,"mat-icon"),t._uU(35,"info"),t.qZA()(),t.YNc(36,zt,2,1,"div",7),t.qZA(),t.TgZ(37,"mat-form-field",5)(38,"mat-label"),t._uU(39,"Confirm Password"),t.qZA(),t._UZ(40,"input",14),t.TgZ(41,"button",12),t.NdJ("click",function(){return a.showConfirmPassword=!a.showConfirmPassword}),t.TgZ(42,"mat-icon"),t._uU(43),t.qZA()(),t.YNc(44,oe,3,2,"div",7),t.qZA(),t.TgZ(45,"div",15)(46,"div",16),t._uU(47,"Password Strength"),t.qZA(),t.TgZ(48,"div",17),t._uU(49),t.qZA(),t._UZ(50,"mat-progress-bar",18),t.qZA(),t.TgZ(51,"div",19),t.YNc(52,xe,5,0,"div",20),t.YNc(53,Ae,2,1,"div",21),t.YNc(54,Me,4,0,"div",22),t.qZA(),t.TgZ(55,"mat-form-field",5)(56,"mat-label"),t._uU(57,"Captcha"),t.qZA(),t._UZ(58,"input",23),t.YNc(59,dt,3,2,"div",7),t.qZA(),t.TgZ(60,"div",24)(61,"button",25),t.NdJ("click",function(){return a.onCancel()}),t._uU(62," Cancel "),t.qZA(),t.TgZ(63,"button",26),t.NdJ("click",function(){return a.onSignup()}),t._uU(64," Signup "),t.qZA()()()()),2&r&&(t.xp6(6),t.Q6J("formGroup",a.signup),t.xp6(5),t.Q6J("ngIf",a.signup.controls.username.invalid&&a.signup.controls.username.touched),t.xp6(5),t.Q6J("ngIf",a.signup.controls.displayName.invalid&&a.signup.controls.displayName.touched),t.xp6(5),t.Q6J("ngIf",a.signup.controls.email.invalid&&a.signup.controls.email.touched),t.xp6(8),t.Q6J("type",a.showPassword?"text":"password"),t.xp6(3),t.Oqu(a.showPassword?"visibility_off":"visibility"),t.xp6(1),t.s9C("matTooltip",a.passwordTooltipText),t.xp6(3),t.Q6J("ngIf",a.signup.controls.password.invalid&&a.signup.controls.password.touched),t.xp6(4),t.Q6J("type",a.showConfirmPassword?"text":"password"),t.xp6(3),t.Oqu(a.showConfirmPassword?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",a.signup.controls.passwordconfirm.invalid&&a.signup.controls.passwordconfirm.touched),t.xp6(5),t.Oqu(null==a.passwordStrength?null:a.passwordStrength.text),t.xp6(1),t.Q6J("value",null==a.passwordStrength?null:a.passwordStrength.value)("ngStyle",t.VKq(19,Oe,null==a.passwordStrength?null:a.passwordStrength.color)),t.xp6(2),t.Q6J("ngIf",a.loadingCaptcha),t.xp6(1),t.Q6J("ngIf",a.captcha.uri&&!a.loadingCaptcha),t.xp6(1),t.Q6J("ngIf",a.captcha.uri),t.xp6(5),t.Q6J("ngIf",a.signup.controls.captchaText.invalid&&a.signup.controls.captchaText.touched),t.xp6(4),t.Q6J("disabled",a.signup.invalid))},dependencies:[I.sg,I.O5,I.PC,q.lW,Xt.Hw,b.TO,b.KE,b.hX,b.R9,j.Nt,qt.pW,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u,M.gM],styles:["[_nghost-%COMP%]{width:100%;height:100%}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:8px}.signup-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px;padding-top:32px}.signup[_ngcontent-%COMP%]{padding-bottom:16px}.welcome[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;color:#1e88e5}.welcome__title[_ngcontent-%COMP%]{margin-bottom:16px;font:400 45px/48px Roboto,Helvetica Neue,sans-serif}.welcome__message[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.auth-captcha-container[_ngcontent-%COMP%]{position:relative;border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px;width:100%;height:80px;margin:16px 0}.auth-captcha[_ngcontent-%COMP%]{position:absolute;inset:4px 56px}.auth-captcha-progress[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;height:100%}.auth-captcha-progress__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin:0 64px;width:100%}.auth-captcha-progress-text[_ngcontent-%COMP%]{color:#0009;font-size:24px}.auth-captcha-progressbar[_ngcontent-%COMP%]{margin-top:8px}.auth-captcha-refresh[_ngcontent-%COMP%]{position:absolute;right:8px;top:24px}.actions[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;align-items:center;gap:16px;margin-top:16px}.actions__button[_ngcontent-%COMP%]{flex:1}.tooltip-wide[_ngcontent-%COMP%]{white-space:pre-line;max-width:300px}.password-error-popover[_ngcontent-%COMP%]{position:absolute;background:#fff0f0;border:1px solid #f44336;color:#b71c1c;border-radius:4px;padding:8px 12px;font-size:13px;z-index:10;box-shadow:0 2px 6px #00000026;margin-top:4px;width:100%}.error-item[_ngcontent-%COMP%]{margin-bottom:4px}.error-item[_ngcontent-%COMP%]:last-child{margin-bottom:0} .custom-password-bar .mat-progress-bar-fill:after{background-color:var(--password-bar-color)!important}"]}),i})();function Ft(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"authentication",3),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onAuthenticated(p))})("signup",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onSignup())}),t.qZA()()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("landing",r.landing)("api",r.api)}}function Yt(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"authorization",4),t.NdJ("authorized",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onAuthorized(p))}),t.qZA()()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("token",r.getAuthenticationToken())}}function se(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"disclaimer",5),t.NdJ("close",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onDisclaimer(p))}),t.qZA()()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("title",null==r.api||null==r.api.disclaimer?null:r.api.disclaimer.title)("text",null==r.api||null==r.api.disclaimer?null:r.api.disclaimer.text)}}function Pt(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"signup",6),t.NdJ("complete",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.signup(p))}),t.qZA()()}2&i&&t.Q6J("@slide",void 0)}function ae(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"account-status",7),t.NdJ("complete",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onAccountStatus())}),t.qZA()()}2&i&&(t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("active",!0))}function Ee(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"account-status",7),t.NdJ("complete",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onAccountStatus())}),t.qZA()()}2&i&&(t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("active",!1))}function ce(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"initialize",8),t.NdJ("initialized",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onInitialized(p))}),t.qZA()()}2&i&&t.Q6J("@slide",void 0)}var G=(()=>{return(i=G||(G={}))[i.Initialize=0]="Initialize",i[i.Signin=1]="Signin",i[i.Signup=2]="Signup",i[i.Authorization=3]="Authorization",i[i.Disclaimer=4]="Disclaimer",i[i.ActiveAccount=5]="ActiveAccount",i[i.DisabledAccount=6]="DisabledAccount",i[i.InactiveAccount=7]="InactiveAccount",G;var i})();class lt{}class Ot extends lt{constructor(){super(...arguments),this.state=G.Signin}}class le extends lt{constructor(){super(...arguments),this.state=G.Signup}}class Ct extends lt{constructor(d){super(),this.state=G.Authorization,this.authenticationToken=d}}class kt extends lt{constructor(d){super(),this.state=G.Disclaimer,this.apiToken=d}}class ue extends lt{constructor(){super(...arguments),this.state=G.ActiveAccount}}class Ze extends lt{constructor(){super(...arguments),this.state=G.InactiveAccount}}class Bt extends lt{constructor(){super(...arguments),this.state=G.Initialize}}let yt=(()=>{class i{constructor(r,a){this.userService=r,this.localStorageService=a,this.complete=new t.vpe,this.IngressState=G,this.ingress=new Ot}ngOnChanges(r){!0===r.api?.currentValue?.initial&&(this.ingress=new Bt)}localStrategyFilter(r,a){return"local"===a}getAuthenticationToken(){return this.ingress?.authenticationToken}onSignup(){this.ingress=new le}signup(r){this.ingress="signup"===r.reason?r.user.active?new ue:new Ze:new Ot}onAuthenticated(r){this.userService.authorize(r.token,"refresh").subscribe({next:a=>{this.authorized(a.token)},error:()=>{this.ingress=new Ct(r.token)}})}onAuthorized(r){this.authorized(r.token)}authorized(r){!0===this.api.disclaimer?.show?this.ingress=new kt(r):(this.localStorageService.setToken(r),this.complete.emit())}onDisclaimer(r){r.reason===L.ACCEPT?(this.localStorageService.setToken(this.ingress.apiToken),this.complete.emit()):this.ingress=new Ot}onAccountStatus(){this.ingress=new Ot}onInitialized(r){this.localStorageService.setToken(r.token),this.complete.emit()}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K),t.Y36(at.n))},i.\u0275cmp=t.Xpm({type:i,selectors:[["ingress"]],inputs:{api:"api",landing:"landing"},outputs:{complete:"complete"},features:[t.TTD],decls:8,vars:8,consts:[[1,"container"],["class","state",4,"ngIf"],[1,"state"],[3,"landing","api","authenticated","signup"],[3,"token","authorized"],[3,"title","text","close"],[3,"complete"],[3,"active","complete"],[3,"initialized"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0),t.YNc(1,Ft,2,3,"div",1),t.YNc(2,Yt,2,2,"div",1),t.YNc(3,se,2,3,"div",1),t.YNc(4,Pt,2,1,"div",1),t.YNc(5,ae,2,2,"div",1),t.YNc(6,Ee,2,2,"div",1),t.YNc(7,ce,2,1,"div",1),t.qZA()),2&r&&(t.Q6J("@disableOnEnter",void 0),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Signin),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Authorization),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Disclaimer),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Signup),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.ActiveAccount),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.InactiveAccount),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Initialize))},dependencies:[I.O5,k,Z,it,_,ve,re],styles:["[_nghost-%COMP%]{position:relative}.container[_ngcontent-%COMP%]{width:100%;height:100%;min-height:250px;position:relative}.state[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;position:absolute;inset:0}"],data:{animation:[(0,x.X$)("disableOnEnter",[(0,x.eR)(":enter",[])]),(0,x.X$)("slide",[(0,x.eR)(":enter",[(0,x.oB)({transform:"translateX(100%)"}),(0,x.jt)("250ms",(0,x.oB)({transform:"translateX(0%)",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("250ms",(0,x.oB)({transform:"translateX(-100%)",opacity:0}))])])]}}),i})()},89024:(Qt,st,C)=>{C.d(st,{p:()=>pt});var t=C(36895),q=C(19241),L=C(59549),_=C(44144),x=C(97392),D=C(24006),at=C(73162),I=C(4859),k=C(28383),ct=C(10266),K=C(94650);let mt=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=K.oAB({type:P}),P.\u0275inj=K.cJS({imports:[t.ez,I.ot,x.Ps,L.lN,_.c,at.Cv,D.UX,ct.AV]}),P})(),pt=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=K.oAB({type:P}),P.\u0275inj=K.cJS({imports:[mt]}),P})();K.B6R(k.h,[q.t],[])},10266:(Qt,st,C)=>{C.d(st,{AV:()=>Dt,gM:()=>Mt});var t=C(98184),q=C(12687),L=C(36895),_=C(94650),x=C(3238),D=C(79034),at=C(40445),I=C(21281),k=C(29521),ct=C(62289),K=C(83353),mt=C(84080),pt=C(77579),P=C(82722),X=C(95698);C(37340);const g=["tooltip"],j="tooltip-panel",Tt=(0,K.i$)({passive:!0}),xt=new _.OlP("mat-tooltip-scroll-strategy"),At={provide:xt,deps:[t.aV],useFactory:function _t(A){return()=>A.scrollStrategies.reposition({scrollThrottle:20})}},bt=new _.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function S(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let gt=(()=>{class A{constructor(h,f,v,O,Z,tt,it,$,Y,J,B,ot){this._overlay=h,this._elementRef=f,this._scrollDispatcher=v,this._viewContainerRef=O,this._ngZone=Z,this._platform=tt,this._ariaDescriber=it,this._focusMonitor=$,this._dir=J,this._defaultOptions=B,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new pt.x,this._scrollStrategy=Y,this._document=ot,B&&(B.position&&(this.position=B.position),B.touchGestures&&(this.touchGestures=B.touchGestures)),J.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(h){h!==this._position&&(this._position=h,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(h){this._disabled=(0,I.Ig)(h),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(h){this._showDelay=(0,I.su)(h)}get hideDelay(){return this._hideDelay}set hideDelay(h){this._hideDelay=(0,I.su)(h),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(h){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=h?String(h).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(h){this._tooltipClass=h,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,P.R)(this._destroyed)).subscribe(h=>{h?"keyboard"===h&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const h=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([f,v])=>{h.removeEventListener(f,v,Tt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(h,this.message,"tooltip"),this._focusMonitor.stopMonitoring(h)}show(h=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const f=this._createOverlay();this._detach(),this._portal=this._portal||new mt.C5(this._tooltipComponent,this._viewContainerRef);const v=this._tooltipInstance=f.attach(this._portal).instance;v._triggerElement=this._elementRef.nativeElement,v._mouseLeaveHideDelay=this._hideDelay,v.afterHidden().pipe((0,P.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),v.show(h)}hide(h=this.hideDelay){const f=this._tooltipInstance;f&&(f.isVisible()?f.hide(h):(f._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const h=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),f=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(h);return f.positionChanges.pipe((0,P.R)(this._destroyed)).subscribe(v=>{this._updateCurrentPositionClass(v.connectionPair),this._tooltipInstance&&v.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:f,panelClass:`${this._cssClassPrefix}-${j}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,P.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,P.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,P.R)(this._destroyed)).subscribe(v=>{this._isTooltipVisible()&&v.keyCode===k.hY&&!(0,k.Vb)(v)&&(v.preventDefault(),v.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(h){const f=h.getConfig().positionStrategy,v=this._getOrigin(),O=this._getOverlayPosition();f.withPositions([this._addOffset({...v.main,...O.main}),this._addOffset({...v.fallback,...O.fallback})])}_addOffset(h){return h}_getOrigin(){const h=!this._dir||"ltr"==this._dir.value,f=this.position;let v;"above"==f||"below"==f?v={originX:"center",originY:"above"==f?"top":"bottom"}:"before"==f||"left"==f&&h||"right"==f&&!h?v={originX:"start",originY:"center"}:("after"==f||"right"==f&&h||"left"==f&&!h)&&(v={originX:"end",originY:"center"});const{x:O,y:Z}=this._invertPosition(v.originX,v.originY);return{main:v,fallback:{originX:O,originY:Z}}}_getOverlayPosition(){const h=!this._dir||"ltr"==this._dir.value,f=this.position;let v;"above"==f?v={overlayX:"center",overlayY:"bottom"}:"below"==f?v={overlayX:"center",overlayY:"top"}:"before"==f||"left"==f&&h||"right"==f&&!h?v={overlayX:"end",overlayY:"center"}:("after"==f||"right"==f&&h||"left"==f&&!h)&&(v={overlayX:"start",overlayY:"center"});const{x:O,y:Z}=this._invertPosition(v.overlayX,v.overlayY);return{main:v,fallback:{overlayX:O,overlayY:Z}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,X.q)(1),(0,P.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(h){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=h,this._tooltipInstance._markForCheck())}_invertPosition(h,f){return"above"===this.position||"below"===this.position?"top"===f?f="bottom":"bottom"===f&&(f="top"):"end"===h?h="start":"start"===h&&(h="end"),{x:h,y:f}}_updateCurrentPositionClass(h){const{overlayY:f,originX:v,originY:O}=h;let Z;if(Z="center"===f?this._dir&&"rtl"===this._dir.value?"end"===v?"left":"right":"start"===v?"left":"right":"bottom"===f&&"top"===O?"above":"below",Z!==this._currentPosition){const tt=this._overlayRef;if(tt){const it=`${this._cssClassPrefix}-${j}-`;tt.removePanelClass(it+this._currentPosition),tt.addPanelClass(it+Z)}this._currentPosition=Z}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const h=[];if(this._platformSupportsMouseEvents())h.push(["mouseleave",f=>{const v=f.relatedTarget;(!v||!this._overlayRef?.overlayElement.contains(v))&&this.hide()}],["wheel",f=>this._wheelListener(f)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const f=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};h.push(["touchend",f],["touchcancel",f])}this._addListeners(h),this._passiveListeners.push(...h)}_addListeners(h){h.forEach(([f,v])=>{this._elementRef.nativeElement.addEventListener(f,v,Tt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(h){if(this._isTooltipVisible()){const f=this._document.elementFromPoint(h.clientX,h.clientY),v=this._elementRef.nativeElement;f!==v&&!v.contains(f)&&this.hide()}}_disableNativeGesturesIfNecessary(){const h=this.touchGestures;if("off"!==h){const f=this._elementRef.nativeElement,v=f.style;("on"===h||"INPUT"!==f.nodeName&&"TEXTAREA"!==f.nodeName)&&(v.userSelect=v.msUserSelect=v.webkitUserSelect=v.MozUserSelect="none"),("on"===h||!f.draggable)&&(v.webkitUserDrag="none"),v.touchAction="none",v.webkitTapHighlightColor="transparent"}}}return A.\u0275fac=function(h){_.$Z()},A.\u0275dir=_.lG2({type:A,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),A})(),Mt=(()=>{class A extends gt{constructor(h,f,v,O,Z,tt,it,$,Y,J,B,ot){super(h,f,v,O,Z,tt,it,$,Y,J,B,ot),this._tooltipComponent=Nt}}return A.\u0275fac=function(h){return new(h||A)(_.Y36(t.aV),_.Y36(_.SBq),_.Y36(D.mF),_.Y36(_.s_b),_.Y36(_.R0b),_.Y36(K.t4),_.Y36(q.$s),_.Y36(q.tE),_.Y36(xt),_.Y36(at.Is,8),_.Y36(bt,8),_.Y36(L.K0))},A.\u0275dir=_.lG2({type:A,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[_.qOj]}),A})(),St=(()=>{class A{constructor(h,f){this._changeDetectorRef=h,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new pt.x,this._animationsDisabled="NoopAnimations"===f}show(h){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},h)}hide(h){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},h)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:h}){(!h||!this._triggerElement.contains(h))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:h}){(h===this._showAnimation||h===this._hideAnimation)&&this._finalizeAnimation(h===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(h){h?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(h){const f=this._tooltip.nativeElement,v=this._showAnimation,O=this._hideAnimation;if(f.classList.remove(h?O:v),f.classList.add(h?v:O),this._isVisible=h,h&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Z=getComputedStyle(f);("0s"===Z.getPropertyValue("animation-duration")||"none"===Z.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}h&&this._onShow(),this._animationsDisabled&&(f.classList.add("_mat-animation-noopable"),this._finalizeAnimation(h))}}return A.\u0275fac=function(h){return new(h||A)(_.Y36(_.sBO),_.Y36(_.QbO,8))},A.\u0275dir=_.lG2({type:A}),A})(),Nt=(()=>{class A extends St{constructor(h,f,v){super(h,v),this._breakpointObserver=f,this._isHandset=this._breakpointObserver.observe(ct.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return A.\u0275fac=function(h){return new(h||A)(_.Y36(_.sBO),_.Y36(ct.Yg),_.Y36(_.QbO,8))},A.\u0275cmp=_.Xpm({type:A,selectors:[["mat-tooltip-component"]],viewQuery:function(h,f){if(1&h&&_.Gf(g,7),2&h){let v;_.iGM(v=_.CRH())&&(f._tooltip=v.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(h,f){1&h&&_.NdJ("mouseleave",function(O){return f._handleMouseLeave(O)}),2&h&&_.Udp("zoom",f.isVisible()?1:null)},features:[_.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(h,f){if(1&h&&(_.TgZ(0,"div",0,1),_.NdJ("animationend",function(O){return f._handleAnimationEnd(O)}),_.ALo(2,"async"),_._uU(3),_.qZA()),2&h){let v;_.ekj("mat-tooltip-handset",null==(v=_.lcZ(2,4,f._isHandset))?null:v.matches),_.Q6J("ngClass",f.tooltipClass),_.xp6(3),_.Oqu(f.message)}},dependencies:[L.mk,L.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),A})(),Dt=(()=>{class A{}return A.\u0275fac=function(h){return new(h||A)},A.\u0275mod=_.oAB({type:A}),A.\u0275inj=_.cJS({providers:[At],imports:[q.rt,L.ez,t.U8,x.BQ,x.BQ,D.ZD]}),A})()},86349:(Qt,st,C)=>{C.d(st,{ZP:()=>li,S6:()=>rt,sE:()=>de,HK:()=>ln,kJ:()=>Y,mf:()=>f,UI:()=>ft,CE:()=>pn,d1:()=>nn});var t={};C.r(t),C.d(t,{VERSION:()=>q,after:()=>Ln,all:()=>on,allKeys:()=>vt,any:()=>rn,assign:()=>Pt,before:()=>Ke,bind:()=>Qe,bindAll:()=>Zn,chain:()=>En,chunk:()=>ai,clone:()=>lt,collect:()=>ft,compact:()=>jn,compose:()=>qn,constant:()=>Gt,contains:()=>ut,countBy:()=>Gn,create:()=>G,debounce:()=>Dn,default:()=>ci,defaults:()=>ae,defer:()=>Sn,delay:()=>He,detect:()=>de,difference:()=>dn,drop:()=>me,each:()=>rt,escape:()=>gn,every:()=>on,extend:()=>se,extendOwn:()=>Pt,filter:()=>Zt,find:()=>de,findIndex:()=>Ue,findKey:()=>Ge,findLastIndex:()=>$e,findWhere:()=>zn,first:()=>Re,flatten:()=>ti,foldl:()=>qe,foldr:()=>en,forEach:()=>rt,functions:()=>Ft,get:()=>ue,groupBy:()=>Kn,has:()=>Ze,head:()=>Re,identity:()=>Bt,include:()=>ut,includes:()=>ut,indexBy:()=>ln,indexOf:()=>je,initial:()=>hn,inject:()=>qe,intersection:()=>ii,invert:()=>re,invoke:()=>Fn,isArguments:()=>ot,isArray:()=>Y,isArrayBuffer:()=>A,isBoolean:()=>At,isDataView:()=>$,isDate:()=>St,isElement:()=>bt,isEmpty:()=>ye,isEqual:()=>we,isError:()=>Dt,isFinite:()=>Ht,isFunction:()=>f,isMap:()=>Ae,isMatch:()=>Xt,isNaN:()=>Kt,isNull:()=>xt,isNumber:()=>Mt,isObject:()=>nt,isRegExp:()=>Nt,isSet:()=>Ie,isString:()=>gt,isSymbol:()=>Ut,isTypedArray:()=>$t,isUndefined:()=>_t,isWeakMap:()=>Me,isWeakSet:()=>Pe,iteratee:()=>a,keys:()=>N,last:()=>Xn,lastIndexOf:()=>Jn,map:()=>ft,mapObject:()=>y,matcher:()=>yt,matches:()=>yt,max:()=>sn,memoize:()=>bn,methods:()=>Ft,min:()=>kn,mixin:()=>fn,negate:()=>De,noop:()=>Q,now:()=>Et,object:()=>ri,omit:()=>pn,once:()=>Rn,pairs:()=>Oe,partial:()=>he,partition:()=>Vn,pick:()=>un,pluck:()=>Le,property:()=>i,propertyOf:()=>et,random:()=>W,range:()=>si,reduce:()=>qe,reduceRight:()=>en,reject:()=>nn,rest:()=>me,restArguments:()=>R,result:()=>In,sample:()=>cn,select:()=>Zt,shuffle:()=>Qn,size:()=>$n,some:()=>rn,sortBy:()=>Hn,sortedIndex:()=>We,tail:()=>me,take:()=>Re,tap:()=>Ot,template:()=>Mn,templateSettings:()=>yn,throttle:()=>Nn,times:()=>be,toArray:()=>an,toPath:()=>le,transpose:()=>ze,unescape:()=>Cn,union:()=>ni,uniq:()=>Je,unique:()=>Je,uniqueId:()=>On,unzip:()=>ze,values:()=>dt,where:()=>Yn,without:()=>ei,wrap:()=>Un,zip:()=>oi});var q="1.13.6",L="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},_=Array.prototype,x=Object.prototype,D=typeof Symbol<"u"?Symbol.prototype:null,at=_.push,I=_.slice,k=x.toString,ct=x.hasOwnProperty,K=typeof ArrayBuffer<"u",mt=typeof DataView<"u",pt=Array.isArray,P=Object.keys,X=Object.create,E=K&&ArrayBuffer.isView,g=isNaN,ht=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Tt=Math.pow(2,53)-1;function R(e,n){return n=null==n?e.length-1:+n,function(){for(var o=Math.max(arguments.length-n,0),s=Array(o),l=0;l<o;l++)s[l]=arguments[l+n];switch(n){case 0:return e.call(this,s);case 1:return e.call(this,arguments[0],s);case 2:return e.call(this,arguments[0],arguments[1],s)}var c=Array(n+1);for(l=0;l<n;l++)c[l]=arguments[l];return c[n]=s,e.apply(this,c)}}function nt(e){var n=typeof e;return"function"===n||"object"===n&&!!e}function xt(e){return null===e}function _t(e){return void 0===e}function At(e){return!0===e||!1===e||"[object Boolean]"===k.call(e)}function bt(e){return!(!e||1!==e.nodeType)}function S(e){var n="[object "+e+"]";return function(o){return k.call(o)===n}}const gt=S("String"),Mt=S("Number"),St=S("Date"),Nt=S("RegExp"),Dt=S("Error"),Ut=S("Symbol"),A=S("ArrayBuffer");var F=S("Function");"object"!=typeof Int8Array&&"function"!=typeof(L.document&&L.document.childNodes)&&(F=function(e){return"function"==typeof e||!1});const f=F,v=S("Object");var O=mt&&v(new DataView(new ArrayBuffer(8))),Z=typeof Map<"u"&&v(new Map),tt=S("DataView");const $=O?function it(e){return null!=e&&f(e.getInt8)&&A(e.buffer)}:tt,Y=pt||S("Array");function J(e,n){return null!=e&&ct.call(e,n)}var B=S("Arguments");!function(){B(arguments)||(B=function(e){return J(e,"callee")})}();const ot=B;function Ht(e){return!Ut(e)&&ht(e)&&!isNaN(parseFloat(e))}function Kt(e){return Mt(e)&&g(e)}function Gt(e){return function(){return e}}function qt(e){return function(n){var o=e(n);return"number"==typeof o&&o>=0&&o<=Tt}}function Vt(e){return function(n){return n?.[e]}}const It=Vt("byteLength"),_e=qt(It);var ge=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const $t=K?function ve(e){return E?E(e)&&!$(e):_e(e)&&ge.test(k.call(e))}:Gt(!1),U=Vt("length");function Wt(e,n){n=function Ce(e){for(var n={},o=e.length,s=0;s<o;++s)n[e[s]]=!0;return{contains:function(l){return!0===n[l]},push:function(l){return n[l]=!0,e.push(l)}}}(n);var o=j.length,s=e.constructor,l=f(s)&&s.prototype||x,c="constructor";for(J(e,c)&&!n.contains(c)&&n.push(c);o--;)(c=j[o])in e&&e[c]!==l[c]&&!n.contains(c)&&n.push(c)}function N(e){if(!nt(e))return[];if(P)return P(e);var n=[];for(var o in e)J(e,o)&&n.push(o);return b&&Wt(e,n),n}function ye(e){if(null==e)return!0;var n=U(e);return"number"==typeof n&&(Y(e)||gt(e)||ot(e))?0===n:0===U(N(e))}function Xt(e,n){var o=N(n),s=o.length;if(null==e)return!s;for(var l=Object(e),c=0;c<s;c++){var u=o[c];if(n[u]!==l[u]||!(u in l))return!1}return!0}function M(e){return e instanceof M?e:this instanceof M?void(this._wrapped=e):new M(e)}function jt(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,It(e))}M.VERSION=q,M.prototype.valueOf=M.prototype.toJSON=M.prototype.value=function(){return this._wrapped},M.prototype.toString=function(){return String(this._wrapped)};var te="[object DataView]";function Lt(e,n,o,s){if(e===n)return 0!==e||1/e==1/n;if(null==e||null==n)return!1;if(e!=e)return n!=n;var l=typeof e;return("function"===l||"object"===l||"object"==typeof n)&&ee(e,n,o,s)}function ee(e,n,o,s){e instanceof M&&(e=e._wrapped),n instanceof M&&(n=n._wrapped);var l=k.call(e);if(l!==k.call(n))return!1;if(O&&"[object Object]"==l&&$(e)){if(!$(n))return!1;l=te}switch(l){case"[object RegExp]":case"[object String]":return""+e==""+n;case"[object Number]":return+e!=+e?+n!=+n:0==+e?1/+e==1/n:+e==+n;case"[object Date]":case"[object Boolean]":return+e==+n;case"[object Symbol]":return D.valueOf.call(e)===D.valueOf.call(n);case"[object ArrayBuffer]":case te:return ee(jt(e),jt(n),o,s)}var c="[object Array]"===l;if(!c&&$t(e)){if(It(e)!==It(n))return!1;if(e.buffer===n.buffer&&e.byteOffset===n.byteOffset)return!0;c=!0}if(!c){if("object"!=typeof e||"object"!=typeof n)return!1;var m=e.constructor,T=n.constructor;if(m!==T&&!(f(m)&&m instanceof m&&f(T)&&T instanceof T)&&"constructor"in e&&"constructor"in n)return!1}s=s||[];for(var w=(o=o||[]).length;w--;)if(o[w]===e)return s[w]===n;if(o.push(e),s.push(n),c){if((w=e.length)!==n.length)return!1;for(;w--;)if(!Lt(e[w],n[w],o,s))return!1}else{var H,z=N(e);if(w=z.length,N(n).length!==w)return!1;for(;w--;)if(!J(n,H=z[w])||!Lt(e[H],n[H],o,s))return!1}return o.pop(),s.pop(),!0}function we(e,n){return Lt(e,n)}function vt(e){if(!nt(e))return[];var n=[];for(var o in e)n.push(o);return b&&Wt(e,n),n}function Rt(e){var n=U(e);return function(o){if(null==o)return!1;var s=vt(o);if(U(s))return!1;for(var l=0;l<n;l++)if(!f(o[e[l]]))return!1;return e!==oe||!f(o[Jt])}}var Jt="forEach",zt=["clear","delete"],ie=["get","has","set"],Te=zt.concat(Jt,ie),oe=zt.concat(ie),xe=["add"].concat(zt,Jt,"has");const Ae=Z?Rt(Te):S("Map"),Me=Z?Rt(oe):S("WeakMap"),Ie=Z?Rt(xe):S("Set"),Pe=S("WeakSet");function dt(e){for(var n=N(e),o=n.length,s=Array(o),l=0;l<o;l++)s[l]=e[n[l]];return s}function Oe(e){for(var n=N(e),o=n.length,s=Array(o),l=0;l<o;l++)s[l]=[n[l],e[n[l]]];return s}function re(e){for(var n={},o=N(e),s=0,l=o.length;s<l;s++)n[e[o[s]]]=o[s];return n}function Ft(e){var n=[];for(var o in e)f(e[o])&&n.push(o);return n.sort()}function Yt(e,n){return function(o){var s=arguments.length;if(n&&(o=Object(o)),s<2||null==o)return o;for(var l=1;l<s;l++)for(var c=arguments[l],u=e(c),m=u.length,T=0;T<m;T++){var w=u[T];(!n||void 0===o[w])&&(o[w]=c[w])}return o}}const se=Yt(vt),Pt=Yt(N),ae=Yt(vt,!0);function ce(e){if(!nt(e))return{};if(X)return X(e);var n=function(){};n.prototype=e;var o=new n;return n.prototype=null,o}function G(e,n){var o=ce(e);return n&&Pt(o,n),o}function lt(e){return nt(e)?Y(e)?e.slice():se({},e):e}function Ot(e,n){return n(e),e}function le(e){return Y(e)?e:[e]}function Ct(e){return M.toPath(e)}function kt(e,n){for(var o=n.length,s=0;s<o;s++){if(null==e)return;e=e[n[s]]}return o?e:void 0}function ue(e,n,o){var s=kt(e,Ct(n));return _t(s)?o:s}function Ze(e,n){for(var o=(n=Ct(n)).length,s=0;s<o;s++){var l=n[s];if(!J(e,l))return!1;e=e[l]}return!!o}function Bt(e){return e}function yt(e){return e=Pt({},e),function(n){return Xt(n,e)}}function i(e){return e=Ct(e),function(n){return kt(n,e)}}function d(e,n,o){if(void 0===n)return e;switch(o??3){case 1:return function(s){return e.call(n,s)};case 3:return function(s,l,c){return e.call(n,s,l,c)};case 4:return function(s,l,c,u){return e.call(n,s,l,c,u)}}return function(){return e.apply(n,arguments)}}function r(e,n,o){return null==e?Bt:f(e)?d(e,n,o):nt(e)&&!Y(e)?yt(e):i(e)}function a(e,n){return r(e,n,1/0)}function p(e,n,o){return M.iteratee!==a?M.iteratee(e,n):r(e,n,o)}function y(e,n,o){n=p(n,o);for(var s=N(e),l=s.length,c={},u=0;u<l;u++){var m=s[u];c[m]=n(e[m],m,e)}return c}function Q(){}function et(e){return null==e?Q:function(n){return ue(e,n)}}function be(e,n,o){var s=Array(Math.max(0,e));n=d(n,o,1);for(var l=0;l<e;l++)s[l]=n(l);return s}function W(e,n){return null==n&&(n=e,e=0),e+Math.floor(Math.random()*(n-e+1))}M.toPath=le,M.iteratee=a;const Et=Date.now||function(){return(new Date).getTime()};function pe(e){var n=function(c){return e[c]},o="(?:"+N(e).join("|")+")",s=RegExp(o),l=RegExp(o,"g");return function(c){return s.test(c=null==c?"":""+c)?c.replace(l,n):c}}const ke={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},gn=pe(ke),Cn=pe(re(ke)),yn=M.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Se=/(.)^/,wn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Tn=/\\|'|\r|\n|\u2028|\u2029/g;function xn(e){return"\\"+wn[e]}var An=/^\s*(\w|\$)+\s*$/;function Mn(e,n,o){!n&&o&&(n=o),n=ae({},n,M.templateSettings);var s=RegExp([(n.escape||Se).source,(n.interpolate||Se).source,(n.evaluate||Se).source].join("|")+"|$","g"),l=0,c="__p+='";e.replace(s,function(w,z,H,mn,_n){return c+=e.slice(l,_n).replace(Tn,xn),l=_n+w.length,z?c+="'+\n((__t=("+z+"))==null?'':_.escape(__t))+\n'":H?c+="'+\n((__t=("+H+"))==null?'':__t)+\n'":mn&&(c+="';\n"+mn+"\n__p+='"),w}),c+="';\n";var m,u=n.variable;if(u){if(!An.test(u))throw new Error("variable is not a bare identifier: "+u)}else c="with(obj||{}){\n"+c+"}\n",u="obj";c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{m=new Function(u,"_",c)}catch(w){throw w.source=c,w}var T=function(w){return m.call(this,w,M)};return T.source="function("+u+"){\n"+c+"}",T}function In(e,n,o){var s=(n=Ct(n)).length;if(!s)return f(o)?o.call(e):o;for(var l=0;l<s;l++){var c=e?.[n[l]];void 0===c&&(c=o,l=s),e=f(c)?c.call(e):c}return e}var Pn=0;function On(e){var n=++Pn+"";return e?e+n:n}function En(e){var n=M(e);return n._chain=!0,n}function Be(e,n,o,s,l){if(!(s instanceof n))return e.apply(o,l);var c=ce(e.prototype),u=e.apply(c,l);return nt(u)?u:c}var Ne=R(function(e,n){var o=Ne.placeholder,s=function(){for(var l=0,c=n.length,u=Array(c),m=0;m<c;m++)u[m]=n[m]===o?arguments[l++]:n[m];for(;l<arguments.length;)u.push(arguments[l++]);return Be(e,s,this,this,u)};return s});Ne.placeholder=M;const he=Ne,Qe=R(function(e,n,o){if(!f(e))throw new TypeError("Bind must be called on a function");var s=R(function(l){return Be(e,s,n,this,o.concat(l))});return s}),V=qt(U);function wt(e,n,o,s){if(s=s||[],n||0===n){if(n<=0)return s.concat(e)}else n=1/0;for(var l=s.length,c=0,u=U(e);c<u;c++){var m=e[c];if(V(m)&&(Y(m)||ot(m)))if(n>1)wt(m,n-1,o,s),l=s.length;else for(var T=0,w=m.length;T<w;)s[l++]=m[T++];else o||(s[l++]=m)}return s}const Zn=R(function(e,n){var o=(n=wt(n,!1,!1)).length;if(o<1)throw new Error("bindAll must be passed function names");for(;o--;){var s=n[o];e[s]=Qe(e[s],e)}return e});function bn(e,n){var o=function(s){var l=o.cache,c=""+(n?n.apply(this,arguments):s);return J(l,c)||(l[c]=e.apply(this,arguments)),l[c]};return o.cache={},o}const He=R(function(e,n,o){return setTimeout(function(){return e.apply(null,o)},n)}),Sn=he(He,M,1);function Nn(e,n,o){var s,l,c,u,m=0;o||(o={});var T=function(){m=!1===o.leading?0:Et(),s=null,u=e.apply(l,c),s||(l=c=null)},w=function(){var z=Et();!m&&!1===o.leading&&(m=z);var H=n-(z-m);return l=this,c=arguments,H<=0||H>n?(s&&(clearTimeout(s),s=null),m=z,u=e.apply(l,c),s||(l=c=null)):!s&&!1!==o.trailing&&(s=setTimeout(T,H)),u};return w.cancel=function(){clearTimeout(s),m=0,s=l=c=null},w}function Dn(e,n,o){var s,l,c,u,m,T=function(){var z=Et()-l;n>z?s=setTimeout(T,n-z):(s=null,o||(u=e.apply(m,c)),s||(c=m=null))},w=R(function(z){return m=this,c=z,l=Et(),s||(s=setTimeout(T,n),o&&(u=e.apply(m,c))),u});return w.cancel=function(){clearTimeout(s),s=c=m=null},w}function Un(e,n){return he(n,e)}function De(e){return function(){return!e.apply(this,arguments)}}function qn(){var e=arguments,n=e.length-1;return function(){for(var o=n,s=e[n].apply(this,arguments);o--;)s=e[o].call(this,s);return s}}function Ln(e,n){return function(){if(--e<1)return n.apply(this,arguments)}}function Ke(e,n){var o;return function(){return--e>0&&(o=n.apply(this,arguments)),e<=1&&(n=null),o}}const Rn=he(Ke,2);function Ge(e,n,o){n=p(n,o);for(var l,s=N(e),c=0,u=s.length;c<u;c++)if(n(e[l=s[c]],l,e))return l}function Ve(e){return function(n,o,s){o=p(o,s);for(var l=U(n),c=e>0?0:l-1;c>=0&&c<l;c+=e)if(o(n[c],c,n))return c;return-1}}const Ue=Ve(1),$e=Ve(-1);function We(e,n,o,s){for(var l=(o=p(o,s,1))(n),c=0,u=U(e);c<u;){var m=Math.floor((c+u)/2);o(e[m])<l?c=m+1:u=m}return c}function Xe(e,n,o){return function(s,l,c){var u=0,m=U(s);if("number"==typeof c)e>0?u=c>=0?c:Math.max(c+m,u):m=c>=0?Math.min(c+1,m):c+m+1;else if(o&&c&&m)return s[c=o(s,l)]===l?c:-1;if(l!=l)return(c=n(I.call(s,u,m),Kt))>=0?c+u:-1;for(c=e>0?u:m-1;c>=0&&c<m;c+=e)if(s[c]===l)return c;return-1}}const je=Xe(1,Ue,We),Jn=Xe(-1,$e);function de(e,n,o){var l=(V(e)?Ue:Ge)(e,n,o);if(void 0!==l&&-1!==l)return e[l]}function zn(e,n){return de(e,yt(n))}function rt(e,n,o){var s,l;if(n=d(n,o),V(e))for(s=0,l=e.length;s<l;s++)n(e[s],s,e);else{var c=N(e);for(s=0,l=c.length;s<l;s++)n(e[c[s]],c[s],e)}return e}function ft(e,n,o){n=p(n,o);for(var s=!V(e)&&N(e),l=(s||e).length,c=Array(l),u=0;u<l;u++){var m=s?s[u]:u;c[u]=n(e[m],m,e)}return c}function tn(e){var n=function(o,s,l,c){var u=!V(o)&&N(o),m=(u||o).length,T=e>0?0:m-1;for(c||(l=o[u?u[T]:T],T+=e);T>=0&&T<m;T+=e){var w=u?u[T]:T;l=s(l,o[w],w,o)}return l};return function(o,s,l,c){var u=arguments.length>=3;return n(o,d(s,c,4),l,u)}}const qe=tn(1),en=tn(-1);function Zt(e,n,o){var s=[];return n=p(n,o),rt(e,function(l,c,u){n(l,c,u)&&s.push(l)}),s}function nn(e,n,o){return Zt(e,De(p(n)),o)}function on(e,n,o){n=p(n,o);for(var s=!V(e)&&N(e),l=(s||e).length,c=0;c<l;c++){var u=s?s[c]:c;if(!n(e[u],u,e))return!1}return!0}function rn(e,n,o){n=p(n,o);for(var s=!V(e)&&N(e),l=(s||e).length,c=0;c<l;c++){var u=s?s[c]:c;if(n(e[u],u,e))return!0}return!1}function ut(e,n,o,s){return V(e)||(e=dt(e)),("number"!=typeof o||s)&&(o=0),je(e,n,o)>=0}const Fn=R(function(e,n,o){var s,l;return f(n)?l=n:(n=Ct(n),s=n.slice(0,-1),n=n[n.length-1]),ft(e,function(c){var u=l;if(!u){if(s&&s.length&&(c=kt(c,s)),null==c)return;u=c[n]}return null==u?u:u.apply(c,o)})});function Le(e,n){return ft(e,i(n))}function Yn(e,n){return Zt(e,yt(n))}function sn(e,n,o){var c,u,s=-1/0,l=-1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var m=0,T=(e=V(e)?e:dt(e)).length;m<T;m++)null!=(c=e[m])&&c>s&&(s=c);else n=p(n,o),rt(e,function(w,z,H){((u=n(w,z,H))>l||u===-1/0&&s===-1/0)&&(s=w,l=u)});return s}function kn(e,n,o){var c,u,s=1/0,l=1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var m=0,T=(e=V(e)?e:dt(e)).length;m<T;m++)null!=(c=e[m])&&c<s&&(s=c);else n=p(n,o),rt(e,function(w,z,H){((u=n(w,z,H))<l||u===1/0&&s===1/0)&&(s=w,l=u)});return s}var Bn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function an(e){return e?Y(e)?I.call(e):gt(e)?e.match(Bn):V(e)?ft(e,Bt):dt(e):[]}function cn(e,n,o){if(null==n||o)return V(e)||(e=dt(e)),e[W(e.length-1)];var s=an(e),l=U(s);n=Math.max(Math.min(n,l),0);for(var c=l-1,u=0;u<n;u++){var m=W(u,c),T=s[u];s[u]=s[m],s[m]=T}return s.slice(0,n)}function Qn(e){return cn(e,1/0)}function Hn(e,n,o){var s=0;return n=p(n,o),Le(ft(e,function(l,c,u){return{value:l,index:s++,criteria:n(l,c,u)}}).sort(function(l,c){var u=l.criteria,m=c.criteria;if(u!==m){if(u>m||void 0===u)return 1;if(u<m||void 0===m)return-1}return l.index-c.index}),"value")}function fe(e,n){return function(o,s,l){var c=n?[[],[]]:{};return s=p(s,l),rt(o,function(u,m){var T=s(u,m,o);e(c,u,T)}),c}}const Kn=fe(function(e,n,o){J(e,o)?e[o].push(n):e[o]=[n]}),ln=fe(function(e,n,o){e[o]=n}),Gn=fe(function(e,n,o){J(e,o)?e[o]++:e[o]=1}),Vn=fe(function(e,n,o){e[o?0:1].push(n)},!0);function $n(e){return null==e?0:V(e)?e.length:N(e).length}function Wn(e,n,o){return n in o}const un=R(function(e,n){var o={},s=n[0];if(null==e)return o;f(s)?(n.length>1&&(s=d(s,n[1])),n=vt(e)):(s=Wn,n=wt(n,!1,!1),e=Object(e));for(var l=0,c=n.length;l<c;l++){var u=n[l],m=e[u];s(m,u,e)&&(o[u]=m)}return o}),pn=R(function(e,n){var s,o=n[0];return f(o)?(o=De(o),n.length>1&&(s=n[1])):(n=ft(wt(n,!1,!1),String),o=function(l,c){return!ut(n,c)}),un(e,o,s)});function hn(e,n,o){return I.call(e,0,Math.max(0,e.length-(null==n||o?1:n)))}function Re(e,n,o){return null==e||e.length<1?null==n||o?void 0:[]:null==n||o?e[0]:hn(e,e.length-n)}function me(e,n,o){return I.call(e,null==n||o?1:n)}function Xn(e,n,o){return null==e||e.length<1?null==n||o?void 0:[]:null==n||o?e[e.length-1]:me(e,Math.max(0,e.length-n))}function jn(e){return Zt(e,Boolean)}function ti(e,n){return wt(e,n,!1)}const dn=R(function(e,n){return n=wt(n,!0,!0),Zt(e,function(o){return!ut(n,o)})}),ei=R(function(e,n){return dn(e,n)});function Je(e,n,o,s){At(n)||(s=o,o=n,n=!1),null!=o&&(o=p(o,s));for(var l=[],c=[],u=0,m=U(e);u<m;u++){var T=e[u],w=o?o(T,u,e):T;n&&!o?((!u||c!==w)&&l.push(T),c=w):o?ut(c,w)||(c.push(w),l.push(T)):ut(l,T)||l.push(T)}return l}const ni=R(function(e){return Je(wt(e,!0,!0))});function ii(e){for(var n=[],o=arguments.length,s=0,l=U(e);s<l;s++){var c=e[s];if(!ut(n,c)){var u;for(u=1;u<o&&ut(arguments[u],c);u++);u===o&&n.push(c)}}return n}function ze(e){for(var n=e&&sn(e,U).length||0,o=Array(n),s=0;s<n;s++)o[s]=Le(e,s);return o}const oi=R(ze);function ri(e,n){for(var o={},s=0,l=U(e);s<l;s++)n?o[e[s]]=n[s]:o[e[s][0]]=e[s][1];return o}function si(e,n,o){null==n&&(n=e||0,e=0),o||(o=n<e?-1:1);for(var s=Math.max(Math.ceil((n-e)/o),0),l=Array(s),c=0;c<s;c++,e+=o)l[c]=e;return l}function ai(e,n){if(null==n||n<1)return[];for(var o=[],s=0,l=e.length;s<l;)o.push(I.call(e,s,s+=n));return o}function Fe(e,n){return e._chain?M(n).chain():n}function fn(e){return rt(Ft(e),function(n){var o=M[n]=e[n];M.prototype[n]=function(){var s=[this._wrapped];return at.apply(s,arguments),Fe(this,o.apply(M,s))}}),M}rt(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var n=_[e];M.prototype[e]=function(){var o=this._wrapped;return null!=o&&(n.apply(o,arguments),("shift"===e||"splice"===e)&&0===o.length&&delete o[0]),Fe(this,o)}}),rt(["concat","join","slice"],function(e){var n=_[e];M.prototype[e]=function(){var o=this._wrapped;return null!=o&&(o=n.apply(o,arguments)),Fe(this,o)}});const ci=M;var Ye=fn(t);Ye._=Ye;const li=Ye}}]);
|