1var k$4=Object.create;var g$3=Object.defineProperty,l$4=Object.defineProperties,m$3=Object.getOwnPropertyDescriptor,n$3=Object.getOwnPropertyDescriptors,o$6=Object.getOwnPropertyNames,f$2=Object.getOwnPropertySymbols,p$3=Object.getPrototypeOf,h$6=Object.prototype.hasOwnProperty,j$3=Object.prototype.propertyIsEnumerable;var i=(a,b,c)=>b in a?g$3(a,b,{enumerable:true,configurable:true,writable:true,value:c}):a[b]=c,r$2=(a,b)=>{for(var c in b||={})h$6.call(b,c)&&i(a,c,b[c]);if(f$2)for(var c of f$2(b))j$3.call(b,c)&&i(a,c,b[c]);return a},s$6=(a,b)=>l$4(a,n$3(b));var t=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var u$3=(a,b)=>{var c={};for(var d in a)h$6.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&f$2)for(var d of f$2(a))b.indexOf(d)<0&&j$3.call(a,d)&&(c[d]=a[d]);return c};var v$5=(a,b)=>()=>{try{return b||a((b={exports:{}}).exports,b),b.exports}catch(c){throw b=0,c}},w$1=(a,b)=>{for(var c in b)g$3(a,c,{get:b[c],enumerable:true});},q$8=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of o$6(b))!h$6.call(a,e)&&e!==c&&g$3(a,e,{get:()=>b[e],enumerable:!(d=m$3(b,e))||d.enumerable});return a};var x$5=(a,b,c)=>(c=a!=null?k$4(p$3(a)):{},q$8(g$3(c,"default",{value:a,enumerable:true}),a));var TB=v$5((EB,xE)=>{"use strict";(function(e){if(typeof EB=="object"&&typeof xE<"u")xE.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else {var t;typeof window<"u"?t=window:typeof global<"u"?t=global:typeof self<"u"?t=self:t=this,t.localforage=e();}})(function(){var e,t$1,n;return (function r(i,o,s){function a(d,f){if(!o[d]){if(!i[d]){var p=typeof t=="function"&&t;if(!f&&p)return p(d,!0);if(c)return c(d,!0);var g=new Error("Cannot find module '"+d+"'");throw g.code="MODULE_NOT_FOUND",g}var v=o[d]={exports:{}};i[d][0].call(v.exports,function(C){var S=i[d][1][C];return a(S||C)},v,v.exports,r,i,o,s);}return o[d].exports}for(var c=typeof t=="function"&&t,u=0;u<s.length;u++)a(s[u]);return a})({1:[function(r,i,o){(function(s){"use strict";var a=s.MutationObserver||s.WebKitMutationObserver,c;if(a){var u=0,d=new a(C),f=s.document.createTextNode("");d.observe(f,{characterData:!0}),c=function(){f.data=u=++u%2;};}else if(!s.setImmediate&&typeof s.MessageChannel<"u"){var p=new s.MessageChannel;p.port1.onmessage=C,c=function(){p.port2.postMessage(0);};}else "document"in s&&"onreadystatechange"in s.document.createElement("script")?c=function(){var M=s.document.createElement("script");M.onreadystatechange=function(){C(),M.onreadystatechange=null,M.parentNode.removeChild(M),M=null;},s.document.documentElement.appendChild(M);}:c=function(){setTimeout(C,0);};var g,v=[];function C(){g=!0;for(var M,L,$=v.length;$;){for(L=v,v=[],M=-1;++M<$;)L[M]();$=v.length;}g=!1;}i.exports=S;function S(M){v.push(M)===1&&!g&&c();}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{});},{}],2:[function(r,i,o){"use strict";var s=r(1);function a(){}var c={},u=["REJECTED"],d=["FULFILLED"],f=["PENDING"];i.exports=p;function p(A){if(typeof A!="function")throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,A!==a&&S(this,A);}p.prototype.catch=function(A){return this.then(null,A)},p.prototype.then=function(A,Ce){if(typeof A!="function"&&this.state===d||typeof Ce!="function"&&this.state===u)return this;var he=new this.constructor(a);if(this.state!==f){var Te=this.state===d?A:Ce;v(he,Te,this.outcome);}else this.queue.push(new g(he,A,Ce));return he};function g(A,Ce,he){this.promise=A,typeof Ce=="function"&&(this.onFulfilled=Ce,this.callFulfilled=this.otherCallFulfilled),typeof he=="function"&&(this.onRejected=he,this.callRejected=this.otherCallRejected);}g.prototype.callFulfilled=function(A){c.resolve(this.promise,A);},g.prototype.otherCallFulfilled=function(A){v(this.promise,this.onFulfilled,A);},g.prototype.callRejected=function(A){c.reject(this.promise,A);},g.prototype.otherCallRejected=function(A){v(this.promise,this.onRejected,A);};function v(A,Ce,he){s(function(){var Te;try{Te=Ce(he);}catch(yt){return c.reject(A,yt)}Te===A?c.reject(A,new TypeError("Cannot resolve promise with itself")):c.resolve(A,Te);});}c.resolve=function(A,Ce){var he=M(C,Ce);if(he.status==="error")return c.reject(A,he.value);var Te=he.value;if(Te)S(A,Te);else {A.state=d,A.outcome=Ce;for(var yt=-1,Xt=A.queue.length;++yt<Xt;)A.queue[yt].callFulfilled(Ce);}return A},c.reject=function(A,Ce){A.state=u,A.outcome=Ce;for(var he=-1,Te=A.queue.length;++he<Te;)A.queue[he].callRejected(Ce);return A};
1function C(A){var Ce=A&&A.then;if(A&&(typeof A=="object"||typeof A=="function")&&typeof Ce=="function")return function(){Ce.apply(A,arguments);}}function S(A,Ce){var he=!1;function Te(cr){he||(he=!0,c.reject(A,cr));}function yt(cr){he||(he=!0,c.resolve(A,cr));}function Xt(){Ce(yt,Te);}var vn=M(Xt);vn.status==="error"&&Te(vn.value);}function M(A,Ce){var he={};try{he.value=A(Ce),he.status="success";}catch(Te){he.status="error",he.value=Te;}return he}p.resolve=L;function L(A){return A instanceof this?A:c.resolve(new this(a),A)}p.reject=$;function $(A){var Ce=new this(a);return c.reject(Ce,A)}p.all=Me;function Me(A){var Ce=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var he=A.length,Te=!1;if(!he)return this.resolve([]);for(var yt=new Array(he),Xt=0,vn=-1,cr=new this(a);++vn<he;)Ri(A[vn],vn);return cr;function Ri(hu,ep){Ce.resolve(hu).then(z_,function(za){Te||(Te=!0,c.reject(cr,za));});function z_(za){yt[ep]=za,++Xt===he&&!Te&&(Te=!0,c.resolve(cr,yt));}}}p.race=Ye;function Ye(A){var Ce=this;if(Object.prototype.toString.call(A)!=="[object Array]")return this.reject(new TypeError("must be an array"));var he=A.length,Te=!1;if(!he)return this.resolve([]);for(var yt=-1,Xt=new this(a);++yt<he;)vn(A[yt]);return Xt;function vn(cr){Ce.resolve(cr).then(function(Ri){Te||(Te=!0,c.resolve(Xt,Ri));},function(Ri){Te||(Te=!0,c.reject(Xt,Ri));});}}},{1:1}],3:[function(r,i,o){(function(s){"use strict";typeof s.Promise!="function"&&(s.Promise=r(2));}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{});},{2:2}],4:[function(r,i,o){"use strict";var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m};function a(m,_){if(!(m instanceof _))throw new TypeError("Cannot call a class as a function")}function c(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var u=c();function d(){try{if(!u||!u.open)return !1;var m=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),_=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return (!m||_)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return !1}}function f(m,_){m=m||[],_=_||{};try{return new Blob(m,_)}catch(b){if(b.name!=="TypeError")throw b;for(var y=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,D=new y,w=0;w<m.length;w+=1)D.append(m[w]);return D.getBlob(_.type)}}typeof Promise>"u"&&r(3);var p=Promise;function g(m,_){_&&m.then(function(y){_(null,y);},function(y){_(y);});}function v(m,_,y){typeof _=="function"&&m.then(_),typeof y=="function"&&m.catch(y);}function C(m){return typeof m!="string"&&(console.warn(m+" used as a key, but it is not a string."),m=String(m)),m}function S(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var M="local-forage-detect-blob-support",L=void 0,$={},Me=Object.prototype.toString,Ye="readonly",A="readwrite";function Ce(m){for(var _=m.length,y=new ArrayBuffer(_),D=new Uint8Array(y),w=0;w<_;w++)D[w]=m.charCodeAt(w);return y}function he(m){return new p(function(_){var y=m.transaction(M,A),D=f([""]);y.objectStore(M).put(D,"key"),y.onabort=function(w){w.preventDefault(),w.stopPropagation(),_(!1);},y.oncomplete=function(){var w=navigator.userAgent.match(/Chrome\/(\d+)/),b=navigator.userAgent.match(/Edge\//);_(b||!w||parseInt(w[1],10)>=43);};}).catch(function(){return !1})}function Te(m){return typeof L=="boolean"?p.resolve(L):he(m).then(function(_){return L=_,L})}function yt(m){var _=$[m.name],y={};y.promise=new p(function(D,w){y.resolve=D,y.reject=w;}),_.deferredOperations.push(y),_.dbReady?_.dbReady=_.dbReady.then(function(){return y.promise}):_.dbReady=y.promise;}function Xt(m){var _=$[m.name],y=_.deferredOperations.pop();if(y)return y.resolve(),y.promise}function vn(m,_){var y=$[m.name],D=y.deferredOperations.pop();if(D)return D.reject(_),D.promise}function cr(m,_){return new p(function(y,D){if($[m.name]=$[m.name]||AE(),m.db)if(_)yt(m),m.db.close();else return y(m.db);var w=[m.name];_&&w.push(m.version);var b=u.open.apply(u,w);_&&(b.onupgradeneeded=function(x){var O=b.result;try{O.createObjectStore(m.storeName),x.oldVersion<=1&&O.createObjectStore(M);}catch(F){if(F.name==="ConstraintError")console.warn('The database "'+m.name+'" has been upgraded from version '+x.oldVersion+" to version "+x.newVersion+', but the storage "'+m.storeName+'" already exists.');else throw F}}),b.onerror=function(x){x.preventDefault(),D(b.error);},b.onsuccess=function(){var x=b.result;x.onversionchange=function(O){O.target.close();},y(x),Xt(m);};})}function Ri(m){return cr(m,!1)}function hu(m){return cr(m,!0)}function ep(m,_){if(!m.db)return !0;var y=!m.db.objectStoreNames.contains(m.storeName),D=m.version<m.db.version,w=m.version>m.db.version;if(D&&(m.version!==_&&console.warn('The database "'+m.name+`" can't be downgraded from version `+m.db.version+" to version "+m.version+"."),m.ver
vendor: 19,639 bytes, line 1
1sion=m.db.version),w||y){if(y){var b=m.db.version+1;b>m.version&&(m.version=b);}return !0}return !1}function z_(m){return new p(function(_,y){var D=new FileReader;D.onerror=y,D.onloadend=function(w){var b=btoa(w.target.result||"");_({__local_forage_encoded_blob:!0,data:b,type:m.type});},D.readAsBinaryString(m);})}function za(m){var _=Ce(atob(m.data));return f([_],{type:m.type})}function RE(m){return m&&m.__local_forage_encoded_blob}function LB(m){var _=this,y=_._initReady().then(function(){var D=$[_._dbInfo.name];if(D&&D.dbReady)return D.dbReady});return v(y,m,m),y}function FB(m){yt(m);for(var _=$[m.name],y=_.forages,D=0;D<y.length;D++){var w=y[D];w._dbInfo.db&&(w._dbInfo.db.close(),w._dbInfo.db=null);}return m.db=null,Ri(m).then(function(b){return m.db=b,ep(m)?hu(m):b}).then(function(b){m.db=_.db=b;for(var x=0;x<y.length;x++)y[x]._dbInfo.db=b;}).catch(function(b){throw vn(m,b),b})}function Ai(m,_,y,D){D===void 0&&(D=1);try{var w=m.db.transaction(m.storeName,_);y(null,w);}catch(b){if(D>0&&(!m.db||b.name==="InvalidStateError"||b.name==="NotFoundError"))return p.resolve().then(function(){if(!m.db||b.name==="NotFoundError"&&!m.db.objectStoreNames.contains(m.storeName)&&m.version<=m.db.version)return m.db&&(m.version=m.db.version+1),hu(m)}).then(function(){return FB(m).then(function(){Ai(m,_,y,D-1);})}).catch(y);y(b);}}function AE(){return {forages:[],db:null,dbReady:null,deferredOperations:[]}}function BB(m){var _=this,y={db:null};if(m)for(var D in m)y[D]=m[D];var w=$[y.name];w||(w=AE(),$[y.name]=w),w.forages.push(_),_._initReady||(_._initReady=_.ready,_.ready=LB);var b=[];function x(){return p.resolve()}for(var O=0;O<w.forages.length;O++){var F=w.forages[O];F!==_&&b.push(F._initReady().catch(x));}var B=w.forages.slice(0);return p.all(b).then(function(){return y.db=w.db,Ri(y)}).then(function(j){return y.db=j,ep(y,_._defaultConfig.version)?hu(y):j}).then(function(j){y.db=w.db=j,_._dbInfo=y;for(var J=0;J<B.length;J++){var Ie=B[J];Ie!==_&&(Ie._dbInfo.db=y.db,Ie._dbInfo.version=y.version);}})}function UB(m,_){var y=this;m=C(m);var D=new p(function(w,b){y.ready().then(function(){Ai(y._dbInfo,Ye,function(x,O){if(x)return b(x);try{var F=O.objectStore(y._dbInfo.storeName),B=F.get(m);B.onsuccess=function(){var j=B.result;j===void 0&&(j=null),RE(j)&&(j=za(j)),w(j);},B.onerror=function(){b(B.error);};}catch(j){b(j);}});}).catch(b);});return g(D,_),D}function VB(m,_){var y=this,D=new p(function(w,b){y.ready().then(function(){Ai(y._dbInfo,Ye,function(x,O){if(x)return b(x);try{var F=O.objectStore(y._dbInfo.storeName),B=F.openCursor(),j=1;B.onsuccess=function(){var J=B.result;if(J){var Ie=J.value;RE(Ie)&&(Ie=za(Ie));var Ge=m(Ie,J.key,j++);Ge!==void 0?w(Ge):J.continue();}else w();},B.onerror=function(){b(B.error);};}catch(J){b(J);}});}).catch(b);});return g(D,_),D}function jB(m,_,y){var D=this;m=C(m);var w=new p(function(b,x){var O;D.ready().then(function(){return O=D._dbInfo,Me.call(_)==="[object Blob]"?Te(O.db).then(function(F){return F?_:z_(_)}):_}).then(function(F){Ai(D._dbInfo,A,function(B,j){if(B)return x(B);try{var J=j.objectStore(D._dbInfo.storeName);F===null&&(F=void 0);var Ie=J.put(F,m);j.oncomplete=function(){F===void 0&&(F=null),b(F);},j.onabort=j.onerror=function(){var Ge=Ie.error?Ie.error:Ie.transaction.error;x(Ge);};}catch(Ge){x(Ge);}});}).catch(x);});return g(w,y),w}function HB(m,_){var y=this;m=C(m);var D=new p(function(w,b){y.ready().then(function(){Ai(y._dbInfo,A,function(x,O){if(x)return b(x);try{var F=O.objectStore(y._dbInfo.storeName),B=F.delete(m);O.oncomplete=function(){w();},O.onerror=function(){b(B.error);},O.onabort=function(){var j=B.error?B.error:B.transaction.error;b(j);};}catch(j){b(j);}});}).catch(b);});return g(D,_),D}function $B(m){var _=this,y=new p(function(D,w){_.ready().then(function(){Ai(_._dbInfo,A,function(b,x){if(b)return w(b);try{var O=x.objectStore(_._dbInfo.storeName),F=O.clear();x.oncomplete=function(){D();},x.onabort=x.onerror=function(){var B=F.error?F.error:F.transaction.error;w(B);};}catch(B){w(B);}});}).catch(w);});return g(y,m),y}function zB(m){var _=this,y=new p(function(D,w){_.ready().then(function(){Ai(_._dbInfo,Ye,function(b,x){if(b)return w(b);try{var O=x.objectStore(_._dbInfo.storeName),F=O.count();F.onsuccess=function(){D(F.result);},F.onerror=function(){w(F.error);};}catch(B){w(B);}});}).catch(w);});return g(y,m),y}function qB(m,_){var y=this,D=new p(function(w,b){if(m<0){w(null);return}y.ready().then(function(){Ai(y._dbInfo,Ye,function(x,O){if(x)return b(x);try{var F=O.objectStore(y._dbInfo.storeName),B=!1,j=F.openKeyCursor();j.onsuccess=function(){var J=j.result;if(!J){w(null);return}m===0||B?w(J.key):(B=!0,J.advance(m));},j.onerror=function(){b(j.error);};}catch(J){b(J);}});}).catch(b);});return g(D,_),D}function WB(m){var _=this,y=new p(function(D,w){_.ready().then(function(){Ai(_._dbInfo,Ye,function(b,x){if(b)return w(b);try{var O=x.objectStore(_._dbInfo.storeName),F=O.openKeyCursor(),B=[];F.onsuccess=function(){var j=F.result;if(!j){D(B);return}B.push(j.key),j.continue();},F.onerror=function(){w(F.error);};}catch(j){w(j);}});}).catch(w);});return g(y,m),y}function YB(m,_){_=S.apply(this,arguments);var y=this.config();m=typeof m!="function"&&m||{},m.name||(m.name=m.name||y.name,m.storeName=m.storeName||y.storeName);var D=this,w;if(!m.name)w=p.reject("Invalid arguments");else {var b=m.name===y.name&&D._dbInfo.db,x=b?p.resolve(D._dbInfo.db):Ri(m).then(function(O){var F=$[m.name],B=F.forages;F.db=O;for(var j=0;j<B.length;j++)B[j]._dbInfo.db=O;return O});m.storeName?w=x.then(function(O){if(O.objectStoreNames.contains(m.storeName)){var F=O.version+1;yt(m);var B=$[m.name],j=B.forages;O.close();for(var J=0;J<j.length;J++){var Ie=j[J];Ie._dbInfo.db=null,Ie._dbInfo.version=F;}var Ge=new p(function(Qe,Lt){var Tt=u.open(m.name,F);Tt.onerror=function(lr){var gu=Tt.result;gu.close(),Lt(lr);},Tt.onupgradeneeded=function(){var lr=Tt.result;lr.deleteObjectStore(m.storeName);},Tt.onsuccess=function(){var lr=Tt.result;lr.close(),Qe(lr);};});return Ge.then(function(Qe){B.db=Qe;for(var Lt=0;Lt<j.length;Lt++){var Tt=j[Lt];Tt._dbInfo.db=Qe,Xt(Tt._dbInfo);}}).catch(function(Qe){throw (vn(m,Qe)||p.resolve()).catch(function(){}),Qe})}}):w=x.then(function(O){yt(m);var F=$[m.name],B=F.forages;O.close();for(var j=0;j<B.length;j++){var J=B[j];J._dbInfo.db=null;}var Ie=new p(function(Ge,Qe){var Lt=u.deleteDatabase(m.name);Lt.onerror=function(){var Tt=Lt.result;Tt&&Tt.close(),Qe(Lt.error);},Lt.onblocked=function(){console.warn('dropInstance blocked for database "'+m.name+'" until all open connections are closed');},Lt.onsuccess=function(){var Tt=Lt.result;Tt&&Tt.close(),Ge(Tt);};});return Ie.then(function(Ge){F.db=Ge;for(var Qe=0;Qe<B.length;Qe++){var Lt=B[Qe];Xt(Lt._dbInfo);}}).catch(function(Ge){throw (vn(m,Ge)||p.resolve()).catch(function(){}),Ge})});}return g(w,_),w}var GB={_driver:"asyncStorage",_initStorage:BB,_support:d(),iterate:VB,getItem:UB,setItem:jB,removeItem:HB,clear:$B,length:zB,key:qB,keys:WB,dropInstance:YB};function ZB(){return typeof openDatabase=="function"}var ho="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",JB="~~local_forage_type~",NE=/^~~local_forage_type~([^~]+)~/,tp="__lfsc__:",q_=tp.length,W_="arbf",Y_="blob",kE="si08",OE="ui08",PE="uic8",LE="si16",FE="si32",BE="ur16",UE="ui32",VE="fl32",jE="fl64",HE=q_+W_.length,$E=Object.prototype.toString;function zE(m){var _=m.length*.75,y=m.length,D,w=0,b,x,O,F;m[m.length-1]==="="&&(_--,m[m.length-2]==="="&&_--);var B=new ArrayBuffer(_),j=new Uint8Array(B);for(D=0;D<y;D+=4)b=ho.indexOf(m[D]),x=ho.indexOf(m[D+1]),O=ho.indexOf(m[D+2]),F=ho.indexOf(m[D+3]),j[w++]=b<<2|x>>4,j[w++]=(x&15)<<4|O>>2,j[w++]=(O&3)<<6|F&63;return B}function G_(m){var _=new Uint8Array(m),y="",D;for(D=0;D<_.length;D+=3)y+=ho[_[D]>>2],y+=ho[(_[D]&3)<<4|_[D+1]>>4],y+=ho[(_[D+1]&15)<<2|_[D+2]>>6],y+=ho[_[D+2]&63];return _.length%3===2?y=y.substring(0,y.length-1)+"=":_.length%3===1&&(y=y.substring(0,y.length-2)+"=="),y}function QB(m,_){var y="";if(m&&(y=$E.call(m)),m&&(y==="[object ArrayBuffer]"||m.buffer&&$E.call(m.buffer)==="[object ArrayBuffer]")){var D,w=tp;m instanceof ArrayBuffer?(D=m,w+=W_):(D=m.buffer,y==="[object Int8Array]"?w+=kE:y==="[object Uint8Array]"?w+=OE:y==="[object Uint8ClampedArray]"?w+=PE:y==="[object Int16Array]"?w+=LE:y==="[object Uint16Array]"?w+=BE:y==="[object Int32Array]"?w+=FE:y==="[object Uint32Array]"?w+=UE:y==="[object Float32Array]"?w+=VE:y==="[object Float64Array]"?w+=jE:_(new Error("Failed to get type for BinaryArray"))),_(w+G_(D));}else if(y==="[object Blob]"){var b=new FileReader;b.onload=function(){var x=JB+m.type+"~"+G_(this.result);_(tp+Y_+x);},b.readAsArrayBuffer(m);}else try{_(JSON.stringify(m));}catch(x){console.error("Couldn't convert value into a JSON string: ",m),_(null,x);}}function XB(m){if(m.substring(0,q_)!==tp)return JSON.parse(m);var _=m.substring(HE),y=m.substring(q_,HE),D;if(y===Y_&&NE.test(_)){var w=_.match(NE);D=w[1],_=_.substring(w[0].length);}var b=zE(_);switch(y){case W_:return b;case Y_:return f([b],{type:D});case kE:return new Int8Array(b);case OE:return new Uint8Array(b);case PE:return new Uint8ClampedArray(b);case LE:return new Int16Array(b);case BE:return new Uint16Array(b);case FE:return new Int32Array(b);case UE:return new Uint32Array(b);case VE:return new Float32Array(b);case jE:return new Float64Array(b);default:throw new Error("Unkown type: "+y)}}var Z_={serialize:QB,deserialize:XB,stringToBuffer:zE,bufferToString:G_};function qE(m,_,y,D){m.executeSql("CREATE TABLE IF NOT EXISTS "+_.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],y,D);}function KB(m){var _=this,y={db:null};if(m)for(var D in m)y[D]=typeof m[D]!="string"?m[D].toString():m[D];var w=new p(function(b,x){try{y.db=openDatabase(y.name,String(y.version),y.description,y.size);}catch(O){return x(O)}y.db.transaction(function(O){qE(O,y,function(){_._dbInfo=y,b();},function(F,B){x(B);});},x);});return y.serializer=Z_,w}function mo(m,_,y,D,w,b){m.executeSql(y,D,w,function(x,O){O.code===O.SYNTAX_ERR?x.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[_.storeName],function(F,B){B.rows.length?b(F,O):qE(F,_,function(){F.executeSql(y,D,w,b);},b);},b):b(x,O);},b);}function eU(m,_){var y=this;m=C(m);var D=new p(function(w,b){y.ready().then(function(){var x=y._dbInfo;x.db.transaction(function(O){mo(O,x,"SELECT * FROM "+x.storeName+" WHERE key = ? LIMIT 1",[m],function(F,B){var j=B.rows.length?B.rows.item(0).value:null;j&&(j=x.serializer.deserialize(j)),w(j);},function(F,B){b(B);});});}).catch(b);});return g(D,_),D}function tU(m,_){var y=this,D=new p(function(w,b){y.ready().then(function(){var x=y._dbInfo;x.db.transaction(function(O){mo(O,x,"SELECT * FROM "+x.storeName,[],function(F,B){for(var j=B.rows,J=j.length,Ie=0;Ie<J;Ie++){var Ge=j.item(Ie),Qe=Ge.value;if(Qe&&(Qe=x.serializer.deserialize(Qe)),Qe=m(Qe,Ge.key,Ie+1),Qe!==void 0){w(Qe);return}}w();},function(F,B){b(B);});});}).catch(b);});return g(D,_),D}function WE(m,_,y,D){var w=this;m=C(m);var b=new p(function(x,O){w.ready().then(function(){_===void 0&&(_=null);var F=_,B=w._dbInfo;B.serializer.serialize(_,function(j,J){J?O(J):B.db.transaction(function(Ie){mo(Ie,B,"INSERT OR REPLACE INTO "+B.storeName+" (key, value) VALUES (?, ?)",[m,j],function(){x(F);},function(Ge,Qe){O(Qe);});},function(Ie){if(Ie.code===Ie.QUOTA_ERR){if(D>0){x(WE.apply(w,[m,F,y,D-1]));return}O(Ie);}});});}).catch(O);});return g(b,y),b}function nU(m,_,y){return WE.apply(this,[m,_,y,1])}function rU(m,_){var y=this;m=C(m);var D=new p(function(w,b){y.ready().then(function(){var x=y._dbInfo;x.db.transaction(function(O){mo(O,x,"DELETE FROM "+x.storeName+" WHERE key = ?",[m],function(){w();},function(F,B){b(B);});});}).catch(b);});return g(D,_),D}function iU(m){var _=this,y=new p(function(D,w){_.ready().then(function(){var b=_._dbInfo;b.db.transaction(function(x){mo(x,b,"DELETE FROM "+b.storeName,[],function(){D();},function(O,F){w(F);});});}).catch(w);});return g(y,m),y}function oU(m){var _=this,y=new p(function(D,w){_.ready().then(function(){var b=_._dbInfo;b.db.transaction(function(x){mo(x,b,"SELECT COUNT(key) as c FROM "+b.storeName,[],function(O,F){var B=F.rows.item(0).c;D(B);},function(O,F){w(F);});});}).catch(w);});return g(y,m),y}function sU(m,_){var y=this,D=new p(function(w,b){y.ready().then(function(){var x=y._dbInfo;x.db.transaction(function(O){mo(O,x,"SELECT key FROM "+x.storeName+" WHERE id = ? LIMIT 1",[m+1],function(F,B){var j=B.rows.length?B.rows.item(0).key:null;w(j);},function(F,B){b(B);});});}).catch(b);});return g(D,_),D}function aU(m){var _=this,y=new p(function(D,w){_.ready().then(function(){var b=_._dbInfo;b.db.transaction(function(x){mo(x,b,"SELECT key FROM "+b.storeName,[],function(O,F){for(var B=[],j=0;j<F.rows.length;j++)B.push(F.rows.item(j).key);D(B);},function(O,F){w(F);});});}).catch(w);});return g(y,m),y}function cU(m){return new p(function(_,y){m.transaction(function(D){D.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(w,b){for(var x=[],O=0;O<b.rows.length;O++)x.push(b.rows.item(O).name);_({db:m,storeNames:x});},function(w,b){y(b);});},function(D){y(D);});})}function lU(m,_){_=S.apply(this,arguments);var y=this.config();m=typeof m!="function"&&m||{},m.name||(m.name=m.name||y.name,m.storeName=m.storeName||y.storeName);var D=this,w;return m.name?w=new p(function(b){var x;m.name===y.name?x=D._dbInfo.db:x=openDatabase(m.name,"","",0),m.storeName?b({db:x,storeNames:[m.storeName]}):b(cU(x));}).then(function(b){return new p(function(x,O){b.db.transaction(function(F){function B(Ge){return new p(function(Qe,Lt){F.executeSql("DROP TABLE IF EXISTS "+Ge,[],function(){Qe();},function(Tt,lr){Lt(lr);});})}for(var j=[],J=0,Ie=b.storeNames.length;J<Ie;J++)j.push(B(b.storeNames[J]));p.all(j).then(function(){x();}).catch(function(Ge){O(Ge);});},function(F){O(F);});})}):w=p.reject("Invalid arguments"),g(w,_),w}var uU={_driver:"webSQLStorage",_initStorage:KB,_support:ZB(),iterate:tU,getItem:eU,setItem:nU,removeItem:rU,clear:iU,length:oU,key:sU,keys:aU,dropInstance:lU};function dU(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return !1}}function YE(m,_){var y=m.name+"/";return m.storeName!==_.storeName&&(y+=m.storeName+"/"),y}function fU(){var m="_localforage_support_test";try{return localStorage.setItem(m,!0),localStorage.removeItem(m),!1}catch{return !0}}function pU(){return !fU()||localStorage.length>0}function hU(m){var _=this,y={};if(m)for(var D in m)y[D]=m[D];return y.keyPrefix=YE(m,_._defaultConfig),pU()?(_._dbInfo=y,y.serializer=Z_,p.resolve()):p.reject()}function mU(m){var _=this,y=_.ready().then(function(){for(var D=_._dbInfo.keyPrefix,w=localStorage.length-1;w>=0;w--){var b=localStorage.key(w);b.indexOf(D)===0&&localStorage.removeItem(b);}});return g(y,m),y}function gU(m,_){var y=this;m=C(m);var D=y.ready().then(function(){var w=y._dbInfo,b=localStorage.getItem(w.keyPrefix+m);return b&&(b=w.serializer.deserialize(b)),b});return g(D,_),D}function yU(m,_){var y=this,D=y.ready().then(function(){for(var w=y._dbInfo,b=w.keyPrefix,x=b.length,O=localStorage.length,F=1,B=0;B<O;B++){var j=localStorage.key(B);if(j.indexOf(b)===0){var J=localStorage.getItem(j);if(J&&(J=w.serializer.deserialize(J)),J=m(J,j.substring(x),F++),J!==void 0)return J}}});return g(D,_),D}function vU(m,_){var y=this,D=y.ready().then(function(){var w=y._dbInfo,b;try{b=localStorage.key(m);}catch{b=null;}return b&&(b=b.substring(w.keyPrefix.length)),b});return g(D,_),D}function _U(m){var _=this,y=_.ready().then(function(){for(var D=_._dbInfo,w=localStorage.length,b=[],x=0;x<w;x++){var O=localStorage.key(x);O.indexOf(D.keyPrefix)===0&&b.push(O.substring(D.keyPrefix.length));}return b});return g(y,m),y}function bU(m){var _=this,y=_.keys().then(function(D){return D.length});return g(y,m),y}function DU(m,_){var y=this;m=C(m);var D=y.ready().then(function(){var w=y._dbInfo;localStorage.removeItem(w.keyPrefix+m);});return g(D,_),D}function wU(m,_,y){var D=this;m=C(m);var w=D.ready().then(function(){_===void 0&&(_=null);var b=_;return new p(function(x,O){var F=D._dbInfo;F.serializer.serialize(_,function(B,j){if(j)O(j);else try{localStorage.setItem(F.keyPrefix+m,B),x(b);}catch(J){(J.name==="QuotaExceededError"||J.name==="NS_ERROR_DOM_QUOTA_REACHED")&&O(J),O(J);}});})});return g(w,y),w}function CU(m,_){if(_=S.apply(this,arguments),m=typeof m!="function"&&m||{},!m.name){var y=this.config();m.name=m.name||y.name,m.storeName=m.storeName||y.storeName;}var D=this,w;return m.name?w=new p(function(b){m.storeName?b(YE(m,D._defaultConfig)):b(m.name+"/");}).then(function(b){for(var x=localStorage.length-1;x>=0;x--){var O=localStorage.key(x);O.indexOf(b)===0&&localStorage.removeItem(O);}}):w=p.reject("Invalid arguments"),g(w,_),w}var SU={_driver:"localStorageWrapper",_initStorage:hU,_support:dU(),iterate:yU,getItem:gU,setItem:wU,removeItem:DU,clear:mU,length:bU,key:vU,keys:_U,dropInstance:CU},IU=function(_,y){return _===y||typeof _=="number"&&typeof y=="number"&&isNaN(_)&&isNaN(y)},EU=function(_,y){for(var D=_.length,w=0;w<D;){if(IU(_[w],y))return !0;w++;}return !1},GE=Array.isArray||function(m){return Object.prototype.toString.call(m)==="[object Array]"},mu={},ZE={},qa={INDEXEDDB:GB,WEBSQL:uU,LOCALSTORAGE:SU},TU=[qa.INDEXEDDB._driver,qa.WEBSQL._driver,qa.LOCALSTORAGE._driver],np=["dropInstance"],J_=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(np),xU={description:"",driver:TU.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function MU(m,_){m[_]=function(){var y=arguments;return m.ready().then(function(){return m[_].apply(m,y)})};}function Q_(){for(var m=1;m<arguments.length;m++){var _=arguments[m];if(_)for(var y in _)_.hasOwnProperty(y)&&(GE(_[y])?arguments[0][y]=_[y].slice():arguments[0][y]=_[y]);}return arguments[0]}var RU=(function(){function m(_){a(this,m);for(var y in qa)if(qa.hasOwnProperty(y)){var D=qa[y],w=D._driver;this[y]=w,mu[w]||this.defineDriver(D);}this._defaultConfig=Q_({},xU),this._config=Q_({},this._defaultConfig,_),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){});}return m.prototype.config=function(y){if((typeof y>"u"?"undefined":s(y))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var D in y){if(D==="storeName"&&(y[D]=y[D].replace(/\W/g,"_")),D==="version"&&typeof y[D]!="number")return new Error("Database version must be a number.");this._config[D]=y[D];}return "driver"in y&&y.driver?this.setDriver(this._config.driver):!0}else return typeof y=="string"?this._config[y]:this._config},m.prototype.defineDriver=function(y,D,w){var b=new p(function(x,O){try{var F=y._driver,B=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!y._driver){O(B);return}for(var j=J_.concat("_initStorage"),J=0,Ie=j.length;J<Ie;J++){var Ge=j[J],Qe=!EU(np,Ge);if((Qe||y[Ge])&&typeof y[Ge]!="function"){O(B);return}}var Lt=function(){for(var gu=function(kU){return function(){var OU=new Error("Method "+kU+" is not implemented by the current driver"),JE=p.reject(OU);return g(JE,arguments[arguments.length-1]),JE}},X_=0,NU=np.length;X_<NU;X_++){var K_=np[X_];y[K_]||(y[K_]=gu(K_));}};Lt();var Tt=function(gu){mu[F]&&console.info("Redefining LocalForage driver: "+F),mu[F]=y,ZE[F]=gu,x();};"_support"in y?y._support&&typeof y._support=="function"?y._support().then(Tt,O):Tt(!!y._support):Tt(!0);}catch(lr){O(lr);}});return v(b,D,w),b},m.prototype.driver=function(){return this._driver||null}
1,m.prototype.getDriver=function(y,D,w){var b=mu[y]?p.resolve(mu[y]):p.reject(new Error("Driver not found."));return v(b,D,w),b},m.prototype.getSerializer=function(y){var D=p.resolve(Z_);return v(D,y),D},m.prototype.ready=function(y){var D=this,w=D._driverSet.then(function(){return D._ready===null&&(D._ready=D._initDriver()),D._ready});return v(w,y,y),w},m.prototype.setDriver=function(y,D,w){var b=this;GE(y)||(y=[y]);var x=this._getSupportedDrivers(y);function O(){b._config.driver=b.driver();}function F(J){return b._extend(J),O(),b._ready=b._initStorage(b._config),b._ready}function B(J){return function(){var Ie=0;function Ge(){for(;Ie<J.length;){var Qe=J[Ie];return Ie++,b._dbInfo=null,b._ready=null,b.getDriver(Qe).then(F).catch(Ge)}O();var Lt=new Error("No available storage method found.");return b._driverSet=p.reject(Lt),b._driverSet}return Ge()}}var j=this._driverSet!==null?this._driverSet.catch(function(){return p.resolve()}):p.resolve();return this._driverSet=j.then(function(){var J=x[0];return b._dbInfo=null,b._ready=null,b.getDriver(J).then(function(Ie){b._driver=Ie._driver,O(),b._wrapLibraryMethodsWithReady(),b._initDriver=B(x);})}).catch(function(){O();var J=new Error("No available storage method found.");return b._driverSet=p.reject(J),b._driverSet}),v(this._driverSet,D,w),this._driverSet},m.prototype.supports=function(y){return !!ZE[y]},m.prototype._extend=function(y){Q_(this,y);},m.prototype._getSupportedDrivers=function(y){for(var D=[],w=0,b=y.length;w<b;w++){var x=y[w];this.supports(x)&&D.push(x);}return D},m.prototype._wrapLibraryMethodsWithReady=function(){for(var y=0,D=J_.length;y<D;y++)MU(this,J_[y]);},m.prototype.createInstance=function(y){return new m(y)},m})(),AU=new RU;i.exports=AU;},{3:3}]},{},[4])(4)});});var OB=v$5(ME=>{"use strict";ME.__esModule=!0;var $K=(function(){function e(t){if(!t)throw new TypeError("Invalid argument; `value` has no value.");this.value=e.EMPTY,t&&e.isGuid(t)&&(this.value=t);}return e.isGuid=function(t){var n=t.toString();return t&&(t instanceof e||e.validator.test(n))},e.create=function(){return new e([e.gen(2),e.gen(1),e.gen(1),e.gen(1),e.gen(3)].join("-"))},e.createEmpty=function(){return new e("emptyguid")},e.parse=function(t){return new e(t)},e.raw=function(){return [e.gen(2),e.gen(1),e.gen(1),e.gen(1),e.gen(3)].join("-")},e.gen=function(t){for(var n="",r=0;r<t;r++)n+=((1+Math.random())*65536|0).toString(16).substring(1);return n},e.prototype.equals=function(t){return e.isGuid(t)&&this.value===t.toString()},e.prototype.isEmpty=function(){return this.value===e.EMPTY},e.prototype.toString=function(){return this.value},e.prototype.toJSON=function(){return {value:this.value}},e.validator=new RegExp("^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$","i"),e.EMPTY="00000000-0000-0000-0000-000000000000",e})();ME.Guid=$K;});function ie$1(e){return typeof e=="function"}function Wa(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack;});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var rp=Wa(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: 2${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=n;});function ps(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1);}}var Fe=class e{constructor(t){this.initialTeardown=t,this.closed=false,this._parentage=null,this._finalizers=null;}unsubscribe(){let t;if(!this.closed){this.closed=true;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(ie$1(r))try{r();}catch(o){t=o instanceof rp?o.errors:[o];}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{KE(o);}catch(s){t=t??[],s instanceof rp?t=[...t,...s.errors]:t.push(s);}}if(t)throw new rp(t)}}add(t){var n;if(t&&t!==this)if(this.closed)KE(t);else {if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this);}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t);}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t;}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&ps(n,t);}remove(t){let{_finalizers:n}=this;n&&ps(n,t),t instanceof e&&t._removeParent(this);}};Fe.EMPTY=(()=>{let e=new Fe;return e.closed=true,e})();var eb=Fe.EMPTY;function ip(e){return e instanceof Fe||e&&"closed"in e&&ie$1(e.remove)&&ie$1(e.add)&&ie$1(e.unsubscribe)}function KE(e){ie$1(e)?e():e.unsubscribe();}var Pr$1={Promise:void 0};var Ya={setTimeout(e,t,...n){return setTimeout(e,t,...n)},clearTimeout(e){return (clearTimeout)(e)},delegate:void 0};function op(e){Ya.setTimeout(()=>{throw e});}function hs(){}function Ga(e){e();}var gs=class extends Fe{constructor(t){super(),this.isStopped=false,t?
vendor: 6,987 bytes, line 3
3(this.destination=t,ip(t)&&t.add(this)):this.destination=FU;}static create(t,n,r){return new Ni(t,n,r)}next(t){this.isStopped?rb():this._next(t);}error(t){this.isStopped?rb():(this.isStopped=true,this._error(t));}complete(){this.isStopped?rb():(this.isStopped=true,this._complete());}unsubscribe(){this.closed||(this.isStopped=true,super.unsubscribe(),this.destination=null);}_next(t){this.destination.next(t);}_error(t){try{this.destination.error(t);}finally{this.unsubscribe();}}_complete(){try{this.destination.complete();}finally{this.unsubscribe();}}};var ib=class{constructor(t){this.partialObserver=t;}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t);}catch(r){sp(r);}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t);}catch(r){sp(r);}else sp(t);}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete();}catch(n){sp(n);}}},Ni=class extends gs{constructor(t,n,r){super();let i;if(ie$1(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else {i=t;}this.destination=new ib(i);}};function sp(e){op(e);}function LU(e){throw e}function rb(e,t){}var FU={closed:true,next:hs,error:LU,complete:hs};var Za=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Kt$1(e){return e}function ob(...e){return sb(e)}function sb(e){return e.length===0?Kt$1:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var ae$3=(()=>{class e{constructor(n){n&&(this._subscribe=n);}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=UU(n)?n:new Ni(n,r,i);return Ga(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o));}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r);}}forEach(n,r){return r=iT(r),new r((i,o)=>{let s=new Ni({next:a=>{try{n(a);}catch(c){o(c),s.unsubscribe();}},error:o,complete:i});this.subscribe(s);})}_subscribe(n){var r;return (r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Za](){return this}pipe(...n){return sb(n)(this)}toPromise(n){return n=iT(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o));})}}return e.create=t=>new e(t),e})();function iT(e){var t;return (t=e??Pr$1.Promise)!==null&&t!==void 0?t:Promise}function BU(e){return e&&ie$1(e.next)&&ie$1(e.error)&&ie$1(e.complete)}function UU(e){return e&&e instanceof gs||BU(e)&&ip(e)}var oT=Wa(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed";});var G$3=(()=>{class e extends ae$3{constructor(){super(),this.closed=false,this.currentObservers=null,this.observers=[],this.isStopped=false,this.hasError=false,this.thrownError=null;}lift(n){let r=new ap(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new oT}next(n){Ga(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n);}});}error(n){Ga(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=true,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n);}});}complete(){Ga(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=true;let{observers:n}=this;for(;n.length;)n.shift().complete();}});}unsubscribe(){this.isStopped=this.closed=true,this.observers=this.currentObservers=null;}get observed(){var n;return ((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?eb:(this.currentObservers=null,o.push(n),new Fe(()=>{this.currentObservers=null,ps(o,n);}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete();}asObservable(){let n=new ae$3;return n.source=this,n}}return e.create=(t,n)=>new ap(t,n),e})(),ap=class extends G$3{constructor(t,n){super(),this.destination=t,this.source=n;}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t);}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t);}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t);}_subscribe(t){var n,r;return (r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:eb}};var xt$1=new ae$3(e=>e.complete());function Se$3(e,t,n,r){var i=arguments.length,o=i<3?t:r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function aT(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o);})}return new(n||(n=Promise))(function(o,s){function a(d){try{u(r.next(d));}catch(f){s(f);}}function c(d){try{u(r.throw(d));}catch(f){s(f);}}function u(d){d.done?o(d.value):i(d.value).then(a,c);}u((r=r.apply(e,[])).next());})}function sT(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return {next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ys(e){return this instanceof ys?(this.v=e,this):new ys(e)}function cT(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(g){return function(v){return Promise.resolve(v).then(g,f)}}function a(g,v){r[g]&&(i[g]=function(C){return new Promise(function(S,M){o.push([g,C,S,M])>1||c(g,C);})},v&&(i[g]=v(i[g])));}function c(g,v){try{u(r[g](v));}catch(C){p(o[0][3],C);}}function u(g){g.value instanceof ys?Promise.resolve(g.value.v).then(d,f):p(o[0][2],g);}function d(g){c("next",g);}function f(g){c("throw",g);}function p(g,v){g(v),o.shift(),o.length&&c(o[0][0],o[0][1]);}}function lT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof sT=="function"?sT(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=e[o]&&function(s){return new Promise(function(a,c){s=e[o](s),i(a,c,s.done,s.value);})};}function i(o,s,a,c){Promise.resolve(c).then(function(u){o({value:u,done:a});},s);}}var Ja=e=>e&&typeof e.length=="number"&&typeof e!="function";function cp(e){return ie$1(e?.then)}function lp(e){return ie$1(e[Za])}function up(e){return Symbol.asyncIterator&&ie$1(e?.[Symbol.asyncIterator])}function dp(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invali
3d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function VU(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fp=VU();function pp(e){return ie$1(e?.[fp])}function hp(e){return cT(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:i}=yield ys(n.read());if(i)return yield ys(void 0);yield yield ys(r);}}finally{n.releaseLock();}})}function mp(e){return ie$1(e?.getReader)}function xe(e){if(e instanceof ae$3)return e;if(e!=null){if(lp(e))return jU(e);if(Ja(e))return HU(e);if(cp(e))return $U(e);if(up(e))return uT(e);if(pp(e))return zU(e);if(mp(e))return qU(e)}throw dp(e)}function jU(e){return new ae$3(t=>{let n=e[Za]();if(ie$1(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function HU(e){return new ae$3(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete();})}function $U(e){return new ae$3(t=>{e.then(n=>{t.closed||(t.next(n),t.complete());},n=>t.error(n)).then(null,op);})}function zU(e){return new ae$3(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete();})}function uT(e){return new ae$3(t=>{WU(e,t).catch(n=>t.error(n));})}function qU(e){return uT(hp(e))}function WU(e,t){var n,r,i,o;return aT(this,void 0,void 0,function*(){try{for(n=lT(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){i={error:s};}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n));}finally{if(i)throw i.error}}t.complete();})}function Ln$1(e,t,n,r=0,i=false){let o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe();},r);if(e.add(o),!i)return o}function YU(e){return ie$1(e?.lift)}function re$2(e){return t=>{if(YU(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r);}});throw new TypeError("Unable to lift unknown Observable type")}}function oe$4(e,t,n,r,i){return new ab(e,t,n,r,i)}var ab=class extends gs{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a);}catch(c){t.error(c);}}:super._next,this._error=i?function(a){try{i(a);}catch(c){t.error(c);}finally{this.unsubscribe();}}:super._error,this._complete=r?function(){try{r();}catch(a){t.error(a);}finally{this.unsubscribe();}}:super._complete;}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this));}}};function gp(e,t=0){return re$2((n,r)=>{n.subscribe(oe$4(r,i=>Ln$1(r,e,()=>r.next(i),t),()=>Ln$1(r,e,()=>r.complete(),t),i=>Ln$1(r,e,()=>r.error(i),t)));})}function yp(e,t=0){return re$2((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t));})}function dT(e,t){return xe(e).pipe(yp(t),gp(t))}function fT(e,t){return xe(e).pipe(yp(t),gp(t))}function pT(e,t){return new ae$3(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule());})})}function hT(e,t){return new ae$3(n=>{let r;return Ln$1(n,t,()=>{r=e[fp](),Ln$1(n,t,()=>{let i,o;try{({value:i,done:o}=r.next());}catch(s){n.error(s);return}o?n.complete():n.next(i);},0,true);}),()=>ie$1(r?.return)&&r.return()})}function vp(e,t){if(!e)throw new Error("Iterable cannot be null");return new ae$3(n=>{Ln$1(n,t,()=>{let r=e[Symbol.asyncIterator]();Ln$1(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value);});},0,true);});})}function mT(e,t){return vp(hp(e),t)}function gT(e,t){if(e!=null){if(lp(e))return dT(e,t);if(Ja(e))return pT(e,t);if(cp(e))return fT(e,t);if(up(e))return vp(e,t);if(pp(e))return hT(e,t);if(mp(e))return mT(e,t)}throw dp(e)}function Re$1(e,t){return t?gT(e,t):xe(e)}function _p(e){return e&&ie$1(e.schedule)}function cb(e){return e[e.length-1]}function Qa(e){return ie$1(cb(e))?e.pop():void 0}function ur(e){return _p(cb(e))?e.pop():void 0}function bp(e,t){return typeof cb(e)=="number"?e.pop():t}function N$4(...e){let t=ur(e);return Re$1(e,t)}function T$3(e,t){return re$2((n,r)=>{let i=0;n.subscribe(oe$4(r,o=>{r.next(e.call(t,o,i++));}));})}function Dp(e,t,n,r,i,o,s,a){let c=[],u=0,d=0,f=false,p=()=>{f&&!c.length&&!u&&t.complete();},g=C=>u<r?v(C):c.push(C),v=C=>{o&&t.next(C),u++;let S=false;xe(n(C,d++)).subscribe(oe$4(t,M=>{o?g(M):t.next(M);},()=>{S=true;},void 0,()=>{if(S)try{for(u--;c.length&&u<r;){let M=c.shift();s?Ln$1(t,s,()=>
3v(M)):v(M);}p();}catch(M){t.error(M);}}));};return e.subscribe(oe$4(t,g,()=>{f=true,p();})),()=>{}}function Be(e,t,n=1/0){return ie$1(t)?Be((r,i)=>T$3((o,s)=>t(r,o,i,s))(xe(e(r,i))),n):(typeof t=="number"&&(n=t),re$2((r,i)=>Dp(r,i,e,n)))}var{isArray:GU}=Array,{getPrototypeOf:ZU,prototype:JU,keys:QU}=Object;function wp(e){if(e.length===1){let t=e[0];if(GU(t))return {args:t,keys:null};if(XU(t)){let n=QU(t);return {args:n.map(r=>t[r]),keys:n}}}return {args:e,keys:null}}function XU(e){return e&&typeof e=="object"&&ZU(e)===JU}var{isArray:KU}=Array;function eV(e,t){return KU(t)?e(...t):e(t)}function Xa(e){return T$3(t=>eV(e,t))}function Cp(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function vu(...e){let t=Qa(e),{args:n,keys:r}=wp(e),i=new ae$3(o=>{let{length:s}=n;if(!s){o.complete();return}let a=new Array(s),c=s,u=s;for(let d=0;d<s;d++){let f=false;xe(n[d]).subscribe(oe$4(o,p=>{f||(f=true,u--),a[d]=p;},()=>c--,void 0,()=>{(!c||!f)&&(u||o.next(r?Cp(r,a):a),o.complete());}));}});return t?i.pipe(Xa(t)):i}var tV=["addListener","removeListener"],nV=["addEventListener","removeEventListener"],rV=["on","off"];function _u(e,t,n,r){if(ie$1(n)&&(r=n,n=void 0),r)return _u(e,t,n).pipe(Xa(r));let[i,o]=sV(e)?nV.map(s=>a=>e[s](t,a,n)):iV(e)?tV.map(yT(e,t)):oV(e)?rV.map(yT(e,t)):[];if(!i&&Ja(e))return Be(s=>_u(s,t,n))(xe(e));if(!i)throw new TypeError("Invalid event target");return new ae$3(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return i(a),()=>o(a)})}function yT(e,t){return n=>r=>e[n](t,r)}function iV(e){return ie$1(e.addListener)&&ie$1(e.removeListener)}function oV(e){return ie$1(e.on)&&ie$1(e.off)}function sV(e){return ie$1(e.addEventListener)&&ie$1(e.removeEventListener)}function dr(e=1/0){return Be(Kt$1,e)}function lb(...e){let t=ur(e),n=bp(e,1/0),r=e;return r.length?r.length===1?xe(r[0]):dr(n)(Re$1(r,t)):xt$1}function Ne$1(e,t){return re$2((n,r)=>{let i=0;n.subscribe(oe$4(r,o=>e.call(t,o,i++)&&r.next(o)));})}var{isArray:aV}=Array;function vT(e){return e.length===1&&aV(e[0])?e[0]:e}function cV(...e){let t=Qa(e),n=vT(e);return n.length?new ae$3(r=>{let i=n.map(()=>[]),o=n.map(()=>false);r.add(()=>{i=o=null;});for(let s=0;!r.closed&&s<n.length;s++)xe(n[s]).subscribe(oe$4(r,a=>{if(i[s].push(a),i.every(c=>c.length)){let c=i.map(u=>u.shift());r.next(t?t(...c):c),i.some((u,d)=>!u.length&&o[d])&&r.complete();}},()=>{o[s]=true,!i[s].length&&r.complete();}));return ()=>{i=o=null;}}):xt$1}function k$3(e){return re$2((t,n)=>{let r=null,i=!1,o;r=t.subscribe(oe$4(n,void 0,void 0,s=>{o=xe(e(s,k$3(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0;})),i&&(r.unsubscribe(),r=null,o.subscribe(n));})}function Ft(e,t){return ie$1(t)?Be(e,t,1):Be(e,1)}var Sp=class extends Fe{constructor(t,n){super();}schedule(t,n=0){return this}};var bu={setInterval(e,t,...n){let{delegate:r}=bu;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){return (clearInterval)(e)},delegate:void 0};var Ka=class extends Sp{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=false;}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=true,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return bu.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===false)return n;n!=null&&bu.clearInterval(n);}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=false;let r=this._execute(t,n);if(r)return r;this.pending===false&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null));}_execute(t,n){let r=false,i;try{this.work(t);}catch(o){r=true,i=o||new Error("Scheduled action threw falsy error");}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=false,ps(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe();}}};var Du={now(){return (Du.delegate||Date).now()},delegate:void 0};
vendor: 1,086 bytes, line 3
3var ec=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n;}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};ec.now=Du.now;var tc=class extends ec{constructor(t,n=ec.now){super(t,n),this.actions=[],this._active=false;}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=true;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=false,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Lr$1=new tc(Ka),_T=Lr$1;function oi(e,t=Lr$1){return re$2((n,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let u=o;o=null,r.next(u);}};function c(){let u=s+e,d=t.now();if(d<u){i=this.schedule(void 0,u-d),r.add(i);return}a();}n.subscribe(oe$4(r,u=>{o=u,s=t.now(),i||(i=t.schedule(c,e),r.add(i));},()=>{a(),r.complete();},void 0,()=>{o=i=null;}));})}function bT(){return dr(1)}function si(...e){return bT()(Re$1(e,ur(e)))}function it$1(e){return e<=0?()=>xt$1:re$2((t,n)=>{let r=0;t.subscribe(oe$4(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete());}));})}function DT(){return re$2((e,t)=>
3{e.subscribe(oe$4(t,hs));})}function wT(e){return T$3(()=>e)}function Ip(e,t){return t?n=>si(t.pipe(it$1(1),DT()),n.pipe(Ip(e))):Be((n,r)=>xe(e(n,r)).pipe(it$1(1),wT(n)))}function CT(e){return e instanceof Date&&!isNaN(e)}function Fr$1(e=0,t,n=_T){let r=-1;return t!=null&&(_p(t)?n=t:r=t),new ae$3(i=>{let o=CT(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete());},o)})}function Ep(e,t=Lr$1){let n=Fr$1(e,t);return Ip(()=>n)}function wu(e,t=Kt$1){return e=e??lV,re$2((n,r)=>{let i,o=!0;n.subscribe(oe$4(r,s=>{let a=t(s);(o||!e(i,a))&&(o=!1,i=a,r.next(s));}));})}function lV(e,t){return e===t}function nc(e){return re$2((t,n)=>{try{t.subscribe(n);}finally{n.add(e);}})}function uV(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:i=false}=t;return n<=0?Kt$1:re$2((o,s)=>{let a=0,c,u=()=>{let d=!1;c=o.subscribe(oe$4(s,f=>{i&&(a=0),s.next(f);},void 0,f=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,u()):d=!0;};if(r!=null){let g=typeof r=="number"?Fr$1(r):xe(r(f,a)),v=oe$4(s,()=>{v.unsubscribe(),p();},()=>{s.complete();});g.subscribe(v);}else p();}else s.error(f);})),d&&(c.unsubscribe(),c=null,u());};u();})}function rc(e){return Ne$1((t,n)=>e<=n)}function en$1(e,t){return re$2((n,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();n.subscribe(oe$4(r,c=>{i?.unsubscribe();let u=0,d=o++;xe(e(c,d)).subscribe(i=oe$4(r,f=>r.next(t?t(c,f,d,u++):f),()=>{i=null,a();}));},()=>{s=!0,a();}));})}function ft$2(e){return re$2((t,n)=>{xe(e).subscribe(oe$4(n,()=>n.complete(),hs)),!n.closed&&t.subscribe(n);})}function Ke$3(e,t,n){let r=ie$1(e)||t||n?{next:e,error:t,complete:n}:e;return r?re$2((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(oe$4(o,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),o.next(c);},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),o.complete();},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),o.error(c);},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r);}));}):Kt$1}var ic={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;let i=t(o=>{n=void 0,e(o);});return new Fe(()=>n?.(i))},requestAnimationFrame(...e){let{delegate:t}=ic;return (t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){return (cancelAnimationFrame)(...e)},delegate:void 0};var zt=class extends G$3{constructor(t){super(),this._value=t;}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return !n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t);}};var go=class extends G$3{constructor(t=1/0,n=1/0,r=Du){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=true,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n);}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(t),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(t);}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!t.closed;s+=r?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1);}}};
3var Tp=class extends Ka{constructor(t,n){super(t,n),this.scheduler=t,this.work=n;}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=ic.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:o}=t;n!=null&&n===t._scheduled&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==n&&(ic.cancelAnimationFrame(n),t._scheduled=void 0);}};var xp=class extends tc{flush(t){this._active=true;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,i;t=t||r.shift();do if(i=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=false,i){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw i}}};var ST=new xp(Tp);function vs(e,t){let n=ie$1(e)?e:()=>e,r=i=>i.error(n());return new ae$3(r)}function Cu(e){return !!e&&(e instanceof ae$3||ie$1(e.lift)&&ie$1(e.subscribe))}var ki=Wa(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence";});function oc(...e){let t=ur(e),n=Qa(e),{args:r,keys:i}=wp(e);if(r.length===0)return Re$1([],t);let o=new ae$3(dV(r,t,i?s=>Cp(i,s):Kt$1));return n?o.pipe(Xa(n)):o}function dV(e,t,n=Kt$1){return r=>{IT(t,()=>{let{length:i}=e,o=new Array(i),s=i,a=i;for(let c=0;c<i;c++)IT(t,()=>{let u=Re$1(e[c],t),d=false;u.subscribe(oe$4(r,f=>{o[c]=f,d||(d=true,a--),a||r.next(n(o.slice()));},()=>{--s||r.complete();}));},r);},r);}}function IT(e,t,n){e?Ln$1(n,e,t):t();}function Oi(e){return new ae$3(t=>{xe(e()).subscribe(t);})}function fV(e=0,t=Lr$1){return e<0&&(e=0),Fr$1(e,e,t)}function ET(e){return re$2((t,n)=>{let r=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;let u=i;i=null,n.next(u);}s&&n.complete();},c=()=>{o=null,s&&n.complete();};t.subscribe(oe$4(n,u=>{r=!0,i=u,o||xe(e(u)).subscribe(o=oe$4(n,a,c));},()=>{s=!0,(!r||!o||o.closed)&&n.complete();}));})}function Mp(e,t=Lr$1){return ET(()=>Fr$1(e,t))}function Rp(e){return re$2((t,n)=>{let r=!1;t.subscribe(oe$4(n,i=>{r=!0,n.next(i);},()=>{r||n.next(e),n.complete();}));})}function Ap(e=pV){return re$2((t,n)=>{let r=!1;t.subscribe(oe$4(n,i=>{r=!0,n.next(i);},()=>r?n.complete():n.error(e())));})}function pV(){return new ki}function hV(e,t=1/0,n){return t=(t||0)<1?1/0:t,re$2((r,i)=>Dp(r,i,e,t,void 0,!0,n))}function ai(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ne$1((i,o)=>e(i,o,r)):Kt$1,it$1(1),n?Rp(t):Ap(()=>new ki))}function sc(e){return e<=0?()=>xt$1:re$2((t,n)=>{let r=[];t.subscribe(oe$4(n,i=>{r.push(i),e<r.length&&r.shift();},()=>{for(let i of r)n.next(i);n.complete();},void 0,()=>{r=null;}));})}function mV(e,t){let n=arguments.length>=2;return r=>r.pipe(Kt$1,sc(1),n?Rp(t):Ap(()=>new ki))}function TT(...e){let t=ur(e),n=bp(e,1/0);return re$2((r,i)=>{dr(n)(Re$1([r,...e],t)).subscribe(i);})}function gV(...e){return TT(...e)}function xT(){return re$2((e,t)=>
3{let n,r=!1;e.subscribe(oe$4(t,i=>{let o=n;n=i,r&&t.next([o,i]),r=!0;}));})}function Np(e={}){let{connector:t=()=>new G$3,resetOnError:n=true,resetOnComplete:r=true,resetOnRefCountZero:i=true}=e;return o=>{let s,a,c,u=0,d=false,f=false,p=()=>{a?.unsubscribe(),a=void 0;},g=()=>{p(),s=c=void 0,d=f=false;},v=()=>{let C=s;g(),C?.unsubscribe();};return re$2((C,S)=>{u++,!f&&!d&&p();let M=c=c??t();S.add(()=>{u--,u===0&&!f&&!d&&(a=ub(v,i));}),M.subscribe(S),!s&&u>0&&(s=new Ni({next:L=>M.next(L),error:L=>{f=!0,p(),a=ub(g,n,L),M.error(L);},complete:()=>{d=!0,p(),a=ub(g,r),M.complete();}}),xe(C).subscribe(s));})(o)}}function ub(e,t,...n){if(t===true){e();return}if(t===false)return;let r=new Ni({next:()=>{r.unsubscribe(),e();}});return xe(t(...n)).subscribe(r)}function db(e,t,n){let r,i=false;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:i=false,scheduler:n}=e:r=e??1/0,Np({connector:()=>new go(r,t,n),resetOnError:true,resetOnComplete:false,resetOnRefCountZero:i})}function Br$1(...e){let t=ur(e);return re$2((n,r)=>{(t?si(e,n,t):si(e,n)).subscribe(r);})}function kp(e,t=false){return re$2((n,r)=>{let i=0;n.subscribe(oe$4(r,o=>{let s=e(o,i++);(s||t)&&r.next(o),!s&&r.complete();}));})}function MT(e,t){return re$2((n,r)=>{let{leading:i=!0,trailing:o=!1}=t??{},s=!1,a=null,c=null,u=!1,d=()=>{c?.unsubscribe(),c=null,o&&(g(),u&&r.complete());},f=()=>{c=null,u&&r.complete();},p=v=>c=xe(e(v)).subscribe(oe$4(r,d,f)),g=()=>{if(s){s=!1;let v=a;a=null,r.next(v),!u&&p(v);}};n.subscribe(oe$4(r,v=>{s=!0,a=v,!(c&&!c.closed)&&(i?g():p(v));},()=>{u=!0,!(o&&s&&c&&!c.closed)&&r.complete();}));})}function fb(e,t=Lr$1,n){let r=Fr$1(e,t);return MT(()=>r,n)}var _n$1=null,Op=false,_s=1,St=Symbol("SIGNAL");function ee$3(e){let t=_n$1;return _n$1=e,t}function Pp(){return _n$1}var yo={version:0,lastCleanEpoch:0,dirty:false,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:false,consumerAllowSignalWrites:false,consumerIsAlwaysLive:false,kind:"unknown",producerMustRecompute:()=>false,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pi(e){if(Op)throw new Error("");if(_n$1===null)return;_n$1.consumerOnSignalRead(e);let t=_n$1.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=_n$1.recomputing;if(r&&(n=t!==void 0?t.nextProducer:_n$1.producers,n!==void 0&&n.producer===e)){_n$1.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=_s;return}let i=e.consumersTail;if(i!==void 0&&i.consumer===_n$1&&(!r||i.knownValidAtEpoch===_s))return;let o=lc(_n$1),s={producer:e,consumer:_n$1,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:_s,lastReadVersion:e.version,nextConsumer:void 0};_n$1.producersTail=s,t!==void 0?t.nextProducer=s:_n$1.producers=s,o&&kT(e,s);}function RT(){_s++;}function ws(e){if(!(lc(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===_s)){if(!e.producerMustRecompute(e)&&!cc(e)){ac(e);return}e.producerRecomputeValue(e),ac(e);}}function pb(e){if(e.consumers===void 0)return;let t=Op;Op=true;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||vV(r);}}finally{Op=t;}}function hb(){return _n$1?.consumerAllowSignalWrites!==false}function vV(e){e.dirty=true,pb(e),e.consumerMarkedDirty?.(e);}function ac(e){e.dirty=false,e.lastCleanEpoch=_s;}function Li(e){return e&&AT(e),ee$3(e)}function AT(e){if(e.producersTail?.knownValidAtEpoch===_s){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer;}e.producersTail=void 0,e.recomputing=true;}function vo(e,t){ee$3(t),e&&NT(e);}function NT(e){e.recomputing=false;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(lc(e))do n=mb(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0;}}function cc(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ws(n),r!==n.version))return true}return false}function _o(e){if(lc(e)){let t=e.producers;for(;t!==void 0;)t=mb(t);}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0;}function kT(e,t){let n=e.consumersTail,r=lc(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let i=e.producers;i!==void 0;i=i.nextProducer)kT(i.producer,i);}function mb(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:t.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(t.consumers=r,!lc(t)){let o=t.producers;for(;o!==void 0;)o=mb(o);}return n}function lc(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Iu(e,t){return Object.is(e,t)}function Eu(e,t){let n=Object.create(_V);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ws(n),Pi(n),n.value===ci)throw n.error;return n.value};return r[St]=n,r}var bs=Symbol("UNSET"),Ds=Symbol("COMPUTING"),ci=Symbol("ERRORED"),_V=s$6(r$2({},yo),{value:bs,dirty:true,error:null,equal:Iu,kind:"computed",producerMustRecompute(e){return e.value===bs||e.value===Ds},producerRecomputeValue(e){if(e.value===Ds)throw new Error("");let t=e.value;e.value=Ds;let n=Li(e),r,i=false;try{r=e.computation(),ee$3(null),i=t!==bs&&t!==ci&&r!==ci&&e.equal(t,r);}catch(o){r=ci,e.error=o;}finally{vo(e,n);}if(i){e.value=t;return}e.value=r,e.version++;}});function bV(){throw new Error}var OT=bV;function PT(e){OT(e);}function gb(e){OT=e;}function yb(e,t){let n=Object.create(Tu);n.value=e,t!==void 0&&(n.equal=t);let r=()=>LT(n);return r[St]=n,[r,s=>bo(n,s),s=>Lp(n,s)]}function LT(e){return Pi(e),e.value}function bo(e,t){hb()||PT(e),e.equal(e.value,t)||(e.value=t,wV(e));}function Lp(e,t){hb()||PT(e),bo(e,t(e.value));}var Tu=s$6(r$2({},yo),{equal:Iu,value:void 0,kind:"signal"});function wV(e){e.version++,RT(),pb(e);}var vb=s$6(r$2({},yo),{consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,dirty:true,kind:"effect"});function _b(e){if(e.dirty=false,e.version>0&&!cc(e))return;e.version++;let t=Li(e);try{e.cleanup(),e.fn();}finally{vo(e,t);}}var bb;function Fp(){return bb}function li(e){let t=bb;return bb=e,t}var FT=Symbol("NotFound");function uc(e){return e===FT||e?.name==="\u0275NotFound"}function Db(e,t,n){let r=Object.create(CV);r.source=e,r.computation=t,n!=null&&(r.equal=n);let o=()=>
3{if(ws(r),Pi(r),r.value===ci)throw r.error;return r.value};return o[St]=r,o}function BT(e,t){ws(e),bo(e,t),ac(e);}function UT(e,t){if(ws(e),e.value===ci)throw e.error;Lp(e,t),ac(e);}var CV=s$6(r$2({},yo),{value:bs,dirty:true,error:null,equal:Iu,kind:"linkedSignal",producerMustRecompute(e){return e.value===bs||e.value===Ds},producerRecomputeValue(e){if(e.value===Ds)throw new Error("");let t=e.value;e.value=Ds;let n=Li(e),r,i=false;try{let o=e.source(),s=t!==bs&&t!==ci,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(o,a),e.sourceValue=o,ee$3(null),i=s&&r!==ci&&e.equal(t,r);}catch(o){r=ci,e.error=o;}finally{vo(e,n);}if(i){e.value=t;return}e.value=r,e.version++;}});function VT(e){let t=ee$3(null);try{return e()}finally{ee$3(t);}}var zp="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",P$4=class P extends Error{code;constructor(t,n){super(pr(t,n)),this.code=t;}};function SV(e){return `NG0${Math.abs(e)}`}function pr(e,t){return `${SV(e)}${t?": "+t:""}`}function Ze$1(e){for(let t in e)if(e[t]===Ze$1)return t;throw Error("")}function qT(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);}function ku(e){if(typeof e=="string")return e;if(Array.isArray(e))return `[${e.map(ku).join(", ")}]`;if(e==null)return ""+e;let t=e.overriddenName||e.name;if(t)return `${t}`;let n=e.toString();if(n==null)return ""+n;let r=n.indexOf(` 4`);return r>=0?n.slice(0,r):n}function qp(e,t){return e?t?`${e} ${t}`:e:t||""}var IV=Ze$1({__forward_ref__:Ze$1});function vt$1(e){return e.__forward_ref__=vt$1,e}function qt$1(e){return Ob(e)?e():e}function Ob(e){return typeof e=="function"&&e.hasOwnProperty(IV)&&e.__forward_ref__===vt$1}function K$5(e){return {token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ze$2(e){return {providers:e.providers||[],imports:e.imports||[]}}function Ou(e){return EV(e,Wp)}function Pb(e){return Ou(e)!==null}function EV(e,t){return e.hasOwnProperty(t)&&e[t]||null}function TV(e){let t=e?.[Wp]??null;return t||null}function Cb(e){return e&&e.hasOwnProperty(Up)?e[Up]:null}var Wp=Ze$1({\u0275prov:Ze$1}),Up=Ze$1({\u0275inj:Ze$1}),R$3=class R{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=K$5({token:this,providedIn:n.providedIn||"root",factory:n.factory}));}get multi(){return this}toString(){return `InjectionToken ${this._desc}`}};
vendor: 23,248 bytes, line 4
4function Lb(e){return e&&!!e.\u0275providers}var Fb=Ze$1({\u0275cmp:Ze$1}),Bb=Ze$1({\u0275dir:Ze$1}),Ub=Ze$1({\u0275pipe:Ze$1}),Vb=Ze$1({\u0275mod:Ze$1}),Mu=Ze$1({\u0275fac:Ze$1}),Ts=Ze$1({__NG_ELEMENT_ID__:Ze$1}),jT=Ze$1({__NG_ENV_ID__:Ze$1});function WT(e){return Yp(e),e[Vb]||null}function di(e){return Yp(e),e[Fb]||null}function Pu(e){return Yp(e),e[Bb]||null}function jb(e){return Yp(e),e[Ub]||null}function Yp(e,t){if(e==null)throw new P$4(-919,false)}function Ur$1(e){return typeof e=="string"?e:e==null?"":String(e)}var YT=Ze$1({ngErrorCode:Ze$1}),xV=Ze$1({ngErrorMessage:Ze$1});Ze$1({ngTokenPath:Ze$1});function Hb(e,t){return GT("",-200)}function Gp(e,t){throw new P$4(-201,false)}function GT(e,t,n){let r=new P$4(t,e);return r[YT]=t,r[xV]=e,r}function RV(e){return e[YT]}var Sb;function ZT(){return Sb}function bn$1(e){let t=Sb;return Sb=e,t}function $b(e,t,n){let r=Ou(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Gp();}var hr=globalThis;var AV={},Cs=AV,NV="__NG_DI_FLAG__",Ib=class{injector;constructor(t){this.injector=t;}retrieve(t,n){let r=Ss(n)||0;try{return this.injector.get(t,r&8?null:Cs,r)}catch(i){if(uc(i))return i;throw i}}};function kV(e,t=0){let n=Fp();if(n===void 0)throw new P$4(-203,false);if(n===null)return $b(e,void 0,t);{let r=OV(t),i=n.retrieve(e,r);if(uc(i)){if(r.optional)return null;throw i}return i}}function Z$1(e,t=0){return (ZT()||kV)(qt$1(e),t)}function h$5(e,t){return Z$1(e,Ss(t))}function Ss(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function OV(e){return {optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Eb(e){let t=[];for(let n=0;n<e.length;n++){let r=qt$1(e[n]);if(Array.isArray(r)){if(r.length===0)throw new P$4(900,false);let i,o=0;for(let s=0;s<r.length;s++){let a=r[s],c=PV(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a;}t.push(Z$1(i,o));}else t.push(Z$1(r));}return t}function PV(e){return e[NV]}function Do(e,t){let n=e.hasOwnProperty(Mu);return n?e[Mu]:null}function JT(e,t,n){if(e.length!==t.length)return false;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return false}return true}function QT(e){return e.flat(Number.POSITIVE_INFINITY)}function Zp(e,t){e.forEach(n=>Array.isArray(n)?Zp(n,t):t(n));}function zb(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n);}function Lu(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function XT(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function KT(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else {for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--;}e[t]=n,e[t+1]=r;}}function Fu(e,t,n){let r=pc(e,t);return r>=0?e[r|1]=n:(r=~r,KT(e,r,t,n)),r}function Jp(e,t){let n=pc(e,t);if(n>=0)return e[n|1]}function pc(e,t){return LV(e,t,1)}function LV(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1;}return ~(i<<n)}var Co={},on$1=[],hc=new R$3(""),Bu=new R$3("",-1),qb=new R$3(""),fc=class{get(t,n=Cs){if(n===Cs){let i=GT("",-201);throw i.name="\u0275NotFound",i}return n}};function Ui(e){return {\u0275providers:e}}function ex(...e){return {\u0275providers:Qp(true,e),\u0275fromNgModule:true}}function Qp(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s);};return Zp(t,s=>{let a=s;Vp(a,o,[],r)&&(i||=[],i.push(a));}),i!==void 0&&tx(i,o),n}function tx(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];Wb(i,o=>{t(o,r);});}}function Vp(e,t,n,r){if(e=qt$1(e),!e)return false;let i=null,o=Cb(e),s=!o&&di(e);if(!o&&!s){let c=e.ngModule;if(o=Cb(c),o)i=c;else return false}else {if(s&&!s.standalone)return false;i=e;}let a=r.has(i);if(s){if(a)return false;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Vp(u,t,n,r);}}else if(o){if(o.imports!=null&&!a){r.add(i);let u;Zp(o.imports,d=>{Vp(d,t,n,r)&&(u||=[],u.push(d));}),u!==void 0&&tx(u,t);}if(!a){let u=Do(i)||(()=>new i);t({provide:i,useFactory:u,deps:on$1},i),t({provide:qb,useValue:i,multi:true},i),t({provide:hc,useValue:()=>Z$1(i),multi:true},i);}let c=o.providers;if(c!=null&&!a){let u=e;Wb(c,d=>{t(d,u);});}}else return false;return i!==e&&e.providers!==void 0}function Wb(e,t){for(let n of e)Lb(n)&&(n=n.\u0275providers),Array.isArray(n)?Wb(n,t):t(n);}var FV=Ze$1({provide:String,useValue:Ze$1});function nx(e){return e!==null&&typeof e=="object"&&FV in e}function BV(e){return !!(e&&e.useExisting)}function UV(e){return !!(e&&e.useFactory)}function Is(e){return typeof e=="function"}function rx(e){return !!e.useClass}var Uu=new R$3(""),Bp={},HT={},wb;function mc(){return wb===void 0&&(wb=new fc),wb}var $e$1=class $e{},Es=class extends $e$1{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=false;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,xb(t,s=>this.processProvider(s)),this.records.set(Bu,dc(void 0,this)),i.has("environment")&&this.records.set($e$1,dc(void 0,this));let o=this.records.get(Uu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(qb,on$1,{self:true}));}retrieve(t,n){let r=Ss(n)||0;try{return this.get(t,Cs,r)}catch(i){if(uc(i))return i;throw i}}destroy(){xu(this),this._destroyed=true;let t=ee$3(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r();}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ee$3(t);}}onDestroy(t){return xu(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xu(this);let n=li(this),r=bn$1(void 0);try{return t()}finally{li(n),bn$1(r);}}get(t,n=Cs,r){if(xu(this),t.hasOwnProperty(jT))return t[jT](this);let i=Ss(r),s=li(this),a=bn$1(void 0);try{if(!(i&4)){let u=this.records.get(t);if(u===void 0){let d=zV(t)&&Ou(t);d&&this.injectableDefInScope(d)?u=dc(Tb(t),Bp):u=null,this.records.set(t,u);}if(u!=null)return this.hydrate(t,u,i)}let c=i&2?mc():this.parent;return n=i&8&&n===Cs?null:n,c.get(t,n)}catch(c){let u=RV(c);throw u===-200||u===-201?new P$4(u,null):c}finally{bn$1(a),li(s);}}resolveInjectorInitializers(){let t=ee$3(null),n=li(this),r=bn$1(void 0);try{let o=this.get(hc,on$1,{self:!0});for(let s of o)s();}finally{li(n),bn$1(r),ee$3(t);}}toString(){return "R3Injector[...]"}processProvider(t){t=qt$1(t);let n=Is(t)?t:qt$1(t&&t.provide),r=jV(t);if(!Is(t)&&t.multi===true){let i=this.records.get(n);i||(i=dc(void 0,Bp,true),i.factory=()=>Eb(i.multi),this.records.set(n,i)),n=t,i.multi.push(t);}this.records.set(n,r);}hydrate(t,n,r){let i=ee$3(null);try{if(n.value===HT)throw Hb("");return n.value===Bp&&(n.value=HT,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&$V(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{ee$3(i);}}injectableDefInScope(t){if(!t.providedIn)return false;let n=qt$1(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1);}};function Tb(e){let t=Ou(e),n=t!==null?t.factory:Do(e);if(n!==null)return n;if(e instanceof R$3)throw new P$4(-204,false);if(e instanceof Function)return VV(e);throw new P$4(-204,false)}function VV(e){if(e.length>0)throw new P$4(-204,false);let n=TV(e);return n!==null?()=>n.factory(e):()=>new e}function jV(e){if(nx(e))return dc(void 0,e.useValue);{let t=Yb(e);return dc(t,Bp)}}function Yb(e,t,n){let r;if(Is(e)){let i=qt$1(e);return Do(i)||Tb(i)}else if(nx(e))r=()=>qt$1(e.useValue);else if(UV(e))r=()=>e.useFactory(...Eb(e.deps||[]));else if(BV(e))r=(i,o)=>Z$1(qt$1(e.useExisting),o!==void 0&&o&8?8:void 0);else {let i=qt$1(e&&(e.useClass||e.provide));if(HV(e))r=()=>new i(...Eb(e.deps));else return Do(i)||Tb(i)}return r}function xu(e){if(e.destroyed)throw new P$4(-205,false)}function dc(e,t,n=false){return {factory:e,value:t,multi:n?[]:void 0}}function HV(e){return !!e.deps}function $V(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function zV(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function xb(e,t){for(let n of e)Array.isArray(n)?xb(n,t):n&&Lb(n)?xb(n.\u0275providers,t):t(n);}function Wt(e,t){let n;e instanceof Es?(xu(e),n=e):n=new Ib(e);let i=li(n),o=bn$1(void 0);try{return t()}finally{li(i),bn$1(o);}}function ix(){return ZT()!==void 0||Fp()!=null}var Vr$1=0,W$3=1,pe$2=2,Bt=3,mr=4,sn$1=5,xs=6,gc=7,pt$1=8,nt$1=9,jr$1=10,Ue$1=11,yc=12,Gb=13,So=14,an$1=15,Io=16,Ms=17,fi=18,gr$1=19,Zb=20,Fi=21,Xp=22,wo=23,Yn=24,Rs=25,yr$1=26,Pe$3=27,ox=1,Eo=6,To=7,Vu=8,As=9,ht$2=10;function Vi(e){return Array.isArray(e)&&typeof e[ox]=="object"}function vr$1(e){return Array.isArray(e)&&e[ox]===true}function Jb(e){return (e.flags&4)!==0}function pi(e){return e.componentOffset>-1}function vc(e){return (e.flags&1)===1}function Hr$1(e){return !!e.template}function _c(e){return (e[pe$2]&512)!==0}function hi(e){return (e[pe$2]&256)===256}var Qb="svg",sx="math";function _r$1(e){for(;Array.isArray(e);)e=e[Vr$1];return e}function Kp(e,t){return _r$1(t[e])}function tn$1(e,t){return _r$1(t[e.index])}function bc(e,t){return e.data[t]}function xo(e,t){return e[t]}function ju(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r;}function br$1(e,t){let n=t[e];return Vi(n)?n:n[Vr$1]}function ax(e){return (e[pe$2]&4)===4}function eh(e){return (e[pe$2]&128)===128}function cx(e){return vr$1(e[Bt])}function Gn$1(e,t){return t==null?null:e[t]}function Xb(e){e[Ms]=0;}function th(e){e[pe$2]&1024||(e[pe$2]|=1024,eh(e)&&Ns(e));}function Kb(e,t){for(;e>0;)t=t[So],e--;return t}function Hu(e){return !!(e[pe$2]&9216||e[Yn]?.dirty)}function nh(e){e[jr$1].changeDetectionScheduler?.notify(8),e[pe$2]&64&&(e[pe$2]|=1024),Hu(e)&&Ns(e);}function Ns(e){e[jr$1].changeDetectionScheduler?.notify(0);let t=Bi(e);for(;t!==null&&!(t[pe$2]&8192||(t[pe$2]|=8192,!eh(t)));)t=Bi(t);}function Dc(e,t){if(hi(e))throw new P$4(911,false);e[Fi]===null&&(e[Fi]=[]),e[Fi].push(t);}function rh(e,t){if(e[Fi]===null)return;let n=e[Fi].indexOf(t);n!==-1&&e[Fi].splice(n,1);}function Bi(e){let t=e[Bt];return vr$1(t)?t[Bt]:t}function eD(e){return e[gc]??=[]}function tD(e){return e.cleanup??=[]}function lx(e,t,n,r){let i=eD(t);i.push(n),e.firstCreatePass&&tD(e).push(r,i.length-1);}var ve$2={lFrame:_x(null),bindingsEnabled:true,skipHydrationRootTNode:null};var Mb=false;function ux(){return ve$2.lFrame.elementDepthCount}function dx(){ve$2.lFrame.elementDepthCount++;}function nD(){ve$2.lFrame.elementDepthCount--;}function ih(){return ve$2.bindingsEnabled}function rD(){return ve$2.skipHydrationRootTNode!==null}function iD(e){return ve$2.skipHydrationRootTNode===e}function oD(){ve$2.skipHydrationRootTNode=null;}function z$3(){return ve$2.lFrame.lView}function Ve$1(){return ve$2.lFrame.tView}function ks(e){return ve$2.lFrame.contextLView=e,e[pt$1]}function Os(e){return ve$2.lFrame.contextLView=null,e}function st$1(){let e=sD();for(;e!==null&&e.type===64;)e=e.parent;return e}function sD(){return ve$2.lFrame.currentTNode}function fx(){let e=ve$2.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ps(e,t){let n=ve$2.lFrame;n.currentTNode=e,n.isParent=t;}function aD(){return ve$2.lFrame.isParent}function cD(){ve$2.lFrame.isParent=false;}function lD(){return ve$2.lFrame.contextLView}function uD(){return Mb}function Ru(e){let t=Mb;return Mb=e,t}function Dr(){let e=ve$2.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function dD(){return ve$2.lFrame.bindingIndex}function px(e){return ve$2.lFrame.bindingIndex=e}function ji(){return ve$2.lFrame.bindingIndex++}function $u(e){let t=ve$2.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hx(){return ve$2.lFrame.inI18n}function mx(e,t){let n=ve$2.lFrame;n.bindingIndex=n.bindingRootIndex=e,oh(t);}function gx(){return ve$2.lFrame.currentDirectiveIndex}function oh(e){ve$2.lFrame.currentDirectiveIndex=e;}function yx(e){let t=ve$2.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function sh(){return ve$2.lFrame.currentQueryIndex}function zu(e){ve$2.lFrame.currentQueryIndex=e;}function qV(e){let t=e[W$3];return t.type===2?t.declTNode:t.type===1?e[sn$1]:null}function fD(e,t,n){if(n&4){let i=t,o=e;for(;i=i.parent,i===null&&!(n&1);)if(i=qV(o),i===null||(o=o[So],i.type&10))break;if(i===null)return false;t=i,e=o;}let r=ve$2.lFrame=vx();return r.currentTNode=t,r.lView=e,true}function ah(e){let t=vx(),n=e[W$3];ve$2.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=false;}function vx(){let e=ve$2.lFrame,t=e===null?null:e.child;return t===null?_x(e):t}function _x(e){let t={currentTNode:null,isParent:true,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:false};return e!==null&&(e.child=t),t}function bx(){let e=ve$2.lFrame;return ve$2.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var pD=bx;function ch(){let e=bx();e.isParent=true,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0;}function Dx(e){return (ve$2.lFrame.contextLView=Kb(e,ve$2.lFrame.contextLView))[pt$1]}function wr$1(){return ve$2.lFrame.selectedIndex}function Mo(e){ve$2.lFrame.selectedIndex=e;}function Ls(){let e=ve$2.lFrame;return bc(e.tView,e.selectedIndex)}function lh(){ve$2.lFrame.currentNamespace=Qb;}function uh(){WV();}function WV(){ve$2.lFrame.currentNamespace=null;}function hD(){return ve$2.lFrame.currentNamespace}var wx=true;function dh(){return wx}function qu(e){wx=e;}function Wu(){let e,t;return {promise:new Promise((r,i)=>{e=r,t=i;}),resolve:e,reject:t}}function Rb(e,t=null,n=null,r){let i=mD(e,t,n);return i.resolveInjectorInitializers(),i}function mD(e,t=null,n=null,r,i=new Set){let o=[n||on$1,ex(e)];return new Es(o,t||mc(),null,i)}var le$4=class e{static THROW_IF_NOT_FOUND=Cs;static NULL=new fc;static create(t,n){if(Array.isArray(t))return Rb({name:""},n,t);{let r=t.name??"";return Rb({name:r},t.parent,t.providers)}}static \u0275prov=K$5({token:e,providedIn:"any",factory:()=>Z$1(Bu)});static __NG_ELEMENT_ID__=-1},se$3=new R$3(""),at$1=(()=>{class e{static __NG_ELEMENT_ID__=YV;static __NG_ENV_ID__=n=>n}return e})(),jp=class extends at$1{_lView;constructor(t){super(),this._lView=t;}get destroyed(){return hi(this._lView)}onDestroy(t){let n=this._lView;return Dc(n,t),()=>rh(n,t)}};function YV(){return new jp(z$3())}var Cx=false,Sx=new R$3(""),Hi=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=false;pendingTask=new zt(false);debugTaskTracker=h$5(Sx,{optional:true});get hasPendingTasks(){return this.destroyed?false:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ae$3(n=>{n.next(false),n.complete();}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(true);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(false);}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(false),this.destroyed=true,this.pendingTask.unsubscribe();}static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ab=class extends G$3{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=false){super(),this.__isAsync=t,ix()&&(this.destroyRef=h$5(at$1,{optional:true})??void 0,this.pendingTasks=h$5(Hi,{optional:true})??void 0);}emit(t){let n=ee$3(null);try{super.next(t);}finally{ee$3(n);}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c);}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return t instanceof Fe&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n);}finally{r!==void 0&&this.pendingTasks?.remove(r);}});}}},de$4=Ab;function Hp(...e){}function gD(e){let t,n;function r(){e=Hp;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t);}catch{}}return t=setTimeout(()=>{e(),r();}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r();})),()=>r()}function Ix(e){return queueMicrotask(()=>e()),()=>{e=Hp;}}var yD="isAngularZone",Au=yD+"_ID",GV=0,ce$4=class e{hasPendingMacrotasks=false;hasPendingMicrotasks=false;isStable=true;onUnstable=new de$4(false);onMicrotaskEmpty=new de$4(false);onStable=new de$4(false);onError=new de$4(false);constructor(t){let{enableLongStackTrace:n=false,shouldCoalesceEventChangeDetection:r=false,shouldCoalesceRunChangeDetection:i=false,scheduleInRootZone:o=Cx}=t;if(typeof Zone>"u")throw new P$4(908,false);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=false,s.scheduleInRootZone=o,QV(s);}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(yD)===true}static assertInAngularZone(){if(!e.isInAngularZone())throw new P$4(909,false)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new P$4(909,false)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,ZV,Hp,Hp);try{return o.runTask(s,n,r)}finally{o.cancelTask(s);}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},ZV={};function vD(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null);}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null));}finally{e.isStable=true;}}}function JV(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=true;function t(){gD(()=>{e.callbackScheduled=false,Nb(e),e.isCheckStableRunning=true,vD(e),e.isCheckStableRunning=false;});}e.scheduleInRootZone?Zone.root.run(()=>{t();}):e._outer.run(()=>{t();}),Nb(e);}function QV(e){let t=()=>{JV(e);},n=GV++;e._inner=e._inner.fork({name:"angular",properties:{[yD]:true,[Au]:n,[Au+n]:true},onInvokeTask:(r,i,o,s,a,c)=>{if(XV(c))return r.invokeTask(o,s,a,c);try{return $T(e),r.invokeTask(o,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),zT(e);}},onInvoke:(r,i,o,s,a,c,u)=>{try{return $T(e),r.invoke(o,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!KV(c)&&t(),zT(e);}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Nb(e),vD(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask));},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),false)});}function Nb(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===true?e.hasPendingMicrotasks=true:e.hasPendingMicrotasks=false;}function $T(e){e._nesting++,e.isStable&&(e.isStable=false,e.onUnstable.emit(null));}function zT(e){e._nesting--,vD(e);}var Nu=class{hasPendingMicrotasks=false;hasPendingMacrotasks=false;isStable=true;onUnstable=new de$4;onMicrotaskEmpty=new de$4;onStable=new de$4;onError=new de$4;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}};function XV(e){return Ex(e,"__ignore_ng_zone__")}function KV(e){return Ex(e,"__scheduler_tick__")}function Ex(e,t){return !Array.isArray(e)||e.length!==1?false:e[0]?.data?.[t]===true}var fr$1=class fr{_console=console;handleError(t){this._console.error("ERROR",t);}},Zn=new R$3("",{factory:()=>{let e=h$5(ce$4),t=h$5($e$1),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(fr$1),n.handleError(r));});}}}),Tx={provide:hc,useValue:()=>{h$5(fr$1,{optional:true});},multi:true};function Q$6(e,t){let [n,r,i]=yb(e,t?.equal),o=n;o[St];return o.set=r,o.update=i,o.asReadonly=Yu.bind(o),o}function Yu(){let e=this[St];if(e.readonlyFn===void 0){let t=()=>this();t[St]=e,e.readonlyFn=t;}return e.readonlyFn}var $i=new R$3("",{factory:()=>ej}),ej="ng";var fh=new R$3(""),zi=new R$3("",{providedIn:"platform",factory:()=>"unknown"}),Gu=new R$3(""),Fs=new R$3("",{factory:()=>h$5(se$3).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var wc=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r;}static __NG_ELEMENT_ID__=tj}return e})();function tj(){return new wc(z$3(),st$1())}var ui=class{},Zu=new R$3("",{factory:()=>true});var _D=new R$3(""),ph=(()=>{class e{static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>new kb})}return e})(),kb=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t);}schedule(t){t.dirty&&this.dirtyEffectCount++;}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--);}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t);}flush(){for(;this.dirtyEffectCount>0;){let t=false;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0);}}flushQueue(t){let n=false;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=true,r.run());return n}},$p=class{[St];constructor(t){this[St]=t;}destroy(){this[St].destroy();}};function qi(e,t){let n=t?.injector??h$5(le$4),r=t?.manualCleanup!==true?n.get(at$1):null,i,o=n.get(wc,null,{optional:true}),s=n.get(ui);return o!==null?(i=ij(o.view,s,e),r instanceof jp&&r._lView===o.view&&(r=null)):i=oj(e,n.get(ph),s),i.injector=n,r!==null&&(i.onDestroyFns=[r.onDestroy(()=>i.destroy())]),new $p(i)}var xx=s$6(r$2({},vb),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Ru(false);try{_b(this);}finally{Ru(e);}},cleanup(){if(!this.cleanupFns?.length)return;let e=ee$3(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()();}finally{this.cleanupFns=[],ee$3(e);}}}),nj=s$6(r$2({},xx),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12);},destroy(){if(_o(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this);}}),rj=s$6(r$2({},xx),{consumerMarkedDirty(){this.view[pe$2]|=8192,Ns(this.view),this.notifier.notify(13);},destroy(){if(_o(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[wo]?.delete(this);}});function ij(e,t,n){let r=Object.create(rj);
4return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Mx(r,n),e[wo]??=new Set,e[wo].add(r),r.consumerMarkedDirty(r),r}function oj(e,t,n){let r=Object.create(nj);return r.fn=Mx(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Mx(e,t){return ()=>{t(n=>(e.cleanupFns??=[]).push(n));}}function Ro(e){return typeof e=="function"&&e[St]!==void 0}function hh(e){return Ro(e)&&typeof e.set=="function"}var Cc=(()=>{class e{internalPendingTasks=h$5(Hi);scheduler=h$5(ui);errorHandler=h$5(Zn);add(){let n=this.internalPendingTasks.add();return ()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n));}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r);}catch(i){this.errorHandler(i),r();}}static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>new e})}return e})();function ld(e){return {toString:e}.toString()}var ke$2=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(ke$2||{}),xh=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r;}isFirstChange(){return this.firstChange}};function x0(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r;}var M0=null,ct$1=(()=>{M0=Rx;let e=()=>Rx;return e.ngInherit=true,e})();function hj(){return M0}function Rx(e){return e.type.prototype.ngOnChanges&&(e.setInput=gj),mj}function mj(){let e=R0(this),t=e?.current;if(t){let n=e.previous;if(n===Co)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t);}}function gj(e,t,n,r,i){let o=this.declaredInputs[r],s=R0(e)||yj(e,{previous:Co,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[o];a[o]=new xh(u&&u.currentValue,n,c===Co),x0(e,t,i,n);}var OD="__ngSimpleChanges__";function R0(e){return Object.hasOwn(e,OD)&&e[OD]||null}function yj(e,t){return e[OD]=t}var Ax=[];var je$2=function(e,t=null,n){for(let r=0;r<Ax.length;r++){let i=Ax[r];i(e,t,n);}};
4function vj(e,t,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){let s=hj()(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s);}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o));}function A0(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),d!=null&&(e.destroyHooks??=[]).push(n,d);}}function bh(e,t,n){N0(e,t,3,n);}function Dh(e,t,n,r){(e[pe$2]&3)===n&&N0(e,t,n,r);}function bD(e,t){let n=e[pe$2];(n&3)===t&&(n&=16383,n+=1,e[pe$2]=n);}function N0(e,t,n,r){let i=r!==void 0?e[Ms]&65535:0,o=r??-1,s=t.length-1,a=0;for(let c=i;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Ms]+=65536),(a<o||o==-1)&&(_j(e,n,t,c),e[Ms]=(e[Ms]&4294901760)+c+2),c++;}function Nx(e,t){je$2(ke$2.LifecycleHookStart,e,t);let n=ee$3(null);try{t.call(e);}finally{ee$3(n),je$2(ke$2.LifecycleHookEnd,e,t);}}function _j(e,t,n,r){let i=n[r]<0,o=n[r+1],s=i?-n[r]:n[r],a=e[s];i?e[pe$2]>>14<e[Ms]>>16&&(e[pe$2]&3)===t&&(e[pe$2]+=16384,Nx(a,o)):Nx(a,o);}var Ic=-1,Hs=class{factory;name;injectImpl;resolving=false;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r;}};function bj(e){return (e.flags&8)!==0}function Dj(e){return (e.flags&16)!==0}function wj(e,t,n){let r=0;for(;r<n.length;){let i=n[r];if(typeof i=="number"){if(i!==0)break;r++;let o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o);}else {let o=i,s=n[++r];Cj(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++;}}return r}function k0(e){return e===3||e===4||e===6}function Cj(e){return e.charCodeAt(0)===64}function Ec(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else {let n=-1;for(let r=0;r<t.length;r++){let i=t[r];typeof i=="number"?n=i:n===0||(n===-1||n===2?kx(e,n,i,null,t[++r]):kx(e,n,i,null,null));}}return e}function kx(e,t,n,r,i){let o=0,s=e.length;if(t===-1)s=-1;else for(;o<e.length;){let a=e[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<e.length;){let a=e[o];if(typeof a=="number")break;if(a===n){i!==null&&(e[o+1]=i);return}o++,i!==null&&o++;}s!==-1&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),i!==null&&e.splice(o++,0,i);}function O0(e){return e!==Ic}function Mh(e){return e&32767}function Sj(e){return e>>16}function Rh(e,t){let n=Sj(e),r=t;for(;n>0;)r=r[So],n--;return r}var PD=true;function Ah(e){let t=PD;return PD=e,t}var Ij=256,P0=Ij-1,L0=5,Ej=0,mi={};function Tj(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ts)&&(r=n[Ts]),r==null&&(r=n[Ts]=Ej++);let i=r&P0,o=1<<i;t.data[e+(i>>L0)]|=o;}function Nh(e,t){let n=F0(e,t);if(n!==-1)return n;let r=t[W$3];r.firstCreatePass&&(e.injectorIndex=t.length,DD(r.data,e),DD(t,null),DD(r.blueprint,null));let i=bw(e,t),o=e.injectorIndex;if(O0(i)){let s=Mh(i),a=Rh(i,t),c=a[W$3].data;for(let u=0;u<8;u++)t[o+u]=a[s+u]|c[s+u];}return t[o+8]=i,o}function DD(e,t){e.push(0,0,0,0,0,0,0,0,t);}function F0(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function bw(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;i!==null;){if(r=H0(i),r===null)return Ic;if(n++,i=i[So],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ic}function LD(e,t,n){Tj(e,t,n);}function xj(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,i=0;for(;i<r;){let o=n[i];if(k0(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof n[i]=="string";)i++;else {if(o===t)return n[i+1];i=i+2;}}}return null}function B0(e,t,n){if(n&8||e!==void 0)return e;Gp();}function U0(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let i=e[nt$1],o=bn$1(void 0);try{return i?i.get(t,r,n&8):$b(t,r,n&8)}finally{bn$1(o);}}return B0(r,t,n)}
vendor: 4,920 bytes, line 4
4function V0(e,t,n,r=0,i){if(e!==null){if(t[pe$2]&2048&&!(r&2)){let s=Nj(e,t,n,r,mi);if(s!==mi)return s}let o=j0(e,t,n,r,mi);if(o!==mi)return o}return U0(t,n,r,i)}function j0(e,t,n,r,i){let o=Rj(n);if(typeof o=="function"){if(!fD(t,e,r))return r&1?B0(i,n,r):U0(t,n,r,i);try{let s;if(s=o(r),s==null&&!(r&8))Gp(n);else return s}finally{pD();}}else if(typeof o=="number"){let s=null,a=F0(e,t),c=Ic,u=r&1?t[an$1][sn$1]:null;for((a===-1||r&4)&&(c=a===-1?bw(e,t):t[a+8],c===Ic||!Px(r,false)?a=-1:(s=t[W$3],a=Mh(c),t=Rh(c,t)));a!==-1;){let d=t[W$3];if(Ox(o,a,d.data)){let f=Mj(a,t,n,s,r,u);if(f!==mi)return f}c=t[a+8],c!==Ic&&Px(r,t[W$3].data[a+8]===u)&&Ox(o,a,t)?(s=d,a=Mh(c),t=Rh(c,t)):a=-1;}}return i}function Mj(e,t,n,r,i,o){let s=t[W$3],a=s.data[e+8],c=r==null?pi(a)&&PD:r!=s&&(a.type&3)!==0,u=i&1&&o===a,d=wh(a,s,n,c,u);return d!==null?ed(t,s,d,a,i):mi}function wh(e,t,n,r,i){let o=e.providerIndexes,s=t.data,a=o&1048575,c=e.directiveStart,u=e.directiveEnd,d=o>>20,f=r?a:a+d,p=i?a+d:u;for(let g=f;g<p;g++){let v=s[g];if(g<c&&n===v||g>=c&&v.type===n)return g}if(i){let g=s[c];if(g&&Hr$1(g)&&g.type===n)return c}return null}function ed(e,t,n,r,i){let o=e[n],s=t.data;if(o instanceof Hs){let a=o;if(a.resolving)throw Hb();let c=Ah(a.canSeeViewProviders);a.resolving=true;s[n].type||s[n];let f=a.injectImpl?bn$1(a.injectImpl):null;fD(e,r,0);try{o=e[n]=a.factory(void 0,i,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&vj(n,s[n],t);}finally{f!==null&&bn$1(f),Ah(c),a.resolving=false,pD();}}return o}function Rj(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ts)?e[Ts]:void 0;return typeof t=="number"?t>=0?t&P0:Aj:t}function Ox(e,t,n){let r=1<<e;return !!(n[t+(e>>L0)]&r)}function Px(e,t){return !(e&2)&&!(e&1&&t)}var No=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n;}get(t,n,r){return V0(this._tNode,this._lView,t,Ss(r),n)}};function Aj(){return new No(st$1(),z$3())}function _t$1(e){return ld(()=>{let t=e.prototype.constructor,n=t[Mu]||FD(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){let o=i[Mu]||FD(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i);}return o=>new o})}function FD(e){return Ob(e)?()=>{let t=FD(qt$1(e));return t&&t()}:Do(e)}function Nj(e,t,n,r,i){let o=e,s=t;for(;o!==null&&s!==null&&s[pe$2]&2048&&!_c(s);){let a=j0(o,s,n,r|2,mi);if(a!==mi)return a;let c=o.parent;if(!c){let u=s[Zb];if(u){let d=u.get(n,mi,r&-5);if(d!==mi)return d}c=H0(s),s=s[So];}o=c;}return i}function H0(e){let t=e[W$3],n=t.type;return n===2?t.declTNode:n===1?e[sn$1]:null}function Ac(e){return xj(st$1(),e)}function U$3(e){return {token:e.token,providedIn:e.autoProvided===false?null:"root",factory:e.factory,value:void 0}}function kj(){return Nc(st$1(),z$3())}function Nc(e,t){return new me$2(tn$1(e,t))}var me$2=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n;}static __NG_ELEMENT_ID__=kj}return e})();function $0(e){return e instanceof me$2?e.nativeElement:e}function Oj(){return this._results[Symbol.iterator]()}var $s=class{_emitDistinctChangesOnly;dirty=true;_onDirty=void 0;_results=[];_changesDetected=false;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new G$3}constructor(t=false){this._emitDistinctChangesOnly=t;}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t);}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=false;let r=QT(t);(this._changesDetected=!JT(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0]);}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this);}onDirty(t){this._onDirty=t;}setDirty(){this.dirty=true,this._onDirty?.();}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe());}[Symbol.iterator]=Oj};function z0(e){return (e.flags&128)===128}var Dw=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Dw||{}),q0=new Map,Pj=0;function Lj(){return Pj++}function Fj(e){q0.set(e[gr$1],e);}function BD(e){q0.delete(e[gr$1]);}var Lx="__ngContext__";function Tc(e,t){Vi(t)?(e[Lx]=t[gr$1],Fj(t)):e[Lx]=t;}function W0(e){return G0(e[yc])}function Y0(e){return G0(e[mr])}function G0(e){for(;e!==null&&!vr$1(e);)e=e[mr];return e}var UD;function ww(e){UD=e;}function Cw(){if(UD!==void 0)return UD;if(typeof document<"u")return document;throw new P$4(210,false)}var Z0="r";var Sw="di",Iw="s";var Ew=new R$3(""),J0=false,Q0=new R$3("",{factory:()=>J0});var X0=new R$3("");var Yh=new R$3(""),Fx={passive:true,capture:true};var wD=new WeakMap;var Bx=["click","keydown"];var VD=class{callbacks=new Set;listener=()=>
4{for(let t of this.callbacks)t();}};function Bj(e,t){let n=wD.get(e);if(!n){n=new VD,wD.set(e,n);for(let r of Bx)e.addEventListener(r,n.listener,Fx);}return n.callbacks.add(t),()=>{let{callbacks:r,listener:i}=n;if(r.delete(t),r.size===0){wD.delete(e);for(let o of Bx)e.removeEventListener(o,i,Fx);}}}var Ux=new WeakMap;function Uj(e,t){if(e==null||typeof e!="object")return;let n=Ux.get(e);n||(n=new WeakSet,Ux.set(e,n)),n.add(t);}var K0=new R$3("");function Gh(e){return (e.flags&32)===32}var Hj=()=>null;function eM(e,t,n=false){return Hj()}function Tw(e){return e.get(X0,false,{optional:true})}function tM(e,t){let n=e.contentQueries;if(n!==null){let r=ee$3(null);try{for(let i=0;i<n.length;i+=2){let o=n[i],s=n[i+1];if(s!==-1){let a=e.data[s];zu(o),a.contentQueries(2,t[s],s);}}}finally{ee$3(r);}}}function jD(e,t,n){zu(0);let r=ee$3(null);try{t(e,n);}finally{ee$3(r);}}function xw(e,t,n){if(Jb(t)){let r=ee$3(null);try{let i=t.directiveStart,o=t.directiveEnd;for(let s=i;s<o;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s);}}}finally{ee$3(r);}}}var zr$1=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(zr$1||{});var mh;function $j(){if(mh===void 0&&(mh=null,hr.trustedTypes))try{mh=hr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch{}return mh}function Zh(e){return $j()?.createHTML(e)||e}var gh;function nM(){if(gh===void 0&&(gh=null,hr.trustedTypes))try{gh=hr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e});}catch{}return gh}function Vx(e){return nM()?.createHTML(e)||e}function jx(e){return nM()?.createScriptURL(e)||e}var Wi=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t;}toString(){return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${zp})`}},HD=class extends Wi{getTypeName(){return "HTML"}},$D=class extends Wi{getTypeName(){return "Style"}},zD=class extends Wi{getTypeName(){return "Script"}},qD=class extends Wi{getTypeName(){return "URL"}},WD=class extends Wi{getTypeName(){return "ResourceURL"}};function Cn$1(e){return e instanceof Wi?e.changingThisBreaksApplicationSecurity:e}function qr$1(e,t){let n=rM(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return true;throw new Error(`Required a safe ${t}, got a ${n} (see ${zp})`)}return n===t}function rM(e){return e instanceof Wi&&e.getTypeName()||null}function Mw(e){return new HD(e)}function Rw(e){return new $D(e)}function Aw(e){return new zD(e)}function Nw(e){return new qD(e)}function kw(e){return new WD(e)}function zj(e){let t=new GD(e);return qj()?new YD(t):t}var YD=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t;}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Zh(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},GD=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Zh(t),n}};function qj(){try{return !!new window.DOMParser().parseFromString(Zh(""),"text/html")}catch{return false}}var Wj=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ud(e){return e=String(e),e.match(Wj)?e:"unsafe:"+e}function Yi(e){let t={};for(let n of e.split(","))t[n]=true;return t}function dd(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=true);return t}var iM=Yi("area,br,col,hr,img,wbr"),oM=Yi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sM=Yi("rp,rt"),Yj=dd(sM,oM),Gj=dd(oM,Yi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Zj=dd(sM,Yi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Hx=dd(iM,Gj,Zj,Yj),aM=Yi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Jj=Yi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
4olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Qj=Yi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Xj=dd(aM,Jj,Qj),Kj=Yi("script,style,template"),ZD=class{sanitizedSomething=false;buf=[];sanitizeChildren(t){let n=t.firstChild,r=true,i=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=true,r&&n.firstChild){i.push(n),n=nH(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=tH(n);if(o){n=o;break}n=i.pop();}}return this.buf.join("")}startElement(t){let n=$x(t).toLowerCase();if(!Hx.hasOwnProperty(n))return this.sanitizedSomething=true,!Kj.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!Xj.hasOwnProperty(a)){this.sanitizedSomething=true;continue}let c=o.value;aM[a]&&(c=ud(c)),this.buf.push(" ",s,'="',zx(c),'"');}return this.buf.push(">"),true}endElement(t){let n=$x(t).toLowerCase();Hx.hasOwnProperty(n)&&!iM.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"));}chars(t){this.buf.push(zx(t));}};function eH(e,t){return (e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function tH(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw cM(t);return t}function nH(e){let t=e.firstChild;if(t&&eH(e,t))throw cM(t);return t}function $x(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function cM(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var rH=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,iH=/([^\#-~ |!])/g;function zx(e){return e.replace(/&/g,"&").replace(rH,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return "&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(iH,function(t){return "&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var yh;function Jh(e,t){let n=null;try{yh=yh||zj(e);let r=t?String(t):"";n=yh.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=yh.getInertBodyElement(r);}while(r!==o);let a=new ZD().sanitizeChildren(qx(n)||n);return Zh(a)}finally{if(n){let r=qx(n)||n;for(;r.firstChild;)r.firstChild.remove();}}}function qx(e){return "content"in e&&oH(e)?e.content:null}function oH(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var sH=/^>|^->|<!--|-->|--!>|<!-$/g,aH=/(<|>)/g,cH="\u200B$1\u200B";function lH(e){return e.replace(sH,t=>t.replace(aH,cH))}function uH(e,t){return e.createText(t)}function dH(e,t,n){e.setValue(t,n);}function fH(e,t){return e.createComment(lH(t))}function lM(e,t,n){return e.createElement(t,n)}function kh(e,t,n,r,i){e.insertBefore(t,n,r,i);}function uM(e,t,n){e.appendChild(t,n);}function Wx(e,t,n,r,i){r!==null?kh(e,t,n,r,i):uM(e,t,n);}function dM(e,t,n,r){e.removeChild(null,t,n,r);}function pH(e,t,n){e.setAttribute(t,"style",n);}function hH(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n);}function fM(e,t,n){let{mergedAttrs:r,classes:i,styles:o}=n;r!==null&&wj(e,t,r),i!==null&&hH(e,t,i),o!==null&&pH(e,t,o);}var Sn$1=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Sn$1||{});function Js(e){let t=Xh();return t?Vx(t.sanitize(Sn$1.HTML,e)||""):qr$1(e,"HTML")?Vx(Cn$1(e)):Jh(Cw(),Ur$1(e))}function mH(e){let t=Xh();return t?t.sanitize(Sn$1.STYLE,e)||"":qr$1(e,"Style")?Cn$1(e):Ur$1(e)}function Qh(e){let t=Xh();return t?t.sanitize(Sn$1.URL,e)||"":qr$1(e,"URL")?Cn$1(e):ud(Ur$1(e))}function pM(e){let t=Xh();if(t)return jx(t.sanitize(Sn$1.RESOURCE_URL,e)||"");if(qr$1(e,"ResourceURL"))return jx(Cn$1(e));throw new P$4(904,false)}var gH={embed:{src:true},frame:{src:true},iframe:{src:true},media:{src:true},base:{href:true},link:{href:true},object:{data:true,codebase:true}};function yH(e,t){return gH[e.toLowerCase()]?.[t.toLowerCase()]===true?pM:Qh}function Ow(e,t,n){return yH(t,n)(e)}function Xh(){let e=z$3();return e&&e[jr$1].sanitizer}function Pw(e){return e.ownerDocument.defaultView}function vH(e){return e instanceof Function?e():e}function _H(e,t,n){let r=e.length;for(;;){let i=e.indexOf(t,n);if(i===-1)return i;if(i===0||e.charCodeAt(i-1)<=32){let o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1;}}var hM="ng-template";function bH(e,t,n,r){let i=0;if(r){for(;i<t.length&&typeof t[i]=="string";i+=2)if(t[i]==="class"&&_H(t[i+1].toLowerCase(),n,0)!==-1)return true}else if(Lw(e))return false;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&typeof(o=t[i])=="string";)if(o.toLowerCase()===n)return true}return false}function Lw(e){return e.type===4&&e.value!==hM}function DH(e,t,n){let r=e.type===4&&!n?hM:e.value;return t===r}
4function wH(e,t,n){let r=4,i=e.attrs,o=i!==null?IH(i):0,s=false;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!$r$1(r)&&!$r$1(c))return false;if(s&&$r$1(c))continue;s=false,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!DH(e,c,n)||c===""&&t.length===1){if($r$1(r))return false;s=true;}}else if(r&8){if(i===null||!bH(e,i,c,n)){if($r$1(r))return false;s=true;}}else {let u=t[++a],d=CH(c,i,Lw(e),n);if(d===-1){if($r$1(r))return false;s=true;continue}if(u!==""){let f;if(d>o?f="":f=i[d+1].toLowerCase(),r&2&&u!==f){if($r$1(r))return false;s=true;}}}}return $r$1(r)||s}function $r$1(e){return (e&1)===0}function CH(e,t,n,r){if(t===null)return -1;let i=0;if(r||!n){let o=false;for(;i<t.length;){let s=t[i];if(s===e)return i;if(s===3||s===6)o=true;else if(s===1||s===2){let a=t[++i];for(;typeof a=="string";)a=t[++i];continue}else {if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2;}return -1}else return EH(t,e)}function mM(e,t,n=false){for(let r=0;r<t.length;r++)if(wH(e,t[r],n))return true;return false}function SH(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function IH(e){for(let t=0;t<e.length;t++){let n=e[t];if(k0(n))return t}return e.length}function EH(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return -1;if(r===t)return n;n++;}return -1}function TH(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return true}}return false}function Yx(e,t){return e?":not("+t.trim()+")":t}function xH(e){let t=e[0],n=1,r=2,i="",o=false;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]";}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!$r$1(s)&&(t+=Yx(o,i),i=""),r=s,o=o||!$r$1(r);n++;}return i!==""&&(t+=Yx(o,i)),t}function MH(e){return e.map(xH).join(",")}function RH(e){let t=[],n=[],r=1,i=2;for(;r<e.length;){let o=e[r];if(typeof o=="string")i===2?o!==""&&t.push(o,e[++r]):i===8&&n.push(o);else {if(!$r$1(i))break;i=o;}r++;}return n.length&&t.push(1,...n),t}var Qt={},gi=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(gi||{}),AH;function Fw(e,t){return AH(e,t)}var gM=new R$3("",{factory:()=>false}),yM=new R$3("",{factory:()=>NH}),NH=4e3,kH=false,Qs=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function Kh(e){return e[nt$1].get(gM,kH)}function OH(e,t,n){let r=xc.get(e);if(r){for(let i of t)r.classList.push(i);for(let i of n)r.cleanupFns.push(i);}else xc.set(e,{classList:t,cleanupFns:n});}function Bw(e){let t=xc.get(e);if(t){for(let n of t.cleanupFns)n();xc.delete(e);}Us.delete(e);}var PH=()=>{},xc=new WeakMap,Us=new WeakMap,td=new WeakMap;function vM(e){return e?e[So]??e:null}var Qu=new WeakSet;function JD(e,t){let n=td.get(e);if(n&&n.length>0){let r=n.findIndex(i=>i.el===t);r>-1&&n.splice(r,1);}n?.length===0&&td.delete(e);}function LH(e,t,n){let r=td.get(e);if(!r||r.length===0)return;let i=t.parentNode,o=t.previousSibling,s=vM(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:u}=r[a],d=c.parentNode;c===t?(r.splice(a,1),Qu.add(c),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}}))):o&&c===o?(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c)):d&&i&&d!==i&&(s===null||u===null||s===u)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:true}})),c.parentNode?.removeChild(c));}}function Uw(e,t,n){let r=vM(n),i=td.get(e);i?i.some(o=>o.el===t)||i.push({el:t,declarationView:r}):td.set(e,[{el:t,declarationView:r}]);}function Oh(e){let t=e[yr$1]??={};return t.enter??=new Map}function zs(e){let t=e[yr$1]??={};return t.leave??=new Map}function _M(e){let t=typeof e=="function"?e():e,n=Array.isArray(t)?t:null;return typeof t=="string"&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function FH(e,t){if(!Qs)return;let n=xc.get(e);if(n&&n.classList.length>0&&BH(e,n.classList))for(let r of n.classList)t.removeClass(e,r);Bw(e);}function BH(e,t){for(let n of t)if(e.classList.contains(n))return true;return false}
4function nd(e){return e.composedPath?e.composedPath()[0]:e.target}function Vw(e,t){let n=Us.get(t);return n===void 0?true:t===nd(e)&&(n.animationName!==void 0&&e.animationName===n.animationName||n.propertyName!==void 0&&(n.propertyName==="all"||e.propertyName===n.propertyName))}function em(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r);}function QD(e,t){if(e)for(let n of e)n();for(let n of t)n();}function XD(e,t){let n=zs(e).get(t.index);n&&(n.resolvers=void 0);}function vh(e,t,n,r,i){JD(t,n),QD(r,i),XD(e,t);}function Ph(e){if(!e)return 0;let t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function Bs(e,t){return e.getPropertyValue(t).split(",").map(r=>r.trim())}function UH(e){let t=Bs(e,"transition-property"),n=Bs(e,"transition-duration"),r=Bs(e,"transition-delay"),i={propertyName:"",duration:0,animationName:void 0};for(let o=0;o<t.length;o++){let s=Ph(r[o])+Ph(n[o]);s>i.duration&&(i.propertyName=t[o],i.duration=s);}return i}function VH(e){let t=Bs(e,"animation-name"),n=Bs(e,"animation-delay"),r=Bs(e,"animation-duration"),i=Bs(e,"animation-iteration-count"),o={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=Ph(n[s])+Ph(r[s]),c=i[s];a>o.duration&&c!=="infinite"&&(o.animationName=t[s],o.duration=a);}return o}function bM(e,t){return e!==void 0&&e.duration>t.duration}function DM(e){return (e.animationName!=null||e.propertyName!=null)&&e.duration>0}function jH(e,t){let n=getComputedStyle(e),r=VH(n),i=UH(n),o=r.duration>i.duration?r:i;bM(t.get(e),o)||DM(o)&&t.set(e,o);}function wM(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?jH(e,t):HH(e,t,r)}function HH(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let i of n){let o=i.effect?.getTiming();if(o?.iterations===1/0)continue;let s=typeof o?.duration=="number"?o.duration:0,a=(o?.delay??0)+s,c=i.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let u,d;i.animationName?d=i.animationName:u=i.transitionProperty,a>=r.duration&&(r={animationName:d,propertyName:u,duration:a});}bM(t.get(e),r)||DM(r)&&t.set(e,r);}var yi=new Set,tm=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(tm||{}),Wr$1=new R$3(""),Gx=new Set;function Gt(e){Gx.has(e)||(Gx.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}));}var nm=(()=>{class e{impl=null;execute(){this.impl?.execute();}static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>new e})}return e})(),jw=[0,1,2,3],Hw=(()=>{class e{ngZone=h$5(ce$4);scheduler=h$5(ui);errorHandler=h$5(fr$1,{optional:true});sequences=new Set;deferredRegistrations=new Set;executing=false;constructor(){h$5(Wr$1,{optional:true});}execute(){let n=this.sequences.size>0;n&&je$2(ke$2.AfterRenderHooksStart),this.executing=true;for(let r of jw)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot));}catch(o){i.erroredOrDestroyed=true,this.errorHandler?.handleError(o);}this.executing=false;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&je$2(ke$2.AfterRenderHooksEnd);}register(n){let{view:r}=n;r!==void 0?((r[Rs]??=[]).push(n),Ns(r),r[pe$2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n);}addSequence(n){this.sequences.add(n),this.scheduler.notify(7);}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=true,n.pipelinedValue=void 0,n.once=true):(this.sequences.delete(n),this.deferredRegistrations.delete(n));}maybeTrace(n,r){return r?r.run(tm.AFTER_NEXT_RENDER,n):n()}static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>new e})}return e})(),rd=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=false;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,o,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy());}afterRun(){this.erroredOrDestroyed=false,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null;}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Rs];t&&(this.view[Rs]=t.filter(n=>n!==this));}};function CM(e,t){let n=t?.injector??h$5(le$4);return Gt("NgAfterRender"),SM(e,n,t,false)}function In$1(e,t){let n=t?.injector??h$5(le$4);return Gt("NgAfterNextRender"),SM(e,n,t,true)}function $H(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function SM(e,t,n,r){let i=t.get(nm);i.impl??=t.get(Hw);let o=t.get(Wr$1,null,{optional:true}),s=n?.manualCleanup!==true?t.get(at$1):null,a=t.get(wc,null,{optional:true}),c=new rd(i.impl,$H(e),a?.view,r,s,o?.snapshot(null));return i.impl.register(c),c}var fd=new R$3("",{factory:()=>{let e=h$5($e$1),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:false,scheduler:null,injector:e}}});
4function IM(e,t,n){let r=e.get(fd);if(Array.isArray(t))for(let i of t)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e);}function zH(e,t){let n=e.get(fd);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t);}function qH(e,t){let n=e.get(fd);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0;}}function WH(e){let t=e.get(fd);t.isScheduled||(In$1(()=>{t.isScheduled=false;for(let n of t.queue)n();t.queue.clear();},{injector:t.injector}),t.isScheduled=true);}function rm(e){let t=e.get(fd);t.scheduler=WH,t.scheduler(e);}function $w(e,t){for(let[n,r]of t)IM(e,r.animateFns);}function Zx(e,t,n,r){let i=e?.[yr$1]?.enter;t!==null&&i&&i.has(n.index)&&$w(r,i);}function Jx(e,t,n,r){try{n.get(Bu);}catch{return r(false)}let i=e?.[yr$1];i?.enter?.has(t.index)&&zH(n,i.enter.get(t.index).animateFns);let o=YH(e,t,i);if(o.size===0){let s=false;if(e){let a=[];im(e,t,a),s=a.length>0;}if(!s)return r(false)}e&&yi.add(e[gr$1]),IM(n,()=>GH(e,t,i||void 0,o,r),i||void 0);}function YH(e,t,n){let r=new Map,i=n?.leave;if(i&&i.has(t.index)&&r.set(t.index,i.get(t.index)),e&&i)for(let[o,s]of i){if(r.has(o))continue;let c=e[W$3].data[o].parent;for(;c;){if(c===t){r.set(o,s);break}c=c.parent;}}return r}function GH(e,t,n,r,i){let o=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();o.push(u);}n.detachedLeaveAnimationFns=void 0;}if(e&&im(e,t,o),o.length>0){let s=n||e?.[yr$1];if(s){let a=s.running;a&&o.push(a),s.running=Promise.allSettled(o),JH(e,s.running,i);}else Promise.allSettled(o).then(()=>{e&&yi.delete(e[gr$1]),i(true);});}else e&&yi.delete(e[gr$1]),i(false);}function im(e,t,n){if(t.type&12){let i=e[t.index];if(vr$1(i))for(let o=ht$2;o<i.length;o++){let s=i[o];s[W$3].type===2&&ZH(s,n);}}let r=t.child;for(;r;)im(e,r,n),r=r.next;}function ZH(e,t){let n=e[yr$1];if(n&&n.leave)for(let i of n.leave.values())for(let o of i.animateFns){let{promise:s}=o();t.push(s);}let r=e[W$3].firstChild;for(;r;)im(e,r,t),r=r.next;}function JH(e,t,n){t.then(()=>{e[yr$1]?.running===t&&(e[yr$1].running=void 0,yi.delete(e[gr$1])),n(true);});}function Sc(e,t,n,r,i,o,s,a){if(i!=null){let c,u=false;vr$1(i)?c=i:Vi(i)&&(u=true,i=i[Vr$1]);let d=_r$1(i);e===0&&r!==null?(Zx(a,r,o,n),s==null?uM(t,r,d):kh(t,r,d,s||null,true)):e===1&&r!==null?(Zx(a,r,o,n),kh(t,r,d,s||null,true),LH(o,d,a)):e===2?(a?.[yr$1]?.leave?.has(o.index)&&Uw(o,d,a),Qu.delete(d),Jx(a,o,n,f=>{if(Qu.has(d)){Qu.delete(d);return}dM(t,d,u,f);})):e===3&&(Qu.delete(d),Jx(a,o,n,()=>{t.destroyNode(d);})),c!=null&&s2(t,e,n,c,o,r,s);}}function QH(e,t){EM(e,t),t[Vr$1]=null,t[sn$1]=null;}function XH(e,t,n,r,i,o){r[Vr$1]=i,r[sn$1]=t,sm(e,r,n,1,i,o);}function EM(e,t){t[jr$1].changeDetectionScheduler?.notify(9),sm(e,t,t[Ue$1],2,null,null);}function KH(e){let t=e[yc];if(!t)return CD(e[W$3],e);for(;t;){let n=null;if(Vi(t))n=t[yc];else {let r=t[ht$2];r&&(n=r);}if(!n){for(;t&&!t[mr]&&t!==e;)Vi(t)&&CD(t[W$3],t),t=t[Bt];t===null&&(t=e),Vi(t)&&CD(t[W$3],t),n=t&&t[mr];}t=n;}}function zw(e,t){let n=e[As],r=n.indexOf(t);n.splice(r,1);}function om(e,t){if(hi(t))return;let n=t[Ue$1];n.destroyNode&&sm(e,t,n,3,null,null),KH(t);}function CD(e,t){if(hi(t))return;let n=ee$3(null);try{t[pe$2]&=-129,t[pe$2]|=256,t[Yn]&&_o(t[Yn]),t2(e,t),e2(e,t),t[W$3].type===1&&t[Ue$1].destroy();let r=t[Io];if(r!==null&&vr$1(t[Bt])){r!==t[Bt]&&zw(r,t);let i=t[fi];i!==null&&i.detachView(e);}BD(t);}finally{ee$3(n);}}function e2(e,t){let n=e.cleanup,r=t[gc];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2;}else {let a=r[n[s+1]];n[s].call(a);}r!==null&&(t[gc]=null);let i=t[Fi];if(i!==null){t[Fi]=null;for(let s=0;s<i.length;s++){let a=i[s];a();}}let o=t[wo];if(o!==null){t[wo]=null;for(let s of o)s.destroy();}}function t2(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let i=t[n[r]];if(!(i instanceof Hs)){let o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],c=o[s+1];je$2(ke$2.LifecycleHookStart,a,c);try{c.call(a);}finally{je$2(ke$2.LifecycleHookEnd,a,c);}}else {je$2(ke$2.LifecycleHookStart,i,o);try{o.call(i);}finally{je$2(ke$2.LifecycleHookEnd,i,o);}}}}}function TM(e,t,n){return n2(e,t.parent,n)}function n2(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Vr$1];if(pi(r)){let{encapsulation:i}
vendor: 4,713 bytes, line 4
4=e.data[r.directiveStart+r.componentOffset];if(i===zr$1.None||i===zr$1.Emulated)return null}return tn$1(r,n)}function xM(e,t,n){return i2(e,t,n)}function r2(e,t,n){return e.type&40?tn$1(e,n):null}var i2=r2;function qw(e,t,n,r){let i=TM(e,r,t),o=t[Ue$1],s=r.parent||t[sn$1],a=xM(s,r,t);if(i!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Wx(o,i,n[c],a,false);else Wx(o,i,n,a,false);}function Xu(e,t){if(t!==null){let n=t.type;if(n&3)return tn$1(t,e);if(n&4)return KD(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Xu(e,r);{let i=e[t.index];return vr$1(i)?KD(-1,i):_r$1(i)}}else {if(n&128)return Xu(e,t.next);if(n&32)return Fw(t,e)()||_r$1(e[t.index]);{let r=MM(e,t);if(r!==null){if(Array.isArray(r))return r[0];let i=Bi(e[an$1]);return Xu(i,r)}else return Xu(e,t.next)}}}return null}function MM(e,t){if(t!==null){let r=e[an$1][sn$1],i=t.projection;return r.projection[i]}return null}function KD(e,t){let n=ht$2+e+1;if(n<t.length){let r=t[n],i=r[W$3].firstChild;if(i!==null)return Xu(r,i)}return t[To]}function Ww(e,t,n,r,i,o,s){for(;n!=null;){let a=r[nt$1];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Tc(_r$1(c),r),n.flags|=2),!Gh(n))if(u&8)Ww(e,t,n.child,r,i,o,false),Sc(t,e,a,i,c,n,o,r);else if(u&32){let d=Fw(n,r),f;for(;f=d();)Sc(t,e,a,i,f,n,o,r);Sc(t,e,a,i,c,n,o,r);}else u&16?RM(e,t,r,n,i,o):Sc(t,e,a,i,c,n,o,r);n=s?n.projectionNext:n.next;}}function sm(e,t,n,r,i,o){Ww(n,r,e.firstChild,t,i,o,false);}function o2(e,t,n){let r=t[Ue$1],i=TM(e,n,t),o=n.parent||t[sn$1],s=xM(o,n,t);RM(r,0,t,n,i,s);}function RM(e,t,n,r,i,o){let s=n[an$1],c=s[sn$1].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let d=c[u];Sc(t,e,n[nt$1],i,d,r,o,n);}else {let u=c,d=s[Bt];z0(r)&&(u.flags|=128),Ww(e,t,u,d,i,o,true);}}function s2(e,t,n,r,i,o,s){let a=r[To],c=_r$1(r);a!==c&&Sc(t,e,n,o,a,i,s);for(let u=ht$2;u<r.length;u++){let d=r[u];sm(d[W$3],d,e,t,o,a);}}function a2(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else {let o=r.indexOf("-")===-1?void 0:gi.DashCase;i==null?e.removeStyle(n,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=gi.Important),e.setStyle(n,r,i,o));}}function Yw(e,t,n,r,i,o,s,a,c,u,d){let f=Pe$3+r,p=f+i,g=c2(f,p),v=typeof u=="function"?u():u;return g[W$3]={type:e,blueprint:g,template:n,queries:null,viewQuery:a,declTNode:t,data:g.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:true,firstUpdatePass:true,staticViewQueries:false,staticContentQueries:false,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:v,incompleteFirstPass:false,ssrId:d}}function c2(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Qt);return n}function l2(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Yw(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Gw(e,t,n,r,i,o,s,a,c,u,d){let f=t.blueprint.slice();return f[Vr$1]=i,f[pe$2]=r|4|128|8|64|1024,(u!==null||e&&e[pe$2]&2048)&&(f[pe$2]|=2048),Xb(f),f[Bt]=f[So]=e,f[pt$1]=n,f[jr$1]=s||e&&e[jr$1],f[Ue$1]=a||e&&e[Ue$1],f[nt$1]=c||e&&e[nt$1]||null,f[sn$1]=o,f[gr$1]=Lj(),f[xs]=d,f[Zb]=u,f[an$1]=t.type==2?e[an$1]:f,f}function u2(e,t,n){let r=tn$1(t,e),i=l2(n),o=e[jr$1].rendererFactory,s=Zw(e,Gw(e,i,null,AM(n),r,t,null,o.createRenderer(r,n),null,null,null));return e[t.index]=s}function AM(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function NM(e,t,n,r){if(n===0)return -1;let i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Zw(e,t){return e[yc]?e[Gb][mr]=t:e[yc]=t,e[Gb]=t,t}function Ut$1(e=1){kM(Ve$1(),z$3(),wr$1()+e);}function kM(e,t,n,r){if((t[pe$2]&3)===3){let o=e.preOrderCheckHooks;o!==null&&bh(t,o,n);}else {let o=e.preOrderHooks;o!==null&&Dh(t,o,0,n);}Mo(n);}var am=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(am||{});function qs(e,t,n,r){let i=ee$3(null);try{let[o,s,a]=e.inputs[n],c=null;(s&am.SignalBased)!==0&&(c=t[o][St]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,o):x0(t,c,o,r);}finally{ee$3(i);}}function OM(e,t,n,r,i){let o=wr$1(),s=r&2;try{Mo(-1),s&&t.length>Pe$3&&kM(e,t,Pe$3,!1);let a=s?ke$2.TemplateUpdateStart:ke$2.TemplateCreateStart;je$2(a,i,n),n(r,i);}finally{Mo(o);let a=s?ke$2.TemplateUpdateEnd:ke$2.TemplateCreateEnd;je$2(a,i,n);}}
4function cm(e,t,n){m2(e,t,n),(n.flags&64)===64&&g2(e,t,n);}function pd(e,t,n=tn$1){let r=t.localNames;if(r!==null){let i=t.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?n(t,e):e[s];e[i++]=a;}}}function d2(e,t,n,r){let o=r.get(Q0,J0)||n===zr$1.ShadowDom||n===zr$1.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,o);return s}function h2(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function PM(e,t,n,r,i,o){let s=t[W$3];if(lm(e,s,t,n,r)){pi(e)&&FM(t,e.index);return}e.type&3&&(n=h2(n)),LM(e,t,n,r,i,o);}function LM(e,t,n,r,i,o){if(e.type&3){let s=tn$1(e,t);r=o!=null?o(r,e.value||"",n):r,i.setProperty(s,n,r);}else e.type&12;}function FM(e,t){let n=br$1(t,e);n[pe$2]&16||(n[pe$2]|=64);}function m2(e,t,n){let r=n.directiveStart,i=n.directiveEnd;pi(n)&&u2(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Nh(n,t);let o=n.initialInputs;for(let s=r;s<i;s++){let a=e.data[s],c=ed(t,e,s,n);if(Tc(c,t),o!==null&&_2(t,s-r,c,a,n,o),Hr$1(a)){let u=br$1(n.index,t);u[pt$1]=ed(t,e,s,n);}}}function g2(e,t,n){let r=n.directiveStart,i=n.directiveEnd,o=n.index,s=gx();try{Mo(o);for(let a=r;a<i;a++){let c=e.data[a],u=t[a];oh(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&y2(c,u);}}finally{Mo(-1),oh(s);}}function y2(e,t){e.hostBindings!==null&&e.hostBindings(1,t);}function Jw(e,t){let n=e.directiveRegistry,r=null;if(n)for(let i=0;i<n.length;i++){let o=n[i];mM(t,o.selectors,false)&&(r??=[],Hr$1(o)?r.unshift(o):r.push(o));}return r}function v2(e,t,n,r,i,o){let s=tn$1(e,t);BM(t[Ue$1],s,o,e.value,n,r,i);}function BM(e,t,n,r,i,o,s){if(o==null)s?.(o,r||"",i),e.removeAttribute(t,i,n);else {let a=s==null?Ur$1(o):s(o,r||"",i);e.setAttribute(t,i,a,n);}}function _2(e,t,n,r,i,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];qs(r,n,c,u);}}function Qw(e,t,n,r,i){let o=Pe$3+n,s=t[W$3],a=i(s,t,e,r,n);t[o]=a,Ps(e,true);let c=e.type===2;return c?(fM(t[Ue$1],a,e),(ux()===0||vc(e))&&Tc(a,t),dx()):Tc(a,t),dh()&&(!c||!Gh(e))&&qw(s,t,a,e),e}function Xw(e){let t=e;return aD()?cD():(t=t.parent,Ps(t,false)),t}function Kw(e,t){let n=e[nt$1];if(!n)return;let r;try{r=n.get(Zn,null);}catch{r=null;}r?.(t);}function lm(e,t,n,r,i){let o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=false;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],d=s[c+1],f=t.data[u];qs(f,n[u],d,i),a=true;}if(o)for(let c of o){let u=n[c],d=t.data[c];qs(d,u,r,i),a=true;}return a}function b2(e,t,n,r,i,o){let s=null,a=null,c=null,u=false,d=e.directiveToIndex.get(r.type);if(typeof d=="number"?s=d:[s,a,c]=d,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(i)){let f=e.hostDirectiveInputs[i];for(let p=0;p<f.length;p+=2){let g=f[p];if(g>=a&&g<=c){let v=t.data[g],C=f[p+1];qs(v,n[g],C,o),u=true;}else if(g>c)break}}return s!==null&&r.inputs.hasOwnProperty(i)&&(qs(r,n[s],i,o),u=true),u}function D2(e,t){let n=br$1(t,e),r=n[W$3];w2(r,n);let i=n[Vr$1];i!==null&&n[xs]===null&&(n[xs]=eM(i,n[nt$1])),je$2(ke$2.ComponentStart);try{eC(r,n,n[pt$1]);}finally{je$2(ke$2.ComponentEnd,n[pt$1]);}}function w2(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n]);}function eC(e,t,n){ah(t);try{let r=e.viewQuery;r!==null&&jD(1,r,n);let i=e.template;i!==null&&OM(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[fi]?.finishViewCreation(e),e.staticContentQueries&&tM(e,t),e.staticViewQueries&&jD(2,e.viewQuery,n);let o=e.components;o!==null&&C2(t,o);}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=true,e.firstCreatePass=false),r}finally{t[pe$2]&=-5,ch();}}function C2(e,t){for(let n=0;n<t.length;n++)D2(e,t[n]);}function kc(e,t,n,r){let i=ee$3(null);try{let o=t.tView,a=e[pe$2]&4096?4096:16,c=Gw(e,o,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Io]=u;let d=e[fi];return d!==null&&(c[fi]=d.createEmbeddedView(o)),eC(o,c,n),c}finally{ee$3(i);}}function Ws(e,t){return !t||t.firstChild===null||z0(e)}function id(e,t,n,r,i=false){for(;n!==null;){if(n.type===128){n=i?n.projectionNext:n.next;continue}let o=t[n.index];o!==null&&r.push(_r$1(o)),vr$1(o)&&UM(o,r);let s=n.type;if(s&8)id(e,t,n.child,r);else if(s&32){let a=Fw(n,t),c;for(;c=a();)r.push(c);}else if(s&16){let a=MM(t,n);if(Array.isArray(a))r.push(...a);else {let c=Bi(t[an$1]);id(c[W$3],c,a,r,true);}}n=i?n.projectionNext:n.next;}return r}function UM(e,t){for(let n=ht$2;n<e.length;n++){let r=e[n],i=r[W$3].firstChild;i!==null&&id(r[W$3],r,i,t);}e[To]!==e[Vr$1]&&t.push(e[To]);}
vendor: 6,814 bytes, line 4
4function VM(e){if(e[Rs]!==null){for(let t of e[Rs])t.impl.addSequence(t);e[Rs].length=0;}}var jM=[];function S2(e){return e[Yn]??I2(e)}function I2(e){let t=jM.pop()??Object.create(T2);return t.lView=e,t}function E2(e){e.lView[Yn]!==e&&(e.lView=null,jM.push(e));}var T2=s$6(r$2({},yo),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{Ns(e.lView);},consumerOnSignalRead(){this.lView[Yn]=this;}});function x2(e){let t=e[Yn]??Object.create(M2);return t.lView=e,t}var M2=s$6(r$2({},yo),{consumerIsAlwaysLive:true,kind:"template",consumerMarkedDirty:e=>{let t=Bi(e.lView);for(;t&&!HM(t[W$3]);)t=Bi(t);t&&th(t);},consumerOnSignalRead(){this.lView[Yn]=this;}});function HM(e){return e.type!==2}function $M(e){if(e[wo]===null)return;let t=true;for(;t;){let n=false;for(let r of e[wo])r.dirty&&(n=true,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[pe$2]&8192);}}var R2=100;function zM(e,t=0){let r=e[jr$1].rendererFactory;r.begin?.();try{A2(e,t);}finally{r.end?.();}}function A2(e,t){let n=uD();try{Ru(!0),ew(e,t);let r=0;for(;Hu(e);){if(r===R2)throw new P$4(103,!1);r++,ew(e,1);}}finally{Ru(n);}}function N2(e,t,n,r){if(hi(t))return;let i=t[pe$2],o=false,s=false;ah(t);let a=true,c=null,u=null;(HM(e)?(u=S2(t),c=Li(u)):Pp()===null?(a=false,u=x2(t),c=Li(u)):t[Yn]&&(_o(t[Yn]),t[Yn]=null));try{Xb(t),px(e.bindingStartIndex),n!==null&&OM(e,t,n,2,r);let d=(i&3)===3;if(!o)if(d){let g=e.preOrderCheckHooks;g!==null&&bh(t,g,null);}else {let g=e.preOrderHooks;g!==null&&Dh(t,g,0,null),bD(t,0);}if(s||k2(t),$M(t),qM(t,0),e.contentQueries!==null&&tM(e,t),!o)if(d){let g=e.contentCheckHooks;g!==null&&bh(t,g);}else {let g=e.contentHooks;g!==null&&Dh(t,g,1),bD(t,1);}P2(e,t);let f=e.components;f!==null&&YM(t,f,0);let p=e.viewQuery;if(p!==null&&jD(2,p,r),!o)if(d){let g=e.viewCheckHooks;g!==null&&bh(t,g);}else {let g=e.viewHooks;g!==null&&Dh(t,g,2),bD(t,2);}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Xp]){for(let g of t[Xp])g();t[Xp]=null;}o||(VM(t),t[pe$2]&=-73);}catch(d){throw Ns(t),d}finally{u!==null&&(vo(u,c),a&&E2(u)),ch();}}function qM(e,t){for(let n=W0(e);n!==null;n=Y0(n))for(let r=ht$2;r<n.length;r++){let i=n[r];WM(i,t);}}function k2(e){for(let t=W0(e);t!==null;t=Y0(t)){if(!(t[pe$2]&2))continue;let n=t[As];for(let r=0;r<n.length;r++){let i=n[r];th(i);}}}function O2(e,t,n){je$2(ke$2.ComponentStart);let r=br$1(t,e);try{WM(r,n);}finally{je$2(ke$2.ComponentEnd,r[pt$1]);}}function WM(e,t){eh(e)&&ew(e,t);}function ew(e,t){let r=e[W$3],i=e[pe$2],o=e[Yn],s=!!(t===0&&i&16);if(s||=!!(i&64&&t===0),s||=!!(i&1024),s||=!!(o?.dirty&&cc(o)),s||=false,o&&(o.dirty=false),e[pe$2]&=-9217,s)N2(r,e,r.template,e[pt$1]);else if(i&8192){let a=ee$3(null);try{$M(e),qM(e,1);let c=r.components;c!==null&&YM(e,c,1),VM(e);}finally{ee$3(a);}}}function YM(e,t,n){for(let r=0;r<t.length;r++)O2(e,t[r],n);}function P2(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let i=n[r];if(i<0)Mo(~i);else {let o=i,s=n[++r],a=n[++r];mx(s,o);let c=t[o];je$2(ke$2.HostBindingsUpdateStart,c);try{a(2,c);}finally{je$2(ke$2.HostBindingsUpdateEnd,c);}}}}finally{Mo(-1);}}function tC(e,t){let n=uD()?64:1088;for(e[jr$1].changeDetectionScheduler?.notify(t);e;){e[pe$2]|=n;let r=Bi(e);if(_c(e)&&!r)return e;e=r;}return null}function GM(e,t,n,r){return [e,true,0,t,null,r,null,n,null,null]}function ZM(e,t){let n=ht$2+t;if(n<e.length)return e[n]}function Oc(e,t,n,r=true){let i=t[W$3];if(L2(i,t,e,n),r){let s=KD(n,e),a=t[Ue$1],c=a.parentNode(e[To]);c!==null&&XH(i,e[sn$1],a,t,c,s);}let o=t[xs];o!==null&&o.firstChild!==null&&(o.firstChild=null);}function nC(e,t){let n=od(e,t);return n!==void 0&&om(n[W$3],n),n}function od(e,t){if(e.length<=ht$2)return;let n=ht$2+t,r=e[n];if(r){let i=r[Io];i!==null&&i!==e&&zw(i,r),t>0&&(e[n-1][mr]=r[mr]);let o=Lu(e,ht$2+t);QH(r[W$3],r);let s=o[fi];s!==null&&s.detachView(o[W$3]),r[Bt]=null,r[mr]=null,r[pe$2]&=-129;}return r}function L2(e,t,n,r){let i=ht$2+r,o=n.length;r>0&&(n[i-1][mr]=t),r<o-ht$2?(t[mr]=n[i],zb(n,ht$2+r,t)):(n.push(t),t[mr]=null),t[Bt]=n;let s=t[Io];s!==null&&n!==s&&JM(s,t);let a=t[fi];a!==null&&a.insertView(e),nh(t),t[pe$2]|=128;}function JM(e,t){let n=e[As],r=t[Bt];if(Vi(r))e[pe$2]|=2;else {let i=r[Bt][an$1];t[an$1]!==i&&(e[pe$2]|=2);}n===null?e[As]=[t]:n.push(t);}var ko=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=false;exhaustive;get rootNodes(){let t=this._lView,n=t[W$3];return id(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n;}get context(){return this._lView[pt$1]}set context(t){this._lView[pt$1]=t;}get destroyed(){return hi(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Bt];if(vr$1(t)){let n=t[Vu],r=n?n.indexOf(this):-1;r>-1&&(od(t,r),Lu(n,r));}this._attachedToViewContainer=false;}om(this._lView[W$3],this._lView);}onDestroy(t){Dc(this._lView,t);}markForCheck(){tC(this._cdRefInjectingView||this._lView,4);}detach(){this._lView[pe$2]&=-129;}reattach(){nh(this._lView),this._lView[pe$2]|=128;}detectChanges(){this._lView[pe$2]|=1024,zM(this._lView);}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new P$4(902,false);this._attachedToViewContainer=true;}detachFromAppRef(){this._appRef=null;let t=_c(this._lView),n=this._lView[Io];n!==null&&!t&&zw(n,this._lView),EM(this._lView[W$3],this._lView);}attachToAppRef(t){if(this._attachedToViewContainer)throw new P$4(902,false);this._appRef=t;let n=_c(this._lView),r=this._lView[Io];r!==null&&!n&&JM(r,this._lView),nh(this._lView);}};var Dn$1=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=F2;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i;}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){let o=kc(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new ko(o)}}return e})();function F2(){return um(st$1(),z$3())}function um(e,t){return e.type&4?new Dn$1(t,e,Nc(e,t)):null}function Xs(e,t,n,r,i){let o=e.data[t];if(o===null)o=B2(e,t,n,r,i),hx()&&(o.flags|=32);else if(o.type&64){o.type=n,o.value=r,o.attrs=i;let s=fx();o.injectorIndex=s===null?-1:s.injectorIndex;}return Ps(o,true),o}function B2(e,t,n,r,i){let o=sD(),s=aD(),a=s?o:o&&o.parent,c=e.data[t]=V2(e,a,n,t,r,i);return U2(e,c,o,s),c}function U2(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n));}function V2(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return rD()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
4set:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,namespace:hD(),attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function j2(e){let t=e[Eo]??[],r=e[Bt][Ue$1],i=[];for(let o of t)o.data[Sw]!==void 0?i.push(o):H2(o,r);e[Eo]=i;}function H2(e,t){let n=0,r=e.firstChild;if(r){let i=e.data[Z0];for(;n<i;){let o=r.nextSibling;dM(t,r,false),r=o,n++;}}}var $2=()=>null,z2=()=>null;function Lh(e,t){return $2()}function QM(e,t,n){return z2()}var XM=class{},cn$1=class cn{},Vt$2=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>q2()}return e})();function q2(){let e=z$3(),t=st$1(),n=br$1(t.index,e);return (Vi(n)?n:e)[Ue$1]}var KM=(()=>{class e{static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>null})}return e})();function eR(e){return e.debugInfo?.className||e.type.name||null}var Ch={},Vs=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n;}get(t,n,r){let i=this.injector.get(t,Ch,r);return i!==Ch||n===Ch?i:this.parentInjector.get(t,n,r)}};function rC(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ks(e,t,n){return e[t]=n}function tR(e,t){return e[t]}function wn$1(e,t,n){if(n===Qt)return false;let r=e[t];return Object.is(r,n)?false:(e[t]=n,true)}function sd(e,t,n,r){let i=wn$1(e,t,n);return wn$1(e,t+1,r)||i}function nR(e,t,n,r,i){let o=sd(e,t,n,r);
4return wn$1(e,t+2,i)||o}function W2(e,t,n,r,i,o){let s=sd(e,t,n,r);return sd(e,t+2,i,o)||s}function js(e,t,n){return function r(i){let o=r.__ngNativeEl__;o!==void 0&&Uj(i,o);let s=pi(e)?br$1(e.index,t):t;tC(s,5);let a=t[pt$1],c=Xx(t,a,n,i),u=r.__ngNextListenerFn__;for(;u;)c=Xx(t,a,u,i)&&c,u=u.__ngNextListenerFn__;return c}}function Xx(e,t,n,r){let i=ee$3(null);try{return je$2(ke$2.OutputStart,t,n),n(r)!==!1}catch(o){return Kw(e,o),false}finally{je$2(ke$2.OutputEnd,t,n),ee$3(i);}}function iC(e,t,n,r,i,o,s,a){let c=vc(e),u=false,d=null;if(!r&&c&&(d=G2(t,n,o,e.index)),d!==null){let f=d.__ngLastListenerFn__||d;f.__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,u=true;}else {let f=tn$1(e,n),p=r?r(f):f;r||(a.__ngNativeEl__=f);let g=i.listen(p,o,a);if(!Y2(o)){let v=r?C=>r(_r$1(C[e.index])):e.index;rR(v,t,n,o,a,g,false);}}return u}function Y2(e){return e.startsWith("animation")||e.startsWith("transition")}function G2(e,t,n,r){let i=e.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===n&&i[o+1]===r){let a=t[gc],c=i[o+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(o+=2);}return null}function rR(e,t,n,r,i,o,s){let a=t.firstCreatePass?tD(t):null,c=eD(n),u=c.length;c.push(i,o),a&&a.push(r,e,u,(u+1)*(s?-1:1));}function Kx(e,t,n,r,i){let o=null,s=null,a=null,c=false,u=e.directiveToIndex.get(n.type);if(typeof u=="number"?o=u:[o,s,a]=u,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let d=e.hostDirectiveOutputs[r];for(let f=0;f<d.length;f+=2){let p=d[f];if(p>=s&&p<=a)c=true,Fh(e,t,p,d[f+1],r,i);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=true,Fh(e,t,o,r,r,i)),c}function Fh(e,t,n,r,i,o){let s=t[n],a=t[W$3],u=a.data[n].outputs[r],f=s[u].subscribe(o);rR(e.index,a,t,i,o,f,true);}function Z2(){J2();}function J2(){let e=z$3(),t=Ve$1(),n=st$1();if(t.firstCreatePass&&K2(t,n),n.controlDirectiveIndex===-1)return;Gt("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Bh(e,t,n));}function Q2(){X2();}function X2(){let e=z$3(),t=Ve$1(),n=Ls();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,i=e[n.controlDirectiveIndex];r.update(i,new Bh(e,t,n));}var Bh=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096);}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return tn$1(this.tNode,this.lView)}get descriptor(){return `<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Kx(this.tNode,this.lView,r,t,js(this.tNode,this.lView,n));}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange",r=this.tView.data[this.tNode.customControlIndex];Kx(this.tNode,this.lView,r,n,js(this.tNode,this.lView,t));}listenToDom(t,n){iC(this.tNode,this.tView,this.lView,void 0,this.lView[Ue$1],t,n,js(this.tNode,this.lView,n));}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!r&&!i)return false;let o=false;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];qs(a,c,t,n),o=true;}if(i)for(let s=0;s<i.length;s+=2){let a=i[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=i[s+1],u=this.tView.data[a],d=this.lView[a];qs(u,d,c,n),o=true;}return o}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?"value":"checked";b2(this.tNode,this.tView,this.lView,n,r,t);}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return false;let n=this.tView.data[this.tNode.customControlIndex];return (n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===true}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=true;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let i=r.shift();if(typeof i!="function"){for(let s in i.inputs)n[i.inputs[s]]=true;let o=e0(i.directive);o!==null&&r.push(...o);continue}for(let o of i()){if(typeof o=="function")continue;if(o.inputs)for(let a=0;a<o.inputs.length;a+=2){let c=o.inputs[a+1]||o.inputs[a];n[c]=true;}let s=e0(o.directive);s!==null&&r.push(...s);}}}return n}};function e0(e){return typeof e=="function"&&"\u0275dir"in e?e.\u0275dir.hostDirectives??null:null}function K2(e,t,n){for(let i=t.directiveStart;i<t.directiveEnd;i++)if(e.data[i].controlDef){t.controlDirectiveIndex=i;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}e$(e,t);}function e$(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(t0(r,"value")){t.flags|=1024,t.customControlIndex=n;return}
4if(t0(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,i)=>{let o=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+"Change"];if(!o||!s)return false;for(let a=0;a<o.length;a+=2){let c=o[a];for(let u=0;u<s.length;u+=2){let d=s[u];if(c===d)for(let f of t.directiveToIndex.values()){if(!Array.isArray(f))continue;let[p,g,v]=f;if(c>=g&&c<=v)return t.flags|=i,t.customControlIndex=p,true}}}return false};if(n("value",1024)||n("checked",2048))return}}function t0(e,t){return t$(e,t)&&n$(e,t+"Change")}function t$(e,t){return t in e.inputs}function n$(e,t){return t in e.outputs}var tw=Symbol("BINDING");var ea=new R$3("");function Uh(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)i=qp(i,a);else if(o==2){let c=a,u=t[++s];r=qp(r,c+": "+u+";");}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i;}function V$4(e,t=0){let n=z$3();if(n===null)return Z$1(e,t);let r=st$1();return V0(r,n,qt$1(e),t)}function hd(){let e="invalid";throw new Error(e)}function iR(e,t,n,r,i){let o=r===null?null:{"":-1},s=i(e,n);if(s!==null){let a=s,c=null,u=null;for(let d of s)if(d.resolveHostDirectives!==null){[a,c,u]=d.resolveHostDirectives(s);break}o$(e,t,n,a,o,c,u);}o!==null&&r!==null&&r$(n,r,o);}function r$(e,t,n){let r=e.localNames=[];for(let i=0;i<t.length;i+=2){let o=n[t[i+1]];if(o==null)throw new P$4(-301,false);r.push(t[i],o);}}function i$(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index);}function o$(e,t,n,r,i,o,s){let a=r.length,c=null;for(let p=0;p<a;p++){let g=r[p];c===null&&Hr$1(g)&&(c=g,i$(e,n,p)),LD(Nh(n,t),e,g.type);}d$(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let g=r[p];g.providersResolver&&g.providersResolver(g);}let u=false,d=false,f=NM(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let g=r[p];if(n.mergedAttrs=Ec(n.mergedAttrs,g.hostAttrs),a$(e,n,t,f,g),u$(f,g,i),s!==null&&s.has(g)){let[C,S]=s.get(g);n.directiveToIndex.set(g.type,[f,C+n.directiveStart,S+n.directiveStart]);}else (o===null||!o.has(g))&&n.directiveToIndex.set(g.type,f);g.contentQueries!==null&&(n.flags|=4),(g.hostBindings!==null||g.hostAttrs!==null||g.hostVars!==0)&&(n.flags|=64);let v=g.type.prototype;!u&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=true),!d&&(v.ngOnChanges||v.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=true),f++;}s$(e,n,o);}function s$(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let i=e.data[r];if(n===null||!n.has(i))n0(0,t,i,r),n0(1,t,i,r),i0(t,r,false);else {let o=n.get(i);r0(0,t,o,r),r0(1,t,o,r),i0(t,r,true);}}}function n0(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(r),oR(t,o);}}function r0(e,t,n,r){let i=e===0?n.inputs:n.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),oR(t,s);}}function oR(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16);}function i0(e,t,n){let{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(r===null||!n&&i===null||n&&o===null||Lw(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&i.hasOwnProperty(c)){let u=i[c];for(let d of u)if(d===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&o.hasOwnProperty(c)){let u=o[c];for(let d=0;d<u.length;d+=2)if(u[d]===t){s??=[],s.push(u[d+1],r[a+1]);break}}a+=2;}e.initialInputs??=[],e.initialInputs.push(s);}function a$(e,t,n,r,i){e.data[r]=i;let o=i.factory||(i.factory=Do(i.type)),s=new Hs(o,Hr$1(i),V$4,null);e.blueprint[r]=s,n[r]=s,c$(e,t,r,NM(e,n,i.hostVars,Qt),i);}function c$(e,t,n,r,i){let o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;l$(s)!=a&&s.push(a),s.push(n,r,o);}}function l$(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function u$(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Hr$1(t)&&(n[""]=e);}}function d$(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t
4+n,e.providerIndexes=t;}function oC(e,t,n,r,i,o,s,a){let c=t[W$3],u=c.consts,d=Gn$1(u,s),f=Xs(c,e,n,r,d);return iR(c,t,f,Gn$1(u,a),i),f.mergedAttrs=Ec(f.mergedAttrs,f.attrs),f.attrs!==null&&Uh(f,f.attrs,false),f.mergedAttrs!==null&&Uh(f,f.mergedAttrs,true),c.queries!==null&&c.queries.elementStart(c,f),f}function sC(e,t){A0(e,t),Jb(t)&&e.queries.elementEnd(t);}function f$(e,t,n,r,i,o){let s=t.consts,a=Gn$1(s,i),c=Xs(t,e,n,r,a);if(c.mergedAttrs=Ec(c.mergedAttrs,c.attrs),o!=null){let u=Gn$1(s,o);c.localNames=[];for(let d=0;d<u.length;d+=2)c.localNames.push(u[d],-1);}return c.attrs!==null&&Uh(c,c.attrs,false),c.mergedAttrs!==null&&Uh(c,c.mergedAttrs,true),t.queries!==null&&t.queries.elementStart(t,c),c}var sR=typeof ShadowRoot<"u",p$=typeof Document<"u";function h$(e){return Object.keys(e).map(t=>{let[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:(r&am.SignalBased)!==0};return i&&(o.transform=i),o})}function m$(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function g$(e,t,n){let r=t instanceof $e$1?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Vs(n,r):n}function y$(e){let t=e.get(cn$1,null);if(t===null)throw new P$4(407,false);let n=e.get(KM,null),r=e.get(ui,null),i=e.get(Wr$1,null,{optional:true});return {rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:false,tracingService:i}}function v$(e,t){let n=aR(e);
4return lM(t,n,n==="svg"?Qb:n==="math"?sx:null)}function _$(e){if(e?.toLowerCase()==="script")throw new P$4(905,false)}function aR(e){return (e.selectors[0][0]||"div").toLowerCase()}var Ys=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=h$(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=m$(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=MH(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n;}create(t,n,r,i,o,s){je$2(ke$2.DynamicComponentStart);let a=ee$3(null);try{let c=this.componentDef,u=g$(c,i||this.ngModule,t),d=y$(u),f=d.tracingService;return f&&f.componentCreate?f.componentCreate(eR(c),()=>this.createComponentRef(d,u,n,r,o,s)):this.createComponentRef(d,u,n,r,o,s)}finally{ee$3(a);}}createComponentRef(t,n,r,i,o,s){let a=this.componentDef,c=b$(i,a,s,o),u=t.rendererFactory.createRenderer(null,a),d=i?d2(u,i,a.encapsulation,n):v$(a,u);_$(d?.tagName);let f=n.get(ea,null),p=D$(d,()=>n.get(se$3,null)??Cw());f&&f.addHost(p);let g=s?.some(o0)||o?.some(S=>typeof S!="function"&&S.bindings.some(o0)),v=Gw(null,c,null,512|AM(a),null,null,t,u,n,null,eM(d,n,true));f&&sR&&p instanceof ShadowRoot&&Dc(v,()=>{f.removeHost(p);}),v[Pe$3]=d,ah(v);let C=null;try{let S=oC(Pe$3,v,2,"#host",()=>c.directiveRegistry,!0,0);fM(u,d,S),Tc(d,v),cm(c,v,S),xw(c,S,v),sC(c,S),r!==void 0&&C$(S,this.ngContentSelectors,r),C=br$1(S.index,v),v[pt$1]=C[pt$1],eC(c,v,null);}catch(S){throw C!==null&&BD(C),BD(v),S}finally{je$2(ke$2.DynamicComponentEnd),ch();}return new Vh(this.componentType,v,!!g)}};function b$(e,t,n,r){let i=e?["ng-version","22.0.8"]:RH(t.selectors[0]),o=null,s=null,a=0;if(n)for(let d of n)a+=d[tw].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(r)for(let d=0;d<r.length;d++){let f=r[d];if(typeof f!="function")for(let p of f.bindings){a+=p[tw].requiredVars;let g=d+1;p.create&&(p.targetIdx=g,(o??=[]).push(p)),p.update&&(p.targetIdx=g,(s??=[]).push(p));}}let c=[t];if(r)for(let d of r){let f=typeof d=="function"?d:d.type,p=Pu(f);c.push(p);}return Yw(0,null,w$(o,s),1,a,c,null,null,null,[i],null)}function D$(e,t){let n=e.getRootNode?.();return p$&&n instanceof Document?n.head:n&&sR&&n instanceof ShadowRoot?n:t().head}function w$(e,t){return !e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update();}}function o0(e){let t=e[tw].kind;return t==="input"||t==="twoWay"}var Vh=class extends XM{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=bc(n[W$3],Pe$3),this.location=Nc(this._tNode,n),this.instance=br$1(this._tNode.index,n)[pt$1],this.hostView=this.changeDetectorRef=new ko(n,void 0),this.componentType=t;}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;lm(r,i[W$3],i,t,n);this.previousInputValues.set(t,n);let s=br$1(r.index,i);tC(s,1);}get injector(){return new No(this._tNode,this._rootLView)}destroy(){this.hostView.destroy();}onDestroy(t){this.hostView.onDestroy(t);}};function C$(e,t,n){let r=e.projection=[];for(let i=0;i<t.length;i++){let o=n[i];r.push(o!=null&&o.length?Array.from(o):null);}}var ln$1=(()=>{class e{static __NG_ELEMENT_ID__=S$}return e})();function S$(){let e=st$1();return cR(e,z$3())}var nw=class e extends ln$1{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r;}get element(){return Nc(this._hostTNode,this._hostLView)}get injector(){return new No(this._hostTNode,this._hostLView)}get parentInjector(){let t=bw(this._hostTNode,this._hostLView);if(O0(t)){let n=Rh(t,this._hostLView),r=Mh(t),i=n[W$3].data[r+8];return new No(i,n)}else return new No(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1);}get(t){let n=s0(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ht$2}createEmbeddedView(t,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=Lh(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},o,s);return this.insertImpl(a,i,Ws(this._hostTNode,s)),a}createComponent(t,n,r,i,o,s,a){let c,u=n||{};c=u.index,r=u.injector,i=u.projectableNodes,o=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings;let d=new Ys(di(t)),f=r||this.parentInjector;if(!o&&d.ngModule==null){let M=this.parentInjector.get($e$1,null);M&&(o=M);}let p=di(d.componentType??{}),g=Lh(this._lContainer,p?.id??null),v=null,C=d.create(f,i,v,o,s,a);return this.insertImpl(C.hostView,c,Ws(this._hostTNode,g)),C}insert(t,n){return this.insertImpl(t,n,true)}insertImpl(t,n,r){let i=t._lView;if(cx(i)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else {let c=i[Bt],u=new e(c,c[sn$1],c[Bt]);u.detach(u.indexOf(t));}}let o=this._adjustIndex(n),s=this._lContainer;return Oc(s,i,o,r),t.attachToViewContainerRef(),zb(SD(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=s0(this._lContainer);return n!==null?n.indexOf(t):-1}
vendor: 4,597 bytes, line 4
4remove(t){let n=this._adjustIndex(t,-1),r=od(this._lContainer,n);r&&(Lu(SD(this._lContainer),n),om(r[W$3],r));}detach(t){let n=this._adjustIndex(t,-1),r=od(this._lContainer,n);return r&&Lu(SD(this._lContainer),n)!=null?new ko(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function s0(e){return e[Vu]}function SD(e){return e[Vu]||(e[Vu]=[])}function cR(e,t){let n,r=t[e.index];return vr$1(r)?n=r:(n=GM(r,t,null,e),t[e.index]=n,Zw(t,n)),E$(n,t,e,r),new nw(n,e,t)}function I$(e,t){let n=e[Ue$1],r=n.createComment(""),i=tn$1(t,e),o=n.parentNode(i);return kh(n,o,r,n.nextSibling(i),false),r}var E$=x$;function x$(e,t,n,r){if(e[To])return;let i;n.type&8?i=_r$1(r):i=I$(t,n),e[To]=i;}var rw=class e{queryList;matches=null;constructor(t){this.queryList=t;}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty();}},iw=class e{queries;constructor(t=[]){this.queries=t;}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){let s=n.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone());}return new e(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t);}detachView(t){this.dirtyQueriesWithMatches(t);}finishViewCreation(t){this.dirtyQueriesWithMatches(t);}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)cC(t,n).matches!==null&&this.queries[n].setDirty();}},jh=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=k$(t):this.predicate=t;}},ow=class e{queries;constructor(t=[]){this.queries=t;}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n);}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t);}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let i=n!==null?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,n!==null?n.push(o):n=[o]);}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n);}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t);}},sw=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=false;_declarationNodeIndex;_appliesToNextNode=true;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n;}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n);}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=false);}template(t,n){this.elementStart(t,n);}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=true,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(t,n,M$(n,o)),this.matchTNodeWithReadOption(t,n,wh(n,t,o,false,false));}else r===Dn$1?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,wh(n,t,r,false,false));}matchTNodeWithReadOption(t,n,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===me$2||i===ln$1||i===Dn$1&&n.type&4)this.addMatch(n.index,-2);else {let o=wh(n,t,i,false,false);o!==null&&this.addMatch(n.index,o);}else this.addMatch(n.index,r);}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n);}};function M$(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function R$(e,t){return e.type&11?Nc(e,t):e.type&4?um(e,t):null}function A$(e,t,n,r){return n===-1?R$(t,e):n===-2?N$(e,t,r):ed(e,e[W$3],n,t)}function N$(e,t,n){if(n===me$2)return Nc(t,e);if(n===Dn$1)return um(t,e);if(n===ln$1)return cR(t,e)}function uR(e,t,n,r){let i=t[fi].queries[r];if(i.matches===null){let o=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else {let d=o[u];a.push(A$(t,d,s[c+1],n.metadata.read));}}i.matches=a;}return i.matches}function aw(e,t,n,r){let i=e.queries.getByIndex(n),o=i.matches;if(o!==null){let s=uR(e,t,i,n);for(let a=0;a<o.length;a+=2){let c=o[a];if(c>0)r.push(s[a/2]);else {let u=o[a+1],d=t[-c];for(let f=ht$2;f<d.length;f++){let p=d[f];p[Io]===p[Bt]&&aw(p[W$3],p,u,r);}if(d[As]!==null){let f=d[As];for(let p=0;p<f.length;p++){let g=f[p];aw(g[W$3],g,u,r);}}}}}return r}function aC(e,t){return e[fi].queries[t].queryList}
4function dR(e,t,n){let r=new $s((n&4)===4);return lx(e,t,r,r.destroy),(t[fi]??=new iw).queries.push(new rw(r))-1}function fR(e,t,n){let r=Ve$1();return r.firstCreatePass&&(hR(r,new jh(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=true)),dR(r,z$3(),t)}function pR(e,t,n,r){let i=Ve$1();if(i.firstCreatePass){let o=st$1();hR(i,new jh(t,n,r),o.index),O$(i,e),(n&2)===2&&(i.staticContentQueries=true);}return dR(i,z$3(),n)}function k$(e){return e.split(",").map(t=>t.trim())}function hR(e,t,n){e.queries===null&&(e.queries=new ow),e.queries.track(new sw(t,n));}function O$(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t);}function cC(e,t){return e.queries.getByIndex(t)}function mR(e,t){let n=e[W$3],r=cC(n,t);return r.crossesNgTemplate?aw(n,e,t,[]):uR(n,e,r,t)}function lC(e,t,n){let r,i=Eu(()=>{r._dirtyCounter();let o=P$(r,e);if(t&&o===void 0)throw new P$4(-951,false);return o});return r=i[St],r._dirtyCounter=Q$6(0),r._flatValue=void 0,i}function uC(e){return lC(true,false)}function dC(e){return lC(true,true)}function gR(e){return lC(false,false)}function yR(e,t){let n=e[St];n._lView=z$3(),n._queryIndex=t,n._queryList=aC(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1));}function P$(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[pe$2]&4)return t?void 0:on$1;let i=aC(n,r),o=mR(n,r);return i.reset(o,$0),t?i.first:i._changesDetected||e._flatValue===void 0?e._flatValue=i.toArray():e._flatValue}function Gi(e){return !!e&&typeof e.then=="function"}function dm(e){return !!e&&typeof e.subscribe=="function"}var vi=class{},fm=class{};
4var Hh=class extends vi{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,i=true){super(),this.ngModuleType=t,this._parent=n;let o=WT(t);this._bootstrapComponents=vH(o.bootstrap),this._r3Injector=mD(t,n,[{provide:vi,useValue:this},...r],ku(t),new Set(["environment"])),i&&this.resolveInjectorInitializers();}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType);}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null;}onDestroy(t){this.destroyCbs.push(t);}},$h=class extends fm{moduleType;constructor(t){super(),this.moduleType=t;}create(t){return new Hh(this.moduleType,t,[])}};var ad=class extends vi{injector;instance=null;constructor(t){super();let n=new Es([...t.providers,{provide:vi,useValue:this}],t.parent||mc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers();}destroy(){this.injector.destroy();}onDestroy(t){this.injector.onDestroy(t);}};function ta(e,t,n=null){return new ad({providers:e,parent:t,debugName:n,runEnvironmentInitializers:true}).injector}var L$=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n;}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Qp(false,n.type),i=r.length>0?ta([r],this._injector,""):null;this.cachedInjectors.set(n,i);}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy();}finally{this.cachedInjectors.clear();}}static \u0275prov=K$5({token:e,providedIn:"environment",factory:()=>new e(Z$1($e$1))})}return e})();function It(e){return ld(()=>{let t=vR(e),n=s$6(r$2({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Dw.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(L$).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??false,data:e.data||{},encapsulation:e.encapsulation||zr$1.Emulated,styles:e.styles||on$1,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Gt("NgStandalone"),_R(n);let r=e.dependencies;return n.directiveDefs=a0(r,F$),n.pipeDefs=a0(r,jb),n.id=V$(n),n})}function F$(e){return di(e)||Pu(e)}function Je$3(e){return ld(()=>({type:e.type,bootstrap:e.bootstrap||on$1,declarations:e.declarations||on$1,imports:e.imports||on$1,exports:e.exports||on$1,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function B$(e,t){if(e==null)return Co;let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],o,s,a,c;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,c=i[3]||null):(o=i,s=i,a=am.None,c=null),n[o]=[r,a,c],t[o]=s;}return n}function U$(e){if(e==null)return Co;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function q$7(e){return ld(()=>{let t=vR(e);return _R(t),t})}function En$1(e){return {type:e.type,name:e.name,factory:null,pure:e.pure!==false,standalone:e.standalone??true,onDestroy:e.type.prototype.ngOnDestroy||null}}function vR(e){let t={};return {type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||Co,exportAs:e.exportAs||null,standalone:e.standalone??true,signals:e.signals===true,selectors:e.selectors||on$1,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:B$(e.inputs,t),outputs:U$(e.outputs),debugInfo:null}}function _R(e){e.features?.forEach(t=>t(e));}function a0(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let i of n){let o=t(i);o!==null&&r.push(o);}return r}:null}function V$(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];
4for(let o of r.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}var fC=new R$3("");function pm(e){return Ui([{provide:fC,multi:true,useValue:e}])}var pC=(()=>{class e{resolve;reject;initialized=false;done=false;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r;});appInits=h$5(fC,{optional:true})??[];injector=h$5(le$4);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let o=Wt(this.injector,i);if(Gi(o))n.push(o);else if(dm(o)){let s=new Promise((a,c)=>{o.subscribe({complete:a,error:c});});n.push(s);}}let r=()=>{this.done=true,this.resolve();};Promise.all(n).then(()=>{r();}).catch(i=>{this.reject(i);}),n.length===0&&r(),this.initialized=true;}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function md(e){return t=>{t.controlDef={create:(n,r)=>{n?.\u0275ngControlCreate(r);},update:(n,r)=>{n?.\u0275ngControlUpdate?.(r);},passThroughInput:e};}}function hC(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=j$,n.hostDirectives=r?e.map(cw):[e]):r?n.hostDirectives.unshift(...e.map(cw)):n.hostDirectives.unshift(e);};return t.ngInherit=true,t}function j$(e){let t=[],n=false,r=null,i=null;for(let o=0;o<e.length;o++){let s=e[o];if(s.hostDirectives!==null){let a=t.length;r??=new Map,i??=new Map,bR(s,t,r,e),i.set(s,[a,t.length-1]);}o===0&&Hr$1(s)&&(n=true,t.push(s));}for(let o=n?1:0;o<e.length;o++)t.push(e[o]);return r!==null&&r.forEach((o,s)=>{H$(s.declaredInputs,o.inputs);}),[t,r,i]}function bR(e,t,n,r){if(e.hostDirectives!==null)for(let i of e.hostDirectives)if(typeof i=="function"){let o=i();for(let s of o)c0(cw(s),t,n,r);}else c0(i,t,n,r);}function c0(e,t,n,r){let i=Pu(e.directive);if(bR(i,t,n,r),n.has(i)){let o=n.get(i);l0(o,e.inputs,"input"),l0(o,e.outputs,"output");}else r.includes(i)||(n.set(i,e),t.push(i));}function l0(e,t,n){let r=n==="input"?e.inputs:e.outputs;Object.keys(t).forEach(i=>{let o=t[i];(!r.hasOwnProperty(i)||r[i]===o)&&(r[i]=o);});}function cw(e){return typeof e=="function"?{directive:qt$1(e),inputs:{},outputs:{}}:{directive:qt$1(e.directive),inputs:u0(e.inputs),outputs:u0(e.outputs)}}function u0(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function H$(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],i=e[n];e[r]=i;}}function $$(e){return Object.getPrototypeOf(e.prototype).constructor}function Ee$2(e){let t=$$(e.type),n=true,r=[e];for(;t;){let i;if(Hr$1(e))i=t.\u0275cmp||t.\u0275dir;else {if(t.\u0275cmp)throw new P$4(903,false);i=t.\u0275dir;}if(i){if(n){r.push(i);let s=e;s.inputs=ID(e.inputs),s.declaredInputs=ID(e.declaredInputs),s.outputs=ID(e.outputs);let a=i.hostBindings;a&&G$(e,a);let c=i.viewQuery,u=i.contentQueries;if(c&&W$(e,c),u&&Y$(e,u),z$(e,i),qT(e.outputs,i.outputs),Hr$1(i)&&i.data.animation){let d=e.data;d.animation=(d.animation||[]).concat(i.data.animation);}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(e),a===Ee$2&&(n=false);}}t=Object.getPrototypeOf(t);}q$(r);}function z$(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n]);}}function q$(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Ec(i.hostAttrs,n=Ec(n,i.hostAttrs));}}function ID(e){return e===Co?{}:e===on$1?[]:e}function W$(e,t){let n=e.viewQuery;n?e.viewQuery=(r,i)=>{t(r,i),n(r,i);}:e.viewQuery=t;}function Y$(e,t){let n=e.contentQueries;n?e.contentQueries=(r,i,o)=>{t(r,i,o),n(r,i,o);}:e.contentQueries=t;}function G$(e,t){let n=e.hostBindings;n?e.hostBindings=(r,i)=>{t(r,i),n(r,i);}:e.hostBindings=t;}function DR(e,t,n,r,i,o,s,a){if(n.firstCreatePass){e.mergedAttrs=Ec(e.mergedAttrs,e.attrs);
4let d=e.tView=Yw(2,e,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),d.queries=n.queries.embeddedTView(e));}a&&(e.flags|=a),Ps(e,false);let c=J$(n,t);dh()&&qw(n,t,c,e),Tc(c,t);let u=GM(c,t,c,e);t[r+Pe$3]=u,Zw(t,u);}function Z$(e,t,n,r,i,o,s,a,c,u,d){let f=n+Pe$3,p;return t.firstCreatePass?(p=Xs(t,f,4,s||null,a||null),iR(t,e,p,Gn$1(t.consts,u),Jw),A0(t,p)):p=t.data[f],DR(p,e,t,n,r,i,o,c),vc(p)&&cm(t,e,p),u!=null&&pd(e,p,d),p}function Gs(e,t,n,r,i,o,s,a,c,u,d){let f=n+Pe$3,p;if(t.firstCreatePass){if(p=Xs(t,f,4,s||null,a||null),u!=null){let g=Gn$1(t.consts,u);p.localNames=[];for(let v=0;v<g.length;v+=2)p.localNames.push(g[v],-1);}}else p=t.data[f];return DR(p,e,t,n,r,i,o,c),u!=null&&pd(e,p,d),p}function Pc(e,t,n,r,i,o,s,a){let c=z$3(),u=Ve$1(),d=Gn$1(u.consts,o);return Z$(c,u,e,t,n,r,i,d,void 0,s,a),Pc}function wR(e,t,n,r,i,o,s,a){let c=z$3(),u=Ve$1(),d=Gn$1(u.consts,o);return Gs(c,u,e,t,n,r,i,d,void 0,s,a),wR}var J$=Q$;function Q$(e,t,n,r){return qu(true),t[Ue$1].createComment("")}var Fn$1=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(Fn$1||{}),d0=0,X$=1,Mt=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(Mt||{}),mC=(function(e){return e[e.Initial=-1]="Initial",e})(mC||{}),K$=0,gd=1;var ez=4,tz=5,nz=6,rz=7,ED=8,iz=9,gC=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(gC||{});function CR(e,t,n){let r=IR(e);t[r]===null&&(t[r]=[]),t[r].push(n);}function Sh(e,t){let n=IR(e),r=t[n];if(r!==null){for(let i of r)i();t[n]=null;}}function SR(e){Sh(1,e),Sh(0,e),Sh(2,e);}function IR(e){let t=ez;return e===1?t=tz:e===2&&(t=iz),t}function hm(e){return e+1}function Lc(e,t){e[W$3];let r=hm(t.index);return e[r]}function oz(e,t,n){e[W$3];let i=hm(t);e[i]=n;}function Fc(e,t){let n=hm(t.index);return e.data[n]}function sz(e,t,n){let r=hm(t);e.data[r]=n;}function az(e,t,n){let r=t[W$3],i=Fc(r,n);switch(e){case Mt.Complete:return i.primaryTmplIndex;case Mt.Loading:return i.loadingTmplIndex;case Mt.Error:return i.errorTmplIndex;case Mt.Placeholder:return i.placeholderTmplIndex;default:return null}}function f0(e,t){return t===Mt.Placeholder?e.placeholderBlockConfig?.[d0]??null:t===Mt.Loading?e.loadingBlockConfig?.[d0]??null:null}function cz(e){return e.loadingBlockConfig?.[X$]??null}function p0(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function lz(e,t){let n=t.primaryTmplIndex+Pe$3;return bc(e,n)}var uz=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,i,o){if(!this.cachedInjectors.has(n)){let s=i.length>0?ta(i,r,o):null;this.cachedInjectors.set(n,s);}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy();}finally{this.cachedInjectors.clear();}}static \u0275prov=K$5({token:e,providedIn:"environment",factory:()=>new e})}return e})();var ER=new R$3("");function TD(e,t,n){return e.get(uz).getOrCreateInjector(t,e,n,"")}function dz(e,t,n){if(e instanceof Vs){let i=e.injector,o=e.parentInjector,s=TD(o,t,n);return new Vs(i,s)}let r=e.get($e$1);if(r!==e){let i=TD(r,t,n);return new Vs(e,i)}return TD(e,t,n)}function Ao(e,t,n,r=false){let i=n[Bt],o=i[W$3];if(hi(i))return;let s=Lc(i,t),a=s[gd],c=s[rz];if(!(c!==null&&e<c)&&h0(a,e)&&h0(s[K$]??-1,e)){let u=Fc(o,t),f=!r&&true&&(cz(u)!==null||f0(u,Mt.Loading)!==null||f0(u,Mt.Placeholder))?mz:pz;try{f(e,s,n,t,i);}catch(p){Kw(i,p);}}}function fz(e,t){let n=e[Eo]?.findIndex(i=>i.data[Iw]===t[gd])??-1;return {dehydratedView:n>-1?e[Eo][n]:null,dehydratedViewIx:n}}function pz(e,t,n,r,i){je$2(ke$2.DeferBlockStateStart);let o=az(e,i,r);if(o!==null){t[gd]=e;let s=i[W$3],a=o+Pe$3,c=bc(s,a),u=0;nC(n,u);let d;if(e===Mt.Complete){let v=Fc(s,r),C=v.providers;C&&C.length>0&&(d=dz(i[nt$1],v,C));}let{dehydratedView:f,dehydratedViewIx:p}=fz(n,t),g=kc(i,c,null,{injector:d,dehydratedView:f});if(Oc(n,g,u,Ws(c,f)),th(g),p>-1&&n[Eo]?.splice(p,1),(e===Mt.Complete||e===Mt.Error)&&Array.isArray(t[ED])){for(let v of t[ED])v();t[ED]=null;}}je$2(ke$2.DeferBlockStateEnd);}function h0(e,t){return e<t}function hz(e,t){let n=e[t.index];Ao(Mt.Placeholder,t,n);}function m0(e,t,n){e.loadingPromise.then(()=>{e.loadingState===Fn$1.COMPLETE?Ao(Mt.Complete,t,n):e.loadingState===Fn$1.FAILED&&Ao(Mt.Error,t,n);});}var mz=null;function TR(e,t){return t[nt$1].get(ER,null,{optional:true})?.behavior!==gC.Manual}function gz(e,t,n){return e}function yz(e,t){return Kp(Pe$3+t,e)}function vz(e,t,n,r,i,o,s,a){if(!TR(s,e))return;let c=e[nt$1],u=c.get(ce$4),d;function f(){if(hi(e)){d.destroy();return}let p=Lc(e,t),g=p[gd];if(g!==mC.Initial&&g!==Mt.Placeholder){d.destroy();return}let v=gz(e);if(!v||(d.destroy(),hi(v)))return;let C=yz(v,n),S=i(C,()=>{u.run(()=>{e!==v&&rh(v,S),o();});},c,a);e!==v&&Dc(v,S),CR(s,p,S);}d=CM({read:f},{injector:c});}var mm=(()=>{class e{log(n){console.log(n);}warn(n){console.warn(n);}static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var yC=new R$3("");var Bc=new R$3("");function xR(){gb(()=>{let e="";throw new P$4(600,e)});}var _z=10;var Tn$1=(()=>{class e{_runningTick=false;_destroyed=false;_destroyListeners=[];_views=[];internalErrorHandler=h$5(Zn);
4afterRenderManager=h$5(nm);zonelessEnabled=h$5(Zu);rootEffectScheduler=h$5(ph);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=false;afterTick=new G$3;get allViews(){return [...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h$5(Hi);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(T$3(n=>!n))}constructor(){h$5(Wr$1,{optional:true});}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r();}});}).finally(()=>{n.unsubscribe();})}_injector=h$5($e$1);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=le$4.NULL){return this._injector.get(ce$4).run(()=>{if(je$2(ke$2.BootstrapComponentStart),!this._injector.get(pC).done){let M="";throw new P$4(405,M)}let a=di(n),c=this._injector.get(vi),u=new Ys(a,c);this.componentTypes.push(n);let{hostElement:d,directives:f,bindings:p}=bz(r),g=d||u.selector,v=u.create(i,[],g,c.injector,f,p),C=v.location.nativeElement,S=v.injector.get(yC,null);return S?.registerApplication(C),v.onDestroy(()=>{this.detachView(v.hostView),Ku(this.components,v),S?.unregisterApplication(C);}),this._loadComponent(v),je$2(ke$2.BootstrapComponentEnd,v),v})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick();}_tick(){je$2(ke$2.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(tm.CHANGE_DETECTION,this.tickImpl):this.tickImpl();}tickImpl=()=>{if(this._runningTick)throw je$2(ke$2.ChangeDetectionEnd),new P$4(101,false);let n=ee$3(null);try{this._runningTick=!0,this.synchronize();}finally{this._runningTick=false,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ee$3(n),this.afterTick.next(),je$2(ke$2.ChangeDetectionEnd);}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(cn$1,null,{optional:true}));let n=0;for(;this.dirtyFlags!==0&&n++<_z;){je$2(ke$2.ChangeDetectionSyncStart);try{this.synchronizeOnce();}finally{je$2(ke$2.ChangeDetectionSyncEnd);}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=false;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews){if(!r&&!Hu(i))continue;let o=r&&!this.zonelessEnabled?0:1;zM(i,o),n=true;}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews();}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Hu(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8;}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this);}detachView(n){let r=n;Ku(this._views,r),r.detachFromAppRef();}_loadComponent(n){this.attachView(n.hostView);try{this.tick();}catch(i){this.internalErrorHandler(i);}this.components.push(n),this._injector.get(Bc,[]).forEach(i=>i(n));}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy());}finally{this._destroyed=true,this._views=[],this._destroyListeners=[];}}onDestroy(n){return this._destroyListeners.push(n),()=>Ku(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new P$4(406,false);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy();}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function bz(e){return e===void 0||typeof e=="string"||e instanceof Element?{hostElement:e}:e}function Ku(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}function MR(e,t,n){let r=t[nt$1],i=t[W$3];if(e.loadingState!==Fn$1.NOT_STARTED)return e.loadingPromise??Promise.resolve();let o=Lc(t,n),s=lz(i,e);e.loadingState=Fn$1.IN_PROGRESS,Sh(1,o);let a=e.dependencyResolverFn,c=r.get(Cc).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=false,p=[],g=[];for(let v=0;v<u.length;v++){let C=u[v];
4if(C.status==="fulfilled"){let S=C.value,M=di(S)||Pu(S);if(M)p.push(M);else {let L=jb(S);L&&g.push(L);}}else {d=true,C.reason instanceof Error?C.reason:new Error(String(C.reason));break}}if(d){if(e.loadingState=Fn$1.FAILED,e.errorTmplIndex===null){let C="",S=new P$4(-750,C);Kw(t,S);}}else {e.loadingState=Fn$1.COMPLETE;let v=s.tView;if(p.length>0){v.directiveRegistry=p0(v.directiveRegistry,p);let C=p.map(M=>M.type),S=Qp(false,...C);e.providers=S;}g.length>0&&(v.pipeRegistry=p0(v.pipeRegistry,g));}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c();})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Fn$1.COMPLETE,c();}),e.loadingPromise)}function Dz(e,t,n){let r=t[W$3],i=t[n.index];if(!TR(e,t))return;let o=Lc(t,n),s=Fc(r,n);switch(SR(o),s.loadingState){case Fn$1.NOT_STARTED:Ao(Mt.Loading,n,i),MR(s,t,n),s.loadingState===Fn$1.IN_PROGRESS&&m0(s,n,i);break;case Fn$1.IN_PROGRESS:Ao(Mt.Loading,n,i),m0(s,n,i);break;case Fn$1.COMPLETE:Ao(Mt.Complete,n,i);break;case Fn$1.FAILED:Ao(Mt.Error,n,i);break;}}function wz(e,t,n){return g0(t,n)}function Cz(e){return e!=null&&(e&1)===1}function g0(e,t){let n=e[nt$1],r=Fc(e[W$3],t),i=Tw(n),o=Cz(r.flags),a=Lc(e,t)[nz]!==null;return !(o&&a&&i)}function Sz(e,t,n,r,i,o,s,a,c,u){let d=z$3(),f=Ve$1(),p=e+Pe$3,g=Gs(d,f,e,null,0,0),v=d[nt$1],C=Tw(v);if(f.firstCreatePass){Gt("NgDefer");let A={primaryTmplIndex:t,loadingTmplIndex:null,placeholderTmplIndex:i??null,errorTmplIndex:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:Fn$1.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:0};sz(f,p,A);}let S=d[p];let M=null,L=null;if(S[Eo]?.length>0){let A=S[Eo][0].data;L=A[Sw]??null,M=A[Iw];}let $=[null,mC.Initial,null,null,null,null,L,M,null,null];oz(d,p,$);let Me=null;L!==null&&C&&(Me=v.get(K0),Me.add(L,{lView:d,tNode:g,lContainer:S}));let Ye=()=>{SR($),L!==null&&Me?.cleanup([L]);};CR(0,$,()=>rh(d,Ye)),Dc(d,Ye);}function Iz(e,t){let n=z$3(),r=st$1();wz(0,n,r)&&(hz(n,r),vz(n,r,e,t,Bj,()=>Dz(0,n,r),0));}function RR(e,t){let n=z$3(),r=ji();if(wn$1(n,r,t)){let i=Ve$1(),o=Ls();if(lm(o,i,n,e,t))pi(o)&&FM(n,o.index);else {let a=tn$1(o,n);BM(n[Ue$1],a,null,o.value,e,t,null);}}return RR}function Rt(e,t,n,r){let i=z$3(),o=ji();if(wn$1(i,o,t)){Ve$1();let a=Ls();v2(a,i,e,t,n,r);}return Rt}function Ih(e){if(Gt("NgAnimateEnter"),!Qs)return Ih;let t=z$3();if(Kh(t))return Ih;let n=st$1(),r=t[nt$1].get(ce$4);return em(Oh(t),n,()=>Ez(t,n,e,r)),rm(t[nt$1]),$w(t[nt$1],Oh(t)),Ih}function Ez(e,t,n,r){let i=tn$1(t,e),o=e[Ue$1],s=_M(n),a=[],c=false,u=f=>{if(nd(f)!==i)return;let p=f instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{o.listen(i,p,d);});},d=f=>{nd(f)===i&&(Vw(f,i)&&(c=true),Tz(f,i,o));};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(o.listen(i,"animationstart",u)),a.push(o.listen(i,"transitionstart",u));}),OH(i,s,a);for(let f of s)o.addClass(i,f);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(wM(i,Us,Qs),!Us.has(i))){for(let f of s)o.removeClass(i,f);Bw(i);}});});}}function Tz(e,t,n){let r=xc.get(t);if(!(nd(e)!==t||!r)&&Vw(e,t)){e.stopPropagation();for(let i of r.classList)n.removeClass(t,i);Bw(t);}}function Eh(e){if(Gt("NgAnimateEnter"),!Qs)return Eh;let t=z$3();if(Kh(t))return Eh;let n=st$1();return em(Oh(t),n,()=>xz(t,n,e)),rm(t[nt$1]),$w(t[nt$1],Oh(t)),Eh}function xz(e,t,n){let r=tn$1(t,e);n.call(e[pt$1],{target:r,animationComplete:PH});}function Th(e){if(Gt("NgAnimateLeave"),!Qs)return Th;let t=z$3();if(Kh(t))return Th;let r=st$1(),i=t[nt$1].get(ce$4);return em(zs(t),r,()=>Mz(t,r,e,i)),rm(t[nt$1]),Th}function Mz(e,t,n,r){let{promise:i,resolve:o}=Wu(),s=tn$1(t,e),a=e[Ue$1];yi.add(e[gr$1]),(zs(e).get(t.index).resolvers??=[]).push(o);let c=_M(n);return c&&c.length>0?Rz(s,t,e,c,a,r):o(),{promise:i,resolve:o}}function Rz(e,t,n,r,i,o){FH(e,i);let s=[],a=zs(n).get(t.index)?.resolvers,c,u=false,d=f=>{if(!(nd(f)!==e&&f.type!=="animation-fallback")&&(f.type==="animation-fallback"||Vw(f,e))){if(u=true,c&&clearTimeout(c),f.type!=="animation-fallback"&&f.stopPropagation(),Us.delete(e),JD(t,e),Array.isArray(t.projection))for(let g of r)i.removeClass(e,g);QD(a,s),XD(n,t);}};o.runOutsideAngular(()=>{s.push(i.listen(e,"animationend",d)),s.push(i.listen(e,"transitionend",d));}),Uw(t,e);for(let f of r)i.addClass(e,f);o.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(u)return;wM(e,Us,Qs);let f=Us.get(e);f?(c=setTimeout(()=>{d(new CustomEvent("animation-fallback"));},f.duration+50),s.push(()=>clearTimeout(c))):(JD(t,e),QD(a,s),XD(n,t));});});}function lw(e){if(Gt("NgAnimateLeave"),!Qs)return lw;let t=z$3(),n=st$1();yi.add(t[gr$1]);let r=t[nt$1].get(ce$4),i=t[nt$1].get(yM);return em(zs(t),n,()=>Az(t,n,e,r,i)),rm(t[nt$1]),lw}function Az(e,t,n,r,i){let{promise:o,resolve:s}=Wu(),a=tn$1(t,e),c=[],u=e[Ue$1],d=Kh(e);(zs(e).get(t.index).resolvers??=[]).push(s);let f=zs(e).get(t.index)?.resolvers;if(d)vh(e,t,a,f,c);else {let p=setTimeout(()=>vh(e,t,a,f,c),i),g={target:a,animationComplete:()=>{vh(e,t,a,f,c),clearTimeout(p);}}
4;Uw(t,a),r.runOutsideAngular(()=>{c.push(u.listen(a,"animationend",()=>{vh(e,t,a,f,c),clearTimeout(p);},{once:true}));}),n.call(e[pt$1],g);}return {promise:o,resolve:s}}function Nz(){return z$3()[an$1][pt$1]}var uw=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),i=Math.max(t,n),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s);}else this.attach(r,o);}move(t,n){this.attach(n,this.detach(t));}};function xD(e,t,n,r,i){return e===n&&Object.is(t,r)?1:Object.is(i(e,t),i(n,r))?-1:0}function kz(e,t,n,r){let i,o,s=0,a=e.length-1;if(Array.isArray(t)){ee$3(r);let u=t.length-1;for(ee$3(null);s<=a&&s<=u;){let d=e.at(s),f=t[s],p=xD(s,d,s,f,n);if(p!==0){p<0&&e.updateValue(s,f),s++;continue}let g=e.at(a),v=t[u],C=xD(a,g,u,v,n);if(C!==0){C<0&&e.updateValue(a,v),a--,u--;continue}let S=n(s,d),M=n(a,g),L=n(s,f);if(Object.is(L,M)){let $=n(u,v);Object.is($,S)?(e.swap(s,a),e.updateValue(a,v),u--,a--):e.move(a,s),e.updateValue(s,f),s++;continue}if(i??=new zh,o??=v0(e,s,a,n),dw(e,i,s,L))e.updateValue(s,f),s++,a++;else if(o.has(L))i.set(S,e.detach(s)),a--;else {let $=e.create(s,t[s]);e.attach(s,$),s++,a++;}}for(;s<=u;)y0(e,i,n,s,t[s]),s++;}else if(t!=null){ee$3(r);let u=t[Symbol.iterator]();ee$3(null);let d=u.next();for(;!d.done&&s<=a;){let f=e.at(s),p=d.value,g=xD(s,f,s,p,n);if(g!==0)g<0&&e.updateValue(s,p),s++,d=u.next();else {i??=new zh,o??=v0(e,s,a,n);let v=n(s,p);if(dw(e,i,s,v))e.updateValue(s,p),s++,a++,d=u.next();else if(!o.has(v))e.attach(s,e.create(s,p)),s++,a++,d=u.next();else {let C=n(s,f);i.set(C,e.detach(s)),a--;}}}for(;!d.done;)y0(e,i,n,e.length,d.value),d=u.next();}for(;s<=a;)e.destroy(e.detach(a--));i?.forEach(u=>{e.destroy(u);});}function dw(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),true):false}function y0(e,t,n,r,i){if(dw(e,t,r,n(r,i)))e.updateValue(r,i);else {let o=e.create(r,i);e.attach(r,o);}}function v0(e,t,n,r){let i=new Set;for(let o=t;o<=n;o++)i.add(r(o,e.at(o)));return i}var zh=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return false;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),true}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,n);}else this.kvMap.set(t,n);}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),t(r,n);}}};function _i(e,t,n,r,i,o,s,a){Gt("NgControlFlow");let c=z$3(),u=Ve$1(),d=Gn$1(u.consts,o);return Gs(c,u,e,t,n,r,i,d,256,s,a),vC}function vC(e,t,n,r,i,o,s,a){Gt("NgControlFlow");let c=z$3(),u=Ve$1(),d=Gn$1(u.consts,o);return Gs(c,u,e,t,n,r,i,d,512,s,a),vC}function bi(e,t){Gt("NgControlFlow");let n=z$3(),r=ji(),i=n[r]!==Qt?n[r]:-1,o=i!==-1?qh(n,Pe$3+i):void 0,s=0;if(wn$1(n,r,e)){let a=ee$3(null);try{if(o!==void 0&&nC(o,s),e!==-1){let c=Pe$3+e,u=qh(n,c),d=mw(n[W$3],c),f=QM(u,d,n),p=kc(n,d,t,{dehydratedView:f});Oc(u,p,s,Ws(d,f));}}finally{ee$3(a);}}else if(o!==void 0){let a=ZM(o,s);a!==void 0&&(a[pt$1]=t);}}var fw=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r;}get $count(){return this.lContainer.length-ht$2}};function Oz(e){return e}function yd(e,t){return t}var pw=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r;}};function vd(e,t,n,r,i,o,s,a,c,u,d,f,p){Gt("NgControlFlow");let g=z$3(),v=Ve$1(),C=c!==void 0,S=z$3(),M=a?s.bind(S[an$1][pt$1]):s,L=new pw(C,M);S[Pe$3+e]=L,Gs(g,v,e+1,t,n,r,i,Gn$1(v.consts,o),256),C&&Gs(g,v,e+2,c,u,d,f,Gn$1(v.consts,p),512);}var hw=class extends uw{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=false;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r;}get length(){return this.lContainer.length-ht$2}at(t){return this.getLView(t)[pt$1].$implicit}attach(t,n){let r=n[xs];this.needsIndexUpdate||=t!==this.length,Oc(this.lContainer,n,t,Ws(this.templateTNode,r)),Pz(this.lContainer,t);}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Lz(this.lContainer,t),Fz(this.lContainer,t)}create(t,n){let r=Lh(this.lContainer,this.templateTNode.tView.ssrId);return kc(this.hostLView,this.templateTNode,new fw(this.lContainer,n,t),{dehydratedView:r})}destroy(t){om(t[W$3],t);}updateValue(t,n){this.getLView(t)[pt$1].$implicit=n;}reset(){this.needsIndexUpdate=false;}
4updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[pt$1].$index=t;}getLView(t){return Bz(this.lContainer,t)}};function _d(e){let t=ee$3(null),n=wr$1();try{let r=z$3(),i=r[W$3],o=r[n],s=n+1,a=qh(r,s);if(o.liveCollection===void 0){let u=mw(i,s);o.liveCollection=new hw(a,r,u);}else o.liveCollection.reset();let c=o.liveCollection;if(kz(c,e,o.trackByFn,t),c.updateIndexes(),o.hasEmptyBlock){let u=ji(),d=c.length===0;if(wn$1(r,u,d)){let f=n+2,p=qh(r,f);if(d){let g=mw(i,f),v=QM(p,g,r),C=kc(r,g,void 0,{dehydratedView:v});Oc(p,C,0,Ws(g,v));}else i.firstUpdatePass&&j2(p),nC(p,0);}}}finally{ee$3(t);}}function qh(e,t){return e[t]}function Pz(e,t){if(e.length<=ht$2)return;let n=ht$2+t,r=e[n],i=r?r[yr$1]:void 0;if(r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0){let o=r[nt$1];qH(o,i),yi.delete(r[gr$1]),i.detachedLeaveAnimationFns=void 0;}}function Lz(e,t){if(e.length<=ht$2)return;let n=ht$2+t,r=e[n],i=r?r[yr$1]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[]);}function Fz(e,t){return od(e,t)}function Bz(e,t){return ZM(e,t)}function mw(e,t){return bc(e,t)}function xn$1(e,t,n){let r=z$3(),i=ji();if(wn$1(r,i,t)){Ve$1();let s=Ls();PM(s,r,e,t,r[Ue$1],n);}return xn$1}function gw(e,t,n,r,i){lm(t,e,n,i?"class":"style",r);}function mt$1(e,t,n,r){let i=z$3(),o=i[W$3],s=e+Pe$3,a=o.firstCreatePass?oC(s,i,2,t,Jw,ih(),n,r):o.data[s];if(pi(a)){let c=i[jr$1].tracingService;if(c&&c.componentCreate){let u=o.data[a.directiveStart+a.componentOffset];return c.componentCreate(eR(u),()=>(_0(e,t,i,a,r),mt$1))}}return _0(e,t,i,a,r),mt$1}function _0(e,t,n,r,i){if(Qw(r,n,e,t,AR),vc(r)){let o=n[W$3];cm(o,n,r),xw(o,r,n);}i!=null&&pd(n,r);}function bt$2(){let e=Ve$1(),t=st$1(),n=Xw(t);return e.firstCreatePass&&sC(e,n),iD(n)&&oD(),nD(),n.classesWithoutHost!=null&&bj(n)&&gw(e,n,z$3(),n.classesWithoutHost,true),n.stylesWithoutHost!=null&&Dj(n)&&gw(e,n,z$3(),n.stylesWithoutHost,false),bt$2}function Bn$1(e,t,n,r){return mt$1(e,t,n,r),bt$2(),Bn$1}function gm(e,t,n,r){let i=z$3(),o=i[W$3],s=e+Pe$3,a=o.firstCreatePass?f$(s,o,2,t,n,r):o.data[s];return Qw(a,i,e,t,AR),r!=null&&pd(i,a),gm}function ym(){let e=st$1(),t=Xw(e);return iD(t)&&oD(),nD(),ym}function _C(e,t,n,r){return gm(e,t,n,r),ym(),_C}var AR=(e,t,n,r,i)=>(qu(true),lM(t[Ue$1],r,hD()));function bC(e,t,n){let r=z$3(),i=r[W$3],o=e+Pe$3,s=i.firstCreatePass?oC(o,r,8,"ng-container",Jw,ih(),t,n):i.data[o];if(Qw(s,r,e,"ng-container",Uz),vc(s)){let a=r[W$3];cm(a,r,s),xw(a,s,r);}return n!=null&&pd(r,s),bC}function DC(){let e=Ve$1(),t=st$1(),n=Xw(t);return e.firstCreatePass&&sC(e,n),DC}
4function vm(e,t,n){return bC(e,t,n),DC(),vm}var Uz=(e,t,n,r,i)=>(qu(true),fH(t[Ue$1],""));function Uc(){return z$3()}function Vc(e,t,n){let r=z$3(),i=ji();if(wn$1(r,i,t)){Ve$1();let s=Ls();LM(s,r,e,t,r[Ue$1],n);}return Vc}var Ju=void 0;function Vz(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var jz=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ju,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ju,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Ju,Ju,Ju],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Vz],MD=Object.create(null);function un$1(e){let t=Hz(e),n=b0(t);if(n)return n;let r=t.split("-")[0];if(n=b0(r),n)return n;if(r==="en")return jz;throw new P$4(701,false)}function wC(e){return un$1(e)[Dt.PluralCase]}function b0(e){if(!(e in MD)){let t=hr.ng&&hr.ng.common&&hr.ng.common.locales&&hr.ng.common.locales[e];return t!==void 0&&(MD[e]=t),t}return MD[e]}var Dt={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,Currencies:18,PluralCase:20,ExtraData:21};function Hz(e){return e.toLowerCase().replace(/_/g,"-")}var bd="en-US",$z="USD";function NR(e){typeof e=="string"&&(e.toLowerCase().replace(/_/g,"-"));}function gt$1(e,t,n){let r=z$3(),i=Ve$1(),o=st$1();return OR(i,r,r[Ue$1],o,e,t,n),gt$1}function kR(e,t,n){let r=z$3(),i=Ve$1(),o=st$1();return (o.type&3||n)&&iC(o,i,r,n,r[Ue$1],e,t,js(o,r,t)),kR}function OR(e,t,n,r,i,o,s){let a=true,c=null;if((r.type&3||s)&&(c??=js(r,t,o),iC(r,e,t,s,n,i,o,c)&&(a=false)),a){let u=r.outputs?.[i],d=r.hostDirectiveOutputs?.[i];if(d&&d.length)for(let f=0;f<d.length;f+=2){let p=d[f],g=d[f+1];c??=js(r,t,o),Fh(r,t,p,g,i,c);}if(u&&u.length)for(let f of u)c??=js(r,t,o),Fh(r,t,f,i,i,c);}}function Mn$1(e=1){return Dx(e)}function qz(e,t){let n=null,r=SH(e);for(let i=0;i<t.length;i++){let o=t[i];if(o==="*"){n=i;continue}if(r===null?mM(e,o,true):TH(r,o))return i}return n}function jc(e){let t=z$3()[an$1][sn$1];if(!t.projection){let n=e?e.length:1,r=t.projection=XT(n,null),i=r.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let s=e?qz(o,e):0;s!==null&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o);}o=o.next;}}}function Hc(e,t=0,n,r,i,o){let s=z$3(),a=Ve$1(),c=r?e+1:null;c!==null&&Gs(s,a,c,r,i,o,null,n);let u=Xs(a,Pe$3+e,16,null,n||null);u.projection===null&&(u.projection=t),cD();let f=!s[xs]||rD();s[an$1][sn$1].projection[u.projection]===null&&c!==null?Wz(s,a,c):f&&!Gh(u)&&o2(a,s,u);}function Wz(e,t,n){let r=Pe$3+n,i=t.data[r],o=e[r],s=Lh(o,i.tView.ssrId),a=kc(e,i,void 0,{dehydratedView:s});Oc(o,a,0,Ws(i,s));}function _m(e,t,n,r){return pR(e,t,n,r),_m}function na(e,t,n){return fR(e,t,n),na}function Zi(e){let t=z$3(),n=Ve$1(),r=sh();zu(r+1);let i=cC(n,r);if(e.dirty&&ax(t)===((i.metadata.flags&2)===2)){if(i.matches===null)e.reset([]);else {let o=mR(t,r);e.reset(o,$0),e.notifyOnChanges();}return true}return false}function Ji(){return aC(z$3(),sh())}function PR(e,t,n,r,i){return yR(t,pR(e,n,r,i)),PR}function LR(e,t,n,r){return yR(e,fR(t,n,r)),LR}function Yz(e=1){zu(sh()+e);}function CC(e){let t=lD();return xo(t,Pe$3+e)}function _h(e,t){return e<<17|t<<2}function Zs(e){return e>>17&32767}function Gz(e){return (e&2)==2}function Zz(e,t){return e&131071|t<<17}function yw(e){return e|2}function Mc(e){return (e&131068)>>2}function RD(e,t){return e&-131069|t<<2}function Jz(e){return (e&1)===1}function vw(e){return e|1}function Qz(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=Zs(s),c=Mc(s);e[r]=n;let u=false,d;if(Array.isArray(n)){let f=n;d=f[1],(d===null||pc(f,d)>0)&&(u=true);}else d=n;if(i)if(c!==0){let p=Zs(e[a+1]);e[r+1]=_h(p,a),p!==0&&(e[p+1]=RD(e[p+1],r)),e[a+1]=Zz(e[a+1],r);}else e[r+1]=_h(a,0),a!==0&&(e[a+1]=RD(e[a+1],r)),a=r;else e[r+1]=_h(c,0),a===0?a=r:e[c+1]=RD(e[c+1],r),c=r;u&&(e[r+1]=yw(e[r+1])),D0(e,d,r,true),D0(e,d,r,false),Xz(t,d,e,r,o),s=_h(a,c),o?t.classBindings=s:t.styleBindings=s;}function Xz(e,t,n,r,i){let o=i?e.residualClasses:e.residualStyles;o!=null&&typeof t=="string"&&pc(o,t)>=0&&(n[r+1]=vw(n[r+1]));}function D0(e,t,n,r){let i=e[n+1],o=t===null,s=r?Zs(i):Mc(i),a=false;for(;s!==0&&(a===false||o);){let c=e[s],u=e[s+1];Kz(c,t)&&(a=true,e[s+1]=r?vw(u):yw(u)),s=r?Zs(u):Mc(u);}
vendor: 4,432 bytes, line 4
4a&&(e[n+1]=r?yw(i):vw(i));}function Kz(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?true:Array.isArray(e)&&typeof t=="string"?pc(e,t)>=0:false}var Yt$1={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function FR(e){return e.substring(Yt$1.key,Yt$1.keyEnd)}function eq(e){return e.substring(Yt$1.value,Yt$1.valueEnd)}function tq(e){return VR(e),BR(e,Rc(e,0,Yt$1.textEnd))}function BR(e,t){let n=Yt$1.textEnd;return n===t?-1:(t=Yt$1.keyEnd=rq(e,Yt$1.key=t,n),Rc(e,t,n))}function nq(e){return VR(e),UR(e,Rc(e,0,Yt$1.textEnd))}function UR(e,t){let n=Yt$1.textEnd,r=Yt$1.key=Rc(e,t,n);return n===r?-1:(r=Yt$1.keyEnd=iq(e,r,n),r=w0(e,r,n),r=Yt$1.value=Rc(e,r,n),r=Yt$1.valueEnd=oq(e,r,n),w0(e,r,n))}function VR(e){Yt$1.key=0,Yt$1.keyEnd=0,Yt$1.value=0,Yt$1.valueEnd=0,Yt$1.textEnd=e.length;}function Rc(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function rq(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iq(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function w0(e,t,n,r){return t=Rc(e,t,n),t<n&&t++,t}function oq(e,t,n){let r=-1,i=-1,o=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=C0(e,c,s,n):t===s-4&&o===85&&i===82&&r===76&&c===40?a=s=C0(e,41,s,n):c>32&&(a=s),o=i,i=r,r=c&-33;}return a}function C0(e,t,n,r){let i=-1,o=n;for(;o<r;){let s=e.charCodeAt(o++);if(s==t&&i!==92)return o;s==92&&i===92?i=0:i=s;}throw new Error}function Dd(e,t,n){return jR(e,t,n,false),Dd}function wt(e,t){return jR(e,t,null,true),wt}function sq(e){HR(qR,aq,e,false);}function aq(e,t){for(let n=nq(t);n>=0;n=UR(t,n))qR(e,FR(t),eq(t));}function wd(e){HR(hq,cq,e,true);}function cq(e,t){for(let n=tq(t);n>=0;n=BR(t,n))Fu(e,FR(t),true);}function jR(e,t,n,r){let i=z$3(),o=Ve$1(),s=$u(2);if(o.firstUpdatePass&&zR(o,e,s,r),t!==Qt&&wn$1(i,s,t)){let a=o.data[wr$1()];WR(o,a,i,i[Ue$1],e,i[s+1]=gq(t,n),r,s);}}function HR(e,t,n,r){let i=Ve$1(),o=$u(2);i.firstUpdatePass&&zR(i,null,o,r);let s=z$3();if(n!==Qt&&wn$1(s,o,n)){let a=i.data[wr$1()];if(YR(a,r)&&!$R(i,o)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=qp(c,n||"")),gw(i,a,s,n,r);}else mq(i,a,s,s[Ue$1],s[o+1],s[o+1]=pq(e,t,n),r,o);}}function $R(e,t){return t>=e.expandoStartIndex}function zR(e,t,n,r){let i=e.data;if(i[n+1]===null){let o=i[wr$1()],s=$R(e,n);YR(o,r)&&t===null&&!s&&(t=false),t=lq(i,o,t,r),Qz(i,o,t,n,s,r);}}function lq(e,t,n,r){let i=yx(e),o=r?t.residualClasses:t.residualStyles;if(i===null)(r?t.classBindings:t.styleBindings)===0&&(n=AD(null,e,t,n,r),n=cd(n,t.attrs,r),o=null);else {let s=t.directiveStylingLast;if(s===-1||e[s]!==i)if(n=AD(i,e,t,n,r),o===null){let c=uq(e,t,r);c!==void 0&&Array.isArray(c)&&(c=AD(null,e,t,c[1],r),c=cd(c,t.attrs,r),dq(e,t,r,c));}else o=fq(e,t,r);}return o!==void 0&&(r?t.residualClasses=o:t.residualStyles=o),n}function uq(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Mc(r)!==0)return e[Zs(r)]}function dq(e,t,n,r){let i=n?t.classBindings:t.styleBindings;e[Zs(i)]=r;}function fq(e,t,n){let r,i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++){let s=e[o].hostAttrs;r=cd(r,s,n);}return cd(r,t.attrs,n)}function AD(e,t,n,r,i){let o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(o=t[a],r=cd(r,o.hostAttrs,i),o!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function cd(e,t,n){let r=n?1:2,i=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?i=s:i===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Fu(e,s,n?true:t[++o]));}return e===void 0?null:e}function pq(e,t,n){if(n==null||n==="")return on$1;let r=[],i=Cn$1(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],true);else if(i instanceof Set)for(let o of i)e(r,o,true);else if(typeof i=="object")for(let o in i)Object.hasOwn(i,o)&&e(r,o,i[o]);else typeof i=="string"&&t(r,i);return r}function qR(e,t,n){Fu(e,t,Cn$1(n));}function hq(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Fu(e,r,n);}function mq(e,t,n,r,i,o,s,a){i===Qt&&(i=on$1);let c=0,u=0,d=0<i.length?i[0]:null,f=0<o.length?o[0]:null;for(;d!==null||f!==null;){let p=c<i.length?i[c+1]:void 0,g=u<o.length?o[u+1]:void 0,v=null,C;d===f?(c+=2,u+=2,p!==g&&(v=f,C=g)):f===null||d!==null&&d<f?(c+=2,v=d):(u+=2,v=f,C=g),v!==null&&WR(e,t,n,r,v,C,s,a),d=c<i.length?i[c]:null,f=u<o.length?o[u]:null;}}function WR(e,t,n,r,i,o,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],d=Jz(u)?S0(c,t,n,i,Mc(u),s):void 0;
4if(!Wh(d)){Wh(o)||Gz(u)&&(o=S0(c,null,n,i,a,s));let f=Kp(wr$1(),n);a2(r,s,f,i,o);}}function S0(e,t,n,r,i,o){let s=t===null,a;for(;i>0;){let c=e[i],u=Array.isArray(c),d=u?c[1]:c,f=d===null,p=n[i+1];p===Qt&&(p=f?on$1:void 0);let g=f?Jp(p,r):d===r?p:void 0;if(u&&!Wh(g)&&(g=Jp(c,r)),Wh(g)&&(a=g,s))return a;let v=e[i+1];i=s?Zs(v):Mc(v);}if(t!==null){let c=o?t.residualClasses:t.residualStyles;c!=null&&(a=Jp(c,r));}return a}function Wh(e){return e!==void 0}function gq(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ku(Cn$1(e)))),e}function YR(e,t){return (e.flags&(t?8:16))!==0}function $c(e,t=""){let n=z$3(),r=Ve$1(),i=e+Pe$3,o=r.firstCreatePass?Xs(r,i,1,t,null):r.data[i],s=yq(r,n,o,t);n[i]=s,dh()&&qw(r,n,s,o),Ps(o,false);}var yq=(e,t,n,r)=>(qu(true),uH(t[Ue$1],r));function GR(e,t,n,r=""){return wn$1(e,ji(),n)?t+Ur$1(n)+r:Qt}function vq(e,t,n,r,i,o=""){let s=dD(),a=sd(e,s,n,i);return $u(2),a?t+Ur$1(n)+r+Ur$1(i)+o:Qt}function _q(e,t,n,r,i,o,s,a=""){let c=dD(),u=nR(e,c,n,i,s);return $u(3),u?t+Ur$1(n)+r+Ur$1(i)+o+Ur$1(s)+a:Qt}function bm(e){return SC("",e),bm}function SC(e,t,n){let r=z$3(),i=GR(r,e,t,n);return i!==Qt&&IC(r,wr$1(),i),SC}function ZR(e,t,n,r,i){let o=z$3(),s=vq(o,e,t,n,r,i);return s!==Qt&&IC(o,wr$1(),s),ZR}function JR(e,t,n,r,i,o,s){let a=z$3(),c=_q(a,e,t,n,r,i,o,s);return c!==Qt&&IC(a,wr$1(),c),JR}function IC(e,t,n){let r=Kp(t,e);dH(e[Ue$1],r,n);}function QR(e,t,n){hh(t)&&(t=t());let r=z$3(),i=ji();if(wn$1(r,i,t)){Ve$1();let s=Ls();PM(s,r,e,t,r[Ue$1],n);}return QR}function bq(e,t){let n=hh(e);return n&&e.set(t),n}function XR(e,t){let n=z$3(),r=Ve$1(),i=st$1();return OR(r,n,n[Ue$1],i,e,t),XR}var KR={};function eA(e){Gt("NgLet");let t=Ve$1(),n=z$3(),r=e+Pe$3,i=Xs(t,r,128,null,null);return Ps(i,false),ju(t,n,r,KR),eA}function Dq(e){let t=Ve$1(),n=z$3(),r=wr$1();return ju(t,n,r,e),e}function wq(e){let t=lD(),n=xo(t,Pe$3+e);if(n===KR)throw new P$4(314,false);return n}function Cq(e,t,n=""){return GR(z$3(),e,t,n)}function Sq(e,t,n){let r=Dr()+e,i=z$3();return i[r]===Qt?Ks(i,r,t(n,i)):tR(i,r)}function I0(e,t,n){let r=Ve$1();r.firstCreatePass&&tA(t,r.data,r.blueprint,Hr$1(e),n);}function tA(e,t,n,r,i){if(e=qt$1(e),Array.isArray(e))for(let o=0;o<e.length;o++)tA(e[o],t,n,r,i);else {let o=Ve$1(),s=z$3(),a=st$1(),c=Is(e)?e:qt$1(e.provide),u=Yb(e),d=a.providerIndexes&1048575,f=a.directiveStart,p=a.providerIndexes>>20;if(Is(e)||!e.multi){let g=new Hs(u,i,V$4,null),v=kD(c,t,d+p,f);v===-1?(LD(Nh(a,s),o,c),ND(o,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(g),s.push(g)):(n[v]=g,s[v]=g);}else {let g=kD(c,t,d+p,f),v=kD(c,t,d,d+p),C=g>=0&&n[g],S=v>=0&&n[v];if(!C){LD(Nh(a,s),o,c);let M=Tq(Iq,n.length,i,r,u);S&&(n[v].providerFactory=M),ND(o,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,n.push(M),s.push(M);}else {let M=nA(n[g],u,r);ND(o,e,g>-1?g:v,M);}r&&S&&n[v].componentProviders++;}}}function ND(e,t,n,r){let i=Is(t),o=rx(t);if(i||o){let c=(o?qt$1(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let d=u.indexOf(n);d===-1?u.push(n,[r,c]):u[d+1].push(r,c);}else u.push(n,c);}}}function nA(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function kD(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return -1}function Iq(e,t,n,r,i){return _w(this.multi,[])}function _w(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r());}return t}function Tq(e,t,n,r,i,o){let s=new Hs(e,n,V$4,null);return s.multi=[],s.index=t,s.componentProviders=0,nA(s,i,r&&!n),s}function At(e,t){return n=>{n.providersResolver=(r,i)=>I0(r,i?i(e):e,false);}}function xq(e,t){let n=Dr()+e,r=z$3();return r[n]===Qt?Ks(r,n,t()):tR(r,n)}function Mq(e,t,n){return rA(z$3(),Dr(),e,t,n)}function Rq(e,t,n,r){return iA(z$3(),Dr(),e,t,n,r)}function Aq(e,t,n,r,i){return oA(z$3(),Dr(),e,t,n,r,i)}function Nq(e,t,n,r,i,o,s){return sA(z$3(),Dr(),e,t,n,r,i,o)}function Cd(e,t){let n=e[t];return n===Qt?void 0:n}function rA(e,t,n,r,i,o){let s=t+n;return wn$1(e,s,i)?Ks(e,s+1,o?r.call(o,i):r(i)):Cd(e,s+1)}function iA(e,t,n,r,i,o,s){let a=t+n;return sd(e,a,i,o)?Ks(e,a+2,s?r.call(s,i,o):r(i,o)):Cd(e,a+2)}function oA(e,t,n,r,i,o,s,a){let c=t+n;return nR(e,c,i,o,s)?Ks(e,c+3,a?r.call(a,i,o,s):r(i,o,s)):Cd(e,c+3)}function sA(e,t,n,r,i,o,s,a,c){let u=t+n;return W2(e,u,i,o,s,a)?Ks(e,u+4,c?r.call(c,i,o,s,a):r(i,o,s,a)):Cd(e,u+4)}function kq(e,t,n,r,i,o){let s=t+n,a=false;for(let c=0;c<i.length;c++)wn$1(e,s++,i[c])&&(a=true);return a?Ks(e,s,r.apply(o,i)):Cd(e,s)}function Oq(e,t){let n=Ve$1(),r,i=e+Pe$3;n.firstCreatePass?(r=Pq(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let o=r.factory||(r.factory=Do(r.type)),a=bn$1(V$4);try{let c=Ah(!1),u=o();return Ah(c),ju(n,z$3(),i,u),u}finally{bn$1(a);}}function Pq(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Lq(e,t,n){let r=e+Pe$3,i=z$3(),o=xo(i,r);return Sd(i,r)?rA(i,Dr(),t,o.transform,n,o):o.transform(n)}function Fq(e,t,n,r){let i=e+Pe$3,o=z$3(),s=xo(o,i);return Sd(o,i)?iA(o,Dr(),t,s.transform,n,r,s):s.transform(n,r)}function Bq(e,t,n,r,i){let o=e+Pe$3,s=z$3(),a=xo(s,o);return Sd(s,o)?oA(s,Dr(),t,a.transform,n,r,i,a):a.transform(n,r,i)}function Uq(e,t,n,r,i,o){let s=e+Pe$3,a=z$3(),c=xo(a,s);return Sd(a,s)?sA(a,Dr(),t,c.transform,n,r,i,o,c):c.transform(n,r,i,o)}function Vq(e,t,n){let r=e+Pe$3,i=z$3(),o=xo(i,r);return Sd(i,r)?kq(i,Dr(),t,o.transform,n,o):o.transform.apply(o,n)}function Sd(e,t){return e[W$3].data[t].pure}function jq(e,t){return um(e,t)}var aA=(()=>{class e{applicationErrorHandler=h$5(Zn);appRef=h$5(Tn$1);taskService=h$5(Hi);ngZone=h$5(ce$4);zonelessEnabled=h$5(Zu);tracing=h$5(Wr$1,{optional:true});
4zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:true}}];subscriptions=new Fe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Au):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h$5(_D,{optional:true})??false);cancelScheduledCallback=null;useMicrotaskScheduler=false;runningTick=false;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n);})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup();}));}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=true,queueMicrotask(()=>{this.useMicrotaskScheduler=false,this.taskService.remove(n);});});}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:{this.appRef.dirtyFlags|=2;break}case 3:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8;}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Ix:gD;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()));}shouldScheduleTick(){return !(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Au+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick();},void 0,this.schedulerTickApplyArgs);}catch(r){this.applicationErrorHandler(r);}finally{this.taskService.remove(n),this.cleanup();}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup();}cleanup(){if(this.runningTick=false,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function Hq(){return Gt("NgZoneless"),Ui([...EC(),[]])}function EC(){return [{provide:ui,useExisting:aA},{provide:ce$4,useClass:Nu},{provide:Zu,useValue:true}]}var TC=(()=>{class e{compileModuleSync(n){return new $h(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function $q(){return typeof $localize<"u"&&$localize.locale||bd}var Di=new R$3("",{factory:()=>h$5(Di,{optional:true,skipSelf:true})||$q()}),xC=new R$3("",{factory:()=>$z});var Id=class{destroyed=false;listeners=null;errorHandler=h$5(fr$1,{optional:true});isEmitting=false;hasNullListeners=false;destroyRef=h$5(at$1);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=true,this.listeners=null;});}subscribe(t){if(this.destroyed)throw new P$4(953,false);return (this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=true,this.listeners[n]=null):this.listeners.splice(n,1));}}}emit(t){if(this.destroyed){console.warn(pr(953,false));return}if(this.listeners===null)return;this.isEmitting=true;let n=ee$3(null);try{for(let r of this.listeners)try{r!==null&&r(t);}catch(i){this.errorHandler?.handleError(i);}}finally{this.hasNullListeners&&(this.hasNullListeners=false,this.listeners&&zq(this.listeners)),ee$3(n),this.isEmitting=false;}}};function zq(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--;}function Et(e,t){return Eu(e,t?.equal)}function _e$2(e){return VT(e)}var qq=e=>e;function MC(e,t){if(typeof e=="function"){let n=Db(e,qq,t?.equal);return cA(n)}else {let n=Db(e.source,e.computation,e.equal);return cA(n,e.debugName)}}function cA(e,t){let n=e[St],r=e;return r.set=i=>BT(n,i),r.update=i=>UT(n,i),r.asReadonly=Yu.bind(e),r}var wm=Symbol("InputSignalNode#UNSET"),gA=s$6(r$2({},Tu),{transformFn:void 0,applyValueToInputSignal(e,t){bo(e,t);}});function yA(e,t){let n=Object.create(gA);n.value=e,n.transformFn=t?.transform;function r(){if(Pi(n),n.value===wm){let i=null;throw new P$4(-950,i)}return n.value}return r[St]=n,r}var zc=class{attributeName;constructor(t){this.attributeName=t;}__NG_ELEMENT_ID__=()=>Ac(this.attributeName);toString(){return `HostAttributeToken ${this.attributeName}`}};function FC(e){return rW(e)?e.default:e}function rW(e){return e&&typeof e=="object"&&"default"in e}function ihe(e){return new Id}function lA(e,t){return yA(e,t)}function iW(e){return yA(wm,e)}var Cm=(lA.required=iW,lA);function vA(e,t){let n=Object.create(gA),r=new Id;n.value=e;function i(){return Pi(n),uA(n.value),n.value}return i[St]=n,i.asReadonly=Yu.bind(i),i.set=o=>{n.equal(n.value,o)||(bo(n,o),r.emit(o));},i.update=o=>{uA(n.value),i.set(o(n.value));},i.subscribe=r.subscribe.bind(r),i.destroyRef=r.destroyRef,i}function uA(e){if(e===wm)throw new P$4(952,false)}function dA(e,t){return vA(e)}function oW(e){return vA(wm)}var ohe=(dA.required=oW,dA);function fA(e,t){return uC()}function sW(e,t){return dC()}var she=(fA.required=sW,fA);function ahe(e,t){return gR()}function pA(e,t){return uC()}function aW(e,t){return dC()}var che=(pA.required=aW,pA);var AC=class{supports(t){return t instanceof Map||rC(t)}create(){return new NC}},NC=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n);}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n);}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n);}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;
vendor: 4,975 bytes, line 4
4n=n._nextAdded)t(n);}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n);}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||rC(t)))throw new P$4(900,false);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else {let o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o);}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null;}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let i=this._records.get(t);this._maybeAddToChanges(i,n);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let r=new kC(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null;}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t));}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t);}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t);}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r));}},kC=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t;}};function hA(){return new BC([new AC])}var BC=(()=>{class e{static \u0275prov=K$5({token:e,providedIn:"root",factory:hA});factories;constructor(n){this.factories=n;}static create(n,r){if(r){let i=r.factories.slice();n=n.concat(i);}return new e(n)}static extend(n){return {provide:e,useFactory:()=>{let r=h$5(e,{optional:true,skipSelf:true});return e.create(n,r||hA())}}}find(n){let r=this.factories.find(i=>i.supports(n));if(r)return r;throw new P$4(901,false)}}return e})(),dn$1=(()=>{class e{static __NG_ELEMENT_ID__=lW}return e})();function lW(e){return uW(st$1(),z$3(),(e&16)===16)}function uW(e,t,n){if(pi(e)&&!n){let r=br$1(e.index,t);return new ko(r,r)}else if(e.type&175){let r=t[an$1];return new ko(r,t)}return null}var OC=new R$3(""),dW=new R$3("");function Ed(e){return !e.moduleRef}function fW(e){let t=Ed(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ce$4);return n.run(()=>{Ed(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Zn),i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r});}),Ed(e)){let o=()=>t.destroy(),s=e.platformInjector.get(OC);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o);});}else {let o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(OC);s.add(o),e.moduleRef.onDestroy(()=>{Ku(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o);});}return hW(r,n,()=>{let o=t.get(Hi),s=o.add(),a=t.get(pC);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Di,bd);if(NR(c||bd),!t.get(dW,!0))return Ed(e)?t.get(Tn$1):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ed(e)){let d=t.get(Tn$1);return e.rootComponent!==void 0&&d.bootstrap(e.rootComponent),d}else return pW?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{o.remove(s);})})})}var pW;function hW(e,t,n){try{let r=n();return Gi(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Dm=null;function mW(e=[],t){return le$4.create({name:t,providers:[{provide:Uu,useValue:"platform"},{provide:OC,useValue:new Set([()=>Dm=null])},...e]})}function gW(e=[]){if(Dm)return Dm;let t=mW(e);return Dm=t,xR(),yW(t),t}function yW(e){let t=e.get(fh,null);Wt(e,()=>{t?.forEach(n=>n());});}function _A(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:i}=e;je$2(ke$2.BootstrapApplicationStart);try{let o=i?.injector??gW(r),s=[EC(),Tx,...n||[]],a=new ad({providers:s,parent:o,debugName:"",runEnvironmentInitializer
4s:!1});return fW({r3Injector:a.injector,platformInjector:o,rootComponent:t})}catch(o){return Promise.reject(o)}finally{je$2(ke$2.BootstrapApplicationEnd);}}function He(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function UC(e,t=NaN){return !isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var RC=Symbol("NOT_SET"),bA=new Set,vW=s$6(r$2({},Tu),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:true,consumerAllowSignalWrites:true,value:RC,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=true;}this.sequence.scheduler.notify(7);},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=false,this.value!==RC&&!cc(this))return this.signal;try{for(let i of this.cleanup??bA)i();}finally{this.cleanup?.clear();}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Li(this),r;try{r=this.userFn.apply(null,t);}finally{vo(this,n);}return (this.value===RC||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),PC=class extends rd{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,i,o,s=null){super(t,[void 0,void 0,void 0,void 0],r,false,o.get(at$1),s),this.scheduler=i;for(let a of jw){let c=n[a];if(c===void 0)continue;let u=Object.create(vW);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=true,u.signal=()=>(Pi(u),u.value),u.signal[St]=u,u.registerCleanupFn=d=>(u.cleanup??=new Set).add(d),this.nodes[a]=u,this.hooks[a]=d=>u.phaseFn(d);}}afterRun(){super.afterRun(),this.lastPhase=null;}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??bA)n();}finally{_o(t);}}};function uhe(e,t){let n=h$5(le$4),r=n.get(ui),i=n.get(nm),o=n.get(Wr$1,null,{optional:true});i.impl??=n.get(Hw);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(wc,null,{optional:true}),c=new PC(i.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,o?.snapshot(null));return i.impl.register(c),c}function Sm(e,t){let n=di(e),r=t.elementInjector||mc();return new Ys(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function DA(e){let t=di(e);if(!t)return null;let n=new Ys(t);return {get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var wA=null;function Jn(){return wA}function VC(e){wA??=e;}var Td=class{},Qi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:()=>h$5(CA),providedIn:"platform"})}return e})(),jC=new R$3(""),CA=(()=>{class e extends Qi{_location;_history;_doc=h$5(se$3);constructor(){super(),this._location=window.location,this._history=window.history;}getBaseHrefFromDOM(){return Jn().getBaseHref(this._doc)}onPopState(n){let r=Jn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,false),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Jn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,false),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n;}pushState(n,r,i){this._history.pushState(n,r,i);}replaceState(n,r,i){this._history.replaceState(n,r,i);}forward(){this._history.forward();}back(){this._history.back();}historyGo(n=0){this._history.go(n);}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Im(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function SA(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Yr$1(e){return e&&e[0]!=="?"?`?${e}`:e}var Gr$1=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:()=>h$5(Tm),providedIn:"root"})}return e})(),Em=new R$3(""),Tm=(()=>{class e extends Gr$1{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h$5(se$3).location?.origin??"";}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
4HashChange(n));}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Im(this._baseHref,n)}path(n=false){let r=this._platformLocation.pathname+Yr$1(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Yr$1(o));this._platformLocation.pushState(n,r,s);}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Yr$1(o));this._platformLocation.replaceState(n,r,s);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n);}static \u0275fac=function(r){return new(r||e)(Z$1(Qi),Z$1(Em,8))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var wi=(()=>{class e{_subject=new G$3;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=DW(SA(IA(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(true),pop:true,state:i.state,type:i.type});});}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[];}path(n=false){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Yr$1(r))}normalize(n){return e.stripTrailingSlash(bW(this._basePath,IA(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Yr$1(r)),i);}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Yr$1(r)),i);}forward(){this._locationStrategy.forward();}back(){this._locationStrategy.back();}historyGo(n=0){this._locationStrategy.historyGo?.(n);}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state);}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null);}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r));}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Yr$1;static joinWithSlash=Im;static stripTrailingSlash=SA;static \u0275fac=function(r){return new(r||e)(Z$1(Gr$1))};static \u0275prov=K$5({token:e,factory:()=>_W(),providedIn:"root"})}return e})();function _W(){return new wi(Z$1(Gr$1))}function bW(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function IA(e){return e.replace(/\/index\.html$/,"")}function DW(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var JC=(()=>{class e extends Gr$1{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r);}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()();}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n));}getBaseHref(){return this._baseHref}path(n=false){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Im(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,i,o){let s=this.prepareExternalUrl(i+Yr$1(o))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s);}replaceState(n,r,i,o){let s=this.prepareExternalUrl(i+Yr$1(o))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s);}forward(){this._platformLocation.forward();}back(){this._platformLocation.back();}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n);}static \u0275fac=function(r){return new(r||e)(Z$1(Qi),Z$1(Em,8))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})(),AA={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KGS:[void 0,"\u20C0"],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Nd=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Nd||{}),ra=(function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e})(ra||{}),fn$1=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(fn$1||{}),et$1=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(et$1||{}),Un$1=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Un$1||{}),Nt={Decimal:0,Group:1,PercentSign:3,MinusSign:5,Exponential:6,Infinity:9,CurrencyDecimal:12,CurrencyGroup:13};function NA(e){return un$1(e)[Dt.LocaleId]}function kA(e,t,n){let r=un$1(e),i=[r[Dt.DayPeriodsFormat],r[Dt.DayPeriodsStandalone]],o=Cr$1(i,t);return Cr$1(o,n)}function OA(e,t,n){let r=un$1(e),i=[r[Dt.DaysFormat],r[Dt.DaysStandalone]],o=Cr$1(i,t);return Cr$1(o,n)}function PA(e,t,n){let r=un$1(e),i=[r[Dt.MonthsFormat],r[Dt.MonthsStandalone]],o=Cr$1(i,t);return Cr$1(o,n)}function LA(e,t){let r=un$1(e)[Dt.Eras];return Cr$1(r,t)}function xd(e,t){let n=un$1(e);return Cr$1(n[Dt.DateFormat],t)}function Md(e,t){let n=un$1(e);return Cr$1(n[Dt.TimeFormat],t)}function Rd(e,t){let r=un$1(e)[Dt.DateTimeFormat];return Cr$1(r,t)}function Qn(e,t){let n=un$1(e),r=n[Dt.NumberSymbols][t];if(typeof r>"u"){if(t===Nt.CurrencyDecimal)return n[Dt.NumberSymbols][Nt.Decimal];if(t===Nt.CurrencyGroup)return n[Dt.NumberSymbols][Nt.Group]}return r}function Lm(e,t){return un$1(e)[Dt.NumberFormats][t]}function CW(e){return un$1(e)[Dt.Currencies]}var FA=wC;function BA(e){if(!e[Dt.ExtraData])throw new P$4(2303,false)}function UA(e){let t=un$1(e);return BA(t),(t[Dt.ExtraData][2]||[]).map(r=>typeof r=="string"?HC(r):[HC(r[0]),HC(r[1])])}function VA(e,t,n){let r=un$1(e);BA(r);let i=[r[Dt.ExtraData][0],r[Dt.ExtraData][1]],o=Cr$1(i,t)||[];return Cr$1(o,n)||[]}function Cr$1(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new P$4(2304,false)}function HC(e){let[t,n]=e.split(":");return {hours:+t,minutes:+n}}function jA(e,t,n="en"){let r=CW(n)[e]||AA[e]||[],i=r[1];return t==="narrow"&&typeof i=="string"?i:r[0]||e}var SW=2;function HA(e){let t,n=AA[e];return n&&(t=n[2]),typeof t=="number"?t:SW}var IW=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,xm=Object.create(null),EW=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,TW=256;
vendor: 8,199 bytes, line 4
4function $A(e,t,n,r){let i=FW(e);xW(t),t=Xi(n,t)||t;let s=[],a;for(;t;)if(a=EW.exec(t),a){s=s.concat(a.slice(1));let d=s.pop();if(!d)break;t=d;}else {s.push(t);break}let c=i.getTimezoneOffset();r&&(c=qA(r,c),i=LW(i,r));let u="";return s.forEach(d=>{let f=OW(d);u+=f?f(i,n,c):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'");}),u}function xW(e){if(e.length>TW)throw new P$4(2300,false)}function km(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Xi(e,t){let n=NA(e);if(xm[n]??=Object.create(null),xm[n][t])return xm[n][t];let r="";switch(t){case "shortDate":r=xd(e,Un$1.Short);break;case "mediumDate":r=xd(e,Un$1.Medium);break;case "longDate":r=xd(e,Un$1.Long);break;case "fullDate":r=xd(e,Un$1.Full);break;case "shortTime":r=Md(e,Un$1.Short);break;case "mediumTime":r=Md(e,Un$1.Medium);break;case "longTime":r=Md(e,Un$1.Long);break;case "fullTime":r=Md(e,Un$1.Full);break;case "short":let i=Xi(e,"shortTime"),o=Xi(e,"shortDate");r=Mm(Rd(e,Un$1.Short),[i,o]);break;case "medium":let s=Xi(e,"mediumTime"),a=Xi(e,"mediumDate");r=Mm(Rd(e,Un$1.Medium),[s,a]);break;case "long":let c=Xi(e,"longTime"),u=Xi(e,"longDate");r=Mm(Rd(e,Un$1.Long),[c,u]);break;case "full":let d=Xi(e,"fullTime"),f=Xi(e,"fullDate");r=Mm(Rd(e,Un$1.Full),[d,f]);break}return r&&(xm[n][t]=r),r}function Mm(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function Zr$2(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=-e+1:(e=-e,o=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),o+s}function MW(e,t){return Zr$2(e,3).substring(0,t)}function jt$1(e,t,n=0,r=false,i=false){return function(o,s){let a=RW(e,o);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return MW(a,t);let c=Qn(s,Nt.MinusSign);return Zr$2(a,t,c,r,i)}}function RW(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new P$4(2301,false)}}function ot$2(e,t,n=fn$1.Format,r=false){return function(i,o){return AW(i,o,e,t,n,r)}}function AW(e,t,n,r,i,o){switch(n){case 2:return PA(t,i,r)[e.getMonth()];case 1:return OA(t,i,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(o){let u=UA(t),d=VA(t,i,r),f=u.findIndex(p=>{if(Array.isArray(p)){let[g,v]=p,C=s>=g.hours&&a>=g.minutes,S=s<v.hours||s===v.hours&&a<v.minutes;if(g.hours<v.hours){if(C&&S)return true}else if(C||S)return true}else if(p.hours===s&&p.minutes===a)return true;return false});if(f!==-1)return d[f]}return kA(t,i,r)[s<12?0:1];case 3:return LA(t,r)[e.getFullYear()<=0?0:1];default:throw new P$4(2302,false)}}function Rm(e){return function(t,n,r){let i=-1*r,o=Qn(n,Nt.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case 0:return (i>=0?"+":"")+Zr$2(s,2,o)+Zr$2(Math.abs(i%60),2,o);case 1:return "GMT"+(i>=0?"+":"")+Zr$2(s,1,o);case 2:return "GMT"+(i>=0?"+":"")+Zr$2(s,2,o)+":"+Zr$2(Math.abs(i%60),2,o);case 3:return r===0?"Z":(i>=0?"+":"")+Zr$2(s,2,o)+":"+Zr$2(Math.abs(i%60),2,o);default:throw new P$4(2310,false)}}}var NW=0,Nm=4;function kW(e){let t=km(e,NW,1).getDay();return km(e,0,1+(t<=Nm?Nm:Nm+7)-t)}function zA(e){let t=e.getDay(),n=t===0?-3:Nm-t;return km(e.getFullYear(),e.getMonth(),e.getDate()+n)}function $C(e,t=false){return function(n,r){let i;if(t){let o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();i=1+Math.floor((s+o)/7);}else {let o=zA(n),s=kW(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5);}return Zr$2(i,e,Qn(r,Nt.MinusSign))}}function Am(e,t=false){return function(n,r){let o=zA(n).getFullYear();return Zr$2(o,e,Qn(r,Nt.MinusSign),t)}}var zC=Object.create(null);function OW(e){if(zC[e])return zC[e];let t;switch(e){case "G":case "GG":case "GGG":t=ot$2(3,et$1.Abbreviated);break;case "GGGG":t=ot$2(3,et$1.Wide);break;case "GGGGG":t=ot$2(3,et$1.Narrow);break;case "y":t=jt$1(0,1,0,false,true);break;case "yy":t=jt$1(0,2,0,true,true);break;case "yyy":t=jt$1(0,3,0,false,true);break;case "yyyy":t=jt$1(0,4,0,false,true);break;case "Y":t=Am(1);break;case "YY":t=Am(2,true);break;case "YYY":t=Am(3);break;case "YYYY":t=Am(4);break;case "M":case "L":t=jt$1(1,1,1);break;case "MM":case "LL":t=jt$1(1,2,1);break;case "MMM":t=ot$2(2,et$1.Abbreviated);break;case "MMMM":t=ot$2(2,et$1.Wide);break;case "MMMMM":t=ot$2(2,et$1.Narrow);break;case "LLL":t=ot$2(2,et$1.Abbreviated,fn$1.Standalone);break;case "LLLL":t=ot$2(2,et$1.Wide,fn$1.Standalone);break;case "LLLLL":t=ot$2(2,et$1.Narrow,fn$1.Standalone);break;case "w":t=$C(1);break;case "ww":t=$C(2);break;case "W":t=$C(1,true);break;case "d":t=jt$1(2,1);break;case "dd":t=jt$1(2,2);break;case "c":case "cc":t=jt$1(7,1);break;case "ccc":t=ot$2(1,et$1.Abbreviated,fn$1.Standalone);break;case "cccc":t=ot$2(1,et$1.Wide,fn$1.Standalone);break;case "ccccc":t=ot$2(1,et$1.Narrow,fn$1.Standalone);break;case "cccccc":t=ot$2(1,et$1.Short,fn$1.Standalone);break;case "E":case "EE":case "EEE":t=ot$2(1,et$1.Abbreviated);break;case "EEEE":t=ot$2(1,et$1.Wide);break;case "EEEEE":t=ot$2(1,et$1.Narrow);break;case "EEEEEE":t=ot$2(1,et$1.Short);break;case "a":case "aa":case "aaa":t=ot$2(0,et$1.Abbreviated);break;case "aaaa":t=ot$2(0,et$1.Wide);break;case "aaaaa":t=ot$2(0,et$1.Narrow);break;case "b":case "bb":case "bbb":t=ot$2(0,et$1.Abbreviated,fn$1.Standalone,true);break;case "bbbb":t=ot$2(0,et$1.Wide,fn$1.Standalone,true);break;case "bbbbb":t=ot$2(0,et$1.Narrow,fn$1.Standalone,true);break;case "B":case "BB":case "BBB":t=ot$2(0,et$1.Abbreviated,fn$1.Format,true);break;case "BBBB":t=ot$2(0,et$1.Wide,fn$1.Format,true);break;case "BBBBB":t=ot$2(0,et$1.Narrow,fn$1.Format,true);break;case "h":t=jt$1(3,1,-12);break;case "hh":t=jt$1(3,2,-12);break;case "H":t=jt$1(3,1);break;case "HH":t=jt$1(3,2);break;case "m":t=jt$1(4,1);break;case "mm":t=jt$1(4,2);break;case "s":t=jt$1(5,1);break;case "ss":t=jt$1(5,2);break;case "S":t=jt$1(6,1);break;case "SS":t=jt$1(6,2);break;case "SSS":t=jt$1(6,3);break;case "Z":case "ZZ":case "ZZZ":t=Rm(0);break;case "ZZZZZ":t=Rm(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":t=Rm(1);break;case "OOOO":case "ZZZZ":case "zzzz":t=Rm(2);break;default:return null}return zC[e]=t,t}function qA(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function PW(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function LW(e,t,n){let i=e.getTimezoneOffset(),o=qA(t,i);return PW(e,-1*(o-i))}function FW(e){if(EA(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[i,o=1,s=1]=e.split("-").map(a=>+a);return km(i,o-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(IW))return BW(r)}let t=new Date(e);if(!EA(t))throw new P$4(2311,false);return t}function BW(e){let t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return o.call(t,s,a,c,u),t}function EA(e){return e instanceof Date&&!isNaN(e.valueOf())}var UW=/^(\d+)?\.((\d+)(-(\d+))?)?$/,TA=22,Om=".",Ad="0",VW=";",jW=",",qC="#",xA="\xA4",HW="%";function QC(e,t,n,r,i,o,s=false){let a="",c=false;if(!isFinite(e))a=Qn(n,Nt.Infinity);else {let u=zW(e);s&&(u=$W(u));let d=t.minInt,f=t.minFrac,p=t.maxFrac;if(o){let L=o.match(UW);if(L===null)throw new P$4(2306,false);let $=L[1],Me=L[3],Ye=L[5];$!=null&&(d=WC($)),Me!=null&&(f=WC(Me)),Ye!=null?p=WC(Ye):Me!=null&&f>p&&(p=f);let A=100;if(d>A||f>A||p>A)throw new P$4(2306,false)}qW(u,f,p);let g=u.digits,v=u.integerLen,C=u.exponent,S=[];for(c=g.every(L=>!L);v<d;v++)g.unshift(0);for(;v<0;v++)g.unshift(0);v>0?S=g.splice(v,g.length):(S=g,g=[0]);let M=[];for(g.length>=t.lgSize&&M.unshift(g.splice(-t.lgSize,g.length).join(""));g.length>t.gSize;)M.unshift(g.splice(-t.gSize,g.length).join(""));g.length&&M.unshift(g.join("")),a=M.join(Qn(n,r)),S.length&&(a+=Qn(n,i)+S.join("")),C&&
4(a+=Qn(n,Nt.Exponential)+"+"+C);}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function WA(e,t,n,r,i){let o=Lm(t,Nd.Currency),s=XC(o,Qn(t,Nt.MinusSign));return s.minFrac=HA(r),s.maxFrac=s.minFrac,QC(e,s,t,Nt.CurrencyGroup,Nt.CurrencyDecimal,i).replace(xA,n).replace(xA,"").trim()}function YA(e,t,n){let r=Lm(t,Nd.Percent),i=XC(r,Qn(t,Nt.MinusSign));return QC(e,i,t,Nt.Group,Nt.Decimal,n,true).replace(new RegExp(HW,"g"),Qn(t,Nt.PercentSign))}function GA(e,t,n){let r=Lm(t,Nd.Decimal),i=XC(r,Qn(t,Nt.MinusSign));return QC(e,i,t,Nt.Group,Nt.Decimal,n)}function XC(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(VW),i=r[0],o=r[1],s=i.indexOf(Om)!==-1?i.split(Om):[i.substring(0,i.lastIndexOf(Ad)+1),i.substring(i.lastIndexOf(Ad)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(qC));for(let d=0;d<c.length;d++){let f=c.charAt(d);f===Ad?n.minFrac=n.maxFrac=d+1:f===qC?n.maxFrac=d+1:n.posSuf+=f;}let u=a.split(jW);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){let d=i.length-n.posPre.length-n.posSuf.length,f=o.indexOf(qC);n.negPre=o.substring(0,f).replace(/'/g,""),n.negSuf=o.slice(f+d).replace(/'/g,"");}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function $W(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function zW(e){let t=Math.abs(e)+"",n=0,r,i,o,s,a;for((i=t.indexOf(Om))>-1&&(t=t.replace(Om,"")),(o=t.search(/e/i))>0?(i<0&&(i=o),i+=+t.slice(o+1),t=t.substring(0,o)):i<0&&(i=t.length),o=0;t.charAt(o)===Ad;o++);if(o===(a=t.length))r=[0],i=1;else {for(a--;t.charAt(a)===Ad;)a--;for(i-=o,r=[],s=0;o<=a;o++,s++)r[s]=Number(t.charAt(o));}return i>TA&&(r=r.splice(0,TA-1),n=i-1,i=1),{digits:r,exponent:n,integerLen:i}}function qW(e,t,n){if(t>n)throw new P$4(2307,false);let r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),s=o+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let f=s;f<r.length;f++)r[f]=0;}else {i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let f=1;f<s;f++)r[f]=0;}if(a>=5)if(s-1<0){for(let f=0;f>s;f--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++;}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let c=o!==0,u=t+e.integerLen,d=r.reduceRight(function(f,p,g,v){return p=p+f,v[g]=p<10?p:p-10,c&&(v[g]===0&&g>=u?v.pop():c=false),p>=10?1:0},0);d&&(r.unshift(d),e.integerLen++);}function WC(e){let t=parseInt(e);if(isNaN(t))throw new P$4(2305,false);return t}var KC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>new ZA(h$5(Di))})}return e})();function WW(e,t,n,r){let i=`=${e}`;if(t.indexOf(i)>-1||(i=n.getPluralCategory(e,r),t.indexOf(i)>-1))return i;if(t.indexOf("other")>-1)return "other";throw new P$4(2308,false)}var ZA=(()=>{class e extends KC{locale;constructor(n){super(),this.locale=n;}getPluralCategory(n,r){switch(FA(r||this.locale)(n)){case ra.Zero:return "zero";case ra.One:return "one";case ra.Two:return "two";case ra.Few:return "few";case ra.Many:return "many";default:return "other"}}static \u0275fac=function(r){return new(r||e)(Z$1(Di))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})();var YW=(()=>{class e{_viewContainer;_context=new Pm;_thenTemplateRef=null;_elseTemplateRef=null;
4_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r;}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView();}set ngIfThen(n){MA(n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView();}set ngIfElse(n){MA(n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView();}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)));}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return true}static \u0275fac=function(r){return new(r||e)(V$4(ln$1),V$4(Dn$1))};static \u0275dir=q$7({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Pm=class{$implicit=null;ngIf=null};function MA(e,t){if(e&&!e.createEmbeddedView)throw new P$4(2020,false)}var YC=class{_viewContainerRef;_templateRef;_created=false;constructor(t,n){this._viewContainerRef=t,this._templateRef=n;}create(){this._created=true,this._viewContainerRef.createEmbeddedView(this._templateRef);}destroy(){this._created=false,this._viewContainerRef.clear();}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy();}};var JA=(()=>{class e{_localization;_activeView;_caseViews={};constructor(n){this._localization=n;}set ngPlural(n){this._updateView(n);}addCase(n,r){this._caseViews[n]=r;}_updateView(n){this._clearViews();let r=Object.keys(this._caseViews),i=WW(n,r,this._localization);this._activateView(this._caseViews[i]);}_clearViews(){this._activeView&&this._activeView.destroy();}_activateView(n){n&&(this._activeView=n,this._activeView.create());}static \u0275fac=function(r){return new(r||e)(V$4(KC))};static \u0275dir=q$7({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),GW=(()=>{class e{value;constructor(n,r,i,o){this.value=n;let s=!isNaN(Number(n));o.addCase(s?`=${n}`:n,new YC(i,r));}static \u0275fac=function(r){return new(r||e)(Ac("ngPluralCase"),V$4(Dn$1),V$4(ln$1),V$4(JA,1))};static \u0275dir=q$7({type:e,selectors:[["","ngPluralCase",""]]})}return e})();var eS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=h$5(le$4);constructor(n){this._viewContainerRef=n;}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this._getInjector()});}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return !!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):false,get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||e)(V$4(ln$1))};static \u0275dir=q$7({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ct$1]})}return e})();function ia(e,t){return new P$4(2100,false)}var GC=class{createSubscription(t,n,r){return _e$2(()=>t.subscribe({next:n,error:r}))}dispose(t){_e$2(()=>t.unsubscribe());}},ZC=class{createSubscription(t,n,r){return t.then(i=>n?.(i),i=>r?.(i)),{unsubscribe:()=>{n=null,r=null;}}}dispose(t){t.unsubscribe();}},ZW=new ZC,JW=new GC,QW=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=true;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=h$5(Zn);constructor(n){this._ref=n;}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null;}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n);}finally{this.markForCheckOnValueUpdate=true;}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r));}_selectStrategy(n){if(Gi(n))return ZW;if(dm(n))return JW;throw ia()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null;}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck());}static \u0275fac=function(r){return new(r||e)(V$4(dn$1,16))};static \u0275pipe=En$1({name:"async",type:e,pure:false})}return e})();var XW=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
40EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,KW=(()=>{class e{transform(n){return n==null?null:(e3(e,n),n.replace(XW,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=En$1({name:"titlecase",type:e,pure:true})}return e})();function e3(e,t){if(typeof t!="string")throw ia()}var t3="mediumDate",QA=new R$3(""),XA=new R$3(""),n3=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,i){this.locale=n,this.defaultTimezone=r,this.defaultOptions=i;}transform(n,r,i,o){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??t3,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return $A(n,s,o||this.locale,a)}catch(s){throw ia(e,s.message)}}static \u0275fac=function(r){return new(r||e)(V$4(Di,16),V$4(QA,24),V$4(XA,24))};static \u0275pipe=En$1({name:"date",type:e,pure:true})}return e})();var r3=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=En$1({name:"json",type:e,pure:false})}return e})();function i3(e,t){return {key:e,value:t}}var o3=(()=>{class e{differs;constructor(n){this.differs=n;}differ;keyValues=[];compareFn=RA;transform(n,r=RA){if(!n||!(n instanceof Map)&&typeof n!="object")return null;this.differ??=this.differs.find(n).create();let i=this.differ.diff(n),o=r!==this.compareFn;
4return i&&(this.keyValues=[],i.forEachItem(s=>{this.keyValues.push(i3(s.key,s.currentValue));})),(i||o)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(r){return new(r||e)(V$4(BC,16))};static \u0275pipe=En$1({name:"keyvalue",type:e,pure:false})}return e})();function RA(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n==null)return 1;if(r==null)return -1;if(typeof n=="string"&&typeof r=="string")return n<r?-1:1;if(typeof n=="number"&&typeof r=="number")return n-r;if(typeof n=="boolean"&&typeof r=="boolean")return n<r?-1:1;let i=String(n),o=String(r);return i==o?0:i<o?-1:1}var qc=(()=>{class e{_locale;constructor(n){this._locale=n;}transform(n,r,i){if(!tS(n))return null;i||=this._locale;try{let o=nS(n);return GA(o,i,r)}catch(o){throw ia(e,o.message)}}static \u0275fac=function(r){return new(r||e)(V$4(Di,16))};static \u0275pipe=En$1({name:"number",type:e,pure:true})}return e})(),s3=(()=>{class e{_locale;constructor(n){this._locale=n;}transform(n,r,i){if(!tS(n))return null;i||=this._locale;try{let o=nS(n);return YA(o,i,r)}catch(o){throw ia(e,o.message)}}static \u0275fac=function(r){return new(r||e)(V$4(Di,16))};static \u0275pipe=En$1({name:"percent",type:e,pure:true})}return e})(),Wc=(()=>{class e{_locale;_defaultCurrencyCode;constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r;}transform(n,r=this._defaultCurrencyCode,i="symbol",o,s){if(!tS(n))return null;s||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let a=r||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?a=jA(a,i==="symbol"?"wide":"narrow",s):a=i);try{let c=nS(n);return WA(c,s,a,r,o)}catch(c){throw ia(e,c.message)}}static \u0275fac=function(r){return new(r||e)(V$4(Di,16),V$4(xC,16))};static \u0275pipe=En$1({name:"currency",type:e,pure:true})}return e})();function tS(e){return !(e==null||e===""||e!==e)}function nS(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new P$4(2309,false);return e}var a3=(()=>{class e{transform(n,r,i){if(n==null)return null;if(!(typeof n=="string"||Array.isArray(n)))throw ia();return n.slice(r,i)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=En$1({name:"slice",type:e,pure:false})}return e})();var KA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})();function kd(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}var c3=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),rS=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=Z$1(c3),i},providedIn:"root"})}return e})();var oS="browser";function Fm(e){return e===oS}var sS=(()=>{class e{static \u0275prov=K$5({token:e,providedIn:"root",factory:()=>new iS(h$5(se$3),window)})}return e})(),iS=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n;}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t;}getScrollPosition(){return [this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(s$6(r$2({},n),{left:t[0],top:t[1]}));}scrollToAnchor(t,n){let r=u3(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:true}));}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t;}catch{console.warn(pr(2400,false));}}scrollToElement(t,n){let r=t.getBoundingClientRect(),i=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(s$6(r$2({},n),{left:i-s[0],top:o-s[1]}));}};function u3(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),i=r.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${CSS.escape(t)}"]`);if(s)return s}i=r.nextNode();}}return null}var Od=class{_doc;constructor(t){this._doc=t;}manager},Bm=(()=>{class e extends Od{constructor(n){super(n);}supports(n){return true}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(Z$1(se$3))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})(),jm=new R$3(""),dS=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;
vendor: 8,041 bytes, line 4
4constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this;});let i=n.filter(s=>!(s instanceof Bm));this._plugins=i.slice().reverse();let o=n.find(s=>s instanceof Bm);o&&this._plugins.push(o);}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new P$4(-5101,false);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(Z$1(jm),Z$1(ce$4))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})(),cS="ng-app-id";function eN(e){for(let t of e)t.remove();}function tN(e,t){let n=t.createElement("style");return n.textContent=e,n}function d3(e,t,n,r){let i=e.head?.querySelectorAll(`style[${cS}="${t}"],link[${cS}="${t}"]`);if(!i||i.length===0)return false;for(let o of i)o.removeAttribute(cS),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]});return true}function uS(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var fS=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,d3(n,r,this.inline,this.external)&&this.hosts.add(n.head);}addStyles(n,r){for(let i of n)this.addUsage(i,this.inline,tN);r?.forEach(i=>this.addUsage(i,this.external,uS));}removeStyles(n,r){for(let i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external));}addUsage(n,r,i){let o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))});}removeUsage(n,r){let i=r.get(n);i&&(i.usage--,i.usage<=0&&(eN(i.elements),r.delete(n)));}ngOnDestroy(){for(let[,{elements:n}]of [...this.inline,...this.external])eN(n);this.hosts.clear();}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(n,tN(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(n,uS(r,this.doc)));}}removeHost(n){this.hosts.delete(n);for(let r of [...this.inline.values(),...this.external.values()]){let i=[];for(let o of r.elements)o.parentNode===n?o.remove():i.push(o);r.elements=i;}}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(Z$1(se$3),Z$1($i),Z$1(Fs,8),Z$1(zi))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})(),lS={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},pS=/%COMP%/g;var rN="%COMP%",f3=`_nghost-${rN}`,p3=`_ngcontent-${rN}`,h3=true,m3=new R$3("",{factory:()=>h3});function g3(e){return p3.replace(pS,e)}function y3(e){return f3.replace(pS,e)}function iN(e,t){return t.map(n=>n.replace(pS,e))}var hS=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,i,o,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Pd(n,s,a,this.tracingService);}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(n,r);return i instanceof Vm?i.applyToHost(n):i instanceof Ld&&i.applyStyles(),i}getOrCreateRenderer(n,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.tracingService;switch(r.encapsulation){case zr$1.Emulated:o=new Vm(c,u,r,this.appId,d,s,a,f);break;case zr$1.ShadowDom:return new Um(c,n,r,s,a,this.nonce,f,u);case zr$1.ExperimentalIsolatedShadowDom:return new Um(c,n,r,s,a,this.nonce,f);default:o=new Ld(c,u,r,d,s,a,f);break}i.set(r.id,o);}return o}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(n){this.rendererByCompId.delete(n);}static \u0275fac=function(r){return new(r||e)(Z$1(dS),Z$1(ea),Z$1($i),Z$1(m3),Z$1(se$3),Z$1(ce$4),Z$1(Fs),Z$1(Wr$1,8))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})(),Pd=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=true;constructor(t,n,r,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=i;}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(lS[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(nN(t)?t.content:t).appendChild(n);}insertBefore(t,n,r){t&&(nN(t)?t.content:t).insertBefore(n,r);}removeChild(t,n){n.remove();}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new P$4(-5104,false);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;let o=lS[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r);}else t.setAttribute(n,r);}removeAttribute(t,n,r){if(r){let i=lS[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`);}else t.removeAttribute(n);}addClass(t,n){t.classList.add(n);}removeClass(t,n){t.classList.remove(n);}setStyle(t,n,r,i){i&(gi.DashCase|gi.Important)?t.style.setProperty(n,r,i&gi.Important?"important":""):t.style[n]=r;}removeStyle(t,n,r){r&gi.DashCase?t.style.removeProperty(n):t.style[n]="";}setProperty(t,n,r){t!=null&&(t[n]=r);}setValue(t,n){t.nodeValue=n;}listen(t,n,r,i){if(typeof t=="string"&&(t=Jn().getGlobalEventTarget(this.doc,t),!t))throw new P$4(-5102,false);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,i)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===false&&n.preventDefault();}}};function nN(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Um=class extends Pd{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,i,o,s,a,c){super(t,i,o,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=iN(r.id,u);for(let f of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=f,this.shadowRoot.appendChild(p);}let d=r.getExternalStyles?.();if(d)for(let f of d){let p=uS(f,i);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p);}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot);}},Ld=class extends Pd{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,i,o,s,a,c){super(t,o,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i;let u=r.styles;this.styles=c?iN(c,u):u,this.styleUrls=r.getExternalStyles?.(c);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&&yi.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},Vm=class extends Ld{contentAttr;hostAttr;constructor(t,n,r,i,o,s,a,c){let u=i+"-"+r.id;super(t,n,r,o,s,a,c,u),this.contentAttr=g3(u),this.hostAttr=y3(u);}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"");}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Hm=class e extends Td{supportsDOMEvents=true;static makeCurrent(){VC(new e);}
4onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i);}}dispatchEvent(t,n){t.dispatchEvent(n);}remove(t){t.remove();}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=v3();return n==null?null:_3(n)}resetBaseElement(){Fd=null;}getUserAgent(){return window.navigator.userAgent}getCookie(t){return kd(document.cookie,t)}},Fd=null;function v3(){return Fd=Fd||document.head.querySelector("base"),Fd?Fd.getAttribute("href"):null}function _3(e){return new URL(e,document.baseURI).pathname}var oN=["alt","control","meta","shift"],b3={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},D3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},sN=(()=>{class e extends Od{constructor(n){super(n);}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,i,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jn().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){let r=n.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),oN.forEach(u=>{let d=r.indexOf(u);d>-1&&(r.splice(d,1),s+=u+".");}),s+=o,r.length!=0||o.length===0)return null;let c={};return c.domEventName=i,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let i=b3[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),i==null||!i?false:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),oN.forEach(s=>{if(s!==i){let a=D3[s];a(n)&&(o+=s+".");}}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o));}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(Z$1(se$3))};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})();async function w3(e,t,n){let r=r$2({rootComponent:e},C3(t,n));return _A(r)}function C3(e,t){return {platformRef:t?.platformRef,appProviders:[...x3,...e?.providers??[]],platformProviders:T3}}function S3(){Hm.makeCurrent();}function I3(){return new fr$1}function E3(){return ww(document),document}var T3=[{provide:zi,useValue:oS},{provide:fh,useValue:S3,multi:true},{provide:se$3,useFactory:E3}];var x3=[{provide:Uu,useValue:"root"},{provide:fr$1,useFactory:I3},{provide:jm,useClass:Bm,multi:true},{provide:jm,useClass:sN,multi:true},hS,{provide:ea,useClass:fS},{provide:fS,useExisting:ea},dS,{provide:cn$1,useExisting:hS},[]];var Ir$1=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` 5`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o);}});}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n);})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r);});}:this.headers=new Map;}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t);}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null));}
5copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n));});}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case "a":case "s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case "d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else {let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s);}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n]);}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i);}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)));}};var zm=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},qm=class{encodeKey(t){return aN(t)}encodeValue(t){return aN(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function M3(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c);}),n}var R3=/%(\d[a-f0-9])/gi,A3={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function aN(e){return encodeURIComponent(e).replace(R3,(t,n)=>A3[n]??t)}function $m(e){return `${e}`}var Ki=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new qm,t.fromString){if(t.fromObject)throw new P$4(2805,false);this.map=M3(t.fromString,this.encoder);}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],i=Array.isArray(r)?r.map($m):[$m(r)];this.map.set(n,i);})):this.map=null;}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"});}):n.push({param:r,value:i,op:"a"});}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case "a":case "s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push($m(t.value)),this.map.set(t.param,n);break;case "d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf($m(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param);}else {this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null);}};function N3(e){switch(e){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":return false;default:return true}}function cN(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function lN(e){return typeof Blob<"u"&&e instanceof Blob}function uN(e){return typeof FormData<"u"&&e instanceof FormData}function k3(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Bd="Content-Type",Wm="Accept",fN="text/plain",pN="application/json",hN=`${pN}, ${fN}, */*`,Yc=class e{url;body=null;headers;context;reportProgress=false;reportUploadProgress=false;reportDownloadProgress=false;withCredentials=false;credentials;keepalive=false;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,i){this.url=n,this.method=t.toUpperCase();let o;if(N3(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.reportUploadProgress=!!o.reportUploadProgress,this.reportDownloadProgress=!!o.reportDownloadProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new P$4(2822,"");this.timeout=o.timeout;}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache;}if(this.headers??=new Ir$1,this.context??=new zm,!this.params)this.params=new Ki,this.urlWithParams=n;else {let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else {let a=n,c="",u=n.indexOf("#");u!==-1&&(c=n.substring(u),a=n.substring(0,u));let d=a.indexOf("?"),f=d===-1?"?":d<a.length-1?"&":"";this.urlWithParams=a+f+s+c;}}}serializeBody(){return this.body===null?null:typeof this.body=="str
5ing"||cN(this.body)||lN(this.body)||uN(this.body)||k3(this.body)?this.body:this.body instanceof Ki?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||uN(this.body)?null:lN(this.body)?this.body.type||null:cN(this.body)?null:typeof this.body=="string"?fN:this.body instanceof Ki?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?pN:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,d=t.credentials||this.credentials,f=t.referrer??this.referrer,p=t.integrity||this.integrity,g=t.referrerPolicy||this.referrerPolicy,v=t.transferCache??this.transferCache,C=t.timeout??this.timeout,S=t.body!==void 0?t.body:this.body,M=t.withCredentials??this.withCredentials,L=t.reportProgress??this.reportProgress,$=t.reportUploadProgress??this.reportUploadProgress,Me=t.reportDownloadProgress??this.reportDownloadProgress,Ye=t.headers||this.headers,A=t.params||this.params,Ce=t.context??this.context;return t.setHeaders!==void 0&&(Ye=Object.keys(t.setHeaders).reduce((he,Te)=>he.set(Te,t.setHeaders[Te]),Ye)),t.setParams&&(A=Object.keys(t.setParams).reduce((he,Te)=>he.set(Te,t.setParams[Te]),A)),new e(n,r,S,{params:A,headers:Ye,context:Ce,reportProgress:L,reportUploadProgress:$,reportDownloadProgress:Me,responseType:i,withCredentials:M,transferCache:v,keepalive:o,cache:a,priority:s,timeout:C,mode:c,redirect:u,credentials:d,referrer:f,integrity:p,referrerPolicy:g})}},eo=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(eo||{}),Gc=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Ir$1,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300;}},Ud=class e extends Gc{constructor(t={}){super(t);}type=eo.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Zc=class e extends Gc{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null;}type=eo.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Sr$1=class Sr extends Gc{name="HttpErrorResponse";message;error;ok=false;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null;}},mN=200,O3=204;var P3=/^\)\]\}',?\n/,gN=new R$3("",{factory:()=>null}),Ym=(()=>{class e{fetchImpl=h$5(gS,{optional:true})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=h$5(ce$4);destroyRef=h$5(at$1);maxResponseSize=h$5(gN);handle(n){return new ae$3(r=>{let i=new AbortController;this.doRequest(n,i.signal,r).then(yS,s=>r.error(new Sr$1({error:s})));let o;return n.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"));},n.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort();}})}async doRequest(n,r,i){let o=this.createRequestInit(n),s;try{let S=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,r$2({signal:r},o)));L3(S),i.next({type:eo.Sent}),s=await S;}catch(S){i.error(new Sr$1({error:S,status:S.status??0,statusText:S.statusText,url:n.urlWithParams,headers:S.headers}));return}let a=new Ir$1(s.headers),c=s.statusText,u=s.url||n.urlWithParams,d=s.status,f=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&i.next(new Ud({headers:a,status:d,statusText:c,url:u})),s.body){let S=s.headers.get("content-length"),M=S!==null?Number(S):NaN;this.maxResponseSize!==null&&Number.isFinite(M)&&M>this.maxResponseSize&&dN(this.maxResponseSize);let L=[],$=s.body.getReader(),Me=0,Ye,A,Ce=typeof Zone<"u"&&Zone.current,he=false;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await $.cancel(),he=true;break}let{done:yt,value:Xt}=await $.read();if(yt)break;
5if(L.push(Xt),Me+=Xt.length,this.maxResponseSize!==null&&Me>this.maxResponseSize&&(await $.cancel(),dN(this.maxResponseSize)),p){A=n.responseType==="text"?(A??"")+(Ye??=new TextDecoder).decode(Xt,{stream:true}):void 0;let vn=()=>i.next({type:eo.DownloadProgress,total:Number.isFinite(M)?M:void 0,loaded:Me,partialText:A});Ce?Ce.run(vn):vn();}}}),he){i.complete();return}let Te=this.concatChunks(L,Me);try{let yt=s.headers.get(Bd)??"";f=this.parseBody(n,Te,yt,d);}catch(yt){i.error(new Sr$1({error:yt,headers:new Ir$1(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}d===0&&(d=f?mN:0);let g=d>=200&&d<300,v=s.redirected,C=s.type;g?(i.next(new Zc({body:f,headers:a,status:d,statusText:c,url:u,redirected:v,responseType:C})),i.complete()):i.error(new Sr$1({error:f,headers:a,status:d,statusText:c,url:u,redirected:v,responseType:C}));}parseBody(n,r,i,o){switch(n.responseType){case "json":let s=new TextDecoder().decode(r).replace(P3,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(o<200||o>=300)return s;throw a}case "text":return new TextDecoder().decode(r);case "blob":return new Blob([r],{type:i});case "arraybuffer":return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new P$4(2824,false);let r={},i;if(i=n.credentials,n.withCredentials&&(i="include"),n.headers.forEach((o,s)=>r[o]=s.join(",")),n.headers.has(Wm)||(r[Wm]=hN),!n.headers.has(Bd)){let o=n.detectContentTypeHeader();o!==null&&(r[Bd]=o);}return {body:n.serializeBody(),method:n.method,headers:r,credentials:i,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let i=new Uint8Array(r),o=0;for(let s of n)i.set(s,o),o+=s.length;return i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),gS=class{};function yS(){}function L3(e){e.then(yS,yS);}function dN(e){throw new P$4(-2825,false)}function F3(e,t){return t(e)}function B3(e,t,n){return (r,i)=>Wt(n,()=>t(r,o=>e(o,i)))}var yN=new R$3("",{factory:()=>[]}),vN=new R$3(""),_N=new R$3("",{factory:()=>true});var vS=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=Z$1(Ym),i},providedIn:"root"})}return e})();var Gm=(()=>{class e{backend;injector;chain=null;pendingTasks=h$5(Cc);contributeToStability=h$5(_N);constructor(n,r){this.backend=n,this.injector=r;}handle(n){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(yN),...this.injector.get(vN,[])]));this.chain=i.reduceRight((o,s)=>B3(o,s,this.injector),F3);}let r=this.chain;if(this.contributeToStability){let i=this.pendingTasks.add();return _e$2(()=>r(n,o=>this.backend.handle(o))).pipe(nc(i))}else return _e$2(()=>r(n,i=>this.backend.handle(i)))}static \u0275fac=function(r){return new(r||e)(Z$1(vS),Z$1($e$1))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_S=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=Z$1(Gm),i},providedIn:"root"})}return e})();function mS(e,t){return r$2({body:t},e)}var Jc=(()=>{class e{handler;constructor(n){this.handler=n;}request(n,r,i={}){let o;if(n instanceof Yc)o=n;else {let c;i.headers instanceof Ir$1?c=i.headers:c=new Ir$1(i.headers);let u;i.params&&(i.params instanceof Ki?u=i.params:u=new Ki({fromObject:i.params})),o=new Yc(n,r,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,reportUploadProgress:i.reportUploadProgress,reportDownloadProgress:i.reportDownloadProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout});}let s=N$4(o).pipe(Ft(c=>this.handler.handle(c)));if(n instanceof Yc||i.observe==="events")return s;let a=s.pipe(Ne$1(c=>c instanceof Zc));switch(i.observe||"body"){case "body":switch(o.responseType){case "arraybuffer":return a.pipe(T$3(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new P$4(2806,false);return c.body}));case "blob":return a.pipe(T$3(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new P$4(2807,false);return c.body}));case "text":return a.pipe(T$3(c=>{if(c.body!==null&&typeof c.body!="string")throw new P$4(2808,false);return c.body}));default:return a.pipe(T$3(c=>c.body))}case "response":return a;default:throw new P$4(2809,false)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new Ki().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,mS(i,r))}post(n,r,i={}){return this.request("POST",n,mS(i,r))}put(n,r,i={}){return this.request("PUT",n,mS(i,r))}static \u0275fac=function(r){return new(r||e)(Z$1(_S))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var U3=/^\)\]\}',?\n/;var V3=(()=>{class e{xhrFactory;tracingService=h$5(Wr$1,{optional:true});constructor(n){this.xhrFactory=n;}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new P$4(-2800,false);let r=this.xhrFactory;return N$4(null).pipe(en$1(()=>new ae$3(o=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=true),n.headers.forEac
5h((L,$)=>s.setRequestHeader(L,$.join(","))),n.headers.has(Wm)||s.setRequestHeader(Wm,hN),!n.headers.has(Bd)){let L=n.detectContentTypeHeader();L!==null&&s.setRequestHeader(Bd,L);}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let L=n.responseType.toLowerCase();s.responseType=L!=="json"?L:"text";}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let L=s.statusText||"OK",$=new Ir$1(s.getAllResponseHeaders()),Me=s.responseURL||n.url;return c=new Ud({headers:$,status:s.status,statusText:L,url:Me}),c},d=this.maybePropagateTrace(()=>{let{headers:L,status:$,statusText:Me,url:Ye}=u(),A=null;$!==O3&&(A=typeof s.response>"u"?s.responseText:s.response),$===0&&($=A?mN:0);let Ce=$>=200&&$<300;if(n.responseType==="json"&&typeof A=="string"){let he=A;A=A.replace(U3,"");try{A=A!==""?JSON.parse(A):null;}catch(Te){A=he,Ce&&(Ce=false,A={error:Te,text:A});}}Ce?(o.next(new Zc({body:A,headers:L,status:$,statusText:Me,url:Ye||void 0})),o.complete()):o.error(new Sr$1({error:A,headers:L,status:$,statusText:Me,url:Ye||void 0}));}),f=this.maybePropagateTrace(L=>{let{url:$}=u(),Me=new Sr$1({error:L,status:s.status||0,statusText:s.statusText||"Unknown Error",url:$||void 0});o.error(Me);}),p=f;n.timeout&&(p=this.maybePropagateTrace(L=>{let{url:$}=u(),Me=new Sr$1({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:$||void 0});o.error(Me);}));let g=false,v=this.maybePropagateTrace(L=>{g||(o.next(u()),g=true);let $={type:eo.DownloadProgress,loaded:L.loaded};L.lengthComputable&&($.total=L.total),n.responseType==="text"&&s.responseText&&($.partialText=s.responseText),o.next($);}),C=this.maybePropagateTrace(L=>{let $={type:eo.UploadProgress,loaded:L.loaded};L.lengthComputable&&($.total=L.total),o.next($);});s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",p),s.addEventListener("abort",f);let S=n.reportProgress||n.reportUploadProgress,M=n.reportProgress||n.reportDownloadProgress;return M&&s.addEventListener("progress",v),S&&a!==null&&s.upload&&s.upload.addEventListener("progress",C),s.send(a),o.next({type:eo.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",p),M&&s.removeEventListener("progress",v),S&&a!==null&&s.upload&&s.upload.removeEventListener("progress",C),s.readyState!==s.DONE&&s.abort();}})))}static \u0275fac=function(r){return new(r||e)(Z$1(rS))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),j3=new R$3("",{factory:()=>true}),H3="XSRF-TOKEN",$3=new R$3("",{factory:()=>H3}),z3="X-XSRF-TOKEN",q3=new R$3("",{factory:()=>z3}),W3=(()=>{class e{cookieName=h$5($3);doc=h$5(se$3);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=kd(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),bN=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=Z$1(W3),i},providedIn:"root"})}return e})();function Y3(e,t){if(!h$5(j3)||e.method==="GET"||e.method==="HEAD")return t(e);try{let i=h$5(Qi).href,{origin:o}=new URL(i),{origin:s}=new URL(e.url,o);if(o!==s)return t(e)}catch{return t(e)}let n=h$5(bN).getToken(),r=h$5(q3);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function G3(...e){let t=[Jc,Ym,Gm,{provide:_S,useExisting:Gm},{provide:vS,useFactory:()=>h$5(Ym)},{provide:yN,useValue:Y3,multi:true}];for(let n of e)t.push(...n.\u0275providers);return Ui(t)}var Bge=(()=>{class e{_doc=h$5(se$3);_dom=Jn();_cachedHead;addTag(n,r=false){return n?this._getOrCreateElement(n,r):null}addTags(n,r=false){return n.filter(i=>!!i).map(i=>this._getOrCreateElement(i,r))}getTag(n){if(!n)return null;let r=this._doc.querySelector(DN(n));return SN(r)?r:null}getTags(n){if(!n)return [];let r=this._doc.querySelectorAll(DN(n));return r?Array.from(r).filter(i=>SN(i)):[]}updateTag(n,r){r??=CN(n);let i=this.getTag(r);return i?(wN(n,i),i):this._getOrCreateElement(n,true)}removeTag(n){this.removeTagElement(this.getTag(n));}removeTagElement(n){n&&this._dom.remove(n);}_getOrCreateElement(n,r=false){if(!r){let s=CN(n),a=this.getTags(s).filter(c=>J3(n,c))[0];if(a!==void 0)return a}let i=this._dom.createElement("meta");return wN(n,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function DN(e){return `meta[${e}]`}function wN(e,t){Object.keys(e).forEach(n=>t.setAttribute(IN(n),e[n]));}function CN(e){let t=e.name?"name":"property";return `${t}=${Z3(String(e[t]))}`}function Z3(e){return `"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function J3(e,t){return Object.keys(e).every(n=>t.getAttribute(IN(n))===e[n])}function IN(e){return Q3[e]||e}function SN(e){return e?.nodeName.toLowerCase()==="meta"}var Q3={httpEquiv:"http-equiv"},EN=(()=>{class e{_doc;constructor(n){this._doc=n;}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||"";}static \u0275fac=function(r){return new(r||e)(Z$1(se$3))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var bS=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:function(r){let i=null;return r?i=new(r||e):i=Z$1(X3),i},providedIn:"root"})}return e})(),X3=(()=>{class e extends bS{_doc=h$5(se$3);sanitize(n,r){if(r==null)return null;switch(n){case Sn$1.NONE:return r;case Sn$1.HTML:return qr$1(r,"HTML")?Cn$1(r):Jh(this._doc,String(r)).toString();case Sn$1.STYLE:return qr$1(r,"Style")?Cn$1(r):r;case Sn$1.SCRIPT:if(qr$1(r,"Script"))return Cn$1(r);throw new P$4(5200,false);case Sn$1.URL:return qr$1(r,"URL")?Cn$1(r):ud(String(r));case Sn$1.RESOURCE_URL:if(qr$1(r,"ResourceURL"))return Cn$1(r);throw new P$4(-5201,false);default:throw new P$4(5202,false)}}bypassSecurityTrustHtml(n){return Mw(n)}bypassSecurityTrustStyle(n){return Rw(n)}bypassSecurityTrustScript(n){return Aw(n)}bypassSecurityTrustUrl(n){return Nw(n)}bypassSecurityTrustResourceUrl(n){return kw(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function l$3(e){return e!=null}function e8(e){for(var t=-1,n=e==null?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o);}return i}var TN=e8;var Zm,Jm,Qm,Xm,Ht$1=class e{static get window(){return Xm||window}static set mockedWindow(t){Xm=t;}static get screen(){return Qm||screen}static set mockedScreen(t){Qm=t;}static get navigator(){return Jm||this.window.navigator}static set mockedNavigator(t){Jm=t;}static get document(){return Zm||document}static set mockedDocument(t){Zm=t;}static get pathAndQuery(){return this.window.location.pathname+this.window.location.search}static clearMockedWindow(){Xm=null;}static clearMockedScreen(){Qm=null;}static clearMockedNavigator(){Jm=null;}static clearMockedDocument(){Zm=null;}static scrollIntoView(t,n,r=1e3,i="center",o="nearest",s=false){this.findElement(t,n,r,a=>
5{a.scrollIntoView&&(a.scrollIntoView({behavior:"smooth",block:i,inline:o}),s&&a.focus&&a.focus({preventScroll:true}));});}static focusAfterDelay(t,n,r=500){this.findElement(t,n,r,i=>{i.focus&&i.focus();});}static findElement(t,n,r,i,o){let s=!t&&n.startsWith("#")&&n.indexOf(" ")<0,a=2,c=()=>{let u=s?e.document.getElementById(n.substring(1)):(t||e.document).querySelector(n);u?i&&i(u):(a=a*2,a<r?setTimeout(c,a):o&&o());};setTimeout(c,a);}static isInsideIframe(){return this.window&&this.window.parent&&this.window.location!==this.window.parent.location}static redirect(t){this.window&&(this.window.location.href=t);}static redirectParent(t){this.isInsideIframe()?this.window.parent.location.href=t:this.redirect(t);}static openNewWindow(t){let n=e.window,r=e.screen;if(!n)return null;if(t.center&&t.width&&t.height&&r){let s=l$3(n.screenLeft)?n.screenLeft:r.left,a=l$3(n.screenTop)?n.screenTop:r.top,c=n.innerWidth||document.documentElement.clientWidth||r.width,u=n.innerHeight||document.documentElement.clientHeight||r.height;t.left=c/2-t.width/2+s,t.top=u/2-t.height/2+a;}let i=[t.width?`width=${t.width}`:"",t.height?`height=${t.height}`:"",t.top?`top=${t.top}`:"",t.left?`left=${t.left}`:"",t.displayStatusBar===true?"status=yes":"status=no",t.displayScrollbars===true?"scrollbars=yes":"scrollbars=no",t.allowResizing===true?"resizable=yes":"resizable=no",t.displayMenubar===true?"menubar=yes":"menubar=no",t.displayToolbar===true?"toolbar=yes":"toolbar=no"],o=n.open(t.url,t.name,TN(i).join(","));return o&&o.focus(),o}static openPrintWindow(t,n){n=`<h1 class="marginBottom15 heading1 ellipsis print-heading">${t}</h1>${n}`;let r=["<!DOCTYPE html>",'<html xmlns="http://www.w3.org/1999/xhtml" lang="en">',"<head>",` <title>${t}</title>`,' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',' <meta http-equiv="X-UA-Compatible" content="IE=Edge" />',' <meta name="viewport" content="width=device-width" />',' <link rel="SHORTCUT ICON" href="/favicon.ico" />',"</head>",'<body class="print">',n,"</body>","</html>"].join(""),i=e.openNewWindow({url:"",name:"Print",width:800,height:700,displayStatusBar:false,displayScrollbars:true,allowResizing:true,displayMenubar:false,displayToolbar:false,center:true});i&&(i.document.body.className==="print"&&(i.document.body.innerHTML=n),i.document.open(),i.document.write(r),i.document.close(),i.print());}};var Vn$1=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.value)&&(n.value=t.value),l$3(t.description)&&(n.description=t.description);}};var Km=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.environment)&&(n.environment=t.environment),l$3(t.googleTagManagerContainerId)&&(n.googleTagManagerContainerId=t.googleTagManagerContainerId),l$3(t.googleMapsApiKey)&&(n.googleMapsApiKey=t.googleMapsApiKey),l$3(t.googleMapsApiVersion)&&(n.googleMapsApiVersion=t.googleMapsApiVersion),l$3(t.googleMapsMapId)&&(n.googleMapsMapId=t.googleMapsMapId),l$3(t.facebookAppId)&&(n.facebookAppId=t.facebookAppId),l$3(t.supportPhoneNumber)&&(n.supportPhoneNumber=t.supportPhoneNumber),l$3(t.supportHours)&&(n.supportHours=t.supportHours),l$3(t.supportEmail)&&(n.supportEmail=t.supportEmail),l$3(t.enableAppcues)&&(n.enableAppcues=t.enableAppcues),l$3(t.enableSignUp)&&(n.enableSignUp=t.enableSignUp),l$3(t.authClientId)&&(n.authClientId=t.authClientId),l$3(t.authScope)&&(n.authScope=t.authScope),l$3(t.liveChatUrl)&&(n.liveChatUrl=t.liveChatUrl),l$3(t.websiteName)&&(n.websiteName=t.websiteName),l$3(t.iterationName)&&(n.iterationName=t.iterationName),l$3(t.reportsHistoryPollInterval)&&(n.reportsHistoryPollInterval=t.reportsHistoryPollInterval),l$3(t.marketActivityDaysFrom)&&(n.marketActivityDaysFrom=t.marketActivityDaysFrom),l$3(t.blogBaseUrl)&&(n.blogBaseUrl=t.blogBaseUrl),l$3(t.fusionChartsLicenseKey)&&(n.fusionChartsLicenseKey=t.fusionChartsLicenseKey),l$3(t.prodBaseMainRprSiteUrl)&&(n.prodBaseMainRprSiteUrl=t.prodBaseMainRprSiteUrl),l$3(t.legacyPropertyDetailsTabs)&&(n.legacyPropertyDetailsTabs=t.legacyPropertyDetailsTabs.slice()),l$3(t.reportGeneratorUrl)&&(n.reportGeneratorUrl=t.reportGeneratorUrl),l$3(t.suggestionsLocationInvokeMinCharCount)&&(n.suggestionsLocationInvokeMinCharCount=t.suggestionsLocationInvokeMinCharCount),l$3(t.placeSearchValidAddressTypes)&&(n.placeSearchValidAddressTypes=t.placeSearchValidAddressTypes.slice()),l$3(t.getSchoolsSuggestions)&&(n.getSchoolsSuggestions=t.getSchoolsSuggestions),l$3(t.getListingIdsApnsAndTaxIdsSuggestions)&&(n.getListingIdsApnsAndTaxIdsSuggestions=t.getListingIdsApnsAndTaxIdsSuggestions),l$3(t.getStreetsSuggestions)&&(n.getStreetsSuggestions=t.getStreetsSuggestions),l$3(t.getPlacesAreasAndPropertiesSuggestions)&&(n.getPlacesAreasAndPropertiesSuggestions=t.getPlacesAreasAndPropertiesSuggestions),l$3(t.unitedStatesPlaceId)&&(n.unitedStatesPlaceId=t.unitedStatesPlaceId),l$3(t.rollupRankingsEnabled)&&(n.rollupRankingsEnabled=t.rollupRankingsEnabled),l$3(t.reportsV2MaxUserTemplateCount)&&(n.reportsV2MaxUserTemplateCount=t.reportsV2MaxUserTemplateCount),l$3(t.reportsV2MyReportsThumbnailThrottleSize)&&(n.reportsV2MyReportsThumbnailThrottleSize=t.reportsV2MyReportsThumbnailThrottleSize),l$3(t.reportsV2UseMapPlaceholderInLivePreview)&&(n.reportsV2UseMapPlaceholderInLivePreview=t.reportsV2UseMapPlaceholderInLivePreview),l$3(t.reportsV2ForceStaticMaps)&&(n.reportsV2ForceStaticMaps=t.reportsV2ForceStaticMaps),l$3(t.reportsV2FailedDataCallsThreshold)&&(n.reportsV2FailedDataCallsThreshold=t.reportsV2FailedDataCallsThreshold),l$3(t.reportsV2RenderingDelayInMilliseconds)&&(n.reportsV2RenderingDelayInMilliseconds=t.reportsV2RenderingDelayInMilliseconds),l$3(t.rollupPropertyTypeLookups)&&(n.rollupPropertyTypeLookups=t.rollupPropertyTypeLookups.map(r=>new Vn$1(r))),l$3(t.genAiCmaEnabled)&&(n.genAiCmaEnabled=t.genAiCmaEnabled),l$3(t.genAiPropertyInsightsEnabled)&&(n.genAiPropertyInsightsEnabled=t.genAiPropertyInsightsEnabled),l$3(t.genAiScriptWriterEnabled)&&(n.genAiScriptWriterEnabled=t.genAiScriptWriterEnabled);}};var to=class extends Km{get isValid(){return !!this.authClientId}};var oa=(function(e){return e[e.Dev=1]="Dev",e[e.Int=2]="Int",e[e.Qa=3]="Qa",e[e.Ppd=4]="Ppd",e[e.Prod=5]="Prod",e[e.DevAspire=6]="DevAspire",e})(oa||{});function t8(){this.__data__=[],this.size=0;}var xN=t8;function n8(e,t){return e===t||e!==e&&t!==t}var Er$1=n8;function r8(e,t){for(var n=e.length;n--;)if(Er$1(e[n][0],t))return n;return -1}var Oo=r8;var i8=Array.prototype,o8=i8.splice;function s8(e){var t=this.__data__,n=Oo(t,e);if(n<0)return false;var r=t.length-1;return n==r?t.pop():o8.call(t,n,1),--this.size,true}var MN=s8;function a8(e){var t=this.__data__,n=Oo(t,e);return n<0?void 0:t[n][1]}var RN=a8;function c8(e){return Oo(this.__data__,e)>-1}var AN=c8;function l8(e,t){var n=this.__data__,r=Oo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var NN=l8;function Qc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}Qc.prototype.clear=xN;Qc.prototype.delete=MN;Qc.prototype.get=RN;Qc.prototype.has=AN;Qc.prototype.set=NN;var Po=Qc;function u8(){this.__data__=new Po,this.size=0;}var kN=u8;function d8(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var ON=d8;function f8(e){return this.__data__.get(e)}var PN=f8;function p8(e){return this.__data__.has(e)}var LN=p8;var h8=typeof global=="object"&&global&&global.Object===Object&&global,eg=h8;var m8=typeof self=="object"&&self&&self.Object===Object&&self,g8=eg||m8||Function("return this")(),$t$1=g8;var y8=$t$1.Symbol,Rn$1=y8;var FN=Object.prototype,v8=FN.hasOwnProperty,_8=FN.toString,Vd=Rn$1?Rn$1.toStringTag:void 0;function b8(e){var t=v8.call(e,Vd),n=e[Vd];try{e[Vd]=void 0;var r=!0;}catch{}var i=_8.call(e);return r&&(t?e[Vd]=n:delete e[Vd]),i}var BN=b8;var D8=Object.prototype,w8=D8.toString;function C8(e){return w8.call(e)}var UN=C8;
5var S8="[object Null]",I8="[object Undefined]",VN=Rn$1?Rn$1.toStringTag:void 0;function E8(e){return e==null?e===void 0?I8:S8:VN&&VN in Object(e)?BN(e):UN(e)}var Xn=E8;function T8(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Zt$1=T8;var x8="[object AsyncFunction]",M8="[object Function]",R8="[object GeneratorFunction]",A8="[object Proxy]";function N8(e){if(!Zt$1(e))return false;var t=Xn(e);return t==M8||t==R8||t==x8||t==A8}var Xc=N8;var k8=$t$1["__core-js_shared__"],tg=k8;var jN=(function(){var e=/[^.]+$/.exec(tg&&tg.keys&&tg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function O8(e){return !!jN&&jN in e}var HN=O8;var P8=Function.prototype,L8=P8.toString;function F8(e){if(e!=null){try{return L8.call(e)}catch{}try{return e+""}catch{}}return ""}var no=F8;var B8=/[\\^$.*+?()[\]{}|]/g,U8=/^\[object .+?Constructor\]$/,V8=Function.prototype,j8=Object.prototype,H8=V8.toString,$8=j8.hasOwnProperty,z8=RegExp("^"+H8.call($8).replace(B8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function q8(e){if(!Zt$1(e)||HN(e))return false;var t=Xc(e)?z8:U8;return t.test(no(e))}var $N=q8;function W8(e,t){return e?.[t]}var zN=W8;function Y8(e,t){var n=zN(e,t);return $N(n)?n:void 0}var jn=Y8;var G8=jn($t$1,"Map"),Lo=G8;var Z8=jn(Object,"create"),ro=Z8;function J8(){this.__data__=ro?ro(null):{},this.size=0;}var qN=J8;function Q8(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var WN=Q8;var X8="__lodash_hash_undefined__",K8=Object.prototype,eY=K8.hasOwnProperty;function tY(e){var t=this.__data__;if(ro){var n=t[e];return n===X8?void 0:n}return eY.call(t,e)?t[e]:void 0}var YN=tY;var nY=Object.prototype,rY=nY.hasOwnProperty;function iY(e){var t=this.__data__;return ro?t[e]!==void 0:rY.call(t,e)}var GN=iY;var oY="__lodash_hash_undefined__";function sY(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ro&&t===void 0?oY:t,this}var ZN=sY;function Kc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}Kc.prototype.clear=qN;Kc.prototype.delete=WN;Kc.prototype.get=YN;Kc.prototype.has=GN;Kc.prototype.set=ZN;var DS=Kc;function aY(){this.size=0,this.__data__={hash:new DS,map:new(Lo||Po),string:new DS};}var JN=aY;function cY(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var QN=cY;function lY(e,t){var n=e.__data__;return QN(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Fo=lY;function uY(e){var t=Fo(this,e).delete(e);return this.size-=t?1:0,t}var XN=uY;function dY(e){return Fo(this,e).get(e)}var KN=dY;function fY(e){return Fo(this,e).has(e)}var ek=fY;function pY(e,t){var n=Fo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var tk=pY;function el(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}el.prototype.clear=JN;el.prototype.delete=XN;el.prototype.get=KN;el.prototype.has=ek;el.prototype.set=tk;var sa=el;var hY=200;function mY(e,t){var n=this.__data__;if(n instanceof Po){var r=n.__data__;if(!Lo||r.length<hY-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new sa(r);}return n.set(e,t),this.size=n.size,this}var nk=mY;function tl(e){var t=this.__data__=new Po(e);this.size=t.size;}tl.prototype.clear=kN;tl.prototype.delete=ON;tl.prototype.get=PN;tl.prototype.has=LN;tl.prototype.set=nk;var Bo=tl;var gY=(function(){try{var e=jn(Object,"defineProperty");return e({},"",{}),e}catch{}})(),nl=gY;function yY(e,t,n){t=="__proto__"&&nl?nl(e,t,{configurable:true,enumerable:true,value:n,writable:true}):e[t]=n;}var rl=yY;function vY(e,t,n){(n!==void 0&&!Er$1(e[t],n)||n===void 0&&!(t in e))&&rl(e,t,n);}var jd=vY;function _Y(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++i];if(n(o[c],c,o)===false)break}return t}}var rk=_Y;var bY=rk(),ng=bY;var ak=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ik=ak&&typeof module=="object"&&module&&!module.nodeType&&module,DY=ik&&ik.exports===ak,ok=DY?$t$1.Buffer:void 0,sk=ok?ok.allocUnsafe:void 0;function wY(e,t){if(t)return e.slice();var n=e.length,r=sk?sk(n):new e.constructor(n);return e.copy(r),r}var ck=wY;var CY=$t$1.Uint8Array,il=CY;function SY(e){var t=new e.constructor(e.byteLength);return new il(t).set(new il(e)),t}var lk=SY;function IY(e,t){var n=t?lk(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var uk=IY;function EY(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var dk=EY;var fk=Object.create,TY=(function(){function e(){}return function(t){if(!Zt$1(t))return {};if(fk)return fk(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})(),pk=TY;function xY(e,t){return function(n){return e(t(n))}}var rg=xY;var MY=rg(Object.getPrototypeOf,Object),ig=MY;var RY=Object.prototype;function AY(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||RY;return e===n}var ol=AY;function NY(e){return typeof e.constructor=="function"&&!ol(e)?pk(ig(e)):{}}var hk=NY;function kY(e){return e!=null&&typeof e=="object"}var An$1=kY;var OY="[object Arguments]";function PY(e){return An$1(e)&&Xn(e)==OY}var wS=PY;var mk=Object.prototype,LY=mk.hasOwnProperty,FY=mk.propertyIsEnumerable,BY=wS((function(){return arguments})())?wS:function(e){return An$1(e)&&LY.call(e,"callee")&&!FY.call(e,"callee")},io=BY;
5var UY=Array.isArray,tt$1=UY;var VY=9007199254740991;function jY(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=VY}var sl=jY;function HY(e){return e!=null&&sl(e.length)&&!Xc(e)}var Hn$1=HY;function $Y(e){return An$1(e)&&Hn$1(e)}var gk=$Y;function zY(){return false}var yk=zY;var bk=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vk=bk&&typeof module=="object"&&module&&!module.nodeType&&module,qY=vk&&vk.exports===bk,_k=qY?$t$1.Buffer:void 0,WY=_k?_k.isBuffer:void 0,YY=WY||yk,aa=YY;var GY="[object Object]",ZY=Function.prototype,JY=Object.prototype,Dk=ZY.toString,QY=JY.hasOwnProperty,XY=Dk.call(Object);function KY(e){if(!An$1(e)||Xn(e)!=GY)return false;var t=ig(e);if(t===null)return true;var n=QY.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Dk.call(n)==XY}var wk=KY;var e5="[object Arguments]",t5="[object Array]",n5="[object Boolean]",r5="[object Date]",i5="[object Error]",o5="[object Function]",s5="[object Map]",a5="[object Number]",c5="[object Object]",l5="[object RegExp]",u5="[object Set]",d5="[object String]",f5="[object WeakMap]",p5="[object ArrayBuffer]",h5="[object DataView]",m5="[object Float32Array]",g5="[object Float64Array]",y5="[object Int8Array]",v5="[object Int16Array]",_5="[object Int32Array]",b5="[object Uint8Array]",D5="[object Uint8ClampedArray]",w5="[object Uint16Array]",C5="[object Uint32Array]",lt$1={};lt$1[m5]=lt$1[g5]=lt$1[y5]=lt$1[v5]=lt$1[_5]=lt$1[b5]=lt$1[D5]=lt$1[w5]=lt$1[C5]=true;lt$1[e5]=lt$1[t5]=lt$1[p5]=lt$1[n5]=lt$1[h5]=lt$1[r5]=lt$1[i5]=lt$1[o5]=lt$1[s5]=lt$1[a5]=lt$1[c5]=lt$1[l5]=lt$1[u5]=lt$1[d5]=lt$1[f5]=false;function S5(e){return An$1(e)&&sl(e.length)&&!!lt$1[Xn(e)]}var Ck=S5;function I5(e){return function(t){return e(t)}}var Sk=I5;var Ik=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Hd=Ik&&typeof module=="object"&&module&&!module.nodeType&&module,E5=Hd&&Hd.exports===Ik,CS=E5&&eg.process,T5=(function(){try{var e=Hd&&Hd.require&&Hd.require("util").types;return e||CS&&CS.binding&&CS.binding("util")}catch{}})(),SS=T5;var Ek=SS&&SS.isTypedArray,x5=Ek?Sk(Ek):Ck,al=x5;function M5(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var $d=M5;var R5=Object.prototype,A5=R5.hasOwnProperty;function N5(e,t,n){var r=e[t];(!(A5.call(e,t)&&Er$1(r,n))||n===void 0&&!(t in e))&&rl(e,t,n);}var Tk=N5;function k5(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],c=r?r(n[a],e[a],a,n,e):void 0;c===void 0&&(c=e[a]),i?rl(n,a,c):Tk(n,a,c);}return n}var xk=k5;function O5(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Mk=O5;var P5=9007199254740991,L5=/^(?:0|[1-9]\d*)$/;function F5(e,t){var n=typeof e;return t=t??P5,!!t&&(n=="number"||n!="symbol"&&L5.test(e))&&e>-1&&e%1==0&&e<t}var cl=F5;var B5=Object.prototype,U5=B5.hasOwnProperty;function V5(e,t){var n=tt$1(e),r=!n&&io(e),i=!n&&!r&&aa(e),o=!n&&!r&&!i&&al(e),s=n||r||i||o,a=s?Mk(e.length,String):[],c=a.length;for(var u in e)(t||U5.call(e,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||cl(u,c)))&&a.push(u);return a}var og=V5;function j5(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Rk=j5;var H5=Object.prototype,$5=H5.hasOwnProperty;function z5(e){if(!Zt$1(e))return Rk(e);var t=ol(e),n=[];for(var r in e)r=="constructor"&&(t||!$5.call(e,r))||n.push(r);return n}var Ak=z5;function q5(e){return Hn$1(e)?og(e,true):Ak(e)}var ll=q5;function W5(e){return xk(e,ll(e))}var Nk=W5;function Y5(e,t,n,r,i,o,s){var a=$d(e,n),c=$d(t,n),u=s.get(c);if(u){jd(e,n,u);return}var d=o?o(a,c,n+"",e,t,s):void 0,f=d===void 0;if(f){var p=tt$1(c),g=!p&&aa(c),v=!p&&!g&&al(c);d=c,p||g||v?tt$1(a)?d=a:gk(a)?d=dk(a):g?(f=false,d=ck(c,true)):v?(f=false,d=uk(c,true)):d=[]:wk(c)||io(c)?(d=a,io(a)?d=Nk(a):(!Zt$1(a)||Xc(a))&&(d=hk(c))):f=false;}f&&(s.set(c,d),i(d,c,r,o,s),s.delete(c)),jd(e,n,d);}var kk=Y5;function Ok(e,t,n,r,i){e!==t&&ng(t,function(o,s){if(i||(i=new Bo),Zt$1(o))kk(e,t,s,n,Ok,r,i);else {var a=r?r($d(e,s),o,s+"",e,t,i):void 0;a===void 0&&(a=o),jd(e,s,a);}},ll);}var Pk=Ok;function G5(e){return e}var ul=G5;function Z5(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Lk=Z5;var Fk=Math.max;function J5(e,t,n){return t=Fk(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Fk(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(s),Lk(e,this,a)}}var Bk=J5;function Q5(e){return function(){return e}}var Uk=Q5;var X5=nl?function(e,t){return nl(e,"toString",{configurable:true,enumerable:false,value:Uk(t),writable:true})}:ul,Vk=X5;var K5=800,eG=16,tG=Date.now;function nG(e){var t=0,n=0;return function(){var r=tG(),i=eG-(r-n);if(n=r,i>0){if(++t>=K5)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var jk=nG;var rG=jk(Vk),Hk=rG;function iG(e,t){return Hk(Bk(e,t,ul),e+"")}var sg=iG;
5function oG(e,t,n){if(!Zt$1(n))return false;var r=typeof t;return (r=="number"?Hn$1(n)&&cl(t,n.length):r=="string"&&t in n)?Er$1(n[t],e):false}var ag=oG;function sG(e){return sg(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,s&&ag(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,o);}return t})}var $k=sG;var aG=$k(function(e,t,n){Pk(e,t,n);}),zk=aG;var qk=Ht$1.navigator&&Ht$1.navigator.userAgent||"",Uo=qk.toLowerCase(),cg=class{get globalPrivacyControl(){return !!window.navigator.globalPrivacyControl}constructor(t){this.isMobileWebView=Uo.indexOf("disable-smart-banner")>=0,this.isMobileDevice=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS|EdgiOS|FxiOS|Windows Phone/i.test(qk)||this.isMobileWebView,this.isBrowserChrome=Uo.indexOf("chrome")>=0&&Uo.indexOf("edge")===-1&&Uo.indexOf("edg/")===-1,this.isBrowserEdge=Uo.indexOf("edge")>=0||Uo.indexOf("edg/")>=0,this.isBrowserSafari=Uo.indexOf("safari")>=0&&Uo.indexOf("chrome")===-1,this.baseDomain="narrpr.com",this.authSubdomain="auth",this.apiSubdomain="webapi",this.serviceApiSubdomain="serviceapi",this.ssoPortalSubdomain="ssoportal",t&&zk(this,t),this.calculateDefaults();}calculateDefaults(){let t=Ht$1.window;if(!t||!t.location)return;let n=t.location.host;if((n===this.baseDomain||n===`www.${this.baseDomain}`||n===`${this.authSubdomain}.${this.baseDomain}`)&&(this.name="prod"),!this.name&&n){let r=n.split(`.${this.baseDomain}`)[0].toLowerCase();this.name=r.startsWith(`${this.authSubdomain}-`)?r.substring(`${this.authSubdomain}-`.length):r;}this.name||(this.name="dev"),this.config||(this.config=new to({websiteName:"Realtors Property Resource",environment:this.environmentNameToRprEnvironment(this.name)})),l$3(this.deployed)||(this.deployed=this.name!=="dev"&&this.name!=="devAspire"),l$3(this.disableSaveChangesConfirmation)||(this.disableSaveChangesConfirmation=false),l$3(this.disableDiscardChangesConfirmation)||(this.disableDiscardChangesConfirmation=false),l$3(this.disableVersionCheck)||(this.disableVersionCheck=false),l$3(this.detailedLogging)||(this.detailedLogging=this.name!=="prod"),l$3(this.mainSiteBaseUrl)||(this.mainSiteBaseUrl=this.buildBaseUrl("")),l$3(this.authBaseUrl)||(this.authBaseUrl=this.buildBaseUrl(this.authSubdomain)),l$3(this.apiBaseUrl)||(this.apiBaseUrl=this.buildBaseUrl(this.apiSubdomain)),l$3(this.serviceApiBaseUrl)||(this.serviceApiBaseUrl=this.buildBaseUrl(this.serviceApiSubdomain)),!l$3(this.ssoPortalBaseUrl)&&this.name!=="prod"&&(this.ssoPortalBaseUrl=this.buildBaseUrl(this.ssoPortalSubdomain)),l$3(this.isAuthSite)||(this.isAuthSite=t.location.origin===this.authBaseUrl);}buildBaseUrl(t){if(this.name==="devAspire")switch(t){case "":return "https://dev.narrpr.com";case this.authSubdomain:return "https://auth-dev.narrpr.com:3002";case this.apiSubdomain:return "https://webapi-dev.narrpr.com:3003";case this.serviceApiSubdomain:return "https://serviceapi-dev.narrpr.com:3007";case this.ssoPortalSubdomain:return "https://ssoportal-dev.narrpr.com:3006";default:throw new Error(`Unknown subdomain: ${t}`)}let n=this.name==="prod"?`${t||"www"}.${this.baseDomain}`:`${(t?`${t}-`:"")+this.name}.${this.baseDomain}`;return n==="serviceapi-int-ext-secret.narrpr.com"&&(n="serviceapi-int.narrpr.com"),`https://${n}`}environmentNameToRprEnvironment(t){switch(t){case "prod":return oa.Prod;case "ppd":return oa.Ppd;case "qa":return oa.Qa;case "int":return oa.Int;default:return oa.Dev}}};var E$4=new cg;var ye$3="primary",nf=Symbol("RouteTitle"),MS=class{params;constructor(t){this.params=t||{};}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return []}get keys(){return Object.keys(this.params)}};function la(e){return new MS(e)}function IS(e,t,n){for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(i[0]===":")n[i.substring(1)]=o;else if(i!==o.path)return false}return true}function Kk(e,t,n){let r=n.path.split("/"),i=r.indexOf("**");if(i===-1){if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;
5let c={},u=e.slice(0,r.length);return IS(r,u,c)?{consumed:u,posParams:c}:null}if(i!==r.lastIndexOf("**"))return null;let o=r.slice(0,i),s=r.slice(i+1);if(o.length+s.length>e.length||n.pathMatch==="full"&&t.hasChildren()&&n.path!=="**")return null;let a={};return !IS(o,e.slice(0,o.length),a)||!IS(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function hg(e){return new Promise((t,n)=>{e.pipe(ai()).subscribe({next:r=>t(r),error:r=>n(r)});})}function cG(e,t){if(e.length!==t.length)return false;for(let n=0;n<e.length;++n)if(!Ci(e[n],t[n]))return false;return true}function Ci(e,t){let n=e?RS(e):void 0,r=t?RS(t):void 0;if(!n||!r||n.length!=r.length)return false;let i;for(let o=0;o<n.length;o++)if(i=n[o],!eO(e[i],t[i]))return false;return true}function RS(e){return [...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function eO(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return false;let n=[...e].sort(),r=[...t].sort();return n.every((i,o)=>r[o]===i)}else return e===t}function lG(e){return e.length>0?e[e.length-1]:null}function da(e){return Cu(e)?e:Gi(e)?Re$1(Promise.resolve(e)):N$4(e)}function tO(e){return Cu(e)?hg(e):Promise.resolve(e)}var uG={exact:rO,subset:iO},nO={exact:dG,subset:fG,ignored:()=>true},zS={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Gd={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function qS(e,t,n){let r=e instanceof Nn$1?e:t.parseUrl(e);return Et(()=>AS(t.lastSuccessfulNavigation()?.finalUrl??new Nn$1,r,r$2(r$2({},Gd),n)))}function AS(e,t,n){return uG[n.paths](e.root,t.root,n.matrixParams)&&nO[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function dG(e,t){return Ci(e,t)}function rO(e,t,n){if(!ca(e.segments,t.segments)||!dg(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return false;for(let r in t.children)if(!e.children[r]||!rO(e.children[r],t.children[r],n))return false;return true}function fG(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>eO(e[n],t[n]))}function iO(e,t,n){return oO(e,t,t.segments,n)}function oO(e,t,n,r){if(e.segments.length>n.length){let i=e.segments.slice(0,n.length);return !(!ca(i,n)||t.hasChildren()||!dg(i,n,r))}else if(e.segments.length===n.length){if(!ca(e.segments,n)||!dg(e.segments,n,r))return false;for(let i in t.children)if(!e.children[i]||!iO(e.children[i],t.children[i],r))return false;return true}else {let i=n.slice(0,e.segments.length),o=n.slice(e.segments.length);return !ca(e.segments,i)||!dg(e.segments,i,r)||!e.children[ye$3]?false:oO(e.children[ye$3],t,o,r)}}function dg(e,t,n){return t.every((r,i)=>nO[n](e[i].parameters,r.parameters))}var Nn$1=class Nn{root;queryParams;fragment;_queryParamMap;constructor(t=new qe([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r;}get queryParamMap(){return this._queryParamMap??=la(this.queryParams),this._queryParamMap}toString(){return mG.serialize(this)}},qe=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this);}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fg(this)}},Vo=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n;}get parameterMap(){return this._parameterMap??=la(this.parameters),this._parameterMap}toString(){return aO(this)}};function pG(e,t){return ca(e,t)&&e.every((n,r)=>Ci(n.parameters,t[r].parameters))}function ca(e,t){return e.length!==t.length?false:e.every((n,r)=>n.path===t[r].path)}function hG(e,t){let n=[];return Object.entries(e.children).forEach(([r,i])=>{r===ye$3&&(n=n.concat(t(i,r)));}),Object.entries(e.children).forEach(([r,i])=>{r!==ye$3&&(n=n.concat(t(i,r)));}),n}var $o=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>new so})}return e})(),so=class{parse(t){let n=new kS(t);return new Nn$1(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${zd(t.root,true)}`,r=vG(t.queryParams),i=typeof t.fragment=="string"?`#${gG(t.fragment)}`:"";return `${n}${r}${i}`}},mG=new so;function fg(e){return e.segments.map(t=>aO(t)).join("/")}function zd(e,t){if(!e.hasChildren())return fg(e);if(t){let n=e.children[ye$3]?zd(e.children[ye$3],false):"",r=[];
5return Object.entries(e.children).forEach(([i,o])=>{i!==ye$3&&r.push(`${i}:${zd(o,false)}`);}),r.length>0?`${n}(${r.join("//")})`:n}else {let n=hG(e,(r,i)=>i===ye$3?[zd(e.children[ye$3],false)]:[`${i}:${zd(r,false)}`]);return Object.keys(e.children).length===1&&e.children[ye$3]!=null?`${fg(e)}/${n[0]}`:`${fg(e)}/(${n.join("//")})`}}function sO(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lg(e){return sO(e).replace(/%3B/gi,";")}function gG(e){return encodeURI(e)}function NS(e){return sO(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pg(e){return decodeURIComponent(e)}function Wk(e){return pg(e.replace(/\+/g,"%20"))}function aO(e){return `${NS(e.path)}${yG(e.parameters)}`}function yG(e){return Object.entries(e).map(([t,n])=>`;${NS(t)}=${NS(n)}`).join("")}function vG(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(i=>`${lg(n)}=${lg(i)}`).join("&"):`${lg(n)}=${lg(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var _G=/^[^\/()?;#]+/;function ES(e){let t=e.match(_G);return t?t[0]:""}var bG=/^[^\/()?;=#]+/;function DG(e){let t=e.match(bG);return t?t[0]:""}var wG=/^[^=?&#]+/;function CG(e){let t=e.match(wG);return t?t[0]:""}var SG=/^[^&#]+/;function IG(e){let t=e.match(SG);return t?t[0]:""}var kS=class{url;remaining;constructor(t){this.url=t,this.remaining=t;}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new qe([],{}):new qe([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new P$4(4010,false);if(this.remaining==="")return {};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(true,t));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(false,t)),(n.length>0||Object.keys(r).length>0)&&(i[ye$3]=new qe(n,r)),i}parseSegment(){let t=ES(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new P$4(4009,false);return this.capture(t),new Vo(pg(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=DG(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=ES(this.remaining);i&&(r=i,this.capture(r));}t[pg(n)]=pg(r);}parseQueryParam(t){let n=CG(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=IG(this.remaining);s&&(r=s,this.capture(r));}let i=Wk(n),o=Wk(r);if(Object.hasOwn(t,i)){let s=t[i];Array.isArray(s)||(s=[s],t[i]=s),s.push(o);}else t[i]=o;}parseParens(t,n){let r=Object.create(null);for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=ES(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new P$4(4010,false);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=ye$3);let a=this.parseChildren(n+1);r[s??ye$3]=Object.keys(a).length===1&&a[ye$3]?a[ye$3]:new qe([],a),this.consumeOptional("//");}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),true):false}capture(t){if(!this.consumeOptional(t))throw new P$4(4011,false)}};function cO(e){return e.segments.length>0?new qe([],{[ye$3]:e}):e}function lO(e){let t=Object.create(null);for(let[r,i]of Object.entries(e.children)){let o=lO(i);if(r===ye$3&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else (o.segments.length>0||o.hasChildren())&&(t[r]=o);}let n=new qe(e.segments,t);return EG(n)}function EG(e){if(e.numberOfChildren===1&&e.children[ye$3]){let t=e.children[ye$3];return new qe(e.segments.concat(t.segments),t.children)}return e}function jo(e){return e instanceof Nn$1}function uO(e,t,n=null,r=null,i=new so){let o=dO(e);return fO(o,t,n,r,i)}function dO(e){let t;function n(o){let s={};for(let c of o.children){let u=n(c);s[c.outlet]=u;}let a=new qe(o.url,s);return o===e&&(t=a),a}let r=n(e.root),i=cO(r);return t??i}function fO(e,t,n,r,i){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return TS(o,o,o,n,r,i);let s=TG(t);if(s.toRoot())return TS(o,o,new qe([],{}),n,r,i);let a=xG(s,o,e),c=a.processChildren?Wd(a.segmentGroup,a.index,s.commands):hO(a.segmentGroup,a.index,s.commands);return TS(o,a.segmentGroup,c,n,r,i)}function mg(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Zd(e){return typeof e=="object"&&e!=null&&e.outlets}function Yk(e,t,n){e||="\u0275";let r=new Nn$1;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function TS(e,t,n,r,i,o){let s={};for(let[u,d]of Object.entries(r??{}))s[u]=Array.isArray(d)?d.map(f=>Yk(u,f,o)):Yk(u,d,o);let a;e===t?a=n:a=pO(e,t,n);let c=cO(lO(a));return new Nn$1(c,s,i)}function pO(e,t,n){let r=Object.create(null);
5return Object.entries(e.children).forEach(([i,o])=>{o===t?r[i]=n:r[i]=pO(o,t,n);}),new qe(e.segments,r)}var gg=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&mg(r[0]))throw new P$4(4003,false);let i=r.find(Zd);if(i&&i!==lG(r))throw new P$4(4004,false)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function TG(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new gg(true,0,e);let t=0,n=false,r=e.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u;}),[...i,{outlets:a}]}if(o.segmentPath)return [...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=true:a===".."?t++:a!=""&&i.push(a));}),i):[...i,o]},[]);return new gg(n,t,r)}var fl=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r;}};function xG(e,t,n){if(e.isAbsolute)return new fl(t,true,0);if(!n)return new fl(t,false,NaN);if(n.parent===null)return new fl(n,true,0);let r=mg(e.commands[0])?0:1,i=n.segments.length-1+r;return MG(n,i,e.numberOfDoubleDots)}function MG(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new P$4(4005,false);i=r.segments.length;}return new fl(r,false,i-o)}function RG(e){return Zd(e[0])?e[0].outlets:{[ye$3]:e}}function hO(e,t,n){if(e??=new qe([],{}),e.segments.length===0&&e.hasChildren())return Wd(e,t,n);let r=AG(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let o=new qe(e.segments.slice(0,r.pathIndex),{});return o.children[ye$3]=new qe(e.segments.slice(r.pathIndex),e.children),Wd(o,0,i)}else return r.match&&i.length===0?new qe(e.segments,{}):r.match&&!e.hasChildren()?OS(e,t,n):r.match?Wd(e,0,i):OS(e,t,n)}function Wd(e,t,n){if(n.length===0)return new qe(e.segments,{});{let r=RG(n),i=Object.create(null);if(Object.keys(r).some(o=>o!==ye$3)&&e.children[ye$3]&&e.numberOfChildren===1&&e.children[ye$3].segments.length===0){let o=Wd(e.children[ye$3],t,n);return new qe(e.segments,o.children)}return Object.entries(r).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=hO(e.children[o],t,s));}),Object.entries(e.children).forEach(([o,s])=>{r[o]===void 0&&(i[o]=s);}),new qe(e.segments,i)}}function AG(e,t,n){let r=0,i=t,o={match:false,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;let s=e.segments[i],a=n[r];if(Zd(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Zk(c,u,s))return o;r+=2;}else {if(!Zk(c,{},s))return o;r++;}i++;}return {match:true,pathIndex:i,commandIndex:r}}function OS(e,t,n){let r=e.segments.slice(0,t),i=0;for(;i<n.length;){let o=n[i];if(Zd(o)){let c=NG(o.outlets);return new qe(r,c)}if(i===0&&mg(n[0])){let c=e.segments[t];r.push(new Vo(c.path,Gk(n[0]))),i++;continue}let s=Zd(o)?o.outlets[ye$3]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&mg(a)?(r.push(new Vo(s,Gk(a))),i+=2):(r.push(new Vo(s,{})),i++);}return new qe(r,{})}function NG(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=OS(new qe([],{}),0,r));}),t}function Gk(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Zk(e,t,n){return e==n.path&&Ci(t,n.parameters)}var pl="imperative",Jt$1=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Jt$1||{}),er=class{id;url;constructor(t,n){this.id=t,this.url=n;}},Ho=class extends er{type=Jt$1.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",i=null){super(t,n),this.navigationTrigger=r,this.restoredState=i;}toString(){return `NavigationStart(id: ${this.id}, url: '${this.url}')`}},tr=class extends er{urlAfterRedirects;type=Jt$1.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r;}toString(){return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pn=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
5solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(pn||{}),ml=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(ml||{}),Tr$1=class Tr extends er{reason;code;type=Jt$1.NavigationCancel;constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i;}toString(){return `NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function mO(e){return e instanceof Tr$1&&(e.code===pn.Redirect||e.code===pn.SupersededByNewNavigation)}var Si=class extends er{reason;code;type=Jt$1.NavigationSkipped;constructor(t,n,r,i){super(t,n),this.reason=r,this.code=i;}},ua=class extends er{error;target;type=Jt$1.NavigationError;constructor(t,n,r,i){super(t,n),this.error=r,this.target=i;}toString(){return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Jd=class extends er{urlAfterRedirects;state;type=Jt$1.RoutesRecognized;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i;}toString(){return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yg=class extends er{urlAfterRedirects;state;type=Jt$1.GuardsCheckStart;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i;}toString(){return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vg=class extends er{urlAfterRedirects;state;shouldActivate;type=Jt$1.GuardsCheckEnd;constructor(t,n,r,i,o){super(t,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o;}toString(){return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_g=class extends er{urlAfterRedirects;state;type=Jt$1.ResolveStart;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i;}toString(){return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bg=class extends er{urlAfterRedirects;state;type=Jt$1.ResolveEnd;constructor(t,n,r,i){super(t,n),this.urlAfterRedirects=r,this.state=i;}toString(){return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dg=class{route;type=Jt$1.RouteConfigLoadStart;constructor(t){this.route=t;}toString(){return `RouteConfigLoadStart(path: ${this.route.path})`}},wg=class{route;type=Jt$1.RouteConfigLoadEnd;constructor(t){this.route=t;}toString(){return `RouteConfigLoadEnd(path: ${this.route.path})`}},Cg=class{snapshot;type=Jt$1.ChildActivationStart;constructor(t){this.snapshot=t;}toString(){return `ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sg=class{snapshot;type=Jt$1.ChildActivationEnd;constructor(t){this.snapshot=t;}toString(){return `ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ig=class{snapshot;type=Jt$1.ActivationStart;constructor(t){this.snapshot=t;}toString(){return `ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Eg=class{snapshot;type=Jt$1.ActivationEnd;constructor(t){this.snapshot=t;}toString(){return `ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},gl=class{routerEvent;position;anchor;scrollBehavior;type=Jt$1.Scroll;constructor(t,n,r,i){this.routerEvent=t,this.position=n,this.anchor=r,this.scrollBehavior=i;}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return `Scroll(anchor: '${this.anchor}', position: '${t}')`}},yl=class{},Qd=class{},vl=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n;}};function kG(e){return !(e instanceof yl)&&!(e instanceof vl)&&!(e instanceof Qd)}var Tg=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new fa(this.rootInjector);}},fa=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n;}onChildOutletCreated(n,r){let i=this.getOrCreateContext(n);i.outlet=r,this.contexts.set(n,i);}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null);}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n;}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Tg(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(Z$1($e$1))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xg=class{_root;constructor(t){this._root=t;}get root(){return this._root.value}
5parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=PS(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=PS(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=LS(t,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return LS(t,this._root).map(n=>n.value)}};function PS(e,t){if(e===t.value)return t;for(let n of t.children){let r=PS(e,n);if(r)return r}return null}function LS(e,t){if(e===t.value)return [t];for(let n of t.children){let r=LS(e,n);if(r.length)return r.unshift(t),r}return []}var Kn=class{value;children;constructor(t,n){this.value=t,this.children=n;}toString(){return `TreeNode(${this.value})`}};function dl(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Xd=class extends xg{snapshot;constructor(t,n){super(t),this.snapshot=n,YS(this,t);}toString(){return this.snapshot.toString()}};function gO(e,t){let n=OG(e,t),r=new zt([new Vo("",{})]),i=new zt({}),o=new zt({}),s=new zt({}),a=new zt(""),c=new Ii(r,i,s,a,o,ye$3,e,n.root);return c.snapshot=n.root,new Xd(new Kn(c,[]),n)}function OG(e,t){let n={},r={},i={},s=new _l([],n,i,"",r,ye$3,e,null,{},t);return new Kd("",new Kn(s,[]))}var Ii=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;_localInjector;constructor(t,n,r,i,o,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T$3(u=>u[nf]))??N$4(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o;}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(T$3(t=>la(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T$3(t=>la(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}},PG="always";function WS(e,t,n){let r,{routeConfig:i}=e;return t!==null&&(n==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:r$2(r$2({},t.params),e.params),data:r$2(r$2({},t.data),e.data),resolve:r$2(r$2(r$2(r$2({},e.data),t.data),i?.data),e._resolvedData)}:r={params:r$2({},e.params),data:r$2({},e.data),resolve:r$2(r$2({},e.data),e._resolvedData??{})},i&&vO(i)&&(r.resolve[nf]=i.title),r}var _l=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[nf]}constructor(t,n,r,i,o,s,a,c,u,d){this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=d;}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=la(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=la(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return `Route(url:'${t}', path:'${n}')`}},Kd=class extends xg{url;constructor(t,n){super(n),this.url=t,YS(this,n);}toString(){return yO(this._root)}};function YS(e,t){t.value._routerState=e,t.children.forEach(n=>YS(e,n));}function yO(e){let t=e.children.length>0?` { ${e.children.map(yO).join(", ")} } `:"";return `${e.value}${t}`}function xS(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ci(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ci(t.params,n.params)||e.paramsSubject.next(n.params),cG(t.url,n.url)||e.urlSubject.next(n.url),Ci(t.data,n.data)||e.dataSubject.next(n.data);}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data);}function FS(e,t){let n=Ci(e.params,t.params)&&pG(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||FS(e.parent,t.parent))}
5function vO(e){return typeof e.title=="string"||e.title===null}var _O=new R$3(""),GS=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=ye$3;activateEvents=new de$4;deactivateEvents=new de$4;attachEvents=new de$4;detachEvents=new de$4;routerOutletData=Cm();parentContexts=h$5(fa);location=h$5(ln$1);changeDetector=h$5(dn$1);inputBinder=h$5(rf,{optional:true});supportsBindingToComponentInputs=true;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:i}=n.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName();}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this);}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName();}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector));}get isActivated(){return !!this.activated}
5get component(){if(!this.activated)throw new P$4(4012,false);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new P$4(4012,false);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new P$4(4012,false);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance);}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n);}}activateWith(n,r){if(this.isActivated)throw new P$4(4013,false);this._activatedRoute=n;let i=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new BS(n,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ct$1]})}return e})(),BS=class{route;childContexts;parent;outletData;constructor(t,n,r,i){this.route=t,this.childContexts=n,this.parent=r,this.outletData=i;}get(t,n){return t===Ii?this.route:t===fa?this.childContexts:t===_O?this.outletData:this.parent.get(t,n)}},rf=new R$3(""),bO=(()=>{class e{options;outletDataSubscriptions=new Map;outletSeenKeys=new Map;constructor(n){this.options=n,this.options.queryParams??=true;}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n);}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n),this.outletSeenKeys.delete(n);}subscribeToRouteData(n){let{activatedRoute:r}=n,i=oc([this.options.queryParams?r.queryParams:N$4({}),r.params,r.data]).pipe(en$1(([o,s,a],c)=>(a=r$2(r$2(r$2({},o),s),a),c===0?N$4(a):Promise.resolve(a)))).subscribe(o=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=DA(r.component);if(!s){this.unsubscribeFromRouteData(n);return}let a=this.outletSeenKeys.get(n);a||(a=new Set,this.outletSeenKeys.set(n,a));for(let u of Object.keys(o))a.add(u);let c=this.options.unmatchedInputBehavior??"alwaysUndefined";for(let{templateName:u}of s.inputs){let d=o[u];(d!==void 0||c==="alwaysUndefined"||a.has(u))&&n.activatedComponentRef.setInput(u,d);}});this.outletDataSubscriptions.set(n,i);}static \u0275fac=function(r){hd();};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})(),ZS=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,i){r&1&&Bn$1(0,"router-outlet");},dependencies:[GS],encapsulation:2,changeDetection:1})}return e})();function JS(e){let t=e.children&&e.children.map(JS),n=t?s$6(r$2({},e),{children:t}):r$2({},e);return !n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==ye$3&&(n.component=ZS),n}function LG(e,t,n){let r=new Set,i=ef(e,t._root,n?n._root:void 0,r);return {newlyCreatedRoutes:r,state:new Xd(i,t)}}function ef(e,t,n,r){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let i=n.value;i._futureSnapshot=t.value;let o=FG(e,t,n,r);return new Kn(i,o)}else {if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let a=s.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(c=>ef(e,c,void 0,r)),a}}let i=BG(t.value);r.add(i);let o=t.children.map(s=>ef(e,s,void 0,r));return new Kn(i,o)}}function FG(e,t,n,r){return t.children.map(i=>{for(let o of n.children)if(e.shouldReuseRoute(i.value,o.value.snapshot))return ef(e,i,o,r);return ef(e,i,void 0,r)})}function BG(e){return new Ii(new zt(e.url),new zt(e.params),new zt(e.queryParams),new zt(e.fragment),new zt(e.data),e.outlet,e.component,e)}var bl=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n;}},DO="ngNavigationCancelingError";function Mg(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=jo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=wO(false,pn.Redirect);return i.url=n,i.navigationBehaviorOptions=r,i}function wO(e,t){let n=new Error(`NavigationCancelingError: ${""}`);return n[DO]=true,n.cancellationCode=t,n}function UG(e){return CO(e)&&jo(e.url)}function CO(e){return !!e&&e[DO]}var US=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,i,o){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o;}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),xS(this.futureState.root),this.activateChildRoutes(n,r,t);}deactivateChildRoutes(t,n,r){let i=dl(n);
5t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s];}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r);});}deactivateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(i===o)if(i.component){let s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(t,n,s.children);}else this.deactivateChildRoutes(t,n,r);else o&&this.deactivateRouteAndItsChildren(n,r);}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n);}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=dl(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a});}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),i=r&&t.value.component?r.children:n,o=dl(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),t.value._localInjector?.destroy();}activateChildRoutes(t,n,r){let i=dl(n);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new Eg(o.value.snapshot));}),t.children.length&&this.forwardEvent(new Sg(t.value.snapshot));}activateRoutes(t,n,r){let i=t.value,o=n?n.value:null;if(xS(i),i===o)if(i.component){let s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(t,n,s.children);}else this.activateChildRoutes(t,n,r);else if(i.component){let s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),xS(a.route.value),this.activateChildRoutes(t,null,s.children);}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(t,null,s.children);}else this.activateChildRoutes(t,null,r);}},Rg=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1];}},hl=class{component;route;constructor(t,n){this.component=t,this.route=n;}};function VG(e,t,n){let r=e._root,i=t?t._root:null;return qd(r,i,n,[r.value])}function jG(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return !t||t.length===0?null:{node:e,guards:t}}function wl(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Pb(e)?e:t.get(e):r}function qd(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=dl(t);return e.children.forEach(s=>{HG(s,o[s.value.outlet],n,r.concat([s.value]),i),delete o[s.value.outlet];}),Object.entries(o).forEach(([s,a])=>Yd(a,n.getContext(s),i)),i}function HG(e,t,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=$G(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Rg(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qd(e,t,a?a.children:null,r,i):qd(e,t,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new hl(a.outlet.component,s));}else s&&Yd(t,a,i),i.canActivateChecks.push(new Rg(r)),o.component?qd(e,null,a?a.children:null,r,i):qd(e,null,n,r,i);return i}function $G(e,t,n){if(typeof n=="function")return Wt(t._environmentInjector,()=>n(e,t));switch(n){case "pathParamsChange":return !ca(e.url,t.url);case "pathParamsOrQueryParamsChange":return !ca(e.url,t.url)||!Ci(e.queryParams,t.queryParams);case "always":return true;case "paramsOrQueryParamsChange":return !FS(e,t)||!Ci(e.queryParams,t.queryParams);default:return !FS(e,t)}}function Yd(e,t,n){let r=dl(e),i=e.value;Object.entries(r).forEach(([o,s])=>{i.component?t?Yd(s,t.children.getContext(o),n):Yd(s,null,n):Yd(s,t,n);}),i.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new hl(t.outlet.component,i)):n.canDeactivateChecks.push(new hl(null,i)):n.canDeactivateChecks.push(new hl(null,i));}function of(e){return typeof e=="function"}function zG(e){return typeof e=="boolean"}function qG(e){return e&&of(e.canLoad)}function WG(e){return e&&of(e.canActivate)}function YG(e){return e&&of(e.canActivateChild)}function GG(e){return e&&of(e.canDeactivate)}function ZG(e){return e&&of(e.canMatch)}function SO(e){return e instanceof ki||e?.name==="EmptyError"}var ug=Symbol("INITIAL_VALUE");function Dl(){return en$1(e=>oc(e.map(t=>t.pipe(it$1(1),Br$1(ug)))).pipe(T$3(t=>{for(let n of t)if(n!==true){if(n===ug)return ug;if(n===false||JG(n))return n}return true}),Ne$1(t=>t!==ug),it$1(1)))}function JG(e){return jo(e)||e instanceof bl}function IO(e){return e.aborted?N$4(void 0).pipe(it$1(1)):new ae$3(t=>{let n=()=>{t.next(),t.complete();};return e.addEventListener("abort",n),()=>e.removeEventListener("abort",n)})}function EO(e){return ft$2(IO(e))}function QG(e){return Be(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=t;return o.length===0&&i.length===0?N$4(s$6(r$2({},t),{guardsResult:true})):XG(o,n,r).pipe(Be(s=>s&&zG(s)?KG(n,i,e):N$4(s)),T$3(s=>s$6(r$2({},t),{guardsResult:s})))})}
5function XG(e,t,n){return Re$1(e).pipe(Be(r=>i6(r.component,r.route,n,t)),ai(r=>r!==true,true))}function KG(e,t,n){return Re$1(t).pipe(Ft(r=>si(t6(r.route.parent,n),e6(r.route,n),r6(e,r.path),n6(e,r.route))),ai(r=>r!==true,true))}function e6(e,t){return e!==null&&t&&t(new Ig(e)),N$4(true)}function t6(e,t){return e!==null&&t&&t(new Cg(e)),N$4(true)}function n6(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return N$4(true);let r=n.map(i=>Oi(()=>{let o=t._environmentInjector,s=wl(i,o),a=WG(s)?s.canActivate(t,e):Wt(o,()=>s(t,e));return da(a).pipe(ai())}));return N$4(r).pipe(Dl())}function r6(e,t){let n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(o=>jG(o)).filter(o=>o!==null).map(o=>Oi(()=>{let s=o.guards.map(a=>{let c=o.node._environmentInjector,u=wl(a,c),d=YG(u)?u.canActivateChild(n,e):Wt(c,()=>u(n,e));return da(d).pipe(ai())});return N$4(s).pipe(Dl())}));return N$4(i).pipe(Dl())}function i6(e,t,n,r){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return N$4(true);let o=i.map(s=>{let a=t._environmentInjector,c=wl(s,a),u=GG(c)?c.canDeactivate(e,t,n,r):Wt(a,()=>c(e,t,n,r));return da(u).pipe(ai())});return N$4(o).pipe(Dl())}function o6(e,t,n,r,i){let o=t.canLoad;if(o===void 0||o.length===0)return N$4(true);let s=o.map(a=>{let c=wl(a,e),u=qG(c)?c.canLoad(t,n):Wt(e,()=>c(t,n)),d=da(u);return i?d.pipe(EO(i)):d});return N$4(s).pipe(Dl(),TO(r))}function TO(e){return ob(Ke$3(t=>{if(typeof t!="boolean")throw Mg(e,t)}),T$3(t=>t===true))}function s6(e,t,n,r,i,o){let s=t.canMatch;if(!s||s.length===0)return N$4(true);let a=s.map(c=>{let u=wl(c,e),d=ZG(u)?u.canMatch(t,n,i):Wt(e,()=>u(t,n,i));return da(d).pipe(EO(o))});return N$4(a).pipe(Dl(),TO(r))}var oo=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype);}},tf=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype);}};function a6(e){throw new P$4(4e3,false)}function c6(e){throw wO(false,pn.GuardRejected)}var VS=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n;}async lineralizeSegments(t,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return r;if(i.numberOfChildren>1||!i.children[ye$3])throw a6(`${t.redirectTo}`);i=i.children[ye$3];}}async applyRedirectCommands(t,n,r,i,o){let s=await l6(n,i,o);if(s instanceof Nn$1)throw new tf(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new tf(a);return a}applyRedirectCreateUrlTree(t,n,r,i){let o=this.createSegmentGroup(t,n.root,r,i);return new Nn$1(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);r[i]=n[a];}else r[i]=o;}),r}createSegmentGroup(t,n,r,i){let o=this.createSegments(t,n.segments,r,i),s=Object.create(null);return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,i);}),new qe(o,s)}createSegments(t,n,r,i){return n.map(o=>o.path[0]===":"?this.findPosParam(t,o,i):this.findOrReturn(o,r))}findPosParam(t,n,r){let i=r[n.path.substring(1)];if(!i)throw new P$4(4001,false);return i}findOrReturn(t,n){let r=0;for(let i of n){if(i.path===t.path)return n.splice(r),i;r++;}return t}};function l6(e,t,n){if(typeof e=="string")return Promise.resolve(e);let r=e;return hg(da(Wt(n,()=>r(t))))}function u6(e,t){return e.providers&&!e._injector&&(e._injector=ta(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Jr$1(e){return e.outlet||ye$3}function d6(e,t){let n=e.filter(r=>Jr$1(r)===t);return n.push(...e.filter(r=>Jr$1(r)!==t)),n}var jS={matched:false,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xO(e){return {routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function f6(e,t,n,r,i,o,s){let a=MO(e,t,n);if(!a.matched)return N$4(a);
5let c=xO(o(a));return r=u6(t,r),s6(r,t,n,i,c,s).pipe(T$3(u=>u===true?a:r$2({},jS)))}function MO(e,t,n){if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?r$2({},jS):{matched:true,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Kk)(n,e,t);if(!i)return r$2({},jS);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path;});let s=i.consumed.length>0?r$2(r$2({},o),i.consumed[i.consumed.length-1].parameters):o;return {matched:true,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Jk(e,t,n,r,i){return n.length>0&&m6(e,n,r,i)?{segmentGroup:new qe(t,h6(r,new qe(n,e.children))),slicedSegments:[]}:n.length===0&&g6(e,n,r)?{segmentGroup:new qe(e.segments,p6(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new qe(e.segments,e.children),slicedSegments:n}}function p6(e,t,n,r){let i={};for(let o of n)if(Ng(e,t,o)&&!r[Jr$1(o)]){let s=new qe([],{});i[Jr$1(o)]=s;}return r$2(r$2({},r),i)}function h6(e,t){let n={};n[ye$3]=t;for(let r of e)if(r.path===""&&Jr$1(r)!==ye$3){let i=new qe([],{});n[Jr$1(r)]=i;}return n}function m6(e,t,n,r){return n.some(i=>!Ng(e,t,i)||!(Jr$1(i)!==ye$3)?false:!(r!==void 0&&Jr$1(i)===r))}function g6(e,t,n){return n.some(r=>Ng(e,t,r))}function Ng(e,t,n){return (e.hasChildren()||t.length>0)&&n.pathMatch==="full"?false:n.path===""}function y6(e,t,n){return t.length===0&&!e.children[n]}var HS=class{};async function v6(e,t,n,r,i,o,s,a){return new $S(e,t,n,r,i,s,o,a).recognize()}var _6=31,$S=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=true;constructor(t,n,r,i,o,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new VS(this.urlSerializer,this.urlTree);}noMatchError(t){return new P$4(4002,`'${t.segmentGroup}'`)}async recognize(){let t=Jk(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=await this.match(t),i=new Kn(r,n),o=new Kd("",i),s=uO(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}async match(t){let n=new _l([],Object.freeze({}),Object.freeze(r$2({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ye$3,this.rootComponentType,null,{},this.injector);try{return {children:await this.processSegmentGroup(this.injector,this.config,t,ye$3,n),rootSnapshot:n}}catch(r){if(r instanceof tf)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof oo?this.noMatchError(r):r}}async processSegmentGroup(t,n,r,i,o){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,o);let s=await this.processSegment(t,n,r,r.segments,i,true,o);return s instanceof Kn?[s]:[]}async processChildren(t,n,r,i){let o=[];for(let c of Object.keys(r.children))c==="primary"?o.unshift(c):o.push(c);let s=[];for(let c of o){let u=r.children[c],d=d6(n,c),f=await this.processSegmentGroup(t,d,u,c,i);s.push(...f);}let a=RO(s);return b6(a),a}async processSegment(t,n,r,i,o,s,a){for(let c of n)try{return await this.processSegmentAgainstRoute(c._injector??t,n,c,r,i,o,s,a)}catch(u){if(u instanceof oo||SO(u))continue;throw u}if(y6(r,i,o))return new HS;throw new oo(r)}async processSegmentAgainstRoute(t,n,r,i,o,s,a,c){if(Jr$1(r)!==s&&(s===ye$3||!Ng(i,o,r)))throw new oo(i);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,i,r,o,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,i,n,r,o,s,c);throw new oo(i)}async expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,s,a){let{matched:c,parameters:u,consumedSegments:d,positionalParamSegments:f,remainingSegments:p}=MO(n,i,o);if(!c)throw new oo(n);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>_6&&(this.allowRedirects=false));let g=this.createSnapshot(t,i,o,u,a);
5if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let v=await this.applyRedirects.applyRedirectCommands(d,i.redirectTo,f,xO(g),t),C=await this.applyRedirects.lineralizeSegments(i,v);return this.processSegment(t,r,n,C.concat(p),s,false,a)}createSnapshot(t,n,r,i,o){let s=new _l(r,i,Object.freeze(r$2({},this.urlTree.queryParams)),this.urlTree.fragment,w6(n),Jr$1(n),n.component??n._loadedComponent??null,n,C6(n),t),a=WS(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(t,n,r,i,o,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=$=>this.createSnapshot(t,r,$.consumedSegments,$.parameters,s),c=await hg(f6(n,r,i,t,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(n.children={}),!c?.matched)throw new oo(n);t=r._injector??t;let{routes:u}=await this.getChildConfig(t,r,i),d=r._loadedInjector??t,{parameters:f,consumedSegments:p,remainingSegments:g}=c,v=this.createSnapshot(t,r,p,f,s),{segmentGroup:C,slicedSegments:S}=Jk(n,p,g,u,o);if(S.length===0&&C.hasChildren()){let $=await this.processChildren(d,u,C,v);return new Kn(v,$)}if(u.length===0&&S.length===0)return new Kn(v,[]);let M=Jr$1(r)===o,L=await this.processSegment(d,u,C,S,M?ye$3:o,true,v);return new Kn(v,L instanceof Kn?[L]:[])}async getChildConfig(t,n,r){if(n.children)return {routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let o=n._loadedNgModuleFactory;return o&&!n._loadedInjector&&(n._loadedInjector=o.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await hg(o6(t,n,r,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(t,n);return n._loadedRoutes=o.routes,n._loadedInjector=o.injector,n._loadedNgModuleFactory=o.factory,o}throw c6()}return {routes:[],injector:t}}};function b6(e){e.sort((t,n)=>t.value.outlet===ye$3?-1:n.value.outlet===ye$3?1:t.value.outlet.localeCompare(n.value.outlet));}function D6(e){let t=e.value.routeConfig;return t&&t.path===""}function RO(e){let t=[],n=new Set;for(let r of e){if(!D6(r)){t.push(r);continue}let i=t.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):t.push(r);}for(let r of n){let i=RO(r.children);t.push(new Kn(r.value,i));}return t.filter(r=>!n.has(r))}function w6(e){return e.data||{}}function C6(e){return e.resolve||{}}function S6(e,t,n,r,i,o,s){return Be(async a=>{let{state:c,tree:u}=await v6(e,t,n,r,a.extractedUrl,i,o,s);return s$6(r$2({},a),{targetSnapshot:c,urlAfterRedirects:u})})}function I6(e){return Be(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return N$4(t);let i=new Set(r.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let c of AO(a))o.add(c);let s=0;return Re$1(o).pipe(Ft(a=>i.has(a)?E6(a,n,e):(a.data=WS(a,a.parent,e).resolve,N$4(void 0))),Ke$3(()=>s++),sc(1),Be(a=>s===o.size?N$4(t):xt$1))})}function AO(e){let t=e.children.map(n=>AO(n)).flat();return [e,...t]}function E6(e,t,n){let r=e.routeConfig,i=e._resolve;return r?.title!==void 0&&!vO(r)&&(i[nf]=r.title),Oi(()=>(e.data=WS(e,e.parent,n).resolve,T6(i,e,t).pipe(T$3(o=>(e._resolvedData=o,e.data=r$2(r$2({},e.data),o),null)))))}function T6(e,t,n){let r=RS(e);if(r.length===0)return N$4({});let i={};return Re$1(r).pipe(Be(o=>x6(e[o],t,n).pipe(ai(),Ke$3(s=>{if(s instanceof bl)throw Mg(new so,s);i[o]=s;}))),sc(1),T$3(()=>i),k$3(o=>SO(o)?xt$1:vs(o)))}function x6(e,t,n){let r=t._environmentInjector,i=wl(e,r),o=i.resolve?i.resolve(t,n):Wt(r,()=>i(t,n));return da(o)}function Qk(e){return en$1(t=>{let n=e(t);return n?Re$1(n).pipe(T$3(()=>t)):N$4(t)})}var QS=(()=>{class e{buildTitle(n){let r,i=n.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===ye$3);return r}getResolvedTitleForRoute(n){return n.data[nf]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>h$5(NO)})}return e})(),NO=(()=>{class e extends QS{title;constructor(n){super(),this.title=n;}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r);}static \u0275fac=function(r){return new(r||e)(Z$1(EN))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ao=new R$3("",{factory:()=>({})}),pa=new R$3(""),kg=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=h$5(TC);async loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await tO(Wt(n,()=>r.loadComponent())),s=await OO(FC(o));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r);}})();return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=(async()=>{try{let o=await kO(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=o.routes,r._loadedInjector=o.injector,r._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(r);}})();return this.childrenLoaders.set(r,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();async function kO(e,t,n,r){let i=await tO(Wt(n,()=>e.loadChildren())),o=await OO(FC(i)),s;o instanceof fm||Array.isArray(o)?s=o:s=await t.compileModuleAsync(o),r&&r(e);let a,c,d;return Array.isArray(s)?(c=s,true):(a=s.create(n).injector,d=s,c=a.get(pa,[],{optional:true,self:true}).flat()),{routes:c.map(JS),injector:a,factory:d}}async function OO(e){return e}var Og=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>h$5(M6)})}return e})(),M6=(()=>{class e{shouldProcessUrl(n){return true}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),XS=new R$3(""),KS=new R$3("");function PO(e,t,n){let r=e.get(KS),i=e.get(se$3);
5if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=false,new Promise(u=>setTimeout(u));let o,s=new Promise(u=>{o=u;}),a=i.startViewTransition(()=>(o(),R6(e)));a.updateCallbackDone.catch(u=>{}),a.ready.catch(u=>{}),a.finished.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&Wt(e,()=>c({transition:a,from:t,to:n})),s}function R6(e){return new Promise(t=>{In$1({read:()=>setTimeout(t)},{injector:e});})}var LO=new R$3(""),A6=()=>{},eI=new R$3(""),Pg=(()=>{class e{currentNavigation=Q$6(null,{equal:()=>false});currentTransition=null;lastSuccessfulNavigation=Q$6(null);events=new G$3;transitionAbortWithErrorSubject=new G$3;configLoader=h$5(kg);environmentInjector=h$5($e$1);destroyRef=h$5(at$1);urlSerializer=h$5($o);rootContexts=h$5(fa);location=h$5(wi);inputBindingEnabled=h$5(rf,{optional:true})!==null;titleStrategy=h$5(QS);options=h$5(ao,{optional:true})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||PG;urlHandlingStrategy=h$5(Og);createViewTransition=h$5(XS,{optional:true});navigationErrorHandler=h$5(eI,{optional:true});activatedRouteInjectorFeature=h$5(LO,{optional:true});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>N$4(void 0);rootComponentType=null;destroyed=false;constructor(){let n=i=>this.events.next(new Dg(i)),r=i=>this.events.next(new wg(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=true;});}complete(){this.transitions?.complete();}handleNavigationRequest(n){let r=++this.navigationId;_e$2(()=>{this.transitions?.next(s$6(r$2({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}));});}setupNavigations(n){return this.transitions=new zt(null),this.transitions.pipe(Ne$1(r=>r!==null),en$1(r=>{let i=true,o=false,s=new AbortController,a=()=>!o&&this.currentTransition?.id===r.id;return N$4(r).pipe(en$1(c=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",pn.SupersededByNewNavigation),xt$1;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:u?s$6(r$2({},u),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:c.routesRecognizeHandler,beforeActivateHandler:c.beforeActivateHandler});let d=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!d&&f!=="reload")return this.events.next(new Si(c.id,this.urlSerializer.serialize(c.rawUrl),"",ml.IgnoredSameUrlNavigation)),c.resolve(false),xt$1;if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return N$4(c).pipe(en$1(p=>(this.events.next(new Ho(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?xt$1:Promise.resolve(p))),S6(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),Ke$3(p=>{r.targetSnapshot=p.targetSnapshot,r.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(g=>(g.finalUrl=p.urlAfterRedirects,g)),this.events.next(new Qd);}),en$1(p=>Re$1(r.routesRecognizeHandler.deferredHandle??N$4(void 0)).pipe(T$3(()=>p))),Ke$3(()=>{let p=new Jd(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p);}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:p,extractedUrl:g,source:v,restoredState:C,extras:S}=c,M=new Ho(p,this.urlSerializer.serialize(g),v,C);this.events.next(M);let L=gO(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=s$6(r$2({},c),{targetSnapshot:L,urlAfterRedirects:g,extras:s$6(r$2({},S),{skipLocationChange:false,replaceUrl:false})}),this.currentNavigation.update($=>($.finalUrl=g,$)),N$4(r)}else return this.events.next(new Si(c.id,this.urlSerializer.serialize(c.extractedUrl),"",ml.IgnoredByUrlHandlingStrategy)),c.resolve(false),xt$1}),T$3(c=>{let u=new yg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);return this.events.next(u),this.currentTransition=r=s$6(r$2({},c),{guards:VG(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),r}),QG(c=>this.events.next(c)),en$1(c=>{if(r.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Mg(this.urlSerializer,c.guardsResult);let u=new vg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);if(this.events.next(u),!a())return xt$1;if(!c.guardsResult)return this.cancelNavigationTransition(c,"",pn.GuardRejected),xt$1;if(c.guards.canActivateChecks.length===0)return N$4(c);let d=new _g(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);if(this.events.next(d),!a())return xt$1;let f=false;return N$4(c).pipe(I6(this.paramsInheritanceStrategy),Ke$3({next:()=>{f=true;let p=new bg(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(p);},complete:()=>
5{f||this.cancelNavigationTransition(c,"",pn.NoDataFromResolver);}}))}),Qk(c=>{let u=f=>{let p=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let g=f._environmentInjector;p.push(this.configLoader.loadComponent(g,f.routeConfig).then(v=>{f.component=v;}));}for(let g of f.children)p.push(...u(g));return p},d=u(c.targetSnapshot.root);return d.length===0?N$4(c):Re$1(Promise.all(d).then(()=>c))}),en$1(c=>{let{newlyCreatedRoutes:u,state:d}=LG(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r=c=s$6(r$2({},c),{targetRouterState:d,newlyCreatedRoutes:u}),this.currentNavigation.update(f=>(f.targetRouterState=d,f)),N$4(c)}),this.activatedRouteInjectorFeature?.operator()??(c=>c),Qk(()=>this.afterPreactivation()),en$1(()=>{let{currentSnapshot:c,targetSnapshot:u}=r,d=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return d?Re$1(d).pipe(T$3(()=>r)):N$4(r)}),it$1(1),en$1(c=>{i=false,this.events.next(new yl);let u=r.beforeActivateHandler.deferredHandle;return u?Re$1(u.then(()=>c)):N$4(c)}),Ke$3(c=>{new US(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),c.newlyCreatedRoutes?.clear(),a()&&(o=true,this.currentNavigation.update(u=>(u.abort=A6,u)),this.lastSuccessfulNavigation.set(_e$2(this.currentNavigation)),this.events.next(new tr(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(true));}),ft$2(IO(s.signal).pipe(Ne$1(()=>!o&&i),Ke$3(()=>{this.cancelNavigationTransition(r,s.signal.reason+"",pn.Aborted);}))),Ke$3({complete:()=>{o=true;}}),ft$2(this.transitionAbortWithErrorSubject.pipe(Ke$3(c=>{throw c}))),nc(()=>{s.abort(),o||this.cancelNavigationTransition(r,"",pn.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null);}),k$3(c=>{if(o=true,Xk(r),this.destroyed)return r.resolve(false),xt$1;if(CO(c))this.events.next(new Tr$1(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),UG(c)?this.events.next(new vl(c.url,c.navigationBehaviorOptions)):r.resolve(false);else {let u=new ua(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0);try{let d=Wt(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(d instanceof bl){let{message:f,cancellationCode:p}=Mg(this.urlSerializer,d);this.events.next(new Tr$1(r.id,this.urlSerializer.serialize(r.extractedUrl),f,p)),this.events.next(new vl(d.redirectTo,d.navigationBehaviorOptions));}else throw this.events.next(u),c}catch(d){this.options.resolveNavigationPromiseOnError?r.resolve(false):r.reject(d);}}return xt$1}))}))}cancelNavigationTransition(n,r,i){Xk(n);let o=new Tr$1(n.id,this.urlSerializer.serialize(n.extractedUrl),r,i);this.events.next(o),n.resolve(false);}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(true))),r=_e$2(this.currentNavigation),i=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==i?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function N6(e){return e!==pl}function Xk(e){if(e.newlyCreatedRoutes)for(let t of e.newlyCreatedRoutes)t._localInjector?.destroy();}var FO=new R$3("");var BO=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>h$5(k6)})}return e})(),Ag=class{shouldDetach(t){return false}store(t,n){}shouldAttach(t){return false}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return true}},k6=(()=>{class e extends Ag{static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),Lg=(()=>
5{class e{urlSerializer=h$5($o);options=h$5(ao,{optional:true})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=h$5(wi);urlHandlingStrategy=h$5(Og);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Nn$1;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:i}){let o=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=i??o;return s instanceof Nn$1?this.urlSerializer.serialize(s):s}routerUrlState(n){return n?.targetBrowserUrl===void 0||n?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(n.finalUrl)}}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:i}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,i),this.routerState=n):this.rawUrlTree=i;}routerState=gO(null,h$5($e$1));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento();}createStateMemento(){return {rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>h$5(O6)})}return e})(),O6=(()=>{class e extends Lg{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate",{replaceUrl:true});});})}handleRouterEvent(n,r){n instanceof Ho?this.updateStateMemento():n instanceof Si?this.commitTransition(r):n instanceof Jd?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof yl?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Tr$1&&!mO(n)?this.restoreHistory(r):n instanceof ua?this.restoreHistory(r,true):n instanceof tr&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId);}setBrowserUrl(n,r){let{extras:i,id:o}=r,{replaceUrl:s,state:a}=i;if(this.location.isCurrentPathEqualTo(n)||s){let c=this.browserPageId,u=r$2(r$2({},a),this.generateNgRouterState(o,c,r));this.location.replaceState(n,"",u);}else {let c=r$2(r$2({},a),this.generateNgRouterState(o,this.browserPageId+1,r));this.location.go(n,"",c);}}restoreHistory(n,r=false){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===n.finalUrl&&o===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree());}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree);}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(n,r,i){return this.canceledNavigationResolution==="computed"?r$2({navigationId:n,\u0275routerPageId:r},this.routerUrlState(i)):r$2({navigationId:n},this.routerUrlState(i))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function Fg(e,t){e.events.pipe(Ne$1(n=>n instanceof tr||n instanceof Tr$1||n instanceof ua||n instanceof Si),T$3(n=>n instanceof tr||n instanceof Si?0:(n instanceof Tr$1?n.code===pn.Redirect||n.code===pn.SupersededByNewNavigation:false)?2:1),Ne$1(n=>n!==2),it$1(1)).subscribe(()=>{t();});}var Qr$1=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=false;nonRouterCurrentEntryChangeSubscription;console=h$5(mm);stateManager=h$5(Lg);options=h$5(ao,{optional:true})||{};pendingTasks=h$5(Hi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=h$5(Pg);
5urlSerializer=h$5($o);location=h$5(wi);urlHandlingStrategy=h$5(Og);injector=h$5($e$1);_events=new G$3;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=false;routeReuseStrategy=h$5(BO);injectorCleanup=h$5(FO,{optional:true});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=h$5(pa,{optional:true})?.flat()??[];componentInputBindingEnabled=!!h$5(rf,{optional:true});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents();}eventsSubscription=new Fe;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,o=_e$2(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(r,o),r instanceof Tr$1&&r.code!==pn.Redirect&&r.code!==pn.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof tr)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof vl){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),c=r$2({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||N6(i.source)},s);this.scheduleNavigation(a,pl,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise});}}kG(r)&&this._events.next(r);}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i);}});this.eventsSubscription.add(n);}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n;}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(true),pl,this.stateManager.restoredState(),{replaceUrl:true});}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,i,o)=>{this.navigateToSyncWithBrowser(n,i,r,o);});}navigateToSyncWithBrowser(n,r,i,o){let s=i?.navigationId?i:null,a=i?.\u0275routerUrl??n;if(i?.\u0275routerUrl&&(o=s$6(r$2({},o),{browserUrl:n})),i){let u=r$2({},i);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(o.state=u);}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,o).catch(u=>{this.disposed||this.injector.get(Zn)(u);});}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return _e$2(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(JS),this.navigated=false;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=true,this.eventsSubscription.unsubscribe();}createUrlTree(n,r={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case "merge":d=r$2(r$2({},this.currentUrlTree.queryParams),o);break;case "preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null;}d!==null&&(d=this.removeEmptyProps(d));let f;try{let p=i?i.snapshot:this.routerState.snapshot.root;f=dO(p);}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root;}return fO(f,n,d,u??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:false}){let i=jo(n)?n:this.parseUrl(n),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,pl,null,r)}navigate(n,r={skipLocationChange:false}){return P6(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.console.warn(pr(4018,false)),this.urlSerializer.parse("/")}}isActive(n,r){let i;if(r===true?i=r$2({},zS):r===false?i=r$2({},Gd):i=r$2(r$2({},Gd),r),jo(n))return AS(this.currentUrlTree,n,i);let o=this.parseUrl(n);return AS(this.currentUrlTree,o,i)}removeEmptyProps(n){return Object.entries(n).reduce((r,[i,o])=>(o!=null&&(r[i]=o),r),{})}
5scheduleNavigation(n,r,i,o,s){if(this.disposed)return Promise.resolve(false);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((f,p)=>{a=f,c=p;});let d=this.pendingTasks.add();return Fg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d));}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:o,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function P6(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new P$4(4008,false)}var L6=(()=>{class e{router=h$5(Qr$1);stateManager=h$5(Lg);fragment=Q$6("");queryParams=Q$6({});path=Q$6("");serializer=h$5($o);constructor(){this.updateState(),this.router.events?.subscribe(n=>{n instanceof tr&&this.updateState();});}updateState(){let{fragment:n,root:r,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(n),this.queryParams.set(i),this.path.set(this.serializer.serialize(new Nn$1(r)));}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),Cl=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=h$5(new zc("href"),{optional:true});reactiveHref=MC(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return _e$2(this.reactiveHref)}set href(n){this.reactiveHref.set(n);}set target(n){this._target.set(n);}get target(){return _e$2(this._target)}_target=Q$6(void 0);set queryParams(n){this._queryParams.set(n);}get queryParams(){return _e$2(this._queryParams)}_queryParams=Q$6(void 0,{equal:()=>false});set fragment(n){this._fragment.set(n);}get fragment(){return _e$2(this._fragment)}_fragment=Q$6(void 0);set queryParamsHandling(n){this._queryParamsHandling.set(n);}get queryParamsHandling(){return _e$2(this._queryParamsHandling)}_queryParamsHandling=Q$6(void 0);set state(n){this._state.set(n);}get state(){return _e$2(this._state)}_state=Q$6(void 0,{equal:()=>false});set info(n){this._info.set(n);}get info(){return _e$2(this._info)}_info=Q$6(void 0,{equal:()=>false});set relativeTo(n){this._relativeTo.set(n);}get relativeTo(){return _e$2(this._relativeTo)}_relativeTo=Q$6(void 0);set preserveFragment(n){this._preserveFragment.set(n);}get preserveFragment(){return _e$2(this._preserveFragment)}_preserveFragment=Q$6(false);set skipLocationChange(n){this._skipLocationChange.set(n);}get skipLocationChange(){return _e$2(this._skipLocationChange)}_skipLocationChange=Q$6(false);set replaceUrl(n){this._replaceUrl.set(n);}get replaceUrl(){return _e$2(this._replaceUrl)}_replaceUrl=Q$6(false);browserUrl=Cm(void 0);isAnchorElement;onChanges=new G$3;applicationErrorHandler=h$5(Zn);options=h$5(ao,{optional:true});reactiveRouterState=h$5(L6);constructor(n,r,i,o,s,a){this.router=n,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"));}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n);}ngOnChanges(n){this.onChanges.next(this);}routerLinkInput=Q$6(null);set routerLink(n){n==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(jo(n)?this.routerLinkInput.set(n):this.routerLinkInput.set(Array.isArray(n)?n:[n]),this.setTabIndexIfNotOnNativeEl("0"));}onClick(n,r,i,o,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(n!==0||r||i||o||s||typeof this.target=="string"&&this.target!="_self"))return true;let c=this.browserUrl(),u=r$2({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},c!==void 0&&{browserUrl:c});return this.router.navigateByUrl(a,u)?.catch(d=>{this.applicationErrorHandler(d);}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(n,r){let i=this.renderer,o=this.el.nativeElement;r!==null?i.setAttribute(o,n,r):i.removeAttribute(o,n);}_urlTree=Et(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let n=i=>i==="preserve"||i==="merge";(n(this._queryParamsHandling())||n(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:jo(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(n,r)=>this.computeHref(n)===this.computeHref(r)});get urlTree(){return _e$2(this._urlTree)}computeHref(n){return n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??"":null}static \u0275fac=function(r){return new(r||e)(V$4(Qr$1),V$4(Ii),Ac("tabindex"),V$4(Vt$2),V$4(me$2),V$4(Gr$1)
5)};static \u0275dir=q$7({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,i){r&1&>$1("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Rt("href",i.reactiveHref(),Ow)("target",i._target());},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",He],skipLocationChange:[2,"skipLocationChange","skipLocationChange",He],replaceUrl:[2,"replaceUrl","replaceUrl",He],browserUrl:[1,"browserUrl"],routerLink:"routerLink"},features:[ct$1]})}return e})(),F6=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=false;get isActive(){return this._isActive}routerLinkActiveOptions={exact:false};ariaCurrentWhenActive;isActiveChange=new de$4;link=h$5(Cl,{optional:true});constructor(n,r,i,o){this.router=n,this.element=r,this.renderer=i,this.cdr=o,this.routerEventsSubscription=n.events.subscribe(s=>{s instanceof tr&&this.update();});}ngAfterContentInit(){N$4(this.links.changes,N$4(null)).pipe(dr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Re$1(n).pipe(dr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update();});}set routerLinkActive(n){let r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(i=>!!i);}ngOnChanges(n){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r);}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n));});}isLinkActive(n){let r=B6(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??false?r$2({},zS):r$2({},Gd);return i=>{let o=i.urlTree;return o?_e$2(qS(o,n,r)):false}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}static \u0275fac=function(r){return new(r||e)(V$4(Qr$1),V$4(me$2),V$4(Vt$2),V$4(dn$1))};static \u0275dir=q$7({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,o){if(r&1&&_m(o,Cl,5),r&2){let s;Zi(s=Ji())&&(i.links=s);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ct$1]})}return e})();function B6(e){let t=e;return !!(t.paths||t.matrixParams||t.queryParams||t.fragment)}var sf=class{};var UO=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,i,o){this.router=n,this.injector=r,this.preloadingStrategy=i,this.loader=o;}setUpPreloading(){this.subscription=this.router.events.pipe(Ne$1(n=>n instanceof tr),Ft(()=>this.preload())).subscribe(()=>{});}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe();}processRoutes(n,r){let i=[];for(let o of r){o.providers&&!o._injector&&(o._injector=ta(o.providers,n,""));let s=o._injector??n;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes));}return Re$1(i).pipe(dr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{if(n.destroyed)return N$4(null);let i;r.loadChildren&&r.canLoad===void 0?i=Re$1(this.loader.loadChildren(n,r)):i=N$4(null);let o=i.pipe(Be(s=>s===null?N$4(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return Re$1([o,s]).pipe(dr())}else return o}
5)}static \u0275fac=function(r){return new(r||e)(Z$1(Qr$1),Z$1($e$1),Z$1(sf),Z$1(kg))};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nI=new R$3(""),VO=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=pl;restoredId=0;store={};isHydrating=h$5(Ew,{optional:true})??false;urlSerializer=h$5($o);zone=h$5(ce$4);viewportScroller=h$5(sS);transitions=h$5(Pg);constructor(n){this.options=n,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&h$5(Tn$1).whenStable().then(()=>{this.isHydrating=false;});}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents();}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Ho?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof tr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Si&&n.code===ml.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment));})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{if(!(n instanceof gl)||n.scrollBehavior==="manual")return;let r={behavior:"instant"};n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position,r):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]);})}scheduleScrollEvent(n,r){if(this.isHydrating)return;let i=_e$2(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o);}),this.zone.run(()=>{this.transitions.events.next(new gl(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,i));});});}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe();}static \u0275fac=function(r){hd();};static \u0275prov=K$5({token:e,factory:e.\u0275fac})}return e})();function U6(e,...t){return Ui([{provide:pa,multi:true,useValue:e},{provide:Ii,useFactory:jO},{provide:Bc,multi:true,useFactory:HO},t.map(n=>n.\u0275providers)])}function jO(){return h$5(Qr$1).routerState.root}function ha(e,t){return {\u0275kind:e,\u0275providers:t}}function V6(e={}){return ha(4,[{provide:nI,useFactory:()=>new VO(e)}])}function HO(){let e=h$5(le$4);return t=>{let n=e.get(Tn$1);if(t!==n.components[0])return;let r=e.get(Qr$1),i=e.get($O);e.get(rI)===1&&r.initialNavigation(),e.get(WO,null,{optional:true})?.setUpPreloading(),e.get(nI,null,{optional:true})?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe());}}var $O=new R$3("",{factory:()=>new G$3}),rI=new R$3("",{factory:()=>1});function zO(){let e=[{provide:Yh,useValue:true},{provide:rI,useValue:0},pm(()=>{let t=h$5(le$4);return t.get(jC,Promise.resolve()).then(()=>new Promise(r=>{let i=t.get(Qr$1),o=t.get($O);Fg(i,()=>{r(true);}),t.get(Pg).afterPreactivation=()=>(r(true),o.closed?N$4(void 0):o),i.initialNavigation();}))})];return ha(2,e)}function qO(){let e=[pm(()=>{h$5(Qr$1).setUpLocationChangeListener();}),{provide:rI,useValue:2}];return ha(3,e)}var WO=new R$3("");function YO(e){return ha(0,[{provide:WO,useExisting:UO},{provide:sf,useExisting:e}])}function j6(e){return ha(5,[{provide:ao,useValue:e}])}function GO(e={}){return ha(8,[{provide:rf,useFactory:()=>new bO(e)}])}function ZO(e){Gt("NgRouterViewTransitions");let t=[{provide:XS,useValue:PO},{provide:KS,useValue:r$2({skipNextTransition:false},e)}];return ha(9,t)}var JO=[wi,{provide:$o,useClass:so},Qr$1,fa,{provide:Ii,useFactory:jO},kg],iI=(()=>{class e{constructor(){}static forRoot(n,r){return {ngModule:e,providers:[JO,[],{provide:pa,multi:true,useValue:n},[],r?.errorHandler?{provide:eI,useValue:r.errorHandler}:[],{provide:ao,useValue:r||{}},r?.useHash?$6():z6(),H6(),r?.preloadingStrategy?YO(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?q6(r):[],r?.bindToComponentInputs?GO(typeof r.bindToComponentInputs=="object"?r.bindToComponentInputs:{}).\u0275providers:[],r?.enableViewTransitions?ZO().\u0275providers:[],W6()]}}static forChild(n){return {ngModule:e,providers:[{provide:pa,multi:true,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})();function H6(){return {provide:nI,useFactory:()=>{let e=h$5(sS),t=h$5(ao);return t.scrollOffset&&e.setOffset(t.scrollOffset),new VO(t)}
5}}function $6(){return {provide:Gr$1,useClass:JC}}function z6(){return {provide:Gr$1,useClass:Tm}}function q6(e){return [e.initialNavigation==="disabled"?qO().\u0275providers:[],e.initialNavigation==="enabledBlocking"?zO().\u0275providers:[]]}var tI=new R$3("");function W6(){return [{provide:tI,useFactory:HO},{provide:Bc,multi:true,useExisting:tI}]}var zo=(function(e){return e[e.NotAssigned=0]="NotAssigned",e[e.All=0]="All",e[e.Residential=1]="Residential",e[e.Commercial=2]="Commercial",e[e.Unused=-2]="Unused",e[e.Unknown=-1]="Unknown",e})(zo||{});var H$3=(()=>{class e{static{this.Action="action";}static{this.Address="address";}static{this.AddressType="addressType";}static{this.AgentId="agentid";}static{this.AnalysisCriteriaId="acid";}static{this.AnalysisSubType="analysissubtype";}static{this.AnalysisType="analysistype";}static{this.Apn="Apn";}static{this.ApnOrTaxId="ApnOrTaxId";}static{this.AreaId="areaid";}static{this.AssociationId="associationid";}static{this.BatchId="batchid";}static{this.BrandId="brandid";}static{this.BrokerId="brokerid";}static{this.CampaignId="campaignid";}static{this.ChartDestination="ChartDestination";}static{this.ChartIDs="ChartIDs";}static{this.City="city";}static{this.CoBrandCode="cbcode";}static{this.CoBrandId="coBrandId";}static{this.Courtesy="Courtesy";}static{this.DataQueryId="dataqueryid";}static{this.Debug="Debug";}static{this.DeepLinkEnabled="DeepLinkEnabled";}static{this.Description="description";}static{this.DetailsTab="DetailsTab";}static{this.DisableLogRecentSearch="DisableLogRecentSearch";}static{this.DriveTimeMinute="DriveTimeMinute";}static{this.Email="email";}static{this.ErrorType="errtype";}static{this.ExcludeSubjectProperty="ExcludeSubjectProperty";}static{this.Filters="Filters";}static{this.Fips="Fips";}static{this.FrequencyCapActivityType="frequencycapactivitytype";}static{this.Headline="headline";}static{this.Height="Height";}static{this.Id="id";}static{this.ImpersonatedLoginEmail="ImpersonatedLoginEmail";}static{this.IncludeBoundary="IncludeBoundary";}static{this.IncludeMargins="IncludeMargins";}static{this.Index="Index";}static{this.IsAscending="isAscending";}static{this.IsLegacy="IsLegacy";}static{this.IsMobile="IsMobile";}static{this.IsPreview="preview";}static{this.Latitude="Lat";}static{this.LegalDialog="LegalDialog";}static{this.ListingId="listingid";}static{this.LocationType="LocationType";}static{this.Longitude="Lng";}static{this.MapToolType="MapToolType";}static{this.MaxCount="MaxCount";}static{this.MaxPhotoHeight="maxPhotoHeight";}static{this.MaxPhotoWidth="maxPhotoWidth";}static{this.Message="message";}static{this.MetricType="metricType";}static{this.MlsOfficeId="mlsofficeid";}static{this.MyWorkMenuItem="MyWorkMenuItem";}static{this.Name="name";}static{this.Nces="Nces";}static{this.NewSearch="newsearch";}static{this.OfficeId="officeid";}static{this.OrgId="orgid";}static{this.Owner="Owner";}static{this.Padding="Padding";}static{this.PageIndex="PageIndex";}static{this.PerformScroll="PerformScroll";}static{this.PlaceId="placeid";}static{this.PlaceSearchType="placesearchtype";}static{this.PrintEnabled="PrintEnabled";}static{this.PropertyId="propertyid";}static{this.PropertyMode="pmode";}static{this.PropertyMode2="propertymode";}static{this.PropertyType="propertytype";}static{this.Query="query";}static{this.RadiusMile="RadiusMile";}static{this.RecipientName="recipientName";}static{this.ReportCriteriaId="ReportCriteriaId";}static{this.ReportPartId="ReportPartId";}static{this.ReportTargetType="ReportTargetType";}static{this.ReportType="reporttype";}static{this.ResultsView="ResultsView";}static{this.ResultType="ResultType";}static{this.ReturnUrl="ReturnUrl";}static{this.RprPropertyId="rprpropertyid";}static{this.SchoolDistrict="SchoolDistrict";}static{this.SchoolDistrictNces="SchoolDistrictNces";}static{this.SchoolId="schoolid";}static{this.SchoolName="SchoolName";}static{this.SearchAreaId="searchareaid";}static{this.SearchCriteriaId="scid";}static{this.SearchEnabled="SearchEnabled";}static{this.SearchToolsMode="stmode";}static{this.SearchType="searchtype";}static{this.Section="section";}static{this.ShareEnabled="ShareEnabled";}static{this.SortColumn="sortColumn";}static{this.SortColumnId="SortColumnId";}static{this.Source="Source";}static{this.SsoCode="ssocode";}static{this.State="state";}static{this.Subtitle="Subtitle";}static{this.TaxId="TaxId";}static{this.TemplateId="TemplateId";}static{this.Title="Title";}static{this.Token="token";}static{this.TokenType="tokentype";}static{this.TopCount="topCount";}static{this.Url="url";}static{this.UseLegacyMap="UseLegacyMap";}static{this.VendorId="VendorId";}static{this.Width="Width";}static{this.WithinAddressType="withinAddressType";}static{this.WithinPlaceId="withinPlaceId";}static{this.Years="Years";}static{this.ZipCode="zipcode";}static{this.Zoom="Zoom";}}return e})();var oI=(function(e){return e.AarpImpressions="aarp_impressions",e.AarpIndexIncluded="aarp_index_included",e.AarpViewOnAarp="aarp_view_on_aarp",e.AccountChangePassword="account_change_password",e.AddExistingLoan="add_existing_loan",e.AddHomeImprovementClick="add_home_improvement_click",e.AddKnownProperty="add_known_property",e.AddLoan="add_loan",e.AddNeededImprovementClick="add_needed_improvement_click",e.AddPersonalizedMessage="add_personalized_message",e.AddProperty="add_property",e.ApplyBasicFactChangeClick="apply_basic_fact_change_click",e.ApplyListingFiters="apply_listing_filters",e.ApplyMarketFilters="apply_market_filters",e.ApplySchoolFilters="apply_school_filters",e.AvmRvmDetails="avm_rvm_details",e.BatchDelete="batch_delete",e.Breadcrumbs="breadcrumbs",e.BrokerAffiliatedPrevNextClick="broker_affiliated_prev_next_click",e.BrokerAffiliatedViews="broker_affiliated_views",e.ChangeAddress="change_address",e.ChangeAnalysisType="change_analysis_type",e.ChartTabClick="chart_tab_click",e.CheckForPlatMap="check_for_plat_map",e.CollapsedView="collapsed_view",e.CompareListingsClick="compare_listings_click",e.CompareListingsSelectListings="compare_listings_select_listing",e.CopyReportLink="copy_report_link",e.CopyToClipboard="copy_to_clipboard",e.Create="create",e.CreateReport="create_report",e.CurrentListingsClick="current_listings_click",e.CurrentListingsViewMore="current_listings_view_more",e.CustomizeReportOpen="customize_report_open",e.CustomizeReportSavePage="customize_report_save_page",e.DataLayersAboutClick="data_layers_about_click",e.DataLayersApplyClick="data_layers_apply_click",e.DataLayersCancelClick="data_layers_cancel_click",e.DataLayersClearClick="data_layers_clear_click",e.DataLayersClick="data_layers_click",e.DataLayersGeographyClick="data_layers_geography_click",e.DeedRecords="deed_records",e.DeedViewMore="deed_view_more",e.DeepLinkClick="deep_link_click",e.Delete="delete",e.DeleteAccount="delete_account",e.DeletePage="delete_page",e.DeleteReportClick="delete_report_click",e.DisplayPageNumbers="display_page_numbers",e.Distance1aMarkerMoved="distance1a_marker_moved",e.Distance1aSearchForAddress="distance1a_search_for_address",e.Distance1MovePinComplete="distance1_move_pin_complete",e.Distance2aMarkerClick="distance2a_marker_click",e.Distance3aBoundaryClick="distance3a_boundary_click",e.Distance3Results="distance3_results",e.DistressedRecords="distressed_records",e.DistressedViewMore="distressed_view_more",e.Download="download",e.DownloadDelivery="download_delivery",e.DownloadJpg="download_jpg",e.DownloadPng="download_png",e.DragElement="drag_element",e.DragSection="drag_section",e.EconomicAreaNav="economic_area_nav",e.EconomicAreaType="economic_area_type",e.EditLocation="edit_location",e.EditProfileClick="edit_profile_click",e.EditReportTitle="edit_report_title",e.EditReportClick="edit_report_click",e.EditTenant="edit_tenant",e.ElementEditCma="element_edit_cma",e.ElementEditCover="element_edit_cover",e.ElementEditListingFilters="element_edit_listing_filters",e.ElementEditMarketFilters="element_edit_market_filters",e.ElementEditRefinedValue="element_edit_refined_value",e.ElementEditSchoolFilters="element_edit_school_filters",e.ElementEditSellerNet="element_edit_seller_net",e.ElementEditSiteSelection="element_edit_site_selection",e.ElementSelectCustomPgs="element_select_custom_pgs",e.ElementSelectPhotos="element_select_photos",e.EmailDelivery="email_delivery",e.EmailRecovery1VerifyIdentity="email_recovery1_verify_identity",e.EmailRecovery2SendCode="email_recovery2_send_code",e.EmailRecovery3VerifyCode="email_recovery3_verify_code",e.EmailRecovery4EmailUpdated="email_recovery4_email_updated",e.EmailRecovery5ResetPassword="email_recovery5_reset_password",e.EmailRecovery6PasswordSet="email_recovery6_password_set",e.Error="error",e.GenerateReport="generate_report",e.GlobalPropertyTypeChange="global_prop_type_change",e.GridView="grid_view",e.HorizontalScroll="horizontal_scroll",e.InteractiveMapClick="interactive_map_click",e.ListingDetailsViewMore="listing_details_view_more",e.ListingHistoryCompareRecords="listing_history_compare_records",e.ListView="list_view",e.Loa
5dTimeDuration="load_time_duration",e.Login="login",e.LoginEmailRecoveryError="login_email_recovery_error",e.Login1ForgotEmailPassword="login1_forgot_email_password",e.Login1AAssistanceModal="login_1a_assistance_modal",e.LoginFormErrors="login_form_errors",e.LoginResetPasswordError="login_reset_password_error",e.LoginShowPassword="login_show_password",e.MailingLabelsBlackKnightPromo="mailing_labels_black_knight_promo",e.MailingLabelsClick="mailing_labels_click",e.MailingLabelsExportCsv="mailing_labels_export_csv",e.MailingLabelsPrintPdf="mailing_labels_print_pdf",e.MapDisplayed="map_displayed",e.MapDynamicStreetView="map_dynamic_street_view",e.MapExtentSearch="map_extent_search",e.MapGeographyChange="map_geography_change",e.MapMovablePinMoved="map_movable_pin_moved",e.MapMovablePinReset="map_movable_pin_reset",e.MapMovablePinStart="map_movable_pin_start",e.MapPolygonClick="map_polygon_click",e.MapPopupComSearchListings="map_popup_com_search_listings",e.MapPopupComSiteSelection="map_popup_com_site_selection",e.MapPopupComTradeAreaDetails="map_popup_com_trade_area_details",e.MapPopupMarketTrends="map_popup_market_trends",e.MapPopupNeighborhoodSearchListings="map_popup_neighborhood_search_listings",e.MapPopupPoiSearchListings="map_popup_poi_search_listings",e.MapPopupSchoolAttendZoneListings="map_popup_school_attend_zone_listings",e.MapPopupSchoolSearchListings="map_popup_school_search_listings",e.MapPopupSearchAreaCanceled="map_popup_search_area_canceled",e.MapPopupSearchAreaDelete="map_popup_search_area_delete",e.MapPopupSearchAreaEdit="map_popup_search_area_edit",e.MapPopupSearchAreaSaved="map_popup_search_area_saved",e.MapPopupSearchAreaSearchListings="map_popup_search_area_search_listings",e.MapPopupSearchAreaToggle="map_popup_search_area_toggle",e.MapPropertyMarkerClick="map_property_marker_click",e.MapRemoveBoundaryClick="map_remove_boundary_click",e.MapRunReportClick="map_run_report_click",e.MapSaveAreaEditListClick="map_save_area_edit_list_click",e.MapSaveAreaReorderItemClick="map_save_area_reorder_item_click",e.MapSaveAreaUpdateClick="map_save_area_update_click",e.MapStartAnalysisClick="map_start_analysis_click",e.MapStaticStreetView="map_static_street_view",e.MapToolbarClick="map_toolbar_click",e.MarketAndHomeCondClick="market_and_home_cond_click",e.MarketAreasEditorAdded="market_areas_editor_added",e.MarketAreasEditorAutoSuggestClick="market_areas_editor_auto_suggest_click",e.MarketAreasEditorSearching="market_areas_editor_searching",e.MediaViewerExpand="media_viewer_expand",e.MortgageRecords="mortgage_records",e.MortgageViewMore="mortgage_view_more",e.MyListingsCurrentClick="my_listings_current_click",e.MyListingsPreviousClick="my_listings_previous_click",e.MyMarketsMapSearchClick="my_markets_map_search_click",e.MyPropertiesNotesClick="my_properties_notes_click",e.MyPropertiesRecentClick="my_properties_recent_click",e.MyPropertiesReportsClick="my_properties_reports_click",e.MyPropertiesSavedClick="my_properties_saved_click",e.MyReportsMenu="my_reports_menu",e.MyReportsSidebarFilter="my_reports_sidebar_filter",e.MySearchesEditClick="my_searches_edit_click",e.MySearchesRecentClick="my_searches_recent_click",e.MySearchesSavedClick="my_searches_saved_click",e.MyUpdatesAddNote="my_updates_add_note",e.MyUpdatesAddNoteSave="my_updates_add_note_save",e.MyUpdatesClearPhotoReportCover="my_updates_clear_photo_report_cover",e.MyUpdatesDeleteNote="my_updates_delete_note",e.MyUpdatesDeletePhotos="my_updates_delete_photos",e.MyUpdatesEditNote="my_updates_edit_note",e.MyUpdatesEditNoteSave="my_updates_edit_note_save",e.MyUpdatesEstimatedEquity="my_updates_estimated_equity",e.MyUpdatesExpandPhoto="my_updates_expand_photo",e.MyUpdatesNotes="my_updates_notes",e.MyUpdatesPhotos="my_updates_photos",e.MyUpdatesPrintSellersNetSheet="my_updates_print_sellers_net_sheet",e.MyUpdatesSaveEstimatedEquity="my_updates_save_estimated_equity",e.MyUpdatesSaveSellersNetSheet="my_updates_save_sellers_net_sheet",e.MyUpdatesSellersNetSheet="my_updates_sellers_net_sheet",e.NavMenuHelpClick="nav_menu_help_click",e.NavMenuHomeClick="nav_menu_home_click",e.NavMenuLearnClick="nav_menu_learn_click",e.NavMenuMarketingClick="nav_menu_marketing_click",e.NavMenuMyWorkClick="nav_menu_my_work_click",e.NavMenuProfileIconClick="nav_menu_profile_icon_click",e.NavMenuReports="nav_menu_reports",e.NavMenuReportsClick="nav_menu_reports_click",e.NavMenuResearchClick="nav_menu_research_click",e.NearbyTradeAreasViewMore="nearby_trade_areas_view_more",e.NextArrowClick="next_arrow_click",e.PasswordReset1SendCode="password_reset1_send_code",e.PasswordReset2ACodeVerified="password_reset2a_code_verified",e.PasswordReset2BEmailLinkExpired="password_reset2b_email_link_expired",e.PasswordReset2BEmailLinkValid="password_reset2b_email_link_valid",e.PasswordReset3PasswordSet="password_reset3_password_set",e.PoiAboutClick="poi_about_click",e.PoiClearClick="poi_clear_click",e.PoiCloseClick="poi_close_click",e.PoiDetails="poi_details",e.PoiLoadDefaultsClick="poi_load_defaults_click",e.PoiSaveDefaultsClick="poi_save_defaults_click",e.PoiSelectedClick="poi_selected_click",e.PreviewModalScroll="preview_modal_scroll",e.PreviousArrowClick="previous_arrow_click",e.PreviousListingsClick="previous_listings_click",e.PreviousListingsFullPage="previous_listings_full_page",e.PreviousListingsViewMore="previous_listings_view_more",e.PricingToolsCma="pricing_tools_cma",e.PricingToolsEquityCalculator="pricing_tools_equity_calculator",e.PricingToolsRefineValue="pricing_tools_refine_value",e.PricingToolsRvmAvm="pricing_tools_rvm_avm",e.PricingToolsSellersNetSheet="pricing_tools_sellers_net_sheet",e.PrintClick="print_click",e.ProfileZipformLinkAccounts="profile_zipform_link_accounts",e.ProfileZipformLinkStatus="profile_zipform_link_status",e.PropertyFactsUpdate="property_facts_update",e.PublicRecordHistoryFullPage="public_record_history_full_page",e.PublishReport="publish_report",e.ReportEditorSideMenu="report_editor_side_menu",e.ReportGenerated="report_generated",e.ReportThumbnail="report_thumbnail",e.RerunReportClicked="rerun_report_click",e.ResetClick="reset_click",e.Resumed="resumed",e.Run
5Report="run_report",e.Save="save",e.SaveAsNewTemplate="save_as_new_template",e.SaveLoan="save_loan",e.SaveReport="save_report",e.SchoolsApplyClick="schools_apply_click",e.SchoolsLevelSelectedClick="schools_level_selected_click",e.SchoolsTypeSelectedClick="schools_type_selected_click",e.ScriptMaker="script_maker",e.ScrollPageDepth="scroll_page_depth",e.ScrollToTopBottom="scroll_to_top_bottom",e.Searches="searches",e.SearchResultsNdPrint="search_results_nd_print",e.SearchResultsNdViewDetails="search_results_nd_view_details",e.SearchResultsPropertyListView="search_results_property_list_view",e.SearchResultsPropertyMapView="search_results_property_map_view",e.SearchResultsPropertyPhotoGridView="search_results_property_photo_grid_view",e.SearchResultsSaveSearch="search_results_save_search",e.SearchResultsSchoolPrint="search_results_school_print",e.SelectCoverContact="select_cover_contact",e.SelectCustomPage="select_custom_page",e.SelectElement="select_element",e.SelectFilter="select_filter",e.SelectLogo="select_logo",e.SelectMarketTrendMetric="select_market_trend_metric",e.SelectNote="select_note",e.SelectPhotos="select_photos",e.SendEmail="send_email",e.SettingsAddLogo="settings_add_logo",e.SettingsAddPhoto="settings_add_photo",e.SettingsAssistantCreated="settings_assistant_created",e.SettingsCreateNewAssistant="settings_create_new_assistant",e.SettingsNewAndClosedSlider="settings_new_and_closed_slider",e.SettingsProfileRdc="settings_profile_rdc",e.SettingsSaveChanges="settings_save_changes",e.Share="share",e.ShareReport="share_report",e.ShareToFacebook="share_to_facebook",e.ShareToLinkedIn="share_to_linkedin",e.ShareToX="share_to_x",e.SignUp="sign_up",e.SignUpDuplicateSignUp="sign_up_duplicate_sign_up",e.SignUpFormAbandonment="sign_up_form_abandonment",e.SignUpFormAbandonmentField="sign_up_form_abandonment_field",e.SignUpFormErrors="sign_up_form_errors",e.SignUpInvalidEmailToken="sign_up_invalid_email_token",e.SignUpShowPasswordChecked="sign_up_show_password_checked",e.SignUpStep1CreateAccountClick="sign_up_step1_create_account_click",e.SignUpStep2aEmailSent="sign_up_step2a_email_sent",e.SignUpStep2bEmailVerified="sign_up_step2b_email_verified",e.SignUpStep2bInvalidToken="sign_up_step2b_invalid_token",e.SignUpStep2SetUpComplete="sign_up_step2_set_up_complete",e.SignUpStep3SetPasswordComplete="sign_up_step3_set_password_complete",e.SignUpStep4AddOrgsComplete="sign_up_step4_add_orgs_complete",e.StartReport="start_report",e.SubNav="sub_nav",e.TaxRecords="tax_records",e.TaxViewMore="tax_view_more",e.TemplateMenu="template_menu",e.TemplateSidebarFilter="template_sidebar_filter",e.TemplateThumbnail="template_thumbnail",e.TrafficCountsApply="traffic_counts_apply",e.TrafficCountsCancelClick="traffic_counts_cancel_click",e.TrafficCountsClearClick="traffic_counts_clear_click",e.TrafficCountsEditClick="traffic_counts_edit_click",e.TrafficCountsIncluded="traffic_counts_included",e.TravelTime1aMarkerMoved="travel_time1a_marker_moved",e.TravelTime1aSearchForAddress="travel_time1a_search_for_address",e.TravelTime1MovePinComplete="travel_time1_move_pin_complete",e.TravelTime2aMarkerClick="travel_time2a_marker_click",e.TravelTime3aPolygonClick="travel_time3a_polygon_click",e.TravelTime3Results="travel_time3_results",e.TravelTimeError="travel_time_error",e.UpdateCoverImage="update_cover_image",e.UpdatePrimaryImage="update_primary_image",e.UpdatePropertyThumbnailImages="update_property_thumbnail_images",e.UpdateTemplate="update_template",e.UpdateVicinityMap="update_vicinity_map",e.UploadPhotos="upload_photos",e.VideoLink="video_link",e.ViewBetaReports="view_beta_reports",e.ViewBetaTemplates="view_beta_templates",e.ViewLegacyReports="view_legacy_reports",e.ViewNarDashboard="view_nar_dashboard",e.ViewProperties="view_properties",e.Views="views",e.ViewSampleReportClick="view_sample_report_click",e.YearFilterClick="year_filter_click",e.ZipformCreatedTransaction="zipform_created_transaction",e.ZipformOpenedDialog="zipform_opened_dialog",e})(oI||{}),sI=(function(e){return e.AarpArea="aarp_area",e.AppPropertyMode="app_property_mode",e.CardTitle="card_t
5itle",e.Duration="duration",e.DurationLocation="duration_location",e.ErrorName="error_name",e.EventStatus="event_status",e.FilterName="filter_name",e.ItemName="item_name",e.LearningMenuItemName="learning_menu_item_name",e.LinkId="link_id",e.MapName="map_name",e.MapReused="map_reused",e.MapToolName="map_tool_name",e.MapType="map_type",e.MarketArea="market_area",e.MenuItem="menu_item",e.MenuItemName="menu_item_name",e.Method="method",e.NeighborhoodArea="neighborhood_area",e.ReportName="report_name",e.ReportStatus="report_status",e.ScrollDepthName="scroll_depth_name",e.SearchName="search_name",e.SearchTypeName="search_type_name",e.Status="status",e.TemplateName="template_name",e.TemplateType="template_type",e.VideoName="video_name",e})(sI||{}),G6=(function(e){return e.AdditionalResourcesCard="Additional Resources Card",e.Admin="Admin",e.AdvancedSearch="Advanced Search",e.AIScriptWriter="AI ScriptWriter",e.AllTemplates="All Templates",e.AnyType="Any Type",e.AssociationTools="Association Tools",e.BasicFactsCard="Basic Facts Card",e.Bottom="bottom",e.BrokerTools="Broker Tools",e.BuyerTour="Buyer Tour",e.Center="Center",e.ChangeAddress="Change Address",e.ChartService="Chart Service",e.CodeNotVerifiedAccountLockedOut="Code Not Verified > AccountLockedOut",e.CodeNotVerifiedInvalidCode="Code Not Verified > InvalidCode",e.Commercial="Commercial",e.CommercialMapInsights="Commercial Map Insights",e.CommercialSiteSelection="Commercial Site Selection",e.CommercialTradeArea="Commercial Trade Area",e.CommercialTradeAreas="Commercial Trade Areas",e.CommercialTradeAreasAiScriptWriter="Commercial Trade Areas AI ScriptWriter",e.Contact="Contact",e.CopyPdfLink="Copy PDF Link",e.CoverPage="Cover Page",e.CreateACma="Create a CMA",e.Customize="Customize",e.CustomPages="Custom Pages",e.DataLayerMenu="Data Layer Menu",e.DeleteReport="Delete Report",e.DeleteTemplate="Delete Template",e.Download="Download",e.DrawBoxTool="Draw Box Tool",e.DrawFreehandTool="Draw Freehand Tool",e.DrawMenu="Draw Menu",e.DrawPolygonTool="Draw Polygon Tool",e.DrawRadiusTool="Draw Radius Tool",e.DrivingDistanceTool="Driving Distance Tool",e.DrivingMenu="Driving Menu",e.DrivingTrafficCountsTool="Driving Traffic Counts Tool",e.DrivingTravelTimeTool="Driving Travel Time Tool",e.DynamicMap="Dynamic Map",e.DynamicStreetView="Dynamic StreetView",e.EconomicArea="Economic Area",e.EconomicAreaSearch="Economic Area Search",e.EditReport="Edit Report",e.Email="Email",e.EmailFailed="Email Failed",e.EmailNotSentAccountDisabled="Email Not Sent > Account Disabled",e.EmailNotSentError="Email Not Sent > Error",e.EmailNotSentUnknownEmail="Email Not Sent > Unknown Email",e.EnterFullScreen="Enter Full Screen",e.ErrorEmailRecoveryCouldNotVerifyNarMembership="Error Email Recovery: Could not verify NAR membership",e.ErrorEmailRecoveryPhoneNumberNotFound="Error Email Recovery: Phone Number Not Found",e.ErrorEmailRecoveryVerificationCodeFinalAttempt="Error Email Recovery: Verification Code Final Attempt",e.ErrorEmailRecoveryVerificationCodeInvalid="Error Email Recovery: Verification Code Invalid",e.ErrorSettingNewPassword="Error Setting New Password",e.ErrorSigningIn="Error Signing In",e.ExitFullScreen="Exit Full Screen",e.Failed="Failed",e.False="false",e.Generated="Generated",e.Home="Home",e.HomeImprovementsCard="Home Improvements Card",e.HowToResearch="How to Research",e.IntroToMyWork="Intro to My Work",e.Legend="Legend",e.ListingHistoryCard="Listing History Card",e.Location="Location",e.LogoDropdown="Logo Dropdown",e.MapSearch="Map Search",e.MarketActivityReport="Market Activity Report",e.MarketAndHomeConditionsCard="Market and Home Conditions Card",e.MarketTrends="Market Trends",e.MarketTrendsDetails="Market Trends Details",e.MarketTrendsSearch="Market Trends Search",e.MediaLibrary="Media Library",e.MLSTools="MLS Tools",e.MyListings="My Listings",e.MyMarkets="My Markets",e.MyNotes="My Notes",e.MyRecentProperties="My Recent Properties",e.MyRecentSearches="My Recent Searches",e.MyReports="My Reports",e.MyReportsV2="My Reports V2",e.MySavedProperties="My Saved Properties",e.MySavedSearches="My Saved Searches",e.NarLogo="NAR Logo",e.NeededImprovementsCard="Needed Improvements Card",e.NeighborhoodDetails="Neighborhood Details",e.NeighborhoodReport="Neighborhood Report",e.Neighborhoods="Neighborhoods",e.NeighborhoodSearch="Neighborhood Search",e.Notes="Notes",e.Photos="Photos",e.PickingTheRightReport="Picking the Right Report",e.PlaceRankings="Place Rankings",e.POIMenu="POI Menu",e.Profile="Profile",e.Property="Property",e.PropertyDetails="Property Details",e.PropertyDetailsDynamicStreetView="Property Details Dynamic Street View",e.PropertyDetailsOverheadView="Property Details Overhead View",e.PropertyDetailsStaticStreetView="Property Details Static Street View",e.PropertyInformation="Property Information",e.PropertySearch="Property Search",e.PropertySearchResults="Property Search Results",e.PropertySelectionLimitExceeded="Property selection limit exceeded",e.ProspectingForCommercialClients="Prospecting for Commercial Clients",e.ProspectingForResidentialClients="Prospecting for Residential Clients",e.PublicRecordHistoryCard="Public Record History Card",e.PublicRecordsCard="Public Records Card",e.QuickSearch="Quick Search",e.RecentSearch="Recent Search",e.RefinedValueCard="Refined Value Card",e.ReportEditor="Report Editor",e.ReportGeneration="Report Generation",e.ReportPreview="Report Preview",e.Reports="Reports",e.Residential="Residential",e.ResidentialMarketActivitySearch="Residential Market Activity Search",e.ResidentialMarketTrends="Residential Market Trends",e.ResidentialMarketTrendsAiScriptWriter="Residential Market Trends AI ScriptWriter",e.RotateLeft="Rotate Left",e.RotateRight="Rotate Right",e.RprLogo="RPR Logo",e.RprMarketingTips="RPR Marketing Tips",e.SchoolDetails="School Details",e.SchoolReport="School Report",e.Schools="Schools",e.SchoolSearch="School Search",e.SchoolsMenu="Schools Menu",e.Search="Search",e.SearchBar="Search Bar",e.SearchResults="Search Results",e.SelectedProperties="Selected Properties",e.SelectOnMap="Select on Map",e.ServerError="Server Error",e.Settings="Settings",e.ShareReport="Share Report",e.SignOut="Sign Out",e.StateOrDistrict="State or District",e.StaticMap="Static Map",e.StaticStreetView="Static StreetView",e.Successful="Successful",e.Templates="Templates",e.Tenants="Tenants",e.Text="Text",e.Top="top",e.TradeAreaAttributeSummary="Trade Area Attribute Summary",e.TradeAreaDetail
5s="Trade Area Details",e.True="true",e.UnknownMapId="Unknown Map Id",e.UserProfile="User Profile",e.UseThisTemplate="Use this Template",e.ViewAllTemplates="View All Templates",e.ViewReportActivity="View Report Activity",e.ViewsAerial="Views Aerial",e.ViewsMenu="Views Menu",e.ViewsRoad="Views Road",e.ViewsSatellite="Views Satellite",e.ViewsTerrain="Views Terrain",e.Website="Website",e.ZoomIn="Zoom In",e.ZoomOut="Zoom Out",e})(G6||{});var aI;try{aI=typeof Intl<"u"&&Intl.v8BreakIterator;}catch{aI=false;}var Ct=(()=>{class e{_platformId=h$5(zi);isBrowser=this._platformId?Fm(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||aI)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();var cI;function QO(){if(cI==null){let e=typeof document<"u"?document.head:null;cI=!!(e&&(e.createShadowRoot||e.attachShadow));}return cI}function lI(e){if(QO()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function ma(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t;}return e}function nr$1(e){if(e.composedPath)try{return e.composedPath()[0]}catch{}return e.target}function uI(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Bg=new WeakMap,xr$1=(()=>{class e{_appRef;_injector=h$5(le$4);_environmentInjector=h$5($e$1);load(n){let r=this._appRef=this._appRef||this._injector.get(Tn$1),i=Bg.get(r);i||(i={loaders:new Set,refs:[]},Bg.set(r,i),r.onDestroy(()=>{Bg.get(r)?.refs.forEach(o=>o.destroy()),Bg.delete(r);})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(Sm(n,{environmentInjector:this._environmentInjector})));}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function kt(e){return e==null?"":typeof e=="string"?e:`${e}px`}function Sl(e){return Array.isArray(e)?e:[e]}function ga(e,t=0){return XO(e)?Number(e):arguments.length===2?t:0}function XO(e){return !isNaN(parseFloat(e))&&!isNaN(Number(e))}function Mr$1(e){return e instanceof me$2?e.nativeElement:e}var Z6=new R$3("cdk-dir-doc",{providedIn:"root",factory:()=>h$5(se$3)}),J6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function KO(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?J6.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var co=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Q$6("ltr");change=new de$4;constructor(){let n=h$5(Z6,{optional:true});if(n){let r=n.body?n.body.dir:null,i=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(KO(r||i||"ltr"));}}ngOnDestroy(){this.change.complete();}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();var Xr$1=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Xr$1||{}),Ug,ya;function Vg(){if(ya==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ya=false,ya;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)ya=true;else {let e=Element.prototype.scrollTo;e?ya=!/\{\s*\[native code\]\s*\}/.test(e.toString()):ya=false;}}return ya}function Il(){if(typeof document!="object"||!document)return Xr$1.NORMAL;if(Ug==null){let e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),Ug=Xr$1.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Ug=e.scrollLeft===0?Xr$1.NEGATED:Xr$1.INVERTED),e.remove();}return Ug}var lo=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})();var Q6=20,af=(()=>{class e{_ngZone=h$5(ce$4);_platform=h$5(Ct);_renderer=h$5(cn$1).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new G$3;_scrolledCount=0;
5scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)));}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n));}scrolled(n=Q6){return this._platform.isBrowser?new ae$3(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=n>0?this._scrolled.pipe(Mp(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0);}}):N$4()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete();}ancestorScrolled(n,r){let i=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(Ne$1(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((i,o)=>{this._targetContainsElement(o,n)&&r.push(o);}),r}_targetContainsElement(n,r){let i=Mr$1(r),o=n.getElementRef().nativeElement;do if(i==o)return true;while(i=i.parentElement);return false}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),fI=(()=>{class e{elementRef=h$5(me$2);scrollDispatcher=h$5(af);ngZone=h$5(ce$4);dir=h$5(co,{optional:true});_scrollElement=this.elementRef.nativeElement;_destroyed=new G$3;_renderer=h$5(Vt$2);_cleanupScroll;_elementScrolled=new G$3;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",n=>this._elementScrolled.next(n))),this.scrollDispatcher.register(this);}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete();}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(n){let r=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";n.left==null&&(n.left=i?n.end:n.start),n.right==null&&(n.right=i?n.start:n.end),n.bottom!=null&&(n.top=r.scrollHeight-r.clientHeight-n.bottom),i&&Il()!=Xr$1.NORMAL?(n.left!=null&&(n.right=r.scrollWidth-r.clientWidth-n.left),Il()==Xr$1.INVERTED?n.left=n.right:Il()==Xr$1.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=r.scrollWidth-r.clientWidth-n.right),this._applyScrollToOptions(n);}_applyScrollToOptions(n){let r=this.elementRef.nativeElement;Vg()?r.scrollTo(n):(n.top!=null&&(r.scrollTop=n.top),n.left!=null&&(r.scrollLeft=n.left));}measureScrollOffset(n){let r="left",i="right",o=this.elementRef.nativeElement;if(n=="top")return o.scrollTop;if(n=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return n=="start"?n=s?i:r:n=="end"&&(n=s?r:i),s&&Il()==Xr$1.INVERTED?n==r?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&Il()==Xr$1.NEGATED?n==r?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:n==r?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),X6=20,El=(()=>{class e{_platform=h$5(Ct);_listeners;_viewportSize=null;_change=new G$3;_document=h$5(se$3);constructor(){let n=h$5(ce$4),r=h$5(cn$1).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[r.listen("window","resize",i),r.listen("window","orientationchange",i)];}this.change().subscribe(()=>this._viewportSize=null);});}ngOnDestroy(){this._listeners?.forEach(n=>n()),this._change.complete();}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();
5return {top:n.top,left:n.left,bottom:n.top+i,right:n.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return {top:0,left:0};let n=this._document,r=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect(),s=-o.top||n.body?.scrollTop||r.scrollY||i.scrollTop||0,a=-o.left||n.body?.scrollLeft||r.scrollX||i.scrollLeft||0;return {top:s,left:a}}change(n=X6){return n>0?this._change.pipe(Mp(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0};}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();var dI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})(),pI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({imports:[lo,dI,lo,dI]})}return e})();var eP=new Map,Kr$1=class e{_appId=h$5($i);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(t,n=false){this._appId!=="ng"&&(t+=this._appId);let r=eP.get(t);return r===void 0?r=0:r++,eP.set(t,r),`${t}${n?e._infix+"-":""}${r}`}static \u0275fac=function(n){return new(n||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})};var cf=class{_attachedHost=null;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach());}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t;}},Tl=class extends cf{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(t,n,r,i,o,s){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.projectableNodes=i,this.bindings=o||null,this.directives=s||null;}},qo=class extends cf{templateRef;viewContainerRef;context;injector;constructor(t,n,r,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=i;}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}},hI=class extends cf{element;constructor(t){super(),this.element=t instanceof me$2?t.nativeElement:t;}},xl=class{_attachedPortal=null;_disposeFn=null;_isDisposed=false;hasAttached(){return !!this._attachedPortal}attach(t){if(t instanceof Tl)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof qo)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof hI)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn();}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=true;}setDisposeFn(t){this._disposeFn=t;}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null);}},jg=class extends xl{outletElement;_appRef;_defaultInjector;constructor(t,n,r){super(),this.outletElement=t,this._appRef=n,this._defaultInjector=r;}attachComponentPortal(t){let n;if(t.viewContainerRef){let r=t.injector||t.viewContainerRef.injector,i=r.get(vi,null,{optional:true})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),this.setDisposeFn(()=>n.destroy());}else {let r=this._appRef,i=t.injector||this._defaultInjector||le$4.NULL,o=i.get($e$1,r.injector);n=Sm(t.component,{elementInjector:i,environmentInjector:o,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),r.attachView(n.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(n.hostView),n.destroy();});}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});
vendor: 4,698 bytes, line 5
5return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(r);i!==-1&&n.remove(i);}),this._attachedPortal=t,r}attachDomPortal=t=>{let n=t.element;n.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");n.parentNode.insertBefore(r,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r);});};dispose(){super.dispose(),this.outletElement.remove();}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},xCe=(()=>{class e extends qo{constructor(){let n=h$5(Dn$1),r=h$5(ln$1);super(n,r);}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ee$2]})}return e})(),lf=(()=>{class e extends xl{_moduleRef=h$5(vi,{optional:true});_document=h$5(se$3);_viewContainerRef=h$5(ln$1);_isInitialized=false;_attachedRef=null;get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null);}attached=new de$4;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=true;}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null;}attachComponentPortal(n){n.setAttachedHost(this);let r=n.viewContainerRef!=null?n.viewContainerRef:this._viewContainerRef,i=r.createComponent(n.component,{index:r.length,injector:n.injector||r.injector,projectableNodes:n.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:n.bindings||void 0,directives:n.directives||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=n,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(n){n.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=n=>{let r=n.element;r.parentNode;let i=this._document.createComment("dom-portal");n.setAttachedHost(this),r.parentNode.insertBefore(i,r),this._getRootNode().appendChild(r),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(r,i);});};_getRootNode(){let n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ee$2]})}return e})(),va=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})();function Wo(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var tP=Vg();function Rl(e){return new Hg(e.get(El),e.get(se$3))}var Hg=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=false;_document;constructor(t,n){this._viewportRuler=t,this._document=n;}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=kt(-this._previousScrollPosition.left),t.style.top=kt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=true;}}disable(){if(this._isEnabled){let t=this._document.documentElement,n=this._document.body,r=t.style,i=n.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=false,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),tP&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),tP&&(r.scrollBehavior=o,i.scrollBehavior=s);}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return false;let n=this._document.documentElement,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}};function cP(e,t){return new $g(e.get(af),e.get(ce$4),e.get(El),t)}var $g=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,n,r,i){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler
5=r,this._config=i;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(Ne$1(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition();})):this._scrollSubscription=t.subscribe(this._detach);}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach());}};var uf=class{enable(){}disable(){}attach(){}};function mI(e,t){return t.some(n=>{let r=e.bottom<n.top,i=e.top>n.bottom,o=e.right<n.left,s=e.left>n.right;return r||i||o||s})}function nP(e,t){return t.some(n=>{let r=e.top<n.top,i=e.bottom>n.bottom,o=e.left<n.left,s=e.right>n.right;return r||i||o||s})}function _I(e,t){return new zg(e.get(af),e.get(El),e.get(ce$4),t)}var zg=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,n,r,i){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=i;}attach(t){this._overlayRef,this._overlayRef=t;}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();mI(n,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()));}});}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null);}detach(){this.disable(),this._overlayRef=null;}},lP=(()=>{class e{_injector=h$5(le$4);noop=()=>new uf;close=n=>cP(this._injector,n);block=()=>Rl(this._injector);reposition=n=>_I(this._injector,n);static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),ba=class{positionStrategy;scrollStrategy=new uf;panelClass="";hasBackdrop=false;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=false;usePopover;eventPredicate;constructor(t){if(t){let n=Object.keys(t);for(let r of n)t[r]!==void 0&&(this[r]=t[r]);}}};var qg=class{connectionPair;scrollableViewProperties;constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n;}};var uP=(()=>{class e{_attachedOverlays=[];_document=h$5(se$3);_isAttached=false;ngOnDestroy(){this.detach();}add(n){this.remove(n),this._attachedOverlays.push(n);}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach();}canReceiveEvent(n,r,i){return i.observers.length<1?false:n.eventPredicate?n.eventPredicate(r):true}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),dP=(()=>{class e extends uP{_ngZone=h$5(ce$4);_renderer=h$5(cn$1).createRenderer(null,null);_cleanupKeydown;add(n){super.add(n),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener);}),this._isAttached=true);}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=false);}_keydownListener=n=>{let r=this._attachedOverlays;for(let i=r.length-1;i>-1;i--){let o=r[i];if(this.canReceiveEvent(o,n,o._keydownEvents)){this._ngZone.run(()=>o._keydownEvents.next(n));break}}};static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),fP=(()=>{class e extends uP{_platform=h$5(Ct);_ngZone=h$5(ce$4);_renderer=h$5(cn$1).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=false;_pointerDownEventTarget=null;_cleanups;add(n){if(super.add(n),!this._isAttached){let r=this._document.body,i={capture:true},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(r,"pointerdown",this._pointerDownListener,i),o.listen(r,"click",this._clickListener,i),o.listen(r,"auxclick",this._clickListener,i),o.listen(r,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=true),this._isAttached=true;}}detach(){this._isAttached&&(this._cleanups?.forEach(n=>n()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=false),this._isAttached=false);}_pointerDownListener=n=>{this._pointerDownEventTarget=nr$1(n);};_clickListener=n=>{let r=nr$1(n),i=n.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,n,c))){if(rP(a.overlayElement,r)||rP(a.overlayElement,i))break;this._ngZone?this._ngZone.run(()=>c.next(n)):c.next(n);}}};static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function rP(e,t){let n=typeof ShadowRoot<"u"&&ShadowRoot,r=t;for(;r;){if(r===e)return true;r=n&&r instanceof ShadowRoot?r.host:r.parentNode;}return false}var pP=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper { 6 pointer-events: none; 7 top: 0; 8 left: 0; 9 height: 100%; 10 width: 100%; 11} 12 13.cdk-overlay-container { 14 position: fixed; 15} 16@layer cdk-overlay { 17 .cdk-overlay-container { 18 z-index: 1000; 19 } 20} 21.cdk-overlay-container:empty { 22 display: none; 23} 24 25.cdk-global-overlay-wrapper { 26 display: flex; 27 position: absolute; 28} 29@layer cdk-overlay { 30 .cdk-global-overlay-wrapper { 31 z-index: 1000; 32 } 33} 34 35.cdk-overlay-pane { 36 position: absolute; 37 pointer-events: auto; 38 box-sizing: border-box; 39 display: flex; 40 max-width: 100%; 41 max-height: 100%; 42} 43@layer cdk-overlay { 44 .cdk-overlay-pane { 45 z-index: 1000; 46 } 47} 48 49.cdk-overlay-backdrop { 50 position: absolute; 51 top: 0; 52 bottom: 0; 53 left: 0; 54 right: 0; 55 pointer-events: auto; 56 -webkit-tap-highlight-color: transparent; 57 opacity: 0; 58 touch-action: manipulation; 59} 60@layer cdk-overlay { 61 .cdk-overlay-backdrop { 62 z-index: 1000; 63 transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1); 64 } 65} 66@media (prefers-reduced-motion) { 67 .cdk-overlay-backdrop { 68 transition-duration: 1ms; 69 } 70} 71 72.cdk-overlay-backdrop-showing { 73 opacity: 1; 74} 75@media (forced-colors: active) { 76 .cdk-overlay-backdrop-showing { 77 opacity: 0.6; 78 } 79} 80 81@layer cdk-overlay { 82 .cdk-overlay-dark-backdrop { 83 background: rgba(0, 0, 0, 0.32); 84 } 85} 86 87.cdk-overlay-transparent-backdrop { 88 transition: visibility 1ms linear, opacity 1ms linear; 89 visibility: hidden; 90 opacity: 1; 91} 92.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop { 93 opacity: 0; 94 visibility: visible; 95} 96
97.cdk-overlay-backdrop-noop-animation { 98 transition: none; 99} 100 101.cdk-overlay-connected-position-bounding-box { 102 position: absolute; 103 display: flex; 104 flex-direction: column; 105 min-width: 1px; 106 min-height: 1px; 107} 108@layer cdk-overlay { 109 .cdk-overlay-connected-position-bounding-box { 110 z-index: 1000; 111 } 112} 113 114.cdk-global-scrollblock { 115 position: fixed; 116 width: 100%; 117 overflow-y: scroll; 118} 119 120.cdk-overlay-popover { 121 background: none; 122 border: none; 123 padding: 0; 124 outline: 0; 125 overflow: visible; 126 position: fixed; 127 pointer-events: none; 128 white-space: normal; 129 color: inherit; 130 text-decoration: none; 131 width: 100%; 132 height: 100%; 133 inset: auto; 134 top: 0; 135 left: 0; 136} 137.cdk-overlay-popover::backdrop { 138 display: none; 139} 140.cdk-overlay-popover .cdk-overlay-backdrop { 141 position: fixed; 142 z-index: auto; 143} 144`],encapsulation:2})}return e})(),Gg=(()=>{class e{_platform=h$5(Ct);_containerElement;_document=h$5(se$3);_styleLoader=h$5(xr$1);ngOnDestroy(){this._containerElement?.remove();}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||uI()){let i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove();}let r=this._document.createElement("div");r.classList.add(n),uI()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r;}_loadStyles(){this._styleLoader.load(pP);}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),gI=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,n,r,i){this._renderer=n,this._ngZone=r,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=n.listen(this.element,"click",i);}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.classList.remove("cdk-overlay-backdrop-showing");});}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove();}};function bI(e){return e&&e.nodeType===1}var Ml=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new G$3;_attachments=new G$3;_detachments=new G$3;_positionStrategy;_scrollStrategy;_locationChanges=Fe.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=false;_previousHostParent;_keydownEvents=new G$3;_outsidePointerEvents=new G$3;_afterNextRenderRef;constructor(t,n,r,i,o,s,a,c,u,d=false,f,p){this._portalOutlet=t,this._host=n,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=u,this._animationsDisabled=d,this._injector=f,this._renderer=p,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy;}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(t){if(this._disposed)return null;this._attachHost();let n=this._portalOutlet.attach(t);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=In$1(()=>{this.hasAttached()&&this.updatePosition();},{injector:this._injector}),this._togglePointerEvents(true),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,true),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()));}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(false),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){if(this._disposed)return;let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
vendor: 5,256 bytes, line 144
144pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=true;}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply();}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()));}updateSize(t){this._config=r$2(r$2({},this._config),t),this._updateElementSize();}setDirection(t){this._config=s$6(r$2({},this._config),{direction:t}),this._updateElementDirection();}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,true);}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,false);}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()));}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection());}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=kt(this._config.width),t.height=kt(this._config.height),t.minWidth=kt(this._config.minWidth),t.minHeight=kt(this._config.minHeight),t.maxWidth=kt(this._config.maxWidth),t.maxHeight=kt(this._config.maxHeight);}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none";}_attachHost(){if(!this._host.parentElement){let t=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;bI(t)?t.after(this._host):t?.type==="parent"?t.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host);}if(this._config.usePopover)try{this._host.showPopover();}catch{}}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new gI(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n);}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,true),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t));}):this._backdropRef.element.classList.add(t);}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host);}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach();}_toggleClasses(t,n,r){let i=Sl(n||[]).filter(o=>!!o);i.length&&(r?t.classList.add(...i):t.classList.remove(...i));}_detachContentWhenEmpty(){let t=false;try{this._detachContentAfterRenderRef=In$1(()=>{t=!0,this._detachContent();},{injector:this._injector});}catch(n){if(t)throw n;this._detachContent();}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent();}),this._detachContentMutationObserver.observe(this._pane,{childList:true}));}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,false),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent());}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect();}_disposeScrollStrategy(){let t=this._scrollStrategy;t?.disable(),t?.detach?.();}},iP="cdk-overlay-connected-position-bounding-box",e9=/([A-Za-z%]+)$/;function DI(e,t){return new Wg(t,e.get(El),e.get(se$3),e.get(Ct),e.get(Gg))}var Wg=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=false;_lastBoundingBoxSize={width:0,height:0};_isPushed=false;_canPush=true;_growAfterOpen=false;_hasFlexibleDimensions=true;_positionLocked=false;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=false;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new G$3;_resizeSubscription=Fe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
144constructor(t,n,r,i,o){this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=o,this.setOrigin(t);}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(iP),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=false,this._isInitialRender=true,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=true,this.apply();});}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let t=this._originRect,n=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,i,a),u=this._getOverlayPoint(c,n,a),d=this._getOverlayFit(u,n,r,a);if(d.isCompletelyWithinViewport){this._isPushed=false,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,u,r)){o.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:u,originPoint:c,position:a,overlayRect:n});}if(o.length){let a=null,c=-1;for(let u of o){let d=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);d>c&&(c=d,a=u);}this._isPushed=false,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=true,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint);}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe();}dispose(){this._isDisposed||(this._boundingBox&&_a(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iP),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=true);}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;t?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(t,this._getOriginPoint(this._originRect,this._containerRect,t))):this.apply();}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=true){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=true){return this._growAfterOpen=t,this}withPush(t=true){return this._canPush=t,this}withLockedPosition(t=true){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}withPopoverLocation(t){return this._popoverLocation=t,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof me$2?this._origin.nativeElement:bI(this._origin)?this._origin:null}_getOriginPoint(t,n,r){let i;if(r.originX=="center")i=t.left+t.width/2;else {let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=r.originX=="start"?s:a;}n.left<0&&(i-=n.left);let o;return r.originY=="center"?o=t.top+t.height/2:o=r.originY=="top"?t.top:t.bottom,n.top<0&&(o-=n.top),{x:i,y:o}}_getOverlayPoint(t,n,r){let i;r.overlayX=="center"?i=-n.width/2:r.overlayX==="start"?i=this._isRtl()?-n.width:0:i=this._isRtl()?0:-n.width;let o;return r.overlayY=="center"?o=-n.height/2:o=r.overlayY=="top"?0:-n.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,n,r,i){let o=sP(n),{x:s,y:a}=t,c=this._getOffset(i,"x"),u=this._getOffset(i,"y");c&&(s+=c),u&&(a+=u);let d=0-s,f=s+o.width-r.width,p=0-a,g=a+o.height-r.height,v=this._subtractOverflows(o.width,d,f),C=this._subtractOverflows(o.height,p,g),S=v*C;return {visibleArea:S,isCompletelyWithinViewport:o.width*o.height===S,fitsInViewportVertically:C===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){let i=r.bottom-n.y,o=r.right-n.x,s=oP(this._overlayRef.getConfig().minHeight),a=oP(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||s!=null&&s<=i,u=t.fitsInViewportHorizontally||a!=null&&a<=o;return c&&u}return false}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return {x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=sP(n),o=this._viewportRect,s=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),c=Math.max(o.top-r.top-t.y,0),u=Math.max(o.left-r.left-t.x,0),d=0,f=0;return i.width<=o.width?d=u||-s:d=t.x<this._getViewportMarginStart()?o.left-r.left-t.x:0,i.height<=o.height?f=c||-a:f=t.y<this._getViewportMarginTop()?o.top-r.top-t.y:0,this._previousPushAmount={x:d,y:f},{x:t.x+d,y:t.y+f}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!t9(this._lastScrollVisibility,r)){let i=new qg(t,r);this._positionChanges.next(i);}this._lastScrollVisibility=r;}this._lastPosition=t,this._isInitialRender=false;}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,i=t.overlayY;
144t.overlayX==="center"?r="center":this._isRtl()?r=t.overlayX==="start"?"right":"left":r=t.overlayX==="start"?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${r} ${i}`;}_calculateBoundingBoxRect(t,n){let r=this._viewportRect,i=this._isRtl(),o,s,a;if(n.overlayY==="top")s=t.y,o=r.height-s+this._getViewportMarginBottom();else if(n.overlayY==="bottom")a=r.height-t.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=r.height-a+this._getViewportMarginTop();else {let g=Math.min(r.bottom-t.y+r.top,t.y),v=this._lastBoundingBoxSize.height;o=g*2,s=t.y-g,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-v/2);}let c=n.overlayX==="start"&&!i||n.overlayX==="end"&&i,u=n.overlayX==="end"&&!i||n.overlayX==="start"&&i,d,f,p;if(u)p=r.width-t.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=t.x-this._getViewportMarginStart();else if(c)f=t.x,d=r.right-t.x-this._getViewportMarginEnd();else {let g=Math.min(r.right-t.x+r.left,t.x),v=this._lastBoundingBoxSize.width;d=g*2,f=t.x-g,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-v/2);}return {top:s,left:f,bottom:a,right:p,width:d,height:o}}_setBoundingBoxStyles(t,n){let r=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="auto",i.maxHeight=i.maxWidth="",i.width=i.height="100%";else {let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.width=kt(r.width),i.height=kt(r.height),i.top=kt(r.top)||"auto",i.bottom=kt(r.bottom)||"auto",i.left=kt(r.left)||"auto",i.right=kt(r.right)||"auto",n.overlayX==="center"?i.alignItems="center":i.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?i.justifyContent="center":i.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=kt(o)),s&&(i.maxWidth=kt(s));}this._lastBoundingBoxSize=r,_a(this._boundingBox.style,i);}_resetBoundingBoxStyles(){_a(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""});}_resetOverlayElementStyles(){_a(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""});}_setOverlayElementStyles(t,n){let r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();_a(r,this._getExactOverlayY(n,t,d)),_a(r,this._getExactOverlayX(n,t,d));}else r.position="static";let a="",c=this._getOffset(n,"x"),u=this._getOffset(n,"y");c&&(a+=`translateX(${c}px) `),u&&(a+=`translateY(${u}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=kt(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=kt(s.maxWidth):o&&(r.maxWidth="")),_a(this._pane.style,r);}_getExactOverlayY(t,n,r){let i={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(o.y+this._overlayRect.height)}px`;}else i.top=kt(o.y);return i}_getExactOverlayX(t,n,r){let i={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r));let s;if(this._isRtl()?s=t.overlayX==="end"?"left":"right":s=t.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`;}else i.left=kt(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return {isOriginClipped:nP(t,r),isOriginOutsideView:mI(t,r),isOverlayClipped:nP(n,r),isOverlayOutsideView:mI(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,i)=>r-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return {top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+t-this._getViewportMarginEnd(),bottom:r.to
144p+n-this._getViewportMarginBottom(),width:t-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:n-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return !this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return n==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Sl(t).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n));});}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t);}),this._appliedPanelClasses=[]);}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let t=this._origin;if(t instanceof me$2)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let n=t.width||0,r=t.height||0;return {top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}_getContainerRect(){let t=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",n=this._overlayContainer.getContainerElement();t&&(n.style.display="block");let r=n.getBoundingClientRect();return t&&(n.style.display=""),r}};function _a(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function oP(e){if(typeof e!="number"&&e!=null){let[t,n]=e.split(e9);return !n||n==="px"?parseFloat(t):null}return e||null}function sP(e){return {top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function t9(e,t){return e===t?true:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var aP="cdk-global-overlay-wrapper";function Al(e){return new Yg}var Yg=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=false;attach(t){let n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(aP),this._isDisposed=false;}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,c=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),u=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,f=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",g="",v="",C="";c?C="flex-start":d==="center"?(C="center",p?v=f:g=f):p?d==="left"||d==="end"?(C="flex-end",g=f):(d==="right"||d==="start")&&(C="flex-start",v=f):d==="left"||d==="start"?(C="flex-start",g=f):(d==="right"||d==="end")&&(C="flex-end",v=f),t.position=this._cssPosition,t.marginLeft=c?"0":g,t.marginTop=u?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?"0":v,n.justifyContent=C,n.alignItems=u?"flex-start":this._alignItems;}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(aP),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=true;}},hP=(()=>{class e{_injector=h$5(le$4);global(){return Al()}flexibleConnectedTo(n){return DI(this._injector,n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),wI=new R$3("OVERLAY_DEFAULT_CONFIG");function df(e,t){e.get(xr$1).load(pP);let n=e.get(Gg),r=e.get(se$3),i=e.get(Kr$1),o=e.get(Tn$1),s=e.get(co),a=e.get(Vt$2,null,{optional:true})||e.get(cn$1).createRenderer(null,null),c=new ba(t),u=e.get(wI,null,{optional:true})?.usePopover??true;c.direction=c.direction||s.value,!r.body||!("showPopover"in r.body)?c.usePopover=false:c.usePopover=t?.usePopover??u;let d=r.createElement("div"),f=r.createElement("div");d.id=i.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),f.appendChild(d),c.usePopover&&(f.setAttribute("popover","manual"),f.classList.add("cdk-overlay-popover"));let p=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return bI(p)?p.after(f):p?.type==="parent"?p.element.appendChild(f):n.getContainerElement().appendChild(f),new Ml(new jg(d,o,e),f,d,c,e.get(ce$4),e.get(dP),r,e.get(wi),e.get(fP),t?.disableAnimations??e.get(Gu,null,{optional:true})==="NoopAnimations",e.get($e$1),a)}var mP=(()=>{class e{scrollStrategies=h$5(lP);_positionBuilder=h$5(hP);_injector=h$5(le$4);create(n){return df(this._injector,n)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),n9=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r9=new R$3("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=h$5(le$4);return ()=>_I(e)}}),yI=(()=>{class e{elementRef=h$5(me$2);static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),gP=new R$3("cdk-connected-overlay-default-config"),i9=(()=>{class e{_dir=h$5(co,{optional:true});_injector=h$5(le$4);_overlayRef;_templatePortal;_backdropSubscription=Fe.EMPTY;_attachSubscription=Fe.EMPTY;_detachSubscription=Fe.EMPTY;_positionSubscription=Fe.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=h$5(r9);_ngZone=h$5(ce$4);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position);}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position);}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=false;disableClose=false;transformOriginSelector;hasBackdrop=false;lockPosition=false;flexibleDimensions=false;growAfterOpen=false;push=false;disposeOnNavigation=false;usePopover;matchWidth=false;
144set _config(n){typeof n!="string"&&this._assignConfig(n);}backdropClick=new de$4;positionChange=new de$4;attach=new de$4;detach=new de$4;overlayKeydown=new de$4;overlayOutsideClick=new de$4;constructor(){let n=h$5(Dn$1),r=h$5(ln$1),i=h$5(gP,{optional:true}),o=h$5(wI,{optional:true});this.usePopover=o?.usePopover===false?null:"global",this._templatePortal=new qo(n,r),this.scrollStrategy=this._scrollStrategyFactory(),i&&this._assignConfig(i);}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose();}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this.attachOverlay():this.detachOverlay());}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=n9);let n=this._overlayRef=df(this._injector,this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Wo(r)&&(r.preventDefault(),this.detachOverlay());}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let i=this._getOriginElement(),o=nr$1(r);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(r);});}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new ba({direction:this._dir||"ltr",positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return (this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(n){let r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let n=DI(this._injector,this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof yI?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof yI?this.origin.elementRef.nativeElement:this.origin instanceof me$2?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let n=this._overlayRef;n.getConfig().hasBackdrop=this.hasBackdrop,n.updateSize({width:this._getWidth()}),n.hasAttached()||n.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=n.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(kp(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe();})),this.open=true;}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=false;}_assignConfig(n){this.origin=n.origin??this.origin,this.positions=n.positions??this.positions,this.positionStrategy=n.positionStrategy??this.positionStrategy,this.offsetX=n.offsetX??this.offsetX,this.offsetY=n.offsetY??this.offsetY,this.width=n.width??this.width,this.height=n.height??this.height,this.minWidth=n.minWidth??this.minWidth,this.minHeight=n.minHeight??this.minHeight,this.backdropClass=n.backdropClass??this.backdropClass,this.panelClass=n.panelClass??this.panelClass,this.viewportMargin=n.viewportMargin??this.viewportMargin,this.scrollStrategy=n.scrollStrategy??this.scrollStrategy,this.disableClose=n.disableClose??this.disableClose,this.transformOriginSelector=n.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=n.hasBackdrop??this.hasBackdrop,this.lockPosition=n.lockPosition??this.lockPosition,this.flexibleDimensions=n.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=n.growAfterOpen??this.growAfterOpen,this.push=n.push??this.push,this.disposeOnNavigation=n.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=n.usePopover??this.usePopover,this.matchWidth=n.matchWidth??this.matchWidth;}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",He],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",He],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",He],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",He],push:[2,"cdkConnectedOverlayPush","push",He],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",He],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",He],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ct$1]})}return e})(),ff=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({providers:[mP],imports:[lo,va,pI,pI]})}return e})();function pf(e){return e.buttons===0||e.detail===0}function hf(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];
vendor: 7,062 bytes, line 144
144return !!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var mf;function yP(){if(mf==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mf=!0}));}finally{mf=mf||false;}return mf}function Nl(e){return yP()?e:!!e.capture}var vP=new R$3("cdk-input-modality-detector-options"),_P={ignoreKeys:[18,17,224,91,16]},bP=650,CI={passive:true,capture:true},DP=(()=>{class e{_platform=h$5(Ct);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new zt(null);_options;_lastTouchMs=0;_onKeydown=n=>{this._options?.ignoreKeys?.some(r=>r===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=nr$1(n));};_onMousedown=n=>{Date.now()-this._lastTouchMs<bP||(this._modality.next(pf(n)?"keyboard":"mouse"),this._mostRecentTarget=nr$1(n));};_onTouchstart=n=>{if(hf(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=nr$1(n);};constructor(){let n=h$5(ce$4),r=h$5(se$3),i=h$5(vP,{optional:true});if(this._options=r$2(r$2({},_P),i),this.modalityDetected=this._modality.pipe(rc(1)),this.modalityChanged=this.modalityDetected.pipe(wu()),this._platform.isBrowser){let o=h$5(cn$1).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[o.listen(r,"keydown",this._onKeydown,CI),o.listen(r,"mousedown",this._onMousedown,CI),o.listen(r,"touchstart",this._onTouchstart,CI)]);}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(n=>n());}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),gf=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(gf||{}),wP=new R$3("cdk-focus-monitor-default-options"),Zg=Nl({passive:true,capture:true}),Jg=(()=>{class e{_ngZone=h$5(ce$4);_platform=h$5(Ct);_inputModalityDetector=h$5(DP);_origin=null;_lastFocusOrigin=null;_windowFocused=false;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=false;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=true,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=false);};_document=h$5(se$3);_stopInputModalityDetector=new G$3;constructor(){let n=h$5(wP,{optional:true});this._detectionMode=n?.detectionMode||gf.IMMEDIATE;}_rootNodeFocusAndBlurListener=n=>{let r=nr$1(n);for(let i=r;i;i=i.parentElement)n.type==="focus"?this._onFocus(n,i):this._onBlur(n,i);};monitor(n,r=false){let i=Mr$1(n);if(!this._platform.isBrowser||i.nodeType!==1)return N$4();let o=lI(i)||this._document,s=this._elementInfo.get(i);if(s)return r&&(s.checkChildren=true),s.subject;let a={checkChildren:r,subject:new G$3,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(n){let r=Mr$1(n),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i));}focusVia(n,r,i){let o=Mr$1(n),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i));}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r));}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===gf.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program");}_setOrigin(n,r=false){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===gf.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?bP:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i);}});}_onFocus(n,r){let i=this._elementInfo.get(r),o=nr$1(n);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i);}_onBlur(n,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null));}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r));}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Zg),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Zg);}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener);}),this._inputModalityDetector.modalityDetected.pipe(ft$2(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,true);}));}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Zg),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Zg),this._rootNodeFocusListenerCount.delete(r));}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId));}_originChanged(n,r,i){this._setClasses(n,r),this._emitOrigin(i,r),this._lastFocusOrigin=r;}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((i,o)=>{(o===n||i.checkChildren&&o.contains(n))&&r.push([o,i]);}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return false;let o=n.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(r))return true}return false}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),o9=(()=>{class e{_elementRef=h$5(me$2);_focusMonitor=h$5(Jg);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new de$4;get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let n=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(n,n.nodeType===1&&n.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r);});}
144ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe();}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var Xg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,i){},styles:[`.cdk-visually-hidden { 145 border: 0; 146 clip: rect(0 0 0 0); 147 height: 1px; 148 margin: -1px; 149 overflow: hidden; 150 padding: 0; 151 position: absolute; 152 width: 1px; 153 white-space: nowrap; 154 outline: 0; 155 -webkit-appearance: none; 156 -moz-appearance: none; 157 left: 0; 158} 159[dir=rtl] .cdk-visually-hidden { 160 left: auto; 161 right: 0; 162} 163`],encapsulation:2})}return e})(),Qg;function s9(){if(Qg===void 0&&(Qg=null,typeof window<"u")){let e=window;if(e.trustedTypes!==void 0)try{Qg=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t});}catch(t){console.error(t);}}return Qg}function a9(e){return s9()?.createHTML(e)||e}function CP(e,t,n){let r=n.sanitize(Sn$1.HTML,t);e.innerHTML=a9(r||"");}var SP=new Set,Da,Kg=(()=>{class e{_platform=h$5(Ct);_nonce=h$5(Fs,{optional:true});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):l9;}matchMedia(n){return (this._platform.WEBKIT||this._platform.BLINK)&&c9(n,this._nonce),this._matchMedia(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function c9(e,t){if(!SP.has(e))try{Da||(Da=document.createElement("style"),t&&Da.setAttribute("nonce",t),Da.setAttribute("type","text/css"),document.head.appendChild(Da)),Da.sheet&&(Da.sheet.insertRule(`@media ${e.replace(/[{}]/g,"")} {body{ }}`,0),SP.add(e));}catch(n){console.error(n);}}function l9(e){return {matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var SI=(()=>{class e{_mediaMatcher=h$5(Kg);_zone=h$5(ce$4);_queries=new Map;_destroySubject=new G$3;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete();}isMatched(n){return IP(Sl(n)).some(i=>this._registerQuery(i).mql.matches)}observe(n){let i=IP(Sl(n)).map(s=>this._registerQuery(s).observable),o=oc(i);return o=si(o.pipe(it$1(1)),o.pipe(rc(1),oi(0))),o.pipe(T$3(s=>{let a={matches:false,breakpoints:{}};return s.forEach(({matches:c,query:u})=>{a.matches=a.matches||c,a.breakpoints[u]=c;}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),o={observable:new ae$3(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a);}}).pipe(Br$1(r),T$3(({matches:s})=>({query:n,matches:s})),ft$2(this._destroySubject)),mql:r};return this._queries.set(n,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function IP(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function u9(e){if(e.type==="characterData"&&e.target instanceof Comment)return true;if(e.type==="childList"){for(let t=0;t<e.addedNodes.length;t++)if(!(e.addedNodes[t]instanceof Comment))return false;for(let t=0;t<e.removedNodes.length;t++)if(!(e.removedNodes[t]instanceof Comment))return false;return true}return false}var EP=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),TP=(()=>{class e{_mutationObserverFactory=h$5(EP);_observedElements=new Map;_ngZone=h$5(ce$4);ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r));}observe(n){let r=Mr$1(n);return new ae$3(i=>{let s=this._observeElement(r).pipe(T$3(a=>a.filter(c=>!u9(c))),Ne$1(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a);});});return ()=>{s.unsubscribe(),this._unobserveElement(r);}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else {let r=new G$3,i=this._mutationObserverFactory.create(o=>r.next(o));i&&i.observe(n,{characterData:true,childList:true,subtree:true}),this._observedElements.set(n,{observer:i,stream:r,count:1});}return this._observedElements.get(n).stream})}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n));}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:r,stream
163:i}=this._observedElements.get(n);r&&r.disconnect(),i.complete(),this._observedElements.delete(n);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),oIe=(()=>{class e{_contentObserver=h$5(TP);_elementRef=h$5(me$2);event=new de$4;get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._disabled?this._unsubscribe():this._subscribe();}_disabled=false;get debounce(){return this._debounce}set debounce(n){this._debounce=ga(n),this._subscribe();}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe();}ngOnDestroy(){this._unsubscribe();}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?n.pipe(oi(this.debounce)):n).subscribe(this.event);}_unsubscribe(){this._currentSubscription?.unsubscribe();}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",He],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),xP=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({providers:[EP]})}return e})();var TI=(()=>{class e{_platform=h$5(Ct);isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return f9(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return false;let r=d9(b9(n));if(r&&(MP(r)===-1||!this.isVisible(r)))return false;let i=n.nodeName.toLowerCase(),o=MP(n);return n.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!v9(n)?false:i==="audio"?n.hasAttribute("controls")?o!==-1:false:i==="video"?o===-1?false:o!==null?true:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}
vendor: 5,512 bytes, line 163
163isFocusable(n,r){return _9(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function d9(e){try{return e.frameElement}catch{return null}}function f9(e){return !!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function p9(e){let t=e.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function h9(e){return g9(e)&&e.type=="hidden"}function m9(e){return y9(e)&&e.hasAttribute("href")}function g9(e){return e.nodeName.toLowerCase()=="input"}function y9(e){return e.nodeName.toLowerCase()=="a"}function NP(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return false;let t=e.getAttribute("tabindex");return !!(t&&!isNaN(parseInt(t,10)))}function MP(e){if(!NP(e))return null;let t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function v9(e){let t=e.nodeName.toLowerCase(),n=t==="input"&&e.type;return n==="text"||n==="password"||t==="select"||t==="textarea"}function _9(e){return h9(e)?false:p9(e)||m9(e)||e.hasAttribute("contenteditable")||NP(e)}function b9(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var EI=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=false;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor));}_enabled=true;constructor(t,n,r,i,o=false,s){this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._injector=s,o||this.attachAnchors();}destroy(){let t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=false;}attachAnchors(){return this._hasAttached?true:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener));}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=true),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(t)));})}focusFirstTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(t)));})}focusLastTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(t)));})}_getRegionBoundary(t){let n=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let r=this._getFirstTabbableElement(n);return r?.focus(t),!!r}return n.focus(t),true}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let n=this._getRegionBoundary("start");return n&&n.focus(t),!!n}focusLastTabbableElement(t){let n=this._getRegionBoundary("end");return n&&n.focus(t),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children;for(let r=0;r<n.length;r++){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(i)return i}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children;for(let r=n.length-1;r>=0;r--){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(i)return i}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex");}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor));}_executeOnStable(t){In$1(t,{injector:this._injector});}},ey=(()=>{class e{_checker=h$5(TI);_ngZone=h$5(ce$4);_document=h$5(se$3);_injector=h$5(le$4);constructor(){h$5(xr$1).load(Xg);}create(n,r=false){return new EI(n,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),D9=(()=>{class e{_elementRef=h$5(me$2);_focusTrapFactory=h$5(ey);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||false}set enabled(n){this.focusTrap&&(this.focusTrap.enabled=n);}autoCapture=false;constructor(){h$5(Ct).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,true));}
163ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null);}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus();}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors();}ngOnChanges(n){let r=n.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus();}_captureFocus(){this._previouslyFocusedElement=ma(),this.focusTrap?.focusInitialElementWhenReady();}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",He],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",He]},exportAs:["cdkTrapFocus"],features:[ct$1]})}return e})(),kP=new R$3("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),OP=new R$3("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),w9=0,C9=(()=>{class e{_ngZone=h$5(ce$4);_defaultOptions=h$5(OP,{optional:true});_liveElement;_document=h$5(se$3);_sanitizer=h$5(bS);_previousTimeout;_currentPromise;_currentResolve;constructor(){let n=h$5(kP,{optional:true});this._liveElement=n||this._createLiveElement();}announce(n,...r){let i=this._defaultOptions,o,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),s==null&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!n||typeof n=="string"?this._liveElement.textContent=n:CP(this._liveElement,n,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="");}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0;}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${w9++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){let o=r[i],s=o.getAttribute("aria-owns");s?s.indexOf(n)===-1&&o.setAttribute("aria-owns",s+" "+n):o.setAttribute("aria-owns",n);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();var Yo=(function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e})(Yo||{}),RP="cdk-high-contrast-black-on-white",AP="cdk-high-contrast-white-on-black",II="cdk-high-contrast-active",PP=(()=>{class e{_platform=h$5(Ct);_hasCheckedHighContrastMode=false;_document=h$5(se$3);_breakpointSubscription;constructor(){this._breakpointSubscription=h$5(SI).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=false,this._applyBodyHighContrastModeCssClasses());});}getHighContrastMode(){if(!this._platform.isBrowser)return Yo.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case "rgb(0,0,0)":case "rgb(45,50,54)":case "rgb(32,32,32)":return Yo.WHITE_ON_BLACK;case "rgb(255,255,255)":case "rgb(255,250,239)":return Yo.BLACK_ON_WHITE}return Yo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe();}
vendor: 10,626 bytes, lines 163-170
163_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(II,RP,AP),this._hasCheckedHighContrastMode=true;let r=this.getHighContrastMode();r===Yo.BLACK_ON_WHITE?n.add(II,RP):r===Yo.WHITE_ON_BLACK&&n.add(II,AP);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),xI=(()=>{class e{constructor(){h$5(PP)._applyBodyHighContrastModeCssClasses();}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({imports:[xP]})}return e})();function S9(e,t){}var Go=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=true;backdropClass="";disableClose=false;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=false;autoFocus="first-tabbable";restoreFocus=true;scrollStrategy;closeOnNavigation=true;closeOnDestroy=true;closeOnOverlayDetachments=true;disableAnimations=false;providers;container;templateContext;bindings};var RI=(()=>{class e extends xl{_elementRef=h$5(me$2);_focusTrapFactory=h$5(ey);_config;_interactivityChecker=h$5(TI);_ngZone=h$5(ce$4);_focusMonitor=h$5(Jg);_renderer=h$5(Vt$2);_changeDetectorRef=h$5(dn$1);_injector=h$5(le$4);_platform=h$5(Ct);_document=h$5(se$3);_portalOutlet;_focusTrapped=new G$3;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=false;constructor(){super(),this._config=h$5(Go,{optional:true})||new Go,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy);}_addAriaLabelledBy(n){this._ariaLabelledByQueue.push(n),this._changeDetectorRef.markForCheck();}_removeAriaLabelledBy(n){let r=this._ariaLabelledByQueue.indexOf(n);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck());}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus();}_captureInitialFocus(){this._trapFocus();}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=true,this._restoreFocus();}attachComponentPortal(n){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(n);return this._contentAttached(),r}attachTemplatePortal(n){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(n);return this._contentAttached(),r}attachDomPortal=n=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(n);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus();}_forceFocus(n,r){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let i=()=>{o(),s(),n.removeAttribute("tabindex");},o=this._renderer.listen(n,"blur",i),s=this._renderer.listen(n,"mousedown",i);})),n.focus(r);}_focusByCssSelector(n,r){let i=this._elementRef.nativeElement.querySelector(n);i&&this._forceFocus(i,r);}_trapFocus(n){this._isDestroyed||In$1(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case false:case "dialog":this._containsFocus()||r.focus(n);break;case true:case "first-tabbable":this._focusTrap?.focusInitialElement(n)||this._focusDialogContainer(n);break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',n);break;default:this._focusByCssSelector(this._config.autoFocus,n);break}this._focusTrapped.next();},{injector:this._injector});}_restoreFocus(){let n=this._config.restoreFocus,r=null;if(typeof n=="string"?r=this._document.querySelector(n):typeof n=="boolean"?r=n?this._elementFocusedBeforeDialogWasOpened:null:n&&(r=n),this._config.restoreFocus&&r&&typeof r.focus=="function"){let i=ma(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus());}this._focusTrap&&this._focusTrap.destroy();}_focusDialogContainer(n){this._elementRef.nativeElement.focus?.(n);}_containsFocus(){let n=this._elementRef.nativeElement,r=ma();return n===r||n.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ma()));}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,i){if(r&1&&na(lf,7),r&2){let o;Zi(o=Ji())&&(i._portalOutlet=o.first);}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,i){r&2&&Rt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null);},features:[Ee$2],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,i){r&1&&Pc(0,S9,0,0,"ng-template",0);},dependencies:[lf],styles:[`.cdk-dialog-container { 164 display: block; 165 width: 100%; 166 height: 100%; 167 min-height: inherit; 168 max-height: inherit; 169} 170`],encapsulation:2,changeDetection:1})}return e})(),yf=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new G$3;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(t,n){this.overlayRef=t,this.config=n,this.disableClose=n.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=n.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Wo(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}));}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.();}),this._detachSubscription=t.detachments().subscribe(()=>{n.closeOnOverlayDetachments!==false&&this.close();});}close(t,n){if(this._canClose(t)){let r=this.closed;this.containerInstance._closeInteractionType=n?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(t),r.complete(),this.componentInstance=this.containerInstance=null;}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",n=""){return this.overlayRef.updateSize({width:t,height:n}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}_canClose(t){let n=this.config;return !!this.containerInstance&&(!n.closePredicate||n.closePredicate(t,n,this.componentInstance))}},I9=new R$3("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=h$5(le$4);return ()=>Rl(e)}}),E9=new R$3("DialogData"),T9=new R$3("DefaultDialogConfig");function x9(e){let t=Q$6(e),n=new de$4;return {valueSignal:t,get value(){return t()},change:n,ngOnDestroy(){n.complete();}}}var AI=(()=>{class e{_injector=h$5(le$4);_defaultOptions=h$5(T9,{optional:true});_parentDialog=h$5(e,{optional:true,skipSelf:true});_overlayContainer=h$5(Gg);_idGenerator=h$5(Kr$1);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new G$3;_afterOpenedAtThisLevel=new G$3;_ariaHiddenElements=new Map;_scrollStrategy=h$5(I9);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Oi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Br$1(void 0)));open(n,r){let i=this._defaultOptions||new Go;r=r$2(r$2({},i),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let o=this._getOverlayConfig(r),s=df(this._injector,o),a=new yf(s,r),c=this._attachContainer(s,a,r);if(a.containerInstance=c,!this.openDialogs.length){let u=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(it$1(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(u);}):this._hideNonDialogContentFromAssistiveTechnology(u);}return this._attachDialogContent(n,a,c,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,true)),this.afterOpened.next(a),a}closeAll(){MI(this.openDialogs,n=>n.close());}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){MI(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===false&&this._removeOpenDialog(n,false);}),MI(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[];}_getOverlayConfig(n){let r=new ba({positionStrategy:n.positionStrategy||Al().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation,disableAnimations:n.disableAnimations});return n.backdropClass&&(r.backdropClass=n.backdropClass),r}_attachContainer(n,r,i){let o=i.injector||i.viewContainerRef?.injector,s=[{provide:Go,useValue:i},{provide:yf,useValue:r},{provide:Ml,useValue:n}],a;i.container?typeof i.container=="function"?a=i.container:(a=i.container.type,s.push(...i.container.providers(i))):a=RI;let c=new Tl(a,i.viewContainerRef,le$4.create({parent:o||this._injector,providers:s}));return n.attach(c).instance}_attachDialogContent(n,r,i,o){if(n instanceof Dn$1){let s=this._createInjector(o,r,i,void 0),a={$implicit:o.data,dialogRef:r};o.templateContext&&(a=r$2(r$2({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new qo(n,null,a,s));}else {let s=this._createInjector(o,r,i,this._injector),a=i.attachComponentPortal(new Tl(n,o.viewContainerRef,s,null,o.bindings));r.componentRef=a,r.componentInstance=a.instance;}}_createInjector(n,r,i,o){let s=n.injector||n.viewContainerRef?.injector,a=[{provide:E9,useValue:n.data},{provide:yf,useValue:r}];return n.providers&&(typeof n.providers=="function"?a.push(...n.providers(r,n,i)):a.push(...n.providers)),n.direction&&(!s||!s.get(co,null,{optional:true}))&&a.push({provide:co,useValue:x9(n.direction)}),le$4.create({parent:s||o,providers:a})}_removeOpenDialog(n,r){let i=this.openDialogs.indexOf(n);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEac
170h((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden");}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()));}_hideNonDialogContentFromAssistiveTechnology(n){if(n.parentElement){let r=n.parentElement.children;for(let i=r.length-1;i>-1;i--){let o=r[i];o!==n&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"));}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function MI(e,t){let n=e.length;for(;n--;)t(e[n]);}var LP=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({providers:[AI],imports:[ff,va,xI,va]})}return e})();function VIe(e){return e!=null&&`${e}`!="false"}function jIe(e,t=/\s+/){let n=[];if(e!=null){let r=Array.isArray(e)?e:`${e}`.split(t);for(let i of r){let o=`${i}`.trim();o&&n.push(o);}}return n}var M9=new R$3("MATERIAL_ANIMATIONS"),FP=null;function R9(){return h$5(M9,{optional:true})?.animationsDisabled||h$5(Gu,{optional:true})==="NoopAnimations"?"di-disabled":(FP??=h$5(Kg).matchMedia("(prefers-reduced-motion)").matches,FP?"reduced-motion":"enabled")}function wa(){return R9()!=="enabled"}var A9=200,ty=class{_letterKeyStream=new G$3;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new G$3;selectedItem=this._selectedItem;constructor(t,n){let r=typeof n?.debounceInterval=="number"?n.debounceInterval:A9;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(r);}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete();}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t;}setItems(t){this._items=t;}handleKey(t){let n=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n));}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[];}_setupKeyHandler(t){this._letterKeyStream.pipe(Ke$3(n=>this._pressedLetters.push(n)),oi(t),Ne$1(()=>this._pressedLetters.length>0),T$3(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(n=>{for(let r=1;r<this._items.length+1;r++){let i=(this._selectedItemIndex+r)%this._items.length,o=this._items[i];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(n)===0){this._selectedItem.next(o);break}}this._pressedLetters=[];});}};var kl=class{_items;_activeItemIndex=Q$6(-1);_activeItem=Q$6(null);_wrap=false;_typeaheadSubscription=Fe.EMPTY;_itemChangesSubscription;_vertical=true;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=false;_pageUpAndDown={enabled:false,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,n){this._items=t,t instanceof $s?this._itemChangesSubscription=t.changes.subscribe(r=>this._itemsChanged(r.toArray())):Ro(t)&&(this._effectRef=qi(()=>this._itemsChanged(t()),{injector:n}));}tabOut=new G$3;change=new G$3;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=true){return this._wrap=t,this}withVerticalOrientation(t=true){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let n=this._getItemsArray();return this._typeahead=new ty(n,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r);}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(t=true){return this._homeAndEnd=t,this}withPageUpDown(t=true,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){let n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex());}onKeydown(t){let n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>
1700?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(i||Wo(t,"shiftKey"))&&this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.preventDefault();}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return !!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1);}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1);}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1);}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1);}updateActiveItem(t){let n=this._getItemsArray(),r=typeof t=="number"?t:n.indexOf(t),i=n[r];this._activeItem.set(i??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r);}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete();}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t);}_setActiveInWrapMode(t){let n=this._getItemsArray();for(let r=1;r<=n.length;r++){let i=(this._activeItemIndex()+t*r+n.length)%n.length,o=n[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t);}_setActiveItemByIndex(t,n){let r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(t+=n,!r[t])return;this.setActiveItem(t);}}_getItemsArray(){return Ro(this._items)?this._items():this._items instanceof $s?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let n=this._activeItem();if(n){let r=t.indexOf(n);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r));}}};var NI=class extends kl{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles();}};var kI=class extends kl{_origin="program";setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin);}};var UP=" ";function N9(e,t,n){let r=ry(e,t);n=n.trim(),!r.some(i=>i.trim()===n)&&(r.push(n),e.setAttribute(t,r.join(UP)));}function k9(e,t,n){let r=ry(e,t);n=n.trim();let i=r.filter(o=>o!==n);i.length?e.setAttribute(t,i.join(UP)):e.removeAttribute(t);}function ry(e,t){return e.getAttribute(t)?.match(/\S+/g)??[]}
170var VP="cdk-describedby-message",ny="cdk-describedby-host",PI=0,TEe=(()=>{class e{_platform=h$5(Ct);_document=h$5(se$3);_messageRegistry=new Map;_messagesContainer=null;_id=`${PI++}`;constructor(){h$5(xr$1).load(Xg),this._id=h$5($i)+"-"+PI++;}describe(n,r,i){if(!this._canBeDescribed(n,r))return;let o=OI(r,i);typeof r!="string"?(BP(r,this._id),this._messageRegistry.set(o,{messageElement:r,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(r,i),this._isElementDescribedByMessage(n,o)||this._addMessageReference(n,o);}removeDescription(n,r,i){if(!r||!this._isElementNode(n))return;let o=OI(r,i);if(this._isElementDescribedByMessage(n,o)&&this._removeMessageReference(n,o),typeof r=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o);}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null);}ngOnDestroy(){let n=this._document.querySelectorAll(`[${ny}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(ny);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear();}_createMessageElement(n,r){let i=this._document.createElement("div");BP(i,this._id),i.textContent=n,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(OI(n,r),{messageElement:i,referenceCount:0});}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n);}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let o=0;o<r.length;o++)r[o].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(n),i.classList.add("cdk-visually-hidden"),this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i;}_removeCdkDescribedByReferenceIds(n){let r=ry(n,"aria-describedby").filter(i=>i.indexOf(VP)!=0);n.setAttribute("aria-describedby",r.join(" "));}_addMessageReference(n,r){let i=this._messageRegistry.get(r);N9(n,"aria-describedby",i.messageElement.id),n.setAttribute(ny,this._id),i.referenceCount++;}_removeMessageReference(n,r){let i=this._messageRegistry.get(r);i.referenceCount--,k9(n,"aria-describedby",i.messageElement.id),n.removeAttribute(ny);}_isElementDescribedByMessage(n,r){let i=ry(n,"aria-describedby"),o=this._messageRegistry.get(r),s=o&&o.messageElement.id;return !!s&&i.indexOf(s)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return false;if(r&&typeof r=="object")return true;let i=r==null?"":`${r}`.trim(),o=n.getAttribute("aria-label");return i?!o||o.trim()!==i:false}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})();function OI(e,t){return typeof e=="string"?`${t||""}/${e}`:e}function BP(e,t){e.id||(e.id=`${VP}-${t}-${PI++}`);}function O9(e,t){}var oy=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=true;backdropClass="";disableClose=false;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=false;autoFocus="first-tabbable";restoreFocus=true;delayFocusTrap=true;scrollStrategy;closeOnNavigation=true;enterAnimationDuration;exitAnimationDuration;bindings},LI="mdc-dialog--open",jP="mdc-dialog--opening",HP="mdc-dialog--closing",P9=150,L9=75,F9=(()=>{class e extends RI{_animationStateChanged=new de$4;_animationsEnabled=!wa();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?zP(this._config.enterAnimationDuration)??P9:0;_exitAnimationDuration=this._animationsEnabled?zP(this._config.exitAnimationDuration)??L9:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation();}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty($P,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(jP,LI)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(LI),Promise.resolve().then(()=>this._finishDialogOpen()));}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(LI),this._animationsEnabled?(this._hostElement.style.setProperty($P,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(HP)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose());}_updateActionSectionCount(n){this._actionSectionCount+=n,this._changeDetectorRef.markForCheck();}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration);};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration});};_clearAnimationClasses(){this._hostElement.classList.remove(jP,HP);}
170_waitForAnimationToComplete(n,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,n);}_requestAnimationFrame(n){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(n):n();});}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus();}_openAnimationDone(n){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n});}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer);}attachComponentPortal(n){let r=super.attachComponentPortal(n);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275cmp=It({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,i){r&2&&(Vc("id",i._config.id),Rt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),wt("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0));},features:[Ee$2],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,i){r&1&&(mt$1(0,"div",0)(1,"div",1),Pc(2,O9,0,0,"ng-template",2),bt$2()());},dependencies:[lf],styles:[`.mat-mdc-dialog-container { 171 width: 100%; 172 height: 100%; 173 display: block; 174 box-sizing: border-box; 175 max-height: inherit; 176 min-height: inherit; 177 min-width: inherit; 178 max-width: inherit; 179 outline: 0; 180} 181 182.cdk-overlay-pane.mat-mdc-dialog-panel { 183 max-width: var(--mat-dialog-container-max-width, 560px); 184 min-width: var(--mat-dialog-container-min-width, 280px); 185} 186@media (max-width: 599px) { 187 .cdk-overlay-pane.mat-mdc-dialog-panel { 188 max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px)); 189 } 190} 191 192.mat-mdc-dialog-inner-container { 193 display: flex; 194 flex-direction: row; 195 align-items: center; 196 justify-content: space-around; 197 box-sizing: border-box; 198 height: 100%; 199 opacity: 0; 200 transition: opacity linear var(--mat-dialog-transition-duration, 0ms); 201 max-height: inherit; 202 min-height: inherit; 203 min-width: inherit; 204 max-width: inherit; 205} 206.mdc-dialog--closing .mat-mdc-dialog-inner-container { 207 transition: opacity 75ms linear; 208 transform: none; 209} 210.mdc-dialog--open .mat-mdc-dialog-inner-container { 211 opacity: 1; 212} 213._mat-animation-noopable .mat-mdc-dialog-inner-container { 214 transition: none; 215} 216 217.mat-mdc-dialog-surface { 218 display: flex; 219 flex-direction: column; 220 flex-grow: 0; 221 flex-shrink: 0; 222 box-sizing: border-box; 223 width: 100%; 224 height: 100%; 225 position: relative; 226 overflow-y: auto; 227 outline: 0; 228 transform: scale(0.8); 229 transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1); 230 max-height: inherit; 231 min-height: inherit; 232 min-width: inherit; 233 max-width: inherit; 234 box-shadow: var(--mat-dialog-container-elevation-shadow, none); 235 border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px)); 236 background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white)); 237} 238[dir=rtl] .mat-mdc-dialog-surface { 239 text-align: right; 240} 241.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface { 242 transform: none; 243} 244._mat-animation-noopable .mat-mdc-dialog-surface { 245 transition: none; 246} 247.mat-mdc-dialog-surface::before { 248 position: absolute; 249 box-sizing: border-box; 250 width: 100%; 251 height: 100%; 252 top: 0; 253 left: 0; 254 border: 2px solid transparent; 255 border-radius: inherit; 256 content: ""; 257 pointer-events: none; 258} 259 260.mat-mdc-dialog-title { 261 display: block; 262 position: relative; 263 flex-shrink: 0; 264 box-sizing: border-box; 265 margin: 0 0 1px; 266 padding: var(--mat-dialog-headline-padding, 6px 24px 13px); 267} 268.mat-mdc-dialog-title::before { 269 display: inline-block; 270 width: 0; 271 height: 40px; 272 content: ""; 273 vertical-align: 0; 274} 275[dir=rtl] .mat-mdc-dialog-title { 276 text-align: right; 277} 278.mat-mdc-dialog-container .mat-mdc-dialog-title { 279 color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87))); 280 font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit)); 281 line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem)); 282 font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem)); 283 font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400)); 284 letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em)); 285} 286 287.mat-mdc-dialog-content { 288 display: block; 289 flex-grow: 1; 290 box-sizing: border-box; 291 margin: 0; 292 overflow: auto; 293 max-height: 65vh; 294} 295.mat-mdc-dialog-content > :first-child { 296 margin-top: 0; 297} 298.mat-mdc-dialog-content > :last-child { 299 margin-bottom: 0; 300} 301.mat-mdc-dialog-container .mat-mdc-dialog-content { 302 color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6))); 303 font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit)); 304 line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem)); 305 font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem)); 306 font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400)); 307 letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em)); 308} 309.mat-mdc-dialog-container .mat-mdc-dialog-content { 310 padding: var(--mat-dialog-content-padding, 20px 24px); 311} 312.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content { 313 padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0); 314} 315.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content { 316 padding-top: 0; 317} 318 319.mat-mdc-dialog-actions { 320 display: flex; 321 position: relative; 322 flex-shrink: 0; 323 flex-wrap: wrap; 324 align-items: center; 325 box-sizing: border-box; 326 min-height: 52px; 327 margin: 0; 328 border-top: 1px solid transparent; 329 padding: var(--mat-dialog-actions-padding, 16px 24px); 330 justify-content: var(--mat-dialog-actions-alignment, flex-end); 331} 332@media (forced-colors: active) { 333 .mat-mdc-dialog-actions { 334 border-top-color: CanvasText; 335 } 336} 337.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] { 338 justify-content: start; 339} 340.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] { 341 justify-content: center; 342}
343.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] { 344 justify-content: flex-end; 345} 346.mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 347.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 348 margin-left: 8px; 349} 350[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base, 351[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base { 352 margin-left: 0; 353 margin-right: 8px; 354} 355 356.mat-mdc-dialog-component-host { 357 display: contents; 358} 359`],encapsulation:2,changeDetection:1})}return e})(),$P="--mat-dialog-transition-duration";function zP(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?ga(e.substring(0,e.length-2)):e.endsWith("s")?ga(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var iy=(function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e})(iy||{}),Ca=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new go(1);_beforeClosed=new go(1);_result;_closeFallbackTimeout;_state=iy.OPEN;_closeInteractionType;constructor(t,n,r){this._ref=t,this._config=n,this._containerInstance=r,this.disableClose=n.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(Ne$1(i=>i.state==="opened"),it$1(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete();}),r._animationStateChanged.pipe(Ne$1(i=>i.state==="closed"),it$1(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose();}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose();}),lb(this.backdropClick(),this.keydownEvents().pipe(Ne$1(i=>i.keyCode===27&&!this.disableClose&&!Wo(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),qP(this,i.type==="keydown"?"keyboard":"mouse"));});}close(t){let n=this._config.closePredicate;n&&!n(t,this._config,this.componentInstance)||(this._result=t,this._containerInstance._animationStateChanged.pipe(Ne$1(r=>r.state==="closing"),it$1(1)).subscribe(r=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100);}),this._state=iy.CLOSING,this._containerInstance._startExitAnimation());}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let n=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?n.left(t.left):n.right(t.right):n.centerHorizontally(),t&&(t.top||t.bottom)?t.top?n.top(t.top):n.bottom(t.bottom):n.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",n=""){return this._ref.updateSize(t,n),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=iy.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null;}};function qP(e,t,n){return e._closeInteractionType=t,e.close(n)}var FI=new R$3("MatMdcDialogData"),B9=new R$3("mat-mdc-dialog-default-options"),U9=new R$3("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=h$5(le$4);return ()=>Rl(e)}}),vf=(()=>{class e{_defaultOptions=h$5(B9,{optional:true});_scrollStrategy=h$5(U9);_parentDialog=h$5(e,{optional:true,skipSelf:true});_idGenerator=h$5(Kr$1);_injector=h$5(le$4);_dialog=h$5(AI);_animationsDisabled=wa();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new G$3;_afterOpenedAtThisLevel=new G$3;dialogConfigClass=oy;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Oi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Br$1(void 0)));constructor(){this._dialogRefConstructor=Ca,this._dialogContainerType=F9,this._dialogDataToken=FI;}open(n,r){let i;r=r$2(r$2({},this._defaultOptions||new oy),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(n,s$6(r$2({},r),{positionStrategy:Al(this._injector).centerHorizontally().centerVertically(),disableClose:true,closePredicate:void 0,closeOnDestroy:false,closeOnOverlayDetachments:false,disableAnimations:this._animationsDisabled||r.enterAnimationDuration?.toLocaleStr
359ing()==="0"||r.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Go,useValue:r}]},templateContext:()=>({dialogRef:i}),providers:(s,a,c)=>(i=new this._dialogRefConstructor(s,r,c),i.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:i}])}));return i.componentRef=o.componentRef,i.componentInstance=o.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(i);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next());}),i}closeAll(){this._closeDialogs(this.openDialogs);}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete();}_closeDialogs(n){let r=n.length;for(;r--;)n[r].close();}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),WP=(()=>{class e{dialogRef=h$5(Ca,{optional:true});_elementRef=h$5(me$2);_dialog=h$5(vf);ariaLabel;type="button";dialogResult;_matDialogClose;ngOnInit(){this.dialogRef||(this.dialogRef=GP(this._elementRef,this._dialog.openDialogs));}ngOnChanges(n){let r=n._matDialogClose;r&&(this.dialogResult=r.currentValue);}_onButtonClick(n){this._elementRef.nativeElement.getAttribute("aria-disabled")!=="true"&&qP(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult);}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(r,i){r&1&>$1("click",function(s){return i._onButtonClick(s)}),r&2&&Rt("aria-label",i.ariaLabel||null)("type",i.type);},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ct$1]})}return e})(),V9=(()=>{class e{_dialogRef=h$5(Ca,{optional:true});_elementRef=h$5(me$2);_dialog=h$5(vf);ngOnInit(){this._dialogRef||(this._dialogRef=GP(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd();});}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove();});}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e})}return e})();var YP=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[hC([fI])]})}return e})(),KEe=(()=>{class e extends V9{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1);}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1);}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,i){r&2&&wt("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end");},inputs:{align:"align"},features:[Ee$2]})}return e})();function GP(e,t){let n=e.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-mdc-dialog-container");)n=n.parentElement;return n?t.find(r=>r.id===n.id):null}var eTe=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({providers:[vf],imports:[LP,ff,va,lo]})}return e})();function rTe(e){let t=new RegExp("[^0-9]*","gi");return e?e.toString().replace(t,""):""}function Ol(e,t=false){if(typeof e=="number")return true;if(typeof e!="string"||!e)return false;if(t&&(e=j9(e)),!isNaN(e))return true;let n=e;n.startsWith("-")&&(n=n.substring(1));let r=false;for(let i=0;i<n.length;++i){let o=n.charAt(i);if(o==="."){if(r||i===0||i===n.length-1)return false;r=true;}else if(isNaN(o)||o===" ")return false}return true}function ZP(e,t){return typeof e=="number"?+e:(e=(e||"").toString().replace(/(?!^)-/g,"").replace(/[^\d.-]/g,"").replace(/\./g,(n,r,i)=>r===i.indexOf(".")?".":""),e=parseFloat(e),e||e===0?e:typeof t<"u"?t:null)}function j9(e){let t=/,/g;return e.replace(t,"")}function $n$1(e,t=0){return e<0?Math.ceil(e*Math.pow(10,t)-.5)/Math.pow(10,t):Math.floor(e*Math.pow(10,t)+.5)/Math.pow(10,t)}function BI(e,t){return e<0?Math.ceil(e*Math.pow(10,t)-.5):Math.floor(e*Math.pow(10,t)+.5)}
359function Zo(e,t,n){return $n$1(e,n)===$n$1(t,n)}function H9(e){return Date.now()-e*1}function iTe(e){return H9(e)/1e3}function oTe(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function sTe(e,t){return Array.from({length:t-e+1},(n,r)=>e+r)}function aTe(e){return e?String(e):null}var sy=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.latitude)&&(n.latitude=t.latitude),l$3(t.longitude)&&(n.longitude=t.longitude);}};var De$2=class e extends sy{static fromLatLng(t){return t?new e({latitude:t.lat(),longitude:t.lng()}):null}toLatLng(){return new google.maps.LatLng(this.latitude,this.longitude)}toLatLngLiteral(){return {lat:this.latitude,lng:this.longitude}}get isValid(){return !!(this.latitude&&this.longitude)}isEqual(t,n=7){return this.isValid&&t?.isValid&&Zo(this.latitude,t.latitude,n)&&Zo(this.longitude,t.longitude,n)}};var ut$2=(()=>{class e{static{this.AuthAccessToken="oidc.at";}static{this.BrowserSessionId="brsessid";}static{this.CoBrandCode="cbcode";}static{this.DataToolsAssociationId="dtassid";}static{this.DataToolsBrandId="dtbraid";}static{this.DataToolsBrokerId="dtbroid";}static{this.DataToolsOrgId="dtorgid";}static{this.ImpersonatedLoginEmail="imperlgnem";}static{this.IsMultipleImpersonationAttempted="impermult";}static{this.LegalDialog="legal_dialog";}static{this.PrivacyConsent="privacy_consent";}static{this.RprAuth="RprAuth";}static{this.RprToken="rprtn";}static{this.RprTokenType="rprtntp";}static{this.SignOutError="snouter";}static{this.SignOutReason="snoutrn";}static{this.SingleSessionSignInToken="sssit";}static{this.SkipSingleSessionCheck="sssc";}static{this.UserAssociationId="userassocid";}static{this.UserBrandId="userbrandid";}static{this.UserBrokerId="userbrokerid";}static{this.UserOfficeId="userofficeid";}static{this.UserOrgId="userorgid";}static{this.UserSessionAction="usessact";}static{this.VendorId="vdrid";}}return e})();var iL=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r;}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r);}registerOnTouched(n){this.onTouched=n;}registerOnChange(n){this.onChange=n;}setDisabledState(n){this.setProperty("disabled",n);}static \u0275fac=function(r){return new(r||e)(V$4(Vt$2),V$4(me$2))};static \u0275dir=q$7({type:e})}return e})(),_y=(()=>{class e extends iL{static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,features:[Ee$2]})}return e})(),uo=new R$3("");var $9={provide:uo,useExisting:vt$1(()=>oL),multi:true};function z9(){let e=Jn()?Jn().getUserAgent():"";return /android (\d+)/.test(e.toLowerCase())}var q9=new R$3(""),oL=(()=>{class e extends iL{_compositionMode;_composing=false;constructor(n,r,i){super(n,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!z9());}writeValue(n){let r=n??"";this.setProperty("value",r);}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n);}_compositionStart(){this._composing=true;}_compositionEnd(n){this._composing=false,this._compositionMode&&this.onChange(n);}static \u0275fac=function(r){return new(r||e)(V$4(Vt$2),V$4(me$2),V$4(q9,8))};static \u0275dir=q$7({type:e,selectors:[["input","formControlName","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControlName","",3,"ngNoCva",""],["input","formControl","",3,"type","checkbox",3,"ngNoCva",""],["textarea","formControl","",3,"ngNoCva",""],["input","ngModel","",3,"type","checkbox",3,"ngNoCva",""],["textarea","ngModel","",3,"ngNoCva",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&>$1("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)});},standalone:false,features:[At([$9]),Ee$2]})}return e})();function HI(e){return e==null||$I(e)===0}function $I(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var rr$1=new R$3(""),Ea=new R$3(""),W9=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Bl=class{static min(t){return sL(t)}static max(t){return aL(t)}static required(t){return cL(t)}static requiredTrue(t){return Y9(t)}static email(t){return G9(t)}static minLength(t){return Z9(t)}static maxLength(t){return lL(t)}static pattern(t){return J9(t)}static nullValidator(t){return cy()}static compose(t){return mL(t)}static composeAsync(t){return gL(t)}};function sL(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return !isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function aL(e){return t=>{if(t.value==null||e==null)return null;let n=parseFloat(t.value);return !isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function cL(e){return HI(e.value)?{required:true}:null}function Y9(e){return e.value===true?null:{required:true}}function G9(e){return HI(e.value)||W9.test(e.value)?null:{email:true}}function Z9(e){return t=>{let n=t.value?.length??$I(t.value);return n===null||n===0?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}function lL(e){return t=>{let n=t.value?.length??$I(t.value);return n!==null&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}function J9(e){if(!e)return cy;let t,n;return typeof e=="string"?(n="",e.charAt(0)!=="^"&&(n+="^"),n+=e,e.charAt(e.length-1)!=="$"&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(HI(r.value))return null;let i=r.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function cy(e){return null}function uL(e){return e!=null}function dL(e){return Gi(e)?Re$1(e):e}function fL(e){let t={};return e.forEach(n=>{t=n!=null?r$2(r$2({},t),n):t;}),Object.keys(t).length===0?null:t}function pL(e,t){return t.map(n=>n(e))}function Q9(e){return !e.validate}function hL(e){return e.map(t=>Q9(t)?t:n=>t.validate(n))}function mL(e){if(!e)return null;let t=e.filter(uL);return t.length==0?null:function(n){return fL(pL(n,t))}}function zI(e){return e!=null?mL(hL(e)):null}function gL(e){if(!e)return null;let t=e.filter(uL);return t.length==0?null:function(n){let r=pL(n,t).map(dL);return vu(r).pipe(T$3(fL))}}function qI(e){return e!=null?gL(hL(e)):null}function JP(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function yL(e){return e._rawValidators}function vL(e){return e._rawAsyncValidators}function UI(e){return e?Array.isArray(e)?e:[e]:[]}function ly(e,t){return Array.isArray(e)?e.includes(t):e===t}function QP(e,t){let n=UI(t);return UI(e).forEach(i=>
359{ly(n,i)||n.push(i);}),n}function XP(e,t){return UI(t).filter(n=>!ly(e,n))}var uy=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=zI(this._rawValidators);}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=qI(this._rawAsyncValidators);}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t);}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[];}reset(t=void 0){this.control?.reset(t);}hasError(t,n){return this.control?this.control.hasError(t,n):false}getError(t,n){return this.control?this.control.getError(t,n):null}},kn$1=class kn extends uy{name;get formDirective(){return null}get path(){return null}};var _f="VALID",ay="INVALID",Pl="PENDING",bf="DISABLED",Jo=class{},dy=class extends Jo{value;source;constructor(t,n){super(),this.value=t,this.source=n;}},wf=class extends Jo{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n;}},Cf=class extends Jo{touched;source;constructor(t,n){super(),this.touched=t,this.source=n;}},Ll=class extends Jo{status;source;constructor(t,n){super(),this.status=t,this.source=n;}},fy=class extends Jo{source;constructor(t){super(),this.source=t;}},Sa=class extends Jo{source;constructor(t){super(),this.source=t;}};function WI(e){return (by(e)?e.validators:e)||null}function X9(e){return Array.isArray(e)?zI(e):e||null}function YI(e,t){return (by(t)?t.asyncValidators:e)||null}function K9(e){return Array.isArray(e)?qI(e):e||null}function by(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}
359function _L(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new P$4(1e3,"");if(!DL(r,n))throw new P$4(1001,"")}function bL(e,t,n){e._forEachChild((r,i)=>{if(n[i]===void 0)throw new P$4(-1002,"")});}var Qo=class{_pendingDirty=false;_hasOwnPendingAsyncValidator=null;_pendingTouched=false;_onCollectionChange=()=>{};_updateOn;_hasRequired=Q$6(false);_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n);}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t,this._updateHasRequiredValidator();}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t;}get parent(){return this._parent}get status(){return _e$2(this.statusReactive)}set status(t){_e$2(()=>this.statusReactive.set(t));}_status=Et(()=>this.statusReactive());statusReactive=Q$6(void 0);get valid(){return this.status===_f}get invalid(){return this.status===ay}get pending(){return this.status===Pl}get disabled(){return this.status===bf}get enabled(){return this.status!==bf}errors;get pristine(){return _e$2(this.pristineReactive)}set pristine(t){_e$2(()=>this.pristineReactive.set(t));}_pristine=Et(()=>this.pristineReactive());pristineReactive=Q$6(true);get dirty(){return !this.pristine}get touched(){return _e$2(this.touchedReactive)}set touched(t){_e$2(()=>this.touchedReactive.set(t));}_touched=Et(()=>this.touchedReactive());touchedReactive=Q$6(false);get untouched(){return !this.touched}_events=new G$3;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t);}setAsyncValidators(t){this._assignAsyncValidators(t);}addValidators(t){this.setValidators(QP(t,this._rawValidators));}addAsyncValidators(t){this.setAsyncValidators(QP(t,this._rawAsyncValidators));}removeValidators(t){this.setValidators(XP(t,this._rawValidators));}removeAsyncValidators(t){this.setAsyncValidators(XP(t,this._rawAsyncValidators));}hasValidator(t){return ly(this._rawValidators,t)}hasAsyncValidator(t){return ly(this._rawAsyncValidators,t)}clearValidators(){this.validator=null;}clearAsyncValidators(){this.asyncValidator=null;}markAsTouched(t={}){let n=this.touched===false;this.touched=true;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched(s$6(r$2({},t),{sourceControl:r})),n&&t.emitEvent!==false&&this._events.next(new Cf(true,r));}markAllAsDirty(t={}){this.markAsDirty({onlySelf:true,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t));}markAllAsTouched(t={}){this.markAsTouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t));}markAsUntouched(t={}){let n=this.touched===true;this.touched=false,this._pendingTouched=false;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:true,emitEvent:t.emitEvent,sourceControl:r});}),t.onlySelf||this._parent?._updateTouched(t,r),n&&t.emitEvent!==false&&this._events.next(new Cf(false,r));}markAsDirty(t={}){let n=this.pristine===true;this.pristine=false;let r=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty(s$6(r$2({},t),{sourceControl:r})),n&&t.emitEvent!==false&&this._events.next(new wf(false,r));}markAsPristine(t={}){let n=this.pristine===false;this.pristine=true,this._pendingDirty=false;let r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:true,emitEvent:t.emitEvent});}),t.onlySelf||this._parent?._updatePristine(t,r),n&&t.emitEvent!==false&&this._events.next(new wf(true,r));}markAsPending(t={}){this.status=Pl;let n=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new Ll(this.status,n)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending(s$6(r$2({},t),{sourceControl:n}));}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);
359this.status=bf,this.errors=null,this._forEachChild(i=>{i.disable(s$6(r$2({},t),{onlySelf:true}));}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new dy(this.value,r)),this._events.next(new Ll(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(s$6(r$2({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(i=>i(true));}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=_f,this._forEachChild(r=>{r.enable(s$6(r$2({},t),{onlySelf:true}));}),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent}),this._updateAncestors(s$6(r$2({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(false));}_updateAncestors(t,n){t.onlySelf||(this._parent?.updateValueAndValidity(t),t.skipPristineCheck||this._parent?._updatePristine({},n),this._parent?._updateTouched({},n));}setParent(t){this._parent=t;}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===_f||this.status===Pl)&&this._runAsyncValidator(r,t.emitEvent);}let n=t.sourceControl??this;t.emitEvent!==false&&(this._events.next(new dy(this.value,n)),this._events.next(new Ll(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity(s$6(r$2({},t),{sourceControl:n}));}_updateTreeValidity(t={emitEvent:true}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:true,emitEvent:t.emitEvent});}_setInitialStatus(){this.status=this._allControlsDisabled()?bf:_f;}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=Pl,this._hasOwnPendingAsyncValidator={emitEvent:n!==false,shouldHaveEmitted:t!==false};let r=dL(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t});});}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??false;return this._hasOwnPendingAsyncValidator=null,t}return false}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==false,this,n.shouldHaveEmitted);}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){let r=n?this.get(n):this;return r?.errors?r.errors[t]:null}hasError(t,n){return !!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Ll(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r);}_initObservables(){this.valueChanges=new de$4,this.statusChanges=new de$4;}_calculateStatus(){return this._allControlsDisabled()?bf:this.errors?ay:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pl)?Pl:this._anyControlsHaveStatus(ay)?ay:_f}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,t.onlySelf||this._parent?._updatePristine(t,n),i&&this._events.next(new wf(this.pristine,n));}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Cf(this.touched,n)),t.onlySelf||this._parent?._updateTouched(t,n);}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t;}_setUpdateStrategy(t){by(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn);}_parentMarkedDirty(t){return !t&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=X9(this._rawValidators),this._updateHasRequiredValidator();}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=K9(this._rawAsyncValidators);}_updateHasRequiredValidator(){_e$2(()=>this._hasRequired.set(this.hasValidator(Bl.required)));}};function DL(e,t){return Object.hasOwn(e,t)}function eZ(e){return e.tagName==="INPUT"||e.tagName==="SELECT"||e.tagName==="TEXTAREA"}function tZ(e,t,n,r){switch(n){case "name":e.setAttribute(t,n,r);break;case "disabled":case "readonly":case "required":r?e.setAttribute(t,n,""):e.removeAttribute(t,n);break;case "max":case "min":case "minLength":case "maxLength":r!==void 0?e.setAttribute(t,n,r.toString()):e.removeAttribute(t,n);break}}var VI=class{kind;context;control;message;constructor({kind:t,context:n,control:r}){this.kind=t,this.context=n,this.control=r;}};function nZ(e){return typeof e=="number"?e:parseInt(e,10)}function wL(e){return typeof e=="number"?e:parseFloat(e)}var Dy=(()=>{class e{_validator=cy;_onChange;_enabled;ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].
359currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):cy,this._onChange?.();}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n;}enabled(n){return n!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,features:[ct$1]})}return e})(),rZ={provide:rr$1,useExisting:vt$1(()=>iZ),multi:true},iZ=(()=>{class e extends Dy{max;inputName="max";normalizeInput=n=>wL(n);createValidator=n=>aL(n);static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Rt("max",i._enabled?i.max:null);},inputs:{max:"max"},standalone:false,features:[At([rZ]),Ee$2]})}return e})(),oZ={provide:rr$1,useExisting:vt$1(()=>sZ),multi:true},sZ=(()=>{class e extends Dy{min;inputName="min";normalizeInput=n=>wL(n);createValidator=n=>sL(n);static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Rt("min",i._enabled?i.min:null);},inputs:{min:"min"},standalone:false,features:[At([oZ]),Ee$2]})}return e})(),aZ={provide:rr$1,useExisting:vt$1(()=>CL),multi:true};var CL=(()=>{class e extends Dy{required;inputName="required";normalizeInput=He;createValidator=n=>cL;enabled(n){return n}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&Rt("required",i._enabled?"":null);},inputs:{required:"required"},standalone:false,features:[At([aZ]),Ee$2]})}return e})();var cZ={provide:rr$1,useExisting:vt$1(()=>lZ),multi:true},lZ=(()=>{class e extends Dy{maxlength;inputName="maxlength";normalizeInput=n=>nZ(n);createValidator=n=>lL(n);static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&Rt("maxlength",i._enabled?i.maxlength:null);},inputs:{maxlength:"maxlength"},standalone:false,features:[At([cZ]),Ee$2]})}return e})();var uZ=new R$3(""),Ul=new R$3("",{factory:()=>wy}),wy="always";function Cy(e,t){return [...t.path,e]}function py(e,t,n=wy){GI(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),fZ(e,t),hZ(e,t),pZ(e,t),dZ(e,t);}function hy(e,t,n=true){let r=()=>{};t?.valueAccessor?.registerOnChange(r),t?.valueAccessor?.registerOnTouched(r),gy(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}));}function my(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t);});}function dZ(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r);};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n);});}}function GI(e,t){let n=yL(e);t.validator!==null?e.setValidators(JP(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=vL(e);t.asyncValidator!==null?e.setAsyncValidators(JP(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let i=()=>e.updateValueAndValidity();my(t._rawValidators,i),my(t._rawAsyncValidators,i);}function gy(e,t){let n=false;if(e!==null){if(t.validator!==null){let i=yL(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.validator);o.length!==i.length&&(n=true,e.setValidators(o));}}if(t.asyncValidator!==null){let i=vL(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(n=true,e.setAsyncValidators(o));}}}let r=()=>{};return my(t._rawValidators,r),my(t._rawAsyncValidators,r),n}function fZ(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=true,e._pendingDirty=true,e.updateOn==="change"&&SL(e,t);});}function pZ(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=true,e.updateOn==="blur"&&e._pendingChange&&SL(e,t),e.updateOn!=="submit"&&e.markAsTouched();});}function SL(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:false}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=false;}function hZ(e,t){let n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r);};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n);});}function IL(e,t){GI(e,t);}function mZ(e,t){return gy(e,t)}function ZI(e,t){if(!e.hasOwnProperty("model"))return false;let n=e.model;return n.isFirstChange()?true:!Object.is(t,n.currentValue)}function gZ(e){return Object.getPrototypeOf(e.constructor)===_y}function EL(e,t){e._syncPendingControls(),t.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=false);});}function yZ(e,t){if(!t)return null;let n,r,i;return t.forEach(o=>{o.constructor===oL?n=o:gZ(o)?r=o:i=o;}),i||r||n||null}function vZ(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}var JI={provide:uZ,useFactory:()=>{let e=h$5(Ei,{self:true});return {setParseErrors:t=>
359{e.setParseErrorSource(t);},set onReset(t){e.onReset=t;}}}},Ei=class extends uy{_parent=null;name=null;valueAccessor=null;isCustomControlBased=false;userOnReset;resetSubscription;set onReset(t){this.userOnReset=t,this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.control&&(this.resetSubscription=this.control.events.subscribe(n=>{n instanceof Sa&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription?.add(this.resetSubscription));}isNativeFormElement=false;rawValueAccessors;_selectedValueAccessor=null;get selectedValueAccessor(){return this._selectedValueAccessor??=yZ(this,this.rawValueAccessors)}parseErrorsValidator=null;renderer;injector;requiredValidatorViaDi;subscription;customControlBindings=null;constructor(t,n,r){super(),this.injector=t,this.renderer=n,this.rawValueAccessors=r,this.injector?.get(at$1)?.onDestroy(()=>{this.removeParseErrorsValidator(this.control),this.subscription?.unsubscribe();});}setupCustomControl(){this.subscription?.unsubscribe();let t=this.injector?.get(dn$1);if(!this.control||!t)return;let n=t.markForCheck.bind(t);this.subscription=new Fe,this.subscription.add(this.control.valueChanges.subscribe(n)),this.subscription.add(this.control.statusChanges.subscribe(n)),this.resetSubscription?.unsubscribe(),this.resetSubscription=void 0,this.userOnReset&&(this.resetSubscription=this.control.events.subscribe(r=>{r instanceof Sa&&this.control&&this.userOnReset?.(this.control.value);}),this.subscription.add(this.resetSubscription)),this.parseErrorsValidator&&this.control.addValidators(this.parseErrorsValidator);}ngControlCreate(t){!t.nativeElement.hasAttribute?.("ngNoCva")&&(this.rawValueAccessors&&this.rawValueAccessors.length>0||this.valueAccessor!==null)||!t.customControl||(this.isCustomControlBased=true,t.listenToCustomControlModel(i=>{this.control?.setValue(i,{emitModelToViewChange:false}),this.control?.markAsDirty(),this.viewToModelUpdate(i);}),t.listenToCustomControlOutput("touch",()=>{this.control?.markAsTouched();}),this.customControlBindings={},this.isNativeFormElement=eZ(t.nativeElement),this.requiredValidatorViaDi=this._rawValidators.find(i=>i instanceof CL));}ngControlUpdate(t,n){if(!this.isCustomControlBased)return;let r=this.control,i=this.customControlBindings;Object.is(i.value,r.value)||(i.value=r.value,t.setCustomControlModelInput(r.value)),this.bindControlProperty(t,i,"touched",r.touched),this.bindControlProperty(t,i,"dirty",r.dirty),this.bindControlProperty(t,i,"valid",r.valid),this.bindControlProperty(t,i,"invalid",r.invalid),this.bindControlProperty(t,i,"pending",r.pending),this.bindControlProperty(t,i,"disabled",r.disabled),this.shouldBindRequired&&this.bindControlProperty(t,i,"required",this.isRequired);let o=r.errors;if(i.errors!==o){i.errors=o;let s=this._convertErrors(o);t.setInputOnDirectives("errors",s);}}get isRequired(){return (this.requiredValidatorViaDi?._enabled||this.control?._hasRequired())??false}get shouldBindRequired(){return true}bindControlProperty(t,n,r,i){if(n[r]===i)return;n[r]=i;let o=t.setInputOnDirectives(r,i);this.isNativeFormElement&&!o&&(r==="disabled"||r==="required")&&this.renderer&&tZ(this.renderer,t.nativeElement,r,i);}_convertErrors(t){if(t===null)return [];let n=this.control;return Object.entries(t).map(([r,i])=>new VI({context:i,kind:r,control:n}))}setParseErrorSource(t){if(t===void 0)return;let n=null,r=Et(()=>{let i=t();return i.length===0?null:i.reduce((o,s)=>(o[s.kind]=s,o),{})});this.parseErrorsValidator=(()=>n).bind(this),qi(()=>{n=r(),this.control?.updateValueAndValidity({emitEvent:false});},{injector:this.injector});}removeParseErrorsValidator(t){this.parseErrorsValidator&&(t?.removeValidators(this.parseErrorsValidator),t?.updateValueAndValidity({emitEvent:false}));}},yy=class{_cd;constructor(t){this._cd=t;}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return !!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return !!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}
359get isInvalid(){return !!this._cd?.control?.invalid}get isPending(){return !!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var RTe=(()=>{class e extends yy{constructor(n){super(n);}static \u0275fac=function(r){return new(r||e)(V$4(Ei,2))};static \u0275dir=q$7({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&wt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending);},standalone:false,features:[Ee$2]})}return e})(),ATe=(()=>{class e extends yy{constructor(n){super(n);}static \u0275fac=function(r){return new(r||e)(V$4(kn$1,10))};static \u0275dir=q$7({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,i){r&2&&wt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted);},standalone:false,features:[Ee$2]})}return e})(),Ia=class extends Qo{constructor(t,n,r){super(WI(n),YI(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;registerControl(t,n){let r=this._find(t);return r||(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange();}removeControl(t,n={}){let r=this._find(t);r&&r._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}setControl(t,n,r={}){let i=this._find(t);i&&i._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange();}contains(t){return this._find(t)?.enabled===true}setValue(t,n={}){_e$2(()=>{bL(this,true,t),Object.keys(t).forEach(r=>{_L(this,true,r),this.controls[r].setValue(t[r],{onlySelf:true,emitEvent:n.emitEvent});}),this.updateValueAndValidity(n);});}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(r=>{let i=this._find(r);i&&i.patchValue(t[r],{onlySelf:true,emitEvent:n.emitEvent});}),this.updateValueAndValidity(n));}reset(t={},n={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,s$6(r$2({},n),{onlySelf:true}));}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),n?.emitEvent!==false&&this._events.next(new Sa(this));}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(false,(n,r)=>r._syncPendingControls()?true:n);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&t(r,n);});}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);});}_updateValue(){this.value=this._reduceValue();}_anyControls(t){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return true;return false}_reduceValue(){let t={};return this._reduceChildren(t,(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((i,o)=>{r=n(r,i,o);}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return false;return Object.keys(this.controls).length>0||this.disabled}_find(t){return DL(this.controls,t)?this.controls[t]:null}};var NTe=Ia;var jI=class extends Ia{};var _Z={provide:kn$1,useExisting:vt$1(()=>bZ)},Df=Promise.resolve(),bZ=(()=>{class e extends kn$1{callSetDisabledState;get submitted(){return _e$2(this.submittedReactive)}_submitted=Et(()=>this.submittedReactive());submittedReactive=Q$6(false);_directives=new Set;form;ngSubmit=new de$4;options;constructor(n,r,i){super(),this.callSetDisabledState=i,this.form=new Ia({},zI(n),qI(r));}ngAfterViewInit(){this._setUpdateStrategy();}get formDirective(){return this}get control(){return this.form}get path(){return []}get controls(){return this.form.controls}addControl(n){Df.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),n._setupWithForm(this.callSetDisabledState),n.c
359ontrol.updateValueAndValidity({emitEvent:false}),this._directives.add(n);});}getControl(n){return this.form.get(n.path)}removeControl(n){Df.then(()=>{this._findContainer(n.path)?.removeControl(n.name),this._directives.delete(n);});}addFormGroup(n){Df.then(()=>{let r=this._findContainer(n.path),i=new Ia({});IL(i,n),r.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:false});});}removeFormGroup(n){Df.then(()=>{this._findContainer(n.path)?.removeControl?.(n.name);});}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Df.then(()=>{this.form.get(n.path).setValue(r);});}setValue(n){this.control.setValue(n);}onSubmit(n){return this.submittedReactive.set(true),EL(this.form,this._directives),this.ngSubmit.emit(n),this.form._events.next(new fy(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm();}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(false);}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn);}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static \u0275fac=function(r){return new(r||e)(V$4(rr$1,10),V$4(Ea,10),V$4(Ul,8))};static \u0275dir=q$7({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&>$1("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()});},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:false,features:[At([_Z]),Ee$2]})}return e})();function KP(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1);}function eL(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Fl=class extends Qo{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=false;constructor(t=null,n,r){super(WI(n),YI(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator}),by(n)&&(n.nonNullable||n.initialValueIsDefault)&&(eL(t)?this.defaultValue=t.value:this.defaultValue=t);}setValue(t,n={}){_e$2(()=>{this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==false&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==false)),this.updateValueAndValidity(n);});}patchValue(t,n={}){this.setValue(t,n);}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),n.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=false,n?.emitEvent!==false&&this._events.next(new Sa(this));}_updateValue(){}_anyControls(t){return false}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t);}_unregisterOnChange(t){KP(this._onChange,t);}registerOnDisabledChange(t){this._onDisabledChange.push(t);}_unregisterOnDisabledChange(t){KP(this._onDisabledChange,t);}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:true,emitModelToViewChange:false}),true):false}_applyFormState(t){eL(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:true,emitEvent:false}):this.enable({onlySelf:true,emitEvent:false})):this.value=this._pendingValue=t;}},OTe=Fl,DZ=e=>e instanceof Fl,wZ=(()=>{class e extends kn$1{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this);}ngOnDestroy(){this.formDirective?.removeFormGroup(this);}get control(){return this.formDirective.getFormGroup(this)}get path(){return Cy(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,standalone:false,features:[Ee$2]})}return e})();var CZ={provide:Ei,useExisting:vt$1(()=>SZ)},tL=Promise.resolve(),SZ=(()=>
359{class e extends Ei{_changeDetectorRef;callSetDisabledState;control=new Fl;static ngAcceptInputType_isDisabled;_registered=false;viewModel;name="";isDisabled;model;options;update=new de$4;constructor(n,r,i,o,s,a,c,u){super(c,u,o),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(i);}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)});}this._setUpControl();}"isDisabled"in n&&this._updateDisabled(n),ZI(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.formDirective?.removeControl(this);}\u0275ngControlCreate(n){super.ngControlCreate(n);}\u0275ngControlUpdate(n){super.ngControlUpdate(n,false);}get shouldBindRequired(){return false}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n);}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=true;}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn);}_isStandalone(){return !this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,py(this.control,this,this.callSetDisabledState)),this.control.updateValueAndValidity({emitEvent:false});}_setupWithForm(n){this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,py(this.control,this,n));}_checkForErrors(){this._checkName();}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name;}_updateValue(n){tL.then(()=>{this.control.setValue(n,{emitViewToModelChange:false}),this._changeDetectorRef?.markForCheck();});}_updateDisabled(n){let r=n.isDisabled.currentValue,i=r!==0&&He(r);tL.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck();});}_getPath(n){return this._parent?Cy(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(V$4(kn$1,9),V$4(rr$1,10),V$4(Ea,10),V$4(uo,10),V$4(dn$1,8),V$4(Ul,8),V$4(le$4,8),V$4(Vt$2,8))};static \u0275dir=q$7({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:false,features:[At([CZ,JI]),Ee$2,ct$1,md(null)]})}return e})();var PTe=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:false})}return e})(),IZ={provide:uo,useExisting:vt$1(()=>EZ),multi:true},EZ=(()=>{class e extends _y{writeValue(n){let r=n??"";this.setProperty("value",r);}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r));};}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["input","type","number","formControlName","",3,"ngNoCva",""],["input","type","number","formControl","",3,"ngNoCva",""],["input","type","number","ngModel","",3,"ngNoCva",""]],hostBindings:function(r,i){r&1&>$1("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()});},standalone:false,features:[At([IZ]),Ee$2]})}return e})();var vy=class extends Qo{constructor(t,n,r){super(WI(n),YI(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:true,emitEvent:!!this.asyncValidator});}controls;at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){Array.isArray(t)?t.forEach(r=>{this.controls.push(r),this._registerControl(r);}
359):(this.controls.push(t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange();}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent});}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent});}setControl(t,n,r={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),n&&(this.controls.splice(i,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange();}get length(){return this.controls.length}setValue(t,n={}){_e$2(()=>{bL(this,false,t),t.forEach((r,i)=>{_L(this,false,i),this.at(i).setValue(r,{onlySelf:true,emitEvent:n.emitEvent});}),this.updateValueAndValidity(n);});}patchValue(t,n={}){t!=null&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:true,emitEvent:n.emitEvent});}),this.updateValueAndValidity(n));}reset(t=[],n={}){this._forEachChild((r,i)=>{r.reset(t[i],s$6(r$2({},n),{onlySelf:true}));}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),n?.emitEvent!==false&&this._events.next(new Sa(this));}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}));}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>r._syncPendingControls()?true:n,false);return t&&this.updateValueAndValidity({onlySelf:true}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r);});}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value);}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t));}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return false;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange);}_find(t){return this.at(t)??null}},LTe=vy;var TL=(()=>{class e extends kn$1{callSetDisabledState;get submitted(){return _e$2(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n);}_submitted=Et(()=>this._submittedReactive());_submittedReactive=Q$6(false);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(n,r,i){super(),this.callSetDisabledState=i,this._setValidators(n),this._setAsyncValidators(r);}ngOnChanges(n){this.onChanges(n);}ngOnDestroy(){this.onDestroy();}onChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form);}onDestroy(){this.form&&(gy(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}));}get formDirective(){return this}get path(){return []}addControl(n){let r=this.form.get(n.path);return n._setupWithForm(r,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:false}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}
359removeControl(n){hy(n.control||null,n,false),vZ(this.directives,n);}addFormGroup(n){this._setUpFormContainer(n);}removeFormGroup(n){this._cleanUpFormContainer(n);}getFormGroup(n){return this.form.get(n.path)}getFormArray(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n);}removeFormArray(n){this._cleanUpFormContainer(n);}updateModel(n,r){this.form.get(n.path).setValue(r);}onReset(){this.resetForm();}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(false);}onSubmit(n){return this.submitted=true,EL(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new fy(this.control)),n?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,i=this.form.get(n.path);r!==i&&(hy(r||null,n),DZ(i)&&n._setupWithForm(i,this.callSetDisabledState));}),this.form._updateTreeValidity({emitEvent:false});}_setUpFormContainer(n){let r=this.form.get(n.path);IL(r,n),r.updateValueAndValidity({emitEvent:false});}_cleanUpFormContainer(n){let r=this.form?.get(n.path);r&&mZ(r,n)&&r.updateValueAndValidity({emitEvent:false});}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{});}_updateValidators(){GI(this.form,this),this._oldForm&&gy(this._oldForm,this);}_checkFormPresent(){this.form;}static \u0275fac=function(r){return new(r||e)(V$4(rr$1,10),V$4(Ea,10),V$4(Ul,8))};static \u0275dir=q$7({type:e,features:[Ee$2,ct$1]})}return e})();var QI=new R$3(""),TZ={provide:Ei,useExisting:vt$1(()=>xZ)},xZ=(()=>{class e extends Ei{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(n){}model;update=new de$4;static _ngModelWarningSentOnce=false;_ngModelWarningSent=false;constructor(n,r,i,o,s,a,c){super(c,a,i),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(n),this._setAsyncValidators(r);}ngOnChanges(n){if(this._isControlChanged(n)){let r=n.form.previousValue;r&&(hy(r,this,false),this.removeParseErrorsValidator(r)),this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,py(this.form,this,this.callSetDisabledState)),this.form.updateValueAndValidity({emitEvent:false});}ZI(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model);}ngOnDestroy(){this.form&&hy(this.form,this,false);}get path(){return []}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n);}_isControlChanged(n){return n.hasOwnProperty("form")}\u0275ngControlCreate(n){super.ngControlCreate(n);}\u0275ngControlUpdate(n){super.ngControlUpdate(n,true);}static \u0275fac=function(r){return new(r||e)(V$4(rr$1,10),V$4(Ea,10),V$4(uo,10),V$4(QI,8),V$4(Ul,8),V$4(Vt$2,8),V$4(le$4,8))};static \u0275dir=q$7({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:false,features:[At([TZ,JI]),Ee$2,ct$1,md(null)]})}return e})(),MZ={provide:kn$1,useExisting:vt$1(()=>xL)},xL=(()=>{class e extends wZ{name=null;constructor(n,r,i){super(),this._parent=n,this._setValidators(r),this._setAsyncValidators(i);}_checkParentType(){RL(this._parent);}static \u0275fac=function(r){return new(r||e)(V$4(kn$1,13),V$4(rr$1,10),V$4(Ea,10))};static \u0275dir=q$7({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:false,features:[At([MZ]),Ee$2]})}return e})(),RZ={provide:kn$1,useExisting:vt$1(()=>ML)},ML=(()=>{class e extends kn$1{_parent;name=null;constructor(n,r,i){super(),this._parent=n,this._setValidators(r),this._setAsyncValidators(i);}ngOnInit(){RL(this._parent),this.formDirective.addFormArray(this);}ngOnDestroy(){this.formDirective?.removeFormArray(this);}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Cy(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||e)(V$4(kn$1,13),V$4(rr$1,10),V$4(Ea,10))};static \u0275dir=q$7({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:false,features:[At([RZ]),Ee$2]})}return e})();function RL(e){return !(e instanceof xL)&&!(e instanceof TL)&&!(e instanceof ML)}var AZ={provide:Ei,useExisting:vt$1(()=>NZ)},NZ=(()=>
359{class e extends Ei{_ngModelWarningConfig;_added=false;viewModel;control;name=null;set isDisabled(n){}model;update=new de$4;static _ngModelWarningSentOnce=false;_ngModelWarningSent=false;constructor(n,r,i,o,s,a,c){super(c,a,o),this._ngModelWarningConfig=s,this._parent=n,this._setValidators(r),this._setAsyncValidators(i);}_setupWithForm(n,r){this.control=n,this.isCustomControlBased?this.setupCustomControl():(this.valueAccessor??=this.selectedValueAccessor,py(n,this,r));}ngOnChanges(n){this._added||this._setUpControl(),ZI(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model));}ngOnDestroy(){this.formDirective?.removeControl(this);}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n);}get path(){return Cy(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=true;}\u0275ngControlCreate(n){super.ngControlCreate(n);}\u0275ngControlUpdate(n){this.isCustomControlBased&&(this._added||this._setUpControl(),super.ngControlUpdate(n,true));}static \u0275fac=function(r){return new(r||e)(V$4(kn$1,13),V$4(rr$1,10),V$4(Ea,10),V$4(uo,10),V$4(QI,8),V$4(Vt$2,8),V$4(le$4,8))};static \u0275dir=q$7({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:false,features:[At([AZ,JI]),Ee$2,ct$1,md(null)]})}return e})();var kZ={provide:kn$1,useExisting:vt$1(()=>OZ)},OZ=(()=>{class e extends TL{form=null;ngSubmit=new de$4;get control(){return this.form}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&>$1("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()});},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:false,features:[At([kZ]),Ee$2]})}return e})(),PZ={provide:uo,useExisting:vt$1(()=>NL),multi:true};function AL(e,t){return e==null?`${t}`:(t&&typeof t=="object"&&(t="Object"),`${e}: ${t}`.slice(0,50))}function LZ(e){return e.split(":")[0]}var NL=(()=>{class e extends _y{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n;}_compareWith=Object.is;appRefInjector=h$5(Tn$1).injector;destroyRef=h$5(at$1);cdr=h$5(dn$1);_queuedWrite=false;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=true,In$1({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=false,this.writeValue(this.value));}},{injector:this.appRefInjector}));}writeValue(n){this.cdr.markForCheck(),this.value=n;let r=this._getOptionId(n),i=AL(r,n);this.setProperty("value",i);}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value);};}_registerOption(){return (this._idCounter++).toString()}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){let r=LZ(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["select","formControlName","",3,"multiple","",3,"ngNoCva",""],["select","formControl","",3,"multiple","",3,"ngNoCva",""],["select","ngModel","",3,"multiple","",3,"ngNoCva",""]],hostBindings:function(r,i){r&1&>$1("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()});},inputs:{compareWith:"compareWith"},standalone:false,features:[At([PZ]),Ee$2]})}return e})(),FTe=(()=>{class e{_element;_renderer;_select;id;constructor(n,r,i){this._element=n,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption());}set ngValue(n){this._select!=null&&(this._select._optionMap.set(this.id,n),this._setElementValue(AL(this.id,n)),this._select._writeValueAfterRender());}set value(n){this._setElementValue(n),this._select?._writeValueAfterRender();}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n);}
359ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender();}static \u0275fac=function(r){return new(r||e)(V$4(me$2),V$4(Vt$2),V$4(NL,9))};static \u0275dir=q$7({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:false})}return e})(),FZ={provide:uo,useExisting:vt$1(()=>kL),multi:true};function nL(e,t){return e==null?`${t}`:(typeof t=="string"&&(t=`'${t}'`),t&&typeof t=="object"&&(t="Object"),`${e}: ${t}`.slice(0,50))}function BZ(e){return e.split(":")[0]}var kL=(()=>{class e extends _y{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n;}_compareWith=Object.is;writeValue(n){this.value=n;let r;if(Array.isArray(n)){let i=n.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s)>-1);};}else r=i=>{i._setSelected(false);};this._optionMap.forEach(r);}registerOnChange(n){this.onChange=r=>{let i=[],o=r.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a<s.length;a++){let c=s[a],u=this._getOptionValue(c.value);i.push(u);}}else {let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let u=this._getOptionValue(c.value);i.push(u);}}}this.value=i,n(i);};}_registerOption(n){let r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){let r=BZ(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}static \u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();static \u0275dir=q$7({type:e,selectors:[["select","multiple","","formControlName","",3,"ngNoCva",""],["select","multiple","","formControl","",3,"ngNoCva",""],["select","multiple","","ngModel","",3,"ngNoCva",""]],hostBindings:function(r,i){r&1&>$1("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()});},inputs:{compareWith:"compareWith"},standalone:false,features:[At([FZ]),Ee$2]})}return e})(),BTe=(()=>{class e{_element;_renderer;_select;id;_value;constructor(n,r,i){this._element=n,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this));}set ngValue(n){this._select!=null&&(this._value=n,this._setElementValue(nL(this.id,n)),this._select.writeValue(this._select.value));}set value(n){this._select?(this._value=n,this._setElementValue(nL(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n);}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n);}_setSelected(n){this._renderer.setProperty(this._element.nativeElement,"selected",n);}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value));}static \u0275fac=function(r){return new(r||e)(V$4(me$2),V$4(Vt$2),V$4(kL,9))};static \u0275dir=q$7({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:false})}return e})();var OL=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})();function rL(e){return !!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var PL=(()=>{class e{useNonNullable=false;get nonNullable(){let n=new e;return n.useNonNullable=true,n}group(n,r=null){let i=this._reduceControls(n),o={};return rL(r)?o=r:r!==null&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new Ia(i,o)}record(n,r=null){let i=this._reduceControls(n);return new jI(i,r)}control(n,r,i){let o={};return this.useNonNullable?(rL(r)?o=r:(o.validators=r,o.asyncValidators=i),new Fl(n,s$6(r$2({},o),{nonNullable:true}))):new Fl(n,r,i)}array(n,r,i){let o=n.map(s=>this._createControl(s));return new vy(o,r,i)}_reduceControls(n){let r={};return Object.keys(n).forEach(i=>{r[i]=this._createControl(n[i]);}),r}_createControl(n){if(n instanceof Fl)return n;if(n instanceof Qo)return n;if(Array.isArray(n)){let r=n[0],i=n.length>1?n[1]:null,o=n.length>2?n[2]:null;return this.control(r,i,o)}else return this.control(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),UTe=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:()=>h$5(PL).nonNullable})}return e})(),VTe=(()=>{class e extends PL{group(n,r=null){return super.group(n,r)}control(n,r,i){return super.control(n,r,i)}array(n,r,i){return super.array(n,r,i)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U$3({token:e,factory:e.\u0275fac})}return e})(),jTe=(()=>{class e{static withConfig(n){return {ngModule:e,providers:[{provide:Ul,useValue:n.callSetDisabledState??wy}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({imports:[OL]})}return e})(),HTe=(()=>{class e{static withConfig(n){return {ngModule:e,providers:[{provide:QI,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Ul,useValue:n.callSetDisabledState??wy}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({imports:[OL]})}return e})();var UZ=["*"],LL=(()=>{class e{labelPosition="after";static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(r,i){r&2&&wt("mdc-form-field--align-en
359d",i.labelPosition==="before");},inputs:{labelPosition:"labelPosition"},ngContentSelectors:UZ,decls:1,vars:0,template:function(r,i){r&1&&(jc(),Hc(0));},styles:[`.mat-internal-form-field { 360 -moz-osx-font-smoothing: grayscale; 361 -webkit-font-smoothing: antialiased; 362 display: inline-flex; 363 align-items: center; 364 vertical-align: middle; 365} 366.mat-internal-form-field > label, .mat-internal-form-field > .mat-internal-form-field-label { 367 margin-left: 0; 368 margin-right: auto; 369 padding-left: 4px; 370 padding-right: 0; 371 order: 0; 372} 373[dir=rtl] .mat-internal-form-field > label, [dir=rtl] .mat-internal-form-field > .mat-internal-form-field-label { 374 margin-left: auto; 375 margin-right: 0; 376 padding-left: 0; 377 padding-right: 4px; 378} 379 380.mdc-form-field--align-end > label, .mdc-form-field--align-end > .mat-internal-form-field-label { 381 margin-left: auto; 382 margin-right: 0; 383 padding-left: 0; 384 padding-right: 4px; 385 order: -1; 386} 387[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label, [dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end .mat-internal-form-field-label { 388 margin-left: 0; 389 margin-right: auto; 390 padding-left: 4px; 391 padding-right: 0; 392} 393`],encapsulation:2})}return e})();var FL=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,i){},styles:[`.mat-focus-indicator { 394 position: relative; 395} 396.mat-focus-indicator::before { 397 top: 0; 398 left: 0; 399 right: 0; 400 bottom: 0; 401 position: absolute; 402 box-sizing: border-box; 403 pointer-events: none; 404 display: var(--mat-focus-indicator-display, none); 405 border-width: var(--mat-focus-indicator-border-width, 3px); 406 border-style: var(--mat-focus-indicator-border-style, solid); 407 border-color: var(--mat-focus-indicator-border-color, transparent); 408 border-radius: var(--mat-focus-indicator-border-radius, 4px); 409} 410.mat-focus-indicator:focus-visible::before { 411 content: ""; 412} 413 414@media (forced-colors: active) { 415 html { 416 --mat-focus-indicator-display: block; 417 --mat-focus-indicator-fallback-border-style: none; 418 } 419} 420`],encapsulation:2})}return e})();var Vl,BL=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function YTe(){if(Vl)return Vl;if(typeof document!="object"||!document)return Vl=new Set(BL),Vl;let e=document.createElement("input");return Vl=new Set(BL.filter(t=>(e.setAttribute("type",t),e.type===t))),Vl}var Rr=(function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e})(Rr||{}),XI=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Rr.HIDDEN;constructor(t,n,r,i=false){this._renderer=t,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=i;}fadeOut(){this._renderer.fadeOutRipple(this);}},UL=Nl({passive:true,capture:true}),KI=class{_events=new Map;addHandler(t,n,r,i){let o=this._events.get(n);if(o){let s=o.get(r);s?s.add(i):o.set(r,new Set([i]));}else this._events.set(n,new Map([[r,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,UL);});}removeHandler(t,n,r){let i=this._events.get(t);if(!i)return;let o=i.get(n);o&&(o.delete(r),o.size===0&&i.delete(n),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,UL)));}_delegateEventHandler=t=>{let n=nr$1(t);n&&this._events.get(t.type)?.forEach((r,i)=>{(i===n||i.contains(n))&&r.forEach(o=>o.handleEvent(t));});}},VL={enterDuration:225,exitDuration:150},VZ=800,jL=Nl({passive:true,capture:true}),HL=["mousedown","touchstart"],$L=["mouseup","mouseleave","touchend","touchcancel"],jZ=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`.mat-ripple { 421 overflow: hidden; 422 position: relative; 423} 424.mat-ripple:not(:empty) { 425 transform: translateZ(0); 426} 427 428.mat-ripple.mat-ripple-unbounded { 429 overflow: visible; 430} 431 432.mat-ripple-element { 433 position: absolute; 434 border-radius: 50%; 435 pointer-events: none; 436 transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1); 437 transform: scale3d(0, 0, 0); 438 background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent)); 439} 440@media (forced-colors: active) { 441 .mat-ripple-element { 442 display: none; 443 } 444} 445.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { 446 display: none; 447} 448`],encapsulation:2})}return e})(),eE=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=false;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=false;_containerRect=null;static _eventManager=new KI;constructor(t,n,r,i,o){this._target=t,this._ngZone=n,this._platform=i,i.isBrowser&&(this._containerElement=Mr$1(r)),o&&o.get(xr$1).load(jZ);}fadeInRipple(t,n,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=r$2(r$2({},VL),r.animation);r.centered&&(t=i.left+i.width/2,n=i.top+i.height/2);let s=r.radius||HZ(t,n,i),a=t-i.left,c=n-i.top,u=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,r.color!=null&&(d.style.backgroundColor=r.color),d.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),p=f.transitionProperty,g=f.transitionDuration,v=p==="none"||g==="0s"||g==="0s, 0s"||i.width===0&&i.height===0,C=new XI(this,d,r,v);d.style.transform="scale3d(1, 1, 1)",C.state=Rr.FADING_IN,r.persistent||(this._mostRecentTransientRipple=C);let S=null;return !v&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let M=()=>{S&&(S.fallbackTimer=null),clearTimeout($),this._finishRippleTransition(C);},L=()=>this._destroyRipple(C),$=setTimeout(L,u+100);d.addEventListener("transitionend",M),d.addEventListener("transitioncancel",L),S={onTransitionEnd:M,onTransitionCancel:L,fallbackTimer:$};}),this._activeRipples.set(C,S),(v||!u)&&this._finishRippleTransition(C),C}fadeOutRipple(t){if(t.state===Rr.FADING_OUT||t.state===Rr.HIDDEN)return;let n=t.element,r=r$2(r$2({},VL),t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=Rr.FADING_OUT,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t);}
448fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut());}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut();});}setupTriggerEvents(t){let n=Mr$1(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,HL.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,n,this);}));}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$L.forEach(n=>{this._triggerElement.addEventListener(n,this,jL);});}),this._pointerUpEventsRegistered=true);}_finishRippleTransition(t){t.state===Rr.FADING_IN?this._startFadeOutTransition(t):t.state===Rr.FADING_OUT&&this._destroyRipple(t);}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=Rr.VISIBLE,!r&&(!n||!this._isPointerDown)&&t.fadeOut();}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Rr.HIDDEN,n!==null&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove();}_onMousedown(t){let n=pf(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+VZ;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=true,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig));}_onTouchStart(t){if(!this._target.rippleDisabled&&!hf(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=true;let n=t.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig);}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=false,this._getActiveRipples().forEach(t=>{let n=t.state===Rr.VISIBLE||t.config.terminateOnPointerUp&&t.state===Rr.FADING_IN;!t.config.persistent&&n&&t.fadeOut();}));}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(HL.forEach(n=>e._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&($L.forEach(n=>t.removeEventListener(n,this,jL)),this._pointerUpEventsRegistered=false));}};function HZ(e,t,n){let r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}var $Z=new R$3("mat-ripple-global-options"),zL=(()=>{class e{_elementRef=h$5(me$2);_animationsDisabled=wa();color;unbounded=false;centered=false;radius=0;animation;get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled();}_disabled=false;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled();}_trigger;_rippleRenderer;_globalOptions;_isInitialized=false;constructor(){let n=h$5(ce$4),r=h$5(Ct),i=h$5($Z,{optional:true}),o=h$5(le$4);this._globalOptions=i||{},this._rippleRenderer=new eE(this,n,this._elementRef,r,o);}ngOnInit(){this._isInitialized=true,this._setupTriggerEventsIfEnabled();}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents();}fadeOutAll(){this._rippleRenderer.fadeOutAll();}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent();}get rippleConfig(){return {centered:this.centered,radius:this.radius,color:this.color,animation:r$2(r$2(r$2({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger);}launch(n,r=0,i){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,r,r$2(r$2({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,r$2(r$2({},this.rippleConfig),n))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){r&2&&wt("mat-ripple-unbounded",i.unbounded);},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return e})();var zZ=["input"],qZ=["label"],WZ=["*"],tE={color:"accent",clickAction:"check-indeterminate",disabledInteractive:false},YZ=new R$3("mat-checkbox-default-options",{providedIn:"root",factory:()=>tE}),hn$1=(function(e){return e[e.Init=0]="Init",e[e.Checked=1]="Checked",e[e.Unchecked=2]="Unchecked",e[e.Indeterminate=3]="Indeterminate",e})(hn$1||{}),nE=class{source;checked},rE=(()=>{class e{_elementRef=h$5(me$2);_changeDetectorRef=h$5(dn$1);_ngZone=h$5(ce$4);_animationsDisabled=wa();_options=h$5(YZ,{optional:true});focus(){this._inputElement.nativeElement.focus();}_createChangeEvent(n){let r=new nE;return r.source=this,r.checked=n,r}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;
448ariaControls;ariaOwns;_uniqueId;id;get inputId(){return `${this.id||this._uniqueId}-input`}required=false;labelPosition="after";name=null;change=new de$4;indeterminateChange=new de$4;value;disableRipple=false;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=hn$1.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){h$5(xr$1).load(FL);let n=h$5(new zc("tabindex"),{optional:true});this._options=this._options||tE,this.color=this._options.color||tE.color,this.tabIndex=n==null?0:parseInt(n)||0,this.id=this._uniqueId=h$5(Kr$1).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??false;}ngOnChanges(n){n.required&&this._validatorChangeFn();}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate);}get checked(){return this._checked}set checked(n){n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck());}_checked=false;get disabled(){return this._disabled}set disabled(n){n!==this.disabled&&(this._disabled=n,this._changeDetectorRef.markForCheck());}_disabled=false;get indeterminate(){return this._indeterminate()}set indeterminate(n){let r=n!=this._indeterminate();this._indeterminate.set(n),r&&(n?this._transitionCheckState(hn$1.Indeterminate):this._transitionCheckState(this.checked?hn$1.Checked:hn$1.Unchecked),this.indeterminateChange.emit(n)),this._syncIndeterminate(n);}_indeterminate=Q$6(false);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges();}writeValue(n){this.checked=!!n;}registerOnChange(n){this._controlValueAccessorChangeFn=n;}registerOnTouched(n){this._onTouched=n;}setDisabledState(n){this.disabled=n;}validate(n){return this.required&&n.value!==true?{required:true}:null}registerOnValidatorChange(n){this._validatorChangeFn=n;}_transitionCheckState(n){let r=this._currentCheckState,i=this._getAnimationTargetElement();if(!(r===n||!i)&&(this._currentAnimationClass&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(r,n),this._currentCheckState=n,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(o);},1e3);});}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked);}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked);}_handleInputClick(){let n=this._options?.clickAction;!this.disabled&&n!=="noop"?(this.indeterminate&&n!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(false),this.indeterminateChange.emit(false);}),this._checked=!this._checked,this._transitionCheckState(this._checked?hn$1.Checked:hn$1.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&n==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate);}_onInteractionEvent(n){n.stopPropagation();}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck();});}_getAnimationClassForCheckStateTransition(n,r){if(this._animationsDisabled)return "";switch(n){case hn$1.Init:if(r===hn$1.Checked)return this._animationClasses.uncheckedToChecked;if(r==hn$1.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case hn$1.Unchecked:return r===hn$1.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case hn$1.Checked:return r===hn$1.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case hn$1.Indeterminate:return r===hn$1.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return ""}_syncIndeterminate(n){let r=this._inputElement;r&&(r.nativeElement.indeterminate=n);}_onInputClick(){this._handleInputClick();}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus();}_preventBubblingFromLabel(n){n.target&&this._labelElement.nativeElement.contains(n.target)&&n.stopPropagation();}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["mat-checkbox"]],viewQuery:function(r,i){if(r&1&&na(zZ,5)(qZ,5),r&2){let o;Zi(o=Ji())&&(i._inputElement=o.first),Zi(o=Ji())&&(i._labelElement=o.first);}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(r,i){r&2&&(Vc("id",i.id),Rt("tabindex",null)("aria-label",null)("aria-labelledby",null),wd(i.color?"mat-"+i.color:"mat-accent"),wt("_mat-animation-noopable",i._animationsDisabled)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked)("mat-mdc-checkbox-disabled-interactive",i.disabledInteractive));},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",He],ariaControl
448s:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",He],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",He],tabIndex:[2,"tabIndex","tabIndex",n=>n==null?void 0:UC(n)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",He],checked:[2,"checked","checked",He],disabled:[2,"disabled","disabled",He],indeterminate:[2,"indeterminate","indeterminate",He]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[At([{provide:uo,useExisting:vt$1(()=>e),multi:true},{provide:rr$1,useExisting:e,multi:true}]),ct$1],ngContentSelectors:WZ,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],["aria-hidden","true",1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],["aria-hidden","true",1,"mdc-checkbox__ripple"],["aria-hidden","true",1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","","aria-hidden","true",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(r,i){if(r&1&&(jc(),mt$1(0,"div",3),gt$1("click",function(s){return i._preventBubblingFromLabel(s)}),mt$1(1,"div",4,0)(3,"div",5),gt$1("click",function(){return i._onTouchTargetClick()}),bt$2(),mt$1(4,"input",6,1),gt$1("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(s){return i._onInteractionEvent(s)}),bt$2(),Bn$1(6,"div",7),mt$1(7,"div",8),lh(),mt$1(8,"svg",9),Bn$1(9,"path",10),bt$2(),uh(),Bn$1(10,"div",11),bt$2(),Bn$1(11,"div",12),bt$2(),mt$1(12,"label",13,2),Hc(14),bt$2()()),r&2){let o=CC(2);xn$1("labelPosition",i.labelPosition),Ut$1(4),wt("mdc-checkbox--selected",i.checked),xn$1("checked",i.checked)("indeterminate",i.indeterminate)("disabled",i.disabled&&!i.disabledInteractive)("id",i.inputId)("required",i.required)("tabIndex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex),Rt("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("aria-checked",i.indeterminate?"mixed":null)("aria-controls",i.ariaControls)("aria-disabled",i.disabled&&i.disabledInteractive?true:null)("aria-expanded",i.ariaExpanded)("aria-owns",i.ariaOwns)("name",i.name)("value",i.value),Ut$1(7),xn$1("matRippleTrigger",o)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",true),Ut$1(),xn$1("for",i.inputId);}},dependencies:[zL,LL],styles:[`.mdc-checkbox { 449 display: inline-block; 450 position: relative; 451 flex: 0 0 18px; 452 box-sizing: content-box; 453 width: 18px; 454 height: 18px; 455 line-height: 0; 456 white-space: nowrap; 457 cursor: pointer; 458 vertical-align: bottom; 459 padding: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 460 margin: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 461} 462.mdc-checkbox:hover > .mdc-checkbox__ripple { 463 opacity: var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 464 background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 465} 466.mdc-checkbox:hover > .mat-mdc-checkbox-ripple > .mat-ripple-element { 467 background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 468} 469.mdc-checkbox .mdc-checkbox__native-control:focus + .mdc-checkbox__ripple { 470 opacity: var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 471 background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface)); 472} 473.mdc-checkbox .mdc-checkbox__native-control:focus ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 474 background-color: var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface)); 475} 476.mdc-checkbox:active > .mdc-checkbox__native-control + .mdc-checkbox__ripple { 477 opacity: var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 478 background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary)); 479} 480.mdc-checkbox:active > .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 481 background-color: var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary)); 482} 483.mdc-checkbox:hover > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple { 484 opacity: var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 485 background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary)); 486} 487.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 488 background-color: var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary)); 489} 490.mdc-checkbox .mdc-checkbox__native-control:focus:checked + .mdc-checkbox__ripple { 491 opacity: var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 492 background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary)); 493} 494.mdc-checkbox .mdc-checkbox__native-control:focus:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 495 background-color: var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary)); 496} 497.mdc-checkbox:active > .mdc-checkbox__native-control:checked + .mdc-checkbox__ripple { 498 opacity: var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 499 background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface)); 500} 501.mdc-checkbox:active > .mdc-checkbox__native-control:checked ~ .mat-mdc-checkbox-ripple .mat-ripple-element { 502 background-color: var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface)); 503} 504.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control ~ .mat-mdc-checkbox-ripple .mat-ripple-element, 505.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control + .mdc-checkbox__ripple { 506 background-color: var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 507} 508.mdc-checkbox .mdc-checkbox__native-control { 509 position: absolute; 510 margin: 0; 511 padding: 0; 512 opacity: 0; 513 cursor: inherit; 514 z-index: 1; 515 width: var(--mat-checkbox-state-layer-size, 40px); 516 height: var(--mat-checkbox-state-layer-size, 40px); 517 top: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 518 right: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 519 left: calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px)) / 2); 520} 521 522.mdc-checkbox--disabled { 523 cursor: default; 524 pointer-events: none; 525} 526 527.mdc-checkbox__background { 528 display: inline-flex; 529 position: absolute; 530 align-items: center; 531 justify-content: center; 532 box-sizing: border-box; 533 width: 18px; 534 height: 18px; 535 border: 2px solid currentColor; 536 border-radius: 2px; 537 background-color: transparent; 538 pointer-events: none; 539 will-change: background-color, border-color; 540 transition: background-color 90ms cubic-bezier(0.4, 0, 0.6, 1), border-color 90ms cubic-bezier(0.4, 0, 0.6, 1); 541 -webkit-print-color-adjust: exact; 542 color-adjust: exact; 543 border-color: var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant)); 544 top: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 545 left: calc((var(--mat-checkbox-state-layer-size, 40px) - 18px) / 2); 546} 547 548.mdc-checkbox__native-control:enabled:checked ~ .mdc-checkbox__background, 549.mdc-checkbox__native-control:enabled:indeterminate ~ .mdc-checkbox__background { 550 border-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary)); 551 background-color: var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary)); 552} 553 554.mdc-checkbox--disabled .mdc-checkbox__background { 555 border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 556} 557@media (forced-colors: active) { 558 .mdc-checkbox--disabled .mdc-checkbox__background { 559 border-color: GrayText; 560 } 561} 562 563.mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background, 564.mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background { 565 background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 566 border-color: transparent; 567} 568@media (forced-colors: active) { 569 .mdc-checkbox__native-control:disabled:checked ~ .mdc-checkbox__background, 570 .mdc-checkbox__native-control:disabled:indeterminate ~ .mdc-checkbox__background { 571 border-color: GrayText; 572 } 573} 574 575.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:checked) ~ .mdc-checkbox__background, 576.mdc-checkbox:hover > .mdc-checkbox__native-control:not(:indeterminate) ~ .mdc-checkbox__background { 577 border-color: var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface)); 578 background-color: transparent; 579} 580 581.mdc-checkbox:hover > .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 582.mdc-checkbox:hover > .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 583 border-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary)); 584 background-color: var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary)); 585} 586 587.mdc-checkbox__native-control:focus:focus:not(:checked) ~ .mdc-checkbox__background, 588.mdc-checkbox__native-control:focus:focus:not(:indeterminate) ~ .mdc-checkbox__background { 589 border-color: var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface)); 590} 591 592.mdc-checkbox__native-control:focus:focus:checked ~ .mdc-checkbox__background, 593.mdc-checkbox__native-control:focus:focus:indeterminate ~ .mdc-checkbox__background { 594 border-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary)); 595 background-color: var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary)); 596} 597 598.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background, 599.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background, 600.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background { 601 border-color: var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 602} 603@media (forced-colors: active) { 604 .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover > .mdc-checkbox__native-control ~ .mdc-checkbox__background, 605 .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus ~ .mdc-checkbox__background, 606 .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background { 607 border-color: GrayText; 608 } 609} 610.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 611.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 612 background-color: var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 613 border-color: transparent; 614} 615 616.mdc-checkbox__checkmark { 617 position: absolute; 618 top: 0; 619 right: 0; 620 bottom: 0; 621 left: 0; 622 width: 100%; 623 opacity: 0; 624 transition: opacity 180ms cubic-bezier(0.4, 0, 0.6, 1); 625 color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary)); 626} 627@media (forced-colors: active) { 628 .mdc-checkbox__checkmark { 629 color: CanvasText; 630 } 631} 632 633.mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark { 634 color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface)); 635} 636@media (forced-colors: active) { 637 .mdc-checkbox--disabled .mdc-checkbox__checkmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark { 638 color: GrayText; 639 } 640} 641 642.mdc-checkbox__checkmark-path { 643 transition: stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1); 644 stroke: currentColor; 645 stroke-width: 3.12px; 646 stroke-dashoffset: 29.7833385; 647 stroke-dasharray: 29.7833385; 648} 649 650.mdc-checkbox__mixedmark { 651 width: 100%; 652 height: 0; 653 transform: scaleX(0) rotate(0deg); 654 border-width: 1px; 655 border-style: solid; 656 opacity: 0; 657 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 658 border-color: var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary)); 659} 660@media (forced-colors: active) { 661 .mdc-checkbox__mixedmark { 662 margin: 0 1px; 663 } 664} 665 666.mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark { 667 border-color: var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface)); 668} 669@media (forced-colors: active) { 670 .mdc-checkbox--disabled .mdc-checkbox__mixedmark, .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark { 671 border-color: GrayText; 672 } 673} 674 675.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background, 676.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background, 677.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background, 678.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background { 679 animation-duration: 180ms; 680 animation-timing-function: linear; 681} 682 683.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path { 684 animation: mdc-checkbox-unchecked-checked-checkmark-path 180ms linear; 685 transition: none; 686} 687 688.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark { 689 animation: mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear; 690 transition: none; 691} 692 693.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path { 694 animation: mdc-checkbox-checked-unchecked-checkmark-path 90ms linear; 695 transition: none; 696} 697 698.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark { 699 animation: mdc-checkbox-checked-indeterminate-checkmark 90ms linear; 700 transition: none; 701} 702.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark { 703 animation: mdc-checkbox-checked-indeterminate-mixedmark 90ms linear; 704 transition: none; 705} 706 707.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark {
708 animation: mdc-checkbox-indeterminate-checked-checkmark 500ms linear; 709 transition: none; 710} 711.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark { 712 animation: mdc-checkbox-indeterminate-checked-mixedmark 500ms linear; 713 transition: none; 714} 715 716.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark { 717 animation: mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear; 718 transition: none; 719} 720 721.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background, 722.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background { 723 transition: border-color 90ms cubic-bezier(0, 0, 0.2, 1), background-color 90ms cubic-bezier(0, 0, 0.2, 1); 724} 725.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 726.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path { 727 stroke-dashoffset: 0; 728} 729 730.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__checkmark { 731 transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1), transform 180ms cubic-bezier(0, 0, 0.2, 1); 732 opacity: 1; 733} 734.mdc-checkbox__native-control:checked ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark { 735 transform: scaleX(1) rotate(-45deg); 736} 737 738.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__checkmark { 739 transform: rotate(45deg); 740 opacity: 0; 741 transition: opacity 90ms cubic-bezier(0.4, 0, 0.6, 1), transform 90ms cubic-bezier(0.4, 0, 0.6, 1); 742} 743.mdc-checkbox__native-control:indeterminate ~ .mdc-checkbox__background > .mdc-checkbox__mixedmark { 744 transform: scaleX(1) rotate(0deg); 745 opacity: 1; 746} 747 748@keyframes mdc-checkbox-unchecked-checked-checkmark-path { 749 0%, 50% { 750 stroke-dashoffset: 29.7833385; 751 } 752 50% { 753 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 754 } 755 100% { 756 stroke-dashoffset: 0; 757 } 758} 759@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark { 760 0%, 68.2% { 761 transform: scaleX(0); 762 } 763 68.2% { 764 animation-timing-function: cubic-bezier(0, 0, 0, 1); 765 } 766 100% { 767 transform: scaleX(1); 768 } 769} 770@keyframes mdc-checkbox-checked-unchecked-checkmark-path { 771 from { 772 animation-timing-function: cubic-bezier(0.4, 0, 1, 1); 773 opacity: 1; 774 stroke-dashoffset: 0; 775 } 776 to { 777 opacity: 0; 778 stroke-dashoffset: -29.7833385; 779 } 780} 781@keyframes mdc-checkbox-checked-indeterminate-checkmark { 782 from { 783 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 784 transform: rotate(0deg); 785 opacity: 1; 786 } 787 to { 788 transform: rotate(45deg); 789 opacity: 0; 790 } 791} 792@keyframes mdc-checkbox-indeterminate-checked-checkmark { 793 from { 794 animation-timing-function: cubic-bezier(0.14, 0, 0, 1); 795 transform: rotate(45deg); 796 opacity: 0; 797 } 798 to { 799 transform: rotate(360deg); 800 opacity: 1; 801 } 802} 803@keyframes mdc-checkbox-checked-indeterminate-mixedmark { 804 from { 805 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 806 transform: rotate(-45deg); 807 opacity: 0; 808 } 809 to { 810 transform: rotate(0deg); 811 opacity: 1; 812 } 813} 814@keyframes mdc-checkbox-indeterminate-checked-mixedmark { 815 from { 816 animation-timing-function: cubic-bezier(0.14, 0, 0, 1); 817 transform: rotate(0deg); 818 opacity: 1; 819 } 820 to { 821 transform: rotate(315deg); 822 opacity: 0; 823 } 824} 825@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark { 826 0% { 827 animation-timing-function: linear; 828 transform: scaleX(1); 829 opacity: 1; 830 } 831 32.8%, 100% { 832 transform: scaleX(0); 833 opacity: 0; 834 } 835} 836.mat-mdc-checkbox { 837 display: inline-block; 838 position: relative; 839 -webkit-tap-highlight-color: transparent; 840} 841.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-touch-target, 842.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__native-control, 843.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__ripple, 844.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mat-mdc-checkbox-ripple::before, 845.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background, 846.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark, 847.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__checkmark > .mdc-checkbox__checkmark-path, 848.mat-mdc-checkbox._mat-animation-noopable > .mat-internal-form-field > .mdc-checkbox > .mdc-checkbox__background > .mdc-checkbox__mixedmark { 849 transition: none !important; 850 animation: none !important; 851} 852.mat-mdc-checkbox label { 853 cursor: pointer; 854} 855.mat-mdc-checkbox .mat-internal-form-field { 856 color: var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface)); 857 font-family: var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font)); 858 line-height: var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height)); 859 font-size: var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size)); 860 letter-spacing: var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking)); 861 font-weight: var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight)); 862} 863.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive { 864 pointer-events: auto; 865} 866.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input { 867 cursor: default; 868} 869.mat-mdc-checkbox.mat-mdc-checkbox-disabled label { 870 cursor: default; 871 color: var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 872} 873@media (forced-colors: active) { 874 .mat-mdc-checkbox.mat-mdc-checkbox-disabled label { 875 color: GrayText; 876 } 877} 878.mat-mdc-checkbox label:empty { 879 display: none; 880} 881.mat-mdc-checkbox .mdc-checkbox__ripple { 882 opacity: 0; 883} 884 885.mat-mdc-checkbox .mat-mdc-checkbox-ripple, 886.mdc-checkbox__ripple { 887 top: 0; 888 left: 0; 889 right: 0; 890 bottom: 0; 891 position: absolute; 892 border-radius: 50%; 893 pointer-events: none; 894} 895.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty), 896.mdc-checkbox__ripple:not(:empty) { 897 transform: translateZ(0); 898} 899 900.mat-mdc-checkbox-ripple .mat-ripple-element { 901 opacity: 0.1; 902} 903 904.mat-mdc-checkbox-touch-target { 905 position: absolute; 906 top: 50%; 907 left: 50%; 908 height: var(--mat-checkbox-touch-target-size, 48px); 909 width: var(--mat-checkbox-touch-target-size, 48px); 910 transform: translate(-50%, -50%); 911 display: var(--mat-checkbox-touch-target-display, block); 912} 913 914.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before { 915 border-radius: 50%; 916} 917 918.mdc-checkbox__native-control:focus-visible ~ .mat-focus-indicator::before { 919 content: ""; 920} 921`],encapsulation:2})}return e})(),qL=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({imports:[rE,lo]})}return e})();var Sy="Error has occurred";var Ixe="(max-width: 768px)",Exe="(min-width: 769px) and (max-width: 1009px)",Txe="(min-width: 1010px) and (max-width: 1201px)",xxe="(min-width: 1202px) and (max-width: 1393px)",Mxe="(min-width: 1394px)";var Iy="{width}",iE="{height}";
921var Xo=(()=>{class e{constructor(){this.subjects={},this.observables={};}on(n){let r=this.subjects[n],i=this.observables[n];return r||(r=this.subjects[n]=new G$3,i=this.observables[n]=Re$1(r)),i}has(n){let r=this.subjects[n];return !!r&&!!r.observed}fire(n,r){let i=this.subjects[n],o=!!i&&!!i.observed;return o&&i.next(r),o}fireNextTick(n,r){let i=this.subjects[n],o=!!i&&!!i.observed;return o&&setTimeout(()=>i.next(r)),o}chainFire(n,r){return this.fire(n,r),this}chainFireNextTick(n,r){return this.fireNextTick(n,r),this}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var Ti=(function(e){return e[e.EverySecond=0]="EverySecond",e[e.EveryFiveSeconds=1]="EveryFiveSeconds",e[e.EveryTenSeconds=2]="EveryTenSeconds",e[e.EverySixtySeconds=3]="EverySixtySeconds",e[e.EveryTenMinutes=4]="EveryTenMinutes",e[e.ActivationStart=5]="ActivationStart",e[e.NavigationStart=6]="NavigationStart",e[e.NavigationEnd=7]="NavigationEnd",e[e.NavigationInterrupted=8]="NavigationInterrupted",e[e.LegacyNavigationStart=9]="LegacyNavigationStart",e[e.FilesDropped=10]="FilesDropped",e[e.PasswordToggle=11]="PasswordToggle",e[e.TitleStrategyFinished=12]="TitleStrategyFinished",e[e.ShowPopup=13]="ShowPopup",e[e.ShowToastMessage=14]="ShowToastMessage",e[e.WindowResize=15]="WindowResize",e[e.WindowScroll=16]="WindowScroll",e[e.WindowClick=17]="WindowClick",e[e.WindowKeyUp=18]="WindowKeyUp",e[e.WindowKeyDown=19]="WindowKeyDown",e[e.WindowEscapeKeyDown=20]="WindowEscapeKeyDown",e[e.WindowMouseUp=21]="WindowMouseUp",e[e.WindowMouseDown=22]="WindowMouseDown",e[e.WindowFocus=23]="WindowFocus",e[e.ReportsMonitoring=24]="ReportsMonitoring",e[e.ReportsUpdated=25]="ReportsUpdated",e[e.ReportsV2ScrollPreview=26]="ReportsV2ScrollPreview",e[e.ReportsV2StartTrackingElementsForm=27]="ReportsV2StartTrackingElementsForm",e[e.ReportsV2ElementsFormChanged=28]="ReportsV2ElementsFormChanged",e[e.ReportsV2StartPageCalculation=29]="ReportsV2StartPageCalculation",e[e.ReportsV2PagesCalculating=30]="ReportsV2PagesCalculating",e[e.ReportsV2PageAsyncOperation=31]="ReportsV2PageAsyncOperation",e[e.ReportsV2SidebarToggleScrollFix=32]="ReportsV2SidebarToggleScrollFix",e[e.PropertyModeChanged=33]="PropertyModeChanged",e[e.EntitySavedChange=34]="EntitySavedChange",e[e.PropertyCentroidChanged=35]="PropertyCentroidChanged",e[e.SyncPropertyLoans=36]="SyncPropertyLoans",e[e.SyncPropertyPrice=37]="SyncPropertyPrice",e[e.ZipFormLinkStateChanged=38]="ZipFormLinkStateChanged",e[e.MapError=39]="MapError",e[e.MapToolSelected=40]="MapToolSelected",e[e.MapDrawingToggle=41]="MapDrawingToggle",e[e.ClearMapTools=42]="ClearMapTools",e[e.ShowMapBalloon=43]="ShowMapBalloon",e[e.HideMapBalloon=44]="HideMapBalloon",e[e.OpenMyWorkSavedProperties=45]="OpenMyWorkSavedProperties",e[e.OpenMyWorkRecentProperties=46]="OpenMyWorkRecentProperties",e[e.OpenMyWorkReports=47]="OpenMyWorkReports",e[e.OpenMyWorkNotes=48]="OpenMyWorkNotes",e[e.UpdateLearningMenu=49]="UpdateLearningMenu",e[e.UpdateSiteHeaderInfo=50]="UpdateSiteHeaderInfo",e[e.ResetSearchLocation=51]="ResetSearchLocation",e[e.PropertyTypeChange=52]="PropertyTypeChange",e[e.PrintDialogOpen=53]="PrintDialogOpen",e[e.PrintDialogClose=54]="PrintDialogClose",e})(Ti||{});var zn=(function(e){return e[e.Info=1]="Info",e[e.Success=2]="Success",e[e.Warning=3]="Warning",e[e.Danger=4]="Danger",e})(zn||{});var ir$1=(function(e){return e[e.NotAssigned=0]="NotAssigned",e[e.SingleFamily=1]="SingleFamily",e[e.MultifamilyMultiplex=2]="MultifamilyMultiplex",e[e.FarmRanch=3]="FarmRanch",e[e.MobileManufactured=4]="MobileManufactured",e[e.CondoTownhouseApt=5]="CondoTownhouseApt",e[e.CoOp=6]="CoOp",e[e.LotLand=7]="LotLand",e[e.OtherResidential=8]="OtherResidential",e[e.Commercial=9]="Commercial",e[e.Office=10]="Office",e[e.RestaurantBar=11]="RestaurantBar",e[e.ShoppingCenter=12]="ShoppingCenter",e[e.Retail=13]="Retail",e[e.Land=14]="Land",e[e.Multifamily=15]="Multifamily",e[e.Industrial=16]="Industrial",e[e.Healthcare=17]="Healthcare",e[e.HotelMotel=18]="HotelMotel",e[e.SpecialPurpose=19]="SpecialPurpose",e[e.SingleFamilyAndCondoTownhouseAptResidential=98]="SingleFamilyAndCondoTownhouseAptResidential",e[e.AllResidential=99]="AllResidential",e[e.AllCommercial=100]="AllCommercial",e[e.Unknown=-1]="Unknown",e})(ir$1||{});var ZZ="__lodash_hash_undefined__";function JZ(e){return this.__data__.set(e,ZZ),this}var WL=JZ;function QZ(e){return this.__data__.has(e)}var YL=QZ;function Ey(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new sa;++t<n;)this.add(e[t]);}Ey.prototype.add=Ey.prototype.push=WL;Ey.prototype.has=YL;var Ty=Ey;function XZ(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}var xy=XZ;function KZ(e){return e!==e}var GL=KZ;function eJ(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}var ZL=eJ;function tJ(e,t,n){return t===t?ZL(e,t,n):xy(e,GL,n)}var JL=tJ;function nJ(e,t){var n=e==null?0:e.length;return !!n&&JL(e,t,0)>-1}var QL=nJ;function rJ(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return true;return false}var XL=rJ;function iJ(e,t){return e.has(t)}var My=iJ;var oJ=jn($t$1,"Set"),Ko=oJ;function sJ(){}var KL=sJ;function aJ(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r;}),n}var jl=aJ;var cJ=1/0,lJ=Ko&&1/jl(new Ko([,-0]))[1]==cJ?function(e){return new Ko(e)}:KL,eF=lJ;var uJ=200;function dJ(e,t,n){var r=-1,i=QL,o=e.length,s=true,a=[],c=a;if(n)s=false,i=XL;else if(o>=uJ){var u=t?null:eF(e);if(u)return jl(u);s=false,i=My,c=new Ty;}else c=t?[]:a;e:for(;++r<o;){var d=e[r],f=t?t(d):d;if(d=n||d!==0?d:0,s&&f===f){for(var p=c.length;p--;)if(c[p]===f)continue e;t&&c.push(f),a.push(d);}else i(c,f,n)||(c!==a&&c.push(f),a.push(d));}return a}var tF=dJ;function fJ(e){return e&&e.length?tF(e):[]}var nF=fJ;var Hl=(function(e){return e[e.NotAssigned=0]="NotAssigned",e[e.PublicRecord=1]="PublicRecord",e[e.Active=2]="Active",e[e.ActiveUnderContract=3]="ActiveUnderContract",e[e.Pending=4]="Pending",e[e.Closed=5]="Closed",e[e.Hold=6]="Hold",e[e.Withdrawn=7]="Withdrawn",e[e.Canceled=8]="Canceled",e[e.Expired=9]="Expired",e[e.Unknown=10]="Unknown",e[e.ComingSoon=11]="ComingSoon",e[e.Deleted=12]="Deleted",e})(Hl||{});var ge$1=(function(e){return e[e.NotAssigned=0]="NotAssigned",e[e.OffMarket=1]="OffMarket",e[e.ForSale=2]="ForSale",e[e.OffMarketDistressed=3]="OffMarketDistressed",e[e.ForSaleDistressed=4]="ForSaleDistressed",e[e.ForLease=5]="ForLease",e[e.SalePendingAndLease=6]="SalePendingAndLease",e[e.RecentlySold=7]="RecentlySold",e[e.SalePending=9]="SalePending",e[e.Expired=10]="Expired",e[e.SalePendingDistressed=11]="SalePendingDistressed",e[e.ForSaleAndLease=12]="ForSaleAndLease",e[e.RecentlyLeased=13]="RecentlyLeased",e[e.Canceled=14]="Canceled",e[e.Withdrawn=15]="Withdrawn",e[e.Sold=16]="Sold",e[e.ForSaleDistressedAndLease
921=17]="ForSaleDistressedAndLease",e[e.SalePendingDistressedAndLease=18]="SalePendingDistressedAndLease",e[e.ForLeaseDistressed=19]="ForLeaseDistressed",e[e.RecentlySoldDistressed=20]="RecentlySoldDistressed",e[e.UnderContract=21]="UnderContract",e[e.NewForSale=22]="NewForSale",e[e.NewForSaleDistressed=23]="NewForSaleDistressed",e[e.NewForLease=24]="NewForLease",e[e.NewForSaleAndLease=25]="NewForSaleAndLease",e[e.NewForSaleDistressedAndLease=26]="NewForSaleDistressedAndLease",e[e.Unknown=-1]="Unknown",e})(ge$1||{});var rt$3=(function(e){return e[e.BlueCircle=1]="BlueCircle",e[e.BlueCircleNew=2]="BlueCircleNew",e[e.BlueCircleOpen=3]="BlueCircleOpen",e[e.BlueCircleComingSoon=4]="BlueCircleComingSoon",e[e.RedCircle=5]="RedCircle",e[e.RedCircleNew=6]="RedCircleNew",e[e.RedCircleOpen=7]="RedCircleOpen",e[e.RedCircleComingSoon=8]="RedCircleComingSoon",e[e.YellowCircle=9]="YellowCircle",e[e.YellowCircleNew=10]="YellowCircleNew",e[e.YellowCircleOpen=11]="YellowCircleOpen",e[e.YellowCircleComingSoon=12]="YellowCircleComingSoon",e[e.BlueAndYellowCircle=13]="BlueAndYellowCircle",e[e.BlueAndYellowCircleNew=14]="BlueAndYellowCircleNew",e[e.BlueAndYellowCircleOpen=15]="BlueAndYellowCircleOpen",e[e.BlackCircleWithBlueInnerCircle=16]="BlackCircleWithBlueInnerCircle",e[e.BlackCircleWithRedInnerCircle=17]="BlackCircleWithRedInnerCircle",e[e.BlackCircleWithYellowInnerCircle=18]="BlackCircleWithYellowInnerCircle",e[e.BlackCircleWithBlueAndYellowInnerCircle=19]="BlackCircleWithBlueAndYellowInnerCircle",e[e.BlueSquare=20]="BlueSquare",e[e.RedSquare=21]="RedSquare",e[e.YellowSquare=22]="YellowSquare",e[e.GraySquare=23]="GraySquare",e})(rt$3||{});var es=(function(e){return e[e.LevelUpTo6000PerDay=1]="LevelUpTo6000PerDay",e[e.Level6001To15000PerDay=2]="Level6001To15000PerDay",e[e.Level15001To30000PerDay=3]="Level15001To30000PerDay",e[e.Level30001To50000PerDay=4]="Level30001To50000PerDay",e[e.Level50001To100000PerDay=5]="Level50001To100000PerDay",e[e.LevelOver100000PerDay=6]="LevelOver100000PerDay",e})(es||{});var dt$2=(function(e){return e[e.ActiveForSale=1]="ActiveForSale",e[e.ActiveForLease=2]="ActiveForLease",e[e.Closed=3]="Closed",e[e.OffMarket=4]="OffMarket",e[e.Pending=5]="Pending",e[e.ActiveUnderContract=6]="ActiveUnderContract",e})(dt$2||{});function pJ(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return true;return false}var rF=pJ;var hJ=1,mJ=2;function gJ(e,t,n,r,i,o){var s=n&hJ,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return false;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=true,g=n&mJ?new Ty:void 0;for(o.set(e,t),o.set(t,e);++f<a;){var v=e[f],C=t[f];if(r)var S=s?r(C,v,f,t,e,o):r(v,C,f,e,t,o);if(S!==void 0){if(S)continue;p=false;break}if(g){if(!rF(t,function(M,L){if(!My(g,L)&&(v===M||i(v,M,n,r,o)))return g.push(L)})){p=false;break}}else if(!(v===C||i(v,C,n,r,o))){p=false;break}}return o.delete(e),o.delete(t),p}var Ry=gJ;function yJ(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r];}),n}var iF=yJ;var vJ=1,_J=2,bJ="[object Boolean]",DJ="[object Date]",wJ="[object Error]",CJ="[object Map]",SJ="[object Number]",IJ="[object RegExp]",EJ="[object Set]",TJ="[object String]",xJ="[object Symbol]",MJ="[object ArrayBuffer]",RJ="[object DataView]",oF=Rn$1?Rn$1.prototype:void 0,oE=oF?oF.valueOf:void 0;function AJ(e,t,n,r,i,o,s){switch(n){case RJ:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return false;e=e.buffer,t=t.buffer;case MJ:return !(e.byteLength!=t.byteLength||!o(new il(e),new il(t)));case bJ:case DJ:case SJ:return Er$1(+e,+t);case wJ:return e.name==t.name&&e.message==t.message;case IJ:case TJ:return e==t+"";case CJ:var a=iF;case EJ:var c=r&vJ;if(a||(a=jl),e.size!=t.size&&!c)return false;var u=s.get(e);if(u)return u==t;r|=_J,s.set(e,t);var d=Ry(a(e),a(t),r,i,o,s);return s.delete(e),d;case xJ:if(oE)return oE.call(e)==oE.call(t)}return false}var sF=AJ;function NJ(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Ay=NJ;function kJ(e,t,n){var r=t(e);return tt$1(e)?r:Ay(r,n(e))}var aF=kJ;function OJ(e,t){for(var n=-1,r=e==null?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s);}return o}var cF=OJ;function PJ(){return []}var lF=PJ;var LJ=Object.prototype,FJ=LJ.propertyIsEnumerable,uF=Object.getOwnPropertySymbols,BJ=uF?function(e){return e==null?[]:(e=Object(e),cF(uF(e),function(t){return FJ.call(e,t)}))}:lF,dF=BJ;var UJ=rg(Object.keys,Object),fF=UJ;var VJ=Object.prototype,jJ=VJ.hasOwnProperty;function HJ(e){if(!ol(e))return fF(e);var t=[];for(var n in Object(e))jJ.call(e,n)&&n!="constructor"&&t.push(n);return t}var pF=HJ;function $J(e){return Hn$1(e)?og(e):pF(e)}var ts=$J;function zJ(e){return aF(e,ts,dF)}var sE=zJ;var qJ=1,WJ=Object.prototype,YJ=WJ.hasOwnProperty;function GJ(e,t,n,r,i,o){var s=n&qJ,a=sE(e),c=a.length,u=sE(t),d=u.length;if(c!=d&&!s)return false;for(var f=c;f--;){var p=a[f];if(!(s?p in t:YJ.call(t,p)))return false}var g=o.get(e),v=o.get(t);if(g&&v)return g==t&&v==e;var C=true;o.set(e,t),o.set(t,e);for(var S=s;++f<c;){p=a[f];var M=e[p],L=t[p];if(r)var $=s?r(L,M,p,t,e,o):r(M,L,p,e,t,o);if(!($===void 0?M===L||i(M,L,n,r,o):$)){C=false;break}S||(S=p=="constructor");}if(C&&!S){var Me=e.constructor,Ye=t.constructor;Me!=Ye&&"constructor"in e&&"constructor"in t&&!(typeof Me=="function"&&Me instanceof Me&&typeof Ye=="function"&&Ye instanceof Ye)&&(C=false);}return o.delete(e),o.delete(t),C}var hF=GJ;var ZJ=jn($t$1,"DataView"),Ny=ZJ;var JJ=jn($t$1,"Promise"),ky=JJ;var QJ=jn($t$1,"WeakMap"),Oy=QJ;var mF="[object Map]",XJ="[object Object]",gF="[object Promise]",yF="[object Set]",vF="[object WeakMap]",_F="[object DataView]",KJ=no(Ny),e7=no(Lo),t7=no(ky),n7=no(Ko),r7=no(Oy),Ta=Xn;(Ny&&Ta(new Ny(new ArrayBuffer(1)))!=_F||Lo&&Ta(new Lo)!=mF||ky&&Ta(ky.resolve())!=gF||Ko&&Ta(new Ko)!=yF||Oy&&Ta(new Oy)!=vF)&&(Ta=function(e){var t=Xn(e),n=t==XJ?e.constructor:void 0,r=n?no(n):"";if(r)switch(r){case KJ:return _F;case e7:return mF;case t7:return gF;case n7:return yF;case r7:return vF}return t});var aE=Ta;var i7=1,bF="[object Arguments]",DF="[object Array]",Py="[object Object]",o7=Object.prototype,wF=o7.hasOwnProperty;
921function s7(e,t,n,r,i,o){var s=tt$1(e),a=tt$1(t),c=s?DF:aE(e),u=a?DF:aE(t);c=c==bF?Py:c,u=u==bF?Py:u;var d=c==Py,f=u==Py,p=c==u;if(p&&aa(e)){if(!aa(t))return false;s=true,d=false;}if(p&&!d)return o||(o=new Bo),s||al(e)?Ry(e,t,n,r,i,o):sF(e,t,c,n,r,i,o);if(!(n&i7)){var g=d&&wF.call(e,"__wrapped__"),v=f&&wF.call(t,"__wrapped__");if(g||v){var C=g?e.value():e,S=v?t.value():t;return o||(o=new Bo),i(C,S,n,r,o)}}return p?(o||(o=new Bo),hF(e,t,n,r,i,o)):false}var CF=s7;function SF(e,t,n,r,i){return e===t?true:e==null||t==null||!An$1(e)&&!An$1(t)?e!==e&&t!==t:CF(e,t,n,r,SF,i)}var Ly=SF;var a7=1,c7=2;function l7(e,t,n,r){var i=n.length,o=i,s=!r;if(e==null)return !o;for(e=Object(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return false}for(;++i<o;){a=n[i];var c=a[0],u=e[c],d=a[1];if(s&&a[2]){if(u===void 0&&!(c in e))return false}else {var f=new Bo;if(r)var p=r(u,d,c,e,t,f);if(!(p===void 0?Ly(d,u,a7|c7,r,f):p))return false}}return true}var IF=l7;function u7(e){return e===e&&!Zt$1(e)}var Fy=u7;function d7(e){for(var t=ts(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Fy(i)];}return t}var EF=d7;function f7(e,t){return function(n){return n==null?false:n[e]===t&&(t!==void 0||e in Object(n))}}var By=f7;function p7(e){var t=EF(e);return t.length==1&&t[0][2]?By(t[0][0],t[0][1]):function(n){return n===e||IF(n,e,t)}}var TF=p7;var h7="[object Symbol]";function m7(e){return typeof e=="symbol"||An$1(e)&&Xn(e)==h7}var ns=m7;var g7=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y7=/^\w*$/;function v7(e,t){if(tt$1(e))return false;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ns(e)?true:y7.test(e)||!g7.test(e)||t!=null&&e in Object(t)}var $l=v7;var _7="Expected a function";function cE(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(_7);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(cE.Cache||sa),n}cE.Cache=sa;var xF=cE;var b7=500;function D7(e){var t=xF(e,function(r){return n.size===b7&&n.clear(),r}),n=t.cache;return t}var MF=D7;var w7=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,C7=/\\(\\)?/g,S7=MF(function(e){var t=[];
921return e.charCodeAt(0)===46&&t.push(""),e.replace(w7,function(n,r,i,o){t.push(i?o.replace(C7,"$1"):r||n);}),t}),RF=S7;function I7(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Uy=I7;var AF=Rn$1?Rn$1.prototype:void 0,NF=AF?AF.toString:void 0;function kF(e){if(typeof e=="string")return e;if(tt$1(e))return Uy(e,kF)+"";if(ns(e))return NF?NF.call(e):"";var t=e+"";return t=="0"&&1/e==-Infinity?"-0":t}var OF=kF;function T7(e){return e==null?"":OF(e)}var PF=T7;function x7(e,t){return tt$1(e)?e:$l(e,t)?[e]:RF(PF(e))}var Vy=x7;function R7(e){if(typeof e=="string"||ns(e))return e;var t=e+"";return t=="0"&&1/e==-Infinity?"-0":t}var rs=R7;function A7(e,t){t=Vy(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[rs(t[n++])];return n&&n==r?e:void 0}var jy=A7;function N7(e,t,n){var r=e==null?void 0:jy(e,t);return r===void 0?n:r}var LF=N7;function k7(e,t){return e!=null&&t in Object(e)}var FF=k7;function O7(e,t,n){t=Vy(t,e);for(var r=-1,i=t.length,o=false;++r<i;){var s=rs(t[r]);if(!(o=e!=null&&n(e,s)))break;e=e[s];}return o||++r!=i?o:(i=e==null?0:e.length,!!i&&sl(i)&&cl(s,i)&&(tt$1(e)||io(e)))}var BF=O7;function P7(e,t){return e!=null&&BF(e,t,FF)}var UF=P7;var L7=1,F7=2;function B7(e,t){return $l(e)&&Fy(t)?By(rs(e),t):function(n){var r=LF(n,e);return r===void 0&&r===t?UF(n,e):Ly(t,r,L7|F7)}}var VF=B7;function U7(e){return function(t){return t?.[e]}}var jF=U7;function V7(e){return function(t){return jy(t,e)}}var HF=V7;function j7(e){return $l(e)?jF(rs(e)):HF(e)}var $F=j7;function H7(e){return typeof e=="function"?e:e==null?ul:typeof e=="object"?tt$1(e)?VF(e[0],e[1]):TF(e):$F(e)}var zl=H7;function $7(e){return function(t,n,r){var i=Object(t);if(!Hn$1(t)){var o=zl(n);t=ts(t),n=function(a){return o(i[a],a,i)};}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:void 0}}var zF=$7;var z7=/\s/;function q7(e){for(var t=e.length;t--&&z7.test(e.charAt(t)););return t}var qF=q7;var W7=/^\s+/;function Y7(e){return e&&e.slice(0,qF(e)+1).replace(W7,"")}var WF=Y7;var YF=NaN,G7=/^[-+]0x[0-9a-f]+$/i,Z7=/^0b[01]+$/i,J7=/^0o[0-7]+$/i,Q7=parseInt;function X7(e){if(typeof e=="number")return e;if(ns(e))return YF;if(Zt$1(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Zt$1(t)?t+"":t;}if(typeof e!="string")return e===0?e:+e;e=WF(e);var n=Z7.test(e);return n||J7.test(e)?Q7(e.slice(2),n?2:8):G7.test(e)?YF:+e}var GF=X7;var ZF=1/0,K7=17976931348623157e292;function eQ(e){if(!e)return e===0?e:0;if(e=GF(e),e===ZF||e===-ZF){var t=e<0?-1:1;return t*K7}return e===e?e:0}var JF=eQ;function tQ(e){var t=JF(e),n=t%1;return t===t?n?t-n:t:0}var QF=tQ;var nQ=Math.max;function rQ(e,t,n){var r=e==null?0:e.length;if(!r)return -1;var i=n==null?0:QF(n);return i<0&&(i=nQ(r+i,0)),xy(e,zl(t),i)}var Hy=rQ;var iQ=zF(Hy),XF=iQ;function zy(e){return typeof e=="boolean"?!!e:typeof e=="number"?e===1:["true","1","on","yes","y"].includes((e||"").toString().toLowerCase())}function Sf(e){return Array.isArray(e)?e.map(t=>Sf(t)):e instanceof Date?new Date(e.getTime()):e&&typeof e=="object"?Object.getOwnPropertyNames(e).reduce((t,n)=>(t[n]=Sf(e[n]),t),Object.create(Object.getPrototypeOf(e))):e}function BAe(e,t){return Object.assign(e,Sf(t))}function $y(e,t,n=null){let i=e[t],o=typeof i=="string"?$y(e,i,n):i;return typeof o>"u"&&t&&(t=t.toString().toLowerCase(),Object.keys(e).every(s=>s.toLowerCase()===t?(o=$y(e,s,n),false):true)),typeof o<"u"?o:n}var KF=0;function UAe(){return ++KF,KF}function e1(e){return +e?$n$1(+e/43560,2):e}function VAe(e){return +e?Math.round(+e*43560):e}function t1(e){return +e?$n$1(+e/27878400,2):e}function jAe(e){return +e?e*5280:e}function If(e){return !e||typeof e!="string"?e:e.replace(/^NoOf/,"# of").replace(/^Distanceto/,"Distance to").replace(/^Numberof/,"Number of").replace(/([a-z])A([A-Z])/g,"$1 a $2").replace(/-/g," ").replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([a-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").replace(/([,;&])(\S)/g,"$1 $2").replace(/(\S)([&])/g,"$1 $2").replace(/\s*YN$/,"").replace(/(\w)(\w*)/g,(t,n,r)=>n.toUpperCase()+r.toLowerCase()).replace(/(Or|And|To|Of|From)\s/g,t=>t.toLowerCase()).replace(/(Mls|Id|Llc|Nrds)/g,t=>t.toUpperCase()).replace(/(Co)\s/g,"$1-")}function HAe(e,t,n,r,i){let o=Math.min(n/e,r/t);if(o>=1)return {width:e,height:t};let s=Math.round(e*o),a=Math.round(t*o);return {width:s,height:a}}function ei(e,t){for(let n in e)if(e[n]===t)return n;return null}function $Ae(...e){return XF(e,t=>typeof t<"u")}function zAe(e){let t=document.querySelector('meta[name="apple-itunes-app"]');if(!t){console.warn("apple-itunes-app meta element not found");return}let n=(t.getAttribute("content")||"").split(",")[0].trim();t.setAttribute("content",n+(e?`, app-argument=${e}`:""));}function qAe(e){return `${e.map(t=>{let n=t?t.trim():"";return /[,#\n]/g.test(n)||n.indexOf('"')>=0||n.startsWith("0")?`"${n.replace(new RegExp('"',"g"),'""')}"`:n}).join(",")}\r 922`}function WAe(e){switch(e?.toLowerCase()){case "image/jpg":case "image/jpeg":return ".jpg";case "image/png":return ".png";case "application/pdf":return ".pdf";default:return ""}}function YAe(e,t){let n=[];if(e?.length)for(let r=0;r<t;++r){let i=Math.ceil(e.length/(t-r)),o=e.slice(0,i);if(o.length&&n.push(o),e=e.slice(i),!e.length)break}return n}function GAe(e){return (e||"").toString().replace(/<[^>]+>/g,"")}function n1(e,t){return (e===null||typeof e!="object")&&Object.is(e,t)}function ZAe(e){return typeof e!="string"?e:e.replace(new RegExp("&","gi"),"&").replace(new RegExp("<","gi"),"<").replace(new RegExp(">","gi"),">").replace(new RegExp('"',"gi"),""").replace(new RegExp("'","gi"),"'")}function JAe(e){switch(e){case rt$3.BlueCircle:case rt$3.BlueCircleNew:case rt$3.BlueCircleOpen:case rt$3.BlueCircleComingSoon:return "For Sale";case rt$3.RedCircle:case rt$3.RedCircleNew:case rt$3.RedCircleOpen:case rt$3.RedCircleComingSoon:return "Distressed For Sale or Lease";case rt$3.YellowCircle:case rt$3.YellowCircleNew:case rt$3.YellowCircleOpen:case rt$3.YellowCircleComingSoon:return "For Lease";case rt$3.BlueAndYellowCircle:case rt$3.BlueAndYellowCircleNew:case rt$3.BlueAndYellowCircleOpen:return "For Sale/Lease";case rt$3.BlackCircleWithBlueInnerCircle:return "For Sale Pending";case rt$3.BlackCircleWithRedInnerCircle:return "Distressed Pending";case rt$3.BlackCircleWithYellowInnerCircle:return "For Lease Pending";case rt$3.BlackCircleWithBlueAndYellowInnerCircle:return "For Sale/Lease Pending";case rt$3.BlueSquare:return "Recently Closed";case rt$3.RedSquare:return "Distressed";case rt$3.YellowSquare:return "Recently Leased";case rt$3.GraySquare:return "Closed, Hold, Withdrawn, Expired, or Canceled";default:return If(ei(rt$3,e))}}function QAe(e){switch(e){case ge$1.ForSale:case ge$1.ForSaleDistressed:case ge$1.NewForSale:case ge$1.NewForSaleDistressed:case ge$1.ForSaleAndLease:case ge$1.ForSaleDistressedAndLease:case ge$1.NewForSaleAndLease:case ge$1.NewForSaleDistressedAndLease:return dt$2.ActiveForSale;case ge$1.ForLease:case ge$1.ForLeaseDistressed:case ge$1.NewForLease:return dt$2.ActiveForLease;case ge$1.SalePendingAndLease:case ge$1.SalePending:case ge$1.SalePendingDistressed:case ge$1.SalePendingDistressedAndLease:return dt$2.Pending;
922case ge$1.RecentlySold:case ge$1.RecentlyLeased:case ge$1.Sold:case ge$1.RecentlySoldDistressed:return dt$2.Closed;case ge$1.OffMarket:case ge$1.OffMarketDistressed:case ge$1.Expired:case ge$1.Canceled:case ge$1.Withdrawn:return dt$2.OffMarket;case ge$1.UnderContract:return dt$2.ActiveUnderContract;default:return null}}function XAe(e){switch(e){case Hl.Active:return dt$2.ActiveForSale;case Hl.ActiveUnderContract:return dt$2.ActiveUnderContract;case Hl.Pending:return dt$2.Pending;case Hl.Closed:return dt$2.Closed;default:return dt$2.OffMarket}}function KAe(e){switch(e){case dt$2.ActiveForSale:return "Active For Sale";case dt$2.ActiveForLease:return "Active For Lease";case dt$2.ActiveUnderContract:return "Active Under Contract";case dt$2.Pending:return "Pending";case dt$2.Closed:return "Closed";case dt$2.OffMarket:return "Off Market, Hold, Withdrawn, Expired, or Canceled";default:return If(ei(rt$3,e))}}function eNe(e){e=nF(e);let t=[dt$2.ActiveForSale,dt$2.ActiveForLease,dt$2.ActiveUnderContract,dt$2.Pending,dt$2.Closed,dt$2.OffMarket];return e?.sort((n,r)=>t.indexOf(n)-t.indexOf(r)),e}function tNe(e,t){switch(e){case es.LevelUpTo6000PerDay:return t?"#fbbd04":"#ffc92f";case es.Level6001To15000PerDay:return t?"#eb721b":"#e88024";case es.Level15001To30000PerDay:return "#de4329";case es.Level30001To50000PerDay:return t?"#6b3cf5":"#b39df2";case es.Level50001To100000PerDay:return t?"#199eff":"#3885ca";case es.LevelOver100000PerDay:return t?"#004c84":"#1a6192";default:return ""}}function nNe(e){return (!e||!E$4.config.rollupPropertyTypeLookups.find(n=>n.value===e))&&(e=ir$1.SingleFamilyAndCondoTownhouseAptResidential),E$4.config.rollupPropertyTypeLookups.find(n=>n.value===e)}function rNe(e){e.startLazyLoadAll().finally(()=>setTimeout(()=>window.print(),500));}function iNe(e,t,n){_u(e,"scroll").pipe(fb(100,void 0,{leading:true,trailing:true}),Ke$3(r=>t()),ft$2(n)).subscribe();}function oNe(){Ht$1.focusAfterDelay(null,".location-input");}function sNe(e,t){let n=URL.createObjectURL(e),r=document.createElement("a");r.href=n,r.download=t,r.click(),URL.revokeObjectURL(n);}var qy=6048e5,r1=864e5,xa=6e4,Ma=36e5,i1=1e3;var lNe=43200,uNe=1440;var lE=Symbol.for("constructDateFrom");function we$2(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&lE in e?e[lE](t):e instanceof Date?new e.constructor(t):new Date(t)}function X$5(e,t){return we$2(t||e,e)}function ql(e,t,n){let r=X$5(e,n?.in);return isNaN(t)?we$2(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function s1(e,t,n){let r=X$5(e,n?.in);if(isNaN(t))return we$2(e,NaN);if(!t)return r;let i=r.getDate(),o=we$2(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);let s=o.getDate();return i>=s?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function is(e,t,n){let{years:r=0,months:i=0,weeks:o=0,days:s=0,hours:a=0,minutes:c=0,seconds:u=0}=t,d=X$5(e,n?.in),f=i||r?s1(d,i+r*12):d,p=s||o?ql(f,s+o*7):f,g=c+a*60,C=(u+g*60)*1e3;return we$2(e,+p+C)}var lQ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},a1=(e,t,n)=>{let r,i=lQ[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Wy(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var uQ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},dQ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},fQ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c1={date:Wy({formats:uQ,defaultWidth:"full"}),time:Wy({formats:dQ,defaultWidth:"full"}),dateTime:Wy({formats:fQ,defaultWidth:"full"})};var pQ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},l1=(e,t,n,r)=>pQ[e];function Wl(e){return (t,n)=>{let r=n?.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):s;i=e.formattingValues[a]||e.formattingValues[s];}else {let s=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;i=e.values[a]||e.values[s];}let o=e.argumentCallback?e.argumentCallback(t):t;return i[o]}}var hQ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},mQ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},gQ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},yQ={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
922ay","Saturday"]},vQ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_Q={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},bQ=(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},u1={ordinalNumber:bQ,era:Wl({values:hQ,defaultWidth:"wide"}),quarter:Wl({values:mQ,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Wl({values:gQ,defaultWidth:"wide"}),day:Wl({values:yQ,defaultWidth:"wide"}),dayPeriod:Wl({values:vQ,defaultWidth:"wide",formattingValues:_Q,defaultFormattingWidth:"wide"})};function Yl(e){return (t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let s=o[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(a)?wQ(a,f=>f.test(s)):DQ(a,f=>f.test(s)),u;u=e.valueCallback?e.valueCallback(c):c,u=n.valueCallback?n.valueCallback(u):u;let d=t.slice(s.length);return {value:u,rest:d}}}function DQ(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function wQ(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function d1(e){return (t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],o=t.match(e.parsePattern);if(!o)return null;let s=e.valueCallback?e.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;let a=t.slice(i.length);return {value:s,rest:a}}}var CQ=/^(\d+)(th|st|nd|rd)?/i,SQ=/\d+/i,IQ={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},EQ={any:[/^b/i,/^(a|c)/i]},TQ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},xQ={any:[/1/i,/2/i,/3/i,/4/i]},MQ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},RQ={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},AQ={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},NQ={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kQ={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},OQ={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},f1={ordinalNumber:d1({matchPattern:CQ,parsePattern:SQ,valueCallback:e=>parseInt(e,10)}),era:Yl({matchPatterns:IQ,defaultMatchWidth:"wide",parsePatterns:EQ,defaultParseWidth:"any"}),quarter:Yl({matchPatterns:TQ,defaultMatchWidth:"wide",parsePatterns:xQ,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Yl({matchPatterns:MQ,defaultMatchWidth:"wide",parsePatterns:RQ,defaultParseWidth:"any"}),day:Yl({matchPatterns:AQ,defaultMatchWidth:"wide",parsePatterns:NQ,defaultParseWidth:"any"}),dayPeriod:Yl({matchPatterns:kQ,defaultMatchWidth:"any",parsePatterns:OQ,defaultParseWidth:"any"})};var Ra={code:"en-US",formatDistance:a1,formatLong:c1,formatRelative:l1,localize:u1,match:f1,options:{weekStartsOn:0,firstWeekContainsDate:1}};var PQ={};function qn(){return PQ}function Aa(e){let t=X$5(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function mn$1(e,...t){let n=we$2.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function Gl(e,t){let n=X$5(e,t?.in);return n.setHours(0,0,0,0),n}function Zl(e,t,n){let[r,i]=mn$1(n?.in,e,t),o=Gl(r),s=Gl(i),a=+o-Aa(o),c=+s-Aa(s);return Math.round((a-c)/r1)}function p1(e,t){let n=X$5(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function h1(e,t){let n=X$5(e,t?.in);return Zl(n,p1(n))+1}function Wn$1(e,t){let n=qn(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=X$5(e,t?.in),o=i.getDay(),s=(o<r?7:0)+o-r;return i.setDate(i.getDate()-s),i.setHours(0,0,0,0),i}function ti(e,t){return Wn$1(e,s$6(r$2({},t),{weekStartsOn:1}
vendor: 7,601 bytes, line 922
922))}function Yy(e,t){let n=X$5(e,t?.in),r=n.getFullYear(),i=we$2(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let o=ti(i),s=we$2(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);let a=ti(s);return n.getTime()>=o.getTime()?r+1:n.getTime()>=a.getTime()?r:r-1}function m1(e,t){let n=Yy(e,t),r=we$2(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ti(r)}function Gy(e,t){let n=X$5(e,t?.in),r=+ti(n)-+m1(n);return Math.round(r/qy)+1}function Jl(e,t){let n=X$5(e,t?.in),r=n.getFullYear(),i=qn(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=we$2(t?.in||e,0);s.setFullYear(r+1,0,o),s.setHours(0,0,0,0);let a=Wn$1(s,t),c=we$2(t?.in||e,0);c.setFullYear(r,0,o),c.setHours(0,0,0,0);let u=Wn$1(c,t);return +n>=+a?r+1:+n>=+u?r:r-1}function g1(e,t){let n=qn(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=Jl(e,t),o=we$2(t?.in||e,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),Wn$1(o,t)}function Zy(e,t){let n=X$5(e,t?.in),r=+Wn$1(n,t)-+g1(n,t);return Math.round(r/qy)+1}function We(e,t){let n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}var fo={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return We(t==="yy"?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):We(n+1,2)},d(e,t){return We(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return n.toUpperCase();case "aaa":return n;case "aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return We(e.getHours()%12||12,t.length)},H(e,t){return We(e.getHours(),t.length)},m(e,t){return We(e.getMinutes(),t.length)},s(e,t){return We(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return We(i,t.length)}};var Ql={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},uE={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case "G":case "GG":case "GGG":return n.era(r,{width:"abbreviated"});case "GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return fo.y(e,t)},Y:function(e,t,n,r){let i=Jl(e,r),o=i>0?i:1-i;if(t==="YY"){let s=o%100;return We(s,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):We(o,t.length)},R:function(e,t){let n=Yy(e);return We(n,t.length)},u:function(e,t){let n=e.getFullYear();return We(n,t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case "Q":return String(r);case "QQ":return We(r,2);case "Qo":return n.ordinalNumber(r,{unit:"quarter"});case "QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case "QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case "q":return String(r);case "qq":return We(r,2);case "qo":return n.ordinalNumber(r,{unit:"quarter"});case "qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case "qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case "M":case "MM":return fo.M(e,t);case "Mo":return n.ordinalNumber(r+1,{unit:"month"});case "MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case "MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case "L":return String(r+1);case "LL":return We(r+1,2);case "Lo":return n.ordinalNumber(r+1,{unit:"month"});case "LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case "LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let i=Zy(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):We(i,t.length)},I:function(e,t,n){let r=Gy(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):We(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):fo.d(e,t)},D:function(e,t,n){let r=h1(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):We(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case "E":case "EE":case "EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case "EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case "EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case "e":return String(o);case "ee":return We(o,2);case "eo":return n.ordinalNumber(o,{unit:"day"});case "eee":return n.day(i,{width:"abbreviated",context:"formatting"});case "eeeee":return n.day(i,{width:"narrow",context:"formatting"});case "eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case "c":return String(o);case "cc":return We(o,t.length);case "co":return n.ordinalNumber(o,{unit:"day"});case "ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case "ccccc":return n.day(i,{width:"narrow",context:"standalone"});case "cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case "i":return String(i);case "ii":return We(i,t.length);case "io":return n.ordinalNumber(i,{unit:"day"});case "iii":return n.day(r,{width:"abbreviated",context:"formatting"});case "iiiii":return n.day(r,{width:"narrow",context:"formatting"});case "iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case "a":case "aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case "aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case "aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r=e.getHours(),i;switch(r===12?i=Ql.noon:r===0?i=Ql.midnight:i=r/12>=1?"pm":"am",t){case "b":case "bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case "bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case "bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r=e.getHours(),i;switch(r>=17?i=Ql.evening:r>=12?i=Ql.afternoon:r>=4?i=Ql.morning:i=Ql.night,t){case "B":case "BB":case "BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case "BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return fo.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):fo.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):We(r,t.length)},k:function(e,t,n){let r=e.getHours();
922return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):We(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):fo.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):fo.s(e,t)},S:function(e,t){return fo.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return "Z";switch(t){case "X":return v1(r);case "XXXX":case "XX":return Na(r);default:return Na(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case "x":return v1(r);case "xxxx":case "xx":return Na(r);default:return Na(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case "O":case "OO":case "OOO":return "GMT"+y1(r,":");default:return "GMT"+Na(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case "z":case "zz":case "zzz":return "GMT"+y1(r,":");default:return "GMT"+Na(r,":")}},t:function(e,t,n){let r=Math.trunc(+e/1e3);return We(r,t.length)},T:function(e,t,n){return We(+e,t.length)}};function y1(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+t+We(o,2)}function v1(e,t){return e%60===0?(e>0?"-":"+")+We(Math.abs(e)/60,2):Na(e,t)}function Na(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),i=We(Math.trunc(r/60),2),o=We(r%60,2);return n+i+t+o}var _1=(e,t)=>{switch(e){case "P":return t.date({width:"short"});case "PP":return t.date({width:"medium"});case "PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},b1=(e,t)=>{switch(e){case "p":return t.time({width:"short"});case "pp":return t.time({width:"medium"});case "ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},LQ=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return _1(e,t);let o;switch(r){case "P":o=t.dateTime({width:"short"});break;case "PP":o=t.dateTime({width:"medium"});break;case "PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",_1(r,t)).replace("{{time}}",b1(i,t))},Ef={p:b1,P:LQ};var FQ=/^D+$/,BQ=/^Y+$/,UQ=["D","DD","YY","YYYY"];function Jy(e){return FQ.test(e)}function Qy(e){return BQ.test(e)}function Tf(e,t,n){let r=VQ(e,t,n);if(console.warn(r),UQ.includes(e))throw new RangeError(r)}function VQ(e,t,n){let r=e[0]==="Y"?"years":"days of the month";return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Xy(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Xl(e){return !(!Xy(e)&&typeof e!="number"||isNaN(+X$5(e)))}var jQ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HQ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$Q=/^'([^]*?)'?$/,zQ=/''/g,qQ=/[a-zA-Z]/;function D1(e,t,n){let r=qn(),i=r.locale??Ra,o=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=X$5(e,n?.in);if(!Xl(a))throw new RangeError("Invalid time value");let c=t.match(HQ).map(d=>{let f=d[0];if(f==="p"||f==="P"){let p=Ef[f];return p(d,i.formatLong)}return d}).join("").match(jQ).map(d=>{if(d==="''")return {isToken:false,value:"'"};let f=d[0];if(f==="'")return {isToken:false,value:WQ(d)};if(uE[f])return {isToken:true,value:d};if(f.match(qQ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return {isToken:false,value:d}});i.localize.preprocessor&&(c=i.localize.preprocessor(a,c));let u={firstWeekContainsDate:o,weekStartsOn:s,locale:i};return c.map(d=>{if(!d.isToken)return d.value;let f=d.value;(Qy(f)||Jy(f))&&Tf(f,t,String(e));let p=uE[f[0]];return p(a,f,i.localize,u)}).join("")}function WQ(e){let t=e.match($Q);return t?t[1].replace(zQ,"'"):e}function Ky(e,t,n){let[r,i]=mn$1(n?.in,e,t),o=w1(r,i),s=Math.abs(Zl(r,i));r.setDate(r.getDate()-o*s);let a=+(w1(r,i)===-o),c=o*(s-a);return c===0?0:c}function w1(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function C1(){return Object.assign({},qn())}function S1(e,t){let n=YQ(t)?new t(0):we$2(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function YQ(e){return typeof e=="function"&&e.prototype?.constructor===e}var GQ=10,ev=class{subPriority=0;validate(t,n){return true}},tv=class extends ev{constructor(t,n,r,i,o){super(),this.value=t,this.validateValue=n,this.setValue=r,this.priority=i,o&&(this.subPriority=o);}
vendor: 10,253 bytes, line 922
922validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,r){return this.setValue(t,n,this.value,r)}},nv=class extends ev{priority=GQ;subPriority=-1;constructor(t,n){super(),this.context=t||(r=>we$2(n,r));}set(t,n){return n.timestampIsSet?t:we$2(t,S1(t,this.context))}};var Y$5=class Y{run(t,n,r,i){let o=this.parse(t,n,r,i);return o?{setter:new tv(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,n,r){return true}};var rv=class extends Y$5{priority=140;parse(t,n,r){switch(n){case "G":case "GG":case "GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case "GGGGG":return r.era(t,{width:"narrow"});default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]};var Le$2={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ar$1={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Xe$2(e,t){return e&&{value:t(e.value),rest:e.rest}}function Oe$2(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Nr$1(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return {value:0,rest:t.slice(1)};let r=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return {value:r*(i*Ma+o*xa+s*i1),rest:t.slice(n[0].length)}}function iv(e){return Oe$2(Le$2.anyDigitsSigned,e)}function be$1(e,t){switch(e){case 1:return Oe$2(Le$2.singleDigit,t);case 2:return Oe$2(Le$2.twoDigits,t);case 3:return Oe$2(Le$2.threeDigits,t);case 4:return Oe$2(Le$2.fourDigits,t);default:return Oe$2(new RegExp("^\\d{1,"+e+"}"),t)}}function Kl(e,t){switch(e){case 1:return Oe$2(Le$2.singleDigitSigned,t);case 2:return Oe$2(Le$2.twoDigitsSigned,t);case 3:return Oe$2(Le$2.threeDigitsSigned,t);case 4:return Oe$2(Le$2.fourDigitsSigned,t);default:return Oe$2(new RegExp("^-?\\d{1,"+e+"}"),t)}}function eu(e){switch(e){case "morning":return 4;case "evening":return 17;case "pm":case "noon":case "afternoon":return 12;default:return 0}}function ov(e,t){let n=t>0,r=n?t:1-t,i;if(r<=50)i=e||100;else {let o=r+50,s=Math.trunc(o/100)*100,a=e>=o%100;i=e+s-(a?100:0);}return n?i:1-i}function sv(e){return e%400===0||e%4===0&&e%100!==0}var av=class extends Y$5{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,n,r){let i=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case "y":return Xe$2(be$1(4,t),i);case "yo":return Xe$2(r.ordinalNumber(t,{unit:"year"}),i);default:return Xe$2(be$1(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){let i=t.getFullYear();if(r.isTwoDigitYear){let s=ov(r.year,i);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let o=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}};var cv=class extends Y$5{priority=130;parse(t,n,r){let i=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case "Y":return Xe$2(be$1(4,t),i);case "Yo":return Xe$2(r.ordinalNumber(t,{unit:"year"}),i);default:return Xe$2(be$1(n.length,t),i)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,i){let o=Jl(t,i);if(r.isTwoDigitYear){let a=ov(r.year,o);return t.setFullYear(a,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Wn$1(t,i)}let s=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(s,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Wn$1(t,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]};var lv=class extends Y$5{priority=130;parse(t,n){return n==="R"?Kl(4,t):Kl(n.length,t)}set(t,n,r){let i=we$2(t,0);return i.setFullYear(r,0,4),i.setHours(0,0,0,0),ti(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]};var uv=class extends Y$5{priority=130;parse(t,n){return n==="u"?Kl(4,t):Kl(n.length,t)}set(t,n,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]};var dv=class extends Y$5{priority=120;parse(t,n,r){switch(n){case "Q":case "QQ":return be$1(n.length,t);case "Qo":return r.ordinalNumber(t,{unit:"quarter"});case "QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case "QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]};var fv=class extends Y$5{priority=120;parse(t,n,r){switch(n){case "q":case "qq":return be$1(n.length,t);case "qo":return r.ordinalNumber(t,{unit:"quarter"});case "qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case "qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]};var pv=class extends Y$5{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,n,r){let i=o=>o-1;switch(n){case "M":return Xe$2(Oe$2(Le$2.month,t),i);case "MM":return Xe$2(be$1(2,t),i);case "Mo":return Xe$2(r.ordinalNumber(t,{unit:"month"}),i);case "MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case "MMMMM":return r.month(t,{width:"narrow",context:"formatting"});default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}};var hv=class extends Y$5{priority=110;parse(t,n,r){let i=o=>o-1;switch(n){case "L":return Xe$2(Oe$2(Le$2.month,t),i);case "LL":return Xe$2(be$1(2,t),i);case "Lo":return Xe$2(r.ordinalNumber(t,{unit:"month"}),i);case "LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case "LLLLL":return r.month(t,{width:"narrow",context:"standalone"});default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]};function I1(e,t,n){let r=X$5(e,n?.in),i=Zy(r,n)-t;return r.setDate(r.getDate()-i*7),X$5(r,n?.in)}var mv=class extends Y$5{priority=100;parse(t,n,r){switch(n){case "w":return Oe$2(Le$2.week,t);case "wo":return r.ordinalNumber(t,{unit:"week"});default:return be$1(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,i){return Wn$1(I1(t,r,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]};function E1(e,t,n){let r=X$5(e,n?.in),i=Gy(r,n)-t;return r.setDate(r.getDate()-i*7),r}var gv=class extends Y$5{priority=100;parse(t,n,r){switch(n){case "I":return Oe$2(Le$2.week,t);case "Io":return r.ordinalNumber(t,{unit:"week"});default:return be$1(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return ti(E1(t,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]};var ZQ=[31,28,31,30,31,30,31,31,30,31,30,31],JQ=[31,29,31,30,31,30,31,31,30,31,30,31],yv=class extends Y$5{priority=90;subPriority=1;parse(t,n,r){switch(n){case "d":return Oe$2(Le$2.date,t);case "do":return r.ordinalNumber(t,{unit:"date"});default:return be$1(n.length,t)}}validate(t,n){let r=t.getFullYear(),i=sv(r),o=t.getMonth();return i?n>=1&&n<=JQ[o]:n>=1&&n<=ZQ[o]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]};var vv=class extends Y$5{priority=90;subpriority=1;parse(t,n,r){switch(n){case "D":case "DD":return Oe$2(Le$2.dayOfYear,t);case "Do":return r.ordinalNumber(t,{unit:"date"});default:return be$1(n.length,t)}}validate(t,n){let r=t.getFullYear();return sv(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]};function tu(e,t,n){let r=qn(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=X$5(e,n?.in),s=o.getDay(),c=(t%7+7)%7,u=7-i,d=t<0||t>6?t-(s+u)%7:(c+u)%7-(s+u)%7;return ql(o,d,n)}var _v=class extends Y$5{priority=90;parse(t,n,r){switch(n){case "E":case "EE":case "EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case "EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case "EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=tu(t,r,i),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]};var bv=class extends Y$5{priority=90;parse(t,n,r,i){let o=s=>
922{let a=Math.floor((s-1)/7)*7;return (s+i.weekStartsOn+6)%7+a};switch(n){case "e":case "ee":return Xe$2(be$1(n.length,t),o);case "eo":return Xe$2(r.ordinalNumber(t,{unit:"day"}),o);case "eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case "eeeee":return r.day(t,{width:"narrow",context:"formatting"});case "eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=tu(t,r,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]};var Dv=class extends Y$5{priority=90;parse(t,n,r,i){let o=s=>{let a=Math.floor((s-1)/7)*7;return (s+i.weekStartsOn+6)%7+a};switch(n){case "c":case "cc":return Xe$2(be$1(n.length,t),o);case "co":return Xe$2(r.ordinalNumber(t,{unit:"day"}),o);case "ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case "ccccc":return r.day(t,{width:"narrow",context:"standalone"});case "cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,i){return t=tu(t,r,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]};function T1(e,t){let n=X$5(e,t?.in).getDay();return n===0?7:n}function x1(e,t,n){let r=X$5(e,n?.in),i=T1(r,n),o=t-i;return ql(r,o,n)}var wv=class extends Y$5{priority=90;parse(t,n,r){let i=o=>o===0?7:o;switch(n){case "i":case "ii":return be$1(n.length,t);case "io":return r.ordinalNumber(t,{unit:"day"});case "iii":return Xe$2(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);case "iiiii":return Xe$2(r.day(t,{width:"narrow",context:"formatting"}),i);case "iiiiii":return Xe$2(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i);default:return Xe$2(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=x1(t,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]};var Cv=class extends Y$5{priority=80;parse(t,n,r){switch(n){case "a":case "aa":case "aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case "aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(eu(r),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]};var Sv=class extends Y$5{priority=80;parse(t,n,r){switch(n){case "b":case "bb":case "bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case "bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(eu(r),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]};var Iv=class extends Y$5{priority=80;parse(t,n,r){switch(n){case "B":case "BB":case "BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case "BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(eu(r),0,0,0),t}incompatibleTokens=["a","b","t","T"]};var Ev=class extends Y$5{priority=70;parse(t,n,r){switch(n){case "h":return Oe$2(Le$2.hour12h,t);case "ho":return r.ordinalNumber(t,{unit:"hour"});default:return be$1(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){let i=t.getHours()>=12;return i&&r<12?t.setHours(r+12,0,0,0):!i&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]};var Tv=class extends Y$5{priority=70;parse(t,n,r){switch(n){case "H":return Oe$2(Le$2.hour23h,t);case "Ho":return r.ordinalNumber(t,{unit:"hour"});default:return be$1(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]};var xv=class extends Y$5{priority=70;parse(t,n,r){switch(n){case "K":return Oe$2(Le$2.hour11h,t);case "Ko":return r.ordinalNumber(t,{unit:"hour"});default:return be$1(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]};var Mv=class extends Y$5{priority=70;parse(t,n,r){switch(n){case "k":return Oe$2(Le$2.hour24h,t);case "ko":return r.ordinalNumber(t,{unit:"hour"});default:return be$1(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){let i=r<=24?r%24:r;return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]};var Rv=class extends Y$5{priority=60;parse(t,n,r){switch(n){case "m":return Oe$2(Le$2.minute,t);case "mo":return r.ordinalNumber(t,{unit:"minute"});default:return be$1(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}incompatibleTokens=["t","T"]};var Av=class extends Y$5{priority=50;parse(t,n,r){switch(n){case "s":return Oe$2(Le$2.second,t);case "so":return r.ordinalNumber(t,{unit:"second"});default:return be$1(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}incompatibleTokens=["t","T"]};var Nv=class extends Y$5{priority=30;parse(t,n){let r=i=>Math.trunc(i*Math.pow(10,-n.length+3));return Xe$2(be$1(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}incompatibleTokens=["t","T"]};var kv=class extends Y$5{priority=10;parse(t,n){switch(n){case "X":return Nr$1(Ar$1.basicOptionalMinutes,t);case "XX":return Nr$1(Ar$1.basic,t);case "XXXX":return Nr$1(Ar$1.basicOptionalSeconds,t);case "XXXXX":return Nr$1(Ar$1.extendedOptionalSeconds,t);default:return Nr$1(Ar$1.extended,t)}}set(t,n,r){return n.timestampIsSet?t:we$2(t,t.getTime()-Aa(t)-r)}incompatibleTokens=["t","T","x"]};var Ov=class extends Y$5{priority=10;parse(t,n){switch(n){case "x":return Nr$1(Ar$1.basicOptionalMinutes,t);case "xx":return Nr$1(Ar$1.basic,t);case "xxxx":return Nr$1(Ar$1.basicOptionalSeconds,t);case "xxxxx":return Nr$1(Ar$1.extendedOptionalSeconds,t);default:return Nr$1(Ar$1.extended,t)}}set(t,n,r){return n.timestampIsSet?t:we$2(t,t.getTime()-Aa(t)-r)}incompatibleTokens=["t","T","X"]};var Pv=class extends Y$5{priority=40;parse(t){return iv(t)}set(t,n,r){return [we$2(t,r*1e3),{timestampIsSet:true}]}incompatibleTokens="*"};var Lv=class extends Y$5{priority=20;parse(t){return iv(t)}set(t,n,r){return [we$2(t,r),{timestampIsSet:true}]}incompatibleTokens="*"};var M1={G:new rv,y:new av,Y:new cv,R:new lv,u:new uv,Q:new dv,q:new fv,M:new pv,L:new hv,w:new mv,I:new gv,d:new yv,D:new vv,E:new _v,e:new bv,c:new Dv,i:new wv,a:new Cv,b:new Sv,B:new Iv,h:new Ev,H:new Tv,K:new xv,k:new Mv,m:new Rv,s:new Av,S:new Nv,X:new kv,x:new Ov,t:new Pv,T:new Lv};var QQ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,XQ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,KQ=/^'([^]*?)'?$/,eX=/''/g,tX=/\S/,nX=/[a-zA-Z]/;function R1(e,t,n,r){let i=()=>we$2(n,NaN),o=C1(),s=o.locale??Ra,a=o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,c=o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!t)return e?i():X$5(n,r?.in);let u={firstWeekContainsDate:a,weekStartsOn:c,locale:s},d=[new nv(r?.in,n)],f=t.match(XQ).map(S=>{let M=S[0];if(M in Ef){let L=Ef[M];return L(S,s.formatLong)}return S}).join("").match(QQ),p=[];for(let S of f){Qy(S)&&Tf(S,t,e),Jy(S)&&Tf(S,t,e);let M=S[0],L=M1[M];if(L){let{incompatibleTokens:$}=L;if(Array.isArray($)){let Ye=p.find(A=>$.includes(A.token)||A.token===M);
922if(Ye)throw new RangeError(`The format string mustn't contain \`${Ye.fullToken}\` and \`${S}\` at the same time`)}else if(L.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);p.push({token:M,fullToken:S});let Me=L.run(e,S,s.match,u);if(!Me)return i();d.push(Me.setter),e=Me.rest;}else {if(M.match(nX))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");if(S==="''"?S="'":M==="'"&&(S=rX(S)),e.indexOf(S)===0)e=e.slice(S.length);else return i()}}if(e.length>0&&tX.test(e))return i();let g=d.map(S=>S.priority).sort((S,M)=>M-S).filter((S,M,L)=>L.indexOf(S)===M).map(S=>d.filter(M=>M.priority===S).sort((M,L)=>L.subPriority-M.subPriority)).map(S=>S[0]),v=X$5(n,r?.in);if(isNaN(+v))return i();let C={};for(let S of g){if(!S.validate(v,u))return i();let M=S.set(v,C,u);Array.isArray(M)?(v=M[0],Object.assign(C,M[1])):v=M;}return v}function rX(e){return e.match(KQ)[1].replace(eX,"'")}function A1(e,t){let n=()=>we$2(t?.in,NaN),r=2,i=aX(e),o;if(i.date){let u=cX(i.date,r);o=lX(u.restDateString,u.year);}if(!o||isNaN(+o))return n();let s=+o,a=0,c;if(i.time&&(a=uX(i.time),isNaN(a)))return n();if(i.timezone){if(c=dX(i.timezone),isNaN(c))return n()}else {let u=new Date(s+a),d=X$5(0,t?.in);return d.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),d.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),d}return X$5(s+a+c,t?.in)}var Fv={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},iX=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,oX=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,sX=/^([+-])(\d{2})(?::?(\d{2}))?$/;function aX(e){let t={},n=e.split(Fv.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],Fv.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Fv.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){let i=Fv.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r;}return t}function cX(e,t){let n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return {year:NaN,restDateString:""};let i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return {year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function lX(e,t){if(t===null)return new Date(NaN);let n=e.match(iX);if(!n)return new Date(NaN);let r=!!n[4],i=xf(n[1]),o=xf(n[2])-1,s=xf(n[3]),a=xf(n[4]),c=xf(n[5])-1;if(r)return gX(t,a,c)?fX(t,a,c):new Date(NaN);{let u=new Date(0);return !hX(t,o,s)||!mX(t,i)?new Date(NaN):(u.setUTCFullYear(t,o,Math.max(i,s)),u)}}function xf(e){return e?parseInt(e):1}function uX(e){let t=e.match(oX);if(!t)return NaN;let n=dE(t[1]),r=dE(t[2]),i=dE(t[3]);return yX(n,r,i)?n*Ma+r*xa+i*1e3:NaN}function dE(e){return e&&parseFloat(e.replace(",","."))||0}function dX(e){if(e==="Z")return 0;let t=e.match(sX);if(!t)return 0;let n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return vX(r,i)?n*(r*Ma+i*xa):NaN}function fX(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var pX=[31,null,31,30,31,30,31,31,30,31,30,31];function N1(e){return e%400===0||e%4===0&&e%100!==0}function hX(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(pX[t]||(N1(e)?29:28))}function mX(e,t){return t>=1&&t<=(N1(e)?366:365)}function gX(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function yX(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function vX(e,t){return t>=0&&t<=59}var _X="M/d/yyyy",bX="MM/dd/yyyy";var Bv="0001-01-01T00:00:00",fE=1492;function or(e,t){if(!l$3(e)||e===""||e===0)return null;if(Xy(e))return e;let n=R1(e||"",t||bX,new Date);return Xl(n)||(n=A1(e||"")),!Xl(n)&&typeof e=="string"&&(n=new Date(e)),Xl(n)?n:null}function f1e(e){let t=or(e);return t?t.toISOString():null}function Mf(e,t=null,n){let r=or(e);return r?D1(r,n||_X):t}function DX(e){let t=or(e);return t&&(t=new Date(t.getFullYear(),t.getMonth(),t.getDate())),t?new Date(t.getTime()-t.getTimezoneOffset()*6e4):null}function wX(e){let t=or(e);return t?new Date(t.getTime()-t.getTimezoneOffset()*6e4):null}function p1e(e){let t=DX(e);return t?t.toISOString():null}function h1e(e){let t=wX(e);return t?t.toISOString():null}function k1(e){let t=or(e);return t?new Date(t.getTime()+t.getTimezoneOffset()*6e4):null}function m1e(e,t=null,n){return Mf(k1(e),t,n)}function g1e(e){let t=new Date;
922return t.setMonth(e-1),t.toLocaleString("en-US",{month:"long"})}function CX(e){let t=or(e);return t?Ky(Gl(t),Gl(new Date)):null}function y1e(e){return e||e===0?Mf(is(new Date,{days:e})):null}function v1e(e){let t=k1(e);return t?CX(t)<=0:false}function Uv(e){return typeof e=="number"?String(e):e&&e.replace(/\+/g,"").replace(/\$/g,"").replace(/,/g,"").replace(/%/g,"").trim()}function D1e(e,t=null){let n=Uv(e instanceof Qo?e.value:e);return n?+n:t}function w1e(e){return e.invalid&&e.dirty}function C1e(e){if(!e||e.valid)return false;let t=0,n=0;return Object.keys(e.controls).forEach(r=>{Object.keys(e.controls[r]?.errors||{}).forEach(i=>{i==="isWarning"?++n:++t;});}),n>0&&t===n}function S1e(e){return ["Enter","Shift","Control","Alt","CapsLock","PrintScreen","ScrollLock","Pause","Insert","Home","PageUp","End","PageDown","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","NumLock","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"].includes(e?.key)}function I1e(e,t){if(e.createTextRange){let n=e.createTextRange();n.move("character",t),n.select();return}if(e.selectionStart){e.focus(),e.setSelectionRange(t,t);return}
922e.focus();}var SX=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;var IX=/^(?:(?:https?):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i;var EX=/^(\+?\d{1,3}[-.\s]?)?(((\(?\d{3}\)?[-.\s]?)?\d{3}[-.\s]?\d{4,6})|((\(?\d{3}\)?[-.\s]?)[\da-z]{3}[-.\s]?[\da-z]{4,6})|((\(?\d{3}\)?[-.\s]?)\d{3}[-.\s]?[\da-z]{4,6}))$/i;var TX=/^(http\:\/\/|https\:\/\/)?([a-z0-9][a-z0-9\-]*\.)+[a-z0-9][a-z0-9\-\/\.]*[^\.]$/i,pE=/^(0?[1-9]|1[0-2])\/(0?[1-9]|1\d|2\d|3[01])\/(19|20)\d{2}$/,N1e="Your search query is too short. Please enter at least two characters.";function sr(e){return tt$1(e)?e.length!==0&&e.filter(t=>t===null||e===void 0).length===0:l$3(e)&&e!==""&&e!==Bv}function xX(e){return e==="0"||e===0}var O1=class e{static{this.required=[e.createRequiredValidator()];}static{this.requiredNotZero=[t=>!t.disabled&&(!sr(t.value)||xX(t.value))?{required:true}:null];}static{this.phone=[t=>{let n=t.value;return n?EX.test(n)?null:{badPhone:true,message:"Please enter a valid phone number."}:null}];}static{this.email=[t=>{let n=t.value;return n&&(n.length<=5||!SX.test(n))?{badEmail:true,message:"Please enter a valid email address."}:null}];}static{this.looseUrl=[t=>{let n=t.value;return n?TX.test(n)?null:{badUrl:true,message:"Please enter a valid url."}:null}];}static{this.url=[t=>{let n=t.value;if(tt$1(n)&&(n=n.find(i=>typeof i=="string")),!n)return null;let r=n.toLowerCase();return n.length<=3||!r.startsWith("http://")&&!r.startsWith("https://")?{badUrl:true,message:'Please start your URL with "http://" or "https://".'}:n.indexOf(" ")>=0?{badUrl:true,message:'Spaces in URLs must be encoded as "%20".'}:IX.test(n)?null:{badUrl:true,message:"Please enter a valid URL."}}];}static{this.zip=[t=>{let n=t.value;if(!n)return null;let r,i;if(tt$1(n))r=n[0],i=n[1];else if(n){let o=n.split("-");r=o[0],i=o.length>1?o[1]:null;}return !r&&i?{badZIP:true,message:"Please enter a postal code."}:r.length!==5?{badZIP:true,message:"Please enter a valid postal code."}:i&&i.length!==4?{badZIP:true,message:"Please enter a valid postal +4 code."}:null}];}static{this.password=[Bl.minLength(7),t=>/[a-z]/g.test(t.value)?null:{doesNotHaveLowerCase:true},t=>/[A-Z]/g.test(t.value)?null:{doesNotHaveUpperCase:true},t=>/[0-9]|[!@#$%^&*(),.?":{}|<>]/g.test(t.value)?null:{doesNotHaveNumberOrSpecialCharacter:true}];}static{this.integer=[t=>{let n=t.value;if(!n)return null;let r=parseInt(n,10),i=Number(n);return isNaN(r)||isNaN(i)?{notAnInteger:true,message:"Please enter a valid number."}:i!==r?{notAnInteger:true,message:"Please enter a whole number."}:null}];}static{this.year=[t=>{let n=/^[0-9]{4}$/g,r=t.value;return r?n.test(t.value)?+r<fE?{badYear:true,message:`Anything prior to ${fE} is not supported.`}:null:{badYear:true,message:"Please enter a valid year."}:null}];}static{this.date=[t=>{let n=t.value;return n?pE.test(n)?null:{invalidDateFormat:true,message:"Please enter a valid date"}:null}];}static conditional(t,n){return r=>t()?n(r):null}static{this.requiredTrimmed=t=>!t.disabled&&!sr(t.value?.trim())?{required:true,message:"Required."}:null;}static maxLength(t){return n=>{let r=n.value;return r&&r.length>t?{tooLong:true,message:`Must be at most ${t} characters long; please remove ${r.length-t} more.`}:null}}static regularExpression(t){let n=new RegExp(t,"i");return r=>{let i=r.value;return n.test(i)?null:{regex:true,message:`Please check what you entered, "${i}" does not look quite right.`}}}static maxDate(t){return n=>{let r=n.value;if(!r)return null;let i=Mf(t);return Date.parse(r)>Date.parse(i)?{maxDate:true}:null}}static minDate(t){return n=>{let r=n.value;if(!r)return null;let i=Mf(t);return Date.parse(r)<Date.parse(i)?{minDate:true}:null}}static max(t,n){return r=>(n=n||r.value,n&&n>t?{max:true}:null)}static confirmEqual(t,n=""){return r=>t.value&&r.value&&t.value!==r.value?{notEquals:true,message:n}:null}static{this.minMaxCommaSeparatedValidator=t=>{if(!t.disabled&&sr(t.value)){let n=t.value.split(",").at(0),r=t.value.split(",").at(1);if(n&&r&&+r<+n)return {maxLessThanMin:true,message:"Invalid."}}return null};}static minMaxValidator(t,n){return ()=>(!t.valid&&!n.valid||(Number(Uv(n.value))<Number(Uv(t.value))&&n.value&&t.value?(t.setErrors({maxLessThanMin:true}),n.setErrors({maxLessThanMin:true})):(this.removeError(t,"maxLessThanMin"),this.removeError(n,"maxLessThanMin"))),null)}static dateMinMaxValidator(t,n){return ()=>(!t.valid&&!n.valid||(Date.parse(n.value)<Date.parse(t.value)&&n.value&&t.value&&pE.test(t.value)&&pE.test(n.value)?(t.setErrors({maxLessThanMin:true}),n.setErrors({maxLessThanMin:true})):(this.removeError(t,"maxLessThanMin"),this.removeError(n,"maxLessThanMin"))),null)}static optionalPassword(){return t=>t.value?Bl.compose(e.password)(t):null}static requiredWithMessage(t){return [e.createRequiredValidator(t)]}static removeError(t,n){let r=t.errors;r&&l$3(r[n])&&(delete r[n],t.setErrors(r),t.updateValueAndValidity());}static createRequiredValidator(t="Required."){return n=>!n.disabled&&!sr(n.value)?{required:true,message:t}:null}};var Ae$3=(function(e){return e[e.NotAssigned=0]="NotAssigned",e[e.Nation=1]="Nation",e[e.State=2]="State",e[e.MetropolitanArea=3]="MetropolitanArea",e[e.County=4]="County",e[e.City=5]="City",e[e.Zip=6]="Zip",e[e.Street=8]="Street",e[e.Property=9]="Property",e[e.Intersection=10]="Intersection",e[e.MinorCivilDivision=11]="MinorCivilDivision",e[e.HouseRange=12]="HouseRange",e[e.Subdivision=13]="Subdivision",e[e.MultiPropertyLocation=14]="MultiPropertyLocation",e[e.UserDefinedCircle=15]="UserDefinedCircle",e[e.UserDefinedPolygons=16]="UserDefinedPolygons",e[e.UnitRange=17]="UnitRange",e[e.SchoolDistrict=18]="SchoolDistrict",e[e.ElementarySchoolAttendanceZone=19]="ElementarySchoolAttendanceZone",e[e.MiddleSchoolAttendanceZone=20]="MiddleSchoolAttendanceZone",e[e.HighSchoolAttendanceZone=21]="HighSchoolAttendanceZone",e[e.School=22]="School",e[e.CensusTract=23]="CensusTract",e[e.CensusBlockGroup=24]="CensusBlockGroup",e[e.CensusBlock=25]="CensusBlock",e[e.PropertyList=26]="PropertyList",e[e.ApnOrTaxIdList=27]="ApnOrTaxIdList",e[e.ListingList=28]="ListingList",e[e.USCongressionalDistrict=29]="USCongressionalDistrict",e[e.StateSenate=30]="StateSenate",e[e.StateAssembly=31]="StateAssembly",e[e.MacroNeighborhood=32]="MacroNeighborhood",e[e.IntermediateNeighborhood=33]="IntermediateNeighborhood",e[e.MinorNeighborhood=34]="MinorNeighborhood",e[e.MicroNeighborhood=35]="MicroNeighborhood",e[e.TravelTimePolygons=36]="TravelTimePolygons",e[e.OpportunityZone=37]="OpportunityZone",e[e.MapExtent=38]="MapExtent",e[e.UserDefinedDistance=39]="UserDefinedDistance",e[e.Unknown=-1]="Unknown",e})(Ae$3||{});var ka=(function(e){return e[e.AiCmaLeaseTenant=-25]="AiCmaLeaseTenant",e[e.AiCmaLeaseOwner=-24]="AiCmaLeaseOwner",e[e.CompanyReport=-23]="CompanyReport",e[e.LocalEconomicArea=-22]="LocalEconomicArea",e[e.FederalEconomicArea=-21]="FederalEconomicArea",e[e.Property=-20]="Property",e[e.MarketTrends=-19]="MarketTrends",e[e.BuyerTour=-18]="BuyerTour",e[e.AiCmaSeller=-17]="AiCmaSeller",e[e.AiCmaBuyer=-16]="AiCmaBuyer",e[e.EstimatedMortgage=-15]="EstimatedMortgage",e[e.EstimatedEquity=-14]="EstimatedEquity",e[e.TenantData=-13]="TenantData",e[e.SellersNetSheet=-12]="SellersNetSheet",e[e.SiteSelection=-10]="SiteSelection",e[e.Cma=-9]="Cma",e[e.Flyer=-8]="Flyer",e[e.School=-7]="School",e[e.Neighborhood=-6]="Neighborhood",e[e.MarketActivity=-5]="MarketActivity",e[e.TradeArea=-4]="TradeArea",e[e.Seller=-3]="Seller",e[e.PropertySingle=-2]="PropertySingle",e[e.Buyer=-1]="Buyer",e})(ka||{});var MX=["years","months","weeks","days","hours","minutes","seconds"];function P1(e,t){let n=qn(),r=t?.locale??n.locale??Ra,i=t?.format??MX,o=t?.zero,s=t?.delimiter??" ";return r.formatDistance?i.reduce((c,u)=>{let d=`x${u.replace(/(^.)/,p=>p.toUpperCase())}`,f=e[u];return f!==void 0&&(o)?c.concat(r.formatDistance(d,f)):c}
922,[]).join(s):""}function L1(e,t){let[n,r]=mn$1(e,t.start,t.end);return {start:n,end:r}}function nu(e){return t=>{let r=(0, Math.trunc)(t);return r===0?0:r}}function F1(e,t,n){let[r,i]=mn$1(n?.in,e,t),o=(+r-+i)/Ma;return nu()(o)}function Vv(e,t){return +X$5(e)-+X$5(t)}function jv(e,t,n){let r=Vv(e,t)/xa;return nu()(r)}function Oa(e,t){let n=+X$5(e)-+X$5(t);return n<0?-1:n>0?1:n}function B1(e,t,n){let[r,i]=mn$1(n?.in,e,t),o=r.getFullYear()-i.getFullYear(),s=r.getMonth()-i.getMonth();return o*12+s}function U1(e,t){let n=X$5(e,t?.in);return n.setHours(23,59,59,999),n}function V1(e,t){let n=X$5(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function j1(e,t){let n=X$5(e,t?.in);return +U1(n,t)==+V1(n,t)}function H1(e,t,n){let[r,i,o]=mn$1(n?.in,e,e,t),s=Oa(i,o),a=Math.abs(B1(i,o));if(a<1)return 0;i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-s*a);let c=Oa(i,o)===-s;j1(r)&&a===1&&Oa(r,o)===1&&(c=false);let u=s*(a-+c);return u===0?0:u}function $1(e,t,n){let r=Vv(e,t)/1e3;return nu()(r)}function z1(e,t,n){let[r,i]=mn$1(n?.in,e,t);return r.getFullYear()-i.getFullYear()}function q1(e,t,n){let[r,i]=mn$1(n?.in,e,t),o=Oa(r,i),s=Math.abs(z1(r,i));r.setFullYear(1584),i.setFullYear(1584);let a=Oa(r,i)===-o,c=o*(s-+a);return c===0?0:c}function W1(e,t){let{start:n,end:r}=L1(t?.in,e),i={},o=q1(r,n);o&&(i.years=o);let s=is(n,{years:i.years}),a=H1(r,s);a&&(i.months=a);let c=is(s,{months:i.months}),u=Ky(r,c);u&&(i.days=u);let d=is(c,{days:i.days}),f=F1(r,d);f&&(i.hours=f);let p=is(d,{hours:i.hours}),g=jv(r,p);g&&(i.minutes=g);let v=is(p,{minutes:i.minutes}),C=$1(r,v);return C&&(i.seconds=C),i}var hE=(()=>{class e{constructor(n){this.currencyPipe=n;}transform(n,r,i=false,o=false,s=0){return r?this.formatPriceChange(n,i,o,s):this.formatPrice(n,i,o,s)}formatPrice(n,r,i,o){return r&&(n=Math.abs(n)),i?this.getTruncatedPrice(n):o>=0?this.formatViaCurrencyPipe(n,o):this.formatViaCurrencyPipe(n)}formatPriceChange(n,r,i,o){let s=this.formatPrice(n,r,i,o);return n>0&&!r?`+${s}`:s}formatViaCurrencyPipe(n,r){return this.currencyPipe.transform(n,"USD","symbol",`1.0-${r>=0?r:"2"}`)}getTruncatedPrice(n,r=4){if(!gn$1(n,true)||isNaN(+n))return "";let i=+n,o=Math.abs(i);return $n$1(o,r)<1?this.formatViaCurrencyPipe(0):$n$1(o/1e3,r)<1?this.formatViaCurrencyPipe(i):$n$1(o/1e6,r)<1?`${this.formatViaCurrencyPipe(this.truncateNumber(i/1e3,r))}K`:$n$1(o/1e9,r)<1?`${this.formatViaCurrencyPipe(this.truncateNumber(i/1e6,r))}M`:`${this.formatViaCurrencyPipe(this.truncateNumber(i/1e9,r))}B`}truncateNumber(n,r){if(Math.round(n).toString().length<r){let o=n.toPrecision(r);if(o.includes("."))return o.replace(/0+$/,"").replace(/\.+$/,"")}return n.toFixed(0)}static{this.\u0275fac=function(r){return new(r||e)(V$4(Wc,16))};}static{this.\u0275pipe=En$1({name:"price",type:e,pure:true});}}return e})();function gn$1(e,t=false){return typeof e>"u"||e==="null"||e===null||e==="-"||e==="\u2013"||e===Bv||(e==="0%"||e==="$0")&&!t?false:Ol(e)?!!(t||parseFloat(e)!==0):!!e.toString().trim()}function ZBe(e,t){return gn$1(e)?e.toString():typeof t>"u"?"\u2013":t}function Pa(e,t){return Ol(e)?new qc("en-US").transform(e,t):e}function JBe(e,t){if(!gn$1(e,true))return "";let n=+e;return (n<0?"-":"")+Pa(n<0?n*-1:n,`1.0-${0}`)}function QBe(e,t){return gn$1(e)?Pa(e,t):""}function G1(e,t=false,n){return Ol(e)?new hE(new Wc("en-US")).transform(e,false,false,t,n):e}function XBe(e,t=false,n){return Ol(e)?new hE(new Wc("en-US")).transform(e,true,false,t,n):e}function KBe(e){if(!gn$1(e,true))return "";let t=+e;return (t<0?"-":"")+G1(t<0?t*-1:t,false,0)}function eUe(e){return gn$1(e)?G1(e):""}function tUe(e,t,n=false,r=false){return Ol(e)?new Y1(new qc("en-US")).transform(e,t,n,r):e}function nUe(e){if(!gn$1(e))return "";let t=$n$1(e,2)<10?2:$n$1(e,1)<100?1:0;return `${Pa(e,`1.0-${t}`)} ${$n$1(e,2)===1?"mile":"miles"}`}function RX(e,t=false){return gn$1(e,t)?`${Pa(e,"1.0-0")} sq ft`:""}function AX(e,t=false){if(!gn$1(e,t))return "";let n=e1(e);return `${Pa(n,"1.0-2")} ${n===1?"acre":"acres"}`}function NX(e,t=false){if(!gn$1(e,t))return "";let n=t1(e);return `${Pa(n,"1.0-2")} sq mi`}function kX(e){return gn$1(e)?+e>=10890?AX(e):RX(e):""}function rUe(e){return gn$1(e)?+e>=4356e5?NX(e):kX(e):""}function iUe(e){let t=W1({start:e,end:Date.now()});return l$3(t.seconds)||(t.seconds=0),P1(t,{zero:true})}function Z1(e,t,n,r){let i=Rf(t,n,r);return `${e||""}${e&&i?", ":""}${i}`}function Rf(e,t,n){let r=`${t||""} ${n||""}`.trim();return `${e||""}${e&&r?", ":""}${r}`}function oUe(e){if(!e)return "";switch(e){case ir$1.SingleFamily:return "Single Family Residence";case ir$1.CondoTownhouseApt:return "Condo/Townhouse/Apt.";case ir$1.CoOp:return "CoOp";case ir$1.MobileManufactured:return "Mobile/Manufactured";case ir$1.MultifamilyMultiplex:return "Multifamily/Multiplex";case ir$1.LotLand:return "Lot/Land";case ir$1.FarmRanch:return "Farm/Ranch";case ir$1.SingleFamilyAndCondoTownhouseAptResidential:return "Single Family + Condo/Townhouse/Apt.";default:return If(ei(ir$1,e))}}function OX(e){switch(e){case ka.PropertySingle:return "Property (Single)";case ka.Flyer:return "Property Flyer";case ka.Cma:return "CMA";case ka.SellersNetSheet:return "Seller's Net Sheet";default:return If(ei(ka,e))}}function sUe(e,t=false){return `${OX(e)}${t?" Template":""}`}function aUe(e,t,n){return `${e||""} ${t||""}`.trim()||n||""}function cUe(e){return e&&e.replace(/\b\w+/g,t=>t.charAt(0).toUpperCase()+t.substring(1).toLowerCase())}function lUe(e){return e&&e.toLowerCase().replace(/(^[a-z])|\.\s+(.)/g,t=>t.toUpperCase())}function uUe(e,t){return e&&t?`${t}-${e}`:e?e.toString():t?t.toString():""}
922function PX(e,t,n){return gn$1(e)?zy(e)?t:n:""}function dUe(e){return PX(e,"Yes","No")}function fUe(e){e=or(e);let t=Zl(e,new Date);return t<0?"is expired":t===0?"will expire today":t===1?"will expire tomorrow":`will expire in ${Pa(t)} days`}function pUe(e){return l$3(e)?e?"RVM<sup>®</sup>":"AVM":""}function hUe(e){switch(e){case 2:return "Work";case 7:return "Home";case 10:return "Mobile";case 12:return "Pager";case 13:return "Assistant";case 14:return "Office";default:return "Other"}}var Y1=(()=>{class e{constructor(n){this.decimalPipe=n;}transform(n,r,i=false,o=false){return gn$1(n,true)?(o&&(n=Math.abs(n)),`${n>0&&!o?"+":""}${this.decimalPipe.transform(i?n*100:n,r||"1.0-2")}%`):n}static{this.\u0275fac=function(r){return new(r||e)(V$4(qc,16))};}static{this.\u0275pipe=En$1({name:"percentChange",type:e,pure:true});}}return e})();var Hv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.addressType)&&(n.addressType=t.addressType),l$3(t.placeName)&&(n.placeName=t.placeName),l$3(t.streetAddress)&&(n.streetAddress=t.streetAddress),l$3(t.streetAddressLine2)&&(n.streetAddressLine2=t.streetAddressLine2),l$3(t.city)&&(n.city=t.city),l$3(t.county)&&(n.county=t.county),l$3(t.state)&&(n.state=t.state),l$3(t.zip)&&(n.zip=t.zip),l$3(t.fips)&&(n.fips=t.fips),l$3(t.centroid)&&(n.centroid=new De$2(t.centroid)),l$3(t.placeId)&&(n.placeId=t.placeId),l$3(t.propertyId)&&(n.propertyId=t.propertyId),l$3(t.schoolId)&&(n.schoolId=t.schoolId),l$3(t.schoolName)&&(n.schoolName=t.schoolName),l$3(t.isGeoCoded)&&(n.isGeoCoded=t.isGeoCoded),l$3(t.asString)&&(n.asString=t.asString),l$3(t.asShortString)&&(n.asShortString=t.asShortString),l$3(t.userDisplayName)&&(n.userDisplayName=t.userDisplayName);}};var nn$1=class nn extends Hv{get cityStateZip(){return Rf(this.city,this.state,this.zip)}get formattedAddress(){return Z1(this.streetAddress,this.city,this.state,this.zip)}get isCustomName(){return this.userDisplayName&&this.userDisplayName!==this.formattedAddress}};var $v=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.url)&&(n.url=t.url),l$3(t.displayText)&&(n.displayText=t.displayText);}};var zv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.points)&&(n.points=t.points.map(r=>new De$2(r)));}};var qv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.westLongitude)&&(n.westLongitude=t.westLongitude),l$3(t.northLatitude)&&(n.northLatitude=t.northLatitude),l$3(t.eastLongitude)&&(n.eastLongitude=t.eastLongitude),l$3(t.southLatitude)&&(n.southLatitude=t.southLatitude),l$3(t.centroid)&&(n.centroid=new De$2(t.centroid));}};var kr$1=class e extends qv{static fromLatLngBounds(t){return t?new e({northLatitude:t.getNorthEast().lat(),westLongitude:t.getSouthWest
922().lng(),southLatitude:t.getSouthWest().lat(),eastLongitude:t.getNorthEast().lng(),centroid:De$2.fromLatLng(t.getCenter())}):null}get isValid(){return !!(this.northLatitude&&this.eastLongitude&&this.southLatitude&&this.westLongitude)}toLatLngBounds(){return this.isValid?new google.maps.LatLngBounds({lat:this.southLatitude,lng:this.westLongitude},{lat:this.northLatitude,lng:this.eastLongitude}):null}isEqual(t){return this.isValid&&t?.isValid&&Zo(this.northLatitude,t.northLatitude,7)&&Zo(this.westLongitude,t.westLongitude,7)&&Zo(this.southLatitude,t.southLatitude,7)&&Zo(this.eastLongitude,t.eastLongitude,7)}};var ar=class e extends zv{static fromLatLngBounds(t){let n=kr$1.fromLatLngBounds(t);return new e({points:[new De$2({latitude:n.northLatitude,longitude:n.westLongitude}),new De$2({latitude:n.southLatitude,longitude:n.westLongitude}),new De$2({latitude:n.southLatitude,longitude:n.eastLongitude}),new De$2({latitude:n.northLatitude,longitude:n.eastLongitude}),new De$2({latitude:n.northLatitude,longitude:n.westLongitude})]})}toLatLngs(){return this.points.map(t=>t.toLatLng())}};var Wv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.addressDetailAddressType)&&(n.addressDetailAddressType=t.addressDetailAddressType),l$3(t.standardizationProvider)&&(n.standardizationProvider=t.standardizationProvider),l$3(t.standardizedQuery)&&(n.standardizedQuery=t.standardizedQuery),l$3(t.street)&&(n.street=t.street),l$3(t.lowHouseNumber)&&(n.lowHouseNumber=t.lowHouseNumber),l$3(t.highHouseNumber)&&(n.highHouseNumber=t.highHouseNumber),l$3(t.lowUnitNumber)&&(n.lowUnitNumber=t.lowUnitNumber),l$3(t.highUnitNumber)&&(n.highUnitNumber=t.highUnitNumber),l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.addressDetailCentroid)&&(n.addressDetailCentroid=new De$2(t.addressDetailCentroid)),l$3(t.radiusInMiles)&&(n.radiusInMiles=t.radiusInMiles),l$3(t.travelTimeMinutes)&&(n.travelTimeMinutes=t.travelTimeMinutes),l$3(t.travelTimeDayOfWeek)&&(n.travelTimeDayOfWeek=t.travelTimeDayOfWeek),l$3(t.travelTimeHourOfDay)&&(n.travelTimeHourOfDay=t.travelTimeHourOfDay),l$3(t.travelTimeTravelModeId)&&(n.travelTimeTravelModeId=t.travelTimeTravelModeId),l$3(t.orgName)&&(n.orgName=t.orgName),l$3(t.score)&&(n.score=t.score),l$3(t.displayName)&&(n.displayName=t.displayName),l$3(t.boundingRectangle)&&(n.boundingRectangle=new kr$1(t.boundingRectangle)),l$3(t.polygons)&&(n.polygons=t.polygons.map(r=>new ar(r))),l$3(t.listingId)&&(n.listingId=t.listingId),l$3(t.asUnambiguousAddressOnlyString)&&(n.asUnambiguousAddressOnlyString=t.asUnambiguousAddressOnlyString),l$3(t.addressType)&&(n.addressType=t.addressType),l$3(t.placeName)&&(n.placeName=t.placeName),l$3(t.streetAddress)&&(n.streetAddress=t.streetAddress),l$3(t.streetAddressLine2)&&(n.streetAddressLine2=t.streetAddressLine2),l$3(t.city)&&(n.city=t.city),l$3(t.county)&&(n.county=t.county),l$3(t.state)&&(n.state=t.state),l$3(t.zip)&&(n.zip=t.zip),l$3(t.fips)&&(n.fips=t.fips),l$3(t.centroid)&&(n.centroid=new De$2(t.centroid)),l$3(t.placeId)&&(n.placeId=t.placeId),l$3(t.propertyId)&&(n.propertyId=t.propertyId),l$3(t.schoolId)&&(n.schoolId=t.schoolId),l$3(t.schoolName)&&(n.schoolName=t.schoolName),l$3(t.isGeoCoded)&&(n.isGeoCoded=t.isGeoCoded),l$3(t.isPlace)&&(n.isPlace=t.isPlace),l$3(t.propertyIds)&&(n.propertyIds=t.propertyIds.slice()),l$3(t.apnsOrTaxIds)&&(n.apnsOrTaxIds=t.apnsOrTaxIds.slice()),l$3(t.listingIds)&&(n.listingIds=t.listingIds.slice()),l$3(t.asString)&&(n.asString=t.asString),l$3(t.asShortString)&&(n.asShortString=t.asShortString),l$3(t.zipPlaceId)&&(n.zipPlaceId=t.zipPlaceId);}};var ni=class e extends Wv{static fromCircle(t,n,r){return new e({addressType:r,addressDetailAddressType:r,addressDetailCentroid:t,centroid:t,radiusInMiles:n})}get isProperty(){return this.addressDetailAddressType===Ae$3.Property}get cityStateZip(){return Rf(this.city,this.state,this.zip)}get isValidMarketTrendsOrTradeAreasPlace(){return this.placeId&&[Ae$3.County,Ae$3.MinorCivilDivision,Ae$3.City,Ae$3.CensusTract,Ae$3.Zip,Ae$3.MacroNeighborhood,Ae$3.IntermediateNeighborhood,Ae$3.MinorNeighborhood,Ae$3.MicroNeighborhood,Ae$3.CensusBlockGroup].includes(this.addressType)}};var La=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.locationType)&&(n.locationType=t.locationType),l$3(t.addressType)&&(n.addressType=t.addressType),l$3(t.placeId)&&(n.placeId=t.placeId),l$3(t.searchAreaId)&&(n.searchAreaId=t.searchAreaId),l$3(t.propertyId)&&(n.propertyId=t.propertyId),l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.listingId)&&(n.listingId=t.listingId),l$3(t.apnOrTaxId)&&(n.apnOrTaxId=t.apnOrTaxId),l$3(t.propertyMode)&&(n.propertyMode=t.propertyMode),l$3(t.description)&&(n.description=t.description),l$3(t.otherAddressDetail)&&(n.otherAddressDetail=new ni(t.otherAddressDetail)),l$3(t.schoolId)&&(n.schoolId=t.schoolId);}};var Af=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.learningMenuCardId)&&(n.learningMenuCardId=t.learningMenuCardId),l$3(t.learningMenuPageId)&&(n.learningMenuPageId=t.learningMenuPageId),l$3(t.publishedState)&&(n.publishedState=t.publishedState),l$3(t.learningMenuCardType)&&(n.learningMenuCardType=t.learningMenuCardType),l$3(t.imageRelativePathAndFileName)&&(n.imageRelativePathAndFileName=t.imageRelativePathAndFileName),l$3(t.temporaryImageFullPathAndFileName)&&(n.temporaryImageFullPathAndFileName=t.temporaryImageFullPathAndFileName),l$3(t.title)&&(n.title=t.title),l$3(t.url)&&(n.url=t.url),l$3(t.articleHtmlText)&&(n.articleHtmlText=t.articleHtmlText),l$3(t.watchOrReadHours)&&(n.watchOrReadHours=t.watchOrReadHours),l$3(t.watchOrReadMinutes)&&(n.watchOrReadMinutes=t.watchOrReadMinutes),l$3(t.watchOrReadSeconds)&&(n.watchOrReadSeconds=t.watchOrReadSeconds),l$3(t.placementLevels)&&(n.placementLevels=t.placementLevels.slice()),l$3(t.sortOrder)&&(n.sortOrder=t.sortOrder),l$3(t.imageUrl)&&(n.imageUrl=t.imageUrl);}};var Fa=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.value)&&(n.value=t.value),l$3(t.description)&&(n.description=t.description);}};var Nf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.learningMenuPageId)&&(n.learningMenuPageId=t.learningMenuPageId),l$3(t.title)&&(n.title=t.title),l$3(t.topQuestionsSectionTitle)&&(n.topQuestionsSectionTitle=t.topQuestionsSectionTitle),l$3(t.realtorInsightsSectionTitle)&&(n.realtorInsightsSectionTitle=t.realtorInsightsSectionTitle),l$3(t.realtorInsightsSectionMoreUrlLabel)&&(n.realtorInsightsSectionMoreUrlLabel=t.realtorInsightsSectionMoreUrlLabel),l$3(t.realtorInsightsSectionMoreUrl)&&(n.realtorInsightsSectionMoreUrl=t.realtorInsightsSectionMoreUrl);}};var ru=(function(e){return e.Agent="agent",e.AgentQuery="AgentQuery",e.AreStatisticsIncluded="areStatisticsIncluded",e.Association="association",e.Brand="brand",e.BrandQuery="BrandQuery",e.Broker="broker",e.BrokerCommercialTierId="brokerCommercialTierId",e.BrokerCompanyOwnedId="brokerCompanyOwnedId",e.BrokerFranchisorId="brokerFranchisorId",e.BrokerNetworkId="brokerNetworkId",e.BrokerQuery="BrokerQuery",e.BrokerResidentialTierId="brokerResidentialTierId",e.IncBrand="IncBrand",e.IncBroker="IncBroker",e.IncOffice="IncOffice",e.IsDashboardEnabled="isDashboardEnabled",e.License="license",e.MlsBrokerId="MlsBrokerId",e.MlsPropertyTypeLookupIds="mlsPropertyTypeLookupIds",e.NrdsId="NrdsId",e.Office="Office",e.OfficeQuery="OfficeQuery",e.Org="org",e.OrgQuery="OrgQuery",e.OrgStatus="orgStatus",e.SortDirection="sortDirection",e.Type="type",e.UseActiveListings="useActiveListings",e.UserEmail="useremail",e.Username="username",e})(ru||{});var ri=(function(e){return e[e.None=0]="None",e[e.Broker=1]="Broker",e[e.Brand=2]="Brand",e[e.Office=3]="Office",e[e.Association=4]="Association",e[e.Org=5]="Org",e[e.User=6]="User",e[e.Franchise=7]="Franchise",e[e.Vendor=8]="Vendor",e})(ri||{});var J1=(function(e){return e[e.NotAssigned=0]="NotAssigned",e[e.Properties=1]="Properties",e[e.Places=4]="Places",e[e.Schools=5]="Schools",e[e.MarketActivity=6]="MarketActivity",e[e.ValuationCompProperties=9]="ValuationCompProperties",e[e.Unknown=-1]="Unknown",e})(J1||{});var xi=(function(e){return e[e.UserStats=2]="UserStats",e[e.DataFeeds=3]="DataFeeds",e[e.NewsAndTraining=4]="NewsAndTraining",e[e.EconomicReports=5]="EconomicReports",e[e.Admin=6]="Admin",e[e.Widget=7]="Widget",e[e.DeepLinks=8]="DeepLinks",e[e.HousingReports=9]="HousingReports",e})(xi||{});var Yv=[{tab:xi.Admin,title:"Broker Admin",path:"broker-admin"},{tab:xi.Widget,title:"AVM Widget",path:"widget",isLegacy:true},{tab:xi.UserStats,title:"User Stats",path:"user-stats",isLegacy:true},{tab:xi.DataFeeds,title:"Data Feeds",path:"data-feeds"},{tab:xi.NewsAndTraining,title:"News & Training",path:"news-training"},{tab:xi.EconomicReports,title:"Economic Area",path:"economic-area"},{tab:xi.HousingReports,title:"Housing Report",path:"housing-reports",isLegacy:true},{tab:xi.DeepLinks,title:"Deep Links",path:"deep-links",isLegacy:true}],Gv={[ri.Association]:"associations",[ri.Org]:"orgs",[ri.Broker]:"brokers",[ri.Brand]:"brands"};function uVe(e){let t=Yv.find(n=>n.tab===e);return n=>{if(!t)return null;let r=n?.at(0)?.path?.toLowerCase();if(!LX(r))return null;let o=n?.at(1)?.path?.toLowerCase(),s=FX(o);return s?s===e?{consumed:n.slice(0,2)}:null:{consumed:n}}}function LX(e){let t=Object.entries(Gv).find(([n,r])=>r===e);return t?Number(t[0]):null}function FX(e){let t=Yv.find(n=>n.path===e);return t?t.tab:null}var Zv=(function(e){return e[e.Unknown=1]="Unknown",e[e.Summary=2]="Summary",e[e.Housing=3]="Housing",e[e.People=4]="People",e[e.Economy=5]="Economy",e[e.QualityOfLife=6]="QualityOfLife",e})(Zv||{});var kf=(function(e){return e[e.Unknown=1]="Unknown",e[e.Info=2]="Info",e[e.Map=3]="Map",e[e.RefineValue=4]="RefineValue",e[e.MarketTrends=5]="MarketTrends",e[e.Valuation=6]="Valuation",e[e.MyUpdates=7]="MyUpdates",e[e.PlaceDetails=8]="PlaceDetails",e})(kf||{});var Of=(function(e){return e[e.Unknown=1]="Unknown",e[e.Summary=2]="Summary",e[e.Reviews=3]="Reviews",e})(Of||{});var TVe="/auth",K1="/commercial",xVe="/landing",BX="/market-activity",Q1="/market-trends",mE="/neighborhoods",gE="/properties",yE="/schools",Jv="/details",eB="/results",vE="/search",UX="/criteria",MVe="/reports",_E="/reports-v2",tB="/reports-v2-public",RVe=`${gE}${vE}${BX}`,VX=`${gE}${vE}`,jX=`${gE}${Jv}`,AVe=`${yE}${vE}`,NVe="edita",kVe="editc",nB="/address-query-logs",Ot="/admin",rB="/agents",OVe="/ai-prompt-manager",b
922E="/associations",iB="/brands",HX="/brand-offices",oB="/brokers",PVe="/cobrands",$X="/dagg-offices",zX="/data",sB="/data-tools",qX="/logs",LVe="/mailing-labels",DE="/offices",WX="/orgs",FVe="/print-footer",BVe="/property-additional-resources",YX="/searches-query-logs",GX="/service-modules",ZX="/site-content",UVe="/support",aB="/users",JX="/vendors",iu="/assets-2608211552",VVe=`${iu}/icons`,cB=`${iu}/images`,jVe=`${iu}/map-icons`,HVe=`${iu}/vendor`,QX="fromMarketTrends",X1=new RegExp("(\\/(?:images|addl_picts)\\/)(\\d+)\\/(\\d+)(\\/)","");function te$2(e,...t){if(t){let n=String(e||"").indexOf("?")>0;e+=t.map(r=>{let i=Pf(r,!n);return !n&&i&&(n=true),i}).join("");}return e}function Pf(e,t=false){let n=e[0],r=e[1];return !n||!r&&r!==false&&r!==0&&r!==""?"":(r.constructor===Date&&(r=JSON.stringify(r)),`${t?"?":"&"}${n}=${encodeURIComponent(r)}`)}function $Ve(...e){let t={};return e.forEach(n=>{Pf(n)&&(t[n[0]]=n[1]);}),t}function zVe(e){return e?.keys?.map(t=>[t,e.get(t)])}function qVe(e,...t){for(let n in e)if(e.hasOwnProperty(n)){let r=n.toLowerCase();for(let i of t)if(r===i.toLowerCase())return e[n]}return null}function WVe(e){if(!e)return "";let t=e.toLowerCase();return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("ftp://")?e:`http://${e}`}function YVe(e,t,n,r){return te$2(VX,[H$3.SearchCriteriaId,e],[H$3.ResultsView,t],[H$3.DisableLogRecentSearch,n],[H$3.AnalysisCriteriaId,r])}function GVe(e,{resultsView:t,propertyId:n,orgId:r,listingId:i}={}){return te$2(`${yE}${eB}`,[H$3.SearchCriteriaId,e],[H$3.ResultsView,t],[H$3.PropertyId,n],[H$3.OrgId,r],[H$3.ListingId,i])}function ZVe(e,t){return te$2(`${mE}${eB}`,[H$3.SearchCriteriaId,e],[H$3.ResultsView,t])}function JVe(e){return te$2(`${K1}${UX}`,[H$3.SearchToolsMode,"Analysis"],[H$3.AnalysisCriteriaId,e])}function XX(e,t,n,r,i=kf.Info,o=null,s=null,a=null,c=null,u=null,d=null){return E$4.config.legacyPropertyDetailsTabs.includes(i)?KX({propertyId:e,orgId:t,listingId:n,propertyMode:r,searchCriteriaId:o,reportCriteriaId:s,tab:i,locationType:a,apnOrTaxId:c,section:u,action:d,isLegacy:true}):te$2(`${jX}/${ei(kf,i||kf.Info).toLowerCase()}/${e}`,[H$3.OrgId,t],[H$3.ListingId,n],[H$3.SearchCriteriaId,o],[H$3.ReportCriteriaId,s],[H$3.PropertyMode,r],[H$3.LocationType,a],[H$3.ApnOrTaxId,c],[H$3.Section,u],[H$3.Action,d])}function QVe(e,t=Of.Summary,n=null){return te$2(`${yE}${Jv}/${ei(Of,t||Of.Summary).toLowerCase()}/${e}`,[H$3.SearchCriteriaId,n])}function XVe(e,t=Zv.Summary,n=null,r=null,i=null,o=null){return te$2(`${mE}${Jv}/${ei(Zv,t).toLowerCase()}/${e}`,[H$3.SearchCriteriaId,n],[H$3.PropertyId,r],[H$3.OrgId,i],[H$3.ListingId,o])}function KVe(e,t=null,n=null,r=null,i=null,o){return te$2(`${mE}/trade-areas${Jv}/${e}`,[H$3.SearchCriteriaId,t],[H$3.PropertyId,n],[H$3.OrgId,r],[H$3.ListingId,i],[H$3.AnalysisCriteriaId,o])}function eje(e=null,t=null){return e?te$2(`${Q1}/${e}`,[H$3.SearchCriteriaId,t]):Q1}function tje(e=null){return te$2(`${K1}/analysis`,[H$3.AnalysisCriteriaId,e])}function nje(e={}){let t=[[H$3.AnalysisCriteriaId,e.analysisCriteriaId],[H$3.AssociationId,e.associationId],[QX,e.fromMarketTrends||null],[H$3.ListingId,e.listingId],[H$3.OrgId,e.orgId],[H$3.PlaceId,e.placeId],[H$3.PropertyId,e.propertyId],[H$3.PropertyMode,e.propertyMode],[H$3.SchoolId,e.schoolId],[H$3.SearchAreaId,e.searchAreaId],[H$3.SearchCriteriaId,e.searchCriteriaId]],n=e.isEconAreaReport&&!e.isPdf?`/dashboard${bE}/economic-area/reports`:_E;
922return e.isMyReports?(n+="/my-reports",e.reportCriteriaId&&t.push([H$3.ReportCriteriaId,e.reportCriteriaId])):e.reportCriteriaId?E$4.name==="devAspire"&&e.isPdf?n=`/reports/pdf-gateway?criteriaId=${e.reportCriteriaId}`:n+=`/${e.reportCriteriaId}/${e.isPdf?"pdf":"editor"}`:n+=e.subNav?`/templates/${e.subNav}`:"/templates",te$2(n,...t)}function rje(e){return e?.includes(_E)&&e?.includes("/editor")}function ije(e){return e?.includes(_E)&&e?.includes("/standalone-page")}function KX(e){return e?.propertyId&&!e?.isLegacy&&!E$4.config.legacyPropertyDetailsTabs.includes(e.tab)?XX(e.propertyId,e.orgId,e.listingId,e.propertyMode,e.tab,e.searchCriteriaId,e.reportCriteriaId,e.locationType,e.apnOrTaxId,e.section,e.action):e?te$2("/link-to-details",[H$3.PropertyId,e.propertyId],[H$3.OrgId,e.orgId],[H$3.ListingId,e.listingId],[H$3.AnalysisCriteriaId,e.analysisCriteriaId],[H$3.SearchCriteriaId,e.searchCriteriaId],[H$3.ReportCriteriaId,e.reportCriteriaId],[H$3.LocationType,e.locationType],[H$3.ApnOrTaxId,e.apnOrTaxId],[H$3.SchoolId,e.schoolId],[H$3.PlaceId,e.placeId],[H$3.PropertyMode,e.propertyMode],[H$3.DetailsTab,e.tab],[H$3.Action,e.action],[H$3.IsLegacy,e.isLegacy]):null}function oje(e,t,n){return te$2(`${E$4.mainSiteBaseUrl}/deep-link`,[H$3.Action,"propertydetails"],[H$3.Query,e],[H$3.OrgId,t],[H$3.ListingId,n])}function sje(e,t){let n=E$4.apiBaseUrl;return e?te$2(`${n}/misc/note/${e}`,[H$3.MaxPhotoWidth,t]):null}function aje(e,t,n){return !t&&!n||!e?e:(t=t?t*2:n?n*2:0,n=n?n*2:t,e.includes(Iy)||e.includes(iE)?e.replace(Iy,String(t)).replace(iE,String(n)):X1.test(e)?e.replace(X1,`$1${t}/${n}$4`):e.replace("/images/",`/images/${t}/${n}/`).replace("/addl_picts/",`/addl_picts/${t}/${n}/`))}function cje(e,t,n,r){let i=E$4.apiBaseUrl;n=n&&n*2;let o=t?te$2(`${i}${tB}/${e}/photo-note`,["noteId",t],["maxPhotoWidth",n]):null;return o&&!n&&r&&(o=`${o}&maxPhotoWidth=${Iy}`),o}function lje(e,t,n){let r=E$4.apiBaseUrl;return t&&l$3(n)?te$2(`${r}${tB}/${e}/custom-page`,["fileId",t],["pageIndex",n]):null}function eK(){return te$2(`${Ot}${WX}`)}function uje(e){return te$2(`${eK()}/${e}`)}function tK({forLegacy:e,associationId:t}={}){return te$2(`${Ot}${bE}${e?".aspx":""}`,[H$3.AssociationId,t])}function dje(e){return te$2(`${tK()}/${e}`)}function nK(){return te$2(`${Ot}${oB}`)}function fje(e){return te$2(`${nK()}/${e}`)}function pje(e){return te$2(`${Ot}/brands.aspx`,[H$3.BrandId,e])}function rK(){return te$2(`${Ot}${iB}`)}function iK(e){return te$2(`${rK()}/${e}`)}function hje(e){return te$2(`${Ot}${HX}/${e}`)}function mje(e,t){return te$2(`${iK(e)}${GX}/${t}`)}function gje(e,t){return te$2(`${Ot}${DE}`,[t??ru.BrokerQuery,e])}function yje(e){return te$2(`${Ot}${DE}.aspx`,[H$3.OfficeId,e])}function vje(e){return te$2(`${Ot}${DE}/${e}`)}function oK(){return te$2(`${Ot}${$X}`)}function _je(e){return te$2(`${oK()}/${e}`)}function bje(e,t){return te$2(`${Ot}${rB}`,[t??ru.OrgQuery,e])}function Dje(e,t){return te$2(`${Ot}${rB}/${e}/${t}`)}function wje(e){return te$2(`${Ot}${aB}`,[ru.Username,e])}function Cje(e,t,n){let r=[[ru.Username,e],[H$3.AgentId,t],[H$3.OrgId,n]];return te$2(`${Ot}${aB}/manage`,...r)}function sK(){return te$2(`${Ot}${JX}`)}function Sje(e){return te$2(`${sK()}/${e}`)}function Ije(e,t,n){let r=[[H$3.OrgId,e],[H$3.AgentId,t],[H$3.MlsOfficeId,n]];return te$2(`${Ot}${zX}/data-qc`,...r)}function Eje(){return te$2(`${Ot}${nB}`)}function Tje(e){return te$2(`${Ot}${nB}/${e}`)}function aK(){return te$2(`${Ot}${qX}`)}function xje(e){return te$2(`${aK()}/${e}`)}function cK(){return te$2(`${Ot}${YX}`)}function Mje(e){return te$2(`${cK()}/${e}`)}function Rje(e,t){let n;switch(e){case bE:n=H$3.AssociationId;break;case oB:n=H$3.BrokerId;break;case iB:n=H$3.BrandId;break;default:n=H$3.OrgId;}return te$2(`${sB}${e}`,[n,t])}function Aje(){return te$2(`${Ot}${ZX}/learning-menu`)}function Nje(e,t,n){let r=`${sB}/${Gv[e]}`,i=Yv.find(s=>s.tab===t),o=()=>{switch(e){case ri.Association:return H$3.AssociationId;case ri.Org:return H$3.OrgId;case ri.Broker:return H$3.BrokerId;case ri.Brand:return H$3.BrandId;default:return null}};return i?te$2(`${i.isLegacy?r:`/dashboard/${Gv[e]}`}/${i.path}`,[o(),n]):te$2(r,[o(),n])}var Qv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.statePlaceId)&&(n.statePlaceId=t.statePlaceId),l$3(t.name)&&(n.name=t.name),l$3(t.shortName)&&(n.short
922Name=t.shortName),l$3(t.statusId)&&(n.statusId=t.statusId),l$3(t.regionId)&&(n.regionId=t.regionId),l$3(t.state)&&(n.state=t.state),l$3(t.statusDescription)&&(n.statusDescription=t.statusDescription),l$3(t.isExpired)&&(n.isExpired=t.isExpired),l$3(t.statusType)&&(n.statusType=t.statusType),l$3(t.coBrandId)&&(n.coBrandId=t.coBrandId);}};var Xv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.placeId)&&(n.placeId=t.placeId),l$3(t.centroid)&&(n.centroid=new De$2(t.centroid)),l$3(t.polygons)&&(n.polygons=t.polygons.map(r=>new ar(r))),l$3(t.name)&&(n.name=t.name),l$3(t.displayName)&&(n.displayName=t.displayName),l$3(t.addressType)&&(n.addressType=t.addressType),l$3(t.formattedAddressType)&&(n.formattedAddressType=t.formattedAddressType),l$3(t.propertyCount)&&(n.propertyCount=t.propertyCount),l$3(t.medianEstimatedValue)&&(n.medianEstimatedValue=t.medianEstimatedValue),l$3(t.listingCount)&&(n.listingCount=t.listingCount),l$3(t.medianListPrice)&&(n.medianListPrice=t.medianListPrice),l$3(t.medianDaysInRpr)&&(n.medianDaysInRpr=t.medianDaysInRpr),l$3(t.schoolCount)&&(n.schoolCount=t.schoolCount),l$3(t.medianEstimatedValueOneMonthPercentChange)&&(n.medianEstimatedValueOneMonthPercentChange=t.medianEstimatedValueOneMonthPercentChange),l$3(t.medianEstimatedValueOneYearPercentChange)&&(n.medianEstimatedValueOneYearPercentChange=t.medianEstimatedValueOneYearPercentChange),l$3(t.detailsUrl)&&(n.detailsUrl=t.detailsUrl),l$3(t.month)&&(n.month=t.month),l$3(t.year)&&(n.year=t.year);}};var lB=Rn$1?Rn$1.isConcatSpreadable:void 0;function lK(e){return tt$1(e)||io(e)||!!(lB&&e&&e[lB])}var uB=lK;function dB(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=uB),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?dB(a,t-1,n,r,i):Ay(i,a):r||(i[i.length]=a);}return i}var fB=dB;function uK(e,t){return e&&ng(e,t,ts)}var pB=uK;function dK(e,t){return function(n,r){if(n==null)return n;if(!Hn$1(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Object(n);(t?o--:++o<i)&&r(s[o],o,s)!==false;);return n}}var hB=dK;var fK=hB(pB),mB=fK;function pK(e,t){var n=-1,r=Hn$1(e)?Array(e.length):[];return mB(e,function(i,o,s){r[++n]=t(i,o,s);}),r}var gB=pK;function hK(e,t){var n=tt$1(e)?Uy:gB;return n(e,zl(t))}var yB=hK;function mK(e,t){return fB(yB(e,t),1)}var Lf=mK;var vB=4.18,gK="roadmap",wHe="satellite",CHe="hybrid",_B="#e2792f",SHe="#a68af9",IHe="#ffffff",yK=(function(e){return e[e.MainMap=1]="MainMap",e[e.PropertyDetailsStreetView=2]="PropertyDetailsStreetView",e[e.PropertyDetailsOverheadView=3]="PropertyDetailsOverheadView",e})(yK||{});function EHe(e){return te$2("/map-pin.ashx",["Text",e],["IsTextOnly",true])}function THe({isSubject:e,isPlace:t,isSchool:n,propertyStatus:r}){switch(r){case ge$1.ForLeaseDistressed:case ge$1.ForSaleDistressedAndLease:case ge$1.RecentlySoldDistressed:r=ge$1.OffMarketDistressed;break;case ge$1.UnderContract:case ge$1.Expired:case ge$1.Canceled:case ge$1.Withdrawn:case ge$1.Sold:r=ge$1.OffMarket;break;case ge$1.NewForSaleAndLease:r=ge$1.NewForSale;break;case ge$1.NewForSaleDistressedAndLease:r=ge$1.NewForSaleDistressed;break;case ge$1.SalePendingDistressedAndLease:r=ge$1.SalePendingDistressed;break;}function i(){if(e)return t?"Place-Subject.png":n?"School-Subject.png":"Property-Subject.png";if(t)return "Place.png";if(n)return "School.png";let o=ei(ge$1,r);return o?`${o}.png`:"Property-Subject.png"}return `${E$4.config.prodBaseMainRprSiteUrl}/resources/static-map-markers/${i()}`}function vK(e,t,n,r,i,o,s,a,c){let u=te$2("https://maps.googleapis.com/maps/api/staticmap",["key",E$4.config.googleMapsApiKey],["center",e&&t?`${e},${t}`:null],["zoom",o],["size",`${n}x${r}`],["scale",!s||s===1?null:s],["maptype",i||"satellite"],["style","feature:poi|visibility:off"],["style",i===gK?"feature:poi.park|visibility:on":null]);return a?.forEach(d=>u+=Pf(["markers",d])),c?.forEach(d=>u+=Pf(["path",d])),u}function xHe(e){return e?.startsWith("https://maps.googleapis.com/maps/api/staticmap")}
922function _K(e,t){return te$2("https://maps.googleapis.com/maps/api/streetview/metadata",["key",E$4.config.googleMapsApiKey],["location",`${e},${t}`],["source","outdoor"])}function bK(e,t,n,r){return te$2("https://maps.googleapis.com/maps/api/streetview",["key",E$4.config.googleMapsApiKey],["location",`${e},${t}`],["size",`${n}x${r}`],["source","outdoor"])}function MHe(e,t,n,r=2){return e&&t&&n?`anchor:center|${r===2?"scale:2|":""}icon:${encodeURI(n)}|${e},${t}`:null}function DK(e,t,n){let r=window._streetViewCheckCache=window._streetViewCheckCache||{},i=`${e}_${t}`;if(typeof r[i]>"u"){let o=new XMLHttpRequest;o.onreadystatechange=()=>{o.readyState===4&&(o.status===200?(r[i]=JSON.parse(o.responseText),n(r[i])):n(null));},o.open("GET",_K(e,t),true),o.send();}else n(r[i]);}function RHe(e,t,n,r,i){DK(e,t,o=>{i(o&&o.status==="OK"?bK(e,t,n,r):vK(e,t,n,r,null,n>400?20:n>200?19:18));});}function AHe(e,t,n){function r(){let s="",a=t.x,c=t.y;for(let u=0;u<n;u++)s=((a&1)+2*(c&1)).toString()+s,a>>=1,c>>=1;return s}let i=r(),o=Number(i.charAt(i.length-1));return o>4&&(o=4),e.replace("{quadkey}",i).replace("{subdomain}",String(o))}function NHe(e,t){for(let n=e.overlayMapTypes.getArray().length-1;n>=0;--n)e.overlayMapTypes.getAt(n).name===t&&e.overlayMapTypes.removeAt(n);}function wK(e){if(!e?.length)return null;if(e.length===1)return wE(e[0],.1);let t=new google.maps.LatLngBounds;for(let n of e)t.extend(n.toLatLngLiteral());return t}function wE(e,t){return new google.maps.Circle({center:e.toLatLngLiteral(),radius:SK(t)}).getBounds()}
922function CE(e,t){let n=e.getNorthEast(),r=e.getSouthWest(),i=n.lat(),o=r.lat(),s=n.lng(),a=r.lng(),c=(i-o)*(t/100)/2,u=(s-a)*(t/100)/2;return new google.maps.LatLngBounds({lat:o-c,lng:a-u},{lat:i+c,lng:s+u})}function kHe(...e){let t=null;return e?.forEach(n=>{if(n){if(!t){t=n;return}t.union(n);}}),t}function SE(e){return wK(Lf(e,t=>t.points))}function bB(e){return e?e.getPaths().getArray().map(r=>new ar({points:r.getArray().map(i=>De$2.fromLatLng(i))})):null}function DB(e){let t=Lf(e,n=>n.polygons||[])||[];return CK(t)}function CK(e){return e.length?e.map(t=>t.points.map(n=>n.toLatLngLiteral())):null}function OHe(e){if(!e||!e.points?.length)return null;let t=e.points.map(o=>o.latitude),n=e.points.map(o=>o.longitude),r=t.reduce((o,s)=>o+s,0)/t.length,i=n.reduce((o,s)=>o+s,0)/n.length;return new De$2({latitude:r,longitude:i})}function wB(e){return e*.000621371192}function SK(e){return e*1609.344}function PHe(e){return google?.maps?.geometry?.spherical?google.maps.geometry.spherical.computeArea(e.toLatLngs())/.09290304:null}function LHe(e){return e*e*Math.PI}function FHe(e,t){let n=e.lat(),r=e.lng(),i=t.lat(),o=t.lng(),s=6371,a=Math.PI/180,c=(i-n)*a,u=(o-r)*a,d=Math.sin(c/2)*Math.sin(c/2)+Math.cos(n*a)*Math.cos(i*a)*Math.sin(u/2)*Math.sin(u/2),f=2*Math.atan2(Math.sqrt(d),Math.sqrt(1-d));return s*f}function BHe(e,t){return IK(e.x,e.y,t.x,t.y)}function IK(e,t,n,r){let i=Math.pow(n-e,2),o=Math.pow(r-t,2),s=i+o;return Math.round(Math.sqrt(s))}function EK(e,t){let n=e.getProjection(),r=e.getBounds(),i=e.getHeading(),o=n.fromLatLngToPoint(r.getNorthEast()),s=n.fromLatLngToPoint(r.getSouthWest
922()),a=Math.pow(2,e.getZoom()),c=n.fromLatLngToPoint(t),u=c.x-s.x,d=c.y-o.y;switch(i){case 90:u=c.x-o.x;break;case 180:u=c.x-o.x,d=c.y-s.y;break;case 270:d=c.y-s.y;break;}return new google.maps.Point(u*a,d*a)}function TK(e,t){let n=e.getBounds().getNorthEast(),r=e.getBounds().getSouthWest(),i=e.getProjection(),o=i.fromLatLngToPoint(n),s=i.fromLatLngToPoint(r),a=Math.pow(2,e.getZoom());return i.fromPointToLatLng(new google.maps.Point(t.x/a+s.x,t.y/a+o.y))}function UHe(e,t,n,r){let i=EK(e,t);return i.x=i.x+n,i.y=i.y+r,TK(e,i)}function VHe(){return {fillColor:_B,fillOpacity:.18,strokeColor:_B,strokeOpacity:1,strokeWeight:3}}function jHe(e,t,n,r,i){let o=e instanceof me$2?e?.nativeElement:e;if(!o||!t)return;let s=t.controls[n],a=Hy(s.getArray(),c=>c===o);if(r){a<0&&(o.index=i,s.push(o));return}a>=0&&s.removeAt(a);}function HHe(e,t){if(!t||!e?.mapBoundingBox)return;let n=e.mapBoundingBox.toLatLngBounds();t.panToBounds(n,0),t.fitBounds(n,0);}function $He(e,t,n,r,i=false){if(!t)return false;if(n?.forEach(a=>google.maps.event.removeListener(a)),i){let a=t;a.controls.forEach(c=>c.clear()),a.overlayMapTypes.clear();}let o=`_RPR$GoogleMapInstance${e}`,s=`_RPR$GoogleMapElement${e}`;return window[o]?(console.warn(`Cannot park Google Map instance (${e}) because another instance is already parked`),false):r?(window[s]=r,window[o]=t,console.log(`Google Map instance (${e}) parked successfully`),true):(console.warn(`Cannot park Google Map instance (${e}) because the map element was not supplied.`),false)}function zHe(e,t){let n=`_RPR$GoogleMapInstance${e}`,r=`_RPR$GoogleMapElement${e}`,i=window[n];if(!i)return null;let o=window[r];return o?(xK(t,o),delete window[n],delete window[r],console.log(`Google Map instance (${e}) unparked successfully`),i):(console.warn(`Cannot unpark Google Map instance (${e}) because the map element is missing.`),delete window[n],null)}function xK(e,t){return t||(t=document.createElement("div"),t.className="map"),e.parentNode.insertBefore(t,e),t}function qHe(e,t){let n=[];return (e||[]).forEach(r=>{let{centroid:i}=r;if(!i||!i.isValid)return;let o=BI(i.latitude,vB),s=BI(i.longitude,vB);if(!r.numberedIconValue){let a=n.find(c=>c.latKey===o&&c.lngKey===s);if(a){a.results.push(r);return}}n.push(new t({latKey:o,lngKey:s,centroid:r.centroid,results:[r]}));}),n}var Kv=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.searchAreaCategory)&&(n.searchAreaCategory=t.searchAreaCategory),l$3(t.sourceSearchAreaId)&&(n.sourceSearchAreaId=t.sourceSearchAreaId),l$3(t.userQuery)&&(n.userQuery=t.userQuery),l$3(t.addressDetails)&&(n.addressDetails=t.addressDetails.map(r=>new ni(r))),l$3(t.mapBoundingBox)&&(n.mapBoundingBox=new kr$1(t.mapBoundingBox)),l$3(t.mapCentroid)&&(n.mapCentroid=new De$2(t.mapCentroid)),l$3(t.mapZoomLevel)&&(n.mapZoomLevel=t.mapZoomLevel),l$3(t.searchAreaCentroid)&&(n.searchAreaCentroid=new De$2(t.searchAreaCentroid)),l$3(t.polygonsBoundingBox)&&(n.polygonsBoundingBox=new kr$1(t.polygonsBoundingBox)),l$3(t.searchAreaId)&&(n.searchAreaId=t.searchAreaId),l$3(t.searchAreaType)&&(n.searchAreaType=t.searchAreaType),l$3(t.areaName)&&(n.areaName=t.areaName),l$3(t.standardizedQuery)&&(n.standardizedQuery=t.standardizedQuery),l$3(t.asString)&&(n.asString=t.asString),l$3(t.asShortString)&&(n.asShortString=t.asShortString),l$3(t.isRectangle)&&(n.isRectangle=t.isRectangle);}};var Ba=class e extends Kv{get areaNameOrStandardizedQuery(){return this.areaName||this.standardizedQuery}get addressDetail(){return this.addressDetails&&this.addressDetails.length===1?this.addressDetails[0]:null}get isMapExtentArea(){return this.addressDetail?.addressDetailAddressType===Ae$3.MapExtent}get isDrawnArea(){return [Ae$3.UserDefinedCircle,Ae$3.UserDefinedPolygons].indexOf(this.addressDetail?.addressDetailAddressType)>=0}get isCircleArea(){return [Ae$3.UserDefinedCircle,Ae$3.UserDefinedDistance].indexOf(this.addressDetail?.addressDetailAddressType)>=0}get isDrivingToolArea(){return [Ae$3.TravelTimePolygons,Ae$3.UserDefinedDistance].indexOf(this.addressDetail?.addressDetailAddressType)>=0}get hasValidMapBoundingBox(){return !!this.mapBoundingBox?.isValid}
922get hasPolygons(){return !!Lf(this.addressDetails,t=>t.polygons||[]).length}get canBeAppliedToMap(){return this.mapCentroid?.isValid||this.searchAreaCentroid?.isValid||this.hasValidMapBoundingBox}static fromMapShape(t){let n=t?.searchArea||new e;if(t instanceof google.maps.Polygon||t instanceof google.maps.Rectangle){let r;return t instanceof google.maps.Polygon?(r=bB(t),n.isRectangle=false):t instanceof google.maps.Rectangle&&(r=[ar.fromLatLngBounds(t.getBounds())],n.isRectangle=true),Object.assign(n,e.fromPolygons(r)),t.searchArea=n,n}return t instanceof google.maps.Circle?(Object.assign(n,e.fromCircle(De$2.fromLatLng(t.getCenter()),wB(t.getRadius()),Ae$3.UserDefinedCircle)),t.searchArea=n,n):null}static fromTravelTimeShape(t,n){let r=e.fromMapShape(t);return r&&(n.isDistanceMode?r.addressDetail.addressDetailAddressType=r.addressDetail.addressType=Ae$3.UserDefinedDistance:Object.assign(r.addressDetail,{addressType:Ae$3.TravelTimePolygons,addressDetailAddressType:Ae$3.TravelTimePolygons,travelTimeMinutes:n.minutes,travelTimeDayOfWeek:n.dayOfWeek,travelTimeHourOfDay:n.hourOfDay,travelTimeTravelModeId:n.travelMode,addressDetailCentroid:De$2.fromLatLng(n?.overlayPosition)||r.addressDetail.addressDetailCentroid})),r}static fromPolygons(t,n){if(!t)return null;let r=De$2.fromLatLng(SE(t).getCenter()),i=SE(t);return n&&i.extend(n.toLatLng()),i=CE(i,-20),new e({addressDetails:[new ni({addressType:Ae$3.UserDefinedPolygons,addressDetailAddressType:Ae$3.UserDefinedPolygons,polygons:t,centroid:r,addressDetailCentroid:r})],searchAreaCentroid:r,mapBoundingBox:kr$1.fromLatLngBounds(i)})}static fromCircle(t,n,r){return new e({addressDetails:[ni.fromCircle(t,n,r)],searchAreaCentroid:t,mapBoundingBox:typeof google<"u"?kr$1.fromLatLngBounds(CE(wE(t,n),-20)):null})}static fromPlaceId(t,n){return new e({addressDetails:[new ni({placeId:t,addressType:n})]})}updateFromMapShape(t){t.searchArea=this,e.fromMapShape(t);}toGoogleMapPaths(){return DB(this.addressDetails)}toCleanVersionForSaving(){return new e({searchAreaId:this.searchAreaId,sourceSearchAreaId:this.sourceSearchAreaId,areaName:this.areaName,mapBoundingBox:this.mapBoundingBox,mapCentroid:this.mapCentroid,mapZoomLevel:this.mapZoomLevel,searchAreaCentroid:this.searchAreaCentroid,searchAreaCategory:this.searchAreaCategory,searchAreaType:this.searchAreaType,standardizedQuery:this.standardizedQuery,userQuery:this.userQuery,addressDetails:this.addressDetails.map(t=>[Ae$3.Intersection,Ae$3.Street,Ae$3.PropertyList,Ae$3.HouseRange,Ae$3.MultiPropertyLocation,Ae$3.UnitRange,Ae$3.ApnOrTaxIdList,Ae$3.ListingList].includes(t.addressType)||!t.placeId||t.addressType!==t.addressDetailAddressType?t:new ni({addressType:t.addressType,addressDetailAddressType:t.addressDetailAddressType,placeId:t.placeId}))})}clearPolygons(){this.addressDetails?.forEach(t=>(t.polygons||[]).length=0);}};var Ff="2.52.43.1";var e_=(()=>{class e{getApiHeaders(n,r,i){let o=new Ir$1({});return n&&n!=="get"&&(o=o.append("Content-Type","application/json")),r&&(o=o.append("Authorization",`Bearer ${r}`)),i&&(o=o.append("Cache-Control","no-cache, no-store, must-revalidate"),o=o.append("Pragma","no-cache"),o=o.append("Expires","0"),o=o.append("Vary","*")),o=o.append("rpr-referrer",location.href),o=o.append("rpr-client-build",Ff),o}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var Mi=(function(e){return e[e.Unknown=0]="Unknown",e[e.ViewProperty=1]="ViewProperty",e[e.ViewPlace=2]="ViewPlace",e[e.Search=3]="Search",e[e.Report=4]="Report",e[e.Analysis=5]="Analysis",e[e.ThematicMap=6]="ThematicMap",e[e.ChangePassword=7]="ChangePassword",e[e.ReportV2=8]="ReportV2",e[e.Email=9]="Email",e[e.RequestPropertyDetails=10]="RequestPropertyDetails",e})(Mi||{});var IE=(function(e){return e[e.Unknown=0]="Unknown",e[e.SignedInViaWebsite=1]="SignedInViaWebsite",e[e.SignedInViaSso=2]="SignedInViaSso",e[e.SignedInViaMobileWebsite=3]="SignedInViaMobileWebsite",e[e.SignedInViaMobileApplication=4]="SignedInViaMobileApplication",e[e.SignedUpViaWebsite=10]="SignedUpViaWebsite",e[e.Revisited=20]="Revisited",e[e.Tracked=100]="Tracked",e})(IE||{});
922var CB=(()=>{class e{constructor(){this.enabled=true,this.el=h$5(me$2);}ngOnChanges(){this.enabled&&(this.attemptToFocus()||setTimeout(()=>this.attemptToFocus(),10));}attemptToFocus(){let n=this.el?.nativeElement;return n?(setTimeout(()=>n.focus()),true):false}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275dir=q$7({type:e,selectors:[["","rprAutoFocus",""]],inputs:{enabled:[2,"rprAutoFocus","enabled",He]},features:[ct$1]});}}return e})();var t_=class{constructor(){this.formStateChanged=new de$4;}get subscription(){return this._subscription}set subscription(t){this._subscription&&this._subscription.unsubscribe(),this._subscription=t;}get formSubscription(){return this._formSubscription}get canSubmitForm(){return !(!this.form||!this.form.valid||this.form.pristine||this.submitting)}logFormState(){console.log("Form Pristine Value",JSON.stringify(this._formPristineValue)),console.log("Form Current Value",JSON.stringify(this.form.getRawValue()));}markFormAsPristine(){this.form&&(this.form.markAsPristine(),this._formPristineValue=Sf(this.form.getRawValue()),this._formSubscription&&(this._formSubscription.unsubscribe(),this._formSubscription=null),this.watchFormValueChanges());}checkForChanges(){this._formPristineValue&&(JSON.stringify(this._formPristineValue)===JSON.stringify(this.form.getRawValue())?this.form.pristine||(this.form.markAsPristine(),this.formStateChanged.emit()):this.form.dirty||(this.form.markAsDirty(),this.formStateChanged.emit()));}watchFormValueChanges(){!this.form||this._formSubscription||(this._formSubscription=this.form.valueChanges.pipe(oi(100)).subscribe(t=>this.checkForChanges()));}};var ou=class{handleError(t){if(t&&t.status===0)return vs(()=>new Error("We were not able to communicate with the server!"));let n=(t instanceof Sr$1||t)&&t.message;if(t&&t.error){let o=typeof t.error=="string"?t.error:t.error.Message||t.error.message;if(!o)try{let s=JSON.parse(t.error);o=s.Message||s.message;}catch{}o&&(n=o+(n?` 923 924`:"")+n);}let r=t&&t.status,i=this.translateStatus(r,n);switch(r){case 401:case 403:case 404:case 429:return vs(()=>new Error(i));default:return vs(()=>new Error(E$4.detailedLogging&&n||i))}}translateStatus(t,n){switch(n=(n||"").toLowerCase(),t){case 400:return `The data you entered is not well formed; 925 please double check your entries, or contact support if you feel your entries are valid.`;case 401:return "Unauthorized. Please log in again.";case 403:return "Forbidden. You do not have access.";case 404:return "No match found. Did you come here using an old link?";case 429:return "Too many requests; please wait a moment, and try again.";case 500:return n.includes("frequency cap")?"Too many requests. A frequency cap error has occurred.":"We encountered an error on the server; please try again later.";default:return "We had trouble communicating with the server. Please try again later."}}};var rn$1=(function(e){return e[e.Sdk=1]="Sdk",e[e.Script=2]="Script",e[e.Pixel=3]="Pixel",e[e.Cookie=4]="Cookie",e[e.LocalStorage=5]="LocalStorage",e})(rn$1||{});var Ua=(()=>{class e{constructor(n){this.instance=n,e.instance=this.instance;}init(){}static{this.\u0275fac=function(r){return new(r||e)(Z$1(le$4))};}static{this.\u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();var yn$1=(function(e){return e[e.StrictlyNecessary=1]="StrictlyNecessary",e[e.Functional=2]="Functional",e[e.Analytics=3]="Analytics",e})(yn$1||{});var ii=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.consentCategoryId)&&(n.consentCategoryId=t.consentCategoryId),l$3(t.isAllowed)&&(n.isAllowed=t.isAllowed);}};var n_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.policyVersion)&&(n.policyVersion=t.policyVersion),l$3(t.consentExpiryDate)&&(n.consentExpiryDate=t.consentExpiryDate),l$3(t.editedDate)&&(n.editedDate=t.editedDate),l$3(t.jurisdictionState)&&(n.jurisdictionState=t.jurisdictionState),l$3(t.categories)&&(n.categories=t.categories.map(r=>new ii(r)));}};
925var os=class e extends n_{get parsedEditedDate(){return this.editedDate?or(this.editedDate):null}get isAnalyticsAllowed(){return this.categories?.find(n=>n.consentCategoryId===yn$1.Analytics)?.isAllowed??false}static fromString(t){if(!t)return null;try{let n=t.split("|");return n.length!==4?(console.warn("Cookie consent value is invalid:",t),null):new e({policyVersion:ZP(n[0]),jurisdictionState:n[1]||null,editedDate:n[2]?or(n[2])?.toISOString():null,categories:n[3].split(",").map(i=>{let o=i.split(":"),s=$y(yn$1,o[0]),a=zy(o[1]);return new ii({consentCategoryId:s,isAllowed:a})})})}catch{return console.warn("Failed to parse consent from cookie:",t),null}}toString(){let{policyVersion:t}=this,n=this.jurisdictionState||"",r=this.parsedEditedDate?this.parsedEditedDate.toISOString():"",i=this.categories?this.categories.map(o=>`${o.consentCategoryId}:${o.isAllowed?"1":"0"}`).join(","):"";return `${t}|${n}|${r}|${i}`}};var Or$1=(function(e){return e[e.High=1]="High",e[e.Low=2]="Low",e})(Or$1||{});var ss=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){if(l$3(t.consentCategoryId)&&(n.consentCategoryId=t.consentCategoryId),l$3(t.name)&&(n.name=t.name),l$3(t.description)&&(n.description=t.description),l$3(t.defaultAllowedByRiskLevel)){n.defaultAllowedByRiskLevel=Object.assign({},t.defaultAllowedByRiskLevel);for(let r in t.defaultAllowedByRiskLevel)t.defaultAllowedByRiskLevel.hasOwnProperty(r)&&(n.defaultAllowedByRiskLevel[r]=t.defaultAllowedByRiskLevel[r]);}}};var Va=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.policyVersion)&&(n.policyVersion=t.policyVersion),l$3(t.categories)&&(n.categories=t.categories.map(r=>new ss(r)));}};var r_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.policyVersion)&&(n.policyVersion=t.policyVersion),l$3(t.consentCategoryId)&&(n.consentCategoryId=t.consentCategoryId),l$3(t.isAllowed)&&(n.isAllowed=t.isAllowed),l$3(t.editedDate)&&(n.editedDate=t.editedDate),l$3(t.jurisdictionState)&&(n.jurisdictionState=t.jurisdictionState);}};var On$1={};On$1.privacy_consent=true;On$1.usessact=true;On$1.rprtntp=true;On$1.rprtn=true;On$1.snoutrn=true;On$1.snouter=true;On$1.legal_dialog=true;On$1.brsessid=true;On$1.impermult=true;On$1.userorgid=true;On$1.userassocid=true;On$1.userbrokerid=true;On$1.userbrandid=true;On$1.userofficeid=true;var EE=On$1;function po(e,t,n){let r;return e.storageKey?typeof e.storageKey=="string"?r=e.storageKey:typeof e.storageKey=="function"&&(r=e.storageKey.apply(t)):r=n,r}function su(e){return EE[e]?`${e}.${E$4.config.environment}`:e}function i_(e){return EE[e]?E$4.baseDomain:null}var Bf=(()=>{class e{constructor(){this.document=h$5(se$3),this.platformId=h$5(zi),this.documentIsAccessible=Fm(this.platformId);}static getCookieRegExp(n){let r=n.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+r+"|;\\s*"+r+")=(.*?)(?:;|$)")}static safeDecodeURIComponent(n){try{return decodeURIComponent(n)}catch{return n}}check(n){return this.documentIsAccessible?(n=encodeURIComponent(n),e.getCookieRegExp(n).test(this.document.cookie)):false}get(n){if(this.check(n)){n=encodeURIComponent(n);let i=e.getCookieRegExp(n).exec(this.document.cookie);return i?.[1]?e.safeDecodeURIComponent(i[1]):""}else return ""}getAll(){if(!this.documentIsAccessible)return {};let n={},r=this.document;return r.cookie&&r.cookie!==""&&r.cookie.split(";").forEach(i=>{let[o,s]=i.split("=");n[e.safeDecodeURIComponent(o.replace(/^ /,""))]=e.safeDecodeURIComponent(s);}),n}set(n,r,i,o,s,a,c,u){if(!this.documentIsAccessible)return;if(typeof i=="number"||i instanceof Date||o||s||a||c){let p={expires:i,path:o,domain:s,secure:a,sameSite:c||"Lax",partitioned:u};this.set(n,r,p);return}let d=encodeURIComponent(n)+"="+encodeURIComponent(r)+";",f=i||{};if(f.expires)if(typeof f.expires=="number"){let p=new Date(new Date().getTime()+f.expires*1e3*60*60*24);d+="Expires="+p.toUTCString()+";";}else d+="Expires="+f.expires.toUTCString()+";";f.path&&(d+="Path="+f.path+";"),f.domain&&(d+="Domain="+f.domain+";"),f.secure===false&&f.sameSite==="None"&&(f.secure=true,console.warn(`[ngx-cookie-service] Cookie ${n} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),f.secure&&(d+="Secure;"),f.sameSite||(f.sameSite="Lax"),d+="SameSite="+f.sameSite+";",f.partitioned&&(d+="Partitioned;"),this.document.cookie=d;}delete(n,r,i,o,s="Lax"){if(!this.documentIsAccessible)return;let a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(n,"",{expires:a,path:r,domain:i,secure:o,sameSite:s});}deleteAll(n,r,i,o="Lax"){if(!this.documentIsAccessible)return;let s=this.getAll();for(let a in s)s.hasOwnProperty(a)&&this.delete(a,n,r,i,o);}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"});}}return e})();var SB=(()=>{class e{constructor(){this.helper=h$5(ue$3);}trackPage(n,r){this.helper.skipAnalytics||(this.pushCustomDimensions(),this.helper.gaConsoleEnabled&&console.log(`GA Pageview | ${n} | ${r}`),dataLayer?.push({event:"Pageview",page_path:n,page_title:r}));}trackEvent(n,...r){if(!n||this.helper.skipAnalytics)return;let i={app_property_mode:this.appPropertyMode,event:"GA4Event",event_name:n,param_1_name:void 0,param_1_value:void 0,param_2_name:void 0,param_2_value:void 0,param_3_name:void 0,param_3_value:void 0};r?.length&&r[0]?.length>1&&r[0][0]&&(i.param_1_name=r[0][0]||void 0,i.param_1_value=r[0][1]||void 0),r?.length>1&&r[1]?.length>1&&r[1][0]&&(i.param_2_name=r[1][0]||void 0,i.param_2_value=r[1][1]||void 0),r?.length>2&&r[2]?.length>1&&r[2][0]&&(i.param_3_name=r[2][0]||void 0,i.param_3_value=r[2][1]||void 0),dataLayer?.push(i),this.helper.gaConsoleEnabled&&console.table(i);}trackPageDepthEvent(n){this.trackEvent(oI.ScrollPageDepth,[sI.ScrollDepthName,n]);}pushCustomDimensions(){let n=this.helper,r=n.userSettings;dataLayer?.push({cobrand_code:n.coBrand?.coBrandCode||void 0,org_id:this.orgId||r?.orgId||n.userOrgId||void 0,vendor_id:this.vendorId||n.vendorId||void 0,app_property_mode:this.appPropertyMode,device_model:"Website",association_id:this.associationId||r?.associationId||n.userAssociationId||void 0,brand_id:r?.brandId||n.userBrandId||void 0,broker_id:this.brokerId||r?.brokerId||n.userBrokerId||void 0,office_id:r?.officeId||n.userOfficeId||void 0});}pushUserId(){dataLayer?.push({user_id:this.helper.userName||void 0});}updatePrivacyConsent(n){let r=n?"granted":"denied";this.helper.gaConsoleEnabled&&console.log("GTM consent updated to",r),gtag("consent","update",{ad_storage:r,ad_user_data:r,ad_personalization:r,analytics_storage:r});}get appPropertyMode(){return this.helper.isCommercialMode?"Commercial":"Residential"}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var Uf=(()=>{class e{constructor(){this.$isHighRisk=Q$6(true),this.alwaysAllowedCategory=yn$1.StrictlyNecessary,this.$hasConsent=Et(()=>!!this.$consent()),this.$enforcedCategories=Et(()=>{let n=this.$consent(),r=this.$policy(),i=this.$isHighRisk();return r.categories.map(o=>{let{consentCategoryId:s,name:a,description:c}=o,u=n?.categories?.find(f=>f.consentCategoryId===o.consentCategoryId),d=o.consentCategoryId===this.alwaysAllowedCategory||(u?u.isAllowed:o.defaultAllowedByRiskLevel[i?Or$1.High:Or$1.Low]);return {consentCategoryId:s,name:a,description:c,isAllowed:d}})}
925),this.$registry=Q$6(this.getFallbackTechnologyRegistry()),this.$policy=Q$6(this.getFallbackConsentPolicy()),this.$consent=Q$6(null),this.$stateAbbr=Q$6(null),this.$cookiesRegistry=Et(()=>this.$registry().filter(n=>n.technologyTypeId===rn$1.Cookie)),this.$localStorageRegistry=Et(()=>this.$registry().filter(n=>n.technologyTypeId===rn$1.LocalStorage&&!n.storageKey?.startsWith("/"))),this.$localStorageRegexRegistry=Et(()=>this.$registry().filter(n=>n.technologyTypeId===rn$1.LocalStorage&&n.storageKey?.startsWith("/")).map(n=>(n.storageKey=n.storageKey.substring(1,n.storageKey.length-1),n))),this.miscApi=h$5(IB),this.helper=h$5(ue$3),this.analytics=h$5(SB),this.cookieService=h$5(Bf),this.consentEffect=qi(()=>{let n=this.$consent();n&&(console.log("Privacy Consent In Use:",n?.toString()||"null",this.serverConsentUserName?"(authenticated user)":"(anonymous user)"),this.analytics.updatePrivacyConsent(n.isAnalyticsAllowed&&!E$4.globalPrivacyControl));});}get user(){return this.helper.signedInUser}load$(){return this.serverConsentUserName&&this.serverConsentUserName===this.user?.userName?N$4(null):(this.serverConsentUserName=this.user?.userName,vu({registry:this.miscApi.getTechnologyRegistry().pipe(k$3(()=>N$4(null)),T$3(n=>n||this.getFallbackTechnologyRegistry())),policy:this.miscApi.getPrivacyConsentPolicy().pipe(k$3(()=>N$4(null)),T$3(n=>n||this.getFallbackConsentPolicy())),consent:this.user?this.miscApi.getPrivacyConsentPreferences().pipe(k$3(()=>N$4(null))):N$4(null)}).pipe(Ke$3(({registry:n,policy:r,consent:i})=>{this.$registry.set(n),this.$policy.set(r),i||(this.serverConsentUserName=null);let o=false,s=false,a=this.getCookieConsent(),c=i&&a?((i.parsedEditedDate?.getTime()||0)-(a.parsedEditedDate?.getTime()||0))/1e3:null,u=1;i&&(!a||a&&c>u)&&(o=true),(!i&&a||i&&a&&c<u*-1)&&(i=a,s=true),i&&i.policyVersion!==r.policyVersion&&(console.log("User consent preferences version does not match current policy version"),i=null,o=false,s=false),this.$consent.set(i),this.saveConsent(o,s);})))}ensureConsentStateLoaded(){this.loadConsentState(),this.helper.requestBrowserPosition(()=>this.loadConsentState());}acceptAll(){this.saveUserPreferences(this.$policy().categories.map(n=>new ii({consentCategoryId:n.consentCategoryId,isAllowed:true})));}rejectOptional(){this.saveUserPreferences(this.$policy().categories.map(n=>new ii({consentCategoryId:n.consentCategoryId,isAllowed:n.consentCategoryId===this.alwaysAllowedCategory})));}enableFunctional(){let n=this.$enforcedCategories().map(r=>new ii({consentCategoryId:r.consentCategoryId,isAllowed:r.consentCategoryId===yn$1.Functional?true:r.isAllowed}));this.saveUserPreferences(n);}saveUserPreferences(n){n=this.$policy().categories.map(r=>{let i=n.find(s=>s.consentCategoryId===r.consentCategoryId),o=r.consentCategoryId===this.alwaysAllowedCategory||(i?i.isAllowed:r.defaultAllowedByRiskLevel[this.$isHighRisk()?Or$1.High:Or$1.Low]);return new ii({consentCategoryId:r.consentCategoryId,isAllowed:o})}),this.$consent.set(new os({policyVersion:this.$policy().policyVersion,editedDate:new Date().toISOString(),jurisdictionState:this.$stateAbbr(),categories:n})),this.helper.functionalStoragePromptDisplayed=false,n.find(r=>r.consentCategoryId===yn$1.Functional)?.isAllowed||(this.helper.functionalStorageGpcPermissionGranted=false),this.saveConsent(true,true);}isStorageAllowed(n,r,i){let o=r===rn$1.Cookie?"Cookie":"Local/Session Storage",a=(r===rn$1.Cookie?this.$cookiesRegistry():this.$localStorageRegistry()).find(d=>d.storageKey===n);if(!a&&r===rn$1.LocalStorage&&(a=this.$localStorageRegexRegistry().find(d=>new RegExp(d.storageKey).test(n))),!a)return console.log(`${o} key ${n} is not registered, therefore allowed.`),true;if(a.consentCategoryId===this.alwaysAllowedCategory)return true;let u=this.$enforcedCategories().find(d=>d.consentCategoryId===a.consentCategoryId);return u?(this.checkForFunctionalPrompt(u.consentCategoryId,u.isAllowed,a.technologyRegistryId,n,r,i),E$4.globalPrivacyControl?!!(u.consentCategoryId===yn$1.Functional&&this.helper.functionalStorageGpcPermissionGranted):u.isAllowed):(console.warn(`Consent category ${a.consentCategoryId} associated with 926 ${o} key ${n} is not found in the current policy's categories. Assuming storage is not allowed.`),false)}getFallbackTechnologyRegistry(){return [{technologyRegistryId:63,technologyTypeId:rn$1.LocalStorage,name:"Cache Layer Build Number",description:"Used to determine whether to clear the cache layer",storageKey:"cacheLayerBuild",consentCategoryId:yn$1.StrictlyNecessary},{technologyRegistryId:64,technologyTypeId:rn$1.LocalStorage,name:"Should Clear Angular Cache",description:"Used to determine whether to clear the Angular cache",storageKey:"shouldClearAngularCache",consentCategoryId:yn$1.StrictlyNecessary},{technologyRegistryId:15,technologyTypeId:rn$1.LocalStorage,name:"Last Property Mode",description:"Used to remember the last property mode selected by user - Residential or Commercial.",storageKey:"propertyMode",consentCategoryId:yn$1.Functional}]}getFallbackConsentPolicy(){return new Va({policyVersion:0,categories:[new ss({consentCategoryId:yn$1.StrictlyNecessary,name:"Strictly Necessary",description:`Required for core functionality like security and session management. 927 These cookies and similar technologies must be enabled to use RPR.`,defaultAllowedByRiskLevel:{[Or$1.High]:true,[Or$1.Low]:true}}),new ss({consentCategoryId:yn$1.Functional,name:"Functional",description:`Used to retain your preferences and settings for a personalized experience. 928 Your experience in RPR will be degraded without enabling functional cookies and similar technologies.`,defaultAllowedByRiskLevel:{[Or$1.High]:false,[Or$1.Low]:true}}),new ss({consentCategoryId:yn$1.Analytics,name:"Analytics",description:`Used to help improve RPR for you and all REALTORS\xAE. These cookies and similar technologies 929 collect information about user behavior, measure site performance, deliver targeted or personalized content, 930 and support marketing activities so we can continually enhance the website and mobile applications.`,defaultAllowedByRiskLevel:{[Or$1.High]:false,[Or$1.Low]:true}})]})}saveConsent(n,r){if(!n&&!r)return;let i=this.$consent();if(!i){console.warn("No consent to save");return}if(!i.categories?.length){console.warn("Consent is attempted to be saved with no categories!",i);return}if(n&&this.setCookieConsent(i),r&&this.user){console.log("Saving consent to server:",i.toString());let o=i.categories.map(s=>new r_({consentCategoryId:s.consentCategoryId,isAllowed:s.isAllowed,jurisdictionState:i.jurisdictionState,editedDate:i.editedDate,policyVersion:i.policyVersion}));this.miscApi.savePrivacyConsentPreferences({items:o}).pipe(k$3(()=>(console.warn("Failed to save consent preferences to server"),N$4(null)))).subscribe();}}loadConsentState(){let n=this.helper.browserPosition,r=n?.latitude,i=n?.longitude;this.stateSubscription&&this.stateSubscription.unsubscribe(),this.stateSubscription=(r&&i?this.miscApi.determineConsentState({latitude:r,longitude:i}).pipe(k$3(()=>N$4(null))):N$4(null)).pipe(Ke$3(o=>{this.$isHighRisk.set(o?.isHighRiskState??true),this.$stateAbbr.set(o?.state||null);}),it$1(1)).subscribe();}getCookieConsent(){let n=su(ut$2.PrivacyConsent),r=this.cookieService.get(n);return os.fromString(r)}setCookieConsent(n){let r=su(ut$2.PrivacyConsent),i=i_(ut$2.PrivacyConsent),o=n.toString();console.log("Saving consent to cookie:",o),this.cookieService.set(r,o,365,"/",i,true,"Lax");}checkForFunctionalPrompt(n,r,i,o,s,a){n!==yn$1.Functional||typeof a>"u"||this.helper.functionalStoragePromptDisplayed||r&&(!E$4.globalPrivacyControl||this.helper.functionalStorageGpcPermissionGranted)||![15,62,69,77].includes(i)||(this.ensureConsentStateLoaded(),this.helper.showConfirmDialog("Permission Required",`This feature requires settings enabled to allow the RPR website to store your selection preference. 931 Do you want to update this preference?`,null,"Yes","No").pipe(Ke$3(u=>{this.helper.functionalStoragePromptDisplayed=true,E$4.globalPrivacyControl&&(this.helper.functionalStorageGpcPermissionGranted=!!u),u&&(this.enableFunctional(),s===rn$1.LocalStorage&&localStorage.setItem(o,JSON.stringify(a)),this.helper.showToastMessage({message:"Preferences updated successfully.",icon:"fa-circle-check"}));}),it$1(1)).subscribe());}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var TE="DATE:",o_=(()=>{class e{static{this.defaultStorage={getItem(n){return null},setItem(n,r){},removeItem(n){},clear(){}};}static{this.cache={};}static getValue(n,r){if(typeof this.cache[n]<"u"&&!r.omitCache)return this.cache[n];if(!this.isAllowed(n))return this.cache[n]=r.defaultValue;let i=this.storage.getItem(n);if(l$3(i)){let o;if(typeof i=="string"?o=i.startsWith(TE)?new Date(+i.substring(TE.length)):JSON.parse(i):o=i,r.parser&&(o=r.parser(o)),l$3(o))return this.cache[n]=o}return this.cache[n]=r.defaultValue}static setValue(n,r){if(!l$3(r)||r==="undefined"){this.removeValue(n);return}if(this.cache[n]=r,!!this.isAllowed(n,r))try{this.storage.setItem(n,r instanceof Date?TE+String(r.getTime()):r instanceof Error?JSON.stringify({name:r.name,message:r.message,stack:r.stack}):JSON.stringify(r));}catch(i){console.error(i);}}static removeValue(n){delete this.cache[n],this.storage.removeItem(n);}static clear(){this.cache={},this.storage.clear();}static isAllowed(n,r){return Ua.instance.get(Uf).isStorageAllowed(n,rn$1.LocalStorage,r)}}return e})();var Vf=class extends o_{static get storage(){return Ht$1.window&&Ht$1.window.localStorage||this.defaultStorage}static get size(){let t;try{t=JSON.stringify(Ht$1.window.localStorage).length;}catch{t=-1;}return t}};function Pn$1(e){return e||(e={defaultValue:null}),function(t,n){delete t[n]&&Object.defineProperty(t,n,{get:()=>Vf.getValue(po(e,t,n),e),set:r=>Vf.setValue(po(e,t,n),e.defaultValue===r?null:r),enumerable:true,configurable:true});}}var jf=x$5(TB());var as=class e{constructor(){this.temporaryCache={},this.cacheDuration=36e5,this.events=h$5(Xo),Ht$1.window&&Ht$1.window.Worker&&(this.worker=new Worker(`${iu}/workers/cache-worker.js`),this.worker.onmessage=t=>this.storeValue(t.data)),this.instance=jf.default.createInstance({name:"rpr",storeName:"cache",version:1,description:"Caches your RPR data locally s
931o that you can interact with it faster!"}),(E$4.isBrowserSafari||E$4.isMobileWebView)&&this.instance.setDriver([jf.default.LOCALSTORAGE,jf.default.INDEXEDDB,jf.default.WEBSQL]);}bootstrap(){return (this.cacheLayerBuild!==Ff||this.shouldClearAngularCache)&&(this.cacheLayerBuild=Ff,this.shouldClearAngularCache=null,this.clearAll()),this.events.on(Ti.EverySixtySeconds).subscribe(()=>this.garbageCollect())}clearAll(){return Re$1(this.instance.clear()).pipe(k$3(()=>N$4(null))).subscribe()}store(t,n,r){if(n===null)return this.instance.removeItem(t).catch(()=>N$4(null));let i=JSON.stringify(n),o=r===-1?-1:Date.now()+(r||this.cacheDuration),s=i.length>1e3;if(this.temporaryCache[t]=i,s&&this.worker)this.worker.postMessage({key:t,expires:o,json:i});else {let a=s?LZString.compressToUTF16(i):null,c=a&&i.length>a.length;this.storeValue({key:t,expires:o,value:c?a:i,useCompression:c});}return null}retrieve(t,n){let r=this.temporaryCache[t]?N$4(JSON.parse(this.temporaryCache[t])):Re$1(this.instance.getItem(t)).pipe(T$3(i=>!i||!i.expires||i.expires!==-1&&i.expires<Date.now()?null:JSON.parse(i.compressed?LZString.decompressFromUTF16(i.value):i.value)),k$3(()=>N$4(null)));return l$3(n)&&(r=r.pipe(T$3(i=>i??n))),r}retrieveAll(t,n){return new ae$3(r=>{let i=new Array;this.instance.iterate((o,s,a)=>{if(!n&&s===t||n&&s.indexOf(t)>-1){let c=JSON.parse(o.compressed?LZString.decompressFromUTF16(o.value):o.value);i.push(c);}}).then(()=>{r.next(i),r.complete();});})}clear(t){return Re$1(this.instance.removeItem(t)).pipe(k$3(()=>N$4(null)))}garbageCollect(){this.instance.iterate((t,n,r)=>{t?.expires!==-1&&(!t?.expires||t.expires<=Date.now())&&(console.log(`Garbage collecting cache key: ${n}`),this.instance.removeItem(n));}).catch(()=>null);}storeValue(t){this.instance.setItem(t.key,{expires:t.expires,value:t.value,compressed:t.useCompression}).catch(()=>null).then(()=>{this.temporaryCache[t.key]=null;});}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}};Se$3([Pn$1()],as.prototype,"cacheLayerBuild",void 0);Se$3([Pn$1()],as.prototype,"shouldClearAngularCache",void 0);var s_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.orgId_1)&&(n.orgId_1=t.orgId_1),l$3(t.orgId_2)&&(n.orgId_2=t.orgId_2),l$3(t.orgId_3)&&(n.orgId_3=t.orgId_3),l$3(t.hasProfileImage)&&(n.hasProfileImage=t.hasProfileImage),l$3(t.hasLogoImage)&&(n.hasLogoImage=t.hasLogoImage),l$3(t.accountCreated)&&(n.accountCreated=t.accountCreated),l$3(t.lastActivity)&&(n.lastActivity=t.lastActivity),l$3(t.loginEmail)&&(n.loginEmail=t.loginEmail),l$3(t.firstName)&&(n.firstName=t.firstName),l$3(t.lastName)&&(n.lastName=t.lastName),l$3(t.nrdsLastName)&&(n.nrdsLastName=t.nrdsLastName),l$3(t.nrdsId)&&(n.nrdsId=t.nrdsId),l$3(t.nrdsMemberType)&&(n.nrdsMemberType=t.nrdsMemberType),l$3(t.userType)&&(n.userType=t.userType),l$3(t.brandId)&&(n.brandId=t.brandId),l$3(t.brokerId)&&(n.brokerId=t.brokerId),l$3(t.officeId)&&(n.officeId=t.officeId),l$3(t.isLinkedToZipForm)&&(n.isLinkedToZipForm=t.isLinkedToZipForm),l$3(t.currentListingCount)&&(n.currentListingCount=t.currentListingCount),l$3(t.previousListingCount)&&(n.previousListingCount=t.previousListingCount);}};var cs=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.emailTypeId)&&(n.emailTypeId=t.emailTypeId),l$3(t.address)&&(n.address=t.address),l$3(t.isPrimary)&&(n.isPrimary=t.isPrimary);}};var ls=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.faxTypeId)&&(n.faxTypeId=t.faxTypeId),l$3(t.number)&&(n.number=t.number),l$3(t.isPrimary)&&(n.isPrimary=t.isPrimary);}};var us=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.phoneTypeId)&&(n.phoneTypeId=t.phoneTypeId),l$3(t.number)&&(n.number=t.number),l$3(t.isPrimary)&&(n.isPrimary=t.isPrimary);}};var au=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.socialMediaTypeId)&&(n.socialMediaTypeId=t.socialMediaTypeId),l$3(t.accountId)&&(n.accountId=t.accountId),l$3(t.isPrimary)&&(n.isPrimary=t.isPrimary);}};var ds=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.websiteTypeId)&&(n.websiteTypeId=t.websiteTypeId),l$3(t.url)&&(n.url=t.url),l$3(t.isPrimary)&&(n.isPrimary=t.isPrimary);}};var cu=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.contactId)&&(n.contactId=t.contactId),l$3(t.contactTypeId)&&(n.contactTypeId=t.contactTypeId),l$3(t.firstName)&&(n.firstName=t.firstName),l$3(t.lastName)&&(n.lastName=t.lastName),l$3(t.title)&&(n.title=t.title),l$3(t.address)&&(n.address=new nn$1(t.address)),l$3(t.phones)&&(n.phones=t.phones.map(r=>new us(r))),l$3(t.faxes)&&(n.faxes=t.faxes.map(r=>new ls(r))),l$3(t.emails)&&(n.emails=t.emails.map(r=>new cs(r))),l$3(t.websites)&&(n.websites=t.websites.map(r=>new ds(r))),l$3(t.socialMedias)&&(n.socialMedias=t.socialMedias.map(r=>new au(r))),l$3(t.fullName)&&(n.fullName=t.fullName),l$3(t.photoFullSizeUrl)&&(n.photoFullSizeUrl=t.photoFullSizeUrl),l$3(t.photoThumbnailUrl)&&(n.photoThumbnailUrl=t.photoThumbnailUrl),l$3(t.photoIconUrl)&&(n.photoIconUrl=t.photoIconUrl),l$3(t.logoFullSizeUrl)&&(n.logoFullSizeUrl=t.logoFullSizeUrl),l$3(t.logoThumbnailUrl)&&(n.logoThumbnailUrl=t.logoThumbnailUrl),l$3(t.primaryEmailAddress)&&(n.primaryEmailAddress=t.primaryEmailAddress),l$3(t.primaryPhoneNumber)&&(n.primaryPhoneNumber=t.primaryPhoneNumber);}};var a_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.stateAbbreviationLookups)&&(n.stateAbbreviationLookups=t.stateAbbreviationLookups.map(r=>new Fa(r))),l$3(t.phoneTypeLookups)&&(n.phoneTypeLookups=t.phoneTypeLookups.map(r=>new Vn$1(r))),l$3(t.faxTypeLookups)&&(n.faxTypeLookups=t.faxTypeLookups.map(r=>new Vn$1(r))),l$3(t.emailTypeLookups)&&(n.emailTypeLookups=t.emailTypeLookups.map(r=>new Vn$1(r))),l$3(t.websiteTypeLookups)&&(n.websiteTypeLookups=t.websiteTypeLookups.map(r=>new Vn$1(r))),l$3(t.licenseTypesLookups)&&(n.licenseTypesLookups=t.licenseTypesLookups.map(r=>new Vn$1(r))),l$3(t.timeZoneLookups)&&(n.timeZoneLookups=t.timeZoneLookups.map(r=>new Fa(r)));}};var lu=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.state)&&(n.state=t.state),l$3(t.licenseNumber)&&(n.licenseNumber=t.licenseNumber),l$3(t.licenseTypeId)&&(n.licenseTypeId=t.licenseTypeId);}}
931;var Hf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.errors)&&(n.errors=t.errors.slice()),l$3(t.isRealtorAssistantAccessDisallowed)&&(n.isRealtorAssistantAccessDisallowed=t.isRealtorAssistantAccessDisallowed);}};var c_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.index)&&(n.index=t.index),l$3(t.isDisplayedAsEllipsis)&&(n.isDisplayedAsEllipsis=t.isDisplayedAsEllipsis),l$3(t.displayText)&&(n.displayText=t.displayText);}};var uu=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.displayCharCount)&&(n.displayCharCount=t.displayCharCount),l$3(t.currentPageSize)&&(n.currentPageSize=t.currentPageSize),l$3(t.itemsCount)&&(n.itemsCount=t.itemsCount),l$3(t.currentPageIndex)&&(n.currentPageIndex=t.currentPageIndex),l$3(t.hasItems)&&(n.hasItems=t.hasItems),l$3(t.firstPageIndex)&&(n.firstPageIndex=t.firstPageIndex),l$3(t.lastPageIndex)&&(n.lastPageIndex=t.lastPageIndex),l$3(t.previousPageIndex)&&(n.previousPageIndex=t.previousPageIndex),l$3(t.nextPageIndex)&&(n.nextPageIndex=t.nextPageIndex),l$3(t.pageIndexes)&&(n.pageIndexes=t.pageIndexes.map(r=>new c_(r))),l$3(t.showNextPage)&&(n.showNextPage=t.showNextPage);}};var du=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.data)&&(n.data=t.data.slice()),l$3(t.columns)&&(n.columns=t.columns.slice()),l$3(t.paging)&&(n.paging=new uu(t.paging));}};var l_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.modifiedByLogonEmail)&&(n.modifiedByLogonEmail=t.modifiedByLogonEmail),l$3(t.modifiedDateTime)&&(n.modifiedDateTime=t.modifiedDateTime),l$3(t.modifiedByFullName)&&(n.modifiedByFullName=t.modifiedByFullName);}};var $f=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.isIncludedOnReports)&&(n.isIncludedOnReports=t.isIncludedOnReports),l$3(t.contact)&&(n.contact=new cu(t.contact)),l$3(t.contactOfficeName)&&(n.contactOfficeName=t.contactOfficeName),l$3(t.publicMessage)&&(n.publicMessage=t.publicMessage),l$3(t.internalMessage)&&(n.internalMessage=t.internalMessage),l$3(t.moreInfoUrl)&&(n.moreInfoUrl=t.moreInfoUrl),l$3(t.areAllOfficesSelected)&&(n.areAllOfficesSelected=t.areAllOfficesSelected),l$3(t.auditEntries)&&(n.auditEntries=t.auditEntries.map(r=>new l_(r))),l$3(t.isExpanded)&&(n.isExpanded=t.isExpanded),l$3(t.logoFullSizeUrl)&&(n.logoFullSizeUrl=t.logoFullSizeUrl),l$3(t.logoThumbnailUrl)&&(n.logoThumbnailUrl=t.logoThumbnailUrl),l$3(t.serviceModuleId)&&(n.serviceModuleId=t.serviceModuleId),l$3(t.serviceModuleStatusId)&&(n.serviceModuleStatusId=t.serviceModuleStatusId),l$3(t.name)&&(n.name=t.name),l$3(t.optedOutOffices)&&
931(n.optedOutOffices=new du(t.optedOutOffices)),l$3(t.optedOutUsers)&&(n.optedOutUsers=new du(t.optedOutUsers)),l$3(t.offices)&&(n.offices=new du(t.offices)),l$3(t.officeCount)&&(n.officeCount=t.officeCount),l$3(t.tabularOffices)&&(n.tabularOffices=t.tabularOffices.slice()),l$3(t.logoDataUrl)&&(n.logoDataUrl=t.logoDataUrl),l$3(t.contactPhotoDataUrl)&&(n.contactPhotoDataUrl=t.contactPhotoDataUrl),l$3(t.brandName)&&(n.brandName=t.brandName);}};var zf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.value)&&(n.value=t.value),l$3(t.description)&&(n.description=t.description);}};var fs=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.recentlyClosedWithinDurationInDays)&&(n.recentlyClosedWithinDurationInDays=t.recentlyClosedWithinDurationInDays),l$3(t.activeNewWithinDurationInDays)&&(n.activeNewWithinDurationInDays=t.activeNewWithinDurationInDays);}};var u_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.activeNewWithinChoiceLookups)&&(n.activeNewWithinChoiceLookups=t.activeNewWithinChoiceLookups.map(r=>new zf(r))),l$3(t.recentlyClosedWithinChoiceLookups)&&(n.recentlyClosedWithinChoiceLookups=t.recentlyClosedWithinChoiceLookups.map(r=>new zf(r))),l$3(t.defaultResidentialUserPropertyStatusDurationSettings)&&(n.defaultResidentialUserPropertyStatusDurationSettings=new fs(t.defaultResidentialUserPropertyStatusDurationSettings)),l$3(t.defaultCommercialUserPropertyStatusDurationSettings)&&(n.defaultCommercialUserPropertyStatusDurationSettings=new fs(t.defaultCommercialUserPropertyStatusDurationSettings));}};var d_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.hasSingleSessionUserBeenSignedInElsewhere)&&(n.hasSingleSessionUserBeenSignedInElsewhere=t.hasSingleSessionUserBeenSignedInElsewhere),l$3(t.singleSessionSignInToken)&&(n.singleSessionSignInToken=t.singleSessionSignInToken);}};var f_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.name)&&(n.name=t.name),l$3(t.state)&&(n.state=t.state),l$3(t.weShareOnMarket)&&(n.weShareOnMarket=t.weShareOnMarket),l$3(t.weShareOffMarket)&&(n.weShareOffMarket=t.weShareOffMarket),l$3(t.weShareAdditionalInfo)&&(n.weShareAdditionalInfo=t.weShareAdditionalInfo),l$3(t.theyShareOnMarket)&&(n.theyShareOnMarket=t.theyShareOnMarket),l$3(t.theyShareOffMarket)&&(n.theyShareOffMarket=t.theyShareOffMarket),l$3(t.theyShareAdditionalInfo)&&(n.theyShareAdditionalInfo=t.theyShareAdditionalInfo),l$3(t.coveredCountiesCount)&&(n.coveredCountiesCount=t.coveredCountiesCount),l$3(t.coveredCounties)&&(n.coveredCounties=t.coveredCounties);}};var p_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.sharingInfo)&&(n.sharingInfo=t.sharingInfo.map(r=>new f_(r))),l$3(t.defaultState)&&(n.defaultState=t.defaultState);}};var h_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.firstName)&&(n.firstName=t.firstName),l$3(t.lastName)&&(n.lastName=t.lastName),l$3(t.title)&&(n.title=t.title),l$3(t.phones)&&(n.phones=t.phones.map(r=>new us(r))),l$3(t.faxes)&&(n.faxes=t.faxes.map(r=>new ls(r))),l$3(t.emails)&&(n.emails=t.emails.map(r=>new cs(r))),l$3(t.websites)&&(n.websites=t.websites.map(r=>new ds(r))),l$3(t.photoFullSizeUrl)&&(n.photoFullSizeUrl=t.photoFullSizeUrl),l$3(t.photoThumbnailUrl)&&(n.photoThumbnailUrl=t.photoThumbnailUrl),l$3(t.logoFullSizeUrl)&&(n.logoFullSizeUrl=t.logoFullSizeUrl),l$3(t.logoThumbnailUrl)&&(n.logoThumbnailUrl=t.logoThumbnailUrl),l$3(t.businessName)&&(n.businessName=t.businessName),l$3(t.businessAddress)&&(n.businessAddress=new nn$1(t.businessAddress));}};var m_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.name)&&(n.name=t.name),l$3(t.logoImageFile)&&(n.logoImageFile=t.logoImageFile),l$3(t.linkUrl)&&(n.linkUrl=t.linkUrl),l$3(t.linkText)&&(n.linkText=t.linkText),l$3(t.hasInterstitial)&&(n.hasInterstitial=t.hasInterstitial),l$3(t.interstitialPrimaryCtaText)&&(n.interstitialPrimaryCtaText=t.interstitialPrimaryCtaText),l$3(t.ssoCode)&&(n.ssoCode=t.ssoCode),l$3(t.isNew)&&(n.isNew=t.isNew),l$3(t.isUserLinked)&&(n.isUserLinked=t.isUserLinked),l$3(t.userLinkCreatedDateTime)&&(n.userLinkCreatedDateTime=t.userLinkCreatedDateTime),l$3(t.confirmUserLinkDialogUrl)&&(n.confirmUserLinkDialogUrl=t.confirmUserLinkDialogUrl);}};var g_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.createdDateTime)&&(n.createdDateTime=t.createdDateTime),l$3(t.createdBy)&&(n.createdBy=t.createdBy),l$3(t.lastModifiedDateTime)&&(n.lastModifiedDateTime=t.lastModifiedDateTime),l$3(t.lastModifiedBy)&&(n.lastModifiedBy=t.lastModifiedBy);}};var y_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.deviceId)&&(n.deviceId=t.deviceId),l$3(t.deviceName)&&(n.deviceName=t.deviceName),l$3(t.isLinked)&&(n.isLinked=t.isLinked),l$3(t.audit)&&(n.audit=new g_(t.audit));}};var v_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.associationId)&&(n.associationId=t.associationId),l$3(t.isExcluded)&&(n.isExcluded=t.isExcluded);}};var __=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.officeId)&&(n.officeId=t.officeId),l$3(t.isExcluded)&&(n.isExcluded=t.isExcluded);}};var b_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.isExcluded)&&(n.isExcluded=t.isExcluded);}};var D_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.agentId)&&(n.agentId=t.agentId),l$3(t.isValid)&&(n.isValid=t.isValid),l$3(t.officeId)&&(n.officeId=t.officeId);}};var ja=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.name)&&(n.name=t.name),l$3(t.address)&&(n.address=new nn$1(t.address));}};var w_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.userName)&&(n.userName=t.userName),l$3(t.preferredOrgId)&&(n.preferredOrgId=t.preferredOrgId),l$3(t.adminOverrid
931denOrgs)&&(n.adminOverriddenOrgs=t.adminOverriddenOrgs.map(r=>new b_(r))),l$3(t.orgAgents)&&(n.orgAgents=t.orgAgents.map(r=>new D_(r))),l$3(t.preferredAssociationId)&&(n.preferredAssociationId=t.preferredAssociationId),l$3(t.adminOverriddenAssociations)&&(n.adminOverriddenAssociations=t.adminOverriddenAssociations.map(r=>new v_(r))),l$3(t.areRosterOfficesIgnored)&&(n.areRosterOfficesIgnored=t.areRosterOfficesIgnored),l$3(t.primaryOfficeId)&&(n.primaryOfficeId=t.primaryOfficeId),l$3(t.adminOverriddenOffices)&&(n.adminOverriddenOffices=t.adminOverriddenOffices.map(r=>new __(r))),l$3(t.officeProfile)&&(n.officeProfile=new ja(t.officeProfile)),l$3(t.isOfficeBrandIgnored)&&(n.isOfficeBrandIgnored=t.isOfficeBrandIgnored),l$3(t.brandId)&&(n.brandId=t.brandId),l$3(t.brandProfile)&&(n.brandProfile=new ja(t.brandProfile)),l$3(t.realEstateLicenses)&&(n.realEstateLicenses=t.realEstateLicenses.map(r=>new lu(r))),l$3(t.canOverrideOfficeProfile)&&(n.canOverrideOfficeProfile=t.canOverrideOfficeProfile),l$3(t.isOfficeProfileOverridden)&&(n.isOfficeProfileOverridden=t.isOfficeProfileOverridden),l$3(t.overriddenOfficeProfile)&&(n.overriddenOfficeProfile=new ja(t.overriddenOfficeProfile)),l$3(t.wasOfficeProfileOverriddenByAdmin)&&(n.wasOfficeProfileOverriddenByAdmin=t.wasOfficeProfileOverriddenByAdmin),l$3(t.isBrandProfileOverridden)&&(n.isBrandProfileOverridden=t.isBrandProfileOverridden),l$3(t.canOverrideBrandProfile)&&(n.canOverrideBrandProfile=t.canOverrideBrandProfile),l$3(t.isBrandAdminOverridden)&&(n.isBrandAdminOverridden=t.isBrandAdminOverridden),l$3(t.overriddenBrandProfile)&&(n.overriddenBrandProfile=new ja(t.overriddenBrandProfile)),l$3(t.wasBrandProfileOverriddenByAdmin)&&(n.wasBrandProfileOverriddenByAdmin=t.wasBrandProfileOverriddenByAdmin),l$3(t.isBrandDisconnectedFromOffice)&&(n.isBrandDisconnectedFromOffice=t.isBrandDisconnectedFromOffice),l$3(t.isRealtorAssistantAccessDisallowed)&&(n.isRealtorAssistantAccessDisallowed=t.isRealtorAssistantAccessDisallowed);}};var C_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.isAdminOverride)&&(n.isAdminOverride=t.isAdminOverride),l$3(t.isExcluded)&&(n.isExcluded=t.isExcluded),l$3(t.isOnRoster)&&(n.isOnRoster=t.isOnRoster),l$3(t.isStateAssociation)&&(n.isStateAssociation=t.isStateAssociation),l$3(t.associationId)&&(n.associationId=t.associationId),l$3(t.name)&&(n.name=t.name),l$3(t.shortName)&&(n.shortName=t.shortName),l$3(t.statusId)&&(n.statusId=t.statusId),l$3(t.associationType)&&(n.associationType=t.associationType),l$3(t.statePlaceId)&&(n.statePlaceId=t.statePlaceId),l$3(t.regionId)&&(n.regionId=t.regionId),l$3(t.state)&&(n.state=t.state),l$3(t.statusDescription)&&(n.statusDescription=t.statusDescription),l$3(t.associationTypeDescription)&&(n.associationTypeDescription=t.associationTypeDescription),l$3(t.regionDescription)&&(n.regionDescription=t.regionDescription),l$3(t.salesForceAccountId)&&(n.salesForceAccountId=t.salesForceAccountId);}};var S_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.auditType)&&(n.auditType=t.auditType),l$3(t.changeDescription)&&(n.changeDescription=t.changeDescription),l$3(t.reason)&&(n.reason=t.reason),l$3(t.userAccountSharingStatusId)&&(n.userAccountSharingStatusId=t.userAccountSharingStatusId),l$3(t.roleName)&&(n.roleName=t.roleName),l$3(t.isRoleAdd)&&(n.isRoleAdd=t.isRoleAdd),l$3(t.noAgentIdName)&&(n.noAgentIdName=t.noAgentIdName),l$3(t.noAgentIdOrgIds)&&(n.noAgentIdOrgIds=t.noAgentIdOrgIds.slice()),l$3(t.noAgentIdComment)&&(n.noAgentIdComment=t.noAgentIdComment),l$3(t.modifiedByIpAddress)&&(n.modifiedByIpAddress=t.modifiedByIpAddress),l$3(t.modifiedByUserAgent)&&(n.modifiedByUserAgent=t.modifiedByUserAgent),l$3(t.modifiedDateTime)&&(n.modifiedDateTime=t.modifiedDateTime),l$3(t.modifiedByFullName)&&(n.modifiedByFullName=t.modifiedByFullName),l$3(t.targetUserFullName)&&(n.targetUserFullName=t.targetUserFullName);}};var I_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.serviceModuleStatusDescription)&&(n.serviceModuleStatusDescription=t.serviceModuleStatusDescription),l$3(t.isAssignedToOffice)&&(n.isA
931ssignedToOffice=t.isAssignedToOffice),l$3(t.hasOfficeOptedOut)&&(n.hasOfficeOptedOut=t.hasOfficeOptedOut),l$3(t.isOptedOut)&&(n.isOptedOut=t.isOptedOut),l$3(t.optOutRequestedBy)&&(n.optOutRequestedBy=t.optOutRequestedBy),l$3(t.serviceModuleId)&&(n.serviceModuleId=t.serviceModuleId),l$3(t.name)&&(n.name=t.name);}};var E_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.userName)&&(n.userName=t.userName),l$3(t.userType)&&(n.userType=t.userType),l$3(t.hasAgreedToTermsOfUseAndPrivacyPolicy)&&(n.hasAgreedToTermsOfUseAndPrivacyPolicy=t.hasAgreedToTermsOfUseAndPrivacyPolicy),l$3(t.team)&&(n.team=t.team),l$3(t.isSingleSessionSignInDisabled)&&(n.isSingleSessionSignInDisabled=t.isSingleSessionSignInDisabled),l$3(t.isFrequencyCappingDisabled)&&(n.isFrequencyCappingDisabled=t.isFrequencyCappingDisabled),l$3(t.isOnRprUpdatesMailingList)&&(n.isOnRprUpdatesMailingList=t.isOnRprUpdatesMailingList),l$3(t.assistantAgentId)&&(n.assistantAgentId=t.assistantAgentId),l$3(t.expirationDate)&&(n.expirationDate=t.expirationDate),l$3(t.isTemporary)&&(n.isTemporary=t.isTemporary),l$3(t.userAuditEntries)&&(n.userAuditEntries=t.userAuditEntries.map(r=>new S_(r))),l$3(t.disableActivityTracking)&&(n.disableActivityTracking=t.disableActivityTracking),l$3(t.unlimitedDevices)&&(n.unlimitedDevices=t.unlimitedDevices),l$3(t.timeZoneInfoId)&&(n.timeZoneInfoId=t.timeZoneInfoId),l$3(t.isCurrentlyBlockedByFrequencyCapping)&&(n.isCurrentlyBlockedByFrequencyCapping=t.isCurrentlyBlockedByFrequencyCapping),l$3(t.ssoLastLoginDateTime)&&(n.ssoLastLoginDateTime=t.ssoLastLoginDateTime),l$3(t.preferredOrgId)&&(n.preferredOrgId=t.preferredOrgId),l$3(t.preferredAssociationId)&&(n.preferredAssociationId=t.preferredAssociationId),l$3(t.associationLookups)&&(n.associationLookups=t.associationLookups.map(r=>new C_(r))),l$3(t.primaryOfficeId)&&(n.primaryOfficeId=t.primaryOfficeId),l$3(t.brandId)&&(n.brandId=t.brandId),l$3(t.userServiceModules)&&(n.userServiceModules=t.userServiceModules.map(r=>new I_(r))),l$3(t.isRealtorUser)&&(n.isRealtorUser=t.isRealtorUser),l$3(t.isRealtorAssistantUser)&&(n.isRealtorAssistantUser=t.isRealtorAssistantUser),l$3(t.isStaffUser)&&(n.isStaffUser=t.isStaffUser),l$3(t.contactTypeId)&&(n.contactTypeId=t.contactTypeId),l$3(t.firstName)&&(n.firstName=t.firstName),l$3(t.lastName)&&(n.lastName=t.lastName),l$3(t.title)&&(n.title=t.title),l$3(t.address)&&(n.address=new nn$1(t.address)),l$3(t.phones)&&(n.phones=t.phones.map(r=>new us(r))),l$3(t.faxes)&&(n.faxes=t.faxes.map(r=>new ls(r))),l$3(t.emails)&&(n.emails=t.emails.map(r=>new cs(r))),l$3(t.websites)&&(n.websites=t.websites.map(r=>new ds(r))),l$3(t.socialMedias)&&(n.socialMedias=t.socialMedias.map(r=>new au(r))),l$3(t.fullName)&&(n.fullName=t.fullName),l$3(t.primaryPhoneNumber)&&(n.primaryPhoneNumber=t.primaryPhoneNumber),l$3(t.photoFullSizeUrl)&&(n.photoFullSizeUrl=t.photoFullSizeUrl),l$3(t.photoThumbnailUrl)&&(n.photoThumbnailUrl=t.photoThumbnailUrl),l$3(t.photoIconUrl)&&(n.photoIconUrl=t.photoIconUrl),l$3(t.logoFullSizeUrl)&&(n.logoFullSizeUrl=t.logoFullSizeUrl),l$3(t.logoThumbnailUrl)&&(n.logoThumbnailUrl=t.logoThumbnailUrl),l$3(t.primaryEmailAddress)&&(n.primaryEmailAddress=t.primaryEmailAddress);}};var T_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.isPreferred)&&(n.isPreferred=t.isPreferred),l$3(t.orgName)&&(n.orgName=t.orgName),l$3(t.orgStatusType)&&(n.orgStatusType=t.orgStatusType),l$3(t.agentIdCssClass)&&(n.agentIdCssClass=t.agentIdCssClass),l$3(t.isXButtonEnabled)&&(n.isXButtonEnabled=t.isXButtonEnabled),l$3(t.isAdminOverride)&&(n.isAdminOverride=t.isAdminOverride),l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.agentId)&&(n.agentId=t.agentId),l$3(t.isValid)&&(n.isValid=t.isValid),l$3(t.officeId)&&(n.officeId=t.officeId);}};var x_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.user)&&(n.user=new E_(t.user)),l$3(t.realtor)&&(n.realtor=ne
931w w_(t.realtor)),l$3(t.nrdsId)&&(n.nrdsId=t.nrdsId),l$3(t.nrdsLastName)&&(n.nrdsLastName=t.nrdsLastName),l$3(t.loginEmail)&&(n.loginEmail=t.loginEmail),l$3(t.designationCodes)&&(n.designationCodes=t.designationCodes.slice()),l$3(t.allowBrandOfficeEdit)&&(n.allowBrandOfficeEdit=t.allowBrandOfficeEdit),l$3(t.assistantUsers)&&(n.assistantUsers=t.assistantUsers.slice()),l$3(t.devices)&&(n.devices=t.devices.map(r=>new y_(r))),l$3(t.maxAssistantCount)&&(n.maxAssistantCount=t.maxAssistantCount),l$3(t.maxDevicesCount)&&(n.maxDevicesCount=t.maxDevicesCount),l$3(t.webOrgAgents)&&(n.webOrgAgents=t.webOrgAgents.map(r=>new T_(r))),l$3(t.connectedApps)&&(n.connectedApps=t.connectedApps.map(r=>new m_(r))),l$3(t.deviceUpdateDuration)&&(n.deviceUpdateDuration=t.deviceUpdateDuration),l$3(t.deviceExpirationDate)&&(n.deviceExpirationDate=t.deviceExpirationDate),l$3(t.bioGeneratorEnabled)&&(n.bioGeneratorEnabled=t.bioGeneratorEnabled);}};var M_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.marketAreaId)&&(n.marketAreaId=t.marketAreaId),l$3(t.propertyMode)&&(n.propertyMode=t.propertyMode),l$3(t.placeId)&&(n.placeId=t.placeId),l$3(t.marketName)&&(n.marketName=t.marketName),l$3(t.isDefault)&&(n.isDefault=t.isDefault);}};var R_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.residentialUserPropertyStatusDurationSettings)&&(n.residentialUserPropertyStatusDurationSettings=new fs(t.residentialUserPropertyStatusDurationSettings)),l$3(t.commercialUserPropertyStatusDurationSettings)&&(n.commercialUserPropertyStatusDurationSettings=new fs(t.commercialUserPropertyStatusDurationSettings)),l$3(t.marketAreas)&&(n.marketAreas=t.marketAreas.map(r=>new M_(r))),l$3(t.userType)&&(n.userType=t.userType),l$3(t.bioGeneratorEnabled)&&(n.bioGeneratorEnabled=t.bioGeneratorEnabled);}};var A_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.userName)&&(n.userName=t.userName),l$3(t.fullName)&&(n.fullName=t.fullName),l$3(t.expirationDate)&&(n.expirationDate=t.expirationDate);}};var fu=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.reportSoundNotificationsDisabled)&&(n.reportSoundNotificationsDisabled=t.reportSoundNotificationsDisabled),l$3(t.defaultCentroid)&&(n.defaultCentroid=new De$2(t.defaultCentroid)),l$3(t.orgId)&&(n.orgId=t.orgId),l$3(t.associationId)&&(n.associationId=t.associationId),l$3(t.brokerId)&&(n.brokerId=t.brokerId),l$3(t.brandId)&&(n.brandId=t.brandId),l$3(t.officeId)&&(n.officeId=t.officeId),l$3(t.hasDisallowedAssistants)&&(n.hasDisallowedAssistants=t.hasDisallowedAssistants),l$3(t.hasDisallowedAssistantsNoticeBeenDisplayed)&&(n.hasDisallowedAssistantsNoticeBeenDisplayed=t.hasDisallowedAssistantsNoticeBeenDisplayed),l$3(t.hasInvalidAgentIds)&&(n.hasInvalidAgentIds=t.hasInvalidAgentIds),l$3(t.assistantsAboutToExpire)&&(n.assistantsAboutToExpire=t.assistantsAboutToExpire.map(r=>new A_(r)));}};var N_=(()=>{class e extends ou{constructor(){super(...arguments),this.name="Users",this.apiHeaders=h$5(e_),this.http=h$5(Jc),this.cacheLayer=h$5(as),this.helper=h$5(ue$3);}changePassword(n){let r=E$4.apiBaseUrl+"/users/password";return this.http.request("POST",r,{body:JSON.stringify(n.passwords?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(o=>o??null),k$3(o=>this.handleError(o)))}createStaffUser(n){let r=E$4.apiBaseUrl+"/users/staff-users",i=[];return l$3(n.userType)&&i.push("userType="+encodeURIComponent(String(n.userType))),l$3(n.entityId)&&i.push("entityId="+encodeURIComponent(String(n.entity
931Id))),l$3(n.email)&&i.push("email="+encodeURIComponent(String(n.email))),l$3(n.firstName)&&i.push("firstName="+encodeURIComponent(String(n.firstName))),l$3(n.lastName)&&i.push("lastName="+encodeURIComponent(String(n.lastName))),l$3(n.phone)&&i.push("phone="+encodeURIComponent(String(n.phone))),l$3(n.assistantAgentId)&&i.push("assistantAgentId="+encodeURIComponent(String(n.assistantAgentId))),l$3(n.customMessage)&&i.push("customMessage="+encodeURIComponent(String(n.customMessage))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}deleteDevice(n){let r=E$4.apiBaseUrl+"/users/devices",i=[];return l$3(n.deviceId)&&i.push("deviceId="+encodeURIComponent(String(n.deviceId))),i.length&&(r+="?"+i.join("&")),this.http.request("DELETE",r,{headers:this.apiHeaders.getApiHeaders("DELETE",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}deleteSingleSessionSignInToken(n){let r=E$4.apiBaseUrl+"/users/single-session-sign-in-token",i=[];return l$3(n.site)&&i.push("site="+encodeURIComponent(String(n.site))),l$3(n.token)&&i.push("token="+encodeURIComponent(String(n.token))),i.length&&(r+="?"+i.join("&")),this.http.request("DELETE",r,{headers:this.apiHeaders.getApiHeaders("DELETE",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}deleteUser(n){let r=E$4.apiBaseUrl+"/users",i=[];return l$3(n.userName)&&i.push("userName="+encodeURIComponent(String(n.userName))),i.length&&(r+="?"+i.join("&")),this.http.request("DELETE",r,{headers:this.apiHeaders.getApiHeaders("DELETE",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}findAssistants(n){let r=E$4.apiBaseUrl+"/users/assistants",i=[];return l$3(n.userKeyword)&&i.push("userKeyword="+encodeURIComponent(String(n.userKeyword))),l$3(n.sortColumnId)&&i.push("sortColumnId="+encodeURIComponent(String(n.sortColumnId))),l$3(n.sortDirection)&&i.push("sortDirection="+encodeURIComponent(String(n.sortDirection))),l$3(n.pageIndex)&&i.push("pageIndex="+encodeURIComponent(String(n.pageIndex))),l$3(n.pageSize)&&i.push("pageSize="+encodeURIComponent(String(n.pageSize))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}generateSamplePassword(){let n=E$4.apiBaseUrl+"/users/passwords/sample";return this.http.request("POST",n,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(i=>i==null?null:JSON.parse(i)),k$3(i=>this.handleError(i)))}getAppcuesData(){let n=E$4.apiBaseUrl+"/users/appcues-data";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:s_.fromJSON(i)),k$3(i=>this.handleError(i)))}getAssistantRealtorAccessToken(){let n=E$4.apiBaseUrl+"/users/tokens/assistants-realtor";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"text"}).pipe(T$3(i=>i==null?null:JSON.parse(i)),k$3(i=>this.handleError(i)))}getBrandServiceModules(n,r,i){if(!sr(n.userName))throw new Error("userName parameter is not supplied for the getBrandServiceModules method.");let o=E$4.apiBaseUrl+`/users/${n.userName}/brand-service-modules`,s=this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),r),responseType:"json"}).pipe(T$3(a=>((a||i&&a===null)&&this.cacheLayer.store(o,a||"-null-"),a==null?null:a.map($f.fromJSON))),k$3(a=>this.handleError(a)));return (r?this.cacheLayer.clear(o):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(o)),Be(a=>a?typeof a=="string"&&a==="-null-"?N$4(null):N$4(a.map($f.fromJSON)):s))}getImpersonatedUserAccessToken(n){let r=E$4.apiBaseUrl+"/users/tokens/impersonated-user",i=[];return l$3(n.impersonatedLoginEmail)&&i.push("impersonatedLoginEmail="+encodeURIComponent(String(n.impersonatedLoginEmail))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getOrgStateLookups(){let n=E$4.apiBaseUrl+"/users/lookups/orgs/states";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:i.map(Vn$1.fromJSON)),k$3(i=>this.handleError(i)))}getProfileCardData(){let n=E$4.apiBaseUrl+"/users/profile-card";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:h_.fromJSON(i)),k$3(i=>this.handleError(i)))}getProfilePageData(){let n=E$4.apiBaseUrl+"/users/profile";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(i=>i==null?null:x_.fromJSON(i)),k$3(i=>this.handleError(i)))}getProfilePageLookups(){let n=E$4.apiBaseUrl+"/users/profile/lookups";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(i=>i==null?null:a_.fromJSON(i)),k$3(i=>this.handleError(i)))}getRealEstateLicense(n){let r=E$4.apiBaseUrl+"/users/re-license",i=[];return l$3(n.orgId)&&i.push("orgId="+encodeURIComponent(String(n.orgId))),l$3(n.agentId)&&i.push("agentId="+encodeURIComponent(String(n.agentId))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:lu.fromJSON(s)),k$3(s=>this.handleError(s)))}getSettingsPageData(){let n=E$4.apiBaseUrl+"/users/settings";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:R_.fromJSON(i)),k$3(i=>this.handleError(i)))}getSettingsPageLookups(){let n=E$4.apiBaseUrl+"/users/settings/lookups";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:u_.fromJSON(i)),k$3(i=>this.handleError(i)))}getUserBrandName(){let n=E$4.apiBaseUrl+"/users/user-brand-name";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(i=>i==null?null:JSON.parse(i)),k$3(i=>this.handleError(i)))}getUserContactByUsername(n){if(!sr(n.userName))throw new Error("userName parameter is not supplied for the getUserContactByUsername method.");let r=E$4.apiBaseUrl+`/users/contact/${n.userName}`;return this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(o=>
931o==null?null:cu.fromJSON(o)),k$3(o=>this.handleError(o)))}getUserLinkRemoteEmail(n){let r=E$4.apiBaseUrl+"/users/partners/link/remote-email",i=[];return l$3(n.ssoCode)&&i.push("ssoCode="+encodeURIComponent(String(n.ssoCode))),l$3(n.userLinkToken)&&i.push("userLinkToken="+encodeURIComponent(String(n.userLinkToken))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getUserOrgSharingInfo(){let n=E$4.apiBaseUrl+"/users/org-sharing";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:p_.fromJSON(i)),k$3(i=>this.handleError(i)))}getUserSetting(n){let r=E$4.apiBaseUrl+"/users/user-setting",i=[];return l$3(n.key)&&i.push("key="+encodeURIComponent(String(n.key))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getUserSettings(){let n=E$4.apiBaseUrl+"/users/user-settings";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(i=>i==null?null:fu.fromJSON(i)),k$3(i=>this.handleError(i)))}isAgentIdValid(n){let r=E$4.apiBaseUrl+"/users/is-agent-id-valid",i=[];return l$3(n.orgId)&&i.push("orgId="+encodeURIComponent(String(n.orgId))),l$3(n.agentId)&&i.push("agentId="+encodeURIComponent(String(n.agentId))),l$3(n.nrdsId)&&i.push("nrdsId="+encodeURIComponent(String(n.nrdsId))),l$3(n.nrdsMemberLastName)&&i.push("nrdsMemberLastName="+encodeURIComponent(String(n.nrdsMemberLastName))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}isOrgIdAgentIdValid(n){let r=E$4.apiBaseUrl+"/users/orgs-agents/is-valid",i=[];return l$3(n.orgId)&&i.push("orgId="+encodeURIComponent(String(n.orgId))),l$3(n.agentId)&&i.push("agentId="+encodeURIComponent(String(n.agentId))),l$3(n.nrdsId)&&i.push("nrdsId="+encodeURIComponent(String(n.nrdsId))),l$3(n.nrdsLastName)&&i.push("nrdsLastName="+encodeURIComponent(String(n.nrdsLastName))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}isUserLinkedToPartner(n){let r=E$4.apiBaseUrl+"/users/partners/is-linked",i=[];return l$3(n.ssoCode)&&i.push("ssoCode="+encodeURIComponent(String(n.ssoCode))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}linkUserToPartner(n){let r=E$4.apiBaseUrl+"/users/partners/link",i=[];return l$3(n.ssoCode)&&i.push("ssoCode="+encodeURIComponent(String(n.ssoCode))),l$3(n.userLinkToken)&&i.push("userLinkToken="+encodeURIComponent(String(n.userLinkToken))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}logSessionEvent(){let n=E$4.apiBaseUrl+"/users/sessions";return this.http.request("POST",n,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(i=>this.handleError(i)))}processSignedInUser(n){let r=E$4.apiBaseUrl+"/users/signed-in",i=[];return l$3(n.site)&&i.push("site="+encodeURIComponent(String(n.site))),l$3(n.action)&&i.push("action="+encodeURIComponent(String(n.action))),l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.existingSingleSessionSignInToken)&&i.push("existingSingleSessionSignInToken="+encodeURIComponent(String(n.existingSingleSessionSignInToken))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(s=>s==null?null:d_.fromJSON(s)),k$3(s=>this.handleError(s)))}saveIsOnRprUpdatesMailingList(n){let r=E$4.apiBaseUrl+"/users/mailing-list",i=[];return l$3(n.value)&&i.push("value="+encodeURIComponent(String(n.value))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}saveProfile(n){let r=E$4.apiBaseUrl+"/users/profile";return this.http.request("POST",r,{body:JSON.stringify(n.input?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(o=>
931o==null?null:Hf.fromJSON(o)),k$3(o=>this.handleError(o)))}saveSettings(n){let r=E$4.apiBaseUrl+"/users/settings";return this.http.request("POST",r,{body:JSON.stringify(n.input?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(o=>o==null?null:Hf.fromJSON(o)),k$3(o=>this.handleError(o)))}sendIterableEvent(n){let r=E$4.apiBaseUrl+"/users/iterable-events";return this.http.request("POST",r,{body:JSON.stringify(n.eventData?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(o=>this.handleError(o)))}setUserSetting(n){let r=E$4.apiBaseUrl+"/users/user-setting",i=[];return l$3(n.key)&&i.push("key="+encodeURIComponent(String(n.key))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:JSON.stringify(n.value),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}shouldSingleSessionUserBeSignedOut(n){let r=E$4.apiBaseUrl+"/users/should-single-session-user-be-signed-out",i=[];return l$3(n.singleSessionSignInToken)&&i.push("singleSessionSignInToken="+encodeURIComponent(String(n.singleSessionSignInToken))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}unlinkUserFromPartner(n){let r=E$4.apiBaseUrl+"/users/partners/link",i=[];return l$3(n.ssoCode)&&i.push("ssoCode="+encodeURIComponent(String(n.ssoCode))),l$3(n.ignoreErrors)&&i.push("ignoreErrors="+encodeURIComponent(String(n.ignoreErrors))),i.length&&(r+="?"+i.join("&")),this.http.request("DELETE",r,{headers:this.apiHeaders.getApiHeaders("DELETE",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}updateAllDevices(n){let r=E$4.apiBaseUrl+"/users/devices";return this.http.request("POST",r,{body:JSON.stringify(n.linkedDeviceIds),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(o=>this.handleError(o)))}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var xB=(()=>{class e{constructor(){this.$loading=Q$6(false),this.$error=Q$6(null),this.pageBreakAvoid=false,this.unsubscribe$=new G$3,this.baseComponentDirectiveDestroyRef=h$5(at$1).onDestroy(()=>{this.subscription=null,this.unsubscribe$.next(),this.unsubscribe$.complete();}),this.baseUsersApi=h$5(N_);}get subscription(){return this._subscription}set subscription(n){this._subscription&&this._subscription.unsubscribe(),this._subscription=n;}setUserSetting(n,r){this.baseUsersApi.setUserSetting({key:n,value:r}).pipe(k$3(()=>N$4(null)),ft$2(this.unsubscribe$)).subscribe();}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275dir=q$7({type:e,hostVars:2,hostBindings:function(r,i){r&2&&wt("page-break-avoid",i.pageBreakAvoid);}});}}return e})();var MB=(()=>{class e extends xB{constructor(){super(...arguments),this.state=new t_,this.helper=h$5(ue$3),this.baseEventsService=h$5(Xo),this.baseDataComponentDirectiveDestroyRef=h$5(at$1).onDestroy(()=>{this.state.subscription&&this.state.subscription.unsubscribe(),this.state.formSubscription&&this.state.formSubscription.unsubscribe();});}canDeactivateMessage(){let n=Date.now();
931if(this.lastCalled&&n-this.lastCalled<5e3,this.lastCalled=n,!this.confirmLeaving||!this.isDirty()||!this.helper.userName)return null;let r=this.confirmMessage||"Changes you have made will not be saved.";return E$4.disableSaveChangesConfirmation?(console.log(`Save change confirmation disabled. We would have asked the following: 932${r}`),null):r}canDeactivate(){let n=this.canDeactivateMessage();return n?(this.baseEventsService.fire(Ti.NavigationInterrupted),this.helper.showStatusDialog({dialogType:zn.Warning,maxWidth:500,heading:"Leave Page",message:n,hideCloseButton:true,buttons:[{text:"Leave",dialogResult:true},{text:"Cancel",isOutlined:true,dialogResult:false}]}).afterClosed().pipe(T$3(r=>!!r))):N$4(true)}isDirty(){return !!(this.state.form&&this.state.form.dirty)}onWindowBeforeUnload(n){let r=this.canDeactivateMessage();return r||this.state.submitting&&this.helper.userName&&!E$4.disableSaveChangesConfirmation&&(r="Your changes are still being saved. If you leave now, they may not be saved. Are you sure you want to leave?"),r?(n.returnValue=r,r):null}static{this.\u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();}static{this.\u0275dir=q$7({type:e,hostBindings:function(r,i){r&1&>$1("beforeunload",function(s){return i.onWindowBeforeUnload(s)},Pw);},features:[Ee$2]});}}return e})();var RB=(()=>{class e extends MB{constructor(){super(),this.dialogData=h$5(FI),this.dialogRef=h$5(Ca),this.canDismiss=true,this.$submitting=Q$6(false),this.baseDialogDirectiveDestroyRef=h$5(at$1).onDestroy(()=>this.helper.markInstanceAsClosed(this.dialogRef.id)),this.baseDialogDirectiveEvents=h$5(Xo),this.dialogRef.disableClose=true,this.dialogRef.backdropClick().pipe(Ne$1(()=>this.canDismiss&&!this.$submitting()),ft$2(this.unsubscribe$)).subscribe(()=>this.close()),this.dialogRef.afterOpened().pipe(ft$2(this.unsubscribe$)).subscribe(()=>this.helper.markInstanceAsOpened(this.dialogRef.id)),this.dialogRef.afterClosed().pipe(ft$2(this.unsubscribe$)).subscribe(()=>this.helper.markInstanceAsClosed(this.dialogRef.id)),this.baseDialogDirectiveEvents.on(Ti.WindowEscapeKeyDown).pipe(Ne$1(()=>this.canDismiss&&!this.$submitting()&&this.helper.isLastOpenedInstance(this.dialogRef.id)),Ke$3(n=>{n.stopImmediatePropagation(),this.close();}),ft$2(this.unsubscribe$)).subscribe(),this.baseDialogDirectiveEvents.on(Ti.NavigationStart).pipe(ft$2(this.unsubscribe$)).subscribe(n=>this.dialogRef.close());}close(n){if(this.confirmLeaving&&!n&&this.isDirty()){this.canDeactivate().pipe(it$1(1),Ne$1(r=>r),ft$2(this.unsubscribe$)).subscribe(r=>{this.dialogRef.close();});return}this.dialogRef.close(l$3(n)?n:this.dialogResult);}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275dir=q$7({type:e,features:[Ee$2]});}}return e})();function MK(e,t){if(e&1&&Bn$1(0,"p",7),e&2){let n=Mn$1();wt("break-word",n.dialogData.useBreakWordForMessage),xn$1("innerHTML",n.dialogData?.message,Js);}}function RK(e,t){if(e&1&&vm(0,3),e&2){let n=Mn$1();xn$1("ngTemplateOutlet",n.dialogData?.messageTemplate);}}function AK(e,t){if(e&1&&Bn$1(0,"li",8),e&2){let n=t.$implicit;xn$1("innerHTML",n,Js);}}function NK(e,t){if(e&1&&(mt$1(0,"ul"),vd(1,AK,1,1,"li",8,yd),bt$2()),e&2){let n=Mn$1();Ut$1(),_d(n.dialogData.bulletListItems);}}function kK(e,t){if(e&1&&(mt$1(0,"p",4),$c(1),bt$2()),e&2){let n=t.$implicit;Ut$1(),bm(n);}}function OK(e,t){if(e&1){let n=Uc();mt$1(0,"p")(1,"mat-checkbox",9),gt$1("change",function(i){ks(n);let o=Mn$1();return Os(o.dialogData.onDoNotShowAgain(i.checked))}),$c(2,"Don't show this message again"),bt$2()();}}function PK(e,t){e&1&&(mt$1(0,"a",5),$c(1,"Go to Homepage"),bt$2());}function LK(e,t){if(e&1){let n=Uc();mt$1(0,"a",14),gt$1("click",function(){ks(n);let i=Mn$1().$implicit,o=Mn$1(2);return Os(o.choose(i))}),bt$2();}if(e&2){let n=Mn$1(),r=n.$implicit,i=n.$index;wt("is-outlined",r.isOutlined)("disabled",r.disabled&&r.disabled()),xn$1("innerHTML",r.text,Js)("rprAutoFocus",i===0),Rt("href",r.href,Qh)("target",r.openInNewTab?"_blank":null);}}function FK(e,t){if(e&1){let n=Uc();mt$1(0,"button",15),gt$1("click",function(){ks(n);let i=Mn$1().$implicit,o=Mn$1(2);return Os(o.choose(i))}),bt$2();}if(e&2){let n=Mn$1(),r=n.$implicit,i=n.$index;wt("is-outlined",r.isOutlined)("is-danger",r.isDanger),xn$1("innerHTML",r.text,Js)("rprAutoFocus",
932i===0),Rt("disabled",r.disabled&&r.disabled()?true:null);}}function BK(e,t){if(e&1&&_i(0,LK,1,8,"a",12)(1,FK,1,7,"button",13),e&2){let n=t.$implicit;bi(n.href?0:1);}}function UK(e,t){if(e&1){let n=Uc();mt$1(0,"button",16),gt$1("click",function(){ks(n);let i=Mn$1(2);return Os(i.close())}),$c(1," Close "),bt$2();}if(e&2){let n=Mn$1(2);xn$1("rprAutoFocus",!n.dialogData?.buttons?.length);}}function VK(e,t){if(e&1&&(mt$1(0,"div",6)(1,"div",10),vd(2,BK,2,1,null,null,yd),_i(4,UK,2,1,"button",11),bt$2()()),e&2){let n=Mn$1();Ut$1(2),_d(n.dialogData?.buttons),Ut$1(2),bi(n.dialogData?.canDismiss&&!n.dialogData?.hideCloseButton?4:-1);}}var AB=(()=>{class e extends RB{constructor(){super(...arguments),this.StatusDialogType=zn;}ngOnInit(){this.dialogRef.addPanelClass(["dialog-with-new-padding"]),this.dialogData||(this.dialogData={}),l$3(this.dialogData.dialogType)||(this.dialogData.dialogType=zn.Danger),!l$3(this.dialogData.heading)&&this.dialogData.dialogType===zn.Danger&&(this.dialogData.heading=Sy),l$3(this.dialogData.canDismiss)||(this.dialogData.canDismiss=true),this.canDismiss=this.dialogData.canDismiss,l$3(this.dialogData.warnings)||(this.dialogData.warnings=[]),this.dialogData.autoCloseSeconds&&N$4(true).pipe(Ep(this.dialogData.autoCloseSeconds*1e3),Ke$3(()=>this.close(null)),ft$2(this.unsubscribe$)).subscribe(),this.dialogData.displayAboveLoadingIndicator&&this.dialogRef.addPanelClass("is-above-loading-indicator");}get iconClass(){switch(this.dialogData?.dialogType){case zn.Info:return "fa-light fa-circle-info";case zn.Warning:return "fa-light fa-triangle-exclamation";case zn.Success:return "fa-light fa-circle-check";case zn.Danger:default:return "fa-light fa-circle-exclamation"}}close(n){typeof n>"u"&&!l$3(this.dialogResult)&&this.dialogData.onCancel&&this.dialogData.onCancel(),this.dialogRef.close(n||this.dialogResult);}choose(n){n&&n.click&&setTimeout(()=>n.click()),!(n.href&&!n.openInNewTab)&&this.close(n.dialogResult||null);}static{this.\u0275fac=(()=>{let n;return function(i){return (n||(n=_t$1(e)))(i||e)}})();}static{this.\u0275cmp=It({type:e,selectors:[["rpr-status-dialog"]],hostVars:2,hostBindings:function(r,i){r&2&&Dd("max-width",i.dialogData?.maxWidth,"px");},features:[Ee$2],decls:12,vars:17,consts:[[1,"left-pane","is-flex","align-items-center","justify-content-center"],[1,"dialog-header",3,"innerHTML"],[1,"margin-bottom-20",3,"break-word","innerHTML"],[3,"ngTemplateOutlet"],[1,"has-text-danger-dark","margin-bottom-10"],["routerLink","/","mat-dialog-close",""],[1,"is-flex","align-items-center","justify-content-between","margin-top-20"],[1,"margin-bottom-20",3,"innerHTML"],[1,"is-relative",3,"innerHTML"],[3,"change"],[1,"is-flex"],["type","button",1,"button","is-primary","is-outlined","padding-left-25","padding-right-25",3,"rprAutoFocus"],[1,"button","is-primary","margin-right-15",3,"is-outlined","disabled","innerHTML","rprAutoFocus"],["type","button",1,"button","is-primary","margin-right-15",3,"is-outlined","is-danger","innerHTML","rprAutoFocus"],[1,"button","is-primary","margin-right-15",3,"click","innerHTML","rprAutoFocus"],["type","button",1,"button","is-primary","margin-right-15",3,"click","innerHTML","rprAutoFocus"],["type","button",1,"button","is-primary","is-outlined","padding-left-25","padding-right-25",3,"click","rprAutoFocus"]],template:function(r,i){r&1&&(mt$1(0,"div",0),Bn$1(1,"i"),bt$2(),mt$1(2,"mat-dialog-content"),Bn$1(3,"h1",1),_i(4,MK,1,3,"p",2),_i(5,RK,1,1,"ng-container",3),_i(6,NK,3,0,"ul"),vd(7,kK,2,1,"p",4,yd),_i(9,OK,3,0,"p"),_i(10,PK,2,0,"a",5),_i(11,VK,5,1,"div",6),bt$2()),r&2&&(wt("status-info",i.dialogData?.dialogType===i.StatusDialogType.Info)("status-success",i.dialogData?.dialogType===i.StatusDialogType.Success)("status-warning",i.dialogData?.dialogType===i.StatusDialogType.Warning)("status-danger",i.dialogData?.dialogType===i.StatusDialogType.Danger),Ut$1(),wd(i.iconClass),Ut$1(2),xn$1("innerHTML",i.dialogData?.heading,Js),Ut$1(),bi(i.dialogData?.message?4:-1),Ut$1(),bi(i.dialogData?.messageTemplate?5:-1),Ut$1(),bi(i.dialogData?.bulletListItems?6:-1),Ut$1(),_d(i.dialogData.warnings),Ut$1(2),bi(i.dialogData.onDoNotShowAgain?9:-1),Ut$1(),bi(i.dialogData.goToHomePage?10:-1),Ut$1(),bi(i.dialogData?.buttons?.length||i.dialogData?.canDismiss?11:-1));},dependencies:[CB,qL,rE,WP,YP,eS,iI,Cl],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:flex;min-width:342px;max-width:40em}[_nghost-%COMP%] em{font-style:normal}h1.dialog-header[_ngcontent-%COMP%]{font-size:1.75em!important;margin-bottom:15px!important;line-height:1.2}.left-pane[_ngcontent-%COMP%]{width:75px}@media screen and (max-width:768px){.left-pane[_ngcontent-%COMP%]{width:55px}}.left-pane.status-info[_ngcontent-%COMP%]{background-color:#97a7ba}.left-pane.status-success[_ngcontent-%COMP%]{background-color:#1dd781}.left-pane.status-warning[_ngcontent-%COMP%]{background-color:#fbbd04}.left-pane.status-danger[_ngcontent-%COMP%]{background-color:#de4329}.left-pane[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:2em;color:#fff;margin:0 18px}
932ul[_ngcontent-%COMP%]{margin-bottom:31px;margin-left:28px}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:"\\2b24";font-size:4px;position:absolute;top:9px;left:-15px}.button[_ngcontent-%COMP%]{min-width:100px}']});}}return e})();var NB=Object.prototype,jK=NB.hasOwnProperty,HK=sg(function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&ag(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=ll(o),a=-1,c=s.length;++a<c;){var u=s[a],d=e[u];(d===void 0||Er$1(d,NB[u])&&!jK.call(e,u))&&(e[u]=o[u]);}return e}),kB=HK;function Pt(e){e=kB({},e,{defaultValue:null,path:"/"});let t={};return function(n,r){delete n[r]&&Object.defineProperty(n,r,{get:()=>{if(typeof t[r]<"u"&&!e.omitCache)return t[r];let i=Ua.instance.get(Uf),o=po(e,n,r);if(!i.isStorageAllowed(o,rn$1.Cookie))return t[r]=e.defaultValue;let s=su(o),c=Ua.instance.get(Bf).get(s);if(c){let u;try{u=JSON.parse(c);}catch{u=c;}if(e.parser&&(u=e.parser(u)),u)return t[r]=u}return t[r]=e.defaultValue},set:i=>{let o=Ua.instance.get(Bf),s=Ua.instance.get(Uf),a=po(e,n,r),c=su(a),u=e.domain||i_(a);if(!i||i==="undefined"){delete t[r],o.delete(c,e.path,u,e.secure!==false,e.sameSite==="None"?null:e.sameSite==="Strict"?"Strict":"Lax");return}t[r]=i,s.isStorageAllowed(a,rn$1.Cookie,i)&&o.set(c,typeof i=="string"?i:JSON.stringify(i),e.expires,e.path,u,e.secure!==false,e.sameSite==="None"?null:e.sameSite==="Strict"?"Strict":"Lax");},enumerable:true,configurable:true});}}var qf=class extends o_{static get storage(){return Ht$1.window&&Ht$1.window.sessionStorage||this.defaultStorage}};function Wf(e){return e||(e={defaultValue:null}),function(t,n){delete t[n]&&Object.defineProperty(t,n,{get:()=>qf.getValue(po(e,t,n),e),set:r=>qf.setValue(po(e,t,n),e.defaultValue===r?null:r),enumerable:true,configurable:true});}}var Ha=(function(e){return e[e.Mobile=1]="Mobile",e[e.Tablet=2]="Tablet",e[e.Desktop=3]="Desktop",e[e.Widescreen=4]="Widescreen",e[e.FullHD=5]="FullHD",e})(Ha||{});var X3e=()=>{let e=h$5(N_),t=h$5(ue$3);return E$4.config?.isValid?e.getUserSettings().pipe(k$3(n=>N$4(k_())),Ke$3(n=>{t.userSettings=n,t.userOrgId=n?.orgId,t.userAssociationId=n?.associationId,t.userBrokerId=n?.brokerId,t.userBrandId=n?.brandId,t.userOfficeId=n?.officeId;})):k_()};function k_(){return new fu({defaultCentroid:new De$2({latitude:40.245992,longitude:-99.418947}),reportSoundNotificationsDisabled:false,orgId:null,associationId:null,brokerId:null,brandId:null,officeId:null})}var O_=class{static{this.oneHour=new Date(Date.now()+36e5);}static{this.oneYear=new Date(Date.now()+31536e6);}};var PB=x$5(OB());var ue$3=class e{constructor(){this.routeHistory=[],this.userSettings=k_(),this.$propertyIdInfo=Q$6(null,{equal:n1}),this.$placeId=Q$6(null),this.$bulmaSize=Q$6(null),this.$isBulmaMobileSize=Et(()=>this.$bulmaSize()===Ha.Mobile),this.$isBulmaUntilWidescreen=Et(()=>[Ha.Mobile,Ha.Tablet,Ha.Desktop].includes(this.$bulmaSize())),this.$isBulmaFullHD=Et(()=>this.$bulmaSize()===Ha.FullHD),this.$fullPageErrorType=Q$6(null),this.$isUpdating=Q$6(false),this.$newVersionAvailable=Q$6(false),this.dialog=h$5(vf),this.events=h$5(Xo),this.openedInstanceIds=[];}get coBrand(){return this.ignoreCoBrand?null:this._coBrand}set coBrand(t){this._coBrand=t;}get user(){return this.getCurrentUser(false)}get userName(){return this.user&&this.user.userName}get userLoginEmail(){return this.user&&this.user.loginEmail}get isImpersonating(){return !!this.impersonatedLoginEmail}get isCommercialMode(){return this.propertyMode===zo.Commercial}getBearerToken(t){return (this.getCurrentUser(t)||{bearerToken:null}).bearerToken}hasAccessToAll(...t){return !!(this.user&&this.user.hasAccessToAll(...t))}hasAccessToAny(...t){return !!(this.user&&this.user.hasAccessToAny(...t))}ensureResidentialMode(){this.propertyMode===zo.Commercial&&(this.propertyMode=zo.Residential);}ensureCommercialMode(){this.propertyMode===zo.Residential&&(this.propertyMode=zo.Commercial);}openLiveChat(){Ht$1.openNewWindow({url:E$4.config.liveChatUrl,name:"LiveChat",width:480,height:640,top:100,left:50,center:true});}showErrorDialog(t,n){return this.showStatusDialog({heading:t||Sy,message:n||"We're sorry! An error has occurred.",dialogType:zn.Danger})}showFrequencyCapError(t){let n=()=>{switch(t){case Mi.Search:return "searches";case Mi.Report:return "reports";case Mi.ViewProperty:return "properties";case Mi.ViewPlace:return this.isCommercialMode?"trade area":"neighborhoods";case Mi.ThematicMap:return "maps";case Mi.Analysis:return "analysis";case Mi.Email:return "emails";case Mi.RequestPropertyDetails:return "property details";default:return "unknown"}};this.showErrorDialog("We're sorry...",`For the protection of our users and your data, RPR monitors website traffic for the appearance of data harvesting. This automated process has identified that your account usage may fit such a pattern. As a precaution, we have temporarily prevented you from viewing more ${n()} data today. RPR takes our commitment to securing the content we have licensed from your MLS seriously. If you feel we have incorrectly blocked you, please contact RPR Member Support at ${E$4.config.supp
932ortPhoneNumber} or ${E$4.config.supportEmail}. You can also review our Terms of Use at www.narrpr.com/terms-of-use.`);}showTermsOfUseDialog(){import('./chunk-BfawY7V5.js').then(t=>{this.dialog.open(t.TermsOfUseDialog);});}showPrivacyPoliciesDialog(){import('./chunk-Cj4U_1-o.js').then(t=>{this.dialog.open(t.PrivacyPoliciesDialog);});}showStatusDialog(t){return this.dialog.open(AB,{data:t})}showConfirmDialog(t,n,r,i,o,s,a){return this.showStatusDialog({heading:t,message:n,dialogType:a||zn.Warning,hideCloseButton:true,buttons:[{text:i||"OK",dialogResult:true,isDanger:s,click:r},{text:o||"Cancel",isOutlined:true}]}).afterClosed().pipe(T$3(c=>!!c))}showToastMessage(t){t.icon||(t.icon="fa-circle-check"),t.timeout||(t.timeout=3e3),this.events.fire(Ti.ShowToastMessage,t);}getBrowserSessionId(){let t=this.browserSessionId;return t||(t=PB.Guid.create().toString(),this.browserSessionId=t,t)}getUserCentroid(t){return t&&this.requestBrowserPosition(t),this.browserPosition||this.userSettings?.defaultCentroid}requestBrowserPosition(t){return navigator.geolocation?(navigator.geolocation.getCurrentPosition(n=>{let r=new De$2({latitude:n.coords.latitude,longitude:n.coords.longitude});r.isEqual(this.browserPosition)||(this.browserPosition=r),t&&t(r);}),true):false}hasSiteSelectionAnalysisBeenRecentlyUpdated(t){if(!t)return false;let n=or(this.siteSelectionAnalysisLastUpdateDate[t]);return !!n&&jv(new Date,n)<=5}markInstanceAsOpened(t,n=true){if(!n){this.markInstanceAsClosed(t);return}setTimeout(()=>{this.openedInstanceIds.push(t);});}markInstanceAsClosed(t){setTimeout(()=>{this.openedInstanceIds.length;this.openedInstanceIds=this.openedInstanceIds.filter(r=>r!==t),this.openedInstanceIds.length;});}isLastOpenedInstance(t){return this.openedInstanceIds[this.openedInstanceIds.length-1]===t}getCurrentUser(t){return (t?null:this.assistantsRealtorUser)||this.impersonatedUser||this.signedInUser}async openTinyMceEditor(t){let n=await import('./chunk-BORacjzm.js');return this.dialog.open(n.TinyMceEditorDialog,{data:t||{},width:"90vw",maxWidth:"1200px",height:"100vh",maxHeight:"100vh",panelClass:"editor-dialog-panel"})}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}};Se$3([Pn$1({parser:e=>new De$2(e)})],ue$3.prototype,"browserPosition",void 0);Se$3([Pn$1({defaultValue:false})],ue$3.prototype,"gaConsoleEnabled",void 0);Se$3([Pn$1()],ue$3.prototype,"profileLastUpdateDate",void 0);Se$3([Pn$1({defaultValue:zo.Residential})],ue$3.prototype,"propertyMode",void 0);Se$3([Pn$1({defaultValue:false})],ue$3.prototype,"isAdminMode",void 0);Se$3([Pn$1({storageKey:"hssubsie",defaultValue:false})],ue$3.prototype,"hasSingleSessionUserBeenSignedInElsewhere",void 0);Se$3([Pn$1({storageKey:"hdean",defaultValue:false})],ue$3.prototype,"hasDisplayedExpiringAssistantsNotice",void 0);Se$3([Pn$1({storageKey:"hdaen",defaultValue:false})],ue$3.prototype,"hasDisplayedAccountExpirationNotice",void 0);Se$3([Pn$1({storageKey:"hdiain",defaultValue:false})],ue$3.prototype,"hasDisplayedInvalidAgentIdNotice",void 0);Se$3([Pn$1({defaultValue:false})],ue$3.prototype,"functionalStorageGpcPermissionGranted",void 0);Se$3([Wf({defaultValue:false})],ue$3.prototype,"functionalStoragePromptDisplayed",void 0);Se$3([Wf()],ue$3.prototype,"isPropertyTypeChangeGlobal",void 0);Se$3([Wf({storageKey:"skip_PropertyTypeChangePrompt"})],ue$3.prototype,"skipPropertyTypeChangePrompt",void 0);Se$3([Wf()],ue$3.prototype,"transientStatusDialog",void 0);Se$3([Pt({storageKey:ut$2.SignOutReason})],ue$3.prototype,"signOutReason",void 0);Se$3([Pt({storageKey:ut$2.SignOutError})],ue$3.prototype,"signOutError",void 0);Se$3([Pt({storageKey:ut$2.RprToken})],ue$3.prototype,"rprToken",void 0);Se$3([Pt({storageKey:ut$2.RprTokenType})],ue$3.prototype,"rprTokenType",void 0);Se$3([Pt({storageKey:ut$2.SingleSessionSignInToken,expires:O_.oneYear})],ue$3.prototype,"singleSessionSignInToken",void 0);Se$3([Pt({storageKey:ut$2.UserSessionAction,defaultValue:IE.Unknown})],ue$3.prototype,"userSessionAction",void 0);Se$3([Pt({storageKey:ut$2.ImpersonatedLoginEmail})],ue$3.prototype,"impersonatedLoginEmail",void 0);Se$3([Pt({storageKey:ut$2.DataToolsBrokerId})],ue$3.prototype,"dataToolsBrokerId",void 0);Se$3([Pt({storageKey:ut$2.DataToolsBrandId})],ue$3.prototype,"dataToolsBrandId",void 0);Se$3([Pt({storageKey:ut$2.DataToolsAssociationId})],ue$3.prototype,"dataToolsAssociationId",void 0);Se$3([Pt({storageKey:ut$2.DataToolsOrgId})],ue$3.prototype,"dataToolsOrgId",void 0);Se$3([Pt({storageKey:ut$2.VendorId})],ue$3.prototype,"vendorId",void 0);Se$3([Pt({storageKey:ut$2.LegalDialog})],ue$3.prototype,"legalDialog",void 0);Se$3([Pt({storageKey:ut$2.CoBrandCode})],ue$3.prototype,"coBrandCodeFromCookies",void 0);Se$3([Pt({storageKey:ut$2.UserOrgId})],ue$3.prototype,"userOrgId",void 0);Se$3([Pt({storageKey:ut$2.UserAssociationId})],ue$3.prototype,"userAssociationId",void 0);Se$3([Pt({storageKey:ut$2.UserBrokerId})],ue$3.prototype,"userBrokerId",void 0);Se$3([Pt({storageKey:ut$2.UserBrandId})],ue$3.prototype,"userBrandId",void 0);Se$3([Pt({storageKey:ut$2.UserOfficeId})],ue$3.prototype,"userOfficeId",void 0);Se$3([Pn$1({defaultValue:{}})],ue$3.prototype,"siteSelectionAnalysisLastUpdateDate",void 0);Se$3([Pt({storageKey:ut$2.BrowserSessionId})],ue$3.prototype,"browserSessionId",void 0);var P_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.associationId)&&(n.associationId=t.associationId),l$3(t.name)&&(n.name=t.name),l$3(t.shortName)&&(n.short
932Name=t.shortName),l$3(t.statusId)&&(n.statusId=t.statusId),l$3(t.associationType)&&(n.associationType=t.associationType),l$3(t.statePlaceId)&&(n.statePlaceId=t.statePlaceId),l$3(t.regionId)&&(n.regionId=t.regionId),l$3(t.state)&&(n.state=t.state),l$3(t.statusDescription)&&(n.statusDescription=t.statusDescription),l$3(t.associationTypeDescription)&&(n.associationTypeDescription=t.associationTypeDescription),l$3(t.regionDescription)&&(n.regionDescription=t.regionDescription),l$3(t.salesForceAccountId)&&(n.salesForceAccountId=t.salesForceAccountId);}};var Yf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.coBrandId)&&(n.coBrandId=t.coBrandId),l$3(t.coBrandCode)&&(n.coBrandCode=t.coBrandCode),l$3(t.coBrandName)&&(n.coBrandName=t.coBrandName),l$3(t.headerLogoUrl)&&(n.headerLogoUrl=t.headerLogoUrl),l$3(t.footerLogoUrl)&&(n.footerLogoUrl=t.footerLogoUrl),l$3(t.footerOpenLinksInNewBrowserInstance)&&(n.footerOpenLinksInNewBrowserInstance=t.footerOpenLinksInNewBrowserInstance),l$3(t.footerLinks)&&(n.footerLinks=t.footerLinks.map(r=>new $v(r))),l$3(t.brandName)&&(n.brandName=t.brandName),l$3(t.orgName)&&(n.orgName=t.orgName),l$3(t.isPreview)&&(n.isPreview=t.isPreview);}};var L_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.sourceSearchCriteriaId)&&(n.sourceSearchCriteriaId=t.sourceSearchCriteriaId),l$3(t.logFindLocationEntryId)&&(n.logFindLocationEntryId=t.logFindLocationEntryId),l$3(t.searchOrAreaName)&&(n.searchOrAreaName=t.searchOrAreaName),l$3(t.searchCriteriaId)&&(n.searchCriteriaId=t.searchCriteriaId),l$3(t.criteriaType)&&(n.criteriaType=t.criteriaType),l$3(t.searchName)&&(n.searchName=t.searchName),l$3(t.propertyMode)&&(n.propertyMode=t.propertyMode),l$3(t.searchType)&&(n.searchType=t.searchType),l$3(t.searchAreaId)&&(n.searchAreaId=t.searchAreaId),l$3(t.asString)&&(n.asString=t.asString);}};var Gf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.isHighRiskState)&&(n.isHighRiskState=t.isHighRiskState),l$3(t.state)&&(n.state=t.state);}};var F_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.findResultChoicesType)&&(n.findResultChoicesType=t.findResultChoicesType),l$3(t.errorType)&&(n.errorType=t.errorType),l$3(t.redirectUrl)&&(n.redirectUrl=t.redirectUrl),l$3(t.ga4Event)&&(n.ga4Event=t.ga4Event),l$3(t.ga4EventParam1Name)&&(n.ga4EventParam1Name=t.ga4EventParam1Name),l$3(t.ga4EventParam1Value)&&(n.ga4EventParam1Value=t.ga4EventParam1Value);}};var Zf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.possibleLocations)&&(n.possibleLocations=t.possibleLocations.map(r=>new La(r))),l$3(t.autoPickedLocation)&&(n.autoPickedLocation=new La(t.autoPickedLocation)),l$3(t.validAddressTypes)&&(n.validAddressTypes=t.validAddressTypes.slice()),l$3(t.isGoogleMapsResponding)&&(n.isGoogleMapsResponding=t.isGoogleMapsResponding),l$3(t.didGoogleMapsTimeout)&&(n.didGoogleMapsTimeout=t.didGoogleMapsTimeout),l$3(t.didAnyIdentificationTimeout)&&(n.didAnyIdentificationTimeout=t.didAnyIdentificationTimeout);}};var B_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.label)&&(n.label=t.label),l$3(t.locations)&&(n.locations=t.locations.map(r=>new La(r)));}};var U_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.sections)&&(n.sections=t.sections.map(r=>new B_(r)));}};var pu=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.messageId)&&(n.messageId=t.messageId),l$3(t.message)&&(n.message=t.message),l$3(t.messageUrl)&&(n.messageUrl=t.messageUrl),l$3(t.isDismissable)&&(n.isDismissable=t.isDismissable),l$3(t.autoDismissTimeSpan)&&(n.autoDismissTimeSpan=t.autoDismissTimeSpan),l$3(t.showMessageCount)&&(n.showMessageCount=t.showMessageCount),l$3(t.skipMessageCount)&&(n.skipMessageCount=t.skipMessageCount),l$3(t.effectiveDateTime)&&(n.effectiveDateTime=t.effectiveDateTime),l$3(t.expirationDateTime)&&(n.expirationDateTime=t.expirationDateTime),l$3(t.updateToMobileAppVersion)&&(n.updateToMobileAppVersion=t.updateToMobileAppVersion),l$3(t.isBreakingUpdate)&&(n.isBreakingUpdate=t.isBreakingUpdate);}};var V_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.bedrooms)&&(n.bedrooms=t.bedrooms),l$3(t.bathrooms)&&(n.bathrooms=t.bathrooms),l$3(t.livingAreaInSqFt)&&(n.livingAreaInSqFt=t.livingAreaInSqFt),l$3(t.formattedLotSize)&&(n.formattedLotSize=t.formattedLotSize),l$3(t.listingPrice)&&(n.listingPrice=t.listingPrice),l$3(t.thumbnailPhotoUrl)&&(n.thumbnailPhotoUrl=t.thumbnailPhotoUrl),l$3(t.detailsUrl)&&(n.detailsUrl=t.detailsUrl),l$3(t.addressAsString)&&(n.addressAsString=t.addressAsString);}};var zK=`${cB}/listing-photo-not-available.gif`,Jf=class extends V_{get imageUrl(){return this.thumbnailPhotoUrl||zK}};var j_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.previous)&&(n.previous=t.previous),l$3(t.next)&&(n.next=t.
932next);}};var $a=(function(e){return e[e.AllOrgsValid=1]="AllOrgsValid",e[e.HasNotImplementedOrg=2]="HasNotImplementedOrg",e[e.HasNotPartneredOrg=3]="HasNotPartneredOrg",e[e.HasOtherOrg=4]="HasOtherOrg",e[e.NoOrgs=5]="NoOrgs",e[e.NoMessaging=6]="NoMessaging",e})($a||{});var H_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.reportType)&&(n.reportType=t.reportType),l$3(t.reportMode)&&(n.reportMode=t.reportMode),l$3(t.reportCategory)&&(n.reportCategory=t.reportCategory),l$3(t.name)&&(n.name=t.name),l$3(t.description)&&(n.description=t.description);}};var Qf=class extends H_{};var $_=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.userPhotoIconUrl)&&(n.userPhotoIconUrl=t.userPhotoIconUrl),l$3(t.userOfficeCityState)&&(n.userOfficeCityState=t.userOfficeCityState),l$3(t.residentialReports)&&(n.residentialReports=t.residentialReports.map(r=>new Qf(r))),l$3(t.commercialReports)&&(n.commercialReports=t.commercialReports.map(r=>new Qf(r))),l$3(t.todaysReportCount)&&(n.todaysReportCount=t.todaysReportCount),l$3(t.orgMessagingStatus)&&(n.orgMessagingStatus=t.orgMessagingStatus),l$3(t.hasAnyInvalidOrgAgentIds)&&(n.hasAnyInvalidOrgAgentIds=t.hasAnyInvalidOrgAgentIds),l$3(t.maintenanceMessage)&&(n.maintenanceMessage=new pu(t.maintenanceMessage));}};var Xf=class extends $_{get displayInvalidAgentIdNotice(){return this.hasAnyInvalidOrgAgentIds&&this.orgMessagingStatus!==$a.HasNotPartneredOrg&&this.orgMessagingStatus!==$a.HasOtherOrg}get orgStatusDescriptionHtml(){return this.orgMessagingStatus===$a.AllOrgsValid?"Unlimited Access to MLS/CIE Data":this.orgMessagingStatus===$a.HasNotImplementedOrg?"MLS/CIE data still loading<br/>Limited Data Access":this.orgMessagingStatus===$a.HasNotPartneredOrg?"MLS/CIE data not yet integrated<br/>Limited Data Access":"No MLS/CIE selected, Limited Data Access"}};var Kf=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let n=new e;return t&&e.copyProperties(t,n),n}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,n){l$3(t.technologyRegistryId)&&(n.technologyRegistryId=t.technologyRegistryId),l$3(t.storageKey)&&(n.storageKey=t.storageKey),l$3(t.name)&&(n.name=t.name),l$3(t.description)&&(n.description=t.description),l$3(t.providerName)&&(n.providerName=t.providerName),l$3(t.technologyTypeId)&&(n.technologyTypeId=t.technologyTypeId),l$3(t.consentCategoryId)&&(n.consentCategoryId=t.consentCategoryId);}};var IB=(()=>{class e extends ou{constructor(){super(...arguments),this.name="Misc",this.apiHeaders=h$5(e_),this.http=h$5(Jc),this.cacheLayer=h$5(as),this.helper=h$5(ue$3);}buildDetailsUrl(n){let r=E$4.apiBaseUrl+"/misc/details-url",i=[];return l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.propertyId)&&i.push("propertyId="+encodeURIComponent(String(n.propertyId))),l$3(n.placeId)&&i.push("placeId="+encodeURIComponent(String(n.placeId))),l$3(n.tabId)&&i.push("tabId="+encodeURIComponent(String(n.tabId))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:JSON.stringify(n.addressDetail?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}createSearchAreaFromPlaceId(n){if(!sr(n.placeId))throw new Error("placeId parameter is not supplied for the createSearchAreaFromPlaceId method.");let r=E$4.apiBaseUrl+`/misc/search-area-from-place-id/${n.placeId}`,i=[];return l$3(n.userQuery)&&i.push("userQuery="+encodeURIComponent(String(n.userQuery))),l$3(n.standardizedQuery)&&i.push("standardizedQuery="+encodeURIComponent(String(n.standardizedQuery))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:new Ba(Ba.fromJSON(s))),k$3(s=>this.handleError(s)))}determineConsentState(n,r,i){let o=E$4.apiBaseUrl+"/misc/privacy-consent-state",s=[];l$3(n.latitude)&&s.push("latitude="+encodeURIComponent(String(n.latitude))),l$3(n.longitude)&&s.push("longitude="+encodeURIComponent(String(n.longitude))),s.length&&(o+="?"+s.join("&"));let a=this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),r),responseType:"json"}).pipe(T$3(c=>((c||i&&c===null)&&this.cacheLayer.store(o,c||"-null-"),c==null?null:Gf.fromJSON(c))),k$3(c=>this.handleError(c)));return (r?this.cacheLayer.clear(o):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(o)),Be(c=>c?typeof c=="string"&&c==="-null-"?N$4(null):N$4(Gf.fromJSON(c)):a))}findAddresses(n){let r=E$4.apiBaseUrl+"/misc/find/addresses",i=[];return l$3(n.query)&&i.push("query="+encodeURIComponent(String(n.query))),l$3(n.userLatitude)&&i.push("userLatitude="+encodeURIComponent(String(n.userLatitude))),l$3(n.userLongitude)&&i.push("userLongitude="+encodeURIComponent(String(n.userLongitude))),l$3(n.validAddressTypes)&&n.validAddressTypes.forEac
932h(s=>i.push("validAddressTypes="+encodeURIComponent(String(s)))),l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.addressTypeToChooseIfQueryIsProperty)&&i.push("addressTypeToChooseIfQueryIsProperty="+encodeURIComponent(String(n.addressTypeToChooseIfQueryIsProperty))),l$3(n.reportType)&&i.push("reportType="+encodeURIComponent(String(n.reportType))),l$3(n.reportTargetType)&&i.push("reportTargetType="+encodeURIComponent(String(n.reportTargetType))),l$3(n.category)&&i.push("category="+encodeURIComponent(String(n.category))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:Zf.fromJSON(s)),k$3(s=>this.handleError(s)))}findCentroid(n){let r=E$4.apiBaseUrl+"/misc/find/centroid",i=[];return l$3(n.query)&&i.push("query="+encodeURIComponent(String(n.query))),l$3(n.userLatitude)&&i.push("userLatitude="+encodeURIComponent(String(n.userLatitude))),l$3(n.userLongitude)&&i.push("userLongitude="+encodeURIComponent(String(n.userLongitude))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:new De$2(De$2.fromJSON(s))),k$3(s=>this.handleError(s)))}findMarketArea(n){let r=E$4.apiBaseUrl+"/misc/find/market-area",i=[];return l$3(n.query)&&i.push("query="+encodeURIComponent(String(n.query))),l$3(n.userLatitude)&&i.push("userLatitude="+encodeURIComponent(String(n.userLatitude))),l$3(n.userLongitude)&&i.push("userLongitude="+encodeURIComponent(String(n.userLongitude))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:Zf.fromJSON(s)),k$3(s=>this.handleError(s)))}findPlaceAddressByPoint(n){let r=E$4.apiBaseUrl+"/misc/find/place",i=[];return l$3(n.latitude)&&i.push("latitude="+encodeURIComponent(String(n.latitude))),l$3(n.longitude)&&i.push("longitude="+encodeURIComponent(String(n.longitude))),l$3(n.addressType)&&i.push("addressType="+encodeURIComponent(String(n.addressType))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:new nn$1(nn$1.fromJSON(s))),k$3(s=>this.handleError(s)))}findSurroundingPlaces(n){let r=E$4.apiBaseUrl+"/misc/find/surrounding-places",i=[];return l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.subjectToExcludePlaceId)&&i.push("subjectToExcludePlaceId="+encodeURIComponent(String(n.subjectToExcludePlaceId))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:JSON.stringify(n.mapBoundingBox?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:s.map(Xv.fromJSON)),k$3(s=>this.handleError(s)))}getAddedChangedWithinDaysLookups(){let n=E$4.apiBaseUrl+"/misc/lookups/added-changed-within-days";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:i.map(Vn$1.fromJSON)),k$3(i=>this.handleError(i)))}getAssociationLookups(n){let r=E$4.apiBaseUrl+"/misc/association-lookups",i=[];return l$3(n.statePlaceId)&&i.push("statePlaceId="+encodeURIComponent(String(n.statePlaceId))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:s.map(P_.fromJSON)),k$3(s=>this.handleError(s)))}getCoBrand(n,r,i){let o=E$4.apiBaseUrl+"/misc/cobrand",s=[];l$3(n.coBrandCode)&&s.push("coBrandCode="+encodeURIComponent(String(n.coBrandCode))),l$3(n.isPreview)&&s.push("isPreview="+encodeURIComponent(String(n.isPreview))),s.length&&(o+="?"+s.join("&"));let a=this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),r),responseType:"json"}).pipe(T$3(c=>((c||i&&c===null)&&this.cacheLayer.store(o,c||"-null-"),c==null?null:Yf.fromJSON(c))),k$3(c=>this.handleError(c)));return (r?this.cacheLayer.clear(o):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(o)),Be(c=>c?typeof c=="string"&&c==="-null-"?N$4(null):N$4(Yf.fromJSON(c)):a))}
932getCommonSearchCriteria(n){if(!sr(n.searchCriteriaId))throw new Error("searchCriteriaId parameter is not supplied for the getCommonSearchCriteria method.");let r=E$4.apiBaseUrl+`/misc/search-criteria/${n.searchCriteriaId}`;return this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(o=>o==null?null:L_.fromJSON(o)),k$3(o=>this.handleError(o)))}getConfig(n,r){let i=E$4.apiBaseUrl+"/misc/config",o=this.http.request("GET",i,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),n),responseType:"json"}).pipe(T$3(s=>((s||r&&s===null)&&this.cacheLayer.store(i,s||"-null-"),s==null?null:new to(to.fromJSON(s)))),k$3(s=>this.handleError(s)));return (n?this.cacheLayer.clear(i):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(i)),Be(s=>s?typeof s=="string"&&s==="-null-"?N$4(null):N$4(new to(to.fromJSON(s))):o))}getDeepLinkResult(n){let r=E$4.apiBaseUrl+"/misc/deep-link-result",i=[];return l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.action)&&i.push("action="+encodeURIComponent(String(n.action))),l$3(n.searchType)&&i.push("searchType="+encodeURIComponent(String(n.searchType))),l$3(n.reportType)&&i.push("reportType="+encodeURIComponent(String(n.reportType))),l$3(n.query)&&i.push("query="+encodeURIComponent(String(n.query))),l$3(n.orgId)&&i.push("orgId="+encodeURIComponent(String(n.orgId))),l$3(n.listingId)&&i.push("listingId="+encodeURIComponent(String(n.listingId))),l$3(n.fips)&&i.push("fips="+encodeURIComponent(String(n.fips))),l$3(n.apnOrTaxId)&&i.push("apnOrTaxId="+encodeURIComponent(String(n.apnOrTaxId))),l$3(n.owner)&&i.push("owner="+encodeURIComponent(String(n.owner))),l$3(n.email)&&i.push("email="+encodeURIComponent(String(n.email))),l$3(n.recipientName)&&i.push("recipientName="+encodeURIComponent(String(n.recipientName))),l$3(n.message)&&i.push("message="+encodeURIComponent(String(n.message))),l$3(n.headline)&&i.push("headline="+encodeURIComponent(String(n.headline))),l$3(n.description)&&i.push("description="+encodeURIComponent(String(n.description))),l$3(n.section)&&i.push("section="+encodeURIComponent(String(n.section))),l$3(n.schoolName)&&i.push("schoolName="+encodeURIComponent(String(n.schoolName))),l$3(n.nces)&&i.push("nces="+encodeURIComponent(String(n.nces))),l$3(n.schoolDistrict)&&i.push("schoolDistrict="+encodeURIComponent(String(n.schoolDistrict))),l$3(n.schoolDistrictNces)&&i.push("schoolDistrictNces="+encodeURIComponent(String(n.schoolDistrictNces))),l$3(n.detailsTab)&&i.push("detailsTab="+encodeURIComponent(String(n.detailsTab))),l$3(n.resultType)&&i.push("resultType="+encodeURIComponent(String(n.resultType))),l$3(n.placeSearchType)&&i.push("placeSearchType="+encodeURIComponent(String(n.placeSearchType))),l$3(n.analysisType)&&i.push("analysisType="+encodeURIComponent(String(n.analysisType))),l$3(n.latitude)&&i.push("latitude="+encodeURIComponent(String(n.latitude))),l$3(n.longitude)&&i.push("longitude="+encodeURIComponent(String(n.longitude))),l$3(n.driveTimeMinute)&&i.push("driveTimeMinute="+encodeURIComponent(String(n.driveTimeMinute))),l$3(n.radiusMile)&&i.push("radiusMile="+encodeURIComponent(String(n.radiusMile))),l$3(n.vendorId)&&i.push("vendorId="+encodeURIComponent(String(n.vendorId))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:F_.fromJSON(s)),k$3(s=>this.handleError(s)))}getLearningMenuCards(n,r,i){let o=E$4.apiBaseUrl+"/misc/learning-menu-cards",s=[];l$3(n.pageType)&&s.push("pageType="+encodeURIComponent(String(n.pageType))),s.length&&(o+="?"+s.join("&"));let a=this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),r),responseType:"json"}).pipe(T$3(c=>((c||i&&c===null)&&this.cacheLayer.store(o,c||"-null-"),c==null?null:c.map(Af.fromJSON))),k$3(c=>this.handleError(c)));return (r?this.cacheLayer.clear(o):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(o)),Be(c=>c?typeof c=="string"&&c==="-null-"?N$4(null):N$4(c.map(Af.fromJSON)):a))}getLearningMenuPage(n,r,i){let o=E$4.apiBaseUrl+"/misc/learning-menu-page",s=[];l$3(n.pageType)&&s.push("pageType="+encodeURIComponent(String(n.pageType))),s.length&&(o+="?"+s.join("&"));let a=this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),r),responseType:"json"}).pipe(T$3(c=>((c||i&&c===null)&&this.cacheLayer.store(o,c||"-null-"),c==null?null:Nf.fromJSON(c))),k$3(c=>this.handleError(c)));return (r?this.cacheLayer.clear(o):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(o)),Be(c=>c?typeof c=="string"&&c==="-null-"?N$4(null):N$4(Nf.fromJSON(c)):a))}getLocationSuggestions(n){let r=E$4.apiBaseUrl+"/misc/location-suggestions",i=[];return l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.userQuery)&&i.push("userQuery="+encodeURIComponent(String(n.userQuery))),l$3(n.userLatitude)&&i.push("userLatitude="+encodeURIComponent(String(n.userLatitude))),l$3(n.userLongitude)&&i.push("userLongitude="+encodeURIComponent(String(n.userLongitude))),l$3(n.category)&&i.push("category="+encodeURIComponent(String(n.category))),l$3(n.reportType)&&i.push("reportType="+encodeURIComponent(String(n.reportType))),l$3(n.reportTargetType)&&i.push("reportTargetType="+encodeURIComponent(String(n.reportTargetType))),l$3(n.getPlacesAreasAndProperties)&&i.push("getPlacesAreasAndProperties="+encodeURIComponent(String(n.getPlacesAreasAndProperties))),l$3(n.getStreets)&&i.push("getStreets="+encodeURIComponent(String(n.getStreets))),l$3(n.getListingIdsApnsAndTaxIds)&&i.push("getListingIdsApnsAndTaxIds="+encodeURIComponent(String(n.getListingIdsApnsAndTaxIds))),l$3(n.getSchools)&&i.push("getSchools="+encodeURIComponent(String(n.getSchools))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:U_.fromJSON(s)),k$3(s=>this.handleError(s)))}getMaintenanceMessage(){let n=E$4.apiBaseUrl+"/misc/maintenance-message";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:pu.fromJSON(i)),k$3(i=>this.handleError(i)))}getNarMetroStatsDescription(){let n=E$4.apiBaseUrl+"/misc/nar-metro-stats";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(i=>i==null?null:JSON.parse(i)),k$3(i=>this.handleError(i)))}getNearbyListings(n){let r=E$4.apiBaseUrl+"/misc/nearby-listings",i=[];return l$3(n.propertyMode)&&i.push("propertyMode="+encodeURIComponent(String(n.propertyMode))),l$3(n.zip)&&i.push("zip="+encodeURIComponent(String(n.zip))),l$3(n.latitude)&&i.push("latitude="+encodeURIComponent(String(n.latitude))),l$3(n.longitude)&&i.push("longitude="+encodeURIComponent(String(n.longitude))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:s.map(a=>new Jf(Jf.fromJSON(a)))),k$3(s=>this.handleError(s)))}getNote(n){if(!sr(n.noteId))throw new Error("noteId parameter is not supplied for the getNote method.");let r=E$4.apiBaseUrl+`/misc/note/${n.noteId}`,i=[];return l$3(n.maxPhotoWidth)&&i.push("maxPhotoWidth="+encodeURIComponent(String(n.maxPhotoWidth))),l$3(n.maxPhotoHeight)&&i.push("maxPhotoHeight="+encodeURIComponent(String(n.maxPhotoHeight))),l$3(n.enlargeSmallImages)&&i.push("enlargeSmallImages="+encodeURIComponent(String(n.enlargeSmallImages))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}getOrgCopyrightNotice(n){let r=E$4.apiBaseUrl+"/misc/org-copyright-notice",i=[];return l$3(n.orgId)&&i.push("orgId="+encodeURIComponent(String(n.orgId))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getOrgLookups(n){let r=E$4.apiBaseUrl+"/misc/org-lookups",i=[];return l$3(n.statePlaceId)&&i.push("statePlaceId="+encodeURIComponent(String(n.statePlaceId))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:s.map(Qv.fromJSON)),k$3(s=>this.handleError(s)))}getPaging(n){let r=E$4.apiBaseUrl+"/misc/paging",i=[];return l$3(n.currentPageIndex)&&i.push("currentPageIndex="+encodeURIComponent(String(n.currentPageIndex))),l$3(n.currentPageSize)&&i.push("currentPageSize="+encodeURIComponent(String(n.currentPageSize))),l$3(n.totalCount)&&i.push("totalCount="+encodeURIComponent(String(n.totalCount))),l$3(n.displayCharCount)&&i.push("displayCharCount="+encodeURIComponent(String(n.displayCharCount))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:uu.fromJSON(s)),k$3(s=>this.handleError(s)))}getPlacePolygons(n){let r=E$4.apiBaseUrl+"/misc/place-polygons",i=[];return l$3(n.placeId)&&i.push("placeId="+encodeURIComponent(String(n.placeId))),l$3(n.mapZoomLevel)&&i.push("mapZoomLevel="+encodeURIComponent(String(n.mapZoomLevel))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:s.map(a=>new ar(ar.fromJSON(a)))),k$3(s=>this.handleError(s)))}getPrivacyConsentPolicy(n,r){let i=E$4.apiBaseUrl+"/misc/privacy-consent-policy",o=this.http.request("GET",i,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),n),responseType:"json"}).pipe(T$3(s=>((s||r&&s===null)&&this.cacheLayer.store(i,s||"-null-"),s==null?null:Va.fromJSON(s))),k$3(s=>this.handleError(s)));return (n?this.cacheLayer.clear(i):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(i)),Be(s=>s?typeof s=="string"&&s==="-null-"?N$4(null):N$4(Va.fromJSON(s)):o))}getPrivacyConsentPreferences(){let n=E$4.apiBaseUrl+"/misc/privacy-consent-preferences";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(true)),responseType:"json"}).pipe(T$3(i=>i==null?null:new os(os.fromJSON(i))),k$3(i=>this.handleError(i)))}getSchoolAddress(n){if(!sr(n.schoolId))throw new Error("schoolId parameter is not supplied for the getSchoolAddress method.");let r=E$4.apiBaseUrl+`/misc/schools/${n.schoolId}`;return this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(o=>
932o==null?null:new nn$1(nn$1.fromJSON(o))),k$3(o=>this.handleError(o)))}getSearchArea(n){if(!sr(n.searchAreaId))throw new Error("searchAreaId parameter is not supplied for the getSearchArea method.");let r=E$4.apiBaseUrl+`/misc/search-areas/${n.searchAreaId}`;return this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(o=>o==null?null:new Ba(Ba.fromJSON(o))),k$3(o=>this.handleError(o)))}getSearchPreviousAndNextLinks(n){let r=E$4.apiBaseUrl+"/misc/search-prev-next-links",i=[];return l$3(n.searchCriteriaId)&&i.push("searchCriteriaId="+encodeURIComponent(String(n.searchCriteriaId))),l$3(n.entityId)&&i.push("entityId="+encodeURIComponent(String(n.entityId))),l$3(n.entitySubId1)&&i.push("entitySubId1="+encodeURIComponent(String(n.entitySubId1))),l$3(n.entitySubId2)&&i.push("entitySubId2="+encodeURIComponent(String(n.entitySubId2))),l$3(n.tab)&&i.push("tab="+encodeURIComponent(String(n.tab))),l$3(n.isLegacy)&&i.push("isLegacy="+encodeURIComponent(String(n.isLegacy))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:j_.fromJSON(s)),k$3(s=>this.handleError(s)))}getSiteHeaderInfo(){let n=E$4.apiBaseUrl+"/misc/site-header-info";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:new Xf(Xf.fromJSON(i))),k$3(i=>this.handleError(i)))}getSitexMailingLabelsPromoUrl(){let n=E$4.apiBaseUrl+"/misc/sitex-mailing-labels-promo-url";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(i=>i==null?null:JSON.parse(i)),k$3(i=>this.handleError(i)))}getSsoRprIssuers(){let n=E$4.apiBaseUrl+"/misc/lookups/sso-rpr-issuers";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i??null),k$3(i=>this.handleError(i)))}getStateLookups(){let n=E$4.apiBaseUrl+"/misc/states";return this.http.request("GET",n,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(i=>i==null?null:i.map(Fa.fromJSON)),k$3(i=>this.handleError(i)))}getTechnologyRegistry(n,r){let i=E$4.apiBaseUrl+"/misc/privacy-consent-technology-registry",o=this.http.request("GET",i,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),n),responseType:"json"}).pipe(T$3(s=>((s||r&&s===null)&&this.cacheLayer.store(i,s||"-null-"),s==null?null:s.map(Kf.fromJSON))),k$3(s=>this.handleError(s)));return (n?this.cacheLayer.clear(i):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(i)),Be(s=>s?typeof s=="string"&&s==="-null-"?N$4(null):N$4(s.map(Kf.fromJSON)):o))}getTip(n,r,i){let o=E$4.apiBaseUrl+"/misc/tip",s=[];l$3(n.name)&&s.push("name="+encodeURIComponent(String(n.name))),s.length&&(o+="?"+s.join("&"));let a=this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false),r),responseType:"text"}).pipe(T$3(c=>((c||i&&c===null)&&this.cacheLayer.store(o,c||"-null-"),c==null?null:JSON.parse(c))),k$3(c=>this.handleError(c)));return (r?this.cacheLayer.clear(o):N$4(null)).pipe(Ft(()=>this.cacheLayer.retrieve(o)),Be(c=>c?typeof c=="string"&&c==="-null-"?N$4(null):N$4(JSON.parse(c)):a))}getZipPlaceAddress(n){let r=E$4.apiBaseUrl+"/misc/zip-place",i=[];return l$3(n.zipCode)&&i.push("zipCode="+encodeURIComponent(String(n.zipCode))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:new nn$1(nn$1.fromJSON(s))),k$3(s=>this.handleError(s)))}proxy(n){let r=E$4.apiBaseUrl+"/misc/proxy",i=[];return l$3(n.url)&&i.push("url="+encodeURIComponent(String(n.url))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}saveBrokerOptOutUserVote(n){let r=E$4.apiBaseUrl+"/misc/broker-opt-out-vote";return this.http.request("POST",r,{body:JSON.stringify(n.votedYes),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(o=>this.handleError(o)))}saveChangesToSearchCriteria(n){let r=E$4.apiBaseUrl+"/misc/search-criteria/changes",i=[];return l$3(n.searchCriteriaId)&&i.push("searchCriteriaId="+encodeURIComponent(String(n.searchCriteriaId))),l$3(n.searchType)&&i.push("searchType="+encodeURIComponent(String(n.searchType))),l$3(n.resultsView)&&i.push("resultsView="+encodeURIComponent(String(n.resultsView))),l$3(n.mapCentroidLatitude)&&i.push("mapCentroidLatitude="+encodeURIComponent(String(n.mapCentroidLatitude))),l$3(n.mapCentroidLongitude)&&i.push("mapCentroidLongitude="+encodeURIComponent(String(n.mapCentroidLongitude))),l$3(n.mapZoomLevel)&&i.push("mapZoomLevel="+encodeURIComponent(String(n.mapZoomLevel))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:JSON.stringify(n.mapBoundingBox?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}savePrivacyConsentPreferences(n){let r=E$4.apiBaseUrl+"/misc/privacy-consent-preferences";return this.http.request("POST",r,{body:JSON.stringify(n.items.map(o=>o.toJSON())),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(true)),responseType:"text"}).pipe(k$3(o=>this.handleError(o)))}submitUnknownQuery(n){let r=E$4.apiBaseUrl+"/misc/unknown-query",i=[];return l$3(n.query)&&i.push("query="+encodeURIComponent(String(n.query))),i.length&&(r+="?"+i.join("&")),this.http.request("POST",r,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}verifyEmailAddress(n){let r=E$4.apiBaseUrl+"/misc/verify-email",i=[];return l$3(n.email)&&i.push("email="+encodeURIComponent(String(n.email))),i.length&&(r+="?"+i.join("&")),this.http.request("GET",r,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var r$1=(()=>
932{class i{setData(e){this.adminTab=e?.adminTab||null,this.breadcrumbText=e?.breadcrumbText||null,this.commercialLearningMenuPageType=e?.commercialLearningMenuPageType||null,this.disableSmartBanner=e?.disableSmartBanner||false,this.hasBottomFloatingPagination=e?.hasBottomFloatingPagination||null,this.hasFixedContent=e?.hasFixedContent||false,this.hasFullHeightContent=e?.hasFullHeightContent||false,this.hasNoFooterMargin=e?.hasNoFooterMargin||null,this.mainMenuItem=e?.mainMenuItem||null,this.omitGoogleTagManager=e?.omitGoogleTagManager||false,this.requiredPermissions=e?.requiredPermissions||[],this.residentialLearningMenuPageType=e?.residentialLearningMenuPageType||null,this.skipAnalytics=e?.skipAnalytics||false,this.skipVersionCheck=e?.skipVersionCheck||false,this.supportsMobile=e?.supportsMobile||false;}static{this.\u0275fac=function(s){return new(s||i)};}static{this.\u0275prov=U$3({token:i,factory:i.\u0275fac});}}return i})();var n$2=(function(r){return r[r.Pending=1]="Pending",r[r.Queued=2]="Queued",r[r.Generating=3]="Generating",r[r.Generated=4]="Generated",r[r.Delivering=5]="Delivering",r[r.Delivered=6]="Delivered",r[r.ErrorOccurredWhileGenerating=7]="ErrorOccurredWhileGenerating",r[r.ErrorOccurredWhileDelivering=8]="ErrorOccurredWhileDelivering",r[r.ReportDocumentNoLongerExists=9]="ReportDocumentNoLongerExists",r})(n$2||{});var s$5=class r{constructor(e){l$3(e)&&r.copyProperties(e,this);}static fromJSON(e){let i=new r;return e&&r.copyProperties(e,i),i}toJSON(){let e={};return r.copyProperties(this,e),e}static copyProperties(e,i){l$3(e.reportId)&&(i.reportId=e.reportId),l$3(e.userName)&&(i.userName=e.userName),l$3(e.userEmailAddress)&&(i.userEmailAddress=e.userEmailAddress),l$3(e.reportType)&&(i.reportType=e.reportType),l$3(e.reportTypeDescription)&&(i.reportTypeDescription=e.reportTypeDescription),l$3(e.reportMode)&&(i.reportMode=e.reportMode),l$3(e.reportStatus)&&(i.reportStatus=e.reportStatus),l$3(e.reportTitle)&&(i.reportTitle=e.reportTitle),l$3(e.reportUrl)&&(i.reportUrl=e.reportUrl),l$3(e.reportIconName)&&(i.reportIconName=e.reportIconName),l$3(e.requestDateTime)&&(i.requestDateTime=e.requestDateTime),l$3(e.deliveryMethod)&&(i.deliveryMethod=e.deliveryMethod),l$3(e.deliveryCCUser)&&(i.deliveryCCUser=e.deliveryCCUser),l$3(e.deliveryRecipientEmails)&&(i.deliveryRecipientEmails=e.deliveryRecipientEmails.slice()),l$3(e.generationAttemptCount)&&(i.generationAttemptCount=e.generationAttemptCount),l$3(e.durationInMsDataRetrievalAndHtmlRendering)&&(i.durationInMsDataRetrievalAndHtmlRendering=e.durationInMsDataRetrievalAndHtmlRendering),l$3(e.durationInMsHtmlToPdfGeneration)&&(i.durationInMsHtmlToPdfGeneration=e.durationInMsHtmlToPdfGeneration),l$3(e.durationInMsPreviewImage)&&(i.durationInMsPreviewImage=e.durationInMsPreviewImage),l$3(e.durationInMsTotal)&&(i.durationInMsTotal=e.durationInMsTotal),l$3(e.placeInLine)&&(i.placeInLine=e.placeInLine),l$3(e.totalMinutes)&&(i.totalMinutes=e.totalMinutes),l$3(e.lastNotLoggedInViewDateTime)&&(i.lastNotLoggedInViewDateTime=e.lastNotLoggedInViewDateTime),l$3(e.reportAddressState)&&(i.reportAddressState=e.reportAddressState);}};var a$5=class a extends s$5{get isFailed(){return this.reportStatus===n$2.ErrorOccurredWhileGenerating||this.reportStatus===n$2.ReportDocumentNoLongerExists}get isComplete(){return this.reportStatus===n$2.Generated||this.reportStatus===n$2.Delivered||this.reportStatus===n$2.ErrorOccurredWhileDelivering}get isPending(){return !this.isFailed&&!this.isComplete}get timeRemaining(){return this.totalMinutes===void 0?null:this.totalMinutes<2?"Finalizing":`${this.totalMinutes} Minute${this.totalMinutes===1?"":"s"} Remaining`}get statusCssClass(){return this.isFailed?"failed":this.isComplete?"complete":"pending"}};var a$4=(function(s){return s[s.MyMarkets=1]="MyMarkets",s[s.MyListings=2]="MyListings",s[s.MySavedProperties=3]="MySavedProperties",s[s.MyRecentProperties=4]="MyRecentProperties",s[s.MyReports=5]="MyReports",s[s.MyNotes=6]="MyNotes",s[s.MySavedSearches=7]="MySavedSearches",s[s.MyRecentSearches=8]="MyRecentSearches",s})(a$4||{});var o$5=(function(r){return r[r.Home=1]="Home",r[r.Research=2]="Research",r[r.Marketing=3]="Marketing",r[r.Reports=4]="Reports",r[r.Learn=5]="Learn",r[r.Help=6]="Help",r[r.MyWork=7]="MyWork",r[r.Profile=8]="Profile",r})(o$5||{});var s$4=(function(t){return t[t.ResidentialHomepage=1]="ResidentialHomepage",t[t.CommercialHomepage=2]="CommercialHomepage",t[t.CommercialSearchSiteSelectionAnalysis=4]="CommercialSearchSiteSelectionAnalysis",t[t.CommercialSearchMapInsights=5]="CommercialSearchMapInsights",t[t.ResidentialSearchResultsProperties=6]="ResidentialSearchResultsProperties",t[t.ResidentialSearchResultsNeighborhoods=7]="ResidentialSearchResultsNeighborhoods",t[t.ResidentialSearchResultsSchools=8]="ResidentialSearchResultsSchools",t[t.ResidentialSearchResultsMarketActivity=9]="ResidentialSearchResultsMarketActivity",t[t.CommercialSearchResultsProperties=10]="CommercialSearchResultsProperties",t[t.CommercialSearchResultsSiteSelectionAnalysis=11]="CommercialSearchResultsSiteSelectionAnalysis",t[t.CommercialSearchResultsMapInsights=12]="CommercialSearchResultsMapInsights",t[t.ResidentialPropertyDetailsSummary=13]="ResidentialPropertyDetailsSummary",t[t.ResidentialPropertyDetailsHistory=14]="ResidentialPropertyDetailsHistory",t[t.ResidentialPropertyDetailsCharts=15]="ResidentialPropertyDetailsCharts",t[t.ResidentialPropertyDetailsRefinedValue=16]="ResidentialPropertyDetailsRefinedValue",t[t.ResidentialPropertyDetailsCompAnalysis=17]="ResidentialPropertyDetailsCompAnalysis",t[t.CommercialPropertyDetailsSummary=18]="CommercialPropertyDetailsSummary",t[t.CommercialTradeAreaSummary=19]="CommercialTradeAreaSummary",t[t.ResidentialNeighborhoodDetails=20]="ResidentialNeighborhoodDetails",t[t.ResidentialSchoolDetails=22]="ResidentialSchoolDetails",t[t.CommercialReportGenerationPage=23]="CommercialReportGenerationPage",t[t.ResidentialReportGenerationPage=24]="ResidentialReportGenerationPage",t[t.CommercialProfileAndSettings=25]="CommercialProfileAndSettings",t[t.ResidentialProfileAndSettings=26]="ResidentialProfileAndSettings",t[t.ResidentialMarketTrends=29]="ResidentialMarketTrends",t[t.ResidentialNextGenReports=30]="ResidentialNextGenReports",t[t.CommercialNextGenReports=31]="CommercialNextGenReports",t[t.ResidentialEconomicAreaReports=32]="ResidentialEconomicAreaReports",t})(s$4||{});var s$3=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let r=new a;return e&&a.copyProperties(e,r),r}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,r){l$3(e.canOverrideBrandProfile)&&(r.canOverrideBrandProfile=e.canOverrideBrandProfile),l$3(e.brandId)&&(r.brandId=e.brandId),l$3(e.brokerId)&&(r.brokerId=e.brokerId),l$3(e.brokerName)&&(r.brokerName=e.brokerName),l$3(e.name)&&(r.name=e.name),l$3(e.address)&&(r.address=new nn$1(e.address));}};var c$3=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let i=new a;return e&&a.copyProperties(e,i),i}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,i){l$3(e.email)&&(i.email=e.email),l$3(e.contactFirstName)&&(i.contactFirstName=e.contactFirstName),l$3(e.contactLastName)&&(i.contactLastName=e.contactLastName),l$3(e.primaryPhoneNumber)&&(i.primaryPhoneNumber=e.primaryPhoneNumber),l$3(e.lastActivityDate)&&(i.lastActivityDate=e.lastActivityDate),l$3(e.isOnLine)&&(i.isOnLine=e.isOnLine),l$3(e.isDisabled)&&(i.isDisabled=e.isDisabled),l$3(e.isLockedOut)&&(i.isLockedOut=e.isLockedOut),l$3(e.isCurrentlyBlockedByFrequencyCapping)&&(i.isCurrentlyBlockedByFrequencyCapping=e.isCurrentlyBlockedByFrequencyCapping),l$3(e.userName)&&(i.userName=e.userName),l$3(e.createDate)&&(i.createDate=e.createDate),l$3(e.expirationDate)&&(i.expirationDate=e.expirationDate),l$3(e.rowNumber)&&(i.rowNumber=e.rowNumber);}};var s$2=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let r=new e;return t&&e.copyProperties(t,r),r}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,r){l$3(t.sortColumnId)&&(r.sortColumnId=t.sortColumnId),l$3(t.description)&&(r.description=t.description),l$3(t.defaultSortDirection)&&(r.defaultSortDirection=t.defaultSortDirection);}};var o$4=class o extends s$2{constructor(){super(...arguments),this.disabled=false,this.tooltip="";}};var g$2=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.rowNumber)&&(t.rowNumber=e.rowNumber),l$3(e.email)&&(t.email=e.email),l$3(e.contactFirstName)&&(t.contactFirstName=e.contactFirstName),l$3(e.contactLastName)&&(t.contactLastName=e.contactLastName),l$3(e.lastActivityDate)&&(t.lastActivityDate=e.lastActivityDate),l$3(e.isOnLine)&&(t.isOnLine=e.isOnLine),l$3(e.isDisabled)&&(t.isDisabled=e.isDisabled),l$3(e.isLockedOut)&&(t.isLockedOut=e.isLockedOut),l$3(e.isCurrentlyBlockedByFrequencyCapping)&&(t.isCurrentlyBlockedByFrequencyCapping=e.isCurrentlyBlockedByFrequencyCapping),l$3(e.userName)&&(t.userName=e.userName),l$3(e.userTypeId)&&(t.userTypeId=e.userTypeId),l$3(e.userTypeDescription)&&(t.userTypeDescription=e.userTypeDescription),l$3(e.m1)&&(t.m1=e.m1),l$3(e.administrator)&&(t.administrator=e.administrator),l$3(e.superUser)&&(t.superUser=e.superUser),l$3(e.orgsManager)&&(t.orgsManager=e.orgsManager),l$3(e.usersManager)&&(t.usersManager=e.usersManager),l$3(e.preferredPropertyModeId)&&(t.preferredPropertyModeId=e.preferredPropertyModeId),l$3(e.isOnRprUpdatesMailingList)&&(t.isOnRprUpdatesMailingList=e.isOnRprUpdatesMailingList),l$3(e.createDate)&&(t.createDate=e.createDate),l$3(e.preferredOrgId)&&(t.preferredOrgId=e.preferredOrgId),l$3(e.preferredOrgName)&&(t.preferredOrgName=e.preferredOrgName),l$3(e.orgId)&&(t.orgId=e.orgId),l$3(e.hasMultipleOrgs)&&(t.hasMultipleOrgs=e.hasMultipleOrgs),l$3(e.agentId)&&(t.agentId=e.agentId),l$3(e.isAgentIdValid)&&(t.isAgentIdValid=e.isAgentIdValid),l$3(e.isAdminOverride)&&(t.isAdminOverride=e.isAdminOverride),l$3(e.officeId)&&(t.officeId=e.officeId),l$3(e.officeName)&&(t.officeName=e.officeName),l$3(e.brandId)&&(t.brandId=e.brandId),l$3(e.brandName)&&(t.brandName=e.brandName),l$3(e.isBrandDisconnectedFromOffice)&&(t.isBrandDisconnectedFromOffice=e.isBrandDisconnectedFromOffice),l$3(e.brokerId)&&(t.brokerId=e.brokerId),l$3(e.brokerName)&&(t.brokerName=e.brokerName),l$3(e.hasAccountSharingStatus)&&(t.hasAccountSharingStatus=e.hasAccountSharingStatus),l$3(e.accountSharingStatusId)&&(t.accountSharingStatusId=e.accountSharingStatusId),l$3(e.accountSharingStatusModifiedDateTime)&&(t.accountSharingStatusModifiedDateTime=e.accountSharingStatusModifiedDateTime),l$3(e.isInvalidNrdsStatus)&&(t.isInvalidNrdsStatus=e.isInvalidNrdsStatus),l$3(e.expirationDate)&&(t.expirationDate=e.expirationDate),l$3(e.isTemporary)&&(t.isTemporary=e.isTemporary);}}
932;var y$3=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.brandId)&&(t.brandId=e.brandId),l$3(e.brandName)&&(t.brandName=e.brandName),l$3(e.brokerId)&&(t.brokerId=e.brokerId),l$3(e.brokerName)&&(t.brokerName=e.brokerName),l$3(e.canOverrideOfficeProfile)&&(t.canOverrideOfficeProfile=e.canOverrideOfficeProfile),l$3(e.canOverrideBrandProfile)&&(t.canOverrideBrandProfile=e.canOverrideBrandProfile),l$3(e.officeId)&&(t.officeId=e.officeId),l$3(e.name)&&(t.name=e.name),l$3(e.address)&&(t.address=new nn$1(e.address));}};var N$3=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.nrdsId)&&(t.nrdsId=e.nrdsId),l$3(e.expirationDateTime)&&(t.expirationDateTime=e.expirationDateTime),l$3(e.modifiedBy)&&(t.modifiedBy=e.modifiedBy),l$3(e.modifiedByLogonEmail)&&(t.modifiedByLogonEmail=e.modifiedByLogonEmail),l$3(e.modifiedByContactFirstName)&&(t.modifiedByContactFirstName=e.modifiedByContactFirstName),l$3(e.modifiedByContactLastName)&&(t.modifiedByContactLastName=e.modifiedByContactLastName),l$3(e.modifiedDateTime)&&(t.modifiedDateTime=e.modifiedDateTime),l$3(e.modifiedByFullName)&&(t.modifiedByFullName=e.modifiedByFullName);}};var T$2=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.userName)&&(t.userName=e.userName),l$3(e.loginEmail)&&(t.loginEmail=e.loginEmail),l$3(e.isPasswordChangeRequired)&&(t.isPasswordChangeRequired=e.isPasswordChangeRequired),l$3(e.isUserAccountDisabled)&&(t.isUserAccountDisabled=e.isUserAccountDisabled),l$3(e.isTemporary)&&(t.isTemporary=e.isTemporary),l$3(e.expirationDate)&&(t.expirationDate=e.expirationDate),l$3(e.createdDateTime)&&(t.createdDateTime=e.createdDateTime),l$3(e.lastLoginDateTime)&&(t.lastLoginDateTime=e.lastLoginDateTime),l$3(e.lastActivityDateTime)&&(t.lastActivityDateTime=e.lastActivityDateTime),l$3(e.lastPasswordChangedDateTime)&&(t.lastPasswordChangedDateTime=e.lastPasswordChangedDateTime),l$3(e.lastLockoutDateTime)&&(t.lastLockoutDateTime=e.lastLockoutDateTime),l$3(e.isLockedOut)&&(t.isLockedOut=e.isLockedOut);}};var S$1=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.agentId)&&(t.agentId=e.agentId),l$3(e.isDefault)&&(t.isDefault=e.isDefault),l$3(e.orgName)&&(t.orgName=e.orgName),l$3(e.brandName)&&(t.brandName=e.brandName),l$3(e.coBrandId)&&(t.coBrandId=e.coBrandId),l$3(e.coBrandType)&&(t.coBrandType=e.coBrandType),l$3(e.coBrandStatus)&&(t.coBrandStatus=e.coBrandStatus),l$3(e.coBrandCode)&&(t.coBrandCode=e.coBrandCode),l$3(e.isPublished)&&(t.isPublished=e.isPublished);}};var I$1=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.userName)&&(t.userName=e.userName),l$3(e.logonEmail)&&(t.logonEmail=e.logonEmail);}};var o$3=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){if(l$3(e.user)&&(t.user=new E_(e.user)),l$3(e.realtor)&&(t.realtor=new w_(e.realtor)),l$3(e.userAccount)&&(t.userAccount=new T$2(e.userAccount)),l$3(e.nrdsId)&&(t.nrdsId=e.nrdsId),l$3(e.nrdsLastName)&&(t.nrdsLastName=e.nrdsLastName),l$3(e.nrdsMemberType)&&(t.nrdsMemberType=e.nrdsMemberType),l$3(e.adminAuthorizedNrdsIdAuditEntries)&&(t.adminAuthorizedNrdsIdAuditEntries=e.adminAuthorizedNrdsIdAuditEntries.map(s=>new N$3(s))),l$3(e.canAuthorizeNrds)&&(t.canAuthorizeNrds=e.canAuthorizeNrds),l$3(e.officeProfiles)){t.officeProfiles=Object.assign({},e.officeProfiles);for(let s in e.officeProfiles)e.officeProfiles.hasOwnProperty(s)&&(t.officeProfiles[s]=new y$3(e.officeProfiles[s]));}if(l$3(e.brandProfiles)){t.brandProfiles=Object.assign({},e.brandProfiles);for(let s in e.brandProfiles)e.brandProfiles.hasOwnProperty(s)&&(t.brandProfiles[s]=new s$3(e.brandProfiles[s]));}l$3(e.realtorFullName)&&(t.realtorFullName=e.realtorFullName),l$3(e.roles)&&(t.roles=e.roles.slice()),l$3(e.userName)&&(t.userName=e.userName),l$3(e.email)&&(t.email=e.email),l$3(e.password)&&(t.password=e.password),l$3(e.webOrgAgents)&&(t.webOrgAgents=e.webOrgAgents.map(s=>new T_(s))),l$3(e.coBrands)&&(t.coBrands=e.coBrands.map(s=>new S$1(s))),l$3(e.isNrdsIdMultiUsageAllowed)&&(t.isNrdsIdMultiUsageAllowed=e.isNrdsIdMultiUsageAllowed),l$3(e.isUserPasswordChangeRequired)&&(t.isUserPasswordChangeRequired=e.isUserPasswordChangeRequired),l$3(e.businessProfile)&&(t.businessProfile=new ja(e.businessProfile)),l$3(e.assistantUsers)&&(t.assistantUsers=e.assistantUsers.slice()),l$3(e.assistantUsersNew)&&
932(t.assistantUsersNew=e.assistantUsersNew.map(s=>new c$3(s))),l$3(e.assistantUsersPaging)&&(t.assistantUsersPaging=new uu(e.assistantUsersPaging)),l$3(e.usersWithSameNrdsId)&&(t.usersWithSameNrdsId=e.usersWithSameNrdsId.map(s=>new I$1(s))),l$3(e.orgOverrideComment)&&(t.orgOverrideComment=e.orgOverrideComment),l$3(e.nrdsIdEmptyComment)&&(t.nrdsIdEmptyComment=e.nrdsIdEmptyComment),l$3(e.devices)&&(t.devices=e.devices.map(s=>new y_(s))),l$3(e.maxLinkedDeviceCountAsString)&&(t.maxLinkedDeviceCountAsString=e.maxLinkedDeviceCountAsString),l$3(e.staffListTypes)&&(t.staffListTypes=e.staffListTypes.slice()),l$3(e.userTypeDescription)&&(t.userTypeDescription=e.userTypeDescription),l$3(e.allowChangeOfUserType)&&(t.allowChangeOfUserType=e.allowChangeOfUserType);}};var U$2=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.data)&&(t.data=e.data.map(s=>new c$3(s))),l$3(e.paging)&&(t.paging=new uu(e.paging));}};var P$3=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.data)&&(t.data=e.data.map(s=>new g$2(s))),l$3(e.paging)&&(t.paging=new uu(e.paging));}};var O$2=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.user)&&(t.user=new o$3(e.user)),l$3(e.status)&&(t.status=e.status);}};var q$6=class a{constructor(e){l$3(e)&&a.copyProperties(e,this);}static fromJSON(e){let t=new a;return e&&a.copyProperties(e,t),t}toJSON(){let e={};return a.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.loginEmail)&&(t.loginEmail=e.loginEmail),l$3(e.primaryPhoneNumber)&&(t.primaryPhoneNumber=e.primaryPhoneNumber),l$3(e.primaryEmailAddress)&&(t.primaryEmailAddress=e.primaryEmailAddress),l$3(e.value)&&(t.value=e.value),l$3(e.description)&&(t.description=e.description);}};var Xe$1=(()=>{class a extends ou{constructor(){super(...arguments),this.name="AdminUsers",this.apiHeaders=h$5(e_),this.http=h$5(Jc),this.cacheLayer=h$5(as),this.helper=h$5(ue$3);}authorizeNrdsMember(t){let s=E$4.apiBaseUrl+"/adminusers/nrds/authorize",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),l$3(t.nrdsId)&&r.push("nrdsId="+encodeURIComponent(String(t.nrdsId))),l$3(t.nrdsLastName)&&r.push("nrdsLastName="+encodeURIComponent(String(t.nrdsLastName))),l$3(t.nrdsEmail)&&r.push("nrdsEmail="+encodeURIComponent(String(t.nrdsEmail))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(n=>n==null?null:JSON.parse(n)),k$3(n=>this.handleError(n)))}bulkModify(t){let s=E$4.apiBaseUrl+"/adminusers/bulk-modify",r=[];return l$3(t.action)&&r.push("action="+encodeURIComponent(String(t.action))),l$3(t.role)&&r.push("role="+encodeURIComponent(String(t.role))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:JSON.stringify(t.userNames),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n??null),k$3(n=>this.handleError(n)))}changeAccountSharingStatus(t){let s=E$4.apiBaseUrl+"/adminusers/account-sharing",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),l$3(t.newStatus)&&r.push("newStatus="+encodeURIComponent(String(t.newStatus))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n??null),k$3(n=>this.handleError(n)))}disableUser(t){let s=E$4.apiBaseUrl+"/adminusers/disable",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),l$3(t.disable)&&r.push("disable="+encodeURIComponent(String(t.disable))),l$3(t.reason)&&r.push("reason="+encodeURIComponent(String(t.reason))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}exportOrgAssistantsNew(t){let s=E$4.apiBaseUrl+"/adminusers/export/assistants/new",r=[];return l$3(t.orgId)&&r.push("orgId="+encodeURIComponent(String(t.orgId))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}exportRealtorUserNew(t){let s=E$4.apiBaseUrl+"/adminusers/export/realtor/new",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}exportUserNew(t){let s=E$4.apiBaseUrl+"/adminusers/export/new",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}exportUserProfileNew(t){let s=E$4.apiBaseUrl+"/adminusers/export/profile/new",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}exportUsers(t){let s=E$4.apiBaseUrl+"/adminusers/export/users";return this.http.request("POST",s,{body:JSON.stringify(t.criteria?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(p=>this.handleError(p)))}findStaffByKeywords(t){let s=E$4.apiBaseUrl+"/adminusers/staff-users",r=[];return l$3(t.userType)&&r.push("userType="+encodeURIComponent(String(t.userType))),l$3(t.entityId)&&r.push("entityId="+encodeURIComponent(String(t.entityId))),l$3(t.userKeyword)&&r.push("userKeyword="+encodeURIComponent(String(t.userKeyword))),l$3(t.sortColumnId)&&r.push("sortColumnId="+encodeURIComponent(String(t.sortColumnId))),l$3(t.sortDirection)&&r.push("sortDirection="+encodeURIComponent(String(t.sortDirection))),l$3(t.pageIndex)&&r.push("pageIndex="+encodeURIComponent(String(t.pageIndex))),l$3(t.pageSize)&&r.push("pageSize="+encodeURIComponent(String(t.pageSize))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:du.fromJSON(n)),k$3(n=>this.handleError(n)))}findStaffByKeywordsNew(t){let s=E$4.apiBaseUrl+"/adminusers/staff-users/new",r=[];return l$3(t.userType)&&r.push("userType="+encodeURIComponent(String(t.userType))),l$3(t.entityId)&&r.push("entityId="+encodeURIComponent(String(t.entityId))),l$3(t.userKeyword)&&r.push("userKeyword="+encodeURIComponent(String(t.userKeyword))),l$3(t.sortColumnId)&&r.push("sortColumnId="+encodeURIComponent(String(t.sortColumnId))),l$3(t.sortDirection)&&r.push("sortDirection="+encodeURIComponent(String(t.sortDirection))),l$3(t.pageIndex)&&r.push("pageIndex="+encodeURIComponent(String(t.pageIndex))),l$3(t.pageSize)&&r.push("pageSize="+encodeURIComponent(String(t.pageSize))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:U$2.fromJSON(n)),k$3(n=>this.handleError(n)))}findUsers(t){let s=E$4.apiBaseUrl+"/adminusers";return this.http.request("POST",s,{body:JSON.stringify(t.criteria?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:du.fromJSON(p)),k$3(p=>this.handleError(p)))}findUsersNew(t){let s=E$4.apiBaseUrl+"/adminusers/new";return this.http.request("POST",s,{body:JSON.stringify(t.criteria?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:P$3.fromJSON(p)),k$3(p=>this.handleError(p)))}generatePasswordResetTokenAndEmail(t){let s=E$4.apiBaseUrl+"/adminusers/passwords/token",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n??null),k$3(n=>this.handleError(n)))}getAssignableRoles(){let t=E$4.apiBaseUrl+"/adminusers/admin/roles";return this.http.request("GET",t,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(r=>r??null),k$3(r=>this.handleError(r)))}getNewUser(t){let s=E$4.apiBaseUrl+"/adminusers/new",r=[];return l$3(t.orgId)&&r.push("orgId="+encodeURIComponent(String(t.orgId))),l$3(t.agentId)&&r.push("agentId="+encodeURIComponent(String(t.agentId))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:o$3.fromJSON(n)),k$3(n=>this.handleError(n)))}getNrdsMemberTypeLookups(){let t=E$4.apiBaseUrl+"/adminusers/nrds-member-type-lookups";return this.http.request("GET",t,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(r=>r==null?null:r.map(Vn$1.fromJSON)),k$3(r=>this.handleError(r)))}getStaffListTypeLookups(t){t||(t={});let s=E$4.apiBaseUrl+"/adminusers/staff-list-type-lookups",r=[];return l$3(t.includeDefaultChoice)&&r.push("includeDefaultChoice="+encodeURIComponent(String(t.includeDefaultChoice))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:n.map(Vn$1.fromJSON)),k$3(n=>this.handleError(n)))}getUser(t){let s=E$4.apiBaseUrl+"/adminusers",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:o$3.fromJSON(n)),k$3(n=>this.handleError(n)))}getUserName(t){if(!sr(t.loginEmail))throw new Error("loginEmail parameter is not supplied for the getUserName method.");let s=E$4.apiBaseUrl+`/adminusers/admin/username/${t.loginEmail}`;return this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(p=>p==null?null:JSON.parse(p)),k$3(p=>this.handleError(p)))}getUserNew(t){let s=E$4.apiBaseUrl+"/adminusers/GetUserNew",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:o$3.fromJSON(n)),k$3(n=>this.handleError(n)))}getUsersByStaffListType(t){let s=E$4.apiBaseUrl+"/adminusers/staff-users-by-type",r=[];return l$3(t.staffListType)&&r.push("staffListType="+encodeURIComponent(String(t.staffListType))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:n.map(q$6.fromJSON)),k$3(n=>this.handleError(n)))}getUserSortColumns(){let t=E$4.apiBaseUrl+"/adminusers/admin/user-sort-columns";return this.http.request("GET",t,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(r=>r==null?null:r.map(p=>new o$4(o$4.fromJSON(p)))),k$3(r=>this.handleError(r)))}getUserTypes(t){t||(t={});let s=E$4.apiBaseUrl+"/adminusers/admin/user-types",r=[];return l$3(t.includeDefaultChoice)&&r.push("includeDefaultChoice="+encodeURIComponent(String(t.includeDefaultChoice))),r.length&&(s+="?"+r.join("&")),this.http.request("GET",s,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n==null?null:n.map(Vn$1.fromJSON)),k$3(n=>this.handleError(n)))}renewUserExpiration(t){let s=E$4.apiBaseUrl+"/adminusers/user-expiration-renewals",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}saveUser(t){let s=E$4.apiBaseUrl+"/adminusers";return this.http.request("PUT",s,{body:JSON.stringify(t.user?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("PUT",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:O$2.fromJSON(p)),k$3(p=>this.handleError(p)))}toggleRole(t){let s=E$4.apiBaseUrl+"/adminusers/role",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),l$3(t.role)&&r.push("role="+encodeURIComponent(String(t.role))),l$3(t.addToRole)&&r.push("addToRole="+encodeURIComponent(String(t.addToRole))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}unblockFrequencyCapping(t){let s=E$4.apiBaseUrl+"/adminusers/frequency-cap/unblock",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}unlockUser(t){let s=E$4.apiBaseUrl+"/adminusers/unlock",r=[];return l$3(t.userName)&&r.push("userName="+encodeURIComponent(String(t.userName))),r.length&&(s+="?"+r.join("&")),this.http.request("POST",s,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}static{this.\u0275fac=function(s){return new(s||a)};}static{this.\u0275prov=U$3({token:a,factory:a.\u0275fac});}}return a})();var B$2=(()=>{class t{constructor(){this.router=h$5(Qr$1),this.route=h$5(Ii),this.events=h$5(Xo);}
932get reportCriteriaId(){return $Ae(this.route.snapshot.queryParams[H$3.ReportCriteriaId],null)}navigateByUrl(e,r,a){if(e||(e="/"),this.events.fire(Ti.HideMapBalloon),this.isLegacyUrl(e)||Ht$1.isInsideIframe()){this.events.fire(Ti.LegacyNavigationStart,e);return}a&&(e=te$2(e,...zVe(this.route.snapshot.queryParamMap))),this.router.navigateByUrl(e,r||void 0);}removeQueryParamsFromCurrentRoute(...e){let r={};return e.forEach(a=>r[a]=null),this.updateQueryParamsInCurrentRoute(r,true)}updateQueryParamsInCurrentRoute(e,r=false){return this.router.navigate([],{relativeTo:this.route,queryParams:e,queryParamsHandling:"merge",replaceUrl:r})}isLegacyUrl(e){return e.includes("/link-to-details")||e.includes("/commercial/criteria")||e.includes("/commercial/analysis")||e.includes("/data-tools")||e.includes(".aspx")}static{this.\u0275fac=function(r){return new(r||t)};}static{this.\u0275prov=U$3({token:t,factory:t.\u0275fac});}}return t})();var l$2=(function(r){return r[r.Success=0]="Success",r[r.CurrentPasswordInvalid=1]="CurrentPasswordInvalid",r[r.AccountLockedOut=2]="AccountLockedOut",r[r.Error=3]="Error",r[r.ExceededCap=4]="ExceededCap",r[r.NewPasswordNotAllowed=5]="NewPasswordNotAllowed",r[r.TokenInvalid=6]="TokenInvalid",r[r.AccountDisabled=7]="AccountDisabled",r})(l$2||{});var o=class r{constructor(c){l$3(c)&&r.copyProperties(c,this);}static fromJSON(c){let e=new r;return c&&r.copyProperties(c,e),e}toJSON(){let c={};return r.copyProperties(this,c),c}static copyProperties(c,e){l$3(c.currentPassword)&&(e.currentPassword=c.currentPassword),l$3(c.newPassword)&&(e.newPassword=c.newPassword);}};var y$2=(()=>{class s{constructor(){this.el=h$5(me$2),this.renderer=h$5(Vt$2),this.events=h$5(Xo),this.analytics=h$5(SB);}ngOnInit(){this.input=this.el.nativeElement;}ngAfterContentInit(){let e=this.renderer.createElement("a");this.renderer.setAttribute(e,"class","show-hide-button");let t=this.renderer.createText("Show"),o=this.renderer.createText("Hide");this.renderer.appendChild(e,t),this.renderer.appendChild(this.renderer.parentNode(this.input),e),this.renderer.listen(e,"click",i=>{let h=this.input.type==="password";this.events.fire(Ti.PasswordToggle,h),this.input.focus(),this.revealPasswordGA4Event&&h&&this.analytics.trackEvent(this.revealPasswordGA4Event);}),this.subscription=this.events.on(Ti.PasswordToggle).subscribe(i=>{i?(this.renderer.removeChild(e,t),this.renderer.appendChild(e,o)):(this.renderer.removeChild(e,o),this.renderer.appendChild(e,t)),this.input.type=i?"text":"password";});}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe();}static{this.\u0275fac=function(t){return new(t||s)};}static{this.\u0275dir=q$7({type:s,selectors:[["","rprRevealablePassword",""]],inputs:{revealPasswordGA4Event:"revealPasswordGA4Event"}});}}return s})();function v$4(r,t){for(var e=-1,f=r==null?0:r.length;++e<f;)if(!t(r[e],e,r))return false;return true}var m$2=v$4;function p$2(r,t){var e=true;return mB(r,function(f,l,s){return e=!!t(f,l,s),e}),e}var a$3=p$2;function y$1(r,t,e){var f=tt$1(r)?m$2:a$3;return e&&ag(r,t,e)&&(t=void 0),f(r,zl(t))}var A$2=y$1;var t$1=(function(f){return f[f.NotAssigned=0]="NotAssigned",f[f.RprStaff=1]="RprStaff",f[f.Realtor=2]="Realtor",f[f.RealtorAssistant=3]="RealtorAssistant",f[f.OrgStaff=4]="OrgStaff",f[f.BrokerStaff=5]="BrokerStaff",f[f.OfficeStaff=6]="OfficeStaff",f[f.FranchiseStaff=7]="FranchiseStaff",f[f.AssociationStaff=8]="AssociationStaff",f[f.BrandStaff=9]="BrandStaff",f[f.Icsc=10]="Icsc",f[f.Service=11]="Service",f[f.Unknown=-1]="Unknown",f})(t$1||{});var e$1=(function(a){return a[a.ManageUsers=1]="ManageUsers",a[a.ManageRoles=2]="ManageRoles",a[a.DeleteUsers=3]="DeleteUsers",a[a.ViewLogs=4]="ViewLogs",a[a.AccessDevSettings=5]="AccessDevSettings",a[a.ManageOrgs=6]="ManageOrgs",a[a.IgnoreOrgPermissions=7]="IgnoreOrgPermissions",a[a.AccessAdminPortal=8]="AccessAdminPortal",a[a.AccessDataQC=9]="AccessDataQC",a[a.ManageCoBrands=10]="ManageCoBrands",a[a.ViewOrgs=11]="ViewOrgs",a[a.ViewUsers=12]="ViewUsers",a[a.ViewCoBrands=13]="ViewCoBrands",a[a.ManageDataMapping=14]="ManageDataMapping",a[a.ManageAgents=15]="ManageAgents",a[a.ViewAgents=16]="ViewAgents",a[a.ImpersonateUsers=17]="ImpersonateUsers",a[a.ResetPasswords=18]="ResetPasswords",a[a.ManageBrokers=19]="ManageBrokers",a[a.ViewBrokers=20]="ViewBrokers",a[a.ManageOffices=21]="ManageOffices",a[a.ViewOff
932ices=22]="ViewOffices",a[a.ManageServiceModules=23]="ManageServiceModules",a[a.ManageServiceModuleOptOuts=24]="ManageServiceModuleOptOuts",a[a.ViewServiceModules=25]="ViewServiceModules",a[a.AccessDataToolsBrandAdminTab=26]="AccessDataToolsBrandAdminTab",a[a.ManageMaintenanceMessages=27]="ManageMaintenanceMessages",a[a.ManageFranchises=28]="ManageFranchises",a[a.ViewFranchises=29]="ViewFranchises",a[a.ManageAssociations=30]="ManageAssociations",a[a.ViewAssociations=31]="ViewAssociations",a[a.AccessDataToolsBrokerAdminTab=33]="AccessDataToolsBrokerAdminTab",a[a.ManageBrandOfficeViaProfile=37]="ManageBrandOfficeViaProfile",a[a.ManageNarCampaigns=39]="ManageNarCampaigns",a[a.MonitorSite=40]="MonitorSite",a[a.AccessAssociationDataTools=41]="AccessAssociationDataTools",a[a.AccessOrgDataTools=42]="AccessOrgDataTools",a[a.AccessEconomicAreaReports=43]="AccessEconomicAreaReports",a[a.PublishBrandAvmWidgets=44]="PublishBrandAvmWidgets",a[a.EditBrandAvmWidgets=45]="EditBrandAvmWidgets",a[a.ViewRoles=46]="ViewRoles",a[a.AccessSsrsReports=47]="AccessSsrsReports",a[a.DeleteStaffUsers=48]="DeleteStaffUsers",a[a.AccessSsrsRestrictedReports=49]="AccessSsrsRestrictedReports",a[a.AccessMobileTestingMenu=50]="AccessMobileTestingMenu",a[a.AddOrgOverrides=51]="AddOrgOverrides",a[a.AddOrgOverridesToSelf=52]="AddOrgOverridesToSelf",a[a.AssignRolesLevel1=53]="AssignRolesLevel1",a[a.AssignRolesLevel2=54]="AssignRolesLevel2",a[a.ViewDataMapping=55]="ViewDataMapping",a[a.ManageTips=56]="ManageTips",a[a.PublishBrokerAvmWidgets=57]="PublishBrokerAvmWidgets",a[a.EditBrokerAvmWidgets=58]="EditBrokerAvmWidgets",a[a.ManagePropertyReprocessing=60]="ManagePropertyReprocessing",a[a.ViewPropertyReprocessing=61]="ViewPropertyReprocessing",a[a.EditLearningMenuContent=62]="EditLearningMenuContent",a[a.PublishLearningMenuContent=63]="PublishLearningMenuContent",a[a.AccessHousingReports=64]="AccessHousingReports",a[a.AccessBrokerDeepLinks=65]="AccessBrokerDeepLinks",a[a.AccessBrandDeepLinks=66]="AccessBrandDeepLinks",a[a.AccessNorad=67]="AccessNorad",a[a.ManageGenAiPrompts=69]="ManageGenAiPrompts",a[a.AccessClients=71]="AccessClients",a[a.ServiceAdmin=72]="ServiceAdmin",a[a.ManageVendors=73]="ManageVendors",a[a.ViewVendors=74]="ViewVendors",a})(e$1||{});var U$1=(()=>{class i extends ou{constructor(){super(...arguments),this.name="Logging",this.apiHeaders=h$5(e_),this.http=h$5(Jc),this.cacheLayer=h$5(as),this.helper=h$5(ue$3);}changePerformanceEntryLoggingSettings(e){let r=E$4.apiBaseUrl+"/logging/performance/settings";return this.http.request("POST",r,{body:JSON.stringify(e.performanceEntryLogSettings?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(l=>this.handleError(l)))}deleteAllLogEntries(e){let r=E$4.apiBaseUrl+"/logging/entries",t=[];return l$3(e.daysOlderThan)&&t.push("daysOlderThan="+encodeURIComponent(String(e.daysOlderThan))),t.length&&(r+="?"+t.join("&")),this.http.request("DELETE",r,{headers:this.apiHeaders.getApiHeaders("DELETE",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}logBrowserConsoleMessage(e){let r=E$4.apiBaseUrl+"/logging/browser-console",t=[];return l$3(e.browserId)&&t.push("browserId="+encodeURIComponent(String(e.browserId))),l$3(e.category)&&t.push("category="+encodeURIComponent(String(e.category))),t.length&&(r+="?"+t.join("&")),this.http.request("POST",r,{body:JSON.stringify(e.message?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}logError(e){let r=E$4.apiBaseUrl+"/logging/error",t=[];return l$3(e.category)&&t.push("category="+encodeURIComponent(String(e.category))),l$3(e.message)&&t.push("message="+encodeURIComponent(String(e.message))),l$3(e.source)&&t.push("source="+encodeURIComponent(String(e.source))),l$3(e.lineNumber)&&t.push("lineNumber="+encodeURIComponent(String(e.lineNumber))),l$3(e.columnNumber)&&t.push("columnNumber="+encodeURIComponent(String(e.columnNumber))),t.length&&(r+="?"+t.join("&")),this.http.request("POST",r,{body:JSON.stringify(e.stackTrace?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(n=>this.handleError(n)))}static{this.\u0275fac=function(r){return new(r||i)};}static{this.\u0275prov=U$3({token:i,factory:i.\u0275fac});}}return i})();var o$2=class e{constructor(t){l$3(t)&&e.copyProperties(t,this);}static fromJSON(t){let r=new e;return t&&e.copyProperties(t,r),r}toJSON(){let t={};return e.copyProperties(this,t),t}static copyProperties(t,r){l$3(t.text)&&(r.text=t.text);}};function b(r,t){var e;return mB(r,function(o,l,p){return e=t(o,l,p),!e}),!!e}var s$1=b;function h$4(r,t,e){var o=tt$1(r)?rF:s$1;return e&&ag(r,t,e)&&(t=void 0),o(r,zl(t))}var E$3=h$4;function v$3(r){var t=r==null?0:r.length;return t?fB(r,1):[]}var j$2=v$3;var C$3=e=>`The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`,$$2=e=>`The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`,N$2=(e,o)=>`Failed to create Trusted Types policy "${e}": ${o instanceof Error?o.message:String(o)}. 933 934If your Content Security Policy uses "require-trusted-types-for 'script'", allow this policy with "trusted-types ${e} google-maps-api-loader google-maps-api#html lit-html". The "google-maps-api-loader", "lit-html", and "google-maps-api#html" policies are required for full Maps JavaScript API execution. Falling back to a string script URL.`;var u$2=()=>{},q$5=()=>{},v$2="@googlemaps/js-api-loader",O$1={createScriptURL:e=>e},c$2;function Q$5(){if(c$2)return c$2;let e=globalThis.trustedTypes;if(!e)return c$2=O$1,c$2;try{c$2=e.createPolicy(v$2,{createScriptURL:o=>
934o});}catch(o){u$2(N$2(v$2,o)),c$2=O$1;}return c$2}function V$3(e,o){e.src=Q$5().createScriptURL(o);}var K$4=e=>{var o,s,t,r="The Google Maps JavaScript API",p="google",i="importLibrary",n="__ib__",y=document,b=window,w=b[p]||(b[p]={}),d=w.maps||(w.maps={}),E=new Set,g=new URLSearchParams,G=()=>o||(o=new Promise(async(m,_)=>{await(s=y.createElement("script")),g.set("libraries",[...E]+"");for(t in e)g.set(t.replace(/[A-Z]/g,I=>"_"+I[0].toLowerCase()),e[t]);g.set("callback",p+".maps."+n),V$3(s,"https://maps.googleapis.com/maps/api/js?"+g),d[n]=m,s.onerror=()=>o=_(Error(r+" could not load.")),s.nonce=y.querySelector("script[nonce]")?.nonce||"",y.head.append(s);}));d[i]?console.warn(r+" only loads once. Ignoring:",e):d[i]=(m,..._)=>E.add(m)&&G().then(()=>d[i](m,..._));};var Y$4=false,T$1=false;function R$2(e){if(T$1){u$2(C$3(e));return}e.apiKey&&(e.key||(e.key=e.apiKey)),B$1(e),T$1=true;}async function k$2(e){if(!window?.google?.maps?.importLibrary)throw new Error("google.maps.importLibrary is not installed.");return await google.maps.importLibrary(e)}function B$1(e){let o=!!window.google?.maps?.importLibrary;o?q$5($$2(e)):Y$4,o||K$4(e);}var a$2=(function(e){return e[e.GoogleTagManager=3]="GoogleTagManager",e[e.Appcues=4]="Appcues",e[e.GoogleMaps=5]="GoogleMaps",e[e.ParcelStream=6]="ParcelStream",e[e.Facebook=7]="Facebook",e[e.FusionCharts=9]="FusionCharts",e[e.FusionChartsTheme=10]="FusionChartsTheme",e[e.IFrameResizer=11]="IFrameResizer",e})(a$2||{}),D$1=(()=>{class e{constructor(){this.scripts=new Map;let s=E$4.config;this.scripts.set(a$2.GoogleTagManager,{src:`https://www.googletagmanager.com/gtm.js?id=${s.googleTagManagerContainerId}`}),this.scripts.set(a$2.Appcues,{src:"//fast.appcues.com/42456.js"}),this.scripts.set(a$2.GoogleMaps,{}),this.scripts.set(a$2.ParcelStream,{src:"//parcelstream.com/api/DmpApi.aspx?map=Google&host=parcelstream.com/&v=3"}),this.scripts.set(a$2.Facebook,{src:"//connect.facebook.net/en_US/sdk.js"}),this.scripts.set(a$2.FusionCharts,{src:`${HVe}/fusioncharts/fusioncharts.js`}),this.scripts.set(a$2.FusionChartsTheme,{src:`${HVe}/fusioncharts/themes/fusioncharts.theme.fusion.js`}),this.scripts.set(a$2.IFrameResizer,{src:"https://cdn.jsdelivr.net/npm/iframe-resizer@4/js/iframeResizer.contentWindow.min.js"});}load(...s){let t=[];return s.forEach(r=>t.push(this.loadScript(r))),Promise.all(t)}loadScript(s){return new Promise(t=>{let r=this.scripts.get(s);if(r.loaded)t({id:s,loaded:true,error:null});else {if(r.loading){setTimeout(()=>this.loadScript(s).then(n=>t(n)),500);return}if(r.loading=true,s===a$2.GoogleMaps){this.loadGoogleMapsAsync().then(()=>{r.loaded=true,r.loading=false,t({id:s,loaded:true,error:null});}).catch(n=>{r.loaded=false,r.loading=false,t({id:s,loaded:false,error:n});});return}let p=Ht$1.document,i=p.createElement("script");i.src=r.src,r.isAsync&&(i.async=true),i.readyState?i.onreadystatechange=()=>{(i.readyState==="loaded"||i.readyState==="complete")&&(i.onreadystatechange=null,r.loaded=true,r.loading=false,t({id:s,loaded:true,error:null}));}:i.onload=()=>{r.loaded=true,r.loading=false,t({id:s,loaded:true,error:null});},i.onerror=n=>{r.loaded=false,r.loading=false,t({id:s,loaded:false,error:n});},p.getElementsByTagName("head")[0].appendChild(i);}})}async loadGoogleMapsAsync(){R$2({key:E$4.config.googleMapsApiKey,v:E$4.config.googleMapsApiVersion,libraries:["marker","geometry"]}),await k$2("maps"),await google.maps.importLibrary("marker"),await google.maps.importLibrary("geometry");}static{this.\u0275fac=function(t){return new(t||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})();var ne$3=(()=>{class e{constructor(){this.queuedEvents=new Set,this.isPageRegisterQueued=false,this.scriptLoader=h$5(D$1),this.usersApi=h$5(N_),this.helper=h$5(ue$3);}identifyUser(s){if(this.helper.skipAnalytics)return;let t=this.helper.userName?.toLowerCase();if(!t){this.identifiedUserName=null;return}this.identifiedUserName===t&&!s||this.ensure(()=>{this.usersApi.getAppcuesData().pipe(it$1(1)).subscribe({next:r=>{Appcues.identify(t,r),this.identifiedUserName=t,this.processQueuedActivity();},error:()=>{}});});}registerPage(){this.helper.skipAnalytics||(this.isPageRegisterQueued=true,this.processQueuedActivity());}trackEvent(s,t,r){this.helper.skipAnalytics||!s||(r?s=`MA ${s}`:t||(s=this.helper.user?.isIcscUser?`I ${s}`:`${this.helper.isCommercialMode?"C":"R"} ${s}`),s=`1${s}`,this.queuedEvents.add(s),this.processQueuedActivity());}ensure(s){!E$4.config.enableAppcues||!this.helper.userName||this.scriptLoader.load(a$2.Appcues).then(t=>
934{t[0].loaded&&typeof Appcues<"u"&&Appcues&&this.helper.userName&&s();});}processQueuedActivity(){this.identifiedUserName&&this.ensure(()=>{this.isPageRegisterQueued&&(this.isPageRegisterQueued=false,Appcues.page());let s=Array.from(this.queuedEvents);this.queuedEvents.clear(),s.length&&s.forEach(t=>Appcues.track(t));});}static{this.\u0275fac=function(t){return new(t||e)};}static{this.\u0275prov=U$3({token:e,factory:e.\u0275fac});}}return e})(); 935var Zr$1=v$5((qe,pr)=>{"use strict";(function(g,P){if(typeof qe=="object"&&typeof pr=="object")pr.exports=P();else if(typeof define=="function"&&define.amd)define([],P);else {var S=P();for(var l in S)(typeof qe=="object"?qe:g)[l]=S[l];}})(qe,function(){return (function(Z){var g={};function P(S){if(g[S])return g[S].exports;var l=g[S]={i:S,l:!1,exports:{}};return Z[S].call(l.exports,l,l.exports,P),l.l=!0,l.exports}return P.m=Z,P.c=g,P.d=function(S,l,w){P.o(S,l)||Object.defineProperty(S,l,{enumerable:!0,get:w});},P.r=function(S){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(S,"__esModule",{value:!0});},P.t=function(S,l){if(1&l&&(S=P(S)),8&l||4&l&&typeof S=="object"&&S&&S.__esModule)return S;var w=Object.create(null);if(P.r(w),Object.defineProperty(w,"default",{enumerable:!0,value:S}),2&l&&typeof S!="string")for(var y in S)P.d(w,y,function(a){return S[a]}.bind(null,y));return w},P.n=function(S){var l=S&&S.__esModule?function(){return S.default}:function(){return S};return P.d(l,"a",l),l},P.o=function(S,l){return Object.prototype.hasOwnProperty.call(S,l)},P.p="",P(P.s=22)})([function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var S=(function(){function a(u,o){for(var p=0;p<o.length;p++){var C=o[p];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(u,C.key,C);}}return function(u,o,p){return o&&a(u.prototype,o),p&&a(u,p),u}})(),l={debug:function(){},info:function(){},warn:function(){},error:function(){}},w=void 0,y=void 0;(g.Log=(function(){function a(){(function(o,p){if(!(o instanceof p))throw new TypeError("Cannot call a class as a function")})(this,a);}return a.reset=function(){y=3,w=l;},a.debug=function(){if(y>=4){for(var o=arguments.length,p=Array(o),C=0;C<o;C++)p[C]=arguments[C];w.debug.apply(w,Array.from(p));}},a.info=function(){if(y>=3){for(var o=arguments.length,p=Array(o),C=0;C<o;C++)p[C]=arguments[C];w.info.apply(w,Array.from(p));}},a.warn=function(){if(y>=2){for(var o=arguments.length,p=Array(o),C=0;C<o;C++)p[C]=arguments[C];w.warn.apply(w,Array.from(p));}},a.error=function(){if(y>=1){for(var o=arguments.length,p=Array(o),C=0;C<o;C++)p[C]=arguments[C];w.error.apply(w,Array.from(p));}},S(a,null,[{key:"NONE",get:function(){return 0}},{key:"ERROR",get:function(){return 1}},{key:"WARN",get:function(){return 2}},{key:"INFO",get:function(){return 3}},{key:"DEBUG",get:function(){return 4}},{key:"level",get:function(){return y},set:function(o){if(!(0<=o&&o<=4))throw new Error("Invalid log level");y=o;}},{key:"logger",get:function(){return w},set:function(o){if(!o.debug&&o.info&&(o.debug=o.info),!(o.debug&&o.info&&o.warn&&o.error))throw new Error("Invalid logger");w=o;}}]),a})()).reset();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var S=(function(){function a(u,o){for(var p=0;p<o.length;p++){var C=o[p];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(u,C.key,C);}}return function(u,o,p){return o&&a(u.prototype,o),p&&a(u,p),u}})(),l={setInterval:(function(a){function u(o,p){return a.apply(this,arguments)}return u.toString=function(){return a.toString()},u})(function(a,u){return setInterval(a,u)}),clearInterval:(function(a){function u(o){return a.apply(this,arguments)}return u.toString=function(){return a.toString()},u})(function(a){return clearInterval(a)})},w=!1,y=null;g.Global=(function(){function a(){(function(o,p){if(!(o instanceof p))throw new TypeError("Cannot call a class as a function")})(this,a);}return a._testing=function(){w=!0;},a.setXMLHttpRequest=function(o){y=o;},S(a,null,[{key:"location",get:function(){if(!w)return location}},{key:"localStorage",get:function(){if(!w&&typeof window<"u")return localStorage}},{key:"sessionStorage",get:function(){if(!w&&typeof window<"u")return sessionStorage}},{key:"XMLHttpRequest",get:function(){if(!w&&typeof window<"u")return y||XMLHttpRequest}},{key:"timer",get:function(){if(!w)return l}}]),a})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.MetadataService=void 0;var S=(function(){function u(o,p){for(var C=0;C<p.length;C++){var E=p[C];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(o,E.key,E);}}return function(o,p,C){return p&&u(o.prototype,p),C&&u(o,C),o}})(),l=P(0),w=P(7);function y(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}var a=".well-known/openid-configuration";g.MetadataService=(function(){function u(o){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w.JsonService;if(y(this,u),!o)throw l.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=o,this._jsonService=new p(["application/jwk-set+json"]);}return u.prototype.resetSigningKeys=function(){this._settings=this._settings||{},this._settings.signingKeys=void 0;},u.prototype.getMetadata=function(){var p=this;return this._settings.metadata?(l.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(l.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then(function(C){l.Log.debug("MetadataService.getMetadata: json received");var E=p._settings.metadataSeed||{};return p._settings.metadata=Object.assign({},E,C),p._settings.metadata})):(l.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},u.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},u.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},u.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},u.prototype.getTokenEndpoint=function(){var p=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this._getMetadataProperty("token_endpoint",p)},u.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},u.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},u.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},u.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},u.prototype._getMetadataProperty=function(p){var C=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return l.Log.debug("MetadataService.getMetadataProperty for: "+p),this.getMetadata().then(function(E){if(l.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),E[p]===void 0){if(C===!0)return void l.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+p);throw l.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+p),new Error("Metadata does not contain property "+p)}return E[p]})},u.prototype.getSigningKeys=function(){var p=this;return this._settings.signingKeys?(l.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then(function(C){return l.Log.debug("MetadataService.getSigningKeys: jwks_uri received",C),p._jsonService.getJson(C).then(function(E){if(l.Log.debug("MetadataService.getSigningKeys: key set received",E),!E.keys)throw l.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return p._settings.signingKeys=E.keys,p._settings.signingKeys})})},S(u,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(a)<0&&(this._metadataUrl[this._metadataUrl.length-1]!=="/"&&(this._metadataUrl+="/"),this._metadataUrl+=a))),this._metadataUrl}}]),u})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.UrlUtility=void 0;var S=P(0),l=P(1);g.UrlUtility=(function(){function w(){(function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")})(this,w);}return w.addQueryParam=function(a,u,o){return a.indexOf("?")<0&&(a+="?"),a[a.length-1]!=="?"&&(a+="&"),a+=encodeURIComponent(u),a+="=",a+=encodeURIComponent(o)},w.parseUrlFragment=function(a){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.Global;typeof a!="string"&&(a=o.location.href);var p=a.lastIndexOf(u);p>=0&&(a=a.substr(p+1)),u==="?"&&(p=a.indexOf("#"))>=0&&(a=a.substr(0,p));for(var C,E={},j=/([^&=]+)=([^&]*)/g,R=0;C=j.exec(a);)if(E[decodeURIComponent(C[1])]=decodeURIComponent(C[2].replace(/\+/g," ")),R++>50)return S.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",a),{error:"Response exceeded expected number of parameters"};for(var T in E)return E;return {}},w})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.JoseUtil=void 0;var S=P(26),l=(function(y){return y&&y.__esModule?y:{default:y}})(P(33));g.JoseUtil=(0,l.default)({jws:S.jws,KeyUtil:S.KeyUtil,X509:S.X509,crypto:S.crypto,hextob64u:S.hextob64u,b64tohex:S.b64tohex,AllowedSigningAlgs:S.AllowedSigningAlgs});},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.OidcClientSettings=void 0;var S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},l=(function(){function T(A,B){for(var Y=0;Y<B.length;Y++){var M=B[Y];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(A,M.key,M);}}return function(A,B,Y){return B&&T(A.prototype,B),Y&&T(A,Y),A}})(),w=P(0),y=P(23),a=P(6),u=P(24),o=P(2);function p(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}var C=".well-known/openid-configuration",E="id_token",j="openid",R="client_secret_post";g.OidcClientSettings=(function(){function T(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=A.authority,Y=A.metadataUrl,M=A.metadata,q=A.signingKeys,O=A.metadataSeed,tt=A.client_id,rt=A.client_secret,nt=A.response_type,V=nt===void 0?E:nt,ut=A.scope,St=ut===void 0?j:ut,wt=A.redirect_uri,Mt=A.post_logout_redirect_uri,At=A.client_authentication,Zt=At===void 0?R:At,Ct=A.prompt,ft=A.display,dt=A.max_age,xt=A.ui_locales,Jt=A.acr_values,Vt=A.resource,zt=A.response_mode,te=A.filterProtocolClaims,de=te===void 0||te,ie=A.loadUserInfo,Nt=ie===void 0||ie,Yt=A.staleStateAge,Kt=Yt===void 0?900:Yt,N=A.clockSkew,c=N===void 0?300:N,h=A.clockService,L=h===void 0?new y.ClockService:h,K=A.userInfoJwtIssuer,W=K===void 0?"OP":K,Q=A.mergeClaims,st=Q!==void 0&&Q,lt=A.stateStore,mt=lt===void 0?new a.WebStorageStateStore:lt,pt=A.ResponseValidatorCtor,Tt=pt===void 0?u.ResponseValidator:pt,jt=A.MetadataServiceCtor,Gt=jt===void 0?o.MetadataService:jt,se=A.extraQueryParams,ht=se===void 0?{}:se,kt=A.extraTokenParams,vt=kt===void 0?{}:kt;p(this,T),this._authority=B,this._metadataUrl=Y,this._metadata=M,this._metadataSeed=O,this._signingKeys=q,this._client_id=tt,this._client_secret=rt,this._response_type=V,this._scope=St,this._redirect_uri=wt,this._post_logout_redirect_uri=Mt,this._client_authentication=Zt,this._prompt=Ct,this._display=ft,this._max_age=dt,this._ui_locales=xt,this._acr_values=Jt,this._resource=Vt,this._response_mode=zt,this._filterProtocolClaims=!!de,this._loadUserInfo=!!Nt,this._staleStateAge=Kt,this._clockSkew=c,this._clockService=L,this._userInfoJwtIssuer=W,this._mergeClaims=!!st,this._stateStore=mt,this._validator=new Tt(this),this._metadataService=new Gt(this),this._extraQueryParams=(ht===void 0?"undefined":S(ht))==="object"?ht:{},this._extraTokenParams=(vt===void 0?"undefined":S(vt))==="object"?vt:{};}return T.prototype.getEpochTime=function(){return this._clockService.getEpochTime()},l(T,[{key:"client_id",get:function(){return this._client_id},set:function(B){if(this._client_id)throw w.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=B;}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"client_authentication",get:function(){return this._client_authentication}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(B){if(this._authority)throw w.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=B;}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(C)<0&&(this._metadataUrl[this._metadataUrl.length-1]!=="/"&&(this._metadataUrl+="/"),this._metadataUrl+=C)),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(B){this._metadata=B;}},{key:"metadataSeed",get:function(){return this._metadataSeed},set:function(B){this._metadataSeed=B;}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(B){this._signingKeys=B;}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"mergeClaims",get:function(){return this._mergeClaims}},{key:"stateStore",get:function(){return this._stateStore}}
935,{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(B){(B===void 0?"undefined":S(B))==="object"?this._extraQueryParams=B:this._extraQueryParams={};}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(B){(B===void 0?"undefined":S(B))==="object"?this._extraTokenParams=B:this._extraTokenParams={};}}]),T})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.WebStorageStateStore=void 0;var S=P(0),l=P(1);function w(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")}g.WebStorageStateStore=(function(){function y(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.prefix,o=u===void 0?"oidc.":u,p=a.store,C=p===void 0?l.Global.localStorage:p;w(this,y),this._store=C,this._prefix=o;}return y.prototype.set=function(u,o){return S.Log.debug("WebStorageStateStore.set",u),u=this._prefix+u,this._store.setItem(u,o),Promise.resolve()},y.prototype.get=function(u){S.Log.debug("WebStorageStateStore.get",u),u=this._prefix+u;var o=this._store.getItem(u);return Promise.resolve(o)},y.prototype.remove=function(u){S.Log.debug("WebStorageStateStore.remove",u),u=this._prefix+u;var o=this._store.getItem(u);return this._store.removeItem(u),Promise.resolve(o)},y.prototype.getAllKeys=function(){S.Log.debug("WebStorageStateStore.getAllKeys");for(var u=[],o=0;o<this._store.length;o++){var p=this._store.key(o);p.indexOf(this._prefix)===0&&u.push(p.substr(this._prefix.length));}return Promise.resolve(u)},y})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.JsonService=void 0;var S=P(0),l=P(1);function w(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")}g.JsonService=(function(){function y(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l.Global.XMLHttpRequest,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;w(this,y),a&&Array.isArray(a)?this._contentTypes=a.slice():this._contentTypes=[],this._contentTypes.push("application/json"),o&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=u,this._jwtHandler=o;}return y.prototype.getJson=function(u,o){var p=this;if(!u)throw S.Log.error("JsonService.getJson: No url passed"),new Error("url");return S.Log.debug("JsonService.getJson, url: ",u),new Promise(function(C,E){var j=new p._XMLHttpRequest;j.open("GET",u);var R=p._contentTypes,T=p._jwtHandler;j.onload=function(){if(S.Log.debug("JsonService.getJson: HTTP response received, status",j.status),j.status===200){var A=j.getResponseHeader("Content-Type");if(A){var B=R.find(function(Y){if(A.startsWith(Y))return !0});if(B=="application/jwt")return void T(j).then(C,E);if(B)try{return void C(JSON.parse(j.responseText))}catch(Y){return S.Log.error("JsonService.getJson: Error parsing JSON response",Y.message),void E(Y)}}E(Error("Invalid response Content-Type: "+A+", from URL: "+u));}else E(Error(j.statusText+" ("+j.status+")"));},j.onerror=function(){S.Log.error("JsonService.getJson: network error"),E(Error("Network Error"));},o&&(S.Log.debug("JsonService.getJson: token passed, setting Authorization header"),j.setRequestHeader("Authorization","Bearer "+o)),j.send();})},y.prototype.postForm=function(u,o,p){var C=this;if(!u)throw S.Log.error("JsonService.postForm: No url passed"),new Error("url");return S.Log.debug("JsonService.postForm, url: ",u),new Promise(function(E,j){var R=new C._XMLHttpRequest;R.open("POST",u);var T=C._contentTypes;R.onload=function(){if(S.Log.debug("JsonService.postForm: HTTP response received, status",R.status),R.status!==200){if(R.status===400&&(q=R.getResponseHeader("Content-Type"))&&T.find(function(O){if(q.startsWith(O))return !0}))try{var M=JSON.parse(R.responseText);if(M&&M.error)return S.Log.error("JsonService.postForm: Error from server: ",M.error),void j(new Error(M.error))}catch(O){return S.Log.error("JsonService.postForm: Error parsing JSON response",O.message),void j(O)}j(Error(R.statusText+" ("+R.status+")"));}else {var q;if((q=R.getResponseHeader("Content-Type"))&&T.find(function(O){if(q.startsWith(O))return !0}))try{return void E(JSON.parse(R.responseText))}catch(O){return S.Log.error("JsonService.postForm: Error parsing JSON response",O.message),void j(O)}j(Error("Invalid response Content-Type: "+q+", from URL: "+u));}},R.onerror=function(){S.Log.error("JsonService.postForm: network error"),j(Error("Network Error"));};var A="";for(var B in o){var Y=o[B];Y&&(A.length>0&&(A+="&"),A+=encodeURIComponent(B),A+="=",A+=encodeURIComponent(Y));}R.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),p!==void 0&&R.setRequestHeader("Authorization","Basic "+btoa(p)),R.send(A);})},y})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.SigninRequest=void 0;var S=P(0),l=P(3),w=P(13);g.SigninRequest=(function(){function y(a){var u=a.url,o=a.client_id,p=a.redirect_uri,C=a.response_type,E=a.scope,j=a.authority,R=a.data,T=a.prompt,A=a.display,B=a.max_age,Y=a.ui_locales,M=a.id_token_hint,q=a.login_hint,O=a.acr_values,tt=a.resource,rt=a.response_mode,nt=a.request,V=a.request_uri,ut=a.extraQueryParams,St=a.request_type,wt=a.client_secret,Mt=a.extraTokenParams,At=a.skipUserInfo;if((function(Vt,zt){if(!(Vt instanceof zt))throw new TypeError("Cannot call a class as a function")})(this,y),!u)throw S.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!o)throw S.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!p)throw S.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!C)throw S.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!E)throw S.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!j)throw S.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var Zt=y.isOidc(C),Ct=y.isCode(C);rt||(rt=y.isCode(C)?"query":null),this.state=new w.SigninState({nonce:Zt,data:R,client_id:o,authority:j,redirect_uri:p,code_verifier:Ct,request_type:St,response_mode:rt,client_secret:wt,scope:E,extraTokenParams:Mt,skipUserInfo:At}),u=l.UrlUtility.addQueryParam(u,"client_id",o),u=l.UrlUtility.addQueryParam(u,"redirect_uri",p),u=l.UrlUtility.addQueryParam(u,"response_type",C),u=l.UrlUtility.addQueryParam(u,"scope",E),u=l.UrlUtility.addQueryParam(u,"state",this.state.id),Zt&&(u=l.UrlUtility.addQueryParam(u,"nonce",this.state.nonce)),Ct&&(u=l.UrlUtility.addQueryParam(u,"code_challenge",this.state.code_challenge),u=l.UrlUtility.addQueryParam(u,"code_challenge_method","S256"));var ft={prompt:T,display:A,max_age:B,ui_locales:Y,id_token_hint:M,login_hint:q,acr_values:O,resource:tt,request:nt,request_uri:V,response_mode:rt};for(var dt in ft)ft[dt]&&(u=l.UrlUtility.addQueryParam(u,dt,ft[dt]));for(var xt in ut)u=l.UrlUtility.addQueryParam(u,xt,ut[xt]);this.url=u;}return y.isOidc=function(u){return !!u.split(/\s+/g).filter(function(o){return o==="id_token"})[0]},y.isOAuth=function(u){return !!u.split(/\s+/g).filter(function(o){return o==="token"})[0]},y.isCode=function(u){return !!u.split(/\s+/g).filter(function(o){return o==="code"})[0]},y})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.State=void 0;var S=(function(){function a(u,o){for(var p=0;p<o.length;p++){var C=o[p];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(u,C.key,C);}}return function(u,o,p){return o&&a(u.prototype,o),p&&a(u,p),u}})(),l=P(0),w=(function(u){return u&&u.__esModule?u:{default:u}})(P(14));function y(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}g.State=(function(){function a(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=u.id,p=u.data,C=u.created,E=u.request_type;y(this,a),this._id=o||(0,w.default)(),this._data=p,this._created=typeof C=="number"&&C>0?C:parseInt(Date.now()/1e3),this._request_type=E;}return a.prototype.toStorageString=function(){return l.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},a.fromStorageString=function(o){return l.Log.debug("State.fromStorageString"),new a(JSON.parse(o))},a.clearStaleState=function(o,p){var C=Date.now()/1e3-p;return o.getAllKeys().then(function(E){l.Log.debug("State.clearStaleState: got keys",E);for(var j=[],R=function(Y){var M=E[Y];A=o.get(M).then(function(q){var O=!1;if(q)try{var tt=a.fromStorageString(q);l.Log.debug("State.clearStaleState: got item from key: ",M,tt.created),tt.created<=C&&(O=!0);}catch(rt){l.Log.error("State.clearStaleState: Error parsing state for key",M,rt.message),O=!0;}else l.Log.debug("State.clearStaleState: no item in storage for key: ",M),O=!0;if(O)return l.Log.debug("State.clearStaleState: removed item for key: ",M),o.remove(M)}),j.push(A);},T=0;T<E.length;T++){var A;R(T);}return l.Log.debug("State.clearStaleState: waiting on promise count:",j.length),Promise.all(j)})},S(a,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"created",get:function(){return this._created}},{key:"request_type",get:function(){return this._request_type}}]),a})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.OidcClient=void 0;var S=(function(){function R(T,A){for(var B=0;B<A.length;B++){var Y=A[B];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(T,Y.key,Y);}}return function(T,A,B){return A&&R(T.prototype,A),B&&R(T,B),T}})(),l=P(0),w=P(5),y=P(12),a=P(8),u=P(34),o=P(35),p=P(36),C=P(13),E=P(9);function j(R,T){if(!(R instanceof T))throw new TypeError("Cannot call a class as a function")}g.OidcClient=(function(){function R(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};j(this,R),T instanceof w.OidcClientSettings?this._settings=T:this._settings=new w.OidcClientSettings(T);}return R.prototype.createSigninRequest=function(){var A=this,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=B.response_type,M=B.scope,q=B.redirect_uri,O=B.data,tt=B.state,rt=B.prompt,nt=B.display,V=B.max_age,ut=B.ui_locales,St=B.id_token_hint,wt=B.login_hint,Mt=B.acr_values,At=B.resource,Zt=B.request,Ct=B.request_uri,ft=B.response_mode,dt=B.extraQueryParams,xt=B.extraTokenParams,Jt=B.request_type,Vt=B.skipUserInfo,zt=arguments[1];l.Log.debug("OidcClient.createSigninRequest");var te=this._settings.client_id;Y=Y||this._settings.response_type,M=M||this._settings.scope,q=q||this._settings.redirect_uri,rt=rt||this._settings.prompt,nt=nt||this._settings.display,V=V||this._settings.max_age,ut=ut||this._settings.ui_locales,Mt=Mt||this._settings.acr_values,At=At||this._settings.resource,ft=ft||this._settings.response_mode,dt=dt||this._settings.extraQueryParams,xt=xt||this._settings.extraTokenParams;var de=this._settings.authority;return a.SigninRequest.isCode(Y)&&Y!=="code"?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then(function(ie){l.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",ie);var Nt=new a.SigninRequest({url:ie,client_id:te,redirect_uri:q,response_type:Y,scope:M,data:O||tt,authority:de,prompt:rt,display:nt,max_age:V,ui_locales:ut,id_token_hint:St,login_hint:wt,acr_values:Mt,resource:At,request:Zt,request_uri:Ct,extraQueryParams:dt,extraTokenParams:xt,request_type:Jt,response_mode:ft,client_secret:A._settings.client_secret,skipUserInfo:Vt}),Yt=Nt.state;return (zt=zt||A._stateStore).set(Yt.id,Yt.toStorageString()).then(function(){return Nt})})},R.prototype.readSigninResponseState=function(A,B){var Y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];l.Log.debug("OidcClient.readSigninResponseState");var M=this._settings.response_mode==="query"||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type),q=M?"?":"#",O=new u.SigninResponse(A,q);if(!O.state)return l.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response"));B=B||this._stateStore;var tt=Y?B.remove.bind(B):B.get.bind(B);return tt(O.state).then(function(rt){if(!rt)throw l.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return {state:C.SigninState.fromStorageString(rt),response:O}})},R.prototype.processSigninResponse=function(A,B){var Y=this;return l.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(A,B,!0).then(function(M){var q=M.state,O=M.response;return l.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),Y._validator.validateSigninResponse(q,O)})},R.prototype.createSignoutRequest=function(){var A=this,B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Y=B.id_token_hint,M=B.data,q=B.state,O=B.post_logout_redirect_uri,tt=B.extraQueryParams,rt=B.request_type,nt=arguments[1];return l.Log.debug("OidcClient.createSignoutRequest"),O=O||this._settings.post_logout_redirect_uri,tt=tt||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then(function(V){if(!V)throw l.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");l.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",V);
935var ut=new o.SignoutRequest({url:V,id_token_hint:Y,post_logout_redirect_uri:O,data:M||q,extraQueryParams:tt,request_type:rt}),St=ut.state;return St&&(l.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(nt=nt||A._stateStore).set(St.id,St.toStorageString())),ut})},R.prototype.readSignoutResponseState=function(A,B){var Y=arguments.length>2&&arguments[2]!==void 0&&arguments[2];l.Log.debug("OidcClient.readSignoutResponseState");var M=new p.SignoutResponse(A);if(!M.state)return l.Log.debug("OidcClient.readSignoutResponseState: No state in response"),M.error?(l.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",M.error),Promise.reject(new y.ErrorResponse(M))):Promise.resolve({state:void 0,response:M});var q=M.state;B=B||this._stateStore;var O=Y?B.remove.bind(B):B.get.bind(B);return O(q).then(function(tt){if(!tt)throw l.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return {state:E.State.fromStorageString(tt),response:M}})},R.prototype.processSignoutResponse=function(A,B){var Y=this;return l.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(A,B,!0).then(function(M){var q=M.state,O=M.response;return q?(l.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),Y._validator.validateSignoutResponse(q,O)):(l.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),O)})},R.prototype.clearStaleState=function(A){return l.Log.debug("OidcClient.clearStaleState"),A=A||this._stateStore,E.State.clearStaleState(A,this.settings.staleStateAge)},S(R,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),R})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.TokenClient=void 0;var S=P(7),l=P(2),w=P(0);function y(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}g.TokenClient=(function(){function a(u){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:S.JsonService,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.MetadataService;if(y(this,a),!u)throw w.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=u,this._jsonService=new o,this._metadataService=new p(this._settings);}return a.prototype.exchangeCode=function(){var o=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(p=Object.assign({},p)).grant_type=p.grant_type||"authorization_code",p.client_id=p.client_id||this._settings.client_id,p.client_secret=p.client_secret||this._settings.client_secret,p.redirect_uri=p.redirect_uri||this._settings.redirect_uri;var C=void 0,E=p._client_authentication||this._settings._client_authentication;return delete p._client_authentication,p.code?p.redirect_uri?p.code_verifier?p.client_id?p.client_secret||E!="client_secret_basic"?(E=="client_secret_basic"&&(C=p.client_id+":"+p.client_secret,delete p.client_id,delete p.client_secret),this._metadataService.getTokenEndpoint(!1).then(function(j){return w.Log.debug("TokenClient.exchangeCode: Received token endpoint"),o._jsonService.postForm(j,p,C).then(function(R){return w.Log.debug("TokenClient.exchangeCode: response received"),R})})):(w.Log.error("TokenClient.exchangeCode: No client_secret passed"),Promise.reject(new Error("A client_secret is required"))):(w.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(w.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(w.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(w.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},a.prototype.exchangeRefreshToken=function(){var o=this,p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(p=Object.assign({},p)).grant_type=p.grant_type||"refresh_token",p.client_id=p.client_id||this._settings.client_id,p.client_secret=p.client_secret||this._settings.client_secret;var C=void 0,E=p._client_authentication||this._settings._client_authentication;return delete p._client_authentication,p.refresh_token?p.client_id?(E=="client_secret_basic"&&(C=p.client_id+":"+p.client_secret,delete p.client_id,delete p.client_secret),this._metadataService.getTokenEndpoint(!1).then(function(j){return w.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),o._jsonService.postForm(j,p,C).then(function(R){return w.Log.debug("TokenClient.exchangeRefreshToken: response received"),R})})):(w.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(w.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},a})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.ErrorResponse=void 0;var S=P(0);function l(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")}function w(y,a){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !a||typeof a!="object"&&typeof a!="function"?y:a}g.ErrorResponse=(function(y){function a(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=u.error,p=u.error_description,C=u.error_uri,E=u.state,j=u.session_state;if(l(this,a),!o)throw S.Log.error("No error passed to ErrorResponse"),new Error("error");var R=w(this,y.call(this,p||o));return R.name="ErrorResponse",R.error=o,R.error_description=p,R.error_uri=C,R.state=E,R.session_state=j,R}return (function(o,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);o.prototype=Object.create(p&&p.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(o,p):o.__proto__=p);})(a,y),a})(Error);},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.SigninState=void 0;var S=(function(){function p(C,E){for(var j=0;j<E.length;j++){var R=E[j];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(C,R.key,R);}}return function(C,E,j){return E&&p(C.prototype,E),j&&p(C,j),C}})(),l=P(0),w=P(9),y=P(4),a=(function(C){return C&&C.__esModule?C:{default:C}})(P(14));function u(p,C){if(!(p instanceof C))throw new TypeError("Cannot call a class as a function")}function o(p,C){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !C||typeof C!="object"&&typeof C!="function"?p:C}g.SigninState=(function(p){function C(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},j=E.nonce,R=E.authority,T=E.client_id,A=E.redirect_uri,B=E.code_verifier,Y=E.response_mode,M=E.client_secret,q=E.scope,O=E.extraTokenParams,tt=E.skipUserInfo;u(this,C);var rt=o(this,p.call(this,arguments[0]));if(j===!0?rt._nonce=(0,a.default)():j&&(rt._nonce=j),B===!0?rt._code_verifier=(0,a.default)()+(0,a.default)()+(0,a.default)():B&&(rt._code_verifier=B),rt.code_verifier){var nt=y.JoseUtil.hashString(rt.code_verifier,"SHA256");rt._code_challenge=y.JoseUtil.hexToBase64Url(nt);}return rt._redirect_uri=A,rt._authority=R,rt._client_id=T,rt._response_mode=Y,rt._client_secret=M,rt._scope=q,rt._extraTokenParams=O,rt._skipUserInfo=tt,rt}return (function(j,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof R);j.prototype=Object.create(R&&R.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),R&&(Object.setPrototypeOf?Object.setPrototypeOf(j,R):j.__proto__=R);})(C,p),C.prototype.toStorageString=function(){return l.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},C.fromStorageString=function(j){return l.Log.debug("SigninState.fromStorageString"),new C(JSON.parse(j))},S(C,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),C})(w.State);},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.default=function(){return (S!="undefined"&&S!==null&&S.getRandomValues!==void 0?l:w)().replace(/-/g,"")};var S=typeof window<"u"?window.crypto||window.msCrypto:null;function l(){return ("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,function(y){return (y^S.getRandomValues(new Uint8Array(1))[0]&15>>y/4).toString(16)})}function w(){return ("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,function(y){return (y^16*Math.random()>>y/4).toString(16)})}Z.exports=g.default;},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.User=void 0;var S=(function(){function w(y,a){for(var u=0;u<a.length;u++){var o=a[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(y,o.key,o);}}return function(y,a,u){return a&&w(y.prototype,a),u&&w(y,u),y}})(),l=P(0);g.User=(function(){function w(y){var a=y.id_token,u=y.session_state,o=y.access_token,p=y.refresh_token,C=y.token_type,E=y.scope,j=y.profile,R=y.expires_at,T=y.state;((function(B,Y){if(!(B instanceof Y))throw new TypeError("Cannot call a class as a function")}))(this,w),this.id_token=a,this.session_state=u,this.access_token=o,this.refresh_token=p,this.token_type=C,this.scope=E,this.profile=j,this.expires_at=R,this.state=T;}return w.prototype.toStorageString=function(){return l.Log.debug("User.toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})},w.fromStorageString=function(a){return l.Log.debug("User.fromStorageString"),new w(JSON.parse(a))},S(w,[{key:"expires_in",get:function(){if(this.expires_at){var a=parseInt(Date.now()/1e3);return this.expires_at-a}},set:function(a){var u=parseInt(a);if(typeof u=="number"&&u>0){var o=parseInt(Date.now()/1e3);this.expires_at=o+u;}}},{key:"expired",get:function(){var a=this.expires_in;if(a!==void 0)return a<=0}},{key:"scopes",get:function(){return (this.scope||"").split(" ")}}]),w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.AccessTokenEvents=void 0;var S=P(0),l=P(46);function w(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")}g.AccessTokenEvents=(function(){function y(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.accessTokenExpiringNotificationTime,o=u===void 0?60:u,p=a.accessTokenExpiringTimer,C=p===void 0?new l.Timer("Access token expiring"):p,E=a.accessTokenExpiredTimer,j=E===void 0?new l.Timer("Access token expired"):E;w(this,y),this._accessTokenExpiringNotificationTime=o,this._accessTokenExpiring=C,this._accessTokenExpired=j;}return y.prototype.load=function(u){if(u.access_token&&u.expires_in!==void 0){var o=u.expires_in;if(S.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",o),o>0){var p=o-this._accessTokenExpiringNotificationTime;p<=0&&(p=1),S.Log.debug("AccessTokenEvents.load: registering expiring timer in:",p),this._accessTokenExpiring.init(p);}else S.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var C=o+1;S.Log.debug("AccessTokenEvents.load: registering expired timer in:",C),this._accessTokenExpired.init(C);}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel();},y.prototype.unload=function(){S.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel();},y.prototype.addAccessTokenExpiring=function(u){this._accessTokenExpiring.addHandler(u);},y.prototype.removeAccessTokenExpiring=function(u){this._accessTokenExpiring.removeHandler(u);},y.prototype.addAccessTokenExpired=function(u){this._accessTokenExpired.addHandler(u);},y.prototype.removeAccessTokenExpired=function(u){this._accessTokenExpired.removeHandler(u);},y})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.Event=void 0;var S=P(0);g.Event=(function(){function l(w){((function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}))(this,l),this._name=w,this._callbacks=[];}return l.prototype.addHandler=function(y){this._callbacks.push(y);},l.prototype.removeHandler=function(y){var a=this._callbacks.findIndex(function(u){return u===y});a>=0&&this._callbacks.splice(a,1);},l.prototype.raise=function(){S.Log.debug("Event: Raising event: "+this._name);for(var y=0;y<this._callbacks.length;y++){var a;(a=this._callbacks)[y].apply(a,arguments);}},l})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.SessionMonitor=void 0;var S=(function(){function u(o,p){for(var C=0;C<p.length;C++){var E=p[C];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(o,E.key,E);}}return function(o,p,C){return p&&u(o.prototype,p),C&&u(o,C),o}})(),l=P(0),w=P(19),y=P(1);function a(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}g.SessionMonitor=(function(){function u(o){var p=this,C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w.CheckSessionIFrame,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.Global.timer;if(a(this,u),!o)throw l.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=o,this._CheckSessionIFrameCtor=C,this._timer=E,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),Promise.resolve(this._userManager.getUser().then(function(j){j?p._start(j):p._settings.monitorAnonymousSession&&p._userManager.querySessionStatus().then(function(R){var T={session_state:R.session_state};R.sub&&R.sid&&(T.profile={sub:R.sub,sid:R.sid}),p._start(T);}).catch(function(R){l.Log.error("SessionMonitor ctor: error from querySessionStatus:",R.message);});}).catch(function(j){l.Log.error("SessionMonitor ctor: error from getUser:",j.message);}));}return u.prototype._start=function(p){var C=this,E=p.session_state;E&&(p.profile?(this._sub=p.profile.sub,this._sid=p.profile.sid,l.Log.debug("SessionMonitor._start: session_state:",E,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,l.Log.debug("SessionMonitor._start: session_state:",E,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(E):this._metadataService.getCheckSessionIframe().then(function(j){if(j){l.Log.debug("SessionMonitor._start: Initializing check session iframe");var R=C._client_id,T=C._checkSessionInterval,A=C._stopCheckSessionOnError;C._checkSessionIFrame=new C._CheckSessionIFrameCtor(C._callback.bind(C),R,j,T,A),C._checkSessionIFrame.load().then(function(){C._checkSessionIFrame.start(E);});}else l.Log.warn("SessionMonitor._start: No check session iframe found in the metadata");}).catch(function(j){l.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",j.message);}));},u.prototype._stop=function(){var p=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(l.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var C=this._timer.setInterval(function(){p._timer.clearInterval(C),p._userManager.querySessionStatus().then(function(E){var j={session_state:E.session_state};E.sub&&E.sid&&(j.profile={sub:E.sub,sid:E.sid}),p._start(j);}).catch(function(E){l.Log.error("SessionMonitor: error from querySessionStatus:",E.message);});},1e3);},u.prototype._callback=function(){var p=this;this._userManager.querySessionStatus().then(function(C){var E=!0;C?C.sub===p._sub?(E=!1,p._checkSessionIFrame.start(C.session_state),C.sid===p._sid?l.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",C.session_state):(l.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",C.session_state),p._userManager.events._raiseUserSessionChanged())):l.Log.debug("SessionMonitor._callback: Different subject signed into OP:",C.sub):l.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),E&&(p._sub?(l.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),p._userManager.events._raiseUserSignedOut()):(l.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),p._userManager.events._raiseUserSignedIn()));}).catch(function(C){p._sub&&(l.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",C.message),p._userManager.events._raiseUserSignedOut());});},S(u,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),u})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.CheckSessionIFrame=void 0;var S=P(0);function l(w,y){if(!(w instanceof y))throw new TypeError("Cannot call a class as a function")}g.CheckSessionIFrame=(function(){function w(y,a,u,o){var p=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];l(this,w),this._callback=y,this._client_id=a,this._url=u,this._interval=o||2e3,this._stopOnError=p;var C=u.indexOf("/",u.indexOf("//")+2);this._frame_origin=u.substr(0,C),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.width=0,this._frame.height=0,this._frame.src=u;}return w.prototype.load=function(){var a=this;return new Promise(function(u){a._frame.onload=function(){u();},window.document.body.appendChild(a._frame),a._boundMessageEvent=a._message.bind(a),window.addEventListener("message",a._boundMessageEvent,!1);})},w.prototype._message=function(a){a.origin===this._frame_origin&&a.source===this._frame.contentWindow&&(a.data==="error"?(S.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):a.data==="changed"?(S.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):S.Log.debug("CheckSessionIFrame: "+a.data+" message from check session op iframe"));},w.prototype.start=function(a){var u=this;if(this._session_state!==a){S.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=a;var o=function(){u._frame.contentWindow.postMessage(u._client_id+" "+u._session_state,u._frame_origin);};o(),this._timer=window.setInterval(o,this._interval);}},w.prototype.stop=function(){this._session_state=null,this._timer&&(S.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null);},w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.TokenRevocationClient=void 0;var S=P(0),l=P(2),w=P(1);function y(o,p){if(!(o instanceof p))throw new TypeError("Cannot call a class as a function")}var a="access_token",u="refresh_token";g.TokenRevocationClient=(function(){function o(p){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w.Global.XMLHttpRequest,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.MetadataService;if(y(this,o),!p)throw S.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=p,this._XMLHttpRequestCtor=C,this._metadataService=new E(this._settings);}return o.prototype.revoke=function(C,E){var j=this,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"access_token";if(!C)throw S.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if(R!==a&&R!=u)throw S.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then(function(T){if(T){S.Log.debug("TokenRevocationClient.revoke: Revoking "+R);var A=j._settings.client_id,B=j._settings.client_secret;return j._revoke(T,A,B,C,R)}if(E)throw S.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")})},o.prototype._revoke=function(C,E,j,R,T){var A=this;return new Promise(function(B,Y){var M=new A._XMLHttpRequestCtor;M.open("POST",C),M.onload=function(){S.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",M.status),M.status===200?B():Y(Error(M.statusText+" ("+M.status+")"));},M.onerror=function(){S.Log.debug("TokenRevocationClient.revoke: Network Error."),Y("Network Error");};var q="client_id="+encodeURIComponent(E);j&&(q+="&client_secret="+encodeURIComponent(j)),q+="&token_type_hint="+encodeURIComponent(T),q+="&token="+encodeURIComponent(R),M.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),M.send(q);})},o})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.CordovaPopupWindow=void 0;var S=(function(){function w(y,a){for(var u=0;u<a.length;u++){var o=a[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(y,o.key,o);}}return function(y,a,u){return a&&w(y.prototype,a),u&&w(y,u),y}})(),l=P(0);g.CordovaPopupWindow=(function(){function w(y){var a=this;((function(o,p){if(!(o instanceof p))throw new TypeError("Cannot call a class as a function")}))(this,w),this._promise=new Promise(function(u,o){a._resolve=u,a._reject=o;}),this.features=y.popupWindowFeatures||"location=no,toolbar=no,zoom=no",this.target=y.popupWindowTarget||"_blank",this.redirect_uri=y.startUrl,l.Log.debug("CordovaPopupWindow.ctor: redirect_uri: "+this.redirect_uri);}return w.prototype._isInAppBrowserInstalled=function(a){return ["cordova-plugin-inappbrowser","cordova-plugin-inappbrowser.inappbrowser","org.apache.cordova.inappbrowser"].some(function(u){return a.hasOwnProperty(u)})}
935,w.prototype.navigate=function(a){if(a&&a.url){if(!window.cordova)return this._error("cordova is undefined");var u=window.cordova.require("cordova/plugin_list").metadata;if(this._isInAppBrowserInstalled(u)===!1)return this._error("InAppBrowser plugin not found");this._popup=cordova.InAppBrowser.open(a.url,this.target,this.features),this._popup?(l.Log.debug("CordovaPopupWindow.navigate: popup successfully created"),this._exitCallbackEvent=this._exitCallback.bind(this),this._loadStartCallbackEvent=this._loadStartCallback.bind(this),this._popup.addEventListener("exit",this._exitCallbackEvent,!1),this._popup.addEventListener("loadstart",this._loadStartCallbackEvent,!1)):this._error("Error opening popup window");}else this._error("No url provided");return this.promise},w.prototype._loadStartCallback=function(a){a.url.indexOf(this.redirect_uri)===0&&this._success({url:a.url});},w.prototype._exitCallback=function(a){this._error(a);},w.prototype._success=function(a){this._cleanup(),l.Log.debug("CordovaPopupWindow: Successful response from cordova popup window"),this._resolve(a);},w.prototype._error=function(a){this._cleanup(),l.Log.error(a),this._reject(new Error(a));},w.prototype.close=function(){this._cleanup();},w.prototype._cleanup=function(){this._popup&&(l.Log.debug("CordovaPopupWindow: cleaning up popup"),this._popup.removeEventListener("exit",this._exitCallbackEvent,!1),this._popup.removeEventListener("loadstart",this._loadStartCallbackEvent,!1),this._popup.close()),this._popup=null;},S(w,[{key:"promise",get:function(){return this._promise}}]),w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var S=P(0),l=P(10),w=P(5),y=P(6),a=P(37),u=P(38),o=P(16),p=P(2),C=P(48),E=P(49),j=P(19),R=P(20),T=P(18),A=P(1),B=P(15),Y=P(50);g.default={Version:Y.Version,Log:S.Log,OidcClient:l.OidcClient,OidcClientSettings:w.OidcClientSettings,WebStorageStateStore:y.WebStorageStateStore,InMemoryWebStorage:a.InMemoryWebStorage,UserManager:u.UserManager,AccessTokenEvents:o.AccessTokenEvents,MetadataService:p.MetadataService,CordovaPopupNavigator:C.CordovaPopupNavigator,CordovaIFrameNavigator:E.CordovaIFrameNavigator,CheckSessionIFrame:j.CheckSessionIFrame,TokenRevocationClient:R.TokenRevocationClient,SessionMonitor:T.SessionMonitor,Global:A.Global,User:B.User},Z.exports=g.default;},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.ClockService=(function(){function S(){(function(w,y){if(!(w instanceof y))throw new TypeError("Cannot call a class as a function")})(this,S);}return S.prototype.getEpochTime=function(){return Promise.resolve(Date.now()/1e3|0)},S})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.ResponseValidator=void 0;var S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},l=P(0),w=P(2),y=P(25),a=P(11),u=P(12),o=P(4);function p(E,j){if(!(E instanceof j))throw new TypeError("Cannot call a class as a function")}var C=["nonce","at_hash","iat","nbf","exp","aud","iss","c_hash"];g.ResponseValidator=(function(){function E(j){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w.MetadataService,T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.UserInfoService,A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:o.JoseUtil,B=arguments.length>4&&arguments[4]!==void 0?arguments[4]:a.TokenClient;if(p(this,E),!j)throw l.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=j,this._metadataService=new R(this._settings),this._userInfoService=new T(this._settings),this._joseUtil=A,this._tokenClient=new B(this._settings);}return E.prototype.validateSigninResponse=function(R,T){var A=this;return l.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(R,T).then(function(B){return l.Log.debug("ResponseValidator.validateSigninResponse: state processed"),A._validateTokens(R,B).then(function(Y){return l.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),A._processClaims(R,Y).then(function(M){return l.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),M})})})},E.prototype.validateSignoutResponse=function(R,T){return R.id!==T.state?(l.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(l.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),T.state=R.data,T.error?(l.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",T.error),Promise.reject(new u.ErrorResponse(T))):Promise.resolve(T))},E.prototype._processSigninParams=function(R,T){if(R.id!==T.state)return l.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!R.client_id)return l.Log.error("ResponseValidator._processSigninParams: No client_id on
935state"),Promise.reject(new Error("No client_id on state"));if(!R.authority)return l.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==R.authority)return l.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=R.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==R.client_id)return l.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=R.client_id;return l.Log.debug("ResponseValidator._processSigninParams: state validated"),T.state=R.data,T.error?(l.Log.warn("ResponseValidator._processSigninParams: Response was error",T.error),Promise.reject(new u.ErrorResponse(T))):R.nonce&&!T.id_token?(l.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!R.nonce&&T.id_token?(l.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):R.code_verifier&&!T.code?(l.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!R.code_verifier&&T.code?(l.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(T.scope||(T.scope=R.scope),Promise.resolve(T))},E.prototype._processClaims=function(R,T){var A=this;if(T.isOpenIdConnect){if(l.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),T.profile=this._filterProtocolClaims(T.profile),R.skipUserInfo!==!0&&this._settings.loadUserInfo&&T.access_token)return l.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(T.access_token).then(function(B){return l.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),B.sub!==T.profile.sub?(l.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in id_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in id_token"))):(T.profile=A._mergeClaims(T.profile,B),l.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",T.profile),T)});l.Log.debug("ResponseValidator._processClaims: not loading user info");}else l.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(T)},E.prototype._mergeClaims=function(R,T){var A=Object.assign({},R);for(var B in T){var Y=T[B];Array.isArray(Y)||(Y=[Y]);for(var M=0;M<Y.length;M++){var q=Y[M];A[B]?Array.isArray(A[B])?A[B].indexOf(q)<0&&A[B].push(q):A[B]!==q&&((q===void 0?"undefined":S(q))==="object"&&this._settings.mergeClaims?A[B]=this._mergeClaims(A[B],q):A[B]=[A[B],q]):A[B]=q;}}return A},E.prototype._filterProtocolClaims=function(R){l.Log.debug("ResponseValidator._filterProtocolClaims, incoming claims:",R);var T=Object.assign({},R);return this._settings._filterProtocolClaims?(C.forEach(function(A){delete T[A];}),l.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims filtered",T)):l.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims not filtered"),T},E.prototype._validateTokens=function(R,T){return T.code?(l.Log.debug("ResponseValidator._validateTokens: Validating code"),this._processCode(R,T)):T.id_token?T.access_token?(l.Log.debug("ResponseValidator._validateTokens: Validating id_token and access_token"),this._validateIdTokenAndAccessToken(R,T)):(l.Log.debug("ResponseValidator._validateTokens: Validating id_token"),this._validateIdToken(R,T)):(l.Log.debug("ResponseValidator._validateTokens: No code to process or id_token to validate"),Promise.resolve(T))},E.prototype._processCode=function(R,T){var A=this,B={client_id:R.client_id,client_secret:R.client_secret,code:T.code,redirect_uri:R.redirect_uri,code_verifier:R.code_verifier};return R.extraTokenParams&&S(R.extraTokenParams)==="object"&&Object.assign(B,R.extraTokenParams),this._tokenClient.exchangeCode(B).then(function(Y){for(var M in Y)T[M]=Y[M];return T.id_token?(l.Log.debug("ResponseValidator._processCode: token response successful, processing id_token"),A._validateIdTokenAttributes(R,T)):(l.Log.debug("ResponseValidator._processCode: token response successful, returning response"),T)})},E.prototype._validateIdTokenAttributes=function(R,T){var A=this;return this._metadataService.getIssuer().then(function(B){var Y=R.client_id,M=A._settings.clockSkew;return l.Log.debug("ResponseValidator._validateIdTokenAttributes: Validaing JWT attributes; using clock skew (in seconds) of: ",M),A._settings.getEpochTime().then(function(q){return A._joseUtil.validateJwtAttributes(T.id_token,B,Y,M,q).then(function(O){return R.nonce&&R.nonce!==O.nonce?(l.Log.error("ResponseValidator._validateIdTokenAttributes: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):O.sub?(T.profile=O,T):(l.Log.error("ResponseValidator._validateIdTokenAttributes: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})})},E.prototype._validateIdTokenAndAccessToken=function(R,T){var A=this;
935return this._validateIdToken(R,T).then(function(B){return A._validateAccessToken(B)})},E.prototype._getSigningKeyForJwt=function(R){var T=this;return this._metadataService.getSigningKeys().then(function(A){var B=R.header.kid;if(!A)return l.Log.error("ResponseValidator._validateIdToken: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));l.Log.debug("ResponseValidator._validateIdToken: Received signing keys");var Y=void 0;if(B)Y=A.filter(function(M){return M.kid===B})[0];else {if((A=T._filterByAlg(A,R.header.alg)).length>1)return l.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));Y=A[0];}return Promise.resolve(Y)})},E.prototype._getSigningKeyForJwtWithSingleRetry=function(R){var T=this;return this._getSigningKeyForJwt(R).then(function(A){return A?Promise.resolve(A):(T._metadataService.resetSigningKeys(),T._getSigningKeyForJwt(R))})},E.prototype._validateIdToken=function(R,T){var A=this;if(!R.nonce)return l.Log.error("ResponseValidator._validateIdToken: No nonce on state"),Promise.reject(new Error("No nonce on state"));var B=this._joseUtil.parseJwt(T.id_token);return B&&B.header&&B.payload?R.nonce!==B.payload.nonce?(l.Log.error("ResponseValidator._validateIdToken: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):this._metadataService.getIssuer().then(function(Y){return l.Log.debug("ResponseValidator._validateIdToken: Received issuer"),A._getSigningKeyForJwtWithSingleRetry(B).then(function(M){if(!M)return l.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var q=R.client_id,O=A._settings.clockSkew;return l.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",O),A._joseUtil.validateJwt(T.id_token,M,Y,q,O).then(function(){return l.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),B.payload.sub?(T.profile=B.payload,T):(l.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))})})}):(l.Log.error("ResponseValidator._validateIdToken: Failed to parse id_token",B),Promise.reject(new Error("Failed to parse id_token")))},E.prototype._filterByAlg=function(R,T){var A=null;if(T.startsWith("RS"))A="RSA";else if(T.startsWith("PS"))A="PS";else {if(!T.startsWith("ES"))return l.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",T),[];A="EC";}return l.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",A),R=R.filter(function(B){return B.kty===A}),l.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",A,R.length),R},E.prototype._validateAccessToken=function(R){if(!R.profile)return l.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!R.profile.at_hash)return l.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!R.id_token)return l.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var T=this._joseUtil.parseJwt(R.id_token);if(!T||!T.header)return l.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",T),Promise.reject(new Error("Failed to parse id_token"));var A=T.header.alg;if(!A||A.length!==5)return l.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",A),Promise.reject(new Error("Unsupported alg: "+A));var B=A.substr(2,3);if(!B)return l.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",A,B),Promise.reject(new Error("Unsupported alg: "+A));if((B=parseInt(B))!==256&&B!==384&&B!==512)return l.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",A,B),Promise.reject(new Error("Unsupported alg: "+A));var Y="sha"+B,M=this._joseUtil.hashString(R.access_token,Y);if(!M)return l.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",Y),Promise.reject(new Error("Failed to validate at_hash"));var q=M.substr(0,M.length/2),O=this._joseUtil.hexToBase64Url(q);return O!==R.profile.at_hash?(l.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",O,R.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(l.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(R))},E})();},function(Z,g,P){"use strict";
935Object.defineProperty(g,"__esModule",{value:!0}),g.UserInfoService=void 0;var S=P(7),l=P(2),w=P(0),y=P(4);function a(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")}g.UserInfoService=(function(){function u(o){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:S.JsonService,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:l.MetadataService,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:y.JoseUtil;if(a(this,u),!o)throw w.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=o,this._jsonService=new p(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new C(this._settings),this._joseUtil=E;}return u.prototype.getClaims=function(p){var C=this;return p?this._metadataService.getUserInfoEndpoint().then(function(E){return w.Log.debug("UserInfoService.getClaims: received userinfo url",E),C._jsonService.getJson(E,p).then(function(j){return w.Log.debug("UserInfoService.getClaims: claims received",j),j})}):(w.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},u.prototype._getClaimsFromJwt=function(p){var C=this;try{var E=this._joseUtil.parseJwt(p.responseText);if(!E||!E.header||!E.payload)return w.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",E),Promise.reject(new Error("Failed to parse id_token"));var j=E.header.kid,R=void 0;switch(this._settings.userInfoJwtIssuer){case "OP":R=this._metadataService.getIssuer();break;case "ANY":R=Promise.resolve(E.payload.iss);break;default:R=Promise.resolve(this._settings.userInfoJwtIssuer);}return R.then(function(T){return w.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+T),C._metadataService.getSigningKeys().then(function(A){if(!A)return w.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));w.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var B=void 0;if(j)B=A.filter(function(q){return q.kid===j})[0];else {if((A=C._filterByAlg(A,E.header.alg)).length>1)return w.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));B=A[0];}if(!B)return w.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var Y=C._settings.client_id,M=C._settings.clockSkew;return w.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",M),C._joseUtil.validateJwt(p.responseText,B,T,Y,M,void 0,!0).then(function(){return w.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),E.payload})})})}catch(T){return w.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",T.message),void reject(T)}},u.prototype._filterByAlg=function(p,C){var E=null;if(C.startsWith("RS"))E="RSA";else if(C.startsWith("PS"))E="PS";else {if(!C.startsWith("ES"))return w.Log.debug("UserInfoService._filterByAlg: alg not supported: ",C),[];E="EC";}return w.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",E),p=p.filter(function(j){return j.kty===E}),w.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",E,p.length),p},u})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.AllowedSigningAlgs=g.b64tohex=g.hextob64u=g.crypto=g.X509=g.KeyUtil=g.jws=void 0;var S=P(27);g.jws=S.jws,g.KeyUtil=S.KEYUTIL,g.X509=S.X509,g.crypto=S.crypto,g.hextob64u=S.hextob64u,g.b64tohex=S.b64tohex,g.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];},function(Z,g,P){"use strict";(function(S){Object.defineProperty(g,"__esModule",{value:!0});var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w={userAgent:!1},y={};if(a===void 0)var a={};a.lang={extend:function(t,r,i){if(!r||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var n=function(){};if(n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=r.prototype,r.prototype.constructor==Object.prototype.constructor&&(r.prototype.constructor=r),i){var s;for(s in i)t.prototype[s]=i[s];var f=function(){},b=["toString","valueOf"];try{/MSIE/.test(w.userAgent)&&(f=function(_,F){for(s=0;s<b.length;s+=1){var k=b[s],U=F[k];typeof U=="function"&&U!=Object.prototype[k]&&(_[k]=U);}});}catch{}
935f(t.prototype,i);}}};var u,o,p,C,E,j,R,T,A,B,Y,M=M||(u=Math,p=(o={}).lib={},C=p.Base=(function(){function e(){}return {extend:function(r){e.prototype=this;var i=new e;return r&&i.mixIn(r),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments);}),i.init.prototype=i,i.$super=this,i},create:function(){var r=this.extend();return r.init.apply(r,arguments),r},init:function(){},mixIn:function(r){for(var i in r)r.hasOwnProperty(i)&&(this[i]=r[i]);r.hasOwnProperty("toString")&&(this.toString=r.toString);},clone:function(){return this.init.prototype.extend(this)}}})(),E=p.WordArray=C.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r??4*t.length;},toString:function(t){return (t||R).stringify(this)},concat:function(t){var r=this.words,i=t.words,n=this.sigBytes,s=t.sigBytes;if(this.clamp(),n%4)for(var f=0;f<s;f++){var b=i[f>>>2]>>>24-f%4*8&255;r[n+f>>>2]|=b<<24-(n+f)%4*8;}else for(f=0;f<s;f+=4)r[n+f>>>2]=i[f>>>2];return this.sigBytes+=s,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=u.ceil(r/4);},clone:function(){var t=C.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var r=[],i=0;i<t;i+=4)r.push(4294967296*u.random()|0);return new E.init(r,t)}}),j=o.enc={},R=j.Hex={stringify:function(t){for(var r=t.words,i=t.sigBytes,n=[],s=0;s<i;s++){var f=r[s>>>2]>>>24-s%4*8&255;n.push((f>>>4).toString(16)),n.push((15&f).toString(16));}return n.join("")},parse:function(t){for(var r=t.length,i=[],n=0;n<r;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new E.init(i,r/2)}},T=j.Latin1={stringify:function(t){for(var r=t.words,i=t.sigBytes,n=[],s=0;s<i;s++){var f=r[s>>>2]>>>24-s%4*8&255;n.push(String.fromCharCode(f));}return n.join("")},parse:function(t){for(var r=t.length,i=[],n=0;n<r;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new E.init(i,r)}},A=j.Utf8={stringify:function(t){try{return decodeURIComponent(escape(T.stringify(t)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(t){return T.parse(unescape(encodeURIComponent(t)))}},B=p.BufferedBlockAlgorithm=C.extend({reset:function(){this._data=new E.init,this._nDataBytes=0;},_append:function(t){typeof t=="string"&&(t=A.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes;},_process:function(t){var r=this._data,i=r.words,n=r.sigBytes,s=this.blockSize,f=n/(4*s),b=(f=t?u.ceil(f):u.max((0|f)-this._minBufferSize,0))*s,m=u.min(4*b,n);if(b){for(var _=0;_<b;_+=s)this._doProcessBlock(i,_);var F=i.splice(0,b);r.sigBytes-=m;}return new E.init(F,m)},clone:function(){var t=C.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),p.Hasher=B.extend({cfg:C.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset();},reset:function(){B.reset.call(this),this._doReset();},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(r,i){return new t.init(i).finalize(r)}},_createHmacHelper:function(t){return function(r,i){return new Y.HMAC.init(t,i).finalize(r)}}}),Y=o.algo={},o);((function(e){var t,r=(t=M).lib,i=r.Base,n=r.WordArray;(t=t.x64={}).Word=i.extend({init:function(f,b){this.high=f,this.low=b;}}),t.WordArray=i.extend({init:function(f,b){f=this.words=f||[],this.sigBytes=b??8*f.length;},toX32:function(){for(var f=this.words,b=f.length,m=[],_=0;_<b;_++){var F=f[_];m.push(F.high),m.push(F.low);}return n.create(m,this.sigBytes)},clone:function(){for(var f=i.clone.call(this),b=f.words=this.words.slice(0),m=b.length,_=0;_<m;_++)b[_]=b[_].clone();return f}});}))(),(function(){var e=M,t=e.lib.WordArray;e.enc.Base64={stringify:function(i){var n=i.words,s=i.sigBytes,f=this._map;i.clamp(),i=[];for(var b=0;b<s;b+=3)for(var m=(n[b>>>2]>>>24-b%4*8&255)<<16|(n[b+1>>>2]>>>24-(b+1)%4*8&255)<<8|n[b+2>>>2]>>>24-(b+2)%4*8&255,_=0;4>_&&b+.75*_<s;_++)i.push(f.charAt(m>>>6*(3-_)&63));if(n=f.charAt(64))for(;i.length%4;)i.push(n);return i.join("")},parse:function(i){var n=i.length,s=this._map;(f=s.charAt(64))&&(f=i.indexOf(f))!=-1&&(n=f);for(var f=[],b=0,m=0;m<n;m++)if(m%4){var _=s.indexOf(i.charAt(m-1))<<m%4*2,F=s.indexOf(i.charAt(m))>>>6-m%4*2;f[b>>>2]|=(_|F)<<24-b%4*8,b++;}return t.create(f,b)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
935+/="};})(),(function(e){for(var t=M,r=(n=t.lib).WordArray,i=n.Hasher,n=t.algo,s=[],f=[],b=function(G){return 4294967296*(G-(0|G))|0},m=2,_=0;64>_;){var F;t:{F=m;for(var k=e.sqrt(F),U=2;U<=k;U++)if(!(F%U)){F=!1;break t}F=!0;}F&&(8>_&&(s[_]=b(e.pow(m,.5))),f[_]=b(e.pow(m,1/3)),_++),m++;}var H=[];n=n.SHA256=i.extend({_doReset:function(){this._hash=new r.init(s.slice(0));},_doProcessBlock:function(G,X){for(var d=this._hash.words,x=d[0],I=d[1],D=d[2],z=d[3],$=d[4],at=d[5],et=d[6],gt=d[7],ot=0;64>ot;ot++){if(16>ot)H[ot]=0|G[X+ot];else {var ct=H[ot-15],yt=H[ot-2];H[ot]=((ct<<25|ct>>>7)^(ct<<14|ct>>>18)^ct>>>3)+H[ot-7]+((yt<<15|yt>>>17)^(yt<<13|yt>>>19)^yt>>>10)+H[ot-16];}ct=gt+(($<<26|$>>>6)^($<<21|$>>>11)^($<<7|$>>>25))+($&at^~$&et)+f[ot]+H[ot],yt=((x<<30|x>>>2)^(x<<19|x>>>13)^(x<<10|x>>>22))+(x&I^x&D^I&D),gt=et,et=at,at=$,$=z+ct|0,z=D,D=I,I=x,x=ct+yt|0;}d[0]=d[0]+x|0,d[1]=d[1]+I|0,d[2]=d[2]+D|0,d[3]=d[3]+z|0,d[4]=d[4]+$|0,d[5]=d[5]+at|0,d[6]=d[6]+et|0,d[7]=d[7]+gt|0;},_doFinalize:function(){var G=this._data,X=G.words,d=8*this._nDataBytes,x=8*G.sigBytes;return X[x>>>5]|=128<<24-x%32,X[14+(x+64>>>9<<4)]=e.floor(d/4294967296),X[15+(x+64>>>9<<4)]=d,G.sigBytes=4*X.length,this._process(),this._hash},clone:function(){var G=i.clone.call(this);return G._hash=this._hash.clone(),G}}),t.SHA256=i._createHelper(n),t.HmacSHA256=i._createHmacHelper(n);})(Math),(function(){function e(){return i.create.apply(i,arguments)}for(var t=M,r=t.lib.Hasher,i=(s=t.x64).Word,n=s.WordArray,s=t.algo,f=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],b=[],m=0;80>m;m++)b[m]=e();s=s.SHA512=r.extend({_doReset:function(){this._hash=new n.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)]);},_doProcessBlock:function(F,k){for(var U=(I=this._hash.words)[0],H=I[1],J=I[2],G=I[3],X=I[4],d=I[5],x=I[6],I=I[7],D=U.high,z=U.low,$=H.high,at=H.low,et=J.high,gt=J.low,ot=G.high,ct=G.low,yt=X.high,Ft=X.low,bt=d.high,$t=d.low,Ht=x.high,qt=x.low,Pt=I.high,Dt=I.low,Ot=D,Wt=z,Ue=$,xe=at,De=et,ke=gt,cr=ot,Le=ct,ue=yt,ne=Ft,Xe=bt,Ne=$t,$e=Ht,Be=qt,hr=Pt,Oe=Dt,ce=0;80>ce;ce++){var we=b[ce];if(16>ce)var ve=we.high=0|F[k+2*ce],Et=we.low=0|F[k+2*ce+1];else {ve=((Et=(ve=b[ce-15]).high)>>>1|(me=ve.low)<<31)^(Et>>>8|me<<24)^Et>>>7;var me=(me>>>1|Et<<31)^(me>>>8|Et<<24)^(me>>>7|Et<<25),Te=((Et=(Te=b[ce-2]).high)>>>19|(Lt=Te.low)<<13)^(Et<<3|Lt>>>29)^Et>>>6,Lt=(Lt>>>19|Et<<13)^(Lt<<3|Et>>>29)^(Lt>>>6|Et<<26),lr=(Et=b[ce-7]).high,Fe=(Ee=b[ce-16]).high,Ee=Ee.low;ve=(ve=(ve=ve+lr+((Et=me+Et.low)>>>0<me>>>0?1:0))+Te+((Et=Et+Lt)>>>0<Lt>>>0?1:0))+Fe+((Et=Et+Ee)>>>0<Ee>>>0?1:0),we.high=ve,we.low=Et;}lr=ue&Xe^~ue&$e,Ee=ne&Ne^~ne&Be,we=Ot&Ue^Ot&De^Ue&De;var li=Wt&xe^Wt&ke^xe&ke,gi=(me=(Ot>>>28|Wt<<4)^(Ot<<30|Wt>>>2)^(Ot<<25|Wt>>>7),Te=(Wt>>>28|Ot<<4)^(Wt<<30|Ot>>>2)^(Wt<<25|Ot>>>7),(Lt=f[ce]).high),Cr=Lt.low;Fe=hr+((ue>>>14|ne<<18)^(ue>>>
93518|ne<<14)^(ue<<23|ne>>>9))+((Lt=Oe+((ne>>>14|ue<<18)^(ne>>>18|ue<<14)^(ne<<23|ue>>>9)))>>>0<Oe>>>0?1:0),hr=$e,Oe=Be,$e=Xe,Be=Ne,Xe=ue,Ne=ne,ue=cr+(Fe=(Fe=(Fe=Fe+lr+((Lt=Lt+Ee)>>>0<Ee>>>0?1:0))+gi+((Lt=Lt+Cr)>>>0<Cr>>>0?1:0))+ve+((Lt=Lt+Et)>>>0<Et>>>0?1:0))+((ne=Le+Lt|0)>>>0<Le>>>0?1:0)|0,cr=De,Le=ke,De=Ue,ke=xe,Ue=Ot,xe=Wt,Ot=Fe+(we=me+we+((Et=Te+li)>>>0<Te>>>0?1:0))+((Wt=Lt+Et|0)>>>0<Lt>>>0?1:0)|0;}z=U.low=z+Wt,U.high=D+Ot+(z>>>0<Wt>>>0?1:0),at=H.low=at+xe,H.high=$+Ue+(at>>>0<xe>>>0?1:0),gt=J.low=gt+ke,J.high=et+De+(gt>>>0<ke>>>0?1:0),ct=G.low=ct+Le,G.high=ot+cr+(ct>>>0<Le>>>0?1:0),Ft=X.low=Ft+ne,X.high=yt+ue+(Ft>>>0<ne>>>0?1:0),$t=d.low=$t+Ne,d.high=bt+Xe+($t>>>0<Ne>>>0?1:0),qt=x.low=qt+Be,x.high=Ht+$e+(qt>>>0<Be>>>0?1:0),Dt=I.low=Dt+Oe,I.high=Pt+hr+(Dt>>>0<Oe>>>0?1:0);},_doFinalize:function(){var F=this._data,k=F.words,U=8*this._nDataBytes,H=8*F.sigBytes;return k[H>>>5]|=128<<24-H%32,k[30+(H+128>>>10<<5)]=Math.floor(U/4294967296),k[31+(H+128>>>10<<5)]=U,F.sigBytes=4*k.length,this._process(),this._hash.toX32()},clone:function(){var F=r.clone.call(this);return F._hash=this._hash.clone(),F},blockSize:32}),t.SHA512=r._createHelper(s),t.HmacSHA512=r._createHmacHelper(s);})(),(function(){var e=M,t=(n=e.x64).Word,r=n.WordArray,i=(n=e.algo).SHA512,n=n.SHA384=i.extend({_doReset:function(){this._hash=new r.init([new t.init(3418070365,3238371032),new t.init(1654270250,914150663),new t.init(2438529370,812702999),new t.init(355462360,4144912697),new t.init(1731405415,4290775857),new t.init(2394180231,1750603025),new t.init(3675008525,1694076839),new t.init(1203062813,3204075428)]);},_doFinalize:function(){var f=i._doFinalize.call(this);return f.sigBytes-=16,f}});e.SHA384=i._createHelper(n),e.HmacSHA384=i._createHmacHelper(n);})();var q,O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function tt(e){var t,r,i="";for(t=0;t+3<=e.length;t+=3)r=parseInt(e.substring(t,t+3),16),i+=O.charAt(r>>6)+O.charAt(63&r);for(t+1==e.length?(r=parseInt(e.substring(t,t+1),16),i+=O.charAt(r<<2)):t+2==e.length&&(r=parseInt(e.substring(t,t+2),16),i+=O.charAt(r>>2)+O.charAt((3&r)<<4)),"=";(3&i.length)>0;)i+="=";return i}function rt(e){var t,r,i,n="",s=0;for(t=0;t<e.length&&e.charAt(t)!="=";++t)(i=O.indexOf(e.charAt(t)))<0||(s==0?(n+=At(i>>2),r=3&i,s=1):s==1?(n+=At(r<<2|i>>4),r=15&i,s=2):s==2?(n+=At(r),n+=At(i>>2),r=3&i,s=3):(n+=At(r<<2|i>>4),n+=At(15&i),s=0));return s==1&&(n+=At(r<<2)),n}function nt(e){var t,r=rt(e),i=new Array;for(t=0;2*t<r.length;++t)i[t]=parseInt(r.substring(2*t,2*t+2),16);return i}function V(e,t,r){e!=null&&(typeof e=="number"?this.fromNumber(e,t,r):t==null&&typeof e!="string"?this.fromString(e,256):this.fromString(e,t));}function ut(){return new V(null)}w.appName=="Microsoft Internet Explorer"?(V.prototype.am=function(t,r,i,n,s,f){for(var b=32767&r,m=r>>15;--f>=0;){var _=32767&this[t],F=this[t++]>>15,k=m*_+F*b;s=((_=b*_+((32767&k)<<15)+i[n]+(1073741823&s))>>>30)+(k>>>15)+m*F+(s>>>30),i[n++]=1073741823&_;}return s},q=30):w.appName!="Netscape"?(V.prototype.am=function(t,r,i,n,s,f){for(;--f>=0;){var b=r*this[t++]+i[n]+s;s=Math.floor(b/67108864),i[n++]=67108863&b;}return s},q=26):(V.prototype.am=function(t,r,i,n,s,f){for(var b=16383&r,m=r>>14;--f>=0;){var _=16383&this[t],F=this[t++]>>14,k=m*_+F*b;s=((_=b*_+((16383&k)<<14)+i[n]+s)>>28)+(k>>14)+m*F,i[n++]=268435455&_;}return s},q=28),V.prototype.DB=q,V.prototype.DM=(1<<q)-1,V.prototype.DV=1<<q,V.prototype.FV=Math.pow(2,52),V.prototype.F1=52-q,V.prototype.F2=2*q-52;var St,wt,Mt=new Array;for(St=48,wt=0;wt<=9;++wt)Mt[St++]=wt;for(St=97,wt=10;wt<36;++wt)Mt[St++]=wt;for(St=65,wt=10;wt<36;++wt)Mt[St++]=wt;function At(e){return "0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function Zt(e,t){var r=Mt[e.charCodeAt(t)];return r??-1}function Ct(e){var t=ut();return t.fromInt(e),t}function ft(e){var t,r=1;return (t=e>>>16)!=0&&(e=t,r+=16),(t=e>>8)!=0&&(e=t,r+=8),(t=e>>4)!=0&&(e=t,r+=4),(t=e>>2)!=0&&(e=t,r+=2),(t=e>>1)!=0&&(e=t,r+=1),r}function dt(e){this.m=e;}function xt(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t;}function Jt(e,t){return e&t}function Vt(e,t){return e|t}function zt(e,t){return e^t}function te(e,t){return e&~t}function de(e){if(e==0)return -1;var t=0;return (65535&e)==0&&(e>>=16,t+=16),(255&e)==0&&(e>>=8,t+=8),(15&e)==0&&(e>>=4,t+=4),(3&e)==0&&(e>>=2,t+=2),(1&e)==0&&++t,t}function ie(e){for(var t=0;e!=0;)e&=e-1,++t;return t}function Nt(){}function Yt(e){return e}function Kt(e){this.r2=ut(),this.q3=ut(),V.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e;}dt.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},dt.prototype.revert=function(t){return t},dt.prototype.reduce=function(t){t.divRemTo(this.m,null,t);},dt.prototype.mulTo=function(t,r,i){t.multiplyTo(r,i),this.reduce(i);},dt.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r);},xt.prototype.convert=function(t){var r=ut();return t.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),t.s<0&&r.compareTo(V.ZERO)>0&&this.m.subTo(r,r),r},xt.prototype.revert=function(t){var r=ut();return t.copyTo(r),this.reduce(r),r},xt.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var r=0;r<this.m.t;++r){var i=32767&t[r],n=i*this.mpl+((i*this.mph+(t[r]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[i=r+this.m.t]+=this.m.am(0,n,t,r,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++;}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t);},xt.prototype.mulTo=function(t,r,i){t.multiplyTo(r,i),this.reduce(i);},xt.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r);},V.prototype.copyTo=function(t){for(var r=this.t-1;r>=0;--r)t[r]=this[r];t.t=this.t,t.s=this.s;},V.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0;},V.prototype.fromString=function(t,r){var i;if(r==16)i=4;else if(r==8)i=3;else if(r==256)i=8;else if(r==2)i=1;else if(r==32)i=5;else {if(r!=4)return void this.fromRadix(t,r);i=2;}this.t=0,this.s=0;for(var n=t.length,s=!1,f=0;--n>=0;){var b=i==8?255&t[n]:Zt(t,n);b<0?t.charAt(n)=="-"&&(s=!0):(s=!1,f==0?this[this.t++]=b:f+i>this.DB?(this[this.t-1]|=(b&(1<<this.DB-f)-1)<<f,this[this.t++]=b>>this.DB-f):this[this.t-1]|=b<<f,(f+=i)>=this.DB&&(f-=this.DB));}i==8&&(128&t[0])!=0&&(this.s=-1,f>0&&(this[this.t-1]|=(1<<this.DB-f)-1<<f)),this.clamp(),s&&V.ZERO.subTo(this,this);},V.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t;},V.prototype.dlShiftTo=function(t,r){var i;for(i=this.t-1;i>=0;--i)r[i+t]=this[i];for(i=t-1;i>=0;--i)r[i]=0;r.t=this.t+t,r.s=this.s;},V.prototype.drShiftTo=function(t,r){for(var i=t;i<this.t;++i)r[i-t]=this[i];r.t=Math.max(this.t-t,0),r.s=this.s;},V.prototype.lShiftTo=function(t,r){var i,n=t%this.DB,s=this.DB-n,f=(1<<s)-1,b=Math.floor(t/this.DB),m=this.s<<n&this.DM;for(i=this.t-1;i>=0;--i)r[i+b+1]=this[i]>>s|m,m=(this[i]&f)<<n;for(i=b-1;i>=0;--i)r[i]=0;r[b]=m,r.t=this.t+b+1,r.s=this.s,r.clamp();},V.prototype.rShiftTo=function(t,r){r.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)r.t=0;else {var n=t%this.DB,s=this.DB-n,f=(1<<n)-1;r[0]=this[i]>>n;for(var b=i+1;b<this.t;++b)r[b-i-1]|=(this[b]&f)<<s,r[b-i]=this[b]>>n;n>0&&(r[this.t-i-1]|=(this.s&f)<<s),r.t=this.t-i,r.clamp();}},V.prototype.subTo=function(t,r){for(var i=0,n=0,s=Math.min(t.t,this.t);i<s;)n+=this[i]-t[i],r[i++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;i<this.t;)n+=this[i],r[i++]=n&this.DM,n>>=this.DB;n+=this.s;}else {for(n+=this.s;i<t.t;)n-=t[i],r[i++]=n&this.DM,n>>=this.DB;n-=t.s;}r.s=n<0?-1:0,n<-1?r[i++]=this.DV+n:n>0&&(r[i++]=n),r.t=i,r.clamp();},V.prototype.multiplyTo=function(t,r){var i=this.abs(),n=t.abs(),s=i.t;for(r.t=s+n.t;--s>=0;)r[s]=0;for(s=0;s<n.t;++s)r[s+i.t]=i.am(0,n[s],r,s,0,i.t);r.s=0,r.clamp(),this.s!=t.s&&V.ZERO.subTo(r,r);},V.prototype.squareTo=function(t){for(var r=this.abs(),i=t.t=2*r.t;--i>=0;)t[i]=0;for(i=0;i<r.t-1;++i){var n=r.am(i,r[i],t,2*i,0,1);(t[i+r.t]+=r.am(i+1,2*r[i],t,2*i+1,n,r.t-i-1))>=r.DV&&(t[i+r.t]-=r.DV,t[i+r.t+1]=1);}t.t>0&&(t[t.t-1]+=r.am(i,r[i],t,2*i,0,1)),t.s=0,t.clamp();},V.prototype.divRemTo=function(t,r,i){var n=t.abs();if(!(n.t<=0)){var s=this.abs();if(s.t<n.t)return r?.fromInt(0),void(i!=null&&this.copyTo(i));i==null&&(i=ut());var f=ut(),b=this.s,m=t.s,_=this.DB-ft(n[n.t-1]);_>
9350?(n.lShiftTo(_,f),s.lShiftTo(_,i)):(n.copyTo(f),s.copyTo(i));var F=f.t,k=f[F-1];if(k!=0){var U=k*(1<<this.F1)+(F>1?f[F-2]>>this.F2:0),H=this.FV/U,J=(1<<this.F1)/U,G=1<<this.F2,X=i.t,d=X-F,x=r??ut();for(f.dlShiftTo(d,x),i.compareTo(x)>=0&&(i[i.t++]=1,i.subTo(x,i)),V.ONE.dlShiftTo(F,x),x.subTo(f,f);f.t<F;)f[f.t++]=0;for(;--d>=0;){var I=i[--X]==k?this.DM:Math.floor(i[X]*H+(i[X-1]+G)*J);if((i[X]+=f.am(0,I,i,d,0,F))<I)for(f.dlShiftTo(d,x),i.subTo(x,i);i[X]<--I;)i.subTo(x,i);}r!=null&&(i.drShiftTo(F,r),b!=m&&V.ZERO.subTo(r,r)),i.t=F,i.clamp(),_>0&&i.rShiftTo(_,i),b<0&&V.ZERO.subTo(i,i);}}},V.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if((1&t)==0)return 0;var r=3&t;return (r=(r=(r=(r=r*(2-(15&t)*r)&15)*(2-(255&t)*r)&255)*(2-((65535&t)*r&65535))&65535)*(2-t*r%this.DV)%this.DV)>0?this.DV-r:-r},V.prototype.isEven=function(){return (this.t>0?1&this[0]:this.s)==0},V.prototype.exp=function(t,r){if(t>4294967295||t<1)return V.ONE;var i=ut(),n=ut(),s=r.convert(this),f=ft(t)-1;for(s.copyTo(i);--f>=0;)if(r.sqrTo(i,n),(t&1<<f)>0)r.mulTo(n,s,i);else {var b=i;i=n,n=b;}return r.revert(i)},V.prototype.toString=function(t){if(this.s<0)return "-"+this.negate().toString(t);var r;if(t==16)r=4;else if(t==8)r=3;else if(t==2)r=1;else if(t==32)r=5;else {if(t!=4)return this.toRadix(t);r=2;}var i,n=(1<<r)-1,s=!1,f="",b=this.t,m=this.DB-b*this.DB%r;if(b-- >0)for(m<this.DB&&(i=this[b]>>m)>0&&(s=!0,f=At(i));b>=0;)m<r?(i=(this[b]&(1<<m)-1)<<r-m,i|=this[--b]>>(m+=this.DB-r)):(i=this[b]>>(m-=r)&n,m<=0&&(m+=this.DB,--b)),i>0&&(s=!0),s&&(f+=At(i));return s?f:"0"},V.prototype.negate=function(){var t=ut();return V.ZERO.subTo(this,t),t},V.prototype.abs=function(){return this.s<0?this.negate():this},V.prototype.compareTo=function(t){var r=this.s-t.s;if(r!=0)return r;var i=this.t;if((r=i-t.t)!=0)return this.s<0?-r:r;for(;--i>=0;)if((r=this[i]-t[i])!=0)return r;return 0},V.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+ft(this[this.t-1]^this.s&this.DM)},V.prototype.mod=function(t){var r=ut();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(V.ZERO)>0&&t.subTo(r,r),r},V.prototype.modPowInt=function(t,r){var i;return i=t<256||r.isEven()?new dt(r):new xt(r),this.exp(t,i)},V.ZERO=Ct(0),V.ONE=Ct(1),Nt.prototype.convert=Yt,Nt.prototype.revert=Yt,Nt.prototype.mulTo=function(t,r,i){t.multiplyTo(r,i);},Nt.prototype.sqrTo=function(t,r){t.squareTo(r);},Kt.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var r=ut();return t.copyTo(r),this.reduce(r),r},Kt.prototype.revert=function(t){return t},Kt.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t);},Kt.prototype.mulTo=function(t,r,i){t.multiplyTo(r,i),this.reduce(i);},Kt.prototype.sqrTo=function(t,r){t.squareTo(r),this.reduce(r);};var N=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],c=(1<<26)/N[N.length-1];function h(){this.i=0,this.j=0,this.S=new Array;}V.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},V.prototype.toRadix=function(t){if(t==null&&(t=10),this.signum()==0||t<2||t>36)return "0";var r=this.chunkSize(t),i=Math.pow(t,r),n=Ct(i),s=ut(),f=ut(),b="";for(this.divRemTo(n,s,f);s.signum()>0;)b=(i+f.intValue()).toString(t).substr(1)+b,s.divRemTo(n,s,f);return f.intValue().toString(t)+b},V.prototype.fromRadix=function(t,r){this.fromInt(0),r==null&&(r=10);for(var i=this.chunkSize(r),n=Math.pow(r,i),s=!1,f=0,b=0,m=0;m<t.length;++m){var _=Zt(t,m);_<0?t.charAt(m)=="-"&&this.signum()==0&&(s=!0):(b=r*b+_,++f>=i&&(this.dMultiply(n),this.dAddOffset(b,0),f=0,b=0));}f>0&&(this.dMultiply(Math.pow(r,f)),this.dAddOffset(b,0)),s&&V.ZERO.subTo(this,this);},V.prototype.fromNumber=function(t,r,i){if(typeof r=="number")if(t<2)this.fromInt(1);
935else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(V.ONE.shiftLeft(t-1),Vt,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(V.ONE.shiftLeft(t-1),this);else {var n=new Array,s=7&t;n.length=1+(t>>3),r.nextBytes(n),s>0?n[0]&=(1<<s)-1:n[0]=0,this.fromString(n,256);}},V.prototype.bitwiseTo=function(t,r,i){var n,s,f=Math.min(t.t,this.t);for(n=0;n<f;++n)i[n]=r(this[n],t[n]);if(t.t<this.t){for(s=t.s&this.DM,n=f;n<this.t;++n)i[n]=r(this[n],s);i.t=this.t;}else {for(s=this.s&this.DM,n=f;n<t.t;++n)i[n]=r(s,t[n]);i.t=t.t;}i.s=r(this.s,t.s),i.clamp();},V.prototype.changeBit=function(t,r){var i=V.ONE.shiftLeft(t);return this.bitwiseTo(i,r,i),i},V.prototype.addTo=function(t,r){for(var i=0,n=0,s=Math.min(t.t,this.t);i<s;)n+=this[i]+t[i],r[i++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;i<this.t;)n+=this[i],r[i++]=n&this.DM,n>>=this.DB;n+=this.s;}else {for(n+=this.s;i<t.t;)n+=t[i],r[i++]=n&this.DM,n>>=this.DB;n+=t.s;}r.s=n<0?-1:0,n>0?r[i++]=n:n<-1&&(r[i++]=this.DV+n),r.t=i,r.clamp();},V.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp();},V.prototype.dAddOffset=function(t,r){if(t!=0){for(;this.t<=r;)this[this.t++]=0;for(this[r]+=t;this[r]>=this.DV;)this[r]-=this.DV,++r>=this.t&&(this[this.t++]=0),++this[r];}},V.prototype.multiplyLowerTo=function(t,r,i){var n,s=Math.min(this.t+t.t,r);for(i.s=0,i.t=s;s>0;)i[--s]=0;for(n=i.t-this.t;s<n;++s)i[s+this.t]=this.am(0,t[s],i,s,0,this.t);for(n=Math.min(t.t,r);s<n;++s)this.am(0,t[s],i,s,0,r-s);i.clamp();},V.prototype.multiplyUpperTo=function(t,r,i){--r;var n=i.t=this.t+t.t-r;for(i.s=0;--n>=0;)i[n]=0;for(n=Math.max(r-this.t,0);n<t.t;++n)i[this.t+n-r]=this.am(r-n,t[n],i,0,0,this.t+n-r);i.clamp(),i.drShiftTo(1,i);},V.prototype.modInt=function(t){if(t<=0)return 0;var r=this.DV%t,i=this.s<0?t-1:0;if(this.t>0)if(r==0)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(r*i+this[n])%t;return i},V.prototype.millerRabin=function(t){var r=this.subtract(V.ONE),i=r.getLowestSetBit();if(i<=0)return !1;var n=r.shiftRight(i);(t=t+1>>1)>N.length&&(t=N.length);for(var s=ut(),f=0;f<t;++f){s.fromInt(N[Math.floor(Math.random()*N.length)]);var b=s.modPow(n,this);if(b.compareTo(V.ONE)!=0&&b.compareTo(r)!=0){for(var m=1;m++<i&&b.compareTo(r)!=0;)if((b=b.modPowInt(2,this)).compareTo(V.ONE)==0)return !1;if(b.compareTo(r)!=0)return !1}}return !0},V.prototype.clone=function(){var t=ut();return this.copyTo(t),t},V.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return -1}else {if(this.t==1)return this[0];if(this.t==0)return 0}return (this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},V.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},V.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},V.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},V.prototype.toByteArray=function(){var t=this.t,r=new Array;r[0]=this.s;var i,n=this.DB-t*this.DB%8,s=0;if(t-- >0)for(n<this.DB&&(i=this[t]>>n)!=(this.s&this.DM)>>n&&(r[s++]=i|this.s<<this.DB-n);t>=0;)n<8?(i=(this[t]&(1<<n)-1)<<8-n,i|=this[--t]>>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),(128&i)!=0&&(i|=-256),s==0&&(128&this.s)!=(128&i)&&++s,(s>0||i!=this.s)&&(r[s++]=i);return r},V.prototype.equals=function(t){return this.compareTo(t)==0},V.prototype.min=function(t){return this.compareTo(t)<0?this:t},V.prototype.max=function(t){return this.compareTo(t)>0?this:t},V.prototype.and=function(t){var r=ut();return this.bitwiseTo(t,Jt,r),r},V.prototype.or=function(t){var r=ut();return this.bitwiseTo(t,Vt,r),r},V.prototype.xor=function(t){var r=ut();return this.bitwiseTo(t,zt,r),r},V.prototype.andNot=function(t){var r=ut();return this.bitwiseTo(t,te,r),r},V.prototype.not=function(){for(var t=ut(),r=0;r<this.t;++r)t[r]=this.DM&~this[r];return t.t=this.t,t.s=~this.s,t},V.prototype.shiftLeft=function(t){var r=ut();return t<0?this.rShiftTo(-t,r):this.lShiftTo(t,r),r},V.prototype.shiftRight=function(t){var r=ut();return t<0?this.lShiftTo(-t,r):this.rShiftTo(t,r),r},V.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(this[t]!=0)return t*this.DB+de(this[t]);return this.s<0?this.t*this.DB:-1},V.prototype.bitCount=function(){for(var t=0,r=this.s&this.DM,i=0;i<this.t;++i)t+=ie(this[i]^r);return t},V.prototype.testBit=function(t){var r=Math.floor(t/this.DB);return r>=this.t?this.s!=0:(this[r]&1<<t%this.DB)!=0},V.prototype.setBit=function(t){return this.changeBit(t,Vt)},V.prototype.clearBit=function(t){return this.changeBit(t,te)}
935,V.prototype.flipBit=function(t){return this.changeBit(t,zt)},V.prototype.add=function(t){var r=ut();return this.addTo(t,r),r},V.prototype.subtract=function(t){var r=ut();return this.subTo(t,r),r},V.prototype.multiply=function(t){var r=ut();return this.multiplyTo(t,r),r},V.prototype.divide=function(t){var r=ut();return this.divRemTo(t,r,null),r},V.prototype.remainder=function(t){var r=ut();return this.divRemTo(t,null,r),r},V.prototype.divideAndRemainder=function(t){var r=ut(),i=ut();return this.divRemTo(t,r,i),new Array(r,i)},V.prototype.modPow=function(t,r){var i,n,s=t.bitLength(),f=Ct(1);if(s<=0)return f;i=s<18?1:s<48?3:s<144?4:s<768?5:6,n=s<8?new dt(r):r.isEven()?new Kt(r):new xt(r);var b=new Array,m=3,_=i-1,F=(1<<i)-1;if(b[1]=n.convert(this),i>1){var k=ut();for(n.sqrTo(b[1],k);m<=F;)b[m]=ut(),n.mulTo(k,b[m-2],b[m]),m+=2;}var U,H,J=t.t-1,G=!0,X=ut();for(s=ft(t[J])-1;J>=0;){for(s>=_?U=t[J]>>s-_&F:(U=(t[J]&(1<<s+1)-1)<<_-s,J>0&&(U|=t[J-1]>>this.DB+s-_)),m=i;(1&U)==0;)U>>=1,--m;if((s-=m)<0&&(s+=this.DB,--J),G)b[U].copyTo(f),G=!1;else {for(;m>1;)n.sqrTo(f,X),n.sqrTo(X,f),m-=2;m>0?n.sqrTo(f,X):(H=f,f=X,X=H),n.mulTo(X,b[U],f);}for(;J>=0&&(t[J]&1<<s)==0;)n.sqrTo(f,X),H=f,f=X,X=H,--s<0&&(s=this.DB-1,--J);}return n.revert(f)},V.prototype.modInverse=function(t){var r=t.isEven();if(this.isEven()&&r||t.signum()==0)return V.ZERO;for(var i=t.clone(),n=this.clone(),s=Ct(1),f=Ct(0),b=Ct(0),m=Ct(1);i.signum()!=0;){for(;i.isEven();)i.rShiftTo(1,i),r?(s.isEven()&&f.isEven()||(s.addTo(this,s),f.subTo(t,f)),s.rShiftTo(1,s)):f.isEven()||f.subTo(t,f),f.rShiftTo(1,f);for(;n.isEven();)n.rShiftTo(1,n),r?(b.isEven()&&m.isEven()||(b.addTo(this,b),m.subTo(t,m)),b.rShiftTo(1,b)):m.isEven()||m.subTo(t,m),m.rShiftTo(1,m);i.compareTo(n)>=0?(i.subTo(n,i),r&&s.subTo(b,s),f.subTo(m,f)):(n.subTo(i,n),r&&b.subTo(s,b),m.subTo(f,m));}return n.compareTo(V.ONE)!=0?V.ZERO:m.compareTo(t)>=0?m.subtract(t):m.signum()<0?(m.addTo(t,m),m.signum()<0?m.add(t):m):m},V.prototype.pow=function(t){return this.exp(t,new Nt)},V.prototype.gcd=function(t){var r=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(r.compareTo(i)<0){var n=r;r=i,i=n;}var s=r.getLowestSetBit(),f=i.getLowestSetBit();if(f<0)return r;for(s<f&&(f=s),f>0&&(r.rShiftTo(f,r),i.rShiftTo(f,i));r.signum()>0;)(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),r.compareTo(i)>=0?(r.subTo(i,r),r.rShiftTo(1,r)):(i.subTo(r,i),i.rShiftTo(1,i));return f>0&&i.lShiftTo(f,i),i},V.prototype.isProbablePrime=function(t){var r,i=this.abs();if(i.t==1&&i[0]<=N[N.length-1]){for(r=0;r<N.length;++r)if(i[0]==N[r])return !0;return !1}if(i.isEven())return !1;for(r=1;r<N.length;){for(var n=N[r],s=r+1;s<N.length&&n<c;)n*=N[s++];for(n=i.modInt(n);r<s;)if(n%N[r++]==0)return !1}return i.millerRabin(t)},V.prototype.square=function(){var t=ut();return this.squareTo(t),t},h.prototype.init=function(t){var r,i,n;for(r=0;r<256;++r)this.S[r]=r;for(i=0,r=0;r<256;++r)i=i+this.S[r]+t[r%t.length]&255,n=this.S[r],this.S[r]=this.S[i],this.S[i]=n;this.i=0,this.j=0;},h.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var L,K,W;function Q(){(function(t){K[W++]^=255&t,K[W++]^=t>>8&255,K[W++]^=t>>16&255,K[W++]^=t>>24&255,W>=256&&(W-=256);})(new Date().getTime());}if(K==null){var st;if(K=new Array,W=0,y!==void 0&&(y.crypto!==void 0||y.msCrypto!==void 0)){var lt=y.crypto||y.msCrypto;if(lt.getRandomValues){var mt=new Uint8Array(32);for(lt.getRandomValues(mt),st=0;st<32;++st)K[W++]=mt[st];}else if(w.appName=="Netscape"&&w.appVersion<"5"){var pt=y.crypto.random(32);for(st=0;st<pt.length;++st)K[W++]=255&pt.charCodeAt(st);}}for(;W<256;)st=Math.floor(65536*Math.random()),K[W++]=st>>>8,K[W++]=255&st;W=0,Q();}function Tt(){if(L==null){for(Q(),(L=(function(){return new h})()).init(K),W=0;W<K.length;++W)K[W]=0;W=0;}return L.next()}function jt(){}function Gt(e,t){return new V(e,t)}function se(e,t,r){for(var i="",n=0;i.length<t;)i+=r(String.fromCharCode.apply(String,e.concat([(4278190080&n)>>24,(16711680&n)>>16,(65280&n)>>8,255&n]))),n+=1;return i}function ht(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null;}function kt(e,t){this.x=t,this.q=e;}
935function vt(e,t,r,i){this.curve=e,this.x=t,this.y=r,this.z=i??V.ONE,this.zinv=null;}function _e(e,t,r){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(r),this.infinity=new vt(this,null,null);}jt.prototype.nextBytes=function(t){var r;for(r=0;r<t.length;++r)t[r]=Tt();},ht.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},ht.prototype.setPublic=function(t,r){if(this.isPublic=!0,this.isPrivate=!1,typeof t!="string")this.n=t,this.e=r;else {if(!(t!=null&&r!=null&&t.length>0&&r.length>0))throw "Invalid RSA public key";this.n=Gt(t,16),this.e=parseInt(r,16);}},ht.prototype.encrypt=function(t){var r=(function(f,b){if(b<f.length+11)throw "Message too long for RSA";for(var m=new Array,_=f.length-1;_>=0&&b>0;){var F=f.charCodeAt(_--);F<128?m[--b]=F:F>127&&F<2048?(m[--b]=63&F|128,m[--b]=F>>6|192):(m[--b]=63&F|128,m[--b]=F>>6&63|128,m[--b]=F>>12|224);}m[--b]=0;for(var k=new jt,U=new Array;b>2;){for(U[0]=0;U[0]==0;)k.nextBytes(U);m[--b]=U[0];}return m[--b]=2,m[--b]=0,new V(m)})(t,this.n.bitLength()+7>>3);if(r==null)return null;var i=this.doPublic(r);if(i==null)return null;var n=i.toString(16);return (1&n.length)==0?n:"0"+n},ht.prototype.encryptOAEP=function(t,r,i){var n=(function(m,_,F,k){var U=v.crypto.MessageDigest,H=v.crypto.Util,J=null;if(F||(F="sha1"),typeof F=="string"&&(J=U.getCanonicalAlgName(F),k=U.getHashLength(J),F=function(et){return ee(H.hashHex(ge(et),J))}),m.length+2*k+2>_)throw "Message too long for RSA";var G,X="";for(G=0;G<_-m.length-2*k-2;G+=1)X+="\0";var d=F("")+X+"�"+m,x=new Array(k);new jt().nextBytes(x);var I=se(x,d.length,F),D=[];for(G=0;G<d.length;G+=1)D[G]=d.charCodeAt(G)^I.charCodeAt(G);var z=se(D,x.length,F),$=[0];for(G=0;G<x.length;G+=1)$[G+1]=x[G]^z.charCodeAt(G);return new V($.concat(D))})(t,this.n.bitLength()+7>>3,r,i);if(n==null)return null;var s=this.doPublic(n);if(s==null)return null;var f=s.toString(16);return (1&f.length)==0?f:"0"+f},ht.prototype.type="RSA",kt.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},kt.prototype.toBigInteger=function(){return this.x},kt.prototype.negate=function(){return new kt(this.q,this.x.negate().mod(this.q))},kt.prototype.add=function(t){return new kt(this.q,this.x.add(t.toBigInteger()).mod(this.q))},kt.prototype.subtract=function(t){return new kt(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},kt.prototype.multiply=function(t){return new kt(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},kt.prototype.square=function(){return new kt(this.q,this.x.square().mod(this.q))},kt.prototype.divide=function(t){return new kt(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},vt.prototype.getX=function(){return this.zinv==null&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},vt.prototype.getY=function(){return this.zinv==null&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},vt.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(V.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(V.ZERO))},vt.prototype.isInfinity=function(){return this.x==null&&this.y==null||this.z.equals(V.ZERO)&&!this.y.toBigInteger().equals(V.ZERO)},vt.prototype.negate=function(){return new vt(this.curve,this.x,this.y.negate(),this.z)},vt.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),i=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(V.ZERO.equals(i))return V.ZERO.equals(r)?this.twice():this.curve.getInfinity();var n=new V("3"),s=this.x.toBigInteger(),f=this.y.toBigInteger(),b=(t.x.toBigInteger(),t.y.toBigInteger(),i.square()),m=b.multiply(i),_=s.multiply(b),F=r.square().multiply(this.z),k=F.subtract(_.shiftLeft(1)).multiply(t.z).subtract(m).multiply(i).mod(this.curve.q),U=_.multiply(n).multiply(r).subtract(f.multiply(m)).subtract(F.multiply(r)).multiply(t.z).add(r.multiply(m)).mod(this.curve.q),H=m.multiply(this.z).multiply(t.z).mod(this.curve.q);return new vt(this.curve,this.curve.fromBigInteger(k),this.curve.fromBigInteger(U),H)},vt.prototype.twice=function(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var t=new V("3"),r=this.x.toBigInteger(),i=this.y.toBigInteger(),n=i.multiply(this.z),s=n.multiply(i).mod(this.curve.q),f=this.curve.a.toBigInteger(),b=r.square().multiply(t);V.ZERO.equals(f)||(b=b.add(this.z.square().multiply(f)));var m=(b=b.mod(this.curve.q)).square().subtract(r.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(n).mod(this.curve.q),_=b.multiply(t).multiply(r).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(b.square().multiply(b)).mod(this.curve.q),F=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new vt(this.curve,this.curve.fromBigInteger(m),this.curve.fromBigInteger(_),F)},vt.prototype.multiply=function(t){if(this.isInfinity())return this;if(t.signum()==0)return this.curve.getInfinity();var r,i=t,n=i.multiply(new V("3")),s=this.negate(),f=this,b=this.curve.q.subtract(t),m=b.multiply(new V("3")),_=new vt(this.curve,this.x,this.y),F=_.negate();for(r=n.bitLength()-2;r>0;--r){f=f.twice();var k=n.testBit(r);k!=i.testBit(r)&&(f=f.add(k?this:s));}for(r=m.bitLength()-2;r>0;--r){_=_.twice();var U=m.testBit(r);U!=b.testBit(r)&&(_=_.add(U?_:F));}return f},vt.prototype.multiplyTwo=function(t,r,i){var n;n=t.bitLength()>i.bitLength()?t.bitLength()-1:i.bitLength()-1;for(var s=this.curve.getInfinity(),f=this.add(r);n>=0;)s=s.twice(),t.testBit(n)?s=i.testBit(n)?s.add(f):s.add(this):i.testBit(n)&&(s=s.add(r)),--n;return s},_e.prototype.getQ=function(){return this.q},_e.prototype.getA=function(){return this.a},_e.prototype.getB=function(){return this.b},_e.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},_e.prototype.getInfinity=function(){return this.infinity},_e.prototype.fromBigInteger=function(t){return new kt(this.q,t)},_e.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var r=(t.length-2)/2,i=t.substr(2,r),n=t.substr(r+2,r);return new vt(this,this.fromBigInteger(new V(i,16)),this.fromBigInteger(new V(n,16)));default:return null}},kt.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},vt.prototype.getEncoded=function(e){var t=function(f,b){var m=f.toByteArrayUnsigned();if(b<m.length)m=m.slice(m.length-b);else for(;b>m.length;)m.unshift(0);return m},r=this.getX().toBigInteger(),i=this.getY().toBigInteger(),n=t(r,32);return e?i.isEven()?n.unshift(2):n.unshift(3):(n.unshift(4),n=n.concat(t(i,32))),n},vt.decodeFrom=function(e,t){t[0];var r=t.length-1,i=t.slice(1,1+r/2),n=t.slice(1+r/2,1+r);i.unshift(0),n.unshift(0);var s=new V(i),f=new V(n);return new vt(e,e.fromBigInteger(s),e.fromBigInteger(f))},vt.decodeFromHex=function(e,t){t.substr(0,2);var r=t.length-2,i=t.substr(2,r/2),n=t.substr(2+r/2,r/2),s=new V(i,16),f=new V(n,16);return new vt(e,e.fromBigInteger(s),e.fromBigInteger(f))},vt.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),r=e.y.subtract(this.y).divide(t),i=r.square().subtract(this.x).subtract(e.x),n=r.multiply(this.x.subtract(i)).subtract(this.y);return new vt(this.curve,i,n)},vt.prototype.twice2D=function(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var e=this.curve.fromBigInteger(V.valueOf(2)),t=this.curve.fromBigInteger(V.valueOf(3)),r=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),i=r.square().subtract(this.x.multiply(e)),n=r.multiply(this.x.subtract(i)).subtract(this.y);return new vt(this.curve,i,n)},vt.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(e.signum()==0)return this.curve.getInfinity();var t,r=e,i=r.multiply(new V("3")),n=this.negate(),s=this;for(t=i.bitLength()-2;t>0;--t){s=s.twice();var f=i.testBit(t);f!=r.testBit(t)&&(s=s.add2D(f?this:n));}return s},vt.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),r=this.curve.getA
935().toBigInteger(),i=this.curve.getB().toBigInteger(),n=this.curve.getQ(),s=t.multiply(t).mod(n),f=e.multiply(e).multiply(e).add(r.multiply(e)).add(i).mod(n);return s.equals(f)},vt.prototype.toString=function(){return "("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},vt.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),r=this.getY().toBigInteger();if(t.compareTo(V.ONE)<0||t.compareTo(e.subtract(V.ONE))>0)throw new Error("x coordinate out of bounds");if(r.compareTo(V.ONE)<0||r.compareTo(e.subtract(V.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return !0};var vr=(function(){var e=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),t=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),r={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:` 936`,r:"\r",t:" "};function i(f,b,m){return b?r[b]:String.fromCharCode(parseInt(m,16))}var n=new String(""),s=Object.hasOwnProperty;return function(f,b){var m,_,F=f.match(e),k=F[0],U=!1;k==="{"?m={}:k==="["?m=[]:(m=[],U=!0);for(var H=[m],J=1-U,G=F.length;J<G;++J){var X;switch((k=F[J]).charCodeAt(0)){default:(X=H[0])[_||X.length]=+k,_=void 0;break;case 34:if((k=k.substring(1,k.length-1)).indexOf("\\")!==-1&&(k=k.replace(t,i)),X=H[0],!_){if(!(X instanceof Array)){_=k||n;break}_=X.length;}X[_]=k,_=void 0;break;case 91:X=H[0],H.unshift(X[_||X.length]=[]),_=void 0;break;case 93:H.shift();break;case 102:(X=H[0])[_||X.length]=!1,_=void 0;break;case 110:(X=H[0])[_||X.length]=null,_=void 0;break;case 116:(X=H[0])[_||X.length]=!0,_=void 0;break;case 123:X=H[0],H.unshift(X[_||X.length]={}),_=void 0;break;case 125:H.shift();}}if(U){if(H.length!==1)throw new Error;m=m[0];}else if(H.length)throw new Error;return b&&(m=(function d(x,I){var D=x[I];if(D&&(D===void 0?"undefined":l(D))==="object"){var z=null;for(var $ in D)if(s.call(D,$)&&D!==x){var at=d(D,$);at!==void 0?D[$]=at:(z||(z=[]),z.push($));}if(z)for(var et=z.length;--et>=0;)delete D[z[et]];}return b.call(x,I,D)})({"":m},"")),m}})();v!==void 0&&v||(g.KJUR=v={}),v.asn1!==void 0&&v.asn1||(v.asn1={}),v.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if(t.substr(0,1)!="-")t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else {var r=t.substr(1).length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var i="",n=0;n<r;n++)i+="f";t=new V(i,16).xor(e).add(V.ONE).toString(16).replace(/^-/,"");}return t},this.getPEMStringFromHex=function(e,t){return Xt(e,t)},this.newObject=function(e){var t=v.asn1,r=t.ASN1Object,i=t.DERBoolean,n=t.DERInteger,s=t.DERBitString,f=t.DEROctetString,b=t.DERNull,m=t.DERObjectIdentifier,_=t.DEREnumerated,F=t.DERUTF8String,k=t.DERNumericString,U=t.DERPrintableString,H=t.DERTeletexString,J=t.DERIA5String,G=t.DERUTCTime,X=t.DERGeneralizedTime,d=t.DERVisibleString,x=t.DERBMPString,I=t.DERSequence,D=t.DERSet,z=t.DERTaggedObject,$=t.ASN1Util.newObject;if(e instanceof t.ASN1Object)return e;var at=Object.keys(e);if(at.length!=1)throw new Error("key of param shall be only one.");var et=at[0];if(":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+et+":")==-1)throw new Error("undefined key: "+et);if(et=="bool")return new i(e[et]);if(et=="int")return new n(e[et]);if(et=="bitstr")return new s(e[et]);if(et=="octstr")return new f(e[et]);if(et=="null")return new b(e[et]);if(et=="oid")return new m(e[et]);if(et=="enum")return new _(e[et]);if(et=="utf8str")return new F(e[et]);if(et=="numstr")return new k(e[et]);if(et=="prnstr")return new U(e[et]);if(et=="telstr")return new H(e[et]);if(et=="ia5str")return new J(e[et]);if(et=="utctime")return new G(e[et]);if(et=="gentime")return new X(e[et]);if(et=="visstr")return new d(e[et]);if(et=="bmpstr")return new x(e[et]);if(et=="asn1")return new r(e[et]);if(et=="seq"){for(var gt=e[et],ot=[],ct=0;ct<gt.length;ct++){var yt=$(gt[ct]);ot.push(yt);}return new I({array:ot})}if(et=="set"){for(gt=e[et],ot=[],ct=0;ct<gt.length;ct++)yt=$(gt[ct]),ot.push(yt);return new D({array:ot})}if(et=="tag"){var Ft=e[et];if(Object.prototype.toString.call(Ft)==="[object Array]"&&Ft.length==3){var bt=$(Ft[2]);return new z({tag:Ft[0],explicit:Ft[1],obj:bt})}return new z(Ft)}},this.jsonToASN1HEX=function(e){return this.newObject(e).getEncodedHex()};},v.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",r=parseInt(e.substr(0,2),16),i=(t=Math.floor(r/40)+"."+r%40,""),n=2;n<e.length;n+=2){var s=("00000000"+parseInt(e.substr(n,2),16).toString(2)).slice(-8);i+=s.substr(1,7),s.substr(0,1)=="0"&&(t=t+"."+new V(i,2).toString(10),i="");}return t},v.asn1.ASN1Util.oidIntToHex=function(e){var t=function(m){var _=m.toString(16);return _.length==1&&(_="0"+_),_},r=function(m){var _="",F=new V(m,10).toString(2),k=7-F.length%7;k==7&&(k=0);for(var U="",H=0;H<k;H++)U+="0";for(F=U+F,H=0;H<F.length-1;H+=7){var J=F.substr(H,7);H!=F.length-7&&(J="1"+J),_+=t(parseInt(J,2));}return _};if(!e.match(/^[0-9.]+$/))throw "malformed oid string: "+e;var i="",n=e.split("."),s=40*parseInt(n[0])+parseInt(n[1]);i+=t(s),n.splice(0,2);for(var f=0;f<n.length;f++)i+=r(n[f]);return i},v.asn1.ASN1Object=function(e){this.params=null,this.getLengthHexFromValue=function(){if(this.hV===void 0||this.hV==null)throw new Error("this.hV is null or undefined");if(this.hV.length%2==1)throw new Error("value hex must be even length: n=0,v="+this.hV);var t=this.hV.length/2,r=t.toString(16);if(r.length%2==1&&(r="0"+r),t<128)return r;var i=r.length/2;if(i>15)throw "ASN.1 length too long to represent by 8x: n = "+t.toString(16);return (128+i).toString(16)+r},this.getEncodedHex=function(){return (this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return ""},this.setByParam=function(t){this.params=t;},e!=null&&e.tlv!=null&&(this.hTLV=e.tlv,this.isModified=!1);},v.asn1.DERAbstractString=function(e){v.asn1.DERAbstractString.superclass.constructor.call(this),this.get
936String=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=or(this.s).toLowerCase();},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t;},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e=="string"?this.setString(e):e.str!==void 0?this.setString(e.str):e.hex!==void 0&&this.setStringHex(e.hex));},a.lang.extend(v.asn1.DERAbstractString,v.asn1.ASN1Object),v.asn1.DERAbstractTime=function(e){v.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){var r=t.getTime()+6e4*t.getTimezoneOffset();return new Date(r)},this.formatDate=function(t,r,i){var n=this.zeroPadding,s=this.localDateToUTC(t),f=String(s.getFullYear());r=="utc"&&(f=f.substr(2,2));var b=f+n(String(s.getMonth()+1),2)+n(String(s.getDate()),2)+n(String(s.getHours()),2)+n(String(s.getMinutes()),2)+n(String(s.getSeconds()),2);if(i===!0){var m=s.getMilliseconds();if(m!=0){var _=n(String(m),3);b=b+"."+(_=_.replace(/[0]+$/,""));}}return b+"Z"},this.zeroPadding=function(t,r){return t.length>=r?t:new Array(r-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=pe(t);},this.setByDateValue=function(t,r,i,n,s,f){var b=new Date(Date.UTC(t,r-1,i,n,s,f,0));this.setByDate(b);},this.getFreshValueHex=function(){return this.hV};},a.lang.extend(v.asn1.DERAbstractTime,v.asn1.ASN1Object),v.asn1.DERAbstractStructured=function(e){v.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t;},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t);},this.asn1Array=new Array,e!==void 0&&e.array!==void 0&&(this.asn1Array=e.array);},a.lang.extend(v.asn1.DERAbstractStructured,v.asn1.ASN1Object),v.asn1.DERBoolean=function(e){v.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=e==0?"010100":"0101ff";},a.lang.extend(v.asn1.DERBoolean,v.asn1.ASN1Object),v.asn1.DERInteger=function(e){v.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=v.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t);},this.setByInteger=function(t){var r=new V(String(t),10);this.setByBigInteger(r);},this.setValueHex=function(t){this.hV=t;},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(e.bigint!==void 0?this.setByBigInteger(e.bigint):e.int!==void 0?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):e.hex!==void 0&&this.setValueHex(e.hex));},a.lang.extend(v.asn1.DERInteger,v.asn1.ASN1Object),v.asn1.DERBitString=function(e){if(e!==void 0&&e.obj!==void 0){var t=v.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex();}v.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(r){this.hTLV=null,this.isModified=!0,this.hV=r;},this.setUnusedBitsAndHexValue=function(r,i){if(r<0||7<r)throw "unused bits shall be from 0 to 7: u = "+r;var n="0"+r;this.hTLV=null,this.isModified=!0,this.hV=n+i;},this.setByBinaryString=function(r){var i=8-(r=r.replace(/0+$/,"")).length%8;i==8&&(i=0);for(var n=0;n<=i;n++)r+="0";var s="";for(n=0;n<r.length-1;n+=8){var f=r.substr(n,8),b=parseInt(f,2).toString(16);b.length==1&&(b="0"+b),s+=b;}this.hTLV=null,this.isModified=!0,this.hV="0"+i+s;},this.setByBooleanArray=function(r){for(var i="",n=0;n<r.length;n++)r[n]==1?i+="1":i+="0";this.setByBinaryString(i);},this.newFalseArray=function(r){for(var i=new Array(r),n=0;n<r;n++)i[n]=!1;return i},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e=="string"&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):e.hex!==void 0?this.setHexValueIncludingUnusedBits(e.hex):e.bin!==void 0?this.setByBinaryString(e.bin):e.array!==void 0&&this.setByBooleanArray(e.array));},a.lang.extend(v.asn1.DERBitString,v.asn1.ASN1Object),v.asn1.DEROctetString=function(e){if(e!==void 0&&e.obj!==void 0){var t=v.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex();}v.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04";},a.lang.extend(v.asn1.DEROctetString,v.asn1.DERAbstractString),v.asn1.DERNull=function(){v.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500";},a.lang.extend(v.asn1.DERNull,v.asn1.ASN1Object),v.asn1.DERObjectIdentifier=function(e){v.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t;},this.setValueOidString=function(t){var r=(function(n){var s=function(U){var H=U.toString(16);return H.length==1&&(H="0"+H),H},f=function(U){var H="",J=parseInt(U,10).toString(2),G=7-J.length%7;G==7&&(G=0);for(var X="",d=0;d<G;d++)X+="0";for(J=X+J,d=0;d<J.length-1;d+=7){var x=J.substr(d,7);d!=J.length-7&&(x="1"+x),H+=s(parseInt(x,2));}return H};try{if(!n.match(/^[0-9.]+$/))return null;var b="",m=n.split("."),_=40*parseInt(m[0],10)+parseInt(m[1],10);b+=s(_),m.splice(0,2);for(var F=0;F<m.length;F++)b+=f(m[F]);return b}catch{return null}})(t);if(r==null)throw new Error("malformed oid string: "+t);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r;},this.setValueName=function(t){var r=v.asn1.x509.OID.name2oid(t);if(r==="")throw new Error("DERObjectIdentifier oidName undefined: "+t);this.setValueOidString(r);},this.setValueNameOrOid=function(t){t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t);},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(t){typeof t=="string"?this.setValueNameOrOid(t):t.oid!==void 0?this.setValueNameOrOid(t.oid):t.name!==void 0?this.setValueNameOrOid(t.name):t.hex!==void 0&&this.setValueHex(t.hex);},e!==void 0&&this.setByParam(e);},a.lang.extend(v.asn1.DERObjectIdentifier,v.asn1.ASN1Object),v.asn1.DEREnumerated=function(e){v.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=v.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t);},this.setByInteger=function(t){var r=new V(String(t),10);this.setByBigInteger(r);},this.setValueHex=function(t){this.hV=t;},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(e.int!==void 0?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):e.hex!==void 0&&this.setValueHex(e.hex));},a.lang.extend(v.asn1.DEREnumerated,v.asn1.ASN1Object),v.asn1.DERUTF8String=function(e){v.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c";},a.lang.extend(v.asn1.DERUTF8String,v.asn1.DERAbstractString),v.asn1.DERNumericString=function(e){v.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12";},a.lang.extend(v.asn1.DERNumericString,v.asn1.DERAbstractString),v.asn1.DERPrintableString=function(e){v.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13";},a.lang.extend(v.asn1.DERPrintableString,v.asn1.DERAbstractString),v.asn1.DERTeletexString=function(e){v.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14";},a.lang.extend(v.asn1.DERTeletexString,v.asn1.DERAbstractString),v.asn1.DERIA5String=function(e){v.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16";},a.lang.extend(v.asn1.DERIA5String,v.asn1.DERAbstractString),v.asn1.DERVisibleString=function(e){v.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="1a";},a.lang.extend(v.asn1.DERVisibleString,v.asn1.DERAbstractString),v.asn1.DERBMPString=function(e){v.asn1.DERBMPString.superclass.constructor.call(this,e),this.hT="1e";},a.lang.extend(v.asn1.DERBMPString,v.asn1.DERAbstractString),v.asn1.DERUTCTime=function(e){v.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=pe(this.s);},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=pe(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{12}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date));},a.lang.extend(v.asn1.DERUTCTime,v.asn1.DERAbstractTime),v.asn1.DERGeneralizedTime=function(e){v.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=pe(this.s);},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=pe(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{14}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0));},a.lang.extend(v.asn1.DERGeneralizedTime,v.asn1.DERAbstractTime),v.asn1.DERSequence=function(e){v.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var t="",r=0;r<this.asn1Array.length;r++)t+=this.asn1Array[r].getEncodedHex();return this.hV=t,this.hV};},a.lang.extend(v.asn1.DERSequence,v.asn1.DERAbstractStructured),v.asn1.DERSet=function(e){v.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,r=0;r<this.asn1Array.length;r++){var i=this.asn1Array[r];t.push(i.getEncodedHex());}return this.sortFlag==1&&t.sort(),this.hV=t.join(""),this.hV},e!==void 0&&e.sortflag!==void 0&&e.sortflag==0&&(this.sortFlag=!1);},a.lang.extend(v.asn1.DERSet,v.asn1.DERAbstractStructured),v.asn1.DERTaggedObject=function(e){v.asn1.DERTaggedObject.
936superclass.constructor.call(this);var t=v.asn1;this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(r,i,n){this.hT=i,this.isExplicit=r,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,i),this.isModified=!1);},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(r){r.tag!=null&&(this.hT=r.tag),r.explicit!=null&&(this.isExplicit=r.explicit),r.tage!=null&&(this.hT=r.tage,this.isExplicit=!0),r.tagi!=null&&(this.hT=r.tagi,this.isExplicit=!1),r.obj!=null&&(r.obj instanceof t.ASN1Object?(this.asn1Object=r.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)):l(r.obj)=="object"&&(this.asn1Object=t.ASN1Util.newObject(r.obj),this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)));},e!=null&&this.setByParam(e);},a.lang.extend(v.asn1.DERTaggedObject,v.asn1.ASN1Object);var v,Re,ae,it=new function(){};function mr(e){for(var t=new Array,r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}function yr(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}function We(e){for(var t="",r=0;r<e.length;r++){var i=e[r].toString(16);i.length==1&&(i="0"+i),t+=i;}return t}function pe(e){return We(mr(e))}function Je(e){return e=(e=(e=e.replace(/\=/g,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function Ie(e){return e.length%4==2?e+="==":e.length%4==3&&(e+="="),e=(e=e.replace(/-/g,"+")).replace(/_/g,"/")}function Ut(e){return e.length%2==1&&(e="0"+e),Je(tt(e))}function _t(e){return rt(Ie(e))}function or(e){return ze(Ge(e))}function Bt(e){return decodeURIComponent(Ye(e))}function ee(e){for(var t="",r=0;r<e.length-1;r+=2)t+=String.fromCharCode(parseInt(e.substr(r,2),16));return t}function ge(e){for(var t="",r=0;r<e.length;r++)t+=("0"+e.charCodeAt(r).toString(16)).slice(-2);return t}function Sr(e){return tt(e)}function _r(e){var t=Sr(e).replace(/(.{64})/g,`$1\r 937`);return t=t.replace(/\r\n$/,"")}function br(e){return rt(e.replace(/[^0-9A-Za-z\/+=]*/g,""))}function Xt(e,t){return "-----BEGIN "+t+`-----\r 938`+_r(e)+`\r 939-----END `+t+`-----\r 940`}function fe(e,t){if(e.indexOf("-----BEGIN ")==-1)throw "can't find PEM header: "+t;return br(e=t!==void 0?(e=e.replace(new RegExp("^[^]*-----BEGIN "+t+"-----"),"")).replace(new RegExp("-----END "+t+"-----[^]*$"),""):(e=e.replace(/^[^]*-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----[^]*$/,""))}function sr(e){var t,r,i,n,s,f,b,m,_,F,k;if(k=e.match(/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return m=k[1],t=parseInt(m),m.length===2&&(50<=t&&t<100?t=1900+t:0<=t&&t<50&&(t=2e3+t)),r=parseInt(k[2])-1,i=parseInt(k[3]),n=parseInt(k[4]),s=parseInt(k[5]),f=parseInt(k[6]),b=0,(_=k[7])!==""&&(F=(_.substr(1)+"00").substr(0,3),b=parseInt(F)),Date.UTC(t,r,i,n,s,f,b);throw "unsupported zulu format: "+e}function wr(e){return ~~(sr(e)/1e3)}function ze(e){return e.replace(/%/g,"")}function Ye(e){return e.replace(/(..)/g,"%$1")}function Fr(e){var t="malformed IPv6 address";if(!e.match(/^[0-9A-Fa-f:]+$/))throw t;var r=(e=e.toLowerCase()).split(":").length-1;if(r<2)throw t;var i=":".repeat(7-r+2),n=(e=e.replace("::",i)).split(":");if(n.length!=8)throw t;for(var s=0;s<8;s++)n[s]=("0000"+n[s]).slice(-4);return n.join("")}function Er(e){if(!e.match(/^[0-9A-Fa-f]{32}$/))throw "malformed IPv6 address octet";for(var t=(e=e.toLowerCase()).match(/.{1,4}/g),r=0;r<8;r++)t[r]=t[r].replace(/^0+/,""),t[r]==""&&(t[r]="0");var i=(e=":"+t.join(":")+":").match(/:(0:){2,}/g);if(i===null)return e.slice(1,-1);var n="";for(r=0;r<i.length;r++)i[r].length>n.length&&(n=i[r]);return (e=e.replace(n,"::")).slice(1,-1)}function ar(e){var t="malformed hex value";if(!e.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw t;if(e.length!=8)return e.length==32?Er(e):e;try{return parseInt(e.substr(0,2),16)+"."+parseInt(e.substr(2,2),16)+"."+parseInt(e.substr(4,2),16)+"."+parseInt(e.substr(6,2),16)}catch{throw t}}function Ge(e){for(var t=encodeURIComponent(e),r="",i=0;i<t.length;i++)t[i]=="%"?(r+=t.substr(i,3),i+=2):r=r+"%"+pe(t[i]);return r}function Ar(e){return !(e.length%2!=0||!e.match(/^[0-9a-f]+$/)&&!e.match(/^[0-9A-F]+$/))}function ur(e){return e.length%2==1?"0"+e:e.substr(0,1)>"7"?"00"+e:e}it.getLblen=function(e,t){if(e.substr(t+2,1)!="8")return 1;var r=parseInt(e.substr(t+3,1));return r==0?-1:0<r&&r<10?r+1:-2},it.getL=function(e,t){var r=it.getLblen(e,t);return r<1?"":e.substr(t+2,2*r)},it.getVblen=function(e,t){var r;return (r=it.getL(e,t))==""?-1:(r.substr(0,1)==="8"?new V(r.substr(2),16):new V(r,16)).intValue()},it.getVidx=function(e,t){var r=it.getLblen(e,t);return r<0?r:t+2*(r+1)},it.getV=function(e,t){var r=it.getVidx(e,t),i=it.getVblen(e,t);return e.substr(r,2*i)},it.getTLV=function(e,t){return e.substr(t,2)+it.getL(e,t)+it.getV(e,t)},it.getTLVblen=function(e,t){return 2+2*it.getLblen(e,t)+2*it.getVblen(e,t)},it.getNextSiblingIdx=function(e,t){return it.getVidx(e,t)+2*it.getVblen(e,t)},it.getChildIdx=function(e,t){var r,i,n,s=it,f=[];r=s.getVidx(e,t),i=2*s.getVblen(e,t),e.substr(t,2)=="03"&&(r+=2,i-=2),n=0;for(var b=r;n<=i;){var m=s.getTLVblen(e,b);if((n+=m)<=i&&f.push(b),b+=m,n>=i)break}return f},it.getNthChildIdx=function(e,t,r){return it.getChildIdx(e,t)[r]},it.getIdxbyList=function(e,t,r,i){var n,s,f=it;return r.length==0?i!==void 0&&e.substr(t,2)!==i?-1:t:(n=r.shift())>=(s=f.getChildIdx(e,t)).length?-1:f.getIdxbyList(e,s[n],r,i)},it.getIdxbyListEx=function(e,t,r,i){var n,s,f=it;if(r.length==0)return i!==void 0&&e.substr(t,2)!==i?-1:t;n=r.shift(),s=f.getChildIdx(e,t);for(var b=0,m=0;m<s.length;m++){var _=e.substr(s[m],2);if(typeof n=="number"&&!f.isContextTag(_)&&b==n||typeof n=="string"&&f.isContextTag(_,n))return f.getIdxbyListEx(e,s[m],r,i);f.isContextTag(_)||b++;}return -1},it.getTLVbyList=function(e,t,r,i){var n=it,s=n.getIdxbyList(e,t,r,i
940);return s==-1||s>=e.length?null:n.getTLV(e,s)},it.getTLVbyListEx=function(e,t,r,i){var n=it,s=n.getIdxbyListEx(e,t,r,i);return s==-1?null:n.getTLV(e,s)},it.getVbyList=function(e,t,r,i,n){var s,f,b=it;return (s=b.getIdxbyList(e,t,r,i))==-1||s>=e.length?null:(f=b.getV(e,s),n===!0&&(f=f.substr(2)),f)},it.getVbyListEx=function(e,t,r,i,n){var s,f,b=it;return (s=b.getIdxbyListEx(e,t,r,i))==-1?null:(f=b.getV(e,s),e.substr(s,2)=="03"&&n!==!1&&(f=f.substr(2)),f)},it.getInt=function(e,t,r){r==null&&(r=-1);try{var i=e.substr(t,2);if(i!="02"&&i!="03")return r;var n=it.getV(e,t);return i=="02"?parseInt(n,16):(function(f){try{var b=f.substr(0,2);if(b=="00")return parseInt(f.substr(2),16);var m=parseInt(b,16),_=f.substr(2),F=parseInt(_,16).toString(2);return F=="0"&&(F="00000000"),F=F.slice(0,0-m),parseInt(F,2)}catch{return -1}})(n)}catch{return r}},it.getOID=function(e,t,r){r==null&&(r=null);try{return e.substr(t,2)!="06"?r:(function(n){if(!Ar(n))return null;try{var s=[],f=n.substr(0,2),b=parseInt(f,16);s[0]=new String(Math.floor(b/40)),s[1]=new String(b%40);for(var m=n.substr(2),_=[],F=0;F<m.length/2;F++)_.push(parseInt(m.substr(2*F,2),16));var k=[],U="";for(F=0;F<_.length;F++)128&_[F]?U+=xr((127&_[F]).toString(2),7):(U+=xr((127&_[F]).toString(2),7),k.push(new String(parseInt(U,2))),U="");var H=s.join(".");return k.length>0&&(H=H+"."+k.join(".")),H}catch{return null}})(it.getV(e,t))}catch{return r}},it.getOIDName=function(e,t,r){r==null&&(r=null);try{var i=it.getOID(e,t,r);if(i==r)return r;var n=v.asn1.x509.OID.oid2name(i);return n==""?i:n}catch{return r}},it.getString=function(e,t,r){r==null&&(r=null);try{return ee(it.getV(e,t))}catch{return r}},it.hextooidstr=function(e){var t=function(U,H){return U.length>=H?U:new Array(H-U.length+1).join("0")+U},r=[],i=e.substr(0,2),n=parseInt(i,16);r[0]=new String(Math.floor(n/40)),r[1]=new String(n%40);for(var s=e.substr(2),f=[],b=0;b<s.length/2;b++)f.push(parseInt(s.substr(2*b,2),16));var m=[],_="";for(b=0;b<f.length;b++)128&f[b]?_+=t((127&f[b]).toString(2),7):(_+=t((127&f[b]).toString(2),7),m.push(new String(parseInt(_,2))),_="");var F=r.join(".");return m.length>0&&(F=F+"."+m.join(".")),F},it.dump=function(e,t,r,i){var n=it,s=n.getV,f=n.dump,b=n.getChildIdx,m=e;e instanceof v.asn1.ASN1Object&&(m=e.getEncodedHex());var _=function(et,gt){return et.length<=2*gt?et:et.substr(0,gt)+"..(total "+et.length/2+"bytes).."+et.substr(et.length-gt,gt)};t===void 0&&(t={ommit_long_octet:32}),r===void 0&&(r=0),i===void 0&&(i="");var F,k=t.ommit_long_octet;if((F=m.substr(r,2))=="01")return (U=s(m,r))=="00"?i+`BOOLEAN FALSE 941`:i+`BOOLEAN TRUE 942`;if(F=="02")return i+"INTEGER "+_(U=s(m,r),k)+` 943`;if(F=="03"){var U=s(m,r);if(n.isASN1HEX(U.substr(2))){var H=i+`BITSTRING, encapsulates 944`;return H+=f(U.substr(2),t,0,i+" ")}return i+"BITSTRING "+_(U,k)+` 945`}if(F=="04")return U=s(m,r),n.isASN1HEX(U)?(H=i+`OCTETSTRING, encapsulates 946`,H+=f(U,t,0,i+" ")):i+"OCTETSTRING "+_(U,k)+` 947`;if(F=="05")return i+`NULL 948`;if(F=="06"){var J=s(m,r),G=v.asn1.ASN1Util.oidHexToInt(J),X=v.asn1.x509.OID.oid2name(G),d=G.replace(/\./g," ");return X!=""?i+"ObjectIdentifier "+X+" ("+d+`) 949`:i+"ObjectIdentifier ("+d+`) 950`}if(F=="0a")return i+"ENUMERATED "+parseInt(s(m,r))+` 951`;if(F=="0c")return i+"UTF8String '"+Bt(s(m,r))+`' 952`;if(F=="13")return i+"PrintableString '"+Bt(s(m,r))+`' 953`;if(F=="14")return i+"TeletexString '"+Bt(s(m,r))+`' 954`;if(F=="16")return i+"IA5String '"+Bt(s(m,r))+`' 955`;if(F=="17")return i+"UTCTime "+Bt(s(m,r))+` 956`;if(F=="18")return i+"GeneralizedTime "+Bt(s(m,r))+` 957`;if(F=="1a")return i+"VisualString '"+Bt(s(m,r))+`' 958`;if(F=="1e")return i+"BMPString '"+Bt(s(m,r))+`' 959`;if(F=="30"){if(m.substr(r,4)=="3000")return i+`SEQUENCE {} 960`;H=i+`SEQUENCE 961`;var x=t;if(((z=b(m,r)).length==2||z.length==3)&&m.substr(z[0],2)=="06"&&m.substr(z[z.length-1],2)=="04"){X=n.oidname(s(m,z[0]));var I=JSON.parse(JSON.stringify(t));I.x509ExtName=X,x=I;}for(var D=0;D<z.length;D++)H+=f(m,x,z[D],i+" ");return H}if(F=="31"){H=i+`SET 962`;var z=b(m,r);for(D=0;D<z.length;D++)H+=f(m,t,z[D],i+" ");return H}if((128&(F=parseInt(F,16)))!=0){var $=31&F;if((32&F)!=0){for(H=i+"["+$+`] 963`,z=b(m,r),D=0;D<z.length;D++)H+=f(m,t,z[D],i+" ");return H}if(U=s(m,r),it.isASN1HEX(U)){var H=i+"["+$+`] 964`;return H+=f(U,t,0,i+" ")}return (U.substr(0,8)=="68747470"||t.x509ExtName==="subjectAltName"&&$==2)&&(U=Bt(U)),H=i+"["+$+"] "+U+` 965`}return i+"UNKNOWN("+F+") "+s(m,r)+` 966`},it.isContextTag=function(e,t){var r,i;e=e.toLowerCase();try{r=parseInt(e,16);}catch{return -1}if(t===void 0)return (192&r)==128;try{return t.match(/^\[[0-9]+\]$/)!=null&&!((i=parseInt(t.substr(1,t.length-1),10))>31)&&(192&r)==128&&(31&r)==i}catch{return !1}},it.isASN1HEX=function(e){var t=it;if(e.length%2==1)return !1;var r=t.getVblen(e,0),i=e.substr(0,2),n=t.getL(e,0);return e.length-i.length-n.length==2*r},it.checkStrictDER=function(e,t,r,i,n){var s=it;if(r===void 0){if(typeof e!="string")throw new Error("not hex string");if(e=e.toLowerCase(),!v.lang.String.isHex(e))throw new Error("not hex string");r=e.length,n=(i=e.length/2)<128?1:Math.ceil(i.toString(16))+1;}if(s.getL(e,t).length>2*n)throw new Error("L of TLV too long: idx="+t);var f=s.getVblen(e,t);if(f>i)throw new Error("value of L too long than hex: idx="+t);var b=s.getTLV(e,t),m=b.length-2-s.getL(e,t).length;if(m!==2*f)throw new Error("V string length and L's value not the same:"+m+"/"+2*f);if(t===0&&e.length!=b.length)throw new Error("total length and TLV length unmatch:"+e.length+"!="+b.length);var _=e.substr(t,2);if(_==="02"){var F=s.getVidx(e,t);if(e.substr(F,2)=="00"&&e.charCodeAt(F+2)<56)throw new Error("not least zeros for DER INTEGER")}if(32&parseInt(_,16)){for(var k=s.getVblen(e,t),U=0,H=s.getChildIdx(e,t),J=0;J<H.length;J++)U+=s.getTLV(e,H[J]).length,s.checkStrictDER(e,H[J],r,i,n);if(2*k!=U)throw new Error("sum of children's TLV length and L unmatch: "+2*k+"!="+U)}},it.oidname=function(e){var t=v.asn1;v.lang.String.isHex(e)&&(e=t.ASN1Util.oidHexToInt(e));var r=t.x509.OID.oid2name(e);return r===""&&(r=e),r},v!==void 0&&v||(g.KJUR=v={}),v.lang!==void 0&&v.lang||(v.lang={}),v.lang.String=function(){},typeof S=="function"?(g.utf8tob64u=Re=function(t){return Je(S.from(t,"utf8").toString("base64"))},g.b64utoutf8=ae=function(t){return S.from(Ie(t),"base64").toString("utf8")}):(g.utf8tob64u=Re=function(t){return Ut(ze(Ge(t)))},g.b64utoutf8=ae=function(t){return decodeURIComponent(Ye(_t(t)))}),v.lang.String.isInteger=function(e){return !!e.match(/^[0-9]+$/)||!!e.match(/^-[0-9]+$/)},v.lang.String.isHex=function(e){return Ar(e)},v.lang.String.isBase64=function(e){return !(!(e=e.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||e.length%4!=0)},v.lang.String.isBase64URL=function(e){return !e.match(/[+/=]/)&&(e=Ie(e),v.lang.String.isBase64(e))},v.lang.String.isIntegerArray=function(e){return !!(e=e.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},v.lang.String.isPrintable=function(e){return e.match(/^[0-9A-Za-z '()+,-./:=?]*$/)!==null},v.lang.String.isIA5=function(e){return e.match(/^[\x20-\x21\x23-\x7f]*$/)!==null},v.lang.String.isMail=function(e){return e.match(/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}\.[A-Za-z0-9]{1,}$/)!==null};var xr=function(t,r,i){return i==null&&(i="0"),t.length>=r?t:new Array(r-t.length+1).join(i)+t};v!==void 0&&v||(g.KJUR=v={}),v.crypto!==void 0&&v.crypto||(v.crypto={}),v.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:M.algo.MD5,sha1:M.algo.SHA1,sha224:M.algo.SHA224,sha256:M.algo.SHA256,sha384:M.algo.SHA384,sha512:M.algo.SHA512,ripemd160:M.algo.RIPEMD160},this.getDigestInfoHex=function(e,t){if(this.DIGESTINFOHEAD[t]===void 0)throw "alg not supported in Util.DIGESTINFOHEAD: "+t;return this.DIGESTINFOHEAD[t]+e},this.getPaddedDigestInfoHex=function(e,t,r){var i=this.getDigestInfoHex(e,t),n=r/4;if(i.length+22>n)throw "key is too short for SigAlg: keylen="+r+","+t;
vendor: 1,244 bytes, line 966
966for(var s="0001",f="00"+i,b="",m=n-s.length-f.length,_=0;_<m;_+=2)b+="ff";return s+b+f},this.hashString=function(e,t){return new v.crypto.MessageDigest({alg:t}).digestString(e)},this.hashHex=function(e,t){return new v.crypto.MessageDigest({alg:t}).digestHex(e)},this.sha1=function(e){return this.hashString(e,"sha1")},this.sha256=function(e){return this.hashString(e,"sha256")},this.sha256Hex=function(e){return this.hashHex(e,"sha256")},this.sha512=function(e){return this.hashString(e,"sha512")},this.sha512Hex=function(e){return this.hashHex(e,"sha512")},this.isKey=function(e){return e instanceof ht||e instanceof v.crypto.DSA||e instanceof v.crypto.ECDSA};},v.crypto.Util.md5=function(e){return new v.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(e)},v.crypto.Util.ripemd160=function(e){return new v.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(e)},v.crypto.Util.SECURERANDOMGEN=new jt,v.crypto.Util.getRandomHexOfNbytes=function(e){var t=new Array(e);return v.crypto.Util.SECURERANDOMGEN.nextBytes(t),We(t)},v.crypto.Util.getRandomBigIntegerOfNbytes=function(e){return new V(v.crypto.Util.getRandomHexOfNbytes(e),16)},v.crypto.Util.getRandomHexOfNbits=function(e){var t=e%8,r=new Array((e-t)/8+1);
966return v.crypto.Util.SECURERANDOMGEN.nextBytes(r),r[0]=(255<<t&255^255)&r[0],We(r)},v.crypto.Util.getRandomBigIntegerOfNbits=function(e){return new V(v.crypto.Util.getRandomHexOfNbits(e),16)},v.crypto.Util.getRandomBigIntegerZeroToMax=function(e){for(var t=e.bitLength();;){var r=v.crypto.Util.getRandomBigIntegerOfNbits(t);if(e.compareTo(r)!=-1)return r}},v.crypto.Util.getRandomBigIntegerMinToMax=function(e,t){var r=e.compareTo(t);if(r==1)throw "biMin is greater than biMax";if(r==0)return e;var i=t.subtract(e);return v.crypto.Util.getRandomBigIntegerZeroToMax(i).add(e)},v.crypto.MessageDigest=function(e){this.setAlgAndProvider=function(t,r){if((t=v.crypto.MessageDigest.getCanonicalAlgName(t))!==null&&r===void 0&&(r=v.crypto.Util.DEFAULTPROVIDER[t]),":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(t)!=-1&&r=="cryptojs"){try{this.md=v.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[t].create();}catch(i){throw "setAlgAndProvider hash alg set fail alg="+t+"/"+i}this.updateString=function(i){this.md.update(i);},this.updateHex=function(i){var n=M.enc.Hex.parse(i);this.md.update(n);},this.digest=function(){return this.md.finalize().toString(M.enc.Hex)},this.digestString=function(i){return this.updateString(i),this.digest()},this.digestHex=function(i){return this.updateHex(i),this.digest()};}if(":sha256:".indexOf(t)!=-1&&r=="sjcl"){try{this.md=new sjcl.hash.sha256;}catch(i){throw "setAlgAndProvider hash alg set fail alg="+t+"/"+i}this.updateString=function(i){this.md.update(i);},this.updateHex=function(i){var n=sjcl.codec.hex.toBits(i);this.md.update(n);},this.digest=function(){var i=this.md.finalize();return sjcl.codec.hex.fromBits(i)},this.digestString=function(i){return this.updateString(i),this.digest()},this.digestHex=function(i){return this.updateHex(i),this.digest()};}},this.updateString=function(t){throw "updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.updateHex=function(t){throw "updateHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digest=function(){throw "digest() not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestString=function(t){throw "digestString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestHex=function(t){throw "digestHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},e!==void 0&&e.alg!==void 0&&(this.algName=e.alg,e.prov===void 0&&(this.provName=v.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName));},v.crypto.MessageDigest.getCanonicalAlgName=function(e){return typeof e=="string"&&(e=(e=e.toLowerCase()).replace(/-/,"")),e},v.crypto.MessageDigest.getHashLength=function(e){var t=v.crypto.MessageDigest,r=t.getCanonicalAlgName(e);if(t.HASHLENGTH[r]===void 0)throw "not supported algorithm: "+e;return t.HASHLENGTH[r]},v.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},v.crypto.Mac=function(e){this.setAlgAndProvider=function(t,r){if((t=t.toLowerCase())==null&&(t="hmacsha1"),(t=t.toLowerCase()).substr(0,4)!="hmac")throw "setAlgAndProvider unsupported HMAC alg: "+t;r===void 0&&(r=v.crypto.Util.DEFAULTPROVIDER[t]),this.algProv=t+"/"+r;var i=t.substr(4);if(":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(i)!=-1&&r=="cryptojs"){try{var n=v.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[i];this.mac=M.algo.HMAC.create(n,this.pass);}catch(s){throw "setAlgAndProvider hash alg set fail hashAlg="+i+"/"+s}this.updateString=function(s){this.mac.update(s);},this.updateHex=function(s){var f=M.enc.Hex.parse(s);this.mac.update(f);},this.doFinal=function(){return this.mac.finalize().toString(M.enc.Hex)},this.doFinalString=function(s){return this.updateString(s),this.doFinal()},this.doFinalHex=function(s){return this.updateHex(s),this.doFinal()};}},this.updateString=function(t){throw "updateString(str) not supported for this alg/prov: "+this.algProv},this.updateHex=function(t){throw "updateHex(hex) not supported for this alg/prov: "+this.algProv},this.doFinal=function(){throw "digest() not supported for this alg/prov: "+this.algProv},this.doFinalString=function(t){throw "digestString(str) not supported for this alg/prov: "+this.algProv},this.doFinalHex=function(t){throw "digestHex(hex) not supported for this alg/prov: "+this.algProv},this.setPassword=function(t){if(typeof t=="string"){var r=t;return t.length%2!=1&&t.match(/^[0-9A-Fa-f]+$/)||(r=ge(t)),void(this.pass=M.enc.Hex.parse(r))}if((t===void 0?"undefined":l(t))!="object")throw "KJUR.crypto.Mac unsupported password type: "+t;if(r=null,t.hex!==void 0){if(t.hex.length%2!=0||!t.hex.match(/^[0-9A-Fa-f]+$/))throw "Mac: wrong hex password: "+t.hex;r=t.hex;}if(t.utf8!==void 0&&(r=or(t.utf8)),t.rstr!==void 0&&(r=ge(t.rstr)),t.b64!==void 0&&(r=rt(t.b64)),t.b64u!==void 0&&(r=_t(t.b64u)),r==null)throw "KJUR.crypto.Mac unsupported password type: "+t;this.pass=M.enc.Hex.parse(r);},e!==void 0&&(e.pass!==void 0&&this.setPassword(e.pass),e.alg!==void 0&&(this.algName=e.alg,e.prov===void 0&&(this.provName=v.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)));},v.crypto.Signature=function(e){var t=null;if(this._setAlgNames=function(){var r=this.algName.match(/^(.+)with(.+)$/);r&&(this.mdAlgName=r[1].toLowerCase(),this.pubkeyAlgName=r[2].toLowerCase(),this.pubkeyAlgName=="rsaandmgf1"&&this.mdAlgName=="sha"&&(this.mdAlgName="sha1"));},this._zeroPaddingOfSignature=function(r,i){for(var n="",s=i/4-r.length,f=0;f<s;f++)n+="0";return n+r},this.setAlgAndProvider=function(r,i){if(this._setAlgNames(),i!="cryptojs/jsrsa")throw new Error("provider not supported: "+i);if(":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)!=-1){try{this.md=new v.crypto.MessageDigest({alg:this.mdAlgName});}catch(n){throw new Error("setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+n)}this.init=function(n,s){var f=null;try{f=s===void 0?Rt.getKey(n):Rt.getKey(n,s);}catch(b){throw "init failed:"+b}if(f.isPrivate===!0)this.prvKey=f,this.state="SIGN";else {if(f.isPublic!==!0)throw "init failed.:"+f;this.pubKey=f,this.state="VERIFY";}},this.updateString=function(n){this.md.updateString(n);},this.updateHex=function(n){this.md.updateHex(n);},this.sign=function(){if(this.sHashHex=this.md.digest(),this.prvKey===void 0&&this.ecprvhex!==void 0&&this.eccurvename!==void 0&&v.crypto.ECDSA!==void 0&&(this.prvKey=new v.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof ht&&this.pubkeyAlgName==="rsaandmgf1")this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof ht&&this.pubkeyAlgName==="rsa")this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof v.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else {if(!(this.prvKey instanceof v.crypto.DSA))throw "Signature: unsupported private key alg: "+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);}return this.hSign},this.signString=function(n){return this.updateString(n),this.sign()},this.signHex=function(n){return this.updateHex(n),this.sign()},this.verify=function(n){if(this.sHashHex=this.md.digest(),this.pubKey===void 0&&this.ecpubhex!==void 0&&this.eccurvename!==void 0&&v.crypto.ECDSA!==void 0&&(this.pubKey=new v.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof ht&&this.pubkeyAlgName==="rsaandmgf1")return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,n,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof ht&&this.pubkeyAlgName==="rsa")return this.pubKey.verifyWithMessageHash(this.sHashHex,n);if(v.crypto.ECDSA!==void 0&&this.pubKey instanceof v.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,n);if(v.crypto.DSA!==void 0&&this.pubKey instanceof v.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,n);throw "Signature: unsupported public key alg: "+this.pubkeyAlgName};}},this.init=function(r,i){throw "init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(r){throw "updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(r){throw "updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw "sign() not supported for this alg:prov="+this.algProvName},this.signString=function(r){throw "digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(r){throw "digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(r){throw "verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=e,e!==void 0&&(e.alg!==void 0&&(this.algName=e.alg,e.prov===void 0?this.provName=v.crypto.Util.DEFAULTPROVIDER[this.algName]:this.provName=e.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),e.psssaltlen!==void 0&&(this.pssSaltLen=e.psssaltlen),e.prvkeypem!==void 0)){if(e.prvkeypas!==void 0)throw "both prvkeypem and prvkeypas parameters not supported";try{t=Rt.getKey(e.prvkeypem),this.init(t);}catch(r){throw "fatal error to load pem private key: "+r}}},v.crypto.Cipher=function(e){},v.crypto.Cipher.encrypt=function(e,t,r){if(t instanceof ht&&t.isPublic){var i=v.crypto.Cipher.getAlgByKeyAndName(t,r);
966if(i==="RSA")return t.encrypt(e);if(i==="RSAOAEP")return t.encryptOAEP(e,"sha1");var n=i.match(/^RSAOAEP(\d+)$/);if(n!==null)return t.encryptOAEP(e,"sha"+n[1]);throw "Cipher.encrypt: unsupported algorithm for RSAKey: "+r}throw "Cipher.encrypt: unsupported key or algorithm"},v.crypto.Cipher.decrypt=function(e,t,r){if(t instanceof ht&&t.isPrivate){var i=v.crypto.Cipher.getAlgByKeyAndName(t,r);if(i==="RSA")return t.decrypt(e);if(i==="RSAOAEP")return t.decryptOAEP(e,"sha1");var n=i.match(/^RSAOAEP(\d+)$/);if(n!==null)return t.decryptOAEP(e,"sha"+n[1]);throw "Cipher.decrypt: unsupported algorithm for RSAKey: "+r}throw "Cipher.decrypt: unsupported key or algorithm"},v.crypto.Cipher.getAlgByKeyAndName=function(e,t){if(e instanceof ht){if(":RSA:RSAOAEP:RSAOAEP224:RSAOAEP256:RSAOAEP384:RSAOAEP512:".indexOf(t)!=-1)return t;if(t==null)return "RSA";throw "getAlgByKeyAndName: not supported algorithm name for RSAKey: "+t}throw "getAlgByKeyAndName: not supported algorithm name: "+t},v.crypto.OID=new function(){this.oidhex2name={"2a864886f70d010101":"rsaEncryption","2a8648ce3d0201":"ecPublicKey","2a8648ce380401":"dsa","2a8648ce3d030107":"secp256r1","2b8104001f":"secp192k1","2b81040021":"secp224r1","2b8104000a":"secp256k1","2b81040023":"secp521r1","2b81040022":"secp384r1","2a8648ce380403":"SHA1withDSA","608648016503040301":"SHA224withDSA","608648016503040302":"SHA256withDSA"};},v!==void 0&&v||(g.KJUR=v={}),v.crypto!==void 0&&v.crypto||(v.crypto={}),v.crypto.ECDSA=function(e){var t=Error,r=V,i=vt,n=v.crypto.ECDSA,s=v.crypto.ECParameterDB,f=n.getName,b=it,m=b.getVbyListEx,_=b.isASN1HEX,F=new jt;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(k){return new r(k.bitLength(),F).mod(k.subtract(r.ONE)).add(r.ONE)},this.setNamedCurve=function(k){this.ecparams=s.getByName(k),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=k;},this.setPrivateKeyHex=function(k){this.isPrivate=!0,this.prvKeyHex=k;},this.setPublicKeyHex=function(k){this.isPublic=!0,this.pubKeyHex=k;},this.getPublicKeyXYHex=function(){var k=this.pubKeyHex;if(k.substr(0,2)!=="04")throw "this method supports uncompressed format(04) only";var U=this.ecparams.keylen/4;if(k.length!==2+2*U)throw "malformed public key hex length";var H={};return H.x=k.substr(2,U),H.y=k.substr(2+U),H},this.getShortNISTPCurveName=function(){var k=this.curveName;return k==="secp256r1"||k==="NIST P-256"||k==="P-256"||k==="prime256v1"?"P-256":k==="secp384r1"||k==="NIST P-384"||k==="P-384"?"P-384":null},this.generateKeyPairHex=function(){var k=this.ecparams.n,U=this.getBigRandom(k),H=this.ecparams.G.multiply(U),J=H.getX().toBigInteger(),G=H.getY().toBigInteger(),X=this.ecparams.keylen/4,d=("0000000000"+U.toString(16)).slice(-X),x="04"+("0000000000"+J.toString(16)).slice(-X)+("0000000000"+G.toString(16)).slice(-X);return this.setPrivateKeyHex(d),this.setPublicKeyHex(x),{ecprvhex:d,ecpubhex:x}},this.signWithMessageHash=function(k){return this.signHex(k,this.prvKeyHex)},this.signHex=function(k,U){var H=new r(U,16),J=this.ecparams.n,G=new r(k.substring(0,this.ecparams.keylen/4),16);do var X=this.getBigRandom(J),d=this.ecparams.G.multiply(X).getX().toBigInteger().mod(J);while(d.compareTo(r.ZERO)<=0);var x=X.modInverse(J).multiply(G.add(H.multiply(d))).mod(J);return n.biRSSigToASN1Sig(d,x)},this.sign=function(k,U){var H=U,J=this.ecparams.n,G=r.fromByteArrayUnsigned(k);do var X=this.getBigRandom(J),d=this.ecparams.G.multiply(X).getX().toBigInteger().mod(J);while(d.compareTo(V.ZERO)<=0);var x=X.modInverse(J).multiply(G.add(H.multiply(d))).mod(J);return this.serializeSig(d,x)},this.verifyWithMessageHash=function(k,U){return this.verifyHex(k,U,this.pubKeyHex)},this.verifyHex=function(k,U,H){try{var J,G,X=n.parseSigHex(U);J=X.r,G=X.s;var d=i.decodeFromHex(this.ecparams.curve,H),x=new r(k.substring(0,this.ecparams.keylen/4),16);return this.verifyRaw(x,J,G,d)}catch{return !1}},this.verify=function(k,U,H){var J,G,X;if(Bitcoin.Util.isArray(U)){var d=this.parseSig(U);J=d.r,G=d.s;}else {if((U===void 0?"undefined":l(U))!=="object"||!U.r||!U.s)throw "Invalid value for signature";J=U.r,G=U.s;}if(H instanceof vt)X=H;else {if(!Bitcoin.Util.isArray(H))throw "Invalid format for pubkey value, must be byte array or ECPointFp";X=i.decodeFrom(this.ecparams.curve,H);}var x=r.fromByteArrayUnsigned(k);return this.verifyRaw(x,J,G,X)},this.verifyRaw=function(k,U,H,J){var G=this.ecparams.n,X=this.ecparams.G;if(U.compareTo(r.ONE)<0||U.compareTo(G)>=0||H.compareTo(r.ONE)<0||H.compareTo(G)>=0)return !1;var d=H.modInverse(G),x=k.multiply(d).mod(G),I=U.multiply(d).mod(G);return X.multiply(x).add(J.multiply(I)).getX().toBigInteger().mod(G).equals(U)},this.serializeSig=function(k,U){var H=k.toByteArraySigned(),J=U.toByteArraySigned(),G=[];return G.push(2),G.push(H.length),(G=G.concat(H)).push(2),G.push(J.length),(G=G.concat(J)).unshift(G.length),G.unshift(48),G},this.parseSig=function(k){var U;if(k[0]!=48)throw new Error("Signature not a valid DERSequence");if(k[U=2]!=2)throw new Error("First element in signature must be a DERInteger");var H=k.slice(U+2,U+2+k[U+1]);if(k[U+=2+k[U+1]]!=2)throw new Error("Second element in signature must be a DERInteger");var J=k.slice(U+2,U+2+k[U+1]);return U+=2+k[U+1],{r:r.fromByteArrayUnsigned(H),s:r.fromByteArrayUnsigned(J)}},this.parseSigCompact=function(k){if(k.length!==65)throw "Signature has the wrong length";var U=k[0]-27;if(U<0||U>7)throw "Invalid signature type";var H=this.ecparams.n;return {r:r.fromByteArrayUnsigned(k.slice(1,33)).mod(H),s:r.fromByteArrayUnsigned(k.slice(33,65)).mod(H),i:U}},this.readPKCS5PrvKeyHex=function(k){if(_(k)===!1)throw new Error("not ASN.1 hex string");var U,H,J;
966try{U=m(k,0,["[0]",0],"06"),H=m(k,0,[1],"04");try{J=m(k,0,["[1]",0],"03");}catch{}}catch{throw new Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=f(U),this.curveName===void 0)throw "unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(J),this.setPrivateKeyHex(H),this.isPublic=!1;},this.readPKCS8PrvKeyHex=function(k){if(_(k)===!1)throw new t("not ASN.1 hex string");var U,H,J;try{m(k,0,[1,0],"06"),U=m(k,0,[1,1],"06"),H=m(k,0,[2,0,1],"04");try{J=m(k,0,[2,0,"[1]",0],"03");}catch{}}catch{throw new t("malformed PKCS#8 plain ECC private key")}if(this.curveName=f(U),this.curveName===void 0)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(J),this.setPrivateKeyHex(H),this.isPublic=!1;},this.readPKCS8PubKeyHex=function(k){if(_(k)===!1)throw new t("not ASN.1 hex string");var U,H;try{m(k,0,[0,0],"06"),U=m(k,0,[0,1],"06"),H=m(k,0,[1],"03");}catch{throw new t("malformed PKCS#8 ECC public key")}if(this.curveName=f(U),this.curveName===null)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(H);},this.readCertPubKeyHex=function(k,U){if(_(k)===!1)throw new t("not ASN.1 hex string");var H,J;try{H=m(k,0,[0,5,0,1],"06"),J=m(k,0,[0,5,1],"03");}catch{throw new t("malformed X.509 certificate ECC public key")}if(this.curveName=f(H),this.curveName===null)throw new t("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(J);},e!==void 0&&e.curve!==void 0&&(this.curveName=e.curve),this.curveName===void 0&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),e!==void 0&&(e.prv!==void 0&&this.setPrivateKeyHex(e.prv),e.pub!==void 0&&this.setPublicKeyHex(e.pub));},v.crypto.ECDSA.parseSigHex=function(e){var t=v.crypto.ECDSA.parseSigHexInHexRS(e);return {r:new V(t.r,16),s:new V(t.s,16)}},v.crypto.ECDSA.parseSigHexInHexRS=function(e){var t=it,r=t.getChildIdx,i=t.getV;if(t.checkStrictDER(e,0),e.substr(0,2)!="30")throw new Error("signature is not a ASN.1 sequence");var n=r(e,0);if(n.length!=2)throw new Error("signature shall have two elements");var s=n[0],f=n[1];if(e.substr(s,2)!="02")throw new Error("1st item not ASN.1 integer");if(e.substr(f,2)!="02")throw new Error("2nd item not ASN.1 integer");return {r:i(e,s),s:i(e,f)}},v.crypto.ECDSA.asn1SigToConcatSig=function(e){var t=v.crypto.ECDSA.parseSigHexInHexRS(e),r=t.r,i=t.s;if(r.substr(0,2)=="00"&&r.length%32==2&&(r=r.substr(2)),i.substr(0,2)=="00"&&i.length%32==2&&(i=i.substr(2)),r.length%32==30&&(r="00"+r),i.length%32==30&&(i="00"+i),r.length%32!=0)throw "unknown ECDSA sig r length error";if(i.length%32!=0)throw "unknown ECDSA sig s length error";return r+i},v.crypto.ECDSA.concatSigToASN1Sig=function(e){if(e.length/2*8%128!=0)throw "unknown ECDSA concatinated r-s sig length error";var t=e.substr(0,e.length/2),r=e.substr(e.length/2);return v.crypto.ECDSA.hexRSSigToASN1Sig(t,r)},v.crypto.ECDSA.hexRSSigToASN1Sig=function(e,t){var r=new V(e,16),i=new V(t,16);return v.crypto.ECDSA.biRSSigToASN1Sig(r,i)},v.crypto.ECDSA.biRSSigToASN1Sig=function(e,t){var r=v.asn1,i=new r.DERInteger({bigint:e}),n=new r.DERInteger({bigint:t});return new r.DERSequence({array:[i,n]}).getEncodedHex()},v.crypto.ECDSA.getName=function(e){return e==="2b8104001f"?"secp192k1":e==="2a8648ce3d030107"?"secp256r1":e==="2b8104000a"?"secp256k1":e==="2b81040021"?"secp224r1":e==="2b81040022"?"secp384r1":"|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(e)!==-1?"secp256r1":"|secp256k1|".indexOf(e)!==-1?"secp256k1":"|secp224r1|NIST P-224|P-224|".indexOf(e)!==-1?"secp224r1":"|secp384r1|NIST P-384|P-384|".indexOf(e)!==-1?"secp384r1":null},v!==void 0&&v||(g.KJUR=v={}),v.crypto!==void 0&&v.crypto||(v.crypto={}),v.crypto.ECParameterDB=new function(){var e={},t={};function r(i){return new V(i,16)}this.getByName=function(i){var n=i;if(t[n]!==void 0&&(n=t[i]),e[n]!==void 0)return e[n];throw "unregistered EC curve name: "+n},this.regist=function(i,n,s,f,b,m,_,F,k,U,H,J){e[i]={};var G=r(s),X=r(f),d=r(b),x=r(m),I=r(_),D=new _e(G,X,d),z=D.decodePointHex("04"+F+k);e[i].name=i,e[i].keylen=n,e[i].curve=D,e[i].G=z,e[i].n=x,e[i].h=I,e[i].oid=H,e[i].info=J;for(var $=0;$<U.length;$++)t[U[$]]=i;};},v.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),v.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),v.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),v.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),v.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),v.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),v.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCB
966BAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),v.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),v.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),v.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]);var Rt=(function(){var e=function(_,F,k){return t(M.AES,_,F,k)},t=function(_,F,k,U){var H=M.enc.Hex.parse(F),J=M.enc.Hex.parse(k),G=M.enc.Hex.parse(U),X={};X.key=J,X.iv=G,X.ciphertext=H;var d=_.decrypt(X,J,{iv:G});return M.enc.Hex.stringify(d)},r=function(_,F,k){return i(M.AES,_,F,k)},i=function(_,F,k,U){var H=M.enc.Hex.parse(F),J=M.enc.Hex.parse(k),G=M.enc.Hex.parse(U),X=_.encrypt(H,J,{iv:G}),d=M.enc.Hex.parse(X.toString());return M.enc.Base64.stringify(d)},n={"AES-256-CBC":{proc:e,eproc:r,keylen:32,ivlen:16},"AES-192-CBC":{proc:e,eproc:r,keylen:24,ivlen:16},"AES-128-CBC":{proc:e,eproc:r,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(_,F,k){return t(M.TripleDES,_,F,k)},eproc:function(_,F,k){return i(M.TripleDES,_,F,k)},keylen:24,ivlen:8},"DES-CBC":{proc:function(_,F,k){return t(M.DES,_,F,k)},eproc:function(_,F,k){return i(M.DES,_,F,k)},keylen:8,ivlen:8}},s=function(_){var F={},k=_.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));k&&(F.cipher=k[1],F.ivsalt=k[2]);var U=_.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));U&&(F.type=U[1]);var H=-1,J=0;_.indexOf(`\r 967\r 968`)!=-1&&(H=_.indexOf(`\r 969\r 970`),J=2),_.indexOf(` 971 972`)!=-1&&(H=_.indexOf(` 973 974`),J=1);var G=_.indexOf("-----END");if(H!=-1&&G!=-1){var X=_.substring(H+2*J,G-J);X=X.replace(/\s+/g,""),F.data=X;}return F},f=function(_,F,k){for(var U=k.substring(0,16),H=M.enc.Hex.parse(U),J=M.enc.Utf8.parse(F),G=n[_].keylen+n[_].ivlen,X="",d=null;;){var x=M.algo.MD5.create();if(d!=null&&x.update(d),x.update(J),x.update(H),d=x.finalize(),(X+=M.enc.Hex.stringify(d)).length>=2*G)break}var I={};return I.keyhex=X.substr(0,2*n[_].keylen),I.ivhex=X.substr(2*n[_].keylen,2*n[_].ivlen),I},b=function(_,F,k,U){var H=M.enc.Base64.parse(_),J=M.enc.Hex.stringify(H);return (0,n[F].proc)(J,k,U)};return {version:"1.0.0",parsePKCS5PEM:function(_){return s(_)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(_,F,k){return f(_,F,k)},decryptKeyB64:function(_,F,k,U){return b(_,F,k,U)},getDecryptedKeyHex:function(_,F){var k=s(_),U=(k.type,k.cipher),H=k.ivsalt,J=k.data,G=f(U,F,H).keyhex;return b(J,U,G,H)},getEncryptedPKCS5PEMFromPrvKeyHex:function(_,F,k,U,H){var J="";if(U!==void 0&&U!=null||(U="AES-256-CBC"),n[U]===void 0)throw "KEYUTIL unsupported algorithm: "+U;H!==void 0&&H!=null||(H=(function(d){var x=M.lib.WordArray.random(d);return M.enc.Hex.stringify(x)})(n[U].ivlen).toUpperCase());var G=(function(d,x,I,D){return (0,n[x].eproc)(d,I,D)})(F,U,f(U,k,H).keyhex,H);return J="-----BEGIN "+_+` PRIVATE KEY-----\r 975`,J+=`Proc-Type: 4,ENCRYPTED\r 976`,J+="DEK-Info: "+U+","+H+`\r 977`,J+=`\r 978`,J+=G.replace(/(.{64})/g,`$1\r 979`),J+=`\r 980-----END `+_+` PRIVATE KEY-----\r 981`},parseHexOfEncryptedPKCS8:function(_){var F=it,k=F.getChildIdx,U=F.getV,H={},J=k(_,0);if(J.length!=2)throw "malformed format: SEQUENCE(0).items != 2: "+J.length;H.ciphertext=U(_,J[1]);var G=k(_,J[0]);if(G.length!=2)throw "malformed format: SEQUENCE(0.0).items != 2: "+G.length;if(U(_,G[0])!="2a864886f70d01050d")throw "this only supports pkcs5PBES2";var X=k(_,G[1]);if(G.length!=2)throw "malformed format: SEQUENCE(0.0.1).items != 2: "+X.length;var d=k(_,X[1]);if(d.length!=2)throw "malformed format: SEQUENCE(0.0.1.1).items != 2: "+d.length;if(U(_,d[0])!="2a864886f70d0307")throw "this only supports TripleDES";H.encryptionSchemeAlg="TripleDES",H.encryptionSchemeIV=U(_,d[1]);var x=k(_,X[0]);if(x.length!=2)throw "malformed format: SEQUENCE(0.0.1.0).items != 2: "+x.length;if(U(_,x[0])!="2a864886f70d01050c")throw "this only supports pkcs5PBKDF2";var I=k(_,x[1]);if(I.length<2)throw "malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+I.length;H.pbkdf2Salt=U(_,I[0]);var D=U(_,I[1]);try{H.pbkdf2Iter=parseInt(D,16);}
981catch{throw "malformed format pbkdf2Iter: "+D}return H},getPBKDF2KeyHexFromParam:function(_,F){var k=M.enc.Hex.parse(_.pbkdf2Salt),U=_.pbkdf2Iter,H=M.PBKDF2(F,k,{keySize:6,iterations:U});return M.enc.Hex.stringify(H)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(_,F){var k=fe(_,"ENCRYPTED PRIVATE KEY"),U=this.parseHexOfEncryptedPKCS8(k),H=Rt.getPBKDF2KeyHexFromParam(U,F),J={};J.ciphertext=M.enc.Hex.parse(U.ciphertext);var G=M.enc.Hex.parse(H),X=M.enc.Hex.parse(U.encryptionSchemeIV),d=M.TripleDES.decrypt(J,G,{iv:X});return M.enc.Hex.stringify(d)},getKeyFromEncryptedPKCS8PEM:function(_,F){var k=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(_,F);return this.getKeyFromPlainPrivatePKCS8Hex(k)},parsePlainPrivatePKCS8Hex:function(_){var F=it,k=F.getChildIdx,U=F.getV,H={algparam:null};if(_.substr(0,2)!="30")throw "malformed plain PKCS8 private key(code:001)";var J=k(_,0);if(J.length!=3)throw "malformed plain PKCS8 private key(code:002)";if(_.substr(J[1],2)!="30")throw "malformed PKCS8 private key(code:003)";var G=k(_,J[1]);if(G.length!=2)throw "malformed PKCS8 private key(code:004)";if(_.substr(G[0],2)!="06")throw "malformed PKCS8 private key(code:005)";if(H.algoid=U(_,G[0]),_.substr(G[1],2)=="06"&&(H.algparam=U(_,G[1])),_.substr(J[2],2)!="04")throw "malformed PKCS8 private key(code:006)";return H.keyidx=F.getVidx(_,J[2]),H},getKeyFromPlainPrivatePKCS8PEM:function(_){var F=fe(_,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(F)},getKeyFromPlainPrivatePKCS8Hex:function(_){var F,k=this.parsePlainPrivatePKCS8Hex(_);if(k.algoid=="2a864886f70d010101")F=new ht;else if(k.algoid=="2a8648ce380401")F=new v.crypto.DSA;else {if(k.algoid!="2a8648ce3d0201")throw "unsupported private key algorithm";F=new v.crypto.ECDSA;}return F.readPKCS8PrvKeyHex(_),F},_getKeyFromPublicPKCS8Hex:function(_){var F,k=it.getVbyList(_,0,[0,0],"06");if(k==="2a864886f70d010101")F=new ht;else if(k==="2a8648ce380401")F=new v.crypto.DSA;else {if(k!=="2a8648ce3d0201")throw "unsupported PKCS#8 public key hex";F=new v.crypto.ECDSA;}return F.readPKCS8PubKeyHex(_),F},parsePublicRawRSAKeyHex:function(_){var F=it,k=F.getChildIdx,U=F.getV,H={};if(_.substr(0,2)!="30")throw "malformed RSA key(code:001)";var J=k(_,0);if(J.length!=2)throw "malformed RSA key(code:002)";if(_.substr(J[0],2)!="02")throw "malformed RSA key(code:003)";if(H.n=U(_,J[0]),_.substr(J[1],2)!="02")throw "malformed RSA key(code:004)";return H.e=U(_,J[1]),H},parsePublicPKCS8Hex:function(_){var F=it,k=F.getChildIdx,U=F.getV,H={algparam:null},J=k(_,0);if(J.length!=2)throw "outer DERSequence shall have 2 elements: "+J.length;var G=J[0];if(_.substr(G,2)!="30")throw "malformed PKCS8 public key(code:001)";var X=k(_,G);if(X.length!=2)throw "malformed PKCS8 public key(code:002)";if(_.substr(X[0],2)!="06")throw "malformed PKCS8 public key(code:003)";if(H.algoid=U(_,X[0]),_.substr(X[1],2)=="06"?H.algparam=U(_,X[1]):_.substr(X[1],2)=="30"&&(H.algparam={},H.algparam.p=F.getVbyList(_,X[1],[0],"02"),H.algparam.q=F.getVbyList(_,X[1],[1],"02"),H.algparam.g=F.getVbyList(_,X[1],[2],"02")),_.substr(J[1],2)!="03")throw "malformed PKCS8 public key(code:004)";return H.key=U(_,J[1]).substr(2),H}}})();Rt.getKey=function(e,t,r){var i=(X=it).getChildIdx,n=(X.getV,X.getVbyList),s=v.crypto,f=s.ECDSA,b=s.DSA,m=ht,_=fe,F=Rt;if(m!==void 0&&e instanceof m||f!==void 0&&e instanceof f||b!==void 0&&e instanceof b)return e;if(e.curve!==void 0&&e.xy!==void 0&&e.d===void 0)return new f({pub:e.xy,curve:e.curve});if(e.curve!==void 0&&e.d!==void 0)return new f({prv:e.d,curve:e.curve});if(e.kty===void 0&&e.n!==void 0&&e.e!==void 0&&e.d===void 0)return (ct=new m).setPublic(e.n,e.e),ct;if(e.kty===void 0&&e.n!==void 0&&e.e!==void 0&&e.d!==void 0&&e.p!==void 0&&e.q!==void 0&&e.dp!==void 0&&e.dq!==void 0&&e.co!==void 0&&e.qi===void 0)return (ct=new m).setPrivateEx(e.n,e.e,e.d,e.p,e.q,e.dp,e.dq,e.co),ct;if(e.kty===void 0&&e.n!==void 0&&e.e!==void 0&&e.d!==void 0&&e.p===void 0)return (ct=new m).setPrivate(e.n,e.e,e.d),ct;if(e.p!==void 0&&e.q!==void 0&&e.g!==void 0&&e.y!==void 0&&e.x===void 0)return (ct=new b).setPublic(e.p,e.q,e.g,e.y),ct;if(e.p!==void 0&&e.q!==void 0&&e.g!==void 0&&e.y!==void 0&&e.x!==void 0)return (ct=new b).setPrivate(e.p,e.q,e.g,e.y,e.x),ct;if(e.kty==="RSA"&&e.n!==void 0&&e.e!==void 0&&e.d===void 0)return (ct=new m).setPublic(_t(e.n),_t(e.e)),ct;if(e.kty==="RSA"&&e.n!==void 0&&e.e!==void 0&&e.d!==void 0&&e.p!==void 0&&e.q!==void 0&&e.dp!==void 0&&e.dq!==void 0&&e.qi!==void 0)return (ct=new m).setPrivateEx(_t(e.n
981),_t(e.e),_t(e.d),_t(e.p),_t(e.q),_t(e.dp),_t(e.dq),_t(e.qi)),ct;if(e.kty==="RSA"&&e.n!==void 0&&e.e!==void 0&&e.d!==void 0)return (ct=new m).setPrivate(_t(e.n),_t(e.e),_t(e.d)),ct;if(e.kty==="EC"&&e.crv!==void 0&&e.x!==void 0&&e.y!==void 0&&e.d===void 0){var k=(ot=new f({curve:e.crv})).ecparams.keylen/4,U="04"+("0000000000"+_t(e.x)).slice(-k)+("0000000000"+_t(e.y)).slice(-k);return ot.setPublicKeyHex(U),ot}if(e.kty==="EC"&&e.crv!==void 0&&e.x!==void 0&&e.y!==void 0&&e.d!==void 0){k=(ot=new f({curve:e.crv})).ecparams.keylen/4,U="04"+("0000000000"+_t(e.x)).slice(-k)+("0000000000"+_t(e.y)).slice(-k);var H=("0000000000"+_t(e.d)).slice(-k);return ot.setPublicKeyHex(U),ot.setPrivateKeyHex(H),ot}if(r==="pkcs5prv"){var J,G=e,X=it;if((J=i(G,0)).length===9)(ct=new m).readPKCS5PrvKeyHex(G);else if(J.length===6)(ct=new b).readPKCS5PrvKeyHex(G);else {if(!(J.length>2&&G.substr(J[1],2)==="04"))throw "unsupported PKCS#1/5 hexadecimal key";(ct=new f).readPKCS5PrvKeyHex(G);}return ct}if(r==="pkcs8prv")return ct=F.getKeyFromPlainPrivatePKCS8Hex(e);if(r==="pkcs8pub")return F._getKeyFromPublicPKCS8Hex(e);if(r==="x509pub")return It.getPublicKeyFromCertHex(e);if(e.indexOf("-END CERTIFICATE-",0)!=-1||e.indexOf("-END X509 CERTIFICATE-",0)!=-1||e.indexOf("-END TRUSTED CERTIFICATE-",0)!=-1)return It.getPublicKeyFromCertPEM(e);if(e.indexOf("-END PUBLIC KEY-")!=-1){var d=fe(e,"PUBLIC KEY");return F._getKeyFromPublicPKCS8Hex(d)}if(e.indexOf("-END RSA PRIVATE KEY-")!=-1&&e.indexOf("4,ENCRYPTED")==-1){var x=_(e,"RSA PRIVATE KEY");return F.getKey(x,null,"pkcs5prv")}if(e.indexOf("-END DSA PRIVATE KEY-")!=-1&&e.indexOf("4,ENCRYPTED")==-1){var I=n(bt=_(e,"DSA PRIVATE KEY"),0,[1],"02"),D=n(bt,0,[2],"02"),z=n(bt,0,[3],"02"),$=n(bt,0,[4],"02"),at=n(bt,0,[5],"02");return (ct=new b).setPrivate(new V(I,16),new V(D,16),new V(z,16),new V($,16),new V(at,16)),ct}if(e.indexOf("-END EC PRIVATE KEY-")!=-1&&e.indexOf("4,ENCRYPTED")==-1)return x=_(e,"EC PRIVATE KEY"),F.getKey(x,null,"pkcs5prv");if(e.indexOf("-END PRIVATE KEY-")!=-1)return F.getKeyFromPlainPrivatePKCS8PEM(e);if(e.indexOf("-END RSA PRIVATE KEY-")!=-1&&e.indexOf("4,ENCRYPTED")!=-1){var et=F.getDecryptedKeyHex(e,t),gt=new ht;return gt.readPKCS5PrvKeyHex(et),gt}if(e.indexOf("-END EC PRIVATE KEY-")!=-1&&e.indexOf("4,ENCRYPTED")!=-1){var ot,ct=n(bt=F.getDecryptedKeyHex(e,t),0,[1],"04"),yt=n(bt,0,[2,0],"06"),Ft=n(bt,0,[3,0],"03").substr(2);if(v.crypto.OID.oidhex2name[yt]===void 0)throw "undefined OID(hex) in KJUR.crypto.OID: "+yt;return (ot=new f({curve:v.crypto.OID.oidhex2name[yt]})).setPublicKeyHex(Ft),ot.setPrivateKeyHex(ct),ot.isPublic=!1,ot}if(e.indexOf("-END DSA PRIVATE KEY-")!=-1&&e.indexOf("4,ENCRYPTED")!=-1){var bt;return I=n(bt=F.getDecryptedKeyHex(e,t),0,[1],"02"),D=n(bt,0,[2],"02"),z=n(bt,0,[3],"02"),$=n(bt,0,[4],"02"),at=n(bt,0,[5],"02"),(ct=new b).setPrivate(new V(I,16),new V(D,16),new V(z,16),new V($,16),new V(at,16)),ct}if(e.indexOf("-END ENCRYPTED PRIVATE KEY-")!=-1)return F.getKeyFromEncryptedPKCS8PEM(e,t);throw new Error("not supported argument")},Rt.generateKeypair=function(e,t){if(e=="RSA"){var r=t;(f=new ht).generate(r,"10001"),f.isPrivate=!0,f.isPublic=!0;var i=new ht,n=f.n.toString(16),s=f.e.toString(16);return i.setPublic(n,s),i.isPrivate=!1,i.isPublic=!0,(b={}).prvKeyObj=f,b.pubKeyObj=i,b}if(e=="EC"){var f,b,m=t,_=new v.crypto.ECDSA({curve:m}).generateKeyPairHex();return (f=new v.crypto.ECDSA({curve:m})).setPublicKeyHex(_.ecpubhex),f.setPrivateKeyHex(_.ecprvhex),f.isPrivate=!0,f.isPublic=!1,(i=new v.crypto.ECDSA({curve:m})).setPublicKeyHex(_.ecpubhex),i.isPrivate=!1,i.isPublic=!0,(b={}).prvKeyObj=f,b.pubKeyObj=i,b}throw "unknown algorithm: "+e},Rt.getPEM=function(e,t,r,i,n,s){var f=v,b=f.asn1,m=b.DERObjectIdentifier,_=b.DERInteger,F=b.ASN1Util.newObject,k=b.x509.SubjectPublicKeyInfo,U=f.crypto,H=U.DSA,J=U.ECDSA,G=ht;function X(ot){return F({seq:[{int:0},{int:{bigint:ot.n}},{int:ot.e},{int:{bigint:ot.d}},{int:{bigint:ot.p}},{int:{bigint:ot.q}},{int:{bigint:ot.dmp1}},{int:{bigint:ot.dmq1}},{int:{bigint:ot.coeff}}]})}function d(ot){return F({seq:[{int:1},{octstr:{hex:ot.prvKeyHex}},{tag:["a0",!0,{oid:{name:ot.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+ot.pubKeyHex}}]}]})}function x(ot){return F({seq:[{int:0},{int:{bigint:ot.p}},{int:{bigint:ot.q}},{int:{bigint:ot.g}},{int:{bigint:ot.y}},{int:{bigint:ot.x}}]})}if((G!==void 0&&e instanceof G||H!==void 0&&e instanceof H||J!==void 0&&e instanceof J)&&e.isPublic==1&&(t===void 0||t=="PKCS8PUB"))return Xt($=new k(e).getEncodedHex(),"PUBLIC KEY");if(t=="PKCS1PRV"&&G!==void 0&&e instanceof G&&(r===void 0||r==null)&&e.isPrivate==1)return Xt($=X(e).getEncodedHex(),"RSA PRIVATE KEY");if(t=="PKCS1PRV"&&J!==void 0&&e instanceof J&&(r===void 0||r==null)&&e.isPrivate==1){var I=new m({
981name:e.curveName}).getEncodedHex(),D=d(e).getEncodedHex(),z="";return z+=Xt(I,"EC PARAMETERS"),z+=Xt(D,"EC PRIVATE KEY")}if(t=="PKCS1PRV"&&H!==void 0&&e instanceof H&&(r===void 0||r==null)&&e.isPrivate==1)return Xt($=x(e).getEncodedHex(),"DSA PRIVATE KEY");if(t=="PKCS5PRV"&&G!==void 0&&e instanceof G&&r!==void 0&&r!=null&&e.isPrivate==1){var $=X(e).getEncodedHex();return i===void 0&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",$,r,i,s)}if(t=="PKCS5PRV"&&J!==void 0&&e instanceof J&&r!==void 0&&r!=null&&e.isPrivate==1)return $=d(e).getEncodedHex(),i===void 0&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",$,r,i,s);if(t=="PKCS5PRV"&&H!==void 0&&e instanceof H&&r!==void 0&&r!=null&&e.isPrivate==1)return $=x(e).getEncodedHex(),i===void 0&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",$,r,i,s);var at=function(ct,yt){var Ft=et(ct,yt);return new F({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:Ft.pbkdf2Salt}},{int:Ft.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:Ft.encryptionSchemeIV}}]}]}]},{octstr:{hex:Ft.ciphertext}}]}).getEncodedHex()},et=function(ct,yt){var Ft=M.lib.WordArray.random(8),bt=M.lib.WordArray.random(8),$t=M.PBKDF2(yt,Ft,{keySize:6,iterations:100}),Ht=M.enc.Hex.parse(ct),qt=M.TripleDES.encrypt(Ht,$t,{iv:bt})+"",Pt={};return Pt.ciphertext=qt,Pt.pbkdf2Salt=M.enc.Hex.stringify(Ft),Pt.pbkdf2Iter=100,Pt.encryptionSchemeAlg="DES-EDE3-CBC",Pt.encryptionSchemeIV=M.enc.Hex.stringify(bt),Pt};if(t=="PKCS8PRV"&&G!=null&&e instanceof G&&e.isPrivate==1){var gt=X(e).getEncodedHex();return $=F({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:gt}}]}).getEncodedHex(),r===void 0||r==null?Xt($,"PRIVATE KEY"):Xt(D=at($,r),"ENCRYPTED PRIVATE KEY")}if(t=="PKCS8PRV"&&J!==void 0&&e instanceof J&&e.isPrivate==1)return gt=new F({seq:[{int:1},{octstr:{hex:e.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+e.pubKeyHex}}]}]}).getEncodedHex(),$=F({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:e.curveName}}]},{octstr:{hex:gt}}]}).getEncodedHex(),r===void 0||r==null?Xt($,"PRIVATE KEY"):Xt(D=at($,r),"ENCRYPTED PRIVATE KEY");if(t=="PKCS8PRV"&&H!==void 0&&e instanceof H&&e.isPrivate==1)return gt=new _({bigint:e.x}).getEncodedHex(),$=F({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:e.p}},{int:{bigint:e.q}},{int:{bigint:e.g}}]}]},{octstr:{hex:gt}}]}).getEncodedHex(),r===void 0||r==null?Xt($,"PRIVATE KEY"):Xt(D=at($,r),"ENCRYPTED PRIVATE KEY");throw new Error("unsupported object nor format")},Rt.getKeyFromCSRPEM=function(e){var t=fe(e,"CERTIFICATE REQUEST");return Rt.getKeyFromCSRHex(t)},Rt.getKeyFromCSRHex=function(e){var t=Rt.parseCSRHex(e);return Rt.getKey(t.p8pubkeyhex,null,"pkcs8pub")},Rt.parseCSRHex=function(e){var t=it,r=t.getChildIdx,i=t.getTLV,n={},s=e;if(s.substr(0,2)!="30")throw "malformed CSR(code:001)";var f=r(s,0);if(f.length<1)throw "malformed CSR(code:002)";if(s.substr(f[0],2)!="30")throw "malformed CSR(code:003)";var b=r(s,f[0]);if(b.length<3)throw "malformed CSR(code:004)";return n.p8pubkeyhex=i(s,b[2]),n},Rt.getKeyID=function(e){var t=Rt,r=it;typeof e=="string"&&e.indexOf("BEGIN ")!=-1&&(e=t.getKey(e));var i=fe(t.getPEM(e)),n=r.getIdxbyList(i,0,[1]),s=r.getV(i,n).substring(2);return v.crypto.Util.hashHex(s,"sha1")},Rt.getJWKFromKey=function(e){var t={};if(e instanceof ht&&e.isPrivate)return t.kty="RSA",t.n=Ut(e.n.toString(16)),t.e=Ut(e.e.toString(16)),t.d=Ut(e.d.toString(16)),t.p=Ut(e.p.toString(16)),t.q=Ut(e.q.toString(16)),t.dp=Ut(e.dmp1.toString(16)),t.dq=Ut(e.dmq1.toString(16)),t.qi=Ut(e.coeff.toString(16)),t;if(e instanceof ht&&e.isPublic)return t.kty="RSA",t.n=Ut(e.n.toString(16)),t.e=Ut(e.e.toString(16)),t;if(e instanceof v.crypto.ECDSA&&e.isPrivate){if((i=e.getShortNISTPCurveName())!=="P-256"&&i!=="P-384")throw "unsupported curve name for JWT: "+i;var r=e.getPublicKeyXYHex();return t.kty="EC",t.crv=i,t.x=Ut(r.x),t.y=Ut(r.y),t.d=Ut(e.prvKeyHex),t}if(e instanceof v.crypto.ECDSA&&e.isPublic){var i;if((i=e.getShortNISTPCurveName())!=="P-256"&&i!=="P-384")throw "unsupported curve name for JWT: "+i;return r=e.getPublicKeyXYHex(),t.kty="EC",t.crv=i,t.x=Ut(r.x),t.y=Ut(r.y),t}throw "not supported key object"},ht.getPosArrayOfChildrenFromHex=function(e){return it.getChildIdx(e,0)},ht.getHexValueArrayOfChildrenFromHex=function(e){var t,r=it.getV,i=r(e,(t=ht.getPosArrayOfChildrenFromHex(e))[0]),n=r(e,t[1]),s=r(e,t[2]),f=r(e,t[3]),b=r(e,t[4]),m=r(e,t[5]),_=r(e,t[6]),F=r(e,t[7]),k=r(e,t[8]);return (t=new Array).push(i,n,s,f,b,m,_,F,k),t},ht.prototype.readPrivateKeyFromPEMString=function(e){var t=fe(e),r=ht.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8]);},ht.prototype.readPKCS5PrvKeyHex=function(e){var t=ht.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]);},ht.prototype.readPKCS8PrvKeyHex=function(e){var t,r,i,n,s,f,b,m,_=it,F=_.getVbyListEx;if(_.isASN1HEX(e)===!1)throw new Error("not ASN.1 hex string");try{t=F(e,0,[2,0,1],"02"),r=F(e,0,[2,0,2],"02"),i=F(e,0,[2,0,3],"02"),n=F(e,0,[2,0,4],"02"),s=F(e,0,[2,0,5],"02"),f=F(e,0,[2,0,6],"02"),b=F(e,0,[2,0,7],"02"),m=F(e,0,[2,0,8],"02");}catch{throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(t,r,i,n,s,f,b,m);},ht.prototype.readPKCS5PubKeyHex=function(e){var t=it,r=t.getV;if(t.isASN1HEX(e)===!1)throw new Error("keyHex is not ASN.1 hex string");var i=t.getChildIdx(e,0);if(i.length!==2||e.substr(i[0],2)!=="02"||e.substr(i[1],2)!=="02")throw new Error("wrong hex for PKCS#5 public key");var n=r(e,i[0]),s=r(e,i[1]);this.setPublic(n,s);},ht.prototype.readPKCS8PubKeyHex=function(e){var t=it;if(t.isASN1HEX(e)===!1)throw new Error("not ASN.1 hex string");if(t.getTLVbyListEx(e,0,[0,0])!=="06092a864886f70d010101")throw new Error("not PKCS8 RSA public key");var r=t.getTLVbyListEx(e,0,[1,0]);this.readPKCS5PubKeyHex(r);},ht.prototype.readCertPubKeyHex=function(e,t){var r,i;(r=new It).readCertHex(e),i=r.getPublicKeyHex(),this.readPKCS8PubKeyHex(i);};var ti=new RegExp("[^0-9a-f]","gi");function kr(e,t){for(var r="",i=t/4-e.length,n=0;n<i;n++)r+="0";return r+e}function Tr(e,t,r){for(var i="",n=0;i.length<t;)i+=ee(r(ge(e+String.fromCharCode.apply(String,[(4278190080&n)>>24,(16711680&n)>>16,(65280&n)>>8,255&n])))),n+=1;return i}function Pr(e){for(var t in v.crypto.Util.DIGESTINFOHEAD){var r=v.crypto.Util.DIGESTINFOHEAD[t],i=r.length;if(e.substring(0,i)==r)return [t,e.substring(i)]}return []}function It(e){var t,r=it,i=r.getChildIdx,n=r.getV,s=r.getTLV,f=r.getVbyList,b=r.getVbyListEx,m=r.getTLVbyList,_=r.getTLVbyListEx,F=r.getIdxbyList,k=r.getIdxbyListEx,U=r.getVidx,H=r.oidname,J=r.hextooidstr,G=It,X=fe;try{t=v.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV;}catch{}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){return this.hex===null||this.version!==0?this.version:m(this.hex,0,[0,0])!=="a003020102"?(this.version=1,this.foffset=-1,1):(this.version=3,3)}
981,this.getSerialNumberHex=function(){return b(this.hex,0,[0,0],"02")},this.getSignatureAlgorithmField=function(){var d=_(this.hex,0,[0,1]);return this.getAlgorithmIdentifierName(d)},this.getAlgorithmIdentifierName=function(d){for(var x in t)if(d===t[x])return x;return H(b(d,0,[0],"06"))},this.getIssuer=function(){return this.getX500Name(this.getIssuerHex())},this.getIssuerHex=function(){return m(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return G.hex2dn(this.getIssuerHex())},this.getSubject=function(){return this.getX500Name(this.getSubjectHex())},this.getSubjectHex=function(){return m(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return G.hex2dn(this.getSubjectHex())},this.getNotBefore=function(){var d=f(this.hex,0,[0,4+this.foffset,0]);return d=d.replace(/(..)/g,"%$1"),d=decodeURIComponent(d)},this.getNotAfter=function(){var d=f(this.hex,0,[0,4+this.foffset,1]);return d=d.replace(/(..)/g,"%$1"),d=decodeURIComponent(d)},this.getPublicKeyHex=function(){return r.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return F(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var d=this.getPublicKeyIdx();return F(this.hex,d,[1,0],"30")},this.getPublicKey=function(){return Rt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){var d=m(this.hex,0,[1],"30");return this.getAlgorithmIdentifierName(d)},this.getSignatureValueHex=function(){return f(this.hex,0,[2],"03",!0)},this.verifySignature=function(d){var x=this.getSignatureAlgorithmField(),I=this.getSignatureValueHex(),D=m(this.hex,0,[0],"30"),z=new v.crypto.Signature({alg:x});return z.init(d),z.updateHex(D),z.verify(I)},this.parseExt=function(d){var x,I,D;if(d===void 0){if(D=this.hex,this.version!==3)return -1;x=F(D,0,[0,7,0],"30"),I=i(D,x);}else {D=fe(d);var z=F(D,0,[0,3,0,0],"06");if(n(D,z)!="2a864886f70d01090e")return void(this.aExtInfo=new Array);x=F(D,0,[0,3,0,1,0],"30"),I=i(D,x),this.hex=D;}this.aExtInfo=new Array;for(var $=0;$<I.length;$++){var at={critical:!1},et=0;i(D,I[$]).length===3&&(at.critical=!0,et=1),at.oid=r.hextooidstr(f(D,I[$],[0],"06"));var gt=F(D,I[$],[1+et]);at.vidx=U(D,gt),this.aExtInfo.push(at);}},this.getExtInfo=function(d){var x=this.aExtInfo,I=d;if(d.match(/^[0-9.]+$/)||(I=v.asn1.x509.OID.name2oid(d)),I!==""){for(var D=0;D<x.length;D++)if(x[D].oid===I)return x[D]}},this.getExtBasicConstraints=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("basicConstraints");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"basicConstraints"};if(x&&(D.critical=!0),d==="3000")return D;if(d==="30030101ff")return D.cA=!0,D;if(d.substr(0,12)==="30060101ff02"){var z=n(d,10),$=parseInt(z,16);return D.cA=!0,D.pathLen=$,D}throw new Error("hExtV parse error: "+d)},this.getExtKeyUsage=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("keyUsage");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"keyUsage"};return x&&(D.critical=!0),D.names=this.getExtKeyUsageString(d).split(","),D},this.getExtKeyUsageBin=function(d){if(d===void 0){var x=this.getExtInfo("keyUsage");if(x===void 0)return "";d=s(this.hex,x.vidx);}if(d.length!=8&&d.length!=10)throw new Error("malformed key usage value: "+d);var I="000000000000000"+parseInt(d.substr(6),16).toString(2);return d.length==8&&(I=I.slice(-8)),d.length==10&&(I=I.slice(-16)),(I=I.replace(/0+$/,""))==""&&(I="0"),I},this.getExtKeyUsageString=function(d){for(var x=this.getExtKeyUsageBin(d),I=new Array,D=0;D<x.length;D++)x.substr(D,1)=="1"&&I.push(It.KEYUSAGE_NAME[D]);return I.join(",")},this.getExtSubjectKeyIdentifier=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("subjectKeyIdentifier");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"subjectKeyIdentifier"};x&&(D.critical=!0);var z=n(d,0);return D.kid={hex:z},D},this.getExtAuthorityKeyIdentifier=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("authorityKeyIdentifier");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"authorityKeyIdentifier"};x&&(D.critical=!0);for(var z=i(d,0),$=0;$<z.length;$++){var at=d.substr(z[$],2);if(at==="80"&&(D.kid={hex:n(d,z[$])}
981),at==="a1"){var et=s(d,z[$]),gt=this.getGeneralNames(et);D.issuer=gt[0].dn;}at==="82"&&(D.sn={hex:n(d,z[$])});}return D},this.getExtExtKeyUsage=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("extKeyUsage");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"extKeyUsage",array:[]};x&&(D.critical=!0);for(var z=i(d,0),$=0;$<z.length;$++)D.array.push(H(n(d,z[$])));return D},this.getExtExtKeyUsageName=function(){var d=this.getExtInfo("extKeyUsage");if(d===void 0)return d;var x=new Array,I=s(this.hex,d.vidx);if(I==="")return x;for(var D=i(I,0),z=0;z<D.length;z++)x.push(H(n(I,D[z])));return x},this.getExtSubjectAltName=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("subjectAltName");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"subjectAltName",array:[]};return x&&(D.critical=!0),D.array=this.getGeneralNames(d),D},this.getExtIssuerAltName=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("issuerAltName");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"issuerAltName",array:[]};return x&&(D.critical=!0),D.array=this.getGeneralNames(d),D},this.getGeneralNames=function(d){for(var x=i(d,0),I=[],D=0;D<x.length;D++){var z=this.getGeneralName(s(d,x[D]));z!==void 0&&I.push(z);}return I},this.getGeneralName=function(d){var x=d.substr(0,2),I=n(d,0),D=ee(I);return x=="81"?{rfc822:D}:x=="82"?{dns:D}:x=="86"?{uri:D}:x=="87"?{ip:ar(I)}:x=="a4"?{dn:this.getX500Name(I)}:void 0},this.getExtSubjectAltName2=function(){var d,x,I,D=this.getExtInfo("subjectAltName");if(D===void 0)return D;for(var z=new Array,$=s(this.hex,D.vidx),at=i($,0),et=0;et<at.length;et++)I=$.substr(at[et],2),d=n($,at[et]),I==="81"&&(x=Bt(d),z.push(["MAIL",x])),I==="82"&&(x=Bt(d),z.push(["DNS",x])),I==="84"&&(x=It.hex2dn(d,0),z.push(["DN",x])),I==="86"&&(x=Bt(d),z.push(["URI",x])),I==="87"&&(x=ar(d),z.push(["IP",x]));return z},this.getExtCRLDistributionPoints=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("cRLDistributionPoints");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"cRLDistributionPoints",array:[]};x&&(D.critical=!0);for(var z=i(d,0),$=0;$<z.length;$++){var at=s(d,z[$]);D.array.push(this.getDistributionPoint(at));}return D},this.getDistributionPoint=function(d){for(var x={},I=i(d,0),D=0;D<I.length;D++){var z=d.substr(I[D],2),$=s(d,I[D]);z=="a0"&&(x.dpname=this.getDistributionPointName($));}return x},this.getDistributionPointName=function(d){for(var x={},I=i(d,0),D=0;D<I.length;D++){var z=d.substr(I[D],2),$=s(d,I[D]);z=="a0"&&(x.full=this.getGeneralNames($));}return x},this.getExtCRLDistributionPointsURI=function(){var d=this.getExtInfo("cRLDistributionPoints");if(d===void 0)return d;for(var x=new Array,I=i(this.hex,d.vidx),D=0;D<I.length;D++)try{var z=Bt(f(this.hex,I[D],[0,0,0],"86"));x.push(z);}catch{}return x},this.getExtAIAInfo=function(){var d=this.getExtInfo("authorityInfoAccess");if(d===void 0)return d;for(var x={ocsp:[],caissuer:[]},I=i(this.hex,d.vidx),D=0;D<I.length;D++){var z=f(this.hex,I[D],[0],"06"),$=f(this.hex,I[D],[1],"86");z==="2b06010505073001"&&x.ocsp.push(Bt($)),z==="2b06010505073002"&&x.caissuer.push(Bt($));}return x},this.getExtAuthorityInfoAccess=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("authorityInfoAccess");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"authorityInfoAccess",array:[]};x&&(D.critical=!0);for(var z=i(d,0),$=0;$<z.length;$++){var at=b(d,z[$],[0],"06"),et=Bt(f(d,z[$],[1],"86"));if(at=="2b06010505073001")D.array.push({ocsp:et});else {if(at!="2b06010505073002")throw new Error("unknown method: "+at);D.array.push({caissuer:et});}}return D},this.getExtCertificatePolicies=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("certificatePolicies");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"certificatePolicies",array:[]};x&&(D.critical=!0);for(var z=i(d,0),$=0;$<z.length;$++){var at=s(d,z[$]),et=this.getPolicyInformation(at);D.array.push(et);}return D},this.getPolicyInformation=function(d){var x={},I=f(d,0,[0],"06");x.policyoid=H(I);var D=k(d,0,[1],"30");if(D!=-1){x.array=[];for(var z=i(d,D),$=0;$<z.length;$++){var at=s(d,z[$]),et=this.getPolicyQualifierInfo(at);x.array.push(et);}}return x},this.getPolicyQualifierInfo=function(d){var x={},I=f(d,0,[0],"06");
981if(I==="2b06010505070201"){var D=b(d,0,[1],"16");x.cps=ee(D);}else if(I==="2b06010505070202"){var z=m(d,0,[1],"30");x.unotice=this.getUserNotice(z);}return x},this.getUserNotice=function(d){for(var x={},I=i(d,0),D=0;D<I.length;D++){var z=s(d,I[D]);z.substr(0,2)!="30"&&(x.exptext=this.getDisplayText(z));}return x},this.getDisplayText=function(d){var x={};return x.type={"0c":"utf8",16:"ia5","1a":"vis","1e":"bmp"}[d.substr(0,2)],x.str=ee(n(d,0)),x},this.getExtCRLNumber=function(d,x){var I={extname:"cRLNumber"};if(x&&(I.critical=!0),d.substr(0,2)=="02")return I.num={hex:n(d,0)},I;throw new Error("hExtV parse error: "+d)},this.getExtCRLReason=function(d,x){var I={extname:"cRLReason"};if(x&&(I.critical=!0),d.substr(0,2)=="0a")return I.code=parseInt(n(d,0),16),I;throw new Error("hExtV parse error: "+d)},this.getExtOcspNonce=function(d,x){var I={extname:"ocspNonce"};x&&(I.critical=!0);var D=n(d,0);return I.hex=D,I},this.getExtOcspNoCheck=function(d,x){var I={extname:"ocspNoCheck"};return x&&(I.critical=!0),I},this.getExtAdobeTimeStamp=function(d,x){if(d===void 0&&x===void 0){var I=this.getExtInfo("adobeTimeStamp");if(I===void 0)return;d=s(this.hex,I.vidx),x=I.critical;}var D={extname:"adobeTimeStamp"};x&&(D.critical=!0);var z=i(d,0);if(z.length>1){var $=s(d,z[1]),at=this.getGeneralName($);at.uri!=null&&(D.uri=at.uri);}if(z.length>2){var et=s(d,z[2]);et=="0101ff"&&(D.reqauth=!0),et=="010100"&&(D.reqauth=!1);}return D},this.getX500NameRule=function(d){for(var x=null,I=[],D=0;D<d.length;D++)for(var z=d[D],$=0;$<z.length;$++)I.push(z[$]);for(D=0;D<I.length;D++){var at=I[D],et=at.ds,gt=at.value,ot=at.type;if(""+et,et!="prn"&&et!="utf8"&&et!="ia5")return "mixed";if(et=="ia5"){if(ot!="CN")return "mixed";if(v.lang.String.isMail(gt))continue;return "mixed"}if(ot=="C"){if(et=="prn")continue;return "mixed"}if(""+et,x==null)x=et;else if(x!==et)return "mixed"}return x??"prn"},this.getX500Name=function(d){var x=this.getX500NameArray(d);return {array:x,str:this.dnarraytostr(x)}},this.getX500NameArray=function(d){for(var x=[],I=i(d,0),D=0;D<I.length;D++)x.push(this.getRDN(s(d,I[D])));return x},this.getRDN=function(d){for(var x=[],I=i(d,0),D=0;D<I.length;D++)x.push(this.getAttrTypeAndValue(s(d,I[D])));return x},this.getAttrTypeAndValue=function(d){var x={type:null,value:null,ds:null},I=i(d,0),D=f(d,I[0],[],"06"),z=f(d,I[1],[]),$=v.asn1.ASN1Util.oidHexToInt(D);return x.type=v.asn1.x509.OID.oid2atype($),x.value=ee(z),x.ds=this.HEX2STAG[d.substr(I[1],2)],x},this.readCertPEM=function(d){this.readCertHex(X(d));},this.readCertHex=function(d){this.hex=d,this.getVersion();try{F(this.hex,0,[0,7],"a3"),this.parseExt();}catch{}},this.getParam=function(){var d={};return d.version=this.getVersion(),d.serial={hex:this.getSerialNumberHex()},d.sigalg=this.getSignatureAlgorithmField(),d.issuer=this.getIssuer(),d.notbefore=this.getNotBefore(),d.notafter=this.getNotAfter(),d.subject=this.getSubject(),d.sbjpubkey=Xt(this.getPublicKeyHex(),"PUBLIC KEY"),this.aExtInfo.length>0&&(d.ext=this.getExtParamArray()),d.sighex=this.getSignatureValueHex(),d},this.getExtParamArray=function(d){d==null&&k(this.hex,0,[0,"[3]"])!=-1&&(d=_(this.hex,0,[0,"[3]",0],"30"));for(var x=[],I=i(d,0),D=0;D<I.length;D++){var z=s(d,I[D]),$=this.getExtParam(z);$!=null&&x.push($);}return x},this.getExtParam=function(d){var x=i(d,0).length;if(x!=2&&x!=3)throw new Error("wrong number elements in Extension: "+x+" "+d);var I=J(f(d,0,[0],"06")),D=!1;x==3&&m(d,0,[1])=="0101ff"&&(D=!0);var z=m(d,0,[x-1,0]),$=void 0;if(I=="2.5.29.14"?$=this.getExtSubjectKeyIdentifier(z,D):I=="2.5.29.15"?$=this.getExtKeyUsage(z,D):I=="2.5.29.17"?$=this.getExtSubjectAltName(z,D):I=="2.5.29.18"?$=this.getExtIssuerAltName(z,D):I=="2.5.29.19"?$=this.getExtBasicConstraints(z,D):I=="2.5.29.31"?$=this.getExtCRLDistributionPoints(z,D):I=="2.5.29.32"?$=this.getExtCertificatePolicies(z,D):I=="2.5.29.35"?$=this.getExtAuthorityKeyIdentifier(z,D):I=="2.5.29.37"?$=this.getExtExtKeyUsage(z,D):I=="1.3.6.1.5.5.7.1.1"?$=this.getExtAuthorityInfoAccess(z,D):I=="2.5.29.20"?$=this.getExtCRLNumber(z,D):I=="2.5.29.21"?$=this.getExtCRLReason(z,D):I=="1.3.6.1.5.5.7.48.1.2"?$=this.getExtOcspNonce(z,D):I=="1.3.6.1.5.5.7.48.1.5"?$=this.getExtOcspNoCheck(z,D):I=="1.2.840.113583.1.1.9.1"&&($=this.getExtAdobeTimeStamp(z,D)),$!=null)return $;var at={extname:I,extn:z};return D&&(at.critical=!0),at},this.findExt=function(d,x){for(var I=0;I<d.length;I++)if(d[I].extname==x)return d[I];return null},this.updateExtCDPFullURI=function(d,x){var I=this.findExt(d,"cRLDistributionPoints");if(I!=null&&I.array!=null){for(var D=I.array,z=0;z<D.length;z++)if(D[z].dpname!=null&&D[z].dpname.full!=null)for(var $=D[z].dpname.full,at=0;at<$.length;at++){var et=$[z];et.uri!=null&&(et.uri=x);}}},this.updateExtAIAOCSP=function(d,x){var I=this.findExt(d,"authorityInfoAccess");if(I!=null&&I.array!=null)for(var D=I.array,z=0;z<D.length;z++)D[z].ocsp!=null&&(D[z].ocsp=x);},this.updateExtAIACAIssuer=function(d,x){var I=this.findExt(d,"authorityInfoAccess");if(I!=null&&I.array!=null)for(var D=I.array,z=0;z<D.length;z++)D[z].caissuer!=null&&(D[z].caissuer=x);},this.dnarraytostr=function(d){return "/"+d.map(function(x){return (function(D){return D.map(function(z){return (function(at){return at.type+"="+at.value})(z)}).join("+")})(x)}).join("/")},this.getInfo=function(){var d,x,I,D=function($t){return JSON.stringify($t.array).replace(/[\[\]\{\}\"]/g,"")},z=function($t){for(var Ht="",qt=$t.array,Pt=0;Pt<qt.length;Pt++){var Dt=qt[Pt];if(Ht+=" policy oid: "+Dt.policyoid+` 982`,Dt.array!==void 0)for(var Ot=0;Ot<Dt.array.length;Ot++){var Wt=Dt.array[Ot];Wt.cps!==void 0&&(Ht+=" cps: "+Wt.cps+` 983`);}}return Ht},$=function($t){for(var Ht="",qt=$t.array,Pt=0;Pt<qt.length;Pt++){var Dt=qt[Pt];try{Dt.dpname.full[0].uri!==void 0&&(Ht+=" "+Dt.dpname.full[0].uri+` 984`);}catch{}try{Dt.dname.full[0].dn.hex!==void 0&&(Ht+=" "+It.hex2dn(Dt.dpname.full[0].dn.hex)+` 985`);}catch{}}return Ht},at=function($t){for(var Ht="",qt=$t.array,Pt=0;Pt<qt.length;Pt++){var Dt=qt[Pt];Dt.caissuer!==void 0&&(Ht+=" caissuer: "+Dt.caissuer+` 986`),Dt.ocsp!==void 0&&(Ht+=" ocsp: "+Dt.ocsp+` 987`);}return Ht};
987if(d=`Basic Fields 988`,d+=" serial number: "+this.getSerialNumberHex()+` 989`,d+=" signature algorithm: "+this.getSignatureAlgorithmField()+` 990`,d+=" issuer: "+this.getIssuerString()+` 991`,d+=" notBefore: "+this.getNotBefore()+` 992`,d+=" notAfter: "+this.getNotAfter()+` 993`,d+=" subject: "+this.getSubjectString()+` 994`,d+=` subject public key info: 995`,d+=" key algorithm: "+(x=this.getPublicKey()).type+` 996`,x.type==="RSA"&&(d+=" n="+ur(x.n.toString(16)).substr(0,16)+`... 997`,d+=" e="+ur(x.e.toString(16))+` 998`),(I=this.aExtInfo)!=null){d+=`X509v3 Extensions: 999`;for(var et=0;et<I.length;et++){var gt=I[et],ot=v.asn1.x509.OID.oid2name(gt.oid);ot===""&&(ot=gt.oid);var ct="";if(gt.critical===!0&&(ct="CRITICAL"),d+=" "+ot+" "+ct+`: 1000`,ot==="basicConstraints"){var yt=this.getExtBasicConstraints();yt.cA===void 0?d+=` {} 1001`:(d+=" cA=true",yt.pathLen!==void 0&&(d+=", pathLen="+yt.pathLen),d+=` 1002`);}else if(ot==="keyUsage")d+=" "+this.getExtKeyUsageString()+` 1003`;else if(ot==="subjectKeyIdentifier")d+=" "+this.getExtSubjectKeyIdentifier().kid.hex+` 1004`;else if(ot==="authorityKeyIdentifier"){var Ft=this.getExtAuthorityKeyIdentifier();Ft.kid!==void 0&&(d+=" kid="+Ft.kid.hex+` 1005`);}else ot==="extKeyUsage"?d+=" "+this.getExtExtKeyUsage().array.join(", ")+` 1006`:ot==="subjectAltName"?d+=" "+D(this.getExtSubjectAltName())+` 1007`:ot==="cRLDistributionPoints"?d+=$(this.getExtCRLDistributionPoints()):ot==="authorityInfoAccess"?d+=at(this.getExtAuthorityInfoAccess()):ot==="certificatePolicies"&&(d+=z(this.getExtCertificatePolicies()));}}return d+="signature algorithm: "+this.getSignatureAlgorithmName()+` 1008`,d+="signature: "+this.getSignatureValueHex().substr(0,16)+`... 1009`},typeof e=="string"&&(e.indexOf("-----BEGIN")!=-1?this.readCertPEM(e):v.lang.String.isHex(e)&&this.readCertHex(e));}ht.prototype.sign=function(e,t){var r=(function(n){return v.crypto.Util.hashString(n,t)})(e);return this.signWithMessageHash(r,t)},ht.prototype.signWithMessageHash=function(e,t){var r=Gt(v.crypto.Util.getPaddedDigestInfoHex(e,t,this.n.bitLength()),16);return kr(this.doPrivate(r).toString(16),this.n.bitLength())},ht.prototype.signPSS=function(e,t,r){var i=(function(s){return v.crypto.Util.hashHex(s,t)})(ge(e));return r===void 0&&(r=-1),this.signWithMessageHashPSS(i,t,r)},ht.prototype.signWithMessageHashPSS=function(e,t,r){var i,n=ee(e),s=n.length,f=this.n.bitLength()-1,b=Math.ceil(f/8),m=function(d){return v.crypto.Util.hashHex(d,t)};if(r===-1||r===void 0)r=s;else if(r===-2)r=b-s-2;else if(r<-2)throw new Error("invalid salt length");if(b<s+r+2)throw new Error("data too long");var _="";r>0&&(_=new Array(r),new jt().nextBytes(_),_=String.fromCharCode.apply(String,_));var F=ee(m(ge("\0\0\0\0\0\0\0\0"+n+_))),k=[];for(i=0;i<b-r-s-2;i+=1)k[i]=0;var U=String.fromCharCode.apply(String,k)+"�"+_,H=Tr(F,U.length,m),J=[];for(i=0;i<U.length;i+=1)J[i]=U.charCodeAt(i)^H.charCodeAt(i);var G=65280>>8*b-f&255;for(J[0]&=~G,i=0;i<s;i++)J.push(F.charCodeAt(i));return J.push(188),kr(this.doPrivate(new V(J)).toString(16),this.n.bitLength())},ht.prototype.verify=function(e,t){var r=Gt(t=(t=t.replace(ti,"")).replace(/[ \n]+/g,""),16);if(r.bitLength()>this.n.bitLength())return 0;var i=Pr(this.doPublic(r).toString(16).replace(/^1f+00/,""));if(i.length==0)return !1;var n=i[0];return i[1]==(function(f){return v.crypto.Util.hashString(f,n)})(e)},ht.prototype.verifyWithMessageHash=function(e,t){if(t.length!=Math.ceil(this.n.bitLength()/4))return !1;var r=Gt(t,16);if(r.bitLength()>this.n.bitLength())return 0;var i=Pr(this.doPublic(r).toString(16).replace(/^1f+00/,""));return i.length==0?!1:(i[0],i[1]==e)},ht.prototype.verifyPSS=function(e,t,r,i){var n=(function(f){return v.crypto.Util.hashHex(f,r)})(ge(e));return i===void 0&&(i=-1),this.verifyWithMessageHashPSS(n,t,r,i)},ht.prototype.verifyWithMessageHashPSS=function(e,t,r,i){if(t.length!=Math.ceil(this.n.bitLength()/4))return !1;var n,s=new V(t,16),f=function(I){return v.crypto.Util.hashHex(I,r)},b=ee(e),m=b.length,_=this.n.bitLength()-1,F=Math.ceil(_/8);if(i===-1||i===void 0)i=m;else if(i===-2)i=F-m-2;else if(i<-2)throw new Error("invalid salt length");if(F<m+i+2)throw new Error("data too long");var k=this.doPublic(s).toByteArray();for(n=0;n<k.length;n+=1)k[n]&=255;for(;
1009k.length<F;)k.unshift(0);if(k[F-1]!==188)throw new Error("encoded message does not end in 0xbc");var U=(k=String.fromCharCode.apply(String,k)).substr(0,F-m-1),H=k.substr(U.length,m),J=65280>>8*F-_&255;if((U.charCodeAt(0)&J)!=0)throw new Error("bits beyond keysize not zero");var G=Tr(H,U.length,f),X=[];for(n=0;n<U.length;n+=1)X[n]=U.charCodeAt(n)^G.charCodeAt(n);X[0]&=~J;var d=F-m-i-2;for(n=0;n<d;n+=1)if(X[n]!==0)throw new Error("leftmost octets not zero");if(X[d]!==1)throw new Error("0x01 marker not found");return H===ee(f(ge("\0\0\0\0\0\0\0\0"+b+String.fromCharCode.apply(String,X.slice(-i)))))},ht.SALT_LEN_HLEN=-1,ht.SALT_LEN_MAX=-2,ht.SALT_LEN_RECOVER=-2,It.hex2dn=function(e,t){if(t===void 0&&(t=0),e.substr(t,2)!=="30")throw new Error("malformed DN");for(var r=new Array,i=it.getChildIdx(e,t),n=0;n<i.length;n++)r.push(It.hex2rdn(e,i[n]));return "/"+(r=r.map(function(s){return s.replace("/","\\/")})).join("/")},It.hex2rdn=function(e,t){if(t===void 0&&(t=0),e.substr(t,2)!=="31")throw new Error("malformed RDN");for(var r=new Array,i=it.getChildIdx(e,t),n=0;n<i.length;n++)r.push(It.hex2attrTypeValue(e,i[n]));return (r=r.map(function(s){return s.replace("+","\\+")})).join("+")},It.hex2attrTypeValue=function(e,t){var r=it,i=r.getV;if(t===void 0&&(t=0),e.substr(t,2)!=="30")throw new Error("malformed attribute type and value");var n=r.getChildIdx(e,t);n.length!==2||e.substr(n[0],2);var s=i(e,n[0]),f=v.asn1.ASN1Util.oidHexToInt(s);return v.asn1.x509.OID.oid2atype(f)+"="+ee(i(e,n[1]))},It.getPublicKeyFromCertHex=function(e){var t=new It;return t.readCertHex(e),t.getPublicKey()},It.getPublicKeyFromCertPEM=function(e){var t=new It;return t.readCertPEM(e),t.getPublicKey()},It.getPublicKeyInfoPropOfCertPEM=function(e){var t,r,i=it.getVbyList,n={};return n.algparam=null,(t=new It).readCertPEM(e),r=t.getPublicKeyHex(),n.keyhex=i(r,0,[1],"03").substr(2),n.algoid=i(r,0,[0,0],"06"),n.algoid==="2a8648ce3d0201"&&(n.algparam=i(r,0,[0,1],"06")),n},It.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],v!==void 0&&v||(g.KJUR=v={}),v.jws!==void 0&&v.jws||(v.jws={}),v.jws.JWS=function(){var e=v.jws.JWS.isSafeJSONString;this.parseJWS=function(t,r){if(this.parsedJWS===void 0||!r&&this.parsedJWS.sigvalH===void 0){var i=t.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(i==null)throw "JWS signature is not a form of 'Head.Payload.SigValue'.";var n=i[1],s=i[2],f=i[3],b=n+"."+s;if(this.parsedJWS={},this.parsedJWS.headB64U=n,this.parsedJWS.payloadB64U=s,this.parsedJWS.sigvalB64U=f,this.parsedJWS.si=b,!r){var m=_t(f),_=Gt(m,16);this.parsedJWS.sigvalH=m,this.parsedJWS.sigvalBI=_;}var F=ae(n),k=ae(s);if(this.parsedJWS.headS=F,this.parsedJWS.payloadS=k,!e(F,this.parsedJWS,"headP"))throw "malformed JSON string for JWS Head: "+F}};},v.jws.JWS.sign=function(e,t,r,i,n){var s,f,b,m=v,_=m.jws.JWS,F=_.readSafeJSONString,k=_.isSafeJSONString,U=m.crypto,H=(U.ECDSA,U.Mac),J=U.Signature,G=JSON;if(typeof t!="string"&&(t===void 0?"undefined":l(t))!="object")throw "spHeader must be JSON string or object: "+t;if((t===void 0?"undefined":l(t))=="object"&&(f=t,s=G.stringify(f)),typeof t=="string"){if(!k(s=t))throw "JWS Head is not safe JSON string: "+s;f=F(s);}if(b=r,(r===void 0?"undefined":l(r))=="object"&&(b=G.stringify(r)),e!=""&&e!=null||f.alg===void 0||(e=f.alg),e!=""&&e!=null&&f.alg===void 0&&(f.alg=e,s=G.stringify(f)),e!==f.alg)throw "alg and sHeader.alg doesn't match: "+e+"!="+f.alg;var X=null;if(_.jwsalg2sigalg[e]===void 0)throw "unsupported alg name: "+e;X=_.jwsalg2sigalg[e];var d=Re(s)+"."+Re(b),x="";if(X.substr(0,4)=="Hmac"){if(i===void 0)throw "mac key shall be specified for HS* alg";var I=new H({alg:X,prov:"cryptojs",pass:i});I.updateString(d),x=I.doFinal();}else if(X.indexOf("withECDSA")!=-1){(z=new J({alg:X})).init(i,n),z.updateString(d);var D=z.sign();x=v.crypto.ECDSA.asn1SigToConcatSig(D);}else {var z;X!="none"&&((z=new J({alg:X})).init(i,n),z.updateString(d),x=z.sign());}return d+"."+Ut(x)},v.jws.JWS.verify=function(e,t,r){var i,n=v,s=n.jws.JWS,f=s.readSafeJSONString,b=n.crypto,m=b.ECDSA,_=b.Mac,F=b.Signature;l(ht)!==void 0&&(i=ht);var k=e.split(".");if(k.length!==3)return !1;var U=k[0]+"."+k[1],H=_t(k[2]),J=f(ae(k[0])),G=null,X=null;if(J.alg===void 0)throw "algorithm not specified in header";if(X=(G=J.alg).substr(0,2),r!=null&&Object.prototype.toString.call(r)==="[object Array]"&&r.length>0&&(":"+r.join(":")+":").indexOf(":"+G+":")==-1)throw "algorithm '"+G+"' not accepted in the list";if(G!="none"&&t===null)throw "key shall be specified to verify.";if(typeof t=="string"&&t.indexOf("-----BEGIN ")!=-1&&(t=Rt.getKey(t)),!(X!="RS"&&X!="PS"||t instanceof i))throw "key shall be a RSAKey obj for RS* and PS* algs";if(X=="ES"&&!(t instanceof m))throw "key shall be a ECDSA obj for ES* algs";var d=null;if(s.jwsalg2sigalg[J.alg]===void 0)throw "unsupported alg name: "+G;if((d=s.jwsalg2sigalg[G])=="none")throw "not supported";if(d.substr(0,4)=="Hmac"){if(t===void 0)throw "hexadecimal key shall be specified for HMAC";var x=new _({alg:d,pass:t});return x.updateString(U),H==x.doFinal()}if(d.indexOf("withECDSA")!=-1){var I,D=null;try{D=m.concatSigToASN1Sig(H);}catch{return !1}return (I=new F({alg:d})).init(t),I.updateString(U),I.verify(D)}return (I=new F({alg:d})).init(t),I.updateString(U),I.verify(H)},v.jws.JWS.parse=function(e){var t,r,i,n=e.split("."),s={};if(n.length!=2&&n.length!=3)throw "malformed sJWS: wrong number of '.' splitted elements";return t=n[0],r=n[1],n.length==3&&(i=n[2]),s.headerObj=v.jws.JWS.readSafeJSONString(ae(t)),s.payloadObj=v.jws.JWS.readSafeJSONString(ae(r)),s.headerPP=JSON.stringify(s.headerObj,null," "),s.payloadObj==null?s.payloadPP=ae(r):s.payloadPP=JSON.stringify(s.payloadObj,null," "),i!==void 0&&(s.sigHex=_t(i)),s},v.jws.JWS.verifyJWT=function(e,t,r){var i=v.jws,n=i.JWS,s=n.readSafeJSONString,f=n.inArray,b=n.includedArray,m=e.split("."),_=m[0],F=m[1],k=(_t(m[2]),s(ae(_))),U=s(ae(F));if(k.alg===void 0)return !1;
1009if(r.alg===void 0)throw "acceptField.alg shall be specified";if(!f(k.alg,r.alg)||U.iss!==void 0&&l(r.iss)==="object"&&!f(U.iss,r.iss)||U.sub!==void 0&&l(r.sub)==="object"&&!f(U.sub,r.sub))return !1;if(U.aud!==void 0&&l(r.aud)==="object"){if(typeof U.aud=="string"){if(!f(U.aud,r.aud))return !1}else if(l(U.aud)=="object"&&!b(U.aud,r.aud))return !1}var H=i.IntDate.getNow();return r.verifyAt!==void 0&&typeof r.verifyAt=="number"&&(H=r.verifyAt),r.gracePeriod!==void 0&&typeof r.gracePeriod=="number"||(r.gracePeriod=0),!(U.exp!==void 0&&typeof U.exp=="number"&&U.exp+r.gracePeriod<H)&&!(U.nbf!==void 0&&typeof U.nbf=="number"&&H<U.nbf-r.gracePeriod)&&!(U.iat!==void 0&&typeof U.iat=="number"&&H<U.iat-r.gracePeriod)&&(U.jti===void 0||r.jti===void 0||U.jti===r.jti)&&!!n.verify(e,t,r.alg)},v.jws.JWS.includedArray=function(e,t){var r=v.jws.JWS.inArray;if(e===null||(e===void 0?"undefined":l(e))!=="object"||typeof e.length!="number")return !1;for(var i=0;i<e.length;i++)if(!r(e[i],t))return !1;return !0},v.jws.JWS.inArray=function(e,t){if(t===null||(t===void 0?"undefined":l(t))!=="object"||typeof t.length!="number")return !1;for(var r=0;r<t.length;r++)if(t[r]==e)return !0;return !1},v.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS384:"HmacSHA384",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},v.jws.JWS.isSafeJSONString=function(e,t,r){var i=null;try{return ((i=vr(e))===void 0?"undefined":l(i))!="object"||i.constructor===Array?0:(t&&(t[r]=i),1)}catch{return 0}},v.jws.JWS.readSafeJSONString=function(e){var t=null;try{return ((t=vr(e))===void 0?"undefined":l(t))!="object"||t.constructor===Array?null:t}catch{return null}},v.jws.JWS.getEncodedSignatureValueFromJWS=function(e){var t=e.match(/^[^.]+\.[^.]+\.([^.]+)$/);if(t==null)throw "JWS signature is not a form of 'Head.Payload.SigValue'.";return t[1]},v.jws.JWS.getJWKthumbprint=function(e){if(e.kty!=="RSA"&&e.kty!=="EC"&&e.kty!=="oct")throw "unsupported algorithm for JWK Thumprint";var t="{";if(e.kty==="RSA"){if(typeof e.n!="string"||typeof e.e!="string")throw "wrong n and e value for RSA key";t+='"e":"'+e.e+'",',t+='"kty":"'+e.kty+'",',t+='"n":"'+e.n+'"}';}else if(e.kty==="EC"){if(typeof e.crv!="string"||typeof e.x!="string"||typeof e.y!="string")throw "wrong crv, x and y value for EC key";t+='"crv":"'+e.crv+'",',t+='"kty":"'+e.kty+'",',t+='"x":"'+e.x+'",',t+='"y":"'+e.y+'"}';}else if(e.kty==="oct"){if(typeof e.k!="string")throw "wrong k value for oct(symmetric) key";t+='"kty":"'+e.kty+'",',t+='"k":"'+e.k+'"}';}var r=ge(t);return Ut(v.crypto.Util.hashHex(r,"sha256"))},v.jws.IntDate={},v.jws.IntDate.get=function(e){var t=v.jws.IntDate,r=t.getNow,i=t.getZulu;if(e=="now")return r();if(e=="now + 1hour")return r()+3600;if(e=="now + 1day")return r()+86400;if(e=="now + 1month")return r()+2592e3;if(e=="now + 1year")return r()+31536e3;if(e.match(/Z$/))return i(e);if(e.match(/^[0-9]+$/))return parseInt(e);throw "unsupported format: "+e},v.jws.IntDate.getZulu=function(e){return wr(e)},v.jws.IntDate.getNow=function(){return ~~(new Date/1e3)},v.jws.IntDate.intDate2UTCString=function(e){return new Date(1e3*e).toUTCString()},v.jws.IntDate.intDate2Zulu=function(e){var t=new Date(1e3*e);return ("0000"+t.getUTCFullYear()).slice(-4)+("00"+(t.getUTCMonth()+1)).slice(-2)+("00"+t.getUTCDate()).slice(-2)+("00"+t.getUTCHours()).slice(-2)+("00"+t.getUTCMinutes()).slice(-2)+("00"+t.getUTCSeconds()).slice(-2)+"Z"},g.SecureRandom=jt,g.rng_seed_time=Q,g.BigInteger=V,g.RSAKey=ht;var ei=v.crypto.EDSA;g.EDSA=ei;var ri=v.crypto.DSA;g.DSA=ri;var ii=v.crypto.Signature;g.Signature=ii;var ni=v.crypto.MessageDigest;g.MessageDigest=ni;var oi=v.crypto.Mac;g.Mac=oi;var si=v.crypto.Cipher;g.Cipher=si,g.KEYUTIL=Rt,g.ASN1HEX=it,g.X509=It,g.CryptoJS=M,g.b64tohex=rt,g.b64toBA=nt,g.stoBA=mr,g.BAtos=yr,g.BAtohex=We,g.stohex=pe,g.stob64=function(t){return tt(pe(t))},g.stob64u=function(t){return Je(tt(pe(t)))},g.b64utos=function(t){return yr(nt(Ie(t)))},g.b64tob64u=Je,g.b64utob64=Ie,g.hex2b64=tt,g.hextob64u=Ut,g.b64utohex=_t,g.utf8tob64u=Re,g.b64utoutf8=ae,g.utf8tob64=function(t){return tt(ze(Ge(t)))},g.b64toutf8=function(t){return decodeURIComponent(Ye(rt(t)))},g.utf8tohex=or,g.hextoutf8=Bt,g.hextorstr=ee,g.rstrtohex=ge,g.hextob64=Sr,g.hextob64nl=_r,g.b64nltohex=br,g.hextopem=Xt,g.pemtohex=fe,g.hextoArrayBuffer=function(t){if(t.length%2!=0)throw "input is not even length";if(t.match(/^[0-9A-Fa-f]+$/)==null)throw "input is not hexadecimal";for(var r=new ArrayBuffer(t.length/2),i=new DataView(r),n=0;n<t.length/2;n++)i.setUint8(n,parseInt(t.substr(2*n,2),16));return r},g.ArrayBuffertohex=function(t){for(var r="",i=new DataView(t),n=0;n<t.byteLength;n++)r+=("00"+i.getUint8(n).toString(16)).slice(-2);return r},g.zulutomsec=sr,g.zulutosec=wr,g.zulutodate=function(t){return new Date(sr(t))},g.datetozulu=function(t,r,i){var n,s=t.getUTCFullYear();if(r){if(s<1950||2049<s)throw "not proper year for UTCTime: "+s;n=(""+s).slice(-2);}else n=("000"+s).slice(-4);if(n+=("0"+(t.getUTCMonth()+1)).slice(-2),n+=("0"+t.getUTCDate()).slice(-2),n+=("0"+t.getUTCHours()).slice(-2),n+=("0"+t.getUTCMinutes()).slice(-2),n+=("0"+t.getUTCSeconds()).slice(-2),i){var f=t.getUTCMilliseconds();f!==0&&(n+="."+(f=(f=("00"+f).slice(-3)).replace(/0+$/g,"")));}return n+="Z"},g.uricmptohex=ze,g.hextouricmp=Ye,g.ipv6tohex=Fr,g.hextoipv6=Er,g.hextoip=ar,g.iptohex=function(t){var r="malformed IP address";if(!(t=t.toLowerCase(t)).match(/^[0-9.]+$/)){if(t.match(/^[0-9a-f:]+$/)&&t.indexOf(":")!==-1)return Fr(t);throw r}var i=t.split(".");if(i.length!==4)throw r;var n="";try{for(var s=0;s<4;s++)n+=("0"+parseInt(i[s]).toString(16)).slice(-2);return n}catch{throw r}},g.encodeURIComponentAll=Ge,g.newline_toUnix=function(t){return t=t.replace(/\r\n/gm,` 1010`)},g.newline_toDos=function(t){return t=(t=t.replace(/\r\n/gm,` 1011`)).replace(/\n/gm,`\r 1012`)},g.hextoposhex=ur,g.intarystrtohex=function(t){t=(t=(t=t.replace(/^\s*\[\s*/,"")).replace(/\s*\]\s*$/,"")).replace(/\s*/g,"");try{return t.split(/,/).map(function(r,i,n){var s=parseInt(r);if(s<0||255<s)throw "integer not in range 0-255";return ("00"+s.toString(16)).slice(-2)}).join("")}catch(r){throw "malformed integer array string: "+r}},g.strdiffidx=function(t,r){var i=t.length;t.length>r.length&&(i=r.length);for(var n=0;n<i;n++)if(t.charCodeAt(n)!=r.charCodeAt(n))return n;
1012return t.length!=r.length?i:-1},g.KJUR=v;var ai=v.crypto;g.crypto=ai;var ui=v.asn1;g.asn1=ui;var ci=v.jws;g.jws=ci;var hi=v.lang;g.lang=hi;}).call(this,P(28).Buffer);},function(Z,g,P){"use strict";(function(S){var l=P(30),w=P(31),y=P(32);function a(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(N,c){if(a()<c)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(N=new Uint8Array(c)).__proto__=o.prototype:(N===null&&(N=new o(c)),N.length=c),N}function o(N,c,h){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(N,c,h);if(typeof N=="number"){if(typeof c=="string")throw new Error("If encoding is specified then the first argument must be a string");return E(this,N)}return p(this,N,c,h)}function p(N,c,h,L){if(typeof c=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&c instanceof ArrayBuffer?(function(W,Q,st,lt){if(Q.byteLength,st<0||Q.byteLength<st)throw new RangeError("'offset' is out of bounds");if(Q.byteLength<st+(lt||0))throw new RangeError("'length' is out of bounds");return Q=st===void 0&<===void 0?new Uint8Array(Q):lt===void 0?new Uint8Array(Q,st):new Uint8Array(Q,st,lt),o.TYPED_ARRAY_SUPPORT?(W=Q).__proto__=o.prototype:W=j(W,Q),W})(N,c,h,L):typeof c=="string"?(function(W,Q,st){if(typeof st=="string"&&st!==""||(st="utf8"),!o.isEncoding(st))throw new TypeError('"encoding" must be a valid string encoding');var lt=0|T(Q,st),mt=(W=u(W,lt)).write(Q,st);return mt!==lt&&(W=W.slice(0,mt)),W})(N,c,h):(function(W,Q){if(o.isBuffer(Q)){var st=0|R(Q.length);return (W=u(W,st)).length===0||Q.copy(W,0,0,st),W}if(Q){if(typeof ArrayBuffer<"u"&&Q.buffer instanceof ArrayBuffer||"length"in Q)return typeof Q.length!="number"||(function(mt){return mt!=mt})(Q.length)?u(W,0):j(W,Q);if(Q.type==="Buffer"&&y(Q.data))return j(W,Q.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")})(N,c)}function C(N){if(typeof N!="number")throw new TypeError('"size" argument must be a number');if(N<0)throw new RangeError('"size" argument must not be negative')}function E(N,c){if(C(c),N=u(N,c<0?0:0|R(c)),!o.TYPED_ARRAY_SUPPORT)for(var h=0;h<c;++h)N[h]=0;return N}function j(N,c){var h=c.length<0?0:0|R(c.length);N=u(N,h);for(var L=0;L<h;L+=1)N[L]=255&c[L];return N}function R(N){if(N>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|N}function T(N,c){if(o.isBuffer(N))return N.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(N)||N instanceof ArrayBuffer))return N.byteLength;typeof N!="string"&&(N=""+N);var h=N.length;if(h===0)return 0;for(var L=!1;;)switch(c){case "ascii":case "latin1":case "binary":return h;case "utf8":case "utf-8":case void 0:return Nt(N).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*h;case "hex":return h>>>1;case "base64":return Yt(N).length;default:if(L)return Nt(N).length;c=(""+c).toLowerCase(),L=!0;}}function A(N,c,h){var L=!1;if((c===void 0||c<0)&&(c=0),c>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0)<=(c>>>=0))return "";for(N||(N="utf8");;)switch(N){case "hex":return Zt(this,c,h);case "utf8":case "utf-8":return St(this,c,h);case "ascii":return Mt(this,c,h);case "latin1":case "binary":return At(this,c,h);case "base64":return ut(this,c,h);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return Ct(this,c,h);default:if(L)throw new TypeError("Unknown encoding: "+N);N=(N+"").toLowerCase(),L=!0;}}function B(N,c,h){var L=N[c];N[c]=N[h],N[h]=L;}function Y(N,c,h,L,K){if(N.length===0)return -1;if(typeof h=="string"?(L=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,isNaN(h)&&(h=K?0:N.length-1),h<0&&(h=N.length+h),h>=N.length){if(K)return -1;h=N.length-1;}else if(h<0){if(!K)return -1;h=0;}if(typeof c=="string"&&(c=o.from(c,L)),o.isBuffer(c))return c.length===0?-1:M(N,c,h,L,K);if(typeof c=="number")return c&=255,o.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?K?Uint8Array.prototype.indexOf.call(N,c,h):Uint8Array.prototype.lastIndexOf.call(N,c,h):M(N,[c],h,L,K);throw new TypeError("val must be string, number or Buffer")}function M(N,c,h,L,K){var W,Q=1,st=N.length,lt=c.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(N.length<2||c.length<2)return -1;
1012Q=2,st/=2,lt/=2,h/=2;}function mt(Gt,se){return Q===1?Gt[se]:Gt.readUInt16BE(se*Q)}if(K){var pt=-1;for(W=h;W<st;W++)if(mt(N,W)===mt(c,pt===-1?0:W-pt)){if(pt===-1&&(pt=W),W-pt+1===lt)return pt*Q}else pt!==-1&&(W-=W-pt),pt=-1;}else for(h+lt>st&&(h=st-lt),W=h;W>=0;W--){for(var Tt=!0,jt=0;jt<lt;jt++)if(mt(N,W+jt)!==mt(c,jt)){Tt=!1;break}if(Tt)return W}return -1}function q(N,c,h,L){h=Number(h)||0;var K=N.length-h;L?(L=Number(L))>K&&(L=K):L=K;var W=c.length;if(W%2!=0)throw new TypeError("Invalid hex string");L>W/2&&(L=W/2);for(var Q=0;Q<L;++Q){var st=parseInt(c.substr(2*Q,2),16);if(isNaN(st))return Q;N[h+Q]=st;}return Q}function O(N,c,h,L){return Kt(Nt(c,N.length-h),N,h,L)}function tt(N,c,h,L){return Kt((function(W){for(var Q=[],st=0;st<W.length;++st)Q.push(255&W.charCodeAt(st));return Q})(c),N,h,L)}function rt(N,c,h,L){return tt(N,c,h,L)}function nt(N,c,h,L){return Kt(Yt(c),N,h,L)}function V(N,c,h,L){return Kt((function(W,Q){for(var st,lt,mt,pt=[],Tt=0;Tt<W.length&&!((Q-=2)<0);++Tt)lt=(st=W.charCodeAt(Tt))>>8,mt=st%256,pt.push(mt),pt.push(lt);return pt})(c,N.length-h),N,h,L)}function ut(N,c,h){return c===0&&h===N.length?l.fromByteArray(N):l.fromByteArray(N.slice(c,h))}function St(N,c,h){h=Math.min(N.length,h);for(var L=[],K=c;K<h;){var W,Q,st,lt,mt=N[K],pt=null,Tt=mt>239?4:mt>223?3:mt>191?2:1;if(K+Tt<=h)switch(Tt){case 1:mt<128&&(pt=mt);break;case 2:(192&(W=N[K+1]))==128&&(lt=(31&mt)<<6|63&W)>127&&(pt=lt);break;case 3:W=N[K+1],Q=N[K+2],(192&W)==128&&(192&Q)==128&&(lt=(15&mt)<<12|(63&W)<<6|63&Q)>2047&&(lt<55296||lt>57343)&&(pt=lt);break;case 4:W=N[K+1],Q=N[K+2],st=N[K+3],(192&W)==128&&(192&Q)==128&&(192&st)==128&&(lt=(15&mt)<<18|(63&W)<<12|(63&Q)<<6|63&st)>65535&<<1114112&&(pt=lt);}pt===null?(pt=65533,Tt=1):pt>65535&&(pt-=65536,L.push(pt>>>10&1023|55296),pt=56320|1023&pt),L.push(pt),K+=Tt;}return (function(Gt){var se=Gt.length;if(se<=wt)return String.fromCharCode.apply(String,Gt);for(var ht="",kt=0;kt<se;)ht+=String.fromCharCode.apply(String,Gt.slice(kt,kt+=wt));return ht})(L)}g.Buffer=o,g.SlowBuffer=function(c){return +c!=c&&(c=0),o.alloc(+c)},g.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=S.TYPED_ARRAY_SUPPORT!==void 0?S.TYPED_ARRAY_SUPPORT:(function(){try{var c=new Uint8Array(1);return c.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},c.foo()===42&&typeof c.subarray=="function"&&c.subarray(1,1).byteLength===0}catch{return !1}})(),g.kMaxLength=a(),o.poolSize=8192,o._augment=function(N){return N.__proto__=o.prototype,N},o.from=function(N,c,h){return p(null,N,c,h)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(N,c,h){return (function(K,W,Q,st){return C(W),W<=0?u(K,W):Q!==void 0?typeof st=="string"?u(K,W).fill(Q,st):u(K,W).fill(Q):u(K,W)})(null,N,c,h)},o.allocUnsafe=function(N){return E(null,N)},o.allocUnsafeSlow=function(N){return E(null,N)},o.isBuffer=function(c){return !(c==null||!c._isBuffer)},o.compare=function(c,h){if(!o.isBuffer(c)||!o.isBuffer(h))throw new TypeError("Arguments must be Buffers");if(c===h)return 0;for(var L=c.length,K=h.length,W=0,Q=Math.min(L,K);W<Q;++W)if(c[W]!==h[W]){L=c[W],K=h[W];break}return L<K?-1:K<L?1:0},o.isEncoding=function(c){switch(String(c).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}},o.concat=function(c,h){if(!y(c))throw new TypeError('"list" argument must be an Array of Buffers');if(c.length===0)return o.alloc(0);var L;if(h===void 0)for(h=0,L=0;L<c.length;++L)h+=c[L].length;var K=o.allocUnsafe(h),W=0;for(L=0;L<c.length;++L){var Q=c[L];if(!o.isBuffer(Q))throw new TypeError('"list" argument must be an Array of Buffers');Q.copy(K,W),W+=Q.length;}return K},o.byteLength=T,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var c=this.length;if(c%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var h=0;h<c;h+=2)B(this,h,h+1);return this},o.prototype.swap32=function(){var c=this.length;if(c%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var h=0;h<c;h+=4)B(this,h,h+3),B(this,h+1,h+2);return this},o.prototype.swap64=function(){var c=this.length;if(c%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var h=0;h<c;h+=8)B(this,h,h+7),B(this,h+1,h+6),B(this,h+2,h+5),B(this,h+3,h+4);return this},o.prototype.toString=function(){var c=0|this.length;return c===0?"":arguments.length===0?St(this,0,c):A.apply(this,arguments)},o.prototype.equals=function(c){if(!o.isBuffer(c))throw new TypeError("Argument must be a Buffer");return this===c||o.compare(this,c)===0},o.prototype.inspect=function(){var c="",h=g.INSPECT_MAX_BYTES;return this.length>0&&(c=this.toString("hex",0,h).match(/.{2}/g).join(" "),this.length>h&&(c+=" ... ")),"<Buffer "+c+">"},o.prototype.compare=function(c,h,L,K,W){if(!o.isBuffer(c))throw new TypeError("Argument must be a Buffer");if(h===void 0&&(h=0),L===void 0&&(L=c?c.length:0),K===void 0&&(K=0),W===void 0&&(W=this.length),h<0||L>c.length||K<0||W>this.length)throw new RangeError("out of range index");if(K>=W&&h>=L)return 0;if(K>=W)return -1;if(h>=L)return 1;if(this===c)return 0;for(var Q=(W>>>=0)-(K>>>=0),st=(L>>>=0)-(h>>>=0),lt=Math.min(Q,st),mt=this.slice(K,W),pt=c.slice(h,L),Tt=0;Tt<lt;++Tt)if(mt[Tt]!==pt[Tt]){Q=mt[Tt],st=pt[Tt];break}return Q<st?-1:st<Q?1:0},o.prototype.includes=function(c,h,L){return this.indexOf(c,h,L)!==-1},o.prototype.indexOf=function(c,h,L){return Y(this,c,h,L,!0)},o.prototype.lastIndexOf=function(c,h,L){return Y(this,c,h,L,!1)}
vendor: 5,363 bytes, line 1012
1012,o.prototype.write=function(c,h,L,K){if(h===void 0)K="utf8",L=this.length,h=0;else if(L===void 0&&typeof h=="string")K=h,L=this.length,h=0;else {if(!isFinite(h))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");h|=0,isFinite(L)?(L|=0,K===void 0&&(K="utf8")):(K=L,L=void 0);}var W=this.length-h;if((L===void 0||L>W)&&(L=W),c.length>0&&(L<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");K||(K="utf8");for(var Q=!1;;)switch(K){case "hex":return q(this,c,h,L);case "utf8":case "utf-8":return O(this,c,h,L);case "ascii":return tt(this,c,h,L);case "latin1":case "binary":return rt(this,c,h,L);case "base64":return nt(this,c,h,L);case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return V(this,c,h,L);default:if(Q)throw new TypeError("Unknown encoding: "+K);K=(""+K).toLowerCase(),Q=!0;}},o.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var wt=4096;function Mt(N,c,h){var L="";h=Math.min(N.length,h);for(var K=c;K<h;++K)L+=String.fromCharCode(127&N[K]);return L}function At(N,c,h){var L="";h=Math.min(N.length,h);for(var K=c;K<h;++K)L+=String.fromCharCode(N[K]);return L}function Zt(N,c,h){var L=N.length;(!c||c<0)&&(c=0),(!h||h<0||h>L)&&(h=L);for(var K="",W=c;W<h;++W)K+=ie(N[W]);return K}function Ct(N,c,h){for(var L=N.slice(c,h),K="",W=0;W<L.length;W+=2)K+=String.fromCharCode(L[W]+256*L[W+1]);return K}function ft(N,c,h){if(N%1!=0||N<0)throw new RangeError("offset is not uint");if(N+c>h)throw new RangeError("Trying to access beyond buffer length")}function dt(N,c,h,L,K,W){if(!o.isBuffer(N))throw new TypeError('"buffer" argument must be a Buffer instance');if(c>K||c<W)throw new RangeError('"value" argument is out of bounds');if(h+L>N.length)throw new RangeError("Index out of range")}function xt(N,c,h,L){c<0&&(c=65535+c+1);for(var K=0,W=Math.min(N.length-h,2);K<W;++K)N[h+K]=(c&255<<8*(L?K:1-K))>>>8*(L?K:1-K);}function Jt(N,c,h,L){c<0&&(c=4294967295+c+1);for(var K=0,W=Math.min(N.length-h,4);K<W;++K)N[h+K]=c>>>8*(L?K:3-K)&255;}function Vt(N,c,h,L,K,W){if(h+L>N.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function zt(N,c,h,L,K){return K||Vt(N,0,h,4),w.write(N,c,h,L,23,4),h+4}function te(N,c,h,L,K){return K||Vt(N,0,h,8),w.write(N,c,h,L,52,8),h+8}o.prototype.slice=function(c,h){var L,K=this.length;if((c=~~c)<0?(c+=K)<0&&(c=0):c>K&&(c=K),(h=h===void 0?K:~~h)<0?(h+=K)<0&&(h=0):h>K&&(h=K),h<c&&(h=c),o.TYPED_ARRAY_SUPPORT)(L=this.subarray(c,h)).__proto__=o.prototype;else {var W=h-c;L=new o(W,void 0);for(var Q=0;Q<W;++Q)L[Q]=this[Q+c];}return L},o.prototype.readUIntLE=function(c,h,L){c|=0,h|=0,L||ft(c,h,this.length);for(var K=this[c],W=1,Q=0;++Q<h&&(W*=256);)K+=this[c+Q]*W;return K},o.prototype.readUIntBE=function(c,h,L){c|=0,h|=0,L||ft(c,h,this.length);for(var K=this[c+--h],W=1;h>0&&(W*=256);)K+=this[c+--h]*W;return K},o.prototype.readUInt8=function(c,h){return h||ft(c,1,this.length),this[c]},o.prototype.readUInt16LE=function(c,h){return h||ft(c,2,this.length),this[c]|this[c+1]<<8},o.prototype.readUInt16BE=function(c,h){return h||ft(c,2,this.length),this[c]<<8|this[c+1]},o.prototype.readUInt32LE=function(c,h){return h||ft(c,4,this.length),(this[c]|this[c+1]<<8|this[c+2]<<16)+16777216*this[c+3]},o.prototype.readUInt32BE=function(c,h){return h||ft(c,4,this.length),16777216*this[c]+(this[c+1]<<16|this[c+2]<<8|this[c+3])},o.prototype.readIntLE=function(c,h,L){c|=0,h|=0,L||ft(c,h,this.length);for(var K=this[c],W=1,Q=0;++Q<h&&(W*=256);)K+=this[c+Q]*W;return K>=(W*=128)&&(K-=Math.pow(2,8*h)),K},o.prototype.readIntBE=function(c,h,L){c|=0,h|=0,L||ft(c,h,this.length);for(var K=h,W=1,Q=this[c+--K];K>0&&(W*=256);)Q+=this[c+--K]*W;return Q>=(W*=128)&&(Q-=Math.pow(2,8*h)),Q},o.prototype.readInt8=function(c,h){return h||ft(c,1,this.length),128&this[c]?-1*(255-this[c]+1):this[c]},o.prototype.readInt16LE=function(c,h){h||ft(c,2,this.length);var L=this[c]|this[c+1]<<8;return 32768&L?4294901760|L:L},o.prototype.readInt16BE=function(c,h){h||ft(c,2,this.length);var L=this[c+1]|this[c]<<8;return 32768&L?4294901760|L:L},o.prototype.readInt32LE=function(c,h){return h||ft(c,4,this.length),this[c]|this[c+1]<<8|this[c+2]<<16|this[c+3]<<24},o.prototype.readInt32BE=function(c,h){return h||ft(c,4,this.length),this[c]<<24|this[c+1]<<16|this[c+2]<<8|this[c+3]},o.prototype.readFloatLE=function(c,h){return h||ft(c,4,this.length),w.read(this,c,!0,23,4)},o.prototype.readFloatBE=function(c,h){return h||ft(c,4,this.length),w.read(this,c,!1,23,4)},o.prototype.readDoubleLE=function(c,h){return h||ft(c,8,this.length),w.read(this,c,!0,52,8)},o.prototype.readDoubleBE=function(c,h){return h||ft(c,8,this.length),w.read(this,c,!1,52,8)},o.prototype.writeUIntLE=function(c,h,L,K){c=+c,h|=0,L|=0,K||dt(this,c,h,L,Math.pow(2,8*L)-1,0);var W=1,Q=0;for(this[h]=255&c;++Q<L&&(W*=256);)this[h+Q]=c/W&255;return h+L},o.prototype.writeUIntBE=function(c,h,L,K){c=+c,h|=0,L|=0,K||dt(this,c,h,L,Math.pow(2,8*L)-1,0);var W=L-1,Q=1;for(this[h+W]=255&c;--W>=0&&(Q*=256);)this[h+W]=c/Q&255;return h+L},o.prototype.writeUInt8=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,1,255,0),o.TYPED_ARRAY_SUPPORT||(c=Math.floor(c)),this[h]=255&c,h+1},o.prototype.writeUInt16LE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[h]=255&c,this[h+1]=c>>>
10128):xt(this,c,h,!0),h+2},o.prototype.writeUInt16BE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[h]=c>>>8,this[h+1]=255&c):xt(this,c,h,!1),h+2},o.prototype.writeUInt32LE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[h+3]=c>>>24,this[h+2]=c>>>16,this[h+1]=c>>>8,this[h]=255&c):Jt(this,c,h,!0),h+4},o.prototype.writeUInt32BE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[h]=c>>>24,this[h+1]=c>>>16,this[h+2]=c>>>8,this[h+3]=255&c):Jt(this,c,h,!1),h+4},o.prototype.writeIntLE=function(c,h,L,K){if(c=+c,h|=0,!K){var W=Math.pow(2,8*L-1);dt(this,c,h,L,W-1,-W);}var Q=0,st=1,lt=0;for(this[h]=255&c;++Q<L&&(st*=256);)c<0&<===0&&this[h+Q-1]!==0&&(lt=1),this[h+Q]=(c/st>>0)-lt&255;return h+L},o.prototype.writeIntBE=function(c,h,L,K){if(c=+c,h|=0,!K){var W=Math.pow(2,8*L-1);dt(this,c,h,L,W-1,-W);}var Q=L-1,st=1,lt=0;for(this[h+Q]=255&c;--Q>=0&&(st*=256);)c<0&<===0&&this[h+Q+1]!==0&&(lt=1),this[h+Q]=(c/st>>0)-lt&255;return h+L},o.prototype.writeInt8=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,1,127,-128),o.TYPED_ARRAY_SUPPORT||(c=Math.floor(c)),c<0&&(c=255+c+1),this[h]=255&c,h+1},o.prototype.writeInt16LE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[h]=255&c,this[h+1]=c>>>8):xt(this,c,h,!0),h+2},o.prototype.writeInt16BE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[h]=c>>>8,this[h+1]=255&c):xt(this,c,h,!1),h+2},o.prototype.writeInt32LE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[h]=255&c,this[h+1]=c>>>8,this[h+2]=c>>>16,this[h+3]=c>>>24):Jt(this,c,h,!0),h+4},o.prototype.writeInt32BE=function(c,h,L){return c=+c,h|=0,L||dt(this,c,h,4,2147483647,-2147483648),c<0&&(c=4294967295+c+1),o.TYPED_ARRAY_SUPPORT?(this[h]=c>>>24,this[h+1]=c>>>16,this[h+2]=c>>>8,this[h+3]=255&c):Jt(this,c,h,!1),h+4},o.prototype.writeFloatLE=function(c,h,L){return zt(this,c,h,!0,L)},o.prototype.writeFloatBE=function(c,h,L){return zt(this,c,h,!1,L)},o.prototype.writeDoubleLE=function(c,h,L){return te(this,c,h,!0,L)},o.prototype.writeDoubleBE=function(c,h,L){return te(this,c,h,!1,L)},o.prototype.copy=function(c,h,L,K){if(L||(L=0),K||K===0||(K=this.length),h>=c.length&&(h=c.length),h||(h=0),K>0&&K<L&&(K=L),K===L||c.length===0||this.length===0)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(L<0||L>=this.length)throw new RangeError("sourceStart out of bounds");if(K<0)throw new RangeError("sourceEnd out of bounds");K>this.length&&(K=this.length),c.length-h<K-L&&(K=c.length-h+L);var W,Q=K-L;if(this===c&&L<h&&h<K)for(W=Q-1;W>=0;--W)c[W+h]=this[W+L];else if(Q<1e3||!o.TYPED_ARRAY_SUPPORT)for(W=0;W<Q;++W)c[W+h]=this[W+L];else Uint8Array.prototype.set.call(c,this.subarray(L,L+Q),h);return Q},o.prototype.fill=function(c,h,L,K){if(typeof c=="string"){if(typeof h=="string"?(K=h,h=0,L=this.length):typeof L=="string"&&(K=L,L=this.length),c.length===1){var W=c.charCodeAt(0);W<256&&(c=W);}if(K!==void 0&&typeof K!="string")throw new TypeError("encoding must be a string");if(typeof K=="string"&&!o.isEncoding(K))throw new TypeError("Unknown encoding: "+K)}else typeof c=="number"&&(c&=255);if(h<0||this.length<h||this.length<L)throw new RangeError("Out of range index");if(L<=h)return this;var Q;if(h>>>=0,L=L===void 0?this.length:L>>>0,c||(c=0),typeof c=="number")for(Q=h;Q<L;++Q)this[Q]=c;else {var st=o.isBuffer(c)?c:Nt(new o(c,K).toString()),lt=st.length;for(Q=0;Q<L-h;++Q)this[Q+h]=st[Q%lt];}return this};var de=/[^+\/0-9A-Za-z-_]/g;function ie(N){return N<16?"0"+N.toString(16):N.toString(16)}function Nt(N,c){var h;c=c||1/0;for(var L=N.length,K=null,W=[],Q=0;Q<L;++Q){if((h=N.charCodeAt(Q))>55295&&h<57344){if(!K){if(h>56319){(c-=3)>-1&&W.push(239,191,189);continue}if(Q+1===L){(c-=3)>-1&&W.push(239,191,189);continue}K=h;continue}if(h<56320){(c-=3)>-1&&W.push(239,191,189),K=h;continue}h=65536+(K-55296<<10|h-56320);}else K&&(c-=3)>-1&&W.push(239,191,189);if(K=null,h<128){if((c-=1)<0)break;W.push(h);}else if(h<2048){if((c-=2)<0)break;W.push(h>>6|192,63&h|128);}
1012else if(h<65536){if((c-=3)<0)break;W.push(h>>12|224,h>>6&63|128,63&h|128);}else {if(!(h<1114112))throw new Error("Invalid code point");if((c-=4)<0)break;W.push(h>>18|240,h>>12&63|128,h>>6&63|128,63&h|128);}}return W}function Yt(N){return l.toByteArray((function(h){if((h=(function(K){return K.trim?K.trim():K.replace(/^\s+|\s+$/g,"")})(h).replace(de,"")).length<2)return "";for(;h.length%4!=0;)h+="=";return h})(N))}function Kt(N,c,h,L){for(var K=0;K<L&&!(K+h>=c.length||K>=N.length);++K)c[K+h]=N[K];return K}}).call(this,P(29));},function(Z,g){var P;P=(function(){return this})();try{P=P||new Function("return this")();}catch{typeof window=="object"&&(P=window);}Z.exports=P;},function(Z,g,P){"use strict";g.byteLength=function(E){var j=o(E),R=j[0],T=j[1];return 3*(R+T)/4-T},g.toByteArray=function(E){var j,R,T=o(E),A=T[0],B=T[1],Y=new w((function(tt,rt,nt){return 3*(rt+nt)/4-nt})(0,A,B)),M=0,q=B>0?A-4:A;for(R=0;R<q;R+=4)j=l[E.charCodeAt(R)]<<18|l[E.charCodeAt(R+1)]<<12|l[E.charCodeAt(R+2)]<<6|l[E.charCodeAt(R+3)],Y[M++]=j>>16&255,Y[M++]=j>>8&255,Y[M++]=255&j;return B===2&&(j=l[E.charCodeAt(R)]<<2|l[E.charCodeAt(R+1)]>>4,Y[M++]=255&j),B===1&&(j=l[E.charCodeAt(R)]<<10|l[E.charCodeAt(R+1)]<<4|l[E.charCodeAt(R+2)]>>2,Y[M++]=j>>8&255,Y[M++]=255&j),Y},g.fromByteArray=function(E){for(var j,R=E.length,T=R%3,A=[],B=16383,Y=0,M=R-T;Y<M;Y+=B)A.push(p(E,Y,Y+B>M?M:Y+B));return T===1?(j=E[R-1],A.push(S[j>>2]+S[j<<4&63]+"==")):T===2&&(j=(E[R-2]<<8)+E[R-1],A.push(S[j>>10]+S[j>>4&63]+S[j<<2&63]+"=")),A.join("")};for(var S=[],l=[],w=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=y.length;a<u;++a)S[a]=y[a],l[y.charCodeAt(a)]=a;function o(C){var E=C.length;if(E%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var j=C.indexOf("=");return j===-1&&(j=E),[j,j===E?0:4-j%4]}function p(C,E,j){for(var R,T,A=[],B=E;B<j;B+=3)R=(C[B]<<16&16711680)+(C[B+1]<<8&65280)+(255&C[B+2]),A.push(S[(T=R)>>18&63]+S[T>>12&63]+S[T>>6&63]+S[63&T]);return A.join("")}l[45]=62,l[95]=63;},function(Z,g){g.read=function(P,S,l,w,y){var a,u,o=8*y-w-1,p=(1<<o)-1,C=p>>1,E=-7,j=l?y-1:0,R=l?-1:1,T=P[S+j];for(j+=R,a=T&(1<<-E)-1,T>>=-E,E+=o;E>0;a=256*a+P[S+j],j+=R,E-=8);for(u=a&(1<<-E)-1,a>>=-E,E+=w;E>0;u=256*u+P[S+j],j+=R,E-=8);if(a===0)a=1-C;else {if(a===p)return u?NaN:1/0*(T?-1:1);u+=Math.pow(2,w),a-=C;}return (T?-1:1)*u*Math.pow(2,a-w)},g.write=function(P,S,l,w,y,a){var u,o,p,C=8*a-y-1,E=(1<<C)-1,j=E>>1,R=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=w?0:a-1,A=w?1:-1,B=S<0||S===0&&1/S<0?1:0;for(S=Math.abs(S),isNaN(S)||S===1/0?(o=isNaN(S)?1:0,u=E):(u=Math.floor(Math.log(S)/Math.LN2),S*(p=Math.pow(2,-u))<1&&(u--,p*=2),(S+=u+j>=1?R/p:R*Math.pow(2,1-j))*p>=2&&(u++,p/=2),u+j>=E?(o=0,u=E):u+j>=1?(o=(S*p-1)*Math.pow(2,y),u+=j):(o=S*Math.pow(2,j-1)*Math.pow(2,y),u=0));y>=8;P[l+T]=255&o,T+=A,o/=256,y-=8);for(u=u<<y|o,C+=y;C>0;P[l+T]=255&u,T+=A,u/=256,C-=8);P[l+T-A]|=128*B;};},function(Z,g){var P={}.toString;Z.exports=Array.isArray||function(S){return P.call(S)=="[object Array]"};},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.default=function(w){var y=w.jws,a=w.KeyUtil,u=w.X509,o=w.crypto,p=w.hextob64u,C=w.b64tohex,E=w.AllowedSigningAlgs;return (function(){function j(){(function(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")})(this,j);}return j.parseJwt=function(T){S.Log.debug("JoseUtil.parseJwt");try{var A=y.JWS.parse(T);return {header:A.headerObj,payload:A.payloadObj}}catch(B){S.Log.error(B);}},j.validateJwt=function(T,A,B,Y,M,q,O){S.Log.debug("JoseUtil.validateJwt");try{if(A.kty==="RSA")if(A.e&&A.n)A=a.getKey(A);else {if(!A.x5c||!A.x5c.length)return S.Log.error("JoseUtil.validateJwt: RSA key missing key material",A),Promise.reject(new Error("RSA key missing key material"));var tt=C(A.x5c[0]);A=u.getPublicKeyFromCertHex(tt);}else {if(A.kty!=="EC")return S.Log.error("JoseUtil.validateJwt: Unsupported key type",A&&A.kty),Promise.reject(new Error(A.kty));if(!(A.crv&&A.x&&A.y))return S.Log.error("JoseUtil.validateJwt: EC key missing key material",A),Promise.reject(new Error("EC key missing key material"));A=a.getKey(A);}return j._validateJwt(T,A,B,Y,M,q,O)}catch(rt){return S.Log.error(rt&&rt.message||rt),Promise.reject("JWT validation failed")}},j.validateJwtAttributes=function(T,A,B,Y,M,q){Y||(Y=0),M||(M=parseInt(Date.now()/1e3));var O=j.parseJwt(T).payload;if(!O.iss)return S.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(O.iss!==A)return S.Log.error("JoseUtil._validateJwt: Invalid issuer in token",O.iss),Promise.reject(new Error("Invalid issuer in token: "+O.
1012iss));if(!O.aud)return S.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(O.aud===B||Array.isArray(O.aud)&&O.aud.indexOf(B)>=0))return S.Log.error("JoseUtil._validateJwt: Invalid audience in token",O.aud),Promise.reject(new Error("Invalid audience in token: "+O.aud));if(O.azp&&O.azp!==B)return S.Log.error("JoseUtil._validateJwt: Invalid azp in token",O.azp),Promise.reject(new Error("Invalid azp in token: "+O.azp));if(!q){var tt=M+Y,rt=M-Y;if(!O.iat)return S.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(tt<O.iat)return S.Log.error("JoseUtil._validateJwt: iat is in the future",O.iat),Promise.reject(new Error("iat is in the future: "+O.iat));if(O.nbf&&tt<O.nbf)return S.Log.error("JoseUtil._validateJwt: nbf is in the future",O.nbf),Promise.reject(new Error("nbf is in the future: "+O.nbf));if(!O.exp)return S.Log.error("JoseUtil._validateJwt: exp was not provided"),Promise.reject(new Error("exp was not provided"));if(O.exp<rt)return S.Log.error("JoseUtil._validateJwt: exp is in the past",O.exp),Promise.reject(new Error("exp is in the past:"+O.exp))}return Promise.resolve(O)},j._validateJwt=function(T,A,B,Y,M,q,O){return j.validateJwtAttributes(T,B,Y,M,q,O).then(function(tt){try{return y.JWS.verify(T,A,E)?tt:(S.Log.error("JoseUtil._validateJwt: signature validation failed"),Promise.reject(new Error("signature validation failed")))}catch(rt){return S.Log.error(rt&&rt.message||rt),Promise.reject(new Error("signature validation failed"))}})},j.hashString=function(T,A){try{return o.Util.hashString(T,A)}catch(B){S.Log.error(B);}},j.hexToBase64Url=function(T){try{return p(T)}catch(A){S.Log.error(A);}},j})()};var S=P(0);Z.exports=g.default;},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.SigninResponse=void 0;var S=(function(){function y(a,u){for(var o=0;o<u.length;o++){var p=u[o];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(a,p.key,p);}}return function(a,u,o){return u&&y(a.prototype,u),o&&y(a,o),a}})(),l=P(3);function w(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")}g.SigninResponse=(function(){function y(a){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"#";w(this,y);var o=l.UrlUtility.parseUrlFragment(a,u);this.error=o.error,this.error_description=o.error_description,this.error_uri=o.error_uri,this.code=o.code,this.state=o.state,this.id_token=o.id_token,this.session_state=o.session_state,this.access_token=o.access_token,this.token_type=o.token_type,this.scope=o.scope,this.profile=void 0,this.expires_in=o.expires_in;}return S(y,[{key:"expires_in",get:function(){if(this.expires_at){var u=parseInt(Date.now()/1e3);return this.expires_at-u}},set:function(u){var o=parseInt(u);if(typeof o=="number"&&o>0){var p=parseInt(Date.now()/1e3);this.expires_at=p+o;}}},{key:"expired",get:function(){var u=this.expires_in;if(u!==void 0)return u<=0}},{key:"scopes",get:function(){return (this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),y})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.SignoutRequest=void 0;var S=P(0),l=P(3),w=P(9);g.SignoutRequest=function y(a){var u=a.url,o=a.id_token_hint,p=a.post_logout_redirect_uri,C=a.data,E=a.extraQueryParams,j=a.request_type;if((function(A,B){if(!(A instanceof B))throw new TypeError("Cannot call a class as a function")})(this,y),!u)throw S.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var R in o&&(u=l.UrlUtility.addQueryParam(u,"id_token_hint",o)),p&&(u=l.UrlUtility.addQueryParam(u,"post_logout_redirect_uri",p),C&&(this.state=new w.State({data:C,request_type:j}),u=l.UrlUtility.addQueryParam(u,"state",this.state.id))),E)u=l.UrlUtility.addQueryParam(u,R,E[R]);this.url=u;};},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.SignoutResponse=void 0;var S=P(3);g.SignoutResponse=function l(w){(function(u,o){if(!(u instanceof o))throw new TypeError("Cannot call a class as a function")})(this,l);var y=S.UrlUtility.parseUrlFragment(w,"?");this.error=y.error,this.error_description=y.error_description,this.error_uri=y.error_uri,this.state=y.state;};},function(Z,g,P){"use strict";
1012Object.defineProperty(g,"__esModule",{value:!0}),g.InMemoryWebStorage=void 0;var S=(function(){function w(y,a){for(var u=0;u<a.length;u++){var o=a[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(y,o.key,o);}}return function(y,a,u){return a&&w(y.prototype,a),u&&w(y,u),y}})(),l=P(0);g.InMemoryWebStorage=(function(){function w(){((function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}))(this,w),this._data={};}return w.prototype.getItem=function(a){return l.Log.debug("InMemoryWebStorage.getItem",a),this._data[a]},w.prototype.setItem=function(a,u){l.Log.debug("InMemoryWebStorage.setItem",a),this._data[a]=u;},w.prototype.removeItem=function(a){l.Log.debug("InMemoryWebStorage.removeItem",a),delete this._data[a];},w.prototype.key=function(a){return Object.getOwnPropertyNames(this._data)[a]},S(w,[{key:"length",get:function(){return Object.getOwnPropertyNames(this._data).length}}]),w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.UserManager=void 0;var S=(function(){function B(Y,M){for(var q=0;q<M.length;q++){var O=M[q];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(Y,O.key,O);}}return function(Y,M,q){return M&&B(Y.prototype,M),q&&B(Y,q),Y}})(),l=P(0),w=P(10),y=P(39),a=P(15),u=P(45),o=P(47),p=P(18),C=P(8),E=P(20),j=P(11),R=P(4);function T(B,Y){if(!(B instanceof Y))throw new TypeError("Cannot call a class as a function")}function A(B,Y){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !Y||typeof Y!="object"&&typeof Y!="function"?B:Y}g.UserManager=(function(B){function Y(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o.SilentRenewService,O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.SessionMonitor,tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:E.TokenRevocationClient,rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:j.TokenClient,nt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:R.JoseUtil;T(this,Y),M instanceof y.UserManagerSettings||(M=new y.UserManagerSettings(M));var V=A(this,B.call(this,M));return V._events=new u.UserManagerEvents(M),V._silentRenewService=new q(V),V.settings.automaticSilentRenew&&(l.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),V.startSilentRenew()),V.settings.monitorSession&&(l.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),V._sessionMonitor=new O(V)),V._tokenRevocationClient=new tt(V._settings),V._tokenClient=new rt(V._settings),V._joseUtil=nt,V}return (function(q,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);q.prototype=Object.create(O&&O.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(q,O):q.__proto__=O);})(Y,B),Y.prototype.getUser=function(){var q=this;return this._loadUser().then(function(O){return O?(l.Log.info("UserManager.getUser: user loaded"),q._events.load(O,!1),O):(l.Log.info("UserManager.getUser: user not found in storage"),null)})},Y.prototype.removeUser=function(){var q=this;return this.storeUser(null).then(function(){l.Log.info("UserManager.removeUser: user removed from storage"),q._events.unload();})},Y.prototype.signinRedirect=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(q=Object.assign({},q)).request_type="si:r";var O={useReplaceToNavigate:q.useReplaceToNavigate};return this._signinStart(q,this._redirectNavigator,O).then(function(){l.Log.info("UserManager.signinRedirect: successful");})},Y.prototype.signinRedirectCallback=function(q){return this._signinEnd(q||this._redirectNavigator.url).then(function(O){return O.profile&&O.profile.sub?l.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",O.profile.sub):l.Log.info("UserManager.signinRedirectCallback: no sub"),O})},Y.prototype.signinPopup=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(q=Object.assign({},q)).request_type="si:p";var O=q.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return O?(q.redirect_uri=O,q.display="popup",this._signin(q,this._popupNavigator,{startUrl:O,popupWindowFeatures:q.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:q.popupWindowTarget||this.settings.popupWindowTarget}).then(function(tt){return tt&&(tt.profile&&tt.profile.sub?l.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",tt.profile.sub):l.Log.info("UserManager.signinPopup: no sub")),tt})):(l.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},Y.prototype.signinPopupCallback=function(q){return this._signinCallback(q,this._popupNavigator).then(function(O){return O&&(O.profile&&O.profile.sub?l.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",O.profile.sub):l.Log.info("UserManager.signinPopupCallback: no sub")),O}).catch(function(O){l.Log.error(O.message);})},Y.prototype.signinSilent=function(){var q=this,O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return O=Object.assign({},O),this._loadUser().then(function(tt){return tt&&tt.refresh_token?(O.refresh_token=tt.refresh_token,q._useRefreshToken(O)):(O.request_type="si:s",O.id_token_hint=O.id_token_hint||q.settings.includeIdTokenInSilentRenew&&tt&&tt.id_token,tt&&q._settings.val
1012idateSubOnSilentRenew&&(l.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",tt.profile.sub),O.current_sub=tt.profile.sub),q._signinSilentIframe(O))})},Y.prototype._useRefreshToken=function(){var q=this,O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(O).then(function(tt){return tt?tt.access_token?q._loadUser().then(function(rt){if(rt){var nt=Promise.resolve();return tt.id_token&&(nt=q._validateIdTokenFromTokenRefreshToken(rt.profile,tt.id_token)),nt.then(function(){return l.Log.debug("UserManager._useRefreshToken: refresh token response success"),rt.id_token=tt.id_token||rt.id_token,rt.access_token=tt.access_token,rt.refresh_token=tt.refresh_token||rt.refresh_token,rt.expires_in=tt.expires_in,q.storeUser(rt).then(function(){return q._events.load(rt),rt})})}return null}):(l.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(l.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))})},Y.prototype._validateIdTokenFromTokenRefreshToken=function(q,O){var tt=this;return this._metadataService.getIssuer().then(function(rt){return tt.settings.getEpochTime().then(function(nt){return tt._joseUtil.validateJwtAttributes(O,rt,tt._settings.client_id,tt._settings.clockSkew,nt).then(function(V){return V?V.sub!==q.sub?(l.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):V.auth_time&&V.auth_time!==q.auth_time?(l.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):V.azp&&V.azp!==q.azp?(l.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!V.azp&&q.azp?(l.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(l.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))})})})},Y.prototype._signinSilentIframe=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=q.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return O?(q.redirect_uri=O,q.prompt=q.prompt||"none",this._signin(q,this._iframeNavigator,{startUrl:O,silentRequestTimeout:q.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(tt){return tt&&(tt.profile&&tt.profile.sub?l.Log.info("UserManager.signinSilent: successful, signed in sub: ",tt.profile.sub):l.Log.info("UserManager.signinSilent: no sub")),tt})):(l.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},Y.prototype.signinSilentCallback=function(q){return this._signinCallback(q,this._iframeNavigator).then(function(O){return O&&(O.profile&&O.profile.sub?l.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",O.profile.sub):l.Log.info("UserManager.signinSilentCallback: no sub")),O})},Y.prototype.signinCallback=function(q){var O=this;return this.readSigninResponseState(q).then(function(tt){var rt=tt.state;return tt.response,rt.request_type==="si:r"?O.signinRedirectCallback(q):rt.request_type==="si:p"?O.signinPopupCallback(q):rt.request_type==="si:s"?O.signinSilentCallback(q):Promise.reject(new Error("invalid response_type in state"))})},Y.prototype.signoutCallback=function(q,O){var tt=this;return this.readSignoutResponseState(q).then(function(rt){var nt=rt.state,V=rt.response;return nt?nt.request_type==="so:r"?tt.signoutRedirectCallback(q):nt.request_type==="so:p"?tt.signoutPopupCallback(q,O):Promise.reject(new Error("invalid response_type in state")):V})},Y.prototype.querySessionStatus=function(){var q=this,O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(O=Object.assign({},O)).request_type="si:s";var tt=O.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return tt?(O.redirect_uri=tt,O.prompt="none",O.response_type=O.response_type||this.settings.query_status_response_type,O.scope=O.scope||"openid",O.skipUserInfo=!0,this._signinStart(O,this._iframeNavigator,{startUrl:tt,silentRequestTimeout:O.silentRequestTimeout||this.settings.silentRequestTimeout}).then(function(rt){return q.processSigninResponse(rt.url).then(function(nt){if(l.Log.debug("UserManager.querySessionStatus: got signin response"),nt.session_state&&nt.profile.sub)return l.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",nt.profile.sub),{session_state:nt.session_state,sub:nt.profile.sub,sid:nt.profile.sid};l.Log.info("querySessionStatus successful, user not authenticated");}).catch(function(nt){if(nt.session_state&&q.settings.monitorAnonymousSession&&(nt.message=="login_required"||nt.message=="consent_required"||nt.message=="interaction_required"||nt.message=="account_selection_required"))return l.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:nt.session_state};throw nt})})):(l.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},Y.prototype._signin=function(q,O){var tt=this,rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._signinStart(q,O,rt).then(function(nt){return tt._signinEnd(nt.url,q)})},Y.prototype._signinStart=function(q,O){var tt=this,rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O.prepare(rt).then(function(nt){return l.Log.debug("UserManager._signinStart: got navigator window handle"),tt.createSigninRequest(q).then(function(V){return l.Log.debug("UserManager._signinStart: got signin request"),rt.url=V.url,rt.id=V.state.id,nt.navigate(rt)}).catch(function(V){throw nt.close&&(l.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),nt.close()),V})})},Y.prototype._signinEnd=function(q){var O=this,tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.processSigninResponse(q).then(function(rt){l.Log.debug("UserManager._signinEnd: got signin response");var nt=new a.User(rt);
1012if(tt.current_sub){if(tt.current_sub!==nt.profile.sub)return l.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",nt.profile.sub),Promise.reject(new Error("login_required"));l.Log.debug("UserManager._signinEnd: current user matches user returned from signin");}return O.storeUser(nt).then(function(){return l.Log.debug("UserManager._signinEnd: user stored"),O._events.load(nt),nt})})},Y.prototype._signinCallback=function(q,O){l.Log.debug("UserManager._signinCallback");var tt=this._settings.response_mode==="query"||!this._settings.response_mode&&C.SigninRequest.isCode(this._settings.response_type)?"?":"#";return O.callback(q,void 0,tt)},Y.prototype.signoutRedirect=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(q=Object.assign({},q)).request_type="so:r";var O=q.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;O&&(q.post_logout_redirect_uri=O);var tt={useReplaceToNavigate:q.useReplaceToNavigate};return this._signoutStart(q,this._redirectNavigator,tt).then(function(){l.Log.info("UserManager.signoutRedirect: successful");})},Y.prototype.signoutRedirectCallback=function(q){return this._signoutEnd(q||this._redirectNavigator.url).then(function(O){return l.Log.info("UserManager.signoutRedirectCallback: successful"),O})},Y.prototype.signoutPopup=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(q=Object.assign({},q)).request_type="so:p";var O=q.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return q.post_logout_redirect_uri=O,q.display="popup",q.post_logout_redirect_uri&&(q.state=q.state||{}),this._signout(q,this._popupNavigator,{startUrl:O,popupWindowFeatures:q.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:q.popupWindowTarget||this.settings.popupWindowTarget}).then(function(){l.Log.info("UserManager.signoutPopup: successful");})},Y.prototype.signoutPopupCallback=function(q,O){return O===void 0&&typeof q=="boolean"&&(O=q,q=null),this._popupNavigator.callback(q,O,"?").then(function(){l.Log.info("UserManager.signoutPopupCallback: successful");})},Y.prototype._signout=function(q,O){var tt=this,rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._signoutStart(q,O,rt).then(function(nt){return tt._signoutEnd(nt.url)})},Y.prototype._signoutStart=function(){var q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=this,tt=arguments[1],rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return tt.prepare(rt).then(function(nt){return l.Log.debug("UserManager._signoutStart: got navigator window handle"),O._loadUser().then(function(V){return l.Log.debug("UserManager._signoutStart: loaded current user from storage"),(O._settings.revokeAccessTokenOnSignout?O._revokeInternal(V):Promise.resolve()).then(function(){var ut=q.id_token_hint||V&&V.id_token;return ut&&(l.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),q.id_token_hint=ut),O.removeUser().then(function(){return l.Log.debug("UserManager._signoutStart: user removed, creating signout request"),O.createSignoutRequest(q).then(function(St){return l.Log.debug("UserManager._signoutStart: got signout request"),rt.url=St.url,St.state&&(rt.id=St.state.id),nt.navigate(rt)})})})}).catch(function(V){throw nt.close&&(l.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),nt.close()),V})})},Y.prototype._signoutEnd=function(q){return this.processSignoutResponse(q).then(function(O){return l.Log.debug("UserManager._signoutEnd: got signout response"),O})},Y.prototype.revokeAccessToken=function(){var q=this;return this._loadUser().then(function(O){return q._revokeInternal(O,!0).then(function(tt){if(tt)return l.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),O.access_token=null,O.refresh_token=null,O.expires_at=null,O.token_type=null,q.storeUser(O).then(function(){l.Log.debug("UserManager.revokeAccessToken: user stored"),q._events.load(O);})})}).then(function(){l.Log.info("UserManager.revokeAccessToken: access token revoked successfully");})},Y.prototype._revokeInternal=function(q,O){var tt=this;if(q){var rt=q.access_token,nt=q.refresh_token;return this._revokeAccessTokenInternal(rt,O).then(function(V){return tt._revokeRefreshTokenInternal(nt,O).then(function(ut){return V||ut||l.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),V||ut})})}return Promise.resolve(!1)},Y.prototype._revokeAccessTokenInternal=function(q,O){return !q||q.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(q,O).then(function(){return !0})},Y.prototype._revokeRefreshTokenInternal=function(q,O){return q?this._tokenRevocationClient.revoke(q,O,"refresh_token").then(function(){return !0}):Promise.resolve(!1)},Y.prototype.startSilentRenew=function(){this._silentRenewService.start();},Y.prototype.stopSilentRenew=function(){this._silentRenewService.stop();},Y.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then(function(q){return q?(l.Log.debug("UserManager._loadUser: user storageString loaded"),a.User.fromStorageString(q)):(l.Log.debug("UserManager._loadUser: no user storageString"),null)})},Y.prototype.storeUser=function(q){if(q){l.Log.debug("UserManager.storeUser: storing user");var O=q.toStorageString();return this._userStore.set(this._userStoreKey,O)}return l.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},S(Y,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return "user:"+this.settings.authority+":"+this.settings.client_id}}]),Y})(w.OidcClient);},function(Z,g,P){"use strict";
1012Object.defineProperty(g,"__esModule",{value:!0}),g.UserManagerSettings=void 0;var S=(function(){function j(R,T){for(var A=0;A<T.length;A++){var B=T[A];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(R,B.key,B);}}return function(R,T,A){return T&&j(R.prototype,T),A&&j(R,A),R}})(),l=(P(0),P(5)),w=P(40),y=P(41),a=P(43),u=P(6),o=P(1),p=P(8);function C(j,R){if(!(j instanceof R))throw new TypeError("Cannot call a class as a function")}function E(j,R){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !R||typeof R!="object"&&typeof R!="function"?j:R}g.UserManagerSettings=(function(j){function R(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=T.popup_redirect_uri,B=T.popup_post_logout_redirect_uri,Y=T.popupWindowFeatures,M=T.popupWindowTarget,q=T.silent_redirect_uri,O=T.silentRequestTimeout,tt=T.automaticSilentRenew,rt=tt!==void 0&&tt,nt=T.validateSubOnSilentRenew,V=nt!==void 0&&nt,ut=T.includeIdTokenInSilentRenew,St=ut===void 0||ut,wt=T.monitorSession,Mt=wt===void 0||wt,At=T.monitorAnonymousSession,Zt=At!==void 0&&At,Ct=T.checkSessionInterval,ft=Ct===void 0?2e3:Ct,dt=T.stopCheckSessionOnError,xt=dt===void 0||dt,Jt=T.query_status_response_type,Vt=T.revokeAccessTokenOnSignout,zt=Vt!==void 0&&Vt,te=T.accessTokenExpiringNotificationTime,de=te===void 0?60:te,ie=T.redirectNavigator,Nt=ie===void 0?new w.RedirectNavigator:ie,Yt=T.popupNavigator,Kt=Yt===void 0?new y.PopupNavigator:Yt,N=T.iframeNavigator,c=N===void 0?new a.IFrameNavigator:N,h=T.userStore,L=h===void 0?new u.WebStorageStateStore({store:o.Global.sessionStorage}):h;C(this,R);var K=E(this,j.call(this,arguments[0]));return K._popup_redirect_uri=A,K._popup_post_logout_redirect_uri=B,K._popupWindowFeatures=Y,K._popupWindowTarget=M,K._silent_redirect_uri=q,K._silentRequestTimeout=O,K._automaticSilentRenew=rt,K._validateSubOnSilentRenew=V,K._includeIdTokenInSilentRenew=St,K._accessTokenExpiringNotificationTime=de,K._monitorSession=Mt,K._monitorAnonymousSession=Zt,K._checkSessionInterval=ft,K._stopCheckSessionOnError=xt,Jt?K._query_status_response_type=Jt:arguments[0]&&arguments[0].response_type?K._query_status_response_type=p.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":K._query_status_response_type="id_token",K._revokeAccessTokenOnSignout=zt,K._redirectNavigator=Nt,K._popupNavigator=Kt,K._iframeNavigator=c,K._userStore=L,K}return (function(A,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof B);A.prototype=Object.create(B&&B.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),B&&(Object.setPrototypeOf?Object.setPrototypeOf(A,B):A.__proto__=B);})(R,j),S(R,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),R})(l.OidcClientSettings);},function(Z,g,P){"use strict";
1012Object.defineProperty(g,"__esModule",{value:!0}),g.RedirectNavigator=void 0;var S=(function(){function w(y,a){for(var u=0;u<a.length;u++){var o=a[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(y,o.key,o);}}return function(y,a,u){return a&&w(y.prototype,a),u&&w(y,u),y}})(),l=P(0);g.RedirectNavigator=(function(){function w(){(function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")})(this,w);}return w.prototype.prepare=function(){return Promise.resolve(this)},w.prototype.navigate=function(a){return a&&a.url?(a.useReplaceToNavigate?window.location.replace(a.url):window.location=a.url,Promise.resolve()):(l.Log.error("RedirectNavigator.navigate: No url provided"),Promise.reject(new Error("No url provided")))},S(w,[{key:"url",get:function(){return window.location.href}}]),w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.PopupNavigator=void 0;var S=P(0),l=P(42);g.PopupNavigator=(function(){function w(){(function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")})(this,w);}return w.prototype.prepare=function(a){var u=new l.PopupWindow(a);return Promise.resolve(u)},w.prototype.callback=function(a,u,o){S.Log.debug("PopupNavigator.callback");try{return l.PopupWindow.notifyOpener(a,u,o),Promise.resolve()}catch(p){return Promise.reject(p)}},w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.PopupWindow=void 0;var S=(function(){function y(a,u){for(var o=0;o<u.length;o++){var p=u[o];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(a,p.key,p);}}return function(a,u,o){return u&&y(a.prototype,u),o&&y(a,o),a}})(),l=P(0),w=P(3);g.PopupWindow=(function(){function y(a){var u=this;((function(E,j){if(!(E instanceof j))throw new TypeError("Cannot call a class as a function")}))(this,y),this._promise=new Promise(function(C,E){u._resolve=C,u._reject=E;});var o=a.popupWindowTarget||"_blank",p=a.popupWindowFeatures||"location=no,toolbar=no,width=500,height=500,left=100,top=100;";this._popup=window.open("",o,p),this._popup&&(l.Log.debug("PopupWindow.ctor: popup successfully created"),this._checkForPopupClosedTimer=window.setInterval(this._checkForPopupClosed.bind(this),500));}return y.prototype.navigate=function(u){return this._popup?u&&u.url?(l.Log.debug("PopupWindow.navigate: Setting URL in popup"),this._id=u.id,this._id&&(window["popupCallback_"+u.id]=this._callback.bind(this)),this._popup.focus(),this._popup.window.location=u.url):(this._error("PopupWindow.navigate: no url provided"),this._error("No url provided")):this._error("PopupWindow.navigate: Error opening popup window"),this.promise},y.prototype._success=function(u){l.Log.debug("PopupWindow.callback: Successful response from popup window"),this._cleanup(),this._resolve(u);},y.prototype._error=function(u){l.Log.error("PopupWindow.error: ",u),this._cleanup(),this._reject(new Error(u));},y.prototype.close=function(){this._cleanup(!1);},y.prototype._cleanup=function(u){l.Log.debug("PopupWindow.cleanup"),window.clearInterval(this._checkForPopupClosedTimer),this._checkForPopupClosedTimer=null,delete window["popupCallback_"+this._id],this._popup&&!u&&this._popup.close(),this._popup=null;},y.prototype._checkForPopupClosed=function(){this._popup&&!this._popup.closed||this._error("Popup window closed");},y.prototype._callback=function(u,o){this._cleanup(o),u?(l.Log.debug("PopupWindow.callback success"),this._success({url:u})):(l.Log.debug("PopupWindow.callback: Invalid response from popup"),this._error("Invalid response from popup"));},y.notifyOpener=function(u,o,p){if(window.opener){if(u=u||window.location.href){var C=w.UrlUtility.parseUrlFragment(u,p);if(C.state){var E="popupCallback_"+C.state,j=window.opener[E];j?(l.Log.debug("PopupWindow.notifyOpener: passing url message to opener"),j(u,o)):l.Log.warn("PopupWindow.notifyOpener: no matching callback found on opener");}else l.Log.warn("PopupWindow.notifyOpener: no state found in response url");}}else l.Log.warn("PopupWindow.notifyOpener: no window.opener. Can't complete notification.");},S(y,[{key:"promise",get:function(){return this._promise}}]),y})();},function(Z,g,P){"use strict";
1012Object.defineProperty(g,"__esModule",{value:!0}),g.IFrameNavigator=void 0;var S=P(0),l=P(44);g.IFrameNavigator=(function(){function w(){(function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")})(this,w);}return w.prototype.prepare=function(a){var u=new l.IFrameWindow(a);return Promise.resolve(u)},w.prototype.callback=function(a){S.Log.debug("IFrameNavigator.callback");try{return l.IFrameWindow.notifyParent(a),Promise.resolve()}catch(u){return Promise.reject(u)}},w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.IFrameWindow=void 0;var S=(function(){function w(y,a){for(var u=0;u<a.length;u++){var o=a[u];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(y,o.key,o);}}return function(y,a,u){return a&&w(y.prototype,a),u&&w(y,u),y}})(),l=P(0);g.IFrameWindow=(function(){function w(y){var a=this;((function(o,p){if(!(o instanceof p))throw new TypeError("Cannot call a class as a function")}))(this,w),this._promise=new Promise(function(u,o){a._resolve=u,a._reject=o;}),this._boundMessageEvent=this._message.bind(this),window.addEventListener("message",this._boundMessageEvent,!1),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.width=0,this._frame.height=0,window.document.body.appendChild(this._frame);}return w.prototype.navigate=function(a){if(a&&a.url){var u=a.silentRequestTimeout||1e4;l.Log.debug("IFrameWindow.navigate: Using timeout of:",u),this._timer=window.setTimeout(this._timeout.bind(this),u),this._frame.src=a.url;}else this._error("No url provided");return this.promise},w.prototype._success=function(a){this._cleanup(),l.Log.debug("IFrameWindow: Successful response from frame window"),this._resolve(a);},w.prototype._error=function(a){this._cleanup(),l.Log.error(a),this._reject(new Error(a));},w.prototype.close=function(){this._cleanup();},w.prototype._cleanup=function(){this._frame&&(l.Log.debug("IFrameWindow: cleanup"),window.removeEventListener("message",this._boundMessageEvent,!1),window.clearTimeout(this._timer),window.document.body.removeChild(this._frame),this._timer=null,this._frame=null,this._boundMessageEvent=null);},w.prototype._timeout=function(){l.Log.debug("IFrameWindow.timeout"),this._error("Frame window timed out");},w.prototype._message=function(a){if(l.Log.debug("IFrameWindow.message"),this._timer&&a.origin===this._origin&&a.source===this._frame.contentWindow&&typeof a.data=="string"&&(a.data.startsWith("http://")||a.data.startsWith("https://"))){var u=a.data;u?this._success({url:u}):this._error("Invalid response from frame");}},w.notifyParent=function(a){l.Log.debug("IFrameWindow.notifyParent"),(a=a||window.location.href)&&(l.Log.debug("IFrameWindow.notifyParent: posting url message to parent"),window.parent.postMessage(a,location.protocol+"//"+location.host));},S(w,[{key:"promise",get:function(){return this._promise}},{key:"_origin",get:function(){return location.protocol+"//"+location.host}}]),w})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.UserManagerEvents=void 0;var S=P(0),l=P(16),w=P(17);g.UserManagerEvents=(function(y){function a(u){(function(C,E){if(!(C instanceof E))throw new TypeError("Cannot call a class as a function")})(this,a);var o=(function(C,E){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !E||typeof E!="object"&&typeof E!="function"?C:E})(this,y.call(this,u));return o._userLoaded=new w.Event("User loaded"),o._userUnloaded=new w.Event("User unloaded"),o._silentRenewError=ne
1012w w.Event("Silent renew error"),o._userSignedIn=new w.Event("User signed in"),o._userSignedOut=new w.Event("User signed out"),o._userSessionChanged=new w.Event("User session changed"),o}return (function(o,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);o.prototype=Object.create(p&&p.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(o,p):o.__proto__=p);})(a,y),a.prototype.load=function(o){var p=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];S.Log.debug("UserManagerEvents.load"),y.prototype.load.call(this,o),p&&this._userLoaded.raise(o);},a.prototype.unload=function(){S.Log.debug("UserManagerEvents.unload"),y.prototype.unload.call(this),this._userUnloaded.raise();},a.prototype.addUserLoaded=function(o){this._userLoaded.addHandler(o);},a.prototype.removeUserLoaded=function(o){this._userLoaded.removeHandler(o);},a.prototype.addUserUnloaded=function(o){this._userUnloaded.addHandler(o);},a.prototype.removeUserUnloaded=function(o){this._userUnloaded.removeHandler(o);},a.prototype.addSilentRenewError=function(o){this._silentRenewError.addHandler(o);},a.prototype.removeSilentRenewError=function(o){this._silentRenewError.removeHandler(o);},a.prototype._raiseSilentRenewError=function(o){S.Log.debug("UserManagerEvents._raiseSilentRenewError",o.message),this._silentRenewError.raise(o);},a.prototype.addUserSignedIn=function(o){this._userSignedIn.addHandler(o);},a.prototype.removeUserSignedIn=function(o){this._userSignedIn.removeHandler(o);},a.prototype._raiseUserSignedIn=function(){S.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise();},a.prototype.addUserSignedOut=function(o){this._userSignedOut.addHandler(o);},a.prototype.removeUserSignedOut=function(o){this._userSignedOut.removeHandler(o);},a.prototype._raiseUserSignedOut=function(){S.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise();},a.prototype.addUserSessionChanged=function(o){this._userSessionChanged.addHandler(o);},a.prototype.removeUserSessionChanged=function(o){this._userSessionChanged.removeHandler(o);},a.prototype._raiseUserSessionChanged=function(){S.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise();},a})(l.AccessTokenEvents);},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.Timer=void 0;var S=(function(){function o(p,C){for(var E=0;E<C.length;E++){var j=C[E];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(p,j.key,j);}}return function(p,C,E){return C&&o(p.prototype,C),E&&o(p,E),p}})(),l=P(0),w=P(1),y=P(17);function a(o,p){if(!(o instanceof p))throw new TypeError("Cannot call a class as a function")}function u(o,p){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return !p||typeof p!="object"&&typeof p!="function"?o:p}g.Timer=(function(o){function p(C){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w.Global.timer,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;a(this,p);var R=u(this,o.call(this,C));return R._timer=E,R._nowFunc=j||function(){return Date.now()/1e3},R}return (function(E,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);E.prototype=Object.create(j&&j.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(E,j):E.__proto__=j);})(p,o),p.prototype.init=function(E){E<=0&&(E=1),E=parseInt(E);var j=this.now+E;if(this.expiration===j&&this._timerHandle)l.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else {this.cancel(),l.Log.debug("Timer.init timer "+this._name+" for duration:",E),this._expiration=j;var R=5;E<R&&(R=E),this._timerHandle=this._timer.setInterval(this._callback.bind(this),1e3*R);}},p.prototype.cancel=function(){this._timerHandle&&(l.Log.debug("Timer.cancel: ",this._name),this._timer.clearInterval(this._timerHandle),this._timerHandle=null);},p.prototype._callback=function(){var E=this._expiration-this.now;l.Log.debug("Timer.callback; "+this._name+" timer expires in:",E),this._expiration<=this.now&&(this.cancel(),o.prototype.raise.call(this));}
1012,S(p,[{key:"now",get:function(){return parseInt(this._nowFunc())}},{key:"expiration",get:function(){return this._expiration}}]),p})(y.Event);},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.SilentRenewService=void 0;var S=P(0);g.SilentRenewService=(function(){function l(w){((function(a,u){if(!(a instanceof u))throw new TypeError("Cannot call a class as a function")}))(this,l),this._userManager=w;}return l.prototype.start=function(){this._callback||(this._callback=this._tokenExpiring.bind(this),this._userManager.events.addAccessTokenExpiring(this._callback),this._userManager.getUser().then(function(y){}).catch(function(y){S.Log.error("SilentRenewService.start: Error from getUser:",y.message);}));},l.prototype.stop=function(){this._callback&&(this._userManager.events.removeAccessTokenExpiring(this._callback),delete this._callback);},l.prototype._tokenExpiring=function(){var y=this;this._userManager.signinSilent().then(function(a){S.Log.debug("SilentRenewService._tokenExpiring: Silent token renewal successful");},function(a){S.Log.error("SilentRenewService._tokenExpiring: Error from signinSilent:",a.message),y._userManager.events._raiseSilentRenewError(a);});},l})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.CordovaPopupNavigator=void 0;var S=P(21);g.CordovaPopupNavigator=(function(){function l(){(function(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")})(this,l);}return l.prototype.prepare=function(y){var a=new S.CordovaPopupWindow(y);return Promise.resolve(a)},l})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.CordovaIFrameNavigator=void 0;var S=P(21);g.CordovaIFrameNavigator=(function(){function l(){(function(y,a){if(!(y instanceof a))throw new TypeError("Cannot call a class as a function")})(this,l);}return l.prototype.prepare=function(y){y.popupWindowFeatures="hidden=yes";var a=new S.CordovaPopupWindow(y);return Promise.resolve(a)},l})();},function(Z,g,P){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.Version="1.11.5";}])});});var rr=(function(Z){return Z[Z.Unknown=0]="Unknown",Z[Z.InvalidAccount=1]="InvalidAccount",Z[Z.SingleSessionViolation=2]="SingleSessionViolation",Z[Z.ExpiredAssistant=3]="ExpiredAssistant",Z[Z.InvalidAssistantAgentId=4]="InvalidAssistantAgentId",Z[Z.ExpiredUser=5]="ExpiredUser",Z[Z.InvalidParentAccount=6]="InvalidParentAccount",Z[Z.DisallowedAssistant=7]="DisallowedAssistant",Z[Z.PasswordResetOrSignUpRequest=8]="PasswordResetOrSignUpRequest",Z[Z.InvalidClientTime=9]="InvalidClientTime",Z[Z.InvalidAccessToken=10]="InvalidAccessToken",Z[Z.ErrorSigningIn=11]="ErrorSigningIn",Z[Z.SingleSignOnError=12]="SingleSignOnError",Z[Z.IcscUserNotFound=13]="IcscUserNotFound",Z[Z.IcscUserDisabled=14]="IcscUserDisabled",Z[Z.AccountDeleted=15]="AccountDeleted",Z})(rr||{});var ir=(function(Z){return Z[Z.MainWebSite=1]="MainWebSite",Z[Z.MobileWebSite=2]="MobileWebSite",Z[Z.MobileApplication=3]="MobileApplication",Z})(ir||{});var le$3=class Z{constructor(g){this.permissions=[],this.bearerToken=g,this.decodedToken=this.parseJwt(g),this.permissions=TN((this.decodedToken&&this.decodedToken.rpr_permission_ids||"").split(",")).map(P=>Number(P)),this.isRprStaff=this.userType===t$1.RprStaff||this.hasAccessToAny(e$1.AccessAdminPortal);}static create(g){return g?new Z(g):null}get userName(){return this.decodedToken&&this.decodedToken.sub}get fullName(){return this.decodedToken&&this.decodedToken.name}get firstName(){return this.decodedToken&&this.decodedToken.given_name}get lastName(){return this.decodedToken&&this.decodedToken.family_name}get loginEmail(){return this.decodedToken&&this.decodedToken.email}get expirationDate(){return this.decodedToken&&or(this.decodedToken.user_expiration_date)}get isAssistant(){return this.userType===t$1.RealtorAssistant}get isIcscUser(){return this.userType===t$1.Icsc}get isServiceUser(){return this.userType===t$1.Service}
1012get userType(){return $y(t$1,this.decodedToken.user_type_id)}get isPasswordChangeRequired(){return this.decodedToken&&zy(this.decodedToken.is_password_change_required)}hasAccessToAll(...g){return !!(g&&g.length&&A$2(g,P=>this.permissions.includes(P)))}hasAccessToAny(...g){return !!(g&&g.length&&E$3(g,P=>this.permissions.includes(P)))}parseJwt(g){let S=g.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),l=decodeURIComponent(atob(S).split("").map(w=>`%${`00${w.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""));return JSON.parse(l)}};var nr=x$5(Zr$1());var Se$2=class Z{constructor(){this.accessTokenExpiringNotificationTime=120,this.clockSkew=300,this.silentRefreshAttemptCount=0,this.maxSilentRefreshAttempts=6,this.hasSilentRefreshBeenDelayed=false,this.logEntries=[],this.preventSilentRefresh=false,this.manager=new nr.UserManager({authority:E$4.authBaseUrl,client_id:E$4.config?.authClientId,redirect_uri:`${E$4.mainSiteBaseUrl}/auth/callback`,silent_redirect_uri:`${E$4.mainSiteBaseUrl}/auth/callback-silent`,response_type:"code",response_mode:"query",scope:E$4.config?.authScope,post_logout_redirect_uri:`${E$4.mainSiteBaseUrl}/`,filterProtocolClaims:true,loadUserInfo:false,accessTokenExpiringNotificationTime:this.accessTokenExpiringNotificationTime,automaticSilentRenew:false,monitorSession:true,userStore:new nr.WebStorageStateStore({store:window.localStorage}),clockSkew:this.clockSkew}),this.helper=h$5(ue$3),this.usersApi=h$5(N_),this.cookieService=h$5(Bf),this.analytics=h$5(SB),this.appcues=h$5(ne$3),this.cacheLayer=h$5(as),this.loggingApi=h$5(U$1),this.router=h$5(Qr$1),this.manager.events.addUserLoaded(g=>{this.log("oidc-client > userLoaded");}),this.manager.events.addUserUnloaded(()=>{this.log("oidc-client > userUnloaded");}),this.manager.events.addAccessTokenExpiring(()=>{this.log("oidc-client > accessTokenExpiring"),this.startSilentRefresh();}),this.manager.events.addAccessTokenExpired(()=>{this.log("oidc-client > accessTokenExpired"),this.startSilentRefresh();}),this.manager.events.addUserSignedOut(()=>{this.log("oidc-client > userSignedOut (signed-out or signed-in as someone else at the Auth Server)"),this.startAuthentication();}),window.forceTokenRefresh=()=>this.forceTokenRefreshAsync(),window.clearAndStartAuthentication=()=>{this.clearAllStorageAndStartAuthentication();};}get signedInUser(){return this.helper.signedInUser}set signedInUser(g){this.helper.signedInUser=g;}get assistantsRealtorUser(){return this.helper.assistantsRealtorUser}set assistantsRealtorUser(g){this.helper.assistantsRealtorUser=g;}get impersonatedUser(){return this.helper.impersonatedUser}set impersonatedUser(g){this.helper.impersonatedUser=g;}startAuthentication(g){this.log("startAuthentication"),this.helper.ignoreNextLoadingIndicatorCancelRequest=true,g=g||this.router.url||"/",this.postAuthUrl=g.toLowerCase().indexOf("/auth")<0?g:"/",this.cleanupAsync().finally(()=>{this.log("startAuthentication > cleanup completed, redirecting..."),this.manager.signinRedirect().catch(P=>{this.log("signinRedirect error >",P),P&&P.stack&&this.logEntries.push(P.stack),!this.handleQuotaError(P)&&(this.sendLogEntriesToServerAsync(),this.helper.showStatusDialog({dialogType:zn.Warning,displayAboveLoadingIndicator:true,heading:"Error signing in...",message:"The sign-in page appears to be unavailable. Please try again.",buttons:[{text:"Retry",click:()=>this.startAuthentication()}],onCancel:()=>this.startAuthentication()}));});});}completeAuthentication(){this.log("completeAuthentication"),this.helper.rprToken&&(this.log("clearing out the RPR token from cookies..."),this.helper.rprToken=null,this.helper.rprTokenType=null),[IE.SignedInViaWebsite,IE.SignedUpViaWebsite,IE.SignedInViaSso].indexOf(this.helper.userSessionAction)>-1?(this.helper.impersonatedLoginEmail=null,this.helper.dataToolsBrokerId=null,this.helper.dataToolsBrandId=null,this.helper.dataToolsAssociationId=null,this.helper.dataToolsOrgId=null,this.helper.hasDisplayedExpiringAssistantsNotice=null,this.helper.hasDisplayedAccountExpirationNotice=null,this.helper.hasDisplayedInvalidAgentIdNotice=null):this.helper.userSessionAction=IE.Revisited;let g=this.helper.userSessionAction,P=()=>{setTimeout(()=>{let S=this.postAuthUrl||"/";this.postAuthUrl=null,Ht$1.redirect(S);},500);};Re$1(this.manager.signinCallback()).pipe(Ft(S=>(this.log("oidc-client > completed signinCallback"),Re$1(this.establishUserTokensInStorageAsync(S)))),Ft(()=>(this.log("user tokens have been successfully established in storage"),this.usersApi.processSignedInUser({site:ir.MainWebSite,action:g,propertyMode:this.helper.propertyMode,existingSingleSessionSignInToken:this.helper.singleSessionSignInToken}))),Ft(S=>(this.log("completed processing signed-in user"),this.noMatchingStateErrorAlreadyOccurred=null,this.quotaErrorAlreadyOccurred=null,this.helper.hasSingleSessionUserBeenSignedInElsewhere=S.hasSingleSessionUserBeenSignedInElsewhere,this.helper.singleSessionSignInToken=S.singleSessionSignInToken,P(),N$4(true))),k$3(S=>{if(this.log("error signing-in >",S),S&&S.stack&&this.logEntries.push(S.stack),this.handleMissingStateError(S))return N$4(false);
1012if(this.handleQuotaError(S))return N$4(false);let l=S&&S.toString().toLowerCase()||"";return this.helper.signOutReason=E$3(["in the future","in the past"],w=>l.indexOf(w)>=0)?rr.InvalidClientTime:rr.ErrorSigningIn,this.log("User from localStorage >",window.localStorage.getItem(`oidc.user:${E$4.authBaseUrl}:${E$4.config?.authClientId}`)||"-null-"),this.sendLogEntriesToServerAsync().finally(()=>this.router.navigate(["/auth/sign-out"])),N$4(false)})).subscribe();}completeSilentAuthentication(){this.log("completeSilentAuthentication"),Re$1(this.manager.signinCallback()).subscribe();}startSignOut(){this.log("startSignOut"),this.manager.getUser().then(g=>{let P=g?.id_token;(this.helper.user?this.usersApi.deleteSingleSessionSignInToken({site:ir.MainWebSite,token:this.helper.singleSessionSignInToken}):N$4(null)).pipe(k$3(S=>(this.log("failed to delete the single-session sign-in token >",S),N$4(null))),Be(()=>(this.cacheLayer.clearAll(),this.helper.singleSessionSignInToken=null,this.helper.impersonatedLoginEmail=null,this.helper.dataToolsBrokerId=null,this.helper.dataToolsBrandId=null,this.helper.dataToolsAssociationId=null,this.helper.dataToolsOrgId=null,this.helper.isPropertyTypeChangeGlobal=null,this.helper.skipPropertyTypeChangePrompt=null,Re$1(this.cleanupAsync())))).pipe(Ft(()=>Re$1(this.manager.signoutRedirect({id_token_hint:P})))).subscribe();});}setUsersFromStorageAsync(g){return new Promise((P,S)=>{this.log("setUsersFromStorageAsync");let l=()=>{this.appcues.identifyUser(),P();};this.clearUsers(),this.manager.getUser().then(w=>{if(!w||w.expired){l();return}if(this.signedInUser=le$3.create(w.access_token),this.analytics.pushUserId(),!this.signedInUser){l();return}let y=false;if(this.signedInUser.isAssistant&&(this.assistantsRealtorUser=le$3.create(this.assistantsRealtorUserAccessToken),this.assistantsRealtorUser||(this.log("WARNING: Assistant's Realtor Access Token was not found in LocalStorage!"),y=true)),!this.signedInUser.isAssistant&&this.helper.impersonatedLoginEmail&&this.signedInUser.hasAccessToAny(e$1.ImpersonateUsers)&&(this.impersonatedUser=le$3.create(this.impersonatedUserAccessToken),this.impersonatedUser?this.impersonatedUser.isAssistant&&(this.assistantsRealtorUser=le$3.create(this.assistantsRealtorUserAccessToken),this.assistantsRealtorUser||(this.log("WARNING: Impersonated Assistant's Realtor Access Token was not found in LocalStorage!"),y=true)):(this.log("WARNING: Impersonated User Access Token was not found in LocalStorage!"),y=true)),this.assistantsRealtorUser||(this.assistantsRealtorUserAccessToken=null),this.impersonatedUser||(this.impersonatedUserAccessToken=null),y&&!g){this.attemptToFixUsersInStorageAsync().then(()=>l()).catch(a=>S(a));return}l();});})}setSignedInUserByAccessToken(g){this.signedInUser=le$3.create(g),this.preventSilentRefresh=true;}forceTokenRefreshAsync(){return new Promise((g,P)=>{this.log("forceTokenRefreshAsync");let S=l=>{this.log("forceTokenRefreshAsync failed >",l),this.sendLogEntriesToServerAsync(),P(l);};this.manager.signinSilent().then(l=>{this.establishUserTokensInStorageAsync(l).then(()=>{this.log("forceTokenRefreshAsync > succeeded"),g();}).catch(S);}).catch(S);})}logRprSessionEvent(g=false){!this.helper.user||this.helper.skipAnalytics||this.lastUserVisitLogDateTime&&jv(new Date,this.lastUserVisitLogDateTime)<30&&!g||(this.lastUserVisitLogDateTime=new Date,this.usersApi.logSessionEvent().pipe(k$3(P=>N$4(null))).subscribe());}trackUserSession(){if(this.helper.userSessionAction===IE.Tracked||!this.signedInUser||this.helper.skipAnalytics)return;this.helper.userSessionAction||(this.helper.userSessionAction=IE.Revisited),this.log("trackUserSession",this.helper.userSessionAction,this.signedInUser.loginEmail),this.logRprSessionEvent(true);let g=this.userSessionActionToLoginMethod(this.helper.userSessionAction);g&&this.analytics.trackEvent(oI.Login,[sI.Method,g]),this.helper.userSessionAction===IE.SignedUpViaWebsite&&this.analytics.trackEvent(oI.SignUp,[sI.Method,G6.Website]),this.helper.userSessionAction===IE.Revisited&&this.analytics.trackEvent(oI.Resumed,[sI.Method,G6.Website]),this.helper.userSessionAction=IE.Tracked;}clearAllStorage(){Ht$1.window?.localStorage&&(Ht$1.window.localStorage.clear(),console.log("cleared localStorage",Ht$1.window.localStorage.length,Ht$1.window.location?.href)),Ht$1.window?.sessionStorage&&(Ht$1.window.sessionStorage.clear(),console.log("cleared sessionStorage",Ht$1.window.sessionStorage.length,Ht$1.window?.location?.href)),this.cookieService.deleteAll("/",null),this.cookieService.deleteAll("/",E$4.baseDomain),console.log("cleared all cookies",document.cookie,Ht$1.window?.location?.href),this.cacheLayer.clearAll(),console.log("cleared browser cache",Ht$1.window?.location?.href);}startSilentRefresh(g=false){if(!g&&this.silentRefreshAttemptCount||this.preventSilentRefresh)return;if(this.log(`startSilentRefresh(${g}) | current attempt count: ${this.silentRefreshAttemptCount}`),this.silentRefreshAttemptCount>=this.maxSilentRefreshAttempts){this.sendLogEntriesToServerAsync(),this.silentRefreshAttemptCount===this.maxSilentRefreshAttempts&&this.helper.showStatusDialog({dialogType:zn.Warning,heading:"We were not able to keep you signed-in...",message:`Your session failed to be extended. 1013 ${this.signedInUser?.isIcscUser?"":" Please try again, or sign-in one more time."}`,buttons:this.signedInUser?.isIcscUser?[{text:"Sign in again",click:()=>location.href="https://www.icsc.com/my-icsc"}]:[{text:"Retry",click:()=>{this.silentRefreshAttemptCount=0,this.startSilentRefresh();}},{text:"Sign in again",click:()=>this.startAuthentication()}],maxWidth:475,onCancel:()=>{this.silentRefreshAttemptCount=0,this.startSilentRefresh();}});return}let P=this.silentRefreshStartTime||0,S=H9(P),l=w=>{if(this.log("startSilentRefresh failed >",w),w&&w.stack&&this.logEntries.push(w.stack),w&&(w.message==="invalid_grant"||w.message==="login_required")){this.silentRefreshStartTime=null,this.startAuthentication();return}this.silentRefreshStartTime===P&&(this.silentRefreshStartTime=null),setTimeout(()=>this.startSilentRefresh(true),1e3+3e3*this.silentRefreshAttemptCount);};if((S>3e4||S<0)&&(this.silentRefreshStartTime=null,P=0,S=0),P){(!this.hasSilentRefreshBeenDelayed||g)&&(this.hasSilentRefreshBeenDelayed=true,this.log("startSilentRefresh >",`in progress for ${S}ms...`),setTimeout(()=>{this.hasSilentRefreshBeenDelayed=false,this.startSilentRefresh(g);},2e3));return}this.silentRefreshStartTime=P=Date.now(),++this.silentRefreshAttemptCount,console.log("-------------------------------------------------------------------"),this.log("startSilentRefresh >",`starting attempt #${this.silentRefreshAttemptCount}...`),this.manager.getUser().then(w=>
1013{if(w&&this.log(`expires in ${w.expires_in}'s | threshold is ${this.accessTokenExpiringNotificationTime}s`),w&&!w.expired&&w.expires_in&&w.expires_in>this.accessTokenExpiringNotificationTime){this.log("startSilentRefresh > no need to continue"),this.silentRefreshStartTime=null,this.silentRefreshAttemptCount=0,this.setUsersFromStorageAsync(false);return}this.manager.signinSilent().then(y=>{this.log("oidc signinSilent succeeded; moving on to establish tokens in storage"),this.establishUserTokensInStorageAsync(y).then(()=>{this.log("startSilentRefresh > succeeded"),this.silentRefreshStartTime=null,this.silentRefreshAttemptCount=0;}).catch(l);}).catch(l);});}establishUserTokensInStorageAsync(g){return new Promise((P,S)=>{this.log("establishUserTokensInStorageAsync");let l=()=>{this.appcues.identifyUser(),this.manager.clearStaleState(),P();};if(this.clearUsers(),!g||g.expired){S("User not supplied or is expired.");return}if(g.profile&&g.profile.auth_time*1e3>Date.now()+this.clockSkew*1e3){this.log("Auth Time:",this.formatDateTime(new Date(g.profile.auth_time*1e3))),S("Token is invalid. Auth time is in the future.");return}if(g.expires_at*1e3<Date.now()-this.clockSkew*1e3){this.log("Exp Time:",this.formatDateTime(new Date(g.expires_at*1e3))),S("Token is invalid. Expiration time is in the past.");return}if(this.cookieService.delete(ut$2.AuthAccessToken,"/",null),this.cookieService.set(ut$2.AuthAccessToken,g.access_token,new Date(g.expires_at*1e3),"/",null,true,"Lax"),!this.cookieService.get(ut$2.AuthAccessToken)){S(`Auth access token cookie failed to be set (expiration date was ${this.formatDateTime(new Date(g.expires_at*1e3))}).`);return}if(this.signedInUser=le$3.create(g.access_token),this.analytics.pushUserId(),this.signedInUser.isAssistant){this.log("signed-in user is a Realtor Assistant > getting Realtor's access token"),this.getAndSetAssistantRealtorAccessTokenAsync().then(()=>l()).catch(w=>S(w));return}if(this.helper.impersonatedLoginEmail&&this.signedInUser.hasAccessToAny(e$1.ImpersonateUsers)){this.log("impersonation > getting impersonated user access token"),this.getAndSetImpersonatedUserAccessTokenAsync().then(()=>{if(this.impersonatedUser.isAssistant){this.log("impersonated user is a Realtor Assistant > getting Realtor's access token"),this.getAndSetAssistantRealtorAccessTokenAsync().then(()=>l()).catch(w=>S(w));return}l();}).catch(w=>S(w));return}l();})}getAndSetAssistantRealtorAccessTokenAsync(){return new Promise((g,P)=>{this.usersApi.getAssistantRealtorAccessToken().pipe(Ke$3(S=>{this.assistantsRealtorUserAccessToken=S,this.assistantsRealtorUser=le$3.create(S),this.assistantsRealtorUser?g():P("Unable to get access token for Assistant's Realtor");}),k$3(()=>(P("Error getting access token for Assistant's Realtor"),N$4(null)))).subscribe();})}getAndSetImpersonatedUserAccessTokenAsync(){return new Promise((g,P)=>{this.usersApi.getImpersonatedUserAccessToken({impersonatedLoginEmail:this.helper.impersonatedLoginEmail}).pipe(Ke$3(S=>{this.impersonatedUserAccessToken=S,this.impersonatedUser=le$3.create(S),this.impersonatedUser?g():P("Unable to get access token for impersonated user");}),k$3(()=>(P("Error getting access token for impersonated user"),N$4(null)))).subscribe();})}attemptToFixUsersInStorageAsync(){return new Promise((g,P)=>{this.manager.getUser().then(S=>{if(!S||S.expired){P("User is not set or is expired");return}this.establishUserTokensInStorageAsync(S).then(()=>g()).catch(l=>{this.log("fixUsersInStorageAsync >",l),P(l);});});})}handleMissingStateError(g){return (g&&g.toString().toLowerCase()||"").indexOf("no matching state found in storage")<0?false:this.noMatchingStateErrorAlreadyOccurred?(this.log("No matching state error has already occurred. Displaying an error to the user."),this.sendLogEntriesToServerAsync(),this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Sign-in Failed",message:"No matching state found. Please sign in again.",buttons:[{text:"Sign in again",click:()=>{this.noMatchingStateErrorAlreadyOccurred=null,this.clearAllStorageAndStartAuthentication();}}],onCancel:()=>{this.noMatchingStateErrorAlreadyOccurred=null,this.clearAllStorageAndStartAuthentication();}}),true):(this.log("First instance of the 'No matching state' error. Restarting authentication."),this.noMatchingStateErrorAlreadyOccurred=true,this.sendLogEntriesToServerAsync().finally(()=>this.startAuthentication(this.postAuthUrl)),true)}handleQuotaError(g){return (g&&g.toString().toLowerCase()||"").indexOf("quota")<0?false:this.quotaErrorAlreadyOccurred?(this.log("QuotaExceeded error has already occurred. Displaying an error to the user."),this.sendLogEntriesToServerAsync(),this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Sign-in Failed",message:"Browser storage quota exceeded. Please clear storage and try again.",buttons:[{text:"I have cleared storage. Try again.",click:()=>{this.quotaErrorAlreadyOccurred=null,this.clearAllStorageAndStartAuthentication();}}],onCancel:()=>{this.quotaErrorAlreadyOccurred=null,this.clearAllStorageAndStartAuthentication();}}),true):(this.log("Attempting to clear the localStorage and retry..."),this.quotaErrorAlreadyOccurred=true,this.sendLogEntriesToServerAsync().finally(()=>{Vf.clear(),this.startAuthentication(this.postAuthUrl);}),true)}cleanupAsync(){return this.log("cleanup (clear cookie and remove oidc user from storage)"),this.cookieService.delete(ut$2.AuthAccessToken,"/",null),this.assistantsRealtorUserAccessToken=null,this.impersonatedUserAccessToken=null,this.clearUsers(),this.analytics.pushUserId(),Promise.all([this.manager.removeUser()])}clearUsers(){this.signedInUser=null,this.assistantsRealtorUser=null,this.impersonatedUser=null;}clearAllStorageAndStartAuthentication(){this.clearAllStorage(),setTimeout(()=>Ht$1.redirect(`${E$4.authBaseUrl}/auth/clear-storage`),500);}userSessionActionToLoginMethod(g){switch(g){case IE.SignedInViaWebsite:return "Website";case IE.SignedInViaSso:return "SSO";case IE.SignedInViaMobileApplication:case IE.SignedInViaMobileWebsite:return "Mobile";default:return null}}log(...g){if(this.logEntries.push(`[${this.formatDateTime(new Date)}] ${g.join(" ")}`),E$4.isBrowserEdge){console.log(`[${this.formatDateTime(new Date)}] AuthManager:`,g.join(" "));return}console.log.apply(this,j$2([`%c[${this.formatDateTime(new Date)}] %cAuthManager:`,"color:#999;","font-weight:bold;",g]));}sendLogEntriesToServerAsync(){return new Promise(g=>
1013{if(!this.logEntries.length){g();return}this.logEntries.push(`URL: ${window.location.href}`),this.logEntries.push(`Referrer: ${document.referrer||"-null-"}`),this.logEntries.push(`localStorage size: ${Pa(Vf.size)}`),this.logEntries.push(new Date().toString()),this.signedInUser&&(this.logEntries.push(this.signedInUser.loginEmail),this.logEntries.push(this.signedInUser.userName));let P=this.logEntries.join(`\r 1014`);console.log("### Sending log entries to the server: ###"),console.log(P),this.loggingApi.logBrowserConsoleMessage({browserId:this.helper.getBrowserSessionId(),category:"Auth",message:new o$2({text:P})}).pipe(T$3(()=>{this.logEntries.length=0,g();}),k$3(()=>(g(),N$4(null)))).subscribe();})}formatDateTime(g){return D1(g,"M/d/yyyy h:mm:ss a")}static{this.\u0275fac=function(P){return new(P||Z)};}static{this.\u0275prov=U$3({token:Z,factory:Z.\u0275fac});}};Se$3([Pn$1()],Se$2.prototype,"impersonatedUserAccessToken",void 0);Se$3([Pn$1()],Se$2.prototype,"assistantsRealtorUserAccessToken",void 0);Se$3([Pn$1({omitCache:true})],Se$2.prototype,"silentRefreshStartTime",void 0);Se$3([Pn$1({storageKey:"luvldt"})],Se$2.prototype,"lastUserVisitLogDateTime",void 0);Se$3([Wf()],Se$2.prototype,"postAuthUrl",void 0);Se$3([Wf()],Se$2.prototype,"noMatchingStateErrorAlreadyOccurred",void 0);Se$3([Wf()],Se$2.prototype,"quotaErrorAlreadyOccurred",void 0);var h$3=(()=>{class t{constructor(){this.disableControl=false,this.ngControl=h$5(Ei);}ngOnChanges(e){if(e.disableControl&&e.disableControl.currentValue!==this.lastState){this.lastState=this.disableControl;let o=this.disableControl?"disable":"enable";this.ngControl.control[o]&&this.ngControl.control[o]({emitEvent:false});}}static{this.\u0275fac=function(o){return new(o||t)};}static{this.\u0275dir=q$7({type:t,selectors:[["","rprDisableControl",""]],inputs:{disableControl:[2,"rprDisableControl","disableControl",He]},features:[ct$1]});}}return t})();function oe$3(t,m){if(t&1&&(mt$1(0,"div",0),$c(1),bt$2()),t&2){let e=Mn$1();Ut$1(),SC(" ",e.state.error," ");}}function ne$2(t,m){t&1&&(mt$1(0,"div",1),$c(1,"You have successfully changed your password."),bt$2());}function se$2(t,m){if(t&1){let e=Uc();mt$1(0,"div",6)(1,"a",9),gt$1("click",function(){ks(e);let n=Mn$1(2);return Os(n.onForgotPassword())}),$c(2,"Forgot Password"),bt$2()();}}function ae$2(t,m){t&1&&Bn$1(0,"i",14);}function de$3(t,m){t&1&&Bn$1(0,"i",14);}function le$2(t,m){t&1&&Bn$1(0,"i",14);}function ce$3(t,m){t&1&&Bn$1(0,"i",14);}function ue$2(t,m){if(t&1){let e=Uc();mt$1(0,"form",3),gt$1("ngSubmit",function(){ks(e);let n=Mn$1();return Os(n.savePassword())}),mt$1(1,"div",4)(2,"div",5),_i(3,se$2,3,0,"div",6),mt$1(4,"div",7),Bn$1(5,"input",8),Z2(),bt$2()()(),mt$1(6,"div",4)(7,"div",5)(8,"div",6)(9,"a",9),gt$1("click",function(){ks(e);let n=Mn$1();return Os(n.onSuggestPassword())}),$c(10,"Suggest"),bt$2()(),mt$1(11,"div",7),Bn$1(12,"input",10),Z2(),bt$2()()(),mt$1(13,"div",11)(14,"div",12),$c(15,"Passwords should have:"),bt$2(),mt$1(16,"div",13),_i(17,ae$2,1,0,"i",14),mt$1(18,"div"),$c(19,"7 characters minimum"),bt$2()(),mt$1(20,"div",13),_i(21,de$3,1,0,"i",14),mt$1(22,"div"),$c(23,"1 lowercase"),bt$2()(),mt$1(24,"div",13),_i(25,le$2,1,0,"i",14),mt$1(26,"div"),$c(27,"1 uppercase"),bt$2()(),mt$1(28,"div",13),_i(29,ce$3,1,0,"i",14),mt$1(30,"div"),$c(31,"1 number or special character"),bt$2()()(),mt$1(32,"div",4)(33,"div",5)(34,"div",7),Bn$1(35,"input",15),Z2(),bt$2()()(),mt$1(36,"div",16)(37,"button",17),$c(38," Save "),bt$2(),mt$1(39,"button",18),gt$1("click",function(){ks(e);let n=Mn$1();return Os(n.resetPasswordControls())}),$c(40," Cancel "),bt$2()()();}if(t&2){let e=Mn$1();xn$1("formGroup",e.state.form),Ut$1(3),bi(e.showForgotPasswordButton?3:-1),Ut$1(2),Q2(),Ut$1(4),wt("disabled",e.suggestionLoading),Ut$1(3),Q2(),Ut$1(5),bi(!e.newPasswordControl.errors?.minlength&&e.newPasswordControl.value?17:-1),Ut$1(4),bi(!e.newPasswordControl.errors?.doesNotHaveLowerCase&&e.newPasswordControl.value?21:-1),Ut$1(4),bi(!e.newPasswordControl.errors?.doesNotHaveUpperCase&&e.newPasswordControl.value?25:-1),Ut$1(4),bi(!e.newPasswordControl.errors?.doesNotHaveNumberOrSpecialCharacter&&e.newPasswordControl.value?29:-1),Ut$1(6),xn$1("rprDisableControl",!e.newPasswordControl?.valid),Q2(),Ut$1(2),xn$1("disabled",e.state.form.invali
1014d||!e.newPasswordControl.value||e.disableSave||e.state.submitting),Ut$1(2),xn$1("disabled",e.state.submitting);}}var Ae$2=(()=>{class t extends MB{constructor(){super(...arguments),this.showForgotPasswordButton=true,this.passwordChanged=ihe(),this.suggestionLoading=false,this.cd=h$5(dn$1),this.fb=h$5(VTe),this.analytics=h$5(SB),this.authManager=h$5(Se$2),this.events=h$5(Xo),this.usersApi=h$5(N_),this.routerHelper=h$5(B$2);}ngOnInit(){this.state.form=this.fb.group({currentPassword:["",O1.required],newPassword:["",O1.password],confirmPassword:["",O1.required]}),this.confirmPasswordControl.addValidators(O1.confirmEqual(this.newPasswordControl));}get currentPasswordControl(){return this.state.form.get("currentPassword")}get newPasswordControl(){return this.state.form.get("newPassword")}get confirmPasswordControl(){return this.state.form.get("confirmPassword")}onSuggestPassword(){this.suggestionLoading||(this.suggestionLoading=true,this.usersApi.generateSamplePassword().pipe(Ke$3(e=>{this.suggestionLoading=false,this.newPasswordControl.setValue(e),this.confirmPasswordControl.setValue(e),this.events.fire(Ti.PasswordToggle,true),this.cd.markForCheck();}),k$3(e=>(this.suggestionLoading=false,this.cd.markForCheck(),N$4(null))),ft$2(this.unsubscribe$)).subscribe());}resetPasswordControls(){this.state.form.reset(),this.state.form.updateValueAndValidity(),this.state.error=null,this.cd.markForCheck();}savePassword(){this.state.form.invalid||!this.newPasswordControl.value||this.disableSave||this.state.submitting||(this.state.submitting=true,this.state.error=null,this.usersApi.changePassword({passwords:new o({currentPassword:this.currentPasswordControl.value,newPassword:this.newPasswordControl.value})}).pipe(Ke$3(e=>{if(this.analytics.trackEvent(oI.AccountChangePassword,[sI.Status,ei(l$2,e)]),e!==l$2.Success){this.state.submitting=false,this.state.error=this.formatErrorStatus(e),this.cd.markForCheck();return}this.authManager.forceTokenRefreshAsync().finally(()=>{this.state.submitting=false,this.passwordWasChanged=true,this.state.form.reset(),this.passwordChanged.emit(),this.cd.markForCheck();});}),k$3(e=>(this.state.submitting=false,this.helper.showErrorDialog(),N$4(null))),ft$2(this.unsubscribe$)).subscribe());}onForgotPassword(){this.helper.signOutReason=rr.PasswordResetOrSignUpRequest,this.routerHelper.navigateByUrl("/auth/sign-out");}formatErrorStatus(e){switch(e){case l$2.CurrentPasswordInvalid:return "Your current password is invalid.";case l$2.AccountLockedOut:return "Your account is locked-out.";case l$2.ExceededCap:return "Your account is temporarily prevented from changing password.";case l$2.NewPasswordNotAllowed:return "The new password you entered is not allowed. Please enter a different password and try again.";case l$2.TokenInvalid:return "Sorry, that link has expired!";case l$2.AccountDisabled:return "Your account is disabled.";case l$2.Error:default:return "Error has occurred. Password was not changed."}}static{this.\u0275fac=(()=>{let e;return function(n){return (e||(e=_t$1(t)))(n||t)}})();}static{this.\u0275cmp=It({type:t,selectors:[["rpr-change-password"]],inputs:{disableSave:"disableSave",showForgotPasswordButton:"showForgotPasswordButton"},outputs:{passwordChanged:"passwordChanged"},features:[Ee$2],decls:3,vars:2,consts:[[1,"has-text-danger-dark","margin-bottom-20"],[1,"has-text-success-dark"],[3,"formGroup"],[3,"ngSubmit","formGroup"],[1,"columns"],[1,"column","password-container"],[1,"action-link-container"],[1,"is-flex","align-items-center"],["type","password","placeholder","Enter Current Password","rprRevealablePassword","","formControlName","currentPassword","data-lpignore","true","maxlength","50",1,"input"],[3,"click"],["type","password","placeholder","Enter New Password","rprRevealablePassword","","formControlName","newPassword","data-lpignore","true","maxlength","50",1,"input"],[1,"margin-bottom-15"],[1,"semi-bold"],[1,"requirement-description"],[1,"fa-light","fa-circle-check"],["type","password","placeholder","Confirm New Password","rprRevealablePassword","","formControlName","confirmPassword","data-lpignore","true","maxlength","50",1,"input",3,"rprDisableControl"],[1,"buttons"],["type","submit",1,"button","is-primary","flex-item-extended",3,"disabled"],["type","button",1,"button","is-primary","is-outlined","flex-item-extended",3,"click","disabled"]],template:function(p,n){p&1&&(_i(0,oe$3,2,1,"div",0),_i(1,ne$2,2,0,"div",1)(2,ue$2,41,11,"form",2)),p&2&&(bi(n.state.error?0:-1),Ut$1(),bi(n.passwordWasChanged?1:2));},dependencies:[h$3,jTe,PTe,oL,RTe,ATe,lZ,HTe,OZ,NZ,y$2],styles:["[_nghost-%COMP%]{display:block;margin-bottom:36px}[_nghost-%COMP%] a.show-hide-button{width:40px;flex:0 0 auto}input.input[_ngcontent-%COMP%]{height:50px}mat-form-field[_ngcontent-%COMP%]{width:100%}.action-link-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-right:50px;margin-bottom:2px}.password-container[_ngcontent-%COMP%]{width:95%;flex:none}.password-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:10px}.requirement-description[_ngcontent-%COMP%]{display:flex;align-items:center;color:#4f6278;margin:5px 0}.requirement-description[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:20px;margin-right:5px}.requirement-description[_ngcontent-%COMP%] i.fa-circle-check[_ngcontent-%COMP%]{color:#1dd781}"]});}}return t})();var y=(()=>{class e{constructor(){this.spaceOrEnterKeyPressed=ihe(),this.elRef=h$5(me$2),this.renderer=h$5(Vt$2);}ngAfterContentInit(){this.renderer.setAttribute(this.elRef.nativeElement,"tabindex","0");}onKeyUp(t){(t.key===" "||t.key==="Enter")&&this.spaceOrEnterKeyPressed.emit
1014();}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275dir=q$7({type:e,selectors:[["","rprMakeTabbable",""]],hostBindings:function(r,p){r&1&>$1("keyup",function(b){return p.onKeyUp(b)});},outputs:{spaceOrEnterKeyPressed:"spaceOrEnterKeyPressed"}});}}return e})();function j$1(n,i){if(n&1&&(mt$1(0,"p"),$c(1),bt$2()),n&2){let t=Mn$1();Ut$1(),SC(" The content you are accessing ",t.hostText,". Click on the original browser window or tab to return to the RPR site. ");}}var p$1=class n extends RB{constructor(){super(),this.url=this.dialogData.url||"",this.messageTemplate=this.dialogData.messageTemplate,this.primaryCtaTxt=this.dialogData.primaryCtaTxt||"Leave";}get hostText(){return this.url.toLowerCase().indexOf(E$4.config.blogBaseUrl)>=0?"is hosted on the RPR Blog":"is hosted outside of the RPR site"}static{this.\u0275fac=function(t){return new(t||n)};}static{this.\u0275cmp=It({type:n,selectors:[["rpr-external-link-dialog"]],features:[Ee$2],decls:19,vars:5,consts:[[1,"is-flex","align-items-center","justify-content-between"],[1,"is-flex"],[1,"info","is-flex","align-items-center"],[1,"fa-light","fa-circle-info","margin-left-20","margin-right-20"],[1,"content","margin-left-20"],[1,"dialog-header"],[3,"ngTemplateOutlet"],[3,"change","checked"],[1,"is-flex","align-items-center","justify-content-between","margin-top-20"],["target","_blank",1,"button","is-primary","margin-right-15",3,"click","href"],["type","button",1,"button","is-primary","is-outlined",3,"click"],["aria-label","Close","rprMakeTabbable","",1,"fa-light","fa-xmark","close-dialog-icon",3,"click","spaceOrEnterKeyPressed"]],template:function(t,e){t&1&&(mt$1(0,"div",0)(1,"div",1)(2,"div",2),Bn$1(3,"i",3),bt$2(),mt$1(4,"div",4)(5,"h1",5),$c(6,"You are about to leave RPR..."),bt$2(),vm(7,6),_i(8,j$1,2,1,"p"),mt$1(9,"p")(10,"mat-checkbox",7),gt$1("change",function(m){return e.skipExternalLinkDialog=m.checked||null}),$c(11,"Don't show this message again"),bt$2()(),mt$1(12,"div",8)(13,"div",1)(14,"a",9),gt$1("click",function(){return e.close()}),$c(15),bt$2(),mt$1(16,"button",10),gt$1("click",function(){return e.close()}),$c(17,"Cancel"),bt$2()()()()()(),mt$1(18,"i",11),gt$1("click",function(){return e.close()})("spaceOrEnterKeyPressed",function(){return e.close()}),bt$2()),t&2&&(Ut$1(7),xn$1("ngTemplateOutlet",e.messageTemplate),Ut$1(),bi(e.messageTemplate?-1:8),Ut$1(2),xn$1("checked",e.skipExternalLinkDialog),Ut$1(4),xn$1("href",e.url,Qh),Ut$1(),bm(e.primaryCtaTxt));},dependencies:[eS,qL,rE,y],styles:["[_nghost-%COMP%]{max-width:35em}.info[_ngcontent-%COMP%]{margin-top:-24px;margin-bottom:-24px;margin-left:-24px;background-color:#97a7ba}.info[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.5em;color:#fff}.content[_ngcontent-%COMP%] p{margin-bottom:20px}.button[_ngcontent-%COMP%]{min-width:100px}"]});}};Se$3([Pn$1({storageKey:"skip_ExternalLinkDialog"})],p$1.prototype,"skipExternalLinkDialog",void 0);var h$2=class n{constructor(){this.el=h$5(me$2),this.dialog=h$5(vf);}ngOnInit(){let i=this.el?.nativeElement;i&&i.setAttribute("target","_blank");}onClick(i,t){i.preventDefault();let e=(t||this.el.nativeElement).getAttribute("href");if(!e)return;if(this.skipExternalLinkDialog){window.open(e);return}let{messageTemplate:o,primaryCtaTxt:m}=this;this.dialog.open(p$1,{data:{url:e,messageTemplate:o,primaryCtaTxt:m}}
1014);}static{this.\u0275fac=function(t){return new(t||n)};}static{this.\u0275dir=q$7({type:n,selectors:[["","rprExternalLink",""]],hostBindings:function(t,e){t&1&>$1("click",function(m){return e.onClick(m)});},inputs:{messageTemplate:"messageTemplate",primaryCtaTxt:"primaryCtaTxt"}});}};Se$3([Pn$1({storageKey:"skip_ExternalLinkDialog"})],h$2.prototype,"skipExternalLinkDialog",void 0);var K$3=(()=>{class a extends xB{constructor(){super(...arguments),this.config=E$4.config,this.$pageIsScrollable=Q$6(false),this.date=new Date,this.helper=h$5(ue$3),this.events=h$5(Xo);}ngOnInit(){this.events.on(Ti.WindowResize).pipe(ft$2(this.unsubscribe$)).subscribe(()=>this.evaluateScroll());}ngAfterViewInit(){this.evaluateScroll();}evaluateScroll(){let{documentElement:{scrollHeight:r}}=Ht$1.document,{innerHeight:o}=Ht$1.window;this.$pageIsScrollable.set(r>o);}static{this.\u0275fac=(()=>{let r;return function(t){return (r||(r=_t$1(a)))(t||a)}})();}static{this.\u0275cmp=It({type:a,selectors:[["rpr-standalone-page-footer"]],hostVars:4,hostBindings:function(o,t){o&2&&wt("page-is-scrollable",t.$pageIsScrollable())("margin-bottom-20",t.$pageIsScrollable());},features:[Ee$2],decls:27,vars:9,consts:[[1,"is-flex"],["datetime","2009"],[1,"is-flex","align-items-center"],[1,"is-pipe"],["target","_blank","rprExternalLink","",1,"nowrap",3,"href"],["href","/terms-of-use",3,"click"],["href","/privacy-policy",3,"click"]],template:function(o,t){o&1&&(mt$1(0,"footer",0)(1,"small"),$c(2," \xA9 "),mt$1(3,"time",1),$c(4,"2009"),bt$2(),$c(5,"-"),mt$1(6,"time"),Oq(7,"date"),$c(8),Oq(9,"date"),bt$2(),$c(10," Realtors Property Resource"),mt$1(11,"sup"),$c(12,"\xAE"),bt$2(),$c(13,", LLC. All rights reserved. "),bt$2(),mt$1(14,"nav",2),Bn$1(15,"hr",3),mt$1(16,"p")(17,"a",4),$c(18,"About Us"),bt$2()(),Bn$1(19,"hr",3),mt$1(20,"p")(21,"a",5),gt$1("click",function(c){return c.preventDefault(),t.helper.showTermsOfUseDialog()}),$c(22,"Terms of Use"),bt$2()(),Bn$1(23,"hr",3),mt$1(24,"p")(25,"a",6),gt$1("click",function(c){return c.preventDefault(),t.helper.showPrivacyPoliciesDialog()}),$c(26,"Privacy Policies"),bt$2()()()()),o&2&&(Ut$1(6),Rt("datetime",Fq(7,3,t.date,"yyyy")),Ut$1(2),bm(Fq(9,6,t.date,"yyyy")),Ut$1(9),xn$1("href",`${t.config.blogBaseUrl}/#about-rpr`,Qh));},dependencies:[h$2,n3],styles:["[_nghost-%COMP%]{position:absolute;bottom:20px}.page-is-scrollable[_nghost-%COMP%]{position:static}footer[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:1em;text-align:center}footer[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{background-color:#2b2b2b}@media(width<=774px){footer[_ngcontent-%COMP%]{flex-direction:column;row-gap:.5em}footer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{column-gap:1em;justify-content:center}footer[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]:first-child{display:none}}@media(width<=450px){footer[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{max-width:352px}footer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{column-gap:.75em}}"]});}}return a})();var i$2=(function(n){return n[n.Generic=1]="Generic",n[n.FrequencyCap=2]="FrequencyCap",n[n.Timeout=3]="Timeout",n[n.DeepLinkNoResults=4]="DeepLinkNoResults",n[n.PasswordChangeRequired=5]="PasswordChangeRequired",n[n.ReportUnavailable=20]="ReportUnavailable",n[n.ReportFailed=21]="ReportFailed",n[n.AccessDenied=401]="AccessDenied",n[n.NotFound=404]="NotFound",n[n.ServerError=500]="ServerError",n})(i$2||{});function W$2(r,h){if(r&1&&Bn$1(0,"br")(1,"span",5),r&2){let t=Mn$1(2);Ut$1(),xn$1("innerHTML",t.$descriptionLine2(),Js);}}function Y$3(r,h){if(r&1&&(mt$1(0,"p",1),Bn$1(1,"span",5),_i(2,W$2,2,1),bt$2()),r&2){let t=Mn$1();Ut$1(),xn$1("innerHTML",t.$descriptionLine1(),Js),Ut$1(),bi(t.$descriptionLine2()?2:-1);}}function j(r,h){if(r&1){let t=Uc();mt$1(0,"p",1),$c(1," For the protection of our users and your data, RPR monitors website traffic for the appearance of data harvesting. This automated process has identified that your account usage may fit such a pattern. As a precaution, we have temporarily prevented you from viewing more data today."),Bn$1(2,"br")(3,"br"),$c(4),mt$1(5,"a",6),$c(6),bt$2(),$c(7,". You can also review our Terms of Use at "),mt$1(8,"a",7),gt$1("click",function(n){ks(t);let I=Mn$1();return n.preventDefault(),Os(I.helper.showTermsOfUseDialog())}),$c(9,"www.narrpr.com/terms-of-use"),bt$2(),$c(10,". "),bt$2();}if(r&2){let t=Mn$1();Ut$1(4),SC(" RPR takes our commitment to securing the content we have licensed from your MLS seriously. If you feel we have incorrectly blocked you, please contact RPR Member Support at ",t.config.supp
1014ortPhoneNumber," or "),Ut$1(),xn$1("href",`mailto:${t.config.supportEmail}`,Qh),Ut$1(),bm(t.config.supportEmail);}}function K$2(r,h){if(r&1){let t=Uc();mt$1(0,"rpr-change-password",8),gt$1("passwordChanged",function(){ks(t);let n=Mn$1();return Os(n.onPasswordChanged())}),bt$2();}}function Q$4(r,h){if(r&1){let t=Uc();mt$1(0,"button",9),gt$1("click",function(){ks(t);let n=Mn$1();return Os(n.onGoBack())}),Bn$1(1,"i",10),$c(2," Go Back "),bt$2();}}function J$2(r,h){r&1&&Bn$1(0,"div",3);}function X$4(r,h){r&1&&Bn$1(0,"div",4);}var z$2=(()=>{class r extends xB{constructor(){super(...arguments),this.$errorType=Cm(i$2.Generic,{alias:"errorType"}),this.$pageTitle=Et(()=>{switch(this.$errorType()){case i$2.NotFound:return "Page not found";case i$2.AccessDenied:return "Access denied";case i$2.FrequencyCap:return "Too many requests";case i$2.Timeout:return "Timeout error";case i$2.DeepLinkNoResults:return "No results";case i$2.PasswordChangeRequired:return "Change password";case i$2.ReportUnavailable:return "Report unavailable";case i$2.ReportFailed:return "Report failed";default:return "Error occurred"}}),this.$headingText=Et(()=>{switch(this.$errorType()){case i$2.NotFound:return "404 Error";case i$2.ServerError:return "500 Error";case i$2.AccessDenied:return "401 Error";case i$2.FrequencyCap:return "Too many requests";case i$2.Timeout:return "Timeout Error";case i$2.DeepLinkNoResults:return "No Results";case i$2.PasswordChangeRequired:return "Change Password";case i$2.ReportUnavailable:return "Sorry, this report is no longer available";case i$2.ReportFailed:return "Sorry, something went wrong!";default:return "Error!"}}),this.$descriptionLine1=Et(()=>{switch(this.$errorType()){case i$2.NotFound:return "Sorry, we couldn't find that page";case i$2.ServerError:return "Sorry, something went wrong with our server!";case i$2.AccessDenied:return "You do not have access to this page.";case i$2.FrequencyCap:return "";case i$2.Timeout:return "There was a timeout and you should try back in a few minutes.";case i$2.DeepLinkNoResults:return "Sorry, we cannot currently find the information you're looking for. Please check your search criteria and try again.";case i$2.PasswordChangeRequired:return "You must change your RPR password to continue.";case i$2.ReportUnavailable:return "Contact your REALTOR<sup>®</sup> for more information or a replacement.";case i$2.ReportFailed:return `Apologies for the inconvenience, but it seems we encountered an issue while generating your report. 1015 We are investigating the matter. Please try again later.`;default:return "Looks like something weird just happened!"}}),this.$descriptionLine2=Et(()=>{switch(this.$errorType()){case i$2.NotFound:case i$2.AccessDenied:case i$2.FrequencyCap:case i$2.Timeout:case i$2.PasswordChangeRequired:case i$2.ReportUnavailable:case i$2.ReportFailed:return "";case i$2.ServerError:return "We're on it!";case i$2.DeepLinkNoResults:return "If you are looking for a new listing, we may not have received it yet. Please check back again shortly.";default:return "We're looking into it."}}),this.$errorCssClass=Et(()=>{switch(this.$errorType()){case i$2.FrequencyCap:return "error-freq-cap";case i$2.DeepLinkNoResults:return "error-deep-link-no-results";default:return ""}}),this.$isFrequencyCapError=Et(()=>this.$errorType()===i$2.FrequencyCap),this.$isChangePasswordError=Et(()=>this.$errorType()===i$2.PasswordChangeRequired),this.$showBackButton=Et(()=>{switch(this.$errorType()){case i$2.Generic:case i$2.AccessDenied:case i$2.
1015NotFound:case i$2.ServerError:case i$2.Timeout:case i$2.DeepLinkNoResults:case i$2.FrequencyCap:return true;default:return false}}),this.$showMaintenanceScreen=Et(()=>{switch(this.$errorType()){case i$2.Generic:case i$2.ServerError:case i$2.Timeout:case i$2.ReportFailed:return true;default:return false}}),this.$showReportBox=Et(()=>this.$errorType()===i$2.ReportUnavailable),this.config=E$4.config,this.helper=h$5(ue$3),this.title=h$5(EN),this.cd=h$5(dn$1),this.location=h$5(wi),this.routerHelper=h$5(B$2),this.route=h$5(Ii);}ngOnInit(){this.route.queryParams.pipe(ft$2(this.unsubscribe$)).subscribe(t=>{this.changePasswordReturnUrl=qVe(t,H$3.ReturnUrl);}),this.title.setTitle(this.$pageTitle());}onGoBack(){this.location.back();}onPasswordChanged(){if(this.changePasswordReturnUrl){this.routerHelper.navigateByUrl(this.changePasswordReturnUrl);return}this.helper.$fullPageErrorType.set(null),this.cd.markForCheck();}static{this.\u0275fac=(()=>{let t;return function(n){return (t||(t=_t$1(r)))(n||r)}})();}static{this.\u0275cmp=It({type:r,selectors:[["rpr-full-page-error"]],inputs:{$errorType:[1,"errorType","$errorType"]},features:[Ee$2],decls:11,vars:9,consts:[["href","/",1,"logo","rpr-icon"],[1,"error-page-description"],["type","button",1,"button","is-info","margin-top-10","margin-bottom-20"],[1,"maintenance-screen"],[1,"report-box"],[3,"innerHTML"],[3,"href"],["href","/terms-of-use",3,"click"],[3,"passwordChanged"],["type","button",1,"button","is-info","margin-top-10","margin-bottom-20",3,"click"],[1,"fa-solid","fa-chevron-left","margin-right-10"]],template:function(i,n){i&1&&(mt$1(0,"section"),Bn$1(1,"a",0),mt$1(2,"h1"),$c(3),bt$2(),_i(4,Y$3,3,2,"p",1),_i(5,j,11,3,"p",1),_i(6,K$2,1,0,"rpr-change-password"),_i(7,Q$4,3,0,"button",2),_i(8,J$2,1,0,"div",3),_i(9,X$4,1,0,"div",4),Bn$1(10,"rpr-standalone-page-footer"),bt$2()),i&2&&(wd(`error-content ${n.$errorCssClass()}`),Ut$1(3),bm(n.$headingText()),Ut$1(),bi(n.$descriptionLine1()?4:-1),Ut$1(),bi(n.$isFrequencyCapError()?5:-1),Ut$1(),bi(n.$isChangePasswordError()?6:-1),Ut$1(),bi(n.$showBackButton()?7:-1),Ut$1(),bi(n.$showMaintenanceScreen()?8:-1),Ut$1(),bi(n.$showReportBox()?9:-1));},dependencies:[Ae$2,K$3],styles:[".error-content[_ngcontent-%COMP%]{min-height:100vh;width:100%;display:flex;flex-direction:column;align-items:center;background-color:#fff;padding:0 20px}.logo.rpr-icon[_ngcontent-%COMP%]{background-image:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'362\' height=\'113\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cpath fill=\'%23000\' d=\'M354.417 30.52h1.119q.8 0 1.093-.243a.77.77 0 0 0 .292-.63.8.8 0 0 0-.14-.454.86.86 0 0 0-.392-.299q-.248-.099-.923-.099h-1.05zm-.917 3.21v-5.71h1.959q1.005 0 1.454.159.45.158.717.554.269.392.268.835 0 .626-.447 1.089t-1.185.521q.302.126.486.301.345.34.842 1.133l.698 1.117h-1.124l-.506-.9q-.6-1.061-.964-1.33-.253-.195-.738-.195h-.543v2.425h-.917zm2.324-7.358a4.5 4.5 0 0 0-2.175.571 4.1 4.1 0 0 0-1.653 1.637 4.44 4.44 0 0 0-.599 2.219q0 1.146.583 2.197.59 1.049 1.645 1.636 1.054.587 2.199.589c.76 0 1.497-.198 2.201-.59a4.14 4.14 0 0 0 1.636-1.635q.585-1.051.585-2.197-.002-1.151-.593-2.22a4.1 4.1 0 0 0-1.656-1.636q-1.062-.572-2.173-.571m0-.88c.89 0 1.762.229 2.608.687a4.84 4.84 0 0 1 1.98 1.961 5.35 5.35 0 0 1 .712 2.659q0 1.369-.7 2.636a4.94 4.94 0 0 1-1.96 1.964 5.37 5.37 0 0 1-2.64.7 5.37 5.37 0 0 1-2.639-.7 4.93 4.93 0 0 1-1.964-1.964 5.34 5.34 0 0 1-.706-2.636q.002-1.384.713-2.659a4.9 4.9 0 0 1 1.988-1.961q1.275-.687 2.608-.687\'/%3E%3Cpath fill=\'%23fffffe\' d=\'M360.988 26.038v69.583\'/%3E%3Cpath fill=\'%23000\' d=\'M174.052 54.63h16.564q5.201 0 7.801-2.311t2.6-7.512q0-5.007-2.6-7.27t-7.8-2.264h-16.565zm-15.12-31.106h37.078q4.622 0 8.33 1.493 3.707 1.492 6.356 4.092a17.8 17.8 0 0 1 4.045 6.02q1.395 3.418 1.396 7.367 0 6.067-2.552 10.497t-8.33 6.741v.193q2.792.77 4.622 2.36a13.1 13.1 0 0 1 2.986 3.755q1.155 2.168 1.685 4.767a41 41 0 0 1 .722 5.2q.097 1.638.193 3.853t.337 4.526.77 4.382q.53 2.07 1.59 3.515h-15.12q-1.253-3.275-1.541-7.8a116 116 0 0 0-.867-8.668q-.77-5.393-3.274-7.897t-8.186-2.504h-15.12v26.87h-15.12V23.523zm84.652 32.358h11.749q2.6 0 5.008-.385c2.408-.385 3.017-.754 4.237-1.493q1.83-1.107 2.938-3.13 1.107-2.023 1.107-5.296 0-3.275-1.107-5.297-1.108-2.023-2.938-3.13t-4.237-1.493a31.7 31.7 0 0 0-5.008-.385h-11.75v20.61zm-15.12-32.358h31.01q6.453 0 10.979 1.878t7.367 4.96a19.05 19.05 0 0 1 4.141 7.03q1.3 3.947 1.3 8.186 0 4.14-1.3 8.137a19 19 0 0 1-4.14 7.079q-2.842 3.08-7.368 4.96-4.526 1.877-10.979
10151.877h-15.89v24.654h-15.12zM307.82 54.63h16.564q5.2 0 7.801-2.311t2.6-7.512q0-5.007-2.6-7.27t-7.8-2.264H307.82zM292.7 23.524h37.077q4.623 0 8.33 1.493 3.709 1.492 6.357 4.092a17.8 17.8 0 0 1 4.045 6.02q1.396 3.418 1.396 7.367 0 6.067-2.552 10.497t-8.33 6.741v.193q2.792.77 4.622 2.36a13.1 13.1 0 0 1 2.986 3.755q1.155 2.168 1.685 4.767a41 41 0 0 1 .722 5.2q.097 1.638.193 3.853t.337 4.526.77 4.382q.53 2.07 1.59 3.515h-15.12q-1.253-3.275-1.541-7.8a116 116 0 0 0-.867-8.668q-.77-5.393-3.274-7.897t-8.186-2.504h-15.12v26.87H292.7V23.523z\'/%3E%3Cpath stroke=\'%23000\' stroke-width=\'.5\' d=\'M136.23.765v110.328\'/%3E%3Cpath fill=\'%23000\' d=\'M57.091.646c-30.823 0-55.81 24.987-55.81 55.81s24.987 55.811 55.81 55.811h35.915c11.158 0 19.9-8.545 19.9-19.359v-36.43C112.834 25.569 87.875.647 57.091.647\'/%3E%3Cpath stroke=\'%23231f20\' d=\'M57.091.646c-30.823 0-55.81 24.987-55.81 55.81s24.987 55.811 55.81 55.811h35.915c11.158 0 19.9-8.545 19.9-19.359v-36.43C112.834 25.569 87.875.647 57.091.647z\'/%3E%3Cpath fill=\'%23fefefe\' d=\'M38.884 38.517s-6.156-10.681 3.168-21.096c6.311-7.05 18.561-6.904 24.978-.925 8.455 7.879 4.241 14.812 7.73 18.812 4.958 5.688 10.208.146 18.958 7.803 7.879 6.895 7.167 20.788-.73 27.343-7.729 6.417-12.979 1.896-17.5 6.417-4.52 4.52-.349 11.187-7 18.083-7.875 8.167-19.979 8.167-27.708-1.02-7.076-8.411-1.896-19.396-1.896-19.396s-7.875 1.02-14.146-4.959c-6.452-6.152-8.548-17.7 0-26.25q5.105-5.105 14.146-4.812\'/%3E%3Cpath stroke=\'%23231f20\' d=\'M38.884 38.517s-6.156-10.681 3.168-21.096c6.311-7.05 18.561-6.904 24.978-.925 8.455 7.879 4.241 14.812 7.73 18.812 4.958 5.688 10.208.146 18.958 7.803 7.879 6.895 7.167 20.788-.73 27.343-7.729 6.417-12.979 1.896-17.5 6.417-4.52 4.52-.349 11.187-7 18.083-7.875 8.167-19.979 8.167-27.708-1.02-7.076-8.411-1.896-19.396-1.896-19.396s-7.875 1.02-14.146-4.959c-6.452-6.152-8.548-17.7 0-26.25q5.105-5.105 14.146-4.812z\'/%3E%3Cpath fill=\'%2369a3d7\' d=\'M69.527 56.406c-.31 3.282-.426 6.651-4.18 10.46l5.616 5.615.117-.12c6.57-6.57 11.965-1.794 17.899-6.857q.43-.338.799-.704.461-.463.877-1.02l.043-.054.031-.043c1.373-1.773 2.077-3.785 2.277-5.797q.097-.732.109-1.48zm.013-.132q-.008.066-.013.132h23.588c.042-2.535-.683-5.174-2.546-7.448a9 9 0 0 0-.791-.913 9 9 0 0 0-.829-.73c-5.925-5.031-11.282-.314-18.01-6.963l-5.615 5.616.138.134c3.655 3.657 3.798 6.949 4.077 10.172\'/%3E%3Cpath fill=\'%23a5c96f\' d=\'m65.308 66.866-.094.097c-6.92 6.919-12.394 1.28-18.666 7.553-4.088 4.087-4.666 11.863.013 16.542 4.255 4.254 11.487 5.398 16.738.148 6.206-6.207.756-11.73 7.625-18.725z\'/%3E%3Cpath fill=\'%23fefefe\' d=\'M94.194 94.968h1.008q.722 0 .985-.218a.7.7 0 0 0 .263-.568.7.7 0 0 0-.126-.408.77.77 0 0 0-.353-.27q-.223-.09-.832-.089h-.945zm-.826 2.893v-5.143h1.765q.906 0 1.31.142.406.143.646.5.241.353.241.753 0 .563-.402.98-.403.418-1.068.47.272.113.438.27.311.306.758 1.021l.629 1.007h-1.012l-.456-.81q-.541-.957-.868-1.199-.229-.176-.666-.176h-.49v2.185zm2.094-6.63q-1.008 0-1.96.516a3.7 3.7 0 0 0-1.49 1.474 4 4 0 0 0-.538 1.999c0 .687.174 1.35.525 1.98a3.77 3.77 0 0 0 1.482 1.473 4 4 0 0 0 1.98.53q1.031 0 1.984-.53a3.73 3.73 0 0 0 1.474-1.474 4 4 0 0 0 .527-1.98q-.001-1.035-.535-1.998a3.7 3.7 0 0 0-1.492-1.474 4.07 4.07 0 0 0-1.957-.515zm0-.792q1.204 0 2.35.619a4.36 4.36 0 0 1 1.783 1.767 4.8 4.8 0 0 1 .642 2.395q0 1.233-.63 2.375a4.45 4.45 0 0 1-1.766 1.77q-1.138.63-2.38.63a4.84 4.84 0 0 1-2.377-.63 4.45 4.45 0 0 1-1.769-1.77 4.8 4.8 0 0 1-.636-2.375q.002-1.246.642-2.395a4.4 4.4 0 0 1 1.791-1.767q1.149-.62 2.35-.619\'/%3E%3Cpath stroke=\'%23231f20\' stroke-width=\'1.106\' d=\'M94.194 94.968h1.008q.722 0 .985-.218a.7.7 0 0 0 .263-.568.7.7 0 0 0-.126-.408.77.77 0 0 0-.353-.27q-.223-.09-.832-.089h-.945zm-.826 2.893v-5.143h1.765q.906 0 1.31.142.406.143.646.5.241.353.241.753 0 .563-.402.98-.403.418-1.068.47.272.113.438.27.311.306.758 1.021l.629 1.007h-1.012l-.456-.81q-.541-.957-.868-1.199-.229-.176-.666-.176h-.49v2.185zm2.094-6.63q-1.008 0-1.96.516a3.7 3.7 0 0 0-1.49 1.474 4 4 0 0 0-.538 1.999c0 .687.174 1.35.525 1.98a3.77 3.77 0 0 0 1.482 1.473 4 4 0 0 0 1.98.53q1.031 0 1.984-.53a3.73 3.73 0 0 0 1.474-1.474 4 4 0 0 0 .527-1.98q-.001-1.035-.535-1.998a3.7 3.7 0 0 0-1.492-1.474 4.07 4.07 0 0 0-1.957-.515zm0-.792q1.204 0 2.35.619a4.36 4.36 0 0 1 1.783 1.767 4.8 4.8 0 0 1 .642 2.395q0 1.233-.63 2.375a4.45 4.45 0 0 1-1.766 1.77q-1.138.63-2.38.63a4.84 4.84 0 0 1-2.377-.63 4.45 4.45 0 0 1-1.769-1.77 4.8 4.8 0 0 1-.636-2.375q.002-1.246.642-2.395a4.4 4.4 0 0 1 1.791-1.767q1.149-.62 2.35-.619z\'/%3E%3Cpath fill=\'%23fefefe\' d=\'M93.758 94.606h1.081q.773 0 1.056-.234a.74.74 0 0 0 .282-.61.75.75 0 0 0-.135-.437.83.83 0 0 0-.379-.289q-.239-.095-.891-.095h-1.014zm-.885 3.1v-5.513h1.892q.971 0 1.404.153.435.153.693.535a1.4 1.4 0 0 1 .258.807q.001.
1015605-.43 1.052-.434.447-1.145.503.291.12.47.291.332.327.812 1.094l.674 1.079h-1.085l-.49-.869q-.579-1.024-.93-1.285-.245-.188-.713-.189h-.525v2.343zm2.244-7.106q-1.08 0-2.1.552c-.68.37-1.217.896-1.597 1.58a4.3 4.3 0 0 0-.578 2.143q0 1.107.563 2.123a4.04 4.04 0 0 0 1.589 1.58 4.3 4.3 0 0 0 2.123.569c.735 0 1.447-.191 2.126-.569a4 4 0 0 0 1.581-1.58 4.3 4.3 0 0 0 .565-2.123 4.4 4.4 0 0 0-.573-2.143 3.95 3.95 0 0 0-1.6-1.58 4.36 4.36 0 0 0-2.099-.552m0-.85q1.292 0 2.52.663a4.68 4.68 0 0 1 1.911 1.895 5.17 5.17 0 0 1 .689 2.567q0 1.324-.676 2.547a4.77 4.77 0 0 1-1.893 1.897 5.2 5.2 0 0 1-2.55.675 5.2 5.2 0 0 1-2.55-.675 4.77 4.77 0 0 1-1.896-1.897 5.16 5.16 0 0 1-.682-2.547q.001-1.337.688-2.567a4.72 4.72 0 0 1 1.92-1.895q1.23-.663 2.52-.663z\'/%3E%3Cpath fill=\'%23de4329\' d=\'M25.267 56.405c0 6.533 5.295 11.828 11.828 11.828s11.828-5.295 11.828-11.828-5.296-11.828-11.828-11.828c-6.533 0-11.828 5.295-11.828 11.828\'/%3E%3Cpath fill=\'%23f2826e\' d=\'M28.93 47.851a11.8 11.8 0 0 0-3.664 8.554c0 3.365 1.408 6.4 3.664 8.554l8.554-8.554z\'/%3E%3Cpath fill=\'%23f7d880\' d=\'m65.324 45.968 5.615-5.616-.08-.077c-6.918-6.92-1.28-12.394-7.552-18.666-2.11-2.11-5.2-3.284-8.342-3.284-2.946 0-5.936 1.033-8.2 3.297-4.255 4.255-5.398 11.487-.148 16.738 6.201 6.201 11.72.765 18.707 7.608\'/%3E%3Cpath fill=\'%2391bce1\' d=\'M89.708 64.865q.034-.033.07-.065.46-.463.878-1.02l.042-.054.031-.043c1.374-1.773 2.077-3.785 2.277-5.797.397-2.962-.208-6.207-2.437-8.928a9 9 0 0 0-.792-.913c-.027-.028-.059-.054-.087-.082l-8.442 8.442z\'/%3E%3Cpath fill=\'%23f3c43d\' d=\'m65.234 45.968 2.798-2.798-21.45-21.45c-4.176 4.266-5.265 11.429-.054 16.64 6.2 6.201 11.72.765 18.706 7.608\'/%3E%3Cpath fill=\'%233885ca\' d=\'M65.461 46.102c3.656 3.657 3.799 6.949 4.078 10.172-.32 3.324-.388 6.732-4.192 10.591l2.777 2.777 13.235-13.235L68.122 43.17l-2.798 2.798z\'/%3E%3Cpath fill=\'%2387b740\' d=\'m65.258 66.866-.095.097c-6.92 6.919-12.393 1.28-18.666 7.553-4.087 4.087-4.666 11.863.014 16.542l.054.052 21.47-21.468z\'/%3E%3C/g%3E%3C/svg%3E\");width:100%;height:170px;background-size:203px 64px}h1[_ngcontent-%COMP%]{color:#3f4955;font-size:3em;font-weight:600;margin-bottom:20px;text-align:center}.error-page-description[_ngcontent-%COMP%]{color:#3f4955;font-size:1.5em;max-width:700px;text-align:center;margin-bottom:25px}.maintenance-screen[_ngcontent-%COMP%]{background:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 668.01 388.13\'%3E%3Cdefs%3E%3CclipPath id=\'a\'%3E%3Cpath fill=\'none\' stroke-width=\'0\' d=\'M.02 0h667.99v388.12H.02z\'/%3E%3C/clipPath%3E%3Cmask id=\'b\' width=\'351\' height=\'205\' x=\'106.54\' y=\'49\' maskUnits=\'userSpaceOnUse\'%3E%3Cg stroke-width=\'0\'%3E%3Cpath fill=\'%23fff\' d=\'M457.54 49h-351v205h351z\'/%3E%3Cpath fill-rule=\'evenodd\' d=\'M405.63 50H157.55v139.99h248.08zm-8 8H165.56v123.99h232.07z\'/%3E%3Cpath d=\'M107.54 240.99v12h348.11v-12z\'/%3
1015E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cg clip-path=\'url(%23a)\'%3E%3Cpath fill=\'%23c3d0df\' fill-rule=\'evenodd\' d=\'M157.55 189.99h248.08l50.02 51H107.54c16.51-17 49.61-51 50.02-51Zm270.08 42H135.55l30.01-35h232.07l30.01 35z\'/%3E%3Cpath fill=\'%23fff\' fill-rule=\'evenodd\' d=\'M405.63 50H157.55v139.99h248.08zm-8 8H165.56v123.99h232.07z\'/%3E%3Cpath fill=\'%23fff\' d=\'M107.54 240.99v12h348.11v-12z\'/%3E%3Cg mask=\'url(%23b)\'%3E%3Cpath fill=\'%232b2b2b\' d=\'M157.55 189.49c-.1 0-.17.03-.19.04-.03 0-.06.03-.07.04-.03.02-.06.04-.07.05-.04.03-.08.06-.12.1q-.12.105-.33.3c-.27.26-.66.63-1.15 1.12-.98.96-2.37 2.36-4.08 4.09-3.42 3.45-8.11 8.24-13.31 13.55-10.39 10.62-22.8 23.38-31.05 31.88l.72.7c8.25-8.5 20.65-21.25 31.04-31.87 5.2-5.31 9.89-10.09 13.3-13.54 1.71-1.73 3.1-3.12 4.07-4.08.49-.48.87-.85 1.13-1.1.13-.12.23-.22.3-.27.03-.03.05-.04.06-.05h-.02s-.03.03-.05.04c-.02 0-.09.04-.18.04zM456 240.64l-50.02-51-.71.7 50.01 51 .71-.7zM157.55 50v-1h-1v1zm248.08 0h1v-1h-1zM157.55 189.99h-1v1h1zm248.08 0v1h1v-1zM165.56 58v-1h-1v1zm232.07 0h1v-1h-1zM165.56 181.99h-1v1h1zm232.07 0v1h1v-1zm-290.09 59v-1c-.55 0-1 .45-1 1zm0 12h-1v1h1zm348.11 0v1h1v-1zm0-12h1c0-.55-.45-1-1-1zM157.55 51h248.08v-2H157.55zm1 138.99V50h-2v139.99zm247.08-1H157.55v2h248.08zm-1-138.99v139.99h2V50zm-239.07 9h232.07v-2H165.56zm1 122.99V58h-2v123.99zm231.07-1H165.56v2h232.07zm-1-122.99v123.99h2V58zM106.54 240.99v12h2v-12zm1 13h348.11v-2H107.54zm349.11-1v-12h-2v12zm-349.11-11h348.11v-2H107.54z\'/%3E%3C/g%3E%3Cpath fill=\'%23ebeff4\' stroke=\'%23000\' d=\'M135.55 231.99h292.09l-30.01-35H165.56l-7.72 9z\'/%3E%3Cpath fill=\'%23fff\' d=\'M173.56 275.51c-6.43 4.09-9.41 10.46-6.5 17.5 2.73 6.62 12 8 15.51 8 2.94 0 7.1-.17 10.73-.72 0 0-6.73-6.28-8.23-14.28-1.62-8.61.5-16.42.5-16.42-3.73 1.38-8.62 3.77-12 5.92z\'/%3E%3Cpath fill=\'%23fff\' d=\'M187.56 276.01c.2-7 3-7.5 3-7.5-.77-.25-2.66.21-5 1.08 0 0-2.12 7.81-.5 16.42 1.5 8 8.23 14.28 8.23 14.28 2.54-.39 4.83-.95 6.27-1.78 0 0-4 1.36-7-4-1.57-2.8-3-6.5-4-9.5-.83-2.5-1.07-6.68-1-9\'/%3E%3Cpath fill=\'%23fff\' d=\'M199.57 298.51c3.68-2.1 2.83-10.57 1-17-1.76-6.16-3.91-11.02-10-13 0 0-2.8.5-3 7.5-.07 2.32.17 6.5 1 9 1 3 2.43 6.7 4 9.5 3 5.36 7 4 7 4\'/%3E%3Cpath fill=\'none\' stroke=\'%23000\' d=\'M190.56 268.51c6.09 1.98 8.24 6.84 10 13 1.83 6.43 2.68 14.9-1 17 0 0-4 1.36-7-4-1.57-2.8-3-6.5-4-9.5-.83-2.5-1.07-6.68-1-9 .2-7 3-7.5 3-7.5Zm0 0c-.77-.25-2.66.21-5 1.08m-18.51 23.42c-2.9-7.04.08-13.41 6.5-17.5 3.38-2.15 8.27-4.55 12-5.92m7.73 30.7c-3.63.55-7.79.72-10.73.72-3.51 0-12.78-1.38-15.51-8-5.5.17-17.21.4-20.01 0-3.5-.5-16.01-.52-21.51-5-5-4.07-7.17-10.85-7.5-15.02 0-5.33 2.6-13.6 9-14 5.5-.34 12 4.52 12 12.02s-1.5 19-7.5 23.5-16 10.5-34.01 12c-14.4 1.2-37.01 2.13-48.01 2.5-23.01.77-36.01 7.93-36.01 17.5 0 16 21.25 5.93 23.01 27 1.5 18-12.5 25-29.51 26.5-6.76.6-6.34 7.33-6.5 8m199.06-89.49c-1.44.82-3.73 1.39-6.27 1.78 0 0-6.73-6.28-8.23-14.28-1.62-8.61.5-16.42.5-16.42\'/%3E%3Cpath fill=\'%23ebeff4\' d=\'M315.6 110.49c0 6.35-5.15 11.5-11.5 11.5s-11.5-5.15-11.5-11.5 5.15-11.5 11.5-11.5 11.5 5.15 11.5 11.5M240.03 125.7c3.97 0 7.19-3.23 7.19-7.21s-3.22-7.21-7.19-7.21-7.19 3.23-7.19 7.21 3.22 7.21 7.19 7.21M272.65 148.92a4.137 4.137 0 0 1 1.51 5.66 4.146 4.146 0 0 1-5.66 1.53 4.137 4.137 0 0 1-1.51-5.66 4.146 4.146 0 0 1 5.66-1.53\'/%3E%3Cpath fill=\'%23ebeff4\' fill-rule=\'evenodd\' d=\'M396.63 59H166.56v121.99h230.07zm-99.54 14.62c-1.45.2-2.49 1.45-2.49 2.91v7.1a28.6 28.6 0 0 0-8.77 5l-6.68-3.86c-1.26-.73-2.87-.44-3.77.71-1.25 1.6-2.96 3.89-4.04 5.76s-2.21 4.49-2.97 6.38c-.55 1.35 0 2.88 1.27 3.61l6.49 3.74a29 29 0 0 0-.54 5.54c0 1.72.15 3.41.45 5.05l-6.39 3.69c-1.26.73-1.82 2.26-1.27 3.61.76 1.88 1.89 4.51 2.97 6.38s2.79 4.16 4.04 5.76c.9 1.15 2.5 1.43 3.77.71l6.3-3.64c2.66 2.31 5.76 4.13 9.15 5.32v7.1c0 1.46 1.05 2.71 2.49 2.91 2.01.28 4.85.62 7.01.62s5-.33 7.01-.62c1.45-.2 2.49-1.45 2.49-2.91v-7.1c3.4-1.2 6.51-3.03 9.17-5.35l6.43 3.71c1.26.73 2.87.45 3.77-.71 1.25-1.6 2.96-3.89 4.04-5.76s2.21-4.49 2.97-6.38c.55-1.35 0-2.88-1.27-3.61l-6.54-3.78c.29-1.63.44-3.3.44-5.01 0-1.85-.18-3.66-.51-5.41l6.09-3.51c1.26-.73 1.82-2.26 1.27-3.61-.76-1.88-1.89-4.51-2.97-6.38s-2.79-4.16-4.04-5.76c-.9-1.15-2.5-1.43-3.77-.71l-6.21 3.59c-2.6-2.19-5.59-3.93-8.86-5.08v-7.1c0-1.46-1.05-2.71-2.49-2.91-2.01-.28-4.85-.62-7.01-.62s-5 .33-7.01.62zm-63 23.59c0-.91.66-1.7 1.56-1.82 1.26-.18 3.03-.39 4.38-.39s3.12.21 4.38.39c.9.13 1.56.91 1.56 1.82v4.45c2.04.72 3.91 1.81 5.54 3.18l3.88-2.25a1.81 1.81 0 0 1 2.35.44c.78 1 1.85 2.44 2.52 3.61s1.38 2.82 1.86 4c.34.85 0 1.81-.8 2.26l-3.8 2.2c.21 1.1.32 2.23.32 3.39 0 1.07-.09 2.12-.27 3.14l4.09 2.37c.79.46 1.14 1.42.8 2.26-.48 1.18-1.18 2.83-1.86 4-.67 1.17-1.74 2.61-2.52 3.61-.56.72-1.56.9-2.35.44l-4.02-2.33c-1.67 1.45-3.61 2.6-5.73 3.35v4.45c0 .91-.65 1.69-1.56 1.82-1.26.18-3.03.39-4.38.39s-3.12-.21-4.38-.39c-.9-.13-1.56-.91-1.56-1.82v-4.45c-2.12-.75-4.05-1.89-5.72-3.34l-3.94 2.28c-.79.46-1.79.28-2.35-.44-.78-1-1.85-2.44-2.52-3.61s-1.38-2.81-1.86-3.99c-.34-.85 0-1.81.79-2.26l4-2.31c-.18-1.03-.28-2.08-.28-3.16 0-1.19.12-2.35.34-3.47l-4.05-2.35c-.79-.46-1.14-1.42-.79-2.26.48-1.18 1.18-2.83 1.86-4 .67-1.17 1.74-2.61 2.52-3.61.56-.72 1.56-.9 2.35-.44l4.18 2.42c1.61-1.35 3.46-2.42 5.48-3.13v-4.45zm23.71 50.86c-.2.49 0 1.04.46 1.3l2.21 1.28c-.23 1.21-.23 2.45-.02 3.64l-2.41 1.4c-.46.26-.66.82-.46 1.3.27.68.68 1.62 1.07 2.3.39.67 1 1.5 1.45 2.08.32.42.9.52 1.36.25l2.34-1.35c.49.43 1.04.82 1.63 1.17.54.31 1.09.57 1.65.77v2.66c0 .53.37.97.89 1.05.73.1 1.75.22 2.52.22s1.8-.12 2.52-.23c.52-.07.9-.52.9-1.05v-2.62c1.2-.42 2.33-1.06 3.32-1.9l2.21 1.28c.45.26 1.03.16 1.36-.26.45-.58 1.07-1.4 1.46-2.08.39-.67.8-1.62 1.07-2.3.2-.49 0-1.04-.46-1.3l-2.21-1.28c.24-1.28.23-2.58-.01-3.83l2.32-1.34c.46-.26.66-.82.46-1.3-.27-.68-.68-1.62-1.07-2.3-.39-.67-1-1.5-1.45-2.08-.32-.41-.9-.52-1.36-.25l-2.36 1.37c-.46-.38-.95-.73-1.48-1.04-.58-.33-1.17-.6-1.78-.81v-2.54c0-.53-.37-.98-.89-1.05-.72-.1-1.75-.22-2.52-.22s-1.8.12-2.53.23c-.52.07-.9.52-.9 1.05v2.59c-1.15.42-2.24 1.04-3.19 1.86l-2.21-1.28c-.45-.26-1.03-.16-1.36.26-.45.58-1.07 1.4-1.46 2.08-.39.67-.8 1.62-1.07 2.3z\'/%3E%3Cpath fill=\'%23c3d0df\' stroke=\'%232b2b2b\' d=\'M313.1 83.62v.35l.33.12c3.21 1.13 6.15 2.84 8.71 4.99l.27.23.3-.18 6.21-3.59c1.06-.61 2.38-.37 3.12.58 1.25 1.6 2.94 3.87 4 5.7 1.06 1.84 2.18 4.43 2.94 6.31.45 1.11 0 2.38-1.06 2.99l-6.09 3.51-.31.18.07.35a28.2 28.2 0 0 1 .08 10.25l-.06.35.3.18 6.54 3.78c1.06.61 1.51 1.88 1.06 2.99-.76 1.88-1.88 4.48-2.94 6.31-1.06 1.84-2.75 4.1-4 5.7-.74.95-2.07 1.19-3.12.58l-6.43-3.71-.31-.18-.27.23a27.9 27.9 0 0 1-9.01 5.25l-.33.12v7.45c0 1.22-.87 2.25-2.06 2.41-2.01.28-4.82.61-6.94.61s-4.93-.33-6.94-.61c-1.19-.17-2.06-1.19-2.06-2.41v-7.45l-.33-.12a28 28 0 0 1-8.99-5.23l-.27-.23-.31.18-6.3 3.64c-1.05.61-2.38.37-3.12-.58-1.25-1.6-2.94-3.87-4-5.7s-2.18-4.43-2.94-6.31c-.45-1.11 0-2.38 1.06-2.99l6.39-3.69.3-.17-.06-.35c-.29-1.61-.44-3.27-.44-4.96 0-1.86.18-3.68.53-5.44l.07-.35-.31-.18-6.49-3.74c-1.06-.61-1.51-1.88-1.06-2.99.76-1.88 1.88-4.48 2.94-6.31s2.75-4.1 4-5.7c.74-.95 2.07-1.19 3.12-.58l6.68 3.86.3.17.27-.22c2.53-2.11 5.44-3.79 8.61-4.91l.33-.12v-7.45c0-1.22.87-2.25 2.06-2.41 2.01-.28 4.82-.61 6.94-.61s4.93.33 6.94.61c1.19.17 2.06 1.19 2.06 2.41v7.1zm-9 38.88c6.63 0 12-5.37 12-12s-5.37-12-12-12-12 5.37-12 12 5.37 12 12 12ZM245.47 101.65v.35l.33.12c1.99.7 3.81 1.76 5.38 3.1l.27.23.3-.18 3.88-2.25c.58-.34 1.31-.2 1.71.32.78 1 1.83 2.41 2.48 3.55.66 1.14 1.35 2.75 1.83 3.93.25.61 0 1.31-.58 1.64l-3.8 2.2-.31.18.07.35c.2 1.07.31 2.17.31 3.3q0 1.56-.27 3.06l-.06.34.3.18 4.09 2.37c.58.34.83 1.04.58 1.65-.48 1.18-1.17 2.79-1.83 3.93s-1.71 2.55-2.49 3.55c-.4.52-1.13.65-1.71.32l-4.02-2.33-.31-.18-.27.24a17.5 17.5 0 0 1-5.57 3.26l-.33.12v4.8c0 .67-.48 1.24-1.13 1.33-1.26.18-3 .38-4.31.38s-3.06-.21-4.31-.38c-.65-.09-1.13-.65-1.13-1.33V135l-.33-.12c-2.06-.73-3.94-1.84-5.56-3.24l-.27-.23-.31.18-3.94 2.28c-.58.34-1.31.2-1.71-.32-.78-1-1.83-2.41-2.48-3.55-.66-1.14-1.35-2.76-1.83-3.93-.25-.61 0-1.31.58-1.64l4-2.31.3-.17-.06-.35c-.18-1-.27-2.03-.27-3.08 0-1.15.11-2.28.33-3.37l.07-.35-.31-.18-4.05-2.35c-.58-.34-.83-1.03-.58-1.64.47-1.18 1.17-2.79 1.83-3.93.65-1.14 1.7-2.55 2.48-3.55.4-.52 1.13
1015-.65 1.71-.32l4.18 2.42.3.17.27-.22c1.57-1.31 3.36-2.35 5.32-3.04l.33-.12v-4.8c0-.67.48-1.24 1.13-1.33 1.25-.18 3-.38 4.31-.38s3.05.2 4.31.38c.65.09 1.13.65 1.13 1.33v4.45zm-5.44 24.55c4.25 0 7.69-3.45 7.69-7.71s-3.44-7.71-7.69-7.71-7.69 3.45-7.69 7.71 3.44 7.71 7.69 7.71ZM263.66 145.14l.31.18.27-.23c.9-.77 1.93-1.37 3.03-1.77l.33-.12v-2.94c0-.29.21-.52.47-.56.72-.1 1.72-.22 2.46-.22s1.73.11 2.46.21c.26.04.47.27.47.55v2.89l.33.12c.58.2 1.14.46 1.7.77q.765.435 1.41.99l.27.23.3-.18 2.36-1.37a.55.55 0 0 1 .71.13c.45.57 1.04 1.38 1.41 2.02s.76 1.56 1.04 2.24c.1.25 0 .54-.25.69l-2.32 1.34-.31.18.07.35c.23 1.19.24 2.43.01 3.64l-.07.35.31.18 2.21 1.28c.25.14.35.43.24.68-.27.68-.67 1.6-1.04 2.24s-.97 1.44-1.42 2.02c-.17.21-.47.27-.71.13l-2.21-1.28-.31-.18-.27.23c-.94.8-2.01 1.41-3.15 1.81l-.34.12v2.98c0 .29-.21.52-.47.56-.72.1-1.72.22-2.46.22s-1.73-.11-2.45-.21a.56.56 0 0 1-.47-.55v-3.01l-.33-.12a9.7 9.7 0 0 1-1.57-.73c-.56-.32-1.08-.7-1.55-1.11l-.27-.24-.31.18-2.34 1.35a.55.55 0 0 1-.71-.13c-.45-.57-1.05-1.38-1.41-2.02-.37-.64-.76-1.56-1.04-2.24-.1-.25 0-.54.25-.68l2.41-1.4.3-.17-.06-.34c-.2-1.14-.19-2.31.02-3.46l.07-.35-.31-.18-2.21-1.28a.53.53 0 0 1-.24-.68c.27-.68.67-1.6 1.04-2.24s.97-1.45 1.42-2.02c.17-.21.47-.27.71-.13zm10.94 9.69c1.28-2.22.53-5.07-1.69-6.35s-5.06-.51-6.35 1.71c-1.28 2.22-.53 5.07 1.69 6.35s5.06.51 6.35-1.71Z\'/%3E%3Cpath fill=\'%23f5f7fa\' d=\'M431.72 215.58c6.42-17.32 9.93-36.04 9.93-55.59 0-37.78-13.1-72.51-35.01-99.88v129.88z\'/%3E%3Cpath fill=\'%23f5f7fa\' fill-rule=\'evenodd\' d=\'M152.06 253.99c5.83 8.01 12.38 15.47 19.57 22.26.52-.4 1.08-.79 1.66-1.16 3.41-2.17 8.33-4.58 12.1-5.97 1.18-.44 2.26-.78 3.15-.98.45-.1.85-.17 1.21-.19.35-.02.69 0 .97.08 6.35 2.06 8.57 7.16 10.33 13.34.93 3.24 1.61 7.02 1.59 10.26 0 1.62-.2 3.14-.63 4.4-.28.81-.67 1.54-1.2 2.11 23.71 13.88 51.32 21.84 80.78 21.84 53.26 0 100.44-26 129.53-66H152.06Zm165.57 13.91-1.5-6.87s0-1.72 1.5-2 2 1 2 1l2.19 7.28c1.94-.13 3.65.03 4.81.72 1.03.62 1.74 2.15 2.2 3.68.59 1.92.8 3.82.8 3.82s1.29 17.82-8.28 19.88q-.345.075-.72.12c-9.66 1.21-15.11-10.54-16.61-17-.36-1.56-.49-2.82-.4-3.5.16-1.1 1.53-2.28 3.3-3.32l-2.29-8.18s-.17-2 1.5-2.5 2.5 1 2.5 1l2 7.85c1.6-.67 3.09-1.15 4-1.36.99-.22 2-.44 3-.63Z\'/%3E%3Cpath fill=\'%23f5f7fa\' d=\'M131.43 215.47c-6.39-17.28-9.88-35.97-9.88-55.48 0-37.78 13.1-72.51 35.01-99.88v130.1zM396.86 49C367.75 18.79 326.87 0 281.59 0s-86.16 18.79-115.27 49z\'/%3E%3Cpath fill=\'%23fff\' d=\'M321.36 295.4c9.57-2.06 8.28-19.88 8.28-19.88s-.21-1.9-.8-3.82c0 0-5.2-1.82-13.21.32-7.39 1.98-11.61 6.5-11.61 6.5 1.5 6.46 6.95 18.21 16.61 17q.375-.045.72-.12z\'/%3E%3Cpath fill=\'%23fff\' d=\'M306.92 271.7c-1.76 1.04-3.14 2.22-3.3 3.32-.1.68.03 1.94.4 3.5 0 0 4.22-4.52 11.61-6.5 8-2.14 13.21-.32 13.21-.32-.47-1.52-1.17-3.06-2.2-3.68-1.16-.7-2.87-.85-4.81-.72-1.32.09-2.75.31-4.19.59-1 .19-2.01.41-3 .63-.91.2-2.4.69-4 1.36-1.25.52-2.56 1.14-3.71 1.82z\'/%3E%3Cpath fill=\'%23fff\' d=\'m304.63 263.53 2.29 8.18c1.15-.68 2.46-1.3 3.71-1.82l-2-7.85s-.83-1.5-2.5-1-1.5 2.5-1.5 2.5ZM316.13 261.03l1.5 6.87c1.45-.28 2.87-.5 4.19-.59l-2.19-7.28s-.5-1.28-2-1-1.5 2-1.5 2\'/%3E%3Cpath fill=\'none\' stroke=\'%232b2b2b\' d=\'M304.02 278.52c-.37-1.56-.5-2.82-.4-3.5.16-1.1 1.54-2.28 3.3-3.32l-2.29-8.18s-.17-2 1.5-2.5 2.5 1 2.5 1l2 7.85m0 0c-1.25.52-2.56 1.14-3.71 1.82m3.71-1.82c1.6-.67 3.09-1.15 4-1.36.99-.22 2-.44 3-.63m0 0-1.5-6.87s0-1.72 1.5-2 2 1 2 1l2.19 7.28m-4.19.59c1.45-.28 2.87-.5 4.19-.59m0 0c1.94-.13 3.65.03 4.81.72 1.03.62 1.74 2.16 2.2 3.68m-7.48 23.7q-.345.075-.72.12c-9.66 1.21-15.11-10.54-16.61-17 0 0 4.22-4.52 11.61-6.5 8-2.14 13.21-.32 13.21-.32.59 1.92.8 3.82.8 3.82s1.29 17.82-8.28 19.88c-.81-2.3-1.22-3.88-1.22-3.88m343.1 91.5c4.64-5.8 5.53-24.69 2.5-31.5-6.94-15.62-61.8-16.16-81.03-34.5-14.21-13.55-47.23-42.57-63.52-51.5-8.21-4.5-22.51-5.2-30.01-4.5-9.54.9-18.01 4.5-23.51 7-11.98 5.44-18.88 9.62-32.01 10.5-9.81.66-15-1.5-25.01-3-11.5-1.72-21.51-2-29.51 4-3.69 2.77-4.5 10.5-4.5 15.5 0 10.79 13.47 24.97 28.51 26 10.49.72 25.18.98 26.01-9.5.76-9.7-11.04-13.74-20.51-16-10.5-2.5-24.51.5-32.51 3.5s-18.01 8.5-24.01 10.5c-8 2.67-13.85 5.53-21.51 2-5.74-2.65-9.49-11.09-11.28-16.12\'/%3E%3C/g%3E%3C/svg%3E\") no-repeat;background-size:contain;background-position:right top;width:778px;height:388px;margin-top:20px}.report-box[_ngcontent-%COMP%]{background:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 192 203.7\'%3E%3Cdefs%3E%3Cmask id=\'a\' width=\'60\' height=\'60\' x=\'72.89\' y=\'27.08\' maskUnits=\'userSpaceOnUse\'%3E%3Cpath fill=\'%23fff\' stroke-width=\'0\' d=\'M131.89 57.08c0-6.49-2.17-12.79-6.18-17.89-4-5.11-9.6-8.72-15.9-10.27s-12.94-.94-18.85 1.73a29.03 29.03 0 0 0-13.77 12.99 29 29 0 0 0-2.82 18.72 29 29 0 0 0 9.33 16.47 28.96 28.96 0 0 0 17.5 7.2c6.48.38 12.89-1.43 18.22-5.13l-16.54-23.82h29Z\'/%3E%3C/mask%3E%3C/defs%3E%3Cpath fill=\'%233f4955\' fill-rule=\'evenodd\' d=\'M29.85 64.2h-8.72L0 133.63v70.07h192v-70.07L171.37 64.2h-8.81l-.18 1h8.24l20.2 68H1.17l20.7-68h8.05zM1 134.2h190v68.5H1z\'/%3E%3Cpath fill=\'%2397a7ba\' d=\'M30.34 71.2h-.84l-16 54.5h18.4l1.61-9.12zM157.89 125.7h20.86l-15.98-54.5h-1.43l-3.45 19.54z\'/%3E%3Cpath fill=\'none\' stroke=\'%233f4955\' d=\'M30.34 71.2h-.84l-16 54.5h18.4l1.61-9.12zM157.89 125.7h20.86l-15.98-54.5h-1.43l-3.45 19.54z\'/%3E%3Cpath fill=\'%23c3d0df\' stroke=\'%233f4955\' d=\'M77.5 150.2h36c3.04 0 5.5 2.46 5.5 5.5s-2.46 5.5-5.5 5.5h-36c-3.04 0-5.5-2.46-5.5-5.5s2.46-5.5 5.5-5.5Z\'/%3E%3Cpath fill=\'%23ebeff4\' stroke=\'%233f4955\' d=\'m28.23 33.85 116.71-8.16 6.98 99.81H34.64z\'/%3
1015E%3Cpath fill=\'%23ebeff4\' stroke=\'%233f4955\' d=\'M40.39 125.5V9.58h117V125.5z\'/%3E%3Cpath fill=\'%23ebeff4\' stroke=\'%233f4955\' d=\'M54.47.58 169.69 20.9l-18.44 104.6H32.45z\'/%3E%3Cg mask=\'url(%23a)\'%3E%3Cpath fill=\'%23c3d0df\' stroke=\'%233f4955\' stroke-width=\'2\' d=\'M131.89 57.08c0-6.49-2.17-12.79-6.18-17.89-4-5.11-9.6-8.72-15.9-10.27s-12.94-.94-18.85 1.73a29.03 29.03 0 0 0-13.77 12.99 29 29 0 0 0-2.82 18.72 29 29 0 0 0 9.33 16.47 28.96 28.96 0 0 0 17.5 7.2c6.48.38 12.89-1.43 18.22-5.13l-16.54-23.82h29Z\'/%3E%3C/g%3E%3Cpath fill=\'%23c3d0df\' stroke=\'%233f4955\' d=\'M136.95 74.84a28.5 28.5 0 0 1-7.89 9.19L112.9 61.84l27.41 1.37c-.27 4.07-1.42 8.04-3.36 11.63Z\'/%3E%3Cpath fill=\'none\' stroke=\'%233f4955\' d=\'m52.39 88.08 86 16M48.89 98.08l86 16M48.89 109.08l86 16\'/%3E%3C/svg%3E\") no-repeat;background-size:contain;width:232px;height:234px;margin-top:20px}rpr-change-password[_ngcontent-%COMP%]{width:350px}.error-freq-cap[_ngcontent-%COMP%] .error-page-description[_ngcontent-%COMP%]{text-align:left}.error-deep-link-no-results[_ngcontent-%COMP%] .error-page-description[_ngcontent-%COMP%]{max-width:640px}"]});}}return r})();var ye$2=(()=>{class r{constructor(){this.errorType=i$2.NotFound;}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275cmp=It({type:r,selectors:[["rpr-not-found"]],decls:1,vars:1,consts:[[3,"errorType"]],template:function(i,n){i&1&&Bn$1(0,"rpr-full-page-error",0),i&2&&xn$1("errorType",n.errorType);},dependencies:[z$2],encapsulation:2});}}return r})();var i$1=(function(s){return s[s.NotAssigned=0]="NotAssigned",s[s.General=1]="General",s[s.Home=2]="Home",s[s.Search=3]="Search",s[s.PropertyDetails=4]="PropertyDetails",s[s.Reports=5]="Reports",s[s.Notes=6]="Notes",s[s.Charts=7]="Charts",s[s.Recents=8]="Recents",s[s.Saved=9]="Saved",s[s.Users=10]="Users",s[s.Norad=11]="Norad",s[s.Puppeteer=12]="Puppeteer",s[s.SalesForce=13]="SalesForce",s[s.PolicyMap=14]="PolicyMap",s[s.Sitex=15]="Sitex",s[s.SpatialStream=16]="SpatialStream",s[s.Esri=17]="Esri",s[s.ZipForm=18]="ZipForm",s[s.GenAi=19]="GenAi",s[s.Angular=20]="Angular",s[s.LegacyJavaScript=21]="LegacyJavaScript",s[s.Sso=22]="Sso",s})(i$1||{});var d$1=class i{static{this.instance=new i;}hash(r){return q$4(r)}},U="0123456789abcdef".split(""),f$1=function(i,r){return i+r&4294967295};q$4("hello")!=="5d41402abc4b2a76b9719d911017c592"&&(f$1=function(i,r){let t=(i&65535)+(r&65535);return (i>>16)+(r>>16)+(t>>16)<<16|t&65535});function w(i,r){let t=i[0],e=i[1],n=i[2],o=i[3];t=a$1(t,e,n,o,r[0],7,-680876936),o=a$1(o,t,e,n,r[1],12,-389564586),n=a$1(n,o,t,e,r[2],17,606105819),e=a$1(e,n,o,t,r[3],22,-1044525330),t=a$1(t,e,n,o,r[4],7,-176418897),o=a$1(o,t,e,n,r[5],12,1200080426),n=a$1(n,o,t,e,r[6],17,-1473231341),e=a$1(e,n,o,t,r[7],22,-45705983),t=a$1(t,e,n,o,r[8],7,1770035416),o=a$1(o,t,e,n,r[9],12,-1958414417),n=a$1(n,o,t,e,r[10],17,-42063),e=a$1(e,n,o,t,r[11],22,-1990404162),t=a$1(t,e,n,o,r[12],7,1804603682),o=a$1(o,t,e,n,r[13],12,-40341101),n=a$1(n,o,t,e,r[14],17,-1502002290),e=a$1(e,n,o,t,r[15],22,1236535329),t=s(t,e,n,o,r[1],5,-165796510),o=s(o,t,e,n,r[6],9,-1069501632),n=s(n,o,t,e,r[11],14,643717713),e=s(e,n,o,t,r[0],20,-373897302),t=s(t,e,n,o,r[5],5,-701558691),o=s(o,t,e,n,r[10],9,38016083),n=s(n,o,t,e,r[15],14,-660478335),e=s(e,n,o,t,r[4],20,-405537848),t=s(t,e,n,o,r[9],5,568446438),o=s(o,t,e,n,r[14],9,-1019803690),n=s(n,o,t,e,r[3],14,-187363961),e=s(e,n,o,t,r[8],20,1163531501),t=s(t,e,n,o,r[13],5,-1444681467),o=s(o,t,e,n,r[2],9,-51403784),n=s(n,o,t,e,r[7],14,1735328473),e=s(e,n,o,t,r[12],20,-1926607734),t=l$1(t,e,n,o,r[5],4,-378558),o=l$1(o,t,e,n,r[8],11,-2022574463),n=l$1(n,o,t,e,r[11],16,1839030562),e=l$1(e,n,o,t,r[14],23,-35309556),t=l$1(t,e,n,o,r[1],4,-1530992060),o=l$1(o,t,e,n,r[4],11,1272893353),n=l$1(n,o,t,e,r[7],16,-155497632),e=l$1(e,n,o,t,r[10],23,-1094730640),t=l$1(t,e,n,o,r[13],4,681279174),o=l$1(o,t,e,n,r[0],11,-358537222),n=l$1(n,o,t,e,r[3],16,-722521979),e=l$1(e,n,o,t,r[6],23,76029189),t=l$1(t,e,n,o,r[9],4,-640364487),o=l$1(o,t,e,n,r[12],11,-421815835),n=l$1(n,o,t,e,r[15],16,530742520),e=l$1(e,n,o,t,r[2],23,-995338651),t=c$1(t,e,n,o,r[0],6,-198630844),o=c$1(o,t,e,n,r[7],10,1126891415),n=c$1(n,o,t,e,r[14],15,-1416354905),e=c$1(e,n,o,t,r[5],21,-57434055),t=c$1(t,e,n,o,r[12],6,1700485571),o=c$1(o,t,e,n,r[3],10,-1894986606),n=c$1(n,o,t,e,r[10],15,-1051523),e=c$1(e,n,o,t,r[1],21,-2054922799),t=c$1(t,e,n,o,r[8],6,1873313359),o=c$1(o,t,e,n,r[15],10,-30611744),n=c$1(n,o,t,e,r[6],15,-1560198380),e=c$1(e,n,o,t,r[13],21,1309151649),t=c$1(t,e,n,o,r[4],6,-145523070),o=c$1(o,t,e,n,r[11],10,-1120210379),n=c$1(n,o,t,e,r[2],15,718787259),e=c$1(e,n,o,t,r[9],21,-343485551),i[0]=f$1(t,i[0]),i[1]=f$1(e,i[1]),i[2]=f$1(n,i[2]),i[3]=f$1(o,i[3]);}function m$1(i,r,t,e,n,o){return r=f$1(f$1(r,i),f$1(e,o)),f$1(r<<n|r>>>32-n,t)}function a$1(i,r,t,e,n,o,u){return m$1(r&t|~r&e,i,r,n,o,u)}function s(i,r,t,e,n,o,u){return m$1(r&e|t&~e,i,r,n,o,u)}function l$1(i,r,t,e,n,o,u){return m$1(r^t^e,i,r,n,o,u)}function c$1(i,r,t,e,n,o,u){return m$1(t^(r|~e),i,r,n,o,u)}function H$2(i){let r=i.length,t=[1732584193,-271733879,-1732584194,271733878],e;for(e=64;e<=i.length;
1015e+=64)w(t,K$1(i.substring(e-64,e)));i=i.substring(e-64);let n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<i.length;++e)n[e>>2]|=i.charCodeAt(e)<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(w(t,n),e=0;e<16;++e)n[e]=0;return n[14]=r*8,w(t,n),t}function K$1(i){let r=[],t;for(t=0;t<64;t+=4)r[t>>2]=i.charCodeAt(t)+(i.charCodeAt(t+1)<<8)+(i.charCodeAt(t+2)<<16)+(i.charCodeAt(t+3)<<24);return r}function P$2(i){let r="";for(let t=0;t<4;++t)r+=U[i>>t*8+4&15]+U[i>>t*8&15];return r}function Q$3(i){for(let r=0;r<i.length;++r)i[r]=P$2(i[r]);return i.join("")}function q$4(i){return Q$3(H$2(i))}var ye$1=(()=>{class i{constructor(t){this.injector=t,this.alreadyReported={};}get analytics(){return this.injector.get(SB)}get helper(){return this.injector.get(ue$3)}get loggingApi(){return this.injector.get(U$1)}handleError(t){let e;try{e=G$2(t);}catch(o){console.error(o);return}if(this.lastErrorMessage===e.message&&Date.now()-this.lastErrorTime<3e4)return;this.lastErrorMessage=e.message,this.lastErrorTime=Date.now();try{console.error(t);}catch(o){console.error(o);}if(e.shouldBeIgnored||(this.helper.showStatusDialog({dialogType:e.dialogType,heading:e.heading||(e.shouldLogin?"Unauthorized":null),message:e.displayedMessage,canDismiss:e.canDismiss,buttons:!e.shouldLogin&&!e.canRefresh?null:TN([e.shouldLogin?{text:"Sign in",click:()=>{Ua.instance.get(Se$2).startAuthentication();}}:null,e.canRefresh?{text:"Refresh",click:()=>location.reload()}:null])}),!e.shouldBeLogged))return;let n=d$1.instance.hash(e.fullDetails);this.alreadyReported[n]||(this.alreadyReported[n]=true,this.loggingApi.logError({category:i$1.Angular,message:e.message,columnNumber:null,lineNumber:null,source:null,stackTrace:new o$2({text:`${(e.errorLines.length>2?e.errorLines.slice(2).join(` 1016`):e.fullDetails)||"No stack trace available..."} 1017 1018Referrer: ${document.referrer||"\u2013"} 1019 1020Current URL: ${location.href||"\u2013"}`})}).pipe(k$3(()=>N$4(null))).subscribe());}static{this.\u0275fac=function(e){return new(e||i)(Z$1(le$4))};}static{this.\u0275prov=K$5({token:i,factory:i.\u0275fac});}}return i})();function G$2(i){let r=J$1(i),t=[r,""],e=Y$2(i),n=V$2(i),o=false,u=true,A=true,E=false,L=false,j=null,T=zn.Danger;e&&t.push("Context",e),n&&t.push("Stack",n),t.push(`App Build: ${Ff}`);let h=t.join(` 1021`),g=r;return h.indexOf("Loading chunk ")>=0||h.indexOf("Failed to fetch dynamically imported module")>=0||h.indexOf("error loading dynamically imported module")>=0||h.indexOf("Importing a module script failed")>=0?(j="Refresh Required",g="The website has been updated, please refresh.",u=false,A=false,L=true,T=zn.Warning):h.indexOf("Unauthorized")>=0?(g="Please log in again.",u=false,E=true):h.indexOf("You do not have access.")>=0?(g="You do not have access.",u=false):h.indexOf("We were not able to communicate with the server!")>=0?(g="We were not able to communicate with the server; please double check your connection, and try again.",u=false):E$4.detailedLogging||(g="We encountered an error on the server; please try again later."),E$3(["ResizeObserver loop",'Could not load "stats"',`can't redefine non-configurable property "userAgent"`,"Cannot read properties of null (reading 'postMessage')","Cannot read properties of null (reading 'getItem')","Q.animate is not a function","$.animate is not a function","No matching state found in storage","The operation was aborted","Database deleted by request of the user","Connection to Indexed Database server lost","can't access dead object","d.g is undefined","K is null","Attempt to open a cursor in database without an in-progress transaction","The operation is insecure"],p=>r.indexOf(p)>=0)&&(o=true),!o&&(n?.match(/at .+https:\/\/maps\.googleapis\.com/g)?.length||n?.match(/@https:\/\/maps\.googleapis\.com/g)?.length)&&(o=true),!o&&n?.match(/at .+https:\/\/fast\.appcues\.com/g)?.length&&(o=true),!o&&n?.match(/at .+https:\/\/connect\.facebook\.net/g)?.length&&(o=true),!o&&n?.match(/at .+chrome-extension:\/\//g)?.length&&(o=true),!o&&n?.match(/vendor\/fusioncharts\/fusioncharts.js/g)?.length&&(o=true),E$3(["We encountered an error on the server","We had trouble communicating with the server"],p=>r.indexOf(p)>=0)&&(u=false),E$4.deployed||(u=false),{message:r,displayedMessage:g,heading:j,errorLines:t,context:e,stack:n,fullDetails:h,canDismiss:A,canRefresh:L,shouldBeIgnored:o,shouldBeLogged:u,shouldLogin:E,dialogType:T}}function J$1(i){return i instanceof Error?i.message||"":(i||"").toString()}function Y$2(i){return i?i.context?i.context:Y$2(i.originalError):null}function V$2(i){if(!(i instanceof Error))return null;let r=i,t=r.stack;for(;r instanceof Error&&r.originalError;)r=r.originalError,r instanceof Error&&r.stack&&(t=r.stack);return t} 1022var n$1=(()=>{class i{transform(s,r=3,o=true){let t,e=+s;return o&&e>=999999500?t="1B":e>=999999500?(e=(e/1e3+.5)*1e3,e%1e9===0?t=`${(e/1e9).toString()}B`:t=`${parseFloat((e/1e9).toFixed(2))}B`):e>=999950?(e=(e/1e3+.5)*1e3,e%1e6===0?t=`${(e/1e6).toString()}M`:t=`${parseFloat((e/1e6).toFixed(2))}M`):e>=1e3?e%1e3===0?t=`${(e/1e3).toString()}K`:t=`${parseFloat((e/1e3).toFixed(r))}K`:t=Number.isNaN(e)?"-":e.toString(),t}static{this.\u0275fac=function(r){return new(r||i)};}static{this.\u0275pipe=En$1({name:"numberSuffix",type:i,pure:true});}}return i})();var I=(()=>{class r{transform(e){let i=`${e}`.replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return i?`(${i[1]}) ${i[2]}-${i[3]}`:e}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275pipe=En$1({name:"phoneNumber",type:r,pure:true});}}return r})();var v$1=(function(r){return r[r.DrawPolygon=1]="DrawPolygon",r[r.DrawRadius=2]="DrawRadius",r[r.DrawBox=3]="DrawBox",r[r.DrawFreehand=4]="DrawFreehand",r[r.TravelTime=5]="TravelTime",r[r.Distance=6]="Distance",r[r.TrafficCounts=7]="TrafficCounts",r[r.PointsOfInterest=8]="PointsOfInterest",r[r.Schools=9]="Schools",r[r.DataLayers=10]="DataLayers",r[r.Geographies=11]="Geographies",r[r.SavedAreas=12]="SavedAreas",r})(v$1||{});function F(r,t,e,i){for(var n=e-1,f=r.length;++n<f;)if(i(r[n],t))return n;return -1}var x$4=F;var R$1=Array.prototype,g$1=R$1.splice;function S(r,t,e,i){var n=i?x$4:JL,f=-1,O=t.length,s=r;for(r===t&&(t=dk(t)),e&&(s=Uy(r,Sk(e)));++f<O;)for(var m=0,c=t[f],$=e?e(c):c;(m=n(s,$,m,i))>-1;)s!==r&&g$1.call(s,m,1),g$1.call(r,m,1);return r}var P$1=S;function L$1(r,t){return r&&r.length&&t&&t.length?P$1(r,t):r}var A$1=L$1;var B=sg(A$1),X$3=B;var C$2=sg(function(r){return tF(fB(r,1,gk,true))}),M$1=C$2;var d=()=>{let n=typeof window<"u"?window:void 0;return n&&n.tinymce?n.tinymce:null},G$1=(()=>{class n{onBeforePaste=new de$4;onBlur=new de$4;onClick=new de$4;onCompositionEnd=new de$4;onCompositionStart=new de$4;onCompositionUpdate=new de$4;onContextMenu=new de$4;onCopy=new de$4;onCut=new de$4;onDblclick=new de$4;onDrag=new de$4;onDragDrop=new de$4;onDragEnd=new de$4;onDragGesture=new de$4;onDragOver=new de$4;onDrop=new de$4;onFocus=new de$4;onFocusIn=new de$4;onFocusOut=new de$4;onKeyDown=new de$4;onKeyPress=new de$4;onKeyUp=new de$4;onMouseDown=new de$4;onMouseEnter=new de$4;onMouseLeave=new de$4;onMouseMove=new de$4;onMouseOut=new de$4;onMouseOver=new de$4;onMouseUp=new de$4;onPaste=new de$4;onSelectionChange=new de$4;onActivate=new de$4;onAddUndo=new de$4;onBeforeAddUndo=new de$4;onBeforeExecCommand=new de$4;onBeforeGetContent=new de$4;onBeforeRenderUI=new de$4;onBeforeSetContent=new de$4;onChange=new de$4;onClearUndos=new de$4;onDeactivate=new de$4;onDirty=new de$4;onExecCommand=new de$4;onGetContent=new de$4;onHide=new de$4;onInit=new de$4;onInput=new de$4;onInitNgModel=new de$4;onLoadContent=new de$4;onNodeChange=new de$4;onPostProcess=new de$4;onPostRender=new de$4;onPreInit=new de$4;onPreProcess=new de$4;onProgressState=new de$4;onRedo=new de$4;onRemove=new de$4;onReset=new de$4;onResizeEditor=new de$4;onSaveContent=new de$4;onSetAttrib=new de$4;onObjectResizeStart=new de$4;onObjectResized=new de$4;onObjectSelected=new de$4;onSetContent=new de$4;onShow=new de$4;onSubmit=new de$4;onUndo=new de$4;onVisualAid=new de$4;static \u0275fac=function(t){return new(t||n)};static \u0275dir=q$7({type:n,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onCompositionEnd:"onCompositionEnd",onCompositionStart:"onCompositionStart",onCompositionUpdate:"onCompositionUpdate",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onF
1022ocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInput:"onInput",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"},standalone:false})}return n})(),k$1=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onCompositionEnd","onCompositionStart","onCompositionUpdate","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onInput","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],l=(n,i,o)=>_u(n,i).pipe(ft$2(o)),$$1=(n,i,o)=>{Z(n).forEach(s=>{let a=n[s];l(i,s.substring(2),o).subscribe(c=>{J(a)&&n.ngZone.run(()=>a.emit({event:c,editor:i}));});});},Z=n=>{let i=N$1(n.ignoreEvents,[]);return N$1(n.allowedEvents,k$1).filter(t=>k$1.includes(t)&&!i.includes(t))},N$1=(n,i)=>typeof n=="string"?n.split(",").map(o=>o.trim()):Array.isArray(n)?n:i,x$3=0,H$1=n=>{let o=new Date().getTime(),t=Math.floor(Math.random()*1e9);return x$3++,n+"_"+t+x$3+String(o)},K=n=>typeof n<"u"&&n.tagName.toLowerCase()==="textarea",T=n=>typeof n>"u"||n===""?[]:Array.isArray(n)?n:n.split(" "),Y$1=(n,i)=>T(n).concat(T(i)),q$3=()=>{},V$1=n=>n==null,J=n=>n.observed||n.observers?.length>0,z$1=(n,i)=>{typeof n.mode?.set=="function"?n.mode.set(i):"setMode"in n&&typeof n.setMode=="function"&&n.setMode(i);},L=n=>n.options&&n.options.isRegistered("disabled"),Q$2=()=>n=>n.pipe(ai(),T$3(()=>{})),W$1=()=>{let n=new zt(null),i=n.pipe(Ne$1(Boolean),en$1(([o,t])=>{let s=o.createElement("script");return s.referrerPolicy="origin",s.type="application/javascript",s.src=t,o.head.appendChild(s),_u(s,"load").pipe(Q$2())}),db({bufferSize:1,refCount:true}));return {load:(...o)=>(n.getValue()||n.next(o),i),reinitialize:()=>{n.next(null);}}},X$2=W$1(),ee$2=new R$3("TINYMCE_SCRIPT_SRC"),ne$1={provide:uo,useExisting:vt$1(()=>oe$2),multi:true},oe$2=(()=>{class n extends G$1{cdRef;platformId;tinymceScriptSrc;cloudChannel="8";apiKey="no-api-key";licenseKey="gpl";init;id="";initialValue;outputFormat;inline;tagName;plugins;toolbar;modelEvents="change input undo redo";allowedEvents;ignoreEvents;set readonly(o){this._readonly=o,this._editor&&z$1(this._editor,o?"readonly":"design");}get readonly(){return this._readonly}set disabled(o){this._disabled=o,this._editor&&(L(this._editor)?this._editor.options.set("disabled",o??false):z$1(this._editor,o?"readonly":"design"));}get disabled(){return this._disabled}get editor(){return this._editor}ngZone;_elementRef;_element;_disabled;_readonly;_editor;onTouchedCallback=q$3;onChangeCallback;destroy$=new G$3;constructor(o,t,s,a,c){super(),this.cdRef=s,this.platformId=a,this.tinymceScriptSrc=c,this._elementRef=o,this.ngZone=t;}writeValue(o){this._editor&&this._editor.initialized?this._editor.setContent(V$1(o)?"":o):this.initialValue=o===null?void 0:o;}registerOnChange(o){this.onChangeCallback=o;}registerOnTouched(o){this.onTouchedCallback=o;}setDisabledState(o){this.disabled=o;}ngAfterViewInit(){Fm(this.platformId)&&(this.id=this.id||H$1("tiny-angular"),this.inline=this.inl
1022ine!==void 0?this.inline!==false:!!this.init?.inline,this.createElement(),d()!==null?this.initialise():this._element&&this._element.ownerDocument&&X$2.load(this._element.ownerDocument,this.getScriptSrc()).pipe(ft$2(this.destroy$)).subscribe(this.initialise));}ngOnDestroy(){this.destroy$.next(),d()!==null&&d().remove(this._editor);}createElement(){let o=typeof this.tagName=="string"?this.tagName:"div";if(this._element=document.createElement(this.inline?o:"textarea"),this._element){let t=document.getElementById(this.id);t&&t!==this._elementRef.nativeElement&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,K(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element);}}initialise=()=>{let o=s$6(r$2({},this.init),{selector:void 0,target:this._element,inline:this.inline,disabled:this.disabled,readonly:this.readonly,license_key:this.licenseKey,plugins:Y$1(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:t=>{this._editor=t,l(t,"init",this.destroy$).subscribe(()=>{this.initEditor(t);}),$$1(this,t,this.destroy$),this.init&&typeof this.init.setup=="function"&&this.init.setup(t),this.disabled===true&&(L(t)?this._editor.options.set("disabled",this.disabled):this._editor.mode.set("readonly"));}});K(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{d().init(o);});};getScriptSrc(){return V$1(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(o){l(o,"blur",this.destroy$).subscribe(()=>{this.cdRef.markForCheck(),this.ngZone.run(()=>this.onTouchedCallback());}),l(o,this.modelEvents,this.destroy$).subscribe(()=>{this.cdRef.markForCheck(),this.ngZone.run(()=>this.emitOnChange(o));}),typeof this.initialValue=="string"&&this.ngZone.run(()=>{o.setContent(this.initialValue),o.getContent()!==this.initialValue&&this.emitOnChange(o),this.onInitNgModel!==void 0&&this.onInitNgModel.emit(o);});}emitOnChange(o){this.onChangeCallback&&this.onChangeCallback(o.getContent({format:this.outputFormat}));}static \u0275fac=function(t){return new(t||n)(V$4(me$2),V$4(ce$4),V$4(dn$1),V$4(zi),V$4(ee$2,8))};static \u0275cmp=It({type:n,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",licenseKey:"licenseKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",readonly:"readonly",disabled:"disabled"},features:[At([ne$1]),Ee$2],decls:0,vars:0,template:function(t,s){},dependencies:[KA,jTe],styles:["[_nghost-%COMP%]{display:block}"]})}return n})(); 1023var p=class t{constructor(e){l$3(e)&&t.copyProperties(e,this);}static fromJSON(e){let a=new t;return e&&t.copyProperties(e,a),a}toJSON(){let e={};return t.copyProperties(this,e),e}static copyProperties(e,a){l$3(e.pageId)&&(a.pageId=e.pageId),l$3(e.brokerId)&&(a.brokerId=e.brokerId),l$3(e.brandId)&&(a.brandId=e.brandId),l$3(e.entityType)&&(a.entityType=e.entityType),l$3(e.pageName)&&(a.pageName=e.pageName),l$3(e.location)&&(a.location=e.location),l$3(e.forTemplates)&&(a.forTemplates=e.forTemplates.slice()),l$3(e.pageUrl)&&(a.pageUrl=e.pageUrl),l$3(e.uploadedPageArgsJson)&&(a.uploadedPageArgsJson=e.uploadedPageArgsJson),l$3(e.isDeleted)&&(a.isDeleted=e.isDeleted);}};var f=(()=>{class e{constructor(){this.appcues=h$5(ne$3);}onClick(){this.appcues.trackEvent(this.eventName,this.omitPropertyMode);}static{this.\u0275fac=function(t){return new(t||e)};}static{this.\u0275dir=q$7({type:e,selectors:[["","rprAppcuesEvent",""]],hostBindings:function(t,o){t&1&>$1("click",function(){return o.onClick()});},inputs:{eventName:[0,"rprAppcuesEvent","eventName"],omitPropertyMode:"omitPropertyMode"}});}}return e})();var o$1=(()=>{class e{transform(t,r){return gn$1(t,r)?t:ZBe(null)}static{this.\u0275fac=function(r){return new(r||e)};}static{this.\u0275pipe=En$1({name:"dashValue",type:e,pure:true});}}return e})();var n=class{_box;_destroyed=new G$3;
1023_resizeSubject=new G$3;_resizeObserver;_elementObservables=new Map;constructor(r){this._box=r,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)));}observe(r){return this._elementObservables.has(r)||this._elementObservables.set(r,new ae$3(e=>{let s=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(r,{box:this._box}),()=>{this._resizeObserver?.unobserve(r),s.unsubscribe(),this._elementObservables.delete(r);}}).pipe(Ne$1(e=>e.some(s=>s.target===r)),db({bufferSize:1,refCount:true}),ft$2(this._destroyed))),this._elementObservables.get(r)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear();}},O=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=h$5(ce$4);constructor(){}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.();}observe(e,s){let o=s?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new n(o)),this._observers.get(o).observe(e)}static \u0275fac=function(s){return new(s||t)};static \u0275prov=U$3({token:t,factory:t.\u0275fac})}return t})();var Ge=["notch"],Ue=["*"],Ce$1=["iconPrefixContainer"],we$1=["textPrefixContainer"],Se$1=["iconSuffixContainer"],Me$1=["textSuffixContainer"],$e=["textField"],Ye$1=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ze=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Xe(t,r){t&1&&Bn$1(0,"span",21);}function Ke$2(t,r){if(t&1&&(mt$1(0,"label",20),Hc(1,1),_i(2,Xe,1,0,"span",21),bt$2()),t&2){let e=Mn$1(2);xn$1("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Rt("for",e._control.disableAutomaticLabeling?null:e._control.id),Ut$1(2),bi(!e.hideRequiredMarker&&e._control.required?2:-1);}}function Je$2(t,r){if(t&1&&_i(0,Ke$2,3,5,"label",20),t&2){let e=Mn$1();bi(e._hasFloatingLabel()?0:-1);}}function et(t,r){t&1&&Bn$1(0,"div",7);}function tt(t,r){}function it(t,r){if(t&1&&Pc(0,tt,0,0,"ng-template",13),t&2){Mn$1(2);let e=CC(1);xn$1("ngTemplateOutlet",e);}}function nt(t,r){if(t&1&&(mt$1(0,"div",9),_i(1,it,1,1,null,13),bt$2()),t&2){let e=Mn$1();xn$1("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),Ut$1(),bi(e._forceDisplayInfixLabel()?-1:1);}}function ot$1(t,r){t&1&&(mt$1(0,"div",10,2),Hc(2,2),bt$2());}function lt(t,r){t&1&&(mt$1(0,"div",11,3),Hc(2,3),bt$2());}function rt$2(t,r){}function at(t,r){if(t&1&&Pc(0,rt$2,0,0,"ng-template",13),t&2){Mn$1();let e=CC(1);xn$1("ngTemplateOutlet",e);}}function dt$1(t,r){t&1&&(mt$1(0,"div",14,4),Hc(2,4),bt$2());}function mt(t,r){t&1&&(mt$1(0,"div",15,5),Hc(2,5),bt$2());}function ct(t,r){t&1&&Bn$1(0,"div",16);}function ft$1(t,r){t&1&&(mt$1(0,"div",18),Hc(1,6),bt$2());}function st(t,r){if(t&1&&(mt$1(0,"mat-hint",22),$c(1),bt$2()),t&2){let e=Mn$1(2);xn$1("id",e._hintLabelId),Ut$1(),bm(e.hintLabel);}}function ut$1(t,r){if(t&1&&(mt$1(0,"div",19),_i(1,st,2,2,"mat-hint",22),Hc(2,7),Bn$1(3,"div",23),Hc(4,8),bt$2()),t&2){let e=Mn$1();Ut$1(),bi(e.hintLabel?1:-1);}}var q$2=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t,selectors:[["mat-label"]]})}return t})(),Q$1=new R$3("MatError"),pt=(()=>{class t{id=h$5(Kr$1).getId("mat-mdc-error-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,i){n&2&&Vc("id",i.id);},inputs:{id:"id"},features:[At([{provide:Q$1,useExisting:t}])]})}return t})(),H=(()=>{class t{align="start";id=h$5(Kr$1).getId("mat-mdc-hint-");static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,i){n&2&&(Vc("id",i.id),Rt("align",null),wt("mat-mdc-form-field-hint-end",
1023i.align==="end"));},inputs:{align:"align",id:"id"}})}return t})(),Oe$1=new R$3("MatPrefix");var W=new R$3("MatSuffix"),ht$1=(()=>{class t{set _isTextSelector(e){this._isText=true;}_isText=false;static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[At([{provide:W,useExisting:t}])]})}return t})(),Pe$2=new R$3("FloatingLabelParent"),Le$1=(()=>{class t{_elementRef=h$5(me$2);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize();}_floating=false;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe();}_monitorResize=false;_resizeObserver=h$5(O);_ngZone=h$5(ce$4);_parent=h$5(Pe$2);_resizeSubscription=new Fe;ngOnDestroy(){this._resizeSubscription.unsubscribe();}getWidth(){return xt(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized());}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize());});}static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,i){n&2&&wt("mdc-floating-label--float-above",i.floating);},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function xt(t){let r=t;if(r.offsetParent!==null)return r.scrollWidth;let e=r.cloneNode(true);
1023e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let n=e.scrollWidth;return e.remove(),n}var Te$1="mdc-line-ripple--active",z="mdc-line-ripple--deactivating",Re=(()=>{class t{_elementRef=h$5(me$2);_cleanupTransitionEnd;constructor(){let e=h$5(ce$4),n=h$5(Vt$2);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=n.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd);});}activate(){let e=this._elementRef.nativeElement.classList;e.remove(z),e.add(Te$1);}deactivate(){this._elementRef.nativeElement.classList.add(z);}_handleTransitionEnd=e=>{let n=this._elementRef.nativeElement.classList,i=n.contains(z);e.propertyName==="opacity"&&i&&n.remove(Te$1,z);};ngOnDestroy(){this._cleanupTransitionEnd();}static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),ze$1=(()=>{class t{_elementRef=h$5(me$2);_ngZone=h$5(ce$4);open=false;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,n=e.querySelector(".mdc-floating-label");n?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="");}))):e.classList.add("mdc-notched-outline--no-label");}_setNotchWidth(e){let n=this._notch.nativeElement;!this.open||!e?n.style.width="":n.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`;}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=It({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,i){if(n&1&&na(Ge,5),n&2){let o;Zi(o=Ji())&&(i._notch=o.first);}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,i){n&2&&wt("mdc-notched-outline--notched",i.open);},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},ngContentSelectors:Ue,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(n,i){n&1&&(jc(),_C(0,"div",1),gm(1,"div",2,0),Hc(3),ym(),_C(4,"div",3));},encapsulation:2})}return t})(),ke$1=(()=>{class t{value=null;stateChanges;id;placeholder;ngControl=null;focused=false;empty=false;shouldLabelFloat=false;required=false;disabled=false;errorState=false;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(n){return new(n||t)};static \u0275dir=q$7({type:t})}return t})();var Ae$1=new R$3("MatFormField"),Ie$1=new R$3("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Ee$1="fill",bt$1="auto",De$1="fixed",_t="translateY(-50%)",Ne=(()=>{class t{_elementRef=h$5(me$2);_changeDetectorRef=h$5(dn$1);_platform=h$5(Ct);_idGenerator=h$5(Kr$1);_ngZone=h$5(ce$4);_defaults=h$5(Ie$1,{optional:true});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=she("iconPrefixContainer");_textPrefixContainerSignal=she("textPrefixContainer");_iconSuffixContainerSignal=she("iconSuffixContainer");_textSuffixContainerSignal=she("textSuffixContainer");_prefixSuffixContainers=Et(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=che(q$2);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=VIe(e);}_hideRequiredMarker=false;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||bt$1}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck());}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let n=e||this._defaults?.appearance||Ee$1;this._appearanceSignal.set(n);}_appearanceSignal=Q$6(Ee$1);
1023get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||De$1}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||De$1;}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints();}_hintLabel="";_hasIconPrefix=false;_hasTextPrefix=false;_hasIconSuffix=false;_hasTextSuffix=false;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e;}_destroyed=new G$3;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=wa();constructor(){let e=this._defaults,n=h$5(co);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),qi(()=>this._currentDirection=n.valueSignal()),this._syncOutlineLabelOffset();}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled");},300);}),this._changeDetectorRef.detectChanges();}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix();}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck();}
1023ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete();}getLabelId=Et(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always");}_initializeControl(e){let n=this._control,i="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(i+e.controlType),n.controlType&&this._elementRef.nativeElement.classList.add(i+n.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=n.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck();}),this._describedByChanges?.unsubscribe(),this._describedByChanges=n.stateChanges.pipe(Br$1([void 0,void 0]),T$3(()=>[n.errorState,n.userAriaDescribedBy]),xT(),Ne$1(([[o,l],[x,E]])=>o!==x||l!==E)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),n.ngControl&&n.ngControl.valueChanges&&(this._valueChanges=n.ngControl.valueChanges.pipe(ft$2(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()));}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText);}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),lb(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck();});}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck();}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck();}),this._validateHints(),this._syncDescribedByIds();}_assertFormFieldControl(){this._control;}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=true,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=false,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e);}_syncOutlineLabelOffset(){uhe({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset());});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"});}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())});}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return !this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Et(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():false}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth();}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth());}_processHints(){this._validateHints(),this._syncDescribedByIds();}_validateHints(){this._hintChildren;}_syncDescribedByIds(){if(this._control){let e=[];
1023if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(x=>x.align==="start"):null,l=this._hintChildren?this._hintChildren.find(x=>x.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),l&&e.push(l.id);}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let n=this._control.describedByIds,i;if(n){let o=this._describedByIds||e;i=e.concat(n.filter(l=>l&&!o.includes(l)));}else i=e;this._control.setDescribedByIds(i),this._describedByIds=e;}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return ["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,i=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,l=e?.getBoundingClientRect().width??0,x=n?.getBoundingClientRect().width??0,E=i?.getBoundingClientRect().width??0,Be=o?.getBoundingClientRect().width??0,qe=this._currentDirection==="rtl"?"-1":"1",He=`${l+x}px`,Qe=`calc(${qe} * (${He} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,We=`var(--mat-mdc-form-field-label-transform, ${_t} translateX(${Qe}))`,je=l+x+E+Be;return [We,je]}_writeOutlinedLabelStyles(e){if(e!==null){let[n,i]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=n),i!==null&&this._notchedOutline?._setMaxWidth(i);}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let n=e.getRootNode();return n&&n!==e}return document.documentElement.contains(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=It({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,i,o){if(n&1&&(PR(o,i._labelChild,q$2,5),_m(o,ke$1,5)(o,Oe$1,5)(o,W,5)(o,Q$1,5)(o,H,5)),n&2){Yz();let l;Zi(l=Ji())&&(i._formFieldControl=l.first),Zi(l=Ji())&&(i._prefixChildren=l),Zi(l=Ji())&&(i._suffixChildren=l),Zi(l=Ji())&&(i._errorChildren=l),Zi(l=Ji())&&(i._hintChildren=l);}},viewQuery:function(n,i){if(n&1&&(LR(i._iconPrefixContainerSignal,Ce$1,5)(i._textPrefixContainerSignal,we$1,5)(i._iconSuffixContainerSignal,Se$1,5)(i._textSuffixContainerSignal,Me$1,5),na($e,5)(Ce$1,5)(we$1,5)(Se$1,5)(Me$1,5)(Le$1,5)(ze$1,5)(Re,5)),n&2){Yz(4);let o;Zi(o=Ji())&&(i._textField=o.first),Zi(o=Ji())&&(i._iconPrefixContainer=o.first),Zi(o=Ji())&&(i._textPrefixContainer=o.first),Zi(o=Ji())&&(i._iconSuffixContainer=o.first),Zi(o=Ji())&&(i._textSuffixContainer=o.first),Zi(o=Ji())&&(i._floatingLabel=o.first),Zi(o=Ji())&&(i._notchedOutline=o.first),Zi(o=Ji())&&(i._lineRipple=o.first);}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(n,i){n&2&&wt("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-primary",i.color!=="accent"&&i.color!=="warn")("mat-accent",i.color==="accent")("mat-warn",i.color==="warn")("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"));},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[At([{provide:Ae$1,useExisting:t},{provide:Pe$2,useExisting:t}])],ngContentSelectors:Ze,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormField
1023FloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,i){if(n&1&&(jc(Ye$1),Pc(0,Je$2,1,1,"ng-template",null,0,jq),mt$1(2,"div",6,1),gt$1("click",function(l){return i._control.onContainerClick(l)}),_i(4,et,1,0,"div",7),mt$1(5,"div",8),_i(6,nt,2,2,"div",9),_i(7,ot$1,3,0,"div",10),_i(8,lt,3,0,"div",11),mt$1(9,"div",12),_i(10,at,1,1,null,13),Hc(11),bt$2(),_i(12,dt$1,3,0,"div",14),_i(13,mt,3,0,"div",15),bt$2(),_i(14,ct,1,0,"div",16),bt$2(),mt$1(15,"div",17),_i(16,ft$1,2,0,"div",18)(17,ut$1,5,1,"div",19),bt$2()),n&2){let o;Ut$1(2),wt("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),Ut$1(2),bi(!i._hasOutline()&&!i._control.disabled?4:-1),Ut$1(2),bi(i._hasOutline()?6:-1),Ut$1(),bi(i._hasIconPrefix?7:-1),Ut$1(),bi(i._hasTextPrefix?8:-1),Ut$1(2),bi(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),Ut$1(2),bi(i._hasTextSuffix?12:-1),Ut$1(),bi(i._hasIconSuffix?13:-1),Ut$1(),bi(i._hasOutline()?-1:14),Ut$1(),wt("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic");let l=i._getSubscriptMessageType();Ut$1(),bi((o=l)==="error"?16:o==="hint"?17:-1);}},dependencies:[Le$1,ze$1,eS,Re,H],styles:[`.mdc-text-field { 1024 display: inline-flex; 1025 align-items: baseline; 1026 padding: 0 16px; 1027 position: relative; 1028 box-sizing: border-box; 1029 overflow: hidden; 1030 will-change: opacity, transform, color; 1031 border-top-left-radius: 4px; 1032 border-top-right-radius: 4px; 1033 border-bottom-right-radius: 0; 1034 border-bottom-left-radius: 0; 1035} 1036 1037.mdc-text-field__input { 1038 width: 100%; 1039 min-width: 0; 1040 border: none; 1041 border-radius: 0; 1042 background: none; 1043 padding: 0; 1044 -moz-appearance: none; 1045 -webkit-appearance: none; 1046 height: 28px; 1047} 1048.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button { 1049 display: none; 1050} 1051.mdc-text-field__input::-ms-clear { 1052 display: none; 1053} 1054.mdc-text-field__input:focus { 1055 outline: none; 1056} 1057.mdc-text-field__input:invalid { 1058 box-shadow: none; 1059} 1060.mdc-text-field__input::placeholder { 1061 opacity: 0; 1062} 1063.mdc-text-field__input::-moz-placeholder { 1064 opacity: 0; 1065} 1066.mdc-text-field__input::-webkit-input-placeholder { 1067 opacity: 0; 1068} 1069.mdc-text-field__input:-ms-input-placeholder { 1070 opacity: 0; 1071} 1072.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder { 1073 opacity: 1; 1074} 1075.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 1076 opacity: 1; 1077} 1078.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 1079 opacity: 1; 1080} 1081.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 1082 opacity: 1; 1083} 1084.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder { 1085 opacity: 0; 1086} 1087.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder { 1088 opacity: 0; 1089} 1090.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder { 1091 opacity: 0; 1092} 1093.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder { 1094 opacity: 0; 1095} 1096.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input { 1097 height: 100%; 1098} 1099.mdc-text-field--outlined .mdc-text-field__input { 1100 display: flex; 1101 border: none !important; 1102 background-color: transparent; 1103} 1104.mdc-text-field--disabled .mdc-text-field__input { 1105 pointer-events: auto; 1106} 1107.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input { 1108 color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface)); 1109 caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary)); 1110} 1111.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 1112 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1113} 1114.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 1115 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1116} 1117.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 1118 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1119} 1120.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 1121 color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1122} 1123.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input { 1124 color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface)); 1125 caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary)); 1126} 1127.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder { 1128 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1129} 1130.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder { 1131 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1132} 1133.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder { 1134 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1135} 1136.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder { 1137 color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant)); 1138} 1139.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 1140 caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error)); 1141} 1142.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input { 1143 caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error)); 1144} 1145.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input { 1146 color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1147} 1148.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input { 1149 color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1150} 1151@media (forced-colors: active) { 1152 .mdc-text-field--disabled .mdc-text-field__input { 1153 background-color: Window; 1154 } 1155} 1156 1157.mdc-text-field--filled { 1158 height: 56px; 1159 border-bottom-right-radius: 0; 1160 border-bottom-left-radius: 0; 1161 border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 1162 border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small)); 1163} 1164.mdc-text-field--filled:not(.mdc-text-field--disabled) { 1165 background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant)); 1166} 1167.mdc-text-field--filled.mdc-text-field--disabled { 1168 background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent)); 1169} 1170 1171.mdc-text-field--outlined { 1172 height: 56px; 1173 overflow: visible; 1174 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1175 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 1176} 1177[dir=rtl] .mdc-text-field--outlined { 1178 padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px); 1179 padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1180} 1181 1182.mdc-floating-label { 1183 position: absolute; 1184 left: 0; 1185 transform-origin: left top; 1186 line-height: 1.15rem; 1187 text-align: left; 1188 text-overflow: ellipsis; 1189 white-space: nowrap; 1190 cursor: text; 1191 overflow: hidden; 1192 will-change: transform; 1193} 1194[dir=rtl] .mdc-floating-label { 1195 right: 0; 1196 left: auto; 1197 transform-origin: right top; 1198 text-align: right; 1199} 1200.mdc-text-field .mdc-floating-label { 1201 top: 50%; 1202 transform: translateY(-50%); 1203 pointer-events: none; 1204} 1205.mdc-notched-outline .mdc-floating-label { 1206 display: inline-block; 1207 position: relative; 1208 max-width: 100%; 1209} 1210.mdc-text-field--outlined .mdc-floating-label { 1211 left: 4px; 1212 right: auto; 1213} 1214[dir=rtl] .mdc-text-field--outlined .mdc-floating-label { 1215 left: auto; 1216 right: 4px; 1217} 1218.mdc-text-field--filled .mdc-floating-label { 1219 left: 16px; 1220 right: auto; 1221} 1222[dir=rtl] .mdc-text-field--filled .mdc-floating-label { 1223 left: auto; 1224 right: 16px; 1225} 1226.mdc-text-field--disabled .mdc-floating-label { 1227 cursor: default; 1228} 1229@media (forced-colors: active) { 1230 .mdc-text-field--disabled .mdc-floating-label { 1231 z-index: 1; 1232 } 1233} 1234.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label { 1235 display: none; 1236} 1237.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label { 1238 color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant)); 1239} 1240.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 1241 color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary)); 1242} 1243.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1243over .mdc-floating-label { 1244 color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant)); 1245} 1246.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label { 1247 color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1248} 1249.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 1250 color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error)); 1251} 1252.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 1253 color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error)); 1254} 1255.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 1256 color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container)); 1257} 1258.mdc-text-field--filled .mdc-floating-label { 1259 font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font)); 1260 font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size)); 1261 font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight)); 1262 letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking)); 1263} 1264.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label { 1265 color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant)); 1266} 1267.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label { 1268 color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary)); 1269} 1270.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label { 1271 color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface)); 1272} 1273.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label { 1274 color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1275} 1276.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label { 1277 color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error)); 1278} 1279.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label { 1280 color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error)); 1281} 1282.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label { 1283 color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container)); 1284} 1285.mdc-text-field--outlined .mdc-floating-label { 1286 font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font)); 1287 font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size)); 1288 font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight)); 1289 letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking)); 1290} 1291 1292.mdc-floating-label--float-above { 1293 cursor: auto; 1294 transform: translateY(-106%) scale(0.75); 1295} 1296.mdc-text-field--filled .mdc-floating-label--float-above { 1297 transform: translateY(-106%) scale(0.75); 1298} 1299.mdc-text-field--outlined .mdc-floating-label--float-above { 1300 transform: translateY(-37.25px) scale(1); 1301 font-size: 0.75rem; 1302} 1303.mdc-notched-outline .mdc-floating-label--float-above { 1304 text-overflow: clip; 1305} 1306.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1307 max-width: 133.3333333333%; 1308} 1309.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1310 transform: translateY(-34.75px) scale(0.75); 1311} 1312.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1313 font-size: 1rem; 1314} 1315 1316.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1317 margin-left: 1px; 1318 margin-right: 0; 1319 content: "*"; 1320} 1321[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after { 1322 margin-left: 0; 1323 margin-right: 1px; 1324} 1325 1326.mdc-notched-outline { 1327 display: flex; 1328 position: absolute; 1329 top: 0; 1330 right: 0; 1331 left: 0; 1332 box-sizing: border-box; 1333 width: 100%; 1334 max-width: 100%; 1335 height: 100%; 1336 text-align: left; 1337 pointer-events: none; 1338} 1339[dir=rtl] .mdc-notched-outline { 1340 text-align: right; 1341} 1342.mdc-text-field--outlined .mdc-notched-outline { 1343 z-index: 1; 1344} 1345 1346.mat-mdc-notch-piece { 1347 box-sizing: border-box; 1348 height: 100%; 1349 pointer-events: none; 1350 border: none; 1351 border-top: 1px solid; 1352 border-bottom: 1px solid; 1353} 1354.mdc-text-field--focused .mat-mdc-notch-piece { 1355 border-width: 2px; 1356} 1357.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece { 1358 border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline)); 1359 border-width: var(--mat-form-field-outlined-outline-width, 1px); 1360} 1361.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1361over .mat-mdc-notch-piece { 1362 border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface)); 1363} 1364.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece { 1365 border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary)); 1366} 1367.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece { 1368 border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); 1369} 1370.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece { 1371 border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error)); 1372} 1373.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece { 1374 border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container)); 1375} 1376.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece { 1377 border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error)); 1378} 1379.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece { 1380 border-width: var(--mat-form-field-outlined-focus-outline-width, 2px); 1381} 1382 1383.mdc-notched-outline__leading { 1384 border-left: 1px solid; 1385 border-right: none; 1386 border-top-right-radius: 0; 1387 border-bottom-right-radius: 0; 1388 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1389 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1390} 1391.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading { 1392 width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))); 1393} 1394[dir=rtl] .mdc-notched-outline__leading { 1395 border-left: none; 1396 border-right: 1px solid; 1397 border-bottom-left-radius: 0; 1398 border-top-left-radius: 0; 1399 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1400 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1401} 1402 1403.mdc-notched-outline__trailing { 1404 flex-grow: 1; 1405 border-left: none; 1406 border-right: 1px solid; 1407 border-top-left-radius: 0; 1408 border-bottom-left-radius: 0; 1409 border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1410 border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1411} 1412[dir=rtl] .mdc-notched-outline__trailing { 1413 border-left: 1px solid; 1414 border-right: none; 1415 border-top-right-radius: 0; 1416 border-bottom-right-radius: 0; 1417 border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1418 border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)); 1419} 1420 1421.mdc-notched-outline__notch { 1422 flex: 0 0 auto; 1423 width: auto; 1424} 1425.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch { 1426 max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1427} 1428.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1429 max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2)); 1430} 1431.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1432 padding-top: 1px; 1433} 1434.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch { 1435 padding-top: 2px; 1436} 1437.mdc-notched-outline--notched .mdc-notched-outline__notch { 1438 padding-left: 0; 1439 padding-right: 8px; 1440 border-top: none; 1441} 1442[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch { 1443 padding-left: 8px; 1444 padding-right: 0; 1445} 1446.mdc-notched-outline--no-label .mdc-notched-outline__notch { 1447 display: none; 1448} 1449 1450.mdc-line-ripple::before, .mdc-line-ripple::after { 1451 position: absolute; 1452 bottom: 0; 1453 left: 0; 1454 width: 100%; 1455 border-bottom-style: solid; 1456 content: ""; 1457} 1458.mdc-line-ripple::before { 1459 z-index: 1; 1460 border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px); 1461} 1462.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before { 1463 border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant)); 1464} 1465.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
1465over .mdc-line-ripple::before { 1466 border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface)); 1467} 1468.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before { 1469 border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1470} 1471.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before { 1472 border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error)); 1473} 1474.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before { 1475 border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container)); 1476} 1477.mdc-line-ripple::after { 1478 transform: scaleX(0); 1479 opacity: 0; 1480 z-index: 2; 1481} 1482.mdc-text-field--filled .mdc-line-ripple::after { 1483 border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px); 1484} 1485.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1486 border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary)); 1487} 1488.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after { 1489 border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error)); 1490} 1491 1492.mdc-line-ripple--active::after { 1493 transform: scaleX(1); 1494 opacity: 1; 1495} 1496 1497.mdc-line-ripple--deactivating::after { 1498 opacity: 0; 1499} 1500 1501.mdc-text-field--disabled { 1502 pointer-events: none; 1503} 1504 1505.mat-mdc-form-field-textarea-control { 1506 vertical-align: middle; 1507 resize: vertical; 1508 box-sizing: border-box; 1509 height: auto; 1510 margin: 0; 1511 padding: 0; 1512 border: none; 1513 overflow: auto; 1514} 1515 1516.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control { 1517 -moz-osx-font-smoothing: grayscale; 1518 -webkit-font-smoothing: antialiased; 1519 font: inherit; 1520 letter-spacing: inherit; 1521 text-decoration: inherit; 1522 text-transform: inherit; 1523 border: none; 1524} 1525 1526.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label { 1527 -moz-osx-font-smoothing: grayscale; 1528 -webkit-font-smoothing: antialiased; 1529 line-height: normal; 1530 pointer-events: all; 1531 will-change: auto; 1532} 1533 1534.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label { 1535 cursor: inherit; 1536} 1537 1538.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input, 1539.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control { 1540 height: auto; 1541} 1542 1543.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] { 1544 height: 23px; 1545} 1546 1547.mat-mdc-text-field-wrapper { 1548 height: auto; 1549 flex: auto; 1550 will-change: auto; 1551} 1552 1553.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1554 padding-left: 0; 1555 --mat-mdc-form-field-label-offset-x: -16px; 1556} 1557 1558.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1559 padding-right: 0; 1560} 1561 1562[dir=rtl] .mat-mdc-text-field-wrapper { 1563 padding-left: 16px; 1564 padding-right: 16px; 1565} 1566[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper { 1567 padding-left: 0; 1568} 1569[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper { 1570 padding-right: 0; 1571} 1572 1573.mat-form-field-disabled .mdc-text-field__input::placeholder { 1574 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1575} 1576.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder { 1577 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1578} 1579.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder { 1580 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1581} 1582.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder { 1583 color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1584} 1585 1586.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder { 1587 transition-delay: 40ms; 1588 transition-duration: 110ms; 1589 opacity: 1; 1590} 1591 1592.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label { 1593 left: auto; 1594 right: auto; 1595} 1596 1597.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input { 1598 display: inline-block; 1599} 1600 1601.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch { 1602 padding-top: 0; 1603} 1604 1605.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 1606 border-left: 1px solid transparent; 1607} 1608 1609[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch { 1610 border-left: none; 1611 border-right: 1px solid transparent; 1612} 1613 1614.mat-mdc-form-field-infix { 1615 min-height: var(--mat-form-field-container-height, 56px); 1616 padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px); 1617 padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px); 1618} 1619.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix { 1620 padding-top: var(--mat-form-field-container-vertical-padding, 16px); 1621 padding-bottom: var(--mat-form-field-container-vertical-padding, 16px); 1622} 1623 1624.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label { 1625 top: calc(var(--mat-form-field-container-height, 56px) / 2); 1626} 1627 1628.mdc-text-field--filled .mat-mdc-floating-label { 1629 display: var(--mat-form-field-filled-label-display, block); 1630} 1631 1632.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1633 --mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) 1634 scale(var(--mat-mdc-form-field-floating-label-scale, 0.75)); 1635 transform: var(--mat-mdc-form-field-label-transform); 1636} 1637 1638@keyframes _mat-form-field-subscript-animation { 1639 from { 1640 opacity: 0; 1641 transform: translateY(-5px); 1642 } 1643 to { 1644 opacity: 1; 1645 transform: translateY(0); 1646 } 1647} 1648.mat-mdc-form-field-subscript-wrapper { 1649 box-sizing: border-box; 1650 width: 100%; 1651 position: relative; 1652} 1653 1654.mat-mdc-form-field-hint-wrapper, 1655.mat-mdc-form-field-error-wrapper { 1656 position: absolute; 1657 top: 0; 1658 left: 0; 1659 right: 0; 1660 padding: 0 16px; 1661 opacity: 1; 1662 transform: translateY(0); 1663 animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2); 1664} 1665 1666.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper, 1667.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper { 1668 position: static; 1669} 1670 1671.mat-mdc-form-field-bottom-align::before { 1672 content: ""; 1673 display: inline-block; 1674 height: 16px; 1675} 1676 1677.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before { 1678 content: unset; 1679} 1680 1681.mat-mdc-form-field-hint-end { 1682 order: 1; 1683} 1684 1685.mat-mdc-form-field-hint-wrapper { 1686 display: flex; 1687} 1688 1689.mat-mdc-form-field-hint-spacer { 1690 flex: 1 0 1em; 1691} 1692 1693.mat-mdc-form-field-error { 1694 display: block; 1695 color: var(--mat-form-field-error-text-color, var(--mat-sys-error)); 1696} 1697 1698.mat-mdc-form-field-subscript-wrapper, 1699.mat-mdc-form-field-bottom-align::before { 1700 -moz-osx-font-smoothing: grayscale; 1701 -webkit-font-smoothing: antialiased; 1702 font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font)); 1703 line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height)); 1704 font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size)); 1705 letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking)); 1706 font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight)); 1707} 1708 1709.mat-mdc-form-field-focus-overlay { 1710 top: 0; 1711 left: 0; 1712 right: 0; 1713 bottom: 0; 1714 position: absolute; 1715 opacity: 0; 1716 pointer-events: none; 1717 background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface)); 1718} 1719.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay { 1720 opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 1721} 1722.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay { 1723 opacity: var(--mat-form-field-focus-state-layer-opacity, 0); 1724} 1725 1726select.mat-mdc-form-field-input-control { 1727 -moz-appearance: none; 1728 -webkit-appearance: none; 1729 background-color: transparent; 1730 display: inline-flex; 1731 box-sizing: border-box; 1732} 1733select.mat-mdc-form-field-input-control:not(:disabled) { 1734 cursor: pointer; 1735} 1736select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option { 1737 color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10)); 1738} 1739select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled { 1740 color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent)); 1741} 1742 1743.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
1744 content: ""; 1745 width: 0; 1746 height: 0; 1747 border-left: 5px solid transparent; 1748 border-right: 5px solid transparent; 1749 border-top: 5px solid; 1750 position: absolute; 1751 right: 0; 1752 top: 50%; 1753 margin-top: -2.5px; 1754 pointer-events: none; 1755 color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant)); 1756} 1757[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after { 1758 right: auto; 1759 left: 0; 1760} 1761.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after { 1762 color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary)); 1763} 1764.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after { 1765 color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1766} 1767.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 1768 padding-right: 15px; 1769} 1770[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control { 1771 padding-right: 0; 1772 padding-left: 15px; 1773} 1774 1775@media (forced-colors: active) { 1776 .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper { 1777 outline: solid 1px; 1778 } 1779} 1780@media (forced-colors: active) { 1781 .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper { 1782 outline-color: GrayText; 1783 } 1784} 1785 1786@media (forced-colors: active) { 1787 .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper { 1788 outline: dashed 3px; 1789 } 1790} 1791 1792@media (forced-colors: active) { 1793 .mat-mdc-form-field.mat-focused .mdc-notched-outline { 1794 border: dashed 3px; 1795 } 1796} 1797 1798.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] { 1799 line-height: 1; 1800} 1801.mat-mdc-form-field-input-control::-webkit-datetime-edit { 1802 line-height: 1; 1803 padding: 0; 1804 margin-bottom: -2px; 1805} 1806 1807.mat-mdc-form-field { 1808 --mat-mdc-form-field-floating-label-scale: 0.75; 1809 display: inline-flex; 1810 flex-direction: column; 1811 min-width: 0; 1812 text-align: left; 1813 -moz-osx-font-smoothing: grayscale; 1814 -webkit-font-smoothing: antialiased; 1815 font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font)); 1816 line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height)); 1817 font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size)); 1818 letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking)); 1819 font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight)); 1820} 1821.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above { 1822 font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale)); 1823} 1824.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1825 font-size: var(--mat-form-field-outlined-label-text-populated-size); 1826} 1827[dir=rtl] .mat-mdc-form-field { 1828 text-align: right; 1829} 1830 1831.mat-mdc-form-field-flex { 1832 display: inline-flex; 1833 align-items: baseline; 1834 box-sizing: border-box; 1835 width: 100%; 1836} 1837 1838.mat-mdc-text-field-wrapper { 1839 width: 100%; 1840 z-index: 0; 1841} 1842 1843.mat-mdc-form-field-icon-prefix, 1844.mat-mdc-form-field-icon-suffix { 1845 align-self: center; 1846 line-height: 0; 1847 pointer-events: auto; 1848 position: relative; 1849 z-index: 1; 1850} 1851.mat-mdc-form-field-icon-prefix > .mat-icon, 1852.mat-mdc-form-field-icon-suffix > .mat-icon { 1853 padding: 0 12px; 1854 box-sizing: content-box; 1855} 1856 1857.mat-mdc-form-field-icon-prefix { 1858 color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant)); 1859} 1860.mat-form-field-disabled .mat-mdc-form-field-icon-prefix { 1861 color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1862} 1863 1864.mat-mdc-form-field-icon-suffix { 1865 color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant)); 1866} 1867.mat-form-field-disabled .mat-mdc-form-field-icon-suffix { 1868 color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); 1869} 1870.mat-form-field-invalid .mat-mdc-form-field-icon-suffix { 1871 color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error)); 1872} 1873.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix { 1874 color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container)); 1875} 1876.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix { 1877 color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error)); 1878} 1879 1880.mat-mdc-form-field-icon-prefix, 1881[dir=rtl] .mat-mdc-form-field-icon-suffix { 1882 padding: 0 4px 0 0; 1883} 1884 1885.mat-mdc-form-field-icon-suffix, 1886[dir=rtl] .mat-mdc-form-field-icon-prefix { 1887 padding: 0 0 0 4px; 1888} 1889 1890.mat-mdc-form-field-subscript-wrapper .mat-icon, 1891.mat-mdc-form-field label .mat-icon { 1892 width: 1em; 1893 height: 1em; 1894 font-size: inherit; 1895} 1896 1897.mat-mdc-form-field-infix { 1898 flex: auto; 1899 min-width: 0; 1900 width: 180px; 1901 position: relative; 1902 box-sizing: border-box; 1903} 1904.mat-mdc-form-field-infix:has(textarea[cols]) { 1905 width: auto; 1906} 1907 1908.mat-mdc-form-field .mdc-notched-outline__notch { 1909 margin-left: -1px; 1910 -webkit-clip-path: inset(-9em -999em -9em 1px); 1911 clip-path: inset(-9em -999em -9em 1px); 1912} 1913[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch { 1914 margin-left: 0; 1915 margin-right: -1px; 1916 -webkit-clip-path: inset(-9em 1px -9em -999em); 1917 clip-path: inset(-9em 1px -9em -999em); 1918} 1919 1920.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label { 1921 transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1); 1922} 1923.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input { 1924 transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); 1925} 1926.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder { 1927 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1928} 1929.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder { 1930 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1931} 1932.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder { 1933 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1934} 1935.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder { 1936 transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1); 1937} 1938.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder { 1939 transition-delay: 40ms; 1940 transition-duration: 110ms; 1941} 1942.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder { 1943 transition-delay: 40ms; 1944 transition-duration: 110ms; 1945} 1946.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder { 1947 transition-delay: 40ms; 1948 transition-duration: 110ms; 1949} 1950.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder { 1951 transition-delay: 40ms; 1952 transition-duration: 110ms; 1953} 1954.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before { 1955 transition-duration: 75ms; 1956} 1957.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after { 1958 transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1); 1959} 1960.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper, 1961.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper { 1962 animation-duration: 300ms; 1963} 1964 1965.mdc-notched-outline .mdc-floating-label { 1966 max-width: calc(100% + 1px); 1967} 1968 1969.mdc-notched-outline--upgraded .mdc-floating-label--float-above { 1970 max-width: calc(133.3333333333% + 1px); 1971} 1972`],encapsulation:2})}return t})();var Vt$1=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Je$3({type:t});static \u0275inj=ze$2({imports:[xP,Ne,lo]})}return t})();function h$1(n,o=false,i=null){if(o){n.animationComplete(),i?.();return}let t=n.target,e=t.getAnimations(),a=e.length?t.clientHeight:0,s=t.scrollHeight;e.forEach(r=>r.cancel()),t.style.overflow="hidden";let l=t.animate([{height:`${a}px`},{height:`${s}px`}],{duration:300,easing:"ease-in"});l.onfinish=()=>{t.style.height="",t.style.overflow="",n.animationComplete(),i?.();};}function c(n,o=false,i=null){if(o){n.animationComplete(),i?.();return}let t=n.target,e=t.getAnimations(),a=e.length?t.clientHeight:t.scrollHeight;e.forEach(l=>l.cancel()),t.style.overflow="hidden";let s=t.animate([{height:`${a}px`},{height:"0px"}],{duration:300,easing:"ease-out"});s.onfinish=()=>{n.animationComplete(),i?.();};}function m(n,o=false,i=null){if(o){n.animationComplete(),i?.();return}let t=n.target,e=t.getAnimations(),a=e.length?t.clientWidth:0,s=t.scrollWidth;e.forEach(r=>r.cancel()),t.style.overflow="hidden";let l=t.animate([{width:`${a}px`},{width:`${s}px`}],{duration:300,easing:"ease-in"});l.onfinish=()=>{t.style.width="",t.style.overflow="",n.animationComplete(),i?.();};}function g(n,o=false,i=null){if(o){n.animationComplete(),i?.();return}let t=n.target,e=t.getAnimations(),a=e.length?t.clientWidth:t.scrollWidth;e.forEach(l=>l.cancel()),t.style.overflow="hidden";let s=t.animate([{width:`${a}px`},{width:"0px"}],{duration:300,easing:"ease-out"});s.onfinish=()=>{n.animationComplete(),i?.();};}var r=(function(o){return o.DrawCursor="draw-cursor.png",o.LogoNarRes="logo-nar-res.svg",o.LogoRpr="logo-rpr.svg",o.LogoRprBlack="logo-rpr-black.svg",o.PartnerIceLogo="partner-ice-logo.png",o.PartnerStamp="partner-stamp.svg",o.PlaceActive="place-active.svg",o.PlaceDefault="place-default.svg",o.SchoolActive="school-active.svg",o.SchoolDefault="school-default.svg",o})(r||{});var Pe$1=["switch"],Ie=["*"];function De(i,l){i&1&&(mt$1(0,"span",11),lh(),mt$1(1,"svg",13),Bn$1(2,"path",14),bt$2(),mt$1(3,"svg",15),Bn$1(4,"path",16),bt$2()());}var Me=new R$3("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:false,hideIcon:false,disabledInteractive:false})}),x$2=class x{source;checked;constructor(l,t){this.source=l,this.checked=t;}},D=(()=>{class i{_elementRef=h$5(me$2);_focusMonitor=h$5(Jg);_changeDetectorRef=h$5(dn$1);defaults=h$5(Me);_onChange=t=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=false;_createChangeEvent(t){return new x$2(this,t)}_labelId;get buttonId(){return `${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus();}_noopAnimations=wa();_focused=false;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required=false;color;disabled=false;disableRipple=false;tabIndex=0;get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck();}hideIcon;disabledInteractive;change=new de$4;toggleChange=new de$4;get inputId(){return `${this.id||this._uniqueId}-input`}constructor(){h$5(xr$1).load(FL);let t=h$5(new zc("tabindex"),{optional:true}),n=this.defaults;this.tabIndex=t==null?0:parseInt(t)||0,this.color=n.color||"accent",this.id=this._uniqueId=h$5(Kr$1).getId("mat-mdc-slide-toggle-"),this.hideIcon=n.hideIcon??false,this.disabledInteractive=n.disabledInteractive??false,this._labelId=this._uniqueId+"-label";}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,true).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=true,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=false,this._onTouched(),this._changeDetectorRef.markForCheck();});});}
1972ngOnChanges(t){t.required&&this._validatorOnChange();}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef);}writeValue(t){this.checked=!!t;}registerOnChange(t){this._onChange=t;}registerOnTouched(t){this._onTouched=t;}validate(t){return this.required&&t.value!==true?{required:true}:null}registerOnValidatorChange(t){this._validatorOnChange=t;}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck();}toggle(){this.checked=!this.checked,this._onChange(this.checked);}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked));}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new x$2(this,this.checked))));}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=It({type:i,selectors:[["mat-slide-toggle"]],viewQuery:function(n,e){if(n&1&&na(Pe$1,5),n&2){let s;Zi(s=Ji())&&(e._switchElement=s.first);}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(n,e){n&2&&(Vc("id",e.id),Rt("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),wd(e.color?"mat-"+e.color:""),wt("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations));},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",He],color:"color",disabled:[2,"disabled","disabled",He],disableRipple:[2,"disableRipple","disableRipple",He],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:UC(t)],checked:[2,"checked","checked",He],hideIcon:[2,"hideIcon","hideIcon",He],disabledInteractive:[2,"disabledInteractive","disabledInteractive",He]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[At([{provide:uo,useExisting:vt$1(()=>i),multi:true},{provide:rr$1,useExisting:i,multi:true}]),ct$1],ngContentSelectors:Ie,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(n,e){if(n&1&&(jc(),mt$1(0,"div",1)(1,"button",2,0),gt$1("click",function(){return e._handleClick()}),Bn$1(3,"div",3)(4,"span",4),mt$1(5,"span",5)(6,"span",6)(7,"span",7),Bn$1(8,"span",8),bt$2(),mt$1(9,"span",9),Bn$1(10,"span",10),bt$2(),_i(11,De,5,0,"span",11),bt$2()()(),mt$1(12,"label",12),gt$1("click",function(_){return _.stopPropagation()}),Hc(13),bt$2()()),n&2){let s=CC(2);xn$1("labelPosition",e.labelPosition),Ut$1(),wt("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled)("mat-mdc-slide-toggle-disabled-interactive",e.disabledInteractive),xn$1("tabIndex",e.disabled&&!e.disabledInteractive?-1:e.tabIndex)("disabled",e.disabled&&!e.disabledInteractive),Rt("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked)("aria-disabled",e.disabled&&e.disabledInteractive?"true":null),Ut$1(9),xn$1("matRippleTrigger",s)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",true),Ut$1(),bi(e.hideIcon?-1:11),Ut$1(),xn$1("for",e.buttonId),Rt("id",e._labelId);}},dependencies:[zL,LL],styles:[`.mdc-switch { 1973 align-items: center; 1974 background: none; 1975 border: none; 1976 cursor: pointer; 1977 display: inline-flex; 1978 flex-shrink: 0; 1979 margin: 0; 1980 outline: none; 1981 overflow: visible; 1982 padding: 0; 1983 position: relative;
1984 width: var(--mat-slide-toggle-track-width, 52px); 1985} 1986.mdc-switch.mdc-switch--disabled { 1987 cursor: default; 1988 pointer-events: none; 1989} 1990.mdc-switch.mat-mdc-slide-toggle-disabled-interactive { 1991 pointer-events: auto; 1992} 1993 1994.mdc-switch__track { 1995 overflow: hidden; 1996 position: relative; 1997 width: 100%; 1998 height: var(--mat-slide-toggle-track-height, 32px); 1999 border-radius: var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full)); 2000} 2001.mdc-switch--disabled.mdc-switch .mdc-switch__track { 2002 opacity: var(--mat-slide-toggle-disabled-track-opacity, 0.12); 2003} 2004.mdc-switch__track::before, .mdc-switch__track::after { 2005 border: 1px solid transparent; 2006 border-radius: inherit; 2007 box-sizing: border-box; 2008 content: ""; 2009 height: 100%; 2010 left: 0; 2011 position: absolute; 2012 width: 100%; 2013 border-width: var(--mat-slide-toggle-track-outline-width, 2px); 2014 border-color: var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline)); 2015} 2016.mdc-switch--selected .mdc-switch__track::before, .mdc-switch--selected .mdc-switch__track::after { 2017 border-width: var(--mat-slide-toggle-selected-track-outline-width, 2px); 2018 border-color: var(--mat-slide-toggle-selected-track-outline-color, transparent); 2019} 2020.mdc-switch--disabled .mdc-switch__track::before, .mdc-switch--disabled .mdc-switch__track::after { 2021 border-width: var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px); 2022 border-color: var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface)); 2023} 2024@media (forced-colors: active) { 2025 .mdc-switch__track { 2026 border-color: currentColor; 2027 } 2028} 2029.mdc-switch__track::before { 2030 transition: transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1); 2031 transform: translateX(0); 2032 background: var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant)); 2033} 2034.mdc-switch--selected .mdc-switch__track::before { 2035 transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1); 2036 transform: translateX(100%); 2037} 2038[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before { 2039 transform: translateX(-100%); 2040} 2041.mdc-switch--selected .mdc-switch__track::before { 2042 opacity: var(--mat-slide-toggle-hidden-track-opacity, 0); 2043 transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms); 2044} 2045.mdc-switch--unselected .mdc-switch__track::before { 2046 opacity: var(--mat-slide-toggle-visible-track-opacity, 1); 2047 transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms); 2048} 2049.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before { 2050 background: var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant)); 2051} 2052.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before { 2053 background: var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant)); 2054} 2055.mdc-switch:enabled:active .mdc-switch__track::before { 2056 background: var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant)); 2057} 2058.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before, .mdc-switch.mdc-switch--disabled .mdc-switch__track::before { 2059 background: var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant)); 2060} 2061.mdc-switch__track::after { 2062 transform: translateX(-100%); 2063 background: var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary)); 2064} 2065[dir=rtl] .mdc-switch__track::after { 2066 transform: translateX(100%); 2067} 2068.mdc-switch--selected .mdc-switch__track::after { 2069 transform: translateX(0); 2070} 2071.mdc-switch--selected .mdc-switch__track::after { 2072 opacity: var(--mat-slide-toggle-visible-track-opacity, 1); 2073 transition: var(--mat-slide-toggle-visible-track-transition, opacity 75ms); 2074} 2075.mdc-switch--unselected .mdc-switch__track::after { 2076 opacity: var(--mat-slide-toggle-hidden-track-opacity, 0); 2077 transition: var(--mat-slide-toggle-hidden-track-transition, opacity 75ms); 2078}
2079.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after { 2080 background: var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary)); 2081} 2082.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after { 2083 background: var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary)); 2084} 2085.mdc-switch:enabled:active .mdc-switch__track::after { 2086 background: var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary)); 2087} 2088.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after, .mdc-switch.mdc-switch--disabled .mdc-switch__track::after { 2089 background: var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface)); 2090} 2091 2092.mdc-switch__handle-track { 2093 height: 100%; 2094 pointer-events: none; 2095 position: absolute; 2096 top: 0; 2097 transition: transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1); 2098 left: 0; 2099 right: auto; 2100 transform: translateX(0); 2101 width: calc(100% - var(--mat-slide-toggle-handle-width)); 2102} 2103[dir=rtl] .mdc-switch__handle-track { 2104 left: auto; 2105 right: 0; 2106} 2107.mdc-switch--selected .mdc-switch__handle-track { 2108 transform: translateX(100%); 2109} 2110[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track { 2111 transform: translateX(-100%); 2112} 2113 2114.mdc-switch__handle { 2115 display: flex; 2116 pointer-events: auto; 2117 position: absolute; 2118 top: 50%; 2119 transform: translateY(-50%); 2120 left: 0; 2121 right: auto; 2122 transition: width 75ms cubic-bezier(0.4, 0, 0.2, 1), height 75ms cubic-bezier(0.4, 0, 0.2, 1), margin 75ms cubic-bezier(0.4, 0, 0.2, 1); 2123 width: var(--mat-slide-toggle-handle-width); 2124 height: var(--mat-slide-toggle-handle-height); 2125 border-radius: var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full)); 2126} 2127[dir=rtl] .mdc-switch__handle { 2128 left: auto; 2129 right: 0; 2130} 2131.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle { 2132 width: var(--mat-slide-toggle-unselected-handle-size, 16px); 2133 height: var(--mat-slide-toggle-unselected-handle-size, 16px); 2134 margin: var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px); 2135} 2136.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons) { 2137 margin: var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px); 2138} 2139.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle { 2140 width: var(--mat-slide-toggle-selected-handle-size, 24px); 2141 height: var(--mat-slide-toggle-selected-handle-size, 24px); 2142 margin: var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px); 2143} 2144.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons) { 2145 margin: var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px); 2146} 2147.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons) { 2148 width: var(--mat-slide-toggle-with-icon-handle-size, 24px); 2149 height: var(--mat-slide-toggle-with-icon-handle-size, 24px); 2150} 2151.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle { 2152 width: var(--mat-slide-toggle-pressed-handle-size, 28px); 2153 height: var(--mat-slide-toggle-pressed-handle-size, 28px); 2154} 2155.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle { 2156 margin: var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px); 2157} 2158.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle { 2159 margin: var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px); 2160} 2161.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after { 2162 opacity: var(--mat-slide-toggle-disabled-selected-handle-opacity, 1); 2163} 2164.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after { 2165 opacity: var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38); 2166} 2167.mdc-switch__handle::before, .mdc-switch__handle::after { 2168 border: 1px solid transparent; 2169 border-radius: inherit; 2170 box-sizing: border-box; 2171 content: ""; 2172 width: 100%; 2173 height: 100%; 2174 left: 0; 2175 position: absolute; 2176 top: 0; 2177 transition: background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1), border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1); 2178 z-index: -1; 2179} 2180@media (forced-colors: active) { 2181 .mdc-switch__handle::before, .mdc-switch__handle::after { 2182 border-color: currentColor; 2183 } 2184} 2185.mdc-switch--selected:enabled .mdc-switch__handle::after {
2186 background: var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary)); 2187} 2188.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after { 2189 background: var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container)); 2190} 2191.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after { 2192 background: var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container)); 2193} 2194.mdc-switch--selected:enabled:active .mdc-switch__handle::after { 2195 background: var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container)); 2196} 2197.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after, .mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after { 2198 background: var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface)); 2199} 2200.mdc-switch--unselected:enabled .mdc-switch__handle::after { 2201 background: var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline)); 2202} 2203.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after { 2204 background: var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant)); 2205} 2206.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after { 2207 background: var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant)); 2208} 2209.mdc-switch--unselected:enabled:active .mdc-switch__handle::after { 2210 background: var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant)); 2211} 2212.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after { 2213 background: var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface)); 2214} 2215.mdc-switch__handle::before { 2216 background: var(--mat-slide-toggle-handle-surface-color); 2217} 2218 2219.mdc-switch__shadow { 2220 border-radius: inherit; 2221 bottom: 0; 2222 left: 0; 2223 position: absolute; 2224 right: 0; 2225 top: 0; 2226} 2227.mdc-switch:enabled .mdc-switch__shadow { 2228 box-shadow: var(--mat-slide-toggle-handle-elevation-shadow); 2229} 2230.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow, .mdc-switch.mdc-switch--disabled .mdc-switch__shadow { 2231 box-shadow: var(--mat-slide-toggle-disabled-handle-elevation-shadow); 2232} 2233 2234.mdc-switch__ripple { 2235 left: 50%; 2236 position: absolute; 2237 top: 50%; 2238 transform: translate(-50%, -50%); 2239 z-index: -1; 2240 width: var(--mat-slide-toggle-state-layer-size, 40px); 2241 height: var(--mat-slide-toggle-state-layer-size, 40px); 2242} 2243.mdc-switch__ripple::after { 2244 content: ""; 2245 opacity: 0; 2246} 2247.mdc-switch--disabled .mdc-switch__ripple::after { 2248 display: none; 2249} 2250.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after { 2251 display: block; 2252} 2253.mdc-switch:hover .mdc-switch__ripple::after { 2254 transition: 75ms opacity cubic-bezier(0, 0, 0.2, 1); 2255} 2256.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after, .mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after, .mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after { 2257 background: var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface)); 2258 opacity: var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2259} 2260.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after {
2261 background: var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface)); 2262 opacity: var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2263} 2264.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after { 2265 background: var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface)); 2266 opacity: var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2267 transition: opacity 75ms linear; 2268} 2269.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after { 2270 background: var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary)); 2271 opacity: var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); 2272} 2273.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after { 2274 background: var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary)); 2275 opacity: var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); 2276} 2277.mdc-switch--selected:enabled:active .mdc-switch__ripple::after { 2278 background: var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary)); 2279 opacity: var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); 2280 transition: opacity 75ms linear; 2281} 2282 2283.mdc-switch__icons { 2284 position: relative; 2285 height: 100%; 2286 width: 100%; 2287 z-index: 1; 2288 transform: translateZ(0); 2289} 2290.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons { 2291 opacity: var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38); 2292} 2293.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons { 2294 opacity: var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38); 2295} 2296 2297.mdc-switch__icon { 2298 bottom: 0; 2299 left: 0; 2300 margin: auto; 2301 position: absolute; 2302 right: 0; 2303 top: 0; 2304 opacity: 0; 2305 transition: opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1); 2306} 2307.mdc-switch--unselected .mdc-switch__icon { 2308 width: var(--mat-slide-toggle-unselected-icon-size, 16px); 2309 height: var(--mat-slide-toggle-unselected-icon-size, 16px); 2310 fill: var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant)); 2311} 2312.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon { 2313 fill: var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant)); 2314} 2315.mdc-switch--selected .mdc-switch__icon { 2316 width: var(--mat-slide-toggle-selected-icon-size, 16px); 2317 height: var(--mat-slide-toggle-selected-icon-size, 16px); 2318 fill: var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container)); 2319} 2320.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon { 2321 fill: var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface)); 2322} 2323 2324.mdc-switch--selected .mdc-switch__icon--on, 2325.mdc-switch--unselected .mdc-switch__icon--off { 2326 opacity: 1; 2327 transition: opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1); 2328} 2329 2330.mat-mdc-slide-toggle { 2331 -webkit-user-select: none; 2332 user-select: none; 2333 display: inline-block; 2334 -webkit-tap-highlight-color: transparent; 2335 outline: 0; 2336} 2337.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple, 2338.mat-mdc-slide-toggle .mdc-switch__ripple::after { 2339 top: 0; 2340 left: 0; 2341 right: 0; 2342 bottom: 0; 2343 position: absolute; 2344 border-radius: 50%; 2345 pointer-events: none; 2346} 2347.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty), 2348.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty) { 2349 transform: translateZ(0); 2350} 2351.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before { 2352 content: ""; 2353} 2354.mat-mdc-slide-toggle .mat-internal-form-field { 2355 color: var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface)); 2356 font-family: var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font)); 2357 line-height: var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height)); 2358 font-size: var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size)); 2359 letter-spacing: var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));
2360 font-weight: var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight)); 2361} 2362.mat-mdc-slide-toggle .mat-ripple-element { 2363 opacity: 0.12; 2364} 2365.mat-mdc-slide-toggle .mat-focus-indicator::before { 2366 border-radius: 50%; 2367} 2368.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track, 2369.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon, 2370.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before, 2371.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after, 2372.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before, 2373.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after { 2374 transition: none; 2375} 2376.mat-mdc-slide-toggle .mdc-switch:enabled + .mdc-label { 2377 cursor: pointer; 2378} 2379.mat-mdc-slide-toggle .mdc-switch--disabled + label { 2380 color: var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface)); 2381} 2382.mat-mdc-slide-toggle label:empty { 2383 display: none; 2384} 2385 2386.mat-mdc-slide-toggle-touch-target { 2387 position: absolute; 2388 top: 50%; 2389 left: 50%; 2390 height: var(--mat-slide-toggle-touch-target-size, 48px); 2391 width: 100%; 2392 transform: translate(-50%, -50%); 2393 display: var(--mat-slide-toggle-touch-target-display, block); 2394} 2395[dir=rtl] .mat-mdc-slide-toggle-touch-target { 2396 left: auto; 2397 right: 50%; 2398 transform: translate(50%, -50%); 2399} 2400`],encapsulation:2})}return i})(),Ce=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=Je$3({type:i});static \u0275inj=ze$2({imports:[D,lo]})}return i})();var Oe=(i,l)=>l.consentCategoryId;function Ee(i,l){i&1&&$c(0," When GPC is enabled, analytics cookies cannot be tracked. ");}function ze(i,l){i&1&&$c(0," When GPC is enabled, functional and analytics cookies cannot be tracked. ");}function Te(i,l){if(i&1&&(mt$1(0,"p",7),$c(1," Your preferences are being ignored because you have enabled Global Privacy Control (GPC) in your browser. "),_i(2,Ee,1,0)(3,ze,1,0),bt$2()),i&2){let t=Mn$1();Ut$1(2),bi(t.helper.functionalStorageGpcPermissionGranted?2:3);}}function Ae(i,l){if(i&1){let t=Uc();mt$1(0,"div"),Eh(function(e){ks(t);let s=Mn$1(2);return Os(s.slideDownOnEnterAnimation(e))}),lw(function(e){ks(t);let s=Mn$1(2);return Os(s.slideUpOnLeaveAnimation(e))}),mt$1(1,"p",20),$c(2),bt$2()();}if(i&2){let t=Mn$1().$implicit;Ut$1(2),bm(t.description);}}function Le(i,l){if(i&1){let t=Uc();mt$1(0,"section")(1,"div",16)(2,"h3")(3,"a",17),gt$1("click",function(){let e=ks(t).$implicit,s=Mn$1();return Os(s.$expandedCategory.set(e.consentCategoryId===s.$expandedCategory()?null:e.consentCategoryId))}),Bn$1(4,"i",18),$c(5),bt$2()(),mt$1(6,"mat-slide-toggle",19),gt$1("change",function(e){let s=ks(t).$implicit,_=Mn$1();return Os(_.userChoices.set(s.consentCategoryId,e.checked))}),bt$2()(),_i(7,Ae,3,1,"div"),bt$2();}if(i&2){let t=l.$implicit,n=l.$index,e=Mn$1();Ut$1(),wt("is-first",n===0),Ut$1(3),wt("fa-chevron-right",e.$expandedCategory()!==t.consentCategoryId)("fa-chevron-down",e.$expandedCategory()===t.consentCategoryId),Ut$1(),SC("",t.name," "),Ut$1(),xn$1("checked",e.userChoices.get(t.consentCategoryId)??t.isAllowed)("disabled",t.consentCategoryId===e.privacy.alwaysAllowedCategory),Ut$1(),bi(e.$expandedCategory()===t.consentCategoryId?7:-1);}}var rt$1=(()=>{class i extends RB{constructor(){super(...arguments),this.$expandedCategory=Q$6(null),this.userChoices=new Map,this.ICONS=VVe,this.Assets=r,this.slideDownOnEnterAnimation=h$1,this.slideUpOnLeaveAnimation=c,this.privacy=h$5(Uf);}ngOnInit(){this.dialogRef.addPanelClass(["dialog-with-new-padding","above-privacy-consent-banner"]),this.privacy.ensureConsentStateLoaded();}get globalPrivacyControl(){return E$4.globalPrivacyControl}close(t){super.close(t);}savePreferences(){let t=this.privacy.$enforcedCategories().map(n=>new ii({consentCategoryId:n.consentCategoryId,isAllowed:this.userChoices.get(n.consentCategoryId)??n.isAllowed}));this.privacy.saveUserPreferences(t),this.close(true);}acceptAll(){this.privacy.acceptAll(),this.close(true);}rejectOptional(){this.privacy.rejectOptional(),this.close(true);}static{this.\u0275fac=(()=>{let t;return function(e){return (t||(t=_t$1(i)))(e||i)}})();}static{this.\u0275cmp=It({type:i,selectors:[["rpr-consent-preferences-dialog"]],features:[Ee$2],decls:33,vars:2,consts:[[1,"margin-bottom-20"],["alt","RPR logo",3,"src"],[1,"margin-bottom-8"],[1,"is-flex","align-items-center","gap-10"],["href","/terms-of-use",3,"click"],[1,"gray-500"],["href","/privacy-policy",3,"click"],[1,"gpc-notice"],[1,"margin-top-30","margin-bottom-10"],[1,"categories-container"],[1,"action-buttons"],["type","button",1,"button","is-primary",3,"click"],[1,"is-hidden-until-tablet"],[1,"is-hidden-from-tablet"],["type","button",1,"button","is-primary","is-outlined",3,"click"],["aria-label","Close",1,"fa-light","fa-xmark","close-dialog-icon",3,"click","
2400spaceOrEnterKeyPressed"],[1,"category","is-flex","align-items-center","justify-content-between"],[3,"click"],[1,"fa-regular"],[3,"change","checked","disabled"],[1,"description"]],template:function(n,e){n&1&&(mt$1(0,"mat-dialog-content")(1,"header",0)(2,"p"),Bn$1(3,"img",1),bt$2()(),mt$1(4,"h2",2),$c(5,"How we improve your experience"),bt$2(),mt$1(6,"p",2),$c(7," Cookies and similar technologies make our site work, customize your experience on our site, and help us make your experience on our site better by understanding how you use it. We value your privacy and offer ways to control what you share. "),bt$2(),mt$1(8,"p",3)(9,"a",4),gt$1("click",function(_){return _.preventDefault(),e.helper.showTermsOfUseDialog()}),$c(10,"Terms of Use"),bt$2(),mt$1(11,"span",5),$c(12,"|"),bt$2(),mt$1(13,"a",6),gt$1("click",function(_){return _.preventDefault(),e.helper.showPrivacyPoliciesDialog()}),$c(14,"Privacy Policies"),bt$2()(),_i(15,Te,4,1,"p",7),mt$1(16,"h2",8),$c(17,"Manage Consent Preferences"),bt$2(),mt$1(18,"div",9),vd(19,Le,8,10,"section",null,Oe),bt$2()(),mt$1(21,"mat-dialog-actions")(22,"div",10)(23,"button",11),gt$1("click",function(){return e.savePreferences()}),mt$1(24,"span",12),$c(25,"Save Preferences"),bt$2(),mt$1(26,"span",13),$c(27,"Save"),bt$2()(),mt$1(28,"button",14),gt$1("click",function(){return e.acceptAll()}),$c(29,"Accept All"),bt$2(),mt$1(30,"button",14),gt$1("click",function(){return e.rejectOptional()}),$c(31,"Reject All"),bt$2()()(),mt$1(32,"i",15),gt$1("click",function(){return e.close(false)})("spaceOrEnterKeyPressed",function(){return e.close(false)}),bt$2()),n&2&&(Ut$1(3),xn$1("src",`${e.ICONS}/${e.Assets.LogoRpr}`,Qh),Ut$1(12),bi(e.globalPrivacyControl?15:-1),Ut$1(4),_d(e.privacy.$enforcedCategories()));},dependencies:[KEe,YP,Ce,D],styles:["mat-dialog-content[_ngcontent-%COMP%]{max-width:554px;max-height:75dvh!important;font-size:.875em!important}mat-dialog-actions[_ngcontent-%COMP%]{border-top:1px solid rgb(218.7306069364,226.4283377374,235.5693930636);padding:calc(var(--mat-dialog-content-padding) - 4px) var(--mat-dialog-content-padding)}@media screen and (max-width:768px){mat-dialog-actions[_ngcontent-%COMP%]{padding:calc(var(--mat-dialog-content-padding) - 4px - 9px) calc(var(--mat-dialog-content-padding) - 9px)}}header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:145px;height:2.86em}header[_ngcontent-%COMP%] img{width:100%;height:100%;object-fit:contain;object-position:left top}h2[_ngcontent-%COMP%]{font-size:1.43em;font-weight:700}.gpc-notice[_ngcontent-%COMP%]{border:1px solid #0070c1;border-radius:8px;background-color:#eaf6ff;padding:10px 16px;font-weight:500;margin-top:15px}.categories-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;border:1px solid rgb(218.7306069364,226.4283377374,235.5693930636);border-radius:8px;margin-bottom:30px;overflow:hidden}.category[_ngcontent-%COMP%]{padding:10px 15px 10px 3px}.category[_ngcontent-%COMP%]:not(.is-first){border-top:1px solid rgb(218.7306069364,226.4283377374,235.5693930636)}.category[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.15em;font-weight:700}.category[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#2b2b2b}.category[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:40px}.description[_ngcontent-%COMP%]{border-top:1px solid rgb(218.7306069364,226.4283377374,235.5693930636);padding:10px 15px 10px 43px;background-color:#f5f7fa}"]});}}return i})();function oe$1(n,u){if(n&1&&($c(0," This website uses cookies and similar technologies (\u201Ccookies\u201D), some of which are provided by third parties, to enable website features and functionality; measure, analyze and improve site performance; enhance user experience; personalize content; and support our marketing. We and our third-party vendors may monitor, record and access information and data, including device data, IP address and online identifiers, referring URLs and other browsing information, for these and similar purposes. Click on \u201CReject Optional\u201D to opt out of cookies that result in a \u201Csale,\u201D \u201Csharing\u201D or \u201Ctargeted advertising.\u201D Click on \u201CManage Preferences\u201D to manage your cookie preferences."),Bn$1(1,"br"),$c(2," We have updated our "),vm(3,6),$c(4," and "),vm(5,6),$c(6," to provide you with more information. By browsing the website, or clicking \u201CAccept Optional\u201D, \u201CManage Preferences,\u201D \u201CReject Optional Cookies\u201D or \u201CClose\u201D you agree to our "),vm(7,6),$c(8,". ")),n&2){Mn$1(2);let e=CC(2),i=CC(4);Ut$1(3),xn$1("ngTemplateOutlet",e),Ut$1(2),xn$1("ngTemplateOutlet",i),Ut$1(2),xn$1("ngTemplateOutlet",i);}}function re$1(n,u){if(n&1&&($c(0," We use cookies and similar tools (\u201Ccookies\u201D), including third-party cookies, to operate, improve and personalize our website. We and our third-party vendors may monitor, record and access your information and data for these and similar purposes. Click Accept to agree to such purposes. If you browse our site without clicking Accept, or click Reject, only necessary cookies will be deployed."),Bn$1(1,"br"),$c(2," We have updated our "),vm(3,6),$c(4," and "),vm(5,6),$c(6," to provide you with more information. By browsing the website, or clicking \u201CAccept,\u201D \u201CReject,\u201D or \u201CManage Preferences,\u201D you agree to our "),vm(7,6),$c(8,". ")),n&2){Mn$1(2);let e=CC(2),i=CC(4);Ut$1(3),xn$1("ngTemplateOutlet",e),Ut$1(2),xn$1("ngTemplateOutlet",i),Ut$1(2),xn$1("ngTemplateOutlet",i);}}function ae$1(n,u){if(n&1){let e=Uc();mt$1(0,"button",7),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.acceptAll())}),$c(1,"Accept Optional"),bt$2(),mt$1(2,"button",8),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.managePreferences())}),$c(3,"Manage Preferences"),bt$2(),mt$1(4,"button",8),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.rejectOptional())}),$c(5,"Reject Optional"),bt$2(),mt$1(6,"button",8),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.$bannerShown.set(false))}),$c(7,"Close"),bt$2();}}function ce$2(n,u){if(n&1){let e=Uc();mt$1(0,"button",7),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.acceptAll())}),$c(1,"Accept"),bt$2(),mt$1(2,"button",8),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.rejectOptional())}),$c(3,"Reject"),bt$2(),mt$1(4,"button",8),gt$1("click",function(){ks(e);let t=Mn$1(2);return Os(t.managePreferences())}),$c(5,"Manage Preferences"),bt$2();}}function se$1(n,u){if(n&1){let e=Uc();mt$1(0,"section",2),Eh(function(t){ks(e);let p=Mn$1();return Os(p.slideDownOnEnterAnimation(t))}),lw(function(t){ks(e);let p=Mn$1();return Os(p.slideUpOnLeaveAnimation(t))}),mt$1(1,"div",3)(2,"p",4),_i(3,oe$1,9,3)(4,re$1,9,3),bt$2(),mt$1(5,"div",5),_i(6,ae$1,8,0)(7,ce$2,6,0),bt$2()()();}if(n&2){let e=Mn$1();Ut$1(3),bi(e.privacy.$isHighRisk()?3:4),Ut$1(3),bi(e.privacy.$isHighRisk()?6:7);}}function le$1(n,u){if(n&1){let e=Uc();mt$1(0,"a",9),gt$1("click",function(t){ks(e);let p=Mn$1();return t.preventDefault(),Os(p.helper.showPrivacyPoliciesDialog())}),$c(1,"Privacy Policies"),bt$2();}}function me$1(n,u){if(n&1){let e=Uc();mt$1(0,"a",10),gt$1("click",function(t){ks(e);let p=Mn$1();return t.preventDefault(),Os(p.helper.showTermsOfUseDialog())}),$c(1,"Terms of Use"),bt$2();}}var Pe=(()=>{class n extends xB{constructor(){super(...arguments),this.$bannerShown=Q$6(false),this.slideDownOnEnterAnimation=h$1,this.slideUpOnLeaveAnimation=c,this.helper=h$5(ue$3),this.privacy=h$5(Uf),this.dialog=h$5(vf);}ngOnInit(){this.privacy?.$hasConsent()||(setTimeout(()=>this.$bannerShown.set(true),1e3),this.privacy.ensureConsentStateLoaded());}managePreferences(){this.dialog.open(rt$1).afterClosed().pipe(Ne$1(e=>!!e),Ke$3(()=>this.$bannerShown.set(false)),ft$2(this.unsubscribe$)).subscribe();}acceptAll(){this.privacy.acceptAll(),this.$bannerShown.set(false);}rejectOptional(){this.privacy.rejectOptional(),this.$bannerShown.set(false);}static{this.\u0275fac=(()=>{let e;return function(t){return (e||(e=_t$1(n)))(t||n)}})();}static{this.\u0275cmp=It({type:n,selectors:[["rpr-privacy-consent-banner"]],features:[Ee$2],decls:5,vars:1,consts:[["privacyPolicyLink",""],["termsOfUseLink",""],[1,"is-hidden-print"],[1,"banner"],[1,"flex-item-extended"],[1,"action-buttons"],[3,"ngTemplateOutlet"],["type","button",1,"button","is-primary",3,"click"],["type","button",1,"button","is-primary","is-outlined",3,"click"],["href","/privacy-policy",1,"is-uppercase","nowrap",3,"click"],["href","/terms-of-use",1,"is-uppercase","nowrap",3,"click"]],template:function(i,t){i&1&&(_i(0,se$1,8,2,"section",2),Pc(1,le$1,2,0,"ng-template",null,0,jq)(3,me$1,2,0,"ng-template",null,1,jq)),i&2&&bi(t.$bannerShown()?0:-1);},dependencies:[eS],styles:["[_nghost-%COMP%]{position:fixed;bottom:0;z-index:5000;width:100%;background-color:#fff}.banner[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2em;border-top:1px solid rgb(238.655982659,242.1247985136,246.244017341);box-shadow:0 8px 24px #00000026,0 4px 8px #00000026;padding:20px}.banner[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.875em;font-weight:500;line-height:1.4}.banner[_ngcontent-%COMP%] p[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.action-buttons[_ngcontent-%COMP%]{grid-auto-columns:auto}@media screen and (max-width:1169px){.action-buttons[_ngcontent-%COMP%]{grid-auto-flow:row}}@media screen and (max-width:460px){.banner[_ngcontent-%COMP%]{flex-direction:column;gap:1em}.action-buttons[_ngcontent-%COMP%]{width:100%}}"]});}}return n})();var de$2=["banner"];function pe$1(n,u){if(n&1){let e=Uc();gm(0,"button",10),kR("click",function(){ks(e);let t=Mn$1(2);return Os(t.$maintenanceMessage.set(null))}),$c(1,"Dismiss"),ym();}}function ue$1(n,u){if(n&1&&(gm(0,"article",1,0)(2,"h1",2),$c(3,"Maintenance Message"),ym(),gm(4,"div",3)(5,"div",4)(6,"div",5),_C(7,"i",6),ym(),gm(8,"div",7)(9,"div",8),$c(10,"Warning"),ym(),$c(11),ym(),_i(12,pe$1,2,0,"button",9),ym()()()),n&2){Mn$1();let e=wq(0);Ut$1(11),SC(" ",e.message," "),Ut$1(),bi(e?.isDismissable?12:-1);}}var Ve=(()=>{class n extends xB{constructor(){super(...arguments),this.$maintenanceMessage=ohe(null,{alias:"maintenanceMessage"}),this.$bannerEl=she("banner"),this.events=h$5(Xo),this.renderer=h$5(Vt$2);}ngAfterViewInit(){this.events.on(Ti.WindowResize).pipe(Br$1(0),ft$2(this.unsubscribe$)).subscribe(()=>this.updateHeight());}updateHeight(){let e=this.$bannerEl();if(!e)return;let i=e.nativeElement,t=i.querySelector(".maBannerOuter");this.renderer.setStyle(i,"height",`${t.offsetHeight}px`),this.renderer.setStyle(t,"position","fixed");}static{this.\u0275fac=(()=>{let e;return function(t){return (e||(e=_t$1(n)))(t||n)}})();}static{this.\u0275cmp=It({type:n,selectors:[["rpr-maintenance-banner"]],viewQuery:function(i,t){i&1&&LR(t.$bannerEl,de$2,5),i&2&&Yz();},inputs:{$maintenanceMessage:[1,"maintenanceMessage","$maintenanceMessage"]},outputs:{$maintenanceMessage:"maintenanceMessageChange"},features:[Ee$2],decls:2,vars:2,consts:[["banner",""],[1,"maBanner"],[1,"is-sr-only"],[1,"maBannerOuter"],[1,"container","maBannerInner","is-flex","align-items-center"],[1,"maBannerIcon","is-flex","align-items-center","justify-content-center","flex-item-no-resize"],[1,"fa-light","fa-circle-exclamation"],[1,"content","flex-item-extended"],[1,"title"],["type","button",1,"button","is-primary","is-outlined"],["type","button",1,"button","is-primary","is-outlined",3,"click"]],template:function(i,t){if(i&1&&(eA(0),_i(1,ue$1,13,2,"article",1)),i&2){let p=Dq(t.$maintenanceMessage());Ut$1(),bi(p?.message?1:-1);}},styles:[".maBanner[_ngcontent-%COMP%] .maBannerOuter[_ngcontent-%COMP%]{z-index:20;width:100%;background-color:#fffcf5;border-bottom:2px solid rgb(252.28,210.12,84.32)}.maBanner[_ngcontent-%COMP%] .maBannerIcon[_ngcontent-%COMP%]{background-color:#fcd254;color:#fff;font-size:2em;width:70px;min-height:70px;align-self:stretch}.maBanner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:10px 10px 10px 20px;color:#2b2b2b;line-height:1.3}.maBanner[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.3em;font-weight:700}@media print{.maBanner[_ngcontent-%COMP%]{display:none}}"]});}}return n})();
2400var a=class r{constructor(e){l$3(e)&&r.copyProperties(e,this);}static fromJSON(e){let t=new r;return e&&r.copyProperties(e,t),t}toJSON(){let e={};return r.copyProperties(this,e),e}static copyProperties(e,t){l$3(e.orgId)&&(t.orgId=e.orgId),l$3(e.agentId)&&(t.agentId=e.agentId),l$3(e.isPreferred)&&(t.isPreferred=e.isPreferred),l$3(e.orgName)&&(t.orgName=e.orgName),l$3(e.orgStatusType)&&(t.orgStatusType=e.orgStatusType),l$3(e.agentIdStatus)&&(t.agentIdStatus=e.agentIdStatus),l$3(e.canBeDeleted)&&(t.canBeDeleted=e.canBeDeleted),l$3(e.isAdminOverride)&&(t.isAdminOverride=e.isAdminOverride);}};var u$1=(function(i){return i[i.Unspecified=0]="Unspecified",i[i.V1=1]="V1",i[i.V2=2]="V2",i[i.V3=3]="V3",i[i.V4=4]="V4",i[i.V5=5]="V5",i[i.V6=6]="V6",i[i.Current=6]="Current",i[i.Q1_2019=20190417]="Q1_2019",i})(u$1||{});var P=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.isValid)&&(e.isValid=t.isValid),l$3(t.loginEmail)&&(e.loginEmail=t.loginEmail);}};var R=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.status)&&(e.status=t.status),l$3(t.loginEmail)&&(e.loginEmail=t.loginEmail);}};var A=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.signInStatus)&&(e.signInStatus=t.signInStatus),l$3(t.remainingAttemptCount)&&(e.remainingAttemptCount=t.remainingAttemptCount),l$3(t.isRealtorAssistantUser)&&(e.isRealtorAssistantUser=t.isRealtorAssistantUser),l$3(t.isPasswordChangeRequired)&&(e.isPasswordChangeRequired=t.isPasswordChangeRequired),l$3(t.loginEmail)&&(e.loginEmail=t.loginEmail);}};var q$1=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.nrdsId)&&(e.nrdsId=t.nrdsId),l$3(t.emailAddress)&&(e.emailAddress=t.emailAddress),l$3(t.firstName)&&(e.firstName=t.firstName),l$3(t.lastName)&&(e.lastName=t.lastName),l$3(t.orgAgentInfos)&&(e.orgAgentInfos=t.orgAgentInfos.map(o=>new a(o)));}};var k=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.status)&&(e.status=t.status),l$3(t.nrdsMember)&&(e.nrdsMember=new q$1(t.nrdsMember)),l$3(t.narMembershipLookupTip)&&(e.narMembershipLookupTip=t.narMembershipLookupTip),l$3(t.revealPasswordByDefault)&&(e.revealPasswordByDefault=t.revealPasswordByDefault);}};var E$2=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.sessionToken)&&(e.sessionToken=t.sessionToken),l$3(t.maskedPhoneNumbers)&&(e.maskedPhoneNumbers=t.maskedPhoneNumbers.slice()),l$3(t.isValidNrdsWithoutRprAccount)&&(e.isValidNrdsWithoutRprAccount=t.isValidNrdsWithoutRprAccount);}};var C$1=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.coBrandLogoUrl)&&(e.coBrandLogoUrl=t.coBrandLogoUrl),l$3(t.durationInMinutes)&&(e.durationInMinutes=t.durationInMinutes),l$3(t.durationDisplayText)&&(e.durationDisplayText=t.durationDisplayText);}};var N=class i{constructor(t){l$3(t)&&i.copyProperties(t,this);}static fromJSON(t){let e=new i;return t&&i.copyProperties(t,e),e}toJSON(){let t={};return i.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.signUpStatus)&&(e.signUpStatus=t.signUpStatus),l$3(t.actualNrdsEmailAddress)&&(e.actualNrdsEmailAddress=t.actualNrdsEmailAddress);}};var Y=(()=>{class i extends ou{constructor(){super(...arguments),this.name="Accounts",this.apiHeaders=h$5(e_),this.http=h$5(Jc),this.cacheLayer=h$5(as),this.helper=h$5(ue$3);}changeAccountEmail(e){let o=`/v${u$1.Current}/accounts/self-service/account-email`,r=[];return l$3(e.sessionToken)&&r.push("sessionToken="+encodeURIComponent(String(e.sessionToken))),l$3(e.newLoginEmail)&&r.push("newLoginEmail="+encodeURIComponent(String(e.newLoginEmail))),r.length&&(o+="?"+r.join("&")),this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}clearAuth(){let e=`/v${u$1.Current}/accounts/clear-auth`;return this.http.request("PUT",e,{body:"{}",headers:this.apiHeaders.getApiHeaders("PUT",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(r=>this.handleError(r)))}createUserAndSignInAsync(e){let o=`/v${u$1.Current}/accounts/sign-up/create-user`;return this.http.request("POST",o,{body:JSON.stringify(e.input?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(a=>a??null),k$3(a=>this.handleError(a)))}generatePasswordResetTokenAndEmailAsync(e){let o=`/v${u$1.Current}/accounts/passwords/reset-password-token`,r=[];return l$3(e.emailAddress)&&r.push("emailAddress="+encodeURIComponent(String(e.emailAddress))),r.length&&(o+="?"+r.join("&")),this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}generateResetPasswordToken(e){let o=`/v${u$1.Current}/accounts/self-service/reset-password-token`,r=[];return l$3(e.sessionToken)&&r.push("sessionToken="+encodeURIComponent(String(e.sessionToken))),r.length&&(o+="?"+r.join("&")),this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getLoadTestUserToken(e){let o=`/v${u$1.Current}/accounts/sign-in/load-test-users/tokens`,r=[];return l$3(e.loadTestType)&&r.push("loadTestType="+encodeURIComponent(String(e.loadTestType))),l$3(e.email)&&r.push("email="+encodeURIComponent(String(e.email))),l$3(e.mobileDeviceId)&&r.push("mobileDeviceId="+encodeURIComponent(String(e.mobileDeviceId))),r.length&&(o+="?"+r.join("&")),this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getPostmanUserToken(e){let o=`/v${u$1.Current}/accounts/sign-in/post-man-users/tokens`,r=[];return l$3(e.email)&&r.push("email="+encodeURIComponent(String(e.email))),l$3(e.password)&&r.push("password="+encodeURIComponent(String(e.password))),r.length&&(o+="?"+r.join("&")),this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(T$3(s=>s==null?null:JSON.parse(s)),k$3(s=>this.handleError(s)))}getSignUpTokenInfoAsync(e){let o=`/v${u$1.Current}/accounts/sign-up/sign-up-token-info`,r=[];return l$3(e.signUpToken)&&r.push("signUpToken="+encodeURIComponent(String(e.signUpToken))),r.length&&(o+="?"+r.join("&")),this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:k.fromJSON(s)),k$3(s=>this.handleError(s)))}getUserMaskedPhoneNumbers(e){let o=`/v${u$1.Current}/accounts/self-service/user-masked-phone-numbers`,r=[];return l$3(e.nrdsId)&&r.push("nrdsId="+encodeURIComponent(String(e.nrdsId))),l$3(e.lastName)&&r.push("lastName="+encodeURIComponent(String(e.lastName))),l$3(e.loginEmail)&&r.push("loginEmail="+encodeURIComponent(String(e.loginEmail))),r.length&&(o+="?"+r.join("&")),this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:E$2.fromJSON(s)),k$3(s=>this.handleError(s)))}getUserSignInInfoAsync(e){let o=`/v${u$1.Current}/accounts/sign-in/user-info`,r=[];return l$3(e.loginEmailAddress)&&r.push("loginEmailAddress="+encodeURIComponent(String(e.loginEmailAddress))),r.length&&(o+="?"+r.join("&")),this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:C$1.fromJSON(s)),k$3(s=>this.handleError(s)))}isSignedInAsync(){let e=`/v${u$1.Current}/accounts/signed-in`;return this.http.request("GET",e,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(r=>r??null),k$3(r=>this.handleError(r)))}isValidPasswordResetToken(e){if(!sr(e.token))throw new Error("token parameter is not supplied for the isValidPasswordResetToken method.");let o=`/v${u$1.Current}/accounts/passwords/token/${e.token}/validate`;return this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(a=>a??null),k$3(a=>this.handleError(a)))}resetPasswordAsync(e){let o=`/v${u$1.Current}/accounts/passwords/reset`,r=[];return l$3(e.resetPasswordToken)&&r.push("resetPasswordToken="+encodeURIComponent(String(e.resetPasswordToken))),r.length&&(o+="?"+r.join("&")),this.http.request("PUT",o,{body:JSON.stringify(e.passwords?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("PUT",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:R.fromJSON(s)),k$3(s=>this.handleError(s)))}sendAccountRecoveryTextMessage(e){let o=`/v${u$1.Current}/accounts/self-service/recovery-code-text-message`,r=[];return l$3(e.sessionToken)&&r.push("sessionToken="+encodeURIComponent(String(e.sessionToken))),l$3(e.maskedPhoneNumber)&&r.push("maskedPhoneNumber="+encodeURIComponent(String(e.maskedPhoneNumber))),r.length&&(o+="?"+r.join("&")),this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s??null),k$3(s=>this.handleError(s)))}signInAsync(e){let o=`/v${u$1.Current}/accounts/sign-in`;return this.http.request("POST",o,{body:JSON.stringify(e.model?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(a=>a==null?null:A.fromJSON(a)),k$3(a=>this.handleError(a)))}signOutAsync(e){let o=`/v${u$1.Current}/accounts/sign-out`,r=[];return l$3(e.logoutId)&&r.push("logoutId="+encodeURIComponent(String(e.logoutId))),r.length&&(o+="?"+r.join("&")),this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(s=>this.handleError(s)))}validateAccountRecoveryCode(e){let o=`/v${u$1.Current}/accounts/self-service/recovery-code-validation`,r=[];return l$3(e.sessionToken)&&r.push("sessionToken="+encodeURIComponent(String(e.sessionToken))),l$3(e.recoveryCode)&&r.push("recoveryCode="+encodeURIComponent(String(e.recoveryCode))),r.length&&(o+="?"+r.join("&")),this.http.request("GET",o,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:P.fromJSON(s)),k$3(s=>this.handleError(s)))}validateSignUpNrdsInfoAndSendEmailWithTokenAsync(e){let o=`/v${u$1.Current}/accounts/sign-up/validate-and-send-email`,r=[];return l$3(e.nrdsLastName)&&r.push("nrdsLastName="+encodeURIComponent(String(e.nrdsLastName))),l$3(e.nrdsId)&&r.push("nrdsId="+encodeURIComponent(String(e.nrdsId))),l$3(e.nrdsEmailAddress)&&r.push("nrdsEmailAddress="+encodeURIComponent(String(e.nrdsEmailAddress))),r.length&&(o+="?"+r.join("&")),this.http.request("POST",o,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(s=>s==null?null:N.fromJSON(s)),k$3(s=>this.handleError(s)))}static{this.\u0275fac=function(o){return new(o||i)};}static{this.\u0275prov=U$3({token:i,factory:i.\u0275fac});}}return i})();var je$1=(i,t)=>{if(!E$4.config?.isValid)return true;let e=h$5(Qr$1),o=h$5(ue$3),r=h$5(Se$2),a=h$5(Y),s=h$5(Uf),g=d=>{o.ignoreNextLoadingIndicatorCancelRequest=true,Ht$1.redirect(d);},f=String(t.url),w=f.indexOf("/auth/")===0,v=f.indexOf("/auth/callback")===0,m=f.indexOf("/auth/sign-out")===0,Z=f.indexOf("/help")===0,H=w||Z;
2400if(v||m){if(E$4.isAuthSite)return console.log("This page cannot be accessed from Auth website; redirecting to main site..."),E$4.name!=="devAspire"?g(`${E$4.mainSiteBaseUrl}/sign-in-oidc.aspx`):r.startAuthentication(f),false;if(v)return true}return w&&!E$4.isAuthSite&&!m?(console.log("Auth content cannot be accessed from non-auth website; redirecting to root..."),g("/"),false):!H&&E$4.isAuthSite?(console.log("Non-public content is accessed from Auth website; redirecting to main site..."),E$4.name!=="devAspire"?g(`${E$4.mainSiteBaseUrl}/sign-in-oidc.aspx`):r.startAuthentication(f),false):E$4.isAuthSite?a.isSignedInAsync().pipe(T$3(d=>d?(console.log("Already signed-in; redirecting to main site..."),E$4.name!=="devAspire"?g(`${E$4.mainSiteBaseUrl}/sign-in-oidc.aspx`):r.startAuthentication(f),false):true)):Re$1(r.setUsersFromStorageAsync(m)).pipe(T$3(()=>{if(m)return true;if(o.user)if(o.signedInUser?.isPasswordChangeRequired)console.warn("User must change password"),o.$fullPageErrorType.set(i$2.PasswordChangeRequired);else {let d=i.data&&i.data.requiredPermissions||[];d.length&&!o.hasAccessToAny(...d)&&(console.warn("No permission to access this route"),o.$fullPageErrorType.set(i$2.AccessDenied));}else {let d=qVe(i.queryParams,H$3.SsoCode),I=f.includes("/confirm-user-link");if(d&&!I){let b=new URL(f,location.origin),j=qVe(i.queryParams,H$3.OrgId);return b.searchParams.delete(H$3.SsoCode),g(te$2(`${E$4.authBaseUrl}/v${u$1.Current}/sso/challenge`,["ssoCode",d?.toUpperCase()],["orgId",j],["returnUrl",b.href])),false}if(!H)return r.startAuthentication(f),false}return true}),k$3(d=>m?N$4(true):(console.warn("authGuard > Error setting users from storage: ",d||"N/A"),o.signOutReason=rr.ErrorSigningIn,e.navigate(["/auth/sign-out"]),N$4(false))),Ft(d=>d&&!m&&o.user?s.load$().pipe(T$3(()=>d),k$3(I=>(console.warn("authGuard > Error loading privacy: ",I||"N/A"),N$4(d)))):N$4(d)))};var u=(()=>{class t{constructor(){this.sanitizer=h$5(bS);}transform(r){return this.sanitizer.bypassSecurityTrustResourceUrl(r)}static{this.\u0275fac=function(a){return new(a||t)};}static{this.\u0275pipe=En$1({name:"safe",type:t,pure:true});}}return t})();function x$1(i,y){if(i&1&&_C(0,"h2",2),i&2){let e=Mn$1();Vc("innerHTML",e.title,Js);}}var E$1=(()=>{class i extends RB{ngOnInit(){let e=this.dialogData;this.videoUrl=e.fullUrl||`https://player.vimeo.com/video/${e.videoId}?color=ffffff&autoplay=1`,this.title=e.title||"",this.dialogRef.addPanelClass(["video-dialog"]);}static{this.\u0275fac=(()=>{let e;return function(t){return (e||(e=_t$1(i)))(t||i)}})();}static{this.\u0275cmp=It({type:i,selectors:[["rpr-video-dialog"]],features:[Ee$2],decls:6,vars:4,consts:[[1,"video-container"],["aria-hidden","true",1,"fa-solid","fa-circle-xmark",3,"click"],[3,"innerHTML"],[1,"iframe-container"],["frameborder","0","allow","autoplay; fullscreen","allowfullscreen","",3,"src"]],template:function(o,t){o&1&&(gm(0,"div",0)(1,"i",1),kR("click",function(){return t.close()}),ym(),_i(2,x$1,1,1,"h2",2),gm(3,"div",3),_C(4,"iframe",4),Oq(5,"safe"),ym()()),o&2&&(Ut$1(2),bi(t.title?2:-1),Ut$1(2),Vc("src",Lq(5,2,t.videoUrl),pM));},dependencies:[u],styles:[".video-dialog .mat-mdc-dialog-surface{background-color:#3f4955;padding:15px}h2[_ngcontent-%COMP%]{font-size:2em;color:#fff;margin-bottom:10px}.video-container[_ngcontent-%COMP%]{position:relative}.video-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:absolute;top:0;right:0;font-size:23px;color:#97a7ba}.video-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer;color:#97a7ba}.iframe-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:75vw;max-width:900px;padding-top:56.25%}iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0}@media screen and (max-width:768px){.iframe-container[_ngcontent-%COMP%]{width:100%}}"]});}}return i})(); 2401var E=(()=>{class t{constructor(){this.el=h$5(me$2),this.dialog=h$5(vf),this.analytics=h$5(SB);}onClick(o){let i=this.videoId||this.el.nativeElement.getAttribute("href")||"";if(i.indexOf("http")>=0&&(i=i.split("/")[i.split("/").length-1]),!i)return;let e=this.videoTitle||this.el.nativeElement.innerText;this.analytics.trackEvent(oI.VideoLink,[sI.VideoName,e||i]),o.preventDefault(),this.dialog.open(E$1,{data:{videoId:i,title:e}});}static{this.\u0275fac=function(i){return new(i||t)};}static{this.\u0275dir=q$7({type:t,selectors:[["","rprVideoLink",""]],hostBindings:function(i,e){i&1&>$1("click",function(p){return e.onClick(p)});},inputs:{videoId:[0,"rprVideoLink","videoId"],videoTitle:"videoTitle"}});}}return t})();var Jt={duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1}}
2401,Kt=new R$3("SMOOTH_SCROLL_OPTIONS",{providedIn:"root",factory:()=>Jt});var Vt=(()=>{class e{document=h$5(se$3);_defaultOptions=h$5(Kt);onGoingAnimations=new Map;abortControllers=new Map;getElement(t,r){return typeof t=="string"?(r||this.document).querySelector(t):Mr$1(t)}cancelOngoingAnimation(t){let r=this.onGoingAnimations.get(t);r&&r.cancel(),this.cleanup(t);}cleanup(t){let r=this.abortControllers.get(t);r&&(r.abort(),this.abortControllers.delete(t)),this.onGoingAnimations.delete(t);}applyScrollToOptions(t,r){return this.cancelOngoingAnimation(t),r.duration?new Promise(o=>{let i=t.scrollLeft,n=t.scrollTop,d=r.left??i,c=r.top??n,s=`cubic-bezier(${r.easing.x1}, ${r.easing.y1}, ${r.easing.x2}, ${r.easing.y2})`,a=t.animate([],{duration:r.duration,easing:s});this.onGoingAnimations.set(t,a);let m=new AbortController;this.abortControllers.set(t,m);let O=()=>m.abort();t.addEventListener("wheel",O,{passive:true,capture:true,signal:m.signal}),t.addEventListener("touchmove",O,{passive:true,capture:true,signal:m.signal});let J=()=>{if(a.playState!=="running"||m.signal.aborted)return;let K=a.effect?.getComputedTiming().progress??1;t.scrollLeft=i+(d-i)*K,t.scrollTop=n+(c-n)*K,requestAnimationFrame(J);};requestAnimationFrame(J),a.onfinish=()=>{m.signal.aborted||(t.scrollLeft=d,t.scrollTop=c),this.cleanup(t),requestAnimationFrame(()=>{requestAnimationFrame(()=>o());});},a.oncancel=()=>{this.cleanup(t),o();},m.signal.addEventListener("abort",()=>a.cancel(),{once:true});}):(t.scrollLeft=r.left??t.scrollLeft,t.scrollTop=r.top??t.scrollTop,new Promise(o=>requestAnimationFrame(()=>o())))}scrollTo(t,r){let o=this.getElement(t),i=getComputedStyle(o).direction==="rtl",n=s$6(r$2(r$2({},this._defaultOptions),r),{left:r.left==null?i?r.end:r.start:r.left,right:r.right==null?i?r.start:r.end:r.right});return n.bottom!=null&&(n.top=o.scrollHeight-o.clientHeight-n.bottom),i?(n.left!=null&&(n.right=o.scrollWidth-o.clientWidth-n.left),n.left=n.right?-n.right:n.right):n.right!=null&&(n.left=o.scrollWidth-o.clientWidth-n.right),this.applyScrollToOptions(o,n)}scrollToElement(t,r,o={}){let i=this.getElement(t),n=this.getElement(r,i),d=getComputedStyle(i).direction==="rtl";if(!n||!i)return Promise.resolve();let c=i.getBoundingClientRect(),s=n.getBoundingClientRect(),a=s$6(r$2(r$2({},this._defaultOptions),o),{top:s.top+i.scrollTop-c.top+(o.top||0),left:o.left==null?d?o.end:o.start:o.left,right:o.right==null?d?o.start:o.end:o.right});if(o.center){let O=c.left+c.width/2,J=c.top+c.height/2,K=s.left+s.width/2,Gt=s.top+s.height/2;return a.left=K-O+i.scrollLeft,a.top=Gt-J+i.scrollTop,this.applyScrollToOptions(i,a)}if(a.bottom!=null){let O=c.height-s.height;a.top=s.top+i.scrollTop-c.top-O+(o.bottom||0);}a.left=s.left-c.left+i.scrollLeft+(a.left||0),a.right!=null&&(a.left=s.right-c.left+i.scrollLeft-c.width+(a.right||0));let m={top:a.top,left:a.left,easing:a.easing,duration:a.duration};return this.applyScrollToOptions(i,m)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ot=["*"],Zt="[_nghost-%COMP%]{position:relative;width:100%;height:100%;cursor:default;z-index:1;order:2}",te$1="[_nghost-%COMP%]{--_thumb-size-percent: var(--_fixed-thumb-size-percent, max(var(--_thumb-size-percent-raw), var(--_min-thumb-size-percent)));--_effective-thumb-ratio: calc(var(--_thumb-size-percent) / 100);--_scrollbar-thumb-transform-to-value: calc((100 / var(--_effective-thumb-ratio) - 100) * 1%);box-sizing:border-box;position:absolute;background:var(--_scrollbar-thumb-color);transition:var(--scrollbar-thumb-transition, none);border-radius:var(--scrollbar-thumb-shape, inherit);will-change:transform;animation-name:_ngcontent-%COMP%_scrollbarThumbAnimation;animation-duration:1ms;animation-timing-function:linear;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]:hover{background:var(--_scrollbar-thumb-hover-color)}[_nghost-%COMP%]:active{background:var(--_scrollbar-thumb-active-color)}@keyframes _ngcontent-%COMP%_scrollbarThumbAnimation{0%{translate:var(--_scrollbar-thumb-transform-from)}to{translate:var(--_scrollbar-thumb-transform-to)}}";function ee$1(e,l){if(e&1&&Bn$1(0,"button",2)(1,"button",3),e&2){let t=Mn$1();wd(Cq("ng-scrollbar-button ",t.cmp.buttonClass())),xn$1("disabled",!t.cmp.isVerticallyScrollable()),Ut$1(),wd(Cq("ng-scrollbar-button ",t.cmp.buttonClass())),xn$1("disabled",!t.cmp.isVerticallyScrollable());}}function re(e,l){if(e&1&&Bn$1(0,"button",2)(1,"button",3),e&2){let t=Mn$1();wd(Cq("ng-scrollbar-button ",t.cmp.buttonClass())),xn$1("disabled",!t.cmp.isHorizontallyScrollable()),Ut$1(),wd(Cq("ng-scrollbar-button ",t.cmp.buttonClass())),xn$1("disabled",!t.cmp.isHorizontallyScrollable());}}var oe="[_nghost-%COMP%]{display:block;height:var(--_scrollbar-wrapper-height);width:var(--_scrollbar-wrapper-width);position:sticky;z-index:100;opacity:var(--_scrollbar-hover-opacity);transition:var(--_scrollbar-opacity-transition);background:var(--scrollbar-container-color, transparent);border-radius:var(--scrollbar-container-shape, 0px)}.ng-scrollbar-track-wrapper[_ngcontent-%COMP%]{touch-action:none;-webkit-user-select:none;user-select:none;gap:var(--scrollbar-button-gap, 0px);inset-block-start:var(--_scrollbar-track-inset-block-start);inset-block-end:var(--_scrollbar-track-inset-block-end);inset-inline-start:var(--_scrollbar-track-inset-inline-start);inset-inline-end:var(--_scrollbar-track-inset-inline-end);transition:var(--scrollbar-track-wrapper-transition, width 60ms linear, height 60ms linear);position:absolute;overflow:hidden;display:flex;place-items:center}.track-inner[_ngcontent-%COMP%]{position:absolute;border-radius:var(--scrollbar-track-shape, 0);background:var(--scrollbar-track-color, rgba(128, 128, 128, .5))}";function ne(e,l){e&1&&Bn$1(0,"scrollbar-y");}function ie(e,l){e&1&&Bn$1(0,"scrollbar-x");}var le='[_nghost-%COMP%]{--_scrollbar-track-thickness-px: var(--scrollbar-track-thickness, 7px);--_scrollbar-container-offset-px: var(--scrollbar-container-offset, 0px);--_scrollbar-total-thickness-px: calc(var(--_scrollbar-track-thickness-px) + var(--_scrollbar-container-offset-px) * 2);--_scrollbar-thumb-min-size: var(--scrollbar-thumb-min-size, 20);position:relative!important;box-sizing:border-box!important;padding:0!important;-webkit-overflow-scrolling:touch;will-change:scroll-position;scrollbar-width:none!important}[_nghost-%COMP%] >.ng-scroll-spacer{position:absolute;inset-block-start:0;inset-inline-start:0;width:calc(var(--_spacer-width) * 1px);height:calc(var(--_spacer-height) * 1px);min-width:100%;min-height:100%}[_nghost-%COMP%]{--_viewport-overflow: auto;--_scrollbar-content-width: fit-content;overflow:var(--_viewport-overflow)}[orientation=vertical][_nghost-%COMP%]{--_viewport-overflow: hidden auto;--_scrollbar-content-width: unset}[orientation=horizontal][_nghost-%COMP%]{--_viewport-overflow: auto hidden}[_nghost-%COMP%]{--_vertical-inset-block-start: var(--_scrollbar-container-offset-px);--_vertical-inset-block-end: var(--_scrollbar-container-offset-px);--_horizontal-inline-start: var(--_scrollbar-container-offset-px);--_horizontal-inline-end: var(--_scrollbar-container-offset-px);--_scrollbar-grid-template: ". scrollbar-y" 1fr "scrollbar-x ." auto / 1fr auto;--_scrollbar-wrapper-y-start: initial;--_scrollbar-wrapper-y-end: 0;--_scrollbar-wrapper-x-top: initial;--_scrollbar-wrapper-x-bottom: 0}[position=invertY][_nghost-%COMP%]{--_scrollbar-grid-template: "scrollbar-y ." 1fr ". scrollbar-x" auto / auto 1fr}[position=invertX][_nghost-%COMP%]{--_scrollbar-grid-template: "scrollbar-x ." auto ". scrollbar-y" 1fr / 1fr auto}[position=invertAll][_nghost-%COMP%]{--_scrollbar-grid-template: ". scrollbar-x" auto "scrollbar-y ." 1fr / auto 1fr }[_nghost-%COMP%]{--_horizontal-block-start: initial;--_horizontal-block-end: var(--_scrollbar-container-offset-px)}[_nghost-%COMP%]:is([position=invertX],[position=invertAll]){--_horizontal-block-start: var(--_scrollbar-container-offset-px);--_horizontal-block-end: initial;--_scrollbar-wrapper-x-top: 0;--_scrollbar-wrapper-x-bottom: initial}[_nghost-%COMP%]{--_vertical-inset-inline-end: var(--_scrollbar-container-offset-px);--_vertical-inset-inline-start: initial}[_nghost-%COMP%]:is([position=invertY],[position=invertAll]){--_vertical-inset-inline-start: var(--_scrollbar-container-offset-px);--_vertical-inset-inline-end: initial;--_scrollbar-wrapper-y-start: 0;--_scrollbar-wrapper-y-end: initial}[verticalUsed=true][horizontalUsed=true][_nghost-%COMP%]{--_scrollbar-thickness-margin-px: calc(var(--_scrollbar-track-thickness-px) + var(--_scrollbar-container-offset-px) * 3)}[horizontalUsed=true][_nghost-%COMP%]{--_vertical-inset-block-start: var(--_scrollbar-container-offset-px);--_vertical-inset-block-end: var(--_scrollbar-thickness-margin-px)}[horizontalUsed=true][_nghost-%COMP%]:is([position=invertX],[position=invertAll]){--_vertical-inset-block-start: var(--_scrollbar-thickness-margin-px);--_vertical-inset-block-end: var(--_scrollbar-container-offset-px)}[verticalUsed=true][_nghost-%COMP%]{--_horizontal-inline-start: var(--_scrollbar-container-offset-px);--_horizontal-inline-end: var(--_scrollbar-thickness-margin-px)}[verticalUsed=true][_nghost-%COMP%]:is([position=invertY],[position=invertAll]){--_horizontal-inline-start: var(--_scrollbar-thickness-margin-px);--_horizontal-inline-end: var(--_scrollbar-container-offset-px)}[_nghost-%COMP%]{--_viewport-padding-block-start: 0;--_viewport-padding-block-end: 0;--_viewport-padding-inline-start: 0;--_viewport-padding-inline-end: 0}[appearance=native][verticalUsed=true][_nghost-%COMP%]{--_viewport-padding-inline-start: 0;--_viewport-padding-inline-end: var(--_scrollbar-total-thickness-px)}[appearance=native][verticalUsed=true][_nghost-%COMP%]:is([position=invertY],[position=invertAll]){--_viewport-padding-inline-start: var(--_scrollbar-total-thickness-px);--_viewport-padding-inline-end: 0}[appearance=native][horizontalUsed=true][_nghost-%COMP%]{--_viewport-padding-block-start: 0;--_viewport-padding-block-end: var(--_scrollbar-total-thickness-px)}[appearance=native][horizontalUsed=true][_nghost-%COMP%]:is([position=invertX],[position=invertAll]){--_viewport-padding-block-start: var(--_scrollbar-total-thickness-px);--_viewport-padding-block-end: 0}[_nghost-%COMP%]{--_horizontal-thumb-display: block;--_vertical-thumb-display: block}[isVerticallyScrollable=false][_nghost-%COMP%]{--_vertical-thumb-display: none}[isHorizontallyScrollable=false][_nghost-%COMP%]{--_horizontal-thumb-display: none}
2401[visibility=hover][_nghost-%COMP%]{--_scrollbar-hover-opacity: 0;--_scrollbar-opacity-transition: opacity var(--scrollbar-hover-opacity-transition-leave-duration, .4s) var(--scrollbar-hover-opacity-transition-leave-delay, 1s)}[visibility=hover][scrolling=true][_nghost-%COMP%], [visibility=hover][_nghost-%COMP%]:hover, [visibility=hover][_nghost-%COMP%]:active, [visibility=hover][_nghost-%COMP%]:focus{--_scrollbar-hover-opacity: 1;--_scrollbar-opacity-transition: opacity var(--scrollbar-hover-opacity-transition-enter-duration, 0)}[_nghost-%COMP%]{--_viewport_scroll-timeline: unset;--_animation-timeline-y: unset;--_scrollbar-thumb-transform-from: unset;--_scrollbar-thumb-transform-to: unset}[verticalUsed=true][_nghost-%COMP%]{--_timeline-scope: --scrollerY;--_animation-timeline-y: --scrollerY;--_viewport_scroll-timeline: --scrollerY y}[horizontalUsed=true][_nghost-%COMP%]{--_timeline-scope: --scrollerX;--_animation-timeline-x: --scrollerX;--_viewport_scroll-timeline: --scrollerX x}[verticalUsed=true][horizontalUsed=true][_nghost-%COMP%]{--_timeline-scope: --scrollerX, --scrollerY;--_viewport_scroll-timeline: --scrollerX x, --scrollerY y}[_nghost-%COMP%]{scroll-timeline:var(--_viewport_scroll-timeline);--_scrollbar-hover-thickness-px: var(--scrollbar-track-hover-thickness, var(--_scrollbar-track-thickness-px));--_scrollbar-active-thickness-px: var(--scrollbar-track-active-thickness, var(--_scrollbar-hover-thickness-px));--_track-y-thickness-px: var(--_scrollbar-track-thickness-px);--_track-x-thickness-px: var(--_scrollbar-track-thickness-px);-webkit-user-select:var(--_viewport-user-select);user-select:var(--_viewport-user-select)}[dragging=x][_nghost-%COMP%], [dragging=y][_nghost-%COMP%]{--_viewport-user-select: none}[dragging=x][_nghost-%COMP%]{--_track-x-thickness-px: var(--_scrollbar-active-thickness-px)}[dragging=y][_nghost-%COMP%]{--_track-y-thickness-px: var(--_scrollbar-active-thickness-px)}[_nghost-%COMP%]{overscroll-behavior:var(--scrollbar-overscroll-behavior, initial)}[mobile=true][_nghost-%COMP%]{overscroll-behavior:var(--scrollbar-mobile-overscroll-behavior, none)}[_nghost-%COMP%]{--_viewport-pointer-events: auto;--_scrollbar-y-pointer-events: auto;--_scrollbar-x-pointer-events: auto;pointer-events:var(--_viewport-pointer-events)}[disableInteraction=true][_nghost-%COMP%]{--_viewport-pointer-events: none;--_scrollbar-y-pointer-events: none;--_scrollbar-x-pointer-events: none}[isVerticallyScrollable=false][_nghost-%COMP%]{--_scrollbar-y-pointer-events: none}[isHorizontallyScrollable=false][_nghost-%COMP%]{--_scrollbar-x-pointer-events: none}[_nghost-%COMP%]{--_scrollbar-thumb-color: var(--scrollbar-thumb-color, #1e90ff);--_scrollbar-thumb-hover-color: var(--scrollbar-thumb-hover-color, var(--_scrollbar-thumb-color));--_scrollbar-thumb-active-color: var(--scrollbar-thumb-active-color, var(--_scrollbar-thumb-hover-color));--_scrollbar-button-color: var(--scrollbar-button-color, transparent);--_scrollbar-button-hover-color: var(--scrollbar-button-hover-color, var(--_scrollbar-button-color));--_scrollbar-button-active-color: var(--scrollbar-button-active-color, var(--_scrollbar-button-hover-color));--_scrollbar-button-inactive-color: var(--scrollbar-button-inactive-color, color-mix(in srgb, var(--_scrollbar-button-color), #000 35%));--_scrollbar-button-fill: var(--scrollbar-button-fill, var(--_scrollbar-thumb-color));--_scrollbar-button-hover-fill: var(--scrollbar-button-hover-fill, var(--_scrollbar-thumb-hover-color));--_scrollbar-button-active-fill: var(--scrollbar-button-active-fill, var(--_scrollbar-thumb-active-color));--_scrollbar-button-inactive-fill: var(--scrollbar-button-inactive-fill, color-mix(in srgb, var(--_scrollbar-button-fill), #000 35%))}@layer default{[_nghost-%COMP%]{display:block;max-height:100%;max-width:100%}}',X$1=[];function ae(e){let l=e.getSelection();if(X$1=[],!!l?.rangeCount)for(let t=0;t<l.rangeCount;t++)X$1.push(l.getRangeAt(t).cloneRange());}function se(e){if(!X$1?.length)return;let l=e.getSelection();l.removeAllRanges(),X$1.forEach(t=>l.addRange(t)),X$1=[];}function vt(e){return Ke$3(()=>{ae(e),e.getSelection()?.removeAllRanges(),e.onselectstart=()=>false;})}function ut(e){return Ke$3(()=>{se(e),e.onselectstart=null;})}function $(){return Ke$3(e=>e.stopPropagation())}function ce$1(e,l){return l?e.pipe(fb(l,null,{leading:false,trailing:true})):e}var Ut=(function(e){return e.Viewport="ng-scroll-viewport",e.Content="ng-scroll-content",e.Spacer="ng-scroll-spacer",e})(Ut||{}),Lt={trackClass:"",thumbClass:"",buttonClass:"",orientation:"auto",appearance:"native",visibility:"native",position:"native",trackScrollDuration:50,sensorThrottleTime:0,disableSensor:false,disableInteraction:false,withButtons:false,hoverOffset:false,scrollHideDelay:400,scrollThrottleTime:200},pe="https://cdn.jsdelivr.net/gh/MurhafSousli/[email protected]/projects/ngx-scrollbar/src/assets/scroll-timeline-polyfill.js",bt=(function(e){return e.AfterInit="AfterInit",e.Resized="ResizeObserver",e})(bt||{}),Ht=new R$3("NG_SCROLLBAR_OPTIONS",{providedIn:"root",factory:()=>Lt}),he=new R$3("NG_SCROLLBAR_POLYFILL",{providedIn:"root",factory:()=>pe}),de$1=(()=>{class e{options=h$5(Ht);orientation=Cm(this.options.orientation);visibility=Cm(this.options.visibility);withButtons=Cm(this.options.withButtons,{transform:He});disableInteraction=Cm(this.options.disableInteraction,{transform:He});disableSensor=Cm(this.options.disableSensor,{transform:He});sensorThrottleTime=Cm(this.options.sensorThrottleTime,{transform:UC});hoverOffset=Cm(this.options.hoverOffset,{transform:He});trackScrollDuration=Cm(this.options.trackScrollDuration,{transform:UC});appearance=Cm(this.options.appearance);position=Cm(this.options.position);trackClass=Cm(this.options.trackClass);thumbClass=Cm(this.options.thumbClass);buttonClass=Cm(this.options.thumbClass);afterInit=ihe();afterUpdate=ihe();static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,inputs:{orientation:[1,"orientation"],visibility:[1,"visibility"],withButtons:[1,"withButtons"],disableInteraction:[1,"disableInteraction"],disableSensor:[1,"disableSensor"],sensorThrottleTime:[1,"sensorThrottleTime"],hoverOffset:[1,"hoverOffset"],trackScrollDuration:[1,"trackScrollDuration"],appearance:[1,"appearance"],position:[1,"position"],trackClass:[1,"trackClass"],thumbClass:[1,"thumbClass"],buttonClass:[1,"buttonClass"]},outputs:{afterInit:"afterInit",afterUpdate:"afterUpdate"}})}return e})(),jt={width:0,height:0},Q=(()=>{class e extends de$1{smoothScroll=h$5(Vt);dir=h$5(co);dragging=Q$6(null);state=Et(()=>{let t=false,r=false,o=false,i=false,n=this.orientation(),d=this.visibility(),c=this.viewportDimension(),s=this.contentDimension();return (n==="auto"||n==="vertical")&&(o=s.height>c.height,t=d==="visible"||o),(n==="auto"||n==="horizontal")&&(i=s.width>c.width,r=d==="visible"||i),{verticalUsed:t,horizontalUsed:r,isVerticallyScrollable:o,isHorizontallyScrollable:i}});isVerticallyScrollable=Et(()=>this.state().isVerticallyScrollable);
2401isHorizontallyScrollable=Et(()=>this.state().isHorizontallyScrollable);verticalUsed=Et(()=>this.state().verticalUsed);horizontalUsed=Et(()=>this.state().horizontalUsed);viewportDimension=Q$6(jt);contentDimension=Q$6(jt);viewportElement;contentWrapperElement;initialized=Q$6(false);get clientHeight(){return this.viewportElement.clientHeight}get clientWidth(){return this.viewportElement.clientWidth}get scrollTop(){return this.viewportElement.scrollTop}get scrollLeft(){return this.viewportElement.scrollLeft}get contentHeight(){return this.contentWrapperElement.clientHeight}get contentWidth(){return this.contentWrapperElement.clientWidth}get scrollMaxX(){return this.contentWidth-this.clientWidth}get scrollMaxY(){return this.contentHeight-this.clientHeight}init(t,r,o){this.viewportElement=t,o?(o.classList.add(Ut.Spacer),this.contentWrapperElement=o):this.contentWrapperElement=r,this.initialized.set(true);}reset(){this.viewportElement=null,this.contentWrapperElement=null,this.initialized.set(false);}scrollYTo(t){this.viewportElement.scrollTop=t;}scrollXTo(t){this.viewportElement.scrollLeft=t;}scrollTo(t){return this.smoothScroll.scrollTo(this.viewportElement,t)}scrollToElement(t,r){return this.smoothScroll.scrollToElement(this.viewportElement,t,r)}static \u0275fac=(()=>{let t;return function(o){return (t||(t=_t$1(e)))(o||e)}})();static \u0275dir=q$7({type:e,features:[Ee$2]})}return e})(),dt=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["ng-scroll-content"]],hostVars:2,hostBindings:function(r,o){r&2&&wt("ng-scroll-content",true);},ngContentSelectors:ot,decls:1,vars:0,template:function(r,o){r&1&&(jc(),Hc(0));},styles:["[_nghost-%COMP%]{box-sizing:border-box;width:var(--_scrollbar-content-width);z-index:1;min-width:100%;min-height:100%;padding-block-start:var(--_viewport-padding-block-start, 0);padding-block-end:var(--_viewport-padding-block-end, 0);padding-inline-start:var(--_viewport-padding-inline-start, 0);padding-inline-end:var(--_viewport-padding-inline-end, 0)}@layer default{[_nghost-%COMP%]{position:relative}[_nghost-%COMP%]:not(table){display:flow-root}}"]})}return e})(),ft=new R$3("SCROLLBAR_CONTROL"),Yt=(()=>{class e{cmp=h$5(Q);static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,hostVars:4,hostBindings:function(r,o){r&2&&wt("ng-scrollbar-sticky",true)("ng-scrollbar-hover",o.cmp.hoverOffset());}})}return e})(),Xt=(()=>{class e{_polyfillUrl=h$5(he);document=h$5(se$3);window=this.document.defaultView;scrollTimelinePolyfill=Q$6(null);constructor(){In$1({earlyRead:()=>{(!this.window.ScrollTimeline||!CSS.supports("animation-timeline","scroll()"))&&this.initPolyfill();}});}async initPolyfill(){try{let t=this.document.createElement("script");t.src=this._polyfillUrl,t.async=!0,await new Promise((r,o)=>{t.onload=r,t.onerror=o,this.document.head.appendChild(t);}),this.window.ScrollTimeline?this.scrollTimelinePolyfill.set(this.window.ScrollTimeline):console.error("[NgScrollbar]: Polyfill script loaded but ScrollTimeline not found.");}catch(t){console.error("[NgScrollbar]: Error loading ScrollTimeline script:",t);}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=K$5({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),q=class{adapter=h$5(Q);control=h$5(ft);document=h$5(se$3);nativeElement=h$5(me$2).nativeElement;_pointerEventsSub;constructor(){qi(l=>{let t=this.adapter.disableInteraction();_e$2(()=>{t||(this._pointerEventsSub=this.pointerEvents.subscribe()),l(()=>this._pointerEventsSub?.unsubscribe());});});}},G=(()=>{class e extends q{pointerOut$=_u(this.nativeElement,"pointerout",{passive:true});currMousePosition;scrollDirection;scrollMax;get viewportSize(){return this.adapter[this.control.sizeProperty]}get clientRect(){return this.nativeElement.getBoundingClientRect()}get offset(){return this.clientRect[this.control.rectOffsetProperty]}get size(){return this.nativeElement[this.control.sizeProperty]}get pointerEvents(){let t=_u(this.nativeElement,"pointerdown").pipe($(),vt(this.document)),r=_u(this.document,"pointerup",{passive:true}).pipe(ut(this.document)),o=_u(this.nativeElement,"pointerover",{passive:true}).pipe(Ke$3(n=>this.currMousePosition=this.getPointerPosition(n)),Br$1({})),i=_u(this.nativeElement,"pointermove",{passive:true}).pipe(Ke$3(n=>this.currMousePosition=this.getPointerPosition(n)));return t.pipe(en$1(n=>(i.pipe(ft$2(r)).subscribe(),this.onTrackFirstClick(n).pipe(Ep(200),en$1(()=>o.pipe(Ne$1(()=>this.scrollDirection===this.getScrollDirection(this.currMousePosition)),en$1(()=>this.onTrackOngoingMousedown()))),ft$2(r)))))}constructor(){super();}getPointerPosition(t){return t[this.control.clientProperty]-this.offset}onTrackFirstClick(t){return this.currMousePosition=this.getPointerPosition(t),this.scrollDirection=this.getScrollDirection(this.currMousePosition),this.scrollMax=this.control.viewportScrollMax,this.scrollTo(this.nextStep())}nextStep(){if(this.scrollDirection==="forward"){let r=this.getScrollForwardStep();return r>=this.scrollMax?this.scrollMax:r}let t=this.getScrollBackwardStep();return t<=0?0:t}onTrackOngoingMousedown(){let t=this.nextStep();return this.scrollTo(t).pipe(ft$2(this.pointerOut$),kp(()=>!this.isReachedByOffset()),en$1(()=>this.onTrackOngoingMousedown()))}isReachedByOffset(){return this.scrollDirection==="forward"?this.control.viewportScrollOffset>=this.scrollMax:this.control.viewportScrollOffset<=0}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,features:[Ee$2]})}return e})(),be=(()=>{class e extends G{get contentSize(){return this.adapter.contentHeight}getThumbStartPosition(){return this.control.viewportScrollOffset*this.size/this.contentSize}getThumbEndPosition(){return (this.control.viewportScrollOffset+this.viewportSize)*this.size/this.contentSize}getScrollDirection(t){return t>this.getThumbEndPosition()?"forward":t<this.getThumbStartPosition()?"backward":null}scrollTo(t){return Re$1(this.adapter.scrollTo({top:t,duration:this.adapter.trackScrollDuration()}))}getScrollForwardStep(){return this.control.viewportScrollOffset+this.viewportSize}getScrollBackwardStep(){return this.control.viewportScrollOffset-this.viewportSize}static \u0275fac=(()=>{let t;return function(o){return (t||(t=_t$1(e)))(o||e)}})();static \u0275cmp=It({type:e,selectors:[["scrollbar-track-y"]],features:[At([{provide:G,useExisting:e}]),Ee$2],ngContentSelectors:ot,decls:1,vars:0,template:function(r,o){r&1&&(jc(),Hc(0));},styles:["[_nghost-%COMP%]{position:relative;width:100%;height:100%;cursor:default;z-index:1;order:2}"]})}return e})(),ve$1=(()=>{class e extends G{get contentSize(){return this.adapter.contentWidth}getThumbStartPosition;getThumbEndPosition;getScrollDirection;constructor(){qi(()=>{this.adapter.dir.valueSignal()==="rtl"?(this.getThumbStartPosition=()=>(this.contentSize-this.viewportSize-this.control.viewportScrollOffset)*this.size/this.contentSize,this.getThumbEndPosition=()=>(this.contentSize-this.control.viewportScrollOffset)*this.size/this.contentSize,this.get
2401ScrollDirection=t=>t<this.getThumbStartPosition()?"forward":t>this.getThumbEndPosition()?"backward":null):(this.getThumbStartPosition=()=>this.control.viewportScrollOffset*this.size/this.contentSize,this.getThumbEndPosition=()=>(this.control.viewportScrollOffset+this.viewportSize)*this.size/this.contentSize,this.getScrollDirection=t=>t>this.getThumbEndPosition()?"forward":t<this.getThumbStartPosition()?"backward":null);}),super();}scrollTo(t){return Re$1(this.adapter.scrollTo({start:t,duration:this.adapter.trackScrollDuration()}))}getScrollForwardStep(){return this.control.viewportScrollOffset+this.viewportSize}getScrollBackwardStep(){return this.control.viewportScrollOffset-this.viewportSize}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["scrollbar-track-x"]],features:[At([{provide:G,useExisting:e}]),Ee$2],ngContentSelectors:ot,decls:1,vars:0,template:function(r,o){r&1&&(jc(),Hc(0));},styles:[Zt]})}return e})(),rt=(()=>{class e extends q{manager=h$5(Xt);track=h$5(G);_animation;get size(){return this.nativeElement.getBoundingClientRect()[this.control.rectSizeProperty]}get trackMax(){return this.track.size-this.size}get pointerEvents(){return _u(this.nativeElement,"pointerdown").pipe($(),vt(this.document),en$1(t=>{let r,o,i=N$4(t).pipe(Ke$3(()=>{r=this.trackMax,o=this.control.viewportScrollMax,this.adapter.dragging.set(this.control.axis);})),n=_u(this.document,"pointermove").pipe($()),d=_u(this.document,"pointerup",{capture:true}).pipe($(),ut(this.document),Ke$3(()=>this.adapter.dragging.set(null)));return i.pipe(T$3(c=>c[this.control.offsetProperty]),en$1(c=>n.pipe(T$3(s=>s[this.control.clientProperty]),T$3(s=>s-this.track.offset),T$3(s=>o*(s-c)/r),Ke$3(s=>this.control.instantScrollTo(s,o)),ft$2(d))))}))}constructor(){uhe({earlyRead:()=>{let t=this.manager.scrollTimelinePolyfill();_e$2(()=>{t&&!this._animation&&(this._animation=ue(t,this.nativeElement,this.adapter.viewportElement,this.control.axis));});}}),super();}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,features:[Ee$2]})}return e})();function ue(e,l,t,r){return l.animate({translate:["var(--_scrollbar-thumb-transform-from)","var(--_scrollbar-thumb-transform-to)"]},{fill:"both",easing:"linear",timeline:new e({source:t,axis:r})})}var fe=(()=>{class e extends rt{static \u0275fac=(()=>{let t;return function(o){return (t||(t=_t$1(e)))(o||e)}})();static \u0275cmp=It({type:e,selectors:[["scrollbar-thumb-y"]],features:[At([{provide:rt,useExisting:e}]),Ee$2],decls:0,vars:0,template:function(r,o){},styles:["[_nghost-%COMP%]{--_thumb-size-percent: var(--_fixed-thumb-size-percent, max(var(--_thumb-size-percent-raw), var(--_min-thumb-size-percent)));--_effective-thumb-ratio: calc(var(--_thumb-size-percent) / 100);--_scrollbar-thumb-transform-to-value: calc((100 / var(--_effective-thumb-ratio) - 100) * 1%);box-sizing:border-box;position:absolute;background:var(--_scrollbar-thumb-color);transition:var(--scrollbar-thumb-transition, none);border-radius:var(--scrollbar-thumb-shape, inherit);will-change:transform;animation-name:_ngcontent-%COMP%_scrollbarThumbAnimation;animation-duration:1ms;animation-timing-function:linear;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]:hover{background:var(--_scrollbar-thumb-hover-color)}[_nghost-%COMP%]:active{background:var(--_scrollbar-thumb-active-color)}@keyframes _ngcontent-%COMP%_scrollbarThumbAnimation{0%{translate:var(--_scrollbar-thumb-transform-from)}to{translate:var(--_scrollbar-thumb-transform-to)}}","[_nghost-%COMP%]{animation-timeline:var(--_animation-timeline-y);display:var(--_vertical-thumb-display);height:calc(var(--_thumb-size-percent) * 1%);width:100%;--_thumb-size-percent-raw: calc(var(--viewport-height) / var(--content-height) * 100);--_min-thumb-size-percent: calc(var(--_scrollbar-thumb-min-size) / var(--viewport-height) * 100);--_fixed-thumb-size-percent: calc(var(--scrollbar-thumb-size) / var(--viewport-height) * 100);--_scrollbar-thumb-transform-from: 0 0;--_scrollbar-thumb-transform-to: 0 var(--_scrollbar-thumb-transform-to-value)}"]})}return e})(),ge=(()=>{class e extends rt{static \u0275fac=(()=>{let t;return function(o){return (t||(t=_t$1(e)))(o||e)}})();static \u0275cmp=It({type:e,selectors:[["scrollbar-thumb-x"]],features:[At([{provide:rt,useExisting:e}]),Ee$2],decls:0,vars:0,template:function(r,o){},styles:[te$1,"[_nghost-%COMP%]{animation-timeline:var(--_animation-timeline-x);display:var(--_horizontal-thumb-display);height:100%;width:calc(var(--_thumb-size-percent) * 1%);--_thumb-size-percent-raw: calc(var(--viewport-width) / var(--content-width) * 100);--_min-thumb-size-percent: calc(var(--_scrollbar-thumb-min-size) / var(--viewport-width) * 100);--_fixed-thumb-size-percent: calc(var(--scrollbar-thumb-size) / var(--viewport-width) * 100);--_scrollbar-thumb-transform-from: 0;--_scrollbar-thumb-transform-to: var(--_scrollbar-thumb-transform-to-value)}[dir=rtl][_nghost-%COMP%]{animation-name:_ngcontent-%COMP%_scrollbarThumbRTLAnimation;will-change:right;--_scrollbar-thumb-transform-to: calc(var(--_scrollbar-thumb-transform-to-value) * -1)}@keyframes _ngcontent-%COMP%_scrollbarThumbRTLAnimation{0%{right:var(--_scrollbar-thumb-transform-from)}to{right:calc((var(--_effective-thumb-ratio) - 100 + var(--_effective-thumb-ratio) * 100) * -1%)}}"]})}return e})(),me={forward:(e,l)=>e<l,backward:e=>e>0},$t={forward:(e,l)=>l+e,backward:(e,l)=>l-e},_e$1={rtl:{forward:(e,l,t)=>t-l-e,backward:(e,l,t)=>t-l+e},ltr:$t},qt=(()=>{class e extends q{scrollbarButton=Cm.required();scrollDirection=Cm.required();afterFirstClickDelay=120;firstClickDuration=100;scrollBy=50;onGoingScrollBy=12;nextStep;canScroll;get pointerEvents(){let t=_u(this.nativeElement,"pointerdown").pipe($(),vt(this.document)),r=_u(this.document,"pointerup",{passive:true}).pipe(ut(this.document)),o=_u(this.nativeElement,"pointerleave",{passive:true}),i=lb(r,o);return t.pipe(en$1(()=>this.firstScrollStep().pipe(Ep(this.afterFirstClickDelay),en$1(()=>this.onOngoingPointerdown()),ft$2(i))))}constructor(){qi(()=>{let t=this.scrollDirection(),r=this.adapter.dir.valueSignal();_e$2(()=>{this.canScroll=me[t],this.control.axis==="x"?this.nextStep=_e$1[r][t]:this.nextStep=$t[t];});}),super();}firstScrollStep(){let t=this.nextStep(this.scrollBy,this.control.viewportScrollOffset,this.control.viewportScrollMax);return this.control.scrollTo(t,this.firstClickDuration)}onGoingScrollStep(){let t=this.control.viewportScrollMax,r=this.nextStep(this.onGoingScrollBy,this.control.viewportScrollOffset,t);this.control.instantScrollTo(r,t);}onOngoingPointerdown(){return fV(0,ST).pipe(kp(()=>this.canScroll(this.control.viewportScrollOffset,this.control.viewportScrollMax)),Ke$3(()=>this.onGoingScrollStep()))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["button","scrollbarButton",""]],inputs:{scrollbarButton:[1,"scrollbarButton"],scrollDirection:[1,"scrollDirection"]},features:[Ee$2],decls:3,vars:0,consts:[[1,"ng-scrollbar-button-icon"],["viewBox","0 0 512 512","xmlns","http://www.w3.org/2000/svg"],["d","M413.1,327.3l-1.8-2.1l-136-156.5c-4.6-5.3-11.5-8.6-19.2-8.6c-7.7,0-14.6,3.4-19.2,8.6L101,324.9l-2.3,2.6 C97,330,9
24016,333,96,336.2c0,8.7,7.4,15.8,16.6,15.8v0h286.8v0c9.2,0,16.6-7.1,16.6-15.8C416,332.9,414.9,329.8,413.1,327.3z"]],template:function(r,o){r&1&&(gm(0,"div",0),lh(),gm(1,"svg",1),_C(2,"path",2),ym()());},styles:["[_nghost-%COMP%]{position:relative;border:none;margin:0;padding:0;border-radius:var(--scrollbar-button-shape);appearance:none;background:var(--_scrollbar-button-color);flex:0 0 var(--scrollbar-button-size, var(--_scrollbar-track-thickness-px));block-size:100%}[_nghost-%COMP%] svg[_ngcontent-%COMP%]{width:100%;height:100%;fill:var(--_scrollbar-button-fill)}[_nghost-%COMP%]:hover{background:var(--_scrollbar-button-hover-color)}[_nghost-%COMP%]:hover svg[_ngcontent-%COMP%]{fill:var(--_scrollbar-button-hover-fill)}[_nghost-%COMP%]:active{background:var(--_scrollbar-button-active-color)}[_nghost-%COMP%]:active svg[_ngcontent-%COMP%]{fill:var(--_scrollbar-button-active-fill)}[_nghost-%COMP%]:disabled{background:var(--_scrollbar-button-inactive-color)}[_nghost-%COMP%]:disabled svg[_ngcontent-%COMP%]{fill:var(--_scrollbar-button-inactive-fill)}[scrollbarButton=top][_nghost-%COMP%]{--_button-rotate: var(--_button-icon-rotate-top)}[scrollbarButton=bottom][_nghost-%COMP%]{--_button-rotate: var(--_button-icon-rotate-bottom)}[scrollbarButton=start][_nghost-%COMP%]{--_button-rotate: var(--_button-icon-rotate-start)}[scrollbarButton=end][_nghost-%COMP%]{--_button-rotate: var(--_button-icon-rotate-end)}[_nghost-%COMP%]:is([scrollbarButton=top],[scrollbarButton=start]){order:1}[_nghost-%COMP%]:is([scrollbarButton=bottom],[scrollbarButton=end]){order:3}.ng-scrollbar-button-icon[_ngcontent-%COMP%]{rotate:var(--_button-rotate);display:flex;place-content:center;place-items:center;width:100%;height:100%}"]})}return e})(),we=(()=>{class e extends Yt{rectOffsetProperty="top";rectSizeProperty="height";sizeProperty="clientHeight";clientProperty="clientY";offsetProperty="offsetY";axis="y";get viewportScrollMax(){return this.cmp.scrollMaxY}get viewportScrollOffset(){return this.cmp.scrollTop}scrollTo(t,r){return Re$1(this.cmp.scrollTo({top:t,duration:r}))}instantScrollTo(t){this.cmp.scrollYTo(t);}static \u0275fac=(()=>{let t;return function(o){return (t||(t=_t$1(e)))(o||e)}})();static \u0275cmp=It({type:e,selectors:[["scrollbar-y"]],features:[At([{provide:ft,useExisting:e}]),Ee$2],decls:5,vars:9,consts:[[1,"ng-scrollbar-track-wrapper"],[1,"track-inner"],["scrollbarButton","top","scrollDirection","backward",3,"disabled"],["scrollbarButton","bottom","scrollDirection","forward",3,"disabled"]],template:function(r,o){r&1&&(mt$1(0,"div",0)(1,"scrollbar-track-y")(2,"div",1),Bn$1(3,"scrollbar-thumb-y"),bt$2()(),_i(4,ee$1,2,8),bt$2()),r&2&&(wt("ng-scrollbar-hover",!o.cmp.hoverOffset()),Ut$1(),wd(Cq("ng-scrollbar-track ",o.cmp.trackClass())),Ut$1(2),wd(Cq("ng-scrollbar-thumb ",o.cmp.thumbClass())),Ut$1(),bi(o.cmp.withButtons()?4:-1));},dependencies:[be,fe,qt],styles:["[_nghost-%COMP%]{display:block;height:var(--_scrollbar-wrapper-height);width:var(--_scrollbar-wrapper-width);position:sticky;z-index:100;opacity:var(--_scrollbar-hover-opacity);transition:var(--_scrollbar-opacity-transition);background:var(--scrollbar-container-color, transparent);border-radius:var(--scrollbar-container-shape, 0px)}.ng-scrollbar-track-wrapper[_ngcontent-%COMP%]{touch-action:none;-webkit-user-select:none;user-select:none;gap:var(--scrollbar-button-gap, 0px);inset-block-start:var(--_scrollbar-track-inset-block-start);inset-block-end:var(--_scrollbar-track-inset-block-end);inset-inline-start:var(--_scrollbar-track-inset-inline-start);inset-inline-end:var(--_scrollbar-track-inset-inline-end);transition:var(--scrollbar-track-wrapper-transition, width 60ms linear, height 60ms linear);position:absolute;overflow:hidden;display:flex;place-items:center}.track-inner[_ngcontent-%COMP%]{position:absolute;border-radius:var(--scrollbar-track-shape, 0);background:var(--scrollbar-track-color, rgba(128, 128, 128, .5))}","[_nghost-%COMP%]{--_scrollbar-wrapper-height: calc(var(--viewport-height) * 1px);--_scrollbar-wrapper-width: var(--_scrollbar-total-thickness-px);--_scrollbar-track-inset-block-start: var(--_vertical-inset-block-start);--_scrollbar-track-inset-block-end: var(--_vertical-inset-block-end);--_scrollbar-track-inset-inline-end: var(--_vertical-inset-inline-end);--_scrollbar-track-inset-inline-start: var(--_vertical-inset-inline-start);--_button-icon-rotate-top: 0deg;--_button-icon-rotate-bottom: 180deg;grid-area:scrollbar-y;pointer-events:var(--_scrollbar-y-pointer-events);inset-block-start:0;inset-block-end:0;inset-inline-start:var(--_scrollbar-wrapper-y-start);inset-inline-end:var(--_scrollbar-wrapper-y-end)}.ng-scrollbar-hover[_nghost-%COMP%]:hover, .ng-scrollbar-hover[_ngcontent-%COMP%]:hover{--_track-y-thickness-px: var(--_scrollbar-hover-thickness-px)}.ng-scrollbar-hover[_nghost-%COMP%]:active, .ng-scrollbar-hover[_ngcontent-%COMP%]:active{--_track-y-thickness-px: var(--_scrollbar-active-thickness-px)}.ng-scrollbar-track-wrapper[_ngcontent-%COMP%]{width:var(--_track-y-thickness-px);flex-direction:column}.track-inner[_ngcontent-%COMP%]{inset-inline-start:var(--scrollbar-track-offset, 0px);inset-inline-end:var(--scrollbar-track-offset, 0px);inset-block-start:0;inset-block-end:0}"]})}return e})(),ye=(()=>{class e extends Yt{manager=h$5(Xt);rectOffsetProperty="left";rectSizeProperty="width";sizeProperty="clientWidth";clientProperty="clientX";offsetProperty="offsetX";axis="x";handlePosition;get viewportScrollMax(){return this.cmp.scrollMaxX}get viewportScrollOffset(){return Math.abs(this.cmp.scrollLeft)}constructor(){qi(()=>{this.cmp.dir.valueSignal()==="rtl"?this.handlePosition=(t,r)=>-(r-t):this.handlePosition=t=>t;}),super();}scrollTo(t,r){return Re$1(this.cmp.scrollTo({left:t,duration:r}))}instantScrollTo(t,r){this.cmp.scrollXTo(this.handlePosition(t,r));}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["scrollbar-x"]],hostVars:1,hostBindings:function(r,o){r&2&&Rt("dir",o.cmp.dir.valueSignal());},features:[At([{provide:ft,useExisting:e}]),Ee$2],decls:5,vars:10,consts:[[1,"ng-scrollbar-track-wrapper"],[1,"track-inner"],["scrollbarButton","start","scrollDirection","backward",3,"disabled"],["scrollbarButton","end","scrollDirection","forward",3,"disabled"]],template:function(r,o){r&1&&(mt$1(0,"div",0)(1,"scrollbar-track-x")(2,"div",1),Bn$1(3,"scrollbar-thumb-x"),bt$2()(),_i(4,re,2,8),bt$2()),r&2&&(wt("ng-scrollbar-hover",!o.cmp.hoverOffset()),Ut$1(),wd(Cq("ng-scrollbar-track ",o.cmp.trackClass())),Ut$1(2),wd(Cq("ng-scrollbar-thumb ",o.cmp.thumbClass())),Rt("dir",o.cmp.dir.valueSignal()),Ut$1(),bi(o.cmp.withButtons()?4:-1));},dependencies:[ve$1,ge,qt],styles:[oe,"[_nghost-%COMP%]{--_scrollbar-wrapper-height: var(--_scrollbar-total-thickness-px);--_scrollbar-wrapper-width: calc(var(--viewport-width) * 1px);--_scrollbar-track-inset-block-start: var(--_horizontal-block-start);--_scrollbar-track-inset-block-end: var(--_horizontal-block-end);--_scrollbar-track-inset-inline-end: var(--_horizontal-inline-end);--_scrollbar-track-inset-inline-start: var(--_horizontal-inline-start);
2401--_button-icon-rotate-start: -90deg;--_button-icon-rotate-end: 90deg}[dir=rtl][_nghost-%COMP%]{--_button-icon-rotate-start: 90deg;--_button-icon-rotate-end: -90deg}[_nghost-%COMP%]{grid-area:scrollbar-x;pointer-events:var(--_scrollbar-x-pointer-events);inset-block-start:var(--_scrollbar-wrapper-x-top);inset-block-end:var(--_scrollbar-wrapper-x-bottom);inset-inline-start:0;inset-inline-end:0}.ng-scrollbar-hover[_nghost-%COMP%]:hover, .ng-scrollbar-hover[_ngcontent-%COMP%]:hover{--_track-x-thickness-px: var(--_scrollbar-hover-thickness-px)}.ng-scrollbar-hover[_nghost-%COMP%]:active, .ng-scrollbar-hover[_ngcontent-%COMP%]:active{--_track-x-thickness-px: var(--_scrollbar-active-thickness-px)}.ng-scrollbar-track-wrapper[_ngcontent-%COMP%]{height:var(--_track-x-thickness-px);flex-direction:row}.track-inner[_ngcontent-%COMP%]{inset-inline-start:0;inset-inline-end:0;inset-block-start:var(--scrollbar-track-offset, 0px);inset-block-end:var(--scrollbar-track-offset, 0px)}"]})}return e})(),ke=(()=>{class e{adapter=h$5(Q);static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["scrollbars"]],decls:2,vars:2,template:function(r,o){r&1&&(_i(0,ne,1,0,"scrollbar-y"),_i(1,ie,1,0,"scrollbar-x")),r&2&&(bi(o.adapter.verticalUsed()?0:-1),Ut$1(),bi(o.adapter.horizontalUsed()?1:-1));},dependencies:[ye,we],styles:["[_nghost-%COMP%]{pointer-events:none;position:absolute;inset:0;display:grid;grid-template:var(--_scrollbar-grid-template)}"]})}return e})(),Se=(()=>{class e{platform=h$5(Ct);sharedResizeObserver=h$5(O);adapter=h$5(Q);nativeElement=h$5(me$2).nativeElement;isMobile=this.platform.IOS||this.platform.ANDROID;constructor(){let t,r;uhe({earlyRead:o=>{let i=this.adapter.disableSensor(),n=this.adapter.sensorThrottleTime(),d=this.adapter.initialized();_e$2(()=>{d&&(i?requestAnimationFrame(()=>this.update(bt.AfterInit)):t=ce$1(oc([this.sharedResizeObserver.observe(this.adapter.viewportElement),this.sharedResizeObserver.observe(this.adapter.contentWrapperElement)]),n).subscribe(()=>{this.updateDimensions(),r?this.adapter.afterUpdate.emit():this.adapter.afterInit.emit(),r=true;})),o(()=>t?.unsubscribe());});}});}update(t){this.updateDimensions(),t===bt.AfterInit?this.adapter.afterInit.emit():this.adapter.afterUpdate.emit();}updateDimensions(){this.adapter.viewportDimension.set({width:this.adapter.clientWidth,height:this.adapter.clientHeight}),this.adapter.contentDimension.set({width:this.adapter.contentWidth,height:this.adapter.contentHeight});}static \u0275fac=function(r){return new(r||e)};static \u0275dir=q$7({type:e,hostVars:22,hostBindings:function(r,o){r&2&&(Rt("mobile",o.isMobile)("dir",o.adapter.dir.valueSignal())("dragging",o.adapter.dragging())("position",o.adapter.position())("appearance",o.adapter.appearance())("visibility",o.adapter.visibility())("orientation",o.adapter.orientation())("disableInteraction",o.adapter.disableInteraction())("verticalUsed",o.adapter.verticalUsed())("horizontalUsed",o.adapter.horizontalUsed())("isVerticallyScrollable",o.adapter.isVerticallyScrollable())("isHorizontallyScrollable",o.adapter.isHorizontallyScrollable()),Dd("--content-height",o.adapter.contentDimension().height)("--content-width",o.adapter.contentDimension().width)("--viewport-height",o.adapter.viewportDimension().height)("--viewport-width",o.adapter.viewportDimension().width),wt("ng-scroll-viewport",true));}})}return e})();var Qe=(()=>{class e extends Se{contentWrapper=she.required(dt,{read:me$2});contentWrapperElement=Et(()=>this.contentWrapper().nativeElement);constructor(){qi(()=>{let t=this.contentWrapperElement();_e$2(()=>{this.adapter.init(this.nativeElement,t);});}),super();}scrollTo(t){return this.adapter.scrollTo(t)}scrollToElement(t,r){return this.adapter.scrollToElement(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=It({type:e,selectors:[["ng-scrollbar",3,"externalViewport",""],["","ngScrollbar",""]],viewQuery:function(r,o){r&1&&LR(o.contentWrapper,dt,5,me$2),r&2&&Yz();},hostVars:2,hostBindings:function(r,o){r&2&&wt("ng-scrollbar",true);},exportAs:["ngScrollbar"],features:[hC([{directive:Q,inputs:["position","position","withButtons","withButtons","appearance","appearance","thumbClass","thumbClass","trackClass","trackClass","buttonClass","buttonClass","visibility","visibility","hoverOffset","hoverOffset","orientation","orientation","disableSensor","disableSensor","sensorThrottleTime","sensorThrottleTime","disableInteraction","disableInteraction","trackScrollDuration","trackScrollDuration"],outputs:["afterInit","afterInit","afterUpdate","afterUpdate"]}]),Ee$2],ngContentSelectors:ot,decls:3,vars:0,template:function(r,o){r&1&&(jc(),mt$1(0,"ng-scroll-content"),Hc(1),Bn$1(2,"scrollbars"),bt$2());},dependencies:[ke,dt],styles:[le]})}return e})();var Je$1=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Je$3({type:e});static \u0275inj=ze$2({})}return e})();function Ke$1(e){return [{provide:Ht,useValue:r$2(r$2({},Lt),e)}]} 2402var h=(()=>
2402{class a{constructor(){this.analytics=h$5(SB);}onClick(){this.event&&this.analytics.trackEvent(this.event,[this.param1name,this.param1value],[this.param2name,this.param2value],[this.param3name,this.param3value]);}static{this.\u0275fac=function(t){return new(t||a)};}static{this.\u0275dir=q$7({type:a,selectors:[["","rprGA4Event",""]],hostBindings:function(t,s){t&1&>$1("click",function(){return s.onClick()});},inputs:{event:[0,"rprGA4Event","event"],param1name:"param1name",param1value:"param1value",param2name:"param2name",param2value:"param2value",param3name:"param3name",param3value:"param3value"}});}}return a})();var V=(()=>{class r{constructor(){this.rendererFactory=h$5(cn$1),this.renderer=this.rendererFactory.createRenderer(null,null);}closest(e,o){if(!e||!o)return null;if(typeof o=="string"){if(o.includes(",")){let t=TN(o.split(",").map(i=>this.closest(e,i.trim())));return t.length?t[0]:null}return e.closest(o)}return this.closestByRef(e,this.ensureElement(o))}toggleClass(e,o,t=null){e=e&&(e.nativeElement||e),t=l$3(t)?t:!e.classList.contains(o),t?this.renderer.addClass(e,o):this.renderer.removeClass(e,o);}ensureElement(e){return e&&(e.nativeElement||e)}closestByRef(e,o){let t=e;for(;t;){if(t===o)return t;t=t.parentNode;}return null}static{this.\u0275fac=function(o){return new(o||r)};}static{this.\u0275prov=U$3({token:r,factory:r.\u0275fac});}}return r})();var X=["balloon"],ee=["*"];function te(r,oe){if(r&1&&(gm(0,"h3",3),$c(1),ym()),r&2){let e=Mn$1();Ut$1(),bm(e.title);}}var ve=(()=>{class r extends xB{constructor(){super(...arguments),this.align="auto",this.preventHide=false,this.parentSelectorToFitWithinMargin=15,this.displayAboveTargetBottomOffset=100,this.toggled=ihe(),this.$container=she("balloon"),this.$styles=Q$6(this.createDefaultStyles()),this.cd=h$5(dn$1),this.helper=h$5(ue$3),this.elementHelper=h$5(V),this.renderer=h$5(Vt$2),this.events=h$5(Xo),this.instanceId=null,this.destroyRef=h$5(at$1).onDestroy(()=>this.helper.markInstanceAsClosed(this.instanceId));}ngOnChanges(){!l$3(this.width)&&!l$3(this.right)&&!l$3(this.left)&&(this.width=350),this.isOpen&&this.show(true);}ngOnInit(){this.instanceId=`balloon_${UAe()}`,this.events.on(Ti.NavigationStart).pipe(ft$2(this.unsubscribe$)).subscribe(()=>this.hide()),this.events.on(Ti.WindowClick).pipe(Ne$1(e=>this.isOpen&&this.helper.isLastOpenedInstance(this.instanceId)&&!this.preventHide),ft$2(this.unsubscribe$)).subscribe(e=>{!this.elementHelper.closest(e.target,this.$container())&&!this.elementHelper.closest(e.target,this.targetElement)&&this.hide();}),this.events.on(Ti.WindowEscapeKeyDown).pipe(Ne$1(()=>this.isOpen&&this.helper.isLastOpenedInstance(this.instanceId)),ft$2(this.unsubscribe$)).subscribe(e=>{this.hide(),e.stopImmediatePropagation();});}show(e=false){this.isOpen&&!e||(this.helper.markInstanceAsOpened(this.instanceId),this.$styles.set(this.createDefaultStyles()),this.setShouldDisplayAboveTarget(),this.calculatePositionFromParentSelectorToFitWithin(),this.setMiscStyle(),this.applyAutoAlign(),this.setInnerStyle(),this.patchStyles({arrowDisplay:this.hideArrow||this.isAboutData||this.shouldDisplayAboveTarget?"none":null}),this.isOpen=true,this.renderer.setStyle(this.$container().nativeElement,"display","block"),this.toggled.emit(true),this.cd.markForCheck());}hide(){this.isOpen&&(this.isOpen=false,this.helper.markInstanceAsClosed(this.instanceId),setTimeout(()=>{this.isOpen||this.renderer.setStyle(this.$container().nativeElement,"display","none");},100),this.toggled.emit(false),this.cd.markForCheck());}toggle(){this.isOpen?this.hide():this.show();}createDefaultStyles(){return {containerBottomPx:null,containerLeftPercent:null,containerLeftPx:null,containerMarginLeftPx:null,containerRightPx:null,containerWidthPx:null,arrowDisplay:null,arrowLeftPercent:null,arrowLeftPx:null,arrowMarginLeftPx:null,arrowRightPx:null,innerMaxHeightPx:null,innerOverflowY:null}}patchStyles(e){this.$styles.update(o=>r$2(r$2({},o),e));}setShouldDisplayAboveTarget(){if(this.shouldDisplayAboveTarget=false,this.top)return;let e=this.elementHelper.ensureElement(this.targetElement);if(!e)return;let o=e.getBoundingClientRect(),t=this.parentSelectorToFitWithin?e?.closest(this.parentSelectorToFitWithin):null;if(t){let i=t.getBoundingClientRect();o?.bottom+this.displayAboveTargetBottomOffset>i?.bottom&&(this.shouldDisplayAboveTarget=true);}else o?.bottom+this.displayAboveTargetBottomOffset>Ht$1.window.innerHeight&&(this.shouldDisplayAboveTarget=true);}setMiscStyle(){if(this.shouldDisplayAboveTarget){let o=this.elementHelper.ensureElement(this.targetElement)?.clientHeight||15;this.patchStyles({containerBottomPx:o+10}
2402);}!l$3(this.$styles().containerLeftPx)&&!l$3(this.$styles().containerRightPx)&&this.patchStyles({containerLeftPx:this.left,containerRightPx:this.right}),l$3(this.$styles().containerLeftPx)&&l$3(this.$styles().containerRightPx)||this.patchStyles({containerWidthPx:this.width});}calculateAlign(){if(this.align!=="auto"||!l$3(this.width))return this.align;let e=this.elementHelper.ensureElement(this.targetElement);if(e&&e.getBoundingClientRect){let o=e.getBoundingClientRect();if(o){let t=Ht$1.window.innerWidth,i=o.left+o.width/2,s=(this.width+2)/2+10;if(i<s)return "right";if(t-i<s)return "left"}}return "center"}applyAutoAlign(){let e=this.calculateAlign();if(!l$3(this.$styles().containerLeftPx)&&!l$3(this.$styles().containerRightPx))switch(this.patchStyles({containerLeftPercent:50}),e){case "left":this.patchStyles({containerMarginLeftPx:(this.width+2-30)*-1});break;case "right":this.patchStyles({containerMarginLeftPx:-30});break;default:this.patchStyles({containerMarginLeftPx:(this.width+2)/2*-1});break}if(!l$3(this.arrowLeft)&&!l$3(this.arrowRight)&&!l$3(this.$styles().arrowLeftPx))switch(e){case "left":this.patchStyles({arrowLeftPercent:100,arrowMarginLeftPx:-39});break;case "right":this.patchStyles({arrowLeftPercent:0,arrowMarginLeftPx:19});break;default:this.patchStyles({arrowLeftPercent:50,arrowMarginLeftPx:-10});break}}setInnerStyle(){let e=null,o=null;if(this.limitHeightToWindow){let t=this.elementHelper.ensureElement(this.targetElement);if(t&&t.getBoundingClientRect){let i=t.getBoundingClientRect();if(i){let s=Ht$1.window.innerHeight,d=i.top+i.height+(this.hideArrow?0:20)+(this.offsetTop||0);e=s-d-30;}}o="auto";}this.patchStyles({innerMaxHeightPx:e,innerOverflowY:o});}calculatePositionFromParentSelectorToFitWithin(){if(!this.parentSelectorToFitWithin)return;let e=this.elementHelper.ensureElement(this.targetElement),o=e?.closest(this.parentSelectorToFitWithin);if(!e||!o){o||console.warn("Invalid parentSelectorToFitWithin specified: ",this.parentSelectorToFitWithin);return}let t=this.parentSelectorToFitWithinMargin,i=22,s=0,d=0,v=false,l=e;for(;!v&&l;){let P=l.offsetParent;s+=l.offsetLeft,d+=P.clientWidth-l.offsetLeft-l.clientWidth,P.contains(o)?v=true:l=l.offsetParent;}s+d>150&&this.patchStyles({containerLeftPx:(s-t)*-1,containerRightPx:(d-t)*-1,arrowLeftPx:s-t-i/2+e.clientWidth/2});}static{this.\u0275fac=(()=>{let e;return function(t){return (e||(e=_t$1(r)))(t||r)}})();}static{this.\u0275cmp=It({type:r,selectors:[["rpr-balloon"]],viewQuery:function(o,t){o&1&&LR(t.$container,X,5),o&2&&Yz();},inputs:{title:"title",message:"message",width:"width",align:"align",top:"top",left:"left",right:"right",offsetTop:"offsetTop",arrowLeft:"arrowLeft",arrowRight:"arrowRight",hideArrow:"hideArrow",removeBorder:"removeBorder",omitFontSize:"omitFontSize",customZIndex:"customZIndex",cssClass:"cssClass",targetElement:"targetElement",preventHide:"preventHide",isError:"isError",isAboutData:"isAboutData",allowOverflow:"allowOverflow",limitHeightToWindow:"limitHeightToWindow",parentSelectorToFitWithin:"parentSelectorToFitWithin",parentSelectorToFitWithinMargin:"parentSelectorToFitWithinMargin",displayAboveTargetBottomOffset:"displayAboveTargetBottomOffset"},outputs:{toggled:"toggled"},features:[Ee$2,ct$1],ngContentSelectors:ee,decls:8,vars:52,consts:[["balloon",""],[1,"arrow"],[1,"inner-balloon"],[1,"balloon-title"],[1,"balloon-content"]],template:function(o,t){if(o&1&&(jc(),gm(0,"div",null,0),_C(2,"div",1),gm(3,"div",2),_i(4,te,2,1,"h3",3),gm(5,"div",4),$c(6),Hc(7),ym()()()),o&2){let i=t.$styles();wd(`balloon ${t.cssClass||""}`),Dd("top",t.top,"px")("margin-top",t.offsetTop,"px")("z-index",t.customZIndex)("bottom",i.containerBottomPx,"px")("left",i.containerLeftPercent??void 0,"%")("left",i.containerLeftPx??void 0,"px")("margin-left",i.containerMarginLeftPx,"px")("right",i.containerRightPx,"px")("width",i.containerWidthPx,"px"),wt("bounce-in-animation",t.isOpen)("fade-out-animation-alt",!t.isOpen)("error",t.isError)("allow-overflow",t.allowOverflow)("remove-border",t.removeBorder)("omit-font-size",t.omitFontSize)("about-data-mode",t.isAboutData),Ut$1(2),Dd("display",i.arrowDisplay)("left",i.arrowLeftPercent??void 0,"%")("left",i.arrowLeftPx??t.arrowLeft??void 0,"px")("margin-left",i.arrowMarginLeftPx,"px")("right",i.arrowRightPx??t.arrowRight,"px"),wt("error",t.isError),Ut$1(),Dd("max-height",i.innerMaxHeightPx,"px")("overflow-y",i.innerOverflowY),Ut$1(),bi(t.title?4:-1),Ut$1(2),SC(" ",t.message," ");}},styles:[`.balloon{position:absolute;z-index:2004;background-color:#fff;border:1px solid rgb(195.4843352601,208.1158001652,223.1156647399);border-radius:5px;box-shadow:0 8px 24px #00000026,0 4px 8px #00000026;display:none;white-space:normal;font-weight:400;line-height:1.5}.balloon:not(.omit-font-size){font-size:15px}@media screen and (max-width:1201px){.balloon:not(.omit-font-size){font-size:13px}}@media screen and (min-width:1202px)and (max-width:1393px){.balloon:not(.omit-font-size){font-size:14px}}.balloon .arrow{position:absolute;z-index:2;top:0;bottom:auto;width:0;height:0}.balloon .arrow:after,.balloon .arrow:before{position:absolute;bottom:100%;left:50%;border:solid rgba(255,255,255,0);content:" ";height:0;width:0;pointer-events:none}.balloon .arrow:after{border-color:#fff0;border-bottom-color:#fff;border-width:10px;margin-left:0}.balloon .arrow:before{border-color:#fff0;border-bottom-color:#c3d0df;border-width:11px;margin-left:-1px}.balloon .arrow:before.error{border-bottom-color:#de4329}.balloon .arrow.error:before{border-bottom-color:#de4329}.balloon .inner-balloon{padding:15px;color:#4f6278;overflow:hidden}.balloon.allow-overflow .inner-balloon{overflow:initial}.balloon.error{border-color:#de4329}.balloon.remove-border{border:0}.balloon.site-header-mode{border-radius:8px;border-color:#dbe2ec;top:55px;font-size:16px}@media screen and (min-width:1202px)and (max-width:1393px){.balloon.site-header-mode{font-size:15px}}@media screen and (max-width:1201px){.balloon.site-header-mode{font-size:14px}}.balloon.site-header-mode{box-shadow:0 8px 24px #00000026,0 4px 8px #00000026}.balloon.site-header-mode .inner-balloon{padding:0;color:#2b2b2b;border-radius:8px;overflow:hidden}.balloon.site-header-mode.user-info-balloon.is-impersonating .user-info{background-color:#fefaf7;border-bottom-color:#eb721b}.balloon.site-header-mode.user-info-balloon.is-impersonating .impersonating-label{letter-spacing:.002em;color:#eb721b;font-weight:500;font-size:1.125em;line-height:1.75em;margin-bottom:5px}.balloon.site-header-mode .user-info{background-color:#f5f7fa;padding:9px 13px;border-bottom:2px solid #97a7ba}.balloon.site-header-mode .user-info .user-name{font-size:1.125em;font-weight:700}.balloon.site-header-mode .user-info .user-location{font-size:.875em}.balloon.site-header-mode .user-info.org-status-1{background-color:#f5fefa;border-bottom-color:#1dd781}.balloon.site-header-mode .user-info.org-status-2{background-color:#fffcf5;border-bottom-color:#fbbd04}.balloon.site-header-mode .user-info.org-status-3{background-color:#fbeae7;border-bottom-color:#de4329}.balloon.site-header-mode .user-info .org-status{width:1.5em;height:1.5em;overflow:hidden;border-radius:50%}
2402.balloon.site-header-mode .user-info .org-status.org-status-1{background-color:#1dd781}.balloon.site-header-mode .user-info .org-status.org-status-2{background-color:#fbbd04}.balloon.site-header-mode .user-info .org-status.org-status-3{background-color:#de4329}.balloon.site-header-mode .user-info .org-status.org-status-4,.balloon.site-header-mode .user-info .org-status.org-status-5{background-color:#97a7ba}.balloon.site-header-mode .user-info .org-status-descr{font-size:.75em;margin-top:5px}.balloon.site-header-mode .help-content{padding:20px}.balloon.site-header-mode .help-content h1{font-weight:700;color:#2b2b2b;margin-bottom:15px;letter-spacing:.0015em}.balloon.site-header-mode .help-content form .field{margin-bottom:0}.balloon.site-header-mode .help-content form .help{margin-top:10px}.balloon.site-header-mode .help-content form input{border-radius:8px 0 0 8px;height:2.75em}.balloon.site-header-mode .help-content form .button{border-radius:0 8px 8px 0;height:2.75em}.balloon.site-header-mode .help-content form .button i{margin-left:0}.balloon.site-header-mode .help-content .button{height:40px;border-radius:8px}.balloon.site-header-mode .help-content .button i{font-size:1.25em;margin-left:15px}.balloon.site-header-mode .help-content .support-phone{font-size:1.3125em;font-weight:700}.balloon.site-header-mode .button{box-sizing:border-box}.balloon.about-data-mode{background-color:#eff2f6;border:0;border-radius:0;box-shadow:0 8px 24px #00000026,0 4px 8px #00000026}.balloon.about-data-mode .balloon-content{color:#3f4955}.balloon.about-data-mode h1{font-size:1.5em;color:#2b2b2b;font-weight:700;margin-bottom:10px}.balloon.about-data-mode p{margin-bottom:10px}.balloon.about-data-mode p:last-child{margin-bottom:0}.balloon-options-container{margin:-5px}.balloon-options-container .button.is-text{justify-content:space-between;width:100%;color:#3f4955;font-weight:400;padding-left:.625em;padding-right:.625em}.balloon-options-container .button.is-text:hover{color:#3f4955;background-color:#f5f7fa}.balloon-options-container .button.is-text:disabled,.balloon-options-container .button.is-text.disabled{color:#c3d0df}.balloon-options-container hr{margin:0;height:1px;background-color:#dbe2ec} 2403`],encapsulation:2});}}return r})();function v(n,z){if(n&1){let e=Uc();gm(0,"section"),Th(function(){ks(e);let t=Mn$1();return Os(t.$isInline()||!t.$viewInitialized()?null:"fade-out-animation")}),Ih(function(){ks(e);let t=Mn$1();return Os(t.$isInline()||!t.$viewInitialized()?null:"fade-in-animation")}),_C(1,"i",1),ym();}if(n&2){let e=Mn$1();wd(`loading is-hidden-print ${e.$containerCssClass()||""}`),Dd("z-index",e.$omitZIndex()?null:e.$zIndex()),wt("loading-inline",e.$isInline())("loading-absolute",!e.$isInline())("is-small",e.$isSmall())("no-z-index",e.$omitZIndex()||e.$zIndex()||e.$zIndex()===0)("no-gradient",e.$omitGradient());}}var M=(()=>{class n{constructor(){this.$enabled=Cm(false,{alias:"enabled"}),this.$isInline=Cm(false,{alias:"isInline"}),this.$isSmall=Cm(true,{alias:"isSmall"}),this.$omitZIndex=Cm(false,{alias:"omitZIndex"}),this.$zIndex=Cm(null,{alias:"zIndex"}),this.$omitGradient=Cm(false,{alias:"omitGradient"}),this.$containerCssClass=Cm(null,{alias:"containerCssClass"}),this.$fadeOutOnly=Cm(false,{alias:"fadeOutOnly"}),this.$viewInitialized=Q$6(false);}ngAfterViewInit(){setTimeout(()=>this.$viewInitialized.set(true));}static{this.\u0275fac=function(a){return new(a||n)};}static{this.\u0275cmp=It({type:n,selectors:[["rpr-loading-indicator"]],inputs:{$enabled:[1,"enabled","$enabled"],$isInline:[1,"isInline","$isInline"],$isSmall:[1,"isSmall","$isSmall"],$omitZIndex:[1,"omitZIndex","$omitZIndex"],$zIndex:[1,"zIndex","$zIndex"],$omitGradient:[1,"omitGradient","$omitGradient"],$containerCssClass:[1,"containerCssClass","$containerCssClass"],$fadeOutOnly:[1,"fadeOutOnly","$fadeOutOnly"]},decls:1,vars:1,consts:[[3,"class","loading-inline","loading-absolute","is-small","no-z-index","no-gradient","zIndex"],["aria-hidden","true",1,"loading-indicator","fa-regular","fa-spinner","fa-spin"]],template:function(a,t){a&1&&_i(0,v,2,14,"section",0),a&2&&bi(t.$enabled()?0:-1);},encapsulation:2});}}return n})();function x(t,f){if(t&1&&(gm(0,"div",3),$c(1),ym()),t&2){let i=Mn$1();Ut$1(),bm(i.$text());}}var C=(()=>{class t{constructor(){this.$text=Cm(null,{alias:"text"});}static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275cmp=It({type:t,selectors:[["rpr-full-page-loading-indicator"]],inputs:{$text:[1,"text","$text"]},decls:4,vars:1,consts:[[1,"container"],[1,"loading"],["aria-hidden","true",1,"loading-indicator","fa-regular","fa-spinner","fa-spin"],[1,"loading-text"]],template:function(e,g){e&1&&(gm(0,"section",0)(1,"div",1),_C(2,"i",2),_i(3,x,2,1,"div",3),ym()()),e&2&&(Ut$1(3),bi(g.$text()?3:-1));},encapsulation:2});}}return t})();var gr=(()=>
2403{class r{constructor(){this.events=h$5(Xo);}start(){let e={1:Ti.EverySecond,5:Ti.EveryFiveSeconds,10:Ti.EveryTenSeconds,60:Ti.EverySixtySeconds,600:Ti.EveryTenMinutes},i=600,n=0;return setInterval(()=>{n+=1,n>i&&(n=0);let c=[];for(let p in e)if(e.hasOwnProperty(p)){let P=+p;n%+P===0&&this.events.has(e[P])&&c.push(e[P]);}c.forEach(p=>this.events.fire(p));},1e3)}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=U$3({token:r,factory:r.\u0275fac});}}return r})();var fr=(()=>{class r extends ou{constructor(){super(...arguments),this.name="Version",this.http=h$5(Jc);}updating(){return this.http.get("updating.txt").pipe(k$3(()=>N$4({updating:false})))}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=U$3({token:r,factory:r.\u0275fac});}}return r})();function Nr(r,t){if(r&1){let e=Uc();mt$1(0,"button",5),gt$1("click",function(){ks(e);let n=Mn$1(2);return n.$model().ctaCallback(),Os(n.hide())}),$c(1),bt$2();}if(r&2){let e=Mn$1(2);Ut$1(),SC(" ",e.$model().ctaText," ");}}function Lr(r,t){if(r&1){let e=Uc();mt$1(0,"section",1),Ih("fade-in-animation"),mt$1(1,"p",2),gt$1("mouseenter",function(){ks(e);let n=Mn$1();return Os(n.onMouseEnter())})("mouseleave",function(){ks(e);let n=Mn$1();return Os(n.onMouseLeave())}),Bn$1(2,"i"),mt$1(3,"span"),$c(4),bt$2(),_i(5,Nr,2,1,"button",3),mt$1(6,"i",4),gt$1("click",function(){ks(e);let n=Mn$1();return Os(n.hide())})("spaceOrEnterKeyPressed",function(){ks(e);let n=Mn$1();return Os(n.hide())}),bt$2()()();}if(r&2){let e=Mn$1();Dd("z-index",e.$model().zIndex),Ut$1(2),wd(`fa-light margin-right-12 ${e.$model().icon}`),Ut$1(2),bm(e.$model().message),Ut$1(),bi(e.$model().ctaCallback&&e.$model().ctaText?5:-1);}}var vr=(()=>{class r extends xB{constructor(){super(),this.$model=Q$6(null),this.$visible=Q$6(false),this.events=h$5(Xo),this.helper=h$5(ue$3),this.instanceId=`toast_message_${UAe()}`,h$5(at$1).onDestroy(()=>this.helper.markInstanceAsClosed(this.instanceId));}ngOnInit(){this.events.on(Ti.ShowToastMessage).pipe(Ke$3(e=>this.show(e)),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.WindowEscapeKeyDown).pipe(Ne$1(()=>!!this.$model()&&this.helper.isLastOpenedInstance(this.instanceId)),Ke$3(e=>{e.stopImmediatePropagation(),this.hide();}),ft$2(this.unsubscribe$)).subscribe();}hide(){this.clearTimeout(),this.clearAnimationTimeout(),this.$visible.set(false),this.timeoutId=setTimeout(()=>this.$model.set(null),200),this.helper.markInstanceAsClosed(this.instanceId);}onMouseEnter(){this.clearTimeout();}onMouseLeave(){this.startTimeout();}show(e){this.clearTimeout(),this.clearAnimationTimeout(),this.$model.set(e),this.$visible.set(false),this.animationTimeoutId=setTimeout(()=>this.$visible.set(true),1),this.startTimeout(),this.helper.markInstanceAsOpened(this.instanceId);}startTimeout(){this.$model()?.timeout&&(this.timeoutId=setTimeout(()=>this.hide(),this.$model().timeout));}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null);}clearAnimationTimeout(){this.animationTimeoutId&&(clearTimeout(this.animationTimeoutId),this.animationTimeoutId=null);}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275cmp=It({type:r,selectors:[["rpr-toast-message"]],features:[Ee$2],decls:1,vars:1,consts:[[1,"toast-message",3,"zIndex"],[1,"toast-message"],[1,"is-flex","align-items-center","justify-content-center",3,"mouseenter","mouseleave"],["type","button",1,"button","is-text","is-text-alt"],["aria-label","Close","rprMakeTabbable","",1,"fa-light","fa-xmark","close-btn",3,"click","spaceOrEnterKeyPressed"],["type","button",1,"button","is-text","is-text-alt",3,"click"]],template:function(i,n){i&1&&_i(0,Lr,7,6,"section",0),i&2&&bi(n.$model()&&n.$visible()?0:-1);},dependencies:[y],styles:[".toast-message[_ngcontent-%COMP%]{position:fixed;z-index:2010;top:188px;right:50%;left:50%;display:flex;justify-content:center}p[_ngcontent-%COMP%]{height:52px;background-color:#2b2b2b;color:#fff;font-size:18px;font-weight:500;border-radius:8px;white-space:nowrap;padding:0 16px;box-shadow:0 24px 40px #00000026,0 12px 24px #0000001a}i[_ngcontent-%COMP%]{font-size:24px}.button.is-text.is-text-alt[_ngcontent-%COMP%]{color:#b2dfff;margin-left:20px}.button.is-text.is-text-alt[_ngcontent-%COMP%]:hover{text-decoration:none;color:#97a7ba}.fa-circle-check[_ngcontent-%COMP%], .fa-link-horizontal[_ngcontent-%COMP%]{color:#85efbe}.fa-circle-xmark[_ngcontent-%COMP%]{color:#f2b4a9}.close-btn[_ngcontent-%COMP%]{cursor:pointer;margin-left:40px}.close-btn[_ngcontent-%COMP%]:hover{color:#97a7ba}"]}
2403);}}return r})();function Hr(r,t){r&1&&(mt$1(0,"div",4),$c(1," This website is updating. You can continue work on your current page without issue, and we\u2019ll let you know when the update is complete. "),bt$2());}function $r(r,t){r&1&&(mt$1(0,"div",5),$c(1," A new version of this website is available! When convenient, save your changes, and refresh to see our latest features and bug fixes in action. "),bt$2());}function Or(r,t){if(r&1&&(Bn$1(0,"router-outlet")(1,"rpr-toast-message")(2,"router-outlet",2)(3,"router-outlet",3),_i(4,Hr,2,0,"div",4),_i(5,$r,2,0,"div",5)),r&2){let e=Mn$1();Ut$1(4),bi(e.helper.$isUpdating()?4:-1),Ut$1(),bi(e.helper.$newVersionAvailable()?5:-1);}}function Br(r,t){if(r&1&&Bn$1(0,"rpr-full-page-loading-indicator",0),r&2){let e=Mn$1();xn$1("text",e.$loadingText());}}function Gr(r,t){if(r&1&&Bn$1(0,"rpr-full-page-error",1),r&2){let e=Mn$1();xn$1("errorType",e.helper.$fullPageErrorType());}}var yr=(()=>{class r{constructor(){this.$loading=Q$6(false),this.$loadingText=MC(()=>{this.$loading();return null}),this.navigatingToLegacyUrl=false,this.helper=h$5(ue$3),this.router=h$5(Qr$1),this.route=h$5(Ii),this.authManager=h$5(Se$2),this.scriptLoader=h$5(D$1),this.events=h$5(Xo),this.globalInterval=h$5(gr),this.versionService=h$5(fr),this.routeInfo=h$5(r$1),this.analytics=h$5(SB),this.appcues=h$5(ne$3),this.breakpointObserver=h$5(SI),this.fullPageErrorTypeEffect=qi(()=>{this.shouldKeepFullPageErrorOnNavigationEnd=!!this.helper.$fullPageErrorType()&&this.isNavigating;}),this.destroyRef=h$5(at$1).onDestroy(()=>{this.unsubscribe$.next(),this.unsubscribe$.complete();}),this.isNavigating=false,this.shouldKeepFullPageErrorOnNavigationEnd=false,this.unsubscribe$=new G$3;}ngOnInit(){if(this.globalInterval.start(),!E$4.config?.isValid){console.warn("The config failed to load!"),this.helper.$fullPageErrorType.set(i$2.Generic);return}this.router.events.pipe(ft$2(this.unsubscribe$)).subscribe(e=>{e instanceof Ho?this.navigationStart(e):e instanceof Ig?this.activationStart(e):e instanceof Tr$1||e instanceof ua?this.navigationInterrupted():e instanceof tr&&this.navigationEnd(e);}),this.events.on(Ti.LegacyNavigationStart).pipe(ft$2(this.unsubscribe$)).subscribe(e=>{this.navigatingToLegacyUrl=true,this.$loading.set(true),Ht$1.redirectParent(e);}),this.events.on(Ti.NavigationInterrupted).pipe(ft$2(this.unsubscribe$)).subscribe(()=>this.navigationInterrupted()),this.events.on(Ti.WindowEscapeKeyDown).pipe(Ne$1(()=>this.navigatingToLegacyUrl),ft$2(this.unsubscribe$)).subscribe(()=>{this.navigatingToLegacyUrl=false,this.$loading.set(false);}),E$4.disableVersionCheck||(setTimeout(()=>this.checkVersion(),1e3),this.events.on(Ti.EveryTenMinutes).pipe(ft$2(this.unsubscribe$)).subscribe(()=>this.checkVersion())),this.events.on(Ti.TitleStrategyFinished).pipe(ft$2(this.unsubscribe$)).subscribe(e=>{let i=$y(zo,qVe(this.route.snapshot.queryParams,H$3.PropertyMode,H$3.PropertyMode2,"appPropertyMode","apMode"),null);i&&(this.helper.propertyMode=i),this.analytics.trackPage(this.currentRoute,e),this.appcues.registerPage(),this.authManager.trackUserSession(),this.authManager.logRprSessionEvent();}),this.updateBulmaSize(),this.breakpointObserver.observe([Ixe,Exe,Txe,xxe,Mxe]).pipe(Ke$3(()=>this.updateBulmaSize()),ft$2(this.unsubscribe$)).subscribe();}windowResize(e){this.events.fire(Ti.WindowResize,e);}windowScroll(e){this.events.fire(Ti.WindowScroll,e);}windowClick(e){e.button!==2&&this.events.fire(Ti.WindowClick,e);}windowMouseUp(e){this.events.fire(Ti.WindowMouseUp,e);}windowMouseDown(e){this.events.fire(Ti.WindowMouseDown,e);}windowKeyUp(e){this.events.fire(Ti.WindowKeyUp,e);}windowKeyDown(e){this.events.fire(Ti.WindowKeyDown,e),e.key==="Escape"&&this.events.fire(Ti.WindowEscapeKeyDown,e);}windowFocus(e){this.events.fire(Ti.WindowFocus,e);}navigationStart(e){if(this.isNavigating=true,this.events.fire(Ti.NavigationStart,e),this.helper.skipNextLoadingIndicator){this.helper.skipNextLoadingIndicator=false;return}this.$loading.set(true),ije(e.url)&&this.$loadingText.set("Live Preview Loading...");}activationStart(e){if(e.snapshot.children?.length)return;let i={},n=c=>{c.parent&&n(c.parent),Object.assign(i,c.data);};n(e.snapshot),this.routeInfo.setData(i),this.updateBulmaSize(),this.helper.skipAnalytics=this.routeInfo.skipAnalytics,this.helper.$propertyIdInfo.set(null),this.helper.$placeId.set(null),this.events.fire(Ti.ActivationStart,e);}navigationInterrupted(){this.helper.ignoreNextLoadingIndicatorCancelRequest?this.helper.ignoreNextLoadingIndicatorCancelRequest=false:this.$loading.set(false),this.isNavigating=false;}navigationEnd(e){this.routeInfo.omitGoogleTagManager||Re$1(this.scriptLoader.load(a$2.GoogleTagManager)).pipe(ft$2(this.unsubscribe$)).subscribe(),this.shouldKeepFullPageErrorOnNavigationEnd||this.helper.$fullPageErrorType.set(null),this.shouldKeepFullPageErrorOnNavigationEnd=false,this.$loading.set(false);let i=e.urlAfterRedirects;this.currentRoute!==i&&(this.currentRoute&&this.currentRoute.split("?")[0]!==i.split("?")[0]&&!this.helper.avoidScrollToTopOnNextNavigation&&Ht$1.window.scrollTo(0,0),this.helper.avoidScrollToTopOnNextNavigation&&(this.helper.avoidScrollToTopOnNextNavigation=false),this.currentRoute&&this.helper.routeHistory.unshift(this.currentRoute),this.currentRoute=i);let n=i?.startsWith("/admin/"),c=i?.startsWith("/dashboard/");if(this.helper.ignoreCoBrand=n||c,this.helper.transientStatusDialog&&(this.helper.showStatusDialog(this.helper.transientStatusDialog),this.helper.transientStatusDialog=null),this.helper.legalDialog&&(this.helper.user||this.currentRoute.startsWith("/auth/"))){switch(this.helper.legalDialog){case "TermsOfUse":this.helper.showTermsOfUseDialog();break;case "PrivacyPolicy":this.helper.showPrivacyPoliciesDialog();break;}this.helper.legalDialog=null;}!this.routeInfo.disableSmartBanner&&window.smartbanner&&window.smartbanner.publish(),this.helper.hideTopBottomFeature=false,this.isNavigating=false,this.events.fire(Ti.NavigationEnd,e);}updateBulmaSize(){let i=this.breakpointObserver.isMatched(Ixe)?Ha.Mobile:this.breakpointObserver.isMatched(Exe)?Ha.Tablet:this.breakpointObserver.isMatched(Txe)?Ha.Desktop:this.breakpointObserver.isMatched(xxe)?Ha.Widescreen:Ha.FullHD;
2403!this.routeInfo.supportsMobile&&[Ha.Mobile,Ha.Tablet].includes(i)&&(i=Ha.Desktop),this.helper.$bulmaSize.set(i);}checkVersion(){this.routeInfo.skipVersionCheck||this.versionService.updating().pipe(Ne$1(e=>!this.routeInfo.skipVersionCheck),ft$2(this.unsubscribe$)).subscribe(e=>{this.helper.$isUpdating.set(e.updating),!e.message&&!E$4.deployed&&E$4.config.environment===oa.Prod&&(e.message="You are currently connected to the production API, please be extremely careful!"),e.message&&this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Warning!",message:e.message}),this.helper.$newVersionAvailable.set(!e.updating&&e.latest&&e.latest!==Ff),this.helper.$newVersionAvailable()&&(console.log(`current build: ${Ff}`),console.log(`new build available: ${e.latest}`));});}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275cmp=It({type:r,selectors:[["rpr-app"]],hostBindings:function(i,n){i&1&>$1("resize",function(p){return n.windowResize(p)},Pw)("scroll",function(p){return n.windowScroll(p)},Pw)("click",function(p){return n.windowClick(p)},Pw)("mouseup",function(p){return n.windowMouseUp(p)},Pw)("mousedown",function(p){return n.windowMouseDown(p)},Pw)("keyup",function(p){return n.windowKeyUp(p)},Pw)("keydown",function(p){return n.windowKeyDown(p)},Pw)("focus",function(p){return n.windowFocus(p)},Pw);},decls:3,vars:3,consts:[[3,"text"],[3,"errorType"],["name","modal"],["name","full"],["role","alert",1,"update-toast","update-toast-negative"],["role","alert",1,"update-toast","update-toast-positive"]],template:function(i,n){i&1&&(_i(0,Or,6,2),_i(1,Br,1,1,"rpr-full-page-loading-indicator",0),_i(2,Gr,1,1,"rpr-full-page-error",1)),i&2&&(bi(n.helper.$fullPageErrorType()?-1:0),Ut$1(),bi(n.$loading()?1:-1),Ut$1(),bi(n.helper.$fullPageErrorType()?2:-1));},dependencies:[z$2,C,iI,GS,vr],encapsulation:2});}}return r})();var ht=(()=>{class r{constructor(){this.dependencyLoader=h$5(Ua),this.cacheLayer=h$5(as),this.miscApi=h$5(IB),this.privacy=h$5(Uf),this.dependencyLoader.init();}load(){return this.cacheLayer.bootstrap(),this.miscApi.getConfig().pipe(Ke$3(e=>E$4.config=e),k$3(e=>N$4(null)),Ft(()=>this.privacy.load$().pipe(k$3(e=>N$4(null)))))}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=K$5({token:r,factory:r.\u0275fac});}}return r})();var br=(()=>{class r{static{this.ReportSoundNotificationsDisabled="ReportSoundNotificationsDisabled";}static{this.DataToolsDeepLinksHelpLayerDismissed="DataTools-DeepLinks-HelpLayerDismissed";}static{this.HasDisallowedAssistantsNoticeBeenDisplayed="HasDisallowedAssistantsNoticeBeenDisplayed";}static{this.SavedSearchesSortColumnId="SavedSearchesSortColumnId";}static{this.DeepLinksToolInputs="DeepLinkToolInputs";}static{this.LastPropertyAnalysisType="LastPropertyAnalysisType";}}return r})();var de=class r{constructor(t){l$3(t)&&r.copyProperties(t,this);}static fromJSON(t){let e=new r;return t&&r.copyProperties(t,e),e}toJSON(){let t={};return r.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.reportId)&&(e.reportId=t.reportId),l$3(t.reportType)&&(e.reportType=t.reportType),l$3(t.reportIconName)&&(e.reportIconName=t.reportIconName),l$3(t.reportTypeDescription)&&(e.reportTypeDescription=t.reportTypeDescription),l$3(t.deliveryMethod)&&(e.deliveryMethod=t.deliveryMethod),l$3(t.deliveryRecipientEmails)&&(e.deliveryRecipientEmails=t.deliveryRecipientEmails.slice()),l$3(t.reportTitle)&&(e.reportTitle=t.reportTitle),l$3(t.placeInLine)&&(e.placeInLine=t.placeInLine),l$3(t.totalMinutes)&&(e.totalMinutes=t.totalMinutes),l$3(t.addressType)&&(e.addressType=t.addressType),l$3(t.cityStateZip)&&(e.cityStateZip=t.cityStateZip),l$3(t.isReportFrequencyCapped)&&(e.isReportFrequencyCapped=t.isReportFrequencyCapped),l$3(t.isReportAlreadyQueued)&&(e.isReportAlreadyQueued=t.isReportAlreadyQueued),l$3(t.isValuationWorkbookWithoutAppraisalAnalysis)&&(e.isValuationWorkbookWithoutAppraisalAnalysis=t.isValuationWorkbookWithoutAppraisalAnalysis),l$3(t.isBrandServiceModulesReportWithoutServiceModules)&&(e.isBrandServiceModulesReportWithoutServiceModules=t.isBrandServiceModulesReportWithoutServiceModules),l$3(t.isInvalidAddressType)&&(e.isInvalidAddressType=t.isInvalidAddressType);}};
2403var je=class r{constructor(t){l$3(t)&&r.copyProperties(t,this);}static fromJSON(t){let e=new r;return t&&r.copyProperties(t,e),e}toJSON(){let t={};return r.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.value)&&(e.value=t.value),l$3(t.dropdownLookupId)&&(e.dropdownLookupId=t.dropdownLookupId),l$3(t.isSet)&&(e.isSet=t.isSet),l$3(t.reportParameterId)&&(e.reportParameterId=t.reportParameterId),l$3(t.reportParameterType)&&(e.reportParameterType=t.reportParameterType),l$3(t.reportType)&&(e.reportType=t.reportType),l$3(t.reportSectionIds)&&(e.reportSectionIds=t.reportSectionIds.slice()),l$3(t.label)&&(e.label=t.label),l$3(t.labelHint)&&(e.labelHint=t.labelHint),l$3(t.hint)&&(e.hint=t.hint),l$3(t.valueHint)&&(e.valueHint=t.valueHint),l$3(t.isRequired)&&(e.isRequired=t.isRequired),l$3(t.validationRegularExpression)&&(e.validationRegularExpression=t.validationRegularExpression),l$3(t.validationRegularExpressionMessage)&&(e.validationRegularExpressionMessage=t.validationRegularExpressionMessage),l$3(t.isNumeric)&&(e.isNumeric=t.isNumeric),l$3(t.isCurrency)&&(e.isCurrency=t.isCurrency),l$3(t.isDecimal)&&(e.isDecimal=t.isDecimal),l$3(t.isPropertiesSearchCriteriaRelated)&&(e.isPropertiesSearchCriteriaRelated=t.isPropertiesSearchCriteriaRelated),l$3(t.maxLength)&&(e.maxLength=t.maxLength),l$3(t.defaultValueDataSource)&&(e.defaultValueDataSource=t.defaultValueDataSource),l$3(t.valuesDataSource)&&(e.valuesDataSource=t.valuesDataSource),l$3(t.isVisibleDataSource)&&(e.isVisibleDataSource=t.isVisibleDataSource),l$3(t.defaultValue)&&(e.defaultValue=t.defaultValue),l$3(t.originalDataSourceValue)&&(e.originalDataSourceValue=t.originalDataSourceValue),l$3(t.values)&&(e.values=t.values.map(i=>new Fa(i))),l$3(t.sortOrder)&&(e.sortOrder=t.sortOrder),l$3(t.integerValues)&&(e.integerValues=t.integerValues.map(i=>new Vn$1(i)));}};var Ke=class r{constructor(t){l$3(t)&&r.copyProperties(t,this);}static fromJSON(t){let e=new r;return t&&r.copyProperties(t,e),e}toJSON(){let t={};return r.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.reportSectionId)&&(e.reportSectionId=t.reportSectionId),l$3(t.reportElementId)&&(e.reportElementId=t.reportElementId),l$3(t.reportSubElementIds)&&(e.reportSubElementIds=t.reportSubElementIds.slice());}};var Je=class r{constructor(t){l$3(t)&&r.copyProperties(t,this);}static fromJSON(t){let e=new r;return t&&r.copyProperties(t,e),e}toJSON(){let t={};return r.copyProperties(this,t),t}static copyProperties(t,e){l$3(t.reportCriteriaType)&&(e.reportCriteriaType=t.reportCriteriaType),l$3(t.requestDateTime)&&(e.requestDateTime=t.requestDateTime),l$3(t.userName)&&(e.userName=t.userName),l$3(t.associationId)&&(e.associationId=t.associationId),l$3(t.orgId)&&(e.orgId=t.orgId),l$3(t.coBrandCode)&&(e.coBrandCode=t.coBrandCode),l$3(t.searchArea)&&(e.searchArea=new Ba(t.searchArea)),l$3(t.searchCriteriaId)&&(e.searchCriteriaId=t.searchCriteriaId),l$3(t.analysisCriteriaId)&&(e.analysisCriteriaId=t.analysisCriteriaId),l$3(t.buyerTourId)&&(e.buyerTourId=t.buyerTourId),l$3(t.selectedReportSectionReportElements)&&(e.selectedReportSectionReportElements=t.selectedReportSectionReportElements.map(i=>new Ke(i))),l$3(t.reportParameters)&&(e.reportParameters=t.reportParameters.map(i=>new je(i))),l$3(t.excludedPdfMergeFileIds)&&(e.excludedPdfMergeFileIds=t.excludedPdfMergeFileIds.slice()),l$3(t.recipientName)&&(e.recipientName=t.recipientName),l$3(t.recipientMessage)&&(e.recipientMessage=t.recipientMessage),l$3(t.deliveryMethod)&&(e.deliveryMethod=t.deliveryMethod),l$3(t.deliveryRecipientEmails)&&(e.deliveryRecipientEmails=t.deliveryRecipientEmails.slice()),l$3(t.deliveryCCUser)&&(e.deliveryCCUser=t.deliveryCCUser),l$3(t.hidePageNumbers)&&(e.hidePageNumbers=t.hidePageNumbers),l$3(t.includeAgentNameInFooter)&&(e.includeAgentNameInFooter=t.includeAgentNameInFooter),l$3(t.includeAgentWebsiteUrlInFooter)&&(e.includeAgentWebsiteUrlInFooter=t.includeAgentWebsiteUrlInFooter),l$3(t.includeAgentLicenseNumberInFooter)&&(e.includeAgentLicenseNumberInFooter=t.includeAgentLicenseNumberInFooter),l$3(t.applicationVersion)&&(e.applicationVersion=t.applicationVersion),l$3(t.serviceSelector)&&(e.serviceSelector=t.serviceSelector),l$3(t.coverLogoStateAssociationId)&&(e.coverLogoStateAssociationId=t.coverLogoStateAssociationId),l$3(t.coverLogoLocalAssociationId)&&(e.coverLogoLocalAssociationId=t.coverLogoLocalAssociationId),l$3(t.coverLogoUseRprLogo)&&(e.coverLogoUseRprLogo=t.coverLogoUseRprLogo),l$3(t.coverLogoUseNarLogo)&&(e.coverLogoUseNarLogo=t.coverLogoUseNarLogo),l$3(t.generationAttemptCount)&&(e.generationAttemptCount=t.generationAttemptCount),l$3(t.campaignId)&&(e.campaignId=t.campaignId),l$3(t.campaignVariation)&&(e.campaignVariation=t.campaignVariation),l$3(t.audit)&&(e.audit=new g_(t.audit)),l$3(t.campaignType)&&(e.campaignType=t.campaignType),l$3(t.propertyMode)&&(e.propertyMode=t.propertyMode),l$3(t.propertyId)&&(e.propertyId=t.propertyId),l$3(t.propertyOrgId)&&(e.propertyOrgId=t.propertyOrgId),l$3(t.propertyOrgName)&&(e.propertyOrgName=t.propertyOrgName),l$3(t.propertyListingId)&&(e.propertyListingId=t.propertyListingId),l$3(t.placeId)&&(e.placeId=t.placeId),l$3(t.placeIds)&&(e.placeIds=t.placeIds.slice()),l$3(t.zipPlaceId)&&(e.zipPlaceId=t.zipPlaceId),l$3(t.includeCoverPage)&&(e.includeCoverPage=t.includeCoverPage),l$3(t.coverType)&&(e.coverType=t.coverType),l$3(t.reportId)&&(e.reportId=t.reportId),l$3(t.reportMode)&&(e.reportMode=t.reportMode),l$3(t.reportType)&&(e.reportType=t.reportType),l$3(t.reportStatus)&&(e.reportStatus=t.reportStatus),l$3(t.reportRelativePathAndFileName)&&(e.reportRelativePathAndFileName=t.reportRelativePathAndFileName),l$3(t.reportTitle)&&(e.reportTitle=t.reportTitle),l$3(t.reportIconName)&&(e.reportIconName=t.reportIconName),l$3(t.brokerId)&&(e.brokerId=t.brokerId),l$3(t.brandId)&&(e.brandId=t.brandId),l$3(t.loggedInViewCount)&&(e.loggedInViewCount=t.loggedInViewCount),l$3(t.notLoggedInViewCount)&&(e.notLoggedInViewCount=t.notLoggedInViewCount),l$3(t.lastLoggedInViewDateTime)&&(e.lastLoggedInViewDateTime=t.lastLoggedInViewDateTime),l$3(t.lastNotLoggedInViewDateTime)&&(e.lastNotLoggedInViewDateTime=t.lastNotLoggedInViewDateTime),l$3(t.report
2403Url)&&(e.reportUrl=t.reportUrl),l$3(t.reportDocumentUrl)&&(e.reportDocumentUrl=t.reportDocumentUrl),l$3(t.hasReportBeenGenerated)&&(e.hasReportBeenGenerated=t.hasReportBeenGenerated),l$3(t.reportCategory)&&(e.reportCategory=t.reportCategory),l$3(t.totalViewCount)&&(e.totalViewCount=t.totalViewCount),l$3(t.lastViewDateTime)&&(e.lastViewDateTime=t.lastViewDateTime);}};var Ye=(()=>{class r extends ou{constructor(){super(...arguments),this.name="LegacyReports",this.apiHeaders=h$5(e_),this.http=h$5(Jc),this.cacheLayer=h$5(as),this.helper=h$5(ue$3);}buildHousingReportAndSaveReportCriteria(e){let i=E$4.apiBaseUrl+"/legacyreports/queue/housing-report",n=[];return l$3(e.reportType)&&n.push("reportType="+encodeURIComponent(String(e.reportType))),l$3(e.associationId)&&n.push("associationId="+encodeURIComponent(String(e.associationId))),l$3(e.coBrandCode)&&n.push("coBrandCode="+encodeURIComponent(String(e.coBrandCode))),l$3(e.disableReportQueueing)&&n.push("disableReportQueueing="+encodeURIComponent(String(e.disableReportQueueing))),l$3(e.reportsServiceSelector)&&n.push("reportsServiceSelector="+encodeURIComponent(String(e.reportsServiceSelector))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:JSON.stringify(e.parameters?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:de.fromJSON(p)),k$3(p=>this.handleError(p)))}buildSearchAreaAndSaveReportCriteria(e){let i=E$4.apiBaseUrl+"/legacyreports/queue",n=[];return l$3(e.disableReportQueueing)&&n.push("disableReportQueueing="+encodeURIComponent(String(e.disableReportQueueing))),l$3(e.reportsServiceSelector)&&n.push("reportsServiceSelector="+encodeURIComponent(String(e.reportsServiceSelector))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:JSON.stringify(e.input?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:de.fromJSON(p)),k$3(p=>this.handleError(p)))}deleteReport(e){if(!sr(e.reportId))throw new Error("reportId parameter is not supplied for the deleteReport method.");let i=E$4.apiBaseUrl+`/legacyreports/${e.reportId}`;return this.http.request("DELETE",i,{headers:this.apiHeaders.getApiHeaders("DELETE",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(c=>this.handleError(c)))}getCoverPageSubElementIds(e){let i=E$4.apiBaseUrl+"/legacyreports/cover-page-sub-element-ids",n=[];return l$3(e.state)&&n.push("state="+encodeURIComponent(String(e.state))),n.length&&(i+="?"+n.join("&")),this.http.request("GET",i,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p??null),k$3(p=>this.handleError(p)))}getEconomicAreaReportCustomPages(e){let i=E$4.apiBaseUrl+"/legacyreports/economic-area-reports/custom-pages",n=[];return l$3(e.placeId)&&n.push("placeId="+encodeURIComponent(String(e.placeId))),n.length&&(i+="?"+n.join("&")),this.http.request("GET",i,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p$1=>p$1==null?null:p$1.map(p.fromJSON)),k$3(p=>this.handleError(p)))}getInProcessReportIds(){let e=E$4.apiBaseUrl+"/legacyreports/ids/in-process";return this.http.request("GET",e,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(n=>n??null),k$3(n=>this.handleError(n)))}getReportCriteria(e){if(!sr(e.reportId))throw new Error("reportId parameter is not supplied for the getReportCriteria method.");let i=E$4.apiBaseUrl+`/legacyreports/${e.reportId}/criteria`;return this.http.request("GET",i,{headers:this.apiHeaders.getApiHeaders("GET",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(c=>c==null?null:Je.fromJSON(c)),k$3(c=>this.handleError(c)))}getReportHistory(e){let i=E$4.apiBaseUrl+"/legacyreports/history",n=[];return l$3(e.reportMode)&&n.push("reportMode="+encodeURIComponent(String(e.reportMode))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:JSON.stringify(e.reportTypes),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:p.map(P=>new a$5(a$5.fromJSON(P)))),k$3(p=>this.handleError(p)))}getReportsByIds(e){let i=E$4.apiBaseUrl+"/legacyreports/by-ids";return this.http.request("POST",i,{body:JSON.stringify(e.reportIds),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(c=>c==null?null:c.map(p=>new a$5(a$5.fromJSON(p)))),k$3(c=>this.handleError(c)))}getReportsForToday(e){let i=E$4.apiBaseUrl+"/legacyreports/today",n=[];return l$3(e.maxCount)&&n.push("maxCount="+encodeURIComponent(String(e.maxCount))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:JSON.stringify(e.reportTypes),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:p.map(P=>new a$5(a$5.fromJSON(P)))),k$3(p=>this.handleError(p)))}getTotalReportCount(e){let i=E$4.apiBaseUrl+"/legacyreports/counts/today/total";return this.http.request("POST",i,{body:JSON.stringify(e.reportTypes),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(c=>c??null),k$3(c=>this.handleError(c)))}isReportSharingDisabled(e){if(!sr(e.reportId))throw new Error("reportId parameter is not supplied for the isReportSharingDisabled method.");let i=E$4.apiBaseUrl+`/legacyreports/${e.reportId}/disabled-sharing`,n=[];return l$3(e.propertyMode)&&n.push("propertyMode="+encodeURIComponent(String(e.propertyMode))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p??null),k$3(p=>this.handleError(p)))}requestReport(e){let i=E$4.apiBaseUrl+"/legacyreports/request",n=[];return l$3(e.disableReportQueueing)&&n.push("disableReportQueueing="+encodeURIComponent(String(e.disableReportQueueing))),l$3(e.reportsServiceSelector)&&n.push("reportsServiceSelector="+encodeURIComponent(String(e.reportsServiceSelector))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:JSON.stringify(e.request?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"json"}).pipe(T$3(p=>p==null?null:de.fromJSON(p)),k$3(p=>this.handleError(p)))}rerunReport(e){if(!sr(e.reportId))throw new Error("reportId parameter is not supplied for the rerunReport method.");let i=E$4.apiBaseUrl+`/legacyreports/${e.reportId}/rerun`,n=[];return l$3(e.disableReportQueueing)&&n.push("disableReportQueueing="+encodeURIComponent(String(e.disableReportQueueing))),l$3(e.reportsServiceSelector)&&n.push("reportsServiceSelector="+encodeURIComponent(String(e.reportsServiceSelector))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(p=>this.handleError(p)))}resendReport(e){if(!sr(e.reportId))throw new Error("reportId parameter is not supplied for the resendReport method.");let i=E$4.apiBaseUrl+`/legacyreports/${e.reportId}/resend`,n=[];return l$3(e.deliveryCCUser)&&n.push("deliveryCCUser="+encodeURIComponent(String(e.deliveryCCUser))),l$3(e.disableReportQueueing)&&n.push("disableReportQueueing="+encodeURIComponent(String(e.disableReportQueueing))),l$3(e.reportsServiceSelector)&&n.push("reportsServiceSelector="+encodeURIComponent(String(e.reportsServiceSelector))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:"{}",headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(p=>this.handleError(p)))}saveHousingReportParameters(e){let i=E$4.apiBaseUrl+"/legacyreports/housing-report/parameters",n=[];return l$3(e.associationId)&&n.push("associationId="+encodeURIComponent(String(e.associationId))),n.length&&(i+="?"+n.join("&")),this.http.request("POST",i,{body:JSON.stringify(e.parameters?.toJSON()||null),headers:this.apiHeaders.getApiHeaders("POST",this.helper.getBearerToken(false)),responseType:"text"}).pipe(k$3(p=>this.handleError(p)))}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275prov=U$3({token:r,factory:r.\u0275fac});}}return r})();var Vr=Math.max;function Fr(r,t,e){var i=r==null?0:r.length;if(!i)return -1;
2403var n=e==null?0:QF(e);return n<0&&(n=Vr(i+n,0)),JL(r,t,n)}var Cr=Fr;var _e=class r{constructor(){this.events=h$5(Xo),this.helper=h$5(ue$3),this.legacyReportsApi=h$5(Ye);}startMonitoring(){let t=false,e=E$4.config.reportsHistoryPollInterval||6e4,i=e,n=null;this.monitoringUnsubscribe$=new G$3,this.legacyReportsApi.getInProcessReportIds().pipe(Ke$3(k=>{this.reportIdsToMonitor=M$1(this.reportIdsToMonitor,k),c();}),ft$2(this.monitoringUnsubscribe$)).subscribe();let c=(k=null)=>{n&&clearTimeout(n),n=window.setTimeout(p,k||0);},p=()=>{if(t){i=0;return}!this.reportIdsToMonitor||!this.reportIdsToMonitor.length||(t=true,i=e,this.events.fire(Ti.ReportsMonitoring),this.legacyReportsApi.getReportsByIds({reportIds:this.reportIdsToMonitor.filter(k=>!!k)}).pipe(Ke$3(k=>{P(k),this.events.fire(Ti.ReportsUpdated),t=false,c(i);}),k$3(()=>(t=false,c(i),N$4(null))),ft$2(this.monitoringUnsubscribe$)).subscribe());},P=k=>{k.forEach(L=>{L.reportStatus===n$2.Delivered||L.reportStatus===n$2.ErrorOccurredWhileDelivering?(X(L.reportId),this.showReportCompletedDialog(L),this.playSound()):(L.reportStatus===n$2.ErrorOccurredWhileGenerating||L.reportStatus===n$2.ReportDocumentNoLongerExists)&&(X(L.reportId),this.showReportFailedDialog(),this.playSound());});let ue=k.map(L=>L.reportId);this.reportIdsToMonitor.forEach(L=>{Cr(ue,L)===-1&&(X(L),console.log(`WARNING: Orphaned report ID ${L} was removed from LocalStorage > reportIdsToMonitor.`));});},X=k=>{this.reportIdsToMonitor=X$3(this.reportIdsToMonitor,k);};}stopMonitoring(){this.monitoringUnsubscribe$&&(this.monitoringUnsubscribe$.next(),this.monitoringUnsubscribe$.complete());}showReportCompletedDialog(t){this.helper.showStatusDialog({heading:"Report has been successfully generated.",message:t.reportStatus===n$2.Generated?'<p class="red margin-top-8">Notice: We were unable to deliver this report via e-mail.</p>':null,dialogType:zn.Success,buttons:[{text:"Download Report",href:t.reportUrl,openInNewTab:true}]});}showReportFailedDialog(){this.helper.showStatusDialog({heading:"Report dropped...",message:"Sorry, we were unable to create your report. Please try again."});}playSound(){if(typeof Audio!="function"||this.helper.userSettings.reportSoundNotificationsDisabled)return;let t=new Audio;if(typeof t.canPlayType!="function")return;let e="/assets-2608211552/sounds/doorbell",i=[{canPlayType:t.canPlayType("audio/mpeg;"),audioPath:`${e}.mp3`},{canPlayType:t.canPlayType('audio/ogg; codecs="vorbis"'),audioPath:`${e}.ogg`},{canPlayType:t.canPlayType('audio/wav; codecs="1"'),audioPath:`${e}.wav`}],n=i.filter(c=>c.canPlayType==="probably");if(n.length)new Audio(n[0].audioPath).play();else {let c=i.map(p=>(p.canPlayType||"").replace(/no/,"")?p:null).filter(p=>!!p);c.length&&new Audio(c[0].audioPath).play();}}static{this.\u0275fac=function(e){return new(e||r)};}static{this.\u0275prov=U$3({token:r,factory:r.\u0275fac});}};Se$3([Pn$1()],_e.prototype,"reportIdsToMonitor",void 0);var Mr=(()=>{class r extends RB{constructor(){super(...arguments),this.formatDaysToExpiration=fUe,this.usersApi=h$5(N_),this.adminUsersApi=h$5(Xe$1);}renewAccount(){this.helper.showConfirmDialog("Please confirm","Are you sure you want to renew this assistant?",()=>{this.$loading.set(true),this.adminUsersApi.renewUserExpiration({userName:this.dialogData.userName}).pipe(Ke$3(()=>this.close()),k$3(()=>(this.helper.showErrorDialog(),N$4(null))),nc(()=>this.$loading.set(false)),ft$2(this.unsubscribe$)).subscribe();});}deleteAccount(){this.helper.showConfirmDialog("Please confirm","Are you sure you want to delete this assistant?",()=>{this.$loading.set(true),this.usersApi.deleteUser({userName:this.dialogData.userName}).pipe(Ke$3(()=>this.close()),k$3(()=>(this.helper.showErrorDialog(),N$4(null))),nc(()=>this.$loading.set(false)),ft$2(this.unsubscribe$)).subscribe();});}static{this.\u0275fac=(()=>{let e;return function(n){return (e||(e=_t$1(r)))(n||r)}})();}static{this.\u0275cmp=It({type:r,selectors:[["rpr-expiring-assistant-dialog"]],features:[Ee$2],decls:22,vars:5,consts:[[1,"is-flex","align-items-center","justify-content-between"],[1,"is-flex"],[1,"left-pane","is-flex","align-items-center"],[1,"margin-left-20","margin-right-20","fa-light","fa-circle-exclamation"],[1,"margin-left-20"],[1,"dialog-header"],[1,"margin-bottom-20"],[1,"is-flex","align-items-center","justify-content-between","margin-top-20"],["type","button","rprAutoFocus","",1,"button","is-primary","margin-right-15",3,"click","disabled"],["type","button",1,"button","is-primary","is-outlined","margin-right-15",3,"click","disabled"],["type","button",1,"button","is-primary","is-outlined","padding-left-25","padding-right-25",3,"click","disabled"]],template:function(i,n){i&1&&(mt$1(0,"div",0)(1,"div",1)(2,"div",2),Bn$1(3,"i",3),bt$2(),mt$1(4,"div",4)(5,"h1",5),$c(6,"Update your assistant"),bt$2(),mt$1(7,"p",6),$c(8," Your assistant account for "),mt$1(9,"b"),$c(10),bt$2(),$c(11),Bn$1(12,"br"),$c(13," You can renew this account for another year, or delete it. "),bt$2(),mt$1(14,"div",7)(1
24035,"div",1)(16,"button",8),gt$1("click",function(){return n.renewAccount()}),$c(17," Renew Account "),bt$2(),mt$1(18,"button",9),gt$1("click",function(){return n.deleteAccount()}),$c(19," Delete Account "),bt$2(),mt$1(20,"button",10),gt$1("click",function(){return n.close()}),$c(21," Close "),bt$2()()()()()()),i&2&&(Ut$1(10),bm(n.dialogData.fullName),Ut$1(),SC(" ",n.formatDaysToExpiration(n.dialogData.expirationDate),"."),Ut$1(5),xn$1("disabled",n.$loading()),Ut$1(2),xn$1("disabled",n.$loading()),Ut$1(2),xn$1("disabled",n.$loading()));},dependencies:[CB],styles:["[_nghost-%COMP%]{width:512px}h1.dialog-header[_ngcontent-%COMP%]{font-size:1.75em!important;margin-bottom:15px!important;line-height:1.2}.left-pane[_ngcontent-%COMP%]{margin-top:-24px;margin-bottom:-24px;margin-left:-24px;background-color:#fbbd04}.left-pane[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.5em;color:#fff}.button[_ngcontent-%COMP%]{min-width:100px}"]});}}return r})();var Ur=(r,t)=>t.reportId;function Wr(r,t){r&1&&($c(0," is "),mt$1(1,"b"),$c(2,"being generated"),bt$2());}function qr(r,t){r&1&&($c(0," has "),mt$1(1,"b"),$c(2,"failed"),bt$2());}function zr(r,t){r&1&&(Bn$1(0,"br"),mt$1(1,"span",17),$c(2,"Notice: E-mail delivery failed"),bt$2());}function Qr(r,t){if(r&1&&($c(0," is "),mt$1(1,"b"),$c(2,"ready"),bt$2(),_i(3,zr,3,0)),r&2){let e=Mn$1().$implicit,i=Mn$1(2);Ut$1(3),bi(e.reportStatus===i.ReportStatus.ErrorOccurredWhileDelivering?3:-1);}}function jr(r,t){r&1&&Bn$1(0,"i",14);}function Kr(r,t){r&1&&Bn$1(0,"i",15);}function Jr(r,t){if(r&1&&(mt$1(0,"a",16),Bn$1(1,"i",18),bt$2()),r&2){let e=Mn$1().$implicit;xn$1("href",e.reportUrl,Qh);}}function Yr(r,t){if(r&1&&(mt$1(0,"div")(1,"div")(2,"div",12),$c(3),Oq(4,"dashValue"),bt$2(),mt$1(5,"div",13),$c(6),Oq(7,"dashValue"),_i(8,Wr,3,0)(9,qr,3,0)(10,Qr,4,1),bt$2()(),_i(11,jr,1,0,"i",14)(12,Kr,1,0,"i",15)(13,Jr,2,1,"a",16),bt$2()),r&2){let e,i,n=t.$implicit;wd(`is-flex align-items-center justify-content-between row ${n.statusCssClass}`),Ut$1(3),bm(Lq(4,6,n.reportTitle)),Ut$1(3),SC(" ",Lq(7,8,n.reportTypeDescription)," "),Ut$1(2),bi((e=n.statusCssClass)==="pending"?8:e==="failed"?9:e==="complete"?10:-1),Ut$1(3),bi((i=n.statusCssClass)==="pending"?11:i==="failed"?12:i==="complete"?13:-1);}}function Zr(r,t){r&1&&(mt$1(0,"div",11),$c(1,"No reports have been requested..."),bt$2());}function Xr(r,t){if(r&1&&vd(0,Yr,14,10,"div",10,Ur,false,Zr,2,0,"div",11),r&2){let e=Mn$1();_d(e.$reports());}}function en(r,t){r&1&&(mt$1(0,"div",9),$c(1,"Loading..."),bt$2());}var _r=(()=>{class r extends xB{constructor(){super(...arguments),this.$count=ohe(0,{alias:"count"}),this.$reportTypes=Cm(null,{alias:"reportTypes"}),this.$reports=Q$6(null,{equal:n1}),this.ReportStatus=n$2,this.legacyReportsApi=h$5(Ye),this.events=h$5(Xo);}ngOnInit(){this.events.on(Ti.ReportsMonitoring).pipe(Ke$3(()=>this.refreshCount()),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.ReportsUpdated).pipe(Ne$1(()=>!!this.$reports()),Ke$3(()=>this.getReports()),ft$2(this.unsubscribe$)).subscribe(),this.refreshCount();}onDetailsToggled(e){!e||this.$reports()||this.getReports();}getReports(){this.$loading()||(this.$loading.set(true),this.legacyReportsApi.getReportsForToday({reportTypes:this.$reportTypes(),maxCount:5}).pipe(Ke$3(e=>this.$reports.set(e)),k$3(()=>N$4(null)),Ke$3(()=>this.$loading.set(false)),ft$2(this.unsubscribe$)).subscribe());}refreshCount(){this.legacyReportsApi.getTotalReportCount({reportTypes:this.$reportTypes()}).pipe(Ke$3(e=>this.$count.set(e)),k$3(()=>N$4(null)),ft$2(this.unsubscribe$)).subscribe();}static{this.\u0275fac=(()=>{let e;return function(n){return (e||(e=_t$1(r)))(n||r)}})();}static{this.\u0275cmp=It({type:r,selectors:[["rpr-reports-badge"]],hostVars:2,hostBindings:function(i,n){i&2&&wt("is-hidden",!n.$count());},inputs:{$count:[1,"count","$count"],$reportTypes:[1,"reportTypes","$reportTypes"]},outputs:{$count:"countChange"},features:[Ee$2],decls:14,vars:11,consts:[["badge",""],["badgeDetails",""],["type","button",1,"reports-badge",3,"click"],["cssClass","site-header-mode",3,"toggled","targetElement","width","offsetTop","hideArrow"],[1,"is-flex","reports-badge-details"],[1,"left-column","flex-item-no-resize"],[1,"fa-light","fa-circle-exclamation"],[1,"right-column","flex-item-extended"],[1,"rows"],[1,"textSpinner2","margin-bottom-3"],[3,"class"],[1,"margin-bottom-3"],[1,"break-word"],[1,"status"],[1,"fa-light","fa-spinner-third","spinner"],[1,"fa-light","fa-ban"],["target","_blank",3,"href"],[1,"red-600"],[1,"fa-light","fa-download"]],template:function(i,n){if(i&1){let c=Uc();mt$1(0,"button",2,0),gt$1("click",function(){ks(c);let P=CC(4);
2403return Os(P.toggle())}),$c(2),bt$2(),mt$1(3,"rpr-balloon",3,1),gt$1("toggled",function(P){return n.onDetailsToggled(P)}),mt$1(5,"section",4)(6,"div",5),Bn$1(7,"i",6),bt$2(),mt$1(8,"div",7)(9,"h1"),$c(10),bt$2(),mt$1(11,"div",8),_i(12,Xr,3,1)(13,en,2,0,"div",9),bt$2()()()();}if(i&2){let c=CC(1);wt("use-smaller-text",n.$count()>=10&&n.$count()<100)("use-smallest-text",n.$count()>=100),Ut$1(2),SC(" ",n.$count(),` 2404`),Ut$1(),xn$1("targetElement",c)("width",500)("offsetTop",-10)("hideArrow",true),Ut$1(7),SC("Reports requested today: ",n.$count()),Ut$1(2),bi(n.$reports()?12:13);}},dependencies:[ve,o$1],styles:["[_nghost-%COMP%]{position:relative;display:flex;cursor:auto}.reports-badge[_ngcontent-%COMP%]{animation:fadein .5s;background-color:#eb721b;border:0;border-radius:50%;font-size:15px}.reports-badge.use-smaller-text[_ngcontent-%COMP%]{font-size:14px}.reports-badge.use-smallest-text[_ngcontent-%COMP%]{font-size:11px}.reports-badge[_ngcontent-%COMP%]{font-weight:500;text-align:center;color:#fff;cursor:pointer;height:23px;width:23px;line-height:23px;padding:0;overflow:hidden}.reports-badge[_ngcontent-%COMP%]:hover{background-color:#cf5715}@media screen and (min-width:1202px)and (max-width:1393px){.reports-badge[_ngcontent-%COMP%]{font-size:13px}.reports-badge.use-smaller-text[_ngcontent-%COMP%]{font-size:12px}.reports-badge.use-smallest-text[_ngcontent-%COMP%]{font-size:10px}.reports-badge[_ngcontent-%COMP%]{width:21px;height:21px;line-height:21px}}@media screen and (max-width:1201px){.reports-badge[_ngcontent-%COMP%]{font-size:12px}.reports-badge.use-smaller-text[_ngcontent-%COMP%]{font-size:11px}.reports-badge.use-smallest-text[_ngcontent-%COMP%]{font-size:9px}.reports-badge[_ngcontent-%COMP%]{width:18px;height:18px;line-height:18px}}.reports-badge-details[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%]{background-color:#eb721b;color:#fff;text-align:center;font-size:34px;width:75px;display:flex;justify-content:center;align-items:center}.reports-badge-details[_ngcontent-%COMP%] .right-column[_ngcontent-%COMP%]{padding:20px 30px}.reports-badge-details[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:700;font-size:24px}.reports-badge-details[_ngcontent-%COMP%] .rows[_ngcontent-%COMP%]{padding:15px 0 10px}.reports-badge-details[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{padding:5px 15px;margin:0 -15px;color:#3f4955;cursor:default}.reports-badge-details[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3f4955}.reports-badge-details[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:hover{background-color:#f5f7fa;color:#0070c1}.reports-badge-details[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#0070c1}.reports-badge-details[_ngcontent-%COMP%] .row.failed[_ngcontent-%COMP%]:hover{color:#de4329}.reports-badge-details[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .status[_ngcontent-%COMP%]{font-size:.8em}.reports-badge-details[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{animation:spinAround 2s infinite linear}"]});}}return r})();var Er=r=>({text:"Top",icon:"angle-up",handleClick:r}),tn=r=>({text:"Bottom",icon:"angle-down",handleClick:r});function rn(r,t){if(r&1){let e=Uc();mt$1(0,"button",2),gt$1("click",function(){let n=ks(e).handleClick;return Os(n())}),$c(1),Bn$1(2,"i"),bt$2();}if(r&2){let e=t.text,i=t.icon;Ut$1(),SC(" ",e," "),Ut$1(),wd(i);}}function nn(r,t){}function on(r,t){if(r&1&&Pc(0,nn,0,0,"ng-template",1),r&2){let e=Mn$1(),i=CC(1);xn$1("ngTemplateOutlet",i)("ngTemplateOutletContext",Mq(2,Er,e.scrollToTop));}}function an(r,t){}function sn(r,t){}function ln(r,t){if(r&1&&(mt$1(0,"p",3),Pc(1,an,0,0,"ng-template",1),bt$2(),Bn$1(2,"hr"),mt$1(3,"p",3),Pc(4,sn,0,0,"ng-template",1),bt$2()),r&2){let e=Mn$1(),i=CC(1);Ut$1(),xn$1("ngTemplateOutlet",i)("ngTemplateOutletContext",Mq(4,Er,e.scrollToTop)),Ut$1(3),xn$1("ngTemplateOutlet",i)("ngTemplateOutletContext",Mq(6,tn,e.scrollToBottom));}}var Sr=(()=>{class r extends xB{constructor(){super(...arguments),this.$searchResultsInView=Q$6(false),this.$pageHasBottomFloatingPagination=Q$6(false),this.analytics=
2404h$5(SB),this.events=h$5(Xo),this.routeInfo=h$5(r$1),this.scrollToTop=()=>{this.track(G6.Top),Ht$1.window.scrollTo(0,0);},this.scrollToBottom=()=>{this.track(G6.Bottom);let{window:e,document:i}=Ht$1;e.scrollTo(0,i.body.scrollHeight);};}ngOnInit(){this.$searchResultsInView.set(this.evaluateSearchResultsInView(location.href)),this.$pageHasBottomFloatingPagination.set(this.routeInfo.hasBottomFloatingPagination),this.events.on(Ti.NavigationEnd).pipe(Ke$3(({url:e})=>{this.$searchResultsInView.set(this.evaluateSearchResultsInView(e)),this.$pageHasBottomFloatingPagination.set(this.routeInfo.hasBottomFloatingPagination);}),ft$2(this.unsubscribe$)).subscribe();}evaluateSearchResultsInView(e){return e?.includes(VX)||e?.includes(eB)}track(e){this.analytics.trackEvent(oI.ScrollToTopBottom,[sI.MenuItemName,e]);}static{this.\u0275fac=(()=>{let e;return function(n){return (e||(e=_t$1(r)))(n||r)}})();}static{this.\u0275cmp=It({type:r,selectors:[["rpr-top-bottom"]],hostVars:4,hostBindings:function(i,n){i&2&&wt("search-results-in-view",n.$searchResultsInView())("page-has-bottom-floating-pagination",n.$pageHasBottomFloatingPagination());},features:[Ee$2],decls:4,vars:1,consts:[["btn",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",1,"is-flex","align-items-center","is-justify-content-center","hover-cursor-pointer",3,"click"],[1,"is-flex"]],template:function(i,n){i&1&&(Pc(0,rn,3,3,"ng-template",null,0,jq),_i(2,on,1,4,null,1)(3,ln,5,8)),i&2&&(Ut$1(2),bi(n.$searchResultsInView()?2:3));},dependencies:[eS],encapsulation:2});}}return r})();var Ar=(()=>{class r{constructor(){this.enabled=true,this.el=h$5(me$2),this.events=h$5(Xo);}onClick(e){if(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return;e.preventDefault();let i=this.el.nativeElement.getAttribute("href");this.events.fire(Ti.LegacyNavigationStart,i);}static{this.\u0275fac=function(i){return new(i||r)};}static{this.\u0275dir=q$7({type:r,selectors:[["","rprLegacyLink",""]],hostBindings:function(i,n){i&1&>$1("click",function(p){return n.onClick(p)});},inputs:{enabled:[2,"rprLegacyLink","enabled",He]}});}}return r})();var dn=["siteHeader"],cn=["siteHeaderOuter"],un=["helpQuery"],mn=()=>[import('./chunk-E2NegsCK.js').then(r=>r.LayoutReportsMenu)],hn=()=>[import('./chunk-ChxAQHXh.js').then(function(n){return n.a}).then(r=>r.LearningMenu)],gn=()=>["/properties/search"],Ir=(r,t)=>[r,t],fn=(r,t)=>t.displayText;function vn(r,t){if(r&1&&Bn$1(0,"rpr-maintenance-banner",17),r&2){let e=Mn$1();xn$1("maintenanceMessage",e.siteHeaderInfo?.maintenanceMessage);}}function yn(r,t){r&1&&(mt$1(0,"p",99),$c(1,"Please enter what you need help with"),bt$2());}function bn(r,t){if(r&1){let e=Uc();mt$1(0,"h1",91),$c(1,"Search our Learning Resources"),bt$2(),mt$1(2,"form",92),gt$1("submit",function(n){ks(e);let c=Mn$1();return Os(c.validateHelpForm(n))}),mt$1(3,"div",93)(4,"div",94)(5,"input",95,14),gt$1("input",function(n){ks(e);let c=Mn$1();return Os(c.onHelpQueryInput(n))}),bt$2()(),mt$1(7,"div",96)(8,"button",97),Bn$1(9,"i",98),bt$2()()(),_i(10,yn,2,0,"p",99),bt$2(),mt$1(11,"div",100),Bn$1(12,"i",101),mt$1(13,"div")(14,"div",102)(15,"span",103),$c(16,"Need more help? Call us"),bt$2(),mt$1(17,"span",104),$c(18),bt$2()(),mt$1(19,"div"),$c(20),bt$2()()(),Bn$1(21,"div",50),mt$1(22,"div",105)(23,"div"),Bn$1(24,"i",106),$c(25,"Live chat with Member Support "),bt$2(),mt$1(26,"a",107),gt$1("click",function(){ks(e);let n=Mn$1();return Os(n.helper.openLiveChat())}),$c(27,"Live Chat"),bt$2()(),Bn$1(28,"div",50),mt$1(29,"div",105)(30,"div"),Bn$1(31,"i",108),$c(32,"View more ways to learn by going to our training area "),bt$2(),mt$1(33,"a",109),$c(34,"Training Area"),bt$2()();}if(r&2){let e=Mn$1();Ut$1(2),xn$1("action",e.config.blogBaseUrl,Qh),Ut$1(8),bi(e.$hasHelpFormError()?10:-1),Ut$1(8),bm(e.config.supp
2404ortPhoneNumber),Ut$1(2),bm(e.config.supportHours),Ut$1(13),xn$1("href",`${e.config.blogBaseUrl}/learning/`,Qh);}}function Cn(r,t){r&1&&(mt$1(0,"div",110),Bn$1(1,"i",101),$c(2,"Need more help? Call us "),mt$1(3,"span",111),$c(4,"(844) 728-ICSC (4272)"),bt$2()(),Bn$1(5,"div",50),mt$1(6,"div",105)(7,"div"),Bn$1(8,"i",112),$c(9,"Link to ICSC "),bt$2(),mt$1(10,"a",113),$c(11," ICSC Website "),bt$2()());}function Mn(r,t){r&1&&(mt$1(0,"a",53),$c(1,"[email protected]"),bt$2());}function _n(r,t){if(r&1&&(mt$1(0,"a",54),$c(1),bt$2()),r&2){let e=Mn$1();xn$1("href",`mailto:${e.config.supportEmail}`,Qh),Ut$1(),SC(" ",e.config.supportEmail," ");}}function En(r,t){if(r&1){let e=Uc();mt$1(0,"rpr-learning-menu",115),gt$1("toggleHidingRequested",function(n){ks(e);let c=Mn$1(2);return Os(c.preventLearningMenuHide=n)}),bt$2();}if(r&2){Mn$1();let e=CC(6),i=Mn$1();xn$1("pageType",i.$learningMenuPageType())("isOpen",e.isOpen);}}function Sn(r,t){r&1&&Bn$1(0,"rpr-loading-indicator",116),r&2&&xn$1("enabled",true)("isInline",true);}function An(r,t){if(r&1){let e=Uc();mt$1(0,"li")(1,"a",27,15),gt$1("click",function(){ks(e);let n=CC(6),c=Mn$1();return Os(c.$learningMenuPageType()?n.toggle():"")}),$c(3," Learn "),Bn$1(4,"i",29),bt$2(),mt$1(5,"rpr-balloon",114,16),wR(7,En,1,2)(8,Sn,1,2),Sz(9,7,hn,null,8),Iz(1),bt$2()();}if(r&2){let e=CC(2),i=CC(6),n=Mn$1();Ut$1(),wt("disabled",!n.$learningMenuPageType())("active",i.isOpen)("current",n.$currentMainNavMenuItem()===n.MainNavMenuItem.Learn),xn$1("rprAppcuesEvent","Nav - learn")("omitPropertyMode",true)("rprGA4Event",n.GA4Event.NavMenuLearnClick),Ut$1(3),wt("fa-chevron-down",!i.isOpen)("fa-chevron-up",i.isOpen),Ut$1(),xn$1("targetElement",e)("width",379)("hideArrow",true)("preventHide",n.preventLearningMenuHide)("limitHeightToWindow",true);}}function In(r,t){r&1&&(mt$1(0,"div",55),Th("fade-out-animation"),Ih("bounce-in-up-animation"),bt$2());}function wn(r,t){if(r&1&&Bn$1(0,"img",60),r&2){let e=Mn$1();xn$1("src",e.siteHeaderInfo.userPhotoIconUrl,Qh)("alt",`${e.helper.user?.fullName}'s Photo`);}}function Pn(r,t){if(r&1&&(mt$1(0,"span"),$c(1),bt$2()),r&2){let e=Mn$1();Ut$1(),bm(e.helper.user?.firstName?.substring(0,1));}}function Tn(r,t){r&1&&(mt$1(0,"div",62),$c(1,"Impersonating"),bt$2());}function xn(r,t){if(r&1&&(mt$1(0,"div",64),$c(1),Oq(2,"dashValue"),bt$2()),r&2){let e=Mn$1();Ut$1(),bm(Lq(2,1,e.siteHeaderInfo.userOfficeCityState));}}function kn(r,t){r&1&&(mt$1(0,"div",119),$c(1," For best results, you must update your Agent ID on the Profile page. "),bt$2());}function Rn(r,t){if(r&1&&(mt$1(0,"div",117),Bn$1(1,"i"),mt$1(2,"div"),$c(3,"MLS/CIE Status"),bt$2()(),Bn$1(4,"div",118),_i(5,kn,2,0,"div",119)),r&2){let e=Mn$1();Ut$1(),wd(`org-status org-status-${e.siteHeaderInfo.orgMessagingStatus} margin-right-8`),Ut$1(3),xn$1("innerHTML",e.siteHeaderInfo.orgStatusDescriptionHtml,Js),Ut$1(),bi(e.siteHeaderInfo.displayInvalidAgentIdNotice?5:-1);}}function Nn(r,t){if(r&1){let e=Uc();mt$1(0,"button",120),gt$1("click",function(){ks(e);let n=Mn$1();return Os(n.onStopImpersonating())}),$c(1," Stop Impersonating "),bt$2();}}function Ln(r,t){if(r&1&&(mt$1(0,"a",68),$c(1," Admin "),bt$2()),r&2){let e=Mn$1();xn$1("rprGA4Event",e.GA4Event.NavMenuProfileIconClick)("param1name",e.GA4Param.MenuItemName)("param1value",e.GA4ParamValue.Admin);}}function Dn(r,t){if(r&1&&(mt$1(0,"a",69),$c(1," Broker Tools "),bt$2()),r&2){let e=Mn$1();xn$1("rprAppcuesEvent","Header - data tools")("omitPropertyMode",true)("rprGA4Event",e.GA4Event.NavMenuProfileIconClick)("param1name",e.GA4Param.MenuItemName)("param1value",e.GA4ParamValue.BrokerTools);}}function Hn(r,t){if(r&1&&(mt$1(0,"a",70),$c(1," Association Tools "),bt$2()),r&2){let e=Mn$1();xn$1("rprAppcuesEvent","Header - data tools")("omitPropertyMode",true)("rprGA4Event",e.GA4Event.NavMenuProfileIconClick)("param1name",e.GA4Param.MenuItemName)("param1value",e.GA4ParamValue.AssociationTools);}}function $n(r,t){if(r&1&&(mt$1(0,"a",38),$c(1," MLS Tools "),bt$2()),r&2){let e=Mn$1();xn$1("href",e.buildDataToolsUrl(e.ORGS),Qh)("rprAppcuesEvent","Header - data tools")("omitPropertyMode",true)("rprGA4Event",e.GA4Event.NavMenuProfileIconClick)("param1name",e.GA4Param.MenuItemName)("param1value",e.GA4ParamValue.MLSTools);}}function On(r,t){r&1&&Bn$1(0,"rpr-layout-reports-menu");}function Bn(r,t){r&1&&Bn$1(0,"rpr-loading-indicator",116),r&2&&xn$1("enabled",true)("isInline",true);}function Gn(r,t){if(r&1&&Bn$1(0,"div",123),r&2){let e=Mn$1(2);Dd("background-image",`url(${e.helper.coBrand.footerLogoUrl})`);}}function Vn(r,t){if(r&1&&(mt$1(0,"li")(1,"a",124),$c(2),bt$2()()),r&2){let e=t.$implicit,i=Mn$1(2);Ut$1(),xn$1("href",e.url,Qh)("target",i.helper.coBrand.footerOpenLinksInNewBrowserInstance?"_blank":"_self"),Ut$1(),bm(e.displayText);}}function Fn(r,t){if(r&1&&(mt$1(0,"div",90)(1,"div",121),_i(2,Gn,1,2,"div",122),mt$1(3,"ul",81),vd(4,Vn,3,3,"li",null,fn),bt$2()()()),r&2){let e=Mn$1();Ut$1(2),bi(e.helper.coBrand.footerLogoUrl?2:-1),Ut$1(2),_d(e.helper.coBrand.footerLinks);}}function Un(r,t){r&1&&Bn$1(0,"rpr-top-bottom");}var ce=class r$2 extends xB{constructor(){super(...arguments),this.date=new Date,this.config=E$4.config,this.buildInfo=`Build v${Ff} ${E$4.config.iterationName}`,this.$isHomePage=Q$6(false),this.$hasHelpFormError=Q$6(false),this.$learningMenuPageType=Q$6(null),this.$savedIndicatorShown=Q$6(false),this.$currentMainNavMenuItem=Q$6(null),this.$printDialog=Q$6(false),this.$isBadgeClick=Q$6(false),this.$pageHasFullHeightContent=Q$6(false),this.$pageHasNoFooterMargin=Q$6(false),this.preventLearningMenuHide=false,this.showBrokerDataToolsMenuItem=false,this.showAssociationDataToolsMenuItem=false,this.showOrgDataToolsMenuItem=false,this.ICONS=VVe,this.ORGS=WX,this.Assets=r,this.GA4Event=oI,this.GA4Param=sI,this.GA4ParamValue=G6,this.MainNavMenuItem=o$5,this.MapToolType=v$1,this.MyWorkMenuItem=a$4,this.OrgMessagingStatus=$a,this.Permission=e$1,this.PropertyMode=zo,this.QueryStringKeys=H$3,this.buildCommercialSiteSelectionUrl=JVe,this.buildQueryParams=$Ve,this.buildDataToolsUrl=Rje,this.helper=h$5(ue$3),this.$siteHeaderEl=she("siteHeader"),this.$siteHeaderOuterEl=she("siteHeaderOuter"),this.$helpQueryEl=she("helpQuery"),this.cd=h$5(dn$1),this.legacyReportsHelper=h$5(_e),this.authManager=h$5(Se$2),this.route=h$5(Ii),this.router=h$5(Qr$1),this.routerHelper=h$5(B$2),this.routeInfo=h$5(r$1),this.events=h$5(Xo),this.renderer=h$5(Vt$2),this.elementHelper=h$5(V),this.dialog=h$5(vf),this.cacheLayer=h$5(as),this.miscApi=h$5(IB),this.cookieService=h$5(Bf),this.isFixedPos=false,this.isWindowScrolled=false,this.isWindowScrolledToBottom=false,this.hasInitializedLayout=false,this.$pageHasFixedContent=Q$6(false);}get isIcscUser(){return this.helper.user?.isIcscUser}get impersonatedLoginEmailFromCookies(){return this.cookieService.get(ut$2.ImpersonatedLoginEmail)}ngOnInit(){(E$4.config.environment!==oa.Prod||!E$4.deployed)&&(this.buildInfo+=` (using ${oa[E$4.config.environment]}
2404 api)`),this.siteHeaderInfo=this.route.snapshot.data.siteHeader,this.showBrokerDataToolsMenuItem=this.helper.user?.hasAccessToAny(e$1.AccessDataToolsBrokerAdminTab,e$1.AccessDataToolsBrandAdminTab,e$1.PublishBrokerAvmWidgets,e$1.PublishBrandAvmWidgets,e$1.EditBrokerAvmWidgets,e$1.EditBrandAvmWidgets,e$1.AccessBrokerDeepLinks,e$1.AccessBrandDeepLinks),this.showAssociationDataToolsMenuItem=this.helper.user?.hasAccessToAny(e$1.AccessAssociationDataTools,e$1.AccessEconomicAreaReports,e$1.AccessHousingReports),this.showOrgDataToolsMenuItem=this.helper.user?.hasAccessToAny(e$1.AccessOrgDataTools),this.currentImpersonatedLoginEmail=this.lastCheckedImpersonatedLoginEmail=this.impersonatedLoginEmailFromCookies,this.$pageHasNoFooterMargin.set(this.routeInfo.hasNoFooterMargin);let{body:t}=Ht$1.document;this.events.on(Ti.WindowScroll).pipe(Ke$3(()=>this.updateLayout()),Ke$3(()=>this.elementHelper.toggleClass(t,"scroll-stopped",this.isWindowScrolledToBottom)),oi(4e3),Ke$3(()=>{Ht$1.document.documentElement.scrollTop&&this.elementHelper.toggleClass(t,"scroll-stopped",true);}),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.WindowResize).pipe(ft$2(this.unsubscribe$)).subscribe(()=>{this.updateLayout(),this.updateSiteHeaderHeight();}),this.events.on(Ti.UpdateSiteHeaderInfo).pipe(Ke$3(()=>this.updateSiteHeaderInfo()),ft$2(this.unsubscribe$)).subscribe(),this.legacyReportsHelper.startMonitoring(),this.showWarningsAndNotifications(),this.helper.signedInUser?.hasAccessToAll(e$1.ImpersonateUsers)&&this.events.on(Ti.EverySecond).pipe(Ne$1(()=>this.lastCheckedImpersonatedLoginEmail!==this.impersonatedLoginEmailFromCookies),Ke$3(e=>{if(this.lastCheckedImpersonatedLoginEmail=this.impersonatedLoginEmailFromCookies,this.impersonationWarningDialogRef&&(this.impersonationWarningDialogRef.close(),this.impersonationWarningDialogRef=null),this.currentImpersonatedLoginEmail!==this.lastCheckedImpersonatedLoginEmail){let i;this.currentImpersonatedLoginEmail?this.lastCheckedImpersonatedLoginEmail?i=`Impersonation of a different user has started in a different tab or window. 2405 This page can no longer be used.`:i="Impersonation was ended in a different tab or window. This page can no longer be used.":i=`Impersonation started in a different tab or window. 2406 You must stop impersonation of this user before continuing to use this page.`,this.impersonationWarningDialogRef=this.helper.showStatusDialog({heading:"Impersonation Warning!",message:i,maxWidth:400,dialogType:zn.Warning,canDismiss:false,buttons:[{text:"Go to Homepage",href:"/"}]});}}),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.NavigationEnd).pipe(Br$1(0),Ke$3
2406(e=>{this.$pageHasFixedContent.set(this.routeInfo.hasFixedContent),this.$pageHasFullHeightContent.set(this.routeInfo.hasFullHeightContent),this.$learningMenuPageType.set(this.helper.propertyMode===zo.Commercial?this.routeInfo.commercialLearningMenuPageType:this.routeInfo.residentialLearningMenuPageType),this.$currentMainNavMenuItem.set(this.routeInfo.mainMenuItem);}),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.NavigationEnd).pipe(Ke$3(e=>this.$isHomePage.set(e?.url?.startsWith("/home"))),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.UpdateLearningMenu).pipe(Ke$3(e=>this.$learningMenuPageType.set(e)),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.EntitySavedChange).pipe(Ne$1(e=>(e.propertyId||e.searchCriteriaId)&&e.isSaved),Be(()=>(this.$savedIndicatorShown.set(true),Fr$1(4e3))),Ke$3(()=>this.$savedIndicatorShown.set(false)),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.PrintDialogOpen).pipe(Ke$3(()=>this.$printDialog.set(true)),ft$2(this.unsubscribe$)).subscribe(),this.events.on(Ti.PrintDialogClose).pipe(Ke$3(()=>this.$printDialog.set(false)),ft$2(this.unsubscribe$)).subscribe();}ngAfterViewInit(){setTimeout(()=>this.updateLayout(),100);}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete(),this.legacyReportsHelper.stopMonitoring();let{body:t}=Ht$1.document;this.elementHelper.toggleClass(t,"sh-fixed",false),this.elementHelper.toggleClass(t,"window-scrolled",false),this.elementHelper.toggleClass(t,"scroll-stopped",false),this.elementHelper.toggleClass(t,"window-scrolled-to-bottom",false);}onStopImpersonating(){this.helper.impersonatedLoginEmail=null,this.helper.dataToolsBrokerId=null,this.helper.dataToolsBrandId=null,this.helper.dataToolsAssociationId=null,this.helper.dataToolsOrgId=null,this.coBrandCode=null,this.cacheLayer.clearAll();let t=()=>{Ht$1.window.close(),setTimeout(()=>{let e=this.router.parseUrl(this.router.url);delete e.queryParams[H$3.ImpersonatedLoginEmail],delete e.queryParams[H$3.CoBrandCode],delete e.queryParams[H$3.SearchCriteriaId],Ht$1.window.location.replace(e.toString());},100);};this.authManager.setUsersFromStorageAsync().then(t).catch(t);}onHelpQueryInput(t){t.target.value.trim()&&this.$hasHelpFormError()&&this.$hasHelpFormError.set(false);}validateHelpForm(t){if(this.$hasHelpFormError.set(!this.$helpQueryEl().nativeElement.value.trim()),this.$hasHelpFormError()){this.$helpQueryEl().nativeElement.focus(),t.preventDefault();return}}getQueryParamObject(t){return {[H$3.MyWorkMenuItem]:t}}showConsentPreferencesDialog(){this.dialog.open(rt$1);}updateLayout(){let{innerWidth:t}=Ht$1.window,{body:e,documentElement:{scrollTop:i,scrollHeight:n,clientHeight:c}}=Ht$1.document,p=i+c,P=i>=0&&!E$4.isMobileDevice&&!this.$pageHasFixedContent()&&t>=1202;(P&&!this.isFixedPos||!P&&this.isFixedPos)&&(this.hasInitializedLayout||(this.hasInitializedLayout=true,this.renderer.setStyle(this.$siteHeaderEl().nativeElement,"height",`${this.$siteHeaderOuterEl().nativeElement.offsetHeight}px`)),this.isFixedPos=P,this.elementHelper.toggleClass(e,"sh-fixed",this.isFixedPos));let X=i>0;(this.isWindowScrolled&&i===0||!this.isWindowScrolled&&X)&&(this.isWindowScrolled=X,this.elementHelper.toggleClass(e,"window-scrolled",this.isWindowScrolled));let k=i&&p>=Math.floor(n)-1;(this.isWindowScrolledToBottom&&p<e.scrollHeight||!this.isWindowScrolledToBottom&&k)&&(this.isWindowScrolledToBottom=k,this.elementHelper.toggleClass(e,"window-scrolled-to-bottom",this.isWindowScrolledToBottom));}updateSiteHeaderHeight(){this.$siteHeaderEl().nativeElement.offsetHeight!==this.$siteHeaderOuterEl().nativeElement.offsetHeight&&this.renderer.setStyle(this.$siteHeaderEl().nativeElement,"height",`${this.$siteHeaderOuterEl().nativeElement.offsetHeight}px`);}updateSiteHeaderInfo(){this.miscApi.getSiteHeaderInfo().pipe(Ke$3(t=>{this.siteHeaderInfo=t,this.cd.markForCheck();}),ft$2(this.unsubscribe$)).subscribe();}showWarningsAndNotifications(){let t=new G$3,e=n=>{if(!n){t.next();return}n.afterClosed().pipe(Ke$3(()=>t.next()),ft$2(this.unsubscribe$)).subscribe();},i=[()=>e(this.showSessionSharingWarning()),()=>e(this.showAccountAboutToExpireWarning()),()=>e(this.showInvalidAgentIdWarning()),()=>
2406e(this.showAssistantsDisallowedNotice()),()=>e(this.showMultipleImpersonationsWarning())];!this.helper.hasDisplayedExpiringAssistantsNotice&&this.helper.userSettings.assistantsAboutToExpire?.length&&(this.helper.userSettings.assistantsAboutToExpire.forEach(n=>i.push(()=>e(this.dialog.open(Mr,{data:n})))),this.helper.hasDisplayedExpiringAssistantsNotice=true),t.pipe(Ne$1(()=>!!i.length),Ke$3(n=>i.shift()()),ft$2(this.unsubscribe$)).subscribe(),t.next();}showSessionSharingWarning(){return this.helper.hasSingleSessionUserBeenSignedInElsewhere?(this.helper.hasSingleSessionUserBeenSignedInElsewhere=null,this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Another user detected...",message:"Another user is currently signed in with this account elsewhere, and has been signed out.",maxWidth:500})):null}showAccountAboutToExpireWarning(){let t=this.helper.signedInUser?.expirationDate;return !t||!this.helper.signedInUser?.isAssistant||this.helper.hasDisplayedAccountExpirationNotice||Zl(t,new Date)>30?null:(this.helper.hasDisplayedAccountExpirationNotice=true,this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Your account is expiring",message:`Your assistant account ${fUe(t)}.<br/> 2407 Please remind the primary account holder to renew this account for another year by logging in to RPR.`,maxWidth:500}))}showInvalidAgentIdWarning(){return this.helper.hasDisplayedInvalidAgentIdNotice||!this.helper.userSettings.hasInvalidAgentIds?null:(this.helper.hasDisplayedInvalidAgentIdNotice=true,this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Your MLS Agent ID does not match our records.",message:"Please go to your Profile and check your entry.",maxWidth:500,buttons:[{text:"Go to Profile",click:()=>this.routerHelper.navigateByUrl("/profile-settings/profile")}]}))}showAssistantsDisallowedNotice(){return !this.helper.userSettings.hasDisallowedAssistants||this.helper.userSettings.hasDisallowedAssistantsNoticeBeenDisplayed?null:(this.setUserSetting(br.HasDisallowedAssistantsNoticeBeenDisplayed,true),this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Your assistants are now disallowed...",message:`At least one of your MLSs or CIEs has recently disallowed assistant accounts. 2408 This means that your assistants will no longer be able to sign in to RPR.`,maxWidth:500}))}showMultipleImpersonationsWarning(){return this.isMultipleImpersonationAttempted?(this.isMultipleImpersonationAttempted=null,this.helper.showStatusDialog({dialogType:zn.Warning,heading:"Attempt to impersonate multiple users simultaneously...",message:`Another user is currently being impersonated. 2409 You must stop impersonation of this user before attempting to impersonate another user.`,maxWidth:500})):null}static{this.\u0275fac=(()=>{let t;return function(i){return (t||(t=_t$1(r$2)))(i||r$2)}})();}static{this.\u0275cmp=It({type:r$2,selectors:[["rpr-layout"]],viewQuery:function(e,i){e&1&&LR(i.$siteHeaderEl,dn,5)(i.$siteHeaderOuterEl,cn,5)(i.$helpQueryEl,un,5),e&2&&Yz(3);},hostVars:8,hostBindings:function(e,i){e&2&&wt("is-flex",!i.$printDialog())("flex-column",!i.$printDialog())("has-full-height-content",i.$pageHasFullHeightContent())("print-dialog",i.$printDialog());},features:[Ee$2],decls:202,vars:299,consts:[["siteHeader",""],["siteHeaderOuter",""],["researchItem",""],["researchMenu",""],["marketingItem",""],["marketingMenu",""],["reportsItem",""],["helpItem",""],["helpMenu",""],["myWorkItem",""],["myWorkMenu",""],["profileItem",""],["profileMenu",""],["reportsMenu",""],["helpQuery",""],["learningItem",""],["learningMenu",""],[3,"maintenanceMessage"],[1,"siteHeader","is-hidden-print"],[1,"siteHeaderOuter"],[1,"siteHeaderInner","container"],[1,"is-flex","align-items-center","justify-content-between","header-content"],["routerLink","/",1,"header-logo"],[1,"header-menu","is-flex"],[1,"is-sr-only"],[1,"is-flex"],["routerLink","/",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event"],[3,"click","rprAppcuesEvent","omitPropertyMode","rprGA4Event"],[1,"fa-regular","fa-magnifying-glass","icon"],[1,"fa-light"],["cssClass","site-header-mode",3,"targetElement","width","hideArrow"],[1,"menu-items"],["routerLink","/properties/search/property-landing",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/properties/search",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/market-trends",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/neighborhoods/search",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/schools/search",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/properties/search/market-activity",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],[3,"href","rprLegacyLink","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/neighborhoods/trade-areas",3,"click","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],[3,"routerLink","queryParams","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],[1,"has-icon",3,"rprVideoLink","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],[1,"fa-light","fa-circle-play","larger-icon"],[3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/market-trends",1,"has-icon","ai-scriptwriter",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/neighborhoods/trade-areas",1,"has-icon","ai-scriptwriter",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["id","SiteMenu_Reports",3,"click","rprAppcuesEvent","omitPropertyMode","rprGA4Event"],[3,"click","count"],["cssClass","site-header-mode",3,"targetElement","hideArrow","width","align"],[1,"help-content"],[1,"gray-separator-41"],[1,"is-flex","align-items-baseline","margin-top-10","margin-bottom-10","semi-bold"],[1,"fa-light","fa-envelope-open-text","margin-right-7","gray-600","larger-icon"],["href","mailto:[email protected]",1,"padding-left-5"],[1,"padding-left-5",3,"href"],[1,"saved-indicator"],["cssClass","site-header-mode",3,"targetElement","hideArrow","width"],["routerLink","/home",3,"queryParams","skipLocationChange","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],[1,"user-photo",3,"click","rprAppcuesEvent","omitPropertyMode","rprGA4Event"],[1,"user-photo-wrapper"],[3,"src","alt"],[3,"targetElement","hideArrow","cssClass","width","right"],[1,"is-uppercase","impersonating-label"],[1,"user-name"],[1,"user-location"],["type","button",1,"button","is-info","is-outlined","margin-top-10","margin-bottom-5"],["routerLink","/profile-settings/profile",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/profile-settings/sett
2409ings",3,"rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/admin",3,"rprGA4Event","param1name","param1value"],["href","/data-tools/brokers",3,"rprLegacyLink","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["href","/data-tools/associations",3,"rprLegacyLink","rprAppcuesEvent","omitPropertyMode","rprGA4Event","param1name","param1value"],["routerLink","/auth/sign-out",1,"sign-out",3,"rprGA4Event","param1name","param1value"],["cssClass","site-header-mode",3,"targetElement","offsetTop","left","right","hideArrow","limitHeightToWindow"],[1,"padding-bottom-20","siteFooterContainer","is-hidden-print"],[1,"container"],[1,"columns","is-vcentered","is-mobile"],[1,"is-relative","column","is-flex","align-items-center","legal"],["alt","RPR logo in black and white",1,"flex-item-no-resize","footer-logo","padding-right-10",3,"src"],["datetime","2009"],[1,"has-text-centered","is-hidden-print"],[1,"column"],[1,"is-flex","align-items-center","justify-content-end"],["target","_blank","rprExternalLink","",3,"href"],["href","/terms-of-use",3,"click"],["href","/privacy-policy",3,"click"],[3,"click"],[1,"margin-right-10","no-separator"],["href","https://www.facebook.com/groups/rpr.connect/","target","_blank","rprExternalLink","",1,"facebook","flex-item-no-resize"],["href","https://www.instagram.com/rpr.app/","target","_blank","rprExternalLink","",1,"instagram","flex-item-no-resize"],["href","http://www.realtor.org/membership/how-to-join-nar","target","_blank","rprExternalLink","",1,"realtor","flex-item-no-resize"],[1,"container","coBrandFooter"],[1,"is-uppercase"],["ngNoForm","","target","_blank",3,"submit","action"],[1,"field","has-addons"],[1,"control","flex-item-extended"],["type","text","name","s","maxlength","90","placeholder","Enter what you need help with (e.g., Reset Password)","aria-label","Help keywords",1,"input","is-primary",3,"input"],[1,"control"],["type","submit","aria-label","Search",1,"button","is-primary"],[1,"fa-regular","fa-magnifying-glass"],[1,"help","is-danger"],[1,"is-flex","align-items-baseline","margin-top-30"],[1,"fa-light","fa-phone-office","margin-right-7","gray-600","larger-icon"],[1,"is-flex","align-items-baseline","semi-bold","margin-bottom-5"],[1,"nowrap","is-flex","align-items-baseline"],[1,"padding-left-5","support-phone","nowrap"],[1,"is-flex","align-items-center","justify-content-between","semi-bold"],[1,"fa-light","fa-comments","margin-right-7","gray-600","larger-icon"],[1,"button","is-primary","is-outlined","action-button","flex-item-no-resize",3,"click"],[1,"fa-light","fa-books","margin-right-7","gray-600","larger-icon"],["target","_blank",1,"button","is-primary","is-outlined","action-button","flex-item-no-resize",3,"href"],[1,"is-flex","align-items-baseline","margin-bottom-30","semi-bold"],[1,"padding-left-5","support-phone"],[1,"fa-light","fa-globe","margin-right-7","gray-600","larger-icon"],["href","https://www.icsc.com/marketplacesiq","target","_blank",1,"button","is-primary","is-outlined","action-button","flex-item-no-resize"],["cssClass","site-header-mode",3,"targetElement","width","hideArrow","preventHide","limitHeightToWindow"],[3,"toggleHidingRequested","pageType","isOpen"],[1,"is-block","padding-top-30","padding-bottom-30",3,"enabled","isInline"],[1,"is-flex","align-items-center","margin-top-5"],[1,"org-status-descr",3,"innerHTML"],[1,"org-status-descr"],["type","button",1,"button","is-info","is-outlined","margin-top-10","margin-bottom-5",3,"click"],[1,"is-flex","align-items-center","justify-content-between"],[1,"coBrandFooterLogo","flex-item-no-resize",3,"backgroundImage"],[1,"coBrandFooterLogo","flex-item-no-resize"],[3,"href","target"]],template:function(e,i){if(e&1){let n=Uc();_i(0,vn,1,1,"rpr-maintenance-banner",17),mt$1(1,"header",18,0)(3,"div",19,1)(5,"div",20)(6,"div",21)(7,"a",22),$c(8),bt$2(),mt$1(9,"nav",23)(10,"h1",24),$c(11,"Site Navigation"),bt$2(),mt$1(12,"ul",25)(13,"li")(14,"a",26),$c(15,"Home"),bt$2()(),mt$1(16,"li")(17,"a",27,2),gt$1("click",function(){ks(n);let p=CC(23);return Os(p.toggle())}),Bn$1(19,"i",28),$c(20," Research "),Bn$1(21,"i",29),bt$2(),mt$1(22,"rpr-balloon",30,3)(24,"section",31)(25,"a",32),$c(26," Property Search "),bt$2(),mt$1(27,"a",33),$c(28," Map Search "),bt$2(),mt$1(29,"a",34),$c(30," Residential Market Trends "),bt$2(),mt$1(31,"a",35),$c(32," Neighborhood Search "),bt$2(),mt$1(33,"a",36),$c(34," School Search "),bt$2(),mt$1(35,"a",37),$c(36," Residential Market Activity Search "),bt$2(),mt$1(37,"a",38),$c(38," Commercial Site Selection "),bt$2(),mt$1(39,"a",39),gt$1("click",function(){return i.helper.ensureCommercialMode()}),$c(40," Commercial Trade Areas "),bt$2(),mt$1(41,"a",40),$c(42," Commercial Map Insights "),bt$2(),mt$1(43,"a",41),Bn$1(44,"i",42),$c(45,"How to Research "),bt$2()()()(),mt$1(46,"li")(47,"a",27,4),gt$1("click",function(){ks(n);let p=CC(52);return Os(p.toggle())}),$c(49," Marketing "),Bn$1(50,"i",29),bt$2(),mt$1(51,"rpr-balloon",30,5)(53,"section",31)(54,"a",43),$c(55," Prospecting for Residential Clients "),bt$2(),mt$1(56,"a",43),$c(57," Prospecting for Commercial Clients "),bt$2(),mt$1(58,"a",44),Bn$1(59,"i"),$c(60,"Residential Market Trends AI ScriptWriter "),bt$2(),mt$1(61,"a",45),Bn$1(62,"i"),$c(63,"Commercial Trade Areas AI ScriptWriter "),bt$2(),mt$1(64,"a",41),Bn$1(65,"i",42),$c(66,"RPR Marketing Tips "),bt$2()()()(),mt$1(67,"li")(68,"a",46,6),gt$1("click",function(){ks(n);let p=CC(146);return Os(i.$isBadgeClick()?i.$isBadgeClick.set(false):p?.toggle(
2409))}),$c(70," Reports "),mt$1(71,"rpr-reports-badge",47),gt$1("click",function(){return ks(n),CC(146)?.hide(),Os(i.$isBadgeClick.set(true))}),bt$2(),Bn$1(72,"i",29),bt$2()(),mt$1(73,"li")(74,"a",27,7),gt$1("click",function(){ks(n);let p=CC(79);return Os(p.toggle())}),$c(76," Help "),Bn$1(77,"i",29),bt$2(),mt$1(78,"rpr-balloon",48,8)(80,"section",49),_i(81,bn,35,5),_i(82,Cn,12,0),Bn$1(83,"div",50),mt$1(84,"div",51),Bn$1(85,"i",52),$c(86,"Send us an email at "),_i(87,Mn,2,0,"a",53)(88,_n,2,2,"a",54),bt$2()()()(),_i(89,An,11,18,"li"),mt$1(90,"li")(91,"a",27,9),gt$1("click",function(){ks(n);let p=CC(97);return Os(p.toggle())}),$c(93," My Work "),Bn$1(94,"i",29),bt$2(),_i(95,In,1,0,"div",55),mt$1(96,"rpr-balloon",56,10)(98,"section",31)(99,"a",57),$c(100," My Markets "),bt$2(),mt$1(101,"a",57),$c(102," My Listings "),bt$2(),mt$1(103,"a",57),$c(104," My Saved Properties "),bt$2(),mt$1(105,"a",57),$c(106," My Recent Properties "),bt$2(),mt$1(107,"a",57),$c(108," My Reports "),bt$2(),mt$1(109,"a",57),$c(110," My Notes "),bt$2(),mt$1(111,"a",57),$c(112," My Saved Searches "),bt$2(),mt$1(113,"a",57),$c(114," My Recent Searches "),bt$2(),mt$1(115,"a",41),Bn$1(116,"i",42),$c(117,"Intro to My Work "),bt$2()()()(),mt$1(118,"li")(119,"a",58,11),gt$1("click",function(){ks(n);let p=CC(126);return Os(p.toggle())}),mt$1(121,"div",59),_i(122,wn,1,2,"img",60)(123,Pn,2,1,"span"),bt$2(),Bn$1(124,"i",29),bt$2(),mt$1(125,"rpr-balloon",61,12)(127,"section"),_i(128,Tn,2,0,"div",62),mt$1(129,"div",63),$c(130),bt$2(),_i(131,xn,3,3,"div",64),_i(132,Rn,6,4),_i(133,Nn,2,0,"button",65),bt$2(),mt$1(134,"section",31)(135,"a",66),$c(136," Profile "),bt$2(),mt$1(137,"a",67),$c(138," Settings "),bt$2(),_i(139,Ln,2,3,"a",68),_i(140,Dn,2,5,"a",69),_i(141,Hn,2,5,"a",70),_i(142,$n,2,6,"a",38),mt$1(143,"a",71),$c(144,"Sign Out"),bt$2()()()()()()(),mt$1(145,"rpr-balloon",72,13),wR(147,On,1,0)(148,Bn,1,2),Sz(149,147,mn,null,148),Iz(68),bt$2()()()(),mt$1(151,"main"),Bn$1(152,"router-outlet"),bt$2(),mt$1(153,"footer",73)(154,"div",74)(155,"div",75)(156,"section",76),Bn$1(157,"img",77),mt$1(158,"small"),$c(159," \xA9 "),mt$1(160,"time",78),$c(161,"2009"),bt$2(),$c(162,"-"),mt$1(163,"time"),Oq(164,"date"),$c(165),Oq(166,"date"),bt$2(),$c(167," Realtors Property Resource"),mt$1(168,"sup"),$c(169,"\xAE"),bt$2(),$c(170,", LLC. All rights reserved. "),bt$2(),mt$1(171,"aside",79),$c(172),bt$2()(),mt$1(173,"section",80)(174,"ul",81)(175,"li")(176,"a",82),$c(177,"About RPR"),bt$2()(),mt$1(178,"li")(179,"a",83),gt$1("click",function(p){return ks(n),p.preventDefault(),Os(i.helper.showTermsOfUseDialog())}),$c(180,"Terms of Use"),bt$2()(),mt$1(181,"li")(182,"a",84),gt$1("click",function(p){return ks(n),p.preventDefault(),Os(i.helper.showPrivacyPoliciesDialog())}),$c(183,"Privacy Policies"),bt$2()(),mt$1(184,"li")(185,"a",85),gt$1("click",function(p){return ks(n),p.preventDefault(),Os(i.showConsentPreferencesDialog())}),$c(186,"Your Privacy Choices"),bt$2()(),mt$1(187,"li")(188,"a",82),$c(189,"Blog"),bt$2()(),mt$1(190,"li",86)(191,"a",87),$c(192,"Facebook"),bt$2()(),mt$1(193,"li",86)(194,"a",88),$c(195,"Instagram"),bt$2()(),mt$1(196,"li")(197,"a",89),$c(198,"REALTOR"),bt$2()()()()()(),_i(199,Fn,6,1,"div",90),_i(200,Un,1,0,"rpr-top-bottom"),bt$2(),Bn$1(201,"rpr-privacy-consent-banner");}if(e&2){let n=CC(18),c=CC(23),p=CC(48),P=CC(52),X=CC(69),k=CC(75),ue=CC(79),L=CC(92),Ze=CC(97),Rr=CC(120),Xe=CC(126),et=CC(146);bi(i.siteHeaderInfo?.maintenanceMessage?.message?0:-1),Ut$1(),wt("is-impersonating",i.helper.isImpersonating),Ut$1(6),Dd("background-image",i.helper.coBrand?.headerLogoUrl?`url(${i.helper.coBrand?.headerLogoUrl})`:null),wt("cobrand-logo",i.helper.coBrand?.headerLogoUrl),Ut$1(),SC(" ",i.helper.coBrand?i.helper.coBrand.coBrandName:"Realtors Property Resource\xAE"," "),Ut$1(6),wt("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.Home),xn$1("rprAppcuesEvent","Nav - home")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuHomeClick),Ut$1(3),wt("active",c.isOpen)("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.Research),xn$1("rprAppcuesEvent","Nav - research")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick),Ut$1(4),wt("fa-chevron-down",!c.isOpen)("fa-chevron-up",c.isOpen),Ut$1(),xn$1("targetElement",n)("width",300)("hideArrow",true),Ut$1(3),xn$1("rprAppcuesEvent","Nav - research property")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.PropertySearch),Ut$1(2),xn$1("rprAppcuesEvent","Nav - research map")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MapSearch),Ut$1(2),xn$1("rprAppcuesEvent","Nav - research market trends")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.ResidentialMarketTrends),Ut$1(2),xn$1("rprAppcuesEvent","Nav - research neighborhood")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.NeighborhoodSearch),Ut$1(2),xn$1("rprAppcuesEvent","Nav - research school")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.SchoolSearch),Ut$1(2),xn$1("rprAppcuesEvent","Nav - research market activity")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.ResidentialMarketActivitySearch),Ut$1(2),xn$1("href",i.buildCommercialSiteSelectionUrl(),Qh)("rprAppcuesEvent","Nav - research site selection")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.CommercialSiteSelection),Ut$1(2),xn$1("rprAppcuesEvent","Nav - research commercial trade areas")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.CommercialTradeAreas),Ut$1(2),xn$1("routerLink",xq(292,gn))("queryParams",i.buildQueryParams(Rq(293,Ir,i.QueryStringKeys.PropertyMode,i.PropertyMode.Commercial),Rq(296,Ir,i.QueryStringKeys.MapToolType,i.MapToolType.DataLayers)))("rprAppcuesEvent","Nav - research map insights")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.CommercialMapInsights),Ut$1(2),xn$1("rprVideoLink","509038486")("rprAp
2409pcuesEvent","Nav - research help")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuResearchClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.HowToResearch),Ut$1(4),wt("active",P.isOpen)("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.Marketing),xn$1("rprAppcuesEvent","Nav - marketing")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMarketingClick),Ut$1(3),wt("fa-chevron-down",!P.isOpen)("fa-chevron-up",P.isOpen),Ut$1(),xn$1("targetElement",p)("width",360)("hideArrow",true),Ut$1(3),xn$1("rprAppcuesEvent","Nav - marketing res prospecting")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMarketingClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.ProspectingForResidentialClients),Ut$1(2),xn$1("rprAppcuesEvent","Nav - marketing com prospecting")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMarketingClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.ProspectingForCommercialClients),Ut$1(2),xn$1("rprAppcuesEvent","Nav - market trends scriptwriter")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMarketingClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.ResidentialMarketTrendsAiScriptWriter),Ut$1(3),xn$1("rprAppcuesEvent","Nav - trade areas scriptwriter")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMarketingClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.CommercialTradeAreasAiScriptWriter),Ut$1(3),xn$1("rprVideoLink","509038907")("rprAppcuesEvent","Nav - marketing help")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMarketingClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.RprMarketingTips),Ut$1(4),wt("active",et?.isOpen)("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.Reports),xn$1("rprAppcuesEvent","Nav - reports")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuReportsClick),Ut$1(3),xn$1("count",i.siteHeaderInfo.todaysReportCount),Ut$1(),wt("fa-chevron-down",!et?.isOpen)("fa-chevron-up",et?.isOpen),Ut$1(2),wt("active",ue.isOpen)("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.Help),xn$1("rprAppcuesEvent","Nav - help")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuHelpClick),Ut$1(3),wt("fa-chevron-down",!ue.isOpen)("fa-chevron-up",ue.isOpen),Ut$1(),xn$1("targetElement",k)("hideArrow",true)("width",i.isIcscUser?500:i.helper.$isBulmaUntilWidescreen()?600:640)("align","center"),Ut$1(3),bi(i.isIcscUser?-1:81),Ut$1(),bi(i.isIcscUser?82:-1),Ut$1(5),bi(i.isIcscUser?87:88),Ut$1(2),bi(i.isIcscUser?-1:89),Ut$1(2),wt("active",Ze.isOpen)("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.MyWork),xn$1("rprAppcuesEvent","Nav - my work")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick),Ut$1(3),wt("fa-chevron-down",!Ze.isOpen)("fa-chevron-up",Ze.isOpen),Ut$1(),bi(i.$savedIndicatorShown()?95:-1),Ut$1(),xn$1("targetElement",L)("hideArrow",true)("width",250),Ut$1(3),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MyMarkets))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my markets")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MyMarkets),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MyListings))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my listings")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MyListings),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MySavedProperties))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my saved properties")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MySavedProperties),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MyRecentProperties))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my recent properties")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MyRecentProperties),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MyReports))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my reports")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MyReports),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MyNotes))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my notes")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MyNotes),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MySavedSearches))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my saved searches")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MySavedSearches),Ut$1(2),xn$1("queryParams",i.getQueryParamObject(i.MyWorkMenuItem.MyRecentSearches))("skipLocationChange",i.$isHomePage())("rprAppcuesEvent","Nav - my recent searches")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.MyRecentSearches),Ut$1(2),xn$1("rprVideoLink","509039544")("rprAp
2409pcuesEvent","Nav - my work help")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuMyWorkClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.IntroToMyWork),Ut$1(4),wt("active",Xe.isOpen)("current",i.$currentMainNavMenuItem()===i.MainNavMenuItem.Profile),xn$1("rprAppcuesEvent","Profile - icon")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuProfileIconClick),Ut$1(3),bi(i.siteHeaderInfo.userPhotoIconUrl?122:123),Ut$1(2),wt("fa-chevron-down",!Xe.isOpen)("fa-chevron-up",Xe.isOpen),Ut$1(),xn$1("targetElement",Rr)("hideArrow",true)("cssClass",`site-header-mode user-info-balloon${i.helper.isImpersonating?" is-impersonating":""}`)("width",290)("right",-10),Ut$1(2),wd(`user-info org-status-${i.siteHeaderInfo.orgMessagingStatus}`),Ut$1(),bi(i.helper.isImpersonating?128:-1),Ut$1(2),bm(i.helper.user?.fullName),Ut$1(),bi(i.siteHeaderInfo.userOfficeCityState?131:-1),Ut$1(),bi(i.siteHeaderInfo.orgMessagingStatus!==i.OrgMessagingStatus.NoMessaging?132:-1),Ut$1(),bi(i.helper.isImpersonating?133:-1),Ut$1(2),xn$1("rprAppcuesEvent","Profile - profile")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuProfileIconClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.Profile),Ut$1(2),xn$1("rprAppcuesEvent","Profile - settings")("omitPropertyMode",true)("rprGA4Event",i.GA4Event.NavMenuProfileIconClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.Settings),Ut$1(2),bi(i.helper.user?.hasAccessToAll(i.Permission.AccessAdminPortal)?139:-1),Ut$1(),bi(i.showBrokerDataToolsMenuItem?140:-1),Ut$1(),bi(i.showAssociationDataToolsMenuItem?141:-1),Ut$1(),bi(i.showOrgDataToolsMenuItem?142:-1),Ut$1(),xn$1("rprGA4Event",i.GA4Event.NavMenuProfileIconClick)("param1name",i.GA4Param.MenuItemName)("param1value",i.GA4ParamValue.SignOut),Ut$1(2),xn$1("targetElement",X)("offsetTop",14)("left",3)("right",3)("hideArrow",true)("limitHeightToWindow",true),Ut$1(8),wt("has-no-footer-margin",i.$pageHasNoFooterMargin()),Ut$1(4),xn$1("src",`${i.ICONS}/${i.Assets.LogoRprBlack}`,Qh),Ut$1(6),Rt("datetime",Fq(164,286,i.date,"yyyy")),Ut$1(2),bm(Fq(166,289,i.date,"yyyy")),Ut$1(7),bm(i.buildInfo),Ut$1(4),xn$1("href",`${i.config.blogBaseUrl}/#about-rpr`,Qh),Ut$1(12),xn$1("href",i.config.blogBaseUrl,Qh),Ut$1(11),bi(i.helper.coBrand?.footerLinks?.length?199:-1),Ut$1(),bi(i.helper.hideTopBottomFeature?-1:200);}},dependencies:[f,ve,h$2,h,Ar,M,Ve,Pe,_r,iI,GS,Cl,Sr,E,o$1,n3],styles:[`html,body{background-color:#eff2f6;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}html [data-lastpass-root],html [data-lastpass-icon-root],body [data-lastpass-root],body [data-lastpass-icon-root]{display:none!important}rpr-layout{min-height:100vh;min-width:993px;position:relative}rpr-layout main{flex:1}rpr-layout.has-full-height-content main{flex:1 1 0%;display:flex;flex-direction:column}rpr-layout.has-full-height-content .siteFooterContainer{display:none}rpr-layout div[data-lastpass-icon-root]{display:none}@media print{rpr-layout{padding-bottom:0!important}rpr-layout.print-dialog{display:none!important}}.siteHeader{box-sizing:content-box}.siteHeader .siteHeaderOuter{background-color:#fff;border-bottom:1px solid rgb(238.655982659,242.1247985136,246.244017341);position:relative;z-index:5}.siteHeader .siteHeaderInner{position:relative;height:72px;padding:0}.siteHeader .header-content{height:100%}.siteHeader a.header-logo{width:140px;height:42px;background-position:left bottom;background-size:contain;background-image:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'362\' height=\'113\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cpath fill=\'%23000\' d=\'M354.417 30.52h1.119q.8 0 1.093-.243a.77.77 0 0 0 .292-.63.8.8 0 0 0-.14-.454.86.86 0 0 0-.392-.299q-.248-.099-.923-.099h-1.05zm-.917 3.21v-5.71h1.959q1.005 0 1.454.159.45.158.717.554.269.392.268.835 0 .626-.447 1.089t-1.185.521q.302.126.486.301.345.34.842 1.133l.698 1.117h-1.124l-.506-.9q-.6-1.061-.964-1.33-.253-.195-.738-.195h-.543v2.425h-.917zm2.324-7.358a4.5 4.5 0 0 0-2.175.571 4.1 4.1 0 0 0-1.653 1.637 4.44 4.44 0 0 0-.599 2.219q0 1.146.583 2.197.59 1.049 1.645 1.636 1.054.587 2.199.589c.76 0 1.497-.198 2.201-.59a4.14 4.14 0 0 0 1.636-1.635q.585-1.051.585-2.197-.002-1.
2409151-.593-2.22a4.1 4.1 0 0 0-1.656-1.636q-1.062-.572-2.173-.571m0-.88c.89 0 1.762.229 2.608.687a4.84 4.84 0 0 1 1.98 1.961 5.35 5.35 0 0 1 .712 2.659q0 1.369-.7 2.636a4.94 4.94 0 0 1-1.96 1.964 5.37 5.37 0 0 1-2.64.7 5.37 5.37 0 0 1-2.639-.7 4.93 4.93 0 0 1-1.964-1.964 5.34 5.34 0 0 1-.706-2.636q.002-1.384.713-2.659a4.9 4.9 0 0 1 1.988-1.961q1.275-.687 2.608-.687\'/%3E%3Cpath fill=\'%23fffffe\' d=\'M360.988 26.038v69.583\'/%3E%3Cpath fill=\'%23000\' d=\'M174.052 54.63h16.564q5.201 0 7.801-2.311t2.6-7.512q0-5.007-2.6-7.27t-7.8-2.264h-16.565zm-15.12-31.106h37.078q4.622 0 8.33 1.493 3.707 1.492 6.356 4.092a17.8 17.8 0 0 1 4.045 6.02q1.395 3.418 1.396 7.367 0 6.067-2.552 10.497t-8.33 6.741v.193q2.792.77 4.622 2.36a13.1 13.1 0 0 1 2.986 3.755q1.155 2.168 1.685 4.767a41 41 0 0 1 .722 5.2q.097 1.638.193 3.853t.337 4.526.77 4.382q.53 2.07 1.59 3.515h-15.12q-1.253-3.275-1.541-7.8a116 116 0 0 0-.867-8.668q-.77-5.393-3.274-7.897t-8.186-2.504h-15.12v26.87h-15.12V23.523zm84.652 32.358h11.749q2.6 0 5.008-.385c2.408-.385 3.017-.754 4.237-1.493q1.83-1.107 2.938-3.13 1.107-2.023 1.107-5.296 0-3.275-1.107-5.297-1.108-2.023-2.938-3.13t-4.237-1.493a31.7 31.7 0 0 0-5.008-.385h-11.75v20.61zm-15.12-32.358h31.01q6.453 0 10.979 1.878t7.367 4.96a19.05 19.05 0 0 1 4.141 7.03q1.3 3.947 1.3 8.186 0 4.14-1.3 8.137a19 19 0 0 1-4.14 7.079q-2.842 3.08-7.368 4.96-4.526 1.877-10.979 1.877h-15.89v24.654h-15.12zM307.82 54.63h16.564q5.2 0 7.801-2.311t2.6-7.512q0-5.007-2.6-7.27t-7.8-2.264H307.82zM292.7 23.524h37.077q4.623 0 8.33 1.493 3.709 1.492 6.357 4.092a17.8 17.8 0 0 1 4.045 6.02q1.396 3.418 1.396 7.367 0 6.067-2.552 10.497t-8.33 6.741v.193q2.792.77 4.622 2.36a13.1 13.1 0 0 1 2.986 3.755q1.155 2.168 1.685 4.767a41 41 0 0 1 .722 5.2q.097 1.638.193 3.853t.337 4.526.77 4.382q.53 2.07 1.59 3.515h-15.12q-1.253-3.275-1.541-7.8a116 116 0 0 0-.867-8.668q-.77-5.393-3.274-7.897t-8.186-2.504h-15.12v26.87H292.7V23.523z\'/%3E%3Cpath stroke=\'%23000\' stroke-width=\'.5\' d=\'M136.23.765v110.328\'/%3E%3Cpath fill=\'%23000\' d=\'M57.091.646c-30.823 0-55.81 24.987-55.81 55.81s24.987 55.811 55.81 55.811h35.915c11.158 0 19.9-8.545 19.9-19.359v-36.43C112.834 25.569 87.875.647 57.091.647\'/%3E%3Cpath stroke=\'%23231f20\' d=\'M57.091.646c-30.823 0-55.81 24.987-55.81 55.81s24.987 55.811 55.81 55.811h35.915c11.158 0 19.9-8.545 19.9-19.359v-36.43C112.834 25.569 87.875.647 57.091.647z\'/%3E%3Cpath fill=\'%23fefefe\' d=\'M38.884 38.517s-6.156-10.681 3.168-21.096c6.311-7.05 18.561-6.904 24.978-.925 8.455 7.879 4.241 14.812 7.73 18.812 4.958 5.688 10.208.146 18.958 7.803 7.879 6.895 7.167 20.788-.73 27.343-7.729 6.417-12.979 1.896-17.5 6.417-4.52 4.52-.349 11.187-7 18.083-7.875 8.167-19.979 8.167-27.708-1.02-7.076-8.411-1.896-19.396-1.896-19.396s-7.875 1.02-14.146-4.959c-6.452-6.152-8.548-17.7 0-26.25q5.105-5.105 14.146-4.812\'/%3E%3Cpath stroke=\'%23231f20\' d=\'M38.884 38.517s-6.156-10.681 3.168-21.096c6.311-7.05 18.561-6.904 24.978-.925 8.455 7.879 4.241 14.812 7.73 18.812 4.958 5.688 10.208.146 18.958 7.803 7.879 6.895 7.167 20.788-.73 27.343-7.729 6.417-12.979 1.896-17.5 6.417-4.52 4.52-.349 11.187-7 18.083-7.875 8.167-19.979 8.167-27.708-1.02-7.076-8.411-1.896-19.396-1.896-19.396s-7.875 1.02-14.146-4.959c-6.452-6.152-8.548-17.7 0-26.25q5.105-5.105 14.146-4.812z\'/%3E%3Cpath fill=\'%2369a3d7\' d=\'M69.527 56.406c-.31 3.282-.426 6.651-4.18 10.46l5.616 5.615.117-.12c6.57-6.57 11.965-1.794 17.899-6.857q.43-.338.799-.704.461-.463.877-1.02l.043-.054.031-.043c1.373-1.773 2.077-3.785 2.277-5.797q.097-.732.109-1.48zm.013-.132q-.008.066-.013.132h23.588c.042-2.535-.683-5.174-2.546-7.448a9 9 0 0 0-.791-.913 9 9 0 0 0-.829-.73c-5.925-5.031-11.282-.314-18.01-6.963l-5.615 5.616.138.134c3.655 3.657 3.798 6.949 4.077 10.172\'/%3E%3Cpath fill=\'%23a5c96f\' d=\'m65.308 66.866-.094.097c-6.92 6.919-12.394 1.28-18.666 7.553-4.088 4.087-4.666 11.863.013 16.542 4.255 4.254 11.487 5.398 16.738.148 6.206-6.207.756-11.73 7.625-18.725z\'/%3E%3Cpath fill=\'%23fefefe\' d=\'M94.194 94.968h1.008q.722 0 .985-.218a.7.7 0 0 0 .263-.568.7.7 0 0 0-.126-.408.77.77 0 0 0-.353-.27q-.223-.09-.832-.089h-.945zm-.826 2.893v-5.143h1.765q.906 0 1.31.142.406.143.646.5.241.353.241.753 0 .563-.402.98-.403.418-1.068.47.272.113.438.27.311.306.758 1.021l.629 1.007h-1.012l-.456-.81q-.541-.957-.868-1.199-.229-.176-.666-.176h-.49v2.185zm2.094-6.63q-1.008 0-1.96.516a3.7 3.7 0 0 0-1.49 1.474 4 4 0 0 0-.538 1.999c0 .687.174 1.35.525 1.98a3.77 3.77 0 0 0 1.482 1.473 4 4 0 0 0 1.98.53q1.031 0 1.984-.53a3.73 3.73 0 0 0 1.474-1.474 4 4 0 0 0 .527-1.98q-.001-1.035-.535-1.998a3.7 3.7 0 0 0-1.492-1.474 4.07 4.07 0 0 0-1.957-.515zm0-.792q1.204 0 2.35.619a4.36 4.36 0 0 1 1.783 1.767 4.8 4.8 0 0 1 .642 2.395q0 1.233-.63 2.375a4.45 4.45 0 0 1-1.766 1.77q-1.138.63-2.38.63a4.84 4.84 0 0 1-2.377-.63 4.45 4.45 0 0 1-1.769-1.77 4.8 4.8 0 0 1-.636-2.375q.002-1.246.642-2.395a4.4 4.4 0 0 1 1.791-1.767q1.149-.62 2.35-.619\'/%3E%3Cpath stroke=\'%23231f20\' stroke-width=\'1.106\' d=\'M94.194 94.968h1.008q.722 0 .985-.218a.7.7 0 0 0 .263-.568.7.7 0 0 0-.126-.408.77.77 0 0 0-.353-.27q-.223-.09-.832-.089h-.945zm-.826 2.893v-5.143h1.765q.906 0 1.31.142.406.143.646.5.241.353.241.753 0 .563-.402.98-.403.418-1.068.47.272.113.438.27.311.306.758 1.021l.629 1.007h-1.012l-.456-.81q-.541-.957-.868-1.199-.229-.176-.666-.176h-.49v2.185zm2.094-6.63q-1.008 0-1.96.516a3.7 3.7 0 0 0-1.49 1.474 4 4 0 0 0-.538 1.999c0 .687.174 1.35.525 1.98a3.77 3.77 0 0 0 1.482 1.473 4 4 0 0 0 1.98.53q1.031 0 1.984-.53a3.73 3.73 0 0 0 1.474-1.474 4 4 0 0 0 .527-1.98q-.001-1.035-.535-1.998a3.7 3.7 0 0 0-1.492-1.474 4.07 4.07 0 0 0-1.957-.515zm0-.792q1.204 0 2.35.619a4.36 4.36 0 0 1 1.783 1.767 4.8 4.8 0 0 1 .642 2.395q0 1.233-.63 2.375a4.45 4.45 0 0 1-1.766 1.77q-1.138.63-2.38.63a4.84 4.84 0 0 1-2.377-.63 4.45 4.45 0 0 1-1.769-1.77 4.8 4.8 0 0 1-.636-2.375q.002-1.246.642-2.395a4.4 4.4 0 0 1 1.791-1.767q1.149-.62 2.35-.619z\'/%3E%3Cpath fill=\'%23fefefe\' d=\'M93.758 94.606h1.081q.773 0 1.056-.234a.74.74 0 0 0 .282-.61.75.75 0 0 0-.135-.437.83.83 0 0 0-.379-.289q-.239-.095-.891-.095h-1.014zm-.885 3.1v-5.513h1.892q.971 0 1.404.153.435.153.693.535a1.4 1.4 0 0 1 .258.807q.001.
2409605-.43 1.052-.434.447-1.145.503.291.12.47.291.332.327.812 1.094l.674 1.079h-1.085l-.49-.869q-.579-1.024-.93-1.285-.245-.188-.713-.189h-.525v2.343zm2.244-7.106q-1.08 0-2.1.552c-.68.37-1.217.896-1.597 1.58a4.3 4.3 0 0 0-.578 2.143q0 1.107.563 2.123a4.04 4.04 0 0 0 1.589 1.58 4.3 4.3 0 0 0 2.123.569c.735 0 1.447-.191 2.126-.569a4 4 0 0 0 1.581-1.58 4.3 4.3 0 0 0 .565-2.123 4.4 4.4 0 0 0-.573-2.143 3.95 3.95 0 0 0-1.6-1.58 4.36 4.36 0 0 0-2.099-.552m0-.85q1.292 0 2.52.663a4.68 4.68 0 0 1 1.911 1.895 5.17 5.17 0 0 1 .689 2.567q0 1.324-.676 2.547a4.77 4.77 0 0 1-1.893 1.897 5.2 5.2 0 0 1-2.55.675 5.2 5.2 0 0 1-2.55-.675 4.77 4.77 0 0 1-1.896-1.897 5.16 5.16 0 0 1-.682-2.547q.001-1.337.688-2.567a4.72 4.72 0 0 1 1.92-1.895q1.23-.663 2.52-.663z\'/%3E%3Cpath fill=\'%23de4329\' d=\'M25.267 56.405c0 6.533 5.295 11.828 11.828 11.828s11.828-5.295 11.828-11.828-5.296-11.828-11.828-11.828c-6.533 0-11.828 5.295-11.828 11.828\'/%3E%3Cpath fill=\'%23f2826e\' d=\'M28.93 47.851a11.8 11.8 0 0 0-3.664 8.554c0 3.365 1.408 6.4 3.664 8.554l8.554-8.554z\'/%3E%3Cpath fill=\'%23f7d880\' d=\'m65.324 45.968 5.615-5.616-.08-.077c-6.918-6.92-1.28-12.394-7.552-18.666-2.11-2.11-5.2-3.284-8.342-3.284-2.946 0-5.936 1.033-8.2 3.297-4.255 4.255-5.398 11.487-.148 16.738 6.201 6.201 11.72.765 18.707 7.608\'/%3E%3Cpath fill=\'%2391bce1\' d=\'M89.708 64.865q.034-.033.07-.065.46-.463.878-1.02l.042-.054.031-.043c1.374-1.773 2.077-3.785 2.277-5.797.397-2.962-.208-6.207-2.437-8.928a9 9 0 0 0-.792-.913c-.027-.028-.059-.054-.087-.082l-8.442 8.442z\'/%3E%3Cpath fill=\'%23f3c43d\' d=\'m65.234 45.968 2.798-2.798-21.45-21.45c-4.176 4.266-5.265 11.429-.054 16.64 6.2 6.201 11.72.765 18.706 7.608\'/%3E%3Cpath fill=\'%233885ca\' d=\'M65.461 46.102c3.656 3.657 3.799 6.949 4.078 10.172-.32 3.324-.388 6.732-4.192 10.591l2.777 2.777 13.235-13.235L68.122 43.17l-2.798 2.798z\'/%3E%3Cpath fill=\'%2387b740\' d=\'m65.258 66.866-.095.097c-6.92 6.919-12.393 1.28-18.666 7.553-4.087 4.087-4.666 11.863.014 16.542l.054.052 21.47-21.468z\'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;overflow:hidden;line-height:500px}.siteHeader a.header-logo.cobrand-logo{background-position:left center;height:54px;flex:1 1 0%}.siteHeader .header-menu ul{margin:0;padding:0;list-style:none}.siteHeader .header-menu ul li{position:relative;margin-top:0;margin-bottom:0;margin-left:18px}@media screen and (min-width:1202px)and (max-width:1393px){.siteHeader .header-menu ul li{margin-left:16px}}@media screen and (max-width:1201px){.siteHeader .header-menu ul li{margin-left:12px}}.siteHeader .header-menu ul li:not(:last-child){margin-right:18px}@media screen and (min-width:1202px)and (max-width:1393px){.siteHeader .header-menu ul li:not(:last-child){margin-right:16px}}@media(1201px<=width<=1201.5px){.siteHeader .header-menu ul li:not(:last-child){margin-right:unset}}@media screen and (max-width:1201px){.siteHeader .header-menu ul li:not(:last-child){margin-right:12px}}.siteHeader .header-menu ul li>a{font-size:18px;font-weight:400;color:#2b2b2b;height:40px;line-height:40px;text-decoration:none;display:flex;align-items:center;gap:4px;border-bottom:2px solid rgba(255,255,255,0);border-top:2px solid rgba(255,255,255,0)}@media screen and (min-width:1202px)and (max-width:1393px){.siteHeader .header-menu ul li>a{font-size:16px}}@media screen and (max-width:1201px){.siteHeader .header-menu ul li>a{font-size:14px}}.siteHeader .header-menu ul li>a.disabled{color:#97a7ba}.siteHeader .header-menu ul li>a:not(.user-photo).current{border-bottom:2px solid #97a7ba}.siteHeader .header-menu ul li>a:not(.user-photo).active{border-bottom:2px solid rgb(0,147.5150259067,254.2)}.siteHeader .header-menu ul li>a:not(.user-photo):hover{border-bottom-color:#0070c1}.siteHeader .header-menu ul li>a.user-photo .user-photo-wrapper{width:56px;height:56px;overflow:hidden;border-radius:50%;border:0;background-color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:30px;color:#c3d0df}.siteHeader .header-menu ul li>a.user-photo img,.siteHeader .header-menu ul li>a.user-photo span{width:52px;height:52px;border-radius:50%}.siteHeader .header-menu ul li>a.user-photo span{background:#eff2f6;display:flex;align-items:center;justify-content:center}.siteHeader .header-menu ul li>a.user-photo.current .user-photo-wrapper,.siteHeader .header-menu ul li>a.user-photo.active .user-photo-wrapper{background-color:#0094fe}.siteHeader .header-menu ul li>a.user-photo:hover .user-photo-wrapper{background-color:#0070c1}.siteHeader .header-menu ul li>a .icon{font-size:.9em}.siteHeader.is-impersonating .header-menu a.user-photo .user-photo-wrapper{background-color:#eb721b;animation:pulse-user-photo 2s infinite}.siteHeader.is-impersonating .header-menu a.user-photo .user-photo-wrapper:after{content:" ";position:absolute;width:56px;height:56px;background-color:#eb721b;border-radius:50%;opacity:.3}.siteHeader.is-impersonating .header-menu a.user-photo:hover{color:#cf5715}.siteHeader.is-impersonating .header-menu a.user-photo:hover .user-photo-wrapper{background-color:#cf5715}.siteHeader .menu-items{padding:10px 0}.siteHeader .menu-items a{display:block;line-height:2.5em;padding:0 20px;color:#2b2b2b;text-decoration:none;font-weight:500;white-space:nowrap;border-radius:8px}.siteHeader .menu-items a:hover:not(.disabled){background-color:#eaf6ff}.siteHeader .menu-items a.ai-scriptwriter>i{width:1em;height:1em;background-image:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'18\' height=\'18\' fill=\'none\'%3E%3Cpath fill=\'%236b3df5\' d=\'M12.234 2.663A.36.36 0 0 0 12 3c0 .15.094.284.234.337L14 4l.662 1.766a.362.362 0 0 0 .675 0L16 4l1.766-.663A.36.36 0 0 0 18 3a.36.36 0 0 0-.234-.337L16 2 15.338.234a.362.362 0 0 0-.675 0L14 2zM5.247 7.515 6 5.888l.753 1.628c.15.325.41.584.734.734l1.629.753-1.628.753a1.5 1.5 0 0 0-.735.735L6 12.119l-.753-1.628a1.5 1.5 0 0 0-.734-.735L2.884 9l1.632-.753a1.5 1.5 0 0 0 .734-.734l-.003.003zm-.072-3.42
2409L3.888 6.889 1.097 8.175l-.019.01q-.183.085-.787.362a.498.498 0 0 0 0 .906c.403.184.662.306.787.363l.019.009 2.79 1.288 1.288 2.79.01.019q.085.183.362.787a.498.498 0 0 0 .906 0c.45-.971.472-1.021 1.66-3.593l2.79-1.288.019-.01.787-.362a.498.498 0 0 0 0-.906c-.971-.45-1.021-.472-3.593-1.66L6.828 4.1l-.01-.019q-.083-.183-.362-.787a.498.498 0 0 0-.906 0c-.431.931-.36.781-.372.806l-.003-.003zM13 14l-1.766.662A.36.36 0 0 0 11 15c0 .15.094.284.234.338L13 16l.662 1.766a.362.362 0 0 0 .675 0L15 16l1.766-.662A.36.36 0 0 0 17 15a.36.36 0 0 0-.234-.338L15 14l-.662-1.766A.36.36 0 0 0 14 12a.36.36 0 0 0-.338.234z\'/%3E%3C/svg%3E\");background-size:contain}.siteHeader .menu-items a.sign-out{color:#0070c1}.siteHeader .menu-items a.has-icon{display:flex;align-items:center}.siteHeader .menu-items a.has-icon i{margin-right:8px}@keyframes pulse-user-photo{0%{box-shadow:0 0 #eb721bb3}70%{box-shadow:0 0 0 15px #0000}to{box-shadow:0 0 #0000}}.sh-fixed .siteHeader .siteHeaderOuter{position:fixed;width:100%}.sh-fixed.window-scrolled .siteHeader .siteHeaderOuter{box-shadow:0 8px 24px #00000026,0 4px 8px #00000026}.siteFooterContainer{color:#2b2b2b}.siteFooterContainer:not(.has-no-footer-margin){margin-top:23px}.siteFooterContainer .footer-logo{width:110px;height:29px;border-right:1px solid #2b2b2b}.siteFooterContainer .legal{column-gap:10px;max-width:fit-content;cursor:default}.siteFooterContainer small{font-size:.75em}.siteFooterContainer aside{position:absolute;left:0;right:0;bottom:-.5em;color:#eff2f6;font-size:.75em}.siteFooterContainer ul{margin:0;padding:0}.siteFooterContainer ul li{display:flex;align-items:center}.siteFooterContainer ul li:after{content:" | ";padding:0 .75em}.siteFooterContainer ul li:last-child:after,.siteFooterContainer ul li.no-separator:after{content:"";padding:0}.siteFooterContainer ul a{color:#2b2b2b;font-weight:400;white-space:nowrap}.siteFooterContainer ul a.facebook{display:block;background:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'32\' height=\'32\'%3E%3Cg fill=\'%23000\' fill-rule=\'evenodd\'%3E%3Cpath d=\'M15.61.099C7.267.099.505 6.857.505 15.195c0 8.337 6.762 15.096 15.105 15.096 8.34 0 15.103-6.76 15.103-15.096C30.713 6.857 23.951.099 15.61.099m0 1.262c7.633 0 13.84 6.206 13.84 13.834s-6.207 13.834-13.84 13.834S1.767 22.823 1.767 15.195 7.977 1.361 15.61 1.361\' mask=\'url(%23prefix__mask-2)\' transform=\'translate(.342 .242)\'/%3E%3Cpath d=\'M13.579 24.242h3.63v-8.806h2.803l.344-3.103H17.21v-1.929c0-.686.285-.746.63-.746h2.468V6.64l-2.916-.01c-3.238 0-3.813 2.25-3.813 3.691v2.012h-2.033v3.103h2.033z\'/%3E%3C/g%3E%3C/svg%3E\") no-repeat;background-size:contain;width:30px;height:29px;overflow:hidden;line-height:200px}.siteFooterContainer ul a.facebook:hover{background-image:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'32\' height=\'32\'%3E%3Cg fill=\'%233885ca\' fill-rule=\'evenodd\'%3E%3Cpath d=\'M15.61.099C7.267.099.505 6.857.505 15.195c0 8.337 6.762 15.096 15.105 15.096 8.34 0 15.103-6.76 15.103-15.096C30.713 6.857 23.951.099 15.61.099m0 1.262c7.633 0 13.84 6.206 13.84 13.834s-6.207 13.834-13.84 13.834S1.767 22.823 1.767 15.195 7.977 1.361 15.61 1.361\' mask=\'url(%23prefix__mask-2)\' transform=\'translate(.342 .242)\'/%3E%3Cpath d=\'M13.579 24.242h3.63v-8.806h2.803l.344-3.103H17.21v-1.929c0-.686.285-.746.63-.746h2.468V6.64l-2.916-.01c-3.238 0-3.813 2.25-3.813 3.691v2.012h-2.033v3.103h2.033z\'/%3E%3C/g%3E%3C/svg%3E\")}.siteFooterContainer ul a.instagram{display:block;background:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'32\' height=\'32\'%3E%3Cg fill-rule=\'evenodd\'%3E%3Cpath d=\'M15.106 0C6.762 0 0 6.758 0 15.096c0 8.337 6.762 15.096 15.106 15.096 8.34 0 15.102-6.759 15.102-15.096S23.446 0 15.106 0m0 1.262c7.632 0 13.84 6.206 13.84 13.834S22.738 28.93 15.106 28.93c-7.634 0-13.844-6.206-13.844-13.834S7.472 1.262 15.106 1.262\'/%3E%3Cpath fill-rule=\'nonzero\' d=\'M15.82 23.22a65 65 0 0 0 2.967-.052q1.002-.052 1.74-.298a4.1 4.1 0 0 0 1.53-.967q.65-.65.966-1.53.246-.738.3-1.74.051-1.001.052-3.287v-.626a88 88 0 0 0-.035-2.643q-.07-1.02-.317-1.758a4.1 4.1 0 0 0-.966-1.53 4.1 4.1 0 0 0-1.53-.966q-.738-.246-1.74-.299T15.5 7.471h-.32q-2.037.004-2.967.053-1.002.053-1.74.299a4.1 4.1 0 0 0-1.53.967 4.1 4.1 0 0 0-.966 1.529q-.246.738-.3 1.74-.051 1.002-.052 3.287v.32q.004 2.037.053 2.967.053 1.002.299 1.74.316.88.966 1.53.651.65 1.53.931.738.282 1.74.334 1.002.054 3.287.053h.32zm.554-1.405h-1.741a47 47 0 0 1-1.875-.035q-1.3-.07-1.899-.281-1.055-.423-1.511-1.512-.212-.598-.282-1.899a51 51 0 0 1-.035-2.18V14.48q.005-1.188.035-1.875.07-1.335.282-1.898a2.54 2.54 0 0 1 1.511-1.512q.599-.21 1.899-.281a51 51 0 0 1 2.18-.036h1.43q1.186.005 1.874.036 1.336.07 1.899.28a2.54 2.54 0 0 1 1.511 1.513q.211.562.282 1.898.035.738.035 2.18v1.43a47 47 0 0 1-.035 1.874q-.07 1.301-.282 1.899-.421 1.054-1.511 1.512-.562.21-1.899.28-.738.036-2.18.036h.312zm3.345-9.738a.86.86 0 0 0 .65-.282 1.1 1.1 0 0 0 .299-.668.91.91 0 0 0-.281-.667.91.91 0 0 0-.668-.282.91.91 0 0 0-.668.282.91.91 0 0 0-.281.667q0 .387.28.668.281.282.669.282M15.5 19.389q1.09 0 2.021-.545a4.06 4.06 0 0 0 1.477-1.476 3.93 3.93 0 0 0 .545-2.022q0-1.09-.545-2.021a4.06 4.06 0 0 0-1.477-1.477 3.93 3.93 0 0 0-2.021-.545q-1.09 0-2.021.545a4.06 4.06 0 0 0-1.477 1.477 3.93 3.93 0 0 0-.545 2.021q0 1.09.545 2.022a4.06 4.06 0 0 0 1.477 1.476 3.93 3.93 0 0 0 2.021.545m0-1.406a2.54 2.54 0 0 1-1.863-.773 2.54 2.54 0 0 1-.774-1.864q0-1.089.774-1.863a2.54 2.54 0 0 1 1.863-.7
240973 2.54 2.54 0 0 1 1.863.773 2.54 2.54 0 0 1 .774 1.863 2.54 2.54 0 0 1-.774 1.864 2.54 2.54 0 0 1-1.863.773\'/%3E%3C/g%3E%3C/svg%3E\") no-repeat;background-size:contain;width:30px;height:29px;overflow:hidden;line-height:200px}.siteFooterContainer ul a.instagram:hover{background-image:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'32\' height=\'32\'%3E%3Cg fill=\'%233885ca\' fill-rule=\'evenodd\'%3E%3Cpath d=\'M15.106 0C6.762 0 0 6.758 0 15.096c0 8.337 6.762 15.096 15.106 15.096 8.34 0 15.102-6.759 15.102-15.096S23.446 0 15.106 0m0 1.262c7.632 0 13.84 6.206 13.84 13.834S22.738 28.93 15.106 28.93c-7.634 0-13.844-6.206-13.844-13.834S7.472 1.262 15.106 1.262\'/%3E%3Cpath fill-rule=\'nonzero\' d=\'M15.82 23.22a65 65 0 0 0 2.967-.052q1.002-.052 1.74-.298a4.1 4.1 0 0 0 1.53-.967q.65-.65.966-1.53.246-.738.3-1.74.051-1.001.052-3.287v-.626a88 88 0 0 0-.035-2.643q-.07-1.02-.317-1.758a4.1 4.1 0 0 0-.966-1.53 4.1 4.1 0 0 0-1.53-.966q-.738-.246-1.74-.299T15.5 7.471h-.32q-2.037.004-2.967.053-1.002.053-1.74.299a4.1 4.1 0 0 0-1.53.967 4.1 4.1 0 0 0-.966 1.529q-.246.738-.3 1.74-.051 1.002-.052 3.287v.32q.004 2.037.053 2.967.053 1.002.299 1.74.316.88.966 1.53.651.65 1.53.931.738.282 1.74.334 1.002.054 3.287.053h.32zm.554-1.405h-1.741a47 47 0 0 1-1.875-.035q-1.3-.07-1.899-.281-1.055-.423-1.511-1.512-.212-.598-.282-1.899a51 51 0 0 1-.035-2.18V14.48q.005-1.188.035-1.875.07-1.335.282-1.898a2.54 2.54 0 0 1 1.511-1.512q.599-.21 1.899-.281a51 51 0 0 1 2.18-.036h1.43q1.186.005 1.874.036 1.336.07 1.899.28a2.54 2.54 0 0 1 1.511 1.513q.211.562.282 1.898.035.738.035 2.18v1.43a47 47 0 0 1-.035 1.874q-.07 1.301-.282 1.899-.421 1.054-1.511 1.512-.562.21-1.899.28-.738.036-2.18.036h.312zm3.345-9.738a.86.86 0 0 0 .65-.282 1.1 1.1 0 0 0 .299-.668.91.91 0 0 0-.281-.667.91.91 0 0 0-.668-.282.91.91 0 0 0-.668.282.91.91 0 0 0-.281.667q0 .387.28.668.281.282.669.282M15.5 19.389q1.09 0 2.021-.545a4.06 4.06 0 0 0 1.477-1.476 3.93 3.93 0 0 0 .545-2.022q0-1.09-.545-2.021a4.06 4.06 0 0 0-1.477-1.477 3.93 3.93 0 0 0-2.021-.545q-1.09 0-2.021.545a4.06 4.06 0 0 0-1.477 1.477 3.93 3.93 0 0 0-.545 2.021q0 1.09.545 2.022a4.06 4.06 0 0 0 1.477 1.476 3.93 3.93 0 0 0 2.021.545m0-1.406a2.54 2.54 0 0 1-1.863-.773 2.54 2.54 0 0 1-.774-1.864q0-1.089.774-1.863a2.54 2.54 0 0 1 1.863-.773 2.54 2.54 0 0 1 1.863.773 2.54 2.54 0 0 1 .774 1.863 2.54 2.54 0 0 1-.774 1.864 2.54 2.54 0 0 1-1.863.773\'/%3E%3C/g%3E%3C/svg%3E\")}.siteFooterContainer ul a.realtor{display:block;background:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'34\' height=\'40\'%3E%3Cpath fill-rule=\'evenodd\' d=\'M.858 35.39h.627c.413 0 .716 0 .955.218.21.187.314.438.314.743 0 .494-.366.861-.932.861h-.408l1.287 2.097h.507l-1.05-1.698c.613-.046 1.05-.606 1.05-1.264 0-.454-.21-.888-.558-1.134-.308-.212-.638-.25-1.047-.25H.436v4.346h.422zm4.875 1.522v-1.522h1.825v-.427H5.306v4.343h2.252v-.42H5.733v-1.546h1.825v-.428zM9.68 39.31l.52-1.363h1.932l.516 1.362h.462l-1.685-4.343h-.513l-1.683 4.343zm2.306-1.756h-1.639l.814-2.181zm4.816 1.755v-.422h-1.528v-3.921h-.428v4.343zm2.645 0v-3.918h.867v-.425h-2.16v.425h.868v3.918zm2.723-2.193c0-.532.257-1.07.666-1.418.31-.263.69-.405 1.092-.405 1.007 0 1.788.844 1.788 1.811 0 1.068-.781 1.881-1.76 1.881-.994 0-1.787-.794-1.787-1.869m-.449-.007c0 1.294.965 2.285 2.208 2.285.656 0 1.217-.252 1.658-.734.385-.422.571-.935.571-1.55 0-.617-.225-1.162-.662-1.598a2.15 2.15 0 0 0-1.561-.632c-.6 0-1.112.213-1.534.627-.44.436-.68 1-.68 1.602m6.805-1.719h.627c.409 0 .717 0 .956.218.206.187.31.438.31.743 0 .494-.365.861-.928.861h-.408l1.287 2.097h.506l-1.048-1.698c.608-.046 1.048-.606 1.048-1.264 0-.454-.21-.888-.561-1.134-.304-.212-.634-.25-1.043-.25h-1.167v4.346h.421zM.475 32.883h30.362V.396H.475zM4.806 4.674h8.649l-.018 23.72h-8.63zM16.73 16.703l11.84 11.749H16.73v-11.75zm0-.156L16.704 4.7h3.417c3.075-.026 6.243 2.152 6.263 6.107.022 4.716-4.255 5.772-6.28 5.743zm15.948 18.257c.197 0 .287.049.287.183 0 .138-.09.176-.287.176h-.191v-.359h.19zm.03-.105h-.37v1.008h.149v-.445h.236l.213.445h.173l-.226-.468c.148-.018.24-.122.24-.26 0-.194-.14-.28-.416-.28zm.75.521a.73.73 0 0 1-.221.54.8.8 0 0 1-.56.234.76.76 0 0 1-.542-.23.76.76 0 0 1-.233-.544c0-.206.085-.402.236-.558a.78.78 0 0 1 1.099.007.78.78 0 0 1 .222.551zm-.78-.874a.83.83 0 0 0-.61.25.9.9 0 0 0-.26.624.875.875 0 0 0 .87.871c.231 0 .45-.093.623-.26a.85.85 0 0 0 .253-.61.87.87 0 0 0-.876-.875\'/%3E%3C/svg%3E\") no-repeat;background-size:contain;width:32px;height:37px;overflow:hidden;line-height:200px;margin-right:-3px}.siteFooterContainer ul a.realtor:hover{background-image:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'34\' height=\'40\'%3E%3Cpath fill=\'%233885ca\' fill-rule=\'evenodd\' d=\'M.858 35.39h.627c.413 0 .716 0 .955.218.21.187.314.438.314.743 0 .494-.366.861-.932.861h-.408l1.287 2.097h.507l-1.05-1.698c.613-.046 1.05-.606 1.05-1.264 0-.454-.21-.888-.558-1.134-.308-.212-.638-.25-1.047-.25H.436v4.346h.422zm4.875 1.522v-1.522h1.825v-.427H5.306v4.343h2.252v-.42H5.733v-1.546h1.825v-.428zM9.68 39.31l.52-1.363h1.932l.516 1.362h.462l-1.685-4.343h-.513l-1.683 4.343zm2.306-1.756h-1.639l.814-2.181zm4.816 1.755v-.422h-1.528v-3.921h-.428v4.343zm2.645 0v-3.918h.867v-.425h-2.16v.425h.868v3.918zm2.723-2.193c0-.532.257-1.07.666-1.418.31-.263.69-.405 1.092-.405 1.007 0 1.788.844 1.788 1.811 0 1.068-.781 1.881-1.76 1.881-.994 0-1.787-.794
2409-1.787-1.869m-.449-.007c0 1.294.965 2.285 2.208 2.285.656 0 1.217-.252 1.658-.734.385-.422.571-.935.571-1.55 0-.617-.225-1.162-.662-1.598a2.15 2.15 0 0 0-1.561-.632c-.6 0-1.112.213-1.534.627-.44.436-.68 1-.68 1.602m6.805-1.719h.627c.409 0 .717 0 .956.218.206.187.31.438.31.743 0 .494-.365.861-.928.861h-.408l1.287 2.097h.506l-1.048-1.698c.608-.046 1.048-.606 1.048-1.264 0-.454-.21-.888-.561-1.134-.304-.212-.634-.25-1.043-.25h-1.167v4.346h.421zM.475 32.883h30.362V.396H.475zM4.806 4.674h8.649l-.018 23.72h-8.63zM16.73 16.703l11.84 11.749H16.73v-11.75zm0-.156L16.704 4.7h3.417c3.075-.026 6.243 2.152 6.263 6.107.022 4.716-4.255 5.772-6.28 5.743zm15.948 18.257c.197 0 .287.049.287.183 0 .138-.09.176-.287.176h-.191v-.359h.19zm.03-.105h-.37v1.008h.149v-.445h.236l.213.445h.173l-.226-.468c.148-.018.24-.122.24-.26 0-.194-.14-.28-.416-.28zm.75.521a.73.73 0 0 1-.221.54.8.8 0 0 1-.56.234.76.76 0 0 1-.542-.23.76.76 0 0 1-.233-.544c0-.206.085-.402.236-.558a.78.78 0 0 1 1.099.007.78.78 0 0 1 .222.551zm-.78-.874a.83.83 0 0 0-.61.25.9.9 0 0 0-.26.624.875.875 0 0 0 .87.871c.231 0 .45-.093.623-.26a.85.85 0 0 0 .253-.61.87.87 0 0 0-.876-.875\'/%3E%3C/svg%3E\")}.siteFooterContainer .coBrandFooter{background-color:#fff;margin-top:20px;margin-bottom:-20px;padding:10px 15px;overflow:hidden}.siteFooterContainer .coBrandFooter .coBrandFooterLogo{width:200px;height:50px;background-repeat:no-repeat;background-position:left center}.legal-dialog mat-dialog-content{max-width:852px}.legal-dialog mat-dialog-content.mat-mdc-dialog-content>header{height:100px;border-bottom:1px solid rgb(195.4843352601,208.1158001652,223.1156647399);margin-top:-20px}.legal-dialog mat-dialog-content.mat-mdc-dialog-content>header p{width:145px;height:40px}.legal-dialog mat-dialog-content.mat-mdc-dialog-content>header ::ng-deep img{width:100%;height:100%;object-fit:contain;object-position:left top}.legal-dialog h1,.legal-dialog h2,.legal-dialog li::marker,.legal-dialog li:before,.legal-dialog strong{font-weight:500}.legal-dialog h1{font-size:1.125em}.legal-dialog p{color:#2b2b2b;letter-spacing:.002em;line-height:24px}.legal-dialog p,.legal-dialog dl,.legal-dialog li,.legal-dialog strong,.legal-dialog h2{font-size:1em}.legal-dialog dl>div{column-gap:4px}.legal-dialog ol{list-style-position:inside}.legal-dialog ol>li{margin-top:10px}.legal-dialog ol>li>:is(p,header,ul){margin-top:inherit}.legal-dialog ul{list-style:outside}.legal-dialog em,.legal-dialog address{font-style:normal}.saved-indicator{width:146px;height:146px;background:url(\"data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'147\' height=\'147\'%3E%3Cstyle%3E.prefix__a%7Bfill:%23fff%7D%3C/style%3E%3Cg fill=\'none\'%3E%3Cpath fill=\'%23e88024\' d=\'M73.5 8.5c35.9 0 65 29.1 65 65s-29.1 65-65 65-65-29.1-65-65 29.1-65 65-65m13.8 81.2c-.9 0-1.6.2-2.3.6s-1.2 1-1.6 1.7c-.3.7-.5 1.4-.5 2.3v.5c0 1.5.4 2.6 1.3 3.4.9.9 2 1.3 3.4 1.3.8 0 1.5-.1 2.2-.4.5-.3 1-.6 1.3-1.1l.2-.2-1.3-1.4c-.5.7-1.3 1.1-2.2 1.1-.7 0-1.2-.2-1.6-.6-.4-.3-.6-.7-.7-1.3l-.1-.2h6.1v-1c0-1.5-.4-2.7-1.1-3.5-.8-.8-1.8-1.2-3.1-1.2m-16.1 0c-.9 0-1.7.2-2.3.6-.7.4-1.2 1-1.6 1.7-.3.7-.5 1.4-.6 2.3v.5c0 1.5.5 2.6 1.4 3.4.8.9 2 1.3 3.4 1.3.8 0 1.5-.1 2.1-.4s1.1-.6 1.4-1.1l.2-.2-1.3-1.4c-.5.7-1.3 1.1-2.3 1.1q-.9 0-1.5-.6c-.4-.3-.6-.7-.8-1.3v-.2h6.1v-1c0-1.5-.4-2.7-1.1-3.5-.8-.8-1.8-1.2-3.1-1.2m10.2 0c-.8 0-1.5.4-2 1.1l-.1.2-.1-1.2h-2.4v9.6h2.6v-6.3q.45-.9 1.8-.9h1v-2.4c-.3-.1-.5-.1-.8-.1m-21.9-3.8h-2.6v13.5h2.6v-6.8c.3-.6.9-.9 1.6-.9.6 0 .9.2 1.2.4.2.3.3.6.3 1v6.3h2.6v-6.1c-.1-2.4-1.1-3.6-3.2-3.6-.9 0-1.7.3-2.4 1l-.1.2zm27.8 5.8c.5 0 1 .2 1.2.5.3.3.5.6.5 1.1v.4h-3.5q.15-.9.6-1.5c.3-.3.7-.5 1.2-.5m-16.1 0c.5 0 .9.2 1.2.5s.4.6.5 1.1v.4h-3.6q.15-.9.6-1.5c.4-.3.8-.5 1.3-.5M33.3 70.8h-2.7l3.3 9.6-.3.8c-.1.3-.3.5-.6.7-.2.1-.5.2-.8.2h-.6V84c.3.1.7.2 1.1.2 1.2 0 2.1-.6 2.7-1.7l.1-.2.2-.5 3.8-11h-2.7l-1.7 6zm79.5-.1c-1.1 0-2 .3-2.7.8-.7.6-1.1 1.3-1.1 2.1 0 1.4 1.1 2.4 3.1 2.9h.3c.7.2 1.2.3 1.5.5s.4.4.4.7-.1.6-.3.8c-.3.1-.6.2-1.1.2-.6 0-1-.1-1.3-.3s-.4-.5-.5-.9v-.2h-2.4c0 .6.2 1.1.5 1.6q.6.75 1.5 1.2c.6.3 1.3.4 2.1.4 1.2 0 2.2-.2 2.9-.8.7-.5 1.1-1.2 1.1-2.1 0-1.2-.7-2-2-2.5-.4-.2-.8-.3-1.3-.4l-.3-.1c-.6-.1-1.1-.2-1.3-.4-.3-.2-.4-.4-.4-.7s.1-.5.3-.7.6-.3 1-.3c.5 0 .9.1 1.1.3s.3.5.3.8v.1h2.6c0-.9-.4-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8m-9.2 0q-1.35 0-2.4.6c-.6.4-1.2 1-1.5 1.7-.4.7-.5 1.4-.6 2.3v.5c0 1.5.5 2.6 1.3 3.4.9.9 2 1.3 3.4 1.3.8 0 1.6-.1 2.2-.4s1-.6 1.4-1.1l.1-.2-1.2-1.4c-.6.7-1.3 1.1-2.3 1.1-.6 0-1.1-.2-1.6-.6-.3-.3-.6-.7-.7-1.3v-.2h6.1v-1c0-1.5-.4-2.7-1.2-3.5q-1.05-1.2-3-1.2m-59.1 0q-1.35 0-2.4.6c-.7.4-1.2 1-1.5 1.7-.4.6-.5 1.4-.6 2.2v.4q0 2.25 1.2 3.6c.9.9 2 1.3 3.3 1.3 1.4 0 2.5-.4 3.3-1.3.8-.8 1.2-1.9 1.2-3.2v-1c-.1-1.3-.5-2.4-1.4-3.2-.8-.7-1.8-1.1-3.1-1.1m8.6.1h-2.6v6.3c0 1.1.3 2 .8 2.6.6.5 1.4.8 2.4.8s1.8-.3 2.4-1l.2-.1.1 1h2.3v-9.6h-2.5v6.8q-.45.9-1.8.9c-.8 0-1.3-.5-1.3-1.3zm31.7-.1c-.7 0-1.4.1-2.1.4-.6.2-1.1.6-1.4 1.1-.3.4-.5.8-.5 1.3v.2h2.5c0-.4.2-.6.4-.8s.6-.3 1-.3c.5 0 .8.1 1.1.3q.3.45.3.9v.7h-1.2c-1.4.1-2.4.3-3.2.9-.7.5-1.1 1.3-1.1 2.3 0 .8.3 1.5.9 2 .6.6 1.4.8 2.3.8 1 0 1.8-.3 2.4-1 .1.3.1.5.2.7l.1.2H89v-.2q-.3-.6-.3-1.8V74c0-1-.4-1.9-1.1-2.4-.7-.6-1.6-.9-2.8-.9m-9.5 0c-1.1 0-2 .3-2.7.8-.7.6-1.1 1.3-1.1 2.1 0 1.4 1.1 2.4 3.2 2.9h.2c.7.2 1.2.3 1.5.5s.5.4.5.7-.2.6-.4.8c-.3.1-.6.2-1.1.2s-1-.1-1.3-.3c-.2-.2-.4-.5-.5-.9v-.2h-2.4c0 .6.2 1.1.6 1.6.3.5.8.9 1.4 1.2s1.3.4 2.1.4c1.2 0 2.2-.2 2.9-.8.8-.5 1.1-1.2 1.1-2.1 0-1.2-.6-2-2-2.5-.3-.2-.8-.3-1.3-.4l-.3-.1c-.6-.1-1.1-.2-1.3-.4-.3-.2-.4-.4-.4-.7s.1-.5.3-.7c.3-.2.6-.3 1-.3.5 0 .9.1 1.1.3s.3.5.4.8v.1h2.5c0-.9-.4-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8m17 .1h-2.7l3.2 9.6h2.5l3.2-9.6h-2.7L94 77.3zm-27.1-.1c-.8 0-1.5.4-2 1.1l-.1.2v-1.2h-2.4v9.6h2.5v-6.3c.3-.6.9-.9 1.9-.9h.9v-2.4c-.2-.1-.5-.1-.8-.1M86.1 76v1.7c-.1.2-.4.5-.7.6-.3.2-.7.3-1 .3q-.6 0-.9-.3c-.2-.2-.3-.4-.4-.7v-.2c.1-.9.7-1.3 1.9-1.4zm-41.6-3.3c.6 0 1.1.3 1.5.8.3.4.5 1.1.5 2 0 1.1-.2 1.8-.5 2.3-.4.4-.9.7-1.5.7s-1.1-.3-1.4-.7c-.4-.5-.5-1.2-.5-2.1 0-1 .1-1.8.5-2.2.3-.5.8-.8 1.4-.8m59 0c.6 0 1 .2 1.3.5s.4.6.4 1.1l.1.2v.2h-3.6q.15-.9.6-1.5c.3-.3.7-.5 1.2-.5m-4.6-21c-1.1 0-2.1.3-2.8.8-.7.6-1 1.3-1 2.1 0 1.4 1 2.4 3.1 2.9h.3c.7.2 1.2.3 1.5.5s.4.4.4.7-.1.6-.3.8c-.3.1-.7.2-1.1.2-.6 0-1-.1-1.3-.3s-.4-.5-.5-.9v-.2h-2.4c0 .6.2 1.1.5 1.6q.6.75 1.5 1.2c.6.3 1.3.4 2.1.4 1.2 0 2.1-.2 2.9-.8.7-.5 1.1-1.2 1.1-2.1 0-1.2-.7-2-2-2.5-.4-.2-.8-.3-1.3-.4l-.3-.1c-.6-.1-1.1-.2-1.4-.4-.2-.2-.4-.4-.4-.7s.2-.5.4-.7.6-.3 1-.3c.5 0 .9.1 1.1.3s.3.5.3.8v.1h2.6c0-.9-.4-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8m-37.4 0c-1.4 0-2.4.4-3.2 1.3-.7.8-1.1 1.9-1.2 3.2v.5c0 1.5.4 2.7 1.2 3.5.8.9 1.9 1.3 3.2 1.3.8 0 1.4-.1 2-.4s1.1-.7 1.4-1.3q.45-.6.6-1.5v-.2h-2.4c0 .4-.2.7-.5 1s-.7.4-1.1.4c-.6 0-1.1-.2-1.4-.7-.3-.3-.4-1-.4-1.8v-.5c0-1 .1-1.7.4-2.1.3-.5.8-.7 1.4-.7.4 0 .8.2 1.1.5s.4.6.5 1v.2h2.4c-.1-1.1-.4-2-1.1-2.7-.8-.7-1.7-1-2.9-1m28.1 0c-1.1 0-2 .3-2.7.8-.7.6-1.1 1.3-1.1 2.1 0 1.4 1.1 2.4 3.2 2.9h.2c.7.2 1.2.3 1.5.5s.5.4.5.7-.1.6-.4.8c-.2.1-.6.2-1.1.2q-.75 0-1.2-.3c-.3-.2-.5-.5-.5-.9v-.2h-2.5c0 .6.2 1.1.6 1.6.3.5.8.9 1.4 1.2s1.4.4 2.1.4c1.2 0 2.2-.2 2.9-.8.8-.5 1.1-1.2 1.1-2.1 0-1.2-.6-2-2-2.5-.3-.2-.8-.3-1.3-.4l-.3-.1c-.6-.1-1-.2-1.3-.4s-.4-.4-.4-.7.1-.5.3-.7c.3-.2.6-.3 1-.3.5 0 .9.1 1.1.3s.3.5.4.8v.1h2.5c0-.9-.3-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8m-18.7 0c-1.4 0-2.4.4-3.2 1.3-.7.8-1.1 1.9-1.2 3.2v.5c0 1.5.4 2.7 1.2 3.5.8.9 1.9 1.3 3.2 1.3.7 0 1.4-.1 2-.4s1.1-.7 1.4-1.3c.3-.4.5-.9.5-1.5v-.2h-2.3c0 .4-.2.7-.5 1s-.7.4-1.1.4c-.6 0-1.1-.2-1.4-.7-.3-.3-.4-1-.4-1.8v-.5c0-1 .1-1.7.4-2.1.3-.5.8-.7 1.3-.7s.9.2 1.2.5.4.6.5 1v.2h2.3c0-1.1-.3-2-1-2.7-.8-.7-1.7-1-2.9-1m9.5 0c-.9 0-1.6.2-2.3.6s-1.2 1-1.6 1.7c-.3.7-.5 1.4-.5 2.3v.5c0 1.5.4 2.6 1.3 3.4.8.9 2 1.3 3.4 1.3.8 0 1.5-.1 2.1-.4s1.1-.6 1.4-1.1l.2-.2-1.3-1.4c-.5.7-1.3 1.1-2.3 1.1q-.9 0-1.5-.6c-.4-.3-.6-.7-.7-1.3l-.1-.2h6.1v-1c0-1.5-.4-2.7-1.1-3.5-.8-.8-1.8-1.2-3.1-1.2m-28.7-3.1h-2.4l-4.8 12.8h2.8l.9-2.7h4.6l.9 2.7h2.8zm-1.2 3.2 1.6 4.8h-3.2zm29.9 1.9c.5 0 .9.2 1.2.5s.4.6.5 1.1v.4h-3.5q0-.9.6-1.5c.3-.3.7-.5 1.2-.5m-6.9-40.9L63.4 28.1h20.2z\'/%3E%3Cpath d=\'M73.5.5C33.2.5.5 33.2.5 73.5s32.7 73 73 73 73-32.7 73-73-32.7-73-73-73m0 8c35.9 0 65 29.1 65 65s-29.1 65-65 65-65-29.1-65-65 29.1-65 65-65\' class=\'prefix__a\'/%3E%3Cpath d=\'m63.4 28.1 10.1-15.3 10.1 15.3zM47.3 61.4l.9-2.7h4.6l.9 2.7h2.8l-4.8-12.8h-2.4l-4.8 12.8zm4.8-4.8h-3.2l1.6-4.8zm9.4 4.9c.8 0 1.4-.1 2-.4s1.1-.7 1.4-1.3c.4-.5.6-1.1.6-1.7h-2.4c0 .4-.2.7-.5 1s-.7.4-1.1.4c-.6 0-1.1-.2-1.4-.7-.3-.4-.4-1.1-.4-2.1v-.2c0-1 .1-1.7.4-2.1.3-.5.8-.7 1.4-.7.4 0 .8.2 1.1.5s.5.7.5 1.2h2.4c-.1-1.1-.4-2-1.1-2.7-.8-.7-1.7-1-2.9-1-1.4 0-2.4.4-3.2 1.3s-1.2 2-1.2 3.5v.2c0 1.5.4 2.7 1.2 3.5.8.9 1.9 1.3 3.2 1.3m9.4 0c.7 0 1.4-.1 2-.4s1.1-.7 1.4-1.3c.4-.5.5-1.1.5-1.7h-2.3c0 .4-.2.7-.5 1s-.7.4-1.1.4c-.6 0-1.1-.2-1.4-.7-.3-.4-.4-1.1-.4-2.1v-.2c0-1 .1-1.7.4-2.1.3-.5.8-.7 1.3-.7s.9.2 1.2.5.5.7.5 1.2h2.3c0-1.1-.3-2-1-2.7-.8-.7-1.7-1-2.9-1-1.4 0-2.4.4-3.2 1.3s-1.2 2-1.2 3.5v.2c0 1.5.4 2.7 1.2 3.5.8.9 1.9 1.3 3.2 1.3m9.8 0c.8 0 1.5-.1 2.1-.4.7-.3 1.2-.7 1.6-1.3l-1.3-1.4c-.5.7-1.3 1.1-2.3 1.1q-.9 0-1.5-.6c-.4-.4-.7-.9-.8-1.5h6.1v-1c0-1.5-.4-2.7-1.1-3.5-.8-.8-1.8-1.2-3.1-1.2-.9 0-1.6.2-2.3.6s-1.2 1-1.6 1.7c-.4.8-.5 1.6-.5 2.6v.2c0 1.5.4 2.6 1.3 3.4.8.9 2 1.3 3.4 1.3m1.4-5.8h-3.5q0-.9.6-1.5c.3-.3.7-.5 1.2-.5s.9.2 1.2.5.5.7.5 1.3zm7.5 5.8c1.2 0 2.2-.2 2.9-.8.8-.5 1.1-1.2 1.1-2.1 0-1.2-.6-2-2-2.5-.4-.2-.9-.3-1.6-.5-.6-.1-1-.2-1.3-.4s-.4-.4-.4-.7.1-.5.3-.7c.3-.2.6-.3 1-.3.5 0 .9.1 1.1.3.3.3.4.6.4.9h2.5c0-.9-.3-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8-1.1 0-2 .3-2.7.8-.7.6-1.1 1.3-1.1 2.1 0 1.5 1.2 2.4 3.4 2.9.7.2 1.2.3 1.5.5s.5.4.5.7-.1.6-.4.8c-.2.1-.6.2-1.1.2q-.75 0-1.2-.3c-.4-.3-.5-.6-.5-1.1h-2.5c0 .6.2 1.1.6 1.6.3.5.8.9 1.4 1.2s1.4.4 2.1.4m9.3 0c1.2 0 2.1-.2 2.9-.8.7-.5 1.1-1.2 1.1-2.1 0-1.2-.7-2-2-2.5-.4-.2-1-.3-1.6-.5-.6-.1-1.1-.2-1.4-.4-.2-.2-.4-.4-.4-.7s.2-.5.4-.7.6-.3 1-.3c.5 0 .9.1 1.1.3q.3.45.3.9h2.6c0-.9-.4-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8-1.1 0-2.1.3-2.8.8-.7.6-1 1.3-1 2.1 0 1.5 1.1 2.4 3.4 2.9.7.2 1.2.3 1.5.5s.4.4.4.7-.1.6-.3.8c-.3.1-.7.2-1.1.2-.6 0-1-.1-1.3-.3-.3-.3-.5-.6-.5-1.1h-2.4c0 .6.2 1.1.5 1.6q.6.75 1.5 1.2c.6.3 1.3.4 2.1.4M32.7 84.2c1.3 0 2.2-.6 2.8-1.9l.2-.5 3.8-11h-2.7l-1.7 6-1.8-6h-2.7l3.3 9.6-.3.8c-.1.3-.3.5-.6.7-.2.1-.6.2-1 .2h-.4V84c.3.1.7.2 1.1.2m11.8-3.7c1.4 0 2.5-.4 3.3-1.3s1.2-2 1.2-3.5V75c-.1-1.3-.5-2.4-1.4-3.2-.8-.7-1.8-1.1-3.1-1.1q-1.35 0-2.4.6c-.7.4-1.2 1-1.5 1.7-.4.7-.6 1.6-.6 2.5v.1q0 2.25 1.2 3.6c.9.9 2 1.3 3.3 1.3m0-2c-.6 0-1.1-.3-1.4-.7-.4-.5-.5-1.2-.5-2.1 0-1 .1-1.8.5-2.2.3-.5.8-.8 1.4-.8s1.1.3 1.5.8c.3.4.5 1.1.5 2 0 1.1-.2 1.8-.5 2.3-.4.4-.9.7-1.5.7m9.2 2c1.1 0 2-.3 2.6-1.1l.1 1h2.3v-9.6h-2.5v6.8q-.45.9-1.8.9c-1.35 0-1.3-.5-1.3-1.5v-6.2h-2.6v6.3c0 1.1.3 2 .8 2.6.6.5 1.4.8 2.4.8m9.5-.1v-6.3c.3-.6.9-.9 1.9-.9h.9v-2.4c-.2-.1-.5-.1-.8-.1-.9 0-1.6.4-2.1 1.3v-1.2h-2.4v9.6zm12.1.1c1.2 0 2.2-.2 2.9-.8.8-.5 1.1-1.2 1.1-2.1 0-1.2-.6-2-2-2.5-.4-.2-1-.3-1.6-.5-.6-.1-1.1-.2-1.3-.4-.3-.2-.4-.4-.4-.7s.1-.5.3-.7c.3-.2.6-.3 1-.3.5 0 .9.1 1.1.3.2.3.4.6.4.9h2.5c0-.9-.4-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8-1.1 0-2 .3-2.7.8-.7.6-1.1 1.3-1.1 2.1 0 1.5 1.2 2.4 3.4 2.9.7.2 1.2.3 1.5.5s.5.4.5.7-.2.6-.4.8c-.3.1-.6.2-1.1.2s-1-.1-1.3-.3c-.3-.3-.4-.6-.5-1.1h-2.4c0 .6.2 1.1.6 1.6.3.5.8.9 1.4 1.2s1.3.4 2.1.4m8.5 0c1 0 1.8-.3 2.4-1l.3.9H89v-.2c-.2-.5-.3-1.1-.3-2V74c0-1-.4-1.9-1.1-2.4-.7-.6-1.6-.9-2.8-.9-.7 0-1.4.1-2.1.4-.6.2-1.1.6-1.4 1.1-.3.4-.5 1-.5 1.5h2.5c0-.4.2-.6.4-.8s.6-.3 1-.3c.5 0 .8.1 1.1.3.2.3.3.7.3 1.1v.5h-1.2c-1.4.1-2.4.3-3.2.9-.7.5-1.1 1.3-1.1 2.3 0 .8.3 1.5.9 2 .6.6 1.4.8 2.3.8m.6-1.9q-.6 0-.9-.3c-.3-.2-.4-.5-.4-.8v-.1c.1-.9.8-1.4 2.1-1.4h.9v1.7c-.1.2-.4.5-.7.6-.3.2-.7.3-1 .3m10.9 1.8 3.2-9.6h-2.7L94 77.3l-1.7-6.5h-2.7l3.2 9.6zm8.5.1c.8 0 1.6-.1 2.2-.4.7-.3 1.2-.7 1.5-1.3l-1.2-1.4c-.6.7-1.3 1.1-2.3 1.1-.6 0-1.1-.2-1.6-.6-.4-.4-.6-.9-.7-1.5h6.1v-1c0-1.5-.4-2.7-1.2-3.5q-1.05-1.2-3-1.2-1.35 0-2.4.6c-.6.4-1.2 1-1.5 1.7-.4.8-.6 1.6-.6 2.6v.2c0 1.5.5 2.6 1.3 3.4.9.9 2 1.3 3.4 1.3m1.5-5.8h-3.6q.15-.9.6-1.5c.3-.3.7-.5 1.2-.5.6 0 1 .2 1.3.5s.4.7.5 1.3zm7.5 5.8c1.2 0 2.2-.2 2.9-.8.7-.5 1.1-1.2 1.1-2.1 0-1.2-.7-2-2-2.5-.4-.2-1-.3-1.6-.5-.6-.1-1.1-.2-1.3-.4-.3-.2-.4-.4-.4-.7s.1-.5.3-.7.6-.3 1-.3c.5 0 .9.1 1.1.3q.3.45.3.9h2.6c0-.9-.4-1.6-1.1-2.2-.7-.5-1.7-.8-2.9-.8-1.1 0-2 .3-2.7.8-.7.6-1.1 1.3-1.1 2.1 0 1.5 1.1 2.4 3.4 2.9.7.2 1.2.3 1.5.5s.4.4.4.7-.1.6-.3.8c-.3.1-.6.2-1.1.2-.6 0-1-.1-1.3-.3-.3-.3-.5-.6-.5-1.1h-2.4c0 .6.2 1.1.5 1.6q.6.75 1.5 1.2c.6.3 1.3.4 2.1.4M59.5 99.4v-6.8c.3-.6.9-.9 1.6-.9.6 0 .9.2 1.2.4q.3.45.3 1.2v6.1h2.6v-6.1c-.1-2.4-1.1-3.6-3.2-3.6-1 0-1.8.4-2.5 1.2v-5h-2.6v13.5zm12 .1c.8 0 1.5-.1 2.1-.4.7-.3 1.2-.7 1.6-1.3l-1.3-1.4c-.5.7-1.3 1.1-2.3 1.1q-.9 0-1.5-.6c-.5-.4-.7-.9-.8-1.5h6.1v-1c0-1.5-.4-2.7-1.1-3.5-.8-.8-1.8-1.2-3.1-1.2-.9 0-1.7.2-2.3.6-.7.4-1.2 1-1.6 1.7-.4.8-.6 1.6-.6 2.6v.2c0 1.5.5 2.6 1.4 3.4.8.9 2 1.3 3.4 1.3m1.4-5.8h-3.6q.15-.9.6-1.5c.4-.3.8-.5 1.3-.5s.9.2 1.2.5.5.7.5 1.3zm6.5 5.7v-6.3q.45-.9 1.8-.9h1v-2.4c-.3-.1-.5-.1-.8-.1-.9 0-1.6.4-2.1 1.3l-.1-1.2h-2.4v9.6zm8.2.1c.8 0 1.5-.1 2.2-.4.6-.3 1.1-.7 1.5-1.3L90 96.4c-.5.7-1.3 1.1-2.2 1.1-.7 0-1.2-.2-1.6-.6s-.7-.9-.8-1.5h6.1v-1c0-1.5-.4-2.7-1.1-3.5-.8-.8-1.8-1.2-3.1-1.2-.9 0-1.6.2-2.3.6s-1.2 1-1.6 1.7c-.3.8-.5 1.6-.5 2.6v.2c0 1.5.4 2.6 1.3 3.4.9.9 2 1.3 3.4 1.3m1.4-5.8h-3.5q.15-.9.6-1.5c.3-.3.7-.5 1.2-.5s1 .2 1.2.5c.3.3.5.7.5 1.3z\' class=\'prefix__a\'/%3E%3C/g%3E%3C/svg%3E\") no-repeat;background-size:contain;position:absolute;right:-37px}@media print{html,body{background-color:#fff}} 2410`],encapsulation:2});}};Se$3([Pt({storageKey:ut$2.CoBrandCode})],ce.prototype,"coBrandCode",void 0);Se$3([Pt({storageKey:ut$2.IsMultipleImpersonationAttempted})],ce.prototype,"isMultipleImpersonationAttempted",void 0);var gt=r=>{let t=h$5(IB),e=h$5(ue$3);if(!E$4.config?.isValid||!e.user)return e.coBrand=null,null;let i=qVe(r.queryParams,H$3.CoBrandCode),n=zy(qVe(r.queryParams,H$3.IsPreview))||null;
2410return i||(i=e.coBrandCodeFromCookies),t.getCoBrand({coBrandCode:i,isPreview:n}).pipe(T$3(c=>(r.queryParams[H$3.CoBrandCode]&&(e.coBrandCodeFromCookies=c&&!c.isPreview?c.coBrandCode:null),e.coBrand=c,c)),k$3(()=>N$4(null)))};var Pr=()=>{let r=h$5(IB);return E$4.config?.isValid?r.getSiteHeaderInfo().pipe(k$3(()=>N$4(wr()))):wr()};function wr(){return new Xf({commercialReports:[],residentialReports:[],hasAnyInvalidOrgAgentIds:false,maintenanceMessage:null,orgMessagingStatus:$a.NoOrgs,todaysReportCount:0,userOfficeCityState:null,userPhotoIconUrl:null})}var Tr=[{path:"auth",loadChildren:()=>import('./chunk-BA-11Nqm.js'),canActivate:[]},{path:"interstitial",loadChildren:()=>import('./chunk-BOH2hRYa.js'),data:{skipAnalytics:true,skipVersionCheck:true},canActivate:[je$1]},{path:"standalone-chart",loadChildren:()=>import('./chunk-DhYgFoRv.js'),data:{skipAnalytics:true,skipVersionCheck:true,omitGoogleTagManager:true}},{path:"chart-service",loadComponent:()=>import('./chunk-QhetX5n5.js').then(r=>r.StandaloneChartService),title:"Chart Service",data:{skipAnalytics:true,skipVersionCheck:true,supportsMobile:true,disableSmartBanner:true}},{path:"confirm-user-link",loadComponent:()=>import('./chunk-BHoemCyi.js').then(r=>r.StandaloneConfirmUserLink),title:"Confirm Accounts Link",canActivate:[je$1]},{matcher:r=>r?.length&&["deep-link","find","find.aspx"].includes(r[0].path?.toLowerCase())?{consumed:r}:null,loadComponent:()=>import('./chunk-CMx9XiD0.js').then(r=>r.StandaloneDeepLink),resolve:{coBrand:gt,userSettings:X3e},title:"Deep Link",canActivate:[je$1]},{path:"standalone-map",loadComponent:()=>import('./chunk-Dt-nIc5Y.js').then(r=>
2410r.StandaloneMap),title:"Map",data:{skipAnalytics:true,skipVersionCheck:true,omitGoogleTagManager:true}},{path:"reports-v2/:report-criteria-id/calculate-pages",loadComponent:()=>import('./chunk-BSHvMI8R.js').then(r=>r.StandaloneReportCalculatePages),title:"Calculate Pages",data:{skipAnalytics:true,skipVersionCheck:true,omitGoogleTagManager:true}},{path:"reports-v2/:report-criteria-id/standalone-page",loadComponent:()=>import('./chunk-FNH9yi2z.js').then(r=>r.StandaloneReportPage),title:"Report Page",data:{skipAnalytics:true,skipVersionCheck:true,omitGoogleTagManager:true}},{path:"reports-v2/:report-criteria-id/pdf-status",loadComponent:()=>import('./chunk-BY1F-Aen.js').then(r=>r.StandaloneReportPdfStatus),title:"PDF Status"},{path:"",component:ce,resolve:{coBrand:gt,siteHeader:Pr,userSettings:X3e},children:[{path:"home",loadChildren:()=>import('./chunk-CNEzZghi.js'),canActivate:[je$1]},{path:"admin",loadChildren:()=>import('./chunk-DXqlAPw9.js').then(function(n){return n.c})},{path:"dashboard",loadChildren:()=>import('./chunk-BpeE-q7u.js').then(function(n){return n.c}),canActivate:[je$1]},{path:"reports-v2",loadChildren:()=>import('./chunk-DoKuR2MW.js'),canActivate:[je$1]},{path:"properties",loadChildren:()=>import('./chunk-DiQzeyan.js'),canActivate:[je$1]},{path:"profile-settings",loadChildren:()=>import('./chunk-BUBBNOFc.js'),canActivate:[je$1]},{path:"market-trends",loadChildren:()=>import('./chunk-BqX9sIke.js'),canActivate:[je$1],data:{residentialLearningMenuPageType:s$4.ResidentialMarketTrends}},{path:"neighborhoods",loadChildren:()=>import('./chunk-Ck5kWbM8.js'),canActivate:[je$1]},{path:"schools",loadChildren:()=>import('./chunk-CaSXEqEV.js'),canActivate:[je$1]},{path:"poc",loadChildren:()=>import('./chunk-Dzmd4lCm.js'),canActivate:[je$1],data:{requiredPermissions:[e$1.AccessAdminPortal]}},{path:"",pathMatch:"full",redirectTo:"home"}]},{path:"**",title:"Page Not Found",component:ye$2}];var xr=(()=>{class r extends QS{constructor(){super(...arguments),this.title=h$5(EN),this.events=h$5(Xo);}updateTitle(e){let n=(this.buildTitle(e)?.trim()||"Untitled Page").split("|||"),c=n[0].trim(),p=(n.length>1?n[1].trim():"")||c;this.title.setTitle(c+(E$4.config.websiteName&&c?" - ":"")+(E$4.config.websiteName||"")),this.events.fire(Ti.TitleStrategyFinished,p);}static{this.\u0275fac=(()=>{let e;return function(n){return (e||(e=_t$1(r)))(n||r)}})();}static{this.\u0275prov=K$5({token:r,factory:r.\u0275fac,providedIn:"root"});}}return r})();function Wn(r){return ()=>r.load()}var kr={providers:[U6(Tr,j6({onSameUrlNavigation:"reload",urlUpdateStrategy:"deferred",paramsInheritanceStrategy:"emptyOnly"}),V6({scrollPositionRestoration:"disabled"})),G3(),Ke$1({visibility:"hover",appearance:"compact",orientation:"vertical"}),Hq(),ye$1,{provide:fr$1,useClass:ye$1},ht,pm(()=>Wn(h$5(ht))()),{provide:QS,useClass:xr},{provide:Ie$1,useValue:{appearance:"outline"}},{provide:B9,useValue:{autoFocus:false}},{provide:wI,useValue:{usePopover:false}},{provide:ee$2,useValue:`${HVe}/tinymce/tinymce.min.js`},Bf,Wc,n3,qc,n$1,s3,I,hE]};E$4.deployed&&void 0;w3(yr,kr).catch(r=>console.error(r));export{$c as $,wt as A,Bn$1 as B,bi as C,Dq as D,Ee$2 as E,SC as F,G6 as G,H$3 as H,Ii as I,Eh as J,lw as K,La as L,Mn$1 as M,vd as N,Os as O,Pc as P,Q$6 as Q,yd as R,SB as S,_d as T,Uc as U,CC as V,Mq as W,je$1 as X,MB as Y,VVe as Z,_t$1 as _,sUe as a,jTe as a$,r as a0,E$4 as a1,Et as a2,Sy as a3,w1e as a4,Y as a5,Se$2 as a6,dn$1 as a7,Xo as a8,D$1 as a9,a as aA,Ne$1 as aB,D_ as aC,iTe as aD,ZAe as aE,N$4 as aF,zF as aG,QF as aH,xy as aI,zl as aJ,Vt$2 as aK,q$7 as aL,ihe as aM,che as aN,Ei as aO,cB as aP,TVe as aQ,Fr$1 as aR,Se$3 as aS,Pn$1 as aT,gm as aU,_C as aV,ym as aW,Vc as aX,Js as aY,CB as aZ,h$3 as a_,IB as aa,VTe as ab,vf as ac,ft$2 as ad,rr as ae,Ke$3 as af,Ht$1 as ag,Ti as ah,Ft as ai,T$3 as aj,k$3 as ak,l$3 as al,O1 as am,zn as an,If as ao,Ep as ap,RB as aq,Fl as ar,me$2 as as,en$1 as at,o as au,Be as av,FI as aw,Ca as ax,N_ as ay,E$3 as az,h$5 as b,ZR as b$,PTe as b0,oL as b1,RTe as b2,ATe as b3,lZ as b4,bZ as b5,M as b6,Je$1 as b7,Qe as b8,HTe as b9,Pe as bA,n3 as bB,Oq as bC,Dd as bD,Fq as bE,Th as bF,Ih as bG,wd as bH,Qh as bI,i$2 as bJ,C as bK,qVe as bL,ZP as bM,$y as bN,ye$2 as bO,oUe as bP,Bf as bQ,Bge as bR,ut$2 as bS,ir$1 as bT,zy as bU,o$1 as bV,qc as bW,Y1 as bX,sq as bY,Uq as bZ,Lq as b_,xZ as ba,kR as bb,bm as bc,He as bd,y$2 as be,Z2 as bf,Q2 as bg,ct$1 as bh,jc as bi,Hc as bj,Rt as bk,PR as bl,Yz as bm,FTe as bn,BTe as bo,NL as bp,CL as bq,OZ as br,NZ as bs,Pw as bt,l$2 as bu,E as bv,Ve as bw,y as bx,qL as by,rE as bz,c,Sf as c$,te$2 as c0,n1 as c1,xVe as c2,qi as c3,nc as c4,nF as c5,Re$1 as c6,a$2 as c7,ou as c8,e_ as c9,XAe as cA,Oz as cB,lb as cC,wu as cD,iUe as cE,sTe as cF,Ol as cG,$n$1 as cH,ne$3 as cI,at$1 as cJ,uV as cK,D1 as cL,r$2 as cM,w$1 as cN,K$3 as cO,s3 as cP,o$5 as cQ,s$4 as cR,Qr$1 as cS,Ip as cT,a$4 as cU,ohe as cV,sr as cW,YVe as cX,OTe as cY,go as cZ,rt$3 as c_,Jc as ca,as as cb,U$3 as cc,Cm as cd,she as ce,N1e as cf,LR as cg,x$5 as ch,OB as ci,B$2 as cj,U$1 as ck,o$2 as cl,G$3 as cm,IHe as cn,oi as co,SE as cp,kHe as cq,De$2 as cr,gK as cs,Xv as ct,CHe as cu,wHe as cv,_e$2 as cw,cV as cx,wK as cy,QAe as cz,It as d,oTe as d$,Ba as d0,ni as d1,Ae$3 as d2,J1 as d3,
2410KX as d4,kf as d5,ZVe as d6,GVe as d7,f as d8,h$2 as d9,VX as dA,KVe as dB,Q1 as dC,mE as dD,vE as dE,eje as dF,XVe as dG,JVe as dH,tje as dI,QVe as dJ,QX as dK,$Ae as dL,BAe as dM,GS as dN,F6 as dO,vm as dP,JA as dQ,GW as dR,JR as dS,t$1 as dT,fs as dU,R_ as dV,$Ve as dW,NTe as dX,w_ as dY,rt$1 as dZ,LTe as d_,M_ as da,o$4 as db,ML as dc,iI as dd,Cl as de,fV as df,kr$1 as dg,bC as dh,DC as di,Ot as dj,e$1 as dk,WX as dl,rB as dm,zX as dn,ZX as dp,OVe as dq,qX as dr,Vf as ds,MVe as dt,m as du,g as dv,oc as dw,r$1 as dx,XX as dy,RVe as dz,ei as e,fje as e$,E_ as e0,FVe as e1,rje as e2,YP as e3,Vt$1 as e4,Ne as e5,q$2 as e6,Ae$2 as e7,pt as e8,xL as e9,EN as eA,uje as eB,s$6 as eC,vu as eD,k1 as eE,p1e as eF,cu as eG,nn$1 as eH,cs as eI,ls as eJ,us as eK,tK as eL,Ia as eM,o3 as eN,KW as eO,EZ as eP,sZ as eQ,iZ as eR,bE as eS,dje as eT,zf as eU,c$3 as eV,vy as eW,Fa as eX,Rq as eY,oB as eZ,nK as e_,Bq as ea,At as eb,rr$1 as ec,Lf as ed,Mi as ee,hE as ef,Zv as eg,ahe as eh,Wf as ei,THe as ej,a3 as ek,AVe as el,Of as em,yE as en,eB as eo,ve as ep,I as eq,fb as er,CE as es,oe$2 as et,Rje as eu,PL as ev,ri as ew,eK as ex,Xe$1 as ey,wi as ez,h as f,pf as f$,Qv as f0,iB as f1,PVe as f2,iK as f3,MC as f4,yje as f5,it$1 as f6,qf as f7,iNe as f8,TN as f9,UF as fA,Vn$1 as fB,Zf as fC,mH as fD,U_ as fE,ce$4 as fF,se$3 as fG,xr$1 as fH,cn$1 as fI,ae$3 as fJ,R$3 as fK,ln$1 as fL,co as fM,zt as fN,le$4 as fO,In$1 as fP,Mr$1 as fQ,ga as fR,af as fS,Kr$1 as fT,Br$1 as fU,Sl as fV,Dn$1 as fW,El as fX,Fe as fY,nr$1 as fZ,hf as f_,ar as fa,uu as fb,Hk as fc,Bk as fd,j$2 as fe,En$1 as ff,S1e as fg,RHe as fh,HAe as fi,aje as fj,bS as fk,K$5 as fl,de$4 as fm,jy as fn,Vy as fo,Zt$1 as fp,rs as fq,cl as fr,Tk as fs,Ay as ft,fB as fu,tt$1 as fv,dk as fw,p as fx,xt$1 as fy,QW as fz,eS as g,oNe as g$,lI as g0,ST as g1,UC as g2,f1e as g3,vt$1 as g4,Jg as g5,wa as g6,FL as g7,zc as g8,Je$3 as g9,_I as gA,Ae$1 as gB,C9 as gC,Bl as gD,Oi as gE,wI as gF,Wo as gG,yI as gH,NI as gI,ff as gJ,dI as gK,i9 as gL,lh as gM,ke$1 as gN,Xg as gO,Ro as gP,Ct as gQ,TEe as gR,Kg as gS,VIe as gT,Tl as gU,DI as gV,df as gW,_u as gX,I1e as gY,rTe as gZ,nNe as g_,ze$2 as ga,lo as gb,uo as gc,_m as gd,Zi as ge,Ji as gf,zL as gg,LL as gh,na as gi,sje as gj,gn$1 as gk,Uv as gl,e1 as gm,VAe as gn,Pa as go,AX as gp,RX as gq,Mf as gr,KBe as gs,G1 as gt,eUe as gu,JBe as gv,QBe as gw,Ly as gx,An$1 as gy,Xn as gz,h$1 as h,s1 as h$,g1e as h0,uUe as h1,MHe as h2,vK as h3,u as h4,pM as h5,V1 as h6,we$2 as h7,X$5 as h8,L1 as h9,Uy as hA,Sk as hB,Ty as hC,QL as hD,CK as hE,DB as hF,tNe as hG,vB as hH,UHe as hI,rUe as hJ,LHe as hK,jAe as hL,t1 as hM,UAe as hN,XL as hO,My as hP,X$3 as hQ,qHe as hR,HHe as hS,M$1 as hT,A$2 as hU,wB as hV,mB as hW,PHe as hX,zHe as hY,xK as hZ,Aq as h_,sNe as ha,jVe as hb,V as hc,$He as hd,yK as he,jHe as hf,v$1 as hg,JAe as hh,Hy as hi,BI as hj,EHe as hk,SHe as hl,AHe as hm,NHe as hn,VHe as ho,SK as hp,ob as hq,FHe as hr,BHe as hs,EK as ht,ZBe as hu,nUe as hv,sg as hw,gk as hx,v$5 as hy,Ua as hz,bt$2 as i,xI as i$,ql as i0,UVe as i1,Ha as i2,jv as i3,ag as i4,vs as i5,$f as i6,V$4 as i7,KA as i8,hUe as i9,uhe as iA,n$1 as iB,G$2 as iC,GAe as iD,ul as iE,hV as iF,B_ as iG,CX as iH,is as iI,aTe as iJ,y1e as iK,ht$1 as iL,R9 as iM,uh as iN,Sn$1 as iO,a9 as iP,Np as iQ,Z$1 as iR,fr$1 as iS,hd as iT,ma as iU,jIe as iV,Wg as iW,ba as iX,Rl as iY,Al as iZ,kn$1 as i_,xHe as ia,OHe as ib,eNe as ic,KAe as id,cje as ie,Hl as ig,Rf as ih,lje as ii,WVe as ij,YAe as ik,DX as il,Iy as im,iE as io,lUe as ip,pUe as iq,m1e as ir,XBe as is,tUe as it,YA as iu,Sq as iv,Nq as iw,Vq as ix,Rr as iy,$Z as iz,eA as j,or as j$,va as j0,lf as j1,o9 as j2,D9 as j3,XR as j4,QR as j5,bq as j6,Di as j7,VL as j8,eE as j9,Af as jA,S_ as jB,s$3 as jC,u$3 as jD,cUe as jE,bje as jF,Ije as jG,gje as jH,Cje as jI,hje as jJ,rK as jK,dUe as jL,vje as jM,mje as jN,ds as jO,IX as jP,pje as jQ,_je as jR,oK as jS,Z1 as jT,Dje as jU,wje as jV,v1e as jW,o$3 as jX,__ as jY,y$3 as jZ,I_ as j_,YTe as ja,Mp as jb,f_ as jc,du as jd,l_ as je,P_ as jf,g_ as jg,xCe as jh,qo as ji,O as jj,kI as jk,rc as jl,$s as jm,wR as jn,oIe as jo,fI as jp,RR as jq,V3 as jr,Ir$1 as js,eo as jt,ai as ju,YW as jv,WP as jw,rNe as jx,ru as jy,$v as jz,ka as k,E$1 as k$,C_ as k0,D1e as k1,eTe as k2,g$2 as k3,JX as k4,sK as k5,Sje as k6,UTe as k7,pI as k8,SZ as k9,xi as kA,Nz as kB,BX as kC,zAe as kD,oje as kE,jX as kF,h1e as kG,si as kH,mV as kI,BVe as kJ,DK as kK,bK as kL,XF as kM,ge$1 as kN,WAe as kO,H as kP,Ff as kQ,Yv as kR,uVe as kS,LX as kT,FX as kU,bl as kV,lu as kW,LVe as kX,qAe as kY,aUe as kZ,gV as k_,Aje as ka,Nf as kb,xje as kc,aK as kd,i$1 as ke,Ra as kf,Oa as kg,mn$1 as kh,$1 as ki,Aa as kj,uNe as kk,lNe as kl,H1 as km,qn as kn,Tje as ko,Eje as kp,Mje as kq,cK as kr,a$5 as ks,r3 as kt,n$2 as ku,Nje as kv,NVe as kw,kVe as kx,C1e as ky,YZ as kz,gt$1 as l,mt$1 as m,nje as n,oI as o,ks as p,jq as q,_i as r,sI as
2410s,Ut$1 as t,ue$3 as u,xn$1 as v,wq as w,xB as x,xq as y,zo as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.