1import{aA as u,q as h,aY as P,Y as d,r as p,eD as r,j as t}from"./index-B-8CDiEL.js";import{i as y}from"./DiscountBanner-index-B4B-HrfX.js";import{B as g,P as x,b as S,a as f}from"./PricingPageDetailsTable-lVtyDfMT.js";import{P as j,C as B}from"./PricingPage-styled-CRfbNoey.js";import"./DiscountBanner-styled-BsNxmtkJ.js";import"./PackageColumn-BeS69tig.js";import"./PricingPage-intl-CuyDLYN0.js";import"./PublisherDropzone-intl-CFITanVw.js";import"./Elements-intl-DZowzmO8.js";import"./ProjectOverview-intl-gWqmMKyY.js";import"./ProducerPage-intl-BmQ2W92j.js";import"./AnimatedButton.styled-DYz4Lwza.js";import"./ErrorPicture-CCh9YgKw.js";import"./SwitchButton-index-C0ZSGXuh.js";import"./react-intersection-observer.m-CD-TX7TR.js";import"./PlanCheckoutSummary-intl-BIc5scb-.js";import"./PlanDetail-ltlyHpOT.js";import"./starsBackground-C-35Oakf.js";import"./gridBackground-CrXQ4BPa.js";const z=()=>{const o=u("(max-width: 1023px)"),a=h(),e=P(),i=d(),[n,m]=p.useState({commitment:1,termLength:1,termType:r.month});p.useEffect(()=>{(()=>{if(e.pathname.includes("blackweekend")){if(y()){i.push(a.toPlans());return}m({commitment:1,termLength:1,termType:r.year})}})()},[e.pathname,e.search,i,a]);const l=s=>{m({commitment:1,termLength:1,termType:s});const c=new URLSearchParams(e.search);c.set("tt",s===r.year?"y":"m"),i.replace({search:c.toString()})};return t.jsxs(j,{children:[t.jsxs(B,{children:[t.jsx(g,{activeBilling:n.termType,setActiveBilling:l}),t.jsx(x,{selectedPaymentOption:n,isSmallerScreen:o})]}),t.jsx(S,{}),!o&&t.jsx(f,{})]})};export{z as default};
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.