PageSourceSearch

https://www.campercontact.com/_next/static/chunks/app/%5Blang%5D/c…/%5B...generic%5D/page-e663b4a0eef2d059.js

js campercontact.com collected 2026-10-01 11:41:19 UTC 10,765 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5167],{10616:(e,t,a)=>{Promise.resolve().then(a.bind(a,57595)),Promise.resolve().then(a.bind(a,30256)),Promise.resolve().then(a.bind(a,54545)),Promise.resolve().then(a.bind(a,14887)),Promise.resolve().then(a.t.bind(a,45165,23))},45027:(e,t,a)=>{"use strict";a.d(t,{Q:()=>n.Breadcrumb});var n=a(66842)},57595:(e,t,a)=>{"use strict";a.d(t,{default:()=>p});var n=a(54568),s=a(7620),r=a(15822),l=a(3365),i=a(27541),o=a(82673),d=a(38382),c=a(92367),u=a(54977),m=a(45027);let f=e=>{var t,a;return(null==(t=e.data.breadcrumb_label)?void 0:t.toString())||(null==(a=e.data.meta_title)?void 0:a.toString())||""};function h(e){let{contentPage:t,parent:a}=e,s=(0,u.R)(t.lang),r=(0,c.A)("generic_content_page",s,t.uid),l=[{label:"Home",href:(0,c.A)("homepage",s,void 0)},...a?[{label:f(a),href:(0,c.A)("generic_content_page",s,"/".concat(a.uid))}]:[],{label:f(t),href:r}];return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"pt-24",children:[(0,n.jsx)("div",{className:"container mx-auto grid grid-cols-12 py-10",children:(0,n.jsx)("div",{className:"col-span-12 lg:col-span-10 lg:col-start-2 xl:col-span-8 xl:col-start-3",children:(0,n.jsx)(m.Q,{items:l})})}),t.data.body&&(0,n.jsx)(d.default,{slices:t.data.body})]})})}function p(e){let{contentPage:t,parent:a,lang:d}=e,{isPro:c,isLoading:u}=(0,o.zI)(),{isLoggedIn:m,loading:f}=(0,r.A)(),p=(0,i.useRouter)(),x=(0,i.usePathname)();if((0,s.useEffect)(()=>{(null==t?void 0:t.data.pro_only)&&!f&&!m&&p.replace("/auth/".concat(d,"/login?redirectTo=").concat(encodeURIComponent(null!=x?x:"")))},[null==t?void 0:t.data.pro_only,f,m,p,d,x]),null==t?void 0:t.data.pro_only){if(f||!m)return null;else if(u)return null;else if(!c)return(0,n.jsx)("div",{className:"pt-20",children:(0,n.jsx)(l.A,{})})}return t?(0,n.jsx)(h,{contentPage:t,parent:a}):null}},66842:(e,t,a)=>{"use strict";a.d(t,{Breadcrumb:()=>m});var n=a(54568),s=a(7620),r=a(19664),l=a.n(r),i=a(58533),o=a(73595),d=a(4048),c=a(89773);let u=(e,t)=>e.reduce((e,t)=>e+t,0)+t*Math.max(0,e.length-1),m=e=>{let{items:t,baseUrl:a,overflowLabel:r="Show more breadcrumbs"}=e,l=((e,t)=>{if(!(null==e?void 0:e.length))return null;let a=null!=t?t:window.location.origin;return JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.filter(e=>e.label).map((e,t)=>({"@type":"ListItem",position:t+1,name:e.label,...e.href?{item:"".concat(a).concat(e.href)}:{}}))})})(t,a),i=s.useMemo(()=>(null!=t?t:[]).filter(e=>e.label),[t]),o=s.useRef(null),d=s.useRef(null),c=s.useRef(null),[m,b]=s.useState(0),[g,j]=s.useState(!1);s.useEffect(()=>j(!0),[]);let v=s.useMemo(()=>JSON.stringify(i.map(e=>{var t;return[null!=(t=e.href)?t:"",e.label]})),[i]);s.useEffect(()=>{let e;if(!g)return;let t=o.current,a=d.current;if(!t||!a)return;let n=()=>{let e=c.current;e&&b((e=>{let{widths:t,overflowWidth:a,gap:n,containerWidth:s}=e,r=t.length;if(r<=3||s<=0)return 0;let l=r-3;for(let e=0;e<=l;e++){let l=[t[0]];e>0&&l.push(a);for(let a=1+e;a<=r-3;a++)l.push(t[a]);if(l.push(t[r-2]),l.push(t[r-1]),u(l,n)<=s)return e}return l})({...e,containerWidth:t.clientWidth}))};c.current=(()=>{let e=Array.from(a.children);if(e.length<2)return null;let t=e.slice(0,-1).map(e=>e.getBoundingClientRect().width),n=e[e.length-1].getBoundingClientRect().width,s=parseFloat(window.getComputedStyle(a).columnGap);return{widths:t,overflowWidth:n,gap:Number.isFinite(s)?s:8}})(),n();let s=new ResizeObserver(()=>{e&&clearTimeout(e),e=setTimeout(n,100)});return s.observe(t),()=>{e&&clearTimeout(e),s.disconnect()}},[g,v]);let y=i.length-1,N=Math.min(m,Math.max(0,i.length-3)),w=N>0?i.slice(1,1+N):[],_=[];i.forEach((e,t)=>{var a;0!==t&&t<=N||_.push({item:e,key:"".concat(null!=(a=e.href)?a:"","_").concat(t),isCurrent:t===y})});let R=N>0;return(0,n.jsxs)(n.Fragment,{children:[l&&(0,n.jsx)("script",{suppressHydrationWarning:!0,type:"application/ld+json",dangerouslySetInnerHTML:{__html:l}}),(0,n.jsxs)("nav",{ref:o,"aria-label":"Breadcrumb",className:"relative w-full overflow-hidden",children:[(0,n.jsx)("ol",{className:"flex min-w-0 items-center gap-2",children:_.map((e,t)=>{let{item:a,key:l,isCurrent:i}=e,o=t===_.length-1;return(0,n.jsxs)(s.Fragment,{children:[R&&1===t&&(0,n.jsx)(x,{items:w,label:r}),(0,n.jsx)("li",{className:"flex min-w-0",children:(0,n.jsx)(h,{item:a,isCurrent:i,showSeparator:!o})})]},l)})}),g&&(0,n.jsxs)("ol",{ref:d,"aria-hidden":"true",className:"pointer-events-none invisible absolute left-0 top-0 flex items-center gap-2",children:[i.map((e,t)=>(0,n.jsx)("li",{className:"flex whitespace-nowrap",children:(0,n.jsx)(h,{item:e,isCurrent:t===y,showSeparator:t!==y,measuring:!0})},"measure_".concat(t))),(0,n.jsxs)("li",{className:"flex items-center gap-2 whitespace-nowrap",children:[(0,n.jsx)(p,{label:r,tabIndex:-1}),(0,n.jsx)(f,{})]})]})]})]})};m.displayName="Breadcrumb";let f=()=>(0,n.jsx)("span",{"aria-hidden":"true",className:"flex shrink-0 items-center",children:(0,n.jsx)(d.UI.ChevronRightIcon,{size:"xs"})}),h=e=>{let{item:t,isCurrent:a,showSeparator:s,measuring:r}=e;return a||void 0===t.href?(0,n.jsx)(i.E,{size:"footnote",color:"secondary",className:r?"whitespace-nowrap":"min-w-0 truncate","aria-current":a?"page":void 0,dangerouslySetInnerHTML:{__html:t.label}}
1):(0,n.jsxs)("span",{className:(0,c.cn)("flex items-center gap-2",r?"whitespace-nowrap":"min-w-0"),children:[(0,n.jsx)(l(),{href:t.href,title:t.title?t.title:t.label,className:r?"":"min-w-0 truncate",tabIndex:r?-1:void 0,children:(0,n.jsx)(i.E,{size:"footnote",className:(0,c.cn)("transition-all hover:text-ui-text-link hover:underline active:text-ui-text-primary active:no-underline",r?"whitespace-nowrap":"truncate"),children:t.label})}),s&&(0,n.jsx)(f,{})]})};h.displayName="BreadcrumbCrumb";let p=s.forwardRef((e,t)=>{let{label:a,...s}=e;return(0,n.jsx)("button",{ref:t,type:"button","aria-label":a,className:"flex items-center rounded px-1 leading-none text-ui-text-secondary transition-colors hover:text-ui-text-link focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ui-secondary",...s,children:(0,n.jsx)(i.E,{size:"footnote",color:"secondary",as:"span","aria-hidden":"true",children:"…"})})});p.displayName="OverflowButton";let x=e=>{let{items:t,label:a}=e;return(0,n.jsxs)("li",{className:"flex shrink-0 items-center gap-2",children:[(0,n.jsxs)(o.rI,{children:[(0,n.jsx)(o.ty,{asChild:!0,children:(0,n.jsx)(p,{label:a})}),(0,n.jsx)(o.SQ,{align:"start",children:t.map((e,t)=>void 0!==e.href?(0,n.jsx)(o._2,{asChild:!0,children:(0,n.jsx)(l(),{href:e.href,title:e.title?e.title:e.label,children:(0,n.jsx)(i.E,{size:"footnote",children:e.label})})},"".concat(e.href,"_").concat(t)):(0,n.jsx)(o._2,{disabled:!0,children:(0,n.jsx)(i.E,{size:"footnote",children:e.label})},"nolink_".concat(t)))})]}),(0,n.jsx)(f,{})]})};x.displayName="BreadcrumbOverflow"},73595:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>u,_2:()=>m,mB:()=>f,rI:()=>d,ty:()=>c});var n=a(54568),s=a(7620),r=a(94882),l=a(89773),i=a(61479),o=a(69355);let d=r.bL,c=r.l9;r.YJ,r.Pb,r.z6,s.forwardRef((e,t)=>{let{className:a,inset:s,children:o,...d}=e;return(0,n.jsxs)(r.ZP,{ref:t,className:(0,l.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",s&&"pl-8",a),...d,children:[o,(0,n.jsx)("div",{className:"ml-auto",children:(0,n.jsx)(i.UI.ChevronRightIcon,{size:"xs"})})]})}).displayName=r.ZP.displayName,s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)(r.G5,{ref:t,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-white p-1 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...s})}).displayName=r.G5.displayName;let u=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...i}=e;return(0,n.jsx)(o.Z,{children:(0,n.jsx)(r.UC,{ref:t,sideOffset:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-white p-1 shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})})});u.displayName=r.UC.displayName;let m=s.forwardRef((e,t)=>{let{className:a,inset:s,...i}=e;return(0,n.jsx)(r.q7,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-gray-50",s&&"pl-8",a),...i})});m.displayName=r.q7.displayName,s.forwardRef((e,t)=>{let{className:a,children:s,checked:o,...d}=e;return(0,n.jsxs)(r.H_,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...d,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(r.VF,{children:(0,n.jsx)(i.UI.CheckSeparateIcon,{size:"xs"})})}),s]})}).displayName=r.H_.displayName,s.forwardRef((e,t)=>
1{let{className:a,children:s,...o}=e;return(0,n.jsxs)(r.hN,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(r.VF,{children:(0,n.jsx)(i.UI.DotIcon,{size:"xs"})})}),s]})}).displayName=r.hN.displayName,s.forwardRef((e,t)=>{let{className:a,inset:s,...i}=e;return(0,n.jsx)(r.JU,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",a),...i})}).displayName=r.JU.displayName;let f=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)(r.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-ui-outline",a),...s})});f.displayName=r.wv.displayName}},e=>{e.O(0,[4129,7341,9906,9664,9297,3709,2683,2392,235,2536,4629,1658,8352,1358,4882,3508,9885,563,7576,2995,3602,8028,9920,2483,4919,9112,6612,9266,2673,8790,2174,4964,8013,7024,587,18,7358],()=>e(e.s=10616)),_N_E=e.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.