vendor: 4,625 bytes, line 1
1import{a as re,b as Ma,c as tt,d as ge,e as He,f as it,g as za,h as Oa,i as Na,j as Ra,k as Ka,l as me,m as Ja,n as Qa,o as Xa,p as Cn,q as es,r as wn,s as ts}from"./chunk-NNJLF4TD.js";import{a as Gr,b as Ct,c as Pa,d as qi}from"./chunk-YNU2DIMX.js";import{b as $t,c as Be,d as Yt,e as Kt,f as Ua,g as Wi,i as Ei,j as _n,k as ja,l as Jt,m as Qt,n as Va,o as Ha,p as Ga,q as qa,r as Wa,s as Za,t as bn,u as Ii,v as $a,w as ki,x as Ya,y as Xt}from"./chunk-UJL4CTO3.js";import{a as ka,b as Fa,c as ze,d as Sn,e as is,f as ns,g as nt}from"./chunk-YXEKA3IN.js";import{c as Zt,d as Mt,e as ye,f as Ve,g as Ee}from"./chunk-GANPPMQ2.js";import{a as ya,c as qt,d as _a,e as ba,f as Ca,g as wa,h as Wt,i as Sa,j as Ea,k as Ia,l as Aa,m as Ta,n as Ba,o as xn,p as vn,q as et,r as yn,s as le,t as je,u as La,w as J,x as Da}from"./chunk-3C3XAKLB.js";import{$b as c,A as qo,Aa as Ke,Ac as Hr,B as kt,Ba as Tt,Bc as Je,Cb as ve,Cc as $e,D as Wo,Db as h,Ea as We,Eb as _t,Fa as Ge,Fb as sa,Gb as b,H as cn,Hb as Si,Ib as la,Ic as Xe,Ja as de,Jb as we,K as st,Ka as ea,Kb as Se,Lb as o,M as Ye,Ma as pn,Mb as a,N as Zo,Nb as u,Nc as Me,O as $o,Oa as ta,Ob as mi,Pa as dt,Pb as ui,Pc as ke,Q as dn,Qb as ie,Qc as Vt,R as Yo,Rb as P,Rc as Ht,S as Ko,Sb as f,Sc as ha,Tb as ca,Tc as ga,U as mn,Ub as da,Uc as fa,Vb as K,Vc as Gt,W as Jo,Wb as hn,Xb as Ot,Xc as xa,Yb as Bt,Yc as Pe,Z as ft,Zb as Lt,_ as yt,_b as Gi,_c as oe,a as Ae,aa as Vi,ab as jt,ac as M,b as vt,ba as Ur,bb as k,bc as Z,c as Uo,cb as ia,cc as gn,cd as va,da as pe,e as xe,eb as na,g as n0,ga as jr,gb as s,h as Rr,hc as ma,ia as ee,ja as At,jb as ra,jc as Re,ka as Qo,kb as Ze,kc as ue,lb as A,lc as De,mb as oa,mc as Ft,o as ln,oa as Vr,pa as wi,pc as Ue,qa as N,qc as bt,r as ji,ra as R,rb as $,rc as Dt,s as jo,sa as ne,sc as ua,t as Vo,ta as Ce,u as Ho,v as Go,vc as pa,w as Te,wa as un,wb as I,wc as fn,xa as Hi,ya as Xo,zb as aa}from"./chunk-AQERECD2.js";var Vs=xe(()=>{"use strict"});var _e=xe((Un,Hs)=>{"use strict";(function(t,r){typeof Un=="object"?Hs.exports=Un=r():typeof define=="function"&&define.amd?define([],r):t.CryptoJS=r()})(Un,function(){var t=t||function(r,e){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global<"u"&&global.crypto&&(i=global.crypto),!i&&typeof Uo=="function")try{i=Vs()}catch{}var n=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function x(){}return function(C){var L;return x.prototype=C,L=new x,x.prototype=null,L}}(),d={},m=d.lib={},p=m.Base=function(){return{extend:function(x){var C=l(this);return x&&C.mixIn(x),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var C in x)x.hasOwnProperty(C)&&(this[C]=x[C]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_=m.WordArray=p.extend({init:function(x,C){x=this.words=x||[],C!=e?this.sigBytes=C:this.sigBytes=x.length*4},toString:function(x){return(x||y).stringify(this)},concat:function(x){var C=this.words,L=x.words,B=this.sigBytes,F=x.sigBytes;if(this.clamp(),B%4)for(var D=0;D<F;D++){var H=L[D>>>2]>>>24-D%4*8&255;C[B+D>>>2]|=H<<24-(B+D)%4*8}else for(var G=0;G<F;G+=4)C[B+G>>>2]=L[G>>>2];return this.sigBytes+=F,this},clamp:function(){var x=this.words,C=this.sigBytes;x[C>>>2]&=4294967295<<32-C%4*8,x.length=r.ceil(C/4)},clone:function(){var x=p.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var C=[],L=0;L<x;L+=4)C.push(n());return new _.init(C,x)}}),g=d.enc={},y=g.Hex={stringify:function(x){for(var C=x.words,L=x.sigBytes,B=[],F=0;F<L;F++){var D=C[F>>>2]>>>24-F%4*8&255;B.push((D>>>4).toString(16)),B.push((D&15).toString(16))}return B.join("")},parse:function(x){for(var C=x.length,L=[],B=0;B<C;B+=2)L[B>>>3]|=parseInt(x.substr(B,2),16)<<24-B%8*4;return new _.init(L,C/2)}},v=g.Latin1={stringify:function(x){for(var C=x.words,L=x.sigBytes,B=[],F=0;F<L;F++){var D=C[F>>>2]>>>24-F%4*8&255;B.push(String.fromCharCode(D))}return B.join("")},parse:function(x){for(var C=x.length,L=[],B=0;B<C;B++)L[B>>>
vendor: 8,513 bytes, line 1
12]|=(x.charCodeAt(B)&255)<<24-B%4*8;return new _.init(L,C)}},w=g.Utf8={stringify:function(x){try{return decodeURIComponent(escape(v.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return v.parse(unescape(encodeURIComponent(x)))}},S=m.BufferedBlockAlgorithm=p.extend({reset:function(){this._data=new _.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=w.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var C,L=this._data,B=L.words,F=L.sigBytes,D=this.blockSize,H=D*4,G=F/H;x?G=r.ceil(G):G=r.max((G|0)-this._minBufferSize,0);var Y=G*D,X=r.min(Y*4,F);if(Y){for(var z=0;z<Y;z+=D)this._doProcessBlock(B,z);C=B.splice(0,Y),L.sigBytes-=X}return new _.init(C,X)},clone:function(){var x=p.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0}),T=m.Hasher=S.extend({cfg:p.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var C=this._doFinalize();return C},blockSize:512/32,_createHelper:function(x){return function(C,L){return new x.init(L).finalize(C)}},_createHmacHelper:function(x){return function(C,L){return new E.HMAC.init(x,L).finalize(C)}}}),E=d.algo={};return d}(Math);return t})});var en=xe((jn,Gs)=>{"use strict";(function(t,r){typeof jn=="object"?Gs.exports=jn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(jn,function(t){return function(r){var e=t,i=e.lib,n=i.Base,l=i.WordArray,d=e.x64={},m=d.Word=n.extend({init:function(_,g){this.high=_,this.low=g}}),p=d.WordArray=n.extend({init:function(_,g){_=this.words=_||[],g!=r?this.sigBytes=g:this.sigBytes=_.length*8},toX32:function(){for(var _=this.words,g=_.length,y=[],v=0;v<g;v++){var w=_[v];y.push(w.high),y.push(w.low)}return l.create(y,this.sigBytes)},clone:function(){for(var _=n.clone.call(this),g=_.words=this.words.slice(0),y=g.length,v=0;v<y;v++)g[v]=g[v].clone();return _}})}(),t})});var Ws=xe((Vn,qs)=>{"use strict";(function(t,r){typeof Vn=="object"?qs.exports=Vn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(Vn,function(t){return function(){if(typeof ArrayBuffer=="function"){var r=t,e=r.lib,i=e.WordArray,n=i.init,l=i.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var m=d.byteLength,p=[],_=0;_<m;_++)p[_>>>2]|=d[_]<<24-_%4*8;n.call(this,p,m)}else n.apply(this,arguments)};l.prototype=i}}(),t.lib.WordArray})});var $s=xe((Hn,Zs)=>{"use strict";(function(t,r){typeof Hn=="object"?Zs.exports=Hn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(Hn,function(t){return function(){var r=t,e=r.lib,i=e.WordArray,n=r.enc,l=n.Utf16=n.Utf16BE={stringify:function(m){for(var p=m.words,_=m.sigBytes,g=[],y=0;y<_;y+=2){var v=p[y>>>2]>>>16-y%4*8&65535;g.push(String.fromCharCode(v))}return g.join("")},parse:function(m){for(var p=m.length,_=[],g=0;g<p;g++)_[g>>>1]|=m.charCodeAt(g)<<16-g%2*16;return i.create(_,p*2)}};n.Utf16LE={stringify:function(m){for(var p=m.words,_=m.sigBytes,g=[],y=0;y<_;y+=2){var v=d(p[y>>>2]>>>16-y%4*8&65535);g.push(String.fromCharCode(v))}return g.join("")},parse:function(m){for(var p=m.length,_=[],g=0;g<p;g++)_[g>>>1]|=d(m.charCodeAt(g)<<16-g%2*16);return i.create(_,p*2)}};function d(m){return m<<8&4278255360|m>>>8&16711935}}(),t.enc.Utf16})});var ai=xe((Gn,Ys)=>{"use strict";(function(t,r){typeof Gn=="object"?Ys.exports=Gn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(Gn,function(t){return function(){var r=t,e=r.lib,i=e.WordArray,n=r.enc,l=n.Base64={stringify:function(m){var p=m.words,_=m.sigBytes,g=this._map;m.clamp();for(var y=[],v=0;v<_;v+=3)for(var w=p[v>>>2]>>>24-v%4*8&255,S=p[v+1>>>2]>>>24-(v+1)%4*8&255,T=p[v+2>>>2]>>>24-(v+2)%4*8&255,E=w<<16|S<<8|T,x=0;x<4&&v+x*.75<_;x++)y.push(g.charAt(E>>>6*(3-x)&63));var C=g.charAt(64);if(C)for(;y.length%4;)y.push(C);return y.join("")},parse:function(m){var p=m.length,_=this._map,g=this._reverseMap;if(!g){g=this._reverseMap=[];for(var y=0;y<_.length;y++)g[_.charCodeAt(y)]=y}var v=_.charAt(64);if(v){var w=m.indexOf(v);w!==-1&&(p=w)}return d(m,p,g)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function d(m,p,_){for(var g=[],y=0,v=0;v<p;v++)if(v%4){var w=_[m.charCodeAt(v-1)]<<v%4*2,S=_[m.charCodeAt(v)]>>>6-v%4*2,T=w|S;g[y>>>2]|=T<<24-y%4*8,y++}return i.create(g,y)}}(),t.enc.Base64})});var Js=xe((qn,Ks)=>{"use strict";(function(t,r){typeof qn=="object"?Ks.exports=qn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(qn,function(t){return function(){var r=t,e=r.lib,i=e.WordArray,n=r.enc,l=n.Base64url={stringify:function(m,p){p===void 0&&(p=!0);var _=m.words,g=m.sigBytes,y=p?this._safe_map:this._map;m.clamp();for(var v=[],w=0;w<g;w+=3)for(var S=_[w>>>2]>>>24-w%4*8&255,T=_[w+1>>>2]>>>24-(w+1)%4*8&255,E=_[w+2>>>2]>>>24-(w+2)%4*8&255,x=S<<16|T<<8|E,C=0;C<4&&w+C*.75<g;C++)v.push(y.charAt(x>>>6*(3-C)&63));var L=y.charAt(64);if(L)for(;v.length%4;)v.push(L);return v.join("")},parse:function(m,p){p===void 0&&(p=!0);var _=m.length,g=p?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var v=0;v<g.length;v++)y[g.charCodeAt(v)]=v}var w=g.charAt(64);if(w){var S=m.indexOf(w);S!==-1&&(_=S)}return d(m,_,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function d(m,p,_){for(var g=[],y=0,v=0;v<p;v++)if(v%4){var w=_[m.charCodeAt(v-1)]<<v%4*2,S=_[m.charCodeAt(v)]>>>6-v%4*2,T=w|S;g[y>>>2]|=T<<24-y%4*8,y++}return i.create(g,y)}}(),t.enc.Base64url})});var si=xe((Wn,Qs)=>{"use strict";(function(t,r){typeof Wn=="object"?Qs.exports=Wn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(Wn,function(t){return function(r){var e=t,i=e.lib,n=i.WordArray,l=i.Hasher,d=e.algo,m=[];(function(){for(var w=0;w<64;w++)m[w]=r.abs(r.sin(w+1))*4294967296|0})();var p=d.MD5=l.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(w,S){for(var T=0;T<16;T++){var E=S+T,x=w[E];w[E]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}var C=this._hash.words,L=w[S+0],B=w[S+1],F=w[S+2],D=w[S+3],H=w[S+4],G=w[S+5],Y=w[S+6],X=w[S+7],z=w[S+8],W=w[S+9],Q=w[S+10],V=w[S+11],ce=w[S+12],ae=w[S+13],he=w[S+14],be=w[S+15],O=C[0],j=C[1],q=C[2],U=C[3];O=_(O,j,q,U,L,7,m[0]),U=_(U,O,j,q,B,12,m[1]),q=_(q,U,O,j,F,17,m[2]),j=_(j,q,U,O,D,22,m[3]),O=_(O,j,q,U,H,7,m[4]),U=_(U,O,j,q,G,12,m[5]),q=_(q,U,O,j,Y,17,m[6]),j=_(j,q,U,O,X,22,m[7]),O=_(O,j,q,U,z,7,m[8]),U=_(U,O,j,q,W,12,m[9]),q=_(q,U,O,j,Q,17,m[10]),j=_(j,q,U,O,V,22,m[11]),O=_(O,j,q,U,ce,7,m[12]),U=_(U,O,j,q,ae,12,m[13]),q=_(q,U,O,j,he,17,m[14]),j=_(j,q,U,O,be,22,m[15]),O=g(O,j,q,U,B,5,m[16]),U=g(U,O,j,q,Y,9,m[17]),q=g(q,U,O,j,V,14,m[18]),j=g(j,q,U,O,L,20,m[19]),O=g(O,j,q,U,G,5,m[20]),U=g(U,O,j,q,Q,9,m[21]),q=g(q,U,O,j,be,14,m[22]),j=g(j,q,U,O,H,20,m[23]),O=g(O,j,q,U,W,5,m[24]),U=g(U,O,j,q,he,9,m[25]),q=g(q,U,O,j,D,14,m[26]),j=g(j,q,U,O,z,20,m[27]),O=g(O,j,q,U,ae,5,m[28]),U=g(U,O,j,q,F,9,m[29]),q=g(q,U,O,j,X,14,m[30]),j=g(j,q,U,O,ce,20,m[31]),O=y(O,j,q,U,G,4,m[32]),U=y(U,O,j,q,z,11,m[33]),q=y(q,U,O,j,V,16,m[34]),j=y(j,q,U,O,he,23,m[35]),O=y(O,j,q,U,B,4,m[36]),U=y(U,O,j,q,H,11,m[37]),q=y(q,U,O,j,X,16,m[38]),j=y(j,q,U,O,Q,23,m[39]),O=y(O,j,q,U,ae,4,m[40]),U=y(U,O,j,q,L,11,m[41]),q=y(q,U,O,j,D,16,m[42]),j=y(j,q,U,O,Y,23,m[43]),O=y(O,j,q,U,W,4,m[44]),U=y(U,O,j,q,ce,11,m[45]),q=y(q,U,O,j,be,16,m[46]),j=y(j,q,U,O,F,23,m[47]),O=v(O,j,q,U,L,6,m[48]),U=v(U,O,j,q,X,10,m[49]),q=v(q,U,O,j,he,15,m[50]),j=v(j,q,U,O,G,21,m[51]),O=v(O,j,q,U,ce,6,m[52]),U=v(U,O,j,q,D,10,m[53]),q=v(q,U,O,j,Q,15,m[54]),j=v(j,q,U,O,B,21,m[55]),O=v(O,j,q,U,z,6,m[56]),U=v(U,O,j,q,be,10,m[57]),q=v(q,U,O,j,Y,15,m[58]),j=v(j,q,U,O,ae,21,m[59]),O=v(O,j,q,U,H,6,m[60]),U=v(U,O,j,q,V,10,m[61]),q=v(q,U,O,j,F,15,m[62]),j=v(j,q,U,O,W,21,m[63]),C[0]=C[0]+O|0,C[1]=C[1]+j|0,C[2]=C[2]+q|0,C[3]=C[3]+U|0},_doFinalize:function(){var w=this._data,S=w.words,T=this._nDataBytes*8,E=w.sigBytes*8;S[E>>>5]|=128<<24-E%32;
vendor: 2,304 bytes, line 1
1var x=r.floor(T/4294967296),C=T;S[(E+64>>>9<<4)+15]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,S[(E+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,w.sigBytes=(S.length+1)*4,this._process();for(var L=this._hash,B=L.words,F=0;F<4;F++){var D=B[F];B[F]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return L},clone:function(){var w=l.clone.call(this);return w._hash=this._hash.clone(),w}});function _(w,S,T,E,x,C,L){var B=w+(S&T|~S&E)+x+L;return(B<<C|B>>>32-C)+S}function g(w,S,T,E,x,C,L){var B=w+(S&E|T&~E)+x+L;return(B<<C|B>>>32-C)+S}function y(w,S,T,E,x,C,L){var B=w+(S^T^E)+x+L;return(B<<C|B>>>32-C)+S}function v(w,S,T,E,x,C,L){var B=w+(T^(S|~E))+x+L;return(B<<C|B>>>32-C)+S}e.MD5=l._createHelper(p),e.HmacMD5=l._createHmacHelper(p)}(Math),t.MD5})});var ao=xe((Zn,Xs)=>{"use strict";(function(t,r){typeof Zn=="object"?Xs.exports=Zn=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(Zn,function(t){return function(){var r=t,e=r.lib,i=e.WordArray,n=e.Hasher,l=r.algo,d=[],m=l.SHA1=n.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(p,_){for(var g=this._hash.words,y=g[0],v=g[1],w=g[2],S=g[3],T=g[4],E=0;E<80;E++){if(E<16)d[E]=p[_+E]|0;else{var x=d[E-3]^d[E-8]^d[E-14]^d[E-16];d[E]=x<<1|x>>>31}var C=(y<<5|y>>>27)+T+d[E];E<20?C+=(v&w|~v&S)+1518500249:E<40?C+=(v^w^S)+1859775393:E<60?C+=(v&w|v&S|w&S)-1894007588:C+=(v^w^S)-899497514,T=S,S=w,w=v<<30|v>>>2,v=y,y=C}g[0]=g[0]+y|0,g[1]=g[1]+v|0,g[2]=g[2]+w|0,g[3]=g[3]+S|0,g[4]=g[4]+T|0},_doFinalize:function(){var p=this._data,_=p.words,g=this._nDataBytes*8,y=p.sigBytes*8;return _[y>>>5]|=128<<24-y%32,_[(y+64>>>9<<4)+14]=Math.floor(g/4294967296),_[(y+64>>>9<<4)+15]=g,p.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var p=n.clone.call(this);return p._hash=this._hash.clone(),p}});r.SHA1=n._createHelper(m),r.HmacSHA1=n._createHmacHelper(m)}(),t.SHA1})});var Yn=xe(($n,el)=>{"use strict";(function(t,r){typeof $n=="object"?el.exports=$n=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})($n,function(t){return function(r){var e=t,i=e.lib,n=i.WordArray,l=i.Hasher,d=e.algo,m=[],p=[];(function(){function y(T){for(var E=r.sqrt(T),x=2;x<=E;x++)if(!(T%x))return!1;return!0}
vendor: 9,815 bytes, line 1
1function v(T){return(T-(T|0))*4294967296|0}for(var w=2,S=0;S<64;)y(w)&&(S<8&&(m[S]=v(r.pow(w,1/2))),p[S]=v(r.pow(w,1/3)),S++),w++})();var _=[],g=d.SHA256=l.extend({_doReset:function(){this._hash=new n.init(m.slice(0))},_doProcessBlock:function(y,v){for(var w=this._hash.words,S=w[0],T=w[1],E=w[2],x=w[3],C=w[4],L=w[5],B=w[6],F=w[7],D=0;D<64;D++){if(D<16)_[D]=y[v+D]|0;else{var H=_[D-15],G=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,Y=_[D-2],X=(Y<<15|Y>>>17)^(Y<<13|Y>>>19)^Y>>>10;_[D]=G+_[D-7]+X+_[D-16]}var z=C&L^~C&B,W=S&T^S&E^T&E,Q=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),V=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ce=F+V+z+p[D]+_[D],ae=Q+W;F=B,B=L,L=C,C=x+ce|0,x=E,E=T,T=S,S=ce+ae|0}w[0]=w[0]+S|0,w[1]=w[1]+T|0,w[2]=w[2]+E|0,w[3]=w[3]+x|0,w[4]=w[4]+C|0,w[5]=w[5]+L|0,w[6]=w[6]+B|0,w[7]=w[7]+F|0},_doFinalize:function(){var y=this._data,v=y.words,w=this._nDataBytes*8,S=y.sigBytes*8;return v[S>>>5]|=128<<24-S%32,v[(S+64>>>9<<4)+14]=r.floor(w/4294967296),v[(S+64>>>9<<4)+15]=w,y.sigBytes=v.length*4,this._process(),this._hash},clone:function(){var y=l.clone.call(this);return y._hash=this._hash.clone(),y}});e.SHA256=l._createHelper(g),e.HmacSHA256=l._createHmacHelper(g)}(Math),t.SHA256})});var il=xe((Kn,tl)=>{"use strict";(function(t,r,e){typeof Kn=="object"?tl.exports=Kn=r(_e(),Yn()):typeof define=="function"&&define.amd?define(["./core","./sha256"],r):r(t.CryptoJS)})(Kn,function(t){return function(){var r=t,e=r.lib,i=e.WordArray,n=r.algo,l=n.SHA256,d=n.SHA224=l.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var m=l._doFinalize.call(this);return m.sigBytes-=4,m}});r.SHA224=l._createHelper(d),r.HmacSHA224=l._createHmacHelper(d)}(),t.SHA224})});var so=xe((Jn,nl)=>{"use strict";(function(t,r,e){typeof Jn=="object"?nl.exports=Jn=r(_e(),en()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],r):r(t.CryptoJS)})(Jn,function(t){return function(){var r=t,e=r.lib,i=e.Hasher,n=r.x64,l=n.Word,d=n.WordArray,m=r.algo;function p(){return l.create.apply(l,arguments)}var _=[p(1116352408,3609767458),p(1899447441,602891725),p(3049323471,3964484399),p(3921009573,2173295548),p(961987163,4081628472),p(1508970993,3053834265),p(2453635748,2937671579),p(2870763221,3664609560),p(3624381080,2734883394),p(310598401,1164996542),p(607225278,1323610764),p(1426881987,3590304994),p(1925078388,4068182383),p(2162078206,991336113),p(2614888103,633803317),p(3248222580,3479774868),p(3835390401,2666613458),p(4022224774,944711139),p(264347078,2341262773),p(604807628,2007800933),p(770255983,1495990901),p(1249150122,1856431235),p(1555081692,3175218132),p(1996064986,2198950837),p(2554220882,3999719339),p(2821834349,766784016),p(2952996808,2566594879),p(3210313671,3203337956),p(3336571891,1034457026),p(3584528711,2466948901),p(113926993,3758326383),p(338241895,168717936),p(666307205,1188179964),p(773529912,1546045734),p(1294757372,1522805485),p(1396182291,2643833823),p(1695183700,2343527390),p(1986661051,1014477480),p(2177026350,1206759142),p(2456956037,344077627),p(2730485921,1290863460),p(2820302411,3158454273),p(3259730800,3505952657),p(3345764771,106217008),p(3516065817,3606008344),p(3600352804,1432725776),p(4094571909,1467031594),p(275423344,851169720),p(430227734,3100823752),p(506948616,1363258195),p(659060556,3750685593),p(883997877,3785050280),p(958139571,3318307427),p(1322822218,3812723403),p(1537002063,2003034995),p(1747873779,3602036899),p(1955562222,1575990012),p(2024104815,1125592928),p(2227730452,2716904306),p(2361852424,442776044),p(2428436474,593698344),p(2756734187,3733110249),p(3204031479,2999351573),p(3329325298,3815920427),p(3391569614,3928383900),p(3515267271,566280711),p(3940187606,3454069534),p(4118630271,4000239992),p(116418474,1914138554),p(174292421,2731055270),p(289380356,3203993006),p(460393269,320620315),p(685471733,587496836),p(852142971,1086792851),p(1017036298,365543100),p(1126000580,2618297676),p(1288033470,3409855158),p(1501505948,4234509866),p(1607167915,987167468),p(1816402316,1246189591)],g=[];(function(){for(var v=0;v<80;v++)g[v]=p()})();var y=m.SHA512=i.extend({_doReset:function(){this._hash=new d.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(v,w){for(var S=this._hash.words,T=S[0],E=S[1],x=S[2],C=S[3],L=S[4],B=S[5],F=S[6],D=S[7],H=T.high,G=T.low,Y=E.high,X=E.low,z=x.high,W=x.low,Q=C.high,V=C.low,ce=L.high,ae=L.low,he=B.high,be=B.low,O=F.high,j=F.low,q=D.high,U=D.low,Oe=H,Fe=G,ct=Y,fe=X,Mi=z,_i=W,Or=Q,Pi=V,Et=ce,ht=ae,on=he,zi=be,an=O,Oi=j,Nr=q,Ni=U,It=0;It<80;It++){var xt,Rt,sn=g[It];if(It<16)Rt=sn.high=v[w+It*2]|0,xt=sn.low=v[w+It*2+1]|0;else{var Ao=g[It-15],bi=Ao.high,Ri=Ao.low,Gc=(bi>>>1|Ri<<31)^(bi>>>8|Ri<<24)^bi>>>7,To=(Ri>>>1|bi<<31)^(Ri>>>8|bi<<24)^(Ri>>>7|bi<<25),Bo=g[It-2],Ci=Bo.high,Ui=Bo.low,qc=(Ci>>>19|Ui<<13)^(Ci<<3|Ui>>>29)^Ci>>>6,Lo=(Ui>>>19|Ci<<13)^(Ui<<3|Ci>>>29)^(Ui>>>6|Ci<<26),Fo=g[It-7],Wc=Fo.high,Zc=Fo.low,Do=g[It-16],$c=Do.high,Mo=Do.low;xt=To+Zc,Rt=Gc+Wc+(xt>>>0<To>>>0?1:0),xt=xt+Lo,Rt=Rt+qc+(xt>>>0<Lo>>>0?1:0),xt=xt+Mo,Rt=Rt+$c+(xt>>>0<Mo>>>0?1:0),sn.high=Rt,sn.low=xt}var Yc=Et&on^~Et&an,Po=ht&zi^~ht&Oi,Kc=Oe&ct^Oe&Mi^ct&Mi,Jc=Fe&fe^Fe&_i^fe&_i,Qc=(Oe>>>28|Fe<<4)^(Oe<<30|Fe>>>2)^(Oe<<25|Fe>>>7),zo=(Fe>>>28|Oe<<4)^(Fe<<30|Oe>>>2)^(Fe<<25|Oe>>>7),Xc=(Et>>>14|ht<<18)^(Et>>>18|ht<<14)^(Et<<23|ht>>>9),e0=(ht>>>14|Et<<18)^(ht>>>18|Et<<14)^(ht<<23|Et>>>9),Oo=_[It],t0=Oo.high,No=Oo.low,gt=Ni+e0,Ut=Nr+Xc+(gt>>>0<Ni>>>0?1:0),gt=gt+Po,Ut=Ut+Yc+(gt>>>0<Po>>>0?1:0),gt=gt+No,Ut=Ut+t0+(gt>>>0<No>>>0?1:0),gt=gt+xt,Ut=Ut+Rt+(gt>>>0<xt>>>0?1:0),Ro=zo+Jc,i0=Qc+Kc+(Ro>>>0<zo>>>0?1:0);Nr=an,Ni=Oi,an=on,Oi=zi,on=Et,zi=ht,ht=Pi+gt|0,Et=Or+Ut+(ht>>>0<Pi>>>0?1:0)|0,Or=Mi,Pi=_i,Mi=ct,_i=fe,ct=Oe,fe=Fe,Fe=gt+Ro|0,Oe=Ut+i0+(Fe>>>0<gt>>>0?1:0)|0}G=T.low=G+Fe,T.high=H+Oe+(G>>>0<Fe>>>0?1:0),X=E.low=X+fe,E.high=Y+ct+(X>>>0<fe>>>0?1:0),W=x.low=W+_i,x.high=z+Mi+(W>>>0<_i>>>0?1:0),V=C.low=V+Pi,C.high=Q+Or+(V>>>0<Pi>>>0?1:0),ae=L.low=ae+ht,L.high=ce+Et+(ae>>>0<ht>>>0?1:0),be=B.low=be+zi,B.high=he+on+(be>>>0<zi>>>0?1:0),j=F.low=j+Oi,F.high=O+an+(j>>>0<Oi>>>0?1:0),U=D.low=U+Ni,D.high=q+Nr+(U>>>0<Ni>>>0?1:0)},_doFinalize:function(){var v=this._data,w=v.words,S=this._nDataBytes*8,T=v.sigBytes*8;w[T>>>5]|=128<<24-T%32,w[(T+128>>>10<<5)+30]=Math.floor(S/4294967296),w[(T+128>>>10<<5)+31]=S,v.sigBytes=w.length*4,this._process();var E=this._hash.toX32();return E},clone:function(){var v=i.clone.call(this);return v._hash=this._hash.clone(),v},blockSize:1024/32});r.SHA512=i._createHelper(y),r.HmacSHA512=i._createHmacHelper(y)}(),t.SHA512})});var ol=xe((Qn,rl)=>{"use strict";(function(t,r,e){typeof Qn=="object"?rl.exports=Qn=r(_e(),en(),so()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],r):r(t.CryptoJS)})(Qn,function(t){return function(){var r=t,e=r.x64,i=e.Word,n=e.WordArray,l=r.algo,d=l.SHA512,m=l.SHA384=d.extend({_doReset:function(){this._hash=new n.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var p=d._doFinalize.call(this);return p.sigBytes-=16,p}});r.SHA384=d._createHelper(m),r.HmacSHA384=d._createHmacHelper(m)}(),t.SHA384})});var sl=xe((Xn,al)=>{"use strict";(function(t,r,e){typeof Xn=="object"?al.exports=Xn=r(_e(),en()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],r):r(t.CryptoJS)})(Xn,function(t){return function(r){var e=t,i=e.lib,n=i.WordArray,l=i.Hasher,d=e.x64,m=d.Word,p=e.algo,_=[],g=[],y=[];(function(){for(var S=1,T=0,E=0;E<24;E++){_[S+5*T]=(E+1)*(E+2)/2%64;var x=T%5,C=(2*S+3*T)%5;S=x,T=C}for(var S=0;S<5;S++)for(var T=0;T<5;T++)g[S+5*T]=T+(2*S+3*T)%5*5;for(var L=1,B=0;B<24;B++){for(var F=0,D=0,H=0;H<7;H++){if(L&1){var G=(1<<H)-1;G<32?D^=1<<G:F^=1<<G-32}L&128?L=L<<1^113:L<<=1}y[B]=m.create(F,D)}})();var v=[];(function(){for(var S=0;S<25;S++)v[S]=m.create()})();var w=p.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],T=0;T<25;T++)S[T]=new m.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,T){for(var E=this._state,x=this.blockSize/2,C=0;C<x;C++){var L=S[T+2*C],B=S[T+2*C+1];L=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var F=E[C];F.high^=B,F.low^=L}for(var D=0;D<24;D++){for(var H=0;H<5;H++){for(var G=0,Y=0,X=0;X<5;X++){var F=E[H+5*X];G^=F.high,Y^=F.low}var z=v[H];z.high=G,z.low=Y}for(var H=0;H<5;H++)for(var W=v[(H+4)%5],Q=v[(H+1)%5],V=Q.high,ce=Q.low,G=W.high^(V<<1|ce>>>31),Y=W.low^(ce<<1|V>>>31),X=0;X<5;X++){var F=E[H+5*X];F.high^=G,F.low^=Y}for(var ae=1;ae<25;ae++){var G,Y,F=E[ae],he=F.high,be=F.low,O=_[ae];O<32?(G=he<<O|be>>>32-O,Y=be<<O|he>>>32-O):(G=be<<O-32|he>>>64-O,Y=he<<O-32|be>>>64-O);var j=v[g[ae]];j.high=G,j.low=Y}var q=v[0],U=E[0];q.high=U.high,q.low=U.low;for(var H=0;H<5;H++)for(var X=0;X<5;X++){var ae=H+5*X,F=E[ae],Oe=v[ae],Fe=v[(H+1)%5+5*X],ct=v[(H+2)%5+5*X];F.high=Oe.high^~Fe.high&ct.high,F.low=Oe.low^~Fe.low&ct.low}var F=E[0],fe=y[D];F.high^=fe.high,F.low^=fe.low}},_doFinalize:function(){var S=this._data,T=S.words,E=this._nDataBytes*8,x=S.sigBytes*8,C=this.blockSize*32;T[x>>>5]|=1<<24-x%32,T[(r.ceil((x+1)/C)*C>>>5)-1]|=128,S.sigBytes=T.length*4,this._process();for(var L=this._state,B=this.cfg.outputLength/8,F=B/8,D=[],H=0;H<F;H++){var G=L[H],Y=G.high,X=G.low;Y=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360,X=(X<<8|X>>>
vendor: 4,696 bytes, line 1
124)&16711935|(X<<24|X>>>8)&4278255360,D.push(X),D.push(Y)}return new n.init(D,B)},clone:function(){for(var S=l.clone.call(this),T=S._state=this._state.slice(0),E=0;E<25;E++)T[E]=T[E].clone();return S}});e.SHA3=l._createHelper(w),e.HmacSHA3=l._createHmacHelper(w)}(Math),t.SHA3})});var cl=xe((er,ll)=>{"use strict";(function(t,r){typeof er=="object"?ll.exports=er=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(er,function(t){return function(r){var e=t,i=e.lib,n=i.WordArray,l=i.Hasher,d=e.algo,m=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),p=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),_=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),g=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=n.create([0,1518500249,1859775393,2400959708,2840853838]),v=n.create([1352829926,1548603684,1836072691,2053994217,0]),w=d.RIPEMD160=l.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,F){for(var D=0;D<16;D++){var H=F+D,G=B[H];B[H]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360}var Y=this._hash.words,X=y.words,z=v.words,W=m.words,Q=p.words,V=_.words,ce=g.words,ae,he,be,O,j,q,U,Oe,Fe,ct;q=ae=Y[0],U=he=Y[1],Oe=be=Y[2],Fe=O=Y[3],ct=j=Y[4];for(var fe,D=0;D<80;D+=1)fe=ae+B[F+W[D]]|0,D<16?fe+=S(he,be,O)+X[0]:D<32?fe+=T(he,be,O)+X[1]:D<48?fe+=E(he,be,O)+X[2]:D<64?fe+=x(he,be,O)+X[3]:fe+=C(he,be,O)+X[4],fe=fe|0,fe=L(fe,V[D]),fe=fe+j|0,ae=j,j=O,O=L(be,10),be=he,he=fe,fe=q+B[F+Q[D]]|0,D<16?fe+=C(U,Oe,Fe)+z[0]:D<32?fe+=x(U,Oe,Fe)+z[1]:D<48?fe+=E(U,Oe,Fe)+z[2]:D<64?fe+=T(U,Oe,Fe)+z[3]:fe+=S(U,Oe,Fe)+z[4],fe=fe|0,fe=L(fe,ce[D]),fe=fe+ct|0,q=ct,ct=Fe,Fe=L(Oe,10),Oe=U,U=fe;fe=Y[1]+be+Fe|0,Y[1]=Y[2]+O+ct|0,Y[2]=Y[3]+j+q|0,Y[3]=Y[4]+ae+U|0,Y[4]=Y[0]+he+Oe|0,Y[0]=fe},_doFinalize:function(){var B=this._data,F=B.words,D=this._nDataBytes*8,H=B.sigBytes*8;F[H>>>5]|=128<<24-H%32,F[(H+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,B.sigBytes=(F.length+1)*4,this._process();for(var G=this._hash,Y=G.words,X=0;X<5;X++){var z=Y[X];Y[X]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360}return G},clone:function(){var B=l.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,F,D){return B^F^D}function T(B,F,D){return B&F|~B&D}function E(B,F,D){return(B|~F)^D}function x(B,F,D){return B&D|F&~D}function C(B,F,D){return B^(F|~D)}function L(B,F){return B<<F|B>>>32-F}e.RIPEMD160=l._createHelper(w),e.HmacRIPEMD160=l._createHmacHelper(w)}(Math),t.RIPEMD160})});var ir=xe((tr,dl)=>{"use strict";(function(t,r){typeof tr=="object"?dl.exports=tr=r(_e()):typeof define=="function"&&define.amd?define(["./core"],r):r(t.CryptoJS)})(tr,function(t){(function(){var r=t,e=r.lib,i=e.Base,n=r.enc,l=n.Utf8,d=r.algo,m=d.HMAC=i.extend({init:function(p,_){p=this._hasher=new p.init,typeof _=="string"&&(_=l.parse(_));var g=p.blockSize,y=g*4;_.sigBytes>y&&(_=p.finalize(_)),_.clamp();for(var v=this._oKey=_.clone(),w=this._iKey=_.clone(),S=v.words,T=w.words,E=0;E<g;E++)S[E]^=1549556828,T[E]^=909522486;v.sigBytes=w.sigBytes=y,this.reset()},reset:function(){var p=this._hasher;p.reset(),p.update(this._iKey)},update:function(p){return this._hasher.update(p),this},finalize:function(p){var _=this._hasher,g=_.finalize(p);_.reset();var y=_.finalize(this._oKey.clone().concat(g));return y}})})()})});var ul=xe((nr,ml)=>{"use strict";(function(t,r,e){typeof nr=="object"?ml.exports=nr=r(_e(),Yn(),ir()):typeof define=="function"&&define.amd?define(["./core","./sha256","./hmac"],r):r(t.CryptoJS)})(nr,function(t){return function(){var r=t,e=r.lib,i=e.Base,n=e.WordArray,l=r.algo,d=l.SHA256,m=l.HMAC,p=l.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:d,iterations:25e4}),init:function(_){this.cfg=this.cfg.extend(_)},compute:function(_,g){for(var y=this.cfg,v=m.create(y.hasher,_),w=n.create(),S=n.create([1]),T=w.words,E=S.words,x=y.keySize,C=y.iterations;T.length<x;){var L=v.update(g).finalize(S);v.reset();for(var B=L.words,F=B.length,D=L,H=1;H<C;H++){D=v.finalize(D),v.reset();for(var G=D.words,Y=0;Y<F;Y++)B[Y]^=G[Y]}w.concat(L),E[0]++}
vendor: 13,883 bytes, line 1
1return w.sigBytes=x*4,w}});r.PBKDF2=function(_,g,y){return p.create(y).compute(_,g)}}(),t.PBKDF2})});var Nt=xe((rr,pl)=>{"use strict";(function(t,r,e){typeof rr=="object"?pl.exports=rr=r(_e(),ao(),ir()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],r):r(t.CryptoJS)})(rr,function(t){return function(){var r=t,e=r.lib,i=e.Base,n=e.WordArray,l=r.algo,d=l.MD5,m=l.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:d,iterations:1}),init:function(p){this.cfg=this.cfg.extend(p)},compute:function(p,_){for(var g,y=this.cfg,v=y.hasher.create(),w=n.create(),S=w.words,T=y.keySize,E=y.iterations;S.length<T;){g&&v.update(g),g=v.update(p).finalize(_),v.reset();for(var x=1;x<E;x++)g=v.finalize(g),v.reset();w.concat(g)}return w.sigBytes=T*4,w}});r.EvpKDF=function(p,_,g){return m.create(g).compute(p,_)}}(),t.EvpKDF})});var qe=xe((or,hl)=>{"use strict";(function(t,r,e){typeof or=="object"?hl.exports=or=r(_e(),Nt()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],r):r(t.CryptoJS)})(or,function(t){t.lib.Cipher||function(r){var e=t,i=e.lib,n=i.Base,l=i.WordArray,d=i.BufferedBlockAlgorithm,m=e.enc,p=m.Utf8,_=m.Base64,g=e.algo,y=g.EvpKDF,v=i.Cipher=d.extend({cfg:n.extend(),createEncryptor:function(z,W){return this.create(this._ENC_XFORM_MODE,z,W)},createDecryptor:function(z,W){return this.create(this._DEC_XFORM_MODE,z,W)},init:function(z,W,Q){this.cfg=this.cfg.extend(Q),this._xformMode=z,this._key=W,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(z){return this._append(z),this._process()},finalize:function(z){z&&this._append(z);var W=this._doFinalize();return W},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function z(W){return typeof W=="string"?X:H}return function(W){return{encrypt:function(Q,V,ce){return z(V).encrypt(W,Q,V,ce)},decrypt:function(Q,V,ce){return z(V).decrypt(W,Q,V,ce)}}}}()}),w=i.StreamCipher=v.extend({_doFinalize:function(){var z=this._process(!0);return z},blockSize:1}),S=e.mode={},T=i.BlockCipherMode=n.extend({createEncryptor:function(z,W){return this.Encryptor.create(z,W)},createDecryptor:function(z,W){return this.Decryptor.create(z,W)},init:function(z,W){this._cipher=z,this._iv=W}}),E=S.CBC=function(){var z=T.extend();z.Encryptor=z.extend({processBlock:function(Q,V){var ce=this._cipher,ae=ce.blockSize;W.call(this,Q,V,ae),ce.encryptBlock(Q,V),this._prevBlock=Q.slice(V,V+ae)}}),z.Decryptor=z.extend({processBlock:function(Q,V){var ce=this._cipher,ae=ce.blockSize,he=Q.slice(V,V+ae);ce.decryptBlock(Q,V),W.call(this,Q,V,ae),this._prevBlock=he}});function W(Q,V,ce){var ae,he=this._iv;he?(ae=he,this._iv=r):ae=this._prevBlock;for(var be=0;be<ce;be++)Q[V+be]^=ae[be]}return z}(),x=e.pad={},C=x.Pkcs7={pad:function(z,W){for(var Q=W*4,V=Q-z.sigBytes%Q,ce=V<<24|V<<16|V<<8|V,ae=[],he=0;he<V;he+=4)ae.push(ce);var be=l.create(ae,V);z.concat(be)},unpad:function(z){var W=z.words[z.sigBytes-1>>>2]&255;z.sigBytes-=W}},L=i.BlockCipher=v.extend({cfg:v.cfg.extend({mode:E,padding:C}),reset:function(){var z;v.reset.call(this);var W=this.cfg,Q=W.iv,V=W.mode;this._xformMode==this._ENC_XFORM_MODE?z=V.createEncryptor:(z=V.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==z?this._mode.init(this,Q&&Q.words):(this._mode=z.call(V,this,Q&&Q.words),this._mode.__creator=z)},_doProcessBlock:function(z,W){this._mode.processBlock(z,W)},_doFinalize:function(){var z,W=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(W.pad(this._data,this.blockSize),z=this._process(!0)):(z=this._process(!0),W.unpad(z)),z},blockSize:128/32}),B=i.CipherParams=n.extend({init:function(z){this.mixIn(z)},toString:function(z){return(z||this.formatter).stringify(this)}}),F=e.format={},D=F.OpenSSL={stringify:function(z){var W,Q=z.ciphertext,V=z.salt;return V?W=l.create([1398893684,1701076831]).concat(V).concat(Q):W=Q,W.toString(_)},parse:function(z){var W,Q=_.parse(z),V=Q.words;return V[0]==1398893684&&V[1]==1701076831&&(W=l.create(V.slice(2,4)),V.splice(0,4),Q.sigBytes-=16),B.create({ciphertext:Q,salt:W})}},H=i.SerializableCipher=n.extend({cfg:n.extend({format:D}),encrypt:function(z,W,Q,V){V=this.cfg.extend(V);var ce=z.createEncryptor(Q,V),ae=ce.finalize(W),he=ce.cfg;return B.create({ciphertext:ae,key:Q,iv:he.iv,algorithm:z,mode:he.mode,padding:he.padding,blockSize:z.blockSize,formatter:V.format})},decrypt:function(z,W,Q,V){V=this.cfg.extend(V),W=this._parse(W,V.format);var ce=z.createDecryptor(Q,V).finalize(W.ciphertext);return ce},_parse:function(z,W){return typeof z=="string"?W.parse(z,this):z}}),G=e.kdf={},Y=G.OpenSSL={execute:function(z,W,Q,V,ce){if(V||(V=l.random(64/8)),ce)var ae=y.create({keySize:W+Q,hasher:ce}).compute(z,V);else var ae=y.create({keySize:W+Q}).compute(z,V);var he=l.create(ae.words.slice(W),Q*4);return ae.sigBytes=W*4,B.create({key:ae,iv:he,salt:V})}},X=i.PasswordBasedCipher=H.extend({cfg:H.cfg.extend({kdf:Y}),encrypt:function(z,W,Q,V){V=this.cfg.extend(V);var ce=V.kdf.execute(Q,z.keySize,z.ivSize,V.salt,V.hasher);V.iv=ce.iv;var ae=H.encrypt.call(this,z,W,ce.key,V);return ae.mixIn(ce),ae},decrypt:function(z,W,Q,V){V=this.cfg.extend(V),W=this._parse(W,V.format);var ce=V.kdf.execute(Q,z.keySize,z.ivSize,W.salt,V.hasher);V.iv=ce.iv;var ae=H.decrypt.call(this,z,W,ce.key,V);return ae}})}()})});var fl=xe((ar,gl)=>{"use strict";(function(t,r,e){typeof ar=="object"?gl.exports=ar=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(ar,function(t){return t.mode.CFB=function(){var r=t.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(i,n){var l=this._cipher,d=l.blockSize;e.call(this,i,n,d,l),this._prevBlock=i.slice(n,n+d)}}),r.Decryptor=r.extend({processBlock:function(i,n){var l=this._cipher,d=l.blockSize,m=i.slice(n,n+d);e.call(this,i,n,d,l),this._prevBlock=m}});function e(i,n,l,d){var m,p=this._iv;p?(m=p.slice(0),this._iv=void 0):m=this._prevBlock,d.encryptBlock(m,0);for(var _=0;_<l;_++)i[n+_]^=m[_]}return r}(),t.mode.CFB})});var vl=xe((sr,xl)=>{"use strict";(function(t,r,e){typeof sr=="object"?xl.exports=sr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(sr,function(t){return t.mode.CTR=function(){var r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(i,n){var l=this._cipher,d=l.blockSize,m=this._iv,p=this._counter;m&&(p=this._counter=m.slice(0),this._iv=void 0);var _=p.slice(0);l.encryptBlock(_,0),p[d-1]=p[d-1]+1|0;for(var g=0;g<d;g++)i[n+g]^=_[g]}});return r.Decryptor=e,r}(),t.mode.CTR})});var _l=xe((lr,yl)=>{"use strict";(function(t,r,e){typeof lr=="object"?yl.exports=lr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(lr,function(t){return t.mode.CTRGladman=function(){var r=t.lib.BlockCipherMode.extend();function e(l){if((l>>24&255)===255){var d=l>>16&255,m=l>>8&255,p=l&255;d===255?(d=0,m===255?(m=0,p===255?p=0:++p):++m):++d,l=0,l+=d<<16,l+=m<<8,l+=p}else l+=1<<24;return l}function i(l){return(l[0]=e(l[0]))===0&&(l[1]=e(l[1])),l}var n=r.Encryptor=r.extend({processBlock:function(l,d){var m=this._cipher,p=m.blockSize,_=this._iv,g=this._counter;_&&(g=this._counter=_.slice(0),this._iv=void 0),i(g);var y=g.slice(0);m.encryptBlock(y,0);for(var v=0;v<p;v++)l[d+v]^=y[v]}});return r.Decryptor=n,r}(),t.mode.CTRGladman})});var Cl=xe((cr,bl)=>{"use strict";(function(t,r,e){typeof cr=="object"?bl.exports=cr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(cr,function(t){return t.mode.OFB=function(){var r=t.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(i,n){var l=this._cipher,d=l.blockSize,m=this._iv,p=this._keystream;m&&(p=this._keystream=m.slice(0),this._iv=void 0),l.encryptBlock(p,0);for(var _=0;_<d;_++)i[n+_]^=p[_]}});return r.Decryptor=e,r}(),t.mode.OFB})});var Sl=xe((dr,wl)=>{"use strict";(function(t,r,e){typeof dr=="object"?wl.exports=dr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(dr,function(t){return t.mode.ECB=function(){var r=t.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(e,i){this._cipher.encryptBlock(e,i)}}),r.Decryptor=r.extend({processBlock:function(e,i){this._cipher.decryptBlock(e,i)}}),r}(),t.mode.ECB})});var Il=xe((mr,El)=>{"use strict";(function(t,r,e){typeof mr=="object"?El.exports=mr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(mr,function(t){return t.pad.AnsiX923={pad:function(r,e){var i=r.sigBytes,n=e*4,l=n-i%n,d=i+l-1;r.clamp(),r.words[d>>>2]|=l<<24-d%4*8,r.sigBytes+=l},unpad:function(r){var e=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=e}},t.pad.Ansix923})});var Al=xe((ur,kl)=>{"use strict";(function(t,r,e){typeof ur=="object"?kl.exports=ur=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(ur,function(t){return t.pad.Iso10126={pad:function(r,e){var i=e*4,n=i-r.sigBytes%i;r.concat(t.lib.WordArray.random(n-1)).concat(t.lib.WordArray.create([n<<24],1))},unpad:function(r){var e=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=e}},t.pad.Iso10126})});var Bl=xe((pr,Tl)=>{"use strict";(function(t,r,e){typeof pr=="object"?Tl.exports=pr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(pr,function(t){return t.pad.Iso97971={pad:function(r,e){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,e)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}},t.pad.Iso97971})});var Fl=xe((hr,Ll)=>{"use strict";(function(t,r,e){typeof hr=="object"?Ll.exports=hr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(hr,function(t){return t.pad.ZeroPadding={pad:function(r,e){var i=e*4;r.clamp(),r.sigBytes+=i-(r.sigBytes%i||i)},unpad:function(r){for(var e=r.words,i=r.sigBytes-1,i=r.sigBytes-1;i>=0;i--)if(e[i>>>2]>>>24-i%4*8&255){r.sigBytes=i+1;break}}},t.pad.ZeroPadding})});var Ml=xe((gr,Dl)=>{"use strict";(function(t,r,e){typeof gr=="object"?Dl.exports=gr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(gr,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})});var zl=xe((fr,Pl)=>{"use strict";(function(t,r,e){typeof fr=="object"?Pl.exports=fr=r(_e(),qe()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],r):r(t.CryptoJS)})(fr,function(t){return function(r){var e=t,i=e.lib,n=i.CipherParams,l=e.enc,d=l.Hex,m=e.format,p=m.Hex={stringify:function(_){return _.ciphertext.toString(d)},parse:function(_){var g=d.parse(_);return n.create({ciphertext:g})}}}(),t.format.Hex})});var Nl=xe((xr,Ol)=>{"use strict";(function(t,r,e){typeof xr=="object"?Ol.exports=xr=r(_e(),ai(),si(),Nt(),qe()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(t.CryptoJS)})(xr,function(t){return function(){var r=t,e=r.lib,i=e.BlockCipher,n=r.algo,l=[],d=[],m=[],p=[],_=[],g=[],y=[],v=[],w=[],S=[];(function(){for(var x=[],C=0;C<256;C++)C<128?x[C]=C<<1:x[C]=C<<1^283;for(var L=0,B=0,C=0;C<256;C++){var F=B^B<<1^B<<2^B<<3^B<<4;F=F>>>8^F&255^99,l[L]=F,d[F]=L;var D=x[L],H=x[D],G=x[H],Y=x[F]*257^F*16843008;m[L]=Y<<24|Y>>>8,p[L]=Y<<16|Y>>>16,_[L]=Y<<8|Y>>>24,g[L]=Y;var Y=G*16843009^H*65537^D*257^L*16843008;y[F]=Y<<24|Y>>>8,v[F]=Y<<16|Y>>>16,w[F]=Y<<8|Y>>>24,S[F]=Y,L?(L=D^x[x[x[G^D]]],B^=x[x[B]]):L=B=1}})();var T=[0,1,2,4,8,16,32,64,128,27,54],E=n.AES=i.extend({_doReset:function(){var x;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var C=this._keyPriorReset=this._key,L=C.words,B=C.sigBytes/4,F=this._nRounds=B+6,D=(F+1)*4,H=this._keySchedule=[],G=0;G<D;G++)G<B?H[G]=L[G]:(x=H[G-1],G%B?B>6&&G%B==4&&(x=l[x>>>24]<<24|l[x>>>16&255]<<16|l[x>>>8&255]<<8|l[x&255]):(x=x<<8|x>>>24,x=l[x>>>24]<<24|l[x>>>16&255]<<16|l[x>>>8&255]<<8|l[x&255],x^=T[G/B|0]<<24),H[G]=H[G-B]^x);for(var Y=this._invKeySchedule=[],X=0;X<D;X++){var G=D-X;if(X%4)var x=H[G];else var x=H[G-4];X<4||G<=4?Y[X]=x:Y[X]=y[l[x>>>24]]^v[l[x>>>16&255]]^w[l[x>>>8&255]]^S[l[x&255]]}}},encryptBlock:function(x,C){this._doCryptBlock(x,C,this._keySchedule,m,p,_,g,l)},decryptBlock:function(x,C){var L=x[C+1];x[C+1]=x[C+3],x[C+3]=L,this._doCryptBlock(x,C,this._invKeySchedule,y,v,w,S,d);var L=x[C+1];x[C+1]=x[C+3],x[C+3]=L},_doCryptBlock:function(x,C,L,B,F,D,H,G){for(var Y=this._nRounds,X=x[C]^L[0],z=x[C+1]^L[1],W=x[C+2]^L[2],Q=x[C+3]^L[3],V=4,ce=1;ce<Y;ce++){var ae=B[X>>>24]^F[z>>>16&255]^D[W>>>8&255]^H[Q&255]^L[V++],he=B[z>>>24]^F[W>>>16&255]^D[Q>>>8&255]^H[X&255]^L[V++],be=B[W>>>24]^F[Q>>>16&255]^D[X>>>8&255]^H[z&255]^L[V++],O=B[Q>>>24]^F[X>>>16&255]^D[z>>>8&255]^H[W&255]^L[V++];X=ae,z=he,W=be,Q=O}var ae=(G[X>>>24]<<24|G[z>>>16&255]<<16|G[W>>>8&255]<<8|G[Q&255])^L[V++],he=(G[z>>>24]<<24|G[W>>>16&255]<<16|G[Q>>>8&255]<<8|G[X&255])^L[V++],be=(G[W>>>24]<<24|G[Q>>>16&255]<<16|G[X>>>8&255]<<8|G[z&255])^L[V++],O=(G[Q>>>24]<<24|G[X>>>16&255]<<16|G[z>>>8&255]<<8|G[W&255])^L[V++];x[C]=ae,x[C+1]=he,x[C+2]=be,x[C+3]=O},keySize:256/32});r.AES=i._createHelper(E)}(),t.AES})});var Ul=xe((vr,Rl)=>{"use strict";(function(t,r,e){typeof vr=="object"?Rl.exports=vr=r(_e(),ai(),si(),Nt(),qe()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(t.CryptoJS)})(vr,function(t){return function(){var r=t,e=r.lib,i=e.WordArray,n=e.BlockCipher,l=r.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],m=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],p=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],_
vendor: 7,698 bytes, line 1
1=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],g=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],
vendor: 4,875 bytes, line 1
1y=l.DES=n.extend({_doReset:function(){for(var T=this._key,E=T.words,x=[],C=0;C<56;C++){var L=d[C]-1;x[C]=E[L>>>5]>>>31-L%32&1}for(var B=this._subKeys=[],F=0;F<16;F++){for(var D=B[F]=[],H=p[F],C=0;C<24;C++)D[C/6|0]|=x[(m[C]-1+H)%28]<<31-C%6,D[4+(C/6|0)]|=x[28+(m[C+24]-1+H)%28]<<31-C%6;D[0]=D[0]<<1|D[0]>>>31;for(var C=1;C<7;C++)D[C]=D[C]>>>(C-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var G=this._invSubKeys=[],C=0;C<16;C++)G[C]=B[15-C]},encryptBlock:function(T,E){this._doCryptBlock(T,E,this._subKeys)},decryptBlock:function(T,E){this._doCryptBlock(T,E,this._invSubKeys)},_doCryptBlock:function(T,E,x){this._lBlock=T[E],this._rBlock=T[E+1],v.call(this,4,252645135),v.call(this,16,65535),w.call(this,2,858993459),w.call(this,8,16711935),v.call(this,1,1431655765);for(var C=0;C<16;C++){for(var L=x[C],B=this._lBlock,F=this._rBlock,D=0,H=0;H<8;H++)D|=_[H][((F^L[H])&g[H])>>>0];this._lBlock=F,this._rBlock=B^D}var G=this._lBlock;this._lBlock=this._rBlock,this._rBlock=G,v.call(this,1,1431655765),w.call(this,8,16711935),w.call(this,2,858993459),v.call(this,16,65535),v.call(this,4,252645135),T[E]=this._lBlock,T[E+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function v(T,E){var x=(this._lBlock>>>T^this._rBlock)&E;this._rBlock^=x,this._lBlock^=x<<T}function w(T,E){var x=(this._rBlock>>>T^this._lBlock)&E;this._lBlock^=x,this._rBlock^=x<<T}r.DES=n._createHelper(y);var S=l.TripleDES=n.extend({_doReset:function(){var T=this._key,E=T.words;if(E.length!==2&&E.length!==4&&E.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var x=E.slice(0,2),C=E.length<4?E.slice(0,2):E.slice(2,4),L=E.length<6?E.slice(0,2):E.slice(4,6);this._des1=y.createEncryptor(i.create(x)),this._des2=y.createEncryptor(i.create(C)),this._des3=y.createEncryptor(i.create(L))},encryptBlock:function(T,E){this._des1.encryptBlock(T,E),this._des2.decryptBlock(T,E),this._des3.encryptBlock(T,E)},decryptBlock:function(T,E){this._des3.decryptBlock(T,E),this._des2.encryptBlock(T,E),this._des1.decryptBlock(T,E)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=n._createHelper(S)}(),t.TripleDES})});var Vl=xe((yr,jl)=>{"use strict";(function(t,r,e){typeof yr=="object"?jl.exports=yr=r(_e(),ai(),si(),Nt(),qe()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(t.CryptoJS)})(yr,function(t){return function(){var r=t,e=r.lib,i=e.StreamCipher,n=r.algo,l=n.RC4=i.extend({_doReset:function(){for(var p=this._key,_=p.words,g=p.sigBytes,y=this._S=[],v=0;v<256;v++)y[v]=v;for(var v=0,w=0;v<256;v++){var S=v%g,T=_[S>>>2]>>>24-S%4*8&255;w=(w+y[v]+T)%256;var E=y[v];y[v]=y[w],y[w]=E}this._i=this._j=0},_doProcessBlock:function(p,_){p[_]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var p=this._S,_=this._i,g=this._j,y=0,v=0;v<4;v++){_=(_+1)%256,g=(g+p[_])%256;var w=p[_];p[_]=p[g],p[g]=w,y|=p[(p[_]+p[g])%256]<<24-v*8}return this._i=_,this._j=g,y}r.RC4=i._createHelper(l);var m=n.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var p=this.cfg.drop;p>0;p--)d.call(this)}});r.RC4Drop=i._createHelper(m)}(),t.RC4})});var Gl=xe((_r,Hl)=>{"use strict";(function(t,r,e){typeof _r=="object"?Hl.exports=_r=r(_e(),ai(),si(),Nt(),qe()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(t.CryptoJS)})(_r,function(t){return function(){var r=t,e=r.lib,i=e.StreamCipher,n=r.algo,l=[],d=[],m=[],p=n.Rabbit=i.extend({_doReset:function(){for(var g=this._key.words,y=this.cfg.iv,v=0;v<4;v++)g[v]=(g[v]<<8|g[v]>>>24)&16711935|(g[v]<<24|g[v]>>>8)&4278255360;var w=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],S=this._C=[g[2]<<16|g[2]>>>16,g[0]&4294901760|g[1]&65535,g[3]<<16|g[3]>>>16,g[1]&4294901760|g[2]&65535,g[0]<<16|g[0]>>>16,g[2]&4294901760|g[3]&65535,g[1]<<16|g[1]>>>16,g[3]&4294901760|g[0]&65535];this._b=0;for(var v=0;v<4;v++)_.call(this);for(var v=0;v<8;v++)S[v]^=w[v+4&7];if(y){var T=y.words,E=T[0],x=T[1],C=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,L=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,B=C>>>16|L&4294901760,F=L<<16|C&65535;S[0]^=C,S[1]^=B,S[2]^=L,S[3]^=F,S[4]^=C,S[5]^=B,S[6]^=L,S[7]^=F;for(var v=0;v<4;v++)_.call(this)}},_doProcessBlock:function(g,y){var v=this._X;_.call(this),l[0]=v[0]^v[5]>>>16^v[3]<<16,l[1]=v[2]^v[7]>>>16^v[5]<<16,l[2]=v[4]^v[1]>>>16^v[7]<<16,l[3]=v[6]^v[3]>>>16^v[1]<<16;for(var w=0;w<4;w++)l[w]=(l[w]<<8|l[w]>>>24)&16711935|(l[w]<<24|l[w]>>>8)&4278255360,g[y+w]^=l[w]},blockSize:128/32,ivSize:64/32});function _(){for(var g=this._X,y=this._C,v=0;v<8;v++)d[v]=y[v];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<d[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<d[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<d[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<d[3]>
vendor: 3,606 bytes, line 1
1>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<d[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<d[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<d[6]>>>0?1:0)|0,this._b=y[7]>>>0<d[7]>>>0?1:0;for(var v=0;v<8;v++){var w=g[v]+y[v],S=w&65535,T=w>>>16,E=((S*S>>>17)+S*T>>>15)+T*T,x=((w&4294901760)*w|0)+((w&65535)*w|0);m[v]=E^x}g[0]=m[0]+(m[7]<<16|m[7]>>>16)+(m[6]<<16|m[6]>>>16)|0,g[1]=m[1]+(m[0]<<8|m[0]>>>24)+m[7]|0,g[2]=m[2]+(m[1]<<16|m[1]>>>16)+(m[0]<<16|m[0]>>>16)|0,g[3]=m[3]+(m[2]<<8|m[2]>>>24)+m[1]|0,g[4]=m[4]+(m[3]<<16|m[3]>>>16)+(m[2]<<16|m[2]>>>16)|0,g[5]=m[5]+(m[4]<<8|m[4]>>>24)+m[3]|0,g[6]=m[6]+(m[5]<<16|m[5]>>>16)+(m[4]<<16|m[4]>>>16)|0,g[7]=m[7]+(m[6]<<8|m[6]>>>24)+m[5]|0}r.Rabbit=i._createHelper(p)}(),t.Rabbit})});var Wl=xe((br,ql)=>{"use strict";(function(t,r,e){typeof br=="object"?ql.exports=br=r(_e(),ai(),si(),Nt(),qe()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(t.CryptoJS)})(br,function(t){return function(){var r=t,e=r.lib,i=e.StreamCipher,n=r.algo,l=[],d=[],m=[],p=n.RabbitLegacy=i.extend({_doReset:function(){var g=this._key.words,y=this.cfg.iv,v=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],w=this._C=[g[2]<<16|g[2]>>>16,g[0]&4294901760|g[1]&65535,g[3]<<16|g[3]>>>16,g[1]&4294901760|g[2]&65535,g[0]<<16|g[0]>>>16,g[2]&4294901760|g[3]&65535,g[1]<<16|g[1]>>>16,g[3]&4294901760|g[0]&65535];this._b=0;for(var S=0;S<4;S++)_.call(this);for(var S=0;S<8;S++)w[S]^=v[S+4&7];if(y){var T=y.words,E=T[0],x=T[1],C=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,L=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,B=C>>>16|L&4294901760,F=L<<16|C&65535;w[0]^=C,w[1]^=B,w[2]^=L,w[3]^=F,w[4]^=C,w[5]^=B,w[6]^=L,w[7]^=F;for(var S=0;S<4;S++)_.call(this)}},_doProcessBlock:function(g,y){var v=this._X;_.call(this),l[0]=v[0]^v[5]>>>16^v[3]<<16,l[1]=v[2]^v[7]>>>16^v[5]<<16,l[2]=v[4]^v[1]>>>16^v[7]<<16,l[3]=v[6]^v[3]>>>16^v[1]<<16;for(var w=0;w<4;w++)l[w]=(l[w]<<8|l[w]>>>24)&16711935|(l[w]<<24|l[w]>>>8)&4278255360,g[y+w]^=l[w]},blockSize:128/32,ivSize:64/32});function _(){for(var g=this._X,y=this._C,v=0;v<8;v++)d[v]=y[v];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<d[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<d[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<d[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<d[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<d[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<d[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<d[6]>>>0?1:0)|0,this._b=y[7]>>>0<d[7]>>>0?1:0;for(var v=0;v<8;v++){var w=g[v]+y[v],S=w&65535,T=w>>>16,E=((S*S>>>17)+S*T>>>15)+T*T,x=((w&4294901760)*w|0)+((w&65535)*w|0);m[v]=E^x}g[0]=m[0]+(m[7]<<16|m[7]>>>16)+(m[6]<<16|m[6]>>>16)|0,g[1]=m[1]+(m[0]<<8|m[0]>>>24)+m[7]|0,g[2]=m[2]+(m[1]<<16|m[1]>>>16)+(m[0]<<16|m[0]>>>16)|0,g[3]=m[3]+(m[2]<<8|m[2]>>>24)+m[1]|0,g[4]=m[4]+(m[3]<<16|m[3]>>>16)+(m[2]<<16|m[2]>>>16)|0,g[5]=m[5]+(m[4]<<8|m[4]>>>24)+m[3]|0,g[6]=m[6]+(m[5]<<16|m[5]>>>16)+(m[4]<<16|m[4]>>>16)|0,g[7]=m[7]+(m[6]<<8|m[6]>>>24)+m[5]|0}r.RabbitLegacy=i._createHelper(p)}(),t.RabbitLegacy})});var $l=xe((Cr,Zl)=>{"use strict";(function(t,r,e){typeof Cr=="object"?Zl.exports=Cr=r(_e(),ai(),si(),Nt(),qe()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],r):r(t.CryptoJS)})(Cr,function(t){return function(){var r=t,e=r.lib,i=e.BlockCipher,n=r.algo;let l=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],m
vendor: 11,033 bytes, line 1
1=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]]
vendor: 1,044 bytes, line 1
1;var p={pbox:[],sbox:[]};function _(S,T){let E=T>>24&255,x=T>>16&255,C=T>>8&255,L=T&255,B=S.sbox[0][E]+S.sbox[1][x];return B=B^S.sbox[2][C],B=B+S.sbox[3][L],B}function g(S,T,E){let x=T,C=E,L;for(let B=0;B<l;++B)x=x^S.pbox[B],C=_(S,x)^C,L=x,x=C,C=L;return L=x,x=C,C=L,C=C^S.pbox[l],x=x^S.pbox[l+1],{left:x,right:C}}function y(S,T,E){let x=T,C=E,L;for(let B=l+1;B>1;--B)x=x^S.pbox[B],C=_(S,x)^C,L=x,x=C,C=L;return L=x,x=C,C=L,C=C^S.pbox[1],x=x^S.pbox[0],{left:x,right:C}}function v(S,T,E){for(let F=0;F<4;F++){S.sbox[F]=[];for(let D=0;D<256;D++)S.sbox[F][D]=m[F][D]}let x=0;for(let F=0;F<l+2;F++)S.pbox[F]=d[F]^T[x],x++,x>=E&&(x=0);let C=0,L=0,B=0;for(let F=0;F<l+2;F+=2)B=g(S,C,L),C=B.left,L=B.right,S.pbox[F]=C,S.pbox[F+1]=L;for(let F=0;F<4;F++)for(let D=0;D<256;D+=2)B=g(S,C,L),C=B.left,L=B.right,S.sbox[F][D]=C,S.sbox[F][D+1]=L;return!0}var w=n.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var S=this._keyPriorReset=this._key,T=S.words,E=S.sigBytes/4;v(p,T,E)}},encryptBlock:function(S,T){var E=g(p,S[T],S[T+1]);
1S[T]=E.left,S[T+1]=E.right},decryptBlock:function(S,T){var E=y(p,S[T],S[T+1]);S[T]=E.left,S[T+1]=E.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=i._createHelper(w)}(),t.Blowfish})});var Kl=xe((wr,Yl)=>{"use strict";(function(t,r,e){typeof wr=="object"?Yl.exports=wr=r(_e(),en(),Ws(),$s(),ai(),Js(),si(),ao(),Yn(),il(),so(),ol(),sl(),cl(),ir(),ul(),Nt(),qe(),fl(),vl(),_l(),Cl(),Sl(),Il(),Al(),Bl(),Fl(),Ml(),zl(),Nl(),Ul(),Vl(),Gl(),Wl(),$l()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],r):t.CryptoJS=r(t.CryptoJS)})(wr,function(t){return t})});var se=function(t){return t.START="",t.COVERAGES="coverages",t.DETAILS="details",t.INTERLUDE="interlude",t.FINISH="finish",t.GET_A_QUICK_QUOTE="get-a-quick-quote",t.THANK_YOU="thank-you",t}(se||{});function Ai(t){t||(Vr(Ai),t=At(Hi));let r=new ln(e=>t.onDestroy(e.next.bind(e)));return e=>e.pipe(yt(r))}function Zi(t,r){!r?.injector&&Vr(Zi);let e=r?.injector??At(un),i=new Vo(1),n=$e(()=>{let l;try{l=t()}catch(d){Hr(()=>i.error(d));return}Hr(()=>i.next(l))},{injector:e,manualCleanup:!0});return e.get(Hi).onDestroy(()=>{n.destroy(),i.complete()}),i.asObservable()}var qr=[{slug:"alabama",name:"Alabama",code:"AL"},{slug:"alaska",name:"Alaska",code:"AK"},{slug:"arizona",name:"Arizona",code:"AZ"},{slug:"arkansas",name:"Arkansas",code:"AR"},{slug:"california",name:"California",code:"CA"},{slug:"colorado",name:"Colorado",code:"CO"},{slug:"connecticut",name:"Connecticut",code:"CT"},{slug:"delaware",name:"Delaware",code:"DE"},{slug:"district-of-columbia",name:"District of Columbia",code:"DC"},{slug:"florida",name:"Florida",code:"FL"},{slug:"georgia",name:"Georgia",code:"GA"},{slug:"hawaii",name:"Hawaii",code:"HI"},{slug:"idaho",name:"Idaho",code:"ID"},{slug:"illinois",name:"Illinois",code:"IL"},{slug:"indiana",name:"Indiana",code:"IN"},{slug:"iowa",name:"Iowa",code:"IA"},{slug:"kansas",name:"Kansas",code:"KS"},{slug:"kentucky",name:"Kentucky",code:"KY"},{slug:"louisiana",name:"Louisiana",code:"LA"},{slug:"maine",name:"Maine",code:"ME"},{slug:"maryland",name:"Maryland",code:"MD"},{slug:"massachusetts",name:"Massachusetts",code:"MA"},{slug:"michigan",name:"Michigan",code:"MI"},{slug:"minnesota",name:"Minnesota",code:"MN"},{slug:"mississippi",name:"Mississippi",code:"MS"},{slug:"missouri",name:"Missouri",code:"MO"},{slug:"montana",name:"Montana",code:"MT"},{slug:"nebraska",name:"Nebraska",code:"NE"},{slug:"nevada",name:"Nevada",code:"NV"},{slug:"new-hampshire",name:"New Hampshire",code:"NH"},{slug:"new-jersey",name:"New Jersey",code:"NJ"},{slug:"new-mexico",name:"New Mexico",code:"NM"},{slug:"new-york",name:"New York",code:"NY"},{slug:"north-carolina",name:"North Carolina",code:"NC"},{slug:"north-dakota",name:"North Dakota",code:"ND"},{slug:"ohio",name:"Ohio",code:"OH"},{slug:"oklahoma",name:"Oklahoma",code:"OK"},{slug:"oregon",name:"Oregon",code:"OR"},{slug:"pennsylvania",name:"Pennsylvania",code:"PA"},{slug:"rhode-island",name:"Rhode Island",code:"RI"},{slug:"south-carolina",name:"South Carolina",code:"SC"},{slug:"south-dakota",name:"South Dakota",code:"SD"},{slug:"tennessee",name:"Tennessee",code:"TN"},{slug:"texas",name:"Texas",code:"TX"},{slug:"utah",name:"Utah",code:"UT"},{slug:"vermont",name:"Vermont",code:"VT"},{slug:"virginia",name:"Virginia",code:"VA"},{slug:"washington",name:"Washington",code:"WA"},{slug:"west-virginia",name:"West Virginia",code:"WV"},{slug:"wisconsin",name:"Wisconsin",code:"WI"},{slug:"wyoming",name:"Wyoming",code:"WY"}],r0=qr.reduce((t,r)=>(t[r.slug]=r,t),{}),o0={"washington-dc":{slug:"washington-dc",name:"Washington DC",code:"DC"},dc:{slug:"washington-dc",name:"Washington DC",code:"DC"}},rs=Ae(Ae({},r0),o0),a0=qr.reduce((t,r)=>(t[r.code]=r,t),{}),s0=[...qr.filter(t=>t.slug!=="district-of-columbia").map(t=>({slug:t.slug,name:t.name})),{slug:"washington-dc",name:"Washington DC"}],wt=class t{static getStateGuideList(){return[...s0]}static resolveFromCode(r){if(!r)return{};let e=a0[r.toUpperCase()];return e?{slug:e.slug,name:e.name,code:e.code}:{}}static resolve(r){let e=t.extractStateSlug(r),i=e?rs[e]:void 0;return i?{slug:i.slug,name:i.name,code:i.code}:{slug:e,name:t.humanizeSlug(e)}}static resolveFromCodename(r){if(!r)return{};let e=r.split("_");for(let i=e.length-1;i>=1;i--){let n=e.slice(0,i).join("-"),l=rs[n];if(l)return{slug:l.slug,name:l.name,code:l.code}}return{}}static extractStateSlug(r){if(!r)return;let i=r.split("?")[0].split("#")[0].replace(/\/+$/,"").split("/").filter(
1Boolean);if(!i.length)return;let n=i.lastIndexOf("l");return n>=0&&i[n+1]?i[n+1].toLowerCase():i[i.length-1].toLowerCase()}static humanizeSlug(r){if(r)return r.split("-").filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}};var $i=t=>t*Math.PI/180;function os(t){return Math.max(69*Math.cos($i(t)),1e-6)}function as(t,r){let i=$i(r.lat-t.lat),n=$i(r.lng-t.lng),l=Math.sin(i/2),d=Math.sin(n/2),m=l*l+Math.cos($i(t.lat))*Math.cos($i(r.lat))*d*d;return 3958.8*2*Math.asin(Math.min(1,Math.sqrt(m)))}function ss(t,r){let e=r/69,i=r/os(t.lat);return{swLat:t.lat-e,swLng:t.lng-i,neLat:t.lat+e,neLng:t.lng+i}}function ls(t){let r=t.map(i=>i.lat),e=t.map(i=>i.lng);return{swLat:Math.min(...r),swLng:Math.min(...e),neLat:Math.max(...r),neLng:Math.max(...e)}}function cs(t,r){let e=r/69,i=(t.swLat+t.neLat)/2,n=r/os(i);return{swLat:t.swLat-e,swLng:t.swLng-n,neLat:t.neLat+e,neLng:t.neLng+n}}var l0={AL:{lat:32.8,lng:-86.8},AK:{lat:64.2,lng:-152.3},AZ:{lat:34.2,lng:-111.7},AR:{lat:34.9,lng:-92.4},CA:{lat:37.2,lng:-119.4},CO:{lat:39,lng:-105.5},CT:{lat:41.6,lng:-72.7},DE:{lat:39,lng:-75.5},DC:{lat:38.9,lng:-77},FL:{lat:28.6,lng:-82.4},GA:{lat:32.6,lng:-83.4},HI:{lat:20.3,lng:-156.4},ID:{lat:44.4,lng:-114.6},IL:{lat:40,lng:-89.2},IN:{lat:39.9,lng:-86.3},IA:{lat:42,lng:-93.5},KS:{lat:38.5,lng:-98.4},KY:{lat:37.5,lng:-85.3},LA:{lat:31,lng:-92},ME:{lat:45.4,lng:-69.2},MD:{lat:39,lng:-76.8},MA:{lat:42.3,lng:-71.8},MI:{lat:44.3,lng:-85.4},MN:{lat:46.3,lng:-94.3},MS:{lat:32.7,lng:-89.7},MO:{lat:38.4,lng:-92.5},MT:{lat:47,lng:-109.6},NE:{lat:41.5,lng:-99.8},NV:{lat:39.3,lng:-116.6},NH:{lat:43.7,lng:-71.6},NJ:{lat:40.2,lng:-74.7},NM:{lat:34.4,lng:-106.1},NY:{lat:42.9,lng:-75.6},NC:{lat:35.5,lng:-79.4},ND:{lat:47.5,lng:-100.5},OH:{lat:40.3,lng:-82.8},OK:{lat:35.6,lng:-97.5},OR:{lat:44,lng:-120.6},PA:{lat:40.9,lng:-77.8},RI:{lat:41.7,lng:-71.6},SC:{lat:33.9,lng:-80.9},SD:{lat:44.4,lng:-100.2},TN:{lat:35.9,lng:-86.4},TX:{lat:31.5,lng:-99.3},UT:{lat:39.3,lng:-111.7},VT:{lat:44.1,lng:-72.7},VA:{lat:37.5,lng:-78.9},WA:{lat:47.4,lng:-120.5},WV:{lat:38.6,lng:-80.6},WI:{lat:44.6,lng:-90},WY:{lat:43,lng:-107.6}};function ds(t){return t?l0[t.toUpperCase()]??null:null}function En(t){let r=t.agencyProfileId||t.agencyId;return`${t.basic?"/basic":""}/agency-profile/${r}`}function In(t,r){let e=[["tc","sponsoredClick"]];e.push(["a",String(t.agencyProfileId||t.agencyId)]);let i=(r??t.state)?.toUpperCase();return i&&e.push(["state",i]),"/find-an-agent?"+e.map(([n,l])=>`${n}=${encodeURIComponent(l)}`).join("&")}function ms(t){return t.logoUrl||Wr(t)}function Wr(t){return`${J.fulcrumUrl}/api/v1/agency/${t.agencyId}/image`}function us(t){return`${J.insuredBetterDirectoryUrl}/agent/${t.toUpperCase()}/`}function ps(){return`${J.insuredBetterDirectoryUrl}/agent/`}var c0=["*"],Zr=class{_ngZone;_pending=[];_listeners=[];_targetStream=new jo(void 0);_clearListeners(){for(let r of this._listeners)r.remove();this._listeners=[]}constructor(r){this._ngZone=r}getLazyEmitter(r){return this._targetStream.pipe(ft(e=>{let i=new ln(n=>{if(!e){this._pending.push({observable:i,observer:n});return}let l=e.addListener(r,d=>{this._ngZone.run(()=>n.next(d))});if(!l){n.complete();return}return this._listeners.push(l),()=>l.remove()});return i}))}setTarget(r){let e=this._targetStream.value;r!==e&&(e&&(this._clearListeners(),this._pending=[]),this._targetStream.next(r),this._pending.forEach(i=>i.observable.subscribe(i.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}},Yi={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"},hs="500px",gs="500px",xs=(()=>{class t{_elementRef=At(We);_ngZone=At(Tt);_eventManager=new Zr(At(Tt));_mapEl;_existingAuthFailureCallback;googleMap;_isBrowser;height=hs;width=gs;mapId;mapTypeId;set center(e){this._center=e}_center;set zoom(e){this._zoom=e}_zoom;set options(e){this._options=e||Yi}_options=Yi;mapInitialized=new Ke;authFailure=new Ke;boundsChanged=this._eventManager.getLazyEmitter("bounds_changed");centerChanged=this._eventManager.getLazyEmitter("center_changed");mapClick=this._eventManager.getLazyEmitter("click");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");mapDragstart=this._eventManager.getLazyEmitter("dragstart");headingChanged=this._eventManager.getLazyEmitter("heading_changed");idle=this._eventManager.getLazyEmitter("idle");maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed");mapMousemove=this._eventManager.getLazyEmitter("mousemove");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");projectionChanged=this._eventManager.getLazyEmitter("projection_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");tilesloaded=this._eventManager.getLazyEmitter("tilesloaded");tiltChanged=this._eventManager.getLazyEmitter("tilt_changed");zoomChanged=this._eventManager.getLazyEmitter("zoom_changed");constructor(){let e=At(de);if(this._isBrowser=oe(e),this._isBrowser){let i=window;i.google,this._existingAuthFailureCallback=i.gm_authFailure,i.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();let i=this.googleMap;i&&(e.options&&i.setOptions(this._combineOptions()),e.center&&this._center&&i.setCenter(this._center),e.zoom&&this._zoom!=null&&i.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&i.setMapTypeId(this.mapTypeId)
1)}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),google.maps.Map?this._initialize(google.maps.Map):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(e=>this._initialize(e.Map))}))}_initialize(e){this._ngZone.runOutsideAngular(()=>{this.googleMap=new e(this._mapEl,this._combineOptions()),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap)})}ngOnDestroy(){if(this.mapInitialized.complete(),this._eventManager.destroy(),this._isBrowser){let e=window;e.gm_authFailure=this._existingAuthFailureCallback}}fitBounds(e,i){this._assertInitialized(),this.googleMap.fitBounds(e,i)}panBy(e,i){this._assertInitialized(),this.googleMap.panBy(e,i)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,i){this._assertInitialized(),this.googleMap.panToBounds(e,i)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_resolveMap(){return this.googleMap?Promise.resolve(this.googleMap):this.mapInitialized.pipe(dn(1)).toPromise()}_setSize(){if(this._mapEl){let e=this._mapEl.style;e.height=this.height===null?"":fs(this.height)||hs,e.width=this.width===null?"":fs(this.width)||gs}}_combineOptions(){let e=this._options||{};return vt(Ae({},e),{center:this._center||e.center||Yi.center,zoom:this._zoom??e.zoom??Yi.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||Yi.mapTypeId,mapId:this.mapId||e.mapId})}_assertInitialized(){this.googleMap}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapId:"mapId",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[wi],ngContentSelectors:c0,decls:2,vars:0,consts:[[1,"map-container"]],template:function(i,n){i&1&&(ca(),u(0,"div",0),da(1))},encapsulation:2,changeDetection:0})}return t})(),d0=/([A-Za-z%]+)$/;function fs(t){return t==null?"":d0.test(t)?t:`${t}px`}var{getOwnPropertyNames:m0,getOwnPropertySymbols:u0}=Object,{hasOwnProperty:p0}=Object.prototype;function $r(t,r){return function(i,n,l){return t(i,n,l)&&r(i,n,l)}}function kn(t){return function(e,i,n){if(!e||!i||typeof e!="object"||typeof i!="object")return t(e,i,n);let{cache:l}=n,d=l.get(e),m=l.get(i);if(d&&m)return d===i&&m===e;l.set(e,i),l.set(i,e);let p=t(e,i,n);return l.delete(e),l.delete(i),p}}function h0(t){return t?.[Symbol.toStringTag]}function vs(t){return m0(t).concat(u0(t))}var g0=Object.hasOwn||((t,r)=>p0.call(t,r));function pi(t,r){return t===r||!t&&!r&&t!==t&&r!==r}var f0="__v",x0="__o",v0="_owner",{getOwnPropertyDescriptor:ys,keys:_s}=Object;function y0(t,r){return t.byteLength===r.byteLength&&An(new Uint8Array(t),new Uint8Array(r))}function _0(t,r,e){let i=t.length;if(r.length!==i)return!1;for(;i-- >0;)if(!e.equals(t[i],r[i],i,i,t,r,e))return!1;return!0}function b0(t,r){return t.byteLength===r.byteLength&&An(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}function C0(t,r){return pi(t.getTime(),r.getTime())}function w0(t,r){return t.name===r.name&&t.message===r.message&&t.cause===r.cause&&t.stack===r.stack}function S0(t,r){return t===r}function bs(t,r,e){let i=t.size;if(i!==r.size)return!1;if(!i)return!0;let n=new Array(i),l=t.entries(),d,m,p=0;for(;(d=l.next())&&!d.done;){let _=r.entries(),g=!1,y=0;for(;(m=_.next())&&!m.done;){if(n[y]){y++;continue}let v=d.value,w=m.value;if(e.equals(v[0],w[0],p,y,t,r,e)&&e.equals(v[1],w[1],v[0],w[0],t,r,e)){g=n[y]=!0;break}y++}if(!g)return!1;p++}return!0}var E0=pi;function I0(t,r,e){let i=_s(t),n=i.length;if(_s(r).length!==n)return!1;for(;n-- >0;)if(!ws(t,r,e,i[n]))return!1;return!0}function Ki(t,r,e){let i=vs(t),n=i.length;if(vs(r).length!==n)return!1;let l,d,m;for(;n-- >0;
1)if(l=i[n],!ws(t,r,e,l)||(d=ys(t,l),m=ys(r,l),(d||m)&&(!d||!m||d.configurable!==m.configurable||d.enumerable!==m.enumerable||d.writable!==m.writable)))return!1;return!0}function k0(t,r){return pi(t.valueOf(),r.valueOf())}function A0(t,r){return t.source===r.source&&t.flags===r.flags}function Cs(t,r,e){let i=t.size;if(i!==r.size)return!1;if(!i)return!0;let n=new Array(i),l=t.values(),d,m;for(;(d=l.next())&&!d.done;){let p=r.values(),_=!1,g=0;for(;(m=p.next())&&!m.done;){if(!n[g]&&e.equals(d.value,m.value,d.value,m.value,t,r,e)){_=n[g]=!0;break}g++}if(!_)return!1}return!0}function An(t,r){let e=t.byteLength;if(r.byteLength!==e||t.byteOffset!==r.byteOffset)return!1;for(;e-- >0;)if(t[e]!==r[e])return!1;return!0}function T0(t,r){return t.hostname===r.hostname&&t.pathname===r.pathname&&t.protocol===r.protocol&&t.port===r.port&&t.hash===r.hash&&t.username===r.username&&t.password===r.password}function ws(t,r,e,i){return(i===v0||i===x0||i===f0)&&(t.$$typeof||r.$$typeof)?!0:g0(r,i)&&e.equals(t[i],r[i],i,i,t,r,e)}var B0="[object ArrayBuffer]",L0="[object Arguments]",F0="[object Boolean]",D0="[object DataView]",M0="[object Date]",P0="[object Error]",z0="[object Map]",O0="[object Number]",N0="[object Object]",R0="[object RegExp]",U0="[object Set]",j0="[object String]",V0={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},H0="[object URL]",G0=Object.prototype.toString;function q0({areArrayBuffersEqual:t,areArraysEqual:r,areDataViewsEqual:e,areDatesEqual:i,areErrorsEqual:n,areFunctionsEqual:l,areMapsEqual:d,areNumbersEqual:m,areObjectsEqual:p,arePrimitiveWrappersEqual:_,areRegExpsEqual:g,areSetsEqual:y,areTypedArraysEqual:v,areUrlsEqual:w,unknownTagComparators:S}){return function(E,x,C){if(E===x)return!0;if(E==null||x==null)return!1;let L=typeof E;if(L!==typeof x)return!1;if(L!=="object")return L==="number"?m(E,x,C):L==="function"?l(E,x,C):!1;let B=E.constructor;if(B!==x.constructor)return!1;if(B===Object)return p(E,x,C);if(Array.isArray(E))return r(E,x,C);if(B===Date)return i(E,x,C);if(B===RegExp)return g(E,x,C);if(B===Map)return d(E,x,C);if(B===Set)return y(E,x,C);let F=G0.call(E);if(F===M0)return i(E,x,C);if(F===R0)return g(E,x,C);if(F===z0)return d(E,x,C);if(F===U0)return y(E,x,C);if(F===N0)return typeof E.then!="function"&&typeof x.then!="function"&&p(E,x,C);if(F===H0)return w(E,x,C);if(F===P0)return n(E,x,C);if(F===L0)return p(E,x,C);if(V0[F])return v(E,x,C);if(F===B0)return t(E,x,C);if(F===D0)return e(E,x,C);if(F===F0||F===O0||F===j0)return _(E,x,C);if(S){let D=S[F];if(!D){let H=h0(E);H&&(D=S[H])}if(D)return D(E,x,C)}return!1}}function W0({circular:t,createCustomConfig:r,strict:e}){let i={areArrayBuffersEqual:y0,areArraysEqual:e?Ki:_0,areDataViewsEqual:b0,areDatesEqual:C0,areErrorsEqual:w0,areFunctionsEqual:S0,areMapsEqual:e?$r(bs,Ki):bs,areNumbersEqual:E0,areObjectsEqual:e?Ki:I0,arePrimitiveWrappersEqual:k0,areRegExpsEqual:A0,areSetsEqual:e?$r(Cs,Ki):Cs,areTypedArraysEqual:e?$r(An,Ki):An,areUrlsEqual:T0,unknownTagComparators:void 0};if(r&&(i=Object.assign({},i,r(i))),t){let n=kn(i.areArraysEqual),l=kn(i.areMapsEqual),d=kn(i.areObjectsEqual),m=kn(i.areSetsEqual);i=Object.assign({},i,{areArraysEqual:n,areMapsEqual:l,areObjectsEqual:d,areSetsEqual:m})}return i}function Z0(t){return function(r,e,i,n,l,d,m){return t(r,e,m)}}function $0({circular:t,comparator:r,createState:e,equals:i,strict:n}){if(e)return function(m,p){let{cache:_=t?new WeakMap:void 0,meta:g}=e();return r(m,p,{cache:_,equals:i,meta:g,strict:n})};if(t)return function(m,p){return r(m,p,{cache:new WeakMap,equals:i,meta:void 0,strict:n})};let l={cache:void 0,equals:i,meta:void 0,strict:n};return function(m,p){return r(m,p,l)}}var Yr=ei(),ox=ei({strict:!0}),ax=ei({circular:!0}),sx=ei({circular:!0,strict:!0}),lx=ei({createInternalComparator:()=>pi}),cx=ei({strict:!0,createInternalComparator:()=>pi}),dx=ei({circular:!0,createInternalComparator:()=>pi}),mx=ei({circular:!0,createInternalComparator:()=>pi,strict:!0});function ei(t={}
1){let{circular:r=!1,createInternalComparator:e,createState:i,strict:n=!1}=t,l=W0(t),d=q0(l),m=e?e(d):Z0(d);return $0({circular:r,comparator:d,createState:i,equals:m,strict:n})}var Ss=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],Kr=1,Ji=8,Ne=new Uint32Array(96),Tn=class t{static from(r){if(!r||r.byteLength===void 0||r.buffer)throw new Error("Data must be an instance of ArrayBuffer or SharedArrayBuffer.");let[e,i]=new Uint8Array(r,0,2);if(e!==219)throw new Error("Data does not appear to be in a KDBush format.");let n=i>>4;if(n!==Kr)throw new Error(`Got v${n} data when expected v${Kr}.`);let l=Ss[i&15];if(!l)throw new Error("Unrecognized array type.");let[d]=new Uint16Array(r,2,1),[m]=new Uint32Array(r,4,1);return new t(m,d,l,void 0,r)}constructor(r,e=64,i=Float64Array,n=ArrayBuffer,l){if(isNaN(r)||r<0)throw new Error(`Unexpected numItems value: ${r}.`);this.numItems=+r,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=i,this.IndexArrayType=r<65536?Uint16Array:Uint32Array;let d=Ss.indexOf(this.ArrayType),m=r*2*this.ArrayType.BYTES_PER_ELEMENT,p=r*this.IndexArrayType.BYTES_PER_ELEMENT,_=(8-p%8)%8;if(d<0)throw new Error(`Unexpected typed array class: ${i}.`);if(l)this.data=l,this.ids=new this.IndexArrayType(l,Ji,r),this.coords=new i(l,Ji+p+_,r*2),this._pos=r*2,this._finished=!0;else{let g=this.data=new n(Ji+m+p+_);this.ids=new this.IndexArrayType(g,Ji,r),this.coords=new i(g,Ji+p+_,r*2),this._pos=0,this._finished=!1,new Uint8Array(g,0,2).set([219,(Kr<<4)+d]),new Uint16Array(g,2,1)[0]=e,new Uint32Array(g,4,1)[0]=r}}add(r,e){let i=this._pos>>1;return this.ids[i]=i,this.coords[this._pos++]=r,this.coords[this._pos++]=e,i}finish(){let r=this._pos>>1;if(r!==this.numItems)throw new Error(`Added ${r} items when expected ${this.numItems}.`);return Qr(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(r,e,i,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:l,coords:d,nodeSize:m}=this;Ne[0]=0,Ne[1]=l.length-1,Ne[2]=0;let p=3,_=[];for(;p>0;){let g=Ne[--p],y=Ne[--p],v=Ne[--p];if(y-v<=m){for(let E=v;E<=y;E++){let x=d[2*E],C=d[2*E+1];x>=r&&x<=i&&C>=e&&C<=n&&_.push(l[E])}continue}let w=v+y>>1,S=d[2*w],T=d[2*w+1];S>=r&&S<=i&&T>=e&&T<=n&&_.push(l[w]),(g===0?r<=S:e<=T)&&(Ne[p++]=v,Ne[p++]=w-1,Ne[p++]=1-g),(g===0?i>=S:n>=T)&&(Ne[p++]=w+1,Ne[p++]=y,Ne[p++]=1-g)}return _}within(r,e,i){let n=[];return this.withinInto(r,e,i,n),n}withinInto(r,e,i,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");let{ids:l,coords:d,nodeSize:m}=this;Ne[0]=0,Ne[1]=l.length-1,Ne[2]=0;let p=3,_=0,g=i*i;for(;p>0;){let y=Ne[--p],v=Ne[--p],w=Ne[--p];if(v-w<=m){for(let x=w;x<=v;x++)Es(d[2*x],d[2*x+1],r,e)<=g&&(n[_++]=l[x]);continue}let S=w+v>>1,T=d[2*S],E=d[2*S+1];Es(T,E,r,e)<=g&&(n[_++]=l[S]),(y===0?r-i<=T:e-i<=E)&&(Ne[p++]=w,Ne[p++]=S-1,Ne[p++]=1-y),(y===0?r+i>=T:e+i>=E)&&(Ne[p++]=S+1,Ne[p++]=v,Ne[p++]=1-y)}return _}};function Qr(t,r,e,i,n,l){if(n-i<=e)return;let d=i+n>>1;Is(t,r,d,i,n,l),Qr(t,r,e,i,d-1,1-l),Qr(t,r,e,d+1,n,1-l)}function Is(t,r,e,i,n,l){for(;n>i;){if(n-i>600){let _=n-i+1,g=e-i+1,y=Math.log(_),v=.5*Math.exp(2*y/3),w=.5*Math.sqrt(y*v*(_-v)/_)*(g-_/2<0?-1:1),S=Math.max(i,Math.floor(e-g*v/_+w)),T=Math.min(n,Math.floor(e+(_-g)*v/_+w));Is(t,r,e,S,T,l)}let d=r[2*e+l],m=i,p=n;for(Qi(t,r,i,e),r[2*n+l]>d&&Qi(t,r,i,n);m<p;){for(Qi(t,r,m,p),m++,p--;r[2*m+l]<d;)m++;for(;r[2*p+l]>d;)p--}r[2*i+l]===d?Qi(t,r,i,p):(p++,Qi(t,r,p,n)),p<=e&&(i=p+1),e<=p&&(n=p-1)}}function Qi(t,r,e,i){Jr(t,e,i),Jr(r,2*e,2*i),Jr(r,2*e+1,2*i+1)}function Jr(t,r,e){let i=t[r];t[r]=t[e],t[e]=i}function Es(t,r,e,i){let n=t-e,l=r-i;return n*n+l*l}var Y0={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},ks=Math.fround||(t=>r=>(t[0]=+r,t[0]))(new Float32Array(1)),hi=2,ii=3,Xr=4,ti=5,Ts=6,Fn=class{constructor(r){this.options=Object.assign(Object.create(Y0),r),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(r){let{log:e,minZoom:i,maxZoom:n}=this.options;e&&console.time("total time");let l=`prepare ${r.length} points`;e&&console.time(l),this.points=r;let d=[];for(let p=0;p<r.length;p++){let _=r[p];if(!_.geometry)continue;let[g,y]=_.geometry.coordinates,v=ks(Bn(g)),w=ks(Ln(y));d.push(v,w,1/0,p,-1,1),this.options.reduce&&d.push(0)}let m=this.trees[n+1]=this._createTree(d);e&&console.timeEnd(l);for(let p=n;p>=i;p--){let _=+Date.now();m=this.trees[p]=this._createTree(this._cluster(m,p)),e&&console.log("z%d: %d clusters in %dms",p,m.numItems,+Date.now()-_)}return e&&console.timeEnd("total time"),this}getClusters(r,e){let i=((r[0]+180)%360+360)%360-180,n=Math.max(-90,Math.min(90,r[1])),l=r[2]===180?180:((r[2]+180)%360+360)%360-180,d=Math.max(-90,Math.min(90,r[3]));if(r[2]-r[0]>=360)i=-180,l=180;else if(i>l){let y=this.getClusters([i,n,180,d],e),v=this.getClusters([-180,n,l,d],e);return y.concat(v)}let m=this.trees[this._limitZoom(e)],p=m.range(Bn(i),Ln(d),Bn(l),Ln(n)),_=m.data,g=[];for(let y of p){let v=this.stride*y;g.push(_[v+ti]>1?As(_,v,this.clusterProps):this.points[_[v+ii]])}return g}getChildren(r){let e=this._getOriginId(r),i=this._getOriginZoom(r),n="No cluster with the specified id.",l=this.trees[i];if(!l)throw new Error(n);let d=l.data;if(e*this.stride>=d.length)throw new Error(n);let m=this.options.radius/(this.options.extent*Math.pow(2,i-1)),p=d[e*this.stride],_=d[e*this.stride+1],g=l.within(p,_,m),y=[];for(let v of g){let w=v*this.stride;d[w+Xr]===r&&y.push(d[w+ti]>1?As(d,w,this.clusterProps):this.points[d[w+ii]])}if(y.length===0)throw new Error(n);return y}getLeaves(r,e,i){e=e||10,i=i||0;let n=[];return this._appendLeaves(n,r,e,i,0),n}getTile(r,e,i){let n=this.trees[this._limitZoom(r)],l=Math.pow(2,r),{extent:d,radius:m}=this.options,p=m/d,_=(i-p)/l,g=(i+1+p)/l,y={features:[]};return this._addTileFeatures(n.range((e-p)/l,_,(e+1+p)/l,g),n.data,e,i,l,y),e===0&&this._addTileFeatures(n.range(1-p/l,_,1,g),n.data,l,i,l,y),e===l-1&&this._addTileFeatures(n.range(0,_,p/l,g),n.data,-1,i,l,y
1),y.features.length?y:null}getClusterExpansionZoom(r){let e=this._getOriginZoom(r)-1;for(;e<=this.options.maxZoom;){let i=this.getChildren(r);if(e++,i.length!==1)break;r=i[0].properties.cluster_id}return e}_appendLeaves(r,e,i,n,l){let d=this.getChildren(e);for(let m of d){let p=m.properties;if(p&&p.cluster?l+p.point_count<=n?l+=p.point_count:l=this._appendLeaves(r,p.cluster_id,i,n,l):l<n?l++:r.push(m),r.length===i)break}return l}_createTree(r){let e=new Tn(r.length/this.stride|0,this.options.nodeSize,Float32Array);for(let i=0;i<r.length;i+=this.stride)e.add(r[i],r[i+1]);return e.finish(),e.data=r,e}_addTileFeatures(r,e,i,n,l,d){for(let m of r){let p=m*this.stride,_=e[p+ti]>1,g,y,v;if(_)g=Bs(e,p,this.clusterProps),y=e[p],v=e[p+1];else{let T=this.points[e[p+ii]];g=T.properties;let[E,x]=T.geometry.coordinates;y=Bn(E),v=Ln(x)}let w={type:1,geometry:[[Math.round(this.options.extent*(y*l-i)),Math.round(this.options.extent*(v*l-n))]],tags:g},S;_||this.options.generateId?S=e[p+ii]:S=this.points[e[p+ii]].id,S!==void 0&&(w.id=S),d.features.push(w)}}_limitZoom(r){return Math.max(this.options.minZoom,Math.min(Math.floor(+r),this.options.maxZoom+1))}_cluster(r,e){let{radius:i,extent:n,reduce:l,minPoints:d}=this.options,m=i/(n*Math.pow(2,e)),p=r.data,_=[],g=this.stride;for(let y=0;y<p.length;y+=g){if(p[y+hi]<=e)continue;p[y+hi]=e;let v=p[y],w=p[y+1],S=r.within(p[y],p[y+1],m),T=p[y+ti],E=T;for(let x of S){let C=x*g;p[C+hi]>e&&(E+=p[C+ti])}if(E>T&&E>=d){let x=v*T,C=w*T,L,B=-1,F=((y/g|0)<<5)+(e+1)+this.points.length;for(let D of S){let H=D*g;if(p[H+hi]<=e)continue;p[H+hi]=e;let G=p[H+ti];x+=p[H]*G,C+=p[H+1]*G,p[H+Xr]=F,l&&(L||(L=this._map(p,y,!0),B=this.clusterProps.length,this.clusterProps.push(L)),l(L,this._map(p,H)))}p[y+Xr]=F,_.push(x/E,C/E,1/0,F,-1,E),l&&_.push(B)}else{for(let x=0;x<g;
1x++)_.push(p[y+x]);if(E>1)for(let x of S){let C=x*g;if(!(p[C+hi]<=e)){p[C+hi]=e;for(let L=0;L<g;L++)_.push(p[C+L])}}}}return _}_getOriginId(r){return r-this.points.length>>5}_getOriginZoom(r){return(r-this.points.length)%32}_map(r,e,i){if(r[e+ti]>1){let d=this.clusterProps[r[e+Ts]];return i?Object.assign({},d):d}let n=this.points[r[e+ii]].properties,l=this.options.map(n);return i&&l===n?Object.assign({},l):l}};function As(t,r,e){return{type:"Feature",id:t[r+ii],properties:Bs(t,r,e),geometry:{type:"Point",coordinates:[K0(t[r]),J0(t[r+1])]}}}function Bs(t,r,e){let i=t[r+ti],n=i>=1e4?`${Math.round(i/1e3)}k`:i>=1e3?`${Math.round(i/100)/10}k`:i,l=t[r+Ts],d=l===-1?{}:Object.assign({},e[l]);return Object.assign(d,{cluster:!0,cluster_id:t[r+ii],point_count:i,point_count_abbreviated:n})}function Bn(t){return t/360+.5}function Ln(t){let r=Math.sin(t*Math.PI/180),e=.5-.25*Math.log((1+r)/(1-r))/Math.PI;return e<0?0:e>1?1:e}function K0(t){return(t-.5)*360}function J0(t){let r=(180-t*360)*Math.PI/180;return 360*Math.atan(Math.exp(r))/Math.PI-90}function Q0(t,r){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++)r.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(e[i[n]]=t[i[n]]);return e}var rt=class{static isAdvancedMarkerAvailable(r){return google.maps.marker&&r.getMapCapabilities().isAdvancedMarkersAvailable===!0}static isAdvancedMarker(r){return google.maps.marker&&r instanceof google.maps.marker.AdvancedMarkerElement}static setMap(r,e){this.isAdvancedMarker(r)?r.map=e:r.setMap(e)}static getPosition(r){if(this.isAdvancedMarker(r)){if(r.position){if(r.position instanceof google.maps.LatLng)return r.position;if(Number.isFinite(r.position.lat)&&Number.isFinite(r.position.lng))return new google.maps.LatLng(r.position.lat,r.position.lng)}return new google.maps.LatLng(null)}return r.getPosition()}static getVisible(r){return this.isAdvancedMarker(r)?!0:r.getVisible()}},Xi=class{constructor({markers:r,position:e}){this.markers=[],r&&(this.markers=r),e&&(e instanceof google.maps.LatLng?this._position=e:this._position=new google.maps.LatLng(e))}get bounds(){if(this.markers.length===0&&!this._position)return;let r=new google.maps.LatLngBounds(this._position,this._position);for(let e of this.markers)r.extend(rt.getPosition(e));return r}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(r=>rt.getVisible(r)).length}push(r){this.markers.push(r)}delete(){this.marker&&(rt.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}};function eo(t,r="assertion failed"){if(t==null)throw Error(r)}var to=class{constructor({maxZoom:r=16}){this.maxZoom=r}noop({markers:r}){return X0(r)}};var X0=t=>t.map(e=>new Xi({position:rt.getPosition(e),markers:[e]}));var io=class extends to{constructor(r){var{maxZoom:e,radius:i=60}=r,n=Q0(r,["maxZoom","radius"]);super({maxZoom:e}),this.markers=[],this.clusters=[],this.state={zoom:-1},this.superCluster=new Fn(Object.assign({maxZoom:this.maxZoom,radius:i},n))}calculate(r){let e=!1,i=r.map.getZoom();eo(i),i=Math.round(i);let n={zoom:i};if(!Yr(r.markers,this.markers)){e=!0,this.markers=[...r.markers];let l=this.markers.map(d=>{let m=rt.getPosition(d);return{type:"Feature",geometry:{type:"Point",coordinates:[m.lng(),m.lat()]},properties:{marker:d}}});this.superCluster.load(l)}return e||(this.state.zoom<=this.maxZoom||n.zoom<=this.maxZoom)&&(e=!Yr(this.state,n)),this.state=n,r.markers.length===0?(this.cluster
1s=[],{clusters:this.clusters,changed:e}):(e&&(this.clusters=this.cluster(r)),{clusters:this.clusters,changed:e})}cluster({map:r}){let e=r.getZoom();return eo(e),this.superCluster.getClusters([-180,-90,180,90],Math.round(e)).map(i=>this.transformCluster(i))}transformCluster({geometry:{coordinates:[r,e]},properties:i}){if(i.cluster)return new Xi({markers:this.superCluster.getLeaves(i.cluster_id,1/0).map(l=>l.properties.marker),position:{lat:e,lng:r}});let n=i.marker;return new Xi({markers:[n],position:rt.getPosition(n)})}};var no=class{constructor(r,e){this.markers={sum:r.length};let i=e.map(l=>l.count),n=i.reduce((l,d)=>l+d,0);this.clusters={count:e.length,markers:{mean:n/e.length,sum:n,min:Math.min(...i),max:Math.max(...i)}}}},ro=class{render({count:r,position:e},i,n){let d=`<svg fill="${r>Math.max(10,i.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50"> 2<circle cx="120" cy="120" opacity=".6" r="70" /> 3<circle cx="120" cy="120" opacity=".3" r="90" /> 4<circle cx="120" cy="120" opacity=".2" r="110" /> 5<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${r}</text> 6</svg>`,m=`Cluster of ${r} markers`,p=Number(google.maps.Marker.MAX_ZINDEX)+r;if(rt.isAdvancedMarkerAvailable(n)){let y=new DOMParser().parseFromString(d,"image/svg+xml").documentElement;y.setAttribute("transform","translate(0 25)");let v={map:n,position:e,zIndex:p,title:m,content:y};return new google.maps.marker.AdvancedMarkerElement(v)}let _={position:e,zIndex:p,title:m,icon:{url:`data:image/svg+xml;base64,${btoa(d)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(_)}};function ed(t,r){for(let e in r.prototype)t.prototype[e]=r.prototype[e]}var oo=class t{constructor(){ed(t,google.maps.OverlayView)}},Ti=function(t){return t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click",t.GMP_CLICK="gmp-click",t}(Ti||{}),td=(t,r,e)=>{r.bounds&&e.fitBounds(r.bounds)},Dn=class extends oo{constructor({map:r,markers:e=[],algorithmOptions:i={},algorithm:n=new io(i),renderer:l=new ro,onClusterClick:d=td}){super(),this.map=null,this.idleListener=null,this.markers=[...e],this.clusters=[],this.algorithm=n,this.renderer=l,this.onClusterClick=d,r&&this.setMap(r)}addMarker(r,e){this.markers.includes(r)||(this.markers.push(r),e||this.render())}addMarkers(r,e){r.forEach(i=>{this.addMarker(i,!0)}),e||this.render()}removeMarker(r,e){let i=this.markers.indexOf(r);return i===-1?!1:(rt.setMap(r,null),this.markers.splice(i,1),e||this.render(),!0)}removeMarkers(r,e){let i=!1;return r.forEach(n=>{i=this.removeMarker(n,!0)||i}),i&&!e&&this.render(),i}clearMarkers(r){this.markers.length=0,r||this.render()}render(){let r=this.getMap();if(r instanceof google.maps.Map&&r.getProjection()){google.maps.event.trigger(this,Ti.CLUSTERING_BEGIN,this);let{clusters:e,changed:i}=this.algorithm.calculate({markers:this.markers,map:r,mapCanvasProjection:this.getProjection()});if(i||i==null){let n=new Set;for(let d of e)d.markers.length==1&&n.add(d.markers[0]);let l=[];for(let d of this.clusters)d.marker!=null&&(d.markers.length==1?n.has(d.marker)||rt.setMap(d.marker,null):l.push(d.marker));this.clusters=e,this.renderClusters(),requestAnimationFrame(()=>l.forEach(d=>rt.setMap(d,null)))}google.maps.event.trigger(this,Ti.CLUSTERING_END,this)}}onAdd(){let r=this.getMap();eo(r),this.idleListener=r.addListener("idle",this.render.bind(this)),this.render()}onRemove(){this.idleListener&&google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(r=>rt.setMap(r,null)),this.clusters.forEach(r=>r.delete()),this.clusters=[]}renderClusters(){let r=new no(this.markers,this.clusters),e=this.getMap();this.clusters.forEach(i=>{if(i.markers.length===1)i.marker=i.markers[0];else if(i.marker=this.renderer.render(i,r,e),i.markers.forEach(n=>rt.setMap(n,null)),this.onClusterClick){let n=rt.isAdvancedMarker(i.marker)?Ti.GMP_CLICK:Ti.CLUSTER_CLICK;i.marker.addListener(n,l=>{google.maps.event.trigger(this,Ti.CLUSTER_CLICK,i),this.onClusterClick(l,i,e)})}rt.setMap(i.marker,e)})}};function Mn(t){let r=Number(t??0);return Number.isFinite(r)?Math.max(0,Math.min(5,r)):0}function Pn(t,r){return Number(r??0)>0&&Mn(t)>0}function zn(t){return(Mn(t)*20).toFixed(2)+"%"}var Ls=(()=>{class t{platformId;doc;loadPromise;constructor(e,i){this.platformId=e,this.doc=i}load(){if(!oe(this.platformId))return new Promise(()=>{});if(this.loadPromise)return this.loadPromise;let e=this.doc.defaultView;return this.loadPromise=new Promise((i,n)=>{try{e.google?.maps?.importLibrary||this.bootstrapImportLibrary(e),e.google.maps.importLibrary("maps").then(()=>i()).catch(l=>n(l))}catch(l){n(l)}}),this.loadPromise}bootstrapImportLibrary(e){let i=this.doc;(n=>{let l,d,m,p="The Google Maps JavaScript API",_="__ib__",g=e.google=e.google||{},y=g.maps=g.maps||{},v=new Set,w=new URLSearchParams,S=()=>l||(l=new Promise((T,E)=>{d=i.createElement("script"),w.set("libraries",[...v]+"");for(m in n)w.set(m.replace(/[A-Z]/g,x=>"_"+x[0].toLowerCase()),n[m]);w.set("callback","google.maps."+_),d.src="https://maps.googleapis.com/ma
6ps/api/js?"+w,y[_]=T,d.onerror=()=>E(Error(p+" could not load.")),d.nonce=i.querySelector("script[nonce]")?.nonce||"",i.head.append(d)}));y.importLibrary?console.warn(p+" only loads once. Ignoring:",n):y.importLibrary=(T,...E)=>v.add(T)&&S().then(()=>y.importLibrary(T,...E))})({key:J.googleMapsApiKey,v:"weekly"})}static \u0275fac=function(i){return new(i||t)(ee(de),ee(Xe))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nd(t,r){if(t&1){let e=ie();o(0,"google-map",2),P("mapInitialized",function(n){N(e);let l=f();return R(l.onMapInitialized(n))})("zoomChanged",function(){N(e);let n=f();return R(n.onZoomChanged())}),a(),o(1,"button",3),P("click",function(){N(e);let n=f();return R(n.searchClicked())}),c(2),a()}if(t&2){let e=f();h("center",e.center)("zoom",e.initialZoom)("options",e.mapOptions),s(),h("disabled",!e.inZoomThreshold()),ve("aria-label",e.inZoomThreshold()?"Search this area for agencies":"Zoom in to search this area"),s(),Z(" ",e.inZoomThreshold()?"Search this area":"Zoom in to search"," ")}}function rd(t,r){t&1&&(o(0,"div",1),c(1,"Loading map\u2026"),a())}var od=14,ad={lat:39.5,lng:-98.35},Fs="9,1.8 10.69,6.67 15.85,6.78 11.74,9.89 13.23,14.83 9,11.88 4.77,14.83 6.26,9.89 2.15,6.78 7.31,6.67",sd=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect width='18' height='18' rx='2' fill='%23d1d5db'/%3E%3Cpolygon points='${Fs}' fill='white'/%3E%3C/svg%3E")`,ld=`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect width='18' height='18' rx='2' fill='%2308730a'/%3E%3Cpolygon points='${Fs}' fill='white'/%3E%3C/svg%3E")`,Ds=(()=>{class t{mapsLoader;zone;cdr;platformId;doc;agencies=[];selectedAgencyId;state;center=ad;searchZoomThreshold=10;agencyClicked=new Ke;searched=new Ke;nativeMap;mapsReady=Ge(!1);inZoomThreshold=Ge(!0);initialZoom=11;mapOptions={fullscreenControl:!1,mapTypeControl:!1,streetViewControl:!1,clickableIcons:!1,maxZoom:18,minZoom:4};clusterer;infoWindow;markersById=new Map;clusterRenderer={render:({count:e,position:i})=>{let n=`<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56"> 7 <circle cx="28" cy="28" r="26" fill="#c05746" fill-opacity="0.25"/> 8 <circle cx="28" cy="28" r="18" fill="#c05746" stroke="white" stroke-width="2"/> 9 <text x="28" y="33" text-anchor="middle" fill="white" font-size="13" font-weight="600" font-family="sans-serif">${e}</text> 10 </svg>`;return new google.maps.Marker({position:i,icon:{url:`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`,scaledSize:new google.maps.Size(56,56),anchor:new google.maps.Point(28,28)},title:`${e} agencies`,zIndex:Number(google.maps.Marker.MAX_ZINDEX)+e})}};constructor(e,i,n,l,d){this.mapsLoader=e,this.zone=i,this.cdr=n,this.platformId=l,this.doc=d,oe(this.platformId)&&this.mapsLoader.load().then(()=>{this.mapsReady.set(!0),this.cdr.markForCheck()})}ngOnChanges(e){e.agencies&&this.isMapReady()&&this.rebuildMarkers(),e.selectedAgencyId&&this.selectedAgencyId!=null&&this.isMapReady()&&this.focusAgency(this.selectedAgencyId)}ngOnDestroy(){this.nativeMap=void 0,this.clusterer?.clearMarkers()}onMapInitialized(e){this.nativeMap=e,this.infoWindow=new google.maps.InfoWindow,this.rebuildMarkers()}onZoomChanged(){let e=this.nativeMap?.getZoom()??0;this.inZoomThreshold.set(e>=this.searchZoomThreshold)}searchClicked(){let i=this.nativeMap?.getBounds();if(!i)return;
10let n=i.getSouthWest(),l=i.getNorthEast();this.searched.emit({swLat:n.lat(),swLng:n.lng(),neLat:l.lat(),neLng:l.lng()})}isMapReady(){return!!this.nativeMap}rebuildMarkers(){let e=this.nativeMap;if(!e)return;this.clusterer?.clearMarkers(),this.markersById.clear();let i=[];for(let n of this.agencies??[]){if(n.latitude==null||n.longitude==null)continue;let l=new google.maps.Marker({position:{lat:n.latitude,lng:n.longitude},icon:n.recommended?{url:"/assets/ib-com-coral-pin-with-star.png",scaledSize:new google.maps.Size(32,40),anchor:new google.maps.Point(16,40)}:{url:"/assets/basic-map-marker.png",scaledSize:new google.maps.Size(14,14),anchor:new google.maps.Point(7,14)}});l.addListener("click",()=>this.zone.run(()=>this.markerClicked(n,l))),this.markersById.set(n.agencyId,l),i.push(l)}this.clusterer=new Dn({map:e,markers:i,renderer:this.clusterRenderer}),this.fitToMarkers(i)}fitToMarkers(e){let i=this.nativeMap;if(!i||e.length===0)return;let n=new google.maps.LatLngBounds;e.forEach(l=>{let d=l.getPosition();d&&n.extend(d)}),i.fitBounds(n),google.maps.event.addListenerOnce(i,"idle",()=>{(i.getZoom()??0)>15&&i.setZoom(15),this.onZoomChanged()})}focusAgency(e){let i=this.nativeMap,n=this.markersById.get(e),l=n?.getPosition();if(!i||!n||!l)return;i.panTo(l),i.setZoom(od);let d=this.agencies.find(m=>m.agencyId===e);d&&this.openInfoWindow(d,n)}markerClicked(e,i){this.openInfoWindow(e,i),this.agencyClicked.emit(e.agencyId)}openInfoWindow(e,i){let n=this.nativeMap;!this.infoWindow||!n||(this.infoWindow.setContent(this.buildInfoContent(e)),this.infoWindow.open({map:n,anchor:i}))}buildInfoContent(e){let i=this.doc.createElement("div");if(i.className="agency-info-window",i.style.cssText="width:356px;font-family:'Inter tight',sans-serif;",e.recommended){let w=this.doc.createElement("div");w.style.cssText="display:flex;align-items:center;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;color:#3B3F3E;padding:0 40px 0px 12px;";let S=this.doc.createElement("img");S.src="/assets/ib-coral-flag-with-star.svg",S.alt="",S.width=17,S.height=28,S.style.marginRight="6px",w.appendChild(S);let T=this.doc.createElement("span");T.textContent="Recommended Local Agency",w.appendChild(T),i.appendChild(w)}let n=this.doc.createElement("div");n.style.padding="12px";let l=this.doc.createElement("div");if(l.style.cssText="font-weight:600;font-size:14px;color:#222423;margin-bottom:4px;font-family:'Poppins',sans-serif;",l.textContent=e.name,n.appendChild(l),Pn(e.averageRating,e.reviewCount)){let w=zn(e.averageRating),S=this.doc.createElement("div");S.style.cssText="display:flex;align-items:center;gap:4px;margin-bottom:4px;font-size:12px;color:#525756;";let T=this.doc.createElement("span");T.style.cssText="position:relative;display:inline-block;width:100px;height:18px;";let E=this.doc.createElement("span");E.style.cssText="position:absolute;inset:0;display:flex;";for(let L=0;L<5;L++){let B=this.doc.createElement("span");B.style.cssText=`display:inline-block;flex-shrink:0;width:20px;height:18px;background-image:${sd};background-size:18px 18px;background-repeat:no-repeat;background-position:left center;`,E.appendChild(B)}let x=this.doc.createElement("span");x.style.cssText=`position:absolute;inset:0;overflow:hidden;width:${w};display:flex;`;for(let L=0;L<5;L++){let B=this.doc.createElement("span");B.style.cssText=`display:inline-block;flex-shrink:0;width:20px;height:18px;background-image:${ld};background-size:18px 18px;background-repeat:no-repeat;background-position:left center;`,x.appendChild(B)}T.appendChild(E),T.appendChild(x);let C=this.doc.createElement("span");C.textContent=`(${e.reviewCount})`,S.appendChild(T),S.appendChild(C),n.appendChild(S)}let d=[e.addressLine1,e.city,`${e.state} ${e.zip}`.trim()].filter(Boolean).join(", "),m=this.doc.createElement("div");if(m.style.cssText="font-size:13px;margin:4px 0;color:#525756;",m.textContent=d,n.appendChild(m),e.phone){let w=this.doc.createElement("a");w.href=`tel:${e.phone}`,w.textContent=e.phone,w.style.cssText="font-size:13px;display:block;margin-top:2px;margin-bottom:4px;color:#08730a;text-decoration:none;",n.appendChild(w)}let p=this.doc.createElement("div");p.style.cssText="display:flex;gap:8px;margin-top:8px;";let _=this.doc.createElement("a");_.href=In(e,this.state),_.target="_blank",_.rel="noopener",_.textContent="Request a Quote";let g="flex:1;text-align:center;font-size:13px;font-family:'Inter tight',sans-serif;font-weight:500;padding:6px 8px;border-radius:6px;color:#fff;text-decoration:none;cursor:pointer;";_.style.cssText=g+"background:#08730a;",_.addEventListener("mouseenter",()=>{_.style.background="#164C17"}),_.addEventListener("mouseleave",()=>{_.style.background="#08730a"}),p.appendChild(_);let y=this.doc.createElement("a");y.href=En(e),y.textContent="View Profile";let v="flex:1;text-align:center;font-size:13px;font-family:'Inter tight',sans-serif;font-weight:500;padding:6px 8px;border-radius:6px;border:1px solid #08730a;text-decoration:none;cursor:pointer;";return y.style.cssText=v+"color:#08730a;background:transparent;",y.addEventListener("mouseenter",()=>{y.style.background="#08730a",y.style.color="#fff"}),y.addEventListener("mouseleave",()=>{y.style.background="transparent",y.style.color="#08730a"}),p.appendChild(y),n.appendChild(p),i.appendChild(n),i}static \u0275fac=function(i){return new(i||t)(A(Ls),A(Tt),A(fn),A(de),A(Xe))};static \u0275cmp=$({type:t,selectors:[["app-agency-directory-map"]],inputs:{agencies:"agencies",selectedAgencyId:"selectedAgencyId",state:"state",center:"center",searchZoomThreshold:"searchZoomThreshold"},outputs:{agencyClicked:"agencyClicked",searched:"searched"},features:[wi],decls:3,vars:1,consts:[[1,"relative","w-full","h-full","min-h-[420px]"],["aria-hidden","true",1,"absolute","
10inset-0","flex","items-center","justify-center","bg-gray-100","text-insuredBetter-text_gray","text-sm"],["width","100%","height","100%","aria-label","Map of independent insurance agencies near you",1,"block","w-full","h-full",3,"mapInitialized","zoomChanged","center","zoom","options"],["type","button",1,"absolute","top-3","right-3","z-10","text-sm","font-medium","px-6","py-2","rounded-lg","shadow","bg-insuredBetter-forest_green","text-white","border","border-white","hover:bg-insuredBetter-dark_forest",3,"click","disabled"]],template:function(i,n){i&1&&(o(0,"div",0),I(1,nd,3,6)(2,rd,2,0,"div",1),a()),i&2&&(s(),b(n.mapsReady()?1:2))},dependencies:[Pe,xs],encapsulation:2,changeDetection:0})}return t})();function cd(t,r){t&1&&(o(0,"div",2),u(1,"img",22),c(2," Recommended Local Agency "),a())}function dd(t,r){t&1&&u(0,"span")}function md(t,r){t&1&&(o(0,"span",4),u(1,"span",23),c(2," Open now "),a())}function ud(t,r){if(t&1&&(o(0,"span",5),u(1,"img",24),c(2),a()),t&2){let e=f();s(2),Z(" ",e.distanceLabel," ")}}function pd(t,r){if(t&1&&(o(0,"span",14)(1,"span",25)(2,"span",26),u(3,"span",27)(4,"span",27)(5,"span",27)(6,"span",27)(7,"span",27),a(),o(8,"span",28),u(9,"span",29)(10,"span",29)(11,"span",29)(12,"span",29)(13,"span",29),a()(),o(14,"span",30),c(15),a()()),t&2){let e=f();ve("aria-label",e.ratingLabel),s(8),_t("width",e.starWidth),s(7),Z("(",e.agency.reviewCount,")")}}function hd(t,r){t&1&&(o(0,"span",5),ne(),o(1,"svg",31),u(2,"path",32),a(),c(3," Business "),a())}function gd(t,r){t&1&&(o(0,"span",5),ne(),o(1,"svg",31),u(2,"path",32),a(),c(3," Personal "),a())}function fd(t,r){t&1&&(o(0,"span",5),ne(),o(1,"svg",31),u(2,"path",32),a(),c(3," Life "),a())}function xd(t,r){if(t&1){let e=ie();o(0,"a",33),P("click",function(n){return N(e),R(n.stopPropagation())}),c(1),Ue(2,"phoneNumberFormat"),a()}if(t&2){let e=f();h("href","tel:"+e.agency.phone,k),s(),M(bt(2,2,e.agency.phone))}}function vd(t,r){t&1&&(o(0,"span",4),u(1,"span",23),c(2," Open now "),a())}function yd(t,r){if(t&1&&(o(0,"span",5),u(1,"img",24),c(2),a()),t&2){let e=f();s(2),Z(" ",e.distanceLabel," ")}}var Ms=(()=>{class t{agency;state;selected=!1;cardClicked=new Ke;logoErrored=Ge(!1);onActivate(){this.cardClicked.emit(this.agency.agencyId)}onKeydown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.onActivate())}get profileUrl(){return En(this.agency)}get requestQuoteUrl(){return In(this.agency,this.state)}get logoSrc(){return this.logoErrored()?Wr(this.agency):ms(this.agency)}onLogoError(){this.logoErrored()||this.logoErrored.set(!0)}get showRating(){return Pn(this.agency.averageRating,this.agency.reviewCount)}get ratingValue(){return Mn(this.agency.averageRating)}get starWidth(){return zn(this.agency.averageRating)}get ratingLabel(){return`${this.ratingValue.toFixed(1)} out of 5 stars`}get distanceLabel(){return this.agency.distance!=null?`${this.agency.distance.toFixed(1)} miles`:null}get addressLine(){let e=[this.agency.addressLine1,this.agency.city].filter(Boolean),i=[this.agency.state,this.agency.zip].filter(Boolean).join(" ");return[e.join(", "),i].filter(Boolean).join(", ")}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-agency-directory-card"]],inputs:{agency:"agency",state:"state",selected:"selected"},outputs:{cardClicked:"cardClicked"},decls:33,vars:19,consts:[["role","listitem","tabindex","0",1,"relative","bg-white","border","border-gray-200","rounded-lg","px-4","pb-4","mb-3","cursor-pointer","hover:border-insuredBetter-forest_green","focus:outline-none","transition-shadow","h-full","flex","flex-col",3,"click","keydown"],[1,"flex","items-center","justify-between","gap-2"],[1,"flex","items-center","text-xs","font-semibold","uppercase","tracking-wide","text-insuredBetter-primary_text"],[1,"hidden","lg:flex","items-center","gap-3","text-xs","text-insuredBetter-text_gray","whitespace-nowrap",3,"ngClass"],[1,"flex","items-center"],[1,"flex","items-center","gap-1"],[1,"flex-1"],[1,"flex","lg:hidden","justify-center","my-3","pt-2"],[1,"w-24","h-24","flex","items-center","justify-center"],["loading","lazy",1,"max-w-full","max-h-full","object-contain",3,"error","src","alt"],[1,"flex","justify-between","gap-3","mt-2"],[1,"min-w-0"],[1,"font-poppins","font-semibold","text-insuredBetter-ebony","leading-tight","mb-2","lg:mb-0"],[1,"flex","items-center","flex-wrap","gap-x-3","gap-y-1","mt-1","text-xs","text-insuredBetter-text_gray"],["role","img",1,"flex","items-center","w-full","lg:w-auto","mb-1","lg:mb-0"],[1,"text-sm","text-insuredBetter-text_gray","mt-2"],[1,"text-sm","text-insuredBetter-forest_green","underline","hover:no-underline",3,"href"],[1,"hidden","lg:flex","
10shrink-0","w-24","h-24","items-center","justify-center"],[1,"flex","lg:hidden","items-center","gap-3","text-xs","text-insuredBetter-text_gray","mt-3"],[1,"flex","items-center","gap-2","mt-3"],["target","_blank","rel","noopener",1,"flex-1","text-center","text-sm","p-3","leading-none","rounded-md","bg-insuredBetter-forest_green","text-white","hover:bg-insuredBetter-dark_forest",3,"click","href"],[1,"flex-1","text-center","text-sm","p-3","leading-none","rounded-md","border","border-insuredBetter-forest_green","text-insuredBetter-forest_green","hover:bg-insuredBetter-forest_green","hover:text-white",3,"click","href"],["src","assets/ib-coral-flag-with-star.svg","alt","","width","17.33","height","28",1,"mr-2"],["aria-hidden","true",1,"inline-block","w-2","h-2","rounded-full","bg-insuredBetter-forest_green","mr-1"],["src","assets/location-marker-icon.svg","alt","","width","8","height","8","aria-hidden","true"],["aria-hidden","true",1,"relative","inline-block",2,"width","100px","height","18px"],[1,"absolute","inset-0","flex"],[1,"ib-star-gray"],[1,"absolute","inset-0","overflow-hidden","flex"],[1,"ib-star-green"],[1,"ml-1"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512","width","10","height","10","aria-hidden","true",1,"fill-current","text-insuredBetter-forest_green","shrink-0"],["d","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"],[1,"text-sm","text-insuredBetter-forest_green","underline","hover:no-underline",3,"click","href"]],template:function(i,n){i&1&&(o(0,"div",0),P("click",function(){return n.onActivate()})("keydown",function(d){return n.onKeydown(d)}),o(1,"div",1),I(2,cd,3,0,"div",2)(3,dd,1,0,"span"),o(4,"div",3),I(5,md,3,0,"span",4)(6,ud,3,1,"span",5),a()(),o(7,"div",6)(8,"div",7)(9,"div",8)(10,"img",9),P("error",function(){return n.onLogoError()}),a()()(),o(11,"div",10)(12,"div",11)(13,"div",12),c(14),a(),o(15,"div",13),I(16,pd,16,4,"span",14)(17,hd,4,0,"span",5)(18,gd,4,0,"span",5)(19,fd,4,0,"span",5),a(),o(20,"div",15),c(21),a(),I(22,xd,3,4,"a",16),a(),o(23,"div",17)(24,"img",9),P("error",function(){return n.onLogoError()}),a()()(),o(25,"div",18),I(26,vd,3,0,"span",4)(27,yd,3,1,"span",5),a()(),o(28,"div",19)(29,"a",20),P("click",function(d){return d.stopPropagation()}),c(30,"Request a Quote"),a(),o(31,"a",21),P("click",function(d){return d.stopPropagation()}),c(32,"View Profile"),a()()()),i&2&&(s(2),b(n.agency.recommended?2:3),s(2),h("ngClass",n.agency.recommended?"":"pt-2"),s(),b(n.agency.withinBusinessHours?5:-1),s(),b(n.distanceLabel?6:-1),s(4),h("src",n.logoSrc,k)("alt",n.agency.name+" logo"),s(4),M(n.agency.name),s(2),b(n.showRating?16:-1),s(),b(n.agency.commercialSearchEnabled?17:-1),s(),b(n.agency.personalSearchEnabled?18:-1),s(),b(n.agency.lifeAnnuitiesSearchEnabled?19:-1),s(2),M(n.addressLine),s(),b(n.agency.phone?22:-1),s(2),h("src",n.logoSrc,k)("alt",n.agency.name+" logo"),s(2),b(n.agency.withinBusinessHours?26:-1),s(),b(n.distanceLabel?27:-1),s(2),h("href",n.requestQuoteUrl,k),s(2),h("href",n.profileUrl,k))},dependencies:[Pe,ke,Fa],encapsulation:2,changeDetection:0})}return t})();var _d=(t,r)=>r.agencyId;function bd(t,r){if(t&1&&(o(0,"a",9),c(1),a()),t&2){let e=f(2);h("href",e.stateDirectoryUrl,k),s(),Z(" View all ",e.stateName()," agents ")}}function Cd(t,r){t&1&&(o(0,"div",11),c(1,"Finding agencies near you\u2026"),a())}function wd(t,r){if(t&1&&(o(0,"div",11),c(1," We couldn't find agencies for your area right now. "),o(2,"a",18),c(3," Visit the national directory"),a(),c(4,". "),a()),t&2){let e=f(2);s(2),h("href",e.nationalDirectoryUrl,k)}}function Sd(t,r){if(t&1){let e=ie();o(0,"div",19)(1,"app-agency-directory-card",20),P("cardClicked",function(n){N(e);let l=f(3);return R(l.onCardClicked(n))}),a()()}if(t&2){let e=r.$implicit,i=f(3);h("id","agency-card-"+e.agencyId),s(),h("agency",e)("state",i.stateCode())("selected",i.selectedAgencyId()===e.agencyId)}}function Ed(t,r){if(t&1&&we(0,Sd,2,4,"div",19,_d),t&2){let e=f(2);Se(e.agencies())}}function Id(t,r){if(t&1){let e=ie();o(0,"section",0)(1,"div",1)(2,"h2",2),c(3," Top recommended independent insurance agents "),o(4,"span",3),c(5,"near you"),a()(),o(6,"div",4)(7,"div",5)(8,"div",6)(9,"div",7),c(10," Showing "),o(11,"span",8),c(12),a(),c(13," agency results "),a(),I(14,bd,2,2,"a",9),a(),o(15,"div",10),I(16,Cd,2,0,"div",11)(17,wd,5,1,"div",11)(18,Ed,2,0),a()(),o(19,"div",12)(20,"app-agency-directory-map",13),P("agencyClicked",function(n){N(e);let l=f();return R(l.onMapAgencyClicked(n))})("searched",function(n){N(e);let l=f();return R(l.onSearched(n))}),a()()(),o(21,"div",14),c(22," Want more options? "),o(23,"a",15),c(24," Visit the national directory"),ne(),o(25,"svg",16),u(26,"path",17),a()()()()()}if(t&2){let e=f();s(12),M(e.agencies().length),s(2),b(e.stateDirectoryUrl?14:-1),s(2),b(e.loading()?16:e.agencies().length===0?17:18),s(4),h("agencies",e.agencies())("selectedAgencyId",e.selectedAgencyId())("state",e.stateCode())("center",e.center()),s(3),h("href",e.nationalDirectoryUrl,k)}}var kd={lat:39.5,lng:-98.35},Ps=1e4,zs=[25,50,100,200,400],Ad=2,Os=(()=>{class t{fulcrumService;destroyRef;cdr;platformId;doc;agencies=Ge([]);loading=Ge(!0);selectedAgencyId=Ge(null);stateCode=Ge(null);stateName=Ge(null);center=Ge(kd);lat=null;lng=null;constructor(e,i,n,l,d){this.fulcrumService=e,this.destroyRef=i,this.cdr=n,this.platformId=l,this.doc=d}ngOnInit(){if(!oe(this.platformId))return;let e=this.readStateOverride();if(e){this.setState(e.state),e.lat!=null&&e.lng!=null&&(this.lat=e.lat,this.lng=e.lng,this.center.set({lat:e.lat,lng:e.lng})),this.runInitialSearch();return}this.fulcrumService.getGeoLocation().pipe(Ai(this.destroyRef)).subscribe(i=>{let n=i?.state?i.state.toUpperCase():null;if(this.setState(n),i?.latitude!=null&&i?.longitude!=null&&(this.lat=i.latitude,this.lng=i.longitude,this.center.set({lat:i.latitude,lng:i.longitude})),!n){this.loading.set(!1),this.cdr.markForCheck();return}this.runInitialSearch()})}setState(e){let i=e?e.toUpperCase():null;this.stateCode.set(i),this.stateName.set(i?wt.resolveFromCode(i).name??i:null)}readStateOverride(){let e=this.doc.defaultView?.location?.search??"",i=new URLSearchParams(e),n=i.get("state");if(!n)return null;let l=i.get("lat"),d=i.get("lng");return{state:n,lat:l!=null?Number(l):null,lng:d!=null?Number(d):null}}runInitialSearch(){let e=this.stateCode();if(!e)return;let i=this.lat!=null&&this.lng!=null,n=i?{lat:this.lat,lng:this.lng}:ds(e);if(!n){this.query({stateCode:e,includeNonMembers:!0,size:Ps});return}i||this.center.set({lat:n.lat,lng:n.lng}),this.loading.set(!0),this.huntForRecommended(e,n).pipe(ft(({content:l,nearest:d})=>{if(!d||d.latitude==null||d.longitude==null)return Te(l);let m={lat:d.latitude,lng:d.longitude},p=cs(ls([n,m]),Ad);return this.fetchBounds(e,p)}),Ai(this.destroyRef)).subscribe(l=>this.setResults(l))}runBoundedQuery(e){let i=this.stateCode();i&&(this.loading.set(!0),this.fetchBounds(i,e).pipe(Ai(this.destroyRef)).subscribe(n=>this.setResults(n)))}huntForRecommended(e,i){let n=l=>this.fetchBounds(e,ss(i,zs[l])).pipe(kt(d=>({index:l,content:d})));return n(0).pipe(Ko(l=>{let d=l.content.some(p=>p.recommended),m=l.index+1;return d||m>=zs.length?Ho:n(m)}),Jo(),kt(l=>({content:l.content,nearest:this.nearestRecommended(i,l.content)})))}nearestRecommended(e,i){let n=null,l=1/0;for(let d of i){if(!d.recommended||d.latitude==null||d.longitude==null)continue;let m=as(e,{lat:d.latitude,lng:d.longitude});m<l&&(l=m,n=d)}return n}fetchBounds(e,i){return this.fulcrumService.getStateDirectoryAgencies({stateCode:e,bounds:i,includeNonMembers:!0,size:Ps}).pipe(kt(n=>n?.content??[]))}query(e){this.loading.set(!0),this.fulcrumService.getStateDirectoryAgencies(e).pipe(kt(i=>i?.content??[]),Ai(this.destroyRef)).subscribe(i=>this.setResults(i))}setResults(e){this.agencies.set(e),this.loading.set(!1),this.cdr.markForCheck()}onCardClicked(e){this.selectedAgencyId.set(e)}onMapAgencyClicked(e){this.selectedAgencyId.set(e),this.scrollCardIntoView(e)}onSearched(e){this.runBoundedQuery(e)}get stateDirectoryUrl(){let e=this.stateCode();return e?us(e):null}get nationalDirectoryUrl(){return ps()}scrollCardIntoView(e){this.doc.getElementById(`agency-card-${e}`)?.scrollIntoView({behavior:"smooth",block:"nearest"})}static \u0275fac=function(i){return new(i||t)(A(tt),A(Hi),A(fn),A(de),A(Xe))};static \u0275cmp=$({type:t,selectors:[["app-agency-directory"]],decls:1,vars:1,consts:[[1,"bg-white"],[1,"max-w-screen-xl","mx-auto","max-xs:px-0","px-4","lg:px-0","py-12","lg:py-16"],[1,"text-center","text-3xl","lg:text-4xl","pb-8","font-medium","font-poppins","mx-auto","max-w-[800px]"],[1,"underline","underline-offset-4","decoration-4","decoration-insuredBetter-lime"],[1,"flex","flex-col","lg:flex-row","lg:gap-0","lg:mx-3","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","bg-white","transition-shadow","rounded-lg"],[1,"order-2","lg:order-1","lg:w-2/5","lg:flex","lg:flex-col","lg:max-h-[600px]","py-3","px-3","lg:pr-0","lg:rounded-l-lg","bg-insuredBetter-backdrop_white"],[1,"flex","items-center","justify-between","flex-wrap","gap-2","mb-3","shrink-0"],[1,"text-xs","text-insuredBetter-text_gray"],[1,"font-semibold","text-insuredBetter-ebony"],["target","_blank","rel","noopener",1,"text-xs","text-insuredBetter-forest_green","underline","hover:no-underline","lg:pr-3",3,"href"],["role","list","aria-label","Independent insurance agencies near you",1,"flex","flex-row","overflow-x-auto","gap-3","pb-2","lg:block","lg:overflow-x-visible","lg:overflow-y-auto","lg:pr-3","lg:pb-0","lg:flex-1"],[1,"py-10","text-center","text-insuredBetter-text_gray","text-sm"],[1,"order-1","lg:order-2","lg:w-3/5","h-[420px]","lg:h-[600px]","rounded-t-lg","lg:rounded-l-none","lg:rounded-br-lg","overflow-hidden"],[3,"agencyClicked","searched","agencies","selectedAgencyId","state","center"],[1,"text-center","mt-6","text-sm","text-insuredBetter-text_gray"],["target","_blank","rel","noopener",1,"font-medium","text-insuredBetter-forest_green","underline","hover:no-underline",3,"href"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512","width","14","height","14","aria-hidden","true",1,"inline-block","ml-1","align-middle","fill-current","text-insuredBetter-forest_green","shrink-0"],["d","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM305 361l88-88c9.4-9.4 9.4-24.6 0-33.9l-88-88c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47L136 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l182.1 0-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0z"],["target","_blank","rel","noopener",1,"text-insuredBetter-forest_green","underline","hover:no-underline",3,"href"],[1,"w-[320px]","min-w-[320px]","max-w-[320px]","shrink-0","flex","flex-col","lg:block","lg:w-auto","lg:min-w-0","lg:max-w-none","lg:shrink",3,"id"],[1,"h-full",3,"cardClicked","agency","state","selected"]],template:function(i,n){i&1&&I(0,Id,27,8,"section",0),i&2&&b(n.agencies().length>0?0:-1)},dependencies:[Pe,Ds,Ms],encapsulation:2,changeDetection:0})}return t})();var On=(()=>{class t{document;constructor(e){this.document=e}updateCanonicalLinkTag(e){this.document.querySelector('link[rel="canonical"]')?.setAttribute("href",e)}static \u0275fac=function(i){return new(i||t)(ee(Xe))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ot=(()=>{class t{router;route;linkService;constructor(e,i,n){this.router=e,this.route=i,this.linkService=n}
10navigateToRouterOutletComponent(e,i){let n=this.route.snapshot.queryParams;if(i?.length){n=Ae({},n);for(let d of i)delete n[d]}let l=this.router.url.split("(")[0].split("?")[0].replace(/^\//,"").split("/")[0]||"find-an-agent";this.router.navigate([`/${l}`,e?{outlets:{"funnel-router-outlet":[e]}}:{}],{queryParams:n,preserveFragment:!0}).finally(()=>{e&&e!==""&&this.linkService.updateCanonicalLinkTag(`${J.canonicalUrl}/${l}/${e}/`)})}static \u0275fac=function(i){return new(i||t)(ee(le),ee(et),ee(On))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ri=(()=>{class t{titleService;meta;router;activatedRoute;linkService;constructor(e,i,n,l,d){this.titleService=e,this.meta=i,this.router=n,this.activatedRoute=l,this.linkService=d}updateMetadata(e,i){e&&(e.metadataMetaDescription!=null&&this.meta.updateTag({name:"description",content:e.metadataMetaDescription}),this.meta.updateTag({name:"google-site-verification",content:J.googleSiteVerification}),this.meta.updateTag({name:"msvalidate.01",content:J.microsoftValidation}),this.meta.updateTag({name:"p:domain_verify",content:J.pDomainVerify}),this.meta.updateTag({name:"facebook-domain-verification",content:J.facebookDomainVerification}),e.metadataOgTitle!=null&&e.metadataOgTitle!==""?this.meta.updateTag({property:"og:title",content:e.metadataOgTitle}):e.metadataMetaTitle&&this.meta.updateTag({property:"og:title",content:e.metadataMetaTitle}),this.meta.updateTag({property:"og:type",content:"website"}),e.metadataOgImage?.url!=null&&this.meta.updateTag({property:"og:image",content:e.metadataOgImage.url}),e.metadataOgUrl!=null?(this.meta.updateTag({property:"og:url",content:e.metadataOgUrl}),this.linkService.updateCanonicalLinkTag(e.metadataOgUrl)):i?(this.meta.updateTag({property:"og:url",content:i}),this.linkService.updateCanonicalLinkTag(i)):(this.meta.updateTag({property:"og:url",content:`${J.canonicalUrl}/`}),this.linkService.updateCanonicalLinkTag(`${J.canonicalUrl}/`)),e.metadataOgTitle!=null&&this.meta.updateTag({property:"og:title",content:e.metadataOgTitle}),e.metadataOgDescription!=null&&e.metadataOgDescription!==""?this.meta.updateTag({property:"og:description",content:e.metadataOgDescription}):e.metadataMetaDescription!=null&&this.meta.updateTag({property:"og:description",content:e.metadataMetaDescription}),this.meta.updateTag({property:"og:site_name",content:"InsuredBetter.com"}),this.updateTitle(e.metadataPageTitle))}updateTitle(e){e?this.titleService.setTitle(e+" | InsuredBetter"):this.router.events.pipe(st(i=>i instanceof vn),kt(()=>this.activatedRoute),kt(i=>{for(;i.firstChild;)i=i.firstChild;return i}),st(i=>i.outlet==="primary"),Wo(i=>i.data)).subscribe(i=>{this.titleService.setTitle(i.title+" | InsuredBetter")})}static \u0275fac=function(i){return new(i||t)(ee(Sa),ee(Wt),ee(le),ee(et),ee(On))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Td=()=>["/find-an-agent"];function Bd(t,r){if(t&1){let e=ie();o(0,"button",160),P("click",function(){let n=N(e).index,l=f();return R(l.goToSlide(n))}),a()}if(t&2){let e=r.index,i=f();sa("bg-insuredBetter-dark_forest",e===i.currentIndex)("bg-insuredBetter-light_lime",e!==i.currentIndex)}}var Rs=(()=>{class t{funnelNavigationService;funnelStateService;metadataService;platformId;renderer;doc;ngZone;slideInterval;currentIndex=0;slides=[1,2,3];jsonLdEl;InsuranceTypeEnum=re;constructor(e,i,n,l,d,m,p){this.funnelNavigationService=e,this.funnelStateService=i,this.metadataService=n,this.platformId=l,this.renderer=d,this.doc=m,this.ngZone=p,this.setMetadata()}navigateToFunnel(e){this.funnelStateService.insuranceType.set(e),this.funnelNavigationService.navigateToRouterOutletComponent(se.COVERAGES)}setMetadata(){let e={metadataMetaDescription:"InsuredBetter helps you find personal and business insurance by connecting you with an independent insurance agent.",metadataMetaTitle:"Independent Insurance Agents for Personal & Business Insurance",metadataOgDescription:"InsuredBetter helps you find personal and business insurance by connecting you with an independent insurance agent.",metadataOgTitle:"Independent Insurance Agents for Personal & Business Insurance",metadataPageTitle:"Independent Insurance Agents for Personal & Business Insurance",metadataOgImage:{url:"https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9ec55c27-c909-4c31-9993-c6772d2ef437/insured-better-com-og-image.jpg"}};this.metadataService.updateMetadata(e,`${J.canonicalUrl}/`)}ngOnInit(){oe(this.platformId)&&this.startAutoSlide(),this.insertOrganizationJsonLd()}nextSlide(){this.currentIndex=(this.currentIndex+1)%this.slides.length}prevSlide(){this.currentIndex=(this.currentIndex-1+this.slides.length)%this.slides.length}goToSlide(e){this.currentIndex=e,this.restartAutoSlide()}startAutoSlide(){oe(this.platformId)&&this.ngZone.runOutsideAngular(()=>{this.slideInterval=setInterval(()=>{this.ngZone.run(()=>this.nextSlide())},5e3)})}restartAutoSlide(){this.stopAutoSlide(),this.startAutoSlide()}stopAutoSlide(){this.slideInterval&&clearInterval(this.slideInterval)}ngOnDestroy(){if(this.stopAutoSlide(),this.jsonLdEl?.parentNode)this.jsonLdEl.parentNode.removeChild(this.jsonLdEl);else{let e=this.findExistingOrgJsonLd();e&&e.remove()}}insertOrganizationJsonLd(){let e=this.findExistingOrgJsonLd();if(e){this.jsonLdEl=e;return}let i={"@context":"https://schema.org","@type":"Organization",name:"InsuredBetter",url:"https://www.insuredbetter.com",logo:"https://www.insuredbetter.com/assets/insuredBetter_logo.png",sameAs:["https://www.facebook.com/InsuredBetter/","https://www.instagram.com/insuredbetter/"]},n=this.renderer.createElement("script");n.type="application/ld+json",n.text=JSON.stringify(i,null,2),this.renderer.appendChild(this.doc.head,n),this.jsonLdEl=n}findExistingOrgJsonLd(){return Array.from(this.doc.head.querySelectorAll('script[type="application/ld+json"]')).find(i=>{let n=(i.textContent||"").replace(/\s+/g,"");return n.includes('"@type":"Organization"')&&n.includes('"name":"InsuredBetter"')})||null}environment=J;static \u0275fac=function(i){return new(i||t)(A(ot),A(He),A(ri),A(de),A(Ze),A(Xe),A(Tt))};static \u0275cmp=$({type:t,selectors:[["app-homepage"]],decls:441,vars:99,consts:[[1,"bg-w-full","bg-[left_-2rem_top_-16rem]","mt-[-84px]","sm:bg-cover","bg-no-repeat","sm:bg-[left_-2rem_top]","md:bg-[left_-10rem_top]","md:h-[845px]","lg:bg-top","lg:h-[935px]","sm:mt-[-112px]","sm:bg-[url('https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/b02ce55e-1cc6-4cf1-b772-ef174865c2b4/insured-better-hero-w-borders.jpg?fm=webp')]"],[1,"relative","text-center","top-[100px]","sm:top-44","md:top-0","max-w-screen-xl","mb-28","sm:mb-48","md:mb-0","flex","flex-col","lg:flex-row","mx-auto","h-full","lg:px-4"],[1,"mb-5","mx-auto","sm:mx-16","sm:mb-16","mt-auto","text-center","lg:mb-32","sm:text-left","lg:ml-0","lg:mr-auto","lg:my-0","lg:self-ce
10nter"],[1,"px-4","sm:px-0","max-w-[400px]"],[1,"text-3xl","lg:text-4xl","font-medium","font-poppins","pb-3","-tracking-[2px]"],[1,"text-insuredBetter-text_gray","leading-4"],[1,"hidden","sm:flex","mt-5","items-center"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/2a8de289-0f68-4f1b-94c7-9c1a9d927a0c/reviewer-images.png?w=320&fm=webp&auto=compress&fit=max","width","160","height","43","alt",""],["routerLink","","fragment","testimonials",1,"pl-3","text-insuredBetter-forest_green","underline","hover:no-underline","text-sm","font-medium","pr-1"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/16969371-5fdd-4aa9-9537-4fe99f8561af/circle-arrow-right-icon.svg","alt","",1,"pl-1","no-underline","inline-block"],[1,"mx-auto","sm:mx-16","mb-5","lg:my-0","lg:ml-auto","lg:mr-0","lg:self-center"],[1,"bg-white","shadow-[0_8px_30px_rgb(0,0,0,0.12)]","py-10","px-7","rounded-lg","lg:max-w-[440px]","text-center"],[1,"text-2xl","font-poppins","mb-5","-tracking-[2px]"],[1,"flex-col","justify-center","sm:flex-row","flex","sm:space-x-2","lg:flex-col","lg:space-x-0"],[3,"click"],[1,"border","text-center","py-5","px-2.5","mb-2","hover:bg-insuredBetter-light_lime","cursor-pointer"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/51fd295c-17e8-4c49-8bc0-b07f41bf18bd/insurance-icons-commercial.svg","alt","business insurance icon",1,"inline-block","mb-2"],[1,"text-xl"],[1,"text-sm","text-insuredBetter-text_gray","max-w-72","mx-auto"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9eadd91b-bbf0-4558-9555-39d6e7a6996d/insurance-icons-homeowners.svg","alt","homeowners insurance icon",1,"inline-block","mb-2","mr-2"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/65208d66-11b7-4430-b94d-90931f3e3cb7/insurance-icons-auto.svg","alt","auto insurance icon",1,"inline-block","mb-2"],[1,"hidden",3,"click"],["width","40","height","40","viewBox","0 0 24 24","fill","none","stroke","#08730a","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"inline-block","mb-2"],["d","M20.8 5.6a5.5 5.5 0 0 0-9.3-2.4l-.5.5-.5-.5A5.5 5.5 0 0 0 2 7.2c0 .9.2 1.7.6 2.5h4.2l1.4-2.8 2.6 6 1.5-3h4.9c.4-.8.6-1.6.6-2.5z"],["d","M19.4 11.2 12 18.6l-7.4-7.4"],[1,"font-poppins","font-medium","mt-10"],["href","tel:+18443850106",1,"text-insuredBetter-forest_green","underline","hover:no-underline"],[1,"text-nowrap"],[1,"bg-white"],[1,"max-w-screen-xl","mx-auto","pb-10","pt-5"],[1,"text-center","font-poppins","text-insuredBetter-text_gray","py-5","px-4"],[1,"underline","hover:no-underline","text-nowrap",3,"href"],[1,"group","flex","overflow-x-hidden","[mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-128px),transparent_100%)]"],[1,"flex","items-center","animate-loop-scroll"],["target","_blank",1,"mx-8",3,"href"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/53f9fd65-cbfa-4252-8e46-22390e3ac2f2/acadia-inurance-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Acadia Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/81a5b2b0-2a48-4cd2-9a75-e9dd930ff170/arbella-insurance-group.png?w=224&fm=webp&auto=compress&fit=max","alt","Arbella Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c7975557-2fe3-4c44-a202-d46a63003903/bondexchange-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","BondExchange logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f34d2cf5-f1fc-44b9-ac5a-fd0e41bf7a0f/cinch-home-services-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Cinch Home Services logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/33d3f6b7-fcbf-4785-bd48-4261f12c33dd/co-operative-insurance-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Co-operative Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f8d72f04-4b97-48f6-80a2-f14784ba7c99/dryden-mutual.png?w=224&fm=webp&auto=compress&fit=max","alt","Dryden Mutual logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/18f81be3-fe46-44e3-b867-1792b0d6fe5e/encova.png?w=224&fm=webp&auto=compress&fit=max","alt","Encova Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/7b77a8c4-dc10-4073-b9f7-fc84ef8581c5/Florida-Peninsula.png?w=224&fm=webp&auto=compress&fit=max","alt","Florida Peninsula Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/ad
10d42f8a-78ec-46dc-9616-9640ffa828cf/foremost-logo-5-21-update.png?w=224&fm=webp&auto=compress&fit=max","alt","Foremost Insurance logo",1,"max-w-28"],["src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/5532df94-4304-48ba-b7ca-842460bf3b1c/frank-winston-crum-insurance-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Frank Winston Crum Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/eafc0618-2985-40db-a7b6-20851b696ab1/frederick-mutual-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Frederick Mutual Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/6aca6732-cf01-4b15-922a-df7c7bdca136/homeowners-of-america.png?w=224&fm=webp&auto=compress&fit=max","alt","Homeowners of America logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9513b098-3ef4-46ca-89f5-c6e4e019e817/icw-group.png?w=224&fm=webp&auto=compress&fit=max","alt","ICW Group logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/42a0d90f-d687-48f6-8eb0-b5654a72b6f8/jewelers-mutual.png?w=224&fm=webp&auto=compress&fit=max","alt","Jewelers Mutual logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/aff32766-530f-49fd-9d59-25abd70602a2/king-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","King Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/358e6c0e-87ad-44d2-a9f8-939b71e9984f/kingstonelogo.png?w=224&fm=webp&auto=compress&fit=max","alt","Kingstone Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/b42fd791-2eff-415d-9b8a-664c24517800/liberty-mutual.png?w=224&fm=webp&auto=compress&fit=max","alt","Liberty Mutual logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/4281687f-7d91-4939-9764-92a755a029b9/MSA_Insurance_logo-2020.png?w=224&fm=webp&auto=compress&fit=max","alt","Main Street America Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/8f2a41f4-78fe-4049-bbe4-1436fb4370b3/mapfre.png?w=224&fm=webp&auto=compress&fit=max","alt","MAPFRE Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/d45f7c1f-8b5a-4522-8be2-d5672ac48ef7/MEMIC%20logo%20RGB.png?w=224&fm=webp&auto=compress&fit=max","alt","MEMIC logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/fde264a3-233a-4e8d-8356-c63387d00082/MMG.png?w=224&fm=webp&auto=compress&fit=max","alt","MMG Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/6192b53b-33bc-46e6-b88e-6ec3726fa995/Nationwide.png?w=224&fm=webp&auto=compress&fit=max","alt","Nationwide logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/94244ca3-4624-4064-a962-1e553e09ed74/NYCM.png?w=224&fm=webp&auto=compress&fit=max","alt","NYCM Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/6311a635-7868-42e3-8834-880d86a8370a/Ohio-Mutual.png?w=224&fm=webp&auto=compress&fit=max","alt","Ohio Mutual logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/e35e02f1-bd80-46e8-ab78-484071e41577/orion180-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Orion180 logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/687b2d6a-68c3-4267-a305-8ac784dc54f2/Peerless-Insurance.png?w=224&fm=webp&auto=compress&fit=max","alt","Peerless Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c1f2aa49-d700-4d0c-af85-4717ec34c3d4/progressive.png?w=224&fm=webp&auto=compress&fit=max","alt","Progressive logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/e868e91d-22a6-4713-9f50-112ecfa2c3a2/reinsurepro-company-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","ReinsurePro logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/eba85601-5318-4c58-a258-c58b5ca678dd/RLI.png?w=224&fm=webp&auto=compress&fit=max","alt","RLI Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/67dcf41d-03c1-48db-b422-e867c7512b08/rms-hospitality-group-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","RMS Hospital
10ity Group logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/00ba7f2c-06c3-475a-a7a2-4a65a6943ee3/root-insurance-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","Root Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/8356bc5b-6569-4225-b9ed-b2ffd5b1306f/rt-connector-logo.png?w=224&fm=webp&auto=compress&fit=max","alt","RT Connector logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c1d0c882-f474-45f9-9ba5-e6704ef83e48/Safety-insurance-logo-2020.png?w=224&fm=webp&auto=compress&fit=max","alt","Safety Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/70c17396-840b-4f0a-a266-f6159eddfb0a/selective-insurance.png?w=224&fm=webp&auto=compress&fit=max","alt","Selective Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/d0f147a7-2bbc-4e5e-92f5-367242c4072e/slb-insurance-group.png?w=224&fm=webp&auto=compress&fit=max","alt","SLB Insurance Group logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/fb48aa78-f2a0-4172-9752-25a611619f29/sterling-insurance-2020.png?w=224&fm=webp&auto=compress&fit=max","alt","Sterling Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/6a9acd68-694d-4ae2-aab4-dd1fe42c093b/Stillwater.png?w=224&fm=webp&auto=compress&fit=max","alt","Stillwater Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/bfc8d5dd-9973-411c-a588-f1872530d98a/andover-companies.png?w=224&fm=webp&auto=compress&fit=max","alt","Andover Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f8c71ca0-f2d6-488c-868d-8a23dbe4f49e/travelers.png?w=224&fm=webp&auto=compress&fit=max","alt","Travelers Insurance logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f67ae794-b026-43bc-a01e-d8c44cac0bcc/vermont-mutual-insurance-group.png?w=224&fm=webp&auto=compress&fit=max","alt","Vermont Mutual logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/873fe4b4-f44e-4935-bf1a-b947a0ef5dc8/warrior-insurance-network.png?w=224&fm=webp&auto=compress&fit=max","alt","Warrior Insurance Network logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/a0910adf-f579-4f4c-9b7a-b30de6155e22/West-Bend.png?w=224&fm=webp&auto=compress&fit=max","alt","West Bend logo",1,"max-w-28"],["loading","eager","src","https://assets-us-01.kc-usercontent.com:443/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c054d876-17e5-4377-869f-a65eaf4ad886/Westfield.png?w=224&fm=webp&auto=compress&fit=max","alt","Westfield logo",1,"max-w-28"],[1,"bg-insuredBetter-light_lime"],[1,"max-w-screen-xl","mx-auto","px-5","py-16","lg:px-0","lg:py-28","text-center"],[1,"text-3xl","lg:text-4xl","pb-10","font-medium"],[1,"underline","underline-offset-4","decoration-4","decoration-insuredBetter-lime"],[1,"flex","flex-col","lg:flex-row"],[1,"text-center","mx-auto","max-w-[275px]","mb-16","lg:mb-0"],[1,"flex","justify-center","pb-2"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/bfa06258-904f-4b76-a7e4-a71e600d32a9/insured-better-1-icon.svg","alt","1 icon",1,"pr-3"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/a38100a3-fa91-4778-a21e-e4ebf42bd902/insured-better-checklist-icon.svg","width","45px","alt","checklist icon"],[1,"text-2xl","font-light"],[1,"text-insuredBetter-dark_forest","font-light"],[1,"hidden","lg:block","pt-10"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/7ffc2a76-bf67-45ea-95a4-454c09a9b532/insured-better-arch-arrow-right-icon.svg","alt","arrow right icon","width","120"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f29c2bd1-8426-4428-92bd-692a4ace09fb/insured-better-2-icon.svg","alt","2 icon",1,"pr-3"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/75f793b2-c065-48f2-976f-453e09830de3/insured-better-users-icon.svg","width","45px","alt","checklist icon"],[1,"text-center","mx-auto","max-w-[275px]"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/ffabee06-fb25-46d3-a33f-3c6d5cb68ade/insured-better-3-icon.svg","alt","3 icon",1,"pr-3"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/88d73b9e-5766-4a1e-82a0-eda603da162d/insured-better-quote-bubble-icon.svg","width","45px","alt","checklist icon"],[1,"relative"],["media","(max-width: 639px)","srcset","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/e30bff9e-e999-4432-ae63-a98fa7a4ba5b/agent-%20map-mobile.svg"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/231862cb-124f-4465-ba24-6d751cbd30d5/agent-%20map.svg","alt","national network of agents map","loading","lazy","decoding","async",1,"h-full","w-full","object-contain"],[1,"absolute","w-full","top-10","sm:top-0","lg:top-6","xl:top-4","left-0","right-0","z-20","max-w-2xl","lg:max-w-[800px]","mx-auto","font-poppins","text-center","px-4","md:px-0"],[1,"sm:!mt-5","lg:!mt-6","xl:!mt-16","text-3xl","lg:text-4xl","pb-2.5","font-medium"],[1,"font-light"],[1,"pt-2.5"],[1,"inline-block","text-sm","px-6","py-4","leading-none","border","rounded-xl","bg-insuredBetter-forest_green","text-white","hover:bg-insuredBetter-dark_forest","mt-0",3,"routerLink"],[1,"bg-insuredBetter-backdrop_white","py-16","md:py-24","px-5"],[1,"max-w-screen-xl","mx-auto"],[1,"text-center","mb-12","sm:mb-36"],[1,"text-3xl","lg:text-4xl","font-medium","font-poppins","max-w-2xl","mx-auto"],[1,"mb-3"],[1,"flex","flex-col","md:flex-row","gap-6","max-w-3xl","mx-auto"],[1,"flex-1","relative","mt-20","sm:mt-0","bg-white","rounded-lg","shadow-[0_8px_30px_rgb(0,0,0,0.12)]","mb
10-12","sm:mb-24","md:mb-0"],[1,"h-40","rounded-t-lg","bg-cover","bg-center"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/ff1dc2e6-4d80-4755-a817-972efaef59f9/lob-home-page-hero-business.png","alt","business insurance",1,"absolute","-top-24","left-1/2","-translate-x-1/2","h-64","object-contain","object-bottom","pointer-events-none"],[1,"p-6","text-center"],[1,"inline-block","text-xs","font-bold","text-white","bg-insuredBetter-dark_forest","px-3","py-1","mb-4"],[1,"text-xl","leading-tight","font-semibold","font-poppins","mb-5"],["href","/find-an-insurance-company/?&category=COMMERCIAL",1,"inline-block","text-sm","px-12","py-4","leading-none","rounded-xl","text-white","bg-insuredBetter-forest_green","hover:bg-insuredBetter-dark_forest","cursor-pointer","mb-4"],[1,"text-sm","text-insuredBetter-forest_green","underline","hover:no-underline","inline-flex","items-center","gap-1",3,"href"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/16969371-5fdd-4aa9-9537-4fe99f8561af/circle-arrow-right-icon.svg","alt","",1,"inline-block","w-4","h-4"],[1,"flex-1","relative","mt-20","sm:mt-0","bg-white","rounded-lg","shadow-[0_8px_30px_rgb(0,0,0,0.12)]"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f579256d-f75b-4939-a3d7-85cf013b21c8/lob-home-page-hero-personal.png","alt","personal insurance",1,"absolute","-top-24","left-1/2","-translate-x-1/2","h-64","object-contain","object-bottom","pointer-events-none"],["href","/find-an-insurance-company/?&category=PERSONAL",1,"inline-block","text-sm","px-12","py-4","leading-none","rounded-xl","text-white","bg-insuredBetter-forest_green","hover:bg-insuredBetter-dark_forest","cursor-pointer","mb-4"],["id","testimonials"],[1,"m-auto","px-auto","pb-28","md:pb-32","pt-16","md:pt-24","max-w-screen-xl"],[1,"text-center","text-3xl","lg:text-4xl","pb-16","font-medium","max-w-4xl","mx-auto","px-10","lg:px-0"],[1,"relative","w-full","pt-5","overflow-hidden","max-w-screen-xl","mx-auto"],[1,"flex","transition-transform","duration-500"],[1,"min-w-full","sm:px-7"],[1,"duration-700","ease-linear","flex","justify-center","self-stretch","h-full"],[1,"px-3","h-full"],[1,"h-full","flex","flex-col","justify-end","max-w-sm","overflow-hidden","rounded-lg","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","bg-white","transition-shadow","p-6"],[1,"flex-row","my-auto"],[1,"font-poppins","leading-5"],[1,"flex","items-center","mt-5"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/a7f3b74e-e8ba-49b8-9a5d-b1e3d76efeed/holly-dunn.jpg",1,"object-center","w-12","h-12","rounded-full"],[1,"pl-3"],[1,"leading-4"],[1,"text-insuredBetter-text_gray","text-sm"],[1,"px-3","hidden","md:block","h-full"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/d71864e6-0e8c-403d-908b-36fb8298fae0/chandler-miles.jpg",1,"object-center","w-12","h-12","rounded-full"],[1,"px-3","hidden","lg:block","h-full"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/ae622328-f12e-48b2-ad42-a05fbcd4c32a/chris-alvarez.jpg",1,"object-center","w-12","h-12","rounded-full"],[1,"duration-700","ease-linear","flex","justify-center","h-full"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/f8d21252-c224-430c-9b73-a56f0fc1d506/genuvie.jpg",1,"object-center","w-12","h-12","rounded-full"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/17776162-abd9-46b3-80be-16efd4128e74/dillon.jpg",1,"object-center","w-12","h-12","rounded-full"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/feb8512b-d607-4003-aa6b-79b6ce0fdde7/maryann-f.jpg",1,"object-center","w-12","h-12","rounded-full"],["alt","name","src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/1e47c536-3bd8-4e34-865e-db64e4b39668/antonio-sandoval.jpg",1,"object-center","w-12","h-12","rounded-full"],[1,"flex","items-center","justify-center","gap-4","mt-8","mb-16"],["aria-label","Previous slide",1,"flex","items-center","justify-center","flex-shrink-0","w-10","h-10","rounded-full","bg-insuredBetter-forest_green","shadow-md","text-white","hover:bg-insuredBetter-lime","transition-colors","border-0","sm:absolute","sm:top-1/2","sm:-translate-y-1/2","sm:z-10","sm:left-2",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5","
10stroke-linecap","round","stroke-linejoin","round",1,"w-5","h-5"],["points","15 18 9 12 15 6"],[1,"flex","space-x-2"],["class","w-3 h-3 rounded-full","aria-label","Go to slide",3,"bg-insuredBetter-dark_forest","bg-insuredBetter-light_lime","click",4,"ngFor","ngForOf"],["aria-label","Next slide",1,"flex","items-center","justify-center","flex-shrink-0","w-10","h-10","rounded-full","bg-insuredBetter-forest_green","shadow-md","text-white","hover:bg-insuredBetter-lime","transition-colors","border-0","sm:absolute","sm:top-1/2","sm:-translate-y-1/2","sm:z-10","sm:right-2",3,"click"],["points","9 18 15 12 9 6"],[1,"bg-insuredBetter-dark_forest","py-24","px-5"],[1,"max-w-screen-xl","mx-auto","text-center"],[1,"text-3xl","lg:text-4xl","mb-3","font-medium","text-white","max-w-[800px]","mx-auto"],[1,"font-light","text-lg","text-insuredBetter-light_lime","block","my-5"],["target","_blank",1,"inline-block","text-sm","px-6","py-4","leading-none","border","border-white","rounded-xl","text-white","hover:text-insuredBetter-dark_forest","hover:bg-insuredBetter-lime","mt-0",3,"href"],["aria-label","Go to slide",1,"w-3","h-3","rounded-full",3,"click"]],template:function(i,n){i&1&&(u(0,"app-header"),o(1,"main")(2,"section",0)(3,"div",1)(4,"div",2)(5,"div",3)(6,"h1",4),c(7,"Getting insured with an independent agent is a smart idea"),a(),o(8,"span",5),c(9,"Connect with an Independent Insurance agent for more options, better prices, and expert advice."),a(),o(10,"div",6),u(11,"img",7),o(12,"a",8),c(13,"hear from happy customers"),u(14,"img",9),a()()()(),o(15,"div",10)(16,"div",11)(17,"div",12),c(18,"What type of insurance are you looking for?"),a(),o(19,"div",13)(20,"a",14),P("click",function(){return n.navigateToFunnel(n.InsuranceTypeEnum.COMMERCIAL)}),o(21,"div",15),u(22,"img",16),o(23,"div",17),c(24,"Business Insurance"),a(),o(25,"div",18),c(26,"General Liability, Commercial Auto, Property, Workers' Comp and more"),a()()(),o(27,"a",14),P("click",function(){return n.navigateToFunnel(n.InsuranceTypeEnum.PERSONAL)}),o(28,"div",15),u(29,"img",19)(30,"img",20),o(31,"div",17),c(32,"Personal Insurance"),a(),o(33,"div",18),c(34,"Home, Auto, Renters, Umbrella, Landlord, RV, Watercrafts and more"),a()()(),o(35,"a",21),P("click",function(){return n.navigateToFunnel(n.InsuranceTypeEnum.LIFE_ANNUITIES)}),o(36,"div",15),ne(),o(37,"svg",22),u(38,"path",23)(39,"path",24),a(),Ce(),o(40,"div",17),c(41,"Life Insurance"),a(),o(42,"div",18),c(43,"Life, annuities, disability income, long term care"),a()()()(),o(44,"div",25),c(45," Or, talk to an agent now "),o(46,"a",26)(47,"span",27),c(48,"(844) 385-0106"),a()()()()()()(),o(49,"section",28)(50,"div",29)(51,"div",30),c(52," An independent agent means choices! Choose your policy from multiple leading insurance providers. "),o(53,"a",31),c(54,"See the complete list"),a()(),o(55,"div",32)(56,"div",33)(57,"a",34),u(58,"img",35),a(),o(59,"a",34),u(60,"img",36),a(),o(61,"a",34),u(62,"img",37),a(),o(63,"a",34),u(64,"img",38),a(),o(65,"a",34),u(66,"img",39),a(),o(67,"a",34),u(68,"img",40),a(),o(69,"a",34),u(70,"img",41),a(),o(71,"a",34),u(72,"img",42),a(),o(73,"a",34),u(74,"img",43),a(),o(75,"a",34),u(76,"img",44),a(),o(77,"a",34),u(78,"img",45),a(),o(79,"a",34),u(80,"img",46),a(),o(81,"a",34),u(82,"img",47),a(),o(83,"a",34),u(84,"img",48),a(),o(85,"a",34),u(86,"img",49),a(),o(87,"a",34),u(88,"img",50),a(),o(89,"a",34),u(90,"img",51),a(),o(91,"a",34),u(92,"img",52),a(),o(93,"a",34),u(94,"img",53),a(),o(95,"a",34),u(96,"img",54),a(),o(97,"a",34),u(98,"img",55),a(),o(99,"a",34),u(100,"img",56),a(),o(101,"a",34),u(102,"img",57),a(),o(103,"a",34),u(104,"img",58),a(),o(105,"a",34),u(106,"img",59),a(),o(107,"a",34),u(108,"img",60),a(),o(109,"a",34),u(110,"img",61),a(),o(111,"a",34),u(112,"img",62),a(),o(113,"a",34),u(114,"img",63),a(),o(115,"a",34),u(116,"img",64),a(),o(117,"a",34),u(118,"img",65),a(),o(119,"a",34),u(120,"img",66),a(),o(121,"a",34),u(122,"img",67),a(),o(123,"a",34),u(124,"img",68),a(),o(125,"a",34),u(126,"img",69),a(),o(127,"a",34),u(128,"img",70),a(),o(129,"a",34),u(130,"img",71),a(),o(131,"a",34),u(132,"img",72),a(),o(133,"a",34),u(134,"img",73),a(),o(135,"a",34),u(136,"img",74),a(),o(137,"a",34),u(138,"img",75),a(),o(139,"a",34),u(140,"img",76),a(),o(141,"a",34),u(142,"img",77),a(),o(143,"a",34),u(144,"img",35),a(),o(145,"a",34),u(146,"img",36),a(),o(147,"a",34),u(148,"img",37),a(),o(149,"a",34),u(150,"img",38),a(),o(151,"a",34),u(152,"img",39),a(),o(153,"a",34),u(154,"img",40),a(),o(155,"a",34),u(156,"img",41),a(),o(157,"a",34),u(158,"img",42),a(),o(159,"a",34),u(160,"img",43),a(),o(161,"a",34),u(162,"img",44),a(),o(163,"a",34),u(164,"img",45),a(),o(165,"a",34),u(166,"img",46),a(),o(167,"a",34),u(168,"img",47),a(),o(169,"a",34),u(170,"img",48),a(),o(171,"a",34),u(172,"img",49),a(),o(173,"a",34),u(174,"img",50),a(),o(175,"a",34),u(176,"img",51),a(),o(177,"a",34),u(178,"img",52),a(),o(179,"a",34),u(180,"img",53),a(),o(181,"a",34),u(182,"img",54),a(),o(183,"a",34),u(184,"img",55),a(),o(185,"a",34),u(186,"img",56),a(),o(187,"a",34),u(188,"img",57
vendor: 5,756 bytes, line 10
10),a(),o(189,"a",34),u(190,"img",58),a(),o(191,"a",34),u(192,"img",59),a(),o(193,"a",34),u(194,"img",60),a(),o(195,"a",34),u(196,"img",61),a(),o(197,"a",34),u(198,"img",62),a(),o(199,"a",34),u(200,"img",63),a(),o(201,"a",34),u(202,"img",64),a(),o(203,"a",34),u(204,"img",65),a(),o(205,"a",34),u(206,"img",66),a(),o(207,"a",34),u(208,"img",67),a(),o(209,"a",34),u(210,"img",68),a(),o(211,"a",34),u(212,"img",69),a(),o(213,"a",34),u(214,"img",70),a(),o(215,"a",34),u(216,"img",71),a(),o(217,"a",34),u(218,"img",72),a(),o(219,"a",34),u(220,"img",73),a(),o(221,"a",34),u(222,"img",74),a(),o(223,"a",34),u(224,"img",75),a(),o(225,"a",34),u(226,"img",76),a(),o(227,"a",34),u(228,"img",77),a()()()()(),o(229,"section"),u(230,"app-agency-directory"),a(),o(231,"section",78)(232,"div",79)(233,"h2",80),c(234,"Get connected with an agent in "),o(235,"span",81),c(236,"3 easy steps"),a()(),o(237,"div",82)(238,"div",83)(239,"div",84),u(240,"img",85)(241,"img",86),a(),o(242,"div",87),c(243,"Tell us about your insurance needs"),a(),o(244,"span",88),c(245," Just a few simple questions! "),a()(),o(246,"div",89),u(247,"img",90),a(),o(248,"div",83)(249,"div",84),u(250,"img",91)(251,"img",92),a(),o(252,"div",87),c(253,"We match you with local independent agents"),a(),o(254,"span",88),c(255," Who are looking for customers like you! "),a()(),o(256,"div",89),u(257,"img",90),a(),o(258,"div",93)(259,"div",84),u(260,"img",94)(261,"img",95),a(),o(262,"div",87),c(263,"An independent agent will contact you"),a(),o(264,"span",88),c(265," And they will take it from there! "),a()()()()(),o(266,"section",96)(267,"picture"),u(268,"source",97)(269,"img",98),a(),o(270,"div",99)(271,"h2",100)(272,"span",81),c(273,"Thousands"),a(),c(274," of independent agents nationwide "),a(),o(275,"span",101),c(276,"A growing network connecting insurance shoppers with local agencies"),a(),o(277,"div",102)(278,"a",103),c(279,"Start Your Quote Request"),a()()()(),o(280,"section",104)(281,"div",105)(282,"div",106)(283,"h2",107),c(284," Which insurance company is the "),o(285,"span",81),c(286,"best match"),a(),c(287," for your needs? "),a(),o(288,"p",108),c(289,"Our agents work with top national insurance companies. Choices galore!"),a()(),o(290,"div",109)(291,"div",110),u(292,"div",111)(293,"img",112),o(294,"div",113)(295,"span",114),c(296,"BEST"),a(),o(297,"h3",115),c(298,"Business Insurance Companies"),a(),o(299,"a",116),c(300," Get Matched"),a(),o(301,"div")(302,"a",117),c(303," Or, browse all Business Insurance Companies "),u(304,"img",118),a()()()(),o(305,"div",119),u(306,"div",111)(307,"img",120),o(308,"div",113)(309,"span",114),c(310,"BEST"),a(),o(311,"h3",115),c(312,"Home, Auto and Personal Insurance Companies"),a(),o(313,"a",121),c(314," Get Matched "),a(),o(315,"div")(316,"a",117),c(317," Or, browse all Personal Insurance Companies "),u(318,"img",118),a()()()()()()(),o(319,"section",122)(320,"div",123)(321,"h2",124),c(322," Millions of people have found the perfect independent insurance agent, "),o(323,"span",81),c(324,"right here."),a()(),o(325,"div",125)(326,"div",126)(327,"div",127)(328,"div",128)(329,"div",129)(330,"div",130)(331,"div",131)(332,"div",132),c(333,' "Overall, I have been completely satisfied with this service that [my agent has] provided to us. He was very quick. He was very knowledgeable and he got us matched with the insurance coverage that we needed." '),a()(),o(334,"div",133),u(335,"img",134),o(336,"div",135)(337,"div",136),c(338,"Holly Dunn"),a(),o(339,"span",137),c(340,"South Carolina"),a()()()()(),o(341,"div",138)(342,"div",130)(343,"div",131)(344,"div",132),c(345,' "It was nice that [my agent] works with a lot of different insurance companies. And he was able to get me whatever was going to help me out the best." '),a()(),o(346,"div",133),u(347,"img",139),o(348,"div",135)(349,"div",136),c(350,"Chandler Miles"),a(),o(351,"span",137),c(352,"Utah"),a()()()()(),o(353,"div",140)(354,"div",130)(355,"div",131)(356,"div",132),c(357,'"I would give it a five star rating for being able to match me with somebody so quickly and for them to get in touch with me."'),a()(),o(358,"div",133),u(359,"img",141),o(360,"div",135)(361,"div",136),c(362,"Chris Alvarez"),a(),o(363,"span",137),c(364,"Colorado"),a()()()()()()(),o(365,"div",127)(366,"div",142)(367,"div",129)(368,"div",130)(369,"div",131)(370,"div",132),c(371,'"[My agent] listened to what I needed and he listened to the type of situation that I was in and he found the perfect insurance."'),a()(),o(372,"div",133),u(373,"img",143),o(374,"div",135)(375,"div",136),c(376,"Genuvie Mendez"),a(),o(377,"span",137),c(378,"Massachusetts"),a()()()()(),o(379,"div",138)(380,"div",130)(381,"div",131)(382,"div",132),c(383,' "Paul did a really good job of explaining how things are structured from a commercial general liability versus personal liability and was able to help make sure I had the best thing in place." '),a()(),o(384,"div",133),u(385,"img",144),o(386,"div",135)(387,"div",136),c(388,"Dillon Watkins"),a(),o(389,"span",137),c(390,"Texas"),a()()()()(),o(391,"div",140)(392,"div",130)(393,"div",131)(394,"div",132),c(395,' "It was so pleasant and so easy, the communication was right on and the information was absolutely correct every time. It was an excellent, excellent experience." '),a()(),o(396,"div",133),u(397,"img",145),o(398,"div",135)(399,"div",136),c(400,"MaryAnn Ferrauiolo"),a(),o(401,"span",137),c(402,"New Jersey"),a()()()()()()(),o(403,"div",127)(404,"div",142)(405,"div",129)(406,"div",130)(407,"div",131)(408,"div",132),c(409,' "I paid $50 less and I have a lot more coverage than I had before. [My agent] gave me all the coverage that I needed and at a cheaper price." '),a()(),o(410,"div",133),u(411,"img",146),o(412,"div",135)(413,"div",136),c(4
1014,"Antonio Sandoval"),a(),o(415,"span",137),c(416,"New Mexico"),a()()()()()()()(),o(417,"div",147)(418,"button",148),P("click",function(){return n.prevSlide()}),ne(),o(419,"svg",149),u(420,"polyline",150),a()(),Ce(),o(421,"div",151),I(422,Bd,1,4,"button",152),a(),o(423,"button",153),P("click",function(){return n.nextSlide()}),ne(),o(424,"svg",149),u(425,"polyline",154),a()()()()()(),Ce(),o(426,"section",155)(427,"div",156)(428,"h2",157),c(429," Are you an independent "),o(430,"span",81),c(431,"insurance agent"),a(),c(432," or "),o(433,"span",81),c(434,"insurance company?"),a()(),o(435,"span",158),c(436,"Reach the consumers you serve best by getting listed on InsuredBetter"),a(),o(437,"div",102)(438,"a",159),c(439,"Join Our Professional Network"),a()()()()(),u(440,"app-footer")),i&2&&(s(53),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/",k),s(4),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/acadia-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/arbella/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/bondexchange/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/cinch-home-services/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/co-operative-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/dryden-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/encova/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/florida-peninsula/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/foremost/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/frank-winston-crum-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/frederick-mutual-insurance-company/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/homeowners-of-america/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/icw-group/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/jewelers-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/king/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/kingstone-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/liberty-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/main-street-america-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/mapfre-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/memic/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/mmg/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/nationwide/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/nycm-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/ohio-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/orion180/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/peerless/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/progressive/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/reinsurepro/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/rli-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/rms-hospitality-group/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/root-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/rt-connector/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/safety-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/selective/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/slb-insurance-group/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/sterling-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/stillwater/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/andover/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/travelers/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/vermont-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/warrior-insurance-network/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/west-bend/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/westfield/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/acadia-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/arbella/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/bondexchange/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/cinch-home-services/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/co-operative-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/dryden-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/encova/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/florida-peninsula/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/foremost/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/frank-winston-crum-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/frederick-mutual-insurance-company/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/homeowners-of-america/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/icw-group/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/jewelers-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/king/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/kingstone-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/liberty-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/main-street
10-america-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/mapfre-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/memic/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/mmg/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/nationwide/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/nycm-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/ohio-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/orion180/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/peerless/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/progressive/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/reinsurepro/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/rli-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/rms-hospitality-group/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/root-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/rt-connector/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/safety-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/selective/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/slb-insurance-group/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/sterling-insurance/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/stillwater/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/andover/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/travelers/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/vermont-mutual/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/warrior-insurance-network/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/west-bend/",k),s(2),h("href",n.environment.insuredBetterDirectoryUrl+"/insurance-companies/westfield/",k),s(51),h("routerLink",Re(98,Td)),s(14),_t("background-image","url(https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/09d8eb6a-3a43-470f-bc50-1855f3a92a0b/lob-home-page-background-business-ib-com.jpg)"),s(10),h("href",n.environment.insuredBetterDirectoryUrl+"/c/?category=COMMERCIAL",k),s(4),_t("background-image","url(https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/204e7c1b-8339-417f-8fc6-4f81d3a79e85/lob-home-page-background-personal-ib-com.jpg)"),s(10),h("href",n.environment.insuredBetterDirectoryUrl+"/c/?category=PERSONAL",k),s(10),_t("transform","translateX("+-n.currentIndex*100+"%)"),s(96),h("ngForOf",n.slides),s(16),h("href",n.environment.wwwUrl+"/advantage/insurance-companies/",k))},dependencies:[je,ze,Ee,Pe,Vt,Os],styles:[".animate-loop-scroll[_ngcontent-%COMP%]{will-change:transform}.group[_ngcontent-%COMP%]:hover .animate-loop-scroll[_ngcontent-%COMP%]{animation-play-state:paused}"]})}return t})();var Us=(()=>{class t{close=new Ke;toggleModal(){this.close.emit()}onModalOverlayClick(e){e.target.id.includes("modal-overlay")&&this.toggleModal()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-how-it-works-modal"]],outputs:{close:"close"},decls:55,vars:0,consts:[["id","modal-overlay",1,"fixed","inset-0","bg-black","bg-opacity-50","flex","items-center","justify-center","transition-opacity","duration-300","z-50","min-h-screen",3,"click","keydown"],["id","modal-content-container",1,"bg-white","rounded-lg","p-8","sm:min-w-[450px]","lg:max-w-2xl","mx-4","max-h-[calc(100vh-40px)]","overflow-y-auto","transition-all","duration-300","transform"],["id","modal-header-container",1,"flex","justify-between","items-center","mb-10"],[1,"text-2xl","font-bold"],[1,"text-gray-500","hover:text-gray-700","transition-colors","duration-200",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-6","h-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18L18 6M6 6l12 12"],["id","modal-body-container",1,"text-insuredBetter-text_gray"],[1,"flex","flex-col","text-left","gap-8","list-none","relative"],[1,"pl-10","relative"],[1,"absolute","flex","items-center","justify-center","left-0","top-1/2","-translate-y-1/2","w-8","h-8","bg-insuredBetter-forest_green","rounded-full","text-white","font-bold"],["
10id","info-protected-container",1,"flex","flex-row","gap-3","mt-10"],["src","assets/lock-thin.svg","height","16","width","16","alt","lock-icon"],["id","call-us-container",1,"flex","flex-row","gap-3","pt-2"],["src","assets/phone-thin.svg","height","16","width","16","alt","phone-icon"],["href","tel:+18443850106",1,"underline","hover:no-underline"]],template:function(i,n){i&1&&(o(0,"div",0),P("click",function(d){return n.onModalOverlayClick(d)})("keydown",function(d){return n.onModalOverlayClick(d)}),o(1,"div",1)(2,"div",2)(3,"h2",3),c(4,"How It Works"),a(),o(5,"button",4),P("click",function(){return n.toggleModal()}),ne(),o(6,"svg",5),u(7,"path",6),a()()(),Ce(),o(8,"div",7)(9,"ol",8)(10,"li",9)(11,"span",10),c(12," 1 "),a(),o(13,"strong"),c(14,"Answer a few questions"),a(),c(15," about yourself and your insurance objectives. "),a(),o(16,"li",9)(17,"span",10),c(18," 2 "),a(),o(19,"strong"),c(20,"We match you"),a(),c(21," with a local independent insurance agent who can best help you with your needs. "),a(),o(22,"li",9)(23,"span",10),c(24," 3 "),a(),o(25,"strong"),c(26,"Your agent is promptly notified"),a(),c(27," of your insurance requirements and will reach out to you. "),a(),o(28,"li",9)(29,"span",10),c(30," 4 "),a(),o(31,"strong"),c(32,"Your agent acts on your behalf"),a(),c(33," by thoroughly evaluating multiple insurance providers to secure the best coverage and rates tailored to you. "),a(),o(34,"li",9)(35,"span",10),c(36," 5 "),a(),o(37,"strong"),c(38,"Review your quote"),a(),c(39," provided by your agent. Once you're satisfied, proceed to get insured. "),a()(),o(40,"div",11),u(41,"img",12),o(42,"p")(43,"strong"),c(44,"Your information is protected"),a(),c(45," - no spam, no unsolicited calls."),a()(),o(46,"div",13),u(47,"img",14),o(48,"p")(49,"strong"),c(50,"Call us any time"),a(),c(51," if you have questions or need assistance - "),o(52,"a",15),c(53,"(844) 385-0106"),a(),c(54,"."),a()()()()())},encapsulation:2})}return t})();var Ld=t=>({width:t});function Fd(t,r){if(t&1&&(o(0,"div",8)(1,"div",9),u(2,"div",10),a()(),o(3,"p",11),c(4," You're just a few seconds away from finding an agent (it's true, we timed it!) "),a()),t&2){let e=f();s(2),h("ngStyle",ue(2,Ld,e.progress*100+"%")),ve("aria-valuenow",e.progress*100)}}var js=(()=>{class t{progress=0;close=new Ke;confirm=new Ke;onModalOverlayClick(e){e.target.id.includes("modal-overlay")&&this.close.emit()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-exit-funnel-modal"]],inputs:{progress:"progress"},outputs:{close:"close",confirm:"confirm"},decls:14,vars:1,consts:[["id","modal-overlay",1,"fixed","inset-0","bg-black","bg-opacity-50","flex","items-center","justify-center","transition-opacity","duration-300","z-50","min-h-screen",3,"click","keydown"],["id","modal-content-container",1,"bg-white","rounded-lg","p-8","sm:p-10","w-full","sm:max-w-lg","mx-4","text-center"],[1,"text-2xl","font-bold","mb-2"],[1,"text-insuredBetter-text_gray","mb-1"],[1,"text-insuredBetter-text_gray","mb-8"],[1,"flex","flex-col","lg:flex-row","justify-center","items-center","gap-4"],[1,"font-semibold","text-insuredBetter-text_gray","hover:underline",3,"click"],[1,"px-8","py-2.5","bg-insuredBetter-forest_green","text-white","rounded-lg","font-light","hover:opacity-90","transition-opacity","duration-200",3,"click"],[1,"mb-2"],[1,"w-full","bg-gray-200","rounded-full","h-2.5"],["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"bg-insuredBetter-forest_green","h-2.5","rounded-full","transition-all","duration-300",3,"ngStyle"],[1,"text-sm","text-insuredBetter-text_gray","mt-2","mb-6"]],template:function(i,n){i&1&&(o(0,"div",0),P("click",function(d){return n.onModalOverlayClick(d)})("keydown",function(d){return n.onModalOverlayClick(d)}),o(1,"div",1),I(2,Fd,5,4),o(3,"h1",2),c(4,"Wait, We Really Want to Help!"),a(),o(5,"p",3),c(6,"Finding an agent is fast, free, and there's no commitment."),a(),o(7,"p",4),c(8,"Can we continue helping you?"),a(),o(9,"div",5)(10,"button",6),P("click",function(){return n.confirm.emit()}),c(11," No Thanks, I'm Done "),a(),o(12,"button",7),P("click",function(){return n.close.emit()}),c(13," Yes, Continue Search "),a()()()()),i&2&&(s(2),b(n.progress>0?2:-1))},dependencies:[ha],encapsulation:2})}return t})();var Ie=function(t){return t.AGENCY_ID="a",t.COMPANY_ID="c",t.BUSINESS_LINES="businessLines",t.CATEGORY="category",t.NAICS="naics",t.REFERRAL_URL="referralUrl",t.ZIP="zip",t.TITLE="title",t.TRAFFIC_SOURCE="tc",t}(Ie||{});var oi=function(t){return t.FUNNEL_ENTRY="funnel_entry",t.FUNNEL_COMPLETION="funnel_completion",t.FUNNEL_CATEGORY_SPECIFIED="funnel_category_specified",t}(oi||{});var Er=n0(Kl());var Sr=function(t){return t.CLIENT_SESSION_TOKEN="client_session_token",t}(Sr||{});var Jl=(()=>{class t{platformId;constructor(e){this.platformId=e}setItem(e,i){oe(this.platformId)&&localStorage.setItem(e,JSON.stringify(i))}getItem(e){if(oe(this.platformId)){let i=localStorage.getItem(e);return i?JSON.parse(i):null}return null}removeItem(e){oe(this.platformId)&&localStorage.removeItem(e)}clear(){oe(this.platformId)&&localStorage.clear()}static \u0275fac=function(i){return new(i||t)(ee(de))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ql=(()=>{class t{localStorageService;funnelStateService;MINUTES_TO_EXPIRE=7200;constructor(e,i){this.localStorageService=e,this.funnelStateService=i}setClientSessionTokenInfo(){let e=this.localStorageService.getItem(Sr.CLIENT_SESSION_TOKEN);if(e){this.funnelStateService.clientSessionToken.set(e);let i=this.decryptClientSessionToken(e);if(i){if(this.funnelStateService.sessionId.set(i.sessionId),this.isTokenExpired(i)){let n=this.generateNewClientSessionToken();this.funnelStateService.sessionId.set(n.sessionId),this.setClientSessionToken(n)}}else{let n=this.generateNewClientSessionToken();this.funnelStateService.sessionId.set(n.sessionId),this.setClientSessionToken(n)}}else{let i=this.generateNewClientSessionToken();this.funnelStateService.sessionId.set(i.sessionId),this.setClientSessionToken(i)}}generateNewClientSessionToken(){return{sessionId:Da(),expiresAt:new Date(Date.now()+this.MINUTES_TO_EXPIRE*6e4).toString()}}setClientSessionToken(e){let i=this.encryptClientSessionToken(e);this.localStorageService.setItem(Sr.CLIENT_SESSION_TOKEN,i),this.funnelStateService.clientSessionToken.set(i)}encryptClientSessionToken(e){let i=JSON.stringify(e);
10return Er.default.AES.encrypt(i,J.clientSessionTokenCryptoKey).toString()}decryptClientSessionToken(e){try{let i=Er.default.AES.decrypt(e,J.clientSessionTokenCryptoKey).toString(Er.default.enc.Utf8);return JSON.parse(i)}catch(i){return console.error("Error decrypting token:",i),null}}isTokenExpired(e){return new Date>new Date(e.expiresAt)}static \u0275fac=function(i){return new(i||t)(ee(Jl),ee(He))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Bi=(()=>{class t{fulcrumService;platformId;ngZone;flags={};constructor(e,i,n){this.fulcrumService=e,this.platformId=i,this.ngZone=n}loadFlags(){return oe(this.platformId)?new Promise(e=>{this.ngZone.runOutsideAngular(()=>{qo(this.fulcrumService.getAllFeatureFlags()).then(i=>{i&&(this.flags=i.reduce((n,l)=>(n[l.name]=l.enabled,n),{}))}).finally(()=>e())})}):Promise.resolve()}isActive(e){return this.flags[e]??!1}static \u0275fac=function(i){return new(i||t)(ee(tt),ee(de),ee(Tt))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ec=()=>["/"],tn=(t,r)=>({"text-insuredBetter-forest_green":t,"text-insuredBetter-dark_forest":r}),Pd=(t,r)=>({"bg-insuredBetter-lime":t,"bg-insuredBetter-forest_green":r}),Ir=(t,r,e)=>({"bg-insuredBetter-lime":t,"bg-gray-300":r,"bg-insuredBetter-forest_green":e});function zd(t,r){if(t&1&&(o(0,"div",2),u(1,"img",56),a()),t&2){let e=f();s(),h("src",e.funnelStateService.agencyContext().logoUrl,k)("alt",e.funnelStateService.agencyContext().name+" logo")}}function Od(t,r){if(t&1&&u(0,"img",56),t&2){let e=f(2);h("src",e.funnelStateService.companyContext().logoUrl,k)("alt",e.funnelStateService.companyContext().name+" logo")}}function Nd(t,r){if(t&1&&(o(0,"div",2),I(1,Od,1,2,"img",56),a()),t&2){let e=f();s(),b(e.funnelStateService.companyContext().logoUrl?1:-1)}}function Rd(t,r){t&1&&(o(0,"div",3),u(1,"img",57),a())}function Ud(t,r){t&1&&(o(0,"div",4)(1,"a",58),u(2,"img",57),a()()),t&2&&(s(),h("routerLink",Re(1,ec)))}function jd(t,r){t&1&&u(0,"img",6)}function Vd(t,r){t&1&&u(0,"img",7)}function Hd(t,r){if(t&1&&(o(0,"h1"),c(1),a()),t&2){let e=f(2);s(),M(e.insuranceType())}}function Gd(t,r){if(t&1&&(o(0,"h1"),c(1),a()),t&2){let e=f(2);s(),Z("",e.funnelStateService.companyContext().displayName," is looking forward to connecting with you.")}}function qd(t,r){if(t&1&&(o(0,"h1"),c(1),a()),t&2){let e=f(2);s(),Z(" ",e.funnelStateService.agencyContext().name," is looking forward to connecting with you. ")}}function Wd(t,r){t&1&&(o(0,"h1",59),c(1,"Time to find the right insurance company for you."),a())}function Zd(t,r){t&1&&(o(0,"h1",59),c(1,"Get Insured With an Independent Agent"),a())}function $d(t,r){if(t&1&&(o(0,"h2",60),c(1),a()),t&2){let e=f(2);s(),M(e.funnelStateService.title())}}function Yd(t,r){t&1&&(o(0,"p"),c(1,"Your home. Your car. Your family. Protecting what you love should always be your first priority."),a())}function Kd(t,r){t&1&&(o(0,"p"),c(1,"Having the right insurance is the key to your business\u2019 success."),a())}function Jd(t,r){t&1&&(o(0,"p"),c(1," With a trusted expert in your corner, finding the perfect combo of coverage and cost is a breeze."),a())}function Qd(t,r){if(t&1&&(o(0,"p"),c(1),a()),t&2){let e=f(2);s(),Z("Your home. Your car. Your family. Protecting what you love should always be your first priority. Let\u2019s find the right ",e.funnelStateService.companyContext().displayName," agent for you.")}}function Xd(t,r){if(t&1&&(o(0,"p"),c(1),a()),t&2){let e=f(2);s(),Z("Having the right insurance is the key to your business\u2019 success. Let\u2019s find the right ",e.funnelStateService.companyContext().displayName," agent for you.")}}function em(t,r){t&1&&(o(0,"p"),c(1,"With a trusted expert in your corner, finding the perfect combo of coverage and cost is a breeze."),a())}function tm(t,r){t&1&&(o(0,"p"),c(1,"Your home. Your car. Your family. Protecting what you love should always be your first priority. Let's find the right company for you."),a())}function im(t,r){t&1&&(o(0,"p"),c(1,"Having the right insurance is the key to your business' success. Let's find the right insurance company for you."),a())}function nm(t,r){t&1&&(o(0,"p"),c(1,"With a trusted expert in your corner, finding the perfect combo of coverage and cost is a breeze."),a())}function rm(t,r){if(t&1){let e=ie();o(0,"p"),c(1,"Start here to connect with an independent agent to help you find the right insurance coverage for you."),a(),o(2,"a",61),P("click",function(){N(e);let n=f(2);return R(n.showModal=!0)}),c(3," How does it work? "),a()}}function om(t,r){if(t&1){let e=ie();o(0,"app-how-it-works-modal",62),P("close",function(){N(e);let n=f(2);return R(n.showModal=!1)}),a()}}function am(t,r){if(t&1&&I(0,Hd,2,1,"h1")(1,Gd,2,1,"h1")(2,qd,2,1,"h1")(3,Wd,2,0,"h1",59)(4,Zd,2,0,"h1",59)(5,$d,2,1,"h2",60)(6,Yd,2,0,"p")(7,Kd,2,0,"p")(8,Jd,2,0,"p")(9,Qd,2,1,"p")(10,Xd,2,1,"p")(11,em,2,0,"p")(12,tm,2,0,"p")(13,im,2,0,"p")(14,nm,2,0,"p")(15,rm,4,0)(16,om,1,0,"app-how-it-works-modal"),t&2){let e=f();b(e.insuranceType()?0:e.funnelStateService.companyContext()&&!e.funnelStateService.agencyContext()?1:e.funnelStateService.agencyContext()?2:e.funnelStateService.companySearchFunnelMode()?3:4),s(5),b(e.funnelStateService.title()?5:-1),s(),b(e.insuranceType()==="Personal Insurance"&&e.funnelStateService.agencyContext()?6:e.insuranceType()==="Business Insurance"&&e.funnelStateService.agencyContext()?7:e.insuranceType()===""&&e.funnelStateService.agencyContext()?8:e.insuranceType()==="Personal Insurance"&&e.funnelStateService.companyContext()&&!e.funnelStateService.agencyContext()?9:e.insuranceType()==="Business Insurance"&&e.funnelStateService.companyContext()&&!e.funnelStateService.agencyContext()?10:e.insuranceType()===""&&e.funnelStateService.companyContext()&&!e.funnelStateService.agencyContext()?11:e.insuranceType()==="Personal Insurance"&&e.funnelStateService.companySearchFunnelMode()?12:e.insuranceType()==="Business Insurance"&&e.funnelStateService.companySearchFunnelMode()?13:e.insuranceType()===""&&e.funnelStateService.companySearchFunnelMode()?14:15),s(10),b(e.showModal?16:-1)}}
10function sm(t,r){t&1&&(o(0,"div",21),u(1,"img",57),a())}function lm(t,r){t&1&&(o(0,"div",21)(1,"a",58),u(2,"img",57),a()()),t&2&&(s(),h("routerLink",Re(1,ec)))}function cm(t,r){if(t&1){let e=ie();o(0,"li",64),u(1,"div",65),o(2,"button",66),P("click",function(){N(e);let n=f(2);return R(n.navigateToComponent(n.FunnelState.GET_A_QUICK_QUOTE))}),c(3,"Quick Quote "),a()()}if(t&2){let e=f(2);h("ngClass",De(3,tn,e.funnelStateService.funnelState()===e.FunnelState.GET_A_QUICK_QUOTE,e.funnelStateService.funnelState()!==e.FunnelState.GET_A_QUICK_QUOTE)),s(),h("ngClass",Ft(6,Ir,e.funnelStateService.funnelState()===e.FunnelState.GET_A_QUICK_QUOTE,e.funnelStateService.funnelState()!==e.FunnelState.GET_A_QUICK_QUOTE&&!e.hasStageBeenVisited(e.FunnelState.GET_A_QUICK_QUOTE),e.funnelStateService.funnelState()!==e.FunnelState.GET_A_QUICK_QUOTE&&e.hasStageBeenVisited(e.FunnelState.GET_A_QUICK_QUOTE))),s(),h("disabled",!e.hasStageBeenVisited(e.FunnelState.GET_A_QUICK_QUOTE))}}function dm(t,r){if(t&1){let e=ie();o(0,"div",33)(1,"ul",63)(2,"li",64),u(3,"div",65),o(4,"button",66),P("click",function(){N(e);let n=f();return R(n.navigateToComponent(n.FunnelState.START))}),c(5,"Insurance Type "),a()(),o(6,"li",64),u(7,"div",65),o(8,"button",66),P("click",function(){N(e);let n=f();return R(n.navigateToComponent(n.FunnelState.COVERAGES))}),c(9,"Coverage Options "),a()(),o(10,"li",64),u(11,"div",65),o(12,"button",66),P("click",function(){N(e);let n=f();return R(n.navigateToComponent(n.FunnelState.DETAILS))}),c(13,"Insurance Details "),a()(),o(14,"li",64),u(15,"div",65),o(16,"button",66),P("click",function(){N(e);let n=f();return R(n.navigateToComponent(n.FunnelState.FINISH))}),c(17,"Contact Info "),a()(),I(18,cm,4,10,"li",64),a()()}if(t&2){let e=f();s(2),h("ngClass",De(13,tn,e.funnelStateService.funnelState()===e.FunnelState.START,e.funnelStateService.funnelState()!==e.FunnelState.START)),s(),h("ngClass",De(16,Pd,e.funnelStateService.funnelState()===e.FunnelState.START,e.funnelStateService.funnelState()!==e.FunnelState.START)),s(),h("disabled",!e.hasStageBeenVisited(e.FunnelState.START)),s(2),h("ngClass",De(19,tn,e.funnelStateService.funnelState()===e.FunnelState.COVERAGES,e.funnelStateService.funnelState()!==e.FunnelState.COVERAGES)),s(),h("ngClass",Ft(22,Ir,e.funnelStateService.funnelState()===e.FunnelState.COVERAGES,e.funnelStateService.funnelState()!==e.FunnelState.COVERAGES&&!e.hasStageBeenVisited(e.FunnelState.COVERAGES),e.funnelStateService.funnelState()!==e.FunnelState.COVERAGES&&e.hasStageBeenVisited(e.FunnelState.COVERAGES))),s(),h("disabled",!e.hasStageBeenVisited(e.FunnelState.COVERAGES)),s(2),h("ngClass",De(26,tn,e.funnelStateService.funnelState()===e.FunnelState.DETAILS,e.funnelStateService.funnelState()!==e.FunnelState.DETAILS)),s(),h("ngClass",Ft(29,Ir,e.funnelStateService.funnelState()===e.FunnelState.DETAILS,e.funnelStateService.funnelState()!==e.FunnelState.DETAILS&&!e.hasStageBeenVisited(e.FunnelState.DETAILS),e.funnelStateService.funnelState()!==e.FunnelState.DETAILS&&e.hasStageBeenVisited(e.FunnelState.DETAILS))),s(),h("disabled",!e.hasStageBeenVisited(e.FunnelState.DETAILS)),s(2),h("ngClass",De(33,tn,e.funnelStateService.funnelState()===e.FunnelState.FINISH,e.funnelStateService.funnelState()!==e.FunnelState.FINISH)),s(),h("ngClass",Ft(36,Ir,e.funnelStateService.funnelState()===e.FunnelState.FINISH,e.funnelStateService.funnelState()!==e.FunnelState.FINISH&&!e.hasStageBeenVisited(e.FunnelState.FINISH),e.funnelStateService.funnelState()!==e.FunnelState.FINISH&&e.hasStageBeenVisited(e.FunnelState.FINISH))),s(),h("disabled",!e.hasStageBeenVisited(e.FunnelState.FINISH)),s(2),b(e.funnelStateService.insuranceType()===e.InsuranceTypeEnum.PERSONAL&&e.funnelStateService.funnelState()!==e.FunnelState.START&&e.canopyConnectActive&&!e.insuredBetterCcrFlowActive?18:-1)}}function mm(t,r){if(t&1){let e=ie();o(0,"app-exit-funnel-modal",67),P("close",function(){N(e);let n=f();return R(n.showExitModal=!1)})("confirm",function(){N(e);let n=f();return n.showExitModal=!1,R(n.navigateToPreviousContentPage())}),a()}if(t&2){let e=f();h("progress",e.funnelProgress())}}function um(t,r){if(t&1){let e=ie();o(0,"app-how-it-works-modal",62),P("close",function(){N(e);
10let n=f();return R(n.showModal=!1)}),a()}}var lo=(()=>{class t{funnelStateService;funnelNavigationService;fulcrumService;router;route;contentStateService;metadataService;clientSessionTokenService;featureFlagService;InsuranceTypeEnum=re;FunnelState=ge;showModal=!1;showExitModal=!1;funnelProgress=Je(()=>({[ge.COVERAGES]:.25,[ge.DETAILS]:.5,[ge.FINISH]:.75})[this.funnelStateService.funnelState()]??0);canopyConnectActive;insuredBetterCcrFlowActive;constructor(e,i,n,l,d,m,p,_,g){this.funnelStateService=e,this.funnelNavigationService=i,this.fulcrumService=n,this.router=l,this.route=d,this.contentStateService=m,this.metadataService=p,this.clientSessionTokenService=_,this.featureFlagService=g,this.canopyConnectActive=this.featureFlagService.isActive("canopy-connect-active"),this.insuredBetterCcrFlowActive=this.featureFlagService.isActive("insured-better-ccr-flow")}ngOnInit(){it.load(),this.setMetadata(),this.determineFunnelStateByUrlParameters();let e=this.route.snapshot.queryParamMap.get(Ie.AGENCY_ID),i=this.route.snapshot.queryParamMap.get(Ie.TRAFFIC_SOURCE);if(e){let l=this.route.snapshot.queryParamMap.get(Ie.REFERRAL_URL);this.fulcrumService.getAgencyProfileById(e).pipe(mn()).subscribe(d=>{d&&this.funnelStateService.agencyContext.set({agencyProfileId:e,trafficSource:i,id:d.agencyId.toString(),name:d.name,urlSlug:d.urlSlug??"",logoUrl:`${J.fulcrumUrl}/api/v1/agency/${d.agencyId}/image`,referralUrl:l,personalRegionCodes:d.personalRegionCodes??[],commercialRegionCodes:d.commercialRegionCodes??[],lifeRegionCodes:d.lifeRegionCodes??[],personalBusinessLines:d.personalBusinessLines??[],personalCompanyAppointmentIds:d.personalCompanyAppointmentIds??[],personalPremiumMin:d.personalPremiumMin??null,personalPremiumMax:d.personalPremiumMax??null,commercialBusinessLines:d.commercialBusinessLines??[],commercialCompanyAppointmentIds:d.commercialCompanyAppointmentIds??[],commercialPremiumMin:d.commercialPremiumMin??null,commercialPremiumMax:d.commercialPremiumMax??null,commercialYearsInBusinessMin:d.commercialYearsInBusinessMin??null,commercialYearsInBusinessMax:d.commercialYearsInBusinessMax??null,commercialNumberOfEmployeesMin:d.commercialNumberOfEmployeesMin??null,commercialNumberOfEmployeesMax:d.commercialNumberOfEmployeesMax??null,commercialExcludedNaicsCodes:d.commercialExcludedNaicsCodes??[],lifeBusinessLines:d.lifeBusinessLines??[],lifeCompanyAppointmentIds:d.lifeCompanyAppointmentIds??[]})})}let n=this.route.snapshot.queryParamMap.get(Ie.COMPANY_ID);n&&this.fulcrumService.getCompanyProfileById(n).pipe(mn()).subscribe(l=>{l&&this.funnelStateService.companyContext.set({companyId:n,name:l.name,displayName:l.displayName,logoUrl:l.logoUrl,appetite:l.appetite})}),this.fulcrumService.getGeoLocation().subscribe(l=>{l!=null&&this.funnelStateService.geoLocation.set(l)}),this.clientSessionTokenService.setClientSessionTokenInfo(),window?.dataLayer?.push({event:oi.FUNNEL_ENTRY,funnel_category:this.funnelStateService.insuranceType()?.toString()}),this.navigateToFunnelStepPerUrlParameters(),this.router.url.startsWith("/find-an-insurance-company")&&this.funnelStateService.companySearchFunnelMode.set(!0)}ngOnDestroy(){this.funnelStateService.companySearchFunnelMode.set(!1)}onFocusIn(e){let i=e.target;if(!i)return;let n=document.querySelector(".sticky.bottom-0");if(!n||n.contains(i))return;let l=i.getBoundingClientRect(),d=n.getBoundingClientRect();l.bottom>d.top-8&&window.scrollBy({top:l.bottom-d.top+16,behavior:"smooth"})}setMetadata(){let e={metadataMetaDescription:"The nation's largest network of independent insurance agents. Tell us what you want, we find the best insurance agent to contact you.",metadataMetaTitle:"Find an Insurance Agent",metadataOgDescription:"The nation's largest network of independent insurance agents. Tell us what you want, we find the best insurance agent to contact you.",metadataOgTitle:"Find an Insurance Agent",metadataPageTitle:"Find an Insurance Agent",metadataOgImage:{url:"https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/5d71baa6-adc8-4f75-95bd-f201ad4e38e9/ib-homepage-og.webp"}};this.metadataService.updateMetadata(e,`${J.canonicalUrl}/find-an-agent/`)}
10determineFunnelStateByUrlParameters(){let e=this.route.snapshot.queryParamMap;e.keys.length===0?this.funnelStateService.funnelState.set(ge.START):e.keys.length===1&&e.has(Ie.CATEGORY)?(this.setInsuranceTypeFunnelState(e),this.funnelStateService.funnelState.set(ge.COVERAGES)):(e.has(Ie.CATEGORY)&&this.setInsuranceTypeFunnelState(e),e.has(Ie.BUSINESS_LINES)&&this.setBusinessLines(e),e.has(Ie.ZIP)&&this.setZip(e),(e.has(Ie.NAICS)||e.has(Ie.TITLE))&&this.setNaics(e)),e.has(Ie.TITLE)&&this.setTitle(e)}navigateToFunnelStepPerUrlParameters(){this.funnelStateService.insuranceType()?(this.funnelStateService.funnelState.set(ge.COVERAGES),window?.dataLayer?.push({event:oi.FUNNEL_CATEGORY_SPECIFIED,funnel_category:this.funnelStateService.insuranceType()?.toString()}),this.funnelNavigationService.navigateToRouterOutletComponent(se.COVERAGES)):this.funnelNavigationService.navigateToRouterOutletComponent(se.START)}setInsuranceTypeFunnelState(e){e.get(Ie.CATEGORY)?.toUpperCase()==re.PERSONAL?this.funnelStateService.insuranceType.set(re.PERSONAL):e.get(Ie.CATEGORY)?.toUpperCase()==re.COMMERCIAL?this.funnelStateService.insuranceType.set(re.COMMERCIAL):e.get(Ie.CATEGORY)?.toUpperCase()==re.LIFE_ANNUITIES&&this.funnelStateService.insuranceType.set(re.LIFE_ANNUITIES)}setBusinessLines(e){let i=e.get(Ie.BUSINESS_LINES);i&&this.funnelStateService.businessLines.set(new Set(i.split(",").map(n=>n.trim().toUpperCase()).filter(n=>n in Gr).map(n=>Pa(Gr[n])).slice(0,5)))}setZip(e){let i=e.get(Ie.ZIP);i&&(this.funnelStateService.insuranceType()===re.COMMERCIAL&&this.isValidFiveDigitZipcode(i)&&this.funnelStateService.businessZip.set(i),(this.funnelStateService.insuranceType()===re.PERSONAL||this.funnelStateService.insuranceType()===re.LIFE_ANNUITIES)&&this.isValidFiveDigitZipcode(i)&&this.funnelStateService.personalZip.set(i))}isValidFiveDigitZipcode(e){return/^\d{5}$/.test(e)}setTitle(e){let i=e.get(Ie.TITLE);i?.trim()&&this.funnelStateService.title.set(i.trim())}setNaics(e){if(this.funnelStateService.insuranceType()===re.COMMERCIAL){let i=e.get(Ie.NAICS);if(i){let l=e.get(Ie.TITLE)?.trim();if(l){this.funnelStateService.enhancedIndustrySuggestion.set({code:i,description:l,label:i+" - "+l});return}let d=[];this.fulcrumService.getIndustrySuggestions(i).subscribe({next:m=>{d=m.map(p=>({code:p.code,description:p.description,label:p.code+" - "+p.description}))},error:m=>{console.log("Error retrieving NAICS code Industry Suggestions: "+m)},complete:()=>{d.length>0&&this.funnelStateService.enhancedIndustrySuggestion.set(d[0])}});return}let n=e.get(Ie.TITLE);n?.trim()&&this.searchIndustryByTitle(n.trim())}}searchIndustryByTitle(e){let n=[];for(let l=3;l<=e.length;l++)n.push(e.substring(0,l));n.length!==0&&Go(n).pipe(Zo(l=>this.fulcrumService.getIndustrySuggestions(l)),mn(l=>l.length>0),Ye(()=>Te([]))).subscribe(l=>{l.length>0&&this.funnelStateService.enhancedIndustrySuggestion.set({code:l[0].code,description:l[0].description,label:l[0].code+" - "+l[0].description})})}navigateToComponent(e){e===ge.START?(this.funnelStateService.funnelState.set(ge.START),this.funnelNavigationService.navigateToRouterOutletComponent(se.START)):e===ge.COVERAGES?(this.funnelStateService.funnelState.set(ge.COVERAGES),this.funnelNavigationService.navigateToRouterOutletComponent(se.COVERAGES)):e===ge.DETAILS?(this.funnelStateService.funnelState.set(ge.DETAILS),this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS)):e===ge.GET_A_QUICK_QUOTE?(this.funnelStateService.funnelState.set(ge.GET_A_QUICK_QUOTE),this.funnelNavigationService.navigateToRouterOutletComponent(se.GET_A_QUICK_QUOTE)):e===ge.FINISH&&(this.funnelStateService.funnelState.set(ge.FINISH),this.funnelNavigationService.navigateToRouterOutletComponent(se.FINISH))}hasStageBeenVisited(e){return e===ge.START?this.funnelStateService.insuranceType()!=null:e===ge.COVERAGES?this.funnelStateService.businessLines().size>0:e===ge.DETAILS?this.funnelStateService.areBusinessDetailsPresent()||this.funnelStateService.arePersonalDetailsPresent():e===ge.FINISH?this.funnelStateService.isConsumerDetailsPresent():e===ge.GET_A_QUICK_QUOTE?this.funnelStateService.quickQuoteFunnelStepIsVisited:!1}
10insuranceType(){if(this.funnelStateService.funnelState()!==ge.START){if(this.funnelStateService.insuranceType()===re.COMMERCIAL)return"Business Insurance";if(this.funnelStateService.insuranceType()===re.PERSONAL)return"Personal Insurance"}return""}navigateToPreviousContentPage(){this.funnelStateService.businessLines.set(new Set),this.router.navigateByUrl(this.contentStateService.currentContentUrl()).finally()}currentYear(){return new Date().getFullYear()}openIubendaPrivacyPolicy(e){e?.preventDefault(),e?.stopPropagation();let i=window?._iub;i?.cs?.ui?.openPreferences?i.cs.ui.openPreferences():console.warn("Iubenda not initialized yet.")}static \u0275fac=function(i){return new(i||t)(A(He),A(ot),A(tt),A(le),A(et),A(ye),A(ri),A(Ql),A(Bi))};static \u0275cmp=$({type:t,selectors:[["app-funnel-start"]],hostBindings:function(i,n){i&1&&P("focusin",function(d){return n.onFocusIn(d)})},decls:85,vars:10,consts:[["id","funnel-container",1,"flex","flex-col","xl:flex-row","xl:justify-center","min-h-screen","bg-white","xl:bg-transparent"],["id","funnel-left-panel",1,"hidden","xl:flex","flex-col","w-1/2","text-center","items-center","bg-insuredBetter-backdrop_white"],["id","logo",1,"mt-40","mb-10","flex","flex-col","items-center"],["id","logo",1,"mt-40","mb-10"],["id","logo",1,"mt-96","mb-10"],["id","content",1,"flex","flex-col","gap-y-4","items-center","justify-center","max-w-screen-md","mb-10"],["src","assets/business-green.svg","height","150","width","113","alt","building-icon",1,"h-12","w-12","mb-3","mt-16"],["src","assets/house-green-thin.svg","height","150","width","113","alt","building-icon",1,"h-12","w-12","mb-4","mt-16"],[1,"mt-auto"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9bf2abbd-460f-4944-932b-1217f1d7bffa/article-hero-background.svg","width","1743px","height","711px","alt",""],[1,"w-full","bg-insuredBetter-dark_forest","mx-auto","px-4","py-4","text-sm","text-center"],[1,"text-white","font-light","text-center","mb-3"],[1,"flex","space-x-4","sm:space-x-6","justify-center","flex-wrap","text-center"],[1,"mt-4","lg:mt-0","font-light","text-white","cursor-pointer","underline","hover:no-underline",3,"click"],[1,"iubenda-cs-uspr-link","iubenda-cs-preferences-link","hidden","iubenda-cs-preferences-link"],["href","https://www.iubenda.com/privacy-policy/75803826/full-legal#notice_at_collection","target","_blank",1,"mt-4","lg:mt-0","font-light","text-white","underline","hover:no-underline"],["href","https://www.iubenda.com/privacy-policy/75803826/full-legal","target","_blank",1,"mt-4","lg:mt-0","font-light","text-white","underline","hover:no-underline"],["href","https://www.iubenda.com/privacy-policy/75803826/cookie-policy","target","_blank",1,"mt-4","lg:mt-0","font-light","text-white","underline","hover:no-underline"],["href","https://www.iubenda.com/terms-and-conditions/75803826#","target","_blank",1,"mt-4","lg:mt-0","font-light","text-white","underline","hover:no-underline"],["id","funnel-right-panel",1,"flex","flex-col","xl:flex-row","justify-center","xl:w-1/2","px-5","lg:px-24","bg-white","relative"],[1,"flex","flex-col","mx-auto","max-w-screen-lg"],["id","logo-mobile",1,"mb-16","mt-8","sm:mt-16","xl:hidden"],["id","navigation-and-exit-container",1,"flex","flex-row","xl:mt-8","max-w-screen-md"],["id","navigation",1,"hidden","sm:flex","flex-col","gap-y-5","w-full","mb-10"],["id","contact-nav",1,"xl:flex","flex-row","flex-wrap","text-sm","mb-6","hidden"],[1,"text-insuredBetter-text_gray","mr-8"],[1,"flex"],[1,"text-nowrap","mr-8"],["href","tel:+18443850106",1,"text-insuredBetter-forest_green","underline","hover:no-underline"],["src","assets/phone-green-lt.svg","height","16","width","16","alt","phone-icon",1,"inline-block","mr-2"],[1,"text-nowrap"],["href","mailto:[email protected]?subject=Insurance shopper Inquiry",1,"text-insuredBetter-forest_green","underline","hover:no-underline"],["src","assets/email-green-lt.svg","height","16","width","16","alt","envelope-icon",1,"inline-block","mr-2"],["id","breadcrumb-nav",1,"container","mx-auto","mb-16"],["id","exit-funnel-button",1,"absolute","right-5","sm:right-20","lg:right-14","top-10","sm:top-20","xl:top-7","flex","items-start","ml-auto"],[3,"click"],["src","assets/x-close-icon.svg","height","24","width","24","alt","building-icon",1,"h-5","w-5","mb-3"],[3,"progress"],["id","funnel-router-outlet"],["name","funnel-router-outlet"],["id","contact-nav-mobile",1,"xl:hidden"],[1,"text-center","md:text-left","my-10","md:flex","flex-wrap","flex-row","mb-0","text-sm","bg-white","justify-center"],[1,"text-insuredBetter-text_gray","mb-2","md:mr-5"],[1,"flex","flex-col","sm:flex-row","sm:flex-nowrap","justify-center","md:justify-start"],[1,"sm:mr-8","mb-2.5"],[1,"mb-5"],[1,"mb-10","text-center"],[1,"underline","text-insuredBetter-forest_green","cursor-pointer","text-sm",3,"click"],[1,"mt-auto","xl:hidden","w-full","bg-insuredBetter-dark_forest"],[1,"max-w-screen-lg","mx-auto","px-4","py-4","text-sm","text-center"],[1,"mb-4","font-light","text-white","cursor-pointer","underline","hover:no-underline",3,"click"],[1,"iubenda-cs-uspr-link","hidden","iubenda-cs-preferences-link"],["href","https://www.iubenda.com/privacy-policy/75803826/full-legal#notice_at_collection","target","_blank",1,"mb-4","font-light","text-white","underline","hover:no-underline"],["href","https://www.iubenda.com/privacy-policy/75803826/full-legal","target","_blank",1,"mb-4","font-light","text-white","underline","hover:no-underline"],["href","https://www.iubenda.com/privacy-policy/75803826/cookie-policy","target","_blank",1,"mb-4","font-light","text-white","underline","hover:no-underline"],["href","https://www.iubenda.com/terms-and-conditions/75803826#","target","_blank",1,"mb-4","font-light","text-white","underline","hover:no-underline"],[1,"max-h-[193px]","max-w-[193px]","object-contain","mb-3",3,"src","alt"],["src","assets/insuredBetter_logo.png","width","355","height","79","alt","InsuredBetter logo",1,"max-w-40","sm:max-w-[246px]"],[3,"routerLink"],[1,"!text-3xl","mt-8"],[1,"!text-xl","font-medium","text-insuredBetter-forest_green"],[1,"underline","text-insuredBetter-forest_green","cursor-pointer",3,"click"],[3,"close"],[1,"flex","flex-row","gap-x-4","justify-between","items-start"],[1,"flex","flex-col","flex-1",3,"ngClass"],[1,"h-1","w-full","mb-2",3,"ngClass"],[1,"text-sm","text-left",3,"click","disabled"],[3,"close","confirm","progress"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"section",1),I(2,zd,2,2,"div",2)(3,Nd,2,1,"div",2)(4,Rd,2,0,"div",3)(5,Ud,3,2,"div",4),o(6,"div",5),I(7,jd,1,0,"img",6)(8,Vd,1,0,"img",7)(9,am,17,4),a(),o(10,"div",8),u(11,"img",9),a(),o(12,"div",10)(13,"div",11),c(14),a(),o(15,"div",12)(16,"a",13),P("click",function(d){return n.openIubendaPrivacyPolicy(d)}),c(17," Your Privacy Choices "),a(),u(18,"span",14),o(19,"a",15),c(20," Notice at Collection "),a(),o(21,"a",16),c(22," Privacy Policy "),a(),o(23,"a",17),c(24," C
10ookie Policy "),a(),o(25,"a",18),c(26," Terms & Conditions "),a()()()(),o(27,"section",19)(28,"div",20),I(29,sm,2,0,"div",21)(30,lm,3,2,"div",21),o(31,"div",22)(32,"div",23)(33,"div",24)(34,"p",25),c(35,"Have a question or want to talk to someone now?"),a(),o(36,"div",26)(37,"div",27)(38,"a",28),u(39,"img",29),c(40,"(844) 385-0106"),a()(),o(41,"div",30)(42,"a",31),u(43,"img",32),c(44,"[email protected]"),a()()()(),I(45,dm,19,40,"div",33),a(),o(46,"div",34)(47,"button",35),P("click",function(){return n.showExitModal=!0}),u(48,"img",36),a()(),I(49,mm,1,1,"app-exit-funnel-modal",37),a(),o(50,"div",38),u(51,"router-outlet",39),a(),o(52,"div",40)(53,"div",41)(54,"p",42),c(55,"Have a question or want to talk to someone now?"),a(),o(56,"div",43)(57,"div",44)(58,"a",28),u(59,"img",29),c(60,"(844) 385-0106 "),a()(),o(61,"div",45)(62,"a",31),u(63,"img",32),c(64,"[email protected]"),a()()()(),o(65,"div",46)(66,"a",47),P("click",function(){return n.showModal=!0}),c(67," How does it work? "),a(),I(68,um,1,0,"app-how-it-works-modal"),a()()()(),o(69,"section",48)(70,"div",49)(71,"div",11),c(72),a(),o(73,"div",12)(74,"a",50),P("click",function(d){return n.openIubendaPrivacyPolicy(d)}),c(75," Your Privacy Choices "),a(),u(76,"span",51),o(77,"a",52),c(78," Notice at Collection "),a(),o(79,"a",53),c(80," Privacy Policy "),a(),o(81,"a",54),c(82," Cookie Policy "),a(),o(83,"a",55),c(84," Terms & Conditions "),a()()()()()),i&2&&(s(2),b(n.funnelStateService.agencyContext()?2:n.funnelStateService.companyContext()?3:n.funnelStateService.funnelState()!==n.FunnelState.THANK_YOU?4:5),s(5),b(n.funnelStateService.funnelState()!==n.FunnelState.START&&n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.COMMERCIAL?7:-1),s(),b(n.funnelStateService.funnelState()!==n.FunnelState.START&&n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.PERSONAL?8:-1),s(),b(n.funnelStateService.funnelState()!==n.FunnelState.THANK_YOU?9:-1),s(5),Z("\xA9",n.currentYear()," Momentum Edge (a Momentum AMP company). All rights reserved. "),s(15),b(n.funnelStateService.funnelState()!==n.FunnelState.THANK_YOU?29:30),s(16),b(n.funnelStateService.funnelState()!==n.FunnelState.THANK_YOU?45:-1),s(4),b(n.showExitModal?49:-1),s(19),b(n.showModal?68:-1),s(4),Z("\xA9",n.currentYear()," Momentum Edge (a Momentum AMP company). All rights reserved. "))},dependencies:[yn,ke,Us,js,je],styles:["#content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-family:Poppins,sans-serif}#content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;line-height:1}#content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:500}#content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{letter-spacing:-2px}#content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{max-width:32rem}#content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}#content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}#content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}#content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}#content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration-line:underline}#content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration-line:none}"]})}return t})();var tc=(()=>{class t{http;constructor(e){this.http=e}submitFactFunnelStepView(e){return this.http.post(`${J.analyticsApiUrl}/api/v1/funnel-step-view-fact`,e,{headers:this.composeHeaders()}).pipe(Ye(i=>(console.log(i),Te(null))))}composeHeaders(){return new ya({"Content-Type":"application/json",Authorization:"Basic "+btoa(`${J.analyticsApiUsername}:${J.analyticsApiPassword}`)})}static \u0275fac=function(i){return new(i||t)(ee(qt))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var zt=(()=>{class t{funnelStateService;analyticsService;SOURCE_CONTENT="FARA";APPLICATION_NAME="insured-better";constructor(e,i){this.funnelStateService=e,this.analyticsService=i}captureFactFunnelStepView(e){let i={stepName:this.funnelStateService.funnelState()!=ge.INACTIVE?this.funnelStateService.funnelState().toLowerCase():"",stepUrl:e,stepViewDate:new Date,sourceApplication:this.APPLICATION_NAME,sourceContent:this.SOURCE_CONTENT,consumer:this.getConsumer(e),funnelSession:this.getFunnelSession(),campaign:this.getCampaign(e),userAgent:null};this.analyticsService.submitFactFunnelStepView(i).subscribe()}getConsumer(e){return{referrerUrl:this.getReferrerUrl(e),firstName:this.funnelStateService.firstName?.()??null,lastName:this.funnelStateService.lastName?.()??null,email:this.funnelStateService.email?.()??null,phone:this.getFormattedPhone(this.funnelStateService.ph
10one?.()??""),sessionId:this.funnelStateService.sessionId?.()??null,businessName:this.funnelStateService.businessName?.()??null,specifiedLatitude:this.funnelStateService.latitude?.()??null,specifiedLongitude:this.funnelStateService.longitude?.()??null,specifiedRegion:this.funnelStateService.state?.()??null,specifiedCity:this.funnelStateService.city?.()??null,specifiedPostalCode:this.funnelStateService.insuranceType?.()==re.PERSONAL?this.funnelStateService.personalZip?.()??null:this.funnelStateService.businessZip?.()??null,specifiedFullAddress:this.getFullAddress(),specifiedStreetAddress:this.funnelStateService.insuranceType?.()==re.PERSONAL?this.funnelStateService.personalStreet?.()??null:this.funnelStateService.businessStreet?.()??null,ipAddress:null,derivedLatitude:this.funnelStateService.geoLocation()?.latitude||null,derivedLongitude:this.funnelStateService.geoLocation()?.latitude||null,derivedRegion:this.funnelStateService.geoLocation()?.state||null,derivedCity:this.funnelStateService.geoLocation()?.city||null,derivedPostalCode:this.funnelStateService.geoLocation()?.zipCode||null}}getFunnelSession(){return{searchId:this.funnelStateService.searchId?.()??null,businessLineCategory:this.funnelStateService.insuranceType?.()??null,businessLines:this.getBusinessLines(this.funnelStateService.businessLines),insured:this.funnelStateService.currentlyInsured?.()??null,premium:this.funnelStateService.estimatedPremium()?.estimatedPremium??null,naicsCode:this.funnelStateService.enhancedIndustrySuggestion()?.code??null,naicsDescription:this.funnelStateService.enhancedIndustrySuggestion()?.description??null,numberOfEmployeesMin:this.funnelStateService.businessSize()?.min??null,numberOfEmployeesMax:this.funnelStateService.businessSize()?.max??null,yearFounded:this.funnelStateService.businessYearStart(),gender:null,age:null,acceptsMedicalExam:null,deathBenefit:null}}getFormattedPhone(e){if(e==null||e==="")return null;let n=e.replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return n?"("+n[1]+") "+n[2]+"-"+n[3]:null}getFullAddress(){return[this.funnelStateService.insuranceType?.()==re.PERSONAL?this.funnelStateService.personalStreet?.()??null:this.funnelStateService.businessStreet?.()??null,this.funnelStateService.city?.()??null,this.funnelStateService.state?.()??null,this.funnelStateService.insuranceType?.()==re.PERSONAL?this.funnelStateService.personalZip?.()??null:this.funnelStateService.businessZip?.()??null,this.funnelStateService.country?.()??null].filter(i=>i!==null&&i!=="").join(", ")||null}getBusinessLines(e){let i=e();return!i||i.size===0?null:Array.from(i).map(qi)}getReferrerUrl(e){let i=this.getSearchParams(e);if(!i)return null;let n=i.get("referralUrl");if(!n)return null;let l;try{return l=new URL(n),{url:l.toString(),scheme:l.protocol.slice(0,-1),host:l.hostname,path:l.pathname}}catch(d){return console.trace("Could not construct URL from referral URL",d),null}}getCampaign(e){let i=this.getSearchParams(e);return i?{utmSource:i.get("utm_source"),utmMedium:i.get("utm_medium"),utmCampaign:i.get("utm_campaign"),utmTerm:i.get("utm_term"),utmContent:i.get("utm_content")}:null}getSearchParams(e){if(!e||e.trim()==="")return null;let i,n="https://dummy.com";try{return i=new URL(e,n),i.searchParams}catch(l){return console.trace("Could not construct URL from browser URL",l),null}}static \u0275fac=function(i){return new(i||t)(ee(He),ee(tc))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ic=(t,r)=>({"bg-insuredBetter-forest_green text-white hover:bg-insuredBetter-forest_green":t,"bg-white text-gray-800 hover:bg-insuredBetter-light_lime":r}),mo=(t,r)=>({"text-white filter brightness-0 invert":t,"text-insuredBetter-dark_forest":r}),hm=(t,r)=>({"bg-insuredBetter-forest_green text-white":t,"bg-white text-gray-800":r}),gm=(t,r)=>({"text-white filter brightness-0 invert":t,"text-insuredBetter-dark_forest ":r}),fm=(t,r)=>({"bg-insuredBetter-forest_green":t,"bg-insuredBetter-light_gray":r});function xm(t,r){if(t&1){let e=ie();o(0,"div",14),P("click",function(){N(e);let n=f();return R(n.selectInsuranceType(n.InsuranceTypeEnum.LIFE_ANNUITIES))}),o(1,"div",15),u(2,"img",16),o(3,"h3",17),c(4,"Life and Annuities"),u(5,"br"),c(6,"Insurance"),a()()()}if(t&2){let e=f();h("ngClass",De(2,hm,e.funnelStateService.insuranceType()===e.InsuranceTypeEnum.LIFE_ANNUITIES,e.funnelStateService.insuranceType()!==e.InsuranceTypeEnum.LIFE_ANNUITIES)),s(2),h("ngClass",De(5,gm,e.funnelStateService.insuranceType()===e.InsuranceTypeEnum.LIFE_ANNUITIES,e.funnelStateService.insuranceType()!==e.InsuranceTypeEnum.LIFE_ANNUITIES))}}function vm(t,r){if(t&1){let e=ie();o(0,"div",13)(1,"button",18),P("click",function(){N(e);
10let n=f();return R(n.navigateToNextComponent())}),o(2,"span",19),c(3," Next "),a(),u(4,"img",20),a()()}if(t&2){let e=f();s(),h("ngClass",De(2,fm,!e.isNextButtonDisabled(),e.isNextButtonDisabled()))("disabled",e.isNextButtonDisabled())}}var rn=(()=>{class t{funnelStateService;funnelNavigationService;factFunnelStepViewService;location;InsuranceTypeEnum=re;isNextButtonDisabled=Ge(!1);isNextButtonVisible=!1;constructor(e,i,n,l){this.funnelStateService=e,this.funnelNavigationService=i,this.factFunnelStepViewService=n,this.location=l,this.isNextButtonDisabled=Je(()=>this.funnelStateService.insuranceType()===void 0)}ngOnInit(){this.funnelStateService.funnelState.set(ge.START),this.funnelStateService.insuranceType()!==void 0&&(this.isNextButtonVisible=!0),this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0))}selectInsuranceType(e){this.funnelStateService.insuranceType()===e?this.funnelStateService.insuranceType.set(void 0):this.funnelStateService.insuranceType()===void 0?(this.funnelStateService.insuranceType.set(e),this.isNextButtonVisible||this.navigateToNextComponent()):(this.funnelStateService.clearState(),this.funnelStateService.insuranceType.set(e))}navigateToNextComponent(){window?.dataLayer?.push({event:oi.FUNNEL_CATEGORY_SPECIFIED,funnel_category:this.funnelStateService.insuranceType()?.toString()}),this.funnelNavigationService.navigateToRouterOutletComponent(se.COVERAGES)}static \u0275fac=function(i){return new(i||t)(A(He),A(ot),A(zt),A(Me))};static \u0275cmp=$({type:t,selectors:[["app-insurance-type"]],decls:23,vars:22,consts:[[1,"flex","flex-col"],[1,"mb-6"],[1,"font-medium","font-poppins","text-3xl","tracking-[-2px]"],[1,"flex","flex-row","gap-3","mb-3"],["id","personal-insurance-tile",1,"w-1/2","h-28","p-1",3,"click"],[1,"h-full","border","border-solid","border-gray-300","cursor-pointer","flex","flex-col","items-center","justify-center","rounded-md","transition-colors","duration-150",3,"ngClass"],[1,"flex","gap-2","mb-2"],["src","assets/house-green-thin.svg","height","150","width","113","alt","house-icon",1,"h-7","w-7",3,"ngClass"],["src","assets/car-thin-green.svg","height","150","width","150","alt","car-icon",1,"h-7","w-7",3,"ngClass"],[1,"text-base","font-medium","text-center","leading-tight"],["id","business-insurance-tile",1,"w-1/2","h-28","p-1",3,"click"],["src","assets/business-green.svg","height","150","width","113","alt","building-icon",1,"h-7","w-7","mb-2",3,"ngClass"],["id","life-insurance-tile",1,"w-64","py-14","px-6","border","border-solid","border-gray-300","cursor-pointer","flex","flex-col","justify-center",3,"ngClass"],[1,"sticky","bottom-0","bg-white","border-t","border-gray-200","py-4","mt-5","z-10"],["id","life-insurance-tile",1,"w-64","py-14","px-6","border","border-solid","border-gray-300","cursor-pointer","flex","flex-col","justify-center",3,"click","ngClass"],[1,"flex","flex-col","text-center","items-center"],["src","assets/heart-pulse-thin.svg","height","24","width","24","alt","heart-pulse-icon",1,"h-10","w-10","mb-4",3,"ngClass"],[1,"text-lg","leading-5"],[1,"mt-2","px-10","py-4","rounded-lg","text-white","flex","items-center",3,"click","ngClass","disabled"],[1,"text-sm"],["src","assets/circle-arrow-right-regular.svg","height","16","width","16","alt","circle-arrow-right-icon",1,"ml-2","filter","brightness-0","invert"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"div",1)(2,"h2",2),c(3,"What type of insurance are you looking for?"),a()(),o(4,"div",3)(5,"div",4),P("click",function(){return n.selectInsuranceType(n.InsuranceTypeEnum.PERSONAL)}),o(6,"div",5)(7,"div",6),u(8,"img",7)(9,"img",8),a(),o(10,"h3",9),c(11,"Personal"),u(12,"br"),c(13,"Insurance"),a()()(),o(14,"div",10),P("click",function(){return n.selectInsuranceType(n.InsuranceTypeEnum.COMMERCIAL)}),o(15,"div",5),u(16,"img",11),o(17,"h3",9),c(18,"Business"),u(19,"br"),c(20,"Insurance"),a()()(),I(21,xm,7,8,"div",12),a(),I(22,vm,5,5,"div",13),a()),i&2&&(s(6),h("ngClass",De(7,ic,n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.PERSONAL,n.funnelStateService.insuranceType()!==n.InsuranceTypeEnum.PERSONAL)),s(2),h("ngClass",De(10,mo,n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.PERSONAL,n.funnelStateService.insuranceType()!==n.InsuranceTypeEnum.PERSONAL)),s(),h("ngClass",De(13,mo,n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.PERSONAL,n.funnelStateService.insuranceType()!==n.InsuranceTypeEnum.PERSONAL)),s(6),h("ngClass",De(16,ic,n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.COMMERCIAL,n.funnelStateService.insuranceType()!==n.InsuranceTypeEnum.COMMERCIAL)),s(),h("ngClass",De(19,mo,n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.COMMERCIAL,n.funnelStateService.insuranceType()!==n.InsuranceTypeEnum.COMMERCIAL)),s(5),b(-1),s(),b(n.isNextButtonVisible?22:-1))},dependencies:[ke],encapsulation:2})}return t})();function ym(t,r){if(t&1&&(o(0,"h1",8),c(1," Sorry, "),o(2,"span",12),c(3),a(),c(4," doesn't write this type of insurance in your area. "),a()),t&2){let e=f(2);s(3),M(e.companyName)}}function _m(t,r){if(t&1&&(o(0,"h1",8),c(1," Sorry, "),o(2,"span",12),c(3),a(),c(4," doesn't write coverage for this industry. "),a()),t&2){let e=f(2);s(3),M(e.companyName)}}function bm(t,r){if(t&1){let e=ie();
10I(0,ym,5,1,"h1",8)(1,_m,5,1,"h1",8),o(2,"p",9),c(3," But don't worry, there are plenty of great independent agents that can help. Continue to find the right one for you. "),a(),o(4,"button",10),P("click",function(){N(e);let n=f();return R(n.continueWithoutContext.emit())}),c(5," Continue "),u(6,"img",11),a()}if(t&2){let e=f();b(e.mismatchType==="zip"?0:1)}}function Cm(t,r){if(t&1&&(o(0,"h1",8),c(1," Oh no, it looks like "),o(2,"span",12),c(3),a(),c(4," doesn't currently cover your area. "),a(),o(5,"p",9),c(6," But the good news is, there are a number of other great agencies that do. "),a()),t&2){let e=f(2);s(3),M(e.agencyName)}}function wm(t,r){if(t&1&&(o(0,"h1",8),c(1," Oh no, it looks like "),o(2,"span",12),c(3),a(),c(4," isn't the best fit for one or more of the insurance types you selected. "),a(),o(5,"p",9),c(6," But the good news is, there are a number of other great independent insurance agencies that do. "),a()),t&2){let e=f(2);s(3),M(e.agencyName)}}function Sm(t,r){if(t&1){let e=ie();I(0,Cm,7,1)(1,wm,7,1),o(2,"button",10),P("click",function(){N(e);let n=f();return R(n.findAnotherAgent.emit())}),c(3," Find me another great agent "),u(4,"img",11),a()}if(t&2){let e=f();b(e.mismatchType==="zip"?0:1)}}var kr=(()=>{class t{agencyName="";mismatchType="zip";contextType="agency";companyName="";findAnotherAgent=new Ke;continueWithoutContext=new Ke;close=new Ke;onOverlayClick(e){e.target.id==="appetite-mismatch-modal-overlay"&&this.close.emit()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-appetite-mismatch-modal"]],inputs:{agencyName:"agencyName",mismatchType:"mismatchType",contextType:"contextType",companyName:"companyName"},outputs:{findAnotherAgent:"findAnotherAgent",continueWithoutContext:"continueWithoutContext",close:"close"},decls:10,vars:1,consts:[["id","appetite-mismatch-modal-overlay",1,"fixed","inset-0","bg-black","bg-opacity-50","flex","items-center","justify-center","z-50","min-h-screen",3,"click","keydown"],[1,"relative","bg-white","rounded-lg","p-8","sm:p-10","w-full","sm:max-w-lg","mx-4","text-center"],["aria-label","Close",1,"absolute","top-4","right-4","text-gray-400","hover:text-gray-600","transition-colors","duration-200",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-6","w-6"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18L18 6M6 6l12 12"],[1,"mb-6"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"mx-auto","h-12","w-12","text-yellow-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 9v2m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"],[1,"text-2xl","font-bold","mb-4"],[1,"text-insuredBetter-text_gray","mb-8"],[1,"px-8","py-2.5","bg-insuredBetter-forest_green","text-white","rounded-lg","font-light","hover:opacity-90","transition-opacity","duration-200",3,"click"],["src","assets/circle-arrow-right-regular.svg","height","16","width","16","alt","",1,"ml-1","inline-block","filter","brightness-0","invert"],[1,"text-insuredBetter-forest_green"]],template:function(i,n){i&1&&(o(0,"div",0),P("click",function(d){return n.onOverlayClick(d)})("keydown",function(d){return n.onOverlayClick(d)}),o(1,"div",1)(2,"button",2),P("click",function(){return n.close.emit()}),ne(),o(3,"svg",3),u(4,"path",4),a()(),Ce(),o(5,"div",5),ne(),o(6,"svg",6),u(7,"path",7),a()(),I(8,bm,7,1)(9,Sm,5,1),a()()),i&2&&(s(8),b(n.contextType==="company"?8:9))},encapsulation:2})}return t})();var Li=(()=>{class t{hasBusinessLineMismatch(e,i,n){let l=this.getAppetiteBusinessLines(i,n);return!l||l.length===0||e.size===0?!1:!Array.from(e).map(m=>qi(m)).some(m=>l.includes(m))}hasBusinessYearMismatch(e,i){if(!e)return!1;let{commercialYearsInBusinessMin:n,commercialYearsInBusinessMax:l}=i;if(n==null&&l==null)return!1;let d=new Date().getFullYear()-e;return n!=null&&d<n||l!=null&&d>l}hasBusinessSizeMismatch(e,i){if(!e)return!1;let{commercialNumberOfEmployeesMin:n,commercialNumberOfEmployeesMax:l}=i;return n==null&&l==null?!1:l!=null&&e.min>l||n!=null&&e.max<n}hasNaicsMismatch(e,i){if(!e)return!1;let{commercialExcludedNaicsCodes:n}=i;return!n||n.length===0?!1:n.includes(e)}getCompanyAppointmentIds(e,i){switch(i){case re.COMMERCIAL:return e.commercialCompanyAppointmentIds??[];case re.LIFE_ANNUITIES:return e.lifeCompanyAppointmentIds??[];default:return e.personalCompanyAppointmentIds??[]}}getAppetiteBusinessLines(e,i){switch(i){case re.COMMERCIAL:return e.commercialBusinessLines??[];case re.LIFE_ANNUITIES:return e.lifeBusinessLines??[];default:return e.personalBusinessLines??[]}}hasCompanyBusinessLineMismatch(e,i,n){if(!e?.appetite)return!1;let l=this.getCompanyAppetiteRegions(e,n);if(!l||l.length===0)return!1;let d=l.flatMap(p=>p.businessLineCodes??[]);return d.length===0||i.size===0?!1:!Array.from(i).map(p=>qi(p)).some(p=>d.includes(p))}checkCompanyZipCoverage(e,i,n){if(!e?.appetite)return!1;let l=this.getCompanyAppetiteRegions(e,n);if(!l||l.length===0||!i)return!1;let d=i.toUpperCase();return!l.some(p=>p.regionCode.toUpperCase()===d)}hasCompanyNaicsMismatch(e,i){if(!e?.appetite||!i)return!1;let n=e.appetite.commercial?.naicsCodes;return!n||n.length===0?!1:!n.includes(i)}hasCompanyYearsInBusinessMismatch(e,i){if(i==null||!e?.appetite)return!1;let n=e.appetite.commercial;if(!n)return!1;let{yearsInBusinessMin:l,yearsInBusinessMax:d}=n;if(l==null&&d==null)return!1;let m=new Date().getFullYear()-i;return l!=null&&m<l||d!=null&&m>d}hasCompanyEmployeeMismatch(e,i){return!i||!e?.appetite?.commercial,!1}getCompanyAppetiteRegions(e,i){switch(i){case re.COMMERCIAL:return(e.appetite?.commercial?.regionCodes??[]).filter(n=>n.subscriber===!0);case re.LIFE_ANNUITIES:return(e.appetite?.lifeAnnuities?.regionCodes??[]).filter(n=>n.subscriber===!0);default:return(e.appetite?.personal?.regionCodes??[]).filter(n=>n.subscriber===!0)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Em=(t,r)=>({"bg-insuredBetter-forest_green":t,"bg-insuredBetter-light_gray":r}),rc=(t,r,e)=>({"bg-insuredBetter-forest_green text-white":t,"bg-white text-gray-800 hover:bg-insuredBetter-light_lime":r,"bg-white border-gray text-gray-300 pointer-events-none":e}),Ar=(t,r)=>({"filter brightness-0 invert":t,"opacity-15":r}),nc=(t,r)=>r.type;
10function Im(t,r){t&1&&(o(0,"h2",14),c(1,"What insurance do you need?"),a(),o(2,"p",15),c(3,"Not sure? Your agent will help you decide what's right for you. "),o(4,"span",16),c(5,"(Select up to 5)"),a()())}function km(t,r){t&1&&(o(0,"h2",14),c(1,"What insurance does your business need?"),a(),o(2,"p",15),c(3," Not sure? No worries, your agent will help you decide what's best for your business. "),o(4,"span",16),c(5,"(Select up to 5)"),a()())}function Am(t,r){if(t&1&&(o(0,"div",21)(1,"div",22),u(2,"img",23),o(3,"span",24),c(4),a()()()),t&2){let e=f().$implicit,i=f();s(2),h("ngClass",De(2,Ar,i.isLobSelected(e.type),!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit||!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit)),s(2),Z(" ",e.tooltip," ")}}function Tm(t,r){if(t&1){let e=ie();o(0,"button",17),P("click",function(){let n=N(e).$implicit,l=f();return R(l.toggleLob(n.type))}),o(1,"div",18),u(2,"img",19),o(3,"h3",20),c(4),a(),I(5,Am,5,5,"div",21),a()()}if(t&2){let e=r.$implicit,i=f();h("disabled",i.hasReachedCoverageLimit&&!i.isLobSelected(e.type)),s(),h("ngClass",Ft(6,rc,i.isLobSelected(e.type),!i.isLobSelected(e.type)&&!i.hasReachedCoverageLimit,!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit)),s(),K("src",e.icon,k),h("ngClass",De(10,Ar,i.isLobSelected(e.type),!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit||!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit)),s(2),M(e.name),s(),b(e.tooltip?5:-1)}}function Bm(t,r){if(t&1&&(o(0,"div",21)(1,"div",22),u(2,"img",23),o(3,"span",24),c(4),a()()()),t&2){let e=f().$implicit,i=f();s(2),h("ngClass",De(2,Ar,i.isLobSelected(e.type),!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit)),s(2),Z(" ",e.tooltip," ")}}function Lm(t,r){if(t&1){let e=ie();o(0,"button",17),P("click",function(){let n=N(e).$implicit,l=f();return R(l.toggleLob(n.type))}),o(1,"div",18),u(2,"img",25),o(3,"h3",20),c(4),a(),I(5,Bm,5,5,"div",21),a()()}if(t&2){let e=r.$implicit,i=f();h("disabled",i.hasReachedCoverageLimit&&!i.isLobSelected(e.type)),s(),h("ngClass",Ft(6,rc,i.isLobSelected(e.type),!i.isLobSelected(e.type)&&!i.hasReachedCoverageLimit,!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit)),s(),K("src",e.icon,k),h("ngClass",De(10,Ar,i.isLobSelected(e.type),!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit||!i.isLobSelected(e.type)&&i.hasReachedCoverageLimit)),s(2),M(e.name),s(),b(e.tooltip?5:-1)}}function Fm(t,r){if(t&1){let e=ie();o(0,"app-appetite-mismatch-modal",26),P("findAnotherAgent",function(){N(e);let n=f();return R(n.onFindAnotherAgent())})("continueWithoutContext",function(){N(e);let n=f();return R(n.onContinueWithoutCompanyContext())})("close",function(){N(e);let n=f();return R(n.onAppetiteMismatchModalClose())}),a()}if(t&2){let e,i,n=f();h("agencyName",(e=(e=n.funnelStateService.agencyContext())==null?null:e.name)!==null&&e!==void 0?e:"")("mismatchType","appetite")("contextType",n.mismatchContextType)("companyName",(i=(i=n.funnelStateService.companyContext())==null?null:i.displayName)!==null&&i!==void 0?i:"")}}var po=(()=>{class t{funnelStateService;funnelNavigationService;factFunnelStepViewService;location;appetiteCheckService;coverageLimit=5;isNextButtonDisabled=Ge(!1);hasReachedCoverageLimit=!1;popularLines=[];otherLines=[];showAppetiteMismatchModal=!1;mismatchContextType="agency";InsuranceTypeEnum=re;isCompanyContextMode=Je(()=>!!this.funnelStateService.companyContext());constructor(e,i,n,l,d){this.funnelStateService=e,this.funnelNavigationService=i,this.factFunnelStepViewService=n,this.location=l,this.appetiteCheckService=d,this.isNextButtonDisabled=Je(()=>this.funnelStateService.businessLines().size===0),this.setCoverageOptions()}ngOnInit(){this.funnelStateService.insuranceType()===void 0?(this.funnelStateService.funnelState.set(ge.START),this.funnelNavigationService.navigateToRouterOutletComponent(se.START)):this.funnelStateService.funnelState.set(ge.COVERAGES),this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.hasReachedCoverageLimit=this.funnelStateService.businessLines().size===this.coverageLimit}setCoverageOptions(){this.funnelStateService.insuranceType()===re.COMMERCIAL?(this.popularLines=za,this.otherLines=Oa):this.funnelStateService.insuranceType()===re.PERSONAL&&(this.popularLines=Na,this.otherLines=Ra)}navigateToNextComponent(){let e=this.funnelStateService.agencyContext(),i=this.funnelStateService.insuranceType();if(e&&i&&this.appetiteCheckService.hasBusinessLineMismatch(this.funnelStateService.businessLines(),e,i)){this.mismatchContextType="agency",this.showAppetiteMismatchModal=!0;return}let n=this.funnelStateService.companyContext();if(n&&i&&this.appetiteCheckService.hasCompanyBusinessLineMismatch(n,this.funnelStateService.businessLines(),i)){this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS)}onFindAnotherAgent(){this.funnelStateService.agencyContext.set(void 0),this.showAppetiteMismatchModal=!1;let e=this.funnelStateService.companyContext(),i=this.funnelStateService.insuranceType();if(e&&i&&this.appetiteCheckService.hasCompanyBusinessLineMismatch(e,this.funnelStateService.businessLines(),i)){this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS,[Ie.AGENCY_ID])}onContinueWithoutCompanyContext(){this.funnelStateService.companyContext.set(void 0),this.showAppetiteMismatchModal=!1,this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS,[Ie.AGENCY_ID,Ie.COMPANY_ID])}onAppetiteMismatchModalClose(){this.showAppetiteMismatchModal=!1}navigateToStartComponent(){this.funnelNavigationService.navigateToRouterOutletComponent(se.START)}toggleLob(e){this.funnelStateService.businessLines.update(i=>(i.has(e)?i.delete(e):i.add(e),this.hasReachedCoverageLimit=i.size>=this.coverageLimit,new Set(i)))}isLobSelected(e){return this.funnelStateService.businessLines().has(e)}static \u0275fac=function(i){return new(i||t)(A(He),A(ot),A(zt),A(Me),A(Li))};static \u0275cmp=$({type:t,selectors:[["app-coverages"]],decls:25,vars:7,consts:[[1,"flex","flex-col"],[1,"font-bold","text-sm","mb-4"],[1,"flex","flex-wrap","mb
10-3"],[1,"w-1/3","h-24","p-1",3,"disabled"],[1,"font-bold","text-sm","mb-2"],[1,"flex","flex-wrap","mb-20"],[3,"agencyName","mismatchType","contextType","companyName"],[1,"sticky","bottom-0","bg-white","border-t","border-gray-200","py-4","z-10","flex","sm:block","items-center","justify-center"],[1,"inline-block","sm:hidden"],[1,"text-gray-500","underline","text-sm",3,"click"],["src","assets/circle-arrow-left-regular.svg","height","16","width","16","alt","circle-arrow-back-icon",1,"mr-1","inline-block","invert-[44%]","sepia-[8%]","saturate-[700%]","hue-rotate-[182deg]","brightness-[97%]","contrast-[85%]"],[1,"mt-2","px-10","py-4","rounded-lg","text-white","flex","items-center","ml-28","mr-2","sm:mx-0",3,"click","ngClass","disabled"],[1,"text-sm"],["src","assets/circle-arrow-right-regular.svg","height","16","width","16","alt","circle-arrow-right-icon",1,"ml-2","filter","brightness-0","invert"],[1,"font-medium","font-poppins","text-2xl","md:text-3xl","mb-5","sm:mb-0","tracking-[-2px]"],[1,"text-insuredBetter-text_gray","mb-8"],[1,"text-insuredBetter-text_gray","text-nowrap"],[1,"w-1/3","h-24","p-1",3,"click","disabled"],[1,"h-full","flex","flex-col","items-center","justify-center","border","border-gray-300","rounded-md","cursor-pointer","relative",3,"ngClass"],["height","150","width","113","alt","building-icon",1,"h-7","w-7","mb-1",3,"ngClass","src"],[1,"text-xs","text-center","leading-tight"],[1,"inline-block","absolute","right-3","top-2"],[1,"group","relative","ml-auto","hidden","sm:block","min-w-[15px]"],["src","assets/info-tooltip-icon.svg","width","15","height","15","alt","tooltip icon",1,"h-4","w-4",3,"ngClass"],[1,"leading-5","z-20","min-w-72","pointer-events-none","absolute","top-5","-right-16","rounded","bg-insuredBetter-dark_forest","p-3.5","text-xs","font-medium","text-gray-50","opacity-0","shadow","transition-opacity","group-hover:opacity-100"],["height","150","width","113","alt","building-icon",1,"h-6","w-6","mb-1",3,"ngClass","src"],[3,"findAnotherAgent","continueWithoutContext","close","agencyName","mismatchType","contextType","companyName"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"div"),I(2,Im,6,0)(3,km,6,0),o(4,"p",1),c(5,"Popular Coverages"),a()(),o(6,"div",2),we(7,Tm,6,13,"button",3,nc),a(),o(9,"div")(10,"p",4),c(11,"Other Options"),a()(),o(12,"div",5),we(13,Lm,6,13,"button",3,nc),a(),I(15,Fm,1,4,"app-appetite-mismatch-modal",6),o(16,"div",7)(17,"div",8)(18,"button",9),P("click",function(){return n.navigateToStartComponent()}),u(19,"img",10),c(20,"Back "),a()(),o(21,"button",11),P("click",function(){return n.navigateToNextComponent()}),o(22,"span",12),c(23," Next "),a(),u(24,"img",13),a()()()),i&2&&(s(2),b(n.funnelStateService.insuranceType()===n.InsuranceTypeEnum.PERSONAL?2:3),s(5),Se(n.popularLines),s(6),Se(n.otherLines),s(2),b(n.showAppetiteMismatchModal?15:-1),s(6),h("ngClass",De(4,Em,!n.isNextButtonDisabled(),n.isNextButtonDisabled()))("disabled",n.isNextButtonDisabled()))},dependencies:[ke,kr],encapsulation:2})}return t})();var oc=[{label:"Over 100 employees",size:101,min:101,max:101},{label:"51 - 100 employees",size:100,min:51,max:100},{label:"31 - 50 employees",size:50,min:31,max:50},{label:"11 - 30 employees",size:30,min:11,max:30},{label:"6 - 10 employees",size:10,min:6,max:10},{label:"2 - 5 employees",size:5,min:2,max:5},{label:"Less than 2 employees",size:1,min:0,max:1}];function Tr(){return t=>{let r=t.value;if(r==null||r==="")return null;let e=new Date(r);if(isNaN(e.getTime()))return{invalidDateOfBirth:!0};let i=new Date;if(i.setHours(0,0,0,0),e.getTime()>i.getTime())return{futureDateOfBirth:!0};let n=new Date(i);return n.setFullYear(n.getFullYear()-120),e.getTime()<n.getTime()?{implausibleDateOfBirth:!0}:null}}function ac(t){let r=t.getFullYear(),e=String(t.getMonth()+1).padStart(2,"0"),i=String(t.getDate()).padStart(2,"0");return`${r}-${e}-${i}`}function sc(){return ac(new Date)}function lc(){let t=new Date;return t.setFullYear(t.getFullYear()-120),ac(t)}var Mm=["businessNameTrigger"],Pm=["businessNameOverlayContent"],Fi=t=>({invalid:t}),cc=t=>({invalidSelect:t}),zm=t=>({"border-red-500":t}),Om=(t,r)=>r.estimatedPremium,Nm=(t,r)=>r.size;function Rm(t,r){t&1&&(o(0,"div",31),c(1,"Please make a selection"),a())}function Um(t,r){t&1&&(o(0,"div",31),c(1,"Please enter a valid date of birth"),a())}function jm(t,r){if(t&1){let e=ie();o(0,"div",39)(1,"div",33)(2,"label",40),c(3," Do you currently have insurance?"),a()(),o(4,"div",27)(5,"div",41)(6,"div",42)(7,"input",43),P("focus",function(){N(e);let n=f(2);return R(n.isCurrentlyInsuredInvalid=!1)}),a(),o(8,"label",44),c(9," Yes, I am currently insured"),a()(),o(10,"div",45)(11,"input",46),P("focus",function(){N(e);let n=f(2);return R(n.isCurrentlyInsuredInvalid=!1)}),a(),o(12,"label",47),c(13," No, I am not currently insured"),a()()(),I(14,Rm,2,0,"div",31),a()(),o(15,"div",39)(16,"div",33)(17,"label",48),c(18,"What is your date of birth?"),a()(),o(19,"div",27)(20,"div",49)(21,"label",50),c(22,"Date of birth (optional)"),a(),o(23,"input",51),P("focus",function(){N(e);let n=f(2);return R(n.isDateOfBirthInvalid=!1)})("input",function(n){N(e);let l=f(2);return R(l.onDateOfBirthInput(n))}),a()(),I(24,Um,2,0,"div",31),a()()}if(t&2){let e=f(2);s(7),K("formControlName",e.funnelFormControlNamesEnum.CURRENTLY_INSURED),h("value",!0)("ngClass",ue(10,Fi,e.isCurrentlyInsuredInvalid)),s(4),K("formControlName",e.funnelFormControlNamesEnum.CURRENTLY_INSURED),h("value",!1)("ngClass",ue(12,Fi,e.isCurrentlyInsuredInvalid)),s(3),b(e.isCurrentlyInsuredInvalid?14:-1),s(9),K("formControlName",e.funnelFormControlNamesEnum.DATE_OF_BIRTH),h("ngClass",ue(14,Fi,e.isDateOfBirthInvalid)),s(),b(e.isDateOfBirthInvalid?24:-1)}}function Vm(t,r){if(t&1){let e=ie();o(0,"div",54),P("mousedown",function(n){return N(e),R(n.preventDefault())})("click",function(){let n=N(e).$implicit,l=f(3);return R(l.onPersonalAddressPlaceSelection(n))}),c(1),a()}if(t&2){let e=r.$implicit;s(),Z(" ",e.placeDisplay," ")}}function Hm(t,r){if(t&1&&(o(0,"div",52),I(1,Vm,2,1,"div",53),Ue(2,"async"),a()),t&2){let e=f(2);s(),h("ngForOf",bt(2,1,e.placeSuggestions))}}function Gm(t,r){t&1&&(o(0,"div",31),c(1,"Please provide a valid zip code"),a())}function qm(t,r){if(t&1&&(o(0,"option",38),c(1),a()),t&2){let e=r.$implicit;h("ngValue",e),s(),M(e.propertyValueLabel)}}function Wm(t,r){t&1&&(o(0,"div",31),c(1,"Please select an approximate value"),a())}function Zm(t,r){if(t&1){let e=ie();o(0,"div",7),I(1,jm,25,16),o(2,"div",16)(3,"div",17)(4,"span",18),c(5," Where is your insurable property located?"),a()(),o(6,"div",19)(7,"label",20),c(8," Insurable property address"),a(),o(9,"div",21)(10,"span",22),u(11,"img",23),a(),o(12,"div",24,0)(14,"input",25),P("input",function(n){N(e);let l=f();return R(l.onPersonalAddressInput(n))})("focus",function(){N(e);
10let n=f();return R(n.openPropertyLocationSuggestions())})("blur",function(){N(e);let n=f();return R(n.closePropertyLocationSuggestions())}),a()(),I(15,Hm,3,3,"ng-template",26),Ue(16,"async"),P("backdropClick",function(){N(e);let n=f();return R(n.closePropertyLocationSuggestions())}),a()()(),o(17,"div",16)(18,"div",17)(19,"span",18),c(20,"ZIP code"),a()(),o(21,"div",27)(22,"div",28)(23,"label",29),c(24," ZIP code"),a(),o(25,"input",30),P("focus",function(){N(e);let n=f();return R(n.isPersonalZipCodeInvalid=!1)}),a()(),I(26,Gm,2,0,"div",31),a()(),o(27,"div",32)(28,"div",33)(29,"label",34),c(30," What's the approximate value of the items you are looking to insure?"),a()(),o(31,"div",27)(32,"div",35)(33,"select",36),P("focus",function(){N(e);let n=f();return R(n.isEstimatedPremiumInvalid=!1)}),o(34,"option",37),c(35,"Select"),a(),we(36,qm,2,2,"option",38,Om),a()(),I(38,Wm,2,0,"div",31),a()()()}if(t&2){let e,i=Gi(13),n=f();h("formGroup",n.personalFormGroup),s(),b(n.funnelStateService.isHomeOrAuto()?1:-1),s(13),K("formControlName",n.funnelFormControlNamesEnum.PERSONAL_STREET),s(),h("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",n.isPropertyLocationSuggestionsOpen&&((e
10=bt(16,14,n.placeSuggestions))==null?null:e.length)>0)("cdkConnectedOverlayWidth",i.elementRef.nativeElement.offsetWidth)("cdkConnectedOverlayPositions",n.overlayPositions),s(10),K("formControlName",n.funnelFormControlNamesEnum.PERSONAL_ZIP),h("appDigitLimit",5)("ngClass",ue(16,Fi,n.isPersonalZipCodeInvalid)),s(),b(n.isPersonalZipCodeInvalid?26:-1),s(7),K("formControlName",n.funnelFormControlNamesEnum.ESTIMATED_PREMIUM),h("ngClass",ue(18,cc,n.isEstimatedPremiumInvalid)),s(3),Se(n.valuePremiumOptions),s(2),b(n.isEstimatedPremiumInvalid?38:-1)}}function $m(t,r){if(t&1){let e=ie();o(0,"div",54),P("mousedown",function(n){return N(e),R(n.preventDefault())})("click",function(){let n=N(e).$implicit,l=f(3);return R(l.onBusinessNamePlaceSelection(n))}),c(1),a()}if(t&2){let e=r.$implicit;s(),Z(" ",e.placeDisplay," ")}}function Ym(t,r){if(t&1&&(o(0,"div",52),I(1,$m,2,1,"div",53),Ue(2,"async"),a()),t&2){let e=f(2);s(),h("ngForOf",bt(2,1,e.placeSuggestions))}}function Km(t,r){if(t&1){let e=ie();o(0,"div",54),P("mousedown",function(n){return N(e),R(n.preventDefault())})("click",function(){let n=N(e).$implicit,l=f(3);return R(l.onBusinessStreetPlaceSelection(n))}),c(1),a()}if(t&2){let e=r.$implicit;s(),Z(" ",e.placeDisplay," ")}}function Jm(t,r){if(t&1&&(o(0,"div",52),I(1,Km,2,1,"div",53),Ue(2,"async"),a()),t&2){let e=f(2);s(),h("ngForOf",bt(2,1,e.placeSuggestions))}}function Qm(t,r){t&1&&(o(0,"div",31),c(1,"Please provide a valid zip code"),a())}function Xm(t,r){if(t&1){let e=ie();o(0,"div",54),P("mousedown",function(n){return N(e),R(n.preventDefault())})("click",function(){let n=N(e).$implicit,l=f(3);return R(l.selectOption(n))}),c(1),a()}if(t&2){let e=r.$implicit,i=f(3);ve("aria-selected",i.isSelectedOption(e)),s(),Z(" ",e.label," ")}}function eu(t,r){if(t&1&&(o(0,"div",73),I(1,Xm,2,2,"div",53),Ue(2,"async"),a()),t&2){let e=f(2);s(),h("ngForOf",bt(2,1,e.enhancedIndustrySuggestions))}}function tu(t,r){t&1&&(o(0,"div",31),c(1,"Please provide a NAICS code"),a())}function iu(t,r){if(t&1&&(o(0,"div",31),c(1),a()),t&2){let e=f(2);s(),Z("The year must be between 1600 and ",e.currentDate.getFullYear(),"")}}function nu(t,r){if(t&1&&(o(0,"option",38),c(1),a()),t&2){let e=r.$implicit;h("ngValue",e),s(),M(e.label)}}function ru(t,r){t&1&&(o(0,"div",31),c(1,"Please provide a business size"),a())}function ou(t,r){if(t&1){let e=ie();o(0,"div",8)(1,"div",16)(2,"div",17)(3,"span",55),c(4," What is your business name?"),a()(),o(5,"div",19)(6,"label",56),c(7," Business name"),a(),o(8,"div",21)(9,"span",22),u(10,"img",23),a(),o(11,"div",24,1)(13,"input",57),P("input",function(n){N(e);let l=f();return R(l.onBusinessNameInput(n))})("focus",function(){N(e);let n=f();return R(n.openBusinessNameSuggestions())})("blur",function(){N(e);let n=f();return R(n.closeBusinessNameSuggestions())}),a()(),I(14,Ym,3,3,"ng-template",26),Ue(15,"async"),P("backdropClick",function(){N(e);let n=f();return R(n.closeBusinessNameSuggestions())}),a()()(),o(16,"div",16)(17,"div",17)(18,"span",55),c(19," Business address"),a()(),o(20,"div",19)(21,"label",58),c(22," Business address"),a(),o(23,"div",21)(24,"span",22),u(25,"img",23),a(),o(26,"div",24,2)(28,"input",59),P("input",function(n){N(e);let l=f();return R(l.onBusinessNameInput(n))})("focus",function(){N(e);let n=f();return R(n.openBusinessAddressSuggestions())})("blur",function(){N(e);let n=f();return R(n.closeBusinessAddressSuggestions())}),a()(),I(29,Jm,3,3,"ng-template",26),Ue(30,"async"),P("backdropClick",function(){N(e);let n=f();return R(n.closeBusinessAddressSuggestions())}),a()()(),o(31,"div",16)(32,"div",17)(33,"span",55),c(34," ZIP code"),a()(),o(35,"div",27)(36,"div",49)(37,"label",60),c(38," ZIP code"),a(),o(39,"input",61),P("focus",function(){N(e);let n=f();return R(n.isBusinessZipInvalid=!1)}),a()(),I(40,Qm,2,0,"div",31),a()(),o(41,"div",16)(42,"div",17)(43,"span",55),c(44," What type of business are you insuring?"),a()(),o(45,"div",27)(46,"div",62)(47,"label",63),c(48," Business keywords or NAICS"),a(),o(49,"div",21)(50,"span",22),u(51,"img",23),a(),o(52,"div",24,3)(54,"input",64),P("input",function(n){N(e);let l=f();return R(l.onIndustryInput(n))})("focus",function(){N(e);
10let n=f();return R(n.openIndustrySuggestions())})("blur",function(){N(e);let n=f();return R(n.closeIndustrySuggestions())}),a()(),I(55,eu,3,3,"ng-template",26),P("backdropClick",function(){N(e);let n=f();return R(n.closeIndustrySuggestions())}),a()(),I(56,tu,2,0,"div",31),a()(),o(57,"div",16)(58,"div",17)(59,"span",55),c(60," When did your business start?"),a()(),o(61,"div",19)(62,"label",65),c(63," Year established"),a(),o(64,"div",66)(65,"div",67)(66,"input",68),P("focus",function(){N(e);let n=f();return R(n.isBusinessYearStartInvalid=!1)}),a()(),I(67,iu,2,1,"div",31),a()()(),o(68,"div",16)(69,"div",69)(70,"label",70),c(71," How many individuals, full and part-time, are involved in running your business?"),a()(),o(72,"div",71)(73,"div",35)(74,"select",72),P("focus",function(){N(e);let n=f();return R(n.isBusinessSizeInvalid=!1)}),o(75,"option",37),c(76,"Select"),a(),we(77,nu,2,2,"option",38,Nm),a()(),I(79,ru,2,0,"div",31),a()()()}if(t&2){let e,i,n=Gi(12),l=Gi(27),d=Gi(53),m=f();h("formGroup",m.commercialFormGroup),s(13),h("formControlName",m.funnelFormControlNamesEnum.BUSINESS_NAME),s(),h("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",m.isBusinessNameSuggestionsOpen&&((e
10=bt(15,31,m.placeSuggestions))==null?null:e.length)>0)("cdkConnectedOverlayWidth",n.elementRef.nativeElement.offsetWidth)("cdkConnectedOverlayPositions",m.overlayPositions),s(14),K("formControlName",m.funnelFormControlNamesEnum.BUSINESS_STREET),s(),h("cdkConnectedOverlayOrigin",l)("cdkConnectedOverlayOpen",m.isBusinessAddressSuggestionsOpen&&((i=bt(30,33,m.placeSuggestions))==null?null:i.length)>0)("cdkConnectedOverlayWidth",l.elementRef.nativeElement.offsetWidth)("cdkConnectedOverlayPositions",m.overlayPositions),s(10),K("formControlName",m.funnelFormControlNamesEnum.BUSINESS_ZIP),h("appDigitLimit",5)("ngClass",ue(35,Fi,m.isBusinessZipInvalid)),s(),b(m.isBusinessZipInvalid?40:-1),s(14),K("formControlName",m.funnelFormControlNamesEnum.INDUSTRY_LABEL),h("ngClass",ue(37,zm,m.isEnhancedIndustrySuggestionInvalid)),s(),h("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOpen",m.isSuggestionsOpen)("cdkConnectedOverlayWidth",d.elementRef.nativeElement.offsetWidth)("cdkConnectedOverlayPositions",m.overlayPositions),s(),b(m.isEnhancedIndustrySuggestionInvalid?56:-1),s(10),K("formControlName",m.funnelFormControlNamesEnum.BUSINESS_YEAR_START),h("min",1600)("max",m.currentDate.getFullYear())("appDigitLimit",4)("ngClass",ue(39,Fi,m.isBusinessYearStartInvalid)),s(),b(m.isBusinessYearStartInvalid?67:-1),s(7),K("formControlName",m.funnelFormControlNamesEnum.BUSINESS_SIZE),h("ngClass",ue(41,cc,m.isBusinessSizeInvalid)),s(3),Se(m.businessSizes),s(2),b(m.isBusinessSizeInvalid?79:-1)}}function au(t,r){t&1&&c(0," Checking... ")}function su(t,r){t&1&&(c(0," Next "),u(1,"img",74))}function lu(t,r){if(t&1){let e=ie();o(0,"app-appetite-mismatch-modal",75),P("findAnotherAgent",function(){N(e);let n=f();return R(n.onFindAnotherAgent())})("continueWithoutContext",function(){N(e);let n=f();return R(n.onContinueWithoutCompanyContext())})("close",function(){N(e);let n=f();return R(n.onAppetiteMismatchModalClose())}),a()}if(t&2){let e,i,n=f();h("agencyName",(e=(e=n.funnelStateService.agencyContext())==null?null:e.name)!==null&&e!==void 0?e:"")("mismatchType",n.appetiteMismatchType)("contextType",n.mismatchContextType)("companyName",(i=(i=n.funnelStateService.companyContext())==null?null:i.displayName)!==null&&i!==void 0?i:"")}}var go=(()=>{class t{funnelStateService;funnelNavigationService;formBuilder;fulcrumService;fulcrumManager;factFunnelStepViewService;location;appetiteCheckService;businessNameTrigger;businessNameOverlayContent;characterLimit=128;commercialFormGroup;personalFormGroup;placeSuggestions=Te([]);enhancedIndustrySuggestions=Te([]);businessSizes=oc;insuranceTypeEnum=re;funnelFormControlNamesEnum=me;valuePremiumOptions=Ka;currentDate=new Date;isPersonalZipCodeInvalid=!1;isCurrentlyInsuredInvalid=!1;isDateOfBirthInvalid=!1;isEstimatedPremiumInvalid=!1;isBusinessZipInvalid=!1;isEnhancedIndustrySuggestionInvalid=!1;isBusinessYearStartInvalid=!1;isBusinessSizeInvalid=!1;isSuggestionsOpen=!1;isBusinessNameSuggestionsOpen=!1;isBusinessAddressSuggestionsOpen=!1;isPropertyLocationSuggestionsOpen=!1;showAppetiteMismatchModal=!1;appetiteMismatchType="zip";mismatchContextType="agency";isCheckingZipCoverage=!1;overlayPositions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:4},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-4}];isCompanyContextMode=Je(()=>!!this.funnelStateService.companyContext());constructor(e,i,n,l,d,m,p,_){this.funnelStateService=e,this.funnelNavigationService=i,this.formBuilder=n,this.fulcrumService=l,this.fulcrumManager=d,this.factFunnelStepViewService=m,this.location=p,this.appetiteCheckService=_,this.commercialFormGroup=this.getCommercialFormGroup(),this.personalFormGroup=this.getPersonalFormGroup(),this.funnelStateService.isHomeOrAuto()&&(this.personalFormGroup.addControl("currentlyInsured",new Wi({value:this.funnelStateService.currentlyInsured()??null,disabled:!1},[Be.required])),this.personalFormGroup.addControl(me.DATE_OF_BIRTH,new Wi(this.toDisplayDate(this.funnelStateService.dateOfBirth()),[Tr()])))}openIndustrySuggestions(){this.isEnhancedIndustrySuggestionInvalid=!1,this.isSuggestionsOpen=!0}closeIndustrySuggestions(){setTimeout(()=>{this.isSuggestionsOpen=!1},150)}selectOption(e){this.commercialFormGroup.get(me.INDUSTRY_LABEL)?.setValue(e.label),this.commercialFormGroup.get(me.ENHANCED_INDUSTRY_SUGGESTION)?.setValue(e),this.closeIndustrySuggestions()}isSelectedOption(e){return this.commercialFormGroup.get(me.ENHANCED_INDUSTRY_SUGGESTION)?.value.code===e.code}openBusinessNameSuggestions(){this.isBusinessNameSuggestionsOpen=!0}closeBusinessNameSuggestions(){setTimeout(()=>{this.isBusinessNameSuggestionsOpen=!1},150)}openBusinessAddressSuggestions(){this.isBusinessAddressSuggestionsOpen=!0}closeBusinessAddressSuggestions(){setTimeout(()=>{this.isBusinessAddressSuggestionsOpen=!1},150)}openPropertyLocationSuggestions(){this.isPropertyLocationSuggestionsOpen=!0}closePropertyLocationSuggestions(){setTimeout(()=>{this.isPropertyLocationSuggestionsOpen=!1},150)}ngOnInit(){this.funnelStateService.funnelState.set(ge.DETAILS),this.setStateForCommercialFormValuesOnChange(),this.setStateForPersonalFormValuesOnChange()}getCommercialFormGroup(){return this.formBuilder.group({businessName:[this.funnelStateService.businessName()||""],businessStreet:[this.funnelStateService.businessStreet()||""],businessZip:[this.funnelStateService.businessZip()||"",[Be.required,Be.pattern("(\\d{5})")]],enhancedIndustrySuggestion:[this.funnelStateService.enhancedIndustrySuggestion()||"",[Be.required]],industryLabel:[this.funnelStateService.enhancedIndustrySuggestion()?.label||""],businessYearStart:[this.funnelStateService.businessYearStart()||void 0,[Be.required,Be.min(1600),Be.max(this.currentDate.getFullYear())]],businessSize:[this.funnelStateService.businessSize()||"",[Be.required]]})}getPersonalFormGroup(){return this.formBuilder.group({personalStreet:[this.funnelStateService.personalStreet()||""],personalZip:[this.funnelStateService.personalZip()||"",[Be.required,Be.pattern("(\\d{5})")]],estimatedPremium:[this.funnelStateService.estimatedPremium()||"",[Be.required]]})}setStateForCommercialFormValuesOnChange(){this.commercialFormGroup.valueChanges.subscribe(e=>{this.funnelStateService.businessName.set(e.businessName),this.funnelStateService.businessStreet.set(e.businessStreet),this.funnelStateService.businessZip.set(e.businessZip),this.funnelStateService.enhancedIndustrySuggestion.set(e.enhancedIndustrySuggestion),this.funnelStateService.businessYearStart.set(e.businessYearStart),this.funnelStateService.businessSize.set(e.businessSize)})}setStateForPersonalFormValuesOnChange(){this.personalFormGroup.valueChanges.subscribe(e=>{this.funnelStateService.personalStreet.set(e.personalStreet),this.funnelStateService.personalZip.set(e.personalZip),this.funnelStateService.currentlyInsured.set(e.currentlyInsured),this.funnelStateService.dateOfBirth.set(this.toIsoDate(e.dateOfBirth)??void 0),this.funnelStateService.estimatedPremium.set(e.estimatedPremium)})}navigateToNextComponent(){if(this.funnelStateService.insuranceType()===re.COMMERCIAL&&this.commercialFormGroup.invalid){this.displayCommercialFormValidationMessages(),this.scrollToFirstInvalidField();return}if(this.funnelStateService.insuranceType()===re.PERSONAL&&this.personalFormGroup.invalid){this.displayPersonalFormValidationMessages(),this.scrollToFirstInvalidField();return}let e=this.funnelStateService.agencyContext();if(e)this.checkZipCoverageAndNavigate(e);else{let i=this.funnelStateService.companyContext();i?this.checkCompanyZipAndNavigate(i):this.proceedToInterlude()}}checkZipCoverageAndNavigate(e){let i=this.funnelStateService.insuranceType()===re.COMMERCIAL?this.funnelStateService.businessZip():this.funnelStateService.personalZip();if(!i){this.proceedToInterlude();return}let n=this.getRegionCodesForInsuranceType(e);if(!n||n.length===0){this.proceedToInterlude();return}this.isCheckingZipCoverage=!0,this.fulcrumService.getLocationForZip(i).subscribe(l=>{if(this.isCheckingZipCoverage=!1,l===null||n.includes(l.state)){if(l!==null){let d=this.funnelStateService.companyContext(),m=this.funnelStateService.insuranceType();if(d&&m&&this.appetiteCheckService.checkCompanyZipCoverage(d,l.state,m)){this.appetiteMismatchType="zip",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}}this.checkCommercialAppetiteAndNavigate(e)}else this.appetiteMismatchType="zip",this.mismatchContextType="agency",this.showAppetiteMismatchModal=!0})}checkCompanyZipAndNavigate(e){let i=this.funnelStateService.insuranceType(),n=i===re.COMMERCIAL?this.funnelStateService.businessZip():this.funnelStateService.personalZip();if(!n||!i){this.checkCompanyCommercialAppetiteAndNavigate(e);return}this.isCheckingZipCoverage=!0,this.fulcrumService.getLocationForZip(n).subscribe(l=>{if(this.isCheckingZipCoverage=!1,l!==null&&this.appetiteCheckService.checkCompanyZipCoverage(e,l.state,i)){this.appetiteMismatchType="zip",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}this.checkCompanyCommercialAppetiteAndNavigate(e)})}checkCompanyCommercialAppetiteAndNavigate(e){if(this.funnelStateService.insuranceType()!==re.COMMERCIAL){this.proceedToInterlude();return}let i=this.funnelStateService.enhancedIndustrySuggestion()?.code??null,n=this.funnelStateService.businessYearStart(),l=this.funnelStateService.businessSize();if(this.appetiteCheckService.hasCompanyNaicsMismatch(e,i)){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}if(this.appetiteCheckService.hasCompanyYearsInBusinessMismatch(e,n)){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}if(this.appetiteCheckService.hasCompanyEmployeeMismatch(e,l)){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}this.proceedToInterlude()}checkCommercialAppetiteAndNavigate(e){if(this.funnelStateService.insuranceType()!==re.COMMERCIAL){this.proceedToInterlude();return}let i=this.funnelStateService.enhancedIndustrySuggestion()?.code??null,n=this.funnelStateService.businessYearStart(),l=this.funnelStateService.businessSize();if(this.appetiteCheckService.hasBusinessYearMismatch(n,e)||this.appetiteCheckService.hasBusinessSizeMismatch(l,e)||this.appetiteCheckService.hasNaicsMismatch(i,e)){this.appetiteMismatchType="appetite",this.mismatchContextType="agency",this.showAppetiteMismatchModal=!0;return}let d=this.funnelStateService.companyContext();if(d){if(this.appetiteCheckService.hasCompanyNaicsMismatch(d,i)){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}if(this.appetiteCheckService.hasCompanyYearsInBusinessMismatch(d,n)
10){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}if(this.appetiteCheckService.hasCompanyEmployeeMismatch(d,l)){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}}this.proceedToInterlude()}getRegionCodesForInsuranceType(e){switch(this.funnelStateService.insuranceType()){case re.COMMERCIAL:return e.commercialRegionCodes;case re.LIFE_ANNUITIES:return e.lifeRegionCodes;default:return e.personalRegionCodes}}proceedToInterlude(){this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.funnelNavigationService.navigateToRouterOutletComponent(se.INTERLUDE)}onFindAnotherAgent(){this.funnelStateService.agencyContext.set(void 0),this.showAppetiteMismatchModal=!1;let e=this.funnelStateService.companyContext();if(e){let i=this.funnelStateService.insuranceType(),n=i===re.COMMERCIAL?this.funnelStateService.businessZip():this.funnelStateService.personalZip();n&&i?(this.isCheckingZipCoverage=!0,this.fulcrumService.getLocationForZip(n).subscribe(l=>{if(this.isCheckingZipCoverage=!1,l!==null&&this.appetiteCheckService.checkCompanyZipCoverage(e,l.state,i)){this.appetiteMismatchType="zip",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}this.checkCompanyAppetiteAndProceedAfterAgencyExit(e)})):this.checkCompanyAppetiteAndProceedAfterAgencyExit(e);return}this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.funnelNavigationService.navigateToRouterOutletComponent(se.INTERLUDE,[Ie.AGENCY_ID])}checkCompanyAppetiteAndProceedAfterAgencyExit(e){if(this.funnelStateService.insuranceType()===re.COMMERCIAL){let i=this.funnelStateService.enhancedIndustrySuggestion()?.code??null,n=this.funnelStateService.businessYearStart(),l=this.funnelStateService.businessSize();if(this.appetiteCheckService.hasCompanyNaicsMismatch(e,i)||this.appetiteCheckService.hasCompanyYearsInBusinessMismatch(e,n)||this.appetiteCheckService.hasCompanyEmployeeMismatch(e,l)){this.appetiteMismatchType="appetite",this.mismatchContextType="company",this.showAppetiteMismatchModal=!0;return}}this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.funnelNavigationService.navigateToRouterOutletComponent(se.INTERLUDE,[Ie.AGENCY_ID])}onContinueWithoutCompanyContext(){this.funnelStateService.companyContext.set(void 0),this.showAppetiteMismatchModal=!1,this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.funnelNavigationService.navigateToRouterOutletComponent(se.INTERLUDE,[Ie.AGENCY_ID,Ie.COMPANY_ID])}onAppetiteMismatchModalClose(){this.showAppetiteMismatchModal=!1}navigateToCoveragesComponent(){this.funnelNavigationService.navigateToRouterOutletComponent(se.COVERAGES)}displayCommercialFormValidationMessages(){this.isBusinessZipInvalid=this.commercialFormGroup.controls[me.BUSINESS_ZIP].invalid,this.isEnhancedIndustrySuggestionInvalid=this.commercialFormGroup.controls[me.ENHANCED_INDUSTRY_SUGGESTION].invalid,this.isBusinessYearStartInvalid=this.commercialFormGroup.controls[me.BUSINESS_YEAR_START].invalid,this.isBusinessSizeInvalid=this.commercialFormGroup.controls[me.BUSINESS_SIZE].invalid}displayPersonalFormValidationMessages(){this.isPersonalZipCodeInvalid=this.personalFormGroup.controls[me.PERSONAL_ZIP].invalid,this.isCurrentlyInsuredInvalid=this.funnelStateService.isHomeOrAuto()&&this.personalFormGroup.controls[me.CURRENTLY_INSURED].invalid;let e=this.personalFormGroup.controls[me.DATE_OF_BIRTH];this.isDateOfBirthInvalid=!!e&&e.invalid,this.isEstimatedPremiumInvalid=this.personalFormGroup.controls[me.ESTIMATED_PREMIUM].invalid}scrollToFirstInvalidField(){let e=document.querySelectorAll(".ng-invalid");e.length>0&&e[0].scrollIntoView({behavior:"smooth",block:"center"})}onBusinessNameInput(e){let n=e.target.value;this.onPlaceSuggestionInput(n,re.COMMERCIAL)}onPersonalAddressInput(e){let n=e.target.value;this.onPlaceSuggestionInput(n,re.PERSONAL)}onPlaceSuggestionInput(e,i){this.fulcrumService.getPlaceSuggestions(this.getPlaceRequest
10(e,i)).subscribe(n=>{this.placeSuggestions=Te(n)})}getPlaceRequest(e,i){return{searchTerm:e,latitude:this.funnelStateService.geoLocation()?.latitude??null,longitude:this.funnelStateService.geoLocation()?.longitude??null,riskCategory:re[i],sessionId:this.funnelStateService.googlePlacesSessionToken()}}onPersonalAddressPlaceSelection(e){this.personalFormGroup.controls[me.PERSONAL_STREET].setValue(e.placeDisplay),this.fulcrumManager.getPlace(e.placeId,i=>{(this.personalFormGroup.controls[me.PERSONAL_STREET].value==null||this.personalFormGroup.controls[me.PERSONAL_STREET].value===""||this.personalFormGroup.controls[me.PERSONAL_STREET].value===e.placeDisplay&&i?.placeLocation.streetAddress)&&(this.personalFormGroup.controls[me.PERSONAL_STREET].setValue(this.processInput(i?.placeLocation.streetAddress)),this.setOtherAddressFields(i)),(this.personalFormGroup.controls[me.PERSONAL_ZIP].value==null||this.personalFormGroup.controls[me.PERSONAL_ZIP].value===""&&i?.placeLocation.zip)&&(this.personalFormGroup.controls[me.PERSONAL_ZIP].setValue(i?.placeLocation.zip),this.setOtherAddressFields(i))}),this.closePropertyLocationSuggestions()}onBusinessNamePlaceSelection(e){this.commercialFormGroup.controls[me.BUSINESS_NAME].setValue(e.placeDisplay),this.onBusinessPlaceSelection(e),this.closeBusinessNameSuggestions()}onBusinessStreetPlaceSelection(e){this.commercialFormGroup.controls[me.BUSINESS_STREET].setValue(e.placeDisplay),this.onBusinessPlaceSelection(e),this.closeBusinessAddressSuggestions()}onBusinessPlaceSelection(e){this.fulcrumManager.getPlace(e.placeId,i=>{(this.commercialFormGroup.controls[me.BUSINESS_NAME].value==null||this.commercialFormGroup.controls[me.BUSINESS_NAME].value===""||this.commercialFormGroup.controls[me.BUSINESS_NAME].value===e.placeDisplay)&&(i?.placeLocation.businessName!=null?(this.commercialFormGroup.controls[me.BUSINESS_NAME].setValue(this.processInput(i?.placeLocation.businessName)),this.setOtherAddressFields(i)):this.commercialFormGroup.controls[me.BUSINESS_NAME].setValue("")),(this.commercialFormGroup.controls[me.BUSINESS_STREET].value==null||this.commercialFormGroup.controls[me.BUSINESS_STREET].value===""||this.commercialFormGroup.controls[me.BUSINESS_STREET].value===e.placeDisplay)&&(i?.placeLocation.streetAddress!=null?(this.commercialFormGroup.controls[me.BUSINESS_STREET].setValue(this.processInput(i?.placeLocation.streetAddress)),this.setOtherAddressFields(i)):this.commercialFormGroup.controls[me.BUSINESS_STREET].setValue("")),(this.commercialFormGroup.controls[me.BUSINESS_ZIP].value==null||this.commercialFormGroup.controls[me.BUSINESS_ZIP].value===""&&i?.placeLocation.zip)&&(this.commercialFormGroup.controls[me.BUSINESS_ZIP].setValue(i?.placeLocation.zip),this.setOtherAddressFields(i))})}onIndustryInput(e){let n=e.target.value;this.fulcrumService.getIndustrySuggestions(n).subscribe(l=>{this.enhancedIndustrySuggestions=Te(l.map(d=>({code:d.code,description:d.description,label:d.code+" - "+d.description}))),l.length>0&&this.openIndustrySuggestions()})}processInput(e){return e===void 0||e==null||e.trim().length===0?"":e.length>=this.characterLimit?e.substring(0,this.characterLimit):e}setOtherAddressFields(e){this.funnelStateService.city.set(e?.placeLocation.city),this.funnelStateService.state.set(e?.placeLocation.state),this.funnelStateService.country.set(this.getCountry(e?.placeDisplay??"")),this.funnelStateService.latitude.set(e?.placeLocation.latitude),this.funnelStateService.longitude.set(e?.placeLocation.longitude)}getCountry(e){let i=e.lastIndexOf(",");if(i!==-1)return e.slice(i+1).trim()}onDateOfBirthInput(e){let i=e.target;if(e.inputType?.startsWith("delete")){this.personalFormGroup.get(me.DATE_OF_BIRTH)?.setValue(i.value,{emitEvent:!0});return}let l=i.value.replace(/\D/g,"").substring(0,8),d=l;l.length>4?d=`${l.substring(0,2)}/${l.substring(2,4)}/${l.substring(4)}`:l.length>2&&(d=`${l.substring(0,2)}/${l.substring(2)}`),i.value=d,this.personalFormGroup.get(me.DATE_OF_BIRTH)?.setValue(d,{emitEvent:!0})}toDisplayDate(e){if(!e)return null;if(/^\d{4}-\d{2}-\d{2}$/.test(e)){let[i,n,l]=e.split("-");return`${n}/${l}/${i}`}return e}toIsoDate(e){if(!e)return null;if(/^\d{4}-\d{2}-\d{2}$/.test(e))return e;let i=e.match(/^(\d{2})\/(\d{2})\/(\d{4})$/);return i?`${i[3]}-${i[1]}-${i[2]}`:null}static \u0275fac=function(i){return new(i||t)(A(He),A(ot),A(ki),A(tt),A(Cn),A(zt),A(Me),A(Li))};static \u0275cmp=$({type:t,selectors:[["app-details"]],viewQuery:function(i,n){if(i&1&&(Ot(Mm,5),Ot(Pm,5)),i&2){let l;Bt(l=Lt())&&(n.businessNameTrigger=l.first),Bt(l=Lt())&&(n.businessNameOverlayContent=l.first)}},decls:18,vars:5,consts:[["propertyLocationTrigger","cdkOverlayOrigin"],["businessNameTrigger","cdkOverlayOrigin"],["businessAddressTrigger","cdkOverlayOrigin"],["industryTrigger","cdkOverlayOrigin"],[1,"flex","flex-col"],[1,"font-medium","font-poppins","text-2xl","md:text-3xl","mb-5","sm:mb-0","tracking-[-2px]"],[1,"mb-8","text-insuredBetter-text_gray"],[1,"flex","flex-col","mb-16","space-y-8","max-w-screen-lg",3,"formGroup"],[1,"flex","flex-col","mb-16","space-y-8",3,"formGroup"],[1,"sticky","bottom-0","bg-white","border-t","border-gray-200","py-4","mt-5","z-10","flex","sm:block","items-center","justify-center"],[1,"inline-block","sm:hidden"],[1,"text-gray-500","underline","text-sm",3,"click"],["src","assets/circle-arrow-left-regular.svg","height","16","width","16","alt","circle-arrow-back-icon",1,"mr-1","inline-block","invert-[44%]","sepia-[8%]","saturate-[700%]","hue-rotate-[182deg]","brightness-[97%]","contrast-[85%]"],[1,"mt-2","px-10","py-4","rounded-lg","text-white","flex","items-center","bg-insuredBetter-forest_green","ml-28","mr-2","sm:mx-0","disabled:opacity-50","disabled:cursor-not-allowed",3,"click","disabled"],[1,"text-sm"],[3,"agencyName","mismatchType","contextType","companyName"],[1,"flex","flex-col","lg:flex-row"],[1,"flex","items-center","w-80","xl:w-2/5","gap-x-8","lg:mr-8"],[1,"block","text-base","font-medium","leading-6","text-gray-900","mb-2","lg:mb-0"],[1,"relative","flex","xl:w-3/5"],["for","personal-street",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],[1,"relative","w-full"],[1,"absolute","left-3","top-[25px]","z-10"],["ngSrc","assets/funnel-search-icon.svg","height","18","width","18","alt","circle-arrow-right-icon"],["cdkOverlayOrigin",""],["id","personal-street","type","text","placeholder","","aria-label","Insurable Property Input Field",1,"p-inputtext","text-base","w-80","xl:w-72","h-12","!pl-9","border","rounded",3,"input","focus","blur","formControlName"],["cdkConnectedOverlay","",3,"backdropClick","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayWidth","cdkConnectedOverlayPositions"],[1,"xl:w-3/5"],[1,"relative","flex","xl:ml-0","xl:w-72"],["for","personal-zip",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],["id","personal-zip","name","personalZip","type","text","inputmode","numeric","pattern","\\d{5}","maxlength","5",1,"zip-code","text-base","w-40","h-12","border","rounded",3,"focus","formControlName","appDigitLimit","ngClass"],[1,"text-red-500","text-xs","mt-1"],[1,"flex","flex-col","lg:flex-row","mb-6"],[1,"flex","items-center","w-80","xl:w-2/5","lg:mr-8","mb-4","sm:mb-0"],["for","estimated-premium",1,"block","text-base","font-medium","leading-5","text-gray-900","mb-2","lg:mb-0"],[1,"flex","sm:max-w-md","w-80","xl:w-72","h-12","border-gray-300","border","rounded"],["id","estimated-premium",1,"w-80","xl:w-72","flex-1","border-0","bg-transparent","py-1.5","text-gray-900","placeholder:text-insuredBetter-text_gray","focus:ring-0","text-base","leading-6","focus-visible:!outline-insuredBetter-forest_green",3,"focus","ngClass","formControlName"],["value","","disabled","","selected",""],[3,"ngValue"],[1,"flex","flex-col","lg:flex-row","mb-4","sm:mb-8"],["for","currently-insured",1,"block","text-base","font-medium","leading-6","text-gray-900","mb-2","lg:mb-0"],["
10id","currently-insured",1,"flex","flex-col","sm:max-w-md","w-80","xl:w-72"],[1,"flex","items-center","ring-gray-300","mb-2"],["id","is-currently-insured","type","radio",1,"ring-transparent","ring-offset-transparent","!accent-insuredBetter-forest_green",3,"focus","value","ngClass","formControlName"],["for","is-currently-insured",1,"ms-2","text-sm","font-medium","leading-6"],[1,"flex","items-center","ring-gray-300"],["id","is-not-currently-insured","type","radio",1,"ring-transparent","ring-offset-transparent","!accent-insuredBetter-forest_green",3,"focus","value","ngClass","formControlName"],["for","is-not-currently-insured",1,"ms-2","text-sm","font-medium","leading-6"],["for","date-of-birth",1,"block","text-base","font-medium","leading-6","text-gray-900","mb-2","lg:mb-0"],[1,"relative","flex","w-80","xl:w-72"],["for","date-of-birth",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],["id","date-of-birth","type","text","inputmode","numeric","placeholder","MM/DD/YYYY","maxlength","10",1,"text-base","w-80","xl:w-72","h-12","border-gray-300","border","rounded","focus-visible:!outline-insuredBetter-forest_green",3,"focus","input","formControlName","ngClass"],[1,"bg-white","border-2","shadow-lg","max-h-60","overflow-y-auto","left-0","text-base","sm:text-sm","sm:leading-6","mr-20"],["class","p-2 hover:bg-gray-100 cursor-pointer","role","option",3,"mousedown","click",4,"ngFor","ngForOf"],["role","option",1,"p-2","hover:bg-gray-100","cursor-pointer",3,"mousedown","click"],[1,"block","text-base","font-medium","leading-6","mb-2","lg:mb-0","text-gray-900"],["for","business-name",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],["id","business-name","type","text","placeholder","","aria-label","Business Name Input Field",1,"text-base","w-80","xl:w-72","h-12","!pl-9","border-gray-300","border","rounded","focus-visible:!outline-insuredBetter-forest_green",3,"input","focus","blur","formControlName"],["for","business-street",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],["id","business-street","type","text","placeholder","","aria-label","Business Address Input Field",1,"text-base","w-80","xl:w-72","h-12","!pl-9","border-gray-300","border","rounded","focus-visible:!outline-insuredBetter-forest_green",3,"input","focus","blur","formControlName"],["for","business-zip",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],["id","business-zip","name","businessZip","type","text","inputmode","numeric","pattern","\\d{5}","maxlength","5",1,"zip-code","text-base","w-40","h-12","border-gray-300","border","rounded",3,"focus","formControlName","appDigitLimit","ngClass"],[1,"relative","flex"],["for","enhanced-industry-suggestion",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],["id","enhanced-industry-suggestion","type","text","aria-label","Business Type Input Field",1,"text-base","w-80","xl:w-72","h-12","!pl-9","border-gray-300","border","rounded","focus-visible:!outline-insuredBetter-forest_green",3,"input","focus","blur","formControlName","ngClass"],["for","business-year-start",1,"absolute","left-3","top-1","z-10","block","text-xs","text-insuredBetter-text_gray"],[1,"w-80","xl:w-72","h-12"],[1,"text-base","w-40"],["id","business-year-start","name","businessYearStart","type","number","inputmode","numeric","placeholder","YYYY",1,"business-year-start","text-base","w-40","h-12","border-gray-300","border","rounded",3,"focus","formControlName","min","max","appDigitLimit","ngClass"],[1,"flex","items-center","w-80","xl:w-2/5","mr-8"],["for","business-size",1,"block","text-base","font-medium","leading-5","mb-2","lg:mb-0","text-gray-900"],[1,"xl:xl:w-3/5"],["id","business-size",1,"block","flex-1","border-0","bg-transparent","py-1.5","text-gray-900","placeholder:text-gray-400","focus:ring-0","text-base","sm:leading-6","focus-visible:!outline-insuredBetter-forest_green",3,"focus","formControlName","ngClass"],[1,"bg-white","border-2","shadow-lg","max-h-60","overflow-y-auto","left-0","text-base","sm:text-sm","sm:leading-6"],["src","assets/circle-arrow-right-regular.svg","height","16","width","16","alt","circle-arrow-right-icon",1,"ml-1","inline-block","filter","brightness-0","invert"],[3,"findAnotherAgent","continueWithoutContext","close","agencyName","mismatchType","contextType","companyName"]],template:function(i,n){i&1&&(o(0,"div",4)(1,"div")(2,"h2",5),c(3,"Just a few questions..."),a(),o(4,"p",6),c(5,"This information will help us find the best agent to work with you."),a()(),I(6,Zm,39,20,"div",7)(7,ou,80,43,"div",8),o(8,"div",9)(9,"div",10)(10,"button",11),P("click",function(){return n.navigateToCoveragesComponent()}),u(11,"img",12),c(12,"Back "),a()(),o(13,"button",13),P("click",function(){return n.navigateToNextComponent()}),o(14,"span",14),I(15,au,1,0)(16,su,2,0),a()()()(),I(17,lu,1,4,"app-appetite-mismatch-modal",15)),i&2&&(s(6),b(n.funnelStateService.insuranceType()===n.insuranceTypeEnum.PERSONAL?6:-1),s(),b(n.funnelStateService.insuranceType()===n.insuranceTypeEnum.COMMERCIAL?7:-1),s(6),h("disabled",n.isCheckingZipCoverage),s(2),b(n.isCheckingZipCoverage?15:16),s(2),b(n.showAppetiteMismatchModal?17:-1))},dependencies:[ke,Ya,Ha,Ga,$t,_n,Va,ja,Yt,Kt,Ii,$a,Wa,qa,Xt,Jt,Qt,ga,va,Xa,Qa,Vt,Ja,kr],styles:[`body .p-autocomplete-input,.p-inputtext,.business-year-start,.zip-code{border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-top:2rem;padding-bottom:1.25rem;outline-color:#08730a!important}body .p-hidden-accessible{display:none}.p-autocomplete-panel{border-width:1px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
10--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.p-autocomplete-panel li{padding-left:1rem;padding-right:1rem}.p-autocomplete-panel li{padding-top:.5rem;padding-bottom:.5rem}.p-autocomplete-panel li:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}[type=text],[type=number],[type=email]{padding:2rem .75rem 1.25rem}input[type=radio]{--tw-text-opacity: 1 !important;color:rgb(8 115 10 / var(--tw-text-opacity))!important}input[type=radio]:checked{background-color:currentColor!important}[type=text]:focus,[type=number]:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));--tw-ring-offset-color: #9ca3af}#business-size,#estimated-premium,#personal-zip{padding-left:.75rem;padding-right:.75rem}input[type=radio]{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity));--tw-ring-color: transparent;--tw-ring-offset-color: transparent}input[type=radio]:checked{--tw-ring-color: transparent;--tw-ring-offset-color: transparent}input[type=radio]:focus-visible{--tw-ring-color: transparent;--tw-ring-offset-color: transparent}input[type=radio]:focus{--tw-ring-color: transparent;--tw-ring-offset-color: transparent}.invalid,.invalidChild input{border-color:red}.invalidSelect{border:1.2px solid red}.trigger-element:after{content:"";position:absolute;width:10px;height:10px;background-color:red;bottom:0;left:0} 11`],encapsulation:2})}return t})();var cu=["jornayaIdInput"],fo=t=>({invalid:t}),du=t=>({"border-red-500":t});function mu(t,r){t&1&&(o(0,"div",12),c(1,"First name is required"),a())}function uu(t,r){t&1&&(o(0,"div",12),c(1,"Last name is required"),a())}function pu(t,r){t&1&&(o(0,"div",12),c(1,"Please provide a valid phone number"),a())}function hu(t,r){t&1&&(o(0,"div",12),c(1,"Please provide a valid email address"),a())}function gu(t,r){t&1&&c(0," Loading Matching Companies... ")}function fu(t,r){t&1&&c(0," Loading Matching Agents... ")}function xu(t,r){t&1&&c(0," Loading... ")}function vu(t,r){t&1&&c(0," Loading Matching Agencies... ")}function yu(t,r){t&1&&c(0," Agree & Show Recommended Companies ")}function _u(t,r){t&1&&c(0," Agree & Show Recommended Agents ")}function bu(t,r){t&1&&c(0," Contact Agency ")}function Cu(t,r){t&1&&c(0," Agree & Show Matching Agents ")}function wu(t,r){t&1&&(o(0,"span",38),ne(),o(1,"svg",40),u(2,"circle",41)(3,"path",42),a()())}function Su(t,r){t&1&&(o(0,"span"),u(1,"img",43),a())}function Eu(t,r){if(t&1&&(o(0,"div",39)(1,"p",44),c(2),a()()),t&2){let e=f();s(2),M(e.tcpaConsent)}}function Iu(t,r){t&1&&(o(0,"div",39)(1,"form")(2,"p",45),c(3," By clicking the 'Contact Agency' button above, I consent to my selected agent contacting me at the phone number and email I provided. This may include automated technology, SMS/MMS messages, and prerecorded voice messages about procuring insurance, even if my number is on a Do Not Call list. Consent is not required for purchase, message and data rates may apply, and I can opt out at any time. "),a(),u(4,"input",46,0),a()())}function ku(t,r){t&1&&(o(0,"span"),c(1," See "),o(2,"a",52),c(3," VIU by HUB's Privacy Policy "),a(),c(4," for more details. "),a())}function Au(t,r){if(t&1&&(mi(0),o(1,"div",48)(2,"strong"),c(3,'By clicking the "Agree & Show Matching Agents" button above,'),a(),c(4),o(5,"div",49),c(6," You may opt out at any time by emailing "),o(7,"a",50),c(8,"[email protected]"),a(),c(9),o(10,"a",51),c(11,"Privacy Policy"),a(),c(12,", including for market research and analytics. "),I(13,ku,5,0,"span"),a()(),ui()),t&2){let e=f(2);s(4),gn(" you consent to receiving communications from InsuredBetter and its insurance marketing partner, ",e.backstopPartner==null?null:e.backstopPartner.legalEntityName,", at the email address or phone number you've provided for marketing purposes, which may include contact through automated telephone dialing systems, pre-recorded calls, artificial voices, text messages, and emails, potentially including your wireless number. You authorize InsuredBetter to share your information with an independent agent and/or insurance marketing partner, ",e.backstopPartner==null?null:e.backstopPartner.legalEntityName,". You are not required to provide this consent to purchase any goods or services and you may revoke consent at any time. "),s(5),Z(". ",e.backstopPartner==null?null:e.backstopPartner.legalEntityName," may share certain personal and coverage information with InsuredBetter for use in accordance with its "),s(4),b((e.backstopPartner==null?null:e.backstopPartner.legalEntityName)==="VIU by HUB"?13:-1)}}function Tu(t,r){t&1&&(mi(0),o(1,"div",45)(2,"strong"),c(3,'By clicking the "Agree & Show Matching Agents" button above,'),a(),c(4," an InsuredBetter partner may contact me at the email address and phone number I provide. Contact may include automated SMS/MMS messages about procuring insurance, even if my number is on a Do Not Call list. Consent isn't required to make a purchase, message and data rates may apply, and I can opt out anytime by emailing "),o(5,"a",50),c(6,"[email protected]"),a(),c(7,". "),a(),ui())}function Bu(t,r){if(t&1&&(o(0,"div",39)(1,"form")(2,"div",45),u(3,"input",47),I(4,Au,14,4,"ng-container")(5,Tu,8,0,"ng-container"),a(),u(6,"input",46,0),a()()),t&2){let e=f();s(4),b(e.backstopPartner!=null&&e.backstopPartner.legalEntityName?4:-1),s(),b(e.backstopPartner!=null&&e.backstopPartner.legalEntityName?-1:5)}}var xo=(()=>{class t{platformId;funnelStateService;funnelNavigationService;fulcrumManager;formBuilder;asyncValidatorService;factFunnelStepViewService;location;fulcrumService;featureFlagService;router;jornayaIdInput;backstopPartner;personalFormGroup;funnelFormControlNamesEnum=me;isFirstNameInvalid=!1;isLastNameInvalid=!1;isPhoneInvalid=!1;isEmailInvalid=!1;isSubmitButtonDisabled=!1;isLoadingIndicatorActive=!1;jornayaIdLoaded=!1;jornayaIdRetrievalTimeExpired=!1;tcpaConsent="";mutationObserver;
11emailStatusSubscription;isPhoneFocused=!1;canopyConnectActive;insuredBetterCcrFlowActive;isAgencyContextMode=Je(()=>!!this.funnelStateService.agencyContext());isCompanyContextMode=Je(()=>!!this.funnelStateService.companyContext());isCompanySearchFunnelMode=Je(()=>this.funnelStateService.companySearchFunnelMode());constructor(e,i,n,l,d,m,p,_,g,y,v){this.platformId=e,this.funnelStateService=i,this.funnelNavigationService=n,this.fulcrumManager=l,this.formBuilder=d,this.asyncValidatorService=m,this.factFunnelStepViewService=p,this.location=_,this.fulcrumService=g,this.featureFlagService=y,this.router=v,this.canopyConnectActive=this.featureFlagService.isActive("canopy-connect-active"),this.insuredBetterCcrFlowActive=this.featureFlagService.isActive("insured-better-ccr-flow"),this.personalFormGroup=this.getPersonalFormGroup()}ngOnInit(){!this.funnelStateService.areBusinessDetailsPresent()&&!this.funnelStateService.arePersonalDetailsPresent()?(this.funnelStateService.funnelState.set(ge.DETAILS),this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS)):(this.isCompanySearchFunnelMode()&&(this.tcpaConsent=this.buildTcpaConsent(void 0)),this.fulcrumManager.getBackstopPartner().subscribe(e=>{this.backstopPartner=e,this.tcpaConsent=this.buildTcpaConsent(this.backstopPartner)}),this.funnelStateService.funnelState.set(ge.FINISH)),this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.setStateForPersonalFormValuesOnChange(),this.subscribeToEmailStatusChanges(),this.fulcrumService.getFlag("canopy-connect-active").subscribe(e=>{this.canopyConnectActive=e??!1})}ngAfterViewInit(){if(!oe(this.platformId))return;if(!this.jornayaIdInput){this.jornayaIdRetrievalTimeExpired=!0;return}let e=this.jornayaIdInput.nativeElement;e&&(this.mutationObserver=new MutationObserver(i=>{i.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="value"){let l=n.target.value;this.jornayaIdLoaded=!!l}})}),this.jornayaIdLoaded=!!e.value,this.mutationObserver.observe(e,{attributes:!0,attributeFilter:["value"]})),setTimeout(()=>{this.jornayaIdRetrievalTimeExpired=!0},5e3)}ngOnDestroy(){this.mutationObserver&&this.mutationObserver.disconnect(),this.emailStatusSubscription?.unsubscribe()}handlePhoneFocus(e){this.isPhoneFocused=!0,this.setPhoneInputPosition(e)}removeNonDigits(e){if(e!==void 0)return e.replaceAll(/\D/g,"")}setPhoneInputPosition(e){this.personalFormGroup.get(es.PHONE)?.value===""&&setTimeout(()=>{e.target.setSelectionRange(1,1)},0)}buildTcpaConsent(e){return this.isCompanySearchFunnelMode()?`By clicking the "Agree & Show Recommended Companies" button above, I consent to be contacted about my insurance inquiry via phone, email, or text, including automated messages. Consent is not required for purchase, and I can opt out anytime. If no agent match is found ${e?.legalEntityName?`, ${e.legalEntityName},`:""} a InsuredBetter partner, may contact me instead.`:e?.legalEntityName!=null&&e.legalEntityName!==""?this.insuredBetterCcrFlowActive?`By clicking 'Agree & Show Matching Agents,' I consent to be contacted about my insurance inquiry via phone, email, or text, including automated messages. Consent is not required for purchase, and I can opt out anytime. If no agent match is found, ${e.legalEntityName}, a InsuredBetter partner, may contact me instead.`:`By clicking 'Continue,' I consent to be contacted about my insurance inquiry via phone, email, or text, including automated messages. Consent is not required for purchase, and I can opt out anytime. If no agent match is found, ${e.legalEntityName}, a InsuredBetter partner, may contact me instead.`:(this.funnelStateService.backstopConsentJornayaId.set(void 0),"")}getPersonalFormGroup(){return this.formBuilder.group({firstName:[this.funnelStateService.firstName()??"",[Be.required]],lastName:[this.funnelStateService.lastName()??"",[Be.required]],phone:[this.funnelStateService.phone()??"",[Be.required,this.phoneValidator()],[this.asyncValidatorService.validatePhone(this.fulcrumManager)]],email:[this.funnelStateService.email()??"",{validators:[Be.email,Be.required],asyncValidators:[this.asyncValidatorService.validateEmail(this.fulcrumManager)],updateOn:"blur"}
11],notes:[this.funnelStateService.notes()??""]})}phoneValidator(){return e=>{if(!e.value)return null;let i=this.removeNonDigits(e.value);return i===void 0||i.length!==10?{invalidPhone:!0}:null}}subscribeToEmailStatusChanges(){let e=this.personalFormGroup.controls[me.EMAIL];this.emailStatusSubscription=e.statusChanges.subscribe(i=>{i!=="PENDING"&&e.touched&&(this.isEmailInvalid=e.invalid)})}setStateForPersonalFormValuesOnChange(){this.personalFormGroup.valueChanges.subscribe(e=>{this.funnelStateService.firstName.set(e.firstName),this.funnelStateService.lastName.set(e.lastName),this.funnelStateService.phone.set(e.phone),this.funnelStateService.email.set(e.email),this.funnelStateService.notes.set(e.notes)})}submitData(){if(this.personalFormGroup.markAllAsTouched(),this.personalFormGroup.updateValueAndValidity({emitEvent:!0}),this.personalFormGroup.pending){this.isSubmitButtonDisabled=!0,this.personalFormGroup.statusChanges.pipe(st(i=>i!=="PENDING"),dn(1)).subscribe(()=>{this.isSubmitButtonDisabled=!1,this.submitData()});return}if(this.personalFormGroup.invalid){this.displayFormValidationMessages(),this.scrollToFirstInvalidField();return}if(this.isSubmitButtonDisabled=!0,this.isLoadingIndicatorActive=!0,this.setBackstopConsentJornayaId(),this.isCompanySearchFunnelMode()){this.fulcrumManager.postSearchCriteria().pipe(Vi(i=>{i&&this.funnelStateService.searchId.set(i)}),Ye(()=>Te(null))).subscribe(i=>{if(it.fetchNewLeadID(),i){let n=this.funnelStateService.enhancedIndustrySuggestion()?.description;this.router.navigate(["/insurance-company-results"],{queryParams:Ae({sid:i},n?{naics:n}:{})}).finally()}else this.isSubmitButtonDisabled=!1,this.isLoadingIndicatorActive=!1,this.funnelStateService.isErrorOnSubmit.set(!0)});return}let e=this.funnelStateService.companyContext();if(e){this.fulcrumManager.postSearchCriteria().pipe(Vi(i=>{i&&this.funnelStateService.searchId.set(i)}),Ye(()=>Te(null))).subscribe(i=>{it.fetchNewLeadID(),i?this.router.navigate(["/agency-results"],{queryParams:{sid:i,carriers:e.companyId}}).finally():(this.isSubmitButtonDisabled=!1,this.isLoadingIndicatorActive=!1,this.funnelStateService.isErrorOnSubmit.set(!0))});return}this.isAgencyContextMode()?this.fulcrumManager.postSearchCriteria().pipe(Vi(i=>{i&&this.funnelStateService.searchId.set(i)}),Ye(()=>Te(null))).subscribe(()=>{it.fetchNewLeadID(),this.navigateToAgencyProfile()}):this.insuredBetterCcrFlowActive?this.fulcrumManager.postSearchCriteria().pipe(Vi(i=>{i&&this.funnelStateService.searchId.set(i)}),Ye(()=>Te(null))).subscribe(()=>{it.fetchNewLeadID(),this.navigateToAgencyResults()}):this.funnelStateService.insuranceType()===re.COMMERCIAL?this.submitCommercialLinesRequest():this.funnelStateService.insuranceType()===re.PERSONAL&&this.submitPersonalLinesRequest()}navigateToDetailsComponent(){this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS)}navigateToAgencyProfile(){let e=this.funnelStateService.agencyContext(),i=this.funnelStateService.searchId();if(!e)return;let n=new URLSearchParams;i&&n.set("sid",i),n.set("autoContact",e.id),setTimeout(()=>{window.location.href=`${J.insuredBetterDirectoryUrl}/agency-profile/${e.agencyProfileId}/${e.urlSlug}/?${n.toString()}`},0)}setBackstopConsentJornayaId(){if(!this.jornayaIdInput)return;let e=this.jornayaIdInput.nativeElement.value;this.backstopPartner?.legalEntityName&&e!=null&&e!==""?this.funnelStateService.backstopConsentJornayaId.set(e):this.funnelStateService.backstopConsentJornayaId.set(void 0)}submitCommercialLinesRequest(){this.fulcrumManager.postCommercialLead().subscribe({next:e=>{this.onPostLead(e)},error:e=>{console.error("Error posting commercial lead:",e),this.isSubmitButtonDisabled=!1,this.isLoadingIndicatorActive=!1,it.fetchNewLeadID()},complete:()=>{it.fetchNewLeadID()}})}submitPersonalLinesRequest(){this.fulcrumManager.postPersonalLead().subscribe({next:e=>{this.onPostLead(e)},error:e=>{console.error("Error posting personal lead:",e),this.isSubmitButtonDisabled=!1,this.isLoadingIndicatorActive=!1,it.fetchNewLeadID()},complete:()=>{it.fetchNewLeadID()}})}displayFormValidationMessages(){this.isPhoneInvalid=this.personalFormGroup.controls[me.PHONE].invalid,this.isEmailInvalid=this.personalFormGroup.controls[me.EMAIL].invalid,this.isFirstNameInvalid=this.personalFormGroup.controls[me.FIRST_NAME].invalid,this.isLastNameInvalid=this.personalFormGroup.controls[me.LAST_NAME].invalid}scrollToFirstInvalidField(){let e=document.querySelectorAll(".ng-invalid");e.length>0&&e[0].scrollIntoView({behavior:"smooth",block:"center"})}onPostLead(e){e==null&&this.funnelStateService.isErrorOnSubmit.set(!0);let i=e?.inquiryId;this.funnelStateService.searchId.set(i),it.fetchNewLeadID(),window?.dataLayer?.push({event:oi.FUNNEL_COMPLETION,funnel_category:this.funnelStateService.insuranceType()?.toString()}),i?this.fulcrumManager.fetchTopFive(i).subscribe({next:n=>{this.funnelStateService.setRecommendations(n),this.navigateToNextComponent(e)},error:n=>
11{console.error("Failed to load agency recommendations",n),this.isSubmitButtonDisabled=!1,this.isLoadingIndicatorActive=!1}}):this.navigateToNextComponent(e)}navigateToAgencyResults(){let e=this.funnelStateService.searchId();this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),e&&this.router.navigate(["/agency-results"],{queryParams:{sid:e}}).finally()}navigateToNextComponent(e){if(this.funnelStateService.insuranceType()===re.PERSONAL&&this.canopyConnectActive){this.funnelStateService.leadId.set(e?.leadId),this.funnelNavigationService.navigateToRouterOutletComponent(se.GET_A_QUICK_QUOTE);return}this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.funnelNavigationService.navigateToRouterOutletComponent(se.THANK_YOU)}static \u0275fac=function(i){return new(i||t)(A(de),A(He),A(ot),A(Cn),A(ki),A(ts),A(zt),A(Me),A(tt),A(Bi),A(le))};static \u0275cmp=$({type:t,selectors:[["app-funnel-end"]],viewQuery:function(i,n){if(i&1&&Ot(cu,5),i&2){let l;Bt(l=Lt())&&(n.jornayaIdInput=l.first)}},decls:72,vars:26,consts:[["jornayaIdInput",""],["xmlns","http://www.w3.org/1999/html",1,"flex","flex-col"],[1,"font-medium","font-poppins","text-2xl","md:text-3xl","mb-5","sm:mb-0","tracking-[-2px]"],[1,"mb-8","text-insuredBetter-text_gray"],[1,"flex","flex-col","mb-3","space-y-8","max-w-screen-lg",3,"formGroup"],[1,"flex","flex-col","lg:flex-row"],[1,"flex","items-center","w-80","xl:w-2/5","lg:mr-8","gap-x-8"],[1,"block","text-base","font-medium","leading-6","mb-2","lg:mb-0","text-gray-900"],[1,"relative","flex","xl:w-3/5"],[1,"relative","flex","ml-auto","lg:mt-5"],["for","first-name",1,"absolute","left-3","top-1","z-10","block","text-xs","text-gray-400"],["id","first-name","name","firstName","type","text",1,"personal-form-data","pt-8","pb-5","border","rounded","border-solid","border-gray-300","w-80","xl:w-72","h-12",3,"focus","ngClass","formControlName"],[1,"text-red-500","text-xs","mt-1"],[1,"relative","flex","ml-auto","mt-5"],["for","last-name",1,"absolute","left-3","top-1","z-10","block","text-xs","text-gray-400"],["id","last-name","name","lastName","type","text",1,"personal-form-data","pt-8","pb-5","border","rounded","border-solid","border-gray-300","w-80","xl:w-72","h-12",3,"focus","ngClass","formControlName"],[1,"flex","flex-col","items-left","w-80","xl:w-2/5","lg:mr-8","gap-x-8","lg:justify-center"],[1,"block","text-base","font-medium","leading-6","mb-0","text-gray-900"],[1,"text-xs","text-insuredBetter-text_gray","mb-3","lg:mb-0"],[1,"xl:w-3/5"],[1,"relative","flex","w-80","xl:w-72"],["for","personal-phone",1,"absolute","left-3","top-1","z-10","text-xs","text-gray-400"],["id","personal-phone","type","tel","name","phone","appPhoneFormatter","",1,"h-12","pt-8","pb-5","px-3","border","rounded","border-solid","border-gray-300","focus-visible:!outline-insuredBetter-forest_green",3,"focus","click","ngClass","formControlName"],[1,"flex","flex-col","mt-5","lg:flex-row"],[1,"relative","flex"],["for","email",1,"absolute","left-3","top-1","z-10","block","text-xs","text-gray-400"],["id","email","name","email","type","email","email","","required","",1,"personal-form-data","pt-8","pb-5","border","rounded","border-solid","border-gray-300","w-80","xl:w-72","h-12",3,"focus","ngClass","formControlName"],[1,"flex","flex-col","mt-5","mb-16","lg:flex-row"],[1,"flex","items-center","w-80","xl:w-2/5","lg:mr-8"],["for","notes",1,"block","text-base","font-medium","leading-5","mb-2","lg:mb-0","text-gray-900"],[1,"flex","ring-inset","ring-offset-0","ring-offset-white","outline-offset-2","xl:w-3/5"],["id","notes","name","notes","type","text","maxlength","1000",1,"personal-form-data","text-base","w-80","xl:w-72","h-24","border","rounded","border-solid","border-gray-300","py-2","focus-visible:!outline-insuredBetter-forest_green",3,"formControlName"],[1,"sticky","bottom-0","bg-white","border-t","border-gray-200","py-4","mt-5","z-10","flex","sm:block","items-center","justify-center"],[1,"inline-block","sm:hidden","text-nowrap"],[1,"text-gray-500","underline","text-sm",3,"click"],["src","assets/circle-arrow-left-regular.svg","height","16","width","16","alt","circle-arrow-back-icon",1,"mr-1","inline-block","invert-[44%]","sepia-[8%]","saturate-[700%]","hue-rotate-[182deg]","brightness-[97%]","contrast-[85%]"],[1,"mt-2","px-10","py-4","rounded-lg","text-white","flex","items-center","justify-center","gap-2","ml-28","mr-2","sm:mx-0","sm:w-full","sm:max-w-[614px]","bg-insuredBetter-forest_green","disabled:bg-insuredBetter-medium_gray",3,"click","disabled"],[1,"text-base","font-medium","flex","items-center"],[1,"ml-1","inline-block"],[1,"max-w-[614px]","leading-5","mb-3"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","h-5","w-5","text-white"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"],["src","assets/circle-arrow-right-regular.svg","height","16","width","16","alt","circle-arrow-right-icon",1,"ml-1","inline-block","filter","brightness-0","invert"],[1,"text-xs","text-insuredBetter-text_gray","mt-4"],[1,"text-xs","text-insuredBetter-text_gray"],["id","leadid_token","name","universal_leadid","type","hidden","value",""],["type","hidden","id","leadid_tcpa_disclosure"],[1,"mb-6"],[1,"mt-2"],["href","mailto:[email protected]",1,"text-insuredBetter-forest_green","underline","hover:no-underline"],["href","https://www.iubenda.com/privacy-policy/75803826/full-legal","target","_blank",1,"text-insuredBetter-forest_green","underline","hover:no-underline","whitespace-nowrap"],["href","https://www.viubyhub.com/privacy-policy","target","_blank",1,"text-insuredBetter-forest_green","underline","hover:no-underline"]],template:function(i,n){i&1&&(o(0,"div",1)(1,"div")(2,"h2",2),c(3,"Now, let's connect you with an agent"),a(),o(4,"p",3),c(5,"Tell us how your agent can get in touch with you."),a()(),o(6,"div",4)(7,"div",5)(8,"div",6)(9,"span",7),c(10,"What's your name?"),a()(),o(11,"div",8)(12,"div")(13,"div",9)(14,"label",10),c(15,"First name"),a(),o(16,"input",11),P("focus",function(){return n.isFirstNameInvalid=!1}
11),a()(),I(17,mu,2,0,"div",12),o(18,"div",13)(19,"label",14),c(20,"Last name"),a(),o(21,"input",15),P("focus",function(){return n.isLastNameInvalid=!1}),a()(),I(22,uu,2,0,"div",12),a()()(),o(23,"div",5)(24,"div",16)(25,"span",17),c(26,"Mobile (or primary) phone number"),a(),o(27,"div",18),c(28,"Mobile number preferred for time-sensitive updates "),a()(),o(29,"div",19)(30,"div",20)(31,"label",21),c(32,"Phone number"),a(),o(33,"input",22),P("focus",function(d){return n.handlePhoneFocus(d),n.isPhoneInvalid=!1})("click",function(d){return n.handlePhoneFocus(d)}),a()(),I(34,pu,2,0,"div",12),a()(),o(35,"div",23)(36,"div",6)(37,"span",7),c(38,"Email address"),a()(),o(39,"div",19)(40,"div",24)(41,"label",25),c(42,"Email address"),a(),o(43,"input",26),P("focus",function(){return n.isEmailInvalid=!1}),a()(),I(44,hu,2,0,"div",12),a()(),o(45,"div",27)(46,"div",28)(47,"label",29),c(48,"Any additional comments for your agent?"),a()(),o(49,"div",30)(50,"textarea",31),c(51," "),a()()()(),o(52,"div",32)(53,"div",33)(54,"button",34),P("click",function(){return n.navigateToDetailsComponent()}),u(55,"img",35),c(56,"Back "),a()(),o(57,"button",36),P("click",function(){return n.submitData()}),o(58,"span",37),I(59,gu,1,0)(60,fu,1,0)(61,xu,1,0)(62,vu,1,0)(63,yu,1,0)(64,_u,1,0)(65,bu,1,0)(66,Cu,1,0),a(),I(67,wu,4,0,"span",38)(68,Su,2,0,"span"),a()(),I(69,Eu,3,1,"div",39)(70,Iu,6,0,"div",39)(71,Bu,8,2,"div",39),a()),i&2&&(s(6),h("formGroup",n.personalFormGroup),s(10),K("formControlName",n.funnelFormControlNamesEnum.FIRST_NAME),h("ngClass",ue(18,fo,n.isFirstNameInvalid)),s(),b(n.isFirstNameInvalid?17:-1),s(4),K("formControlName",n.funnelFormControlNamesEnum.LAST_NAME),h("ngClass",ue(20,fo,n.isLastNameInvalid)),s(),b(n.isLastNameInvalid?22:-1),s(11),K("formControlName",n.funnelFormControlNamesEnum.PHONE),h("ngClass",ue(22,du,n.isPhoneInvalid)),s(),b(n.isPhoneInvalid?34:-1),s(9),K("formControlName",n.funnelFormControlNamesEnum.EMAIL),h("ngClass",ue(24,fo,n.isEmailInvalid)),s(),b(n.isEmailInvalid?44:-1),s(6),K("formControlName",n.funnelFormControlNamesEnum.NOTES),s(7),h("disabled",n.isSubmitButtonDisabled||!n.jornayaIdLoaded&&!n.jornayaIdRetrievalTimeExpired),s(2),b(n.isLoadingIndicatorActive&&n.isCompanySearchFunnelMode()?59:n.isLoadingIndicatorActive&&n.isCompanyContextMode()?60:n.isLoadingIndicatorActive&&n.isAgencyContextMode()?61:n.isLoadingIndicatorActive?62:n.isCompanySearchFunnelMode()?63:n.isCompanyContextMode()?64:n.isAgencyContextMode()?65:66),s(8),b(n.isLoadingIndicatorActive||!n.jornayaIdLoaded&&!n.jornayaIdRetrievalTimeExpired?67:68),s(2),b(n.isCompanySearchFunnelMode()&&n.tcpaConsent?69:n.isAgencyContextMode()?70:71))},dependencies:[Xt,Ei,$t,Yt,Kt,Za,Ii,bn,Jt,Qt,ke,wn],styles:[`input{border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-top:2rem;padding-bottom:1.25rem;outline-color:#08730a}[type=text],[type=number],[type=email]{padding:2rem .75rem 1.25rem}[type=text]:focus,[type=email]:focus{border-color:rgb(255 255 255 / var(--tw-border-opacity));--tw-border-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));--tw-ring-opacity: 1}textarea.personal-form-data[type=text]{padding-top:.5rem;padding-bottom:.5rem}.invalid,.invalidChild input{border-color:red} 12`],encapsulation:2})}return t})();function Lu(t,r){if(t&1&&(o(0,"div",4),u(1,"img",5),c(2),a()),t&2){let e=f();s(2),Z(" ",e.locationText," ")}}var dc=(()=>{class t{recommendation;mode="agency";carrier;get profileUrl(){return`${this.isBasic(this.recommendation.agency)?"/basic":""}/agency-profile/${this.recommendation.agency.iiabaId}`}get logoUrl(){return`${J.fulcrumUrl}/api/v1/agency/${this.recommendation.agency.agencyId}/image`}isBasic(e){return!e.featureSet.includes("member_plus")&&!e.featureSet.includes("advantage")}get cardHref(){if(this.mode==="carrier"&&this.carrier){let e=new URL("/find-an-agent",window.location.origin);return this.carrier.id!==void 0&&this.carrier.id!==null&&e.searchParams.set("carrierId",String(this.carrier.id)),e.pathname+e.search}return this.profileUrl}get cardImgSrc(){return this.mode==="carrier"?this.carrier?.logoUrl||"assets/placeholder-carrier.svg":this.logoUrl}get cardTitle(){return this.mode==="carrier"?this.carrier?.name||"":this.recommendation.agency.name}get showLocation(){return this.mode==="agency"&&!!this.recommendation?.agency?.address}get locationText(){if(!this.showLocation)return"";let e=this.recommendation.agency.address;return e?`${e.city}, ${e.state}`:""}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-agency-recommendation"]],inputs:{recommendation:"recommendation",mode:"mode",carrier:"carrier"},decls:6,vars:5,consts:[["target","_blank",1,"flex","flex-col","flex-1","items-center","text-center","max-w-32","group",3,"href"],[1,"w-28","h-28","border","border-gray-300","group-hover:border-forest_green","rounded","p-3","flex","items-center","justify-center"],[1,"max-w-full","max-h-full","object-contain",3,"src","alt"],[1,"font-semibold","text-[12px]","mt-2","leading-tight","mb-[2px]","text-insuredBetter-dark_forest"],[1,"text-[12px]","text-gray-700","flex","items-start"],["src","assets/map-marker-funnel-end-tiles.svg","alt","","width","8",1,"relative","top-[3px]","mr-1"]],template:function(i,n){i&1&&(o(0,"a",0)(1,"div",1),u(2,"img",2),a(),o(3,"div",3),c(4),a(),I(5,Lu,3,1,"div",4),a()),i&2&&(h("href",n.cardHref,k),s(2),h("src",n.cardImgSrc,k)("alt",n.cardTitle+" logo"),s(2),Z(" ",n.cardTitle," "),s(),b(n.showLocation?5:-1))},encapsulation:2})}return t})();function Fu(t,r){if(t&1&&u(0,"app-agency-recommendation",19),t&2){let e=r.$implicit;h("recommendation",e)}}function Du(t,r){if(t&1&&(o(0,"div",15)(1,"div",16),c(2,"Here are some top independent agents we\u2019ll reach out to on your behalf \u2013 the best one will c
12ontact you soon!"),a(),o(3,"div",17),I(4,Fu,1,1,"app-agency-recommendation",18),a()()),t&2){let e=f(2);s(4),h("ngForOf",e.recommendations)}}function Mu(t,r){if(t&1&&(o(0,"div",1)(1,"h2",3),c(2),a(),o(3,"span",4),c(4,"We\u2019ve received your quote request and any available policy details. A matching agent will be in touch soon."),a(),o(5,"div",5)(6,"div",6)(7,"div",7),u(8,"img",8),a(),o(9,"div",9),c(10,"We're locating the perfect independent insurance agent for you"),a()(),u(11,"div",10),o(12,"div",6)(13,"div",7),u(14,"img",11),a(),o(15,"div",9),c(16,"Your new agent will contact you to discuss your insurance needs"),a()(),u(17,"div",10),o(18,"div",12)(19,"div",7),u(20,"img",13),a(),o(21,"div",9),c(22,"Your agent will work with multiple companies to get the best quote"),a()()()(),I(23,Du,5,1,"div",14)),t&2){let e=f();s(2),Z("Success \u2014 You're all set, ",e.firstName,"!"),s(21),h("ngIf",e.recommendations.length)}}function Pu(t,r){t&1&&(o(0,"div",1)(1,"div")(2,"p",20),c(3,"Something went wrong!"),a()()())}var vo=(()=>{class t{funnelStateService;router;contentStateService;factFunnelStepViewService;location;firstName;isErrorOnSubmit;recommendations=[];constructor(e,i,n,l,d){this.funnelStateService=e,this.router=i,this.contentStateService=n,this.factFunnelStepViewService=l,this.location=d,this.firstName=this.funnelStateService.firstName()||"Shopper",this.isErrorOnSubmit=this.funnelStateService.isErrorOnSubmit()}ngOnInit(){this.funnelStateService.funnelState.set(ge.THANK_YOU),this.recommendations=this.funnelStateService.getRecommendations(),this.factFunnelStepViewService.captureFactFunnelStepView(this.location.path(!0)),this.funnelStateService.clearState()}navigateToPreviousContentPage(){this.router.navigateByUrl(this.contentStateService.currentContentUrl()).finally()}static \u0275fac=function(i){return new(i||t)(A(He),A(le),A(ye),A(zt),A(Me))};static \u0275cmp=$({type:t,selectors:[["app-thank-you"]],decls:5,vars:2,consts:[["xmlns","http://www.w3.org/1999/html"],[1,"text-center"],[1,"mt-14","sm:mt-20","px-8","py-4","rounded-lg","text-white","bg-insuredBetter-forest_green","hover:bg-insuredBetter-dark_forest","font-poppins","text-sm","block","mx-auto",3,"click"],[1,"text-center","text-lg","sm:text-xl","font-interTight","mb-1.5","text-insuredBetter-text_gray"],[1,"inline-block","font-poppins","text-2xl","md:text-3xl","tracking-[-2px]","max-w-screen-sm","mb-12","sm:mb-16","leading-[1.4]"],[1,"max-w-[384px]","flex","flex-col","sm:flex-row","items-center","sm:justify-around","sm:max-w-screen-md","mx-auto"],[1,"text-left","sm:text-center","flex","sm:flex-col","items-center","max-w-96","sm:max-w-48","whats-next-steps","relative"],[1,"bg-white","pr-2","sm:px-5","relative","z-10","min-w-12"],["src","assets/location-marker-icon-green.svg","width","45","height","45","alt",""],[1,"sm:mt-4","ml-2","sm:ml-0","text-insuredBetter-text_gray"],[1,"border-l-2","border-insuredBetter-lime","h-10","self-start","ml-[17px]","block","sm:hidden","my-2"],["src","assets/quote-icon-green.svg","width","45","height","45","alt",""],[1,"text-left","sm:text-center","flex","sm:flex-col","items-center","max-w-96","sm:max-w-48"],["src","assets/users-icon-green.svg","width","45","height","45","alt",""],["class","mt-12",4,"ngIf"],[1,"mt-12"],[1,"text-insuredBetter-text_gray","text-center","text-sm"],[1,"flex","flex-wrap","md:flex-nowrap","justify-center","mt-6","gap-4"],[3,"recommendation",4,"ngFor","ngForOf"],[3,"recommendation"],[1,"text-3xl","font-bold","mb-4"]],template:function(i,n){i&1&&(o(0,"div",0),I(1,Mu,24,2)(2,Pu,4,0,"div",1),a(),o(3,"button",2),P("click",function(){return n.navigateToPreviousContentPage()}),c(4,` Close Window 13`),a()),i&2&&(s(),b(n.isErrorOnSubmit?-1:1),s(),b(n.isErrorOnSubmit?2:-1))},dependencies:[Pe,Vt,Ht,dc],styles:['.whats-next-steps[_ngcontent-%COMP%]:after{position:absolute;top:107%;left:35px;display:none;height:120%;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(117 186 48 / var(--tw-border-opacity));--tw-content: "";content:var(--tw-content)}@media (min-width: 640px){.whats-next-steps[_ngcontent-%COMP%]:after{top:18%;left:64%;display:block;height:0px;width:100%}}']})}return t})();var zu=()=>({title:"No extra steps",desc:"We'll send your policy details straight to your matched agent.",iconColor:"text-insuredBetter-lime"}),Ou=()=>({title:"Better quotes, faster",desc:"Real info = accurate recommendations.",iconColor:"text-insuredBetter-lime"}),Nu=()=>({title:"Always secure",desc:"Your login is encrypted and never shared.",iconColor:"text-insuredBetter-lime"}),Ru=(t,r,e)=>[t,r,e];function Uu(t,r){t&1&&(ne(),o(0,"svg",21),u(1,"path",22),a())}function ju(t,r){t&1&&(ne(),o(0,"svg",21),u(1,"path",23),a())}function Vu(t,r){t&1&&(ne(),o(0,"svg",24),u(1,"path",25),a())}function Hu(t,r){if(t&1&&(mi(0),o(1,"div",16),I(2,Uu,2,0,"svg",17)(3,ju,2,0,"svg",17)(4,Vu,2,0,"svg",18),o(5,"p",19)(6,"strong"),c(7),a(),c(8,": "),o(9,"span",20),c(10),a()()(),ui()),t&2){let e=r.$implicit,i=r.index;s(2),h("ngIf",i===0),s(),h("ngIf",i===1),s(),h("ngIf",i===2),s(3),M(e.title),s(3),M(e.desc)}}function Gu(t,r){t&1&&(ne(),o(0,"svg",10),u(1,"path",26),a())}function qu(t,r){t&1&&(ne(),o(0,"svg",11),u(1,"circle",27)(2,"path",28),a())}function Wu(t,r){t&1&&(o(0,"span"),c(1,"Select Your Current Insurance Provider"),a())}function Zu(t,r){t&1&&(o(0,"span"),c(1,"Connecting..."),a())}var yo=(()=>{class t{funnelStateService;funnelNavigationService;isLoading=!1;canopyHandler;constructor(e,i){this.funnelStateService=e,this.funnelNavigationService=i}ngOnInit(){this.funnelStateService.funnelState.set(ge.GET_A_QUICK_QUOTE),this.funnelStateService.setQuickQuoteFunnelStepIsVisited(!0),this.canopyHandler=CanopyConnect.create({publicAlias:J.canopyConnectAlias,pullMetaData:{leadId:this.funnelStateService.leadId()},onAuthenticationSuccess:e=>{this.handleCanopySuccess(e)},onExit:(e,i)=>{console.log("\u{1F6AA} Canopy exited:",{err:e,data:i})}})}connectInsurance(){try{this.isLoading=!0,this.canopyHandler?this.canopyHandler.open():console.error("CanopyConnect handler not initialized")}catch(e){console.error("Error opening Canopy Connect:",e)}finally{this.isLoading=!1}}handleCanopySuccess(e){this.funnelNavigationService.navigateToRouterOutletComponent(se.THANK_YOU)}skipStep(){this.funnelNavigationService.navigateToRouterOutletComponent(se.THANK_YOU)}static \u0275fac=function(i){return new(i||t)(A(He),A(ot))};static \u0275cmp=$({type:t,selectors:[["app-canopy-connect"]],decls:23,vars:13,consts:[[1,"min-h-[50vh]","flex","flex-col","items-center"],[1,"w-full","max-w-screen-md","mt-4","p-1","md:p-1","bg-white","rounded-xl","mb-6"],[1,"font-medium","text-2xl","md:text-3xl","mb-5","sm:mb-0","tracking-[-2px]","font-poppins"],[1,"text-base","text-gray-600","mb-10"],[1,"text-left","w-full","ml-0","sm:ml-7","mb-10"],[1,"text-xl","sm:text-2xl","font-semibold","text-insuredBetter-ebony","mb-6"],[4,"ngFor","ngForOf"],[1,"mt-12","ml-0","sm:ml-7"],[1,"group","flex","h-[72px]","items-stretch","shadow","bg-insuredBetter-forest_green","text-white","font-bold","rounded-lg","hover:bg-insuredBetter-dark_forest","transition","duration-150","sm:w-auto","sm:min-w-[350px]","relative","disabled:opacity-50","disabled:cursor-not-allowed",3,"click","disabled"],[1,"bg-white","flex","items-center","justify-center","rounded-l-lg","border-l-2","border-y-2","border-solid","border-insuredBetter-forest_green","group-hover:border-insuredBetter-dark_forest","h-full","px-3"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 640",1,"w-7","h-7","sm:w-8","sm:h-8","mx-2"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","w-7","h-7","sm:w-8","sm:h-8","mx-2","text-insuredBetter-forest_green"],[1,"flex","flex-col","text-left","items-center","py-3","px-6","self-center","font-bold","text-lg"],[1,"text-insuredBetter-text_gray","mt-12","max-w-xs","sm:max-w-none"],[1,"block","sm:inline"],["id","skipStep",1,"text-insuredBetter-forest_green","font-bold","underline","hover:text-insuredBetter-dark_forest","hover:no-underline",3,"click"],[1,"flex","items-start","mt-7"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 640","class","flex-shrink-0 mr-2 w-8 h-8 sm:w-9 sm:h-9 relative -top-[6px]",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 640","class","mr-2 min-w-8 w-8 h-8 sm:min-w-9 sm:w-9 sm:h-9 relative -top-[6px]",4,"ngIf"],[1,"text-insuredBetter-ebony","leading-5","text-lg","sm:text-xl"],[1,"text-insuredBetter-text_gray"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 640",1,"flex-shrink-0","mr-2","w-8","h-8","sm:w-9","sm:h-9","relative","-top-[6px]"],["d","M320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64zM296 184L296 320C296 328 300 335.5 306.7 340L402.7 404C413.7 411.4 428.6 408.4 436 397.3
13C443.4 386.2 440.4 371.4 429.3 364L344 307.2L344 184C344 170.7 333.3 160 320 160C306.7 160 296 170.7 296 184z",1,"fill-insuredBetter-lime"],["d","M64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320zM352 160C352 142.3 337.7 128 320 128C302.3 128 288 142.3 288 160C288 177.7 302.3 192 320 192C337.7 192 352 177.7 352 160zM320 480C355.3 480 384 451.3 384 416C384 399.8 378 384.9 368 373.7L437.5 234.8C443.4 222.9 438.6 208.5 426.8 202.6C415 196.7 400.5 201.5 394.6 213.3L325.1 352.2C323.4 352.1 321.7 352 320 352C284.7 352 256 380.7 256 416C256 451.3 284.7 480 320 480zM240 208C240 190.3 225.7 176 208 176C190.3 176 176 190.3 176 208C176 225.7 190.3 240 208 240C225.7 240 240 225.7 240 208zM160 352C177.7 352 192 337.7 192 320C192 302.3 177.7 288 160 288C142.3 288 128 302.3 128 320C128 337.7 142.3 352 160 352zM512 320C512 302.3 497.7 288 480 288C462.3 288 448 302.3 448 320C448 337.7 462.3 352 480 352C497.7 352 512 337.7 512 320z",1,"fill-insuredBetter-lime"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 640",1,"mr-2","min-w-8","w-8","h-8","sm:min-w-9","sm:w-9","sm:h-9","relative","-top-[6px]"],["d","M256 160L256 224L384 224L384 160C384 124.7 355.3 96 320 96C284.7 96 256 124.7 256 160zM192 224L192 160C192 89.3 249.3 32 320 32C390.7 32 448 89.3 448 160L448 224C483.3 224 512 252.7 512 288L512 512C512 547.3 483.3 576 448 576L192 576C156.7 576 128 547.3 128 512L128 288C128 252.7 156.7 224 192 224z",1,"fill-insuredBetter-lime"],["d","M451.5 160C434.9 160 418.8 164.5 404.7 172.7C388.9 156.7 370.5 143.3 350.2 133.2C378.4 109.2 414.3 96 451.5 96C537.9 96 608 166 608 252.5C608 294 591.5 333.8 562.2 363.1L491.1 434.2C461.8 463.5 422 480 380.5 480C294.1 480 224 410 224 323.5C224 322 224 320.5 224.1 319C224.6 301.3 239.3 287.4 257 287.9C274.7 288.4 288.6 303.1 288.1 320.8C288.1 321.7 288.1 322.6 288.1 323.4C288.1 374.5 329.5 415.9 380.6 415.9C405.1 415.9 428.6 406.2 446 388.8L517.1 317.7C534.4 300.4 544.2 276.8 544.2 252.3C544.2 201.2 502.8 159.8 451.7 159.8zM307.2 237.3C305.3 236.5 303.4 235.4 301.7 234.2C289.1 227.7 274.7 224 259.6 224C235.1 224 211.6 233.7 194.2 251.1L123.1 322.2C105.8 339.5 96 363.1 96 387.6C96 438.7 137.4 480.1 188.5 480.1C205 480.1 221.1 475.7 235.2 467.5C251 483.5 269.4 496.9 289.8 507C261.6 530.9 225.8 544.2 188.5 544.2C102.1 544.2 32 474.2 32 387.7C32 346.2 48.5 306.4 77.8 277.1L148.9 206C178.2 176.7 218 160.2 259.5 160.2C346.1 160.2 416 230.8 416 317.1C416 318.4 416 319.7 416 321C415.6 338.7 400.9 352.6 383.2 352.2C365.5 351.8 351.6 337.1 352 319.4C352 318.6 352 317.9 352 317.1C352 283.4 334 253.8 307.2 237.5z",1,"fill-insuredBetter-lime","group-hover:fill-insuredBetter-dark_forest"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"main",1)(2,"h1",2),c(3,"Want to Get Your Quote the Easy Way"),a(),o(4,"p",3),c(5,"Connect your existing insurance account to instantly share your coverage details \u2014 so your quote is faster and more accurate."),a(),o(6,"div",4)(7,"h2",5),c(8,"It's easy, secure, and private:"),a(),I(9,Hu,11,5,"ng-container",6),a(),o(10,"div",7)(11,"button",8),P("click",function(){return n.connectInsurance()}),o(12,"div",9),I(13,Gu,2,0,":svg:svg",10)(14,qu,3,0,":svg:svg",11),a(),o(15,"span",12),I(16,Wu,2,0,"span")(17,Zu,2,0,"span"),a()(),o(18,"div",13)(19,"span",14),c(20,"Don't have an online insurance account? "),a(),o(21,"button",15),P("click",function(){return n.skipStep()}),c(22,"Skip this step"),a()()()()()),i&2&&(s(9),h("ngForOf",Ft(9,Ru,Re(6,zu),Re(7,Ou),Re(8,Nu))),s(2),h("disabled",n.isLoading),s(2),b(n.isLoading?-1:13),s(),b(n.isLoading?14:-1),s(2),b(n.isLoading?-1:16),s(),b(n.isLoading?17:-1))},dependencies:[Pe,Vt,Ht],encapsulation:2})}return t})();function $u(t,r){if(t&1&&(o(0,"div",2),u(1,"img",10),a()),t&2){let e=f();s(),K("src",e.searchWidget==null||e.searchWidget.icon==null?null:e.searchWidget.icon.url,k),hn("alt","$",e.searchWidget==null||e.searchWidget.icon==null?null:e.searchWidget.icon.description,"")}}function Yu(t,r){if(t&1&&u(0,"input",6),t&2){let e=f();K("placeholder",e.searchWidget==null?null:e.searchWidget.zipCodePlaceholderText)}}var li=(()=>{class t{router;document;searchWidget;ctaLinkOverride;title;ctaLinkWithPageContext={relativePath:"/find-an-agent/"};ctaForm=new Ua({zipCode:new Wi("")});constructor(e,i){this.router=e,this.document=i}ngOnInit(){this.ctaLinkOverride!=null?this.ctaLinkWithPageContext=this.ctaLinkOverride:this.searchWidget?.ctaLink!=null&&(this.ctaLinkWithPageContext=this.searchWidget.ctaLink)}ctaClick(){if(this.searchWidget?.externalUrl){this.document.location.href=this.searchWidget.externalUrl;return}let e={category:this.ctaLinkWithPageContext?.category,businessLines:this.ctaLinkWithPageContext?.businessLines&&this.ctaLinkWithPageContext.businessLines?.length>0?this.ctaLinkWithPageContext.businessLines.join(","):void 0,naics:this.ctaLinkWithPageContext?.naics?.toString(),zip:this.ctaForm.value.zipCode||void 0,title:this.title||void 0};this.router.navigate(["find-an-agent"],{queryParams:e})}static \u0275fac=function(i){return new(i||t)(A(le),A(Xe))};static \u0275cmp=$({type:t,selectors:[["app-search-widget"]],inputs:{searchWidget:"searchWidget",ctaLinkOverride:"ctaLinkOverride",title:"title"},decls:13,vars:7,consts:[[1,"element-search-widget","bg-insuredBetter-dark_forest","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","rounded","my-12","text-center","sm:px-8","py-10"],[1,"sm:border","rounded","border-insuredBetter-lime","flex","flex-col","px-5","sm:px-0","pt-8","sm:pt-10","pb-0","sm:pb-16","relative"],[1,"mx-auto","bg-insuredBetter-dark_forest","absolute","-top-[15px]","left-0","right-0","px-3","w-[60
13px]"],[1,"text-white","text-2xl","sm:text-4xl"],[1,"text-white"],[1,"flex","flex-col","sm:flex-row","items-start","py-3","bg-insuredBetter-dark_forest","px-3","mx-auto","sm:absolute","-bottom-[35px]","left-0","right-0",3,"ngSubmit","formGroup","ngClass"],["aria-label","ZIP Code","id","zipcode","type","text","formControlName","zipCode",1,"appearance-none","max-w-44","block","w-full","bg-white","text-insuredBetter-text_gray","border","border-gray-400","py-3","px-4","leading-tight","focus:border-insuredBetter-forest_green","focus:ring-insuredBetter-forest_green","focus:outline-none","focus:bg-white","sm:mr-5","my-4","sm:my-0",3,"placeholder"],["type","submit",1,"!no-underline","w-full","btn","flex-1","hover:bg-insuredBetter-dark_lime","bg-insuredBetter-lime","py-3","rounded-xl","text-insuredBetter-dark_forest","font-medium","hover:text-white","group"],[1,"flex","justify-center"],["src","../../../../assets/circle-arrow.svg","alt","","width","15","height","15",1,"ml-3","relative","top-px","group-hover:filter","group-hover:brightness-0","group-hover:invert"],["width","35","height","35",3,"src","alt"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"div",1),I(2,$u,2,3,"div",2),o(3,"div",3),c(4),a(),o(5,"div",4),c(6),a(),o(7,"form",5),P("ngSubmit",function(){return n.ctaClick()}),I(8,Yu,1,1,"input",6),o(9,"button",7)(10,"span",8),c(11),u(12,"img",9),a()()()()()),i&2&&(s(2),b(n.searchWidget!=null&&n.searchWidget.icon?2:-1),s(2),M(n.searchWidget==null?null:n.searchWidget.headline),s(2),M(n.searchWidget==null?null:n.searchWidget.subHeadline),s(),h("formGroup",n.ctaForm)("ngClass",n.searchWidget!=null&&n.searchWidget.zipCodePlaceholderText?"max-w-md":"w-[228px]"),s(),b(n.searchWidget!=null&&n.searchWidget.zipCodePlaceholderText?8:-1),s(3),M(n.searchWidget==null?null:n.searchWidget.buttonText))},dependencies:[Xt,Ei,$t,Yt,Kt,Jt,Qt,ke],encapsulation:2})}return t})();var Ku=t=>[t];function Ju(t,r){if(t&1){let e=ie();o(0,"div",0)(1,"button",2),P("click",function(){N(e);let n=f();return R(n.showPath=!1)}),c(2,"\u2716"),a(),c(3,"Published Location: "),o(4,"a",3),c(5),a()()}if(t&2){let e=f();s(4),h("routerLink",ue(2,Ku,e.publishedPagePath)),s(),M(e.publishedPagePath)}}function Qu(t,r){if(t&1){let e=ie();o(0,"div",1)(1,"button",4),P("click",function(){N(e);let n=f();return R(n.showPath=!1)}),c(2,"\u2716"),a(),c(3,"No Published Location Set "),a()}}var ci=(()=>{class t{publishedPagePath;showPath=!0;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-preview-page-location"]],inputs:{publishedPagePath:"publishedPagePath"},decls:2,vars:2,consts:[[1,"p-2","bg-insuredBetter-light_lime","rounded-xl","mb-2"],[1,"p-2","bg-insuredBetter-caution_canary","rounded-xl","mb-2"],[1,"px-2","hover:bg-insuredBetter-lime","hover:text-white","rounded-full","mx-2",3,"click"],[3,"routerLink"],[1,"px-2","hover:bg-insuredBetter-stop_scarlet","hover:text-white","rounded-full","mx-2",3,"click"]],template:function(i,n){i&1&&I(0,Ju,6,4,"div",0)(1,Qu,4,0,"div",1),i&2&&(b(n.publishedPagePath&&n.showPath?0:-1),s(),b(!n.publishedPagePath&&n.showPath?1:-1))},dependencies:[je],encapsulation:2})}return t})();function at(t){document.getElementById(t)?.scrollIntoView({behavior:"smooth",block:"start"})}var mc=(()=>{class t{platformId;constructor(e){this.platformId=e}push(e,i){oe(this.platformId)&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(Ae({event:e},i)))}carrierImpression(e){this.push("carrier_impression",e)}agencyImpression(e){this.push("agency_impression",e)}carrierClick(e){this.push("carrier_click",e)}agencyClick(e){this.push("agency_click",e)}static \u0275fac=function(i){return new(i||t)(ee(de))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ep(t,r){if(t&1&&(o(0,"div",1),c(1),a()),t&2){let e=f(3);s(),Z(" ",e.sponsoredContentLabel," ")}}function tp(t,r){if(t&1){let e=ie();o(0,"div",2)(1,"div",4),u(2,"img",5),o(3,"div",6),c(4,"Recommended Insurance Company"),a()(),u(5,"img",7),o(6,"span",8),c(7,"\u2605\u2605\u2605\u2605\u2605"),a(),o(8,"a",9),P("click",function(){let n=N(e),l=f(3);return R(l.onCarrierClick(n))})("auxclick",function(){let n=N(e),l=f(3);return R(l.onCarrierClick(n))}),c(9," Locate Agents "),o(10,"span",10),u(11,"img",11),a()()()}if(t&2){let e=r,i=f(3);s(5),h("src",e.logoUrl||"assets/placeholder-carrier.svg",k)("alt",e.name+" logo"),s(3),h("href",i.getCarrierCtaHref(e),k)}}function ip(t,r){if(t&1&&(o(0,"a",16),c(1),a()),t&2){let e=f().$implicit;h("href",r,k),s(),Z(" ",e.name," ")}}function np(t,r){if(t&1&&(o(0,"div",17),c(1),a()),t&2){let e=f().$implicit;s(),Z(" ",e.name," ")}}function rp(t,r){if(t&1&&(o(0,"div",18)(1,"span",22)(2,"span",23),c(3,"\u2606\u2606\u2606\u2606\u2606"),a(),o(4,"span",24)(5,"span",25),c(6,"\u2605\u2605\u2605\u2605\u2605"),a()()(),o(7,"span",26),c(8),a()()),t&2){let e=f().$implicit,i=f(4);s(),ve("aria-label",i.getAgencyRatingValue(e)+" out of 5 stars"),s(3),_t("width",i.getStarWidthPercent(i.getAgencyRatingValue(e))),s(4),Z("(",e.reviewCount,")")}}function op(t,r){if(t&1){let e=ie();o(0,"div",12)(1,"div",13),u(2,"img",14),c(3," Recommended Local Agency "),a(),o(4,"div",15),I(5,ip,2,2,"a",16)(6,np,2,1,"div",17)(7,rp,9,4,"div",18),o(8,"div",19),u(9,"img",20),c(10),a(),o(11,"a",21),P("click",function(){let n=N(e).$implicit,l=f(4);return R(l.onAgencyClick(n))})("auxclick",function(){let n=N(e).$implicit,l=f(4);return R(l.onAgencyClick(n))}),c(12," Select Agency "),o(13,"span",10),u(14,"img",11),a()()()()}if(t&2){let e,i=r.$implicit,n=f(4);s(5),b((e=n.getAgencyProfileUrl(i))?5:6,e),s(2),b(n.hasAgencyRating(i)?7:-1),s(3),gn(" ",i.address.city,", ",i.address.state," "),s(),h("href",n.getAgencyCtaHref(i),k)}}function ap(t,r){if(t&1&&(o(0,"div",3),we(1,op,15,5,"div",12,la),a()),t&2){let e=f();s(),Se(e.faraEligibleAgencies)}}function sp(t,r){if(t&1&&I(0,ep,2,1,"div",1)(1,tp,12,3,"div",2)(2,ap,3,0,"div",3),t&2){let e,i=r,n=f(2);b(n.sponsoredContentLabel&&n.isLobExperience?0:-1),s(),b((e=n.showCarrier&&(i==null?null:i.carrier))?1:-1,e),s(),b(!(i==null||i.faraEligibleAgencies==null)&&i.faraEligibleAgencies.length?2:-1)}}function lp(t,r){if(t&1&&(o(0,"div",0),I(1,sp,3,3),a()),t&2){let e,i=f();h("ngClass",i.isLobExperience?"mt-12":"mb-12"),s(),b((e=!i.loading&&i.recommendation)?1:-1,e)}}var di=(()=>{class t{fulcrumService;analytics;platformId;pagePath;category;lob;naics;state;zipcode;sourceContent="CONTENT_PAGE_AD";showCarrier=!0;contentTitle;
13isLobExperience=!1;loading=!0;error;recommendation;impressionFired=!1;agencyImpressed=new Set;requestId=globalThis.crypto?.randomUUID?.()??Math.random().toString(36).slice(2);constructor(e,i,n){this.fulcrumService=e,this.analytics=i,this.platformId=n}ngOnInit(){oe(this.platformId)&&this.fetch()}fetch(){if(!this.pagePath){this.loading=!1,this.error="Missing pagePath";return}(this.state||this.zipcode?Te({state:this.state?.toUpperCase()??null,zip:this.zipcode??null}):this.fulcrumService.getGeoLocation().pipe(kt(i=>({state:i?.state?i.state.toUpperCase():null,zip:i?.zipCode??null})))).pipe(ft(({state:i,zip:n})=>{if(!i)return this.loading=!1,this.recommendation={carrier:null,faraEligibleAgencies:[],requestId:this.requestId},Te(null);this.state||(this.state=i),!this.zipcode&&n&&(this.zipcode=n);let l=this.normalizeCategory(this.category,this.lob),d={path:this.pagePath,category:l,lob:this.lob?.toUpperCase(),naics:this.naics,state:i},m=this.fulcrumService.getSponsoredContent(d),p=m.pipe(ft(_=>{let g={state:i,category:l??this.category,lob:this.lob,zip:n,carrierId:_?.carrierId,size:3};return this.fulcrumService.getAgencyRecommendations(g).pipe(ft(y=>{if(this.countAgencies(y)>0)return Te(y);let v=vt(Ae({},g),{carrierId:void 0});return this.fulcrumService.getAgencyRecommendations(v).pipe(ft(w=>{if(this.countAgencies(w)>0)return Te(w);let S=vt(Ae({},v),{lob:void 0});return this.fulcrumService.getAgencyRecommendations(S)}))}))}));return cn({sponsoredContent:m,agencyResponse:p})})).subscribe({next:i=>{if(!i)return;let{sponsoredContent:n,agencyResponse:l}=i,d=n?{id:n.carrierId,name:n.name,logoUrl:n.profileImage??n.logoUrl??"",productLevel:n.productLevel??""}:null,m=this.extractAgencies(l).map(p=>p?.agency??p).filter(Boolean);this.recommendation={carrier:d,faraEligibleAgencies:m,requestId:this.requestId},this.loading=!1,d&&this.fireImpressionsOnce()},error:()=>{this.loading=!1,this.error="Unable to load recommendations"}})}fireImpressionsOnce(){if(this.impressionFired||!this.recommendation)return;this.impressionFired=!0;let e=this.recommendation.requestId||this.requestId;if(this.showCarrier&&this.recommendation.carrier){let i=this.recommendation.carrier;this.analytics.carrierImpression({requestId:e,pagePath:this.pagePath,category:this.category,lob:this.lob,naics:this.naics,carrierId:i.id,carrierName:i.name,sourceContent:this.sourceContent})}(this.recommendation.faraEligibleAgencies||[]).forEach((i,n)=>{!i||!i.iiabaId||this.agencyImpressed.has(i.iiabaId)||(this.agencyImpressed.add(i.iiabaId),this.analytics.agencyImpression({requestId:e,pagePath:this.pagePath,category:this.category,lob:this.lob,naics:this.naics,agencyIiabaId:i.iiabaId,agencyName:i.name,position:n+1,sourceContent:this.sourceContent}))})}onCarrierClick(e){let i=this.recommendation?.requestId||this.requestId;this.analytics.carrierClick({requestId:i,pagePath:this.pagePath,category:this.category,lob:this.lob,naics:this.naics,carrierId:e.id,carrierName:e.name,sourceContent:this.sourceContent})}onAgencyClick(e){let i=this.recommendation?.requestId||this.requestId;this.analytics.agencyClick({requestId:i,pagePath:this.pagePath,category:this.category,lob:this.lob,naics:this.naics,agencyId:e.agencyId,agencyName:e.name,sourceContent:this.sourceContent})}getCarrierCtaHref(e){let i=[];i.push(["tc","sponsoredClick"]);let n=this.normalizeCategory(this.category,this.lob);n&&i.push(["category",n]);let l=this.fulcrumService.toBusinessLines(this.lob);l&&i.push(["businessLines",l]),i.push(["c",String(e.id)]);let d=this.state?.toUpperCase();return d&&i.push(["state",d]),"/find-an-agent?"+i.map(([m,p])=>`${m}=${encodeURIComponent(p)}`).join("&")}static AGENCY_PARAM="a";getAgencyCtaHref(e){let i=[];i.push(["tc","sponsoredClick"]);let n=this.normalizeCategory(this.category,this.lob);n&&i.push(["category",n]);let l=this.fulcrumService.toBusinessLines(this.lob);l&&i.push(["businessLines",l]),i.push([t.AGENCY_PARAM,String(e.iiabaId)]);let d=this.state?.toUpperCase();return d&&i.push(["state",d]),"/find-an-agent?"+i.map(([m,p])=>`${m}=${encodeURIComponent(p)}`).join("&")}normalizeCategory(e,i){let n=l=>{if(!l)return;let d=l.toUpperCase().trim();if(d==="PERSONAL"||d==="COMMERCIAL"||d==="LIFE_ANNUITIES")return d;let m=Zt.SEARCH_CONTEXT_TAXONOMY_CATEGORIES[d];if(m==="personal")return"PERSONAL";if(m==="commercial")return"COMMERCIAL";if(m==="life_annuities")return"LIFE_ANNUITIES"};return n(e)??n(i)}getAgencyRatingValue(e){let i=Number(e?.averageRating??e?.roundedRating??0);return Number.isFinite(i)?Math.max(0,Math.min(5,i)):0}getAgencyProfileUrl(e){let i=e?.agencyProfileIds?.[0];return i?`${J.insuredBetterDirectoryUrl}/agency-profile/${i}`:null}hasAgencyRating(e){let i=Number(e?.reviewCount??0),n=this.getAgencyRatingValue(e);return i>0&&n>0}getStarWidthPercent(e){return(Math.max(0,Math.min(5,Number(e)||0))*20).toFixed(2)+"%"}get sponsoredContentLabel(){let e=(this.contentTitle??"").trim();return e?`Recommended Agencies for ${e}`:void 0}countAgencies(e){return this.extractAgencies(e).length}extractAgencies(e){return(Array.isArray(e?.content)?e.content:Array.isArray(e)?e:[]).map(n=>
13n?.agency??n).filter(Boolean)}static \u0275fac=function(i){return new(i||t)(A(tt),A(mc),A(de))};static \u0275cmp=$({type:t,selectors:[["app-recommendations"]],inputs:{pagePath:"pagePath",category:"category",lob:"lob",naics:"naics",state:"state",zipcode:"zipcode",sourceContent:"sourceContent",showCarrier:"showCarrier",contentTitle:"contentTitle",isLobExperience:"isLobExperience"},decls:2,vars:1,consts:[[1,"max-w-72","text-center","sm:text-left","mx-auto","sm:mx-0",3,"ngClass"],[1,"mb-3","text-[18px]","leading-5","font-bold","text-insuredBetter-forest_green"],[1,"rounded-xl","border","px-4","pb-4","bg-white","flex","flex-col","items-center","text-center"],[1,"mt-4","space-y-4"],[1,"flex","mt-2","items-center","mb-2"],["src","assets/ib-com-recommended-badge.svg","alt","",1,"h-7","w-7"],[1,"text-[11px]","font-semibold","uppercase","text-insuredBetter-primary_text","text-start","ml-2","leading-[1.2]"],[1,"w-full","h-auto","object-contain","mb-2",3,"src","alt"],[1,"tracking-[3px]","text-[14px]","text-yellow-400"],["target","_blank",1,"mt-3","inline-flex","items-center","justify-center","rounded-xl","px-5","py-2","bg-insuredBetter-forest_green","text-white","font-semibold","hover:bg-insuredBetter-dark_forest","transition",3,"click","auxclick","href"],["aria-hidden","true",1,"ml-2"],["src","assets/circle-arrow.svg","alt","","width","15","height","15",1,"relative","top-px","filter","brightness-0","invert"],[1,"rounded-xl","border","bg-white","overflow-hidden"],[1,"flex","items-center","gap-2","px-4","pb-2","text-[11px]","font-semibold","uppercase","tracking-wide","text-insuredBetter-primary_text"],["src","assets/ib-coral-flag-with-star.svg","alt","",1,"h-7","w-7"],[1,"px-4","pb-4","pt-3","text-center"],["target","_blank",1,"font-semibold","text-base","leading-tight","text-insuredBetter-ebony","hover:underline",3,"href"],[1,"font-semibold","text-base","leading-tight","text-insuredBetter-ebony"],[1,"mt-1","flex","items-center","justify-center","text-[14px]","text-gray-700"],[1,"mt-2","text-[12px]","text-gray-700","flex","items-start","justify-center"],["src","assets/map-marker-funnel-end-tiles.svg","width","8","alt","location marker icon",1,"relative","top-[3px]","mr-1"],["target","_blank",1,"mt-4","inline-flex","items-center","justify-center","rounded-xl","px-5","py-2","bg-insuredBetter-forest_green","text-white","font-semibold","hover:bg-insuredBetter-dark_forest","transition",3,"click","auxclick","href"],[1,"relative","inline-block","leading-none","align-middle",2,"width","85px","height","14px","line-height","14px"],[1,"absolute","inset-0","select-none","tracking-[3px]",2,"color","#d1d5db"],[1,"absolute","inset-0","overflow-hidden","select-none","tracking-[3px]"],[1,"text-yellow-400"],[1,"ml-1","text-gray-600"]],template:function(i,n){i&1&&(mi(0),I(1,lp,2,2,"div",0),ui()),i&2&&(s(),b(!n.loading&&n.recommendation&&(n.recommendation.carrier||n.recommendation.faraEligibleAgencies.length>0)?1:-1))},dependencies:[ke],encapsulation:2})}return t})();var mt=(()=>{class t{host;renderer;json;scriptEl=null;constructor(e,i){this.host=e,this.renderer=i}ngOnChanges(e){this.renderOrRemove()}ngOnDestroy(){this.removeScript()}renderOrRemove(){let e=(this.json||"").trim();if(!e){this.removeScript();return}this.scriptEl||(this.scriptEl=this.renderer.createElement("script"),this.scriptEl.type="application/ld+json",this.renderer.appendChild(this.host.nativeElement,this.scriptEl)),this.scriptEl.text=this.makeJsonLdSafe(e)}removeScript(){this.scriptEl&&(this.scriptEl.remove(),this.scriptEl=null)}makeJsonLdSafe(e){return e.replace(/<\/script/gi,"<\\/script").replace(/<script/gi,"<\\script")}static \u0275fac=function(i){return new(i||t)(A(We),A(Ze))};static \u0275cmp=$({type:t,selectors:[["app-json-ld"]],inputs:{json:"json"},features:[wi],decls:0,vars:0,template:function(i,n){},encapsulation:2})}return t})();var ut=(()=>{class t{buildArticleSchema(e,i){if(!e)return;let n=e.blogAuthor?.name?.trim(),l=n?.toLowerCase()==="insuredbetter",d=this.toAbsoluteUrl(i),m=Ae(Ae(Ae(Ae({"@context":"https://schema.org","@type":"Article","@id":`${d}#article`,url:d,headline:e.h1,description:this.stripHtml(e.metadata?.metadataMetaDescription),image:e.headerPhoto?.url,mainEntityOfPage:{"@type":"WebPage","@id":d,url:d},publisher:this.insuredBetterOrganization()},e.date&&{datePublished:this.toDate(e.date)}),e.lastModified&&{dateModified:this.toDate(e.lastModified)}),e.expert&&{reviewedBy:{"@type":"Person",name:e.expert.name,url:this.toAbsoluteUrl(e.expert.relativeUrlPath)}}),n&&(l?this.insuredBetterOrganizationAuthor():this.blogAuthor(e)));return JSON.stringify(m,null,2)}buildFaqSchema(e){let i=Mt.extractFaqFromPageModel(e);
13if(i.length)return JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:i.map(n=>({"@type":"Question",name:n.question,acceptedAnswer:{"@type":"Answer",text:this.stripHtml(n.answerHtml)}}))},null,2)}buildLobExperienceSchema(e,i,n){if(!e)return;let l=this.toAbsoluteUrl(i),d={"@context":"https://schema.org","@type":"Service","@id":`${l}#service`,name:e.h1,url:l,description:this.stripHtml(e.metadata?.metadataMetaDescription),serviceType:e.h1,provider:{"@type":"Organization","@id":"https://www.insuredbetter.com/#organization",name:"InsuredBetter",url:"https://www.insuredbetter.com/",telephone:n,logo:"https://www.insuredbetter.com/assets/insuredBetter_logo.png"}};return JSON.stringify(d,null,2)}buildAuthorBioSchema(e,i){if(!e)return;let n=this.toAbsoluteUrl(i),l={"@context":"https://schema.org","@type":"Person","@id":`${n}#person`,name:e.name,url:n,description:this.stripHtml(e.metadata?.metadataMetaDescription)};return JSON.stringify(l,null,2)}buildStateLandingSchema(e,i){if(!e)return;let n=this.toAbsoluteUrl(i),l=wt.resolve(i),d=Ae({"@context":"https://schema.org","@type":"WebPage","@id":`${n}#webpage`,url:n,name:`${this.stripHtml(e.metadata?.metadataPageTitle||e.metadata?.metadataMetaTitle)} | InsuredBetter`,description:this.stripHtml(e.metadata?.metadataMetaDescription),isPartOf:{"@type":"WebSite","@id":`${J.canonicalUrl}/#website`,name:"InsuredBetter",url:`${J.canonicalUrl}/`}},l.name&&{about:{"@type":"Place",name:l.name,address:vt(Ae({"@type":"PostalAddress"},l.code&&{addressRegion:l.code}),{addressCountry:"US"})}});return JSON.stringify(d,null,2)}buildStateLobSchema(e,i){if(!e)return;let n=this.toAbsoluteUrl(i),l=wt.resolve(i),d=Ae({"@context":"https://schema.org","@type":"WebPage","@id":`${n}#webpage`,url:n,name:this.stripHtml(e.metadata?.metadataPageTitle||e.metadata?.metadataMetaTitle),description:this.stripHtml(e.metadata?.metadataMetaDescription),isPartOf:{"@type":"WebSite","@id":`${J.canonicalUrl}/#website`,name:"InsuredBetter",url:`${J.canonicalUrl}/`}},l.name&&{about:{"@type":"Place",name:l.name,address:vt(Ae({"@type":"PostalAddress"},l.code&&{addressRegion:l.code}),{addressCountry:"US"})}});return JSON.stringify(d,null,2)}buildStateMainInsuranceGuideSchema(e,i){if(!e)return;let n=this.toAbsoluteUrl(i),l=wt.getStateGuideList(),d={"@context":"https://schema.org","@type":"WebPage","@id":`${n}#webpage`,url:n,name:this.stripHtml(e.metadata?.metadataPageTitle||e.metadata?.metadataMetaTitle),description:this.stripHtml(e.metadata?.metadataMetaDescription),isPartOf:{"@type":"WebSite","@id":`${J.canonicalUrl}/#website`,name:"InsuredBetter",url:`${J.canonicalUrl}/`},mainEntity:{"@type":"ItemList",name:"US State Insurance Guides",itemListOrder:"http://schema.org/ItemListOrderAscending",numberOfItems:l.length,itemListElement:l.map((m,p)=>({"@type":"ListItem",position:p+1,name:`${m.name} Insurance Guide`,url:this.toAbsoluteUrl(`/l/${m.slug}`)}))}};return JSON.stringify(d,null,2)}stripHtml(e){return e?e.replace(/<[^>]*>/g,"").replace(/\s+/g," ").trim():""}toDate(e){return e.toISOString().split("T")[0]}toAbsoluteUrl(e){if(!e)return`${J.canonicalUrl}/`;let i=e.startsWith("/")?e:`/${e}`,n=`${J.canonicalUrl}${i}`;return n.endsWith("/")?n:`${n}/`}insuredBetterOrganization(){return{"@type":"Organization",name:"InsuredBetter",url:"https://www.insuredbetter.com/",logo:{"@type":"ImageObject",url:"https://www.insuredbetter.com/assets/insuredBetter_logo.png"}}}insuredBetterOrganizationAuthor(){return{author:{"@type":"Organization",name:"InsuredBetter",url:"https://www.insuredbetter.com/insurance-experts/insuredbetter/",logo:{"@type":"ImageObject",url:"https://www.insuredbetter.com/assets/insuredBetter_logo.png"}}}}blogAuthor(e){return{author:{"@type":"Person",name:e.blogAuthor?.name,url:this.toAbsoluteUrl(e.blogAuthor?.relativeUrlPath)}}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cp=(t,r)=>({"lg:w-full lg:mr-6":t,"lg:max-w-screen-sm lg:ml-auto lg:mr-20 lg:pl-5":r}),dp=t=>({"coverage-type-styling":t}),mp=t=>({"lg:mr-16 lg:pr-5":t}),up=t=>({"-mt-12":t}),_o=t=>[t],bo=(t,r)=>r.codename;function pp(t,r){if(t&1&&u(0,"app-preview-page-location",18),t&2){let e=f(3);h("publishedPagePath",e.article.publishedUrlPath)}}function hp(t,r){t&1&&(o(0,"h1"),c(1),a()),t&2&&(s(),M(r))}function gp(t,r){t&1&&(o(0,"span"),c(1),a()),t&2&&(s(),M(r))}function fp(t,r){if(t&1&&(o(0,"div",20)(1,"div",24),u(2,"img",25),o(3,"span",26),c(4,"Written by\xA0"),a(),o(5,"div",27)(6,"span",28),c(7),a()()(),o(8,"div",29)(9,"div",30),u(10,"img",31),o(11,"div",32)(12,"span"),c(13,"Written by"),a(),o(14,"a",33)(15,"span",34),c(16),a()(),o(17,"span"),c(18),a()()(),u(19,"hr",35),o(20,"div"),c(21),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(5),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(4),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function xp(t,r){if(t&1&&(o(0,"div",21)(1,"div",36),u(2,"img",25),o(3,"span",37),ne(),o(4,"svg",38)(5,"defs")(6,"style"),c(7," .expert-review-check { fill: #08730a; stroke-width: 0px; } "),a()(),u(8,"path",39),a(),c(9," Reviewed by\xA0"),a(),Ce(),o(10,"div",27)(11,"span",40),c(12),a()()(),o(13,"div",29)(14,"div",30),u(15,"img",31),o(16,"div",32)(17,"span",37),ne(),o(18,"svg",38)(19,"defs")(20,"style"),c(21," .expert-review-check { fill: #08730a; stroke-width: 0px; } "),a()(),u(22,"path",39),a(),c(23," Reviewed by\xA0"),a(),Ce(),o(24,"a",33)(25,"span",34),c(26),a()(),o(27,"span"),c(28),a()()(),u(29,"hr",35),o(30,"div"),c(31),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(10),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(9),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function vp(t,r){t&1&&(o(0,"div",22),c(1),Ue(2,"date"),a()),t&2&&(s(),Z("Updated ",Dt(2,1,r,"MMMM d, yyyy"),""))}function yp(t,r){if(t&1&&(o(0,"div",23)(1,"div",41),u(2,"img",42),a()()),t&2){let e=f(3);s(2),K("src",e.article.headerPhoto==null?null:e.article.headerPhoto.url,k),K("alt",e.article.headerPhoto==null?null:e.article.headerPhoto.description)}}function _p(t,r){if(t&1&&(o(0,"section",4)(1,"div",17),I(2,pp,1,1,"app-preview-page-location",18)(3,hp,2,1,"h1")(4,gp,2,1,"span"),o(5,"div",19),I(6,fp,22,13,"div",20)(7,xp,32,13,"div",21)(8,vp,3,4,"div",22),a()(),I(9,yp,3,2,"div",23),a()),t&2){let e,i,n,l,d,m=f(2);s(2),b(m.article.preview?2:-1),s(),b((e=m.article.h1)?3:-1,e),s(),b((i=m.article.subtitle)?4:-1,i),s(2),b((n=m.article.blogAuthor)?6:-1,n),s(),b((l=m.article.expert)?7:-1,l),s(),b((d=m.article.date)?8:-1,d),s(),b(m.article.headerPhoto!=null&&m.article.headerPhoto.url?9:-1)}}function bp(t,r){t&1&&(o(0,"h1"),c(1),a()),t&2&&(s(),M(r))}function Cp(t,r){t&1&&(o(0,"span"),c(1),a()),t&2&&(s(),M(r))}function wp(t,r){if(t&1&&(o(0,"div",46),u(1,"app-search-widget",49),a()),t&2){let e=f(3);s(),h("searchWidget",e.article.searchWidget)("ctaLinkOverride",e.article.searchWidget.ctaLink)("title",e.article.h1)}}function Sp(t,r){if(t&1&&(o(0,"section",5)(1,"div",43)(2,"div",44)(3,"div",45),I(4,bp,2,1,"h1")(5,Cp,2,1,"span")(6,wp,2,3,"div",46),a()(),o(7,"div",47),u(8,"img",48),a()()()),t&2){let e,i,n=f(2);s(4),b((e=n.article.h1)?4:-1,e),s(),b((i=n.article.subtitle)?5:-1,i),s(),b(n.article.searchWidget?6:-1),s(2),K("src",n.article.headerPhoto==null?null:n.article.headerPhoto.url,k),K("alt",n.article.headerPhoto==null?null:n.article.headerPhoto.description)}}function Ep(t,r){if(t&1&&(o(0,"section",6),u(1,"app-search-widget",49),a()),t&2){let e=f(2);h("ngClass",ue(4,up,!(e.article.headerPhoto!=null&&e.article.headerPhoto.url))),s(),h("searchWidget",e.article.searchWidget)("ctaLinkOverride",e.article.ctaLink)("title",e.article.h1)}}function Ip(t,r){if(t&1&&(o(0,"details",11)(1,"summary",50),c(2,"Sources"),a(),u(3,"app-rich-text",51),a()),t&2){let e=f(2);s(3),h("richText",e.article.sources)}}function kp(t,r){if(t&1&&(o(0,"a",54),c(1),a()),t&2){let e=f(2).$implicit;s(),M(e.title)}}function Ap(t,r){if(t&1&&(o(0,"a",55),c(1),a()),t&2){let e=f(2).$implicit;h("routerLink",ue(2,_o,e.relativeUrlPath)),s(),M(e.title)}}function Tp(t,r){if(t&1&&(o(0,"a",58),c(1),a()),t&2){let e=f(2).$implicit;s(),M(e.title)}}function Bp(t,r){if(t&1&&(o(0,"a",59),c(1),a()),t&2){let e=f(2).$implicit;h("routerLink",ue(2,_o,e.relativeUrlPath)),s(),M(e.title)}}function Lp(t,r){if(t&1&&(o(0,"a",58),c(1),a()),t&2){let e=f(2).$implicit;s(),M(e.title)}}function Fp(t,r){if(t&1&&(o(0,"a",59),c(1),a()),t&2){let e=f(2).$implicit;h("routerLink",ue(2,_o,e.relativeUrlPath)),s(),M(e.title)}}function Dp(t,r){if(t&1&&(o(0,"li",61)(1,"div"),I(2,Lp,2,1,"a",58)(3,Fp,2,4,"a",59),a()()),t&2){let e=f().$implicit,i=f(9);s(2),b(e.codename==i.article.codename?2:3)}}function Mp(t,r){if(t&1&&I(0,Dp,4,1,"li",61),t&2){let e=r.$implicit;b(e.title&&e.title!==""?0:-1)}}function Pp(t,r){if(t&1&&(o(0,"ul",60),we(1,Mp,1,1,null,null,bo),a()),t&2){let e=f(2).$implicit;s(),Se(e.childLinks)}}function zp(t,r){if(t&1&&(o(0,"li",57)(1,"div"),I(2,Tp,2,1,"a",58)(3,Bp,2,4,"a",59),a(),I(4,Pp,3,0,"ul",60),a()),t&2){let e=f().$implicit,i=f(6);s(2),b(e.codename==i.article.codename?2:3),s(2),b(e.childLinks?4:-1)}}function Op(t,r){if(t&1&&I(0,zp,5,2,"li",57),t&2){let e=r.$implicit;b(e.title&&e.title!==""?0:-1)}}function Np(t,r){if(t&1&&(o(0,"ul",56),we(1,Op,1,1,null,null,bo),a()),t&2){let e=f(2).$implicit;s(),Se(e.childLinks)}}function Rp(t,r){if(t&1&&(o(0,"li",52)(1,"div",53),I(2,kp,2,1,"a",54)(3,Ap,2,4,"a",55),a(),I(4,Np,3,0,"ul",56),a()),t&2){let e=f().$implicit,i=f(3);s(2),b(e.codename==i.article.codename?2:3),s(2),b(e.childLinks?4:-1)}}function Up(t,r){if(t&1&&(o(0,"ul"),I(1,Rp,5,2,"li",52),a()),t&2){let e=r.$implicit;s(),b(e.title&&e.title!==""?1:-1)}}function jp(t,r){if(t&1&&we(0,Up,2,1,"ul",null,bo),t&2){let e=f(2);Se(e.article.sideNavItemLinks)}}function Vp(t,r){if(t&1&&(u(0,"app-json-ld",1)(1,"app-json-ld",2),o(2,"main",3),I(3,_p,10,7,"section",4)(4,Sp,9,5,"section",5),o(5,"div"),I(6,Ep,2,6,"section",6),o(7,"section",7)(8,"div",8)(9,"div",9),u(10,"app-rich-text",10),I(11,Ip,4,1,"details",11),a(),o(12,"aside",12)(13,"section",13),u(14,"app-recommendations",14),a(),o(15,"h4",15),c(16),Ue(17,"uppercase"),a(),I(18,jp,2,0),u(19,"app-rich-text",16),a()()()()()),t&2){let e=f();
13h("json",e.articleSchemaJson),s(),h("json",e.faqSchemaJson),s(2),b((e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)!="Coverage Type Header"?3:-1),s(),b((e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)=="Coverage Type Header"?4:-1),s(2),b(e.article.searchWidget&&(e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)!="Coverage Type Header"?6:-1),s(3),h("ngClass",De(24,cp,e.article.searchWidget&&(e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)=="Coverage Type Header",e.article.searchWidget&&(e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)!="Coverage Type Header")),s(),h("ngClass",ue(27,dp,e.article.searchWidget&&(e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)=="Coverage Type Header"))("richText",e.article.body)("ctaLinkOverride",e.article.ctaLink),s(),b((e.article.sources==null?null:e.article.sources.value.trim())!="<p><br></p>"?11:-1),s(),h("ngClass",ue(29,mp,e.article.searchWidget&&(e.article.coverageTypeHeader==null||e.article.coverageTypeHeader[0]==null?null:e.article.coverageTypeHeader[0].name)!="Coverage Type Header")),s(2),h("pagePath",e.pagePath)("category",e.category)("lob",e.lob)("naics",e.naicsStr)("sourceContent","CONTENT_PAGE_AD")("showCarrier",!0)("contentTitle",e.article.h1),s(2),M(bt(17,22,e.article.type)),s(2),b(e.article&&e.article.sideNavItemLinks&&e.article.sideNavItemLinks.length>0?18:-1),s(),h("richText",e.article.sidebarContent)("ctaLinkOverride",e.article.ctaLink)}}var uc=(()=>{class t{contentStateService;router;location;contentDaoPublishedService;platformId;elementRef;renderer;schemaService;article;articleSchemaJson;faqSchemaJson;lastContentUrl=null;hasScrolledToAnchor=!1;constructor(e,i,n,l,d,m,p,_){this.contentStateService=e,this.router=i,this.location=n,this.contentDaoPublishedService=l,this.platformId=d,this.elementRef=m,this.renderer=p,this.schemaService=_,$e(()=>{if(this.initializeArticlePage(),!oe(this.platformId)||window.location.hash)return;let g=this.contentStateService.currentContentUrl();this.lastContentUrl===null?(g&&g!==window.location.pathname&&(this.location.go(g),window.scrollTo({top:0,left:0,behavior:"auto"})),this.lastContentUrl=g||window.location.pathname):g&&this.lastContentUrl!==g&&(this.location.go(g),window.scrollTo({top:0,left:0,behavior:"auto"}),this.lastContentUrl=g)}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}scrollToElement(e){at(e)}getPhoneNumber(){if(this.article?.searchContext?.length)for(let e of this.article.searchContext){let i=e?.name?.toUpperCase();if(!i)continue;let n=Zt.SEARCH_CONTEXT_TAXONOMY_CATEGORIES[i]?.toUpperCase();if(n==="PERSONAL")return J.personalPhoneNumber;if(n==="COMMERCIAL")return J.commercialPhoneNumber}return J.genericPhoneNumber}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}initializeArticlePage(){this.contentStateService.currentContentItem()?.type==="article"&&(this.article=this.contentStateService.currentContentItem(),this.article.expert=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.article?.expert),this.article.blogAuthor=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.article?.blogAuthor),this.articleSchemaJson=this.schemaService.buildArticleSchema(this.article,this.pagePath),this.faqSchemaJson=this.schemaService.buildFaqSchema(this.article)),this.contentStateService.currentContentItem()?.type!=="article"&&this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}get pagePath(){let e=this.article;if(e?.publishedUrlPath)return e.publishedUrlPath;
13let i=(e?.urlPath??[]).map(l=>l?.name).filter(Boolean),n=e?.urlPattern?`/${e.urlPattern}`:"";return i.length?`/${i.join("/")}${n}`:"/"}get category(){let e=this.article,i=e?.searchContext?.[0]?.codename??e?.searchWidget?.searchContext?.[0]?.codename??e?.ctaLink?.category;return i?String(i).toUpperCase():void 0}get lob(){let e=this.article?.ctaLink?.businessLines;if(Array.isArray(e)&&e.length)return String(e[0])}get naicsStr(){let e=this.article?.naics;return e===0||e?String(e):void 0}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Me),A(nt),A(de),A(We),A(Ze),A(ut))};static \u0275cmp=$({type:t,selectors:[["app-article"]],decls:3,vars:4,consts:[[3,"phoneNumber","ctaLink","title"],["key","article",3,"json"],["key","faq",3,"json"],[1,"mb-10","article-styling"],["id","header-section",1,"relative","w-full","h-full"],["id","coverage-type-header",1,"relative","w-full","mb-10","z-10","bottom-0","h-full","bg-no-repeat","left-0","right-0","lg:bg-insuredBetter-backdrop_white","lg:bg-[url('https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9bf2abbd-460f-4944-932b-1217f1d7bffa/article-hero-background.svg')]"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5",3,"ngClass"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5"],[1,"flex","flex-col","lg:flex-row"],["id","main-content",3,"ngClass"],[1,"article-styling",3,"ngClass","richText","ctaLinkOverride"],[1,"sources-details","mt-12"],[1,"sm:max-w-72","sm:min-w-72","mt-16","lg:mt-0",3,"ngClass"],["id","recommendations-section"],[3,"pagePath","category","lob","naics","sourceContent","showCarrier","contentTitle"],[1,"hidden","font-bold","mb-3"],[3,"richText","ctaLinkOverride"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","flex","flex-col","justify-items-center","h-full","mt-5","sm:mt-20","px-5"],[3,"publishedPagePath"],["id","author-bio",1,"mb-5","flex","sm:flex-row","flex-col","flex-wrap","lg:items-center"],["name","author-bio-link",1,"relative","cursor-pointer","mr-6","group","min-w-56"],["name","author-bio-link",1,"relative","cursor-pointer","mr-6","group"],[1,"flex","items-center","text-insuredBetter-text_gray","order-1","sm:order-last","mb-3","sm:mb-0"],[1,"relative","w-full","h-full"],[1,"flex","items-center","order-2","sm:order-1","mb-3","sm:mb-0"],[3,"src"],[1,"text-insuredBetter-text_gray"],[1,"inline-block","relative"],["data-id","author-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"tooltip-container","leading-5","z-20","min-w-80","absolute","top-10","left-0","rounded","bg-white","p-3.5","text-sm","text-insuredBetter-text_gray","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","hidden","group-hover:block"],[1,"flex"],[1,"object-cover","overflow-hidden","min-w-14","min-h-14","rounded-full",3,"src"],[1,"ml-3","flex","flex-col"],[3,"href"],[1,"text-2xl","text-insuredBetter-forest_green","underline","hover:no-underline"],[1,"my-3"],[1,"flex","items-center","order-last","sm:order-2","mb-3","sm:mb-0"],[1,"text-insuredBetter-text_gray","flex","items-center"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16.05 16.05",1,"mr-1","position-relative",2,"top","2px"],["d","m1.1,12.02C-.33,9.55-.33,6.5,1.1,4.03S5.17.03,8.03.03s5.5,1.52,6.93,4,1.43,5.52,0,8-4.07,4-6.93,4-5.5-1.52-6.93-4Zm1.3-7.25c-1.16,2.01-1.16,4.49,0,6.5,1.16,2.01,3.31,3.25,5.63,3.25s4.47-1.24,5.63-3.25c1.16-2.01,1.16-4.49,0-6.5-1.16-2.01-3.31-3.25-5.63-3.25s-4.47,1.24-5.63,3.25Zm5.16,5.78l-.53.53-.53-.53-2-2-.53-.53,1.06-1.06.53.53,1.47,1.47,3.47-3.47.53-.53,1.06,1.06-.53.53-4,4Z",1,"expert-review-check"],["data-id","expert-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"mx-auto","max-w-screen-md","lg:max-w-screen-xl","px-5"],["id","hero-image",3,"src","alt"],[1,"bg-insuredBetter-forest_green","rounded-2xl","lg:rounded-none","lg:bg-transparent","py-10","flex","mx-4","md:mx-auto","items-center","max-w-screen-md","lg:max-w-screen-xl","px-5","lg:px-0","my-10","lg:my-0","lg:py-10","relative","justify-center","lg:justify-start"],[1,"relative","z-20","lg:w-3/4","ml-4","xl:ml-0","text-center","lg:text-left"],[1,"max-w-lg"],[1,"coverage-type-search-widget"],[1,"hidden","lg:block","w-1/4","relative","pb-5"],["id","hero-image-2","width","350",1,"relative","z-10","right-[80px]",3,"src","alt"],[3,"searchWidget","ctaLinkOverride","title"],[1,"mb-2.5","font-semibold"],[1,"article-styling",3,"richText"],[1,"first-of-type:pt-0"],[1,"mb-5"],[1,"text-lg","inline-block","font-medium","text-black","leading-5"],[1,"text-lg","inline-block","font-medium","text-black","leading-5",3,"routerLink"],[1,"list-none","lg:pl-5"],[1,"first-of-type:border-t","border-b"],[1,"font-bold","pointer-events-none","cursor-default","text-insuredBetter-forest_green"],[3,"routerLink"],[1,"list-none","pl-5","pt-2"],[1,"border-b","first-of-type:border-t","last-of-type:pb-0","last-of-type:border-b-0"]],template:function(i,n){i&1&&(u(0,"app-header",0),I(1,Vp,20,31),u(2,"app-footer")),i&2&&(h("phoneNumber",n.getPhoneNumber())("ctaLink",n.article==null?null:n.article.ctaLink)("title",n.article==null?null:n.article.h1),s(),b(n.article?1:-1))},dependencies:[li,Ve,ze,Ee,Pe,ke,fa,Gt,ci,je,di,mt],styles:[`.article-styling #header-section #author-bio img{margin-right:.5rem}.article-styling #header-section #author-bio img{max-height:2.25rem}.article-styling #header-section #author-bio img{max-width:2.25rem}.article-styling #header-section #author-bio img{overflow:hidden}.article-styling #header-section #author-bio img{border-radius:9999px}.article-styling #header-section #author-bio img{object-fit:cover}.article-styling #header-section #author-bio img{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
13--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.article-styling #header-section #author-bio .tooltip-container{max-width:2.25rem}.article-styling #header-section #hero-image{height:100%}.article-styling #header-section #hero-image{width:100%}.article-styling #header-section #hero-image{border-radius:.25rem}.article-styling #header-section #hero-image{object-fit:contain}.article-styling #header-section #hero-image{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){.article-styling #coverage-type-header,.article-styling .coverage-type-styling{background-position:calc(50% - 205px) calc(50% - 370px)}}@media (min-width: 1280px){.article-styling #coverage-type-header,.article-styling .coverage-type-styling{background-position:calc(50% - 210px) calc(50% - 375px)}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1{font-family:Poppins,sans-serif}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1{font-size:1.875rem;line-height:2.25rem}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1{font-weight:500}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1+span{margin-top:1rem}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1+span{margin-bottom:1.25rem}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1+span{display:block}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1+span{font-size:1.125rem;line-height:1.75rem}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1+span{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) h1+span{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget{display:inline-block}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{margin-top:0;margin-bottom:0}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{background-color:transparent}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{padding:0}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
13dow)}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div{border-width:0px}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div{padding:0}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div>div{display:none}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{position:relative}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{top:0}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{background-color:transparent}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{padding-left:0;padding-right:0}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form input{min-width:fit-content}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form input{min-width:auto}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-bg-opacity: 1;background-color:rgb(117 186 48 / var(--tw-bg-opacity))}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span{padding-left:1.25rem;padding-right:1.25rem}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column{flex-wrap:wrap}}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div{flex-shrink:0}}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div{flex-grow:0}}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div{flex-basis:50%}}@media (min-width: 1024px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div{flex-basis:33.333333%}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div>div{border-width:1px}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div>div{border-color:transparent}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div>div:hover{--tw-border-opacity: 1;border-color:rgb(8 115 10 / var(--tw-border-opacity))}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div>div:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}@media (min-width: 1280px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column>div>div{padding-left:.625rem;padding-right:.625rem}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column a{display:block}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column a{font-size:1.25rem;line-height:1.75rem}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column a{line-height:1.5rem!important}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column a{text-decoration-line:none}@media (min-width: 640px){:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column a{font-size:1.5rem;line-height:2rem}}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-3-column h2{margin-top:0}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-add-an-image+p,:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-add-an-image+h2{margin-bottom:.5rem}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-add-an-image img{height:75px}:is(.article-styling #coverage-type-header,.article-styling .coverage-type-styling) .element-add-an-image img{width:75px}.article-styling #main-content table{margin-bottom:2.5rem}.article-styling #main-content table{width:100%}.article-styling #main-content table thead>tr>th{border-width:1px}.article-styling #main-content table thead>tr>th{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.article-styling #main-content table thead>tr>th{padding:.75rem}
13.article-styling #main-content table tr:nth-of-type(odd):not(thead>tr){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.article-styling #main-content table td{border-width:1px}.article-styling #main-content table td{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.article-styling #main-content table td{padding:.75rem}.article-styling #main-content table td{vertical-align:top}.article-styling #main-content table td{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}.article-styling #main-content span>table{display:block}.article-styling #main-content span>table{overflow-x:auto}.article-styling #main-content ul,.article-styling #main-content ol{margin-top:1.25rem}.article-styling #main-content ul,.article-styling #main-content ol{padding-inline-start:2.5rem}:is(.article-styling #main-content ul,.article-styling #main-content ol) li{margin-bottom:1.25rem}:is(.article-styling #main-content ul,.article-styling #main-content ol) li{--tw-text-opacity: 1;color:rgb(59 63 62 / var(--tw-text-opacity))}:is(.article-styling #main-content ul,.article-styling #main-content ol) li::marker{--tw-text-opacity: 1;color:rgb(59 63 62 / var(--tw-text-opacity))}.article-styling #main-content ul li{list-style-type:disc}.article-styling #main-content ol li{list-style-type:decimal}.article-styling #main-content .sources-details{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.article-styling #main-content .sources-details p{margin-bottom:.25rem}.article-styling #main-content .sources-details p{font-size:.875rem;line-height:1.25rem}.article-styling #main-content .sources-details>summary{list-style-type:none}.article-styling #main-content .sources-details>summary:after{content:var(--tw-content);position:relative}.article-styling #main-content .sources-details>summary:after{content:var(--tw-content);top:-.125rem}.article-styling #main-content .sources-details>summary:after{content:var(--tw-content);margin-left:.5rem}.article-styling #main-content .sources-details>summary:after{--tw-content: url(/assets/down-caret.svg);content:var(--tw-content)}.article-styling #main-content .sources-details>summary::-webkit-details-marker{display:none}.article-styling #main-content .sources-details[open] summary:after{--tw-content: url(/assets/up-caret.svg);content:var(--tw-content)}.article-styling aside ul{margin-bottom:0}.article-styling aside ul li{padding-top:.5rem;padding-bottom:.5rem}.article-styling aside ul li{line-height:1.25rem}.article-styling aside ul li{--tw-text-opacity: 1;color:rgb(59 63 62 / var(--tw-text-opacity))}.article-styling aside ul li a{text-decoration-line:none}.article-styling aside ul li a:hover{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.article-styling aside ul li a:hover{text-decoration-line:underline} 14`],encapsulation:2})}return t})();var Br="kontent_url_structure_taxonomy",Lr="kontent_full_header",Fr="kontent_full_footer";function Co(t){return"kontent_page_item_"+t}var pc=(()=>{class t{router;contentDaoService;contentStateService;metadataService;transferState;document;$urlStructureTaxonomy;isBrowser;constructor(e,i,n,l,d,m,p){this.router=e,this.contentDaoService=i,this.contentStateService=n,this.metadataService=l,this.transferState=d,this.document=m,this.$urlStructureTaxonomy=Zi(this.contentStateService.urlStructureTaxonomy),this.isBrowser=oe(p)}canActivate(e,i){if(this.isBrowser){let n=Co(i.url);if(this.transferState.hasKey(n)){let l=this.transferState.get(n,null);return this.transferState.remove(n),l?this.activateItem(l,i):!0}}return this.contentStateService.urlStructureTaxonomy()?this.processPageRequest(e,i):this.$urlStructureTaxonomy.pipe(st(n=>!!n),ft(()=>this.processPageRequest(e,i)))}activateItem(e,i){return e.type==="carrier_landing_page"?((typeof window<"u"?window:this.document).location.href=`${J.insuredBetterDirectoryUrl}${i.url}`,!1):(this.contentStateService.currentContentItem.set(e),this.contentStateService.currentContentUrl.set(i.url),this.metadataService.updateMetadata(e.metadata,`${J.canonicalUrl}${i.url}`),this.router.navigateByUrl("content-type-route/"+e.type,{skipLocationChange:!0}).finally(),!1)}processPageRequest(e,i){return this.contentDaoService.getItemForUrlPath(e.url).then(n=>(this.isBrowser||this.transferState.set(Co(i.url),n??null),n?this.activateItem(n,i):!0)).catch(()=>!0)}static \u0275fac=function(i){return new(i||t)(ee(le),ee(nt),ee(ye),ee(ri),ee(pn),ee(Xe),ee(de))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Hp=()=>["/"],Dr=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-not-found-page"]],decls:19,vars:2,consts:[[1,"flex","flex-col","min-h-screen"],[1,"flex-grow","max-w-screen-lg","mx-auto","px-5","flex","flex-col","justify-center","items-center","md:items-start"],[1,"flex","flex-col","md:flex-row","items-center","lg:items-start","my-auto"],[1,"min-w-[275px]","mt-8","md:mt-0"],["src","/assets/error-page-graphic.svg","alt","Error illustration","width","320"],[1,"max-w-sm","md:max-w-[600px]","pl-0","md:pl-10","lg:pl-16","my-12","md:my-0","text-left"],[1,"text-2xl","sm:text-3xl","md:text-4xl","mb-2","text-insuredBetter-forest_green","font-semibold"],[1,"mb-6","text-insuredBetter-primary_text"],[1,"text-insuredBetter-primary_text"],[1,"text-insuredBetter-forest_green","underline","hover:text-insuredBetter-dark_forest","hover:no-underline",3,"routerLink"],[1,"mt-auto"]],template:function(i,n){i&1&&(o(0,"div",0),u(1,"app-header"),o(2,"div",1)(3,"main",2)(4,"div",3),u(5,"img",4),a(),o(6,"div",5)(7,"h1",6),c(8,"Oh, fudge"),a(),o(9,"p",7),c(10," If you're on this page and reading this sentence, it means we couldn't find the page you're looking for. "),o(11,"strong"),c(12,"Sorry about that, but don't freak out!"),a()(),o(13,"p",8),c(14," We have all kinds of other pages for you. Use the links above or below to choose a new informational adventure, or go to our "),o(15,"a",9),c(16,"homepage"),a(),c(17,". "),a()()()(),u(18,"app-footer",10),a()),i&2&&(s(15),h("routerLink",Re(1,Hp)))},dependencies:[Ee,ze,je],styles:[`footer>div:first-of-type{display:none} 15`],encapsulation:2})}return t})();var St=(()=>{class t{router;contentStateService;location;constructor(e,i,n){this.router=e,this.contentStateService=i,this.location=n}canActivate(e,i){return this.contentStateService.currentContentItem()==null?(this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally(),!1):(this.location.go(this.contentStateService.currentContentUrl()),!0)}static \u0275fac=function(i){return new(i||t)(ee(le),ee(ye),ee(Me))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hc=(()=>{class t extends is{deliveryService;contentStateService;contentDaoSharedService;constructor(e,i,n){super(e,i),this.deliveryService=e,this.contentStateService=i,this.contentDaoSharedService=n,this.deliveryService.init(!0)}getItemForCodename(e){return this.deliveryService.getItemForCodename(e).then(i=>{let n=Mt.responseToItems(i).map(Mt.mapAny).at(0);if(n)return n.preview=!0,n.urlPath?.[0]?.codename?(n.publishedUrlPath=(Mt.findUrlPathTaxonomyFromCodename(n.urlPath[0].codename,this.contentStateService.urlStructureTaxonomy())?.fullPath||"")+"/"+n.urlPattern,this.contentDaoSharedService.getUrlPathChainItemsForUrlPathTaxonomyCodename(n.urlPath[0].codename,!0).then(l=>(n.sideNavItemLinks=l,n))):n})}static \u0275fac=function(i){return new(i||t)(ee(Sn),ee(ye),ee(ns))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gc=(()=>{class t{router;contentDaoService;contentStateService;metadataService;$urlStructureTaxonomy;constructor(e,i,n,l){this.router=e,this.contentDaoService=i,this.contentStateService=n,this.metadataService=l,this.$urlStructureTaxonomy=Zi(this.contentStateService.urlStructureTaxonomy)}canActivate(e,i){let n=e?.url?.at(0)?.path;return n?this.contentStateService.urlStructureTaxonomy()?this.processPageRequest(n,e,i):this.$urlStructureTaxonomy.pipe(st(l=>!!l),ft(()=>this.processPageRequest(n,e,i))):!0}processPageRequest(e,i,n){return this.contentDaoService.getItemForCodename(e).then(l=>l?(this.contentStateService.currentContentItem.set(l),this.contentStateService.currentContentUrl.set(n.url),this.contentStateService.isPreviewMode.set(!0),this.metadataService.updateMetadata(l.metadata,`${J.canonicalUrl}${n.url}`),this.router.navigateByUrl("content-type-route/"+l.type,{skipLocationChange:!0}).finally(),!1):!0)}static \u0275fac=function(i){return new(i||t)(ee(le),ee(hc),ee(ye),ee(ri))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Di(t,r){if(!t)return"/";if(t.publishedUrlPath)return Mr(t.publishedUrlPath);let e=r?.currentContentUrl;if(e&&!e.startsWith("/content-type-route"))return Mr(e);let i=(t.urlPath??[]).map(d=>
15d?.name).filter(Boolean),n=t.urlPattern?`/${t.urlPattern}`:"";if(i.length)return Mr(`/${i.join("/")}${n}`);let l=(r?.routerUrl||"/").split("?")[0]||"/";return l.startsWith("/content-type-route")?"/":Mr(l)}function Mr(t){let r=(t||"/").split("?")[0].split("#")[0]||"/";return r.startsWith("/")?r:`/${r}`}function Wp(t,r){if(t&1&&u(0,"app-preview-page-location",5),t&2){let e=f(2);h("publishedPagePath",e.lobExperience.publishedUrlPath)}}function Zp(t,r){if(t&1&&(o(0,"div",23)(1,"div",28),u(2,"img",29),o(3,"span",30),c(4,"Written by\xA0"),a(),o(5,"div",31)(6,"span",32),c(7),a()()(),o(8,"div",33)(9,"div",34),u(10,"img",35),o(11,"div",36)(12,"span"),c(13,"Written by"),a(),o(14,"a",37)(15,"span",38),c(16),a()(),o(17,"span"),c(18),a()()(),u(19,"hr",39),o(20,"div"),c(21),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(5),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(4),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function $p(t,r){t&1&&(o(0,"div",24),c(1),Ue(2,"date"),a()),t&2&&(s(),Z("Updated ",Dt(2,1,r,"MMMM d, yyyy"),""))}function Yp(t,r){if(t&1&&(o(0,"section",27),u(1,"app-rich-text",40),a()),t&2){let e=f(3);s(),h("richText",e.lobExperience.lobCalculator)}}function Kp(t,r){if(t&1&&(u(0,"div",16),o(1,"div",17)(2,"section",18)(3,"div",19)(4,"div",20)(5,"h1",21),c(6),a(),o(7,"div",22),c(8),a(),o(9,"div",13),I(10,Zp,22,13,"div",23)(11,$p,3,4,"div",24),a()(),o(12,"div",25),u(13,"img",26),a()(),I(14,Yp,2,1,"section",27),a()()),t&2){let e,i,n=f(2);s(6),M(n.lobExperience.h1),s(2),M(n.lobExperience.subtitle),s(2),b((e=n.lobExperience.blogAuthor)?10:-1,e),s(),b((i=n.lobExperience.date)?11:-1,i),s(2),K("src",n.lobExperience.headerImage==null?null:n.lobExperience.headerImage.url,k),K("alt",n.lobExperience.headerImage==null?null:n.lobExperience.headerImage.description),s(),b((n.lobExperience.lobCalculator==null?null:n.lobExperience.lobCalculator.value.trim())!="<p><br></p>"?14:-1)}}function Jp(t,r){t&1&&(o(0,"h1"),c(1),a()),t&2&&(s(),M(r))}function Qp(t,r){t&1&&(o(0,"span"),c(1),a()),t&2&&(s(),M(r))}function Xp(t,r){if(t&1&&(o(0,"div",45),u(1,"app-search-widget",48),a()),t&2){let e=f(3);s(),h("searchWidget",e.lobExperience.searchWidget)("ctaLinkOverride",e.lobExperience.ctaLink)("title",e.lobExperience.h1)}}function eh(t,r){if(t&1&&(o(0,"div",6)(1,"section",17)(2,"div",41)(3,"div",42)(4,"div",43)(5,"div",44),I(6,Jp,2,1,"h1")(7,Qp,2,1,"span")(8,Xp,2,3,"div",45),a()(),o(9,"div",46),u(10,"img",47),a()()()()()),t&2){let e,i,n=f(2);s(6),b((e=n.lobExperience.h1)?6:-1,e),s(),b((i=n.lobExperience.subtitle)?7:-1,i),s(),b(n.lobExperience.searchWidget?8:-1),s(2),K("src",n.lobExperience.headerImage==null?null:n.lobExperience.headerImage.url,k),K("alt",n.lobExperience.headerImage==null?null:n.lobExperience.headerImage.description)}}function th(t,r){if(t&1&&(o(0,"div",23)(1,"div",28),u(2,"img",29),o(3,"span",30),c(4,"Written by\xA0"),a(),o(5,"div",31)(6,"span",32),c(7),a()()(),o(8,"div",33)(9,"div",34),u(10,"img",35),o(11,"div",36)(12,"span"),c(13,"Written by"),a(),o(14,"a",37)(15,"span",38),c(16),a()(),o(17,"span"),c(18),a()()(),u(19,"hr",39),o(20,"div"),c(21),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(5),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(4),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function ih(t,r){t&1&&(o(0,"div",24),c(1),Ue(2,"date"),a()),t&2&&(s(),Z("Updated ",Dt(2,1,r,"MMMM d, yyyy"),""))}function nh(t,r){if(t&1&&(o(0,"div",13),I(1,th,22,13,"div",23)(2,ih,3,4,"div",24),a()),t&2){let e,i,n=f(2);s(),b((e=n.lobExperience.blogAuthor)?1:-1,e),s(),b((i=n.lobExperience.date)?2:-1,i)}}function rh(t,r){if(t&1&&(u(0,"app-json-ld",2)(1,"app-json-ld",3),o(2,"main",4),I(3,Wp,1,1,"app-preview-page-location",5)(4,Kp,15,7)(5,eh,11,5,"div",6),o(6,"section",7)(7,"aside",8),u(8,"app-rich-text",9),o(9,"section",10),u(10,"app-recommendations",11),a()(),o(11,"div",12),I(12,nh,3,2,"div",13),u(13,"app-rich-text",14),a()()(),u(14,"app-rich-text",15)(15,"app-rich-text",15)),t&2){let e=f();
15h("json",e.faqSchemaJson),s(),h("json",e.serviceSchemaJson),s(2),b(e.lobExperience.preview?3:-1),s(),b((e.lobExperience.lobCalculator==null?null:e.lobExperience.lobCalculator.value.trim())!="<p><br></p>"?4:-1),s(),b((e.lobExperience.lobCalculator==null?null:e.lobExperience.lobCalculator.value.trim())=="<p><br></p>"?5:-1),s(3),h("richText",e.lobExperience.navigationLinks),s(2),h("pagePath",e.pagePath)("category",e.category)("lob",e.lob)("naics",e.naicsStr)("sourceContent","CONTENT_PAGE_AD")("showCarrier",!0)("isLobExperience",!0),s(2),b((e.lobExperience.lobCalculator==null?null:e.lobExperience.lobCalculator.value.trim())=="<p><br></p>"?12:-1),s(),h("richText",e.lobExperience.mainContent),s(),h("richText",e.lobExperience.marketingContent),s(),h("richText",e.lobExperience.testimonialContent)}}function oh(t,r){if(t&1&&u(0,"app-footer",49),t&2){let e=f();h("ctaLink",e.footerCtaLink)}}var fc=(()=>{class t{contentStateService;router;elementRef;renderer;contentDaoPublishedService;location;platformId;schemaService;lobExperience;hasScrolledToAnchor=!1;backgroundImageUrl;phoneNumber="";pagePath="";category;lob;naicsStr;faqSchemaJson;serviceSchemaJson;constructor(e,i,n,l,d,m,p,_){this.contentStateService=e,this.router=i,this.elementRef=n,this.renderer=l,this.contentDaoPublishedService=d,this.location=m,this.platformId=p,this.schemaService=_,$e(()=>{this.initializeLobExperiencePage(),oe(this.platformId)&&!window.location.hash&&window.location.pathname!=this.contentStateService.currentContentUrl()&&(this.initializeLobExperiencePage(),this.location.go(this.contentStateService.currentContentUrl()),window.scrollTo({top:0,left:0,behavior:"auto"}))}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}ngOnInit(){if(this.contentStateService.currentContentItem()?.type==="lob_experience_page"){this.lobExperience=this.contentStateService.currentContentItem(),this.backgroundImageUrl=this.lobExperience?.headerImage?.url,this.pagePath=Di(this.lobExperience,{currentContentUrl:this.contentStateService.currentContentUrl(),routerUrl:this.router.url});let e=this.lobExperience?.naics;this.naicsStr=typeof e=="number"?String(e):void 0;let i=this.searchContextCodes(this.lobExperience?.searchContext||[]);this.lob=this.pickLobFromSearchContext(i),this.category=this.pickCategoryFromSearchContext(i),this.category==="COMMERCIAL"?this.phoneNumber=J.commercialPhoneNumber:this.category==="PERSONAL"?this.phoneNumber=J.personalPhoneNumber:this.phoneNumber=J.genericPhoneNumber}else this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}searchContextCodes(e){return(e||[]).map(i=>i?.codename||i?.code||i?.name||"").filter(Boolean).map(i=>i.trim().toLowerCase())}pickLobFromSearchContext(e){let i=Object.keys(Zt.SEARCH_CONTEXT_TAXONOMY_CATEGORIES);return e.map(l=>l.toUpperCase()).find(l=>i.includes(l))}pickCategoryFromSearchContext(e){for(let i of e){let n=i.toUpperCase();if(n==="PERSONAL"||n==="COMMERCIAL"||n==="LIFE_ANNUITIES")return n}}get footerCtaLink(){return this.lobExperience?.ctaLink}scrollToElement(e){at(e)}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}initializeLobExperiencePage(){if(this.contentStateService.currentContentItem()?.type==="lob_experience_page"){this.lobExperience=this.contentStateService.currentContentItem();let e=this.lobExperience?.naics;this.naicsStr=typeof e=="number"?String(e):void 0,this.lobExperience.blogAuthor=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.lobExperience?.blogAuthor),this.faqSchemaJson=this.schemaService.buildFaqSchema(this.lobExperience),this.serviceSchemaJson=this.schemaService.buildLobExperienceSchema(this.lobExperience,this.pagePath,this.phoneNumber)}this.contentStateService.currentContentItem()?.type!=="lob_experience_page"&&this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(We),A(Ze),A(nt),A(Me),A(de),A(ut))};static \u0275cmp=$({type:t,selectors:[["app-lob-experience"]],decls:3,vars:5,consts:[[3,"ctaLink","phoneNumber","title"],[3,"ctaLink",4,"ngIf"],["key","faq",3,"json"],["key","service",3,"json"],[1,"lob-experience-styling","relative"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","block",3,"publishedPagePath"],[1,"lob-no-calculator","mb-10","z-10","bottom-0","h-full","bg-no-repeat","left-0","right-0","lg:bg-insuredBetter-backdrop_white","lg:bg-[url('https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9bf2abbd-460f-4944-932b-1217f1d7bffa/article-hero-background.svg')]"],["id","main-section",1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","flex","flex-col","lg:flex-row","mb-16","px-4","lg:px-0"],["id","navigation-container",1,"lg:max-w-72","lg:min-w-72","sm:mr-16","lg:pl-5","order-2","lg:order-1"],["
15id","navigation-links",3,"richText"],["id","recommendations-section"],[3,"pagePath","category","lob","naics","sourceContent","showCarrier","isLobExperience"],[1,"lg:max-w-screen-sm","flex-grow","order-1","lg:order-2"],["id","author-bio",1,"mb-5","flex","sm:flex-row","flex-col","flex-wrap","lg:items-center"],["id","main-content",1,"main-content-styling",3,"richText"],[3,"richText"],[1,"bg-[center_bottom_-4rem]","absolute","-z-10","lg:bg-insuredBetter-backdrop_white","mb-10","top-[-5rem]","h-full","bg-cover","lg:w-full","lg:max-h-[650px]","xl:max-h-[700px]","bg-no-repeat","left-0","right-0","lg:bg-[url('https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/9bf2abbd-460f-4944-932b-1217f1d7bffa/article-hero-background.svg')]"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto"],["id","header-section"],[1,"lg:min-h-80","flex"],[1,"lg:w-2/3"],["id","h1-header"],["id","subtitle"],["name","author-bio-link",1,"relative","cursor-pointer","mr-3","group","min-w-56"],[1,"flex","items-center","text-insuredBetter-text_gray","order-1","sm:order-last","mb-3","sm:mb-0"],[1,"hidden","relative","z-10","lg:w-1/3","lg:flex","justify-center"],[3,"src","alt"],["id","calculator-section",1,"mt-10","lg:-mt-24"],[1,"flex","items-center","order-2","sm:order-1","mb-3","sm:mb-0"],[3,"src"],[1,"text-insuredBetter-text_gray"],[1,"inline-block","relative"],["data-id","author-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"tooltip-container","leading-5","z-20","min-w-80","absolute","top-10","left-0","rounded","bg-white","p-3.5","text-sm","text-insuredBetter-text_gray","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","hidden","group-hover:block"],[1,"flex"],[1,"object-cover","overflow-hidden","min-w-14","min-h-14","rounded-full",3,"src"],[1,"ml-3","flex","flex-col"],[3,"href"],[1,"text-2xl","text-insuredBetter-forest_green","underline","hover:no-underline"],[1,"my-3"],["id","lob-calculator",1,"lob-calculator-styling",3,"richText"],[1,"relative","w-full"],[1,"bg-insuredBetter-forest_green","rounded-2xl","lg:rounded-none","lg:bg-transparent","py-10","flex","mx-4","md:mx-auto","max-w-screen-md","lg:max-w-screen-xl","px-5","lg:px-0","lg:mt-0","mt-10","mb-10","relative","justify-center","lg:justify-start"],[1,"lg:w-3/4","ml-4","xl:ml-0","text-center","lg:text-left","lg:mb-10","relative","z-40"],[1,"lg:max-w-2xl"],[1,"no-calculator-search-widget","mt-12"],[1,"hidden","lg:block","w-1/4","relative","pb-5"],["id","hero-image","width","350",1,"relative","right-[80px]","z-20",3,"src","alt"],[3,"searchWidget","ctaLinkOverride","title"],[3,"ctaLink"]],template:function(i,n){i&1&&(u(0,"app-header",0),I(1,rh,16,17)(2,oh,1,1,"app-footer",1)),i&2&&(h("ctaLink",n.lobExperience==null?null:n.lobExperience.ctaLink)("phoneNumber",n.phoneNumber)("title",n.lobExperience==null?null:n.lobExperience.h1),s(),b(n.lobExperience?1:-1),s(),h("ngIf",n.footerCtaLink))},dependencies:[li,Ve,ze,Ee,Gt,ci,Pe,Ht,di,mt],styles:[`@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator{background-position:calc(50% - 205px) calc(50% - 370px)}}@media (min-width: 1280px){.lob-experience-styling .lob-no-calculator{background-position:calc(50% - 210px) calc(50% - 375px)}}.lob-experience-styling .lob-no-calculator h1{font-family:Poppins,sans-serif}.lob-experience-styling .lob-no-calculator h1{font-weight:500}.lob-experience-styling .lob-no-calculator h1{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator h1{margin-top:1.5rem}}@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator h1{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}}.lob-experience-styling .lob-no-calculator h1+span{margin-top:1rem}.lob-experience-styling .lob-no-calculator h1+span{margin-bottom:1.25rem}.lob-experience-styling .lob-no-calculator h1+span{display:block}.lob-experience-styling .lob-no-calculator h1+span{font-size:1.125rem;line-height:1.75rem}.lob-experience-styling .lob-no-calculator h1+span{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator h1+span{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget{margin-top:0}@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator .no-calculator-search-widget{margin-top:3rem}}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget{display:inline-block}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div{margin-top:0;margin-bottom:0}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div{background-color:transparent}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div{padding:0}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
15dow)}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div{border-width:0px}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div{padding:0}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div>div{display:none}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form{position:relative}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form{top:0}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form{background-color:transparent}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form{padding-left:0;padding-right:0}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form input{min-width:fit-content}@media (min-width: 640px){.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form input{min-width:auto}}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a{--tw-bg-opacity: 1;background-color:rgb(117 186 48 / var(--tw-bg-opacity))}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a{--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button:hover,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a:hover{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button:hover,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}}@media (min-width: 1024px){.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a) span{padding-left:1.25rem;padding-right:1.25rem}@media (min-width: 1024px){:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a) span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 1024px){:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a) span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 1024px){:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a) span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a):hover span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a):hover span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form button,.lob-experience-styling .lob-no-calculator .no-calculator-search-widget app-search-widget>div>div form a):hover span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lob-experience-styling #background-image-container{margin-left:auto;margin-right:auto}.lob-experience-styling #background-image-container{margin-bottom:2.5rem}.lob-experience-styling #background-image-container{height:20rem}.lob-experience-styling #background-image-container{background-position:right}.lob-experience-styling #background-image-container{background-repeat:no-repeat}.lob-experience-styling #header-section{margin-left:auto;margin-right:auto}.lob-experience-styling #header-section{margin-top:5rem}.lob-experience-styling #header-section{margin-bottom:1.25rem}.lob-experience-styling #header-section{max-width:1280px}.lob-experience-styling #header-section{padding-left:1rem;padding-right:1rem}.lob-experience-styling #header-section #subtitle{margin-top:1rem}.lob-experience-styling #header-section #subtitle{margin-bottom:1.25rem}.lob-experience-styling #header-section #subtitle{display:block}.lob-experience-styling #header-section #subtitle{font-size:1.125rem;line-height:1.75rem}.lob-experience-styling #header-section #subtitle{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}.lob-experience-styling #header-section #author-container{display:flex}.lob-experience-styling #header-section #author-container{flex-direction:row}.lob-experience-styling #header-section #author-container{align-items:center}
15.lob-experience-styling #header-section #author-container{column-gap:.5rem}.lob-experience-styling #header-section #author-container #author-image{margin-right:.5rem}.lob-experience-styling #header-section #author-container #author-image{max-height:2.25rem}.lob-experience-styling #header-section #author-container #author-image{max-width:2.25rem}.lob-experience-styling #header-section #author-container #author-image{overflow:hidden}.lob-experience-styling #header-section #author-container #author-image{border-radius:9999px}.lob-experience-styling #header-section #author-container #author-image{object-fit:cover}.lob-experience-styling #header-section #author-container #author-image{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.lob-experience-styling #header-section #search-widget{margin-top:0}.lob-experience-styling #header-section #search-widget{padding-top:0}.lob-experience-styling #header-section .element-search-widget button.group{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}.lob-experience-styling #header-section .element-search-widget button.group{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.lob-experience-styling #header-section .element-search-widget button.group:hover{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}.lob-experience-styling #author-bio img{margin-right:.5rem}.lob-experience-styling #author-bio img{max-height:2.25rem}.lob-experience-styling #author-bio img{max-width:2.25rem}.lob-experience-styling #author-bio img{overflow:hidden}.lob-experience-styling #author-bio img{border-radius:9999px}.lob-experience-styling #author-bio img{object-fit:cover}.lob-experience-styling #author-bio img{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
15--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.lob-experience-styling #author-bio .tooltip-container{max-width:2.25rem}.lob-experience-styling #calculator-section{width:100%}.lob-experience-styling #calculator-section app-rich-text>div>div{margin-top:0}.lob-experience-styling #calculator-section app-rich-text>div>div{margin-bottom:0}.lob-experience-styling #calculator-section app-rich-text>div>div form a{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}.lob-experience-styling #calculator-section app-rich-text>div>div form a{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.lob-experience-styling #calculator-section app-rich-text>div>div form a:hover{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}.lob-experience-styling #calculator-section app-rich-text>div>div img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lob-experience-styling #calculator-section app-rich-text>div>div img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lob-experience-styling #calculator-section app-rich-text>div>div img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.lob-experience-styling #main-section #must-read{margin-top:1.25rem}.lob-experience-styling #main-section #must-read{margin-bottom:.375rem}.lob-experience-styling #main-section #must-read{max-width:fit-content}.lob-experience-styling #main-section #must-read{border-radius:.25rem}.lob-experience-styling #main-section #must-read{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}.lob-experience-styling #main-section #must-read{padding-top:.25rem;padding-bottom:.25rem}.lob-experience-styling #main-section #must-read{padding-left:.625rem;padding-right:.625rem}.lob-experience-styling #main-section #must-read{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.lob-experience-styling #main-section aside #navigation-links{text-align:center}@media (min-width: 640px){.lob-experience-styling #main-section aside #navigation-links{text-align:left}}.lob-experience-styling #main-section aside #navigation-links h2,.lob-experience-styling #main-section aside #navigation-links h3,.lob-experience-styling #main-section aside #navigation-links h4,.lob-experience-styling #main-section aside #navigation-links h5,.lob-experience-styling #main-section aside #navigation-links h6{margin-bottom:1rem}.lob-experience-styling #main-section aside #navigation-links h2,.lob-experience-styling #main-section aside #navigation-links h3,.lob-experience-styling #main-section aside #navigation-links h4,.lob-experience-styling #main-section aside #navigation-links h5,.lob-experience-styling #main-section aside #navigation-links h6{margin-top:1rem}.lob-experience-styling #main-section aside #navigation-links h2,.lob-experience-styling #main-section aside #navigation-links h3,.lob-experience-styling #main-section aside #navigation-links h4,.lob-experience-styling #main-section aside #navigation-links h5,.lob-experience-styling #main-section aside #navigation-links h6{font-size:1.5rem;line-height:2rem}.lob-experience-styling #main-section aside #navigation-links h2,.lob-experience-styling #main-section aside #navigation-links h3,.lob-experience-styling #main-section aside #navigation-links h4,.lob-experience-styling #main-section aside #navigation-links h5,.lob-experience-styling #main-section aside #navigation-links h6{font-weight:500}@media (min-width: 1024px){:is(.lob-experience-styling #main-section aside #navigation-links h2,.lob-experience-styling #main-section aside #navigation-links h3,.lob-experience-styling #main-section aside #navigation-links h4,.lob-experience-styling #main-section aside #navigation-links h5,.lob-experience-styling #main-section aside #navigation-links h6):first-of-type{display:none}}.lob-experience-styling #main-section aside #navigation-links li{--tw-border-opacity: 1;border-color:rgb(192 205 204 / var(--tw-border-opacity))}.lob-experience-styling #main-section aside #navigation-links li{padding-top:.5rem;padding-bottom:.5rem}.lob-experience-styling #main-section aside #navigation-links li{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.lob-experience-styling #main-section aside #navigation-links li:hover{--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}@media (min-width: 1024px){.lob-experience-styling #main-section aside #navigation-links li{border-top-width:1px}}@media (min-width: 1024px){.lob-experience-styling #main-section aside #navigation-links li{border-style:solid}}@media (min-width: 1024px){.lob-experience-styling #main-section aside #navigation-links li{padding-top:1rem;padding-bottom:1rem}}.lob-experience-styling #main-section aside #navigation-links li:first-of-type{padding-top:0}@media (min-width: 1024px){.lob-experience-styling #main-section aside #navigation-links li:first-of-type{border-top-width:0px}}@media (min-width: 1024px){.lob-experience-styling #main-section aside #navigation-links li:last-of-type{border-bottom-width:1px}}.lob-experience-styling #main-section aside #navigation-links li a{text-decoration-line:none}.lob-experience-styling #main-section aside #navigation-links li a:hover{text-decoration-line:underline}.author-info-styling{cursor:pointer;--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity));text-decoration-line:underline}.author-info-styling p{margin-bottom:0}.author-info-styling strong{font-weight:400}.search-widget-styling{margin:0;padding:0}.search-widget-styling>div{margin-left:0}.search-widget-styling>div{margin-right:0}.search-widget-styling>div{margin-bottom:0}.search-widget-styling>div{border-width:0px}.search-widget-styling>div{padding:0}.search-widget-styling>div>div{border-width:0px}.search-widget-styling>div>div{padding:0}.search-widget-styling>div>div img{display:none}.search-widget-styling>div>div>div{display:none}.search-widget-styling form{background-color:transparent}.search-widget-styling form{padding-left:.25rem;padding-right:.25rem}@media (min-width: 1024px){.search-widget-styling form{margin:0}}@media (min-width: 1024px){.search-widget-styling form{padding:0}}.main-content-styling table{margin-bottom:2.5rem}.main-content-styling table{width:100%}.main-content-styling table thead>tr>th{padding:.75rem}
15.main-content-styling table tr:nth-of-type(odd):not(thead>tr){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.main-content-styling table td{border-top-width:1px}.main-content-styling table td{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.main-content-styling table td{padding:.75rem}.main-content-styling table td{vertical-align:top}.main-content-styling table td{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}.main-content-styling ul,.main-content-styling ol{margin-top:1.25rem}.main-content-styling ul,.main-content-styling ol{padding-inline-start:2.5rem}:is(.main-content-styling ul,.main-content-styling ol) li{margin-bottom:1.25rem}:is(.main-content-styling ul,.main-content-styling ol) li{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}:is(.main-content-styling ul,.main-content-styling ol) li::marker{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.main-content-styling ul li{list-style-type:disc}.main-content-styling ol li{list-style-type:decimal}#main-content .element-search-widget{background-color:transparent}#main-content .element-search-widget{padding-top:0;padding-bottom:0}#main-content .element-search-widget{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
15dow)}#main-content .element-search-widget>div{display:flex}#main-content .element-search-widget>div{flex-direction:column}#main-content .element-search-widget>div{align-items:center}#main-content .element-search-widget>div{border-width:0px}#main-content .element-search-widget>div{padding-top:0;padding-bottom:0}@media (min-width: 640px){#main-content .element-search-widget>div{flex-direction:row}}#main-content .element-search-widget>div>div:first-of-type{position:static}#main-content .element-search-widget>div>div:first-of-type{margin-left:0;margin-right:0}#main-content .element-search-widget>div>div:first-of-type{margin-bottom:1.25rem}#main-content .element-search-widget>div>div:first-of-type{width:20rem}#main-content .element-search-widget>div>div:first-of-type{background-color:transparent}#main-content .element-search-widget>div>div:first-of-type{padding-right:1.25rem}@media (min-width: 640px){#main-content .element-search-widget>div>div:first-of-type{margin-bottom:0}}@media (min-width: 640px){#main-content .element-search-widget>div>div:first-of-type{max-width:450px}}#main-content .element-search-widget>div>div:first-of-type img{width:100%}#main-content .element-search-widget>div>div:last-of-type{display:flex}#main-content .element-search-widget>div>div:last-of-type{max-width:358px}#main-content .element-search-widget>div>div:last-of-type{flex-direction:column}@media (min-width: 640px){#main-content .element-search-widget>div>div:last-of-type{margin-top:3rem}}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{margin-left:auto;margin-right:auto}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{width:fit-content}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{padding-left:0;padding-right:0}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{text-align:left}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{font-size:.875rem;line-height:1.25rem}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{font-weight:700}#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}@media (min-width: 640px){#main-content .element-search-widget>div>div:last-of-type>div:first-of-type{margin-left:0;margin-right:0}}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{margin-bottom:1rem}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{display:inline-block}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{padding-top:.5rem;padding-bottom:.5rem}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{padding-left:0;padding-right:0}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{text-align:center}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{font-family:Poppins,sans-serif}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{font-size:1.25rem;line-height:1.75rem}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{font-weight:500}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{line-height:2rem}#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}@media (min-width: 640px){#main-content .element-search-widget>div>div:last-of-type>div:last-of-type{text-align:left}}#main-content .element-search-widget>div>div:last-of-type form{position:relative}#main-content .element-search-widget>div>div:last-of-type form{top:0}#main-content .element-search-widget>div>div:last-of-type form{left:0}#main-content .element-search-widget>div>div:last-of-type form{margin:0}#main-content .element-search-widget>div>div:last-of-type form{align-items:center}#main-content .element-search-widget>div>div:last-of-type form{background-color:transparent}#main-content .element-search-widget>div>div:last-of-type form{padding:0}@media (min-width: 640px){#main-content .element-search-widget>div>div:last-of-type form{align-items:flex-start}}#main-content .element-search-widget>div>div:last-of-type form input{display:none}#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button{width:fit-content}#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button{flex:none}#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button{padding-left:2rem;padding-right:2rem}#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}#main-content .element-search-widget>div>div:last-of-type form a:hover,#main-content .element-search-widget>div>div:last-of-type form button:hover{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}:is(#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button) span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button) span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(#main-content .element-search-widget>div>div:last-of-type form a,#main-content .element-search-widget>div>div:last-of-type form button) span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)} 16`],encapsulation:2})}return t})();var ah=()=>["/"],sh=(t,r)=>r.title;function lh(t,r){if(t&1&&u(0,"app-preview-page-location",2),t&2){let e=f(2);h("publishedPagePath",e.authorBio.publishedUrlPath)}}function ch(t,r){if(t&1&&(o(0,"div",8),u(1,"img",11),a()),t&2){let e=r;s(),K("src",e.url,k),ve("alt",e.description?e.description:"Author Photo")("width",e.width!=0?e.width:void 0)("height",e.height!=0?e.height:void 0)}}function dh(t,r){t&1&&u(0,"app-rich-text",9),t&2&&h("richText",r)}function mh(t,r){if(t&1&&(o(0,"div",15)(1,"a",16),u(2,"img",17),o(3,"div",18),c(4),a()()()),t&2){let e=r.$implicit;K("id",e.title),s(),h("routerLink",Re(7,ah)),s(),K("src",e.headerPhoto==null?null:e.headerPhoto.url,k),ve("alt",e.headerPhoto!=null&&e.headerPhoto.description?e.headerPhoto==null?null:e.headerPhoto.description:"Related Article Photo")("width",(e.headerPhoto==null?null:e.headerPhoto.width)!=0?e.headerPhoto==null?null:e.headerPhoto.width:void 0)("height",(e.headerPhoto==null?null:e.headerPhoto.height)!=0?e.headerPhoto==null?null:e.headerPhoto.height:void 0),s(2),M(e.title)}}function uh(t,r){if(t&1&&(o(0,"aside",10)(1,"div",12)(2,"div",13),c(3,"MUST READ"),a(),o(4,"div",14),we(5,mh,5,8,"div",15,sh),a()()()),t&2){let e=f(2);s(5),Se(e.authorBio.relatedArticles.slice(0,3))}}function ph(t,r){if(t&1&&(u(0,"app-json-ld",0),o(1,"main",1),I(2,lh,1,1,"app-preview-page-location",2),o(3,"section",3)(4,"h1",4),c(5),a(),o(6,"div",5),c(7),a()(),o(8,"section",6)(9,"div",7),I(10,ch,2,4,"div",8)(11,dh,1,1,"app-rich-text",9),a(),I(12,uh,7,0,"aside",10),a()()),t&2){let e,i,n=f();h("json",n.authorBioSchemaJson),s(2),b(n.authorBio.preview?2:-1),s(3),M(n.authorBio.title?n.authorBio.title:"Insurance Expert"),s(2),M(n.authorBio.designations),s(3),b((e=n.authorBio.authorPhoto)?10:-1,e),s(),b((i=n.authorBio.bio)?11:-1,i),s(),b(n.authorBio.relatedArticles&&n.authorBio.relatedArticles.length>0?12:-1)}}var xc=(()=>{class t{contentStateService;router;schemaService;authorBio;authorBioSchemaJson;constructor(e,i,n){this.contentStateService=e,this.router=i,this.schemaService=n}ngOnInit(){this.contentStateService.currentContentItem()?.type==="author_bio"?(this.authorBio=this.contentStateService.currentContentItem(),this.authorBioSchemaJson=this.schemaService.buildAuthorBioSchema(this.authorBio,Di(this.authorBio,{currentContentUrl:this.contentStateService.currentContentUrl()}))):this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(ut))};static \u0275cmp=$({type:t,selectors:[["app-author-bio"]],decls:3,vars:1,consts:[["key","person",3,"json"],[1,"max-w-screen-lg","xl:max-w-screen-xl","mt-10","mb-20","px-10","mx-auto"],[3,"publishedPagePath"],[1,"mt-2.5","mb-12"],[1,"text-center","md:text-left","text-4xl","font-semibold"],[1,"text-center","md:text-left"],["id","main-section",1,"flex","flex-col","items-center","md:items-start","lg:flex-row"],[1,"flex","flex-col","items-center","md:items-start","md:flex-row"],[1,"mb-5","md:mb-0","rounded-lg","max-w-48","min-w-48","lg:max-h-52","md:mr-10"],[1,"px-0","md:pr-10","text-insuredBetter-primary_text",3,"richText"],[1,"lg:min-w-72","lg:max-w-72"],[1,"rounded-2xl",3,"src"],[1,"flex","flex-col","mt-10","lg:mt-0","max-w-xs","mx-auto","md:mx-0","md:max-w-full"],[1,"mb-5","text-insuredBetter-primary_text","block","text-center","md:text-left"],[1,"flex","flex-wrap","sm:flex-row","lg:flex-col"],[1,"mb-5","group","basis-full","xl:basis-full","xl:m-w-full","md:flex-grow-0","md:flex-shrink-0","md:basis-4/12","md:pr-5","lg:px-0",3,"id"],[3,"routerLink"],[1,"rounded-xl","object-cover","min-h-[136px]","max-h-[136px]",3,"src"],[1,"text-center","md:text-left","text-insuredBetter-forest_green","text-sm","group-hover:underline","leading-5","mt-2"]],template:function(i,n){i&1&&(u(0,"app-header"),I(1,ph,13,7),u(2,"app-footer")),i&2&&(s(),b(n.authorBio?1:-1))},dependencies:[Ve,ze,Ee,ci,je,mt],encapsulation:2})}return t})();var vc=(()=>{class t{http;constructor(e){this.http=e}searchCarriers(e){return this.http.get(`${J.fulcrumUrl}/api/v1/search/carriers`,{params:Ma.getHttpParams(e)})}static \u0275fac=function(i){return new(i||t)(ee(qt))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var gh=["jornayaIdInput"],fh=t=>({"mt-8":t}),xh=(t,r)=>r.name;function vh(t,r){if(t&1&&u(0,"img",20),t&2){let e=r.$implicit;h("src",e.logoUrl,k)("title",e.name)("alt",e.name)}}function yh(t,r){if(t&1&&(o(0,"div",4)(1,"div",19),we(2,vh,1,3,"img",20,xh),Ue(4,"slice"),a()()),t&2){let e=f();s(2),Se(ua(4,0,e.carriers,0,5))}}function _h(t,r){t&1&&u(0,"img",12)}function bh(t,r){t&1&&(ne(),o(0,"svg",13),u(1,"circle",21)(2,"path",22),a())}var wo=(()=>{class t{platformId;carrierSearchService;funnelStateService;funnelNavigationService;fulcrumService;router;appetiteCheckService;jornayaIdInput;carriers=[];jornayaIdLoaded=!1;jornayaIdRetrievalTimeExpired=!1;mutationObserver;sessionToken;constructor(e,i,n,l,d,m,p){this.platformId=e,this.carrierSearchService=i,this.funnelStateService=n,this.funnelNavigationService=l,this.fulcrumService=d,this.router=m,this.appetiteCheckService=p,this.sessionToken=this.getSessionToken()}ngOnInit(){this.getCarriers()}ngAfterViewInit(){if(!oe(this.platformId))return;let e=this.jornayaIdInput.nativeElement;e&&(this.mutationObserver=new MutationObserver(i=>
16{i.forEach(n=>{if(n.type==="attributes"&&n.attributeName==="value"){let l=n.target.value;this.jornayaIdLoaded=!!l}})}),this.jornayaIdLoaded=!!e.value,this.mutationObserver.observe(e,{attributes:!0,attributeFilter:["value"]})),setTimeout(()=>{this.jornayaIdRetrievalTimeExpired=!0},5e3)}ngOnDestroy(){this.mutationObserver&&this.mutationObserver.disconnect()}getCarriers(){let e=this.funnelStateService.businessYearStart(),i={zipCode:this.funnelStateService.personalZip()||this.funnelStateService.businessZip(),category:this.funnelStateService.insuranceType(),businessLines:Array.from(this.funnelStateService.businessLines().values()),businessYears:e==null?void 0:new Date().getFullYear()-+e,industries:this.funnelStateService.enhancedIndustrySuggestion()?.code};this.carrierSearchService.searchCarriers(i).subscribe(n=>{this.carriers=this.filterCarriersByAgencyAppointments(n),this.recordCompanyImpressions()})}filterCarriersByAgencyAppointments(e){let i=this.funnelStateService.agencyContext();if(!i||!this.funnelStateService.insuranceType())return e;let n=this.appetiteCheckService.getCompanyAppointmentIds(i,this.funnelStateService.insuranceType());if(n.length===0)return e;let l=e.filter(d=>n.includes(+d.id));return l.length>0?l:e}navigateToFinishComponent(){let e=this.jornayaIdInput.nativeElement.value;e!=null&&e!==""?this.funnelStateService.agentiumConsentJornayaId.set(e):this.funnelStateService.agentiumConsentJornayaId.set(void 0),it.fetchNewLeadID(),this.funnelNavigationService.navigateToRouterOutletComponent(se.FINISH)}navigateToDetailsComponent(){this.funnelNavigationService.navigateToRouterOutletComponent(se.DETAILS)}getSessionToken(){return oe(this.platformId)&&sessionStorage.getItem("sessionToken")||""}recordCompanyImpressions(){this.carriers.forEach(e=>{let i={impressionDate:new Date().toISOString(),sourceContent:"INTERLUDE",sourceApplication:"insured-better",sessionToken:this.sessionToken,impressionUrl:this.router.url,company:{id:+e.id,name:e.name,features:[e.productLevel||""]},consumer:{firstName:this.funnelStateService.firstName(),lastName:this.funnelStateService.lastName(),email:this.funnelStateService.email(),phone:this.funnelStateService.phone(),isInsured:this.funnelStateService.currentlyInsured(),location:{latitude:this.funnelStateService.latitude(),longitude:this.funnelStateService.longitude(),regionCode:this.funnelStateService.state(),city:this.funnelStateService.city(),postalCode:this.funnelStateService.personalZip()||this.funnelStateService.businessZip()}},risk:{regionCode:this.funnelStateService.state(),city:this.funnelStateService.city(),postalCode:this.funnelStateService.personalZip()||this.funnelStateService.businessZip(),insured:this.funnelStateService.currentlyInsured(),premium:this.funnelStateService.estimatedPremium()?.estimatedPremium,businessLineCategory:{description:this.capitalizeFirstLetter(this.funnelStateService.insuranceType()||""),code:this.funnelStateService.insuranceType()||""},businessLines:Array.from(this.funnelStateService.businessLines().values()).map(n=>({code:n}))}};this.fulcrumService.recordCompanyImpression(i).subscribe({error:n=>console.error("Failed to record company impression:",n)})})}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}static \u0275fac=function(i){return new(i||t)(A(de),A(vc),A(He),A(ot),A(tt),A(le),A(Li))};static \u0275cmp=$({type:t,selectors:[["app-interlude"]],viewQuery:function(i,n){if(i&1&&Ot(gh,5),i&2){let l;Bt(l=Lt())&&(n.jornayaIdInput=l.first)}},decls:26,vars:6,consts:[["jornayaIdInput",""],[1,"lg:max-w-2xl"],[1,"font-poppins","font-medium","text-2xl","md:text-3xl","tracking-[-2px]","text-center","-mt-8","sm:mt-0"],[1,"text-lg","leading-[1.3]","sm:text-xl","text-center","text-insuredBetter-primary_text","mt-2","sm:mt-4"],[1,"text-center","max-w-5xl","mx-auto","sm:mt-6"],[1,"flex","flex-row","justify-center",3,"ngClass"],[1,"flex","mt-5","mb-10"],[1,"mt-2","px-10","py-4","rounded-lg","text-gray-500","flex","items-center","text-sm","underline","justify-center",3,"click"],["src","assets/circle-arrow-left-regular.svg","height","16","width","16","alt","circle-arrow-back-icon",1,"mr-1","inline-block","invert-[44%]","sepia-[8%]","saturate-[700%]","hue-rotate-[182deg]","brightness-[97%]","contrast-[85%]"],[1,"flex","mt-5","mb-10","ml-16","sm:ml-28"],[1,"mt-2","px-10","py-4","rounded-lg","text-white","flex","items-center","bg-insuredBetter-forest_green","disabled:bg-white","disabled:border-2","disabled:border-gray-300","disabled:text-gray-500",3,"click","disabled"],[1,"text-sm","flex","items-center","justify-center"],["src","assets/circle-arrow-right-regular.svg","height","16","width","16","alt","circle-arrow-right-icon",1,"ml-1","inline-block","filter","brightness-0","invert"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"ml-1","inline-block","animate-spin","h-4","w-4","text-gray-500"],[1,"leading-none"],[1,"text-insuredBetter-text_gray"],["type","hidden","id","leadid_tcpa_disclosure"],[1,"text-xs","text-insuredBetter-primary_text"],["id","leadid_token","name","universal_leadid","type","hidden","value",""],[1,"flex","flex-wrap","justify-center","items-center","bg-white","py-4"],[1,"my-2","mx-2","h-12","w-[90px]","sm:w-32","object-contain",3,"src","title","alt"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z",1,"opacity-75"]],template:function(i,n){if(i&1){let l=ie();o(0,"div",1)(1,"h1",2),c(2,"Matching Agents Standing By \u2013 Get Your Quote!"),a(),o(3,"h2",3),c(4," A trusted independent agent will work with top insurance providers to find the best coverage options tailored to your needs. "),a(),I(5,yh,5,4,"div",4),o(6,"div",5)(7,"div",6)(8,"button",7),P("click",function(){return N(l),R(n.navigateToDetail
16sComponent())}),u(9,"img",8),c(10,"Back "),a()(),o(11,"div",9)(12,"button",10),P("click",function(){return N(l),R(n.navigateToFinishComponent())}),o(13,"span",11),c(14," Continue "),I(15,_h,1,0,"img",12)(16,bh,3,0,":svg:svg",13),a()()()(),o(17,"form",14)(18,"label",15),u(19,"input",16),o(20,"small",17)(21,"b"),c(22,"By clicking 'Continue' above,"),a(),c(23," I provide consent for InsuredBetter and their representatives to contact me at the email address and phone number I provide. This contact may include automated SMS/MMS messages about procuring insurance, even if my number is on a Do Not Call list. I understand that consent isn't required for purchase, message data rates may apply, and I can opt out anytime. "),a()(),u(24,"input",18,0),a()()}i&2&&(s(5),b(n.carriers.length!==0?5:-1),s(),h("ngClass",ue(4,fh,n.carriers.length===0)),s(6),h("disabled",!n.jornayaIdLoaded&&!n.jornayaIdRetrievalTimeExpired),s(3),b(n.jornayaIdLoaded||n.jornayaIdRetrievalTimeExpired?15:16))},dependencies:[xa,ke],encapsulation:2})}return t})();var vi=function(t){return t.CONFIRMED="CONFIRMED",t.DECLINED="DECLINED",t.EXPIRED="EXPIRED",t.INCOMING="INCOMING",t.NOTIFIED="NOTIFIED",t.REMINDED="REMINDED",t}(vi||{});var pt=function(t){return t.INSURED_BETTER="InsuredBetter-com",t.INSURANCE_DIRECTORY="InsuranceDirectory-com",t.TRUSTED_CHOICE="TrustedChoice-com",t}(pt||{});var Pr=(()=>{class t{http;constructor(e){this.http=e}validateToken(e){return this.http.get(`${J.fulcrumUrl}/api/v3/ccr-confirmation/validate-token`,{params:{o:e.o,os:e.os,l:e.l,a:e.a,c:e.c,e:e.e,origin:e.origin,s:e.s,t:e.t}}).pipe(Ye(i=>(i.status!==404&&console.log(i),Te())))}getCcrConfirmationStatus(e){return this.http.get(`${J.fulcrumUrl}/api/v3/ccr-confirmation/status`,{params:{o:e.o,os:e.os,l:e.l,a:e.a,c:e.c,e:e.e,origin:e.origin,s:e.s,t:e.t}}).pipe(Ye(i=>(i.status!==404&&console.log(i),Te())))}updateCcrConfirmationStatus(e,i){return this.http.post(`${J.fulcrumUrl}/api/v3/ccr-confirmation/status`,i,{params:{o:e.o,os:e.os,l:e.l,a:e.a,c:e.c,e:e.e,origin:e.origin,s:e.s,t:e.t}}).pipe(Ye(n=>(n.status!==404&&console.log(n),Te())))}getConsumerCcrCtnAndPin(e){return this.http.get(`${J.fulcrumUrl}/api/v3/ccr-confirmation/ctn-pin`,{params:{r:e.r,o:e.o,os:e.os,l:e.l,a:e.a,c:e.c,e:e.e,origin:e.origin,s:e.s,t:e.t}}).pipe(Ye(i=>(i.status!==404&&console.log(i),Te())))}getLead(e){return this.http.get(`${J.fulcrumUrl}/api/v3/ccr-confirmation/lead`,{params:{o:e.o,os:e.os,l:e.l,a:e.a,c:e.c,e:e.e,origin:e.origin,s:e.s,t:e.t}}).pipe(Ye(i=>(i.status!==404&&console.log(i),Te())))}static \u0275fac=function(i){return new(i||t)(ee(qt))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ch(t,r){t&1&&(o(0,"div",5)(1,"div",7)(2,"div",8),u(3,"img",9),a(),o(4,"div",10)(5,"h1",11),c(6,"Oh, fudge"),a(),o(7,"p",12),c(8,"The URL you used to access this page is invalid. Please check the URL and try again."),a()()()())}function wh(t,r){t&1&&(o(0,"div",14)(1,"div",16),ne(),o(2,"svg",17),u(3,"path",18),a(),Ce(),o(4,"div",19)(5,"h1",20),c(6,"You've already confirmed"),a(),o(7,"p",21)(8,"strong"),c(9,"Next step:"),a(),c(10," Check your email for the phone number + PIN to call and connect with your referral. No further action is needed here. "),a()()()())}function Sh(t,r){t&1&&(o(0,"div",15)(1,"div",16),ne(),o(2,"svg",22),u(3,"path",23),a(),Ce(),o(4,"div",24)(5,"h1",25),c(6,"You\u2019ve already passed on this referral"),a(),o(7,"p",26),c(8,"You, or someone from your agency, chose not to work on this Consumer Choice Referral. No further action is required."),a()()()())}function Eh(t,r){t&1&&(o(0,"div",15)(1,"div",16),ne(),o(2,"svg",22),u(3,"path",23),a(),Ce(),o(4,"div",24)(5,"h1",20),c(6,"This referral is no longer available"),a(),o(7,"p",27),c(8,"The confirmation window for this Consumer Choice Referral has expired, and the opportunity has been passed to another agent."),a(),o(9,"div",28)(10,"div",29),ne(),o(11,"svg",30),u(12,"path",31),a(),Ce(),o(13,"p",32)(14,"span",33),c(15,"Act fast next time"),a(),c(16," \u2014 timely confirmation is the key to securing referrals."),a()(),o(17,"div",34),ne(),o(18,"svg",30),u(19,"path",31),a(),Ce(),o(20,"p",32)(21,"span",33),c(22,"Stay tuned"),a(),c(23," \u2014 new opportunities are sent regularly."),a()()()()()())}function Ih(t,r){t&1&&(ne(),o(0,"svg",40),u(1,"circle",42)(2,"path",43),a())}function kh(t,r){if(t&1){let e=ie();o(0,"div",15)(1,"div",19),ne(),o(2,"svg",17),u(3,"path",35),a(),Ce(),o(4,"h1",36),c(5,"Are you sure you want to pass on this referral?"),a(),o(6,"p",37),c(7," If you pass, this opportunity will go to another agent."),u(8,"br"),c(9," If you keep it, you\u2019ll receive a phone number + PIN to connect with the consumer. "),a()(),o(10,"div",38)(11,"button",39),P("click",function(){N(e);let n=f(6);return R(n.confirmCcr())}),c(12),I(13,Ih,3,0,":svg:svg",40),a(),o(14,"a",41),P("click",function(){N(e);let n=f(6);return R(n.declineCcr())}),c(15),a()()()}if(t&2){let e=f(6);s(11),h("disabled",e.isConfirmLoading||e.isDeclineLoading),s(),Z(" ",e.isConfirmLoading?"Processing...":"Keep This Referral"," "),s(),b(e.isConfirmLoading?13:-1),s(2),Z(" ",e.isDeclineLoading?"":"Yes, I\u2019m sure \u2014 pass on this referral"," ")}}function Ah(t,r){t&1&&(ne(),o(0,"svg",40),u(1,"circle",42)(2,"path",43),a())}function Th(t,r){if(t&1){let e=ie();o(0,"div",15)(1,"div",19),ne(),o(2,"svg",17),u(3,"path",18),a(),Ce(),o(4,"h1",44),c(5,"Great choice \u2014 let\u2019s lock it in!"),a(),o(6,"p",45),c(7," Just seconds ago, a consumer selected your agency for their insurance needs. Click below to get the phone number + PIN to connect with your new referral right away. If you don\u2019t act, this opportunity will be passed to another available agent. "),a()(),o(8,"div",38)(9,"button",46),P("click",function(){N(e);let n=f(6);return R(n.confirmCcr())}),c(10),I(11,Ah,3,0,":svg:svg",40),a(),o(12,"a",41),P("click",function(){N(e);let n=f(6);return R(n.declineCcr())}),c(13),a()()()}if(t&2){let e=f(6);s(9),h("disabled",e.isConfirmLoading||e.isDeclineLoading),s(),Z(" ",e.isConfirmLoading?"Processing...":"Connect Me to My Referral"," "),s(),b(e.isConfirmLoading?11:-1),s(2),Z(" ",e.isDeclineLoading?"":"No thanks, I\u2019ll pass on this one"," ")}}function Bh(t,r){if(t&1&&I(0,kh,16,4,"div",15)(1,Th,14,4,"div",15),t&2){let e=f(5);b((e.ccrConfirmationParams==null||e.ccrConfirmationParams.s==null?null:e.ccrConfirmationParams.s.toUpperCase())===e.ccrStatusEnum.DECLINED?0:-1),s(),b((e.ccrConfirmationParams==null||e.ccrConfirmationParams.s==null?null:e.ccrConfirmationParams.s.toUpperCase())===e.ccrStatusEnum.CONFIRMED?1:-1)}}function Lh(t,r){if(t&1&&I(0,wh,11,0,"div",14)(1,Sh,9,0,"div",15)(2,Eh,24,0,"div",15)(3,Bh,2,2),t&2){let e=f(4);b(e.ccrConfirmationStatus.ccrStatus===e.ccrStatusEnum.CONFIRMED?0:-1),s(),b(e.ccrConfirmationStatus.ccrStatus===e.ccrStatusEnum.DECLINED?1:-1),s(),b(e.ccrConfirmationStatus.ccrStatus===e.ccrStatusEnum.EXPIRED?2:-1),s(),b(e.ccrConfirmationStatus.ccrStatus===e.ccrStatusEnum.NOTIFIED||e.ccrConfirmationStatus.ccrStatus===e.ccrStatusEnum.REMINDED?3:-1)}}function Fh(t,r){t&1&&(o(0,"div",13)(1,"div",8),u(2,"img",47),a(),o(3,"div",48)(4,"h1",49),c(5,"Oh, fudge"),a(),o(6,"p",50),c(7,"We are having trouble determining the status of your request. Please check the URL and try again."),a()()())}function Dh(t,r){if(t&1&&(o(0,"div",6),I(1,Lh,4,4)(2,Fh,8,0,"div",13),a()),t&2){let e=f(3);s(),b(e.isCcrStatusRetrievalComplete&&e.ccrConfirmationStatus?1:-1),s(),b(e.isCcrStatusRetrievalComplete&&!e.ccrConfirmationStatus?2:-1)}}function Mh(t,r){if(t&1&&I(0,Ch,9,0,"div",5)(1,Dh,3,2,"div",6),t&2){let e=f(2);b(e.isTokenValid?1:0)}}function Ph(t,r){if(t&1&&(o(0,"div",0)(1,"main",2),u(2,"img",3),o(3,"div",4),I(4,Mh,2,1),a()()()),t&2){let e=f();s(2),h("src",e.logoSrc,k)("alt",e.logoAltText),s(2),b(e.isTokenValidationComplete?4:-1)}}function zh(t,r){t&1&&(o(0,"div",1)(1,"span",51),ne(),o(2,"svg",52),u(3,"circle",53)(4,"path",54),a()()())}var _c=(()=>{class t{activatedRoute;router;ccrConfirmationService;queryParams;onDestroy$=new ji;isLoading=!0;ccrConfirmationParams;isTokenValidationComplete=!1;isTokenValid=!1;ccrStatusEnum=vi;isCcrStatusRetrievalComplete=!1;ccrConfirmationStatus;isDeclineLoading=!1;isConfirmLoading=!1;constructor(e,i,n){this.activatedRoute=e,this.router=i,this.ccrConfirmationService=n}ngOnInit(){this.resetComponentState(),this.activatedRoute.queryParams.pipe(st(e=>Object.keys(e).length>0),yt(this.onDestroy$)).subscribe(e=>{this.queryParams=e,this.ccrConfirmationParams=e,this.ccrConfirmationParams==null||!this.ccrConfirmationParams.o||!this.ccrConfirmationParams.os||!this.ccrConfirmationParams.l||!this.ccrConfirmationParams.a||!this.ccrConfirmationParams.e||!this.ccrConfirmationParams.origin||!this.ccrConfirmationParams.s||!this.ccrConfirmationParams.t?(this.isTokenValidationComplete=!0,this.isTokenValid=!1,this.isLoading=!1):this.ccrConfirmationService.validateToken(this.ccrConfirmationParams).pipe(yt(this.onDestroy$)).subscribe({next:i=>{this.isTokenValidationComplete=!0,this.isTokenValid=i.valid,this.isTokenValid?this.ccrConfirmationService.getCcrConfirmationStatus(this.ccrConfirmationParams).pipe(yt(this.onDestroy$)).subscribe({next:n=>{this.isCcrStatusRetrievalComplete=!0,this.ccrConfirmationStatus=n,this.isLoading=!1},error:n=>{this.isCcrStatusRetrievalComplete=!0,this.ccrConfirmationStatus=void 0,this.isLoading=!1}}):this.isLoading=!1},error:i=>{this.isTokenValidationComplete=!0,this.isTokenValid=!1,this.isLoading=!1}})})}resetComponentState(){this.isLoading=!0,this.queryParams=void 0,this.ccrConfirmationParams=void 0,this.isTokenValidationComplete=!1,this.isTokenValid=!1,this.isCcrStatusRetrievalComplete=!1,this.ccrConfirmationStatus=void 0}get logoSrc(){let e=this.ccrConfirmationParams?.os;return e===pt.TRUSTED_CHOICE?"assets/tc-edge-logo-lockup.png":e===pt.INSURANCE_DIRECTORY?"assets/Edge-ID-cobrand.png":"assets/Edge-IB-cobrand.png"}get logoAltText(){let e=this.ccrConfirmationParams?.os;return e===pt.TRUSTED_CHOICE?"Momentum Edge and TrustedChoice.com logos":e===pt.INSURANCE_DIRECTORY?"Momentum Edge and InsuranceDirectory.com logos":"Momentum Edge and InsuredBetter.com logos"}declineCcr(){if(this.isDeclineLoading=!0,this.ccrConfirmationStatus&&this.ccrConfirmationParams){let e=vt(Ae({},this.ccrConfirmationStatus),{ccrStatus:vi.DECLINED});this.ccrConfirmationService.updateCcrConfirmationStatus(this.ccrConfirmationParams,e).pipe(yt(this.onDestroy$)).subscribe({next:i=>{vi.DECLINED===i.ccrStatus?this.router.navigate(["/ccr-confirmation/end"],{queryParams:{os:this.ccrConfirmationParams?.os}}).finally():(this.ccrConfirmationStatus=i,this.isCcrStatusRetrievalComplete=!0)},error:i=>{this.ccrConfirmationStatus=void 0,this.isCcrStatusRetrievalComplete=!1,this.isDeclineLoading=!1}})}}confirmCcr(){if(this.isConfirmLoading=!0,this.ccrConfirmationStatus&&this.ccrConfirmationParams){let e=vt(Ae({},this.ccrConfirmationStatus),{ccrStatus:vi.CONFIRMED});this.ccrConfirmationService.updateCcrConfirmationStatus(this.ccrConfirmationParams,e).pipe(yt(this.onDestroy$)).subscribe({next:i=>
16{if(this.isCcrStatusRetrievalComplete=!0,vi.CONFIRMED===i.ccrStatus&&i.agencyToConsumerCtnRouteId){let n={r:i.agencyToConsumerCtnRouteId};this.router.navigate(["ccr-confirmation/consumer-details"],{queryParams:Ae(Ae({},n),this.queryParams)}).finally()}else this.ccrConfirmationStatus=i,this.isCcrStatusRetrievalComplete=!0},error:i=>{this.ccrConfirmationStatus=void 0,this.isCcrStatusRetrievalComplete=!1,this.isConfirmLoading=!1}})}}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}static \u0275fac=function(i){return new(i||t)(A(et),A(le),A(Pr))};static \u0275cmp=$({type:t,selectors:[["app-ccr-confirmation"]],decls:2,vars:1,consts:[[1,"min-h-dvh","bg-momentum-background"],[1,"flex","items-center","justify-center","min-h-screen"],[1,"mx-auto","max-w-xl","px-4","sm:px-6","py-6"],["width","300","height","58.33",1,"mx-auto","block","my-4",3,"src","alt"],[1,"bg-white","ring-1","ring-black/5","rounded-[4px]","overflow-hidden","shadow-md","mt-8"],[1,"flex-grow","max-w-screen-lg","mx-auto","mt-5","mb-5","px-5","flex","flex-col","justify-center","items-center"],[1,"mx-auto","max-w-2xl","px-4","sm:px-6","py-6"],[1,"flex","flex-col","items-center","my-auto"],[1,"min-w-[275px]","mt-8"],["src","/assets/error-page-graphic-edge.svg","alt","Error illustration","width","320"],[1,"max-w-sm","md:max-w-[600px]","my-12","text-center"],[1,"text-2xl","sm:text-3xl","md:text-4xl","mb-2","text-momentum-deep_purple","font-semibold"],[1,"text-momentum-black","max-w-[400px]"],[1,"flex","flex-col","md:flex-row","items-center","lg:items-start","my-auto"],[1,"px-4","sm:px-6","py-6"],[1,"py-6"],[1,"flex","flex-col","items-center"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","36","height","36","viewBox","0 0 36 36",1,"mb-5","mx-auto"],["d","M2.53,26.61l6.86,6.86-6.35,2.38c-.82.31-1.76.11-2.38-.51-.63-.62-.82-1.56-.51-2.38l2.38-6.35h0ZM2.25,2.25C2.25,1.01,3.26,0,4.5,0s2.25,1.01,2.25,2.25-1.01,2.25-2.25,2.25-2.25-1.01-2.25-2.25ZM3.39,24.3l1.59-4.23,10.95,10.95-4.23,1.59L3.39,24.3ZM10.59,14.16l11.25,11.25c.54.54.77,1.32.6,2.07-.17.75-.7,1.36-1.41,1.63l-2.79,1.05-12.4-12.4,1.05-2.79c.27-.72.89-1.24,1.63-1.41.75-.16,1.53.07,2.07.6ZM11.74,10.76c-.66-.66-.66-1.73,0-2.38l.58-.58c1.17-1.17,1.91-2.71,2.09-4.37l.21-1.93c.11-.92.94-1.59,1.87-1.49.93.1,1.6.94,1.49,1.86l-.21,1.93c-.27,2.41-1.35,4.66-3.07,6.38l-.58.58c-.66.66-1.73.66-2.38,0h0ZM35.6.6c.6.71.51,1.78-.2,2.38l-.7.6c-1.04.88-2.37,1.34-3.73,1.31-1.17-.03-2.15.87-2.22,2.04l-.13,2.11c-.18,2.99-2.69,5.29-5.68,5.22-.54-.01-1.05.17-1.46.51l-.7.6c-.71.6-1.78.51-2.38-.2s-.51-1.78.2-2.38l.7-.6c1.04-.88,2.37-1.34,3.73-1.31,1.17.03,2.15-.87,2.22-2.04l.13-2.11c.18-2.99,2.69-5.29,5.68-5.22.53.01,1.05-.17,1.45-.51l.7-.6c.71-.6,1.78-.51,2.38.2ZM25.24,21.87l.58-.58c1.72-1.71,3.97-2.8,6.38-3.07l1.93-.21c.93-.11,1.76.56,1.86,1.49.11.93-.56,1.76-1.49,1.86l-1.93.21c-1.65.18-3.19.92-4.37,2.09l-.57.59c-.66.66-1.73.66-2.38,0-.65-.66-.66-1.73,0-2.38h0ZM31.5,11.25c0-1.24,1.01-2.25,2.25-2.25s2.25,1.01,2.25,2.25-1.01,2.25-2.25,2.25-2.25-1.01-2.25-2.25ZM33.75,29.25c1.24,0,2.25,1.01,2.25,2.25s-1.01,2.25-2.25,2.25-2.25-1.01-2.25-2.25,1.01-2.25,2.25-2.25Z",2,"fill","#381574"],[1,"text-center"],[1,"text-xl","sm:text-2xl","font-semibold","text-momentum-deep_purple","mb-5"],[1,"text-sm","text-momentum-black","mt-1"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","36","height","36","viewBox","0 0 36 36"],["d","M2.41,27C-.8,21.43-.8,14.57,2.41,9,5.63,3.43,11.57,0,18,0s12.37,3.43,15.59,9c3.21,5.57,3.21,12.43,0,18-3.22,5.57-9.16,9-15.59,9s-12.37-3.43-15.59-9ZM18,27c1.24,0,2.25-1.01,2.25-2.25s-1.01-2.25-2.25-2.25-2.25,1.01-2.25,2.25,1.01,2.25,2.25,2.25ZM16.31,10.69v7.88c0,.94.75,1.69,1.69,1.69s1.69-.75,1.69-1.69v-7.88c0-.94-.75-1.69-1.69-1.69s-1.69.75-1.69,1.69Z",2,"fill","#381574"],[1,"text-center","mt-5"],[1,"text-xl","sm:text-2xl","font-semibold","text-momentum-deep_purple","mb-4"],[1,"text-sm","text-momentum-black"],[1,"text-sm","text-momentum-black","mb-4"],[1,"max-w-96","mx-auto","mt-8"],[1,"flex","text-left","mb-2","text-sm","text-momentum-black"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16",1,"w-4","h-4","shrink-0"],["d","M1.07,12C-.36,9.52-.36,6.48,1.07,4,2.5,1.52,5.14,0,8,0s5.5,1.52,6.93,4c1.43,2.48,1.43,5.52,0,8-1.43,2.48-4.07,4-6.93,4s-5.5-1.52-6.93-4ZM11.53,6.53c.29-.29.29-.77,0-1.06-.29-.29-.77-.29-1.06,0l-3.47,3.47-1.47-1.47c-.29-.29-.77-.29-1.06,0-.29.29-.29.77,0,1.06l2,2c.29.29.77.29,1.06,0l4-4h0Z",2,"fill","#381574"],[1,"pl-2"],[1,"font-semibold","text-momentum-deep_purple"],[1,"flex","text-left","text-sm","text-momentum-black"],["d","M9.89,1.49C10.83.54,12.12,0,13.46,0h9.07c1.34,0,2.63.53,3.58,1.48l8.4,8.4c.95.95,1.48,2.24,1.48,3.58v9.07c0,1.34-.53,2.63-1.48,3.58l-8.4,8.4c-.95.95-2.24,1.48-3.58,1.48h-9.07c-1.34,0-2.63-.53-3.58-1.48L1.49,26.12C.54,25.17,0,23.88,0,22.54v-9.07c0-1.34.53-2.63,1.48-3.58L9.89,1.49ZM20.25,24.75c0-1.24-1.01-2.25-2.25-2.25s-2.25,1.01-2.25,2.25,1.01,2.25,2.25,2.25,2.25-1.01,2.25-2.25ZM18,9c-.94,0-1.69.75-1.69,1.69v7.87c0,.94.75,1.69,1.69,1.69s1.69-.75,1.69-1.69v-7.87c0-.94-.75-1.69-1.69-1.69Z",2,"fill","#381574"],[1,"text-xl","sm:text-2xl","mx-auto","font-semibold","max-w-[360px]","text-momentum-deep_purple","mb-5"],[1,"text-sm","text-momentum-black","mt-1","max-w-[400px]","mx-auto"],[1,"mt-10","flex","justify-center","items-center","flex-col"],[1,"mb-3","flex-1","bg-momentum-royal_purple","text-white","font-semibold","py-3","px-10","rounded-lg","flex","items-center","hover:bg-momentum-deep_purple","disabled:bg-insuredBetter-medium_gray","hover:text-white","transition-colors","duration-300","justify-center","gap-2",3,"click","disabled"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"w-6","h-6","animate-spin","text-white"],[1,"text-momentum-black","text-sm","py-3","underline","cursor-pointer","hover:no-underline","disabled:opacity-50","disabled:cursor-not-allowed",3,"click"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","4",1,"opacity-25"],["fill","currentColor","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z",1,"opacity-75"],[1,"text-xl","sm:text-2xl","font-semibold","text-momentum-deep_purple","max-w-[360px]","mx-auto","mb-5"],[1,"text-sm","text-momentum-black","mt-1","max-w-[460px]","mx-auto"],[1,"mb-3","flex-1","bg-momentum-royal_purple","text-white","font-semibold","py-3","px-6","rounded-lg","flex","items-center","hover:bg-momentum-deep_purple","disabled:bg-insuredBetter-medium_gray","hover:text-white","transition-colors","duration-300","justify-center","gap-2",3,"click","disabled"],["src","/assets/error-page-graphic.svg","alt","Error illustration","width","320"],[1,"max-w-sm","md:max-w-[600px]","pl-0","md:pl-10","lg:pl-16","my-12","md:my-0","text-left"],[1,"text-2xl","sm:text-3xl","md:text-4xl","mb-2","text-insuredBetter-forest_green","font-semibold"],[1,"text-insuredBetter-primary_text"],[1,"inline-block"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","h-12","w-12"],["cx","12","cy","12","r","10","stroke","#08730a","stroke-width","4",1,"opacity-25"],["fill","#08730a","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"]],template:function(i,n){i&1&&I(0,Ph,5,3,"div",0)(1,zh,5,0,"div",1),i&2&&b(n.isLoading?1:0)},encapsulation:2})}return t})();var bc=(()=>{class t{activatedRoute;logoSrc="assets/Edge-IB-cobrand.png";logoAltText="Momentum Edge and InsuredBetter.com logos";constructor(e){this.activatedRoute=e}
16ngOnInit(){let e=this.activatedRoute.snapshot.queryParams.os;e===pt.TRUSTED_CHOICE?(this.logoSrc="assets/tc-edge-logo-lockup.png",this.logoAltText="Momentum Edge and TrustedChoice.com logos"):e===pt.INSURANCE_DIRECTORY&&(this.logoSrc="assets/Edge-ID-cobrand.png",this.logoAltText="Momentum Edge and InsuranceDirectory.com logos")}static \u0275fac=function(i){return new(i||t)(A(et))};static \u0275cmp=$({type:t,selectors:[["app-ccr-thank-you"]],decls:13,vars:2,consts:[[1,"min-h-dvh","bg-momentum-background"],[1,"mx-auto","max-w-2xl","px-4","sm:px-6","py-6"],["width","300","height","58.33",1,"mx-auto","block","mb-8",3,"src","alt"],[1,"bg-white","shadow-sm","ring-1","ring-black/5","rounded-2xl","overflow-hidden"],[1,"px-4","sm:px-8","py-6"],[1,"flex","flex-col","items-center"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","36","height","36","viewBox","0 0 36 36"],["d","M2.41,27C-.8,21.43-.8,14.57,2.41,9,5.63,3.43,11.57,0,18,0s12.37,3.43,15.59,9c3.21,5.57,3.21,12.43,0,18-3.22,5.57-9.16,9-15.59,9s-12.37-3.43-15.59-9ZM18,27c1.24,0,2.25-1.01,2.25-2.25s-1.01-2.25-2.25-2.25-2.25,1.01-2.25,2.25,1.01,2.25,2.25,2.25ZM16.31,10.69v7.88c0,.94.75,1.69,1.69,1.69s1.69-.75,1.69-1.69v-7.88c0-.94-.75-1.69-1.69-1.69s-1.69.75-1.69,1.69Z",2,"fill","#381574"],[1,"text-center","mt-5","pb-5"],[1,"text-xl","sm:text-2xl","font-semibold","text-momentum-deep_purple","mb-4"],[1,"text-sm","text-momentum-black","max-w-96"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"main",1),u(2,"img",2),o(3,"div",3)(4,"div",4)(5,"div",5),ne(),o(6,"svg",6),u(7,"path",7),a(),Ce(),o(8,"div",8)(9,"h1",9),c(10,"You\u2019ve passed on this referral"),a(),o(11,"p",10),c(12,"You chose not to work on this Consumer Choice Referral. No further action is required."),a()()()()()()()),i&2&&(s(2),h("src",n.logoSrc,k)("alt",n.logoAltText))},encapsulation:2})}return t})();function Cc(t){if(!t)return null;let r=new Date(t);if(isNaN(r.getTime()))return null;let e=new Date,i=e.getFullYear()-r.getFullYear(),n=e.getMonth()-r.getMonth();return(n<0||n===0&&e.getDate()<r.getDate())&&i--,i<0?null:i}var wc=(()=>{class t{http;constructor(e){this.http=e}getAgencyToConsumerCtnPinExpirationTimeInDays(){return this.http.get(`${J.fulcrumUrl}/api/v3/app-config/agency-to-consumer-ctn-pin-expiration-time`).pipe(Ye(e=>(e.status!==404&&console.log(e),Te())))}static \u0275fac=function(i){return new(i||t)(ee(qt))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nh=()=>[];function Rh(t,r){if(t&1&&(u(0,"img",5),o(1,"div",6)(2,"div",7),ne(),o(3,"svg",8),u(4,"path",9),a(),Ce(),o(5,"div",10)(6,"h1",11),c(7,"You\u2019re ready to connect!"),a(),o(8,"div",12),c(9,"Here are your connection details for your newest Consumer Choice Referral."),a()()()()),t&2){let e=f(2);h("src",e.logoSrc,k)("alt",e.logoAltText)}}function Uh(t,r){t&1&&(o(0,"div",4)(1,"div",13)(2,"div",14),u(3,"img",15),a(),o(4,"div",16)(5,"h1",17),c(6,"Oh, fudge"),a(),o(7,"p",18),c(8,"The URL you used to access this page is invalid. Please check the URL and try again."),a()()()())}function jh(t,r){t&1&&(o(0,"div",4)(1,"div",13)(2,"div",14),u(3,"img",15),a(),o(4,"div",16)(5,"h1",17),c(6,"Oh, fudge"),a(),o(7,"p",19),c(8," We encountered an error while retrieving the consumer details. Please check the URL and try again. If the problem persists s please contact customer support. "),a()()()())}function Vh(t,r){t&1&&(o(0,"div",21),u(1,"img",44),o(2,"span",45),c(3,"Commercial Insurance"),a()())}function Hh(t,r){t&1&&(o(0,"div",22),u(1,"img",46),o(2,"span",45),c(3,"Personal Insurance"),a()())}function Gh(t,r){t&1&&(o(0,"div",21),u(1,"img",47),o(2,"span",45),c(3,"Life and Annuities"),a()())}function qh(t,r){if(t&1&&(o(0,"div",48)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(5);s(3),Z("Employees: ",e.lead==null?null:e.lead.businessSize,"")}}function Wh(t,r){if(t&1&&(o(0,"div",48)(1,"span",49),c(2,"\u2022"),a(),c(3),a(),I(4,qh,4,1,"div",48),o(5,"div",48)(6,"span",49),c(7,"\u2022"),a(),c(8),a()),t&2){let e=f(4);s(3),M(e.transformIndustryString(e.lead==null?null:e.lead.industry)),s(),b(e.lead!=null&&e.lead.businessSize?4:-1),s(4),M(e.lead==null?null:e.lead.businessYears)}}function Zh(t,r){t&1&&(o(0,"div",37)(1,"span",49),c(2,"\u2022"),a(),c(3,"Currently insured"),a())}function $h(t,r){if(t&1&&(o(0,"div",37)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(5);s(3),Z("Age: ",e.getConsumerAge(),"")}}function Yh(t,r){if(t&1&&I(0,Zh,4,0,"div",37)(1,$h,4,1,"div",37),t&2){let e=f(4);b(e.lead!=null&&e.lead.insured?0:-1),s(),b(e.getConsumerAge()!==null?1:-1)}}function Kh(t,r){if(t&1&&(o(0,"div",50)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(5);s(3),Z("Desired Death Benefit: ",e.lead==null?null:e.lead.deathBenefit,"")}}function Jh(t,r){if(t&1&&(o(0,"div",50)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(5);s(3),Z("Age: ",e.lead==null?null:e.lead.age,"")}}function Qh(t,r){if(t&1&&(o(0,"div",50)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(5);s(3),Z("Gender: ",e.lead==null?null:e.lead.gender,"")}}function Xh(t,r){if(t&1&&(o(0,"div",50)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(5);s(3),Z("Will Participate in a Medical Exam: ",e.lead!=null&&e.lead.medicalExam?"Yes":"No"," ")}}function eg(t,r){if(t&1&&I(0,Kh,4,1,"div",50)(1,Jh,4,1,"div",50)(2,Qh,4,1,"div",50)(3,Xh,4,1,"div",50),t&2){let e=f(4);b(e.lead!=null&&e.lead.deathBenefit?0:-1),s(),b(e.lead!=null&&e.lead.age?1:-1),s(),b(e.lead!=null&&e.lead.gender?2:-1),s(),b(e.lead!=null&&e.lead.medicalExam?3:-1)}}function tg(t,r){if(t&1&&(o(0,"div",37)(1,"span",49),c(2,"\u2022"),a(),c(3),a()),t&2){let e=f(4);s(3),Z("",e.getEstimatedPremiumDisplay()," premium, as estimated by the prospect ")}}function ig(t,r){if(t&1&&(o(0,"div",39)(1,"h3",51),c(2,"Note:"),a(),o(3,"span",52),c(4),a()()),t&2){let e=f(4);s(4),M(e.lead==null?null:e.lead.note)}}function ng(t,r){if(t&1&&(o(0,"div"),c(1),a()),t&2){let e=f(5);s(),M(e.lead==null?null:e.lead.businessName)}}function rg(t,r){if(t&1&&(o(0,"div"),c(1),a()),t&2){let e=f(5);s(),M(e.lead==null?null:e.lead.address1)}}function og(t,r){if(t&1&&(o(0,"div"),c(1),a()),t&2){let e=f(5);s(),M(e.lead==null?null:e.lead.address2)}}function ag(t,r){if(t&1&&(o(0,"div",40)(1,"h3",53),c(2,"Location:"),a(),I(3,ng,2,1,"div")(4,rg,2,1,"div")(5,og,2,1,"div"),o(6,"div"),c(7),a()()),t&2){let e=f(4);s(3),b(e.lead!=null&&e.lead.businessName?3:-1),s(),b(e.lead!=null&&e.lead.address1?4:-1),s(),b(e.lead!=null&&e.lead.address2?5:-1),s(2),M(e.getCityStateZip())}}function sg(t,r){if(t&1){let e=ie();o(0,"section",20),I(1,Vh,4,0,"div",21)(2,Hh,4,0,"div",22)(3,Gh,4,0,"div",21),o(4,"div",23),c(5),a(),o(6,"div",24)(7,"div",25)(8,"div",26),c(9,"Call the number below and enter the PIN when prompted."),a(),o(10,"div",27)(11,"div")(12,"div",28),c(13,"Phone"),a(),o(14,"a",29),
16c(15),a()(),o(16,"div",30)(17,"div",28),c(18,"PIN"),a(),o(19,"span",31),c(20),a()()(),o(21,"div",28)(22,"i"),c(23,"Timely calls turn referrals into customers."),a()(),o(24,"div",32),ne(),o(25,"svg",33),u(26,"path",34),a(),Ce(),o(27,"span"),c(28),a()()()()(),o(29,"section",35)(30,"h2",36),c(31,"Referral Details"),a(),ma(32),o(33,"div",37)(34,"span",38),c(35,"\u2022"),a(),o(36,"span"),c(37),a()(),o(38,"div"),I(39,Wh,9,3)(40,Yh,2,2)(41,eg,4,4)(42,tg,4,1,"div",37),a(),I(43,ig,5,1,"div",39)(44,ag,8,4,"div",40),a(),o(45,"footer",41)(46,"div",42)(47,"button",43),P("click",function(){N(e);let n=f(3);return R(n.markAsCalled())}),c(48," Update Referral Status "),a()()()}if(t&2){let e,i=f(3);s(),b((i.lead==null||i.lead.businessLineCategory==null?null:i.lead.businessLineCategory.toUpperCase())===i.InsuranceTypeEnum.COMMERCIAL?1:-1),s(),b((i.lead==null||i.lead.businessLineCategory==null?null:i.lead.businessLineCategory.toUpperCase())===i.InsuranceTypeEnum.PERSONAL?2:-1),s(),b((i.lead==null||i.lead.businessLineCategory==null?null:i.lead.businessLineCategory.toUpperCase())===i.InsuranceTypeEnum.LIFE_ANNUITIES?3:-1),s(2),M(i.getFullName()),s(9),hn("href","tel:",i.getFormattedCTNPhoneNumber(),"",k),s(),M(i.getFormattedCTNPhoneNumber()),s(5),M(i.ccrCtnPin==null?null:i.ccrCtnPin.ccrConfirmationPin),s(8),Z("This number/PIN will expire in ",i.pinExpirationHours," hours.");let n=i.getBusinessLines();s(9),M(((e=n)!==null&&e!==void 0?e:Re(16,Nh)).join(", ")),s(2),b((i.lead==null||i.lead.businessLineCategory==null?null:i.lead.businessLineCategory.toUpperCase())===i.InsuranceTypeEnum.COMMERCIAL?39:-1),s(),b((i.lead==null||i.lead.businessLineCategory==null?null:i.lead.businessLineCategory.toUpperCase())===i.InsuranceTypeEnum.PERSONAL?40:-1),s(),b((i.lead==null||i.lead.businessLineCategory==null?null:i.lead.businessLineCategory.toUpperCase())===i.InsuranceTypeEnum.LIFE_ANNUITIES?41:-1),s(),b(i.getEstimatedPremiumDisplay()?42:-1),s(),b(i.lead!=null&&i.lead.note?43:-1),s(),b(i.lead!=null&&i.lead.address1||i.lead!=null&&i.lead.businessName||i.getCityStateZip()?44:-1)}}function lg(t,r){if(t&1&&I(0,jh,9,0,"div",4)(1,sg,49,17),t&2){let e=f(2);b(e.isError?0:-1),s(),b(e.isDataRetrievalComplete?1:-1)}}function cg(t,r){if(t&1&&(o(0,"div",0)(1,"main",2),I(2,Rh,10,2),o(3,"div",3),I(4,Uh,9,0,"div",4)(5,lg,2,2),a()()()),t&2){let e=f();s(2),b(e.isDataRetrievalComplete?2:-1),s(2),b(e.isParamsPresent?5:4)}}function dg(t,r){t&1&&(o(0,"div",1)(1,"span",54),ne(),o(2,"svg",55),u(3,"circle",56)(4,"path",57),a()()())}var Sc=(()=>{class t{activatedRoute;ccrConfirmationService;applicationConfigsService;onDestroy$=new ji;isLoading=!0;ccrConfirmationParams;isParamsPresent=!1;isError=!1;isDataRetrievalComplete=!1;ccrCtnPin;lead;isCtnCopied=Ge(!1);InsuranceTypeEnum=re;isCopyCtnError=!1;pinExpirationHours;constructor(e,i,n){this.activatedRoute=e,this.ccrConfirmationService=i,this.applicationConfigsService=n}ngOnInit(){this.resetComponentState(),this.activatedRoute.queryParams.pipe(yt(this.onDestroy$)).subscribe(e=>{this.ccrConfirmationParams=e,this.ccrConfirmationParams==null||!this.ccrConfirmationParams.r||!this.ccrConfirmationParams.o||!this.ccrConfirmationParams.os||!this.ccrConfirmationParams.l||!this.ccrConfirmationParams.a||!this.ccrConfirmationParams.e||!this.ccrConfirmationParams.origin||!this.ccrConfirmationParams.s||!this.ccrConfirmationParams.t?(this.isParamsPresent=!1,this.isLoading=!1):(this.isParamsPresent=!0,cn({ccrCtnPin:this.ccrConfirmationService.getConsumerCcrCtnAndPin(this.ccrConfirmationParams),lead:this.ccrConfirmationService.getLead(this.ccrConfirmationParams),ctnPinExpirationDays:this.applicationConfigsService.getAgencyToConsumerCtnPinExpirationTimeInDays()}).pipe(yt(this.onDestroy$)).subscribe({next:i=>{this.ccrCtnPin=i.ccrCtnPin,this.lead=i.lead,this.pinExpirationHours=i.ctnPinExpirationDays*24,this.isDataRetrievalComplete=!0,this.isLoading=!1},error:i=>{this.isLoading=!1,this.isError=!0}}))})}resetComponentState(){this.isLoading=!0,this.ccrConfirmationParams=void 0,this.isParamsPresent=!1,this.isError=!1,this.isDataRetrievalComplete=!1,this.ccrCtnPin=void 0,this.lead=void 0,this.isCtnCopied.set(!1),this.isCopyCtnError=!1}get logoSrc(){let e=this.ccrConfirmationParams?.os;return e===pt.TRUSTED_CHOICE?"assets/tc-edge-logo-lockup.png":e===pt.INSURANCE_DIRECTORY?"assets/Edge-ID-cobrand.png":"assets/Edge-IB-cobrand.png"}get logoAltText(){let e=this.ccrConfirmationParams?.os;return e===pt.TRUSTED_CHOICE?"Momentum Edge and TrustedChoice.com logos":e===pt.INSURANCE_DIRECTORY?"Momentum Edge and InsuranceDirectory.com logos":"Momentum Edge and InsuredBetter.com logos"}getFormattedCTNPhoneNumber(){let e=this.ccrCtnPin?.ccrConfirmationCtn,i=e.replace(/\D/g,"");if(i.length===11&&i.startsWith("1")){let n=i.substring(1);return`(${n.substring(0,3)}) ${n.substring(3,6)}-${n.substring(6)}`}else return i.length===10?`(${i.substring(0,3)}) ${i.substring(3,6)}-${i.substring(6)}`:e}getFullName=Je(()=>{let e=this.lead,i=e?.firstName?.trim()??"",n=e?.lastName?.trim()??"";
16return[i,n].filter(Boolean).join(" ")||"\u2014"});getCityStateZip=Je(()=>{let e=this.lead,i=e?.city?.trim(),n=e?.stateCode?.trim(),l=e?.zipCode?.trim();return[i,n].filter(Boolean).join(", ")+(l?` ${l}`:"")});getConsumerAge(){let e=this.lead;return e?.age!=null?e.age:Cc(e?.birthdate)}getBusinessLines(){let e=this.lead?.businessLines;return!e||e.trim()===""?[]:e.split(",").map(i=>i.trim())}getEstimatedPremiumDisplay(){let e=this.lead,i=n=>`$${n.toLocaleString()}`;if(e?.premiumMin!=null&&e?.premiumMax!=null)return`${i(e.premiumMin)} - ${i(e.premiumMax)}`;if(e?.premiumMin!=null)return i(e.premiumMin);if(e?.premiumMax!=null)return i(e.premiumMax)}markAsCalled(){if(this.lead?.agencyId&&this.lead?.id){let e=`${J.fulcrumUrl}/iw/#/agency/${this.lead.agencyId}/referrals/${this.lead.id}`;window.open(e,"_blank")}}transformIndustryString(e){if(!e)return"";let i=e.match(/^(\d+)\s*[-–—]\s*(.+)$/);if(!i)return e;let[,n,l]=i;return`${l.trim()} (${n})`}ngOnDestroy(){this.onDestroy$.next(),this.onDestroy$.complete()}static \u0275fac=function(i){return new(i||t)(A(et),A(Pr),A(wc))};static \u0275cmp=$({type:t,selectors:[["app-ccr-consumer-details"]],decls:2,vars:1,consts:[[1,"min-h-dvh","bg-momentum-background"],[1,"flex","items-center","justify-center","min-h-screen"],[1,"mx-auto","max-w-xl","sm:px-6","py-6"],[1,"bg-white","shadow-sm","ring-1","ring-black/5","rounded-[4px]","overflow-hidden"],[1,"flex-grow","max-w-screen-lg","mx-auto","mt-5","mb-5","px-5","flex","flex-col","justify-center","items-center"],["width","300","height","58.33",1,"mx-auto","block",3,"src","alt"],[1,"px-4","sm:px-8","pb-6","pt-10"],[1,"flex","flex-col","items-center"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","36","height","36","viewBox","0 0 36 36",1,"mb-2","mx-auto"],["d","M2.53,26.61l6.86,6.86-6.35,2.38c-.82.31-1.76.11-2.38-.51-.63-.62-.82-1.56-.51-2.38l2.38-6.35h0ZM2.25,2.25C2.25,1.01,3.26,0,4.5,0s2.25,1.01,2.25,2.25-1.01,2.25-2.25,2.25-2.25-1.01-2.25-2.25ZM3.39,24.3l1.59-4.23,10.95,10.95-4.23,1.59L3.39,24.3ZM10.59,14.16l11.25,11.25c.54.54.77,1.32.6,2.07-.17.75-.7,1.36-1.41,1.63l-2.79,1.05-12.4-12.4,1.05-2.79c.27-.72.89-1.24,1.63-1.41.75-.16,1.53.07,2.07.6ZM11.74,10.76c-.66-.66-.66-1.73,0-2.38l.58-.58c1.17-1.17,1.91-2.71,2.09-4.37l.21-1.93c.11-.92.94-1.59,1.87-1.49.93.1,1.6.94,1.49,1.86l-.21,1.93c-.27,2.41-1.35,4.66-3.07,6.38l-.58.58c-.66.66-1.73.66-2.38,0h0ZM35.6.6c.6.71.51,1.78-.2,2.38l-.7.6c-1.04.88-2.37,1.34-3.73,1.31-1.17-.03-2.15.87-2.22,2.04l-.13,2.11c-.18,2.99-2.69,5.29-5.68,5.22-.54-.01-1.05.17-1.46.51l-.7.6c-.71.6-1.78.51-2.38-.2s-.51-1.78.2-2.38l.7-.6c1.04-.88,2.37-1.34,3.73-1.31,1.17.03,2.15-.87,2.22-2.04l.13-2.11c.18-2.99,2.69-5.29,5.68-5.22.53.01,1.05-.17,1.45-.51l.7-.6c.71-.6,1.78-.51,2.38.2ZM25.24,21.87l.58-.58c1.72-1.71,3.97-2.8,6.38-3.07l1.93-.21c.93-.11,1.76.56,1.86,1.49.11.93-.56,1.76-1.49,1.86l-1.93.21c-1.65.18-3.19.92-4.37,2.09l-.57.59c-.66.66-1.73.66-2.38,0-.65-.66-.66-1.73,0-2.38h0ZM31.5,11.25c0-1.24,1.01-2.25,2.25-2.25s2.25,1.01,2.25,2.25-1.01,2.25-2.25,2.25-2.25-1.01-2.25-2.25ZM33.75,29.25c1.24,0,2.25,1.01,2.25,2.25s-1.01,2.25-2.25,2.25-2.25-1.01-2.25-2.25,1.01-2.25,2.25-2.25Z",2,"fill","#381574"],[1,"text-center"],[1,"text-xl","sm:text-2xl","font-semibold","text-momentum-deep_purple","mb-3"],[1,"mb-3","max-w-96"],[1,"flex","flex-col","items-center","my-auto"],[1,"min-w-[275px]","mt-8"],["src","/assets/error-page-graphic-edge.svg","alt","Error illustration","width","320"],[1,"max-w-sm","md:max-w-[600px]","my-12","text-center"],[1,"text-2xl","sm:text-3xl","md:text-4xl","mb-2","text-momentum-deep_purple","font-semibold"],[1,"text-momentum-black","max-w-[400px]"],[1,"text-momentum-black","max-w-[420px]"],[1,"px-4","sm:px-8","py-10"],[1,"flex","justify-center","items-baseline","mb-2"],[1,"flex","justify-center","mb-2","items-baseline"],[1,"text-momentum-black","text-xl","text-center","text-2xl","sm:text-3xl","font-semibold","mb-6"],[1,"rounded-[4px]","p-4",2,"background-color","#ececf3"],[1,""],[1,"mb-6","font-bold","text-sm"],[1,"flex","max-w-96","mb-6"],[1,"font-bold","text-sm"],[1,"text-momentum-royal_purple","font-semibold","underline","hover:no-underline",3,"href"],[1,"ml-auto"],[1,"text-momentum-royal_purple","font-semibold"],[1,"flex","items-center","mb-2","text-sm"],["id","Layer_
161","xmlns","http://www.w3.org/2000/svg","width","18","height","18","viewBox","0 0 36 36",1,"w-[18px]","h-[18px]","shrink-0","mr-1"],["d","M2.41,27C-.8,21.43-.8,14.57,2.41,9,5.63,3.43,11.57,0,18,0s12.37,3.43,15.59,9c3.21,5.57,3.21,12.43,0,18-3.22,5.57-9.16,9-15.59,9s-12.37-3.43-15.59-9ZM18,27c1.24,0,2.25-1.01,2.25-2.25s-1.01-2.25-2.25-2.25-2.25,1.01-2.25,2.25,1.01,2.25,2.25,2.25ZM16.31,10.69v7.88c0,.94.75,1.69,1.69,1.69s1.69-.75,1.69-1.69v-7.88c0-.94-.75-1.69-1.69-1.69s-1.69.75-1.69,1.69Z",2,"fill","#a200ff"],[1,"px-4","sm:px-8","pb-6"],[1,"text-sm","font-semibold","text-momentum-black"],[1,"mt-1","text-sm","text-momentum-black"],[1,"text-xl","text-momentum-deep_purple","mr-2"],[1,"mt-6"],[1,"mt-6","text-momentum-black","text-sm"],[1,"px-4","sm:px-8","py-4","border-t"],[1,"flex","flex-col","sm:flex-row","gap-3","justify-center"],["type","button",1,"inline-flex","items-center","justify-center","rounded-lg","border","bg-momentum-royal_purple","px-4","py-2.5","px-8","text-sm","font-medium","text-white","hover:bg-momentum-deep_purple",3,"click"],["src","assets/building-regular-icon-deep-purple.png","alt","Building Icon",1,"w-[15px]","h-[19.81px]","shrink-0","object-contain","mr-1"],[1,"text-momentum-deep_purple","font-semibold"],["src","assets/house-regular-icon-deep-purple.png","alt","House Icon","width","18","height","15.84",1,"w-[18px]","h-[15.84px]","shrink-0","object-contain","mr-1"],["src","assets/heart-pulse-icon-deep-purple.png","alt","Heart Icon","width","18","height","15.84",1,"w-[18px]","h-[15.84px]","shrink-0","object-contain","mr-1"],[1,"text-momentum-black","text-sm","mt-1"],[1,"text-xl","text-momentum-deep_purple","pr-2"],[1,"text-sm","text-momentum-black","mt-1"],[1,"text-sm","font-semibold","text-slate-900"],[1,"text-momentum-black","text-sm"],[1,"text-sm","font-semibold"],[1,"inline-block"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24",1,"animate-spin","h-12","w-12"],["cx","12","cy","12","r","10","stroke","#08730a","stroke-width","4",1,"opacity-25"],["fill","#08730a","d","M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",1,"opacity-75"]],template:function(i,n){i&1&&I(0,cg,6,2,"div",0)(1,dg,5,0,"div",1),i&2&&b(n.isLoading?1:0)},encapsulation:2})}return t})();var mg=t=>({"-mt-12":t}),ug=t=>({"mb-8":t});function pg(t,r){let e;return(e=r.codename)!==null&&e!==void 0?e:r.name}function hg(t,r){let e;return(e=r.publishedUrlPath)!==null&&e!==void 0?e:r.urlPattern}function gg(t,r){if(t&1&&u(0,"app-preview-page-location",6),t&2){let e=f(2);h("publishedPagePath",e.blogArticle.publishedUrlPath)}}function fg(t,r){t&1&&(o(0,"h1"),c(1),a()),t&2&&(s(),M(r))}function xg(t,r){t&1&&(o(0,"span"),c(1),a()),t&2&&(s(),M(r))}function vg(t,r){if(t&1&&(o(0,"div",8)(1,"div",23),u(2,"img",24),o(3,"span",25),c(4,"Written by\xA0"),a(),o(5,"div",26)(6,"span",27),c(7),a()()(),o(8,"div",28)(9,"div",29),u(10,"img",30),o(11,"div",31)(12,"span"),c(13,"Written by"),a(),o(14,"a",32)(15,"span",33),c(16),a()(),o(17,"span"),c(18),a()()(),u(19,"hr",34),o(20,"div"),c(21),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(5),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(4),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function yg(t,r){if(t&1&&(o(0,"div",9)(1,"div",35),u(2,"img",24),o(3,"span",36),ne(),o(4,"svg",37)(5,"defs")(6,"style"),c(7," .expert-review-check { fill: #08730a; stroke-width: 0; } "),a()(),u(8,"path",38),a(),c(9," Reviewed by\xA0"),a(),Ce(),o(10,"div",26)(11,"span",39),c(12),a()()(),o(13,"div",28)(14,"div",29),u(15,"img",30),o(16,"div",31)(17,"span",36),ne(),o(18,"svg",37)(19,"defs")(20,"style"),c(21," .expert-review-check { fill: #08730a; stroke-width: 0; } "),a()(),u(22,"path",38),a(),c(23," Reviewed by\xA0"),a(),Ce(),o(24,"a",32)(25,"span",33),c(26),a()(),o(27,"span"),c(28),a()()(),u(29,"hr",34),o(30,"div"),c(31),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(10),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(9),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function _g(t,r){t&1&&(o(0,"div",10),c(1),Ue(2,"date"),a()),t&2&&(s(),Z("Updated ",Dt(2,1,r,"MMMM d, yyyy"),""))}function bg(t,r){if(t&1&&(o(0,"div",11)(1,"div",40),u(2,"img",41),a()()),t&2){let e=f(2);s(2),K("src",e.blogArticle.headerPhoto==null?null:e.blogArticle.headerPhoto.url,k),K("alt",e.blogArticle.headerPhoto==null?null:e.blogArticle.headerPhoto.description)}}function Cg(t,r){if(t&1&&(o(0,"details",18)(1,"summary",42),c(2,"Sources"),a(),u(3,"app-rich-text",43),a()),t&2){let e=f(2);s(3),h("richText",e.blogArticle.sources)}}function wg(t,r){if(t&1&&(o(0,"li",45)(1,"a",46),c(2),a()()),t&2){let e=r.$implicit,i=f(3);s(),h("routerLink",i.getCategoryUrl(e)),s(),Z(" ",e.name," ")}}function Sg(t,r){if(t&1&&(o(0,"section",21)(1,"span",44),c(2,"Categories"),a(),o(3,"ul"),we(4,wg,3,2,"li",45,pg),a()()),t&2){let e=f(2);s(4),Se(e.allBlogCategories)}}function Eg(t,r){if(t&1&&u(0,"img",51),t&2){let e,i=f().$implicit;h("src",(e=i.headerPhoto==null?null:i.headerPhoto.url)!==null&&e!==void 0?e:"",k),ve("alt",(i.headerPhoto==null?null:i.headerPhoto.description)||i.h1||"")}}function Ig(t,r){if(t&1&&(o(0,"span",53),c(1),Ue(2,"date"),a()),t&2){let e=f().$implicit;s(),Z(" ",Dt(2,1,e==null?null:e.date,"MMMM d, yyyy")," ")}}
16function kg(t,r){if(t&1&&(o(0,"li",49)(1,"a",50),I(2,Eg,1,2,"img",51),o(3,"span",52),c(4),a(),I(5,Ig,3,4,"span",53),a()()),t&2){let e=r.$implicit,i=f(3);s(),h("routerLink",i.getBlogArticleUrl(e)),s(),b(e.headerPhoto!=null&&e.headerPhoto.url?2:-1),s(2),Z(" ",e==null?null:e.h1," "),s(),b(e!=null&&e.date?5:-1)}}function Ag(t,r){if(t&1&&(o(0,"section",22)(1,"span",47),c(2,"Must Read"),a(),o(3,"ul",48),we(4,kg,6,4,"li",49,hg),a()()),t&2){let e=f(2);s(4),Se(e.relatedArticles)}}function Tg(t,r){if(t&1&&(u(0,"app-json-ld",1)(1,"app-json-ld",2),o(2,"main",3)(3,"section",4)(4,"div",5),I(5,gg,1,1,"app-preview-page-location",6)(6,fg,2,1,"h1")(7,xg,2,1,"span"),o(8,"div",7),I(9,vg,22,13,"div",8)(10,yg,32,13,"div",9)(11,_g,3,4,"div",10),a()(),I(12,bg,3,2,"div",11),a(),o(13,"div")(14,"section",12),u(15,"app-search-widget",13),a(),o(16,"section",14)(17,"div",15)(18,"div",16),u(19,"app-rich-text",17),I(20,Cg,4,1,"details",18),a(),o(21,"aside",19),u(22,"app-recommendations",20),I(23,Sg,6,0,"section",21)(24,Ag,6,0,"section",22),a()()()()()),t&2){let e,i,n,l,d,m=f();h("json",m.articleSchemaJson),s(),h("json",m.faqSchemaJson),s(4),b(m.blogArticle.preview?5:-1),s(),b((e=m.blogArticle.h1)?6:-1,e),s(),b((i=m.blogArticle.subtitle)?7:-1,i),s(2),b((n=m.blogArticle.blogAuthor)?9:-1,n),s(),b((l=m.blogArticle.expert)?10:-1,l),s(),b((d=m.blogArticle.date)?11:-1,d),s(),b(m.blogArticle.headerPhoto!=null&&m.blogArticle.headerPhoto.url?12:-1),s(2),h("ngClass",ue(25,mg,!(m.blogArticle.headerPhoto!=null&&m.blogArticle.headerPhoto.url))),s(),h("searchWidget",m.blogArticle.searchWidget)("ctaLinkOverride",m.blogArticle.ctaLink),s(4),h("richText",m.blogArticle.body)("ctaLinkOverride",m.blogArticle.ctaLink),s(),b((m.blogArticle.sources==null?null:m.blogArticle.sources.value.trim())!="<p><br></p>"?20:-1),s(2),h("ngClass",ue(27,ug,m.blogArticle.blog7c0f41a==null?null:m.blogArticle.blog7c0f41a.length))("pagePath",m.pagePath)("category",m.category)("lob",m.lob)("naics",m.naicsStr)("sourceContent","CONTENT_PAGE_AD")("showCarrier",!0)("contentTitle",m.blogArticle.h1),s(),b(m.allBlogCategories.length?23:-1),s(),b(m.relatedArticles.length?24:-1)}}var Ec=(()=>{class t{contentStateService;router;location;contentDaoPublishedService;platformId;elementRef;renderer;schemaService;blogArticle=null;hasScrolledToAnchor=!1;articleSchemaJson;faqSchemaJson;allBlogCategories=[];relatedArticles=[];constructor(e,i,n,l,d,m,p,_){this.contentStateService=e,this.router=i,this.location=n,this.contentDaoPublishedService=l,this.platformId=d,this.elementRef=m,this.renderer=p,this.schemaService=_,$e(()=>{this.initializeBlogArticlePage(),oe(this.platformId)&&!window.location.hash&&window.location.pathname!=this.contentStateService.currentContentUrl()&&(this.initializeBlogArticlePage(),this.location.go(this.contentStateService.currentContentUrl()),window.scrollTo({top:0,left:0,behavior:"auto"}))}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}scrollToElement(e){at(e)}getPhoneNumber(){if(this.blogArticle?.searchContext?.length)for(let e of this.blogArticle.searchContext){let i=e?.name?.toUpperCase();if(!i)continue;let n=Zt.SEARCH_CONTEXT_TAXONOMY_CATEGORIES[i]?.toUpperCase();if(n==="PERSONAL")return J.personalPhoneNumber;if(n==="COMMERCIAL")return J.commercialPhoneNumber}return J.genericPhoneNumber}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}get pagePath(){let e=this.blogArticle;if(e?.publishedUrlPath)return e.publishedUrlPath;let i=(e?.urlPath??[]).map(l=>l?.name).filter(Boolean),n=e?.urlPattern?`/${e.urlPattern}`:"";return i.length?`/${i.join("/")}${n}`:"/"}get category(){let e=this.blogArticle,i=e?.searchContext?.[0]?.codename??e?.searchWidget?.searchContext?.[0]?.codename??e?.ctaLink?.category;return i?String(i).toUpperCase():void 0}get lob(){let e=this.blogArticle?.ctaLink?.businessLines;if(Array.isArray(e)&&e.length)return String(e[0])}get naicsStr(){let e=this.blogArticle?.naics;return e===0||e?String(e):void 0}getCategoryUrl(e){return["/insurance-articles",this.slugifyCategoryName(e.name)]}slugifyCategoryName(e){return(e||"").toLowerCase().trim().replace(/\s+/g,"-")}initializeBlogArticlePage(){this.contentStateService.currentContentItem()?.type==="blog_article"&&(this.blogArticle=this.contentStateService.currentContentItem(),this.blogArticle.expert=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.blogArticle?.expert),this.blogArticle.blogAuthor=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.blogArticle?.blogAuthor),this.loadAllBlogCategories(),this.articleSchemaJson=this.schemaService.buildArticleSchema(this.blogArticle,this.pagePath),this.faqSchemaJ
16son=this.schemaService.buildFaqSchema(this.blogArticle),this.loadRelatedArticles()),this.contentStateService.currentContentItem()?.type!=="blog_article"&&this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}loadAllBlogCategories(){this.contentDaoPublishedService.getAllBlogCategories().then(e=>{this.allBlogCategories=e??[]}).catch(e=>{console.error("Failed to load blog categories",e),this.allBlogCategories=[]})}loadRelatedArticles(){if(!this.blogArticle||!this.blogArticle.blog7c0f41a?.length){this.relatedArticles=[];return}let e=this.blogArticle,i=new Set((e.blog7c0f41a||[]).map(n=>n?.codename).filter(n=>!!n));if(!i.size){this.relatedArticles=[];return}this.contentDaoPublishedService.getAllBlogArticles().then(n=>{let l=e.codename,d=n.filter(p=>{let _=p.codename&&l&&p.codename===l,g=p.publishedUrlPath&&e.publishedUrlPath&&p.publishedUrlPath===e.publishedUrlPath;return _||g?!1:(p.blog7c0f41a||[]).some(v=>v?.codename&&i.has(v.codename))}),m=this.shuffleArray(d);this.relatedArticles=m.slice(0,3)}).catch(n=>{console.error("Failed to load related articles",n),this.relatedArticles=[]})}shuffleArray(e){let i=[...e];for(let n=i.length-1;n>0;n--){let l=Math.floor(Math.random()*(n+1));[i[n],i[l]]=[i[l],i[n]]}return i}getBlogArticleUrl(e){if(e.publishedUrlPath)return e.publishedUrlPath;let i=this.contentStateService.urlStructureTaxonomy(),n=e.urlPath?.[0]?.codename;if(i?.length&&n&&e.urlPattern){let m=Mt.findUrlPathTaxonomyFromCodename(n,i);if(m)return`${m.fullPath}/${e.urlPattern}`}let l=(e.urlPath??[]).map(m=>m?.name).filter(Boolean),d=e.urlPattern?`/${e.urlPattern}`:"";return l.length?`/${l.join("/")}${d}`:"/"}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Me),A(nt),A(de),A(We),A(Ze),A(ut))};static \u0275cmp=$({type:t,selectors:[["app-blog-article"]],decls:3,vars:2,consts:[[3,"phoneNumber"],["key","article",3,"json"],["key","faq",3,"json"],[1,"mb-10","blog-article-styling"],["id","header-section",1,"relative","w-full","h-full"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","flex","flex-col","justify-items-center","h-full","mt-5","sm:mt-20","px-5"],[3,"publishedPagePath"],["id","author-bio",1,"mb-5","flex","sm:flex-row","flex-col","flex-wrap","lg:items-center"],["name","author-bio-link",1,"relative","cursor-pointer","mr-6","group","min-w-56"],["name","author-bio-link",1,"relative","cursor-pointer","mr-6","group"],[1,"flex","items-center","text-insuredBetter-text_gray","order-1","sm:order-last","mb-3","sm:mb-0"],[1,"relative","w-full","h-full"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5",3,"ngClass"],[3,"searchWidget","ctaLinkOverride"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5"],[1,"flex","flex-col","lg:flex-row"],["id","main-content",1,"lg:max-w-screen-sm","lg:ml-auto","lg:mr-20","lg:pl-5"],["ngSkipHydration","",1,"blog-article-styling",3,"richText","ctaLinkOverride"],[1,"sources-details","mt-12"],[1,"lg:mr-16","lg:pr-5","sm:min-w-72","mt-16","lg:mt-0"],["id","recommendations-section",3,"ngClass","pagePath","category","lob","naics","sourceContent","showCarrier","contentTitle"],["id","blog-categories",1,"mb-8","sm:max-w-72","text-center","sm:text-left"],["id","related-articles",1,"max-w-72","md:max-w-full","lg:max-w-72","text-center","sm:text-left","mx-auto","sm:mx-0"],[1,"flex","items-center","order-2","sm:order-1","mb-3","sm:mb-0"],[3,"src"],[1,"text-insuredBetter-text_gray"],[1,"inline-block","relative"],["data-id","author-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"tooltip-container","leading-5","z-20","min-w-80","absolute","top-10","left-0","rounded","bg-white","p-3.5","text-sm","text-insuredBetter-text_gray","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","hidden","group-hover:block"],[1,"flex"],[1,"object-cover","overflow-hidden","min-w-14","min-h-14","rounded-full",3,"src"],[1,"ml-3","flex","flex-col"],[3,"href"],[1,"text-2xl","text-insuredBetter-forest_green","underline","hover:no-underline"],[1,"my-3"],[1,"flex","items-center","order-last","sm:order-2","mb-3","sm:mb-0"],[1,"text-insuredBetter-text_gray","flex","items-center"],["id","Layer_
161","xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16.05 16.05",1,"mr-1","position-relative",2,"top","2px"],["d","m1.1,12.02C-.33,9.55-.33,6.5,1.1,4.03S5.17.03,8.03.03s5.5,1.52,6.93,4,1.43,5.52,0,8-4.07,4-6.93,4-5.5-1.52-6.93-4Zm1.3-7.25c-1.16,2.01-1.16,4.49,0,6.5,1.16,2.01,3.31,3.25,5.63,3.25s4.47-1.24,5.63-3.25c1.16-2.01,1.16-4.49,0-6.5-1.16-2.01-3.31-3.25-5.63-3.25s-4.47,1.24-5.63,3.25Zm5.16,5.78l-.53.53-.53-.53-2-2-.53-.53,1.06-1.06.53.53,1.47,1.47,3.47-3.47.53-.53,1.06,1.06-.53.53-4,4Z",1,"expert-review-check"],["data-id","expert-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"mx-auto","max-w-screen-md","lg:max-w-screen-xl","px-5"],["id","hero-image",3,"src","alt"],[1,"mb-2.5","font-semibold"],[1,"bloc-article-styling",3,"richText"],[1,"text-lg","inline-block","font-medium","text-black","leading-5","mb-3"],[1,"mb-2"],[1,"!no-underline","text-insuredBetter-forest_green","hover:!text-insuredBetter-dark_forest","hover:!underline",3,"routerLink"],[1,"text-lg","inline-block","font-medium","text-black","leading-5","mb-2"],[1,"flex","flex-wrap","gap-4","lg:block"],[1,"!text-insuredBetter-forest_green","group","w-full","md:w-[calc(33.333%-0.9rem)]","lg:w-full"],[1,"!no-underline","block",3,"routerLink"],[1,"w-full","h-32","object-cover","rounded","mb-2","group-hover:opacity-85",3,"src"],[1,"font-medium","leading-5","group-hover:text-insuredBetter-dark_forest","block"],[1,"text-xs","text-insuredBetter-text_gray","mt-1","block"]],template:function(i,n){i&1&&(u(0,"app-header",0),I(1,Tg,25,29),u(2,"app-footer")),i&2&&(h("phoneNumber",n.getPhoneNumber()),s(),b(n.blogArticle?1:-1))},dependencies:[li,Ve,ze,Ee,Pe,ke,Gt,ci,je,di,mt],styles:[`.blog-article-styling #header-section #author-bio img{margin-right:.5rem}.blog-article-styling #header-section #author-bio img{max-height:2.25rem}.blog-article-styling #header-section #author-bio img{max-width:2.25rem}.blog-article-styling #header-section #author-bio img{overflow:hidden}.blog-article-styling #header-section #author-bio img{border-radius:9999px}.blog-article-styling #header-section #author-bio img{object-fit:cover}.blog-article-styling #header-section #author-bio img{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
16--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blog-article-styling #header-section #author-bio .tooltip-container{max-width:2.25rem}.blog-article-styling #header-section #hero-image{height:100%}.blog-article-styling #header-section #hero-image{width:100%}.blog-article-styling #header-section #hero-image{border-radius:.25rem}.blog-article-styling #header-section #hero-image{object-fit:contain}.blog-article-styling #header-section #hero-image{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling{background-position:calc(50% - 205px) calc(50% - 370px)}}@media (min-width: 1280px){.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling{background-position:calc(50% - 210px) calc(50% - 375px)}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1{font-family:Poppins,sans-serif}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1{font-size:1.875rem;line-height:2.25rem}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1{font-weight:500}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1+span{margin-top:1rem}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1+span{margin-bottom:1.25rem}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1+span{display:block}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1+span{font-size:1.125rem;line-height:1.75rem}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1+span{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) h1+span{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget{display:inline-block}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{margin-top:0;margin-bottom:0}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{background-color:transparent}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{padding:0}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
16dow)}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div{border-width:0px}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div{padding:0}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div>div{display:none}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{position:relative}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{top:0}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{background-color:transparent}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{padding-left:0;padding-right:0}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form input{min-width:fit-content}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form input{min-width:auto}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-bg-opacity: 1;background-color:rgb(117 186 48 / var(--tw-bg-opacity))}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span{padding-left:1.25rem;padding-right:1.25rem}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover span img{--tw-brightness: brightness(0);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover span img{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .coverage-type-search-widget app-search-widget>div>div form button:hover span img{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column{flex-wrap:wrap}}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div{flex-shrink:0}}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div{flex-grow:0}}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div{flex-basis:50%}}@media (min-width: 1024px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div{flex-basis:33.333333%}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div>div{border-width:1px}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div>div{border-color:transparent}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div>div:hover{--tw-border-opacity: 1;border-color:rgb(8 115 10 / var(--tw-border-opacity))}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div>div:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}@media (min-width: 1280px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column>div>div{padding-left:.625rem;padding-right:.625rem}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column a{display:block}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column a{font-size:1.25rem;line-height:1.75rem}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column a{line-height:1.5rem!important}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column a{text-decoration-line:none}@media (min-width: 640px){:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-3-column a{font-size:1.5rem;line-height:2rem}}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-add-an-image+p{margin-bottom:.5rem}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-add-an-image img{height:75px}:is(.blog-article-styling #coverage-type-header,.blog-article-styling .coverage-type-styling) .element-add-an-image img{width:75px}.blog-article-styling #main-content app-rich-text>div figure:first-child,.blog-article-styling #main-content app-rich-text>div h2:first-child,.blog-article-styling #main-content app-rich-text>div h3:first-child{margin-top:0}.blog-article-styling #main-content table{margin-bottom:2.5rem}.blog-article-styling #main-content table{width:100%}.blog-article-styling #main-content table thead>tr>th{border-width:1px}.blog-article-styling #main-content table thead>tr>th{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.blog-article-styling #main-content table thead>tr>th{padding:.75rem}.blog-article-styling #main-content table tr:nth-of-type(odd):not
16(thead>tr){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.blog-article-styling #main-content table td{border-width:1px}.blog-article-styling #main-content table td{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.blog-article-styling #main-content table td{padding:.75rem}.blog-article-styling #main-content table td{vertical-align:top}.blog-article-styling #main-content table td{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}.blog-article-styling #main-content span>table{display:block}.blog-article-styling #main-content span>table{overflow-x:auto}.blog-article-styling #main-content ul,.blog-article-styling #main-content ol{margin-top:1.25rem}.blog-article-styling #main-content ul,.blog-article-styling #main-content ol{padding-inline-start:2.5rem}:is(.blog-article-styling #main-content ul,.blog-article-styling #main-content ol) li{margin-bottom:1.25rem}:is(.blog-article-styling #main-content ul,.blog-article-styling #main-content ol) li{--tw-text-opacity: 1;color:rgb(59 63 62 / var(--tw-text-opacity))}:is(.blog-article-styling #main-content ul,.blog-article-styling #main-content ol) li::marker{--tw-text-opacity: 1;color:rgb(59 63 62 / var(--tw-text-opacity))}.blog-article-styling #main-content ul li{list-style-type:disc}.blog-article-styling #main-content ol li{list-style-type:decimal}.blog-article-styling #main-content .sources-details{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.blog-article-styling #main-content .sources-details p{margin-bottom:.25rem}.blog-article-styling #main-content .sources-details p{font-size:.875rem;line-height:1.25rem}.blog-article-styling #main-content .sources-details>summary{list-style-type:none}.blog-article-styling #main-content .sources-details>summary:after{content:var(--tw-content);position:relative}.blog-article-styling #main-content .sources-details>summary:after{content:var(--tw-content);top:-.125rem}.blog-article-styling #main-content .sources-details>summary:after{content:var(--tw-content);margin-left:.5rem}.blog-article-styling #main-content .sources-details>summary:after{--tw-content: url(/assets/down-caret.svg);content:var(--tw-content)}.blog-article-styling #main-content .sources-details>summary::-webkit-details-marker{display:none}.blog-article-styling #main-content .sources-details[open] summary:after{--tw-content: url(/assets/up-caret.svg);content:var(--tw-content)}.blog-article-styling aside ul{margin-bottom:0}.blog-article-styling aside ul li{padding-top:.5rem;padding-bottom:.5rem}.blog-article-styling aside ul li{line-height:1.25rem}.blog-article-styling aside ul li{--tw-text-opacity: 1;color:rgb(59 63 62 / var(--tw-text-opacity))}.blog-article-styling aside ul li a{text-decoration-line:none}.blog-article-styling aside ul li a:hover{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.blog-article-styling aside ul li a:hover{text-decoration-line:underline} 17`],encapsulation:2})}return t})();var Ic=(()=>{class t{router;contentDaoPublishedService;platformId;constructor(e,i,n){this.router=e,this.contentDaoPublishedService=i,this.platformId=n}canActivate(e,i){return Rr(this,null,function*(){if(!oe(this.platformId))return!0;let n=e.paramMap.get("categorySlug");if(!n)return!0;try{let l=yield this.contentDaoPublishedService.getAllBlogArticles(),d=p=>(p||"").toLowerCase().trim().replace(/\s+/g,"-");return l.some(p=>(p.blog7c0f41a||[]).some(_=>d(_.name)===n))?!0:(yield this.router.navigateByUrl("not-found",{skipLocationChange:!0}),!1)}catch{return!0}})}static \u0275fac=function(i){return new(i||t)(ee(le),ee(nt),ee(de))};static \u0275prov=pe({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Bg=t=>({"mt-20":t}),Lg=()=>["/find-an-agent"],Fg=t=>({title:t}),Dg=()=>({});function Mg(t,r){if(t&1&&u(0,"app-json-ld",0),t&2){let e=f();h("json",e.stateLandingSchemaJson)}}function Pg(t,r){if(t&1&&(o(0,"div",28),u(1,"app-rich-text",23),a()),t&2){let e=r.ngIf;s(),h("richText",e)}}function zg(t,r){if(t&1&&(o(0,"section",29)(1,"div",30)(2,"div",31)(3,"div",32),c(4),a(),o(5,"p",33),c(6),a(),o(7,"a",34),c(8," Request a Quote "),u(9,"img",35),a()()()()),t&2){let e=f();s(4),Z(" ",e.stateLanding==null?null:e.stateLanding.ctaHeader," "),s(2),Z(" ",e.stateLanding==null?null:e.stateLanding.ctaSubHeader," "),s(),h("routerLink",Re(4,Lg))("queryParams",e.h1PlainText?ue(5,Fg,e.h1PlainText):Re(7,Dg))}}function Og(t,r){if(t&1&&(o(0,"section",36)(1,"div",37),c(2),a(),o(3,"div",38)(4,"a",39),c(5),a(),u(6,"span",40),o(7,"a",39),c(8),a()()()),t&2){let e=f();s(2),M(e.stateLanding==null?null:e.stateLanding.widgetTitle),s(2),K("href",e.stateLanding==null?null:e.stateLanding.widgetLink1,k),s(),M(e.stateLanding==null?null:e.stateLanding.widgetLink1Text),s(2),K("href",e.stateLanding==null?null:e.stateLanding.widgetLink2,k),s(),M(e.stateLanding==null?null:e.stateLanding.widgetLink2Text)}}function Ng(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"h3",44)(4,"a",45),c(5),a()(),o(6,"p",46),c(7),a()()),t&2){let e=f();s(2),h("src",(e.stateLanding==null||e.stateLanding.lob1Icon==null?null:e.stateLanding.lob1Icon.url)||"",k),s(2),K("href",e.stateLanding==null?null:e.stateLanding.lob1Link,k),s(),M(e.stateLanding==null?null:e.stateLanding.lob1name),s(2),Z(" ",e.stateLanding==null?null:e.stateLanding.lob1Description," ")}}function Rg(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"h3",44)(4,"a",45),c(5),a()(),o(6,"p",46),c(7),a()()),t&2){let e=f();s(2),h("src",(e.stateLanding==null||e.stateLanding.lob2Icon==null?null:e.stateLanding.lob2Icon.url)||"",k),s(2),K("href",e.stateLanding==null?null:e.stateLanding.lob2Link,k),s(),M(e.stateLanding==null?null:e.stateLanding.lob2name),s(2),Z(" ",e.stateLanding==null?null:e.stateLanding.lob2Description," ")}}function Ug(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"h3",44)(4,"a",45),c(5),a()(),o(6,"p",46),c(7),a()()),t&2){let e=f();s(2),h("src",(e.stateLanding==null||e.stateLanding.lob3Icon==null?null:e.stateLanding.lob3Icon.url)||"",k),s(2),K("href",e.stateLanding==null?null:e.stateLanding.lob3Link,k),s(),M(e.stateLanding==null?null:e.stateLanding.lob3name),s(2),Z(" ",e.stateLanding==null?null:e.stateLanding.lob3Description," ")}}function jg(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"h3",44)(4,"a",45),c(5),a()(),o(6,"p",46),c(7),a()()),t&2){let e=f();s(2),h("src",(e.stateLanding==null||e.stateLanding.lob4Icon==null?null:e.stateLanding.lob4Icon.url)||"",k),s(2),K("href",e.stateLanding==null?null:e.stateLanding.lob4Link,k),s(),M(e.stateLanding==null?null:e.stateLanding.lob4name),s(2),Z(" ",e.stateLanding==null?null:e.stateLanding.lob4Description," ")}}function Vg(t,r){if(t&1&&u(0,"app-rich-text",19),t&2){let e=f();h("richText",e.stateLanding==null?null:e.stateLanding.mainContent1)}}function Hg(t,r){if(t&1&&(o(0,"h2",21),c(1),a()),t&2){let e=f();s(),Z(" ",e.stateLanding==null?null:e.stateLanding.faqHeader," ")}}function Gg(t,r){if(t&1){let e=ie();o(0,"details",48)(1,"summary",49),P("click",function(n){N(e);let l=f(2);return R(l.scrollFaqIntoView(n))}),u(2,"span",13)(3,"span"),a()(),o(4,"div",50)(5,"div"),u(6,"app-rich-text",23),a()()}if(t&2){let e=r.$implicit,i=r.$index;h("open",i===0),s(2),h("innerHTML",e.question,jt),s(4),h("richText",e.answer)}}function qg(t,r){if(t&1&&(o(0,"div",22)(1,"div",47),we(2,Gg,7,3,null,null,Si),a()()),t&2){let e=f();s(2),Se(e.faqList)}}function Wg(t,r){if(t&1&&u(0,"app-rich-text",23),t&2){let e=f();h("richText",e.stateLanding==null?null:e.stateLanding.mainContent2)}}var kc=(()=>{class t{contentStateService;router;location;platformId;elementRef;renderer;schemaService;stateLanding;stateLandingSchemaJson;lastContentUrl=null;hasScrolledToAnchor=!1;constructor(e,i,n,l,d,m,p){this.contentStateService=e,this.router=i,this.location=n,this.platformId=l,this.elementRef=d,this.renderer=m,this.schemaService=p,$e(()=>{if(this.initializeArticlePage(),!oe(this.platformId)||window.location.hash)return;let _=this.contentStateService.currentContentUrl();this.lastContentUrl===null&&(this.lastContentUrl=_||window.location.pathname),_&&this.lastContentUrl!==_&&(this.location.go(_),window.scrollTo({top:0,left:0,behavior:"auto"}),this.lastContentUrl=_)}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}scrollToElement(e){at(e)}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>
17{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}initializeArticlePage(){this.contentStateService.currentContentItem()?.type==="state_landing_page"&&(this.stateLanding=this.contentStateService.currentContentItem(),this.stateLandingSchemaJson=this.schemaService.buildStateLandingSchema(this.stateLanding,this.pagePath)),this.contentStateService.currentContentItem()?.type!=="state_landing_page"&&this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}get pagePath(){let e=this.statelanding;if(e?.publishedUrlPath)return e.publishedUrlPath;let i=(e?.urlPath??[]).map(d=>d?.name).filter(Boolean),n=e?.urlPattern?`/${e.urlPattern}`:"";if(i.length)return`/${i.join("/")}${n}`;let l=wt.resolveFromCodename(e?.codename);return l.slug?`/${l.slug}`:"/"}get category(){let e=this.statelanding,i=e?.searchContext?.[0]?.codename??e?.searchWidget?.searchContext?.[0]?.codename??e?.ctaLink?.category;return i?String(i).toUpperCase():void 0}get lob(){let e=this.statelanding?.ctaLink?.businessLines;if(Array.isArray(e)&&e.length)return String(e[0])}get h1PlainText(){let e=this.stateLanding?.h1?.value;return e&&e.replace(/<[^>]*>/g,"").trim()||void 0}get faqList(){if(!this.stateLanding)return[];let e=[];for(let i=1;i<=15;i++){let n=this.stateLanding[`question${i}`],l=this.stateLanding[`answer${i}`];n&&l&&e.push({question:n,answer:l})}return e}scrollFaqIntoView(e){let n=e.currentTarget.closest("details");n.open||setTimeout(()=>{n.scrollIntoView({behavior:"smooth",block:"nearest"})},420)}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Me),A(de),A(We),A(Ze),A(ut))};static \u0275cmp=$({type:t,selectors:[["app-state-landing"]],decls:37,vars:22,consts:[["key","webpage",3,"json"],[1,"relative","w-full","overflow-hidden"],[1,"relative","h-[300px]","w-full","bg-cover","bg-center"],[1,"absolute","inset-0","pointer-events-none","bg-[radial-gradient(circle_at_50%_40%,rgba(74,128,20,0.65)_0%,rgba(74,128,20,0.22)_45%,transparent_75%)]"],[1,"absolute","inset-0","pointer-events-none","bg-gradient-to-r","from-insuredBetter-forest_green/20","via-insuredBetter-forest_green/60","to-insuredBetter-forest_green/20"],[1,"relative","h-full"],[1,"mx-auto","flex","h-full","max-w-6xl","flex-col","justify-center","items-center","gap-5","px-6","sm:flex-row","sm:px-10"],["alt","",1,"mx-auto","sm:mx-0","max-w-20","sm:max-w-36","md:max-h-48","md:max-w-48","opacity-85","drop-shadow-[0_4px_8px_rgba(0,0,0,0.35)]",3,"src"],[1,"text-white","text-center","sm:text-left"],["class","mb-6",4,"ngIf"],["class","md:px-5 xl:px-0 max-w-screen-md lg:max-w-screen-xl mx-auto text-center md:-mt-11 relative mb-16",4,"ngIf"],["class","max-w-screen-md lg:max-w-screen-xl mx-auto px-5 mb-16",4,"ngIf"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","text-center","mb-5","px-5","xl:0"],[3,"innerHTML"],[1,"flex","flex-col","gap-6","sm:flex-row","sm:flex-wrap"],["class","group flex flex-col items-center rounded-xl bg-white p-8 text-center shadow-[0_8px_24px_rgba(0,0,0,0.10)] ring-1 ring-black/5 transition hover:-translate-y-0.5 hover:shadow-[0_12px_30px_rgba(0,0,0,0.14)] sm:basis-[calc(50%-12px)] lg:basis-[calc(25%-18px)]",4,"ngIf"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5","mt-16"],[1,"flex","flex-col","lg:flex-row"],[1,"lg:max-w-screen-sm","lg:ml-auto","lg:mr-20","lg:pl-5"],[1,"article-styling",3,"richText"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto",3,"ngClass"],[1,"mb-10"],[1,"element-faq"],[3,"richText"],[1,"sm:max-w-72","sm:min-w-72","mt-16","lg:mt-0"],["id","recommendations-section"],[1,"bg-insuredBetter-backdrop_white","p-10"],[1,"mb-10","text-center"],[1,"mb-6"],[1,"md:px-5","xl:px-0","max-w-screen-md","lg:max-w-screen-xl","mx-auto","text-center","md:-mt-11","relative","mb-16"],[1,"mx-auto","md:rounded-md","bg-insuredBetter-dark_forest","px-6","py-10","text-center","text-white","shadow-[0_8px_24px_rgba(0,0,0,0.25)]"],[1,"flex","flex-col","items-center","justify-center","gap-3"],[1,"text-white","text-3xl","sm:text-4xl"],[1,"text-white/90"],[1,"!no-underline","btn","flex","hover:bg-insuredBetter-dark_lime","bg-insuredBetter-lime","py-3","px-6","rounded-xl","text-insuredBetter-dark_forest","font-medium","hover:text-white","group",3,"routerLink","queryParams"],["src","assets/circle-arrow.svg","alt","","width","15","height","15",1,"ml-3","relative","top-px","group-hover:filter","group-hover:brightness-0","group-hover:invert"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5","mb-16"],[1,"text-center","text-2xl","font-semibold","max-w-3xl","mx-auto"],[1,"mt-4","flex","flex-col","sm:flex-row","items-center","justify-center","gap-3","sm:gap-0","text-base"],[1,"text-insuredBetter-forest_green","hover:text-insuredBetter-forest_green","hover:underline","font-medium",3,"href"],[1,"hidden","sm:block","mx-4","h-4","w-px","bg-gray-300"],[1,"group","flex","flex-col","items-center","rounded-xl","bg-white","p-8","text-center","shadow-[0_8px_24px_rgba(0,0,0,0.10)]","ring-1","ring-black/5","transition","hover:-translate-y-0.5","hover:shadow-[0_12px_30px_rgba(0,0,0,0.14)]","sm:basis-[calc(50%-12px)]","lg:basis-[calc(25%-18px)]"],[1,"mb-5","flex","h-14","w-14","items-center","justify-center","text-sky-700"],[3,"src"],[1,"text-lg","font-semibold","my-0","text-insuredBetter-forest_green","hover:text-insuredBetter-primary_text"],[3,"href"],[1,"mt-2","text-sm","leading-relaxed"],[1,"element-faq","mb-16"],["name","faq",3,"open"],[1,"flex","items-center",3,"click"],["role","definition",1,"faq-content"]],template:function(i,n){i&1&&(u(0,"app-header"),I(1,Mg,1,1,"app-json-ld",0),o(2,"section",1)(3,"div",2),u(4,"div",3)(5,"div",4),o(6,"div",5)(7,"div",6),u(8,"img",7),o(9,"div",8),I(10,Pg,2,1,"div",9),a()()()()(),I(11,zg,10,8,"section",10)(12,Og,9,5,"section",11),o(13,"section",12),u(14,"h2",13),o(15,"div")(16,"div",14),I(17,Ng,8,4,"div",15)(18,Rg,8,4,"div",15)(19,Ug,8,4,"div",15)(20,jg,8,4,"div",15),a()()(),o(21,"main",16)(22,"div",17)(23,"section",18),I(24,Vg,1,1,"app-rich-text",19),o(25,"div",20),I(26,Hg,2,1,"h2",21)(27,qg,4,0,"div",22),a(),I(28,Wg,1,1,"app-rich-text",23),a(),o(29,"aside",24),u(30,"app-rich-text",23)(31,"section",25),a()()(),o(32,"section",26)(33,"h2",27),c(34),a(),u(35,"app-rich-text",23),a(),u(36,"app-footer")),i&2&&(s(),b(n.stateLanding?1:-1),s(2),_t("background-image","url("+(n.stateLanding==null||n.stateLanding.headerImage==null?null:n.stateLanding.headerImage.url)+")"),s(5),h("src",(n.stateLanding==null||n.stateLanding.headerStateIcon==null?null:n.stateLanding.headerStateIcon.url)||"",k),s(2),h("ngIf",n.stateLanding==null?null:n.stateLanding.h1),s(),h("ngIf",n.stateLanding==null?null:n.stateLanding.ctaHeader),s(),h("ngIf",n.stateLanding==null?null:n.stateLanding.widgetTitle),s(2),h("innerHTML",n.stateLanding==null?null:n.stateLanding.lobSectionTitle,jt),s(3),h("ngIf",n.stateLanding==null?null:n.stateLanding.lob1name),s(),h("ngIf",n.stateLanding==null?null:n.stateLanding.lob2name),s(),h("ngIf",n.stateLanding==null?null:n.stateLanding.lob3name),s(),h("ngIf",n.stateLanding==null?null:n.stateLanding.lob4name),s(4),b((n.stateLanding==null||n.stateLanding.mainContent1==null?null:n.stateLanding.mainContent1.value.trim())!="<p><br></p>"?24:-1),s(),h("ngClass",ue(20,Bg,(n.stateLanding==null||n.stateLanding.mainContent1==null?null:n.stateLanding.mainContent1.value.trim())!="<p><br></p>")),s(),b(n.stateLanding!=null&&n.stateLanding.faqHeader?26:-1),s(),b(n.stateLanding!=null&&n.stateLanding.question1?27:-1),s(),b((n.stateLanding==null||n.stateLanding.mainContent2==null?null:n.stateLanding.mainContent2.value.trim())!="<p><br></p>"?28:-1),s(2),h("richText",n.stateLanding==null?null:n.stateLanding.sidebarLinks),s(4),Z(" ",n.stateLanding==null?null:n.stateLanding.testimonialHeader," "),s(),h("richText",n.stateLanding==null?null:n.stateLanding.testimonialContent))},dependencies:[Ve,ze,Ee,Pe,ke,Ht,je,mt],styles:[`h1{font-size:24px;text-shadow:0 2px 8px rgba(0,0,0,.35)}@media (min-width: 768px){h1{font-size:1.5rem;line-height:2rem}}@media (min-width: 1024px){h1{font-size:1.875rem!important;line-height:2.25rem!important}}h1 strong{display:block}h1 strong{padding-bottom:0}h1 strong{font-size:37px}h1 strong{font-weight:500!important}@media (min-width: 640px){h1 strong{font-size:48px}}@media (min-width: 768px){h1 strong{padding-bottom:.5rem}}@media (min-width: 768px){h1 strong{font-size:50px}}aside h4{margin-bottom:1rem}aside h4{font-size:1.125rem;line-height:1.75rem}aside h4{font-weight:500}aside h4{line-height:1.25rem}aside h4{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}aside ul{margin-bottom:3rem}aside ul li{margin-bottom:.875rem}aside ul li{line-height:1.25rem}aside ul li{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}aside ul li:hover:hover{--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}aside ul li:hover{text-decoration-line:underline} 18`],encapsulation:2})}return t})();var Zg=(t,r)=>({"lg:mb-0":t,"lg:mb-8":r}),Ac=()=>[],$g=t=>[t],So=(t,r)=>r.codename;function Yg(t,r){if(t&1&&u(0,"app-json-ld",0),t&2){let e=f();h("json",e.stateLobSchemaJson)}}function Kg(t,r){t&1&&u(0,"div",3)}function Jg(t,r){t&1&&(o(0,"span",38),c(1),a()),t&2&&(s(),M(r))}function Qg(t,r){t&1&&(o(0,"span",39),c(1),a()),t&2&&(s(),Z(" ",r," "))}function Xg(t,r){if(t&1&&(o(0,"div",7)(1,"h1",37),c(2),I(3,Jg,2,1,"span",38),a(),I(4,Qg,2,1,"span",39),a()),t&2){let e,i,n=f();s(2),Z(" ",r," "),s(),b((e=n.stateLob==null?null:n.stateLob.title)?3:-1,e),s(),b((i=n.stateLob==null?null:n.stateLob.subtitle)?4:-1,i)}}function ef(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"div",44)(4,"a",45),c(5),a()()()),t&2){let e=f(2);s(2),h("src",e.stateLob==null||e.stateLob.jumplink1Icon==null?null:e.stateLob.jumplink1Icon.url,k),s(2),h("href",e.stateLob==null?null:e.stateLob.jumplink1Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink1Description)}}function tf(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"div",44)(4,"a",45),c(5),a()()()),t&2){let e=f(2);s(2),h("src",e.stateLob==null||e.stateLob.jumplink2Icon==null?null:e.stateLob.jumplink2Icon.url,k),s(2),h("href",e.stateLob==null?null:e.stateLob.jumplink2Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink2Description)}}function nf(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"div",44)(4,"a",45),c(5),a()()()),t&2){let e=f(2);s(2),h("src",e.stateLob==null||e.stateLob.jumplink3Icon==null?null:e.stateLob.jumplink3Icon.url,k),s(2),h("href",e.stateLob==null?null:e.stateLob.jumplink3Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink3Description)}}function rf(t,r){if(t&1&&(o(0,"div",41)(1,"div",42),u(2,"img",43),a(),o(3,"div",44)(4,"a",45),c(5),a()()()),t&2){let e=f(2);s(2),h("src",e.stateLob==null||e.stateLob.jumplink4Icon==null?null:e.stateLob.jumplink4Icon.url,k),s(2),h("href",e.stateLob==null?null:e.stateLob.jumplink4Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink4Description)}}function of(t,r){if(t&1&&(o(0,"section",8)(1,"div")(2,"div",40),I(3,ef,6,3,"div",41)(4,tf,6,3,"div",41)(5,nf,6,3,"div",41)(6,rf,6,3,"div",41),a()()()),t&2){let e=f();s(3),b(e.stateLob!=null&&e.stateLob.jumplink1Link?3:-1),s(),b(e.stateLob!=null&&e.stateLob.jumplink2Link?4:-1),s(),b(e.stateLob!=null&&e.stateLob.jumplink3Link?5:-1),s(),b(e.stateLob!=null&&e.stateLob.jumplink4Link?6:-1)}}function af(t,r){if(t&1&&(o(0,"div",11)(1,"div",46),u(2,"img",47),o(3,"span",48),c(4,"Written by\xA0"),a(),o(5,"div",49)(6,"span",50),c(7),a()()(),o(8,"div",51)(9,"div",52),u(10,"img",53),o(11,"div",54)(12,"span"),c(13,"Written by"),a(),o(14,"a",45)(15,"span",55),c(16),a()(),o(17,"span"),c(18),a()()(),u(19,"hr",56),o(20,"div"),c(21),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(5),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(4),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function sf(t,r){if(t&1&&(o(0,"div",12)(1,"div",46),u(2,"img",47),o(3,"span",57),ne(),o(4,"svg",58)(5,"defs")(6,"style"),c(7," .expert-review-check { fill: #08730a; stroke-width: 0px; } "),a()(),u(8,"path",59),a(),c(9," Reviewed by\xA0"),a(),Ce(),o(10,"div",49)(11,"span",60),c(12),a()()(),o(13,"div",51)(14,"div",52),u(15,"img",53),o(16,"div",54)(17,"span",57),ne(),o(18,"svg",58)(19,"defs")(20,"style"),c(21," .expert-review-check { fill: #08730a; stroke-width: 0px; } "),a()(),u(22,"path",59),a(),c(23," Reviewed by\xA0"),a(),Ce(),o(24,"a",45)(25,"span",55),c(26),a()(),o(27,"span"),c(28),a()()(),u(29,"hr",56),o(30,"div"),c(31),a()()()),t&2){let e=r;s(2),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(10),M(e.name),s(3),K("src",e.authorPhoto==null?null:e.authorPhoto.url,k),ve("alt",e.authorPhoto!=null&&e.authorPhoto.description?e.authorPhoto==null?null:e.authorPhoto.description:"Author Photo")("width",(e.authorPhoto==null?null:e.authorPhoto.width)!=0?e.authorPhoto==null?null:e.authorPhoto.width:void 0)("height",(e.authorPhoto==null?null:e.authorPhoto.height)!=0?e.authorPhoto==null?null:e.authorPhoto.height:void 0),s(9),K("href",e.relativeUrlPath+"/",k),s(2),M(e.name),s(2),M(e.designations),s(3),M(e.popoverDescription)}}function lf(t,r){t&1&&(o(0,"div",13),c(1),Ue(2,"date"),a()),t&2&&(s(),Z("Updated ",Dt(2,1,r,"MMMM d, yyyy"),""))}function cf(t,r){if(t&1&&(o(0,"li",17)(1,"a",61),c(2),a()()),t&2){let e=f();s(),h("href",e.stateLob==null?null:e.stateLob.jumplink1Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink1Description)}}function df(t,r){if(t&1&&(o(0,"li",18)(1,"a",61),c(2),a()()),t&2){let e=f();s(),h("href",e.stateLob==null?null:e.stateLob.jumplink2Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink2Description)}}function mf(t,r){if(t&1&&(o(0,"li",18)(1,"a",61),c(2),a()()),t&2){let e=f();s(),h("href",e.stateLob==null?null:e.stateLob.jumplink3Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink3Description)}}function uf(t,r){if(t&1&&(o(0,"li",18)(1,"a",61),c(2),a()()),t&2){let e=f();s(),h("href",e.stateLob==null?null:e.stateLob.jumplink4Link,k),s(),M(e.stateLob==null?null:e.stateLob.jumplink4Description)}}function pf(t,r){if(t&1&&(o(0,"section",19),u(1,"app-search-widget",62),a()),t&2){let e=f();s(),h("searchWidget",e.stateLob==null?null:e.stateLob.searchWidget)("ctaLinkOverride",e.stateLob==null?null:e.stateLob.ctaLink)}}function hf(t,r){if(t&1&&(o(0,"h2",29),c(1),a()),t&2){let e=f();s(),Z(" ",e.stateLob==null?null:e.stateLob.toggleQASectionTitle," ")}}function gf(t,r){if(t&1){let e=ie();
18o(0,"details",63)(1,"summary",64),P("click",function(n){N(e);let l=f(2);return R(l.scrollFaqIntoView(n))}),u(2,"span",65)(3,"span"),a()(),o(4,"div",66)(5,"div"),u(6,"app-rich-text",23),a()()}if(t&2){let e=r.$implicit,i=r.$index;h("open",i===0),s(2),h("innerHTML",e.question,jt),s(4),h("richText",e.answer)}}function ff(t,r){if(t&1&&(o(0,"div",30),we(1,gf,7,3,null,null,Si),a()),t&2){let e=f();s(),Se(e.faqList)}}function xf(t,r){if(t&1&&(o(0,"h2"),c(1),a()),t&2){let e=f();s(),M(e.stateLob==null?null:e.stateLob.videoHeader)}}function vf(t,r){if(t&1&&(o(0,"div",31),u(1,"iframe",67),a()),t&2){let e=f();s(),h("title",(e.stateLob==null?null:e.stateLob.videoHeader)||"Video")("src",r,ia)}}function yf(t,r){if(t&1&&u(0,"app-rich-text",23),t&2){let e=f();h("richText",e.stateLob==null?null:e.stateLob.mainContent2)}}function _f(t,r){if(t&1&&(o(0,"details",32)(1,"summary",68),c(2,"Sources"),a(),u(3,"app-rich-text",69),a()),t&2){let e=f();s(3),h("richText",e.stateLob==null?null:e.stateLob.sources)}}function bf(t,r){if(t&1&&(o(0,"a",73),c(1),a()),t&2){let e=f(2).$implicit;s(),Z(" ",e.title," ")}}function Cf(t,r){if(t&1&&(o(0,"a",74),c(1),a()),t&2){let e=f(2).$implicit;h("routerLink",ue(2,$g,e.relativeUrlPath)),s(),M(e.title)}}function wf(t,r){if(t&1&&(o(0,"li",72),I(1,bf,2,1,"a",73)(2,Cf,2,4,"a",74),a()),t&2){let e=f().$implicit,i=f(5);s(),b(e.codename===i.stateLob.codename?1:2)}}function Sf(t,r){if(t&1&&I(0,wf,3,1,"li",72),t&2){let e=r.$implicit,i=r.$index;b(i>0&&e.title?0:-1)}}function Ef(t,r){if(t&1&&we(0,Sf,1,1,null,null,So),t&2){let e,i=r.$implicit;Se((e=i.childLinks)!==null&&e!==void 0?e:Re(0,Ac))}}function If(t,r){if(t&1&&we(0,Ef,2,1,null,null,So),t&2){let e,i=r.$implicit;Se((e=i.childLinks)!==null&&e!==void 0?e:Re(0,Ac))}}function kf(t,r){if(t&1&&(o(0,"ul",71),we(1,If,2,1,null,null,So),a()),t&2){let e=f(2);s(),Se(e.stateLob.sideNavItemLinks)}}function Af(t,r){if(t&1&&(o(0,"span",70),c(1),a(),I(2,kf,3,0,"ul",71)),t&2){let e=f();s(),Z(" More in ",e.stateLob.h1," Insurance Guide "),s(),b(e.stateLob.sideNavItemLinks.length?2:-1)}}function Tf(t,r){if(t&1&&(o(0,"details",36)(1,"summary",68),c(2,"Sources"),a(),u(3,"app-rich-text",69),a()),t&2){let e=f();s(3),h("richText",e.stateLob==null?null:e.stateLob.sources)}}var Tc=(()=>{class t{contentStateService;router;location;contentDaoPublishedService;platformId;elementRef;renderer;schemaService;sanitizer;stateLob;stateLobSchemaJson;safeVideoUrl;lastContentUrl=null;hasScrolledToAnchor=!1;constructor(e,i,n,l,d,m,p,_,g){this.contentStateService=e,this.router=i,this.location=n,this.contentDaoPublishedService=l,this.platformId=d,this.elementRef=m,this.renderer=p,this.schemaService=_,this.sanitizer=g,$e(()=>{if(this.initializeArticlePage(),!oe(this.platformId)||window.location.hash)return;let y=this.contentStateService.currentContentUrl();this.lastContentUrl===null&&(this.lastContentUrl=y||window.location.pathname),y&&this.lastContentUrl!==y&&(this.location.go(y),window.scrollTo({top:0,left:0,behavior:"auto"}),this.lastContentUrl=y)}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}scrollToElement(e){at(e)}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}initializeArticlePage(){if(this.contentStateService.currentContentItem()?.type==="state_lob_template"){this.stateLob=this.contentStateService.currentContentItem(),this.stateLob.expert=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.stateLob?.expert),this.stateLob.author=this.contentDaoPublishedService.addRelativeUrlPathToAuthorBio(this.stateLob?.author),this.stateLobSchemaJson=this.schemaService.buildStateLobSchema(this.stateLob,this.pagePath);let e=this.stateLob?.videoLink;this.safeVideoUrl=e?this.sanitizer.bypassSecurityTrustResourceUrl(e):void 0;return}this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}get pagePath(){let e=this.stateLob;if(e?.publishedUrlPath)return e.publishedUrlPath;let i=(e?.urlPath??[]).map(d=>
18d?.name).filter(Boolean),n=e?.urlPattern?`/${e.urlPattern}`:"";if(i.length)return`/${i.join("/")}${n}`;let l=wt.resolveFromCodename(e?.stateHeroAndIcon?.codename);return l.slug&&e?.urlPattern?`/l/${l.slug}/${e.urlPattern}`:"/"}get category(){let e=this.stateLob,i=e?.searchContext?.[0]?.codename??e?.searchWidget?.searchContext?.[0]?.codename??e?.ctaLink?.category;return i?String(i).toUpperCase():void 0}get lob(){let e=this.statelob?.ctaLink?.businessLines;if(Array.isArray(e)&&e.length)return String(e[0])}get naicsStr(){let e=this.statelob?.naics;return e===0||e?String(e):void 0}get faqList(){if(!this.stateLob)return[];let e=[];for(let i=1;i<=15;i++){let n=this.stateLob[`question${i}`],l=this.stateLob[`answer${i}`];n&&l&&e.push({question:n,answer:l})}return e}scrollFaqIntoView(e){let n=e.currentTarget.closest("details");n.open||setTimeout(()=>{n.scrollIntoView({behavior:"smooth",block:"nearest"})},420)}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Me),A(nt),A(de),A(We),A(Ze),A(ut),A(Ea))};static \u0275cmp=$({type:t,selectors:[["app-state-lob"]],decls:46,vars:37,consts:[["key","webpage",3,"json"],[1,"relative","w-full","overflow-hidden","mb-8","lg:mb-0",3,"ngClass"],[1,"relative","h-[300px]","w-full","bg-cover","bg-center"],[1,"absolute","inset-0","bg-gradient-to-r","from-insuredBetter-forest_green","from-[35%]","sm:from-[35%]","via-insuredBetter-forest_green/70","via-[60%]","sm:via-[45%]","to-transparent","to-[100%]","sm:to-[60%]"],[1,"relative","h-full"],[1,"mx-auto","flex","h-full","max-w-screen-md","lg:max-w-screen-xl","items-center","px-5"],[1,"text-white","text-center","sm:text-left"],[1,"lg:mb-6","leading-4"],[1,"hidden","lg:block","max-w-screen-md","lg:max-w-screen-xl","mx-auto","text-center","mb-8","px-5","xl:0","lg:-mt-8","relative"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5"],["id","author-bio",1,"mb-5","flex","lg:flex-row","flex-col","flex-wrap","lg:items-center"],["name","author-bio-link",1,"relative","cursor-pointer","mr-6","group","order-2","lg:order-1"],["name","author-bio-link",1,"relative","cursor-pointer","mr-6","group","order-last","lg:order-2"],[1,"flex","items-center","text-insuredBetter-text_gray","order-1","lg:order-last","mb-3","lg:mb-0"],[1,"block","lg:hidden"],[1,"text-2xl","font-bold","mb-3"],[1,"list-decimal","pl-6","m-0"],[1,"mb-4"],[1,"my-4"],["id","header-cta",1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","px-5","mt-16","mb-10"],[1,"flex","flex-col","lg:flex-row"],[1,"lg:max-w-screen-sm","lg:ml-auto","lg:mr-20","lg:pl-5"],[3,"richText"],[1,"bg-insuredBetter-backdrop_white","px-4","py-6","mb-8"],[1,"text-center","text-xl","font-semibold","mb-4"],["id","city-national-average",3,"richText"],["id","location-grid",3,"richText"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto"],["id","accordion-title",1,"mb-10"],[1,"element-faq","mb-16"],[1,"mx-auto","max-w-[720px]","aspect-video","overflow-hidden","rounded-xl","shadow-lg","mb-16"],[1,"sources-details","mt-12","hidden","lg:block"],[1,"lg:max-w-72","lg:min-w-72","lg:mt-0","lg:pr-5"],["id","recommendations-section"],[3,"pagePath","category","lob","naics","sourceContent","showCarrier","contentTitle"],[1,"sources-details","mt-12","block","lg:hidden"],[1,"block","font-medium","text-[37px]","sm:text-[50px]","pb-0","mb-0","leading-none","drop-shadow-[0_4px_8px_rgba(0,0,0,0.35)]"],[1,"block"],[1,"text-white","text-xl","leading-none","drop-shadow-[0_4px_8px_rgba(0,0,0,0.35)]"],[1,"flex","flex-col","gap-6","sm:flex-row","sm:flex-wrap"],[1,"group","flex","flex-1","flex-col","items-center","rounded-xl","bg-white","p-4","text-center","shadow-[0_8px_24px_rgba(0,0,0,0.10)]","ring-1","ring-black/5","transition","hover:-translate-y-0.5","hover:shadow-[0_12px_30px_rgba(0,0,0,0.14)]","sm:min-w-[calc(50%-12px)]","lg:min-w-[calc(25%-18px)]"],[1,"mb-5","flex","h-14","w-14","items-center","justify-center"],["alt","",3,"src"],[1,"font-semibold","my-0","text-insuredBetter-forest_green","hover:text-insuredBetter-primary_text"],[3,"href"],[1,"flex","items-center","mb-3","lg:mb-0","flex-nowrap"],[1,"max-w-9","max-h-9","rounded-full","object-cover","overflow-hidden","mr-2","shadow-lg",3,"src"],[1,"text-insuredBetter-text_gray"],[1,"inline-block","relative"],["data-id","author-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"tooltip-container","leading-5","z-20","min-w-80","absolute","top-10","left-0","rounded","bg-white","p-3.5","text-sm","text-insuredBetter-text_gray","shadow-[0_3px_10px_rgb(0,0,0,0.2)]","hidden","group-hover:block"],[1,"flex"],[1,"object-cover","overflow-hidden","w-14","h-14","rounded-full",3,"src"],[1,"ml-3","flex","flex-col"],[1,"text-2xl","text-insuredBetter-forest_green","underline","hover:no-underline"],[1,"my-3"],[1,"text-insuredBetter-text_gray","flex","items-center"],["id","Layer_
181","xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16.05 16.05",1,"mr-1","position-relative",2,"top","2px"],["d","m1.1,12.02C-.33,9.55-.33,6.5,1.1,4.03S5.17.03,8.03.03s5.5,1.52,6.93,4,1.43,5.52,0,8-4.07,4-6.93,4-5.5-1.52-6.93-4Zm1.3-7.25c-1.16,2.01-1.16,4.49,0,6.5,1.16,2.01,3.31,3.25,5.63,3.25s4.47-1.24,5.63-3.25c1.16-2.01,1.16-4.49,0-6.5-1.16-2.01-3.31-3.25-5.63-3.25s-4.47,1.24-5.63,3.25Zm5.16,5.78l-.53.53-.53-.53-2-2-.53-.53,1.06-1.06.53.53,1.47,1.47,3.47-3.47.53-.53,1.06,1.06-.53.53-4,4Z",1,"expert-review-check"],["data-id","expert-tooltip",1,"text-insuredBetter-forest_green","underline","hover:no-underline","cursor-pointer","py-3"],[1,"text-insuredBetter-forest_green","hover:underline","hover:text-insuredBetter-forest_green","focus-visible:underline",3,"href"],[3,"searchWidget","ctaLinkOverride"],["name","faq",3,"open"],[1,"flex","items-center",3,"click"],[3,"innerHTML"],["role","definition",1,"faq-content"],["frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","allowfullscreen","",1,"h-full","w-full",3,"title","src"],[1,"mb-2.5","font-semibold"],[1,"article-styling",3,"richText"],[1,"font-medium","text-black","leading-5","text-lg"],[1,"pl-0","list-none","mt-2","lg:mt-5"],[1,"lg:first-of-type:border-t","lg:border-b","py-2","lg:py-4","mb-0","list-none"],[1,"font-bold","pointer-events-none","cursor-default","text-insuredBetter-forest_green"],[3,"routerLink"]],template:function(i,n){if(i&1&&(u(0,"app-header"),I(1,Yg,1,1,"app-json-ld",0),o(2,"section",1)(3,"div",2),I(4,Kg,1,0,"div",3),o(5,"div",4)(6,"div",5)(7,"div",6),I(8,Xg,5,3,"div",7),a()()()()(),I(9,of,7,4,"section",8),o(10,"section",9)(11,"div",10),I(12,af,22,13,"div",11)(13,sf,32,13,"div",12)(14,lf,3,4,"div",13),a(),o(15,"div",14)(16,"h2",15),c(17,"Table of Contents"),a(),o(18,"ol",16),I(19,cf,3,2,"li",17)(20,df,3,2,"li",18)(21,mf,3,2,"li",18)(22,uf,3,2,"li",18),a()()(),I(23,pf,2,2,"section",19),o(24,"main",20)(25,"div",21)(26,"section",22),u(27,"app-rich-text",23),o(28,"div",24)(29,"h2",25),c(30),a(),u(31,"app-rich-text",26),a(),u(32,"app-rich-text",27),o(33,"div",28),I(34,hf,2,1,"h2",29)(35,ff,3,0,"div",30),a(),I(36,xf,2,1,"h2")(37,vf,2,2,"div",31)(38,yf,1,1,"app-rich-text",23)(39,_f,4,1,"details",32),a(),o(40,"aside",33),I(41,Af,3,2),o(42,"section",34),u(43,"app-recommendations",35),a(),I(44,Tf,4,1,"details",36),a()()(),u(45,"app-footer")),i&2){let l,d,m,p,_,g;s(),b(n.stateLob?1:-1),s(),h("ngClass",De(34,Zg,n.stateLob==null||n.stateLob.jumplink1Link==null?null:n.stateLob.jumplink1Link.trim(),!(!(n.stateLob==null||n.stateLob.jumplink1Link==null)&&n.stateLob.jumplink1Link.trim()))),s(),_t("background-image","url("+((n.stateLob==null||n.stateLob.heroImage==null?null:n.stateLob.heroImage.url)||(n.stateLob==null||n.stateLob.stateHeroAndIcon==null||n.stateLob.stateHeroAndIcon.headerImage==null?null:n.stateLob.stateHeroAndIcon.headerImage.url))+")"),s(),b(!(!(n.stateLob==null||n.stateLob.heroImage==null)&&n.stateLob.heroImage.url)&&(!(n.stateLob==null||n.stateLob.stateHeroAndIcon==null||n.stateLob.stateHeroAndIcon.headerImage==null)&&n.stateLob.stateHeroAndIcon.headerImage.url)?4:-1),s(4),b((l=n.stateLob==null?null:n.stateLob.h1)?8:-1,l),s(),b(n.stateLob!=null&&n.stateLob.jumplink1Link?9:-1),s(3),b((d=n.stateLob==null?null:n.stateLob.author)?12:-1,d),s(),b((m=n.stateLob==null?null:n.stateLob.expert)?13:-1,m),s(),b((p=n.stateLob==null?null:n.stateLob.date)?14:-1,p),s(5),b(n.stateLob!=null&&n.stateLob.jumplink1Link?19:-1),s(),b(n.stateLob!=null&&n.stateLob.jumplink2Link?20:-1),s(),b(n.stateLob!=null&&n.stateLob.jumplink3Link?21:-1),s(),b(n.stateLob!=null&&n.stateLob.jumplink4Link?22:-1),s(),b(n.stateLob!=null&&n.stateLob.searchWidget?23:-1),s(4),h("richText",n.stateLob==null?null:n.stateLob.mainContent1),s(3),M(n.stateLob==null?null:n.stateLob.cityVersusNationalAverageTitle),s(),h("richText",n.stateLob==null?null:n.stateLob.cityVersusNationalAverageContent),s(),h("richText",n.stateLob==null?null:n.stateLob.locationGrid),s(2),b(n.stateLob!=null&&n.stateLob.toggleQASectionTitle?34:-1),s(),b(n.stateLob!=null&&n.stateLob.question1?35:-1),s(),b((_=n.stateLob==null?null:n.stateLob.videoHeader)?36:-1,_),s(),b((g=(n.stateLob==null?null:n.stateLob.videoLink)&&n.safeVideoUrl)?37:-1,g),s(),b(n.stateLob!=null&&n.stateLob.mainContent2?38:-1),s(),b((n.stateLob==null||n.stateLob.sources==null?null:n.stateLob.sources.value.trim())!="<p><br></p>"?39:-1),s(2),b(n.stateLob&&n.stateLob.sideNavItemLinks&&n.stateLob.sideNavItemLinks.length>
180?41:-1),s(2),h("pagePath",n.pagePath)("category",n.category)("lob",n.lob)("naics",n.naicsStr)("sourceContent","CONTENT_PAGE_AD")("showCarrier",!0)("contentTitle",n.stateLob==null?null:n.stateLob.h1),s(),b((n.stateLob==null||n.stateLob.sources==null?null:n.stateLob.sources.value.trim())!="<p><br></p>"?44:-1)}},dependencies:[li,Ve,ze,Ee,Pe,ke,Gt,je,di,mt],styles:[`#header-cta .element-search-widget{padding-bottom:4rem}#header-cta .element-search-widget>div{border-width:0px}#header-cta .element-search-widget>div{padding-top:0}.element-faq details summary span>span{font-weight:700;--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}main table{width:100%}main table{border-collapse:collapse}main thead th,main tr:first-of-type td{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}main thead th,main tr:first-of-type td{padding-left:1rem;padding-right:1rem}main thead th,main tr:first-of-type td{padding-top:.75rem;padding-bottom:.75rem}main thead th,main tr:first-of-type td{text-align:left}main thead th,main tr:first-of-type td{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}main td{border-width:1px}main td{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}main td{padding-left:1rem;padding-right:1rem}main td{padding-top:.75rem;padding-bottom:.75rem}main ul,main ol{margin-top:1.25rem}main ul,main ol{padding-inline-start:2.5rem}:is(main ul,main ol) li{margin-bottom:1.25rem}:is(main ul,main ol) li{--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}:is(main ul,main ol) li::marker{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}main ul li{list-style-type:disc}main ol li{list-style-type:decimal}main #city-national-average .element-3-column{margin-bottom:0}main #city-national-average .element-3-column .sm\\:w-1\\/3.mb-6.md\\:mb-0.md\\:pr-3\\.5:not(:last-child){border-bottom-width:2px}main #city-national-average .element-3-column .sm\\:w-1\\/3.mb-6.md\\:mb-0.md\\:pr-3\\.5:not(:last-child){border-right-width:0px}main #city-national-average .element-3-column .sm\\:w-1\\/3.mb-6.md\\:mb-0.md\\:pr-3\\.5:not(:last-child){border-color:#c0cdcc59}main #city-national-average .element-3-column .sm\\:w-1\\/3.mb-6.md\\:mb-0.md\\:pr-3\\.5:not(:last-child){padding-bottom:1.25rem}@media (min-width: 640px){main #city-national-average .element-3-column .sm\\:w-1\\/3.mb-6.md\\:mb-0.md\\:pr-3\\.5:not(:last-child){border-bottom-width:0px}}@media (min-width: 640px){main #city-national-average .element-3-column .sm\\:w-1\\/3.mb-6.md\\:mb-0.md\\:pr-3\\.5:not(:last-child){border-right-width:2px}}main #city-national-average .element-center figure{margin-top:0}main #city-national-average .element-center figure img{max-height:6rem}main #city-national-average .element-center figure img{max-width:6rem}main #city-national-average .element-center p{margin-bottom:0}main #city-national-average .element-center p strong{display:block}main #city-national-average .element-center p strong{font-size:2.25rem;line-height:2.5rem}main #city-national-average .element-center p strong{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}main #location-grid table{margin-bottom:4rem}main #location-grid table{display:block}main #location-grid table{max-width:100%}main #location-grid table{border-collapse:separate}main #location-grid table{--tw-border-spacing-x: 0px;--tw-border-spacing-y: 0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}main #location-grid table{overflow-x:auto}main #location-grid table{overflow-y:hidden}main #location-grid table{border-width:0px}main #location-grid table{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}main #location-grid table{text-align:left}main #location-grid table{font-size:.875rem;line-height:1.25rem}main #location-grid table{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
18--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 1024px){main #location-grid table{display:table}}@media (min-width: 1024px){main #location-grid table{overflow-x:hidden}}main #location-grid table{-webkit-overflow-scrolling:touch}main #location-grid thead,main #location-grid tbody,main #location-grid tr:first-of-type{width:100%}main #location-grid tr{display:table-row}main #location-grid th,main #location-grid td{display:table-cell}main #location-grid th,main #location-grid td{width:100%}@media (min-width: 1024px){main #location-grid th,main #location-grid td{width:auto}}main #location-grid tr:first-of-type{white-space:nowrap}@media (min-width: 1024px){main #location-grid tr:first-of-type{white-space:normal}}main #location-grid thead{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}main #location-grid thead{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}main #location-grid th{padding-left:1rem;padding-right:1rem}main #location-grid th{padding-top:.75rem;padding-bottom:.75rem}main #location-grid th{font-weight:600}main #location-grid td{border-bottom-width:1px}main #location-grid td{padding-left:1rem;padding-right:1rem}main #location-grid td{padding-top:.75rem;padding-bottom:.75rem}main #location-grid td{text-align:center}main #location-grid th:first-child,main #location-grid td:first-child{position:sticky}main #location-grid th:first-child,main #location-grid td:first-child{left:0}main #location-grid th:first-child,main #location-grid td:first-child{z-index:10}main #location-grid th:first-child,main #location-grid td:first-child{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}main #location-grid th:first-child,main #location-grid td:first-child{text-align:left}main #location-grid thead th:first-child,main #location-grid tr:first-child td{z-index:20}main #location-grid thead th:first-child,main #location-grid tr:first-child td{--tw-bg-opacity: 1;background-color:rgb(22 76 23 / var(--tw-bg-opacity))}main #location-grid thead th:first-child,main #location-grid tr:first-child td{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}main #location-grid tbody tr:not(:first-child):hover td{--tw-bg-opacity: 1;background-color:rgb(181 215 146 / var(--tw-bg-opacity))}aside h4{margin-bottom:1rem}aside h4{font-size:1.125rem;line-height:1.75rem}aside h4{font-weight:500}aside h4{line-height:1.25rem}aside h4{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}aside ul{margin-bottom:3rem}aside ul li{margin-bottom:.875rem}aside ul li{line-height:1.25rem}aside ul li{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}aside ul li:hover:hover{--tw-text-opacity: 1;color:rgb(22 76 23 / var(--tw-text-opacity))}aside ul li:hover{text-decoration-line:underline}.sources-details{--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}.sources-details p{margin-bottom:.25rem}.sources-details p{font-size:.875rem;line-height:1.25rem}.sources-details>summary{list-style-type:none}.sources-details>summary:after{content:var(--tw-content);position:relative}.sources-details>summary:after{content:var(--tw-content);top:-.125rem}.sources-details>summary:after{content:var(--tw-content);margin-left:.5rem}.sources-details>summary:after{--tw-content: url(/assets/down-caret.svg);content:var(--tw-content)}.sources-details>summary::-webkit-details-marker{display:none}.sources-details[open] summary:after{--tw-content: url(/assets/up-caret.svg);content:var(--tw-content)} 19`],encapsulation:2})}return t})();function Bf(t,r){if(t&1&&u(0,"app-json-ld",0),t&2){let e=f();h("json",e.stateMainInsuranceGuideSchemaJson)}}function Lf(t,r){if(t&1&&u(0,"img",2),t&2){let e=r;h("src",e==null?null:e.url,k),ve("alt",(e==null?null:e.description)||"hero image")("width",e!=null&&e.width&&(e==null?null:e.width)!==0?e==null?null:e.width:null)("height",e!=null&&e.height&&(e==null?null:e.height)!==0?e==null?null:e.height:null)}}function Ff(t,r){if(t&1&&u(0,"img",2),t&2){let e=r;h("src",e==null?null:e.url,k),ve("alt",(e==null?null:e.description)||"hero image")("width",e!=null&&e.width&&(e==null?null:e.width)!==0?e==null?null:e.width:null)("height",e!=null&&e.height&&(e==null?null:e.height)!==0?e==null?null:e.height:null)}}var Bc=(()=>{class t{contentStateService;router;location;contentDaoPublishedService;platformId;elementRef;renderer;schemaService;stateMainInsuranceGuide;
19stateMainInsuranceGuideSchemaJson;lastContentUrl=null;hasScrolledToAnchor=!1;constructor(e,i,n,l,d,m,p,_){this.contentStateService=e,this.router=i,this.location=n,this.contentDaoPublishedService=l,this.platformId=d,this.elementRef=m,this.renderer=p,this.schemaService=_,$e(()=>{if(this.initializeArticlePage(),!oe(this.platformId)||window.location.hash)return;let g=this.contentStateService.currentContentUrl();this.lastContentUrl===null&&(this.lastContentUrl=g||window.location.pathname),g&&this.lastContentUrl!==g&&(this.location.go(g),window.scrollTo({top:0,left:0,behavior:"auto"}),this.lastContentUrl=g)}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}scrollToElement(e){at(e)}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}initializeArticlePage(){this.contentStateService.currentContentItem()?.type==="state_main_insurance_guide_template"&&(this.stateMainInsuranceGuide=this.contentStateService.currentContentItem(),this.stateMainInsuranceGuideSchemaJson=this.schemaService.buildStateMainInsuranceGuideSchema(this.stateMainInsuranceGuide,this.pagePath)),this.contentStateService.currentContentItem()?.type!=="state_main_insurance_guide_template"&&this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}get pagePath(){return Di(this.stateMainInsuranceGuide,{currentContentUrl:this.contentStateService.currentContentUrl(),routerUrl:this.router.url})}get category(){let e=this.stateMainInsuranceGuide,i=e?.searchContext?.[0]?.codename??e?.searchWidget?.searchContext?.[0]?.codename??e?.ctaLink?.category;return i?String(i).toUpperCase():void 0}get lob(){let e=this.stateMainInsuranceGuide?.ctaLink?.businessLines;if(Array.isArray(e)&&e.length)return String(e[0])}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Me),A(nt),A(de),A(We),A(Ze),A(ut))};static \u0275cmp=$({type:t,selectors:[["app-state-main-insurance-guide"]],decls:20,vars:8,consts:[["key","webpage",3,"json"],[1,"relative","h-[280px]","w-full","overflow-hidden","sm:h-[320px]"],["loading","lazy","decoding","async",1,"absolute","inset-0","-z-20","h-full","w-full","object-cover",3,"src"],[1,"absolute","inset-0","-z-10","bg-black/10"],[1,"relative","mx-auto","flex","h-full","max-w-6xl","items-center","justify-center","sm:px-6","lg:px-8"],[1,"h-full","sm:h-auto","max-w-[515px]","bg-insuredBetter-forest_green/80","px-5","py-8","text-center","text-white","shadow-lg","rounded","flex","flex-col","justify-center"],[1,"text-3xl","leading-tight","sm:text-4xl"],[1,"mx-auto","max-w-xl","text-base","leading-relaxed","text-white/90","sm:text-xl","mb-0"],[1,"max-w-4xl","mx-auto","px-5","bg-white","lg:shadow-lg","text-center","py-8","lg:-mt-4","lg:rounded","mb-8"],["id","main-content",3,"richText"],[3,"richText"],[1,"relative","h-[260px]","w-full","overflow-hidden","sm:h-[320px]","mb-16"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","mb-16","px-5"],["id","states-list",3,"richText"]],template:function(i,n){if(i&1&&(u(0,"app-header"),I(1,Bf,1,1,"app-json-ld",0),o(2,"section",1),I(3,Lf,1,4,"img",2),u(4,"div",3),o(5,"div",4)(6,"div",5)(7,"h1",6),c(8),a(),o(9,"p",7),c(10),a()()()(),o(11,"main")(12,"section",8),u(13,"app-rich-text",9),a(),u(14,"app-rich-text",10),o(15,"section",11),I(16,Ff,1,4,"img",2),a(),o(17,"div",12),u(18,"app-rich-text",13),a()(),u(19,"app-footer")),i&2){let l,d;s(),b(n.stateMainInsuranceGuide?1:-1),s(2),b((l=n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.heroImage)?3:-1,l),s(5),Z(" ",n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.h1," "),s(2),M(n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.subtitle),s(3),h("richText",n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.mainContent),s(),h("richText",n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.independentAgentsMarketing),s(2),b((d=n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.midPageHeroImage)?16:-1,d),s(2),h("richText",n.stateMainInsuranceGuide==null?null:n.stateMainInsuranceGuide.statesList)}},dependencies:[Ve,ze,Ee,Pe,mt],styles:[`h1,h2{position:relative;text-align:center}:is(h1,h2):after{content:""}:is(h1,h2):after{margin-left:auto;margin-right:auto}:is(h1,h2):after{margin-top:1rem}:is(h1,h2):after{display:block}:is(h1,h2):after{height:2px}:is(h1,h2):after{width:4rem}:is(h1,h2):after{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}#main-content p{margin-left:auto;margin-right:auto}#main-content p{max-width:42rem}#states-list h2{margin-bottom:2rem}#states-list h2:after{--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}#states-list .element-3-column{flex-direction:column}#states-list .element-3-column{text-align:center}@media (min-width: 768px){#states-list .element-3-column{flex-direction:row}}@media (min-width: 768px){#states-list .element-3-column{text-align:left}}#states-list .element-3-column li{padding-bottom:.5rem}#states-list .element-3-column .sm\\:w-1\\/3{margin-bottom:0}#states-list .element-3-column .sm\\:w-1\\/3{width:100%}@media (min-width: 768px){#states-list .element-3-column .sm\\:w-1\\/3{width:33.333333%}}#states-list .element-3-column .sm\\:w-1\\/3>div{padding-top:0;padding-bottom:0} 20`],encapsulation:2})}return t})();function Df(t,r){if(t&1&&(o(0,"h1",7),c(1),a(),u(2,"div",8)),t&2){let e=f(3);s(),M(e.aboutUsGeneric.h1)}}function Mf(t,r){if(t&1&&(o(0,"p",6),c(1),a()),t&2){let e=f(3);s(),M(e.aboutUsGeneric.subtitle)}}function Pf(t,r){if(t&1&&(o(0,"section",0),u(1,"img",3),o(2,"div",4)(3,"div",5),I(4,Df,3,1)(5,Mf,2,1,"p",6),a()()()),t&2){let e=f(2);s(),K("src",e.aboutUsGeneric.heroImage==null?null:e.aboutUsGeneric.heroImage.url,k),K("alt",e.aboutUsGeneric.heroImage==null?null:e.aboutUsGeneric.heroImage.description),s(3),b(e.aboutUsGeneric.h1?4:-1),s(),b(e.aboutUsGeneric.subtitle?5:-1)}}function zf(t,r){if(t&1&&(o(0,"section",1),u(1,"app-rich-text",9),a()),t&2){let e=f(2);s(),h("richText",e.aboutUsGeneric.mainContent)}}function Of(t,r){if(t&1&&(o(0,"section",0),u(1,"img",3),a()),t&2){let e=f(2);s(),K("src",e.aboutUsGeneric.mainContent2hero==null?null:e.aboutUsGeneric.mainContent2hero.url,k),K("alt",e.aboutUsGeneric.mainContent2hero==null?null:e.aboutUsGeneric.mainContent2hero.description)}}function Nf(t,r){if(t&1&&(o(0,"section",1),u(1,"app-rich-text",9),a()),t&2){let e=f(2);s(),h("richText",e.aboutUsGeneric.mainContent2)}}function Rf(t,r){if(t&1&&u(0,"h2",10),t&2){let e=f(3);h("innerHTML",e.aboutUsGeneric.accordionTitle,jt)}}function Uf(t,r){if(t&1){let e=ie();
20o(0,"details",13)(1,"summary",14),P("click",function(n){N(e);let l=f(4);return R(l.scrollFaqIntoView(n))}),u(2,"span",15)(3,"span"),a()(),o(4,"div",16)(5,"div"),u(6,"app-rich-text",17),a()()}if(t&2){let e=r.$implicit,i=r.$index;h("open",i===0),s(2),h("innerHTML",e.question,jt),s(4),h("richText",e.answer)}}function jf(t,r){if(t&1&&(o(0,"div",11)(1,"div",12),we(2,Uf,7,3,null,null,Si),a()()),t&2){let e=f(3);s(2),Se(e.faqList)}}function Vf(t,r){if(t&1&&(o(0,"section",2)(1,"div"),I(2,Rf,1,1,"h2",10)(3,jf,4,0,"div",11),a()()),t&2){let e=f(2);s(2),b(e.hasAccordionTitle?2:-1),s(),b(e.aboutUsGeneric.question1?3:-1)}}function Hf(t,r){if(t&1&&I(0,Pf,6,4,"section",0)(1,zf,2,1,"section",1)(2,Of,2,2,"section",0)(3,Nf,2,1,"section",1)(4,Vf,4,2,"section",2),t&2){let e=f();b(e.aboutUsGeneric.heroImage!=null&&e.aboutUsGeneric.heroImage.url?0:-1),s(),b((e.aboutUsGeneric.mainContent==null?null:e.aboutUsGeneric.mainContent.value.trim())!="<p><br></p>"?1:-1),s(),b(e.aboutUsGeneric.mainContent2hero!=null&&e.aboutUsGeneric.mainContent2hero.url?2:-1),s(),b((e.aboutUsGeneric.mainContent2==null?null:e.aboutUsGeneric.mainContent2.value.trim())!="<p><br></p>"?3:-1),s(),b(e.hasAccordionTitle||e.aboutUsGeneric.question1?4:-1)}}var Lc=(()=>{class t{contentStateService;router;meta;aboutUsGeneric;constructor(e,i,n){this.contentStateService=e,this.router=i,this.meta=n}ngOnInit(){if(this.contentStateService.currentContentItem()?.type==="about_us_generic"){this.aboutUsGeneric=this.contentStateService.currentContentItem();let e=new Set(this.aboutUsGeneric.metaRobotsDirective?.map(i=>i.codename).filter(Boolean)??[]);if(e.size>0){let i=e.has("noindex")?"noindex":"index",n=e.has("nofollow")?"nofollow":"follow";this.meta.updateTag({name:"robots",content:`${i}, ${n}`})}}else this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}get hasAccordionTitle(){let e=this.aboutUsGeneric?.accordionTitle;return e?.trim()?e.replace(/<[^>]*>/g,"").trim().length>0:!1}get faqList(){if(!this.aboutUsGeneric)return[];let e=[];for(let i=1;i<=8;i++){let n=this.aboutUsGeneric[`question${i}`],l=this.aboutUsGeneric[`answer${i}`];n&&l&&e.push({question:n,answer:l})}return e}scrollFaqIntoView(e){let n=e.currentTarget.closest("details");n.open||setTimeout(()=>{n.scrollIntoView({behavior:"smooth",block:"nearest"})},420)}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Wt))};static \u0275cmp=$({type:t,selectors:[["app-about-us-generic"]],decls:3,vars:1,consts:[[1,"relative","w-full","overflow-hidden","h-[350px]"],[1,"max-w-[720px]","mx-auto","p-6","sm:shadow-xl","rounded-md","bg-white","relative","sm:-mt-12","mb-16"],[1,"max-w-[720px]","mx-auto","px-3","max-w-"],[1,"w-full","h-full","object-cover","object-center",3,"src","alt"],[1,"absolute","inset-0","flex","items-center","justify-center"],[1,"bg-insuredBetter-forest_green/85","max-w-[460px]","text-white","p-6","rounded-md","shadow-lg","text-center"],[1,"text-2xl","leading-snug","text-white","mb-0"],[1,"text-3xl","leading-tight","mb-2"],[1,"w-20","h-[2px]","bg-white","mb-2","mx-auto"],[1,"about-us-styling",3,"richText"],[1,"mb-10","px-3",3,"innerHTML"],[1,"element-faq"],[1,"element-faq","mb-16"],["name","faq",3,"open"],[1,"flex","items-center",3,"click"],[3,"innerHTML"],["role","definition",1,"faq-content"],[3,"richText"]],template:function(i,n){i&1&&(u(0,"app-header"),I(1,Hf,5,5),u(2,"app-footer")),i&2&&(s(),b(n.aboutUsGeneric?1:-1))},dependencies:[Ve,ze,Ee],styles:[`.about-us-styling h2{font-size:1.5rem;line-height:2rem}.about-us-styling h4{font-weight:600} 21`],encapsulation:2})}return t})();var Gf=()=>["/"];function qf(t,r){if(t&1&&(o(0,"div",6),u(1,"app-rich-text",8),a()),t&2){let e=f();s(),h("richText",e.leadCaptureLandingPage==null?null:e.leadCaptureLandingPage.navPhone)}}function Wf(t,r){if(t&1&&(o(0,"main",7),u(1,"app-rich-text",8),a()),t&2){let e=f();s(),h("richText",e.leadCaptureLandingPage.mainContent)}}var Fc=(()=>{class t{contentStateService;router;meta;leadCaptureLandingPage;constructor(e,i,n){this.contentStateService=e,this.router=i,this.meta=n}ngOnInit(){if(this.contentStateService.currentContentItem()?.type==="lead_capture_landing_page"){this.leadCaptureLandingPage=this.contentStateService.currentContentItem();let e=new Set(this.leadCaptureLandingPage.metaRobotsDirective?.map(i=>
21i.codename).filter(Boolean)??[]);if(e.size>0){let i=e.has("noindex")?"noindex":"index",n=e.has("nofollow")?"nofollow":"follow";this.meta.updateTag({name:"robots",content:`${i}, ${n}`})}}else this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Wt))};static \u0275cmp=$({type:t,selectors:[["app-lead-capture-landing-page"]],decls:9,vars:4,consts:[[1,"lead-capture-page"],[1,"bg-insuredBetter-backdrop_white","shadow","sticky","top-0","z-50"],[1,"flex","items-center","justify-between","max-w-screen-xl","mx-auto","px-5","sm:px-16","py-4"],[3,"routerLink"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/ebed03b1-6ad1-4f40-a8f9-736f451347b3/insured-better-logo.png","alt","InsuredBetter logo","width","200","height","44",1,"max-xs:hidden","block","max-w-36","sm:max-w-[199px]"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/dcd5b0e6-51c7-4c62-8a48-8bbe54a75887/insured-better-logo-stacked.png","alt","InsuredBetter logo","width","120","height","78",1,"max-xs:block","hidden","max-w-[92px]"],[1,"lead-capture-nav-phone"],[1,"max-w-screen-md","lg:max-w-screen-xl","mx-auto","my-5","px-5"],[3,"richText"]],template:function(i,n){i&1&&(o(0,"div",0)(1,"header",1)(2,"div",2)(3,"a",3),u(4,"img",4)(5,"img",5),a(),I(6,qf,2,1,"div",6),a()(),I(7,Wf,2,1,"main",7),u(8,"app-footer"),a()),i&2&&(s(3),h("routerLink",Re(3,Gf)),s(3),b((n.leadCaptureLandingPage==null||n.leadCaptureLandingPage.navPhone==null||n.leadCaptureLandingPage.navPhone.value==null?null:n.leadCaptureLandingPage.navPhone.value.trim())!=="<p><br></p>"?6:-1),s(),b(n.leadCaptureLandingPage?7:-1))},dependencies:[Ve,Ee,je],styles:[`.lead-capture-page{display:flex;flex-direction:column;min-height:100vh}.lead-capture-page main{flex:1}footer>div.relative,footer>div#full-footer{display:none} 22`],encapsulation:2})}return t})();function Zf(t,r){if(t&1&&(o(0,"p",2),c(1),a()),t&2){let e=f(2);s(),Z(" ",e.landingPage.sectionTitle," ")}}function $f(t,r){if(t&1&&(o(0,"h1",3),c(1),a()),t&2){let e=f(2);s(),M(e.landingPage.title)}}function Yf(t,r){if(t&1&&(o(0,"p",4),c(1),a()),t&2){let e=f(2);s(),M(e.landingPage.subtitle)}}function Kf(t,r){if(t&1&&(o(0,"div",6),u(1,"app-rich-text",8),a()),t&2){let e=f(2);s(),h("richText",e.landingPage.body)}}function Jf(t,r){if(t&1&&(o(0,"div",7)(1,"a",9),c(2),a()()),t&2){let e=f(2);s(),h("href",e.landingPage.callToActionInfo.externalLink,k),s(),Z(" ",e.landingPage.callToActionInfo.buttonText," ")}}function Qf(t,r){if(t&1&&(o(0,"header",0)(1,"div",1),I(2,Zf,2,1,"p",2)(3,$f,2,1,"h1",3)(4,Yf,2,1,"p",4),a()(),o(5,"main",5),I(6,Kf,2,1,"div",6)(7,Jf,3,2,"div",7),a()),t&2){let e=f();s(2),b(e.landingPage.sectionTitle?2:-1),s(),b(e.landingPage.title?3:-1),s(),b(e.landingPage.subtitle?4:-1),s(2),b(e.landingPage.body?6:-1),s(),b(e.landingPage.callToActionInfo?7:-1)}}var Dc=(()=>{class t{contentStateService;router;landingPage;constructor(e,i){this.contentStateService=e,this.router=i}ngOnInit(){this.contentStateService.currentContentItem()?.type==="landing_page"?this.landingPage=this.contentStateService.currentContentItem():this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}static \u0275fac=function(i){return new(i||t)(A(ye),A(le))};static \u0275cmp=$({type:t,selectors:[["app-landing-page"]],decls:3,vars:1,consts:[[1,"text-center","bg-insuredBetter-forest_green"],[1,"max-w-screen-xl","mx-auto","xl:px-0","lg:px-4","sm:px-16","px-4","py-10"],[1,"landing-page__section-title","text-sm","font-semibold","uppercase","tracking-widest","mb-2","text-white"],[1,"landing-page__title","text-4xl","font-bold","text-white","mb-0"],[1,"landing-page__subtitle","text-xl","text-white"],[1,"landing-page","max-w-screen-xl","mx-auto","xl:px-0","lg:px-4","sm:px-16","px-4","py-10"],[1,"landing-page__body","prose","max-w-none","mb-10"],[1,"landing-page__cta","mt-10"],[3,"richText"],[1,"inline-block","bg-blue-600","text-white","font-semibold","px-8","py-3","rounded-lg","hover:bg-blue-700","transition-colors",3,"href"]],template:function(i,n){i&1&&(u(0,"app-header"),I(1,Qf,8,5),u(2,"app-footer")),i&2&&(s(),b(n.landingPage?1:-1))},dependencies:[Ve,Ee,ze],encapsulation:2})}return t})();var Mc=(()=>{class t{contentStateService;router;location;platformId;elementRef;renderer;meta;templateCustomCode;lastContentUrl=null;hasScrolledToAnchor=!1;constructor(e,i,n,l,d,m,p){this.contentStateService=e,this.router=i,this.location=n,this.platformId=l,this.elementRef=d,this.renderer=m,this.meta=p,$e(()=>{if(this.initializePage(),!oe(this.platformId)||window.location.hash)return;let _=this.contentStateService.currentContentUrl();this.lastContentUrl===null&&(this.lastContentUrl=_||window.location.pathname),_&&this.lastContentUrl!==_&&(this.location.go(_),window.scrollTo({top:0,left:0,behavior:"auto"}),this.lastContentUrl=_)}),dt(()=>{this.updateHrefToIncludeFullPathForAnchorLinks(),!this.hasScrolledToAnchor&&window.location.hash&&(this.hasScrolledToAnchor=!0,this.scrollToElement(window.location.hash.slice(1)))})}scrollToElement(e){at(e)}updateHrefToIncludeFullPathForAnchorLinks(){this.elementRef.nativeElement.querySelectorAll('a[href^="#"]').forEach(i=>
22{let n=i.getAttribute("href");n&&n.startsWith("#")&&(this.renderer.removeAttribute(i,"href"),this.renderer.setAttribute(i,"href",window.location.pathname+n))})}initializePage(){if(this.contentStateService.currentContentItem()?.type==="template___custom_code"){this.templateCustomCode=this.contentStateService.currentContentItem();let e=new Set(this.templateCustomCode.metaRobotsDirective?.map(i=>i.codename).filter(Boolean)??[]);if(e.size>0){let i=e.has("noindex")?"noindex":"index",n=e.has("nofollow")?"nofollow":"follow";this.meta.updateTag({name:"robots",content:`${i}, ${n}`})}}this.contentStateService.currentContentItem()?.type!=="template___custom_code"&&this.router.navigateByUrl("not-found",{skipLocationChange:!0}).finally()}static \u0275fac=function(i){return new(i||t)(A(ye),A(le),A(Me),A(de),A(We),A(Ze),A(Wt))};static \u0275cmp=$({type:t,selectors:[["app-template-custom-code"]],decls:4,vars:1,consts:[["id","main-content",3,"richText"]],template:function(i,n){i&1&&(u(0,"app-header"),o(1,"main"),u(2,"app-rich-text",0),a(),u(3,"app-footer")),i&2&&(s(2),h("richText",n.templateCustomCode==null?null:n.templateCustomCode.mainContent))},dependencies:[Ve,ze,Ee,Pe],styles:[`footer>div:first-of-type{display:none} 23`],encapsulation:2})}return t})();var Xf=["jornayaIdInput"],yi=t=>({invalid:t}),e1=t=>({selected:t}),t1=(t,r)=>r.type;function i1(t,r){if(t&1&&(o(0,"h1",8),c(1),a()),t&2){let e=f();s(),M(e.pageContent==null?null:e.pageContent.h1)}}function n1(t,r){if(t&1&&(o(0,"h1",8),c(1),a()),t&2){let e=f();s(),Z(" ",e.isCallCenter?"Acuity Insurance \u2014 Call Center":"Get a Personal Insurance Quote"," ")}}function r1(t,r){if(t&1&&(o(0,"p",9),c(1),a()),t&2){let e=f();s(),M(e.pageContent==null?null:e.pageContent.headerSubtitle)}}function o1(t,r){if(t&1){let e=ie();o(0,"button",50),P("click",function(){let n=N(e).$implicit,l=f();return R(l.toggleLob(n.type))}),o(1,"div",51),u(2,"img",52),a(),o(3,"span",53),c(4),a()()}if(t&2){let e=r.$implicit,i=f();h("ngClass",ue(4,e1,i.isLobSelected(e.type))),s(2),h("src",e.iconUrl,k)("alt",e.label+" icon"),s(2),M(e.label)}}function a1(t,r){t&1&&(o(0,"div",15),c(1,"Please select at least one type of insurance."),a())}function s1(t,r){t&1&&(o(0,"div",21),c(1,"First name is required."),a())}function l1(t,r){t&1&&(o(0,"div",21),c(1,"Last name is required."),a())}function c1(t,r){t&1&&(o(0,"div",21),c(1,"Please provide a valid phone number."),a())}function d1(t,r){t&1&&(o(0,"div",21),c(1,"Please provide a valid email address."),a())}function m1(t,r){t&1&&(o(0,"div",21),c(1,"Street address is required."),a())}function u1(t,r){t&1&&(o(0,"div",21),c(1,"Please enter a valid 5-digit zip code."),a())}function p1(t,r){t&1&&(o(0,"div",21),c(1,"Please enter a valid date of birth."),a())}function h1(t,r){if(t&1){let e=ie();o(0,"div",33)(1,"label",54),c(2,"Date of birth "),o(3,"span",38),c(4,"(optional)"),a()(),o(5,"input",55),P("focus",function(){N(e);let n=f();return R(n.isDateOfBirthInvalid=!1)}),a(),I(6,p1,2,0,"div",21),a()}if(t&2){let e=f();s(5),h("min",e.dateOfBirthMin)("max",e.dateOfBirthMax)("ngClass",ue(4,yi,e.isDateOfBirthInvalid)),s(),b(e.isDateOfBirthInvalid?6:-1)}}var Eo=[{type:Ct.HOME,label:"Home",iconUrl:"assets/house-green-lt.svg"},{type:Ct.AUTOMOBILE,label:"Auto",iconUrl:"assets/car-green-lt.svg"},{type:Ct.CONDO,label:"Condo",iconUrl:"assets/condo-green-lt.svg"},{type:Ct.RENTERS,label:"Renters",iconUrl:"assets/renters-green-lt.svg"},{type:Ct.MOTORCYCLE,label:"Motorcycle",iconUrl:"assets/motorcycle-green-lt.svg"}],Pc=[{type:Ct.HOME,label:"Home",iconUrl:"assets/house-green-lt.svg"},{type:Ct.AUTOMOBILE,label:"Auto",iconUrl:"assets/car-green-lt.svg"},{type:Ct.MOTORCYCLE,label:"Motorcycle",iconUrl:"assets/motorcycle-green-lt.svg"},{type:Ct.RENTERS,label:"Renters",iconUrl:"assets/renters-green-lt.svg"}],Io=(()=>{class t{route;router;formBuilder;kontentAiDeliveryService;fulcrumService;platformId;jornayaIdInput;pageContent;formGroup;selectedLobs=new Set;backstopPartner;tcpaText="";lobOptions=Eo;isCallCenter=!1;isSubmitting=!1;isLobError=!1;isLoading=!0;isFirstNameInvalid=!1;isLastNameInvalid=!1;isStreetAddressInvalid=!1;isZipCodeInvalid=!1;isPhoneInvalid=!1;isEmailInvalid=!1;isDateOfBirthInvalid=!1;dateOfBirthMin=lc();dateOfBirthMax=sc();mutationObserver;jornayaIdLoaded=!1;jornayaIdRetrievalTimeExpired=!1;constructor(e,i,n,l,d,m){this.route=e,this.router=i,this.formBuilder=n,this.kontentAiDeliveryService=l,this.fulcrumService=d,this.platformId=m,this.formGroup=this.buildForm()}ngOnInit(){it.load();
23let e=this.route.snapshot.data.codename;this.isCallCenter=e.includes("call_center"),this.lobOptions=this.isCallCenter?Pc:Eo,this.tcpaText=this.buildTcpaText(void 0),this.isLoading=!1,this.kontentAiDeliveryService.getItemForCodename(e).then(i=>{let n=i.data.items[0];n&&(this.pageContent=Mt.mapAcuityPlForm(n,0,[]),this.isCallCenter=this.pageContent.formSelection==="call_center",this.lobOptions=this.isCallCenter?Pc:Eo)}).catch(()=>{}),oe(this.platformId)&&this.formGroup.get("zipCode").valueChanges.pipe($o(600),Yo(),st(i=>/^\d{5}$/.test(i))).subscribe(()=>this.fetchBackstopPartner())}ngAfterViewInit(){if(!oe(this.platformId))return;let e=this.jornayaIdInput?.nativeElement;e&&(this.mutationObserver=new MutationObserver(i=>{i.forEach(n=>{n.type==="attributes"&&n.attributeName==="value"&&(this.jornayaIdLoaded=!!n.target.value)})}),this.jornayaIdLoaded=!!e.value,this.mutationObserver.observe(e,{attributes:!0,attributeFilter:["value"]})),setTimeout(()=>{this.jornayaIdRetrievalTimeExpired=!0},5e3)}ngOnDestroy(){this.mutationObserver?.disconnect()}toggleLob(e){this.selectedLobs.has(e)?this.selectedLobs.delete(e):this.selectedLobs.add(e),this.isLobError=!1,this.isHomeOrAuto()||(this.formGroup.get("dateOfBirth")?.reset(""),this.isDateOfBirthInvalid=!1),this.fetchBackstopPartner()}isLobSelected(e){return this.selectedLobs.has(e)}isHomeOrAuto(){return this.selectedLobs.has(Ct.HOME)||this.selectedLobs.has(Ct.AUTOMOBILE)}submit(){if(this.isLobError=this.selectedLobs.size===0,this.formGroup.invalid||this.selectedLobs.size===0){this.displayValidationMessages();return}this.isSubmitting=!0;let e=this.formGroup.value,i=this.jornayaIdInput?.nativeElement?.value?.trim()||null,n=this.backstopPartner?.oneToOneConsentRequired&&!!i,l={source:this.isCallCenter?"Acuity-PL-Call-Ce
23nter":"Acuity-Form",linesOfBusiness:Array.from(this.selectedLobs),firstName:e.firstName?.trim(),lastName:e.lastName?.trim(),streetAddress:e.streetAddress?.trim(),zipCode:e.zipCode?.trim(),phone:"+1"+e.phone?.replace(/\D/g,""),email:e.email?.trim(),estimatedPremium:e.estimatedItemValue?Number(e.estimatedItemValue):null,dateOfBirth:this.isHomeOrAuto()&&e.dateOfBirth?e.dateOfBirth:void 0,notes:e.notes?.trim()||void 0,tcpaConsent:!0,agentiumConsentJornayaId:n?null:i,backstopConsentJornayaId:n?i:null};this.fulcrumService.postPersonalLead(l).subscribe({next:d=>{this.isSubmitting=!1,this.router.navigate(["/acuity/thank-you"],{queryParams:{firstName:e.firstName?.trim()}}).finally()},error:()=>{this.isSubmitting=!1,this.router.navigate(["/acuity/error"]).finally()}})}fetchBackstopPartner(){if(!oe(this.platformId))return;let e=this.formGroup.get("zipCode")?.value;!e||!/^\d{5}$/.test(e)||this.fulcrumService.getBackstopPartner({opportunityBusinessLineIds:[],opportunityExternalLinkIds:[],opportunityBusinessLines:Array.from(this.selectedLobs),businessLineCategory:re.PERSONAL,zipCode:e}).subscribe(i=>{this.backstopPartner=i,this.tcpaText=this.buildTcpaText(i)})}buildTcpaText(e){return e?.oneToOneConsentRequired&&e.legalEntityName?`By clicking 'Get Insurance' below, I consent to ${e.legalEntityName}, an insurance partner of InsuredBetter.com, contacting me if I have not already been contacted by an InsuredBetter agent. This may include automated calls, SMS/MMS, and prerecorded messages about insurance options, even if I am on a Do Not Call list. Consent is not required for purchase, message/data rates apply, and I can opt out at any time.`:"By clicking 'Get Insurance' below, I provide my consent for InsuredBetter.com and their representatives to contact me at the email address and phone number I provide. This contact may include automated SMS/MMS messages about procuring insurance, even if my number is on a Do Not Call list. I understand that consent isn't required for purchase, message/data rates apply, and I can opt out anytime."}buildForm(){return this.formBuilder.group({firstName:["",[Be.required,Be.maxLength(128)]],lastName:["",[Be.required,Be.maxLength(128)]],streetAddress:["",[Be.maxLength(128)]],zipCode:["",[Be.required,Be.pattern(/^\d{5}$/)]],phone:["",[Be.required,this.phoneValidator()]],email:["",[Be.required,this.emailValidator()]],estimatedItemValue:[""],dateOfBirth:["",[Tr()]],notes:["",[Be.maxLength(1e3)]]})}emailValidator(){return e=>e.value?/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]{2,}$/.test(e.value)?null:{invalidEmail:!0}:null}phoneValidator(){return e=>e.value?e.value.replace(/\D/g,"").length===10?null:{invalidPhone:!0}:null}displayValidationMessages(){this.isFirstNameInvalid=this.formGroup.controls.firstName.invalid,this.isLastNameInvalid=this.formGroup.controls.lastName.invalid,this.isStreetAddressInvalid=this.formGroup.controls.streetAddress.invalid,this.isZipCodeInvalid=this.formGroup.controls.zipCode.invalid,this.isPhoneInvalid=this.formGroup.controls.phone.invalid,this.isEmailInvalid=this.formGroup.controls.email.invalid,this.isDateOfBirthInvalid=this.isHomeOrAuto()&&this.formGroup.controls.dateOfBirth.invalid}static \u0275fac=function(i){return new(i||t)(A(et),A(le),A(ki),A(Sn),A(tt),A(de))};static \u0275cmp=$({type:t,selectors:[["app-acuity-pl-form"]],viewQuery:function(i,n){if(i&1&&Ot(Xf,5),i&2){let l;Bt(l=Lt())&&(n.jornayaIdInput=l.first)}},decls:82,vars:32,consts:[["jornayaIdInput",""],[1,"min-h-screen","py-12","sm:px-4"],[1,"max-w-2xl","mx-auto"],[1,"flex","justify-between","items-center","mb-16","px-2"],["src","assets/insuredBetter_logo.png","alt","InsuredBetter.com Logo","width","180",1,"max-w-[160px]","sm:max-w-[180px]"],[1,"flex","flex-col","items-end"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c025eff1-5757-4c2c-9cfa-995778d5ba06/acuity-plf-logo.png","width","150","alt","Acuity logo",1,"max-w-[130px]","sm:max-w-[150px]"],[1,"mb-8","text-center","px-4"],[1,"font-poppins","text-3xl","font-medium","-tracking-[2px]","text-insuredBetter-ebony","mb-2"],[1,"text-insuredBetter-text_gray"],[1,"bg-insuredBetter-backdrop_white","shadow-xl","sm:rounded-lg","py-10","px-5","sm:px-7"],[1,"mb-8"],[1,"block","text-lg","font-medium","text-insuredBetter-text_gray","mb-4","text-center"],[1,"flex","flex-wrap","justify-center","gap-6"],["type","button",1,"lob-tile",3,"ngClass"],[1,"text-red-500","text-xs","mt-3","text-center"],["novalidate","",1,"space-y-5",3,"ngSubmit","formGroup"],[1,"flex","flex-col","sm:flex-row","gap-5"],[1,"flex-1"],["for","firstName",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["
23id","firstName","type","text","formControlName","firstName","maxlength","128",1,"w-full",3,"focus","ngClass"],[1,"text-red-500","text-xs","mt-1"],["for","lastName",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["id","lastName","type","text","formControlName","lastName","maxlength","128",1,"w-full",3,"focus","ngClass"],[1,"flex","flex-col","sm:flex-row","gap-5","!mt-6"],["for","phone",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],[1,"text-xs","text-insuredBetter-text_gray","mb-1"],["id","phone","type","tel","formControlName","phone","appPhoneFormatter","",1,"w-full",3,"focus","ngClass"],[1,"flex-1","sm:self-end"],["for","email",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["id","email","type","email","email","","formControlName","email",1,"w-full",3,"focus","ngClass"],["for","streetAddress",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["id","streetAddress","type","text","formControlName","streetAddress","maxlength","128",1,"w-full",3,"focus","ngClass"],[1,"sm:w-1/3"],["for","zipCode",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["id","zipCode","type","text","formControlName","zipCode","maxlength","5",1,"w-full",3,"focus","ngClass"],[1,"sm:w-2/3"],["for","estimatedItemValue",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],[1,"text-insuredBetter-text_gray","font-normal"],["id","estimatedItemValue","type","number","formControlName","estimatedItemValue",1,"w-full"],["for","notes",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["id","notes","formControlName","notes","maxlength","1000","rows","4","placeholder","Any additional details about your insurance needs...",1,"w-full"],["id","leadid_token","name","universal_leadid","type","hidden","value",""],[1,"text-xs","text-insuredBetter-text_gray","leading-5"],["type","hidden","id","leadid_tcpa_disclosure"],["type","submit",1,"w-full","bg-insuredBetter-forest_green","hover:bg-insuredBetter-dark_forest","disabled:bg-insuredBetter-medium_gray","text-white","font-semibold","py-4","px-6","rounded-lg","transition-colors",3,"disabled"],[1,"!mt-10","mb-1","text-insuredBetter-text_gray","flex","justify-center"],[1,"inline-flex","items-start","gap-2","text-left"],["id","Layer_1","xmlns","http://www.w3.org/2000/svg","width","10.5","height","12","viewBox","0 0 10.5 12",1,"shrink-0","relative","top-[2px]"],["d","M5.25,0c1.86,0,3.38,1.51,3.38,3.38v1.12h.38c.83,0,1.5.67,1.5,1.5v4.5c0,.83-.67,1.5-1.5,1.5H1.5c-.83,0-1.5-.67-1.5-1.5v-4.5c0-.83.67-1.5,1.5-1.5h.38v-1.12C1.88,1.51,3.39,0,5.25,0ZM3.38,3.38v1.12h3.75v-1.12c0-1.04-.84-1.88-1.88-1.88s-1.88.84-1.88,1.88ZM5.25,6.75c-.42,0-.75.33-.75.75v1.5c0,.42.33.75.75.75s.75-.33.75-.75v-1.5c0-.42-.33-.75-.75-.75Z",2,"fill","#08730a","stroke-width","0px"],["type","button",1,"lob-tile",3,"click","ngClass"],[1,"lob-icon-card"],["width","28","height","28",3,"src","alt"],[1,"lob-label","text-insuredBetter-text_gray"],["for","dateOfBirth",1,"block","text-sm","text-insuredBetter-text_gray","mb-1"],["id","dateOfBirth","type","date","formControlName","dateOfBirth",1,"w-full",3,"focus","min","max","ngClass"]],template:function(i,n){if(i&1){let l=ie();o(0,"main",1)(1,"div",2)(2,"div",3),u(3,"img",4),o(4,"div",5),u(5,"img",6),a()(),o(6,"div",7),I(7,i1,2,1,"h1",8)(8,n1,2,1,"h1",8)(9,r1,2,1,"p",9),a(),o(10,"div",10)(11,"div",11)(12,"span",12),c(13,"What types of personal protection are you looking for?"),a(),o(14,"div",13),we(15,o1,5,6,"button",14,t1),a(),I(17,a1,2,0,"div",15),a(),o(18,"form",16),P("ngSubmit",function(){return N(l),R(n.submit())}),o(19,"div",17)(20,"div",18)(21,"label",19),c(22,"First Name"),a(),o(23,"input",20),P("focus",function(){return N(l),R(n.isFirstNameInvalid=!1)}),a(),I(24,s1,2,0,"div",21),a(),o(25,"div",18)(26,"label",22),c(27,"Last Name"),a(),o(28,"input",23),P("focus",function(){return N(l),R(n.isLastNameInvalid=!1)}),a(),I(29,l1,2,0,"div",21),a()(),o(30,"div",24)(31,"div",18)(32,"label",25),c(33,"Mobile (or primary) phone number"),a(),o(34,"div",26),c(35,"Mobile number preferred for time-sensitive updates"),a(),o(36,"input",27),P("focus",function(){return N(l),R(n.isPhoneInvalid=!1)}),a(),I(37,c1,2,0,"div",21),a(),o(38,"div",28)(39,"label",29),c(40,"Email address"),a(),o(41,"input",30),P("focus",function(){return N(l),R(n.isEmailInvalid=!1)}),a(),I(42,d1,2,0,"div",21),a()(),o(43,"div")(44,"label",31),c(45,"Street Address"),a(),o(4
236,"input",32),P("focus",function(){return N(l),R(n.isStreetAddressInvalid=!1)}),a(),I(47,m1,2,0,"div",21),a(),o(48,"div",17)(49,"div",33)(50,"label",34),c(51,"Zip Code"),a(),o(52,"input",35),P("focus",function(){return N(l),R(n.isZipCodeInvalid=!1)}),a(),I(53,u1,2,0,"div",21),a(),o(54,"div",36)(55,"label",37),c(56,"Estimated Value "),o(57,"span",38),c(58,"(optional)"),a()(),u(59,"input",39),a()(),I(60,h1,7,6,"div",33),o(61,"div")(62,"label",40),c(63," Additional notes "),o(64,"span",38),c(65,"(optional)"),a()(),u(66,"textarea",41),a(),u(67,"input",42,0),o(69,"div",43)(70,"label"),u(71,"input",44),c(72),a()(),o(73,"button",45),c(74),a(),o(75,"small",46)(76,"span",47),ne(),o(77,"svg",48),u(78,"path",49),a(),Ce(),o(79,"span"),c(80,"Your information is protected. No spam. No unsolicited calls."),a()()()()()()(),u(81,"app-footer")}i&2&&(s(7),b(n.pageContent!=null&&n.pageContent.h1?7:8),s(2),b(n.pageContent!=null&&n.pageContent.headerSubtitle?9:-1),s(6),Se(n.lobOptions),s(2),b(n.isLobError?17:-1),s(),h("formGroup",n.formGroup),s(5),h("ngClass",ue(20,yi,n.isFirstNameInvalid)),s(),b(n.isFirstNameInvalid?24:-1),s(4),h("ngClass",ue(22,yi,n.isLastNameInvalid)),s(),b(n.isLastNameInvalid?29:-1),s(7),h("ngClass",ue(24,yi,n.isPhoneInvalid)),s(),b(n.isPhoneInvalid?37:-1),s(4),h("ngClass",ue(26,yi,n.isEmailInvalid)),s(),b(n.isEmailInvalid?42:-1),s(4),h("ngClass",ue(28,yi,n.isStreetAddressInvalid)),s(),b(n.isStreetAddressInvalid?47:-1),s(5),h("ngClass",ue(30,yi,n.isZipCodeInvalid)),s(),b(n.isZipCodeInvalid?53:-1),s(7),b(n.isHomeOrAuto()?60:-1),s(12),Z(" ",n.tcpaText," "),s(),h("disabled",n.isSubmitting),s(),Z(" ",n.isSubmitting?"Submitting...":"Get Insurance"," "))},dependencies:[Xt,Ei,$t,_n,Yt,Kt,Ii,bn,Jt,Qt,ke,Ee,wn],styles:[`input:not([type=checkbox]):not([type=hidden]),textarea{border-radius:.25rem;border-width:1px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding:.5rem .75rem;outline-color:#08730a}.invalid{border-color:red}#notes::placeholder{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.lob-tile{display:flex;width:4rem;cursor:pointer;flex-direction:column;align-items:center;border-width:0px;background-color:transparent;padding:0}.lob-icon-card{display:flex;height:62px;width:70px;align-items:center;justify-content:center;border-radius:.75rem;border-width:2px;border-color:transparent;--tw-border-opacity: 1;border-color:rgb(8 115 10 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.lob-tile.selected .lob-icon-card{--tw-border-opacity: 1;border-color:rgb(8 115 10 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(8 115 10 / var(--tw-bg-opacity))}.lob-tile.selected .lob-icon-card img{filter:brightness(0) invert(1)}.lob-label{margin-top:.5rem;display:block;text-align:center;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(82 87 86 / var(--tw-text-opacity))}.lob-tile.selected .lob-label{font-weight:500;--tw-text-opacity: 1;color:rgb(8 115 10 / var(--tw-text-opacity))}#full-footer{display:none} 24`],encapsulation:2})}return t})();function g1(t,r){if(t&1&&(c(0),u(1,"br"),c(2,"We'll contact you shortly. ")),t&2){let e=f();Z(" Thanks ",e.firstName,"!")}}function f1(t,r){t&1&&(c(0," Thanks!"),u(1,"br"),c(2,"We'll contact you shortly. "))}var zc=(()=>{class t{route;firstName;constructor(e){this.route=e}ngOnInit(){this.route.queryParams.subscribe(e=>{this.firstName=e.firstName})}static \u0275fac=function(i){return new(i||t)(A(et))};static \u0275cmp=$({type:t,selectors:[["app-acuity-thank-you"]],decls:26,vars:1,consts:[[1,"py-8","px-4","mb-16"],[1,"max-w-2xl","mx-auto"],[1,"flex","justify-between","items-center","mb-16","px-2"],["src","assets/insuredBetter_logo.png","alt","InsuredBetter.com Logo","width","180",1,"max-w-[160px]","sm:max-w-[180px]"],[1,"flex","flex-col","items-end"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c025eff1-5757-4c2c-9cfa-995778d5ba06/acuity-plf-logo.png","width","150","alt","Acuity logo",1,"max-w-[130px]","sm:max-w-[150px]"],[1,"rounded-2xl","shadow-lg","text-center","px-8","py-10","mb-10","bg-insuredBetter-forest_green"],[1,"text-3xl","font-semibold","text-white","leading-snug"],[1,"text-2xl","font-bold","text-insuredBetter-forest_green","text-center","mb-8"],[1,"flex","flex-col","gap-20","md:flex-row","md:justify-center","md:gap-16"],[1,"whats-next-steps","flex","items-center","md:block","md:w-1/4"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/49e35dd6-0ea2-42b5-975e-a22e42772eab/location-icon-ib-com.png","width","45","height","45","alt","location icon",1,"shrink-0","md:mx-auto"],[1,"pl-3","text-left","text-insuredBetter-text_gray","text-sm","md:pl-0","md:pt-3","md:text-center"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/c3df0395-55fd-4
24c84-afa4-48487c6e4713/call-icon-ib-com.png","width","45","height","45","alt","phone call icon",1,"shrink-0","md:mx-auto"],[1,"flex","items-center","md:block","md:w-1/4"],["src","https://assets-us-01.kc-usercontent.com/0542d611-b6d8-4320-a4f4-35ac5cbf43a6/42ee185a-55a3-468d-849d-2e0801450fd0/multiple-agents-icon-ib-com.png","width","45","height","45","alt","multiple agents icon",1,"shrink-0","md:mx-auto"]],template:function(i,n){i&1&&(o(0,"main",0)(1,"div",1)(2,"div",2),u(3,"img",3),o(4,"div",4),u(5,"img",5),a()(),o(6,"div",6)(7,"h1",7),I(8,g1,3,1)(9,f1,3,0),a()(),o(10,"h2",8),c(11,"Here's what's next:"),a(),o(12,"div",9)(13,"div",10),u(14,"img",11),o(15,"div",12),c(16,"We're locating the perfect insurance agent for you."),a()(),o(17,"div",10),u(18,"img",13),o(19,"div",12),c(20,"Your new agent will call you to discuss your insurance needs."),a()(),o(21,"div",14),u(22,"img",15),o(23,"div",12),c(24,"Your agent will work with multiple companies to get the best quote."),a()()()()(),u(25,"app-footer")),i&2&&(s(8),b(n.firstName?8:9))},dependencies:[Ee],styles:[`#full-footer{display:none!important}.whats-next-steps{position:relative}.whats-next-steps:after{position:absolute;top:120%;left:21px;z-index:-1;height:120%;border-width:1px;--tw-border-opacity: 1;border-color:rgb(117 186 48 / var(--tw-border-opacity));--tw-content: "";content:var(--tw-content)}@media (min-width: 768px){.whats-next-steps:after{top:20%;left:75%;height:0px;width:87%}} 25`],encapsulation:2})}return t})();var Oc=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=$({type:t,selectors:[["app-acuity-error"]],decls:17,vars:0,consts:[[1,"py-16","sm:py-24","px-4"],[1,"max-w-xl","mx-auto","text-center"],[1,"flex","justify-center","mb-6"],[1,"bg-insuredBetter-forest_green","rounded-full","p-4","shadow-lg"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","aria-hidden","true",1,"w-12","h-12","text-white"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 9v4m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"],[1,"text-3xl","font-semibold","text-insuredBetter-ebony","mb-0"],[1,"text-insuredBetter-text_gray","text-lg","mb-8"],[1,"text-insuredBetter-text_gray","text-lg"],["routerLink","/acuity/personal",1,"inline-block","underline","text-insuredBetter-forest_green","hover:text-insuredBetter-dark_forest","hover:no-underline","font-semibold","rounded-lg","transition-colors","focus:outline-none","focus:ring-2","focus:ring-white"]],template:function(i,n){i&1&&(u(0,"app-header"),o(1,"main",0)(2,"div",1)(3,"div",2)(4,"div",3),ne(),o(5,"svg",4),u(6,"path",5),a()()(),Ce(),o(7,"h1",6),c(8,"Submission Error Occurred"),a(),o(9,"p",7),c(10,"An error occurred when submitting your request."),a(),o(11,"span",8),c(12,"Click "),o(13,"a",9),c(14," here "),a(),c(15," to try your request again. "),a()()(),u(16,"app-footer"))},dependencies:[ze,Ee,je],encapsulation:2})}return t})();var Nc=[{path:"find-an-agent",component:lo,children:[{path:se.COVERAGES,component:po,outlet:"funnel-router-outlet"},{path:se.DETAILS,component:go,outlet:"funnel-router-outlet"},{path:se.INTERLUDE,component:wo,outlet:"funnel-router-outlet"},{path:se.FINISH,component:xo,outlet:"funnel-router-outlet"},{path:se.GET_A_QUICK_QUOTE,component:yo,outlet:"funnel-router-outlet"},{path:se.THANK_YOU,component:vo,outlet:"funnel-router-outlet"},{path:se.START,component:rn,outlet:"funnel-router-outlet"},{path:"**",component:rn,outlet:"funnel-router-outlet"}]},{path:"find-an-insurance-company",component:lo,children:[{path:se.COVERAGES,component:po,outlet:"funnel-router-outlet"},{path:se.DETAILS,component:go,outlet:"funnel-router-outlet"},{path:se.INTERLUDE,component:wo,outlet:"funnel-router-outlet"},{path:se.FINISH,component:xo,outlet:"funnel-router-outlet"},{path:se.GET_A_QUICK_QUOTE,component:yo,outlet:"funnel-router-outlet"},{path:se.THANK_YOU,component:vo,outlet:"funnel-router-outlet"},{path:se.START,component:rn,outlet:"funnel-router-outlet"},{path:"**",component:rn,outlet:"funnel-router-outlet"}]},{path:"agency-results",loadComponent:()=>import("./chunk-LPHJ3CYT.js").then(t=>t.AgencySearchResultsComponent)},{path:"insurance-company-results/agencies",loadComponent:()=>import("./chunk-NJH36SCR.js").then(t=>
25t.InsuranceCompanyAgenciesComponent)},{path:"insurance-company-results",loadComponent:()=>import("./chunk-PF4BAK6O.js").then(t=>t.InsuranceCompanyResultsComponent)},{path:"content-type-route/article",component:uc,canActivate:[St]},{path:"content-type-route/blog_article",component:Ec,canActivate:[St]},{path:"content-type-route/about_us_generic",component:Lc,canActivate:[St]},{path:"content-type-route/author_bio",component:xc,canActivate:[St]},{path:"content-type-route/lob_experience_page",component:fc,canActivate:[St]},{path:"content-type-route/state_landing_page",component:kc,canActivate:[St]},{path:"content-type-route/state_lob_template",component:Tc,canActivate:[St]},{path:"content-type-route/state_main_insurance_guide_template",component:Bc,canActivate:[St]},{path:"content-type-route/template___custom_code",component:Mc,canActivate:[St]},{path:"content-type-route/lead_capture_landing_page",component:Fc,canActivate:[St]},{path:"content-type-route/landing_page",component:Dc,canActivate:[St]},{path:"acuity/personal/call-center",component:Io,data:{codename:"acuity_pl_form_call_center"}},{path:"acuity/personal",component:Io,data:{codename:"acuity_pl_form_prospect"}},{path:"acuity/thank-you",component:zc},{path:"acuity/error",component:Oc},{path:"ccr-confirmation",component:_c},{path:"ccr-confirmation/consumer-details",component:Sc},{path:"ccr-confirmation/end",component:bc},{path:"referral-form/:referralSource",loadComponent:()=>import("./chunk-BZS2PKF4.js").then(t=>t.CallCenterFormComponent)},{path:"not-found",component:Dr},{path:"preview/codename",children:[{path:"**",canActivate:[gc],component:Dr}]},{path:"insurance-articles",loadComponent:()=>import("./chunk-BLAOTWI4.js").then(t=>t.BlogLandingComponent)},{path:"insurance-articles/:categorySlug",canActivate:[Ic],loadComponent:()=>import("./chunk-BLAOTWI4.js").then(t=>t.BlogLandingComponent)},{path:"",component:Rs,data:{title:"Home"}},{path:"**",canActivate:[pc],component:Dr}];var zr=class extends xn{funnelPaths=["coverages","interlude","details","finish","thank-you",""];parse(r){let i=new xn().parse(r),n=r.split("/"),l=n[n.length-1];if(this.funnelPaths.includes(l)&&n.includes("find-an-agent")){let d=i.root.children.primary;if(d){let m=d.segments.length-1,p=d.segments[m].path;if(this.funnelPaths.includes(p)){let _=new Ta(p,{}),g=new Aa([_],{});g.parent=d,d.children["funnel-router-outlet"]=g,d.segments.pop()}}}return i}serialize(r){let i=new xn().serialize(r);return this.funnelPaths.forEach(n=>{let l=new RegExp(`\\(funnel-router-outlet:${n}\\)`,"g");i=i.replace(l,n)}),i=i.replace("(funnel-router-outlet:)",""),i=i.replace(/\($/,""),i.length>1&&!i.endsWith("/")&&!i.includes("?")&&(i+="/"),i}};var x1="@",v1=(()=>{class t{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;
25scheduler=null;injector=At(un);loadingSchedulerFn=At(y1,{optional:!0});_engine;constructor(e,i,n,l,d){this.doc=e,this.delegate=i,this.zone=n,this.animationType=l,this.moduleImpl=d}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-R64MG3IY.js").then(n=>n),i;return this.loadingSchedulerFn?i=this.loadingSchedulerFn(e):i=e(),i.catch(n=>{throw new Ur(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:l})=>{this._engine=n(this.animationType,this.doc);let d=new l(this.delegate,this._engine,this.zone);return this.delegate=d,d})}createRenderer(e,i){let n=this.delegate.createRenderer(e,i);if(n.\u0275type===0)return n;typeof n.throwOnSyntheticProps=="boolean"&&(n.throwOnSyntheticProps=!1);let l=new ko(n);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(d=>{let m=d.createRenderer(e,i);l.use(m),this.scheduler??=this.injector.get(Xo,null,{optional:!0}),this.scheduler?.notify(10)}).catch(d=>{l.use(n)}),l}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(i){oa()};static \u0275prov=pe({token:t,factory:t.\u0275fac})}return t})(),ko=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,i,n){this.delegate.insertBefore(r,e,i,n)}removeChild(r,e,i){this.delegate.removeChild(r,e,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,i,n){this.delegate.setAttribute(r,e,i,n)}removeAttribute(r,e,i){this.delegate.removeAttribute(r,e,i)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,i,n){this.delegate.setStyle(r,e,i,n)}removeStyle(r,e,i){this.delegate.removeStyle(r,e,i)}setProperty(r,e,i){this.shouldReplay(e)&&this.replay.push(n=>n.setProperty(r,e,i)),this.delegate.setProperty(r,e,i)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,i,n){return this.shouldReplay(e)&&this.replay.push(l=>l.listen(r,e,i,n)),this.delegate.listen(r,e,i,n)}shouldReplay(r){return this.replay!==null&&r.startsWith(x1)}},y1=new jr("");function Rc(t="animations"){return ta("NgAsyncAnimations"),Qo([{provide:ra,useFactory:(r,e,i)=>new v1(r,e,i,t),deps:[Xe,Ca,Tt]},{provide:ea,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Uc={providers:[pa({eventCoalescing:!0}),_a(ba()),La(Nc),Ia(),Rc(),{provide:ka,useValue:null},{provide:Ba,useClass:zr},{provide:aa,useFactory:t=>()=>t.loadFlags(),deps:[Bi],multi:!0}]};var jc=(()=>{class t{platformId;visible=!1;constructor(e){this.platformId=e}onScroll(){if(!oe(this.platformId))return;let e=window.innerWidth<400&&window.innerHeight+window.scrollY>=document.body.offsetHeight-80;this.visible=window.scrollY>300&&!e}scrollToTop(){oe(this.platformId)&&window.scrollTo({top:0,behavior:"smooth"})}static \u0275fac=function(i){return new(i||t)(A(de))};static \u0275cmp=$({type:t,selectors:[["app-scroll-to-top"]],hostBindings:function(i,n){i&1&&P("scroll",function(){return n.onScroll()},!1,na)},decls:3,vars:1,consts:[["aria-label","Scroll to top",1,"fixed","bottom-8","right-8","z-50","flex","items-center","justify-center","w-11","h-11","rounded-full","bg-insuredBetter-lime","text-white","shadow-[0_4px_14px_rgba(0,0,0,0.25)]","transition-all","duration-300","ease-in-out","hover:bg-insuredBetter-dark_lime","focus:outline-none","focus-visible:ring-2","focus-visible:ring-insuredBetter-lime","focus-visible:ring-offset-2",3,"click","ngClass"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.5","
25stroke-linecap","round","stroke-linejoin","round",1,"w-5","h-5"],["points","18 15 12 9 6 15"]],template:function(i,n){i&1&&(o(0,"button",0),P("click",function(){return n.scrollToTop()}),ne(),o(1,"svg",1),u(2,"polyline",2),a()()),i&2&&h("ngClass",n.visible?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 translate-y-4 pointer-events-none")},dependencies:[ke],encapsulation:2})}return t})();var Vc=(()=>{class t{contentDaoService;contentStateService;router;transferState;platformId;fragment;constructor(e,i,n,l,d){this.contentDaoService=e,this.contentStateService=i,this.router=n,this.transferState=l,this.platformId=d,$e(()=>{this.contentStateService.isPreviewMode()&&(this.contentDaoService.getFooterPreview().then(m=>{m&&this.contentStateService.footer.set(m)}),this.contentDaoService.getHeaderPreview().then(m=>{m&&this.contentStateService.header.set(m)}))})}title="insured-better";ngOnInit(){if(oe(this.platformId)){if(this.transferState.hasKey(Br)){let e=this.transferState.get(Br,[]);this.transferState.remove(Br),this.contentStateService.urlStructureTaxonomy.set(e)}else this.contentDaoService.getUrlStructureTaxonomy().then(e=>{this.contentStateService.urlStructureTaxonomy.set(e)});if(this.transferState.hasKey(Lr)){let e=this.transferState.get(Lr,null);this.transferState.remove(Lr),e&&this.contentStateService.header.set(e)}else this.contentDaoService.getHeader().then(e=>{this.contentStateService.header.set(e)}).catch(e=>console.error("[AppComponent] Failed to load header:",e));if(this.transferState.hasKey(Fr)){let e=this.transferState.get(Fr,null);this.transferState.remove(Fr),e&&this.contentStateService.footer.set(e)}else this.contentDaoService.getFooter().then(e=>{this.contentStateService.footer.set(e)}).catch(e=>console.error("[AppComponent] Failed to load footer:",e))}this.router.events.pipe(st(e=>e instanceof vn)).subscribe(()=>{this.fragment=this.router.routerState.root.firstChild?.snapshot.fragment,setTimeout(()=>{this.fragment?this.scrollToFragment(this.fragment):this.scrollToTop()},0)})}scrollToTop(){oe(this.platformId)&&requestAnimationFrame(()=>{window.scrollTo({top:0,behavior:"smooth"})})}scrollToFragment(e){oe(this.platformId)&&at(e)}static \u0275fac=function(i){return new(i||t)(A(nt),A(ye),A(le),A(pn),A(de))};static \u0275cmp=$({type:t,selectors:[["app-root"]],decls:2,vars:0,template:function(i,n){i&1&&u(0,"router-outlet")(1,"app-scroll-to-top")},dependencies:[yn,jc],encapsulation:2})}return t})();function Hc(){let t=window;if(t.__TC_CALCONIC_EMBED_INIT__===!0)return;t.__TC_CALCONIC_EMBED_INIT__=!0;let r="https://app.calconic.com";window.addEventListener("message",e=>{if(!e.origin?.startsWith(r))return;let i=e.data;if(!i||i.action!=="CALCONIC_UPDATE_HEIGHT")return;let n=i.payload||{},l=n.id,d=parseInt(n.height,10);if(!l||!d)return;let m=document.querySelector(`iframe[src*="/api/embed/calculator/${l}"]`);if(!m)return;let p=`__TC_CALCONIC_LAST_H_${l}__`;if(t[p]===d)return;t[p]=d;let _=`__TC_CALCONIC_TIMER_${l}__`;t[_]&&clearTimeout(t[_]),t[_]=setTimeout(()=>{m.style.visibility="visible",m.style.opacity="1",m.style.height=`${d}px`,m.setAttribute("height",String(d)),t[_]=null},150)}),console.log("[calconic] initCalconicEmbed attached")}Hc();wa(Vc,Uc).catch(t=>console.error(t));
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.