PageSourceSearch

https://firstintegrityagent.com/branded-site/main-QA6HWHLE.js

js firstintegrityagent.com collected 2026-09-24 14:13:12 UTC 940,605 bytes, 11 lines download raw bytes

vendor: 4,120 bytes, line 1
1import{$ as J,$a as ni,$b as f,A as Us,Aa as sc,Ab as Oe,Ac as Mc,B as ei,Ba as ii,Bb as g,Bc as Ic,C as _i,Ca as Ht,Cb as l,Cc as Ac,D as Kr,Da as zn,Db as c,Dc as Wt,E as Hs,Ea as Zs,Eb as y,Ec as Fc,F as Pe,Fa as $i,Fb as Zn,Fc as lo,G as Ws,Ga as zi,Gb as qn,Gc as ue,H as Wi,Ha as ac,Hb as Xn,Hc as fe,I as ti,Ia as lc,Ib as T,Ic as R,J as js,Ja as cc,Jb as qi,Jc as H,K as Ql,Ka as dc,Kb as Ys,Kc as ta,L as $s,La as uc,Lb as Qn,Lc as ge,M as Yl,Ma as hc,Mb as _,N as zs,Na as mc,Nb as p,O as Jr,Oa as Et,Ob as ri,P as dt,Pa as Y,Pb as Ne,Q as Re,Qa as bi,Qb as Si,R as ut,Ra as Gi,Rb as L,S as Ce,Sa as pc,Sb as F,T as te,Ta as d,Tb as O,U as jn,Ua as Ci,Ub as wc,V as Nt,Va as fc,Vb as Yn,W as Ut,Wa as gc,Wb as Ks,Wc as Oc,X as M,Xa as to,Xb as oo,Xc as er,Y as ne,Ya as me,Yb as oi,Yc as co,Z as Kl,Za as le,Zb as Se,_ as P,_a as yt,_b as x,_c as Lc,a as I,aa as b,ab as Zi,ac as B,ad as uo,b as be,ba as vi,bb as Ze,bc as N,c as Un,ca as Jl,cb as ce,cc as Tt,cd as Rc,d as Kt,da as ec,db as w,dc as z,e as zl,ea as it,eb as _c,ec as G,f as ct,fa as nt,fb as ht,fc as Z,g as Ps,ga as yi,gb as io,gc as so,h as Bs,ha as h,hb as vc,hc as Kn,hd as Vc,i as j,ia as m,ib as qs,ic as qe,j as Ue,ja as he,jb as K,jc as ie,k as Gl,ka as pe,kb as oe,kc as bt,l as Bt,la as de,lb as Q,lc as xc,m as Qe,ma as ee,mb as yc,mc as ao,n as $,na as ji,nb as Ae,nc as Xi,o as Hn,oa as Gs,ob as bc,oc as Qi,p as Ns,pa as eo,pb as k,pc as mt,q as Zl,qa as tc,qb as Xs,qc as kc,r as X,ra as Be,rb as Cc,rc as Ec,s as Wn,sa as ic,sb as no,sc as We,t as Ye,ta as nc,tb as ro,tc as si,u as Qr,ua as rc,ub as Qs,uc as Js,v as Jt,va as Ge,vb as Gn,vc as Dc,w as ql,wa as He,wb as Sc,wc as Jn,x as Yr,xa as re,xb as Dt,xc as Tc,y as Xl,ya as oc,yb as _e,yc as Ke,z as ke,za as $n,zb as Fe,zc as ea}from"./chunk-4DPJTING.js";var Nc=null;function Je(){return Nc}function ia(n){Nc??=n}var tr=class{},na=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>b(Uc),providedIn:"platform"})}return n})();var Uc=(()=>{class n extends na{_location;_history;_doc=b(ee);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Je().getBaseHref(this._doc)}onPopState(e){let t=Je().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=Je().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,t,i){this._history.pushState(e,t,i)}replaceState(e,t,i){this._history.replaceState(e,t,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>new n,providedIn:"platform"})}return n})();function Hc(n,r){return n?r?n.endsWith("/")?r.startsWith("/")?n+r.slice(1):n+r:r.startsWith("/")?n+r:`${n}/${r}`:n:r}function Pc(n){let r=n.search(/#|\?|$/);return n[r-1]==="/"?n.slice(0,r-1)+n.slice(r):n}function ai(n){return n&&n[0]!=="?"?`?${n}`:n}var ho=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>b(Wc),providedIn:"root"})}return n})(),mo=new P(""),Wc=(()=>{class n extends ho{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??b(ee).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
1HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Hc(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+ai(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,o){let s=this.prepareExternalUrl(i+ai(o));this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,o){let s=this.prepareExternalUrl(i+ai(o));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||n)(J(na),J(mo,8))};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),je=(()=>{class n{_subject=new j;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=Tm(Pc(Bc(t))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+ai(t))}normalize(e){return n.stripTrailingSlash(Dm(this._basePath,Bc(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._locationStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ai(t)),i)}replaceState(e,t="",i=null){this._locationStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ai(t)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t??void 0,complete:i??void 0})}static normalizeQueryParams=ai;static joinWithSlash=Hc;static stripTrailingSlash=Pc;static \u0275fac=function(t){return new(t||n)(J(ho))};static \u0275prov=M({token:n,factory:()=>Em(),providedIn:"root"})}return n})();function Em(){return new je(J(ho))}function Dm(n,r){if(!n||!r.startsWith(n))return r;let e=r.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Bc(n){return n.replace(/\/index.html$/,"")}function Tm(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var aa=(function(n){return n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific",n})(aa||{});var Mt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Yi(n,r){let e=Ys(n),t=e[Qn.NumberSymbols][r];if(typeof t>"u"){if(r===Mt.CurrencyDecimal)return e[Qn.NumberSymbols][Mt.Decimal];if(r===Mt.CurrencyGroup)return e[Qn.NumberSymbols][Mt.Group]}return t}function Zc(n,r){return Ys(n)[Qn.NumberFormats][r]}var Mm=/^(\d+)?\.((\d+)(-(\d+))?)?$/,jc=22,po=".",ir="0",Im=";",Am=",",ra="#";function Fm(n,r,e,t,i,o,s=!1){let a="",u=!1;if(!isFinite(n))a=Yi(e,Mt.Infinity);else{let v=Rm(n);s&&(v=Lm(v));let C=r.minInt,S=r.minFrac,E=r.maxFrac;if(o){let ae=o.match(Mm);if(ae===null)throw new te(2306,!1);let Ee=ae[1],ye=ae[3],lt=ae[5];Ee!=null&&(C=oa(Ee)),ye!=null&&(S=oa(ye)),lt!=null?E=oa(lt):ye!=null&&S>E&&(E=S);let tt=100;if(C>tt||S>tt||E>tt)throw new te(2306,!1)}Vm(v,S,E);let D=v.digits,A=v.integerLen,U=v.exponent,V=[];for(u=D.every(ae=>!ae);A<C;A++)D.unshift(0);for(;A<0;A++)D.unshift(0);A>0?V=D.splice(A,D.length):(V=D,D=[0]);let q=[];for(D.length>=r.lgSize&&q.unshift(D.splice(-r.lgSize,D.length).join(""));D.length>r.gSize;)q.unshift(D.splice(-r.gSize,D.length).join(""));D.length&&q.unshift(D.join("")),a=q.join(Yi(e,t)),V.length&&(a+=Yi(e,i)+V.join("")),U&&(a+=Yi(e,Mt.Exponential)+"+"+U)}return n<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function qc(n,r,e){let t=Zc(r,aa.Decimal),i=Om(t,Yi(r,Mt.MinusSign));return Fm(n,i,r,Mt.Group,Mt.Decimal,e)}
1function Om(n,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},t=n.split(Im),i=t[0],o=t[1],s=i.indexOf(po)!==-1?i.split(po):[i.substring(0,i.lastIndexOf(ir)+1),i.substring(i.lastIndexOf(ir)+1)],a=s[0],u=s[1]||"";e.posPre=a.substring(0,a.indexOf(ra));for(let C=0;C<u.length;C++){let S=u.charAt(C);S===ir?e.minFrac=e.maxFrac=C+1:S===ra?e.maxFrac=C+1:e.posSuf+=S}let v=a.split(Am);if(e.gSize=v[1]?v[1].length:0,e.lgSize=v[2]||v[1]?(v[2]||v[1]).length:0,o){let C=i.length-e.posPre.length-e.posSuf.length,S=o.indexOf(ra);e.negPre=o.substring(0,S).replace(/'/g,""),e.negSuf=o.slice(S+C).replace(/'/g,"")}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function Lm(n){if(n.digits[0]===0)return n;let r=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(r===0?n.digits.push(0,0):r===1&&n.digits.push(0),n.integerLen+=2),n}function Rm(n){let r=Math.abs(n)+"",e=0,t,i,o,s,a;for((i=r.indexOf(po))>-1&&(r=r.replace(po,"")),(o=r.search(/e/i))>0?(i<0&&(i=o),i+=+r.slice(o+1),r=r.substring(0,o)):i<0&&(i=r.length),o=0;r.charAt(o)===ir;o++);if(o===(a=r.length))t=[0],i=1;else{for(a--;r.charAt(a)===ir;)a--;for(i-=o,t=[],s=0;o<=a;o++,s++)t[s]=Number(r.charAt(o))}return i>jc&&(t=t.splice(0,jc-1),e=i-1,i=1),{digits:t,exponent:e,integerLen:i}}function Vm(n,r,e){if(r>e)throw new te(2307,!1);let t=n.digits,i=t.length-n.integerLen,o=Math.min(Math.max(r,i),e),s=o+n.integerLen,a=t[s];if(s>0){t.splice(Math.max(n.integerLen,s));for(let S=s;S<t.length;S++)t[S]=0}else{i=Math.max(0,i),n.integerLen=1,t.length=Math.max(1,s=o+1),t[0]=0;for(let S=1;S<s;S++)t[S]=0}if(a>=5)if(s-1<0){for(let S=0;S>s;S--)t.unshift(0),n.integerLen++;t.unshift(1),n.integerLen++}else t[s-1]++;for(;i<Math.max(0,o);i++)t.push(0);let u=o!==0,v=r+n.integerLen,C=t.reduceRight(function(S,E,D,A){return E=E+S,A[D]=E<10?E:E-10,u&&(A[D]===0&&D>=v?A.pop():u=!1),E>=10?1:0},0);C&&(t.unshift(C),n.integerLen++)}function oa(n){let r=parseInt(n);if(isNaN(r))throw new te(2305,!1);return r}var sa=/\s+/,$c=[],wi=(()=>{class n{_ngEl;_renderer;initialClasses=$c;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=e!=null?e.trim().split(sa):$c}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(sa):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(e!=null)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==t&&(i.changed=!0,i.enabled=t),i.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],i=e[1];i.changed?(this._toggleClass(t,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),i.touched=!1}}_toggleClass(e,t){e=e.trim(),e.length>0&&e.split(sa).forEach(i=>{t?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(t){return new(t||n)(w(re),w(ce))};static \u0275dir=Q({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})();var fo=class{$implicit;ngForOf;index;count;constructor(r,e,t,i){this.$implicit=r,this.ngForOf=e,this.index=t,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Ki=(()=>{class n{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let t=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)t.createEmbeddedView(this._template,new fo(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)t.remove(o===null?void 0:o);else if(o!==null){let a=t.get(o);t.move(a,s),zc(a,i)}});for(let i=0,o=t.length;i<o;i++){let a=t.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=t.get(i.currentIndex);zc(o,i)})}static ngTemplateContextGuard(e,t){return!0}static \u0275fac=function(t){return new(t||n)(w(ht),w(ni),w(ea))};static \u0275dir=Q({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();function zc(n,r){n.context.$implicit=r.item}var De=(()=>{class n{_viewContainer;_context=new go;_thenTemplateRef=null;_elseTemplateRef=null;
vendor: 16,663 bytes, line 1
1_thenViewRef=null;_elseViewRef=null;constructor(e,t){this._viewContainer=e,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Gc(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Gc(e,!1),this._elseTemplateRef=e,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(e,t){return!0}static \u0275fac=function(t){return new(t||n)(w(ht),w(ni))};static \u0275dir=Q({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),go=class{$implicit=null;ngIf=null};function Gc(n,r){if(n&&!n.createEmbeddedView)throw new te(2020,!1)}var rt=(()=>{class n{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,t,i){this._ngEl=e,this._differs=t,this._renderer=i}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){let[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:Ci.DashCase;t!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${t}${o}`:t,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static \u0275fac=function(t){return new(t||n)(w(re),w(Mc),w(ce))};static \u0275dir=Q({type:n,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return n})(),la=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,t,i):!1,get:(e,t,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,i)}})}static \u0275fac=function(t){return new(t||n)(w(ht))};static \u0275dir=Q({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Ge]})}return n})();function Pm(n,r){return new te(2100,!1)}var nr=(()=>{class n{_locale;constructor(e){this._locale=e}transform(e,t,i){if(!Bm(e))return null;i||=this._locale;try{let o=Nm(e);return qc(o,i,t)}catch(o){throw Pm(n,o.message)}}static \u0275fac=function(t){return new(t||n)(w(Ec,16))};static \u0275pipe=yc({name:"number",type:n,pure:!0})}return n})();function Bm(n){return!(n==null||n===""||n!==n)}function Nm(n){if(typeof n=="string"&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if(typeof n!="number")throw new te(2309,!1);return n}var we=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})();function rr(n,r){r=encodeURIComponent(r);for(let e of n.split(";")){let t=e.indexOf("="),[i,o]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var xi=class{};var ca="browser",Um="server";function Xc(n){return n===ca}function Qc(n){return n===Um}var or=class{_doc;constructor(r){this._doc=r}manager},_o=(()=>{class n extends or{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i,o){return e.addEventListener(t,i,o),()=>this.removeEventListener(e,t,i,o)}removeEventListener(e,t,i,o){return e.removeEventListener(t,i,o)}static \u0275fac=function(t){return new(t||n)(J(ee))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),yo=new P(""),pa=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof _o));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof _o);o&&this._plugins.push(o)}addEventListener(e,t,i,o){return this._findPluginFor(t).addEventListener(e,t,i,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new te(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||n)(J(yo),J(le))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),da="ng-app-id";function Yc(n){for(let r of n)r.remove()}function Kc(n,r){let e=r.createElement("style");return e.textContent=n,e}function Hm(n,r,e,t){let i=n.head?.querySelectorAll(`style[${da}="${r}"],link[${da}="${r}"]`);if(i)for(let o of i)o.removeAttribute(da),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function ha(n,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}var fa=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,i,o={}){this.doc=e,this.appId=t,this.nonce=i,Hm(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,Kc);t?.forEach(i=>this.addUsage(i,this.external,ha))}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&(Yc(i.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Yc(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,Kc(t,this.doc)));for(let[t,{elements:i}]of this.external)i.push(this.addElement(e,ha(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||n)(J(ee),J($n),J(zn,8),J(ii))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),ua={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"},ga=/%COMP%/g;var ed="%COMP%",Wm=`_nghost-${ed}`,jm=`_ngcontent-${ed}`,$m=!0,zm=new P("",{providedIn:"root",factory:()=>$m});function Gm(n){return jm.replace(ga,n)}function Zm(n){return Wm.replace(ga,n)}function td(n,r){return r.map(e=>e.replace(ga,n))}var ki=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,i,o,s,a,u=null,v=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=u,this.tracingService=v,this.platformIsServer=!1,this.defaultRenderer=new sr(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,t);return i instanceof vo?i.applyToHost(e):i instanceof ar&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,o=i.get(t.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,v=this.sharedStylesHost,C=this.removeStylesOnCompDestroy,S=this.platformIsServer,E=this.tracingService;switch(t.encapsulation){case Zs.Emulated:o=new vo(u,v,t,this.appId,C,s,a,S,E);break;case Zs.ShadowDom:return new ma(u,v,e,t,s,a,this.nonce,S,E);default:o=new ar(u,v,t,C,s,a,S,E);break}i.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||n)(J(pa),J(fa),J($n),J(zm),J(ee),J(le),J(zn),J(gc,8))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),sr=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,t,i,o){this.eventManager=r,this.doc=e,this.ngZone=t,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(ua[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(Jc(r)?r.content:r).appendChild(e)}insertBefore(r,e,t){r&&(Jc(r)?r.content:r).insertBefore(e,t)}removeChild(r,e){e.remove()}selectRootElement(r,e){let t=typeof r=="string"?this.doc.querySelector(r):r;if(!t)throw new te(-5104,!1);return e||(t.textContent=""),t}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,t,i){if(i){e=i+":"+e;let o=ua[i];o?r.setAttributeNS(o,e,t):r.setAttribute(e,t)}else r.setAttribute(e,t)}removeAttribute(r,e,t){if(t){let i=ua[t];i?r.removeAttributeNS(i,e):r.removeAttribute(`${t}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,t,i){i&(Ci.DashCase|Ci.Important)?r.style.setProperty(e,t,i&Ci.Important?"important":""):r.style[e]=t}removeStyle(r,e,t){t&Ci.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,t){r!=null&&(r[e]=t)}setValue(r,e){r.nodeValue=e}listen(r,e,t,i){if(typeof r=="string"&&(r=Je().getGlobalEventTarget(this.doc,r),!r))throw new te(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;r(e)===!1&&e.preventDefault()}}};function Jc(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var ma=class extends sr{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,t,i,o,s,a,u,v){super(r,o,s,u,v),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let C=i.styles;C=td(i.id,C);for(let E of C){let D=document.createElement("style");a&&D.setAttribute("nonce",a),D.textContent=E,this.shadowRoot.appendChild(D)}let S=i.getExternalStyles?.();if(S)for(let E of S){let D=ha(E,o);a&&D.setAttribute("nonce",a),this.shadowRoot.appendChild(D)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,t){return super.insertBefore(this.nodeOrShadowRoot(r),e,t)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ar=class extends sr{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,t,i,o,s,a,u,v){super(r,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let C=t.styles;this.styles=v?td(v,C):C,this.styleUrls=t.getExternalStyles?.(v)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&fc.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},vo=class extends ar{contentAttr;hostAttr;constructor(r,e,t,i,o,s,a,u,v){let C=i+"-"+t.id;super(r,e,t,o,s,a,u,v,C),this.contentAttr=Gm(C),this.hostAttr=Zm(C)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let t=super.createElement(r,e);return super.setAttribute(t,this.contentAttr,""),t}};var bo=class n extends tr{supportsDOMEvents=!0;static makeCurrent(){ia(new n)}onAndCancel(r,e,t,i){return r.addEventListener(e,t,i),()=>{r.removeEventListener(e,t,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=qm();return e==null?null:Xm(e)}resetBaseElement(){lr=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return rr(document.cookie,r)}},lr=null;function qm(){return lr=lr||document.head.querySelector("base"),lr?lr.getAttribute("href"):null}function Xm(n){return new URL(n,document.baseURI).pathname}var Co=class{addToWindow(r){Nt.getAngularTestability=(t,i=!0)=>{let o=r.findTestabilityInTree(t,i);if(o==null)throw new te(5103,!1);return o},Nt.getAllAngularTestabilities=()=>r.getAllTestabilities(),Nt.getAllAngularRootElements=()=>r.getAllRootElements();let e=t=>{let i=Nt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&t()};i.forEach(a=>{a.whenStable(s)})};Nt.frameworkStabilizers||(Nt.frameworkStabilizers=[]),Nt.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,t){if(e==null)return null;let i=r.getTestability(e);return i??(t?Je().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Qm=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),id=["alt","control","meta","shift"],Ym={"\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"},Km={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},nd=(()=>{class n extends or{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,t,i,o){let s=n.parseEventName(t),a=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Je().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let o=n._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),id.forEach(v=>{let C=t.indexOf(v);C>-1&&(t.splice(C,1),s+=v+".")}),s+=o,t.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,t){let i=Ym[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),id.forEach(s=>{if(s!==i){let a=Km[s];a(e)&&(o+=s+".")}}),o+=i,o===t)}static eventCallback(e,t,i){return o=>{n.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||n)(J(ee))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})();function _a(n,r,e){let t=I({rootComponent:n,platformRef:e?.platformRef},Jm(r));return Ac(t)}function Jm(n){return{appProviders:[...rd,...n?.providers??[]],platformProviders:np}}function ep(){bo.makeCurrent()}function tp(){return new Gs}function ip(){return oc(document),document}var np=[{provide:ii,useValue:ca},{provide:sc,useValue:ep,multi:!0},{provide:ee,useFactory:ip}];var rp=[{provide:no,useClass:Co},{provide:Cc,useClass:ro,deps:[le,Qs,no]},{provide:ro,useClass:ro,deps:[le,Qs,no]}],rd=[{provide:ec,useValue:"root"},{provide:Gs,useFactory:tp},{provide:yo,useClass:_o,multi:!0,deps:[ee]},{provide:yo,useClass:nd,multi:!0,deps:[ee]},ki,fa,pa,{provide:Ze,useExisting:ki},{provide:xi,useClass:Qm},[]],va=(()=>{class n{constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[...rd,...rp],imports:[we,Ic]})}return n})();var Di=class{},cr=class{},St=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
2`).forEach(e=>{let t=e.indexOf(":");if(t>0){let i=e.slice(0,t),o=e.slice(t+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init();for(let[e,t]of r.headers.entries())this.headers.set(e,t),this.normalizedNames.set(e,r.normalizedNames.get(e))}clone(r){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let t=r.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=r.op==="a"?(this.headers.get(e)||[]).slice():[];i.push(...t),this.headers.set(e,i);break;case"d":let o=r.value;if(o===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(o)?o:[o],a=this.headers.get(e);if(!a)return;a=a.filter(u=>s.indexOf(u)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(r,e){let t=r.toLowerCase();this.maybeSetNormalizedName(r,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(r,e){let t=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var wo=class{encodeKey(r){return od(r)}encodeValue(r){return od(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function op(n,r){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var sp=/%(\d[a-f0-9])/gi,ap={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function od(n){return encodeURIComponent(n).replace(sp,(r,e)=>ap[e]??r)}function So(n){return`${n}`}var jt=class n{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new wo,r.fromString){if(r.fromObject)throw new te(2805,!1);this.map=op(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let t=r.fromObject[e],i=Array.isArray(t)?t.map(So):[So(t)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(t=>{let i=r[t];Array.isArray(i)?i.forEach(o=>{e.push({param:t,value:o,op:"a"})}):e.push({param:t,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[r,e]of this.cloneFrom.map.entries())this.map.set(r,e);
vendor: 9,196 bytes, line 2
2this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=r.op==="a"?(this.map.get(r.param)||[]).slice():[];e.push(So(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let t=(this.map.get(r.param)||[]).slice(),i=t.indexOf(So(r.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(r.param,t):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null}}};var xo=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function lp(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function sd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function ad(n){return typeof Blob<"u"&&n instanceof Blob}function ld(n){return typeof FormData<"u"&&n instanceof FormData}function cp(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var cd="Content-Type",dd="Accept",ud="X-Request-URL",hd="text/plain",md="application/json",dp=`${md}, ${hd}, */*`,Ji=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(r,e,t,i){this.url=e,this.method=r.toUpperCase();let o;if(lp(this.method)||i?(this.body=t!==void 0?t:null,o=i):o=t,o){if(this.reportProgress=!!o.reportProgress,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 te(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),this.transferCache=o.transferCache}if(this.headers??=new St,this.context??=new xo,!this.params)this.params=new jt,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||sd(this.body)||ad(this.body)||ld(this.body)||cp(this.body)?this.body:this.body instanceof jt?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||ld(this.body)?null:ad(this.body)?this.body.type||null:sd(this.body)?null:typeof this.body=="string"?hd:this.body instanceof jt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?md:null}clone(r={}){let e=r.method||this.method,t=r.url||this.url,i=r.responseType||this.responseType,o=r.keepalive??this.keepalive,s=r.priority||this.priority,a=r.cache||this.cache,u=r.mode||this.mode,v=r.redirect||this.redirect,C=r.credentials||this.credentials,S=r.referrer??this.referrer,E=r.integrity||this.integrity,D=r.transferCache??this.transferCache,A=r.timeout??this.timeout,U=r.body!==void 0?r.body:this.body,V=r.withCredentials??this.withCredentials,q=r.reportProgress??this.reportProgress,ae=r.headers||this.headers,Ee=r.params||this.params,ye=r.context??this.context;return r.setHeaders!==void 0&&(ae=Object.keys(r.setHeaders).reduce((lt,tt)=>lt.set(tt,r.setHeaders[tt]),ae)),r.setParams&&(Ee=Object.keys(r.setParams).reduce((lt,tt)=>lt.set(tt,r.setParams[tt]),Ee)),new n(e,t,U,{params:Ee,headers:ae,context:ye,reportProgress:q,responseType:i,withCredentials:V,transferCache:D,keepalive:o,cache:a,priority:s,timeout:A,mode:u,redirect:v,credentials:C,referrer:S,integrity:E})}},Ei=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(Ei||{}),tn=class{headers;status;statusText;url;ok;type;redirected;constructor(r,e=200,t="OK"){this.headers=r.headers||new St,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||t,this.url=r.url||null,this.redirected=r.redirected,this.ok=this.status>=200&&this.status<300}},ko=class n extends tn{constructor(r={}){super(r)}type=Ei.ResponseHeader;clone(r={}){return new n({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},dr=class n extends tn{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=Ei.Response;clone(r={}){return new n({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0,redirected:r.redirected??this.redirected})}},en=class extends tn{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},up=200,hp=204;function ya(n,r){return{body:r,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer}}var li=(()=>{class n{handler;constructor(e){this.handler=e}request(e,t,i={}){let o;if(e instanceof Ji)o=e;else{let u;i.headers instanceof St?u=i.headers:u=new St(i.headers);let v;i.params&&(i.params instanceof jt?v=i.params:v=new jt({fromObject:i.params})),o=new Ji(e,t,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:v,reportProgress:i.reportProgress,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,integrity:i.integrity,timeout:i.timeout})}let s=$(o).pipe(_i(u=>this.handler.handle(u)));if(e instanceof Ji||i.observe==="events")return s;let a=s.pipe(ke(u=>u instanceof dr));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(X(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new te(2806,!1);return u.body}));case"blob":return a.pipe(X(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new te(2807,!1);return u.body}));case"text":return a.pipe(X(u=>{if(u.body!==null&&typeof u.body!="string")throw new te(2808,!1);return u.body}));default:return a.pipe(X(u=>u.body))}case"response":return a;default:throw new te(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new jt().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,ya(i,t))}post(e,t,i={}){return this.request("POST",e,ya(i,t))}put(e,t,i={}){return this.request("PUT",e,ya(i,t))}static \u0275fac=function(t){return new(t||n)(J(Di))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})();var mp=new P("");function pp(n,r){return r(n)}function fp(n,r,e){return(t,i)=>nt(e,()=>r(t,o=>n(o,i)))}var pd=new P(""),fd=new P(""),gd=new P("",{providedIn:"root",factory:()=>!0});var Eo=(()=>{class n extends Di{backend;injector;chain=null;pendingTasks=b(rc);contributeToStability=b(gd);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=this.injector.get(Di,null,{skipSelf:!0}),i=t!==null&&this.backend===t,o=this.injector.get(fd,[],i?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(pd),...o]));this.chain=s.reduceRight((a,u)=>fp(a,u,this.injector),pp)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Wi(t))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||n)(J(cr),J(it))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})();var gp=/^\)\]\}',?\n/,_p=RegExp(`^${ud}:`,"m");function vp(n){return"responseURL"in n&&n.responseURL?n.responseURL:_p.test(n.getAllResponseHeaders())?n.getResponseHeader(ud):null}var ba=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new te(-2800,!1);let t=this.xhrFactory;return $(null).pipe(Re(()=>new ct(o=>{let s=t.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEac
2h((V,q)=>s.setRequestHeader(V,q.join(","))),e.headers.has(dd)||s.setRequestHeader(dd,dp),!e.headers.has(cd)){let V=e.detectContentTypeHeader();V!==null&&s.setRequestHeader(cd,V)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let V=e.responseType.toLowerCase();s.responseType=V!=="json"?V:"text"}let a=e.serializeBody(),u=null,v=()=>{if(u!==null)return u;let V=s.statusText||"OK",q=new St(s.getAllResponseHeaders()),ae=vp(s)||e.url;return u=new ko({headers:q,status:s.status,statusText:V,url:ae}),u},C=()=>{let{headers:V,status:q,statusText:ae,url:Ee}=v(),ye=null;q!==hp&&(ye=typeof s.response>"u"?s.responseText:s.response),q===0&&(q=ye?up:0);let lt=q>=200&&q<300;if(e.responseType==="json"&&typeof ye=="string"){let tt=ye;ye=ye.replace(gp,"");try{ye=ye!==""?JSON.parse(ye):null}catch(km){ye=tt,lt&&(lt=!1,ye={error:km,text:ye})}}lt?(o.next(new dr({body:ye,headers:V,status:q,statusText:ae,url:Ee||void 0})),o.complete()):o.error(new en({error:ye,headers:V,status:q,statusText:ae,url:Ee||void 0}))},S=V=>{let{url:q}=v(),ae=new en({error:V,status:s.status||0,statusText:s.statusText||"Unknown Error",url:q||void 0});o.error(ae)},E=S;e.timeout&&(E=V=>{let{url:q}=v(),ae=new en({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:q||void 0});o.error(ae)});let D=!1,A=V=>{D||(o.next(v()),D=!0);let q={type:Ei.DownloadProgress,loaded:V.loaded};V.lengthComputable&&(q.total=V.total),e.responseType==="text"&&s.responseText&&(q.partialText=s.responseText),o.next(q)},U=V=>{let q={type:Ei.UploadProgress,loaded:V.loaded};V.lengthComputable&&(q.total=V.total),o.next(q)};return s.addEventListener("load",C),s.addEventListener("error",S),s.addEventListener("timeout",E),s.addEventListener("abort",S),e.reportProgress&&(s.addEventListener("progress",A),a!==null&&s.upload&&s.upload.addEventListener("progress",U)),s.send(a),o.next({type:Ei.Sent}),()=>{s.removeEventListener("error",S),s.removeEventListener("abort",S),s.removeEventListener("load",C),s.removeEventListener("timeout",E),e.reportProgress&&(s.removeEventListener("progress",A),a!==null&&s.upload&&s.upload.removeEventListener("progress",U)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(t){return new(t||n)(J(xi))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),_d=new P(""),yp="XSRF-TOKEN",bp=new P("",{providedIn:"root",factory:()=>yp}),Cp="X-XSRF-TOKEN",Sp=new P("",{providedIn:"root",factory:()=>Cp}),ur=class{},wp=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t){this.doc=e,this.cookieName=t}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=rr(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||n)(J(ee),J(bp))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),xp=/^(?:https?:)?\/\//i;function kp(n,r){if(!b(_d)||n.method==="GET"||n.method==="HEAD"||xp.test(n.url))return r(n);let e=b(ur).getToken(),t=b(Sp);return e!=null&&!n.headers.has(t)&&(n=n.clone({headers:n.headers.set(t,e)})),r(n)}function Ca(...n){let r=[li,ba,Eo,{provide:Di,useExisting:Eo},{provide:cr,useFactory:()=>b(mp,{optional:!0})??b(ba)},{provide:pd,useValue:kp,multi:!0},{provide:_d,useValue:!0},{provide:ur,useClass:wp}];for(let e of n)r.push(...e.\u0275providers);return vi(r)}var yd=(()=>{class n{_doc;_dom;constructor(e){this._doc=e,this._dom=Je()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((i,o)=>(o&&i.push(this._getOrCreateElement(o,t)),i),[]):[]}getTag(e){if(!e)return null;let t=this._doc.querySelector(`meta[${e}]`);return t?.nodeName.toLowerCase()==="meta"?t:null}getTags(e){if(!e)return[];let t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t).filter(i=>i.nodeName.toLowerCase()==="meta"):[]}updateTag(e,t){if(!e)return null;this._validateMetaDefinition(e),t=t||this._parseSelector(e);let i=this.getTag(t);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}
2_getOrCreateElement(e,t=!1){if(this._validateMetaDefinition(e),!t){let s=this._parseSelector(e),a=this.getTags(s).filter(u=>this._containsAttributes(e,u))[0];if(a!==void 0)return a}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(i=>t.setAttribute(this._getMetaKeyMap(i),e[i])),t}_parseSelector(e){let t=e.name?"name":"property";return`${t}=${this._escapeSelectorValue(String(e[t]))}`}_escapeSelectorValue(e){return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_validateMetaDefinition(e){for(let t of Object.keys(e))if(this._getMetaKeyMap(t).toLowerCase().startsWith("on"))throw new te(5203,!1)}_containsAttributes(e,t){return Object.keys(e).every(i=>t.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Object.hasOwn(vd,e)?vd[e]:e}static \u0275fac=function(t){return new(t||n)(J(ee))};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),vd={httpEquiv:"http-equiv"},Do=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||n)(J(ee))};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var hr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:function(t){let i=null;return t?i=new(t||n):i=J(Ip),i},providedIn:"root"})}return n})(),Ip=(()=>{class n extends hr{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case yi.NONE:return t;case yi.HTML:return zi(t,"HTML")?$i(t):mc(this._doc,String(t)).toString();case yi.STYLE:return zi(t,"Style")?$i(t):t;case yi.SCRIPT:if(zi(t,"Script"))return $i(t);throw new te(5200,!1);case yi.URL:return zi(t,"URL")?$i(t):hc(String(t));case yi.RESOURCE_URL:if(zi(t,"ResourceURL"))return $i(t);throw new te(5201,!1);default:throw new te(5202,!1)}}bypassSecurityTrustHtml(e){return ac(e)}bypassSecurityTrustStyle(e){return lc(e)}bypassSecurityTrustScript(e){return cc(e)}bypassSecurityTrustUrl(e){return dc(e)}bypassSecurityTrustResourceUrl(e){return uc(e)}static \u0275fac=function(t){return new(t||n)(J(ee))};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var nn=(()=>{let r=class r{constructor(t){this.viewContainerRef=t,this.scrolled=new me,this.scrolledToBottom=new me}onScroll(t){let i=document.documentElement.scrollHeight,o=document.documentElement.scrollTop||document.body.scrollTop,s=document.documentElement.clientHeight,a=o+s;a/i*100>80&&this.scrolledToBottom.emit(),i-a===0&&this.scrolledToBottom.emit()}};r.\u0275fac=function(i){return new(i||r)(w(ht))},r.\u0275dir=Q({type:r,selectors:[["","dynamicHost",""]],hostBindings:function(i,o){i&1&&_("scroll",function(a){return o.onScroll(a)},Gi)},outputs:{scrolled:"scrolled",scrolledToBottom:"scrolledToBottom"}});let n=r;return n})();var et=(()=>{let r=class r{constructor(t,i){this.componentFactoryResolver=t,this.injector=i}setViewContainerRef(t){this.viewContainerRef=t}loadComponent(t){if(this.viewContainerRef){this.viewContainerRef.clear();let i=this.componentFactoryResolver.resolveComponentFactory(t);this.viewContainerRef.createComponent(i,{injector:this.injector})}}};r.\u0275fac=function(i){return new(i||r)(J(Zi),J(de))},r.\u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();function Ap(){return typeof window<"u"?window.navigator:void 0}function Cd(n){return!!(n.parentElement&&n.parentElement.nodeName.toLowerCase()==="picture")}function mr(n){return n.nodeName.toLowerCase()==="img"}function Sd(n,r,e){return mr(n)?e&&"srcset"in n?n.srcset=r:n.src=r:n.style.backgroundImage=`url('${r}')`,n}function Da(n){return r=>{let e=r.parentElement.getElementsByTagName("source");for(let t=0;t<e.length;t++){let i=e[t].getAttribute(n);i&&("srcset"in e[t]?e[t].srcset=i:e[t].src=i)}}}var Fp=Da("defaultImage"),wd=Da("lazyLoad"),Op=Da("errorImage");function Ta(n){return(r,e,t)=>{mr(r)&&Cd(r)&&n(r),e&&Sd(r,e,t)}}var Lp=Ta(Fp),Rp=Ta(wd),Vp=Ta(Op),xa=class{constructor(){this.navigator=Ap()}setPlatformId(r){this.platformId=r}onDestroy(r){}onAttributeChange(r){}},rn={loaded:"ng-lazyloaded",loading:"ng-lazyloading",failed:"ng-failed-lazyloaded"};function bd(n,r){n.className=n.className.replace(r,"")}function wa(n,r){n.className.includes(r)||(n.className+=` ${r}`)}function Pp(n,r){return n.className&&n.className.includes(r)}var ka=class extends xa{setup(r){Lp(r.element,r.defaultImagePath,r.useSrcset),r.imagePath&&wa(r.element,rn.loading),Pp(r.element,rn.loaded)&&bd(r.element,rn.loaded)}finally(r){wa(r.element,rn.loaded),bd(r.element,rn.loading)}loadImage(r){if(this.skipLazyLoading(r))return[r.imagePath];let{element:e,useSrcset:t,imagePath:i,decode:o}=r,s;return mr(e)&&Cd(e)?(s=e.parentNode.cloneNode(!0).getElementsByTagName("img")[0],wd(s),Sd(s,i,t)):(s=new Image,mr(e)&&e.referrerPolicy&&(s.referrerPolicy=e.referrerPolicy),mr(e)&&e.sizes&&(s.sizes=e.sizes),t&&"srcset"in s?s.srcset=i:s.src=i),o&&s.decode?s.decode().then(()=>i):new Promise((a,u)=>{s.onload=()=>a(i),s.onerror=()=>u(null)})}setErrorImage(r,e){let{element:t,useSrcset:i,errorImagePath:o}=e;Vp(t,o,i),wa(t,rn.failed)}setLoadedImage(r,e){let{element:t,useSrcset:i}=e;Rp(t,r,i)}isDisabled(){return Qc(this.platformId)&&!this.isBot()}skipLazyLoading(r){return this.isBot(r)}isBot(r){return this.navigator?.userAgent?/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot|prerender/i.test(this.navigator.userAgent):!1}},Ea=class extends ka{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=ne
2w j,this.uniqKey={}}getObservable(r){if(this.skipLazyLoading(r))return $({isIntersecting:!0});if(r.customObservable)return r.customObservable;let e=r.scrollContainer||this.uniqKey,t={root:r.scrollContainer||null};r.offset&&(t.rootMargin=`${r.offset}px`);let i=this.observers.get(e);return i||(i=new IntersectionObserver(o=>this.loadingCallback(o),t),this.observers.set(e,i)),i.observe(r.element),ct.create(o=>{let s=this.intersectionSubject.pipe(ke(a=>a.target===r.element)).subscribe(o);return()=>{s.unsubscribe(),i.unobserve(r.element)}})}isVisible(r){return r.isIntersecting}loadingCallback(r){r.forEach(e=>this.intersectionSubject.next(e))}};function Bp(n,r){return e=>e.pipe(Ce(t=>r.onStateChange.emit({reason:"observer-emit",data:t})),ke(t=>n.isVisible(t,r)),Pe(1),Ce(()=>r.onStateChange.emit({reason:"start-loading"})),Ye(()=>n.loadImage(r)),Ce(()=>r.onStateChange.emit({reason:"mount-image"})),Ce(t=>n.setLoadedImage(t,r)),Ce(()=>r.onStateChange.emit({reason:"loading-succeeded"})),X(()=>!0),ei(t=>(r.onStateChange.emit({reason:"loading-failed",data:t}),n.setErrorImage(t,r),$(!1))),Ce(()=>{r.onStateChange.emit({reason:"finally"}),n.finally(r)}))}var xd=new P("LazyLoadImageHooks"),It=(()=>{class n{constructor(e,t,i,o){this.onStateChange=new me,this.elementRef=e,this.ngZone=t,this.propertyChanges$=new Gl,this.hooks=o,this.hooks.setPlatformId(i),this.uid=Math.random().toString(36).substr(2,9)}ngOnChanges(){this.debug===!0&&!this.debugSubscription&&(this.debugSubscription=this.onStateChange.subscribe(e=>console.log(e))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?this.offset|0:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange,id:this.uid})}ngAfterContentInit(){if(this.hooks.isDisabled())return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe(Ce(e=>this.hooks.onAttributeChange(e)),Ce(e=>e.onStateChange.emit({reason:"setup"})),Ce(e=>this.hooks.setup(e)),Re(e=>e.imagePath?this.hooks.getObservable(e).pipe(Bp(this.hooks,e)):Xl())).subscribe({next:()=>null})})}ngOnDestroy(){this.propertyChanges$.pipe(Pe(1)).subscribe({next:e=>this.hooks.onDestroy(e)}).unsubscribe(),this.loadSubscription?.unsubscribe(),this.debugSubscription?.unsubscribe()}}return n.\u0275fac=function(e){return new(e||n)(w(re),w(le),w(ii),w(xd))},n.\u0275dir=Q({type:n,selectors:[["","lazyLoad",""]],inputs:{lazyImage:[0,"lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange"},standalone:!1,features:[Ge]}),n})(),$e=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=oe({type:n}),n.\u0275inj=ne({providers:[{provide:xd,useClass:Ea}]}),n})(),Mo=class n{constructor(r,e,t,i){this.left=r,this.top=e,this.right=t,this.bottom=i}static fromElement(r){let{left:e,top:t,right:i,bottom:o}=r.getBoundingClientRect();return e===0&&t===0&&i===0&&o===0?n.empty:new n(e,t,i,o)}static fromWindow(r){return new n(0,0,r.innerWidth,r.innerHeight)}inflate(r){this.left-=r,this.top-=r,this.right+=r,this.bottom+=r}intersectsWith(r){return r.left<this.right&&this.left<r.right&&r.top<this.bottom&&this.top<r.bottom}getIntersectionWith(r){let e=Math.max(this.left,r.left),t=Math.max(this.top,r.top),i=Math.min(this.right,r.right),o=Math.min(this.bottom,r.bottom);return i>=e&&o>=t?new n(e,t,i,o):n.empty}};Mo.empty=new Mo(0,0,0,0);var fr=class{_attachedHost;attach(r){return this._attachedHost=r,r.attach(this)}detach(){let r=this._attachedHost;r!=null&&(this._attachedHost=null,r.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(r){this._attachedHost=r}},on=class extends fr{component;viewContainerRef;injector;projectableNodes;constructor(r,e,t,i){super(),this.component=r,this.viewContainerRef=e,this.injector=t,this.projectableNodes=i}},sn=class extends fr{templateRef;viewContainerRef;context;injector;constructor(r,e,t,i){super(),this.templateRef=r,this.viewContainerRef
vendor: 4,155 bytes, line 2
2=e,this.context=t,this.injector=i}get origin(){return this.templateRef.elementRef}attach(r,e=this.context){return this.context=e,super.attach(r)}detach(){return this.context=void 0,super.detach()}},Ma=class extends fr{element;constructor(r){super(),this.element=r instanceof re?r.nativeElement:r}},an=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(r){if(r instanceof on)return this._attachedPortal=r,this.attachComponentPortal(r);if(r instanceof sn)return this._attachedPortal=r,this.attachTemplatePortal(r);if(this.attachDomPortal&&r instanceof Ma)return this._attachedPortal=r,this.attachDomPortal(r)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(r){this._disposeFn=r}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Io=class extends an{outletElement;_appRef;_defaultInjector;constructor(r,e,t){super(),this.outletElement=r,this._appRef=e,this._defaultInjector=t}attachComponentPortal(r){let e;if(r.viewContainerRef){let t=r.injector||r.viewContainerRef.injector,i=t.get(io,null,{optional:!0})||void 0;e=r.viewContainerRef.createComponent(r.component,{index:r.viewContainerRef.length,injector:t,ngModuleRef:i,projectableNodes:r.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let t=this._appRef,i=r.injector||this._defaultInjector||de.NULL,o=i.get(it,t.injector);e=lo(r.component,{elementInjector:i,environmentInjector:o,projectableNodes:r.projectableNodes||void 0}),t.attachView(e.hostView),this.setDisposeFn(()=>{t.viewCount>0&&t.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=r,e}attachTemplatePortal(r){let e=r.viewContainerRef,t=e.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return t.rootNodes.forEach(i=>this.outletElement.appendChild(i)),t.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(t);i!==-1&&e.remove(i)}),this._attachedPortal=r,t}attachDomPortal=r=>{let e=r.element;e.parentNode;let t=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(t,e),this.outletElement.appendChild(e),this._attachedPortal=r,super.setDisposeFn(()=>{t.parentNode&&t.parentNode.replaceChild(e,t)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(r){return r.hostView.rootNodes[0]}};var gr=(()=>{class n extends an{_moduleRef=b(io,{optional:!0});_document=b(ee);_viewContainerRef=b(ht);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new me;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,i=t.createComponent(e.component,{index:t.length,injector:e.injector||t.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}attachDomPortal=e=>{let t=e.element;t.parentNode;let i=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(i,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;
2return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ae]})}return n})();var Ti=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})();function _r(n){return n.buttons===0||n.detail===0}function vr(n){let r=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!r&&r.identifier===-1&&(r.radiusX==null||r.radiusX===1)&&(r.radiusY==null||r.radiusY===1)}var Ia;function kd(){if(Ia==null){let n=typeof document<"u"?document.head:null;Ia=!!(n&&(n.createShadowRoot||n.attachShadow))}return Ia}function Aa(n){if(kd()){let r=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&r instanceof ShadowRoot)return r}return null}function yr(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let r=n.shadowRoot.activeElement;if(r===n)break;n=r}return n}function pt(n){return n.composedPath?n.composedPath()[0]:n.target}var Fa;try{Fa=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Fa=!1}var Te=(()=>{class n{_platformId=b(ii);isBrowser=this._platformId?Xc(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||Fa)&&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;constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var br;function Ed(){if(br==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>br=!0}))}finally{br=br||!1}return br}function ln(n){return Ed()?n:!!n.capture}function Cr(n,r=0){return Dd(n)?Number(n):arguments.length===2?r:0}function Dd(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function At(n){return n instanceof re?n.nativeElement:n}var Np=new P("cdk-input-modality-detector-options"),Up={ignoreKeys:[18,17,224,91,16]},Td=650,Oa={passive:!0,capture:!0},Hp=(()=>{class n{_platform=b(Te);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ue(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(t=>t===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=pt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Td||(this._modality.next(_r(e)?"keyboard":"mouse"),this._mostRecentTarget=pt(e))};_onTouchstart=e=>{if(vr(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=pt(e)};constructor(){let e=b(le),t=b(ee),i=b(Np,{optional:!0});if(this._options=I(I({},Up),i),this.modalityDetected=this._modality.pipe(Jr(1)),this.modalityChanged=this.modalityDetected.pipe(Ws()),this._platform.isBrowser){let o=b(Ze).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(t,"keydown",this._onKeydown,Oa),o.listen(t,"mousedown",this._onMousedown,Oa),o.listen(t,"touchstart",this._onTouchstart,Oa)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Fo=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(Fo||{}),Wp=new P("cdk-focus-monitor-default-options"),Ao=ln({passive:!0,capture:!0}),Md=(()=>{class n{_ngZone=b(le);_platform=b(Te);_inputModalityDetector=b(Hp);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=b(ee);_stopInputModalityDetector=new j;constructor(){let e=b(Wp,{optional:!0});this._detectionMode=e?.detectionMode||Fo.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let t=pt(e);for(let i=t;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,t=!1){let i=At(e);if(!this._platform.isBrowser||i.nodeType!==1)return $();let o=Aa(i)||this._document,s=this._elementInfo.get(i);if(s)return t&&(s.checkChildren=!0),s.subject;
2let a={checkChildren:t,subject:new j,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let t=At(e),i=this._elementInfo.get(t);i&&(i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(i))}focusVia(e,t,i){let o=At(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,u])=>this._originChanged(a,t,u)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Fo.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===Fo.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Td:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,t){let i=this._elementInfo.get(t),o=pt(e);!i||!i.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),i)}_onBlur(e,t){let i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,i=this._rootNodeFocusListenerCount.get(t)||0;i||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ao),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ao)}),this._rootNodeFocusListenerCount.set(t,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ut(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let i=this._rootNodeFocusListenerCount.get(t);i>1?this._rootNodeFocusListenerCount.set(t,i-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ao),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ao),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,i){this._setClasses(e,t),this._emitOrigin(i,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&t.push([o,i])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(t))return!0}return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Oo=new WeakMap,Ft=(()=>{class n{_appRef;_injector=b(de);_environmentInjector=b(it);load(e){let t=this._appRef=this._appRef||this._injector.get(Dt),i=Oo.get(t);i||(i={loaders:new Set,refs:[]},Oo.set(t,i),t.onDestroy(()=>{Oo.get(t)?.refs.forEach(o=>o.destroy()),Oo.delete(t)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(lo(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Lo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(t,i){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
3`],encapsulation:2,changeDetection:0})}return n})();function cn(n){return Array.isArray(n)?n:[n]}var Id=new Set,Mi,Ro=(()=>{class n{_platform=b(Te);_nonce=b(zn,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$p}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&jp(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function jp(n,r){if(!Id.has(n))try{Mi||(Mi=document.createElement("style"),r&&Mi.setAttribute("nonce",r),Mi.setAttribute("type","text/css"),document.head.appendChild(Mi)),Mi.sheet&&(Mi.sheet.insertRule(`@media ${n} {body{ }}`,0),Id.add(n))}catch(e){console.error(e)}}function $p(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var La=(()=>{class n{_mediaMatcher=b(Ro);_zone=b(le);_queries=new Map;
3_destroySubject=new j;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Ad(cn(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=Ad(cn(e)).map(s=>this._registerQuery(s).observable),o=Wn(i);return o=Qr(o.pipe(Pe(1)),o.pipe(Jr(1),Kr(0))),o.pipe(X(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:u,query:v})=>{a.matches=a.matches||u,a.breakpoints[v]=u}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),o={observable:new ct(s=>{let a=u=>this._zone.run(()=>s.next(u));return t.addListener(a),()=>{t.removeListener(a)}}).pipe(dt(t),X(({matches:s})=>({query:e,matches:s})),ut(this._destroySubject)),mql:t};return this._queries.set(e,o),o}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Ad(n){return n.map(r=>r.split(",")).reduce((r,e)=>r.concat(e)).map(r=>r.trim())}var zp=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Vo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[zp]})}return n})();var Pa=(()=>{class n{_platform=b(Te);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Zp(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=Gp(tf(e));if(t&&(Fd(t)===-1||!this.isVisible(t)))return!1;let i=e.nodeName.toLowerCase(),o=Fd(e);return e.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Jp(e)?!1:i==="audio"?e.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return ef(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Gp(n){try{return n.frameElement}catch{return null}}function Zp(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function qp(n){let r=n.nodeName.toLowerCase();return r==="input"||r==="select"||r==="button"||r==="textarea"}function Xp(n){return Yp(n)&&n.type=="hidden"}function Qp(n){return Kp(n)&&n.hasAttribute("href")}function Yp(n){return n.nodeName.toLowerCase()=="input"}function Kp(n){return n.nodeName.toLowerCase()=="a"}function Rd(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let r=n.getAttribute("tabindex");return!!(r&&!isNaN(parseInt(r,10)))}function Fd(n){if(!Rd(n))return null;let r=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(r)?-1:r}function Jp(n){let r=n.nodeName.toLowerCase(),e=r==="input"&&n.type;return e==="text"||e==="password"||r==="select"||r==="textarea"}function ef(n){return Xp(n)?!1:qp(n)||Qp(n)||n.hasAttribute("contenteditable")||Rd(n)}function tf(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var Va=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(r){this._enabled=r,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor))}_enabled=!0;constructor(r,e,t,i,o=!1,s){this._element=r,this._checker=e,this._ngZone=t,this._document=i,this._injector=s,o||this.attachAnchors()}destroy(){let r=this._startAnchor,e=this._endAnchor;r&&(r.removeEventListener("focus",this.startAnchorListener),r.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(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=!0),this._hasAttached)}focusInitialElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(r)))})}focusFirstTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(r)))})}focusLastTabbableElementWhenReady(r){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(r)))})}_getRegionBoundary(r){let e=this._element.querySelectorAll(`[cdk-focus-region-${r}], [cdkFocusRegion${r}], [cdk-focus-${r}]`);return r=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(r){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(r),!!t}return e.focus(r),!0}return this.focusFirstTabbableElement(r)}focusFirstTabbableElement(r){let e=this._getRegionBoundary("start");return e&&e.focus(r),!!e}focusLastTabbableElement(r){let e=this._getRegionBoundary("end");return e&&e.focus(r),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(r){if(this._checker.isFocusable(r)&&this._checker.isTabbable(r))return r;let e=r.children;for(let t=0;t<e.length;t++){let i=e[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[t]):null;if(i)return i}return null}_getLastTabbableElement(r){if(this._checker.isFocusable(r)&&this._checker.isTabbable(r))return r;let e=r.children;for(let t=e.length-1;t>=0;t--){let i=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(i)return i}return null}_createAnchor(){let r=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,r),r.classList.add("cdk-visually-hidden"),r.classList.add("cdk-focus-trap-anchor"),r.setAttribute("aria-hidden","true"),r}_toggleAnchorTabIndex(r,e){r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(r){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(r,this._startAnchor),this._toggleAnchorTabIndex(r,this._endAnchor))}_executeOnStable(r){this._injector?yt(r,{injector:this._injector}):setTimeout(r)}},Ba=(()=>{class n{_checker=b(Pa);_ngZone=b(le);_document=b(ee);_injector=b(de);constructor(){b(Ft).load(Lo)}create(e,t=!1){return new Va(e,this._checker,this._ngZone,this._document,t,this._injector)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();
vendor: 63,191 bytes, lines 3-5
3var ci=(function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n})(ci||{}),Od="cdk-high-contrast-black-on-white",Ld="cdk-high-contrast-white-on-black",Ra="cdk-high-contrast-active",Po=(()=>{class n{_platform=b(Te);_hasCheckedHighContrastMode;_document=b(ee);_breakpointSubscription;constructor(){this._breakpointSubscription=b(La).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ci.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,i=t&&t.getComputedStyle?t.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ci.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ci.BLACK_ON_WHITE}return ci.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Ra,Od,Ld),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===ci.BLACK_ON_WHITE?e.add(Ra,Od):t===ci.WHITE_ON_BLACK&&e.add(Ra,Ld)}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Na=(()=>{class n{constructor(){b(Po)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Vo]})}return n})();function dn(n,...r){return r.length?r.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function Ua(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Me(n){return n==null?"":typeof n=="string"?n:`${n}px`}var nf=new P("cdk-dir-doc",{providedIn:"root",factory:rf});function rf(){return b(ee)}var of=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Vd(n){let r=n?.toLowerCase()||"";return r==="auto"&&typeof navigator<"u"&&navigator?.language?of.test(navigator.language)?"rtl":"ltr":r==="rtl"?"rtl":"ltr"}var Ot=(()=>{class n{get value(){return this.valueSignal()}valueSignal=Be("ltr");change=new me;constructor(){let e=b(nf,{optional:!0});if(e){let t=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Vd(t||i||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var wt=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(wt||{}),Bo,Ii;function No(){if(Ii==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Ii=!1,Ii;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Ii=!0;else{let n=Element.prototype.scrollTo;n?Ii=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Ii=!1}}return Ii}function un(){if(typeof document!="object"||!document)return wt.NORMAL;if(Bo==null){let n=document.createElement("div"),r=n.style;n.dir="rtl",r.width="1px",r.overflow="auto",r.visibility="hidden",r.pointerEvents="none",r.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),Bo=wt.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Bo=n.scrollLeft===0?wt.NEGATED:wt.INVERTED),n.remove()}return Bo}var di=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})();var sf=20,Ho=(()=>{class n{_ngZone=b(le);_platform=b(Te);_renderer=b(Ze).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new j;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=sf){return this._platform.isBrowser?new ct(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=e>0?this._scrolled.pipe(Us(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):$()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ke(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_scrollableContainsElement(e,t){let i=At(t),o=e.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Pd=(()=>{class n{elementRef=b(re);scrollDispatcher=b(Ho);ngZone=b(le);dir=b(Ot,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new j;_renderer=b(ce);_cleanupScroll;_elementScrolled=new j;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),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(e){let t=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=i?e.end:e.start),e.right==null&&(e.right=i?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&un()!=wt.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),un()==wt.INVERTED?e.left=e.right:un()==wt.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;No()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",i="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?i:t:e=="end"&&(e=s?t:i),s&&un()==wt.INVERTED?e==t?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&un()==wt.NEGATED?e==t?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==t?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),af=20,hn=(()=>{class n{_platform=b(Te);_listeners;_viewportSize;_change=new j;_document=b(ee);constructor(){let e=b(le),t=b(Ze).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[t.listen("window","resize",i),t.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),i=e.documentElement,o=i.getBoundingClientRect(),s=-o.top||e.body.scrollTop||t.scrollY||i.scrollTop||0,a=-o.left||e.body.scrollLeft||t.scrollX||i.scrollLeft||0;return{top:s,left:a}}change(e=af){return e>0?this._change.pipe(Us(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Uo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})(),Ha=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[di,Uo,di,Uo]})}return n})();var Wa={},ft=(()=>{class n{_appId=b($n);getId(e){return this._appId!=="ng"&&(e+=this._appId),Wa.hasOwnProperty(e)||(Wa[e]=0),`${e}${Wa[e]++}`}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Bd=No();function fn(n){return new Wo(n.get(hn),n.get(ee))}var Wo=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(r,e){this._viewportRuler=r,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let r=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=r.style.left||"",this._previousHTMLStyles.top=r.style.top||"",r.style.left=Me(-this._previousScrollPosition.left),r.style.top=Me(-this._previousScrollPosition.top),r.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let r=this._document.documentElement,e=this._document.body,t=r.style,i=e.style,o=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,r.classList.remove("cdk-global-scrollblock"),Bd&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Bd&&(t.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};function zd(n,r){return new jo(n.get(Ho),n.get(le),n.get(hn),r)}var jo=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(r,e,t,i){this._scrollDispatcher=r,this._ngZone=e,this._viewportRuler=t,this._config=i}attach(r){this._overlayRef,this._overlayRef=r}enable(){if(this._scrollSubscription)return;let r=this._scrollDispatcher.scrolled(0).pipe(ke(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=r.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=r.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 Sr=class{enable(){}disable(){}attach(){}};function ja(n,r){return r.some(e=>{let t=n.bottom<e.top,i=n.top>e.bottom,o=n.right<e.left,s=n.left>e.right;return t||i||o||s})}function Nd(n,r){return r.some(e=>{let t=n.top<e.top,i=n.bottom>e.bottom,o=n.left<e.left,s=n.right>e.right;return t||i||o||s})}function Fi(n,r){return new $o(n.get(Ho),n.get(hn),n.get(le),r)}var $o=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(r,e,t,i){this._scrollDispatcher=r,this._viewportRuler=e,this._ngZone=t,this._config=i}attach(r){this._overlayRef,this._overlayRef=r}enable(){if(!this._scrollSubscription){let r=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(r).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();ja(e,[{width:t,height:i,bottom:i,right:t,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}},Gd=(()=>{class n{_injector=b(de);constructor(){}noop=()=>new Sr;close=e=>zd(this._injector,e);block=()=>fn(this._injector);reposition=e=>Fi(this._injector,e);static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),mn=class{positionStrategy;scrollStrategy=new Sr;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(r){if(r){let e=Object.keys(r);for(let t of e)r[t]!==void 0&&(this[t]=r[t])}}};var zo=class{connectionPair;scrollableViewProperties;constructor(r,e){this.connectionPair=r,this.scrollableViewProperties=e}};var Zd=(()=>{class n{_attachedOverlays=[];_document=b(ee);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qd=(()=>{class n extends Zd{_ngZone=b(le);_renderer=b(Ze).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let i=t.length-1;i>-1;i--)if(t[i]._keydownEvents.observers.length>0){this._ngZone.run(()=>t[i]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Xd=(()=>{class n extends Zd{_platform=b(Te);_ngZone=b(le);_renderer=b(Ze).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let t=this._document.body,i={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(t,"pointerdown",this._pointerDownListener,i),o.listen(t,"click",this._clickListener,i),o.listen(t,"auxclick",this._clickListener,i),o.listen(t,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=pt(e)};_clickListener=e=>{let t=pt(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(Ud(a.overlayElement,t)||Ud(a.overlayElement,i))break;let u=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(e)):u.next(e)}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Ud(n,r){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=r;for(;t;){if(t===n)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var Qd=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
4`],encapsulation:2,changeDetection:0})}return n})(),qo=(()=>{class n{_platform=b(Te);_containerElement;_document=b(ee);_styleLoader=b(Ft);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Ua()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let t=this._document.createElement("div");t.classList.add(e),Ua()?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}_loadStyles(){this._styleLoader.load(Qd)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),$a=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(r,e,t,i){this._renderer=e,this._ngZone=t,this.element=r.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{let r=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(r,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),r.style.pointerEvents="none",r.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()}},pn=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new j;_attachments=new j;_detachments=new j;_positionStrategy;_scrollStrategy;_locationChanges=Kt.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new j;_outsidePointerEvents=new j;_afterNextRenderRef;constructor(r,e,t,i,o,s,a,u,v,C=!1,S,E){this._portalOutlet=r,this._host=e,this._pane=t,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=u,this._outsideClickDispatcher=v,this._animationsDisabled=C,this._injector=S,this._renderer=E,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}attach(r){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(r);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=yt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let r=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),r}dispose(){let r=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),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,r&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}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(r){r!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=r,this.hasAttached()&&(r.attach(this),this.updatePosition()))}updateSize(r){this._config=I(I({},this._config),r),this._updateElementSize()}setDirection(r){this._config=be(I({},this._config),{direction:r}),this._updateElementDirection()}addPanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!0)}removePanelClass(r){this._pane&&this._toggleClasses(this._pane,r,!1)}getDirection(){let r=this._config.direction;return r?typeof r=="string"?r:r.value:"ltr"}updateScrollStrategy(r){r!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=r,this.hasAttached()&&(r.attach(this),r.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let r=this._pane.style;r.width=Me(this._config.width),r.height=Me(this._config.height),r.minWidth=Me(this._config.minWidth),r.minHeight=Me(this._config.minHeight),r.maxWidth=Me(this._config.maxWidth),r.maxHeight=Me(this._config.maxHeight)}_togglePointerEvents(r){this._pane.style.pointerEvents=r?"":"none"}_attachBackdrop(){let r="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new $a(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(r))}):this._backdropRef.element.classList.add(r)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(r,e,t){let i=cn(e||[]).filter(o=>!!o);i.length&&(t?r.classList.add(...i):r.classList.remove(...i))}_detachContentWhenEmpty(){let r=!1;try{this._detachContentAfterRenderRef=yt(()=>{r=!0,this._detachContent()},{injector:this._injector})}catch(e){if(r)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),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 r=this._scrollStrategy;r?.disable(),r?.detach?.()}},Hd="cdk-overlay-connected-position-bounding-box",cf=/([A-Za-z%]+)$/;function Yd(n,r){return new Go(r,n.get(hn),n.get(ee),n.get(Te),n.get(qo))}var Go=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new j;_resizeSubscription=Kt.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(r,e,t,i,o){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=o,this.setOrigin(r)}attach(r){this._overlayRef&&this._overlayRef,this._validatePositions(),r.hostElement.classList.add(Hd),this._overlayRef=r,this._boundingBox=r.hostElement,this._pane=r.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,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._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._originRect,e=this._overlayRect,t=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let u=this._getOriginPoint(r,i,a),v=this._getOverlayPoint(u,e,a),C=this._getOverlayFit(v,e,t,a);if(C.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,u);return}if(this._canFitWithFlexibleDimensions(C,v,t)){o.push({position:a,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,a)});continue}(!s||s.overlayFit.visibleArea<C.visibleArea)&&(s={overlayFit:C,overlayPoint:v,originPoint:u,position:a,overlayRect:e})}if(o.length){let a=null,u=-1;for(let v of o){let C=v.boundingBoxRect.width*v.boundingBoxRect.height*(v.position.weight||1);C>u&&(u=C,a=v)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,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&&Ai(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Hd),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let r=this._lastPosition;if(r){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,r);this._applyPosition(r,e)}else this.apply()}withScrollableContainers(r){return this._scrollables=r,this}withPositions(r){return this._preferredPositions=r,r.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(r){return this._viewportMargin=r,this}withFlexibleDimensions(r=!0){return this._hasFlexibleDimensions=r,this}withGrowAfterOpen(r=!0){return this._growAfterOpen=r,this}withPush(r=!0){return this._canPush=r,this}withLockedPosition(r=!0){return this._positionLocked=r,this}setOrigin(r){return this._origin=r,this}withDefaultOffsetX(r){return this._offsetX=r,this}withDefaultOffsetY(r){return this._offsetY=r,this}withTransformOriginOn(r){return this._transformOriginSelector=r,this}_getOriginPoint(r,e,t){let i;if(t.originX=="center")i=r.left+r.width/2;else{let s=this._isRtl()?r.right:r.left,a=this._isRtl()?r.left:r.right;i=t.originX=="start"?s:a}e.left<0&&(i-=e.left);let o;return t.originY=="center"?o=r.top+r.height/2:o=t.originY=="top"?r.top:r.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(r,e,t){let i;t.overlayX=="center"?i=-e.width/2:t.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let o;return t.overlayY=="center"?o=-e.height/2:o=t.overlayY=="top"?0:-e.height,{x:r.x+i,y:r.y+o}}_getOverlayFit(r,e,t,i){let o=jd(e),{x:s,y:a}=r,u=this._getOffset(i,"x"),v=this._getOffset(i,"y");u&&(s+=u),v&&(a+=v);let C=0-s,S=s+o.width-t.width,E=0-a,D=a+o.height-t.height,A=this._subtractOverflows(o.width,C,S),U=this._subtractOverflows(o.height,E,D),V=A*U;return{visibleArea:V,isCompletelyWithinViewport:o.width*o.height===V,fitsInViewportVertically:U===o.height,fitsInViewportHorizontally:A==o.width}}_canFitWithFlexibleDimensions(r,e,t){if(this._hasFlexibleDimensions){let i=t.bottom-e.y,o=t.right-e.x,s=Wd(this._overlayRef.getConfig().minHeight),a=Wd(this._overlayRef.getConfig().minWidth),u=r.fitsInViewportVertically||s!=null&&s<=i,v=r.fitsInViewportHorizontally||a!=null&&a<=o;return u&&v}return!1}_pushOverlayOnScreen(r,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:r.x+this._previousPushAmount.x,y:r.y+this._previousPushAmount.y};let i=jd(e),o=this._viewportRect,s=Math.max(r.x+i.width-o.width,0),a=Math.max(r.y+i.height-o.height,0),u=Math.max(o.top-t.top-r.y,0),v=Math.max(o.left-t.left-r.x,0),C=0,S=0;return i.width<=o.width?C=v||-s:C=r.x<this._viewportMargin?o.left-t.left-r.x:0,i.height<=o.height?S=u||-a:S=r.y<this._viewportMargin?o.top-t.top-r.y:0,this._previousPushAmount={x:C,y:S},{x:r.x+C,y:r.y+S}}_applyPosition(r,e){if(this._setTransformOrigin(r),this._setOverlayElementStyles(e,r),this._setBoundingBoxStyles(e,r),r.panelClass&&this._addPanelClasses(r.panelClass),this._positionChanges.observers.length){let t=this._getScrollVisibility();if(r!==this._lastPosition||!this._lastScrollVisibility||!df(this._lastScrollVisibility,t)){let i=new zo(r,t);this._positionChanges.next(i)}this._lastScrollVisibility=t}this._lastPosition=r,this._isInitialRender=!1}_setTransformOrigin(r){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),t,i=r.overlayY;r.overlayX==="center"?t="center":this._isRtl()?t=r.overlayX==="start"?"right":"left":t=r.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${t} ${i}`}_calculateBoundingBoxRect(r,e){let t=this._viewportRect,i=this._isRtl(),o,s,a;if(e.overlayY==="top")s=r.y,o=t.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=t.height-r.y+this._viewportMargin*2,o=t.height-a+this._viewportMargin;else{let D=Math.min(t.bottom-r.y+t.top,r.y),A=this._lastBoundingBoxSize.height;o=D*2,s=r.y-D,o>A&&!this._isInitialRender&&!this._growAfterOpen&&(s=r.y-A/2)}let u=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,v=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,C,S,E;if(v)E=t.width-r.x+this._viewportMargin*2,C=r.x-this._viewportMargin;else if(u)S=r.x,C=t.right-r.x;else{let D=Math.min(t.right-r.x+t.left,r.x),A=this._lastBoundingBoxSize.width;C=D*2,S=r.x-D,C>A&&!this._isInitialRender&&!this._growAfterOpen&&(S=r.x-A/2)}return{top:s,left:S,bottom:a,right:E,width:C,height:o}}_setBoundingBoxStyles(r,e){let t=this._calculateBoundingBoxRect(r,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Me(t.height),i.top=Me(t.top),i.bottom=Me(t.bottom),i.width=Me(t.width),i.left=Me(t.left),i.right=Me(t.right),e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Me(o)),s&&(i.maxWidth=Me(s))}this._lastBoundingBoxSize=t,Ai(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Ai(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ai(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(r,e){let t={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let C=this._viewportRuler.getViewportScrollPosition();Ai(t,this._getExactOverlayY(e,r,C)),Ai(t,this._getExactOverlayX(e,r,C))}else t.position="static";let a="",u=this._getOffset(e,"x"),v=this._getOffset(e,"y");u&&(a+=`translateX(${u}px) `),v&&(a+=`translateY(${v}px)`),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=Me(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=Me(s.maxWidth):o&&(t.maxWidth="")),Ai(this._pane.style,t)}_getExactOverlayY(r,e,t){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,r);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),r.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(o.y+this._overlayRect.height)}px`}else i.top=Me(o.y);return i}_getExactOverlayX(r,e,t){let i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,r);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=r.overlayX==="end"?"left":"right":s=r.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=Me(o.x);return i}_getScrollVisibility(){let r=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Nd(r,t),isOriginOutsideView:ja(r,t),isOverlayClipped:Nd(e,t),isOverlayOutsideView:ja(e,t)}}_subtractOverflows(r,...e){return e.reduce((t,i)=>t-Math.max(i,0),r)}_getNarrowedViewportRect(){let r=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+r-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:r-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(r,e){return e==="x"?r.offsetX==null?this._offsetX:r.offsetX:r.offsetY==null?this._offsetY:r.offsetY}_validatePositions(){}_addPanelClasses(r){this._pane&&cn(r).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(r=>{this._pane.classList.remove(r)}),this._appliedPanelClasses=[])}_getOriginRect(){let r=this._origin;if(r instanceof re)return r.nativeElement.getBoundingClientRect();if(r instanceof Element)return r.getBoundingClientRect();let e=r.width||0,t=r.height||0;return{top:r.y,bottom:r.y+t,left:r.x,right:r.x+e,height:t,width:e}}};function Ai(n,r){for(let e in r)r.hasOwnProperty(e)&&(n[e]=r[e]);return n}function Wd(n){if(typeof n!="number"&&n!=null){let[r,e]=n.split(cf);return!e||e==="px"?parseFloat(r):null}return n||null}function jd(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function df(n,r){return n===r?!0:n.isOriginClipped===r.isOriginClipped&&n.isOriginOutsideView===r.isOriginOutsideView&&n.isOverlayClipped===r.isOverlayClipped&&n.isOverlayOutsideView===r.isOverlayOutsideView}var $d="cdk-global-overlay-wrapper";function gn(n){return new Zo}var Zo=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(r){let e=r.getConfig();this._overlayRef=r,this._width&&!e.width&&r.updateSize({width:this._width}),this._height&&!e.height&&r.updateSize({height:this._height}),r.hostElement.classList.add($d),this._isDisposed=!1}top(r=""){return this._bottomOffset="",this._topOffset=r,this._alignItems="flex-start",this}left(r=""){return this._xOffset=r,this._xPosition="left",this}bottom(r=""){return this._topOffset="",this._bottomOffset=r,this._alignItems="flex-end",this}right(r=""){return this._xOffset=r,this._xPosition="right",this}start(r=""){return this._xOffset=r,this._xPosition="start",this}end(r=""){return this._xOffset=r,this._xPosition="end",this}width(r=""){return this._overlayRef?this._overlayRef.updateSize({width:r}):this._width=r,this}height(r=""){return this._overlayRef?this._overlayRef.updateSize({height:r}):this._height=r,this}centerHorizontally(r=""){return this.left(r),this._xPosition="center",this}centerVertically(r=""){return this.top(r),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=t,u=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),v=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),C=this._xPosition,S=this._xOffset,E=this._overlayRef.getConfig().direction==="rtl",D="",A="",U="";u?U="flex-start":C==="center"?(U="center",E?A=S:D=S):E?C==="left"||C==="end"?(U="flex-end",D=S):(C==="right"||C==="start")&&(U="flex-start",A=S):C==="left"||C==="start"?(U="flex-start",D=S):(C==="right"||C==="end")&&(U="flex-end",A=S),r.position=this._cssPosition,r.marginLeft=u?"0":D,r.marginTop=v?"0":this._topOffset,r.marginBottom=this._bottomOffset,r.marginRight=u?"0":A,e.justifyContent=U,e.alignItems=v?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let r=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove($d),t.justifyContent=t.alignItems=r.marginTop=r.marginBottom=r.marginLeft=r.marginRight=r.position="",this._overlayRef=null,this._isDisposed=!0}},Kd=(()=>{class n{_injector=b(de);constructor(){}global(){return gn()}flexibleConnectedTo(e){return Yd(this._injector,e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Xo(n,r){n.get(Ft).load(Qd);let e=n.get(qo),t=n.get(ee),i=n.get(ft),o=n.get(Dt),s=n.get(Ot),a=t.createElement("div"),u=t.createElement("div");u.id=i.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),a.appendChild(u),e.getContainerElement().appendChild(a);let v=new Io(u,o,n),C=new mn(r),S=n.get(ce,null,{optional:!0})||n.get(Ze).createRenderer(null,null);return C.direction=C.direction||s.value,new pn(v,a,u,C,n.get(le),n.get(qd),t,n.get(je),n.get(Xd),r?.disableAnimations??n.get(Ht,null,{optional:!0})==="NoopAnimations",n.get(it),S)}var Jd=(()=>{class n{scrollStrategies=b(Gd);_positionBuilder=b(Kd);_injector=b(de);constructor(){}create(e){return Xo(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var uf=new P("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=b(de);return()=>Fi(n)}});function hf(n){let r=b(de);return()=>Fi(r)}var mf={provide:uf,useFactory:hf},Oi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[Jd,mf],imports:[di,Ti,Ha,Ha]})}return n})();function pf(n,r){}var ui=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Ga=(()=>{class n extends an{_elementRef=b(re);_focusTrapFactory=b(Ba);_config;_interactivityChecker=b(Pa);_ngZone=b(le);_focusMonitor=b(Md);_renderer=b(ce);_changeDetectorRef=b(Ke);_injector=b(de);_platform=b(Te);_document=b(ee);_portalOutlet;_focusTrapped=new j;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=b(ui,{optional:!0})||new ui,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}attachDomPortal=e=>{this._portalOutlet.hasAttached();let t=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),t};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let i=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",i),s=this._renderer.listen(e,"mousedown",i)})),e.focus(t)}_focusByCssSelector(e,t){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,t)}_trapFocus(e){this._isDestroyed||yt(()=>{let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let i=yr(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,t=yr();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=yr()))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(t,i){if(t&1&&L(gr,7),t&2){let o;F(o=O())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,i){t&2&&_e("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:[Ae],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,i){t&1&&k(0,pf,0,0,"ng-template",0)},dependencies:[gr],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
5`],encapsulation:2})}return n})(),wr=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new j;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(r,e){this.overlayRef=r,this.config=e,this.disableClose=e.disableClose,this.backdropClick=r.backdropClick(),this.keydownEvents=r.keydownEvents(),this.outsidePointerEvents=r.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!dn(t)&&(t.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=r.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(r,e){if(this._canClose(r)){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(r),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(r="",e=""){return this.overlayRef.updateSize({width:r,height:e}),this}addPanelClass(r){return this.overlayRef.addPanelClass(r),this}removePanelClass(r){return this.overlayRef.removePanelClass(r),this}_canClose(r){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(r,e,this.componentInstance))}},ff=new P("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=b(de);return()=>fn(n)}}),gf=new P("DialogData"),_f=new P("DefaultDialogConfig");function vf(n){let r=Be(n),e=new me;return{valueSignal:r,get value(){return r()},change:e,ngOnDestroy(){e.complete()}}}var Za=(()=>{class n{_injector=b(de);_defaultOptions=b(_f,{optional:!0});_parentDialog=b(n,{optional:!0,skipSelf:!0});_overlayContainer=b(qo);_idGenerator=b(ft);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;_ariaHiddenElements=new Map;_scrollStrategy=b(ff);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=Jt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(dt(void 0)));constructor(){}open(e,t){let i=this._defaultOptions||new ui;t=I(I({},i),t),t.id=t.id||this._idGenerator.getId("cdk-dialog-"),t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),s=Xo(this._injector,o),a=new wr(s,t),u=this._attachContainer(s,a,t);if(a.containerInstance=u,!this.openDialogs.length){let v=this._overlayContainer.getContainerElement();u._focusTrapped?u._focusTrapped.pipe(Pe(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(v)}):this._hideNonDialogContentFromAssistiveTechnology(v)}return this._attachDialogContent(e,a,u,t),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){za(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){za(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),za(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new mn({positionStrategy:e.positionStrategy||gn().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,i){let o=i.injector||i.viewContainerRef?.injector,s=[{provide:ui,useValue:i},{provide:wr,useValue:t},{provide:pn,useValue:e}],a;i.container?typeof i.container=="function"?a=i.container:(a=i.container.type,s.push(...i.container.providers(i))):a=Ga;let u=new on(a,i.viewContainerRef,de.create({parent:o||this._injector,providers:s}));return e.attach(u).instance}_attachDialogContent(e,t,i,o){if(e instanceof ni){let s=this._createInjector(o,t,i,void 0),a={$implicit:o.data,dialogRef:t};o.templateContext&&(a=I(I({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new sn(e,null,a,s))}else{let s=this._createInjector(o,t,i,this._injector),a=i.attachComponentPortal(new on(e,o.viewContainerRef,s));t.componentRef=a,t.componentInstance=a.instance}}_createInjector(e,t,i,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:gf,useValue:e.data},{provide:wr,useValue:t}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(t,e,i)):a.push(...e.providers)),e.direction&&(!s||!s.get(Ot,null,{optional:!0}))&&a.push({provide:Ot,useValue:vf(e.direction)}),de.create({parent:s||o,providers:a})}_removeOpenDialog(e,t){let i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let o=t[i];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function za(n,r){let e=n.length;for(;e--;)r(n[e])}var tu=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[Za],imports:[Oi,Ti,Na,Ti]})}return n})();function iu(n){return n!=null&&`${n}`!="false"}var Cf=new P("MATERIAL_ANIMATIONS");var nu=null;function Sf(){return b(Cf,{optional:!0})?.animationsDisabled||b(Ht,{optional:!0})==="NoopAnimations"?"di-disabled":(nu??=b(Ro).matchMedia("(prefers-reduced-motion)").matches,nu?"reduced-motion":"enabled")}function $t(){return Sf()!=="enabled"}var Le=(()=>{class n{constructor(){b(Po)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[di,di]})}return n})();function wf(n,r){}var kr=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},qa="mdc-dialog--open",ru="mdc-dialog--opening",ou="mdc-dialog--closing",xf=150,kf=75,lu=(()=>{class n extends Ga{_animationStateChanged=new me;_animationsEnabled=!$t();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?au(this._config.enterAnimationDuration)??xf:0;_exitAnimationDuration=this._animationsEnabled?au(this._config.exitAnimationDuration)??kf:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(su,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ru,qa)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(qa),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(qa),this._animationsEnabled?(this._hostElement.style.setProperty(su,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ou)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,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(ru,ou)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275cmp=K({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,i){t&2&&(qi("id",i._config.id),_e("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),Se("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[Ae],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(t,i){t&1&&(l(0,"div",0)(1,"div",1),k(2,wf,0,0,"ng-template",2),c()())},dependencies:[gr],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
5.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
6`],encapsulation:2})}return n})(),su="--mat-dialog-transition-duration";function au(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Cr(n.substring(0,n.length-2)):n.endsWith("s")?Cr(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var xr=(function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n})(xr||{}),_n=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new j;_beforeClosed=new j;_result;_closeFallbackTimeout;_state=xr.OPEN;_closeInteractionType;constructor(r,e,t){this._ref=r,this._config=e,this._containerInstance=t,this.disableClose=e.disableClose,this.id=r.id,r.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ke(i=>i.state==="opened"),Pe(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ke(i=>i.state==="closed"),Pe(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),r.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Yr(this.backdropClick(),this.keydownEvents().pipe(ke(i=>i.keyCode===27&&!this.disableClose&&!dn(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),Xa(this,i.type==="keydown"?"keyboard":"mouse"))})}close(r){let e=this._config.closePredicate;e&&!e(r,this._config,this.componentInstance)||(this._result=r,this._containerInstance._animationStateChanged.pipe(ke(t=>t.state==="closing"),Pe(1)).subscribe(t=>{this._beforeClosed.next(r),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=xr.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(r){let e=this._ref.config.positionStrategy;return r&&(r.left||r.right)?r.left?e.left(r.left):e.right(r.right):e.centerHorizontally(),r&&(r.top||r.bottom)?r.top?e.top(r.top):e.bottom(r.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(r="",e=""){return this._ref.updateSize(r,e),this}addPanelClass(r){return this._ref.addPanelClass(r),this}removePanelClass(r){return this._ref.removePanelClass(r),this}getState(){return this._state}_finishDialogClose(){this._state=xr.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Xa(n,r,e){return n._closeInteractionType=r,n.close(e)}var cu=new P("MatMdcDialogData"),du=new P("mat-mdc-dialog-default-options"),uu=new P("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=b(de);return()=>fn(n)}}),gt=(()=>{class n{_defaultOptions=b(du,{optional:!0});_scrollStrategy=b(uu);_parentDialog=b(n,{optional:!0,skipSelf:!0});_idGenerator=b(ft);_injector=b(de);_dialog=b(Za);_animationsDisabled=$t();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new j;_afterOpenedAtThisLevel=new j;dialogConfigClass=kr;_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 e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=Jt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(dt(void 0)));constructor(){this._dialogRefConstructor=_n,this._dialogContainerType=lu,this._dialogDataToken=cu}open(e,t){let i;t=I(I({},this._defaultOptions||new kr),t),t.id=t.id||this._idGenerator.getId("mat-mdc-dialog-"),t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,be(I({},t),{positionStrategy:gn(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||t.enterAnimationDuration?.toLocaleStr
6ing()==="0"||t.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:ui,useValue:t}]},templateContext:()=>({dialogRef:i}),providers:(s,a,u)=>(i=new this._dialogRefConstructor(s,t,u),i.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:u},{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(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),zt=(()=>{class n{dialogRef=b(_n,{optional:!0});_elementRef=b(re);_dialog=b(gt);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=hu(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){Xa(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,i){t&1&&_("click",function(s){return i._onButtonClick(s)}),t&2&&_e("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:[Ge]})}return n})(),Ef=(()=>{class n{_dialogRef=b(_n,{optional:!0});_elementRef=b(re);_dialog=b(gt);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=hu(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n})}return n})();var Gt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[bc([Pd])]})}return n})(),Zt=(()=>{class n extends Ef{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275dir=Q({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,i){t&2&&Se("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:[Ae]})}return n})();function hu(n,r){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?r.find(t=>t.id===e.id):null}var qt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[gt],imports:[tu,Oi,Ti,Le,Le]})}return n})();var _t=(function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n})(_t||{}),Qa=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=_t.HIDDEN;constructor(r,e,t,i=!1){this._renderer=r,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},mu=ln({passive:!0,capture:!0}),Ya=class{_events=new Map;addHandler(r,e,t,i){let o=this._events.get(e);if(o){let s=o.get(t);s?s.add(i):o.set(t,new Set([i]))}else this._events.set(e,new Map([[t,new Set([i])]])),r.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,mu)})}removeHandler(r,e,t){let i=this._events.get(r);if(!i)return;let o=i.get(e);o&&(o.delete(t),o.size===0&&i.delete(e),i.size===0&&(this._events.delete(r),document.removeEventListener(r,this._delegateEventHandler,mu)))}_delegateEventHandler=r=>{let e=pt(r);e&&this._events.get(r.type)?.forEach((t,i)=>{(i===e||i.contains(e))&&t.forEach(o=>o.handleEvent(r))})}},pu={enterDuration:225,exitDuration:150},Df=800,fu=ln({passive:!0,capture:!0}),gu=["mousedown","touchstart"],_u=["mouseup","mouseleave","touchend","touchcancel"],Tf=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,i){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
7`],encapsulation:2,changeDetection:0})}return n})(),Ka=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Ya;constructor(r,e,t,i,o){this._target=r,this._ngZone=e,this._platform=i,i.isBrowser&&(this._containerElement=At(t)),o&&o.get(Ft).load(Tf)}fadeInRipple(r,e,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=I(I({},pu),t.animation);t.centered&&(r=i.left+i.width/2,e=i.top+i.height/2);let s=t.radius||Mf(r,e,i),a=r-i.left,u=e-i.top,v=o.enterDuration,C=document.createElement("div");C.classList.add("mat-ripple-element"),C.style.left=`${a-s}px`,C.style.top=`${u-s}px`,C.style.height=`${s*2}px`,C.style.width=`${s*2}px`,t.color!=null&&(C.style.backgroundColor=t.color),C.style.transitionDuration=`${v}ms`,this._containerElement.appendChild(C);let S=window.getComputedStyle(C),E=S.transitionProperty,D=S.transitionDuration,A=E==="none"||D==="0s"||D==="0s, 0s"||i.width===0&&i.height===0,U=new Qa(this,C,t,A);C.style.transform="scale3d(1, 1, 1)",U.state=_t.FADING_IN,t.persistent||(this._mostRecentTransientRipple=U);let V=null;return!A&&(v||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let q=()=>{V&&(V.fallbackTimer=null),clearTimeout(Ee),this._finishRippleTransition(U)},ae=()=>this._destroyRipple(U),Ee=setTimeout(ae,v+100);C.addEventListener("transitionend",q),C.addEventListener("transitioncancel",ae),V={onTransitionEnd:q,onTransitionCancel:ae,fallbackTimer:Ee}}),this._activeRipples.set(U,V),(A||!v)&&this._finishRippleTransition(U),U}fadeOutRipple(r){if(r.state===_t.FADING_OUT||r.state===_t.HIDDEN)return;let e=r.element,t=I(I({},pu),r.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",r.state=_t.FADING_OUT,(r._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(r)}
vendor: 24,845 bytes, lines 7-8
7fadeOutAll(){this._getActiveRipples().forEach(r=>r.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(r=>{r.config.persistent||r.fadeOut()})}setupTriggerEvents(r){let e=At(r);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,gu.forEach(t=>{n._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(r){r.type==="mousedown"?this._onMousedown(r):r.type==="touchstart"?this._onTouchStart(r):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_u.forEach(e=>{this._triggerElement.addEventListener(e,this,fu)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(r){r.state===_t.FADING_IN?this._startFadeOutTransition(r):r.state===_t.FADING_OUT&&this._destroyRipple(r)}_startFadeOutTransition(r){let e=r===this._mostRecentTransientRipple,{persistent:t}=r.config;r.state=_t.VISIBLE,!t&&(!e||!this._isPointerDown)&&r.fadeOut()}_destroyRipple(r){let e=this._activeRipples.get(r)??null;this._activeRipples.delete(r),this._activeRipples.size||(this._containerRect=null),r===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),r.state=_t.HIDDEN,e!==null&&(r.element.removeEventListener("transitionend",e.onTransitionEnd),r.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),r.element.remove()}_onMousedown(r){let e=_r(r),t=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Df;!this._target.rippleDisabled&&!e&&!t&&(this._isPointerDown=!0,this.fadeInRipple(r.clientX,r.clientY,this._target.rippleConfig))}_onTouchStart(r){if(!this._target.rippleDisabled&&!vr(r)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=r.changedTouches;if(e)for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(r=>{let e=r.state===_t.VISIBLE||r.config.terminateOnPointerUp&&r.state===_t.FADING_IN;!r.config.persistent&&e&&r.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let r=this._triggerElement;r&&(gu.forEach(e=>n._eventManager.removeHandler(e,r,this)),this._pointerUpEventsRegistered&&(_u.forEach(e=>r.removeEventListener(e,this,fu)),this._pointerUpEventsRegistered=!1))}};function Mf(n,r,e){let t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),i=Math.max(Math.abs(r-e.top),Math.abs(r-e.bottom));return Math.sqrt(t*t+i*i)}var If=new P("mat-ripple-global-options"),vu=(()=>{class n{_elementRef=b(re);_animationsDisabled=$t();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=b(le),t=b(Te),i=b(If,{optional:!0}),o=b(de);this._globalOptions=i||{},this._rippleRenderer=new Ka(this,e,this._elementRef,t,o)}ngOnInit(){this._isInitialized=!0,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:I(I(I({},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(e,t=0,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,I(I({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,I(I({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,i){t&2&&Se("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 n})();var yu=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,i){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
8`],encapsulation:2,changeDetection:0})}return n})();var Yo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Le,Le]})}return n})();var Ko=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Le,Yo,Le]})}return n})();var Mu=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,t){this._renderer=e,this._elementRef=t}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(t){return new(t||n)(w(ce),w(re))};static \u0275dir=Q({type:n})}return n})(),Ir=(()=>{class n extends Mu{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275dir=Q({type:n,features:[Ae]})}return n})(),Cn=new P(""),Af={provide:Cn,useExisting:Ut(()=>rl),multi:!0},rl=(()=>{class n extends Ir{writeValue(e){this.setProperty("checked",e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275dir=Q({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,i){t&1&&_("change",function(s){return i.onChange(s.target.checked)})("blur",function(){return i.onTouched()})},standalone:!1,features:[qe([Af]),Ae]})}return n})(),Ff={provide:Cn,useExisting:Ut(()=>hi),multi:!0};function Of(){let n=Je()?Je().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var Lf=new P(""),hi=(()=>{class n extends Mu{_compositionMode;_composing=!1;constructor(e,t,i){super(e,t),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!Of())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(t){return new(t||n)(w(ce),w(re),w(Lf,8))};static \u0275dir=Q({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,i){t&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:!1,features:[qe([Ff]),Ae]})}return n})();function Rf(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}var Iu=new P(""),Vf=new P("");function Pf(n){return r=>{let e=r.value?.length??Rf(r.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function bu(n){return null}function Au(n){return n!=null}function Fu(n){return Gn(n)?Qe(n):n}function Ou(n){let r={};return n.forEach(e=>{r=e!=null?I(I({},r),e):r}),Object.keys(r).length===0?null:r}function Lu(n,r){return r.map(e=>e(n))}function Bf(n){return!n.validate}function Ru(n){return n.map(r=>Bf(r)?r:e=>r.validate(e))}function Nf(n){if(!n)return null;let r=n.filter(Au);return r.length==0?null:function(e){return Ou(Lu(e,r))}}function Vu(n){return n!=null?Nf(Ru(n)):null}function Uf(n){if(!n)return null;let r=n.filter(Au);return r.length==0?null:function(e){let t=Lu(e,r).map(Fu);return ql(t).pipe(X(Ou))}}function Pu(n){return n!=null?Uf(Ru(n)):null}function Cu(n,r){return n===null?[r]:Array.isArray(n)?[...n,r]:[n,r]}function Hf(n){return n._rawValidators}function Wf(n){return n._rawAsyncValidators}function Ja(n){return n?Array.isArray(n)?n:[n]:[]}function es(n,r){return Array.isArray(n)?n.includes(r):n===r}function Su(n,r){let e=Ja(r);return Ja(n).forEach(i=>{es(e,i)||e.push(i)}),e}function wu(n,r){return Ja(r).filter(e=>!es(n,e))}var ts=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(r){this._rawValidators=r||[],this._composedValidatorFn=Vu(this._rawValidators)}_setAsyncValidators(r){this._rawAsyncValidators=r||[],this._composedAsyncValidatorFn=Pu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(r){this._onDestroyCallbacks.push(r)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(r=>r()),this._onDestroyCallbacks=[]}reset(r=void 0){this.control&&this.control.reset(r)}hasError(r,e){return this.control?this.control.hasError(r,e):!1}getError(r,e){return this.control?this.control.getError(r,e):null}},el=class extends ts{name;get formDirective(){return null}get path(){return null}},bn=class extends ts{_parent=null;name=null;valueAccessor=null},tl=class{_cd;constructor(r){this._cd=r}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}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},jf={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Nw=be(I({},jf),{"[class.ng-submitted]":"isSubmitted"}),Sn=(()=>{class n extends tl{constructor(e){super(e)}static \u0275fac=function(t){return new(t||n)(w(bn,2))};static \u0275dir=Q({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,i){t&2&&Se("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:!1,features:[Ae]})}return n})();var Er="VALID",Jo="INVALID",vn="PENDING",Dr="DISABLED",Li=class{},is=class extends Li{value;source;constructor(r,e){super(),this.value=r,this.source=e}},Tr=class extends Li{pristine;source;constructor(r,e){super(),this.pristine=r,this.source=e}},Mr=class extends Li{touched;source;constructor(r,e){super(),this.touched=r,this.source=e}},yn=class extends Li{status;source;constructor(r,e){super(),this.status=r,this.source=e}};var il=class extends Li{source;constructor(r){super(),this.source=r}};function $f(n){return(ns(n)?n.validators:n)||null}function zf(n){return Array.isArray(n)?Vu(n):n||null}function Gf(n,r){return(ns(r)?r.asyncValidators:n)||null}function Zf(n){return Array.isArray(n)?Pu(n):n||null}function ns(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}var nl=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(r,e){this._assignValidators(r),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(r){this._rawValidators=this._composedValidatorFn=r}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(r){this._rawAsyncValidators=this._composedAsyncValidatorFn=r}get parent(){return this._parent}get status(){return We(this.statusReactive)}set status(r){We(()=>this.statusReactive.set(r))}_status=si(()=>this.statusReactive());statusReactive=Be(void 0);get valid(){return this.status===Er}get invalid(){return this.status===Jo}get pending(){return this.status==vn}get disabled(){return this.status===Dr}get enabled(){return this.status!==Dr}errors;get pristine(){return We(this.pristineReactive)}set pristine(r){We(()=>this.pristineReactive.set(r))}_pristine=si(()=>this.pristineReactive());pristineReactive=Be(!0);get dirty(){return!this.pristine}get touched(){return We(this.touchedReactive)}set touched(r){We(()=>this.touchedReactive.set(r))}_touched=si(()=>this.touchedReactive());touchedReactive=Be(!1);get untouched(){return!this.touched}_events=new j;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(r){this._assignValidators(r)}setAsyncValidators(r){this._assignAsyncValidators(r)}addValidators(r){this.setValidators(Su(r,this._rawValidators))}addAsyncValidators(r){this.setAsyncValidators(Su(r,this._rawAsyncValidators))}removeValidators(r){this.setValidators(wu(r,this._rawValidators))}removeAsyncValidators(r){this.setAsyncValidators(wu(r,this._rawAsyncValidators))}hasValidator(r){return es(this._rawValidators,r)}hasAsyncValidator(r){return es(this._rawAsyncValidators,r)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(r={}){let e=this.touched===!1;this.touched=!0;let t=r.sourceControl??this;this._parent&&!r.onlySelf&&this._parent.markAsTouched(be(I({},r),{sourceControl:t})),e&&r.emitEvent!==!1&&this._events.next(new Mr(!0,t))}markAllAsDirty(r={}){this.markAsDirty({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(r))}markAllAsTouched(r={}){this.markAsTouched({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(r))}markAsUntouched(r={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=r.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:r.emitEvent,sourceControl:t})}),this._parent&&!r.onlySelf&&this._parent._updateTouched(r,t),e&&r.emitEvent!==!1&&this._events.next(new Mr(!1,t))}markAsDirty(r={}){let e=this.pristine===!0;this.pristine=!1;let t=r.sourceControl??this;this._parent&&!r.onlySelf&&this._parent.markAsDirty(be(I({},r),{sourceControl:t})),e&&r.emitEvent!==!1&&this._events.next(new Tr(!1,t))}markAsPristine(r={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=r.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:r.emitEvent})}),this._parent&&!r.onlySelf&&this._parent._updatePristine(r,t),e&&r.emitEvent!==!1&&this._events.next(new Tr(!0,t))}markAsPending(r={}){this.status=vn;let e=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new yn(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.markAsPending(be(I({},r),{sourceControl:e}))}disable(r={}){let e=this._parentMarkedDirty(r.onlySelf);this.status=Dr,this.errors=null,this._forEachChild(i=>{i.disable(be(I({},r),{onlySelf:!0}))}),this._updateValue();let t=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new is(this.value,t)),this._events.next(new yn(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(be(I({},r),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(r={}){let e=this._parentMarkedDirty(r.onlySelf);this.status=Er,this._forEachChild(t=>{t.enable(be(I({},r),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent}),this._updateAncestors(be(I({},r),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(r,e){this._parent&&!r.onlySelf&&(this._parent.updateValueAndValidity(r),r.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(r){this._parent=r}getRawValue(){return this.value}updateValueAndValidity(r={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Er||this.status===vn)&&this._runAsyncValidator(t,r.emitEvent)}let e=r.sourceControl??this;r.emitEvent!==!1&&(this._events.next(new is(this.value,e)),this._events.next(new yn(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!r.onlySelf&&this._parent.updateValueAndValidity(be(I({},r),{sourceControl:e}))}_updateTreeValidity(r={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(r)),this.updateValueAndValidity({onlySelf:!0,emitEvent:r.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dr:Er}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(r,e){if(this.asyncValidator){this.status=vn,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:r!==!1};let t=Fu(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:r})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let r=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,r}return!1}setErrors(r,e={}){this.errors=r,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(r){let e=r;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,i)=>t&&t._find(i),this)}getError(r,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[r]:null}hasError(r,e){return!!this.getError(r,e)}get root(){let r=this;for(;r._parent;)r=r._parent;return r}_updateControlsErrors(r,e,t){this.status=this._calculateStatus(),r&&this.statusChanges.emit(this.status),(r||t)&&this._events.next(new yn(this.status,e)),this._parent&&this._parent._updateControlsErrors(r,e,t)}_initObservables(){this.valueChanges=new me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?Dr:this.errors?Jo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vn)?vn:this._anyControlsHaveStatus(Jo)?Jo:Er}_anyControlsHaveStatus(r){return this._anyControls(e=>e.status===r)}_anyControlsDirty(){return this._anyControls(r=>r.dirty)}_anyControlsTouched(){return this._anyControls(r=>r.touched)}_updatePristine(r,e){let t=!this._anyControlsDirty(),i=this.pristine!==t;this.pristine=t,this._parent&&!r.onlySelf&&this._parent._updatePristine(r,e),i&&this._events.next(new Tr(this.pristine,e))}_updateTouched(r={},e){this.touched=this._anyControlsTouched(),this._events.next(new Mr(this.touched,e)),this._parent&&!r.onlySelf&&this._parent._updateTouched(r,e)}_onDisabledChange=[];_registerOnCollectionChange(r){this._onCollectionChange=r}_setUpdateStrategy(r){ns(r)&&r.updateOn!=null&&(this._updateOn=r.updateOn)}_parentMarkedDirty(r){let e=this._parent&&this._parent.dirty;return!r&&!!e&&!this._parent._anyControlsDirty()}_find(r){return null}_assignValidators(r){this._rawValidators=Array.isArray(r)?r.slice():r,this._composedValidatorFn=zf(this._rawValidators)}_assignAsyncValidators(r){this._rawAsyncValidators=Array.isArray(r)?r.slice():r,this._composedAsyncValidatorFn=Zf(this._rawAsyncValidators)}};var ol=new P("",{providedIn:"root",factory:()=>rs}),rs="always";function qf(n,r){return[...r.path,n]}function Xf(n,r,e=rs){Yf(n,r),r.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&r.valueAccessor.setDisabledState?.(n.disabled),Kf(n,r),eg(n,r),Jf(n,r),Qf(n,r)}function xu(n,r){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(r)})}function Qf(n,r){if(r.valueAccessor.setDisabledState){let e=t=>{r.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(e),r._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function Yf(n,r){let e=Hf(n);r.validator!==null?n.setValidators(Cu(e,r.validator)):typeof e=="function"&&n.setValidators([e]);let t=Wf(n);r.asyncValidator!==null?n.setAsyncValidators(Cu(t,r.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let i=()=>n.updateValueAndValidity();xu(r._rawValidators,i),xu(r._rawAsyncValidators,i)}function Kf(n,r){r.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&Bu(n,r)})}function Jf(n,r){r.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&Bu(n,r),n.updateOn!=="submit"&&n.markAsTouched()})}function Bu(n,r){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),r.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function eg(n,r){let e=(t,i)=>{r.valueAccessor.writeValue(t),i&&r.viewToModelUpdate(t)};n.registerOnChange(e),r._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function tg(n,r){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(r,e.currentValue)}function ig(n){return Object.getPrototypeOf(n.constructor)===Ir}function ng(n,r){if(!r)return null;Array.isArray(r);let e,t,i;return r.forEach(o=>{o.constructor===hi?e=o:ig(o)?t=o:i=o}),i||t||e||null}function ku(n,r){let e=n.indexOf(r);e>-1&&n.splice(e,1)}function Eu(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var rg=class extends nl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(r=null,e,t){super($f(e),Gf(t,e)),this._applyFormState(r),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ns(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Eu(r)?this.defaultValue=r.value:this.defaultValue=r)}setValue(r,e={}){this.value=this._pendingValue=r,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(r,e={}){this.setValue(r,e)}reset(r=this.defaultValue,e={}){this._applyFormState(r),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new il(this))}_updateValue(){}_anyControls(r){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(r){this._onChange.push(r)}_unregisterOnChange(r){ku(this._onChange,r)}registerOnDisabledChange(r){this._onDisabledChange.push(r)}_unregisterOnDisabledChange(r){ku(this._onDisabledChange,r)}_forEachChild(r){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pe
8ndingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(r){Eu(r)?(this.value=this._pendingValue=r.value,r.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=r}};var og={provide:bn,useExisting:Ut(()=>Ri)},Du=Promise.resolve(),Ri=(()=>{class n extends bn{_changeDetectorRef;callSetDisabledState;control=new rg;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new me;constructor(e,t,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=ng(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),tg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Xf(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){Du.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let t=e.isDisabled.currentValue,i=t!==0&&Wt(t);Du.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?qf(e,this._parent):[e]}static \u0275fac=function(t){return new(t||n)(w(el,9),w(Iu,10),w(Vf,10),w(Cn,10),w(Ke,8),w(ol,8))};static \u0275dir=Q({type:n,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:!1,features:[qe([og]),Ae,Ge]})}return n})();var sg={provide:Cn,useExisting:Ut(()=>sl),multi:!0};var ag=(()=>{class n{_accessors=[];add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e){this._accessors.splice(t,1);return}}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return e[0].control?e[0]._parent===t._control._parent&&e[1].name===t.name:!1}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),sl=(()=>{class n extends Ir{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=b(ol,{optional:!0})??rs;constructor(e,t,i,o){super(e,t),this._registry=i,this._injector=o}ngOnInit(){this._control=this._injector.get(bn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(t){return new(t||n)(w(ce),w(re),w(ag),w(de))};static \u0275dir=Q({type:n,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,i){t&1&&_("change",function(){return i.onChange()})("blur",function(){return i.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[qe([sg]),Ae]})}return n})();var lg={provide:Cn,useExisting:Ut(()=>wn),multi:!0};function Nu(n,r){return n==null?`${r}`:(r&&typeof r=="object"&&(r="Object"),`${n}: ${r}`.slice(0,50))}function cg(n){return n.split(":")[0]}var wn=(()=>{class n extends Ir{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=b(Dt).injector;destroyRef=b(ji);cdr=b(Ke);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.de
8stroyed||(this._queuedWrite=!0,yt({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let t=this._getOptionId(e),i=Nu(t,e);this.setProperty("value",i)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let t of this._optionMap.keys())if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){let t=cg(e);return this._optionMap.has(t)?this._optionMap.get(t):e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275dir=Q({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,i){t&1&&_("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[qe([lg]),Ae]})}return n})(),os=(()=>{class n{_element;_renderer;_select;id;constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(Nu(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select&&this._select._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select._writeValueAfterRender())}static \u0275fac=function(t){return new(t||n)(w(re),w(ce),w(wn,9))};static \u0275dir=Q({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return n})(),dg={provide:Cn,useExisting:Ut(()=>Uu),multi:!0};function Tu(n,r){return n==null?`${r}`:(typeof r=="string"&&(r=`'${r}'`),r&&typeof r=="object"&&(r="Object"),`${n}: ${r}`.slice(0,50))}function ug(n){return n.split(":")[0]}var Uu=(()=>{class n extends Ir{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let t;if(Array.isArray(e)){let i=e.map(o=>this._getOptionId(o));t=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else t=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{let i=[],o=t.selectedOptions;if(o!==void 0){let s=o;for(let a=0;a<s.length;a++){let u=s[a],v=this._getOptionValue(u.value);i.push(v)}}else{let s=t.options;for(let a=0;a<s.length;a++){let u=s[a];if(u.selected){let v=this._getOptionValue(u.value);i.push(v)}}}this.value=i,e(i)}}_registerOption(e){let t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(let t of this._optionMap.keys())if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){let t=ug(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275dir=Q({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,i){t&1&&_("change",function(s){return i.onChange(s.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[qe([dg]),Ae]})}return n})(),ss=(()=>{class n{_element;_renderer;_select;id;_value;constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(Tu(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(Tu(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
8),this._select.writeValue(this._select.value))}static \u0275fac=function(t){return new(t||n)(w(re),w(ce),w(Uu,9))};static \u0275dir=Q({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return n})();function hg(n){return typeof n=="number"?n:parseInt(n,10)}var mg=(()=>{class n{_validator=bu;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):bu,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,features:[Ge]})}return n})();var pg={provide:Iu,useExisting:Ut(()=>Vi),multi:!0},Vi=(()=>{class n extends mg{maxlength;inputName="maxlength";normalizeInput=e=>hg(e);createValidator=e=>Pf(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275dir=Q({type:n,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,i){t&2&&_e("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[qe([pg]),Ae]})}return n})();var fg=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({})}return n})();var xn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:ol,useValue:e.callSetDisabledState??rs}]}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[fg]})}return n})();var Hu=(()=>{class n{_animationsDisabled=$t();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,i){t&2&&Se("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,i){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;
8height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
9`],encapsulation:2,changeDetection:0})}return n})();var vg=["text"],yg=[[["mat-icon"]],"*"],bg=["mat-icon","*"];function Cg(n,r){if(n&1&&y(0,"mat-pseudo-checkbox",1),n&2){let e=p();g("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Sg(n,r){if(n&1&&y(0,"mat-pseudo-checkbox",3),n&2){let e=p();g("disabled",e.disabled)}}function wg(n,r){if(n&1&&(l(0,"span",4),f(1),c()),n&2){let e=p();d(),N("(",e.group.label,")")}}var xg=new P("MAT_OPTION_PARENT_COMPONENT"),kg=new P("MatOptgroup");var ll=class{source;isUserInput;constructor(r,e=!1){this.source=r,this.isUserInput=e}},Wu=(()=>{class n{_element=b(re);_changeDetectorRef=b(Ke);_parent=b(xg,{optional:!0});group=b(kg,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=b(ft).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Be(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new me;_text;_stateChanges=new j;constructor(){let e=b(Ft);e.load(yu),e.load(Lo),this._signalDisableRipple=!!this._parent&&tc(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let i=this._getHostElement();typeof i.focus=="function"&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!dn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new ll(this,e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["mat-option"]],viewQuery:function(t,i){if(t&1&&L(vg,7),t&2){let o;F(o=O())&&(i._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,i){t&1&&_("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),t&2&&(qi("id",i.id),_e("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),Se("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Wt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:bg,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,i){t&1&&(ri(yg),Fe(0,Cg,1,2,"mat-pseudo-checkbox",1),Ne(1),l(2,"span",2,0),Ne(4,1),c(),Fe(5,Sg,1,1,"mat-pseudo-checkbox",3),Fe(6,wg,2,1,"span",4),y(7,"div",5)),t&2&&(Oe(i.multiple?0:-1),d(5),Oe(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),d(),Oe(i.group&&i.group._inert?6:-1),d(),g("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Hu,vu],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
10`],encapsulation:2,changeDetection:0})}return n})();var cl=class{_box;_destroyed=new j;
10_resizeSubject=new j;_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 ct(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(r,{box:this._box}),()=>{this._resizeObserver?.unobserve(r),t.unsubscribe(),this._elementObservables.delete(r)}}).pipe(ke(e=>e.some(t=>t.target===r)),zs({bufferSize:1,refCount:!0}),ut(this._destroyed))),this._elementObservables.get(r)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},ju=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=b(le);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let i=t?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new cl(i)),this._observers.get(i).observe(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Eg=["notch"],Dg=["matFormFieldNotchedOutline",""],Tg=["*"],$u=["iconPrefixContainer"],zu=["textPrefixContainer"],Gu=["iconSuffixContainer"],Zu=["textSuffixContainer"],Mg=["textField"],Ig=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ag=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Fg(n,r){n&1&&y(0,"span",21)}function Og(n,r){if(n&1&&(l(0,"label",20),Ne(1,1),Fe(2,Fg,1,0,"span",21),c()),n&2){let e=p(2);g("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),_e("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),Oe(!e.hideRequiredMarker&&e._control.required?2:-1)}}function Lg(n,r){if(n&1&&Fe(0,Og,3,5,"label",20),n&2){let e=p();Oe(e._hasFloatingLabel()?0:-1)}}function Rg(n,r){n&1&&y(0,"div",7)}function Vg(n,r){}function Pg(n,r){if(n&1&&k(0,Vg,0,0,"ng-template",13),n&2){p(2);let e=oo(1);g("ngTemplateOutlet",e)}}function Bg(n,r){if(n&1&&(l(0,"div",9),Fe(1,Pg,1,1,null,13),c()),n&2){let e=p();g("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),Oe(e._forceDisplayInfixLabel()?-1:1)}}function Ng(n,r){n&1&&(l(0,"div",10,2),Ne(2,2),c())}function Ug(n,r){n&1&&(l(0,"div",11,3),Ne(2,3),c())}function Hg(n,r){}function Wg(n,r){if(n&1&&k(0,Hg,0,0,"ng-template",13),n&2){p();let e=oo(1);g("ngTemplateOutlet",e)}}function jg(n,r){n&1&&(l(0,"div",14,4),Ne(2,4),c())}function $g(n,r){n&1&&(l(0,"div",15,5),Ne(2,5),c())}function zg(n,r){n&1&&y(0,"div",16)}function Gg(n,r){n&1&&(l(0,"div",18),Ne(1,6),c())}function Zg(n,r){if(n&1&&(l(0,"mat-hint",22),f(1),c()),n&2){let e=p(2);g("id",e._hintLabelId),d(),B(e.hintLabel)}}function qg(n,r){if(n&1&&(l(0,"div",19),Fe(1,Zg,2,2,"mat-hint",22),Ne(2,7),y(3,"div",23),Ne(4,8),c()),n&2){let e=p();d(),Oe(e.hintLabel?1:-1)}}var qu=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["mat-label"]]})}return n})(),Xg=new P("MatError");var Xu=(()=>{class n{align="start";id=b(ft).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,i){t&2&&(qi("id",i.id),_e("align",null),Se("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),Qg=new P("MatPrefix");var Yg=new P("MatSuffix");var ih=new P("FloatingLabelParent"),Qu=(()=>{class n{_elementRef=b(re);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=b(ju);_ngZone=b(le);_parent=b(ih);_resizeSubscription=new Kt;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Kg(this._elementRef.nativeElement)}
10get 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(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,i){t&2&&Se("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function Kg(n){let r=n;if(r.offsetParent!==null)return r.scrollWidth;let e=r.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Yu="mdc-line-ripple--active",as="mdc-line-ripple--deactivating",Ku=(()=>{class n{_elementRef=b(re);_cleanupTransitionEnd;constructor(){let e=b(le),t=b(ce);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(as),e.add(Yu)}deactivate(){this._elementRef.nativeElement.classList.add(as)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,i=t.contains(as);e.propertyName==="opacity"&&i&&t.remove(Yu,as)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),Ju=(()=>{class n{_elementRef=b(re);_ngZone=b(le);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,t=e.querySelector(".mdc-floating-label");t?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let t=this._notch.nativeElement;!this.open||!e?t.style.width="":t.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(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,i){if(t&1&&L(Eg,5),t&2){let o;F(o=O())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,i){t&2&&Se("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Dg,ngContentSelectors:Tg,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(t,i){t&1&&(ri(),Xn(0,"div",1),Zn(1,"div",2,0),Ne(3),qn(),Xn(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),Jg=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n})}return n})();var e0=new P("MatFormField"),t0=new P("MAT_FORM_FIELD_DEFAULT_OPTIONS"),eh="fill",i0="auto",th="fixed",n0="translateY(-50%)",nh=(()=>{class n{_elementRef=b(re);_changeDetectorRef=b(Ke);_platform=b(Te);_idGenerator=b(ft);_ngZone=b(le);_defaults=b(t0,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Jn("iconPrefixContainer");_textPrefixContainerSignal=Jn("textPrefixContainer");_iconSuffixContainerSignal=Jn("iconSuffixContainer");_textSuffixContainerSignal=Jn("textSuffixContainer");_prefixSuffixContainers=si(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Tc(qu);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=iu(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||i0}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let t=e||this._defaults?.appearance||eh;this._appearanceSignal.set(t)}_appearanceSignal=Be(eh);
10get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||th}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||th}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_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 j;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=$t();constructor(){let e=this._defaults,t=b(Ot);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Js(()=>this._currentDirection=t.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()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=si(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,i="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(i+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(i+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(dt([void 0,void 0]),X(()=>[t.errorState,t.userAriaDescribedBy]),$s(),ke(([[o,s],[a,u]])=>o!==a||s!==u)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(ut(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(),Yr(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=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){Fc({earlyRead:()=>
10{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=si(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[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=[];
10if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,s=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let t=this._control.describedByIds,i;if(t){let o=this._describedByIds||e;i=e.concat(t.filter(s=>s&&!o.includes(s)))}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,t=this._textPrefixContainer?.nativeElement,i=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=e?.getBoundingClientRect().width??0,a=t?.getBoundingClientRect().width??0,u=i?.getBoundingClientRect().width??0,v=o?.getBoundingClientRect().width??0,C=this._currentDirection==="rtl"?"-1":"1",S=`${s+a}px`,D=`calc(${C} * (${S} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,A=`var(--mat-mdc-form-field-label-transform, ${n0} translateX(${D}))`,U=s+a+u+v;return[A,U]}_writeOutlinedLabelStyles(e){if(e!==null){let[t,i]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),i!==null&&this._notchedOutline?._setMaxWidth(i)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["mat-form-field"]],contentQueries:function(t,i,o){if(t&1&&(wc(o,i._labelChild,qu,5),Si(o,Jg,5),Si(o,Qg,5),Si(o,Yg,5),Si(o,Xg,5),Si(o,Xu,5)),t&2){Ks();let s;F(s=O())&&(i._formFieldControl=s.first),F(s=O())&&(i._prefixChildren=s),F(s=O())&&(i._suffixChildren=s),F(s=O())&&(i._errorChildren=s),F(s=O())&&(i._hintChildren=s)}},viewQuery:function(t,i){if(t&1&&(Yn(i._iconPrefixContainerSignal,$u,5),Yn(i._textPrefixContainerSignal,zu,5),Yn(i._iconSuffixContainerSignal,Gu,5),Yn(i._textSuffixContainerSignal,Zu,5),L(Mg,5),L($u,5),L(zu,5),L(Gu,5),L(Zu,5),L(Qu,5),L(Ju,5),L(Ku,5)),t&2){Ks(4);let o;F(o=O())&&(i._textField=o.first),F(o=O())&&(i._iconPrefixContainer=o.first),F(o=O())&&(i._textPrefixContainer=o.first),F(o=O())&&(i._iconSuffixContainer=o.first),F(o=O())&&(i._textSuffixContainer=o.first),F(o=O())&&(i._floatingLabel=o.first),F(o=O())&&(i._notchedOutline=o.first),F(o=O())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(t,i){t&2&&Se("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:[qe([{provide:e0,useExisting:n},{provide:ih,useExisting:n}])],ngContentSelectors:Ag,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
10FloatingLabel","",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(t,i){if(t&1){let o=T();ri(Ig),k(0,Lg,1,1,"ng-template",null,0,mt),l(2,"div",6,1),_("click",function(a){return h(o),m(i._control.onContainerClick(a))}),Fe(4,Rg,1,0,"div",7),l(5,"div",8),Fe(6,Bg,2,2,"div",9),Fe(7,Ng,3,0,"div",10),Fe(8,Ug,3,0,"div",11),l(9,"div",12),Fe(10,Wg,1,1,null,13),Ne(11),c(),Fe(12,jg,3,0,"div",14),Fe(13,$g,3,0,"div",15),c(),Fe(14,zg,1,0,"div",16),c(),l(15,"div",17),Fe(16,Gg,2,0,"div",18)(17,qg,5,1,"div",19),c()}if(t&2){let o;d(2),Se("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),d(2),Oe(!i._hasOutline()&&!i._control.disabled?4:-1),d(2),Oe(i._hasOutline()?6:-1),d(),Oe(i._hasIconPrefix?7:-1),d(),Oe(i._hasTextPrefix?8:-1),d(2),Oe(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),d(2),Oe(i._hasTextSuffix?12:-1),d(),Oe(i._hasIconSuffix?13:-1),d(),Oe(i._hasOutline()?-1:14),d(),Se("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic");let s=i._getSubscriptMessageType();d(),Oe((o=s)==="error"?16:o==="hint"?17:-1)}},dependencies:[Qu,Ju,la,Ku,Xu],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;
10left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.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{transform:translateY(-34.75px) scale(0.75)}.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{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
10over .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.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{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{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))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):h
10over .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.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{border-left:1px solid rgba(0,0,0,0)}[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{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.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]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.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{transition-delay:40ms;transition-duration:110ms}.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{transition-delay:40ms;transition-duration:110ms}.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{transition-delay:40ms;transition-duration:110ms}.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{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-en
10abled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
11`],encapsulation:2,changeDetection:0})}return n})();var rh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Le]})}return n})();var dl=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Yo,Le,rh,Wu]})}return n})();var oh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({imports:[Le,Vo,nh,Le]})}return n})();var sh=new P("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=b(de);return()=>Fi(n)}});function ah(n){let r=b(de);return()=>Fi(r)}var lh={provide:sh,deps:[],useFactory:ah};var ul=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:[lh],imports:[Oi,dl,Le,Uo,oh,dl,Le]})}return n})();var se="primary",zr=Symbol("RouteTitle"),gl=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ni(n){return new gl(n)}function gh(n,r,e){let t=e.path.split("/");if(t.length>n.length||e.pathMatch==="full"&&(r.hasChildren()||t.length<n.length))return null;let i={};for(let o=0;o<t.length;o++){let s=t[o],a=n[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,t.length),posParams:i}}function o0(n,r){if(n.length!==r.length)return!1;for(let e=0;e<n.length;++e)if(!Lt(n[e],r[e]))return!1;return!0}function Lt(n,r){let e=n?_l(n):void 0,t=r?_l(r):void 0;if(!e||!t||e.length!=t.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!_h(n[i],r[i]))return!1;return!0}function _l(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function _h(n,r){if(Array.isArray(n)&&Array.isArray(r)){if(n.length!==r.length)return!1;let e=[...n].sort(),t=[...r].sort();return e.every((i,o)=>t[o]===i)}else return n===r}function vh(n){return n.length>0?n[n.length-1]:null}function Yt(n){return Ns(n)?n:Gn(n)?Qe(Promise.resolve(n)):$(n)}var s0={exact:bh,subset:Ch},yh={exact:a0,subset:l0,ignored:()=>!0};function ch(n,r,e){return s0[e.paths](n.root,r.root,e.matrixParams)&&yh[e.queryParams](n.queryParams,r.queryParams)&&!(e.fragment==="exact"&&n.fragment!==r.fragment)}function a0(n,r){return Lt(n,r)}function bh(n,r,e){if(!Pi(n.segments,r.segments)||!ds(n.segments,r.segments,e)||n.numberOfChildren!==r.numberOfChildren)return!1;for(let t in r.children)if(!n.children[t]||!bh(n.children[t],r.children[t],e))return!1;return!0}function l0(n,r){return Object.keys(r).length<=Object.keys(n).length&&Object.keys(r).every(e=>_h(n[e],r[e]))}function Ch(n,r,e){return Sh(n,r,r.segments,e)}function Sh(n,r,e,t){if(n.segments.length>e.length){let i=n.segments.slice(0,e.length);return!(!Pi(i,e)||r.hasChildren()||!ds(i,e,t))}else if(n.segments.length===e.length){if(!Pi(n.segments,e)||!ds(n.segments,e,t))return!1;for(let i in r.children)if(!n.children[i]||!Ch(n.children[i],r.children[i],t))return!1;return!0}else{let i=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!Pi(n.segments,i)||!ds(n.segments,i,t)||!n.children[se]?!1:Sh(n.children[se],r,o,t)}}function ds(n,r,e){return r.every((t,i)=>yh[e](n[i].parameters,t.parameters))}var Vt=class{root;queryParams;fragment;_queryParamMap;constructor(r=new ve([],{}),e={},t=null){this.root=r,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Ni(this.queryParams),this._queryParamMap}toString(){return u0.serialize(this)}},ve=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return us(this)}},mi=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=Ni(this.parameters),this._parameterMap}toString(){return xh(this)}};function c0(n,r){return Pi(n,r)&&n.every((e,t)=>Lt(e.parameters,r[t].parameters))}function Pi(n,r){return n.length!==r.length?!1:n.every((e,t)=>e.path===r[t].path)}function d0(n,r){let e=[];
11return Object.entries(n.children).forEach(([t,i])=>{t===se&&(e=e.concat(r(i,t)))}),Object.entries(n.children).forEach(([t,i])=>{t!==se&&(e=e.concat(r(i,t)))}),e}var Gr=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>new Ui,providedIn:"root"})}return n})(),Ui=class{parse(r){let e=new yl(r);return new Vt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Ar(r.root,!0)}`,t=p0(r.queryParams),i=typeof r.fragment=="string"?`#${h0(r.fragment)}`:"";return`${e}${t}${i}`}},u0=new Ui;function us(n){return n.segments.map(r=>xh(r)).join("/")}function Ar(n,r){if(!n.hasChildren())return us(n);if(r){let e=n.children[se]?Ar(n.children[se],!1):"",t=[];return Object.entries(n.children).forEach(([i,o])=>{i!==se&&t.push(`${i}:${Ar(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=d0(n,(t,i)=>i===se?[Ar(n.children[se],!1)]:[`${i}:${Ar(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[se]!=null?`${us(n)}/${e[0]}`:`${us(n)}/(${e.join("//")})`}}function wh(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ls(n){return wh(n).replace(/%3B/gi,";")}function h0(n){return encodeURI(n)}function vl(n){return wh(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hs(n){return decodeURIComponent(n)}function dh(n){return hs(n.replace(/\+/g,"%20"))}function xh(n){return`${vl(n.path)}${m0(n.parameters)}`}function m0(n){return Object.entries(n).map(([r,e])=>`;${vl(r)}=${vl(e)}`).join("")}function p0(n){let r=Object.entries(n).map(([e,t])=>Array.isArray(t)?t.map(i=>`${ls(e)}=${ls(i)}`).join("&"):`${ls(e)}=${ls(t)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var f0=/^[^\/()?;#]+/;function hl(n){let r=n.match(f0);return r?r[0]:""}var g0=/^[^\/()?;=#]+/;function _0(n){let r=n.match(g0);return r?r[0]:""}var v0=/^[^=?&#]+/;function y0(n){let r=n.match(v0);return r?r[0]:""}var b0=/^[^&#]+/;function C0(n){let r=n.match(b0);return r?r[0]:""}var yl=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ve([],{}):new ve([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(t[se]=new ve(r,e)),t}parseSegment(){let r=hl(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new te(4009,!1);return this.capture(r),new mi(hs(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=_0(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let i=hl(this.remaining);i&&(t=i,this.capture(t))}r[hs(e)]=hs(t)}parseQueryParam(r){let e=y0(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let s=C0(this.remaining);s&&(t=s,this.capture(t))}let i=dh(e),o=dh(t);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=hl(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new te(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=se);let s=this.parseChildren();e[o??se]=Object.keys(s).length===1&&s[se]?s[se]:new ve([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new te(4011,!1)}};function kh(n){return n.segments.length>0?new ve([],{[se]:n}):n}function Eh(n){let r={};for(let[t,i]of Object.entries(n.children)){let o=Eh(i);if(t===se&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[t]=o)}let e=new ve(n.segments,r);return S0(e)}function S0(n){if(n.numberOfChildren===1&&n.children[se]){let r=n.children[se];return new ve(n.segments.concat(r.segments),r.children)}return n}function Mn(n){return n instanceof Vt}function Dh(n,r,e=null,t=null){let i=Th(n);return Mh(i,r,e,t)}function Th(n){let r;function e(o){let s={};for(let u of o.children){let v=e(u);s[u.outlet]=v}let a=new ve(o.url,s);return o===n&&(r=a),a}let t=e(n.root),i=kh(t);return r??i}function Mh(n,r,e,t){let i=n;for(;i.parent;)i=i.parent;if(r.length===0)return ml(i,i,i,e,t);let o=w0(r);if(o.toRoot())return ml(i,i,new ve([],{}),e,t);let s=x0(o,i,n),a=s.processChildren?Or(s.segmentGroup,s.index,o.commands):Ah(s.segmentGroup,s.index,o.commands);return ml(i,s.segmentGroup,a,e,t)}function ms(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Vr(n){return typeof n=="object"&&n!=null&&n.outlets}function ml(n,r,e,t,i){let o={};t&&Object.entries(t).forEach(([u,v])=>{o[u]=Array.isArray(v)?v.map(C=>`${C}`):`${v}`});let s;n===r?s=e:s=Ih(n,r,e);let a=kh(Eh(s));return new Vt(a,o,i)}function Ih(n,r,e){let t={};
11return Object.entries(n.children).forEach(([i,o])=>{o===r?t[i]=e:t[i]=Ih(o,r,e)}),new ve(n.segments,t)}var ps=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,t){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=t,r&&t.length>0&&ms(t[0]))throw new te(4003,!1);let i=t.find(Vr);if(i&&i!==vh(t))throw new te(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function w0(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new ps(!0,0,n);let r=0,e=!1,t=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,v])=>{a[u]=typeof v=="string"?v.split("/"):v}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new ps(e,r,t)}var Dn=class{segmentGroup;processChildren;index;constructor(r,e,t){this.segmentGroup=r,this.processChildren=e,this.index=t}};function x0(n,r,e){if(n.isAbsolute)return new Dn(r,!0,0);if(!e)return new Dn(r,!1,NaN);if(e.parent===null)return new Dn(e,!0,0);let t=ms(n.commands[0])?0:1,i=e.segments.length-1+t;return k0(e,i,n.numberOfDoubleDots)}function k0(n,r,e){let t=n,i=r,o=e;for(;o>i;){if(o-=i,t=t.parent,!t)throw new te(4005,!1);i=t.segments.length}return new Dn(t,!1,i-o)}function E0(n){return Vr(n[0])?n[0].outlets:{[se]:n}}function Ah(n,r,e){if(n??=new ve([],{}),n.segments.length===0&&n.hasChildren())return Or(n,r,e);let t=D0(n,r,e),i=e.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){let o=new ve(n.segments.slice(0,t.pathIndex),{});return o.children[se]=new ve(n.segments.slice(t.pathIndex),n.children),Or(o,0,i)}else return t.match&&i.length===0?new ve(n.segments,{}):t.match&&!n.hasChildren()?bl(n,r,e):t.match?Or(n,0,i):bl(n,r,e)}function Or(n,r,e){if(e.length===0)return new ve(n.segments,{});{let t=E0(e),i={};if(Object.keys(t).some(o=>o!==se)&&n.children[se]&&n.numberOfChildren===1&&n.children[se].segments.length===0){let o=Or(n.children[se],r,e);return new ve(n.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Ah(n.children[o],r,s))}),Object.entries(n.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new ve(n.segments,i)}}function D0(n,r,e){let t=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<n.segments.length;){if(t>=e.length)return o;let s=n.segments[i],a=e[t];if(Vr(a))break;let u=`${a}`,v=t<e.length-1?e[t+1]:null;if(i>0&&u===void 0)break;if(u&&v&&typeof v=="object"&&v.outlets===void 0){if(!hh(u,v,s))return o;t+=2}else{if(!hh(u,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function bl(n,r,e){let t=n.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(Vr(o)){let u=T0(o.outlets);return new ve(t,u)}if(i===0&&ms(e[0])){let u=n.segments[r];t.push(new mi(u.path,uh(e[0]))),i++;continue}let s=Vr(o)?o.outlets[se]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&ms(a)?(t.push(new mi(s,uh(a))),i+=2):(t.push(new mi(s,{})),i++)}return new ve(t,{})}function T0(n){let r={};return Object.entries(n).forEach(([e,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(r[e]=bl(new ve([],{}),0,t))}),r}function uh(n){let r={};return Object.entries(n).forEach(([e,t])=>r[e]=`${t}`),r}function hh(n,r,e){return n==e.path&&Lt(r,e.parameters)}var Lr="imperative",Ve=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(Ve||{}),st=class{id;url;constructor(r,e){this.id=r,this.url=e}},Hi=class extends st{type=Ve.NavigationStart;navigationTrigger;restoredState;constructor(r,e,t="imperative",i=null){super(r,e),this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Xt=class extends st{urlAfterRedirects;type=Ve.NavigationEnd;constructor(r,e,t){super(r,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Xe=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromRe
11solver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(Xe||{}),Pr=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(Pr||{}),Rt=class extends st{reason;code;type=Ve.NavigationCancel;constructor(r,e,t,i){super(r,e),this.reason=t,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Qt=class extends st{reason;code;type=Ve.NavigationSkipped;constructor(r,e,t,i){super(r,e),this.reason=t,this.code=i}},In=class extends st{error;target;type=Ve.NavigationError;constructor(r,e,t,i){super(r,e),this.error=t,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Br=class extends st{urlAfterRedirects;state;type=Ve.RoutesRecognized;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fs=class extends st{urlAfterRedirects;state;type=Ve.GuardsCheckStart;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},gs=class extends st{urlAfterRedirects;state;shouldActivate;type=Ve.GuardsCheckEnd;constructor(r,e,t,i,o){super(r,e),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_s=class extends st{urlAfterRedirects;state;type=Ve.ResolveStart;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vs=class extends st{urlAfterRedirects;state;type=Ve.ResolveEnd;constructor(r,e,t,i){super(r,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ys=class{route;type=Ve.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bs=class{route;type=Ve.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cs=class{snapshot;type=Ve.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ss=class{snapshot;type=Ve.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ws=class{snapshot;type=Ve.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xs=class{snapshot;type=Ve.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Nr=class{},An=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function M0(n){return!(n instanceof Nr)&&!(n instanceof An)}function I0(n,r){return n.providers&&!n._injector&&(n._injector=qs(n.providers,r,`Route: ${n.path}`)),n._injector??r}function xt(n){return n.outlet||se}function A0(n,r){let e=n.filter(t=>xt(t)===r);return e.push(...n.filter(t=>xt(t)!==r)),e}function Ln(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let r=n.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var ks=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Ln(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Rn(this.rootInjector)}},Rn=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new ks(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||n)(J(it))};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Es=class{_root;constructor(r){this._root=r}get root(){return this._root.value}
11parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=Cl(r,this._root);return e?e.children.map(t=>t.value):[]}firstChild(r){let e=Cl(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=Sl(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return Sl(r,this._root).map(e=>e.value)}};function Cl(n,r){if(n===r.value)return r;for(let e of r.children){let t=Cl(n,e);if(t)return t}return null}function Sl(n,r){if(n===r.value)return[r];for(let e of r.children){let t=Sl(n,e);if(t.length)return t.unshift(r),t}return[]}var ot=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function En(n){let r={};return n&&n.children.forEach(e=>r[e.value.outlet]=e),r}var Ur=class extends Es{snapshot;constructor(r,e){super(r),this.snapshot=e,Il(this,r)}toString(){return this.snapshot.toString()}};function Fh(n){let r=F0(n),e=new Ue([new mi("",{})]),t=new Ue({}),i=new Ue({}),o=new Ue({}),s=new Ue(""),a=new vt(e,t,o,s,i,se,n,r.root);return a.snapshot=r.root,new Ur(new ot(a,[]),r)}function F0(n){let r={},e={},t={},o=new Bi([],r,t,"",e,se,n,null,{});return new Hr("",new ot(o,[]))}var vt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,t,i,o,s,a,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(X(v=>v[zr]))??$(void 0),this.url=r,this.params=e,this.queryParams=t,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(X(r=>Ni(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(X(r=>Ni(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ds(n,r,e="emptyOnly"){let t,{routeConfig:i}=n;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?t={params:I(I({},r.params),n.params),data:I(I({},r.data),n.data),resolve:I(I(I(I({},n.data),r.data),i?.data),n._resolvedData)}:t={params:I({},n.params),data:I({},n.data),resolve:I(I({},n.data),n._resolvedData??{})},i&&Lh(i)&&(t.resolve[zr]=i.title),t}var Bi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[zr]}constructor(r,e,t,i,o,s,a,u,v){this.url=r,this.params=e,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=v}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??=Ni(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ni(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},Hr=class extends Es{url;constructor(r,e){super(e),this.url=r,Il(this,e)}toString(){return Oh(this._root)}};function Il(n,r){r.value._routerState=n,r.children.forEach(e=>Il(n,e))}function Oh(n){let r=n.children.length>0?` { ${n.children.map(Oh).join(", ")} } `:"";return`${n.value}${r}`}function pl(n){if(n.snapshot){let r=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Lt(r.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),Lt(r.params,e.params)||n.paramsSubject.next(e.params),o0(r.url,e.url)||n.urlSubject.next(e.url),Lt(r.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function wl(n,r){let e=Lt(n.params,r.params)&&c0(n.url,r.url),t=!n.parent!=!r.parent;return e&&!t&&(!n.parent||wl(n.parent,r.parent))}function Lh(n){return typeof n.title=="string"||n.title===null}var Rh=new P(""),Al=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=se;activateEvents=new me;deactivateEvents=new me;attachEvents=new me;detachEvents=new me;routerOutletData=Dc();parentContexts=b(Rn);location=b(ht);changeDetector=b(Ke);inputBinder=b(As,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:i}=e.name;if(t)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(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new te(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new te(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new te(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new te(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new xl(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=Q({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Ge]})}return n})(),xl=class{route;childContexts;parent;outletData;constructor(r,e,t,i){this.route=r,this.childContexts=e,this.parent=t,this.outletData=i}get(r,e){return r===vt?this.route:r===Rn?this.childContexts:r===Rh?this.outletData:this.parent.get(r,e)}},As=new P("");var Fl=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=K({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,i){t&1&&y(0,"router-outlet")},dependencies:[Al],encapsulation:2})}return n})();function Ol(n){let r=n.children&&n.children.map(Ol),e=r?be(I({}
11,n),{children:r}):I({},n);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==se&&(e.component=Fl),e}function O0(n,r,e){let t=Wr(n,r._root,e?e._root:void 0);return new Ur(t,r)}function Wr(n,r,e){if(e&&n.shouldReuseRoute(r.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=r.value;let i=L0(n,r,e);return new ot(t,i)}else{if(n.shouldAttach(r.value)){let o=n.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>Wr(n,a)),s}}let t=R0(r.value),i=r.children.map(o=>Wr(n,o));return new ot(t,i)}}function L0(n,r,e){return r.children.map(t=>{for(let i of e.children)if(n.shouldReuseRoute(t.value,i.value.snapshot))return Wr(n,t,i);return Wr(n,t)})}function R0(n){return new vt(new Ue(n.url),new Ue(n.params),new Ue(n.queryParams),new Ue(n.fragment),new Ue(n.data),n.outlet,n.component,n)}var Fn=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},Vh="ngNavigationCancelingError";function Ts(n,r){let{redirectTo:e,navigationBehaviorOptions:t}=Mn(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=Ph(!1,Xe.Redirect);return i.url=e,i.navigationBehaviorOptions=t,i}function Ph(n,r){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[Vh]=!0,e.cancellationCode=r,e}function V0(n){return Bh(n)&&Mn(n.url)}function Bh(n){return!!n&&n[Vh]}var P0=(n,r,e,t)=>X(i=>(new kl(r,i.targetRouterState,i.currentRouterState,e,t).activate(n),i)),kl=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,t,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,r),pl(this.futureState.root),this.activateChildRoutes(e,t,r)}deactivateChildRoutes(r,e,t){let i=En(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(r,e,t){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let t=e.getContext(r.value.outlet),i=t&&r.value.component?t.children:e,o=En(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let t=e.getContext(r.value.outlet),i=t&&r.value.component?t.children:e,o=En(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(r,e,t){let i=En(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new xs(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Ss(r.value.snapshot))}activateRoutes(r,e,t){let i=r.value,o=e?e.value:null;if(pl(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,t);else if(i.component){let s=t.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),pl(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,t)}},Ms=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},Tn=class{component;route;constructor(r,e){this.component=r,this.route=e}};function B0(n,r,e){let t=n._root,i=r?r._root:null;return Fr(t,i,e,[t.value])}
11function N0(n){let r=n.routeConfig?n.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:n,guards:r}}function Vn(n,r){let e=Symbol(),t=r.get(n,e);return t===e?typeof n=="function"&&!Kl(n)?n:r.get(n):t}function Fr(n,r,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=En(r);return n.children.forEach(s=>{U0(s,o[s.value.outlet],e,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Rr(a,e.getContext(s),i)),i}function U0(n,r,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=r?r.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=H0(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Ms(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Fr(n,r,a?a.children:null,t,i):Fr(n,r,e,t,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Tn(a.outlet.component,s))}else s&&Rr(r,a,i),i.canActivateChecks.push(new Ms(t)),o.component?Fr(n,null,a?a.children:null,t,i):Fr(n,null,e,t,i);return i}function H0(n,r,e){if(typeof e=="function")return e(n,r);switch(e){case"pathParamsChange":return!Pi(n.url,r.url);case"pathParamsOrQueryParamsChange":return!Pi(n.url,r.url)||!Lt(n.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wl(n,r)||!Lt(n.queryParams,r.queryParams);default:return!wl(n,r)}}function Rr(n,r,e){let t=En(n),i=n.value;Object.entries(t).forEach(([o,s])=>{i.component?r?Rr(s,r.children.getContext(o),e):Rr(s,null,e):Rr(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new Tn(r.outlet.component,i)):e.canDeactivateChecks.push(new Tn(null,i)):e.canDeactivateChecks.push(new Tn(null,i))}function Zr(n){return typeof n=="function"}function W0(n){return typeof n=="boolean"}function j0(n){return n&&Zr(n.canLoad)}function $0(n){return n&&Zr(n.canActivate)}function z0(n){return n&&Zr(n.canActivateChild)}function G0(n){return n&&Zr(n.canDeactivate)}function Z0(n){return n&&Zr(n.canMatch)}function Nh(n){return n instanceof Zl||n?.name==="EmptyError"}var cs=Symbol("INITIAL_VALUE");function On(){return Re(n=>Wn(n.map(r=>r.pipe(Pe(1),dt(cs)))).pipe(X(r=>{for(let e of r)if(e!==!0){if(e===cs)return cs;if(e===!1||q0(e))return e}return!0}),ke(r=>r!==cs),Pe(1)))}function q0(n){return Mn(n)||n instanceof Fn}function X0(n,r){return Ye(e=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?$(be(I({},e),{guardsResult:!0})):Q0(s,t,i,n).pipe(Ye(a=>a&&W0(a)?Y0(t,o,n,r):$(a)),X(a=>be(I({},e),{guardsResult:a})))})}function Q0(n,r,e,t){return Qe(n).pipe(Ye(i=>i_(i.component,i.route,e,r,t)),ti(i=>i!==!0,!0))}function Y0(n,r,e,t){return Qe(r).pipe(_i(i=>Qr(J0(i.route.parent,t),K0(i.route,t),t_(n,i.path,e),e_(n,i.route,e))),ti(i=>i!==!0,!0))}function K0(n,r){return n!==null&&r&&r(new ws(n)),$(!0)}function J0(n,r){return n!==null&&r&&r(new Cs(n)),$(!0)}function e_(n,r,e){let t=r.routeConfig?r.routeConfig.canActivate:null;if(!t||t.length===0)return $(!0);let i=t.map(o=>Jt(()=>{let s=Ln(r)??e,a=Vn(o,s),u=$0(a)?a.canActivate(r,n):nt(s,()=>a(r,n));return Yt(u).pipe(ti())}));return $(i).pipe(On())}function t_(n,r,e){let t=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>N0(s)).filter(s=>s!==null).map(s=>Jt(()=>{let a=s.guards.map(u=>{let v=Ln(s.node)??e,C=Vn(u,v),S=z0(C)?C.canActivateChild(t,n):nt(v,()=>C(t,n));return Yt(S).pipe(ti())});return $(a).pipe(On())}));return $(o).pipe(On())}function i_(n,r,e,t,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return $(!0);let s=o.map(a=>{let u=Ln(r)??i,v=Vn(a,u),C=G0(v)?v.canDeactivate(n,r,e,t):nt(u,()=>v(n,r,e,t));return Yt(C).pipe(ti())});return $(s).pipe(On())}function n_(n,r,e,t){let i=r.canLoad;if(i===void 0||i.length===0)return $(!0);let o=i.map(s=>{let a=Vn(s,n),u=j0(a)?a.canLoad(r,e):nt(n,()=>a(r,e));return Yt(u)});return $(o).pipe(On(),Uh(t))}function Uh(n){return zl(Ce(r=>{if(typeof r!="boolean")throw Ts(n,r)}),X(r=>r===!0))}function r_(n,r,e,t){let i=r.canMatch;if(!i||i.length===0)return $(!0);let o=i.map(s=>{let a=Vn(s,n),u=Z0(a)?a.canMatch(r,e):nt(n,()=>a(r,e));return Yt(u)}
11);return $(o).pipe(On(),Uh(t))}var jr=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},$r=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function kn(n){return Hn(new jr(n))}function o_(n){return Hn(new te(4e3,!1))}function s_(n){return Hn(Ph(!1,Xe.GuardRejected))}var El=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let t=[],i=e.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return $(t);if(i.numberOfChildren>1||!i.children[se])return o_(`${r.redirectTo}`);i=i.children[se]}}applyRedirectCommands(r,e,t,i,o){return a_(e,i,o).pipe(X(s=>{if(s instanceof Vt)throw new $r(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),r,t);if(s[0]==="/")throw new $r(a);return a}))}applyRedirectCreateUrlTree(r,e,t,i){let o=this.createSegmentGroup(r,e.root,t,i);return new Vt(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let t={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=e[a]}else t[i]=o}),t}createSegmentGroup(r,e,t,i){let o=this.createSegments(r,e.segments,t,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(r,u,t,i)}),new ve(o,s)}createSegments(r,e,t,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,t))}findPosParam(r,e,t){let i=t[e.path.substring(1)];if(!i)throw new te(4001,!1);return i}findOrReturn(r,e){let t=0;for(let i of e){if(i.path===r.path)return e.splice(t),i;t++}return r}};function a_(n,r,e){if(typeof n=="string")return $(n);let t=n,{queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,params:v,data:C,title:S}=r;return Yt(nt(e,()=>t({params:v,data:C,queryParams:i,fragment:o,routeConfig:s,url:a,outlet:u,title:S})))}var Dl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function l_(n,r,e,t,i){let o=Hh(n,r,e);return o.matched?(t=I0(r,t),r_(t,r,e,i).pipe(X(s=>s===!0?o:I({},Dl)))):$(o)}function Hh(n,r,e){if(r.path==="**")return c_(e);if(r.path==="")return r.pathMatch==="full"&&(n.hasChildren()||e.length>0)?I({},Dl):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||gh)(e,n,r);if(!i)return I({},Dl);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?I(I({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function c_(n){return{matched:!0,parameters:n.length>0?vh(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function mh(n,r,e,t){return e.length>0&&h_(n,e,t)?{segmentGroup:new ve(r,u_(t,new ve(e,n.children))),slicedSegments:[]}:e.length===0&&m_(n,e,t)?{segmentGroup:new ve(n.segments,d_(n,e,t,n.children)),slicedSegments:e}:{segmentGroup:new ve(n.segments,n.children),slicedSegments:e}}function d_(n,r,e,t){let i={};for(let o of e)if(Fs(n,r,o)&&!t[xt(o)]){let s=new ve([],{});i[xt(o)]=s}return I(I({},t),i)}function u_(n,r){let e={};e[se]=r;for(let t of n)if(t.path===""&&xt(t)!==se){let i=new ve([],{});e[xt(t)]=i}return e}function h_(n,r,e){return e.some(t=>Fs(n,r,t)&&xt(t)!==se)}function m_(n,r,e){return e.some(t=>Fs(n,r,t))}function Fs(n,r,e){return(n.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function p_(n,r,e){return r.length===0&&!n.children[e]}var Tl=class{};function f_(n,r,e,t,i,o,s="emptyOnly"){return new Ml(n,r,e,t,i,s,o).recognize()}var g_=31,Ml=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,t,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new El(this.urlSerializer,this.urlTree)}noMatchError(r){return new te(4002,`'${r.segmentGroup}'`)}recognize(){let r=mh(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(X(({children:e,rootSnapshot:t})=>{let i=new ot(t,e),o=new Hr("",i),s=Dh(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new Bi([],Object.freeze({}),Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),se,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,se,e).pipe(X(t=>({children:t,rootSnapshot:e})),ei(t=>{if(t instanceof $r)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof jr?this.noMatchError(t):t}))}processSegmentGroup(r,e,t,i,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(r,e,t,o):this.processSegment(r,e,t,t.segments,i,!0,o).pipe(X(s=>s instanceof ot?[s]:[]))}processChildren(r,e,t,i){let o=[];for(let s of Object.keys(t.children))s==="primary"?o.unshift(s):o.push(s);return Qe(o).pipe(_i(s=>{let a=t.children[s],u=A0(e,s);return this.processSegmentGroup(r,u,a,s,i)}),Yl((s,a)=>
11(s.push(...a),s)),Hs(null),Ql(),Ye(s=>{if(s===null)return kn(t);let a=Wh(s);return __(a),$(a)}))}processSegment(r,e,t,i,o,s,a){return Qe(e).pipe(_i(u=>this.processSegmentAgainstRoute(u._injector??r,e,u,t,i,o,s,a).pipe(ei(v=>{if(v instanceof jr)return $(null);throw v}))),ti(u=>!!u),ei(u=>{if(Nh(u))return p_(t,i,o)?$(new Tl):kn(t);throw u}))}processSegmentAgainstRoute(r,e,t,i,o,s,a,u){return xt(t)!==s&&(s===se||!Fs(i,o,t))?kn(i):t.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,t,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,t,o,s,u):kn(i)}expandSegmentAgainstRouteUsingRedirect(r,e,t,i,o,s,a){let{matched:u,parameters:v,consumedSegments:C,positionalParamSegments:S,remainingSegments:E}=Hh(e,i,o);if(!u)return kn(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>g_&&(this.allowRedirects=!1));let D=new Bi(o,v,Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,ph(i),xt(i),i.component??i._loadedComponent??null,i,fh(i)),A=Ds(D,a,this.paramsInheritanceStrategy);return D.params=Object.freeze(A.params),D.data=Object.freeze(A.data),this.applyRedirects.applyRedirectCommands(C,i.redirectTo,S,D,r).pipe(Re(V=>this.applyRedirects.lineralizeSegments(i,V)),Ye(V=>this.processSegment(r,t,e,V.concat(E),s,!1,a)))}matchSegmentAgainstRoute(r,e,t,i,o,s){let a=l_(e,t,i,r,this.urlSerializer);return t.path==="**"&&(e.children={}),a.pipe(Re(u=>u.matched?(r=t._injector??r,this.getChildConfig(r,t,i).pipe(Re(({routes:v})=>{let C=t._loadedInjector??r,{parameters:S,consumedSegments:E,remainingSegments:D}=u,A=new Bi(E,S,Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,ph(t),xt(t),t.component??t._loadedComponent??null,t,fh(t)),U=Ds(A,s,this.paramsInheritanceStrategy);A.params=Object.freeze(U.params),A.data=Object.freeze(U.data);let{segmentGroup:V,slicedSegments:q}=mh(e,E,D,v);if(q.length===0&&V.hasChildren())return this.processChildren(C,v,V,A).pipe(X(Ee=>new ot(A,Ee)));if(v.length===0&&q.length===0)return $(new ot(A,[]));let ae=xt(t)===o;return this.processSegment(C,v,V,q,ae?se:o,!0,A).pipe(X(Ee=>new ot(A,Ee instanceof ot?[Ee]:[])))}))):kn(e)))}getChildConfig(r,e,t){return e.children?$({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?$({routes:e._loadedRoutes,injector:e._loadedInjector}):n_(r,e,t,this.urlSerializer).pipe(Ye(i=>i?this.configLoader.loadChildren(r,e).pipe(Ce(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):s_(e))):$({routes:[],injector:r})}};function __(n){n.sort((r,e)=>r.value.outlet===se?-1:e.value.outlet===se?1:r.value.outlet.localeCompare(e.value.outlet))}function v_(n){let r=n.value.routeConfig;return r&&r.path===""}function Wh(n){let r=[],e=new Set;for(let t of n){if(!v_(t)){r.push(t);continue}let i=r.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),e.add(i)):r.push(t)}for(let t of e){let i=Wh(t.children);r.push(new ot(t.value,i))}return r.filter(t=>!e.has(t))}function ph(n){return n.data||{}}function fh(n){return n.resolve||{}}function y_(n,r,e,t,i,o){return Ye(s=>f_(n,r,e,t,s.extractedUrl,i,o).pipe(X(({state:a,tree:u})=>be(I({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function b_(n,r){return Ye(e=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return $(e);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let v of jh(u))s.add(v);let a=0;return Qe(s).pipe(_i(u=>o.has(u)?C_(u,t,n,r):(u.data=Ds(u,u.parent,n).resolve,$(void 0))),Ce(()=>a++),js(1),Ye(u=>a===s.size?$(e):Bt))})}function jh(n){let r=n.children.map(e=>jh(e)).flat();return[n,...r]}function C_(n,r,e,t){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!Lh(i)&&(o[zr]=i.title),Jt(()=>(n.data=Ds(n,n.parent,e).resolve,S_(o,n,r,t).pipe(X(s=>(n._resolvedData=s,n.data=I(I({},n.data),s),null)))))}function S_(n,r,e,t){let i=_l(n);if(i.length===0)return $({});let o={};return Qe(i).pipe(Ye(s=>w_(n[s],r,e,t).pipe(ti(),Ce(a=>{if(a instanceof Fn)throw Ts(new Ui,a);o[s]=a}))),js(1),X(()=>o),ei(s=>Nh(s)?Bt:Hn(s)))}function w_(n,r,e,t){let i=Ln(r)??t,o=Vn(n,i),s=o.resolve?o.resolve(r,e):nt(i,()=>o(r,e));return Yt(s)}function fl(n){return Re(r=>{let e=n(r);return e?Qe(e).pipe(X(()=>r)):$(r)})}var Ll=(()=>{class n{buildTitle(e){let t,i=e.root;for(;i!==void 0;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(o=>o.outlet===se);return t}getResolvedTitleForRoute(e){return e.data[zr]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>b($h),providedIn:"root"})}return n})(),$h=(()=>{class n extends Ll{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}
11static \u0275fac=function(t){return new(t||n)(J(Do))};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),qr=new P("",{providedIn:"root",factory:()=>({})}),Xr=new P(""),zh=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=b(kc);loadComponent(e,t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return $(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=Yt(nt(e,()=>t.loadComponent())).pipe(X(Zh),Re(qh),Ce(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Wi(()=>{this.componentLoaders.delete(t)})),o=new Bs(i,()=>new j).pipe(Ps());return this.componentLoaders.set(t,o),o}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return $({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let o=Gh(t,this.compiler,e,this.onLoadEndListener).pipe(Wi(()=>{this.childrenLoaders.delete(t)})),s=new Bs(o,()=>new j).pipe(Ps());return this.childrenLoaders.set(t,s),s}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Gh(n,r,e,t){return Yt(nt(e,()=>n.loadChildren())).pipe(X(Zh),Re(qh),Ye(i=>i instanceof vc||Array.isArray(i)?$(i):Qe(r.compileModuleAsync(i))),X(i=>{t&&t(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(Xr,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ol),injector:o}}))}function x_(n){return n&&typeof n=="object"&&"default"in n}function Zh(n){return x_(n)?n.default:n}function qh(n){return $(n)}var Os=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>b(k_),providedIn:"root"})}return n})(),k_=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Xh=new P("");var Qh=new P(""),Yh=(()=>{class n{currentNavigation=Be(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new j;transitionAbortWithErrorSubject=new j;configLoader=b(zh);environmentInjector=b(it);destroyRef=b(ji);urlSerializer=b(Gr);rootContexts=b(Rn);location=b(je);inputBindingEnabled=b(As,{optional:!0})!==null;titleStrategy=b(Ll);options=b(qr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=b(Os);createViewTransition=b(Xh,{optional:!0});navigationErrorHandler=b(Qh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>$(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new ys(i)),t=i=>this.events.next(new bs(i));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;We(()=>{this.transitions?.next(be(I({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:t}))})}setupNavigations(e){return this.transitions=new Ue(null),this.transitions.pipe(ke(t=>t!==null),Re(t=>{let i=!1;return $(t).pipe(Re(o=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",Xe.SupersededByNewNavigation),Bt;this.currentTransition=t,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?be(I({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new Qt(o.id,this.urlSerializer.serialize(o.rawUrl),"",Pr.IgnoredSameUrlNavigation)),o.resolve(!1),Bt;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return $(o).pipe(Re(u=>(this.events.next(new Hi(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?Bt:Promise.resolve(u))),y_(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ce(u=>{t.targetSnapshot=u.targetSnapshot,t.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation.update(C=>(C.finalUrl=u.urlAfterRedirects,C));let v=new Br(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(v)}
11));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:u,extractedUrl:v,source:C,restoredState:S,extras:E}=o,D=new Hi(u,this.urlSerializer.serialize(v),C,S);this.events.next(D);let A=Fh(this.rootComponentType).snapshot;return this.currentTransition=t=be(I({},o),{targetSnapshot:A,urlAfterRedirects:v,extras:be(I({},E),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(U=>(U.finalUrl=v,U)),$(t)}else return this.events.next(new Qt(o.id,this.urlSerializer.serialize(o.extractedUrl),"",Pr.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Bt}),Ce(o=>{let s=new fs(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),X(o=>(this.currentTransition=t=be(I({},o),{guards:B0(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),t)),X0(this.environmentInjector,o=>this.events.next(o)),Ce(o=>{if(t.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Ts(this.urlSerializer,o.guardsResult);let s=new gs(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),ke(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",Xe.GuardRejected),!1)),fl(o=>{if(o.guards.canActivateChecks.length!==0)return $(o).pipe(Ce(s=>{let a=new _s(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Re(s=>{let a=!1;return $(s).pipe(b_(this.paramsInheritanceStrategy,this.environmentInjector),Ce({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Xe.NoDataFromResolver)}}))}),Ce(s=>{let a=new vs(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),fl(o=>{let s=a=>{let u=[];if(a.routeConfig?.loadComponent){let v=Ln(a)??this.environmentInjector;u.push(this.configLoader.loadComponent(v,a.routeConfig).pipe(Ce(C=>{a.component=C}),X(()=>{})))}for(let v of a.children)u.push(...s(v));return u};return Wn(s(o.targetSnapshot.root)).pipe(Hs(null),Pe(1))}),fl(()=>this.afterPreactivation()),Re(()=>{let{currentSnapshot:o,targetSnapshot:s}=t,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?Qe(a).pipe(X(()=>t)):$(t)}),X(o=>{let s=O0(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=t=be(I({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),t}),Ce(()=>{this.events.next(new Nr)}),P0(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),Pe(1),ut(new ct(o=>{let s=t.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ke(()=>!i&&!t.targetRouterState),Ce(()=>{this.cancelNavigationTransition(t,t.abortController.signal.reason+"",Xe.Aborted)}))),Ce({next:o=>{i=!0,this.lastSuccessfulNavigation=We(this.currentNavigation),this.events.next(new Xt(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),ut(this.transitionAbortWithErrorSubject.pipe(Ce(o=>{throw o}))),Wi(()=>{i||this.cancelNavigationTransition(t,"",Xe.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),ei(o=>{if(this.destroyed)return t.resolve(!1),Bt;if(i=!0,Bh(o))this.events.next(new Rt(t.id,this.urlSerializer.serialize(t.extractedUrl),o.message,o.cancellationCode)),V0(o)?this.events.next(new An(o.url,o.navigationBehaviorOptions)):t.resolve(!1);else{let s=new In(t.id,this.urlSerializer.serialize(t.extractedUrl),o,t.targetSnapshot??void 0);try{let a=nt(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof Fn){let{message:u,cancellationCode:v}=Ts(this.urlSerializer,a);this.events.next(new Rt(t.id,this.urlSerializer.serialize(t.extractedUrl),u,v)),this.events.next(new An(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(a)}}return Bt}))}))}cancelNavigationTransition(e,t,i){let o=new Rt(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=We(this.currentNavigation),i=t?.targetBrowserUrl??t?.extractedUrl;return e.toString()!==i?.toString()&&!t?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function E_(n){return n!==Lr}var Kh=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>b(D_),providedIn:"root"})}return n})(),Is=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},D_=(()=>{class n extends Is{static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Jh=(()=>
11{class n{urlSerializer=b(Gr);options=b(qr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=b(je);urlHandlingStrategy=b(Os);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Vt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,s=i??o;return s instanceof Vt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:i}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,i),this.routerState=e):this.rawUrlTree=i}routerState=Fh(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:()=>b(T_),providedIn:"root"})}return n})(),T_=(()=>{class n extends Jh{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate")})})}handleRouterEvent(e,t){e instanceof Hi?this.updateStateMemento():e instanceof Qt?this.commitTransition(t):e instanceof Br?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Nr?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Rt&&e.code!==Xe.SupersededByNewNavigation&&e.code!==Xe.Redirect?this.restoreHistory(t):e instanceof In?this.restoreHistory(t,!0):e instanceof Xt&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:t,id:i}){let{replaceUrl:o,state:s}=t;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=I(I({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=I(I({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=He(n)))(i||n)}})();static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Rl(n,r){n.events.pipe(ke(e=>e instanceof Xt||e instanceof Rt||e instanceof In||e instanceof Qt),X(e=>e instanceof Xt||e instanceof Qt?0:(e instanceof Rt?e.code===Xe.Redirect||e.code===Xe.SupersededByNewNavigation:!1)?2:1),ke(e=>e!==2),Pe(1)).subscribe(()=>{r()})}var M_={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},I_={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ze=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=b(Xs);stateManager=b(Jh);options=b(qr,{optional:!0})||{};pendingTasks=b(nc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=b(Yh);
11urlSerializer=b(Gr);location=b(je);urlHandlingStrategy=b(Os);injector=b(it);_events=new j;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=b(Kh);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=b(Xr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!b(As,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Kt;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let i=this.navigationTransitions.currentTransition,o=We(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(t,o),t instanceof Rt&&t.code!==Xe.Redirect&&t.code!==Xe.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof Xt)this.navigated=!0;else if(t instanceof An){let s=t.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(t.url,i.currentRawUrl),u=I({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||E_(i.source)},s);this.scheduleNavigation(a,Lr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}M0(t)&&this._events.next(t)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Lr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,i)=>{this.navigateToSyncWithBrowser(e,i,t)})}navigateToSyncWithBrowser(e,t,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=I({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,t,s,o).catch(u=>{this.disposed||this.injector.get(eo)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return We(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ol),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=t,v=u?this.currentUrlTree.fragment:s,C=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":C=I(I({},this.currentUrlTree.queryParams),o);break;case"preserve":C=this.currentUrlTree.queryParams;break;default:C=o||null}C!==null&&(C=this.removeEmptyProps(C));let S;try{let E=i?i.snapshot:this.routerState.snapshot.root;S=Th(E)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),S=this.currentUrlTree.root}return Mh(S,e,C,v??null)}navigateByUrl(e,t={skipLocationChange:!1}){let i=Mn(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Lr,null,t)}navigate(e,t={skipLocationChange:!1}){return A_(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(jn(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,t){let i;if(t===!0?i=I({},M_):t===!1?i=I({},I_):i=t,Mn(e))return ch(this.currentUrlTree,e,i);let o=this.parseUrl(e);return ch(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((t,[i,o])=>(o!=null&&(t[i]=o),t),{})}
11scheduleNavigation(e,t,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,v;s?(a=s.resolve,u=s.reject,v=s.promise):v=new Promise((S,E)=>{a=S,u=E});let C=this.pendingTasks.add();return Rl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(C))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(S=>Promise.reject(S))}static \u0275fac=function(t){return new(t||n)};static \u0275prov=M({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function A_(n){for(let r=0;r<n.length;r++)if(n[r]==null)throw new te(4008,!1)}var O_=new P("");function Vl(n,...r){return vi([{provide:Xr,multi:!0,useValue:n},[],{provide:vt,useFactory:L_,deps:[ze]},{provide:Sc,multi:!0,useFactory:R_},r.map(e=>e.\u0275providers)])}function L_(n){return n.routerState.root}function R_(){let n=b(de);return r=>{let e=n.get(Dt);if(r!==e.components[0])return;let t=n.get(ze),i=n.get(V_);n.get(P_)===1&&t.initialNavigation(),n.get(B_,null,{optional:!0})?.setUpPreloading(),n.get(O_,null,{optional:!0})?.init(),t.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var V_=new P("",{factory:()=>new j}),P_=new P("",{providedIn:"root",factory:()=>1});var B_=new P("");var xe=(()=>{let r=class r{constructor(){this.user_email=window.user_email,this.market_qrcode=window.market_qrcode,this.market_video=window.market_video,this.user_pass=window.user_pass,this.signup_sec=window.signup_sec,this.user_id=window.user_id,this.user_token=window.user_token,this.shareapp_code=window.shareapp_code,this.ip_address=window.ip_address,this.forwarded_id=window.forwarded_id,this.display_one_label=window.display_one_label,this.mmppreview=window.mmppreview,this.user_firstname=window.user_firstname,this.enable_mobile_website=window.enable_mobile_website,this.website_state_name=window.website_state_name,this.master_password=window.api_master_password}getmasterpassword(){return this.master_password}setmmppreview(t){this.mmppreview=t}getmmppreview(){return this.mmppreview}setMarketName(t){this.marketName=t}getMarketName(){return this.marketName}setmarketdarkcolor(t){this.marketdarkcolor=t}getmarketdarkcolor(){return this.marketdarkcolor}setmarketlightcolor(t){this.marketlightcolor=t}getmarketlightcolor(){return this.marketlightcolor}setmarket_title(t){this.market_title=t}getmarket_title(){return this.market_title}setmarket_code(t){this.market_code=t}getmarket_code(){return this.market_code}setplaystore(t){this.playstore=t}getplaystore(){return this.playstore}setappstore(t){this.appstore=t}getappstore(){return this.appstore}setwebsite_url(t){this.website_url=t}getwebsite_url(){return this.website_url}setwindowsApk(t){this.windows_apk=t}getwindowsApk(){return this.windows_apk}setMacApk(t){this.mac_apk=t}getMacApk(){return this.mac_apk}setuseremail(t){this.user_email=t}getuseremail(){return this.user_email}setmarket_qrcode(t){this.market_qrcode=t}getmarket_qrcode(){return this.market_qrcode}setmarket_video(t){this.market_video=t}getmarket_video(){return this.market_video}setuser_pass(t){this.user_pass=t}getuser_pass(){return this.user_pass}setsignup_sec(t){this.signup_sec=t}getsignup_sec(){return this.signup_sec}setuser_id(t){this.user_id=t}getuser_id(){return this.user_id}setuser_token(t){this.user_token=t}getuser_token(){return this.user_token}setshareapp_code(t){this.shareapp_code=t}getshareapp_code(){return this.shareapp_code}setip_address(t){this.ip_address=t}getip_address(){return this.ip_address}setforwarded_id(t){this.forwarded_id=t}getforwarded_id(){return this.forwarded_id}setdisplay_onelabel(t){this.display_one_label=t}getdisplay_onelabel(){return this.display_one_label}setuser_firstname(t){this.user_firstname=t}getuser_firstname(){return this.user_firstname}setenable_mobile_website(t){this.enable_mobile_website=t}getenable_mobile_website(){return this.enable_mobile_website}setWebsite_countyName(t){this.website_state_name=t}getWebsite_countyName(){return this.website_state_name}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var w8=window.location.hostname,x8=`${window.location.host}${window.location.pathname}${window.location.search}`,Bl=()=>{var n=window.location.hostname;return n=n.replace(/^www\./,""),window.location.hostname==="dev.firstamagent.com"?"https://dev.firstamagent.com/api-fam":"https://"+n+"/api4"},U_=()=>"https://dev-webapp.palmagent.com/api4";function Pl(){return window.location.protocol.replace(":","")}function em(){return window.location.hostname}var Bn={local:{apiBaseUrl:"https://dev.palmagent.com/api4",config_mode:"local",bucket_path:"https://d1zjpfawzj1ph.cloudfront.net",widget_url:"https://dev-widgets.palmagent.com",platform:"webapp",device_id:"1234",release_number:"1.6",app_version:"4.6",sub_platform:"webapp",a
11pp_build_date:"2019-08-19",http_protocol:Pl(),site_path:"localhost:4200",site_url:""},staging:{apiBaseUrl:U_(),config_mode:"staging",bucket_path:"https://d1zjpfawzj1ph.cloudfront.net",widget_url:"https://dev-widgets.palmagent.com",platform:"webapp",device_id:"1234",release_number:"1.7.1.4",app_version:"4.6",sub_platform:"webapp",app_build_date:"2019-08-19",http_protocol:Pl(),site_path:em(),site_url:""},master:{apiBaseUrl:Bl(),config_mode:"live",bucket_path:"https://d2w998roo7cij6.cloudfront.net",widget_url:"https://widgets.palmagent.com",platform:"webapp",device_id:"1234",release_number:"1.6",app_version:"4.6",sub_platform:"webapp",app_build_date:"2019-08-19",http_protocol:Pl(),site_path:em(),site_url:""}};var Ie=(()=>{let r=class r{constructor(t){this.http=t,this.user_agent="",this.get_os="",this.get_browser="",this.user_email="",this.market_code="",this.user_token="",this.user_sso_code="",this.apiUrl=`${this.getConfig().apiBaseUrl}/`,this.widgetUrl=`${this.getConfig().widget_url}/`,this.bucketUrl=`${this.getConfig().bucket_path}/`,this.config_mode=`${this.getConfig().config_mode}`,this.release_number=`${this.getConfig().release_number}`,this.app_version=`${this.getConfig().app_version}`,this.sub_platform=`${this.getConfig().sub_platform}`,this.app_build_date=`${this.getConfig().app_build_date}`,this.platform=`${this.getConfig().platform}`,this.device_id=`${this.getConfig().device_id}`,this.http_protocol=`${this.getConfig().http_protocol}`,this.site_path=`${this.getConfig().site_path}`}getConfig(){let t=this.getEnvironment();return Bn[t]}getEnvironment(){return window.location.hostname==="dev.firstamagent.com"?"master":window.location.hostname.includes("dev")||window.location.hostname.includes("localhost")?"staging":"master"}gethttp_protocol(){return this.http_protocol}getsite_path(){return this.site_path}GetApiUrl(){return this.getEnvironment()==="master"?Bl()+"/":this.apiUrl}WidgetUrl(){return this.widgetUrl}BucketUrl(){return this.bucketUrl}getconfigmode(){return this.config_mode}getplatform(){return this.platform}getdevice_id(){return this.device_id}getsub_platform(){return this.sub_platform}getapp_version(){return this.app_version}getrelease_number(){return this.release_number}getapp_build_date(){return this.app_build_date}getOS(t){let i="Unknown";return t.match(/windows nt 10/i)?i="Windows 10":t.match(/windows nt 6.3/i)?i="Windows 8.1":t.match(/windows nt 6.2/i)?i="Windows 8":t.match(/windows nt 6.1/i)?i="Windows 7":t.match(/windows nt 6.0/i)?i="Windows Vista":t.match(/windows nt 5.2/i)?i="Windows Server 2003/XP x64":t.match(/windows nt 5.1/i)||t.match(/windows xp/i)?i="Windows XP":t.match(/windows nt 5.0/i)?i="Windows 2000":t.match(/windows me/i)?i="Windows ME":t.match(/win98/i)?i="Windows 98":t.match(/win95/i)?i="Windows 95":t.match(/win16/i)?i="Windows 3.11":t.match(/wmac/i)?i="wmac":t.match(/macintosh|mac os x/i)?i="Mac OS X":t.match(/mac_powerpc/i)?i="Mac OS 9":t.match(/iphone/i)?i="iPhone":t.match(/ipod/i)?i="iPod":t.match(/ipad/i)?i="iPad":t.match(/ubuntu/i)?i="Ubuntu":t.match(/blackberry/i)?i="BlackBerry":t.match(/android/i)?i="Android":t.match(/linux/i)?i="Linux":t.match(/webos/i)&&(i="Mobile"),i}getBrowser(t){let i="Unknown";return t.match(/chrome/i)?i="Chrome":t.match(/firefox/i)?i="Firefox":t.match(/safari/i)?i="Safari":t.match(/opera\//i)?i="Opera":t.match(/edge/i)?i="Edge":t.match(/msie/i)?i="Internet Explorer":t.match(/netscape/i)?i="Netscape":t.match(/maxthon/i)?i="Maxthon":t.match(/konqueror/i)?i="Konqueror":t.match(/mobile/i)&&(i="Handheld Browser"),i}getDevicePlatform(){let t=navigator.userAgent.toLowerCase();return/iphone|ipad|ipod/.test(t)?"iPhone":/android/.test(t)?"Android":/mac/.test(t)?"Mac":"Desktop"}SetCookieApiCallFunction(t,i,o){this.user_agent=navigator.userAgent,this.get_os=this.getOS(this.user_agent),this.get_browser=this.getBrowser(this.user_agent),this.release_number=this.getrelease_number(),o!=null&&o!=""&&(o.user_email!=""&&(this.user_email=o.user_email),o.market_code!=""&&(this.market_code=o.market_code),o.token!=""&&(this.user_token=o.token));let s=new St({Authorization:`${this.user_token}`,app_build_date:"2022-05-12",sub_platform:"webapp",market_code:`${this.market_code}`,user_email:`${this.user_email}`,app_version:"4.6.1",release_number:`${this.release_number}`,device_os:`${this.get_os}`,device_id:"1234",device_model:`${this.get_browser}
11`,platform:"webapp",app_build_market_code:"PA"});return this.http.post(t,i,{headers:s,observe:"response"})}ApiCallFunction(t,i,o){this.user_agent=navigator.userAgent,this.get_os=this.getOS(this.user_agent),this.get_browser=this.getBrowser(this.user_agent),o!=null&&o!=""&&(o.user_email!=""&&(this.user_email=o.user_email),o.market_code!=""&&(this.market_code=o.market_code),o.token!=""&&(this.user_token=o.token),o.sso_code!=""&&(this.user_sso_code=o.token));let s=new St({"Content-Type":"application/json",authorization:`${this.user_token}`,sso_code:`${this.user_sso_code}`,app_build_date:this.app_build_date,sub_platform:this.sub_platform,market_code:`${this.market_code}`,user_id:"",user_email:`${this.user_email}`,app_version:this.app_version,release_number:t.indexOf("get_market_area_details")!=-1&&(this.market_code=="FIA"||this.market_code=="FIJ")?"1.8.6.3":this.release_number,device_os:`${this.get_os}`,device_id:this.device_id,device_model:`${this.get_browser}`,platform:this.platform,push_token:"",app_build_market_code:`${this.market_code}`});return this.http.post(t,i,{headers:s,observe:"response"})}getUserCountryCode(){return this.http.get("https://ipapi.co/json/")}};r.\u0275fac=function(i){return new(i||r)(J(li))},r.\u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var Nn=(()=>{let r=class r{constructor(){this.switchAreaChangeSource=new j,this.LoginChangeSource=new j,this.ssoSignupSource=new j,this.enableLoginBtnSource=new j,this.resetLoginSource=new j,this.switchAreaChange$=this.switchAreaChangeSource.asObservable(),this.LoginChange$=this.LoginChangeSource.asObservable(),this.ssoSignup$=this.ssoSignupSource.asObservable(),this.enableLoginBtn$=this.enableLoginBtnSource.asObservable(),this.resetLogin$=this.resetLoginSource.asObservable()}triggerSwitchAreaChange(){this.switchAreaChangeSource.next()}triggerloginChange(){this.LoginChangeSource.next()}triggerSSOSignup(t){this.ssoSignupSource.next(t)}triggerEnableLoginBtn(){this.enableLoginBtnSource.next()}triggerResetLogin(){this.resetLoginSource.next()}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var H_=["InvalidEmailModal"],W_=["ShareAppModal"],j_=["EmailFocus"],$_=["PasswordFocus"],z_=["ConPasswordFocus"],G_=["FirstName"],Z_=["LastName"],q_=["Company"],X_=["PhoneNo"],Q_=["RepCheckBox"],Y_=(n,r,e,t)=>({"toast-container":!0,toastalertred:n,toastalertyellow:r,toastalertgreen:e,hide:t}),pi=n=>({"clicked-class":n}),tm=n=>({"standalone-input-error":n}),im=n=>({"standalone-input-error-border":n}),nm=(n,r)=>({"background-color":n,color:r}),rm=n=>({color:n});function K_(n,r){n&1&&(l(0,"div"),y(1,"div",62)(2,"span",63),c())}function J_(n,r){if(n&1&&(l(0,"div",64),f(1),c()),n&2){let e=p();g("ngClass",ao(2,Y_,e.ToastApiError,e.ToastApiWarning,e.ToastApiSuccess,!e.toastalertshow)),d(),N(" ",e.toastmessage," ")}}function e1(n,r){if(n&1){let e=T();l(0,"div",65),y(1,"div",66),c(),l(2,"div",67)(3,"button",68),_("click",function(){h(e);let i=p();return m(i.EmailProceedFun())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","yesproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","yesproceed"))}),f(4,"Yes, Proceed"),c(),l(5,"button",69),_("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","editproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","editproceed"))}),f(6,"Edit"),c()()}if(n&2){let e=p();d(),g("innerHTML",e.EmailContent,Et),d(2),x(e.ProceedBtnstyle),d(2),x(e.EditBtnstyle)}}function t1(n,r){if(n&1){let e=T();l(0,"div",65)(1,"div",70),f(2),c()(),l(3,"div",67)(4,"button",68),_("click",function(){h(e);let i=p();return m(i.Shareapp_proceed())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","yesSwproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","yesSwproceed"))}),f(5,"Yes, Proceed"),c(),l(6,"button",71),_("click",function(){h(e);let i=p();return m(i.Shareapp_proceedEdit())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","editswproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","editswproceed"))}),f(7,"No"),c()()}if(n&2){let e=p();d(2),B(e.ShareAppContent),d(2),x(e.SwtBtnstyle),d(2),x(e.EditSwBtnstyle)}}function i1(n,r){if(n&1){let e=T();l(0,"div",72)(1,"div",73)(2,"div",74)(3,"div",75)(4,"div",76),_("click",function(){h(e);let i=p();return m(i.ClosecanadaPopupFun())}),he(),l(5,"svg",77),y(6,"path",78),c()(),pe(),l(7,"div",79),f(8),c(),l(9,"div",80)(10,"div",81),f(11),c(),y(12,"div",82),l(13,"div",83)(14,"div",84)(15,"input",85),Z("ngModelChange",function(i){h(e);let o=p();
11return G(o.canadalawfrim,i)||(o.canadalawfrim=i),m(i)}),c(),y(16,"div",82),l(17,"div",86)(18,"button",87),_("click",function(){h(e);let i=p();return m(i.CanadaOfficeLayerFun())}),f(19,"Submit"),c()()()()()()()()()}if(n&2){let e=p();d(8),B(e.titleofcanada),d(3),B(e.Canadacontent),d(4),z("ngModel",e.canadalawfrim),g("ngClass",ie(4,pi,e.titlecompanyvalidate))}}function n1(n,r){if(n&1){let e=T();l(0,"input",104),Z("ngModelChange",function(i){h(e);let o=p().index,s=p(3);return G(s.standaloneInputValues[o],i)||(s.standaloneInputValues[o]=i),m(i)}),_("input",function(){h(e);let i=p().index,o=p(3);return m(o.standaloneValidationErrors[i]=!1)}),c()}if(n&2){let e=p(),t=e.$implicit,i=e.index,o=p(3);g("ngClass",ie(3,tm,o.standaloneValidationErrors[i]))("placeholder",t.pleaseholder),z("ngModel",o.standaloneInputValues[i])}}function r1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function o1(n,r){if(n&1){let e=T();l(0,"select",105),Z("ngModelChange",function(i){h(e);let o=p().index,s=p(3);return G(s.standaloneInputValues[o],i)||(s.standaloneInputValues[o]=i),m(i)}),_("change",function(){h(e);let i=p().index,o=p(3);return m(o.standaloneValidationErrors[i]=!1)}),l(1,"option",106),f(2),c(),k(3,r1,2,2,"option",107),c()}if(n&2){let e=p(),t=e.$implicit,i=e.index,o=p(3);g("ngClass",ie(4,tm,o.standaloneValidationErrors[i])),z("ngModel",o.standaloneInputValues[i]),d(2),B(t.pleaseholder),d(),g("ngForOf",t.options)}}function s1(n,r){if(n&1){let e=T();l(0,"div",109)(1,"input",110),Z("ngModelChange",function(i){h(e);let o=p().index,s=p(3);return G(s.standaloneInputValues[o],i)||(s.standaloneInputValues[o]=i),m(i)}),_("change",function(){h(e);let i=p().index,o=p(3);return m(o.standaloneValidationErrors[i]=!1)}),c(),l(2,"label",111),f(3),c()()}if(n&2){let e=p(),t=e.$implicit,i=e.index,o=p(3);g("ngClass",ie(5,im,o.standaloneValidationErrors[i])),d(),g("id","standalone_checkbox_"+i),z("ngModel",o.standaloneInputValues[i]),d(),g("for","standalone_checkbox_"+i),d(),B(t.pleaseholder)}}function a1(n,r){if(n&1){let e=T();l(0,"div",114)(1,"input",115),Z("ngModelChange",function(i){h(e);let o=p(2).index,s=p(3);return G(s.standaloneInputValues[o],i)||(s.standaloneInputValues[o]=i),m(i)}),_("change",function(){h(e);let i=p(2).index,o=p(3);return m(o.standaloneValidationErrors[i]=!1)}),c(),l(2,"label",116),f(3),c()()}if(n&2){let e=r.$implicit,t=r.index,i=p(2).index,o=p(3);d(),g("name","standalone_radio_"+i)("id","standalone_radio_"+i+"_"+t)("value",e.value),z("ngModel",o.standaloneInputValues[i]),d(),g("for","standalone_radio_"+i+"_"+t),d(),B(e.name)}}function l1(n,r){if(n&1&&(l(0,"div",112),k(1,a1,4,6,"div",113),c()),n&2){let e=p(),t=e.$implicit,i=e.index,o=p(3);g("ngClass",ie(2,im,o.standaloneValidationErrors[i])),d(),g("ngForOf",t.options)}}function c1(n,r){if(n&1&&(l(0,"div",98)(1,"label",99),f(2),c(),k(3,n1,1,5,"input",100)(4,o1,4,6,"select",101)(5,s1,4,7,"div",102)(6,l1,2,4,"div",103),c()),n&2){let e=r.$implicit;d(2),B(e.label),d(),g("ngIf",e.inputtype==="Input Text Box"),d(),g("ngIf",e.inputtype==="Select"),d(),g("ngIf",e.inputtype==="Check Box"),d(),g("ngIf",e.inputtype==="Radio")}}function d1(n,r){if(n&1){let e=T();l(0,"button",119),_("click",function(){h(e);let i=p().$implicit,o=p(3);return m(o.StandalonePopupBtnAction(i))}),f(1),c()}if(n&2){let e=p().$implicit;g("ngStyle",bt(2,nm,e.bg,e.color)),d(),B(e.name)}}function u1(n,r){if(n&1){let e=T();l(0,"div",120),_("click",function(){h(e);let i=p().$implicit,o=p(3);return m(o.StandalonePopupBtnAction(i))}),f(1),c()}if(n&2){let e=p().$implicit;g("ngStyle",ie(2,rm,e.color)),d(),B(e.name)}}function h1(n,r){if(n&1&&(l(0,"div"),k(1,d1,2,5,"button",117)(2,u1,2,4,"div",118),c()),n&2){let e=r.$implicit;d(),g("ngIf",e.bg),d(),g("ngIf",!e.bg)}}function m1(n,r){if(n&1&&(l(0,"div")(1,"div",93),f(2),c(),l(3,"div",94),k(4,c1,7,5,"div",95),l(5,"div",96),k(6,h1,3,2,"div",97),c()()()),n&2){let e=p(2);d(2),B(e.standalonePopupTitle),d(2),g("ngForOf",e.standalonePopupInputs),d(2),g("ngForOf",e.standalonePopupButtons)}}function p1(n,r){if(n&1){let e=T();l(0,"button",119),_("click",function(){h(e);let i=p().$implicit,o=p(3);return m(o.StandaloneConfirmBtnAction(i))}),f(1),c()}if(n&2){let e=p().$implicit;g("ngStyle",bt(2,nm,e.bg,e.color)),d(),B(e.name)}}function f1(n,r){if(n&1){let e=T();l(0,"div",120),_("click",function(){h(e);let i=p().$implicit,o=p(3);return m(o.StandaloneConfirmBtnAction(i))}),f(1),c()}if(n&2){let e=p().$implicit;g("ngStyle",ie(2,rm,e.color)),d(),B(e.name)}}function g1(n,r){if(n&1&&(l(0,"div"),k(1,p1,2,5,"button",117)(2,f1,2,4,"div",118),c()),n&2){let e=r.$implicit;d(),g("ngIf",e.bg),d(),g("ngIf",!e.bg)}}function _1(n,r){if(n&1&&(l(0,"div")(1,"div",121),f(2),c(),y(3,"div",122),l(4,"div",96),k(5,g1,3,2,"div",97),c()()),n&2){let e=p(2);d(2),B(e.standaloneConfirmTitle),d(),g("innerHTML",e.standaloneConfirmMessage,Et),d(2),g("ngForOf",e.standaloneConfirmButtons)}}function v1(n,r){if(n&1&&(l(0,"div",72)(1,"div",88)(2,"div",74)(3,"div",89)(4,"div",90)(5,"div",91),y(6,"img",92),c()(),k(7,m1,7,3,"div",18)(8,_1,6,3,"div",18),c()()()()),n&2){let e=p();d(7),g("ngIf",!e.standaloneConfirmation),d(),g("ngIf",e.standaloneConfirmation)}}function y1(n,r){if(n&1){let e=T();l(0,"div",72)(1,"div",88)(2,"div",123)(3,"div",75)(4,"div",124),_("click",function(){h(e);let i=p();return m(i.CloseAuthHelpPopupFun())}),he(),l(5,"svg",77),y(6,"path",78),c()(),pe(),l(7,"div",125),he(),l(8,"svg",126)(9,"g",127),y(10,"path",128),c()()(),pe(),l(11,"div",80)(12,"div",129)(13,"div",130),f(14," What is 2-Factor Authentication? "),c(),l(15,"div",131),f(16," Two-factor authentication is a security process that requires users to provide two different forms of identification before accessing their accounts, enhancing protection against unauthorized access. "),c(),l(17,"div",132),f(18," How to enter your 2FA Code: "),c(),l(19,"div",133)(20,"ul",134)(21,"li")(22,"span",135),f(23,"Check Your Device -"),c(),f(24," The code is sent via text message. Make sure your phone number is entered correctly on the \u2018user information\u2019 screen. "),c(),l(25,"li")(26,"span",135),f(27,"Enter the Code Accurately -"),c(),f(28," 2FA codes are time-sensitive. Ensure there are no accidental typos before entering. "),c(),l(29,"li")(30,"span",135),f(31,"User the Latest Co
11de -"),c(),f(32," If you requested multiple codes, enter the most recent one. "),c(),l(33,"li")(34,"span",135),f(35,"Wait for the Code to Arrive -"),c(),f(36," Sometimes, delays happen. If you don\u2019t receive it within a minute, try resending the code. "),c()()(),l(37,"div",136),f(38," Still having trouble? "),l(39,"a",137)(40,"span",138),f(41,"Contact Support "),c()(),f(42," and we\u2019ll assist you. "),c()()()()()()()}if(n&2){let e=p();d(39),g("href",e.SupportLink,Y)}}function b1(n,r){n&1&&y(0,"img",202),n&2&&g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png")}function C1(n,r){if(n&1&&(l(0,"div",203),f(1),y(2,"img",204),c()),n&2){let e=p(2);d(),N("",e.TTBrandStateName," ")}}function S1(n,r){if(n&1&&(l(0,"div",205)(1,"div",206),f(2),c(),l(3,"div",207),f(4),c(),l(5,"div",208),f(6),c()()),n&2){let e=p(2);d(2),N(" ",e.rep_name," "),d(2),N(" ",e.rep_email," "),d(2),N(" ",e.rep_phone," ")}}function w1(n,r){n&1&&(l(0,"div",209),y(1,"img",210),c())}function x1(n,r){n&1&&(l(0,"span",211),f(1,"ONE"),c())}function k1(n,r){n&1&&(l(0,"div",227),f(1," Create a password "),c())}function E1(n,r){if(n&1){let e=T();l(0,"div",216)(1,"input",228,3),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.Password,i)||(o.Password=i),m(i)}),_("keypress",function(i){h(e);let o=p(3);return m(o.LoginEnterFun(i,"CreateAcc"))})("input",function(i){h(e);let o=p(3);return m(o.onInputChange(i))})("focusout",function(){h(e);let i=p(3);return m(i.InputTrackingFun("password"))}),c()()}if(n&2){let e=p(3);d(),z("ngModel",e.Password),g("ngClass",ie(2,pi,e.password))}}function D1(n,r){if(n&1&&(l(0,"div",231),f(1),c()),n&2){let e=p(4);d(),B(e.error)}}function T1(n,r){if(n&1){let e=T();l(0,"div",216)(1,"input",229,4),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.ConfPassword,i)||(o.ConfPassword=i),m(i)}),_("keypress",function(i){h(e);let o=p(3);return m(o.LoginEnterFun(i,"CreateAcc"))})("input",function(i){h(e);let o=p(3);return m(o.onInputChange(i))}),c(),k(3,D1,2,1,"div",230),c()}if(n&2){let e=p(3);d(),z("ngModel",e.ConfPassword),g("ngClass",ie(3,pi,e.confpassword)),d(2),g("ngIf",e.errordis)}}function M1(n,r){if(n&1){let e=T();l(0,"div",212)(1,"div",213),f(2," Create an Account "),c(),k(3,k1,2,0,"div",214),l(4,"div",215)(5,"div",216)(6,"input",217,2),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.user_email,i)||(o.user_email=i),m(i)}),_("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"CreateAcc"))})("paste",function(i){h(e);let o=p(2);return m(o.RemoveMailToCharFun(i))})("input",function(i){h(e);let o=p(2);return m(o.onInputChange(i))})("focusout",function(){h(e);let i=p(2);return m(i.InputTrackingFun("email"))}),c()(),k(8,E1,3,4,"div",218)(9,T1,4,5,"div",218),l(10,"div",219)(11,"input",220),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.useragree,i)||(o.useragree=i),m(i)}),c(),l(12,"div",221),_("click",function(){h(e);let i=p(2);return m(i.SelectCheckBox())}),y(13,"img",222),c(),l(14,"span",223),f(15,"I agree to "),l(16,"a",224),f(17,"PalmAgent terms"),c()()(),l(18,"div",225)(19,"button",226),_("click",function(){h(e);let i=p(2);return i.CreateAccNext(),m(i.InputTrackingFun("signup"))}),f(20,"Next"),c()()()()}if(n&2){let e=p(2);d(3),g("ngIf",!e.isSSOSignup),d(3),z("ngModel",e.user_email),g("ngClass",ie(11,pi,e.email))("readonly",e.isSSOSignup),d(2),g("ngIf",!e.isSSOSignup),d(),g("ngIf",!e.isSSOSignup),d(2),z("ngModel",e.useragree),d(2),g("src",e.SelectCheckImg,Y),d(3),g("href",e.Terms,Y),d(3),x(e.DownloadStyles)}}function I1(n,r){if(n&1){let e=T();l(0,"div",232)(1,"div",213),f(2," Welcome back! "),c(),l(3,"div",227),f(4," Choose where you'd like to go "),c(),l(5,"div",216)(6,"button",233),_("click",function(){h(e);let i=p(2);return m(i.WebAppLoginFun(i.AppLoginLink,"ONEAPPLogin"))})("mouseover",function(){h(e);let i=p(2);return m(i.AppLogHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p(2);return m(i.AppLogHoverBtn("leave"))}),f(7),c()(),l(8,"div",216)(9,"button",233),_("click",function(){h(e);let i=p(2);return m(i.WebAppLoginFun(i.DashboardLoginLink,"DashboardLogin"))})("mouseover",function(){h(e);let i=p(2);return m(i.DashboardLogHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p(2);return m(i.DashboardLogHoverBtn("leave"))}),f(10),c()()()}if(n&2){let e=p(2);d(6),x(e.AppStyles),d(),B(e.AppLogin),d(2),x(e.DashboardStyles),d(),B(e.DashboardLogin)}}function A1(n,r){if(n&1){let e=T();l(0,"button",233),_("click",function(){h(e);let i=p(3);return m(i.SwitchUserFun())})("mouseover",function(){h(e);let i=p(3);return m(i.SwitchHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p(3);return m(i.SwitchHoverBtn("leave"))}),f(1),c()}if(n&2){let e=p(3);x(e.SwitchStyles),d(),B(e.switchuserto)}}function F1(n,r){if(n&1){let e=T();l(0,"div",232)(1,"div",213),f(2," Welcome back! "),c(),l(3,"div",227),f(4),c(),l(5,"div",216)(6,"button",233),_("click",function(){h(e);let i=p(2);return m(i.LoginNext())})("mouseover",function(){h(e);let i=p(2);return m(i.SubmitHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p(2);return m(i.SubmitHoverBtn("leave"))}),f(7,"ENTER DIFFERENT EMAIL"),c()(),l(8,"div",216),k(9,A1,2,3,"button",234),c(),l(10,"div",216)(11,"button",233),_("click",function(){h(e);let i=p(2);
11return m(i.SwitchMarketFun(i.LoginToMarket))})("mouseover",function(){h(e);let i=p(2);return m(i.SwitchLogHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p(2);return m(i.SwitchLogHoverBtn("leave"))}),f(12),c()()()}if(n&2){let e=p(2);d(4),N(" ",e.switchusermsg," "),d(2),x(e.EmailBtn),d(3),g("ngIf",e.market_code!="GC"),d(2),x(e.SwitchLogStyles),d(),B(e.switchuserlogin)}}function O1(n,r){if(n&1){let e=T();l(0,"div",232)(1,"div",213),f(2," Welcome back! "),c(),y(3,"div",235),l(4,"div",216)(5,"button",236),_("click",function(){h(e);let i=p(2);return m(i.CloseSignup())}),f(6,"Ok"),c()()()}if(n&2){let e=p(2);d(3),g("innerHTML",e.InactiveUserMsg,Et),d(2),x(e.SwitchStyles)}}function L1(n,r){if(n&1){let e=T();l(0,"div",232)(1,"div",213),f(2," Request Received "),c(),y(3,"div",235),l(4,"div",216)(5,"button",236),_("click",function(){h(e);let i=p(2);return m(i.CloseSignup())}),f(6,"Ok"),c()()()}if(n&2){let e=p(2);d(3),g("innerHTML",e.PendingApprovalMsg,Et),d(2),x(e.SwitchStyles)}}function R1(n,r){if(n&1){let e=T();l(0,"div",232)(1,"div",213),f(2," Welcome back! "),c(),l(3,"div",237),f(4),c(),l(5,"div",216)(6,"button",236),_("click",function(){h(e);let i=p(2);return m(i.CloseSignup())}),f(7,"Ok"),c()()()}if(n&2){let e=p(2);d(4),N(" ",e.SwtichSuccessMsg," "),d(2),x(e.SwitchStyles)}}function V1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.dial_code+"_"+e.code),d(),Tt(" ",e.flag," ",e.dial_code," ")}}function P1(n,r){if(n&1){let e=T();l(0,"select",248),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.selectedCountry,i)||(o.selectedCountry=i),m(i)}),k(1,V1,2,3,"option",107),c()}if(n&2){let e=p(3);z("ngModel",e.selectedCountry),d(),g("ngForOf",e.country_array)}}function B1(n,r){if(n&1){let e=T();l(0,"div",249)(1,"button",250),_("click",function(){h(e);let i=p(3);return i.UserInfoNext(),m(i.InputTrackingFun("user_info"))}),f(2,"Next"),c()()}if(n&2){let e=p(3);d(),x(e.MarketStylesBtnUser)}}function N1(n,r){if(n&1){let e=T();l(0,"div",249)(1,"button",251),_("click",function(){h(e);let i=p(3);return m(i.ShareAppNext())}),f(2,"Next"),c()()}if(n&2){let e=p(3);d(),x(e.MarketStylesBtn)}}function U1(n,r){if(n&1){let e=T();l(0,"div",238)(1,"div",239),f(2," Getting Closer! "),c(),l(3,"div",240),f(4," Enter some more info here "),c(),l(5,"div",215)(6,"div",216)(7,"input",241,5),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.user_firstname,i)||(o.user_firstname=i),m(i)}),_("input",function(){h(e);let i=p(2);return m(i.OnchangeBtn())})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"UserInfo"))})("focusout",function(){h(e);let i=p(2);return m(i.InputTrackingFun("first_name"))}),c()(),l(9,"div",216)(10,"input",242,6),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.user_lastname,i)||(o.user_lastname=i),m(i)}),_("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"UserInfo"))})("input",function(){h(e);let i=p(2);return m(i.OnchangeBtn())})("focusout",function(){h(e);let i=p(2);return m(i.InputTrackingFun("last_name"))}),c()(),l(12,"div",216)(13,"input",243,7),Z("ngModelChange",function(i){h(e);let o=p(2);
11return G(o.user_company,i)||(o.user_company=i),m(i)}),_("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"UserInfo"))})("input",function(){h(e);let i=p(2);return m(i.OnchangeBtn())})("focusout",function(){h(e);let i=p(2);return m(i.InputTrackingFun("company"))}),c()(),l(15,"div",244),k(16,P1,2,2,"select",245),l(17,"input",246,8),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.user_phone,i)||(o.user_phone=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.validateNumberInput(i),m(o.OnchangeBtn())})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"UserInfo"))})("paste",function(i){h(e);let o=p(2);return m(o.PastePhnNumber(i))})("focusout",function(){h(e);let i=p(2);return m(i.InputTrackingFun("phone"))}),c()(),k(19,B1,3,2,"div",247)(20,N1,3,2,"div",247),c()()}if(n&2){let e=p(2);d(7),z("ngModel",e.user_firstname),g("ngClass",ie(11,pi,e.firstname)),d(3),z("ngModel",e.user_lastname),g("ngClass",ie(13,pi,e.lastname)),d(3),z("ngModel",e.user_company),g("ngClass",ie(15,pi,e.company)),d(3),g("ngIf",e.CountryCodeShow),d(),z("ngModel",e.user_phone),g("ngClass",ie(17,pi,e.phone)),d(2),g("ngIf",e.UserInfoDis),d(),g("ngIf",e.ShareAppDis)}}function H1(n,r){if(n&1&&(l(0,"span"),f(1,"Remaining time:"),l(2,"strong",267),f(3),Xi(4,"number"),Xi(5,"number"),c()()),n&2){let e=p(3);d(3),Tt("",Qi(4,2,e.minutes,"2.0"),":",Qi(5,5,e.seconds,"2.0"),"s")}}function W1(n,r){if(n&1){let e=T();l(0,"div",268),f(1,"Didn't receive the OTP? "),l(2,"span",269),_("click",function(){h(e);let i=p(3);return m(i.ResendAuthOTPFun())}),f(3,"Resend"),c()()}}function j1(n,r){if(n&1){let e=T();l(0,"div",238)(1,"div",252),_("click",function(){h(e);let i=p(2);return m(i.TwoFactorAuthHelpFun())}),l(2,"div",253),f(3,"Help"),c()(),l(4,"div",213),f(5),c(),l(6,"div",254),f(7),c(),l(8,"div",232)(9,"div",255)(10,"input",256,9),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.OTPVerifyOneVal,i)||(o.OTPVerifyOneVal=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.InsertOTPFun(i,"OTPVerifyTwo"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p(2);return m(o.RemoveOTPFun(i,null))})("paste",function(i){h(e);let o=p(2);return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(12,"input",257,10),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.OTPVerifyTwoVal,i)||(o.OTPVerifyTwoVal=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.InsertOTPFun(i,"OTPVerifyThree"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p(2);return m(o.RemoveOTPFun(i,"OTPVerifyOne"))})("paste",function(i){h(e);let o=p(2);return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(14,"input",258,11),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.OTPVerifyThreeVal,i)||(o.OTPVerifyThreeVal=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.InsertOTPFun(i,"OTPVerifyFour"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p(2);return m(o.RemoveOTPFun(i,"OTPVerifyTwo"))})("paste",function(i){h(e);let o=p(2);return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(16,"input",259,12),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.OTPVerifyFourVal,i)||(o.OTPVerifyFourVal=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.InsertOTPFun(i,"OTPVerifyFive"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p(2);return m(o.RemoveOTPFun(i,"OTPVerifyThree"))})("paste",function(i){h(e);let o=p(2);return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(18,"input",260,13),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.OTPVerifyFiveVal,i)||(o.OTPVerifyFiveVal=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.InsertOTPFun(i,"OTPVerifySix"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p(2);return m(o.RemoveOTPFun(i,"OTPVerifyFour"))})("paste",function(i){h(e);let o=p(2);return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p(2);
11return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(20,"input",261,14),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.OTPVerifySixVal,i)||(o.OTPVerifySixVal=i),m(i)}),_("input",function(i){h(e);let o=p(2);return o.InsertOTPFun(i,null),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p(2);return m(o.RemoveOTPFun(i,"OTPVerifyFive"))})("paste",function(i){h(e);let o=p(2);return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),c()(),l(22,"div",262),k(23,H1,6,8,"span",18),c(),l(24,"div",263)(25,"button",264),_("click",function(){h(e);let i=p(2);return m(i.VerifyAuthBackFun())}),f(26,"\u2190"),c(),l(27,"button",265),_("click",function(){h(e);let i=p(2);return i.VerifyAuthCodeOTPFun(),m(i.InputTrackingFun("verify_auth"))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),f(28),c()(),k(29,W1,4,0,"div",266),c()()}if(n&2){let e=p(2);d(5),N(" ",e.AuthTitle," "),d(2),N(" ",e.AuthenticatorMsg," "),d(3),z("ngModel",e.OTPVerifyOneVal),d(2),z("ngModel",e.OTPVerifyTwoVal),d(2),z("ngModel",e.OTPVerifyThreeVal),d(2),z("ngModel",e.OTPVerifyFourVal),d(2),z("ngModel",e.OTPVerifyFiveVal),d(2),z("ngModel",e.OTPVerifySixVal),d(3),g("ngIf",e.timer>0),d(2),g("ngStyle",e.VerifybackOTP),d(2),g("ngStyle",e.VerifyNoOTP),d(),B(e.AuthBTN),d(),g("ngIf",e.timer===0)}}function $1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function z1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function G1(n,r){if(n&1){let e=T();l(0,"div",216)(1,"select",273),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.countyid,i)||(o.countyid=i),m(i)}),_("change",function(){h(e);let i=p(3);return i.AreaChangeFun(i.countyaction),m(i.InputTrackingFun("county"))}),l(2,"option",276),f(3),c(),k(4,z1,2,2,"option",107),c()()}if(n&2){let e=p(3);d(),z("ngModel",e.countyid),d(),g("value",e.Select_County_Value),d(),B(e.Select_County),d(),g("ngForOf",e.CountyDetails)}}function Z1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function q1(n,r){if(n&1){let e=T();l(0,"div",216)(1,"select",273),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.market_code_min,i)||(o.market_code_min=i),m(i)}),_("change",function(){h(e);let i=p(3);return i.AreaChangeFun(i.marketaction),m(i.InputTrackingFun("market"))}),l(2,"option",108),f(3),c(),k(4,Z1,2,2,"option",107),c()()}if(n&2){let e=p(3);d(),z("ngModel",e.market_code_min),d(),g("value",e.Select_Market_Value),d(),B(e.Select_Market),d(),g("ngForOf",e.MarketDetails)}}function X1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function Q1(n,r){if(n&1){let e=T();l(0,"div",216)(1,"select",273),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.cityid,i)||(o.cityid=i),m(i)}),_("change",function(){h(e);let i=p(3);return i.AreaChangeFun(i.cityaction),m(i.InputTrackingFun("city"))}),l(2,"option",108),f(3),c(),k(4,X1,2,2,"option",107),c()()}if(n&2){let e=p(3);d(),z("ngModel",e.cityid),d(),g("value",e.Select_City_Value),d(),B(e.Select_City),d(),g("ngForOf",e.CityDetails)}}function Y1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function K1(n,r){if(n&1){let e=T();l(0,"div",216)(1,"select",273),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.officeid,i)||(o.officeid=i),m(i)}),_("change",function(){h(e);let i=p(3);return i.AreaChangeFun(i.officeaction),m(i.InputTrackingFun("office"))}),l(2,"option",108),f(3),c(),k(4,Y1,2,2,"option",107),c()()}if(n&2){let e=p(3);d(),z("ngModel",e.officeid),d(),g("value",e.Select_Office_Value),d(),B(e.Select_Office),d(),g("ngForOf",e.OfficeDetails)}}function J1(n,r){if(n&1&&(l(0,"option",108),f(1),c()),n&2){let e=r.$implicit;g("value",e.value),d(),B(e.name)}}function ev(n,r){if(n&1&&(l(0,"div",231),f(1),c()),n&2){let e=p(4);d(),B(e.closingcountyerror)}}function tv(n,r){if(n&1){let e=T();l(0,"div",216)(1,"select",273),Z("ngModelChange",function(i){h(e);let o=p(3);return G(o.closing_county_id,i)||(o.closing_county_id=i),m(i)}),_("change",function(){h(e);let i=p(3);return i.closingcountyerrordis=!1,m(i.InputTrackingFun("closing_county"))}),l(2,"option",276),f(3),c(),k(4,J1,2,2,"option",107),c(),k(5,ev,2,1,"div",230),c()}if(n&2){let e=p(3);d(),z("ngModel",e.closing_county_id),d(),g("value",e.Select_ClosingCounty_Value),d(),B(e.Select_ClosingCounty),d(),g("ngForOf",e.ClosingCountyDetails),d(),g("ngIf",e.closingcountyerrordis)}}function iv(n,r){if(n&1&&(l(0,"div",277)(1,"i"),f(2),c()()),n&2){let e=p(3);d(2),B(e.Area_Disclaimer)}}function nv(n,r){if(n&1){let e=T();l(0,"div",249)(1,"button",250),_("click",function(){h(e);let i=p(3);return m(i.EscrowUserInfoNext())}),f(2,"Next"),c()()}if(n&2){let e=p(3);d(),x(e.EscrowBtnUser)}}function rv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(3);return i.AreaSelectionNext(),m(i.InputTrackingFun("location"))}),f(2,"Next"),c()()}if(n&2){let e=p(3);d(),x(e.MarketStylesBtn)}}function ov(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(3);return i.RepSelectionNext("Finish"),m(i.InputTrackingFun("location"))}),f(2,"Finish"),c()()}if(n&2){let e=p(3);d(),x(e.MarketStylesBtn)}}function sv(n,r){if(n&1){let e=T();l(0,"div",270)(1,"div",271),f(2),c(),l(3,"div",272),f(4," Work more than one county? No worries \u2014 you can update your area anytime inside the app. "),c(),l(5,"div",215)(6,"div",216)(7,"select",273),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.statecode,i)||(o.statecode=i),m(i)}),_("change",function(){h(e);let i=p(2);return i.AreaChangeFun(i.stateaction),m(i.InputTrackingFun("state"))}
11),l(8,"option",108),f(9),c(),k(10,$1,2,2,"option",107),c()(),k(11,G1,5,4,"div",218)(12,q1,5,4,"div",218)(13,Q1,5,4,"div",218)(14,K1,5,4,"div",218)(15,tv,6,5,"div",218)(16,iv,3,1,"div",274)(17,nv,3,2,"div",247)(18,rv,3,2,"div",275)(19,ov,3,2,"div",275),c()()}if(n&2){let e=p(2);d(2),N(" Almost there, ",e.User_Name,"! "),d(5),z("ngModel",e.statecode),d(),g("value",e.Select_State_Value),d(),B(e.Select_State),d(),g("ngForOf",e.StateDetails),d(),g("ngIf",e.CountySection),d(),g("ngIf",e.MarketSection),d(),g("ngIf",e.CitySection),d(),g("ngIf",e.OfficeSection),d(),g("ngIf",e.ClosingCountyShow),d(),g("ngIf",e.Area_Disclaimer_Show),d(),g("ngIf",e.EscrowInfoDis),d(),g("ngIf",e.AreaSectionNxtbtn),d(),g("ngIf",e.AreaFinishNxtbtn)}}function av(n,r){if(n&1){let e=T();l(0,"div",280)(1,"div",281)(2,"div",282)(3,"button",283),_("click",function(){h(e);let i=p(2);return m(i.closeCtoAgentModal())}),c(),l(4,"div",284),y(5,"div",285),l(6,"div",286),f(7),c(),y(8,"div",285),l(9,"div",287)(10,"a",288)(11,"button",289),f(12),c()(),l(13,"button",290),_("click",function(){h(e);let i=p(2);return m(i.closeCtoAgentModal())}),f(14),c()(),y(15,"div",285),c()()()()}if(n&2){let e=p(2);d(7),N(" ",e.redirectModalContent," "),d(3),g("href",e.redirectLink,Y),d(2),N(" ",e.redirectModalButton1," "),d(2),N(" ",e.redirectModalButton2," ")}}function lv(n,r){if(n&1){let e=T();l(0,"div",298)(1,"div",299)(2,"div",300),y(3,"img",301),l(4,"span",302),f(5),c()(),l(6,"img",303),_("click",function(){let i=h(e).$implicit,o=p(4);return o.RepCheckBoxFun(i.value,i.name,i.profile_pic,i.email,i.phone),m(o.InputTrackingFun("select_rep"))}),c()()()}if(n&2){let e=r.$implicit,t=p(4);d(3),g("src",so(e.profile_pic),Y),d(2),B(e.name),d(),g("id",Kn("RepCheckBox_",e.value))("src",t.RepCheckImg,Y)}}function cv(n,r){if(n&1&&(l(0,"div",231),f(1),c()),n&2){let e=p(4);d(),B(e.reperror)}}function dv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPageRep"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return i.RepSelectionNext("Finish"),m(i.InputTrackingFun("rep_selection"))}),f(4,"Finish"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnFin),d(2),x(e.MarketStylesBtnFin)}}function uv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPageRep"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return i.RepSelectionNext("Loanofficer"),m(i.InputTrackingFun("rep_selection"))}),f(4,"Next"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnFin),d(2),x(e.MarketStylesBtnFin)}}function hv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPageEscrow"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return i.RepSelectionNext("EscrowOfficer"),m(i.InputTrackingFun("rep_selection"))}),f(4,"Next"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnFin),d(2),x(e.MarketStylesBtnFin)}}function mv(n,r){if(n&1&&(l(0,"div",295)(1,"div",296),k(2,lv,7,6,"div",297),c(),k(3,cv,2,1,"div",230)(4,dv,5,4,"div",275)(5,uv,5,4,"div",275)(6,hv,5,4,"div",275),c()),n&2){let e=p(3);d(2),g("ngForOf",e.RepDetails),d(),g("ngIf",e.reperrordis),d(),g("ngIf",e.RepSectionNxtbtn),d(),g("ngIf",e.LoanSectionNxtbtn),d(),g("ngIf",e.RepEscrowSectionbtn)}}function pv(n,r){if(n&1){let e=T();l(0,"div",298)(1,"div",299)(2,"div",300),y(3,"img",301),l(4,"span",302),f(5),c()(),l(6,"img",304),_("click",function(){let i=h(e).$implicit,o=p(4);return o.LoanOfficerFun(i.value,i.name,i.profile_pic,i.email,i.phone),m(o.InputTrackingFun("select_lender"))}),c()()()}if(n&2){let e=r.$implicit,t=p(4);d(3),g("src",so(e.profile_pic),Y),d(2),B(e.name),d(),g("id",Kn("LoanofficerBox_",e.value))("src",t.RepCheckImg,Y)}}function fv(n,r){if(n&1&&(l(0,"div",231),f(1),c()),n&2){let e=p(4);d(),B(e.loanofficererror)}}function gv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPageLoan"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return i.RepSelectionNext("Finish"),m(i.InputTrackingFun("lender_officer_selection"))}),f(4,"Finish"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnLoan),d(2),x(e.MarketStylesBtnLoan)}}function _v(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPageLoan"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return i.RepSelectionNext("EscrowOfficer"),m(i.InputTrackingFun("lender_officer_selection"))}),f(4,"Next"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnLoan),d(2),x(e.MarketStylesBtnLoan)}}
11function vv(n,r){if(n&1&&(l(0,"div",295)(1,"div",296),k(2,pv,7,6,"div",297),c(),k(3,fv,2,1,"div",230)(4,gv,5,4,"div",275)(5,_v,5,4,"div",275),c()),n&2){let e=p(3);d(2),g("ngForOf",e.LoanOfficererDetails),d(),g("ngIf",e.loanofficererrordis),d(),g("ngIf",e.LoanSectionfnbtn),d(),g("ngIf",e.EscrowSectionNxtbtn)}}function yv(n,r){if(n&1){let e=T();l(0,"div",298)(1,"div",299)(2,"div",300),y(3,"img",301),l(4,"span",302),f(5),c()(),l(6,"img",305),_("click",function(){let i=h(e).$implicit,o=p(4);return o.EscrowofficerFun(i.value,i.name,i.profile_pic,i.email,i.phone),m(o.InputTrackingFun("select_escrow"))}),c()()()}if(n&2){let e=r.$implicit,t=p(4);d(3),g("src",so(e.profile_pic),Y),d(2),B(e.name),d(),g("id",Kn("EscrowofficerBox_",e.value))("src",t.RepCheckImg,Y)}}function bv(n,r){if(n&1&&(l(0,"div",231),f(1),c()),n&2){let e=p(4);d(),B(e.escrowofficererror)}}function Cv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPage"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return m(i.EscrowSelectionNext())}),f(4,"Next"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnEscrow),d(2),x(e.MarketStylesBtnEscrow)}}function Sv(n,r){if(n&1){let e=T();l(0,"div",278)(1,"button",279),_("click",function(){h(e);let i=p(4);return m(i.RepSelectionNext("PreviousPage"))}),f(2,"\u2190"),c(),l(3,"button",279),_("click",function(){h(e);let i=p(4);return i.RepSelectionNext("Finish"),m(i.InputTrackingFun("escrow_selection"))}),f(4,"Finish"),c()()}if(n&2){let e=p(4);d(),x(e.BackMarketStylesBtnEscrow),d(2),x(e.MarketStylesBtnEscrow)}}function wv(n,r){if(n&1&&(l(0,"div",295)(1,"div",296),k(2,yv,7,6,"div",297),c(),k(3,bv,2,1,"div",230)(4,Cv,5,4,"div",275)(5,Sv,5,4,"div",275),c()),n&2){let e=p(3);d(2),g("ngForOf",e.EscrowofficerDetails),d(),g("ngIf",e.escrowofficererrordis),d(),g("ngIf",e.AreaNext),d(),g("ngIf",e.EscroFinishbtn)}}function xv(n,r){if(n&1&&(l(0,"div",291)(1,"div",292),f(2," Here we go! "),c(),l(3,"div",293),f(4),c(),k(5,mv,7,5,"div",294)(6,vv,6,4,"div",294)(7,wv,6,4,"div",294),c()),n&2){let e=p(2);d(4),N(" ",e.ContentSec," "),d(),g("ngIf",e.RepListSec),d(),g("ngIf",e.LoanOfficerListSec),d(),g("ngIf",e.EscrowOfficerListSec)}}function kv(n,r){if(n&1){let e=T();l(0,"div",139)(1,"div",140),he(),l(2,"svg",141)(3,"defs")(4,"clipPath",142),y(5,"rect",143),c(),l(6,"linearGradient",144),y(7,"stop",145)(8,"stop",146),c()(),l(9,"g",147),y(10,"path",148),c()(),pe(),l(11,"div",149)(12,"div",150),y(13,"img",151),l(14,"div",152)(15,"div",153),f(16),k(17,b1,1,2,"img",154),c(),k(18,C1,3,1,"div",155),c()(),l(19,"div",156),f(20," Their journey begins with the numbers. "),c(),l(21,"div",157),f(22," We\u2019re here to help you guide your clients through every step of their real estate journey. "),c(),l(23,"div",158)(24,"span",159),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Journey"))}),c(),l(25,"span",160),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("About"))}),c(),l(26,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Details"))}),c(),l(27,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Reps"))}),c()()(),l(28,"div",162)(29,"div",163),y(30,"img",164)(31,"img",165),c(),l(32,"div",166),f(33," We\u2019re all about building your brand. "),c(),l(34,"div",157),f(35," Every touchpoint with your prospects and clients is a value-add opportunity. "),c(),l(36,"div",158)(37,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Journey"))}),c(),l(38,"span",159),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("About"))}),c(),l(39,"span",160),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Details"))}),c(),l(40,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Reps"))}),c()()(),l(41,"div",167)(42,"div",168),y(43,"img",164),c(),l(44,"div",169),f(45," Leave the details to us. "),c(),l(46,"div",170),f(47),c(),l(48,"div",158)(49,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Journey"))}),c(),l(50,"span",160),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("About"))}),c(),l(51,"span",159),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Details"))}),c(),l(52,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Reps"))}),c()()(),l(53,"div",171)(54,"div",172)(55,"div",173)(56,"div",174)(57,"div",175),y(58,"div",176),c(),l(59,"div",177)(60,"div",178),y(61,"img",179),c(),k(62,S1,7,3,"div",180)(63,w1,2,0,"div",181),c()()()(),l(64,"div",182),f(65," Cho
11ose your point of contact. "),c(),l(66,"div",183),f(67," Locate your referrer - They\u2019ll be an invaluable resource moving forward. "),c(),l(68,"div",158)(69,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Journey"))}),c(),l(70,"span",161),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("About"))}),c(),l(71,"span",160),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Details"))}),c(),l(72,"span",159),_("click",function(){h(e);let i=p();return m(i.SwipeBranedContent("Reps"))}),c()()()(),l(73,"div",184)(74,"div",185)(75,"img",186),_("click",function(){h(e);let i=p();return m(i.CloseSignup())}),c()(),l(76,"div",187)(77,"div",188),y(78,"img",189),c(),l(79,"div")(80,"span",190),f(81),c(),k(82,x1,2,0,"span",191),c(),l(83,"div",192),f(84),c()(),l(85,"div",193),k(86,M1,21,13,"div",194)(87,I1,11,6,"div",195)(88,F1,13,7,"div",195)(89,O1,7,3,"div",195)(90,L1,7,3,"div",195)(91,R1,8,3,"div",195)(92,U1,21,19,"div",196)(93,j1,30,13,"div",196)(94,sv,20,14,"div",197)(95,av,16,4,"div",198)(96,xv,8,4,"div",199),c(),l(97,"div",200),y(98,"img",201),c()()()}if(n&2){let e=p();d(7),_e("stop-color",e.gradientStartColor),d(),_e("stop-color",e.gradientEndColor),d(3),x(e.LoginVisible),d(2),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","ng_assets/images/login_estimate_new.png"),d(3),N("",e.market_name," "),d(),g("ngIf",e.one_label),d(),g("ngIf",e.TTBrandState),d(10),x(e.InfoVisible),d(2),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","ng_assets/images/user_info_top.png"),d(),g("defaultImage","ng_assets/images/user_info_bottom_trans.png")("lazyLoad","ng_assets/images/user_info_bottom.png"),d(10),x(e.AreaVisible),d(2),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","ng_assets/images/market_location.png"),d(4),Tt(" With local taxes, rates and fees, ",e.market_name," ",e.One_Label," provides informed estimates - allowing you to focus fully on the customer. "),d(6),x(e.RepVisible),d(5),x(e.rep_profile),d(3),g("src",e.PrintoutLogo,Y),d(),g("ngIf",e.rep_dynamic_change),d(),g("ngIf",e.rep_static_change),d(15),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad",e.marketlogo),d(3),B(e.market_name),d(),g("ngIf",e.one_label),d(2),N(" Powered by ",e.market_title," "),d(2),g("ngIf",e.CreateAccVisible),d(),g("ngIf",e.reploginsection),d(),g("ngIf",e.switchuseralert),d(),g("ngIf",e.InactiveUser),d(),g("ngIf",e.PendingApproval),d(),g("ngIf",e.SwitchSuccesssection),d(),g("ngIf",e.UserInfoVisible),d(),g("ngIf",e.userlogintwofactAuthverify),d(),g("ngIf",e.AreaSelection),d(),g("ngIf",e.redirectModal),d(),g("ngIf",e.RepSelection),d(2),g("defaultImage","ng_assets/images/login_footer_trans.png")("lazyLoad","ng_assets/images/login_footer.png")}}function Ev(n,r){if(n&1){let e=T();l(0,"div",335),_("mouseover",function(){h(e);let i=p(2);return m(i.LoginHoverFun("Hover"))})("mouseout",function(){h(e);let i=p(2);return m(i.LoginHoverFun("Leave"))})("click",function(){h(e);let i=p(2);return m(i.RepSelectionNext("SignupFinish"))}),l(1,"div",336),f(2),c()()}if(n&2){let e=p(2);x(e.LoginBorderstyle),d(),x(e.Loginstyle),d(),N(" Continue to ",e.OS_Text,"! ")}}function Dv(n,r){if(n&1){let e=T();l(0,"div",335),_("mouseover",function(){h(e);let i=p(2);return m(i.LoginHoverFun("Hover"))})("mouseout",function(){h(e);let i=p(2);return m(i.LoginHoverFun("Leave"))})("click",function(){h(e);let i=p(2);return m(i.SwitchUserFinishFun())}),l(1,"div",336),f(2),c()()}if(n&2){let e=p(2);x(e.LoginBorderstyle),d(),x(e.Loginstyle),d(),N(" Continue to ",e.OS_Text,"! ")}}function Tv(n,r){n&1&&y(0,"div",337)}function Mv(n,r){n&1&&(l(0,"div",338)(1,"span",339),f(2,"Don\u2019t forget to download the app on your mobile device."),c()())}function Iv(n,r){if(n&1){let e=T();l(0,"div",340)(1,"div",341),y(2,"img",342),c(),l(3,"div",343)(4,"a",344)(5,"div",345),_("mouseover",function(){h(e);let i=p(2);return m(i.AppStoreHoverFun("Hover"))})("mouseout",function(){h(e);let i=p(2);return m(i.AppStoreHoverFun("Leave"))}),l(6,"div"),he(),l(7,"svg",346),y(8,"path",347),c()(),pe(),l(9,"div",348),f(10,"App Store"),c()()(),l(11,"a",344)(12,"div",349),_("mouseover",function(){h(e);let i=p(2);return m(i.PlayStoreHoverFun("Hover"))})("mouseout",function(){h(e);let i=p(2);return m(i.PlayStoreHoverFun("Leave"))}
11),l(13,"div",350),he(),l(14,"svg",351),y(15,"path",352),c()(),pe(),l(16,"div",348),f(17,"Google Play"),c()()()()()}if(n&2){let e=p(2);d(2),g("src",e.Market_QrCode,Y),d(2),g("href",e.AppstoreValue,Y),d(),x(e.AppStoreBtn),d(6),g("href",e.playstoreValue,Y),d(),x(e.PlayStoreBtn)}}function Av(n,r){if(n&1){let e=T();l(0,"div")(1,"div",306)(2,"div",307)(3,"div",308)(4,"div",309)(5,"img",310),_("click",function(){h(e);let i=p();return m(i.CloseWeblogin())}),c()()()()(),l(6,"div",306)(7,"div",311),y(8,"div",308),c(),l(9,"div",312)(10,"div",313)(11,"div",314)(12,"div",315),y(13,"img",316),c(),l(14,"div",317),y(15,"img",318),c()()(),l(16,"div",319)(17,"div",320)(18,"div",321),f(19,"You\u2019re all set!"),c(),k(20,Ev,3,5,"div",322)(21,Dv,3,5,"div",322)(22,Tv,1,0,"div",323)(23,Mv,3,0,"div",324)(24,Iv,18,7,"div",325),l(25,"div",326)(26,"span",327),f(27,"The market awaits - Get out there and start closing!"),c()()()()(),l(28,"div",328),y(29,"div",308),c(),l(30,"div",329)(31,"div",330)(32,"div",331),y(33,"img",332),c()(),l(34,"div",330)(35,"div",333),y(36,"img",334),c()()()()()}if(n&2){let e=p();d(20),g("ngIf",e.UserFinishBtn),d(),g("ngIf",e.SwitchFinishBtn),d(),g("ngIf",e.AppDownloaddiv),d(),g("ngIf",e.AppDownload),d(),g("ngIf",e.AppDownload)}}var Ls=(()=>{let r=class r{constructor(t,i,o,s,a,u,v,C){this.renderer=t,this.router=i,this.globalService=o,this.apiservice=s,this.dialog=a,this.sharedService=u,this.location=v,this.sanitizer=C,this.PrintoutLogo="ng_assets/images/logo_trans_market.png",this.market_name="",this.gradientStartColor="",this.gradientEndColor="",this.market_title="",this.get_os="",this.OS_Text="web app",this.marketlogo="",this.user_email="",this.Password="",this.ConfPassword="",this.email=!1,this.password=!1,this.confpassword=!1,this.error="",this.errordis=!1,this.ApiUrl="",this.formData={},this.isLoading=!1,this.get_market_code="",this.market_code="",this.MarketCodeNew="",this.userremember=0,this.useragree=0,this.AppLoginLink="",this.DashboardLoginLink="",this.userlogin=!0,this.reploginsection=!1,this.Ap
11pLogin="",this.DashboardLogin="",this.Signupbtn=!1,this.Terms="",this.user_firstname="",this.user_lastname="",this.user_company="",this.user_phone="",this.firstname=!1,this.lastname=!1,this.company=!1,this.phone=!1,this.UserInfoBtn=!1,this.CountySection=!1,this.OfficeSection=!1,this.AreaSectionNxtbtn=!0,this.LoanSectionNxtbtn=!1,this.RepSectionNxtbtn=!0,this.RepEscrowSectionbtn=!1,this.stateaction="",this.countyaction="",this.cityaction="",this.officeaction="",this.repaction="",this.MarketSection=!1,this.marketaction="",this.DownloadStyles={},this.CitySection=!1,this.statecode="",this.countyid="",this.cityid="",this.officeid="",this.BtnContent="Finish",this.reperrordis=!1,this.reperror="",this.loanofficererrordis=!1,this.loanofficererror="",this.escrowofficererrordis=!1,this.escrowofficererror="",this.RepListSec=!0,this.LoanOfficerListSec=!1,this.EscrowOfficerListSec=!1,this.ContentSec="Select your Title Rep",this.LoanSectionfnbtn=!1,this.MarketStylesselloanBtn={},this.EscrowSectionNxtbtn=!1,this.MarketStylesBtnselescrow={},this.MarketStylesnxtBtn={},this.market_code_min="",this.AreaFinishNxtbtn=!1,this.playstoreValue="",this.AppstoreValue="",this.WindowsBtn={},this.MacBtn={}
11,this.AppStoreBtn={},this.PlayStoreBtn={},this.MarketLightColor="",this.MarkettDarkColor="",this.playstore="",this.Appstore="",this.gradientLightColor="",this.gradientDarkColor="",this.ContentColor="",this.LoginSec=!0,this.WebappLoginSec=!1,this.AppDownload=!0,this.AppDownloaddiv=!1,this.Loginstyle={},this.LoginBorderstyle={},this.Market_QrCode="",this.Btnstyle={},this.EmailContent="",this.boxshow={},this.SwitchFinishBtn=!1,this.UserFinishBtn=!0,this.MarketStylesBtn={},this.MarketStylesBtnUser={},this.MarketStylesBtnFin={},this.BackMarketStylesBtnFin={},this.MarketStylesBtnLoan={},this.BackMarketStylesBtnLoan={},this.MarketStylesBtnEscrow={},this.BackMarketStylesBtnEscrow={},this.MarketStylesBtnArea={},this.EscrowBtnUser={},this.UserInfoDis=!0,this.ShareAppDis=!1,this.ShareAppContent="",this.ShareAppCode="",this.ip_address="",this.email_screen="no",this.login_track="no",this.signup_track="no",this.title_rep="no",this.rep_selection="no",this.moved_market="no",this.move_account="no",this.location_track="no",this.title_rep_preview="no",this.otp_verification="no",this.manager_market_selection="no",this.forgot_password="no",this.escrow_selection="no",this.forgot="no",this.Lender_selection="no",this.user_information="no",this.role_selection="no",this.screen_name="",this.one_label=!1,this.ProceedBtnstyle={},this.EditBtnstyle={},this.SwtBtnstyle={},this.EditSwBtnstyle={},this.AppStyles={},this.DashboardStyles={},this.EmailBtn={},this.SwitchStyles={},this.SwitchLogStyles={},this.switchuserto="",this.Area_Disclaimer="",this.Area_Disclaimer_Show=!1,this.One_Label="ONE",this.device_platform="",this.Select_State="",this.Select_County="",this.Select_Market="",this.Select_City="",this.Select_Office="",this.selected="",this.Select_State_Value="",this.Select_County_Value="",this.Select_ClosingCounty="",this.Select_ClosingCounty_Value="",this.ClosingCountyShow=!1,this.closing_county_id="",this.closingcountyerrordis=!1,this.closingcountyerror="",this.Select_Market_Value="",this.Select_City_Value="",this.Select_Office_Value="",this.canadaofficepopup=!1,this.titleofcanada="",this.Canadacontent="",this.canadalawfrim="",this.titlecompanyvalidate=!1,this.canadaAction="",this.canadalawfrimtracking="",this.standaloneStatePopup=!1,this.standalonePopupTitle="",this.standalonePopupInputs=[],this.standalonePopupButtons=[],this.standalonePopupDismissible="no",this.standaloneInputValues={},this.standaloneValidationErrors={},this.standaloneTriggeredFrom="",this.standaloneConfirmation=!1,this.standaloneConfirmTitle="",this.standaloneConfirmMessage="",this.standaloneConfirmButtons=[],this.User_Name="",this.userlogintwofactAuthverify=!1,this.AuthenticatorMsg="",this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",this.VerifyNoOTP={},this.VerifybackOTP={},this.AuthText=!1,this.toastalertshow=!1,this.toastmessage="",this.AuthTitle="",this.AuthBTN="",this.ToastApiError=!1,this.ToastApiWarning=!1,this.ToastApiSuccess=!1,this.AuthenticatorHelpPopup=!1,this.AuthResentDis=!1,this.AuthResentBtn="",this.SupportLink="https://palmagent.com/support",this.Show_2Factor_Auth_Mobile="",this.Auth_help=!1,this.country_code="",this.selectedCountry="",this.CountryCodeShow=!1,this.ResendAction="",this.redirectModal=!1,this.redirectModalContent="",this.redirectModalButton1="",this.redirectModalButton2="",this.redirectLink="",this.timer=300,this.minutes=0,this.seconds=0,this.two_factor_id="",this.SingleApiArray=["NOB","MOT","OM","GUH","FIH","REE","BRI","SAK","SOQ","COK","LO","BAR","CEC","LIX","BL","HAR","SOF","SAM","CLH","CRT","FIV","ALZ","FOY","FR","INJ","JK","KN","LED","LT","AMA","WF","STP"],this.TTBrandState=!1,this.TTBrandStateName="",this.enable_mobile_website="",this.InactiveUser=!1,this.PendingApproval=!1,this.isSSOSignup=!1,this.ssoProvider="",this.ssoIdToken="",this.ssoAccessToken="",this.ssoUserSub="",this.ssoUserExists=!1,this.sso_code="",this.sso_token="",this.rep_dynamic_change=!1,this.rep_static_change=!0,this.rep_name="Betty Boop",this.rep_email="[email protected]",this.rep_phone="(123) 456-7890",this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url(ng_assets/images/rep_default_new.png)"},this.inputValue="",this.SelectCheckImg="ng_assets/images/checkbox_unselect.png",this.RepCheckImg="ng_assets/images/checkbox_unselect.png",this.LoginVisible="display:block",this.CreateAccVisible=!0,this.InfoVisible="display:none",this.LoginInVisible=!0,this.UserInfoVisible=!1,this.AreaVisible="display:none",this.AreaSelection=!1,this.RepVisible="display:none",this.RepSelection=!1,this.switchusermsg="",this.switchuserlogin="",this.LoginToMarket="",this.EscrowInfoDis=!1,this.AreaNext=!1,this.EscroFinishbtn=!0,this.widgetLogin="",this.dynamicComponentService=b(et),this.WebStyles={},this.SwtichSuccessMsg=!1,this.switchuseralert=!1,this.SwitchSuccesssection=!1}ngOnInit(){this.TimeStamp=Date.now(),this.sharedService.switchAreaChange$.subscribe(()=>{this.globalService.getuser_pass()!=null&&this.globalService.getuser_pass()!=""&&(this.Password=this.globalService.getuser_pass()),(!this.sso_code||this.sso_code==="")&&(this.sso_code=document.getElementById("Hdnuser_sso_access_code")?.value||""),this.User_Name=this.capitalizeFirstLetter(this.globalService.getuser_firstname()),this.AreaVisible="display:block",this.SwitchAreaChangeFun()}),this.sharedService.ssoSignup$.subscribe(t=>{console.log("SSO Signup data received:",t),this.ssoProvider=t.ssoProvider||"FirstAmerican",this.ssoIdToken=t.ssoI
11dToken||"",this.ssoAccessToken=t.ssoAccessToken||"",this.ssoUserSub=t.ssoUserSub||"",this.ssoUserExists=t.userExists||!1,this.sso_code=t.sso_code||"",this.sso_token=t.sso_token||"",console.log("sso_code data received:",this.sso_code),console.log("sso_token data received:",this.sso_token),t.userExists===!0?(this.isSSOSignup=!1,console.log("SSO: Existing user detected, showing password field for verification")):(this.isSSOSignup=!0,console.log("SSO: New user detected, hiding password fields")),this.user_email=t.email,this.user_firstname=t.firstName||"",this.user_lastname=t.lastName||"",this.useragree=1,this.CreateAccVisible=!0,this.UserInfoVisible=!1,this.LoginInVisible=!1,this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none",setTimeout(()=>{this.CreateAccNext()},100)}),setTimeout(()=>{this.market_name=this.globalService.getMarketName(),this.market_title=this.globalService.getmarket_title(),this.gradientEndColor=this.globalService.getmarketdarkcolor(),this.gradientStartColor=this.globalService.getmarketlightcolor(),document.getElementById("display_one_label").value=this.globalService.getdisplay_onelabel(),this.globalService.getdisplay_onelabel()=="yes"?(this.AppLogin=this.globalService.getMarketName()+" ONE",this.One_Label="ONE"):(this.AppLogin=this.globalService.getMarketName(),this.One_Label=""),this.DashboardLogin=this.globalService.getMarketName()+" Dashboard",this.Terms=(this.globalService.getwebsite_url()||"").replace(/^www\./,""),this.Terms="https://"+this.Terms+"/terms",this.market_code=this.globalService.getmarket_code(),this.Market_QrCode=this.globalService.getmarket_qrcode(),this.playstoreValue=this.globalService.getplaystore(),this.AppstoreValue=this.globalService.getappstore(),this.user_email=this.globalService.getuseremail(),this.user_email!=null&&this.user_email!=""&&setTimeout(()=>{this.focusElement(this.PasswordFocus),console.log("focuss")},1e3),this.globalService.getuser_pass()!=null&&this.globalService.getuser_pass()!=""&&(this.Password=this.globalService.getuser_pass()),this.globalService.getsignup_sec()!=null&&this.globalService.getsignup_sec()!=""&&this.globalService.getsignup_sec()=="AreaSection"&&(document.getElementById("Hdnuser_switchstatus").value="Y",document.getElementById("Hdnuser_id").value=this.globalService.getuser_id(),document.getElementById("Hdnuser_token").value=this.globalService.getuser_token(),this.SwitchAreaChangeFun()),this.Loginstyle={color:`${this.gradientEndColor}`},this.LoginBorderstyle={border:`2px solid ${this.gradientEndColor}`,"box-shadow":`0px 4px 10px 0px ${this.gradientStartColor}`},this.boxshow={"box-shadow":`0px 4px 10px 0px ${this.gradientStartColor}`},this.PrintoutLogo="https://d2w998roo7cij6.cloudfront.net/generic_brands/"+this.globalService.getmarket_code()+"/logo_"+this.globalService.getmarket_code()+".png",this.marketlogo=`https://d2w998roo7cij6.cloudfront.net/one_logo/${this.globalService.getmarket_code()}.png`,this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.enable_mobile_website=="on"&&(this.TTBrandState=!0,this.TTBrandStateName=this.globalService.getWebsite_countyName(),this.setStyleForClass("MarketLogo","max-width","135px")),this.Btnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.MarketStylesBtnArea={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none"},this.MarketStylesBtn={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none"},this.MarketStylesBtnFin={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"},this.BackMarketStylesBtnFin={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all","border-radius":"6px 0px 0px 6px",width:"20%"},this.MarketStylesnxtBtn={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px s
11olid #D9D9D9","pointer-events":"none"},this.MarketStylesBtnselescrow={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none"},this.MarketStylesBtnLoan={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":"0px 6px 6px 0px"},this.BackMarketStylesBtnLoan={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all",width:"20%","border-radius":" 6px 0px 0px 6px"},this.MarketStylesBtnEscrow={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":"0px 6px 6px 0px"},this.BackMarketStylesBtnEscrow={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all",width:"20%","border-radius":"6px 0px 0px 6px"},this.ProceedBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.EditBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.SwtBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.EditSwBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.AppStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.DashboardStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.EmailBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.SwitchStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.SwitchLogStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.VerifybackOTP={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none",color:"#FFFFFF"},this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""&&(this.UserInfoDis=!1,this.ShareAppDis=!0),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""?this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(t=>{this.phpData=t}):this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(t=>{this.phpData=t,this.phpData!=null&&this.phpData!=""&&(this.phpData=decodeURIComponent(this.phpData),this.phpData=JSON.parse(atob(this.phpData)),this.ip_address=this.phpData.Show_ipaddress,this.device_platform=this.phpData.device_platform,this.globalService.setmmppreview(this.phpData.ismmppreview))}),this.globalService.getdisplay_onelabel()=="yes"&&(this.one_label=!0)},1500),this.apiservice.getUserCountryCode().subscribe(t=>{this.response=t,this.country_code=this.response.country_code})}onInputChange(t){let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;var o=document.getElementById("NewUserEmail").value;if((this.user_email!=""||o!="")&&(i.test(this.user_email)||i.test(o))&&this.Password!=""&&this.ConfPassword!=""&&this.useragree!=0){this.DownloadStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"};return}else{this.DownloadStyles={};return}}CreateAccNext(){var t=document.getElementById("NewUserEmail").value;let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;if(this.user_email==""&&t==""){this.email=!0,this.focusElement(this.EmailFocus);return}else t!=""&&(this.user_email=t);if(this.user_email&&!i.test(this.user_email)){this.email=!0,this.focusElement(this.EmailFocus);return}else this.email=!1;if(!this.isSSOSignup){if(this.Password==""){this.password=!0,this.focusElement(this.PasswordFocus);return}else this.password=!1;if(this.ConfPassword==""){this.confpassword=!0,this.focusElement(this.ConPasswordFocus);return}else this.confpassword=!1;if(this.Password!=this.ConfPassword){this.error="Password does not match!",this.errordis=!0;return}}if(this.isSSOSignup&&!this.ssoUserExists){console.log("SSO: Skipping checkexists, going to User Info page"),this.User_Name=this.capitalizeFirstLetter(this.user_firstname),this.InfoVisible="display:block",this.UserInfoVisible=!0,this.LoginInVisible=!1,this.CreateAccVisible=!1,this.LoginVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none",setTimeout(()=>{let a=document.querySelector(".UserName");a&&this.renderer.selectRootElement(a).focus()},100);return}this.ApiUrl=this.apiservice.GetApiUrl()+"user/checkexists",this.formData={action:"CheckExists",email:this.user_email,market_code:this.globalService.getmarket_code(),country_code:this.country_code};let o={user_email:this.user_email,market_code:this.globalService.getmarket_code(),sso_code:this.sso_code,token:this.sso_token};this.isLoading=!0;var s=document.getElementById("proceed_status").value;this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(a=>{if(this.response=a.body,this.Show_2Factor_Auth_Mobile=this.response.enable_2FA_auth_mobile,this.Show_2Factor_Auth_Mobile=="yes"){this.CountryCodeShow=!0,this.country_array=this.response.country_code_arr;let u=this.country_array.find(v=>v.code===this.response.selected_code);u&&(this.selectedCountry=u.dial_code+"_"+u.code)}if(this.response.userExists==!0)if(this.response.switch_market_details!=null&&this.response.switch_market_details.switch_market==!0){this.isLoading=!1,this.switchuseralert=!0,this.CreateAccVisible=!1,this.switchusermsg=this.response.switch_market_details.message,this.switchuserlogin="Login to "+this.response.switch_market_details.user_market_name,this.switchuserto="SWITCH TO "+this.globalService.getMarketName().toUpperCase(),document.getElementById("hdn_user_email").value=this.user_email,this.response.switch_market_details.user_market_url!=null&&this.response.switch_market_details.user_market_url!=""&&(this.apiservice.getconfigmode()=="staging"?this.LoginToMarket=this.apiservice.gethttp_protocol()+"://"+this.apiservice.getsite_path()+"/?dn="+this.response.switch_market_details.user_market_name+","+this.user_email+","+this.response.switch_market_details.user_name+","+this.response.switch_market_details.user_market_url:this.LoginToMarket=this.apiservice.gethttp_protocol()+"://"+this.response.switch_market_details.user_market_url+"/,"+this.user_email+","+this.response.switch_market_details.user_name+","+this.response.switch_market_details.user_market_url),this.LoginVisible="display:none",this.InfoVisible="display:block",this.AreaVisible="display:none",this.RepVisible="display:none";return}else this.ApiUrl=this.apiservice.GetApiUrl()+"login",this.formData={email:this.user_email,market_code:this.globalService.getmarket_code(),password:this.Password,share_app_referrer_code:this.ShareAppCode,market_state_id:this.response.market_state_id,share_app_action:"",platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),app_build_date:this.apiservice.getapp_build_date(),user_agent:btoa(navigator.userAgent),ip_address:this.ip_address,login_from:"DownloadSitePage",sso_code:this.sso_code},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(u=>{if(this.response=u.body,this.Clearcookie("share_token"),this.response.user.switch_status!=null&&this.response.user.switch_status==!0)console.log("main test1234"),this.isLoading=!1,this.globalService.setuseremail(this.user_email),this.globalService.setuser_pass(this.Password),this.globalService.setuser_id(this.response.user.id),this.globalService.setuser_token(this.response.token),this.globalService.setuser_firstname(this.response.user.first_name),this.globalService.setsignup_sec("AreaSection"),this.setvalue("NewUserEmail",this.user_email),this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","none"),this.setStyleForClass("CreateAccDiv","display","none"),document.getElementById("hdn_user_email").value=this.user_email,document.getElementById("Hdnuser_phone").value=this.response.user.phone,document.getElementById("Hdnuser_switchstatus").value="Y",document.getElementById("Hdnuser_id").value=this.globalService.getuser_id(),document.getElementById("Hdnuser_token").value=this.globalService.getuser_token(),(this.globalService.getuser_id()=="900695"||this.globalService.getuser_id()=="900696"||this.globalService.getuser_id()=="900697"||this.globalService.getuser_id()=="900173")&&(document.getElementById("Hdnuser_token").value=""),this.globalService.getuser_pass()!=null&&this.globalService.getuser_pass()!=""&&(this.Password=this.globalService.getuser_pass()),this.User_Name=this.capitalizeFirstLetter(this.globalService.getuser_firstname()),this.AreaVisible="display:block",this.SwitchAreaChangeFun();else{if(this.get_market_code=this.response.user.market_code,this.market_code=="PO"?this.MarketCodeNew=this.market_code:this.get_market_code!=null&&this.get_market_code!=""?this.MarketCodeNew=this.get_market_code:this.MarketCodeNew=this.market_code,this.response.user.user_type!=1&&this.response.user.rep_user_market_list!=""&&this.MarketCodeNew!=this.market_code){this.RepMarketList=this.response.user.rep_user_market_list;for(var v=0;v<this.RepMarketList.length;v++)if(this.MarketCodeNew==this.RepMarketList[v].market_code){this.MarketCodeNew=this.RepMarketList[v].market_code;break}}this.ApiUrl=this.apiservice.GetApiUrl()+"get_app_urls.php",this.formData={email:this.user_email,market_code:this.MarketCodeNew,UID:this.response.user.id,platform:"",getipaddress:"",userAgent:navigator.userAgent,domain:window.location.hostname,sso_code:this.sso_code};let C=!1,S=()=>{this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(E=>{if(this.ApiUrlData=E.body,!this.ApiUrlData||!this.ApiUrlData.one_app_url){if(!C){C=!0,console.warn("[signup] get_app_urls returned empty, retrying once"),S();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[signup] get_app_urls returned empty body after retry",E);return}document.getElementById("one_app_aws_url").value=this.ApiUrlData.one_app_aws_url,document.getElementById("hdn_UserToken").value=this.response.token,document.getElementById("using_master_password").value="",document.getElementById("LoginToAction").value="ONEAPPLogin",this.apiservice.getconfigmode()=="staging"||this.SingleApiArray.includes(this.MarketCodeNew)?document.getElementById("singleapi").value="yes":document.getElementById("singleapi").value="no",document.getElementById("market_state_id").value=this.response.user.market_id,(this.response.user.market_id=="4205"||this.apiservice.getconfigmode()=="staging"&&this.response.user.market_id=="4132")&&(document.getElementById("user_office_name").value=this.response.user.office_name),this.response.user.canada_office_logo!=""&&(document.getElementById("canada_office_logo").value=this.response.user.canada_office_logo),document.getElementById("user_full_details").innerHTML=JSON.stringify(this.response),this.MarketCodeNew!=""&&this.market_code!=this.MarketCodeNew&&(document.getElementById("market_code").innerHTML=JSON.stringify(this.MarketCodeNew)),(this.market_code=="PA"||this.market_code!=this.MarketCodeNew)&&this.ApiUrlData.market_name!=""&&typeof this.ApiUrlData.market_name<"u"&&(document.getElementById("market_name").innerHTML=this.ApiUrlData.market_name,document.getElementById("market_abbr_name").innerHTML=this.ApiUrlData.market_name);var D=window.location.hostname;D=D.replace(/^www\./,"");var A=new URL(this.ApiUrlData.one_app_url).hostname;if(D!=A.replace(/^www\./,"")){var U=new Date(Date.now()+864e5).toUTCString(),D=window.location.hostname;if(D=D.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"cross_dom",value:"yes"};let ae={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),ae).subscribe()}else document.cookie=`cross_dom=yes; expires=${U}; path=/ ; domain=${D}`}else{var U=new Date(Date.now()-864e5).toUTCString(),D=window.location.hostname;if(D=D.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:"cross_dom",value:"no"};let Ee={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),Ee).subscribe()}else document.cookie=`cross_dom=no; expires=${U}; path=/ ; domain=${D}`}if(this.Clearcookie("share_token"),this.RememberCookie(this.user_email,this.userremember,this.response.token,this.response.user.user_type),this.response.user.has_dashboard_access=="no"){if(this.response.user.user_type==1){this.Clearcookie("Y29uZmlnX3ZhcmlhYmxl");let q=document.getElementById("WEB_app");if(q)if(D!=A.replace(/^www\./,"")){document.getElementById("redirecturl").value=this.ApiUrlData.one_app_url,document.getElementById("login_from_domain").value=D;var V=new URL(this.ApiUrlData.one_app_url).origin;if(q.action=V+"/one_webapp_login.php",q.method="post",this.WebapploginTokenFun("ONEAPPLogin"),this.attemptV2Handoff())return;q.submit();return}else{if(q.action=this.ApiUrlData.one_app_url.replace(/^www\./,""),q.method="post",this.attemptV2Handoff())return;q.submit(),this.WebapploginTokenFun("ONEAPPLogin")}}}else if(this.response.user.user_type!=1){this.AppLoginLink=this.ApiUrlData.one_app_url,this.DashboardLoginLink=this.ApiUrlData.one_dashboard_url,this.isLoading=!1,this.CreateAccVisible=!1,this.reploginsection=!0,this.InfoVisible="display:block",this.LoginVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none";return}},E=>{if(!C){C=!0,console.warn("[signup] get_app_urls errored, retrying once",E),S();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[signup] Error fetching get_app_urls after retry:",E)})};S()}},u=>{this.isLoading=!1,console.error("Error fetching data:",u)});else if(this.response.userExists==!1&&this.response.valid_domain=="no"&&s!="yes"){this.isLoading=!1,this.EmailContent=`Wait, you might have a typo in your email address, are you sure you want to use this email address <b>${this.user_email}</b>?`,this.openModal();return}else{this.isLoading=!1,this.InfoVisible="display:block",this.UserInfoVisible=!0,this.LoginInVisible=!1,this.CreateAccVisible=!1,this.LoginVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none",setTimeout(()=>{let u=document.querySelector(".UserName");u&&this.renderer.selectRootElement(u).focus()},100);return}},a=>{if(console.error("Error fetching data:",a),this.isLoading=!1,a.error!=null&&a.error.account_status=="inactive"){this.CreateAccVisible=!1,this.InactiveUser=!0,this.InactiveUser
11Msg=this.sanitizer.bypassSecurityTrustHtml(this.decodeHtml(a.error.message));return}if(a.error!=null&&a.error.account_status=="pending_approval"){this.CreateAccVisible=!1,this.PendingApproval=!0,this.PendingApprovalMsg=this.sanitizer.bypassSecurityTrustHtml(this.decodeHtml(a.error.message));return}})}UserInfoNext(){if(this.user_firstname==""){this.firstname=!0,this.focusElement(this.FirstName);return}else this.firstname=!1,this.UserInfoBtn=!0;if(this.user_lastname==""){this.lastname=!0,this.focusElement(this.LastName);return}else this.lastname=!1;if(this.user_company==""){this.company=!0,this.focusElement(this.Company);return}else this.company=!1;if(this.user_phone==""){this.phone=!0,this.focusElement(this.PhoneNo);return}else{let t=/^(\d{10}|\(\d{3}\)\s?\d{3}-\d{4}|\d{3}-\d{3}-\d{4})$/;if(!this.user_phone||!t.test(this.user_phone)){this.phone=!0,this.focusElement(this.PhoneNo);return}else this.phone=!1,this.user_phone=this.formatPhoneNumber(this.user_phone)}if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){if(this.Show_2Factor_Auth_Mobile=="yes"){this.countySplit=this.selectedCountry.split("_"),this.countySplit=this.countySplit[0],this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:"GetTwoFactorAuthOTPSignup",email:this.user_email,Phone_number:this.user_phone,market_code:this.globalService.getmarket_code(),calling_from:"SignupArea",country_code:this.countySplit};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.OTPresponse=i.body,this.isLoading=!1,this.OTPresponse.status=="success"){this.Authpopup=this.OTPresponse.popup_details,this.AuthenticatorMsg=this.Authpopup.desc,this.AuthTitle=this.Authpopup.title,this.AuthBTN=this.Authpopup.btn_name,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.Authpopup.resend_code_enable=="yes"&&(this.AuthResentDis=!0,this.AuthResentBtn=this.Authpopup.resend_code_text),this.userlogintwofactAuthverify=!0,this.UserInfoVisible=!1,setTimeout(()=>{let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus()},300),this.startTimer();return}else if(this.OTPresponse.status=="continuesignup"){this.ShareAppNext();return}else this.toastalertshow=!0,this.toastmessage=this.OTPresponse.message,this.ToastApiError=!0;setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1},3e3)},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}else this.ShareAppNext();return}if(this.Show_2Factor_Auth_Mobile=="yes"){this.countySplit=this.selectedCountry.split("_"),this.countySplit=this.countySplit[0],this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:"GetTwoFactorAuthOTPSignup",email:this.user_email,Phone_number:this.user_phone,market_code:this.globalService.getmarket_code(),calling_from:"SignupArea",user_id:"",platform:"webapp",country_code:this.countySplit};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code(),token:""};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.OTPresponse=i.body,this.isLoading=!1,this.OTPresponse.status=="success"){this.Authpopup=this.OTPresponse.popup_details,this.AuthenticatorMsg=this.Authpopup.desc,this.AuthTitle=this.Authpopup.title,this.AuthBTN=this.Authpopup.btn_name,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.Authpopup.resend_code_enable=="yes"&&(this.AuthResentDis=!0,this.AuthResentBtn=this.Authpopup.resend_code_text),this.userlogintwofactAuthverify=!0,this.UserInfoVisible=!1,setTimeout(()=>{let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus()},100),this.startTimer();return}else this.OTPresponse.status=="continuesignup"?this.UserAreaSelectionFun():(this.toastalertshow=!0,this.toastmessage=this.response.message,this.ToastApiError=!0);setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1},3e3)},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}else this.UserAreaSelectionFun()}UserAreaSelectionFun(){this.User_Name=this.capitalizeFirstLetter(this.user_firstname),this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_market_area_details",this.formData={action:"GetStateDetails",market_code:this.globalService.getmarket_code(),state_code:"",county_id:"",city_id:"",office_id:"",user_id:"",device_id:this.apiservice.getdevice_id(),platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),latitude:"",longitude:"",promotion:"",promotion_type:"",continue_in_grouping:"",calling_from:"SignupArea",share_app_referrer_code:this.ShareAppCode,sso_code:this.sso_code};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.isLoading=!1,this.response=i.body,this.response.status!=null&&this.response.status=="Success")if(this.Select_State=this.response.area_details[0].label,this.Select_State_Value=this.response.area_details[0].selected_value,this.globalService.getmarket_code()=="CA"&&this.Select_State_Value=="CAN"){this.ShareAppCode=="canada"&&this.Clearcookie("share_token"),this.Select_State=this.response.area_details[0].selected_name,this.StateDetails=this.response.area_details[0].details,this.statecode=this.Select_State_Value,this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0,this.AreaVisible="display:block",this.AreaSelection=!0,this.InfoVisible="display:none",this.UserInfoVisible=!1,this.stateaction=this.response.area_details[0].action,this.CountySection=!1,this.CitySection=!1,this.OfficeSection=!1,this.LoginVisible="display:none",this.InfoVisible="display:none",this.RepVisible="display:none",this.MarketStylesBtn={},this.EscrowBtnUser={},this.Select_County=this.response.area_details[1].label,this.Select_County_Value=this.response.area_details[1].selected_value,this.CountyDetails=this.response.area_details[1].details,this.countyid=this.Select_County_Value,this.CountySection=!0,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid="",this.countyaction=this.response.area_details[1].action,this.Show_2Factor_Auth_Mobile=="yes"&&(this.userlogintwofactAuthverify=!1);return}else{this.StateDetails=this.response.area_details[0].details,this.response.area_details[0].selected_value!=null&&this.response.area_details[0].selected_value!=""&&(this.statecode=this.response.area_details[0].selected_value,this.Select_State_Value=""),this.response.area_details[1]!=null?(this.Select_County=this.response.area_details[1].label,this.Select_County_Value=this.response.area_details[1].selected_value,this.CountyDetails=this.response.area_details[1].details,this.countyaction=this.response.area_details[1].action,this.response.area_details[1].selected_value!=null&&this.response.area_details[1].selected_value!=""&&(this.countyid=this.response.area_details[1].selected_value,this.Select_County_Value=""),this.CountySection=!0):this.CountySection=!1,this.globalService.getmarket_code()=="INJ"&&this.EscrowofficerDetails!=null&&this.EscrowofficerDetails.length>0?(this.EscrowInfoDis=!0,this.AreaSectionNxtbtn=!1):(this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0),this.AreaVisible="display:block",this.AreaSelection=!0,this.InfoVisible="display:none",this.UserInfoVisible=!1,this.userlogintwofactAuthverify=!1,this.stateaction=this.response.area_details[0].action,this.CitySection=!1,this.OfficeSection=!1,this.LoginVisible="display:none",this.InfoVisible="display:none",this.RepVisible="display:none",this.MarketStylesBtn={},this.EscrowBtnUser={},this.Show_2Factor_Auth_Mobile=="yes"&&(this.userlogintwofactAuthverify=!1);return}else this.response.status!=null&&this.response.status=="SuccessFinish"&&(this.response.default_area!=null&&this.response.default_area!=""?this.GetDefaultAreaDetail
11s=this.response.default_area[0]:this.response.area_details!=null&&this.response.area_details!=""&&(this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!1,this.AreaFinishNxtbtn=!0,this.GetAutoAreaDetails=this.response.area_details,this.ProcessFaClosingCounty(this.response.area_details),this.GetAutoAreaDetails.forEach(o=>{o.action=="state_details"?(this.Select_State=o.label,this.Select_State_Value="",this.StateDetails=o.details,this.statecode=o.selected_value,this.AreaSelection=!0,this.stateaction=o.action,this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.countyid="",this.market_code_min="",this.cityid="",this.officeid="",this.CountyDetails="",this.MarketDetails="",this.CityDetails="",this.OfficeDetails=""):o.action=="county_details"?(this.Select_County=o.label,this.Select_County_Value="",this.CountyDetails=o.details,this.countyid=o.selected_value,this.countyaction=o.action,this.AreaSelection=!0,this.CountySection=!0,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid="",this.MarketDetails="",this.CityDetails="",this.OfficeDetails=""):o.action=="market_details"?(this.Select_Market=o.label,this.Select_Market_Value="",this.MarketDetails=o.details,this.market_code_min=o.selected_value,this.marketaction=o.action,this.AreaSelection=!0,this.MarketSection=!0,this.CitySection=!1,this.OfficeSection=!1,this.cityid="",this.officeid="",this.CityDetails="",this.OfficeDetails=""):o.action=="city_details"?(this.Select_City=o.label,this.Select_City_Value="",this.CityDetails=o.details,this.cityid=o.selected_value,this.cityaction=o.action,this.AreaSelection=!0,this.CitySection=!0,this.OfficeSection=!1,this.officeid="",this.OfficeDetails=""):o.action=="office_details"?(this.Select_Office=o.label,this.Select_Office_Value="",this.OfficeDetails=o.details,this.officeid=o.selected_value,this.officeaction=o.action,this.AreaSelection=!0,this.OfficeSection=!0):o.action=="rep_details"&&(this.RepDetails=o.details,this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0,this.AreaFinishNxtbtn=!1),this.AreaVisible="display:block",this.AreaSelection=!0,this.InfoVisible="display:none",this.UserInfoVisible=!1})))},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}EscrowUserInfoNext(){this.EscrowofficerDetails!=null&&this.EscrowofficerDetails.length>0?(this.RepListSec=!1,this.EscrowOfficerListSec=!0):(this.RepListSec=!0,this.EscrowOfficerListSec=!1),this.RepDetails!=null&&this.RepDetails!=""&&this.RepDetails.length>0||this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0?(this.AreaNext=!0,this.EscroFinishbtn=!1):(this.AreaNext=!1,this.EscroFinishbtn=!0),this.RepSelection=!0,this.AreaSelection=!1,this.ContentSec=this.Loanresponse.escrow_officer_label,this.AreaVisible="display:none",this.LoginVisible="display:none",this.InfoVisible="display:none",this.RepVisible="display:block"}SwitchAreaChangeFun(){this.EscrowBtnUser={},this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_market_area_details",this.formData={action:"GetStateDetails",market_code:this.globalService.getmarket_code(),state_code:"",county_id:"",city_id:"",office_id:"",user_id:"",device_id:this.apiservice.getdevice_id(),platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),latitude:"",longitude:"",promotion:"",promotion_type:"",continue_in_grouping:"",calling_from:"SwitchedArea",share_app_referrer_code:this.ShareAppCode,sso_code:this.sso_code||document.getElementById("Hdnuser_sso_access_code")?.value||""};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.isLoading=!1,this.response=i.body,this.response.status!=null&&this.response.status=="Success")if(this.Select_State=this.response.area_details[0].label,this.Select_State_Value=this.response.area_details[0].selected_value,this.globalService.getmarket_code()=="CA"&&this.Select_State_Value=="CAN"){this.ShareAppCode=="canada"&&this.Clearcookie("share_token"),this.Select_State=this.response.area_details[0].selected_name,this.StateDetails=this.response.area_details[0].details,this.statecode=this.Select_State_Value,this.Select_County=this.response.area_details[1].label,this.Select_County_Value=this.response.area_details[1].selected_value,this.CountyDetails=this.response.area_details[1].details,this.countyid=this.Select_County_Value,this.CountySection=!0,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid="",this.countyaction=this.response.area_details[1].action;return}else{this.StateDetails=this.response.area_details[0].details,this.response.area_details[0].selected_value!=null&&this.response.area_details[0].selected_value!=""&&(this.statecode=this.response.area_details[0].selected_value,this.Select_State_Value=""),this.response.area_details[1]!=null?(this.Select_County=this.response.area_details[1].label,this.Select_County_Value=this.response.area_details[1].selected_value,this.CountyDetails=this.response.area_details[1].details,this.countyaction=this.response.area_details[1].action,this.response.area_details[1].selected_value!=null&&this.response.area_details[1].selected_value!=""&&(this.countyid=this.response.area_details[1].selected_value,this.Select_County_Value=""),this.CountySection=!0):this.CountySection=!1,this.LoginVisible="display:none",this.CreateAccVisible=!1,this.AreaVisible="display:block",this.AreaSelection=!0,this.InfoVisible="display:none",this.UserInfoVisible=!1,this.stateaction=this.response.area_details[0].action,this.CitySection=!1,this.OfficeSection=!1,this.RepVisible="display:none";return}else this.response.status!=null&&this.response.status=="SuccessFinish"&&(this.response.default_area!=null&&this.response.default_area!=""?this.GetDefaultAreaDetail
11s=this.response.default_area[0]:this.response.area_details!=null&&this.response.area_details!=""&&(this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!1,this.AreaFinishNxtbtn=!0,this.GetAutoAreaDetails=this.response.area_details,this.ProcessFaClosingCounty(this.response.area_details),this.GetAutoAreaDetails.forEach(o=>{o.action=="state_details"?(this.Select_State=o.label,this.Select_State_Value="",this.StateDetails=o.details,this.statecode=o.selected_value,this.AreaSelection=!0,this.stateaction=o.action,this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.countyid="",this.market_code_min="",this.cityid="",this.officeid="",this.CountyDetails="",this.MarketDetails="",this.CityDetails="",this.OfficeDetails=""):o.action=="county_details"?(this.Select_County=o.label,this.Select_County_Value="",this.CountyDetails=o.details,this.countyid=o.selected_value,this.countyaction=o.action,this.AreaSelection=!0,this.CountySection=!0,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid="",this.MarketDetails="",this.CityDetails="",this.OfficeDetails=""):o.action=="market_details"?(this.Select_Market=o.label,this.Select_Market_Value="",this.MarketDetails=o.details,this.market_code_min=o.selected_value,this.marketaction=o.action,this.AreaSelection=!0,this.MarketSection=!0,this.CitySection=!1,this.OfficeSection=!1,this.cityid="",this.officeid="",this.CityDetails="",this.OfficeDetails=""):o.action=="city_details"?(this.Select_City=o.label,this.Select_City_Value="",this.CityDetails=o.details,this.cityid=o.selected_value,this.cityaction=o.action,this.AreaSelection=!0,this.CitySection=!0,this.OfficeSection=!1,this.officeid="",this.OfficeDetails=""):o.action=="office_details"?(this.Select_Office=o.label,this.Select_Office_Value="",this.OfficeDetails=o.details,this.officeid=o.selected_value,this.officeaction=o.action,this.AreaSelection=!0,this.OfficeSection=!0):o.action=="rep_details"&&(this.RepDetails=o.details,this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0,this.AreaFinishNxtbtn=!1),this.AreaVisible="display:block",this.AreaSelection=!0,this.InfoVisible="display:none",this.UserInfoVisible=!1})))},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}ProcessFaClosingCounty(t){if(this.ClosingCountyShow=!1,this.closingcountyerrordis=!1,t!=null&&t!=""&&t.length>0)for(let i=0;i<t.length;i++){let o=t[i];if(o!=null&&o.action=="closing_county_details"){this.ClosingCountyDetails=o.details,this.Select_ClosingCounty=o.label,this.Select_ClosingCounty_Value="",this.closing_county_id=o.selected_value!=null?o.selected_value:"",this.ClosingCountyShow=!0;break}}}FaClosingCountyValid(){return this.ClosingCountyShow&&(this.closing_county_id==null||this.closing_county_id==""||this.closing_county_id=="0")?(this.closingcountyerrordis=!0,this.closingcountyerror="Please select your closing county!",!1):(this.closingcountyerrordis=!1,!0)}AreaSelectionNext(){this.FaClosingCountyValid()&&(this.globalService.getmarket_code()=="INJ"?(this.RepDetails!=null&&this.RepDetails!=""&&this.RepDetails.length>0?(this.EscrowOfficerListSec=!1,this.RepSelection=!0,this.RepListSec=!0,this.AreaSelection=!1,this.ContentSec="Select your Title Rep",this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0&&(this.RepSectionNxtbtn=!1,this.LoanSectionNxtbtn=!0)):this.EscrowofficerDetails!=null&&this.EscrowofficerDetails!=""&&this.EscrowofficerDetails.length>0?(this.RepSectionNxtbtn=!1,this.RepEscrowSectionbtn=!0):this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0&&(this.AreaSelection=!1,this.RepSelection=!0,this.RepListSec=!1,this.LoanOfficerListSec=!0,this.RepSectionNxtbtn=!1,this.LoanSectionNxtbtn=!0,this.LoanSectionfnbtn=!0,this.ContentSec=this.Loanresponse.loan_officer_label),this.RepVisible="display:block",this.AreaVisible="display:none",this.LoginVisible="display:none",this.InfoVisible="display:none"):(this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0?(this.RepSectionNxtbtn=!1,this.LoanSectionNxtbtn=!0):this.EscrowofficerDetails!=null&&this.EscrowofficerDetails!=""&&this.EscrowofficerDetails.length>0&&(this.RepSectionNxtbtn=!1,this.RepEscrowSectionbtn=!0),this.RepVisible="display:block",this.RepSelection=!0,this.AreaVisible="display:none",this.AreaSelection=!1,this.LoginVisible="display:none",this.InfoVisible="display:none"))}
11EscrowSelectionNext(){this.RepDetails!=null&&this.RepDetails!=""&&this.RepDetails.length>0?(this.EscrowOfficerListSec=!1,this.RepSelection=!0,this.RepListSec=!0,this.AreaSelection=!1,this.ContentSec="Select your Title Rep",this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0&&(this.RepSectionNxtbtn=!1,this.LoanSectionNxtbtn=!0)):this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0&&(this.AreaSelection=!1,this.RepSelection=!0,this.RepListSec=!1,this.LoanOfficerListSec=!0,this.RepSectionNxtbtn=!1,this.LoanSectionNxtbtn=!0,this.LoanSectionfnbtn=!0,this.ContentSec=this.Loanresponse.loan_officer_label,this.EscrowOfficerListSec=!1),this.RepVisible="display:block",this.AreaVisible="display:none",this.LoginVisible="display:none",this.InfoVisible="display:none"}AreaChangeFun(t){if(this.ClosingCountyShow=!1,this.statecode==""?(this.countyid="",this.cityid="",this.officeid="",this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1):this.countyid==""&&(this.OfficeSection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1),t=="state_details"?(this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.countyid="",this.market_code_min="",this.cityid="",this.officeid=""):t=="county_details"?(this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid=""):t=="market_details"?(this.CitySection=!1,this.OfficeSection=!1,this.cityid="",this.officeid=""):t=="city_details"?(this.OfficeSection=!1,this.officeid=""):t=="office_details"&&(this.OfficeSection=!0),this.globalService.getmarket_code()!="INJ"&&(this.AreaFinishNxtbtn=!1,this.AreaSectionNxtbtn=!0),this.statecode==""){this.MarketStylesBtn={};return}else if(this.countyid==""&&this.CountySection==!0){this.MarketStylesBtn={};return}else if(this.market_code_min==""&&this.MarketSection==!0){this.MarketStylesBtn={};return}else if(this.cityid==""&&this.CitySection==!0){this.MarketStylesBtn={};return}else if(this.officeid==""&&this.OfficeSection==!0){this.MarketStylesBtn={};return}this.market_code_min!=null&&this.market_code_min!=""?this.market_code=this.market_code_min:this.market_code=this.globalService.getmarket_code(),this.EscrowBtnUser={},this.MarketStylesBtn={},this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_market_area_details",this.formData={action:t,market_code:this.market_code,state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,user_id:"",device_id:this.apiservice.getdevice_id(),platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),latitude:"",longitude:"",promotion:"",promotion_type:"",continue_in_grouping:"",calling_from:"SignupArea",share_app_referrer_code:this.ShareAppCode};let i={user_email:this.user_email,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(o=>{if(this.response=o.body,this.isLoading=!1,this.Area_Disclaimer_Show=!1,this.response.status!=null&&this.response.status=="Success")if(this.response.area_details[0].inputdetails!=null){this.standalonePopupTitle=this.response.area_details[0].title,this.standalonePopupInputs=this.response.area_details[0].inputdetails,this.standalonePopupButtons=this.response.area_details[0].buttondetails,this.standalonePopupDismissible=this.response.area_details[0].dismissible,this.standaloneInputValues={},this.standaloneTriggeredFrom=t,this.standaloneStatePopup=!0;return}else if(this.response.area_details[0].action=="county_details"){this.Select_County=this.response.area_details[0].label,this.Select_County_Value=this.response.area_details[0].selected_value,this.CountyDetails=this.response.area_details[0].details,this.CountySection=!0,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid="",this.countyaction=this.response.area_details[0].action,this.MarketDetails="",this.CityDetails="",this.OfficeDetails="";return}else if(this.response.area_details[0].action=="market_details"){this.market_code_min="",this.Select_Market=this.response.area_details[0].label,this.Select_Market_Value=this.response.area_details[0].selected_value,this.MarketDetails=this.response.area_details[0].details,this.MarketSection=!0,this.CitySection=!1,this.OfficeSection=!1,this.cityid="",this.officeid="",this.marketaction=this.response.area_details[0].action,this.CityDetails="",this.OfficeDetails="";return}else if(this.response.area_details[0].action=="city_details"){this.cityid="",this.Select_City=this.response.area_details[0].label,this.Select_City_Value=this.response.area_details[0].selected_value,this.CityDetails=this.response.area_details[0].details,this.CitySection=!0,this.OfficeSection=!1,this.officeid="",this.cityaction=this.response.area_details[0].action,this.OfficeDetails="";return}else if(this.response.area_details[0].action=="office_details"){this.officeid="",this.Select_Office=this.response.area_details[0].label,this.Select_Office_Value=this.response.area_details[0].selected_value,this.OfficeDetails=this.response.area_details[0].details,this.OfficeSection=!0,this.officeaction=this.response.area_details[0].action;return}else if(this.response.area_details[0].action=="canada_office_popup_details"){this.Canadacontent=this.response.area_details[0].label,this.titleofcanada=this.response.area_details[0].title,this.canadaAction=this.response.area_details[0].action,this.OfficeSection=!0,this.canadaofficepopup=!0,this.isLoading=!1;return}else if(this.response.area_details[0].action=="popup_details"){let s=this.response.area_details[0].details;this.redirectModal=!0,this.redirectModalContent=this.response.area_details[0].label,this.redirectModalButton1=s[0].name,this.redirectModalButton2=s[1].name,this.redirectLink=s[0].value,this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1;return}else this.Area_Disclaimer=this.response.area_disclaimer,this.Area_Disclaimer!=""&&(this.Area_Disclaimer_Show=!0),this.RepDetail
11s="",this.ApiUrl=this.apiservice.GetApiUrl()+"one_lender_details",this.formData={action:"GetLoanOfficerDetails",market_code:this.globalService.getmarket_code(),state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,lender_id:"",platform:this.apiservice.getplatform(),promotion:"",promotion_type:"",continue_in_grouping:"",calling_from:"SignupArea"},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(s=>{this.Loanresponse=s.body,this.isLoading=!1,this.Loanresponse.status!=null&&this.Loanresponse.status=="Success"?(this.LoanOfficererDetails=this.Loanresponse.loan_officer_details,this.EscrowofficerDetails=this.Loanresponse.escrow_officer_details):this.globalService.getmarket_code()=="INJ"&&this.EscrowofficerDetails!=null&&this.EscrowofficerDetails.length>0?(this.EscrowInfoDis=!0,this.AreaSectionNxtbtn=!1,this.EscrowBtnUser={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}):(this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0,this.RepSectionNxtbtn=!0,this.MarketStylesBtnArea={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}),this.response.area_details[0].action=="rep_details"&&(this.globalService.getmarket_code()=="CA"&&this.statecode=="CAN"&&(this.ContentSec="Select your Lawyer"),this.RepDetails=this.response.area_details[0].details,this.repaction=this.response.area_details[0].action)},s=>{console.error("Error fetching data:",s)});else this.response.status!=null&&(this.response.status=="SuccessFinish"||this.response.status=="Finish")&&(this.response.default_area!=null&&this.response.default_area!=""?this.GetDefaultAreaDetails=this.response.default_area[0]:this.response.area_details!=null&&this.response.area_details!=""&&(this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!1,this.AreaFinishNxtbtn=!0,this.GetAutoAreaDetails=this.response.area_details,this.ProcessFaClosingCounty(this.response.area_details),this.GetAutoAreaDetails.forEach(s=>{s.action=="state_details"?(this.Select_State=s.label,this.Select_State_Value="",this.StateDetails=s.details,this.statecode=s.selected_value,this.AreaSelection=!0,this.stateaction=s.action,this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.countyid="",this.market_code_min="",this.cityid="",this.officeid="",this.CountyDetails="",this.MarketDetails="",this.CityDetails="",this.OfficeDetails=""):s.action=="county_details"?(this.Select_County=s.label,this.Select_County_Value="",this.CountyDetails=s.details,this.countyid=s.selected_value,this.countyaction=s.action,this.AreaSelection=!0,this.CountySection=!0,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1,this.market_code_min="",this.cityid="",this.officeid="",this.MarketDetails="",this.CityDetails="",this.OfficeDetails=""):s.action=="market_details"?(this.Select_Market=s.label,this.Select_Market_Value="",this.MarketDetails=s.details,this.market_code_min=s.selected_value,this.marketaction=s.action,this.AreaSelection=!0,this.MarketSection=!0,this.CitySection=!1,this.OfficeSection=!1,this.cityid="",this.officeid="",this.CityDetails="",this.OfficeDetails=""):s.action=="city_details"?(this.Select_City=s.label,this.Select_City_Value="",this.CityDetails=s.details,this.cityid=s.selected_value,this.cityaction=s.action,this.AreaSelection=!0,this.CitySection=!0,this.OfficeSection=!1,this.officeid="",this.OfficeDetails=""):s.action=="office_details"?(this.Select_Office=s.label,this.Select_Office_Value="",this.OfficeDetails=s.details,this.officeid=s.selected_value,this.officeaction=s.action,this.AreaSelection=!0,this.OfficeSection=!0):s.action=="rep_details"&&(this.RepDetails=s.details,this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0,this.AreaFinishNxtbtn=!1),this.AreaVisible="display:block",this.AreaSelection=!0,this.InfoVisible="display:none",this.UserInfoVisible=!1}
11)),this.RepDetails="",this.LoanOfficererDetails="",this.EscrowofficerDetails="",this.ApiUrl=this.apiservice.GetApiUrl()+"one_lender_details",this.formData={action:"GetLoanOfficerDetails",market_code:this.globalService.getmarket_code(),state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,lender_id:"",platform:this.apiservice.getplatform(),promotion:"",promotion_type:"",continue_in_grouping:"",calling_from:"SignupArea"},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(s=>{this.Loanresponse=s.body,this.isLoading=!1,this.Loanresponse.status!=null&&this.Loanresponse.status=="Success"&&(this.LoanOfficererDetails=this.Loanresponse.loan_officer_details,this.EscrowofficerDetails=this.Loanresponse.escrow_officer_details),this.response.area_details!=null&&this.response.area_details[0].action!=""&&this.response.area_details[0].action=="rep_details"?(this.globalService.getmarket_code()=="CA"&&this.statecode=="CAN"&&(this.ContentSec="Select your Lawyer"),this.RepDetails=this.response.area_details[0].details,this.repaction=this.response.area_details[0].action,this.globalService.getmarket_code()=="INJ"&&this.EscrowofficerDetails!=null&&this.EscrowofficerDetails.length>0?(this.EscrowInfoDis=!0,this.AreaSectionNxtbtn=!1,this.EscrowBtnUser={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}):(this.EscrowInfoDis=!1,this.AreaSectionNxtbtn=!0,this.RepSectionNxtbtn=!0,this.MarketStylesBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"})):this.globalService.getmarket_code()=="INJ"?this.EscrowofficerDetails!=null&&this.EscrowofficerDetails.length>0?(this.EscrowInfoDis=!0,this.AreaSectionNxtbtn=!1,this.AreaFinishNxtbtn=!1,this.EscrowBtnUser={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}):this.LoanOfficererDetails!=null&&this.LoanOfficererDetails.length>0?(this.AreaSectionNxtbtn=!0,this.AreaFinishNxtbtn=!1,this.EscrowInfoDis=!1,this.MarketStylesBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}):(this.AreaFinishNxtbtn=!0,this.AreaSectionNxtbtn=!1,this.EscrowInfoDis=!1,this.MarketStylesBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}):(this.AreaFinishNxtbtn=!0,this.AreaSectionNxtbtn=!1,this.EscrowInfoDis=!1,this.MarketStylesBtnArea={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.MarketStylesBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"}),this.Area_Disclaimer=this.response.area_disclaimer,this.Area_Disclaimer!=""&&(this.Area_Disclaimer_Show=!0)},s=>{console.error("Error fetching data:",s)}))},o=>{this.isLoading=!1,console.error("Error fetching data:",o)})}closeCtoAgentModal(){this.redirectModal=!1}CloseSignup(){this.screenWidth=window.innerWidth;let t=this.location.path().split("id=");t!=null&&t.length>1?this.widgetLogin=t[1]:this.widgetLogin="",this.widgetLogin=="widget"&&this.screenWidth>=992?this.setStyleForClass("SignupPopup","display","none"):(this.globalService.setuseremail(""),this.globalService.setuser_pass(""),this.globalService.setsignup_sec(""),this.globalService.setuser_firstname(""),this.setvalue("NewUserEmail",""),this.RefereshData(),this.setStyleForClass("SignupPopup","display","none"),this.setStyleForClass("WholeBodyDiplay","display","block"),this.setStyleForClass("CreateAccDiv","display","block"))}setvalue(t,i){let o=document.getElementById(t);this.renderer.setProperty(o,"value",i)}RememberCookie(t,i,o,s){var a,u;if(i==1?a=new Date(Date.now()+168*3600*1e3).toUTCString():a=new Date(Date.now()-168*3600*1e3).toUTCString(),u=window.location.hostname,u=u.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){document.cookie=`hp_email=${t}; expires=${a}; path=/ ; domain=${u}`,this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookieWithExpire",name:"hp_email",value:t,expire:a};let v={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),v).subscribe()}else document.cookie=`hp_email=${t}; expires=${a}; path=/ ; domain=${u}`;if(o!=null&&o!="")if(a=new Date(Date.now()+50*365*24*3600*1e3).toUTCString(),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){document.cookie=`hp_utoken=${o}; expires=${a}; path=/ ; domain=${u}`,this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"hp_utoken",value:o};let v={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),v).subscribe()}else document.cookie=`hp_utoken=${o}; expires=${a}; path=/ ; domain=${u}`;if(s!=null&&s!="")if(a=new Date(Date.now()+50*365*24*3600*1e3).toUTCString(),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){document.cookie=`hp_usertype=${s}; expires=${a}; path=/ ; domain=${u}`,this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"hp_usertype",value:s};let v={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),v).subscribe()}else document.cookie=`hp_usertype=${s}; expires=${a}; path=/ ; domain=${u}`}WebAppLoginFun(t,i){this.isLoading=!0;try{let u=window.location.hostname.toLowerCase().replace(/^www\./,"");if(["php8.palmagent.com","php8.fidelityagent.com","staging.eagleagentapp.c
11om","pentest.palmagent.com"].includes(u)&&t){let C=new URL(t);t=window.location.origin+C.pathname+C.search+C.hash}}catch{}if(t!=null&&t!=""){let u=document.getElementById("WEB_app");if(u){var o=window.location.hostname;o=o.replace(/^www\./,"");var s=new URL(t).hostname;if(o!=s.replace(/^www\./,"")){document.getElementById("redirecturl").value=t;var a=new URL(t).origin;if(u.action=a+"/one_webapp_login.php",u.method="post",this.WebapploginTokenFun(i),this.attemptV2Handoff())return;u.submit();return}else{if(u.action=t.replace(/^www\./,""),u.method="post",this.attemptV2Handoff())return;u.submit(),this.WebapploginTokenFun(i),this.isLoading=!1}}}}attemptV2Handoff(){try{let t=this.response;if(!t||t.target_app!=="v2"||!t.exchange||typeof t.exchange!="string"||!t.target_url||typeof t.target_url!="string")return!1;let i=t.target_url+"#exchange="+encodeURIComponent(t.exchange);return window.location.href=i,!0}catch(t){return console.error("[attemptV2Handoff]",t),!1}}SelectCheckBox(){if(this.useragree==0){var t=document.getElementById("NewUserEmail").value;let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/,o=(this.user_email!=""||t!="")&&(i.test(this.user_email)||i.test(t)),s=this.isSSOSignup||this.Password!=""&&this.ConfPassword!="";o&&s&&(this.SelectCheckImg="ng_assets/images/checkbox_select.png",this.useragree=1,this.DownloadStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"})}else this.SelectCheckImg="ng_assets/images/checkbox_unselect.png",this.useragree=0,this.DownloadStyles={}}focusElement(t){let i=t.toArray();i.length>0&&i[0].nativeElement.focus()}validateNumberInput(t){let i=t.target;i.removeAttribute("maxLength");let o=/^\(\d{3}\) \d{3}-\d{4}$/,s=i.value;!o.test(s)&&this.user_phone.length<=12?(i.maxLength=12,s=s.replace(/[^0-9-]/g,""),this.user_phone=s,i.value=s,this.user_phone.length==3||this.user_phone.length==7?this.user_phone=this.user_phone+"-":this.user_phone.indexOf("-")===-1&&this.user_phone.length==10&&(i.maxLength=10,this.user_phone=this.user_phone)):(i.removeAttribute("maxLength"),this.user_phone.length>12&&(i.maxLength=14,this.user_phone=this.user_phone))}PastePhnNumber(t){let i=t.target;i.removeAttribute("maxLength");let o=i.value;this.user_phone=o}OnchangeBtn(){if(this.user_firstname!=""&&this.user_lastname!=""&&this.user_company!=""&&this.user_phone!=""){let t=/^(\d{10}|\(\d{3}\)\s?\d{3}-\d{4}|\d{3}-\d{3}-\d{4})$/;!this.user_phone||!t.test(this.user_phone)?(this.MarketStylesBtnUser={},this.MarketStylesBtn={}):(this.MarketStylesBtnUser={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.MarketStylesBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"})}else this.MarketStylesBtnUser={},this.MarketStylesBtn={}}formatPhoneNumber(t){let i=t.replace(/\D/g,"");return i.length===10?i.replace(/(\d{3})(\d{3})(\d{4})/,"$1-$2-$3"):"Invalid phone number"}RepCheckBoxFun(t,i,o,s,a){this.reperrordis=!1,this.reperror="";let u=document.getElementsByClassName("Checkboximgrep");Array.from(u).forEach(S=>{S.src="ng_assets/images/checkbox_unselect.png"}),t!=null&&t!="0"?(this.rep_name=i,this.rep_email=s,this.rep_phone=a.replace(/\D/g,""),this.rep_phone=this.rep_phone.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"),this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url("+o+")"},this.rep_dynamic_change=!0,this.rep_static_change=!1):(this.rep_dynamic_change=!1,this.rep_static_change=!0,this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url(ng_assets/images/rep_default_new.png)"});var v="RepCheckBox_"+t;let C=document.getElementById(v);C&&(C.src="ng_assets/images/checkbox_select.png"),document.getElementById("Hdnuser_rep_id").value=t,this.MarketStylesBtnFin={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all","border-radius":"0px 6px 6px 0px"}}LoanOfficerFun(t,i,o,s,a){this.loanofficererrordis=!1,this.loanofficererror="";let u=document.getElementsByClassName("Checkboximgloan");Array.from(u).forEach(S=>{S.src="ng_assets/images/checkbox_unselect.png"}),t!=null&&t!="0"&&(this.rep_name=i,this.rep_email=s,this.rep_phone=a.replace(/\D/g,""),this.rep_phone=this.rep_phone.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"),this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url("+o+")"});var v="LoanofficerBox_"+t;let C=document.getElementById(v);C&&(C.src="ng_assets/images/checkbox_select.png"),document.getElementById("Hdnuser_loanofficer_id").value=t,this.MarketStylesBtnLoan={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all","border-radius":"0px 6px 6px 0px"}}EscrowofficerFun(t,i,o,s,a){this.escrowofficererrordis=!1,this.escrowofficererror="";let u=document.getElementsByClassName("Checkboximgescrow");Array.from(u).forEach(S=>{S.src="ng_assets/images/checkbox_unselect.png"}),t!=null&&t!="0"&&(this.rep_name=i,this.rep_email=s,this.rep_phone=a.replace(/\D/g,""),this.rep_phone=this.rep_phone.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"),this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url("+o+")"});var v="EscrowofficerBox_"+t;let C=document.getElementById(v);C&&(C.src="ng_assets/images/checkbox_select.png"),document.getElementById("Hdnuser_escrowofficer_id").value=t,this.MarketStylesBtnEscrow={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all","border-radius":"0px 6px 6px 0px"}}RepSelectionNext(t){var i=document.getElementById("Hdnuser_rep_id").value,o=document.getElementById("Hdnuser_escrowofficer_id").value,s=document.getElementById("Hdnuser_loanofficer_id").value;if(t=="Loanofficer")this.RepListSec=!1,this.LoanOfficerListSec=!0,this.ContentSec=this.Loanresponse.loan_officer_label,this.globalService.getmarket_code()!="INJ"?this.EscrowofficerDetails!=null&&this.EscrowofficerDetails.length>0?this.EscrowSectionNxtbtn=!0:this.LoanSectionfnbtn=!0:(this.LoanSectionfnbtn=!0,this.EscrowSectionNxtbtn=!1);else if(t=="EscrowOfficer"){var s=document.getElementById("Hdnuser_loanofficer_id").value;if(this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0&&s==""){this.loanofficererrordis=!0,this.loanofficererror="Please choose your loan officer!";return}this.RepListSec=!1,this.LoanOfficerListSec=!1,this.EscrowOfficerListSec=!0,this.ContentSec=this.Loanresponse.escrow_officer_label}else if(t=="SignupFinish"){if(this.market_code.includes("@@")){let S=this.market_code.split("@@");this.market_code=S[1]}else this.market_code=this.market_code;let C={user_email:this.user_email,market_code:this.globalService.getmarket_code(),token:this.sso_token};this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"login",this.formData={email:this.user_email,market_code:this.market_code,password:this.Password,share_app_referrer_code:this.ShareAppCode,market_state_id:"",share_app_action:"",promotion:"",promotion_type:"",platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),app_build_date:this.apiservice.getapp_build_date(),user_agent:btoa(navigator.userAgent),ip_address:this.ip_address,login_from:"DownloadSitePage",shareapp_token_id:"",sso_code:this.sso_code},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),C).subscribe(S=>{if(this.response=S.body,this.get_market_code=this.response.user.market_code,this.market_code=="PO"?this.MarketCodeNew=this.market_code:this.get_market_code!=null&&this.get_market_code!=""?this.MarketCodeNew=this.get_market_code:this.MarketCodeNew=this.market_code,this.response.user.user_type!=1&&this.response.user.rep_user_market_list!=""&&this.MarketCodeNew!=this.market_code){this.RepMarketList=this.response.user.rep_user_market_list;for(var E=0;E<this.RepMarketList.length;E++)if(this.MarketCodeNew==this.RepMarketList[E].market_code){this.MarketCodeNew=this.RepMarketList[E].market_code;break}}this.ApiUrl=this.apiservice.GetApiUrl()+"get_app_urls.php",this.formData={email:this.user_email,market_code:this.MarketCodeNew,UID:this.response.user.id,platform:"",getipaddress:"",userAgent:btoa(navigator.userAgent),domain:window.location.hostname};let D=!1,A=()=>{this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),C).subscribe(U=>{if(this.ApiUrlData=U.body,!this.ApiUrlData||!this.ApiUrlData.one_app_url){if(!D){D=!0,console.warn("[signup] get_app_urls returned empty (Finish), retrying once"),A();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[signup] get_app_urls returned empty body after retry (Finish)",U);return}document.getElementById("one_app_aws_url").value=this.ApiUrlData.one_app_aws_url,document.getElementById("hdn_UserToken").value=this.response.token,document.getElementById("using_master_password").value="",document.getElementById("LoginToAction").value="ONEAPPLogin",this.apiservice.getconfigmode()=="staging"||this.SingleApiArray.includes(this.MarketCodeNew)?document.getElementById("singleapi").value="yes":document.getElementById("singleapi").value="no",document.getElementById("market_state_id").value=this.response.user.market_id,(this.response.user.market_id=="4205"||this.apiservice.getconfigmode()=="staging"&&this.response.user.market_id=="4132")&&(document.getElementById("user_office_name").value=this.response.user.office_name),this.response.user.canada_office_logo!=""&&(document.getElementById("canada_office_logo").value=this.response.user.canada_office_logo),document.getElementById("user_full_details").innerHTML=JSON.stringify(this.response),this.MarketCodeNew!=""&&this.market_code!=this.MarketCodeNew&&(document.getElementById("market_code").innerHTML=JSON.stringify(this.MarketCodeNew)),(this.market_code=="PA"||this.market_code!=this.MarketCodeNew)&&this.ApiUrlData.market_name!=""&&typeof this.ApiUrlData.market_name!=null&&(document.getElementById("market_name").innerHTML=this.ApiUrlData.market_name,document.getElementById("market_abbr_name").innerHTML=this.ApiUrlData.market_name);var V=window.location.hostname;V=V.replace(/^www\./,"");var q=new URL(this.ApiUrlData.one_app_url).hostname;if(V!=q.replace(/^www\./,"")){var ae=new Date(Date.now()+864e5).toUTCString(),V=window.location.hostname;if(V=V.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"cross_dom",value:"yes"};let lt={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),lt).subscribe()}else document.cookie=`cross_dom=yes; expires=${ae}; path=/ ; domain=${V}`}else{var ae=new Date(Date.now()-864e5).toUTCString(),V=window.location.hostname;if(V=V.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:"cross_dom",value:"no"};let tt={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),tt).subscribe()}else document.cookie=`cross_dom=no; expires=${ae}; path=/ ; domain=${V}`}if(this.RememberCookie(this.user_email,this.userremember,this.response.token,this.response.user.user_type),this.Clearcookie("share_token"),this.response.user.has_dashboard_access=="no"){if(this.response.user.user_type==1){let ye=document.getElementById("WEB_app");if(ye)if(V!=q.replace(/^www\./,"")){document.getElementById("redirecturl").value=this.ApiUrlData.one_app_url,document.getElementById("login_from_domain").value=V;var Ee=new URL(this.ApiUrlData.one_app_url).origin;if(ye.action=Ee+"/one_webapp_login.php",ye.method="post",this.WebapploginTokenFun("ONEAPPLogin"),this.attemptV2Handoff())return;ye.submit();return}else{if(ye.action=this.ApiUrlData.one_app_url.replace(/^www\./,""),ye.method="post",this.attemptV2Handoff())return;ye.submit(),this.WebapploginTokenFun("ONEAPPLogin")}}}else if(this.response.user.user_type!=1){this.AppLoginLink=this.ApiUrlData.one_app_url,this.DashboardLoginLink=this.ApiUrlData.one_dashboard_url,this.isLoading=!1,this.userlogin=!1,this.reploginsection=!0;return}},U=>
11{if(!D){D=!0,console.warn("[signup] get_app_urls errored (Finish), retrying once",U),A();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[signup] Error fetching get_app_urls after retry (Finish):",U)})};A()},S=>{this.isLoading=!1,console.error("Error fetching data:",S)})}else if(t=="Finish"||t=="ShareApp_Signup"){if(!this.FaClosingCountyValid())return;if(this.LoanOfficererDetails!=null&&this.LoanOfficererDetails!=""&&this.LoanOfficererDetails.length>0){if(s==""){this.loanofficererrordis=!0,this.loanofficererror="Please choose your loan officer!";return}}else if(this.EscrowofficerDetails!=null&&this.EscrowofficerDetails!=""&&this.EscrowofficerDetails.length>0&&o==""){this.escrowofficererrordis=!0,this.escrowofficererror="Please choose your escrow officer!";return}var a=document.getElementById("Hdnuser_switchstatus").value;if(a=="Y"){var i=document.getElementById("Hdnuser_rep_id").value,u=document.getElementById("Hdnuser_id").value,v=document.getElementById("Hdnuser_token").value;this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_market_area_details",this.formData={action:"UpdateSwitchedAreaDetails",market_code:this.globalService.getmarket_code(),state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,user_id:u,rep_id:i,device_id:btoa(navigator.userAgent),platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),latitude:"",longitude:"",promotion:"",promotion_type:"",calling_from:"SwitchedArea",share_app_referrer_code:this.ShareAppCode,sso_code:this.sso_code};let S={user_email:this.user_email,market_code:this.globalService.getmarket_code(),token:v};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),S).subscribe(E=>{if(this.response=E.body,this.response.status!=null&&this.response.status=="Success"){var D=document.getElementById("hdn_user_switch_2fa").value;if(this.sso_token=this.response.token,D=="yes"){var A=document.getElementById("hdn_user_email").value,U=document.getElementById("Hdnuser_phone").value,V=document.getElementById("Hdnuser_token").value;this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:"GetTwoFactorAuthOTPLogin",email:A,Phone_number:U,market_code:this.globalService.getmarket_code(),calling_from:"LoginArea",user_id:u,platform:"webapp",sso_code:this.sso_code};let q={user_email:A,market_code:this.globalService.getmarket_code(),token:V,user_id:u,sso_code:this.sso_code};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),q).subscribe(ae=>{if(this.OTPresponse=ae.body,this.isLoading=!1,this.OTPresponse.status=="success"){this.Authpopup=this.OTPresponse.popup_details,this.AuthenticatorMsg=this.Authpopup.desc,this.AuthTitle=this.Authpopup.title,this.AuthBTN=this.Authpopup.btn_name,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.Authpopup.resend_code_enable=="yes"&&(this.AuthResentDis=!0,this.AuthResentBtn=this.Authpopup.resend_code_text),this.userlogintwofactAuthverify=!0,this.UserInfoVisible=!1,this.RepSelection=!1,this.LoanOfficerListSec=!1,this.EscrowOfficerListSec=!1,this.user_email=A,this.user_phone=U,setTimeout(()=>{let Ee=document.getElementById("OTPVerifyOne");Ee&&this.renderer.selectRootElement(Ee).focus(),this.setStyleForClass("UserInfoBackBtn","display","none"),this.setStyleForClass("AuthUserInfoBtnuser","width","100%"),this.setStyleForClass("AuthUserInfoBtnuser","border-radius","6px")},100),this.startTimer();return}else this.OTPresponse.status=="continuelogin"?(this.SwitchFinishBtn=!0,this.UserFinishBtn=!1,this.LoginSec=!1,this.WebappLoginSec=!0,this.isLoading=!1):(this.toastalertshow=!0,this.toastmessage=this.response.message,this.ToastApiError=!0);setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1},3e3)},ae=>{this.isLoading=!1,console.error("Error fetching data:",ae)})}else this.SwitchFinishBtn=!0,this.UserFinishBtn=!1,this.LoginSec=!1,this.WebappLoginSec=!0,this.isLoading=!1;
11this.RefreshMarketBrandAndUrls(),this.AppstoreValue==""&&this.playstoreValue==""&&(this.AppDownload=!1,this.AppDownloaddiv=!0);return}})}else{if(this.isLoading=!0,this.market_code_min!=null&&this.market_code_min!=""?this.market_code=this.market_code_min:this.market_code=this.globalService.getmarket_code(),t=="ShareApp_Signup"&&(this.market_code=document.getElementById("hdn_share_market_code").value,this.statecode=document.getElementById("hdn_share_state_code").value,this.countyid=document.getElementById("hdn_share_county_id").value,this.cityid=document.getElementById("hdn_share_city_id").value,this.officeid=document.getElementById("hdn_share_office_id").value,i=document.getElementById("hdn_share_assignedTo").value),this.GetDefaultAreaDetails!=null&&this.GetDefaultAreaDetails!=""){let S=this.GetDefaultAreaDetails;S.county_id!=null&&S.county_id!=""&&(this.countyid=S.county_id),S.city_id!=null&&S.city_id!=""&&(this.cityid=S.city_id),S.state_code!=null&&S.state_code!=""&&(this.statecode=S.state_code),S.office_id!=null&&S.office_id!=""&&(this.officeid=S.office_id),S.market_code!=null&&S.market_code!=""&&(this.market_code=S.market_code),S.rep_id!=null&&S.rep_id!=""&&(i=S.rep_id)}document.getElementById("UserAction").value="signup",this.ApiUrl=this.apiservice.GetApiUrl()+"user",this.formData={action:t,promotion:"",promotion_type:"",email:this.user_email,password:this.isSSOSignup?"":this.Password,first_name:this.user_firstname,last_name:this.user_lastname,company:this.user_company,phone:this.user_phone,user_type:"1",market_code:this.market_code,state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,closing_county_id:this.closing_county_id,assignedTo:i,share_app_referrer_code:this.ShareAppCode,lender_id:"",loanofficer_id:s,escrow_officer_id:o,shareapp_token_id:"",share_app_action:"",platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),app_build_date:this.apiservice.getapp_build_date(),user_agent:btoa(navigator.userAgent),ip_address:this.ip_address,generic_email_tracking_id:this.canadalawfrimtracking,standalone_requsted_id:document.getElementById("hdn_standalone_requsted_id").value||"",two_factor_id:this.two_factor_id,sso_login:this.isSSOSignup||this.ssoUserExists,sso_provider:this.ssoProvider,sso_id_token:this.ssoIdToken,sso_access_token:this.ssoAccessToken,sso_user_sub:this.ssoUserSub,sso_code:document.getElementById("Hdnuser_sso_access_code").value,sso_token:this.sso_token};let C={user_email:this.user_email,market_code:this.globalService.getmarket_code(),sso_code:this.sso_code,token:this.sso_token};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),C).subscribe(S=>{if(this.response=S.body,this.isLoading=!1,this.response.signup_status=="pending_approval"||this.response.account_status=="pending_approval"){this.CreateAccVisible=!1,this.PendingApproval=!0,this.PendingApprovalMsg=this.sanitizer.bypassSecurityTrustHtml(this.decodeHtml(this.response.message)),this.isLoading=!1;return}this.response.id!=null&&this.response.id!=""&&this.response.id>0&&(this.LoginSec=!1,this.WebappLoginSec=!0,this.canadaofficepopup=!1,this.RefreshMarketBrandAndUrls(),this.AppstoreValue==""&&this.playstoreValue==""&&(this.AppDownload=!1,this.AppDownloaddiv=!0),this.sso_token=this.response.token,setTimeout(()=>{(this.globalService.getmmppreview()=="yes"||this.device_platform!=null&&this.device_platform!="webapp")&&(this.setStyleForClass("WebLoginBtn","display","none"),this.device_platform=="wmac"&&(this.OS_Text="mac app"))},200))},S=>{if(this.isLoading=!1,console.error("Error fetching data:",S),S.error!=null&&(S.error.signup_status=="pending_approval"||S.error.account_status=="pending_approval")){this.CreateAccVisible=!1,this.PendingApproval=!0,this.PendingApprovalMsg=this.sanitizer.bypassSecurityTrustHtml(this.decodeHtml(S.error.message)),this.isLoading=!1;return}})}}else t=="PreviousPage"?(this.RepSelection=!1,this.AreaSelection=!0,this.AreaVisible="display:block",this.RepVisible="display:none",this.LoginVisible="display:none",this.InfoVisible="display:none",this.MarketStylesBtnFin={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px s
11olid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"},this.rep_dynamic_change=!1,this.rep_static_change=!0,this.rep_name="Betty Boop",this.rep_email="[email protected]",this.rep_phone="(123) 456-7890",this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url(ng_assets/images/rep_default_new.png)"}):t=="PreviousPageRep"?(this.EscrowofficerDetails&&this.EscrowofficerDetails.length>0?(this.RepSelection=!0,this.RepListSec=!1,this.EscrowOfficerListSec=!0,this.AreaVisible="display:none",this.RepVisible="display:block",this.LoginVisible="display:none",this.InfoVisible="display:none",this.MarketStylesBtnFin={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"},setTimeout(()=>{var C="EscrowofficerBox_"+o;let S=document.getElementById(C);S&&(S.src="ng_assets/images/checkbox_select.png"),this.EscrowofficerDetails.forEach(E=>{E.value==o&&(this.rep_name=E.name,this.rep_email=E.email,this.rep_phone=E.phone.replace(/\D/g,""),this.rep_phone=this.rep_phone.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"),this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url("+E.profile_pic+")"})})},200)):(this.RepSelection=!1,this.AreaSelection=!0,this.AreaVisible="display:block",this.RepVisible="display:none",this.LoginVisible="display:none",this.InfoVisible="display:none",this.MarketStylesBtnFin={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"}),this.rep_dynamic_change=!1,this.rep_static_change=!0,this.rep_name="Betty Boop",this.rep_email="[email protected]",this.rep_phone="(123) 456-7890",this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url(ng_assets/images/rep_default_new.png)"}):t=="PreviousPageLoan"?(this.RepSelection=!0,this.RepListSec=!0,this.LoanOfficerListSec=!1,this.AreaVisible="display:none",this.RepVisible="display:block",this.LoginVisible="display:none",this.InfoVisible="display:none",this.MarketStylesBtnLoan={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"},setTimeout(()=>{var C="RepCheckBox_"+i;let S=document.getElementById(C);S&&(S.src="ng_assets/images/checkbox_select.png"),this.RepDetails.forEach(E=>{E.value==i&&(this.rep_name=E.name,this.rep_email=E.email,this.rep_phone=E.phone.replace(/\D/g,""),this.rep_phone=this.rep_phone.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"),this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url("+E.profile_pic+")"})})},200),this.globalService.getmarket_code()=="CA"&&this.statecode=="CAN"?this.ContentSec="Select your Lawyer":this.ContentSec="Select your Title Rep"):t=="PreviousPageEscrow"&&(this.RepSelection=!0,this.RepListSec=!1,this.EscrowOfficerListSec=!0,this.AreaVisible="display:none",this.RepVisible="display:block",this.LoginVisible="display:none",this.InfoVisible="display:none",this.MarketStylesBtnFin={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"},setTimeout(()=>{var C="EscrowofficerBox_"+o;let S=document.getElementById(C);S&&(S.src="ng_assets/images/checkbox_select.png"),this.EscrowofficerDetails.forEach(E=>{E.value==o&&(this.rep_name=E.name,this.rep_email=E.email,this.rep_phone=E.phone.replace(/\D/g,""),this.rep_phone=this.rep_phone.replace(/(\d{3})(\d{3})(\d{4})/,"($1) $2-$3"),this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url("+E.profile_pic+")"})})},200))}AppStoreHoverFun(t){t=="Hover"?this.AppStoreBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.AppStoreBtn={}}PlayStoreHoverFun(t){t=="Hover"?this.PlayStoreBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.PlayStoreBtn={}}WebHoverFun(t){t=="Hover"?this.WebStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`}:this.WebStyles={}}RefreshMarketBrandAndUrls(){let t=this.globalService.getmarketdarkcolor(),i=this.globalService.getmarketlightcolor();t&&(this.gradientEndColor=t),i&&(this.gradientStartColor=i),this.gradientEndColor&&(this.Loginstyle={color:`${this.gradientEndColor}`},this.LoginBorderstyle={border:`2px solid ${this.gradientEndColor}`,"box-shadow":`0px 4px 10px 0px ${this.gradientStartColor}`});let o=this.globalService.getmarket_qrcode(),s=this.globalService.getplaystore(),a=this.globalService.getappstore();if(o&&(this.Market_QrCode=o),s&&(this.playstoreValue=s),a&&(this.AppstoreValue=a),!this.Market_QrCode&&this.market_code){let u=this.apiservice.GetApiUrl()+"get_market_qr.php",v=JSON.stringify({market_code:this.market_code}),C={user_email:"",market_code:this.market_code};this.apiservice.ApiCallFunction(u,v,C).subscribe(S=>{let E=S&&S.body?S.body:{};E.qr_image_url&&(this.Market_QrCode=E.qr_image_url)},()=>{})}}LoginHoverFun(t){t=="Hover"?(this.LoginBorderstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:`2px solid ${this.gradientStartColor}`},this.Loginstyle={color:"#FFFFFF"}):(this.LoginBorderstyle={"background-image":"","box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:`2px solid ${this.gradientEndColor}`},this.Loginstyle={color:` ${this.gradientEndColor}`})}
11CloseWeblogin(){this.LoginSec=!1,this.WebappLoginSec=!1,this.AppDownload=!0,this.AppDownloaddiv=!1,this.setStyleForClass("SignupPopup","display","none"),this.setStyleForClass("WholeBodyDiplay","display","block"),this.setStyleForClass("CreateAccDiv","display","block"),document.getElementById("Hdnuser_rep_id").value="",document.getElementById("Hdnuser_escrowofficer_id").value="",document.getElementById("Hdnuser_loanofficer_id").value="",this.RefereshData()}openModal(){this.dialog.open(this.myModalTemplate,{width:"700px",height:"auto",minHeight:"150px",disableClose:!0,panelClass:"email-validation-dialog"})}EmailProceedFun(){document.getElementById("proceed_status").value="yes",this.CreateAccNext()}SwitchUserFinishFun(){this.ApiUrl=this.apiservice.GetApiUrl()+"login",this.user_email==""&&(this.user_email=document.getElementById("hdn_user_email").value),this.formData={email:this.user_email,market_code:this.market_code,password:this.Password,share_app_referrer_code:this.ShareAppCode,market_state_id:"",share_app_action:"",promotion:"",promotion_type:"",platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),app_build_date:this.apiservice.getapp_build_date(),user_agent:btoa(navigator.userAgent),ip_address:this.ip_address,login_from:"DownloadSitePage",shareapp_token_id:"",sso_code:this.sso_code};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code(),sso_code:this.sso_code,token:this.sso_token};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.response=i.body,this.get_market_code=this.response.user.market_code,this.market_code=="PO"?this.MarketCodeNew=this.market_code:this.get_market_code!=null&&this.get_market_code!=""?this.MarketCodeNew=this.get_market_code:this.MarketCodeNew=this.market_code,this.response.user.user_type!=1&&this.response.user.rep_user_market_list!=""&&this.MarketCodeNew!=this.market_code){this.RepMarketList=this.response.user.rep_user_market_list;for(var o=0;o<this.RepMarketList.length;o++)if(this.MarketCodeNew==this.RepMarketList[o].market_code){this.MarketCodeNew=this.RepMarketList[o].market_code;break}}this.ApiUrl=this.apiservice.GetApiUrl()+"get_app_urls.php",this.formData={email:this.user_email,market_code:this.MarketCodeNew,UID:this.response.user.id,platform:"",getipaddress:"",userAgent:btoa(navigator.userAgent),domain:window.location.hostname};let s=!1,a=()=>{this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(u=>{if(this.ApiUrlData=u.body,!this.ApiUrlData||!this.ApiUrlData.one_app_url){if(!s){s=!0,console.warn("[signup] get_app_urls returned empty (Finish 3), retrying once"),a();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[signup] get_app_urls returned empty body after retry (Finish 3)",u);return}document.getElementById("one_app_aws_url").value=this.ApiUrlData.one_app_aws_url,document.getElementById("hdn_UserToken").value=this.response.token,document.getElementById("using_master_password").value="",document.getElementById("LoginToAction").value="ONEAPPLogin",this.apiservice.getconfigmode()=="staging"||this.SingleApiArray.includes(this.MarketCodeNew)?document.getElementById("singleapi").value="yes":document.getElementById("singleapi").value="no",(this.response.user.market_id=="4205"||this.apiservice.getconfigmode()=="staging"&&this.response.user.market_id=="4132")&&(document.getElementById("user_office_name").value=this.response.user.office_name),this.response.user.canada_office_logo!=""&&(document.getElementById("canada_office_logo").value=this.response.user.canada_office_logo),document.getElementById("user_full_details").innerHTML=JSON.stringify(this.response),this.MarketCodeNew!=""&&this.market_code!=this.MarketCodeNew&&(document.getElementById("market_code").innerHTML=JSON.stringify(this.MarketCodeNew)),(this.market_code=="PA"||this.market_code!=this.MarketCodeNew)&&this.ApiUrlData.market_name!=""&&typeof this.ApiUrlData.market_name!=null&&(document.getElementById("market_name").innerHTML=this.ApiUrlData.market_name,document.getElementById("market_abbr_name").innerHTML=this.ApiUrlData.market_name);var v=window.location.hostname;v=v.replace(/^www\./,"");var C=new URL(this.ApiUrlData.one_app_url).hostname;if(v!=C.replace(/^www\./,"")){var S=new Date(Date.now()+864e5).toUTCString(),v=window.location.hostname;if(v=v.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"cross_dom",value:"yes",expire:S,sso_code:this.sso_code};let A={user_email:"",market_code:"PA",sso_code:this.sso_code,token:this.sso_token};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),A).subscribe()}else document.cookie=`cross_dom=yes; expires=${S}; path=/ ; domain=${v}`}else{var S=new Date(Date.now()-864e5).toUTCString(),v=window.location.hostname;if(v=v.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:"cross_dom",value:"no"};let U={user_email:"",market_code:"PA"};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),U).subscribe()}else document.cookie=`cross_dom=no; expires=${S}; path=/ ; domain=${v}`}if(this.Clearcookie("share_token"),this.RememberCookie(this.user_email,this.userremember,this.response.token,this.response.user.user_type),this.isLoading=!0,this.response.user.user_type==1){let D=document.getElementById("WEB_app");if(D)if(v!=C.replace(/^www\./,"")){document.getElementById("redirecturl").value=this.ApiUrlData.one_app_url,document.getElementById("login_from_domain").value=v;var E=new URL(this.ApiUrlData.one_app_url).origin;if(D.action=E+"/one_webapp_login.php",D.method="post",this.WebapploginTokenFun("ONEAPPLogin"),this.attemptV2Handoff())return;D.submit();return}else{if(D.action=this.ApiUrlData.one_app_url.replace(/^www\./,""),D.method="post",this.attemptV2Handoff())return;D.submit(),this.WebapploginTokenFun("ONEAPPLogin")}}},u=>{if(!s){s=!0,console.warn("[signup] get_app_urls errored (Finish 3), retrying once",u),a();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[signup] Error fetching get_app_urls after retry (Finish 3):",u)})};a()},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}ShareAppNext(){this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_share_app_details",this.formData={action:"check_share_app_signup",email:this.user_email,market_code:this.globalService.getmarket_code(),share_app_referrer_code:this.globalService.getshareapp_code(),promotion:"",promotion_type:"",device_id:navigator.userAgent,platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version()};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code(),sso_code:this.sso_code,token:this.sso_token};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.response=i.body,this.isLoading=!1,this.response.status!=null&&this.response.status=="Success"){var o=document.getElementById("shareapp_proceed_status").value;document.getElementById("hdn_shareapp_id").value=this.response.shareapp_token_id,this.response.message!=""&&this.response.message!=null&&o=="no"&&(document.getElementById("shareapp_action").value="signup",document.getElementById("hdn_share_market_code").value=this.response.market_code,document.getElementById("hdn_share_state_code").value=this.response.state_code,document.getElementById("hdn_share_county_id").value=this.response.county_id,document.getElementById("hdn_share_city_id").value=this.response.city_id,document.getElementById("hdn_share_office_id").value=this.response.office_id,document.getElementById("hdn_share_assignedTo").value=this.response.rep_id,this.response.display_shareapp_popup!=null&&this.response.display_shareapp_popup!="no"&&(this.ShareAppContent=this.response.message,this.ShareAppModalFun()))}else{this.ShareAppCode=this.globalService.getshareapp_code(),this.globalService.setshareapp_code(""),this.UserInfoNext();return}},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}ShareAppModalFun(){this.dialog.open(this.ShareAppModal,{width:"700px",height:"auto",minHeight:"150px",disableClose:!0,panelClass:"email-validation-dialog"})}Shareapp_proceedEdit(){document.getElementById("hdn_share_app_action").value="no";var t=document.getElementById("shareapp_action").value;if(this.globalService.setshareapp_code(""),t=="signup"){this.UserInfoNext();return}document.getElementById("shareapp_proceed_status").value="yes"}Shareapp_proceed(){document.getElementById("hdn_share_app_action").value="yes";var t=document.getElementById("shareapp_action").value;if(this.globalService.setshareapp_code(""),t=="signup"){this.RepSelectionNext("ShareApp_Signup");return}document.getElementById("shareapp_proceed_status").value="yes"}Clearcookie(t){var i,o;if(i=new Date(Date.now()-24*3600*1e3).toUTCString(),o=window.location.hostname,o=o.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:t,expire:i};let s={user_email:"",sso_code:this.sso_code,token:this.sso_token};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),s).subscribe()}else document.cookie=`${t}=''; expires=${i}; path=/ ; domain=${o}`}getCookie(t){let i=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return i?i[2]:null}getCookieHttp(t){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"GetCookie",name:t};let i={market_code:this.globalService.getmarket_code()};return this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).pipe(X(o=>{let s=o.body;return s.status==="Success"?s.value:""}))}
11LoginEnterFun(t,i){if(t.keyCode=="13"&&i=="CreateAcc"){let s=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;var o=document.getElementById("NewUserEmail").value;(this.user_email!=""||o!="")&&(s.test(this.user_email)||s.test(o))&&this.Password!=""&&this.ConfPassword!=""&&this.useragree!=0&&this.CreateAccNext()}else t.keyCode=="13"&&i=="UserInfo"?this.UserInfoNext():t.keyCode=="13"&&i=="UserInfo"?this.UserInfoNext():t.keyCode=="13"&&i=="verify_auth"&&this.VerifyAuthCodeOTPFun()}RemoveMailToCharFun(t){t.preventDefault();var o=t.clipboardData?.getData("text")?.replace(/\s+/g,"");this.user_email=o,this.user_email=this.user_email.replace("mailto:","")}HoverBtn(t,i){i=="yesproceed"?t=="Hover"?this.ProceedBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.ProceedBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:i=="editproceed"?t=="Hover"?this.EditBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.EditBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:i=="yesSwproceed"?t=="Hover"?this.SwtBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.SwtBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:t=="Hover"?this.EditSwBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.EditSwBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}}AppLogHoverBtn(t){t=="Hover"?this.AppStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.AppStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}DashboardLogHoverBtn(t){t=="Hover"?this.DashboardStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.DashboardStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}SwitchUserFun(){this.isLoading=!0;var t=document.getElementById("hdn_user_email").value;if(t!=null&&t!=""){let i={user_email:this.user_email,market_code:this.globalService.getmarket_code(),sso_code:this.sso_code,token:this.sso_token};this.ApiUrl=this.apiservice.GetApiUrl()+"switch_user",this.formData={email:this.user_email,market_code:this.market_code,action:"init_swtich_market",platform:this.apiservice.getplatform()},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(o=>{if(this.isLoading=!1,this.SwitchResponse=o.body,this.SwitchResponse.status!=null&&this.SwitchResponse.status=="success"){this.SwtichSuccessMsg=this.SwitchResponse.message,this.switchuseralert=!1,this.SwitchSuccesssection=!0,this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none";return}},o=>{this.isLoading=!1,console.error("Error fetching data:",o)})}}
11SwitchMarketFun(t){this.isLoading=!0;var i=t.split(",");let o=document.getElementById("WEB_site_login");o&&(document.getElementById("user_email_id").value=i[1],document.getElementById("login_user_name").value=i[2],o.action=i[0].replace(/^www\./,"").toLowerCase(),o.method="post",o.submit())}LoginNext(){this.switchuseralert=!1,this.CreateAccVisible=!0,this.user_email="",this.Password="",this.ConfPassword="",this.LoginVisible="display:block",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none",this.SelectCheckBox()}SubmitHoverBtn(t){t=="Hover"?this.EmailBtn={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.EmailBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}SwitchHoverBtn(t){t=="Hover"?this.SwitchStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.SwitchStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}SwitchLogHoverBtn(t){t=="Hover"?this.SwitchLogStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.SwitchLogStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}RefereshData(){this.user_email="",this.Password="",this.ConfPassword="",this.email=!1,this.password=!1,this.confpassword=!1,this.error="",this.errordis=!1,this.ApiUrl="",this.isLoading=!1,this.get_market_code="",this.MarketCodeNew="",this.userremember=0,this.useragree=0,this.AppLoginLink="",this.DashboardLoginLink="",this.userlogin=!0,this.reploginsection=!1,this.Signupbtn=!1,this.user_firstname="",this.user_lastname="",this.user_company="",this.user_phone="",this.firstname=!1,this.lastname=!1,this.company=!1,this.phone=!1,this.UserInfoBtn=!1,this.CountySection=!1,this.OfficeSection=!1,this.AreaSectionNxtbtn=!0,this.LoanSectionNxtbtn=!1,this.RepSectionNxtbtn=!0,this.RepEscrowSectionbtn=!1,this.stateaction="",this.countyaction="",this.cityaction="",this.officeaction="",this.repaction="",this.MarketSection=!1,this.marketaction="",this.CitySection=!1,this.statecode="",this.countyid="",this.cityid="",this.officeid="",this.BtnContent="Finish",this.reperrordis=!1,this.reperror="",this.loanofficererrordis=!1,this.loanofficererror="",this.escrowofficererrordis=!1,this.escrowofficererror="",this.RepListSec=!0,this.LoanOfficerListSec=!1,this.EscrowOfficerListSec=!1,this.ContentSec="Select your Title Rep",this.LoanSectionfnbtn=!1,this.EscrowSectionNxtbtn=!1,this.market_code_min="",this.AreaFinishNxtbtn=!1,this.LoginSec=!0,this.WebappLoginSec=!1,this.AppDownload=!0,this.AppDownloaddiv=!1,this.Market_QrCode="",this.EmailContent="",this.SwitchFinishBtn=!1,this.UserFinishBtn=!0,this.UserInfoDis=!0,this.ShareAppDis=!1,this.ShareAppContent="",this.switchuserto="",this.SwtichSuccessMsg=!1,this.switchuseralert=!1,this.SwitchSuccesssection=!1,this.InactiveUser=!1,this.PendingApproval=!1,this.rep_dynamic_change=!1,this.rep_static_change=!0,this.rep_name="Betty Boop",this.rep_email="[email protected]",this.rep_phone="(123) 456-7890",this.rep_profile={"background-repeat":"no-repeat","background-size":"cover","background-image":"url(ng_assets/images/rep_default_new.png)"},this.inputValue="",this.SelectCheckImg="ng_assets/images/checkbox_unselect.png",this.RepCheckImg="ng_assets/images/checkbox_unselect.png",this.LoginVisible="display:block",this.CreateAccVisible=!0,this.InfoVisible="display:none",this.LoginInVisible=!0,this.UserInfoVisible=!1,this.AreaVisible="display:none",this.AreaSelection=!1,this.RepVisible="display:none",this.RepSelection=!1,this.switchusermsg="",this.switchuserlogin="",this.LoginToMarket="",this.DownloadStyles={},this.MarketStylesBtnUser={},this.EscrowInfoDis=!1,this.AreaNext=!1,this.EscroFinishbtn=!0,this.EscrowBtnUser={},this.userlogintwofactAuthverify=!1,this.AuthenticatorMsg="",this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",this.VerifyNoOTP={},this.VerifybackOTP={},this.AuthText=!1,this.toastalertshow=!1,this.toastmessage="",this.ToastApiError=!1,this.ToastApiWarning=!1,this.ToastApiSuccess=!1,this.AuthenticatorHelpPopup=!1,this.SupportLink="https://palmagent.com/support",this.Show_2Factor_Auth_Mobile="no",document.getElementById("proceed_status").value="no",this.MarketStylesBtn={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px s
11olid #D9D9D9","pointer-events":"none"},this.MarketStylesBtnFin={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":" 0px 6px 6px 0px"},this.BackMarketStylesBtnFin={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all","border-radius":"6px 0px 0px 6px",width:"20%"},this.MarketStylesnxtBtn={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none"},this.MarketStylesBtnselescrow={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none"},this.MarketStylesBtnLoan={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":"0px 6px 6px 0px"},this.BackMarketStylesBtnLoan={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all",width:"20%","border-radius":" 6px 0px 0px 6px"},this.MarketStylesBtnEscrow={"background-color":"#FFFFFF",color:"#d9d9d9",border:"2px solid #D9D9D9","pointer-events":"none","border-radius":"0px 6px 6px 0px"},this.BackMarketStylesBtnEscrow={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all",width:"20%","border-radius":"6px 0px 0px 6px"}}SwipeBranedContent(t){t=="Journey"?(this.LoginVisible="display:block",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none"):t=="About"?(this.LoginVisible="display:none",this.InfoVisible="display:block",this.AreaVisible="display:none",this.RepVisible="display:none"):t=="Details"?(this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none"):t=="Reps"&&(this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:block")}WebapploginTokenFun(t){t=="DashboardLogin"&&(document.getElementById("LoginToAction").value="DashboardLogin");var i,o;if(i=new Date(Date.now()+50*365*24*3600*1e3).toUTCString(),o=window.location.hostname,o=o.replace(/^www\./,""),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"hp_loginto",value:t};let s={user_email:"",market_code:"PA",sso_code:this.sso_code,token:this.sso_token};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),s).subscribe()}else document.cookie=`hp_loginto=${t}; expires=${i}; path=/ ; domain=${o}`}CanadaOfficeLayerFun(){if(this.canadalawfrim==""){this.titlecompanyvalidate=!0;return}this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_market_area_details",this.formData={action:"send_canada_office_email",market_code:this.market_code,state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,canada_law_firm_name:this.canadalawfrim,device_id:this.apiservice.getdevice_id(),platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),calling_from:"SignupArea",share_app_referrer_code:this.ShareAppCode,canada_user_name:this.user_firstname+" "+this.user_lastname,canada_user_email:this.user_email,phone:this.phone};let t={user_email:this.user_email,market_code:this.globalService.getmarket_code(),sso_code:this.sso_code,token:this.sso_token};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.response=i.body,this.isLoading=!1,this.response.status!=null&&this.response.status=="Success"){this.canadalawfrimtracking=this.response.generic_email_tracking_id,document.getElementById("Hdnuser_rep_id").value="0",this.RepSelectionNext("Finish");return}})}capitalizeFirstLetter(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""}TwoFactorAuthHelpFun(){this.apiservice.getconfigmode()=="staging"&&(this.SupportLink="https://dev.palmagent.com/support"),this.AuthenticatorHelpPopup=!0}CloseAuthHelpPopupFun(){this.AuthenticatorHelpPopup=!1}InsertOTPFun(t,i){if(/^\d$/.test(t.target.value)){if(t.target.value.length===1&&i){let s=document.getElementById(i);this.renderer.selectRootElement(s).focus()}}else t.target.value="";let o=t.target;o.style.borderColor="#278AE5",o.style.color="#007bff"}RemoveOTPFun(t,i){if(t.target.value===""&&i){let s=document.getElementById(i);this.renderer.selectRootElement(s).focus()}let o=t.target;o.style.borderColor="transparent",o.style.color="#3d3d3d"}CheckOTPInputFun(){this.OTPVerifyOneVal&&this.OTPVerifyTwoVal&&this.OTPVerifyThreeVal&&this.OTPVerifyFourVal&&this.OTPVerifyFiveVal&&this.OTPVerifySixVal?this.VerifyNoOTP={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"}:this.VerifyNoOTP={}}AuthCodePasteFun(t){t.preventDefault();let i=t.clipboardData?.getData("text")||"",o=document.querySelectorAll(".otp-input"),s=i.replace(/\D/g,"").split("");this.OTPVerifyOneVal=s[0]||"",this.OTPVerifyTwoVal=s[1]||"",this.OTPVerifyThreeVal=s[2]||"",this.OTPVerifyFourVal=s[3]||"",this.OTPVerifyFiveVal=s[4]||"",this.OTPVerifySixVal=s[5]||"";let a=Math.min(s.length,o.length)-1;o[a].focus(),this.updateInputStyles()}updateInputStyles(){let t=this.OTPVerifyOneVal&&this.OTPVerifyTwoVal&&this.OTPVerifyThreeVal&&this.OTPVerifyFourVal&&this.OTPVerifyFiveVal&&this.OTPVerifySixVal;document.querySelectorAll(".otp-input").forEach(o=>{o.style.borderColor=t?"#278AE5":"",o.style.color=t?"#007bff":""}),this.CheckOTPInputFun()}
11VerifyAuthCodeOTPFun(){if(this.OTPVerifyOneVal==""){let v=document.getElementById("OTPVerifyOne");v&&this.renderer.selectRootElement(v).focus();return}if(this.OTPVerifyTwoVal==""){let v=document.getElementById("OTPVerifyOne");v&&this.renderer.selectRootElement(v).focus();return}if(this.OTPVerifyThreeVal==""){let v=document.getElementById("OTPVerifyOne");v&&this.renderer.selectRootElement(v).focus();return}if(this.OTPVerifyFourVal==""){let v=document.getElementById("OTPVerifyOne");v&&this.renderer.selectRootElement(v).focus();return}if(this.OTPVerifyFiveVal==""){let v=document.getElementById("OTPVerifyOne");v&&this.renderer.selectRootElement(v).focus();return}if(this.OTPVerifySixVal==""){let v=document.getElementById("OTPVerifyOne");v&&this.renderer.selectRootElement(v).focus();return}var t=document.getElementById("hdn_user_switch_2fa").value,i=document.getElementById("Hdnuser_id").value,o=document.getElementById("Hdnuser_phone").value;if(t=="yes"){this.ResendAction="VerifyTwoFactorAuthNumberLogin";var s="LoginArea",a=o}else{this.ResendAction="VerifyTwoFactorAuthNumberSignup";var s="SignupArea",a=this.user_phone}this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={email:this.user_email,market_code:this.globalService.getmarket_code(),action:this.ResendAction,OTPCode:this.OTPVerifyOneVal+this.OTPVerifyTwoVal+this.OTPVerifyThreeVal+this.OTPVerifyFourVal+this.OTPVerifyFiveVal+this.OTPVerifySixVal,user_id:i,platform:"webapp",Phone_number:a,calling_from:s};let u={user_email:this.user_email,market_code:this.globalService.getmarket_code(),token:"",user_id:i,sso_code:this.sso_code};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),u).subscribe(v=>{if(this.ApiTwofactAuthData=v.body,this.AuthText=!1,this.ApiTwofactAuthData.status=="success"){this.two_factor_id=this.ApiTwofactAuthData.two_factor_id;var C=document.getElementById("Hdnuser_switchstatus").value;if(C=="Y")this.SwitchFinishBtn=!0,this.UserFinishBtn=!1,this.LoginSec=!1,this.WebappLoginSec=!0,this.isLoading=!1;else if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){this.ShareAppNext();return}else this.UserAreaSelectionFun()}else this.isLoading=!1,this.toastalertshow=!0,this.toastmessage=this.ApiTwofactAuthData.message,this.ToastApiError=!0;setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiError=!1},3e3)},v=>{this.isLoading=!1,console.error("Error fetching data:",v)})}ResendAuthOTPFun(){this.countySplit=this.selectedCountry.split("_"),this.countySplit=this.countySplit[0];var t=document.getElementById("hdn_user_switch_2fa").value,i=document.getElementById("Hdnuser_id").value;if(t=="yes"){this.ResendAction="ResenedAuthOTPLogin";var o="LoginArea"}else{this.ResendAction="ResenedAuthOTPSignup";var o="SignupArea"}this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:this.ResendAction,email:this.user_email,Phone_number:this.user_phone,market_code:this.globalService.getmarket_code(),calling_from:o,user_id:i,platform:"webapp",country_code:this.countySplit,first_name:this.user_firstname};let s={user_email:this.user_email,market_code:this.globalService.getmarket_code(),token:""};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),s).subscribe(a=>{this.Resendresponse=a.body,this.isLoading=!1,this.Resendresponse.status=="success"?(this.toastalertshow=!0,this.toastmessage=this.Resendresponse.message,this.ToastApiSuccess=!0,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.startTimer(),this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",setTimeout(()=>{let u=document.getElementById("OTPVerifyOne");u&&this.renderer.selectRootElement(u).focus(),this.updateInputStyles()},100)):(this.toastalertshow=!0,this.toastmessage=this.Resendresponse.message,this.ToastApiError=!0),setTimeout(()=>{this.toastalertshow=!1},3e3)},a=>{this.isLoading=!1,console.error("Error fetching data:",a)})}ClosecanadaPopupFun(){this.canadaofficepopup=!1,this.canadalawfrim=""}StandalonePopupBtnAction(t){if(t.dismissible=="yes"){t.action&&t.action!=""&&this.StandaloneCallApi(t.action),this.ResetStandalonePopup();return}this.standaloneValidationErrors={};let i=!1;for(let o=0;o<this.standalonePopupInputs.length;o++){let s=this.standalonePopupInputs[o].inputtype,a=this.standaloneInputValues[o];s==="Check Box"?a||(this.standaloneValidationErrors[o]=!0,i=!0):(a==null||a==null||typeof a=="str
11ing"&&a.trim()=="")&&(this.standaloneValidationErrors[o]=!0,i=!0)}i||this.StandaloneCallApi(t.action)}StandaloneCallApi(t){this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_market_area_details";let i={};for(let s=0;s<this.standalonePopupInputs.length;s++){let a=(this.standalonePopupInputs[s].label||"").toLowerCase(),u=this.standaloneInputValues[s]||"";a.includes("state")?i.standalone_preferred_state=u:a.includes("county")?i.standalone_preferred_county=u:a.includes("city")?i.standalone_preferred_city=u:a.includes("office")&&(i.standalone_preferred_office=u)}this.formData={action:t,market_code:this.market_code||this.globalService.getmarket_code(),state_code:this.statecode,county_id:this.countyid,city_id:this.cityid,office_id:this.officeid,user_id:"",device_id:this.apiservice.getdevice_id(),platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),latitude:"",longitude:"",calling_from:"SignupArea",standalone_preferred_state:i.standalone_preferred_state||"",standalone_preferred_county:i.standalone_preferred_county||"",standalone_preferred_city:i.standalone_preferred_city||"",standalone_preferred_office:i.standalone_preferred_office||"",share_app_referrer_code:this.ShareAppCode};let o={user_email:this.user_email,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{if(this.response=s.body,this.isLoading=!1,this.response.status!=null&&this.response.status=="Success"){if(this.response.s_r_id!=null&&this.response.s_r_id!=""&&(document.getElementById("hdn_standalone_requsted_id").value=this.response.s_r_id),this.response.area_details!=null&&this.response.area_details[0]!=null){let a=this.response.area_details[0];if(a.title!=null&&a.buttondetails!=null&&a.inputdetails==null){this.standaloneConfirmTitle=(a.title||"").replace("{First Name}",this.capitalizeFirstLetter(this.user_firstname));let u=a.message||"";u=u.replace(/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})/g,'<a href="mailto:$1" class="standalone-confirm-email">$1</a>'),this.standaloneConfirmMessage=u,this.standaloneConfirmButtons=a.buttondetails,this.standaloneConfirmation=!0;return}}this.ResetStandalonePopup()}},s=>{this.isLoading=!1,console.error("Error fetching data:",s)})}ResetStandalonePopup(){this.standaloneStatePopup=!1,this.standaloneInputValues={},this.standaloneValidationErrors={},this.standaloneTriggeredFrom=="state_details"?(this.statecode="",this.countyid="",this.CountySection=!1,this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1):this.standaloneTriggeredFrom=="county_details"&&(this.countyid="",this.MarketSection=!1,this.CitySection=!1,this.OfficeSection=!1),this.MarketStylesBtn={},this.EscrowBtnUser={},this.standaloneTriggeredFrom=""}StandaloneConfirmBtnAction(t){this.standaloneConfirmation=!1,this.standaloneConfirmTitle="",this.standaloneConfirmMessage="",this.standaloneConfirmButtons=[],this.standaloneInputValues={},this.standaloneValidationErrors={},this.ResetStandalonePopup()}VerifyAuthBackFun(){this.userlogintwofactAuthverify=!1,this.UserInfoVisible=!0,this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal=""}startTimer(){this.interval=setInterval(()=>{this.timer>0?(this.timer--,this.minutes=Math.floor(this.timer/60),this.seconds=this.timer%60,this.minutes=this.minutes<10?0+this.minutes:this.minutes,this.seconds=this.seconds<10?0+this.seconds:this.seconds):clearInterval(this.interval)},1e3)}decodeHtml(t){let i=document.createElement("textarea");return i.innerHTML=t,i.value}InputTrackingFun(t){var i=document.getElementById("Hdnuser_rep_id").value,o=document.getElementById("Hdnuser_escrowofficer_id").value,s=document.getElementById("Hdnuser_loanofficer_id").value;this.countySplit=this.selectedCountry.split("_"),this.countySplit=this.countySplit[0],t=="email"?this.screen_name="email":t=="email_screen"?(this.email_screen="yes",this.screen_name="email"):t=="password"?(this.email_screen="yes",this.screen_name="signup"):t=="signup"?(this.email_screen="yes",this.signup_track="yes",this.screen_name="signup"):t=="first_name"||t=="last_name"||t=="company"||t=="phone"?(this.email_screen="yes",this.signup_track="yes",this.screen_name="user_information"):t=="user_info"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.screen_name="user_information"):t=="verify_auth"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.otp_verification="yes",this.screen_name="mobile_two_factor"):t=="state"||t=="county"||t=="market"||t=="city"||t=="office"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",i!="0"&&i!=""?this.rep_selection="yes":this.rep_selection="no",s!="0"&&s!=""?this.Lender_selection="yes":this.Lender_selection="no",o!="0"&&o!=""?this.escrow_selection="yes":this.escrow_selection="no",this.screen_name="location"):t=="location"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",i!="0"&&i!=""?this.rep_selection="yes":this.rep_selection="no",s!="0"&&s!=""?this.Lender_selection="yes":this.Lender_selection="no",o!="0"&&o!=""?this.escrow_selection="yes":this.escrow_selection="no",this.screen_name="location"):t=="select_rep"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",s!="0"&&s!=""?this.Lender_selection="yes":this.Lender_selection="no",o!="0"&&o!=""?this.escrow_selection="yes":this.escrow_selection="no",this.screen_name="rep_selection"):t=="rep_selection"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",this.rep_selection="yes",s!="0"&&s!=""?this.Lender_selection="yes":this.Lender_selection="no",o!="0"&&o!=""?this.escrow_selection="yes":this.escrow_selection="no",this.screen_name="rep_selection"):t=="select_lender"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",i!="0"&&i!=""?this.rep_selection="yes":this.rep_selection="no",o!="0"&&o!=""?this.escrow_selection="yes":this.escrow_selection="no",this.screen_name="lender_officer_selection"):t=="lender_officer_selection"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",i!="0"&&i!=""?this.rep_selection="yes":this.rep_selection="no",o!="0"&&o!=""?this.escrow_selection="yes":this.escrow_selection="no",this.Lender_selection="yes",this.screen_name="lender_officer_selection"):t=="select_escrow"?(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",i!="0"&&i!=""?this.rep_selection="yes":this.rep_selection="no",s!="0"&&s!=""?this.Lender_selection="yes":this.Lender_selection="no",this.screen_name="escrow_selection"):t=="escrow_selection"&&(this.email_screen="yes",this.signup_track="yes",this.user_information="yes",this.role_selection="yes",this.location_track="yes",i!="0"&&i!=""?this.rep_selection="yes":this.rep_selection="no",s!="0"&&s!=""?this.Lender_selection="yes":this.Lender_selection="no",this.escrow_selection="yes",this.screen_name="escrow_selection"),this.event_details={device_os:this.apiservice.getOS(navigator.userAgent),event_datetime:this.TimeStamp,platform:"webapp",a
11pp_build_version:"",app_version:"4.6.1",app_build_market_code:this.globalService.getmarket_code(),time_zone:Intl.DateTimeFormat().resolvedOptions().timeZone,datetime:this.getCustomDateTime(),ip_address:this.ip_address,device_id:"1234",device_model:this.apiservice.getBrowser(navigator.userAgent),unique_id:this.TimeStamp,release_version:"4.6.1",timezone:this.getGMTOffset()},this.tracking_detail={email_screen:this.email_screen,login:this.login_track,signup:this.signup_track,title_rep:this.title_rep,rep_selection:this.rep_selection,moved_market:this.moved_market,move_account:this.move_account,location:this.location_track,title_rep_preview:this.title_rep_preview,otp_verification:this.otp_verification,manager_market_selection:this.manager_market_selection,forgot_password:this.forgot_password,escrow_selection:this.escrow_selection,forgot:this.forgot,lender_selection:this.Lender_selection,user_information:this.user_information,role_selection:this.role_selection,screen_name:this.screen_name,email:this.user_email,first_name:this.user_firstname,last_name:this.user_lastname,company:this.user_company,phone:this.user_phone,role:"",about_us:"",state_code:this.statecode,county_id:this.countyid,market_code:this.market_code,city_id:this.cityid,office_id:this.officeid,rep_id:i,loan_officer_id:s,escrow_officer_id:o,title_rep_first_name:"",title_rep_last_name:"",title_rep_email:"",referral_link:"",preferred_title_partner:"",country_code:this.countySplit,share_app_referrer_code:""};let a=this.apiservice.GetApiUrl()+"pa_signup_flow_tracking.php",u={event_detail:this.event_details,tracking_detail:this.tracking_detail},v={user_email:this.user_email,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(a,JSON.stringify(u),v).subscribe(C=>{this.Trackingresponse=C.body})}getCustomDateTime(){let t=new Date,i=t.getFullYear(),o=(t.getMonth()+1).toString().padStart(2,"0"),s=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),u=t.getMinutes().toString().padStart(2,"0"),v=t.getSeconds().toString().padStart(2,"0"),C=t.getMilliseconds().toString().padStart(3,"0"),S=t.getTimezoneOffset(),E=Math.abs(S),D=Math.floor(E/60).toString().padStart(2,"0"),A=(E%60).toString().padStart(2,"0"),U=S>0?"-":"+";return`${i}-${o}-${s}T${a}:${u}:${v}.${C}GMT${U}${D}:${A}`}getGMTOffset(){let t=-new Date().getTimezoneOffset(),i=t>=0?"+":"-",o=Math.floor(Math.abs(t)/60).toString().padStart(2,"0"),s=(Math.abs(t)%60).toString().padStart(2,"0");return`GMT${i}${o}:${s}`}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(ze),w(xe),w(Ie),w(gt),w(Nn),w(je),w(hr))},r.\u0275cmp=K({type:r,selectors:[["app-signup"]],viewQuery:function(i,o){if(i&1&&(L(H_,5),L(W_,5),L(j_,5),L($_,5),L(z_,5),L(G_,5),L(Z_,5),L(q_,5),L(X_,5),L(Q_,5)),i&2){let s;F(s=O())&&(o.myModalTemplate=s.first),F(s=O())&&(o.ShareAppModal=s.first),F(s=O())&&(o.EmailFocus=s),F(s=O())&&(o.PasswordFocus=s),F(s=O())&&(o.ConPasswordFocus=s),F(s=O())&&(o.FirstName=s),F(s=O())&&(o.LastName=s),F(s=O())&&(o.Company=s),F(s=O())&&(o.PhoneNo=s),F(s=O())&&(o.RepCheckBox=s)}},decls:55,vars:7,consts:[["InvalidEmailModal",""],["ShareAppModal",""],["EmailFocus",""],["PasswordFocus",""],["ConPasswordFocus",""],["FirstName",""],["LastName",""],["Company",""],["PhoneNo",""],["OTPVerifyOne",""],["OTPVerifyTwo",""],["OTPVerifyThree",""],["OTPVerifyFour",""],["OTPVerifyFive",""],["OTPVerifySix",""],["rel","stylesheet","href",bi`/branded-site/assets/css/Brand_home.css`],[1,"Brand_signup_component"],[1,"container-fluid","HeightVh"],[4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","modal-overlay",4,"ngIf"],["type","hidden","id","Hdnuser_email","name","Hdnuser_email"],["type","hidden","id","Hdnuser_pass","name","Hdnuser_pass"],["type","hidden","id","Hdnuser_confpass","name","Hdnuser_confpass"],["type","hidden","id","Hdnuser_firstname","name","Hdnuser_firstname"],["type","hidden","id","Hdnuser_lastname","name","Hdnuser_lastname"],["type","hidden","id","Hdnuser_company","name","Hdnuser_company"],["type","hidden","id","Hdnuser_phone","name","Hdnuser_phone"],["type","hidden","id","Hdnuser_market_code","name","Hdnuser_market_code"],["type","hidden","id","Hdnuser_market_id","name","Hdnuser_market_id"],["type","hidden","id","Hdnuser_state_code","name","Hdnuser_state_code"],["type","hidden","id","Hdnuser_state_id","name","Hdnuser_state_id"],["type","hidden","id","Hdnuser_county_id","name","Hdnuser_county_id"],["type","hidden","id","Hdnuser_city_id","name","Hdnuser_city_id"],["type","hidden","id","Hdnuser_office_id","name","Hdnuser_office_id"],["type","hidden","id","Hdnuser_rep_id","name","Hdnuser_rep_id"],["type","hidden","id","Hdnuser_loanofficer_id","name","Hdnuser_loanofficer_id"],["type","hidden","id","Hdnuser_escrowofficer_id","name","Hdnuser_escrowofficer_id"],["type","hidden","id","Hdnuser_switchstatus","name","Hdnuser_switchstatus"],["type","hidden","id","Hdnuser_id","name","Hdnuser_id"],["type","hidden","id","Hdnuser_token","name","Hdnuser_token"],["type","hidden","id","Hdnuser_sso_login","name","Hdnuser_sso_login","value",""],["type","hidden","id","Hdnuser_sso_provider","name","Hdnuser_sso_provider","value",""],["type","hidden","id","Hdnuser_sso_id_token","name","Hdnuser_sso_id_token","value",""],["type","hidden","id","Hdnuser_sso_access_code","name","Hdnuser_sso_access_code","value",""],["type","hidden","id","Hdnuser_sso_user_sub","name","Hdnuser_sso_user_sub","value",""],["type","hidden","name","proceed_status","id","proceed_status","value","no"],["type","hidden","name","shareapp_proceed_status","id","shareapp_proceed_status","value","no"],["type","hidden","name","shareapp_action","id","shareapp_action"],["type","hidden","name","hdn_shareapp_id","id","hdn_shareapp_id"],["type","hidden","name","hdn_share_app_action","id","hdn_share_app_action"],["type","hidden","name","hdn_share_market_code","id","hdn_share_market_code"],["type","hidden","name","hdn_share_state_code","id","hdn_share_state_code"],["type","hidden","name","hdn_share_county_id","id","hdn_share_county_id"],["type","hidden","name","hdn_share_city_id","id","hdn_share_city_id"],["type","hidden","name","hdn_share_office_id","id","hdn_share_office_id"],["type","hidden","name","hdn_share_assignedTo","id","hdn_share_assignedTo"],["type","hidden","name","hdn_user_switch_2fa","id","hdn_user_switch_2fa","value","no"],["type","hidden","name","hdn_standalone_requsted_id","id","hdn_standalone_requsted_id","value",""],["name","hdn_DefaultArea","id","hdn_DefaultArea"],["type","hidden","name","hdn_user_email","id","hdn_user_email"],["class","row LoginSection",4,"ngIf"],[1,"spinner-container"],[1,"loader"],[3,"ngClass"],["mat-dialog-content",""],[1,"emailalert",3,"innerHTML"],["mat-dialog-actions","",1,"buttonaction"],["mat-button","","mat-dialog-close","",1,"btn","Yesbtn",3,"click","mouseover","mouseout"],["mat-button","","mat-dialog-close","",1,"btn","Nobtn",3,"mouseover","mouseout"],[1,"emailalert"],["mat-button","","mat-dialog-close","",1,"btn","Nobtn",3,"click","mouseover","mouseout"],[1,"modal-overlay"],["
11id","State_dropdown","tabindex","-1","aria-hidden","true",1,"modal","right","modal-overlay-full"],[1,"modal-dialog","modal_conten","custom-modal-width","modal-dialog-centered"],[1,"modal-content","modalbox"],[1,"close-btn-position-top-right",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M16 8L8 16M16 16L8 8","stroke","black","stroke-width","2","stroke-linecap","round"],["id","PopupStateHead",1,"modal-header","modal-header-style"],["align","center",1,"modal-body"],["id","statecompanyhead",1,"canada-content-style"],[1,"height-20"],[1,"modal-contain","modal-contain-style"],["id","StateCompanyFields",1,"text-center"],["type","text","id","state_title_company_name","name","state_title_company_name","placeholder","Who do you typically close with?",1,"form-control1",3,"ngModelChange","ngModel","ngClass"],[1,"submit-btn-style"],["type","button",1,"btn","edit","submit-btn-colors",3,"click"],["tabindex","-1","aria-hidden","true",1,"modal","right","modal-overlay-full"],[1,"modal-content","modalbox","standalone-popup-content"],[1,"standalone-popup-icon-base"],[1,"standalone-popup-icon"],["src","ng_assets/images/location_icon_new.png","alt","Location",1,"standalone-popup-icon-img"],[1,"standalone-popup-title"],[1,"standalone-popup-body"],["class","standalone-popup-input-group",4,"ngFor","ngForOf"],[1,"standalone-popup-buttons"],[4,"ngFor","ngForOf"],[1,"standalone-popup-input-group"],[1,"standalone-popup-label"],["type","text","class","form-control1 standalone-popup-input",3,"ngClass","placeholder","ngModel","ngModelChange","input",4,"ngIf"],["class","form-control1 standalone-popup-input standalone-popup-select",3,"ngClass","ngModel","ngModelChange","change",4,"ngIf"],["class","standalone-popup-checkbox",3,"ngClass",4,"ngIf"],["class","standalone-popup-radio-group",3,"ngClass",4,"ngIf"],["type","text",1,"form-control1","standalone-popup-input",3,"ngModelChange","input","ngClass","placeholder","ngModel"],[1,"form-control1","standalone-popup-input","standalone-popup-select",3,"ngModelChange","change","ngClass","ngModel"],["value","","disabled","","selected",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"standalone-popup-checkbox",3,"ngClass"],["type","checkbox",3,"ngModelChange","change","id","ngModel"],[1,"standalone-checkbox-label",3,"for"],[1,"standalone-popup-radio-group",3,"ngClass"],["class","standalone-popup-radio",4,"ngFor","ngForOf"],[1,"standalone-popup-radio"],["type","radio",3,"ngModelChange","change","name","id","value","ngModel"],[1,"standalone-radio-label",3,"for"],["class","standalone-popup-btn",3,"ngStyle","click",4,"ngIf"],["class","standalone-popup-link",3,"ngStyle","click",4,"ngIf"],[1,"standalone-popup-btn",3,"click","ngStyle"],[1,"standalone-popup-link",3,"click","ngStyle"],[1,"standalone-confirm-title"],[1,"standalone-confirm-message",3,"innerHTML"],[1,"modal-dialog","modal_conten","modal-dialog-centered"],[1,"close-btn-position",3,"click"],[1,"modal-header","HelpLogo"],["width","48","height","48","viewBox","0 0 48 48","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","QuestionMark"],["id","Vector","d","M36 18C36 23.3456 31.4119 27.7706 25.5 28.4175V30C25.5 30.3978 25.342 30.7794 25.0607 31.0607C24.7794 31.342 24.3978 31.5 24 31.5C23.6022 31.5 23.2206 31.342 22.9393 31.0607C22.658 30.7794 22.5 30.3978 22.5 30V27C22.5 26.6022 22.658 26.2206 22.9393 25.9393C23.2206 25.658 23.6022 25.5 24 25.5C28.9631 25.5 33 22.1362 33 18C33 13.8637 28.9631 10.5 24 10.5C19.0369 10.5 15 13.8637 15 18C15 18.3978 14.842 18.7794 14.5607 19.0607C14.2794 19.342 13.8978 19.5 13.5 19.5C13.1022 19.5 12.7206 19.342 12.4393 19.0607C12.158 18.7794 12 18.3978 12 18C12 12.21 17.3831 7.5 24 7.5C30.6169 7.5 36 12.21 36 18ZM24 36C23.4067 36 22.8266 36.1759 22.3333 36.5056C21.8399 36.8352 21.4554 37.3038 21.2284 37.8519C21.0013 38.4001 20.9419 39.0033 21.0576 39.5853C21.1734 40.1672 21.4591 40.7018 21.8787 41.1213C22.2982 41.5409 22.8328 41.8266 23.4147 41.9424C23.9967 42.0581 24.5999 41.9987 25.1481 41.7716C25.6962 41.5446 26.1648 41.1601 26.4944 40.6667C26.8241 40.1734 27 39.5933 27 39C27 38.2044 26.6839 37.4413 26.1213 36.8787C25.5587 36.3161 24.7956 36 24 36Z","fill","#278AE5"],[1,"AuthMainContent"],[1,"AuthHeading"],[1,"AuthContentOne"],[1,"AuthHeadingTwo"],[1,"AuthContentSteps"],[1,"list-number"],[1,"ContentBold"],[1,"ContactSupportDiv"],["target","_blank",3,"href"],[1,"SupportLink"],[1,"row","LoginSection"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","ImageSection"],["id","Layer_
111","width","711","height","100%","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 711 934"],["id","clippath"],["width","711","height","934",2,"fill","none","stroke-width","0px"],["id","linear-gradientSignUp","x1","719.85723","y1","927.10403","x2","-1.21938","y2",".94903","gradientTransform","translate(0 934) scale(1 -1)","gradientUnits","userSpaceOnUse"],["offset","0","stop-opacity",".15"],["offset","1"],[2,"clip-path","url(#clippath)"],["d","m0,24C0,10.7452,10.7452,0,24,0h687v934H24c-13.2548,0-24-10.745-24-24V24Z","fill","url(#linear-gradientSignUp)","stroke-width","0px"],[1,"LoginContentSection"],[1,"LoginEstimate"],["alt","Estimate",1,"LoginEstimateImg",3,"defaultImage","lazyLoad"],[1,"MarketNameDiv"],[1,"BrandedMarket"],["class","img-responsive","width","25px",3,"defaultImage","lazyLoad",4,"ngIf"],["class","market_name_res_state",4,"ngIf"],[1,"LoginEstimateHead"],[1,"LoginEstimateContent"],[1,"pagination"],[1,"dot","active",3,"click"],[1,"dot","nextactive",3,"click"],[1,"dot",3,"click"],[1,"CreateAccSection"],[1,"CreateEstimate"],["alt","Estimate",1,"InfoEstimateImgtop",3,"defaultImage","lazyLoad"],["alt","Estimate",1,"InfoEstimateImgbottom",3,"defaultImage","lazyLoad"],[1,"CreateEstimateHead"],[1,"AreaSection"],[1,"AreaEstimate"],[1,"AreaEstimateHead"],[1,"AreaEstimateContent"],[1,"RepSection"],[1,"RepEstimate"],[1,"RepDetailsSection"],[1,"row","RepRow"],[1,"col-lg-5","col-md-5","col-sm-5","col-xs-5"],[1,"RepProfileDiv"],[1,"col-lg-7","col-md-7","col-sm-7","col-xs-7","RepColumRight"],[1,"MarketPrintoutLogo"],["alt","Market Printout Logo",1,"MarketPrintoutLogoImg",3,"src"],["class","RepInfoDts",4,"ngIf"],["class","line_rep_details",4,"ngIf"],[1,"RepEstimateHead"],[1,"RepEstimateContent"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","FormSection"],[1,"CloseBtn"],["src","ng_assets/images/login_close.png","alt","Signup Close",1,"LoginCloseBtn",3,"click"],[1,"MarketSection"],[1,"MarketLogoDiv"],["alt","Market Logo",1,"MarketLogo",3,"defaultImage","lazyLoad"],[1,"MarketName"],["class","MarketOne",4,"ngIf"],[1,"MarketTitle"],[1,"FormScrollBody"],["class","CreateAccDiv",4,"ngIf"],["class","WelcomeInputDiv",4,"ngIf"],["class","UserInfoDiv",4,"ngIf"],["class","AreaSelectionDiv",4,"ngIf"],["class","modal fade show redirect-modal-overlay","id","ctoAgentModal","tabindex","-1","aria-hidden","true",4,"ngIf"],["class","RepSelectionDiv",4,"ngIf"],[1,"FooterImgSection"],["alt","Login Home",1,"FooterImg",3,"defaultImage","lazyLoad"],["width","25px",1,"img-responsive",3,"defaultImage","lazyLoad"],[1,"market_name_res_state"],["src","ng_assets/images/arrow.svg","alt","arrow_down","width","5",1,"arow_down"],[1,"RepInfoDts"],[1,"RepName"],[1,"RepEmail"],[1,"RepPhone"],[1,"line_rep_details"],["src","ng_assets/images/line1.png","alt","line details",1,"line_img"],[1,"MarketOne"],[1,"CreateAccDiv"],[1,"CreateAccHead"],["class","CreateAccContent",4,"ngIf"],[1,"CreateInputDiv"],[1,"InputPaddingTop"],["type","text","placeholder","Email","autocomplete","off","id","NewUserEmail",1,"InputBox","form-control1","SignupFocus",3,"ngModelChange","keypress","paste","input","focusout","ngModel","ngClass","readonly"],["class","InputPaddingTop",4,"ngIf"],[1,"checkbox","signup_user_agree"],["type","hidden",3,"ngModelChange","ngModel"],[1,"SignupAggrement",3,"click"],[1,"CheckBoxImg",3,"src"],[1,"checkbox_content"],["target","_blank",1,"Termcontent",3,"href"],[1,"CreateBtndiv"],[1,"CreateUserBtn",3,"click"],[1,"CreateAccContent"],["type","password","placeholder","Password","autocomplete","off",1,"InputBox","form-control1","passwordfocus",3,"ngModelChange","keypress","input","focusout","ngModel","ngClass"],["type","password","placeholder","Confirm Password","autocomplete","off",1,"InputBox","form-control1",3,"ngModelChange","keypress","input","ngModel","ngClass"],["class","form_error",4,"ngIf"],[1,"form_error"],[1,"WelcomeInputDiv"],[1,"CreateUserBtnnew",3,"click","mouseover","mouseleave"],["class","CreateUserBtnnew",3,"style","click","mouseover","mouseleave",4,"ngIf"],[1,"CreateAccContent","text-success-medium",3,"innerHTML"],[1,"CreateUserBtnnew",3,"click"],[1,"CreateAccContent","text-success-medium"],[1,"UserInfoDiv"],[1,"UserInfoHead"],[1,"UserInfoContent"],["type","text","placeholder","First Name","autocomplete","off",1,"InputBox","form-control1","UserName",3,"ngModelChange","input","keypress","focusout","ngModel","ngClass"],["type","text","placeholder","Last Name","autocomplete","off",1,"InputBox","form-control1",3,"ngModelChange","keypress","input","focusout","ngModel","ngClass"],["type","text","placeholder","Company","autocomplete","off",1,"InputBox","form-control1",3,"ngModelChange","keypress","input","focusout","ngModel","ngClass"],[1,"InputPaddingTop","PhoneNo"],["class","country_code",3,"ngModel","ngModelChange",4,"ngIf"],["type","text","placeholder","Phone Number","maxlength","12","autocomplete","off",1,"InputBox","form-control1",3,"ngModelChange","input","keypress","paste","focusout","ngModel","ngClass"],["class","UserInfoBtndiv",4,"ngIf"],[1,"country_code",3,"ngModelChange","ngModel"],[1,"UserInfoBtndiv"],[1,"UserInfoBtnuser",3,"click"],[1,"UserInfoBtn",3,"click"],[1,"authenticationhelp",3,"click"],[1,"HelpBtn"],[1,"CreateAccContent","UserInfoContentAuth"],[1,"otp-container"],["type","text","maxlength","1","id","OTPVerifyOne","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyTwo","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyThree","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyFour","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyFive","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifySix","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],[1,"WelcomeOTPContentTime"],[1,"LoginBtndiv"],[1,"UserInfoBackBtn",3,"click","ngStyle"],[1,"AuthUserInfoBtnuser",3,"click","keypress","ngStyle"],["class","WelcomeOTPContent",4,"ngIf"],[1,"RemainingTime"],[1,"WelcomeOTPContent"],[1,"RemainingTime",3,"click"],[1,"AreaSelectionDiv"],[1,"AreaSelectionHead"],[1,"AreaSelectionContent2"],[1,"select-control1",3,"ngModelChange","change","ngModel"],["class","disclaimer",4,"ngIf"],["class","AreaSelectdiv",4,"ngIf"],["selected","",3,"value"],[1,"disclaimer"],[1,"AreaSelectdiv"],[1,"AreaBtn",3,"click"],["id","ctoAgentModal","tabindex","-1","aria-hidden","true",1,"modal","fade","show","redirect-modal-overlay"],[1,"modal-dialog","modal
11-dialog-centered","redirect-modal-dialog"],[1,"modal-content","redirect-modal-content"],["type","button","aria-label","Close",1,"btn-close","position-absolute","redirect-modal-close",3,"click"],[1,"modal-body","text-center","p-4","redirect-modal-body"],[1,"height-10"],["id","ctoAgentContent",1,"mb-4","redirect-modal-text"],[1,"d-flex","justify-content-center","gap-3","flex-wrap","redirect-modal-buttons"],["target","_blank","rel","noopener noreferrer",1,"text-decoration-none",3,"href"],[1,"goto-btn"],["type","button",1,"close-btn",3,"click"],[1,"RepSelectionDiv"],[1,"RepSelectionHead"],[1,"RepSelectionContent"],["class","RepInputDiv",4,"ngIf"],[1,"RepInputDiv"],[1,"RepSelectionList"],["class","Rep-profile",4,"ngFor","ngForOf"],[1,"Rep-profile"],[1,"RepList"],[1,"RepListLeft"],["alt","Rep Profile",1,"RepProfileRight",3,"src"],[1,"RepNameRight"],[1,"Checkboximg","Checkboximgrep",3,"click","src","id"],[1,"Checkboximg","Checkboximgloan",3,"click","src","id"],[1,"Checkboximg","Checkboximgescrow",3,"click","src","id"],[1,"container_fluid"],[1,"row","first_row"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12"],[1,"close_image"],["src","ng_assets/images/login_close.png",1,"close","WebLoginBtn",3,"click"],[1,"row","empty_row"],[1,"row","third_row"],[1,"col-lg-6","col-md-6","col-xs-6","col-sm-6","image_section"],[1,"TwoImg_section"],[1,"First_img"],["src","ng_assets/images/Download_image.png",1,"Big_Img"],[1,"Second_img"],["src","ng_assets/images/small_front_new.png",1,"small_img"],[1,"col-lg-6","col-md-6","col-xs-6","col-sm-6","section_two"],[1,"second_content"],[1,"you"],["class","continue_sec",3,"style","mouseover","mouseout","click",4,"ngIf"],["class","height-140",4,"ngIf"],["class","Forget_sec",4,"ngIf"],["class","QRcode_section",4,"ngIf"],[1,"market_awaits"],[1,"await_text"],[1,"row","empty"],[1,"row","fourth_row"],[1,"col-lg-6","col-md-6","col-xs-6","col-sm-6"],[1,"OneTree_img"],["src","ng_assets/images/tree_one.png",1,"tree_one"],[1,"TwoTree_img"],["src","ng_assets/images/tree_two.png",1,"tree_two"],[1,"continue_sec",3,"mouseover","mouseout","click"],[1,"continue_text"],[1,"height-140"],[1,"Forget_sec"],[1,"Forget_text"],[1,"QRcode_section"],[1,"QRContent"],[1,"QR_img",3,"src"],[1,"Gap_GA"],["target","_blank",1,"text-decoration-none",3,"href"],[1,"App_Section",3,"mouseover","mouseout"],["xmlns","http://www.w3.org/2000/svg","width","24","height","27","viewBox","0 0 24 27","fill","none",1,"svg_img"],["d","M19.5354 25.6183C18.0832 27.0267 16.4977 26.8043 14.9714 26.1372C13.3562 25.4552 11.8744 25.4255 10.1703 26.1372C8.03644 27.0563 6.91025 26.7895 5.63588 25.6183C-1.59544 18.1611 -0.528527 6.80485 7.6808 6.38974C9.68127 6.49352 11.0742 7.48682 12.2448 7.57577C13.9934 7.21996 15.6679 6.19701 17.535 6.33044C19.7725 6.50835 21.4618 7.39787 22.5732 8.99901C17.9499 11.7714 19.0464 17.8646 23.2845 19.5695C22.4398 21.7933 21.3433 24.0023 19.5206 25.6331L19.5354 25.6183ZM12.0967 6.30079C11.8744 2.99473 14.5565 0.266857 17.6387 0C18.0684 3.82495 14.1712 6.67143 12.0967 6.30079Z","fill","white"],[1,"text_icon","text-white"],[1,"Google_Section",3,"mouseover","mouseout"],[1,"Google_app"],["xmlns","http://www.w3.org/2000/svg","width","22","height","25","viewBox","0 0 22 25","fill","none",1,"svg_img"],["d","M20.9401 13.7763L17.0831 15.9592L13.6238 12.5215L17.1107 9.05629L20.9401 11.2234C21.1661 11.3512 21.3541 11.5367 21.4849 11.761C21.6158 11.9853 21.6847 12.2402 21.6847 12.4999C21.6847 12.7595 21.6158 13.0145 21.4849 13.2388C21.3541 13.463 21.1661 13.6486 20.9401 13.7763ZM0.586546 1.59827C0.513511 1.77558 0.476058 1.96552 0.47632 2.15728V22.8415C0.47632 23.0551 0.520607 23.2539 0.598356 23.432L11.5767 12.5206L0.586546 1.59827ZM12.6003 11.5039L15.8067 8.31718L2.66609 0.880815C2.38443 0.718954 2.05639 0.656883 1.73507 0.704649L12.6003 11.5039ZM12.6003 13.5382L1.77444 24.2981C2.06772 24.3335 2.37675 24.2823 2.66609 24.118L15.7791 16.6974L12.6003 13.5382Z","fill","white"]],template:function(i,o){i&1&&(y(0,"link",15),l(1,"div",16)(2,"div",17),k(3,K_,3,0,"div",18)(4,J_,2,7,"div",19)(5,e1,7,5,"ng-template",null,0,mt)(7,t1,8,5,"ng-template",null,1,mt)(9,i1,20,6,"div",20)(10,v1,9,2,"div",20)(11,y1,43,1,"div",20),l(12,"div"),y(13,"input",21)(14,"input",22)(15,"input",23)(16,"input",24)(17,"input",25)(18,"input",26)(19,"input",27)(20,"input",28)(21,"input",29)(22,"input",30)(23,"input",31)(24,"input",32)(25,"input",33)(26,"input",34)(27,"input",35)(28,"input",36)(29,"input",37)(30,"input",38)(31,"input",39)(32,"input",40)(33,"input",41)(34,"input",42)(35,"input",43)(36,"input",44)(37,"input",45)(38,"input",46)(39,"input",47)(40,"input",48)(41,"input",49)(42,"input",50)(43,"input",51)(44,"input",52)(45,"input",53)(46,"input",54)(47,"input",55)(48,"input",56)(49,"input",57)(50,"input",58)(51,"textarea",59),c(),y(52,"input",60),k(53,kv,99,46,"div",61)(54,Av,37,5,"div",18),c()()),i&2&&(d(3),g("ngIf",o.isLoading),d(),g("ngIf",o.toastalertshow),d(5),g("ngIf",o.canadaofficepopup),d(),g("ngIf",o.standaloneStatePopup),d(),g("ngIf",o.AuthenticatorHelpPopup),d(42),g("ngIf",o.LoginSec),d(),g("ngIf",o.WebappLoginSec))}
11,dependencies:[xn,os,ss,hi,rl,wn,sl,Sn,Vi,Ri,we,wi,Ki,De,rt,$e,It,ul,qt,zt,Zt,Gt,nr],encapsulation:2});let n=r;return n})();var Fv=["mymodal"],Ov=["ShareAppModal"],Lv=["EmailInput"],Rv=["NewUserEmail"],Vv=["PasswordFocus"],Pv=(n,r,e,t)=>({"toast-container":!0,toastalertred:n,toastalertyellow:r,toastalertgreen:e,hide:t}),Ul=n=>({"clicked-class":n}),Bv=n=>({"outline-color":n});function Nv(n,r){n&1&&(l(0,"div"),y(1,"div",128)(2,"span",129),c())}function Uv(n,r){if(n&1&&(l(0,"div",130),f(1),c()),n&2){let e=p();g("ngClass",ao(2,Pv,e.ToastApiError,e.ToastApiWarning,e.ToastApiSuccess,!e.toastalertshow)),d(),N(" ",e.toastmessage," ")}}function Hv(n,r){if(n&1){let e=T();l(0,"div",131),y(1,"div",132),c(),l(2,"div",133)(3,"button",134),_("click",function(){h(e);let i=p();return m(i.EmailProceedFun())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","yesproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","yesproceed"))}),f(4,"Yes, Proceed"),c(),l(5,"button",135),_("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","editproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","editproceed"))}),f(6,"Edit"),c()()}if(n&2){let e=p();d(),g("innerHTML",e.EmailContent,Et),d(2),x(e.ProceedBtnstyle),d(2),x(e.EditBtnstyle)}}function Wv(n,r){if(n&1){let e=T();l(0,"div",131)(1,"div",136),f(2),c()(),l(3,"div",133)(4,"button",134),_("click",function(){h(e);let i=p();return m(i.Shareapp_proceed())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","yesSwproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","yesSwproceed"))}),f(5,"Yes, Proceed"),c(),l(6,"button",137),_("click",function(){h(e);let i=p();return m(i.Shareapp_proceedEdit())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","editswproceed"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","editswproceed"))}),f(7,"No"),c()()}if(n&2){let e=p();d(2),B(e.ShareAppContent),d(2),x(e.SwtBtnstyle),d(2),x(e.EditSwBtnstyle)}}function jv(n,r){if(n&1&&(l(0,"div",153),y(1,"img",154),c()),n&2){let e=p(2);d(),g("src",e.SwitchImgUrl,Y)}}function $v(n,r){if(n&1){let e=T();l(0,"button",155),_("click",function(){let i=h(e).$implicit,o=p(2);return m(o.SwitchButtonAction(i))}),f(1),c()}if(n&2){let e=r.$implicit;d(),B(e.name)}}function zv(n,r){if(n&1){let e=T();l(0,"div",138)(1,"div",139)(2,"div",140)(3,"div",141)(4,"div",142)(5,"div",143),f(6),c(),l(7,"div",144),_("click",function(){h(e);let i=p();return m(i.CloseSwitchPopup())}),he(),l(8,"svg",145),y(9,"path",146),c()()(),pe(),l(10,"div",147)(11,"div",148),k(12,jv,2,1,"div",149),y(13,"div",150),l(14,"div",151),k(15,$v,2,1,"button",152),c()()()()()()()}if(n&2){let e=p();d(6),N(" ",e.SwitchTitle," "),d(6),g("ngIf",e.SwitchImgUrl),d(),oi("text-align",e.SwitchMessageAlign),g("innerHTML",e.SwitchFormattedMsg,Et),d(2),g("ngForOf",e.SwitchButtonDetails)}}function Gv(n,r){if(n&1){let e=T();l(0,"div",138)(1,"div",139)(2,"div",140)(3,"div",156)(4,"div",157),_("click",function(){h(e);let i=p();return m(i.CloseAuthHelpPopupFun())}),he(),l(5,"svg",145),y(6,"path",158),c()(),pe(),l(7,"div",159),he(),l(8,"svg",160)(9,"g",161),y(10,"path",162),c()()(),pe(),l(11,"div",147)(12,"div",163)(13,"div",164),f(14," What is 2-Factor Authentication? "),c(),l(15,"div",165),f(16," Two-factor authentication is a security process that requires users to provide two different forms of identification before accessing their accounts, enhancing protection against unauthorized access. "),c(),l(17,"div",166),f(18," How to enter your 2FA Code: "),c(),l(19,"div",167)(20,"ul",168)(21,"li")(22,"span",169),f(23,"Check Your Device -"),c(),f(24," The code is sent via text message. Make sure your phone number is entered correctly on the \u2018user information\u2019 screen. "),c(),l(25,"li")(26,"span",169),f(27,"Enter the Code Accurately -"),c(),f(28," 2FA codes are time-sensitive. Ensure there are no accidental typos before entering. "),c(),l(29,"li")(30,"span",169),f(31,"User the Latest Co
11de -"),c(),f(32," If you requested multiple codes, enter the most recent one. "),c(),l(33,"li")(34,"span",169),f(35,"Wait for the Code to Arrive -"),c(),f(36," Sometimes, delays happen. If you don\u2019t receive it within a minute, try resending the code. "),c()()(),l(37,"div",170),f(38," Still having trouble? "),l(39,"a",171)(40,"span",172),f(41,"Contact Support "),c()(),f(42," and we\u2019ll assist you. "),c()()()()()()()}if(n&2){let e=p();d(39),g("href",e.SupportLink,Y)}}function Zv(n,r){n&1&&y(0,"img",173)}function qv(n,r){if(n&1&&(l(0,"div",174),f(1),y(2,"img",175),c()),n&2){let e=p();d(),N("",e.TTBrandStateName," ")}}function Xv(n,r){n&1&&(l(0,"span",176),f(1,"ONE"),c())}function Qv(n,r){if(n&1){let e=T();l(0,"div",181)(1,"input",192,3),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.UserPassword,i)||(o.UserPassword=i),m(i)}),_("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"user_login"))})("input",function(i){h(e);let o=p(2);return m(o.onInputChange(i,"password"))})("focusout",function(){h(e);let i=p(2);return m(i.InputTrackingFun("password"))}),c()()}if(n&2){let e=p(2);d(),z("ngModel",e.UserPassword),g("ngClass",ie(3,Ul,e.password))("ngStyle",ie(5,Bv,e.isFocused?e.focusColor:e.initial))}}function Yv(n,r){if(n&1&&(l(0,"div",108),f(1),c()),n&2){let e=p(2);d(),B(e.ErrorMsgText)}}function Kv(n,r){if(n&1){let e=T();l(0,"div",193)(1,"input",111),Z("ngModelChange",function(i){h(e);let o=p(2);return G(o.userremember,i)||(o.userremember=i),m(i)}),c(),l(2,"div",194),_("click",function(){h(e);let i=p(2);return m(i.SelectCheckBox())}),y(3,"img",195),c(),l(4,"span",196),f(5,"Remember me"),c()()}if(n&2){let e=p(2);d(),z("ngModel",e.userremember),d(2),g("src",e.SelectCheckImg,Y)}}function Jv(n,r){if(n&1){let e=T();l(0,"button",197),_("click",function(){h(e);let i=p(2);return i.LoginNext("check_email"),m(i.InputTrackingFun("email_screen"))}),f(1,"Next"),c()}if(n&2){let e=p(2);g("ngStyle",e.CreateAccStyles)}}function ey(n,r){if(n&1){let e=T();l(0,"button",198),_("click",function(){h(e);let i=p(2);return m(i.LoginNext("user_login"))}),f(1,"Next"),c()}if(n&2){let e=p(2);g("ngStyle",e.CreateAccStyles)}}function ty(n,r){n&1&&(l(0,"div",199),y(1,"span",200),l(2,"span",201),f(3,"(OR)"),c(),y(4,"span",200),c())}function iy(n,r){if(n&1){let e=T();l(0,"div")(1,"button",198),_("click",function(){h(e);let i=p(2);return m(i.LoginNext("sso_login"))}),f(2,"Login with EAGLE ID"),c()()}if(n&2){let e=p(2);d(),g("ngStyle",e.FirstAmericonStyle)}}function ny(n,r){n&1&&(l(0,"div",202),y(1,"img",203),c()),n&2&&(d(),g("defaultImage","ng_assets/images/LOGO_EID_BLUE.png")("lazyLoad","ng_assets/images/LOGO_EID_BLUE.png"))}function ry(n,r){if(n&1){let e=T();l(0,"div",204)(1,"span",205),_("click",function(){h(e);let i=p(2);return i.ForgotpasswordFun(),m(i.InputTrackingFun("enter_forgot"))}),f(2,"Forgot password?"),c()()}}function oy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),l(3,"div",179),f(4," Please enter your email address "),c(),l(5,"div",180)(6,"div",181)(7,"input",182,2),Z("ngModelChange",function(i){h(e);let o=p();return G(o.UserEmail,i)||(o.UserEmail=i),m(i)}),_("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"check_email"))})("paste",function(i){h(e);let o=p();return m(o.RemoveMailToCharFun(i))})("input",function(i){h(e);let o=p();return o.onInputChange(i,"email"),m(o.removeSpacesFromEmail())})("focusout",function(){h(e);let i=p();return m(i.InputTrackingFun("email"))}),c()(),k(9,Qv,3,7,"div",183)(10,Yv,2,1,"div",184)(11,Kv,6,2,"div",185),l(12,"div",186),k(13,Jv,2,1,"button",187)(14,ey,2,1,"button",188),c(),k(15,ty,5,0,"div",189)(16,iy,3,1,"div",13)(17,ny,2,2,"div",190)(18,ry,3,0,"div",191),c()()}if(n&2){let e=p();d(7),z("ngModel",e.UserEmail),g("ngClass",ie(11,Ul,e.email)),d(2),g("ngIf",e.UserPassWordVis),d(),g("ngIf",e.ErrorMsg),d(),g("ngIf",e.UserPassWordVis),d(2),g("ngIf",e.EmailLogin),d(),g("ngIf",e.UserLogin),d(),g("ngIf",e.FirstAmericonEnable),d(),g("ngIf",e.FirstAmericonEnable),d(),g("ngIf",e.FirstAmericonEnable),d(),g("ngIf",e.UserPassWordVis)}}function sy(n,r){if(n&1){let e=T();l(0,"button",208),_("click",function(){h(e);let i=p(2);return m(i.SwitchUserFun())})("mouseover",function(){h(e);let i=p(2);return m(i.SwitchHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p(2);return m(i.SwitchHoverBtn("leave"))}),f(1),c()}if(n&2){let e=p(2);x(e.SwitchStyles),d(),B(e.switchuserto)}}function ay(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),l(3,"div",206),f(4),c(),l(5,"div",207)(6,"button",208),_("click",function(){h(e);let i=p();return m(i.LoginNext("new_user_login"))})("mouseover",function(){h(e);let i=p();return m(i.SubmitHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p();return m(i.SubmitHoverBtn("leave"))}),f(7,"ENTER DIFFERENT EMAIL"),c()(),l(8,"div",207),k(9,sy,2,3,"button",209),c(),l(10,"div",207)(11,"button",208),_("click",function(){h(e);let i=p();
11return m(i.SwitchMarketFun(i.LoginToMarket))})("mouseover",function(){h(e);let i=p();return m(i.SwitchLogHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p();return m(i.SwitchLogHoverBtn("leave"))}),f(12),c()()()}if(n&2){let e=p();d(4),N(" ",e.switchusermsg," "),d(2),x(e.EmailBtn),d(3),g("ngIf",e.market_code!="GC"),d(2),x(e.SwitchLogStyles),d(),B(e.switchuserlogin)}}function ly(n,r){if(n&1){let e=T();l(0,"div",207)(1,"button",211),_("click",function(){h(e);let i=p(2);return m(i.AcademyLoginFun(i.AcademyLoginLink))}),f(2),c()()}if(n&2){let e=p(2);d(),x(e.AcademyStyles),d(),B(e.AcademyLogin)}}function cy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),l(3,"div",206),f(4," Choose where you'd like to go "),c(),l(5,"div",207)(6,"button",208),_("click",function(){h(e);let i=p();return m(i.WebAppLoginFun(i.AppLoginLink,"ONEAPPLogin"))})("mouseover",function(){h(e);let i=p();return m(i.AppLogHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p();return m(i.AppLogHoverBtn("leave"))}),f(7),c()(),l(8,"div",207)(9,"button",208),_("click",function(){h(e);let i=p();return m(i.WebAppLoginFun(i.DashboardLoginLink,"DashboardLogin"))})("mouseover",function(){h(e);let i=p();return m(i.DashboardLogHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p();return m(i.DashboardLogHoverBtn("leave"))}),f(10),c()(),k(11,ly,3,3,"div",210),c()}if(n&2){let e=p();d(6),x(e.AppStyles),d(),B(e.AppLogin),d(2),x(e.DashboardStyles),d(),B(e.DashboardLogin),d(),g("ngIf",e.AcademyLoginLink)}}function dy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),l(3,"div",212),f(4),c(),l(5,"div",207)(6,"button",213),_("click",function(){h(e);let i=p();return m(i.CloseLogin())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","switch"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","switch"))}),f(7,"Ok"),c()()()}if(n&2){let e=p();d(4),N(" ",e.SwtichSuccessMsg," "),d(2),x(e.DownloadStyles)}}function uy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),y(3,"div",214),l(4,"div",207)(5,"button",213),_("click",function(){h(e);let i=p();return m(i.CloseLogin())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","switch"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","switch"))}),f(6,"Ok"),c()()()}if(n&2){let e=p();d(3),g("innerHTML",e.InactiveUserMsg,Et),d(2),x(e.DownloadStyles)}}function hy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Request Received "),c(),y(3,"div",214),l(4,"div",207)(5,"button",213),_("click",function(){h(e);let i=p();return m(i.CloseLogin())})("mouseover",function(){h(e);let i=p();return m(i.HoverBtn("Hover","switch"))})("mouseout",function(){h(e);let i=p();return m(i.HoverBtn("Leave","switch"))}),f(6,"Ok"),c()()()}if(n&2){let e=p();d(3),g("innerHTML",e.PendingApprovalMsg,Et),d(2),x(e.DownloadStyles)}}function my(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),l(3,"div",206),f(4," Please enter your email address "),c(),l(5,"div",215)(6,"input",216),Z("ngModelChange",function(i){h(e);let o=p();return G(o.ForgetUserEmail,i)||(o.ForgetUserEmail=i),m(i)}),_("focusout",function(){h(e);let i=p();return m(i.InputTrackingFun("enter_forgot_password"))}),c()(),l(7,"div",207)(8,"button",211),_("click",function(){h(e);let i=p();return i.LoginNext("ForgotPassword"),m(i.InputTrackingFun("forgot_password"))}),f(9,"Next"),c()()()}if(n&2){let e=p();d(6),z("ngModel",e.ForgetUserEmail),g("ngClass",ie(4,Ul,e.passemail)),d(2),x(e.DownloadStyles)}}function py(n,r){if(n&1){let e=T();l(0,"div",219)(1,"div",220),_("click",function(){h(e);let i=p(2);return m(i.LoginNext("ForgotPasswordSMS"))}),f(2,"Did not receive email, text me the link for forget password?"),c()()}}function fy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",178),f(2," Welcome back! "),c(),l(3,"div",217),f(4),c(),l(5,"div",207)(6,"button",211),_("click",function(){h(e);let i=p();return m(i.LoginNext("CheckExistsMail"))}),f(7,"Next"),c()(),k(8,py,3,0,"div",218),c()}if(n&2){let e=p();d(3),g("ngClass",e.forgotpassmsgIsError?"text-error-wide":"text-success-wide"),d(),B(e.forgotpassmsg),d(2),x(e.DownloadStyles),d(2),g("ngIf",e.forgotpasssms)}}function gy(n,r){if(n&1&&(l(0,"span"),f(1,"Remaining time:\xA0"),l(2,"strong",231),f(3),Xi(4,"number"),Xi(5,"number"),c()()),n&2){let e=p(2);d(3),Tt("",Qi(4,2,e.minutes,"2.0"),":",Qi(5,5,e.seconds,"2.0"),"s")}}function _y(n,r){if(n&1){let e=T();l(0,"div",234),f(1,"Didn't receive the OTP? "),l(2,"span",235),_("click",function(){h(e);let i=p(3);return m(i.ResendAuthOTPFun("ResenedAuthOTPLogin"))}),f(3,"Resend"),c()()}}function vy(n,r){if(n&1){let e=T();l(0,"div",234)(1,"span",235),_("click",function(){h(e);let i=p(3);return m(i.EmailOTPFun())}),f(2),c()()}if(n&2){let e=p(3);d(2),B(e.email_otp_content)}}function yy(n,r){if(n&1){let e=T();l(0,"div")(1,"div",186)(2,"button",232),_("click",function(){h(e);let i=p(2);return i.VerifyAuthCodeOTPFun("VerifyTwoFactorAuthNumberLogin"),m(i.InputTrackingFun("verify_auth"))})("keypress",function(i){h(e);let o=p(2);
11return m(o.LoginEnterFun(i,"verify_auth"))}),f(3),c()(),k(4,_y,4,0,"div",233)(5,vy,3,1,"div",233),c()}if(n&2){let e=p(2);d(2),g("ngStyle",e.VerifyNoOTP),d(),B(e.AuthBTN),d(),g("ngIf",e.timer===0),d(),g("ngIf",e.email_otp)}}function by(n,r){if(n&1){let e=T();l(0,"div",234),f(1,"Didn't receive the OTP? "),l(2,"span",235),_("click",function(){h(e);let i=p(3);return m(i.ResendAuthOTPFun("ResendGetTryAnotherWayOTPLogin"))}),f(3,"Resend"),c()()}}function Cy(n,r){if(n&1){let e=T();l(0,"div")(1,"div",186)(2,"button",232),_("click",function(){h(e);let i=p(2);return i.VerifyAuthCodeOTPFun("VerifyGetTryAnotherWayEmailLogin"),m(i.InputTrackingFun("verify_auth"))})("keypress",function(i){h(e);let o=p(2);return m(o.LoginEnterFun(i,"verify_auth"))}),f(3),c()(),k(4,by,4,0,"div",233),c()}if(n&2){let e=p(2);d(2),g("ngStyle",e.VerifyNoOTP),d(),B(e.AuthBTN),d(),g("ngIf",e.timer===0)}}function Sy(n,r){if(n&1){let e=T();l(0,"div",177)(1,"div",221),_("click",function(){h(e);let i=p();return m(i.TwoFactorAuthHelpFun())}),l(2,"div",222),f(3,"Help"),c()(),l(4,"div",178),f(5),c(),l(6,"div",223),f(7),c(),l(8,"div",180)(9,"div",224)(10,"input",225,4),Z("ngModelChange",function(i){h(e);let o=p();return G(o.OTPVerifyOneVal,i)||(o.OTPVerifyOneVal=i),m(i)}),_("input",function(i){h(e);let o=p();return o.InsertOTPFun(i,"OTPVerifyTwo"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p();return m(o.RemoveOTPFun(i,null))})("paste",function(i){h(e);let o=p();return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(12,"input",226,5),Z("ngModelChange",function(i){h(e);let o=p();return G(o.OTPVerifyTwoVal,i)||(o.OTPVerifyTwoVal=i),m(i)}),_("input",function(i){h(e);let o=p();return o.InsertOTPFun(i,"OTPVerifyThree"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p();return m(o.RemoveOTPFun(i,"OTPVerifyOne"))})("paste",function(i){h(e);let o=p();return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(14,"input",227,6),Z("ngModelChange",function(i){h(e);let o=p();return G(o.OTPVerifyThreeVal,i)||(o.OTPVerifyThreeVal=i),m(i)}),_("input",function(i){h(e);let o=p();return o.InsertOTPFun(i,"OTPVerifyFour"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p();return m(o.RemoveOTPFun(i,"OTPVerifyTwo"))})("paste",function(i){h(e);let o=p();return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(16,"input",228,7),Z("ngModelChange",function(i){h(e);let o=p();return G(o.OTPVerifyFourVal,i)||(o.OTPVerifyFourVal=i),m(i)}),_("input",function(i){h(e);let o=p();return o.InsertOTPFun(i,"OTPVerifyFive"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p();return m(o.RemoveOTPFun(i,"OTPVerifyThree"))})("paste",function(i){h(e);let o=p();return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(18,"input",229,8),Z("ngModelChange",function(i){h(e);let o=p();return G(o.OTPVerifyFiveVal,i)||(o.OTPVerifyFiveVal=i),m(i)}),_("input",function(i){h(e);let o=p();return o.InsertOTPFun(i,"OTPVerifySix"),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p();return m(o.RemoveOTPFun(i,"OTPVerifyFour"))})("paste",function(i){h(e);let o=p();return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"verify_auth"))}),c(),l(20,"input",230,9),Z("ngModelChange",function(i){h(e);let o=p();return G(o.OTPVerifySixVal,i)||(o.OTPVerifySixVal=i),m(i)}),_("input",function(i){h(e);let o=p();return o.InsertOTPFun(i,null),m(o.CheckOTPInputFun())})("keydown.backspace",function(i){h(e);let o=p();return m(o.RemoveOTPFun(i,"OTPVerifyFive"))})("paste",function(i){h(e);let o=p();return m(o.AuthCodePasteFun(i))})("keypress",function(i){h(e);let o=p();return m(o.LoginEnterFun(i,"verify_auth"))}),c()(),l(22,"div"),k(23,gy,6,8,"span",13),c(),k(24,yy,6,4,"div",13)(25,Cy,5,3,"div",13),c()()}if(n&2){let e=p();d(5),N(" ",e.AuthTitle," "),d(2),N(" ",e.AuthenticatorMsg," "),d(3),z("ngModel",e.OTPVerifyOneVal),d(2),z("ngModel",e.OTPVerifyTwoVal),d(2),z("ngModel",e.OTPVerifyThreeVal),d(2),z("ngModel",e.OTPVerifyFourVal),d(2),z("ngModel",e.OTPVerifyFiveVal),d(2),z("ngModel",e.OTPVerifySixVal),d(3),g("ngIf",e.timer>0),d(),g("ngIf",e.MobileOTPSec),d(),g("ngIf",e.EmailOTPSec)}}function wy(n,r){n&1&&(l(0,"div"),y(1,"div",128)(2,"span",129),c())}function xy(n,r){n&1&&y(0,"i",236)}var om=(()=>
11{let r=class r{constructor(t,i,o,s,a,u,v,C,S){this.renderer=t,this.router=i,this.globalService=o,this.apiservice=s,this.dialog=a,this.sharedService=u,this.location=v,this.sanitizer=C,this.http=S,this.closePopupfrm=new me,this.market_name="",this.market_title="",this.market_code="",this.get_market_code="",this.UserEmail="",this.UserPassword="",this.userremember=0,this.gradientStartColor="",this.gradientEndColor="",this.marketlogo="",this.error={},this.ApiUrl="",this.formData={},this.UserPassWordVis=!1,this.isLoading=!1,this.EmailLogin=!0,this.UserLogin=!1,this.email=!1,this.password=!1,this.SelectCheckImg="ng_assets/images/checkbox_unselect.png",this.switchuseralert=!1,this.userlogin=!0,this.username="",this.switchusermsg="",this.switchuserlogin="",this.switchuserto="",this.reploginsection=!1,this.AppLogin="",this.DashboardLogin="",this.AcademyLogin="",this.AppLoginLink="",this.DashboardLoginLink="",this.AcademyLoginLink="",this.MarketCodeNew="",this.HdnUserEmail="",this.SwtichSuccessMsg="",this.SwitchSuccesssection=!1,this.SwitchTitle="",this.SwitchImgUrl="",this.SwitchImgRatio="",this.SwitchMessageAlign="center",this.SwitchButtonDetails=[],this.SwitchDismissPopup="no",this.SwitchSuccessPopup=!1,this.SwitchFormattedMsg="",this.ForgetUserEmail="",this.forgotpassuser=!1,this.passemail=!1,this.forgotpasssucess=!1,this.forgotpassmsg="",this.forgotpassmsgIsError=!1,this.forgotpasssms=!0,this.CreateAccStyles={},this.FirstAmericonStyle={},this.DownloadStyles={},this.switchStyles={},this.switchloginStyles={},this.LoginVisible="display:block",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none",this.EmailContent="",this.Btnstyle={},this.LoginToMarket="",this.ShareAppContent="",this.ShareApp_Action="",this.ShareApp_Code="",this.ip_address="",this.MasterPassword="no",this.email_screen="no",this.login_track="no",this.signup="no",this.title_rep="no",this.rep_selection="no",this.moved_market="no",this.move_account="no",this.location_track="no",this.title_rep_preview="no",this.otp_verification="no",this.manager_market_selection="no",this.forgot_password="no",this.escrow_selection="no",this.forgot="no",this.Lender_selection="no",this.user_information="no",this.role_selection="no",this.screen_name="",this.InactiveUser=!1,this.PendingApproval=!1,this.one_label=!1,this.EmailBtn={},this.SwitchStyles={},this.SwitchLogStyles={}
11,this.AppStyles={},this.DashboardStyles={},this.AcademyStyles={},this.ProceedBtnstyle={},this.EditBtnstyle={},this.SwtBtnstyle={},this.EditSwBtnstyle={},this.One_Label="ONE",this.ErrorMsg=!1,this.ErrorMsgText="Your password is incorrect.",this.isFocused=!1,this.focusColor="red",this.initial="",this.PrintoutLogo="https://d2w998roo7cij6.cloudfront.net/generic_brands/FA/logo_FA.png",this.rep_name="Betty Boop",this.rep_email="[email protected]",this.rep_phone="(123) 456-7890",this.rep_profile={"background-repeat":"no-repeat","background-size":"100% 100%","background-image":"url(ng_assets/images/rep_default_new.png)"},this.RepCheckImg="ng_assets/images/checkbox_unselect.png",this.WidgetCheckImg="ng_assets/images/unchecked.png",this.widgetLogin="",this.isQuoteLoadVisible=!1,this.pointerEvents="all",this.Market_Logo="",this.widget_signin_user_email="",this.widget_signin_user_password="",this.widget_error="",this.Widgetremember=0,this.TTBrandState=!1,this.TTBrandStateName="",this.enable_mobile_website="",this.userlogintwofactAuthverify=!1,this.AuthenticatorMsg="",this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",this.VerifyNoOTP={},this.VerifybackOTP={},this.AuthText=!1,this.toastalertshow=!1,this.toastmessage="",this.AuthTitle="",this.AuthBTN="",this.ToastApiError=!1,this.ToastApiWarning=!1,this.ToastApiSuccess=!1,this.AuthenticatorHelpPopup=!1,this.AuthResentDis=!1,this.AuthResentBtn="",this.SupportLink="https://palmagent.com/support",this.Show_2Factor_Auth_Mobile="",this.Show_2Factor_Auth_Mobile_Login="",this.Show_2Factor_Auth_Email="",this.Auth_help=!1,this.country_code="",this.selectedCountry="",this.CountryCodeShow=!1,this.ResendAction="",this.timer=300,this.minutes=0,this.seconds=0,this.email_otp=!1,this.email_otp_content="",this.MobileOTPSec=!0,this.EmailOTPSec=!1,this.OTPAutoVerifiedCode="",this.FirstAmericonEnable=!1,this.IsIt_SSOLogIN=!1,this.SSO_Code="",this.SSO_Email="",this.SSO_First_name="",this.SSO_First_Last="",this.SSO_token="",this.expires_in="",this.allowedSSOIPs=["49.207.182.107"],this.userIP="",this.ssoPopup=null,this.ssoPopupChecker=null,this.ssoTokens=null,this.ssoUserInfo=null,this.SingleApiArray=["NOB","MOT","OM","GUH","FIH","REE","BRI","SAK","SOQ","COK","LO","BAR","CEC","LIX","BL","HAR","SOF","SAM","CLH","CRT","FIV","ALZ","FOY","FR","INJ","JK","KN","LED","LT","AMA","WF","STP"],this.dynamicComponentService=b(et)}ngOnInit(){this.TimeStamp=Date.now(),this.screenWidth=window.innerWidth;let t=this.location.path().split("id=");t!=null&&t.length>1?this.widgetLogin=t[1]:this.widgetLogin="",this.widgetLogin=="widget"&&this.screenWidth>=992?(this.setStyleForClass("SignupPopup","display","none"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopupnew","display","none"),this.setStyleForClass("WidgetLogin","display","block"),setTimeout(()=>{let i=document.getElementById(window.qq_w_code);this.renderer.setStyle(i,"display","none");let o=document.getElementById(window.qq_w_code+"_sweet");this.renderer.setStyle(o,"display","none")},1e3)):this.CloseLogin(),this.market_name=this.globalService.getMarketName(),this.gradientEndColor=this.globalService.getmarketdarkcolor(),this.gradientStartColor=this.globalService.getmarketlightcolor(),this.market_code=this.globalService.getmarket_code(),this.sharedService.enableLoginBtn$.subscribe(()=>{this.CreateAccStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"}}),this.sharedService.resetLogin$.subscribe(()=>{this.resetLoginComponent()}),document.getElementById("display_one_label").value=this.globalService.getdisplay_onelabel(),this.globalService.getdisplay_onelabel()=="yes"?(this.AppLogin=this.globalService.getMarketName()+" ONE",this.One_Label="ONE"):(this.AppLogin=this.globalService.getMarketName(),this.One_Label=""),this.setStyleForClass("widget_head","background-color",this.gradientEndColor),this.setStyleForClass("marketbar","background-color",this.gradientEndColor),this.setStyleForClass("user_forgetpassword","color",this.gradientEndColor),this.setStyleForClass("buttondiv","background-color",this.gradientEndColor),this.setStyleForClass("user_forgetpassword","color",this.gradientEndColor),this.setStyleForClass("widget_footer","background-color",this.gradientEndColor),this.Market_Logo=`https://d2w998roo7cij6.cloudfront.net/flyers_market_logo/${this.globalService.getmarket_code()}.png`,this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.enable_mobile_website=="on"&&(this.TTBrandState=!0,this.TTBrandStateName=this.globalService.getWebsite_countyName(),this.setStyleForClass("MarketLogo","max-width","135px")),setTimeout(()=>{if(this.market_name==null&&(this.market_name=this.globalService.getMarketName(),this.gradientEndColor=this.globalService.getmarketdarkcolor(),this.gradientStartColor=this.globalService.getmarketlightcolor(),this.market_code=this.globalService.getmarket_code(),this.globalService.getdisplay_onelabel()=="yes"?(this.AppLogin=this.globalService.getMarketName()+" ONE",this.One_Label="ONE"):(this.AppLogin=this.globalService.getMarketName(),this.One_Label=""),this.setStyleForClass("widget_head","background-color",this.gradientEndColor),this.setStyleForClass("marketbar","background-color",this.gradientEndColor),this.setStyleForClass("user_forgetpassword","color",this.gradientEndColor),this.setStyleForClass("buttondiv","background-color",this.gradientEndColor),this.setStyleForClass("user_forgetpassword","color",this.gradientEndColor),this.setStyleForClass("widget_footer","background-color",this.gradientEndColor),this.Market_Logo=`https://d2w998roo7cij6.cloudfront.net/flyers_market_logo/${this.globalService.getmarket_code()}.png`),this.market_title=this.globalService.getmarket_title(),this.DashboardLogin=this.globalService.getMarketName()+" Dashboard",this.AcademyLogin=this.globalService.getMarketName()+" Academy",this.globalService.setuseremail(""),this.PrintoutLogo="https://d2w998roo7cij6.cloudfront.net/generic_brands/"+this.globalService.getmarket_code()+"/logo_"+this.globalService.getmarket_code()+".png",this.marketlogo=`https://d2w998roo7cij6.cloudfront.net/one_logo/${this.globalService.getmarket_code()}.png`,this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!="")this.getCookieHttp("hp_email").subscribe(i=>{let o=i;this.handleUserEmail(o)});else{let i=this.getCookie("hp_email");this.handleUserEmail(i)}if(this.market_code=="FIA"||this.market_code=="FIJ"?this.FirstAmericonEnable=!0:this.FirstAmericonEnable=!1,this.FirstAmericonStyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"}
11,this.AppStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.DashboardStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.AcademyStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none",cursor:"pointer","pointer-events":"all"},this.Btnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.EmailBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.SwitchStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.SwitchLogStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.ProceedBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.EditBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.SwtBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.EditSwBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.DownloadStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"},this.VerifybackOTP={"background-color":`${this.gradientEndColor}`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none",color:"#FFFFFF"},this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""?this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(i=>{this.phpData=i}):this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(i=>{this.phpData=i}),this.phpData!=null&&this.phpData!=""){if(this.phpData=decodeURIComponent(this.phpData),this.phpData=JSON.parse(atob(this.phpData)),this.phpData.switch_user_email!=""&&(this.UserEmail=this.phpData.switch_user_email),this.ip_address=this.phpData.Show_ipaddress,this.globalService.setmmppreview(this.phpData.ismmppreview),this.UserEmail!=null&&this.UserEmail!=""){this.LoginVisible="display:none",this.InfoVisible="display:block",this.AreaVisible="display:none",this.RepVisible="display:none",this.CreateAccStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"},setTimeout(()=>{this.focusElement(this.PasswordFocus)},500);return}}else console.log("phpData is not defined on the window object");this.globalService.getdisplay_onelabel()=="yes"&&(this.one_label=!0)},1300)}focusElement(t){let i=t.toArray();i.length>0&&i[0].nativeElement.focus()}getCookie(t){var i="";let o=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return o?o[2]:null}getCookieHttp(t){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"GetCookie",name:t};let i={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};return this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).pipe(X(o=>{let s=o.body;return s.status==="Success"?s.value:""}))}handleUserEmail(t){let i=!(this.UserEmail===""||this.UserEmail==null);if(t){if(!i){this.UserEmail=t,this.widget_signin_user_email=t,this.userremember=1,this.Widgetremember=1,this.SelectCheckImg="ng_assets/images/checkbox_select.png",this.WidgetCheckImg="ng_assets/images/checked_trans.png";let o=document.getElementById("widget_checkbox");this.renderer.setStyle(o,"background-color",this.gradientEndColor)}}else i||(this.UserEmail="",this.userremember=0,this.SelectCheckImg="ng_assets/images/checkbox_unselect.png")}removeSpacesFromEmail(){this.UserEmail=this.UserEmail.replace(/\s+/g,"")}onInputChange(t,i){if(i=="email"){let s=t.target.value;if(s&&/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(s)){this.email=!1,this.CreateAccStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"};return}else{this.CreateAccStyles={};return}}else if(this.UserPassword==""){this.CreateAccStyles={};return}else this.CreateAccStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"}}LoginNext(t){let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;if(t=="check_email"){if(this.UserEmail==""){this.email=!0;return}if(this.UserEmail&&!i.test(this.UserEmail)){this.email=!0;return}else this.email=!1}else if(t=="user_login"){if(this.UserEmail==""){this.email=!0;return}if(this.UserEmail&&!i.test(this.UserEmail)){this.email=!0;return}if(this.UserPassword==""&&this.IsIt_SSOLogIN!=!0&&this.globalService.getmarket_code()!="FIA"&&this.globalService.getmarket_code()!="FIJ"){this.password=!0;return}}else if(t=="new_user_login"){this.switchuseralert=!1,this.userlogin=!0,this.UserEmail="",this.UserPassword="";return}else if(t=="ForgotPassword"){if(this.ForgetUserEmail==""){this.passemail=!0;return}}else if(t=="sso_login"||t=="sso_login_sub"||t=="sso_signup"||t=="sso_switch"){this.initiateFirstAmericanSSO(t);return}if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""&&t=="user_login"){this.ShareAppNext(),this.ShareApp_Action="yes",this.ShareApp_Code=this.globalService.getshareapp_code();return}this.ApiUrl=this.apiservice.GetApiUrl()+"user/checkexists",this.formData={action:"CheckExists",email:this.UserEmail,market_code:this.globalService.getmarket_code()};let o={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};var s=document.getElementById("proceed_status").value;this.isLoading=!0,this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(a=>{if(this.response=a.body,this.response.userExists==!0)if(this.Show_2Factor_Auth_Mobile_Login=this.response.enable_2FA_auth_mobile_login,this.response.switch_market_details!=null&&this.response.switch_market_details.switch_market==!0){this.isLoading=!1,this.switchuseralert=!0,this.userlogin=!1,this.switchusermsg=this.response.switch_market_details.message,this.switchuserlogin="Login to "+this.response.switch_market_details.user_market_name,this.switchuserto="SWITCH TO "+this.globalService.getMarketName().toUpperCase(),document.getElementById("hdn_user_email").value=this.UserEmail,this.response.switch_market_details.user_market_url!=null&&this.response.switch_market_details.user_market_url!=""&&(this.apiservice.getconfigmode()=="staging"?this.LoginToMarket=this.apiservice.gethttp_protocol()+"://"+this.apiservice.getsite_path()+"/?dn="+this.response.switch_market_details.user_market_name+","+this.UserEmail+","+this.response.switch_market_details.user_name+","+this.response.switch_market_details.user_market_url:this.LoginToMarket=this.apiservice.gethttp_protocol()+"://"+this.response.switch_market_details.user_market_url+"/,"+this.UserEmail+","+this.response.switch_market_details.user_name+","+this.response.switch_market_details.user_market_url),this.LoginVisible="display:none",this.InfoVisible="display:block",this.AreaVisible="display:none",this.RepVisible="display:none";return}else if(t=="check_email"){document.getElementById("market_state_id").value=this.response.market_state_id,this.isLoading=!1,this.IsIt_SSOLogIN==!0&&(this.globalService.getmarket_code()=="FIA"||this.globalService.getmarket_code()=="FIJ")?(this.UserPassWordVis=!1,this.LoginNext("user_login")):(this.UserPassWordVis=!0,this.FirstAmericonEnable=!1),this.EmailLogin=!1,this.UserLogin=!0,this.LoginVisible="display:none",this.InfoVisible="display:block",this.AreaVisible="display:none",this.RepVisible="display:none",this.CreateAccStyles={},setTimeout(()=>
11{let v=document.querySelector(".passwordFocus");v&&this.renderer.selectRootElement(v).focus()},200);return}else if(t=="user_login"){var u=document.getElementById("market_state_id").value;this.ApiUrl=this.apiservice.GetApiUrl()+"login",this.formData={email:this.UserEmail,market_code:this.globalService.getmarket_code(),password:this.UserPassword,share_app_referrer_code:this.ShareApp_Code,market_state_id:u,share_app_action:this.ShareApp_Action,platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),app_build_date:this.apiservice.getapp_build_date(),user_agent:navigator.userAgent,login_from:"DownloadSitePage",ip_address:this.ip_address,sso_code:this.SSO_Code},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(v=>{if(this.response=v.body,this.Clearcookie("share_token"),this.response.user.switch_status!=null&&this.response.user.switch_status==!0){this.isLoading=!1,this.globalService.setuseremail(this.UserEmail),this.globalService.setuser_pass(this.UserPassword),this.globalService.setuser_id(this.response.user.id),this.globalService.setuser_token(this.response.token),this.globalService.setuser_firstname(this.response.user.first_name),this.globalService.setsignup_sec("AreaSection"),this.setvalue("NewUserEmail",this.UserEmail),this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","none"),this.setStyleForClass("CreateAccDiv","display","none"),document.getElementById("hdn_user_email").value=this.UserEmail,document.getElementById("Hdnuser_phone").value=this.response.user.phone,this.Show_2Factor_Auth_Mobile_Login=="yes"&&(document.getElementById("hdn_user_switch_2fa").value="yes"),this.UserEmail="",this.UserPassword="",this.UserPassWordVis=!1,this.CreateAccStyles={},document.getElementById("Hdnuser_switchstatus").value="Y",document.getElementById("Hdnuser_id").value=this.globalService.getuser_id(),document.getElementById("Hdnuser_token").value=this.globalService.getuser_token(),(this.globalService.getuser_id()=="900695"||this.globalService.getuser_id()=="900696"||this.globalService.getuser_id()=="900697"||this.globalService.getuser_id()=="900173")&&(document.getElementById("Hdnuser_token").value=""),this.SSO_Code&&(document.getElementById("Hdnuser_sso_access_code").value=this.SSO_Code),this.sharedService.triggerSwitchAreaChange();return}else{if(this.get_market_code=this.response.user.market_code,this.market_code=="PO"?this.MarketCodeNew=this.market_code:this.get_market_code!=null&&this.get_market_code!=""?this.MarketCodeNew=this.get_market_code:this.MarketCodeNew=this.market_code,this.globalService.setuser_id(this.response.user.id),this.response.user.user_type!=1&&this.response.user.rep_user_market_list!=""&&this.MarketCodeNew!=this.market_code){this.RepMarketList=this.response.user.rep_user_market_list;for(var C=0;C<this.RepMarketList.length;C++)if(this.MarketCodeNew==this.RepMarketList[C].market_code){this.MarketCodeNew=this.RepMarketList[C].market_code;break}}this.ApiUrl=this.apiservice.GetApiUrl()+"get_app_urls.php",this.formData={email:this.UserEmail,market_code:this.MarketCodeNew,UID:this.response.user.id,platform:this.apiservice.getplatform(),getipaddress:this.ip_address,userAgent:navigator.userAgent,domain:window.location.hostname},this.UserPassword==this.globalService.getmasterpassword()?this.MasterPassword="yes":this.MasterPassword="no";let S=!1,E=()=>{this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(D=>{if(this.ApiUrlData=D.body,!this.ApiUrlData||!this.ApiUrlData.one_app_url){if(!S){S=!0,console.warn("[login] get_app_urls returned empty, retrying once"),E();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[login] get_app_urls returned empty body after retry",D);return}document.getElementById("one_app_aws_url").value=this.ApiUrlData.one_app_aws_url,document.getElementById("hdn_UserToken").value=this.response.token,document.getElementById("using_master_password").value=this.MasterPassword,document.getElementById("LoginToAction").value="ONEAPPLogin",this.apiservice.getconfigmode()=="staging"||this.SingleApiArray.includes(this.MarketCodeNew)?document.getElementById("singleapi").value="yes":document.getElementById("singleapi").value="no",(this.response.user.market_id=="4205"||this.apiservice.getconfigmode()=="staging"&&this.response.user.market_id=="4132")&&(document.getElementById("user_office_name").value=this.response.user.office_name),this.response.user.canada_office_logo!=""&&(document.getElementById("canada_office_logo").value=this.response.user.canada_office_logo),this.response.user.id!=""&&(document.getElementById("user_id").value=this.response.user.id),((this.response.user.id=="505649"||this.response.user.id=="505652")&&this.apiservice.getconfigmode()=="staging"||this.response.user.id=="900173"||this.market_code=="RIF")&&(document.getElementById("hdn_UserToken").value=""),document.getElementById("user_full_details").innerHTML=JSON.stringify(this.response),this.MarketCodeNew!=""&&this.market_code!=this.MarketCodeNew&&(document.getElementById("market_code").value=this.MarketCodeNew),(this.market_code=="PA"||this.market_code!=this.MarketCodeNew)&&this.ApiUrlData.market_name!=""&&typeof this.ApiUrlData.market_name<"u"&&(document.getElementById("market_name").value=this.ApiUrlData.market_name,document.getElementById("market_abbr_name").value=this.ApiUrlData.market_name);var A=window.location.hostname;A=A.replace(/^www\./,"");var U=new URL(this.ApiUrlData.one_app_url).hostname;if(A!=U.replace(/^www\./,"")){var V=new Date(Date.now()+864e5).toUTCString(),A=window.location.hostname;A=A.replace(/^www\./,""),this.market_code!=null&&this.market_code!=""?(this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"cross_dom",value:"yes"},this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe()):document.cookie=`cross_dom=yes; expires=${V}; path=/ ; domain=${A}`}else{var V=new Date(Date.now()-864e5).toUTCString(),A=window.location.hostname;A=A.replace(/^www\./,""),this.market_code!=null&&this.market_code!=""?(this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:"cross_dom",value:"no"},this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe()):document.cookie=`cross_dom=no; expires=${V}; path=/ ; domain=${A}`}if(this.Clearcookie("share_token"),this.RememberCookie(this.UserEmail,this.userremember,this.response.token,this.response.user.user_type),this.response.user.has_dashboard_access=="no"){this.Clearcookie("Y29uZmlnX3ZhcmlhYmxl");let ae=document.getElementById("WEB_app");if(ae)if(A!=U.replace(/^www\./,"")){document.getElementById("redirecturl").value=this.ApiUrlData.one_app_url,document.getElementById("login_from_domain").value=A;var q=new URL(this.ApiUrlData.one_app_url).origin;if(ae.action=q+"/one_webapp_login.php",ae.method="post",this.WebapploginTokenFun("ONEAPPLogin"),this.InputTrackingFun("login"),this.Show_2Factor_Auth_Mobile_Login=="yes"){this.GetTwoFactorAuthMobileFun();return}else{if(this.attemptV2Handoff())return;ae.submit()}return}else{if(ae.action=this.ApiUrlData.one_app_url.replace(/^www\./,""),ae.method="post",this.Show_2Factor_Auth_Mobile_Login=="yes"){this.GetTwoFactorAuthMobileFun();return}else{if(this.attemptV2Handoff())return;ae.submit()}this.WebapploginTokenFun("ONEAPPLogin"),this.InputTrackingFun("login");return}}else if(this.response.user.user_type!=1){this.AppLoginLink=this.ApiUrlData.one_app_url,this.DashboardLoginLink=this.ApiUrlData.one_dashboard_url,this.AcademyLoginLink=this.ApiUrlData.one_academy_url||"",this.isLoading=!1,this.switchuseralert=!1,this.userlogin=!1,this.reploginsection=!0,this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none",this.InputTrackingFun("login");return}},D=>{if(!S){S=!0,console.warn("[login] get_app_urls errored, retrying once",D),E();return}this.isLoading=!1,this.toastalertshow=!0,this.ToastApiError=!0,this.toastmessage="Something went wrong. Please refresh the page and try again.",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1},3e3),console.error("[login] Error fetching get_app_urls after retry:",D)})};E()}},v=>{if(this.isLoading=!1,v.error!=null&&v.error.account_status=="locked"){this.ErrorMsg=!0,this.ErrorMsgText=v.error.message?v.error.message:"Your account is locked. Please try again later.",this.isFocused=!0;return}if(v.error!=null&&v.error.message=="Wrong password"){this.ErrorMsg=!0,this.ErrorMsgText="Your password is incorrect.",this.isFocused=!0;return}})}else if(t=="ForgotPassword")this.ApiUrl=this.apiservice.GetApiUrl()+"reset",this.formData={email:this.ForgetUserEmail,market_code:this.market_code},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(v=>{this.response=v.body,this.isLoading=!1,this.forgotpasssucess=!0,this.forgotpassuser=!1,this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none",this.response&&this.response.status!=null&&this.response.status=="Success"?(this.forgotpassmsg=this.response.message,this.forgotpassmsgIsError=!1):(this.forgotpassmsg=this.response&&this.response.message?this.response.message:"Unable to send email at this time, please contact [email protected]",this.forgotpassmsgIsError=!0)},v=>{this.isLoading=!1,this.forgotpassuser=!1,this.forgotpasssucess=!0,this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none",this.forgotpassmsg="Unable to send email at this time, please contact [email protected]",this.forgotpassmsgIsError=!0});else if(t=="CheckExistsMail"){if(this.isLoading=!1,this.widgetLogin=="widget"&&this.screenWidth>=992){this.CloseLogin();return}else this.forgotpasssucess=!1,this.userlogin=!0,this.LoginVisible="display:block",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none";return}else t=="ForgotPasswordSMS"&&(this.ApiUrl=this.apiservice.GetApiUrl()+"one_forgot_sms",this.formData={email:this.ForgetUserEmail,action:"ForgotPassword",Platform:this.apiservice.getplatform()},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(v=>{if(this.response=v.body,this.isLoading=!1,this.response.status!=null&&this.response.status=="Success"){this.forgotpasssms=!1,this.forgotpassmsg=this.response.message;return}else{this.forgotpasssms=!1,this.forgotpassmsg=this.response.message;return}},v=>{this.isLoading=!1,console.error("Error fetching data:",v)}));else if(this.response.userExists==!1&&this.response.valid_domain=="no"&&s!="yes"){this.isLoading=!1,this.globalService.setuseremail(this.UserEmail),this.EmailContent=`Wait, you might have a typo in your email address, are you sure you want to use this email address <b>${this.globalService.getuseremail()}</b>?`,this.openModal();return}else{if(this.IsIt_SSOLogIN==!0&&(this.globalService.getmarket_code()=="FIA"||this.globalService.getmarket_code()=="FIJ")){this.isLoading=!1;let v=this.SSO_First_name||"",C=this.SSO_First_Last||"";this.globalService.setuseremail(this.UserEmail),document.getElementById("hdn_user_email").value=this.SSO_Email,document.getElementById("Hdnuser_email").value=this.SSO_Email,document.getElementById("Hdnuser_firstname").value=C,document.getElementById("Hdnuser_lastname").value=C,document.getElementById("Hdnuser_sso_login").value="true",document.getElementById("Hdnuser_sso_provider").value="FirstAmerican",document.getElementById("Hdnuser_sso_access_code").value=this.SSO_Code||"",this.setvalue("NewUserEmail",this.UserEmail),this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","none"),this.sharedService.triggerSSOSignup({email:this.SSO_Email,firstName:v,lastName:C,ssoLogin:!0,ssoProvider:"FirstAmerican",userExists:!1,sso_code:this.SSO_Code,sso_token:this.SSO_token})}else{this.isLoading=!1,this.globalService.setuseremail(this.UserEmail),this.setvalue("NewUserEmail",this.UserEmail),this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","none"),this.UserEmail="",this.CreateAccStyles={},this.InfoVisible="display:block",this.LoginVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none";let v=document.querySelector(".passwordfocus");v&&this.renderer.selectRootElement(v).focus()}return}},a=>{if(this.isLoading=!1,a.error!=null&&a.error.account_status=="inactive"){this.userlogin=!1,this.InactiveUser=!0,this.InactiveUserMsg=this.sanitizer.bypassSecurityTrustHtml(this.decodeHtml(a.error.message));return}if(a.error!=null&&a.error.account_status=="pending_approval"){this.userlogin=!1,this.PendingApproval=!0,this.PendingApprovalMsg=this.sanitizer.bypassSecurityTrustHtml(this.decodeHtml(a.error.message));return}})}onLoginButtonClick(){this.dynamicComponentService.loadComponent(Ls),window.scrollTo({top:0,behavior:"smooth"})}decodeHtml(t){let i=document.createElement("textarea");return i.innerHTML=t,i.value}CloseLogin(){if(this.widgetLogin=="widget"&&this.screenWidth>=992){this.widget_signin_user_email="",this.widget_signin_user_password="",this.widget_error="",this.setStyleForClass("WidgetLogin","display","block"),this.setStyleForClass("LoginPopupnew","display","none"),this.RefereshDate();return}else this.ErrorMsg=!1,this.RefereshDate(),this.closePopupfrm.emit(),this.setStyleForClass("LoginPopup","display","none"),this.resetLoginComponent()}resetLoginComponent(){this.UserEmail="",this.UserPassword="",this.UserPassWordVis=!1,this.EmailLogin=!0,this.UserLogin=!1,this.email=!1,this.password=!1,this.CreateAccStyles={},this.ErrorMsg=!1,this.error={},this.IsIt_SSOLogIN=!1,this.SSO_Code="",this.SSO_Email="",this.SSO_First_name="",this.SSO_First_Last="",this.SSO_token="",this.market_code=="FIA"||this.market_code=="FIJ"?this.FirstAmericonEnable=!0:this.FirstAmericonEnable=!1}SelectCheckBox(){this.userremember==0?(this.SelectCheckImg="ng_assets/images/checkbox_select.png",this.userremember=1):(this.SelectCheckImg="ng_assets/images/checkbox_unselect.png",this.userremember=0)}AcademyLoginFun(t){t&&(window.location.href=t)}WebAppLoginFun(t,i){this.isLoading=!0;try{let u=window.location.hostname.toLowerCase().replace(/^www\./,"");if(["php8.palmagent.com","php8.fidelityagent.com","staging.eagleagentapp.c
11om","pentest.palmagent.com"].includes(u)&&t){let C=new URL(t);t=window.location.origin+C.pathname+C.search+C.hash}}catch{}if(t!=null&&t!=""){let u=document.getElementById("WEB_app");if(u){this.Clearcookie("Y29uZmlnX3ZhcmlhYmxl");var o=window.location.hostname;o=o.replace(/^www\./,"");var s=new URL(t).hostname;if(o!=s.replace(/^www\./,"")){document.getElementById("redirecturl").value=t;var a=new URL(t).origin;if(u.action=a+"/one_webapp_login.php",u.method="post",this.WebapploginTokenFun(i),this.InputTrackingFun("login"),this.Show_2Factor_Auth_Mobile_Login=="yes"&&i=="ONEAPPLogin")this.GetTwoFactorAuthMobileFun();else{if(this.attemptV2Handoff(i))return;u.submit()}return}else{if(u.action=t.replace(/^www\./,""),u.method="post",this.Show_2Factor_Auth_Mobile_Login=="yes"&&i=="ONEAPPLogin")this.GetTwoFactorAuthMobileFun();else{if(this.attemptV2Handoff(i))return;u.submit()}this.WebapploginTokenFun(i),this.InputTrackingFun("login"),this.isLoading=!1;return}}}}SwitchUserFun(){this.isLoading=!0;var t=document.getElementById("hdn_user_email").value;if(t!=null&&t!=""){let i={user_email:t,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};this.ApiUrl=this.apiservice.GetApiUrl()+"switch_user",this.formData={email:t,market_code:this.market_code,action:"init_swtich_market",platform:this.apiservice.getplatform()},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(o=>{if(this.isLoading=!1,this.SwitchResponse=o.body,this.SwitchResponse.status!=null&&this.SwitchResponse.status=="success"){this.SwtichSuccessMsg=this.SwitchResponse.message,this.SwitchFormattedMsg=this.formatMessageWithEmailLink(this.SwitchResponse.message),this.SwitchTitle=this.SwitchResponse.title||"Complete Switch via Email",this.SwitchImgUrl=this.SwitchResponse.img_url||"",this.SwitchImgRatio=this.SwitchResponse.img_ratio||"",this.SwitchMessageAlign=this.SwitchResponse.message_align||"center",this.SwitchButtonDetails=this.SwitchResponse.button_details||[],this.SwitchDismissPopup=this.SwitchResponse.dismiss_popup||"no",this.SwitchSuccessPopup=!0;return}},o=>{this.isLoading=!1,console.error("Error fetching data:",o)})}}SwitchButtonAction(t){t.action==="close"?this.CloseSwitchPopup():t.action==="init_switch_by_text"&&this.InitSwitchByText()}CloseSwitchPopup(){this.SwitchSuccessPopup=!1,this.CloseLogin()}formatMessageWithEmailLink(t){if(!t)return"";let i=/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})/g;return t.replace(i,'<span class="email-link">$1</span>')}InitSwitchByText(){this.isLoading=!0;var t=document.getElementById("hdn_user_email").value;if(t!=null&&t!=""){let i={user_email:t,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};this.ApiUrl=this.apiservice.GetApiUrl()+"switch_user",this.formData={email:t,market_code:this.market_code,action:"init_switch_by_text",platform:this.apiservice.getplatform()},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(o=>{this.isLoading=!1,this.SwitchResponse=o.body,this.SwitchResponse.status!=null&&this.SwitchResponse.status=="success"?(this.SwitchSuccessPopup=!1,this.showToast(this.SwitchResponse.message,"success"),this.CloseLogin()):(this.SwitchSuccessPopup=!1,this.showToast(this.SwitchResponse.message||"Something went wrong","error"))},o=>{this.isLoading=!1,this.SwitchSuccessPopup=!1,this.showToast("Something went wrong. Please try again.","error"),console.error("Error fetching data:",o)})}}RememberCookie(t,i,o,s){var a,u;i==1?a=new Date(Date.now()+168*3600*1e3).toUTCString():a=new Date(Date.now()-168*3600*1e3).toUTCString(),u=window.location.hostname,u=u.replace(/^www\./,"");var v="https://"+u+"/api4";if(console.log("domain check method",this.apiservice.GetApiUrl()),console.log("User id check in live",this.globalService.getuser_id()),console.log("market code",this.market_code),this.market_code!=null&&this.market_code!=""){document.cookie=`hp_email=${t}; expires=${a}; path=/ ; domain=${u}`;let C={user_email:this.UserEmail};this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookieWithExpire",name:"hp_email",value:t,expire:a},this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),C).subscribe()}else document.cookie=`hp_email=${t}; expires=${a}; path=/ ; domain=${u}`;if(o!=null&&o!="")if(a=new Date(Date.now()+50*365*24*3600*1e3).toUTCString(),this.market_code!=null&&this.market_code!=""){document.cookie=`hp_utoken=${o}; expires=${a}; path=/ ; domain=${u}`,this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php";let C={user_email:this.UserEmail};this.formData={action:"SetCookie",name:"hp_utoken",value:o},this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),C).subscribe()}else document.cookie=`hp_utoken=${o}; expires=${a}; path=/ ; domain=${u}`;if(s!=null&&s!="")if(a=new Date(Date.now()+50*365*24*3600*1e3).toUTCString(),this.market_code!=null&&this.market_code!=""){document.cookie=`hp_usertype=${s}; expires=${a}; path=/ ; domain=${u}`,this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"hp_usertype",value:s};let C={user_email:this.UserEmail};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),C).subscribe()}else document.cookie=`hp_usertype=${s}; expires=${a}; path=/ ; domain=${u}`}Clearcookie(t){var i,o;if(i=new Date(Date.now()-24*3600*1e3).toUTCString(),o=window.location.hostname,o=o.replace(/^www\./,""),this.market_code!=null&&this.market_code!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:t,expire:i};let s={user_email:this.UserEmail};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),s).subscribe()}else document.cookie=`${t}=''; expires=${i}; path=/ ; domain=${o}`}ForgotpasswordFun(){this.ForgetUserEmail=this.UserEmail,this.forgotpassuser=!0,this.reploginsection=!1,this.userlogin=!1}openModal(){this.dialog.open(this.myModalTemplate,{width:"700px",height:"auto",minHeight:"150px",disableClose:!0,panelClass:"email-validation-dialog"})}EmailProceedFun(){document.getElementById("proceed_status").value="yes",this.LoginNext("check_email")}
11SwitchMarketFun(t){this.isLoading=!0;var i=t.split(",");let o=document.getElementById("WEB_site_login");o&&(document.getElementById("user_email_id").value=i[1],document.getElementById("login_user_name").value=i[2],o.action=i[0].replace(/^www\./,"").toLowerCase(),o.method="post",o.submit())}ShareAppNext(){this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"get_share_app_details",this.formData={action:"check_share_app_signup",email:this.UserEmail,market_code:this.globalService.getmarket_code(),share_app_referrer_code:this.globalService.getshareapp_code(),promotion:"",promotion_type:"",device_id:navigator.userAgent,platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version()};let t={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.response=i.body,this.isLoading=!1,this.response.status!=null&&this.response.status=="Success"){var o=document.getElementById("shareapp_proceed_status").value;document.getElementById("hdn_shareapp_id").value=this.response.shareapp_token_id,this.response.message!=""&&this.response.message!=null&&o=="no"&&(document.getElementById("shareapp_action").value="signin",document.getElementById("hdn_share_market_code").value=this.response.market_code,document.getElementById("hdn_share_state_code").value=this.response.state_code,document.getElementById("hdn_share_county_id").value=this.response.county_id,document.getElementById("hdn_share_city_id").value=this.response.city_id,document.getElementById("hdn_share_office_id").value=this.response.office_id,document.getElementById("hdn_share_assignedTo").value=this.response.rep_id,this.response.display_shareapp_popup!=null&&this.response.display_shareapp_popup!="no"&&(this.ShareAppContent=this.response.message,this.ShareAppModalFun()))}else{this.globalService.setshareapp_code(""),this.LoginNext("user_login");return}},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}ShareAppModalFun(){this.dialog.open(this.ShareAppModal,{width:"700px",height:"auto",minHeight:"150px",disableClose:!0,panelClass:"email-validation-dialog"})}Shareapp_proceedEdit(){document.getElementById("hdn_share_app_action").value="no";var t=document.getElementById("shareapp_action").value;if(this.globalService.setshareapp_code(""),this.ShareApp_Action="no",t=="signin"){this.LoginNext("user_login");return}document.getElementById("shareapp_proceed_status").value="yes"}Shareapp_proceed(){document.getElementById("hdn_share_app_action").value="yes";var t=document.getElementById("shareapp_action").value;if(this.globalService.setshareapp_code(""),t=="signin"){this.LoginNext("user_login");return}document.getElementById("shareapp_proceed_status").value="yes"}LoginEnterFun(t,i){t.keyCode=="13"&&i=="check_email"?this.LoginNext("check_email"):t.keyCode=="13"&&i=="user_login"&&this.LoginNext("user_login")}WebapploginTokenFun(t){t=="DashboardLogin"&&(document.getElementById("LoginToAction").value="DashboardLogin");var i,o;if(i=new Date(Date.now()+50*365*24*3600*1e3).toUTCString(),o=window.location.hostname,o=o.replace(/^www\./,""),this.market_code!=null&&this.market_code!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"hp_loginto",value:t};let s={user_email:this.UserEmail};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),s).subscribe()}else document.cookie=`hp_loginto=${t}; expires=${i}; path=/ ; domain=${o}`}ApplyInternalApiV2Fun(){try{let i=(this.UserEmail||"").toString().trim().toLowerCase().endsWith("@rifluxyss.com"),o=document.getElementById("api_version");if(i){o&&(o.value="php8");try{localStorage.setItem("pa_api_v2","1")}catch{}}else{o&&(o.value="php5");try{localStorage.removeItem("pa_api_v2")}catch{}}}catch{}}attemptV2Handoff(t="ONEAPPLogin"){try{let i=this.response;if(!i||i.target_app!=="v2"||!i.exchange||typeof i.exchange!="string"||!i.target_url||typeof i.target_url!="string")return!1;let o=i.target_url+"#exchange="+encodeURIComponent(i.exchange);return t==="DashboardLogin"?this.setV2Redirect(i.exchange,"onedashboard").subscribe({next:()=>{window.location.href=o},error:()=>{window.location.href=o}}):window.location.href=o,!0}catch(i){return console.error("[attemptV2Handoff]",i),!1}}setV2Redirect(t,i){let o=this.apiservice.GetApiUrl()+"exchange_token/set_redirect",s=JSON.stringify({exchange:t,redirect:i}),a={market_code:"PA"};return this.apiservice.ApiCallFunction(o,s,a)}RemoveMailToCharFun(t){t.preventDefault();var o=t.clipboardData?.getData("text")?.replace(/\s+/g,"");if(this.UserEmail=o,this.UserEmail=this.UserEmail.replace("mailto:",""),this.UserEmail!=""){this.CreateAccStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"};return}else{this.CreateAccStyles={};return}}SubmitHoverBtn(t){t=="Hover"?this.EmailBtn={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.EmailBtn={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}SwitchHoverBtn(t){t=="Hover"?this.SwitchStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.SwitchStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}SwitchLogHoverBtn(t){t=="Hover"?this.SwitchLogStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.SwitchLogStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}
11AppLogHoverBtn(t){t=="Hover"?this.AppStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.AppStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}DashboardLogHoverBtn(t){t=="Hover"?this.DashboardStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}:this.DashboardStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF"}}HoverBtn(t,i){i=="yesproceed"?t=="Hover"?this.ProceedBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.ProceedBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:i=="editproceed"?t=="Hover"?this.EditBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.EditBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:i=="yesSwproceed"?t=="Hover"?this.SwtBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.SwtBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:i=="switch"?t=="Hover"?this.DownloadStyles={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.DownloadStyles={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:t=="Hover"?this.EditSwBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientStartColor}, ${this.gradientEndColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}:this.EditSwBtnstyle={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,color:"#FFFFFF",border:"none"}}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}setvalue(t,i){let o=document.getElementById(t);this.renderer.setProperty(o,"value",i)}RefereshDate(){this.UserEmail="",this.UserPassword="",this.UserPassWordVis=!1,this.isLoading=!1,this.EmailLogin=!0,this.UserLogin=!1,this.email=!1,this.password=!1,this.SelectCheckImg="ng_assets/images/checkbox_unselect.png",this.switchuseralert=!1,this.userlogin=!0,this.username="",this.switchusermsg="",this.switchuserlogin="",this.switchuserto="",this.reploginsection=!1,this.Ap
11pLoginLink="",this.DashboardLoginLink="",this.AcademyLoginLink="",this.MarketCodeNew="",this.HdnUserEmail="",this.SwtichSuccessMsg="",this.SwitchSuccesssection=!1,this.ForgetUserEmail="",this.forgotpassuser=!1,this.passemail=!1,this.forgotpasssucess=!1,this.forgotpassmsg="",this.forgotpasssms=!0,this.LoginVisible="display:block",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none",this.EmailContent="",this.LoginToMarket="",this.ShareAppContent="",this.ShareApp_Action="",this.ShareApp_Code="",this.MasterPassword="no",this.InactiveUser=!1,this.InactiveUserMsg="",this.PendingApproval=!1,this.PendingApprovalMsg="",this.CreateAccStyles={},this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",this.userlogintwofactAuthverify=!1,this.email_otp=!1,this.email_otp_content="",this.MobileOTPSec=!0,this.EmailOTPSec=!1,this.Show_2Factor_Auth_Mobile="",this.Show_2Factor_Auth_Mobile_Login="",this.Show_2Factor_Auth_Email="",this.Auth_help=!1,this.country_code="",this.selectedCountry="",this.CountryCodeShow=!1,this.ResendAction="",this.timer=300,this.minutes=0,this.seconds=0,this.AuthenticatorHelpPopup=!1,this.AuthResentDis=!1,document.getElementById("proceed_status").value="no"}SwipeBranedContent(t){t=="Journey"?(this.LoginVisible="display:block",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:none"):t=="About"?(this.LoginVisible="display:none",this.InfoVisible="display:block",this.AreaVisible="display:none",this.RepVisible="display:none"):t=="Details"?(this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none"):t=="Reps"&&(this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:none",this.RepVisible="display:block")}GetQuickQuotesFun(){this.isQuoteLoadVisible?(this.isQuoteLoadVisible=!0,this.GetQuickQuotesNewFun()):(this.isQuoteLoadVisible=!1,this.pointerEvents="all",typeof window.full_size_compute_page=="function"?window.full_size_compute_page():console.error("Show_PA_Widget function is not available"))}GetQuickQuotesNewFun(){this.pointerEvents="none",setTimeout(()=>{this.GetQuickQuotesFun()},3e3)}SignupNewAccFun(){this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("buyerimgsection","z-index","-1"),this.setStyleForClass("WholeBodyDiplay","display","none");let t=document.querySelector(".SignupFocus");t&&this.renderer.selectRootElement(t).focus()}WidgetLogin(){if(this.widget_signin_user_email==""){let i=document.getElementById("widget_signin_user_email");this.renderer.addClass(i,"form-control_error"),this.renderer.selectRootElement(i).focus();return}else{let i=document.getElementById("widget_signin_user_email");this.renderer.removeClass(i,"form-control_error");let o=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;if(this.widget_signin_user_email&&!o.test(this.widget_signin_user_email)){let s=document.getElementById("widget_signin_user_email");this.renderer.addClass(s,"form-control_error"),this.renderer.selectRootElement(s).focus();return}}if(this.widget_signin_user_password==""){let i=document.getElementById("widget_signin_user_password");this.renderer.addClass(i,"form-control_error"),this.renderer.selectRootElement(i).focus();return}else{let i=document.getElementById("widget_signin_user_password");this.renderer.removeClass(i,"form-control_error")}this.isLoading=!0;let t={user_email:this.widget_signin_user_email,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};this.ApiUrl=this.apiservice.GetApiUrl()+"login",this.formData={email:this.widget_signin_user_email,market_code:this.globalService.getmarket_code(),password:this.widget_signin_user_password,share_app_referrer_code:this.ShareApp_Code,market_state_id:"",share_app_action:this.ShareApp_Action,platform:this.apiservice.getplatform(),app_version:this.apiservice.getapp_version(),app_build_date:this.apiservice.getapp_build_date(),user_agent:navigator.userAgent,login_from:"DownloadSitePage",ip_address:this.ip_address,sso_code:this.SSO_Code},this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.response=i.body,this.Clearcookie("share_token"),this.response.user.switch_status!=null&&this.response.user.switch_status==!0){this.isLoading=!1,this.globalService.setuseremail(this.UserEmail),this.globalService.setuser_pass(this.UserPassword),this.globalService.setuser_id(this.response.user.id),this.globalService.setuser_token(this.response.token),this.globalService.setuser_firstname(this.response.user.first_name),this.globalService.setsignup_sec("AreaSection"),this.setvalue("NewUserEmail",this.UserEmail),this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","none"),this.setStyleForClass("CreateAccDiv","display","none"),document.getElementById("hdn_user_email").value=this.UserEmail,document.getElementById("Hdnuser_phone").value=this.response.user.phone,this.widget_signin_user_email="",this.widget_signin_user_password="",this.UserPassWordVis=!1,this.CreateAccStyles={},document.getElementById("Hdnuser_switchstatus").value="Y",document.getElementById("Hdnuser_id").value=this.globalService.getuser_id(),document.getElementById("Hdnuser_token").value=this.globalService.getuser_token(),this.sharedService.triggerSwitchAreaChange();return}else{if(this.get_market_code=this.response.user.market_code,this.market_code=="PO"?this.MarketCodeNew=this.market_code:this.get_market_code!=null&&this.get_market_code!=""?this.MarketCodeNew=this.get_market_code:this.MarketCodeNew=this.market_code,this.response.user.user_type!=1&&this.response.user.rep_user_market_list!=""&&this.MarketCodeNew!=this.market_code){this.RepMarketList=this.response.user.rep_user_market_list;for(var o=0;o<this.RepMarketList.length;o++)if(this.MarketCodeNew==this.RepMarketList[o].market_code){this.MarketCodeNew=this.RepMarketList[o].market_code;break}}this.ApiUrl=this.apiservice.GetApiUrl()+"get_app_urls.php",this.formData={email:this.widget_signin_user_email,market_code:this.MarketCodeNew,UID:this.response.user.id,platform:this.apiservice.getplatform(),getipaddress:this.ip_address,userAgent:navigator.userAgent,domain:window.location.hostname},this.UserPassword==this.globalService.getmasterpassword()?this.MasterPassword="yes":this.MasterPassword="no",this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(s=>{this.ApiUrlData=s.body,document.getElementById("one_app_aws_url").value=this.ApiUrlData.one_app_aws_url,document.getElementById("hdn_UserToken").value=this.response.token,document.getElementById("using_master_password").value=this.MasterPassword,document.getElementById("LoginToAction").value="ONEAPPLogin",this.apiservice.getconfigmode()=="staging"||this.SingleApiArray.includes(this.MarketCodeNew)?document.getElementById("singleapi").value="yes":document.getElementById("singleapi").value="no",(this.response.user.market_id=="4205"||this.apiservice.getconfigmode()=="staging"&&this.response.user.market_id=="4132")&&(document.getElementById("user_office_name").value=this.response.user.office_name),this.response.user.canada_office_logo!=""&&(document.getElementById("canada_office_logo").value=this.response.user.canada_office_logo),document.getElementById("user_full_details").innerHTML=JSON.stringify(this.response),this.MarketCodeNew!=""&&this.market_code!=this.MarketCodeNew&&(document.getElementById("market_code").value=this.MarketCodeNew),(this.market_code=="PA"||this.market_code!=this.MarketCodeNew)&&this.ApiUrlData.market_name!=""&&typeof this.ApiUrlData.market_name<"u"&&(document.getElementById("market_name").value=this.ApiUrlData.market_name,document.getElementById("market_abbr_name").value=this.ApiUrlData.market_name);var a=window.location.hostname;a=a.replace(/^www\./,"");var u=new URL(this.ApiUrlData.one_app_url).hostname;if(a!=u.replace(/^www\./,"")){var v=new Date(Date.now()+864e5).toUTCString(),a=window.location.hostname;if(a=a.replace(/^www\./,""),this.market_code!=null&&this.market_code!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"cross_dom",value:"yes"};let E={user_email:this.UserEmail};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),E).subscribe()}else document.cookie=`cross_dom=yes; expires=${v}; path=/ ; domain=${a}`}else{var v=new Date(Date.now()-864e5).toUTCString(),a=window.location.hostname;if(a=a.replace(/^www\./,""),this.market_code!=null&&this.market_code!=""){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"DeleteCookie",name:"cross_dom",value:"no"};let D={user_email:this.UserEmail,token:this.SSO_token,sso_code:this.SSO_Code};this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),D).subscribe()}else document.cookie=`cross_dom=no; expires=${v}; path=/ ; domain=${a}`}if(this.RememberCookie(this.widget_signin_user_email,this.Widgetremember,this.response.token,this.response.user.user_type),this.response.user.has_dashboard_access=="no"){this.Clearcookie("Y29uZmlnX3ZhcmlhYmxl");let S=document.getElementById("WEB_app");if(S)if(a!=u.replace(/^www\./,"")){document.getElementById("redirecturl").value=this.ApiUrlData.one_app_url,document.getElementById("login_from_domain").value=a;var C=new URL(this.ApiUrlData.one_app_url).origin;if(S.action=C+"/one_webapp_login.php",S.method="post",this.WebapploginTokenFun("ONEAPPLogin"),this.InputTrackingFun("login"),this.attemptV2Handoff())return;S.submit();return}else{if(S.action=this.ApiUrlData.one_app_url.replace(/^www\./,""),S.method="post",this.attemptV2Handoff())return;S.submit(),this.WebapploginTokenFun("ONEAPPLogin"),this.InputTrackingFun("login");return}}else if(this.response.user.user_type!=1){this.setStyleForClass("WidgetLogin","display","none"),this.setStyleForClass("LoginPopupnew","display","block"),this.Ap
11pLoginLink=this.ApiUrlData.one_app_url,this.DashboardLoginLink=this.ApiUrlData.one_dashboard_url,this.AcademyLoginLink=this.ApiUrlData.one_academy_url||"",this.isLoading=!1,this.switchuseralert=!1,this.userlogin=!1,this.reploginsection=!0,this.LoginVisible="display:none",this.InfoVisible="display:none",this.AreaVisible="display:block",this.RepVisible="display:none",this.InputTrackingFun("login");return}},s=>{this.isLoading=!1,console.error("Error fetching data:",s)})}},i=>{if(this.isLoading=!1,i.error!=null&&i.error.account_status=="locked"){this.widget_error=i.error.message?i.error.message:"Your account is locked. Please try again later.";return}if(i.error!=null&&i.error.message=="Wrong password"){this.widget_error="Incorrect Password!";return}})}WidgetForgetPassword(){this.setStyleForClass("WidgetLogin","display","none"),this.setStyleForClass("LoginPopupnew","display","block"),this.ForgotpasswordFun(),this.widget_signin_user_email!=""&&(this.ForgetUserEmail=this.widget_signin_user_email,this.UserEmail=this.widget_signin_user_email)}WidgetLoginEnterFun(t){t.keyCode=="13"&&this.WidgetLogin()}WidgetRemember(){if(this.Widgetremember==0){this.WidgetCheckImg="ng_assets/images/checked_trans.png",this.Widgetremember=1;let t=document.getElementById("widget_checkbox");this.renderer.setStyle(t,"background-color",this.gradientEndColor)}else{this.WidgetCheckImg="ng_assets/images/unchecked.png",this.Widgetremember=0;let t=document.getElementById("widget_checkbox");this.renderer.setStyle(t,"background-color","")}}TwoFactorAuthHelpFun(){this.apiservice.getconfigmode()=="staging"&&(this.SupportLink="https://dev.palmagent.com/support"),this.AuthenticatorHelpPopup=!0}CloseAuthHelpPopupFun(){this.AuthenticatorHelpPopup=!1}InsertOTPFun(t,i){if(/^\d$/.test(t.target.value)){if(t.target.value.length===1&&i){let s=document.getElementById(i);this.renderer.selectRootElement(s).focus()}}else t.target.value="";let o=t.target;o.style.borderColor="#278AE5",o.style.color="#007bff"}RemoveOTPFun(t,i){if(t.target.value===""&&i){let s=document.getElementById(i);this.renderer.selectRootElement(s).focus()}let o=t.target;o.style.borderColor="transparent",o.style.color="#3d3d3d"}CheckOTPInputFun(){this.OTPVerifyOneVal&&this.OTPVerifyTwoVal&&this.OTPVerifyThreeVal&&this.OTPVerifyFourVal&&this.OTPVerifyFiveVal&&this.OTPVerifySixVal?this.VerifyNoOTP={"background-image":`linear-gradient(to right, ${this.gradientEndColor}, ${this.gradientStartColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientStartColor}`,border:"none","pointer-events":"all",color:"#FFFFFF"}:this.VerifyNoOTP={};let t=`${this.OTPVerifyOneVal}${this.OTPVerifyTwoVal}${this.OTPVerifyThreeVal}${this.OTPVerifyFourVal}${this.OTPVerifyFiveVal}${this.OTPVerifySixVal}`;t.length==6?!this.isLoading&&t!=this.OTPAutoVerifiedCode&&(this.OTPAutoVerifiedCode=t,this.VerifyAuthCodeOTPFun(this.EmailOTPSec?"VerifyGetTryAnotherWayEmailLogin":"VerifyTwoFactorAuthNumberLogin"),this.InputTrackingFun("verify_auth")):this.OTPAutoVerifiedCode=""}AuthCodePasteFun(t){t.preventDefault();let i=t.clipboardData?.getData("text")||"",o=document.querySelectorAll(".otp-input"),s=i.replace(/\D/g,"").split("");this.OTPVerifyOneVal=s[0]||"",this.OTPVerifyTwoVal=s[1]||"",this.OTPVerifyThreeVal=s[2]||"",this.OTPVerifyFourVal=s[3]||"",this.OTPVerifyFiveVal=s[4]||"",this.OTPVerifySixVal=s[5]||"";let a=Math.min(s.length,o.length)-1;o[a].focus(),this.updateInputStyles()}updateInputStyles(){let t=this.OTPVerifyOneVal&&this.OTPVerifyTwoVal&&this.OTPVerifyThreeVal&&this.OTPVerifyFourVal&&this.OTPVerifyFiveVal&&this.OTPVerifySixVal;document.querySelectorAll(".otp-input").forEach(o=>{o.style.borderColor=t?"#278AE5":"",o.style.color=t?"#007bff":""}),this.CheckOTPInputFun()}VerifyAuthCodeOTPFun(t){if(this.OTPVerifyOneVal==""){let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus();return}if(this.OTPVerifyTwoVal==""){let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus();return}if(this.OTPVerifyThreeVal==""){let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus();return}if(this.OTPVerifyFourVal==""){let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus();return}if(this.OTPVerifyFiveVal==""){let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus();return}if(this.OTPVerifySixVal==""){let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus();return}this.ResendAction=t,this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={email:this.UserEmail,market_code:this.globalService.getmarket_code(),action:this.ResendAction,OTPCode:this.OTPVerifyOneVal+this.OTPVerifyTwoVal+this.OTPVerifyThreeVal+this.OTPVerifyFourVal+this.OTPVerifyFiveVal+this.OTPVerifySixVal,user_id:this.response.user.id,platform:"webapp",Phone_number:this.response.user.phone};let i={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.response.token,user_id:this.response.user.id};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(o=>{if(this.ApiTwofactAuthData=o.body,this.AuthText=!1,this.ApiTwofactAuthData.status=="success")if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){this.ShareAppNext();return}else document.getElementById("WEB_app").submit();else if(this.ApiTwofactAuthData.status=="continuelogin")if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){this.ShareAppNext();return}else document.getElementById("WEB_app").submit();else this.isLoading=!1,this.toastalertshow=!0,this.toastmessage=this.ApiTwofactAuthData.message,this.ToastApiError=!0;setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1},3e3)},o=>{this.isLoading=!1,console.error("Error fetching data:",o)})}ResendAuthOTPFun(t){this.ResendAction=t,this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:this.ResendAction,email:this.UserEmail,Phone_number:this.response.user.phone,market_code:this.globalService.getmarket_code(),calling_from:"Login_Area",user_id:this.response.user.id,platform:"webapp",first_name:this.response.user.first_name};let i={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.response.token,user_id:this.response.user.id};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).subscribe(o=>{if(this.Resendresponse=o.body,this.isLoading=!1,this.Resendresponse.status=="success")this.toastalertshow=!0,this.toastmessage=this.Resendresponse.message,this.ToastApiSuccess=!0,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.startTimer(),this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",setTimeout(()=>{let s=document.getElementById("OTPVerifyOne");s&&this.renderer.selectRootElement(s).focus(),this.updateInputStyles()},100);else if(this.Resendresponse.status=="continuelogin")if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){this.ShareAppNext();return}else document.getElementById("WEB_app").submit();else this.toastalertshow=!0,this.toastmessage=this.Resendresponse.message,this.ToastApiError=!0;setTimeout(()=>{this.toastalertshow=!1},3e3)},o=>{this.isLoading=!1,console.error("Error fetching data:",o)})}VerifyAuthBackFun(){this.userlogintwofactAuthverify=!1,this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal=""}GetTwoFactorAuthMobileFun(){this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:"GetTwoFactorAuthOTPLogin",email:this.UserEmail,Phone_number:this.response.user.phone,market_code:this.globalService.getmarket_code(),calling_from:"Login_Area",user_id:this.response.user.id};let t={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.response.token,user_id:this.response.user.id};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.OTPresponse=i.body,this.isLoading=!1,this.OTPresponse.status=="success"){this.Authpopup=this.OTPresponse.popup_details,this.AuthenticatorMsg=this.Authpopup.desc,this.AuthTitle=this.Authpopup.title,this.AuthBTN=this.Authpopup.btn_name,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.Authpopup.resend_code_enable=="yes"&&(this.AuthResentDis=!0,this.AuthResentBtn=this.Authpopup.resend_code_text),this.Authpopup.enable_email_otp=="yes"&&(this.email_otp=!0,this.email_otp_content=this.Authpopup.enable_email_otp_text),this.userlogintwofactAuthverify=!0,this.userlogin=!1,this.reploginsection=!1,setTimeout(()=>{let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus()},300),this.startTimer();return}else if(this.OTPresponse.status=="continuelogin")if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){this.ShareAppNext();return}else document.getElementById("WEB_app").submit();else this.toastalertshow=!0,this.toastmessage=this.OTPresponse.message,this.ToastApiError=!0;setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1},3e3)},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}startTimer(){clearInterval(this.interval),this.interval=setInterval(()=>{this.timer>0?(this.timer--,this.minutes=Math.floor(this.timer/60),this.seconds=this.timer%60,this.minutes=this.minutes<10?0+this.minutes:this.minutes,this.seconds=this.seconds<10?0+this.seconds:this.seconds):clearInterval(this.interval)},1e3)}EmailOTPFun(){this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"one_app_two_factor_auth.php",this.formData={action:"GetTryAnotherWayOTPLogin",email:this.UserEmail,Phone_number:this.response.user.phone,market_code:this.globalService.getmarket_code(),calling_from:"Login_Area",user_id:this.response.user.id};let t={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.response.token,user_id:this.response.user.id};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),t).subscribe(i=>{if(this.OTPresponse=i.body,this.isLoading=!1,this.OTPresponse.status=="success"){this.Authpopup=this.OTPresponse.popup_details,this.AuthenticatorMsg=this.Authpopup.desc,this.AuthTitle=this.Authpopup.title,this.AuthBTN=this.Authpopup.btn_name,this.timer=this.Authpopup.resend_duration,this.seconds=this.Authpopup.resend_duration,this.Authpopup.resend_code_enable=="yes"&&(this.AuthResentDis=!0,this.AuthResentBtn=this.Authpopup.resend_code_text),this.Authpopup.enable_email_otp=="yes"?(this.email_otp=!0,this.email_otp_content=this.Authpopup.enable_email_otp_text):this.email_otp=!1,this.userlogintwofactAuthverify=!0,this.userlogin=!1,this.reploginsection=!1,this.MobileOTPSec=!1,this.EmailOTPSec=!0,this.OTPVerifyOneVal="",this.OTPVerifyTwoVal="",this.OTPVerifyThreeVal="",this.OTPVerifyFourVal="",this.OTPVerifyFiveVal="",this.OTPVerifySixVal="",setTimeout(()=>{let o=document.getElementById("OTPVerifyOne");o&&this.renderer.selectRootElement(o).focus()},300),this.startTimer();return}else if(this.OTPresponse.status=="continuelogin")if(this.globalService.getshareapp_code()!=null&&this.globalService.getshareapp_code()!=""){this.ShareAppNext();return}else document.getElementById("WEB_app").submit();else this.toastalertshow=!0,this.toastmessage=this.OTPresponse.message,this.ToastApiError=!0;setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1},3e3)},i=>{this.isLoading=!1,console.error("Error fetching data:",i)})}initiateFirstAmericanSSO(t){let i=this.apiservice.getplatform(),o=this.apiservice.getrelease_number(),s=this.globalService.getmarket_code(),a="";t=="sso_login"?a="bmc="+s+"&rn="+o+"&pl="+i:t=="sso_login_sub"?a="bmc="+s+"&rn="+o+"&pl="+i+"&ta=login":t=="sso_signup"?a="bmc="+s+"&rn="+o+"&pl="+i+"&ta=signup":a="bmc="+s+"&rn="+o+"&pl="+i+"&ta=switch";let u=this.apiservice.GetApiUrl()+"auth/sso?"+a,v=700,C=650,S=screen.width/2-v/2,E=screen.height/2-C/2;if(this.ssoPopup=window.open(u,"FirstAmericanSSO",`width=${v},height=${C},top=${E},left=${S},toolbar=0,menubar=0,location=0`),!this.ssoPopup){this.showToast("Please allow popups for SSO login","error");return}console.log("hey"),window.addEventListener("message",D=>{if(D.origin!=="https://firstamagent.com")return;let A;
11try{A=typeof D.data=="string"?JSON.parse(D.data):D.data}catch{return}if(console.log("tetsing12"),console.log("main",A),A.status==="Success"){this.SSO_Code=A.sso_code,this.SSO_Email=A.email,this.SSO_First_name=A.first_name,this.SSO_First_Last=A.last_name,this.SSO_token=A.token,this.expires_in=A.expires_at,this.IsIt_SSOLogIN=!0,this.UserEmail=this.SSO_Email,this.LoginNext("check_email");let U={user_email:this.UserEmail,market_code:this.globalService.getmarket_code(),token:this.SSO_token,sso_code:this.SSO_Code};this.SSO_Code!=null&&this.SSO_Code!=""&&(this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"SetCookie",name:"sso_token_expire",value:this.expires_in},this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),U).subscribe())}else this.showToast("SSO login failed","error")})}showToast(t,i){this.toastmessage=t,this.toastalertshow=!0,this.ToastApiError=i==="error",this.ToastApiSuccess=i==="success",this.ToastApiWarning=i==="warning",setTimeout(()=>{this.toastalertshow=!1,this.ToastApiError=!1,this.ToastApiSuccess=!1,this.ToastApiWarning=!1},3e3)}InputTrackingFun(t){t=="email"?this.screen_name="email":t=="email_screen"?(this.email_screen="yes",this.screen_name="email"):t=="password"?(this.email_screen="yes",this.screen_name="login"):t=="login"?(this.email_screen="yes",this.login_track="yes",this.screen_name="login"):t=="enter_forgot"?(this.email_screen="yes",this.login_track="yes",this.forgot="yes",this.screen_name="forgot"):t=="enter_forgot_password"?(this.email_screen="yes",this.login_track="yes",this.forgot="yes",this.screen_name="login"):t=="forgot_password"?(this.email_screen="yes",this.login_track="yes",this.forgot="yes",this.forgot_password="yes",this.screen_name="forgot_password"):t=="verify_auth"&&(this.email_screen="yes",this.login_track="yes",this.otp_verification="yes",this.screen_name="otp_verification"),this.event_details={device_os:this.apiservice.getOS(navigator.userAgent),event_datetime:this.TimeStamp,platform:"webapp",app_build_version:"",app_version:"4.6.1",app_build_market_code:this.globalService.getmarket_code(),time_zone:Intl.DateTimeFormat().resolvedOptions().timeZone,datetime:this.getCustomDateTime(),ip_address:this.ip_address,device_id:"1234",device_model:this.apiservice.getBrowser(navigator.userAgent),unique_id:this.TimeStamp,release_version:"4.6.1",timezone:this.getGMTOffset()},this.tracking_detail={email_screen:this.email_screen,login:this.login_track,signup:this.signup,title_rep:this.title_rep,rep_selection:this.rep_selection,moved_market:this.moved_market,move_account:this.move_account,location:this.location_track,title_rep_preview:this.title_rep_preview,otp_verification:this.otp_verification,manager_market_selection:this.manager_market_selection,forgot_password:this.forgot_password,escrow_selection:this.escrow_selection,forgot:this.forgot,Lender_selection:this.Lender_selection,user_information:this.user_information,role_selection:this.role_selection,screen_name:this.screen_name,email:this.UserEmail,first_name:"",city_id:"",phone:"",last_name:"",loan_officer_id:"",title_rep_first_name:"",title_rep_email:"",referral_link:"",company:"",preferred_title_partner:"",role:"",market_code:this.globalService.getmarket_code(),escrow_officer_id:"",office_id:"",state_code:"",country_code:"",about_us:"",share_app_referrer_code:"",rep_id:"",county_id:"",title_rep_last_name:""};let i=this.apiservice.GetApiUrl()+"pa_signup_flow_tracking.php",o={event_detail:this.event_details,tracking_detail:this.tracking_detail},s={user_email:this.UserEmail,market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(i,JSON.stringify(o),s).subscribe(a=>{this.Trackingresponse=a.body})}getCustomDateTime(){let t=new Date,i=t.getFullYear(),o=(t.getMonth()+1).toString().padStart(2,"0"),s=t.getDate().toString().padStart(2,"0"),a=t.getHours().toString().padStart(2,"0"),u=t.getMinutes().toString().padStart(2,"0"),v=t.getSeconds().toString().padStart(2,"0"),C=t.getMilliseconds().toString().padStart(3,"0"),S=t.getTimezoneOffset(),E=Math.abs(S),D=Math.floor(E/60).toString().padStart(2,"0"),A=(E%60).toString().padStart(2,"0"),U=S>0?"-":"+";return`${i}-${o}-${s}T${a}:${u}:${v}.${C}GMT${U}${D}:${A}`}getGMTOffset(){let t=-new Date().getTimezoneOffset(),i=t>=0?"+":"-",o=Math.floor(Math.abs(t)/60).toString().padStart(2,"0"),s=(Math.abs(t)%60).toString().padStart(2,"0");return`GMT${i}${o}:${s}`}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(ze),w(xe),w(Ie),w(gt),w(Nn),w(je),w(hr),w(li))},r.\u0275cmp=K({type:r,selectors:[["app-login"]],viewQuery:function(i,o){if(i&1&&(L(Fv,5),L(Ov,5),L(Lv,5),L(Rv,7),L(Vv,5)),i&2){let s;F(s=O())&&(o.myModalTemplate=s.first),F(s=O())&&(o.ShareAppModal=s.first),F(s=O())&&(o.EmailInput=s.first),F(s=O())&&(o.userEmailInput=s.first),F(s=O())&&(o.PasswordFocus=s)}},outputs:{closePopupfrm:"closePopupfrm"},decls:186,vars:51,consts:[["mymodal",""],["ShareAppModal",""],["EmailInput",""],["PasswordFocus",""],["OTPVerifyOne",""],["OTPVerifyTwo",""],["OTPVerifyThree",""],["OTPVerifyFour",""],["OTPVerifyFive",""],["OTPVerifySix",""],["rel","stylesheet","href",bi`/branded-site/assets/css/Brand_home.css`],[1,"Brand_login_component"],[1,"container-fluid","HeightVh","LoginPopupnew"],[4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","modal-overlay",4,"ngIf"],["type","hidden","id","market_state_id","name","market_state_id","value",""],["type","hidden","name","shareapp_proceed_status","id","shareapp_proceed_status","value","no"],["type","hidden","name","shareapp_action","id","shareapp_action"],["type","hidden","name","hdn_shareapp_id","id","hdn_shareapp_id"],["type","hidden","name","hdn_share_app_action","id","hdn_share_app_action"],["type","hidden","name","hdn_share_market_code","id","hdn_share_market_code"],["type","hidden","name","hdn_share_state_code","id","hdn_share_state_code"],["type","hidden","name","hdn_share_county_id","id","hdn_share_county_id"],["type","hidden","name","hdn_share_city_id","id","hdn_share_city_id"],["type","hidden","name","hdn_share_office_id","id","hdn_share_office_id"],["type","hidden","name","hdn_share_assignedTo","id","hdn_share_assignedTo"],["type","hidden","name","hdn_user_email","id","hdn_user_email"],["type","hidden","name","proceed_status","id","proceed_status","value","no"],[1,"row","LoginSection"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","ImageSection"],["id","Layer_
111","width","711","height","100%","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","0 0 711 934"],["id","clippath"],["width","711","height","934",2,"fill","none","stroke-width","0px"],["id","linear-gradient","x1","719.85723","y1","927.10403","x2","-1.21938","y2",".94903","gradientTransform","translate(0 934) scale(1 -1)","gradientUnits","userSpaceOnUse"],["offset","0","stop-opacity",".15"],["offset","1"],[2,"clip-path","url(#clippath)"],["d","m0,24C0,10.7452,10.7452,0,24,0h687v934H24c-13.2548,0-24-10.745-24-24V24Z","fill","url(#linear-gradient)","stroke-width","0px"],[1,"LoginContentSection"],[1,"LoginEstimate"],["src","ng_assets/images/login_estimate_new.png","alt","Estimate",1,"LoginEstimateImg"],[1,"MarketNameDiv"],[1,"BrandedMarket"],["src","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png","class","img-responsive","width","25px",4,"ngIf"],["class","market_name_res_state",4,"ngIf"],[1,"LoginEstimateHead"],[1,"LoginEstimateContent"],[1,"pagination"],[1,"dot","active",3,"click"],[1,"dot","nextactive",3,"click"],[1,"dot",3,"click"],[1,"CreateAccSection"],[1,"CreateEstimate"],["src","ng_assets/images/user_info_top.png","alt","Estimate",1,"InfoEstimateImgtop"],["src","ng_assets/images/user_info_bottom.png","alt","Estimate",1,"InfoEstimateImgbottom"],[1,"CreateEstimateHead"],[1,"AreaSection"],[1,"AreaEstimate"],["src","ng_assets/images/market_location.png","alt","Estimate",1,"InfoEstimateImgtop"],[1,"AreaEstimateHead"],[1,"AreaEstimateContent"],[1,"RepSection"],[1,"RepEstimate"],[1,"RepDetailsSection"],[1,"row","RepRow"],[1,"col-lg-5","col-md-5","col-sm-5","col-xs-5"],[1,"RepProfileDiv"],[1,"col-lg-7","col-md-7","col-sm-7","col-xs-7","RepColumRight"],[1,"MarketPrintoutLogo"],["alt","Market Printout Logo",1,"MarketPrintoutLogoImg",3,"src"],[1,"RepInfoDts"],[1,"RepName"],[1,"RepEmail"],[1,"RepPhone"],[1,"RepEstimateHead"],[1,"RepEstimateContent"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","FormSection"],[1,"CloseBtn"],["src","ng_assets/images/login_close.png","alt","Login Close",1,"LoginCloseBtn",3,"click"],[1,"MarketSection"],[1,"MarketLogoDiv"],["alt","Market Logo",1,"MarketLogo",3,"defaultImage","lazyLoad"],[1,"MarketName"],["class","MarketOne",4,"ngIf"],[1,"MarketTitle"],[1,"FormScrollBody"],["class","WelcomeSection",4,"ngIf"],[1,"FooterImgSection"],["alt","Login Home",1,"FooterImg",3,"defaultImage","lazyLoad"],[1,"popup_overlay","WidgetLogin"],[1,"WidgetBody","bg-white"],["rel","stylesheet","href",bi`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css`],[1,"widget_head"],[1,"widget_content"],[1,"WidgetHeight"],[1,"widget_signup_marketdetails"],[1,"marketlogo",3,"src"],[1,"height-15"],[1,"marketname"],[1,"marketcontent"],[1,"marketbar"],[1,"height-20"],[1,"widgetlogin"],[1,"form-group"],["id","widget_signin_user_email","name","widget_signin_user_email","type","text","placeholder","Enter email address","autocomplete","off",1,"user_email","inputbox",3,"ngModelChange","paste","keypress","ngModel"],[1,"form-group","widget_signin_user_password"],["id","widget_signin_user_password","type","password","placeholder","Enter your password","autocomplete","off",1,"user_password","inputbox",3,"ngModelChange","keypress","ngModel"],[1,"from_error"],[1,"user_remember"],["tabindex","0","id","WidgetRememberCheckBox"],["type","hidden",3,"ngModelChange","ngModel"],["id","widget_checkbox",1,"cursor-pointer",3,"click"],[3,"src"],[1,"rember_text"],[1,"user_forgetpassword",3,"click"],[1,"height-25"],[1,"buttondiv"],["type","button",1,"v4_btn_properties","widget_blue_btn","v4_BtnAjaxLoading","signin_btn",3,"click"],["type","button",1,"newsignupbtn","font-size-13",3,"click"],[1,"font-weight-bold"],[1,"GetQuoteLoading","height-30-center"],[1,"getquote",3,"click"],[1,"no_signintext"],[1,"icon-spacing"],["class","fa fa-spinner fa-spin font-size-24",4,"ngIf"],[1,"height-12"],[1,"widget_footer"],[1,"spinner-container"],[1,"loader"],[3,"ngClass"],["mat-dialog-content",""],[1,"emailalert",3,"innerHTML"],["mat-dialog-actions","",1,"buttonaction",2,"gap","20px"],["mat-button","","mat-dialog-close","",1,"btn","Yesbtn",3,"click","mouseover","mouseout"],["mat-button","","mat-dialog-close","",1,"btn","Nobtn",3,"mouseover","mouseout"],[1,"emailalert"],["mat-button","","mat-dialog-close","",1,"btn","Nobtn",3,"click","mouseover","mouseout"],[1,"modal-overlay"],["tabindex","-1","aria-hidden","true",1,"modal","right","modal
11-overlay-full"],[1,"modal-dialog","modal_conten","modal-dialog-centered"],[1,"modal-content","modalbox","SwitchSuccessModalbox"],[1,"SwitchPopupHeader"],[1,"SwitchPopupTitle"],[1,"SwitchPopupCloseBtn",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none"],["d","M18 6L6 18M18 18L6 6","stroke","#666","stroke-width","2","stroke-linecap","round"],["align","center",1,"modal-body"],[1,"SwitchSuccessContent"],["class","SwitchGifContainer",4,"ngIf"],[1,"SwitchPopupMessage",3,"innerHTML"],[1,"SwitchPopupButtons"],["class","SwitchPopupBtn",3,"click",4,"ngFor","ngForOf"],[1,"SwitchGifContainer"],["alt","Switch Process",1,"SwitchGifImg",3,"src"],[1,"SwitchPopupBtn",3,"click"],[1,"modal-content","modalbox"],[1,"close-btn-position",3,"click"],["d","M16 8L8 16M16 16L8 8","stroke","black","stroke-width","2","stroke-linecap","round"],[1,"modal-header","HelpLogo"],["width","48","height","48","viewBox","0 0 48 48","fill","none","xmlns","http://www.w3.org/2000/svg"],["id","QuestionMark"],["id","Vector","d","M36 18C36 23.3456 31.4119 27.7706 25.5 28.4175V30C25.5 30.3978 25.342 30.7794 25.0607 31.0607C24.7794 31.342 24.3978 31.5 24 31.5C23.6022 31.5 23.2206 31.342 22.9393 31.0607C22.658 30.7794 22.5 30.3978 22.5 30V27C22.5 26.6022 22.658 26.2206 22.9393 25.9393C23.2206 25.658 23.6022 25.5 24 25.5C28.9631 25.5 33 22.1362 33 18C33 13.8637 28.9631 10.5 24 10.5C19.0369 10.5 15 13.8637 15 18C15 18.3978 14.842 18.7794 14.5607 19.0607C14.2794 19.342 13.8978 19.5 13.5 19.5C13.1022 19.5 12.7206 19.342 12.4393 19.0607C12.158 18.7794 12 18.3978 12 18C12 12.21 17.3831 7.5 24 7.5C30.6169 7.5 36 12.21 36 18ZM24 36C23.4067 36 22.8266 36.1759 22.3333 36.5056C21.8399 36.8352 21.4554 37.3038 21.2284 37.8519C21.0013 38.4001 20.9419 39.0033 21.0576 39.5853C21.1734 40.1672 21.4591 40.7018 21.8787 41.1213C22.2982 41.5409 22.8328 41.8266 23.4147 41.9424C23.9967 42.0581 24.5999 41.9987 25.1481 41.7716C25.6962 41.5446 26.1648 41.1601 26.4944 40.6667C26.8241 40.1734 27 39.5933 27 39C27 38.2044 26.6839 37.4413 26.1213 36.8787C25.5587 36.3161 24.7956 36 24 36Z","fill","#278AE5"],[1,"AuthMainContent"],[1,"AuthHeading"],[1,"AuthContentOne"],[1,"AuthHeadingTwo"],[1,"AuthContentSteps"],[1,"list-number"],[1,"ContentBold"],[1,"ContactSupportDiv"],["target","_blank",3,"href"],[1,"SupportLink"],["src","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png","width","25px",1,"img-responsive"],[1,"market_name_res_state"],["src","ng_assets/images/arrow.svg","alt","arrow_down","width","5",1,"arow_down"],[1,"MarketOne"],[1,"WelcomeSection"],[1,"WelcomeHead"],[1,"WelcomeContent"],[1,"WelcomeInputDiv"],[1,"InputPaddingTop"],["type","text","placeholder","Email","autocomplete","off",1,"InputBox","form-control1","Loginfocus",3,"ngModelChange","keypress","paste","input","focusout","ngModel","ngClass"],["class","InputPaddingTop",4,"ngIf"],["class","from_error",4,"ngIf"],["class","checkbox",4,"ngIf"],[1,"LoginBtndiv"],["class","LoginBtn login-next",3,"ngStyle","click",4,"ngIf"],["class","LoginBtn",3,"ngStyle","click",4,"ngIf"],["class"," or-divider",4,"ngIf"],["class"," eagle-secured",4,"ngIf"],["class","v4_forgot_password",4,"ngIf"],["type","password","placeholder","Password","autocomplete","off",1,"InputBox","form-control1","passwordFocus",3,"ngModelChange","keypress","input","focusout","ngModel","ngClass","ngStyle"],[1,"checkbox"],[1,"SignupAggrement",3,"click"],[1,"CheckBoxImg",3,"src"],[1,"checkbox_content"],[1,"LoginBtn","login-next",3,"click","ngStyle"],[1,"LoginBtn",3,"click","ngStyle"],[1,"or-divider"],[1,"or-line"],[1,"or-text"],[1,"eagle-secured"],["alt","Eagle ID",1,"eagle_style_small",3,"defaultImage","lazyLoad"],[1,"v4_forgot_password"],[3,"click"],[1,"SwitchWelcomeContent"],[1,"switchbuttondiv"],[1,"switchbutton",3,"click","mouseover","mouseleave"],["class","switchbutton",3,"style","click","mouseover","mouseleave",4,"ngIf"],["class","switchbuttondiv",4,"ngIf"],[1,"switchbutton",3,"click"],[1,"SwitchWelcomeContent","text-success"],[1,"switchbutton",3,"click","mouseover","mouseout"],[1,"SwitchWelcomeContent","text-success",3,"innerHTML"],[1,"Forgotpasswordsec"],["type","text","id","email","placeholder","Email",1,"InputBox","form-control1",3,"ngModelChange","focusout","ngModel","ngClass"],[1,"SwitchWelcomeContent",3,"ngClass"],["class","sms_div",4,"ngIf"],[1,"sms_div"],[1,"v3_forgot_password",3,"click"],[1,"authenticationhelp",3,"click"],[1,"HelpBtn"],[1,"SwitchWelcomeContent","UserInfoContentAuth"],[1,"otp-container"],["type","text","maxlength","1","id","OTPVerifyOne","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyTwo","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyThree","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyFour","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifyFive","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],["type","text","maxlength","1","id","OTPVerifySix","autocomplete","off",1,"otp-input",3,"ngModelChange","input","keydown.backspace","paste","keypress","ngModel"],[1,"RemainingTime"],[1,"AuthUserInfoBtnuser",3,"click","keypress","ngStyle"],["class","WelcomeOTPContent",4,"ngIf"],[1,"WelcomeOTPContent"],[1,"RemainingTime",3,"click"],[1,"fa","fa-spinner","fa-spin","font-size-24"]],template:function(i,o){if(i&1){let s=T();y(0,"link",10),l(1,"div",11)(2,"div",12),k(3,Nv,3,0,"div",13)(4,Uv,2,7,"div",14)(5,Hv,7,5,"ng-template",null,0,mt)(7,Wv,8,5,"ng-template",null,1,mt)(9,zv,16,6,"div",15)(10,Gv,43,1,"div",15),y(11,"input",16)(12,"input",17)(13,"input",18)(14,"input",19)(15,"input",20)(16,"input",21)(17,"input",22)(18,"input",23)(19,"input",24)(20,"input",25)(21,"input",26)(22,"input",27)(23,"input",28),l(24,"div",29)(25,"div",30),he(),l(26,"svg",31)(27,"defs")(28,"clipPath",32),y(29,"rect",33),c(),l(30,"linearGradient",34),y(31,"stop",35)(32,"stop",36),c()(),l(33,"g",37),y(34,"path",38),c()(),pe(),l(35,"div",39)(36,"div",40),y(37,"img",41),l(38,"div",42)(39,"div",43),f(40),k(41,Zv,1,0,"img",44),c(),k(42,qv,3,1,"div",45),c()(),l(43,"div",46),f(44," Their journey begins with the numbers. "),c(),l(45,"div",47),f(46," We\u2019re here to help you guide your clients through every step of their real estate journey. "),c(),l(47,"div",48)(48,"span",49),_("click",function(){return h(s),m(o.SwipeBranedContent("Journey"))}),c(),l(49,"span",50),_("click",function(){return h(s),m(o.SwipeBranedContent("About"))}),c(),l(50,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Details"))}),c(),l(51,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Reps"))}),c()()(),l(52,"div",52)(53,"div",53),y(54,"img",54)(55,"img",55),c(),l(56,"div",56),f(57," We\u2019re all about building your brand. "),c(),l(58,"div",47),f(59," Every touchpoint with your prospects and clients is a value-ad
11d opportunity. "),c(),l(60,"div",48)(61,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Journey"))}),c(),l(62,"span",49),_("click",function(){return h(s),m(o.SwipeBranedContent("About"))}),c(),l(63,"span",50),_("click",function(){return h(s),m(o.SwipeBranedContent("Details"))}),c(),l(64,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Reps"))}),c()()(),l(65,"div",57)(66,"div",58),y(67,"img",59),c(),l(68,"div",60),f(69," Leave the details to us. "),c(),l(70,"div",61),f(71),c(),l(72,"div",48)(73,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Journey"))}),c(),l(74,"span",50),_("click",function(){return h(s),m(o.SwipeBranedContent("About"))}),c(),l(75,"span",49),_("click",function(){return h(s),m(o.SwipeBranedContent("Details"))}),c(),l(76,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Reps"))}),c()()(),l(77,"div",62)(78,"div",63)(79,"div",64)(80,"div",65)(81,"div",66),y(82,"div",67),c(),l(83,"div",68)(84,"div",69),y(85,"img",70),c(),l(86,"div",71)(87,"div",72),f(88),c(),l(89,"div",73),f(90),c(),l(91,"div",74),f(92),c()()()()()(),l(93,"div",75),f(94," Choose your point of contact. "),c(),l(95,"div",76),f(96," Locate your referrer - They\u2019ll be an invaluable resource moving forward. "),c(),l(97,"div",48)(98,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("Journey"))}),c(),l(99,"span",51),_("click",function(){return h(s),m(o.SwipeBranedContent("About"))}),c(),l(100,"span",50),_("click",function(){return h(s),m(o.SwipeBranedContent("Details"))}),c(),l(101,"span",49),_("click",function(){return h(s),m(o.SwipeBranedContent("Reps"))}),c()()()(),l(102,"div",77)(103,"div",78)(104,"img",79),_("click",function(){return h(s),m(o.CloseLogin())}),c()(),l(105,"div",80)(106,"div",81),y(107,"img",82),c(),l(108,"div")(109,"span",83),f(110),c(),k(111,Xv,2,0,"span",84),c(),l(112,"div",85),f(113),c()(),l(114,"div",86),k(115,oy,19,13,"div",87)(116,ay,13,7,"div",87)(117,cy,12,7,"div",87)(118,dy,8,3,"div",87)(119,uy,7,3,"div",87)(120,hy,7,3,"div",87)(121,my,10,6,"div",87)(122,fy,9,5,"div",87)(123,Sy,26,11,"div",87),c(),l(124,"div",88),y(125,"img",89),c()()()(),l(126,"div",90),k(127,wy,3,0,"div",13),l(128,"div",91),y(129,"link",92),l(130,"div",93),f(131,"\xA0"),c(),l(132,"div",94)(133,"div",95),f(134,"\xA0"),c(),l(135,"div",96)(136,"div"),y(137,"img",97),c(),l(138,"div",98),f(139,"\xA0"),c(),l(140,"div",99),f(141),c(),l(142,"div",100),f(143,"Real Estate's #1 Net Sheet & Closing Cost App Platform"),c(),y(144,"div",101),l(145,"div",102),f(146,"\xA0"),c(),l(147,"div",103)(148,"div",104)(149,"input",105),Z("ngModelChange",function(u){return h(s),G(o.widget_signin_user_email,u)||(o.widget_signin_user_email=u),m(u)}),_("paste",function(u){return h(s),m(o.RemoveMailToCharFun(u))})("keypress",function(u){return h(s),m(o.WidgetLoginEnterFun(u))}),c()(),l(150,"div",106)(151,"input",107),Z("ngModelChange",function(u){return h(s),G(o.widget_signin_user_password,u)||(o.widget_signin_user_password=u),m(u)}),_("keypress",function(u){return h(s),m(o.WidgetLoginEnterFun(u))}),c(),l(152,"div",108),f(153),c()(),l(154,"div",109)(155,"div",110)(156,"input",111),Z("ngModelChange",function(u){return h(s),G(o.Widgetremember,u)||(o.Widgetremember=u),m(u)}),c(),l(157,"span",112),_("click",function(){return h(s),m(o.WidgetRemember())}),y(158,"img",113),c(),l(159,"span",114),f(160,"Remember me"),c()(),l(161,"span",115),_("click",function(){return h(s),m(o.WidgetForgetPassword())}),f(162,"Forgot password"),c()(),l(163,"div",116),f(164,"\xA0"),c(),l(165,"div",117)(166,"button",118),_("click",function(){return h(s),m(o.WidgetLogin())}),f(167,"Sign In"),c()(),l(168,"div",98),f(169,"\xA0"),c(),l(170,"div",104)(171,"button",119),_("click",function(){return h(s),m(o.SignupNewAccFun())}),f(172,"No account?"),l(173,"span",120),f(174," Sign up for free"),c()()(),l(175,"div",121)(176,"span",122),_("click",function(){return h(s),m(o.GetQuickQuotesFun())}),f(177,"Get a Quote Now"),c(),l(178,"span",123),f(179,"\xA0\xA0\xA0(No sign-in required)"),c(),l(180,"span",124),k(181,xy,1,0,"i",125),c()()()()(),l(182,"div",126),f(183,"\xA0"),c(),l(184,"div",127),f(185,"\xA0"),c()()()()}i&2&&(d(3),g("ngIf",o.isLoading),d(),g("ngIf",o.toastalertshow),d(5),g("ngIf",o.SwitchSuccessPopup),d(),g("ngIf",o.AuthenticatorHelpPopup),d(21),_e("stop-color",o.gradientStartColor),d(),_e("stop-color",o.gradientEndColor),d(3),x(o.LoginVisible),d(5),N("",o.market_name," "),d(),g("ngIf",o.one_label),d(),g("ngIf",o.TTBrandState),d(10),x(o.InfoVisible),d(13),x(o.AreaVisible),d(6),Tt(" With local taxes, rates and fees, ",o.market_name," ",o.One_Label," provides informed estimates - allowing you to focus fully on the customer. "),d(6),x(o.RepVisible),d(5),x(o.rep_profile),d(3),g("src",o.PrintoutLogo,Y),d(3),N(" ",o.rep_name," "),d(2),N(" ",o.rep_email," "),d(2),N(" ",o.rep_phone," "),d(15),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad",o.marketlogo),d(3),B(o.market_name),d(),g("ngIf",o.one_label),d(2),N(" Powered by ",o.market_title," "),d(2),g("ngIf",o.userlogin),d(),g("ngIf",o.switchuseralert),d(),g("ngIf",o.reploginsection),d(),g("ngIf",o.SwitchSuccesssection),d(),g("ngIf",o.InactiveUser),d(),g("ngIf",o.PendingApproval),d(),g("ngIf",o.forgotpassuser),d(),g("ngIf",o.forgotpasssucess),d(),g("ngIf",o.userlogintwofactAuthverify),d(2),g("defaultImage","ng_assets/images/login_footer_trans.png")("lazyLoad","ng_assets/images/login_footer.png"),d(2),g("ngIf",o.isLoading),d(10),g("src",o.Market_Logo,Y),d(4),Tt("",o.market_name," ",o.One_Label),d(8),z("ngModel",o.widget_signin_user_email),d(2),z("ngModel",o.widget_signin_user_password),d(2),B(o.widget_error),d(3),z("ngModel",o.Widgetremember),d(2),g("src",o.WidgetCheckImg,Y),d(23),g("ngIf",o.isQuoteLoadVisible))},dependencies:[we,wi,Ki,De,rt,xn,hi,Sn,Vi,Ri,$e,It,qt,zt,Zt,Gt,nr],encapsulation:2});let n=r;return n})();function ky(n,r){n&1&&(l(0,"span"),f(1,"ONE"),c())}function Ey(n,r){n&1&&y(0,"img",54)}
11function Dy(n,r){n&1&&y(0,"img",57)}function Ty(n,r){if(n&1&&(l(0,"div",55),f(1),k(2,Dy,1,0,"img",56),c()),n&2){let e=p();d(),N("",e.TTBrandStateName," "),d(),g("ngIf",e.TTBrandState)}}function My(n,r){n&1&&y(0,"img",58)}function Iy(n,r){n&1&&y(0,"img",59)}var sm=(()=>{let r=class r{constructor(t,i,o){this.renderer=t,this.globalService=i,this.apiservice=o,this.dynamicComponentService=b(et),this.closeDownloadPopupfrm=new me,this.playstoreValue="",this.AppstoreValue="",this.market_name="",this.head_market_name="",this.WindowsBtn={},this.MacBtn={},this.AppStoreBtn={},this.PlayStoreBtn={},this.MarketLightColor="",this.MarkettDarkColor="",this.WindowsApk="",this.MacApk="",this.playstore="",this.Appstore="",this.Market_QrCode="",this.one_label=!1,this.ApiUrl="",this.formData={},this.TermsLink="",this.PrivacyPolicy="",this.DomainName="",this.marketName={},this.enable_mobile_website="",this.TTBrandState=!1,this.TTBrandStateName=""}ngOnInit(){setTimeout(()=>{this.playstoreValue=this.globalService.getplaystore(),this.AppstoreValue=this.globalService.getappstore(),this.market_name=this.globalService.getMarketName(),this.head_market_name=this.globalService.getMarketName(),this.MarkettDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.WindowsApk=this.globalService.getwindowsApk(),this.MacApk=this.globalService.getMacApk(),this.playstore=this.globalService.getplaystore(),this.Appstore=this.globalService.getappstore(),this.Market_QrCode=this.globalService.getmarket_qrcode(),this.DomainName=this.globalService.getwebsite_url(),this.DomainName=this.removeWww(this.DomainName),this.TermsLink="https://"+this.DomainName+"/terms/",this.PrivacyPolicy="https://"+this.DomainName+"/privacy-policy/",this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.globalService.getmarket_code()=="EMT"&&(this.market_name=this.market_name+" ONE"),this.globalService.getdisplay_onelabel()=="yes"?(this.one_label=!0,this.setStyleForClass("market_name_res_neww","position","absolute"),this.setStyleForClass("market_name_res_neww","top","15px"),this.setStyleForClass("market_name_res_neww","transform","translate(-50%, -50%)"),this.setStyleForClass("market_name_res_neww","left","25%"),this.setStyleForClass("market_name_res_neww","font-size","9px"),this.setStyleForClass("market_name_res_neww","max-width","26%")):(this.setStyleForClass("market_name_res_neww","position","absolute"),this.setStyleForClass("market_name_res_neww","top","15px"),this.setStyleForClass("market_name_res_neww","transform","translate(-50%, -50%)"),this.setStyleForClass("market_name_res_neww","left","23%"),this.setStyleForClass("market_name_res_neww","font-size","9px"),this.setStyleForClass("market_name_res_neww","max-width","26%")),this.WindowsApk==""&&this.MacApk==""?(this.setStyleForClass("ImageSectionApps","display","none"),this.setStyleForClass("Download_Mac","display","none"),this.setStyleForClass("LoginSectionApps","display","flex"),this.setStyleForClass("LoginSectionApps","justify-content","center")):this.WindowsApk==""?this.setStyleForClass("Download_Windows","display","none"):this.MacApk==""&&this.setStyleForClass("Download_Mac","display","none"),this.playstore==""&&this.Appstore==""?(this.setStyleForClass("MobileSectionApps","display","none"),this.setStyleForClass("QRcode_section","justify-content","center"),this.setStyleForClass("LoginSectionApps","display","flex"),this.setStyleForClass("LoginSectionApps","justify-content","center")):this.playstore==""?this.setStyleForClass("Google_Section","display","none"):this.Appstore==""&&this.setStyleForClass("App_Section","display","none"),this.enable_mobile_website=="on"&&(this.setStyleForClass("market_name_res_neww","top","20px"),this.setStyleForClass("MobileSection","display","none"),this.setStyleForClass("LoginSection","display","flex"),this.setStyleForClass("LoginSection","justify-content","center"),this.TTBrandState=!0,this.TTBrandStateName=this.globalService.getWebsite_countyName())},1300)}removeWww(t){return t?t.replace(/^www\./,""):""}CloseSignup(){this.closeDownloadPopupfrm.emit()}WindowsHoverFun(t){t=="Hover"?this.WindowsBtn={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.WindowsBtn={}}
11MacHoverFun(t){t=="Hover"?this.MacBtn={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.MacBtn={}}AppStoreHoverFun(t){t=="Hover"?this.AppStoreBtn={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.AppStoreBtn={}}PlayStoreHoverFun(t){t=="Hover"?this.PlayStoreBtn={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.PlayStoreBtn={}}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i,website_type:"new"};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}CreateNewAccFun(){this.closeDownloadPopupfrm.emit(),this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.WebsiteBtnTrackingFun("Signup")}onLoginButtonClick(){this.closeDownloadPopupfrm.emit(),this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","block");let t=document.querySelector(".Loginfocus");t&&this.renderer.selectRootElement(t).focus()}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(xe),w(Ie))},r.\u0275cmp=K({type:r,selectors:[["app-download-content"]],outputs:{closeDownloadPopupfrm:"closeDownloadPopupfrm"},decls:74,vars:25,consts:[[1,"download_content_main"],[1,"container_fluid","HeightVh"],[1,"row","First_row"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12"],[1,"first_section"],[1,"close_image"],["src","ng_assets/images/login_close.png",1,"close",3,"click"],[1,"Download_link"],[4,"ngIf"],[1,"row","LoginSectionApps"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","ImageSectionApps"],[1,"Desktop"],[1,"GotoLogin"],[1,"Download_content",3,"mouseover","mouseout","click"],[1,"GotoSignup"],[1,"Windows_content",3,"mouseover","mouseout","click"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","MobileSectionApps"],[1,"Mobile"],[1,"QRcode_section"],[1,"QRContent"],[1,"QR_img",3,"src"],[1,"Gap_GA"],["target","_blank",1,"link-no-decoration",3,"href"],[1,"App_Section",3,"mouseover","mouseout","click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","27","viewBox","0 0 24 27","fill","none"],["d","M19.5354 25.6183C18.0832 27.0267 16.4977 26.8043 14.9714 26.1372C13.3562 25.4552 11.8744 25.4255 10.1703 26.1372C8.03644 27.0563 6.91025 26.7895 5.63588 25.6183C-1.59544 18.1611 -0.528527 6.80485 7.6808 6.38974C9.68127 6.49352 11.0742 7.48682 12.2448 7.57577C13.9934 7.21996 15.6679 6.19701 17.535 6.33044C19.7725 6.50835 21.4618 7.39787 22.5732 8.99901C17.9499 11.7714 19.0464 17.8646 23.2845 19.5695C22.4398 21.7933 21.3433 24.0023 19.5206 25.6331L19.5354 25.6183ZM12.0967 6.30079C11.8744 2.99473 14.5565 0.266857 17.6387 0C18.0684 3.82495 14.1712 6.67143 12.0967 6.30079Z","fill","white"],[1,"text_icon","text-white"],[1,"Google_Section",3,"mouseover","mouseout","click"],[1,"Google_app"],["xmlns","http://www.w3.org/2000/svg","width","22","height","25","viewBox","0 0 22 25","fill","none"],["d","M20.9401 13.7763L17.0831 15.9592L13.6238 12.5215L17.1107 9.05629L20.9401 11.2234C21.1661 11.3512 21.3541 11.5367 21.4849 11.761C21.6158 11.9853 21.6847 12.2402 21.6847 12.4999C21.6847 12.7595 21.6158 13.0145 21.4849 13.2388C21.3541 13.463 21.1661 13.6486 20.9401 13.7763ZM0.586546 1.59827C0.513511 1.77558 0.476058 1.96552 0.47632 2.15728V22.8415C0.47632 23.0551 0.520607 23.2539 0.598356 23.432L11.5767 12.5206L0.586546 1.59827ZM12.6003 11.5039L15.8067 8.31718L2.66609 0.880815C2.38443 0.718954 2.05639 0.656883 1.73507 0.704649L12.6003 11.5039ZM12.6003 13.5382L1.77444 24.2981C2.06772 24.3335 2.37675 24.2823 2.66609 24.118L15.7791 16.6974L12.6003 13.5382Z","fill","white"],[1,"row","LoginSection"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","ImageSection"],[1,"Empty_space"],[1,"Image_Mob"],["src","ng_assets/images/Download_image.png","alt","Estimate",1,"DownloadImgFirst"],[1,"market_name_res","market_name_res_neww"],["src","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png","class","img-responsive","width","22px",4,"ngIf"],["class","market_name_res_state",4,"ngIf"],[1,"BlankAgent_content"],[1,"Blue_Content","link-no-decoration",3,"href"],[1,"col-lg-6","col-md-6","col-sm-6","col-xs-6","MobileSection"],[1,"height-1"],[1,"TwoImg_section"],[1,"First_img"],["src","ng_assets/images/Big_back.png",1,"Big_Img"],[1,"market-name-overlay-big","market_name_res_b
11ig"],["src","https://palmagent.com/2/dash_api_v4/images/paone-black.png","class","img-responsive_big","width","18px",4,"ngIf"],["src","ng_assets/images/arrow.svg",1,"arrow-icon-big"],[1,"Second_img"],["src","ng_assets/images/small_front.png",1,"small_img"],[1,"market-name-overlay-small","market_name_res_small"],["src","https://palmagent.com/2/dash_api_v4/images/paone-black.png","class","img-responsive_small","width","18px",4,"ngIf"],["src","ng_assets/images/arrow.svg",1,"arrow-icon-small"],["src","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png","width","22px",1,"img-responsive"],[1,"market_name_res_state"],["src","ng_assets/images/arrow.svg","alt","arrow_down","class","arow_down","width","7",4,"ngIf"],["src","ng_assets/images/arrow.svg","alt","arrow_down","width","7",1,"arow_down"],["src","https://palmagent.com/2/dash_api_v4/images/paone-black.png","width","18px",1,"img-responsive_big"],["src","https://palmagent.com/2/dash_api_v4/images/paone-black.png","width","18px",1,"img-responsive_small"]],template:function(i,o){i&1&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"img",6),_("click",function(){return o.CloseSignup()}),c()()(),l(7,"div",7),f(8),k(9,ky,2,0,"span",8),c()(),l(10,"div")(11,"div",9)(12,"div",10)(13,"div",11),f(14),c(),l(15,"div",12)(16,"div",13),_("mouseover",function(){return o.MacHoverFun("Hover")})("mouseout",function(){return o.MacHoverFun("Leave")})("click",function(){return o.onLoginButtonClick(),o.WebsiteBtnTrackingFun("Login")}),f(17," Log In "),c()(),l(18,"div",14)(19,"div",15),_("mouseover",function(){return o.WindowsHoverFun("Hover")})("mouseout",function(){return o.WindowsHoverFun("Leave")})("click",function(){return o.CreateNewAccFun(),o.WebsiteBtnTrackingFun("Signup")}),f(20," Create An Account "),c()()(),l(21,"div",16)(22,"div",17),f(23),c(),l(24,"div",18)(25,"div",19),y(26,"img",20),c(),l(27,"div",21)(28,"a",22)(29,"div",23),_("mouseover",function(){return o.AppStoreHoverFun("Hover")})("mouseout",function(){return o.AppStoreHoverFun("Leave")})("click",function(){return o.WebsiteBtnTrackingFun("AppStore")}),l(30,"div"),he(),l(31,"svg",24),y(32,"path",25),c()(),pe(),l(33,"div",26),f(34,"App Store"),c()()(),l(35,"a",22)(36,"div",27),_("mouseover",function(){return o.PlayStoreHoverFun("Hover")})("mouseout",function(){return o.PlayStoreHoverFun("Leave")})("click",function(){return o.WebsiteBtnTrackingFun("PlayStore")}),l(37,"div",28),he(),l(38,"svg",29),y(39,"path",30),c()(),pe(),l(40,"div",26),f(41,"Google Play"),c()()()()()()(),l(42,"div",31)(43,"div",32),y(44,"div",33),l(45,"div",34),y(46,"img",35),l(47,"div",36),f(48),k(49,Ey,1,0,"img",37),y(50,"br"),k(51,Ty,3,2,"div",38),c(),l(52,"div",39),f(53),l(54,"a",40),f(55,"Terms Of Use"),c(),f(56," and "),l(57,"a",40),f(58,"Privacy & Cookies."),c()()()(),l(59,"div",41),y(60,"div",42),l(61,"div",43)(62,"div",44),y(63,"img",45),l(64,"div",46),f(65),k(66,My,1,0,"img",47),y(67,"img",48),c()(),l(68,"div",49),y(69,"img",50),l(70,"div",51),f(71),k(72,Iy,1,0,"img",52),y(73,"img",53),c()()()()()()()()()),i&2&&(d(8),N(" Download ",o.head_market_name," "),d(),g("ngIf",o.one_label),d(5),N(" ",o.market_name," for Desktop "),d(2),x(o.MacBtn),d(3),x(o.WindowsBtn),d(4),N(" ",o.market_name," for Mobile "),d(3),g("src",o.Market_QrCode,Y),d(2),g("href",o.Appstore,Y),d(),x(o.AppStoreBtn),d(6),g("href",o.playstore,Y),d(),x(o.PlayStoreBtn),d(12),N(" ",o.market_name," "),d(),g("ngIf",o.one_label),d(2),g("ngIf",o.TTBrandState),d(2),N(" By downloading ",o.market_name,", you accept our "),d(),g("href",o.TermsLink,Y),d(3),g("href",o.PrivacyPolicy,Y),d(8),N("",o.market_name," "),d(),g("ngIf",o.one_label),d(5),N("",o.market_name," "),d(),g("ngIf",o.one_label))},dependencies:[we,De],encapsulation:2});let n=r;return n})();var fi=(()=>{let r=class r{constructor(){this.userAgent=navigator.userAgent}isMobile(){return/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini|Windows Phone|Mobile Safari|Fennec|MeeGo|Palm|Symbian|UCWEB|Silk-Accelerated|Nokia|Motorola|SonyEricsson|Samsung/i.test(this.userAgent)}isTablet(){return/iPad|Android(?!.*Mobile)|Tablet|PlayBook|Kindle|Silk|SM-T|GT-P|SCH-I800|Xoom|Nexus 7|Nexus 9|Lenovo Tab|Huawei MediaPad|Slate/i.test(this.userAgent)}isDesktop(){return!this.isMobile()&&!this.isTablet()}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var Ay=["watchvideo"],Fy=["ShowWebinarBanner"],Oy=["WebinarDiv"],am=n=>({display:n});function Ly(n,r){n&1&&(l(0,"div"),y(1,"div",82)(2,"span",83),c())}function Ry(n,r){if(n&1&&(l(0,"div")(1,"div",84)(2,"mat-dialog-actions",85),y(3,"img",86),c()(),l(4,"mat-dialog-content",87)(5,"div")(6,"video",88),y(7,"source",89),f(8," Your browser does not support the video tag. "),c()()()()),n&2){let e=p();d(7),g("src",e.MarketVideoUrl)}}function Vy(n,r){if(n&1){let e=T();l(0,"img",90),_("load",function(){h(e);let i=p();return m(i.brandedLogoLoaded=!0)})("error",function(){h(e);let i=p();return m(i.brandedLogoLoaded=!1)}),c()}if(n&2){let e=p();g("src",e.BrandedLogo,Y)("hidden",!e.brandedLogoLoaded)}}function Py(n,r){if(n&1){let e=T();l(0,"img",91),_("load",function(){h(e);let i=p();return m(i.marketLogoLoaded=!0)})("error",function(){h(e);let i=p();return m(i.marketLogoLoaded=!1)}),c()}if(n&2){let e=p();g("src",e.marketLogo,Y)("hidden",!e.marketLogoLoaded)}}var lm=(()=>
11{let r=class r{constructor(t,i,o,s,a,u,v,C,S,E){this.renderer=t,this.router=i,this.globalService=o,this.dialog=s,this.apiservice=a,this.sharedService=u,this.route=v,this.eRef=C,this.location=S,this.deviceService=E,this.divHeight=0,this.totalHeight=0,this.marketLogo="",this.marketLogoLoaded=!1,this.brandedLogoLoaded=!1,this.apiVersion="php5",this.DownloadHover=!0,this.LoginHover=!0,this.MarketLightColor="",this.MarkettDarkColor="",this.PalmAgentTitleLink="https://palmagent.com/title",this.MarketVideoUrl="",this.PowerdedBy="",this.ApiUrl="",this.formData={},this.LoginPopup=!1,this.showLoginPopup=!1,this.showDownloadPopup=!1,this.showSignupPopup=!1,this.market_title="",this.market_code="",this.Switch_User="",this.mmp_preview=!1,this.AnimationRightTwo="hide",this.BrandedLogo="",this.WebinarButton={},this.SpeakerFlag=1,this.isLoading=!1,this.webinarStatus="",this.IsLaunch="",this.widgetLogin="",this.deviceType="",this.LoginStyles={},this.DownloadStyles={},this.dynamicComponentService=b(et),this.deviceService.isMobile()?this.deviceType="Mobile":this.deviceService.isTablet()?this.deviceType="Tablet":this.deviceType="Desktop"}ngOnInit(){this.apiVersion="php5",this.globalService.getmarket_code()?(this.globalService.getmarket_code()=="FA"?this.marketLogo=" ng_assets/images/FA.ico":this.marketLogo="https://d2w998roo7cij6.cloudfront.net/download-website/"+this.globalService.getmarket_code()+"/"+this.globalService.getmarket_code()+".ico",this.BrandedLogo="https://d2w998roo7cij6.cloudfront.net/flyers_market_logo/"+this.globalService.getmarket_code()+".png",this.marketname=this.globalService.getMarketName()):this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(t=>{if(t)try{let i=JSON.parse(atob(decodeURIComponent(t)));i.market_code&&(i.market_code=="FA"?this.marketLogo=" ng_assets/images/FA.ico":this.marketLogo="https://d2w998roo7cij6.cloudfront.net/download-website/"+i.market_code+"/"+i.market_code+".ico",this.BrandedLogo="https://d2w998roo7cij6.cloudfront.net/flyers_market_logo/"+i.market_code+".png",this.marketname=i.market_name||"")}catch{console.log("Error parsing cookie for early logo load")}})}ngAfterViewInit(){this.deviceType=="Tablet"?this.setStyleForClass("LoginBtn","display","none"):this.deviceType=="Desktop"&&this.setStyleForClass("LoginBtn","display",""),this.marketname=this.globalService.getMarketName(),this.MarkettDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.market_code=this.globalService.getmarket_code(),this.market_code=="EMT"&&(this.marketname=this.marketname+" ONE"),this.globalService.getmarket_code()&&(this.globalService.getmarket_code()=="FA"?this.marketLogo=" ng_assets/images/FA.ico":this.marketLogo="https://d2w998roo7cij6.cloudfront.net/download-website/"+this.globalService.getmarket_code()+"/"+this.globalService.getmarket_code()+".ico",this.BrandedLogo="https://d2w998roo7cij6.cloudfront.net/flyers_market_logo/"+this.globalService.getmarket_code()+".png");let t=this.apiservice.GetApiUrl()+"manage_cookie.php",i={action:"GetMarketJson",market_json:"https://d2w998roo7cij6.cloudfront.net/download-website/common-settings.json"},o={user_email:"",market_code:""};this.apiservice.ApiCallFunction(t,JSON.stringify(i),o).subscribe({next:a=>{let u=a.body;u.status=="Success"&&((typeof u.results=="string"?JSON.parse(u.results):u.results).webinar_banner_status!="disabled"?(this.webinarStatus="yes",this.setStyleForClass("Webinarbannerlatest","display","flex"),setTimeout(()=>{this.screenWidth=window.innerWidth,this.totalHeight=this.WebinarDiv.nativeElement.offsetHeight,this.screenWidth>=768&&(this.setStyleForClass("WebinarEmptyDiv","height",this.totalHeight+"px"),this.setStyleForClass("LoginPopup","top",this.totalHeight+"px"),this.setStyleForClass("DownloadPopup","top",this.totalHeight+"px"),this.setStyleForClass("SignupPopup","top",this.totalHeight+"px"))},100)):this.webinarStatus="")},error:()=>{this.webinarStatus=""}}),this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""?this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(a=>{this.phpData=a,this.renderHeaderContent()}):this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(a=>{this.phpData=a,this.renderHeaderContent()}),this.screenWidth=window.innerWidth;let s=this.location.path().split("id=");s!=null&&s.length>1?this.widgetLogin=s[1]:this.widgetLogin="",this.widgetLogin=="widget"&&this.screenWidth>=992&&this.onWidgetLogin(),setTimeout(()=>{this.setValues(),this.screenWidth<768?this.marketname.length>=30?this.setStyleForClass("MarketText","font-size","14px"):this.marketname.length>=25&&this.marketname.length<=30?this.setStyleForClass("MarketText","font-size","15px"):this.marketname.length>=20&&this.marketname.length<=25?this.setStyleForClass("MarketText","font-size","16px"):this.marketname.length>=15&&this.marketname.length<=20&&this.setStyleForClass("MarketText","font-size","18px"):this.screenWidth>768&&this.screenWidth<=999?this.marketname.length>=30?(this.setStyleForClass("WebinarContent","font-size","10.5px"),this.setStyleForClass("HighlightedContent","font-size","10.5px"),this.setStyleForClass("RegisterButton","font-size","11px")):this.marketname.length>=25&&this.marketname.length<=30?(this.setStyleForClass("WebinarContent","font-size","10px"),this.setStyleForClass("HighlightedContent","font-size","10px"),this.setStyleForClass("RegisterButton","font-size","11px")):this.marketname.length>=20&&this.marketname.length<=25?(this.setStyleForClass("WebinarContent","font-size","12px"),this.setStyleForClass("HighlightedContent","font-size","12px"),this.setStyleForClass("RegisterButton","font-size","12px")):this.marketname.length>=15&&this.marketname.length<=20&&(this.setStyleForClass("WebinarContent","font-size","12px"),this.setStyleForClass("HighlightedContent","font-size","12px"),this.setStyleForClass("RegisterButton","font-size","13px")):this.screenWidth>=1e3&&this.screenWidth<=1200?this.marketname.length>=30?(this.setStyleForClass("WebinarContent","font-size","14px"),this.setStyleForClass("HighlightedContent","font-size","14px"),this.setStyleForClass("RegisterButton","font-size","14px")):this.marketname.length>=25&&this.marketname.length<=30?(this.setStyleForClass("WebinarContent","font-size","16px"),this.setStyleForClass("HighlightedContent","font-size","16px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.marketname.length>=20&&this.marketname.length<=25?(this.setStyleForClass("WebinarContent","font-size","15px"),this.setStyleForClass("HighlightedContent","font-size","15px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.marketname.length>=15&&this.marketname.length<=20&&(this.setStyleForClass("WebinarContent","font-size","16px"),this.setStyleForClass("HighlightedContent","font-size","16px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.screenWidth>=1400&&this.screenWidth<=1500?this.marketname.length>=30?(this.setStyleForClass("WebinarContent","font-size","20px"),this.setStyleForClass("HighlightedContent","font-size","20px"),this.setStyleForClass("RegisterButton","font-size","18px")):this.marketname.length>=25&&this.marketname.length<=30?(this.setStyleForClass("WebinarContent","font-size","19px"),this.setStyleForClass("HighlightedContent","font-size","19px"),this.setStyleForClass("RegisterButton","font-size","18px")):this.marketname.length>=20&&this.marketname.length<=25?(this.setStyleForClass("WebinarContent","font-size","18px"),this.setStyleForClass("HighlightedContent","font-size","18px"),this.setStyleForClass("RegisterButton","font-size","17px")):this.marketname.length>=15&&this.marketname.length<=20&&(this.setStyleForClass("WebinarContent","font-size","17px"),this.setStyleForClass("HighlightedContent","font-size","17px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.screenWidth>=1501&&this.screenWidth<=1600?this.marketname.length>=30?(this.setStyleForClass("WebinarContent","font-size","20px"),this.setStyleForClass("HighlightedContent","font-size","20px"),this.setStyleForClass("RegisterButton","font-size","18px")):this.marketname.length>=25&&this.marketname.length<=30?(this.setStyleForClass("WebinarContent","font-size","19px"),this.setStyleForClass("HighlightedContent","font-size","19px"),this.setStyleForClass("RegisterButton","font-size","18px")):this.marketname.length>=20&&this.marketname.length<=25?(this.setStyleForClass("WebinarContent","font-size","18px"),this.setStyleForClass("HighlightedContent","font-size","18px"),this.setStyleForClass("RegisterButton","font-size","17px")):this.marketname.length>=15&&this.marketname.length<=20&&(this.setStyleForClass("WebinarContent","font-size","17px"),this.setStyleForClass("HighlightedContent","font-size","17px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.screenWidth>=1601&&this.screenWidth<=1900?this.marketname.length>=30?(this.setStyleForClass("WebinarContent","font-size","20px"),this.setStyleForClass("HighlightedContent","font-size","20px"),this.setStyleForClass("RegisterButton","font-size","18px")):this.marketname.length>=25&&this.marketname.length<=30?(this.setStyleForClass("WebinarContent","font-size","21p
11x"),this.setStyleForClass("HighlightedContent","font-size","21px"),this.setStyleForClass("RegisterButton","font-size","19px")):this.marketname.length>=20&&this.marketname.length<=25?(this.setStyleForClass("WebinarContent","font-size","22px"),this.setStyleForClass("HighlightedContent","font-size","22px"),this.setStyleForClass("RegisterButton","font-size","20px")):this.marketname.length>=15&&this.marketname.length<=20&&(this.setStyleForClass("WebinarContent","font-size","21px"),this.setStyleForClass("HighlightedContent","font-size","21px"),this.setStyleForClass("RegisterButton","font-size","19px")):this.screenWidth>=1900?this.marketname.length>=30&&(this.setStyleForClass("WebinarContent","font-size","24px"),this.setStyleForClass("HighlightedContent","font-size","24px")):this.marketname.length>=30?(this.setStyleForClass("WebinarContent","font-size","17px"),this.setStyleForClass("HighlightedContent","font-size","17px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.marketname.length>=25&&this.marketname.length<=30?(this.setStyleForClass("WebinarContent","font-size","18px"),this.setStyleForClass("HighlightedContent","font-size","18px"),this.setStyleForClass("RegisterButton","font-size","16px")):this.marketname.length>=20&&this.marketname.length<=25?(this.setStyleForClass("WebinarContent","font-size","19px"),this.setStyleForClass("HighlightedContent","font-size","19px"),this.setStyleForClass("RegisterButton","font-size","17px")):this.marketname.length>=15&&this.marketname.length<=20&&(this.setStyleForClass("WebinarContent","font-size","20px"),this.setStyleForClass("HighlightedContent","font-size","20px"),this.setStyleForClass("RegisterButton","font-size","18px"))},1200),setTimeout(()=>{this.HideBannerSnd()},600)}HideBannerSnd(){this.SpeakerFlag<=5&&(this.AnimationRightTwo="hide",setTimeout(()=>{this.ShowBannerSnd()},700))}closewebinarbanner(){this.setStyleForClass("WebinarEmptyDiv","display","none"),this.setStyleForClass("Webinarbanner","display","none"),this.setStyleForClass("Webinarbannerlatest","display","none")}ShowBannerSnd(){this.AnimationRightTwo="show",this.SpeakerFlag=this.SpeakerFlag+1,setTimeout(()=>{this.HideBannerSnd()},700)}onClickOutside(t){this.eRef.nativeElement.querySelector(".modal-content").contains(t.target)||this.WebinarCloseFun()}renderHeaderContent(){if(this.phpData!=null&&this.phpData!=""){this.isLoading=!0,this.phpData=decodeURIComponent(this.phpData),this.phpData=JSON.parse(atob(this.phpData)),this.Switch_User=this.phpData.switch_user_email,this.IsLaunch=this.phpData.IsLaunch;let t=this.globalService.getmarket_code()||this.phpData.market_code;!this.globalService.getmarket_code()&&this.phpData.market_code&&(this.globalService.setmarket_code(this.phpData.market_code),this.market_code=this.phpData.market_code);let i=document.getElementsByClassName("PoweredBy")[0];if(this.phpData.allowbroadband&&this.phpData.allowbroadband.includes(t)?(this.PowerdedBy=`Powered By <a style='color: #3d3d3d;text-decoration:none; font-size: 10px;color: #000000;font-family: 'Inter-Regular';' class="PalmagentLink" href="${this.PalmAgentTitleLink}" target="_blank">PalmAgent</a>`,i.innerHTML=this.PowerdedBy):(this.PowerdedBy="Powered By PalmAgent",i.innerHTML=this.PowerdedBy),window.location.pathname.includes("mmppreview")||this.IsLaunch!=null&&this.IsLaunch=="launch"){this.mmp_preview=!0,this.setStyleForClass("LoginCloseBtn","display","none"),this.setStyleForClass("WebLoginBtn","display","none");let s=document.querySelector(".Loginfocus");s&&this.renderer.selectRootElement(s).focus()}(this.Switch_User!=null&&this.Switch_User!=""||this.mmp_preview==!0)&&(this.LoginPopup=!0,this.onLoginButtonClick()),this.isLoading=!1,this.phpData.download_btn=="no"&&this.setStyleForClass("downloadsection","display","none")}else console.log("phpData is not defined on the window object")}applyWebinarUI(){if(this.webinarStatus!=null&&this.webinarStatus=="yes"){this.setStyleForClass("Webinarbannerlatest","display","flex"),this.screenWidth=window.innerWidth,this.totalHeight=this.WebinarDiv.nativeElement.offsetHeight;let t=window.getComputedStyle(this.WebinarDiv.nativeElement);if(this.screenWidth<768){let i=parseInt(t.paddingTop,10),o=parseInt(t.paddingBottom,10);this.totalHeight=this.totalHeight+i+o}else this.setStyleForClass("WebinarEmptyDiv","height",this.totalHeight+"px"),this.setStyleForClass("LoginPopup","top",this.totalHeight+"px"),this.setStyleForClass("DownloadPopup","top",this.totalHeight+"px"),this.setStyleForClass("SignupPopup","top",this.totalHeight+"px")}else this.setStyleForClass("Webinarbanner","display","none"),this.setStyleForClass("Webinarbannerlatest","display","none"),this.setStyleForClass("WebinarEmptyDiv","display","none")}setValues(){this.marketname==null&&(this.marketname=this.globalService.getMarketName(),this.MarkettDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.market_code=this.globalService.getmarket_code(),this.globalService.getmarket_code()=="FA"?this.marketLogo="ng_assets/images/FA.ico":this.marketLogo="https://d2w998roo7cij6.cloudfront.net/download-website/"+this.globalService.getmarket_code()+"/"+this.globalService.getmarket_code()+".ico",this.BrandedLogo="https://d2w998roo7cij6.cloudfront.net/flyers_market_logo/"+this.globalService.getmarket_code()+".png"),this.market_title=this.globalService.getmarket_title(),this.MarketVideoUrl=this.globalService.getmarket_video(),this.WebinarButton={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}}
11DownloadHoverFun(t){t=="Hover"?this.DownloadStyles={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.DownloadStyles={}}LoginHoverFun(t){t=="Hover"?this.LoginStyles={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,color:"transparent",backgroundClip:"text"}:this.LoginStyles={}}OpenMarketVideo(){this.dialog.open(this.WatchMarketVideo,{width:"700px",disableClose:!0})}OpenWebinar(){let t=document.getElementById("WebinarBannerModal")?.style;t&&(t.display="block")}WebinarCloseFun(){let t=document.getElementById("WebinarBannerModal")?.style;t&&(t.display="none")}ReloadHomePage(){window.location.reload()}onLoginButtonClick(){this.LoginPopup=!0,this.showLoginPopup=!0,this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","block"),setTimeout(()=>{this.sharedService.triggerResetLogin()},0);let t=document.querySelector(".Loginfocus");t&&(this.renderer.selectRootElement(t).focus(),t.value&&t.value.trim()!==""&&this.sharedService.triggerEnableLoginBtn())}onWidgetLogin(){this.LoginPopup=!0,this.showLoginPopup=!0,this.setStyleForClass("WholeBodyDiplay","display","none"),this.setStyleForClass("LoginPopup","display","block"),this.setStyleForClass("WidgetLogin","display","block"),this.setStyleForClass("LoginPopupnew","display","none")}DownloadNewAccFun(){this.showDownloadPopup=!0,this.setStyleForClass("WholeBodyDiplay","display","none")}getCookie(t){let i=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return i?i[2]:null}getCookieHttp(t){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"GetCookie",name:t};let i={user_email:"",market_code:this.globalService.getmarket_code()};return this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).pipe(X(o=>{let s=o.body;return s.status==="Success"?s.value:""}))}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i,website_type:"new"};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}LoginPopupClose(){this.setStyleForClass("WholeBodyDiplay","display","block"),this.showLoginPopup=!1}DownloadPopupClose(){this.setStyleForClass("WholeBodyDiplay","display","block"),this.showDownloadPopup=!1}SignupPopupClose(){this.setStyleForClass("WholeBodyDiplay","display","block"),this.showSignupPopup=!1}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}WebinarRegisterFun(){this.WebsiteBtnTrackingFun("Webinar_Mar_5th_2025"),window.open("https://zoom.us/webinar/register/8117404335624/WN_3xD3BUGwSjeTMJ0Q0x6ilQ","_blank")}WebinarRegisterMobFun(){this.WebsiteBtnTrackingFun("Webinar_Mar_5th_2025"),window.open("https://zoom.us/webinar/register/8117404335624/WN_3xD3BUGwSjeTMJ0Q0x6ilQ","_blank")}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(ze),w(xe),w(gt),w(Ie),w(Nn),w(vt),w(re),w(je),w(fi))},r.\u0275cmp=K({type:r,selectors:[["app-header-component"]],viewQuery:function(i,o){if(i&1&&(L(Ay,5),L(Fy,5),L(Oy,5)),i&2){let s;F(s=O())&&(o.WatchMarketVideo=s.first),F(s=O())&&(o.ShowWebinarBanner=s.first),F(s=O())&&(o.WebinarDiv=s.first)}},hostBindings:function(i,o){i&1&&_("click",function(a){return o.onClickOutside(a)},pc)},decls:98,vars:22,consts:[["WebinarDiv",""],["watchvideo",""],[1,"Brand_header_component_main"],[1,"Webinarbannerlatest"],[1,"Webinartwodiv"],["src","ng_assets/images/fincen_webinar_23_02_2026_l_side.svg","alt","",1,"bannericons"],[1,"bannerfirsttitle"],[1,"bannerfirsttitlesub"],[1,"bannersecondtitle"],[1,"Registerbtn"],["href","https://zoom.us/webinar/register/WN_eplNwpauQduMAdiC5wUD9Q","target","_blank",1,"btntext"],["src","ng_assets/images/fincen_webinar_23_02_2026_r_side.svg",1,"bannericons"],[4,"ngIf"],[1,"WebinarEmptyDiv"],[1,"left-side"],["id","WebinarBannerModal",1,"modal","fadein"],[1,"close-modal"],["src","ng_assets/images/menu_close.png",1,"ModalClose",3,"click"],[1,"modal-content"],["id","main_section"],[1,"MainSection"],[1,"MarketLogo"],["alt","Market Logo","class","MarketLogoImg",3,"src","hidden","load","error",4,"ngIf"],[1,"MarketText"],[1,"ContentBold"],[1,"Webinardate"],["title","Click Here!",1,"WebinarRegBtnMob",3,"click"],[1,"RegisterButtonMob"],[1,"pb-3"],[1,"HeaderHome","WholeBodyDiplay"],[1,"logosection"],["alt","Market Logo","class","logowidth","loading","eager","fetchpriority","high",3,"src","hidden","load","error",4,"ngIf"],[3,"click"],[1,"PoweredBy"],[1,"right-side"],[1,"LoginBtn",3,"click","mouseover","mouseout"],[1,"downloadsection"],[1,"downloadbtn",3,"mouseover","mouseout","click"],[1,"WatchVideoMob",3,"click"],["width","29","height","29","viewBox","0 0 29 29","fill","none","xmlns","http://www.w3.org/2000/svg",1,"Videoblack"],["d","M14.5 3.625C16.6509 3.625 18.7534 4.26281 20.5418 5.45777C22.3302 6.65273 23.7241 8.35117 24.5472 10.3383C25.3703 12.3255 25.5857 14.5121 25.166 16.6216C24.7464 18.7312 23.7107 20.6689 22.1898 22.1898C2
110.6689 23.7107 18.7312 24.7464 16.6216 25.166C14.5121 25.5857 12.3255 25.3703 10.3383 24.5472C8.35118 23.7241 6.65273 22.3302 5.45777 20.5418C4.26281 18.7534 3.62501 16.6509 3.62501 14.5C3.62501 11.6158 4.77076 8.84967 6.81022 6.81021C8.84968 4.77076 11.6158 3.625 14.5 3.625ZM14.5 1.8125C11.9907 1.8125 9.53766 2.55661 7.45121 3.95073C5.36476 5.34485 3.73857 7.32637 2.77828 9.6447C1.818 11.963 1.56674 14.5141 2.05629 16.9752C2.54584 19.4363 3.75421 21.697 5.52859 23.4714C7.30297 25.2458 9.56366 26.4542 12.0248 26.9437C14.4859 27.4333 17.037 27.182 19.3553 26.2217C21.6736 25.2614 23.6552 23.6352 25.0493 21.5488C26.4434 19.4623 27.1875 17.0094 27.1875 14.5C27.1875 11.1351 25.8508 7.90795 23.4714 5.52858C21.0921 3.14921 17.8649 1.8125 14.5 1.8125Z","fill","black"],["d","M9.96875 20.8438C9.7284 20.8438 9.49789 20.7483 9.32793 20.5783C9.15798 20.4084 9.0625 20.1779 9.0625 19.9375V9.0625C9.06258 8.90809 9.10212 8.75625 9.17736 8.62141C9.2526 8.48656 9.36105 8.37318 9.49242 8.29202C9.62379 8.21085 9.77371 8.1646 9.92797 8.15766C10.0822 8.15071 10.2357 8.18329 10.3738 8.25232L21.2488 13.6898C21.3992 13.7652 21.5256 13.8808 21.6139 14.0239C21.7022 14.167 21.749 14.3318 21.749 14.5C21.749 14.6682 21.7022 14.833 21.6139 14.9761C21.5256 15.1192 21.3992 15.2348 21.2488 15.3102L10.3738 20.7477C10.2481 20.8107 10.1094 20.8436 9.96875 20.8438ZM10.875 10.5288V18.4712L18.8174 14.5L10.875 10.5288Z","fill","black"],["name","WEB_app","id","WEB_app","action","index.php","method","post",1,"display-none"],["type","hidden","id","LogAction","name","LogAction","value","WebappLoginDetails"],["type","hidden","id","LoginToAction","name","LoginToAction","value",""],["type","hidden","id","hdn_UserToken","name","token"],["type","hidden","id","market_name","name","market_name",3,"value"],["type","hidden","id","market_code","name","market_code",3,"value"],["type","hidden","id","main_market_code","name","main_market_code",3,"value"],["type","hidden","id","market_state_id","name","market_state_id","value",""],["type","hidden","id","login_type","name","login_type"],["type","hidden","id","market_abbr_name","name","market_abbr_name",3,"value"],["type","hidden","id","allow_login","name","allow_login","value",""],["type","hidden","id","RememberEmail","name","RememberEmail","value",""],["type","hidden","id","Token","name","Token","value",""],["type","hidden","id","WebLoginStatus","name","WebLoginStatus","value",""],["type","hidden","id","UserAction","name","UserAction","value","login"],["type","hidden","id","HDNContinueWithPopup","name","HDNContinueWithPopup","value","No"],["type","hidden","id","using_master_password","name","using_master_password","value","no"],["type","hidden","id","display_one_label","name","display_one_label","value",""],["type","hidden","id","GKey","name","GKey","value",""],["type","hidden","id","singleapi","name","singleapi","value",""],["type","hidden","id","Platform","name","Platform","value",""],["type","hidden","id","one_app_aws_url","name","one_app_aws_url"],["name","user_full_details","id","user_full_details","hidden",""],["type","hidden","id","redirecturl","name","redirecturl","value",""],["type","hidden","id","api_version","name","api_version",3,"value"],["type","hidden","id","login_from_domain","name","login_from_domain","value",""],["type","hidden","id","user_office_name","name","user_office_name","value",""],["type","hidden","id","canada_office_logo","name","canada_office_logo","value",""],["type","hidden","id","user_id","name","user_id","value",""],["type","hidden","id","dashboard_email","name","dashboard_email"],["type","hidden","id","dashboard_password","name","dashboard_password"],["name","WEB_site_login","id","WEB_site_login","action","index.php","method","post",1,"display-none"],["type","hidden","id","user_email_id","name","user_email_id","value",""],["type","hidden","id","login_user_name","name","login_user_name","value",""],[1,"popup_overlay","LoginPopup",3,"ngStyle"],[3,"closePopupfrm"],[1,"popup_overlay","DownloadPopup",3,"ngStyle"],[3,"closeDownloadPopupfrm"],[1,"popup_overlay","SignupPopup"],[3,"closeSignupPopupfrm"],[1,"spinner-container"],[1,"loader"],[1,"ModalCloseDiv"],[1,"ModalContentTop"],["src","ng_assets/images/Group240.svg","mat-dialog-close","",1,"ModalClose"],[1,"ModalContent"],["autoplay","","width","100%","height","100%","onended","videoEnded();","preload","none","controls","","controlslist","noplaybackrate nodownload nofullscreen nopictureinpicture",1,"ModalControls"],["type","video/mp4",3,"src"],["alt","Market Logo",1,"MarketLogoImg",3,"load","error","src","hidden"],["alt","Market Logo","loading","eager","fetchpriority","high",1,"logowidth",3,"load","error","src","hidden"]],template:function(i,o){if(i&1){let s=T();l(0,"div",2)(1,"div",3,0)(3,"div",4),y(4,"img",5),l(5,"div",6),f(6,"NEW FINCEN FEATURE! "),y(7,"br"),l(8,"span",7),f(9,"Stay Ahead of FinCEN. Avoid Closing Delays."),c()(),l(10,"div",8),f(11," WEBINAR FEBRUARY 25TH @ 11AM CST"),c(),l(12,"div",9)(13,"a",10),f(14,"Register Now!"),c()(),y(15,"img",11),c()(),k(16,Ly,3,0,"div",12),y(17,"div",13),l(18,"div",14),k(19,Ry,9,1,"ng-template",null,1,mt),l(21,"div",15)(22,"span",16)(23,"img",17),_("click",function(){return h(s),m(o.WebinarCloseFun())}),c()(),l(24,"div",18)(25,"div",19)(26,"div",20)(27,"div",21),k(28,Vy,1,2,"img",22),c(),l(29,"div",23),f(30),c(),l(31,"div",24),f(32," Master The Essentials Class, "),c(),l(33,"div",25),f(34," LIVE on Wednesday @ 1pm CST "),c(),l(35,"div",26),_("click",function(){return h(s),m(o.WebinarRegisterMobFun())}),l(36,"div",27),f(37,"Register Here!"),c()()(),y(38,"div",28),c()()(),l(39,"div",29)(40,"div",30),k(41,Py,1,2,"img",31),l(42,"div")(43,"div",32),_("click",function(){return h(s),m(o.ReloadHomePage())}),f(44),c(),y(45,"div",33),c()()(),l(46,"div",34)(47,"span",35),_("click",function(){return h(s),m(o.onLoginButtonClick())})("mouseover",function(){return h(s),m(o.LoginHoverFun("Hover"))})("mouseout",function(){return h(s),m(o.LoginHoverFun("Leave"))}),f(48,"Log in"),c(),l(49,"div",36)(50,"button",37),_("mouseover",function(){return h(s),m(o.DownloadHoverFun("Hover"))})("mouseout",function(){return h(s),m(o.DownloadHoverFun("Leave"))})("click",function(){return h(s),m(o.DownloadNewAccFun())}),f(51,"Download"),c()()(),l(52,"div",38),_("click",function(){return h(s),m(o.OpenMarketVideo())}),he(),l(53,"svg",39),y(54,"path",40)(55,"path",41),c(),pe(),l(56,"div"),f(57," Watch Video "),c()(),l(58,"form",42),y(59,"input",43)(60,"input",44)(61,"input",45)(62,"input",46)(63,"input",47)(64,"input",48)(65,"input",49)(66,"input",50)(67,"input",51)(68,"input",52)(69,"input",53)(70,"input",54)(71,"input",55)(72,"input",56)(73,"input",57)(74,"input",58)(75,"input",59)(76,"input",60)(77,"input",61)(78,"input",62)(79,"input",63)(80,"textarea",64)(81,"input",65)(82,"input",66)(83,"input",67)(84,"input",68)(85,"input",69)(86,"input",70)(87,"input",71)(88,"input",72),c(),l(89,"form",73),y(90,"input",74)(91,"input",75),c(),l(92,"div",76)(93,"app-login",77),_("closePopupfrm",function(){return h(s),m(o.LoginPopupClose())}),c()(),l(94,"div",78)(95,"app-download-content",79),_("closeDownloadPopupfrm",function(){return h(s),m(o.DownloadPopupClose())}),c()(),l(96,"div",80)(97,"app-signup",81),_("closeSignupPopupfrm",function(){return h(s),m(o.SignupPopupClose())}),c()()()()}i&2&&(d(16),g("ngIf",o.isLoading),d(12),g("ngIf",o.BrandedLogo),d(2),N(" New to ",o.marketname,"? Join our "),d(5),x(o.WebinarButton),d(6),g("ngIf",o.marketLogo),d(3),B(o.marketname),d(3),x(o.LoginStyles),d(3),x(o.DownloadStyles),d(12),g("value",o.marketname),d(),g("value",o.market_code),d(),g("value",o.market_code),d(3),g("value",o.market_title),d(15),g("value",o.apiVersion),d(10),g("ngStyle",ie(18,am,o.showLoginPopup?"block":"none")),d(2),g("ngStyle",ie(20,am,o.showDownloadPopup?"block":"none")))},dependencies:[we,De,rt,$e,qt,zt,Zt,Gt,Ko,sm,om,Ls],encapsulation:2,data:{animation:[ue("HoverDownloadBtn",[H("open",R({backgroundImage:"none"})),H("closed",R({backgroundImage:"linear-gradient(to right,#278AE5, #8FBDE7
11)",color:"#FFFFFF",border:"none",boxShadow:"0 2px 12px 0 #8FBDE7"}))]),ue("LoginBtn",[H("open",R({backgroundImage:"none"})),H("closed",R({backgroundImage:"linear-gradient(to right,#278AE5, #8FBDE7)",color:"transparent",backgroundClip:"text"}))]),ue("ContentImageRightTwo",[H("hide",R({height:"0px",opacity:0})),H("show",R({height:"auto",opacity:1})),ge("hide => show",[fe(".3s")])])]}});let n=r;return n})();var By=["watchvideo"],cm=n=>({"background-image":n});function Ny(n,r){if(n&1&&(l(0,"div")(1,"div",23)(2,"mat-dialog-actions",24),y(3,"img",25),c()(),l(4,"mat-dialog-content",26)(5,"div")(6,"video",27),y(7,"source",28),f(8," Your browser does not support the video tag. "),c()()()()),n&2){let e=p();d(7),g("src",e.MarketVideoUrl)}}function Uy(n,r){if(n&1&&(l(0,"div",29)(1,"a",30)(2,"button",31),f(3,"Download"),c()()()),n&2){let e=p();d(),g("href",e.DownloadUrl,Y),d(),g("ngStyle",ie(2,cm,e.ContentColor))}}var dm=(()=>{let r=class r{constructor(t,i,o,s,a,u){this.renderer=t,this.router=i,this.globalService=o,this.dialog=s,this.apiservice=a,this.deviceService=u,this.gradientLightColor="",this.gradientDarkColor="",this.ContentColor="",this.WatchVideoWhite=!1,this.WatchVideoBlack=!1,this.WatchVideoBtn=!1,this.MarketVideoUrl="",this.DownloadUrl="",this.ApiUrl="",this.formData={},this.deviceType="",this.enable_mobile_website="",this.DownloadForMob=!0,this.NormalButton="",this.HoverButton=`background-image: linear-gradient(to right,${this.gradientDarkColor}, ${this.gradientLightColor});box-shadow:'0 2px 12px 0 ${this.gradientDarkColor}';`,this.CreateAccHover=this.NormalButton,this.WatchVideoHover=this.NormalButton,this.CreateAccStyles={},this.VideoStyles={},this.dynamicComponentService=b(et),this.deviceService.isMobile()?this.deviceType="Mobile":this.deviceService.isTablet()?this.deviceType="Tablet":this.deviceType="Desktop"}get MadeTagline(){return this.globalService.getmarket_code()==="NU"?"Made Easy.":"Made Simple."}ngOnInit(){this.deviceType=="Tablet"?this.setStyleForClass("createaccount","display","none"):this.deviceType=="Desktop"&&this.setStyleForClass("createaccount","display",""),this.gradientDarkColor=this.globalService.getmarketdarkcolor(),this.gradientLightColor=this.globalService.getmarketlightcolor(),this.ContentColor=`linear-gradient(to right,${this.gradientDarkColor}, ${this.gradientLightColor})`,setTimeout(()=>{this.ContentTextColor()},1e3)}ContentTextColor(){this.gradientDarkColor==null&&(this.gradientDarkColor=this.globalService.getmarketdarkcolor(),this.gradientLightColor=this.globalService.getmarketlightcolor(),this.ContentColor=`linear-gradient(to right,${this.gradientDarkColor}, ${this.gradientLightColor})`),this.MarketVideoUrl=this.globalService.getmarket_video(),this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="iPhone"?this.DownloadUrl=this.globalService.getappstore():this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="Android"?this.DownloadUrl=this.globalService.getplaystore():this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="Mac"?this.DownloadUrl=this.globalService.getMacApk():this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="Desktop"&&(this.DownloadUrl=this.globalService.getwindowsApk()),this.globalService.getappstore()==""&&this.globalService.getappstore()==""&&this.globalService.getMacApk()==""&&this.globalService.getwindowsApk()==""&&this.setStyleForClass("buttonsection","display","none !important"),this.enable_mobile_website=="on"&&(this.DownloadForMob=!1)}CreateAccHoverFun(t){t=="Hover"?this.CreateAccStyles={"background-image":`linear-gradient(to right, ${this.gradientDarkColor}, ${this.gradientLightColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientLightColor}`}:this.CreateAccStyles={}}VideoHoverBtn(t){this.WatchVideoWhite=!this.WatchVideoWhite,this.WatchVideoBlack=!this.WatchVideoBlack,this.WatchVideoBtn=!this.WatchVideoBtn,t=="Hover"?this.VideoStyles={"background-image":`linear-gradient(to right, ${this.gradientDarkColor}, ${this.gradientLightColor})`,"box-shadow":`0 4px 10px 0 ${this.gradientLightColor}`}:this.VideoStyles={}}CreateNewAccFun(){this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("buyerimgsection","z-index","-1"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.WebsiteBtnTrackingFun("Signup");let t=document.querySelector(".SignupFocus");t&&this.renderer.selectRootElement(t).focus()}OpenMarketVideo(){this.dialog.open(this.WatchMarketVideo,{width:"700px",disableClose:!0}),this.WebsiteBtnTrackingFun("Watch Video")}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i,website_type:"new"};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(ze),w(xe),w(gt),w(Ie),w(fi))},r.\u0275cmp=K({type:r,selectors:[["app-mainsection"]],viewQuery:function(i,o){if(i&1&&L(By,5),i&2){let s;F(s=O())&&(o.WatchMarketVideo=s.first)}},decls:31,vars:11,consts:[["watchvideo",""],[1,"Brand_mainsection_component"],[1,"headingsection","WholeBodyDiplay"],[1,"closingdiv"],[1,"contentcurve"],["width","250","height","13","viewBox","0 0 250 13","fill","none","xmlns","http://www.w3.org/2000/svg",1,"contentcurveLine"],["d","M2 11C40.3374 4.20839 145.61 -5.29987 260 11","stroke","url(#paint0_linear_6307_2614)","
11stroke-width","4","stroke-linecap","round","stroke-linejoin","round"],["id","paint0_linear_6307_2614","x1","2","y1","11","x2","260","y2","11","gradientUnits","userSpaceOnUse"],["offset","1"],[1,"madediv",3,"ngStyle"],[1,"contentdiv"],[1,"buttonsection"],[1,"createaccount"],[1,"createaccountbtn",3,"mouseover","mouseout","click","ngStyle"],[1,"watchvideo"],[1,"watchvideobtn",3,"mouseover","mouseout","click","ngStyle"],["width","29","height","29","viewBox","0 0 29 29","fill","none","xmlns","http://www.w3.org/2000/svg",1,"Videoblack"],["d","M14.5 3.625C16.6509 3.625 18.7534 4.26281 20.5418 5.45777C22.3302 6.65273 23.7241 8.35117 24.5472 10.3383C25.3703 12.3255 25.5857 14.5121 25.166 16.6216C24.7464 18.7312 23.7107 20.6689 22.1898 22.1898C20.6689 23.7107 18.7312 24.7464 16.6216 25.166C14.5121 25.5857 12.3255 25.3703 10.3383 24.5472C8.35118 23.7241 6.65273 22.3302 5.45777 20.5418C4.26281 18.7534 3.62501 16.6509 3.62501 14.5C3.62501 11.6158 4.77076 8.84967 6.81022 6.81021C8.84968 4.77076 11.6158 3.625 14.5 3.625ZM14.5 1.8125C11.99
1107 1.8125 9.53766 2.55661 7.45121 3.95073C5.36476 5.34485 3.73857 7.32637 2.77828 9.6447C1.818 11.963 1.56674 14.5141 2.05629 16.9752C2.54584 19.4363 3.75421 21.697 5.52859 23.4714C7.30297 25.2458 9.56366 26.4542 12.0248 26.9437C14.4859 27.4333 17.037 27.182 19.3553 26.2217C21.6736 25.2614 23.6552 23.6352 25.0493 21.5488C26.4434 19.4623 27.1875 17.0094 27.1875 14.5C27.1875 11.1351 25.8508 7.90795 23.4714 5.52858C21.0921 3.14921 17.8649 1.8125 14.5 1.8125Z","fill","black"],["d","M9.96875 20.8438C9.7284 20.8438 9.49789 20.7483 9.32793 20.5783C9.15798 20.4084 9.0625 20.1779 9.0625 19.9375V9.0625C9.06258 8.90809 9.10212 8.75625 9.17736 8.62141C9.2526 8.48656 9.36105 8.37318 9.49242 8.29202C9.62379 8.21085 9.77371 8.1646 9.92797 8.15766C10.0822 8.15071 10.2357 8.18329 10.3738 8.25232L21.2488 13.6898C21.3992 13.7652 21.5256 13.8808 21.6139 14.0239C21.7022 14.167 21.749 14.3318 21.749 14.5C21.749 14.6682 21.7022 14.833 21.6139 14.9761C21.5256 15.1192 21.3992 15.2348 21.2488 15.3102L10.3738 20.7477C10.2481 20.8107 10.1094 20.8436 9.96875 20.8438ZM10.875 10.5288V18.4712L18.8174 14.5L10.875 10.5288Z","fill","black"],["width","29","height","29","viewBox","0 0 29 29","fill","none","xmlns","http://www.w3.org/2000/svg",1,"VideoWhite"],["d","M14.5 3.625C16.6509 3.625 18.7534 4.26281 20.5418 5.45777C22.3302 6.65273 23.7241 8.35117 24.5472 10.3383C25.3703 12.3255 25.5857 14.5121 25.166 16.6216C24.7464 18.7312 23.7107 20.6689 22.1898 22.1898C20.6689 23.7107 18.7312 24.7464 16.6216 25.166C14.5121 25.5857 12.3255 25.3703 10.3383 24.5472C8.35118 23.7241 6.65273 22.3302 5.45777 20.5418C4.26281 18.7534 3.62501 16.6509 3.62501 14.5C3.62501 11.6158 4.77076 8.84967 6.81022 6.81021C8.84968 4.77076 11.6158 3.625 14.5 3.625ZM14.5 1.8125C11.99
1107 1.8125 9.53766 2.55661 7.45121 3.95073C5.36476 5.34485 3.73857 7.32637 2.77828 9.6447C1.818 11.963 1.56674 14.5141 2.05629 16.9752C2.54584 19.4363 3.75421 21.697 5.52859 23.4714C7.30297 25.2458 9.56366 26.4542 12.0248 26.9437C14.4859 27.4333 17.037 27.182 19.3553 26.2217C21.6736 25.2614 23.6552 23.6352 25.0493 21.5488C26.4434 19.4623 27.1875 17.0094 27.1875 14.5C27.1875 11.1351 25.8508 7.90795 23.4714 5.52858C21.0921 3.14921 17.8649 1.8125 14.5 1.8125Z","fill","white"],["d","M9.96875 20.8438C9.7284 20.8438 9.49789 20.7483 9.32793 20.5783C9.15798 20.4084 9.0625 20.1779 9.0625 19.9375V9.0625C9.06258 8.90809 9.10212 8.75625 9.17736 8.62141C9.2526 8.48656 9.36105 8.37318 9.49242 8.29202C9.62379 8.21085 9.77371 8.1646 9.92797 8.15766C10.0822 8.15071 10.2357 8.18329 10.3738 8.25232L21.2488 13.6898C21.3992 13.7652 21.5256 13.8808 21.6139 14.0239C21.7022 14.167 21.749 14.3318 21.749 14.5C21.749 14.6682 21.7022 14.833 21.6139 14.9761C21.5256 15.1192 21.3992 15.2348 21.2488 15.3102L10.3738 20.7477C10.2481 20.8107 10.1094 20.8436 9.96875 20.8438ZM10.875 10.5288V18.4712L18.8174 14.5L10.875 10.5288Z","fill","white"],["class","download",4,"ngIf"],[1,"ModalCloseDiv"],[1,"mat_content"],["src","ng_assets/images/Group240.svg","mat-dialog-close","","width","15px",1,"ModalClose"],[1,"ModalContent"],["autoplay","","width","100%","height","100%","onended","videoEnded();","preload","none","controls","","controlslist","noplaybackrate nodownload nofullscreen nopictureinpicture",1,"ModalControls"],["type","video/mp4",3,"src"],[1,"download"],[1,"link-no-decoration",3,"href"],[1,"Downloadbtn",3,"ngStyle"]],template:function(i,o){if(i&1){let s=T();l(0,"div",1)(1,"div",2),k(2,Ny,9,1,"ng-template",null,0,mt),l(4,"div",3),f(5," Closing Costs, "),l(6,"div",4),he(),l(7,"svg",5),y(8,"path",6),l(9,"defs")(10,"linearGradient",7),y(11,"stop")(12,"stop",8),c()()()()(),pe(),l(13,"div",9),f(14),c(),l(15,"div",10),f(16," Real Estate\u2019s #1 Net Sheet and Closing Cost App "),c(),l(17,"div",11)(18,"div",12)(19,"button",13),_("mouseover",function(){return h(s),m(o.CreateAccHoverFun("Hover"))})("mouseout",function(){return h(s),m(o.CreateAccHoverFun("Leave"))})("click",function(){return h(s),m(o.CreateNewAccFun())}),f(20,"Create Free Account"),c()(),l(21,"div",14)(22,"button",15),_("mouseover",function(){return h(s),m(o.VideoHoverBtn("Hover"))})("mouseout",function(){return h(s),m(o.VideoHoverBtn("Leave"))})("click",function(){return h(s),m(o.OpenMarketVideo())}),he(),l(23,"svg",16),y(24,"path",17)(25,"path",18),c(),l(26,"svg",19),y(27,"path",20)(28,"path",21),c(),f(29," Watch Video "),c()(),k(30,Uy,4,4,"div",22),c()()()}i&2&&(d(11),_e("stop-color",o.gradientDarkColor),d(),_e("stop-color",o.gradientLightColor),d(),g("ngStyle",ie(9,cm,o.ContentColor)),d(),N(" ",o.MadeTagline," "),d(5),g("ngStyle",o.CreateAccStyles),d(3),g("ngStyle",o.VideoStyles),d(),g("@WatchVideoBlack",o.WatchVideoBlack?"Select":"Unselect"),d(3),g("@WatchVideoWhite",o.WatchVideoWhite?"Select":"Unselect"),d(4),g("ngIf",o.DownloadForMob))},dependencies:[we,De,rt,qt,zt,Zt,Gt,Ko],encapsulation:2,data:{animation:[ue("CreateBtn",[H("Select",R({backgroundImage:"linear-gradient(to right,#278AE5, #8FBDE7)",color:"#FFFFFF",border:"none",boxShadow:"0 2px 12px 0 #8FBDE7"})),H("Unselect",R({backgroundImage:"none"}))]),ue("WatchVideoBtn",[H("Select",R({backgroundImage:"linear-gradient(to right,#278AE5, #8FBDE7)",color:"#FFFFFF",border:"none",boxShadow:"0 2px 12px 0 #8FBDE7"})),H("Unselect",R({backgroundImage:"none"}))]),ue("WatchVideoWhite",[H("Select",R({display:"block"})),H("Unselect",R({display:"none"}))]),ue("WatchVideoBlack",[H("Select",R({display:"none"})),H("Unselect",R({display:"block"}))])]}});let n=r;return n})();var Hy=["videoPlayer"],Wy=(n,r)=>({top:n,topnormal:r}),jy=(n,r)=>({value:n,params:r});function $y(n,r){n&1&&y(0,"img",12)}function zy(n,r){n&1&&y(0,"img",15)}function Gy(n,r){if(n&1&&(l(0,"span",13),f(1),k(2,zy,1,0,"img",14),c()),n&2){let e=p();d(),N("",e.TTBrandStateName," "),d(),g("ngIf",e.TTBrandState&&!e.hideStateArrow)}}function Zy(n,r){if(n&1&&(l(0,"div",16),y(1,"img",17),c()),n&2){let e=p();d(),g("@Image2",e.Image_Two?"open":"closed")}}function qy(n,r){n&1&&(l(0,"div",18),y(1,"img",19),c())}var um=(()=>
11{let r=class r{constructor(t,i){this.globalService=t,this.renderer=i,this.top="",this.topnormal="",this.Image_One=!0,this.Image_Two=!0,this.market_name="",this.marketimage="closed",this.one_label=!1,this.playOption="",this.BuyerHomeImg="ng_assets/images/Macbook_Space_Gray.png",this.hideStateArrow=!1,this.BrandedEstimateVideoLink="https://d2w998roo7cij6.cloudfront.net/new_downloadsite/estimate_animation_new.mp4",this.screenWidth=window.innerWidth,this.enable_mobile_website="",this.ShowMobileTab=!1,this.TTBrandState=!1,this.TTBrandStateName=""}ngOnInit(){this.market_name=this.globalService.getMarketName(),this.globalService.getdisplay_onelabel()==="yes"&&(this.one_label=!0),this.globalService.getmarket_code()==="ACW"&&(this.BuyerHomeImg="https://d2w998roo7cij6.cloudfront.net/site/build/ng_assets/images/Macbook_Space_Gray_1.png",this.hideStateArrow=!0),setTimeout(()=>{this.market_name==null&&(this.market_name=this.globalService.getMarketName(),this.globalService.getdisplay_onelabel()==="yes"&&(this.one_label=!0)),this.globalService.getmarket_code()==="ACW"&&(this.BuyerHomeImg="https://d2w998roo7cij6.cloudfront.net/site/build/ng_assets/images/Macbook_Space_Gray_1.png")},1e3),this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.enable_mobile_website=="on"?(this.ShowMobileTab=!1,this.TTBrandState=!0,this.TTBrandStateName=this.globalService.getWebsite_countyName(),this.setStyleForClass("buyerimgone","display","flex"),this.setStyleForClass("buyerimgone","justify-content","center"),this.setStyleForClass("BuyerHomeImg","width","100%"),this.screenWidth=window.innerWidth,this.screenWidth>=768&&this.screenWidth<=810?(this.top="62",this.setStyleForClass("market_name_res","top","62px"),this.setStyleForClass("market_name_res","left","36%"),this.setStyleForClass("market_name_res","font-size","8px"),this.setStyleForClass("img-responsive","width","20px")):this.screenWidth>=811&&this.screenWidth<=999?(this.topnormal="65",this.setStyleForClass("market_name_res","top","65px"),this.setStyleForClass("market_name_res","left","36%"),this.setStyleForClass("market_name_res","font-size","8px"),this.setStyleForClass("img-responsive","width","20px !important")):this.screenWidth>=1e3&&this.screenWidth<=1200?(this.topnormal="76",this.setStyleForClass("market_name_res","top","76px"),this.setStyleForClass("market_name_res","left","35.5%")):this.screenWidth>=1200&&this.screenWidth<1400?(this.topnormal="98",this.setStyleForClass("market_name_res","top","98px"),this.setStyleForClass("market_name_res","left","35.5%")):this.screenWidth>=1400&&this.screenWidth<1499?(this.topnormal="106",this.setStyleForClass("market_name_res","top","106px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","13px")):this.screenWidth>=1500&&this.screenWidth<1599?(this.topnormal="106",this.setStyleForClass("market_name_res","top","106px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","13px")):this.screenWidth>=1600&&this.screenWidth<1699?(this.topnormal="118",this.setStyleForClass("market_name_res","top","118px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","13px")):this.screenWidth>=1700&&this.screenWidth<1899?(this.topnormal="123",this.setStyleForClass("market_name_res","top","123px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","14px")):this.screenWidth>=1900&&this.screenWidth<1999?(this.topnormal="128",this.setStyleForClass("market_name_res","top","128px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","14px")):this.screenWidth>=2e3&&this.screenWidth<2199?(this.topnormal="125",this.setStyleForClass("market_name_res","top","125px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","14px")):this.screenWidth>=2200&&(this.topnormal="158",this.setStyleForClass("market_name_res","top","158px"),this.setStyleForClass("market_name_res","left","35%"),this.setStyleForClass("market_name_res","font-size","14px"))):(this.ShowMobileTab=!0,document.querySelector(".BuyerHomeImg").style.removeProperty("width"),this.screenWidth=window.innerWidth,this.screenWidth>=768&&this.screenWidth<=810?(this.top="38",this.topnormal="60"):this.screenWidth>=811&&this.screenWidth<=999?(this.topnormal="65",this.top="45"):this.screenWidth>=1e3&&this.screenWidth<=1200?(this.topnormal="76",this.top="55"):this.screenWidth>=1200&&this.screenWidth<1400?(this.topnormal="85",this.top="65"):this.screenWidth>=1400&&this.screenWidth<1499?(this.topnormal="95",this.top="75"):this.screenWidth>=1500&&this.screenWidth<1599?(this.topnormal="98",this.top="85"):this.screenWidth>=1600&&this.screenWidth<1699?(this.topnormal="103",this.top="85"):this.screenWidth>=1700&&this.screenWidth<1899?(this.topnormal="110",this.top="90"):this.screenWidth>=1900&&this.screenWidth<1999?(this.topnormal="120",this.top="100"):this.screenWidth>=2e3&&this.screenWidth<2199?(this.topnormal="125",this.top="125"):this.screenWidth>=2200&&(this.topnormal="133",this.top="125"))}toggle(){this.Image_One=!this.Image_One,this.Image_Two=!this.Image_Two,this.marketimage=this.marketimage==="closed"?"open":"closed"}toggleclose(){this.Image_One=!this.Image_One,this.Image_Two=!this.Image_Two,this.marketimage=this.marketimage==="open"?"closed":"open"}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}};r.\u0275fac=function(i){return new(i||r)(w(xe),w(ce))},r.\u0275cmp=K({type:r,selectors:[["app-estimate-section"]],viewQuery:function(i,o){if(i&1&&L(Hy,5),i&2){let s;F(s=O())&&(o.videoPlayer=s.first)}},inputs:{top:"top",topnormal:"topnormal"},decls:14,vars:14,consts:[[1,"Brand_estimate_component"],[1,"WholeBodyDiplay"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","buyerimgsection","container"],[1,"buyerimgone"],["alt","Buyer Home Page",1,"BuyerHomeImg",3,"src"],[1,"market-name-overlay","market_name_res"],["src","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png","class","img-responsive","width","25px",4,"ngIf"],["class","market_name_res_state",4,"ngIf"],["class","buyerimgtwo",4,"ngIf"],["class","buyerimgthree",4,"ngIf"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","buyerimgsectionmob"],[1,"BuyerEstimateImgMob"],["src","https://d2w998roo7cij6.cloudfront.net/dashboard_content/images/make_a_splash_social_one.png","width","25px",1,"img-responsive"],[1,"market_name_res_state"],["src","ng_assets/images/arrow.svg","alt","arrow_down","class","arow_down","width","7",4,"ngIf"],["src","ng_assets/images/arrow.svg","alt","arrow_down","width","7",1,"arow_down"],[1,"buyerimgtwo"],["src","ng_assets/images/iPad_Pro_Space_Gray.png","alt","Buyer Estimate Page",1,"BuyerEstimateImg"],[1,"buyerimgthree"],["src","ng_assets/images/iPhone_16_2.png","alt","Buyer Graph Page",1,"BuyerGraphImg"]],template:function(i,o){i&1&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),y(4,"img",4),l(5,"div",5),f(6),k(7,$y,1,0,"img",6),y(8,"br"),k(9,Gy,3,2,"span",7),c()(),k(10,Zy,2,1,"div",8)(11,qy,2,0,"div",9),c()(),l(12,"div",10),y(13,"div",11),c()()),i&2&&(d(4),g("@Image1",o.Image_One?"open":"closed")("src",o.BuyerHomeImg,Y),d(),g("@marketimage",bt(11,jy,o.marketimage,bt(8,Wy,o.top,o.topnormal))),d(),N("",o.market_name," "),d(),g("ngIf",o.one_label),d(2),g("ngIf",o.TTBrandState),d(),g("ngIf",o.ShowMobileTab),d(),g("ngIf",o.ShowMobileTab))},dependencies:[we,De,$e],encapsulation:2,data:{animation:[ue("Image1",[H("open",R({top:"20px"})),H("closed",R({top:"0px"})),ge("open => closed",[fe(".3s")]),ge("closed => open",[fe(".3s")])]),ue("Image2",[H("open",R({top:"-15px"})),H("closed",R({top:"0px"})),ge("open => closed",[fe(".3s")]),ge("closed => open",[fe(".3s")])]),ue("marketimage",[H("open",R({top:"{{top}}px"}),{params:{top:85}}),H("closed",R({top:"{{topnormal}}px"}),{params:{topnormal:65}}),ge("open => closed",[fe(".3s")]),ge("closed => open",[fe(".3s")])]),ue("estimatemarket",[ge(":increment",[R({transform:"translateX(100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))]),ge(":decrement",[R({transform:"translateX(-100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}
11))])]),ue("calculator",[ge(":increment",[R({transform:"translateX(100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))]),ge(":decrement",[R({transform:"translateX(-100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))])]),ue("BrandedReport",[ge(":increment",[R({transform:"translateX(100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))]),ge(":decrement",[R({transform:"translateX(-100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))])]),ue("ContentLibrary",[ge(":increment",[R({transform:"translateX(100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))]),ge(":decrement",[R({transform:"translateX(-100%)"}),fe("0.5s ease-out",R({transform:"translateX(0%)"}))])])]}});let n=r;return n})();var hm=(()=>{let r=class r{constructor(t){this.elementRef=t,this.observer=null,this.visible=new me,this.invisible=new me}ngOnInit(){this.observer=new IntersectionObserver(t=>{t.forEach(i=>{i.isIntersecting?this.visible.emit(i):this.invisible.emit(i)})}),this.observer.observe(this.elementRef.nativeElement)}ngOnDestroy(){this.observer&&this.observer.disconnect()}};r.\u0275fac=function(i){return new(i||r)(w(re))},r.\u0275dir=Q({type:r,selectors:[["","appIntersectionObserver",""]],outputs:{visible:"visible",invisible:"invisible"}});let n=r;return n})();var Xy=["EstimateImageOne"],Qy=["EstimateImageTwo"],Yy=["EstimateImageThree"],Ky=["CalculatorImageOne"],Jy=["CalculatorImageTwo"],e2=["CalculatorImageThree"],t2=["BrandedImageOne"],i2=["BrandedImageTwo"],n2=["BrandedImageThree"],r2=["ContentImageOne"],o2=["ContentImageTwo"],s2=["ContentImageThree"],a2=["EstimateImageOneMob"],l2=["EstimateImageTwoMob"],c2=["EstimateImageThreeMob"],d2=["CalculatorImageOneMob"],u2=["CalculatorImageTwoMob"],h2=["CalculatorImageThreeMob"],m2=["BrandedImageOneMob"],p2=["BrandedImageTwoMob"],f2=["BrandedImageThreeMob"],g2=["ContentImageOneMob"],_2=["ContentImageTwoMob"],v2=["ContentImageThreeMob"],y2=(n,r,e)=>({Imagewidth:n,Imageheight:r,FullImageHeight:e}),Hl=(n,r)=>({value:n,params:r}),b2=(n,r)=>({width:n,transform:r}),C2=n=>({transform:n});function S2(n,r){n&1&&y(0,"img",95),n&2&&g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","https://palmagent.com/2/dash_api_v4/images/paone-black.png")}function w2(n,r){n&1&&y(0,"img",95),n&2&&g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","https://palmagent.com/2/dash_api_v4/images/paone-black.png")}function x2(n,r){n&1&&y(0,"img",95),n&2&&g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","https://palmagent.com/2/dash_api_v4/images/paone-black.png")}function k2(n,r){if(n&1){let e=T();l(0,"div",118)(1,"button",119),_("mouseover",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Hover"))})("mouseout",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Leave"))})("click",function(){h(e);let i=p();return m(i.LearnMoreFun())}),f(2,"Learn More"),c()()}if(n&2){let e=p();d(),x(e.LearnMoreBtn)}}function E2(n,r){if(n&1){let e=T();l(0,"div",118)(1,"button",119),_("mouseover",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Hover"))})("mouseout",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Leave"))})("click",function(){h(e);let i=p();return m(i.LearnMoreFun())}),f(2,"Learn More"),c()()}if(n&2){let e=p();d(),x(e.LearnMoreBtn)}}function D2(n,r){if(n&1){let e=T();l(0,"div",118)(1,"button",119),_("mouseover",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Hover"))})("mouseout",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Leave"))})("click",function(){h(e);let i=p();return m(i.LearnMoreFun())}),f(2,"Learn More"),c()()}if(n&2){let e=p();d(),x(e.LearnMoreBtn)}}function T2(n,r){if(n&1){let e=T();l(0,"div",118)(1,"button",119),_("mouseover",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Hover"))})("mouseout",function(){h(e);let i=p();return m(i.LearnMoreHoverFun("Leave"))})("click",function(){h(e);let i=p();return m(i.LearnMoreFun())}),f(2,"Learn More"),c()()}if(n&2){let e=p();d(),x(e.LearnMoreBtn)}}var mm=(()=>{let r=class r{constructor(t,i,o,s,a){this.renderer=t,this.globalService=i,this.el=o,this.apiservice=s,this.deviceService=a,this.width="",this.transform="",this.Imagewidth="",this.Imageheight="",this.FullImageHeight="",this.MarketLightColor="",this.MarkettDarkColor="",this.market_name="",this.market_Code="",this.MarketStyle={display:"none"},this.MarketAnimationsty={display:"block"},this.AnimateImgtxt={display:"block"},this.one_label=!1,this.ApiUrl="",this.formData={},this.isTabletOrSmaller=!1,this.deviceType="",this.screenWidth=window.innerWidth,this.state="center",this.animationState="center",this.Imagestate="center",this.menuList="hide",this.SlideRight="start",this.AnimateImg
11="show",this.SlideAnimate="hide",this.ArrowAnimate="hide",this.Local="#3D3D3D",this.Reports="#CBCBCB",this.Calculator="#CBCBCB",this.Content="#CBCBCB",this.LocalStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.CalculatorStyle="",this.ReportsStyle="",this.ContentStyle="",this.LocalContent="display: block",this.ReportsContent="display: none",this.CalculatorContent="display: none",this.ContentContent="display: none",this.AnimationHover=!1,this.ShowLearnMore=!1,this.LearnMoreBtn={},this.EstcurrentImage=1,this.EstPrecurrentImage=1,this.CalcurrentImage=1,this.CalPrecurrentImage=1,this.BrandcurrentImage=1,this.BrandPrecurrentImage=1,this.ContentcurrentImage=1,this.ContentPrecurrentImage=1,this.EstcurrentImageMob=1,this.EstPrecurrentImageMob=1,this.CalcurrentImageMob=1,this.CalPrecurrentImageMob=1,this.BrandcurrentImageMob=1,this.BrandPrecurrentImageMob=1,this.ContentcurrentImageMob=1,this.ContentPrecurrentImageMob=1,this.EstimateImageStateOne=!0,this.EstimateImageStateTwo=!0,this.EstimateImageStateThree=!0,this.CalculatorImageStateOne=!0,this.CalculatorImageStateTwo=!0,this.CalculatorImageStateThree=!0,this.BrandedImageStateOne=!0,this.BrandedImageStateTwo=!0,this.BrandedImageStateThree=!0,this.ContentImageStateOne=!0,this.ContentImageStateTwo=!0,this.ContentImageStateThree=!0,this.EstimateImageStateOneMob=!0,this.EstimateImageStateTwoMob=!0,this.EstimateImageStateThreeMob=!0,this.CalculatorImageStateOneMob=!0,this.CalculatorImageStateTwoMob=!0,this.CalculatorImageStateThreeMob=!0,this.BrandedImageStateOneMob=!0,this.BrandedImageStateTwoMob=!0,this.BrandedImageStateThreeMob=!0,this.ContentImageStateOneMob=!0,this.ContentImageStateTwoMob=!0,this.ContentImageStateThreeMob=!0,this.deviceService.isMobile()?this.deviceType="Mobile":this.deviceService.isTablet()?this.deviceType="Tablet":this.deviceType="Desktop"}ngOnInit(){this.updateScreenWidth(),setTimeout(()=>{this.MarkettDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.market_name=this.globalService.getMarketName(),this.market_Code=this.globalService.getmarket_code(),this.globalService.getdisplay_onelabel()=="yes"&&(this.one_label=!0)},1500),this.deviceType=="Tablet"&&(this.MainAnimation(),this.isTabletOrSmaller=!0)}onResize(t){this.updateScreenWidth()}ResourceVisible(t){this.isTabletOrSmaller||this.MainAnimation()}ResourceInVisible(t){this.isTabletOrSmaller||this.MainAnimationClose()}updateScreenWidth(){this.screenWidth=window.innerWidth,this.screenWidth>=768&&this.screenWidth<=810?(this.width="275",this.transform="translate(-40%, -10%)",this.Imagewidth="400",this.Imageheight="400",this.FullImageHeight="615"):this.screenWidth>=811&&this.screenWidth<=999?(this.width="275",this.transform="translate(-50%, -15%)",this.Imagewidth="400",this.Imageheight="400",this.FullImageHeight="615"):this.screenWidth>=1e3&&this.screenWidth<=1200?(this.width="300",this.transform="translate(-62%, -25%)",this.Imagewidth="450",this.Imageheight="450",this.FullImageHeight="630"):this.screenWidth>=1200&&this.screenWidth<1350?(this.width="340",this.transform="translate(-70%, -25%)",this.Imagewidth="500",this.Imageheight="500",this.FullImageHeight="660"):this.screenWidth>=1350&&this.screenWidth<1400?(this.width="340",this.transform="translate(-70%, -26%)",this.Imagewidth="500",this.Imageheight="500",this.FullImageHeight="660"):this.screenWidth>=1400&&this.screenWidth<1499?(this.width="340",this.transform="translate(-70%, -26%)",this.Imagewidth="500",this.Imageheight="500",this.FullImageHeight="660"):this.screenWidth>=1500&&this.screenWidth<1599?(this.width="340",this.transform="translate(-70%, -22%)",this.Imagewidth="500",this.Imageheight="500",this.FullImageHeight="660"):this.screenWidth>=1600&&this.screenWidth<1899?(this.width="340",this.transform="translate(-75%, -26%)",this.Imagewidth="500",this.Imageheight="500",this.FullImageHeight="660"):this.screenWidth>=1900&&(this.width="340",this.transform="translate(-75%, -26%)",this.Imagewidth="500",this.Imageheight="500",this.FullImageHeight="660")}MainAnimation(){if(this.AnimationHover==!1){this.state=this.state==="center"?"left"
11:"center",this.animationState=this.animationState==="center"?"left":"center",this.Imagestate=this.Imagestate==="center"?"left":"center",this.menuList=this.menuList==="hide"?"show":"hide",this.SlideRight=this.SlideRight==="start"?"end":"start",this.AnimateImg=this.AnimateImg==="show"?"hide":"show",this.SlideAnimate=this.SlideAnimate==="hide"?"show":"hide",this.ArrowAnimate=this.ArrowAnimate==="hide"?"show":"hide",this.Local="#3D3D3D",this.Reports="#CBCBCB",this.Calculator="#CBCBCB",this.Content="#CBCBCB",this.LocalStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.CalculatorStyle="",this.ReportsStyle="",this.ContentStyle="",this.LocalContent="display: block",this.ReportsContent="display: none",this.CalculatorContent="display: none",this.ContentContent="display: none",this.AnimationHover=!0,this.AnimateImgtxt={display:"none"};let t=this.el.nativeElement.querySelector(".ResourceMenus");this.renderer.removeClass(t,"hide");let i=this.el.nativeElement.querySelector(".carousel-control-prev");this.renderer.addClass(i,"prev_new");let o=this.el.nativeElement.querySelector(".carousel-control-next");this.renderer.addClass(o,"next_new");let s=document.getElementsByClassName("LocalMenuIcon")[0];this.renderer.addClass(s,"active")}}MainAnimationClose(){if(this.AnimationHover==!0){this.state=this.state==="left"?"center":"left",this.animationState=this.animationState==="left"?"center":"left",this.Imagestate=this.Imagestate==="left"?"center":"left",this.menuList=this.menuList==="show"?"hide":"show",this.SlideRight=this.SlideRight==="end"?"start":"end",this.AnimateImg=this.AnimateImg==="hide"?"show":"hide",this.SlideAnimate=this.SlideAnimate==="show"?"hide":"show",this.ArrowAnimate=this.ArrowAnimate==="show"?"hide":"show",this.Local="#3D3D3D",this.Reports="#CBCBCB",this.Calculator="#CBCBCB",this.Content="#CBCBCB",this.LocalStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.CalculatorStyle="",this.ReportsStyle="",this.ContentStyle="",this.LocalContent="display: block",this.ReportsContent="display: none",this.CalculatorContent="display: none",this.ContentContent="display: none",this.AnimationHover=!1,setTimeout(()=>{this.AnimateImgtxt={display:"block"}},400);let t=this.el.nativeElement.querySelector(".ResourceMenus");this.renderer.addClass(t,"hide");let i=this.el.nativeElement.querySelector(".carousel-control-prev");this.renderer.removeClass(i,"prev_new");let o=this.el.nativeElement.querySelector(".carousel-control-next");this.renderer.removeClass(o,"next_new");let s=document.getElementsByClassName("LocalMenuIcon");for(let a=0;a<s.length;a++)s[a].classList.remove("active")}}hover(t){t=="local"?this.market_Code=="STP"?this.Local="#afafaf":this.Local=this.globalService.getmarketlightcolor():t=="Calculator"?this.market_Code=="STP"?this.Calculator="#afafaf":this.Calculator=this.globalService.getmarketlightcolor():t=="Reports"?this.market_Code=="STP"?this.Reports="#afafaf":this.Reports=this.globalService.getmarketlightcolor():t=="Content"&&(this.market_Code=="STP"?this.Content="#afafaf":this.Content=this.globalService.getmarketlightcolor())}hoverleave(t){var i;let o=document.getElementsByClassName("LocalMenuIcon");for(let s=0;s<o.length;s++)o[s].classList.contains("active")&&(i=s);t=="local"?i==0?this.Local="#3D3D3D":this.Local="#CBCBCB":t=="Calculator"?i==1?this.Calculator="#3D3D3D":this.Calculator="#CBCBCB":t=="Reports"?i==2?this.Reports="#3D3D3D":this.Reports="#CBCBCB":t=="Content"&&(i==3?this.Content="#3D3D3D":this.Content="#CBCBCB")}EstimateMenuChangeFun(t,i){t.stopPropagation();let o=this.el.nativeElement.querySelector(".carousel-control-prev");this.renderer.removeClass(o,"prev_new");let s=this.el.nativeElement.querySelector(".carousel-control-next");this.renderer.removeClass(s,"next_new");let a=document.getElementsByClassName("LocalMenuIcon");for(let u=0;u<a.length;u++)a[u].classList.remove("active");if(i=="Local"){this.Local="#3D3D3D",this.Reports="#CBCBCB",this.Calculator="#CBCBCB",this.Content="#CBCBCB",this.LocalStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.CalculatorStyle="",this.ReportsStyle="",this.ContentStyle="",this.LocalContent="display: block",this.ReportsContent="display: none",this.CalculatorContent="display: none",this.ContentContent="display: none";let u=document.getElementsByClassName("LocalMenuIcon")[0];this.renderer.addClass(u,"active")}else if(i=="Calculator"){this.Local="#CBCBCB",this.Reports="#CBCBCB",this.Calculator="#3D3D3D",this.Content="#CBCBCB",this.CalculatorStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.LocalStyle="",this.ReportsStyle="",this.ContentStyle="",this.LocalContent="display: none",this.ReportsContent="display: none",this.CalculatorContent="display: block",this.ContentContent="display: none";let u=document.getElementsByClassName("LocalMenuIcon")[1];this.renderer.addClass(u,"active")}else if(i=="Reports"){this.Local="#CBCBCB",this.Reports="#3D3D3D",this.Calculator="#CBCBCB",this.Content="#CBCBCB",this.ReportsStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.LocalStyle="",this.CalculatorStyle="",this.ContentStyle="",this.LocalContent="display: none",this.ReportsContent="display: block",this.CalculatorContent="display: none",this.ContentContent="display: none";let u=document.getElementsByClassName("LocalMenuIcon")[2];this.renderer.addClass(u,"active")}else if(i=="Content"){this.Local="#CBCBCB",this.Reports="#CBCBCB",this.Calculator="#CBCBCB",this.Content="#3D3D3D",this.ContentStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`,this.LocalStyle="",this.CalculatorStyle="",this.ReportsStyle="",this.LocalContent="display: none",this.ReportsContent="display: none",this.CalculatorContent="display: none",this.ContentContent="display: block";let u=document.getElementsByClassName("LocalMenuIcon")[3];this.renderer.addClass(u,"active")}}EstimateNextImageSilde(t,i){this.EstcurrentImage==1&&i=="Desktop"||this.EstcurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.EstcurrentImage=2,this.EstPrecurrentImage=3},500)):(this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwoMob.
11nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.EstcurrentImageMob=2,this.EstPrecurrentImageMob=3},500)):this.EstcurrentImage==2&&i=="Desktop"||this.EstcurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.EstcurrentImage=3,this.EstPrecurrentImage=2},500)):(this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.EstcurrentImageMob=3,this.EstPrecurrentImageMob=2},500)):(this.EstcurrentImage==3&&i=="Desktop"||this.EstcurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.EstcurrentImage=1,this.EstPrecurrentImage=1},500)):(this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.EstcurrentImageMob=1,this.EstPrecurrentImageMob=1},500)))}EstimatePrevSlide(t,i){this.EstPrecurrentImage==1&&i=="Desktop"||this.EstPrecurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.EstPrecurrentImage=2,this.EstcurrentImage=3},500)):(this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwoMob.
11nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.EstPrecurrentImageMob=2,this.EstcurrentImageMob=3},500)):this.EstPrecurrentImage==2&&i=="Desktop"||this.EstPrecurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.EstPrecurrentImage=3,this.EstcurrentImage=2},500)):(this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.EstPrecurrentImageMob=3,this.EstcurrentImageMob=2},500)):(this.EstPrecurrentImage==3&&i=="Desktop"||this.EstPrecurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.EstPrecurrentImage=1,this.EstcurrentImage=1},500)):(this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.EstimateImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.EstimateImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.EstPrecurrentImageMob=1,this.EstcurrentImageMob=1},500)))}CalculatorNextImageSilde(t,i){this.CalcurrentImage==1&&i=="Desktop"||this.CalcurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.CalcurrentImage=2,this.CalPrecurrentImage=3},500)):(this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwoMob.
11nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.CalcurrentImageMob=2,this.CalPrecurrentImageMob=3},500)):this.CalcurrentImage==2&&i=="Desktop"||this.CalcurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.CalcurrentImage=3,this.CalPrecurrentImage=2},500)):(this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.CalcurrentImageMob=3,this.CalPrecurrentImageMob=2},500)):(this.CalcurrentImage==3&&i=="Desktop"||this.CalcurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.CalcurrentImage=1,this.CalPrecurrentImage=1},500)):(this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.CalcurrentImageMob=1,this.CalPrecurrentImageMob=1},500)))}CalculatorPrevSilde(t,i){this.CalPrecurrentImage==1&&i=="Desktop"||this.CalPrecurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.CalPrecurrentImage=2,this.CalcurrentImage=3},500)):(this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwoMob.
11nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.CalPrecurrentImageMob=2,this.CalcurrentImageMob=3},500)):this.CalPrecurrentImage==2&&i=="Desktop"||this.CalPrecurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.CalPrecurrentImage=3,this.CalcurrentImage=2},500)):(this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.CalPrecurrentImageMob=3,this.CalcurrentImageMob=2},500)):(this.CalPrecurrentImage==3&&i=="Desktop"||this.CalPrecurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.CalPrecurrentImage=1,this.CalcurrentImage=1},500)):(this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.CalculatorImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.CalculatorImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.CalPrecurrentImageMob=1,this.CalcurrentImageMob=1},500)))}BrandedNextImageSilde(t,i){t.stopPropagation(),this.BrandcurrentImage==1&&i=="Desktop"||this.BrandcurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.BrandcurrentImage=2,this.BrandPrecurrentImage=3},500)):(this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwoMob.
11nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.BrandcurrentImageMob=2,this.BrandPrecurrentImageMob=3},500)):this.BrandcurrentImage==2&&i=="Desktop"||this.BrandcurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.BrandcurrentImage=3,this.BrandPrecurrentImage=2},500)):(this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageTwoMob.
11nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.BrandcurrentImageMob=3,this.BrandPrecurrentImageMob=2},500)):(this.BrandcurrentImage==3&&i=="Desktop"||this.BrandcurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.BrandcurrentImage=1,this.BrandPrecurrentImage=1},500)):(this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwoMob.
11nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.BrandcurrentImageMob=1,this.BrandPrecurrentImageMob=1},500)))}BrandedPrevSilde(t,i){t.stopPropagation(),this.BrandPrecurrentImage==1&&i=="Desktop"||this.BrandPrecurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.BrandPrecurrentImage=2,this.BrandcurrentImage=3},500)):(this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwoMob.
11nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.BrandPrecurrentImageMob=2,this.BrandcurrentImageMob=3},500)):this.BrandPrecurrentImage==2&&i=="Desktop"||this.BrandPrecurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.BrandPrecurrentImage=3,this.BrandcurrentImage=2},500)):(this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.BrandedImageTwoMob.
11nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.BrandPrecurrentImageMob=3,this.BrandcurrentImageMob=2},500)):(this.BrandPrecurrentImage==3&&i=="Desktop"||this.BrandPrecurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.BrandPrecurrentImage=1,this.BrandcurrentImage=1},500)):(this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.BrandedImageTwoMob.
11nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.BrandedImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.BrandedImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.BrandPrecurrentImageMob=1,this.BrandcurrentImageMob=1},500)))}ContentNextImageSilde(t,i){t.stopPropagation(),this.ContentcurrentImage==1&&i=="Desktop"||this.ContentcurrentImageMob==1&&i=="Mobile"?(this.MarketStyle={display:"block"},i=="Desktop"?(this.renderer.setStyle(this.ContentImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.ContentcurrentImage=2,this.ContentPrecurrentImage=3},500)):(this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.ContentcurrentImageMob=2,this.ContentPrecurrentImageMob=3},500))):this.ContentcurrentImage==2&&i=="Desktop"||this.ContentcurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.ContentImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.ContentcurrentImage=3,this.ContentPrecurrentImage=2},500)):(this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.ContentcurrentImageMob=3,this.ContentPrecurrentImageMob=2},500)):(this.ContentcurrentImage==3&&i=="Desktop"||this.ContentcurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.ContentImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.ContentcurrentImage=1,this.ContentPrecurrentImage=1},500)):(this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwoMob.
11nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),setTimeout(()=>{this.ContentcurrentImageMob=1,this.ContentPrecurrentImageMob=1},500)))}ContentPrevSilde(t,i){t.stopPropagation(),this.ContentPrecurrentImage==1&&i=="Desktop"||this.ContentPrecurrentImageMob==1&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.ContentImageOne.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.ContentPrecurrentImage=2,this.ContentcurrentImage=3},500)):(this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transform","translateX(100%)"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transform","translateX(-200%)"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.ContentPrecurrentImageMob=2,this.ContentcurrentImageMob=3},500)):this.ContentPrecurrentImage==2&&i=="Desktop"||this.ContentPrecurrentImageMob==2&&i=="Mobile"?i=="Desktop"?(this.renderer.setStyle(this.ContentImageOne.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"opacity","1"),setTimeout(()=>{this.ContentPrecurrentImage=3,this.ContentcurrentImage=2},500)):(this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"opacity","0"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transform","translateX(-100%)"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"opacity","1"),setTimeout(()=>{this.ContentPrecurrentImageMob=3,this.ContentcurrentImageMob=2},500)):(this.ContentPrecurrentImage==3&&i=="Desktop"||this.ContentPrecurrentImageMob==3&&i=="Mobile")&&(i=="Desktop"?(this.renderer.setStyle(this.ContentImageOne.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOne.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageTwo.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThree.nativeElement,"opacity","0"),setTimeout(()=>{this.ContentPrecurrentImage=1,this.ContentcurrentImage=1},500)):(this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageOneMob.nativeElement,"opacity","1"),this.renderer.setStyle(this.ContentImageTwoMob.
11nativeElement,"transform","translateX(0%)"),this.renderer.setStyle(this.ContentImageTwoMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transform","translateX(-300%)"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"transition","transform 0.5s ease-in-out"),this.renderer.setStyle(this.ContentImageThreeMob.nativeElement,"opacity","0"),setTimeout(()=>{this.ContentPrecurrentImageMob=1,this.ContentcurrentImageMob=1},500)))}LearnMoreHoverFun(t){t=="Hover"?this.LearnMoreBtn={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.LearnMoreBtn={}}LearnMoreFun(){this.WebsiteBtnTrackingFun("Learn More")}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i,website_type:"new"};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(xe),w(re),w(Ie),w(fi))},r.\u0275cmp=K({type:r,selectors:[["app-resource-section"]],viewQuery:function(i,o){if(i&1&&(L(Xy,5),L(Qy,5),L(Yy,5),L(Ky,5),L(Jy,5),L(e2,5),L(t2,5),L(i2,5),L(n2,5),L(r2,5),L(o2,5),L(s2,5),L(a2,5),L(l2,5),L(c2,5),L(d2,5),L(u2,5),L(h2,5),L(m2,5),L(p2,5),L(f2,5),L(g2,5),L(_2,5),L(v2,5)),i&2){let s;F(s=O())&&(o.EstimateImageOne=s.first),F(s=O())&&(o.EstimateImageTwo=s.first),F(s=O())&&(o.EstimateImageThree=s.first),F(s=O())&&(o.CalculatorImageOne=s.first),F(s=O())&&(o.CalculatorImageTwo=s.first),F(s=O())&&(o.CalculatorImageThree=s.first),F(s=O())&&(o.BrandedImageOne=s.first),F(s=O())&&(o.BrandedImageTwo=s.first),F(s=O())&&(o.BrandedImageThree=s.first),F(s=O())&&(o.ContentImageOne=s.first),F(s=O())&&(o.ContentImageTwo=s.first),F(s=O())&&(o.ContentImageThree=s.first),F(s=O())&&(o.EstimateImageOneMob=s.first),F(s=O())&&(o.EstimateImageTwoMob=s.first),F(s=O())&&(o.EstimateImageThreeMob=s.first),F(s=O())&&(o.CalculatorImageOneMob=s.first),F(s=O())&&(o.CalculatorImageTwoMob=s.first),F(s=O())&&(o.CalculatorImageThreeMob=s.first),F(s=O())&&(o.BrandedImageOneMob=s.first),F(s=O())&&(o.BrandedImageTwoMob=s.first),F(s=O())&&(o.BrandedImageThreeMob=s.first),F(s=O())&&(o.ContentImageOneMob=s.first),F(s=O())&&(o.ContentImageTwoMob=s.first),F(s=O())&&(o.ContentImageThreeMob=s.first)}},hostBindings:function(i,o){i&1&&_("resize",function(a){return o.onResize(a)},Gi)},inputs:{width:"width",transform:"transform",Imagewidth:"Imagewidth",Imageheight:"Imageheight",FullImageHeight:"FullImageHeight"},decls:263,vars:119,consts:[["EstimateImageOne",""],["EstimateImageTwo",""],["EstimateImageThree",""],["CalculatorImageOne",""],["CalculatorImageTwo",""],["CalculatorImageThree",""],["BrandedImageOne",""],["BrandedImageTwo",""],["BrandedImageThree",""],["ContentImageOne",""],["ContentImageTwo",""],["ContentImageThree",""],["EstimateImageOneMob",""],["EstimateImageTwoMob",""],["EstimateImageThreeMob",""],["CalculatorImageOneMob",""],["CalculatorImageTwoMob",""],["CalculatorImageThreeMob",""],["BrandedImageOneMob",""],["BrandedImageTwoMob",""],["BrandedImageThreeMob",""],["ContentImageOneMob",""],["ContentImageTwoMob",""],["ContentImageThreeMob",""],[1,"Brand_resource_section_component"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","ResourceSection","container","WholeBodyDiplay"],[1,"ResourceContent"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","ResourceAnimation","container","WholeBodyDiplay"],[1,"ResourceContentFull"],[1,"ResourceImgSection",3,"mouseenter","mouseleave"],["id","projects"],[1,"projects-container"],[1,"projects-item"],["alt","image",1,"projectsimg",3,"defaultImage","lazyLoad"],[1,"market-name-overlay-main","market_name_res_main"],["class","img-responsive","width","20px",3,"defaultImage","lazyLoad",4,"ngIf"],["src","ng_assets/images/arrow.svg","width","15px",1,"small-arrow-spacing"],[1,"estimatemarketImgPhone"],[1,"overflow-hidden"],[1,"carousel-container"],[1,"row","carouselMob","mainestimate"],[1,"carouselitem","carouselitemOne"],["src","ng_assets/images/market_estimate.png","alt","Slide 1",1,"EstimateImages"],[1,"market-name-overlay-desktop","market_name_res"],[1,"carouselitem","carouselitemTwo"],["alt","Image 2",1,"EstimateImages",3,"defaultImage","lazyLoad"],[1,"carouselitem","carouselitemThree"],["alt","Image 3",1,"EstimateImages",3,"defaultImage","lazyLoad"],[1,"carousel-control-prev",3,"click"],["src","ng_assets/images/market_left_arrow.png","alt","Left Arrow",1,"arrow-icon-pointer"],[1,"carousel-control-next",3,"click"],["src","ng_assets/images/market_right_arrow.png","alt","Right Arrow",1,"arrow-icon-pointer"],[1,"calculatorImgPhone"],[1,"carouselitem"],["alt","Slide 1",1,"EstimateImages",3,"defaultImage","lazyLoad"],[1,"brandedreportImgPhone"],[1,"contentlibrary
11ImgPhone"],[1,"container","ResourceAllMenus"],[1,"ResourceMenus"],[1,"LocalMenuIcon","active",3,"click","mouseenter","mouseleave"],["width","128","height","129","viewBox","0 0 128 129","fill","none","xmlns","http://www.w3.org/2000/svg",1,"MenuListIcon"],["cx","63.961","cy","64.3902","rx","63.961","ry","64.3902"],["d","M62.7589 76.2306C63.1303 76.5791 63.6851 76.5791 64.0565 76.2306C67.2236 73.2589 80.9077 59.8185 80.9077 49.4378C80.9077 39.7128 73.0727 31.8291 63.4077 31.8291C53.7427 31.8291 45.9077 39.7128 45.9077 49.4378C45.9077 59.8185 59.5918 73.2589 62.7589 76.2306Z","stroke","white","stroke-width","4"],["d","M68.9987 48.7045C68.9987 51.8111 66.4959 54.3295 63.4084 54.3295C60.321 54.3295 57.8182 51.8111 57.8182 48.7045C57.8182 45.5979 60.321 43.0795 63.4084 43.0795C66.4959 43.0795 68.9987 45.5979 68.9987 48.7045Z","stroke","white","stroke-width","4"],["d","M46.1026 90.5513H47.5621V101.197H52.2841V102.571H46.1026V90.5513ZM53.0601 98.6215C53.0601 97.8202 53.2375 97.1105 53.5924 96.4924C53.9587 95.8742 54.4509 95.3877 55.0691 95.0328C55.6872 94.678 56.3798 94.5006 57.1467 94.5006C57.9252 94.5006 58.6177 94.678 59.2244 95.0328C59.8426 95.3877 60.3291 95.8742 60.6839 96.4924C61.0502 97.1105 61.2334 97.8202 61.2334 98.6215C61.2334 99.4114 61.0502 100.121 60.6839 100.751C60.3291 101.369 59.8426 101.855 59.2244 102.21C58.6177 102.565 57.9252 102.743 57.1467 102.743C56.3798 102.743 55.6872 102.565 55.0691 102.21C54.4509 101.855 53.9587 101.369 53.5924 100.751C53.2375 100.121 53.0601 99.4114 53.0601 98.6215ZM54.4509 98.6215C54.4509 99.171 54.5654 99.6575 54.7944 100.081C55.0347 100.505 55.3553 100.842 55.7559 101.094C56.168 101.335 56.6316 101.455 57.1467 101.455C57.6619 101.455 58.1198 101.335 58.5204 101.094C58.9325 100.842 59.253 100.505 59.482 100.081C59.7224 99.6575 59.8426 99.171 59.8426 98.6215C59.8426 98.0721 59.7224 97.5856 59.482 97.162C59.253 96.727 58.9325 96.3893 58.5204 96.1489C58.1198 95.9086 57.6619 95.7884 57.1467 95.7884C56.6316 95.7884 56.168 95.9086 55.7559 96.1489C55.3553 96.3893 55.0347 96.727 54.7944 97.162C54.5654 97.5856 54.4509 98.0721 54.4509 98.6215ZM63.7386 98.6215C63.7386 99.171 63.853 99.6575 64.082 100.081C64.3224 100.505 64.6429 100.842 65.0435 101.094C65.4556 101.335 65.9192 101.455 66.4344 101.455C66.8579 101.455 67.2528 101.392 67.6192 101.266C67.9969 101.128 68.3232 100.951 68.5979 100.734C68.8726 100.505 69.0672 100.264 69.1817 100.012V101.729C68.907 102.05 68.512 102.302 67.9969 102.485C67.4932 102.657 66.9724 102.743 66.4344 102.743C65.6674 102.743 64.9749 102.565 64.3567 102.21C63.7386 101.855 63.2463 101.369 62.88 100.751C62.5252 100.121 62.3477 99.4114 62.3477 98.6215C62.3477 97.8202 62.5252 97.1105 62.88 96.4924C63.2463 95.8742 63.7386 95.3877 64.3567 95.0328C64.9749 94.678 65.6674 94.5006 66.4344 94.5006C66.9724 94.5006 67.4932 94.5921 67.9969 94.7753C68.512 94.947 68.907 95.1931 69.1817 95.5136V97.2307C69.0672 96.9674 68.8726 96.727 68.5979 96.5095C68.3232 96.292 67.9969 96.1203 67.6192 95.9944C67.2528 95.857 66.8579 95.7884 66.4344 95.7884C65.9192 95.7884 65.4556 95.9
11086 65.0435 96.1489C64.6429 96.3893 64.3224 96.727 64.082 97.162C63.853 97.5856 63.7386 98.0721 63.7386 98.6215ZM71.9383 100.133C71.9383 100.43 72.0069 100.688 72.1443 100.905C72.2931 101.123 72.4934 101.289 72.7453 101.403C73.0086 101.506 73.3062 101.558 73.6382 101.558C74.0617 101.558 74.4395 101.472 74.7714 101.3C75.1148 101.128 75.3839 100.888 75.5785 100.579C75.7845 100.258 75.8875 99.8922 75.8875 99.4801L76.1623 100.51C76.1623 101.014 76.0077 101.432 75.6987 101.764C75.401 102.096 75.029 102.342 74.5826 102.502C74.1476 102.662 73.7126 102.743 73.2776 102.743C72.7968 102.743 72.3446 102.645 71.9211 102.451C71.509 102.245 71.177 101.953 70.9252 101.575C70.6734 101.197 70.5474 100.739 70.5474 100.201C70.5474 99.4343 70.8164 98.8219 71.3545 98.364C71.9039 97.8946 72.6652 97.66 73.6382 97.66C74.2105 97.66 74.6856 97.7287 75.0633 97.866C75.4525 97.9919 75.7616 98.1408 75.9906 98.3125C76.2195 98.4727 76.374 98.6044 76.4542 98.7074V99.5144C76.0535 99.2397 75.6414 99.0451 75.2179 98.9306C74.7943 98.8047 74.3422 98.7417 73.8614 98.7417C73.4149 98.7417 73.0486 98.799 72.7625 98.9134C72.4877 99.0279 72.2817 99.1882 72.1443 99.3942C72.0069 99.6003 71.9383 99.8464 71.9383 100.133ZM71.7322 96.4924L71.0626 95.4793C71.3602 95.2618 71.7666 95.0443 72.2817 94.8268C72.8082 94.6093 73.4378 94.5006 74.1705 94.5006C74.7886 94.5006 75.3266 94.5979 75.7845 94.7925C76.2538 94.9756 76.6144 95.2446 76.8663 95.5995C77.1295 95.9543 77.2612 96.3893 77.2612 96.9045V102.571H75.8875V97.0933C75.8875 96.8186 75.8417 96.5954 75.7502 96.4237C75.6586 96.2405 75.5269 96.0974 75.3552 95.9944C75.195 95.8914 75.0061 95.817 74.7886 95.7712C74.5711 95.7254 74.3422 95.7025 74.1018 95.7025C73.7126 95.7025 73.3577 95.7483 73.0372 95.8399C72.7281 95.9315 72.4648 96.0402 72.2473 96.1661C72.0298 96.292 71.8581 96.4008 71.7322 96.4924ZM79.5869 89.1776H80.9605V102.571H79.5869V89.1776Z","fill","white"],[1,"LocalMenuIcon",3,"click","mouseenter","mouseleave"],["d","M57.3502 57.8223C57.3502 58.699 57.0246 59.5397 56.445 60.1596C55.8654 60.7795 55.0792 61.1277 54.2595 61.1277C53.4398 61.1277 52.6536 60.7795 52.074 60.1596C51.4944 59.5397 51.1688 58.699 51.1688 57.8223C51.1688 56.9457 51.4944 56.105 52.074 55.4851C52.6536 54.8652 53.4398 54.517 54.2595 54.517C55.0792 54.517 55.8654 54.8652 56.445 55.4851C57.0246 56.105 57.3502 56.9457 57.3502 57.8223ZM57.3502 67.7384C57.3502 68.6151 57.0246 69.4558 56.445 70.0757C55.8654 70.6956 55.0792 71.0438 54.2595 71.0438C53.4398 71.0438 52.6536 70.6956 52.074 70.0757C51.4944 69.4558 51.1688 68.6151 51.1688 67.7384C51.1688 66.8618 51.4944 66.0211 52.074 65.4012C52.6536 64.7813 53.4398 64.4331 54.2595 64.4331C55.0792 64.4331 55.8654 64.7813 56.445 65.4012C57.0246 66.0211 57.3502 66.8618 57.3502 67.7384ZM72.8039 61.1277C73.6236 61.1277 74.4097 60.7795 74.9894 60.1596C75.569 59.5397 75.8946 58.699 75.8946 57.8223C75.8946 56.9457 75.569 56.105 74.9894 55.4851C74.4097 54.8652 73.6236 54.517 72.8039 54.517C71.9842 54.517 71.198 54.8652 70.6184 55.4851C70.0388 56.105 69.7132 56.9457 69.7132 57.8223C69.7132 58.699 70.0388 59.5397 70.6184 60.1596C71.198 60.7795 71.9842 61.1277 72.8039 61.1277ZM75.8946 67.7384C75.8946 68.6151 75.569 69.4558 74.9894 70.0757C74.4097 70.6956 73.6236 71.0438 72.8039 71.0438C71.9842 71.0438 71.198 70.6956 70.6184 70.0757C70.0388 69.4558 69.7132 68.6151 69.7132 67.7384C69.7132 66.8618 70.0388 66.0211 70.6184 65.4012C71.198 64.7813 71.9842 64.4331 72.8039 64.4331C73.6236 64.4331 74.4097 64.7813 74.9894 65.4012C75.569 66.0211 75.8946 66.8618 75.8946 67.7384ZM63.5317 61.1277C64.3514 61.1277 65.1375 60.7795 65.7172 60.1596C66.2968 59.5397 66.6224 58.699 66.6224 57.8223C66.6224 56.9457 66.2968 56.105 65.7172 55.4851C65.1375 54.8652 64.3514 54.517 63.5317 54.517C62.712 54.517 61.9258 54.8652 61.3462 55.4851C60.7666 56.105 60.441 56.9457 60.441 57.8223C60.441 58.699 60.7666 59.5397 61.3462 60.1596C61.9258 60.7795 62.712 61.1277 63.5317 61.1277ZM66.6224 67.7384C66.6224 68.6151 66.2968 69.4558 65.7172 70.0757C65.1375 70.6956 64.3514 71.0438 63.5317 71.0438C62.712 71.0438 61.9258 70.6956 61.3462 70.0757C60.7666 69.4558 60.441 68.6151 60.441 67.7384C60.441 66.8618 60.7666 66.0211 61.3462 65.4012C61.9258 64.7813 62.712 64.4331 63.5317 64.4331C64.3514 64.4331 65.1375 64.7813 65.7172 65.4012C66.2968 66.0211 66.6224 66.8618 66.6224 67.7384ZM55.8049 34.6848C54.5753 34.6848 53.3961 35.2071 52.5266 36.1369C51.6572 37.0668 51.1688 38.3279 51.1688 39.6428V42.9482C51.1688 44.2631 51.6572 45.5242 52.5266 46.4541C53.3961 47.3839 54.5753 47.9062 55.8049 47.9062H71.2585C72.4881 47.9062 73.6673 47.3839 74.5367 46.4541C75.4062 45.5242 75.8946 44.2631 75.8946 42.9482V39.6428C75.8946 38.3279 75.4062 37.0668 74.5367 36.1369C73.6673 35.2071 72.4881 34.6848 71.2585 34.6848H55.8049ZM54.2595 39.6428C54.2595 39.2045 54.4223 38.7841 54.7121 38.4742C55.0019 38.1643 55.395 37.9901 55.8049 37.9901H71.2585C71.6684 37.9901 72.0615 38.1643 72.3513 38.4742C72.6411 38.7841 72.8039 39.2045 72.8039 39.6428V42.9482C72.8039 43.3865 72.6411 43.8069 72.3513 44.1168C72.0615 44.4267 71.6684 44.6009 71.2585 44.6009H55.8049C55.395 44.6009 55.0019 44.4267 54.7121 44.1168C54.4223 43.8069 54.2595 43.3865 54.2595 42.9482V39.6428ZM82.0761 72.6965C82.0761 74.8881 81.262 76.9899 79.8129 78.5396C78.3639 80.0893 76.3985 80.9599 74.3493 80.9599H52.7141C50.6649 80.9599 48.6995 80.0893 47.2504 78.5396C45.8014 76.9899 44.9873 74.8881 44.9873 72.6965V36.3375C44.9873 34.1459 45.8014 32.044 47.2504 30.4943C48.6995 28.9446 50.6649 28.074 52.7141 28.074H74.3493C76.3985 28.074 78.3639 28.9446 79.8129 30.4943C81.262 32.044 82.0761 34.1459 82.0761 36.3375V72.6965ZM78.9854 36.3375C78.9854 35.0225 78.4969 33.7614 77.6275 32.8316C76.758 31.9018 75.5788 31.3794 74.3493 31.3794H52.7141C51.4846 31.3794 50.3054 31.9018 49.4359 32.8316C48.5665 33.7614 48.078 35.0225 48.078 36.3375V72.6965C48.078 74.0114 48.5665 75.2725 49.4359 76.2023C50.3054 77.1322 51.4846 77.6545 52.7141 77.6545H74.3493C75.5788 77.6545 76.758 77.1322 77.6275 76.2023C78.4969 75.2725 78.9854 74.0114 78.9854 72.6965V36.3375Z","fill","white"],["d","M26.4046 96.5608C26.4046 97.488 26.6107 98.3065 27.0228 99.0162C27.4463 99.7259 27.9958 100.281 28.6712 100.682C29.3466 101.082 30.0792 101.283 30.869 101.283C31.4414 101.283 31.9622 101.208 32.4316 101.06C32.9123 100.911 33.3473 100.705 33.7365 100.441C34.1257 100.167 34.4577 99.8519 34.7324 99.497V101.42C34.2288 101.867 33.6793 102.199 33.0841 102.416C32.4888 102.634 31.7505 102.742 30.869 102.742C30.0334 102.742 29.2493 102.593 28.5166 102.296C27.7955 101.987 27.1602 101.557 26.6107 101.008C26.0612 100.447 25.
11632 99.7889 25.3229 99.0334C25.0138 98.2779 24.8593 97.4537 24.8593 96.5608C24.8593 95.6679 25.0138 94.8437 25.3229 94.0882C25.632 93.3327 26.0612 92.6802 26.6107 92.1308C27.1602 91.5698 27.7955 91.1406 28.5166 90.8429C29.2493 90.5339 30.0334 90.3793 30.869 90.3793C31.7505 90.3793 32.4888 90.4881 33.0841 90.7056C33.6793 90.9231 34.2288 91.255 34.7324 91.7015V93.6246C34.4577 93.2697 34.1257 92.9607 33.7365 92.6974C33.3473 92.4227 32.9123 92.2109 32.4316 92.0621C31.9622 91.9133 31.4414 91.8388 30.869 91.8388C30.0792 91.8388 29.3466 92.0392 28.6712 92.4398C27.9958 92.8405 27.4463 93.3957 27.0228 94.1054C26.6107 94.8037 26.4046 95.6221 26.4046 96.5608ZM37.833 100.132C37.833 100.43 37.9017 100.687 38.039 100.905C38.1878 101.122 38.3882 101.288 38.64 101.403C38.9033 101.506 39.2009 101.557 39.5329 101.557C39.9564 101.557 40.3342 101.472 40.6661 101.3C41.0096 101.128 41.2786 100.888 41.4732 100.579C41.6792 100.258 41.7822 99.8919 41.7822 99.4798L42.057 100.51C42.057 101.014 41.9024 101.432 41.5934 101.764C41.2957 102.095 40.9237 102.342 40.4773 102.502C40.0423 102.662 39.6073 102.742 39.1723 102.742C38.6915 102.742 38.2393 102.645 37.8158 102.45C37.4037 102.244 37.0717 101.952 36.8199 101.575C36.5681 101.197 36.4421 100.739 36.4421 100.201C36.4421 99.434 36.7111 98.8216 37.2492 98.3637C37.7986 97.8944 38.5599 97.6597 39.5329 97.6597C40.1052 97.6597 40.5803 97.7284 40.958 97.8658C41.3472 97.9917 41.6563 98.1405 41.8853 98.3122C42.1142 98.4725 42.2687 98.6041 42.3489 98.7071V99.5142C41.9482 99.2394 41.5361 99.0448 41.1126 98.9304C40.689 98.8044 40.2369 98.7415 39.7561 98.7415C39.3097 98.7415 38.9433 98.7987 38.6572 98.9132C38.3824 99.0277 38.1764 99.1879 38.039 99.394C37.9017 99.6 37.833 99.8461 37.833 100.132ZM37.6269 96.4921L36.9573 95.479C37.2549 95.2615 37.6613 95.0441 38.1764 94.8266C38.703 94.6091 39.3325 94.5003 40.0652 94.5003C40.6833 94.5003 41.2213 94.5976 41.6792 94.7922C42.1485 94.9754 42.5091 95.2444 42.761 95.5992C43.0243 95.9541 43.1559 96.3891 43.1559 96.9042V102.571H41.7822V97.0931C41.7822 96.8184 41.7364 96.5951 41.6449 96.4234C41.5533 96.2403 41.4217 96.0972 41.2499 95.9942C41.0897 95.8911 40.9008 95.8167 40.6833 95.7709C40.4658 95.7252 40.2369 95.7023 39.9965 95.7023C39.6073 95.7023 39.2524 95.7481 38.9319 95.8396C38.6228 95.9312 38.3595 96.04 38.142 96.1659C37.9245 96.2918 37.7528 96.4005 37.6269 96.4921ZM45.4816 89.1774H46.8553V102.571H45.4816V89.1774ZM50.0571 98.6213C50.0571 99.1708 50.1715 99.6573 50.4005 100.081C50.6409 100.504 50.9614 100.842 51.362 101.094C51.7741 101.334 52.2377 101.454 52.7529 101.454C53.1764 101.454 53.5713 101.391 53.9376 101.266C54.3154 101.128 54.6416 100.951 54.9164 100.733C55.1911 100.504 55.3857 100.264 55.5002 100.012V101.729C55.2254 102.05 54.8305 102.302 54.3154 102.485C53.8117 102.656 53.2909 102.742 52.7529 102.742C51.9859 102.742 51.2933 102.565 50.6752 102.21C50.0571 101.855 49.5648 101.369 49.1985 100.75C48.8437 100.121 48.6662 99.4111 48.6662 98.6213C48.6662 97.82 48.8437 97.1103 49.1985 96.4921C49.5648 95.874 50.0571 95.3875 50.6752 95.0326C51.2933 94.6777 51.9859 94.5003 52.7529 94.5003C53.2909 94.5003 53.8117 94.5919 54.3154 94.775C54.8305 94.9468 55.2254 95.1929 55.5002 95.5134V97.2305C55.3857 96.9672 55.1911 96.7268 54.9164 96.5093C54.6416 96.2918 54.3154 96.1201 53.9376 95.9942C53.5713 95.8568 53.1764 95.7881 52.7529 95.7881C52.2377 95.7881 51.7741 95.9083 51.362 96.1487C50.9614 96.3891 50.6409 96.7268 50.4005 97.1618C50.1715 97.5853 50.0571 98.0718 50.0571 98.6213ZM59.0123 99.4798C59.0123 100.109 59.1554 100.596 59.4415 100.939C59.7277 101.283 60.1455 101.454 60.695 101.454C61.0956 101.454 61.4448 101.374 61.7424 101.214C62.0515 101.042 62.2861 100.808 62.4464 100.51C62.6181 100.212 62.704 99.869 62.704 99.4798V94.672H64.0776V102.571H62.704V101.334C62.4407 101.804 62.1144 102.158 61.7252 102.399C61.336 102.628 60.8781 102.742 60.3516 102.742C59.5274 102.742 58.8692 102.462 58.3769 101.901C57.8847 101.34 57.6386 100.59 57.6386 99.6515V94.672H59.0123V99.4798ZM66.6599 89.1774H68.0336V102.571H66.6599V89.1774ZM71.2354 100.132C71.2354 100.43 71.3041 100.687 71.4415 100.905C71.5903 101.122 71.7906 101.288 72.0424 101.403C72.3057 101.506 72.6033 101.557 72.9353 101.557C73.3589 101.557 73.7366 101.472 74.0686 101.3C74.412 101.128 74.681 100.888 74.8756 100.579C75.0817 100.258 75.1847 99.8919 75.1847 99.4798L75.4594 100.51C75.4594 101.014 75.3049 101.432 74.9958 101.764C74.6982 102.095 74.3261 102.342 73.8797 102.502C73.4447 102.662 73.0097 102.742 72.5747 102.742C72.0939 102.742 71.6418 102.645 71.2182 102.45C70.8061 102.244 70.4742 101.952 70.2223 101.575C69.9705 101.197 69.8446 100.739 69.8446 100.201C69.8446 99.434 70.1136 98.8216 70.6516 98.3637C71.2011 97.8944 71.9623 97.6597 72.9353 97.6597C73.5077 97.6597 73.9827 97.7284 74.3605 97.8658C74.7497 97.9917 75.0588 98.1405 75.2877 98.3122C75.5166 98.4725 75.6712 98.6041 75.7513 98.7071V99.5142C75.3507 99.2394 74.9386 99.0448 74.515 98.9304C74.0915 98.8044 73.6393 98.7415 73.1585 98.7415C72.7121 98.7415 72.3458 98.7987 72.0596 98.9132C71.7849 99.0277 71.5788 99.1879 71.4415 99.394C71.3041 99.6 71.2354 99.8461 71.2354 100.132ZM71.0294 96.4921L70.3597 95.479C70.6573 95.2615 71.0637 95.0441 71.5788 94.8266C72.1054 94.6091 72.735 94.5003 73.4676 94.5003C74.0857 94.5003 74.6238 94.5976 75.0817 94.7922C75.551 94.9754 75.9116 95.2444 76.1634 95.5992C76.4267 95.9541 76.5583 96.3891 76.5583 96.9042V102.571H75.1847V97.0931C75.1847 96.8184 75.1389 96.5951 75.0473 96.4234C74.9557 96.2403 74.8241 96.0972 74.6524 95.9942C74.4921 95.8911 74.3032 95.8167 74.0857 95.7709C73.8683 95.7252 73.6393 95.7023 73.3989 95.7023C73.0097 95.7023 72.6549 95.7481 72.3343 95.8396C72.0253 95.9312 71.762 96.04 71.5445 96.1659C71.327 96.2918 71.1553 96.4005 71.0294 96.4921ZM77.6821 94.672H81.6313V95.9598H77.6821V94.672ZM78.9699 91.9247H80.3435V102.571H78.9699V91.9247ZM82.3222 98.6213C82.3222 97.82 82.4996 97.1103 82.8545 96.4921C83.2208 95.874 83.713 95.3875 84.3312 95.0326C84.9493 94.6777 85.6419 94.5003 86.4088 94.5003C87.1872 94.5003 87.8798 94.6777 88.4865 95.0326C89.1046 95.3875 89.5911 95.874 89.946 96.4921C90.3123 97.1103 90.4955 97.82 90.4955 98.6213C90.4955 99.4111 90.3123 100.121 89.946 100.75C89.5911 101.369 89.1046 101.855 88.4865 102.21C87.8798 102.565 87.1872 102.742 86.4088 102.742C85.6419 102.742 84.9493 102.565 84.3312 102.21C83.713 101.855 83.2208 101.369 82.8545 100.75C82.4996 100.121 82.3222 99.4111 82.3222 98.6213ZM83.713 98.6213C83.713 99.1708 83.8275 99.6573 84.0564 100.081C84.2968 100.504 84.6174 100.842 85.018 101.094C85.4301 101.334 85.8937 101.454 86.4088 101.454C86.924 101.454 87.3818 101.334 87.7825 101.094C88.1946 100.842 88.5151 100.504 88.7441 100.081C88.9844 99.6573 89.1046 99.1708 89.1046 98.6213C89.1046 98.0718 88.9844 97.5853 88.7441 97.1618C88.5151 96.7268 88.1946 96.3891 87.7825 96.1487C87.3818 95.9083 86.924 95.7881 86.4088 95.7881C85.8937 95.7881 85.4301 95.9
11083 85.018 96.1487C84.6174 96.3891 84.2968 96.7268 84.0564 97.1618C83.8275 97.5853 83.713 98.0718 83.713 98.6213ZM93.7562 94.672V102.571H92.3825V94.672H93.7562ZM96.1429 96.183C95.9597 96.0457 95.7938 95.9484 95.6449 95.8911C95.4961 95.8225 95.3072 95.7881 95.0783 95.7881C94.7349 95.7881 94.4659 95.874 94.2713 96.0457C94.0767 96.2174 93.9393 96.4521 93.8592 96.7497C93.7905 97.0473 93.7562 97.385 93.7562 97.7628H93.138C93.138 97.1332 93.2468 96.578 93.4643 96.0972C93.6932 95.605 93.9851 95.2158 94.34 94.9296C94.6948 94.6434 95.0554 94.5003 95.4217 94.5003C95.7079 94.5003 95.9712 94.5404 96.2116 94.6205C96.4634 94.6892 96.6924 94.8323 96.8984 95.0498L96.1429 96.183ZM98.5944 100.149C98.7547 100.39 98.9378 100.613 99.1439 100.819C99.3499 101.025 99.5846 101.191 99.8479 101.317C100.123 101.432 100.42 101.489 100.741 101.489C101.13 101.489 101.433 101.403 101.651 101.231C101.88 101.048 101.994 100.802 101.994 100.493C101.994 100.218 101.903 99.9892 101.719 99.8061C101.548 99.6115 101.325 99.4512 101.05 99.3253C100.775 99.1879 100.483 99.062 100.174 98.9475C99.8307 98.8102 99.4816 98.6499 99.1267 98.4668C98.7833 98.2721 98.4914 98.026 98.251 97.7284C98.0221 97.4193 97.9076 97.0359 97.9076 96.578C97.9076 96.1086 98.0278 95.7194 98.2682 95.4104C98.52 95.1013 98.8405 94.8723 99.2297 94.7235C99.6304 94.5747 100.042 94.5003 100.466 94.5003C100.89 94.5003 101.285 94.569 101.651 94.7064C102.029 94.8437 102.361 95.0269 102.647 95.2558C102.933 95.4848 103.156 95.7481 103.316 96.0457L102.217 96.7497C102 96.4521 101.725 96.2059 101.393 96.0113C101.073 95.8167 100.706 95.7194 100.294 95.7194C100.008 95.7194 99.762 95.7824 99.556 95.9083C99.3499 96.0342 99.2469 96.2288 99.2469 96.4921C99.2469 96.6982 99.327 96.8813 99.4873 97.0416C99.6476 97.2018 99.8536 97.3449 100.105 97.4708C100.357 97.5968 100.621 97.717 100.895 97.8314C101.353 98.0146 101.771 98.2149 102.149 98.4324C102.527 98.6385 102.824 98.8903 103.042 99.1879C103.271 99.4855 103.385 99.869 103.385 100.338C103.385 101.025 103.133 101.598 102.63 102.055C102.137 102.513 101.485 102.742 100.672 102.742C100.146 102.742 99.6705 102.651 99.2469 102.468C98.8234 102.273 98.4628 102.027 98.1652 101.729C97.879 101.432 97.6615 101.128 97.5127 100.819L98.5944 100.149Z","fill","white"],["d","M51.5117 44.9897C51.5117 45.4356 51.3319 45.8632 51.0119 46.1785C50.6919 46.4938 50.2579 46.671 49.8054 46.671C49.3528 46.671 48.9188 46.4938 48.5988 46.1785C48.2788 45.8632 48.099 45.4356 48.099 44.9897C48.099 44.5438 48.2788 44.1161 48.5988 43.8008C48.9188 43.4855 49.3528 43.3084 49.8054 43.3084C50.2579 43.3084 50.6919 43.4855 51.0119 43.8008C51.3319 44.1161 51.5117 44.5438 51.5117 44.9897ZM49.8122 61.2422C49.3596 61.2422 48.9256 61.4194 48.6056 61.7347C48.2856 62.05 48.1059 62.4776 48.1059 62.9235C48.1059 63.3695 48.2856 63.7971 48.6056 64.1124C48.9256 64.4277 49.3596 64.6048 49.8122 64.6048H61.1878C61.6404 64.6048 62.0744 64.4277 62.3944 64.1124C62.7144 63.7971 62.8941 63.3695 62.8941 62.9235C62.8941 62.4776 62.7144 62.05 62.3944 61.7347C62.0744 61.4194 61.6404 61.2422 61.1878 61.2422H49.8122ZM48.1059 53.9566C48.1059 53.5107 48.2856 53.0831 48.6056 52.7677C48.9256 52.4524 49.3596 52.2753 49.8122 52.2753H61.1878C61.4119 52.2753 61.6338 52.3188 61.8408 52.4033C62.0478 52.4878 62.2359 52.6116 62.3944 52.7677C62.5528 52.9239 62.6785 53.1092 62.7643 53.3132C62.85 53.5172 62.8941 53.7358 62.8941 53.9566C62.8941 54.1774 62.85 54.396 62.7643 54.6C62.6785 54.804 62.5528 54.9893 62.3944 55.1455C62.2359 55.3016 62.0478 55.4254 61.8408 55.5099C61.6338 55.5944 61.4119 55.6379 61.1878 55.6379H49.8122C49.3596 55.6379 48.9256 55.4608 48.6056 55.1455C48.2856 54.8302 48.1059 54.4025 48.1059 53.9566ZM70.7865 74.6927C71.826 74.6857 72.8312 74.3258 73.6327 73.6736C74.4342 73.0215 74.9831 72.117 75.1866 71.1126L76.2787 65.7257H82.7309C83.7869 65.7257 84.7996 65.3124 85.5463 64.5767C86.2929 63.841 86.7124 62.8431 86.7124 61.8027V48.3769C86.7124 47.0369 86.1739 45.7514 85.2146 44.8016C84.2553 43.8518 82.9533 43.3149 81.5934 43.3084V43.2994H69.649V39.3853C69.649 38.0476 69.1097 36.7647 68.1497 35.8188C67.1897 34.8728 65.8876 34.3414 64.53 34.3414H46.329C44.9713 34.3414 43.6693 34.8728 42.7093 35.8188C41.7493 36.7647 41.21 38.0476 41.21 39.3853V67.407C41.21 69.3393 41.989 71.1924 43.3757 72.5587C44.7623 73.9251 46.6431 74.6927 48.6041 74.6927H70.7547H70.7865ZM44.6226 39.3853C44.6226 38.9394 44.8024 38.5118 45.1224 38.1965C45.4424 37.8812 45.8764 37.704 46.329 37.704H64.53C64.9825 37.704 65.4165 37.8812 65.7365 38.1965C66.0565 38.5118 66.2363 38.9394 66.2363 39.3853V70.2406C66.2363 70.6149 66.2818 70.9803 66.3728 71.33H48.6041C47.5482 71.33 46.5355 70.9167 45.7888 70.181C45.0421 69.4453 44.6226 68.4475 44.6226 67.407V39.3853ZM69.649 46.662H76.7246C76.6399 46.8974 76.573 47.1387 76.5244 47.3838L71.8399 70.4535C71.7872 70.7197 71.6357 70.9569 71.4149 71.1188C71.1941 71.2807 70.92 71.3557 70.6461 71.3291C70.3723 71.3025 70.1183 71.1762 69.9339 70.9749C69.7495 70.7736 69.6479 70.5117 69.649 70.2406V46.662ZM79.8711 48.0429C79.9559 47.6282 80.1941 47.2593 80.5395 47.0079C80.8848 46.7565 81.3126 46.6405 81.7398 46.6824C82.1671 46.7243 82.5633 46.9211 82.8515 47.2347C83.1398 47.5482 83.2995 47.9561 83.2997 48.3792V61.8027C83.2997 61.9513 83.2398 62.0939 83.1331 62.199C83.0265 62.3041 82.8818 62.3631 82.7309 62.3631H76.9635L79.8711 48.0429Z","fill","white"],["d","M39.805 96.6468H41.43
1162L45.7289 102.571H43.9259L39.805 96.6468ZM37.6586 90.5512H39.1181V102.571H37.6586V90.5512ZM38.4656 91.839V90.5512H40.9211C41.6995 90.5512 42.392 90.7 42.9987 90.9976C43.6169 91.2838 44.1034 91.6959 44.4582 92.2339C44.8245 92.7719 45.0077 93.413 45.0077 94.157C45.0077 94.8896 44.8245 95.5307 44.4582 96.0801C44.1034 96.6182 43.6169 97.036 42.9987 97.3336C42.392 97.6198 41.6995 97.7629 40.9211 97.7629H38.4656V96.4751H40.9211C41.4362 96.4751 41.8883 96.3835 42.2775 96.2003C42.6782 96.0172 42.9873 95.7539 43.2048 95.4105C43.4337 95.0671 43.5482 94.6492 43.5482 94.157C43.5482 93.6648 43.4337 93.247 43.2048 92.9036C42.9873 92.5601 42.6782 92.2969 42.2775 92.1137C41.8883 91.9305 41.4362 91.839 40.9211 91.839H38.4656ZM50.2374 102.742C49.5048 102.742 48.8523 102.571 48.2799 102.227C47.719 101.872 47.2783 101.386 46.9578 100.768C46.6487 100.15 46.4942 99.4342 46.4942 98.6214C46.4942 97.7972 46.6544 97.076 46.975 96.4579C47.3069 95.8398 47.7648 95.359 48.3486 95.0156C48.9439 94.6721 49.6307 94.5004 50.4091 94.5004C51.1875 94.5004 51.8514 94.6664 52.4009 94.9984C52.9618 95.3189 53.3911 95.7825 53.6887 96.3892C53.9863 96.9959 54.1351 97.7171 54.1351 98.5527C54.1351 98.6329 54.1294 98.7187 54.118 98.8103C54.118 98.8904 54.118 98.9419 54.118 98.9648H47.3699V97.7972H53.0362L52.4868 98.5871C52.5211 98.5298 52.5554 98.444 52.5898 98.3295C52.6241 98.2036 52.6413 98.1006 52.6413 98.0204C52.6413 97.5511 52.544 97.1447 52.3494 96.8013C52.1662 96.4579 51.9087 96.1889 51.5767 95.9943C51.2447 95.7997 50.8555 95.7024 50.4091 95.7024C49.8825 95.7024 49.4304 95.8169 49.0526 96.0458C48.6863 96.2633 48.4001 96.5838 48.1941 97.0074C47.9995 97.4195 47.8964 97.9289 47.885 98.5356C47.885 99.1537 47.9823 99.6803 48.1769 100.115C48.3715 100.55 48.6577 100.882 49.0354 101.111C49.4132 101.34 49.8711 101.455 50.4091 101.455C50.9471 101.455 51.4222 101.34 51.8343 101.111C52.2464 100.871 52.5955 100.51 52.8817 100.029L53.9978 100.733C53.5857 101.397 53.0648 101.901 52.4352 102.244C51.8171 102.576 51.0845 102.742 50.2374 102.742ZM57.3057 106.348H55.932V94.6721H57.3057V106.348ZM63.9164 98.6214C63.9164 99.4685 63.739 100.201 63.3841 100.819C63.0293 101.437 62.5542 101.912 61.959 102.244C61.3752 102.576 60.7227 102.742 60.0015 102.742C59.349 102.742 58.7709 102.576 58.2673 102.244C57.775 101.912 57.3858 101.437 57.0996 100.819C56.8249 100.201 56.6875 99.4685 56.6875 98.6214C56.6875 97.7629 56.8249 97.0303 57.0996 96.4236C57.3858 95.8054 57.775 95.3304 58.2673 94.9984C58.7709 94.6664 59.349 94.5004 60.0015 94.5004C60.7227 94.5004 61.3752 94.6664 61.959 94.9984C62.5542 95.3304 63.0293 95.8054 63.3841 96.4236C63.739 97.0303 63.9164 97.7629 63.9164 98.6214ZM62.5256 98.6214C62.5256 98.0147 62.3997 97.4996 62.1478 97.076C61.9075 96.6525 61.5812 96.332 61.1691 96.1145C60.7685 95.897 60.322 95.7882 59.8298 95.7882C59.4291 95.7882 59.0342 95.897 58.645 96.1145C58.2558 96.332 57.9353 96.6525 57.6835 97.076C57.4316 97.4996 57.3057 98.0147 57.3057 98.6214C57.3057 99.2281 57.4316 99.7432 57.6835 100.167C57.9353 100.59 58.2558 100.911 58.645 101.128C59.0342 101.346 59.4291 101.455 59.8298 101.455C60.322 101.455 60.7685 101.346 61.1691 101.128C61.5812 100.911 61.9075 100.59 62.1478 100.167C62.3997 99.7432 62.5256 99.2281 62.5256 98.6214ZM65.1237 98.6214C65.1237 97.8201 65.3012 97.1104 65.656 96.4922C66.0223 95.8741 66.5146 95.3876 67.1327 95.0327C67.7509 94.6779 68.4434 94.5004 69.2104 94.5004C69.9888 94.5004 70.6813 94.6779 71.288 95.0327C71.9062 95.3876 72.3927 95.8741 72.7476 96.4922C73.1139 97.1104 73.297 97.8201 73.297 98.6214C73.297 99.4113 73.1139 100.121 72.7476 100.751C72.3927 101.369 71.9062 101.855 71.288 102.21C70.6813 102.565 69.9888 102.742 69.2104 102.742C68.4434 102.742 67.7509 102.565 67.1327 102.21C66.5146 101.855 66.0223 101.369 65.656 100.751C65.3012 100.121 65.1237 99.4113 65.1237 98.6214ZM66.5146 98.6214C66.5146 99.1709 66.629 99.6574 66.858 100.081C67.0984 100.504 67.4189 100.842 67.8196 101.094C68.2316 101.334 68.6953 101.455 69.2104 101.455C69.7255 101.455 70.1834 101.334 70.584 101.094C70.9961 100.842 71.3167 100.504 71.5456 100.081C71.786 99.6574 71.9062 99.1709 71.9062 98.6214C71.9062 98.0719 71.786 97.5854 71.5456 97.1619C71.3167 96.7269 70.9961 96.3892 70.584 96.1488C70.1834 95.9084 69.7255 95.7882 69.2104 95.7882C68.6953 95.7882 68.2316 95.9
11084 67.8196 96.1488C67.4189 96.3892 67.0984 96.7269 66.858 97.1619C66.629 97.5854 66.5146 98.0719 66.5146 98.6214ZM76.5577 94.6721V102.571H75.1841V94.6721H76.5577ZM78.9444 96.1832C78.7613 96.0458 78.5953 95.9485 78.4465 95.8913C78.2977 95.8226 78.1088 95.7882 77.8799 95.7882C77.5364 95.7882 77.2674 95.8741 77.0728 96.0458C76.8782 96.2175 76.7409 96.4522 76.6607 96.7498C76.5921 97.0474 76.5577 97.3851 76.5577 97.7629H75.9396C75.9396 97.1333 76.0483 96.5781 76.2658 96.0973C76.4948 95.6051 76.7867 95.2159 77.1415 94.9297C77.4964 94.6435 77.857 94.5004 78.2233 94.5004C78.5095 94.5004 78.7727 94.5405 79.0131 94.6206C79.265 94.6893 79.4939 94.8324 79.7 95.0499L78.9444 96.1832ZM79.8678 94.6721H83.817V95.9599H79.8678V94.6721ZM81.1556 91.9248H82.5292V102.571H81.1556V91.9248ZM85.521 100.15C85.6812 100.39 85.8644 100.613 86.0704 100.819C86.2765 101.025 86.5111 101.191 86.7744 101.317C87.0492 101.432 87.3468 101.489 87.6673 101.489C88.0565 101.489 88.3599 101.403 88.5774 101.231C88.8063 101.048 88.9208 100.802 88.9208 100.493C88.9208 100.218 88.8292 99.9893 88.646 99.8062C88.4743 99.6116 88.2511 99.4513 87.9764 99.3254C87.7016 99.188 87.4097 99.0621 87.1007 98.9477C86.7573 98.8103 86.4081 98.65 86.0533 98.4669C85.7098 98.2723 85.4179 98.0262 85.1775 97.7285C84.9486 97.4195 84.8341 97.036 84.8341 96.5781C84.8341 96.1088 84.9543 95.7196 85.1947 95.4105C85.4466 95.1014 85.7671 94.8725 86.1563 94.7237C86.5569 94.5748 86.969 94.5004 87.3926 94.5004C87.8161 94.5004 88.211 94.5691 88.5774 94.7065C88.9551 94.8438 89.2871 95.027 89.5733 95.2559C89.8594 95.4849 90.0827 95.7482 90.2429 96.0458L89.144 96.7498C88.9265 96.4522 88.6518 96.2061 88.3198 96.0115C87.9993 95.8169 87.633 95.7196 87.2209 95.7196C86.9347 95.7196 86.6886 95.7825 86.4825 95.9084C86.2765 96.0344 86.1735 96.229 86.1735 96.4922C86.1735 96.6983 86.2536 96.8814 86.4138 97.0417C86.5741 97.202 86.7801 97.3451 87.032 97.471C87.2838 97.5969 87.5471 97.7171 87.8218 97.8316C88.2797 98.0147 88.6975 98.215 89.0753 98.4325C89.4531 98.6386 89.7507 98.8904 89.9682 99.188C90.1971 99.4857 90.3116 99.8692 90.3116 100.338C90.3116 101.025 90.0598 101.598 89.5561 102.056C89.0639 102.513 88.4114 102.742 87.5986 102.742C87.0721 102.742 86.597 102.651 86.1735 102.468C85.7499 102.273 85.3893 102.027 85.0917 101.729C84.8055 101.432 84.588 101.128 84.4392 100.819L85.521 100.15Z","fill","white"],["d","M51.1737 59.7759C53.687 59.7759 55.7244 57.6138 55.7244 54.9466C55.7244 52.2795 53.687 50.1174 51.1737 50.1174C48.6604 50.1174 46.623 52.2795 46.623 54.9466C46.623 57.6138 48.6604 59.7759 51.1737 59.7759Z","stroke","white","stroke-width","2.85006","stroke-linecap","round","stroke-linejoin","round"],["d","M75.4442 45.2881C77.9575 45.2881 79.9949 43.126 79.9949 40.4588C79.9949 37.7917 77.9575 35.6296 75.4442 35.6296C72.931 35.6296 70.8936 37.7917 70.8936 40.4588C70.8936 43.126 72.931 45.2881 75.4442 45.2881Z","stroke","white","stroke-width","2.85006","stroke-linecap","round","stroke-linejoin","round"],["d","M75.4442 74.2637C77.9575 74.2637 79.9949 72.1016 79.9949 69.4344C79.9949 66.7673 77.9575 64.6052 75.4442 64.6052C72.931 64.6052 70.8936 66.7673 70.8936 69.4344C70.8936 72.1016 72.931 74.2637 75.4442 74.2637Z","stroke","white","stroke-width","2.85006","stroke-linecap","round","stroke-linejoin","round"],["d","M55.1396 57.3139L71.4784 67.067M71.4784 42.8261L55.1396 52.5792","stroke","white","stroke-width","3.37785","stroke-linecap","round","stroke-linejoin","round"],["d","M37.8036 96.5612C37.8036 97.4884 38.0096 98.3069 38.4217 99.0166C38.8453 99.7264 39.3947 100.282 40.0701 100.682C40.7455 101.083 41.4781 101.283 42.268 
11101.283C42.8403 101.283 43.3612 101.209 43.8305 101.06C44.3113 100.911 44.7463 100.705 45.1355 100.442C45.5247 100.167 45.8567 99.8523 46.1314 99.4974V101.421C45.6277 101.867 45.0782 102.199 44.483 102.416C43.8877 102.634 43.1494 102.743 42.268 102.743C41.4323 102.743 40.6482 102.594 39.9156 102.296C39.1944 101.987 38.5591 101.558 38.0096 101.008C37.4602 100.448 37.0309 99.7893 36.7218 99.0338C36.4127 98.2783 36.2582 97.4541 36.2582 96.5612C36.2582 95.6683 36.4127 94.8442 36.7218 94.0886C37.0309 93.3331 37.4602 92.6806 38.0096 92.1312C38.5591 91.5703 39.1944 91.141 39.9156 90.8434C40.6482 90.5343 41.4323 90.3798 42.268 90.3798C43.1494 90.3798 43.8877 90.4885 44.483 90.706C45.0782 90.9235 45.6277 91.2555 46.1314 91.7019V93.625C45.8567 93.2702 45.5247 92.9611 45.1355 92.6978C44.7463 92.4231 44.3113 92.2113 43.8305 92.0625C43.3612 91.9137 42.8403 91.8393 42.268 91.8393C41.4781 91.8393 40.7455 92.0396 40.0701 92.4403C39.3947 92.8409 38.8453 93.3961 38.4217 94.1058C38.0096 94.8041 37.8036 95.6226 37.8036 96.5612ZM47.9269 98.6217C47.9269 97.8204 48.1044 97.1107 48.4592 96.4925C48.8255 95.8744 49.3178 95.3879 49.9359 95.033C50.5541 94.6782 51.2466 94.5007 52.0136 94.5007C52.792 94.5007 53.4845 94.6782 54.0912 95.033C54.7094 95.3879 55.1959 95.8744 55.5507 96.4925C55.917 97.1107 56.1002 97.8204 56.1002 98.6217C56.1002 99.4116 55.917 100.121 55.5507 100.751C55.1959 101.369 54.7094 101.856 54.0912 102.21C53.4845 102.565 52.792 102.743 52.0136 102.743C51.2466 102.743 50.5541 102.565 49.9359 102.21C49.3178 101.856 48.8255 101.369 48.4592 100.751C48.1044 100.121 47.9269 99.4116 47.9269 98.6217ZM49.3178 98.6217C49.3178 99.1712 49.4322 99.6577 49.6612 100.081C49.9016 100.505 50.2221 100.842 50.6227 101.094C51.0348 101.335 51.4984 101.455 52.0136 101.455C52.5287 101.455 52.9866 101.335 53.3872 101.094C53.7993 100.842 54.1198 100.505 54.3488 100.081C54.5892 99.6577 54.7094 99.1712 54.7094 98.6217C54.7094 98.0723 54.5892 97.5857 54.3488 97.1622C54.1198 96.7272 53.7993 96.3895 53.3872 96.1491C52.9866 95.9087 52.5287 95.7885 52.0136 95.7885C51.4984 95.7885 51.0348 95.9087 50.6227 96.1491C50.2221 96.3895 49.9016 96.7272 49.6612 97.1622C49.4322 97.5857 49.3178 98.0723 49.3178 98.6217ZM63.0526 97.7632C63.0526 97.1107 62.9095 96.6185 62.6233 96.2865C62.3372 95.9545 61.9193 95.7885 61.3699 95.7885C60.9692 95.7885 60.6144 95.8744 60.3053 96.0461C60.0077 96.2064 59.773 96.4353 59.6013 96.7329C59.441 97.0306 59.3609 97.374 59.3609 97.7632V102.571H57.9872V94.6724H59.3609V95.9087C59.6242 95.428 59.9504 95.0731 60.3396 94.8442C60.7403 94.6152 61.1982 94.5007 61.7133 94.5007C62.5489 94.5007 63.2071 94.7812 63.6879 95.3421C64.1801 95.8916 64.4263 96.6414 64.4263 97.5915V102.571H63.0526V97.7632ZM65.8066 94.6724H69.7559V95.9603H65.8066V94.6724ZM67.0944 91.9251H68.4681V102.571H67.0944V91.9251ZM74.19 102.743C73.4573 102.743 72.8049 102.571 72.2325 102.228C71.6716 101.873 71.2309 101.386 70.9104 100.768C70.6013 100.15 70.4467 99.4345 70.4467 98.6217C70.4467 97.7975 70.607 97.0763 70.9275 96.4582C71.2595 95.8401 71.7174 95.3593 72.3012 95.0159C72.8964 94.6724 73.5833 94.5007 74.3617 94.5007C75.1401 94.5007 75.804 94.6667 76.3535 94.9987C76.9144 95.3192 77.3437 95.7828 77.6413 96.3895C77.9389 96.9962 78.0877 97.7174 78.0877 98.553C78.0877 98.6332 78.082 98.719 78.0706 98.8106C78.0706 98.8907 78.0706 98.9422 78.0706 98.9651H71.3225V97.7975H76.9888L76.4393 98.5874C76.4737 98.5301 76.508 98.4443 76.5424 98.3298C76.5767 98.2039 76.5939 98.1009 76.5939 98.0207C76.5939 97.5514 76.4966 97.145 76.302 96.8016C76.1188 96.4582 75.8613 96.1892 75.5293 95.9946C75.1973 95.8 74.8081 95.7027 74.3617 95.7027C73.8351 95.7027 73.3829 95.8172 73.0052 96.0461C72.6389 96.2636 72.3527 96.5841 72.1467 97.0077C71.952 97.4198 71.849 97.9292 71.8376 98.5359C71.8376 99.154 71.9349 99.6806 72.1295 100.116C72.3241 100.551 72.6103 100.883 72.988 101.111C73.3658 101.34 73.8237 101.455 74.3617 101.455C74.8997 101.455 75.3747 101.34 75.7868 101.111C76.1989 100.871 76.5481 100.51 76.8343 100.03L77.9504 100.734C77.5383 101.398 77.0174 101.901 76.3878 102.245C75.7697 102.577 75.0371 102.743 74.19 102.743ZM85.0358 97.7632C85.0358 97.1107 84.8927 96.6185 84.6066 96.2865C84.3204 95.9545 83.9026 95.7885 83.3531 95.7885C82.9525 95.7885 82.5976 95.8744 82.2885 96.0461C81.9909 96.2064 81.7562 96.4353 81.5845 96.7329C81.4243 97.0306 81.3441 97.374 81.3441 97.7632V102.571H79.9705V94.6724H81.3441V95.9087C81.6074 95.428 81.9337 95.0731 82.3229 94.8442C82.7235 94.6152 83.1814 94.5007 83.6965 94.5007C84.5322 94.5007 85.1904 94.7812 85.6712 95.3421C86.1634 95.8916 86.4095 96.6414 86.4095 97.5915V102.571H85.0358V97.7632ZM87.7899 94.6724H91.7391V95.9603H87.7899V94.6724ZM89.0777 91.9251H90.4513V102.571H89.0777V91.9251Z","fill","white"],[1,"ContentDetails"],[1,"LocalSlideRight"],[1,"ResourceOneTitle"],[1,"ResourceOneHead"],[1,"ResourceOneContent"],["class","ResourceOneLearnDiv",4,"ngIf"],[1,"CalculatorSlideRight"],[1,"ReportSlideRight"],[1,"ContentSlideRight"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","ResourceSectionMob"],[1,"estimatemarket"],["width","91","height","90","viewBox","0 0 91 90","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","45.5","cy","45","r","45","fill","#3D3D3D"],["d","M45.2589 66.2306C45.6303 66.5791 46.1851 66.5791 46.5565 66.23
1106C49.7236 63.2589 63.4077 49.8185 63.4077 39.4378C63.4077 29.7128 55.5727 21.8291 45.9077 21.8291C36.2427 21.8291 28.4077 29.7128 28.4077 39.4378C28.4077 49.8185 42.0918 63.2589 45.2589 66.2306Z","stroke","white","stroke-width","4"],["d","M51.4987 38.7045C51.4987 41.8111 48.9959 44.3295 45.9084 44.3295C42.821 44.3295 40.3182 41.8111 40.3182 38.7045C40.3182 35.5979 42.821 33.0795 45.9084 33.0795C48.9959 33.0795 51.4987 35.5979 51.4987 38.7045Z","stroke","white","stroke-width","4"],[1,"estimatemarkettitle"],[1,"estimatemarketcontent"],[1,"estimatemarketImg"],[1,"row","carousel","mainestimate"],[1,"market-name-overlay-mobile","market_name_res_mob"],["width","20px",1,"img-responsive",3,"defaultImage","lazyLoad"],["src","ng_assets/images/market_left_arrow.png","alt","Left Arrow",1,"arrow-icon-pointer-no-color"],["src","ng_assets/images/market_right_arrow.png","alt","Right Arrow",1,"arrow-icon-pointer-no-color"],[1,"calculator"],["width","90","height","90","viewBox","0 0 90 90","fill","none","xmlns","http://www.w3.org/2000/svg"],["cx","45","cy","45","r","45","fill","#3D3D3D"],["d","M39.1231 47.9147C39.1231 48.7634 38.8054 49.5774 38.2399 50.1775C37.6744 50.7776 36.9074 51.1147 36.1077 51.1147C35.3079 51.1147 34.541 50.7776 33.9755 50.1775C33.41 49.5774 33.0923 48.7634 33.0923 47.9147C33.0923 47.0661 33.41 46.2521 33.9755 45.652C34.541 45.0519 35.3079 44.7147 36.1077 44.7147C36.9074 44.7147 37.6744 45.0519 38.2399 45.652C38.8054 46.2521 39.1231 47.0661 39.1231 47.9147ZM39.1231 57.5147C39.1231 58.3634 38.8054 59.1774 38.2399 59.7775C37.6744 60.3776 36.9074 60.7147 36.1077 60.7147C35.3079 60.7147 34.541 60.3776 33.9755 59.7775C33.41 59.1774 33.0923 58.3634 33.0923 57.5147C33.0923 56.6661 33.41 55.8521 33.9755 55.252C34.541 54.6519 35.3079 54.3147 36.1077 54.3147C36.9074 54.3147 37.6744 54.6519 38.2399 55.252C38.8054 55.8521 39.1231 56.6661 39.1231 57.5147ZM54.2 51.1147C54.9997 51.1147 55.7667 50.7776 56.3322 50.1775C56.8977 49.5774 57.2154 48.7634 57.2154 47.9147C57.2154 47.0661 56.8977 46.2521 56.3322 45.652C55.7667 45.0519 54.9997 44.7147 54.2 44.7147C53.4003 44.7147 52.6333 45.0519 52.0678 45.652C51.5023 46.2521 51.1846 47.0661 51.1846 47.9147C51.1846 48.7634 51.5023 49.5774 52.0678 50.1775C52.6333 50.7776 53.4003 51.1147 54.2 51.1147ZM57.2154 57.5147C57.2154 58.3634 56.8977 59.1774 56.3322 59.7775C55.7667 60.3776 54.9997 60.7147 54.2 60.7147C53.4003 60.7147 52.6333 60.3776 52.0678 59.7775C51.5023 59.1774 51.1846 58.3634 51.1846 57.5147C51.1846 56.6661 51.5023 55.8521 52.0678 55.252C52.6333 54.6519 53.4003 54.3147 54.2 54.3147C54.9997 54.3147 55.7667 54.6519 56.3322 55.252C56.8977 55.8521 57.2154 56.6661 57.2154 57.5147ZM45.1538 51.1147C45.9536 51.1147 46.7205 50.7776 47.286 50.1775C47.8515 49.5774 48.1692 48.7634 48.1692 47.9147C48.1692 47.0661 47.8515 46.2521 47.286 45.652C46.7205 45.0519 45.9536 44.7147 45.1538 44.7147C44.3541 44.7147 43.5871 45.0519 43.0216 45.652C42.4561 46.2521 42.1384 47.0661 42.1384 47.9147C42.1384 48.7634 42.4561 49.5774 43.0216 50.1775C43.5871 50.7776 44.3541 51.1147 45.1538 51.1147ZM48.1692 57.5147C48.1692 58.3634 47.8515 59.1774 47.286 59.7775C46.7205 60.3776 45.9536 60.7147 45.1538 60.7147C44.3541 60.7147 43.5871 60.3776 43.0216 59.7775C42.4561 59.1774 42.1384 58.3634 42.1384 57.5147C42.1384 56.6661 42.4561 55.8521 43.0216 55.252C43.5871 54.6519 44.3541 54.3147 45.1538 54.3147C45.9536 54.3147 46.7205 54.6519 47.286 55.252C47.8515 55.8521 48.1692 56.6661 48.1692 57.5147ZM37.6154 25.5147C36.4158 25.5147 35.2653 26.0205 34.4171 26.9206C33.5688 27.8208 33.0923 29.0417 33.0923 30.3147V33.5147C33.0923 34.7878 33.5688 36.0087 34.4171 36.9089C35.2653 37.809 36.4158 38.3147 37.6154 38.3147H52.6923C53.8919 38.3147 55.0423 37.809 55.8906 36.9089C56.7388 36.0087 57.2154 34.7878 57.2154 33.5147V30.3147C57.2154 29.0417 56.7388 27.8208 55.8906 26.9206C55.0423 26.0205 53.8919 25.5147 52.6923 25.5147H37.6154ZM36.1077 30.3147C36.1077 29.89
1104 36.2665 29.4834 36.5493 29.1834C36.832 28.8833 37.2155 28.7147 37.6154 28.7147H52.6923C53.0922 28.7147 53.4756 28.8833 53.7584 29.1834C54.0411 29.4834 54.2 29.8904 54.2 30.3147V33.5147C54.2 33.9391 54.0411 34.3461 53.7584 34.6461C53.4756 34.9462 53.0922 35.1147 52.6923 35.1147H37.6154C37.2155 35.1147 36.832 34.9462 36.5493 34.6461C36.2665 34.3461 36.1077 33.9391 36.1077 33.5147V30.3147ZM63.2461 62.3147C63.2461 64.4365 62.4519 66.4713 61.0382 67.9716C59.6244 69.4719 57.707 70.3147 55.7077 70.3147H34.6C32.6007 70.3147 30.6832 69.4719 29.2695 67.9716C27.8558 66.4713 27.0615 64.4365 27.0615 62.3147V27.1147C27.0615 24.993 27.8558 22.9582 29.2695 21.4579C30.6832 19.9576 32.6007 19.1147 34.6 19.1147H55.7077C57.707 19.1147 59.6244 19.9576 61.0382 21.4579C62.4519 22.9582 63.2461 24.993 63.2461 27.1147V62.3147ZM60.2308 27.1147C60.2308 25.8417 59.7542 24.6208 58.906 23.7206C58.0577 22.8205 56.9073 22.3147 55.7077 22.3147H34.6C33.4004 22.3147 32.2499 22.8205 31.4017 23.7206C30.5534 24.6208 30.0769 25.8417 30.0769 27.1147V62.3147C30.0769 63.5878 30.5534 64.8087 31.4017 65.7089C32.2499 66.609 33.4004 67.1147 34.6 67.1147H55.7077C56.9073 67.1147 58.0577 66.609 58.906 65.7089C59.7542 64.8087 60.2308 63.5878 60.2308 62.3147V27.1147Z","fill","white"],[1,"calculatorttitle"],[1,"calculatorcontent"],[1,"calculatorImg"],[1,"brandedreports"],["d","M29.9992 33.4028C29.9992 33.9222 29.7898 34.4203 29.4171 34.7875C29.0443 35.1548 28.5388 35.3611 28.0117 35.3611C27.4846 35.3611 26.9791 35.1548 26.6063 34.7875C26.2336 34.4203 26.0242 33.9222 26.0242 33.4028C26.0242 32.8834 26.2336 32.3853 26.6063 32.018C26.9791 31.6508 27.4846 31.4444 28.0117 31.4444C28.5388 31.4444 29.0443 31.6508 29.4171 32.018C29.7898 32.3853 29.9992 32.8834 29.9992 33.4028ZM28.0197 52.3333C27.4925 52.3333 26.987 52.5397 26.6143 52.9069C26.2415 53.2742 26.0322 53.7723 26.0322 54.2917C26.0322 54.8111 26.2415 55.3092 26.6143 55.6764C26.987 56.0437 27.4925 56.25 28.0197 56.25H41.2697C41.7968 56.25 42.3023 56.0437 42.675 55.6764C43.0478 55.3092 43.2572 54.8111 43.2572 54.2917C43.2572 53.7723 43.0478 53.2742 42.675 52.9069C42.3023 52.5397 41.7968 52.3333 41.2697 52.3333H28.0197ZM26.0322 43.8472C26.0322 43.3278 26.2415 42.8297 26.6143 42.4625C26.987 42.0952 27.4925 41.8889 28.0197 41.8889H41.2697C41.5307 41.8889 41.7891 41.9395 42.0302 42.038C42.2714 42.1364 42.4905 42.2806 42.675 42.4625C42.8596 42.6443 43.006 42.8602 43.1059 43.0978C43.2057 43.3354 43.2572 43.59 43.2572 43.8472C43.2572 44.1044 43.2057 44.359 43.1059 44.5966C43.006 44.8342 42.8596 45.0501 42.675 45.232C42.4905 45.4138 42.2714 45.5581 42.0302 45.6565C41.7891 45.7549 41.5307 45.8056 41.2697 45.8056H28.0197C27.4925 45.8056 26.987 45.5992 26.6143 45.232C26.2415 44.8647 26.0322 44.3666 26.0322 43.8472ZM52.45 68C53.6607 67.9919 54.8316 67.5727 55.7651 66.8131C56.6987 66.0535 57.338 64.9999 57.5751 63.8301L58.8471 57.5556H66.3625C67.5924 57.5556 68.772 57.0741 69.6417 56.2172C70.5114 55.3603 71 54.198 71 52.9861V37.3482C71 35.7874 70.3728 34.2901 69.2554 33.1837C68.1381 32.0774 66.6215 31.452 65.0375 31.4444V31.434H51.125V26.875C51.125 25.3169 50.4968 23.8225 49.3786 22.7207C48.2604 21.619 46.7439 21 45.1625 21H23.9625C22.3811 21 20.8646 21.619 19.7464 22.7207C18.6282 23.8225 18 25.3169 18 26.875V59.5139C18 61.7645 18.9074 63.923 20.5225 65.5145C22.1377 67.1059 24.3283 68 26.6125 68H52.4129H52.45ZM21.975 26.875C21.975 26.3556 22.1844 25.8575 22.5571 25.4902C22.9299 25.123 23.4354 24.9167 23.9625 24.9167H45.1625C45.6896 24.9167 46.1951 25.123 46.5679 25.4902C46.9406 25.8575 47.15 26.3556 47.15 26.875V62.8143C47.15 63.2504 47.203 63.676 47.309 64.0833H26.6125C25.3826 64.0833 24.203 63.6019 23.3333 62.745C22.4636 61.888 21.975 60.7258 21.975 59.5139V26.875ZM51.125 35.3507H59.3665C59.2679 35.6249 59.1899 35.9059 59.1333 36.1914L53.677 63.0624C53.6156 63.3724 53.439 63.6487 53.1819 63.8373C52.9248 64.0259 52.6055 64.1132 52.2865 64.0822C51.9674 64.0512 51.6716 63.9041 51.4568 63.6696C51.2421 63.4352 51.1237 63.1302 51.125 62.8143V35.3507ZM63.0315 36.9591C63.1303 36.4761 63.4077 36.0464 63.8099 35.7536C64.2121 35.4607 64.7104 35.3256 65.2081 35.3744C65.7057 35.4232 66.1672 35.6525 66.503 36.0177C66.8387 36.3829 67.0248 36.858 67.025 37.3508V52.9861C67.025 53.1592 66.9552 53.3253 66.831 53.4477C66.7067 53.5701 66.5382 53.6389 66.3625 53.6389H59.6448L63.0315 36.9591Z","fill","white"],[1,"brandedreportttitle"],[1,"brandedreportcontent"],[1,"brandedreportImg"],[1,"contentlibrary"],["d","M30.5627 49.9341C33.5388 49.9341 35.9515 47.3737 35.9515 44.2153C35.9515 41.057 33.5388 38.4966 30.5627 38.4966C27.5865 38.4966 25.1738 41.057 25.1738 44.2153C25.1738 47.3737 27.5865 49.9341 30.5627 49.9341Z","stroke","white","stroke-width","3.375","stroke-linecap","round","stroke-linejoin","round"],["d","M59.3029 32.7778C62.279 32.7778 64.6917 30.2175 64.6917 27.0591C64.6917 23.9007 62.279 21.3403 59.3029 21.3403C56.3267 21.3403 53.9141 23.9007 53.9141 27.0591C53.9141 30.2175 56.3267 32.7778 59.3029 32.7778Z","stroke","white","stroke-width","3.375","stroke-linecap","round","stroke-linejoin","round"],["d","M59.3029 67.0903C62.279 67.0903 64.6917 64.53 64.6917 61.3716C64.6917 58.2132 62.279 55.6528 59.3029 55.6528C56.3267 55.6528 53.9141 58.2132 53.9141 61.3716C53.9141 64.53 56.3267 67.0903 59.3029 67.0903Z","stroke","white","stroke-width","3.375","stroke-linecap","round","stroke-linejoin","round"],["d","M35.2588 47.0186L54.6069 58.568M54.6069 29.8623L35.2588 41.4118","stroke","white","stroke-width","4","stroke-linecap","round","stroke-linejoin","round"],[1,"contentlibrarytitle"],[1,"contentlibrarycontent"],[1,"contentlibrary
11Img"],[1,"ResourceOneLearnDiv"],[1,"ResourceOneLearnBtn",3,"mouseover","mouseout","click"]],template:function(i,o){if(i&1){let s=T();l(0,"div",24)(1,"div",25)(2,"div",26),f(3," An All-in-One Resource"),c()(),l(4,"div",27)(5,"div",28)(6,"div",29),_("mouseenter",function(u){return h(s),m(o.ResourceVisible(u))})("mouseleave",function(u){return h(s),m(o.ResourceInVisible(u))}),l(7,"div",30)(8,"div",31)(9,"div",32),y(10,"img",33),l(11,"div",34),f(12),k(13,S2,1,2,"img",35),y(14,"img",36),c(),l(15,"div",37)(16,"div",38)(17,"div",39)(18,"div",40)(19,"div",41,0),y(21,"img",42),l(22,"div",43),f(23),k(24,w2,1,2,"img",35),y(25,"img",36),c()(),l(26,"div",44,1),y(28,"img",45),c(),l(29,"div",46,2),y(31,"img",47),l(32,"div",43),f(33),k(34,x2,1,2,"img",35),y(35,"img",36),c()()()()(),l(36,"div",48),_("click",function(u){return h(s),m(o.EstimatePrevSlide(u,"Desktop"))}),y(37,"img",49),c(),l(38,"div",50),_("click",function(u){return h(s),m(o.EstimateNextImageSilde(u,"Desktop"))}),y(39,"img",51),c()(),l(40,"div",52)(41,"div",38)(42,"div",39)(43,"div",40)(44,"div",53,3),y(46,"img",54),c(),l(47,"div",53,4),y(49,"img",45),c(),l(50,"div",53,5),y(52,"img",47),c()()()(),l(53,"div",48),_("click",function(u){return h(s),m(o.CalculatorPrevSilde(u,"Desktop"))}),y(54,"img",49),c(),l(55,"div",50),_("click",function(u){return h(s),m(o.CalculatorNextImageSilde(u,"Desktop"))}),y(56,"img",51),c()(),l(57,"div",55)(58,"div",38)(59,"div",39)(60,"div",40)(61,"div",53,6),y(63,"img",54),c(),l(64,"div",53,7),y(66,"img",45),c(),l(67,"div",53,8),y(69,"img",47),c()()()(),l(70,"div",48),_("click",function(u){return h(s),m(o.BrandedPrevSilde(u,"Desktop"))}),y(71,"img",49),c(),l(72,"div",50),_("click",function(u){return h(s),m(o.BrandedNextImageSilde(u,"Desktop"))}),y(73,"img",51),c()(),l(74,"div",56)(75,"div",38)(76,"div",39)(77,"div",40)(78,"div",53,9),y(80,"img",54),c(),l(81,"div",53,10),y(83,"img",45),c(),l(84,"div",53,11),y(86,"img",47),c()()()(),l(87,"div",48),_("click",function(u){return h(s),m(o.ContentPrevSilde(u,"Desktop"))}),y(88,"img",49),c(),l(89,"div",50),_("click",function(u){return h(s),m(o.ContentNextImageSilde(u,"Desktop"))}),y(90,"img",51),c()()()()(),l(91,"div",57)(92,"div",58)(93,"div",59),_("click",function(u){return h(s),m(o.EstimateMenuChangeFun(u,"Local"))})("mouseenter",function(){return h(s),m(o.hover("local"))})("mouseleave",function(){return h(s),m(o.hoverleave("local"))}),he(),l(94,"svg",60),y(95,"ellipse",61)(96,"path",62)(97,"path",63)(98,"path",64),c()(),pe(),l(99,"div",65),_("click",function(u){return h(s),m(o.EstimateMenuChangeFun(u,"Calculator"))})("mouseenter",function(){return h(s),m(o.hover("Calculator"))})("mouseleave",function(){return h(s),m(o.hoverleave("Calculator"))}),he(),l(100,"svg",60),y(101,"ellipse",61)(102,"path",66)(103,"path",67),c()(),pe(),l(104,"div",65),_("click",function(u){return h(s),m(o.EstimateMenuChangeFun(u,"Reports"))})("mouseenter",function(){return h(s),m(o.hover("Reports"))})("mouseleave",function(){return h(s),m(o.hoverleave("Reports"))}),he(),l(105,"svg",60),y(106,"ellipse",61)(107,"path",68)(108,"path",69),c()(),pe(),l(109,"div",65),_("click",function(u){return h(s),m(o.EstimateMenuChangeFun(u,"Content"))})("mouseenter",function(){return h(s),m(o.hover("Content"))})("mouseleave",function(){return h(s),m(o.hoverleave("Content"))}),he(),l(110,"svg",60),y(111,"ellipse",61)(112,"path",70)(113,"path",71)(114,"path",72)(115,"path",73)(116,"path",74),c()()(),pe(),l(117,"div",75)(118,"div",76)(119,"div",77),f(120,"FOR YOUR MARKET"),c(),l(121,"div",78),f(122,"Instant Estimates, Direct Answers"),c(),l(123,"div",79),f(124," Loaded with county-specific title & escrow fees, and local property taxes for your market, you\u2019re set to remove \u201CI\u2019ll get back to you\u201D from your vocabulary. "),c(),k(125,k2,3,2,"div",80),c(),l(126,"div",81)(127,"div",77),f(128,"BEST-IN-CLASS CALCULATORS"),c(),l(129,"div",78),f(130,"Help Buyers & Sellers Alike"),c(),l(131,"div",79),f(132," The financial clarity your clients need, in the palm of your hand. Net Sheets, Closing Costs, Rent vs Buy, Monthly Affordability, Multiple Offers & much more! "),c(),k(133,E2,3,2,"div",80),c(),l(134,"div",82)(135,"div",77),f(136,"BRANDED REPORTS"),c(),l(137,"div",78),f(138,"Their Numbers, Your Brand"),c(),l(139,"div",79),f(140," Build rapport with every open house, listing, or buyer consult. Support your clients through important decisions with branded reports ranging from address details to financial information. "),c(),k(141,D2,3,2,"div",80),c(),l(142,"div",83)(143,"div",77),f(144,"ENDLESS CONTENT LIBRARY"),c(),l(145,"div",78),f(146,"Provide Insights, Stay Engaged"),c(),l(147,"div",79),f(148," Updated regularly, access a collection of highly customizable, branded content created for Social Media Engagement, Email Content, Landing Pages and more! "),c(),k(149,T2,3,2,"div",80),c()()()()()(),l(150,"div",84)(151,"div",85),he(),l(152,"svg",86),y(153,"circle",87)(154,"path",88)(155,"path",89),c(),pe(),l(156,"div",90),f(157," For YOUR Market "),c(),l(158,"div",91),f(159," Loaded with county-specific title & escrow fees, and local property taxes for your market, you\u2019re set to remove \u201CI\u2019ll get back to you\u201D from your vocabulary. "),c(),l(160,"div",92)(161,"div",38)(162,"div",39)(163,"div",93)(164,"div",53,12),y(166,"img",54),l(167,"div",94),f(168),y(169,"img",95)(170,"img",36),c()(),l(171,"div",53,13),y(173,"img",45),c(),l(174,"div",53,14),y(176,"img",47),l(177,"div",94),f(178),y(179,"img",95)(180,"img",36),c()()()()(),l(181,"div",48),_("click",function(u){return h(s),m(o.EstimatePrevSlide(u,"Mobile"))}),y(182,"img",96),c(),l(183,"div",50),_("click",function(u){return h(s),m(o.EstimateNextImageSilde(u,"Mobile"))}),y(184,"img",97),c()()(),l(185,"div",98),he(),l(186,"svg",99),y(187,"circle",100)(188,"path",101),c(),pe(),l(189,"div",102),f(190," Best In-Class Calculators "),c(),l(191,"div",103),f(192," The financial clarity your clients need, in the palm of your hand. Net Sheets, Closing Costs, Rent vs Buy, Monthly Affordability, Multiple Offers & much more! "),c(),l(193,"div",104)(194,"div",38)(195,"div",39)(196,"div",93)(197,"div",53,15),y(199,"img",54),c(),l(200,"div",53,16),y(202,"img",45),c(),l(203,"div",53,17),y(205,"img",47),c()()()(),l(206,"div",48),_("click",function(u){return h(s),m(o.CalculatorPrevSilde(u,"Mobile"))}),y(207,"img",96),c(),l(208,"div",50),_("click",function(u){return h(s),m(o.CalculatorNextImageSilde(u,"Mobile"))}),y(209,"img",97),c()()(),l(210,"div",105),he(),l(211,"svg",99),y(212,"circle",100)(213,"path",106),c(),pe(),l(214,"div",107),f(215," Branded Reports "),c(),l(216,"div",108),f(217," Build your rapport with every open house, listing, or buyer consult. Connect to the reports that give clear data personalized for your client - ranging from address-specifics to financials. "),c(),l(218,"div",109)(219,"div",38)(220,"div",39)(221,"div",93)(222,"div",53,18),y(224,"img",54),c(),l(225,"div",53,19),y(227,"img",45),c(),l(228,"div",53,20),y(230,"img",47),c()()()(),l(231,"div",48),_("click",function(u){return h(s),m(o.BrandedPrevSilde(u,"Mobile"))}),y(232,"img",96),c(),l(233,"div",50),_("click",function(u){return h(s),m(o.BrandedNextImageSilde(u,"Mobile"))}),y(234,"img",97),c()()(),l(235,"div",110),he(),l(236,"svg",99),y(237,"circle",100)(238,"path",111)(239,"path",112)(240,"path",113)(241,"path",114),c(),pe(),l(242,"div",115),f(243," Endless Content Library "),c(),l(244,"div",116),f(245," Updated regularly, access a collection of highly customizable, branded content created for Social Media Engagement, Email Content, Landing Pages and more! "),c(),l(246,"div",117)(247,"div",38)(248,"div",39)(249,"div",93)(250,"div",53,21),y(252,"img",54),c(),l(253,"div",53,22),y(255,"img",45),c(),l(256,"div",53,23),y(258,"img",47),c()()()(),l(259,"div",48),_("click",function(u){return h(s),m(o.ContentPrevSilde(u,"Mobile"))}),y(260,"img",96),c(),l(261,"div",50),_("click",function(u){return h(s),m(o.ContentNextImageSilde(u,"Mobile"))}),y(262,"img",97),c()()()()()}i&2&&(d(6),g("@moveImage",bt(105,Hl,o.animationState,xc(101,y2,o.Imagewidth,o.Imageheight,o.FullImageHeight))),d(4),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/market_device_full.png")("@ImageAnimation",bt(111,Hl,o.state,bt(108,b2,o.width,o.transform)))("@AnimateImg",o.AnimateImg),d(),x(o.AnimateImgtxt),d(),N("",o.market_name," "),d(),g("ngIf",o.one_label),d(2),x(o.LocalContent),g("@SlideAnimateImg",o.SlideAnimate),d(8),N("",o.market_name," "),d(),g("ngIf",o.one_label),d(4),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/market_estimate_calc.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/market_estimate_res.png"),d(2),N("",o.market_name," "),d(),g("ngIf",o.one_label),d(6),x(o.CalculatorContent),d(6),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/calculator_menu.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/calculator_buyer.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/calculator_review.png"),d(5),x(o.ReportsContent),d(6),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/full_report.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/template_list.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/report_result.png"),d(5),x(o.ContentContent),d(6),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/content_template.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/content_post.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/content_standard.png"),d(5),g("@MenuListContent",o.menuList),d(),g("@ImageAnimationMenu",bt(116,Hl,o.state,ie(114,C2,o.transform))),d(2),x(o.LocalStyle),d(),_e("fill",o.Local),d(5),x(o.CalculatorStyle),d(),_e("fill",o.Calculator),d(4),x(o.ReportsStyle),d(),_e("fill",o.Reports),d(4),x(o.ContentStyle),d(),_e("fill",o.Content),d(7),x(o.LocalContent),g("@slideRightToLeft",o.SlideRight),d(7),g("ngIf",o.ShowLearnMore),d(),x(o.CalculatorContent),d(7),g("ngIf",o.ShowLearnMore),d(),x(o.ReportsContent),d(7),g("ngIf",o.ShowLearnMore),d(),x(o.ContentContent),d(7),g("ngIf",o.ShowLearnMore),d(17
11),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/market_estimate.png"),d(2),N("",o.market_name," "),d(),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","https://palmagent.com/2/dash_api_v4/images/paone-black.png"),d(4),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/market_estimate_calc.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/market_estimate_res.png"),d(2),N("",o.market_name," "),d(),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","https://palmagent.com/2/dash_api_v4/images/paone-black.png"),d(20),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/calculator_menu.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/calculator_buyer.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/calculator_review.png"),d(19),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/full_report.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/template_list.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/report_result.png"),d(22),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/content_template.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/content_post.png"),d(3),g("defaultImage","ng_assets/images/market_device_full_trans.png")("lazyLoad","ng_assets/images/content_standard.png"))},dependencies:[we,De,$e,It],encapsulation:2,data:{animation:[ue("moveImage",[H("center",R({width:"{{Imagewidth}}px",height:"{{Imageheight}}px",borderRadius:"50%",marginTop:"10%",marginBottom:"10%"}),{params:{Imagewidth:500,Imageheight:500}}),H("left",R({width:"95%",height:"{{FullImageHeight}}px",borderRadius:"24px",marginTop:"0",marginBottom:"0"}),{params:{FullImageHeight:660}}),ge("center => left",[fe(".3s ease-in-out")]),ge("left => center",[fe(".3s ease-in-out")])]),ue("ImageAnimation",[H("center",R({width:"{{width}}px",minHeight:"100%",transition:"transform .5s",display:"block",paddingTop:"18%"}),{params:{width:340}}),H("left",R({width:"{{width}}px",transform:"{{transform}}"}),{params:{width:340,transform:"translate(-58%, -25%)"}})]),ue("ImageAnimationMenu",[H("center",R({minHeight:"100%",transition:"transform .4s",display:"block",transform:"translate(0%, 20%)"}),{params:{width:340}}),H("left",R({transform:"translate(-0%, -0%)"}),{params:{transform:"translate(-58%, -15%)"}})]),ue("MenuListContent",[H("hide",R({display:"none"})),H("show",R({display:"flex"})),ge("hide => show",[fe("5s")]),ge("show => hide",[fe("5s")])]),ue("slideRightToLeft",[H("start",R({transform:"translate(150%, 25%)",minHeight:"100%",transition:"transform .4s",display:"block",opacity:0}
11)),H("end",R({transform:"translate(0%, 0%)",opacity:1})),ge("start => end",[fe(".3s",ta([R({transform:"translateX(200%)",opacity:0,offset:0}),R({transform:"translateX(100%)",opacity:.5,offset:.25}),R({transform:"translateX(50%)",opacity:.5,offset:.75}),R({transform:"translateX(0%)",opacity:1,offset:1})]))]),ge("end => start",[fe(".5s")])]),ue("AnimateImg",[H("show",R({display:"block",transition:"transform .5s"})),H("hide",R({display:"none"})),ge("show => hide",[fe(".1s")]),ge("hide => show",[fe(".5s")])]),ue("SlideAnimateImg",[H("hide",R({display:"none"})),H("show",R({display:"block"})),ge("hide => show",[fe(".1s")]),ge("show => hide",[fe(".1s")])]),ue("ArrowAnimateImg",[H("hide",R({right:"-40px",transform:" translate(40%, -100%)"})),H("show",R({right:"-20px",transform:" translate(0%, -100%)"})),ge("hide => show",[fe(".6s")]),ge("show => hide",[fe(".5s")])])]}});let n=r;return n})();var M2=["videoPlayer"],I2=["VideoThumb"];function A2(n,r){if(n&1){let e=T();l(0,"div",5)(1,"div",6),f(2,` "This App is Real Estate's Secret Weapon!" `),c(),l(3,"div",7)(4,"span",8),f(5,"-Tom Ferry,"),c(),f(6," The #1 Educator in Real Estate and Best-Selling Author "),c(),l(7,"div",9),y(8,"img",10,0)(10,"div",11),l(11,"div",12),_("mouseover",function(){h(e);let i=p();return m(i.PlayVideoFun())})("mouseout",function(){h(e);let i=p();return m(i.PlayVideoFun())})("click",function(){h(e);let i=p();return m(i.PlayTomferryVideoFun())}),l(12,"div",13),he(),l(13,"svg",14),y(14,"path",15),c()(),pe(),l(15,"div",16),he(),l(16,"svg",14),y(17,"path",17),c()()(),pe(),l(18,"div",18)(19,"video",19,1),_("ended",function(){h(e);let i=p();return m(i.videoEnded())}),f(21," Your browser does not support the video tag. "),c()()(),l(22,"div",20)(23,"span",8),f(24,"-Tom Ferry,"),c(),f(25," The #1 Educator in Real Estate and Best-Selling Author "),c()()}if(n&2){let e=p();d(),x(e.background),d(7),x(e.TomferryVideo),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad","ng_assets/images/market_video_thumb.png"),d(2),x(e.TomferryVideo),d(),x(e.TomferryVideo),g("@PlayBackGround",e.PlayBackGround?"open":"closed"),d(),g("@UnSelect",e.Select?"open":"closed"),d(3),g("@Select",e.UnSelect?"open":"closed"),d(3),x(e.VideoStyle),d(),g("src",e.MarketVideoLink,Y)("autoplay",e.playOption)}}var pm=(()=>{let r=class r{PlayVideoFun(){this.Select=!this.Select,this.UnSelect=!this.UnSelect,this.PlayBackGround=!this.PlayBackGround}constructor(t,i){this.renderer=t,this.globalService=i,this.Select=!0,this.UnSelect=!0,this.PlayBackGround=!0,this.background={},this.MarketLightColor="",this.MarkettDarkColor="",this.TomferryVideo="",this.VideoStyle={},this.VideoAttr="",this.MarketVideoLink="",this.playOption="",this.height="",this.market_code="",this.show_section=!0,this.screenWidth=window.innerWidth}ngOnInit(){this.MarkettDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.market_code=this.globalService.getmarket_code(),(this.market_code=="STP"||this.market_code=="CL"||this.market_code=="FIJ"||this.market_code=="FIA"||this.market_code=="WF"||this.market_code=="TFA"||this.market_code=="RA"||this.market_code=="EMC")&&(this.show_section=!1),setTimeout(()=>{this.updateScreenWidth()},1e3)}onResize(t){setTimeout(()=>{this.updateScreenWidth()},1e3)}updateScreenWidth(){this.screenWidth=window.innerWidth,this.screenWidth<=768?this.background={" color":"transparent","background-clip":"text","-webkit-background-clip":"text","background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`}:this.background={},this.market_code==="STZ"&&this.setStyleForClass("VideoSection","padding-bottom","0")}PlayTomferryVideoFun(){let t=this.VideoThumb.nativeElement;this.height=t.offsetHeight,this.TomferryVideo="display:none;",this.VideoStyle={display:"block",height:`${this.height}px`},this.MarketVideoLink="https://d2w998roo7cij6.cloudfront.net/download-website/videos/tomferry_welcome_video.mp4",this.playOption="autoplay"}videoEnded(){this.TomferryVideo="display:flex;",this.VideoStyle={display:"none"},this.clearCurrentTime(0),this.MarketVideoLink=""}clearCurrentTime(t){let i=this.videoPlayer.nativeElement;i.currentTime=t,this.playOption=""}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(xe))},r.\u0275cmp=K({type:r,selectors:[["app-secret-weapon-section"]],viewQuery:function(i,o){if(i&1&&(L(M2,5),L(I2,5)),i&2){let s;F(s=O())&&(o.videoPlayer=s.first),F(s=O())&&(o.VideoThumb=s.first)}},hostBindings:function(i,o){i&1&&_("resize",function(a){return o.onResize(a)},Gi)},decls:3,vars:1,consts:[["VideoThumb",""],["videoPlayer",""],["rel","stylesheet","href",bi`/branded-site/assets/css/Brand_home.css`],[1,"Brand_secret_weapon_component"],["class","col-lg-12 col-md-12 col-sm-12 col-xs-12 SecretSection container WholeBodyDiplay",4,"ngIf"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","SecretSection","container","WholeBodyDiplay"],[1,"SecretTitle"],[1,"SecretContent"],[1,"SecretContentHead"],[1,"VideoSection"],["id","video_thumb",1,"video_thumb","display-block",3,"defaultImage","lazyLoad"],[1,"PlayIconBlur","WholeBodyDiplay"],[1,"PlayIcon","WholeBodyDiplay",3,"mouseover","mouseout","click"],[1,"PlayUnSelect"],["width","30","height","41","viewBox","0 0 30 41","fill","none","xmlns","http://www.w3.org/2000/svg",1,"PlaySelectIcon"],["d","M0 40.4193V0L29.7528 20.9314L0 40.4193Z","fill","white"],[1,"PlaySelect"],["d","M0 40.4193V0L29.7528 20.9314L0 40.4193Z","fill","black"],[1,"video_box"],["width","100%","height","100%","preload","none","controls","","disablepictureinpicture","","controlslist","nodownload noplaybackrate",1,"marketvideo",3,"ended","src","auto
11play"],[1,"SecretContentMob"]],template:function(i,o){i&1&&(y(0,"link",2),l(1,"div",3),k(2,A2,26,17,"div",4),c()),i&2&&(d(2),g("ngIf",o.show_section))},dependencies:[we,De,$e,It],encapsulation:2,data:{animation:[ue("Select",[H("open",R({display:"none"})),H("closed",R({display:"block"}))]),ue("UnSelect",[H("open",R({display:"block"})),H("closed",R({display:"none"}))]),ue("PlayBackGround",[H("open",R({background:"none",display:"flex"})),H("closed",R({background:"#FFFFFF",cursor:"pointer"}))])]}});let n=r;return n})();var Wl=(()=>{let r=class r{constructor(t,i,o){this.renderer=t,this.globalService=i,this.apiservice=o,this.QROpen="open",this.AppStore1=!0,this.AppStore2=!0,this.PlayStore1=!0,this.PlayStore2=!0,this.QrAnimationStatus=!0,this.MarketLightColor="",this.MarketDarkColor="",this.AppLocalStyle="",this.PlayLocalStyle="",this.market_name="",this.Market_QrCode="",this.ApiUrl="",this.formData={},this.AvaiableDeviceList="IOS, Android, and Web",this.enable_mobile_website="",this.market_code="",this.AppstoreValue="",this.playstoreValue=""}ngOnInit(){setTimeout(()=>{this.MarketDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.playstoreValue=this.globalService.getplaystore(),this.AppstoreValue=this.globalService.getappstore(),this.market_name=this.globalService.getMarketName(),this.Market_QrCode=this.globalService.getmarket_qrcode(),this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.market_code=this.globalService.getmarket_code(),this.market_code=="EMT"&&(this.market_name=this.market_name+" ONE"),this.playstoreValue==""&&this.AppstoreValue==""?this.setStyleForClass("AppStoreSection","display","none"):this.playstoreValue==""?this.setStyleForClass("PlayStoreBtn","display","none"):this.AppstoreValue==""&&this.setStyleForClass("AppStoreBtn","display","none"),this.enable_mobile_website=="on"&&(this.AvaiableDeviceList="Web")},500)}QrCodeVisible(t){this.QrCodeAnimation()}QrCodeInVisible(t){this.QrCodeAnimationClose()}QrCodeAnimation(){this.QrAnimationStatus==!0&&(this.QROpen=this.QROpen==="open"?"closed":"open",this.QrAnimationStatus=!1)}QrCodeAnimationClose(){this.QrAnimationStatus==!1&&(this.QROpen=this.QROpen==="closed"?"open":"closed",this.QrAnimationStatus=!0)}AppStoreFun(t){this.AppStore1=!this.AppStore1,this.AppStore2=!this.AppStore2,t=="hover"?this.AppLocalStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`:this.AppLocalStyle=""}PlayStoreFun(t){this.PlayStore1=!this.PlayStore1,this.PlayStore2=!this.PlayStore2,t=="hover"?this.PlayLocalStyle=`filter: drop-shadow(0px 6px 8px ${this.MarketLightColor});`:this.PlayLocalStyle=""}BtnTracking(t){this.WebsiteBtnTrackingFun(t)}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i,website_type:"new"};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(xe),w(Ie))},r.\u0275cmp=K({type:r,selectors:[["app-work-anywhere-section"]],decls:47,vars:22,consts:[[1,"Brand_work_anywhere_component"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","WorkFromSection","container","WholeBodyDiplay"],[1,"WorkFromTitle"],[1,"WorkFromContent"],[1,"AppStoreSection"],[1,"AppStoreBtn",3,"mouseover","mouseout","click"],["target","_blank",3,"href"],["id","AppStoreBtn","width","208","height","68","viewBox","0 0 208 68","fill","none","xmlns","http://www.w3.org/2000/svg",1,"AppStoreBtnIcon"],["width","208","height","68","rx","2","fill","url(#app_store_svg)",1,"AppStoreSvg1"],["width","208","height","68","rx","2","fill","url(#app_store_svg_hover)",1,"AppStoreSvg1"],["d","M54.6621 51.4754C52.5945 53.4807 50.337 53.1641 48.1638 52.2142C45.8641 51.2432 43.7543 51.201 41.328 52.2142C38.2898 53.5229 36.6863 53.143 34.8719 51.4754C24.5759 40.8578 26.095 24.6888 37.7835 24.0977C40.6317 24.2455 42.615 25.6598 44.2817 25.7864C46.7713 25.2798 49.1555 23.8233 51.8138 24.0133C54.9997 24.2666 57.4049 25.5331 58.9873 27.8128C52.4046 31.7601 53.9659 40.4357 60 42.8632C58.7974 46.0294 57.2361 49.1746 54.641 51.4965L54.6621 51.4754ZM44.0708 23.9711C43.7543 19.2639 47.5731 15.38 51.9615 15C52.5734 20.446 47.0245 24.4988 44.0708 23.9711Z","fill","white"],["d","M75.75 24H73.0568V15.2727H75.8693C76.7159 15.2727 77.4403 15.4474 78.0426 15.7969C78.6449 16.1435 79.1065 16.642 79.4276 17.2926C79.7486 17.9403 79.9091 18.7159 79.9091 19.6193C79.9091 20.5284 79.7472 21.3111 79.4233 21.9673C79.0994 22.6207 78.6278 23.1236 78.0085 23.4759C77.3892 23.8253 76.6364 24 75.75 24ZM74.1136 23.0625H75.6818C76.4034 23.0625 77.0014 22.9233 77.4759 22.6449C77.9503 22.3665 78.304 21.9702 78.5369 21.456C78.7699 20.9418 78.8864 20.3295 78.8864 19.6193C78.8864 18.9148 78.7713 18.3082 78.5412 17.7997C78.3111 17.2884 77.9673 16.8963 77.5099 16.6236C77.0526 16.348 76.483 16.2102 75.8011 16.2102H74.1136V23.0625ZM84.2045 24.1364C83.6136 24.1364 83.0952 23.9957 82.6491 23.7145C82.206 23.4332 81.8594 23.0398 81.6094 22.5341C81.3622 22.0284 81.2386 21.4375 81.2386 20.7614C81.2386 20.0795 81.3622 19.4844 81.6094 18.9759C81.8594 18.4673 82.206 18.0724 82.6491 17.7912C83.0952 17.5099 83.6136 17.3693 84.2045 17.3693C84.7955 17.3693 85.3125 17.5099 85.7557 17.7912C86.2017 18.0724 86.5483 18.4673 86.7955 18.9759C87.0455 19.4844 87.1705 20.0795 87.1705 20.7614C87.1705 21.4375 87.0455 22.0284 86.7955 22.5341C86.5483 23.0398 86.2017 23.4332 85.7557 23.7145C85.3125 23.9957 84.7955 24.1364 84.2045 24.1364ZM84.2045 23.233C84.6534 23.233 85.0227 23.1179 85.3125 22.8878C85.6023 22.6577 85.8168 22.3551 85.956 21.9801C86.0952 21.6051 86.1648 21.1989 86.1648 20.7614C86.1648 20.3239 86.0952 19.9162 85.956 19.5384C85.8168 19.1605 85.6023 18.8551 85.3125 18.6222C85.0227 18.3892 84.6534 18.2727 84.2045 18.2727C83.7557 18.2727 83.3864 18.3892 83.0966 18.6222C82.8068 18.8551 82.5923 19.1605 82.4531 19.5384C82.3139 19.9162 82.2443 20.3239 82.2443 20.7614C82.2443 21.1989 82.3139 21.6051 82.4531 21.9801C82.5923 22.3551 82.8068 22.6577 83.0966 22.8878C83.3864 23.1179 83.7557 23.233 84.2045 23.233ZM89.9659 24L87.9716 17.4545H89.0284L90.4432 22.4659H90.5114L91.9091 17.4545H92.983L94.3636 22.4489H94.4318L95.8466 17.4545H96.9034L94.9091 24H93.9205L92.4886 18.9716H92.3864L90.9545 24H89.9659ZM99.2386 20.0625V24H98.233V17.4545H99.2045V18.4773H99.2898C99.4432 18.1449 99.6761 17.8778 99.9886 17.6761C100.301 17.4716 100.705 17.3693 101.199 17.3693C101.642 17.3693 102.03 17.4602 102.362 17.642C102.695 17.821 102.953 18.0938 103.138 18.4602C103.322 18.8239 103.415 19.2841 103.415 19.8409V24H102.409V19.9091C102.409 19.3949 102.276 18.9943 102.009 18.7074C101.741 18.4176 101.375 18.2727 100.909 18.2727C100.588 18.2727 100.301 18.3423 100.048 18.4815C99.7983 18.6207 99.6009 18.8239 99.456 19.0909C99.3111 19.358 99.2386 19.6818 99.2386 20.0625ZM106.258 15.2727V24H105.252V15.2727H106.258ZM110.759 24.1364C110.168 24.1364 109.65 23.9957 109.204 23.7145C108.761 23.4332 108.414 23.0398 108.164 22.5341C107.917 22.0284 107.793 21.4375 107.793 20.7614C107.793 20.0795 107.917 19.4844 108.164 18.9759C108.414 18.4673 108.761 18.0724 109.204 17.7912C109.65 17.5099 110.168 17.3693 110.759 17.3693C111.35 17.3693 111.867 17.5099 112.31 17.7912C112.756 18.0724 113.103 18.4673 113.35 18.9759C113.6 19.4844 113.725 20.0795 113.725 20.7614C113.725 21.4375 113.6 22.0284 113.35 22.5341C113.103 23.0398 112.756 23.4332 112.31 23.7145C111.867 23.9957 111.35 24.1364 110.759 24.1364ZM110.759 23.233C111.208 23.233 111.577 23.1179 111.867 22.8878C112.157 22.6577 112.371 22.3551 112.511 21.9801C112.65 21.6051 112.719 21.1989 112.719 20.7614C112.719 20.3239 112.65 19.9162 112.511 19.5384C112.371 19.1605 112.157 18.8551 111.867 18.6222C111.577 18.3892 111.208 18.2727 110.759 18.2727C110.31 18.2727 109.941 18.3892 109.651 18.6222C109.362 18.8551 109.147 19.1605 109.008 19.5384C108.869 19.9162 108.799 20.3239 108.799 20.7614C108.799 21.1989 108.869 21.6051 109.008 21.9801C109.147 22.3551 109.362 22.6577 109.651 22.8878C109.941 23.1179 110.31 23.233 110.759 23.233ZM117.186 24.1534C116.772 24.1534 116.395 24.0753 116.057 23.919C115.719 23.7599 115.451 23.5312 115.252 23.233C115.053 22.9318 114.953 22.5682 114.953 22.142C114.953 21.767 115.027 21.4631 115.175 21.2301C115.323 20.9943 115.52 20.8097 115.767 20.6761C116.015 20.5426 116.287 20.4432 116.586 20.3778C116.887 20.3097 117.189 20.2557 117.493 20.2159C117.891 20.1648 118.213 20.1264 118.461 20.1009C118.711 20.0724 118.892 20.0256 119.006 19.9602C119.123 19.8949 119.181 19.7812 119.181 19.6193V19.5852C119.181 19.1648 119.066 18.8381 118.836 18.6051C118.608 18.3722 118.263 18.2557 117.8 18.2557C117.32 18.2557 116.944 18.3608 116.671 18.571C116.398 18.7812 116.206 19.0057 116.096 19.2443L115.141 18.9034C115.311 18.5057 115.539 18.196 115.823 17.9744C116.11 17.75 116.422 17.5937 116.76 17.5057C117.101 17.4148 117.436 17.3693 117.766 17.3693C117.976 17.3693 118.218 17.3949 118.49 17.446C118.766 17.4943 119.032 17.5952 119.287 17.7486C119.546 17.902 119.76 18.1335 119.931 18.4432C120.101 18.7528 120.186 19.1676 120.186 19.6875V24H119.181V23.1136H119.13C119.061 23.2557 118.948 23.4077 118.789 23.5696C118.63 23.7315 118.418 23.8693 118.154 23.983C117.89 24.0966 117.567 24.1534 117.186 24.1534ZM117.34 23.25C117.738 23.25 118.073 23.1719 118.346 23.0156C118.621 22.8594 118.828 22.6577 118.968 22.4105C119.11 22.1634 119.181 21.9034 
11119.181 21.6307V20.7102C119.138 20.7614 119.044 20.8082 118.9 20.8509C118.757 20.8906 118.593 20.9261 118.405 20.9574C118.221 20.9858 118.04 21.0114 117.864 21.0341C117.691 21.054 117.55 21.071 117.442 21.0852C117.181 21.1193 116.936 21.1747 116.709 21.2514C116.485 21.3253 116.303 21.4375 116.164 21.5881C116.027 21.7358 115.959 21.9375 115.959 22.1932C115.959 22.5426 116.088 22.8068 116.347 22.9858C116.608 23.1619 116.939 23.25 117.34 23.25ZM124.494 24.1364C123.948 24.1364 123.467 23.9986 123.049 23.723C122.631 23.4446 122.305 23.0526 122.069 22.5469C121.833 22.0384 121.715 21.4375 121.715 20.7443C121.715 20.0568 121.833 19.4602 122.069 18.9545C122.305 18.4489 122.633 18.0582 123.053 17.7827C123.474 17.5071 123.96 17.3693 124.511 17.3693C124.937 17.3693 125.273 17.4403 125.521 17.5824C125.771 17.7216 125.961 17.8807 126.092 18.0597C126.225 18.2358 126.329 18.3807 126.403 18.4943H126.488V15.2727H127.494V24H126.522V22.9943H126.403C126.329 23.1136 126.224 23.2642 126.087 23.446C125.951 23.625 125.756 23.7855 125.504 23.9276C125.251 24.0668 124.914 24.1364 124.494 24.1364ZM124.63 23.233C125.033 23.233 125.374 23.1278 125.653 22.9176C125.931 22.7045 126.143 22.4105 126.288 22.0355C126.433 21.6577 126.505 21.2216 126.505 20.7273C126.505 20.2386 126.434 19.8111 126.292 19.4446C126.15 19.0753 125.94 18.7884 125.661 18.5838C125.383 18.3764 125.039 18.2727 124.63 18.2727C124.204 18.2727 123.849 18.3821 123.565 18.6009C123.283 18.8168 123.072 19.1108 122.93 19.483C122.79 19.8523 122.721 20.267 122.721 20.7273C122.721 21.1932 122.792 21.6165 122.934 21.9972C123.079 22.375 123.292 22.6761 123.573 22.9006C123.857 23.1222 124.21 23.233 124.63 23.233ZM135.509 24.1364C134.918 24.1364 134.4 23.9957 133.954 23.7145C133.511 23.4332 133.164 23.0398 132.914 22.5341C132.667 22.0284 132.543 21.4375 132.543 20.7614C132.543 20.0795 132.667 19.4844 132.914 18.9759C133.164 18.4673 133.511 18.0724 133.954 17.7912C134.4 17.5099 134.918 17.3693 135.509 17.3693C136.1 17.3693 136.617 17.5099 137.06 17.7912C137.506 18.0724 137.853 18.4673 138.1 18.9759C138.35 19.4844 138.475 20.0795 138.475 20.7614C138.475 21.4375 138.35 22.0284 138.1 22.5341C137.853 23.0398 137.506 23.4332 137.06 23.7145C136.617 23.9957 136.1 24.1364 135.509 24.1364ZM135.509 23.233C135.958 23.233 136.327 23.1179 136.617 22.8878C136.907 22.6577 137.121 22.3551 137.261 21.9801C137.4 21.6051 137.469 21.1989 137.469 20.7614C137.469 20.3239 137.4 19.9162 137.261 19.5384C137.121 19.1605 136.907 18.8551 136.617 18.6222C136.327 18.3892 135.958 18.2727 135.509 18.2727C135.06 18.2727 134.691 18.3892 134.401 18.6222C134.112 18.8551 133.897 19.1605 133.758 19.5384C133.619 19.9162 133.549 20.3239 133.549 20.7614C133.549 21.1989 133.619 21.6051 133.758 21.9801C133.897 22.3551 134.112 22.6577 134.401 22.8878C134.691 23.1179 135.06 23.233 135.509 23.233ZM141.016 20.0625V24H140.01V17.4545H140.982V18.4773H141.067C141.221 18.1449 141.453 17.8778 141.766 17.6761C142.078 17.4716 142.482 17.3693 142.976 17.3693C143.419 17.3693 143.807 17.4602 144.14 17.642C144.472 17.821 144.73 18.0938 144.915 18.4602C145.1 18.8239 145.192 19.2841 145.192 19.8409V24H144.186V19.9091C144.186 19.3949 144.053 18.9943 143.786 18.7074C143.519 18.4176 143.152 18.2727 142.686 18.2727C142.365 18.2727 142.078 18.3423 141.826 18.4815C141.576 18.6207 141.378 18.8239 141.233 19.0909C141.088 19.358 141.016 19.6818 141.016 20.0625ZM153.251 17.4545V18.3068H149.859V17.4545H153.251ZM150.848 15.8864H151.854V22.125C151.854 22.4091 151.895 22.6222 151.977 22.7642C152.063 22.9034 152.17 22.9972 152.301 23.0455C152.435 23.0909 152.575 23.1136 152.723 23.1136C152.834 23.1136 152.925 23.108 152.996 23.0966C153.067 23.0824 153.124 23.071 153.166 23.0625L153.371 23.9659C153.303 23.9915 153.207 24.017 153.085 24.0426C152.963 24.071 152.808 24.0852 152.621 24.0852C152.337 24.0852 152.058 24.0241 151.786 23.902C151.516 23.7798 151.291 23.5938 151.112 23.3438C150.936 23.0938 150.848 22.7784 150.848 22.3977V15.8864ZM155.911 20.0625V24H154.905V15.2727H155.911V18.4773H155.996C156.149 18.1392 156.379 17.8707 156.686 17.6719C156.996 17.4702 157.408 17.3693 157.922 17.3693C158.368 17.3693 158.759 17.4588 159.094 17.6378C159.429 17.8139 159.689 18.0852 159.874 18.4517C160.061 18.8153 160.155 19.2784 160.155 19.8409V24H159.149V19.9091C159.149 19.3892 159.014 18.9872 158.744 18.7031C158.477 18.4162 158.107 18.2727 157.632 18.2727C157.303 18.2727 157.00
117 18.3423 156.746 18.4815C156.487 18.6207 156.283 18.8239 156.132 19.0909C155.984 19.358 155.911 19.6818 155.911 20.0625ZM164.739 24.1364C164.108 24.1364 163.564 23.9972 163.107 23.7188C162.652 23.4375 162.301 23.0455 162.054 22.5426C161.81 22.0369 161.688 21.4489 161.688 20.7784C161.688 20.108 161.81 19.517 162.054 19.0057C162.301 18.4915 162.645 18.0909 163.086 17.804C163.529 17.5142 164.046 17.3693 164.637 17.3693C164.978 17.3693 165.314 17.4261 165.647 17.5398C165.979 17.6534 166.282 17.8381 166.554 18.0938C166.827 18.3466 167.044 18.6818 167.206 19.0994C167.368 19.517 167.449 20.0312 167.449 20.642V21.0682H162.404V20.1989H166.426C166.426 19.8295 166.353 19.5 166.205 19.2102C166.06 18.9205 165.853 18.6918 165.583 18.5241C165.316 18.3565 165 18.2727 164.637 18.2727C164.236 18.2727 163.89 18.3722 163.597 18.571C163.307 18.767 163.084 19.0227 162.928 19.3381C162.772 19.6534 162.694 19.9915 162.694 20.3523V20.9318C162.694 21.4261 162.779 21.8452 162.949 22.1889C163.123 22.5298 163.363 22.7898 163.669 22.9688C163.976 23.1449 164.333 23.233 164.739 23.233C165.003 23.233 165.242 23.196 165.455 23.1222C165.671 23.0455 165.857 22.9318 166.013 22.7812C166.169 22.6278 166.29 22.4375 166.375 22.2102L167.347 22.483C167.245 22.8125 167.073 23.1023 166.831 23.3523C166.59 23.5994 166.292 23.7926 165.936 23.9318C165.581 24.0682 165.182 24.1364 164.739 24.1364Z","fill","white"],["d","M75.9631 50H72.5881L78.733 32.5455H82.6364L88.7898 50H85.4148L80.7528 36.125H80.6165L75.9631 50ZM76.0739 43.1562H85.2784V45.696H76.0739V43.1562ZM90.4724 54.9091V36.9091H93.5065V39.0739H93.6855C93.8446 38.7557 94.069 38.4176 94.3588 38.0597C94.6486 37.696 95.0406 37.3864 95.5349 37.1307C96.0292 36.8693 96.6599 36.7386 97.427 36.7386C98.4383 36.7386 99.3503 36.9972 100.163 37.5142C100.981 38.0256 101.629 38.7841 102.106 39.7898C102.589 40.7898 102.83 42.017 102.83 43.4716C102.83 44.9091 102.595 46.1307 102.123 47.1364C101.651 48.142 101.009 48.9091 100.197 49.4375C99.3843 49.9659 98.4639 50.2301 97.4355 50.2301C96.6855 50.2301 96.0633 50.1051 95.569 49.8551C95.0747 49.6051 94.677 49.304 94.3758 48.9517C94.0804 48.5937 93.8503 48.2557 93.6855 47.9375H93.5576V54.9091H90.4724ZM93.498 43.4545C93.498 44.3011 93.6173 45.0426 93.8559 45.679C94.1003 46.3153 94.4497 46.8125 94.9042 47.1705C95.3645 47.5227 95.9213 47.6989 96.5747 47.6989C97.2565 47.6989 97.8275 47.517 98.2878 47.1534C98.748 46.7841 99.0946 46.2812 99.3275 45.6449C99.5662 45.0028 99.6855 44.2727 99.6855 43.4545C99.6855 42.642 99.569 41.9205 99.3361 41.2898C99.1031 40.6591 98.7565 40.1648 98.2963 39.8068C97.8361 39.4489 97.2622 39.2699 96.5747 39.2699C95.9156 39.2699 95.3559 39.4432 94.8957 39.7898C94.4355 40.1364 94.0861 40.6222 93.8474 41.2472C93.6145 41.8722 93.498 42.608 93.498 43.4545ZM104.992 54.9091V36.9091H108.027V39.0739H108.205C108.365 38.7557 108.589 38.4176 108.879 38.0597C109.169 37.696 109.561 37.3864 110.055 37.1307C110.549 36.8693 111.18 36.7386 111.947 36.7386C112.958 36.7386 113.87 36.9972 114.683 37.5142C115.501 38.0256 116.149 38.7841 116.626 39.7898C117.109 40.7898 117.35 42.017 117.35 43.4716C117.35 44.9091 117.115 46.1307 116.643 47.1364C116.171 48.142 115.529 48.9091 114.717 49.4375C113.904 49.9659 112.984 50.2301 111.955 50.2301C111.205 50.2301 110.583 50.1051 110.089 49.8551C109.595 49.6051 109.197 49.304 108.896 48.9517C108.6 48.5937 108.37 48.2557 108.205 47.9375H108.078V54.9091H104.992ZM108.018 43.4545C108.018 44.3011 108.137 45.0426 108.376 45.679C108.62 46.3153 108.97 46.8125 109.424 47.1705C109.884 47.5227 110.441 47.6989 111.095 47.6989C111.777 47.6989 112.348 47.517 112.808 47.1534C113.268 46.7841 113.615 46.2812 113.848 45.6449C114.086 45.0028 114.205 44.2727 114.205 43.4545C114.205 42.642 114.089 41.9205 113.856 41.2898C113.623 40.6591 113.277 40.1648 112.816 39.8068C112.356 39.4489 111.782 39.2699 111.095 39.2699C110.436 39.2699 109.876 39.4432 109.416 39.7898C108.955 40.1364 108.606 40.6222 108.367 41.2472C108.134 41.8722 108.018 42.608 108.018 43.4545ZM134.608 37.3438C134.528 36.5994 134.193 36.0199 133.602 35.6051C133.017 35.1903 132.255 34.983 131.318 34.983C130.659 34.983 130.093 35.0824 129.622 35.2812C129.15 35.4801 128.79 35.75 128.54 36.0909C128.29 36.4318 128.162 36.821 128.156 37.2585C128.156 37.6222 128.238 37.9375 128.403 38.2045C128.574 38.4716 128.804 38.6989 129.093 38.8864C129.383 39.0682 129.704 39.2216 130.057 39.3466C130.409 39.4716 130.764 39.5767 131.122 39.6619L132.758 40.071C133.417 40.2244 134.051 40.4318 134.659 40.6932C135.272 40.9545 135.821 41.2841 136.304 41.6818C136.792 42.0795 137.179 42.5597 137.463 43.1222C137.747 43.6847 137.889 44.3437 137.889 45.0994C137.889 46.1222 137.628 47.0227 137.105 47.8011C136.582 48.5739 135.826 49.179 134.838 49.6165C133.855 50.0483 132.665 50.2642 131.267 50.2642C129.909 50.2642 128.73 50.054 127.73 49.6335C126.736 49.2131 125.957 48.5994 125.395 47.7926C124.838 46.9858 124.537 46.0028 124.491 44.8438H127.602C127.647 45.4517 127.835 45.9574 128.165 46.3608C128.494 46.7642 128.923 47.0653 129.451 47.2642C129.986 47.4631 130.582 47.5625 131.241 47.5625C131.929 47.5625 132.531 47.4602 133.048 47.2557C133.571 47.0455 133.98 46.7557 134.275 46.3864C134.571 46.0114 134.721 45.5739 134.727 45.0739C134.721 44.6193 134.588 44.2443 134.326 43.9489C134.065 43.6477 133.699 43.3977 133.227 43.1989C132.761 42.9943 132.216 42.8125 131.591 42.6534L129.605 42.142C128.167 41.7727 127.031 41.2131 126.196 40.4631C125.366 39.7074 124.951 38.7045 124.951 37.4545C124.951 36.4261 125.23 35.5256 125.787 34.7528C126.349 33.9801 127.113 33.3807 128.079 32.9545C129.045 32.5227 130.139 32.3068 131.361 32.3068C132.599 32.3068 133.684 32.5227 134.616 32.9545C135.554 33.3807 136.29 33.9744 136.824 34.7358C137.358 35.4915 137.
11633 36.3608 137.65 37.3438H134.608ZM146.628 36.9091V39.2955H139.103V36.9091H146.628ZM140.961 33.7727H144.046V46.0625C144.046 46.4773 144.109 46.7955 144.234 47.017C144.364 47.233 144.535 47.3807 144.745 47.4602C144.955 47.5398 145.188 47.5795 145.444 47.5795C145.637 47.5795 145.813 47.5653 145.972 47.5369C146.137 47.5085 146.262 47.483 146.347 47.4602L146.867 49.8722C146.702 49.929 146.466 49.9915 146.16 50.0597C145.859 50.1278 145.489 50.1676 145.052 50.179C144.279 50.2017 143.583 50.0852 142.964 49.8295C142.344 49.5682 141.853 49.1648 141.489 48.6193C141.131 48.0739 140.955 47.392 140.961 46.5739V33.7727ZM154.298 50.2557C153.02 50.2557 151.912 49.9744 150.974 49.4119C150.037 48.8494 149.31 48.0625 148.793 47.0511C148.281 46.0398 148.026 44.858 148.026 43.5057C148.026 42.1534 148.281 40.9687 148.793 39.9517C149.31 38.9347 150.037 38.1449 150.974 37.5824C151.912 37.0199 153.02 36.7386 154.298 36.7386C155.577 36.7386 156.685 37.0199 157.622 37.5824C158.56 38.1449 159.284 38.9347 159.795 39.9517C160.312 40.9687 160.571 42.1534 160.571 43.5057C160.571 44.858 160.312 46.0398 159.795 47.0511C159.284 48.0625 158.56 48.8494 157.622 49.4119C156.685 49.9744 155.577 50.2557 154.298 50.2557ZM154.315 47.7841C155.008 47.7841 155.588 47.5937 156.054 47.2131C156.52 46.8267 156.866 46.3097 157.094 45.6619C157.327 45.0142 157.443 44.2926 157.443 43.4972C157.443 42.696 157.327 41.9716 157.094 41.3239C156.866 40.6705 156.52 40.1506 156.054 39.7642C155.588 39.3778 155.008 39.1847 154.315 39.1847C153.605 39.1847 153.014 39.3778 152.543 39.7642C152.077 40.1506 151.727 40.6705 151.494 41.3239C151.267 41.9716 151.153 42.696 151.153 43.4972C151.153 44.2926 151.267 45.0142 151.494 45.6619C151.727 46.3097 152.077 46.8267 152.543 47.2131C153.014 47.5937 153.605 47.7841 154.315 47.7841ZM162.71 50V36.9091H165.701V39.0909H165.837C166.076 38.3352 166.485 37.7528 167.065 37.3438C167.65 36.929 168.318 36.7216 169.068 36.7216C169.238 36.7216 169.428 36.7301 169.639 36.7472C169.854 36.7585 170.033 36.7784 170.176 36.8068V39.6449C170.045 39.5994 169.837 39.5597 169.553 39.5256C169.275 39.4858 169.005 39.4659 168.744 39.4659C168.181 39.4659 167.676 39.5881 167.227 39.8324C166.783 40.071 166.434 40.4034 166.178 40.8295C165.923 41.2557 165.795 41.7472 165.795 42.304V50H162.71ZM177.002 50.2557C175.689 50.2557 174.556 49.983 173.601 49.4375C172.652 48.8864 171.922 48.108 171.411 47.1023C170.899 46.0909 170.644 44.9006 170.644 43.5312C170.644 42.1847 170.899 41.0028 171.411 39.9858C171.928 38.9631 172.649 38.1676 173.575 37.5994C174.502 37.0256 175.59 36.7386 176.84 36.7386C177.647 36.7386 178.408 36.8693 179.124 37.1307C179.845 37.3864 180.482 37.7841 181.033 38.3239C181.59 38.8636 182.027 39.5511 182.345 40.3864C182.664 41.2159 182.823 42.2045 182.823 43.3523V44.2983H172.093V42.2188H179.865C179.86 41.6278 179.732 41.1023 179.482 40.642C179.232 40.1761 178.882 39.8097 178.433 39.5426C177.99 39.2756 177.473 39.142 176.882 39.142C176.252 39.142 175.698 39.2955 175.22 39.6023C174.743 39.9034 174.371 40.3011 174.104 40.7955C173.843 41.2841 173.709 41.821 173.703 42.4062V44.2216C173.703 44.983 173.843 45.6364 174.121 46.1818C174.399 46.7216 174.789 47.1364 175.289 47.4261C175.789 47.7102 176.374 47.8523 177.044 47.8523C177.493 47.8523 177.899 47.7898 178.263 47.6648C178.627 47.5341 178.942 47.3438 179.209 47.0938C179.476 46.8438 179.678 46.5341 179.814 46.1648L182.695 46.4886C182.513 47.25 182.166 47.9148 181.655 48.483C181.149 49.0455 180.502 49.483 179.712 49.7955C178.922 50.1023 178.019 50.2557 177.002 50.2557Z","fill","white"],["id","app_store_svg","x1","18","y1","42.5","x2","208","y2","-7.94502e-06","gradientUnits","userSpaceOnUse"],["stop-color","#3D3D3D"],["offset","1","stop-color","#3D3D3D"],["id","app_store_svg_hover","x1","18","y1","42.5","x2","208","y2","-7.94502e-06","gradientUnits","userSpaceOnUse"],["offset","1"],[1,"PlayStoreBtn",3,"mouseover","mouseout","click"],["width","222","height","68","viewBox","0 0 222 68","fill","none","xmlns","http://www.w3.org/2000/svg",1,"PlayStoreBtnIcon"],["width","221.733","height","68","rx","4","fill","url(#play_store_svg)"],["width","221.733","height","68","rx","4","fill","url(#play_store_svg_hover)"],["clip-path","url(#clip0_6311_3541)"],["d","M53.724 35.7308L48.4987 38.6882L43.812 34.0308L48.536 29.3362L53.724 32.2722C54.0302 32.4453 54.2849 32.6966 54.4622 33.0005C54.6394 33.3043 54.7328 33.6497 54.7328 34.0015C54.7328 34.3532 54.6394 34.6987 54.4622 35.0025C54.2849 35.3064 54.0302 35.5577 53.724 35.7308ZM26.1493 19.2322C26.0504 19.4724 25.9996 19.7297 26 19.9895V48.0122C26 48.3015 26.06 48.5708 26.1653 48.8122L41.0387 34.0295L26.1493 19.2322ZM42.4253 32.6522L46.7693 28.3348L28.9667 18.2602C28.5851 18.0409 28.1407 17.9568 27.7053 18.0215L42.4253 32.6522ZM42.4253 35.4082L27.7587 49.9855C28.156 50.0335 28.5747 49.9642 28.9667 49.7415L46.732 39.6882L42.4253 35.4082Z","fill","white"],["d","M71.7555 18C71.6618 17.7131 71.5382 17.456 71.3848 17.2287C71.2342 16.9986 71.0538 16.8026 70.8436 16.6406C70.6362 16.4787 70.4004 16.3551 70.1362 16.2699C69.872 16.1847 69.5822 16.142 69.2669 16.142C68.7498 16.142 68.2797 16.2756 67.8564 16.5426C67.4331 16.8097 67.0964 17.2031 66.8464 17.723C66.5964 18.2429 66.4714 18.8807 66.4714 19.6364C66.4714 20.392 66.5978 21.0298 66.8507 21.5497C67.1035 22.0696 67.4459 22.4631 67.8777 22.7301C68.3095 22.9972 68.7953 23.1307 69.3351 23.1307C69.8351 23.1307 70.2754 23.0241 70.6561 22.8111C71.0396 22.5952 71.3379 22.2912 71.551 21.8991C71.7669 21.5043 71.8748 21.0398 71.8748 20.5057L72.1987 20.5739H69.5737V19.6364H72.8976V20.5739C72.8976 21.2926 72.7442 21.9176 72.4373 22.4489C72.1334 22.9801 71.7129 23.392 71.176 23.6847C70.6419 23.9744 70.0282 24.1193 69.3351 24.1193C68.5623 24.1193 67.8834 23.9375 67.2981 23.5739C66.7157 23.2102 66.2612 22.6932 65.9345 22.0227C65.6106 21.3523 65.4487 20.5568 65.4487 19.6364C65.4487 18.946 65.541 18.3253 65.7257 17.7741C65.9132 17.2202 66.1774 16.7486 66.5183 16.3594C66.8592 15.9702 67.2626 15.6719 67.7285 15.4645C68.1944 15.2571 68.7072 15.1534 69.2669 15.1534C69.7271 15.1534 70.1561 15.223 70.5538 15.3622C70.9544 15.4986 71.3109 15.6932 71.6234 15.946C71.9388 16.196 72.2015 16.4957 72.4118 16.8452C72.622 17.1918 72.7669 17.5767 72.8464 18H71.7555Z
11M77.3155 24.1364C76.6848 24.1364 76.1408 23.9972 75.6834 23.7188C75.2289 23.4375 74.878 23.0455 74.6309 22.5426C74.3866 22.0369 74.2644 21.4489 74.2644 20.7784C74.2644 20.108 74.3866 19.517 74.6309 19.0057C74.878 18.4915 75.2218 18.0909 75.6621 17.804C76.1053 17.5142 76.6223 17.3693 77.2133 17.3693C77.5542 17.3693 77.8908 17.4261 78.2232 17.5398C78.5556 17.6534 78.8581 17.8381 79.1309 18.0938C79.4036 18.3466 79.6209 18.6818 79.7829 19.0994C79.9448 19.517 80.0258 20.0312 80.0258 20.642V21.0682H74.9803V20.1989H79.003C79.003 19.8295 78.9292 19.5 78.7814 19.2102C78.6366 18.9205 78.4292 18.6918 78.1593 18.5241C77.8922 18.3565 77.5769 18.2727 77.2133 18.2727C76.8127 18.2727 76.4661 18.3722 76.1735 18.571C75.8837 18.767 75.6607 19.0227 75.5045 19.3381C75.3482 19.6534 75.2701 19.9915 75.2701 20.3523V20.9318C75.2701 21.4261 75.3553 21.8452 75.5258 22.1889C75.6991 22.5298 75.9391 22.7898 76.2459 22.9688C76.5527 23.1449 76.9093 23.233 77.3155 23.233C77.5797 23.233 77.8184 23.196 78.0314 23.1222C78.2473 23.0455 78.4334 22.9318 78.5897 22.7812C78.7459 22.6278 78.8667 22.4375 78.9519 22.2102L79.9235 22.483C79.8212 22.8125 79.6493 23.1023 79.4079 23.3523C79.1664 23.5994 78.8681 23.7926 78.513 23.9318C78.1579 24.0682 77.7587 24.1364 77.3155 24.1364ZM84.4022 17.4545V18.3068H81.0101V17.4545H84.4022ZM81.9988 15.8864H83.0045V22.125C83.0045 22.4091 83.0456 22.6222 83.128 22.7642C83.2133 22.9034 83.3212 22.9972 83.4519 23.0455C83.5854 23.0909 83.726 23.1136 83.8738 23.1136C83.9846 23.1136 84.0755 23.108 84.1465 23.0966C84.2175 23.0824 84.2743 23.071 84.317 23.0625L84.5215 23.9659C84.4533 23.9915 84.3581 24.017 84.236 24.0426C84.1138 24.071 83.959 24.0852 83.7715 24.0852C83.4874 24.0852 83.209 24.0241 82.9363 23.902C82.6664 23.7798 82.442 23.5938 82.263 23.3438C82.0868 23.0938 81.9988 22.7784 81.9988 22.3977V15.8864ZM89.29 24V17.4545H90.2956V24H89.29ZM89.8013 16.3636C89.6053 16.3636 89.4363 16.2969 89.2942 16.1634C89.155 16.0298 89.0854 15.8693 89.0854 15.6818C89.0854 15.4943 89.155 15.3338 89.2942 15.2003C89.4363 15.0668 89.6053 15 89.8013 15C89.9973 15 90.165 15.0668 90.3042 15.2003C90.4462 15.3338 90.5172 15.4943 90.5172 15.6818C90.5172 15.8693 90.4462 16.0298 90.3042 16.1634C90.165 16.2969 89.9973 16.3636 89.8013 16.3636ZM94.9842 17.4545V18.3068H91.5922V17.4545H94.9842ZM92.5808 15.8864H93.5865V22.125C93.5865 22.4091 93.6277 22.6222 93.7101 22.7642C93.7953 22.9034 93.9032 22.9972 94.0339 23.0455C94.1674 23.0909 94.3081 23.1136 94.4558 23.1136C94.5666 23.1136 94.6575 23.108 94.7285 23.0966C94.7995 23.0824 94.8564 23.071 94.899 23.0625L95.1035 23.9659C95.0353 23.9915 94.9402 24.017 94.818 24.0426C94.6959 24.071 94.541 24.0852 94.3535 24.0852C94.0694 24.0852 93.791 24.0241 93.5183 23.902C93.2484 23.7798 93.024 23.5938 92.845 23.3438C92.6689 23.0938 92.5808 22.7784 92.5808 22.3977V15.8864ZM102.531 24.1364C101.94 24.1364 101.422 23.9957 100.976 23.7145C100.533 23.4332 100.186 23.0398 99.9359 22.5341C99.6888 22.0284 99.5652 21.4375 99.5652 20.7614C99.5652 20.0795 99.6888 19.4844 99.9359 18.9759C100.186 18.4673 100.533 18.0724 100.976 17.7912C101.422 17.5099 101.94 17.3693 102.531 17.3693C103.122 17.3693 103.639 17.5099 104.082 17.7912C104.528 18.0724 104.875 18.4673 105.122 18.9759C105.372 19.4844 105.497 20.0795 105.497 20.7614C105.497 21.4375 105.372 22.0284 105.122 22.5341C104.875 23.0398 104.528 23.4332 104.082 23.7145C103.639 23.9957 103.122 24.1364 102.531 24.1364ZM102.531 23.233C102.98 23.233 103.349 23.1179 103.639 22.8878C103.929 22.6577 104.143 22.3551 104.283 21.9801C104.422 21.6051 104.491 21.1989 104.491 20.7614C104.491 20.3239 104.422 19.9162 104.283 19.5384C104.143 19.1605 103.929 18.8551 103.639 18.6222C103.349 18.3892 102.98 18.2727 102.531 18.2727C102.082 18.2727 101.713 18.3892 101.423 18.6222C101.133 18.8551 100.919 19.1605 100.78 19.5384C100.64 19.9162 100.571 20.3239 100.571 20.7614C100.571 21.1989 100.64 21.6051 100.78 21.9801C100.919 22.3551 101.133 22.6577 101.423 22.8878C101.713 23.1179 102.082 23.233 102.531 23.233ZM108.038 20.0625V24H107.032V17.4545H108.004V18.4773H108.089C108.242 18.1449 108.475 17.8778 108.788 17.6761C109.1 17.4716 109.504 17.3693 109.998 17.3693C110.441 17.3693 110.829 17.4602 111.161 17.642C111.494 17.821 111.752 18.0938 111.937 18.4602C112.122 18.8239 112.214 19.2841 112.214 19.8409V24H111.208V19.9091C111.208 19.3949 111.075 18.9943 110.808 18.7074C110.541 18.4176 110.174 18.2727 109.708 18.2727C109.387 18.2727 109.1 18.3423 108.847 18.4815C108.597 18.6207 108.4 18.8239 108.255 19.0909C108.11 19.358 108.038 19.6818 108.038 20.0625Z","fill","white"],["d","M78.1476 38.1193C78.0055 37.6591 77.8095 37.2472 77.5595 36.8835C77.3152 36.5142 77.0197 36.1989 76.6731 35.9375C76.3322 35.6761 75.9402 35.4801 75.497 35.3494C75.0538 35.2131 74.5709 35.1449 74.0481 35.1449C73.1106 35.1449 72.2754 35.3807 71.5424 35.8523C70.8095 36.3239 70.2328 37.017 69.8123 37.9318C69.3976 38.8409 69.1902 39.9489 69.1902 41.2557C69.1902 42.5739 69.3976 43.6903 69.8123 44.6051C70.2271 45.5199 70.8038 46.2159 71.5424 46.6932C72.2811 47.1648 73.139 47.4006 74.1163 47.4006C75.0027 47.4006 75.7697 47.2301 76.4174 46.8892C77.0709 46.5483 77.5737 46.0653 77.926 45.4403C78.2782 44.8097 78.4544 44.071 78.4544 43.2244L79.1703 43.3352H74.4317V40.8636H81.514V42.9602C81.514 44.4545 81.1959 45.7472 80.5595 46.8381C79.9231 47.929 79.0481 48.7699 77.9345 49.3608C76.8209 49.946 7
115.5424 50.2386 74.0993 50.2386C72.4913 50.2386 71.0794 49.8778 69.8635 49.1562C68.6532 48.429 67.7072 47.3977 67.0254 46.0625C66.3493 44.7216 66.0112 43.1307 66.0112 41.2898C66.0112 39.8807 66.2101 38.6222 66.6078 37.5142C67.0112 36.4062 67.5737 35.4659 68.2953 34.6932C69.0169 33.9148 69.8635 33.3239 70.8351 32.9205C71.8067 32.5114 72.8635 32.3068 74.0055 32.3068C74.9714 32.3068 75.872 32.4489 76.7072 32.733C77.5424 33.0114 78.2839 33.4091 78.9317 33.9261C79.5851 34.4432 80.122 35.0568 80.5424 35.767C80.9629 36.4773 81.2385 37.2614 81.3692 38.1193H78.1476ZM89.6654 50.2557C88.387 50.2557 87.2791 49.9744 86.3416 49.4119C85.4041 48.8494 84.6768 48.0625 84.1597 47.0511C83.6484 46.0398 83.3927 44.858 83.3927 43.5057C83.3927 42.1534 83.6484 40.9687 84.1597 39.9517C84.6768 38.9347 85.4041 38.1449 86.3416 37.5824C87.2791 37.0199 88.387 36.7386 89.6654 36.7386C90.9438 36.7386 92.0518 37.0199 92.9893 37.5824C93.9268 38.1449 94.6512 38.9347 95.1626 39.9517C95.6796 40.9687 95.9382 42.1534 95.9382 43.5057C95.9382 44.858 95.6796 46.0398 95.1626 47.0511C94.6512 48.0625 93.9268 48.8494 92.9893 49.4119C92.0518 49.9744 90.9438 50.2557 89.6654 50.2557ZM89.6825 47.7841C90.3757 47.7841 90.9552 47.5937 91.4211 47.2131C91.887 46.8267 92.2336 46.3097 92.4609 45.6619C92.6938 45.0142 92.8103 44.2926 92.8103 43.4972C92.8103 42.696 92.6938 41.9716 92.4609 41.3239C92.2336 40.6705 91.887 40.1506 91.4211 39.7642C90.9552 39.3778 90.3757 39.1847 89.6825 39.1847C88.9722 39.1847 88.3813 39.3778 87.9097 39.7642C87.4438 40.1506 87.0944 40.6705 86.8615 41.3239C86.6342 41.9716 86.5205 42.696 86.5205 43.4972C86.5205 44.2926 86.6342 45.0142 86.8615 45.6619C87.0944 46.3097 87.4438 46.8267 87.9097 47.2131C88.3813 47.5937 88.9722 47.7841 89.6825 47.7841ZM103.787 50.2557C102.509 50.2557 101.401 49.9744 100.463 49.4119C99.5256 48.8494 98.7984 48.0625 98.2813 47.0511C97.7699 46.0398 97.5143 44.858 97.5143 43.5057C97.5143 42.1534 97.7699 40.9687 98.2813 39.9517C98.7984 38.9347 99.5256 38.1449 100.463 37.5824C101.401 37.0199 102.509 36.7386 103.787 36.7386C105.065 36.7386 106.173 37.0199 107.111 37.5824C108.048 38.1449 108.773 38.9347 109.284 39.9517C109.801 40.9687 110.06 42.1534 110.06 43.5057C110.06 44.858 109.801 46.0398 109.284 47.0511C108.773 48.0625 108.048 48.8494 107.111 49.4119C106.173 49.9744 105.065 50.2557 103.787 50.2557ZM103.804 47.7841C104.497 47.7841 105.077 47.5937 105.543 47.2131C106.009 46.8267 106.355 46.3097 106.582 45.6619C106.815 45.0142 106.932 44.2926 106.932 43.4972C106.932 42.696 106.815 41.9716 106.582 41.3239C106.355 40.6705 106.009 40.1506 105.543 39.7642C105.077 39.3778 104.497 39.1847 103.804 39.1847C103.094 39.1847 102.503 39.3778 102.031 39.7642C101.565 40.1506 101.216 40.6705 100.983 41.3239C100.756 41.9716 100.642 42.696 100.642 43.4972C100.642 44.2926 100.756 45.0142 100.983 45.6619C101.216 46.3097 101.565 46.8267 102.031 47.2131C102.503 47.5937 103.094 47.7841 103.804 47.7841ZM117.892 55.1818C116.784 55.1818 115.832 55.0313 115.036 54.7301C114.241 54.4347 113.602 54.0369 113.119 53.5369C112.636 53.0369 112.301 52.483 112.113 51.875L114.892 51.2017C115.017 51.4574 115.198 51.7102 115.437 51.9602C115.676 52.2159 115.997 52.4261 116.4 52.5909C116.809 52.7614 117.323 52.8466 117.943 52.8466C118.818 52.8466 119.542 52.6335 120.116 52.2074C120.69 51.7869 120.977 51.0938 120.977 50.1278V47.6477H120.823C120.664 47.9659 120.431 48.2926 120.124 48.6278C119.823 48.9631 119.423 49.2443 118.923 49.4716C118.428 49.6989 117.806 49.8125 117.056 49.8125C116.051 49.8125 115.139 49.5767 114.32 49.1051C113.508 48.6278 112.86 47.9176 112.377 46.9744C111.9 46.0256 111.661 44.8381 111.661 43.4119C111.661 41.9744 111.9 40.7614 112.377 39.7727C112.86 38.7784 113.511 38.0256 114.329 37.5142C115.147 36.9972 116.059 36.7386 117.065 36.7386C117.832 36.7386 118.463 36.8693 118.957 37.1307C119.457 37.3864 119.855 37.696 120.15 38.0597C120.445 38.4176 120.67 38.7557 120.823 39.0739H120.994V36.9091H124.036V50.2131C124.036 51.3324 123.769 52.2585 123.235 52.9915C122.701 53.7244 121.971 54.2727 121.045 54.6364C120.119 55 119.068 55.1818 117.892 55.1818ZM117.917 47.392C118.57 47.392 119.127 47.233 119.588 46.9148
11C120.048 46.5966 120.397 46.1392 120.636 45.5426C120.874 44.946 120.994 44.2301 120.994 43.3949C120.994 42.571 120.874 41.8494 120.636 41.2301C120.403 40.6108 120.056 40.1307 119.596 39.7898C119.142 39.4432 118.582 39.2699 117.917 39.2699C117.23 39.2699 116.656 39.4489 116.195 39.8068C115.735 40.1648 115.389 40.6562 115.156 41.2812C114.923 41.9006 114.806 42.6051 114.806 43.3949C114.806 44.196 114.923 44.8977 115.156 45.5C115.394 46.0966 115.744 46.5625 116.204 46.8977C116.67 47.2273 117.241 47.392 117.917 47.392ZM129.804 32.5455V50H126.718V32.5455H129.804ZM138.292 50.2557C136.979 50.2557 135.846 49.983 134.891 49.4375C133.942 48.8864 133.212 48.108 132.701 47.1023C132.189 46.0909 131.934 44.9006 131.934 43.5312C131.934 42.1847 132.189 41.0028 132.701 39.9858C133.218 38.9631 133.939 38.1676 134.865 37.5994C135.792 37.0256 136.88 36.7386 138.13 36.7386C138.936 36.7386 139.698 36.8693 140.414 37.1307C141.135 37.3864 141.772 37.7841 142.323 38.3239C142.88 38.8636 143.317 39.5511 143.635 40.3864C143.954 41.2159 144.113 42.2045 144.113 43.3523V44.2983H133.383V42.2188H141.155C141.15 41.6278 141.022 41.1023 140.772 40.642C140.522 40.1761 140.172 39.8097 139.723 39.5426C139.28 39.2756 138.763 39.142 138.172 39.142C137.542 39.142 136.988 39.2955 136.51 39.6023C136.033 39.9034 135.661 40.3011 135.394 40.7955C135.133 41.2841 134.999 41.821 134.993 42.4062V44.2216C134.993 44.983 135.133 45.6364 135.411 46.1818C135.689 46.7216 136.079 47.1364 136.579 47.4261C137.079 47.7102 137.664 47.8523 138.334 47.8523C138.783 47.8523 139.189 47.7898 139.553 47.6648C139.917 47.5341 140.232 47.3438 140.499 47.0938C140.766 46.8438 140.968 46.5341 141.104 46.1648L143.985 46.4886C143.803 47.25 143.456 47.9148 142.945 48.483C142.439 49.0455 141.792 49.483 141.002 49.7955C140.212 50.1023 139.309 50.2557 138.292 50.2557ZM151.852 50V32.5455H158.398C159.739 32.5455 160.864 32.7955 161.773 33.2955C162.687 33.7955 163.378 34.483 163.844 35.358C164.315 36.2273 164.551 37.2159 164.551 38.3239C164.551 39.4432 164.315 40.4375 163.844 41.3068C163.372 42.1761 162.676 42.8608 161.756 43.3608C160.835 43.8551 159.702 44.1023 158.355 44.1023H154.017V41.5028H157.929C158.713 41.5028 159.355 41.3665 159.855 41.0938C160.355 40.821 160.724 40.446 160.963 39.9688C161.207 39.4915 161.329 38.9432 161.329 38.3239C161.329 37.7045 161.207 37.1591 160.963 36.6875C160.724 36.2159 160.352 35.8494 159.847 35.5881C159.347 35.321 158.702 35.1875 157.912 35.1875H155.014V50H151.852ZM169.766 32.5455V50H166.681V32.5455H169.766ZM176.226 50.2642C175.396 50.2642 174.649 50.1165 173.985 49.821C173.325 49.5199 172.803 49.0767 172.416 48.4915C172.036 47.9062 171.845 47.1847 171.845 46.3267C171.845 45.5881 171.982 44.9773 172.254 44.4943C172.527 44.0114 172.899 43.625 173.371 43.3352C173.842 43.0455 174.374 42.8267 174.965 42.679C175.561 42.5256 176.178 42.4148 176.814 42.3466C177.581 42.267 178.203 42.196 178.681 42.1335C179.158 42.0653 179.504 41.9631 179.72 41.8267C179.942 41.6847 180.053 41.4659 180.053 41.1705V41.1193C180.053 40.4773 179.862 39.9801 179.482 39.6278C179.101 39.2756 178.553 39.0994 177.837 39.0994C177.081 39.0994 176.482 39.2642 176.038 39.5938C175.601 39.9233 175.306 40.3125 175.152 40.7614L172.271 40.3523C172.499 39.5568 172.874 38.892 173.396 38.358C173.919 37.8182 174.558 37.4148 175.314 37.1477C176.07 36.875 176.905 36.7386 177.82 36.7386C178.45 36.7386 179.078 36.8125 179.703 36.9602C180.328 37.108 180.899 37.3523 181.416 37.6932C181.933 38.0284 182.348 38.4858 182.661 39.0653C182.979 39.6449 183.138 40.3693 183.138 41.2386V50H180.172V48.2017H180.07C179.882 48.5653 179.618 48.9062 179.277 49.2244C178.942 49.5369 178.519 49.7898 178.007 49.983C177.502 50.1705 176.908 50.2642 176.226 50.2642ZM177.027 47.9972C177.646 47.9972 178.183 47.875 178.638 47.6307C179.092 47.3807 179.442 47.0511 179.686 46.642C179.936 46.233 180.061 45.7869 180.061 45.304V43.7614C179.965 43.8409 179.8 43.9148 179.567 43.983C179.34 44.0511 179.084 44.1108 178.8 44.1619C178.516 44.2131 178.235 44.2585 177.956 44.2983C177.678 44.3381 177.436 44.3722 177.232 44.4006C176.771 44.4631 176.36 44.5653 175.996 44.7074C175.632 44.8494 175.345 45.0483 175.135 45.304C174.925 45.554 174.82 45.8778 174.82 46.2756C174.82 46.8438 175.027 47.2727 175.442 47.5625C175.857 47.8523 176.385 47.9972 177.027 47.9972ZM187.209 54.9091C186.789 54.9091 186.399 54.875 186.041 54.8068C185.689 54.7443 185.408 54.6705 185.198 54.5852L185.914 52.1818C186.362 52.3125 186.763 52.375 187.115 52.3693C187.468 52.3636 187.777 52.2528 188.044 52.0369C188.317 51.8267 188.547 51.4744 188.735 50.9801L188.999 50.2727L184.252 36.9091H187.524L190.541 46.7955H190.678L193.703 36.9091H196.985L191.743 51.5852C191.499 52.2784 191.175 52.8722 190.772 53.3665C190.368 53.8665 189.874 54.2472 189.289 54.5085C188.709 54.7756 188.016 54.9091 187.209 54.9091Z","fill","white"],["id","clip0_6311_3541"],["width","32.7328","height","31.9997","fill","white","transform","translate(24 18.0002)"],["id","play_store_svg","x1","18","y1","42.5","x2","208","y2","-7.94502e-06","gradientUnits","userSpaceOnUse"],["id","play_store_svg_hover","x1","18","y1","42.5","x2","208","y2","-7.94502e-06","gradientUnits","userSpaceOnUse"],["appIntersectionObserver","",1,"QrCodeSection",3,"visible","invisible"],[1,"QrCodeMain"],[1,"QrCodeContent"],[1,"QrCodeImgDiv"],["alt","Market QrCode",1,"QrCodeImg",3,"src"]],template:function(i,o){i&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),f(3," Work From Anywhere "),c(),l(4,"div",3),f(5),c(),l(6,"div",4)(7,"div",5),_("mouseover",function(){return o.AppStoreFun("hover")})("mouseout",function(){return o.AppStoreFun("normal")})("click",function(){return o.BtnTracking("AppStore")}),l(8,"a",6),he(),l(9,"svg",7),y(10,"rect",8)(11,"rect",9)(12,"path",10)(13,"path",11)(14,"path",12),l(15,"defs")(16,"linearGradient",13),y(17,"stop",14)(18,"stop",15),c(),l(19,"linearGradient",16),y(20,"stop")(21,"stop",17),c()()()()(),pe(),l(22,"div",18),_("mouseover",function(){return o.PlayStoreFun("hover")})("mouseout",function(){return o.PlayStoreFun("normal")})("click",function(){return o.BtnTracking("PlayStore")}),l(23,"a",6),he(),l(24,"svg",19),y(25,"rect",20)(26,"rect",21),l(27,"g",22),y(28,"path",23),c(),y(29,"path",24)(30,"path",25),l(31,"defs")(32,"clipPath",26),y(33,"rect",27),c()(),l(34,"defs")(35,"linearGradient",28),y(36,"stop",14)(37,"stop",15),c(),l(38,"linearGradient",29),y(39,"stop")(40,"stop",17),c()()()()()(),pe(),l(41,"div",30),_("visible",function(a){return o.QrCodeVisible(a)})("invisible",function(a){return o.QrCodeInVisible(a)}),l(42,"div",31)(43,"div",32),f(44," scan the QR code! "),c(),l(45,"div",33),y(46,"img",34),c()()()()()),i&2&&(d(5),Tt(" Stay connected, use the ",o.market_name," app and dashboard to access your data on any device and platform - ",o.AvaiableDeviceList,". "),d(3),g("href",o.AppstoreValue,Y),d(),x(o.AppLocal
11Style),d(),g("@AppStoreSelect",o.AppStore1?"open":"closed"),d(),g("@AppStoreUnselect",o.AppStore2?"open":"closed"),d(5),g("@AppStoreSelect",o.AppStore1?"open":"closed"),d(3),g("@AppStoreUnselect",o.AppStore2?"open":"closed"),d(),_e("stop-color",o.MarketDarkColor),d(),_e("stop-color",o.MarketLightColor),d(2),g("href",o.playstoreValue,Y),d(),x(o.PlayLocalStyle),d(),g("@PlayStoreSelect",o.PlayStore1?"open":"closed"),d(),g("@PlayStoreUnselect",o.PlayStore2?"open":"closed"),d(9),g("@PlayStoreSelect",o.PlayStore1?"open":"closed"),d(3),g("@PlayStoreUnselect",o.PlayStore2?"open":"closed"),d(),_e("stop-color",o.MarketDarkColor),d(),_e("stop-color",o.MarketLightColor),d(2),g("@AnimateQrCode",o.QROpen),d(4),g("src",o.Market_QrCode,Y))},dependencies:[we,$e,hm],encapsulation:2,data:{animation:[ue("AnimateQrCode",[H("open",R({transform:"translateY(120%)"})),H("closed",R({transform:"translateY(0%)"})),ge("open => closed",[fe(".2s")]),ge("closed => open",[fe(".2s")])]),ue("AppStoreUnselect",[H("open",R({display:"none"})),H("closed",R({display:"block",borderRadius:"5px",cursor:"pointer"}))]),ue("AppStoreSelect",[H("open",R({display:"block",borderRadius:"5px",cursor:"pointer"})),H("closed",R({display:"none"}))]),ue("PlayStoreUnselect",[H("open",R({display:"none"})),H("closed",R({display:"block",borderRadius:"5px",cursor:"pointer"}))]),ue("PlayStoreSelect",[H("open",R({display:"block",borderRadius:"5px",cursor:"pointer"})),H("closed",R({display:"none"}))])]}});let n=r;return n})();var F2=n=>({"background-image":n});function O2(n,r){if(n&1){let e=T();l(0,"div",10)(1,"a",11)(2,"button",12),_("click",function(){h(e);let i=p();return m(i.WebsiteBtnTrackingFun(i.DownloadAPK))}),f(3,"Download"),c()()()}if(n&2){let e=p();d(),g("href",e.DownloadUrl,Y),d(),g("ngStyle",ie(2,F2,e.ContentColor))}}var fm=(()=>{let r=class r{constructor(t,i,o,s,a){this.renderer=t,this.router=i,this.globalService=o,this.apiservice=s,this.deviceService=a,this.MarketLightColor="",this.MarkettDarkColor="",this.GetStartedStyles={},this.ApiUrl="",this.formData={},this.DownloadUrl="",this.DownloadAPK="",this.deviceType="",this.AvaiableDevice="Available On All Devices",this.AvaiableDeviceList="Available on IOS, Android, and Web",this.enable_mobile_website="",this.DownloadForMob=!0,this.ContentColor="",this.dynamicComponentService=b(et),this.deviceService.isMobile()?this.deviceType="Mobile":this.deviceService.isTablet()?this.deviceType="Tablet":this.deviceType="Desktop"}GetStartedHover(t){t=="Hover"?this.GetStartedStyles={"background-image":`linear-gradient(to right, ${this.MarkettDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF",border:"none"}:this.GetStartedStyles={}}ngOnInit(){this.ContentTextColor(),this.deviceType=="Tablet"?this.setStyleForClass("SignUpBtn","display","none"):this.deviceType=="Desktop"&&this.setStyleForClass("SignUpBtn","display","")}ContentTextColor(){this.MarkettDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.ContentColor=`linear-gradient(to right,${this.MarkettDarkColor}, ${this.MarketLightColor})`,this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="iPhone"?(this.DownloadUrl=this.globalService.getappstore(),this.DownloadAPK="AppStore"):this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="Android"?(this.DownloadUrl=this.globalService.getplaystore(),this.DownloadAPK="PlayStore"):this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="Mac"?(this.DownloadUrl=this.globalService.getMacApk(),this.DownloadAPK="Download Mac"):this.apiservice.getDevicePlatform()!=null&&this.apiservice.getDevicePlatform()=="Desktop"&&(this.DownloadUrl=this.globalService.getwindowsApk(),this.DownloadAPK="Download Windows"),this.globalService.getappstore()==""&&this.globalService.getplaystore()==""&&this.globalService.getMacApk()==""&&this.globalService.getwindowsApk()==""&&this.setStyleForClass("SignupSectionMob","display","none !important"),this.enable_mobile_website=="on"&&(this.AvaiableDevice="Available On Web",this.AvaiableDeviceList="Available on Web",this.DownloadForMob=!1)}CreateNewAccFun(){this.setStyleForClass("SignupPopup","display","block"),this.setStyleForClass("WholeBodyDiplay","display","none"),this.WebsiteBtnTrackingFun("Signup")}setStyleForClass(t,i,o){let s=document.getElementsByClassName(t);for(let a=0;a<s.length;a++)this.renderer.setStyle(s[a],i,o)}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(ze),w(xe),w(Ie),w(fi))},r.\u0275cmp=K({type:r,selectors:[["app-signup-section"]],decls:15,vars:5,consts:[[1,"Brand_signup_section_component"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","SignupSection","container","WholeBodyDiplay"],[1,"SignUpTitle"],[1,"SignUpContent"],[1,"SignUpDiv"],[1,"SignUpBtn",3,"mouseover","mouseout","click"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","SignupSectionMob"],[1,"avaiabledevice"],[1,"devicecontent"],["class","download",4,"ngIf"],[1,"download"],["target","_blank",1,"link-white-no-decoration",3,"href"],[1,"Downloadbtn",3,"click","ngStyle"]],template:function(i,o){i&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),f(3," Sign up for Free! "),c(),l(4,"div",3),f(5," Change how you educate your clients, one branded quote at a time. "),c(),l(6,"div",4)(7,"button",5),_("mouseover",function(){return o.GetStartedHover("Hover")})("mouseout",function(){return o.GetStartedHover("Leave")})("click",function(){return o.CreateNewAccFun()}),f(8,"Get Started"),c()()(),l(9,"div",6)(10,"div",7),f(11),c(),l(12,"div",8),f(13),c(),k(14,O2,4,4,"div",9),c()()),i&2&&(d(7),x(o.GetStartedStyles),d(4),N(" ",o.AvaiableDevice," "),d(2),N(" Whether you\u2019re in the office or headed to a listing presentation, we\u2019ve got you covered. ",o.AvaiableDeviceList,". "),d(),g("ngIf",o.DownloadForMob))},dependencies:[we,De,rt],encapsulation:2});let n=r;return n})();var L2=["Firstname"],R2=["Lastname"],V2=["Useremail"],P2=["Companyname"],B2=["companyType"],N2=["userPhone"],U2=["nameField"],H2=["emailField"],W2=["subField"],j2=["msgField"],$2=["captchaField"],Vs=n=>({background:n}),kt=n=>({"clicked-class":n});function z2(n,r){n&1&&(l(0,"div"),y(1,"div",103)(2,"span",104),c())}function G2(n,r){if(n&1){let e=T();l(0,"div",105)(1,"div",106),_("click",function(){h(e);let i=p();return m(i.OpenChatWidget())})("mouseover",function(){h(e);let i=p();return m(i.ChatHoverBtn("Hover"))})("mouseleave",function(){h(e);let i=p();return m(i.ChatHoverBtn("leave"))}),l(2,"span"),y(3,"img",107),c(),f(4," Chat support "),c()()}if(n&2){let e=p();d(),x(e.ChatMoreBtn),g("ngStyle",ie(3,Vs,e.ButtonColor))}}var gm=(()=>
11{let r=class r{constructor(t,i,o){this.renderer=t,this.globalService=i,this.apiservice=o,this.marketname="",this.DomainName="",this.TermsLink="",this.PrivacyPolicy="",this.CalPrivacyPolicy="",this.BrandBand="https://broadbandnow.com",this.MarketLightColor="",this.MarketDarkColor="",this.footerBGColor="",this.ButtonColor="",this.marketLogo="",this.PalmAgentTitleLink="https://palmagent.com/title",this.FirstName="",this.firstname=!1,this.LastName="",this.lastname=!1,this.Email="",this.email=!1,this.CompanyName="",this.companyname=!1,this.SelectedCompany="",this.selectedcompany=!1,this.UserPhone="",this.userphone=!1,this.captchaInput="",this.captchainput=!1,this.formData={},this.ApiUrl="",this.Name="",this.name=!1,this.UserEmail="",this.useremail=!1,this.Subject="",this.subject=!1,this.Message="",this.message=!1,this.ContectData={},this.formdata={},this.isLoading=!1,this.messagehtml="",this.ToastColor={},this.ToastMessage="",this.ip_address="",this.footercopyright="",this.PowerdedBy="",this.LearnMoreBtn={},this.SubmitBtn={},this.CallMoreBtn={},this.SupportMoreBtn={},this.ChatMoreBtn={},this.Webinar_link="https://palmagent.ewebinar.com/webinar/palmagent-webinar-wednesday-367",this.Tutorial_link="https://www.youtube.com/channel/UCHz89hqURIiXWoLv8e_ojuQ",this.to_email="[email protected]",this.Webinar_Content="Webinar Wednesday",this.showChatOption=!1,this.QuickQuoteStyle={},this.TermsStyle={},this.AboutStyle={},this.SupportStyle={},this.TutorialsStyle={},this.WebinarStyle={},this.firstNameClicked=!1,this.captchaCode=""}getCurrentYear(){return new Date().getFullYear()}ngOnInit(){this.updateFooterBGColor(),this.ButtonColorFun(),this.createCaptcha()}updateFooterBGColor(){this.marketname=this.globalService.getMarketName(),this.MarketDarkColor=this.globalService.getmarketdarkcolor(),this.MarketLightColor=this.globalService.getmarketlightcolor(),this.DomainName=this.globalService.getwebsite_url(),this.DomainName=this.removeWww(this.DomainName);let t=window.location.hostname.replace(/^www\./,"");/^php8\./.test(t)&&(this.DomainName=t),this.TermsLink="https://"+this.DomainName+"/terms/",this.PrivacyPolicy="https://"+this.DomainName+"/privacy-policy/",this.CalPrivacyPolicy="https://"+this.DomainName+"/privacy/index.php#californiaprivacy",this.globalService.getmarket_code()=="EMT"&&(this.marketname=this.marketname+" ONE"),this.footerBGColor=`linear-gradient(to bottom, #FFFFFF, ${this.MarketLightColor} 80%, ${this.MarketDarkColor} 110%, ${this.MarketDarkColor} 95%)`,this.globalService.getmarket_code()=="CA"?this.marketLogo=`https://d2w998roo7cij6.cloudfront.net/one_logo/${this.globalService.getmarket_code()}.png`:this.marketLogo=`https://d2w998roo7cij6.cloudfront.net/one_logo_trans/${this.globalService.getmarket_code()}.png`,this.Webinar_link="https://zoom.us/webinar/register/6817418712325/WN_aoGpPWZ0SKKOYAuOsiW9vg",this.Webinar_Content="Essentials Classes",this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""?this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(i=>{this.phpData=i,this.renderFooterContent()}):this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(i=>{this.phpData=i,this.renderFooterContent()})}renderFooterContent(){if(this.phpData!=null&&this.phpData!=""){this.phpData=decodeURIComponent(this.phpData),this.phpData=JSON.parse(atob(this.phpData)),this.ip_address=this.phpData.Show_ipaddress;let t=document.getElementsByClassName("PoweredByFooter")[0],i=document.getElementsByClassName("CopyRightFooter")[0];this.phpData.allowbroadband&&this.phpData.allowbroadband.includes(this.globalService.getmarket_code())?(this.PowerdedBy=`Powered By <a style='text-decoration:none;font-size: 14px;color: #000000;font-family: 'Inter-Regular'' class="PalmagentLink" href="${this.PalmAgentTitleLink}" target="_blank">PalmAgent</a>`,t.innerHTML=this.PowerdedBy,this.phpData.california&&this.phpData.california.includes(this.globalService.getmarket_code())?(this.footercopyright=`&copy; PalmAgent ${this.getCurrentYear()} - <a class="PrivacyPolicy" target="_blank" href="${this.PrivacyPolicy}" style='color: #3d3d3d;text-decoration:none;'>Privacy Policy</a> | <a class="CalPrivacyPolicy" target="_blank" href="${this.CalPrivacyPolicy}" style='color: #3d3d3d;text-decoration:none;'>California Privacy</a> | ISP data provided by <a class="BroadBand" href="${this.BrandBand}" target="_blank" style='color: #3d3d3d;text-decoration:none;'>internet provider search engine BroadbandNow</a>`,i.innerHTML=this.footercopyright):(this.footercopyright=`&copy; PalmAgent ${this.getCurrentYear()} - <a class="PrivacyPolicy" target="_blank" href="${this.PrivacyPolicy}" style='color: #3d3d3d;text-decoration:none;'>Privacy Policy</a> | ISP data provided by <a class="BroadBand" href="${this.BrandBand}" target="_blank" style='color: #3d3d3d;text-decoration:none;'>internet provider search engine BroadbandNow</a>`,i.innerHTML=this.footercopyright)):(this.PowerdedBy="Powered By PalmAgent",t.innerHTML=this.PowerdedBy,this.phpData.california&&this.phpData.california.includes(this.globalService.getmarket_code())?(this.footercopyright=`&copy; PalmAgent ${this.getCurrentYear()} - <a class="PrivacyPolicy" target="_blank" href="${this.PrivacyPolicy}" style='color: #3d3d3d;text-decoration:none;'>Privacy Policy</a> | <a class="CalPrivacyPolicy" target="_blank" href="${this.CalPrivacyPolicy}" style='color: #3d3d3d;text-decoration:none;'>California Privacy</a>`,i.innerHTML=this.footercopyright):(this.footercopyright=`&copy; PalmAgent ${this.getCurrentYear()} - <a class="PrivacyPolicy" target="_blank" href="${this.PrivacyPolicy}" style='color: #3d3d3d;text-decoration:none;'>Privacy Policy</a>`,i.innerHTML=this.footercopyright))}else console.log("phpData is not defined on the window object")}ButtonColorFun(){this.ButtonColor=`linear-gradient(to right, ${this.MarketDarkColor},${this.MarketLightColor})`}removeWww(t){return t?t.replace(/^www\./,""):""}QuickQouteHover(t){t=="Hover"?this.QuickQuoteStyle={color:`${this.MarketDarkColor} `,"background-clip":"text","-webkit-background-clip":"text",cursor:"pointer"}:this.QuickQuoteStyle={}}TermsHover(t){t=="Hover"?this.TermsStyle={color:`${this.MarketDarkColor} `,"background-clip":"text","-webkit-background-clip":"text"}:this.TermsStyle={}}AboutHover(t){t=="Hover"?this.AboutStyle={color:`${this.MarketDarkColor} `,"background-clip":"text","-webkit-background-clip":"text"}:this.AboutStyle={}}SupportHover(t){t=="Hover"?this.SupportStyle={color:`${this.MarketDarkColor} `,"background-clip":"text","-webkit-background-clip":"text"}:this.SupportStyle={}}TutorialHover(t){t=="Hover"?this.TutorialsStyle={color:`${this.MarketDarkColor} `,"background-clip":"text","-webkit-background-clip":"text"}:this.TutorialsStyle={}}WebinarHover(t){t=="Hover"?this.WebinarStyle={color:`${this.MarketDarkColor} `,"background-clip":"text","-webkit-background-clip":"text"}:this.WebinarStyle={}}openAboutDeveloperPopup(t){t.preventDefault();let i=document.getElementById("aboutDeveloperModal")?.style;i&&(i.display="block"),this.WebsiteBtnTrackingFun("About the Developer")}closeAboutDeveloperPopup(){this.FirstName="",this.LastName="",this.Email="",this.CompanyName="",this.SelectedCompany="",this.UserPhone="";let t=document.getElementById("aboutDeveloperModal")?.style;t&&(t.display="none")}handleFirstNameClick(){this.firstNameClicked=!0}openSupportPopup(t){t.preventDefault();let i=document.getElementById("supportModal")?.style;i&&(i.display="block"),this.WebsiteBtnTrackingFun("Support")}closesupportPopup(){let t=document.getElementById("supportModal")?.style;t&&(t.display="none")}EmailPopup(t){t.preventDefault();let i=document.getElementById("EmailModal")?.style;i&&(i.display="block"),this.closesupportPopup()}EmailclosePopup(){let t=document.getElementById("EmailModal")?.style;t&&(t.display="none")}EmailBackPopup(){let t=document.getElementById("EmailModal")?.style;t&&(t.display="none");let i=document.getElementById("supportModal")?.style;i&&(i.display="block")}MobilePopup(t){t.preventDefault();let i=document.getElementById("EmailModal")?.style;i&&(i.display="block"),this.closesupportPopup()}AboutDevPopupFrm(t){let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;if(t==="check_message"){let o=!1;if(this.FirstName==""){this.firstname=!0,o||(this.focusElement(this.Firstname),o=!0);return}else this.firstname=!1;if(this.LastName==""){this.lastname=!0,o||(this.focusElement(this.Lastname),o=!0);return}else this.lastname=!1;if(this.Email==""){this.email=!0,o||(this.focusElement(this.Useremail),o=!0);return}if(this.Email&&!i.test(this.Email)){this.email=!0,o||(this.focusElement(this.Useremail),o=!0);return}else this.email=!1;if(this.CompanyName==""){this.companyname=!0,o||(this.focusElement(this.Companyname),o=!0);return}else this.companyname=!1;if(this.SelectedCompany==""){this.selectedcompany=!0,o||(this.focusElement(this.companyType),o=!0);return}else this.selectedcompany=!1;if(this.UserPhone==""){this.userphone=!0,o||(this.focusElement(this.userPhone),o=!0);return}if(this.UserPhone==""){this.userphone=!0,this.focusElement(this.userPhone);return}else if(this.UserPhone.length<12){this.userphone=!0,this.focusElement(this.userPhone);return}else this.userphone=!1;this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"download_site_tracking.php",this.formdata={action:"AboutDevelpoer",name:this.FirstName+" "+this.LastName,email:this.Email,company_name:this.CompanyName,company_type:this.SelectedCompany,phone_number:this.UserPhone,ip_address:this.ip_address,user_agent:navigator.userAgent,market_code:this.globalService.getmarket_code()};let s={user_id:"",market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formdata),s).subscribe(a=>{if(this.isLoading=!1,this.response=a.body,this.response.status!=null&&this.response.status=="Success"){this.ShowToastFun("Success",this.response.message),this.FirstName="",this.LastName="",this.Email="",this.CompanyName="",this.SelectedCompany="",this.UserPhone="",this.closeAboutDeveloperPopup();return}else{this.ShowToastFun("Failed",this.response.message),this.FirstName="",this.LastName="",this.Email="",this.CompanyName="",this.SelectedCompany="",this.UserPhone="",this.closeAboutDeveloperPopup();return}},a=>{this.isLoading=!1,this.ShowToastFun("Failed","Failed! Please try again."),console.error("Error fetching data:",a)})}}createCaptcha(){let t=document.getElementById("captchaCanvas"),i=t.getContext("2d");if(!i)return;i.clearRect(0,0,t.width,t.height);let o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",s=6,a=[];for(;a.length<s;){let u=Math.floor(Math.random()*o.length),v=o[u];a.indexOf(v)===-1&&a.push(v)}this.captchaCode=a.join(""),i.font="25px Georgia",i.fillText(this.captchaCode,10,30)}validateCaptcha(){let t=!1;return this.captchaInput===this.captchaCode?(this.captchainput=!1,!0):(this.captchainput=!0,this.captchaInput="",this.createCaptcha(),t||(this.focusElement(this.captchaField),t=!0),!1)}EmailPopupFrm(t){let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;if(t=="check_message"){let o=!1;if(this.Name==""){this.name=!0,o||(this.focusElement(this.nameField),o=!0);return}else this.name=!1;if(this.UserEmail==""){this.useremail=!0,o||(this.focusElement(this.emailField),o=!0);return}if(this.UserEmail&&!i.test(this.UserEmail)){this.useremail=!0,o||(this.focusElement(this.emailField),o=!0);return}else this.useremail=!1;if(this.Subject==""){this.subject=!0,o||(this.focusElement(this.subField),o=!0);return}else this.subject=!1;if(this.Message==""){this.message=!0,o||(this.focusElement(this.msgField),o=!0);return}else this.message=!1;if(!this.validateCaptcha())return;this.apiservice.getconfigmode()=="staging"||this.apiservice.getconfigmode()=="local"?this.to_email="[email protected]":this.to_email="[email protected],[email protected],[email protected]",this.messagehtml="<table cellpadding='5' style='width: 100%; text-align:left;'><tr><td colspan='2' style='height: 5px;'></td></tr>",this.Name!=null&&this.Name!=""&&(this.messagehtml+="<tr><td style='font-weight:bold; width: 20%;'>Name</td><td style='width: 80%;'>"+this.Name+"</td></tr>"),this.UserEmail!=null&&this.UserEmail!=""&&(this.messagehtml+="<tr><td style='font-weight:bold; width: 20%;'>Email</td><td style='width: 80%;'>"+this.UserEmail+"</td></tr>"),this.Subject!=null&&this.Subject!=""&&(this.messagehtml+="<tr><td style='font-weight:bold; width: 20%;'>Subject</td><td style='width: 80%;'>"+this.Subject+"</td></tr>"),this.Message!=null&&this.Message!=""&&(this.messagehtml+="<tr><td style='vertical-align:top;font-weight:bold; width: 20%;'>Message</td><td style='width: 80%;'>"+this.Message+"</td></tr>"),this.messagehtml+=" <tr><td colspan='2' style='height: 5px;'></td></tr>",this.isLoading=!0,this.ApiUrl=this.apiservice.GetApiUrl()+"send_common_email",this.ContectData={action:"contact_us",user_name:this.Name,email_address:this.UserEmail,phone_number:"",company_name:"",message:this.message,market_code:this.globalService.getmarket_code()},this.formData={user_id:0,platform:"widget",from_email:"[email protected]",cc_email:"[email protected]",to_email:this.to_email,reply_to:this.UserEmail,subject:"Email Inquiry",message:this.messagehtml,market_code:this.globalService.getmarket_code(),contact_details:this.ContectData};let s={user_id:"",market_code:this.globalService.getmarket_code()};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),s).subscribe(a=>{if(this.isLoading=!1,this.response=a.body,this.response.status!=null&&this.response.status=="Success"){this.ShowToastFun("Success",this.response.message),this.Name="",this.Subject="",this.Message="",this.UserEmail="",this.EmailBackPopup();return}else{this.ShowToastFun("Failed",this.response.message),this.Name="",this.Subject="",this.Message="",this.UserEmail="",this.EmailBackPopup();return}},a=>{this.isLoading=!1,this.ShowToastFun("Failed","Failed! Please try again."),console.error("Error fetching data:",a)})}}focusElement(t){let i=t.toArray();i.length>0&&i[0].nativeElement.focus()}validateNumberInput(t){let i=t.target,o=i.value;o=o.replace(/[^0-9-]/g,""),this.UserPhone=o,i.value=o,(this.UserPhone.length==3||this.UserPhone.length==7)&&(this.UserPhone=this.UserPhone+"-")}OpenChatWidget(){this.isLoading=!0;let t=window.$zoho;t&&t.salesiq?(t.salesiq.floatwindow.visible("show"),this.closesupportPopup(),this.isLoading=!1):console.error("Zoho SalesIQ is not loaded")}OpenQuickQuote(){typeof window.Show_PA_Widget=="function"?window.Show_PA_Widget():console.error("Show_PA_Widget function is not available"),this.WebsiteBtnTrackingFun("Quick Quote")}ShowToastFun(t,i){t=="Success"?this.ToastColor={"background-color":"#4CAF50"}:t=="Failed"?this.ToastColor={"background-color":"red"}:t=="Warning"&&(this.ToastColor={"background-color":"#c26700"}),this.ToastMessage=i;let o=document.getElementById("toast");o.classList.add("show"),setTimeout(()=>{o.classList.remove("show")},3e3)}getCookie(t){let i=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return i?i[2]:null}getCookieHttp(t){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"GetCookie",name:t};let i={user_email:this.UserEmail,market_code:this.globalService.getmarket_code()};return this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).pipe(X(o=>{let s=o.body;return s.status==="Success"?s.value:""}))}WebsiteBtnTrackingFun(t){var i=window.location.hostname;i=i.replace(/^www\./,""),this.ApiUrl=this.apiservice.GetApiUrl()+"mmp_email_link_tracking.php",this.formData={action:"WebappSiteBtnTracking",platform:this.apiservice.getplatform(),action_type:t,user_agent:navigator.userAgent,ip_address:this.globalService.getip_address(),forwarded_ip:this.globalService.getforwarded_id(),domain_name:i,website_type:"new"};let o={};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),o).subscribe(s=>{this.response=s.body})}onInputChange(t){let i=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;if(t=="developer"){if(this.SelectedCompany!=""){let o=document.getElementById("selectdrop");this.renderer.setStyle(o,"color","#3D3D3D")}else{let o=document.getElementById("selectdrop");this.renderer.setStyle(o,"color","#BFBDB5")}if(this.FirstName!=""&&this.LastName!=""&&i.test(this.Email)&&this.CompanyName!=""&&this.SelectedCompany!=""&&this.UserPhone.length>11){this.LearnMoreBtn={"background-image":`linear-gradient(to right
11, ${this.MarketDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF","pointer-events":"all"};return}else{this.LearnMoreBtn={};return}}else if(this.Name!=""&&this.Subject!=""&&i.test(this.UserEmail)&&this.Message!=""&&this.captchaInput!=""){this.SubmitBtn={"background-image":`linear-gradient(to right, ${this.MarketDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 2px 9px 0 ${this.MarketLightColor}`,color:"#FFFFFF","pointer-events":"all"};return}else{this.SubmitBtn={};return}}SubmitHoverBtn(t){t=="Hover"?this.LearnMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketLightColor}, ${this.MarketDarkColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}:this.LearnMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}}CallHoverBtn(t){t=="Hover"?this.CallMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketLightColor}, ${this.MarketDarkColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}:this.CallMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}}EmailHoverBtn(t){t=="Hover"?this.SupportMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketLightColor}, ${this.MarketDarkColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}:this.SupportMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}}ChatHoverBtn(t){t=="Hover"?this.ChatMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketLightColor}, ${this.MarketDarkColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}:this.ChatMoreBtn={"background-image":`linear-gradient(to right, ${this.MarketDarkColor}, ${this.MarketLightColor})`,"box-shadow":`0 4px 10px 0 ${this.MarketLightColor}`,color:"#FFFFFF"}}};r.\u0275fac=function(i){return new(i||r)(w(ce),w(xe),w(Ie))},r.\u0275cmp=K({type:r,selectors:[["app-footer-section"]],viewQuery:function(i,o){if(i&1&&(L(L2,5),L(R2,5),L(V2,5),L(P2,5),L(B2,5),L(N2,5),L(U2,5),L(H2,5),L(W2,5),L(j2,5),L($2,5)),i&2){let s;F(s=O())&&(o.Firstname=s),F(s=O())&&(o.Lastname=s),F(s=O())&&(o.Useremail=s),F(s=O())&&(o.Companyname=s),F(s=O())&&(o.companyType=s),F(s=O())&&(o.userPhone=s),F(s=O())&&(o.nameField=s),F(s=O())&&(o.emailField=s),F(s=O())&&(o.subField=s),F(s=O())&&(o.msgField=s),F(s=O())&&(o.captchaField=s)}},decls:213,vars:125,consts:[["Firstname",""],["Lastname",""],["Useremail",""],["Companyname",""],["companyType",""],["userPhone",""],["nameField",""],["emailField",""],["subField",""],["msgField",""],["captchaField",""],[1,"Brand_footer_section_component"],[4,"ngIf"],["id","toast",1,"toast","success-toast","WholeBodyDiplay"],[1,"toast-content"],[1,"toast-message"],[1,"col-lg-12","col-md-12","col-sm-12","col-xs-12","FooterSection","WholeBodyDiplay",3,"ngStyle"],[1,"MarketSection"],["alt","MarketLogo",1,"logowidth",3,"defaultImage","lazyLoad"],[1,"MarketNameDiv"],[1,"PoweredByFooter"],[1,"FooterMenus"],[1,"MenuLists"],[3,"mouseover","mouseout","click"],["target","_blank",3,"mouseover","mouseout","click","href"],[1,"FooterMenusMob"],[1,"FooterMenusPart"],[1,"CopyRightFooter"],["id","aboutDeveloperModal",1,"modal","fadein"],[1,"modal-content"],[1,"modal"],["id","main_section"],["id","close"],["src","ng_assets/images/Group240.svg",1,"AboutClose",3,"click"],["id","second_section"],[1,"comapny_slogan"],[1,"row"],[1,"col-md-1"],[1,"col-md-10"],[1,"Height_5px"],[1,"col-md-6","mt-4"],[1,"form-group"],["for","firstName",1,"label"],["type","text","placeholder","First Name",1,"form-control","rounded","label",3,"ngModelChange","ngModel","ngClass"],["for","lastName",1,"label"],["type","text","placeholder","Last Name",1,"form-control","rounded","label",3,"ngModelChange","ngModel","ngClass"],[1,"col-md-12","mt-2"],["type","text","placeholder","Work Email",1,"form-control","rounded","label",3,"ngModelChange","ngModel","ngClass"],["type","text","placeholder","Company Name",1,"form-control","rounded","label",3,"ngModelChange","ngModel","ngClass"],[1,"col-md-6","mt-2"],["for","companyType",1,"label"],["id","selectdrop",1,"form-control","rounded","labelbtn",3,"ngModelChange","ngModel","ngClass"],["value",""],["value","company_title"],["value","escrow_company"],["value","law_firm"],["type","text","placeholder","Phone number","maxlength","12",1,"form-control","rounded","label",3,"ngModelChange","input","ngModel","ngClass"],["type","button","placeholder","Button",1,"form-control","rounded","submitbtn",3,"click"],[1,"image_section"],[1,"home_img",3,"defaultImage","lazyLoad"],["id","supp
11ortModal",1,"modal"],[1,"modal_suppot_content","rounded"],["id","supportclose"],["src","ng_assets/images/Group240.svg",1,"support_image",3,"click"],["id","support_second"],["id","support_slogan"],[1,"MainDiv"],[1,"empty1"],[1,"mobile_section"],["href","tel:+7572711287",1,"ContactNo"],[1,"mobile",3,"mouseover","mouseleave","ngStyle"],["src","ng_assets/images/phone-call-01.svg","alt","Phone Icon"],[1,"empty2"],[1,"email_section",3,"click"],[1,"email",3,"mouseover","mouseleave","ngStyle"],["src","ng_assets/images/Icon.svg","alt","Phone Icon"],["class","notify_section",4,"ngIf"],[1,"support_image_section"],["id","EmailModal",1,"modal"],[1,"emailmodal-content","rounded"],["id","emailclose"],["src","ng_assets/images/Union.svg","id","emailback",3,"click"],["src","ng_assets/images/Group240.svg","id","cancel",3,"click"],["id","email_second"],["id","email_slogan"],["id","email_empty_content"],[1,"email_form"],[1,"col-md-2"],[1,"col-md-8"],["for","Name",1,"emaillabel"],["type","text","placeholder","First and Last name",1,"form-control","rounded",3,"ngModelChange","ngModel","ngClass"],[1,"spacer-15"],["for","Email",1,"emaillabel"],["type","email","placeholder","Email Address",1,"form-control","rounded",3,"ngModelChange","ngModel","ngClass"],["type","email","placeholder","What we can help with?",1,"form-control","rounded",3,"ngModelChange","ngModel","ngClass"],["type","text","placeholder","Type your Message here",1,"form-control","rounded","textarea-height-120",3,"ngModelChange","ngModel","ngClass"],[1,"form-group","captcha-input-container"],["type","text","placeholder","Enter text",1,"form-control","rounded","captcha-input-width",3,"ngModelChange","ngModel","ngClass"],[1,"captchaa"],["id","captchaCanvas","width","125","height","40"],[1,"form-group","submittxtbtn"],["type","button","id","email_button",1,"form-control","rounded","newsubbtn",3,"click"],[1,"email_image_section"],[1,"spinner-container"],[1,"loader"],[1,"notify_section"],[1,"notify",3,"click","mouseover","mouseleave","ngStyle"],["src","ng_assets/images/message-notify-square.svg","alt","Phone Icon"]],template:function(i,o){if(i&1){let s=T();l(0,"div",11),k(1,z2,3,0,"div",12),l(2,"div",13)(3,"div",14)(4,"span",15),f(5),c()()(),l(6,"div",16)(7,"div",17),y(8,"img",18),l(9,"div",19),f(10),y(11,"div",20),c()(),l(12,"div",21)(13,"div",22)(14,"a",23),_("mouseover",function(){return h(s),m(o.QuickQouteHover("Hover"))})("mouseout",function(){return h(s),m(o.QuickQouteHover("Leave"))})("click",function(){return h(s),m(o.OpenQuickQuote())}),f(15,"Quick Quote"),c()(),l(16,"div",22)(17,"a",24),_("mouseover",function(){return h(s),m(o.TermsHover("Hover"))})("mouseout",function(){return h(s),m(o.TermsHover("Leave"))})("click",function(){return h(s),m(o.WebsiteBtnTrackingFun("Terms"))}),f(18,"Terms"),c()(),l(19,"div",22)(20,"a",23),_("mouseover",function(){return h(s),m(o.AboutHover("Hover"))})("mouseout",function(){return h(s),m(o.AboutHover("Leave"))})("click",function(u){return h(s),m(o.openAboutDeveloperPopup(u))}),f(21,"About the Developer"),c()(),l(22,"div",22)(23,"a",23),_("mouseover",function(){return h(s),m(o.SupportHover("Hover"))})("mouseout",function(){return h(s),m(o.SupportHover("Leave"))})("click",function(u){return h(s),m(o.openSupportPopup(u))}),f(24,"Support"),c()(),l(25,"div",22)(26,"a",24),_("mouseover",function(){return h(s),m(o.TutorialHover("Hover"))})("mouseout",function(){return h(s),m(o.TutorialHover("Leave"))})("click",function(){return h(s),m(o.WebsiteBtnTrackingFun("Tutorials"))}),f(27,"Tutorials"),c()(),l(28,"div",22)(29,"a",24),_("mouseover",function(){return h(s),m(o.WebinarHover("Hover"))})("mouseout",function(){return h(s),m(o.WebinarHover("Leave"))})("click",function(){return h(s),m(o.WebsiteBtnTrackingFun("Webinar Wednesday"))}),f(30),c()()(),l(31,"div",25)(32,"div",26)(33,"div",22)(34,"a",23),_("mouseover",function(){return h(s),m(o.QuickQouteHover("Hover"))})("mouseout",function(){return h(s),m(o.QuickQouteHover("Leave"))})("click",function(){return h(s),m(o.OpenQuickQuote())}),f(35,"Quick Quote"),c()(),l(36,"div",22)(37,"a",24),_("mouseover",function(){return h(s),m(o.TutorialHover("Hover"))})("mouseout",function(){return h(s),m(o.TutorialHover("Leave"))})("click",function(){return h(s),m(o.WebsiteBtnTrackingFun("Tutorials"))}),f(38,"Tutorials"),c()(),l(39,"div",22)(40,"a",24),_("mouseover",function(){return h(s),m(o.WebinarHover("Hover"))})("mouseout",function(){return h(s),m(o.WebinarHover("Leave"))})("click",function(){return h(s),m(o.WebsiteBtnTrackingFun("Webinar Wednesday"))}),f(41),c()()(),l(42,"div",26)(43,"div",22)(44,"a",23),_("mouseover",function(){return h(s),m(o.SupportHover("Hover"))})("mouseout",function(){return h(s),m(o.SupportHover("Leave"))})("click",function(u){return h(s),m(o.openSupportPopup(u))}),f(45,"Support"),c()(),l(46,"div",22)(47,"a",23),_("mouseover",function(){return h(s),m(o.AboutHover("Hover"))})("mouseout",function(){return h(s),m(o.AboutHover("Leave"))})("click",function(u){return h(s),m(o.openAboutDeveloperPopup(u))}),f(48,"About the Developer"),c()(),l(49,"div",22)(50,"a",24),_("mouseover",function(){return h(s),m(o.TermsHover("Hover"))})("mouseout",function(){return h(s),m(o.TermsHover("Leave"))})("click",function(){return h(s),m(o.WebsiteBtnTrackingFun("Terms"))}),f(51,"Terms"),c()()()(),y(52,"div",27),l(53,"div",28)(54,"div",29)(55,"span",30),f(56,"\xD7"),c(),l(57,"div",31)(58,"div",32)(59,"img",33),_("click",function(){return h(s),m(o.closeAboutDeveloperPopup())}),c()(),l(60,"div",34)(61,"span"),f(62,"Want your own branded app?"),c()(),l(63,"div",35),f(64," Our product team is ready to help you unlock the potential of your title company. "),c(),l(65,"div",36),y(66,"div",37),l(67,"div",38),y(68,"div",39),l(69,"div",36)(70,"div",40)(71,"div",41)(72,"label",42),f(73,"First"),c(),l(74,"input",43,0),Z("ngModelChange",function(u){return h(s),G(o.FirstName,u)||(o.FirstName=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("developer"))}),c()()(),l(76,"div",40)(77,"div",41)(78,"label",44),f(79,"Last"),c(),l(80,"input",45,1),Z("ngModelChange",function(u){return h(s),G(o.LastName,u)||(o.LastName=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("developer"))}),c()()()(),y(82,"div",39),l(83,"div",36)(84,"div",46)(85,"div",41)(86,"label",44),f(87,"Work Email"),c(),l(88,"input",47,2),Z("ngModelChange",function(u){return h(s),G(o.Email,u)||(o.Email=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("developer"))}),c()()()(),y(90,"div",39),l(91,"div",36)(92,"div",46)(93,"div",41)(94,"label",44),f(95,"Company Name"),c(),l(96,"input",48,3),Z("ngModelChange",function(u){return h(s),G(o.CompanyName,u)||(o.CompanyName=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("developer"))}),c()()()(),y(98,"div",39),l(99,"div",36)(100,"div",49)(101,"div",41)(102,"label",50),f(103,"Company Type"),c(),l(104,"select",51,4),Z("ngModelChange",function(u){return h(s),G(o.SelectedCompany,u)||(o.SelectedCompany=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("developer"))}),l(106,"option",52),f(107,"Select"),c(),l(108,"option",53),f(109,"Company Title"),c(),l(110,"option",54),f(111,"Escrow Company"),c(),l(112,"option",55),f(113,"Law Firm"),c()()()(),l(114,"div",49)(115,"div",41)(116,"label",44),f(117,"Phone Number"),c(),l(118,"input",56,5),Z("ngModelChange",function(u){return h(s),G(o.UserPhone,u)||(o.UserPhone=u),m(u)}),_("input",function(u){return h(s),m(o.validateNumberInput(u))})("ngModelChange",function(){return h(s),m(o.onInputChange("developer"))}),c()()()(),y(120,"div",39),l(121,"div",36)(122,"div",46)(123,"div",41)(124,"button",57),_("click",function(){return h(s),m(o.AboutDevPopupFrm("check_message"))}),f(125,"Submit"),c()()()()(),y(126,"div",37),c()(),l(127,"div",58),y(128,"img",59),c()()(),l(129,"div",60)(130,"div",61)(131,"span",30),f(132,"\xD7"),c(),l(133,"div",31)(134,"div",62)(135,"img",63),_("click",function(){return h(s),m(o.closesupportPopup())}),c()(),l(136,"div",64)(137,"span"),f(138,"Contact Us"),c()(),l(139,"div",65)(140,"span"),f(141,"We're here to help!"),c()(),l(142,"div",66),y(143,"div",67),l(144,"div",68)(145,"a",69)(146,"div",70),_("mouseover",function(){return h(s),m(o.CallHoverBtn("Hover"))})("mouseleave",function(){return h(s),m(o.CallHoverBtn("leave"))}),l(147,"span"),y(148,"img",71),c(),f(149," (757) 271-1287 "),c()()(),y(150,"div",72),l(151,"div",73),_("click",function(u){return h(s),m(o.MobilePopup(u))}),l(152,"div",74),_("mouseover",function(){return h(s),m(o.EmailHoverBtn("Hover"))})("mouseleave",function(){return h(s),m(o.EmailHoverBtn("leave"))}),l(153,"span"),y(154,"img",75),c(),f(155," Shout us on email "),c()(),y(156,"div",72),k(157,G2,5,5,"div",76),c(),l(158,"div",77),y(159,"img",59),c()()()(),l(160,"div",78)(161,"div",79)(162,"span",30),f(163,"\xD7"),c(),l(164,"div",31)(165,"div",80)(166,"img",81),_("click",function(){return h(s),m(o.EmailBackPopup())}),c(),l(167,"img",82),_("click",function(){return h(s),m(o.EmailclosePopup())}),c()(),l(168,"div",83)(169,"span"),f(170,"Send Email"),c()(),l(171,"div",84)(172,"span"),f(173,"Fill out the form and we'll get back to you soon!"),c()(),y(174,"div",85),l(175,"div",86)(176,"div",36),y(177,"div",87),l(178,"div",88)(179,"div",41)(180,"label",89),f(181,"Name"),c(),l(182,"input",90,6
11),Z("ngModelChange",function(u){return h(s),G(o.Name,u)||(o.Name=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("email"))}),c()(),y(184,"div",91),l(185,"div",41)(186,"label",92),f(187,"Email"),c(),l(188,"input",93,7),Z("ngModelChange",function(u){return h(s),G(o.UserEmail,u)||(o.UserEmail=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("email"))}),c()(),y(190,"div",91),l(191,"div",41)(192,"label",92),f(193,"Subject"),c(),l(194,"input",94,8),Z("ngModelChange",function(u){return h(s),G(o.Subject,u)||(o.Subject=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("email"))}),c()(),y(196,"div",91),l(197,"div",41)(198,"textarea",95,9),Z("ngModelChange",function(u){return h(s),G(o.Message,u)||(o.Message=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("email"))}),c()(),y(200,"div",91),l(201,"div",96)(202,"input",97,10),Z("ngModelChange",function(u){return h(s),G(o.captchaInput,u)||(o.captchaInput=u),m(u)}),_("ngModelChange",function(){return h(s),m(o.onInputChange("email"))}),c(),l(204,"div",98),y(205,"canvas",99),c()(),y(206,"div",91),l(207,"div",100)(208,"button",101),_("click",function(){return h(s),m(o.EmailPopupFrm("check_message"))}),f(209,"Submit"),c()()(),y(210,"div",87),c(),l(211,"div",102),y(212,"img",59),c()()()()()()()}i&2&&(d(),g("ngIf",o.isLoading),d(),x(o.ToastColor),d(3),B(o.ToastMessage),d(),g("ngStyle",ie(97,Vs,o.footerBGColor)),d(2),g("defaultImage","ng_assets/images/light_wg_transparent.png")("lazyLoad",o.marketLogo),d(2),N(" ",o.marketname," "),d(4),x(o.QuickQuoteStyle),d(3),x(o.TermsStyle),g("href",o.TermsLink,Y),d(3),x(o.AboutStyle),d(3),x(o.SupportStyle),d(3),x(o.TutorialsStyle),g("href",o.Tutorial_link,Y),d(3),x(o.WebinarStyle),g("href",o.Webinar_link,Y),d(),B(o.Webinar_Content),d(4),x(o.QuickQuoteStyle),d(3),x(o.TutorialsStyle),g("href",o.Tutorial_link,Y),d(3),x(o.WebinarStyle),g("href",o.Webinar_link,Y),d(),B(o.Webinar_Content),d(3),x(o.SupportStyle),d(3),x(o.AboutStyle),d(3),x(o.TermsStyle),g("href",o.TermsLink,Y),d(24),z("ngModel",o.FirstName),g("ngClass",ie(99,kt,o.firstname)),d(6),z("ngModel",o.LastName),g("ngClass",ie(101,kt,o.lastname)),d(8),z("ngModel",o.Email),g("ngClass",ie(103,kt,o.email)),d(8),z("ngModel",o.CompanyName),g("ngClass",ie(105,kt,o.companyname)),d(8),z("ngModel",o.SelectedCompany),g("ngClass",ie(107,kt,o.selectedcompany&&!o.SelectedCompany)),d(2),oi("font-family","Jost-Regular"),d(2),oi("font-family","Jost-Regular"),d(2),oi("font-family","Jost-Regular"),d(2),oi("font-family","Jost-Regular"),d(6),z("ngModel",o.UserPhone),g("ngClass",ie(109,kt,o.userphone)),d(6),x(o.LearnMoreBtn),d(4),g("defaultImage","ng_assets/images/popup_footer_img_trans.png")("lazyLoad","ng_assets/images/popup_footer_img.png"),d(18),x(o.CallMoreBtn),g("ngStyle",ie(111,Vs,o.ButtonColor)),d(6),x(o.SupportMoreBtn),g("ngStyle",ie(113,Vs,o.ButtonColor)),d(5),g("ngIf",o.showChatOption),d(2),g("defaultImage","ng_assets/images/12kb.png")("lazyLoad","ng_assets/images/popup_footer_img.png"),d(23),Se("input-active",o.firstNameClicked),z("ngModel",o.Name),g("ngClass",ie(115,kt,o.name)),d(6),Se("input-active",o.firstNameClicked),z("ngModel",o.UserEmail),g("ngClass",ie(117,kt,o.useremail)),d(6),Se("input-active",o.firstNameClicked),z("ngModel",o.Subject),g("ngClass",ie(119,kt,o.subject)),d(4),Se("input-active",o.firstNameClicked),z("ngModel",o.Message),g("ngClass",ie(121,kt,o.message)),d(4),Se("input-active",o.firstNameClicked),z("ngModel",o.captchaInput),g("ngClass",ie(123,kt,o.captchainput)),d(6),x(o.SubmitBtn),d(4),g("defaultImage","ng_assets/images/market_home_img_trans.png")("lazyLoad","ng_assets/images/market_home_img.png"))},dependencies:[we,wi,De,rt,$e,It,xn,os,ss,hi,wn,Sn,Vi,Ri],encapsulation:2});let n=r;return n})();var gi=(()=>{let r=class r{constructor(t,i){this.componentFactoryResolver=t,this.globalService=i,this.enable_mobile_website="",this.market_code="",this.components=[lm,dm,um,mm,pm,Wl,fm,gm],this.currentIndex=0,this.loading=!1}ngOnInit(){return Un(this,null,function*(){this.enable_mobile_website=this.globalService.getenable_mobile_website(),this.market_code=this.globalService.getmarket_code();try{this.loadComponent(0),this.loadComponent(1),this.loadComponent(2),this.enable_mobile_website=="on"?this.loadComponent(4):this.loadComponent(3),this.market_code==="STZ"&&(this.components=this.components.filter(t=>t!==Wl)),this.initLazyLoading()}catch(t){console.error("Error fetching data:",t)}})}loadComponent(t){if(t>=this.components.length)return;
11let i=this.componentFactoryResolver.resolveComponentFactory(this.components[t]),s=this.dynamicHost.viewContainerRef.createComponent(i)}initLazyLoading(){this.enable_mobile_website=="on"?this.currentIndex=5:this.currentIndex=4,this.currentIndex<this.components.length&&this.dynamicHost.scrolled.pipe(Kr(500)).subscribe(()=>{this.loading||(this.loading=!0,this.loadNextComponent(),this.loading=!1)})}loadNextComponent(){if(this.currentIndex>=this.components.length)return;let t=this.componentFactoryResolver.resolveComponentFactory(this.components[this.currentIndex]),o=this.dynamicHost.viewContainerRef.createComponent(t);this.currentIndex++}onScrollToBottom(){this.loadNextComponent()}};r.\u0275fac=function(i){return new(i||r)(w(Zi),w(xe))},r.\u0275cmp=K({type:r,selectors:[["app-home"]],viewQuery:function(i,o){if(i&1&&L(nn,7),i&2){let s;F(s=O())&&(o.dynamicHost=s.first)}},decls:1,vars:0,consts:[["dynamicHost","",1,"container",3,"scrolledToBottom"]],template:function(i,o){i&1&&(l(0,"div",0),_("scrolledToBottom",function(){return o.onScrollToBottom()}),c())},dependencies:[nn],encapsulation:2});let n=r;return n})();var _m=(()=>
11{let r=class r{constructor(){this._marketDataSubject=new Ue(null),this.market_data$=this._marketDataSubject.asObservable()}setMarketData(t){this._marketDataSubject.next(t)}getMarketData(){return this._marketDataSubject.value}};r.\u0275fac=function(i){return new(i||r)},r.\u0275prov=M({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();function q2(n,r){if(n&1&&(l(0,"div",2)(1,"div",3),f(2),y(3,"br"),f(4),c()()),n&2){let e=p();d(2),N("S IP: ",e.server_ip),d(2),N("N IP: ",e.ip_addressno)}}var vm=(()=>{let r=class r{constructor(t,i,o,s,a,u,v,C,S,E,D,A){if(this.apiservice=t,this.dataStorageService=i,this.globalService=o,this.meta=s,this.titleService=a,this.http=u,this.Document=v,this.renderer=C,this.el=S,this.location=E,this.route=D,this.router=A,this.og_url="",this.og_image="https://images.palmagent.com/download-website/common/brand_og_data.jpg",this.webapp_user_dashboard="",this.webapp_url="",this.webapp_rep_dashboard="",this.show_ip=!1,this.ip_addressno="",this.server_ip="",this.Switch_User="",this.mmp_preview=!1,this.configLoaded=!1,this.widgetLogin="",this.document=b(ee),this.componentFactoryResolver=b(Zi),this.dynamicComponentService=b(et),this.domain=this.Document.location.hostname,this.domain=this.domain.replace(/^www\./,""),this.domain=this.domain.replace(/^php8\./,""),this.domain=this.domain.replace(/(\.com|\.net|\.org)$/,""),this.apiservice.getconfigmode()=="staging"){let V=this.location.path().split("dn=");V!=null&&V.length>1?this.domain=V[1].split("&")[0]:this.domain="fidelityagent"}else this.domain=="localhost"||this.domain=="pa-one-webapp.localhost"?this.domain="fidelityagent":this.domain=="eagleagentapp"&&(this.domain="firstamagent");window.location.pathname.includes("mmppreview")&&this.router.navigate(["mmppreview"]),this.domain=="staging.firstamagent"?this.jsonUrl=`https://d2w998roo7cij6.cloudfront.net/download-website/${this.domain}.json`:this.domain=="rifluxyss.palmagent"?this.jsonUrl=`https://d2w998roo7cij6.cloudfront.net/download-website/${this.domain}.json`:this.jsonUrl=this.apiservice.BucketUrl()+`download-website/${this.domain}.json`}ngOnInit(){this.getCookieHttp("Y29uZmlnX3ZhcmlhYmxl").subscribe(o=>{this.phpData=o,this.phpData!=null&&this.phpData!=""?(this.phpData=decodeURIComponent(this.phpData),this.phpData=JSON.parse(atob(this.phpData)),this.meta.updateTag({property:"og:image",content:`${this.phpData.og_image}`}),this.globalService.setip_address(this.phpData.ip_address),this.globalService.setforwarded_id(this.phpData.forworded_ip),this.globalService.setmmppreview(this.phpData.ismmppreview),this.globalService.setmarket_code(this.phpData.market_code),this.globalService.setmarketdarkcolor(this.phpData.market_color),this.globalService.setMarketName(this.phpData.market_name),this.globalService.setdisplay_onelabel(this.phpData.display_one_logo),this.globalService.setenable_mobile_website(this.phpData.enable_mobile_website),this.globalService.setWebsite_countyName(this.phpData.website_county_name),window.qq_w_code=this.phpData.widget_code,this.phpData.market_code!=null&&this.phpData.market_code=="NL"?this.globalService.setmarketlightcolor(this.phpData.market_color):this.globalService.setmarketlightcolor(this.phpData.market_light_color),this.Switch_User=this.phpData.switch_user_email,this.phpData.Show_ipaddress!=null&&this.phpData.Show_ipaddress=="yes"&&(this.show_ip=!0,this.ip_addressno=this.phpData.ip_address,this.server_ip=this.phpData.server_ip),this.phpData.market_code&&this.preloadMarketLogo(this.phpData.market_code),this.configLoaded=!0,this.dynamicComponentService.setViewContainerRef(this.dynamicHost.viewContainerRef),this.dynamicComponentService.loadComponent(gi)):console.log("Config details not be read!")},o=>{console.error("Config cookie fetch failed:",o)}),this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php";let t={user_email:"",market_code:""},i={action:"GetMarketJson",market_json:this.jsonUrl};this.apiservice.ApiCallFunction(this.ApiUrl,JSON.stringify(i),t).subscribe(o=>{this.response=o.body,this.response.status=="Success"&&(this.dataStorageService.setMarketData(this.response.results),this.UpdateMarketSettingValues(),this.og_url=`https://${this.globalService.getwebsite_url()}`,this.configLoaded||(this.configLoaded=!0,this.dynamicComponentService.setViewContainerRef(this.dynamicHost.viewContainerRef),this.dynamicComponentService.loadComponent(gi)))},o=>{console.error("Error fetching data:",o)}),setTimeout(()=>{this.loadQuickQuoteScript(this.apiservice.WidgetUrl()+"quick_quote_widget.js"),this.setLoaderColor(this.globalService.getmarketdarkcolor()),this.apiservice.getconfigmode()=="local"?(this.webapp_url=this.checkSSLExpiredFun(this.globalService.getwebsite_url()),this.webapp_user_dashboard=this.webapp_url+"/login/",this.webapp_rep_dashboard=this.webapp_url+"/dashboard/",this.webapp_url=this.webapp_url+"/"):this.apiservice.getconfigmode()=="staging"?(this.webapp_user_dashboard="https://dev-webapp.palmagent.com/app/login/",this.webapp_url="https://dev-webapp.palmagent.com/app/",this.webapp_rep_dashboard="https://dev-webapp.palmagent.com/dashboard/"):(this.webapp_user_dashboard=`https://${this.globalService.getwebsite_url()}/app/login/`,this.webapp_url=`https://${this.globalService.getwebsite_url()}/app/`,this.webapp_rep_dashboard=`https://${this.globalService.getwebsite_url()}/dashboard/`);let o;this.globalService.getmarket_code()!=null&&this.globalService.getmarket_code()!=""?this.getCookieHttp("share_token").subscribe(u=>{o=u,o!=null&&o!=""&&this.isValidRequestParam(o)&&o!="webinar_calculator"&&this.globalService.setshareapp_code(o)}):(o=this.getCookie("share_token"),o!=null&&o!=""&&this.isValidRequestParam(o)&&o!="webinar_calculator"&&this.globalService.setshareapp_code(o)),this.globalService.setmmppreview("no"),window.location.pathname.includes("mmppreview")&&(this.mmp_preview=!0),(this.Switch_User!=null&&this.Switch_User!=""||this.mmp_preview==!0)&&(this.dynamicComponentService.setViewContainerRef(this.dynamicHost.viewContainerRef),this.dynamicComponentService.loadComponent(gi));let a=window.location.href;if(a.includes("?launch=")){let u=a.replace("?launch=","?launch");window.history.replaceState(null,"",u)}},1e3),setTimeout(()=>{this.configLoaded||(this.configLoaded=!0,this.dynamicComponentService.setViewContainerRef(this.dynamicHost.viewContainerRef),this.dynamicComponentService.loadComponent(gi))},3e3)}checkSSLExpiredFun(t){return t=t.replace(/^https?:\/\//,""),`http://${t}`}onScroll(t){let i=t.target;i.scrollHeight-i.scrollTop,i.clientHeight}UpdateMarketSettingValues(){this.market_data=JSON.parse(this.dataStorageService.getMarketData()),this.globalService.setmarket_title(this.market_data.market_title),(this.phpData==null||this.phpData.market_code!=null&&this.phpData.market_code=="")&&(this.globalService.setMarketName(this.market_data.market_name),this.globalService.setmarket_code(this.market_data.market_code),this.globalService.setmarketdarkcolor(this.market_data.market_color),this.market_data.market_code!=null&&this.market_data.market_code=="NL"?this.globalService.setmarketlightcolor(this.market_data.market_color):this.globalService.setmarketlightcolor(this.market_data.market_light_color),this.globalService.setdisplay_onelabel(this.market_data.display_one_label)),this.globalService.setplaystore(this.market_data.playstore_url),this.globalService.setappstore(this.market_data.appstore_url),this.globalService.setwebsite_url(this.market_data.website_url),this.globalService.setwindowsApk(this.market_data.desktop_url),this.globalService.setMacApk(this.market_data.mac_url),this.globalService.setmarket_qrcode(this.market_data.market_qr_image),this.globalService.setmarket_video(this.market_data.videos[0].url)}updateMetaTags(){this.titleService.setTitle(`${this.globalService.getMarketName()} | Real estate in the palm of your hand`),this.meta.updateTag({name:"description",content:`${this.globalService.getMarketName()} - Real Estate's #1 Net Sheet & Closing Costs App for iPhone/iPad and Androids`}),this.meta.updateTag({name:"keywords",content:`${this.globalService.getMarketName()}, PITI, seller's net sheet, buyers quick estimate, net sheet & closing costs app`}),this.meta.updateTag({property:"og:title",content:`${this.globalService.getMarketName()} | Real estate in the palm of your hand`}),this.meta.updateTag({property:"og:description",content:`${this.globalService.getMarketName()} - Real Estate's #1 Net Sheet & Closing Costs App for iPhone/iPad and Androids`}),this.meta.updateTag({property:"og:url",content:`${this.og_url}`}),this.meta.updateTag({property:"og:image:width",content:"250"}),this.meta.updateTag({property:"og:image:height",content:"250"})}setFavicon(t){let i=document.querySelector("link[rel*='icon']");if(i)i.href=t;else{let o=document.createElement("link");o.type="image/x-icon",o.rel="shortcut icon",this.globalService.getmarket_code()=="FA"?o.href="ng_assets/images/FA.ico":o.href=t,document.head.appendChild(o)}}loadQuickQuoteScript(t){let i=document.createElement("script");i.src=t,i.type="text/javascript",i.async=!0,document.head.appendChild(i)}setLoaderColor(t){let i=this.renderer.createElement("style");i.type="text/css";let o=`.loader::after {border-left: 4px solid ${t} !important; }`;i.appendChild(this.renderer.createText(o)),this.renderer.appendChild(this.el.nativeElement,i)}getCookie(t){let i=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return i?i[2]:null}getCookieHttp(t){this.ApiUrl=this.apiservice.GetApiUrl()+"manage_cookie.php",this.formData={action:"GetCookie",name:t};let i={user_email:"",market_code:this.globalService.getmarket_code()};return this.apiservice.SetCookieApiCallFunction(this.ApiUrl,JSON.stringify(this.formData),i).pipe(X(o=>{let s=o.body;return s.status==="Success"?s.value:""}))}isValidRequestParam(t){if(!t||t===""||t==="null")return!1;let i=t.toLowerCase(),o=["sleep(","information_schema","select",".env","apple-app-site-association",".ico",".php",".css",".xml",".png",".txt",".js",".csv","go"];for(let s of o)if(i.includes(s))return!1;return!0}preloadMarketLogo(t){let i="";t=="FA"?i="ng_assets/images/FA.ico":i="https://d2w998roo7cij6.cloudfront.net/download-website/"+t+"/"+t+".ico";let o=new Image;o.src=i}};r.\u0275fac=function(i){return new(i||r)(w(Ie),w(_m),w(xe),w(yd),w(Do),w(li),w(ee),w(ce),w(re),w(je),w(vt),w(ze))},r.\u0275cmp=K({type:r,selectors:[["app-root"]],viewQuery:function(i,o){if(i&1&&L(nn,7),i&2){let s;F(s=O())&&(o.dynamicHost=s.first)}},decls:2,vars:1,consts:[["dynamicHost","",1,"container",3,"scroll"],["class","ServerCheck",4,"ngIf"],[1,"ServerCheck"],[1,"ServerInner"]],template:function(i,o){i&1&&(l(0,"div",0),_("scroll",function(a){return o.onScroll(a)}),c(),k(1,q2,5,2,"div",1)),i&2&&(d(),g("ngIf",o.show_ip))},dependencies:[nn,we,De],encapsulation:2});let n=r;return n})();var X2=(()=>{class n extends uo{constructor(e,t,i){super(e,t,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(t){return new(t||n)(J(ee),J(er),J(co))};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})();function Q2(){return new Lc}function Y2(n,r,e){return new Vc(n,r,e)}var bm=[{provide:co,useFactory:Q2},{provide:uo,useClass:X2},{provide:Ze,useFactory:Y2,deps:[ki,uo,le]}],K2=[{provide:er,useClass:Oc},{provide:Ht,useValue:"NoopAnimations"},...bm],ym=[{provide:er,useFactory:()=>new Rc},{provide:Ht,useFactory:()=>"BrowserAnimations"},...bm],Cm=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?K2:ym}}static \u0275fac=function(t){return new(t||n)};static \u0275mod=oe({type:n});static \u0275inj=ne({providers:ym,imports:[va]})}return n})();var J2=[{path:"mmppreview",component:gi},{path:"?launch",component:gi}],Sm=J2;var eb="@",tb=(()=>{class n{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;
11scheduler=null;injector=b(de);loadingSchedulerFn=b(ib,{optional:!0});_engine;constructor(e,t,i,o,s){this.doc=e,this.delegate=t,this.zone=i,this.animationType=o,this.moduleImpl=s}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-OPQHEP7Q.js").then(i=>i),t;return this.loadingSchedulerFn?t=this.loadingSchedulerFn(e):t=e(),t.catch(i=>{throw new te(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(e,t){let i=this.delegate.createRenderer(e,t);if(i.\u0275type===0)return i;typeof i.throwOnSyntheticProps=="boolean"&&(i.throwOnSyntheticProps=!1);let o=new jl(i);return t?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let a=s.createRenderer(e,t);o.use(a),this.scheduler??=this.injector.get(ic,null,{optional:!0}),this.scheduler?.notify(10)}).catch(s=>{o.use(i)}),o}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}componentReplaced(e){this._engine?.flush(),this.delegate.componentReplaced?.(e)}static \u0275fac=function(t){_c()};static \u0275prov=M({token:n,factory:n.\u0275fac})}return n})(),jl=class{delegate;replay=[];\u0275type=1;constructor(r){this.delegate=r}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,t,i){this.delegate.insertBefore(r,e,t,i)}removeChild(r,e,t,i){this.delegate.removeChild(r,e,t,i)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,t,i){this.delegate.setAttribute(r,e,t,i)}removeAttribute(r,e,t){this.delegate.removeAttribute(r,e,t)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,t,i){this.delegate.setStyle(r,e,t,i)}removeStyle(r,e,t){this.delegate.removeStyle(r,e,t)}setProperty(r,e,t){this.shouldReplay(e)&&this.replay.push(i=>i.setProperty(r,e,t)),this.delegate.setProperty(r,e,t)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,t,i){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(r,e,t,i)),this.delegate.listen(r,e,t,i)}shouldReplay(r){return this.replay!==null&&r.startsWith(eb)}},ib=new P("");function wm(n="animations"){return to("NgAsyncAnimations"),vi([{provide:Ze,useFactory:(r,e,t)=>new tb(r,e,t,n),deps:[ee,ki,le]},{provide:Ht,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}function nb(){let n=window.location.hostname;return n==="localhost"||n==="pa-one-webapp.localhost"?Bn.local:n.includes("dev-webapp.palmagent.com")?Bn.staging:Bn.master}var rb=nb(),$l=window.location.hostname,xm=rb.site_url;($l==="localhost"||$l==="pa-one-webapp.localhost"||$l==="dev-webapp.palmagent.com")&&(xm="",sb());var ob={production:!0};ob.production&&void 0;function sb(){let n=window.location.pathname,r=window.location.search;n==="/site/build/"?window.history.replaceState({},"",`/${r}`):r&&window.history.replaceState({},"",`/${r}`)}_a(vm,{providers:[Jl(Cm),Vl(Sm),wm(),Ca(),{provide:mo,useValue:xm}]}).catch(n=>console.error(n));

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.