PageSourceSearch

https://puraenergiapositivia.web.app/_next/static/chunks/1649-093cd0369f0a04b0.js

js puraenergiapositivia.web.app collected 2026-10-03 12:36:23 UTC 9,156 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]="970147b4-8fba-4ef2-9eb5-b34186366ab3",e._sentryDebugIdIdentifier="sentry-dbid-970147b4-8fba-4ef2-9eb5-b34186366ab3")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1649],{61649:function(e,i,t){t.r(i);var o=t(85893),l=t(28009),n=t(67748),s=t(67294),r=t(39424),d=t(5152),a=t.n(d),p=t(52586),x=t(14440),c=t(97353),u=t(35465),h=t(94246),m=t(59505),f=t(26196),v=t(8658),g=t(80158),y=t(48099),b=t(54421),w=t(63088),j=t(25578),C=t(59546),S=t(84343),Z=t(67433),k=t(11163);let I=a()(()=>t.e(4581).then(t.bind(t,84554)),{loadableGenerated:{webpack:()=>[84554]},ssr:!1});i.default=e=>{var i,t,d,a,_,F,D,N,U,W,z,R,E,H,B,T,M,G,O,P,A,V,X,K;let{locked:L,media:q,language:J,i18nDocs:Q,onCompleteHandler:Y,onPlayCallBack:$,isPremiumLocked:ee,onSignUpPrompt:ei,onPremiumLockedClick:et,collapsibleDetails:eo=!1,isCompleted:el=!1}=e,en=(0,k.useRouter)(),[es,er]=(0,s.useState)(),[ed,ea]=(0,s.useState)(),ep=(0,g.CG)(e=>e.auth),ex=(0,g.CG)(e=>e.db.media),[ec,eu]=(0,s.useState)(),[eh,em]=(0,s.useState)(),ef=(0,g.CG)(e=>e.config),{appUser:ev}=ep,[eg,ey]=(0,s.useState)(!1),[eb,ew]=(0,s.useState)(!1),ej=q.type===n.w_.routine,eC=(0,s.useMemo)(()=>
1ej?(0,b.Ci)(q,q.docId):null,[ej,q]),[eS,eZ]=(0,s.useState)({}),[ek,eI]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(!eC)return;let e=!1;return(async()=>{try{let i=Array.from(new Set(eC.exerciseGroups.flatMap(e=>e.steps).map(e=>e.exerciseId).filter(Boolean))),t=new Map((null!=ex?ex:[]).map(e=>[e.docId,e])),o={},l=[];i.forEach(e=>{let i=t.get(e);i?o[e]=(0,b.BL)(i,e):l.push(e)});let n=l.length?await (0,b.z1)(l):{};e||eZ({...o,...n})}catch(e){r.Tb(e)}})(),()=>{e=!0}},[eC,ex]);let e_=!ev&&!ee,eF=()=>{ey(!eg)},eD=e=>null!==e&&"object"==typeof e;(0,s.useEffect)(()=>{var e,i,t;let o=q.type===n.w_.video?(0,p.hV)(q):q.type===n.w_.audio?(0,p.vO)(q):null;if(o){let t,l,s;let r=[];if(o.type===n.w_.video){let i=o.videoUrl;t="string"==typeof i?i:eD(i)&&J?i[J]:void 0,l=o.description,s=o.propsNeeded,r=null!==(e=o.resources)&&void 0!==e?e:[]}else if(o.type===n.w_.audio){let e=o.audioUrl;t="string"==typeof e?e:eD(e)&&J?e[J]:void 0,l=o.description,s=o.propsNeeded,r=null!==(i=o.resources)&&void 0!==i?i:[]}er(t),ea(l),em(r),eu(s)}else ej&&eC?(er(void 0),ea(eC.description),em(null!==(t=eC.resources)&&void 0!==t?t:[]),eu(eC.propsNeeded)):(er(void 0),ea(void 0),em([]),eu(void 0))},[]);let eN=!!ed||!!ec||eh&&0!=eh.length;return(0,o.jsxs)(x.Z,{sx:{flexDirection:eo?"column":{xs:"column",sm:"column",md:"row"},display:"flex",alignItems:"start",justifyContent:"space-between"},children:[(0,o.jsx)(x.Z,{width:eo?"100%":{xs:"100%",sm:"100%",md:"60%"},sx:{flexDirection:"column",display:"flex",alignItems:"start",justifyContent:"space-between"},children:q&&(0,o.jsxs)(x.Z,{sx:{position:"relative",width:"100%",maxWidth:"1248px"},children:[q.type===n.w_.video&&es?(0,o.jsx)(I,{locked:!ev||L,src:es,width:"730px",heightMobile:"196px",heightTablet:"400px",heightDesktop:"470px",onVideoEnded:Y,onPlayCallBack:$,posterUrl:q.imageUrl,primaryColor:null===(i=ef.paywall)||void 0===i?void 0:i.theme.primary_main,firebaseUserId:ep.firebaseUserId,media:q,isFavourite:(0,y.XC)({mediaId:q.docId,mediaIds:null!==(V=null==ev?void 0:ev.favorites)&&void 0!==V?V:[]}),isCompleted:el,onCompleteCallBack:Y}):q.type===n.w_.audio&&es?(0,o.jsx)(C.default,{locked:!ev||L,isFavourite:(0,y.XC)({mediaId:q.docId,mediaIds:null!==(X=null==ev?void 0:ev.favorites)&&void 0!==X?X:[]}),isCompleted:el,onCompleteCallBack:()=>{Y()},onPlayCallBack:$,primaryColor:null===(t=ef.paywall)||void 0===t?void 0:t.theme.primary_main,src:es,onAudioEnded:Y,firebaseUserId:ep.firebaseUserId,media:q,posterUrl:q.imageUrl,width:"730px",heightMobile:"196px",heightTablet:"400px",heightDesktop:"470px"}):(0,o.jsx)(x.Z,{className:"relative w-full",sx:{maxWidth:"730px","@media (max-width: 600px)":{height:"196px"},"@media (min-width: 601px) and (max-width: 960px)":{height:"400px"},"@media (min-width: 961px)":{height:"470px"}},children:(0,o.jsxs)(x.Z,{sx:{width:"100%",height:"100%",borderRadius:"16px"},children:[(0,o.jsx)(l.Z,{src:q.imageUrl,loadedOpacity:.5,sx:{position:"absolute",inset:0,borderRadius:"16px"}}),!L&&(ej&&eC?(0,o.jsx)(x.Z,{sx:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,o.jsx)(c.Z,{onClick:()=>{$(),eI(!0)},startIcon:(0,o.jsx)(f.Z,{}),disableElevation:!0,sx:{textTransform:"none",fontWeight:700,fontSize:"16px",px:"28px",py:"14px",borderRadius:"14px",backgroundColor:null===(d=ef.paywall)||void 0===d?void 0:d.theme.primary_main,color:"#fff","&:hover":{backgroundColor:null===(a=ef.paywall)||void 0===a?void 0:a.theme.primary_main,filter:"brightness(0.94)"}},children:(0,v.i0)({i18nDocs:Q,language:J,text:(null===(D=ef.design)||void 0===D?void 0:null===(F=D.media_page)||void 0===F?void 0:null===(_=F.routine)||void 0===_?void 0:_.start_btn_text)||"Start Routine"})})}):(0,o.jsx)(x.Z,{className:"absolute top-0 right-0 w-full",sx:{p:"24px",width:"730px",display:"flex",flexDirection:"row-reverse",alignItems:"center"},children:(0,o.jsxs)(u.Z,{spacing:"12px",direction:"row",children:[(0,o.jsx)(h.Z,{sx:{fontWeight:800,fontStyle:"italic"},children:(0,v.i0)({i18nDocs:Q,language:J,text:"This content is not supported on Web, please mark it as complete manually, to move forward"})}),(0,o.jsx)(S.default,{postCall:()=>{Y()},isCompleted:el})]})}))]})}),L&&(0,o.jsx)(x.Z,{onClick:()=>e_&&ei?ei():et?et():en.push(n.Z6.SUBSCRIPTION),sx:{position:"absolute",inset:0,backgroundColor:e_?"transparent":"rgba(0,0,0,0.6)",borderRadius:"16px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",zIndex:2},children:!e_&&(0,o.jsx)(Z.default,{})})]})}),(0,o.jsx)(x.Z,{width:"32px",height:"32px"}),(0,o.jsxs)(x.Z,{width:eo?"100%":{xs:"100%",sm:"100%",md:"40%"},sx:{display:"flex",flexDirection:"column"},children:[eo&&eN&&(0,o.jsx)(h.Z,{onClick:()=>ew(!eb),fontWeight:600,fontFamily:null===(N=ef.appSetting)||void 0===N?void 0:N.themes.primaryFontFamily,fontSize:"14px",lineHeight:"24px",color:null===(U=ef.paywall)||void 0===U?void 0:U.theme.primary_main,sx:{cursor:"pointer",pb:eb?"12px":0},children:(0,v.i0)({i18nDocs:Q,language:J,text:eb?"Show less":"Read more"})}),(!eo||eb)&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.Z,{style:{whiteSpace:"pre-wrap"},lineHeight:"24px",fontFamily:null===(W=ef.appSetting)||void 0===W?void 0:W.courseDetail.descriptionFontFamily,color:(0,y.K9)(null===(z=ef.appSetting)||void 0===z?void 0:z.courseDetail.descriptionFontColor),fontWeight:400,fontSize:"16px",children:(0,v.i0)({i18nDocs:Q,language:J,text:null!=ed?ed:""}).slice(0,eg||eo?void 0:650)}),!eo&&(0,v.i0)({i18nDocs:Q,language:J,text:null!=ed?ed:""}).length>650&&(0,o.jsxs)(o.Fragment,{children:[!eg&&"...",!eg&&(0,o.jsx)(h.Z,{onClick:eF,fontWeight:600,fontFamily:null===(R=ef.appSetting)||void 0===R?void 0:R.themes.primaryFontFamily,fontSize:"18px",lineHeight:"24px",color:null===(E=ef.paywall)||void 0===E?void 0:E.theme.primary_main,children:(0,v.i0)({i18nDocs:Q,language:J,text:"Read more"})}),eg&&(0,o.jsx)(h.Z,{onClick:eF,fontWeight:600,fontFamily:null===(H=ef.appSetting)||void 0===H?void 0:H.themes.primaryFontFamily,fontSize:"18px",lineHeight:"24px",color:null===(B=ef.paywall)||void 0===B?void 0:B.theme.primary_main,children:(0,v.i0)({i18nDocs:Q,language:J,text:"Read less"})})]}),ed&&(0,o.jsx)(m.Z,{sx:{pt:"32px"}}),ec&&(0,o.jsxs)(x.Z,{sx:{pt:"32px",display:"flex",flexDirection:"row"},children:[(0,o.jsx)(h.Z,{fontSize:"18px",lineHeight:"24px",fontFamily:null===(T=ef.appSetting)||void 0===T?void 0:T.courseDetail.propsNeededFontFamily,sx:{color:"#".concat(null===(M=ef.appSetting)||void 0===M?void 0:M.courseDetail.propsNeededFontColor),pb:"24px"},fontWeight:600,children:(0,v.i0)({i18nDocs:Q,language:J,text:null!==(K=null===(O=ef.appSetting)||void 0===O?void 0:null===(G=O.propsNeeded)||void 0===G?void 0:G.t
1itle)&&void 0!==K?K:"Props Needed:"})}),(0,o.jsx)(x.Z,{width:"8px"}),(0,o.jsx)(h.Z,{flex:1,fontSize:"18px",lineHeight:"24px",fontFamily:null===(P=ef.appSetting)||void 0===P?void 0:P.courseDetail.propsNeededFontFamily,fontWeight:400,color:"#".concat(null===(A=ef.appSetting)||void 0===A?void 0:A.courseDetail.propsNeededFontColor),children:(0,v.i0)({i18nDocs:Q,language:J,text:ec})})]}),eh&&0!=eh.length&&(0,o.jsx)(j.Z,{hasSubscription:!L,resources:eh,fontWeight:600,fontSizeMobile:"16px",fontSizeTablet:"18px",fontSizeDesktop:"18px",lineHeight:"24px",posterUrl:q.imageUrl})]})]}),eC?(0,o.jsx)(w.Z,{open:ek,routine:eC,exercises:eS,durationOverrides:{},onClose:()=>eI(!1),onCompleted:Y}):null]})}},67433:function(e,i,t){t.r(i),t.d(i,{default:function(){return a}});var o=t(85893),l={src:"/_next/static/media/lockIcon.ae2755b6.svg",height:25,width:25,blurWidth:0,blurHeight:0},n=t(92022),s=t(33367);t(67294);var r=t(25675),d=t.n(r),a=()=>(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)(d(),{src:l,alt:"lock",style:{height:"22px",width:"22px"}})})})}}]);

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.