PageSourceSearch

https://sweatpals.com/_next/static/chunks/pages/embed/[entityAlias]/event-card-56259ec2446b8c8d.js

js sweatpals.com collected 2026-09-24 10:23:44 UTC 2,449 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bb153483-fa1d-4b89-9913-926e4a351051",e._sentryDebugIdIdentifier="sentry-dbid-bb153483-fa1d-4b89-9913-926e4a351051")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8175],{23507:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>w,default:()=>p});var s=n(80263),l=n(53239),o=n(44975),a=n(58096),r=n(23e3),i=n(68530),c=n(51198),d=n(88922),f=n(87173),u=n(54928),h=n(81993),b=n(10013),y=n(50171),x=n(36906),_=n(93857);let g=(e,t)=>({root:{height:"100%",width:"100%",display:"flex",flexDirection:"column",overflow:"auto",backgroundColor:t?`#${t}`:f.Jy.white},content:{display:"flex",justifyContent:"center",alignItems:"center",flex:1}});var w=!0;let p=e=>{let{entityAlias:t,shortLocalInstance:n,shortTimeSlot:w,primaryColorHex:p,secondaryColorHex:j,backgroundColorHex:v,fontFamily:A}=e,{data:I,isFetching:k}=(0,b.DN)({eventAlias:t,shortLocalInstance:n,shortTimeSlot:w}),{t:m}=(0,o.Bd)(),C=(0,i.I)(g,v),{height:N,ref:$}=(0,c.L)(),{height:E,ref:D}=(0,c.L)(),T=(0,l.useCallback)(e=>{let t=`${h.Cf}/${(0,u.og5)({eventAlias:e.alias,eventType:e.eventType,shortLocalInstance:e.calculated_is_serial?e.shortLocalInstance:void 0,shortTimeSlot:w})}`;window.open(t,"_blank")},[w]);return((0,l.useEffect)(()=>{I?.alias&&window.parent.postMessage({action:`resizeIFrame-${I?.alias}`,height:N+E},"*")},[I?.alias,N,E]),k)?(0,s.jsx)(a.A,{sx:(0,d.$)(C.root,{justifyContent:"center",alignItems:"center"}),children:(0,s.jsx)(r.A,{size:40,sx:{color:p?`#${p}`:f.Jy.black}})}):I||k?(0,s.jsxs)(a.A,{sx:C.root,children:[(0,s.jsx)(y.J,{googleFontFamily:A}),(0,s.jsx)(a.A,{sx:C.content,children:(0,s.jsx)(a.A,{ref:$,children:(0,s.jsx)(_.a,{event:I,onClick:T,styleVars:{fontFamily:A,primaryColorHex:p,secondaryColorHex:j}})})}),(0,s.jsx)(a.A,{ref:D,children:(0,s.jsx)(x.Q,{color:v,inverted:!0})})]}):(0,s.jsx)(a.A,{sx:(0,d.$)(C.root,{alignItems:"center"}),children:(0,s.jsx)(a.A,{sx:{textAlign:"center",color:[A,"Montserrat","sans-serif"].filter(Boolean).join(", "),fontFamily:p?`#${p}`:f.Jy.black},children:m("event:embed.eventNotFound")})})}},72848:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/[entityAlias]/event-card",function(){return n(23507)}])}},e=>{e.O(0,[5178,9090,2839,636,6593,8792],()=>e(e.s=72848)),_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.