1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9754],{17746:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var i=n(59499),o=n(4730),r=n(9008),c=n.n(r),a=n(57953),s=n(10404),l=n(60407),d=n(31096),p=n(13959),u=n(80477),h=n(31962),f=n(67294),x=n(58255),m=n(74107),g=n(47300),b=n(11163),v=n(67162),y=n(4480),_=n(67208),w=n(31742),j=n(36596),C=n(85893),O=function(e){var t=e.text,n=e.icon,i=e.className,o=function(){var e=(0,f.useState)(0),t=e[0],n=e[1];return(0,f.useEffect)((function(){var e=function(){n(window.scrollY)};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]),t}(),r=(0,b.useRouter)(),c=(0,v.vH)(),a=c.secondaryBg,s=c.textColor,l=(0,y.sJ)(_.GW);return(0,C.jsxs)(P,{className:(0,w.cn)("z-navbar",i),$_css:a,$_css2:o>0?"#C4C4C4":"transparent",$_css3:l,$_css4:(0,j.V8)({componentType:"cta",baseIndexNumber:9999}),children:[(0,C.jsx)(x.hU,{onClick:function(){var e=r.query.redirect;e?r.replace(e):r.back()},children:n||(0,C.jsx)(m.IAk,{stroke:s})}),(0,C.jsx)(g.ZT,{fontSize:"16px",fontWeight:"700",children:t})]})},P=(0,d.ZP)("div").withConfig({displayName:"FixedBack___StyledDiv",componentId:"sc-12aylkz-0"})(["transition:all 0.3s ease;background:",";border-bottom:1px solid ",";top:","px;z-index:",";position:fixed;width:100%;padding:20px 14px;padding-bottom:12px;button{position:absolute;transform:translateY(2px);}p{line-height:24px;text-align:center;}"],(function(e){return e.$_css}),(function(e){return e.$_css2}),(function(e){return e.$_css3}),(function(e){return e.$_css4})),Z=["id","children","title","bgColor","loading","fixedContent","fixedContentClassName","icon","noFooter"];function k(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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=d.ZP.div.withConfig({displayName:"Layout__ContentWrapper",componentId:"sc-6gpps0-0"})(["flex:1;margin-top:",";--nav-height:76px;background-color:",";background-color:",";@media ","{--nav-height:53px;}.tooltip{background:#ffffff;border:1px solid #c4c4c4;padding:20px;max-width:424px;border-radius:12px;color:#010101;opacity:1 !important;p{font-weight:400;font-size:12px;line-height:18px;}@media ","{padding:28px 40px;}}"],(function(e){return e.hasFixedContent?"".concat(e.navbarHeight+57,"px"):"".concat(e.navbarHeight,"px")}),(function(e){return e.theme.color.primary}),(function(e){return e.theme.color.primary}),l.vb.tabletAndDown,l.vb.tabletAndDown),T=function e(t){var n=t.id,i=t.children,r=t.title,l=t.bgColor,d=t.loading,f=t.fixedContent,x=t.fixedContentClassName,m=t.icon,g=t.noFooter,b=void 0!==g&&g,v=(0,o.Z)(t,Z),w=(0,s.P)().isTabletOrMobile,j=(0,a.Ap)("/theme/default/section"),P=j.data,k=j.error,T=(0,y.sJ)(_.GW);return k?(0,C.jsx)(e,{title:"404"}):!P||d?(0,C.jsx)(E,{children:(0,C.jsx)(p.Z,{width:"200px",height:"200px"})}):(0,C.jsxs)("div",N(N({style:{minHeight:"100vh",display:"flex",flexDirection:"column",backgroundColor:l}},v),{},{children:[r&&(0,C.jsxs)(c(),{children:[(0,C.jsx)("title",{children:r}),(0,C.jsx)("meta",{charSet:"utf-8"}),(0,C.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"})]}),(0,C.jsx)(h.Z,{}),f&&w&&(0,C.jsx)(O,{className:x,text:f,icon:m}),(0,C.jsx)(S,{id:n,hasFixedContent:Boolean(f)&&w,navbarHeight:T,children:i}),!b&&(0,C.jsx)(u.Z,{})]}))},E=(0,d.ZP)("div").withConfig({displayName:"Layout___StyledDiv",componentId:"sc-6gpps0-1"})(["min-height:100vh;display:flex;justify-content:center;align-items:center;"])},19304:function(e,t,n){"use strict";n.r(t);var i=n(57953),o=n(58255),r=n(47300),c=n(56181),a=n(56257),s=n(60407),l=n(41664),d=n.n(l),p=n(11163),u=n(67294),h=n(31096),f=n(74107),x=n(95591),m=n(13959),g=n(85893),b=h.ZP.div.withConfig({displayName:"cancel__Wrapper",componentId:"sc-1pv33cn-0"})(["display:flex;flex-direction:column;margin-top:200px;align-items:center;@media ","{margin-top:53px;}"],s.vb.mobile);t.default=function(){var e=(0,p.useRouter)().query.id,t=void 0===e?"":e,n=(0,u.useState)(!1),r=n[0],s=n[1],l=(0,x.ZP)("/accounts/memberships/".concat(t,"/info"),i._i,{onSuccess:function(){s(!0),setTimeout((function(){s(!1)}),3e3)}}).data,h=(0,x.ZP)("/accounts/memberships/".concat(t,"/info"),i._i).mutate;(0,u.useEffect)((function(){var e=setTimeout((function(){h()}),3e3);return function(){return clearTimeout(e)}}),[]);var w=null===l||void 0===l?void 0:l.data.endDate;return(0,g.jsx)(c.Z,{children:r?(0,g.jsx)(b,{children:(0,g.jsx)(m.Z,{width:"100px",height:"100px",color:"#010101"})}):(0,g.jsxs)(b,{children:[(0,g.jsx)("div",{children:(0,g.jsx)(f.BRc,{})}),(0,g.jsx)(v,{as:"h3",children:"Your membership has been cancelled"}),(0,g.jsxs)(y,{as:"p",children:["Your plan is active until"," ",(0,g.jsxs)(_,{children:[(0,a.lQ)(w),"."]})," ","You may continue to book with this membership until then."]}),(0,g.jsx)(d(),{href:"/account/memberships/".concat(t,"?tab=0"),children:(0,g.jsx)(o.hO,{width:"auto",children:"Back to Membership"})})]})})};var v=(0,h.ZP)(r.ZT).withConfig({displayName:"cancel___StyledTypography",componentId:"sc-1pv33cn-1"})(["text-align:center;margin-top:25px;font-weight:700;font-size:24px;line-height:30px;margin-bottom:12px;"]),y=(0,h.ZP)(r.ZT).withConfig({displayName:"cancel___StyledTypography2",componentId:"sc-1pv33cn-2"})(["font-style:normal;font-weight:400;font-size:14px;line-height:24px;margin-bottom:12px;"]),_=(0,h.ZP)("strong").withConfig({displayName:"cancel___StyledStrong",componentId:"sc-1pv33cn-3"})(["font-weight:700;"])},29327:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/[type]/cancel",function(){return n(19304)}])}},function(e){e.O(0,[4885,4171,5890,3775,6181,9774,2888,179],(function(){return t=29327,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.