PageSourceSearch

https://www.butlins.com/app-assets/workflow_dispatch/4822/_next/static/chunks/3587-4f0a5f902d6091a6.js

js butlins.com collected 2026-09-24 08:58:53 UTC 14,517 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3587],{21231:(e,t,n)=>{n.d(t,{A:()=>W});var i=n(66284),o=n(59860),r=n(15039),a=n.n(r),l=n(77328),s=n.n(l),c=n(14232),d=n(21626),u=n(7634),p=n(37641),m=n(44478),f=n(36117),g=n(55529),h=n(30295),b=n(37876),v=n(99742);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var O=function(e){var t=e.width,n=e.height;return{width:t&&"100%"!==t?t:"",height:n&&"100%"!==n?n:""}},x=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{width:"",height:"",variant:void 0},o=(0,p.VHj)(n),r=O(i),a=r.width,l=r.height,s=a||l?"".concat(a,"x").concat(l):"original",c=i.variant?"/".concat(i.variant):"",d=!v.env.IS_STORYBOOK,m=String("".concat((0,p.E49)(o,"/.imaging/focalpoint".concat(c,"/").concat(s,"/dam/").concat(null==e?void 0:e[u.kr1]).concat(null==e?void 0:e[u.wYv])))),f="string"==typeof e?e:m,g=null===e?"":f,h=null!=(t=null==e?void 0:e[u.rhQ])?t:"";return d?f:null!=h?h:g},j=function(e,t,n,o,r,a,l,s){return"object"!=typeof n?"":o&&!r?a||l?x(n,s,{width:a,height:l,variant:o}):x(n,s,{width:u.ZH4[t],variant:o}):null!=n&&n.renditions?(0,p.p4Q)(y(y({},n),{},(0,i.A)({},u.rhQ,n.renditions[t].link)),s):e},k=function(e,t,n,i,o,r,a,l){if(!n)return null;if(t.sm||t.md||t.tablet||t.xl)return j(e,t.sm?"sm":t.md?"md":t.tablet?"tablet":"xl",n,i,o,r,a,l);return null};let P=function(e,t,n,i,o,r,a){var l,s,d,v,w,O,x,P,L=(0,c.useState)(!1),B=L[0],A=L[1],C=(0,g.d)(h.A.getIsMagnoliaEditorOrPreview),I=(0,f.A)(),N=I.isUnderBreakpointXs,D=I.isBetweenBreakpointXSAndSM,S=I.isBetweenBreakpointSMAndMD,V=I.isBetweenBreakpointMDAndTablet,X=I.isBetweenBreakpointTabletAndXl,E=!!(null!=t&&null!=(l=t[u.rhQ])&&l.includes("mp4")),_=(0,p.p4Q)(t,C,E),M=a&&N&&null!=e&&e[u.XYK.xs]?null==e?void 0:e[u.XYK.xs]:(D||N)&&null!=e&&e[u.XYK.sm]?null==e?void 0:e[u.XYK.sm]:S&&null!=e&&e[u.XYK.md]?null==e?void 0:e[u.XYK.md]:V&&null!=e&&e[u.XYK.lg]?null==e?void 0:e[u.XYK.lg]:V&&null!=e&&e[u.XYK.tablet]?null==e?void 0:e[u.XYK.tablet]:X&&null!=e&&e[u.XYK.xl]?null==e?void 0:e[u.XYK.xl]:null==e?void 0:e[u.XYK.original],T=null!=(s=null==M?void 0:M.width)?s:n,W=null!=(d=null==M?void 0:M.height)?d:i,$=null!=(v=null==M?void 0:M.variant)?v:o,Y=(null==t||null==(w=t.focal)||null==(w=w.point)?void 0:w.left)||50,K=(null==t||null==(O=t.focal)||null==(O=O.point)?void 0:O.top)||50,z=null==t?void 0:t[u.rhQ],F=!!(null!=z&&z.match(/^.*\.svg$/)),Q={sm:D,md:S,tablet:V,xl:X},R=k(_,Q,t,$,F,T,W,C),U=Object.keys(Q).reduce(function(e,n){if(e.length>1||B||"object"!=typeof t)return e;if(T||W||Q[n]){var i;return[(0,b.jsx)("source",{"data-testid":"".concat(t[u.OpN]||"content-image","-").concat(T||W||n),srcSet:j(_,n,t,$,F,T,W,C),type:null==t||null==(i=t.renditions)?void 0:i.original.mimeType},"".concat(t[u.kr1]||t[u.OpN],"-").concat(T||W||n))].concat((0,m.A)(e))}return e},[(0,b.jsx)("source",{"data-testid":"".concat((null==t?void 0:t[u.OpN])||"content-image","-original"),srcSet:(0,p.p4Q)(t,C),type:null==t||null==(x=t.renditions)?void 0:x.original.mimeType},"".concat((null==t?void 0:t[u.kr1])||(null==t?void 0:t[u.OpN]),"-original"))]),H=!!(Y&&K),Z=E&&H,q=!E&&H,G=(0,c.useMemo)(function(){return q||Z?y(y({},r),{},{objectPosition:"".concat(Y,"% ").concat(K,"%"),display:"block",overflow:"hidden"}):r},[q,Z,Y,K,r]);return{isVideoBackground:Z,defaultAssetLink:_,widthPx:T&&"".concat(T,"px"),heightPx:W&&"".concat(W,"px"),extendedStyle:G,isImage:!E,imagesWithFallbacks:U,setImageError:A,imageAriaLabel:null==t||null==(P=t.metadata)?void 0:P.caption,preloadLCPImage:R}};function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?L(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var A=d.Ay.video.withConfig({displayName:"ContentVideo__Video",componentId:"sc-1m8sgqy-0"})(["max-width:100%;object-fit:cover;"]),C=(0,c.memo)(function(e){var t=e.defaultAssetLink,n=e.isVideoBackground,i=e.isVideoLoop,o=e.isVideoMuted,r=e.isVideoControlsDisplayed,a=e.isVideoAutoPlay,l=e.widthPx,s=e.heightPx,c=e.extendedStyle,d=e.className,p=e.onClick,m=e.dataTestId,f=e.dataAutomationId,g=e.ariaLabel;return(0,b.jsx)(A,B(B({role:p&&"button",className:d,style:c,onClick:p,width:l,height:s,"data-testid":m,"data-automationid":f,playsInline:!0,"aria-label":g},n?{loop:i,muted:o,controls:r,autoPlay:a}:{loop:!0,muted:!0,controls:!0,autoPlay:!0}),{},{children:(0,b.jsx)("source",{src:t,type:u.NT2})}))}),I=n(59453),N=n(51425),D=n(30221),S=["id","image","width","height","isLazyLoad","className","style","onLoad","onClick","pictureTagClassName","wrapperClassName","wrapperWidth","imageVariants","variant","isVideoAutoPlay","isVideoControlsDisplayed","isVideoLoop","isVideoMuted","wrapperPosition","dataTestId","isLink","linkDestination","priceLabelProps","imageLabelProps","ariaLabel","isAllowedToUseXs","keepAspectRatio","isNestedInLink","preventClipping","dataAutomationId"];function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var E=d.Ay.div.withConfig({displayName:"Image__Wrapper",componentId:"sc-wbmtzu-0"})(["position:",";max-width:100%;width:",";height:",";object-fit:cover;overflow:",";"],function(e){return e.position||"relative"},function(e){var t=e.position,n=e.width;return"absolute"===t?"100%":n}
1,function(e){var t=e.position,n=e.height;return"absolute"===t?"100%":n},function(e){return e.$preventClipping?"visible":"hidden"}),_=d.Ay.img.withConfig({displayName:"Image__ContentImg",componentId:"sc-wbmtzu-1"})(["max-width:100%;object-fit:cover;opacity:",";cursor:",";"],function(e){return e.opacity||"100%"},function(e){return e.isLink?"pointer":"default"}),M=d.Ay.picture.withConfig({displayName:"Image__Picture",componentId:"sc-wbmtzu-2"})(["display:contents;"]),T=(0,c.forwardRef)(function(e,t){var n,i=e.id,r=e.image,l=void 0===r?Object.create(null):r,c=e.width,d=e.height,m=e.isLazyLoad,f=void 0===m||m,g=e.className,h=e.style,v=(e.onLoad,e.onClick),w=e.pictureTagClassName,y=e.wrapperClassName,O=e.wrapperWidth,x=e.imageVariants,j=e.variant,k=e.isVideoAutoPlay,L=e.isVideoControlsDisplayed,B=e.isVideoLoop,A=e.isVideoMuted,V=e.wrapperPosition,T=e.dataTestId,W=e.isLink,$=e.linkDestination,Y=e.priceLabelProps,K=e.imageLabelProps,z=e.ariaLabel,F=e.isAllowedToUseXs,Q=e.keepAspectRatio,R=void 0!==Q&&Q,U=e.isNestedInLink,H=e.preventClipping,Z=e.dataAutomationId,q=(0,o.A)(e,S),G=P(x,l,c,d,j,h,void 0!==F&&F),J=G.isVideoBackground,ee=G.defaultAssetLink,et=G.widthPx,en=G.heightPx,ei=G.extendedStyle,eo=G.isImage,er=G.imagesWithFallbacks,ea=G.setImageError,el=G.imageAriaLabel,es=G.preloadLCPImage;if(!(null!=l&&l[u.kr1])){null==l||delete l[u.rhQ];var ec=Object.values(l).join("");if(!ec)return null;var ed=Error("Image has not resolved! ID: ".concat(ec));return ed.name="ImageNotFoundError",(0,p.Zkr)(ed),null}var eu=function(){var e;return(0,b.jsx)(b.Fragment,{children:J?(0,b.jsx)(C,{defaultAssetLink:ee,isVideoBackground:J,isVideoLoop:B,isVideoMuted:A,isVideoControlsDisplayed:L,isVideoAutoPlay:k,widthPx:et,heightPx:en,extendedStyle:ei,className:g,onClick:v,dataAutomationId:Z,dataTestId:T,ariaLabel:null!=z?z:el}):(0,b.jsxs)(M,{ref:t,className:w,children:[er,eo?(0,b.jsxs)(b.Fragment,{children:[!f&&es&&(0,b.jsx)(s(),{children:(0,b.jsx)("link",{rel:"preload",as:"image",href:es})}),(0,b.jsx)(_,X({loading:f?"lazy":"eager",fetchPriority:f?void 0:"high",src:ee,style:ei,className:a()(g,"content-image__image"),onError:function(){return ea(!0)},width:et,height:en,isLink:W,"data-automationid":Z,alt:null!=(e=null!=z?z:el)?e:q.alt},q))]}):(0,b.jsx)(C,{defaultAssetLink:ee,isVideoBackground:J,isVideoLoop:B,isVideoMuted:A,isVideoControlsDisplayed:L,isVideoAutoPlay:k,widthPx:et,heightPx:en,extendedStyle:ei,className:g,onClick:v,dataTestId:T,dataAutomationId:Z,ariaLabel:null!=z?z:el}),K&&(0,b.jsx)(N.A,X({},K)),Y&&(0,b.jsx)(D.A,X({},Y))]})})};return(0,b.jsx)(E,{id:i,className:a()(y,"content-image__wrapper"),position:void 0===V?"relative":V,width:R?void 0:null!=O?O:et,height:R?void 0:en,$preventClipping:void 0!==H&&H,"data-testid":T,children:!(void 0!==U&&U)&&($||v)?(0,b.jsx)(I.A,{role:"button",linkDestination:$||"#",onClick:v,ariaLabel:null!=(n=null!=z?z:el)?n:"Click to view details",children:(0,b.jsx)(eu,{})}):(0,b.jsx)(eu,{})})});T.displayName="Image";let W=c.memo(T)},30221:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(21626),o=n(37876),r=i.Ay.div.withConfig({displayName:"PriceLabel__Label",componentId:"sc-1tnfwcz-0"})(["position:absolute;height:3.1250rem;width:",";",";border-radius:",";bottom:0%;font:",";letter-spacing:0.0000rem;opacity:1;text-align:center;color:",";background-color:",";justify-content:center;padding-top:",";",";"],function(e){return e.isPerPerson?"140px":"108px"},function(e){return e.isImageLeft?{right:"0%"}:{left:"0%"}},function(e){return e.isImageLeft?"20px 0px 0px 0px":"0px 20px 0px 0px"},function(e){return e.isBBW?"normal normal normal 30px/30px league-gothic":"normal normal normal 22px/21px NeutraFaceBold"},function(e){var t=e.priceColor;return e.isBBW?t||"#000":t||"#fff"},function(e){var t=e.roundelBackgroundColor;return e.isBBW?t||"#FFDC14":t||"#32912F"},function(e){return e.isBBW?"10px":"15px"},function(e){var t=e.isBBW,n=e.isImageLeft;return t?n?"0px 2px 2px 0px":"0px 0px 2px 2px":0}),a=i.Ay.span.withConfig({displayName:"PriceLabel__Prefix",componentId:"sc-1tnfwcz-1"})(["font-size:",";text-transform:lowercase;margin-right:0.2500rem;"],function(e){return e.isBBW?"18px":"14px"});let l=function(e){var t,n=e.isPriceLabel,i=e.roundelPrice,l=e.priceColor,s=e.roundelBackgroun
1dColor,c=e.isImageLeft,d=e.isBBW,u=void 0!==d&&d,p=null==i||null==(t=i.toString())?void 0:t.toLowerCase(),m=null==p?void 0:p.includes("pp"),f=m?p:i;return n&&i?(0,o.jsxs)(r,{roundelPrice:i,"data-testid":"width-promo-price-label",roundelBackgroundColor:s,priceColor:l,className:"width-promo-price-label",isImageLeft:c,isBBW:u,isPerPerson:m,children:[(0,o.jsx)(a,{isBBW:u,children:"from"}),"\xa3",f]}):null}},33587:(e,t,n)=>{n.d(t,{A:()=>c});var i=n(66284),o=n(14232),r=n(21231),a=n(37876);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var s=(0,o.forwardRef)(function(e,t){var n=(0,o.useMemo)(function(){return e},[]);return(0,a.jsx)(r.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ref:t},n))});s.displayName="ContentImage";let c=o.memo(s)},36117:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(14232),o=n(7634);let r=function(){var e=(0,i.useMemo)(function(){return{isUnderBreakpointXs:"(max-width: ".concat(o.LOf.xs,")"),isBetweenBreakpointXSAndSM:"(min-width: ".concat(o.LOf.xs,") and (max-width: ").concat(o.LOf.sm,")"),isBetweenBreakpointSMAndMD:"(min-width: ".concat(o.LOf.sm,") and (max-width: ").concat(o.LOf.md,")"),isBetweenBreakpointMDAndTablet:"(min-width: ".concat(o.LOf.md,") and (max-width: ").concat(o.LOf.tablet,")"),isBetweenBreakpointTabletAndXl:"(min-width: ".concat(o.LOf.tablet,") and (max-width: ").concat(o.LOf.xl,")"),isAboveBreakpointXl:"(min-width: ".concat(o.LOf.xl,")")}},[o.LOf]),t=(0,i.useState)({isUnderBreakpointXs:!1,isBetweenBreakpointXSAndSM:!1,isBetweenBreakpointSMAndMD:!1,isBetweenBreakpointMDAndTablet:!1,isBetweenBreakpointTabletAndXl:!1,isAboveBreakpointXl:!1}),n=t[0],r=t[1];return(0,i.useEffect)(function(){var t=Object.keys(e).map(function(t){return window.matchMedia(e[t])}),i=function(){var i=t.reduce(function(t,n,i){return t[Object.keys(e)[i]]=n.matches,t},{});Object.keys(i).some(function(e){return i[e]!==n[e]})&&r(i)};return i(),t.forEach(function(e){return e.addEventListener("change",i)}),function(){t.forEach(function(e){return e.removeEventListener("change",i)})}},[e]),n}},51425:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(21626),o=n(37876),r=i.Ay.div.withConfig({displayName:"ImageLabel__Label",componentId:"sc-32edp2-0"})(["position:",";font:normal normal normal 0.8750rem/1.3125rem ",";top:",";",";transform:translate(-5%,-5%);padding:",";border-radius:0.3125rem;background-color:",";color:",";"],function(e){return e.$position||"absolute"},function(e){return e.$isBBW?"proxima-nova":"NeutraFace"},function(e){var t=e.$top;return null!=t?t:"5%"},function(e){return e.$isRight?{right:"3%"}:{left:"3%"}},function(e){var t=e.theme,n=e.$padding;return null!=n?n:t.paddingSizes.slickListPaddingSm},function(e){return e.$backgroundColor},function(e){return e.$color});let a=function(e){var t=e.isImageLabel,n=e.imageLabel,i=e.isBBW,a=e.imageLabelBgColor,l=e.imageLabelTextColor,s=e.position,c=e.isRight,d=e.padding,u=e.top;return t&&n?(0,o.jsx)(r,{"data-testid":"image-label",className:"image-label",$backgroundColor:void 0===a?i?"#DE5A96":"#EA7600":a,$color:void 0===l?i?"#000":"#fff":l,$position:void 0===s?"absolute":s,$padding:d,$top:u,$isRight:c,$isBBW:i,children:n}):null}}}]);

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.