PageSourceSearch

https://app.puef.ai/assets/plans.page-4M8B_kLb.js

js puef.ai collected 2026-10-05 15:01:23 UTC 7,076 bytes, 1 lines download raw bytes

1import{r as e,a as m,aQ as f,j as t,aT as p,aU as h,aV as x,B as u}from"./index-B4_lKB0j.js";import{P as g}from"./footer-BX70FX0t.js";import{S as E}from"./check_circle_gradient_icon-D4RNYn_F.js";import"./logo_gray-BtbYDzIX.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"3b04a436aaa09b871bbc9aaf912981fe6a3097f5"};var l=new a.Error().stack;l&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[l]="e91d09f2-6422-44b0-98b1-77ae2b932171",a._sentryDebugIdIdentifier="sentry-dbid-e91d09f2-6422-44b0-98b1-77ae2b932171")}catch{}})();const _=a=>e.createElement("svg",{width:62,height:62,viewBox:"0 0 62 62",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},e.createElement("g",{filter:"url(#filter0_ddi_1053_5988)"},e.createElement("rect",{x:4,y:4,width:54,height:54,rx:27,fill:"white"}),e.createElement("rect",{x:4,y:4,width:54,height:54,rx:27,fill:"#213860"}),e.createElement("rect",{x:4,y:4,width:54,height:54,rx:27,fill:"url(#paint0_linear_1053_5988)",fillOpacity:.2})),e.createElement("g",{filter:"url(#filter1_di_1053_5988)"},e.createElement("path",{d:"M39.8438 28.3325C40.3577 28.6292 40.3577 29.3708 39.8438 29.6675L25.6562 37.8588C25.1423 38.1554 24.5 37.7846 24.5 37.1912L24.5 20.8088C24.5 20.2154 25.1423 19.8446 25.6562 20.1412L39.8438 28.3325Z",fill:"white"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_ddi_1053_5988",x:0,y:0,width:62,height:62,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feMorphology",{radius:4,operator:"dilate",in:"SourceAlpha",result:"effect1_dropShadow_1053_5988"}),e.createElement("feOffset",null),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.886275 0 0 0 0 0.952941 0 0 0 0 0.929412 0 0 0 1 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1053_5988"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feMorphology",{radius:1.5625,operator:"erode",in:"SourceAlpha",result:"effect2_dropShadow_1053_5988"}),e.createElement("feOffset",{dy:1.5625}),e.createElement("feGaussianBlur",{stdDeviation:1.5625}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.188235 0 0 0 0 0.192157 0 0 0 0 0.239216 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_1053_5988",result:"effect2_dropShadow_1053_5988"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_1053_5988",result:"shape"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:-3.90625}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.114162 0 0 0 0 0.133086 0 0 0 0 0.165771 0 0 0 1 0"}),e.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect3_innerShadow_1053_5988"})),e.createElement("filter",{id:"filter1_di_1053_5988",x:21.4169,y:18.4952,width:21.8948,height:26.405,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:3.85392}),e.createElement("feGaussianBlur",{stdDeviation:1.54157}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0901961 0 0 0 0 0.117647 0 0 0 0 0.141176 0 0 0 0.4 0"}
1),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1053_5988"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1053_5988",result:"shape"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:-1.54157}),e.createElement("feGaussianBlur",{stdDeviation:1.15618}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.392157 0 0 0 0 0.541176 0 0 0 0 0.607843 0 0 0 0.3 0"}),e.createElement("feBlend",{mode:"normal",in2:"shape",result:"effect2_innerShadow_1053_5988"})),e.createElement("linearGradient",{id:"paint0_linear_1053_5988",x1:15.3906,y1:47.0313,x2:58,y2:27.625,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"white",stopOpacity:0}),e.createElement("stop",{offset:1,stopColor:"white"})))),C=()=>{const{data:a}=m();return f(a)?t.jsx(p,{to:"/",replace:!0}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"px-4 lg:px-0 py-10 min-h-[calc(100svh-83px-76px)]",children:[t.jsx("h1",{className:"text-[13px] lg:text-[15px] font-semibold text-[#11AD6A] mb-6 lg:mb-8",children:"Plans & Subscription"}),t.jsx(y,{})]}),t.jsx(g,{})]})},y=()=>{const{data:a=[],status:l}=h();return l==="pending"?t.jsx("div",{className:"flex justify-center text-center",children:t.jsx("span",{className:"text-sm",children:"Loading..."})}):t.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-2",children:a.map(r=>t.jsx(b,{planId:r.id,name:r.title,description:r.description,price:`$${(r.price/100).toFixed(2)}`,period:r.period,modules:r.moduleCapacity,exams:r.examCapacity},r.id))})},b=({planId:a,name:l,description:r,price:s,modules:n,exams:o,isBestValue:d=!1})=>{const i=x(),c=()=>{i.mutate({paymentPlanId:a})};return t.jsxs("div",{className:"border rounded-[20px] shadow-xs bg-white text-[13px] p-6 relative",children:[d&&t.jsx("span",{className:"inline-flex items-center rounded-tr-[20px] rounded-bl-[12px] font-semibold text-[10px] absolute right-0 top-0 text-white h-[30px] px-2 bg-gradient-to-tr from-brand-blue to-blue-300",children:"Best Value"}),t.jsx("h3",{className:"font-semibold text-2xl mb-1",children:l}),t.jsx("div",{className:"h-10",children:t.jsx("p",{children:r})}),t.jsx("div",{className:"mb-4",children:t.jsx("span",{className:"text-2xl font-medium",children:s})}),t.jsxs("div",{children:[t.jsx("div",{className:"mb-2",children:"Covers:"}),t.jsxs("div",{className:"flex items-center gap-1 mb-2",children:[t.jsx(_,{className:"size-4"}),t.jsxs("span",{children:[n," Modules"]})]}),t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsx(E,{className:"size-4"}),t.jsxs("span",{children:[o," Exams"]})]})]}),t.jsx(u,{onClick:c,className:"w-full mt-6",disabled:i.status==="pending",isLoading:i.status==="pending",children:"Select"})]})};export{C 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.