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AAI,CAAClE,IAAI,CAAC9D,KAAK,CAAGsF,EAAK,OAC/C,GAAEzN,IAAI,CAAC,IAAI,GAzIXoQ,CAAAA,EAAAA,EAAAA,EAAAA,EAAe,IAAI,CAAE,CACjB5C,kBAAmB6C,EAAAA,EAAUA,CAC7BhB,kBAAmBgB,EAAAA,EAAUA,CAC7BpE,KAAMoE,EAAAA,EAAUA,CAChBpI,WAAYqI,EAAAA,EAAQA,CACpB7B,WAAY6B,EAAAA,EAAQA,CACpBlL,aAAckL,EAAAA,EAAQA,GAGrBhB,EAAAA,EAAKA,EACNiB,CAAAA,EAAAA,EAAAA,0BAAAA,IACKzQ,IAAI,CAAC0Q,CAAAA,EAAAA,EAAAA,EAAAA,EAAO,IACT,IAAI,CAAChD,iBAAiB,CAAGG,CAC7B,IAGH2B,EAAAA,EAAKA,GACN,IAAI,CAACI,UAAU,GACfe,YAAY,IAAI,CAACf,UAAU,CAAE,KAErC,CA8HJ,CAEO,IAAMxD,EAAe,IAAImB","sources":["webpack://_N_E/?86bf","webpack://_N_E/./src/components/elements/badge/index.tsx","webpack://_N_E/./src/components/elements/check-icon/check-icon.styles.ts","webpack://_N_E/./src/components/elements/check-icon/index.tsx","webpack://_N_E/./src/components/elements/container/index.tsx","webpack://_N_E/./src/components/sections/pricing/plans/components/card/card.styles.ts","webpack://_N_E/./src/components/sections/pricing/plans/hooks/get-plan-cta.tsx","webpack://_N_E/./src/components/sections/pricing/plans/components/card/index.tsx","webpack://_N_E/./src/components/sections/pricing/plans/components/login-info/login-info.styles.ts","webpack://_N_E/./src/components/sections/pricing/plans/components/login-info/index.tsx","webpack://_N_E/./src/components/sections/pricing/plans/components/switch/switch.styles.ts","webpack://_N_E/./src/components/sections/pricing/plans/components/switch/index.tsx","webpack://_N_E/./src/components/sections/pricing/plans/data.ts","webpack://_N_E/./src/components/sections/pricing/plans/plans.styles.ts","webpack://_N_E/./src/components/sections/pricing/plans/index.tsx","webpack://_N_E/./src/lib/marked/link-target-render.ts","webpack://_N_E/../src/index.ts","webpack://_N_E/./src/lib/store/account-store.ts"],"sourcesContent":["import(/* webpackMode: \"eager\", webpackExports: [\"StyledLink\",\"StyledButton\",\"StyledButtonWrapper\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/button/button.styles.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"StyledHeading\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/heading/heading.styles.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"MovingBorder\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/moving-border/index.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ResponsiveLineBreak\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/responsive-line-break/index.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"StyledSquareIcon\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/square-icon/square-icon.styles.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"StyledStack\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/stack/stack.styles.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"StyledText\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/text/text.styles.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"ThemedImage\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/elements/themed-image/index.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"DownloadDropdown\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/modules/download-button/download-dropdown.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"PhoneAppVideoPair\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/modules/phone-app-video-pair/index.tsx\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"StyledHeroWrapper\",\"StyledContainer\",\"StyledExcerpt\",\"StyledCTAWrapper\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/sections/cta/cta.styles.ts\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"PricingPlans\"] */ \"/home/runner/work/httptoolkit-website/httptoolkit-website/src/components/sections/pricing/plans/index.tsx\");\n","import { AdditionalText, BadgeWrapper, StyledBadge } from './badge.styles';\nimport type { BadgeProps } from './badge.types';\n\nexport const Badge = ({\n children,\n variant = 'primary',\n additionalText,\n icon: Icon,\n iconWeight = 'fill',\n}: Component) => {\n const hasAdditionalText = variant === 'secondary' && additionalText;\n\n return (\n \n {hasAdditionalText && {additionalText}}\n \n {Icon && }\n {children}\n \n \n );\n};\n","'use client';\n\nimport type { CheckIconProps } from '.';\n\nimport { styled } from '@/styles';\n\nexport const StyledCheckIcon = styled.div`\n flex-shrink: 0;\n border-radius: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: ${({ theme }) => theme.colors.blueGradient};\n width: ${({ $small }) => ($small ? '17px' : '20px')};\n height: ${({ $small }) => ($small ? '17px' : '20px')};\n color: ${({ theme }) => theme.colors.text.alwayWhite};\n box-shadow:\n 0px 1.66px 0.83px 0px rgba(201, 212, 251, 0.1) inset,\n 0px -0.83px 0.83px 0px rgba(16, 46, 151, 0.1) inset,\n 0 0 0 1px ${({ theme }) => theme.colors.borderAlwaysGradient} inset;\n`;\n","import { StyledCheckIcon } from './check-icon.styles';\nimport { Check } from '../icon';\n\nexport interface CheckIconProps {\n $small?: boolean;\n}\n\nexport const CheckIcon = ({ $small = false }: CheckIconProps) => {\n return (\n \n \n \n );\n};\n","import { StyledContainer } from './container.styles';\nimport type { ContainerProps } from './container.types';\n\nexport const Container = ({ children, as, $size = 'default', ...props }: ContainerProps) => {\n return (\n \n {children}\n \n );\n};\n","'use client';\nimport type { StyledPricingCardProps } from './card.types';\n\nimport { Text } from '@/components/elements/text';\nimport { DropdownWrapper } from '@/components/modules/dropdown/dropdown.styles';\nimport { styled } from '@/styles';\n\nexport const StyledPricingCardWrapper = styled.div`\n border-radius: 16px;\n padding: 16px;\n box-shadow: 0 0 0 1px ${({ theme }) => theme.colors.button.border} inset;\n background-color: ${({ theme, $isHighlighted }) =>\n $isHighlighted ? theme.colors.inkBlack : theme.colors.darkGrey};\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n gap: 32px;\n padding: 32px;\n }\n`;\n\nexport const StyledPricingCardTitle = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n flex-wrap: wrap;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n justify-content: space-between;\n }\n\n *[data-text='true'],\n *[data-badge='true'] {\n width: fit-content;\n flex-shrink: 0;\n }\n`;\n\nexport const StyledPricingCardButtonWrapper = styled.div`\n & [data-dropdown-wrapper='true'],\n & [data-dropdown='true'],\n & [data-button='true'] {\n width: 100%;\n }\n`;\n\nexport const StyledPricingCardPriceWrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: 16px;\n text-align: center;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n text-align: left;\n }\n`;\n\nexport const StyledPricingCardCaveats = styled(Text)`\n &&& {\n margin-top: 6px;\n font-style: italic;\n }\n`;\n\nexport const StyledPriceCardPrice = styled.span`\n font-size: ${({ theme }) => theme.fontSizes.heading.mobile.l};\n line-height: 1.1;\n margin-right: 5px;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n font-size: 56px;\n line-height: 61.6px;\n }\n`;\n\nexport const StyledPricingCardCTAWrapper = styled.div`\n display: grid;\n gap: 16px;\n\n ${DropdownWrapper} {\n width: 100%;\n\n & > * {\n width: 100%;\n }\n }\n\n *[data-text='true'] {\n text-align: center;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n text-align: left;\n }\n }\n`;\n\nexport const StyledPriceCardFeaturesWrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: 16px;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n gap: 32px;\n }\n`;\n\nexport const StyledPriceCardFeature = styled.div`\n display: flex;\n flex-direction: column;\n gap: 24px;\n`;\n\nexport const StyledPriceCardFeatureItemsWrapper = styled.ul`\n display: flex;\n flex-direction: column;\n gap: 16px;\n`;\n\nexport const StyledPriceCardFeatureItemLI = styled.li<{ $itemColor?: 'white' | 'darkGrey' }>`\n display: flex;\n align-items: center;\n gap: 16px;\n\n && a {\n text-decoration: underline;\n }\n\n && p {\n font-size: ${({ theme }) => theme.fontSizes.text.m};\n color: ${({ theme, $itemColor }) => theme.colors.text[$itemColor || 'white']};\n text-align: left;\n }\n`;\n","'use client';\n\nimport { upperFirst } from 'lodash-es';\nimport { usePostHog } from 'posthog-js/react';\nimport React, { useCallback } from 'react';\n\nimport { StyledPricingCardCTAWrapper } from '../components/card/card.styles';\n\nimport { Button } from '@/components/elements/button';\nimport { PaperPlaneTilt, Sparkle, Spinner } from '@/components/elements/icon';\nimport { Text } from '@/components/elements/text';\nimport type { AccountStore, Interval } from '@/lib/store/account-store';\n\n/**\n * @param {React.ReactNode} downloadButton - DrowpdownButton is a server component, so we need to provide it as a children because we cannot import directly in client component\n */\nexport const usePlanCta = (downloadButton?: React.ReactNode) => {\n const posthog = usePostHog();\n\n return useCallback((tierCode: string, account: AccountStore, planCycle: Interval) => {\n const { paidTier, paidCycle } = account.subscription;\n if (tierCode === 'free') {\n return <>{downloadButton};\n }\n\n if (paidTier === tierCode) {\n if (paidCycle === planCycle) {\n return (\n \n {downloadButton}\n \n Download now and log in to access your {upperFirst(tierCode)} subscription\n \n \n );\n }\n\n return (\n \n \n \n You already have this {paidCycle} plan.\n \n \n );\n }\n\n if (tierCode === 'pro') {\n return (\n \n );\n }\n\n if (tierCode === 'team') {\n return (\n account.reportPurchaseEvent('Select team plan', tierCode, planCycle, posthog)}\n >\n Get in touch\n \n );\n }\n }, []);\n};\n","'use client';\n\nimport { marked } from 'marked';\n\nimport {\n StyledPriceCardFeature,\n StyledPriceCardFeatureItemLI,\n StyledPriceCardFeatureItemsWrapper,\n StyledPriceCardPrice,\n StyledPricingCardCaveats,\n StyledPricingCardButtonWrapper,\n StyledPricingCardPriceWrapper,\n StyledPricingCardTitle,\n StyledPricingCardWrapper,\n} from './card.styles';\nimport type { PricingCardProps } from './card.types';\n\nimport { Badge } from '@/components/elements/badge';\nimport { CheckIcon } from '@/components/elements/check-icon';\nimport { Text } from '@/components/elements/text';\nimport type { TextProps } from '@/components/elements/text/text.types';\nimport { renderer } from '@/lib/marked/link-target-render';\n\ninterface FeatureListProps {\n feature: PricingCardProps['features'][number];\n $isHighlighted: PricingCardProps['$isHighlighted'];\n}\nconst FeatureList = ({ feature, $isHighlighted }: FeatureListProps) => {\n const textColor: TextProps['color'] = $isHighlighted ? 'white' : 'lightGrey';\n const itemColor: TextProps['color'] = $isHighlighted ? 'white' : 'darkGrey';\n\n return (\n \n \n {feature.text}\n \n \n {Array.isArray(feature.items) &&\n feature.items?.length > 0 &&\n feature.items.map((item, idx) => (\n \n \n \n \n ))}\n \n \n );\n};\n\nexport const PricingCard = ({\n title,\n price,\n priceDescription,\n features,\n $isHighlighted,\n isPaidYearly,\n children,\n status,\n}: Component) => {\n const TextColor: TextProps['color'] = $isHighlighted ? 'white' : 'lightGrey';\n const isFree = price === 0;\n return (\n \n \n \n \n {title}\n \n {status && {status}}\n \n \n {isFree ? 'Free' : price}\n { priceDescription }\n
\n { typeof price === 'string' && !isFree && (\n \n plus local tax, paid { isPaidYearly ? 'annually' : 'monthly' }\n \n )}\n
\n
\n {children}\n {Array.isArray(features) &&\n features.length > 0 &&\n features.map((feature, idx) => )}\n
\n );\n};\n","'use client';\n\nimport { styled } from '@/styles';\n\nexport const StyledLoginInfoWrapper = styled.div`\n display: grid;\n justify-content: center;\n gap: 16px;\n\n *[data-button='true'] {\n margin: 0 auto;\n }\n`;\n","'use client';\n\nimport { StyledLoginInfoWrapper } from './login-info.styles';\nimport type { LoginInfoProps } from './login-info.types';\n\nimport { Button } from '@/components/elements/button';\nimport { Link } from '@/components/elements/link';\nimport { Text } from '@/components/elements/text';\n\nexport const LoginInfo = ({\n isLoggedIn,\n logOut,\n email\n}: LoginInfoProps) => {\n if (!isLoggedIn) {\n return (\n \n Want to manage an existing account? Log into your dashboard at \n accounts.httptoolkit.tech.\n \n );\n }\n\n return (\n \n \n Logged in as {email}.\n \n \n \n );\n};\n","'use client';\n\nimport { styled } from '@/styles';\n\nexport const StyledWrapper = styled.div`\n display: flex;\n align-items: center;\n width: fit-content;\n height: fit-content;\n gap: 2px;\n`;\n\nexport const StyledOption = styled.span`\n padding: 8px 16px;\n color: ${({ theme }) => theme.colors.text.darkGrey};\n font-size: ${({ theme }) => theme.fontSizes.text.s};\n line-height: 1.5;\n\n &[data-is-active='true'] {\n border-radius: 24px;\n color: ${({ theme }) => theme.colors.text.lightGrey};\n font-weight: ${({ theme }) => theme.fontWeight.medium};\n background-color: ${({ theme }) => theme.colors.inkBlack};\n }\n`;\n\nexport const StyledInput = styled.input`\n opacity: 0;\n position: absolute;\n`;\n\nexport const StyledOptionsWrapper = styled.button`\n display: flex;\n align-items: center;\n justify-content: space-around;\n background: ${({ theme }) => theme.colors.darkGrey};\n border-radius: 40px;\n padding: 2px;\n transition: 350ms all ease-in;\n border: none;\n box-shadow:\n 0 0 0 1px ${({ theme }) => theme.colors.button.border} inset,\n 0 0 8px 0 ${({ theme }) => theme.colors.shadowDefault};\n\n cursor: pointer;\n`;\n","'use client';\n\nimport { useState, type KeyboardEvent } from 'react';\n\nimport { StyledWrapper, StyledOption, StyledOptionsWrapper } from './switch.styles';\nimport type { SwitchProps } from './switch.types';\n\nexport const Switch = ({ options, defaultValue, onChange }: SwitchProps) => {\n const [activeOption, setActiveOption] = useState(defaultValue || options[0].id);\n\n const changeOption = () => {\n const newActiveOptionId = options.find(option => option.id !== activeOption)?.id || options[0].id;\n setActiveOption(newActiveOptionId);\n onChange(newActiveOptionId);\n };\n\n const handleThemeChange = () => {\n changeOption();\n };\n\n const handleKeyPress = (event: KeyboardEvent) => {\n if (event.code === 'Enter') {\n changeOption();\n }\n };\n\n const firstChecked = options[0].id === activeOption;\n const checked = options.find(option => option.id === activeOption);\n const unChecked = options.find(option => option.id !== activeOption);\n\n return (\n \n \n {options[0].text}\n {options[1].text}\n \n \n );\n};\n","import type { SwitchProps } from './components/switch/switch.types';\nimport type { PricingPlansData } from './plans.types';\n\nexport const intervalOptions: SwitchProps['options'] = [\n {\n id: 'annual',\n text: 'Pay yearly ',\n },\n {\n id: 'monthly',\n text: 'Pay monthly',\n },\n];\n\nexport const { plans }: PricingPlansData = {\n plans: [\n {\n $isHighlighted: false,\n id: 'free',\n title: 'Hobbyist',\n priceDescription: '',\n features: [\n {\n text: 'Includes all the basic features you need to start viewing & rewriting your HTTP traffic:',\n items: [\n 'Automatically intercept all supported clients',\n 'Inspect and debug raw HTTP data',\n 'Filter, delete & pin requests',\n 'Manually rewrite intercepted traffic with request & response breakpoints',\n 'Send your own requests directly with the built-in HTTP client tools'\n ],\n },\n ],\n },\n {\n $isHighlighted: true,\n id: 'pro',\n title: 'Professional',\n priceDescription: 'per month',\n features: [\n {\n text: 'All Hobbyist features, plus:',\n items: [\n 'Automated HTTP mocking & rewriting including traffic redirection, mock responses, and errors & timeouts.',\n 'Reusable Modify & Send tools. Persistent by default, plus import/export so you can store, reuse & share your rules & requests',\n 'Import/export for all traffic as [HARs](https://en.wikipedia.org/wiki/HAR_(file_format)) or ready-to-use code for 20+ tools.',\n 'Advanced HTTP debugging tools including compression & caching analysis, and \\'resend\\' functionality.',\n 'Validation & API documentation for 2600+ built-in APIs, from AWS to GitHub to Stripe, plus your own custom [OpenAPI](https://swagger.io/docs/specification/about/) specs.',\n 'Advanced customization including TLS passthrough, proxy ports, whitelisted & client certificates, and upstream proxies.',\n 'Support open-source development!',\n ],\n },\n ],\n },\n {\n $isHighlighted: false,\n id: 'team',\n title: 'Team',\n priceDescription: 'per user, per month',\n features: [\n {\n text: 'All Hobbyist and Professional features, plus...',\n items: [\n 'Centralized billing to simplify payment for your team',\n 'Licensed to your team, not permanently linked to individuals',\n 'Team workspaces for low-friction collaboration (coming soon)',\n ],\n },\n {\n text: 'Options available on request:',\n items: [\n 'Fixed-term bespoke licensing',\n 'Private support',\n 'Self-hosted infrastructure',\n 'Training & consultancy',\n 'Bulk discounts',\n ],\n },\n ],\n },\n ],\n};\n","'use client';\n\nimport { StyledPricingCardWrapper } from './components/card/card.styles';\nimport type { StyledPricingPlansProps } from './plans.types';\n\nimport { Container } from '@/components/elements/container';\nimport { css, keyframes, styled } from '@/styles';\n\nexport const StyledPricingPlansWrapper = styled(Container)`\n &&& {\n position: relative;\n max-width: ${({ theme }) => theme.screens['2xl']} !important;\n }\n`;\n\nexport const StyledPricingPlansSwitchWrapper = styled.div`\n position: relative;\n display: flex;\n justify-content: center;\n margin: 96px auto 32px;\n width: fit-content;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n margin: 48px auto;\n }\n`;\n\nexport const StyledPricingPlansSwitchBadge = styled.div`\n position: absolute;\n left: -34px;\n top: -22px;\n\n border-radius: 24px;\n padding: 8px 12px;\n transform: rotate(-14deg);\n background: ${({ theme }) => theme.colors.orangeGradient};\n box-shadow:\n 0px 1.66px 0.83px 0px rgba(201, 212, 251, 0.1) inset,\n 0px -0.83px 0.83px 0px rgba(16, 46, 151, 0.1) inset,\n 0 0 0 1px ${({ theme }) => theme.colors.button.border} inset;\n\n & > p {\n text-transform: uppercase;\n }\n`;\n\nexport const StyledPricingPlansCardsWrapper = styled.div`\n display: grid;\n gap: 20px;\n margin-bottom: 24px;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n grid-template-columns: ${({ $hideFree }) => ($hideFree ? 'repeat(6, 1fr)' : 'repeat(3, 1fr)')};\n\n ${({ $hideFree }) =>\n $hideFree &&\n css`\n & > ${StyledPricingCardWrapper}:first-child {\n grid-column: 2/4;\n }\n\n & > ${StyledPricingCardWrapper} {\n grid-column: 4/6;\n }\n `}\n }\n`;\n\nexport const StyledPricingPlansLoginInfoWrapper = styled.div`\n display: grid;\n justify-content: center;\n gap: 32px;\n\n @media (min-width: ${({ theme }) => theme.screens.lg}) {\n gap: 24px;\n }\n\n & a {\n font-weight: bold;\n color: var(--electric-blue);\n text-decoration: underline;\n }\n`;\n\n// Define the keyframe animation\nconst rotate = keyframes`\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n`;\n\nexport const StyledLoadingSpinner = styled.span`\n display: inline-flex;\n\n & svg {\n animation: ${rotate} 5s linear infinite;\n }\n`;\n","'use client';\n\nimport { observer } from 'mobx-react-lite';\nimport { useCallback, useState } from 'react';\n\nimport { PricingCard } from './components/card';\nimport { LoginInfo } from './components/login-info';\nimport { Switch } from './components/switch';\nimport { intervalOptions, plans } from './data';\nimport { usePlanCta } from './hooks/get-plan-cta';\nimport {\n StyledPricingPlansCardsWrapper,\n StyledPricingPlansLoginInfoWrapper,\n StyledPricingPlansSwitchBadge,\n StyledPricingPlansSwitchWrapper,\n StyledPricingPlansWrapper,\n StyledLoadingSpinner,\n} from './plans.styles';\nimport type { PlanId, StyledPricingPlansProps } from './plans.types';\n\nimport { Spinner } from '@/components/elements/icon';\nimport { Text } from '@/components/elements/text';\nimport { accountStore, Interval } from '@/lib/store/account-store';\nimport { LoginModal } from '@/components/modules/login-modal';\n\nconst LoadingPrice = () => {\n return (\n \n \n \n );\n};\n\nconst getAnnualDiscountText = (discount: number | null) => {\n return `Save ${discount ? (discount * 100) : '25'}%`;\n}\n\nexport const PricingPlans = observer(({ $hideFree, downloadButton }: StyledPricingPlansProps) => {\n const [planCycle, setPlanCycle] = useState('monthly');\n const getPlanCTA = usePlanCta(downloadButton);\n\n const isAnnual = planCycle === 'annual';\n const filteredPlans = $hideFree ? plans.filter(plan => plan.id !== 'free') : plans;\n const {\n isLoggedIn,\n user,\n logOut\n } = accountStore;\n\n const getPlanMonthlyPrice = useCallback(\n (planId: PlanId) => {\n if (planId === 'free') return 0;\n return accountStore.getPlanMonthlyPrice(planId, planCycle)\n ?? ;\n },\n [planCycle],\n );\n\n const getPlanStatus = useCallback((planId: PlanId) => {\n const { paidTier, paidCycle, status } = accountStore.subscription;\n\n if (paidTier !== planId) return;\n\n const statusDescription =\n {\n active: 'Active',\n trialing: 'Active trial',\n past_due: 'Past due',\n deleted: 'Active but cancelled',\n }[status as string] || 'Unknown';\n\n return paidCycle === planCycle ? statusDescription : `${statusDescription} (${paidCycle})`;\n }, []);\n\n const annualSaving = accountStore.calculateMaxAnnualSaving();\n\n return (\n <>\n \n \n { !isAnnual && (\n \n \n { getAnnualDiscountText(annualSaving) }\n \n \n )}\n \n \n \n {Array.isArray(filteredPlans) &&\n filteredPlans.length > 0 &&\n filteredPlans.map(card => (\n \n {getPlanCTA(card.id, accountStore, planCycle)}\n \n ))}\n \n \n \n \n \n \n );\n});\n","import { marked } from 'marked';\n\nexport const renderer = new marked.Renderer();\nconst linkRenderer = renderer.link;\nrenderer.link = (href, title, text) => {\n const html = linkRenderer.call(renderer, href, title, text);\n return html\n .replace(/^/, `opens in a new tab`);\n};\n",null,"import {\n getLastUserData,\n getLatestUserData,\n goToCheckout,\n loadPlanPricesUntilSuccess,\n SubscriptionPlans,\n TierCode,\n PricedSKU,\n User,\n logOut\n} from '@httptoolkit/accounts';\n\nimport { PostHog } from 'posthog-js';\nimport {\n makeObservable,\n observable,\n computed,\n flow,\n action,\n when\n} from 'mobx';\n\nimport { isSSR } from '../utils';\n\n// Limited interval here - tighter type than the accounts module\nexport type Interval = \"monthly\" | \"annual\";\n\nexport class AccountStore {\n\n subscriptionPlans: SubscriptionPlans | null = null;\n loginModalVisible: boolean = false;\n user: User = !isSSR\n ? getLastUserData()\n : { featureFlags: [], banned: false };\n\n constructor() {\n makeObservable(this, {\n subscriptionPlans: observable,\n loginModalVisible: observable,\n user: observable,\n isLoggedIn: computed,\n isPaidUser: computed,\n subscription: computed\n });\n\n if (!isSSR) {\n loadPlanPricesUntilSuccess()\n .then(action((prices: SubscriptionPlans) => {\n this.subscriptionPlans = prices;\n }));\n }\n\n if (!isSSR) {\n this.updateUser();\n setInterval(this.updateUser, 1000 * 60 * 10);\n }\n }\n\n getPlanMonthlyPrice(tierCode: TierCode, planCycle: Interval): string | null {\n if (!this.subscriptionPlans) return null;\n\n const sku = this.getSKU(tierCode, planCycle);\n return (\n this.subscriptionPlans[sku]?.prices as { monthly: string }\n ).monthly ?? null;\n }\n\n calculateMaxAnnualSaving(): number | null {\n if (!this.subscriptionPlans) return null;\n\n const discounts = (['pro', 'team'] as const).map((tierCode) => {\n const monthlySku = this.getSKU(tierCode, 'monthly');\n const annualSku = this.getSKU(tierCode, 'annual');\n\n if (\n !this.subscriptionPlans ||\n !this.subscriptionPlans[monthlySku] ||\n !this.subscriptionPlans[annualSku]\n ) return NaN;\n\n const monthlyTotal = (\n this.subscriptionPlans[monthlySku].prices as { rawTotal: number }\n ).rawTotal;\n const annualTotal = (\n this.subscriptionPlans[annualSku].prices as { rawTotal: number }\n ).rawTotal;\n const annualPerMonth = annualTotal / 12;\n\n return 1 - (annualPerMonth / monthlyTotal);\n }).filter(d => !isNaN(d));\n\n if (discounts.length === 0) return null;\n return Math.round(Math.max(...discounts));\n }\n\n getSKU = (tierCode: TierCode, planCycle: Interval): PricedSKU => {\n return `${tierCode}-${planCycle}` as PricedSKU;\n };\n\n updateUser = flow(function* (this: AccountStore) {\n this.user = yield getLatestUserData();\n }.bind(this));\n\n get isLoggedIn(): boolean {\n return !!this.user.email;\n }\n\n get isPaidUser(): boolean {\n const subscriptionExpiry = this.user.subscription?.expiry;\n return !!subscriptionExpiry &&\n subscriptionExpiry.valueOf() > Date.now();\n }\n\n get subscription(): { paidTier?: TierCode; paidCycle?: Interval; status?: string } {\n if (!this.isPaidUser) return {};\n\n const [paidTier, paidCycle] = this.user.subscription!.plan.split('-') as [TierCode, Interval];\n const status = this.user.subscription!.status;\n\n return { paidTier, paidCycle, status };\n }\n\n login = flow(function* (this: AccountStore) {\n if (!this.isLoggedIn) {\n this.loginModalVisible = true;\n yield when(() => this.loginModalVisible === false);\n }\n }).bind(this);\n\n endLogin = flow(function* (this: AccountStore) {\n this.loginModalVisible = false;\n }).bind(this);\n\n finalizeLogin = flow(function* (this: AccountStore) {\n yield this.updateUser();\n this.loginModalVisible = false;\n }).bind(this);\n\n logOut = flow(function* (this: AccountStore) {\n if (this.isLoggedIn) {\n yield logOut();\n yield this.updateUser();\n }\n }).bind(this);\n\n buyPlan = flow(\n function* (this: AccountStore, tierCode: TierCode, planCycle: Interval, posthog?: PostHog) {\n this.reportPurchaseEvent('Select plan', tierCode, planCycle, posthog);\n const sku = this.getSKU(tierCode, planCycle);\n\n if (!this.isLoggedIn) {\n this.reportPurchaseEvent('Login started', tierCode, planCycle, posthog);\n yield this.login();\n if (this.isLoggedIn) {\n this.reportPurchaseEvent('Login completed', tierCode, planCycle, posthog);\n } else {\n this.reportPurchaseEvent('Login cancelled', tierCode, planCycle, posthog);\n }\n } else {\n this.reportPurchaseEvent('Already logged in', tierCode, planCycle, posthog);\n }\n\n if (!this.isLoggedIn || this.isPaidUser) {\n return;\n }\n\n if (this.user?.banned) {\n alert('Your account has been blocked for abuse. Please contact help@httptoolkit.com.');\n return;\n }\n\n this.reportPurchaseEvent('Checkout started', tierCode, planCycle, posthog);\n return goToCheckout(this.user.email!, sku, 'web');\n }.bind(this)\n );\n\n reportPurchaseEvent(name: string, planName: TierCode, planCycle: Interval, posthog?: PostHog): void {\n const sku = this.getSKU(planName, planCycle);\n if (posthog) {\n posthog.capture(name, { planName, planCycle, sku });\n }\n }\n}\n\nexport const accountStore = new AccountStore();"],"names":["Promise","resolve","then","__webpack_require__","bind","Badge","children","variant","additionalText","icon","Icon","iconWeight","param","hasAdditionalText","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","BadgeWrapper","jsx","AdditionalText","StyledBadge","data-badge","$variant","size","weight","StyledCheckIcon","styled","div","_templateObject","theme","colors","blueGradient","$small","text","alwayWhite","borderAlwaysGradient","CheckIcon","Check","Container","as","$size","props","StyledContainer","StyledPricingCardWrapper","button","border","$isHighlighted","inkBlack","darkGrey","screens","lg","StyledPricingCardTitle","_templateObject1","StyledPricingCardButtonWrapper","_templateObject2","StyledPricingCardPriceWrapper","_templateObject3","StyledPricingCardCaveats","Text","StyledPriceCardPrice","span","_templateObject5","fontSizes","heading","mobile","l","StyledPricingCardCTAWrapper","_templateObject6","DropdownWrapper","_templateObject7","StyledPriceCardFeature","_templateObject8","StyledPriceCardFeatureItemsWrapper","ul","_templateObject9","StyledPriceCardFeatureItemLI","li","_templateObject10","m","$itemColor","usePlanCta","posthog","usePostHog","useCallback","tierCode","account","planCycle","paidTier","paidCycle","subscription","Fragment","downloadButton","fontSize","color","upperFirst","Button","$isFluid","href","Sparkle","onClick","buyPlan","PaperPlaneTilt","reportPurchaseEvent","FeatureList","feature","itemColor","jsx_runtime","fontWeight","textAlign","Array","isArray","items","length","map","item","idx","dangerouslySetInnerHTML","__html","marked","parse","renderer","PricingCard","title","price","priceDescription","features","isPaidYearly","status","TextColor","isFree","br","forwardedAs","StyledLoginInfoWrapper","LoginInfo","isLoggedIn","logOut","email","Link","StyledWrapper","switch_styles_templateObject","StyledOption","s","lightGrey","medium","input","StyledOptionsWrapper","shadowDefault","Switch","options","defaultValue","onChange","activeOption","setActiveOption","useState","id","changeOption","newActiveOptionId","find","option","firstChecked","checked","unChecked","aria-live","aria-label","concat","type","onKeyUp","event","code","data-is-active","intervalOptions","plans","StyledPricingPlansWrapper","StyledPricingPlansSwitchWrapper","plans_styles_templateObject1","StyledPricingPlansSwitchBadge","plans_styles_templateObject2","orangeGradient","StyledPricingPlansCardsWrapper","_templateObject4","$hideFree","css","StyledPricingPlansLoginInfoWrapper","rotate","keyframes","StyledLoadingSpinner","LoadingPrice","Spinner","getAnnualDiscountText","discount","PricingPlans","observer","setPlanCycle","getPlanCTA","isAnnual","filteredPlans","filter","plan","user","accountStore","getPlanMonthlyPrice","planId","getPlanStatus","statusDescription","active","trialing","past_due","deleted","annualSaving","calculateMaxAnnualSaving","$isLabel","card","Renderer","linkRenderer","link","html","call","replace","AccountStore","_this_subscriptionPlans_sku","_this_subscriptionPlans_sku_prices_monthly","subscriptionPlans","sku","getSKU","prices","monthly","discounts","monthlySku","annualSku","NaN","monthlyTotal","rawTotal","annualPerMonth","d","isNaN","Math","round","max","isPaidUser","_this_user_subscription","subscriptionExpiry","expiry","valueOf","Date","now","split","name","planName","capture","constructor","loginModalVisible","isSSR","featureFlags","banned","getLastUserData","updateUser","flow","getLatestUserData","login","when","endLogin","finalizeLogin","_this_user","alert","goToCheckout","makeObservable","observable","computed","loadPlanPricesUntilSuccess","action","setInterval"],"sourceRoot":""}