1"use strict";(self.webpackChunkpotters_resorts=self.webpackChunkpotters_resorts||[]).push([[4471],{12808:function(e,t,r){var n=r(96540);const o=(0,n.forwardRef)(((e,t)=>{let{as:r="h1",children:o,className:a,style:s,...l}=e;const i=`${r}`;return n.createElement(i,Object.assign({style:{textWrap:"balance",...s},className:`mainHeader ${a}`,ref:t},l),o)}));t.A=o},96944:function(e,t,r){var n=r(96540),o=r(67958),a=r(12495),s=r.n(a),l=r(90888),i=r(59940),c=r(76965),d=r(21499),u=r(43150),m=r(77765);t.A=e=>{let{shortBreaks:t,isBowls:r,sort:a,onlyShowDiscountedBreaks:p=!1,fullWidth:f=!1,discounts:h=[],showPrices:v=!0,showDiscount:b=!0,showButton:w=!0,callback:g,success:y,messageSuccess:k,ctaText:E="View Break",showDiscountCode:B=!0,successWaitlist:A,messageSuccessWaitlist:D,month:S="All",prefix:T}=e;const{0:F,1:N}=(0,n.useState)(!1),C=(e,t)=>{let r="Hopton"===t?"/hopton-on-sea":"/five-lakes";switch(e.subCategory){case"fireworks":return`${r}/fireworks-break-${e.month.split(" ")[1]}/`;case"betwixmas":return`${r}/betwixmas-break-${e.month.split(" ")[1]}/`;case"christmas":return`${r}/christmas-break-${e.month.split(" ")[1]}/`;case"new year":return`${r}/new-year-break-${e.month.split(" ")[1]}/`;default:return`${((e,t)=>T||("Hopton"===t?"/hopton-on-sea":"/five-lakes")+"/short-breaks/")(0,t)}${n=e.category,e.type,o=e.family,o?"family":"Weekend"===n?"weekend":"midweek"}/${s()(e.title).toLowerCase()}`}var n,o};let W=(new Date).getTime();const{0:x,1:L}=(0,n.useState)(void 0),{0:$,1:_}=(0,n.useState)(void 0),P={Spring:["March","April","May","June"],Summer:["June","July","August"],Autumn:["September","October","November"],Winter:["December","January","February"],Late:["January","February"],september:["September"]};(0,n.useEffect)((()=>{t&&("All"===S||"AUTUMNLANDER"===S?_(t):P[S]?_(t.filter((e=>P[S].includes(e.node.month.split(" ")[0])))):_(t.filter((e=>e.node.month===S))),N(!0))}),[S,t]),(0,n.useEffect)((()=>{if(!$)return;L($.filter((e=>e.node.startDate._seconds>W/1e3)).sort("family"===(0,m.JE)("sort")?u._:null!=a?a:(e,t)=>e.node.startDate._seconds===t.node.startDate._seconds?"Five Lakes"===e.resort?-1:1:e.node.startDate._seconds>t.node.startDate._seconds?1:-1))}),[$]);const{0:I,1:R}=(0,n.useState)([]),M=(0,c.rU)();return(0,n.useEffect)((()=>{0===h.length?R(M):R(h)}),[]),(0,n.useEffect)((()=>{h.length>0&&R(h)}),[h]),(0,n.useEffect)((()=>{0===h.length&&R(M)}),[M]),n.createElement("div",{className:`row ${i.$}`},n.createElement(l.l$,null),n.createElement("div",{className:"col-12"},n.createElement("div",{className:"row"},x&&x.length>0&&x.map(((e,t)=>{var a;return n.createElement(o.A,{key:t,shortBreak:e,getBreakLink:C,successWaitlist:A,messageSuccessWaitlist:D,success:y,discount:null!==(a=e.node.discount)&&void 0!==a?a:null,ctaText:E,showPrices:v,discounts:I,showDiscount:b,showDiscountCode:B,onlyShowDiscountedBreaks:p,type:e.node.resort,messageSuccess:k,isBowls:r,fullWidth:f,showButton:w,callback:g})})))),!F&&n.createElement(d.U,null),F&&x&&x.length<1&&!["SUMMERSAVER","AUTUMNLANDER"].includes(S)?n.createElement("div",{className:"my-5 text-center"},n.createElement("h2",{className:"mb-5"},"Unfortunately there are no breaks for the filter you've selected. Please try again.")):"")}},12250:function(e,t,r){r.d(t,{A:function(){return w}});var n={};r.r(n),r.d(n,{autumn:function(){return d},headerImage:function(){return u},light:function(){return m},noBottom:function(){return p},noTop:function(){return f},pageColumnWrapper:function(){return h}});var o=r(96540),a=r(43048),s=r(44479),l=r(61105),i=r(67967),c=r.n(i),d="page-column-wrapper-module--autumn--d36bc",u="page-column-wrapper-module--headerImage--0eaeb",m="page-column-wrapper-module--light--7c15f",p="page-column-wrapper-module--noBottom--49266",f="page-column-wrapper-module--noTop--6908b",h="page-column-wrapper-module--pageColumnWrapper--3446d",v=r(40712);let b=c().bind(n);var w=e=>{let{children:t,theme:r,headerImage:n,headerAlt:i,bgOverride:c,bottomWave:d,className:u,noTop:m,noBottom:p,id:f,fluid:h=!1,style:w,border:g}=e,y=b({pageColumnWrapper:!0,light:"light"===r,noTop:m||n,noBottom:p,headerImage:n});return o.createElement(o.Fragment,null,n&&o.createElement(v.A,{src:n,style:{width:"100%"},className:"mb-0",alt:i}),o.createElement("div",{style:{backgroundColor:c||"inherit",borderRadius:g?15:0,...w},id:f},o.createElement("div",{className:"wrapper"},o.createElement("div",{className:y+" "+u},o.createElement(a.A,{fluid:h},o.createElement(s.A,null,o.createElement(l.A,null,t))))),d))}},21499:function(e,t,r){r.d(t,{U:function(){return o}});var n=r(96540);const o=e=>{let{fill:t="#c8a45d"}=e;return n.createElement("div",{className:"potters-logo-spinner-module--spinnerWrapper--eb6de"},n.createElement("div",{className:"potters-logo-spinner-module--spinner--fabdd"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 38"},n.createElement("g",{fill:"none",stroke:t,strokeWidth:"2",transform:"translate(1 1)"},n.createElement("circle",{cx:"18",cy:"18",r:"18",strokeOpacity:".5"}),n.createElement("path",{d:"M36 18c0-9.9-8.1-18-18-18"},n.createElement("animateTransform",{fill:"remove",accumulate:"none",additive:"replace",attributeName:"transform",calcMode:"linear",dur:"1s",from:"0 18 18",repeatCount:"indef
1inite",restart:"always",to:"360 18 18",type:"rotate"}))),n.createElement("path",{fill:t,d:"M18.8 12.4c.7-.1 1.3-.1 2-.1 3.8 0 4.6 2.2 4.6 4.4 0 2.9-2 5-5.1 5-.5 0-1.2 0-1.5-.1v-9.2zm-.3-7.6c-4.8.3-8.5 4-8.5 8.6 0 3.9 2.7 7.1 6.5 8.2v5.9c0 1.3-.4 2-1.9 2h-.3s-.1 0-.1.1.1.1.1.1h7.4s.1 0 .1-.1-.1-.1-.1-.1h-.6c-1.8 0-2.3-.9-2.3-2.5v-4.9c.4.1.9.1 1.3.1h1.8c3.8-.2 6.2-2.3 6.2-5.4 0-2.2-1.4-5-7.3-5-.8 0-3.3.1-4.7.2-1.4.1-1.4.1-2.2.2 0 0-.1 0-.1.1s.1.1.1.1H15c1 0 1.5.7 1.5 1.7V21c-4.3-1.4-7.1-5.4-6.2-9.4 1-4.4 6-7.2 11.2-6.2h.2C27.6 7 32 12.3 32 18.7c0 7.5-6.1 13.5-13.5 13.5C11 32.2 5 26.1 5 18.7c0-2.4.6-4.7 1.8-6.7h-.1c-1.2 2.1-1.9 4.5-1.9 7 0 7.9 6.4 14.2 14.2 14.2 7.9 0 14.2-6.4 14.2-14.2 0-7.3-5.7-13.6-12.5-14.2-.5 0-.9-.1-1.4 0h-.8"}))))}},43150:function(e,t,r){r.d(t,{B:function(){return o},_:function(){return a}});var n=r(77765);const o=(e,t,r)=>{var o;let a,s=e.concat(t);a="Hopton"===r||"Five Lakes"===r?s.filter((e=>e.node.resort===r)):s;let l;switch(null!==(o=(0,n.JE)("tournamentType"))&&void 0!==o?o:""){case"indoor":l=a.filter((e=>{var t,r,n;return"Indoor Bowls Tournament"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)||"Indoor Bowls (Pairs) Tournament"===(null===(r=e.node)||void 0===r?void 0:r.bowlsTournament)||"Short Mat & Indoor Bowls"===(null===(n=e.node)||void 0===n?void 0:n.bowlsTournament)}));break;case"indoorPairs":l=a.filter((e=>{var t;return"Indoor Bowls (Pairs) Tournament"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)}));break;case"celebrity":l=a.filter((e=>{var t;return"Celebrity Bowls"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)}));break;case"proCoaching":l=a.filter((e=>{var t;return"Pro Coaching"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)}));break;case"carpet":l=a.filter((e=>{var t,r;return"Carpet Bowls"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)||"ECBA Bowls"===(null===(r=e.node)||void 0===r?void 0:r.bowlsTournament)}));break;case"association":l=a.filter((e=>{var t,r;return"Annual Association"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)||"ECBA Bowls"===(null===(r=e.node)||void 0===r?void 0:r.bowlsTournament)}));break;case"shortMat":l=a.filter((e=>{var t,r;return"Short Mat"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)||"Short Mat & Indoor Bowls"===(null===(r=e.node)||void 0===r?void 0:r.bowlsTournament)}));break;case"bridge":l=a.filter((e=>{var t;return"Bridge & Fun Bowls"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)}));break;case"dance":l=a.filter((e=>{var t;return"Dancing"===(null===(t=e.node)||void 0===t?void 0:t.bowlsTournament)}));break;default:l=a}return l},a=(e,t)=>e.node.family&&!t.node.family?-1:t.node.family&&!e.node.family?1:e.node.startDate._seconds===t.node.startDate._seconds?"Five Lakes"===e.resort?-1:1:e.node.startDate._seconds>t.node.startDate._seconds?1:-1},76879:function(e,t,r){r.d(t,{j:function(){return a}});var n=r(90176),o=r(71083);const a=function(e,t){void 0===e&&(e=""),void 0===t&&(t="ALL");const{data:r,isPending:a}=(0,n.I)({queryKey:["Offerlookup"],retry:!1,queryFn:async()=>{const r=await o.A.post("https://forms.yourpotters.com/api/discounts/code",{code:e,site:t});return sessionStorage.setItem("placeholder","FILLERIGNORE"),r.data}});return{discounts:r,loading:a}}},8271:function(e,t,r){r.r(t);var n=r(96540),o=r(67971),a=r(12250),s=r(12808),l=r(96944),i=r(24794),c=r(76879),d=r(51891),u=r(95093),m=r.n(u),p=r(36504),f=r(77765),h=r(4191),v=r(40712);t.default=e=>{let{data:t}=e;const{discounts:r}=(0,c.j)("FRSTAGE26"),u=(0,d.mc)(),{0:b}=(0,n.useState)((()=>{let e=t.allBreaksJson.edges.concat(t.allHoptonBreaksJson.edges);return e.map((e=>("10th April 2026 - 3 Night Easter Weekend"===e.node.title&&"Hopton"===e.node.resort&&(e.node.featuredBreak=!0,e.node.featuredBreakCopy="Featured Break"),e))).filter((e=>u?e&&-1===u.indexOf(m().unix(e.node.startDate._seconds).format("YYDDDD")):e)),e})());return n.createElement(o.A,null,n.createElement(h.A,{title:"Nobody Does Entertainment Like Potters | Friends Club",description:"Enjoy exclusive Spring offers with the Potters Friends Club. Experience spectacular theatre shows, incredible voices and fully inclusive breaks."}),n.createElement(p.A,{remoteImageData:{src:`${f.XF}potters-resorts/full-width-headers/41596-World-Theatre-Day-Web-Header.jpg`,alt:"Entertainment at Potters Resorts"}}),n.createElement(a.A,{className:"potters text-lg-center"},n.createElement(s.A,null,"Nobody Does Entertainment Like Potters"),n.createElement("p",null,"Enjoy up to £350 per person off selected 2026 Spring Breaks and immerse yourself in the shows, the music and moments youâll love."),n.createElement("p",null,"Use code FRSTAGE26 to unlock your saving before 11:59pm Wednesday 1st April."),n.createElement("p",null,"Your seat is waiting!")),n.createElement(a.A,{className:"text-lg-center"},r&&n.createElement(l.A,{shortBreaks:b,discounts:r,onlyShowDiscountedBreaks:!0,sort:(e,t)=>e.node.featuredBreak?-1:e.node.startDate._seconds===t.node.startDate._seconds?"Five Lakes"===e.resort?-1:1:e.node.startDate._seconds>t.node.startDate._seconds?1:-1}),n.createElement(v.A,{className:"my-5",src:`${f.XF}potters-resorts/41596-World-Theatre-Day-Divider-600px.png`,alt:"World Theatre Day"}),n.createElement("p",null,n.createElement("strong",null,"Terms and Conditions")),n.createElement("p",null,"Use your offer code, ",n.createElement("strong",null,"FRSTAGE26"),", to save up to £350 per person on selected Spring breaks at Potters Resorts Hopton-on-Sea or Potters Resorts Five Lakes. Your savings code expires at 11:59pm Wednesday, 1st April 2026."),n.createElement("p",null,"Hopton-on-Sea prices are based on Bungalow accommodation. Five Lakes prices are based on Premier Hotel or Village accommodation. Supplements apply for upgraded and under-occupied accommodation. All prices are subject to change. Family prices are based on, but not limited to, a family of four."),n.createElement("p",null,"*Savings do not apply to under 3s and are not applicable on a) Group Bookings handled by our Group Sales Team, b) on any 1 or 2-Night Breaks unless otherwise stated, c) World Bowls Breaks, d) Christmas Breaks, 23rd, 27th and 30th December 2026. Savings only apply to new bookings and are subject to promotional rate availability. Potters Resorts reserves the right to change/amend, or withdraw offers at any time and without prior notice. Savings cannot be used in conjunction with any other promotion or offer."),n.createElement("p",null,"Only Friends members can use Friends offers. If you are bringing guests who are not Friends, you can invite them to become members, or they can book without your Friends offer. Guests under the age of 18 booked on family breaks at Hopton-on-Sea are not required to be Friends members if accompanying adults who are Friends members."),n.createElement("p",null,"For full terms and conditions, visit",n.createElement(i.Link,{to:"/terms-and-conditions/"},"www.pottersresorts.com/terms-and-conditions"),". Calls are charged at the national rate and, in many cases, count toward inclusive minutes on landline and mobile contracts.")))}}}]);
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.