1/*! For license information please see 5228.70de6a15.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkmwh_website=self.webpackChunkmwh_website||[]).push([[5228,4652],{14966:(e,t,o)=>{o.d(t,{h:()=>d});var n,a,r,l,s=o(9950);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i.apply(null,arguments)}function c(e,t){let{title:o,titleId:c,...d}=e;return s.createElement("svg",i({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},d),o?s.createElement("title",{id:c},o):null,n||(n=s.createElement("path",{d:"M2.5 5H4.16667H17.5",stroke:"#C00000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),a||(a=s.createElement("path",{d:"M6.66602 4.99935V3.33268C6.66602 2.89065 6.84161 2.46673 7.15417 2.15417C7.46673 1.84161 7.89065 1.66602 8.33268 1.66602H11.666C12.108 1.66602 12.532 1.84161 12.8445 2.15417C13.1571 2.46673 13.3327 2.89065 13.3327 3.33268V4.99935M15.8327 4.99935V16.666C15.8327 17.108 15.6571 17.532 15.3445 17.8445C15.032 18.1571 14.608 18.3327 14.166 18.3327H5.83268C5.39065 18.3327 4.96673 18.1571 4.65417 17.8445C4.34161 17.532 4.16602 17.108 4.16602 16.666V4.99935H15.8327Z",stroke:"#C00000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),r||(r=s.createElement("path",{d:"M8.33398 9.16602V14.166",stroke:"#C00000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),l||(l=s.createElement("path",{d:"M11.666 9.16602V14.166",stroke:"#C00000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}const d=s.forwardRef(c);o.p},44639:(e,t,o)=>{o.d(t,{h:()=>i});var n,a,r=o(9950);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l.apply(null,arguments)}function s(e,t){let{title:o,titleId:s,...i}=e;return r.createElement("svg",l({width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":s},i),o?r.createElement("title",{id:s},o):null,n||(n=r.createElement("path",{d:"M24 10V38",stroke:"#2F2F2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),a||(a=r.createElement("path",{d:"M10 24H38",stroke:"#2F2F2F",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}const i=r.forwardRef(s);o.p},41566:(e,t,o)=>{o.d(t,{A:()=>l});o(9950);var n=o(72772),a=o(14053),r=o(44414);const l=e=>{var t,o;let{state:l,noindex:s=!1}=e;const{meta_title:i,meta_description:c,canonical_url:d,open_graph_tags:h}=l,p=null!==h&&void 0!==h&&null!==(t=h.og_imageConnection)&&void 0!==t&&t.edges&&(null===h||void 0===h?void 0:h.og_imageConnection.edges.length)>0?null===h||void 0===h||null===(o=h.og_imageConnection.edges[0].node)||void 0===o?void 0:o.url:"https://images.melissawoodhealth.com/v3/assets/bltac686dfe3e51fdf7/blt6b0c31f6d18f755e/665092cb1c75b3f08f8e7f7f/983A0691-Edit_(1).jpg";return(0,r.jsxs)(n.A,{title:i,children:[(0,r.jsx)("meta",{name:"description",content:c}),(0,r.jsx)("meta",{property:"og:title",content:null===h||void 0===h?void 0:h.og_title}),(0,r.jsx)("meta",{property:"og:description",content:null===h||void 0===h?void 0:h.og_description}),(0,r.jsx)("meta",{property:"og:type",content:null!==h&&void 0!==h&&h.og_type?null===h||void 0===h?void 0:h.og_type:"website"}),(0,r.jsx)("meta",{property:"og:locale",content:null!==h&&void 0!==h&&h.og_locale?null===h||void 0===h?void 0:h.og_locale:"en-us"}),(0,r.jsx)("meta",{property:"og:site_name",content:null!==h&&void 0!==h&&h.og_site_name?null===h||void 0===h?void 0:h.og_site_name:a.hq}),(0,r.jsx)("meta",{property:"og:image",content:p}),(0,r.jsx)("meta",{property:"og:url",content:null!==d&&void 0!==d?d:window.location.href}),(!(0,a.Gc)()||s)&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]})}},98784:(e,t,o)=>{o.d(t,{A:()=>N});var n,a,r=o(9950),l=o(63464),s=o(40033),i=o(28170),c=o(40194),d=o(96557),h=o(3927),p=o(10226),u=o(79739),m=o(85125),v=o(28429),g=o(50416),f=o(90188),y=o(4200),w=o(4356),b=o(58920),x=o(14053),A=o(34834),j=o(48657),S=o(6569);function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},L.apply(null,arguments)}function M(e,t){let{title:o,titleId:l,...s}=e;return r.createElement("svg",L({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":l},s),o?r.createElement("title",{id:l},o):null,n||(n=r.createElement("path",{d:"M12 5V19",stroke:"#AC9379",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),a||(a=r.createElement("path",{d:"M4.99997 12H19",stroke:"#AC9379",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}const T=r.forwardRef(M);o.p;var E=o(44414);const N=e=>{var t,o,n;let{userWatchListData:a,videoId:L,playlistModalState:M,fetchMore:N,setPlaylistModalState:C,onAddVideoToWatchList:k}=e;const _=(0,r.useRef)(null),R=(0,v.Zp)(),{SnackBarDOM:D,setSnackBarMessage:O}=(0,j.y)(),[B,P]=(0,r.useState)(),[Y,F]=(0,r.useState)(),I=(e,t)=>{if(100===e)F({id:e,name:"Favorite"});else{var o,n;const t=null===a||void 0===a||null===(o=a.watchlists)||void 0===o?void 0:o.filter((e=>"SHARED"!==e.ownership)).find((t=>t.watchlistExternalId===e));F({id:e,name:null!==(n=null===t||void 0===t?void 0:t.name)&&void 0!==n?n:""})}null===k||void 0===k||k(e,t)};return(0,E.jsxs)(E.Fragment,{children:[D,(0,E.jsxs)(l.A,{open:M.isModalOpen,onClose:()=>{C(x.hm),P(void 0)},className:"dialog-box wrapper-box user-watchlist-modal",children:[(0,E.jsxs)(s.A,{children:[(0,E.jsxs)("h3",{className:"medium",children:[M.addVodToPlaylistModal&&"Add To Class List",M.createNewPlaylistModal&&"Create New Class List",M.playlistAddedModal&&"Class Added To \u201c".concat(null===Y||void 0===Y?void 0:Y.name,"\u201d Class List")]}),(0,E.jsx)(S.h,{className:"close-icon",onClick:()=>{P(void 0),C(x.hm)}})]}),(0,E.jsxs)(i.A,{children:[M.addVodToPlaylistModal&&(0,E.jsxs)("div",{children:[(0,E.jsx)("div",{className:"user-playlist-modal",ref:_,id:"scrollableDiv",children:(0,E.jsx)(g.A,{dataLength:null===a||void 0===a||null===(t=a.watchlists)||void 0===t?void 0:t.filter((e=>"SHARED"!==e.ownership)).length,next:()=>N(),hasMore:null===a||void 0===a||null===(o=a.pagingInfo)||void 0===o?void 0:o.moreDataAvailable,loader:(0,E.jsx)(b.A,{_class:"relative"}),scrollableTarget:"scrollableDiv",children:null===a||void 0===a||null===(n=a.watchlists)||void 0===n?void 0:n.filter((e=>"SHARED"!==e.ownership)).map((e=>(0,E.jsxs)("div",{className:"watchlist-content",children:[(0,E.jsx)(c.A,{checked:(null===e||void 0===e?void 0:e.watchlistExternalId)===B,onChange:()=>P(null===e||void 0===e?void 0:e.watchlistExternalId),value:B,name:"watchList-data",disableRipple:!0}),(0,E.jsx)("p",{className:"watchlist-name",children:null===e||void 0===e?void 0:e.name})]},"watchlist-".concat(e.watchlistExternalId))))})}),(0,E.jsxs)("div",{role:"none",className:"watchlist-content cursor-pointer",onClick:()=>{P(void 0),C({...M,addVodToPlaylistModal:!1,createNewPlaylistModal:!0})},children:[(0,E.jsx)(T,{className:"mr-24"}),(0,E.jsx)("p",{className:"brown-text add-new-classlist",children:"Create New Class List"})]})]}),M.createNewPlaylistModal&&(0,E.jsx)("div",{children:(0,E.jsx)(m.l1,{initialValues:{playListName:""},onSubmit:async(e,t)=>{let{setSubmitting:o}=t;
2try{const t={name:e.playListName},n=await(0,w.B6)(t);n&&k&&L?(F({id:n.id,name:e.playListName}),k(n.id,L),C({...M,createNewPlaylistModal:!1,playlistAddedModal:!0}),o(!1)):(C({...M,createNewPlaylistModal:!1,isModalOpen:!1}),o(!1),O(x.nl.success.classListAction("created"),"success"))}catch(n){console.error(n)}},validate:(0,f.t)(y.o),enableReinitialize:!0,children:e=>{var t;let{values:o,errors:n,touched:a,isValid:r,dirty:l,isSubmitting:s,handleChange:i,handleBlur:c}=e;return(0,E.jsxs)(m.lV,{className:"form-wrapper",children:[(0,E.jsxs)(d.A,{children:[(0,E.jsx)("label",{className:"sub-head",htmlFor:"playlist-name",children:"Class List Name"}),(0,E.jsx)(h.A,{type:"text",name:"playListName",variant:"outlined",value:o.playListName,error:a.playListName&&!!n.playListName,onChange:i,onBlur:c,inputProps:{maxLength:25},id:"playlist-name"}),a.playListName&&!(null===n||void 0===n||!n.playListName)&&(0,E.jsx)("span",{className:"error-text full-width",children:n.playListName}),(0,E.jsxs)("p",{className:"small-copy form-validation",children:[null===(t=o.playListName)||void 0===t?void 0:t.length,"/25"]})]}),(0,E.jsx)(p.A,{className:"secondary-btn full-width",variant:"contained",disabled:!(r&&l)||s,type:"submit",sx:{strokeWidth:"1.5px"},children:"Create"})]})}})}),M.playlistAddedModal&&(0,E.jsx)("div",{children:(0,E.jsx)("p",{className:"small-copy",children:"Add more classes to the class lists and share it with your friends"})})]}),(0,E.jsxs)(u.A,{className:"decision-btns",children:[M.addVodToPlaylistModal&&(0,E.jsx)(p.A,{variant:"contained",className:"secondary-btn full-width",onClick:()=>{P(void 0),B&&I&&L&&I(B,L)},disabled:!B,autoFocus:!0,children:"Save"}),M.playlistAddedModal&&(0,E.jsxs)("div",{className:"classlist-added",children:[(0,E.jsx)(p.A,{variant:"contained",className:"tertiary-btn full-width",onClick:()=>{R(100===(null===Y||void 0===Y?void 0:Y.id)?"".concat(A.bw.FAVORITE):"".concat(A.bw.MY_CLASSLIST,"/").concat(null===Y||void 0===Y?void 0:Y.id))},children:"To Class List"}),(0,E.jsx)(p.A,{variant:"contained",className:"secondary-btn full-width",onClick:()=>C({...M,isModalOpen:!1,playlistAddedModal:!1}),children:"Done"})]})]})]})]})}},90080:(e,t,o)=>{o.r(t),o.d(t,{default:()=>f});var n=o(9950),a=o(10226),r=o(60899),l=o(50416),s=o(40434),i=o(58920),c=o(14053),d=o(58570),h=o(4356),p=o(98784),u=o(41566),m=o(44639),v=(o(7755),o(10862),o(44414));const g={meta_title:"MWH | My Class Lists"},f=()=>{var e,t,o;const[f,y]=(0,n.useState)(c.hm),[w,b]=(0,n.useState)(!0),[x,A]=(0,n.use
2State)(),[j,S]=(0,n.useState)({name:"Favorites",thumbnails:[]}),[L,M]=(0,n.useState)(!0),[T,E]=(0,n.useState)({message:"",type:"error"}),N=(0,n.useCallback)((async()=>{try{const e=await(0,h.qM)(1);if(e&&e.events.length>0){const t=Array.from(Object.values(e.events),(e=>e.thumbnailUrl));S({name:"Favorites",thumbnails:t})}}catch(e){console.error(e)}}),[]);(0,n.useEffect)((()=>{N().catch((e=>console.log(e)))}),[N]);const C=(0,n.useCallback)((async()=>{try{const e=await(0,h.ll)(c.VY);e&&A(e)}catch(e){console.error(e),E({...T,message:c.nl.error.endpointError}),setTimeout((()=>{E({...T,message:""})}),6e3)}finally{M(!1)}}),[]);(0,n.useEffect)((()=>{C().catch((e=>console.log(e)))}),[C]);return(0,n.useEffect)((()=>{!f.createNewPlaylistModal&&C()}),[f.createNewPlaylistModal]),(0,v.jsxs)("div",{className:"page beige-background all-videos",children:[(0,v.jsx)(u.A,{state:g,"data-testid":"seo"}),x&&(0,v.jsxs)("div",{className:"wrapper",children:[(0,v.jsxs)("div",{className:"d-flex create-classlist",children:[(0,v.jsx)("div",{className:"title",children:(0,v.jsx)("h5",{className:"light capitalize",children:"My Class Lists"})}),(0,v.jsx)("div",{className:"filter-btn right-text",children:(0,v.jsxs)(a.A,{variant:"contained",className:"secondary-btn create-classlist-btn",onClick:()=>{y({createNewPlaylistModal:!0,playlistAddedModal:!1,isModalOpen:!0,addVodToPlaylistModal:!1})},"data-testid":"create-class-list",children:[(0,v.jsx)(m.h,{width:24,height:24}),(0,v.jsx)("span",{className:"hide-mobile small-in-mobile",children:"\xa0 Create Class List"})]})})]}),(0,v.jsx)("div",{className:"classlist-wrapper classlist",children:(0,v.jsx)("div",{className:"classlist-card-wrapper",children:x&&(0,v.jsx)(l.A,{dataLength:null===x||void 0===x||null===(e=x.watchlists)||void 0===e?void 0:e.length,next:async()=>{try{var e,t,o;const n=await(0,h.ll)(c.VY,null===x||void 0===x||null===(e=x.pagingInfo)||void 0===e?void 0:e.lastSeen);n&&x&&(null===x||void 0===x||null===(t=x.watchlists)||void 0===t?void 0:t.length)>0&&A({pagingInfo:null===n||void 0===n?void 0:n.pagingInfo,watchlists:[...null===x||void 0===x?void 0:x.watchlists,...null===n||void 0===n?void 0:n.watchlists]}),b(null===n||void 0===n||null===(o=n.pagingInfo)||void 0===o?void 0:o.moreDataAvailable)}catch(n){console.error(n)}},hasMore:w,loader:L&&(0,v.jsx)(i.A,{_class:"relative"}),style:{overflowY:"hidden"},"data-testid":"classlist-card",children:(0,v.jsxs)(r.Ay,{container:!0,className:"video-grid-container",rowSpacing:{xs:2,sm:3,md:3},columnSpacing:{xs:2,sm:2.5,md:2.5},children:[j&&(0,v.jsx)(r.Ay,{item:!0,xs:12,sm:6,md:4,lg:2.4,"data-testid":"favorites-data",children:(0,v.jsx)(d.A,{item:j,isFavorite:!0})}),(null===x||void 0===x||null===(t=x.watchlists)||void 0===t?void 0:t.length)>0&&(null===x||void 0===x||null===(o=x.watchlists)||void 0===o?void 0:o.map((e=>(0,v.jsx)(r.Ay,{item:!0,xs:12,sm:6,md:4,lg:2.4,children:(0,v.jsx)(d.A,{item:e,getClasslistData:C,setSnackbarVisible:E})},e.watchlistExternalId))))]})})})})]}),(0,v.jsx)(p.A,{playlistModalState:f,setPlaylistModalState:y,"data-testid":"playlist-modal"}),T.message&&(0,v.jsx)(s.A,{message:T.message,type:T.type}),L&&(0,v.jsx)(i.A,{transparent:!0,"data-testid":"loader"})]})}},40033:(e,t,o)=>{o.d(t,{A:()=>g});var n=o(58168),a=o(98587),r=o(9950),l=o(72004),s=o(74061),i=o(82053),c=o(59254),d=o(48283),h=o(23025),p=o(5536),u=o(44414);const m=["className","id"],v=(0,c.Ay)(i.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),g=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiDialogTitle"}),{className:i,id:c}=o,g=(0,a.A)(o,m),f=o,y=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},h.t,t)})(f),{titleId:w=c}=r.useContext(p.A);return(0,u.jsx)(v,(0,n.A)({component:"h2",className:(0,l.A)(y.root,i),ownerState:f,ref:t,variant:"h6",id:null!=c?c:w},g))}))},25333:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(98587),a=o(58168),r=o(9950),l=o(72004),s=o(74061),i=o(99269),c=o(59254),d=o(48283),h=o(97468),p=o(61676),u=o(80863),m=o(68483);function v(e){return(0,m.Ay)("MuiIconButton",e)}const g=(0,u.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var f=o(44414);const y=["edge","children","className","color","disabled","disableFocusRipple","size"],w=(0,c.Ay)(h.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"default"!==o.color&&t["color".concat((0,p.A)(o.color))],o.edge&&t["edge".concat((0,p.A)(o.edge))],t["size".concat((0,p.A)(o.size))]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!o.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,i.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===o.edge&&{marginLeft:"small"===o.size?-3:-12},"end"===o.edge&&{marginRight:"small"===o.size?-3:-12})}),(e=>{let{theme:t,ownerState:o}=e;var n;const r=null==(n=(t.vars||t).palette)?void 0:n[o.color];return(0,a.A)({},"inherit"===o.color&&{color:"inherit"},"inherit"!==o.color&&"default"!==o.color&&(0,a.A)({color:null==r?void 0:r.main},!o.disableRipple&&{"&:hover":(0,a.A)({},r&&{backgroundColor:t.vars?"rgba(".concat(r.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,i.X4)(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===o.size&&{padding:5,fontSize:t.typography.pxToRem(18)},"large"===o.size&&{padding:12,fontSize:t.typography.pxToRem(28)},{["&.".concat(g.disabled)]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})})),b=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:i,className:c,color:h="default",disabled:u=!1,disableFocusRipple:m=!1,size:g="medium"}=o,b=(0,n.A)(o,y),x=(0,a.A)({},o,{edge:r,color:h,disabled:u,disableFocusRipple:m,size:g}),A=(e=>{const{classes:t,disabled:o,color:n,edge:a,size:r}=e,l={root:["root",o&&"disabled","default"!==n&&"color".concat((0,p.A)(n)),a&&"edge".concat((0,p.A)(a)),"size".concat((0,p.A)(r))]};return(0,s.A)(l,v,t)})(x);return(0,f.jsx)(w,(0,a.A)({className:(0,l.A)(A.root,c),centerRipple:!0,focusRipple:!m,disabled:u,ref:t},b,{ownerState:x,children:i}))}))},82053:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(98587),a=o(58168),r=o(9950),l=o(72004),s=o(80237),i=o(74061),c=o(59254),d=o(48283),h=o(61676),p=o(80863),u=o(68483);function m(e){return(0,u.Ay)("MuiTypography",e)}
2(0,p.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var v=o(44414);const g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],f=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],"inherit"!==o.align&&t["align".concat((0,h.A)(o.align))],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})((e=>{let{theme:t,ownerState:o}=e;return(0,a.A)({margin:0},"inherit"===o.variant&&{font:"inherit"},"inherit"!==o.variant&&t.typography[o.variant],"inherit"!==o.align&&{textAlign:o.align},o.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},o.gutterBottom&&{marginBottom:"0.35em"},o.paragraph&&{marginBottom:16})})),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},b=r.forwardRef((function(e,t){const o=(0,d.A)({props:e,name:"MuiTypography"}),r=(e=>w[e]||e)(o.color),c=(0,s.A)((0,a.A)({},o,{color:r})),{align:p="inherit",className:u,component:b,gutterBottom:x=!1,noWrap:A=!1,paragraph:j=!1,variant:S="body1",variantMapping:L=y}=c,M=(0,n.A)(c,g),T=(0,a.A)({},c,{align:p,color:r,className:u,component:b,gutterBottom:x,noWrap:A,paragraph:j,variant:S,variantMapping:L}),E=b||(j?"p":L[S]||y[S])||"span",N=(e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:a,variant:r,classes:l}=e,s={root:["root",r,"inherit"!==e.align&&"align".concat((0,h.A)(t)),o&&"gutterBottom",n&&"noWrap",a&&"paragraph"]};return(0,i.A)(s,m,l)})(T);return(0,v.jsx)(f,(0,a.A)({as:E,ref:t,ownerState:T,className:(0,l.A)(N.root,u)},M))}))},50416:(e,t,o)=>{o.d(t,{A:()=>d});var n=o(9950),a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},a(e,t)};var r=function(){return r=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)};var l="Pixel",s="Percent",i={unit:s,value:.8};function c(e){return"number"===typeof e?{unit:s,value:100*e}:"string"===typeof e?e.match(/^(\d*(\.\d+)?)px$/)?{unit:l,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:s,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),i):(console.warn("scrollThreshold should be string or number"),i)}const d=function(e){function t(t){var o=e.call(this,t)||this;return o.lastScrollTop=0,o.actionTriggered=!1,o.startY=0,o.currentY=0,o.dragging=!1,o.maxPullDownDistance=0,o.getScrollableTarget=function(){return o.props.scrollableTarget instanceof HTMLElement?o.props.scrollableTarget:"string"===typeof o.props.scrollableTarget?document.getElementById(o.props.scrollableTarget):(null===o.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n happen because the element may not have been added to DOM yet.\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n "),null)},o.onStart=function(e){o.lastScrollTop||(o.dragging=!0,e instanceof MouseEvent?o.startY=e.pageY:e instanceof TouchEvent&&(o.startY=e.touches[0].pageY),o.currentY=o.startY,o._infScroll&&(o._infScroll.style.willChange="transform",o._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},o.onMove=function(e){o.dragging&&(e instanceof MouseEvent?o.currentY=e.pageY:e instanceof TouchEvent&&(o.currentY=e.touches[0].pageY),o.currentY<o.startY||(o.currentY-o.startY>=Number(o.props.pullDownToRefreshThreshold)&&o.setState({pullToRefreshThresholdBreached:!0}),o.currentY-o.startY>
21.5*o.maxPullDownDistance||o._infScroll&&(o._infScroll.style.overflow="visible",o._infScroll.style.transform="translate3d(0px, "+(o.currentY-o.startY)+"px, 0px)")))},o.onEnd=function(){o.startY=0,o.currentY=0,o.dragging=!1,o.state.pullToRefreshThresholdBreached&&(o.props.refreshFunction&&o.props.refreshFunction(),o.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame((function(){o._infScroll&&(o._infScroll.style.overflow="auto",o._infScroll.style.transform="none",o._infScroll.style.willChange="unset")}))},o.onScrollListener=function(e){"function"===typeof o.props.onScroll&&setTimeout((function(){return o.props.onScroll&&o.props.onScroll(e)}),0);var t=o.props.height||o._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;o.actionTriggered||((o.props.inverse?o.isElementAtTop(t,o.props.scrollThreshold):o.isElementAtBottom(t,o.props.scrollThreshold))&&o.props.hasMore&&(o.actionTriggered=!0,o.setState({showLoader:!0}),o.props.next&&o.props.next()),o.lastScrollTop=t.scrollTop)},o.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},o.throttledOnScrollListener=function(e,t,o,n){var a,r=!1,l=0;function s(){a&&clearTimeout(a)}function i(){var i=this,c=Date.now()-l,d=arguments;function h(){l=Date.now(),o.apply(i,d)}r||(n&&!a&&h(),s(),void 0===n&&c>e?h():!0!==t&&(a=setTimeout(n?function(){a=void 0}:h,void 0===n?e-c:e)))}return"boolean"!==typeof t&&(n=o,o=t,t=void 0),i.cancel=function(){s(),r=!0},i}(150,o.onScrollListener).bind(o),o.onStart=o.onStart.bind(o),o.onMove=o.onMove.bind(o),o.onEnd=o.onEnd.bind(o),o}return function(e,t){function o(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(t,e),t.prototype.componentDidMount=function(){if("undefined"===typeof this.props.dataLength)throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"===typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!==typeof this.props.refreshFunction))throw new Error('Mandatory prop "refreshFunction" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage\'')},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?r(r({},t),{prevDataLength:e.dataLength}):null},t.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var o=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,n=c(t);return n.unit===l?e.scrollTop<=n.value+o-e.scrollHeight+1:e.scrollTop<=n.value/100+o-e.scrollHeight+1},t.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var o=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,n=c(t);return n.unit===l?e.scrollTop+o>=e.scrollHeight-n.value:e.scrollTop+o>=n.value/100*e.scrollHeight},t.prototype.render=function(){var e=this,t=r({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),a=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return n.createElement("div",{style:a,className:"infinite-scroll-component__outerdiv"},n.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&n.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},n.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(n.Component)},7755:()=>{}}]); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;
3n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5644e61f-15b2-50d6-a213-e1923584fc1d")}catch(e){}}(); 4//# debugId=5644e61f-15b2-50d6-a213-e1923584fc1d
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.