PageSourceSearch

https://bookclubs.com/static/js/components-pages-ClubPricingPage-tsx.a017b858.chunk.js

js bookclubs.com collected 2026-09-24 09:18:41 UTC 6,549 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[20082,7923,78910,448,62380],{8835:(e,s,t)=>{t.d(s,{A:()=>a});var i=t(43929),l=(t(9950),t(39579)),r=t(44414);const a=()=>(0,r.jsxs)("h1",{className:"main-title sm:text-[38px] text-[#333] mx-auto mb-[14px] text-center",children:[(0,r.jsxs)("span",{className:"inline-flex justify-center items-center gap-[12px]",children:[l.lT,(0,r.jsx)("span",{className:"inline-flex flex-shrink-0 w-[80px]",children:(0,r.jsx)(i.default,{alt:"",className:"!w-[80px]",height:56,image:"common/bookclubber-logo.png",type:"local",webp:"common/bookclubber-logo.webp",width:80})})]}),(0,r.jsxs)("span",{className:"block",children:[l.af,(0,r.jsx)("em",{children:l.QU})]})]})},9544:(e,s,t)=>{t.d(s,{A:()=>P});var i=t(15268),l=t(46788),r=t(65965),a=t(26658),o=t(48738),n=t.n(o),c=t(91609),p=t(43929),d=t(64714),u=t(59345),m=t(75046),h=t(48294),b=t(45091),x=t(9950),g=t(60853),f=t(28429),N=t(50663),_=t(67812),v=t(70645),y=t(63768),j=t(11501),I=t(44414);const P=({className:e,isSmallList:s,isClub:t,isForPaidMarket:o,listPricingPlans:P,listFeatures:A,topParagraph:w,title:C})=>{var E;const U=(0,f.Zp)(),L=(0,g.wA)(),S=(0,g.d4)((e=>e.auth.isAuth)),G=(0,g.d4)((e=>e.clubInfo)),k=(0,g.d4)((e=>e.auth.userInfo));(0,b.A)({surface:t?v.M4.CLUB_UPGRADE:v.M4.PUBLIC_PRICING,clubId:t?null===G||void 0===G?void 0:G.id:void 0});const[B,R]=(0,x.useState)(!1),[M,$]=(0,x.useState)(!1),[D,O]=(0,x.useState)(N.GN.PREMIUM),T=(0,i.Kz)(t?G:void 0),K=null!==P&&void 0!==P&&P.length?P:T,J=t&&(null===G||void 0===G||null===(E=G.club_premium_subscriptions)||void 0===E?void 0:E.payment_cadence)===y.o7.lifetime,F=(0,h.A)(y.f8),V=(e,s,i)=>{const l=(0,y.UJ)({club_premium_tier:s},"slug");if(!S||!l||e||t&&!(null!==G&&void 0!==G&&G.slug||null!==G&&void 0!==G&&G.id)){let s=S?"/create-club":"/create-your-club";return!e&&l&&(s=`${s}?club-premium-tier=${l}${i?`&payment_cadence=${i}`:""}`),U(s)}if(t)return U(((e,s)=>{const t=new URLSearchParams;s&&t.set("payment_cadence",String(s));const i=(0,d.nd)();i&&t.set(u.Z5,i);const l=t.toString();return`/pricing/${e}/club/${(null===G||void 0===G?void 0:G.slug)||(null===G||void 0===G?void 0:G.id)}/payment${l?`?${l}`:""}`})(l,J?y.o7.lifetime:i));O(s),R(!0)},H=(0,x.useCallback)((()=>{if(!o)return null;const e=S?"/create-club":"create-your-club";return(0,I.jsx)("div",{className:"text-center -mt-[20px] mb-[44px]",children:(0,I.jsx)(c.$n,{className:"min-w-[170px] justify-center !px-6 !py-3",color:"DARK_ORANGE",disabled:!1,link:e,loading:!1,title:"Start a club"})})}),[o,S]);(0,x.useEffect)((()=>{null!==G&&void 0!==G&&G.id&&L(a.P4({location:t?N.il.CLUB_UPGRADE_PAGE:N.il.PREMIUM_PRICING_PAGE,clubId:null===G||void 0===G?void 0:G.id}))}),[t,null===G||void 0===G?void 0:G.id]),(0,x.useEffect)((()=>{(0,m.yz)(t?_.V.USER_VISITING_THE_CLUB_UPGRADE_TAB:_.V.USER_VISITING_PRICING_PAGE)}),[]);const z=(0,I.jsxs)("h1",{className:"main-title sm:text-[38px] text-[#333] mx-auto mb-[14px] flex justify-center items-end min-h-[91px]",children:["Bookclubs Bookclubber",(0,I.jsx)(p.default,{alt:"",className:"img-responsive !max-w-[100px] mb-[10px] ml-[20px]",height:50,image:"common/bookclubber-logo.png",type:"local",webp:"common/bookclubber-logo.webp",width:50})]});return(0,I.jsxs)("div",{className:n()("premium-pricing-container bg-white",e),children:[(0,I.jsxs)("div",{className:"center",children:[(0,I.jsx)("div",{className:n()("block-container pricing-header pb-[42px]",{"pt-0":t,"pt-[22px]":!t}),children:(0,I.jsxs)("div",{className:"px-4",children:[null!==C&&void 0!==C?C:z,w?(0,I.jsx)("p",{className:"main-desc sm:text-[18px] text-[#333] text-center font-roboto-light",children:w}):(0,I.jsx)(c.v$,{className:"main-desc sm:text-[18px] text-[#333] text-center",content:'Bookclubs offers <a class="text-[#CE4419] hover:text-[#CE4419] hover:underline duration-300" href="/create-club">free tools</a> for basic club management. Become a bookclubber for an upgraded book club experience.  All subscriptions cover your entire club and support our women-led, mission-driven small business.',replaceBreakLines:!1})]})}),H(),(0,I.jsx)("div",{className:"w-full",children:(0,I.jsx)(r.A,{currentClub:G,featureKey:F,isBilledMonthly:M,isClub:t,isLifetime:J,listItems:K,onSubmit:e=>V(e.isFree,e.id,e.paymentCadence),setBilledMonthly:$})}),(0,I.jsx)(l.A,{currentClub:G,featureKey:F,isClub:t,isIncludeHeader:!0,isLifetime:J,isSmallList:s,listFeatures:A,listPricingPlans:K,onSumbit:V}),(0,I.jsx)("div",{className:"clearfix"})]}),(0,I.jsx)(c.IY,{clubPremiumTier:(0,y.UJ)({club_premium_tier:D},"slug"),message:j.Jtc,modalIsOpen:B,onCloseModal:()=>{O(N.GN.PREMIUM),R(!1)},paymentCadence:M?y.o7.monthly:y.o7.annual,title:`Upgrade to ${(0,y.UJ)({club_premium_tier:D},"name",k)}`})]})}},43929:(e,s,t)=>{t.r(s),t.d(s,{default:()=>a});var i=t(9950),l=t(44414);class r extends i.Component{render(){return"local"!==this.props.type?(0,l.jsx)("img",{alt:this.props.description||this.props.alt||"","aria-label":this.props.description,className:this.props.className,fetchPriority:this.props.fetchPriority||"auto",height:this.props.height||"",loading:this.props.loading,src:this.props.image||this.props.src,tabIndex:this.props.tabIndex,width:this.props.width||""}):this.props.webp&&this.props.type.length?(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{srcSet:`media/webp/${this.props.webp}`,type:"image/webp"}),(0,l.jsx)("img",{alt:this.props.description||this.props.alt||"","aria-label":this.props.description,className:this.props.className,fetchPriority:this.props.fetchPriority||"auto",height:this.props.height||"",loading:this.props.loading,src:`media/images/${this.props.image||this.props.src}`,tabIndex:this.props.tabIndex,width:this.props.width||""})]}):(0,l.jsx)("img",{alt:this.props.description||this.props.alt||"","aria-label":this.props.description,className:this.props.className,fetchPriority:this.props.fetchPriority||"auto",height:this.props.height||"",loading:this.props.loading,src:`media/images/${this.props.image||this.props.src}`,tabIndex:this.props.tabIndex,width:this.props.width||""})}}const a=r},6706:(e,s,t)=>{t.r(s),t.d(s,{default:()=>m});var i=t(23065),l=t(9544),r=t(8835),a=t(48294),o=t(79323),n=(t(9950),t(50663)),c=t(70645),p=t(63768),d=t(39579),u=t(44414);const m=()=>{const e=(0,a.A)(p.f8),s=p.QG.has(e)?e:void 0;
1return(0,o.A)({planType:c.UJ.BOOKCLUBBER,defaultTrigger:c.Jz.PRICING_PAGE,featureGated:s}),(0,u.jsx)(i.A,{typeLayout:n.rs.NO_ANNOUNCEMENT,children:(0,u.jsx)(l.A,{isClub:!1,isForPaidMarket:!1,isSmallList:!1,title:(0,u.jsx)(r.A,{}),topParagraph:d.V2})})}}}]);

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.