PageSourceSearch

https://chat.ifeelonline.com/assets/PlansPage-BpSw-lut.js

js ifeelonline.com collected 2026-10-02 03:32:44 UTC 5,492 bytes, 1 lines download raw bytes

1import{r as e,j as s,i as t}from"./vendor-react-BqXu7aan.js";import{u as l}from"./vendor-redux-CV2u9Zzy.js";import{v as i,w as a,y as n,P as o,b as r,F as c,f as d}from"./vendor-storybook-CZEaQSqz.js";import{u as x,t as m}from"./vendor-i18n-BbiHsY4v.js";import{u as p,a as u,g as h,b as j,A as b,c as f,d as y,e as v,s as g,C as N,i as w,f as T,h as C}from"./AppShell-BGTYNCr1.js";/* empty css                      */import{H as A}from"./index-C6QZf508.js";import{g as P}from"./plansActionCreator-DONr6B-6.js";import{R as S,be as k}from"./index-B6N_I7jt.js";import{P as _}from"./PlansInfoContainer-DDJjSoYM.js";import{t as R}from"./vendor-ifeel-DY-fy38U.js";import"./vendor-mui-CiXS2U2q.js";import"./vendor-utils-XhrL1VEp.js";import"./index.esm-yNx01ZJ9.js";import"./vendor-video-BFkd9NQD.js";import"./modalUtils-D2NkpWtz.js";n.use([o]);const V=({items:t,slidersPerView:l,bulletClassName:n,bulletActiveClassName:o,className:r="mb-16 flex gap-3 h-auto"})=>{const c=e.useRef([]);return t.length>0?s.jsx(i,{spaceBetween:28,slidesPerView:l,pagination:{clickable:!0,bulletClass:`swiper-pagination-bullet ${n}`,bulletActiveClass:`swiper-pagination-bullet-active ${o}`},children:t.map((e,t)=>s.jsx(a,{className:r,children:s.jsx("div",{ref:e=>c.current[t]=e,children:e})},t))}):s.jsx(s.Fragment,{})},F=({className:e,children:t})=>s.jsx("div",{className:`block overflow-hidden text-center md:py-10 ${e||""}`,children:t}),I=()=>{const{t:e}=x(),t=p();return s.jsx(F,{className:"relative",children:s.jsxs("div",{className:"mx-auto py-5 text-center md:py-0",children:[s.jsx(r,{textType:"headline-1",fontFamily:t,fontWeight:"semibold",className:"mb-10 px-5",children:e("plans.index.section2.title")}),s.jsx("div",{className:"relative w-full bg-brandPrimary-700 px-5 pb-5 pt-12 sm:px-12 lg:!px-20",style:{backgroundImage:'url("/assets/plants-Br_VcNyz.png")',backgroundPosition:"left bottom",backgroundSize:"288px",backgroundRepeat:"no-repeat"},children:s.jsx(V,{items:h(e),slidersPerView:u(),bulletClassName:"bullet-white",bulletActiveClassName:"bullet-brandPrimary-400"})})]})})},W=()=>{const{t:e}=x(),t=p();return s.jsxs(F,{className:"!py-4 md:!py-10",children:[s.jsx(r,{textType:"headline-1",fontFamily:t,fontWeight:"semibold",className:"md:mb-10",children:e("plans.index.section3.title")}),s.jsx("div",{className:"relative flex items-center p-5",children:s.jsx(V,{items:j(e),slidersPerView:u(),bulletClassName:"bullet-blue"})})]})},E=()=>{const{t:e}=x();return s.jsx(F,{children:s.jsxs("div",{className:"text-text600 mx-auto max-w-174 px-4 py-5 text-center md:py-0",children:[s.jsx(r,{textType:"headline-3",fontWeight:"semibold",className:"mb-10",children:e("plans.index.section5.title")}),s.jsx(b,{items:f(e).map(e=>({titleElement:s.jsx(r,{textType:"title",fontColor:"text-text-600",fontWeight:"semibold",className:"text-left",children:e.question}),itemChildren:s.jsxs("div",{className:"flex flex-col gap-5 whitespace-pre-line pb-5 text-left",children:[s.jsx(r,{textType:"body-2",fontColor:"text-text-600",children:A(e.answer1)}),s.jsx(r,{textType:"body-2",fontColor:"text-text-600",children:A(e.answer2)}),s.jsx(r,{textType:"body-2",fontColor:"text-text-600",children:A(e.answer3??"")})]})}))})]})})},H=()=>{const{t:e}=x(),t=p();return s.jsx(F,{children:s.jsxs("div",{className:"mx-auto max-w-174 px-4",children:[s.jsx(r,{textType:"headline-1",fontFamily:t,fontWeight:"semibold",children:e("plans.index.section1.title")}),s.jsx("img",{src:"/assets/plans_psychologists-LtieJh0i.png",alt:"ifeel psychologists",className:"my-10"}),s.jsx(r,{textType:"subtitle",className:"mb-8",children:e("plans.index.section1.text1")}),s.jsx(r,{textType:"subtitle",children:e("plans.index.section1.text2")})]})})},z=()=>{const{t:e}=x(),t=p();return s.jsxs(F,{children:[s.jsx(r,{textType:"headline-1",fontFamily:t,fontWeight:"semibold",className:"mb-10",children:e("plans.index.section4.title")}),s.jsx("div",{className:"bg-brandPrimary-700 px-4 py-8",children:s.jsxs("div",{className:"m-auto flex max-w-2xl flex-col items-center",children:[s.jsx("img",{src:"/assets/padlock-t3m2VbK_.png",className:"h-60 w-56 items-center",alt:"padlock"}),s.jsx(r,{textType:"body-2",fontColor:"text-white",className:"mt-8",children:e("plans.index.section4.text")})]})})]})},U=({containerRef:e})=>{const{t:t}=x();return s.jsx("div",{className:"flex w-full justify-center",children:s.jsx(c,{buttonType:"button-outline",onClick:()=>{var s;null==(s=e.current)||s.scrollTo({top:0,behavior:"smooth"})},text:t("plans.index.back_to_top"),icon:s.jsx(R,{}),onFocus:e=>e.target.blur()})})},$=()=>{const[i,a]=e.useState(!0),[n,o]=e.useState(void 0),{plans:r}=l(e=>e.plans),c=y(),x=t(),{user:p,setUser:u}=v(),h=e.useRef(null);return e.useEffect(()=>(a(!0),(async()=>{N.getInfoUser(["has_a_valid_subscription"]).then(e=>{var s;if(e){const{hasAValidSubscription:t}=e;(null==p?void 0:p.info)&&u({...p,info:{...p.info,hasAValidSubscription:!!t}}
1),t||w(p)&&!T(p)?(c(g({isSidebarCollapsed:!1})),(null==(s=null==p?void 0:p.therapist)?void 0:s.id)?x(S.CHAT_THERAPIST):x(S.WAITING_THERAPIST,{state:{showTooltip:n}})):(c(C({pageTitle:m(k[S.PLANS].keyForTranslation)})),c(P()),c(g({isSidebarCollapsed:!0})))}}).finally(()=>{a(!1)})})(),()=>{c(g({isSidebarCollapsed:!1}))}),[n]),!r||i?s.jsx(d,{isAbsolute:!1}):s.jsxs("div",{className:"size-full flex-col overflow-x-hidden overflow-y-scroll pb-8",ref:h,children:[s.jsx(_,{plans:r,setShowTooltip:o}),s.jsx(H,{}),s.jsx(I,{}),s.jsx(W,{}),s.jsx(z,{}),s.jsx(E,{}),s.jsx(U,{containerRef:h})]})};export{$ as PlansPage};

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.