PageSourceSearch

https://opensports.net/_next/static/chunks/44846-d942df92c044e904.js

js opensports.net collected 2026-09-24 12:16:18 UTC 16,440 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4bda5ed4-b510-564f-bde2-9a4583ff00b6")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44846],{44846:function(e,n,i){"use strict";i.d(n,{Z:function(){return T}});var a=i(85893),t=i(67294),r=i(93967),l=i.n(r),c=i(41664),s=i.n(c),g=i(32496),o=i(51823),_=i(41219),d=i(8334),P=i(4033),m=i(64928),u=i(67740),p=i.n(u),x=i(85317),h=i.n(x),v=i(41484),C=i(48452),f=i(86153),b=i(56989);function y(e,n,i){let a=e?(0,b.prettifyPrice)(n,"year"===e.renewalInterval?e.amountInCents/100/12:e.amountInCents/100,e.currency,!0,!0):"";return"".concat(a.split(".")[0]).concat(3===i?"+":"")}let w="/images/icons/pricingPage/priceCheck.svg";function L(e,n){return["AU"].includes(n)?e.filter(e=>"AUD"===e.currency):["GB"].includes(n)?e.filter(e=>"GBP"===e.currency):["CA"].includes(n)?e.filter(e=>"CAD"===e.currency):e.filter(e=>"USD"===e.currency)}function T(e){let{origin:n,onSubscribeClick:i,code:r="",headerCountry:c="US",processing:o=!1,platformPlanID:u}=e,{t:x}=(0,v.$G)(["helpers"]),[h,b]=(0,t.useState)("L1"),[w,T]=(0,t.useState)(!0),[S,N]=(0,t.useState)(0),[B,F]=(0,t.useState)(!1),[A,R]=(0,t.useState)("month"),[D,Z]=(0,t.useState)(r),[U,W]=(0,t.useState)(null),G=(0,C.u5)(),[E,H]=(0,t.useState)(null),M=(0,t.useCallback)(e=>{0===e.filter(e=>e.renewalInterval===A).length&&R("month"===A?"year":"month")},[A]);async function z(){F(!0),W(null);try{let e=await (0,m.jl)({code:D}),n=L(e,c).filter(e=>e.code===D);if(0===n.length){W({type:"error",text:"Sorry, we couldn't find any plans associated with this referral code. Please check the code and try again."}),H(L(e,c));return}M(n),W({type:"success",text:"Referral code (".concat(D,") successfully applied!")}),H(L(e,c))}catch(e){console.warn(e)}finally{F(!1)}}(0,t.useEffect)(()=>{!async function(){F(!0);try{let e=await (0,m.jl)({code:r}),n=L(e,c);if(u&&n){let e=n.find(e=>e.id===u);e&&R(e.renewalInterval)}if(r){let e=n.filter(e=>e.code===D);e.length>0&&(W({type:"success",text:"Referral code (".concat(D,") successfully applied!")}),M(e))}H(n)}catch(e){console.warn(e)}finally{F(!1)}}()},[r,c,u,D,M]);let O=[{key:1,price:"$30",recurring:"/mo",buttonText:"new-group"===n?"Subscribe":"Get started",href:"/groups/new?plan=RecreationalGroup",level:"L1"},{key:2,price:"$70",recurring:"/mo",buttonText:"new-group"===n?"Subscribe":"Get started",href:"/groups/new?plan=FullTimeClub",level:"L2"},{key:3,price:"$750+",recurring:"/mo",buttonText:"new-group"===n?"Subscribe":"Get started",href:"/groups/new?plan=Premium",level:"L3"}];function q(e,n){switch(e){case 1:return null==E?void 0:E.filter(e=>"recreational"===e.planType&&e.renewalInterval===(null!=n?n:A));case 2:return null==E?void 0:E.filter(e=>"fullTime"===e.planType&&e.renewalInterval===(null!=n?n:A));case 3:return null==E?void 0:E.filter(e=>"premium"===e.planType&&e.renewalInterval===(null!=n?n:A))}return null}let J={CA:"CAD",GB:"GBP",AU:"AUD"},Y=(null==J?void 0:J[c])||"USD";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(I,{renewalInterval:A,setRenewalInterval:R,referralCode:D,setReferralCode:Z,origin:n,loading:B,fetchPlanWithCode:z,referralCodeAppliedText:U}),(0,a.jsxs)("div",{className:p().wrapperPriceTable,children:[(0,a.jsx)("div",{className:p().tabsContainer,children:j.map((e,n)=>(0,a.jsx)("button",{className:l()(n===S?p().tab:p().nonActive),onClick:()=>{b(e.level),N(e.key)},children:e.name},e.key))}),(0,a.jsxs)("div",{className:p().table,children:[(0,a.jsxs)("div",{className:p().tableRow,children:[(0,a.jsx)("div",{className:p().box,children:(0,a.jsx)("h3",{className:p().planText,children:" "})}),[{key:1,heading:"Recreational Group",subText:"Streamline event operations with all the essential registration tools",level:"L1"},{key:2,heading:"Full Time Club",subText:"Grow your club with event essentials plus promotional tools",level:"L2"},{key:3,heading:"Premium",subText:"Connect deeper with players with your own branded interface, and priority support",level:"L3"}].map((e,n)=>{var i;let t;
3let r=q(e.key),l=(t=null,(i=null!=r?r:[])&&(t=i[0],i.forEach(e=>{t&&e.amountInCents<t.amountInCents&&(t=e)})),t),c=l?l.description:e.subText,s=l?l.title:e.heading;return(0,a.jsxs)("div",{className:(!1===w&&p().box,h===e.level&&!0===w?p().show:p().box),children:[(0,a.jsx)("h3",{className:p().planText,children:s}),(0,a.jsxs)("p",{className:p().subtext,children:[c," "]})]},n)})]}),(0,a.jsxs)("div",{className:p().tableRow,children:[(0,a.jsxs)("div",{className:p().box,children:[(0,a.jsxs)("p",{className:p().sideText,children:["Monthly price (",Y,")"]})," "]}),O.map(e=>{let n=q(e.key);q(e.key);let t=null,r=null;n&&(t=n[0],n.length>1&&(r=n[0],n.forEach(e=>{t&&e.amountInCents<t.amountInCents&&(t=e),r&&e.amountInCents>r.amountInCents&&(r=e)})));let c=y(t,x,e.key),m=t?c:e.price,u=null;if(r&&t){let e="month"===r.renewalInterval?r.amountInCents:r.amountInCents/12,n=Math.round((1-("month"===t.renewalInterval?t.amountInCents:t.amountInCents/12)/e)*100);n>0&&(u="".concat(n,"% OFF").concat(t.code?" (Code)":""))}else if("year"===A){var v,C;let n;let i=null===(v=q(e.key,"month"))||void 0===v?void 0:v.filter(e=>!e.code),a=(n=null,(C=null!=i?i:[])&&(n=C[0],C.forEach(e=>{n&&e.amountInCents>n.amountInCents&&(n=e)})),n);if(a&&t){r=a;let e=Math.round((1-t.amountInCents/12/a.amountInCents)*100);e>0&&(u="".concat(e,"% OFF"))}}let b="".concat(null==t?void 0:t.renewalInterval,"-").concat(null==t?void 0:t.planType,"-").concat(e.key);return(0,a.jsx)("div",{className:(!1===w&&p().box,h===e.level&&w?p().show:p().box),children:(0,a.jsxs)("div",{className:p().priceContainer,children:[(0,a.jsxs)("h2",{className:p().price,children:[!B&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:l()(p().priceDifferenceContainer,r&&p().multiline),children:[r&&(0,a.jsx)("span",{className:p().angledStrike,children:y(r,x,e.key)}),(0,a.jsx)("span",{children:m})]}),(0,a.jsx)("span",{className:p().recurring,children:e.recurring}),u&&(0,a.jsx)("div",{className:l()(p().badgeContainer,p().discount),children:(0,a.jsx)("span",{children:u})})]}),B&&(0,a.jsx)("div",{style:{height:60},children:(0,a.jsx)(d.Z,{})})]}),!i&&(0,a.jsxs)(s(),{href:e.href,className:p().planButton,children:[e.buttonText,(0,a.jsx)(P.Z,{className:p().planButtonIcon})]}),i&&(0,a.jsx)(_.Z,{"data-testid":b,style:{height:"fit-content"},className:l()("btn btn-primary btn-block",p().planButton),onClick:()=>(function(e,n){if(!e||!n){G((0,f.Ll)({showCloseButton:!0,content:(0,a.jsx)(g.Z,{type:"ERROR",body:"Failed to subscribe. Please try again later."})}));return}null==i||i(e,"".concat(n,"-").concat(A),D)})(null==t?void 0:t.id,null==t?void 0:t.planType),isLoading:B||o,disabled:B||o,children:e.buttonText})]})},e.key)})]}),k.map((e,n)=>(0,a.jsxs)("div",{className:p().tableRow,children:[(0,a.jsx)("div",{className:p().box,children:(0,a.jsx)("p",{className:p().sideText,children:e.sideText})}),e.levelBoxes.map((e,n)=>(0,a.jsx)("div",{className:(!1===w&&p().box,h===e.level&&w?p().show:p().box),children:e.image?(0,a.jsx)("span",{className:p().placeCenter,children:(0,a.jsx)("img",{className:p().check,src:e.img})}):(0,a.jsx)("span",{className:p().placeCenter,children:(0,a.jsx)("p",{className:p().boxText,children:e.text})})},n))]},n))]}),(0,a.jsxs)("p",{className:p().footnote,children:["* OpenSports transaction fees exclude Stripe fees, which can be found at"," ",(0,a.jsx)(s(),{href:"https://stripe.com/pricing",children:"https://stripe.com/pricing"})," ","and vary by country."]})]})]})}function I(e){let{renewalInterval:n,setRenewalInterval:i,referralCode:t,setReferralCode:r,origin:c,loading:s,fetchPlanWithCode:g,referralCodeAppliedText:d}=e;return(0,a.jsxs)(a.Fragment,{children:["new-group"===c&&(0,a.jsxs)("div",{className:l()(h().section,p().referralCodeContainer),children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-end",gap:16},children:[(0,a.jsx)(o.Z,{name:"referralCode",label:"Referral Code",value:t,onChange:r}),(0,a.jsx)(_.Z,{style:{marginBottom:15,height:43},className:"btn btn-primary btn-sm",isLoading:s,disabled:s,onClick:g,children:"Redeem Code"})]}),!!d&&(0,a.jsx)("span",{className:l()(p().successfulReferralCode,p()[d.type]),children:d.text})]}),(0,a.jsxs)("div",{className:l()(p().table,p().renewalIntervalToggle),children:[(0,a.jsx)("span",{className:p().title,children:"Subscription Term"}),(0,a.jsxs)("div",{className:p().renewalIntervalToggleContent,children:[(0,a.jsx)(o.Z,{value:"year"===n,type:"switch",switchType:"label",labelProps:{on:"Monthly",off:"Yearly"},onChange:function(e){!1===e?i("month"):i("year")}}),(0,a.jsx)("div",{className:p().badgeContainer,children:(0,a.jsx)("span",{children:"2 Months Free on Yearly Plan"})})]})]})]})}let j=[{key:0,name:"Recreational group",level:"L1"},{key:1,name:"Full time club",level:"L2"},{key:2,name:"Premium",level:"L3"}],k=[{sideText:"Event set up, registration, payments, waivers, waitlist and refunds",levelBoxes:[{image:!0,img:w,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Event invites, attendees tools, chat, check-ins & reports",levelBoxes:[{image:!0,img:w,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Multiple group & event admins",levelBoxes:[{image:!0,img:w,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Enable events widget on your website",levelBoxes:[{image:!0,img:w,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Discount codes",levelBoxes:[{image:!0,img:w,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Sell memberships and class passes",levelBoxes:[{image:!0,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Manage leagues and tournaments",levelBoxes:[{image:!0,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Google Analytics & Ads Integration",levelBoxes:[{image:!0,level:"L1"},{image:!0,img:w,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Custom branded interface",levelBoxes:[{image:!0,level:"L1"},{image:!0,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Custom reporting ",levelBoxes:[{image:!0,level:"L1"},{image:!0,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Zapier Integration ",levelBoxes:[{image:!0,level:"L1"},{image:!0,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Priority support including an account manager",levelBoxes:[{image:!0,level:"L1"},{image:!0,level:"L2"},{image:!0,img:w,level:"L3"}]},{sideText:"Event fees *",levelBoxes:[{image:!1,text:"3%",level:"L1"},{image:!1,text:"3%",level:"L2"},{image:!1,text:"Discounts for organizations processing over $500k / month",level:"L3"}]},{sideText:"League & tournament fees *",levelBoxes:[{image:!1,text:"",level:"L1"},{image:!1,text:"3%",level:"L2"},{image:!1,text:"Discounts for organizations processing over $500k / month",level:"L3"}]},{sideText:"Membership fees *",levelBoxes:[{image:!1,text:"",level:"L1"},{image:!1,text:"3%",level:"L2"},{image:!1,text:"Discounts for organizations processing over $500k / month",level:"L3"}]}]},67740:function(e){e.exports={link:"PricingPage_link__SLA6q",wrapper:"PricingPage_wrapper__mhrhI",wrapperPriceTable:"PricingPage_wrapperPriceTable__V_Rfk",introSection:"PricingPage_introSection__AwZjg",headerImg:"PricingPage_headerImg__TOfyO",introText:"PricingPage_introText__mKfOr",pricingHeader:"PricingPage_pricingHeader__6mCdc",customersHeader:"PricingPage_customersHeader__8Hb4Z",introPara:"PricingPage_introPara__jZklC",graySection:"PricingPage_graySection__UkaDl",whiteSection:"PricingPage_whiteSection__HxtbS",headingSection:"PricingPage_headingSection__UIacm","plan-title":"PricingPage_plan-title__vjlT6",description:"PricingPage_description__3Sma9",planContainer:"PricingPage_planContainer__W48_t",planHeadingContainer:"PricingPage_planHeadingContainer__ha7ej",planHeading:"PricingPage_planHeading__0itg_",cardsContainer:"PricingPage_cardsContainer__hvRi_",plansContainerWhite:"PricingPage_plansContainerWhite__fJFMX",planCardWrap:"PricingPage_planCardWrap__ucje7",card:"PricingPage_card__jrtvW",cardWrapper:"PricingPage_cardWrapper__n9VyF","card-content":"PricingPage_card-content__10QYT",price:"PricingPage_price__UQgr9",recurring:"PricingPage_recurring__re35x",cardImage:"PricingPage_cardImage__bbAtO",moreFeaturesContainer:"PricingPage_moreFeaturesContainer___DJEw",moreFeatures:"PricingPage_moreFeatures__dPJQL",arrowDown:"PricingPage_arrowDown___Z_pG",arrowUp:"PricingPage_arrowUp__2fEap",planList:"PricingPage_planList__3Yzku",featureListContainer:"PricingPage_featureListContainer__MN5i_",moreFeaturesSection:"PricingPage_moreFeaturesSection__2tZvh",featureWidth:"PricingPage_featureWidth__6DlEx",featureContainerWrapper:"PricingPage_featureContainerWrapper__MyLMf",featureList:"PricingPage_featureList__cXbez",listCheck:"PricingPage_listCheck__2oeIx",planButton:"PricingPage_planButton__bG_LD",feeContainer:"PricingPage_feeContainer__PlW2m",collectPaymentImage:"PricingPage_collectPaymentImage__zdZ_H",textFlex:"PricingPage_textFlex___CfA9",left:"PricingPage_left__Wm3hA",collectPaymentImageContainer:"PricingPage_collectPaymentImageContainer__ZyaJv",right:"PricingPage_right__0fjdW",creditUI:"PricingPage_creditUI__2mBGW",centerText:"PricingPage_centerText__plB3E",cardIcon:"PricingPage_cardIcon__jp_N0",cardLogosContainer:"PricingPage_cardLogosContainer__ANScI",credit
3CardLogo:"PricingPage_creditCardLogo__kyeJh",center:"PricingPage_center__AkfvU",zogsports:"PricingPage_zogsports__GqzER",pittsburgh:"PricingPage_pittsburgh__sE0hH",doylestown:"PricingPage_doylestown__5_Cvw",coscobay:"PricingPage_coscobay__T_yZT",ossoSportsSocial:"PricingPage_ossoSportsSocial__zH70x",sydneyBadminton:"PricingPage_sydneyBadminton__I8nER",bcvb:"PricingPage_bcvb__qVnCb",none:"PricingPage_none__qb26q",textFlexTeam:"PricingPage_textFlexTeam__Lutuk",contactContainer:"PricingPage_contactContainer__SPyId",contactUsBtn:"PricingPage_contactUsBtn__mxYvG",whiteSectionStraight:"PricingPage_whiteSectionStraight__kB5Oo",flexCard:"PricingPage_flexCard__x6gD9",cardColumn:"PricingPage_cardColumn__Ihrkh",ctaBoxContainer:"PricingPage_ctaBoxContainer__2l_cA",ctaCard:"PricingPage_ctaCard__6mSJc",ctaCardImageLg:"PricingPage_ctaCardImageLg__QnJCZ",ctaRight:"PricingPage_ctaRight___8SUq",ctaCardImage:"PricingPage_ctaCardImage__mAipw",ctaLeftSide:"PricingPage_ctaLeftSide__fhdCj",wrapperIncluded:"PricingPage_wrapperIncluded__9FGue",flexIncludedSection:"PricingPage_flexIncludedSection__4RXIN",includedList:"PricingPage_includedList__tgzGu",includedTitleCenter:"PricingPage_includedTitleCenter__QfnTe",maxWidth:"PricingPage_maxWidth__3oZk8",table:"PricingPage_table__LUdZH",tableRow:"PricingPage_tableRow__Uq_Yz",box:"PricingPage_box__LVIV1",show:"PricingPage_show__p3zHn",placeCenter:"PricingPage_placeCenter__2MTaF",boxText:"PricingPage_boxText__ljX_x",check:"PricingPage_check__uBWyB",tableText:"PricingPage_tableText__hv02f",planText:"PricingPage_planText__nCgYi",subtext:"PricingPage_subtext__4hAVf",sideText:"PricingPage_sideText__PLMXD",hide:"PricingPage_hide__ZpgJl",tabsContainer:"PricingPage_tabsContainer__XUVAK",activeTab:"PricingPage_activeTab__wMf90",nonActive:"PricingPage_nonActive__xWpK_",priceContainer:"PricingPage_priceContainer__mJdDD",questionsParentContainer:"PricingPage_questionsParentContainer__I46DF",footnote:"PricingPage_footnote__fBjpl",renewalIntervalToggle:"PricingPage_renewalIntervalToggle__Ylxw9",title:"PricingPage_title__GNZXs",renewalIntervalToggleContent:"PricingPage_renewalIntervalToggleContent__3eZvi",badgeContainer:"PricingPage_badgeContainer__XNenI",discount:"PricingPage_discount__ygWDw",referralCodeContainer:"PricingPage_referralCodeContainer__68sqk",successfulReferralCode:"PricingPage_successfulReferralCode__THnkh",error:"PricingPage_error__9FF3L",success:"PricingPage_success__6OvM3",angledStrike:"PricingPage_angledStrike__Gs961",angledStrikpriceDifferenceContainer:"PricingPage_angledStrikpriceDifferenceContainer__KBHfK",multiline:"PricingPage_multiline__TZSPu",sectionCardsContainer:"PricingPage_sectionCardsContainer__RTYcK",cardContainer:"PricingPage_cardContainer__UwSA9",sectionTitle:"PricingPage_sectionTitle__ahPx5",cardText:"PricingPage_cardText__CZvlO",infoPaneCTA:"PricingPage_infoPaneCTA__Sgu3o"}}}]);
4//# sourceMappingURL=44846-d942df92c044e904.js.map
5//# debugId=4bda5ed4-b510-564f-bde2-9a4583ff00b6

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.