https://www.shimi.co.za/_next/static/chunks/898ce992abd71165.js?dpl=dpl_8LVkwcye4DLquKaNeEL6Bcd3gK9N
1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8368c34b-26e8-290f-4964-c06f0a94b094")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,603374,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(618566),i=e.i(271645),s=e.i(492161),l=e.i(37727),a=e.i(488844),o=e.i(972520),d=e.i(581418),c=e.i(715788),u=e.i(607486),f=e.i(204997),p=e.i(284614),h=e.i(333815),m=e.i(848531),g=e.i(685575),x=e.i(772562);let b=[{href:"#fleet",label:"Our fleet"},{href:"#proof",label:"Tracking & proof"},{href:"#reviews",label:"Reviews"},{href:"#faq",label:"FAQ"}],y=[{id:"business",label:"Business login",short:"Business login",href:"https://portal.shimi.co.za/login",icon:u.Building2,external:!0,accent:!0},{id:"login",label:"Log in",short:"Log in",href:"/login",icon:f.LogIn},{id:"driver",label:"Drive with us",short:"Driver",shortLabel:"Driver â drive with us",href:"/drive",icon:c.Truck,barHidden:!0}],v="group inline-flex items-center gap-1.5 h-9 pl-3 pr-3.5 rounded-full border text-[13px] font-medium transition-all duration-300",j=`${v} bg-destructive text-destructive-foreground border-transparent shadow-sm hover:bg-destructive/90`;function k({variant:e="transparent",badge:n}){let[l,o]=(0,i.useState)(!1),[u,f]=(0,i.useState)(!1),[p,g]=(0,i.useState)(!1),[b,k]=(0,i.useState)(!1),[_,N]=(0,i.useState)(!1),[C,M]=(0,i.useState)(!1),[S,E]=(0,i.useState)(!1),[O,I]=(0,i.useState)(!1),[L,R]=(0,i.useState)(!1),[T,A]=(0,i.useState)("solid"===e),P="transparent"===e,D=S&&(L||!P),z=`${v}
2 backdrop-blur-sm ${D?"bg-foreground/5 text-foreground border-border hover:bg-foreground/10":"bg-white/10 text-white border-white/25 hover:bg-white/20"}`,$=[...b?[{label:"Driver portal",short:"Driver",href:"/drive",icon:c.Truck}]:[],...!b||_?[{label:"Your orders",short:"Orders",href:"/orders",icon:a.Package}]:[],...p?[{label:"Admin portal",short:"Admin",href:"/admin",icon:d.ShieldCheck}]:[]];return(0,i.useEffect)(()=>{let e=(0,h.createClient)(),t=!0,r=async r=>{let n=r?.user;if(!t)return;let i=!!n&&!n.is_anonymous;if(!n||!i){f(!1),g(!1),k(!1),N(!1),o(!0);return}let s=await (0,m.resolveSpacesForUser)(e,n);t&&(f(s.signedIn),g(s.spaces.includes("admin")),k(s.hasDriverPortal),N(s.hasOrders),o(!0))};e.auth.getSession().then(({data:e})=>r(e.session));let{data:n}=e.auth.onAuthStateChange((e,t)=>{setTimeout(()=>void r(t),0)});return()=>{t=!1,n.subscription.unsubscribe()}},[]),(0,i.useEffect)(()=>{if("solid"===e)return;let t=()=>{let e=window.scrollY;E(e>0),I(e>160)};return t(),window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[e]),(0,i.useEffect)(()=>{let e=window.matchMedia("(min-width: 768px)"),t=()=>R(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,i.useEffect)(()=>{if(!P)return;let e=document.querySelector(".landing-hero");if(!e)return;let t=new IntersectionObserver(([e])=>A(!e.isIntersecting),{rootMargin:"-72px 0px 0px 0px"});return t.observe(e),()=>t.disconnect()},[P]),(0,i.useEffect)(()=>{if(!C)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[C]),(0,t.jsxs)(t.Fragment,{children:[P&&(0,t.jsx)("div",{"aria-hidden":!0,className:"landing-safe-cap md:hidden"}),(0,t.jsx)("header",{className:`landing-header ${P?"is-floating":""} ${"solid"===e?"is-solid":""} ${S?"is-scrolled":""} ${O?"is-scrolled-deep":""}`,children:(0,t.jsxs)("div",{className:`relative mx-auto max-w-7xl h-[72px] sm:h-20 px-4 sm:px-6 flex items-center justify-end gap-3 transition-colors duration-300 ${D?"text-foreground":"text-white"}`,children:[(0,t.jsxs)(r.default,{href:"/",className:`absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 flex items-center gap-2 transition-colors duration-300 ${D?"text-primary-deep":""}`,"aria-label":"SHIMI home",children:[(0,t.jsx)(x.LogoIcon,{className:"h-9 w-auto",monochrome:!D}),(0,t.jsx)(x.LogoText,{className:"h-6 w-auto"}),n&&(0,t.jsx)("span",{className:`inline-flex items-center rounded-full px-2 py-0.5 text-[10px] font-semibold uppercase leading-none tracking-wide transition-colors duration-300 ${D?"bg-primary/10 text-primary":"bg-white/15 text-white"}`,children:n})]}),l&&!u&&(0,t.jsx)("nav",{"aria-label":"Log in",className:"hidden lg:flex items-center gap-2 animate-fade-in",children:y.filter(e=>!e.barHidden).map(e=>{let{label:n,short:i,href:s,external:l,accent:a}=e,o=e.shortIcon??e.icon,d=a?j:z,c=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{size:15,className:"opacity-80 group-hover:opacity-100"}),i]}),u=e.shortLabel??n;return l?(0,t.jsx)("a",{href:s,"aria-label":u,className:d,children:c},n):(0,t.jsx)(r.default,{href:s,prefetch:!0,"aria-label":u,className:d,children:c},n)})}),l&&u&&(0,t.jsx)("nav",{"aria-label":"Your account",className:"hidden lg:flex items-center gap-2 animate-fade-in",children:$.map(({label:e,short:n,href:i,icon:s})=>(0,t.jsxs)(r.default,{href:i,prefetch:!0,"aria-label":e,className:z,children:[(0,t.jsx)(s,{size:15,className:"opacity-80 group-hover:opacity-100"}),n]},e))}),(0,t.jsx)("button",{type:"button",onClick:()=>M(!0),"aria-label":"Open menu","aria-expanded":C,className:`${P?"hidden md:inline-flex":"inline-flex"}
2 ${D?"hover:bg-foreground/10":"hover:bg-white/10"} items-center justify-center w-11 h-11 rounded-full transition-colors`,children:(0,t.jsx)(s.Menu,{size:22})})]})}),P&&(0,t.jsx)("button",{type:"button",onClick:()=>M(!0),"aria-label":"Open menu","aria-expanded":C,style:{top:"calc(0.75rem + env(safe-area-inset-top, 0px))",right:"calc(1rem + env(safe-area-inset-right, 0px))"},className:`md:hidden fixed z-[70] inline-flex h-12 w-12 items-center justify-center rounded-full border shadow-lg backdrop-blur-xl transition-colors duration-300 ${T?"bg-background/75 border-border text-foreground":"bg-white/10 border-white/25 text-white"}`,children:(0,t.jsx)(s.Menu,{size:22})}),(0,t.jsx)(w,{open:C,onClose:()=>M(!1),authResolved:l,isSignedIn:u,isAdmin:p,hasDriverPortal:b})]})}function w({open:e,onClose:i,authResolved:s,isSignedIn:u,isAdmin:f,hasDriverPortal:h}){let m="/"===(0,n.usePathname)();return(0,t.jsxs)("div",{className:`fixed inset-0 z-[80] transition-opacity duration-200 ${e?"opacity-100 visible":"opacity-0 invisible pointer-events-none"}`,"aria-hidden":!e,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-foreground
2/50 backdrop-blur-sm",onClick:i}),(0,t.jsxs)("aside",{role:"dialog","aria-modal":"true","aria-label":"Site navigation",style:{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},className:`absolute right-0 top-0 bottom-0 w-full max-w-sm bg-card shadow-2xl flex flex-col transition-transform duration-300 ${e?"translate-x-0":"translate-x-full"}`,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between h-16 px-5 border-b border-border",children:[(0,t.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.15em] text-muted-foreground",children:"Menu"}),(0,t.jsx)("button",{type:"button",onClick:i,"aria-label":"Close menu",className:"inline-flex items-center justify-center w-11 h-11 rounded-lg text-foreground hover:bg-muted transition-colors",children:(0,t.jsx)(l.X,{size:20})})]}),(0,t.jsxs)("nav",{className:"flex flex-1 flex-col overflow-y-auto px-3 py-4",children:[(0,t.jsx)("ul",{className:"flex flex-col gap-1",children:b.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:m?e.href:`/${e.href}`,onClick:i,className:"flex items-center justify-between gap-3 rounded-lg px-4 py-3 text-base font-medium text-foreground hover:bg-muted transition-colors",children:[(0,t.jsx)("span",{children:e.label}),(0,t.jsx)(o.ArrowRight,{size:16,className:"text-muted-foreground"})]})},e.href))}),s&&(0,t.jsxs)(r.default,{href:u?"/orders":"/login?redirect=/orders",onClick:i,prefetch:!0,className:"mt-auto flex shrink-0 items-center gap-2.5 rounded-lg border border-border bg-card px-4 py-3 text-sm font-semibold text-foreground transition-colors hover:bg-muted",children:[(0,t.jsx)(a.Package,{size:16,className:"text-primary"}),"My orders"]})]}),(0,t.jsxs)("div",{className:"border-t border-border p-4 space-y-2",children:[s?u?(0,t.jsxs)(t.Fragment,{children:[f&&(0,t.jsxs)(r.default,{href:"/admin",onClick:i,prefetch:!0,className:"flex items-center justify-center gap-2 rounded-lg bg-primary px-4 py-3 text-sm font-semibold text-primary-foreground hover:bg-primary-hover transition-colors",children:[(0,t.jsx)(d.ShieldCheck,{size:16}),"Admin portal"]}),h&&(0,t.jsxs)(r.default,{href:"/drive",onClick:i,prefetch:!0,className:"flex items-center justify-center gap-2 rounded-lg border border-border bg-card px-4 py-3 text-sm font-semibold text-foreground hover:bg-muted transition-colors",children:[(0,t.jsx)(c.Truck,{size:16}),"Driver portal"]}),(0,t.jsxs)(r.default,{href:"/account",onClick:i,prefetch:!0,className:"flex items-center justify-center gap-2 rounded-lg border border-border bg-card px-4 py-3 text-sm font-semibold text-foreground hover:bg-muted transition-colors",children:[(0,t.jsx)(p.User,{size:16}),"Your profile"]})]}):(0,t.jsx)(t.Fragment,{children:y.map(({label:e,href:n,icon:s,external:l,accent:a})=>{let o=a?"flex items-center gap-2.5 rounded-lg border border-transparent bg-destructive px-4 py-3 text-sm font-semibold text-destructive-foreground hover:bg-destructive/90 transition-colors":"flex items-center gap-2.5 rounded-lg border border-border bg-card px-4 py-3 text-sm font-semibold text-foreground hover:bg-muted transition-colors",d=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s,{size:16,className:a?void 0:"text-primary"}),e]});return l?(0,t.jsx)("a",{href:n,onClick:i,className:o,children:d},e):(0,t.jsx)(r.default,{href:n,onClick:i,prefetch:!0,className:o,children:d},e)})}):null,(0,t.jsxs)(g.default,{onClick:i,prefetch:!0,className:"mt-1 flex items-center justify-center gap-2 rounded-lg bg-primary px-4 py-3 text-sm font-semibold text-primary-foreground hover:bg-primary-hover transition-colors",children:["Book a delivery",(0,t.jsx)(o.ArrowRight,{size:16})]})]})]})]})}e.s(["default",()=>k])},546404,e=>{"use strict";e.i(247167).default.env.NEXT_PUBLIC_SITE_URL;let t="quote",r=`#${t}`,n=`/${r}`;function i(e){return`https://wa.me/27846887272?text=${encodeURIComponent(e)}`}e.s(["BOOK_HREF",0,n,"GOOGLE_REVIEWS_URL",0,"https://share.google/nW1a9L0al94jvLEVE","HERO_ID",0,t,"QUOTE_ANCHOR",0,r,"SITE_PHONE",0,"010 143 7620","SITE_PHONE_E164",0,"+27101437620","supportWhatsAppUrl",()=>i])},488844,e=>{"use strict";let t=(0,e.i(475254).default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);e.s(["Package",()=>t],488844)},972520,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],972520)},818581,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=e.r(271645);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=s(e,n)),t&&(i.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return y}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let s=e.r(190809),l=e.r(843476),a=s._(e.r(271645)),o=e.r(195057),d=e.r(8372),c=e.r(818581),u=e.r(718967),f=e.r(405550);e.r(233525);let p=e.r(91949),h=e.r(573668),m=e.r(509396);function g(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}function x(t){var r;let n,i,s,[o,x]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),y=(0,a.useRef)(null),{href:v,as:j,children:k,prefetch:w=null,passHref:_,replace:N,shallow:C,scroll:M,onClick:S,onMouseEnter:E,onTouchStart:O,legacyBehavior:I=!1,onNavigate:L,ref:R,unstable_dynamicOnHover:T,...A}=t;n=k,I&&("string"==typeof n||"number"==typeof n)&&(n=(0,l.jsx)("a",{children:n}));let P=a.default.useContext(d.AppRouterContext),D=!1!==w,z=!1!==w?null===(r=w)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:$,as:U}=a.default.useMemo(()=>{let e=g(v);return{href:e,as:j?g(j):e}},[v,j]);if(I){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=a.default.Children.only(n)}let B=I?i&&"object"==typeof i&&i.ref:R,F=a.default.useCallback(e=>(null!==P&&(y.current=(0,p.mountLinkInstance)(e,$,P,z,D,x)),()=>{y.current&&((0,p.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,p.unmountPrefetchableInstance)(e)}),[D,$,P,z,x]),H={ref:(0,c.useMergedRef)(F,B),onClick(t){I||"function"!=typeof S||S(t),I&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!P||t.defaultPrevented||function(t,r,n,i,s,l,o){if("u">typeof window){let d,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(699781);a.default.startTransition(()=>{u(n||r,s?"replace":"push",l??!0,i.current)})}}(t,$,U,y,N,M,L)},onMouseEnter(e){I||"function"!=typeof E||E(e),I&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),P&&D&&(0,p.onNavigationIntent)(e.currentTarget,!0===T)},onTouchStart:function(e){I||"function"!=typeof O||O(e),I&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),P&&D&&(0,p.onNavigationIntent)(e.currentTarget,!0===T)}};return(0,u.isAbsoluteUrl)(U)?H.href=U:I&&!_&&("a"!==i.type||"href"in i.props)||(H.href=(0,f.addBasePath)(U)),s=I?a.default.cloneElement(i,H):(0,l.jsx)("a",{...A,...H,children:n}),(0,l.jsx)(b.Provider,{value:o,children:s})}e.r(284508);let b=(0,a.createContext)(p.IDLE_LINK_STATUS),y=()=>(0,a.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},37727,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],37727)},715788,e=>{"use strict";let t=(0,e.i(475254).default)("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);e.s(["Truck",()=>t],715788)},284614,e=>{"use strict";let t=(0,e.i(475254).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>t],284614)},685575,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(546404);function i({onClick:e,...i}){return(0,t.jsx)(r.default,{href:n.BOOK_HREF,onClick:t=>{if(e?.(t),t.defaultPrevented)return;let r=document.getElementById(n.HERO_ID);r&&(t.preventDefault(),r.scrollIntoView({block:"start"}))},...i})}e.s(["default",()=>i])},607486,e=>{"use strict";let t=(0,e.i(475254).default)("building-2",[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]]);e.s(["Building2",()=>t],607486)},581418,e=>{"use strict";let t=(0,e.i(475254).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["ShieldCheck",()=>t],581418)},935103,e=>{"use strict";let t=["super","fleet","support"];function r(e,t){return!!e.includes("super")||t.some(t=>e.includes(t))}function n(e){return Array.isArray(e)?e.filter(e=>"string"==typeof e&&t.includes(e)):[]}function i(e){return[...e].sort((e,r)=>t.indexOf(e)-t.indexOf(r))}e.s(["ADMIN_ROLES",0,t,"ADMIN_ROLE_DESCRIPTIONS",0,{super:"Full access, including managing admin roles",fleet:"Carriers and carrier applications",support:"Orders, customers, and settlements"},"ADMIN_ROLE_LABELS",0,{super:"Super admin",fleet:"Fleet",support:"Support"},"hasAdminRole",()=>r,"sortRoles",()=>i,"toAdminRoles",()=>n])},772562,e=>{"use strict";var t=e.i(843476);function r({title:e,className:r,monochrome:n,...i}){let s="string"==typeof e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 518.99 870.89",fill:"currentColor",role:s?"img":void 0,"aria-hidden":!s||void 0,className:r,...i,children:[s?(0,t.jsx)("title",{children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M345.01,631.44c-23.51,23.52-48.79,43.33-74.11,62.75,6.82-8.52,13.71-14.57,20.9-21.41l27.06-24.94,22.44-21.49,17.54-17.65c21.34-21.47,40.2-44.23,58.44-68.53s34.02-48.5,47.88-75.16c26-49.99,36.91-100.65,25.93-156.52-8.52-43.36-28.65-82.04-58.68-114.35-26.44-28.45-59.32-48.8-96.45-60.54-20.04-6.34-39.54-10.52-60.71-10.74-10.22-.11-.85,12.97-9.7,33.66-4.46,10.43-13.83,16.47-25.31,16.68-7.46.13-13.98-2.57-20.4-6.62l-81.4-51.39c-7.99-5.05-14.69-10.51-19.43-18.51-8.8-14.87-4.7-32.61,9.6-42.18,8.05-5.39,16.23-9.5,25.06-13.85l62.27-30.72c8.71-4.3,17.71-8.2,27.4-9.62,19.42-2.85,35.3,13.74,34.92,32.88l-.38,19.44c59.41,4.22,114.52,28.1,157.94,68.15,37.82,34.88,62.97,80.72,79.8,129,2.06,5.91,3.19,11.15,3.36,17.57-2.95-3.92-4.71-7.49-6.82-12.12-15.22-33.39-34.65-64.2-59.58-91.21-38.49-41.72-88.84-69.82-144.99-78.99-20.9-3.41-41.11-2.22-62.47-1.44l2.05-51.52-40.31,18.64c-20.12,9.94-39.6,19.31-59.8,31.55,31.13,22.78,61.16,42.9,93.19,63.34,4.49-17.3,5.38-32.8,5.73-49.19,43.13,1.74,75.83,3.63,115.1,21.15,108.67,48.46,173.63,164.18,144.08,281.55-7.04,27.96-17.51,54.03-32.37,78.84-21.94,36.64-46.97,70.51-76.07,101.74l-51.73,51.75Z"}),(0,t.jsx)("path",{d:"M202.48,771.07l-54.87-65.14c-42.5-50.46-100.26-134.17-125.37-194.46-2.2-5.29-3.34-10.58-3.53-16.7,23.31,42.9,50.79,80.6,82.55,117.5l52.33,60.8c29.22,33.96,59.27,65.94,91.73,97.72l-25.98,30.53c-.49.07-1.76.18-1.67.47l.8,2.67,105.19,34.87-21.36-112.71c-13.9,6.46-23.93,16.65-35.11,26.89-3.9-1.69-7.37-3.81-10.63-6.55-20.61-17.28-41.1-33.66-60.19-52.77l-50.96-51.01c-34.56-37.02-65.62-76.28-92.56-119.25-17.63-28.12-31.92-57.48-41.91-89.01-15.53-49.02-14.36-100.12,2.67-148.44,16.44-46.64,45.72-86.98,85.72-116.07,10.
208-7.33,19.97-13.89,32.57-17.23l-26.02,17.71c-52.29,35.58-88.04,104.65-93.87,168.12-4.19,45.62,8,91.86,29.69,131.88,24.59,45.38,45.41,77.28,80.47,115.43l33.08,35.99,37.57,37.59c23.08,21.36,46.57,41.07,71.58,61.1,17.36-13.19,32.88-29.8,51.84-15.49,6.6,4.98,11.61,11.82,13.54,20.51l23.97,107.61c2.44,10.94-1.82,22.33-9.82,29.15-8.91,7.59-21.31,10.16-32.75,6.45l-94.94-30.76c-9.27-3-17.47-6.9-23.94-14.09-8.48-9.41-10.34-23.05-3.99-34.12,3.86-6.73,8.6-12.43,14.19-19.16Z"})]}),(0,t.jsx)("path",{d:"M331.84,417.36c-43.6,37.76-107.86,37.95-151.91,1.12-51.83-43.34-58.77-118.71-14.37-170.09l11.88-11.87c44.5-38.65,109.94-39.11,154.63-.77l13.27,13.29c38.02,44.18,38.79,108.69,1.12,153.7l-14.61,14.62ZM327.22,376.9c20.95-29.41,21.44-69.68.97-99.3-7.02-10.17-15.55-18.65-25.51-24.92-33.48-21.08-76.71-17.35-105.38,8.17-29.58,26.32-38.25,68.03-21.24,104.2,2.44,5.19,5.78,10.13,9.36,14.78,27.45,35.66,76.44,44.79,115.23,21.95,10.37-6.11,19.24-14.58,26.56-24.87Z",fill:n?"currentColor":"var(--brand-accent)"})]})}function n({title:e,className:r,...n}){let i="string"==typeof e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2857.84 632.38",fill:"currentColor",role:i?"img":void 0,"aria-hidden":!i||void 0,className:r,...n,children:[i?(0,t.jsx)("title",{children:e}):null,(0,t.jsx)("path",{d:"M2195.06,626.15l-55.03.11-206.69-461.52-.6,461.55-78.96-.03V12.31s85.23-.19,85.23-.19l227.63,508.62c1.7-.44,2.1-.46,2.2-.76l.73-2.08L2395.91,12.19l84.93.09v613.19s-2.58.86-2.58.86l-77.31-.08V204.01s0-35.36,0-35.36c0-.63-2.34-.44-2.2.5l-203.7,457.01Z"}),(0,t.jsx)("polygon",{points:"1175.52 626.09 1095.77 626.37 1095.8 345.31 778.87 345.28 778.83 626.31 699.78 626.25 699.78 7.76 778.83 7.73 778.87 279.74 1095.79 279.73 1095.77 7.7 1175.51 7.81 1175.52 626.09"}),(0,t.jsx)("path",{d:"M362.59,580.71c-27.11,23.27-58.7,38.92-93.72,45.99-45.85,9.25-93.13,7.26-137.9-6.23-28.32-8.53-53.87-22.2-76.04-41.26l-8.8-8.2-10.06-11.03C14.68,536.52,3.49,506.59.52,475.07l-.52-12.85h84.57c2.88,30.76,16.95,57.41,39.63,76.71,33,28.23,91.09,30.99,132.21,21.59,44.02-10.06,78.38-42.85,81.46-88.69,2.35-34.97-5.65-60.72-32.96-82.71-12.91-10.39-26.98-17.5-42.72-23.09-28.5-10.14-56.75-18-86.03-25.85-25.17-6.74-48.98-14.39-73.21-23.7-18.3-7.04-34.55-16.09-49.33-28.99l-17.09-17.07C9.89,240.59,2.33,203.55,3.46,164.1c1.08-37.85,14.88-72.82,40.09-101.11C78.69,23.55,133.03,4.44,185.35.67l25.56-.67,19.39.65c54.4,3.83,104.86,22.85,141.53,63.5,8.45,9.21,15.24,18.96,21.46,29.9,10.38,19.53,16.67,40.48,19.02,63.25l-87.11-.02c-3.18-21.24-12.72-39.5-27.88-53.52-9.38-10.4-20.4-17.79-33.11-23.75-25.26-11.54-56.43-13.93-84.09-11.2-48.4,4.77-89.97,34-94.82,84.66l-.03,27.56c1.69,20.05,10.92,36.91,25.43,50.34,12.53,11.61,26.33,20.85,42.69,26.11l70.33,22.58,63.66,19.36c25.11,7.64,62.8,23.57,81,41.29l14.79,14.4c9.8,9.54,16.82,20.84,22.52,33.57,7.9,17.64,11.23,35.88,12.71,55.32,3.36,44.11-11.22,87.38-39.99,120.78l-15.81,15.93Z"}),(0,t.jsx)("polygon",{points:"1553.84 626.08 1474.78 626.33 1474.78 7.75 1553.84 7.75 1553.84 626.08"}),(0,t.jsx)("polygon",{points:"2857.84 626.08 2778.78 626.33 2778.78 7.75 2857.84 7.75 2857.84 626.08"})]})}e.s(["LogoIcon",()=>r,"LogoText",()=>n])},492161,e=>{"use strict";let t=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",()=>t],492161)},204997,e=>{"use strict";let t=(0,e.i(475254).default)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]]);e.s(["LogIn",()=>t],204997)},848531,e=>{"use strict";var t=e.i(935103);let r={signedIn:!1,userId:null,fullName:null,spaces:[],adminRoles:[],hasDriverPortal:!1,isApprovedDriver:!1,hasOrders:!1};async function n(e,n){if(!n||n.is_anonymous)return r;let[{data:i},{count:s},{count:l}]=await Promise.all([e.from("profiles").select("full_name, is_admin, admin_roles, is_driver").eq("id",n.id).maybeSingle(),e.from("driver_applications").select("id",{count:"exact",head:!0}).eq("profile_id",n.id),e.from("orders").select("order_id",{count:"exact",head:!0}).eq("profile_id",n.id)]),a=(0,t.toAdminRoles)(i?.admin_roles),o=!!i?.is_driver,d=o||(s??0)>0,c=!!i?.is_admin||a.length>0,u=["orders"];return d&&u.push("driver"),c&&u.push("admin"),{signedIn:!0,userId:n.id,fullName:i?.full_name??null,spaces:u,adminRoles:a,hasDriverPortal:d,isApprovedDriver:o,hasOrders:(l??0)>0}}e.s(["SIGNED_OUT",0,r,"resolveSpacesForUser",()=>n])}]); 3 4//# debugId=8368c34b-26e8-290f-4964-c06f0a94b094
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.