PageSourceSearch

https://www.hagerty.com/marketplace/_next/static/chunks/2148.61e4fabb6d84d7f1.js

js hagerty.com collected 2026-09-24 07:58:53 UTC 65,446 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f46f73c1-bf35-41cf-b832-a7b7c3cae5b7",e._sentryDebugIdIdentifier="sentry-dbid-f46f73c1-bf35-41cf-b832-a7b7c3cae5b7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2148,9701],{892:e=>{e.exports={"avatar-with-icon":"AvatarWithIcon_avatar-with-icon__lDgUE","avatar-with-icon__icon":"AvatarWithIcon_avatar-with-icon__icon__vzxP4","avatar-with-icon--size-xxxs":"AvatarWithIcon_avatar-with-icon--size-xxxs__6ySJ0","avatar-with-icon--size-xxs":"AvatarWithIcon_avatar-with-icon--size-xxs__At4Qu","avatar-with-icon--size-xs":"AvatarWithIcon_avatar-with-icon--size-xs__xU2wW","avatar-with-icon--size-s":"AvatarWithIcon_avatar-with-icon--size-s__s49cU","avatar-with-icon--size-sm":"AvatarWithIcon_avatar-with-icon--size-sm__B4G5e","avatar-with-icon--size-xm":"AvatarWithIcon_avatar-with-icon--size-xm__q8htk","avatar-with-icon--size-m":"AvatarWithIcon_avatar-with-icon--size-m__guKAp","avatar-with-icon--size-l":"AvatarWithIcon_avatar-with-icon--size-l__LDwtb"}},3370:(e,t,i)=>{"use strict";i.d(t,{$_:()=>a,Pw:()=>l,iD:()=>n});var r=i(50034);let a=()=>"https://customer.prod.marketplace-prod.hagerty.com",n=()=>{var e;return null!=(e=(0,r.R)().accessToken)?e:null},l=e=>({Authorization:"Bearer ".concat(e),"Content-Type":"application/json"})},3722:e=>{e.exports={"features-section__title":"FeaturesSection_features-section__title__0Kpvu"}},5095:(e,t,i)=>{"use strict";i.d(t,{a:()=>a});var r=i(66707);let a=e=>{var t,i;(0,r.a)("view",{_tag_name:"build_garage",public_visibility:e.visibilitySettings.public,cover_image_completion:!!(null!=(t=e.coverImage)&&t.cropped.url),profile_image_completion:!!(null!=(i=e.avatar)&&i.cropped.url),location_completion:!!e.state&&!!e.city,story_completion:!!e.story,num_vehicles:e.vehicles.length,comments_enabled:!e.cantComment})}},7444:(e,t,i)=>{"use strict";i.d(t,{F:()=>en}),i(81232);var r=i(18334),a=i(83070),n=i(28382),l=i(82770),o=i(40241),s=i(14232),c=i(79579),d=i(3370);let u=async e=>{if(!(0,d.$_)())return c.vF.debug({NEXT_PUBLIC_MARKETPLACE_API_URL:(0,d.$_)()},"NEXT_PUBLIC_MARKETPLACE_API_URL is undefined"),{success:!1,error:Error("NEXT_PUBLIC_MARKETPLACE_API_URL is not defined"),reason:"missing-config"};let t=(0,d.iD)();if(!t)return c.vF.warn("setNotificationsPreferences called without an access token"),{success:!1,error:Error("No access token available"),reason:"unauthenticated"};try{let i=await fetch("".concat((0,d.$_)(),"/api/notifications/preferences"),{method:"POST",headers:(0,d.Pw)(t),body:JSON.stringify(e)});if(!i.ok)return{success:!1,error:Error("".concat(i.status,": ").concat(i.statusText))};return{success:!0}}catch(e){return{success:!1,error:e}}};var _=i(20596),p=i(48230),f=i.n(p),m=i(76745),h=i(94588),b=i(59860),g=i(38176),v=i(69964),x=i.n(v),y=i(82612),j=i(66284),C=i(3337),w=i(97716),O=i(76626),k=i.n(O),N=i(37876);function S(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function P(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?S(Object(i),!0).forEach(function(t){(0,j.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let E=e=>{var t;let{name:i,label:r}=e,{receiveNotifications:a}=null!=(t=(0,g.mN)().getState().values.default)?t:{};return(0,N.jsx)(g.D0,{name:i,children:e=>{let{input:t}=e;return(0,N.jsxs)(w.l,{name:i,label:r,inputProps:P(P({},t),{},{onChange:e=>{t.onChange(e)}}),disabled:!a,selectButtonClassName:k()["email-notification-frequency-selector"],children:[(0,N.jsx)(w.l.Item,{value:C.bxE.Off,children:"Off"}),(0,N.jsx)(w.l.Item,{value:C.bxE.Instantly,children:"Immediately"}),(0,N.jsx)(w.l.Item,{value:C.bxE.Daily,children:"Daily"}),(0,N.jsx)(w.l.Item,{value:C.bxE.Weekly,children:"Weekly"})]})}})};var A=i(82101),M=i(77737),D=i(40970),I=i(25742),F=i(90138),L=i(82024),T=i(29026),R=i(24234),V=i(26826),B=i(56197),q=i(78851),G=i(52517),z=i(55010),U=i(45466),W=i(46513),H=i(37301),J=i.n(H);function Z(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function K(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?Z(Object(i),!0).forEach(function(t){(0,j.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Z(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function X(e,t,i){var r,a,n,l,o;let s=null!=(r=null!=(a=null==(n=e.getFieldState("bidder.".concat(t)))?void 0:n.value)?a:null==(l=e.getFieldState("default.".concat(t)))?void 0:l.value)?r:i;return s!==(null==(o=e.getFieldState("default.".concat(t)))?void 0:o.value)&&e.change("default.".concat(t),s),s}let Q=e=>{var t,i,r,a,n;let{handleSubmit:o,dirty:c,invalid:d,submitting:u,values:_,form:p,isClosedModalOpened:f,bidderOptOutFromSMSNotifications:m,isOpened:h,handleClose:b,setIsCloseModalOpened:v,onClose:x,marketplacePhoneValidator:y}=e,j=()=>c?v(!0):x(),{isFeatureEnabled:C}=(0,l.h)(),w=(null==(t=_.default)?void 0:t.newCommentOrReplyOnOwnVehicles)===A.bxE.Off&&(null==(i=_.default)?void 0:i.newCommentOrReplyOnOtherVehicles)===A.bxE.Off&&(null==(r=_.default)?void 0:r.newPrivateMessageOrReply)===A.bxE.Off,{change:O}=p;(0,s.useEffect)(()=>{var e;w&&null!=(e=_.default)&&e.receiveNotifications&&O("default.receiveNotifications",!1)},[w,O,C,null==(a=_.default)?void 0:a.receiveNotifications]);let k=A.bxE.Instantly;return(0,N.jsx)(B.b,{fullscreenVariant:"default",isOpened:h,"aria-labelledby":"edit-marketplace-notifications",onClose:j,children:(0,N.jsxs)("form",{onSubmit:o,children:[(0,N.jsxs)(W.H,{contentAs:"div",header:(0,N.jsx)(q.h,{headerAs:"div",actions:(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(T.$,{disabled:!c||d,type:"submit",size:"auto",isLoading:u,children:"Save"}),(0,N.jsx)(U.a.CloseButton,{onClick:j})]})}),title:"Marketplace notifications",children:[(0,N.jsx)("h2",{className:J()["edit-marketplace-notifications-modal__subtitle"],children:"Auctions notifications"}),(0,N.jsx)(L.b,{name:"bidder.receiveNotifications",disabled:!!m,size:"m",label:(0,N.jsx)("span",{className:J()["edit-marketplace-notifications-modal__checkbox-label"],children:"Receive email notifications"})}),(0,N.jsx)("p",{className:J()["edit-marketplace-notifications-modal__auction-description"],children:"By opting in to email notifications, you will recieve email alerts when an auction you're participating in is updated, ends that day, ends in an hour and when it has ended."}),(0,N.jsx)(L.b,{name:"bidder.receiveSMSNotifications",disabled:!!m,size:"m",label:(0,N.jsx)("span",{className:J()["edit-marketplace-notifications-modal__checkbox-label"],children:"Receive SMS notifications"})}),(0,N.jsx)("p",{className:J()["edit-marketplace-notifications-modal__auction-description"],children:"By opting into text notifications, you will receive text alerts related to your auctions."}),(0,N.jsx)(R.d,{htmlFor:"bidder.phoneNumber",required:!!(null!=(n=_.bidder)&&n.receiveSMSNotifications),children:"Phone number"}),(0,N.jsx)(F.F,{type:"tel",name:"bidder.phoneNumber",validate:y,format:D.q,parse:I.o,maxLength:M.AA.PHONE_MAX_LENGTH,placeholder:"(000) 000-0000",formElementClassName:J()["edit-marketplace-notifications-modal__phone-number-field"],"data-sentry-ignore":!0}),(0,N.jsx)(g.Pc,{subscription:{values:!0},render:e=>{let{form:t}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(g.D0,{name:"default.receiveSMSNotifications",children:e=>{var i;let{input:r}=e;return(0,N.jsx)("input",K(K({},r),{},{type:"hidden",value:X(t,"receiveSMSNotifications",null==(i=_.default)?void 0:i.receiveSMSNotifications)}))}}),(0,N.jsx)(g.D0,{name:"default.phoneNumber",children:e=>{var i;let{input:r}=e;return(0,N.jsx)("input",K(K({},r),{},{type:"hidden",value:X(t,"phoneNumber",null==(i=_.default)?void 0:i.phoneNumber)}))}})]})}}),(0,N.jsxs)("div",{className:J()["edit-marketplace-notifications-modal__disclaimer"],children:[(0,N.jsx)("div",{className:J()["edit-marketplace-notifications-modal__disclaimer-icon"],children:(0,N.jsx)(z.m,{})}),(0,N.jsxs)("p",{className:J()["edit-marketplace-notifications-modal__disclaimer-description"],children:[(0,N.jsxs)("span",{className:J()["edit-marketplace-notifications-modal__disclaimer-title"],children:["Attention"," "]}),"If you opt-out of SMS messages through text message, you will only be able to opt back in through that same method. Message and data rates may apply."]})]}),(0,N.jsx)(B.b.Separator,{className:J()["edit-marketplace-notifications-modal__separator"]}),(0,N.jsx)("h2",{className:J()["edit-marketplace-notifications-modal__subtitle"],children:"Comment & message notifications"}),(0,N.jsx)(g.D0,{name:"default.receiveNotifications",type:"checkbox",children:e=>
1{let{input:t}=e;return(0,N.jsx)(V.d,{inputProps:K(K({},t),{},{onChange:e=>{t.onChange(e),e&&w&&p.batch(()=>{O("default.newCommentOrReplyOnOwnVehicles",k),O("default.newCommentOrReplyOnOtherVehicles",k),C("MESSAGES")&&O("default.newPrivateMessageOrReply",k)})}}),name:"default.receiveNotifications",size:"m",label:(0,N.jsx)("span",{className:J()["edit-marketplace-notifications-modal__checkbox-label"],children:"Receive email notifications"}),className:J()["edit-marketplace-notifications-modal__notifications-switch"]})}}),(0,N.jsx)(E,{name:"default.newCommentOrReplyOnOwnVehicles",label:"New comment or reply on your vehicles"}),(0,N.jsx)(E,{name:"default.newCommentOrReplyOnOtherVehicles",label:"New comment or reply on other vehicles you commented on"}),C("MESSAGES")&&(0,N.jsx)(N.Fragment,{children:(0,N.jsx)(E,{name:"default.newPrivateMessageOrReply",label:"New private messages or replies"})}),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(B.b.Separator,{className:J()["edit-marketplace-notifications-modal__separator"]}),(0,N.jsx)("h2",{className:J()["edit-marketplace-notifications-modal__subtitle"],children:"Marketplace insights"}),(0,N.jsx)(L.b,{name:"default.classifiedToAuctionFunnelJourney",size:"m",className:J()["edit-marketplace-notifications-modal__classifiedJourneySwitch"],label:(0,N.jsx)("span",{className:J()["edit-marketplace-notifications-modal__checkbox-label"],children:"Receive email notifications"})}),(0,N.jsx)("p",{className:J()["edit-marketplace-notifications-modal__auction-description"],children:"Stay up to date on market trends, buying and selling best practices, valuation analysis and more from the Marketplace team."})]})]}),(0,N.jsx)(G.R,{id:"close-modal",title:"Are you sure you want to exit without saving?",description:"All the hard work you’ve put into this page will be lost if you exit now.",onClose:()=>v(!1),isOpened:f,isPortalDisabled:!0,primaryButton:{label:"Exit",onClick:()=>{b(),p.reset()}},secondaryButton:{label:"Cancel",onClick:()=>v(!1)}})]})})},$=["optOutFromSMSNotificationsViaSMS"],Y=["optOutFromSMSNotificationsViaSMS"],ee=(e,t)=>
1{var i;return null!=(i=t.bidder)&&i.receiveSMSNotifications?(0,y.V)(e):(0,y.N)(e)},et=e=>{let{isOpened:t,notificationPreferences:i,onClose:r,onSubmit:a}=e,{0:n,1:l}=(0,s.useState)(!1),o=i.bidder,{optOutFromSMSNotificationsViaSMS:c}=o,d=(0,b.A)(o,$),u=i.default,{optOutFromSMSNotificationsViaSMS:_}=u,p=(0,b.A)(u,Y),f=()=>{l(!1),r()};return(0,N.jsx)(g.lV,{onSubmit:e=>a({values:e,callback:f}),initialValues:{bidder:d,default:p},initialValuesEqual:x(),children:e=>{let{handleSubmit:i,dirty:a,invalid:o,submitting:s,values:d,form:u}=e;return(0,N.jsx)(Q,{handleSubmit:i,dirty:a,invalid:o,submitting:s,values:d,form:u,bidderOptOutFromSMSNotifications:!!c,isOpened:t,isClosedModalOpened:n,setIsCloseModalOpened:l,onClose:r,handleClose:f,marketplacePhoneValidator:ee})}})};var ei=i(76911),er=i.n(ei);let ea=e=>{let{notificationPreferences:t,isModalOpened:i,onCloseModal:r,onSubmit:a}=e;return(0,N.jsxs)("div",{className:er()["marketplace-notification-settings"],children:[(0,N.jsxs)("div",{className:er()["marketplace-notification-settings__label-row"],children:[(0,N.jsx)("div",{className:er()["marketplace-notification-settings__bell-icon"],children:(0,N.jsx)(m.X,{})}),(0,N.jsx)("p",{className:er()["marketplace-notification-settings__label"],children:"Marketplace notifications"})]}),(0,N.jsxs)("p",{className:er()["marketplace-notification-settings__description"],children:["Manage your notifications about any important activity within Marketplace.",(0,N.jsx)(f(),{href:h.J.myGarageMarketplaceNotifications,passHref:!0,shallow:!0,legacyBehavior:!0,children:(0,N.jsx)("a",{className:er()["marketplace-notification-settings__link"],children:"Settings"})})]}),(0,N.jsx)(et,{isOpened:!!i,notificationPreferences:t,onClose:r,onSubmit:a})]})},en=e=>{let{notificationPreferences:t,isModalOpened:i,onCloseModal:d,onShowAlert:p}=e,{addToast:f}=(0,o.d)(),[m]=(0,n.WTy)(),{setNotificationsPreferences:h}={setNotificationsPreferences:(0,s.useCallback)(e=>u(e),[])},{isFeatureEnabled:b}=(0,l.h)(),g=async e=>{var i,l,o,s,d,u,g,v,x,y,j;let{values:C,callback:w}=e,O={phoneNumber:null==(i=C.bidder)?void 0:i.phoneNumber,receiveNotifications:null==(l=C.bidder)?void 0:l.receiveNotifications,receiveSMSNotifications:null==(o=C.bidder)?void 0:o.receiveSMSNotifications},k={newCommentOrReplyOnOtherVehicles:null==(s=C.default)?void 0:s.newCommentOrReplyOnOtherVehicles,newCommentOrReplyOnOwnVehicles:null==(d=C.default)?void 0:d.newCommentOrReplyOnOwnVehicles,newPrivateMessageOrReply:null==(u=C.default)?void 0:u.newPrivateMessageOrReply,phoneNumber:null==(g=C.default)?void 0:g.phoneNumber,receiveNotifications:null==(v=C.default)?void 0:v.receiveNotifications,receiveSMSNotifications:null==(x=C.default)?void 0:x.receiveSMSNotifications,classifiedToAuctionFunnelJourney:null==(y=C.default)?void 0:y.classifiedToAuctionFunnelJourney},N=!1;C.default&&(N=!!C.default.phoneNumber&&(null==(j=t.default)?void 0:j.phoneNumber)!==C.default.phoneNumber);try{await m({variables:{input:{bidder:O,default:k}},refetchQueries:[n.Zop]})}catch(t){(0,r.Cp)(t);let e=t instanceof a.K4?t.graphQLErrors:[];f({title:(0,_.g)(e)||"Error occurred when changing notification preferences",variant:"error"});return}b("MONO_NOTIFICATIONS_API")&&h({bidder:O,default:k}).then(e=>{e.success||(c.vF.warn({error:e.error},"Failed to sync notification preferences to marketplace API"),"unauthenticated"!==e.reason&&(0,r.Cp)(e.error))}),w(),N&&p({variant:"success",title:"Phone number added"})};return(0,N.jsx)(ea,{notificationPreferences:t,isModalOpened:i,onCloseModal:d,onSubmit:g})}},12780:e=>{e.exports={"dealer-verification-request":"DealerVerificationRequest_dealer-verification-request__jfKPX","dealer-verification-request__description":"DealerVerificationRequest_dealer-verification-request__description__FuzdR","dealer-verification-request__viewable-link":"DealerVerificationRequest_dealer-verification-request__viewable-link__qgH6q"}},13807:(e,t,i)=>{"use strict";i.d(t,{D:()=>a});var r=i(14232);let a=()=>{let{0:e,1:t}=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(!0)},[]),e&&!0}},17055:(e,t,i)=>{"use strict";i.d(t,{Q:()=>o});var r=i(66284);i(50968),i(81232);var a=i(89099);function n(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?n(Object(i),!0).forEach(function(t){(0,r.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let o=e=>{let{query:t,push:i,pathname:r,asPath:n}=(0,a.useRouter)(),o=n.split("?")[0],s=Object.fromEntries(Object.entries(t).filter(e=>{let[t]=e;return r.includes("[".concat(t,"]"))})),c=Object.fromEntries(Object.entries(t).filter(t=>{let[i]=t;return!r.includes("[".concat(i,"]"))&&i!==e}));return[t[e],t=>{i({pathname:r,query:l(l(l({},s),c),t?{[e]:t}:void 0)},{pathname:o,query:l(l({},c),t?{[e]:t}:void 0)},{scroll:!1})}]}},18983:(e,t,i)=>{"use strict";i.d(t,{r:()=>F}),i(81232);var r=i(3337),a=i(14664),n=i(54287),l=i(63727),o=i(48230),s=i.n(o),c=i(14232),d=i(77737),u=i(20899),_=i(13807),p=i(36273),f=i(11919),m=i(94588),h=i(22681),b=i(64377),g=i(66284),v=i(49995),x=i(82101),y=i(19534),j=i(37876);let C=e=>{let{className:t}=e;return(0,j.jsxs)("svg",{className:t,width:"42",height:"48",viewBox:"0 0 42 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,j.jsx)("title",{children:"Drag"}),(0,j.jsxs)("g",{children:[(0,j.jsxs)("g",{children:[(0,j.jsx)("circle",{cx:"17.1172",cy:"12",r:"2",fill:"currentColor"}),(0,j.jsx)("circle",{cx:"24.1172",cy:"12",r:"2",fill:"currentColor"})]}),(0,j.jsxs)("g",{children:[(0,j.jsx)("circle",{cx:"17.1172",cy:"19",r:"2",fill:"currentColor"}),(0,j.jsx)("circle",{cx:"24.1172",cy:"19",r:"2",fill:"currentColor"})]}),(0,j.jsxs)("g",{children:[(0,j.jsx)("circle",{cx:"17.1172",cy:"26",r:"2",fill:"currentColor"}),(0,j.jsx)("circle",{cx:"24.1172",cy:"26",r:"2",fill:"currentColor"})]})]})]})};var w=i(24216),O=i(978),k=i(40656),N=i.n(k);function S(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function P(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?S(Object(i),!0).forEach(function(t){(0,g.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):S(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let E=(0,c.forwardRef)((e,t)=>{var i;let{vehicle:r,style:a,listeners:n,attributes:l,width:o,isActive:c=!1,isDragging:u=!1,onCtaClick:_}=e;return(0,j.jsx)(b.x.Column,P(P(P({lg:6,className:(0,v.A)(N()["vehicle-draggable-tile"],{[N()["vehicle-draggable-tile--active"]]:c,[N()["vehicle-draggable-tile--dragging"]]:u}),style:P({width:o},a)},n),l),{},{ref:t,"aria-describedby":"dnd-vehicle-".concat(r.id),children:(0,j.jsx)(s(),{href:m.J.vehicleManagement(r.id),legacyBehavior:!0,children:(0,j.jsxs)("a",{"aria-label":(0,O._)(r),id:"dnd-vehicle-".concat(r.id),onDragStart:e=>{e.preventDefault()},children:[(0,j.jsx)("span",{className:N()["vehicle-draggable-tile__drag"],children:(0,j.jsx)(C,{})}),(0,j.jsx)(y.L,{image:{alt:(0,O._)(r),src:null==(i=r.mainPhoto)?void 0:i.url},name:(0,O._)(r),likes:r.likes,isLiked:r.isLiked,label:(e=>{var t,i;return(null==(t=e.listing)?void 0:t.status)===x.A6P.Sold?"Sold":(null==(i=e.listing)?void 0:i.status)===x.A6P.Listed?(0,w.$)(e.listing.askingPrice):void 0})(r),comments:r.comments,badge:!r.visibilitySettings.public&&(0,j.jsx)(y.L.Badge,{name:"Private"}),withoutProgressiveLoading:u,withoutLazyLoading:u,showSellCta:!r.listing||d.AA.ALLOW_TO_CREATE_LISTING_WITH_STATUSES.includes(r.listing.status),vehicleId:r.id,onCtaClick:_})]})})}))});var A=i(66214),M=i.n(A);let D=e=>{let{vehicle:t,onTrackListingOpen:i}=e,{attributes:r,listeners:a,setNodeRef:o,transform:s,transition:c,isDragging:d}=(0,n.gl)({id:t.id}),u={transform:l.Ks.Transform.toString(s)||void 0,transition:c||void 0};return(0,j.jsx)(E,{isActive:d,vehicle:t,style:u,attributes:r,listeners:a,ref:o,onCtaClick:()=>null==i?void 0:i(t.sortOrder)})},I=e=>{let{vehicles:t,onChangeOrder:i,isError:r}=e,{0:l,1:o}=(0,c.useState)(t),g=(0,_.D)(),[v]=(0,u.d)(i,2e3),{0:x,1:y}=(0,c.useState)(void 0),C=(0,c.useRef)(null),w=(0,p.T)(),O=l.slice(0,d.AA.PRELOAD_ENTITIES_COUNT),k=(0,f.j)(),N=e=>{k("link",{_tag_name:"listing_open",position:e,selection_recipe:"garage_profile",num_vehicles:t.length})};(0,c.useEffect)(()=>{r&&o(t)},[t,r]);let S=(0,c.useCallback)(e=>{document.body.classList.add("has-drag-active"),y(e.active.id)},[]),P=(0,c.useCallback)(()=>{y(void 0),document.body.classList.remove("has-drag-active")},[]),A=(0,c.useCallback)(e=>{let{active:t,over:i}=e;P(),i&&t.id!==i.id&&o(e=>{let r=e.findIndex(e=>e.id===t.id),a=e.findIndex(e=>e.id===i.id),l=(0,n.be)(e,r,a);return v(l.map(e=>e.id)),l})},[P,v]);return(0,j.jsxs)(b.x.Row,{className:M()["vehicles-sortable-list"],gutters:!0,children:[(0,j.jsx)(b.x.Column,{ref:C,children:(0,j.jsx)(s(),{href:m.J.addVehicle,children:(0,j.jsx)(h.V,{})})}),(0,j.jsxs)(a.Mp,{sensors:w,onDragStart:S,onDragEnd:A,onDragCancel:P,children:[(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n.gB,{items:O,children:O.map(e=>(0,j.jsx)(D,{vehicle:e,onTrackListingOpen:N},e.id))}),g&&(0,j.jsx)(n.gB,{items:l.slice(d.AA.PRELOAD_ENTITIES_COUNT),children:l.slice(d.AA.PRELOAD_ENTITIES_COUNT).map(e=>(0,j.jsx)(D,{vehicle:e,onTrackListingOpen:N},e.id))})]}),(0,j.jsx)(a.Hd,{adjustScale:!0,children:x?(0,j.jsx)(E,{width:"100%",isDragging:!0,vehicle:t.find(e=>e.id===x)}):null})]})]})},F=e=>{let{vehicles:t}=e,[{error:i},a]=(0,r.HKq)(),n=async e=>{a({ids:e}
1,{errorToast:{title:"Error occurred while changing vehicles order"}})};return(0,j.jsx)(I,{isError:!!i,vehicles:t,onChangeOrder:n})}},19391:(e,t,i)=>{"use strict";i.d(t,{T:()=>F});var r=i(66284);i(81232);var a=i(14232),n=i(3337),l=i(11919),o=i(38176),s=i(89067),c=i(39190),d=i(29026),u=i(78851),_=i(45466),p=i(46513),f=i(52517),m=i(75240),h=i(90138),b=i(56197),g=i(20968),v=i(82612),x=i(77737),y=i(31934),j=i(29698),C=i(66707),w=i(40970),O=i(25742),k=i(28182),N=i.n(k),S=i(37876);let P=e=>{let{isOpened:t,onClose:i,onSubmit:r,onUploadCompleted:n}=e,{0:l,1:s}=(0,a.useState)(!1),k=(0,o.mN)(),P=k.getState();(0,C.a)("view",{_tag_name:"modal_view",virtual_page_name:"request dealer verification"},t);let E=()=>{s(!1),i()};return(0,S.jsx)(b.b,{fullscreenVariant:"default",isOpened:t,"aria-labelledby":"request-dealer-verification",onClose:()=>P.dirty?s(!0):i(),children:(0,S.jsxs)("form",{onSubmit:r,children:[(0,S.jsxs)(p.H,{contentAs:"div",header:(0,S.jsx)(u.h,{headerAs:"div",actions:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(d.$,{disabled:P.hasValidationErrors,type:"submit",size:"auto",isLoading:P.submitting,onClick:E,children:"Save"}),(0,S.jsx)(_.a.CloseButton,{onClick:()=>P.dirty?s(!0):i()})]})}),title:"Owner information",children:[(0,S.jsx)("h2",{className:N()["request-dealer-verification-modal__subtitle"],children:"Contact details"}),(0,S.jsx)("div",{className:N()["request-dealer-verification-modal__form-description"],children:"Contact information will be shared with the buyer when you accept their offer."}),(0,S.jsx)(m.g,{children:(0,S.jsx)(h.F,{className:N()["request-dealer-verification-modal__form-input"],maxLength:x.AA.DISPLAY_NAME_MAX_LENGTH,name:"dealerInfo.dealerName",placeholder:"Dealer Name",label:"Dealer Name",validate:y.y,"data-sentry-ignore":!0})}),(0,S.jsxs)(m.g,{children:[(0,S.jsx)(h.F,{className:N()["request-dealer-verification-modal__form-input"],maxLength:x.AA.EMAIL_MAX_LENGTH,name:"ownerInfo.email",validate:g.B,placeholder:"[email protected]",label:"Email","data-sentry-ignore":!0}),(0,S.jsx)(h.F,{maxLength:x.AA.PHONE_MAX_LENGTH,name:"ownerInfo.phone",validate:v.V,format:w.q,parse:O.o,placeholder:"xxxxxxxxxx",label:"Phone","data-sentry-ignore":!0})]}),(0,S.jsx)("h2",{className:N()["request-dealer-verification-modal__subtitle"],children:"Dealer verification"}),(0,S.jsx)("div",{className:N()["request-dealer-verification-modal__form-description"],children:"A dealership license helps us check the validity of your business. It also helps us keep Hagerty Marketplace secure, fight fraud, and more. Dealership License, xxx, xxx are accepted."}),(0,S.jsxs)(m.g,{children:[(0,S.jsx)(h.F,{className:N()["request-dealer-verification-modal__form-input"],maxLength:x.AA.LICENSE_NUMBER_MAX_LENGTH,name:"dealerInfo.licenseNumber",validate:y.y,placeholder:"1234567",label:"Dealer License Number","data-sentry-ignore":!0}),(0,S.jsx)(j.X,{name:"dealerInfo.expirationDate",placeholder:x.AA.DEFAULT_INPUT_FORMAT_DATE,label:"Dealer License Expiration Date",validate:y.y})]}),(0,S.jsx)(o.D0,{name:"dealerInfo.documents",validate:y.y,children:()=>(0,S.jsx)(c.Q,{name:"dealerInfo.documents",desktopTitle:"Add Front image of Dealer License:",mobileTitle:"Add Front image of Dealer License:",uploadNotes:"Make sure the photo isn’t blurry and that it clearly shows your face. If using a passport, take a picture of the page with your photo, name, and passport number.",maxFiles:x.AA.MAX_ID_DOCUMENTS_IMAGES_AMOUNT,onUploadFiles:n})})]}),(0,S.jsx)(f.R,{id:"close-modal",title:"Are you sure you want to exit without saving?",description:"All the hard work you’ve put into this page will be lost if you exit now.",onClose:()=>s(!1),isOpened:l,isPortalDisabled:!0,primaryButton:{label:"Exit",onClick:()=>{E(),k.reset()}},secondaryButton:{label:"Cancel",onClick:()=>s(!1)}})]})})};var E=i(12780),A=i.n(E);let M=e=>{let{onSubmit:t,onUploadCompleted:i}=e,[r,a]=(0,s.O)("request-dealer-verification");return(0,S.jsxs)("div",{className:A()["dealer-verification-request"],children:[(0,S.jsxs)("p",{className:A()["dealer-verification-request__description"],children:["Are you a dealer?",(0,S.jsx)("button",{type:"button",className:A()["dealer-verification-request__viewable-link"],onClick:()=>a(!0),children:"Upload Dealer License"})]}),(0,S.jsx)(o.lV,{onSubmit:t,children:e=>{let{handleSubmit:t}=e;return(0,S.jsx)(P,{isOpened:r,onClose:()=>a(!1),onSubmit:t,onUploadCompleted:i})}})]})};function D(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function I(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?D(Object(i),!0).forEach(function(t){(0,r.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):D(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let F=()=>{let[,e]=(0,n.d2M)(),{0:t,1:i}=(0,a.useState)([]),r=(0,l.j)();return(0,S.jsx)(M,{onSubmit:i=>{let{dealerInfo:a,ownerInfo:n}=i;e({input:{marketplaceContactInfo:n,dealerInfo:I(I({},a),{},{documents:t})}},{errorToast:{title:"Error occurred while requesting dealer verification"},onSuccess:()=>{r("link",{_tag_name:"dealer_verification_submit"})}})},onUploadCompleted:e=>i(e)})}},20152:e=>{e.exports={"private-profile-card":"PrivateProfileCard_private-profile-card__kFPNV","private-profile-card__desc":"PrivateProfileCard_private-profile-card__desc__7wbpY","private-profile-card__name":"PrivateProfileCard_private-profile-card__name__l9W_B","private-profile-card__badges":"PrivateProfileCard_private-profile-card__badges__4_z_B","private-profile-card__details":"PrivateProfileCard_private-profile-card__details__J83JN","private-profile-card__badge":"PrivateProfileCard_private-profile-card__badge__KkBvR","private-profile-card__badge--verified":"PrivateProfileCard_private-profile-card__badge--verified__l69L2","private-profile-card__properties":"PrivateProfileCard_private-profile-card__properties__liTBP","private-profile-card__property":"PrivateProfileCard_private-profile-card__property__Ox2D2"}},22681:(e,t,i)=>{"use strict";i.d(t,{V:()=>f});var r=i(66284),a=i(59860),n=i(14232),l=i(49995),o=i(37876);let s=e=>{let{className:t}=e;return(0,o.jsxs)("svg",{className:t,width:"58",height:"58",viewBox:"0 0 58 58",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsxs)("g",{filter:"url(#filter0_d)",children:[(0,o.jsx)("rect",{x:"1",width:"56",height:"56",rx:"28",fill:"currentColor"}),(0,o.jsx)("rect",{x:"28.291",y:"15.4004",width:"2.81647",height:"26.6",rx:"1.40823",fill:"white"}),(0,o.jsx)("rect",{x:"43",y:"27.2949",width:"2.81647",height:"26.6",rx:"1.40824",transform:"rotate(90 43 27.2949)",fill:"white"})]}),(0,o.jsx)("defs",{children:(0,o.jsxs)("filter",{id:"filter0_d",x:"0",y:"0",width:"58",height:"58",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,o.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,o.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,o.jsx)("feOffset",{dy:"1"}),(0,o.jsx)("feGaussianBlur",{stdDeviation:"0.5"}),(0,o.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0352941 0 0 0 0 0.0392157 0 0 0 0 0.0431373 0 0 0 0.05 0"}),(0,o.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,o.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]})})]})};var c=i(87e3),d=i.n(c);let u=["className"];function _(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function p(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?_(Object(i),!0).forEach(function(t){(0,r.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):_(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let f=(0,n.forwardRef)((e,t)=>{let{className:i}=e,r=(0,a.A)(e,u);return(0,o.jsxs)("button",p(p({ref:t,type:"button",className:(0,l.A)(d()["add-placeholder"],i)},r),{},{children:[(0,o.jsx)(s,{}),"Add Vehicle"]}))})},22965:(e,t,i)=>{"use strict";i.d(t,{E:()=>o}),i(70418);var r=i(49995),a=i(86378),n=i.n(a),l=i(37876);let o=e=>{let{children:t,className:i,truncate:a,style:o}=e;return(0,l.jsxs)("div",{className:(0,r.A)(n().text,i,{[n()["text--truncate"]]:a}),style:o,children:[!a&&t.split(/\n+/g).map((e,t)=>(0,l.jsx)("p",{children:e},t)),a&&t]})}},24424:e=>{e.exports={"display-name-force-updated-alert":"DisplayNameForceUpdatedAlert_display-name-force-updated-alert__S6aVT","display-name-force-updated-alert__button-link":"DisplayNameForceUpdatedAlert_display-name-force-updated-alert__button-link__nN_EF"}},28182:e=>{e.exports={"request-dealer-verification-modal__subtitle":"RequestDealerVerificationModal_request-dealer-verification-modal__subtitle__nu_sG","request-dealer-verification-modal__form-input"
1:"RequestDealerVerificationModal_request-dealer-verification-modal__form-input__BTmZD","request-dealer-verification-modal__form-description":"RequestDealerVerificationModal_request-dealer-verification-modal__form-description__Oue6c"}},29893:(e,t,i)=>{"use strict";i.d(t,{_:()=>k});var r=i(14232),a=i(66284),n=i(59860),l=i(49995),o=i(53634),s=i(892),c=i.n(s),d=i(37876);let u=["icon"];function _(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}let p=e=>{let{icon:t}=e,i=(0,n.A)(e,u);return(0,d.jsxs)("div",{className:(0,l.A)(c()["avatar-with-icon"],c()["avatar-with-icon--size-".concat(i.size)]),children:[(0,d.jsx)(o.e,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?_(Object(i),!0).forEach(function(t){(0,a.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):_(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},i)),(0,d.jsx)("div",{className:c()["avatar-with-icon__icon"],children:t})]})};var f=i(82770),m=i(51071),h=i(10488),b=i(38517),g=i(1141),v=i(20152),x=i.n(v);let y=(0,d.jsx)("div",{className:x()["private-profile-card__badge"],children:(0,d.jsx)(m.P,{className:x()["private-profile-card__badge--verified"]})}),j=(0,d.jsx)(g.f,{variant:"black",id:"dealer-badge-tooltip",placement:"bottom",content:"Dealer account",children:(0,d.jsx)("div",{className:x()["private-profile-card__badge"],children:(0,d.jsx)(h.k,{})})}),C=e=>{let{avatar:t,name:i,isVerified:r,isDealer:a,followers:n,following:o,className:s,style:c,onNameClick:u,onFollowersClick:_,onFollowingClick:p}=e,{isFeatureEnabled:m}=(0,f.h)(),h=m("DEALER")&&a,g=m("VERIFIED_CERTIFIED_USER")&&r;return(0,d.jsxs)("div",{className:(0,l.A)(x()["private-profile-card"],s),style:c,children:[t,(0,d.jsxs)("div",{className:x()["private-profile-card__desc"],children:[(0,d.jsxs)("span",{className:x()["private-profile-card__name"],onClick:u,onKeyDown:e=>{"Enter"===e.key&&u()},role:"button",tabIndex:0,children:[(0,d.jsx)("h1",{children:i}),(h||g)&&(0,d.jsxs)("div",{className:x()["private-profile-card__badges"],children:[h&&j,g&&y]}),(0,d.jsx)(b.R,{})]}),(0,d.jsxs)("div",{className:x()["private-profile-card__details"],children:[(h||g)&&(0,d.jsxs)("div",{className:x()["private-profile-card__badges"],children:[h&&j,g&&y]}),(0,d.jsxs)("div",{className:x()["private-profile-card__properties"],children:[(0,d.jsxs)("button",{type:"button",onClick:_,className:x()["private-profile-card__property"],children:[n.toLocaleString(),(0,d.jsx)("span",{children:"followers"})]}),(0,d.jsxs)("button",{type:"button",onClick:p,className:x()["private-profile-card__property"],children:[o.toLocaleString(),(0,d.jsx)("span",{children:"following"})]})]})]})]})]})},w=()=>(0,d.jsxs)("svg",{width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,d.jsx)("title",{children:"Camera"}),(0,d.jsx)("path",{d:"M13.0003 9.9125C13.0003 10.1954 12.8879 10.4668 12.6879 10.6668C12.4878 10.8669 12.2165 10.9793 11.9335 10.9793H2.33242C2.04949 10.9793 1.77814 10.8669 1.57808 10.6668C1.37802 10.4668 1.26563 10.1954 1.26562 9.9125V4.04515C1.26562 3.76222 1.37802 3.49088 1.57808 3.29082C1.77814 3.09075 2.04949 2.97836 2.33242 2.97836H4.466L5.53279 1.37817H8.73316L9.79995 2.97836H11.9335C12.2165 2.97836 12.4878 3.09075 12.6879 3.29082C12.8879 3.49088 13.0003 3.76222 13.0003 4.04515V9.9125Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,d.jsx)("path",{d:"M7.13261 8.84584C8.31095 8.84584 9.26619 7.8906 9.26619 6.71226C9.26619 5.53391 8.31095 4.57867 7.13261 4.57867C5.95426 4.57867 4.99902 5.53391 4.99902 6.71226C4.99902 7.8906 5.95426 8.84584 7.13261 8.84584Z",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]});var O=i(55640);let k=e=>{let{profile:t,isDealer:i,onNameClick:a,onAvatarClick:n}=e,l=(0,r.useCallback)(e=>{e.preventDefault(),n()},[n]);return(0,d.jsx)(O.p,{garageId:t.garageId,followersCount:t.followers||0,followingCount:t.following||0,children:e=>{var r;let{onFollowersClick:n,onFollowingClick:o}=e;return(0,d.jsx)(C,{name:t.displayName||"",avatar:(0,d.jsx)("a",{onClick:l,href:"#",children:(0,d.jsx)(p,{src:null==(r=t.avatar)?void 0:r.cropped.url,alt:"Owner Avatar",size:"xm",icon:(0,d.jsx)(w,{})})}),isVerified:t.verified,isDealer:i,followers:t.followers||0,following:t.following||0,onNameClick:a,onFollowersClick:n,onFollowingClick:o})}})}},36273:(e,t,i)=>{"use strict";i.d(t,{T:()=>n});var r=i(14664),a=i(54287);let n=()=>{let e=(0,r.MS)(r.cA,{activationConstraint:{distance:5}}),t=(0,r.MS)(r.IG,{activationConstraint:{delay:150,tolerance:10}}),i=(0,r.MS)(r.uN,{coordinateGetter:a.JR});return(0,r.FR)(e,t,i)}},37301:e=>{e.exports={"edit-marketplace-notifications-modal__subtitle":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__subtitle__1HugG","edit-marketplace-notifications-modal__disclaimer":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__disclaimer__T7_iz","edit-marketplace-notifications-modal__disclaimer-icon":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__disclaimer-icon__WuIEK","edit-marketplace-notifications-modal__disclaimer-title":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__disclaimer-title__rWEdN","edit-marketplace-notifications-modal__disclaimer-description":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__disclaimer-description__sO73J","edit-marketplace-notifications-modal__auctions-title":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__auctions-title__zajBs","edit-marketplace-notifications-modal__auction-description":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__auction-description__kmC14","edit-marketplace-notifications-modal__phone-number-field":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__phone-number-field___LbpF","edit-marketplace-notifications-modal__notifications-switch":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__notifications-switch__pSO9t","edit-marketplace-notifications-modal__separator":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__separator__DoTl6","edit-marketplace-notifications-modal__checkbox-label":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__checkbox-label__ZaQMW","edit-marketplace-notifications-modal__classifiedJourneySwitch":"EditMarketplaceNotificationsModal_edit-marketplace-notifications-modal__classifiedJourneySwitch__iGJSA"}},37925:e=>{e.exports={feature:"Feature_feature__LZv7X","feature--clickable":"Feature_feature--clickable__leHcY",feature__header:"Feature_feature__header__4gCG4","feature__header-edit-icon":"Feature_feature__header-edit-icon__qFc3x","feature__header-custom-icon":"Feature_feature__header-custom-icon__P0It_","feature__header-icon":"Feature_feature__header-icon__jQ_ox","feature__header-icon--lock":"Feature_feature__header-icon--lock__2bJsW","feature__header--disabled":"Feature_feature__header--disabled__V6aJz","feature__header-icon--completed":"Feature_feature__header-icon--completed__iEZHh","feature__header-icon--warning":"Feature_feature__header-icon--warning__uH5Is","feature__header-icon--error":"Feature_feature__header-icon--error__7Kmyy","feature__header-icon--disabled":"Feature_feature__header-icon--disabled__bn4TD","feature__edit-icon":"Feature_feature__edit-icon__zR
1HGN","feature__error-message":"Feature_feature__error-message__crs6v",feature__content:"Feature_feature__content__7W4_3"}},38517:(e,t,i)=>{"use strict";i.d(t,{R:()=>a});var r=i(37876);let a=e=>{let{className:t}=e;return(0,r.jsxs)("svg",{className:t,width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Pencil"}),(0,r.jsx)("path",{d:"M12.0909 1.59383C12.2763 1.40839 12.4964 1.26129 12.7387 1.16093C12.981 1.06057 13.2407 1.00891 13.503 1.00891C13.7652 1.00891 14.0249 1.06057 14.2672 1.16093C14.5095 1.26129 14.7296 1.40839 14.9151 1.59383C15.1005 1.77927 15.2476 1.99942 15.348 2.24171C15.4483 2.484 15.5 2.74369 15.5 3.00594C15.5 3.2682 15.4483 3.52788 15.348 3.77017C15.2476 4.01246 15.1005 4.23261 14.9151 4.41806L5.38331 13.9498L1.5 15.0089L2.55909 11.1256L12.0909 1.59383Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},40656:e=>{e.exports={"vehicle-draggable-tile":"VehicleDraggableTile_vehicle-draggable-tile__a2m_O","vehicle-draggable-tile--active":"VehicleDraggableTile_vehicle-draggable-tile--active__N0q_B","vehicle-draggable-tile__drag":"VehicleDraggableTile_vehicle-draggable-tile__drag__8YW50","vehicle-draggable-tile--dragging":"VehicleDraggableTile_vehicle-draggable-tile--dragging__X9Kpy"}},41120:e=>{e.exports={"info-box":"InfoBox_info-box__4Q3d0","info-box--variant-grey":"InfoBox_info-box--variant-grey__tNbqW","info-box-header":"InfoBox_info-box-header__EPHTj","info-box--variant-primary":"InfoBox_info-box--variant-primary__pAxlt","info-box--variant-secondary":"InfoBox_info-box--variant-secondary__Ax_Ou"}},43792:(e,t,i)=>{"use strict";i.d(t,{$:()=>M});var r=i(66284),a=i(14232),n=i(45565),l=i(28382),o=i(67327),s=i(26327),c=i(89099),d=i(49995),u=i(16291),_=i(29026),p=i(94588),f=i(93176),m=i(24424),h=i.n(m);i(81232);var b=i(78248),g=i(83070),v=i(18334),x=i(64067),y=i(37876);let j=e=>{let{displayName:t,items:i,className:r}=e,{0:n,1:o}=(0,a.useState)(!1),{push:s}=(0,c.useRouter)(),{isAcknowledged:m,isAcknowledging:j,onAlertClose:C}=(()=>{let{0:e,1:t}=(0,a.useState)(!1),{isAcknowledging:i,acknowledgeForceUpdate:r}=(()=>{let[e,{loading:t}]=(0,l.b9D)(),[i,{loading:r}]=(0,b._)(l.Zop);return{isAcknowledging:t||r,acknowledgeForceUpdate:(0,a.useCallback)(async()=>{var t,r,a,n,l;let o,{data:s,error:c}=await i({});if(c||!s){let e=null!=c?c:Error("No data from fetching profile.");return(0,v.Cp)(e),["failure",e]}let{displayName:d}=s.hdcNextMyProfile;if(!d)return["failure",Error("No display name on profile.")];try{let t=await e({variables:{displayname:d}});if(o=t.data,t.errors){let e=t.errors instanceof g.K4?t.errors:t.errors[0],i=Error(e instanceof g.K4&&null!=(r=null==(a=e.networkError)?void 0:a.message)?r:e.message);return(0,v.Cp)(i),["failure",i]}}catch(t){let e=Error(t instanceof g.K4&&null!=(n=null==(l=t.networkError)?void 0:l.message)?n:t.message);return(0,v.Cp)(e),["failure",e]}let u=(null==(t=o)?void 0:t.myGarageUpdateMyProfile.errors)?Error("An unexpected error has occurred while acknowledging display name change."):void 0;if(u||!o){let e=null!=u?u:Error("No data from updating profile.");return(0,v.Cp)(e),["failure",e]}return["success"]},[e,i])}})(),{addAlert:n}=(0,x.Z)(),o=(0,a.useCallback)(async()=>{if(i)return;let[e]=await r();"failure"===e&&n({scope:"all",exclusiveDisplayKey:"unexpected-error",title:"An unexpected error has occurred.",desc:"Please try again.  If the issue persists, contact support.",variant:"error"}),"success"===e&&t(!0)},[r,n,i,t]);return{isAcknowledged:e,isAcknowledging:i,onAlertClose:o}})();return m?null:(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(u.F,{variant:"warning",title:"Updated display name",desc:["Your display name has been updated to ",t," to meet new requirements. ",(0,y.jsx)(_.$,{id:h()["display-name-force-updated-alert__button-link"],variant:"text",onClick:()=>o(!0),className:h()["display-name-force-updated-alert__button-link"],dataTestId:"display-name-force-updated-alert-link",children:"Learn more here."}),""],className:(0,d.A)(r,h()["display-name-force-updated-alert"]),alwaysShowChildren:!0,closeButtonLoading:j,onClose:C,dataTestid:"display-name-force-updated-alert",children:(0,y.jsx)(_.$,{onClick:()=>s(p.J.myGarageDisplayName),color:"dark",size:"s",dataTestId:"display-name-force-updated-alert-action",children:"Change display name"})}),(0,y.jsx)(f.O,{items:i,title:"FAQ: Marketplace display name",initialIndex:0,isOpened:n,onClose:()=>o(!1)})]})},C=e=>{let{className:t}=e,{isLoggedIn:i}=(0,o.A)(),{data:r,loading:a}=(0,l.kcI)({skip:!i}),{isLoading:c,items:d}=(0,s.o)(n.E.UNIQUE_DISPLAY_NAME);return i&&!a&&!c&&null!=r&&r.hdcNextMyProfile.displayNameForceUpdatedAt&&null!=r&&r.hdcNextMyProfile.displayName?(0,y.jsx)(j,{items:d,className:t,displayName:r.hdcNextMyProfile.displayName}):null},w=e=>{let{valueName:t,children:i}=e,{0:r,1:n}=(0,a.useState)(!1);return((0,a.useEffect)(()=>{window&&n(!localStorage.getItem(t))},[t,n]),r)?i({hide:()=>{n(!1),localStorage.setItem(t,"true")}}):null};var O=i(3272);function k(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function N(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
1t%2?k(Object(i),!0).forEach(function(t){(0,r.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):k(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let S=e=>{let{scopes:t}=e,{alerts:i,removeAlert:r}=(0,x.Z)(),n=t.includes(O._),l=i.filter(e=>e.scope===O._||n||t.includes(e.scope)),o=(0,a.useCallback)(e=>()=>r(e),[r]);return l.length>0?(0,y.jsx)("div",{className:"alert-container",children:l.map(e=>(0,a.createElement)(u.F,N(N({},e),{},{key:e.id,onClose:o(e.id)})))}):null};var P=i(96179);function E(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function A(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?E(Object(i),!0).forEach(function(t){(0,r.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):E(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let M=e=>{let{isEmptyProfile:t,alertClassName:i,alert:r,setAlert:n}=e,l=(0,a.useCallback)(()=>n(void 0),[n]);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(C,{className:i}),(0,y.jsx)(P.W,{callbackUrl:p.J.myGarage,className:i}),(0,y.jsx)(S,{scopes:["my-garage"]}),(0,y.jsx)(w,{valueName:"firstGarageView",children:e=>{let{hide:r}=e;return t?(0,y.jsx)(u.F,{variant:"success",title:"Welcome to My Garage!",desc:"Tell your story and add the vehicles own below",className:i,onClose:r}):null}}),!!r&&(0,y.jsx)(u.F,A(A({},r),{},{onClose:l,className:i}))]})}},44114:e=>{e.exports={"visibility-settings-modal__privacy-info":"EditVisibilitySettingsModal_visibility-settings-modal__privacy-info__Y_rDx"}},50416:(e,t,i)=>{"use strict";i.d(t,{t:()=>m});var r=i(49995),a=i(3722),n=i.n(a);i(14232);var l=i(38517),o=i(71751),s=i(70619),c=i(73020),d=i(5024),u=i(37876);let _=e=>{let{className:t}=e;return(0,u.jsxs)("svg",{className:t,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("title",{children:"pencile"}),(0,u.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0042 2.66699C8.64522 2.66699 2.6709 8.64132 2.6709 16.0003C2.6709 23.3593 8.64522 29.3337 16.0042 29.3337C23.3632 29.3337 29.3376 23.3593 29.3376 16.0003C29.3376 8.64132 23.3632 2.66699 16.0042 2.66699ZM16.0042 4.61827C22.2863 4.61827 27.3863 9.71829 27.3863 16.0003C27.3863 22.2824 22.2863 27.3824 16.0042 27.3824C9.7222 27.3824 4.62217 22.2824 4.62217 16.0003C4.62217 9.71829 9.7222 4.61827 16.0042 4.61827Z",fill:"currentColor"}),(0,u.jsx)("circle",{cx:"16.0039",cy:"16",r:"12",fill:"currentColor"}),(0,u.jsx)("path",{d:"M19.0818 10.5014C19.2407 10.3424 19.4294 10.2163 19.6371 10.1303C19.8448 10.0443 20.0674 10 20.2922 10C20.517 10 20.7395 10.0443 20.9472 10.1303C21.1549 10.2163 21.3436 10.3424 21.5025 10.5014C21.6615 10.6603 21.7876 10.849 21.8736 11.0567C21.9596 11.2644 22.0039 11.487 22.0039 11.7117C22.0039 11.9365 21.9596 12.1591 21.8736 12.3668C21.7876 12.5745 21.6615 12.7632 21.5025 12.9221L13.3325 21.0922L10.0039 22L10.9117 18.6714L19.0818 10.5014Z",stroke:"white",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})};var p=i(37925),f=i.n(p);let m=e=>{let{title:t,subTitle:i,total:a,completed:l,children:o,className:s,titleClassName:c,style:d}=e;return(0,u.jsxs)("section",{className:(0,r.A)([s,c]),style:d,children:[(0,u.jsxs)("h2",{className:n()["features-section__title"],children:[t,!!a&&void 0!==l&&(0,u.jsx)("span",{children:"".concat(l," of ").concat(a," completed")}),i&&(0,u.jsx)("span",{children:i})]}),o]})};m.Feature=e=>{let{children:t,title:i,isCompleted:a,hasWarning:n=!1,isLocked:p=!1,errorMessage:m,className:h,titleClassName:b,style:g,onClick:v,icon:x,isDisabled:y}=e;return(0,u.jsxs)("div",{className:(0,r.A)(f().feature,{[f()["feature--clickable"]]:!!v},h),style:g,onClick:v,onKeyDown:e=>{"Enter"===e.key&&v&&v()},role:"button",tabIndex:0,children:[(0,u.jsxs)("button",{type:"button",className:(0,r.A)(b,f().feature__header,{[f()["feature__header--disabled"]]:y}),onClick:e=>{e.stopPropagation(),null==v||v()},children:[(0,u.jsxs)("div",{className:(0,r.A)(f()["feature__header-icon"],{[f()["feature__header-icon--completed"]]:a&&
1!p,[f()["feature__header-icon--warning"]]:n,[f()["feature__header-icon--error"]]:m,[f()["feature__header-icon--lock"]]:p,[f()["feature__header-icon--disabled"]]:y}),children:[p&&(0,u.jsx)(o.t,{}),m&&!p&&(0,u.jsx)(s.x,{}),n&&!p&&!m&&(0,u.jsx)(d.i,{}),!p&&!m&&!n&&(x?(0,u.jsx)("div",{className:f()["feature__header-custom-icon"],children:x}):(0,u.jsx)(c._,{})),!p&&(0,u.jsx)("div",{className:f()["feature__header-edit-icon"],children:(0,u.jsx)(_,{})})]}),i,!p&&(0,u.jsx)(l.R,{className:f()["feature__edit-icon"]})]}),m&&(0,u.jsx)("div",{className:f()["feature__error-message"],children:m}),t&&(0,u.jsx)("div",{className:f().feature__content,children:t})]})}},59701:(e,t,i)=>{"use strict";i.d(t,{w:()=>c});var r=i(48230),a=i.n(r),n=i(11919),l=i(94588),o=i(85869),s=i(37876);let c=e=>{let{className:t,style:i}=e,r=(0,n.j)(),c=()=>{r("link",{_tag_name:"page_interaction",action:"click",action_name:"faq"})};return(0,s.jsxs)(o.W,{className:t,style:i,children:[(0,s.jsx)(o.W.Title,{children:"Stalled out?"}),["Visit our ",(0,s.jsx)(a(),{href:l.J.aboutIndex,passHref:!0,legacyBehavior:!0,children:(0,s.jsx)("a",{target:"_blank",onClick:c,onKeyPress:c,role:"link",tabIndex:0,children:"FAQ"})}),""]]})}},64067:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});var r=i(14232),a=i(35631);let n=()=>{let e=(0,r.useContext)(a.C);if(void 0===e)throw Error("useAlerts must be used within an AlertContext");return e}},66214:e=>{e.exports={"vehicles-sortable-list":"VehiclesSortableList_vehicles-sortable-list__W5_3T"}},75556:e=>{e.exports={"visibility-fields-form__switch":"VisibilitySettings_visibility-fields-form__switch__eVgJ1","visibility-fields-form__viewable-link":"VisibilitySettings_visibility-fields-form__viewable-link__d90FO"}},76626:e=>{e.exports={"email-notification-frequency-selector":"EmailNotificationFrequencySelector_email-notification-frequency-selector__r1BX0"}},76745:(e,t,i)=>{"use strict";i.d(t,{X:()=>a});var r=i(37876);let a=e=>{let{className:t,filled:i}=e;return void 0===i?(0,r.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",className:t,children:[(0,r.jsx)("title",{children:"Bell"}),(0,r.jsx)("circle",{cx:"16",cy:"16",r:"16",fill:"#F4F6F8"}),(0,r.jsx)("circle",{r:"1.78538",transform:"matrix(-1 0 0 1 15.9549 21.4866)",fill:"#EAF9FF",stroke:"currentColor"}),(0,r.jsx)("circle",{r:"1.31203",transform:"matrix(-1 0 0 1 15.9555 9.01125)",fill:"currentcolor",stroke:"currentColor"}),(0,r.jsx)("path",{d:"M11.5695 14.2077V13.9163C11.5695 11.47 13.5532 9.48633 15.9995 9.48633C18.4459 9.48633 20.4295 11.47 20.4295 13.9163V14.2077C20.4295 15.6086 21.1747 16.911 22.3905 17.608C23.0215 17.9702 23.3828 18.3896 23.3828 18.8385C23.3828 20.198 20.0771 21.2996 15.9995 21.2996C11.922 21.2996 8.61623 20.198 8.61623 18.8385C8.61623 18.3896 8.97752 17.9702 9.60854 17.608C10.8243 16.912 11.5695 15.6086 11.5695 14.2077Z",fill:"currentcolor"}),(0,r.jsx)("path",{d:"M20.3152 14.0315C20.3152 11.5852 18.3316 9.60156 15.8853 9.60156C16.6323 10.0967 17.098 10.7443 17.098 12.1155C17.098 13.4867 17.0305 14.8579 17.5551 16.2292C18.0797 17.6004 18.4693 18.0575 18.4693 19.2002C18.4693 20.3429 16.8695 21.257 15.8853 21.4148C19.9628 21.4148 23.2686 20.3132 23.2686 18.9537C23.2686 18.5048 22.9073 18.0855 22.2762 17.7232C21.0605 17.0262 20.3152 15.7238 20.3152 14.3229V14.0315Z",fill:"#EAF9FF"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.9295 13.9202C20.9295 11.1977 18.722 8.99023 15.9995 8.99023C13.277 8.99023 11.0695 11.1977 11.0695 13.9202V14.2116C11.0695 15.4358 10.4181 16.5723 9.36013 17.1779L9.3596 17.1782C8.69635 17.559 8.11623 18.1075 8.11623 18.8424C8.11623 19.4011 8.45634 19.8538 8.88697 20.1932C9.32323 20.537 9.92351 20.8247 10.6207 21.0571C12.0203 21.5236 13.922 21.8035 15.9995 21.8035C18.0771 21.8035 19.9788 21.5236 21.3783 21.0571C22.0755 20.8247 22.6758 20.537 23.1121 20.1932C23.5427 19.8538 23.8828 19.4011 23.8828 18.8424C23.8828 18.1075 23.3027 17.559 22.6394 17.1782L22.6392 17.1781C21.5808 16.5713 20.9295 15.4356 20.9295 14.2116V13.9202ZM15.9995 9.99023C18.1697 9.99023 19.9295 11.75 19.9295 13.9202V14.2116C19.9295 15.7893 20.7685 17.2582 22.1416 18.0455C22.7404 18.3892 22.8828 18.6795 22.8828 18.8424C22.8828 18.9634 22.8097 19.1583 22.4931 19.4078C22.1821 19.6529 21.7011 19.8955 21.0621 20.1084C19.7895 20.5326 17.9995 20.8035 15.9995 20.8035C13.9995 20.8035 12.2096 20.5326 10.9369 20.1084C10.2979 19.8955 9.81695 19.6529 9.50595 19.4078C9.18934 19.1583 9.11623 18.9634 9.11623 18.8424C9.11623 18.6795 9.25869 18.3892 9.85749 18.0455C11.2308 17.2591 12.0695 15.789 12.0695 14.2116V13.9202C12.0695 11.75 13.8293 9.99023 15.9995 9.99023Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M10.9277 18.0605C11.4911 18.2594 12.0209 18.4294 12.5275 18.5706M21.212 18.0605C18.4477 18.9819 16.5091 19.2842 14.3558 18.9673",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}):i?(0,r.jsxs)("svg",{"data-testid":"bell-icon",xmlns:"http://www.w3.org/2000/svg",width:"13",height:"15",viewBox:"0 0 13 15",fill:"none",children:[(0,r.jsx)("path",{d:"M3.31806 1.31802C4.16197 0.474105 5.30656 0 6.50004 0C7.69351 0 8.83811 0.474105 9.68202 1.31802C10.5259 2.16193 11 3.30653 11 4.5C11 6.75966 11.4836 8.17565 11.939 9.01057C12.1674 9.4293 12.3914 9.70695 12.5505 9.87488C12.6302 9.95898 12.6939 10.0159 12.7342 10.0495C12.7543 10.0663 12.7686 10.0772 12.7762 10.0828L12.7819 10.087C12.9621 10.21 13.0419 10.4358 12.9786 10.6449C12.9147 10.8558 12.7204 11 12.5 11H0.500039C0.279705 11 0.0853421 10.8558 0.0214929 10.6449C-0.0418296 10.4358 0.038022 10.21 0.218173 10.087L0.223928 10.0828C0.23144 10.0772 0.245737 10.0663 0.265884 10.0495C0.306164 10.0159 0.369887 9.95898 0.449563 9.87488C0.608652 9.70695 0.832694 9.4293 1.06109 9.01057C1.51651 8.17565 2.00004 6.75966 2.00004 4.5C2.00004 3.30653 2.47414 2.16193 3.31806 1.31802Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M5.09581 12.7342C5.33468 12.5956 5.64064 12.6769 5.7792 12.9158C5.85245 13.0421 5.9576 13.1469 6.0841 13.2198C6.21061 13.2926 6.35404 13.331 6.50003 13.331C6.64602 13.331 6.78945 13.2926 6.91596 13.2198C7.04246 13.1469 7.14761 13.0421 7.22086 12.9158C7.35942 12.6769 7.66539 12.5956 7.90425 12.7342C8.14311 12.8727 8.22442 13.1787 8.08586 13.4176C7.9247 13.6954 7.69339 13.926 7.41507 14.0863C7.13676 14.2466 6.82121 14.331 6.50003 14.331C6.17885 14.331 5.86331 14.2466 5.58499 14.0863C5.30667 13.926 5.07536 13.6954 4.9142 13.4176C4.77564 13.1787 4.85695 12.8727 5.09581 12.7342Z",fill:"currentcolor"})]}):(0,r.jsx)("svg",{"data-testid":"bell-icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.81806 2.15255C5.66197 1.30864 6.80656 0.834534 8.00004 0.834534C9.19351 0.834534 10.3381 1.30864 11.182 2.15255C12.0259 2.99647 12.5 4.14106 12.5 5.33453C12.5 7.5942 12.9836 9.01018 13.439 9.84511C13.6674 10.2638 13.8914 10.5415 14.0505 10.7094C14.1302 10.7935 14.1939 10.8505 14.2342 10.884C14.2543 10.9008 14.2686 10.9118 14.2762 10.9174L14.2819 10.9216C14.4621 11.0445 14.5419 11.2703 14.4786 11.4794C14.4147 11.6903 14.2204 11.8345 14 11.8345H2.00004C1.77971 11.8345 1.58534 11.6903 1.52149 11.4794C1.45817 11.2703 1.53802 11.
10445 1.71817 10.9216L1.72393 10.9174C1.73144 10.9118 1.74574 10.9008 1.76588 10.884C1.80616 10.8505 1.86989 10.7935 1.94956 10.7094C2.10865 10.5415 2.33269 10.2638 2.56109 9.84511C3.01651 9.01018 3.50004 7.5942 3.50004 5.33453C3.50004 4.14106 3.97414 2.99647 4.81806 2.15255ZM3.12658 10.8345H12.8735C12.7712 10.6855 12.6658 10.5159 12.5611 10.324C12.0165 9.32555 11.5 7.74154 11.5 5.33453C11.5 4.40628 11.1313 3.51604 10.4749 2.85966C9.81854 2.20328 8.9283 1.83453 8.00004 1.83453C7.07178 1.83453 6.18154 2.20328 5.52517 2.85966C4.86879 3.51604 4.50004 4.40628 4.50004 5.33453C4.50004 7.74154 3.98357 9.32555 3.43899 10.324C3.33427 10.5159 3.22891 10.6855 3.12658 10.8345ZM6.59581 13.5687C6.83468 13.4301 7.14064 13.5115 7.2792 13.7503C7.35245 13.8766 7.4576 13.9814 7.5841 14.0543C7.71061 14.1272 7.85404 14.1655 8.00003 14.1655C8.14602 14.1655 8.28945 14.1272 8.41596 14.0543C8.54246 13.9814 8.64761 13.8766 8.72086 13.7503C8.85942 13.5115 9.16539 13.4301 9.40425 13.5687C9.64311 13.7073 9.72442 14.0132 9.58586 14.2521C9.4247 14.5299 9.19339 14.7605 8.91507 14.9208C8.63676 15.0811 8.32121 15.1655 8.00003 15.1655C7.67885 15.1655 7.36331 15.0811 7.08499 14.9208C6.80667 14.7605 6.57536 14.5299 6.4142 14.2521C6.27564 14.0132 6.35695 13.7073 6.59581 13.5687Z",fill:"currentColor"})})}},76911:e=>{e.exports={"marketplace-notification-settings":"MarketplaceNotificationSettings_marketplace-notification-settings__cMVqT","marketplace-notification-settings__label-row":"MarketplaceNotificationSettings_marketplace-notification-settings__label-row__F9J4x","marketplace-notification-settings__bell-icon":"MarketplaceNotificationSettings_marketplace-notification-settings__bell-icon__EAlm0","marketplace-notification-settings__label":"MarketplaceNotificationSettings_marketplace-notification-settings__label__jQfL0","marketplace-notification-settings__description":"MarketplaceNotificationSettings_marketplace-notification-settings__description__bd14I","marketplace-notification-settings__link":"MarketplaceNotificationSettings_marketplace-notification-settings__link__4_By_"}},85869:(e,t,i)=>{"use strict";i.d(t,{W:()=>_});var r=i(66284),a=i(59860),n=i(49995),l=i(86514),o=i.n(l),s=i(37876);let c=["className","children","hideDividerOnDesktop"];function d(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?d(Object(i),!0).forEach(function(t){(0,r.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let _=e=>{let{children:t,className:i,style:r,variant:a="white",testId:l}=e;return(0,s.jsx)("div",{className:(0,n.A)(o()["details-section"],{[o()["details-section--grey"]]:"grey"===a},i),style:r,"data-testid":l,children:t})};_.Title=e=>{let{className:t,children:i,hideDividerOnDesktop:r}=e,l=(0,a.A)(e,c);return(0,s.jsx)("h2",u(u({className:(0,n.A)(o()["details-section__title"],t,{[o()["details-section__title--without-divider"]]:r})},l),{},{children:i}))}},86231:(e,t,i)=>{"use strict";i.d(t,{w:()=>c});var r=i(14232),a=i(66707),n=i(94588),l=i(33933),o=i(81621),s=i(37876);let c=e=>{let{isPublic:t,slug:i,displayNameSanitize:c,onMakePublic:d,onOpenVisibilitySettings:u,onOpenNotificationSettings:_}=e,{0:p,1:f}=(0,r.useState)(!1);return(0,a.a)("view",{_tag_name:"modal_view",modal_type:"edit garage public settings"},p),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.s,{isPublic:t,notPublicTitle:"Not viewable to the public.",notPublicMobileTitle:"Not viewable to public",title:"Garage URL",url:n.J.publicGarageAbsolute(i,c),href:n.J.publicGarage(i,c),onMakePublic:()=>f(!0),children:[(0,s.jsx)(l.s.Button,{onClick:u,hiddenOnDesktop:!0,children:"Privacy settings"}),(0,s.jsx)(l.s.Button,{onClick:_,hiddenOnDesktop:!0,children:"Marketplace notifications"}),(0,s.jsx)(l.s.Button,{href:n.J.publicGarage(i,c),hidden:t,children:"Preview"})]}),(0,s.jsx)(o.g,{isPublic:t,onChange:()=>{f(!1),d()},isOpen:p,onClose:()=>f(!1)})]})}},86378:e=>{e.exports={text:"Text_text__P28Vy","text--truncate":"Text_text--truncate__H630g"}},86514:e=>{e.exports={"details-section":"DetailsSection_details-section___Ud9m","details-section--grey":"DetailsSection_details-section--grey__SzTtp","details-section__title":"DetailsSection_details-section__title__TgfER","details-section__title--without-divider":"DetailsSection_details-section__title--without-divider__7dyul"}},87e3:e=>{e.exports={"add-placeholder":"AddPlaceholder_add-placeholder__zG6I1"}},88648:(e,t,i)=>{"use strict";i.d(t,{G:()=>A}),i(81232);var r=i(14232),a=i(38176),n=i(26826),l=i(81621),o=i(58593),s=i(66707),c=i(75556),d=i.n(c),u=i(13675),_=i(45565),p=i(82770),f=i(94588),m=i(82024),h=i(29026),b=i(56197),g=i(49995),v=i(41120),x=i.n(v),y=i(37876);let j=e=>{let{variant:t="primary",children:i,className:r,style:a}=e;return(0,y.jsx)("div",{className:(0,g.A)(x()["info-box"],x()["info-box--variant-".concat(t)],r),style:a,children:i})};j.Header=e=>{let{children:t,className:i,style:r}=e;return(0,y.jsx)("div",{className:(0,g.A)(x()["info-box-header"],i),style:r,children:t})};
1var C=i(78851),w=i(52517),O=i(45466),k=i(59701),N=i(46513),S=i(44114),P=i.n(S);let E=e=>{let{onClose:t,isOpened:i,canUpdatePublicSetting:l,onPublicnessChange:c,onSubmit:d}=e,{0:g,1:v}=(0,r.useState)(!1),{0:x,1:S}=(0,r.useState)(!1),E=(0,a.lN)(),{isFeatureEnabled:A}=(0,p.h)(),M=(0,a.mN)(),D=()=>{v(!1),t()};return(0,s.a)("view",{_tag_name:"garage_privacy_settings"},i),(0,y.jsx)(b.b,{isOpened:i,fullscreenVariant:"default","aria-labelledby":"edit-garage-visibility-settings",onClose:()=>E.dirty?v(!0):t(),children:(0,y.jsxs)("form",{onSubmit:d,children:[(0,y.jsxs)(N.H,{contentAs:"div",header:(0,y.jsx)(C.h,{headerAs:"div",actions:(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(h.$,{type:"submit",size:"s",isLoading:E.submitting,onClick:D,children:"Save"}),(0,y.jsx)(O.a.CloseButton,{onClick:()=>E.dirty?v(!0):t()})]})}),title:"Privacy settings",sidebar:(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(u.r,{title:"FAQ: Privacy settings",slug:_.E.PRIVACY_SETTINGS,placement:"sidebar"}),(0,y.jsx)(k.w,{})]}),children:[(0,y.jsx)(a.D0,{name:"public",children:e=>{let{input:{value:t}}=e;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(b.b.SwitchesSection,{title:"Share publicly",children:(0,y.jsx)(n.d,{disabled:!l,inputProps:{onChange:c,onDisabledClick:()=>S(!0),checked:t},id:"public-switch",size:"m",name:"public",label:"Garage is viewable to public"})}),(0,y.jsx)(b.b.Separator,{}),(0,y.jsxs)(b.b.SwitchesSection,{title:"Change what others can see",children:[A("VERIFIED_CERTIFIED_USER")&&(0,y.jsx)(m.b,{size:"m",name:"insurance",label:"Insurance Badge",disabled:!t}),A("VERIFIED_CERTIFIED_USER")&&(0,y.jsx)(m.b,{size:"m",name:"membership",label:"Driver's Club Membership Badge",disabled:!t}),(0,y.jsx)(m.b,{size:"m",id:"location-switch",name:"location",label:"Display city and state",disabled:!t}),(0,y.jsx)(m.b,{size:"m",name:"story",label:"Story",disabled:!t})]})]})}}),(0,y.jsx)(j,{variant:"grey",className:P()["visibility-settings-modal__privacy-info"],children:["Hagerty respects your privacy and never sells your personal information to anybody. Our ",(0,y.jsx)("a",{href:f.J.privacyPolicy,target:"_blank",rel:"noreferrer",children:"Privacy Policy"})," explains how we treat your information."]})]}),(0,y.jsx)(w.R,{id:"close-modal",title:"Are you sure you want to exit without saving?",description:"All the hard work you’ve put into this page will be lost if you exit now.",onClose:()=>v(!1),isOpened:g,isPortalDisabled:!0,primaryButton:{label:"Exit",onClick:()=>{D(),M.reset()}},secondaryButton:{label:"Cancel",onClick:()=>v(!1)}}),(0,y.jsx)(o._,{title:"This garage is listed on Marketplace and cannot be made private",isOpen:x,onClose:()=>S(!1)})]})})},A=e=>{let{initialValues:t,onChange:i,canUpdatePublicSetting:c,className:u,isModalOpened:_,onCloseModal:p,onOpenModal:f}=e,{0:m,1:h}=(0,r.useState)(!1),{0:b,1:g}=(0,r.useState)(!1);return(0,s.a)("view",{_tag_name:"modal_view",modal_type:"garage public access"},m),(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(a.lV,{onSubmit:i(!0),initialValues:t,children:e=>{let{handleSubmit:r}=e;return(0,y.jsxs)("form",{onSubmit:r,className:u,children:[(0,y.jsx)(a.D0,{name:"public",children:e=>{let{input:i}=e;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(n.d,{disabled:!c,inputProps:{onChange:()=>h(!0),onDisabledClick:()=>g(!0),checked:i.value},className:d()["visibility-fields-form__switch"],size:"s",name:"public",label:"Viewable to public",description:(0,y.jsxs)(y.Fragment,{children:["Your garage will be visible to anyone with the share link.",t.public&&(0,y.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),f()},className:d()["visibility-fields-form__viewable-link"],id:"edit-garage-visibility-settings",children:"More settings"})]})}),(0,y.jsx)(l.g,{isPublic:i.value,onChange:()=>{i.onChange(!i.value),h(!1)},isOpen:m,onClose:()=>h(!1)}),(0,y.jsx)(o._,{title:"This garage is listed on Marketplace and cannot be made private",isOpen:b,onClose:()=>g(!1)})]})}}),(0,y.jsx)(a.Pc,{subscription:{values:!0},onChange:e=>{let{values:r}=e;t.public!==r.public&&i(!1)(r)}}),(0,y.jsx)(E,{isOpened:_,onClose:p,canUpdatePublicSetting:c,onPublicnessChange:()=>h(!0),onSubmit:r})]})}})})}},92056:e=>{e.exports={"my-garage__alert":"MyGarage_my-garage__alert__JwlT_","my-garage__context-menu":"MyGarage_my-garage__context-menu__YO38W","my-garage__share-button":"MyGarage_my-garage__share-button__gTMt4","my-garage__visibility-settings":"MyGarage_my-garage__visibility-settings__Bmaoj","my-garage__container":"MyGarage_my-garage__container__DT_F_","my-garage__features":"MyGarage_my-garage__features__bLioU","my-garage__sidebar":"MyGarage_my-garage__sidebar__cbpn_","my-garage__payment-disclaimer":"MyGarage_my-garage__payment-disclaimer__dyUcL","my-garage__cover-image":"MyGarage_my-garage__cover-image__0vyg5","vehicle-cards__container":"MyGarage_vehicle-cards__container__qBohL","vehicle-cards__container-title":"MyGarage_vehicle-cards__container-title__LqwgJ","vehicle-cards__container-body":"MyGarage_vehicle-cards__container-body__BGdTx"}},96179:(e,t,i)=>{"use strict";i.d(t,{W:()=>r});let r=e=>{let{className:t,callbackUrl:i}=e;return null}}}]);

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.