PageSourceSearch

https://rei-lense.com/_next/static/chunks/app/pricing/page-491a3c7637401cf9.js

js rei-lense.com collected 2026-10-01 16:12:51 UTC 14,293 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9979],{2223:function(e,l,t){Promise.resolve().then(t.bind(t,58798)),Promise.resolve().then(t.bind(t,51858)),Promise.resolve().then(t.bind(t,25075)),Promise.resolve().then(t.bind(t,10809))},27648:function(e,l,t){"use strict";t.d(l,{default:function(){return r.a}});var n=t(72972),r=t.n(n)},94913:function(e,l,t){"use strict";var n=t(57437);l.Z=e=>{let{className:l,children:t,semibold:r,level:i=1,id:s}=e;return(0,n.jsx)("h".concat(i),{id:s,className:"".concat(null!=l?l:""," lg:text-[42px] text-[23px] text-headText ").concat(r?"font-semibold":""," leading-[109%] whitespace-break-spaces"),children:t})}},83773:function(e,l,t){"use strict";var n=t(57437);l.Z=e=>{let{children:l,className:t}=e;return(0,n.jsx)("div",{className:"flex flex-col max-w-[1100px] w-[-webkit-fill-available] lg:px-0 md:px-[39px] px-[15px] ".concat(t),children:l})}},25075:function(e,l,t){"use strict";t.d(l,{Footer:function(){return a}});var n=t(57437),r=t(55495),i=t(13368),s=t(87244),d=t(7946);let a=e=>{let{className:l}=e,{showContactUs:t}=(0,d.Z)();return(0,n.jsxs)("div",{className:"flex md:flex-row flex-col md:gap-[24px] gap-[20px] justify-center items-center w-full lg:py-[42px] md:py-[32px] py-[24px] px-[15px] bg-lightBlue rounded-lg ".concat(l),children:[(0,n.jsx)(i.Z,{className:"lg:!text-[16px] !text-[14px]",children:"Can't decide? Have questions?"}),(0,n.jsxs)(r.default,{className:"lg:px-[67px] !bg-background md:w-fit w-full",onClick:()=>t(!0),children:[(0,n.jsx)(s.J,{name:"letter",className:"stroke-mainText fill-mainText"}),(0,n.jsx)(i.Z,{children:"Contact Us"})]})]})}},10809:function(e,l,t){"use strict";t.d(l,{PlanList:function(){return b}});var n=t(57437),r=t(2265),i=t(92686),s=t(8881);let d=async()=>{try{let e=await (0,i.ri)("".concat(s.Kn,"/api/subscriptions/plans"));if(200!==e.status)return;return await e.json()}catch(e){console.error("[REI] getPricing: ".concat(e))}};var a=t(41208);t(92119);var c=t(54138),o=t(13368),x=t(55495),u=t(8774),m=t(87244),p=t(7946),f=t(4511),h=t(47579);let b=()=>{let{showContactUs:e}=(0,p.Z)(),{setLoginOpen:l}=(0,h.Z)(),{profile:t}=(0,f.Z)(),[i,s]=(0,r.useState)([]),[b,g]=(0,r.useState)(""),[v,j]=(0,r.useState)([]),[N,y]=(0,r.useState)(),w=(0,r.useCallback)(e=>e.billingCycles.find(e=>e.title===b),[b]),k=(0,r.useCallback)(e=>e&&e.isEnabled?!e.isContactSupport&&(null==t?void 0:t.email)?"/checkout?plan=".concat(e.id,"&billingCycle=").concat(b.toLowerCase()):null:"",[b,null==t?void 0:t.email]);(0,r.useEffect)(()=>{d().then(e=>{var l;return j(null!==(l=null==e?void 0:e.plans)&&void 0!==l?l:[])})},[]),(0,r.useEffect)(()=>{if(v&&v.length>0){let e=v[0].billingCycles.map(e=>e.title);s(e),g(e[0]),y(v[1])}else s([])},[v]);let Z=(0,r.useCallback)((n,r)=>{if(r){if(!(null==t?void 0:t.email)){l(!0,!0);return}if(null===n){e(!0,"subscribe");return}}},[null==t?void 0:t.email,l,e]);return 0===v.length?(0,n.jsx)("div",{className:"mb-8 flex flex-col items-center justify-center w-full",children:(0,n.jsxs)(a.y,{baseColor:"hsl(var(--nextui-divider))",highlightColor:"hsl(var(--nextui-background))",children:[(0,n.jsx)(a.Z,{containerClassName:"w-[274px] h-[46px]",className:"w-[274px] h-[46px] !rounded-sm"}),(0,n.jsx)("div",{className:"flex flex-row md:gap-5 gap-[8px] w-full mt-10",children:Array.from([,,,].keys()).map(e=>(0,n.jsxs)("div",{className:"flex flex-col items-stretch border md:rounded-lg rounded-[15px] flex-1 overflow-hidden px-[24px] py-[20px]",children:[(0,n.jsx)(a.Z,{containerClassName:"md:w-[100px] w-full h-[25px] mb-2",className:"w-full h-full !rounded-lg"}),(0,n.jsx)(a.Z,{containerClassName:"w-full md:h-[40px] h-[20px] mb-8",className:"w-full h-full md:!rounded-lg !rounded-[15px]"}),(0,n.jsxs)("div",{className:"flex flex-col items-center mb-8 gap-3",children:[(0,n.jsx)(a.Z,{containerClassName:"w-[100px] h-[25px]",className:"w-full h-full !rounded-lg"}),(0,n.jsx)(a.Z,{containerClassName:"w-[50px] h-[20px]",className:"w-full h-full !rounded-lg"})]}),(0,n.jsx)(a.Z,{containerClassName:"w-full h-[40px] mb-8",className:"w-full h-full !rounded"}),(0,n.jsx)("ul",{className:"md:block hidden",children:Array.from([,,,,,].keys()).map(e=>(0,n.jsx)(a.Z,{containerClassName:"w-[150px] h-[20px]",className:"w-[150px] h-[20px] !rounded mb-2"},e))})]},e))})]})}):(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center w-full mb-8",children:[(0,n.jsx)(c.Z,{className:"border border-divider md:w-[353px] w-[178px]",items:i,propertyToShow:"",value:b,onChanged:g}),(0,n.jsx)("div",{className:"mt-[31px] md:flex flex-row hidden gap-5 w-full",children:null==v?void 0:v.map((e,l)=>{let t=w(e),r=k(e),i=null==t?void 0:t.price.split("/");return t?(0,n.jsxs)("div",{className:(0,u.cn)("flex flex-col items-stretch border rounded-lg flex-1 overflow-hidden",{"bg-background border-divider":!e.isRecommended,"bg-lightBlue border-stroke shadow-xs":e.isRecommended}),children:[(0,n.jsxs)("div",{className:(0,u.cn)("flex flex-col px-[24px] py-[20px] min-h-[129px] border-b",{"bg-greyBg border-divider":!e.isRecommended,"bg-mainLightBlue border-stroke":e.isRecommended}),children:[(0,n.jsxs)("div",{className:"flex flex-row items-center justify-between mb-2",children:[(0,n.jsx)(o.Z,{semibold:!0,className:"!text-[26px]",children:e.title}),t.discount&&(0,n.jsx)(o.Z,{semibold:!0,className:"!text-[14px] bg-green-500 px-[16px] py-[4px] border border-green !text-green h-fit roun
1ded-2xs",children:t.discount})]}),(0,n.jsx)(o.Z,{leading:130,children:e.description})]}),(0,n.jsxs)("div",{className:"flex flex-row items-end mt-[28px] justify-center",children:[(0,n.jsx)("p",{className:"text-[30px] font-medium",children:null==i?void 0:i[0]}),(0,n.jsxs)("p",{className:"text-[16px] mb-[6px]",children:["/",null==i?void 0:i[1]]}),t.oldPrice&&(0,n.jsx)(o.Z,{className:"!text-[20px] line-through !text-grey ml-2 mb-[3px]",children:t.oldPrice})]}),(0,n.jsx)(o.Z,{className:"!text-grey self-center",children:t.description}),(0,n.jsx)(x.default,{dark:!0,link:null!==r,url:null!=r?r:"",className:"mt-[16px] mb-[32px] w-[calc(100%-40px)] ml-[20px] !text-[16px]",disabled:!1===e.isEnabled,onClick:()=>Z(r,e),children:e.action}),(0,n.jsx)("div",{className:(0,u.cn)("h-[1px] w-full bg-divider mb-[16px]",{"bg-divider":!e.isRecommended,"bg-stroke":e.isRecommended})}),(0,n.jsx)("ul",{className:"px-[24px] pb-[21px]",children:e.features.map(l=>(0,n.jsxs)("li",{className:"flex flex-row gap-[6px] items-center mb-[8px]",children:[(0,n.jsx)(m.J,{name:"check",className:(0,u.cn)("",{"fill-mainText":!e.isRecommended,"fill-secondaryBlue":e.isRecommended})}),l.name]},l.name))}),e.isRecommended&&(0,n.jsxs)("div",{className:"bg-mainLightBlue py-[12px] flex flex-row justify-center gap-[2px]",children:[(0,n.jsx)(m.J,{name:"like",className:"fill-secondaryBlue"}),(0,n.jsx)(o.Z,{leading:150,className:"!text-[14px] text-secondaryBlue",children:"Recommended"})]})]},l):null})}),(0,n.jsxs)("div",{className:"mt-[31px] flex md:hidden justify-between flex-row w-full",children:[null==v?void 0:v.map((e,l)=>{var r,i;let s=w(e),d=null==s?void 0:s.price.split("/"),a=!!N&&v.indexOf(N)===l,c=(null==t?void 0:null===(r=t.activeSubscription)||void 0===r?void 0:r.planId)===e.id;return s?(0,n.jsxs)("div",{className:(0,u.cn)("flex flex-col relative w-[calc(33%-4px)]",{}),children:[c&&(0,n.jsx)("p",{className:(0,u.cn)("absolute text-center -top-[20px] bottom-1/2 z-0 border rounded-t-[15px] w-full text-[10px] pt-[2px]",{"border-divider":!a,"border-lightBlue":a}),children:"Subscribed"}),e.isRecommended&&(0,n.jsx)("div",{className:(0,u.cn)("absolute flex items-end bg-background justify-center bottom-[
118px] pb-[2px] z-[100] border rounded-b-[15px] w-full text-[10px]",{"border-divider":!a,"border-lightBlue":a}),children:"Recommended"}),(0,n.jsxs)("div",{className:(0,u.cn)("flex flex-col z-10 items-stretch border rounded-[15px] flex-1 overflow-hidden mb-[8px]",{"bg-background border-divider":!a,"bg-lightBlue border-lightBlue ":a,"!rounded-t-[0px]":c,"!rounded-b-[0px]":e.isRecommended,"shadow-xs":e.isRecommended}),onClick:()=>y(e),children:[(0,n.jsx)("div",{className:(0,u.cn)("flex flex-col px-[8px] py-[12px] border-b min-h-[70px]",{"bg-greyBg border-divider":!a,"bg-mainLightBlue border-lightBlue":a}),children:(0,n.jsxs)("div",{className:"flex flex-col items-center justify-between",children:[(0,n.jsx)(o.Z,{semibold:!0,className:(0,u.cn)("!text-[9px] w-full max-w-[60px] h-[24px] bg-green-500 px-[8px] py-[4px] mb-[4px] border border-green text-green rounded-2xs",{"opacity-0":!s.discount}),children:null!==(i=s.discount)&&void 0!==i?i:""}),(0,n.jsx)(o.Z,{semibold:!0,className:"!text-[14px]",children:e.title})]})}),(0,n.jsxs)("div",{className:"flex flex-row items-end mt-[10px] justify-center",children:[(0,n.jsx)("p",{className:"text-[14px] font-semibold",children:null==d?void 0:d[0]}),(0,n.jsxs)("p",{className:"text-[12px]",children:["/",null==d?void 0:d[1]]}),s.oldPrice&&(0,n.jsx)(o.Z,{className:"!text-[11px] line-through !text-grey ml-1",children:s.oldPrice})]}),(0,n.jsx)(o.Z,{className:"!text-grey self-center w-full !text-[10px] text-center",children:s.description}),(0,n.jsx)(o.Z,{leading:130,className:"px-[8px] py-[6px] !text-[10px] text-center",children:e.description})]},l),(0,n.jsx)("div",{className:(0,u.cn)("opacity-0 w-0 h-0 self-center border-l-[14px] border-l-transparent border-t-[14px] border-t-transparent border-r-[14px] border-r-transparent border-b-[14px] border-b-lightBlue",{"opacity-100":v.indexOf(N)===l})})]},l):null}),(0,n.jsx)("div",{className:" fixed bottom-0 left-0 right-0 bg-background border-t border-divider w-full h-[76px] z-50 p-[15px]",children:(0,n.jsx)(x.default,{link:null!==N,url:k(N)||"",disabled:(null==N?void 0:N.isEnabled)===!1,dark:!0,className:"w-full h-full",onClick:()=>Z(k(N),N),children:null==N?void 0:N.action})})]}),N&&(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"bg-lightBlue w-full md:hidden block rounded-[15px] overflow-hidden",children:[(0,n.jsx)("ul",{className:"p-[16px]",children:null==N?void 0:N.features.map(e=>(0,n.jsxs)("li",{className:"flex flex-row gap-[6px] items-center mb-[8px]",children:[(0,n.jsx)(m.J,{name:"check",className:"fill-secondaryBlue"}),(0,n.jsx)(o.Z,{className:"!text-[11px]",children:e.name})]},e.name))}),1===v.indexOf(N)&&(0,n.jsxs)("div",{className:"bg-mainLightBlue py-[12px] flex flex-row items-center justify-center gap-[2px]",children:[(0,n.jsx)(m.J,{name:"like",className:"fill-secondaryBlue"}),(0,n.jsx)(o.Z,{leading:150,className:"md:!text-[14px] !text-[11px] text-secondaryBlue",children:"Recommended"})]})]})})]})}},7946:function(e,l,t){"use strict";let n=(0,t(3011).U)(e=>({isContactDialogOpen:!1,template:"",showContactUs:(l,t)=>e({isContactDialogOpen:l,template:t})}));l.Z=n},4511:function(e,l,t){"use strict";var n=t(74640),r=t(3011);let i=e=>{var l;return!!(null==e?void 0:e.email)&&(!(null==e?void 0:null===(l=e.activeSubscription)||void 0===l?void 0:l.planId)||"free"===e.activeSubscription.planId)&&!e.isAlphaUser},s=(0,r.U)(e=>({profile:void 0,limitedAccess:!0,setProfile:l=>{let t=i(l);e({profile:l,limitedAccess:t})},loadProfile:()=>{(0,n.Yt)().then(l=>{let t=i(l);e({profile:l,limitedAccess:t})}).catch(l=>e({profile:n.hO}))}}));l.Z=s},92119:function(){},8774:function(e,l,t){"use strict";t.d(l,{cn:function(){return a},Gp:function(){return r},ME:function(){return c},oe:function(){return s},Sz:function(){return d},Jw:function(){return i}});var n=t(2265);function r(e){return(0,n.forwardRef)(e)}var i=e=>({...e,[Symbol.iterator]:function(){let e=Object.keys(this),l=0;return{next:()=>{if(l>=e.length)return{done:!0};let t=e[l],n=this[t];return l++,{value:{key:t,value:n},done:!1}}}}}),s=(e,l,t=!0)=>{if(!l)return[e,{}];let n=l.reduce((l,t)=>t in e?{...l,[t]:e[t]}:l,{});return t?[Object.keys(e).filter(e=>!l.includes(e)).reduce((l,t)=>
1({...l,[t]:e[t]}),{}),n]:[e,n]},d=(e,l,t)=>[Object.keys(e).filter(e=>!l.includes(e)||(null==t?void 0:t.includes(e))).reduce((l,t)=>({...l,[t]:e[t]}),{}),l.reduce((l,t)=>({...l,[t]:e[t]}),{})],a=function(){for(var e,l,t=0,n="";t<arguments.length;)(e=arguments[t++])&&(l=function e(l){var t,n,r="";if("string"==typeof l||"number"==typeof l)r+=l;else if("object"==typeof l){if(Array.isArray(l))for(t=0;t<l.length;t++)l[t]&&(n=e(l[t]))&&(r&&(r+=" "),r+=n);else for(t in l)l[t]&&(r&&(r+=" "),r+=t)}return r}(e))&&(n&&(n+=" "),n+=l);return n},c=e=>{var l,t,n;return!!(null==(n=null==(t=null==(l=e.type)?void 0:l.render)?void 0:t.displayName)?void 0:n.includes("NextUI"))}},41208:function(e,l,t){"use strict";t.d(l,{Z:function(){return i},y:function(){return s}});var n=t(2265);let r=n.createContext({});function i(e){var l,t,i;let{count:s=1,wrapper:d,className:a,containerClassName:c,containerTestId:o,circle:x=!1,style:u,...m}=e,p=n.useContext(r),f={...m};for(let[e,l]of Object.entries(m))void 0===l&&delete f[e];let h={...p,...f,circle:x},b={...u,...function(e){let{baseColor:l,highlightColor:t,width:n,height:r,borderRadius:i,circle:s,direction:d,duration:a,enableAnimation:c=!0,customHighlightBackgroun
1d:o}=e,x={};return"rtl"===d&&(x["--animation-direction"]="reverse"),"number"==typeof a&&(x["--animation-duration"]="".concat(a,"s")),c||(x["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(x.width=n),("string"==typeof r||"number"==typeof r)&&(x.height=r),("string"==typeof i||"number"==typeof i)&&(x.borderRadius=i),s&&(x.borderRadius="50%"),void 0!==l&&(x["--base-color"]=l),void 0!==t&&(x["--highlight-color"]=t),"string"==typeof o&&(x["--custom-highlight-background"]=o),x}(h)},g="react-loading-skeleton";a&&(g+=" ".concat(a));let v=null!==(l=h.inline)&&void 0!==l&&l,j=[],N=Math.ceil(s);for(let e=0;e<N;e++){let l=b;if(N>s&&e===N-1){let e=null!==(t=l.width)&&void 0!==t?t:"100%",n=s%1,r="number"==typeof e?e*n:"calc(".concat(e," * ").concat(n,")");l={...l,width:r}}let r=n.createElement("span",{className:g,style:l,key:e},"‌");v?j.push(r):j.push(n.createElement(n.Fragment,{key:e},r,n.createElement("br",null)))}return n.createElement("span",{className:c,"data-testid":o,"aria-live":"polite","aria-busy":null===(i=h.enableAnimation)||void 0===i||i},d?j.map((e,l)=>n.createElement(d,{key:l},e)):j)}function s(e){let{children:l,...t}=e;return n.createElement(r.Provider,{value:t},l)}}},function(e){e.O(0,[8977,2482,3958,6990,2972,8855,7381,2965,3754,2971,2117,1744],function(){return e(e.s=2223)}),_N_E=e.O()}]);

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.