PageSourceSearch

https://www.upcar.ai/_next/static/chunks/app/login-static/page-597e301836fa5741.js

js upcar.ai collected 2026-10-05 15:26:04 UTC 27,635 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[30781,7220],{47441:function(t,e,i){Promise.resolve().then(i.bind(i,64781))},64781:function(t,e,i){"use strict";var n=i(27573),r=i(67754),o=i(7384),a=i(56106),c=i(7653),s=i(51626);e.default=t=>{let{onLoginSuccess:e}=t,i=(0,r.useSearchParams)(),l=i.get("hostReferralCode"),u=i.get("nextPage"),d=l?(0,s.tf)(l,u):u,g=(0,r.useRouter)(),f=(0,o.v9)(t=>t.user.login),h=(0,c.useRef)(!1);(0,c.useEffect)(()=>{l&&(0,s.oT)(l)},[l]);let y=(0,c.useCallback)(()=>{if(!h.current){h.current=!0;try{sessionStorage.removeItem("home:lastScrollY")}catch(t){}g.replace(d||"/")}},[d,g]);return(0,c.useEffect)(()=>{f&&y()},[f,y]),(0,n.jsx)(a.Z,{onSwitchToSignup:()=>{let t=new URLSearchParams;d&&t.set("next",d),l&&t.set("hostReferralCode",l);let e=t.toString();g.push(e?"/signup-static?".concat(e):"/signup-static")},onSuccess:()=>{e&&e(),y()},showHeader:!0,formId:"login-static"})}},87355:function(t,e,i){"use strict";var n=i(27573);e.Z=()=>(0,n.jsxs)("p",{className:"mt-4 text-center text-[11px] leading-4 text-[#8C8C8C]",children:["This site is protected by reCAPTCHA and the Google"," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-[#027BFF]",children:"Privacy Policy"})," ","and"," ",(0,n.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-[#027BFF]",children:"Terms of Service"})," ","apply."]})},30329:function(t,e,i){"use strict";i.d(e,{l:function(){return s}});var n=i(27573),r=i(7653),o=i(35662),a=i(7157),c=i(5734);function s(t){let{open:e,onClose:i,title:s,titleId:l="app-modal-title",children:u,className:d,panelClassName:g,headerClassName:f,titleCenter:h=!1,size:y="default",mobileDrawer:p=!1}=t,m=(0,r.useRef)(!1),v=(0,r.useRef)(null),[w,b]=(0,r.useState)(null);if((0,c.Ni)(e),(0,r.useEffect)(()=>{if(!e)return;let t=window.visualViewport;if(!t)return;let i=()=>b({height:t.height,offsetTop:t.offsetTop});return i(),t.addEventListener("resize",i),t.addEventListener("scroll",i),()=>{t.removeEventListener("resize",i),t.removeEventListener("scroll",i)}},[e]),(0,r.useEffect)(()=>{if(!e)return;let t=v.current;if(!t)return;let i=e=>{var i;let n=t.scrollTop<=0,r=t.scrollTop+t.clientHeight>=t.scrollHeight,o=e.touches[0],a=null!==(i=t._touchStartY)&&void 0!==i?i:o.clientY,c=o.clientY>a,s=o.clientY<a;(n&&c||r&&s)&&e.preventDefault()},n=e=>{t._touchStartY=e.touches[0].clientY};return t.addEventListener("touchstart",n,{passive:!0}),t.addEventListener("touchmove",i,{passive:!1}),()=>{t.removeEventListener("touchstart",n),t.removeEventListener("touchmove",i)}},[e]),!e)return null;let P=t=>t.target===t.currentTarget,S=t=>{m.current=P(t)},T=t=>{let e=P(t);m.current&&e&&i(),m.current=!1},A=w?{top:"".concat(w.offsetTop,"px"),height:"".concat(w.height,"px"),bottom:"auto"}:{},x=w?{maxHeight:"".concat(w.height,"px")}:{};return(0,n.jsxs)("div",{className:(0,o.cn)("fixed inset-0 z-[100] overscroll-contain",d),role:"dialog","aria-modal":!0,"aria-labelledby":l,children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-black/50","aria-hidden":"true",onMouseDown:S,onMouseUp:T}),(0,n.jsx)("div",{className:(0,o.cn)("absolute inset-x-0 top-0 bottom-0 flex p-4",p?"items-end justify-center p-0 md:p-4 md:items-center":"items-center justify-center"),style:A,onMouseDown:S,onMouseUp:T,children:(0,n.jsxs)("div",{className:(0,o.cn)("relative bg-white shadow-xl w-full flex flex-col overflow-hidden",p?"rounded-t-2xl md:rounded-xl max-h-[95dvh] md:max-h-[85vh]":"rounded-xl max-h-[95dvh] md:max-h-[85vh]","large"===y?"max-w-lg":"max-w-md",g),style:x,onClick:t=>t.stopPropagation(),onMouseDown:t=>t.stopPropagation(),onMouseUp:t=>t.stopPropagation(),children:[(0,n.jsxs)("div",{className:(0,o.cn)("flex items-center justify-between gap-2 p-6 pb-3 shrink-0 bg-white z-10",p?"rounded-t-2xl md:rounded-t-xl":"rounded-t-xl",f),children:[(0,n.jsx)("h2",{id:l,className:(0,o.cn)("text-lg font-semibold text-gray-900",h&&"w-full text-center"),children:s}),(0,n.jsx)("button",{type:"button",onClick:i,className:"p-2 -m-2 text-gray-500 hover:text-gray-700 rounded-lg hover:bg-gray-100 transition-colors","aria-label":"Close",children:(0,n.jsx)(a.Tw,{width:20,height:20})})]}),(0,n.jsx)("div",{ref:v,className:"overflow-y-auto overscroll-contain flex-1 min-h-0 px-6 pb-6 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:u})]})})]})}}
1,5734:function(t,e,i){"use strict";i.d(e,{Ni:function(){return g},sP:function(){return d}});var n=i(7653);let r="__upcarBodyScrollLockStateV1",o="data-scroll-locked";function a(){let t=globalThis,e=t[r];if(e)return e;let i={lockCount:0,saved:null,restoreScrollOnRelease:!0,lockPinnedToTop:!1};return Object.defineProperty(t,r,{configurable:!0,value:i,writable:!0}),i}function c(t,e,i,n){i?t.setProperty(e,i,n):t.removeProperty(e)}function s(){let t=document.body,e=document.documentElement;t.style.removeProperty("position"),t.style.removeProperty("top"),t.style.removeProperty("left"),t.style.removeProperty("right"),t.style.removeProperty("width"),t.style.removeProperty("overflow"),t.style.removeProperty("padding-right"),e.style.removeProperty("overflow"),t.removeAttribute(o)}function l(t){t.restoreScrollOnRelease=!0,t.lockPinnedToTop=!1}function u(){if("undefined"==typeof document)return!1;let t=a();return!(t.lockCount>0)&&null===t.saved&&!!document.body.hasAttribute(o)&&(s(),l(t),!0)}function d(t){(0,n.useEffect)(()=>{let t=()=>u();t();let e=window.requestAnimationFrame(t),i=window.setTimeout(t,250);return()=>{window.cancelAnimationFrame(e),window.clearTimeout(i)}},[t]),(0,n.useEffect)(()=>{let t=()=>u();return window.addEventListener("pageshow",t),()=>window.removeEventListener("pageshow",t)},[])}function g(t,e){let i=null==e?void 0:e.restoreScroll,r=null==e?void 0:e.pinToTop;(0,n.useEffect)(()=>{if(t)return function(t){if("undefined"==typeof document)return()=>{};let e=a(),i=(null==t?void 0:t.pinToTop)===!0,n=0===e.lockCount;n&&u(),e.lockCount+=1,n?(e.restoreScrollOnRelease=!i&&(null==t?void 0:t.restoreScroll)!==!1,function(t){let e=a(),i=document.body,n=document.documentElement;t&&window.scrollTo(0,0);let r=t?0:window.scrollY||window.pageYOffset||0,c=window.innerWidth-n.clientWidth;e.saved={bodyPosition:i.style.position,bodyPositionPriority:i.style.getPropertyPriority("position"),bodyTop:i.style.top,bodyTopPriority:i.style.getPropertyPriority("top"),bodyLeft:i.style.left,bodyLeftPriority:i.style.getPropertyPriority("left"),bodyRight:i.style.right,bodyRightPriority:i.style.getPropertyPriority("right"),bodyWidth:i.style.width,bodyWidthPriority:i.style.getPropertyPriority("width"),bodyOverflow:i.style.overflow,bodyOverflowPriority:i.style.getPropertyPriority("overflow"),bodyPaddingRight:i.style.paddingRight,bodyPaddingRightPriority:i.style.getPropertyPriority("padding-right"),htmlOverflow:n.style.overflow,htmlOverflowPriority:n.style.getPropertyPriority("overflow"),scrollY:r},i.style.position="fixed",i.style.top=t?"0px":"-".concat(r,"px"),i.style.left="0",i.style.right="0",i.style.width="100%",i.style.setProperty("overflow","hidden","important"),n.style.setProperty("overflow","hidden","important"),i.setAttribute(o,"1"),c>0&&(i.style.paddingRight="".concat(c,"px")),e.lockPinnedToTop=t}(i)):(i&&function(){let t=a();t.lockPinnedToTop||(window.scrollTo(0,0),document.body.style.top="0px",t.lockPinnedToTop=!0)}(),(i||(null==t?void 0:t.restoreScroll)===!1)&&(e.restoreScrollOnRelease=!1));let r=!1;return()=>{r||(r=!0,e.lockCount=Math.max(0,e.lockCount-1),0===e.lockCount&&function(){let t=a(),e=document.body,i=document.documentElement,n=t.saved;if(!n){0===t.lockCount&&e.hasAttribute(o)&&s(),l(t);return}t.saved=null,c(e.style,"position",n.bodyPosition,n.bodyPositionPriority),c(e.style,"top",n.bodyTop,n.bodyTopPriority),c(e.style,"left",n.bodyLeft,n.bodyLeftPriority),c(e.style,"right",n.bodyRight,n.bodyRightPriority),c(e.style,"width",n.bodyWidth,n.bodyWidthPriority),c(e.style,"padding-right",n.bodyPaddingRight,n.bodyPaddingRightPriority),c(e.style,"overflow",n.bodyOverflow,n.bodyOverflowPriority),c(i.style,"overflow",n.htmlOverflow,n.htmlOverflowPriority),e.removeAttribute(o),t.restoreScrollOnRelease&&window.scrollTo(0,n.scrollY),l(t)}())}}({restoreScroll:i,pinToTop:r})},[t,i,r])}},18265:function(t,e,i){"use strict";i.d(e,{$:function(){return r},q:function(){return n}});let n=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},r=t=>{{let e=localStorage.getItem(t);if(e)try{return e}catch(t){console.error("Error parsing JSON from localStorage:",t)}}return null}}
1,68902:function(t,e,i){"use strict";i.d(e,{IM:function(){return d},YF:function(){return u},ZH:function(){return g},dG:function(){return s},jY:function(){return o},mQ:function(){return f}});let n="upcar:recentlyViewed:v1",r=["rental","subscription","gig"],o="rental",a=()=>!0,c=t=>r.includes(t)?t:o,s=()=>{if(!a())return[];try{let t=window.localStorage.getItem(n);if(!t)return[];let e=JSON.parse(t);if(!Array.isArray(e))return[];return e.filter(t=>!!t&&"string"==typeof t.carId&&t.carId.length>0).map(t=>({...t,mode:c(t.mode)}))}catch(t){return[]}},l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return s().filter(e=>e.mode===t).slice(0,10)},u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return l(t).map(t=>t.carId)},d=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if(a()&&t)try{let i=s(),r=[{carId:t,viewedAt:new Date().toISOString(),mode:e},...i.filter(i=>i.mode===e&&i.carId!==t)].slice(0,10),o=i.filter(t=>t.mode!==e);window.localStorage.setItem(n,JSON.stringify([...r,...o]))}catch(t){}},g=()=>{if(a())try{window.localStorage.removeItem(n)}catch(t){}},f=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;if(a())try{let e=s().filter(e=>e.mode!==t);e.length?window.localStorage.setItem(n,JSON.stringify(e)):window.localStorage.removeItem(n)}catch(t){}}},35662:function(t,e,i){"use strict";i.d(e,{AL:function(){return u},D5:function(){return v},OZ:function(){return S},Ob:function(){return a},P9:function(){return m},Ph:function(){return p},Qu:function(){return x},T4:function(){return d},TT:function(){return l},UI:function(){return c},Vo:function(){return T},Wk:function(){return f},Yi:function(){return w},aF:function(){return P},cn:function(){return o},fT:function(){return A},gR:function(){return b},p6:function(){return h},rp:function(){return s},vS:function(){return k},xG:function(){return g},zd:function(){return y}});var n=i(57908),r=i(66290);function o(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return(0,r.m6)((0,n.W)(e))}let a=t=>{let e=new Date(t);return new Intl.DateTimeFormat("en-US",{weekday:"short",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",hour12:!0}).format(e)},c=async()=>{let{default:t}=await i.e(36440).then(i.bind(i,36440)),e=await t.load();return(await e.get()).visitorId},s=t=>!t||!(t instanceof Date)||isNaN(t.getTime())?"MM/DD/YYYY":"".concat((t.getMonth()+1).toString().padStart(2,"0"),"/").concat(t.getDate().toString().padStart(2,"0"),"/").concat(t.getFullYear()),l=t=>!t||!(t instanceof Date)||isNaN(t.getTime())?"":t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),u=function(t){let{locale:e="en-US",utc:i=!1,fallback:n=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return n;let r="string"==typeof t&&/^\d{4}-\d{2}-\d{2}$/.test(t),o=new Date(!i&&r?"".concat(t,"T12:00:00"):t);return isNaN(o.getTime())?n:o.toLocaleDateString(e,{weekday:"short",month:"short",day:"numeric",...i&&{timeZone:"UTC"}})},d=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return"$".concat(Number(t||0).toLocaleString("en-US",{minimumFractionDigits:e,maximumFractionDigits:e}))},g=(t,e)=>t||0===t?void 0===e?"$".concat(Number(t).toLocaleString("en-US")):d(t,e):"$0",f=t=>{if(!t)return"";let e=new Date(t);if(isNaN(e.getTime()))return"";let i={timeZone:"UTC"},n=e.toLocaleDateString("en-GB",{...i,weekday:"short"}),r=e.toLocaleDateString("en-GB",{...i,day:"2-digit"}),o=e.toLocaleDateString("en-GB",{...i,month:"short"});return"".concat(n,", ").concat(r,"-").concat(o)},h=t=>{if(!t||!(t instanceof Date))return null;let e=t.getTimezoneOffset();return new Date(t.getTime()-6e4*e).toISOString().split("T")[0]},y=t=>{if(!t)return"12:00 AM";let e=String(t).trim();if(/[ap]m$/i.test(e))return e.toUpperCase();let[i,n]=e.split(":").map(Number);if(Number.isNaN(i))return"12:00 AM";Number.isNaN(n)&&(n=0);let r=(i=(i%24+24)%24)>=12?"PM":"AM",o=i%12||12;return"".concat(o,":").concat(n.toString().padStart(2,"0")," ").concat(r)},p=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,e=[];for(let i=0;i<24;i++)for(let n=0;n<60;n+=t)e.push("".concat(i.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0")));return e};function m(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())}function v(t){let e=t.trim();return e=e.replace(/^https?:?\/+:?/i,"https://"),/^https?:\/\//i.test(e)||(e="https://"+e),e}function w(t){let[e,i]=t.split("T"),[n]=i.split(/[-+]/),[r,o,a]=e.split("-").map(Number),[c,s,l]=n.split(":").map(Number);return new Date(r,o-1,a,c,s,l)}function b(t){let[e,i]=(t.endsWith("Z")?t.slice(0,-1):t).split("T"),n=i.split(/[-+]/)[0];n=n.replace(/\.\d+/,"");let[r,o,a]=e.split("-").map(Number),[c,s,l]=n.split(":").map(Number);return new Date(r,o-1,a,c,s,l||0)}function P(t,e){return t?t.length>e?"".concat(t.substring(0,e),"..."):t:""}function S(t){return t>=4.5?"Excellent":t>=4?"Very Good":t>=3.5?"Good":t>=3?"Average":"Poor"}function T(t,e){if(!t||!e||0===e.length)return!1;let i=t=>((null==t?void 0:t.message)||(null==t?void 0:t.msg)||"").trim(),n=i(t),r=Number((null==t?void 0:t.t
1imestamp)||0);return e.some(e=>{if(e.id&&t.id&&e.id===t.id)return!0;let o=i(e)===n,a=(null==e?void 0:e.roomId)==null||(null==t?void 0:t.roomId)==null||String(e.roomId)===String(t.roomId),c=(null==e?void 0:e.senderId)!=null&&(null==t?void 0:t.senderId)!=null&&String(e.senderId)===String(t.senderId)&&(null==e?void 0:e.senderType)===(null==t?void 0:t.senderType),s=Math.abs(Number((null==e?void 0:e.timestamp)||0)-r),l=(null==e?void 0:e.isOptimistic)?s<=6e4:s<5e3;return o&&a&&c&&l})}function A(t,e,i){let n=Math.ceil(e/i),r=Math.floor(t/i),o=t%i;return{"rounded-tl-2xl":0===r&&0===o,"rounded-tr-2xl":0===r&&(o===i-1||t===e-1),"rounded-bl-2xl":r===n-1&&0===o,"rounded-br-2xl":t===e-1||(e%i||i)<i&&r===n-2&&o===i-1}}function x(t,e){let i="prod".trim().toLowerCase(),n="development"===i||"dev"===i||"local"===i||/localhost|127\.0\.0\.1|lvh\.me/i.test(e||""),r=n?"".concat(t||"username",".lvh.me:4000"):"".concat(t||"username",".").concat("latest"===i?"dev.private-rents.com":"private-rents.com");return"".concat(n?"http":"https","://").concat(r)}function k(t){return!!(t&&(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||1===t.button))}},7544:function(t,e,i){"use strict";i.d(e,{g:function(){return a}});var n=i(89825),r=i(18265);class o{generateSessionId(){return"session_".concat(Date.now(),"_").concat(Math.random().toString(36).substr(2,9))}getUserId(){return(0,r.$)("userId")||(0,r.$)("user_id")||void 0}getBaseMetadata(){return{pageUrl:window.location.href,referrer:"undefined"!=typeof document?document.referrer:void 0}}async logActivity(t,e,i){let n={userId:this.getUserId(),sessionId:this.sessionId,activityType:t,activityCategory:e,metadata:{...this.getBaseMetadata(),...i}};this.addToBatch(n)}addToBatch(t){this.pendingActivities.push(t),this.pendingActivities.length>=this.BATCH_SIZE?this.sendBatch():this.batchTimeout||(this.batchTimeout=setTimeout(()=>{this.sendBatch()},this.BATCH_DELAY))}async sendBatch(){if(0===this.pendingActivities.length)return;let t=[...this.pendingActivities];this.pendingActivities=[],this.batchTimeout&&(clearTimeout(this.batchTimeout),this.batchTimeout=null);try{1===t.length?await n.ZP.post("/activity/log",t[0]):await n.ZP.post("/activity/bulk",{activities:t})}catch(t){console.error("Failed to send activity batch:",t)}}async flush(){await this.sendBatch()}flushSync(){if(0===this.pendingActivities.length)return;let t=[...this.pendingActivities];this.pendingActivities=[],this.batchTimeout&&(clearTimeout(this.batchTimeout),this.batchTimeout=null);let e="https://apiprod.upcar.ai/v1";if(!e||"undefined"==typeof navigator||!navigator.sendBeacon)return;let[i,n]=1===t.length?["".concat(e,"/activity/log"),t[0]]:["".concat(e,"/activity/bulk"),{activities:t}];navigator.sendBeacon(i,new Blob([JSON.stringify(n)],{type:"application/json"}))}async logPageView(t){await this.logActivity("page_view","navigation",t)}async logCarViewed(t,e){await this.logActivity("viewed_car","navigation",{carId:t,...e})}async logCarDetailsViewed(t,e){await this.logActivity("viewed_car_details","navigation",{carId:t,...e})}async logSearchPerformed(t,e){await this.logActivity("searched_cars","navigation",{searchQuery:t,...e})}async logFilterApplied(t,e,i){await this.logActivity("filtered_cars","navigation",{filterType:t,filterValue:e,...i})}async logCheckoutPageVisit(t,e,i){await this.logActivity("checkout_page_visit","navigation",{carId:t,tripId:e,...i})}async logProfilePageVisit(t){await this.logActivity("profile_page_visit","navigation",t)}async logDashboardVisit(t){await this.logActivity("dashboard_visit","navigation",t)}async logButtonClick(t,e){await this.logActivity("clicked_button","interaction",{buttonClicked:t,...e})}async logLinkClick(t,e,i){await this.logActivity("clicked_link","interaction",{linkUrl:t,linkText:e,...i})}async logFormSubmitted(t,e){await this.logActivity("form_submitted","interaction",{formName:t,...e})}async logFieldFocused(t,e,i){await this.logActivity("form_field_focused","interaction",{fieldName:t,formName:e,...i})}async logImageClicked(t,e){await this.logActivity("image_clicked","interaction",{imageUrl:t,...e})}async logVideoPlayed(t,e){await this.logActivity("video_played","interaction",{videoUrl:t,...e})}
1async logDownloadStarted(t,e,i){await this.logActivity("download_started","interaction",{fileName:t,fileUrl:e,...i})}async logPaymentAdded(t,e){await this.logActivity("payment_added","transaction",{paymentMethodId:t,...e})}async logPaymentUpdated(t,e){await this.logActivity("payment_updated","transaction",{paymentMethodId:t,...e})}async logPaymentDeleted(t,e){await this.logActivity("payment_deleted","transaction",{paymentMethodId:t,...e})}async logBookingStarted(t,e,i){await this.logActivity("booking_started","transaction",{carId:t,tripId:e,...i})}async logBookingCompleted(t,e,i,n){await this.logActivity("booking_completed","transaction",{bookingId:t,carId:e,amount:i,currency:"USD",...n})}async logBookingCancelled(t,e,i){await this.logActivity("booking_cancelled","transaction",{bookingId:t,cancellationReason:e,...i})}async logTripStarted(t,e,i){await this.logActivity("trip_started","transaction",{tripId:t,carId:e,...i})}async logTripCompleted(t,e,i){await this.logActivity("trip_completed","transaction",{tripId:t,carId:e,...i})}async logTripCancelled(t,e,i){await this.logActivity("trip_cancelled","transaction",{tripId:t,cancellationReason:e,...i})}async logReviewSubmitted(t,e,i,n){await this.logActivity("review_submitted","engagement",{carId:t,rating:e,tripId:i,...n})}async logMessageSent(t,e,i,n){await this.logActivity("message_sent","engagement",{messageId:t,recipientId:e,messageType:i,...n})}async logNotificationClicked(t,e,i){await this.logActivity("notification_clicked","engagement",{notificationId:t,notificationType:e,...i})}async logEmailOpened(t,e,i){await this.logActivity("email_opened","engagement",{emailId:t,campaignId:e,...i})}async logEmailClicked(t,e,i){await this.logActivity("email_clicked","engagement",{emailId:t,linkUrl:e,...i})}async logShareAction(t,e,i,n){await this.logActivity("share_action","engagement",{contentType:t,contentId:e,platform:i,...n})}async logFavoriteAdded(t,e){await this.logActivity("favorite_added","engagement",{carId:t,...e})}async logFavoriteRemoved(t,e){await this.logActivity("favorite_removed","engagement",{carId:t,...e})}async logLogin(t){await this.logActivity("login","system",t)}async logLogout(t){await this.logActivity("logout","system",t)}async logRegistration(t){await this.logActivity("registration","system",t)}async logPasswordReset(t){await this.logActivity("password_reset","system",t)}async logProfileUpdated(t,e){await this.logActivity("profile_updated","system",{fieldsUpdated:t,...e})}async logSettingsChanged(t,e,i,n){await this.logActivity("settings_changed","system",{settingName:t,oldValue:e,newValue:i,...n})}async logError(t,e,i,n){await this.logActivity("error_occurred","system",{errorCode:t,errorMessage:e,stackTrace:i,...n})}async logSessionTimeout(t){await this.logActivity("session_timeout","system",t)}async getActivities(t){try{return(await n.ZP.get("/activity",{params:t})).data}catch(t){throw console.error("Failed to fetch activities:",t),t}}async getAnalytics(t,e){try{let i={};return t&&(i.startDate=t),e&&(i.endDate=e),(await n.ZP.get("/activity/analytics",{params:i})).data}catch(t){throw console.error("Failed to fetch analytics:",t),t}}async getUserJourney(t){try{return(await n.ZP.get("/activity/journey?userId=".concat(t))).data}catch(t){throw console.error("Failed to fetch user journey:",t),t}}async getActivityTypes(){try{return(await n.ZP.get("/activity/types")).data}catch(t){throw console.error("Failed to fetch activity types:",t),t}}constructor(){this.pendingActivities=[],this.batchTimeout=null,this.BATCH_SIZE=50,this.BATCH_DELAY=2e3,this.sessionId=this.generateSessionId()}}let a=new o;window.addEventListener("beforeunload",()=>{a.flushSync()})},65880:function(t,e,i){"use strict";i.d(e,{default:function(){return r.a}});var n=i(25839),r=i.n(n)},87659:function(t,e,i){"use strict";i.d(e,{default:function(){return r.a}});var n=i(65469),r=i.n(n)},67754:function(t,e,i){"use strict";var n=i(534);i.o(n,"useParams")&&i.d(e,{useParams:function(){return n.useParams}}),i.o(n,"usePathname")&&i.d(e,{usePathname:function(){return n.usePathname}}),i.o(n,"useRouter")&&i.d(e,{useRouter:function(){return n.useRouter}}),i.o(n,"useSearchParams")&&i.d(e,{useSearchParams:function(){return n.useSearchParams}})}
1,25839:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return s},getImageProps:function(){return c}});let n=i(84732),r=i(84163),o=i(35658),a=n._(i(43804));function c(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200],imageSizes:[16,32,48,64,96,128,256,384,448,512],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let s=o.Image},68571:function(t){var e,i,n,r=t.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function c(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(i){try{return e.call(null,t,0)}catch(i){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var s=[],l=!1,u=-1;function d(){l&&n&&(l=!1,n.length?s=n.concat(s):u=-1,s.length&&g())}function g(){if(!l){var t=c(d);l=!0;for(var e=s.length;e;){for(n=s,s=[];++u<e;)n&&n[u].run();u=-1,e=s.length}n=null,l=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function h(){}r.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];s.push(new f(t,e)),1!==s.length||l||c(g)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(t){return[]},r.binding=function(t){throw Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw Error("process.chdir is not supported")},r.umask=function(){return 0}},45531:function(t,e){var i;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=o(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)n.call(t,i)&&t[i]&&(e=o(e,i));return e}(i)))}return t}function o(t,e){return e?t?t+" "+e:t+e:t}t.exports?(r.default=r,t.exports=r):void 0!==(i=(function(){return r}).apply(e,[]))&&(t.exports=i)}()},7220:function(t,e,i){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)t[n]=i[n]}return t}i.d(e,{Z:function(){return r}});var r=function t(e,i){function r(t,r,o){if("undefined"!=typeof document){"number"==typeof(o=n({},i,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var c in o)o[c]&&(a+="; "+c,!0!==o[c]&&(a+="="+o[c].split(";")[0]));return document.cookie=t+"="+e.write(r,t)+a}}return Object.create({set:r,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var i=document.cookie?document.cookie.split("; "):[],n={},r=0;r<i.length;r++){var o=i[r].split("="),a=o.slice(1).join("=");try{var c=decodeURIComponent(o[0]);if(n[c]=e.read(a,c),t===c)break}catch(t){}}return t?n[t]:n}},remove:function(t,e){r(t,"",n({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,n({},this.attributes,e))},withConverter:function(e){return t(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},{path:"/"})},94216:function(t,e,i){"use strict";i.d(e,{o:function(){return r}});class n extends Error{}function r(t,e){let i;if("string"!=typeof t)throw new n("Invalid token specified: must be a string");e||(e={});let r=!0===e.header?0:1,o=t.split(".")[r];if("string"!=typeof o)throw new n(`Invalid token specified: missing part #${r+1}`);try{i=function(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw Error("base64 string is not of the correct length")}try{var i;return i=e,decodeURIComponent(atob(i).replace(/(.)/g,(t,e)=>{let i=e.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}catch(t){return atob(e)}}(o)}catch(t){throw new n(`Invalid token specified: invalid base64 for part #${r+1} (${t.message})`)}try{return JSON.parse(i)}catch(t){throw new n(`Invalid token specified: invalid json for part #${r+1} (${t.message})`)}}n.prototype.name="InvalidTokenError"}},function(t){t.O(0,[51702,49410,70461,7384,47031,6e3,35658,65469,52919,77075,89036,7157,89825,78519,73159,49051,56106,81293,60286,1744],function(){return t(t.s=47441)}),_N_E=t.O()}]);

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.