PageSourceSearch

https://www.britstops.com/_next/static/chunks/3189-ac90db8613bddbc4.js

js britstops.com collected 2026-09-24 19:58:17 UTC 9,578 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:britstops-web":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ad052e25-e6c8-48fe-986d-300db02b8dc5",e._sentryDebugIdIdentifier="sentry-dbid-ad052e25-e6c8-48fe-986d-300db02b8dc5")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3189],{10364:(e,t,r)=>{r.d(t,{B:()=>i});var o=r(6029),n=r(55729),a=r(63577),s=r(79613);let i=({height:e,color:t,strokeWidth:r})=>{let{theme:{colors:i}}=(0,s.I)(),l=(0,n.useMemo)(()=>e||24,[e]),c=(0,n.useMemo)(()=>t||i.neutral900,[i,t]),h=(0,n.useMemo)(()=>l/24*24,[l]);return(0,o.jsxs)(a.BS,{width:h,height:l,viewBox:"0 0 24 24",fill:"none",children:[(0,o.jsx)(a.wA,{d:"M5.38473 16.5C6.82471 18.6128 9.25038 20 12.0001 20C16.4183 20 20.0001 16.4183 20.0001 12C20.0001 7.58172 16.4183 4 12.0001 4C9.03893 4 6.45355 5.60879 5.07031 8L4.46875 9.04688",stroke:c,strokeWidth:r??"1.5",strokeLinecap:"round"}),(0,o.jsx)(a.wA,{d:"M3.57183 5.26503L4.18799 9.21729L8.14025 8.60112",stroke:c,strokeWidth:r??"1.5",strokeLinecap:"round"}),(0,o.jsx)(a.wA,{d:"M12 7.7998V11.9998L14.8 13.3998",stroke:c,strokeWidth:r??"1.5",strokeLinecap:"round"})]})}},24531:(e,t,r)=>{r.d(t,{Q:()=>d});var o=r(6029),n=r(55729),a=r(44517),s=r(32768),i=r(34650),l=r(33427),c=r(56139),h=r(79613);let d=({onPress:e,iconBackgroundColor:t,iconComponent:r,name:c,code:d,city:u,region:y,placeType:p,style:g,testID:x,dataSet:C,rightIconComponent:w})=>{let{styles:T,ids:b}=(0,h.I)(m),{t:j}=(0,l.B)(),k=(0,n.useMemo)(()=>j("search:results.location",{context:p,location:u&&y?`${u}, ${y}`:y??u}),[u,p,y,j]);return(0,o.jsx)(a.A,{style:g,dataSet:C,children:(0,o.jsxs)(s.A,{onPress:e,style:T.container,testID:x,dataSet:{media:b.container},children:[(0,o.jsx)(a.A,{style:[T.iconContainer,{backgroundColor:t}],dataSet:{media:b.iconContainer},children:r}),(0,o.jsxs)(a.A,{style:T.labelContainer,children:[(0,o.jsxs)(i.A,{style:T.title,numberOfLines:1,ellipsizeMode:"tail",dataSet:{media:b.title},children:[c,d&&(0,o.jsx)(i.A,{style:T.code,dataSet:{media:b.code},children:` (${d})`})]}),k&&(0,o.jsx)(i.A,{style:T.detail,dataSet:{media:b.detail},children:k})]}),w]})})},m=({colors:e,typography:t,borderRadius:r,breakpoints:o})=>({container:{height:39,flexDirection:"row",alignItems:"center",[(0,c.B)(["min","width",o.narrow])]:{height:48}},iconContainer:{width:36,height:36,borderRadius:r.max,alignItems:"center",justifyContent:"center",marginRight:8,[(0,c.B)(["min","width",o.narrow])]:{width:48,height:48,marginRight:12}},labelContainer:{flex:1},title:{...t.small,color:e.textPrimary,[(0,c.B)(["min","width",o.narrow])]:{...t.medium}},detail:{...t.xSmall,color:e.textTertiary,[(0,c.B)(["min","width",o.narrow])]:{...t.small}},code:{...t.xSmall,color:e.textTertiary,[(0,c.B)(["min","width",o.narrow])]:{...t.small}}})},49155:(e,t,r)=>{r.d(t,{O:()=>i});var o=r(6029),n=r(55729),a=r(63577),s=r(79613);let i=({height:e,color:t})=>{let{theme:{colors:r}}=(0,s.I)(),i=(0,n.useMemo)(()=>e||24,[e]),l=(0,n.useMemo)(()=>t||r.hhPurple700,[r,t]),c=(0,n.useMemo)(()=>i/24*24,[i]);return(0,o.jsx)(a.BS,{width:c,height:i,viewBox:"0 0 24 24",fill:"none",children:(0,o.jsx)(a.wA,{d:"M3.55741 12.8373C2.87429 12.6495 2.80858 11.7065 3.45903 11.4256L17.7651 5.24903C18.3885 4.97989 19.0201 5.61151 18.751 6.23488L12.5537 20.5888C12.2752 21.2339 11.3421 21.1761 11.1452 20.5016L9.41411 14.5715C9.3898 14.4882 9.32407 14.4235 9.24043 14.4005L3.55741 12.8373Z",fill:l})})}},71879:(e,t,r)=>{r.d(t,{d:()=>v});var o=r(6029),n=r(55729),a=r(69644),s=r(18231),i=r(93803),l=r.n(i),c=r(79613),h=r(62366),d=r(67510),m=r(24531),u=r(79542),y=r(65561),p=r(432),g=r(57759),x=r(57755),C=r(40049),w=r(2592),T=r(37719),b=r(91291),j=r(20605),k=r(75974);let f=({location:e,hostType:t,onSelect:r,style:a})=>{let{theme:{colors:s}}=(0,c.I)(),i=(0,n.useCallback)(()=>{r?.(e)},[e,r]),l=(0,n.useMemo)(()=>{let e=s.transparent,r=(0,o.jsx)(o.Fragment,{});switch(t){case h.R.attraction:e=(0,d.Th)(s.hostTypeAttraction,.1),r=(0,o.jsx)(u.T,{height:24});break;case h.R.breweries_distilleries:e=(0,d.Th)(s.hostTypeBrewery,.1),r=(0,o.jsx)(y.S,{height:24});break;case h.R.community:e=(0,d.Th)(s.hostTypeBW,.1),r=(0,o.jsx)(p.l,{height:24});break;case h.R.farm:e=(0,d.Th)(s.hostTypeFarm,.1),r=(0,o.jsx)(g.E,{height:24});break;case h.R.golf:e=(0,d.Th)(s.hostTypeGolf,.1),r=(0,o.jsx)(x.m,{height:24});break;case h.R.campground:e=(0,d.Th)(s.hostTypeCampground,.1),r=(0,o.jsx)(C.O,{height:24});break;
1case h.R.pub:e=(0,d.Th)(s.hostTypePub,.1),r=(0,o.jsx)(y.S,{height:24});break;case h.R.aire:e=(0,d.Th)(s.hostTypeAire,.1),r=(0,o.jsx)(w.b,{height:24});break;case h.R.airstream:e=(0,d.Th)(s.hostTypeAirStream,.1),r=(0,o.jsx)(T.q,{height:24});break;default:e=(0,d.Th)(s.hostTypeWinery,.1),r=(0,o.jsx)(b.A,{height:24})}return{iconBackground:e,iconComponent:r}},[s.transparent,s.hostTypeAttraction,s.hostTypeBrewery,s.hostTypeBW,s.hostTypeFarm,s.hostTypeGolf,s.hostTypeCampground,s.hostTypePub,s.hostTypeAire,s.hostTypeAirStream,s.hostTypeWinery,t]);return(0,o.jsx)(m.Q,{iconBackgroundColor:l.iconBackground,iconComponent:l.iconComponent,onPress:i,name:e.name,code:e.book_code,city:e.city,region:e.region,style:a,testID:"host-result",rightIconComponent:(0,o.jsx)(k.L,{afterBreakpoint:"narrow",children:(0,o.jsx)(j.c,{height:24,color:s.neutral500})})})};var B=r(60614),M=r(63577);let A=({height:e,color:t})=>{let{theme:{colors:r}}=(0,c.I)(),a=(0,n.useMemo)(()=>e||24,[e]),s=(0,n.useMemo)(()=>t||r.campscannerPrimary,[r,t]),i=(0,n.useMemo)(()=>a/24*24,[a]);return(0,o.jsxs)(M.BS,{width:i,height:a,viewBox:"0 0 24 24",fill:"none",children:[(0,o.jsx)(M.wA,{d:"M11.6888 1.09735C7.34229 1.24945 3.7314 4.63139 3.31424 8.94829C3.22902 9.81166 3.27836 10.6482 3.43087 11.449C3.43087 11.449 3.44433 11.5429 3.48918 11.7218C3.62375 12.3213 3.8256 12.9028 4.07679 13.4486C4.95148 15.5153 6.97447 18.9733 11.5139 22.7355C11.792 22.9681 12.2002 22.9681 12.4828 22.7355C17.0222 18.9778 19.0452 15.5198 19.9243 13.4441C20.18 12.8984 20.3774 12.3213 20.5119 11.7174C20.5523 11.5429 20.5703 11.4445 20.5703 11.4445C20.6734 10.9077 20.7272 10.3574 20.7272 9.79377C20.7272 4.8819 16.6499 0.922885 11.6888 1.09735Z",fill:s}),(0,o.jsx)(M.wA,{d:"M13.4186 13.9599C12.5108 12.6477 12.0007 10.5135 12.0007 10.5135C12.0007 10.5135 11.4905 12.6477 10.5827 13.9599C10.4532 14.1475 10.2375 14.256 10.0094 14.256H7.55997C7.18128 14.256 6.96024 13.8303 7.178 13.5206C9.13814 10.7343 10.8737 6.96588 11.5764 5.43473C11.7432 5.07124 12.2577 5.07124 12.4245 5.43473C13.1272 6.96588 14.8628 10.7341 16.8229 13.5206C17.0411 13.8303 16.8201 14.256 16.4414 14.256H13.9919C13.7639 14.256 13.5482 14.1475 13.4186 13.9599Z",fill:r.basicWhite})]})};var S=r(16754);let I=({location:e,onSelect:t,style:r})=>{let{theme:{colors:a}}=(0,c.I)(),s=(0,n.useMemo)(()=>""!==e.city?e.city:void 0,[e.city]),i=(0,n.useMemo)(()=>""!==e.region?e.region:void 0,[e.region]),l=(0,n.useMemo)(()=>e.placeType===B.s.campground?(0,d.Th)(a.campscannerPrimary,.1):a.base50,[a.base50,a.campscannerPrimary,e.placeType]),h=(0,n.useMemo)(()=>e.placeType===B.s.campground?(0,o.jsx)(A,{height:24}):(0,o.jsx)(S.V,{height:24,color:a.neutral700}),[a.neutral700,e.placeType]),u=(0,n.useCallback)(()=>{t?.(e)},[e,t]);return(0,o.jsx)(m.Q,{onPress:u,iconBackgroundColor:l,iconComponent:h,name:e.name,city:s,region:i,placeType:e.placeType,style:r,testID:"location-result",rightIconComponent:(0,o.jsx)(k.L,{afterBreakpoint:"narrow",children:(0,o.jsx)(j.c,{height:24,color:a.neutral500})})})},v=({hostMatches:e,locationMatches:t,onSelect:r,style:n,...i})=>{let{styles:h}=(0,c.I)(L);return(0,o.jsxs)(a.A,{style:n,keyboardShouldPersistTaps:"always",...i,testID:"results-list",showsVerticalScrollIndicator:"web"!==s.A.OS,contentContainerStyle:[h.scrollViewContent,"web"!==s.A.OS&&{paddingBottom:48}],children:[l()(e,e=>(0,o.jsx)(f,{hostType:e.hostType,location:e,onSelect:r,style:h.result},`host-${e.id}`)),l()(t,e=>(0,o.jsx)(I,{location:e,onSelect:r,style:h.result},`location-${e.id}`))]})},L=e=>({scrollViewContent:{marginHorizontal:24,marginTop:24},result:{marginBottom:16}})},91157:(e,t,r)=>{r.d(t,{O:()=>p});var o=r(6029);r(55729);var n=r(28036),a=r(44517),s=r(69644),i=r(93803),l=r.n(i),c=r(33427),h=r(56139),d=r(79613),m=r(24531),u=r(10364),y=r(59539);let p=({recentMatches:e,onSelect:t,style:r,dataSet:i,resultStyle:h,horizontal:p})=>{let{styles:x,theme:C,ids:w}=(0,d.I)(g),{t:T}=(0,c.B)(),{width:b}=(0,n.A)(),j=b<=C.breakpoints.narrow;return(0,o.jsxs)(a.A,{style:r,dataSet:i,children:[(0,o.jsx)(y.J,{align:"left",maxBreakpointAlign:"left",maxBreakpointSize:"sm",style:x.recentTitle,children:T("search:recentTitle")}),(0,o.jsx)(s.A,{keyboardShouldPersistTaps:"always",showsHorizontalScrollIndicator:!1,contentContainerStyle:x.scrollViewContent,horizontal:null!=p?p:j,children:l()(e,e=>(0,o.jsx)(m.Q,{iconComponent:(0,o.jsx)(u.B,{color:C.colors.neutral700}
1),iconBackgroundColor:C.colors.base50,name:e.name,city:e.city,region:e.region,onPress:()=>{t?.(e)},style:[x.result,h],dataSet:{media:w.result}},`recent-${e.id}`))})]})},g=e=>({recentTitle:{marginLeft:24},scrollViewContent:{marginHorizontal:24,marginTop:12},result:{marginRight:20,[(0,h.B)(["min","width",e.breakpoints.narrow])]:{marginBottom:16,marginRight:0}}})}}]);

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.