PageSourceSearch

https://handstandapp.web.app/_next/static/chunks/pages/media/components/ClassMediaCard-b8068f9c2289d58b.js

js handstandapp.web.app collected 2026-10-03 12:25:32 UTC 6,485 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="8265e9e4-de3e-400a-8b11-bcbd29bf7f7c",e._sentryDebugIdIdentifier="sentry-dbid-8265e9e4-de3e-400a-8b11-bcbd29bf7f7c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8547],{84454:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/media/components/ClassMediaCard",function(){return t(20627)}])},41250:function(e,i){"use strict";i.Z={src:"/_next/static/media/clockIcon.1f6766a1.svg",height:14,width:15,blurWidth:0,blurHeight:0}},28009:function(e,i,t){"use strict";var o=t(82729),r=t(85893),n=t(14440),s=t(70917),a=t(67294),l=t(56735);function d(){let e=(0,o._)(["\n  from { background-position: 200% 0; }\n  to { background-position: -200% 0; }\n"]);return d=function(){return e},e}let c=(0,s.F4)(d());i.Z=e=>{let{src:i,alt:t="",sx:o,priority:s,lazy:d,loadedOpacity:u=1,imgSx:p}=e,[x,b]=(0,a.useState)(!1),[h,f]=(0,a.useState)(!1),g=(0,a.useRef)(null);(0,a.useEffect)(()=>{b(!1),f(!1);let e=g.current;e&&e.complete&&e.naturalWidth>0&&b(!0)},[i]);let m=!!i&&!x&&!h;return(0,r.jsxs)(n.Z,{sx:[{position:"relative",overflow:"hidden"},...Array.isArray(o)?o:o?[o]:[]],children:[m&&(0,r.jsx)(n.Z,{"aria-hidden":!0,sx:{position:"absolute",inset:0,background:"linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0.06) 75%)",backgroundSize:"200% 100%",animation:"".concat(c," 1.4s ease-in-out infinite"),"@media (prefers-reduced-motion: reduce)":{animation:"none"}}}),i&&!h?(0,r.jsx)(n.Z,{component:"img",ref:g,src:i,alt:t,loading:d?"lazy":void 0,fetchpriority:s?"high":void 0,onLoad:()=>{b(!0),s&&(0,l.B1)("img:hero-loaded")},onError:()=>f(!0),sx:[{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",display:"block",opacity:x?u:0,transition:"opacity 220ms ease-out"},...Array.isArray(p)?p:p?[p]:[]]}):null]})}},69769:function(e,i,t){"use strict";t.d(i,{c:function(){return a}});var o=t(67294),r=t(80158),n=t(48099),s=t(30117);let a=()=>{let e=(0,r.CG)(e=>e.db.freeAccessDrops),i=(0,r.CG)(e=>!!e.auth.appUser),t=(0,r.CG)(e=>e.auth),a=(0,s.B)({lifetime:t.lifetimeSubscription,subscriptionFromRC:t.subscriptionFromRC,subscriptionFromCode:t.subscriptionFromCode,subscriptions:t.subscriptions});return(0,o.useCallback)(t=>(0,n.sL)(t)&&!(0,n.HJ)({drops:e,mediaId:null==t?void 0:t.docId,isLoggedIn:i,isSubscribed:a}),[e,i,a])}},20627:function(e,i,t){"use strict";t.r(i);var o=t(85893),r=t(28009),n=t(80158),s=t(14440),a=t(94246),l=t(35465),d=t(67433),c=t(8658),u=t(41250),p=t(25675),x=t.n(p),b=t(48099),h=t(98303),f=t(69769),g=t(30117),m=t(11163),v=t(67748);i.default=e=>{var i,t,p,y,k,w;let{media:C,locked:j,onClick:_}=e,Z=(0,n.CG)(e=>e.config),F=(0,n.CG)(e=>e.auth),{i18n:I,language:S}=Z,{showLockIcon:R,showFreeBadge:W}=(0,b.Ty)(Z.design),D=(0,f.c)(),E=(0,g.B)({lifetime:F.lifetimeSubscription,subscriptionFromRC:F.subscriptionFromRC,subscriptionFromCode:F.subscriptionFromCode,subscriptions:F.subscriptions}),A=j&&R,G=!D(C)&&!E&&W,H=(0,b.vM)({completedClasses:null!==(k=null===(i=F.appUser)||void 0===i?void 0:i.completed_classes)&&void 0!==k?k:[],mediaId:C.docId}),N=(0,m.useRouter)().pathname===v.Z6.LANDING_PAGE;return C&&(0,o.jsxs)(s.Z,{onClick:_,sx:{display:"flex",flexDirection:"column",maxHeight:"264px",maxWidth:"384px",cursor:"pointer",...N&&{borderRadius:"16px",animation:"fadeInUp 0.8s ease forwards",transition:"all 0.3s ease","&:hover":{transform:"translateY(-6px) scale(1.03)",boxShadow:"0 12px 28px rgba(0,0,0,0.1)"}}},children:[(0,o.jsxs)(s.Z,{sx:{position:"relative",display:"inline-block",width:"100%",height:"200px",borderRadius:"16px"},children:[(0,o.jsx)(r.Z,{src:C.imageUrl,alt:"Top Image",sx:{position:"absolute",inset:0,borderRadius:"16px"}}),(0,o.jsxs)(s.Z,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.0)",backdropFilter:A?"blur(2px)":void 0,borderRadius:"16px",display:"flex",alignItems:"center",color:"white"},children:[(G||H)&&(0,o.jsxs)(s.Z,{sx:{position:"absolute",top:"8px",right:"8px",display:"flex",alignItems:"center",gap:"6px"},children:[G&&(0,o.jsx)(s.Z,{sx:{px:"8px",py:"2px",borderRadius:"8px",backgroundColor:"rgba(255,255,255,0.92)",boxShadow:"0 2px 8px rgba(0,0,0,0.18)"},children:(0,o.jsx)(a.Z,{sx:{fontSize:"12px",fontWeight:700,color:"#111"},children:(0,c.i0)({i18nDocs:I,language:S,text:"Free"})})}),H&&(0,o.jsx)(h.default,{size:24})]}),(0,o.jsxs)(l.Z,{sx:{position:"absolute",left:"20px",bottom:"15px",height:"26px",borderRadius:"100px",backgroundColor:"white",boxShadow:"0px 4px 8px 0px #00000029",p:"4px 8px"},spacing:"8px",direction:"row",children:[(0,o.jsx)(x(),{src:u.Z,alt:"icon"}
1),(0,o.jsxs)(a.Z,{sx:{fontFamily:null===(t=Z.appSetting)||void 0===t?void 0:t.themes.primaryFontFamily,fontSize:"12px",lineHeight:"20px",fontWeight:500,color:"black"},children:[null!==(w=C.minutes)&&void 0!==w?w:1," ",(0,c.i0)({i18nDocs:I,language:S,text:"minutes"})]})]}),A&&(0,o.jsx)(s.Z,{sx:{position:"absolute",left:"50%",transform:"translateX(-50%)"},children:(0,o.jsx)(d.default,{})})]})]}),(0,o.jsx)(s.Z,{sx:N?{p:"16px"}:{pt:"16px"},children:(0,o.jsx)(a.Z,{sx:{fontSize:"18px",fontWeight:600,lineHeight:"24px",fontFamily:null===(p=Z.appSetting)||void 0===p?void 0:p.courseDetail.titleFontFamily,color:(0,b.K9)(null===(y=Z.appSetting)||void 0===y?void 0:y.courseDetail.descriptionFontColor),display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2},children:(0,c.i0)({i18nDocs:I,language:S,text:C.name})})})]})}},98303:function(e,i,t){"use strict";t.r(i),t.d(i,{default:function(){return a}});var o=t(85893),r=t(25675),n=t.n(r),s={src:"/_next/static/media/greenCheckMark.7a6b6ccb.svg",height:16,width:16,blurWidth:0,blurHeight:0},a=e=>{let{size:i=16}=e;return(0,o.jsx)(n(),{src:s,alt:"completed",width:i,height:i,style:{flexShrink:0,alignSelf:"center"}})}},67433:function(e,i,t){"use strict";t.r(i),t.d(i,{default:function(){return d}});var o=t(85893),r={src:"/_next/static/media/lockIcon.ae2755b6.svg",height:25,width:25,blurWidth:0,blurHeight:0},n=t(92022),s=t(33367);t(67294);var a=t(25675),l=t.n(a),d=()=>(0,o.jsx)(n.Z,{sx:{backgroundColor:"rgba(0, 0, 0, 0.5)",height:"44px",width:"44px"},children:(0,o.jsx)(s.Z,{"aria-label":"locked",children:(0,o.jsx)(l(),{src:r,alt:"lock",style:{height:"22px",width:"22px"}})})})}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=84454)}),_N_E=e.O()}]);

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.