1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17586,e=>{e.v({className:"montserrat_85dd8ba5-module__zefjrG__className",variable:"montserrat_85dd8ba5-module__zefjrG__variable"})},12289,e=>{e.v({className:"gasoek_one_be353cf6-module__NYGzOa__className",variable:"gasoek_one_be353cf6-module__NYGzOa__variable"})},34033,85764,e=>{"use strict";var t=e.i(17586);let a={className:t.default.className,style:{fontFamily:"'Montserrat', 'Montserrat Fallback'",fontWeight:900,fontStyle:"italic"}};null!=t.default.variable&&(a.variable=t.default.variable),e.s(["default",0,a],34033);var r=e.i(12289);let n={className:r.default.className,style:{fontFamily:"'Gasoek One', 'Gasoek One Fallback'",fontWeight:400,fontStyle:"normal"}};null!=r.default.variable&&(n.variable=r.default.variable),e.s(["default",0,n],85764)},47973,e=>{"use strict";var t=e.i(71645);let a=!1,r=null,n=new Set,s=null,i=()=>{let e=document.documentElement;e.classList.toggle("v2-calm",a),s&&clearTimeout(s),a?e.classList.remove("v2-wake"):(e.classList.add("v2-wake"),s=setTimeout(()=>e.classList.remove("v2-wake"),700)),n.forEach(e=>e())};e.s(["calmFor",0,function(e){r&&clearTimeout(r),r=setTimeout(()=>{a=!1,i()},e),a||(a=!0,i())},"isCalm",0,function(){return a},"useCalmVideo",0,function(e){let a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let t=a.current;t&&(e?t.play().catch(()=>{}):t.pause())},[e]),a},"useV2Calm",0,function(){return(0,t.useSyncExternalStore)(e=>(n.add(e),()=>n.delete(e)),()=>a,()=>!1)}])},65468,35382,95420,91994,72328,53164,e=>{"use strict";var t=e.i(83411),a=e.i(87022),r=e.i(74008),n=e.i(86427),s=e.i(71645),i=e.i(37806),l=e.i(47414);function o(e){let t=(0,l.useConstant)(()=>(0,n.motionValue)(e)),{isStatic:a}=(0,s.useContext)(i.MotionConfigContext);
1if(a){let[,a]=(0,s.useState)(e);(0,s.useEffect)(()=>t.on("change",a),[])}return t}function c(e,t){let n=o(t()),s=()=>n.set(t());return s(),(0,r.useIsomorphicLayoutEffect)(()=>{let t=()=>a.frame.preRender(s,!1,!0),r=e.map(e=>e.on("change",t));return()=>{r.forEach(e=>e()),(0,a.cancelFrame)(s)}}),n}e.s(["useMotionValue",0,o],35382),e.s(["useMotionTemplate",0,function(e,...a){let r=e.length;return c(a.filter(t.isMotionValue),function(){let n="";for(let s=0;s<r;s++){n+=e[s];let r=a[s];r&&(n+=(0,t.isMotionValue)(r)?r.get():r)}return n})}],65468);var u=e.i(83352);function d(e){return"number"==typeof e?e:parseFloat(e)}var m=e.i(44230);function p(e,t,a,r){if("function"==typeof e){let t;return n.collectMotionValues.current=[],e(),t=c(n.collectMotionValues.current,e),n.collectMotionValues.current=void 0,t}if(void 0!==a&&!Array.isArray(a)&&"function"!=typeof t){var s=e,i=t,o=a,u=r;let n=(0,l.useConstant)(()=>Object.keys(o)),c=(0,l.useConstant)(()=>({}));for(let e of n)c[e]=p(s,i,o[e],u);return c}let d="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),a=t?0:-1,r=e[0+a],n=e[1+a],s=e[2+a],i=e[3+a],l=(0,m.interpolate)(n,s,i);return t?l(r):l}(t,a,r),f=Array.isArray(e)?h(e,d):h([e],([e])=>d(e)),g=Array.isArray(e)?void 0:e.accelerate;return g&&!g.isTransformed&&"function"!=typeof t&&Array.isArray(a)&&r?.clamp!==!1&&(f.accelerate={...g,times:t,keyframes:a,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),f}function h(e,t){let a=(0,l.useConstant)(()=>[]);return c(e,()=>{a.length=0;let r=e.length;for(let t=0;t<r;t++)a[t]=e[t].get();return t(a)})}e.s(["useTransform",0,p],95420),e.s(["useSpring",0,function(e,r={}){return function(e,r={}){let{isStatic:n}=(0,s.useContext)(i.MotionConfigContext),l=()=>(0,t.isMotionValue)(e)?e.get():e;if(n)return p(l);let c=o(l());return(0,s.useInsertionEffect)(()=>(function(e,r,n={}){let s,i=e.get(),l=null,o=i,c="string"==typeof i?i.replace(/[\d.-]/g,""):void 0,m=()=>{l&&(l.stop(),l=null),e.animation=void 0},p=()=>{(()=>{let t=d(e.get()),a=d(o);if(t===a)return m();let r=l?l.getGeneratorVelocity():e.getVelocity();m(),l=new u.JSAnimation({keyframes:[t,a],velocity:r,type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:s})})(),e.animation=l??void 0,e.events.animationStart?.notify(),l?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{o=e,s=e=>{var a,r;return t((a=e,(r=c)?a+r:a))},a.frame.postRender(p)},m),(0,t.isMotionValue)(r)){let t=!0===n.skipInitialAnimation,a=r.on("change",a=>{var r,n,s,i;t?(t=!1,e.jump((r=a,(n=c)?r+n:r),!1)):e.set((s=a,(i=c)?s+i:s))}),s=e.on("destroy",a);return()=>{a(),s()}}return m})(c,e,r),[c,JSON.stringify(r)]),c}(e,{type:"spring",...r})}],91994),e.i(47167);var f=e.i(71164),g=e.i(38544);function v(){f.hasReducedMotionListener.current||(0,g.initPrefersReducedMotion)();let[e]=(0,s.useState)(f.prefersReducedMotion.current);return e}e.s(["useReducedMotion",0,v],72328),e.s(["usePointerParallax",0,function(e=!0){let t=o(0),a=o(0),r=v();return(0,s.useEffect)(()=>{if(!e||r||!window.matchMedia("(hover: hover) and (pointer: fine)").matches)return;let n=e=>{t.set(e.clientX/window.innerWidth-.5),a.set(e.clientY/window.innerHeight-.5)};return window.addEventListener("pointermove",n,{passive:!0}),()=>window.removeEventListener("pointermove",n)},[t,a,r,e]),{px:t,py:a}}],53164)},82125,10084,11012,36312,85201,97445,13895,72381,e=>{"use strict";e.s(["RipsPage1",()=>N,"rips1DefaultsFor",()=>M],10084),e.i(47167);var t=e.i(43476),a=e.i(57688),r=e.i(71645),n=e.i(32181),s=e.i(87652),i=e.i(65468),l=e.i(35382),o=e.i(91994),c=e.i(95420),u=e.i(53164),d=e.i(47973);function m(e,t,a=0){let[n]=(0,r.useState)(()=>-a/t*Math.PI*2),s=(0,l.useMotionValue)(Math.sin(n)),i=(0,r.useRef)(n);return(0,r.useEffect)(()=>{if(!e)return;let a=0,r=performance.now(),n=e=>{if((0,d.isCalm)()){r=e,a=requestAnimationFrame(n);return}i.current+=(e-r)/(1e3*t)*Math.PI*2,r=e,s.set(Math.sin(i.current)),a=requestAnimationFrame(n)};return a=requestAnimationFrame(n),()=>cancelAnimationFrame(a)},[e,t,s]),s}let p=new Map;var h=e.i(14032),f=e.i(92935);function g(){let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=()=>t({w:window.innerWidth,h:window.innerHeight});return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),null}e.i(74080);function v({children:e,onPointerMove:t,...a}){let n=(0,r.useRef)(null),s=JSON.stringify(a);return(0,r.useEffect)(()=>{let e=n.current;if(e)for(let[t,r]of Object.entries(a))e[t]=r},[s]),r.default.createElement("hover-tilt",{ref:n,onPointerMove:t},e)}let w=[{src:"/v2/rips1/card-charizard-mega.png",aspect:1.32,cx:38.4,cy:21.5,w:8.6,wAdjust:.89,rotate:-5.5,radius:0,maskToAlpha:!0,shiny:!0,parX:10,parY:12,amp:9,dur:5.4,delay:0,mCx:70.5,mCy:30.7,mDy:100,mW:24},{src:"/v2/rips1/pack-amethyst-tilt.png",aspect:1.26,cx:64.6,cy:20.8,w:8.6,wAdjust:1.19,rotate:0,radius:0,maskToAlpha:!0,pack:!0,parX:-12,parY:9,amp:11,dur:6.2,delay:.5,mCx:18.3,mCy:21.8,mDy:100,mW:22},{src:"/v2/rips1/card-luffy.png",aspect:1.13,cx:23.8,cy:43.5,w:8.6,wAdjust:1.19,rotate:0,radius:0,maskToAlpha:!0,above:!0,pinned:!0,anchor:!0,anchorDx:-95,anchorDy:-6,parX:-14,parY:8,amp:8,dur:5.8,delay:.9,mCx:84.6,mCy:9.6,mW:22},{src:"/v2/rips1/card-jordan-ud.png",aspect:1.21,cx:82.7,cy:65.2,w:8.6,wAdjust:1.07,rotate:0,radius:0,maskToAlpha:!0,parX:14,parY:-10,amp:10,dur:6.8,delay:.3,mCx:25.3,mCy:42.7,mDy:100,mW:24},{src:"/v2/rips1/pack-diamond.png",aspect:1.54,cx:32.8,cy:68.3,w:8.6,wAdjust:.91,rotate:5.5,radius:0,maskToAlpha:!0,pack:!0,parX:-10,parY:-14,amp:9,dur:5.1,delay:1.2,mCx:24.9,mCy:81.6,mW:20},{src:"/v2/rips1/card-pikachu.png",aspect:1.21,cx:79.3,cy:36,w:8.6,wAdjust:1.06,rotate:0,radius:0,maskToAlpha:!0,shiny:!0,parX:16,parY:11,amp:12,dur:7,delay:.7,mCx:51.6,mCy:55.4,mDy:100,mW:24},{src:"/v2/rips1/pack-signature.png",aspect:1.33,cx:67.6,cy:66.6,w:8.6,wAdjust:1.13,rotate:0,radius:0,maskToAlpha:!0,pack:!0,parX:6,parY:-16,amp:10,dur:6.4,delay:1.5,mCx:82.7,mCy:70.6,mW:20}],x={stiffness:30,damping:24,mass:1.1}
1,y={repelRange:.24,repelPx:46,cardTilt:-.6,packTilt:-.75,cardScaleFactor:1.03,packScaleFactor:1.04,cardGlare:.9,packGlare:1.3,wanderSpeed:.008,wanderAmpX:.34,wanderAmpY:.24,holoDriftSpeed:.011,sheenBase:.35,sheenPulse:.15,sheenHover:.35,stripeBase:.75,stripeSlope:.35,stripeMin:.35,stripeMax:.95,stripeTravel:22,shadeOffset:20,floatAmp:.18,floatRot:.35,scaleAll:.91,scaleAllMobile:1.3},b={cards:w,globals:y},k=[{min:0,max:1440,cards:[{cx:40.4,cy:21.7},{cx:59.6,cy:22.3},{},{cx:74.6,cy:62.8},{cx:33.9,cy:64.8},{cx:73.3,cy:32.4},{cx:56.1,cy:61.6}],globals:{scaleAll:.99}}],j=new Map;function M(e){let t=k.find(t=>e>=t.min&&e<t.max)??k.find(e=>e.max===1/0);if(!t)return b;let a=j.get(t.min);return a||(a={globals:{...y,...t.globals},cards:w.map((e,a)=>({...e,...t.cards[a]}))},j.set(t.min,a)),a}let A="(max-width: 767px) 30vw, 320px",R=(e,t)=>(0,a.getImageProps)({src:e,width:t,height:t,alt:""}).props.src;function S({card:e,index:s,ready:u,floating:h,pointer:f,g,lite:w,dragEnabled:y,onDragCard:b}){var k;let j,M=(0,r.useRef)(null),N=(0,r.useRef)(g),T=(0,r.useRef)(e);(0,r.useEffect)(()=>{N.current=g,T.current=e},[g,e]);let[$,P]=(0,r.useState)(!1),[C,E]=(0,r.useState)(!1),_=()=>E(!0),F=e=>{e?.complete&&E(!0)},[V,L]=(0,r.useState)(!1),z=(0,r.useRef)(!1),I=(0,r.useRef)(null),q=(0,r.useRef)(1.7*s),D=(0,r.useRef)(2.1*s),W=(0,l.useMotionValue)(0),Y=(0,l.useMotionValue)(0);(0,r.useEffect)(()=>{if(w)return;let e=I.current?.querySelector("hover-tilt"),t=e?.shadowRoot?.querySelector(".hover-tilt");if(!h||V||!u||!e||!t)return;let a=0,r=(e,a,r)=>t.dispatchEvent(new PointerEvent(e,{clientX:a,clientY:r,bubbles:!0})),n=e.getBoundingClientRect();r("pointerenter",n.left+n.width/2,n.top+n.height/2);let i=!1,l=()=>{if(a=requestAnimationFrame(l),(i=!i)||(0,d.isCalm)())return;let t=e.getBoundingClientRect();q.current+=2*N.current.wanderSpeed;let n=q.current,{wanderAmpX:o,wanderAmpY:c}=N.current,u=.5+o*Math.sin(1.13*n+s)+.41*o*Math.sin(.41*n+3*s),m=.5+c*Math.cos(.87*n+2*s)+.42*c*Math.cos(.31*n+s);r("pointermove",t.left+t.width*u,t.top+t.height*m),Y.set((u-.5)*200),W.set(-(200*(m-.5)))};return a=requestAnimationFrame(l),()=>{if(cancelAnimationFrame(a),z.current)return;let t=e.getBoundingClientRect();r("pointerleave",t.left+t.width/2,t.top+t.height/2)}},[h,V,u,s,w]);let O=(0,l.useMotionValue)(0),X=(0,o.useSpring)(O,{stiffness:220,damping:26}),B=(0,o.useSpring)(O,{stiffness:40,damping:16}),G=(e,t,a)=>{let r=T.current;if(r.pinned)return{x:0,y:0};let n=r.cx/100-(e+.5),s=r.cy/100-(t+.5),i=Math.hypot(n,s)||.001,l=Math.max(0,1-i/N.current.repelRange),o=l*l*N.current.repelPx*(1-a);return{x:e*r.parX+n/i*o,y:t*r.parY+s/i*o}},H=(0,c.useTransform)([f.px,f.py,B],([e,t,a])=>G(e,t,a).x),U=(0,c.useTransform)([f.px,f.py,B],([e,t,a])=>G(e,t,a).y),J=(0,o.useSpring)(H,x),K=(0,o.useSpring)(U,x),Q=(0,c.useTransform)(J,e=>.12*e),Z=(0,l.useMotionValue)(50),ee=(0,l.useMotionValue)(50),et=(0,l.useMotionValue)(50),ea=(0,l.useMotionValue)(50),er=(0,o.useSpring)(et,{stiffness:60,damping:22}),en=(0,o.useSpring)(ea,{stiffness:60,damping:22}),es=i.useMotionTemplate`${er}% ${en}%`;(0,r.useEffect)(()=>{if(!e.holo||!h||V||w)return;let t=0,a=()=>{if((0,d.isCalm)()){t=requestAnimationFrame(a);return}D.current+=N.current.holoDriftSpeed;let e=D.current;et.set(50+45*Math.sin(e)),ea.set(50+45*Math.cos(.7*e)),t=requestAnimationFrame(a)};return t=requestAnimationFrame(a),()=>cancelAnimationFrame(t)},[e.holo,h,V,s,et,ea,w]);let ei=t=>{if((0,d.isCalm)())return;let a=t.currentTarget.getBoundingClientRect(),r=(t.clientX-a.left)/a.width-.5,n=(t.clientY-a.top)/a.height-.5;Z.set((r+.5)*100),ee.set((n+.5)*100),Y.set(200*r),W.set(-(200*n)),e.holo&&(et.set(100-(r+.5)*100),ea.set(100-(n+.5)*100))},el=m(h,e.dur,e.delay),eo=m(h,1.37*e.dur,e.delay+.9),ec=(0,c.useTransform)([Z,el,X],([e,t,a])=>
1e*a+(50+40*t)*(1-a)),eu=(0,c.useTransform)([ee,eo,X],([e,t,a])=>e*a+(50+40*t)*(1-a));i.useMotionTemplate`${ec}%`,i.useMotionTemplate`${eu}%`;let ed=(0,c.useTransform)(ec,[0,100],[63,37]),em=(0,c.useTransform)(eu,[0,100],[63,37]),ep=i.useMotionTemplate`${ed}% ${em}%`,eh=(0,c.useTransform)([X,el],([e,t])=>N.current.sheenBase+N.current.sheenPulse*t+e*N.current.sheenHover),ef=(0,c.useTransform)([el,X],([e,t])=>e*T.current.amp*N.current.floatAmp*(1-t)),eg=(0,c.useTransform)([el,X],([e,t])=>T.current.rotate+e*N.current.floatRot*(1-t)),ev=R(e.src.replace("/rips1/","/rips1/foil/").replace(/\.(png|jpg)$/,".png"),640),ew=R(e.src.replace("/rips1/","/rips1/spec/"),640),ex=R(e.src,640),ey=(0,a.getImageProps)({src:e.src,width:192,height:269,alt:""}).props.src,eb={stiffness:120,damping:24},ek=(0,o.useSpring)((0,c.useTransform)([Y,X],([e,t])=>-(e/100*14)*(.6+.4*t)),eb),ej=(0,o.useSpring)((0,c.useTransform)([W,X],([e,t])=>14+10*t+e/100*4),eb),eM=i.useMotionTemplate`translate(calc(${ek}px * 0.5), calc(${ej}px * 0.5)) scale(0.99)`,eA=i.useMotionTemplate`translate(${ek}px, ${ej}px) scale(0.99)`,eR=(0,c.useTransform)(X,[0,1],[1,.65]),eS=(0,c.useTransform)(X,[0,1],[.72,.5]),eN={stiffness:50,damping:19,mass:.9},eT=(0,o.useSpring)((0,c.useTransform)(Y,e=>50+e/100*N.current.stripeTravel),eN),e$=i.useMotionTemplate`${eT}% 50%`,eP=(0,c.useTransform)(eT,e=>e+N.current.shadeOffset),eC=i.useMotionTemplate`${eP}% 50%`,eE=(0,o.useSpring)((0,c.useTransform)(W,e=>Math.min(N.current.stripeMax,Math.max(N.current.stripeMin,N.current.stripeBase-e/100*N.current.stripeSlope))),eN),e_=(k=w?null:R(e.src,256),j=(0,r.useRef)(null),(0,r.useEffect)(()=>{let e;if(!k)return;let t=!0;return(!(e=p.get(k))&&(e=new Promise(e=>{let t=new Image;t.onload=()=>{let a=Math.max(1,Math.round(t.naturalHeight/t.naturalWidth*96)),r=document.createElement("canvas");r.width=96,r.height=a;let n=r.getContext("2d",{willReadFrequently:!0});if(!n)return e(null);n.drawImage(t,0,0,96,a),e(n.getImageData(0,0,96,a))},t.onerror=()=>e(null),t.src=k}),p.set(k,e)),e).then(e=>{t&&(j.current=e)}),()=>{t=!1}},[k]),(0,r.useCallback)((e,t)=>{let a=j.current;if(!a)return!0;let r=Math.min(a.width-1,Math.max(0,Math.round(e*a.width))),n=Math.min(a.height-1,Math.max(0,Math.round(t*a.height)));return a.data[(n*a.width+r)*4+3]>32},[])),[eF,eV]=(0,r.useState)(!1),eL=(0,r.useRef)(!1),ez=e=>{e!==eL.current&&(eL.current=e,eV(e),z.current=e,O.set(+!!e),L(e),e||P(!1))},eI=e=>{if((0,d.isCalm)())return;let t=e.currentTarget.getBoundingClientRect();ez(e_((e.clientX-t.left)/t.width,(e.clientY-t.top)/t.height))};return(0,t.jsx)("div",{onPointerEnter:eI,onPointerMove:e=>{y&&M.current?b?.(s,"move",e.clientX-M.current.x,e.clientY-M.current.y):eI(e)},onPointerLeave:()=>{M.current||ez(!1)},onPointerDown:e=>{y&&(M.current={x:e.clientX,y:e.clientY},e.currentTarget.setPointerCapture(e.pointerId),b?.(s,"start",0,0)),eL.current&&P(!0)},onPointerUp:()=>{M.current=null,P(!1)},onDragStart:y?e=>e.preventDefault():void 0,className:`${u?e.anchor||e.pinned?"v2-card-size":"v2-card-pos":""} ${y?"swiper-no-swiping":""} absolute -translate-x-1/2 -translate-y-1/2 left-[var(--m-cx)] top-[var(--m-cy)] w-[var(--m-w)] dt:left-[var(--cx)] dt:top-[var(--cy)] dt:w-[var(--w)] ${e.hideOnMobile?"hidden dt:block":""} ${e.above?"z-10":""}`,style:{"--cx":e.anchor?`calc(var(--anchor-x, 50%) + var(--anchor-dx, ${e.anchorDx??0}) * 1px)`:e.pinned?`${e.cx}%`:`calc(50% + ${(e.cx-50).toFixed(1)} * var(--u))`,"--cy":e.anchor?`calc(var(--anchor-y, 50%) + var(--anchor-dy, ${e.anchorDy??0}) * 1px)`:`calc(${e.cy} * var(--uy))`,"--w":`calc(${e.wAdjust?Math.round(240*e.wAdjust):240} * var(--sc) * var(--card-scale, 1) * ${g.scaleAll})`,"--m-cx":`${e.mCx??e.cx}%`,"--m-cy":`min(calc(${e.mCy??e.cy}% + ${e.mDy??0}px), calc(100% - var(--v2-next-clear, 0px) - var(--m-w) * ${e.aspect??1.35} / 2))`,"--m-w":`calc(${Math.round((e.mW??e.w)*3.9)} * var(--scm, 1px) * var(--card-scale, 1) * ${g.scaleAllMobile})`,cursor:y?"grab":void 0},children:(0,t.jsx)("div",{className:`v2-card-enter${u?" is-ready":""}`,style:{pointerEvents:eF?void 0:"none"},children:(0,t.jsx)(n.motion.div,{style:{x:J,y:K,rotate:Q},children:(0,t.jsx)(n.motion.div,{style:{y:ef,rotate:eg},children:e.maskToAlpha&&w?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(n.motion.div,{className:`v2-die-shadow${C?" is-loaded":""}`,style:{transform:eA,opacity:eS,backgroundImage:`url(${ey})`}}),(0,t.jsx)(a.default,{src:e.src,alt:"",width:700,height:980,sizes:A,priority:!0,ref:F,onLoad:_,className:"relative h-auto w-full"})]}):e.maskToAlpha?(0,t.jsxs)("div",{ref:I,className:"relative",children:[(0,t.jsx)(n.motion.div,{className:`v2-die-shadow${C?" is-loaded":""}`,style:{transform:eA,opacity:eS,backgroundImage:`url(${ey})`}}),(0,t.jsx)(v,{tiltFactor:e.pack?g.packTilt:g.cardTilt,tiltFactorY:e.pack?g.packTilt:g.cardTilt,scaleFactor:e.pack?g.packScaleFactor:g.cardScaleFactor,glareIntensity:e.pack?g.packGlare:g.cardGlare,glareHue:0,blendMode:e.pack?"screen":"overlay",exitDelay:150,glareMask:`url(${e.pack||e.shiny?ew:ex})`,glareMaskMode:"alpha",onPointerMove:ei,children:(0,t.jsxs)("div",{className:"relative overflow-hidden",style:{WebkitMaskImage:`url(${ex})`,WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:`url(${ex})`,maskSize:"100% 100%",maskRepeat:"no-repeat"},children:[(0,t.jsx)(a.default,{src:e.src,alt:"",width:700,height:980,sizes:A,priority:!0,ref:F,onLoad:_,className:"h-auto w-full"}),e.shiny&&(0,t.jsx)(n.motion.div,{className:"v2-card-sheen",style:{backgroundPosition:ep,opacity:eh,WebkitMaskImage:`url(${ew})`,WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:`url(${ew})`,maskSize:"100% 100%",maskRepeat:"no-repeat"}}),e.pack&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.motion.div,{className:"v2-spec-shine",style:{backgroundPosition:e$,opacity:eE,WebkitMaskImage:`url(${ew})`,WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:`url(${ew})`,maskSize:"100% 100%",maskRepeat:"no-repeat"}}),(0,t.jsx)(n.motion.div,{className:"v2-pack-shade",style:{backgroundPosition:eC}})]})]})})]}):(0,t.jsxs)("div",{ref:e.maskToAlpha?void 0:I,className:"relative",children:[(0,t.jsx)(n.motion.div,{className:"v2-shadow-ambient",style:{transform:eA}}),(0,t.jsx)(n.motion.div,{className:"v2-shadow-contact",style:{transform:eM,opacity:eR}}),(0,t.jsx)(v,{tiltFactor:-.3,tiltFactorY:-.3,scaleFactor:1,glareIntensity:e.holo?.6:1.1,glareHue:0,blendMode:"soft-light",exitDelay:150,onPointerMove:ei,children:(0,t.jsxs)("div",{className:"relative",style:{borderRadius:e.radius,overflow:"hidden"},children:[(0,t.jsx)(a.default,{src:e.src,alt:"",width:700,height:980,className:"h-auto w-full"}),e.holo&&(0,t.jsx)(n.motion.div,{className:"v2-holo",style:{backgroundPosition:es,WebkitMaskImage:`url(${ev})`,WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:`url(${ev})`,maskSize:"100% 100%",maskRepeat:"no-repeat"}}),e.holo&&(0,t.jsx)(n.motion.div,{className:"v2-card-sheen",style:{backgroundPosition:ep,opacity:eh}})]})})]})})})})})}function N(){let a=(0,r.useRef)(null),n=(0,s.useInView)(a);(0,r.useEffect)(()=>{e.A(98534)},[]);let i=function(){let[e,t]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let e=window.matchMedia("(pointer: coarse)"),a=()=>t(e.matches);return a(),e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[]),e}(),l=(0,u.usePointerParallax)(n&&!i),[o,c]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=requestAnimationFrame(()=>requestAnimationFrame(()=>c(!0)));return()=>cancelAnimationFrame(e)},[]);let[d,m]=(0,r.useState)(()=>M(0)),[p,v]=(0,r.useState)(!1);(0,r.useEffect)(()=>{v(window.location.search.includes("plain"))},[]),(0,r.useEffect)(()=>{let e=a.current,t=e?.querySelector("[data-v2-anchor]");if(!e||!t)return;let r=()=>{let a=e.getBoundingClientRect(),r=t.getBoundingClientRect();e.style.setProperty("--anchor-x",`${r.left-a.left}px`),e.style.setProperty("--anchor-y",`${r.top-a.top+r.height/2}px`)};r();let n=new ResizeObserver(r);return n.observe(e),n.observe(t),()=>n.disconnect()},[]);let[w,x]=(0,r.useState)(!1);return(0,r.useEffect)(()=>
1{if(w)return;let e=()=>m(M(window.innerWidth));return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[w]),(0,r.useRef)(null),(0,t.jsxs)("section",{ref:a,className:"v2-scatter v2-bg-orange relative h-full w-full overflow-hidden",children:[d.cards.map((e,a)=>(0,t.jsx)(S,{card:e,index:a,ready:o,floating:n,pointer:l,g:d.globals,lite:i,dragEnabled:!1,onDragCard:void 0},`${e.src}-${a}`)),(0,t.jsx)(g,{}),!1,(0,t.jsx)(f.V2HeroStack,{id:"rips1",line1:"COLLECT",line1Size:160,line1SizeM:82,line2:"WHAT YOU LOVE",line2Size:118,line2SizeM:56,tagline:"Unleash your inner collector.",qrValue:h.RIPS_APP_URL,androidHref:h.RIPS_PLAY_URL,qrLabel:"Download Rips"})]})}let T="v2-font-sf v2-section-title";function $({id:e,asset:a,assetBounds:r,contentAspect:n=1,title:s,subtitle:i,qrValue:l,qrLabel:o,light:c=!1}){let u=c?"text-white":"text-black",d=r?r.boxAspect*(r.width/r.height):n;return(0,t.jsxs)(t.Fragment,{children:[!1,(0,t.jsx)("h1",{className:`${T} mt-[calc(96*var(--sm))] px-[calc(32*var(--sm))] text-center ${u} dt:hidden`,children:s}),(0,t.jsx)("p",{className:`v2-font-sf v2-section-sub px-[calc(32*var(--sm))] text-center ${u} dt:hidden`,children:i}),(0,t.jsx)("div",{"data-aw":e,className:"relative mx-auto mt-[calc(32*var(--sm))] mb-[calc(76*var(--sm))] w-[86%] dt:mb-0 dt:absolute dt:left-[calc(50%-56px)] dt:top-[calc(50%+42.5px)] dt:mt-0 v2-asset-wrap dt:-translate-x-full dt:-translate-y-1/2 dt:w-[100vw]",style:{"--ca":d,...r?{aspectRatio:`${d}`}:{}},children:r?(0,t.jsx)("div",{className:"absolute",style:{left:`${-r.left/r.width*100}%`,top:`${-r.top/r.height*100}%`,width:`${100/r.width*100}%`},children:a}):a}),(0,t.jsxs)("div",{className:`hidden ${u} dt:absolute dt:left-[calc(50%+56px)] dt:top-[calc(50%+42.5px)] dt:block dt:w-[calc(693*var(--sx))] dt:-translate-y-1/2 dt:text-left`,children:[(0,t.jsx)("h1",{className:`hidden dt:block ${T}`,children:s}),(0,t.jsx)("p",{className:"v2-font-sf v2-section-sub leading-none",children:i}),(0,t.jsx)("div",{className:"hidden dt:mt-[calc(var(--v2-gap-title-sub)+20*var(--st))] dt:block dt:w-[calc(108*var(--st))]",children:(0,t.jsx)(h.V2QrCode,{value:l,dark:c,label:o})})]})]})}let P={stiffness:70,damping:20,mass:.8},C=[{src:"/v2/rips2/front-box-2.png",left:13.73,top:57.38,w:85.92,width:3939,height:1879,depth:0,enter:0},{src:"/v2/rips2/back-box.png",left:27.65,top:0,w:38.78,width:1766,height:2655,depth:0,enter:.4},{src:"/v2/rips2/slab-box.png",left:7.91,top:.68,w:87.49,width:3986,height:4298,depth:5,enter:.2}];function E({layer:e,pointer:r,ready:s,warm:i,children:l}){let u=(0,o.useSpring)((0,c.useTransform)(r.px,t=>t*e.depth),P),d=(0,c.useTransform)(u,e=>.3*e);return(0,t.jsx)(n.motion.div,{className:"absolute",style:{left:`${e.left}%`,top:`${e.top}%`,width:`${e.w}%`,x:0===e.depth?void 0:u,y:0===e.depth?void 0:d},children:(0,t.jsxs)("div",{className:`v2-rise-in${s?" is-ready":""}`,style:{"--enter":`${e.enter}s`},children:[(0,t.jsx)(a.default,{src:e.src,alt:"",width:e.width,height:e.height,sizes:"(min-aspect-ratio: 3/4) 800px, 78vw",loading:i?"eager":"lazy",className:"h-auto w-full"}),l]})})}let _={left:28.2,top:2.4,width:57.9,height:81.5,boxAspect:910.57/878.35};e.s(["RipsPage2",0,function(){let e=(0,r.useRef)(null),n=(0,s.useInView)(e),i=(0,d.useV2Calm)(),l=(0,u.usePointerParallax)(n&&!i),o=(0,s.useInView)(e,{once:!0,amount:.4}),[c,m]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!o||c)return;let e=requestAnimationFrame(()=>requestAnimationFrame(()=>m(!0)));return()=>cancelAnimationFrame(e)},[o,c]);let[p,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>f(!0);return"complete"===document.readyState?void e():(window.addEventListener("load",e,{once:!0}),()=>window.removeEventListener("load",e))},[]),(0,t.jsx)("section",{ref:e,className:"relative flex h-full w-full flex-col overflow-hidden bg-black dt:block",children:(0,t.jsx)($,{id:"rips2",assetBounds:_,asset:(0,t.jsx)("div",{className:"relative w-full",style:{aspectRatio:"910.57 / 878.35"},children:C.map(e=>"/v2/rips2/slab-box.png"===e.src?(0,t.jsx)(E,{layer:e,pointer:l,ready:c,warm:p,children:(0,t.jsx)("div",{className:`absolute v2-fade-in${c?" is-ready":""}`,style:{left:"52.31%",top:"6.16%",width:"33.64%","--enter":"0.75s"},children:(0,t.jsx)(a.default,{src:"/v2/rips2/slab.png",alt:"PSA-graded card in a Triumph shipping box",width:1340,height:2340,sizes:"(min-aspect-ratio: 3/4) 280px, 27vw",loading:p?"eager":"lazy",className:"h-auto w-full"})})},e.src):(0,t.jsx)(E,{layer:e,pointer:l,ready:c,warm:p},e.src))}),title:(0,t.jsxs)(t.Fragment,{children:["From phone",(0,t.jsx)("br",{}),"to home."]}),subtitle:"Over 1 million cards shipped. Verified, insured, and authenticated.",qrValue:h.RIPS_APP_URL,qrLabel:"Download Rips",light:!0})})}],11012);let F={stiffness:70,damping:20,mass:.8};e.s(["RipsPage3",0,function(){let e=(0,r.useRef)(null),i=(0,s.useInView)(e),m=(0,d.useV2Calm)(),p=i&&!m,f=(0,u.usePointerParallax)(p),g=(0,d.useCalmVideo)(p);(0,r.useEffect)(()=>{let e=g.current;if(!e)return;let t=()=>{e.preload="auto"};return"complete"===document.readyState?void t():(window.addEventListener("load",t,{once:!0}),()=>window.removeEventListener("load",t))},[g]);let v=(0,o.useSpring)((0,c.useTransform)(f.px,e=>3*e),F),w=(0,o.useSpring)((0,c.useTransform)(f.py,e=>2*e),F),x=(0,r.useRef)(null),y=(0,o.useSpring)((0,l.useMotionValue)(0),F),b=(0,o.useSpring)((0,l.useMotionValue)(0),F);return(0,t.jsxs)("section",{ref:e,className:"relative flex h-full w-full flex-col overflow-hidden bg-white dt:block",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-[-10%] left-[3.7%] w-[64.5%] opacity-35",children:(0,t.jsx)(a.default,{src:"/v2/rips3/glow-ellipse.svg",alt:"",width:975,height:363,className:"h-auto w-full"})}),(0,t.jsx)($,{id:"rips3",contentAspect:.48,asset:(0,t.jsx)(n.motion.div,{className:"relative w-full",style:{x:v,y:w},children:(0,t.jsx)(n.motion.div,{ref:x,className:"relative",style:{rotateX:y,rotateY:b,transformPerspective:1400},whileHover:{scale:1.002},transition:{duration:.4,ease:"easeOut"},onPointerMove:e=>{let t=x.current?.getBoundingClientRect();if(!t)return;let a=(e.clientX-t.left)/t.width-.5,r=(e.clientY-t.top)/t.height-.5;b.set(1.2*a),y.set(-(1.2*r))},onPointerLeave:()=>{y.set(0),b.set(0)},children:(0,t.jsx)("div",{className:"p-[2.2%] shadow-[0_10px_24px_rgba(0,0,0,0.10),0_34px_70px_rgba(0,0,0,0.28)]",style:{borderRadius:"14% / 6.5%",background:"linear-gradient(150deg, #f7f7f9 0%, #e4e4e8 55%, #cfcfd4 100%)"},children:(0,t.jsx)("div",{className:"bg-[#0b0b0c] p-[1%]",style:{borderRadius:"12.4% / 5.8%"}
1,children:(0,t.jsx)("video",{ref:g,muted:!0,loop:!0,playsInline:!0,preload:"metadata",poster:"/v2/rips3/collection-demo-poster.jpg","aria-label":"Rips app â Featured Pulls",src:"/v2/rips3/collection-demo.mp4",className:"block h-auto w-full",style:{borderRadius:"11.6% / 5.4%"}})})})})}),title:"Start your collection today.",subtitle:"Download the app to rip your first pack.",qrValue:h.RIPS_APP_URL,qrLabel:"Download Rips"})]})}],36312),e.s([],82125);var V=e.i(72328);let L={stiffness:40,damping:22,mass:1};function z({side:e,ready:r,energy:s}){let i="left"===e,l=(0,o.useSpring)((0,c.useTransform)(s,e=>e*(i?16:-16)),L);return(0,t.jsx)("div",{className:"v2-face pointer-events-none absolute bottom-0",style:{height:"var(--face-height)",aspectRatio:i?"2391 / 5279":"2474 / 5367",[i?"left":"right"]:"var(--face-inset)",transform:i?"translateX(calc(-1 * var(--face-shift, 0%)))":"translateX(var(--face-shift, 0%))"},children:(0,t.jsx)("div",{className:`h-full w-full ${i?"v2-face-in-left":"v2-face-in-right"}${r?" is-ready":""}`,children:(0,t.jsx)(n.motion.div,{className:"h-full w-full",style:{x:l},children:(0,t.jsx)(a.default,{src:i?"/v2/arcade1/face-left.png":"/v2/arcade1/face-right.png",alt:"",width:i?2391:2474,height:i?5279:5367,sizes:"(max-aspect-ratio: 3/4) 100vw, 33vw",loading:"eager",className:"h-full w-full max-w-none"})})})})}e.s(["ArcadePage1",0,function(){var e;let a,n,i=(0,r.useRef)(null),o=(0,s.useInView)(i),c=(0,d.useV2Calm)(),u=(e=o&&!c,a=(0,l.useMotionValue)(0),n=(0,V.useReducedMotion)(),(0,r.useEffect)(()=>{if(!e||n||!window.matchMedia("(hover: hover) and (pointer: fine)").matches)return;let t=null,r=0,s=0,i=e=>{let t=(e-s)/1e3;s=e;let n=a.get()*Math.max(0,1-.5*t);a.set(n<.001?0:n),r=n<.001?0:requestAnimationFrame(i)},l=e=>{if(t){let n=Math.hypot(e.clientX-t.x,e.clientY-t.y);a.set(Math.min(1,a.get()+5e-5*n)),r||(s=performance.now(),r=requestAnimationFrame(i))}t={x:e.clientX,y:e.clientY}};return window.addEventListener("pointermove",l,{passive:!0}),()=>{cancelAnimationFrame(r),window.removeEventListener("pointermove",l)}},[e,n,a]),a),[m,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!o||m)return;let e=requestAnimationFrame(()=>requestAnimationFrame(()=>p(!0)));return()=>cancelAnimationFrame(e)},[o,m]),(0,t.jsxs)("section",{ref:i,className:"v2-bg-orange relative h-full w-full overflow-hidden",children:[(0,t.jsx)(z,{side:"left",ready:m,energy:u}),(0,t.jsx)(z,{side:"right",ready:m,energy:u}),!1,(0,t.jsx)(f.V2HeroStack,{id:"arcade1",line1:"COMPETE",line1Size:152,line1SizeM:74,line2:"FOR GLORY",line2Size:130,line2SizeM:63,tagline:"Start playing today.",qrValue:h.ARCADE_APP_URL,qrLabel:"Download Arcade"})]})}],85201);let I=[{src:"/v2/arcade2/game-1.png",alt:"Chaos Cannon",width:684,height:520},{src:"/v2/arcade2/game-5.png",alt:"Pool",width:920,height:696},{src:"/v2/arcade2/game-4.png",alt:"Chicken Run",width:922,height:706},{src:"/v2/arcade2/game-landing-blockparty.png",alt:"Block Party",width:1572,height:1200},{src:"/v2/arcade2/game-landing-brickbreaker.png",alt:"Brick Breaker",width:1572,height:1200},{src:"/v2/arcade2/game-landing-colorsmash.jpg",alt:"Color Smash",width:1179,height:900},{src:"/v2/arcade2/game-landing-drive.jpg",alt:"Drive",width:786,height:600},{src:"/v2/arcade2/game-landing-galaxy.jpg",alt:"Galaxy",width:786,height:600},{src:"/v2/arcade2/game-landing-golf.jpg",alt:"Golf",width:786,height:600},{src:"/v2/arcade2/game-landing-hockey.jpg",alt:"Hockey",width:1179,height:900},{src:"/v2/arcade2/game-landing-obby.jpg",alt:"Obby",width:1572,height:1200},{src:"/v2/arcade2/game-landing-touchdown.jpg",alt:"Touchdown",width:786,height:600},{src:"/v2/arcade2/game-landing-tumbleguys.jpg",alt:"Tumble Guys",width:1179,height:900},{src:"/v2/arcade2/pool.jpg",alt:"8 Ball Pool",width:1572,height:1200},{src:"/v2/arcade2/shapes.png",alt:"Shapes",width:1572,height:1200}],q=352*I.length;e.s(["ArcadePage2",0,function(){let e=(0,r.useRef)(null),{repeats:n,pitch:s}=function(){let[e,t]=(0,r.useState)({repeats:2,pitch:352});return(0,r.useEffect)(()=>{let e=()=>{let e=window.matchMedia("(min-aspect-ratio: 3/4)").matches;t({repeats:e?Math.max(1,Math.ceil(window.innerWidth/q)):1,pitch:e?352:294})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),[i,l]=(0,r.useState)(I);(0,r.useEffect)(()=>{let e=[...I];for(let t=e.length-1;t>0;t--){let a=Math.floor(Math.random()*(t+1));[e[t],e[a]]=[e[a],e[t]]}l(e)},[]);let o=(0,r.useRef)(1),c=(0,r.useRef)(1),u=(0,r.useRef)(0),d=t=>{if(o.current=t,u.current)return;let a=()=>{let t=c.current+(o.current-c.current)*.06;c.current=t,e.current?.getAnimations?.({subtree:!0}
1).forEach(e=>{e.playbackRate=t}),u.current=Math.abs(t-o.current)>.005?requestAnimationFrame(a):0};u.current=requestAnimationFrame(a)};(0,r.useEffect)(()=>()=>cancelAnimationFrame(u.current),[]);let m=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("h1",{className:"v2-font-sf v2-section-title text-white",children:["Real opponents.",(0,t.jsx)("br",{}),"Real-time play.",(0,t.jsx)("br",{}),"Real skill."]}),(0,t.jsx)("p",{className:"v2-font-sf v2-section-sub text-white",children:"An always-growing library with 20+ games to choose from."})]});return(0,t.jsxs)("section",{className:"relative h-full w-full overflow-hidden bg-black",children:[(0,t.jsxs)("div",{ref:e,className:"v2-games absolute top-[calc(19%+24px)] w-full dt:top-[calc(23%-8px)]",onPointerEnter:()=>d(.55),onPointerLeave:()=>d(1),children:[(0,t.jsx)("div",{className:"v2-marquee flex w-max items-center",style:{animationDuration:`${n*i.length*s/18}s`},children:Array.from({length:2*n},()=>i).flat().map((e,r)=>(0,t.jsx)("div",{className:"shrink-0 overflow-hidden rounded-[20px]",style:{width:"var(--tile-w)",marginRight:"var(--tile-gap)"},children:(0,t.jsx)(a.default,{src:e.src,alt:e.alt,width:e.width,height:e.height,sizes:"(min-aspect-ratio: 3/4) 460px, 60vw",loading:r<6?"eager":"lazy",className:"h-auto w-full"})},`${e.src}-${r}`))}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-[-6%] left-0 w-[5%] bg-[linear-gradient(to_right,rgba(0,0,0,0.7)_0%,transparent_100%)] dt:w-[14%] dt:bg-[linear-gradient(to_right,rgba(0,0,0,0.9)_0%,rgba(0,0,0,0.55)_40%,transparent_100%)]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-[-6%] right-0 w-[5%] bg-[linear-gradient(to_left,rgba(0,0,0,0.7)_0%,transparent_100%)] dt:w-[14%] dt:bg-[linear-gradient(to_left,rgba(0,0,0,0.9)_0%,rgba(0,0,0,0.55)_40%,transparent_100%)]"})]}),(0,t.jsx)("div",{className:"absolute left-0 flex w-full flex-col items-center justify-center px-6 text-center top-[calc(19%+24px+215px)] bottom-[calc(var(--sb-bottom)+76.11*var(--sb))] dt:top-[calc(23%-8px+245px)]",children:m})]})}],97445);let D=[{src:"/v2/arcade3/phone-cannon-solid.png",left:25.7,top:25.08,w:33.5,width:1047,height:1504,amp:4,dur:7.5,enter:.25},{src:"/v2/arcade3/phone-golf-solid.png",left:13.5,top:21.5,w:31.02,width:943,height:1386,amp:7,dur:6.2,enter:0}],W={left:18.96,top:24.3,width:34.1,height:48.4,boxAspect:1/.95};function Y({phone:e,active:r}){let s=m(r,e.dur,e.enter),i=(0,c.useTransform)(s,t=>t*e.amp);return(0,t.jsx)("div",{className:"absolute",style:{left:`${e.left}%`,top:`${e.top}%`,width:`${e.w}%`},children:(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:26},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.4},transition:{duration:1.2,delay:e.enter,ease:[.22,1,.36,1]},children:(0,t.jsx)(n.motion.div,{style:{x:i},children:(0,t.jsx)(a.default,{src:e.src,alt:"Triumph Arcade gameplay",width:e.width,height:e.height,unoptimized:!0,className:"h-auto w-full"})})})})}e.s(["ArcadePage3",0,function(){let e=(0,r.useRef)(null),a=(0,s.useInView)(e),n=(0,d.useV2Calm)(),i=a&&!n;return(0,t.jsx)("section",{ref:e,className:"relative flex h-full w-full flex-col overflow-hidden bg-white dt:block",children:(0,t.jsx)($,{id:"arcade3",assetBounds:W,asset:(0,t.jsx)("div",{className:"relative w-full",style:{aspectRatio:"1 / 0.95"},children:D.map(e=>(0,t.jsx)(Y,{phone:e,active:i},e.src))}
1),title:"Join the fun.",subtitle:"Challenge real opponents and start climbing the ranks.",qrValue:h.ARCADE_APP_URL,qrLabel:"Download Arcade"})})}],13895),e.s([],72381)}]);
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.