1import{R as e,a as t,cW as a,_ as n,aL as s,b9 as l,ba as c,d as i,c as r,a9 as o,r as p,bU as u,F as g,i as m}from"./index.Dcq7Tn10.js";import{b1 as d,gI as E,ah as _,p as f,B as b,T as v,aI as j,H as y,cd as N,gJ as O,gK as P,ai as T,aq as x,g as I,bs as h,fS as S,cX as k,gL as w}from"./main.BpO2XlP_.js";import{D as L,c as M}from"./index.phWszX9b.js";import{R as C}from"./index.Btbzzceh.js";import{R as A}from"./index.C9PI3zUr.js";import{P as R,I as q,b as D}from"./index.TfHq0YND.js";import{S as B}from"./Row.WSDJADOH.js";import"./staticTextEn.UPMVf61n.js";import"./staticTextEs.DJF2PufX.js";import"./staticTextDe.DGaNPAXM.js";import"./staticTextFr.CRVsglAw.js";import"./index.CBLAD0h3.js";import"./index.CXRlv3Ug.js";import"./index.BLxSAvaS.js";import"./utils.CJhm6lXi.js";import"./index.D7gSPFUi.js";function J(t){const{staticText:a,onJoinButtonClick:n}=t;return e.createElement("div",{className:"gaia-plus-page__jumbotron"},e.createElement("div",{className:"gaia-plus-page__jumbotron-container"},e.createElement(d,{type:E}),e.createElement(_,{as:[f.H2_MOBILE,f.H1_DESKTOP]},a.get("jumbotronHeading")),e.createElement("p",{className:"gaia-plus-page__jumbotron-text"},a.get("jumbotronText")),e.createElement(b,{type:v.PRIMARY,className:"gaia-plus-page__jumbotron-button",onClick:n},a.get("joinGaiaPlusNow"))))}function G(t){const{staticText:a,onJoinButtonClick:n}=t;return e.createElement("div",{className:"gaia-plus-page__ceo-talks"},e.createElement("div",{className:"gaia-plus-page__ceo-talks-container"},e.createElement(j,null,a.get("ceoTalksTitleLine1")),e.createElement(y,null,a.get("ceoTalksTitleLine2")),e.createElement("div",{className:"gaia-plus-page__ceo-talks-content"},e.createElement("div",{className:"gaia-plus-page__ceo-talks-video"},e.createElement("div",{className:"gaia-plus-page__video-container"},e.createElement(L,{autoplay:!0,loop:!0,mediaId:139203,playsinline:!0,controls:{type:M}})),e.createElement(b,{type:v.PRIMARY,className:"gaia-plus-page__ceo-talks-button",onClick:n},a.get("joinGaiaPlusNow"))),e.createElement("div",{className:"gaia-plus-page__ceo-talks-text"},e.createElement("p",null,a.get("ceoTalksText1")),e.createElement("p",null,a.get("ceoTalksText2")),e.createElement("p",null,a.get("ceoTalksText3")),e.createElement("p",null,a.get("ceoTalksText4")),e.createElement("div",{className:"gaia-plus-page__ceo-talks-signature"},e.createElement("p",null,a.get("jamesColquhoun")),e.createElement("p",null,a.get("ceoGaia")))))))}function z(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function H(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),n.forEach(function(t){z(e,t,a[t])})}return e}function U(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t}(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}),e}const F=i(),K=!!n(F,["features","optimizedImages"]),Y=!!n(F,["features","rowV3"]);function V(a){const{data:i}=a,r=i.get("id");if(!i||!t.Map.isMap(i)||!i.size||!r||r<=0)return e.createElement("div",{className:"gaia-plus-page__intro-tile-placeholder"});const o=i.get("url",""),p=i.get("title",""),u=i.get("teaser",""),g=i.get("verticalImage"),m="385",d="539";let E="",_="";try{if(K){const e=new URL(g),t=new URL(g),a=s(n(e,"search",""))||{},i=s(n(t,"search",""))||{},r=U(H({},a),{w:m,h:d,fm:"jpg",compress:"auto"}),o=U(H({},i),{w:m,h:d,fm:"webp",q:"100"}),p=l(r),u=l(o);c(e,"search",p),c(t,"search",u),_=e.toString(),E=t.toString()}}catch(f){_=g,E=g}return e.createElement("div",{className:"gaia-plus-page__intro-tile"},e.createElement("div",{className:"gaia-plus-page__intro-tile-hero"},e.createElement(T,{to:o,scrollToTop:!0},K?e.createElement(R,{fallbackSrc:_,width:m,height:d,alt:p,loading:D,sources:[{t
1ype:q,srcSet:E}]}):e.createElement("img",{src:g,loading:"lazy",alt:p}))),e.createElement("p",{className:"gaia-plus-page__intro-tile-teaser"},u))}function W(n){const{series:s,language:l,pmSection:c,sectionId:i}=n;if(!i||!c.size||!s.size)return null;const r=c.get(i),o=r.getIn(["data","data","header","label"]),p=r.getIn(["data","data","footer","label"]),u=N({sectionId:i,pmSection:c}),g=u.getIn([0,"tabContent"],t.List()),m=O({tabs:u,series:s,language:l,tabContentMaxItems:P})?g.slice(0,P):t.List(new Array(P).fill(t.Map()));return e.createElement("div",{className:"gaia-plus-page__intro"},e.createElement("div",{className:"gaia-plus-page__intro-container"},e.createElement(y,null,o),e.createElement("p",{className:"gaia-plus-page__intro-text"},p),e.createElement("div",{className:"gaia-plus-page__intro-tiles"},Y?e.createElement(A,{style:B.TILES_GAIA_PLUS},m.map(n=>{const c=Number(n.get("contentId"));return e.createElement(V,{key:c,data:s.getIn([a(c),l,"data"],t.Map())||t.Map()})})):e.createElement(C,{items:m,createAccessor:()=>null,style:B.TILES_GAIA_PLUS,disableHover:!0},n=>{const c=Number(n.get("contentId"));return e.createElement(V,{data:s.getIn([a(c),l,"data"],t.Map())||t.Map()})}))))}function X(t){const{staticText:a,onJoinButtonClick:n}=t;return e.createElement("div",{className:"gaia-plus-page__included"},e.createElement("div",{className:"gaia-plus-page__included-container"},e.createElement(y,null,a.get("includedTitle")),e.createElement("div",{className:"gaia-plus-page__included-section gaia-plus-page__included-section--top"},e.createElement(y,null,a.get("workshopsEvents")),e.createElement("p",{className:"gaia-plus-page__included-section-text"},a.get("workshopsEventsText"))),e.createElement("div",{className:"gaia-plus-page__included-section gaia-plus-page__included-section--bottom"},e.createElement(y,null,a.get("guidedPrograms")),e.createElement("p",{className:"gaia-plus-page__included-section-text"},a.get("guidedProgramsText"))),e.createElement(b,{type:v.PRIMARY,className:"gaia-plus-page__included-button",onClick:n},a.get("joinGaiaPlusNow"))))}function Z(t){const{staticText:a,onJoinButtonClick:n}=t;return e.createElement("div",{className:"gaia-plus-page__membership"},e.createElement("div",{className:"gaia-plus-page__membership-container"},e.createElement(y,null,a.get("membershipTitle")),e.createElement("p",{className:"gaia-plus-page__membership-text"},a.get("membershipText")),e.createElement("div",{className:"gaia-plus-page__membership-poster"}),e.createElement(b,{type:v.PRIMARY,className:"gaia-plus-page__membership-button",onClick:n},a.get("joinGaiaPlusNow"))))}function Q(t){const{staticText:a}=t;return e.createElement("div",{className:"gaia-plus-page__join"},e.createElement("div",{className:"gaia-plus-page__join-container"},e.createElement(y,null,a.get("joinGaiaPlusToday")),e.createElement("div",{className:"gaia-plus-page__join-content"})))}function $(t){const{staticText:a}=t;return e.createElement("div",{className:"gaia-plus-page__upgrade"},e.createElement("div",{className:"gaia-plus-page__upgrade-container"},e.createElement(y,null,a.get("upgradetoGaiaPlus")),e.createElement("div",{className:"gaia-plus-page__upgrade-content"})))}function ee(t){const{sectionId:a,pmSection:n,language:s,faqs:l}=t;if(!a||!n.size||!l.size)return null;const c=n.get(a).getIn(["data","data","header","label"]);return e.createElement("div",{className:"gaia-plus-page__faq"},e.createElement("div",{className:"gaia-plus-page__faq-container"},e.createElement(y,null,c),l.valueSeq().map(t=>{const a=t.getIn([s,"data","id"]),n=t.getIn([s,"data","title"]),l=t.getIn([s,"data","teaser"]);return t.getIn([s,"processing"])?null:e.createElement("div",{key:a,className:"gaia-plus-page__faq-item"},e.createElement(x,null,n),e.createElement("p",null,l))})))}function te(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function ae(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t.push.apply(t,a)}return t}
1(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}),e}const ne=r(e=>{const{pmScreen:a=t.Map(),pmSection:n=t.Map()}=e,s=o(e.user.getIn(["data","language"],t.List())),l=h({pmScreen:a,screenType:S,language:s})||t.List();return{auth:e.auth,user:e.user,plans:e.plans,eventsList:e.liveAccessEvents.getIn(["eventsList",s,"data","events"]),language:s,path:e.resolver.get("path"),pmSection:n,sectionIds:l,faqs:w(e),series:k(e),staticText:e.staticText.getIn(["data","gaiaPlusPage","data"],t.Map())}},e=>{const t=I(e);return{setPageSeo:t.page.setPageSeo,getLiveAccessEventList:t.liveAccessEvents.getLiveAccessEventList,setPlanChangeSelected:t.plans.setPlanChangeSelected,renderModal:t.dialog.renderModal}})(function({auth:t,path:a,faqs:n,series:s,language:l,pmSection:c,sectionIds:i,staticText:r,setPageSeo:o,getLiveAccessEventList:m}){const[d,E]=p.useState(),[_,f]=p.useState(),b=p.useRef(),v=()=>{b.current&&requestAnimationFrame(()=>b.current.scrollIntoView())};return p.useEffect(()=>{E(c.findKey(e=>i.contains(e.getIn(["data","id"]))&&"faq"===e.getIn(["data","data","displayMode"]))),f(c.findKey(e=>i.contains(e.getIn(["data","id"]))&&"tile-list-5x7"===e.getIn(["data","data","displayMode"])))},[c,i]),p.useEffect(()=>{m(l)},[l]),p.useEffect(()=>{const e=u({pathname:a,loggedIn:g(t)});o(ae(function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},n=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),n.forEach(function(t){te(e,t,a[t])})}return e}({},e),{location:a}))},[]),e.createElement("div",{className:"gaia-plus-page"},e.createElement(J,{staticText:r,onJoinButtonClick:v}),e.createElement(G,{staticText:r,onJoinButtonClick:v}),e.createElement(W,{sectionId:_,pmSection:c,series:s,language:l}),e.createElement(X,{staticText:r,onJoinButtonClick:v}),e.createElement(Z,{staticText:r,onJoinButtonClick:v}),e.createElement(Q,{staticText:r,onJoinButtonClick:v}),e.createElement("div",{ref:b},e.createElement($,{staticText:r})),e.createElement(ee,{sectionId:d,pmSection:c,faqs:n,language:l}))}),se=m(Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"})));export{se as default}; 2//# sourceMappingURL=index.CXa-jbZo.js.map
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.