1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,845679,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),a=e.i(519130),o=e.i(454624),i=e.i(843476);let l=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var n=e.i(719636),s=e.i(942196),d=e.i(154033),c=e.i(940799),p=e.i(75149),u=e.i(535057),h=e.i(594425),f=e.i(540672),g=e.i(319727);function v(e){return(0,g.default)("MuiChip",e)}let m=(0,f.default)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var x=e.i(348106);let b=(0,c.styled)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{color:a,iconColor:o,clickable:i,onDelete:l,size:n,variant:d}=r;return[{[`& .${m.avatar}`]:t.avatar},{[`& .${m.avatar}`]:t[`avatar${(0,s.default)(n)}`]},{[`& .${m.avatar}`]:t[`avatarColor${(0,s.default)(a)}`]},{[`& .${m.icon}`]:t.icon},{[`& .${m.icon}`]:t[`icon${(0,s.default)(n)}`]},{[`& .${m.icon}`]:t[`iconColor${(0,s.default)(o)}`]},{[`& .${m.deleteIcon}`]:t.deleteIcon},{[`& .${m.deleteIcon}`]:t[`deleteIcon${(0,s.default)(n)}`]},{[`& .${m.deleteIcon}`]:t[`deleteIconColor${(0,s.default)(a)}`]},{[`& .${m.deleteIcon}`]:t[`deleteIcon${(0,s.default)(d)}Color${(0,s.default)(a)}`]},t.root,t[`size${(0,s.default)(n)}`],t[`color${(0,s.default)(a)}`],i&&t.clickable,i&&"default"!==a&&t[`clickableColor${(0,s.default)(a)}`],l&&t.deletable,l&&"default"!==a&&t[`deletableColor${(0,s.default)(a)}`],t[d],t[`${d}${(0,s.default)(a)}`]]}})((0,p.default)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${m.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${m.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${m.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${m.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${m.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${m.icon}`]:{marginLeft:5,marginRight:-6},[`& .${m.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${m.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${m.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,u.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${m.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${m.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${m.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${m.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter((0,u.default)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${m.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",curs
1or:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${m.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,u.default)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${m.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${m.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${m.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${m.avatar}`]:{marginLeft:4},[`& .${m.avatarSmall}`]:{marginLeft:2},[`& .${m.icon}`]:{marginLeft:4},[`& .${m.iconSmall}`]:{marginLeft:2},[`& .${m.deleteIcon}`]:{marginRight:5},[`& .${m.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,u.default)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${m.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${m.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${m.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),y=(0,c.styled)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:r}=e,{size:a}=r;return[t.label,t[`label${(0,s.default)(a)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function C(e){return"Backspace"===e.key||"Delete"===e.key}let k=t.forwardRef(function(e,o){let c=(0,h.useDefaultProps)({props:e,name:"MuiChip"}),{avatar:p,className:u,clickable:f,color:g="default",component:m,deleteIcon:k,disabled:S=!1,icon:I,label:$,onClick:T,onDelete:j,onKeyDown:w,onKeyUp:R,size:B="medium",variant:A="filled",tabIndex:O,skipFocusWhenDisabled:M=!1,slots:D={},slotProps:E={},...N}=c,P=t.useRef(null),L=(0,n.default)(P,o),z=e=>{e.stopPropagation(),j(e)},W=!1!==f&&!!T||f,V=W||j?d.default:m||"div",U={...c,component:V,disabled:S,size:B,color:g,iconColor:t.isValidElement(I)&&I.props.color||g,onDelete:!!j,clickable:W,variant:A},_=(e=>{let{classes:t,disabled:r,size:o,color:i,iconColor:l,onDelete:n,clickable:d,variant:c}=e,p={root:["root",c,r&&"disabled",`size${(0,s.default)(o)}`,`color${(0,s.default)(i)}`,d&&"clickable",d&&`clickableColor${(0,s.default)(i)}`,n&&"deletable",n&&`deletableColor${(0,s.default)(i)}`,`${c}${(0,s.default)(i)}`],label:["label",`label${(0,s.default)(o)}`],avatar:["avatar",`avatar${(0,s.default)(o)}`,`avatarColor${(0,s.default)(i)}`],icon:["icon",`icon${(0,s.default)(o)}`,`iconColor${(0,s.default)(l)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,s.default)(o)}`,`deleteIconColor${(0,s.default)(i)}`,`deleteIcon${(0,s.default)(c)}Color${(0,s.default)(i)}`]};return(0,a.default)(p,v,t)})(U),G=V===d.default?{component:m||"div",focusVisibleClassName:_.focusVisible,...j&&{disableRipple:!0}}:{},H=null;j&&(H=k&&t.isValidElement(k)?t.cloneElement(k,{className:(0,r.default)(k.props.className,_.deleteIcon),onClick:z}):(0,i.jsx)(l,{className:_.deleteIcon,onClick:z}));let F=null;p&&t.isValidElement(p)&&(F=t.cloneElement(p,{className:(0,r.default)(_.avatar,p.props.className)}));let K=null;I&&t.isValidElement(I)&&(K=t.cloneElement(I,{className:(0,r.default)(_.icon,I.props.className)}));let Q={slots:D,slotProps:E},[Y,q]=(0,x.default)("root",{elementType:b,externalForwardedProps:{...Q,...
1N},ownerState:U,shouldForwardComponentProp:!0,ref:L,className:(0,r.default)(_.root,u),additionalProps:{disabled:!!W&&!!S||void 0,tabIndex:M&&S?-1:O,...G},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),T?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),t.currentTarget===t.target&&C(t)&&t.preventDefault(),w&&w(t)},onKeyUp:t=>{e.onKeyUp?.(t),t.currentTarget===t.target&&j&&C(t)&&j(t),R&&R(t)}})}),[X,J]=(0,x.default)("label",{elementType:y,externalForwardedProps:Q,ownerState:U,className:_.label});return(0,i.jsxs)(Y,{as:V,...q,children:[F||K,(0,i.jsx)(X,{...J,children:$}),H]})});e.s(["default",0,k],845679)},297555,e=>{"use strict";var t=e.i(845679);e.s(["Chip",()=>t.default])},423742,e=>{"use strict";var t=e.i(843476),r=e.i(866796),a=e.i(893799);e.s(["default",0,e=>(0,t.jsx)(a.Link,{href:e.href,onClick:e.onClick,target:e.target,style:{textDecoration:"none"},children:(0,t.jsx)(r.Typography,{component:"span",variant:"body2",sx:{color:"text.primary",textDecoration:"underline",transition:"all .2s ease-in-out","&:hover":{color:"primary.main"},...e.sx},children:e.children})})])},650028,e=>{"use strict";var t=e.i(755742),r=e.i(843476);let a=(0,t.default)((0,r.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");e.s(["default",0,a])},701312,741015,661548,e=>{"use strict";var t=e.i(843476),r=e.i(948148),a=e.i(618566),o=e.i(650028),i=e.i(755742);let l=(0,i.default)((0,t.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");e.s(["default",0,l],741015);let n=(0,i.default)((0,t.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History");e.s(["default",0,n],661548);var s=e.i(297555),d=e.i(452092);e.s(["default",0,()=>{let e=(0,r.useTranslations)("Dashboard"),i=(0,a.useRouter)(),{user:c,onboarding:p}=(0,d.useUserContext)(),u=c?.kyc_statuses?.global===!0,h=p?.status,f=p?.result,g=u?"SUCCESS":"SUCCESS"===h&&"SUCCESS"===f?"ERROR":"CREATED"===h?"CREATED":"EXPIRED"===h?"ERROR":f??"NOT_PROVIDED",v="PENDING"===g,m="NOT_PROVIDED"===g,x="EXPIRED"===h,b="CREATED"===h;return(0,t.jsx)(s.Chip,{icon:v?(0,t.jsx)(n,{}):u?(0,t.jsx)(o.default,{}):(0,t.jsx)(l,{}),label:e(`documents.state.${g.toLowerCase()}`),color:b?"info":v?"warning":u?"success":m?"warning":"error",size:"small",onClick:()=>{x?i.push("/dashboard/documents"):b&&p?.url?i.push(p.url):i.push("/dashboard/documents")}})}],701312)},597126,e=>{"use strict";e.s(["PATH",0,{HOME:"/",BLOG:"/blog",MENTIONS:"/mentions-legales",PERSONAL_DATA:"/donnees-personnelles",LOGIN:"/login",REGISTER:"/register",FORGOT_PASSWORD:"/password-forgotten",BOOKING:"/booking",BOOKING_CONFIRMED:"/booking-confirmed",DASHBOARD:"/dashboard",PERSONAL_INFORMATION:"/dashboard/personal-information",DASHBOARD_BOOKINGS:"/dashboard/bookings/",DOCUMENTS:"/dashboard/documents",ACCOUNT_SECURITY:"/dashboard/account-security",BOOKINGS_UPCOMING:"/dashboard/bookings?status=upcoming",BOOKING_PAYMENT_CONFIRMED:"/confirmed/",TRANSACTIONS:"/dashboard/b2b/transactions",DRIVERS:"/b2b/drivers",B2B_MIGRATION:"/b2b/migration",PAYMENT_CARDS:"/dashboard/transactions/payment-cards"}])},281200,e=>{"use strict";var t=e.i(872729);e.s(["Link",()=>t.default])},776552,e=>{"use strict";var t=e.i(819646);e.s(["Box",()=>t.default])},13934,e=>{"use strict";var t=e.i(843476),r=e.i(657688);e.s(["default",0,e=>{let{src:a,alt:o,width:i="100%",height:l="100%",objectFit:n="contain",priority:s=!1}=e;return(0,t.jsx)(r.default,{src:a,alt:o,width:0,height:0,sizes:"100vw",style:{width:i,height:l,objectFit:n,maxHeight:"100%",maxWidth:"100%"},priority:s},a)}])},313995,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),a=e.i(519130),o=e.i(940799),i=e.i(75149),l=e.i(594425),n=e.i(398020),s=e.i(843476);let d=(0,o.styled)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((0,i.default)(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),c=(0,o.styled)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((0,i.default)(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),p=t.forwardRef(function(e,t){let o=(0,l.useDefaultProps)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:p,className:u,orientation:h="horizontal",component:f=p||"vertical"===h?"div":"hr",flexItem:g=!1,light:v=!1,role:m="hr"!==f?"separator":void 0,textAlign:x="center",variant:b="fullWidth",...y}=o,C={...o,absolute:i,component:f,flexItem:g,light:v,orientation:h,role:m,textAlign:x,variant:b},k=(e=>{let{absolute:t,children:r,classes:o,flexItem:i,light:l,orientation:s,textAlign:d,variant:c}=e;return(0,a.default)({root:["root",t&&"absolute",c,l&&"light","vertical"===s&&"vertical",i&&"flexItem",r&&"withChildren",r&&"vertical"===s&&"withChildrenVertical","right"===d&&"vertical"!==s&&"textAlignRight","left"===d&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]},n.getDividerUtilityClass,o)})(C);return(0,s.jsx)(d,{as:f,className:(0,r.default)(k.root,u),role:m,ref:t,ownerState:C,"aria-orientation":"separator"===m&&("hr"!==f||"vertical"===h)?h:void 0,...y,children:p?(0,s.jsx)(c,{className:k.wrapper,ownerState:C,children:p}):null})});p&&(p.muiSkipListHighlight=!0),e.s(["Divider",0,p],313995)},552057,e=>{"use strict";e.i(247167);var t=e.i(270244),t=t,r=e.i(942196),a=e.i(912178),o=e.i(594425);let i=(0,t.default)({createStyledComponent:(0,a.default)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[`maxWidth${(0,r.default)(String(a.maxWidth))}`],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,o.useDefaultProps)({props:e,name:"MuiContainer"})});e.s(["default",0,i],552057)},791882,e=>{"use strict";var t=e.i(552057);e.s(["Container",()=>t.default])},38203,e=>{"use strict";var t=e.i(843476),r=e.i(776552),a=e.i(13934),o=e.i(522016),i=e.i(63244),l=e.i(271645);e.s(["default",0,e=>{let{variant:n="colored",width:s,height:d,link:c=!0}=e,p=(0,l.useMemo)(()=>({height:d,minWidth:110}),[d]),u=(0,l.useMemo)(()=>(0,t.jsx)(a.default,{src:`/${(0,i.getTenant)()}/logo/${n}.svg`,alt:"Carlili",width:s,height:d}),[n,s,d,c]);return c?(0,t.jsx)(o.default,{href:"/",style:p,children:u}):(0,t.jsx)(r.Box,{sx:p,children:u})}],38203)},414873,689761,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),a=e.i(519130),o=e.i(940799),i=e.i(75149),l=e.i(594425),n=e.i(942196),s=e.i(535057),d=e.i(67719),c=e.i(540672),p=e.i(319727);function u(e){return(0,p.default)("MuiAppBar",e)}(0,c.default)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var h=e.i(843476);let f=(e,t)=>e?`${e.replace(")","")}, ${t})`:t,g=(0,o.styled)(d.default,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`position${(0,n.default)(r.position)}`],t[`color${(0,n.default)(r.color)}`]]}})((0,i.default)(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}}
1,{props:{color:"inherit"},style:{"--AppBar-color":"inherit",color:"var(--AppBar-color)"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter((0,s.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?f(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?f(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),v=t.forwardRef(function(e,t){let o=(0,l.useDefaultProps)({props:e,name:"MuiAppBar"}),{className:i,color:s="primary",enableColorOnDark:d=!1,position:c="fixed",...p}=o,f={...o,color:s,position:c,enableColorOnDark:d},v=(e=>{let{color:t,position:r,classes:o}=e,i={root:["root",`color${(0,n.default)(t)}`,`position${(0,n.default)(r)}`]};return(0,a.default)(i,u,o)})(f);return(0,h.jsx)(g,{square:!0,component:"header",ownerState:f,elevation:4,className:(0,r.default)(v.root,i,"fixed"===c&&"mui-fixed"),ref:t,...p})});e.s(["AppBar",0,v],414873);var m=e.i(776552),x=e.i(234251),b=e.i(791882),y=e.i(563745),C=e.i(866796),k=e.i(522016),S=e.i(192099),I=e.i(948148);e.s(["Banner",0,function(){let{config:e}=(0,S.useConfig)(),t=(0,I.useTranslations)("Index.section.first");if(!e?.banner?.enabled||!e.banner.text)return null;let r=e.banner.buttonEnabled?e.banner.buttonText||t("more"):null;return(0,h.jsx)(m.Box,{sx:{bgcolor:"primary.main",color:"primary.contrastText",py:1,width:"100%",margin:0,marginTop:0,paddingTop:1,paddingBottom:1},children:(0,h.jsx)(b.Container,{maxWidth:"xl",children:(0,h.jsxs)(y.Stack,{direction:"row",alignItems:"center",justifyContent:"center",spacing:2,flexWrap:"wrap",children:[(0,h.jsx)(C.Typography,{variant:"body2",component:"span",sx:{textAlign:"center"},children:e.banner.text}),e.banner.buttonEnabled&&r&&e.banner.buttonLink&&(0,h.jsx)(x.Button,{component:k.default,href:e.banner.buttonLink,variant:"outlined",size:"small",sx:{color:"primary.contrastText",borderColor:"primary.contrastText","&:hover":{borderColor:"primary.contrastText",bgcolor:"rgba(255, 255, 255, 0.1)"}},children:r})]})})})}],689761)},961974,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(107558),a=e.i(294231),a=a,o=e.i(486931);let i={...t}.useSyncExternalStore;function l(e={}){let{themeId:n}=e;return function(e,l={}){let s=(0,o.default)();s&&n&&(s=s[n]||s);let d="u">typeof window&&void 0!==window.matchMedia,{defaultMatches:c=!1,matchMedia:p=d?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:h=!1}=(0,a.default)({name:"MuiUseMediaQuery",props:l,theme:s}),f="function"==typeof e?e(s):e;return(f=f.replace(/^@media( ?)/m,"")).includes("print")&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(void 0!==i?function(e,r,a,o,l){let n=t.useCallback(()=>r,[r]),s=t.useMemo(()=>{if(l&&a)return()=>a(e).matches;if(null!==o){let{matches:t}=o(e);return()=>t}return n},[n,e,o,l,a]),[d,c]=t.useMemo(()=>
1{if(null===a)return[n,()=>()=>{}];let t=a(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[n,a,e]);return i(c,d,s)}:function(e,a,o,i,l){let[n,s]=t.useState(()=>l&&o?o(e).matches:i?i(e).matches:a);return(0,r.default)(()=>{if(!o)return;let t=o(e),r=()=>{s(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[e,o]),n})(f,c,p,u,h)}}l();let n=l({themeId:e.i(802001).default});e.s(["default",0,n],961974)},939882,e=>{"use strict";var t=e.i(961974);e.s(["useMediaQuery",()=>t.default])},546475,e=>{"use strict";var t=e.i(217255),r=e.i(452392),a=e.i(412776);let o=async e=>{let o=(0,r.default)(e);await o.post(`${a.BASE_API_URL}/auth/logout`),(0,t.signOut)({callbackUrl:"/"})};e.s(["logout",0,o])},227581,39210,e=>{"use strict";var t=e.i(617590);e.s(["Menu",()=>t.default],227581),e.i(247167);var r=e.i(271645),a=e.i(207670),o=e.i(519130),i=e.i(940799),l=e.i(75149),n=e.i(594425),s=e.i(540672),d=e.i(319727);function c(e){return(0,d.default)("MuiToolbar",e)}(0,s.default)("MuiToolbar",["root","gutters","regular","dense"]);var p=e.i(843476);let u=(0,i.styled)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((0,l.default)(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),h=r.forwardRef(function(e,t){let r=(0,n.useDefaultProps)({props:e,name:"MuiToolbar"}),{className:i,component:l="div",disableGutters:s=!1,variant:d="regular",...h}=r,f={...r,component:l,disableGutters:s,variant:d},g=(e=>{let{classes:t,disableGutters:r,variant:a}=e;return(0,o.default)({root:["root",!r&&"gutters",a]},c,t)})(f);return(0,p.jsx)(u,{as:l,className:(0,a.default)(g.root,i),ref:t,ownerState:f,...h})});e.s(["Toolbar",0,h],39210)},852258,e=>{"use strict";var t=e.i(755742),r=e.i(843476);let a=(0,t.default)((0,r.jsx)("path",{d:"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z"}),"Phone");e.s(["default",0,a])},224376,e=>{"use strict";var t=e.i(247167),r=e.i(843476),a=e.i(414873),o=e.i(776552),i=e.i(234251),l=e.i(297555),n=e.i(791882),s=e.i(313995),d=e.i(630253),c=e.i(281200),p=e.i(227581),u=e.i(563745),h=e.i(39210),f=e.i(866796),g=e.i(939882),v=e.i(210557),m=e.i(852258),x=e.i(271645),b=e.i(425807),y=e.i(63244),C=e.i(785914),k=e.i(701312),S=e.i(423742),I=e.i(793332),$=e.i(38203),T=e.i(597126),j=e.i(546475),w=e.i(217255),R=e.i(893799),B=e.i(618566),A=e.i(948148),O=e.i(452092),M=e.i(689761);e.s(["Navbar",0,function({logo:e,centerSlot:D,bottomSlot:E,loggedLinks:N,unloggedLinks:P}){let{session:L,user:z}=(0,O.useUserContext)(),W=L?.user?.isB2b;(0,B.useRouter)();let V=(0,A.useTranslations)("Navbar"),U=(0,A.useTranslations)("B2B"),_=(0,A.useTranslations)("Common.customerService"),G=[{type:"link",href:"/dashboard/bookings",text:V("bookings"),fontWeight:500},{type:"divider"},{type:"link",href:"/dashboard/personal-information",text:V("account"),fontWeight:500}],H={type:"link",onClick:()=>L?(0,j.logout)(L.jwt):(0,w.signOut)({callbackUrl:"/"}),href:"#",text:V("logout")},F=W?[{type:"link",href:T.PATH.DRIVERS,text:V("drivers"),fontWeight:500},{type:"divider"},...G,{type:"divider"},H]:[...G,{type:"divider"},{type:"link",href:T.PATH.B2B_MIGRATION,text:U("migration.migrateToCompany"),fontWeight:500},{type:"divider"},H],K=[{type:"link",href:"/login",text:V("login")},{type:"divider"},{type:"button",href:"/register",text:V("register")}],Q=[{type:"link",href:"/login",text:V("login")}],Y=(0,v.useTheme)(),[q,X]=(0,x.useState)(null),[J,Z]=(0,x.useState)(!1),ee=e=>{X(e.currentTarget)},et=()=>{X(null)},er=(0,x.useMemo)(()=>(L?N||F:"true"===t.default.env.NEXT_PUBLIC_NO_REGISTRATION?Q:P||K).map((e,t)=>"link"===e.type?(0,r.jsx)(S.default,{variant:"body2",...e,children:e.text},t):"divider"===e.type?(0,r.jsx)(s.Divider,{...e},t):"button"===e.type?(0,r.jsx)(i.Button,{href:e.href,...(()=>{let e={size:"small",color:"primary",sx:{textTransform:"uppercase"}};switch((0,y.getTenant)()){case"carlili":default:return{...e,color:"inherit"};case"cupra":return{...e,color:"primary"}}})(),children:e.text},t):(0,r.jsx)(r.Fragment,{})),[N,P,L]),ea=(0,x.useMemo)(()=>L?(0,r.jsxs)(u.Stack,{direction:"row",spacing:2,children:[(0,r.jsxs)(o.Box,{position:"relative",children:[(0,r.jsxs)(u.Stack,{minWidth:"max-content",onClick:ee,direction:"row",spacing:1,sx:{cursor:"pointer",alignItems:"center"},children:[(0,r.jsx)(f.Typography,{variant:"body2",fontWeight:500,children:V("hello",{username:L?.user?.particular?.firstName||L?.user?.email||""})}),(0,r.jsx)(C.Icon,{icon:W?"CompanyIcon":"account"})]}),(0,r.jsx)(p.Menu,{id:"menu-appbar",anchorEl:q,anchorOrigin:{vertical:"bottom",horizontal:"center"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"center"},onClose:et,open:!!q,slotProps:{paper:{sx:{pointerEvents:"auto",bgcolor:"background.default"}}},children:(0,r.jsx)(u.Stack,{padding:2,spacing:2,sx:{width:"180px"},children:er})})]}),z&&!z.kyc_statuses.global&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Divider,{orientation:"vertical",flexItem:!0}),(0,r.jsx)(k.default,{})]}),(0,r.jsx)(s.Divider,{orientation:"vertical",flexItem:!0}),(0,r.jsx)(I.default,{})]}):(0,r.jsx)(r.Fragment,{}),[z,q,J,N]),eo=(0,x.useMemo)(()=>(0,r.jsxs)(u.Stack,{direction:"row",spacing:2,alignItems:"center",children:[er,(0,r.jsx)(s.Divider,{orientation:"vertical",flexItem:!0}),(0,r.jsx)(I.default,{})]}),[V,P,er]),ei=(0,g.useMediaQuery)(Y.breakpoints.up("md")),el=(0,R.usePathname)(),en=(0,x.useMemo)(()=>!!el&&"/"===el,[el]),es=(0,x.useMemo)(()=>ei?b.headerHeight.desktop:b.headerHeight.mobile,[ei]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(o.Box,{sx:{position:"sticky",top:0,left:0,right:0,zIndex:e
1=>e.zIndex.drawer+1,margin:0,padding:0,marginTop:0},children:[(0,r.jsx)(M.Banner,{}),(0,r.jsxs)(a.AppBar,{position:"static",sx:((e,t,r)=>{let a={zIndex:t.zIndex.drawer+1,bgcolor:"transparent",boxShadow:"none",height:"auto"};switch((0,y.getTenant)()){case"carlili":return e?a:{bgcolor:r?"secondary.main":"background.default",boxShadow:r?"none":b.defaultBoxShadow};case"cupra":return e?a:{bgcolor:"background.paper",boxShadow:"none"}}})(J,Y,en),color:"transparent",children:[(0,r.jsxs)(h.Toolbar,{sx:{justifyContent:"space-between",px:{xs:0,md:3},height:"auto",display:{xs:"none",md:"flex"}},disableGutters:!0,children:[(0,r.jsx)(u.Stack,{children:void 0!==e?e:(0,r.jsx)($.default,{})}),(0,r.jsx)(o.Box,{sx:{display:{xs:"none",lg:"flex"},flexGrow:1},children:D||null}),(0,r.jsx)(o.Box,{children:(0,r.jsxs)(u.Stack,{direction:"row",alignItems:"center",spacing:2,children:[(0,r.jsx)(l.Chip,{icon:(0,r.jsx)(m.default,{sx:{color:"white !important"}}),label:_("phone"),sx:{bgcolor:"success.main",color:"white",fontWeight:600,"&:hover":{bgcolor:"success.dark"}}}),(0,r.jsx)(s.Divider,{orientation:"vertical",flexItem:!0}),L?ea:eo]})})]}),(0,r.jsx)(o.Box,{sx:{display:{xs:"flex",lg:"none"}},children:D||null}),E,(0,r.jsx)(d.Drawer,{slotProps:{paper:{sx:{width:"100%"}}},anchor:"left",open:J,onClose:()=>Z(!1),children:(0,r.jsx)(n.Container,{children:(0,r.jsxs)(u.Stack,{spacing:2,children:[(0,r.jsx)(o.Box,{height:es}),(0,r.jsx)(c.Link,{href:`tel:${_("phone")}`,sx:{textDecoration:"none",display:"flex",justifyContent:"center"},children:(0,r.jsx)(l.Chip,{icon:(0,r.jsx)(m.default,{sx:{color:"white !important"}}),label:_("phone"),sx:{bgcolor:"success.main",color:"white",fontWeight:600,fontSize:"1rem",py:2.5,"&:hover":{bgcolor:"success.dark"}}})}),er,(0,r.jsx)(s.Divider,{}),(0,r.jsxs)(u.Stack,{direction:"row",spacing:1,alignItems:"center",px:2,children:[(0,r.jsx)(f.Typography,{variant:"body2",fontWeight:500,children:"Langue :"}),(0,r.jsx)(I.default,{})]})]})})})]})]})})}],224376)}]);
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.