1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78519],{17617:function(t,e,n){n.d(e,{M4:function(){return l},_o:function(){return i},dE:function(){return a},gu:function(){return _},l$:function(){return c}});var r=n(7220);let i=2,o="upcar_consent_v2",u="cookie_consent";function a(){var t;let e=null!==(t=r.Z.get(o))&&void 0!==t?t:localStorage.getItem(o);if(!e)return null;try{let t=JSON.parse(e);if(t.version!==i)return null;return t}catch(t){return null}}function _(t){let e=JSON.stringify(t);r.Z.set(o,e,{expires:365,sameSite:"lax",path:"/"});try{localStorage.setItem(o,e)}catch(t){}}function c(){r.Z.remove(o,{path:"/"});try{localStorage.removeItem(o)}catch(t){}}function l(t){let e=r.Z.get(u);if(!e)return null;let n="accepted"===e,o={necessary:!0,functional:n,analytics:n,marketing:n,region:t,timestamp:new Date().toISOString(),version:i,source:"banner"};return _(o),r.Z.remove(u,{path:"/"}),o}},78519:function(t,e,n){n.r(e),n.d(e,{CLIENT_PLATFORM:function(){return I},DEFAULT_PRODUCT:function(){return A},EVENTS:function(){return S},EXC_PER_WINDOW:function(){return d},EXC_WINDOW_MS:function(){return f},HIGH_VOLUME_SAMPLED_EVENTS:function(){return U},HIGH_VOLUME_SAMPLE_RATE:function(){return L},RELEASE:function(){return T},__resetExceptionWindow:function(){return C},buildIdentifyTraits:function(){return w},captureEvent:function(){return N},flushPendingCaptures:function(){return O},grantAnalyticsConsent:function(){return $},identifyUser:function(){return V},isCaptureActive:function(){return h},isPostHogLoaded:function(){return v},newEventId:function(){return R},registerStandardProps:function(){return y},relayEvent:function(){return W},resetAnalytics:function(){return k},revokeAnalyticsConsent:function(){return H},sampleBeforeSend:function(){return b},trackSignupSubmit:function(){return F},trackVerifyComplete:function(){return Y},trackVerifyDlSubmit:function(){return x},trackVerifyStart:function(){return Z}});var r=n(16830),i=n(17617),o=n(76875);let u="[redacted]",a=/(^|_)(token|secret|password|passwd|pwd|auth|bearer|session|otp|jwt|api_?key|signature|email|phone|ssn|dob|birth|dl|licen[cs]e|verification|card|card_number|cvv|cvc|iban|rout
1ing|account_number|address|street|zip|postal|client_secret|payment_intent|setup_intent)(_|$)/,_=new Set(["distinct_id","$device_id","$session_id","$window_id","$user_id","$anon_distinct_id","release","$insert_id","$lib_version"]),c=new Set(["$current_url","$pathname","$referrer","$initial_current_url"]),l={component_stack:4e3},s=/ChunkLoadError|Loading chunk \d+ failed|ResizeObserver loop/i,f=6e4,d=25,p="ph_exc_window";function E(t){return a.test(t.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replace(/[^A-Za-z0-9]+/g,"_").toLowerCase())}let T="696f996",S={PAGEVIEW:"$pageview",RENTAL_SEARCH_SUBMIT:"rental:search_submit",RENTAL_SEARCH_RESULTS_VIEW:"rental:search_results_view",RENTAL_CAR_VIEW:"rental:car_view",RENTAL_BOOKING_START:"rental:booking_start",RENTAL_CHECKOUT_VIEW:"rental:checkout_view",RENTAL_PAYMENT_SUBMIT:"rental:payment_submit",AUTH_SIGNUP_SUBMIT:"auth:signup_submit",RENTAL_BOOKING_CREATE:"rental:booking_create",RENTAL_BOOKING_ATTEMPT:"rental:booking_attempt",RENTAL_BOOKING_REJECT:"rental:booking_reject",RENTAL_PAYMENT_FAIL:"rental:payment_fail",VERIFY_START:"verify:start",VERIFY_DL_SUBMIT:"verify:dl_submit",VERIFY_COMPLETE:"verify:complete",APP_SESSION_START:"app:session_start",ACQ_CTA_CLICK:"acq:cta_click",RENTAL_FILTER_APPLY:"rental:filter_apply",RENTAL_CAR_FAVORITE_ADD:"rental:car_favorite_add",RENTAL_CAR_FAVORITE_REMOVE:"rental:car_favorite_remove",RENTAL_QUOTE_VIEW:"rental:quote_view",RENTAL_PROTECTION_PLAN_VIEW:"rental:protection_plan_view",RENTAL_PROTECTION_PLAN_SELECT:"rental:protection_plan_select",RENTAL_EXTRAS_ADD:"rental:extras_add",RENTAL_COUPON_SUBMIT:"rental:coupon_submit",RENTAL_AUTH_WALL_V
1IEW:"rental:auth_wall_view",AUTH_SIGNUP_START:"auth:signup_start",AUTH_LOGIN_SUBMIT:"auth:login_submit",AUTH_LOGOUT_CLICK:"auth:logout_click",HOST_ONBOARDING_START:"host:onboarding_start",HOST_LISTING_START:"host:listing_start",HOST_LISTING_STEP_SUBMIT:"host:listing_step_submit",HOST_PAYOUT_SETUP_SUBMIT:"host:payout_setup_submit",HOST_BOOKING_REQUEST_VIEW:"host:booking_request_view",HOST_BOOKING_ACCEPT:"host:booking_accept",HOST_BOOKING_DECLINE:"host:booking_decline",SUB_LP_VIEW:"sub:lp_view",SUB_CAR_VIEW:"sub:car_view",SUB_FILTER_APPLY:"sub:filter_apply",SUB_SUBSCRIBE_SUBMIT:"sub:subscribe_submit",ENGAGE_MESSAGE_SEND:"engage:message_send",ENGAGE_SUPPORT_CHAT_START:"engage:support_chat_start",ENGAGE_NOTIFICATION_CLICK:"engage:notification_click",TRIP_CANCEL_SUBMIT:"trip:cancel_submit",TRIP_EXTEND_CLICK:"trip:extend_click",SUB_CANCEL_SUBMIT:"sub:cancel_submit",ENGAGE_CONTACT_HOST_SUBMIT:"engage:contact_host_submit",ENGAGE_ISSUE_REPORT_SUBMIT:"engage:issue_report_submit"},I="web",A="rental",g=new Set([S.AUTH_SIGNUP_SUBMIT,S.VERIFY_START,S.VERIFY_DL_SUBMIT,S.VERIFY_COMPLETE,S.TRIP_EXTEND_CLICK]);function h(t){return!1!==t}function v(){return!0===r.ZP.__loaded}function y(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A;if(v())try{r.ZP.register({platform:I,product:t,release:T})}catch(t){}}function R(){return"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"evt-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2))}let m=[];function N(t,e,n){if(!v()){m.length<50&&m.push({event:t,props:e,options:n});return}let i={...e||{}};(null==n?void 0:n.eventId)&&(i.$insert_id=n.eventId),r.ZP.capture(t,i,(null==n?void 0:n.send_instantly)?{send_instantly:!0}:void 0)}function O(){if(v())for(let{event:t,props:e,options:n}of m.splice(0,m.length))N(t,e,n)}let L=.25,U=new Set([S.RENTAL_SEARCH_RESULTS_VIEW,"rental:car_impression",S.RENTAL_PROTECTION_PLAN_VIEW]),P=function(t){var e,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null!==(e=r.store)&&void 0!==e?e:function(){let t=[],e=()=>{try{return window.sessionStorage}catch(t){return null}};return{read(){let n=e();if(!n)return t;try{let e=n.getItem(p);if(!e)return t;let r=JSON.parse(e);if(!Array.isArray(r))return t;return r.filter(t=>"number"==typeof t)}catch(e){return t}},write(n){t=n;let r=e();if(r)try{r.setItem(p,JSON.stringify(n))}catch(t){}}}}(),o=null!==(n=r.now)&&void 0!==n?n:()=>Date.now();function a(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(n>6)return u;if("string"==typeof e)return t.scrubMessage(e);if(Array.isArray(e))return e.map(t=>a(t,n+1));if(e&&"object"==typeof e){let t={};for(let[r,i]of Object.entries(e))t[r]=E(r)?u:a(i,n+1);return t}return e}return{handleException:function(e){let n=e.properties||{};if(function(t){let e=(Array.isArray(t.$exception_list)?t.$exception_list:[]).map(t=>{let e=null!=t?t:{},n="string"==typeof e.type?e.type:"",r="string"==typeof e.value?e.value:"";return"".concat(n," ").concat(r)}).join(" ");return s.test(e)}(n)||!function(){let t;let e=o();try{let n=i.read();t=(Array.isArray(n)?n:[]).filter(t=>e-t<f)}catch(e){t=[]}if(t.length>=d)return!1;t.push(e);try{i.write(t)}catch(t){}return!0}())return null;let r={};for(let[e,i]of Object.entries(n)){if(_.has(e)){r[e]=t.scrubIdentifier(i);continue}if(c.has(e)){r[e]=t.toSafeUrlPath(i);continue}let n=l[e];if(void 0!==n&&"string"==typeof i){r[e]=t.scrubMessage(i,{maxLength:n});continue}if(e.startsWith("$")){r[e]=a(i);continue}r[e]=E(e)?u:a(i)}let p={...e,properties:r};return p.$set&&(p.$set=a(p.$set)),p.$set_once&&(p.$set_once=a(p.$set_once)),p},__resetExceptionWindow:function(){try{i.write([])}catch(t){}}}}({scrubMessage:o.d6,scrubIdentifier:o.v6,toSafeUrlPath:o.mR}),C=P.__resetExceptionWindow;function b(t){return t?"$exception"===t.event?P.handleException(t):U.has(t.event)&&Math.random()>L?null:function(t){if("$feature_flag_called"!==t.event)return t;let e=t.properties;if(!e)return t;let n=e.$feature_flag,r=e.$feature_flag_response;return"string"==typeof n&&null!=r&&(e.experiment_key=n,e.variant=String(r)),t}(t):t}function w(t){return{email:t.email,is_host:"boolean"==typeof t.hostStatus?t.hostStatus:void 0,signup_date:t.createdAt?new Date(t.createdAt).toISOString():void 0,actor_role:t.role,verification_status:t.userVerificationStatus,subscription_status:t.subscriptionAccountStatus,preferred_product:t.isGigUser?"gig":"private"===t.signUpSource?"private":"rental",turo_host:!!t.rentalCompanyProfileUrl,cohort:t.createdAt?new Date(t.createdAt).toISOString().slice(0,7):void 0}}let M=null,B=0,G=null;function V(t,e){if(!t||"undefined"===t||"null"===t)return;let n={};e&&Object.keys(e).forEach(t=>{void 0!==e[t]&&(n[t]=e[t])}),M={userId:t,props:n},B=0,function t(){if(!M)return;if(!v()){if(B>=20){M=null,B=0;return}B+=1,G||(G=setTimeout(()=>{G=null,t()},300));return}let{userId:e,props:n}=M;M=null,B=0,r.ZP.identify(e,n);try{r.ZP.register({user_id:e})}catch(t){}}()}function k(){M=null,B=0,G&&(clearTimeout(G),G=null),v()&&r.ZP.reset()}function $(){v()&&r.ZP.opt_in_capturing()}function H(){v()&&r.ZP.opt_out_capturing()}let D="ph_relay_distinct_id";function W(t,e,n){if(!g.has(t))return;let o=(0,i.dE)();if(!h(o?o.analytics:null))return;let u=function(t){if(t)return t;try{var e;let t=null===(e=r.ZP.get_distinct_id)||void 0===e?void 0:e.call(r.ZP);if(t&&"string"==typeof t)return t}catch(t){}try{let t=window.localStorage.getItem(D);if(t)return t;let e=R();return window.localStorage.setItem(D,e),e}catch(t){return null}}(null==n?void 0:n.distinctId);if(!u)return;let a="https://apiprod.upcar.ai/v1";if(!a)return;let _=JSON.stringify({distinctId:u,event:t,properties:e,platform:I,product:A,...(null==n?void 0:n.eventId)?{eventId:n.eventId}:{},...(null==n?void 0:n.email)?{email:n.email}:{}});try{fetch("".concat(a,"/analytics/relay"),{method:"POST",headers:{"Content-Type":"application/json"},body:_,keepalive:!0,credentials:"omit"}).catch(()=>void 0)}catch(t){}}function F(t){var e;V(t.userId,{email:t.email});let n=R(),r={method:null!==(e=t.method)&&void 0!==e?e:"email",referral_code:t.referralCode||void 0};N(S.AUTH_SIGNUP_SUBMIT,r,{eventId:n}),W(S.AUTH_SIGNUP_SUBMIT,r,{distinctId:t.userId,email:t.email,eventId:n})}function Z(t){N(S.VERIFY_START,t)}function x(t){N(S.VERIFY_DL_SUBMIT,t)}function Y(t){N(S.VERIFY_COMPLETE,t)}},16830:function(t,e,n){n.d(e,{IR:function(){return _},Lo:function(){return a},jY:function(){return c}});let r=null,i=null,o=[],u=new Set(["getFeatureFlag","get_distinct_id","get_session_id","has_o
1pted_in_capturing","has_opted_out_capturing","sessionRecordingStarted"]);function a(){return r?Promise.resolve(r):(i||(i=n.e(37909).then(n.bind(n,20932)).then(t=>(r=t.default,t.default),t=>{throw i=null,t})),i)}async function _(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=await a();return r.__loaded||r.init(...e),r}function c(){if(r&&r.__loaded)for(let{prop:t,args:e}of o.splice(0,o.length))try{let n=r[t];"function"==typeof n&&n.apply(r,e)}catch(t){}}let l=new Proxy({},{get(t,e){if("__loaded"===e)return(null==r?void 0:r.__loaded)===!0;if("then"!==e){if("init"===e)return function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];_(...e).then(c).catch(()=>void 0)};if(r&&r.__loaded){let t=r[e];return"function"==typeof t?t.bind(r):t}return u.has(e)?()=>void 0:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o.length<200&&o.push({prop:e,args:n})}}}});e.ZP=l}}]);
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.