PageSourceSearch

https://www.butlins.com/app-assets/workflow_dispatch/4839/_next/static/chunks/1813.c4a75dd68eec381d.js

js butlins.com collected 2026-10-01 10:34:06 UTC 4,572 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1813],{51813:(e,n,t)=>{t.r(n),t.d(n,{Body:()=>v,Box:()=>y,IconContainer:()=>A,Image:()=>b,ImageContainer:()=>h,Link:()=>j,default:()=>x,getGridItemsNumber:()=>w});var i=t(66284),r=t(14232),o=t(21626),l=t(7634),a=t(3041),s=t(37641),c=t(57675),d=t(33587),u=t(55529),m=t(40981),f=t(37876);function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function g(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach(function(n){(0,i.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var h=o.Ay.div.withConfig({displayName:"RevealAndHideTiles__ImageContainer",componentId:"sc-1g3jz8a-0"})(["cursor:pointer;position:relative;height:9.3750rem;"]),v=o.Ay.div.withConfig({displayName:"RevealAndHideTiles__Body",componentId:"sc-1g3jz8a-1"})(["display:flex;justify-content:center;flex-direction:column;width:100%;"]),y=o.Ay.section.withConfig({displayName:"RevealAndHideTiles__Box",componentId:"sc-1g3jz8a-2"})(["display:grid;align-items:center;width:",";justify-content:center;align-content:center;grid-template-columns:repeat(auto-fill,minmax(24%,1fr));gap:0.6250rem;margin:0.6250rem auto;","{grid-template-columns:repeat(auto-fill,minmax(25%,1fr));}","{grid-template-columns:repeat(auto-fill,minmax(45%,1fr));}"],function(e){return e.theme.containerSizes.lgContainer},function(e){return e.theme.responsive.maxLg},function(e){return e.theme.responsive.maxSm}),b=(0,o.Ay)(d.A).withConfig({displayName:"RevealAndHideTiles__Image",componentId:"sc-1g3jz8a-3"})(["border-radius:0.1875rem;display:flex;height:9.3750rem;max-height:9.3750rem;"]),j=o.Ay.div.withConfig({displayName:"RevealAndHideTiles__Link",componentId:"sc-1g3jz8a-4"})(["color:",";margin:0.5000rem auto;font-family:NeutraFaceBold;font-size:1.1250rem;letter-spacing:0.1250rem;display:flex;flex-direction:row;align-items:baseline;cursor:pointer;","{font-size:0.8750rem;}","{font-size:0.7500rem;}"],function(e){return e.fontColor},function(e){return e.theme.responsive.maxMd},function(e){return e.theme.responsive.maxSm}),A=o.Ay.div.withConfig({displayName:"RevealAndHideTiles__IconContainer",componentId:"sc-1g3jz8a-5"})(["cursor:pointer;margin:0.3125rem;transition:0.3s;transform:",";"],function(e){return e.isOpen?"rotate(180deg)":"rotate(0deg)"}),w=function(e,n,t){return e?t?16:2:n?t?15:3:t?16:4};let x=function(e){var n=e.tiles,t=e.buttonMore,o=e.buttonReveal,d=e.fontColor,p=void 0===d?"#fff":d,x=(0,a.A)(),O=(0,r.useState)(!1),C=O[0],k=O[1],_=(0,u.d)(m.A.getBreakPoints),I=_.isUnderBreakpointTablet,N=_.isUnderBreakpointSm,P=(0,r.useCallback)(function(){k(!C)},[C]),D=(0,s.eDc)(n).map(function(e){var n,t,i,r,o,l,a,s,c;return(null==e?void 0:e.field)==="fallback"?e:g(g(g(g({},null!=e?e:Object.create(null)),null!=(n=null==e?void 0:e.content)?n:Object.create(null)),null!=(t=null==e||null==(i=e.content)?void 0:i[null!=(r=null==e||null==(o=e.content)?void 0:o.field)?r:""])?t:Object.create(null)),null!=(l=null==e||null==(a=e.content)||null==(a=a[null!=(s=null==e||null==(c=e.content)?void 0:c.field)?s:""])?void 0:a.imageCta)?l:Object.create(null))});return(0,f.jsxs)(v,{id:"reveal-and-hide-tiles","data-testid":"reveal-and-hide-container",children:[(0,f.jsx)(y,{children:D.slice(0,w(N,I,C)).map(function(e,n){var t,r=e.linkDestination,o=null!=(t="object"==typeof r?null==r?void 0:r[l.wYv]:r)?t:"";return(0,f.jsx)(h,{onClick:function(n){e.isLink&&e.linkDestination&&x.push(o)},style:{cursor:"pointer"},children:(0,f.jsx)(b,{isLink:e.isLink,linkDestination:"string"==typeof r?r:"",image:e.image,alt:"BBW Tiles",imageVariants:(0,i.A)((0,i.A)((0,i.A)((0,i.A)({},l.XYK.md,{width:150,height:150,variant:l.HsM.SQUARE}),l.XYK.tablet,{width:225,height:135,variant:l.HsM.LANDSCAPE5_3}),l.XYK.xl,{width:300,height:150,variant:l.HsM.LANDSCAPE2_1}),l.XYK.original,{width:400,height:150,variant:l.HsM.LANDSCAPE16_9})})},"".concat(e.name,"-").concat(n))})}),o&&t&&(0,f.jsxs)(j,{onClick:P,fontColor:p,children:[(0,f.jsx)("span",{style:{marginRight:"8px"},"data-testid":"button-label",children:C?o:t}),(0,f.jsx)(A,{isOpen:C,"data-testid":"toggle-icon",children:(0,f.jsx)(c.A,{color:p,direction:"down",width:14,height:9,className:C?"dropdownIconOpen":"dropdownIcon"})})]})]})}}}]);

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.