1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4822],{94095:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/describeaddress",function(){return t(47226)}])},25081:function(e,n,t){"use strict";t.d(n,{B_:function(){return o},OD:function(){return i},Ut:function(){return s},Xw:function(){return a},sx:function(){return r}});var r="This should be the address where your cars live too (i.e., where they are garaged and registered).",i="What best describes the address you entered?",s="Help us get the right information",a="Are your cars registered to a different home address?",o="Where are your cars registered?"},42588:function(e,n,t){"use strict";t.d(n,{W:function(){return i}});var r=t(5349),i=(t(78055),function(){return(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M17.2583 16.075L14.425 13.25C15.3392 12.0854 15.8352 10.6472 15.8333 9.16667C15.8333 7.84813 15.4423 6.5592 14.7098 5.46287C13.9773 4.36654 12.9361 3.51206 11.7179 3.00747C10.4997 2.50289 9.15927 2.37087 7.86607 2.6281C6.57286 2.88534 5.38497 3.52027 4.45262 4.45262C3.52027 5.38497 2.88534 6.57286 2.6281 7.86607C2.37087 9.15927 2.50289 10.4997 3.00747 11.7179C3.51206 12.9361 4.36654 13.9773 5.46287 14.7098C6.5592 15.4423 7.84813 15.8333 9.16667 15.8333C10.6472 15.8352 12.0854 15.3392 13.25 14.425L16.075 17.2583C16.1525 17.3364 16.2446 17.3984 16.3462 17.4407C16.4477 17.4831 16.5567 17.5048 16.6667 17.5048C16.7767 17.5048 16.8856 17.4831 16.9872 17.4407C17.0887 17.3984 17.1809 17.3364 17.2583 17.2583C17.3364 17.1809 17.3984 17.0887 17.4407 16.9872C17.4831 16.8856 17.5048 16.7767 17.5048 16.6667C17.5048 16.5567 17.4831 16.4477 17.4407 16.3462C17.3984 16.2446 17.3364 16.1525 17.2583 16.075ZM4.16667 9.16667C4.16667 8.17776 4.45991 7.21106 5.00932 6.38882C5.55873 5.56657 6.33962 4.92571 7.25325 4.54727C8.16688 4.16883 9.17222 4.06982 10.1421 4.26274C11.112 4.45567 12.0029 4.93187 12.7022 5.63114C13.4015 6.3304 13.8777 7.22131 14.0706 8.19122C14.2635 9.16112 14.1645 10.1665 13.7861 11.0801C13.4076 11.9937 12.7668 12.7746 11.9445 13.324C11.1223 13.8734 10.1556 14.1667 9.16667 14.1667C7.84059 14.1667 6.56882 13.6399 5.63114 12.7022C4.69345 11.7645 4.16667 10.4928 4.16667 9.16667Z",fill:"#6B7A86"})})})},57500:function(e,n,t){"use strict";t.d(n,{X:function(){return u}});var r=t(15771),i=t(5349),s=(t(78055),t(60863)),a=t(34922),o=t(86227);function c(){var e=(0,r.Z)(["\n color: ",";\n background-color: ",";\n"]);return c=function(){return e},e}var u=(0,s.default)((function(e){var n=e.className,t=e.children,r=e.large,s=void 0!==r&&r,c=e.mt,u=void 0===c?2:c;return(0,i.jsx)(a.Z,{className:n,fontWeight:"fontWeightMedium",borderRadius:"8px",mt:u,mb:2,p:2,pb:s?2:1,pt:s?2:1,width:s?"100%":"auto",children:(0,i.jsx)(o.Z,{variant:"subtitle1",align:"center",children:t})})})).withConfig({componentId:"sc-2b8648d6-0"})(c(),(function(e){var n=e.theme;return e.grey?"#4B5466":n.palette.primary.main}),(function(e){var n=e.theme;return e.grey?"#EFF3F6":n.palette.primary.light}))},3681:function(e,n,t){"use strict";t.d(n,{X:function(){return y}});var r=t(5349),i=t(34922),s=t(28256),a=t(86871),o=t(80722),c=t(78055),u=t(99835),d=t.n(u),l=t(39378),f=t(42588),h=t(59933),p=t(36690),g=t(93089),v=t(59106),m=t(15771),b=t(52078),x=t(60863),C=t(51838),j=t.n(C);function w(){var e=(0,m.Z)(["\n & button {\n min-height: 3rem;\n background-color: transparent;\n margin-right: 0.5rem;\n border-radius: 9999px;\n font-weight: 500;\n padding: 0.7rem 1rem;\n line-height: 1rem;\n color: #000;\n height: 100%;\n\n &,\n &:hover {\n border: 1px solid ",";\n }\n }\n\n &.selected button {\n color: ",";\n }\n\n &.button-wrapper {\n height: 100%;\n }\n"]);return w=function(){return e},e}var Z=(0,x.default)((function(e){var n=e.children,t=e.className,i=e.selected,s=(0,v.Z)(e,["children","className","selected"]);return(0,r.jsx)("div",{className:j()(t,"button-wrapper",i&&"selected"),children:(0,r.jsx)(b.Z,(0,g.Z)((0,p.Z)({disableRipple:!0,fullWidth:!0,variant:"outlined"},s),{children:n}))})})).withConfig({componentId:"sc-462fc84e-0"})(w(),(function(e){var n=e.theme;return e.selected?n.palette.primary.main:n.palette.grey[270]}),(function(e){return e.theme.palette.primary.main}));function y(e){var n=e.optionToString||d(),t=e.testID,u=e.options,p=e.columns,g=void 0===p?1:p,v=e.selected,m=e.onSelect,b=e.isSearchable,x=e.searchPlaceholder,C=e.renderOption,j=void 0===C?n:C,w=e.getOptionKey,y=void 0===w?n:w,L=e.optionClassName,S=(0,c.useState)(""),N=S[0],_=S[1],k=(0,c.useState)(!1),M=k[0],O=k[1];(0,c.useEffect)((function(){!M&&N&&((0,h.L9)("OptionListSearch",{eventLabel:t}),O(!0))}),[N,M,t]);var D=(0,c.useMemo)((function(){return b||N?u.filter((function(e){return n(e).toLowerCase().includes(N.toLowerCase())})):u}),[b,N,u,n]),I=e.isCollapsible&&!N&&D.length>12,B=(0,c.useState)(!0),P=B[0],W=B[1],A=I&&P,E=(0,c.useState)(!1),T=E[0],X=E[1],U=(0,c.useCallback)((function(){T||((0,h.L9)("OptionListShowMore",{eventLabel:t}),X(!0)),W((function(e){return!e}))}),[T,t]);return(0,r.jsxs)(i.Z,{children:[b&&(0,r.jsx)(i.Z,{mb:1,children:(0,r.jsx)(s.Z,{fullWidth:!0,variant:"outlined",InputProps:{startAdornment:(0,r.jsx)(a.Z,{position:"start",children:(0,r.jsx)(f.W,{})})},placeholder:x,value:N,onChange:function(e){return _(e.target.value)}})}),(0,r.jsx)(o.ZP,{container:!0,spacing:1,children:D.slice(0,A?12:
1D.length).map((function(e){return(0,r.jsx)(o.ZP,{item:!0,xs:12/g,children:(0,r.jsx)(Z,{className:L,id:"".concat(t,"_").concat((0,l.get)(e,"testID",y(e).replace(/[\s,$]+/g,""))),selected:(n=v,"function"===typeof n?v(e):v===e),onClick:function(){null===m||void 0===m||m(e)},children:j(e)})},y(e));var n}))}),I&&(0,r.jsx)(i.Z,{marginTop:1,children:(0,r.jsx)(Z,{onClick:U,children:A?"Show More":"Show Less"})})]})}},56290:function(e,n,t){"use strict";t.d(n,{v:function(){return o}});var r=t(36690),i=t(5349),s=t(34922),a=t(3681);function o(e){return(0,i.jsx)(s.Z,{maxWidth:"328px",mx:"auto",children:(0,i.jsx)(a.X,(0,r.Z)({},e))})}},47226:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return k}});var r=t(60947),i=t(36690),s=t(93089),a=t(99758),o=t(64062),c=t(5349),u=t(78055),d=t(40599),l=t(34922),f=t(88561),h=t(43053),p=t(64539),g=t(56290),v=t(69204),m=t(51578),b=t(59933),x=t(52808),C=t(57901),j=t(11968),w=t(35995),Z=t(86227),y=t(58715),L=t(57500),S=function(){return(0,c.jsx)(L.X,{large:!0,grey:!0,children:(0,c.jsxs)(l.Z,{display:"flex",children:[(0,c.jsx)(y.Z,{}),(0,c.jsx)(l.Z,{ml:1,children:(0,c.jsx)(Z.Z,{align:"left",children:"Heads up! According to publicly available information, your address is considered to be a business address. Quoting availability can vary for business addresses."})})]})})},N=t(25081),_="describeaddress",k=function(){var e,n=(0,v.zI)(_),t=n.appData,Z=n.direction,y=n.stepIdx,L=n.stepCnt,k=n.stepIndicatorData,M=n.goNext,O=n.canGoNext,D=n.goBack,I=n.canGoBack,B=(0,u.useMemo)((function(){return(0,m.i)(M,O)}),[M,O]),P=(0,u.useMemo)((function(){return(0,m.i)(D,I)}),[D,I]),W=(0,C.s3)(),A=(0,a.Z)((0,d.D)(j.IY,{client:W}),2),E=A[0],T=A[1],X=(0,u.useState)(null),U=X[0],F=X[1];(0,u.useEffect)((function(){(0,b.L9)("OnboardingAddressBusiness",{eventLabel:"Viewed",eventMetadata:{address:JSON.stringify(t.address)}})}),[t.address]);var Y=(0,u.useCallback)(function(){var e=(0,r.Z)((function(e){var n,r,a;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(F(null),!t.isSigned)return[3,5];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,E({variables:{input:{addressDescription:e,step:j.Tf.describeaddress}}})];case 2:return r=o.sent(),(0,b.L9)("OnboardingAddressBusiness",{eventLabel:"Select",eventMetadata:{description:e}}),M((0,w.JY)((null===(n=r.data)||void 0===n?void 0:n.updateUser5.user)||null,t)),[3,4];case 3:return a=o.sent(),F((0,C.nU)(a)),[3,4];case 4:return[3,6];case 5:(0,b.L9)("OnboardingAddressBusiness",{eventLabel:"Select",eventMetadata:{description:e}}),M((0,s.Z)((0,i.Z)({},t),{signupParams:(0,x.a)(t.signupParams,{addressDescription:e})})),o.label=6;case 6:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),[t,M,E]);return(0,c.jsx)(p.o,{route:_,direction:Z,goNext:B,goBack:P,stepIdx:y,stepCnt:L,stepIndicatorData:k,showLoader:T.loading,isMobile:t.isMobileAgent,iconText:N.Ut,title:N.OD,children:(0,c.jsxs)("div",{children:[(0,c.jsx)(g.v,{options:h.lP,optionToString:function(e){return h.cY[e]},selected:null===(e=t.signupParams)||void 0===e?void 0:e.addressDescription,onSelect:Y}),U&&(0,c.jsx)(l.Z,{mt:2,children:(0,c.jsx)(f.Z,{severity:"error",children:U})}),(0,c.jsx)(S,{})]})})}},51578:function(e,n,t){"use strict";t.d(n,{i:function(){return r}});var r=function(e,n){if(n)return e}}},function(e){e.O(0,[5910,9438,8256,2876,1940,3568,4539,9774,2888,179],(function(){return n=94095,e(e.s=n);var n}));var n=e.O();_N_E=n}]); 2//# sourceMappingURL=describeaddress-db17200c6b5a117f.js.map
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.