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qBC7NAsF,EAAAC,OAAA,EAAkB,OAAS,wGAA6G,gFCAxID,EAAAC,OAAA,EAAkB,OAAS,6EAAgF","sources":["webpack://_N_E/?fc6b","webpack://_N_E/./node_modules/@mui/material/utils/capitalize.js","webpack://_N_E/./node_modules/@mui/material/SvgIcon/svgIconClasses.js","webpack://_N_E/./node_modules/@mui/material/SvgIcon/SvgIcon.js","webpack://_N_E/./node_modules/@mui/material/utils/createSvgIcon.js","webpack://_N_E/./node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js","webpack://_N_E/./node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js","webpack://_N_E/./node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js","webpack://_N_E/./node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js","webpack://_N_E/./node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js","webpack://_N_E/./node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js","webpack://_N_E/./node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","webpack://_N_E/./node_modules/next/dist/api/link.js","webpack://_N_E/./node_modules/next/dist/api/navigation.js","webpack://_N_E/./src/components/BreadCrumb.tsx","webpack://_N_E/./src/components/Festivals/FestivalHome.tsx","webpack://_N_E/./src/contexts/AppContext.tsx","webpack://_N_E/./src/contexts/FestivalContext.tsx","webpack://_N_E/./node_modules/next/font/google/target.css?2791","webpack://_N_E/./node_modules/next/font/google/target.css"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/globalConstants.ts\\\",\\\"import\\\":\\\"Inter\\\",\\\"arguments\\\":[{\\\"subsets\\\":[\\\"latin\\\"],\\\"variable\\\":\\\"--font-inter\\\"}],\\\"variableName\\\":\\\"inter\\\"}\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/globalConstants.ts\\\",\\\"import\\\":\\\"Noto_Sans\\\",\\\"arguments\\\":[{\\\"display\\\":\\\"swap\\\",\\\"style\\\":\\\"normal\\\",\\\"variable\\\":\\\"--font-sans\\\",\\\"subsets\\\":[\\\"latin\\\"]}],\\\"variableName\\\":\\\"noto_sans\\\"}\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/globalConstants.ts\\\",\\\"import\\\":\\\"Noto_Serif\\\",\\\"arguments\\\":[{\\\"display\\\":\\\"swap\\\",\\\"style\\\":\\\"normal\\\",\\\"variable\\\":\\\"--font-serif\\\",\\\"subsets\\\":[\\\"latin\\\"]}],\\\"variableName\\\":\\\"noto_serif\\\"}\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/globalConstants.ts\\\",\\\"import\\\":\\\"Ubuntu\\\",\\\"arguments\\\":[{\\\"display\\\":\\\"swap\\\",\\\"style\\\":\\\"normal\\\",\\\"variable\\\":\\\"--font-ubuntu\\\",\\\"subsets\\\":[\\\"latin\\\"],\\\"weight\\\":[\\\"400\\\",\\\"500\\\",\\\"700\\\"]}],\\\"variableName\\\":\\\"ubuntu\\\"}\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/globalConstants.ts\\\",\\\"import\\\":\\\"Roboto\\\",\\\"arguments\\\":[{\\\"display\\\":\\\"swap\\\",\\\"style\\\":\\\"normal\\\",\\\"variable\\\":\\\"--font-robot\\\",\\\"subsets\\\":[\\\"latin\\\"],\\\"weight\\\":\\\"400\\\"}],\\\"variableName\\\":\\\"roboto\\\"}\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src499092723/src/dharmayana-website/node_modules/next/font/google/target.css?{\\\"path\\\":\\\"src/globalConstants.ts\\\",\\\"import\\\":\\\"Great_Vibes\\\",\\\"arguments\\\":[{\\\"display\\\":\\\"swap\\\",\\\"style\\\":\\\"normal\\\",\\\"subsets\\\":[\\\"latin\\\"],\\\"variable\\\":\\\"--font-good-vibes\\\",\\\"weight\\\":\\\"400\\\"}],\\\"variableName\\\":\\\"great_vibes\\\"}\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src499092723/src/dharmayana-website/src/components/Festivals/FestivalHome.tsx\");\n","import capitalize from '@mui/utils/capitalize';\nexport default capitalize;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSvgIconUtilityClass(slot) {\n return generateUtilityClass('MuiSvgIcon', slot);\n}\nconst svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);\nexport default svgIconClasses;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"children\", \"className\", \"color\", \"component\", \"fontSize\", \"htmlColor\", \"inheritViewBox\", \"titleAccess\", \"viewBox\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from '../utils/capitalize';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport styled from '../styles/styled';\nimport { getSvgIconUtilityClass } from './svgIconClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n fontSize,\n classes\n } = ownerState;\n const slots = {\n root: ['root', color !== 'inherit' && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]\n };\n return composeClasses(slots, getSvgIconUtilityClass, classes);\n};\nconst SvgIconRoot = styled('svg', {\n name: 'MuiSvgIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'inherit' && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];\n }\n})(({\n theme,\n ownerState\n}) => {\n var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _palette$ownerState$c, _palette, _palette2, _palette3;\n return {\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n // the will define the property that has `currentColor`\n // for example heroicons uses fill=\"none\" and stroke=\"currentColor\"\n fill: ownerState.hasSvgAsChild ? undefined : 'currentColor',\n flexShrink: 0,\n transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {\n duration: (_theme$transitions2 = theme.transitions) == null || (_theme$transitions2 = _theme$transitions2.duration) == null ? void 0 : _theme$transitions2.shorter\n }),\n fontSize: {\n inherit: 'inherit',\n small: ((_theme$typography = theme.typography) == null || (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem',\n medium: ((_theme$typography2 = theme.typography) == null || (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem',\n large: ((_theme$typography3 = theme.typography) == null || (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875rem'\n }[ownerState.fontSize],\n // TODO v5 deprecate, v6 remove for sx\n color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null || (_palette = _palette[ownerState.color]) == null ? void 0 : _palette.main) != null ? _palette$ownerState$c : {\n action: (_palette2 = (theme.vars || theme).palette) == null || (_palette2 = _palette2.action) == null ? void 0 : _palette2.active,\n disabled: (_palette3 = (theme.vars || theme).palette) == null || (_palette3 = _palette3.action) == null ? void 0 : _palette3.disabled,\n inherit: undefined\n }[ownerState.color]\n };\n});\nconst SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSvgIcon'\n });\n const {\n children,\n className,\n color = 'inherit',\n component = 'svg',\n fontSize = 'medium',\n htmlColor,\n inheritViewBox = false,\n titleAccess,\n viewBox = '0 0 24 24'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';\n const ownerState = _extends({}, props, {\n color,\n component,\n fontSize,\n instanceFontSize: inProps.fontSize,\n inheritViewBox,\n viewBox,\n hasSvgAsChild\n });\n const more = {};\n if (!inheritViewBox) {\n more.viewBox = viewBox;\n }\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SvgIconRoot, _extends({\n as: component,\n className: clsx(classes.root, className),\n focusable: \"false\",\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref\n }, more, other, hasSvgAsChild && children.props, {\n ownerState: ownerState,\n children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/_jsx(\"title\", {\n children: titleAccess\n }) : null]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n * @default 'inherit'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n * @default 'medium'\n */\n fontSize: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'large', 'medium', 'small']), PropTypes.string]),\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n /**\n * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`\n * prop will be ignored.\n * Useful when you want to reference a custom `component` and have `SvgIcon` pass that\n * `component`'s viewBox to the root node.\n * @default false\n */\n inheritViewBox: PropTypes.bool,\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this prop.\n */\n shapeRendering: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n * @default '0 0 24 24'\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default SvgIcon;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport SvgIcon from '../SvgIcon';\n\n/**\n * Private module reserved for @mui packages.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n function Component(props, ref) {\n return /*#__PURE__*/_jsx(SvgIcon, _extends({\n \"data-testid\": `${displayName}Icon`,\n ref: ref\n }, props, {\n children: path\n }));\n }\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = `${displayName}Icon`;\n }\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}","/**\n * Extracts event handlers from a given object.\n * A prop is considered an event handler if it is a function and its name starts with `on`.\n *\n * @param object An object to extract event handlers from.\n * @param excludeKeys An array of keys to exclude from the returned object.\n */\nfunction extractEventHandlers(object, excludeKeys = []) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default extractEventHandlers;","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport isHostComponent from '../isHostComponent';\n\n/**\n * Type of the ownerState based on the type of an element it applies to.\n * This resolves to the provided OwnerState for React components and `undefined` for host components.\n * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.\n */\n\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.\n * @param otherProps Props of the element.\n * @param ownerState\n */\nfunction appendOwnerState(elementType, otherProps, ownerState) {\n if (elementType === undefined || isHostComponent(elementType)) {\n return otherProps;\n }\n return _extends({}, otherProps, {\n ownerState: _extends({}, otherProps.ownerState, ownerState)\n });\n}\nexport default appendOwnerState;","/**\n * Removes event handlers from the given object.\n * A field is considered an event handler if it is a function with a name beginning with `on`.\n *\n * @param object Object to remove event handlers from.\n * @returns Object with event handlers removed.\n */\nfunction omitEventHandlers(object) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default omitEventHandlers;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport clsx from 'clsx';\nimport extractEventHandlers from '../extractEventHandlers';\nimport omitEventHandlers from '../omitEventHandlers';\n/**\n * Merges the slot component internal props (usually coming from a hook)\n * with the externally provided ones.\n *\n * The merge order is (the latter overrides the former):\n * 1. The internal props (specified as a getter function to work with get*Props hook result)\n * 2. Additional props (specified internally on a Base UI component)\n * 3. External props specified on the owner component. These should only be used on a root slot.\n * 4. External props specified in the `slotProps.*` prop.\n * 5. The `className` prop - combined from all the above.\n * @param parameters\n * @returns\n */\nfunction mergeSlotProps(parameters) {\n const {\n getSlotProps,\n additionalProps,\n externalSlotProps,\n externalForwardedProps,\n className\n } = parameters;\n if (!getSlotProps) {\n // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,\n // so we can simply merge all the props without having to worry about extracting event handlers.\n const joinedClasses = clsx(additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);\n const mergedStyle = _extends({}, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);\n const props = _extends({}, additionalProps, externalForwardedProps, externalSlotProps);\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: undefined\n };\n }\n\n // In this case, getSlotProps is responsible for calling the external event handlers.\n // We don't need to include them in the merged props because of this.\n\n const eventHandlers = extractEventHandlers(_extends({}, externalForwardedProps, externalSlotProps));\n const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);\n const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);\n const internalSlotProps = getSlotProps(eventHandlers);\n\n // The order of classes is important here.\n // Emotion (that we use in libraries consuming Base UI) depends on this order\n // to properly override style. It requires the most important classes to be last\n // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.\n const joinedClasses = clsx(internalSlotProps == null ? void 0 : internalSlotProps.className, additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);\n const mergedStyle = _extends({}, internalSlotProps == null ? void 0 : internalSlotProps.style, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);\n const props = _extends({}, internalSlotProps, additionalProps, otherPropsWithoutEventHandlers, componentsPropsWithoutEventHandlers);\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: internalSlotProps.ref\n };\n}\nexport default mergeSlotProps;","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nfunction resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}\nexport default resolveComponentProps;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"elementType\", \"externalSlotProps\", \"ownerState\", \"skipResolvingSlotProps\"];\nimport useForkRef from '../useForkRef';\nimport appendOwnerState from '../appendOwnerState';\nimport mergeSlotProps from '../mergeSlotProps';\nimport resolveComponentProps from '../resolveComponentProps';\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n var _parameters$additiona;\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false\n } = parameters,\n rest = _objectWithoutPropertiesLoose(parameters, _excluded);\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps(_extends({}, rest, {\n externalSlotProps: resolvedComponentsProps\n }));\n const ref = useForkRef(internalRef, resolvedComponentsProps == null ? void 0 : resolvedComponentsProps.ref, (_parameters$additiona = parameters.additionalProps) == null ? void 0 : _parameters$additiona.ref);\n const props = appendOwnerState(elementType, _extends({}, mergedProps, {\n ref\n }), ownerState);\n return props;\n}\nexport default useSlotProps;","export { default } from \"../client/link\";\nexport * from \"../client/link\";\n\n//# sourceMappingURL=link.js.map","export * from \"../client/components/navigation\";\n\n//# sourceMappingURL=navigation.js.map","'use client';\nimport { useAppContext } from '@/contexts/AppContext';\nimport { noto_sans } from '@/globalConstants';\nimport Breadcrumbs from '@mui/material/Breadcrumbs';\nimport Image from 'next/image';\nimport Link from 'next/link';\nimport React from 'react';\n\n\nconst BreadCrumb = ({ pathname }: { pathname: string }) => {\n // Determine if the app is in web view mode.\n const { isMobileView, isAppView } = useAppContext();\n\n\n\n // Helper function to convert strings to capital case.\n const toCapitalCase = (str: string) => {\n return str\n .toLowerCase()\n .split(' ')\n .map(word => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ')\n .replace(/@/g, ' at ')\n .replace(/_/g, ' ');\n };\n\n // Generate breadcrumb pages from the pathname.\n const pages = pathname.split('/').filter(Boolean);\n return (\n \"\n priority={true}\n loading=\"eager\"\n width={24} // Use width and height directly\n height={24}\n style={{ width: '1.5rem', height: '1.5rem' }}\n />\n }\n >\n {[''].concat(pages).map((page, index) => {\n const isLast = index === pages.length;\n const href = index > 0 ? `/${pages.slice(0, index).join('/')}` : '/';\n const displayText = page === ''\n ? 'Home'\n : page === 'articles'\n ? 'Sacred Threads'\n : toCapitalCase(page.replace(/-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/, '').replace(/-/g, ' ').replace(/_/g, ' '));\n\n return (\n \n {displayText.replaceAll(' ', '-').replaceAll('%20', '-')}\n \n );\n })}\n \n );\n};\n\nexport default React.memo(BreadCrumb);\n","'use client'\nimport { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';\nimport React, { useEffect, useState } from 'react'\nimport { LocalizationProvider } from '@mui/x-date-pickers'\nimport { noto_sans, noto_serif, ubuntu } from '@/globalConstants';\nimport { MenuItem, Skeleton, } from '@mui/material';\nimport Image from 'next/image';\nimport { usePathname } from 'next/navigation';\nimport { Festival } from '@/globalTypes';\nimport { Dropdown } from '@mui/base/Dropdown';\nimport { Menu } from '@mui/base/Menu';\nimport BreadCrumb from '@/components/BreadCrumb';\nimport { MenuButton, AnimatedListbox } from '@/lib/globalHooks';\nimport { useFestivalContext } from '@/contexts/FestivalContext';\n\nconst FestivalsHome = () => {\n const BASE_CLASS = 'festivals';\n const pathname = usePathname();\n const [dropdown, setDropdown] = useState(false);\n let { selectedYear, handleYearChange, months, updatedSelectedFestival, fetchAllFestivals, location } = useFestivalContext();\n useEffect(() => {\n if (location.city !== '' && months['JANUARY'].length === 0) { \n fetchAllFestivals();\n }\n// eslint-disable-next-line react-hooks/exhaustive-deps\n }, [])\n\n\n return (\n \n
\n {\n
\n
\n
\n
\n
\n \n
\n
\n
\n Festivals\n
\n
\n
\n \n \n
setDropdown(!dropdown)}>\n {selectedYear}\n \"\"\n
\n
\n \n {\n [2024, 2025, 2026, 2027].splice(0, 5).map((item) => {\n return {\n handleYearChange(item)\n setDropdown(false);\n }} >\n
\n {item}\n
\n
\n })\n }\n
\n
\n
\n
\n
\n
\n
\n
\n {\n Object.keys(months).map((month: string, index: number) => {\n return
\n
\n {month}\n
\n {months[month] === null ?
No Festivals/Observances today for this month
:\n
\n {months[month].length === 0 ?\n [1, 2, 3].map(() => {\n return \n })\n : months[month].map((festival: Festival) => {\n\n if (index === new Date(festival.date * 1000).getMonth()) {\n return (\n
{ updatedSelectedFestival(festival) }} >\n
\n
\n {new Date(festival.date * 1000).getDate()}\n {month.split(\"\").splice(0, 3).join(\"\")}\n
\n
\n {festival.data.observance_name || festival.data.name}\n \"deepak\"\n
\n
\n
\n {festival.data.description_1}\n
\n
\n )\n }\n })\n }\n
\n }\n
\n })\n\n }\n
\n
\n
\n
\n }\n\n
\n \n )\n}\n\nexport default FestivalsHome\n","'use client'\nimport React, { createContext, useContext, useState, useEffect, ReactNode } from 'react';\ninterface AppContextType {\n isMobileView: boolean;\n isAppView: boolean;\n setIsMobileView: React.Dispatch>;\n setIsAppView: React.Dispatch>;\n}\nconst AppContext = createContext(undefined);\nexport const AppContextProvider = ({ children }: { children: ReactNode }) => {\n const [isMobileView, setIsMobileView] = useState(true);\n const [isAppView, setIsAppView] = useState(false);\n\n useEffect(() => {\n const userAgent = navigator.userAgent || '';\n const isAppView = /AppWebView/i.test(userAgent);\n const isMobileDevice = /Android|iPhone|iPad|iPod/i.test(userAgent);\n const isSmallScreen = window.innerWidth < 1024;\n // Set states based on conditions\n setIsAppView(isAppView);\n // A device is considered \"mobile\" only if it's a mobile device and has a small screen\n setIsMobileView(!isAppView && isMobileDevice && isSmallScreen);\n // Listen for window resize to handle tablet landscape/portrait changes dynamically\n const handleResize = () => {\n if (!isAppView && isMobileDevice) {\n setIsMobileView(window.innerWidth < 1024);\n }\n };\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n return (\n \n {children}\n \n );\n};\nexport const useAppContext = () => {\n const context = useContext(AppContext);\n if (context === undefined) {\n throw new Error('useAppContext must be used within a AppProvider');\n }\n return context;\n};\n","// festivalsContext.tsx\nimport { Festival, FestivalsOrObservancesData, Location, Months } from '@/globalTypes';\nimport { parseDate } from '@/lib/globalHooks';\nimport { getAFestival, getAllFestivals, getUserLocation } from '@/services/app.services';\nimport { usePathname, useRouter } from 'next/dist/client/components/navigation';\n\nimport React, { createContext, useContext, useState, useEffect, ReactNode } from 'react';\ninterface Tithi {\n name: string;\n key: string;\n end_time: number;\n start_time: number;\n}\ninterface Masa {\n amanta: string;\n purnima: string;\n}\ninterface Ayana {\n name: string;\n key: string;\n}\ninterface Year {\n name: string;\n key: string;\n year: number;\n}\ninterface Muhurat {\n auspicious: any[];\n inauspicious: any[];\n}\ninterface Ritu {\n name: string;\n key: string;\n sub_text: string;\n}\ninterface Vaara {\n name: string;\n key: string;\n sub_text: string;\n}\ninterface PanchangaDetails {\n tithi: Tithi[];\n paksha: string;\n masa: Masa;\n paksha_v1: { name: string; key: string };\n nakshatra: any[];\n ayana: Ayana;\n shubh_karyas: any[];\n sun: { rise: number; set: number };\n moon: { rise: number; set: number };\n years: {\n vikram: Year;\n saka: Year;\n kali: Year;\n };\n muhurat: Muhurat;\n ritu: Ritu;\n vaara: Vaara;\n karana: any[];\n yoga: any[];\n observances: any[];\n}\ninterface SelectedFestival {\n date: number;\n data: FestivalsOrObservancesData;\n panchanga: PanchangaDetails;\n}\ninterface FestivalContextType {\n selectedYear: string;\n setSelectedYear: (year: string) => void;\n selectedFestival: Festival;\n setSelectedFestival: (festival: Festival) => void;\n loader: boolean;\n months: Months;\n setMonths: (months: Months) => void;\n handleYearChange: (year: number) => void;\n setLoader: (value: boolean) => void;\n location: Location;\n updatedSelectedFestival: (selectedFestival: Festival) => void\n fetchAllFestivals: () => void\n fetchUserLocation: () => void\n}\nconst inital_months_data = {\n 'JANUARY': [],\n 'FEBRUARY': [],\n 'MARCH': [],\n 'APRIL': [],\n 'MAY': [],\n 'JUNE': [],\n 'JULY': [],\n 'AUGUST': [],\n 'SEPTEMBER': [],\n 'OCTOBER': [],\n 'NOVEMBER': [],\n 'DECEMBER': []\n}\nconst FestivalContext = createContext(undefined);\nexport const FestivalProvider = ({ children }: { children: ReactNode }) => {\n const [loader, setLoader] = useState(true)\n const router = useRouter();\n const pathname = usePathname();\n const [selectedYear, setSelectedYear] = useState(new Date().getFullYear().toString());\n const [location, setlocation] = useState({\n city: '',\n lat: 0,\n long: 0\n });\n const [selectedFestival, setSelectedFestival] = useState({\n date: 0,\n data: {\n id: \"\",\n name: \"\",\n key: \"\",\n type: \"\",\n sub_type: \"\",\n tier: 0,\n aliases: [],\n prarthanas:[],\n description_1: \"\",\n description_2: \"\",\n ui_info: {\n bg_image: \"\",\n bg_image_v1: \"\",\n share_image: \"\",\n share_image_v1: \"\"\n },\n eclipse_info: null,\n upcoming_dates: [],\n observance_id: \"\",\n observance_name: \"\",\n tithi_key: \"\"\n },\n panchanga: {\n tithi: [\n { name: \"\", key: \"\", end_time: 0, start_time: 0 },\n { name: \"\", key: \"\", end_time: 0, start_time: 0 }\n ],\n paksha: \"\",\n masa: { amanta: \"\", purnima: \"\" },\n paksha_v1: { name: \"\", key: \"\" },\n nakshatra: [],\n ayana: { name: '', key: '' },\n shubh_karyas: [],\n sun: { rise: 0, set: 0 },\n moon: { rise: 0, set: 0 },\n years: {\n vikram: { name: '', key: '', year: 0 },\n saka: { name: '', key: '', year: 0 },\n kali: { name: '', key: '', year: 0 }\n },\n muhurat: { auspicious: [], inauspicious: [] },\n ritu: { name: '', key: '', sub_text: '' },\n vaara: { name: '', key: '', sub_text: '' },\n karana: [],\n yoga: [],\n observances: []\n }\n });\n const [months, setMonths] = useState(inital_months_data);\n useEffect(() => {\n if (location.lat && location.long) {\n if (pathname === '/festivals') {\n setMonths(inital_months_data)\n fetchAllFestivals();\n }\n } else {\n fetchUserLocation();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [selectedYear, location.lat, location.long])\n\n\n const fetchUserLocation = async () => {\n let location: Location = JSON.parse(localStorage.getItem('userLocation') || JSON.stringify(await getUserLocation()));\n localStorage.setItem(\"userLocation\", JSON.stringify(location));\n setlocation(location);\n return location;\n }\n\n const fetchAllFestivals = async () => {\n let tempMonths: Months = { ...months };\n const promises = Object.keys(months).map(async (month, index) => {\n return {\n [month]: await getAllFestivals(parseDate(`${(index + 1).toString().padStart(2, '0')}-01-${selectedYear}`), location)\n };\n });\n promises.forEach(promise => {\n promise.then(result => {\n tempMonths = { ...tempMonths, ...result };\n setMonths({ ...tempMonths }); // Update state\n });\n });\n }\n\n const handleYearChange = (year: number) => {\n setLoader(true); // Uncomment if you have a loader state\n localStorage.setItem('selectedYear', JSON.stringify(year));\n setSelectedYear(year.toString());\n };\n\n const updatedSelectedFestival = async (selectedfestival: Festival) => {\n setLoader(true);\n router.push(\"festivals/\" + selectedfestival.data.name.trim().replaceAll(\"-\", \" \").split(\" \").filter((subtext: string) => subtext !== \"\").join(\" \").replaceAll(\" \", \"-\").toLowerCase());\n await getAFestival(selectedfestival.date, location).then((data: Festival[]) => {\n setSelectedFestival(data.filter((festival) => festival.data.name === selectedfestival.data.name)[0]);\n setLoader(false);\n }).catch((error) => {\n console.error(\"Error fetching festival:\", error);\n })\n }\n return (\n \n {children}\n \n );\n};\nexport const useFestivalContext = () => {\n const context = useContext(FestivalContext);\n if (context === undefined) {\n throw new Error('useFestivalContext must be used within a FestivalProvider');\n }\n return context;\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__Great_Vibes_3081c8', '__Great_Vibes_Fallback_3081c8'\",\"fontWeight\":400,\"fontStyle\":\"normal\"},\"className\":\"__className_3081c8\",\"variable\":\"__variable_3081c8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__Inter_d65c78', '__Inter_Fallback_d65c78'\",\"fontStyle\":\"normal\"},\"className\":\"__className_d65c78\",\"variable\":\"__variable_d65c78\"};"],"names":["Promise","resolve","then","__webpack_require__","t","bind","__webpack_exports__","Z","capitalize","getSvgIconUtilityClass","slot","generateUtilityClass","generateUtilityClasses","_excluded","useUtilityClasses","ownerState","color","fontSize","classes","slots","root","concat","composeClasses","SvgIconRoot","styled","name","overridesResolver","props","styles","_theme$transitions","_theme$transitions$cr","_theme$transitions2","_theme$typography","_theme$typography$pxT","_theme$typography2","_theme$typography2$px","_theme$typography3","_theme$typography3$px","_palette$ownerState$c","_palette","_palette2","_palette3","theme","param","userSelect","width","height","display","fill","hasSvgAsChild","undefined","flexShrink","transition","transitions","create","call","duration","shorter","inherit","small","typography","pxToRem","medium","large","vars","palette","main","action","active","disabled","SvgIcon","React","inProps","ref","useDefaultProps","children","className","component","htmlColor","inheritViewBox","titleAccess","viewBox","other","_objectWithoutPropertiesLoose","type","_extends","instanceFontSize","more","_jsxs","as","clsx","focusable","role","_jsx","createSvgIcon","path","displayName","Component","muiName","object","excludeKeys","result","Object","keys","filter","prop","match","includes","forEach","element","omitEventHandlers_omitEventHandlers","mergeSlotProps_mergeSlotProps","parameters","getSlotProps","additionalProps","externalSlotProps","externalForwardedProps","joinedClasses","mergedStyle","esm_extends","style","length","internalRef","eventHandlers","extractEventHandlers","componentsPropsWithoutEventHandlers","otherPropsWithoutEventHandlers","internalSlotProps","useSlotProps_useSlotProps","_parameters$additiona","otherProps","elementType","skipResolvingSlotProps","rest","resolvedComponentsProps","componentProps","slotState","mergedProps","mergeSlotProps","useForkRef","isHostComponent","pathname","isMobileView","isAppView","useAppContext","toCapitalCase","str","toLowerCase","split","map","word","charAt","toUpperCase","slice","join","replace","pages","Boolean","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Breadcrumbs","separator","Image","src","process","alt","priority","loading","page","index","isLast","href","displayText","Link","noto_sans","replaceAll","BASE_CLASS","usePathname","dropdown","setDropdown","useState","selectedYear","handleYearChange","months","updatedSelectedFestival","fetchAllFestivals","location","useFestivalContext","useEffect","city","LocalizationProvider","dateAdapter","AdapterDayjs","div","section","jsxs","BreadCrumb","span","noto_serif","Dropdown","open","MenuButton","onClick","Menu","listbox","AnimatedListbox","splice","MenuItem","item","Math","random","ubuntu","month","Skeleton","variant","animation","Date","festival","date","getMonth","getDate","data","observance_name","description_1","AppContext","createContext","AppContextProvider","setIsMobileView","setIsAppView","userAgent","navigator","test","isMobileDevice","isSmallScreen","window","innerWidth","handleResize","addEventListener","removeEventListener","Provider","value","context","useContext","inital_months_data","FestivalContext","FestivalProvider","loader","setLoader","router","useRouter","setSelectedYear","getFullYear","toString","setlocation","lat","long","selectedFestival","setSelectedFestival","id","key","sub_type","tier","aliases","prarthanas","description_2","ui_info","bg_image","bg_image_v1","share_image","share_image_v1","eclipse_info","upcoming_dates","observance_id","tithi_key","panchanga","tithi","end_time","start_time","paksha","masa","amanta","purnima","paksha_v1","nakshatra","ayana","shubh_karyas","sun","rise","set","moon","years","vikram","year","saka","kali","muhurat","auspicious","inauspicious","ritu","sub_text","vaara","karana","yoga","observances","setMonths","fetchUserLocation","JSON","parse","localStorage","getItem","stringify","getUserLocation","setItem","tempMonths","promises","getAllFestivals","parseDate","padStart","promise","selectedfestival","push","trim","subtext","getAFestival","catch","console","error","module","exports"],"sourceRoot":""}