(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5945],{37507:function(e,t,n){var l={"./asset-hyperlink.json":25994,"./blockquote.json":62559,"./document.json":51734,"./embedded-asset-block.json":1220,"./embedded-entry-block.json":72258,"./embedded-entry-inline.json":92204,"./embedded-resource-block.json":20546,"./embedded-resource-inline.json":8242,"./entry-hyperlink.json":6502,"./heading-1.json":92813,"./heading-2.json":45080,"./heading-3.json":86423,"./heading-4.json":34942,"./heading-5.json":95579,"./heading-6.json":50705,"./hr.json":37121,"./hyperlink.json":13165,"./list-item.json":38094,"./ordered-list.json":28122,"./paragraph.json":38986,"./resource-hyperlink.json":3105,"./table-cell.json":79924,"./table-header-cell.json":91787,"./table-row.json":75531,"./table.json":39269,"./text.json":63022,"./unordered-list.json":58500};function s(e){return n(i(e))}function i(e){if(!n.o(l,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return l[e]}s.keys=function(){return Object.keys(l)},s.resolve=i,e.exports=s,s.id=37507},25307:function(e,t,n){"use strict";var l=n(85893);n(67294);var s=n(74129),i=n(77504);let a=e=>(0,s.h)(e);t.Z=e=>{let{data:t}=e,{cardName:n,iconImage:s,heading:o,paragraph:r}=t.fields;return(0,l.jsxs)("div",{className:"section-icon-card",children:[!!s&&(0,l.jsx)("div",{className:"icon-card-image",children:(0,l.jsx)(i.Z,{data:s})}),(0,l.jsx)("div",{className:"icon-card-heading",children:a(o)}),(0,l.jsx)("div",{className:"icon-card-paragraph",children:a(r)})]})}},77504:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var l=n(85893),s=n(67294),i=n(90512),a=n(41664),o=n.n(a),r=n(39299),d=n(59735);function c(e){var t,n,a;let{data:c}=e,[{tooltips:u}]=(0,d.sq)();if(!(null==c?void 0:c.fields))return null;let{imageName:m,image:h,width:f,height:v,imageUrl:p,target:x,imageClass:g}=c.fields,j=null!==(a=null==h?void 0:null===(t=h.fields)||void 0===t?void 0:t.title)&&void 0!==a?a:"",b=""!==j?"".concat(null==j?void 0:null===(n=j.toLowerCase())||void 0===n?void 0:n.replaceAll(" ","-")):"",N=(0,i.Z)(g,b),[w]=(0,s.useMemo)(()=>[N.split(" ").includes("inline-tooltip")],[N]),y=()=>{var e,t,n;return w&&(null==u?void 0:u.title)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{html:u.title,trigger:"click",children:e=>{var t,n,s;let{setRef:a}=e;return(0,l.jsx)("img",{src:"https:".concat(null==h?void 0:null===(n=h.fields)||void 0===n?void 0:null===(t=n.file)||void 0===t?void 0:t.url),alt:null==h?void 0:null===(s=h.fields)||void 0===s?void 0:s.title,style:{width:f,height:v,maxWidth:"100%"},className:(0,i.Z)(N,"d-inline d-md-none"),ref:e=>e&&a(e)})}}),(0,l.jsx)(r.Z,{html:u.title,trigger:"hover focus",children:e=>{var t,n,s;let{setRef:a}=e;return(0,l.jsx)("img",{src:"https:".concat(null==h?void 0:null===(n=h.fields)||void 0===n?void 0:null===(t=n.file)||void 0===t?void 0:t.url),alt:null==h?void 0:null===(s=h.fields)||void 0===s?void 0:s.title,style:{width:f,height:v,maxWidth:"100%"},className:(0,i.Z)(N,"d-none d-md-inline"),ref:e=>e&&a(e)})}})]}):(0,l.jsx)("img",{src:"https:".concat(null==h?void 0:null===(t=h.fields)||void 0===t?void 0:null===(e=t.file)||void 0===e?void 0:e.url),alt:null==h?void 0:null===(n=h.fields)||void 0===n?void 0:n.title,style:{width:f,height:v,maxWidth:"100%"},className:N})};return p&&""!==p?(0,l.jsx)(o(),{href:p,target:"new tab"===x?"_blank":"_self",children:y()}):y()}},9760:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var l=n(85893),s=n(67294),i=n(27361),a=n.n(i),o=n(73489),r=n(41664),d=n.n(r),c=n(11163),u=n.n(c);let m=e=>{let{text:t}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"page-loader d-flex justify-content-center align-items-center",children:(0,l.jsxs)("div",{className:"loader-container text-center",children:[(0,l.jsx)("img",{src:"/images/SelectQuote_Horiz_Logo-Tagline-Color700-05-2020.png",className:"mb-4 img-fluid logo",alt:"loader imager"}),(0,l.jsx)("br",{}),(0,l.jsx)("img",{src:"/images/Ripple-1.8s-143px.svg",className:"my-5 img-fluid",alt:"loader gif"}),(0,l.jsx)("h5",{children:t})]})})})};var h=n(50770),f=n(48751),v=n(90337),p=n(90512),x=n(69545),g=n(43940),j=n(53966),b=n(54565),N=n(77504),w=n(25307),y=n(26),E=n(5585),k=n(17204),S=n.n(k),Z=n(41609),_=n.n(Z);let C=e=>{let t=e.indexOf("?"),n=t>=0;return{url:e.substring(0,n?t:void 0),query:Object.fromEntries(new URLSearchParams(n?e.substring(t+1):""))}},L=e=>{let t=new URLSearchParams;return Object.keys(e).forEach(n=>{t.append(n,e[n])}),t.toString()};var F=e=>{var t;let n=C(e),{query:l}=C(window.location.href),s={...null!==(t=v.Z.get("site_session_data"))&&void 0!==t?t:{},...l},i=S()(Object.keys(s).filter(e=>e.startsWith("utm_")&&!!s[e]).map(e=>[e,s[e]])),a={...n.query,...i};return"".concat(n.url).concat(_()(a)?"":"?".concat(L(a)))},T=n(54633),q=n(59735),A=n(21384),P=n(9008),O=n.n(P),R=n(81286),M=n(14293),I=n.n(M);let D=(e,t)=>{switch(e){case"desktop":return"@media screen and (min-width: 1366px){".concat(t,"}");case"tablet":return"@media screen and (min-width: 768px){".concat(t,"}");default:return t}},z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"~",l=!(arguments.length>3)||void 0===arguments[3]||arguments[3],s=[];return(null!=t?t:[]).forEach(t=>{var i;let a=[],o=t.fields.device.toLowerCase(),r="html>body>div#__next>main ".concat(e);(null!==(i=t.fields.targetElements)&&void 0!==i?i:[]).forEach(e=>{let l=e.toLowerCase(),s=[];I()(t.fields.fontSize)||s.push("font-size:".concat(t.fields.fontSize,";")),I()(t.fields.fontStyle)||s.push("font-style:".concat(t.fields.fontStyle,";")),I()(t.fields.fontWeight)||s.push("font-weight:".concat(t.fields.fontWeight,";")),I()(t.fields.color)||s.push("color:".concat(t.fields.color,";")),I()(t.fields.textAlign)||s.push("text-align:".concat(t.fields.textAlign,";")),I()(t.fields.margin)||s.push("margin:".concat(t.fields.margin,";")),I()(t.fields.padding)||s.push("padding:".concat(t.fields.padding,";")),a.push("".concat(r).concat(n).concat(l,"{").concat(s.join(""),"}"))}),l&&a.unshift("".concat(r,"{display:none;}")),s.push(D(o,a.join("")))}),s.join("")};function B(e){let{data:t}=e,n=a()(t,"sys.contentType.sys.id");if(n&&U[n]){let e=U[n];return(0,l.jsx)(e,{data:t})}return console.error("No Content component found for content type: ".concat(n)),null}let U={linkContent:function(e){let{data:t}=e,{linkText:n,altText:i,linkUrl:a="",style:o,linkColor:r,position:c,target:m,customClass:h="",customAction:f,textShadow:v,buttonShadow:x,borderColor:g}=t.fields,[j,b]=(0,s.useState)(!1),[{actions:N},w]=(0,q.sq)(),y="new tab"===m?"_blank":"_self",E=i||"",k=(0,s.useMemo)(()=>"handlePrev"===f?{href:N.next.link||"#",onClick:e=>{var t,n;e.preventDefault(),null===(t=(n=N.next).callback)||void 0===t||t.call(n)},target:N.next.link?"_blank":void 0,type:"button",title:E}:"handleNext"===f?{href:a||"#",onClick:e=>{e.preventDefault(),w(e=>({...e,actions:{...e.actions,next:{...e.actions.next,title:"Modify Estimate"}}})),u().push(a)},target:N.prev.callback?"_blank":void 0,type:"button",title:E}:{href:a,onClick:()=>(0,A.qF)(a),target:y,type:"button",title:E},[f,a,N.next,y]),S={onMouseEnter:()=>{b(!0)},onMouseLeave:()=>{b(!1)}},Z={filledNormal:{background:r,color:"#FFFFFF",borderColor:null!=g?g:r,borderWidth:"2px"},filledHover:{background:"transparent",color:r,borderColor:r},outlinedNormal:{background:"transparent",color:r,border:"2px solid ".concat(null!=g?g:r)},outlinedHover:{background:r,color:"#ffffff"===r?"#F47B20":"#FFFFFF"},textWithArrow:{color:r},default:{color:r},textWithShadow:{textShadow:"2px 2px rgba(17, 17, 17, 0.1)"},buttonShadow:{boxShadow:"rgba(0, 0, 0, 0.2) 2px 0px 6px 3px"}};switch(o){case"filled":return(0,l.jsx)(d(),{...k,...S,className:(0,p.Z)("btn",h,{["btn-".concat(c)]:c}),style:{...Z.filledNormal,...j?Z.filledHover:null,...v?Z.textWithShadow:null,...x?Z.buttonShadow:null},children:n});case"outlined":return(0,l.jsx)(d(),{...k,...S,className:(0,p.Z)("btn",h,{["btn-".concat(c)]:c}),style:{...Z.outlinedNormal,...j?Z.outlinedHover:null,...v?Z.textWithShadow:null,...x?Z.buttonShadow:null},children:n});case"text with arrow":return(0,l.jsxs)(d(),{...k,className:(0,p.Z)("btn btn-link",h,{["btn-".concat(c)]:c}),style:{...Z.textWithArrow,...v?Z.textWithShadow:null,...x?Z.buttonShadow:null},children:[n," ",(0,l.jsx)("span",{className:"material-symbols-rounded",children:"chevron_right"})]});default:return(0,l.jsx)(d(),{...k,className:(0,p.Z)("btn btn-link",h,{["btn-".concat(c)]:c}),style:{...Z.default,...v?Z.textWithShadow:null,...x?Z.buttonShadow:null},children:n})}},richtextContent:function e(t){let{data:n}=t,[i,a]=(0,s.useState)(null),{width:o,textColor:r,content:d,variations:c,styleOverrides:u,className:m}=n.fields,h=n.sys.id,f="richtext-with-overrides-".concat(h),v=(0,s.useMemo)(()=>z(".".concat(f),u,">",!1),[f,u]);return((0,s.useEffect)(()=>{var e;a(null!==(e=null==c?void 0:c.find(e=>{var t;return(0,R.iM)(null!==(t=e.fields.conditions)&&void 0!==t?t:[])}))&&void 0!==e?e:null)},[c]),i)?(0,l.jsx)(e,{data:i}):(0,l.jsxs)("div",{style:{width:o,color:r},className:(0,p.Z)("richtext",m,!!v&&f),children:[!!v&&(0,l.jsx)(O(),{children:(0,l.jsx)("style",{type:"text/css",children:v},h)}),(0,b.N)(d)]})},imageContent:N.Z,cardItemContent:function(e){var t;let{data:n}=e,{itemCopy:i,cardClass:a,image:o,mobileImage:r,imageClass:d,imagePosition:c,imageType:u,imageFit:m="fill",gap:h,url:f,alignment:v,textAlignment:w,textColor:y,styleOverrides:E,className:k}=n.fields,{isMobile:S}=(0,g.i)(),Z=(0,s.useMemo)(()=>S&&r?r:o,[S,o,r]),_={...Z,fields:{...null==Z?void 0:Z.fields,imageClass:(0,p.Z)(null==Z?void 0:null===(t=Z.fields)||void 0===t?void 0:t.imageClass,d)}},C=(0,p.Z)({"flex-column":"top"===c,"flex-xl-row-reverse flex-column":"right"===c,"flex-column-reverse":"bottom"===c,"flex-lg-row flex-column":!["top","right","bottom"].includes(c)}),L=(0,p.Z)({"align-items-center":"center"===v,"align-items-end":"end"===v,"align-items-start":!["center","end"].includes(v)}),F=(0,p.Z)({"text-center":"center"===w,"text-right":"right"===w,"text-left":!["center","right"].includes(w)}),T=(0,l.jsxs)("div",{className:(0,p.Z)("d-flex","gap-".concat(h),C,L,a,k),children:["background"!==u&&(0,l.jsx)(N.Z,{data:_}),(0,l.jsx)("div",{className:(0,p.Z)("richtext","w-100",F),style:{color:y,...(0,j.Z)("crdi",E).style},children:(0,b.N)(i)})]});return"background"===u?(0,l.jsx)(x.Z,{fit:m,sizes:"100vw",style:{},className:(0,p.Z)("w-100 p-0 m-0",d,{"w-100":!(null==d?void 0:d.includes("w-"))}),imageData:Z,position:c,children:T}):T},inputContent:function(e){let{data:t}=e,{inputPlaceholder:n,buttonAltText:i,submitText:a}=t.fields,[o,r]=(0,s.useState)(""),[d,u]=(0,s.useState)(""),[m,h]=(0,s.useState)(!1),f=(0,y.V)(e=>e.setShowError),p=(0,c.useRouter)();(0,s.useEffect)(()=>{(async()=>{let e=v.Z.get("quote_form"),t=await (0,E.mA)(p);if((null==e?void 0:e.zip)||(null==t?void 0:t.zip))r((null==e?void 0:e.zip)||(null==t?void 0:t.zip));else try{let e=await (0,E.Vn)();e&&r(e)}catch(e){console.error(e),r("")}})()},[p]);let x=async()=>{var e;let t=v.Z.get("quote_form"),n=sessionStorage.getItem("sCode"),l=v.Z.get("site_session_data"),s=(null===(e=p.query)||void 0===e?void 0:e.sCode)||n||(null==l?void 0:l.site_source_code)||"";if(o&&""!==o){h(!0);let e=await (0,E.a9)(o);if(e){let n={...t,zip:null==e?void 0:e.zipResponse,state:null==e?void 0:e.stateResponse,city:null==e?void 0:e.cityResponse,state_abbr:null==e?void 0:e.stateAbbreviationResponse};v.Z.set("quote_form",n),p.push(F("/quote-form/?zip=".concat(o).concat(s?"&sCode=".concat(s):"")))}e||(h(!1),f(!0),u("Please provide a valid zipcode"))}else u("This field cannot be blank.")};return(0,l.jsx)("form",{onSubmit:e=>{e.preventDefault(),x()},className:"input-content my-4",children:(0,l.jsxs)("label",{className:"d-flex control",children:[(0,l.jsx)("input",{type:"text",placeholder:n,value:o,pattern:"[0-9]",inputMode:"numeric","aria-label":"Zip",name:"zip",maxLength:5,onChange:e=>{let t=e.target.value;if(!/^[0-9]+$/.test(t)&&""!==t){e.preventDefault();return}r(t)},disabled:m}),(0,l.jsx)("div",{className:"error-message",children:d}),(0,l.jsx)("button",{className:"btn btn-primary input-content-button text-white",title:i,disabled:!!m||(null==o?void 0:o.length)<5,type:"submit",onClick:x,children:m?(0,l.jsx)(T.U,{}):(0,l.jsx)("span",{className:"",children:a})}),(0,l.jsx)("input",{type:"submit"})]})})},inputContentSeparated:function(e){let{data:t}=e,{inputPlaceholder:n,buttonAltText:i,submitText:a,separated:o,buttonBackgroundColor:r,buttonRoundedCorners:d,buttonBorderColor:u}=t.fields,[m,h]=(0,s.useState)(""),[f,x]=(0,s.useState)(""),[g,j]=(0,s.useState)(!1),b=(0,y.V)(e=>e.setShowError),N=(0,c.useRouter)();(0,s.useEffect)(()=>{(async()=>{let e=v.Z.get("quote_form"),t=await (0,E.mA)(N);if((null==e?void 0:e.zip)||(null==t?void 0:t.zip))h((null==e?void 0:e.zip)||(null==t?void 0:t.zip));else try{let e=await (0,E.Vn)();e&&h(e)}catch(e){console.error(e),h("")}})()},[N]);let w=async()=>{var e;let t=v.Z.get("quote_form"),n=sessionStorage.getItem("sCode"),l=v.Z.get("site_session_data"),s=(null===(e=N.query)||void 0===e?void 0:e.sCode)||n||(null==l?void 0:l.site_source_code)||"";if(m&&""!==m){j(!0);let e=await (0,E.a9)(m);if(e){let n={...t,zip:null==e?void 0:e.zipResponse,state:null==e?void 0:e.stateResponse,city:null==e?void 0:e.cityResponse};v.Z.set("quote_form",n),s?N.push(F("/quote-form/?zip=".concat(m,"&sCode=").concat(s))):N.push(F("/quote-form/?zip=".concat(m)))}e||(j(!1),b(!0),x("Please provide a valid zipcode"))}else x("This field cannot be blank.")};return(0,l.jsx)("form",{onSubmit:e=>{e.preventDefault(),w()},className:"input-content my-4",children:(0,l.jsxs)("label",{className:"d-flex control",children:[(0,l.jsx)("input",{className:(0,p.Z)({"separated-zip-cta-input":o}),type:"text",placeholder:n,value:m,pattern:"[0-9]",inputMode:"numeric","aria-label":"Zip",name:"zip",maxLength:5,onChange:e=>{let t=e.target.value;if(!/^[0-9]+$/.test(t)&&""!==t){e.preventDefault();return}h(t)},disabled:g,style:{...o?{height:"auto",boxShadow:"none",backgroundColor:"#FFFFFF",borderRadius:"0",border:"1px solid #646464"}:{}}}),(0,l.jsx)("div",{className:"error-message",children:f}),(0,l.jsx)("button",{className:(0,p.Z)("btn btn-primary input-content-button",{"separated-zip-cta-button":o}),title:i,disabled:!!g||(null==m?void 0:m.length)<5,type:"submit",onClick:w,style:{...r?{backgroundColor:r}:{},...o?{position:"static",height:"auto"}:{position:"absolute"},...d?{borderRadius:"50px"}:{},...u?{border:"1px solid ".concat(u)}:{}},children:g?(0,l.jsx)(T.U,{}):(0,l.jsx)("span",{className:"",children:a})}),(0,l.jsx)("input",{type:"submit"})]})})},divider:function(e){let{data:t}=e,{width:n,height:s,color:i,orientation:a}=t.fields;return(0,l.jsx)("div",{className:"divider ".concat(a),style:{background:i,width:n,height:s}})},bpqTableContent:function(e){var t,n,i;let{data:a}=e,{contentName:o,contactNumber:r}=a.fields,[u,p]=(0,s.useState)(),[x,g]=(0,s.useState)(!0),j=(0,c.useRouter)(),{phoneTier:b}=(0,h.Z)({defaultPhoneNumber:r}),N=e=>"$".concat(parseFloat(null!=e?e:"0").toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}));return(0,s.useEffect)(()=>{(async()=>{let e=v.Z.get("quote_form"),t=await (0,f.Rp)(e);t?(p(t),g(!1)):j.push("/quote-form/confirmation-bpq-error")})()},[]),(0,l.jsx)(l.Fragment,{children:x?(0,l.jsx)(m,{text:"Loading result, please wait."}):(0,l.jsxs)("div",{className:"bpq-table-content",children:[null==u?void 0:u.terms.map((e,t)=>{var n,i,a,o;let r=null==u?void 0:null===(n=u.amounts)||void 0===n?void 0:n[e];return(0,l.jsx)(s.Fragment,{children:0===t&&(0,l.jsx)("div",{className:"bpq-table-container",children:(0,l.jsx)("table",{className:"bpq-table bpq-table-select",children:(0,l.jsxs)("tbody",{children:[(0,l.jsxs)("tr",{children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("sup",{children:"1. "}),(0,l.jsx)("img",{src:"/images/star-white.png",width:"30",alt:"",className:"star-icon"}),(0,l.jsxs)("span",{className:"term",children:[e," years "]}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{className:"amount",children:["$",parseInt(null==u?void 0:u.premium).toLocaleString()]})]}),(0,l.jsxs)("td",{children:[(0,l.jsx)("span",{className:"bpq-rate bpq-rate-select",children:(0,l.jsx)("img",{src:"/images/corner-star-triangle.png",width:"42",height:"82",alt:"",className:"star-icon"})}),(0,l.jsx)("span",{className:"rate",children:N(null==r?void 0:null===(i=r[0])||void 0===i?void 0:i["monthly-bank-draft"])}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"payment",children:"/month"})]}),(0,l.jsx)("td",{className:"bpq-call-m blankcell hidden",children:!(null==r?void 0:r[1])&&(0,l.jsxs)("div",{className:"tablephone",children:[(0,l.jsx)("span",{children:"Call to get started"}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{children:[(0,l.jsx)("img",{src:"/images/phone-icon-orange.png",className:"img-fluid",alt:"bpq phone"}),(0,l.jsx)(d(),{href:"tel:".concat(b),children:b})]})]})})]}),(null==r?void 0:r[1])&&(0,l.jsxs)("tr",{className:"bpq-row-2",children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("sup",{children:"2."}),(0,l.jsxs)("span",{className:"term",children:[e," years "]}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{className:"amount",children:["$",parseInt(null==u?void 0:u.premium).toLocaleString()]})]}),(0,l.jsxs)("td",{children:[(0,l.jsx)("span",{className:"rate",children:N(null==r?void 0:null===(a=r[1])||void 0===a?void 0:a["monthly-bank-draft"])}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"payment",children:"/month"})]}),(0,l.jsx)("td",{className:"bpq-call-m hidden",children:(0,l.jsxs)("div",{className:"tablephone",children:[(0,l.jsx)("span",{children:"Call to get started"}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{children:[(0,l.jsx)("img",{src:"/images/phone-icon-orange.png",className:"img-fluid",alt:"bpq phone"}),(0,l.jsx)(d(),{href:"tel:".concat(b),children:b})]})]})})]}),(null==r?void 0:r[2])&&(0,l.jsxs)("tr",{className:"bpq-row-3",children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("sup",{children:"3."}),(0,l.jsxs)("span",{className:"term",children:[e," years "]}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{className:"amount",children:["$",parseInt(null==u?void 0:u.premium).toLocaleString()]})]}),(0,l.jsxs)("td",{children:[(0,l.jsx)("span",{className:"rate",children:N(null==r?void 0:null===(o=r[2])||void 0===o?void 0:o["monthly-bank-draft"])}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"payment",children:"/month"})]}),(0,l.jsx)("td",{className:"hidden"})]})]})})})},t)}),(0,l.jsx)("h5",{children:"Interested in comparing similar options? See rates below."}),(null!==(i=null==u?void 0:null===(t=u.terms)||void 0===t?void 0:t.length)&&void 0!==i?i:0)>1&&(0,l.jsx)("div",{className:"bpq-table-container",children:(0,l.jsx)("table",{className:"bpq-table bpq-table-other",children:(0,l.jsx)("tbody",{children:null==u?void 0:null===(n=u.terms)||void 0===n?void 0:n.slice(1).map((e,t)=>{var n,i,a,o,r;let c=null==u?void 0:null===(n=u.amounts)||void 0===n?void 0:n[e];return(0,l.jsxs)(s.Fragment,{children:[(0,l.jsxs)("tr",{className:"bpq-row-1",children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("sup",{children:"1."}),(0,l.jsxs)("span",{className:"term",children:[e," years "]}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{className:"amount",children:["$",parseInt(null==u?void 0:u.premium).toLocaleString()]})]}),(0,l.jsxs)("td",{children:[(0,l.jsx)("span",{className:"rate",children:N(null==c?void 0:null===(i=c[0])||void 0===i?void 0:i["monthly-bank-draft"])}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"payment",children:"/month"})]}),(0,l.jsx)("td",{className:"bpq-call-m blankcell hidden",children:!(null==c?void 0:c[1])&&(0,l.jsxs)("div",{className:"tablephone",children:[(0,l.jsx)("span",{children:"Call to get started"}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{children:[(0,l.jsx)("img",{src:"/images/phone-icon-orange.png",className:"img-fluid",alt:"bpq phone"}),(0,l.jsx)(d(),{href:"tel:".concat(b),children:b})]})]})})]}),(null==c?void 0:c[1])&&(0,l.jsxs)("tr",{className:"bpq-row-2",children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("sup",{children:"2."}),(0,l.jsxs)("span",{className:"term",children:[e," years "]}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{className:"amount",children:["$",parseInt(null==u?void 0:u.premium).toLocaleString()]})]}),(0,l.jsxs)("td",{children:[(0,l.jsx)("span",{className:"rate",children:N(null==c?void 0:null===(a=c[1])||void 0===a?void 0:a["monthly-bank-draft"])}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"payment",children:"/month"})]}),(0,l.jsx)("td",{className:"bpq-call-m hidden",children:(0,l.jsxs)("div",{className:"tablephone",children:[(0,l.jsx)("span",{children:"Call to get started"}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{children:[(0,l.jsx)("img",{src:"/images/phone-icon-orange.png",className:"img-fluid",alt:"bpq phone"}),(0,l.jsx)(d(),{href:"tel:".concat(b),children:b})]})]})})]}),(null==c?void 0:null===(o=c[2])||void 0===o?void 0:o["monthly-bank-draft"])&&(0,l.jsxs)("tr",{className:"bpq-row-3",children:[(0,l.jsxs)("td",{children:[(0,l.jsx)("sup",{children:"3."}),(0,l.jsxs)("span",{className:"term",children:[e," years "]}),(0,l.jsx)("br",{}),(0,l.jsxs)("span",{className:"amount",children:["$",parseInt(null==u?void 0:u.premium).toLocaleString()]})]}),(0,l.jsxs)("td",{children:[(0,l.jsx)("span",{className:"rate",children:N(null==c?void 0:null===(r=c[2])||void 0===r?void 0:r["monthly-bank-draft"])}),(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"payment",children:"/month"})]}),(0,l.jsx)("td",{className:"hidden"})]})]},t)})})})})]})})},styleOverride:e=>{var t;let{data:n}=e,i=n.sys.id,a=null!==(t=n.fields.styleClass)&&void 0!==t?t:"",o=(0,p.Z)(a,"style-override-".concat(i)),{css:r,className:d}=(0,s.useMemo)(()=>({css:z("br.".concat(o),[n],"~"),className:o}),[n]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(O(),{children:(0,l.jsx)("style",{type:"text/css",children:r},i)}),(0,l.jsx)("br",{className:d})]})},shortFormSection:o.Z,iconCard:w.Z}},60933:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var l,s,i=n(85893);n(67294);var a=n(27361),o=n.n(a),r=n(5152),d=n.n(r),c=n(26);(l=s||(s={})).DATE="Date",l.SINGLE="Multiple Choice (Single)",l.MULTIPLE="Multiple Choice (Multiple)",l.BM="Body Measurement",l.ZIPCODE="Zipcode",l.SELECT="Select",l.TEXT="Text",l.NUMBER="Number",l.EMAIL="Email",l.LOCATION="Location",l.PHONE="Phone",l.MONTHYEAR="Month / Year",l.QUOTESELECTION="Quote Selection",l.QUOTESELECTIONLISTS="Quote Selection Lists",l.PLATINUM="Platinum";let u=d()(()=>n.e(1237).then(n.bind(n,31237)),{loadableGenerated:{webpack:()=>[31237]},ssr:!1}),m=d()(()=>n.e(3066).then(n.bind(n,83066)),{loadableGenerated:{webpack:()=>[83066]},ssr:!1}),h=d()(()=>n.e(8331).then(n.bind(n,48331)),{loadableGenerated:{webpack:()=>[48331]},ssr:!1}),f=d()(()=>Promise.all([n.e(8383),n.e(8332)]).then(n.bind(n,28332)),{loadableGenerated:{webpack:()=>[28332]},ssr:!1}),v=d()(()=>n.e(9964).then(n.bind(n,79964)),{loadableGenerated:{webpack:()=>[79964]},ssr:!1}),p=d()(()=>n.e(5862).then(n.bind(n,55862)),{loadableGenerated:{webpack:()=>[55862]},ssr:!1}),x=d()(()=>n.e(4426).then(n.bind(n,74426)),{loadableGenerated:{webpack:()=>[74426]},ssr:!1}),g=d()(()=>n.e(1230).then(n.bind(n,1230)),{loadableGenerated:{webpack:()=>[1230]},ssr:!1}),j=d()(()=>n.e(4650).then(n.bind(n,14650)),{loadableGenerated:{webpack:()=>[14650]},ssr:!1}),b=d()(()=>n.e(655).then(n.bind(n,70655)),{loadableGenerated:{webpack:()=>[70655]},ssr:!1}),N=d()(()=>n.e(5863).then(n.bind(n,15863)),{loadableGenerated:{webpack:()=>[15863]},ssr:!1}),w=d()(()=>Promise.all([n.e(1626),n.e(7878)]).then(n.bind(n,17878)),{loadableGenerated:{webpack:()=>[17878]},ssr:!1}),y=d()(()=>n.e(6645).then(n.bind(n,26645)),{loadableGenerated:{webpack:()=>[26645]},ssr:!1}),E=d()(()=>n.e(2332).then(n.bind(n,2332)),{loadableGenerated:{webpack:()=>[2332]},ssr:!1}),k=d()(()=>n.e(1535).then(n.bind(n,51535)),{loadableGenerated:{webpack:()=>[51535]},ssr:!1}),S={[s.DATE]:m,[s.SINGLE]:j,[s.MULTIPLE]:p,[s.BM]:u,[s.ZIPCODE]:N,[s.SELECT]:g,[s.TEXT]:b,[s.NUMBER]:x,[s.EMAIL]:h,[s.LOCATION]:f,[s.PHONE]:w,[s.MONTHYEAR]:v,[s.QUOTESELECTION]:y,[s.QUOTESELECTIONLISTS]:E,[s.PLATINUM]:k};function Z(e){let{data:t,fields:n,fieldKey:l,storageKey:s,...a}=e,r=(0,c.B)(["formValues","setFormValues","isLoading","showError","setShowError","setEdited","setHoverMessage"]),d=o()(t,"fields.type"),u=S[d],m={...(null==a?void 0:a.formValues)?a:r,fieldKey:l,data:t,fields:n,storageKey:s,onHoverMessageChange:r.setHoverMessage};return u?(0,i.jsx)(u,{...m}):(console.error("Component not found for field type:",d),null)}var _=n(5585),C=e=>{let{field:t,tabIndexKey:n,pageNum:l,fields:s,storageKey:a}=e,o=(0,c.V)(e=>e.formValues),r="field".concat(l).concat(n),{displayCondition:d}=t.fields;if(d){var u;let{field:e,operator:t,value:n}=d.fields,l=o[null===(u=e.fields)||void 0===u?void 0:u.key];if(!(t&&(0,_.aC)({answer:l,operator:t,value:n})))return null}return(0,i.jsx)(Z,{tabIndex:n?n-1:0,data:t,fieldKey:r,fields:s,storageKey:a},r)}},46081:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var l=n(85893),s=n(67294),i=n(59735),a=n(54565),o=n(9760);function r(e){let{data:t}=e,{logo:n,socialMedia:i,footerColumns:r,bottomLeftLinks:d,bottomRightLinks:c,copyRightText:u,longCopyrightText:m,footerDisclaimer:h,footerBannerCopy:f,footerBannerBg:v,className:p}=t.fields;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("footer",{className:"".concat(p),children:(0,l.jsxs)("div",{className:"container app-container d-flex flex-column align-items-center justify-content-center gap-4",children:[(0,l.jsxs)("div",{className:"container d-flex flex-md-row flex-column align-items-center align-items-md-start justify-content-between gap-4",children:[(0,l.jsxs)("div",{className:"d-flex flex-column gap-4 m-0",children:[n&&(0,l.jsx)(o.Z,{data:n}),r&&i&&(0,l.jsx)("div",{className:"d-flex flex-row justify-content-center justify-content-md-start gap-2 soc-med",children:i.map((e,t)=>(0,l.jsx)(o.Z,{data:e},"socialMedia".concat(t)))})]}),(0,l.jsxs)("div",{className:"footer-links d-flex flex-column flex-md-row gap-4",children:[r&&(null==r?void 0:r.map((e,t)=>(0,l.jsx)("div",{className:"d-flex flex-column gap-2",children:(0,l.jsx)(o.Z,{data:e})},"footerColumn".concat(t)))),!r&&i&&(0,l.jsx)("div",{className:"d-flex flex-row justify-content-center justify-content-md-start gap-2",children:null==i?void 0:i.map((e,t)=>(0,l.jsx)(o.Z,{data:e},"socialMedia".concat(t)))})]})]}),(0,l.jsxs)("div",{className:"container d-flex flex-md-row flex-column align-items-center justify-content-between gap-3 mt-5 bottom-footer",children:[(0,l.jsx)("div",{className:"footer-sublinks flex-wrap d-flex flex-row align-items-center justify-content-center gap-2",children:null==d?void 0:d.map((e,t)=>(0,l.jsxs)(s.Fragment,{children:[0!==t&&(0,l.jsx)("div",{className:"footer-divider"}),(0,l.jsx)(o.Z,{data:e})]},"bottomLinkLeft".concat(t)))}),(0,l.jsx)("div",{className:"footer-image-links d-flex flex-row align-items-center justify-content-center gap-2",children:null==c?void 0:c.map((e,t)=>(0,l.jsx)(o.Z,{data:e},"bottomLinkRight".concat(t)))})]}),(0,l.jsxs)("div",{className:"container footer-bottom",children:[(0,l.jsx)("p",{children:m||u}),h&&(0,a.N)(h)]})]})}),f&&(0,l.jsx)("div",{className:"footer-banner w-100 d-flex align-items-center justify-content-center gap-3 btn-hover-white",style:{backgroundColor:v},children:(0,a.N)(f)})]})}var d=n(90512),c=n(39332),u=n(11163),m=n(56333),h=n(15904),f=n(90337),v=e=>{let{bars:t=6,children:n}=e,[a,o]=(0,s.useState)(!1);(0,c.usePathname)();let[r,v]=(0,s.useState)(m.P.DEFAULT_PHONE),[p,x]=(0,s.useState)(()=>f.Z.get("site_session_data")),g=(0,u.useRouter)(),[{actions:j,loader:b,progress:[N,w]},y]=(0,i.sq)(),E=j.prev.hidden&&j.next.hidden,[k,S]=(0,s.useMemo)(()=>[(0,l.jsx)("button",{disabled:j.prev.disabled,type:"button",onClick:()=>{var e,t;null===(e=(t=j.prev).callback)||void 0===e||e.call(t)},children:j.prev.title}),j.next.link?(0,l.jsxs)("a",{className:(0,d.Z)(j.next.disabled&&"is-disabled"),href:j.next.link,target:"_blank",children:[j.next.title,(0,l.jsx)("img",{src:"/images/external-link.svg"}),(0,l.jsx)("img",{className:"hover-image",src:"/images/external-link-orange.svg"})]}):(0,l.jsx)("button",{disabled:j.next.disabled,type:"button",onClick:()=>{var e,t;null===(e=(t=j.next).callback)||void 0===e||e.call(t)},children:j.next.title})],[j,y]),Z=(0,s.useMemo)(()=>(0,l.jsx)("ul",{className:"form-progress",children:Array.from({length:t},(e,t)=>(0,l.jsx)("li",{},t))}),[t,N,w]);return(0,s.useEffect)(()=>{let e=()=>{x(f.Z.get("site_session_data"))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[]),(0,s.useEffect)(()=>{if(p){var e;v(null!==(e=null==p?void 0:p.site_campaign_phone)&&void 0!==e?e:m.P.DEFAULT_PHONE)}},[g,p]),(0,s.useEffect)(()=>{(async()=>{o(await (0,h.U)("callIn"))})()},[]),(0,l.jsxs)("footer",{className:"ldt-form-footer",style:{"--form-progress":E?"100%":"".concat((w<=1?0:N)/w*100,"%"),"--buttons-height":E?"0px":"90px"},children:[(0,l.jsxs)("div",{className:"vertical-layout",children:[(0,l.jsx)("div",{className:"form-footer-content",children:n}),!E&&(0,l.jsxs)("div",{className:"form-footer-buttons",children:[(0,l.jsx)("div",{className:"form-footer-progress",children:Z}),(0,l.jsx)("div",{className:"form-footer-nav",children:b?(0,l.jsx)("div",{className:"form-footer-loader",children:b}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"form-footer-prev",children:!j.prev.hidden&&k}),(0,l.jsx)("div",{className:"form-footer-next",children:!j.next.hidden&&S})]})})]})]}),(0,l.jsxs)("div",{className:"horizontal-layout",children:[!E&&(0,l.jsx)("div",{className:"form-footer-progress",children:Z}),(0,l.jsx)("div",{className:"form-footer-nav",children:b?(0,l.jsx)("div",{className:"form-footer-loader",children:b}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"form-footer-prev",children:!j.prev.hidden&&k}),(0,l.jsx)("div",{className:"form-footer-content",children:n}),(0,l.jsx)("div",{className:"form-footer-next",children:!j.next.hidden&&S})]})})]})]})},p=n(41664),x=n.n(p),g=n(48740),j=n(92583),b=n(78812),N=n(43940),w=n(21384),y=n(52987),E=n(47592);function k(e){let{data:t,displayProgress:n=!1,progress:r=0}=e,{bannerText:h,bannerBg:v,logo:p,cta:k,layout:S,menu:Z=[]}=t.fields,{isMobile:_,isDesktop:C}=(0,N.i)(),[L,F]=(0,s.useState)(m.P.DEFAULT_PHONE),[T,q]=(0,s.useState)(!1),[A,P]=(0,s.useState)(!1),[O,R]=(0,s.useState)(!1),[M,I]=(0,s.useState)(!0),D="logo only"===S,z="simplified"===S,B="slider menu"===S,U=(0,s.useRef)(null),H=(0,u.useRouter)(),V=(0,c.usePathname)(),[W]=(0,i.sq)(),{isSymetraFailed:G}=W,[Q,K]=(0,s.useState)(()=>f.Z.get("site_session_data")),[Y,$]=(0,s.useState)(null),[X,J]=(0,s.useState)(!1),[ee,et]=(0,s.useState)(!1),[en,el]=(0,s.useState)(!1);(0,s.useEffect)(()=>{el(!0)},[]);let es=()=>{q(e=>!e),P(!1)},ei=()=>{I(e=>(0,y.wf)(e))},ea=e=>{U.current&&!U.current.contains(e.target)&&(R(!1),ei())};(0,s.useEffect)(()=>(O?document.addEventListener("mousedown",ea):document.removeEventListener("mousedown",ea),()=>{document.removeEventListener("mousedown",ea)}),[O]),(0,s.useEffect)(()=>{let e=()=>{K(f.Z.get("site_session_data")),"Platinum"===f.Z.getRaw("life_platinum_exp")&&J(!0),$(f.Z.getRaw("life_customer_segment"))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[]),(0,s.useEffect)(()=>{$(f.Z.getRaw("life_customer_segment")),"Platinum"===f.Z.getRaw("life_platinum_exp")&&J(!0)},[H]),(0,s.useEffect)(()=>{et(("HV1"===Y||"HV2"===Y)&&X)},[Y,X]),(0,s.useEffect)(()=>{if(Q){var e,t,n;F((null==Q?void 0:Q.lead_tier)&&g.tx.includes(V)?null!==(t=null===(e=b.o.find(e=>e.tier===(null==Q?void 0:Q.lead_tier)))||void 0===e?void 0:e.phone)&&void 0!==t?t:m.P.DEFAULT_PHONE:null!==(n=null==Q?void 0:Q.site_campaign_phone)&&void 0!==n?n:m.P.DEFAULT_PHONE)}},[H,Q]),(0,s.useEffect)(()=>{if(B)return O?document.body.classList.add("is-sliding-menu-open"):document.body.classList.remove("is-sliding-menu-open"),()=>{document.body.classList.remove("is-sliding-menu-open")}},[O,B]);let eo=(e,t,n)=>{let{linkText:s,linkUrl:i,childLinks:a}=e.fields;return a?(0,l.jsxs)("div",{className:"dropdown "+(n?"main-drop position-relative":""),children:[n?(0,l.jsx)("div",{className:"dropdown-toggle nav-link",children:s}):(0,l.jsx)(E.Z,{href:i,exact:!0,className:"nav-link w-100 nav-child-carret",children:s}),(0,l.jsx)("ul",{className:"dropdown-menu",children:a.map((e,n)=>(0,l.jsx)("li",{className:"child-link",children:eo(e,"".concat(t).concat(n),!1)},"childNav".concat(t).concat(n)))})]},"navLink".concat(t)):(0,l.jsx)(E.Z,{href:i,exact:!0,className:"nav-link w-100",children:s},"navLink".concat(t))},er=(e,t,n)=>{let{linkText:s,linkUrl:i,childLinks:a}=e.fields;return a?(0,l.jsx)("li",{className:"d-flex flex-column",children:(0,l.jsx)("div",{className:"accordion accordion-flush",id:"mAccordionContainer".concat(t),children:(0,l.jsxs)("div",{className:"accordion-item",children:[(0,l.jsx)("div",{className:"accordion-header d-flex align-items-center justify-content-between",id:"mAccordionHeading".concat(t),children:n?(0,l.jsx)("button",{className:"accordion-button collapsed flush w-100",type:"button","data-bs-toggle":"collapse","data-bs-target":"#mAccordionContent".concat(t),"aria-expanded":"false","aria-controls":"mAccordionContent".concat(t),children:s}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(E.Z,{href:i,exact:!0,className:"w-100",onClick:es,children:s}),(0,l.jsx)("button",{className:"accordion-button collapsed flush icon",type:"button","data-bs-toggle":"collapse","data-bs-target":"#mAccordionContent".concat(t),"aria-expanded":"false","aria-controls":"mAccordionContent".concat(t)})]})}),(0,l.jsx)("div",{id:"mAccordionContent".concat(t),className:"accordion-collapse collapse","aria-labelledby":"mAccordionHeading".concat(t),"data-bs-parent":"#mAccordionContainer".concat(t),children:(0,l.jsx)("div",{className:"accordion-body d-flex flex-column sub-child",children:(0,l.jsx)("ul",{className:"",children:a.map((e,n)=>er(e,"".concat(n).concat(t,"child"),!1))})})})]})})},t):(0,l.jsx)("li",{className:"d-flex flex-column",children:(0,l.jsx)(E.Z,{href:i,exact:!0,className:"mobile-nav-link w-100",onClick:es,children:s})},t)};return(0,l.jsxs)("header",{className:(0,d.Z)({"symetra-failed-header":G}),children:[!B&&!z&&!D&&(0,l.jsx)("div",{className:"banner d-flex flex-md-row flex-column align-items-center justify-content-center gap-1",style:{backgroundColor:null!=v?v:"#FFFFFF"},children:(0,a.N)(h)}),"banner and logo"===S&&(0,l.jsx)("div",{className:"navigation-bar container wp-container d-flex align-items-center justify-content-center",children:(0,l.jsx)(o.Z,{data:p})}),"full"===S&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"navigation-bar container wp-container d-flex align-items-center justify-content-between",children:[(0,l.jsx)(o.Z,{data:p}),(0,l.jsx)("nav",{className:"d-flex flex-lg-row flex-row-reverse gap-4",children:C&&en?null==Z?void 0:Z.map((e,t)=>eo(e,t,!0)):(0,l.jsx)("div",{className:"mobile-nav-utilities d-flex align-items-center",children:(0,l.jsx)("div",{className:"burger-logo ".concat(T?"open":""),onClick:()=>es(),children:(0,l.jsx)("div",{})})})}),C&&en&&(0,l.jsx)(o.Z,{data:k})]}),_&&en&&(0,l.jsxs)("div",{className:"mobile-menu "+(T?"show":""),children:[(0,l.jsx)("ul",{className:"mobile-nav-lists",children:Z.map((e,t)=>er(e,t,!0))}),(0,l.jsx)("div",{className:"d-flex flex-row align-items-center justify-content-center mt-5",children:(0,l.jsx)(o.Z,{data:k})})]})]}),z&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"banner-simplified container d-flex flex-lg-row flex-column align-items-center justify-content-between gap-1",style:{backgroundColor:v},children:[(0,l.jsx)("div",{className:"logo-container",children:(0,l.jsx)(o.Z,{data:p})}),(0,l.jsx)("div",{className:"text-container d-none d-lg-flex flex-row align-items-center",children:(0,a.N)(h)})]}),(0,l.jsxs)("div",{className:"d-lg-none d-flex simplified-mobile justify-content-center align-items-center",children:[(0,l.jsx)("img",{src:"/images/FramePhone-White.png",alt:""}),(0,l.jsx)(x(),{target:"_self",className:"scode-phone-number",href:"tel:1-855-244-1993",children:(0,l.jsx)("b",{children:"1-855-244-1993"})})]})]}),D&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"logo-only d-flex flex-md-row flex-column align-items-center justify-content-center gap-1 py-3",style:{backgroundColor:null!=v?v:"#f47b20"},children:(0,l.jsx)(o.Z,{data:p})})}),B&&(0,l.jsxs)("div",{className:"sliding-menu-header",children:[O&&(0,l.jsx)("div",{className:"backdrop-shadow"}),(0,l.jsxs)("div",{className:"sliding-menu-nav d-flex flex-row align-items-center \n ".concat(ee&&j.ZV.includes(V)?"justify-content-start justify-content-md-between":"justify-content-between"),children:[(0,l.jsx)("div",{className:"d-none d-md-block",children:(0,l.jsx)(o.Z,{data:p})}),(0,l.jsx)("div",{className:"d-block d-md-none",children:(0,l.jsx)(x(),{href:"/",children:ee&&j.ZV.includes(V)?(0,l.jsx)("img",{src:"/images/platinum-sm-logo.svg",alt:"mobile-icon"}):(0,l.jsx)("img",{src:"/images/lsq-logo-121624.svg",alt:"mobile-icon",className:"sliding-menu-ico-xs"})})}),ee&&j.ZV.includes(V)&&(0,l.jsx)("div",{className:"platinum-container",children:(0,l.jsx)("img",{src:"/images/platinum-logo.svg",alt:"Platinum"})}),(0,l.jsxs)("a",{className:"call-now nav-btn btn scode-phone-number skip-text-override retain-link-text ".concat(ee&&j.ZV.includes(V)&&"platinum-cta-position"),href:"tel:".concat(L),children:[(0,l.jsx)("img",{src:"/images/phone-icon-orange.svg",alt:"Phone Icon",className:"me-2"}),"Call Now"]}),(0,l.jsxs)("span",{className:"call-now",children:["Call\xa0",(0,l.jsxs)("a",{className:"scode-phone-number",href:"tel:".concat(L),children:["$",L]}),"\xa0and get personalized assistance"]})]}),(0,l.jsxs)("div",{className:"side-menu ".concat(O?"open":""),ref:U,children:[(0,l.jsx)("img",{src:"/images/ab-header-close.svg",alt:"ab-header-close",className:"sliding-menu-close-icon",onClick:()=>{R(e=>!e),ei()}}),(0,l.jsx)("h6",{className:"text-center",children:"Call Now"}),(0,l.jsxs)("div",{className:"menu-body-container",children:[(0,l.jsx)("h2",{children:"Speak to a Licensed Insurance Agent"}),(0,l.jsxs)("div",{className:"card",children:[(0,l.jsx)("div",{className:"card-image-container",children:(0,l.jsx)("img",{src:"/images/sliding-menu-card-placeholder.svg",className:"card-image",alt:"sliding-menu-card-placeholder"})}),(0,l.jsxs)("div",{className:"card-body",children:[(0,l.jsx)("h6",{className:"card-title",children:"Get One-on-One Support"}),(0,l.jsx)("p",{className:"card-text",children:"You will be connected with one of our experienced SelectQuote agents who can help answer your questions."})]})]})]}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"cta-holder d-none d-md-block",children:(0,l.jsx)(x(),{target:"_self",className:(0,d.Z)("btn","scode-phone-number","phone-number","call-icon-sliding-menu-button"),href:"tel:".concat(L),onClick:()=>(0,w.qF)("tel:".concat(L)),children:L})}),(0,l.jsx)("div",{className:"cta-holder d-block d-md-none",children:(0,l.jsx)("a",{type:"button",target:"_self",title:"Call Now",className:(0,d.Z)("btn","call-icon-sliding-menu-button","scode-phone-number","phone-number","btn-left","skip-text-override"),style:{background:"#f47b20",color:"#FFFFFF",borderColor:"#FFFFFF",borderWidth:"2px"},href:"tel:".concat(L),children:"Call Now"})})]})]})]}),n&&(0,l.jsx)("div",{className:"progress-bar",children:(0,l.jsx)("div",{className:"progress-bar-filled",style:{width:"".concat(r,"%")}})})]})}var S=n(9008),Z=n.n(S);function _(e){var t,n,s,i;let{seo:a,pageUrl:o,pageName:r}=e,d=window.location.origin,c=null!==(i=null==a?void 0:null===(t=a.fields)||void 0===t?void 0:t.pageTitle)&&void 0!==i?i:r,{shareCardImage:u,canonicalUrl:m,description:h,keywords:f,index:v,follow:p}=a.fields,x=[{name:"title",content:c},{name:"description",content:null!=h?h:""},{property:"og:title",content:c},{property:"og:description",content:null!=h?h:""},{property:"og:image",content:u?"https:".concat(null==a?void 0:null===(s=a.fields)||void 0===s?void 0:null===(n=s.shareCardImage)||void 0===n?void 0:n.fields.image.fields.file.url):""},{property:"og:url",content:"https://life.selectquote.com/".concat(o)},{name:"twitter:title",content:c},{name:"twitter:description",content:null!=h?h:""}];f&&x.push({name:"keywords",content:f});let g=m?(0,l.jsx)("link",{rel:"canonical",href:"".concat(d).concat(m)}):(0,l.jsx)(l.Fragment,{});return(0,l.jsxs)(Z(),{children:[(0,l.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,l.jsx)("title",{children:c}),x.map((e,t)=>{if(null==e?void 0:e.content)return(0,l.jsx)("meta",{...e},t)}),(0,l.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:site_name",content:"SelectQuote Life"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:label1",content:"Est. reading time"}),(0,l.jsx)("meta",{name:"twitter:data1",content:"9 minutes"}),g,v||p?!v&&p?(0,l.jsx)("meta",{name:"robots",content:"noindex"}):!p&&v?(0,l.jsx)("meta",{name:"robots",content:"nofollow"}):(0,l.jsx)(l.Fragment,{}):(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]})}function C(e){let{page:t,pageUrl:n,children:a,className:o="",displayProgress:d=!1,isMsqfConfirmation:c,progress:u=0}=e,[,m]=(0,i.sq)(),{pageName:h,seo:f,header:p,footer:x}=t.fields,[,g]=(0,s.useMemo)(()=>{let e=o.split(" "),t=e.includes("form");return[t,t&&e.includes("msqf-form")]},[o,n]);return(0,s.useEffect)(()=>{m(e=>({...e,actions:c?{...e.actions,prev:{...e.actions.prev,hidden:!0},next:{...e.actions.next,hidden:!0}}:e.actions,isMSQF:g}))},[g,c,m]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(_,{seo:f,pageUrl:n,pageName:h}),(0,l.jsx)(k,{data:p,displayProgress:d,progress:u}),(0,l.jsx)("main",{className:o,children:a}),g||c?(0,l.jsx)(v,{children:(0,l.jsx)(r,{data:x})}):x&&(0,l.jsx)(r,{data:x})]})}},47592:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var l=n(85893);n(67294);var s=n(90512),i=n(41664),a=n.n(i),o=n(11163);function r(e){let{href:t,exact:n=!1,className:i="",...r}=e,{asPath:d}=(0,o.useRouter)(),c=n?d===t:d.startsWith(t);return(0,l.jsx)(a(),{href:t,className:(0,s.Z)(i,"link-opacity-75-hover",{active:c}),...r,children:r.children})}},54633:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var l=n(85893);n(67294);var s=n(49821);let i=()=>(0,l.jsx)(s.iT,{height:20,width:20,color:"#fff",wrapperStyle:{},wrapperClass:"p-0",visible:!0,ariaLabel:"oval-loading",secondaryColor:"#fff",strokeWidth:2,strokeWidthSecondary:2})},19516:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var l=n(85893);n(67294);var s=n(90512),i=n(12934),a=n(54565);let o=e=>{let{className:t,show:n,tooltipCopy:o,handleClose:r}=e;return(0,l.jsx)("div",{children:(0,l.jsx)(i.Z,{show:n,onHide:r,centered:!0,backdrop:"static",keyboard:!1,className:(0,s.Z)("tooltip-modal",t),children:(0,l.jsxs)(i.Z.Body,{children:[(0,l.jsx)("span",{className:"custom-close",onClick:r,children:(0,l.jsx)("strong",{children:"X"})}),(0,l.jsx)("div",{className:"text-start mb-4",children:(0,a.N)(o)}),(0,l.jsx)("hr",{}),(0,l.jsx)("div",{className:"d-flex justify-content-center mt-4",children:(0,l.jsx)("p",{className:"bpq-return-btn",onClick:r,children:"Return to page"})})]})})})}},73489:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var l=n(85893),s=n(67294),i=n(19692),a=n(30202),o=n(90512),r=n(11163),d=n(761),c=n(60933),u=n(19516),m=n(48740),h=n(45074),f=n(78812),v=n(3282),p=n(7165),x=n(2198),g=n(26),j=n(81286),b=n(21384),N=n(70562),w=n(70545),y=n(5585),E=n(48751),k=n(54565),S=n(90337),Z=n(18038),_=n(54633);let C=e=>{var t;let{field:n,fieldKey:s,stepNumber:i}=e;return(0,l.jsxs)("div",{className:(0,o.Z)("mb-4","ff-rtr-".concat(i,"-").concat(s)),children:[" ",(0,k.N)(null===(t=n.fields)||void 0===t?void 0:t.content)]},s)};function L(e){var t,n,L,F;let{data:T}=e,q=Z.d.QUOTE,A=(0,p.Z)(),{data:P}=(0,x.A)(Z.d.SHORT),O=(0,j.O2)(P)?h.qx:P,R=(0,s.useRef)(null),M=(0,s.useRef)(null),I=(0,r.useRouter)(),{query:D}=I,{shortFormSteps:z,totalSteps:B}=null!==(F=null==T?void 0:T.fields)&&void 0!==F?F:{},U="string"==typeof(null==D?void 0:D.formStep)?Math.min(Math.max(parseInt(D.formStep),1),B):1,H=I.asPath.split("?")[0],V=null==T?void 0:null===(n=T.fields)||void 0===n?void 0:null===(t=n.shortFormSteps)||void 0===t?void 0:t.map(e=>e.fields),[W,G]=(0,s.useState)(V[U-1]),Q=B===U,K=null===(L=z[0])||void 0===L?void 0:L.fields,{topCopy:Y,fields:$,bottomCopy:X,confirmations:J,optional:ee,tooltip:et,autoAdvance:en}=W,el=(0,a.NL)(),{formValues:es,isLoading:ei,setIsLoading:ea,setShowError:eo,showTooltip:er,setShowTooltip:ed}=(0,g.B)(["formValues","setShowError","isLoading","setIsLoading","setFormValues","showTooltip","setShowTooltip"]);(0,v.zb)({storageKey:Z.d.QUOTE,pageNum:U,fields:null==K?void 0:K.fields});let ec=async(e,t)=>{if(t=!!t,!(0,j.G$)({formValues:es,fields:$,manual:e,optional:ee,isLoading:ei,setIsLoading:ea,setShowError:eo}))return;let n=Q?B:U+1,l="step-".concat(n),s="",a="",o=S.Z.get("site_session_data"),r=S.Z.get(q),d={...es,...r,address:"123 Any Street",height_feet:"7",height_inches:"11",height:"7'11",weight:"300",smoke:"n",driving_violation:"n",engage_sports:"n",hereditary_disease:"n",conditions:["no"],type_of_form:"SF",income:"",insurance_type:null};S.Z.set(q,d);let c=S.Z.get("site_session_data");J&&([l,s]=await (0,y.Yc)(l,{newData:d,sessionData:o,confirmations:J,storageKey:q,isLastPage:!0,pageUrl:"",validatePhone:A})),[l,s]=await (0,N.cs)({internalTest:s,nextSlug:l,pageNum:U,queryClient:el,totalPage:B,rules:O});let u=e=>m.tx.includes(e)||e.includes("/options-term");a=u(l="/quote-form/".concat(l))?"".concat(l,"?SID=").concat(null==c?void 0:c.site_session_id):"".concat(H,"?formStep=").concat(n);let{finalRoute:h,nextSlug:v,updatedSessionData:p}=(0,j.Sj)({finalRoute:a,formRoute:H,formValues:es,internalTest:s,isLastPage:Q,nextSlug:l,storageKey:q});if(a=h,l=v,Q)try{var x;let e=S.Z.get("site_session_data"),[t,n]=(0,N.CB)();if(t){let t=await el.fetchQuery({queryKey:["lifeTiers",n],queryFn:e=>{let{signal:t}=e;return(0,w._T)({signal:t})}});if(t){let n=f.o.find(e=>e.value===(null==t?void 0:t.tier_value));S.Z.set("site_session_data",{...e,...p,lead_tier:null==n?void 0:n.tier,lead_value:null==n?void 0:n.value,refid:null==t?void 0:t.refid})}}let l=g.V.getState().monetization;l&&(null==l?void 0:null===(x=l.data)||void 0===x?void 0:x.postData)&&await (0,E.Og)(p,d)}catch(e){console.error(e)}if(es.referral){let e=es.referral;(0,i.sendGTMEvent)((0,b.KR)("HDYHAUResponse",{response:e}))}if(es.phone){let e=es.phone;(0,i.sendGTMEvent)((0,b.KR)("stepPhone",{validPhoneNumber:e}))}n<=B&&!["/quote-form/options-term",...m.tx].includes(l)&&G(V[n-1]),await (0,E.Hz)({sessionData:o,formData:{...d,form_id:"SF"},step:U,confirmation:u(l)}),I.push(a)};return(0,v.aB)({optional:ee,fields:$,autoAdvance:en,nextButtonRef:M,handleNext:ec}),(0,v.vo)(R,I),(0,v.BZ)({formRef:R,handleNext:ec}),(0,v.SF)({isLastPage:Q,storageKey:q,handleNext:ec,pageData:{pageNum:U,step:"step-".concat(U),slug:"step-".concat(U)}}),(0,l.jsx)("section",{className:"short-form container-fluid w-fit w-lg-1/2 border border-black border-opacity-25 shadow rounded px-6 py-5 my-6",children:(0,l.jsx)("form",{id:"form-step-".concat(U),className:"h-full",ref:R,onSubmit:e=>{e.preventDefault(),ec(!0)},children:(0,l.jsx)(d.Z,{in:!0,appear:!0,children:(0,l.jsxs)("div",{className:"form container-fluid px-0",children:[et&&(0,l.jsx)(u.V,{show:er,tooltipCopy:et,handleClose:()=>ed(!1)}),(0,l.jsx)("div",{className:"row content m-auto align-items-center justify-content-evenly",children:(0,l.jsx)(d.Z,{in:!0,appear:!0,children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:(0,o.Z)("top-copy fields-container w-full mb-child-0 mb-5 px-0",{optional:ee,withToolTip:et}),children:(0,k.N)(Y)}),(0,l.jsx)("div",{className:"fields-container w-full d-flex flex-column gap-4 justify-content-center px-0 ",children:$&&$.map((e,t)=>{var n;return(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.type)?(0,l.jsx)(c.Z,{key:t,tabIndexKey:t,fieldKey:"".concat(t),field:e,fields:$,pageNum:U,storageKey:q}):(0,l.jsx)(C,{field:e,fieldKey:"ff-rtr-".concat(U,"-").concat(t),stepNumber:U},t)})}),(0,l.jsxs)("div",{className:"actions-container d-flex flex-row align-items-center justify-content-center gap-4 pt-5",children:[U>1&&(0,l.jsx)("button",{type:"button",className:"back-button",onClick:()=>{eo(!1),1<=U&&U<=B?G(V[U-2]):G(V[0]);let e=2===U?H:"".concat(H,"?formStep=").concat(U-1);I.push(e)},disabled:ei,children:"Back"}),(0,l.jsx)("button",{ref:M,type:"submit",className:"next-button d-flex align-items-center justify-content-center gap-2",onClick:()=>ec(!0),disabled:ei,children:ei?(0,l.jsx)(_.U,{}):B!==U?"Next":"Get Free Quotes"})]}),X&&(0,l.jsx)("div",{className:"bottom-copy mt-5",children:(0,k.N)(X)})]})})})]})})})})}},69545:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var l=n(85893),s=n(67294),i=n(90512),a=n(25675),o=n.n(a),r=n(761),d=n(43940),c=n(36225),u=n(87633),m=n(70545),h=e=>{let{data:t,error:n,isLoading:l}=(0,u.a)({queryKey:["placeholder",e],queryFn:t=>{let{signal:n}=t;return(0,m.ph)({src:e,signal:n})},enabled:!!e});return(0,s.useEffect)(()=>{n&&console.error("Error loading placeholder data:",n)},[t]),{placeholder:t,error:n,isLoading:l}};function f(e){var t;return(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.file)!==void 0}let v=e=>{var t,n,l,s;return f(e)?null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.file:(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:null===(n=l.image)||void 0===n?void 0:null===(t=n.fields)||void 0===t?void 0:t.file)?null==e?void 0:e.fields.image.fields.file:void 0},p=(e,t)=>{var n,l,s,i;let a=f(e)?null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.description:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(s=i.image)||void 0===s?void 0:null===(l=s.fields)||void 0===l?void 0:l.description;return t||a||"background"};function x(e){let{src:t,quality:n,width:l}=e,s=new URL(t);return s.pathname.endsWith(".svg")||(s.searchParams.set("fm","webp"),s.searchParams.set("q",n?n.toString():"75"),s.searchParams.set("w",l.toString())),s.href}var g=n(71392),j=n(62950),b=e=>{var t,n;let{alt:a,children:u,childrenClassName:m,fill:f,fit:b="cover",imageData:N,localImage:w=!1,position:y="right",sizes:E="100vw",src:k,style:S,tag:Z="div",className:_,tagClassName:C,...L}=e,[F,T]=(0,s.useState)(!0),{deviceType:q}=(0,d.i)(),A=(0,c.Z)(),P=Array.isArray(N),O=P?N.find(e=>"deviceType"in e&&e.deviceType===q):void 0,R=v(P?O:N),M=p(P?O:N),I=(null==R?void 0:null===(t=R.details)||void 0===t?void 0:t.image)&&!f?null==R?void 0:null===(n=R.details)||void 0===n?void 0:n.image:{fill:!0,sizes:E},D="string"==typeof k?k:"",z=(0,j.Nm)(D||(null==R?void 0:R.url)||"")||D||"",{placeholder:B}=h(z),U={...I,...L,priority:!0,fill:f,alt:M,className:(0,i.Z)(_,"object-fit-".concat(b),{"duration-300 ease-in-out":F}),src:null!=z?z:B,loader:w?void 0:x,style:S},H=(0,l.jsx)(r.Z,{in:!0,appear:!0,children:(0,l.jsx)(o(),{...U,...B&&{placeholder:"blur",blurDataURL:B},onLoad:()=>T(!1)})});return A?B||g.C?u?(0,l.jsxs)(Z,{className:(0,i.Z)("position-relative top-0 start-0 w-100",C),style:S,children:[H,(0,l.jsx)("div",{className:(0,i.Z)("position-absolute top-0 start-0 vw-100 h-100 d-flex justify-content-center align-items-center",m),children:u})]}):H:(0,l.jsx)("div",{style:{height:"100%",width:"100%"}}):null}},39299:function(e,t,n){"use strict";var l=n(67294),s=n(73955),i=n.n(s),a=n(97762),o=n(54565);t.Z=e=>{let{children:t,html:s,trigger:r="hover focus"}=e,[d,c]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let e,t;if(!d)return;let l=()=>{t&&e&&(null==t||t.show(),setTimeout(()=>{let n=document.getElementById(e);if(n){var l;let e=()=>{var l;null==t||t.hide(),null===(l=n.parentElement)||void 0===l||l.removeEventListener("click",e)};null===(l=n.parentElement)||void 0===l||l.addEventListener("click",e)}},50))};return(async()=>{let c=await n.e(8877).then(n.bind(n,78877));e=i()("tooltip-"),t=new c.Tooltip(d,{title:a.renderToStaticMarkup((0,o.N)(s)),html:!0,placement:"right",template:'\n