{"version":3,"file":"hungryroot-footer.Dcn6bhKO.js","sources":["../../../footer/src/AppleAppStoreBadge.tsx","../../../footer/src/hungryroot-footer.tsx"],"sourcesContent":["interface Props {\n className: string;\n}\n\nexport function AppleAppStoreBadge({ className }: Props) {\n return (\n \n );\n}\n","import { type ReactNode, StrictMode } from 'react';\nimport clsx from 'clsx';\nimport { AuthState, type CustomerAuthState } from '@hungryroot/customer';\nimport { Text } from '@hungryroot/ramen';\nimport { AppleAppStoreBadge } from './AppleAppStoreBadge';\nimport styles from './hungryroot-footer.module.css';\n\ninterface ILink {\n path: string;\n text: string;\n external?: boolean;\n target?: string;\n rel?: string;\n}\n\nconst authenticatedTopLinks: ILink[] = [\n { path: '/recipes/', text: 'The Cookbook', external: true },\n { path: '/preferences/', text: 'Food Profile', external: true },\n { path: '/account/referral/', text: 'Referral', external: true },\n { path: '/gift/', text: 'Gifts', external: true },\n];\n\nconst anonymousTopLinks: ILink[] = [\n { path: '/foods/', text: 'Groceries', external: true },\n { path: '/recipes/', text: 'Recipes', external: true },\n { path: '/reviews/', text: 'Reviews', external: true },\n { path: '/gift/', text: 'Gifts', external: true },\n];\n\nconst infoLinks: ILink[] = [\n { path: '/philosophy/', text: 'Philosophy', external: true },\n { path: '/packaging/', text: 'Sustainability', external: true },\n { path: '/careers/', text: 'Careers', external: true },\n {\n path: 'https://support.hungryroot.com/hc/en-us',\n text: 'Contact us',\n external: true,\n target: '_blank',\n rel: 'noreferrer',\n },\n { path: '/faq/', text: 'FAQ', target: '_blank' },\n];\n\nconst communityLinks: ILink[] = [\n {\n path: 'https://blog.hungryroot.com',\n text: 'Blog',\n external: true,\n target: '_blank',\n rel: 'noreferrer',\n },\n {\n path: 'https://www.instagram.com/hungryroot',\n text: 'Instagram',\n external: true,\n target: '_blank',\n rel: 'noreferrer',\n },\n {\n path: 'https://www.tiktok.com/@hungryroot?lang=en',\n text: 'TikTok',\n external: true,\n target: '_blank',\n rel: 'noreferrer',\n },\n {\n path: 'https://www.facebook.com/groups/hungryroot',\n text: 'Facebook',\n external: true,\n target: '_blank',\n rel: 'noreferrer',\n },\n];\n\nconst bottomLinks: ILink[] = [\n { path: '/terms/', text: 'Terms', external: true, target: '_blank' },\n { path: '/privacy/', text: 'Privacy', external: true, target: '_blank' },\n {\n path: '/accessibility/',\n text: 'Accessibility',\n external: true,\n target: '_blank',\n },\n];\n\nconst doNotSellLink: ILink = {\n path: 'https://airtable.com/shr3O0BHKqYS0uu5v',\n text: 'Do not sell or share my personal information',\n external: true,\n target: '_blank',\n rel: 'noreferrer',\n};\n\nconst getLinks = (links: ILink[], className?: string) => {\n return links.map((link) => {\n const text = (\n