1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[331],{17468:(e,t,r)=>{r.d(t,{l:()=>o});var n=r(60004),l=r(56645),a=r(94122),i=r(12312);let o=e=>{let{variant:t,primary:r,secondary:o,tertiary:s,noOutline:u}=e,{isGG:d,isJR:c,isMF:b}=(0,n.useContext)(a._0),f=(0,i.G9c)(),v=(0,l.A)(f&&"bg-klub-teal-500 text-klub-teal-100 klub-button\n border-2 border-transparent\n hover:bg-klub-teal-400 hover:text-klub-teal-700\n active:bg-klub-teal-600 active:text-klub-teal-100\n data-[pressed]:bg-klub-teal-600 data-[pressed]:text-klub-teal-100\n group-active:bg-klub-teal-600 group-active:text-klub-teal-100\n focus:outline-none focus-visible:outline-none\n focus-visible:ring-2 focus-visible:ring-klub-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-klub-neutral-100\n disabled:bg-klub-neutral-300 disabled:text-klub-neutral-600 disabled:opacity-100\n aria-disabled:bg-klub-neutral-300 aria-disabled:text-klub-neutral-600 aria-disabled:opacity-100 aria-disabled:pointer-events-none\n transition-colors duration-200"),g=(0,l.A)(f&&"bg-transparent text-klub-teal-500 klub-button\n border-2 border-klub-teal-500\n hover:bg-klub-teal-100\n active:bg-klub-teal-200 active:border-klub-teal-600 active:text-klub-teal-600\n data-[pressed]:bg-klub-teal-200 data-[pressed]:border-klub-teal-600 data-[pressed]:text-klub-teal-600\n group-active:bg-klub-teal-200 group-active:border-klub-teal-600 group-active:text-klub-teal-600\n focus:outline-none focus-visible:outline-none\n focus-visible:ring-2 focus-visible:ring-klub-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-klub-neutral-100\n disabled:bg-klub-neutral-200 disabled:text-klub-neutral-600 disabled:border-klub-neutral-600 disabled:opacity-100\n aria-disabled:bg-klub-neutral-200 aria-disabled:text-klub-neutral-600 aria-disabled:border-klub-neutral-600 aria-disabled:opacity-100 aria-disabled:pointer-events-none\n transition-colors duration-200"),p=(0,l.A)(f&&"bg-klub-teal-100 text-klub-teal-500 klub-button\n border-2 border-transparent\n hover:bg-klub-teal-200\n active:bg-klub-teal-400 active:text-klub-teal-600\n data-[pressed]:bg-klub-teal-400 data-[pressed]:text-klub-teal-600\n group-active:bg-klub-teal-400 group-active:text-klub-teal-600\n focus:outline-none focus-visible:outline-none\n focus-visible:ring-2 focus-visible:ring-klub-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-klub-teal-700\n disabled:bg-klub-neutral-300 disabled:text-klub-neutral-600 disabled:opacity-100\n aria-disabled:bg-klub-neutral-300 aria-disabled:text-klub-neutral-600 aria-disabled:opacity-100 aria-disabled:pointer-events-none\n transition-colors duration-200"),h=(0,l.A)(f&&"bg-klub-teal-500 text-klub-teal-100 klub-button\n border-2 border-klub-teal-100\n hover:bg-klub-teal-400 hover:border-klub-teal-100\n active:bg-klub-teal-600 active:border-klub-teal-100\n data-[pressed]:bg-klub-teal-600 data-[pressed]:border-klub-teal-100\n group-active:bg-klub-teal-600 group-active:border-klub-teal-100\n focus:outline-none focus-visible:outline-none\n focus-visible:ring-2 focus-visible:ring-klub-teal-400 focus-visible:ring-offset-2 focus-visible:ring-offset-klub-teal-700\n disabled:bg-klub-neutral-500 disabled:text-klub-neutral-200 disabled:border-transparent disabled:opacity-100\n aria-disabled:bg-klub-neutral-500 aria-disabled:text-klub-neutral-200 aria-disabled:border-transparent aria-disabled:opacity-100 aria-disabled:pointer-events-none\n transition-colors duration-200"),x=(0,l.A)(f?v:(0,l.A)(d&&"py-3.5\n text-black active:text-black hover:text-ci-yellow\n bg-ci-yellow active:bg-ci-yellow hover:bg-black\n border-2 border-ci-yellow hover:border-black active:border-ci-yellow",c&&"bg-ci-pink \n text-white hover:text-black active:text-black\n ease-[cubic-bezier(0.33, 1, 0.68, 1)]\n active:shadow-ctaPrimaryActiveShadow\n border-2 border-ci-pink \n before:content-['']\n before:w-full before:h-full before:absolute before:top-0 before:left-0\n before:border-ci-pink before:border-2 before:translate-y-2 before:-translate-x-2\n before:transition-transform before:duration-200 before:ease-[cubic-bezier(0.33, 1, 0.68, 1)]\n hover:before:translate-x-0 hover:before:translate-y-0\n active:before:translate-x-0 active:before:translate-y-0\n ",c&&u&&"before:hidden",b&&"bg-graphite text-white\n border-3 border-transparent \n hover:bg-white hover:text-graphite hover:border-graphite\n focus:outline-none focus:[border-radius:0] focu
1s:border-white focus:ring-6 focus:ring-blue-focus\n focus:hover:bg-white focus:hover:text-graphite focus:hover:border-graphite\n disabled:bg-graphite disabled:text-white disabled:opacity-60\n transition-all duration-200")),k=(0,l.A)(f?h:b&&"bg-white text-black-500\n border-3 border-transparent \n hover:bg-graphite hover:text-white hover:border-white\n focus:outline-none focus:[border-radius:0] focus:bg-gray9 focus:border-white focus:ring-8 focus:ring-yellow-focus\n focus:box-shadow-[0_0_0_3px_#000]\n focus:ring-offset-[3px] focus:ring-offset-black\n focus:hover:bg-graphite focus:hover:text-white focus:hover:border-white\n disabled:bg-[#E0E0E0] disabled:text-[#999999] disabled:border-transparent disabled:opacity-50\n transition-all duration-200"),y=(0,l.A)(f?g:b&&"bg-transparent text-graphite\n border-3 border-graphite \n hover:bg-white hover:text-graphite hover:border-graphite\n focus:outline-none focus:[border-radius:0] focus:bg-white focus:border-graphite focus:ring-8 focus:ring-blue-focus \n focus:ring-offset-[3px] focus:ring-offset-white\n focus:hover:bg-white focus:hover:text-graphite focus:hover:border-graphite\n disabled:bg-[#E0E0E0] disabled:text-[#999999] disabled:border-transparent disabled:opacity-50\n transition-all duration-200"),w=(0,l.A)(f?g:(0,l.A)(d&&"py-3.5\n text-ci-yellow active:text-black hover:text-black\n bg-black bg-opacity-25 active:bg-ci-yellow hover:bg-ci-yellow\n border-2 border-ci-yellow",c&&"bg-transparent text-graphite\n border-2 border-black \n hover:border-ci-pink\n hover:text-ci-pink\n active:border-ci-pink\n active:text-ci-pink\n ease-[cubic-bezier(0.33, 1, 0.68, 1)] transition-all\n disabled:border-graphite",b&&"bg-white text-graphite\n border-3 border-graphite \n hover:bg-graphite hover:text-white hover:border-graphite\n focus:outline-none focus:[border-radius:0] focu
1s:bg-white focus:border-graphite focus:ring-8 focus:ring-blue-focus \n focus:ring-offset-[3px] focus:ring-offset-white\n disabled:bg-[#E0E0E0] disabled:text-[#999999] disabled:border-transparent disabled:opacity-50\n transition-all duration-200")),m=(0,l.A)(f?p:d&&"py-4\n text-white active:text-white hover:text-black\n bg-black active:bg-black hover:bg-ci-yellow"),A={primary:x,primaryWhite:k,secondary:w,secondaryWhite:y,tertiary:f?p:b||c?y:m,inverse:h,inverseFilled:p};return t?A[Array.isArray(t)?t[0]:t]||A.primary:r?A.primary:o?A.secondary:s?A.tertiary:A.primary}},22426:(e,t,r)=>{r.d(t,{b:()=>i});var n=r(60072),l=r(60004),a=r(10983);let i=e=>{let{children:t,inView:r,disabled:i=!1,delayRevealFactor:o=1,persistAfterFirstInView:s=!0}=e,u=(0,a.useRouter)(),[d,c]=(0,l.useState)(!1),[b,f]=(0,l.useState)(!1);(0,l.useEffect)(()=>{s&&r&&f(!0)},[r,s]),(0,l.useEffect)(()=>{let e=window.location.pathname,t=u.locale,r=(r,n)=>{let{shallow:l}=n;l||(new URL(r,window.location.origin).pathname.split("/")[1]!==t||r!==e)&&(c(!1),f(!1),setTimeout(()=>c(!0),100))},n=()=>{setTimeout(()=>c(!0),250)};return u.events.on("beforeHistoryChange",r),u.events.on("routeChangeComplete",n),c(!0),()=>{u.events.off("beforeHistoryChange",r),u.events.off("routeChangeComplete",n)}},[u.locale,u.asPath,u.events]);let v=!i&&d&&(s?!!r||b:!!r);return(0,n.jsx)("div",{className:"\n relative\n w-full\n h-full\n ".concat(!i?"overflow-hidden":"","\n transition-all\n ease-in-out\n ").concat(v?"duration-700":"","\n imagereveal\n "),style:i?{}:{clipPath:v?"polygon(0% 0%,100% 0%,100% 100%,0% 100%)":"polygon(0% 100%,100% 100%,100% 100%, 0% 100%)",willChange:"clip-path"},children:(0,n.jsx)("div",{className:"relative w-full h-full transition-all ease-in-out duration-700",style:i?{}:{transform:v?"scale(1)":"scale(1.1)",willChange:"transform"},children:t})})}},23026:(e,t,r)=>{r.d(t,{z:()=>o});var n=r(94122),l=r(12312),a=r(56645),i=r(60004);let o=e=>{let{disabled:t,noOutline:r,jrCheckout:o}=e,{isGG:s,isJR:u,isMF:d}=(0,i.useContext)(n._0),c=(0,l.G9c)();return(0,a.A)("text-center\n duration-250\n ease-in-out\n disabled:hover:none\n disabled:pointer-events-none",s&&"active:shadow-activeShadow\n font-sofia-sans-extra-condensed\n font-bold\n text-[1.3rem]\n leading-6.5\n tracking-0.125\n uppercase",u&&"relative\n leading-5\n ".concat(o?"text-[16px]":"text-xl","\n ").concat(o?"":"tracking-0.125","\n ").concat(o?"px-14":"px-3","\n font-bold\n pt-[1.063rem]\n pb-[0.938rem]\n uppercase"),c&&"font-montserrat\n min-h-[44px]\n py-3\n px-6\n klub-button\n aria-disabled:pointer-events-none",d&&!c&&"font-montserrat\n py-3 \n px-14\n font-bold \n text-[16px] \n leading-5\n disabled:opacity-20",!d&&t&&"disabled:opacity-50",r&&"no-outline")}},60331:(e,t,r)=>{r.r(t),r.d(t,{KlubDisplay:()=>h});var n=r(60072),l=r(56645),a=r(62380),i=r(12312),o=r(60004),s=r(87700),u=r(61484),d=r(94122),c=r(1004);let b=e=>{var t;return!!((null==e?void 0:e.isActive)&&(null==e?void 0:e.ctaText)&&(null==e||null==(t=e.ctaMethod)?void 0:t[0])&&("link"!==e.ctaMethod[0]||e.ctaLink))},f=e=>{var t;let{cta:r,variant:a}=e,{openOffCanvas:b}=(0,o.useContext)(d._0),{trackCtaClick:f}=(0,c.$I)(),v=(null!=(t=r.ctaMethod)?t:[]).filter(Boolean),g=(0,l.A)("w-full lg:w-auto min-w-[160px]",r.trackingClass),p=(e=>{var t,r,n,l,a,i,o,s,u;let d=null==(t=e.ctaMethod)?void 0:t[0],c="trialtraining"===d||"trialtrainingextra"===d,b=(null!=(o=null==(r=e.selectedStudio)?void 0:r.nodes)?o:[]).find(e=>(null==e?void 0:e.__typename)==="StudioTag"),f=(null!=(s=null==(n=e.selectedContract)?void 0:n.nodes)?s:[]).find(e=>(null==e?void 0:e.__typename)==="Mlterm"),v=(null!=(u=null==(l=e.form)?void 0:l.nodes)?u:[]).find(e=>(null==e?void 0:e.__typename)==="Form");return{studioId:c?null:b&&"brandungMlstudios"in b?null==(a=b.brandungMlstudios)?void 0:a.studioid:null,termId:c?null:f&&"mlterms"in f?null==(i=f.mlterms)?void 0:i.termid:null,formId:v&&"databaseId"in v?v.databaseId:null,alternativeJourney:e.alternativeJourney}})(r);return"link"===v[0]?(0,n.jsx)(u.n,{variant:a,to:r.ctaLink,text:r.ctaText,className:g,onClick:()=>f(r.ctaText,v)}):(0,n.jsx)(s.$,{variant:a,value:r.ctaText,method:v,addClasses:g,onClick:()=>{var e;if(f(r.ctaText,v,{organisationId:null!=(e=p.studioId)?e:void 0}),"checkout"===v[0])return void(0,i.Gmf)(b,{...r,ctaMethod:v});b(v,p)}})},v=e=>{var t,r;let{ctas:a,invert:i,className:o}=e,s=null==a||null==(t=a.primary)?void 0:t.ctaGroup,u=null==a||null==(r=a.secondary)?void 0:r.ctaGroup;return b(s)||b(u)?(0,n.jsxs)("div",{className:(0,l.A)("flex flex-col items-start gap-4 lg:flex-row lg:gap-6",o),children:[b(s)&&s&&(0,n.jsx)(f,{cta:s,variant:i?"primary":"inverse"}),b(u)&&u&&(0,n.jsx)(f,{cta:u,variant:i?"secondary":"tertiary"})]}):null};var g=r(80230);let p=e=>{let{imageUrl:t,imageAlt:r,className:a}=e;return t?(0,n.jsx)("div",{className:(0,l.A)("aspect-square w-full overflow-hidden lg:h-[284px] lg:w-[284px]",a),children:(0,n.jsx)(g.A,{src:t,alt:r||"",ar:"
11:1",divider:4})}):null},h=e=>{var t,r,o;let{headline:s,image:u,imageUrl:d,imageAlt:c,showImage:f,showButtonContainer:g,primaryCta:h,secondaryCta:x,theme:k,jumpmarkLabel:y}=e,w=function(e){let t=null==e?void 0:e.trim().toLowerCase();return"invert"===t||"inverted"===t||"light"===t}(k),m=!1===f?"":(0,i.eNL)(u,null!=d?d:""),A={primary:h,secondary:x},C=!1!==g&&(b(null==(t=A.primary)?void 0:t.ctaGroup)||b(null==(r=A.secondary)?void 0:r.ctaGroup));return(0,n.jsx)(a.A,{backgroundColor:w?"bg-klub-neutral-100":"bg-klub-teal-500",withoutPadding:!0,id:y,children:(0,n.jsxs)("div",{className:(0,l.A)("mx-auto grid max-w-[1440px] gap-16 px-6 py-10 lg:px-10 lg:py-20",m&&"lg:grid-cols-[minmax(0,1fr)_284px]"),children:[s&&(0,n.jsx)("h2",{className:(0,l.A)("klub-display w-full lg:col-start-1 lg:row-start-1 lg:max-w-[1000px]",w?"text-klub-teal-500":"text-klub-mint-100",C?"lg:self-end":"lg:self-center"),dangerouslySetInnerHTML:{__html:(0,i.kDP)(s)}}),m?(0,n.jsx)(p,{imageUrl:m,imageAlt:null!=c?c:null==u||null==(o=u.node)?void 0:o.altText,className:(0,l.A)("lg:col-start-2 lg:row-start-1 lg:self-center",C&&"lg:row-span-2")}):null,C?(0,n.jsx)(v,{ctas:A,invert:w,className:"lg:col-start-1 lg:row-start-2 lg:self-start"}):null]})})}},61484:(e,t,r)=>{r.d(t,{N:()=>f,n:()=>v});var n=r(60072),l=r(60004),a=r(17698),i=r.n(a),o=r(56645),s=r(94122),u=r(12312),d=r(17468),c=r(23026),b=r(10983);let f=e=>{let{to:t,className:r="",children:a,locale:o,openInSameTab:s,forceAnchor:d,role:c,"aria-label":b,"aria-disabled":f,onClick:v}=e,[g,p]=(0,l.useState)(!1),h=(()=>{let e=(0,u.gCO)(t)||t,r=(0,u.AsB)()&&(0,u.Ttp)(e)||e;return(0,u._Ep)(r)||r})(),x=(0,u.AsB)()&&((0,u.ZF9)(h)||(0,u.Hpi)(h));if((0,l.useEffect)(()=>{(0,u.i9S)(h)&&p(!0)},[h]),!h)return null;let[,k]=h.match(/(?:^|\/)([a-z]{2}(?:-[a-z]{2})?)(?=\/|$)/)||[],y=!!f||void 0;return g||d||x?(0,n.jsx)("a",{href:h,className:r,target:s||x?"":"_blank",rel:s||x?void 0:"noopener noreferrer",role:c||"link","aria-label":b,"aria-disabled":y,onClick:v,children:a}):(0,n.jsx)(i(),{href:h,locale:!k&&o,prefetch:!1,className:r,"aria-label":b,"aria-disabled":y,onClick:v,children:a})},v=e=>{let{to:t="/",text:r="",className:a="",disabled:i,variant:v,noOutline:g,openInSameTab:p,forceAnchor:h,onClick:x}=e,{isMF:k}=(0,l.useContext)(s._0),y=(0,u.G9c)(),{locale:w}=(0,b.useRouter)(),m=(0,c.z)({disabled:i,noOutline:g}),A=(0,d.l)({variant:v,noOutline:g}),C=(0,o.A)(y?"aria-disabled:pointer-events-none":"pointer-events-none",!y&&(k?"opacity-20":"opacity-50"));if(!t)return null;let[,j]=t.match(/(?:^|\/)([a-z]{2}(?:-[a-z]{2})?)(?=\/|$)/)||[],E=(0,o.A)("cta-link variant-".concat(v),m,A,"inline-flex items-center justify-center w-full",a,i&&C);return(0,n.jsx)(f,{to:t,locale:!j&&w,className:E,openInSameTab:p,forceAnchor:h,onClick:function(e){if(y&&i)return void e.preventDefault();null==x||x(e)},"aria-disabled":!!y&&!!i||void 0,children:r})}},80230:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(60072),l=r(60004),a=r(84477),i=r(12312),o=r(22426),s=r(94122);let u=e=>{let{src:t="",alt:r,divider:u,addClasses:d="",isContain:c,reveal:b=!0,delayRevealFactor:f=1,onLoad:v,ar:g,isPortrait:p=!1,deviceDpr:h,enhanceCloudinary:x,minWidth:k,quality:y,eager:w=!1}=e,{initStageAnimation2:m,isMF:A,isMobile:C}=l.useContext(s._0),[j,E]=l.useState(w),[_,N]=l.useState(!1),[S,I]=l.useState(!1),[R,T]=l.useState(!t),{ref:M,inView:z}=(0,a.Wx)({threshold:0,skip:w}),{ref:V}=(0,a.Wx)({threshold:A||C?0:.4}),{src:G,onError:L,isFallback:W}=(0,i.jKV)(R?"":t,!!p),$=(0,i.Ciy)({url:G,divider:u,aspectRatio:g,deviceDpr:h,enhance:x,minWidth:k,quality:y})||(W&&G?G:"");function O(){j&&!R&&($||!G||W)&&(T(!0),L(),I(!1))}return l.useEffect(()=>{T(!t),I(!1)},[t]),l.useEffect(()=>{S&&(m||W)&&N(!0)},[m,S,W]),l.useEffect(()=>{(w||z)&&E(!0)},[w,z]),(0,n.jsx)("div",{ref:M,className:"h-full",children:(0,n.jsx)("div",{ref:V,className:"h-full",children:(0,n.jsx)(o.b,{inView:_,delayRevealFactor:f,disabled:!b,children:(0,n.jsx)("div",{className:"w-full h-full",children:(0,n.jsx)("picture",{className:"w-full h-full",children:j&&$?(0,n.jsx)("img",{className:"\n ".concat(c?"object-contain":"object-cover"," \n h-full\n w-full\n ").concat(d,"\n "),src:$,alt:r,onLoad:function(e){if(!e.currentTarget.naturalWi
1dth)return void O();I(!0),v&&v()},onError:O},G||"empty"):null})})})})})}},84477:(e,t,r)=>{r.d(t,{Wx:()=>v});var n,l,a=r(60004),i=Object.defineProperty,o=new Map,s=new WeakMap,u=0;a.Component;var d=Reflect.get(n||(n=r.t(a,2)),"useInsertionEffect"),c=null!=d?d:a.useEffect,b=function(e){return(null==e?void 0:e.startsWith("19."))||!1}(a.version),f="undefined"==typeof window?a.useEffect:a.useLayoutEffect;function v({threshold:e,delay:t,trackVisibility:r,rootMargin:n,scrollMargin:i,root:g,triggerOnce:p,skip:h,initialInView:x,fallbackInView:k,onChange:y}={}){let w=a.useRef(x),[m,A]=a.useState({inView:!!x,entry:void 0}),C=function(e,{threshold:t,root:r,rootMargin:n,scrollMargin:i,trackVisibility:f,delay:v,fallbackInView:g,skip:p,triggerOnce:h}){let x=a.useRef(e),k=a.useRef({node:null,stop:void 0,owner:null});return d||(x.current=e),c(()=>{x.current=e},[e]),a.useCallback(function e(a){let d,c,y=k.current;if(!a&&y.owner!==e)return;if(a===y.node)return y.owner=e,b?y.stop:void 0;let w=y.stop;if(y.stop=void 0,null==w||w(),!a||p){y.node=null,y.owner=a?e:null;return}function m(){null==d||d(),y.stop===m&&(y.node=null,y.stop=void 0)}return y.node=a,y.owner=e,y.stop=m,d=function(e,t,r={},n=l){if(void 0===window.IntersectionObserver&&void 0!==n){let l=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),()=>{}}let{id:a,observer:i,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(s.has(r)||(u+=1,s.set(r,u.toString())),s.get(r)):e[t]}`}).toString(),r=o.get(t);if(!r){let n,l=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var r;let a=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),[...null!=(r=l.get(t.target))?r:[]].forEach(e=>{e(a,t)})})},e);n=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:a,elements:l},o.set(t,r)}return r}(r),c=d.get(e)||[];d.has(e)||d.set(e,c),c.push(t),i.observe(e);let b=!1;return function(){b||(b=!0,c.splice(c.indexOf(t),1),0===c.length&&(d.delete(e),i.unobserve(e)),0===d.size&&(i.disconnect(),o.delete(a)))}}(a,(e,t)=>{x.current(e,t,c),c=e,h&&e&&m()},{threshold:t,root:r,rootMargin:n,scrollMargin:i,trackVisibility:f,delay:v},g),y.stop!==m&&d(),b?y.stop:void 0},[Array.isArray(t)?t.toString():t,r,n,i,f,v,g,p,h])}((e,t)=>{let r=w.current;w.current=e,(void 0!==r||e)&&(A({inView:e,entry:t}),null==y||y(e,t))},{threshold:e,root:g,rootMargin:n,scrollMargin:i,trackVisibility:r,delay:t,fallbackInView:k,skip:h,triggerOnce:p}),j=a.useRef({node:null,reset:!1}),E=a.useCallback(function(e){e?(j.current.node=e,j.current.reset=!1):j.current.node&&(j.current.node=null,j.current.reset=!0);let t=C(e);if(t)return()=>{t(),j.current.node===e&&(j.current.node=null,j.current.reset=!0)}},[C]);f(()=>{j.current.reset&&(j.current.reset=!1,p||h||(A({inView:!!x,entry:void 0}),w.current=x))});let _=[E,m.inView,m.entry];return _.ref=_[0],_.inView=_[1],_.entry=_[2],_}},87700:(e,t,r)=>{r.d(t,{$:()=>d});var n=r(60072),l=r(60004),a=r(56645),i=r(94122),o=r(12312),s=r(17468),u=r(23026);let d=e=>{let{id:t,value:r,onClick:d,addClasses:c="",primary:b,secondary:f,tertiary:v,variant:g,jrCheckout:p,noOutline:h,method:x,icon:k=null,disabled:y,...w}=e,{isMF:m}=(0,l.useContext)(i._0),A=(0,o.G9c)(),C=!!y,j=(0,s.l)({variant:g,primary:b,secondary:f,tertiary:v,noOutline:h}),E=(0,u.z)({disabled:C,noOutline:h,jrCheckout:p}),_=(0,a.A)("box-border");return(0,n.jsxs)("button",{id:t,"data-variant":g,className:(0,a.A)("cta-button variant-".concat(g),k&&"flex items-center gap-x-1",E,_,j,c),value:r,onClick:function(e){if(A&&C)return void e.preventDefault();null==d||d(e)},...x&&{"data-testid":"".concat(x[0],"-cta-button")},...w,...A&&C?{"aria-disabled":!0}:C?{disabled:!0}:{},children:[k||null,r]})}}}]);
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.