1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e8e21ebe-991a-4e05-98fb-418594b9067a",e._sentryDebugIdIdentifier="sentry-dbid-e8e21ebe-991a-4e05-98fb-418594b9067a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9340],{57987:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_tickets/pdp/[...slug]",function(){return l(96488)}])},57351:function(e,t,l){"use strict";var i=l(72253),s=l(14932),n=l(91309),a=l(85893),r=l(67294),c=l(14411),o=l(18442),d=l(34035);t.Z=function(e){var t=(0,r.useRef)(null),l=(0,r.useMemo)(function(){if(e.sectionId&&e.metadata)return(0,s._)((0,i._)({},e.metadata),{sectionId:e.sectionId,component:"Ticket Card"})},[e.sectionId,e.metadata]);return(0,r.useEffect)(function(){if(l&&t.current){var e=new IntersectionObserver(function(t){(0,n._)(t,1)[0].isIntersecting&&((0,d.HU)({eventName:"ticketing_card_impression",trackingProps:l}),e.disconnect())},{threshold:.5});return e.observe(t.current),function(){return e.disconnect()}}},[]),(0,a.jsx)("div",{ref:t,className:"relative flex flex-col bg-white shadow-[0px_1px_4px_0px_rgba(0,0,0,0.02)] border border-ds-grey-300 rounded-lg h-full overflow-hidden",children:(0,a.jsxs)("a",{href:e.href,className:"flex flex-col flex-1","aria-label":"View tickets for ".concat(e.title),onClick:function(){l&&(0,d.YT)({eventName:"ticketing_card_click",trackingProps:l})},children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"aspect-[16/9] overflow-hidden",children:(0,a.jsx)(c.Z,{imageUrl:e.image.url,alt:e.image.alt,width:400,height:225,pictureClassName:"block w-full h-full overflow-hidden",imageClassName:"w-full h-full object-cover"})}),e.salesFlag&&(0,a.jsx)("span",{className:"top-2 left-2 z-10 absolute bg-white/75 backdrop-blur-md px-3 py-2 rounded-full pointer-events-none ds-label-sm-caps",children:e.salesFlag}),e.venueLogoUrl&&(0,a.jsx)(c.Z,{imageUrl:e.venueLogoUrl,alt:"".concat(e.title," logo"),width:48,height:48,pictureClassName:"absolute top-2 right-2 z-10 w-[48px] h-[48px] rounded-full border-[1.2px] border-white bg-white overflow-hidden",imageClassName:"w-full h-full object-cover"})]}),(0,a.jsxs)("div",{className:"flex flex-col flex-1 gap-2 px-4 pt-3 pb-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[e.callout&&(0,a.jsx)("span",{className:"text-ds-purple-300 ds-label-sm-caps",children:e.callout}),(0,a.jsx)("h3",{className:"truncate ds-heading-05",children:e.title}),(0,a.jsx)("span",{className:"text-ds-grey-500 ds-label-md",children:e.location})]}),(0,a.jsx)("ul",{"aria-label":"Ticket benefits",className:"pb-2 border-ds-grey-200 border-b",children:e.usps&&e.usps.length>0?e.usps.map(function(e,t){return(0,a.jsxs)("li",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)(o.Z,{name:e.icon,width:12,height:12}),(0,a.jsx)("span",{className:"ds-copy-small",children:e.value})]},t)}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("li",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)(o.Z,{name:"ticket-usp-phone",width:12,height:12}),(0,a.jsx)("span",{className:"ds-copy-small",children:"Mobile e-ticket"})]}),(0,a.jsxs)("li",{className:"flex items-center gap-2 mb-1",children:[(0,a.jsx)(o.Z,{name:"ticket-usp-note",width:12,height:12}),(0,a.jsx)("span",{className:"ds-copy-small",children:"Instant confirmation"})]})]})}),(0,a.jsx)("div",{className:"flex flex-col gap-2 mt-auto",children:(0,a.jsxs)("div",{className:"flex justify-between items-end",children:[e.reviewCount&&e.rating&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.Z,{name:"review-star",width:14,height:14}),(0,a.jsxs)("span",{className:"ds-label-md",children:[e.rating,void 0!==e.reviewCount&&" (".concat(e.reviewCount,")")]})]}),e.price&&(0,a.jsxs)("div",{className:"flex flex-col items-end ml-auto",children:[(0,a.jsx)("span",{className:"text-ds-grey-400 ds-label-sm",children:"from"}),(0,a.jsxs)("span",{className:"flex items-end gap-1",children:[e.price.original&&(0,a.jsx)("s",{className:"opacity-30 font-bold line-through ds-label-sm",children:e.price.original}),(0,a.jsx)("span",{className:"ds-label-bold",children:e.price.current})]})]})]})})]})]})})}},62741:function(e,t,l){"use strict";var i=l(91309),s=l(4586),n=l(85893),a=l(67294),r=l(89382),c=l(18442),o=l(11444),shuffleArray=function(e){for(var t=(0,s._)(e),l=t.length-1;l>0;l--){var i,n=Math.floor(Math.random()*(l+1));i=[t[n],t[l]],t[l]=i[0],t[n]=i[1]}return t};t.Z=function(e){var t,l,s,d,u=(0,i._)((0,r.Z)({align:"start",slidesToScroll:1,containScroll:"trimSnaps"}),2),m=u[0],h=u[1],x=(0,i._)((0,a.useState)(function(){var t,l;
1return t=e.slides,l=e.id,t.map(function(e,t){return{node:e,key:"".concat(l,"-slide-").concat(t)}})}),2),g=x[0],p=x[1];(0,a.useEffect)(function(){e.randomise&&p(function(e){return shuffleArray(e)})},[]);var f=(0,i._)((0,a.useState)(0),2),b=f[0],v=f[1],j=(0,i._)((0,a.useState)(0),2),k=j[0],N=j[1],w=(0,i._)((0,a.useState)(!1),2),y=w[0],_=w[1],T=(0,i._)((0,a.useState)(!1),2),C=T[0],I=T[1],S=(0,a.useCallback)(function(){h&&(v(h.selectedScrollSnap()),_(h.canScrollPrev()),I(h.canScrollNext()))},[h]);return(0,a.useEffect)(function(){if(h)return N(h.scrollSnapList().length),h.on("select",S),h.on("reInit",function(){N(h.scrollSnapList().length),S()}),S(),function(){h.off("select",S),h.off("reInit",S)}},[h,S]),(0,a.useEffect)(function(){null==h||h.reInit()},[g,h]),(0,n.jsxs)("section",{id:e.id,"aria-label":e.title,className:"container ".concat(e.className),children:[(e.title||e.linkHref&&e.linkText)&&(0,n.jsxs)("div",{className:["mb-4",e.titleCenteredMobile?e.titleCenteredDesktop?"flex flex-col items-center lg:relative":"flex flex-col lg:flex-row items-center lg:justify-between":e.titleCenteredDesktop?"flex items-center justify-between lg:relative":"flex items-center justify-between"].join(" "),children:[e.title&&(0,n.jsx)("h2",{className:["ds-bc-heading-02",e.titleCenteredMobile&&e.titleCenteredDesktop?"text-center w-full":e.titleCenteredMobile?"text-center lg:text-left":e.titleCenteredDesktop?"lg:text-center lg:w-full":""].filter(Boolean).join(" "),children:e.title}),(0,n.jsxs)("div",{className:["flex items-center gap-4",e.titleCenteredMobile?"hidden lg:flex":"ml-auto",e.titleCenteredDesktop?"lg:absolute lg:right-0":""].filter(Boolean).join(" "),children:[e.linkHref&&e.linkText&&!e.titleCenteredDesktop&&(0,n.jsx)("a",{href:e.linkHref,className:"text-ds-grey-400 underline ds-copy-small","aria-label":e.linkText,children:e.linkText}),(0,n.jsxs)("div",{className:"hidden lg:flex items-center gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:function(){return null==h?void 0:h.scrollPrev()},disabled:!y,className:"flex justify-center items-center bg-ds-grey-100 disabled:opacity-30 shadow-sm rounded-full w-5 h-5 transition-opacity","aria-label":"Previous slide",children:(0,n.jsx)(c.Z,{name:"chevron",width:12,height:12,className:"rotate-90"})}),(0,n.jsx)("button",{type:"button",onClick:function(){return null==h?void 0:h.scrollNext()},disabled:!C,className:"flex justify-center items-center bg-ds-grey-100 disabled:opacity-30 shadow-sm rounded-full w-5 h-5 transition-opacity","aria-label":"Next slide",children:(0,n.jsx)(c.Z,{name:"chevron",width:12,height:12,className:"-rotate-90"})})]})]}),e.titleCenteredMobile&&e.linkHref&&e.linkText&&(0,n.jsx)("a",{href:e.linkHref,className:"lg:hidden mt-2 text-ds-grey-400 text-center underline ds-copy-small","aria-label":e.linkText,children:e.linkText})]}),(0,n.jsx)("div",{ref:m,className:"-mx-4 md:mx-0 pl-4 md:pl-0 overflow-hidden",children:(0,n.jsxs)("ul",{className:"flex",children:[g.map(function(t){var l=t.node,i=t.key;return(0,n.jsx)("li",{className:"flex-[0_0_327px] sm:flex-[0_0_calc(50%-4px)] lg:flex-[0_0_calc(33.333%-5.33px)] xl:flex-[0_0_calc(25%-6px)] mr-2 min-w-0 ".concat(e.equalHeightSlides?"flex":""),children:(0,n.jsx)("div",{className:e.equalHeightSlides?"w-full h-full":"w-full",children:l})},i)}),e.advertCard&&(0,n.jsx)("li",{className:"flex-[0_0_327px] sm:flex-[0_0_calc(50%-4px)] lg:flex-[0_0_calc(33.333%-5.33px)] xl:flex-[0_0_calc(25%-6px)] mr-2 min-w-0 ".concat(e.equalHeightSlides?"flex":""),children:(0,n.jsx)("div",{className:e.equalHeightSlides?"w-full h-full":"w-full",children:e.advertCard})},"advert-card")]})}),(s=(null===(t=e.pagination)||void 0===t?void 0:t.mobile)!==!1,d=(null===(l=e.pagination)||void 0===l?void 0:l.desktop)!==!1,s||d?(0,n.jsx)(o.Z,{count:k,activeIndex:b,className:"mt-4 ".concat(s&&d?"":s?"lg:hidden":"hidden lg:block").trim()}):null)]})}},43968:function(e,t,l){"use strict";var i=l(91309),s=l(85893),n=l(67294),a=l(20214),r=l(91089);t.Z=function(e){var t,l,c=(0,i._)((0,n.useState)(!1),2),o=c[0],d=c[1],u=null!==(t=e.initialVisibleCount)&&void 0!==t?t:5;return(0,s.jsx)("section",{className:"".concat(null!==(l=e.className)&&void 0!==l?l:""),children:(0,s.jsxs)("div",{className:"flex flex-col items-center gap-6 bg-ds-grey-100 p-6 rounded-2xl",children:[(0,s.jsx)("h2",{className:"w-full ds-bc-heading-02",children:e.title}),e.description&&(0,s.jsx)("p",{className:"w-full text-ds-grey-500 ds-copy-regular",children:e.description}),(0,s.jsx)("div",{className:"flex flex-col gap-4 w-full",children:e.accordions.map(function(e,t){return(0,s.jsx)("div",{className:t>=u&&!o?"hidden":"block",children:(0,s.jsx)(a.Z,{title:e.title,defaultOpen:0===t,className:"bg-white rounded-lg",children:(0,s.jsx)("div",{className:"text-ds-grey-400 ds-copy-sm",dangerouslySetInnerHTML:{__html:e.content}})})},t)})}),e.accordions.length>u&&(0,s.jsx)(r.Z,{type:"button",title:o?"Show Less":"Show All FAQs",ariaLabel:o?"Show fewer FAQs":"Show all FAQs",colour:"black",size:"lg",onClick:function(){return d(!o)}})]})})}},96488:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return P},default:function(){return PdpPage}});var i=l(72253),s=l(85893),n=l(14932),a=l(91309),r=l(67294),c=l(62981),o=l(27424),d=l(27435),u=l(14411),m=l(18442),buildStarIcons=function(e){var t=Math.min(5,Math.max(0,Number(e)||0));return Array.from({length:5},function(e,l){var i=l+1;return t>=i?(0,s.jsx)(m.Z,{name:"review-star",width:12,height:12},l):t>=i-.5?(0,s.jsx)(m.Z,{name:"review-half-star",width:12,height:12},l):(0,s.jsx)(m.Z,{name:"review-hollow-star",width:12,height:12},l)})},tickets_PdpTitle=function(e){var t,l,i,n=e.reviews,a=n?Number(n.reviewCount||0):0,r=a>0&&n?"".concat(n.reviewCount," ").concat(a>1?"Reviews":"Review"):"Leave a Review";return(0,s.jsxs)("div",{className:"flex gap-4 justify-between items-start w-full pb-2 ".concat(null!==(l=e.className)&&void 0!==l?l:""),children:[(0,s.jsxs)("div",{className:"flex flex-col flex-1 gap-2 min-w-0",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-black ds-bc-heading-02",children:e.title}),e.subheading?(0,s.jsx)("p",{className:"mt-1 text-ds-grey-500 ds-copy-regular",children:e.subheading}):null]}),n&&(0,s.jsxs)("button",{type:"button",className:"flex items-center self-start gap-2 text-black text-left decoration-dotted underline underline-offset-2 ds-copy-small","aria-label":"Jump to reviews",onClick:e.reviewsCallback,children:[(0,s.jsx)("span",{className:"inline-flex items-center gap-0.5 shrink-0","aria-hidden":"true",children:buildStarIcons(n.averageRating)}),(0,s.jsx)("span",{className:"whitespace-nowrap",children:r})]})]}),(null===(t=e.logo)||void 0===t?void 0:t.url)&&(0,s.jsx)("div",{className:"border border-ds-grey-100 rounded-full overflow-hidden shrink-0",children:(0,s.jsx)(u.Z,{imageUrl:e.logo.url,alt:null!==(i=e.logo.altText)&&void 0!==i?i:"".concat(e.title," logo"),width:52,height:52,pictureClassName:"block w-[52px] h-[52px]",imageClassName:"w-full h-full object-cover",loading:"eager"})})]})},h=l(85283),TicketInfoBar=function(e){return e.items.length?(0,s.jsx)("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 my-4 py-4 border-ds-grey-300 border-t border-b",children:e.items.map(function(e,t){return(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(m.Z,{name:e.icon,width:20,height:20}),(0,s.jsx)("span",{className:"text-ds-grey-500 ds-copy-regular",children:e.text})]},t)})}):null},tickets_PdpMeta=function(e){var t,l,i,n=e.fromPrice?(0,h.EQ)(Number(e.fromPrice)):null;return(0,s.jsxs)("section",{className:e.className,children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 pb-4",children:[(0,s.jsxs)("div",{className:"flex-1 content-start gap-2 grid grid-cols-1 md:grid-cols-2 auto-rows-min w-full",children:[(0,s.jsxs)("button",{type:"button","aria-label":"Jump to booking widget",className:"flex items-center gap-2 ds-label-lg",onClick:e.bookBtnCallback,children:[(0,s.jsx)(m.Z,{name:"ticket-purple-angled",width:20,height:20}),(0,s.jsxs)("span",{children:["Book Now ",n&&(0,s.jsxs)("span",{className:"font-bold",children:["from \xa3",n]}),e.originalFromPrice&&(0,s.jsxs)("s",{className:"text-ds-grey-400",children:[" \xa3",e.originalFromPrice]})]})]}),(0,s.jsxs)("span",{className:"flex items-center gap-2 ds-label-lg",children:[(0,s.jsx)(m.Z,{name:"location-large-purple",width:20,height:20}),(0,s.jsx)("span",{children:e.location})]}),(0,s.jsxs)("span",{className:"flex items-center gap-2 ds-label-lg",children:[(0,s.jsx)(m.Z,{name:"mobile-signal-purple",width:20,height:20}),(0,s.jsx)("span",{children:null!==(t=e.mobileTicketsText)&&void 0!==t?t:"Mobile Tickets, Instant Delivery"})]}),(0,s.jsxs)("span",{className:"flex items-center gap-2 ds-label-lg",children:[(0,s.jsx)(m.Z,{name:"shield-purple",width:20,height:20}),(0,s.jsx)("span",{children:null!==(l=e.shieldText)&&void 0!==l?l:"Official Ticket Seller"})]})]}),e.notification&&(0,s.jsxs)("div",{className:"flex items-center gap-2 bg-ds-success-100 p-4 rounded-lg w-full text-ds-success-200 xl:shrink-0",children:[(0,s.jsx)(u.Z,{imageUrl:"https://res.dayoutwiththekids.co.uk/image/upload/v1778765044/design-system-v1/icons/celebrate_jsm7gv.png",alt:"Celebration",width:24,height:24,pictureClassName:"shrink-0",presentation:!0}),(0,s.jsx)("span",{className:"ds-copy-small",dangerouslySetInnerHTML:{__html:e.notification.html}})]})]}),e.description&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{className:"mb-2 ds-bc-heading-02",children:null!==(i=e.descriptionHeading)&&void 0!==i?i:"What to Expect..."}),(0,s.jsx)("div",{className:"mb-4 ds-body-copy",dangerouslySetInnerHTML:{__html:e.description}})]}),e.ticketInfo&&e.ticketInfo.length>0&&(0,s.jsx)(TicketInfoBar,{items:e.ticketInfo}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[e.ageRange&&(0,s.jsxs)("span",{className:"flex items-center gap-1 bg-ds-cream-200 px-2 py-1 rounded text-black ds-copy-small",children:[(0,s.jsx)(m.Z,{name:"family",width:16,height:16}),(0,s.jsxs)("span",{children:[e.ageRange.title.normalText,e.ageRange.title.boldText&&(0,s.jsxs)("span",{className:"font-bold",children:[" ",e.ageRange.title.boldText]})]})]}),e.visitTimeText&&(0,s.jsxs)("span",{className:"flex items-center gap-1 bg-ds-cream-200 px-2 py-1 rounded text-black ds-copy-small",children:[(0,s.jsx)(m.Z,{name:"clock",width:12,height:12}),(0,s.jsxs)("span",{children:[e.visitTimeText.title.normalText,e.visitTimeText.title.boldText&&(0,s.jsxs)("span",{className:"font-bold",children:[" ",e.visitTimeText.title.boldText]})]})]}),e.parkingText&&(0,s.jsxs)("span",{className:"flex items-center gap-1 bg-ds-cream-200 px-2 py-1 rounded text-black ds-copy-small",children:[(0,s.jsx)(m.Z,{name:"car-parking",width:16,height:16}),(0,s.jsxs)("span",{children:[e.parkingText.title.normalText,e.parkingText.title.boldText&&(0,s.jsxs)("span",{className:"font-bold",children:[" ",e.parkingText.title.boldText]})]})]})]})]})},x=l(91089);function extractHtmlAboveFold(e,t){try{var l=e.replace(/ /g," ");
1if(!(l=(l=(l=l.replace(/<div/g,"<p").replace(/<\/div>/g,"</p>")).replace(/<br\s*\/?>/gi,"")).replace(/<p[^>]*>\s*<\/p>/g,"")).includes("<p"))return{visibleContent:e,remainingHtml:null};for(var i=l.split("</p>"),s=0,n=0,a=0;a<i.length-1;a++)i[a]+="</p>";for(var r=0;r<i.length-1;r++)if((s+=i[r].replace(/<[^>]*>/g,"").length)>=t){n=r+1;break}if(n>0)return{visibleContent:i.slice(0,n).join(""),remainingHtml:i.slice(n,i.length).join("")};return{visibleContent:i.join(""),remainingHtml:null}}catch(t){return{visibleContent:e,remainingHtml:null}}}var g="[&_a]:text-ds-purple-300 [&_a]:underline [&_p]:my-2 [&_ul]:pl-5 [&_ul]:list-disc ds-copy-regular";function listColumn(e,t){var l;return(null==e?void 0:null===(l=e.list)||void 0===l?void 0:l.length)?(0,s.jsxs)("div",{className:"flex flex-col flex-1 gap-2 min-w-0",children:[(0,s.jsx)("h3",{className:"ds-bc-heading-03",children:e.heading}),(0,s.jsx)("ul",{className:"flex flex-col gap-2",children:e.list.map(function(l,i){return(0,s.jsxs)("li",{className:"flex items-start gap-2 text-ds-grey-500 ds-copy-sm",children:[(0,s.jsx)(m.Z,{name:t,width:16,height:16,className:"mt-1 shrink-0"}),(0,s.jsx)("span",{children:l})]},"".concat(e.heading,"-").concat(i))})})]}):null}var tickets_PdpBulletList=function(e){var t,l,i,n,c=(0,a._)((0,r.useState)(!1),2),o=c[0],d=c[1],u=(0,r.useMemo)(function(){return e.content?extractHtmlAboveFold(e.content,250):{visibleContent:"",remainingHtml:null}},[e.content]),m=!!(null===(l=e.positiveList)||void 0===l?void 0:null===(t=l.list)||void 0===t?void 0:t.length),h=!!(null===(n=e.negativeList)||void 0===n?void 0:null===(i=n.list)||void 0===i?void 0:i.length);return(0,s.jsxs)("section",{className:"".concat(e.className?" ".concat(e.className):""),children:[(0,s.jsx)("h2",{className:"mb-4 ds-bc-heading-02",children:"".concat(e.title.boldText," ").concat(e.title.normalText)}),e.content&&u.visibleContent&&(0,s.jsxs)("div",{className:"flex flex-col gap-2 mb-4",children:[(0,s.jsx)("div",{className:g,dangerouslySetInnerHTML:{__html:u.visibleContent}}),u.remainingHtml&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"".concat(g," ").concat(o?"":"hidden"),dangerouslySetInnerHTML:{__html:u.remainingHtml}}),(0,s.jsx)(x.Z,{type:"button",style:"link",size:"md",colour:"grey-400",title:o?"Read Less":"Read More","aria-expanded":o,"aria-label":o?"Read less":"Read more",className:"mt-1 !justify-start min-h-0 px-0 py-0 rounded-none ".concat(o?"[&_picture:last-of-type]:rotate-180":""),onClick:function(){return d(function(e){return!e})}})]})]}),(m||h)&&(0,s.jsxs)("div",{className:m&&h?"flex flex-col gap-6 md:flex-row md:gap-8":void 0,children:[listColumn(e.positiveList,"check-circle-green"),listColumn(e.negativeList,"circle-cross-orange")]})]})},p=l(18808),f="[&_a]:text-ds-purple-300 [&_a]:underline [&_p]:my-2 [&_ul]:pl-5 [&_ul]:list-disc ds-copy-regular",tickets_PdpRepeatedContent=function(e){var t,l,i=(0,a._)((0,r.useState)(!1),2),n=i[0],c=i[1],o="".concat(e.title.boldText).concat(e.title.normalText?" ".concat(e.title.normalText):""),d=(0,r.useMemo)(function(){return e.content?extractHtmlAboveFold(e.content,250):{visibleContent:"",remainingHtml:null}},[e.content]);return(0,s.jsxs)("section",{className:"pb-10 ".concat(null!==(l=e.className)&&void 0!==l?l:""),children:[(null===(t=e.image)||void 0===t?void 0:t.url)&&(0,s.jsx)(u.Z,{imageUrl:e.image.url,alt:e.image.alt_text||o,width:735,height:414,srcSet:[{width:462,height:260,breakpoint:"768"},{width:735,height:414,breakpoint:"1024"}],pictureClassName:"block w-full aspect-[16/9] rounded-lg overflow-hidden mb-4",imageClassName:"w-full h-full object-cover"}),(0,s.jsx)("h2",{className:"mb-2 ds-bc-heading-02",children:o}),e.content&&d.visibleContent&&(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("div",{className:f,dangerouslySetInnerHTML:{__html:d.visibleContent}}),d.remainingHtml&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"".concat(f," ").concat(n?"":"hidden"),dangerouslySetInnerHTML:{__html:d.remainingHtml}}),(0,s.jsx)(x.Z,{type:"button",style:"link",size:"md",colour:"grey-400",title:n?"Read Less":"Read More","aria-expanded":n,"aria-label":n?"Read less":"Read more",className:"mt-1 !justify-start min-h-0 px-0 py-0 rounded-none ".concat(n?"[&_picture:last-of-type]:rotate-180":""),onClick:function(){return c(function(e){return!e})}})]})]}),e.highlights&&e.highlights.length>0&&(0,s.jsx)(p.Z,{items:e.highlights,className:"mt-4"})]})},b=l(12310),v=l(43968),j=l(26001),k=l(29191),N=l(88626);function TicketSchema(e){var t,l,a,r,c,o,d,u,m,h,x,g,p,f,b,v,j,k,N,w=(t=e.name,l=e.attractionTitle,a=e.meta_description,r=e.sku,c=e.link,o=e.address,d=e.town,u=e.postcode,m=e.telephone,h=e.image,x=e.fromPrice,g=e.averageRating,p=e.reviewCount,f=e.reviews,b=e.breadcrumbs,v=e.faqs,j=e.country,k={"@type":"LocalBusiness",image:h,name:l,description:a,telephone:m,address:{"@type":"PostalAddress",streetAddress:o,addressLocality:null==d?void 0:d.name,addressRegion:null==d?void 0:d.county.name,addressCountry:j||"GB",postalCode:u}},N=null,(g>0||f&&f.length>0||x)&&(N=(0,i._)({"@context":"https://schema.org/","@type":"Product",name:t,image:h,sku:r,description:a},g>0&&{aggregateRating:{"@type":"AggregateRating",ratingValue:g,reviewCount:p,worstRating:"1",bestRating:"5"}},f&&f.length>0&&{review:f.map(function(e){return{"@type":"Review",reviewRating:{"@type":"Rating",ratingValue:e.rating,worstRating:"1",bestRating:"5"},description:e.reviewContent,datePublished:e.datePublished,author:{"@type":"Person",name:e.name},reviewBody:e.reviewContent}})},x&&{offers:{"@type":"Offer",price:x,priceCurrency:"GBP",availability:"https://schema.org/InStock",url:c,hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",returnPolicyCategory:"https://schema.org/MerchantReturnNotPermitted",applicableCountry:"GB"},shippingDetails:{"@type":"OfferShippingDetails",hasDeliveryMethod:"https://schema.org/EmailDelivery"}}})),{jsonLd:(0,n._)((0,i._)({"@context":"https://schema.org","@type":"WebPage",url:c,name:t,description:a,breadcrumb:{"@type":"BreadcrumbList",itemListElement:b.map(function(e){return{"@type":"ListItem",position:e.position,name:e.name,item:e.url}})}},N&&{mainEntity:N}),{about:k}),faqSchema:v&&v.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:v.map(function(e){return{"@type":"Question",name:e.question,acceptedA
1nswer:{"@type":"Answer",text:e.answer.replace(/(<([^>]+)>)/gi,"")}}})}:null}),y=w.jsonLd,_=w.faqSchema;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("script",{id:"ticket-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}}),_&&(0,s.jsx)("script",{id:"faq-schema",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(_)}})]})}var w=l(44523),y=l(62741),_=l(57351),tickets_RelatedTicketsCarousel=function(e){return 0===e.cards.length?null:(0,s.jsx)(y.Z,{id:"related-tickets",title:"You may also like...",slides:e.cards.map(function(t,l){var a;return(0,s.jsx)(_.Z,(0,n._)((0,i._)({},t),{sectionId:null!==(a=e.sectionId)&&void 0!==a?a:"Related Tickets Carousel"}),l)}),pagination:{mobile:!0,desktop:!0},linkText:e.linkText,linkHref:e.linkHref,className:e.className,equalHeightSlides:!0})},T=l(34035),common_BlueContentBlock=function(e){var t;return(0,s.jsxs)("div",{className:"flex flex-col gap-3 p-4 lg:p-6 bg-ds-blue-200 rounded-lg ".concat(null!==(t=e.className)&&void 0!==t?t:""),children:[(0,s.jsx)("h2",{className:"ds-bc-heading-02",children:e.title}),(0,s.jsx)("div",{className:"ds-body-copy text-ds-grey-500",dangerouslySetInnerHTML:{__html:e.content}})]})},tickets_PdpSimpleContent=function(e){var t;return(0,s.jsxs)("section",{className:"flex flex-col gap-4 ".concat(null!==(t=e.className)&&void 0!==t?t:""),children:[(0,s.jsx)("h2",{className:"ds-bc-heading-02",children:e.title}),(0,s.jsx)("div",{className:"ds-body-copy text-ds-grey-500",dangerouslySetInnerHTML:{__html:e.html}})]})},C=l(239),I=l(81978),tickets_TicketWidgetPlaceholder=function(e){var t;return(0,s.jsxs)("div",{className:"p-6 border border-ds-grey-300 bg-white rounded-lg ".concat(null!==(t=e.className)&&void 0!==t?t:""),children:[(0,s.jsx)("div",{className:"ds-bc-heading-02",children:"Tickets Sold Out"}),(0,s.jsxs)("div",{className:"mb-3 ds-heading-05",children:["For ",e.venueTitle]}),(0,s.jsx)("p",{className:"mb-4 ds-copy-regular",children:e.description}),(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(I.Z,{href:e.button.url,title:e.button.title,style:"solid",size:"lg",colour:"purple",ariaLabel:"".concat(e.button.title," for ").concat(e.venueTitle)})})]})},S=(0,r.lazy)(function(){return l.e(6939).then(l.bind(l,6939))}),tickets_TicketingPdp=function(e){var t,l,u,h,x,g,p,f,y,_,I,P,Z,L,R,H,A,M=(0,a._)((0,r.useState)(!1),2),B=M[0],F=M[1],q=(0,r.useRef)(null),D=(0,r.useRef)(null),scrollToTicketWidget=function(t,l){(0,T.YT)({trackingProps:(0,n._)((0,i._)({},e.trackingAttributes),{sectionId:t,component:l}),callback:function(){q.current&&q.current.scrollIntoView({behavior:"smooth"})},eventName:"quick_link"})};return(0,r.useEffect)(function(){var e,t=!1;sessionStorage.setItem("fromPDP","true");var l=null===(e=document)||void 0===e?void 0:e.querySelector("#tickets"),i=new IntersectionObserver(function(e){var l=(0,a._)(e,1)[0];!l.isIntersecting&&t?F(!0):l.isIntersecting&&(F(!1),t=!0)},{threshold:0});return l&&i.observe(l),function(){l&&i.unobserve(l)}},[]),(0,s.jsxs)(c.Z,{head:e.head,dataLayer:e.dataLayer,disableAds:!0,children:[(0,s.jsx)(TicketSchema,(0,n._)((0,i._)({},e.schema),{faqs:(null===(u=e.ticketFaqs)||void 0===u?void 0:null===(l=u.accordions)||void 0===l?void 0:l.length)?e.ticketFaqs.accordions.map(function(e){var t;return{question:e.title,answer:null!==(t=e.content)&&void 0!==t?t:""}}):e.schema.faqs})),(0,s.jsx)(o.Z,{breadcrumbs:e.breadcrumbs}),(0,s.jsx)("div",{className:"relative lg:flex flex-wrap lg:gap-10 pt-4 container",children:(0,s.jsxs)("div",{className:"xl:pr-10 w-full xl:w-[calc(100%-455px)]",children:[(0,s.jsx)(tickets_PdpTitle,{title:e.meta.title,subheading:e.meta.subheading,reviews:e.meta.reviews,logo:e.meta.logo?{url:e.meta.logo.url,altText:null!==(f=e.meta.logo.alt_text)&&void 0!==f?f:void 0}:null,reviewsCallback:function(){(0,T.YT)({trackingProps:(0,n._)((0,i._)({},e.trackingAttributes),{sectionId:"On Page Content",component:"Reviews Stars"}),callback:function(){D.current&&D.current.scrollIntoView({behavior:"smooth"})},eventName:"quick_link"})},className:"mb-2 w-full"}),(0,s.jsx)(d.Z,{images:e.gallery.images.map(function(t,l){var i;return{id:null!==(i=t.id)&&void 0!==i?i:"img-".concat(l),url:t.url,alt_text:t.alt_text||"".concat(e.gallery.attractionTitle," - Image ").concat(l+1),source:t.source}}),shortId:null!==(y=e.trackingAttributes.shortId)&&void 0!==y?y:"",trackingAttributes:e.trackingAttributes,hideVerifiedBadge:!0,className:"-mx-4 sm:mx-0 pb-4 md:pb-6 w-[calc(100%+2rem)] sm:w-full"}),(0,s.jsx)(tickets_PdpMeta,(0,n._)((0,i._)({},e.meta),{bookBtnCallback:function(){return scrollToTicketWidget("On Page Content","Book Now Price Link")},className:"pb-10"})),(0,s.jsx)("section",{id:"tickets",className:"xl:top-4 xl:right-4 xl:absolute mx-auto mb-10 xl:mb-0 w-full max-w-[455px]",ref:q,children:e.ticketWidget?(0,s.jsx)(N.x,(0,i._)({},e.ticketWidget),"ticket-widget-".concat(e.ticketWidget.initialBookingState.attractionShortId)):null===e.ticketWidget&&e.affiliateLink?(0,s.jsx)(C.Z,{attractionId:null!==(I=null!==(_=e.trackingAttributes.attractionId)&&void 0!==_?_:e.trackingAttributes.attractionID)&&void 0!==I?I:"",attractionName:null!==(Z=null!==(P=e.trackingAttributes.attractionTitle)&&void 0!==P?P:e.trackingAttributes.attractionName)&&void 0!==Z?Z:"",websiteUrl:e.affiliateLink,pageTitle:e.head.title}):(0,s.jsx)(tickets_TicketWidgetPlaceholder,{venueTitle:null!==(R=null!==(L=e.trackingAttributes.attractionTitle)&&void 0!==L?L:e.trackingAttributes.attractionName)&&void 0!==R?R:"",description:"Sold out for now, but not forever! We'll update this page as soon as new tickets become available â in the meantime, why not discover another brilliant day out? Tap below to find your next family day out.",button:{url:"/tickets",title:"View All Tickets"}})}),e.wistiaVideoPlayer&&(0,s.jsx)(r.Suspense,{children:(0,s.jsx)(S,
1(0,n._)((0,i._)({},e.wistiaVideoPlayer),{className:"mb-10"}))}),(e.whatsIncluded.content||(null!==(H=null===(x=e.whatsIncluded.positiveList)||void 0===x?void 0:null===(h=x.list)||void 0===h?void 0:h.length)&&void 0!==H?H:0)>0||(null!==(A=null===(p=e.whatsIncluded.negativeList)||void 0===p?void 0:null===(g=p.list)||void 0===g?void 0:g.length)&&void 0!==A?A:0)>0)&&(0,s.jsx)(tickets_PdpBulletList,(0,n._)((0,i._)({},e.whatsIncluded),{className:"pb-10"})),e.knowBeforeYouGo&&(0,s.jsx)(common_BlueContentBlock,{title:e.knowBeforeYouGo.title,content:e.knowBeforeYouGo.content,className:"mb-10"}),e.repeatedContent.length>0&&e.repeatedContent.map(function(e,t){return(0,s.jsx)(tickets_PdpRepeatedContent,(0,i._)({},e),"pdp-repeated-content-".concat(t))}),e.ticketInstructions&&(0,s.jsx)(tickets_PdpSimpleContent,{title:"Ticket Instructions\n& Booking Process",html:e.ticketInstructions.html,className:"mb-10"}),e.attractionTabsData&&(t=(0,j.WO)(e.attractionTabsData)).length>0&&t[0]?(0,s.jsx)(b.Z,{id:"opening-times",title:"Attraction Details",activeTab:t[0].id,tabs:t,className:"-mx-4 md:mx-0 mb-10"}):null,e.directions?(0,s.jsx)(k.Z,(0,n._)((0,i._)({},e.directions),{className:"mb-10"})):null,e.importantInfo&&(0,s.jsx)(tickets_PdpSimpleContent,{title:"Important Information",html:e.importantInfo,className:"mb-10"}),e.ticketFaqs&&e.ticketFaqs.accordions&&e.ticketFaqs.accordions.length>
10&&(0,s.jsx)(v.Z,{title:e.ticketFaqs.title,description:e.ticketFaqs.description,accordions:e.ticketFaqs.accordions.map(function(e){var t;return{title:e.title,content:null!==(t=e.content)&&void 0!==t?t:""}}),className:"-mx-4 sm:mx-0 mb-10 w-[calc(100%+2rem)] sm:w-full"}),e.trackingAttributes.shortId?(0,s.jsxs)("div",{ref:D,children:[(0,s.jsxs)("h2",{className:"mb-4 ds-bc-heading-02",children:[e.trackingAttributes.attractionTitle," Reviews"]}),(0,s.jsx)(w.Z,{shortId:e.trackingAttributes.shortId,className:"pb-10"})]}):null]})}),e.relatedTicketsFeed&&(0,s.jsx)(tickets_RelatedTicketsCarousel,(0,n._)((0,i._)({},e.relatedTicketsFeed),{linkText:"Browse All Tickets",linkHref:"/tickets",className:"pb-10"})),(0,s.jsx)("div",{className:"w-full bg-white sticky bottom-0 left-0 transition-transform duration-300 lg:hidden z-10 ".concat(B?"":"transform translate-y-full"),children:(0,s.jsxs)("div",{className:"flex justify-between items-center p-4 border-ds-grey-300 border-t",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"block ds-bc-heading-03",children:"Tickets Available"}),e.fromPrice&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 ds-label-small",children:[(0,s.jsx)(m.Z,{name:"ticket",width:16,height:16}),"From \xa3",Number(e.fromPrice).toFixed(2).toString()]})]}),(0,s.jsx)("button",{className:"flex justify-center items-center gap-2 btn btn--black-loading btn--square",onClick:function(){return scrollToTicketWidget("Sticky CTA Bar","Book Tickets Button")},children:"Book Tickets"})]})})]})},P=!0;function PdpPage(e){return(0,s.jsx)(tickets_TicketingPdp,(0,i._)({},e))}}},function(e){e.O(0,[9734,9382,2298,8764,2981,2292,7711,8626,9217,9774,2888,179],function(){return e(e.s=57987)}),_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.