1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83617,7220],{48855:function(t,e,r){Promise.resolve().then(r.bind(r,83852))},83852:function(t,e,r){"use strict";var n=r(27573),o=r(67754),i=r(7384),l=r(22474),u=r(7653),c=r(98992),a=r(51626);e.default=t=>{let{onSwitchToLogin:e}=t,r=(0,o.useSearchParams)(),s=r.get("hostReferralCode"),d=r.get("next"),f=s?(0,a.tf)(s,d):d,p=r.get("source"),h=(0,o.useRouter)(),m=(0,i.v9)(t=>t.user.login),y=(0,i.v9)(t=>t.user.token),g=t=>p?"".concat(t).concat(t.includes("?")?"&":"?","source=").concat(p):t,v=(0,u.useCallback)(async t=>{let e=t||y;if(!e)return g(f||"/");try{let t=await (0,c.Kg)(e);if(null==t?void 0:t.hostStatus)return g("/host/listings")}catch(t){}return g(f||"/")},[y,f,p]),w=(0,u.useRef)(!!localStorage.getItem("token"));(0,u.useEffect)(()=>{m&&w.current&&v().then(t=>h.push(t))},[m,v,h]);let b=async t=>{if(!f){h.replace("/thank-you");return}let e=null==t?void 0:t.access_token,r=await v(e);if(s){h.replace(r);return}h.replace("/thank-you?next=".concat(encodeURIComponent(r)))};return(0,n.jsx)(l.Z,{onSwitchToLogin:()=>{let t=new URLSearchParams;f&&t.set("nextPage",f),s&&t.set("hostReferralCode",s);let e=t.toString();h.push(e?"/login-static?".concat(e):"/login-static")},onSuccess:b,containerClassName:"margin:10px auto; position:static",showHeader:!0,showVerificationMethods:!0,formId:"signup-static"})}},30329:function(t,e,r){"use strict";r.d(e,{l:function(){return c}});var n=r(27573),o=r(7653),i=r(35662),l=r(7157),u=r(5734);function c(t){let{open:e,onClose:r,title:c,titleId:a="app-modal-title",children:s,className:d,panelClassName:f,headerClassName:p,titleCenter:h=!1,size:m="default",mobileDrawer:y=!1}=t,g=(0,o.useRef)(!1),v=(0,o.useRef)(null),[w,b]=(0,o.useState)(null);if((0,u.Ni)(e),(0,o.useEffect)(()=>{if(!e)return;let t=window.visualViewport;if(!t)return;let r=()=>b({height:t.height,offsetTop:t.offsetTop});return r(),t.addEventListener("resize",r),t.addEventListener("scroll",r),()=>{t.removeEventListener("resize",r),t.removeEventListener("scroll",r)}},[e]),(0,o.useEffect)(()=>{if(!e)return;let t=v.current;if(!t)return;let r=e=>{var r;let n=t.scrollTop<=0,o=t.scrollTop+t.clientHeight>=t.scrollHeight,i=e.touches[0],l=null!==(r=t._touchStartY)&&void 0!==r?r:i.clientY,u=i.clientY>l,c=i.clientY<l;(n&&u||o&&c)&&e.preventDefault()},n=e=>{t._touchStartY=e.touches[0].clientY};return t.addEventListener("touchstart",n,{passive:!0}),t.addEventListener("touchmove",r,{passive:!1}),()=>{t.removeEventListener("touchstart",n),t.removeEventListener("touchmove",r)}},[e]),!e)return null;let P=t=>t.target===t.currentTarget,S=t=>{g.current=P(t)},x=t=>{let e=P(t);g.current&&e&&r(),g.current=!1},T=w?{top:"".concat(w.offsetTop,"px"),height:"".concat(w.height,"px"),bottom:"auto"}:{},k=w?{maxHeight:"".concat(w.height,"px")}:{};return(0,n.jsxs)("div",{className:(0,i.cn)("fixed inset-0 z-[100] overscroll-contain",d),role:"dialog","aria-modal":!0,"aria-labelledby":a,children:[(0,n.jsx)("div",{className:"absolute inset-0 bg-black/50","aria-hidden":"true",onMouseDown:S,onMouseUp:x}),(0,n.jsx)("div",{className:(0,i.cn)("absolute inset-x-0 top-0 bottom-0 flex p-4",y?"items-end justify-center p-0 md:p-4 md:items-center":"items-center justify-center"),style:T,onMouseDown:S,onMouseUp:x,children:(0,n.jsxs)("div",{className:(0,i.cn)("relative bg-white shadow-xl w-full flex flex-col overflow-hidden",y?"rounded-t-2xl md:rounded-xl max-h-[95dvh] md:max-h-[85vh]":"rounded-xl max-h-[95dvh] md:max-h-[85vh]","large"===m?"max-w-lg":"max-w-md",f),style:k,onClick:t=>t.stopPropagation(),onMouseDown:t=>t.stopPropagation(),onMouseUp:t=>t.stopPropagation(),children:[(0,n.jsxs)("div",{className:(0,i.cn)("flex items-center justify-between gap-2 p-6 pb-3 shrink-0 bg-white z-10",y?"rounded-t-2xl md:rounded-t-xl":"rounded-t-xl",p),children:[(0,n.jsx)("h2",{id:a,className:(0,i.cn)("text-lg font-semibold text-gray-900",h&&"w-full text-center"),children:c}),(0,n.jsx)("button",{type:"button",onClick:r,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)(l.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:s})]})})]})}},5734:function(t,e,r){"use strict";r.d(e,{Ni:function(){return f},sP:function(){return d}});var n=r(7653);let o="__upcarBodyScrollLockStateV1",i="data-scroll-locked";function l(){let t=globalThis,e=t[o];if(e)return e;let r={lockCount:0,saved:null,restoreScrollOnRelease:!0,lockPinnedToTop:!1};return Object.defineProperty(t,o,{configurable:!0,value:r,writable:!0}),r}function u(t,e,r,n){r?t.setProperty(e,r,n):t.removeProperty(e)}function c(){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(i)}function a(t){t.restoreScrollOnRelease=!0,t.lockPinnedToTop=!1}function s(){if("undefined"==typeof document)return!1;let t=l();return!(t.lockCount>0)&&null===t.saved&&!!document.body.hasAttribute(i)&&(c(),a(t),!0)}function d(t){(0,n.useEffect)(()=>{let t=()=>s();t();let e=window.requestAnimationFrame(t),r=window.setTimeout(t,250);return()=>{window.cancelAnimationFrame(e),window.clearTimeout(r)}},[t]),(0,n.useEffect)(()=>{let t=()=>s();return window.addEventListener("pageshow",t),()=>window.removeEventListener("pageshow",t)},[])}function f(t,e){let r=null==e?void 0:e.restoreScroll,o=null==e?void 0:e.pinToTop;(0,n.useEffect)(()=>
1{if(t)return function(t){if("undefined"==typeof document)return()=>{};let e=l(),r=(null==t?void 0:t.pinToTop)===!0,n=0===e.lockCount;n&&s(),e.lockCount+=1,n?(e.restoreScrollOnRelease=!r&&(null==t?void 0:t.restoreScroll)!==!1,function(t){let e=l(),r=document.body,n=document.documentElement;t&&window.scrollTo(0,0);let o=t?0:window.scrollY||window.pageYOffset||0,u=window.innerWidth-n.clientWidth;e.saved={bodyPosition:r.style.position,bodyPositionPriority:r.style.getPropertyPriority("position"),bodyTop:r.style.top,bodyTopPriority:r.style.getPropertyPriority("top"),bodyLeft:r.style.left,bodyLeftPriority:r.style.getPropertyPriority("left"),bodyRight:r.style.right,bodyRightPriority:r.style.getPropertyPriority("right"),bodyWidth:r.style.width,bodyWidthPriority:r.style.getPropertyPriority("width"),bodyOverflow:r.style.overflow,bodyOverflowPriority:r.style.getPropertyPriority("overflow"),bodyPaddingRight:r.style.paddingRight,bodyPaddingRightPriority:r.style.getPropertyPriority("padding-right"),htmlOverflow:n.style.overflow,htmlOverflowPriority:n.style.getPropertyPriority("overflow"),scrollY:o},r.style.position="fixed",r.style.top=t?"0px":"-".concat(o,"px"),r.style.left="0",r.style.right="0",r.style.width="100%",r.style.setProperty("overflow","hidden","important"),n.style.setProperty("overflow","hidden","important"),r.setAttribute(i,"1"),u>0&&(r.style.paddingRight="".concat(u,"px")),e.lockPinnedToTop=t}(r)):(r&&function(){let t=l();t.lockPinnedToTop||(window.scrollTo(0,0),document.body.style.top="0px",t.lockPinnedToTop=!0)}(),(r||(null==t?void 0:t.restoreScroll)===!1)&&(e.restoreScrollOnRelease=!1));let o=!1;return()=>{o||(o=!0,e.lockCount=Math.max(0,e.lockCount-1),0===e.lockCount&&function(){let t=l(),e=document.body,r=document.documentElement,n=t.saved;if(!n){0===t.lockCount&&e.hasAttribute(i)&&c(),a(t);return}t.saved=null,u(e.style,"position",n.bodyPosition,n.bodyPositionPriority),u(e.style,"top",n.bodyTop,n.bodyTopPriority),u(e.style,"left",n.bodyLeft,n.bodyLeftPriority),u(e.style,"right",n.bodyRight,n.bodyRightPriority),u(e.style,"width",n.bodyWidth,n.bodyWidthPriority),u(e.style,"padding-right",n.bodyPaddingRight,n.bodyPaddingRightPriority),u(e.style,"overflow",n.bodyOverflow,n.bodyOverflowPriority),u(r.style,"overflow",n.htmlOverflow,n.htmlOverflowPriority),e.removeAttribute(i),t.restoreScrollOnRelease&&window.scrollTo(0,n.scrollY),a(t)}())}}({restoreScroll:r,pinToTop:o})},[t,r,o])}},18265:function(t,e,r){"use strict";r.d(e,{$:function(){return o},q:function(){return n}});let n=(t,e)=>{localStorage.setItem(t,JSON.stringify(e))},o=t=>{{let e=localStorage.getItem(t);if(e)try{return e}catch(t){console.error("Error parsing JSON from localStorage:",t)}}return null}},35662:function(t,e,r){"use strict";r.d(e,{AL:function(){return s},D5:function(){return v},OZ:function(){return S},Ob:function(){return l},P9:function(){return g},Ph:function(){return y},Qu:function(){return k},T4:function(){return d},TT:function(){return a},UI:function(){return u},Vo:function(){return x},Wk:function(){return p},Yi:function(){return w},aF:function(){return P},cn:function(){return i},fT:function(){return T},gR:function(){return b},p6:function(){return h},rp:function(){return c},vS:function(){return C},xG:function(){return f},zd:function(){return m}});var n=r(57908),o=r(66290);function i(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return(0,o.m6)((0,n.W)(e))}let l=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)},u=async()=>{let{default:t}=await r.e(36440).then(r.bind(r,36440)),e=await t.load();return(await e.get()).visitorId},c=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()),a=t=>!t||!(t instanceof Date)||isNaN(t.getTime())?"":t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),s=function(t){let{locale:e="en-US",utc:r=!1,fallback:n=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return n;let o="string"==typeof t&&/^\d{4}-\d{2}-\d{2}$/.test(t),i=new Date(!r&&o?"".concat(t,"T12:00:00"):t);return isNaN(i.getTime())?n:i.toLocaleDateString(e,{weekday:"short",month:"short",day:"numeric",...r&&{timeZone:"UTC"}})},d=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;
1return"$".concat(Number(t||0).toLocaleString("en-US",{minimumFractionDigits:e,maximumFractionDigits:e}))},f=(t,e)=>t||0===t?void 0===e?"$".concat(Number(t).toLocaleString("en-US")):d(t,e):"$0",p=t=>{if(!t)return"";let e=new Date(t);if(isNaN(e.getTime()))return"";let r={timeZone:"UTC"},n=e.toLocaleDateString("en-GB",{...r,weekday:"short"}),o=e.toLocaleDateString("en-GB",{...r,day:"2-digit"}),i=e.toLocaleDateString("en-GB",{...r,month:"short"});return"".concat(n,", ").concat(o,"-").concat(i)},h=t=>{if(!t||!(t instanceof Date))return null;let e=t.getTimezoneOffset();return new Date(t.getTime()-6e4*e).toISOString().split("T")[0]},m=t=>{if(!t)return"12:00 AM";let e=String(t).trim();if(/[ap]m$/i.test(e))return e.toUpperCase();let[r,n]=e.split(":").map(Number);if(Number.isNaN(r))return"12:00 AM";Number.isNaN(n)&&(n=0);let o=(r=(r%24+24)%24)>=12?"PM":"AM",i=r%12||12;return"".concat(i,":").concat(n.toString().padStart(2,"0")," ").concat(o)},y=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,e=[];for(let r=0;r<24;r++)for(let n=0;n<60;n+=t)e.push("".concat(r.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0")));return e};function g(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,r]=t.split("T"),[n]=r.split(/[-+]/),[o,i,l]=e.split("-").map(Number),[u,c,a]=n.split(":").map(Number);return new Date(o,i-1,l,u,c,a)}function b(t){let[e,r]=(t.endsWith("Z")?t.slice(0,-1):t).split("T"),n=r.split(/[-+]/)[0];n=n.replace(/\.\d+/,"");let[o,i,l]=e.split("-").map(Number),[u,c,a]=n.split(":").map(Number);return new Date(o,i-1,l,u,c,a||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 x(t,e){if(!t||!e||0===e.length)return!1;let r=t=>((null==t?void 0:t.message)||(null==t?void 0:t.msg)||"").trim(),n=r(t),o=Number((null==t?void 0:t.timestamp)||0);return e.some(e=>{if(e.id&&t.id&&e.id===t.id)return!0;let i=r(e)===n,l=(null==e?void 0:e.roomId)==null||(null==t?void 0:t.roomId)==null||String(e.roomId)===String(t.roomId),u=(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),c=Math.abs(Number((null==e?void 0:e.timestamp)||0)-o),a=(null==e?void 0:e.isOptimistic)?c<=6e4:c<5e3;return i&&l&&u&&a})}function T(t,e,r){let n=Math.ceil(e/r),o=Math.floor(t/r),i=t%r;return{"rounded-tl-2xl":0===o&&0===i,"rounded-tr-2xl":0===o&&(i===r-1||t===e-1),"rounded-bl-2xl":o===n-1&&0===i,"rounded-br-2xl":t===e-1||(e%r||r)<r&&o===n-2&&i===r-1}}function k(t,e){let r="prod".trim().toLowerCase(),n="development"===r||"dev"===r||"local"===r||/localhost|127\.0\.0\.1|lvh\.me/i.test(e||""),o=n?"".concat(t||"username",".lvh.me:4000"):"".concat(t||"username",".").concat("latest"===r?"dev.private-rents.com":"private-rents.com");return"".concat(n?"http":"https","://").concat(o)}function C(t){return!!(t&&(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||1===t.button))}},7080:function(t,e,r){"use strict";r.d(e,{hC:function(){return o},oM:function(){return a},qf:function(){return s},vJ:function(){return c}});let n=["latitude","longitude","lat","lng","lon","long"],o=()=>{var t;if(null===(t=window.history)||void 0===t?void 0:t.replaceState)try{let t=new URL(window.location.href),e=!1;for(let r of n)t.searchParams.has(r)&&(t.searchParams.delete(r),e=!0);e&&window.history.replaceState(window.history.state,"",t.toString())}catch(t){}},i=t=>{if(!t)return t;let e={};for(let[r,o]of Object.entries(t))n.includes(r.toLowerCase())||(e[r]=o);return e},l=()=>"".concat(Date.now(),"-").concat(Math.random().toString(36).substring(2,11)),u=(t,e,r)=>{if(window.fbq)try{o();let n=i(e),l=r?{eventID:r}:void 0;n?window.fbq("track",t,n,l):window.fbq("track",t,{},l)}catch(t){console.error("Error tracking Meta Pixel event:",t)}},c=()=>{let t=l();return u("CompleteRegistration",{},t),t},a=t=>{u("InitiateCheckout",{content_type:"product",currency:"USD",...t})},s=()=>{u("AddPaymentInfo")}},65880:function(t,e,r){"use strict";r.d(e,{default:function(){return o.a}});var n=r(25839),o=r.n(n)},87659:function(t,e,r){"use strict";r.d(e,{default:function(){return o.a}});var n=r(65469),o=r.n(n)},67754:function(t,e,r){"use strict";var n=r(534);r.o(n,"useParams")&&r.d(e,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(e,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(e,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(e,{useSearchParams:function(){return n.useSearchParams}})},25839:function(t,e,r){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return c},getImageProps:function(){return u}});let n=r(84732),o=r(84163),i=r(35658),l=n._(r(43804));function u(t){let{props:e}=(0,o.getImgProps)(t,{defaultLoader:l.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,r]of Object.entries(e))void 0===r&&delete e[t];return{props:e}}let c=i.Image},68571:function(t){var e,r,n,o=t.exports={};function i(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function u(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:l}catch(t){r=l}}();var c=[],a=!1,s=-1;function d(){a&&n&&(a=!1,n.length?c=n.concat(c):s=-1,c.length&&f())}function f(){if(!a){var t=u(d);a=!0;for(var e=c.length;e;){for(n=c,c=[];++s<e;)n&&n[s].run();s=-1,e=c.length}n=null,a=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new p(t,e)),1!==c.length||a||u(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},45531:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e<arguments.length;e++){var r=arguments[e];r&&(t=i(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var r in t)n.call(t,r)&&t[r]&&(e=i(e,r));return e}(r)))}return t}function i(t,e){return e?t?t+" "+e:t+e:t}t.exports?(o.default=o,t.exports=o):void 0!==(r=(function(){return o}).apply(e,[]))&&(t.exports=r)}()},7220:function(t,e,r){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}r.d(e,{Z:function(){return o}});var o=function t(e,r){function o(t,o,i){if("undefined"!=typeof document){"number"==typeof(i=n({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var u in i)i[u]&&(l+="; "+u,!0!==i[u]&&(l+="="+i[u].split(";")[0]));return document.cookie=t+"="+e.write(o,t)+l}}return Object.create({set:o,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},o=0;o<r.length;o++){var i=r[o].split("="),l=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(n[u]=e.read(l,u),t===u)break}catch(t){}}return t?n[t]:n}},remove:function(t,e){o(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(r)},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,r){"use strict";r.d(e,{o:function(){return o}});class n extends Error{}function o(t,e){let r;if("string"!=typeof t)throw new n("Invalid token specified: must be a string");e||(e={});let o=!0===e.header?0:1,i=t.split(".")[o];if("string"!=typeof i)throw new n(`Invalid token specified: missing part #${o+1}`);try{r=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 r;return r=e,decodeURIComponent(atob(r).replace(/(.)/g,(t,e)=>{let r=e.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(t){return atob(e)}}(i)}catch(t){throw new n(`Invalid token specified: invalid base64 for part #${o+1} (${t.message})`)}try{return JSON.parse(r)}catch(t){throw new n(`Invalid token specified: invalid json for part #${o+1} (${t.message})`)}}n.prototype.name="InvalidTokenError"}},function(t){t.O(0,[49410,70461,7384,47031,6e3,35658,65469,77075,89036,7157,89825,98992,78519,73159,22474,81293,60286,1744],function(){return t(t.s=48855)}),_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.