(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,57649,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(70703);let i="66cfafb199801c33b2f28472",l=({className:e,dataLocale:s="en-US",dataTemplateId:l,dataBusinessUnitId:r=i,dataStyleHeight:n,dataStyleWidth:o="100%",dataToken:d,dataStars:p})=>{let u=(0,t.useRef)(null);return(0,t.useEffect)(()=>{window.Trustpilot&&u.current&&window.Trustpilot.loadFromElement(u.current,!0)},[]),(0,a.jsx)("div",{ref:u,"data-locale":s,className:`trustpilot-widget ${e||""}`,"data-template-id":l,"data-businessunit-id":r,"data-style-width":o,"data-style-height":n,"data-token":d,"data-stars":p,children:(0,a.jsx)("a",{href:"https://www.trustpilot.com/review/maxlife.tp-testing.com",target:"_blank",rel:"noopener",children:"Trustpilot"})})},r=(0,s.default)(()=>Promise.resolve(l),{ssr:!1});e.s(["default",0,r])},72225,e=>{"use strict";var a=e.i(3259);e.s(["Autoplay",0,function({swiper:e,extendParams:t,on:s,emit:i,params:l}){let r,n,o,d,p,u,m,c,y;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let x=l&&l.autoplay?l.autoplay.delay:3e3,f=l&&l.autoplay?l.autoplay.delay:3e3,g=new Date().getTime();function h(a){!e||e.destroyed||!e.wrapperEl||a.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",h),y||a.detail&&a.detail.bySwiperTouchMove||E())}let v=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(f=o,d=!1);let a=e.autoplay.paused?o:g+f-new Date().getTime();e.autoplay.timeLeft=a,i("autoplayTimeLeft",a,a/x),n=requestAnimationFrame(()=>{v()})},w=()=>{let a=e.params.autoplay.delay,t=(()=>{let a;if(a=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(a.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(t)&&t>0&&(a=t),a},b=a=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(n),v();let t=a;void 0===t&&(x=t=w(),f=t),o=t;let s=e.params.speed,l=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(s,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,s,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(s,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,s,!0,!0),i("autoplay")),e.params.cssMode&&(g=new Date().getTime(),requestAnimationFrame(()=>{b()})))};return t>0?(clearTimeout(r),r=setTimeout(()=>{l()},t)):requestAnimationFrame(()=>{l()}),t},j=()=>{g=new Date().getTime(),e.autoplay.running=!0,b(),i("autoplayStart")},N=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(n),i("autoplayStop")},T=(a,t)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),a||(c=!0);let s=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):E()};(e.autoplay.paused=!0,t)?s():(o=(o||e.params.autoplay.delay)-(new Date().getTime()-g),e.isEnd&&o<0&&!e.params.loop||(o<0&&(o=0),s()))},E=()=>{e.isEnd&&o<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(g=new Date().getTime(),c?(c=!1,b(o)):b(),e.autoplay.paused=!1,i("autoplayResume"))},L=()=>{if(e.destroyed||!e.autoplay.running)return;let t=(0,a.g)();"hidden"===t.visibilityState&&(c=!0,T(!0)),"visible"===t.visibilityState&&E()},S=a=>{"mouse"!==a.pointerType||(c=!0,y=!0,e.animating||e.autoplay.paused||T(!0))},O=a=>{"mouse"===a.pointerType&&(y=!1,e.autoplay.paused&&E())};s("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",O)),(0,a.g)().addEventListener("visibilitychange",L),j())}),s("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",O)),(0,a.g)().removeEventListener("visibilitychange",L),e.autoplay.running&&N()}),s("_freeModeStaticRelease",()=>{(u||c)&&E()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?N():T(!0,!0)}),s("beforeTransitionStart",(a,t,s)=>{!e.destroyed&&e.autoplay.running&&(s||!e.params.autoplay.disableOnInteraction?T(!0,!0):N())}),s("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void N();p=!0,u=!1,c=!1,m=setTimeout(()=>{c=!0,u=!0,T(!0)},200)}}),s("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&p){if(clearTimeout(m),clearTimeout(r),e.params.autoplay.disableOnInteraction){u=!1,p=!1;return}u&&e.params.cssMode&&E(),u=!1,p=!1}}),s("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(o=w(),x=w())}),Object.assign(e.autoplay,{start:j,stop:N,pause:T,resume:E})}],72225)},74129,e=>{"use strict";var a=e.i(43476),t=e.i(80401),s=e.i(72225),i=e.i(70893);let l=({name:e,title:t,testimonial:s,weightLoss:l,duration:r,profileImage:n,className:o=""})=>(0,a.jsxs)("div",{className:`bg-white h-full rounded-2xl overflow-hidden shadow-custom/20 flex flex-col shadow-gray-400 space-y-1 md:space-y-3 ${o}`,children:[(0,a.jsxs)("div",{className:"grow space-y-4",children:[(0,a.jsxs)("div",{className:"px-4 md:px-6 pt-4 md:pt-6 flex flex-col grow space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-3 h-8",children:[(0,a.jsx)("div",{className:"bg-[#73B7E1] text-white px-3 py-1.5 rounded-full text-xs lg:text-sm font-base",children:l}),(0,a.jsx)("div",{className:"bg-[#73B7E1] text-white px-3 py-1.5 rounded-full text-xs lg:text-sm font-base",children:r})]}),(0,a.jsxs)("div",{className:"flex items-center space-x-3 h-12",children:[(0,a.jsx)(i.default,{src:n,unoptimized:!0,alt:e,className:"w-12 h-12 rounded-full object-cover object-center shrink-0"}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("h4",{className:"font-semibold text-gray-900 text-sm truncate",children:e}),(0,a.jsx)("p",{className:"text-gray-500 text-xs truncate",children:t})]})]})]}),(0,a.jsx)("div",{className:"px-4 md:px-6 grow flex items-start",children:(0,a.jsxs)("p",{className:"text-gray-700 text-sm leading-relaxed",style:{display:"-webkit-box",WebkitLineClamp:4,WebkitBoxOrient:"vertical",overflow:"hidden"},children:['"',s,'"']})})]}),(0,a.jsx)("div",{className:"relative h-80 shrink-0 overflow-hidden rounded-2xl",children:(0,a.jsx)(i.default,{src:n,alt:e,className:"w-full h-80 object-cover",style:{objectPosition:"center 30%"},unoptimized:!0})})]});var r=e.i(57649);e.s(["default",0,({testimonials:e,showHeader:i=!0,className:n="",data:o})=>(0,a.jsxs)("div",{className:`${n} py-4 md:py-6 px-4 md:px-0`,children:[i&&(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-semibold text-gray-900 mb-2",children:o?o?.title:"Loved by Our Members"}),(0,a.jsx)("p",{className:"text-sm md:text-lg text-gray-600 mb-2 max-w-2xl mx-auto",children:o?o?.subtitle:"Real stories, real results, from people just like you."}),(0,a.jsx)("div",{className:"flex justify-center p-5",children:(0,a.jsx)(r.default,{className:"shadow-custom/5 py-2 rounded-4xl",dataLocale:"en-US",dataTemplateId:"5419b732fbfb950b10de65e5",dataStyleHeight:"24px",dataStyleWidth:"100%",dataToken:"0ff7c9d8-a361-4f4f-87dd-36b1c7577262"})})]})}),(0,a.jsx)("div",{className:"w-full 3xl:max-w-10xl mx-auto",children:(0,a.jsx)(t.Swiper,{modules:[s.Autoplay],grabCursor:!0,autoplay:{delay:5e3,disableOnInteraction:!1},loop:!0,breakpoints:{0:{slidesPerView:1.2,spaceBetween:18},500:{slidesPerView:"auto",spaceBetween:20}},className:"testimonials-swiper px-4 sm:px-6 lg:px-8",children:e.map(e=>(0,a.jsx)(t.SwiperSlide,{className:"h-auto! flex-wrap max-w-96! md:max-w-80! my-4",children:(0,a.jsx)(l,{name:e.name,title:e.title,testimonial:e.testimonial,weightLoss:e.weightLoss,duration:e.duration,profileImage:e.profileImage})},e.id))})})]})],74129)},11707,e=>{e.n(e.i(74129))}]);