PageSourceSearch

https://sweatpals.com/_next/static/chunks/988-3123cc5849afa7d2.js

js sweatpals.com collected 2026-10-01 13:10:25 UTC 14,258 bytes, 2 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:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="bf0ca39c-d959-4e81-9f88-87f726a220f2",e._sentryDebugIdIdentifier="sentry-dbid-bf0ca39c-d959-4e81-9f88-87f726a220f2")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[988],{10988:(e,r,i)=>{i.d(r,{A:()=>A});var a=i(80263),o=i(53239),t=i(58096),l=i(51955),n=i(29514),d=i(69495),s=i(30440),c=i(83330),u=i(77758),x=i(66203),h=i.n(x),p=i(42820),F=i(81795),b=i(27372);let m=e=>({root:{display:"flex",flexDirection:"column",gap:"24px"},categoryBox:{display:"flex",flexDirection:"column",gap:"24px"},categoryTitle:{fontFamily:"Integral CF",fontSize:"17px",fontWeight:500,lineHeight:"20px",color:"#FFFFFF"},inputsBox:{display:"flex",flexFlow:"column nowrap",gap:{xs:"16px",md:"24px"}},radioGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"16px"},radioGroupOption:{color:"#FFFFFF",ml:0,gap:"12px",minWidth:"120px","& .MuiFormControlLabel-label":{fontFamily:"Montserrat",fontSize:"15px",fontWeight:500,lineHeight:"21px",flex:1,wordBreak:"break-word","&.Mui-disabled":{color:"rgba(255, 255, 255, 0.6)"}},"& .MuiRadio-root":{height:"18px",width:"18px",p:0,backgroundColor:"#FFFFFF33",boxShadow:"0 0 0 1px #FFFFFF4D","&:hover":{backgroundColor:"#FFFFFF33",boxShadow:"0 0 0 1px #FFFFFF"},"& .MuiSvgIcon-root":{display:"none"},"&.Mui-checked":{color:"#FFFFFF",boxShadow:"0 0 1px #FFFFFF4D","&::after":{content:'""',position:"absolute",top:"4px",left:"4px",width:"10px",height:"10px",borderRadius:"50%",backgroundColor:"#FFFFFF"}}}},checkBox:{color:"#FFFFFF",m:0,gap:"12px",minWidth:"120px","& .MuiStack-root":{flex:1},"& .MuiFormControlLabel-label":{fontFamily:"Montserrat",fontSize:"15px",fontWeight:500,lineHeight:"21px",userSelect:"none",wordBreak:"break-word",flex:1,"&.Mui-disabled":{color:"rgba(255, 255, 255, 0.6)"}},"& .MuiFormControlLabel-asterisk":{fontFamily:"Montserrat",fontSize:"15px",fontWeight:500,lineHeight:"21px",color:"#FF0606",ml:"4px"},"& .MuiCheckbox-root":{height:"18px",width:"18px",p:0,borderRadius:"4px",boxShadow:"0 0 0 1px #FFFFFF4D",backgroundColor:"#FFFFFF33","&:hover":{backgroundColor:"#FFFFFF33",boxShadow:"0 0 0 1px #FFFFFF"},"& .MuiSvgIcon-root, & .MuiTouchRipple-root":{display:"none"},"&.Mui-checked":{color:"#FFFFFF",boxShadow:"0 0 0 1px #FFFFFF4D","& .MuiSvgIcon-root":{width:"14px",height:"14px",display:"block"}}}},checkBoxError:{"& .MuiCheckbox-root":{boxShadow:"0 0 0 1px #FF563F","&:hover":{boxShadow:"0 0 0 1px #FF563F"},"&.Mui-checked":{boxShadow:"0 0 0 1px #FF563F"}}},radioOptionError:{"& .MuiRadio-root":{boxShadow:"0 0 0 1px #FF563F","&:hover":{boxShadow:"0 0 0 1px #FF563F"},"&.Mui-checked":{boxShadow:"0 0 0 1px #FF563F"}}},datePicker:{"& .MuiPickersInputBase-root":{backgroundColor:"#FFFFFF0D",color:"#FFFFFF",borderRadius:"12px","& .MuiPickersInputBase-sectionsContainer":{p:"13px 16px",fontFamily:"Montserrat",fontSize:"16px",fontWeight:500,lineHeight:"20px"},"& .MuiInputAdornment-root .MuiSvgIcon-root":{color:"#FFFFFF99"},"&.Mui-disabled":{color:"rgba(255, 255, 255, 0.6)",WebkitTextFillColor:"rgba(255, 255, 255, 0.6)"},"&.MuiPickersOutlinedInput-root":{"&:hover .MuiPickersOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:"#FFFFFF0D"},"&.Mui-focused .MuiPickersOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:"#FFFFFF99"},"&.Mui-error .MuiPickersOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:"#FF563F"}}},"& .MuiPickersOutlinedInput-notchedOutline":{borderWidth:0,borderRadius:"12px"}},waiverUrl:{fontFamily:"Montserrat",fontSize:"15px",fontWeight:400,color:"#FFFFFFB2",wordBreak:"break-word","& >a":{color:"#FFFFFF",outline:0}},menuPaper:{"& .MuiList-root":{"& .MuiMenuItem-root":{whiteSpace:"wrap",wordBreak:"break-word"}},[e.breakpoints.down("sm")]:{minWidth:"calc(100% - 32px) !important"}},waiverMinorLegalNamesFieldDescription:{fontWeight:{xs:400,md:500},fontSize:"14px",lineHeight:"20px",color:"#FFFFFFB2",lineBreak:"normal",whiteSpace:"break-spaces"}});var g=i(70618),f=i(94557),v=i(64958),w=i(56764),k=i(68530),j=i(88922),y=i(35080),M=i(58464),C=i(22672),I=i(59139);let S=e=>{let[r,i]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{i(!0)},[]),r)?(0,a.jsx)(F.l,{...e}):null},B=e=>{let{field:r,disabled:i,error:o,value:u,onChange:x,onBlur:h}=e,F=(0,k.I)(m);switch(r.type){case"html":return(0,a.jsx)(g.u,{label:r.label??void 0,description:r.description??void 0,children:(0,a.jsx)(t.A,{sx:{fontFamily:"Montserrat",fontSize:"13px",fontWeight:500,lineHeight:"16px",color:"#FFFFFF"},dangerouslySetInnerHTML:(0,C.B)(r.htmlContent)})});
1case"text-input":if((0,b.aYJ)(r))return(0,a.jsx)(I.$,{field:r,value:u,error:o,disabled:i,required:r.required,onChange:x,onBlur:h});return"phone-number"===r.textInputType?(0,a.jsx)(g.u,{id:r.name,label:r.label??void 0,disabled:i,required:r.required,error:!!o,description:o??r.description??void 0,children:(0,a.jsx)(f.I,{placeholder:r.placeholder,value:u??"",defaultCountry:"US",onChange:e=>{x?.(r.name,e)}})}):(0,a.jsx)(g.u,{id:r.name,label:r.label??void 0,disabled:i,required:r.required,error:!!o,description:o??r.description??void 0,children:(0,a.jsx)(v.M,{name:r.name,placeholder:r.placeholder,value:u??"",onChange:e=>{x?.(r.name,e.target.value)},onBlur:h})});case"check-box":return(0,a.jsx)(l.A,{id:r.name,disabled:i,required:r.required,onChange:(e,i)=>{x?.(r.name,i)},control:(0,a.jsx)(n.A,{required:r.required,checked:!!u,checkedIcon:(0,a.jsx)(p.A,{})}),label:r.checkboxLabel,sx:(0,j.$)(F.checkBox,o?F.checkBoxError:void 0)});case"checkbox-list":return(0,a.jsx)(g.u,{role:"group",required:r.required,label:r.label??void 0,description:o??r.description??void 0,error:!!o,children:(0,a.jsx)(d.A,{sx:{flexDirection:"row",gap:"16px"},children:r.options?.map(e=>(0,a.jsx)(l.A,{sx:(0,j.$)(F.checkBox,o?F.checkBoxError:void 0),disabled:i,control:(0,a.jsx)(n.A,{value:e.id,checked:!!u&&u.includes(e.id),onChange:e=>{let i=u??[],a=e.target.value,o=i.includes(a)?i.filter(e=>e!==a):[...i,a];x?.(r.name,o)},checkedIcon:(0,a.jsx)(p.A,{})}),label:e.name},e.id))})});case"drop-down":return(0,a.jsx)(g.u,{id:r.name,label:r.label??void 0,required:r.required,disabled:i,error:!!o,description:o??r.description??void 0,children:(0,a.jsx)(w.G,{value:u??"",placeholder:r.placeholder||void 0,onValueChange:e=>{x?.(r.name,e)},options:r.options?.map(e=>({value:e.id,label:e.name}))??[]})});case"radio-buttons":return(0,a.jsx)(g.u,{role:"group",required:r.required,label:r.label??void 0,description:o??r.description??void 0,error:!!o,children:(0,a.jsx)(s.A,{"aria-labelledby":`label-id-${r.name}`,value:u??"",onChange:(e,i)=>{x?.(r.name,i)},sx:F.radioGroup,children:r.options?.map(e=>(0,a.jsx)(l.A,{value:e?.id,sx:(0,j.$)(F.radioGroupOption,o?F.radioOptionError:void 0),disabled:i,control:(0,a.jsx)(c.A,{}),label:e?.name},e?.id))})});case"date-picker":return(0,a.jsx)(g.u,{label:r.label??void 0,description:o??r.description??void 0,required:r.required,disabled:i,error:!!o,children:(0,a.jsx)(S,{disabled:i,value:u??null,onChange:e=>{x?.(r.name,e)},sx:F.datePicker,slotProps:{textField:{error:!!o}}})});default:return null}},A=({baseEventId:e,eventInstance:r,disabled:i=!1,eventPriceId:o,eventPriceBaseId:d,priceIdToBaseId:s,disabledWaiver:c,waiverUrl:x,intakeFormErrors:F,intakeFormSettings:f,intakeFormValues:w,hiddenFieldNames:I=[],disabledFieldNames:S=[],hideWaiver:A=!1,changeIntakeFormValues:q,onBlur:L})=>{let D=(0,k.I)(m),{logEventTyped:z}=(0,M.O)(),N="I have reviewed and I confirm";return f?.waiverCustomCheckboxLabel&&"string"==typeof f?.waiverCustomCheckboxLabel&&f?.waiverCustomCheckboxLabel?.trim()!==""&&(N=f?.waiverCustomCheckboxLabel),(0,a.jsxs)(t.A,{sx:D.root,id:"intake-form",children:[f?.sections?.map((e,r)=>(0,a.jsxs)(t.A,{sx:D.categoryBox,children:[(0,a.jsx)(y.s,{show:e?.sectionName,children:(0,a.jsx)(u.A,{sx:D.categoryTitle,children:e?.sectionName})}),(0,a.jsx)(t.A,{sx:D.inputsBox,children:e?.fields?.filter(e=>!I.includes(e.name)&&(0,b.QkV)(e,{eventPriceId:o,basePriceId:d},s))?.map(e=>(0,a.jsx)(B,{field:e,disabled:i||S.includes(e.name),onChange:q,onBlur:L,value:w?.[e.name],error:F?.[e.name]},e.name))})]},r)),(0,a.jsxs)(y.s,{hide:A,children:[f?.waiverSections?.map((e,r)=>(0,a.jsxs)(t.A,{sx:D.categoryBox,children:[(0,a.jsx)(y.s,{show:e?.sectionName,children:(0,a.jsx)(u.A,{sx:D.categoryTitle,children:e?.sectionName})}),(0,a.jsx)(t.A,{sx:D.inputsBox,children:e?.fields?.map(e=>(0,a.jsx)(B,{field:e,disabled:c,onChange:q,onBlur:L,value:w?.[e.name],error:F?.[e.name]},e.name))})]},r)),(0,a.jsx)(y.s,{show:!f?.waiverSections?.length&&(f?.waiverHtml||x),children:(0,a.jsxs)(t.A,{sx:D.categoryBox,children:[(0,a.jsx)(u.A,{sx:D.categoryTitle,children:"Waiver"}),f?.waiverHtml?(0,a.jsx)(t.A,{sx:{maxHeight:"500px",overflow:"auto",color:"#FFFFFF"}
1,dangerouslySetInnerHTML:(0,C.B)(f?.waiverHtml||"waiverHTML missing")}):x?(0,a.jsxs)(u.A,{sx:D.waiverUrl,children:["New members: waiver must be signed before the event. Head to"," ",(0,a.jsx)(h(),{href:x,target:"_blank",children:x})," ","to sign the waiver."]}):null,(0,a.jsxs)(t.A,{sx:D.inputsBox,children:[(0,a.jsx)(l.A,{id:"waiverAgreement",disabled:c,sx:(0,j.$)(D.checkBox,F?.waiverAgreement?D.checkBoxError:void 0),onChange:(i,a)=>{a&&z("checkbox_selected",{buttonLocation:"intake-form",pageType:"event",baseEventId:e,eventInstance:r instanceof Date?r?.toISOString():r}),q?.("waiverAgreement",a)},required:!0,control:(0,a.jsx)(n.A,{name:"waiverAgreement",checked:!!w?.waiverAgreement,checkedIcon:(0,a.jsx)(p.A,{})}),label:N}),(0,a.jsx)(g.u,{required:!0,label:"Initials of attendee (18+), parent/guardian of minor or incapacitated individual*",id:"participantInitials",disabled:c,error:!!F?.participantInitials,description:F?.participantInitials,children:(0,a.jsx)(v.M,{name:"participantInitials",placeholder:"Initials",value:w?.participantInitials??"",onBlur:i=>
1{L?.(i),z("registration_initials_entered",{pageType:"event",added:!!w?.participantInitials,baseEventId:e,eventInstance:r instanceof Date?r?.toISOString():r})},onChange:e=>{q?.("participantInitials",e.target.value)}})}),f?.showWaiverMinorLegalNamesField&&(0,a.jsx)(g.u,{required:!0,label:"Minor's full legal name(s)*",id:"waiverMinorLegalNames",disabled:c,error:!!F?.waiverMinorLegalNames,description:F?.waiverMinorLegalNames??`Enter the full legal name of each minor covered by this waiver.
2Use a comma to separate multiple names.`,children:(0,a.jsx)(v.M,{name:"waiverMinorLegalNames",placeholder:"Minor's full legal name(s)",value:w?.waiverMinorLegalNames??"",onBlur:L,onChange:e=>{q?.("waiverMinorLegalNames",e.target.value)}})})]})]})})]})]})}},22672:(e,r,i)=>{i.d(r,{B:()=>t});var a=i(40122),o=i.n(a);let t=e=>({__html:o().sanitize(e??"",{ADD_ATTR:["target","rel"]})})},30456:(e,r,i)=>{i.d(r,{k:()=>c});var a=i(80263),o=i(1483),t=i(11471),l=i(129),n=i(53239),d=i(39103);let s=(0,o.tv)({slots:{container:"box-border flex min-h-12 w-full items-center rounded-2xl bg-theme-fill-secondary px-4 py-3 outline-none outline-offset-0 transition-colors data-[disabled]:cursor-not-allowed data-[disabled]:bg-theme-fill-secondary-disabled data-[invalid]:bg-theme-status-error-bg data-[focused]:outline-theme-border-opaque data-[invalid]:outline-theme-status-error",textarea:"box-border w-full resize-none bg-transparent text-theme-text-on-subtle outline-none modal-scrollbar placeholder:text-theme-text-on-subtle-disabled data-[disabled]:cursor-not-allowed data-[disabled]:text-theme-text-on-subtle-disabled data-[disabled]:placeholder:text-theme-text-on-subtle-disabled"},variants:{autoSize:{true:{},false:{textarea:"min-h-[104px]"}},fullHeight:{true:{container:"h-full items-stretch",textarea:"h-full min-h-0"},false:{}}},defaultVariants:{autoSize:!1,fullHeight:!1}}),c=(0,n.forwardRef)((e,r)=>{let i,{disabled:o,"aria-invalid":c,"data-testid":u,value:x,onFocus:h,onBlur:p,autoSize:F,...b}=e,m=!0!==e.autoSize&&(e.fullHeight??!1),[g,f]=(0,n.useState)(!1),{id:v,disabled:w,required:k,ariaInvalid:j,ariaDescribedBy:y,ariaErrorMessage:M}=(0,d.O)({id:b.id,disabled:o,required:b.required,ariaInvalid:c,ariaDescribedBy:b["aria-describedby"],ariaErrorMessage:b["aria-errormessage"],fallbackIdPrefix:"core-textarea"}),C=s({autoSize:F??!1,fullHeight:m}),I={id:v,disabled:w,value:x,onFocus:e=>{f(!0),h?.(e)},onBlur:e=>{f(!1),p?.(e)},required:k,"aria-invalid":!w&&j||void 0,"aria-describedby":y,"aria-errormessage":M,"data-testid":`${u??"core-textarea"}-field`,className:C.textarea(),"data-disabled":w||void 0};if(!0===e.autoSize){let{rows:o,minRows:t,maxRows:n,autoSize:d,...s}=e;i=(0,a.jsx)(l.A,{...s,...I,minRows:t??o,maxRows:n,ref:r})}else{let{autoSize:o,fullHeight:t,...l}=e;i=(0,a.jsx)("textarea",{...l,...I,ref:r})}return(0,a.jsx)("div",{className:C.container(),"data-testid":u??"core-textarea","data-disabled":w||void 0,"data-invalid":!w&&j||void 0,"data-focused":g||void 0,children:(0,a.jsx)(t.D.Body,{weight:"regular",size:"16",asChild:!0,children:i})})});c.displayName="CoreTextarea"},59139:(e,r,i)=>{i.d(r,{$:()=>u});var a=i(80263),o=i(53239),t=i(44975),l=i(70618),n=i(30456),d=i(11471),s=i(27372),c=i(58464);let u=e=>{let{field:r,value:i,error:u,disabled:x,required:h,onChange:p,onBlur:F}=e,{t:b}=(0,t.Bd)(),{logEventTyped:m}=(0,c.O)(),g=(0,o.useRef)(!1),f=(0,s.Qpy)(r)??s.pjK,v="string"==typeof i?i:"",w=v.length>=f,k=v.length>=f*s.a87,j=!!u;return(0,a.jsx)(l.u,{label:r.label,description:j?u:r.description,required:h,error:j,children:(0,a.jsxs)("div",{className:"flex flex-col gap-sp-4",children:[(0,a.jsx)(n.k,{autoSize:!0,minRows:5,maxRows:12,id:`${r.name}-input`,name:r.name,placeholder:r.placeholder,value:v,maxLength:f,disabled:x,required:h,"aria-invalid":j,onChange:e=>p?.(r.name,e.target.value),onBlur:e=>{!g.current&&v.trim()&&(g.current=!0,m("questionnaire_long_answer_entered",{answerLength:v.length,maxLength:f})),F?.(e)}}),k&&(0,a.jsxs)("div",{className:"flex justify-between gap-sp-8",children:[(0,a.jsx)(d.D.Body,{size:"12",weight:"regular",color:"text-theme-status-error",children:w?b("checkout:intakeForm.characterLimitReached"):""}),(0,a.jsx)(d.D.Body,{size:"12",weight:"regular",color:w?"text-theme-status-error":"text-theme-text-on-surface-secondary",children:b("checkout:intakeForm.charactersCount",{count:v.length,max:f})})]})]})})}}}]);

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.