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,QAAchF,KAAKiS,MAAMO,EAAKyH,GAChC,CAAE,MAAOjf,GACPsO,EAAOtO,EACT,IACC+K,EAAM,GAEb,EAEF,MAAM,IAAIkX,OAAa,EAAQzK,EAAKvK,EAAI+Y,KAC1C,EAEFU,EAAkB,IAAI8H,QQjuCtB,MAAMC,EAAe,CAACrH,EAA0B7d,IAAY,IAAI4d,EAAOC,EAA0B7d,E","sources":["webpack://_N_E/./node_modules/@mui/material/SvgIcon/SvgIcon.js","webpack://_N_E/./node_modules/@mui/material/SvgIcon/svgIconClasses.js","webpack://_N_E/./node_modules/@mui/material/Typography/Typography.js","webpack://_N_E/./node_modules/@mui/material/Typography/typographyClasses.js","webpack://_N_E/./node_modules/@prismicio/next/dist/_node_modules/@prismicio/client/dist/cookie.js","webpack://_N_E/./node_modules/@prismicio/next/dist/enableAutoPreviews.js","webpack://_N_E/./node_modules/@prismicio/react/dist/lib/pascalCase.js","webpack://_N_E/./node_modules/@prismicio/react/dist/SliceZone.js","webpack://_N_E/./node_modules/next/dist/client/components/action-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/async-local-storage.js","webpack://_N_E/./node_modules/next/dist/client/components/draft-mode.js","webpack://_N_E/./node_modules/next/dist/client/components/headers.js","webpack://_N_E/./node_modules/next/dist/client/components/hooks-server-context.js","webpack://_N_E/./node_modules/next/dist/client/components/request-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/static-generation-async-storage.external.js","webpack://_N_E/./node_modules/next/dist/client/components/static-generation-bailout.js","webpack://_N_E/./node_modules/next/dist/shared/lib/dynamic.js","webpack://_N_E/./node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js","webpack://_N_E/./node_modules/next/dist/shared/lib/loadable.shared-runtime.js","webpack://_N_E/./node_modules/next/dist/compiled/@edge-runtime/cookies/index.js","webpack://_N_E/./node_modules/next/dist/server/web/spec-extension/adapters/headers.js","webpack://_N_E/./node_modules/next/dist/server/web/spec-extension/adapters/reflect.js","webpack://_N_E/./node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js","webpack://_N_E/./node_modules/next/dist/server/web/spec-extension/cookies.js","webpack://_N_E/./node_modules/next/dynamic.js","webpack://_N_E/./node_modules/next/headers.js","webpack://_N_E/./node_modules/react-share/es/FacebookShareButton.js","webpack://_N_E/./node_modules/react-share/es/LinkedinShareButton.js","webpack://_N_E/./node_modules/react-share/es/TwitterShareButton.js","webpack://_N_E/./node_modules/react-share/es/ShareButton.js","webpack://_N_E/./node_modules/react-share/es/hocs/createShareButton.js","webpack://_N_E/./node_modules/react-share/es/utils/assert.js","webpack://_N_E/./node_modules/react-share/es/utils/objectToGetParams.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/castArray.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/appendFilters.js","webpack://_N_E/./node_modules/@prismicio/client/dist/package.json.js","webpack://_N_E/./node_modules/@prismicio/client/dist/filter.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/everyTagFilter.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/PrismicError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/findRef.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/findMasterRef.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/findRefByID.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/findRefByLabel.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/getPreviewCookie.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/someTagsFilter.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/typeFilter.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/ForbiddenError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/NotFoundError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/ParsingError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/RefExpiredError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/RefNotFoundError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.js","webpack://_N_E/./node_modules/@prismicio/client/dist/types/value/link.js","webpack://_N_E/./node_modules/@prismicio/client/dist/helpers/asLink.js","webpack://_N_E/./node_modules/@prismicio/client/dist/helpers/documentToLinkField.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/pLimit.js","webpack://_N_E/./node_modules/@prismicio/client/dist/BaseClient.js","webpack://_N_E/./node_modules/@prismicio/client/dist/buildQueryURL.js","webpack://_N_E/./node_modules/@prismicio/client/dist/isRepositoryEndpoint.js","webpack://_N_E/./node_modules/@prismicio/client/dist/Client.js","webpack://_N_E/./node_modules/@prismicio/client/dist/getRepositoryName.js","webpack://_N_E/./node_modules/@prismicio/client/dist/getRepositoryEndpoint.js","webpack://_N_E/./node_modules/@prismicio/client/dist/isRepositoryName.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/devMsg.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.js","webpack://_N_E/./node_modules/@prismicio/client/dist/cookie.js","webpack://_N_E/./node_modules/@prismicio/client/dist/lib/castThunk.js","webpack://_N_E/./node_modules/@prismicio/client/dist/createClient.js"],"sourcesContent":["'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;","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 _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"align\", \"className\", \"component\", \"gutterBottom\", \"noWrap\", \"paragraph\", \"variant\", \"variantMapping\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { extendSxProp } from '@mui/system/styleFunctionSx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport capitalize from '../utils/capitalize';\nimport { getTypographyUtilityClass } from './typographyClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n align,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']\n };\n return composeClasses(slots, getTypographyUtilityClass, classes);\n};\nexport const TypographyRoot = styled('span', {\n name: 'MuiTypography',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n margin: 0\n}, ownerState.variant === 'inherit' && {\n // Some elements, like
`.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n * @default {\n * h1: 'h1',\n * h2: 'h2',\n * h3: 'h3',\n * h4: 'h4',\n * h5: 'h5',\n * h6: 'h6',\n * subtitle1: 'h6',\n * subtitle2: 'h6',\n * body1: 'p',\n * body2: 'p',\n * inherit: 'p',\n * }\n */\n variantMapping: PropTypes /* @typescript-to-proptypes-ignore */.object\n} : void 0;\nexport default Typography;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTypographyUtilityClass(slot) {\n return generateUtilityClass('MuiTypography', slot);\n}\nconst typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);\nexport default typographyClasses;","const preview = \"io.prismic.preview\";\nexport {\n preview\n};\n//# sourceMappingURL=cookie.js.map\n","import { draftMode, cookies } from \"next/headers\";\nimport { preview } from './_node_modules/@prismicio/client/dist/cookie.js';\nconst isPrismicPreviewData = (input) => {\n return typeof input === \"object\" && input !== null && \"ref\" in input;\n};\nconst enableAutoPreviews = (config) => {\n if (\"previewData\" in config && config.previewData) {\n if (isPrismicPreviewData(config.previewData)) {\n config.client.queryContentFromRef(config.previewData.ref);\n }\n } else if (\"req\" in config && config.req) {\n config.client.enableAutoPreviewsFromReq(config.req);\n } else {\n config.client.queryContentFromRef(async () => {\n var _a;\n let isDraftModeEnabled = false;\n try {\n isDraftModeEnabled = (await draftMode()).isEnabled;\n } catch {\n return;\n }\n if (!isDraftModeEnabled) {\n return;\n }\n let cookie;\n try {\n cookie = (_a = (await cookies()).get(preview)) == null ? void 0 : _a.value;\n } catch {\n return;\n }\n if (cookie && /\\.prismic\\.io/.test(cookie)) {\n return cookie;\n }\n });\n }\n};\nexport {\n enableAutoPreviews\n};\n//# sourceMappingURL=enableAutoPreviews.js.map\n","const pascalCase = (input) => {\n const camelCased = input.replace(/(?:-|_)(\\w)/g, (_, c) => {\n return c ? c.toUpperCase() : \"\";\n });\n return camelCased[0].toUpperCase() + camelCased.slice(1);\n};\nexport {\n pascalCase\n};\n//# sourceMappingURL=pascalCase.js.map\n","import { jsxs, jsx, Fragment } from \"react/jsx-runtime\";\nimport { pascalCase } from \"./lib/pascalCase.js\";\nconst TODOSliceComponent = ({ slice }) => {\n if (typeof process !== \"undefined\" && process.env.NODE_ENV === \"development\") {\n const type = \"slice_type\" in slice ? slice.slice_type : slice.type;\n console.warn(`[SliceZone] Could not find a component for Slice type \"${type}\"`, slice);\n return /* @__PURE__ */ jsxs(\"section\", { \"data-slice-zone-todo-component\": \"\", \"data-slice-type\": type, children: [\n \"Could not find a component for Slice type “\",\n type,\n \"”\"\n ] });\n } else {\n return null;\n }\n};\nfunction SliceZone({ slices = [], components = {}, resolver, defaultComponent, context = {} }) {\n if (process.env.NODE_ENV === \"development\") {\n if (resolver) {\n console.warn(\"The `resolver` prop is deprecated. Please replace it with a components map using the `components` prop.\");\n }\n }\n const renderedSlices = slices.map((slice, index) => {\n const type = \"slice_type\" in slice ? slice.slice_type : slice.type;\n let Comp = components[type] || defaultComponent;\n if (resolver) {\n const resolvedComp = resolver({\n slice,\n sliceName: pascalCase(type),\n i: index\n });\n if (resolvedComp) {\n Comp = resolvedComp;\n }\n }\n const key = \"id\" in slice && slice.id ? slice.id : `${index}-${JSON.stringify(slice)}`;\n if (Comp) {\n if (slice.__mapped) {\n const { __mapped, ...mappedProps } = slice;\n return /* @__PURE__ */ jsx(Comp, { ...mappedProps }, key);\n } else {\n return /* @__PURE__ */ jsx(Comp, { slice, index, slices, context }, key);\n }\n } else {\n return /* @__PURE__ */ jsx(TODOSliceComponent, { slice }, key);\n }\n });\n return /* @__PURE__ */ jsx(Fragment, { children: renderedSlices });\n}\nexport {\n SliceZone,\n TODOSliceComponent\n};\n//# sourceMappingURL=SliceZone.js.map\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"actionAsyncStorage\", {\n enumerable: true,\n get: function() {\n return actionAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst actionAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=action-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createAsyncLocalStorage\", {\n enumerable: true,\n get: function() {\n return createAsyncLocalStorage;\n }\n});\nconst sharedAsyncLocalStorageNotAvailableError = new Error(\"Invariant: AsyncLocalStorage accessed in runtime where it is not available\");\nclass FakeAsyncLocalStorage {\n disable() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n getStore() {\n // This fake implementation of AsyncLocalStorage always returns `undefined`.\n return undefined;\n }\n run() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n exit() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n enterWith() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n}\nconst maybeGlobalAsyncLocalStorage = globalThis.AsyncLocalStorage;\nfunction createAsyncLocalStorage() {\n if (maybeGlobalAsyncLocalStorage) {\n return new maybeGlobalAsyncLocalStorage();\n }\n return new FakeAsyncLocalStorage();\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=async-local-storage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"DraftMode\", {\n enumerable: true,\n get: function() {\n return DraftMode;\n }\n});\nconst _staticgenerationbailout = require(\"./static-generation-bailout\");\nclass DraftMode {\n get isEnabled() {\n return this._provider.isEnabled;\n }\n enable() {\n if ((0, _staticgenerationbailout.staticGenerationBailout)(\"draftMode().enable()\")) {\n return;\n }\n return this._provider.enable();\n }\n disable() {\n if ((0, _staticgenerationbailout.staticGenerationBailout)(\"draftMode().disable()\")) {\n return;\n }\n return this._provider.disable();\n }\n constructor(provider){\n this._provider = provider;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=draft-mode.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n headers: null,\n cookies: null,\n draftMode: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n headers: function() {\n return headers;\n },\n cookies: function() {\n return cookies;\n },\n draftMode: function() {\n return draftMode;\n }\n});\nconst _requestcookies = require(\"../../server/web/spec-extension/adapters/request-cookies\");\nconst _headers = require(\"../../server/web/spec-extension/adapters/headers\");\nconst _cookies = require(\"../../server/web/spec-extension/cookies\");\nconst _requestasyncstorageexternal = require(\"./request-async-storage.external\");\nconst _actionasyncstorageexternal = require(\"./action-async-storage.external\");\nconst _staticgenerationbailout = require(\"./static-generation-bailout\");\nconst _draftmode = require(\"./draft-mode\");\nfunction headers() {\n if ((0, _staticgenerationbailout.staticGenerationBailout)(\"headers\", {\n link: \"https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering\"\n })) {\n return _headers.HeadersAdapter.seal(new Headers({}));\n }\n const requestStore = _requestasyncstorageexternal.requestAsyncStorage.getStore();\n if (!requestStore) {\n throw new Error(\"Invariant: headers() expects to have requestAsyncStorage, none available.\");\n }\n return requestStore.headers;\n}\nfunction cookies() {\n if ((0, _staticgenerationbailout.staticGenerationBailout)(\"cookies\", {\n link: \"https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering\"\n })) {\n return _requestcookies.RequestCookiesAdapter.seal(new _cookies.RequestCookies(new Headers({})));\n }\n const requestStore = _requestasyncstorageexternal.requestAsyncStorage.getStore();\n if (!requestStore) {\n throw new Error(\"Invariant: cookies() expects to have requestAsyncStorage, none available.\");\n }\n const asyncActionStore = _actionasyncstorageexternal.actionAsyncStorage.getStore();\n if (asyncActionStore && (asyncActionStore.isAction || asyncActionStore.isAppRoute)) {\n // We can't conditionally return different types here based on the context.\n // To avoid confusion, we always return the readonly type here.\n return requestStore.mutableCookies;\n }\n return requestStore.cookies;\n}\nfunction draftMode() {\n const requestStore = _requestasyncstorageexternal.requestAsyncStorage.getStore();\n if (!requestStore) {\n throw new Error(\"Invariant: draftMode() expects to have requestAsyncStorage, none available.\");\n }\n return new _draftmode.DraftMode(requestStore.draftMode);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=headers.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n DYNAMIC_ERROR_CODE: null,\n DynamicServerError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n DYNAMIC_ERROR_CODE: function() {\n return DYNAMIC_ERROR_CODE;\n },\n DynamicServerError: function() {\n return DynamicServerError;\n }\n});\nconst DYNAMIC_ERROR_CODE = \"DYNAMIC_SERVER_USAGE\";\nclass DynamicServerError extends Error {\n constructor(type){\n super(\"Dynamic server usage: \" + type);\n this.digest = DYNAMIC_ERROR_CODE;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"requestAsyncStorage\", {\n enumerable: true,\n get: function() {\n return requestAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst requestAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=request-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"staticGenerationAsyncStorage\", {\n enumerable: true,\n get: function() {\n return staticGenerationAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst staticGenerationAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=static-generation-async-storage.external.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"staticGenerationBailout\", {\n enumerable: true,\n get: function() {\n return staticGenerationBailout;\n }\n});\nconst _hooksservercontext = require(\"./hooks-server-context\");\nconst _staticgenerationasyncstorageexternal = require(\"./static-generation-async-storage.external\");\nclass StaticGenBailoutError extends Error {\n constructor(...args){\n super(...args);\n this.code = \"NEXT_STATIC_GEN_BAILOUT\";\n }\n}\nfunction formatErrorMessage(reason, opts) {\n const { dynamic, link } = opts || {};\n const suffix = link ? \" See more info here: \" + link : \"\";\n return \"Page\" + (dynamic ? ' with `dynamic = \"' + dynamic + '\"`' : \"\") + \" couldn't be rendered statically because it used `\" + reason + \"`.\" + suffix;\n}\nconst staticGenerationBailout = (reason, opts)=>{\n const staticGenerationStore = _staticgenerationasyncstorageexternal.staticGenerationAsyncStorage.getStore();\n if (staticGenerationStore == null ? void 0 : staticGenerationStore.forceStatic) {\n return true;\n }\n if (staticGenerationStore == null ? void 0 : staticGenerationStore.dynamicShouldError) {\n var _opts_dynamic;\n throw new StaticGenBailoutError(formatErrorMessage(reason, {\n ...opts,\n dynamic: (_opts_dynamic = opts == null ? void 0 : opts.dynamic) != null ? _opts_dynamic : \"error\"\n }));\n }\n if (staticGenerationStore) {\n staticGenerationStore.revalidate = 0;\n if (!(opts == null ? void 0 : opts.dynamic)) {\n // we can statically prefetch pages that opt into dynamic,\n // but not things like headers/cookies\n staticGenerationStore.staticPrefetchBailout = true;\n }\n }\n if (staticGenerationStore == null ? void 0 : staticGenerationStore.isStaticGeneration) {\n const err = new _hooksservercontext.DynamicServerError(formatErrorMessage(reason, {\n ...opts,\n // this error should be caught by Next to bail out of static generation\n // in case it's uncaught, this link provides some additional context as to why\n link: \"https://nextjs.org/docs/messages/dynamic-server-error\"\n }));\n staticGenerationStore.dynamicUsageDescription = reason;\n staticGenerationStore.dynamicUsageStack = err.stack;\n throw err;\n }\n return false;\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=static-generation-bailout.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n noSSR: null,\n default: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n noSSR: function() {\n return noSSR;\n },\n default: function() {\n return dynamic;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _loadablesharedruntime = /*#__PURE__*/ _interop_require_default._(require(\"./loadable.shared-runtime\"));\nconst isServerSide = typeof window === \"undefined\";\n// Normalize loader to return the module as form { default: Component } for `React.lazy`.\n// Also for backward compatible since next/dynamic allows to resolve a component directly with loader\n// Client component reference proxy need to be converted to a module.\nfunction convertModule(mod) {\n return {\n default: (mod == null ? void 0 : mod.default) || mod\n };\n}\nfunction noSSR(LoadableInitializer, loadableOptions) {\n // Removing webpack and modules means react-loadable won't try preloading\n delete loadableOptions.webpack;\n delete loadableOptions.modules;\n // This check is necessary to prevent react-loadable from initializing on the server\n if (!isServerSide) {\n return LoadableInitializer(loadableOptions);\n }\n const Loading = loadableOptions.loading;\n // This will only be rendered on the server side\n return ()=>/*#__PURE__*/ _react.default.createElement(Loading, {\n error: null,\n isLoading: true,\n pastDelay: false,\n timedOut: false\n });\n}\nfunction dynamic(dynamicOptions, options) {\n let loadableFn = _loadablesharedruntime.default;\n let loadableOptions = {\n // A loading component is not required, so we default it\n loading: (param)=>{\n let { error, isLoading, pastDelay } = param;\n if (!pastDelay) return null;\n if (process.env.NODE_ENV !== \"production\") {\n if (isLoading) {\n return null;\n }\n if (error) {\n return /*#__PURE__*/ _react.default.createElement(\"p\", null, error.message, /*#__PURE__*/ _react.default.createElement(\"br\", null), error.stack);\n }\n }\n return null;\n }\n };\n // Support for direct import(), eg: dynamic(import('../hello-world'))\n // Note that this is only kept for the edge case where someone is passing in a promise as first argument\n // The react-loadable babel plugin will turn dynamic(import('../hello-world')) into dynamic(() => import('../hello-world'))\n // To make sure we don't execute the import without rendering first\n if (dynamicOptions instanceof Promise) {\n loadableOptions.loader = ()=>dynamicOptions;\n // Support for having import as a function, eg: dynamic(() => import('../hello-world'))\n } else if (typeof dynamicOptions === \"function\") {\n loadableOptions.loader = dynamicOptions;\n // Support for having first argument being options, eg: dynamic({loader: import('../hello-world')})\n } else if (typeof dynamicOptions === \"object\") {\n loadableOptions = {\n ...loadableOptions,\n ...dynamicOptions\n };\n }\n // Support for passing options, eg: dynamic(import('../hello-world'), {loading: () =>

Loading something

})\n loadableOptions = {\n ...loadableOptions,\n ...options\n };\n const loaderFn = loadableOptions.loader;\n const loader = ()=>loaderFn != null ? loaderFn().then(convertModule) : Promise.resolve(convertModule(()=>null));\n // coming from build/babel/plugins/react-loadable-plugin.js\n if (loadableOptions.loadableGenerated) {\n loadableOptions = {\n ...loadableOptions,\n ...loadableOptions.loadableGenerated\n };\n delete loadableOptions.loadableGenerated;\n }\n // support for disabling server side rendering, eg: dynamic(() => import('../hello-world'), {ssr: false}).\n if (typeof loadableOptions.ssr === \"boolean\" && !loadableOptions.ssr) {\n delete loadableOptions.webpack;\n delete loadableOptions.modules;\n return noSSR(loadableFn, loadableOptions);\n }\n return loadableFn({\n ...loadableOptions,\n loader: loader\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=dynamic.js.map","\"use client\";\n\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"LoadableContext\", {\n enumerable: true,\n get: function() {\n return LoadableContext;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst LoadableContext = _react.default.createContext(null);\nif (process.env.NODE_ENV !== \"production\") {\n LoadableContext.displayName = \"LoadableContext\";\n}\n\n//# sourceMappingURL=loadable-context.shared-runtime.js.map","// TODO: Remove use of `any` type.\n/**\n@copyright (c) 2017-present James Kyle \n MIT License\n Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n The above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\n*/ // https://github.com/jamiebuilds/react-loadable/blob/v5.5.0/src/index.js\n// Modified to be compatible with webpack 4 / Next.js\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _loadablecontextsharedruntime = require(\"./loadable-context.shared-runtime\");\nfunction resolve(obj) {\n return obj && obj.default ? obj.default : obj;\n}\nconst ALL_INITIALIZERS = [];\nconst READY_INITIALIZERS = [];\nlet initialized = false;\nfunction load(loader) {\n let promise = loader();\n let state = {\n loading: true,\n loaded: null,\n error: null\n };\n state.promise = promise.then((loaded)=>{\n state.loading = false;\n state.loaded = loaded;\n return loaded;\n }).catch((err)=>{\n state.loading = false;\n state.error = err;\n throw err;\n });\n return state;\n}\nfunction createLoadableComponent(loadFn, options) {\n let opts = Object.assign({\n loader: null,\n loading: null,\n delay: 200,\n timeout: null,\n webpack: null,\n modules: null\n }, options);\n /** @type LoadableSubscription */ let subscription = null;\n function init() {\n if (!subscription) {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n const sub = new LoadableSubscription(loadFn, opts);\n subscription = {\n getCurrentValue: sub.getCurrentValue.bind(sub),\n subscribe: sub.subscribe.bind(sub),\n retry: sub.retry.bind(sub),\n promise: sub.promise.bind(sub)\n };\n }\n return subscription.promise();\n }\n // Server only\n if (typeof window === \"undefined\") {\n ALL_INITIALIZERS.push(init);\n }\n // Client only\n if (!initialized && typeof window !== \"undefined\") {\n // require.resolveWeak check is needed for environments that don't have it available like Jest\n const moduleIds = opts.webpack && typeof require.resolveWeak === \"function\" ? opts.webpack() : opts.modules;\n if (moduleIds) {\n READY_INITIALIZERS.push((ids)=>{\n for (const moduleId of moduleIds){\n if (ids.includes(moduleId)) {\n return init();\n }\n }\n });\n }\n }\n function useLoadableModule() {\n init();\n const context = _react.default.useContext(_loadablecontextsharedruntime.LoadableContext);\n if (context && Array.isArray(opts.modules)) {\n opts.modules.forEach((moduleName)=>{\n context(moduleName);\n });\n }\n }\n function LoadableComponent(props, ref) {\n useLoadableModule();\n const state = _react.default.useSyncExternalStore(subscription.subscribe, subscription.getCurrentValue, subscription.getCurrentValue);\n _react.default.useImperativeHandle(ref, ()=>({\n retry: subscription.retry\n }), []);\n return _react.default.useMemo(()=>{\n if (state.loading || state.error) {\n return /*#__PURE__*/ _react.default.createElement(opts.loading, {\n isLoading: state.loading,\n pastDelay: state.pastDelay,\n timedOut: state.timedOut,\n error: state.error,\n retry: subscription.retry\n });\n } else if (state.loaded) {\n return /*#__PURE__*/ _react.default.createElement(resolve(state.loaded), props);\n } else {\n return null;\n }\n }, [\n props,\n state\n ]);\n }\n LoadableComponent.preload = ()=>init();\n LoadableComponent.displayName = \"LoadableComponent\";\n return /*#__PURE__*/ _react.default.forwardRef(LoadableComponent);\n}\nclass LoadableSubscription {\n promise() {\n return this._res.promise;\n }\n retry() {\n this._clearTimeouts();\n this._res = this._loadFn(this._opts.loader);\n this._state = {\n pastDelay: false,\n timedOut: false\n };\n const { _res: res, _opts: opts } = this;\n if (res.loading) {\n if (typeof opts.delay === \"number\") {\n if (opts.delay === 0) {\n this._state.pastDelay = true;\n } else {\n this._delay = setTimeout(()=>{\n this._update({\n pastDelay: true\n });\n }, opts.delay);\n }\n }\n if (typeof opts.timeout === \"number\") {\n this._timeout = setTimeout(()=>{\n this._update({\n timedOut: true\n });\n }, opts.timeout);\n }\n }\n this._res.promise.then(()=>{\n this._update({});\n this._clearTimeouts();\n }).catch((_err)=>{\n this._update({});\n this._clearTimeouts();\n });\n this._update({});\n }\n _update(partial) {\n this._state = {\n ...this._state,\n error: this._res.error,\n loaded: this._res.loaded,\n loading: this._res.loading,\n ...partial\n };\n this._callbacks.forEach((callback)=>callback());\n }\n _clearTimeouts() {\n clearTimeout(this._delay);\n clearTimeout(this._timeout);\n }\n getCurrentValue() {\n return this._state;\n }\n subscribe(callback) {\n this._callbacks.add(callback);\n return ()=>{\n this._callbacks.delete(callback);\n };\n }\n constructor(loadFn, opts){\n this._loadFn = loadFn;\n this._opts = opts;\n this._callbacks = new Set();\n this._delay = null;\n this._timeout = null;\n this.retry();\n }\n}\nfunction Loadable(opts) {\n return createLoadableComponent(load, opts);\n}\nfunction flushInitializers(initializers, ids) {\n let promises = [];\n while(initializers.length){\n let init = initializers.pop();\n promises.push(init(ids));\n }\n return Promise.all(promises).then(()=>{\n if (initializers.length) {\n return flushInitializers(initializers, ids);\n }\n });\n}\nLoadable.preloadAll = ()=>{\n return new Promise((resolveInitializers, reject)=>{\n flushInitializers(ALL_INITIALIZERS).then(resolveInitializers, reject);\n });\n};\nLoadable.preloadReady = (ids)=>{\n if (ids === void 0) ids = [];\n return new Promise((resolvePreload)=>{\n const res = ()=>{\n initialized = true;\n return resolvePreload();\n };\n // We always will resolve, errors should be handled within loading UIs.\n flushInitializers(READY_INITIALIZERS, ids).then(res, res);\n });\n};\nif (typeof window !== \"undefined\") {\n window.__NEXT_PRELOADREADY = Loadable.preloadReady;\n}\nconst _default = Loadable;\n\n//# sourceMappingURL=loadable.shared-runtime.js.map","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/index.ts\nvar src_exports = {};\n__export(src_exports, {\n RequestCookies: () => RequestCookies,\n ResponseCookies: () => ResponseCookies,\n parseCookie: () => parseCookie,\n parseSetCookie: () => parseSetCookie,\n stringifyCookie: () => stringifyCookie\n});\nmodule.exports = __toCommonJS(src_exports);\n\n// src/serialize.ts\nfunction stringifyCookie(c) {\n var _a;\n const attrs = [\n \"path\" in c && c.path && `Path=${c.path}`,\n \"expires\" in c && (c.expires || c.expires === 0) && `Expires=${(typeof c.expires === \"number\" ? new Date(c.expires) : c.expires).toUTCString()}`,\n \"maxAge\" in c && typeof c.maxAge === \"number\" && `Max-Age=${c.maxAge}`,\n \"domain\" in c && c.domain && `Domain=${c.domain}`,\n \"secure\" in c && c.secure && \"Secure\",\n \"httpOnly\" in c && c.httpOnly && \"HttpOnly\",\n \"sameSite\" in c && c.sameSite && `SameSite=${c.sameSite}`,\n \"priority\" in c && c.priority && `Priority=${c.priority}`\n ].filter(Boolean);\n return `${c.name}=${encodeURIComponent((_a = c.value) != null ? _a : \"\")}; ${attrs.join(\"; \")}`;\n}\nfunction parseCookie(cookie) {\n const map = /* @__PURE__ */ new Map();\n for (const pair of cookie.split(/; */)) {\n if (!pair)\n continue;\n const splitAt = pair.indexOf(\"=\");\n if (splitAt === -1) {\n map.set(pair, \"true\");\n continue;\n }\n const [key, value] = [pair.slice(0, splitAt), pair.slice(splitAt + 1)];\n try {\n map.set(key, decodeURIComponent(value != null ? value : \"true\"));\n } catch {\n }\n }\n return map;\n}\nfunction parseSetCookie(setCookie) {\n if (!setCookie) {\n return void 0;\n }\n const [[name, value], ...attributes] = parseCookie(setCookie);\n const {\n domain,\n expires,\n httponly,\n maxage,\n path,\n samesite,\n secure,\n priority\n } = Object.fromEntries(\n attributes.map(([key, value2]) => [key.toLowerCase(), value2])\n );\n const cookie = {\n name,\n value: decodeURIComponent(value),\n domain,\n ...expires && { expires: new Date(expires) },\n ...httponly && { httpOnly: true },\n ...typeof maxage === \"string\" && { maxAge: Number(maxage) },\n path,\n ...samesite && { sameSite: parseSameSite(samesite) },\n ...secure && { secure: true },\n ...priority && { priority: parsePriority(priority) }\n };\n return compact(cookie);\n}\nfunction compact(t) {\n const newT = {};\n for (const key in t) {\n if (t[key]) {\n newT[key] = t[key];\n }\n }\n return newT;\n}\nvar SAME_SITE = [\"strict\", \"lax\", \"none\"];\nfunction parseSameSite(string) {\n string = string.toLowerCase();\n return SAME_SITE.includes(string) ? string : void 0;\n}\nvar PRIORITY = [\"low\", \"medium\", \"high\"];\nfunction parsePriority(string) {\n string = string.toLowerCase();\n return PRIORITY.includes(string) ? string : void 0;\n}\nfunction splitCookiesString(cookiesString) {\n if (!cookiesString)\n return [];\n var cookiesStrings = [];\n var pos = 0;\n var start;\n var ch;\n var lastComma;\n var nextStart;\n var cookiesSeparatorFound;\n function skipWhitespace() {\n while (pos < cookiesString.length && /\\s/.test(cookiesString.charAt(pos))) {\n pos += 1;\n }\n return pos < cookiesString.length;\n }\n function notSpecialChar() {\n ch = cookiesString.charAt(pos);\n return ch !== \"=\" && ch !== \";\" && ch !== \",\";\n }\n while (pos < cookiesString.length) {\n start = pos;\n cookiesSeparatorFound = false;\n while (skipWhitespace()) {\n ch = cookiesString.charAt(pos);\n if (ch === \",\") {\n lastComma = pos;\n pos += 1;\n skipWhitespace();\n nextStart = pos;\n while (pos < cookiesString.length && notSpecialChar()) {\n pos += 1;\n }\n if (pos < cookiesString.length && cookiesString.charAt(pos) === \"=\") {\n cookiesSeparatorFound = true;\n pos = nextStart;\n cookiesStrings.push(cookiesString.substring(start, lastComma));\n start = pos;\n } else {\n pos = lastComma + 1;\n }\n } else {\n pos += 1;\n }\n }\n if (!cookiesSeparatorFound || pos >= cookiesString.length) {\n cookiesStrings.push(cookiesString.substring(start, cookiesString.length));\n }\n }\n return cookiesStrings;\n}\n\n// src/request-cookies.ts\nvar RequestCookies = class {\n constructor(requestHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n this._headers = requestHeaders;\n const header = requestHeaders.get(\"cookie\");\n if (header) {\n const parsed = parseCookie(header);\n for (const [name, value] of parsed) {\n this._parsed.set(name, { name, value });\n }\n }\n }\n [Symbol.iterator]() {\n return this._parsed[Symbol.iterator]();\n }\n /**\n * The amount of cookies received from the client\n */\n get size() {\n return this._parsed.size;\n }\n get(...args) {\n const name = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(name);\n }\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed);\n if (!args.length) {\n return all.map(([_, value]) => value);\n }\n const name = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter(([n]) => n === name).map(([_, value]) => value);\n }\n has(name) {\n return this._parsed.has(name);\n }\n set(...args) {\n const [name, value] = args.length === 1 ? [args[0].name, args[0].value] : args;\n const map = this._parsed;\n map.set(name, { name, value });\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value2]) => stringifyCookie(value2)).join(\"; \")\n );\n return this;\n }\n /**\n * Delete the cookies matching the passed name or names in the request.\n */\n delete(names) {\n const map = this._parsed;\n const result = !Array.isArray(names) ? map.delete(names) : names.map((name) => map.delete(name));\n this._headers.set(\n \"cookie\",\n Array.from(map).map(([_, value]) => stringifyCookie(value)).join(\"; \")\n );\n return result;\n }\n /**\n * Delete all the cookies in the cookies in the request.\n */\n clear() {\n this.delete(Array.from(this._parsed.keys()));\n return this;\n }\n /**\n * Format the cookies in the request as a string for logging\n */\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map((v) => `${v.name}=${encodeURIComponent(v.value)}`).join(\"; \");\n }\n};\n\n// src/response-cookies.ts\nvar ResponseCookies = class {\n constructor(responseHeaders) {\n /** @internal */\n this._parsed = /* @__PURE__ */ new Map();\n var _a, _b, _c;\n this._headers = responseHeaders;\n const setCookie = (_c = (_b = (_a = responseHeaders.getSetCookie) == null ? void 0 : _a.call(responseHeaders)) != null ? _b : responseHeaders.get(\"set-cookie\")) != null ? _c : [];\n const cookieStrings = Array.isArray(setCookie) ? setCookie : splitCookiesString(setCookie);\n for (const cookieString of cookieStrings) {\n const parsed = parseSetCookie(cookieString);\n if (parsed)\n this._parsed.set(parsed.name, parsed);\n }\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.\n */\n get(...args) {\n const key = typeof args[0] === \"string\" ? args[0] : args[0].name;\n return this._parsed.get(key);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.\n */\n getAll(...args) {\n var _a;\n const all = Array.from(this._parsed.values());\n if (!args.length) {\n return all;\n }\n const key = typeof args[0] === \"string\" ? args[0] : (_a = args[0]) == null ? void 0 : _a.name;\n return all.filter((c) => c.name === key);\n }\n has(name) {\n return this._parsed.has(name);\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.\n */\n set(...args) {\n const [name, value, cookie] = args.length === 1 ? [args[0].name, args[0].value, args[0]] : args;\n const map = this._parsed;\n map.set(name, normalizeCookie({ name, value, ...cookie }));\n replace(map, this._headers);\n return this;\n }\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.\n */\n delete(...args) {\n const [name, path, domain] = typeof args[0] === \"string\" ? [args[0]] : [args[0].name, args[0].path, args[0].domain];\n return this.set({ name, path, domain, value: \"\", expires: /* @__PURE__ */ new Date(0) });\n }\n [Symbol.for(\"edge-runtime.inspect.custom\")]() {\n return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;\n }\n toString() {\n return [...this._parsed.values()].map(stringifyCookie).join(\"; \");\n }\n};\nfunction replace(bag, headers) {\n headers.delete(\"set-cookie\");\n for (const [, value] of bag) {\n const serialized = stringifyCookie(value);\n headers.append(\"set-cookie\", serialized);\n }\n}\nfunction normalizeCookie(cookie = { name: \"\", value: \"\" }) {\n if (typeof cookie.expires === \"number\") {\n cookie.expires = new Date(cookie.expires);\n }\n if (cookie.maxAge) {\n cookie.expires = new Date(Date.now() + cookie.maxAge * 1e3);\n }\n if (cookie.path === null || cookie.path === void 0) {\n cookie.path = \"/\";\n }\n return cookie;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n RequestCookies,\n ResponseCookies,\n parseCookie,\n parseSetCookie,\n stringifyCookie\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyHeadersError: null,\n HeadersAdapter: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyHeadersError: function() {\n return ReadonlyHeadersError;\n },\n HeadersAdapter: function() {\n return HeadersAdapter;\n }\n});\nconst _reflect = require(\"./reflect\");\nclass ReadonlyHeadersError extends Error {\n constructor(){\n super(\"Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers\");\n }\n static callable() {\n throw new ReadonlyHeadersError();\n }\n}\nclass HeadersAdapter extends Headers {\n constructor(headers){\n // We've already overridden the methods that would be called, so we're just\n // calling the super constructor to ensure that the instanceof check works.\n super();\n this.headers = new Proxy(headers, {\n get (target, prop, receiver) {\n // Because this is just an object, we expect that all \"get\" operations\n // are for properties. If it's a \"get\" for a symbol, we'll just return\n // the symbol.\n if (typeof prop === \"symbol\") {\n return _reflect.ReflectAdapter.get(target, prop, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return undefined.\n if (typeof original === \"undefined\") return;\n // If the original casing exists, return the value.\n return _reflect.ReflectAdapter.get(target, original, receiver);\n },\n set (target, prop, value, receiver) {\n if (typeof prop === \"symbol\") {\n return _reflect.ReflectAdapter.set(target, prop, value, receiver);\n }\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, use the prop as the key.\n return _reflect.ReflectAdapter.set(target, original ?? prop, value, receiver);\n },\n has (target, prop) {\n if (typeof prop === \"symbol\") return _reflect.ReflectAdapter.has(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return false.\n if (typeof original === \"undefined\") return false;\n // If the original casing exists, return true.\n return _reflect.ReflectAdapter.has(target, original);\n },\n deleteProperty (target, prop) {\n if (typeof prop === \"symbol\") return _reflect.ReflectAdapter.deleteProperty(target, prop);\n const lowercased = prop.toLowerCase();\n // Let's find the original casing of the key. This assumes that there is\n // no mixed case keys (e.g. \"Content-Type\" and \"content-type\") in the\n // headers object.\n const original = Object.keys(headers).find((o)=>o.toLowerCase() === lowercased);\n // If the original casing doesn't exist, return true.\n if (typeof original === \"undefined\") return true;\n // If the original casing exists, delete the property.\n return _reflect.ReflectAdapter.deleteProperty(target, original);\n }\n });\n }\n /**\n * Seals a Headers instance to prevent modification by throwing an error when\n * any mutating method is called.\n */ static seal(headers) {\n return new Proxy(headers, {\n get (target, prop, receiver) {\n switch(prop){\n case \"append\":\n case \"delete\":\n case \"set\":\n return ReadonlyHeadersError.callable;\n default:\n return _reflect.ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n /**\n * Merges a header value into a string. This stores multiple values as an\n * array, so we need to merge them into a string.\n *\n * @param value a header value\n * @returns a merged header value (a string)\n */ merge(value) {\n if (Array.isArray(value)) return value.join(\", \");\n return value;\n }\n /**\n * Creates a Headers instance from a plain object or a Headers instance.\n *\n * @param headers a plain object or a Headers instance\n * @returns a headers instance\n */ static from(headers) {\n if (headers instanceof Headers) return headers;\n return new HeadersAdapter(headers);\n }\n append(name, value) {\n const existing = this.headers[name];\n if (typeof existing === \"string\") {\n this.headers[name] = [\n existing,\n value\n ];\n } else if (Array.isArray(existing)) {\n existing.push(value);\n } else {\n this.headers[name] = value;\n }\n }\n delete(name) {\n delete this.headers[name];\n }\n get(name) {\n const value = this.headers[name];\n if (typeof value !== \"undefined\") return this.merge(value);\n return null;\n }\n has(name) {\n return typeof this.headers[name] !== \"undefined\";\n }\n set(name, value) {\n this.headers[name] = value;\n }\n forEach(callbackfn, thisArg) {\n for (const [name, value] of this.entries()){\n callbackfn.call(thisArg, value, name, this);\n }\n }\n *entries() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(name);\n yield [\n name,\n value\n ];\n }\n }\n *keys() {\n for (const key of Object.keys(this.headers)){\n const name = key.toLowerCase();\n yield name;\n }\n }\n *values() {\n for (const key of Object.keys(this.headers)){\n // We assert here that this is a string because we got it from the\n // Object.keys() call above.\n const value = this.get(key);\n yield value;\n }\n }\n [Symbol.iterator]() {\n return this.entries();\n }\n}\n\n//# sourceMappingURL=headers.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"ReflectAdapter\", {\n enumerable: true,\n get: function() {\n return ReflectAdapter;\n }\n});\nclass ReflectAdapter {\n static get(target, prop, receiver) {\n const value = Reflect.get(target, prop, receiver);\n if (typeof value === \"function\") {\n return value.bind(target);\n }\n return value;\n }\n static set(target, prop, value, receiver) {\n return Reflect.set(target, prop, value, receiver);\n }\n static has(target, prop) {\n return Reflect.has(target, prop);\n }\n static deleteProperty(target, prop) {\n return Reflect.deleteProperty(target, prop);\n }\n}\n\n//# sourceMappingURL=reflect.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyRequestCookiesError: null,\n RequestCookiesAdapter: null,\n getModifiedCookieValues: null,\n appendMutableCookies: null,\n MutableRequestCookiesAdapter: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyRequestCookiesError: function() {\n return ReadonlyRequestCookiesError;\n },\n RequestCookiesAdapter: function() {\n return RequestCookiesAdapter;\n },\n getModifiedCookieValues: function() {\n return getModifiedCookieValues;\n },\n appendMutableCookies: function() {\n return appendMutableCookies;\n },\n MutableRequestCookiesAdapter: function() {\n return MutableRequestCookiesAdapter;\n }\n});\nconst _cookies = require(\"../cookies\");\nconst _reflect = require(\"./reflect\");\nclass ReadonlyRequestCookiesError extends Error {\n constructor(){\n super(\"Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#cookiessetname-value-options\");\n }\n static callable() {\n throw new ReadonlyRequestCookiesError();\n }\n}\nclass RequestCookiesAdapter {\n static seal(cookies) {\n return new Proxy(cookies, {\n get (target, prop, receiver) {\n switch(prop){\n case \"clear\":\n case \"delete\":\n case \"set\":\n return ReadonlyRequestCookiesError.callable;\n default:\n return _reflect.ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n}\nconst SYMBOL_MODIFY_COOKIE_VALUES = Symbol.for(\"next.mutated.cookies\");\nfunction getModifiedCookieValues(cookies) {\n const modified = cookies[SYMBOL_MODIFY_COOKIE_VALUES];\n if (!modified || !Array.isArray(modified) || modified.length === 0) {\n return [];\n }\n return modified;\n}\nfunction appendMutableCookies(headers, mutableCookies) {\n const modifiedCookieValues = getModifiedCookieValues(mutableCookies);\n if (modifiedCookieValues.length === 0) {\n return false;\n }\n // Return a new response that extends the response with\n // the modified cookies as fallbacks. `res` cookies\n // will still take precedence.\n const resCookies = new _cookies.ResponseCookies(headers);\n const returnedCookies = resCookies.getAll();\n // Set the modified cookies as fallbacks.\n for (const cookie of modifiedCookieValues){\n resCookies.set(cookie);\n }\n // Set the original cookies as the final values.\n for (const cookie of returnedCookies){\n resCookies.set(cookie);\n }\n return true;\n}\nclass MutableRequestCookiesAdapter {\n static wrap(cookies, onUpdateCookies) {\n const responseCookes = new _cookies.ResponseCookies(new Headers());\n for (const cookie of cookies.getAll()){\n responseCookes.set(cookie);\n }\n let modifiedValues = [];\n const modifiedCookies = new Set();\n const updateResponseCookies = ()=>{\n var _fetch___nextGetStaticStore;\n // TODO-APP: change method of getting staticGenerationAsyncStore\n const staticGenerationAsyncStore = fetch.__nextGetStaticStore == null ? void 0 : (_fetch___nextGetStaticStore = fetch.__nextGetStaticStore.call(fetch)) == null ? void 0 : _fetch___nextGetStaticStore.getStore();\n if (staticGenerationAsyncStore) {\n staticGenerationAsyncStore.pathWasRevalidated = true;\n }\n const allCookies = responseCookes.getAll();\n modifiedValues = allCookies.filter((c)=>modifiedCookies.has(c.name));\n if (onUpdateCookies) {\n const serializedCookies = [];\n for (const cookie of modifiedValues){\n const tempCookies = new _cookies.ResponseCookies(new Headers());\n tempCookies.set(cookie);\n serializedCookies.push(tempCookies.toString());\n }\n onUpdateCookies(serializedCookies);\n }\n };\n return new Proxy(responseCookes, {\n get (target, prop, receiver) {\n switch(prop){\n // A special symbol to get the modified cookie values\n case SYMBOL_MODIFY_COOKIE_VALUES:\n return modifiedValues;\n // TODO: Throw error if trying to set a cookie after the response\n // headers have been set.\n case \"delete\":\n return function(...args) {\n modifiedCookies.add(typeof args[0] === \"string\" ? args[0] : args[0].name);\n try {\n target.delete(...args);\n } finally{\n updateResponseCookies();\n }\n };\n case \"set\":\n return function(...args) {\n modifiedCookies.add(typeof args[0] === \"string\" ? args[0] : args[0].name);\n try {\n return target.set(...args);\n } finally{\n updateResponseCookies();\n }\n };\n default:\n return _reflect.ReflectAdapter.get(target, prop, receiver);\n }\n }\n });\n }\n}\n\n//# sourceMappingURL=request-cookies.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RequestCookies: null,\n ResponseCookies: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n RequestCookies: function() {\n return _cookies.RequestCookies;\n },\n ResponseCookies: function() {\n return _cookies.ResponseCookies;\n }\n});\nconst _cookies = require(\"next/dist/compiled/@edge-runtime/cookies\");\n\n//# sourceMappingURL=cookies.js.map","module.exports = require('./dist/shared/lib/dynamic')\n","module.exports = require('./dist/client/components/headers')\n","import assert from './utils/assert';\nimport objectToGetParams from './utils/objectToGetParams';\nimport createShareButton from './hocs/createShareButton';\nfunction facebookLink(url, _a) {\n var quote = _a.quote, hashtag = _a.hashtag;\n assert(url, 'facebook.url');\n return ('https://www.facebook.com/sharer/sharer.php' +\n objectToGetParams({\n u: url,\n quote: quote,\n hashtag: hashtag,\n }));\n}\nvar FacebookShareButton = createShareButton('facebook', facebookLink, function (props) { return ({\n quote: props.quote,\n hashtag: props.hashtag,\n}); }, {\n windowWidth: 550,\n windowHeight: 400,\n});\nexport default FacebookShareButton;\n","import assert from './utils/assert';\nimport objectToGetParams from './utils/objectToGetParams';\nimport createShareButton from './hocs/createShareButton';\nfunction linkedinLink(url, _a) {\n var title = _a.title, summary = _a.summary, source = _a.source;\n assert(url, 'linkedin.url');\n return ('https://linkedin.com/shareArticle' +\n objectToGetParams({ url: url, mini: 'true', title: title, summary: summary, source: source }));\n}\nvar LinkedinShareButton = createShareButton('linkedin', linkedinLink, function (_a) {\n var title = _a.title, summary = _a.summary, source = _a.source;\n return ({ title: title, summary: summary, source: source });\n}, {\n windowWidth: 750,\n windowHeight: 600,\n});\nexport default LinkedinShareButton;\n","import assert from './utils/assert';\nimport objectToGetParams from './utils/objectToGetParams';\nimport createShareButton from './hocs/createShareButton';\nfunction twitterLink(url, _a) {\n var title = _a.title, via = _a.via, _b = _a.hashtags, hashtags = _b === void 0 ? [] : _b, _c = _a.related, related = _c === void 0 ? [] : _c;\n assert(url, 'twitter.url');\n assert(Array.isArray(hashtags), 'twitter.hashtags is not an array');\n assert(Array.isArray(related), 'twitter.related is not an array');\n return ('https://twitter.com/share' +\n objectToGetParams({\n url: url,\n text: title,\n via: via,\n hashtags: hashtags.length > 0 ? hashtags.join(',') : undefined,\n related: related.length > 0 ? related.join(',') : undefined,\n }));\n}\nvar TwitterShareButton = createShareButton('twitter', twitterLink, function (props) { return ({\n hashtags: props.hashtags,\n title: props.title,\n via: props.via,\n related: props.related,\n}); }, {\n windowWidth: 550,\n windowHeight: 400,\n});\nexport default TwitterShareButton;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { Component } from 'react';\nimport cx from 'classnames';\nvar isPromise = function (obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n};\nvar getBoxPositionOnWindowCenter = function (width, height) { return ({\n left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - width / 2,\n top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - height / 2,\n}); };\nvar getBoxPositionOnScreenCenter = function (width, height) { return ({\n top: (window.screen.height - height) / 2,\n left: (window.screen.width - width) / 2,\n}); };\nfunction windowOpen(url, _a, onClose) {\n var height = _a.height, width = _a.width, configRest = __rest(_a, [\"height\", \"width\"]);\n var config = __assign({ height: height, width: width, location: 'no', toolbar: 'no', status: 'no', directories: 'no', menubar: 'no', scrollbars: 'yes', resizable: 'no', centerscreen: 'yes', chrome: 'yes' }, configRest);\n var shareDialog = window.open(url, '', Object.keys(config)\n .map(function (key) { return \"\".concat(key, \"=\").concat(config[key]); })\n .join(', '));\n if (onClose) {\n var interval_1 = window.setInterval(function () {\n try {\n if (shareDialog === null || shareDialog.closed) {\n window.clearInterval(interval_1);\n onClose(shareDialog);\n }\n }\n catch (e) {\n /* eslint-disable no-console */\n console.error(e);\n /* eslint-enable no-console */\n }\n }, 1000);\n }\n return shareDialog;\n}\nvar ShareButton = /** @class */ (function (_super) {\n __extends(ShareButton, _super);\n function ShareButton() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.openShareDialog = function (link) {\n var _a = _this.props, onShareWindowClose = _a.onShareWindowClose, _b = _a.windowHeight, windowHeight = _b === void 0 ? 400 : _b, _c = _a.windowPosition, windowPosition = _c === void 0 ? 'windowCenter' : _c, _d = _a.windowWidth, windowWidth = _d === void 0 ? 550 : _d;\n var windowConfig = __assign({ height: windowHeight, width: windowWidth }, (windowPosition === 'windowCenter'\n ? getBoxPositionOnWindowCenter(windowWidth, windowHeight)\n : getBoxPositionOnScreenCenter(windowWidth, windowHeight)));\n windowOpen(link, windowConfig, onShareWindowClose);\n };\n _this.handleClick = function (event) { return __awaiter(_this, void 0, void 0, function () {\n var _a, beforeOnClick, disabled, networkLink, onClick, url, openShareDialogOnClick, opts, link, returnVal;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this.props, beforeOnClick = _a.beforeOnClick, disabled = _a.disabled, networkLink = _a.networkLink, onClick = _a.onClick, url = _a.url, openShareDialogOnClick = _a.openShareDialogOnClick, opts = _a.opts;\n link = networkLink(url, opts);\n if (disabled) {\n return [2 /*return*/];\n }\n event.preventDefault();\n if (!beforeOnClick) return [3 /*break*/, 2];\n returnVal = beforeOnClick();\n if (!isPromise(returnVal)) return [3 /*break*/, 2];\n return [4 /*yield*/, returnVal];\n case 1:\n _b.sent();\n _b.label = 2;\n case 2:\n if (openShareDialogOnClick) {\n this.openShareDialog(link);\n }\n if (onClick) {\n onClick(event, link);\n }\n return [2 /*return*/];\n }\n });\n }); };\n return _this;\n }\n ShareButton.prototype.render = function () {\n var _a = this.props, beforeOnClick = _a.beforeOnClick, children = _a.children, className = _a.className, disabled = _a.disabled, disabledStyle = _a.disabledStyle, forwardedRef = _a.forwardedRef, networkLink = _a.networkLink, networkName = _a.networkName, onShareWindowClose = _a.onShareWindowClose, openShareDialogOnClick = _a.openShareDialogOnClick, opts = _a.opts, resetButtonStyle = _a.resetButtonStyle, style = _a.style, url = _a.url, windowHeight = _a.windowHeight, windowPosition = _a.windowPosition, windowWidth = _a.windowWidth, rest = __rest(_a, [\"beforeOnClick\", \"children\", \"className\", \"disabled\", \"disabledStyle\", \"forwardedRef\", \"networkLink\", \"networkName\", \"onShareWindowClose\", \"openShareDialogOnClick\", \"opts\", \"resetButtonStyle\", \"style\", \"url\", \"windowHeight\", \"windowPosition\", \"windowWidth\"]);\n var newClassName = cx('react-share__ShareButton', {\n 'react-share__ShareButton--disabled': !!disabled,\n disabled: !!disabled,\n }, className);\n var newStyle = resetButtonStyle\n ? __assign(__assign({ backgroundColor: 'transparent', border: 'none', padding: 0, font: 'inherit', color: 'inherit', cursor: 'pointer' }, style), (disabled && disabledStyle)) : __assign(__assign({}, style), (disabled && disabledStyle));\n return (React.createElement(\"button\", __assign({}, rest, { \"aria-label\": rest['aria-label'] || networkName, className: newClassName, onClick: this.handleClick, ref: forwardedRef, style: newStyle }), children));\n };\n ShareButton.defaultProps = {\n disabledStyle: { opacity: 0.6 },\n openShareDialogOnClick: true,\n resetButtonStyle: true,\n };\n return ShareButton;\n}(Component));\nexport default ShareButton;\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport React, { forwardRef } from 'react';\nimport ShareButton from '../ShareButton';\nfunction createShareButton(networkName, link, optsMap, defaultProps) {\n function CreatedButton(props, ref) {\n var opts = optsMap(props);\n var passedProps = __assign({}, props);\n // remove keys from passed props that are passed as opts\n var optsKeys = Object.keys(opts);\n optsKeys.forEach(function (key) {\n delete passedProps[key];\n });\n return (React.createElement(ShareButton, __assign({}, defaultProps, passedProps, { forwardedRef: ref, networkName: networkName, networkLink: link, opts: optsMap(props) })));\n }\n CreatedButton.displayName = \"ShareButton-\".concat(networkName);\n return forwardRef(CreatedButton);\n}\nexport default createShareButton;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar AssertionError = /** @class */ (function (_super) {\n __extends(AssertionError, _super);\n function AssertionError(message) {\n var _this = _super.call(this, message) || this;\n _this.name = 'AssertionError';\n return _this;\n }\n return AssertionError;\n}(Error));\nexport default function assert(value, message) {\n if (!value) {\n throw new AssertionError(message);\n }\n}\n","export default function objectToGetParams(object) {\n var params = Object.entries(object)\n .filter(function (_a) {\n var value = _a[1];\n return value !== undefined && value !== null;\n })\n .map(function (_a) {\n var key = _a[0], value = _a[1];\n return \"\".concat(encodeURIComponent(key), \"=\").concat(encodeURIComponent(String(value)));\n });\n return params.length > 0 ? \"?\".concat(params.join('&')) : '';\n}\n","const castArray = (a) => {\n return Array.isArray(a) ? a : [a];\n};\nexport {\n castArray\n};\n//# sourceMappingURL=castArray.js.map\n","import { castArray } from \"./castArray.js\";\nconst appendFilters = (objWithFilters = {}, filters) => {\n return {\n ...objWithFilters,\n filters: [...objWithFilters.filters || [], ...castArray(filters)]\n };\n};\nexport {\n appendFilters\n};\n//# sourceMappingURL=appendFilters.js.map\n","const version = \"7.12.0\";\nexport {\n version\n};\n//# sourceMappingURL=package.json.js.map\n","const formatValue = (value) => {\n if (Array.isArray(value)) {\n return `[${value.map(formatValue).join(\", \")}]`;\n }\n if (typeof value === \"string\") {\n return `\"${value}\"`;\n }\n if (value instanceof Date) {\n return `${value.getTime()}`;\n }\n return `${value}`;\n};\nconst pathWithArgsFilter = (name) => {\n const fn = (path, ...args) => {\n const formattedArgs = args.map(formatValue).join(\", \");\n const joiner = path && args.length ? \", \" : \"\";\n return `[${name}(${path}${joiner}${formattedArgs})]`;\n };\n return fn;\n};\nconst pathFilter = (name) => {\n const filterFn = pathWithArgsFilter(name);\n const fn = (path) => {\n return filterFn(path);\n };\n return fn;\n};\nconst argsFilter = (name) => {\n const filterFn = pathWithArgsFilter(name);\n const fn = (...args) => {\n return filterFn(\"\", ...args);\n };\n return fn;\n};\nconst filter = {\n /**\n * The `at` filter checks that the path matches the described value exactly.\n * It takes a single value for a field or an array (only for tags).\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#at}\n */\n at: pathWithArgsFilter(\"at\"),\n /**\n * The `not` filter checks that the path doesn't match the provided value\n * exactly. It takes a single value for a field or an array (only for tags).\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#not}\n */\n not: pathWithArgsFilter(\"not\"),\n /**\n * The `any` filter takes an array of values. It works exactly the same way as\n * the `at` operator, but checks whether the fragment matches any of the\n * values in the array.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#any}\n */\n any: pathWithArgsFilter(\"any\"),\n /**\n * The `in` filter is used specifically to retrieve an array of documents by\n * their IDs or UIDs. This filter is much more efficient at this than the any\n * filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#in}\n */\n in: pathWithArgsFilter(\"in\"),\n /**\n * The `fulltext` filter provides two capabilities:\n *\n * 1. Checking if a certain string is anywhere inside a document (this is what\n * you should use to make your project's search engine feature)\n * 2. Checking if the string is contained inside a specific custom type’s Rich\n * Text or Key Text fragment.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#fulltext}\n */\n fulltext: pathWithArgsFilter(\"fulltext\"),\n /**\n * The `has` filter checks whether a fragment has a value. It will return all\n * the documents of the specified type that contain a value for the specified\n * field.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#has}\n */\n has: pathFilter(\"has\"),\n /**\n * The `missing` filter checks if a fragment doesn't have a value. It will\n * return all the documents of the specified type that do not contain a value\n * for the specified field.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#missing}\n */\n missing: pathFilter(\"missing\"),\n /**\n * The `similar` filter takes the ID of a document, and returns a list of\n * documents with similar content. This allows you to build an automated\n * content discovery feature (for example, a \"Related posts\" section).\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#similar}\n */\n similar: argsFilter(\"similar\"),\n /**\n * The `geopoint.near` filter checks that the value in the path is within the\n * radius of the given coordinates.\n *\n * This filter will only work for a geopoint field.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#geopointnear}\n */\n geopointNear: pathWithArgsFilter(\"geopoint.near\"),\n /**\n * The `number.lt` filter checks that the value in the number field is less\n * than the value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#numberlessthan}\n */\n numberLessThan: pathWithArgsFilter(\"number.lt\"),\n /**\n * The `number.gt` filter checks that the value in the number field is greater\n * than the value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#numbergreaterthan}\n */\n numberGreaterThan: pathWithArgsFilter(\"number.gt\"),\n /**\n * The `number.inRange` filter checks that the value in the path is within the\n * two values passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#numberinrange}\n */\n numberInRange: pathWithArgsFilter(\"number.inRange\"),\n /**\n * The `date.after` filter checks that the value in the path is after the date\n * value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateAfter: pathWithArgsFilter(\"date.after\"),\n /**\n * The `date.before` filter checks that the value in the path is before the\n * date value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateBefore: pathWithArgsFilter(\"date.before\"),\n /**\n * The `date.between` filter checks that the value in the path is within the\n * date values passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateBetween: pathWithArgsFilter(\"date.between\"),\n /**\n * The `date.day-of-month` filter checks that the value in the path is equal\n * to the day of the month passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateDayOfMonth: pathWithArgsFilter(\"date.day-of-month\"),\n /**\n * The `date.day-of-month-after` filter checks that the value in the path is\n * after the day of the month passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateDayOfMonthAfter: pathWithArgsFilter(\"date.day-of-month-after\"),\n /**\n * The `date.day-of-month-before` filter checks that the value in the path is\n * before the day of the month passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateDayOfMonthBefore: pathWithArgsFilter(\"date.day-of-month-before\"),\n /**\n * The `date.day-of-week` filter checks that the value in the path is equal to\n * the day of the week passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateDayOfWeek: pathWithArgsFilter(\"date.day-of-week\"),\n /**\n * The `date.day-of-week-after` filter checks that the value in the path is\n * after the day of the week passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateDayOfWeekAfter: pathWithArgsFilter(\"date.day-of-week-after\"),\n /**\n * The date.day-of-week-before filter checks that the value in the path is\n * before the day of the week passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateDayOfWeekBefore: pathWithArgsFilter(\"date.day-of-week-before\"),\n /**\n * The `date.month` filter checks that the value in the path occurs in the\n * month value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateMonth: pathWithArgsFilter(\"date.month\"),\n /**\n * The `date.month-after` filter checks that the value in the path occurs in\n * any month after the value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateMonthAfter: pathWithArgsFilter(\"date.month-after\"),\n /**\n * The `date.month-before` filter checks that the value in the path occurs in\n * any month before the value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateMonthBefore: pathWithArgsFilter(\"date.month-before\"),\n /**\n * The `date.year` filter checks that the value in the path occurs in the year\n * value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateYear: pathWithArgsFilter(\"date.year\"),\n /**\n * The `date.hour` filter checks that the value in the path occurs within the\n * hour value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateHour: pathWithArgsFilter(\"date.hour\"),\n /**\n * The `date.hour-after` filter checks that the value in the path occurs after\n * the hour value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateHourAfter: pathWithArgsFilter(\"date.hour-after\"),\n /**\n * The `date.hour-before` filter checks that the value in the path occurs\n * before the hour value passed into the filter.\n *\n * {@link https://prismic.io/docs/rest-api-technical-reference#date-filters}\n */\n dateHourBefore: pathWithArgsFilter(\"date.hour-before\")\n};\nexport {\n filter\n};\n//# sourceMappingURL=filter.js.map\n","import { filter } from \"../filter.js\";\nimport { castArray } from \"./castArray.js\";\nconst everyTagFilter = (tags) => {\n return filter.at(\"document.tags\", castArray(tags));\n};\nexport {\n everyTagFilter\n};\n//# sourceMappingURL=everyTagFilter.js.map\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\nclass PrismicError extends Error {\n constructor(message = \"An invalid API response was returned\", url, response) {\n super(message);\n __publicField(this, \"url\");\n __publicField(this, \"response\");\n this.url = url;\n this.response = response;\n }\n}\nexport {\n PrismicError\n};\n//# sourceMappingURL=PrismicError.js.map\n","import { PrismicError } from \"../errors/PrismicError.js\";\nconst findRef = (refs, filter) => {\n const ref = refs.find((ref2) => filter(ref2));\n if (!ref) {\n throw new PrismicError(\"Ref could not be found.\", void 0, void 0);\n }\n return ref;\n};\nexport {\n findRef\n};\n//# sourceMappingURL=findRef.js.map\n","import { findRef } from \"./findRef.js\";\nconst findMasterRef = (refs) => {\n return findRef(refs, (ref) => ref.isMasterRef);\n};\nexport {\n findMasterRef\n};\n//# sourceMappingURL=findMasterRef.js.map\n","import { findRef } from \"./findRef.js\";\nconst findRefByID = (refs, id) => {\n return findRef(refs, (ref) => ref.id === id);\n};\nexport {\n findRefByID\n};\n//# sourceMappingURL=findRefByID.js.map\n","import { findRef } from \"./findRef.js\";\nconst findRefByLabel = (refs, label) => {\n return findRef(refs, (ref) => ref.label === label);\n};\nexport {\n findRefByLabel\n};\n//# sourceMappingURL=findRefByLabel.js.map\n","import { preview } from \"../cookie.js\";\nconst readValue = (value) => {\n return value.replace(/%3B/g, \";\");\n};\nconst getPreviewCookie = (cookieJar) => {\n const cookies = cookieJar.split(\"; \");\n let value;\n for (const cookie of cookies) {\n const parts = cookie.split(\"=\");\n const name = readValue(parts[0]).replace(/%3D/g, \"=\");\n if (name === preview) {\n value = readValue(parts.slice(1).join(\"=\"));\n break;\n }\n }\n return value;\n};\nexport {\n getPreviewCookie\n};\n//# sourceMappingURL=getPreviewCookie.js.map\n","import { filter } from \"../filter.js\";\nimport { castArray } from \"./castArray.js\";\nconst someTagsFilter = (tags) => {\n return filter.any(\"document.tags\", castArray(tags));\n};\nexport {\n someTagsFilter\n};\n//# sourceMappingURL=someTagsFilter.js.map\n","import { filter } from \"../filter.js\";\nconst typeFilter = (documentType) => {\n return filter.at(\"document.type\", documentType);\n};\nexport {\n typeFilter\n};\n//# sourceMappingURL=typeFilter.js.map\n","import { PrismicError } from \"./PrismicError.js\";\nclass ForbiddenError extends PrismicError {\n}\nexport {\n ForbiddenError\n};\n//# sourceMappingURL=ForbiddenError.js.map\n","import { PrismicError } from \"./PrismicError.js\";\nclass NotFoundError extends PrismicError {\n}\nexport {\n NotFoundError\n};\n//# sourceMappingURL=NotFoundError.js.map\n","import { PrismicError } from \"./PrismicError.js\";\nclass ParsingError extends PrismicError {\n}\nexport {\n ParsingError\n};\n//# sourceMappingURL=ParsingError.js.map\n","import { ForbiddenError } from \"./ForbiddenError.js\";\nclass PreviewTokenExpiredError extends ForbiddenError {\n}\nexport {\n PreviewTokenExpiredError\n};\n//# sourceMappingURL=PreviewTokenExpired.js.map\n","import { ForbiddenError } from \"./ForbiddenError.js\";\nclass RefExpiredError extends ForbiddenError {\n}\nexport {\n RefExpiredError\n};\n//# sourceMappingURL=RefExpiredError.js.map\n","import { ForbiddenError } from \"./ForbiddenError.js\";\nclass RefNotFoundError extends ForbiddenError {\n}\nexport {\n RefNotFoundError\n};\n//# sourceMappingURL=RefNotFoundError.js.map\n","import { NotFoundError } from \"./NotFoundError.js\";\nclass RepositoryNotFoundError extends NotFoundError {\n}\nexport {\n RepositoryNotFoundError\n};\n//# sourceMappingURL=RepositoryNotFoundError.js.map\n","const LinkType = {\n Any: \"Any\",\n Document: \"Document\",\n Media: \"Media\",\n Web: \"Web\"\n};\nexport {\n LinkType\n};\n//# sourceMappingURL=link.js.map\n","import { LinkType } from \"../types/value/link.js\";\nimport { documentToLinkField } from \"./documentToLinkField.js\";\nconst asLink = (linkFieldOrDocument, ...configObjectOrTuple) => {\n if (!linkFieldOrDocument) {\n return null;\n }\n const linkField = (\n // prettier-ignore\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore - Bug in TypeScript 4.9: https://github.com/microsoft/TypeScript/issues/51501\n // TODO: Remove the `prettier-ignore` comment when this bug is fixed.\n \"link_type\" in linkFieldOrDocument ? linkFieldOrDocument : documentToLinkField(linkFieldOrDocument)\n );\n const [configObjectOrLinkResolver] = configObjectOrTuple;\n let config;\n if (typeof configObjectOrLinkResolver === \"function\" || configObjectOrLinkResolver == null) {\n config = {\n linkResolver: configObjectOrLinkResolver\n };\n } else {\n config = { ...configObjectOrLinkResolver };\n }\n switch (linkField.link_type) {\n case LinkType.Media:\n case LinkType.Web:\n return \"url\" in linkField ? linkField.url : null;\n case LinkType.Document: {\n if (\"id\" in linkField && config.linkResolver) {\n const resolvedURL = config.linkResolver(linkField);\n if (resolvedURL != null) {\n return resolvedURL;\n }\n }\n if (\"url\" in linkField && linkField.url) {\n return linkField.url;\n }\n return null;\n }\n case LinkType.Any:\n default:\n return null;\n }\n};\nexport {\n asLink\n};\n//# sourceMappingURL=asLink.js.map\n","import { LinkType } from \"../types/value/link.js\";\nconst documentToLinkField = (prismicDocument) => {\n var _a;\n return {\n link_type: LinkType.Document,\n id: prismicDocument.id,\n uid: prismicDocument.uid || void 0,\n type: prismicDocument.type,\n tags: prismicDocument.tags,\n lang: prismicDocument.lang,\n url: prismicDocument.url == null ? void 0 : prismicDocument.url,\n slug: (_a = prismicDocument.slugs) == null ? void 0 : _a[0],\n // Slug field is not available with GraphQL\n // The REST API does not include a `data` property if the data\n // object is empty.\n //\n // A presence check for `prismicDocument.data` is done to\n // support partial documents. While `documentToLinkField` is\n // not typed to accept partial documents, passing a partial\n // document can happen in untyped projects.\n ...prismicDocument.data && Object.keys(prismicDocument.data).length > 0 ? { data: prismicDocument.data } : {}\n };\n};\nexport {\n documentToLinkField\n};\n//# sourceMappingURL=documentToLinkField.js.map\n","const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));\nconst pLimit = ({ interval } = {}) => {\n const queue = [];\n let busy = false;\n let lastCompletion = 0;\n const resumeNext = () => {\n var _a;\n if (!busy && queue.length > 0) {\n (_a = queue.shift()) == null ? void 0 : _a();\n busy = true;\n }\n };\n const next = () => {\n busy = false;\n resumeNext();\n };\n const run = async (function_, resolve, arguments_) => {\n const timeSinceLastCompletion = Date.now() - lastCompletion;\n if (interval && timeSinceLastCompletion < interval) {\n await sleep(interval - timeSinceLastCompletion);\n }\n const result = (async () => function_(...arguments_))();\n resolve(result);\n try {\n await result;\n } catch {\n }\n lastCompletion = Date.now();\n next();\n };\n const enqueue = (function_, resolve, arguments_) => {\n new Promise((internalResolve) => {\n queue.push(internalResolve);\n }).then(run.bind(void 0, function_, resolve, arguments_));\n (async () => {\n await Promise.resolve();\n if (!busy) {\n resumeNext();\n }\n })();\n };\n return (function_, ...arguments_) => new Promise((resolve) => {\n enqueue(function_, resolve, arguments_);\n });\n};\nexport {\n pLimit\n};\n//# sourceMappingURL=pLimit.js.map\n","var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\nimport { pLimit } from \"./lib/pLimit.js\";\nimport { PrismicError } from \"./errors/PrismicError.js\";\nconst UNKNOWN_RATE_LIMIT_DELAY = 1500;\nclass BaseClient {\n constructor(options) {\n /**\n * The function used to make network requests to the Prismic REST API. In\n * environments where a global `fetch` function does not exist, such as\n * Node.js, this function must be provided.\n */\n __publicField(this, \"fetchFn\");\n __publicField(this, \"fetchOptions\");\n /**\n * Active queued `fetch()` jobs keyed by URL and AbortSignal (if it exists).\n */\n __publicField(this, \"queuedFetchJobs\", {});\n /**\n * Active deduped `fetch()` jobs keyed by URL and AbortSignal (if it exists).\n */\n __publicField(this, \"dedupedFetchJobs\", {});\n this.fetchOptions = options.fetchOptions;\n if (typeof options.fetch === \"function\") {\n this.fetchFn = options.fetch;\n } else if (typeof globalThis.fetch === \"function\") {\n this.fetchFn = globalThis.fetch;\n } else {\n throw new PrismicError(\"A valid fetch implementation was not provided. In environments where fetch is not available (including Node.js), a fetch implementation must be provided via a polyfill or the `fetch` option.\", void 0, void 0);\n }\n if (this.fetchFn === globalThis.fetch) {\n this.fetchFn = this.fetchFn.bind(globalThis);\n }\n }\n async fetch(url, params = {}) {\n var _a, _b, _c, _d, _e;\n const requestInit = {\n ...this.fetchOptions,\n ...params.fetchOptions,\n headers: {\n ...(_a = this.fetchOptions) == null ? void 0 : _a.headers,\n ...(_b = params.fetchOptions) == null ? void 0 : _b.headers\n },\n signal: ((_c = params.fetchOptions) == null ? void 0 : _c.signal) || params.signal || ((_d = this.fetchOptions) == null ? void 0 : _d.signal)\n };\n if ((_e = params.fetchOptions) == null ? void 0 : _e.body) {\n return this.queueFetch(url, requestInit);\n } else {\n return this.dedupeFetch(url, requestInit);\n }\n }\n queueFetch(url, requestInit = {}) {\n const hostname = new URL(url).hostname;\n if (!this.queuedFetchJobs[hostname]) {\n this.queuedFetchJobs[hostname] = pLimit({\n interval: UNKNOWN_RATE_LIMIT_DELAY\n });\n }\n return this.queuedFetchJobs[hostname](() => this.createFetchJob(url, requestInit));\n }\n dedupeFetch(url, requestInit = {}) {\n let job;\n if (this.dedupedFetchJobs[url] && this.dedupedFetchJobs[url].has(requestInit.signal)) {\n job = this.dedupedFetchJobs[url].get(requestInit.signal);\n } else {\n this.dedupedFetchJobs[url] = this.dedupedFetchJobs[url] || /* @__PURE__ */ new Map();\n job = this.createFetchJob(url, requestInit).finally(() => {\n var _a, _b;\n (_a = this.dedupedFetchJobs[url]) == null ? void 0 : _a.delete(requestInit.signal);\n if (((_b = this.dedupedFetchJobs[url]) == null ? void 0 : _b.size) === 0) {\n delete this.dedupedFetchJobs[url];\n }\n });\n this.dedupedFetchJobs[url].set(requestInit.signal, job);\n }\n return job;\n }\n createFetchJob(url, requestInit = {}) {\n return this.fetchFn(url, requestInit).then(async (res) => {\n let json = void 0;\n let text = void 0;\n if (res.ok) {\n try {\n json = await res.json();\n } catch {\n }\n } else {\n try {\n text = await res.text();\n json = JSON.parse(text);\n } catch {\n }\n }\n return {\n status: res.status,\n headers: res.headers,\n json,\n text\n };\n });\n }\n}\nexport {\n BaseClient,\n UNKNOWN_RATE_LIMIT_DELAY\n};\n//# sourceMappingURL=BaseClient.js.map\n","import { castArray } from \"./lib/castArray.js\";\nimport { devMsg } from \"./lib/devMsg.js\";\nimport { version } from \"./package.json.js\";\nconst PRISMIC_DEV_PARAM = \"x-d\";\nconst PRISMIC_CLIENT_VERSION_PARAM = \"x-c\";\nconst RENAMED_PARAMS = {\n accessToken: \"access_token\"\n};\nconst castOrderingToString = (ordering) => {\n if (typeof ordering === \"string\") {\n if (process.env.NODE_ENV === \"development\") {\n const [field, direction] = ordering.split(\" \");\n const objectForm = direction === \"desc\" ? `{ field: \"${field}\", direction: \"desc\" }` : `{ field: \"${field}\" }`;\n console.warn(`[@prismicio/client] A string value was provided to the \\`orderings\\` query parameter. Strings are deprecated. Please convert it to the object form: ${objectForm}. For more details, see ${devMsg(\"orderings-must-be-an-array-of-objects\")}`);\n }\n return ordering;\n }\n return ordering.direction === \"desc\" ? `${ordering.field} desc` : ordering.field;\n};\nconst buildQueryURL = (endpoint, args) => {\n const { filters, predicates, ...params } = args;\n const url = new URL(`documents/search`, `${endpoint}/`);\n if (filters) {\n if (process.env.NODE_ENV === \"development\" && !Array.isArray(filters)) {\n console.warn(`[@prismicio/client] A non-array value was provided to the \\`filters\\` query parameter (\\`${filters}\\`). Non-array values are deprecated. Please convert it to an array. For more details, see ${devMsg(\"filters-must-be-an-array\")}`);\n }\n for (const filter of castArray(filters)) {\n url.searchParams.append(\"q\", `[${filter}]`);\n }\n }\n if (predicates) {\n for (const predicate of castArray(predicates)) {\n url.searchParams.append(\"q\", `[${predicate}]`);\n }\n }\n for (const k in params) {\n const name = RENAMED_PARAMS[k] || k;\n let value = params[k];\n if (name === \"orderings\") {\n const scopedValue = params[name];\n if (scopedValue != null) {\n if (process.env.NODE_ENV === \"development\" && typeof scopedValue === \"string\") {\n console.warn(`[@prismicio/client] A string value was provided to the \\`orderings\\` query parameter. Strings are deprecated. Please convert it to an array of objects. For more details, see ${devMsg(\"orderings-must-be-an-array-of-objects\")}`);\n }\n const v = castArray(scopedValue).map((ordering) => castOrderingToString(ordering)).join(\",\");\n value = `[${v}]`;\n }\n } else if (name === \"routes\") {\n if (typeof params[name] === \"object\") {\n value = JSON.stringify(castArray(params[name]));\n }\n }\n if (value != null) {\n url.searchParams.set(name, castArray(value).join(\",\"));\n }\n }\n url.searchParams.set(PRISMIC_CLIENT_VERSION_PARAM, `js-${version}`);\n if (process.env.NODE_ENV === \"development\") {\n url.searchParams.set(PRISMIC_DEV_PARAM, \"1\");\n }\n return url.toString();\n};\nexport {\n buildQueryURL\n};\n//# sourceMappingURL=buildQueryURL.js.map\n","const isRepositoryEndpoint = (input) => {\n try {\n new URL(input);\n return true;\n } catch {\n return false;\n }\n};\nexport {\n isRepositoryEndpoint\n};\n//# sourceMappingURL=isRepositoryEndpoint.js.map\n","var __defProp = Object.defineProperty;\nvar __typeError = (msg) => {\n throw TypeError(msg);\n};\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\nvar __accessCheck = (obj, member, msg) => member.has(obj) || __typeError(\"Cannot \" + msg);\nvar __privateGet = (obj, member, getter) => (__accessCheck(obj, member, \"read from private field\"), getter ? getter.call(obj) : member.get(obj));\nvar __privateAdd = (obj, member, value) => member.has(obj) ? __typeError(\"Cannot add the same private member more than once\") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\nvar __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, \"write to private field\"), setter ? setter.call(obj, value) : member.set(obj, value), value);\nvar _repositoryName;\nimport { appendFilters } from \"./lib/appendFilters.js\";\nimport { castThunk } from \"./lib/castThunk.js\";\nimport { devMsg } from \"./lib/devMsg.js\";\nimport { everyTagFilter } from \"./lib/everyTagFilter.js\";\nimport { findMasterRef } from \"./lib/findMasterRef.js\";\nimport { findRefByID } from \"./lib/findRefByID.js\";\nimport { findRefByLabel } from \"./lib/findRefByLabel.js\";\nimport { getPreviewCookie } from \"./lib/getPreviewCookie.js\";\nimport { minifyGraphQLQuery } from \"./lib/minifyGraphQLQuery.js\";\nimport { someTagsFilter } from \"./lib/someTagsFilter.js\";\nimport { typeFilter } from \"./lib/typeFilter.js\";\nimport { ForbiddenError } from \"./errors/ForbiddenError.js\";\nimport { NotFoundError } from \"./errors/NotFoundError.js\";\nimport { ParsingError } from \"./errors/ParsingError.js\";\nimport { PreviewTokenExpiredError } from \"./errors/PreviewTokenExpired.js\";\nimport { PrismicError } from \"./errors/PrismicError.js\";\nimport { RefExpiredError } from \"./errors/RefExpiredError.js\";\nimport { RefNotFoundError } from \"./errors/RefNotFoundError.js\";\nimport { RepositoryNotFoundError } from \"./errors/RepositoryNotFoundError.js\";\nimport { asLink } from \"./helpers/asLink.js\";\nimport { BaseClient } from \"./BaseClient.js\";\nimport { buildQueryURL } from \"./buildQueryURL.js\";\nimport { filter } from \"./filter.js\";\nimport { getRepositoryEndpoint } from \"./getRepositoryEndpoint.js\";\nimport { getRepositoryName } from \"./getRepositoryName.js\";\nimport { isRepositoryEndpoint } from \"./isRepositoryEndpoint.js\";\nconst MAX_PAGE_SIZE = 100;\nconst REPOSITORY_CACHE_TTL = 5e3;\nconst GET_ALL_QUERY_DELAY = 500;\nconst DEFUALT_RETRY_AFTER_MS = 1e3;\nconst MAX_INVALID_REF_RETRY_ATTEMPS = 3;\nvar RefStateMode;\n(function(RefStateMode2) {\n RefStateMode2[\"Master\"] = \"Master\";\n RefStateMode2[\"ReleaseID\"] = \"ReleaseID\";\n RefStateMode2[\"ReleaseLabel\"] = \"ReleaseLabel\";\n RefStateMode2[\"Manual\"] = \"Manual\";\n})(RefStateMode || (RefStateMode = {}));\nclass Client extends BaseClient {\n /**\n * Creates a Prismic client that can be used to query a repository.\n *\n * If used in an environment where a global `fetch` function is unavailable,\n * such as in some Node.js versions, the `fetch` option must be provided as\n * part of the `options` parameter.\n *\n * @param repositoryNameOrEndpoint - The Prismic repository name or full Rest\n * API V2 endpoint for the repository.\n * @param options - Configuration that determines how content will be queried\n * from the Prismic repository.\n *\n * @returns A client that can query content from the repository.\n */\n constructor(repositoryNameOrEndpoint, options = {}) {\n super(options);\n __privateAdd(this, _repositoryName);\n /**\n * The Prismic REST API V2 endpoint for the repository (use\n * `prismic.getRepositoryEndpoint` for the default endpoint).\n */\n __publicField(this, \"documentAPIEndpoint\");\n /**\n * The secure token for accessing the API (only needed if your repository is\n * set to private).\n *\n * {@link https://user-guides.prismic.io/en/articles/1036153-generating-an-access-token}\n */\n __publicField(this, \"accessToken\");\n /**\n * A list of route resolver objects that define how a document's `url` field\n * is resolved.\n *\n * {@link https://prismic.io/docs/route-resolver}\n */\n __publicField(this, \"routes\");\n /**\n * The `brokenRoute` option allows you to define the route populated in the\n * `url` property for broken link or content relationship fields. A broken\n * link is a link or content relationship field whose linked document has been\n * unpublished or deleted.\n *\n * {@link https://prismic.io/docs/route-resolver}\n */\n __publicField(this, \"brokenRoute\");\n /**\n * Default parameters that will be sent with each query. These parameters can\n * be overridden on each query if needed.\n */\n __publicField(this, \"defaultParams\");\n /**\n * The client's ref mode state. This determines which ref is used during\n * queries.\n */\n __publicField(this, \"refState\", {\n mode: RefStateMode.Master,\n autoPreviewsEnabled: true\n });\n /**\n * Cached repository value.\n */\n __publicField(this, \"cachedRepository\");\n /**\n * Timestamp at which the cached repository data is considered stale.\n */\n __publicField(this, \"cachedRepositoryExpiration\", 0);\n if ((options.documentAPIEndpoint || isRepositoryEndpoint(repositoryNameOrEndpoint)) && process.env.NODE_ENV === \"development\") {\n const documentAPIEndpoint = options.documentAPIEndpoint || repositoryNameOrEndpoint;\n if (/\\.prismic\\.io\\/(?!api\\/v2\\/?)/i.test(documentAPIEndpoint)) {\n throw new PrismicError(\"@prismicio/client only supports Prismic Rest API V2. Please provide only the repository name to the first createClient() parameter or use the getRepositoryEndpoint() helper to generate a valid Rest API V2 endpoint URL.\", void 0, void 0);\n }\n const hostname = new URL(documentAPIEndpoint).hostname.toLowerCase();\n if (hostname.endsWith(\".prismic.io\") && !hostname.endsWith(\".cdn.prismic.io\")) {\n console.warn(`[@prismicio/client] The client was created with a non-CDN endpoint. Convert it to the CDN endpoint for better performance. For more details, see ${devMsg(\"endpoint-must-use-cdn\")}`);\n }\n if (options.documentAPIEndpoint && isRepositoryEndpoint(repositoryNameOrEndpoint) && repositoryNameOrEndpoint !== options.documentAPIEndpoint) {\n console.warn(`[@prismicio/client] Multiple incompatible endpoints were provided. Create the client using a repository name to prevent this error. For more details, see ${devMsg(\"prefer-repository-name\")}`);\n }\n }\n if (isRepositoryEndpoint(repositoryNameOrEndpoint)) {\n this.documentAPIEndpoint = repositoryNameOrEndpoint;\n try {\n this.repositoryName = getRepositoryName(repositoryNameOrEndpoint);\n } catch (error) {\n console.warn(`[@prismicio/client] A repository name could not be inferred from the provided endpoint (\\`${repositoryNameOrEndpoint}\\`). Some methods will be disabled. Create the client using a repository name to prevent this warning. For more details, see ${devMsg(\"prefer-repository-name\")}`);\n }\n } else {\n this.documentAPIEndpoint = options.documentAPIEndpoint || getRepositoryEndpoint(repositoryNameOrEndpoint);\n this.repositoryName = repositoryNameOrEndpoint;\n }\n this.accessToken = options.accessToken;\n this.routes = options.routes;\n this.brokenRoute = options.brokenRoute;\n this.defaultParams = options.defaultParams;\n if (options.ref) {\n this.queryContentFromRef(options.ref);\n }\n this.graphQLFetch = this.graphQLFetch.bind(this);\n }\n /**\n * The Prismic repository's name.\n */\n set repositoryName(value) {\n __privateSet(this, _repositoryName, value);\n }\n /**\n * The Prismic repository's name.\n */\n get repositoryName() {\n if (!__privateGet(this, _repositoryName)) {\n throw new PrismicError(`A repository name is required for this method but one could not be inferred from the provided API endpoint (\\`${this.documentAPIEndpoint}\\`). To fix this error, provide a repository name when creating the client. For more details, see ${devMsg(\"prefer-repository-name\")}`, void 0, void 0);\n }\n return __privateGet(this, _repositoryName);\n }\n /**\n * The Prismic REST API V2 endpoint for the repository (use\n * `prismic.getRepositoryEndpoint` for the default endpoint).\n *\n * @deprecated Use `documentAPIEndpoint` instead.\n */\n // TODO: Remove in v8.\n set endpoint(value) {\n this.documentAPIEndpoint = value;\n }\n /**\n * The Prismic REST API V2 endpoint for the repository (use\n * `prismic.getRepositoryEndpoint` for the default endpoint).\n *\n * @deprecated Use `documentAPIEndpoint` instead.\n */\n // TODO: Remove in v8.\n get endpoint() {\n return this.documentAPIEndpoint;\n }\n /**\n * Enables the client to automatically query content from a preview session if\n * one is active in browser environments. This is enabled by default in the\n * browser.\n *\n * For server environments, use `enableAutoPreviewsFromReq`.\n *\n * @example\n *\n * ```ts\n * client.enableAutoPreviews()\n * ```\n *\n * @see enableAutoPreviewsFromReq\n */\n enableAutoPreviews() {\n this.refState.autoPreviewsEnabled = true;\n }\n /**\n * Enables the client to automatically query content from a preview session if\n * one is active in server environments. This is disabled by default on the\n * server.\n *\n * For browser environments, use `enableAutoPreviews`.\n *\n * @example\n *\n * ```ts\n * // In an express app\n * app.get(\"/\", function (req, res) {\n * \tclient.enableAutoPreviewsFromReq(req)\n * })\n * ```\n *\n * @param req - An HTTP server request object containing the request's\n * cookies.\n */\n enableAutoPreviewsFromReq(req) {\n this.refState.httpRequest = req;\n this.refState.autoPreviewsEnabled = true;\n }\n /**\n * Disables the client from automatically querying content from a preview\n * session if one is active.\n *\n * Automatic preview content querying is enabled by default unless this method\n * is called.\n *\n * @example\n *\n * ```ts\n * client.disableAutoPreviews()\n * ```\n */\n disableAutoPreviews() {\n this.refState.autoPreviewsEnabled = false;\n }\n /**\n * Queries content from the Prismic repository.\n *\n * @example\n *\n * ```ts\n * const response = await client.get()\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param params - Parameters to filter, sort, and paginate results.\n *\n * @returns A paginated response containing the result of the query.\n */\n async get(params) {\n const { data } = await this._get(params);\n return data;\n }\n /**\n * Queries content from the Prismic repository and returns only the first\n * result, if any.\n *\n * @example\n *\n * ```ts\n * const document = await client.getFirst()\n * ```\n *\n * @typeParam TDocument - Type of the Prismic document returned.\n *\n * @param params - Parameters to filter, sort, and paginate results.\n *\n * @returns The first result of the query, if any.\n */\n async getFirst(params) {\n var _a;\n const actualParams = { ...params };\n if (!(params && params.page) && !(params == null ? void 0 : params.pageSize)) {\n actualParams.pageSize = ((_a = this.defaultParams) == null ? void 0 : _a.pageSize) ?? 1;\n }\n const { data, url } = await this._get(actualParams);\n const firstResult = data.results[0];\n if (firstResult) {\n return firstResult;\n }\n throw new NotFoundError(\"No documents were returned\", url, void 0);\n }\n /**\n * **IMPORTANT**: Avoid using `dangerouslyGetAll` as it may be slower and\n * require more resources than other methods. Prefer using other methods that\n * filter by filters such as `getAllByType`.\n *\n * Queries content from the Prismic repository and returns all matching\n * content. If no filters are provided, all documents will be fetched.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @example\n *\n * ```ts\n * const response = await client.dangerouslyGetAll()\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param params - Parameters to filter, sort, and paginate results.\n *\n * @returns A list of documents matching the query.\n */\n async dangerouslyGetAll(params = {}) {\n var _a;\n const { limit = Infinity, ...actualParams } = params;\n const resolvedParams = {\n ...actualParams,\n pageSize: Math.min(limit, actualParams.pageSize || ((_a = this.defaultParams) == null ? void 0 : _a.pageSize) || MAX_PAGE_SIZE)\n };\n const documents = [];\n let latestResult;\n while ((!latestResult || latestResult.next_page) && documents.length < limit) {\n const page = latestResult ? latestResult.page + 1 : void 0;\n latestResult = await this.get({ ...resolvedParams, page });\n documents.push(...latestResult.results);\n if (latestResult.next_page) {\n await new Promise((res) => setTimeout(res, GET_ALL_QUERY_DELAY));\n }\n }\n return documents.slice(0, limit);\n }\n /**\n * Queries a document from the Prismic repository with a specific ID.\n *\n * @remarks\n * A document's UID is different from its ID. An ID is automatically generated\n * for all documents and is made available on its `id` property. A UID is\n * provided in the Prismic editor and is unique among all documents of its\n * custom type.\n *\n * @example\n *\n * ```ts\n * const document = await client.getByID(\"WW4bKScAAMAqmluX\")\n * ```\n *\n * @typeParam TDocument- Type of the Prismic document returned.\n *\n * @param id - ID of the document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns The document with an ID matching the `id` parameter, if a matching\n * document exists.\n */\n async getByID(id, params) {\n return await this.getFirst(appendFilters(params, filter.at(\"document.id\", id)));\n }\n /**\n * Queries documents from the Prismic repository with specific IDs.\n *\n * @remarks\n * A document's UID is different from its ID. An ID is automatically generated\n * for all documents and is made available on its `id` property. A UID is\n * provided in the Prismic editor and is unique among all documents of its\n * custom type.\n *\n * @example\n *\n * ```ts\n * const response = await client.getByIDs([\n * \t\"WW4bKScAAMAqmluX\",\n * \t\"U1kTRgEAAC8A5ldS\",\n * ])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param ids - A list of document IDs.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A paginated response containing documents with IDs matching the\n * `ids` parameter.\n */\n async getByIDs(ids, params) {\n return await this.get(appendFilters(params, filter.in(\"document.id\", ids)));\n }\n /**\n * Queries all documents from the Prismic repository with specific IDs.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @remarks\n * A document's UID is different from its ID. An ID is automatically generated\n * for all documents and is made available on its `id` property. A UID is\n * provided in the Prismic editor and is unique among all documents of its\n * custom type.\n *\n * @example\n *\n * ```ts\n * const response = await client.getAllByIDs([\n * \t\"WW4bKScAAMAqmluX\",\n * \t\"U1kTRgEAAC8A5ldS\",\n * ])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param ids - A list of document IDs.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A list of documents with IDs matching the `ids` parameter.\n */\n async getAllByIDs(ids, params) {\n return await this.dangerouslyGetAll(appendFilters(params, filter.in(\"document.id\", ids)));\n }\n /**\n * Queries a document from the Prismic repository with a specific UID and\n * custom type.\n *\n * @remarks\n * A document's UID is different from its ID. An ID is automatically generated\n * for all documents and is made available on its `id` property. A UID is\n * provided in the Prismic editor and is unique among all documents of its\n * custom type.\n *\n * @example\n *\n * ```ts\n * const document = await client.getByUID(\"blog_post\", \"my-first-post\")\n * ```\n *\n * @typeParam TDocument - Type of the Prismic document returned.\n *\n * @param documentType - The API ID of the document's custom type.\n * @param uid - UID of the document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns The document with a UID matching the `uid` parameter, if a\n * matching document exists.\n */\n async getByUID(documentType, uid, params) {\n return await this.getFirst(appendFilters(params, [\n typeFilter(documentType),\n filter.at(`my.${documentType}.uid`, uid)\n ]));\n }\n /**\n * Queries document from the Prismic repository with specific UIDs and Custom\n * Type.\n *\n * @remarks\n * A document's UID is different from its ID. An ID is automatically generated\n * for all documents and is made available on its `id` property. A UID is\n * provided in the Prismic editor and is unique among all documents of its\n * custom type.\n *\n * @example\n *\n * ```ts\n * const document = await client.getByUIDs(\"blog_post\", [\n * \t\"my-first-post\",\n * \t\"my-second-post\",\n * ])\n * ```\n *\n * @typeParam TDocument - Type of the Prismic document returned.\n *\n * @param documentType - The API ID of the document's custom type.\n * @param uids - A list of document UIDs.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A paginated response containing documents with UIDs matching the\n * `uids` parameter.\n */\n async getByUIDs(documentType, uids, params) {\n return await this.get(appendFilters(params, [\n typeFilter(documentType),\n filter.in(`my.${documentType}.uid`, uids)\n ]));\n }\n /**\n * Queries all documents from the Prismic repository with specific UIDs and\n * custom type.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @remarks\n * A document's UID is different from its ID. An ID is automatically generated\n * for all documents and is made available on its `id` property. A UID is\n * provided in the Prismic editor and is unique among all documents of its\n * custom type.\n *\n * @example\n *\n * ```ts\n * const response = await client.getAllByUIDs([\n * \t\"my-first-post\",\n * \t\"my-second-post\",\n * ])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param documentType - The API ID of the document's custom type.\n * @param uids - A list of document UIDs.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A list of documents with UIDs matching the `uids` parameter.\n */\n async getAllByUIDs(documentType, uids, params) {\n return await this.dangerouslyGetAll(appendFilters(params, [\n typeFilter(documentType),\n filter.in(`my.${documentType}.uid`, uids)\n ]));\n }\n /**\n * Queries a singleton document from the Prismic repository for a specific\n * custom type.\n *\n * @remarks\n * A singleton document is one that is configured in Prismic to only allow one\n * instance. For example, a repository may be configured to contain just one\n * Settings document. This is in contrast to a repeatable custom type which\n * allows multiple instances of itself.\n *\n * @example\n *\n * ```ts\n * const document = await client.getSingle(\"settings\")\n * ```\n *\n * @typeParam TDocument - Type of the Prismic document returned.\n *\n * @param documentType - The API ID of the singleton custom type.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns The singleton document for the custom type, if a matching document\n * exists.\n */\n async getSingle(documentType, params) {\n return await this.getFirst(appendFilters(params, typeFilter(documentType)));\n }\n /**\n * Queries documents from the Prismic repository for a specific custom type.\n *\n * Use `getAllByType` instead if you need to query all documents for a\n * specific custom type.\n *\n * @example\n *\n * ```ts\n * const response = await client.getByType(\"blog_post\")\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param documentType - The API ID of the custom type.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A paginated response containing documents of the custom type.\n */\n async getByType(documentType, params) {\n return await this.get(appendFilters(params, typeFilter(documentType)));\n }\n /**\n * Queries all documents from the Prismic repository for a specific Custom\n * Type.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @example\n *\n * ```ts\n * const response = await client.getByType(\"blog_post\")\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param documentType - The API ID of the custom type.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A list of all documents of the custom type.\n */\n async getAllByType(documentType, params) {\n return await this.dangerouslyGetAll(appendFilters(params, typeFilter(documentType)));\n }\n /**\n * Queries documents from the Prismic repository with a specific tag.\n *\n * Use `getAllByTag` instead if you need to query all documents with a\n * specific tag.\n *\n * @example\n *\n * ```ts\n * const response = await client.getByTag(\"food\")\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param tag - The tag that must be included on a document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A paginated response containing documents with the tag.\n */\n async getByTag(tag, params) {\n return await this.get(appendFilters(params, someTagsFilter(tag)));\n }\n /**\n * Queries all documents from the Prismic repository with a specific tag.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @example\n *\n * ```ts\n * const response = await client.getAllByTag(\"food\")\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param tag - The tag that must be included on a document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A list of all documents with the tag.\n */\n async getAllByTag(tag, params) {\n return await this.dangerouslyGetAll(appendFilters(params, someTagsFilter(tag)));\n }\n /**\n * Queries documents from the Prismic repository with specific tags. A\n * document must be tagged with all of the queried tags to be included.\n *\n * @example\n *\n * ```ts\n * const response = await client.getByEveryTag([\"food\", \"fruit\"])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param tags - A list of tags that must be included on a document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A paginated response containing documents with the tags.\n */\n async getByEveryTag(tags, params) {\n return await this.get(appendFilters(params, everyTagFilter(tags)));\n }\n /**\n * Queries documents from the Prismic repository with specific tags. A\n * document must be tagged with all of the queried tags to be included.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @example\n *\n * ```ts\n * const response = await client.getAllByEveryTag([\"food\", \"fruit\"])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param tags - A list of tags that must be included on a document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A list of all documents with the tags.\n */\n async getAllByEveryTag(tags, params) {\n return await this.dangerouslyGetAll(appendFilters(params, everyTagFilter(tags)));\n }\n /**\n * Queries documents from the Prismic repository with specific tags. A\n * document must be tagged with at least one of the queried tags to be\n * included.\n *\n * @example\n *\n * ```ts\n * const response = await client.getByEveryTag([\"food\", \"fruit\"])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param tags - A list of tags that must be included on a document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A paginated response containing documents with at least one of the\n * tags.\n */\n async getBySomeTags(tags, params) {\n return await this.get(appendFilters(params, someTagsFilter(tags)));\n }\n /**\n * Queries documents from the Prismic repository with specific tags. A\n * document must be tagged with at least one of the queried tags to be\n * included.\n *\n * This method may make multiple network requests to query all matching\n * content.\n *\n * @example\n *\n * ```ts\n * const response = await client.getAllBySomeTags([\"food\", \"fruit\"])\n * ```\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param tags - A list of tags that must be included on a document.\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A list of all documents with at least one of the tags.\n */\n async getAllBySomeTags(tags, params) {\n return await this.dangerouslyGetAll(appendFilters(params, someTagsFilter(tags)));\n }\n /**\n * Returns metadata about the Prismic repository, such as its refs, releases,\n * and custom types.\n *\n * @returns Repository metadata.\n */\n async getRepository(params) {\n const url = new URL(this.documentAPIEndpoint);\n if (this.accessToken) {\n url.searchParams.set(\"access_token\", this.accessToken);\n }\n return await this.fetch(url.toString(), params);\n }\n /**\n * Returns a list of all refs for the Prismic repository.\n *\n * Refs are used to identify which version of the repository's content should\n * be queried. All repositories will have at least one ref pointing to the\n * latest published content called the \"master ref\".\n *\n * @returns A list of all refs for the Prismic repository.\n */\n async getRefs(params) {\n const repository = await this.getRepository(params);\n return repository.refs;\n }\n /**\n * Returns a ref for the Prismic repository with a matching ID.\n *\n * @param id - ID of the ref.\n *\n * @returns The ref with a matching ID, if it exists.\n */\n async getRefByID(id, params) {\n const refs = await this.getRefs(params);\n return findRefByID(refs, id);\n }\n /**\n * Returns a ref for the Prismic repository with a matching label.\n *\n * @param label - Label of the ref.\n *\n * @returns The ref with a matching label, if it exists.\n */\n async getRefByLabel(label, params) {\n const refs = await this.getRefs(params);\n return findRefByLabel(refs, label);\n }\n /**\n * Returns the master ref for the Prismic repository. The master ref points to\n * the repository's latest published content.\n *\n * @returns The repository's master ref.\n */\n async getMasterRef(params) {\n const refs = await this.getRefs(params);\n return findMasterRef(refs);\n }\n /**\n * Returns a list of all Releases for the Prismic repository. Releases are\n * used to group content changes before publishing.\n *\n * @returns A list of all Releases for the Prismic repository.\n */\n async getReleases(params) {\n const refs = await this.getRefs(params);\n return refs.filter((ref) => !ref.isMasterRef);\n }\n /**\n * Returns a Release for the Prismic repository with a matching ID.\n *\n * @param id - ID of the Release.\n *\n * @returns The Release with a matching ID, if it exists.\n */\n async getReleaseByID(id, params) {\n const releases = await this.getReleases(params);\n return findRefByID(releases, id);\n }\n /**\n * Returns a Release for the Prismic repository with a matching label.\n *\n * @param label - Label of the ref.\n *\n * @returns The ref with a matching label, if it exists.\n */\n async getReleaseByLabel(label, params) {\n const releases = await this.getReleases(params);\n return findRefByLabel(releases, label);\n }\n /**\n * Returns a list of all tags used in the Prismic repository.\n *\n * @returns A list of all tags used in the repository.\n */\n async getTags(params) {\n try {\n const tagsForm = await this.getCachedRepositoryForm(\"tags\", params);\n const url = new URL(tagsForm.action);\n if (this.accessToken) {\n url.searchParams.set(\"access_token\", this.accessToken);\n }\n return await this.fetch(url.toString(), params);\n } catch {\n const repository = await this.getRepository(params);\n return repository.tags;\n }\n }\n /**\n * Builds a URL used to query content from the Prismic repository.\n *\n * @param params - Parameters to filter, sort, and paginate the results.\n *\n * @returns A URL string that can be requested to query content.\n */\n async buildQueryURL({ signal, fetchOptions, ...params } = {}) {\n const ref = params.ref || await this.getResolvedRefString({ signal, fetchOptions });\n const integrationFieldsRef = params.integrationFieldsRef || (await this.getCachedRepository({ signal, fetchOptions })).integrationFieldsRef || void 0;\n return buildQueryURL(this.documentAPIEndpoint, {\n ...this.defaultParams,\n ...params,\n ref,\n integrationFieldsRef,\n routes: params.routes || this.routes,\n brokenRoute: params.brokenRoute || this.brokenRoute,\n accessToken: params.accessToken || this.accessToken\n });\n }\n /**\n * Determines the URL for a previewed document during an active preview\n * session. The result of this method should be used to redirect the user to\n * the document's URL.\n *\n * @example\n *\n * ```ts\n * \tconst url = client.resolvePreviewURL({\n * \tlinkResolver: (document) => `/${document.uid}`\n * \tdefaultURL: '/'\n * \t})\n * ```\n *\n * @param args - Arguments to configure the URL resolving.\n *\n * @returns The URL for the previewed document during an active preview\n * session. The user should be redirected to this URL.\n */\n async resolvePreviewURL(args) {\n var _a, _b;\n let documentID = args.documentID;\n let previewToken = args.previewToken;\n if (typeof globalThis.location !== \"undefined\") {\n const searchParams = new URLSearchParams(globalThis.location.search);\n documentID = documentID || searchParams.get(\"documentId\");\n previewToken = previewToken || searchParams.get(\"token\");\n } else if (this.refState.httpRequest) {\n if (\"query\" in this.refState.httpRequest) {\n documentID = documentID || ((_a = this.refState.httpRequest.query) == null ? void 0 : _a.documentId);\n previewToken = previewToken || ((_b = this.refState.httpRequest.query) == null ? void 0 : _b.token);\n } else if (\"url\" in this.refState.httpRequest && this.refState.httpRequest.url) {\n const searchParams = new URL(this.refState.httpRequest.url, \"missing-host://\").searchParams;\n documentID = documentID || searchParams.get(\"documentId\");\n previewToken = previewToken || searchParams.get(\"token\");\n }\n }\n if (documentID != null && previewToken != null) {\n const document = await this.getByID(documentID, {\n ref: previewToken,\n lang: \"*\",\n signal: args.signal,\n fetchOptions: args.fetchOptions\n });\n const url = asLink(document, { linkResolver: args.linkResolver });\n if (typeof url === \"string\") {\n return url;\n }\n }\n return args.defaultURL;\n }\n /**\n * Configures the client to query the latest published content for all future\n * queries.\n *\n * If the `ref` parameter is provided during a query, it takes priority for\n * that query.\n *\n * @example\n *\n * ```ts\n * await client.queryLatestContent()\n * const document = await client.getByID(\"WW4bKScAAMAqmluX\")\n * ```\n */\n queryLatestContent() {\n this.refState.mode = RefStateMode.Master;\n }\n /**\n * Configures the client to query content from a specific Release identified\n * by its ID for all future queries.\n *\n * If the `ref` parameter is provided during a query, it takes priority for\n * that query.\n *\n * @example\n *\n * ```ts\n * await client.queryContentFromReleaseByID(\"YLB7OBAAACMA7Cpa\")\n * const document = await client.getByID(\"WW4bKScAAMAqmluX\")\n * ```\n *\n * @param releaseID - The ID of the Release.\n */\n queryContentFromReleaseByID(releaseID) {\n this.refState = {\n ...this.refState,\n mode: RefStateMode.ReleaseID,\n releaseID\n };\n }\n /**\n * Configures the client to query content from a specific Release identified\n * by its label for all future queries.\n *\n * If the `ref` parameter is provided during a query, it takes priority for\n * that query.\n *\n * @example\n *\n * ```ts\n * await client.queryContentFromReleaseByLabel(\"My Release\")\n * const document = await client.getByID(\"WW4bKScAAMAqmluX\")\n * ```\n *\n * @param releaseLabel - The label of the Release.\n */\n queryContentFromReleaseByLabel(releaseLabel) {\n this.refState = {\n ...this.refState,\n mode: RefStateMode.ReleaseLabel,\n releaseLabel\n };\n }\n /**\n * Configures the client to query content from a specific ref. The ref can be\n * provided as a string or a function.\n *\n * If a function is provided, the ref is fetched lazily before each query. The\n * function may also be asynchronous.\n *\n * @example\n *\n * ```ts\n * await client.queryContentFromRef(\"my-ref\")\n * const document = await client.getByID(\"WW4bKScAAMAqmluX\")\n * ```\n *\n * @param ref - The ref or a function that returns the ref from which to query\n * content.\n */\n queryContentFromRef(ref) {\n this.refState = {\n ...this.refState,\n mode: RefStateMode.Manual,\n ref\n };\n }\n /**\n * A `fetch()` function to be used with GraphQL clients configured for\n * Prismic's GraphQL API. It automatically applies the necessary `prismic-ref`\n * and Authorization headers. Queries will automatically be minified by\n * removing whitespace where possible.\n *\n * @example\n *\n * ```ts\n * const graphQLClient = new ApolloClient({\n * \tlink: new HttpLink({\n * \t\turi: prismic.getGraphQLEndpoint(repositoryName),\n * \t\t// Provide `client.graphQLFetch` as the fetch implementation.\n * \t\tfetch: client.graphQLFetch,\n * \t\t// Using GET is required.\n * \t\tuseGETForQueries: true,\n * \t}),\n * \tcache: new InMemoryCache(),\n * })\n * ```\n *\n * @param input - The `fetch()` `input` parameter. Only strings are supported.\n * @param init - The `fetch()` `init` parameter. Only plain objects are\n * supported.\n *\n * @returns The `fetch()` Response for the request.\n *\n * @experimental\n */\n async graphQLFetch(input, init) {\n const cachedRepository = await this.getCachedRepository();\n const ref = await this.getResolvedRefString();\n const unsanitizedHeaders = {\n \"Prismic-ref\": ref,\n Authorization: this.accessToken ? `Token ${this.accessToken}` : \"\",\n // Asserting `init.headers` is a Record since popular GraphQL\n // libraries pass this as a Record. Header objects as input\n // are unsupported.\n ...init ? init.headers : {}\n };\n if (cachedRepository.integrationFieldsRef) {\n unsanitizedHeaders[\"Prismic-integration-field-ref\"] = cachedRepository.integrationFieldsRef;\n }\n const headers = {};\n for (const key in unsanitizedHeaders) {\n if (unsanitizedHeaders[key]) {\n headers[key.toLowerCase()] = unsanitizedHeaders[key];\n }\n }\n const url = new URL(\n // Asserting `input` is a string since popular GraphQL\n // libraries pass this as a string. Request objects as\n // input are unsupported.\n input\n );\n url.searchParams.set(\"ref\", ref);\n const query = url.searchParams.get(\"query\");\n if (query) {\n url.searchParams.set(\n \"query\",\n // Compress the GraphQL query (if it exists) by\n // removing whitespace. This is done to\n // optimize the query size and avoid\n // hitting the upper limit of GET requests\n // (2048 characters).\n minifyGraphQLQuery(query)\n );\n }\n return await this.fetchFn(url.toString(), {\n ...init,\n headers\n });\n }\n /**\n * Returns a cached version of `getRepository` with a TTL.\n *\n * @returns Cached repository metadata.\n */\n async getCachedRepository(params) {\n if (!this.cachedRepository || Date.now() >= this.cachedRepositoryExpiration) {\n this.cachedRepositoryExpiration = Date.now() + REPOSITORY_CACHE_TTL;\n this.cachedRepository = await this.getRepository(params);\n }\n return this.cachedRepository;\n }\n /**\n * Returns a cached Prismic repository form. Forms are used to determine API\n * endpoints for types of repository data.\n *\n * @param name - Name of the form.\n *\n * @returns The repository form.\n *\n * @throws If a matching form cannot be found.\n */\n async getCachedRepositoryForm(name, params) {\n const cachedRepository = await this.getCachedRepository(params);\n const form = cachedRepository.forms[name];\n if (!form) {\n throw new PrismicError(`Form with name \"${name}\" could not be found`, void 0, void 0);\n }\n return form;\n }\n /**\n * Returns the ref needed to query based on the client's current state. This\n * method may make a network request to fetch a ref or resolve the user's ref\n * thunk.\n *\n * If auto previews are enabled, the preview ref takes priority if available.\n *\n * The following strategies are used depending on the client's state:\n *\n * - If the user called `queryLatestContent`: Use the repository's master ref.\n * The ref is cached for 5 seconds. After 5 seconds, a new master ref is\n * fetched.\n * - If the user called `queryContentFromReleaseByID`: Use the release's ref.\n * The ref is cached for 5 seconds. After 5 seconds, a new ref for the\n * release is fetched.\n * - If the user called `queryContentFromReleaseByLabel`: Use the release's ref.\n * The ref is cached for 5 seconds. After 5 seconds, a new ref for the\n * release is fetched.\n * - If the user called `queryContentFromRef`: Use the provided ref. Fall back\n * to the master ref if the ref is not a string.\n *\n * @returns The ref to use during a query.\n */\n async getResolvedRefString(params) {\n var _a, _b;\n if (this.refState.autoPreviewsEnabled) {\n let previewRef;\n let cookieJar;\n if ((_a = this.refState.httpRequest) == null ? void 0 : _a.headers) {\n if (\"get\" in this.refState.httpRequest.headers && typeof this.refState.httpRequest.headers.get === \"function\") {\n cookieJar = this.refState.httpRequest.headers.get(\"cookie\");\n } else if (\"cookie\" in this.refState.httpRequest.headers) {\n cookieJar = this.refState.httpRequest.headers.cookie;\n }\n } else if ((_b = globalThis.document) == null ? void 0 : _b.cookie) {\n cookieJar = globalThis.document.cookie;\n }\n if (cookieJar) {\n previewRef = getPreviewCookie(cookieJar);\n }\n if (previewRef) {\n return previewRef;\n }\n }\n const cachedRepository = await this.getCachedRepository(params);\n const refModeType = this.refState.mode;\n if (refModeType === RefStateMode.ReleaseID) {\n return findRefByID(cachedRepository.refs, this.refState.releaseID).ref;\n } else if (refModeType === RefStateMode.ReleaseLabel) {\n return findRefByLabel(cachedRepository.refs, this.refState.releaseLabel).ref;\n } else if (refModeType === RefStateMode.Manual) {\n const res = await castThunk(this.refState.ref)();\n if (typeof res === \"string\") {\n return res;\n }\n }\n return findMasterRef(cachedRepository.refs).ref;\n }\n /**\n * The private implementation of `this.get`. It returns the API response and\n * the URL used to make the request. The URL is sometimes used in the public\n * method to include in thrown errors.\n *\n * This method retries requests that throw `RefNotFoundError` or\n * `RefExpiredError`. It contains special logic to retry with the latest\n * master ref, provided in the API's error message.\n *\n * @typeParam TDocument - Type of Prismic documents returned.\n *\n * @param params - Parameters to filter, sort, and paginate results.\n *\n * @returns An object containing the paginated response containing the result\n * of the query and the URL used to make the API request.\n */\n async _get(params, attemptCount = 0) {\n var _a, _b;\n const url = await this.buildQueryURL(params);\n try {\n const data = await this.fetch(url, params);\n return { data, url };\n } catch (error) {\n if (!(error instanceof RefNotFoundError || error instanceof RefExpiredError) || attemptCount >= MAX_INVALID_REF_RETRY_ATTEMPS - 1) {\n throw error;\n }\n if (!(params == null ? void 0 : params.ref)) {\n this.cachedRepository = void 0;\n }\n const masterRef = (_b = (_a = error.message.match(/Master ref is: (?.*)$/)) == null ? void 0 : _a.groups) == null ? void 0 : _b.ref;\n if (!masterRef) {\n throw error;\n }\n const badRef = new URL(url).searchParams.get(\"ref\");\n const issue = error instanceof RefNotFoundError ? \"invalid\" : \"expired\";\n console.warn(`The ref (${badRef}) was ${issue}. Now retrying with the latest master ref (${masterRef}). If you were previewing content, the response will not include draft content.`);\n return await this._get({ ...params, ref: masterRef }, attemptCount + 1);\n }\n }\n /**\n * Performs a network request using the configured `fetch` function. It\n * assumes all successful responses will have a JSON content type. It also\n * normalizes unsuccessful network requests.\n *\n * @typeParam T - The JSON response.\n *\n * @param url - URL to the resource to fetch.\n * @param params - Prismic REST API parameters for the network request.\n *\n * @returns The JSON response from the network request.\n */\n async fetch(url, params = {}) {\n const res = await super.fetch(url, params);\n if (res.status !== 404 && res.status !== 429 && res.json == null) {\n throw new PrismicError(void 0, url, res.json || res.text);\n }\n switch (res.status) {\n case 200:\n case 201: {\n return res.json;\n }\n case 400: {\n throw new ParsingError(res.json.message, url, res.json);\n }\n case 401:\n case 403: {\n throw new ForbiddenError(res.json.error || res.json.message, url, res.json);\n }\n case 404: {\n if (res.json === void 0) {\n throw new RepositoryNotFoundError(`Prismic repository not found. Check that \"${this.documentAPIEndpoint}\" is pointing to the correct repository.`, url, url.startsWith(this.documentAPIEndpoint) ? void 0 : res.text);\n }\n if (res.json.type === \"api_notfound_error\") {\n throw new RefNotFoundError(res.json.message, url, res.json);\n }\n if (res.json.type === \"api_security_error\" && /preview token.*expired/i.test(res.json.message)) {\n throw new PreviewTokenExpiredError(res.json.message, url, res.json);\n }\n throw new NotFoundError(res.json.message, url, res.json);\n }\n case 410: {\n throw new RefExpiredError(res.json.message, url, res.json);\n }\n case 429: {\n const parsedRetryAfter = Number(res.headers.get(\"retry-after\"));\n const delay = Number.isNaN(parsedRetryAfter) ? DEFUALT_RETRY_AFTER_MS : parsedRetryAfter;\n return await new Promise((resolve, reject) => {\n setTimeout(async () => {\n try {\n resolve(await this.fetch(url, params));\n } catch (error) {\n reject(error);\n }\n }, delay);\n });\n }\n }\n throw new PrismicError(void 0, url, res.json);\n }\n}\n_repositoryName = new WeakMap();\nexport {\n Client,\n GET_ALL_QUERY_DELAY,\n REPOSITORY_CACHE_TTL\n};\n//# sourceMappingURL=Client.js.map\n","import { PrismicError } from \"./errors/PrismicError.js\";\nconst getRepositoryName = (repositoryEndpoint) => {\n try {\n const hostname = new URL(repositoryEndpoint).hostname;\n if (hostname.endsWith(\"prismic.io\") || // Production\n hostname.endsWith(\"wroom.io\") || // Staging\n hostname.endsWith(\"wroom.test\")) {\n return hostname.split(\".\")[0];\n }\n } catch {\n }\n throw new PrismicError(`An invalid Prismic Document API endpoint was provided: ${repositoryEndpoint}`, void 0, void 0);\n};\nexport {\n getRepositoryName\n};\n//# sourceMappingURL=getRepositoryName.js.map\n","import { PrismicError } from \"./errors/PrismicError.js\";\nimport { isRepositoryName } from \"./isRepositoryName.js\";\nconst getRepositoryEndpoint = (repositoryName) => {\n if (isRepositoryName(repositoryName)) {\n return `https://${repositoryName}.cdn.prismic.io/api/v2`;\n } else {\n throw new PrismicError(`An invalid Prismic repository name was given: ${repositoryName}`, void 0, void 0);\n }\n};\nexport {\n getRepositoryEndpoint\n};\n//# sourceMappingURL=getRepositoryEndpoint.js.map\n","const isRepositoryName = (input) => {\n return /^[a-zA-Z0-9][-a-zA-Z0-9]{2,}[a-zA-Z0-9]$/.test(input);\n};\nexport {\n isRepositoryName\n};\n//# sourceMappingURL=isRepositoryName.js.map\n","import { version } from \"../package.json.js\";\nconst devMsg = (slug) => {\n return `https://prismic.dev/msg/client/v${version}/${slug}`;\n};\nexport {\n devMsg\n};\n//# sourceMappingURL=devMsg.js.map\n","const minifyGraphQLQuery = (query) => {\n return query.replace(/(\\n| )*( |{|})(\\n| )*/gm, (_chars, _spaces, brackets) => brackets);\n};\nexport {\n minifyGraphQLQuery\n};\n//# sourceMappingURL=minifyGraphQLQuery.js.map\n","const preview = \"io.prismic.preview\";\nexport {\n preview\n};\n//# sourceMappingURL=cookie.js.map\n","const castThunk = (a) => {\n return typeof a === \"function\" ? a : () => a;\n};\nexport {\n castThunk\n};\n//# sourceMappingURL=castThunk.js.map\n","import { Client } from \"./Client.js\";\nconst createClient = (repositoryNameOrEndpoint, options) => new Client(repositoryNameOrEndpoint, options);\nexport {\n createClient\n};\n//# sourceMappingURL=createClient.js.map\n"],"names":["_excluded","SvgIconRoot","name","slot","overridesResolver","props","styles","ownerState","root","color","fontSize","theme","_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","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","inProps","ref","children","className","component","htmlColor","inheritViewBox","titleAccess","viewBox","other","type","instanceFontSize","more","classes","slots","useUtilityClasses","as","focusable","role","muiName","getSvgIconUtilityClass","svgIconClasses","TypographyRoot","variant","align","noWrap","gutterBottom","paragraph","margin","font","textAlign","overflow","textOverflow","whiteSpace","marginBottom","defaultVariantMapping","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","colorTransformations","primary","textPrimary","secondary","textSecondary","error","Typography","themeProps","transformDeprecatedColors","variantMapping","Component","getTypographyUtilityClass","typographyClasses","enableAutoPreviews","config","input","previewData","client","queryContentFromRef","req","enableAutoPreviewsFromReq","async","_a","cookie","isDraftModeEnabled","draftMode","isEnabled","cookies","get","value","test","pascalCase","camelCased","replace","_","c","toUpperCase","slice","TODOSliceComponent","SliceZone","slices","components","resolver","defaultComponent","context","renderedSlices","map","index","slice_type","Comp","resolvedComp","sliceName","i","key","id","JSON","stringify","__mapped","mappedProps","jsx","Fragment","Object","defineProperty","exports","enumerable","actionAsyncStorage","require","createAsyncLocalStorage","default","__esModule","assign","module","sharedAsyncLocalStorageNotAvailableError","Error","FakeAsyncLocalStorage","disable","getStore","run","exit","enterWith","maybeGlobalAsyncLocalStorage","globalThis","AsyncLocalStorage","DraftMode","_staticgenerationbailout","this","_provider","enable","staticGenerationBailout","constructor","provider","target","all","_export","headers","_requestcookies","_headers","_cookies","_requestasyncstorageexternal","_actionasyncstorageexternal","_draftmode","link","HeadersAdapter","seal","Headers","requestStore","requestAsyncStorage","RequestCookiesAdapter","RequestCookies","asyncActionStore","isAction","isAppRoute","mutableCookies","DYNAMIC_ERROR_CODE","DynamicServerError","super","digest","staticGenerationAsyncStorage","_hooksservercontext","_staticgenerationasyncstorageexternal","StaticGenBailoutError","args","code","formatErrorMessage","reason","opts","dynamic","staticGenerationStore","forceStatic","_opts_dynamic","dynamicShouldError","revalidate","staticPrefetchBailout","isStaticGeneration","err","dynamicUsageDescription","dynamicUsageStack","stack","noSSR","_interop_require_default","_react","_loadablesharedruntime","isServerSide","convertModule","mod","LoadableInitializer","loadableOptions","webpack","modules","Loading","loading","createElement","isLoading","pastDelay","timedOut","dynamicOptions","options","loadableFn","param","Promise","loader","loaderFn","loadableGenerated","ssr","then","resolve","LoadableContext","createContext","_default","_loadablecontextsharedruntime","ALL_INITIALIZERS","READY_INITIALIZERS","initialized","load","promise","state","loaded","catch","createLoadableComponent","loadFn","delay","timeout","subscription","init","sub","LoadableSubscription","getCurrentValue","bind","subscribe","retry","moduleIds","push","ids","moduleId","includes","LoadableComponent","useContext","Array","isArray","forEach","moduleName","useLoadableModule","useSyncExternalStore","useImperativeHandle","useMemo","obj","preload","displayName","forwardRef","_res","_clearTimeouts","_loadFn","_opts","_state","res","_delay","setTimeout","_update","_timeout","_err","partial","_callbacks","callback","clearTimeout","add","delete","Set","Loadable","flushInitializers","initializers","promises","length","pop","preloadAll","resolveInitializers","reject","preloadReady","resolvePreload","window","__NEXT_PRELOADREADY","__defProp","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","src_exports","stringifyCookie","attrs","path","expires","Date","toUTCString","maxAge","domain","secure","httpOnly","sameSite","priority","filter","Boolean","encodeURIComponent","join","parseCookie","Map","pair","split","splitAt","indexOf","set","decodeURIComponent","parseSetCookie","setCookie","attributes","httponly","maxage","samesite","fromEntries","value2","toLowerCase","t","newT","compact","Number","parseSameSite","parsePriority","__export","ResponseCookies","to","from","except","desc","__copyProps","SAME_SITE","string","PRIORITY","requestHeaders","_parsed","header","parsed","Symbol","iterator","size","getAll","n","has","names","result","clear","keys","for","toString","values","v","responseHeaders","_b","_c","getSetCookie","cookieStrings","cookiesString","start","ch","lastComma","nextStart","cookiesSeparatorFound","cookiesStrings","pos","skipWhitespace","charAt","substring","splitCookiesString","cookieString","now","normalizeCookie","bag","serialized","append","ReadonlyHeadersError","_reflect","callable","Proxy","prop","receiver","ReflectAdapter","lowercased","original","find","o","deleteProperty","merge","existing","callbackfn","thisArg","entries","Reflect","ReadonlyRequestCookiesError","getModifiedCookieValues","appendMutableCookies","MutableRequestCookiesAdapter","SYMBOL_MODIFY_COOKIE_VALUES","modified","modifiedCookieValues","resCookies","returnedCookies","wrap","onUpdateCookies","responseCookes","modifiedValues","modifiedCookies","updateResponseCookies","_fetch___nextGetStaticStore","staticGenerationAsyncStore","fetch","__nextGetStaticStore","pathWasRevalidated","allCookies","serializedCookies","tempCookies","FacebookShareButton","url","quote","hashtag","u","windowWidth","windowHeight","LinkedinShareButton","title","summary","source","mini","TwitterShareButton","via","hashtags","related","text","extendStatics","__extends","d","b","setPrototypeOf","__proto__","p","TypeError","String","__","__assign","s","arguments","apply","__awaiter","_arguments","P","generator","fulfilled","step","next","e","rejected","done","__generator","body","f","y","g","label","sent","trys","ops","verb","op","__rest","getOwnPropertySymbols","propertyIsEnumerable","ShareButton","_super","_this","openShareDialog","onShareWindowClose","windowPosition","_d","onClose","configRest","location","toolbar","status","directories","menubar","scrollbars","resizable","centerscreen","chrome","shareDialog","open","concat","interval_1","setInterval","closed","clearInterval","windowOpen","left","outerWidth","screenX","screenLeft","top","outerHeight","screenY","screenTop","screen","getBoxPositionOnScreenCenter","handleClick","event","beforeOnClick","networkLink","onClick","openShareDialogOnClick","returnVal","preventDefault","render","disabledStyle","forwardedRef","networkName","resetButtonStyle","style","rest","newClassName","newStyle","backgroundColor","border","padding","cursor","defaultProps","opacity","optsMap","CreatedButton","passedProps","AssertionError","message","assert","objectToGetParams","object","params","castArray","a","appendFilters","objWithFilters","filters","version","formatValue","getTime","pathWithArgsFilter","formattedArgs","joiner","pathFilter","filterFn","at","not","any","in","fulltext","missing","similar","argsFilter","geopointNear","numberLessThan","numberGreaterThan","numberInRange","dateAfter","dateBefore","dateBetween","dateDayOfMonth","dateDayOfMonthAfter","dateDayOfMonthBefore","dateDayOfWeek","dateDayOfWeekAfter","dateDayOfWeekBefore","dateMonth","dateMonthAfter","dateMonthBefore","dateYear","dateHour","dateHourAfter","dateHourBefore","everyTagFilter","tags","__publicField","configurable","writable","__defNormalProp","PrismicError","response","findRef","refs","ref2","findMasterRef","isMasterRef","findRefByID","findRefByLabel","readValue","someTagsFilter","typeFilter","documentType","ForbiddenError","NotFoundError","ParsingError","PreviewTokenExpiredError","RefExpiredError","RefNotFoundError","RepositoryNotFoundError","LinkType","asLink","linkFieldOrDocument","configObjectOrTuple","linkField","link_type","prismicDocument","uid","lang","slug","slugs","data","configObjectOrLinkResolver","linkResolver","resolvedURL","pLimit","interval","queue","busy","lastCompletion","resumeNext","shift","function_","arguments_","timeSinceLastCompletion","ms","internalResolve","enqueue","BaseClient","fetchOptions","fetchFn","_e","requestInit","signal","queueFetch","dedupeFetch","hostname","URL","queuedFetchJobs","createFetchJob","job","dedupedFetchJobs","finally","json","ok","parse","RENAMED_PARAMS","accessToken","castOrderingToString","ordering","direction","field","isRepositoryEndpoint","_repositoryName","__typeError","msg","__accessCheck","member","__privateGet","getter","RefStateMode","RefStateMode2","Client","repositoryNameOrEndpoint","WeakSet","mode","Master","autoPreviewsEnabled","documentAPIEndpoint","repositoryName","repositoryEndpoint","endsWith","getRepositoryName","getRepositoryEndpoint","routes","brokenRoute","defaultParams","graphQLFetch","setter","__privateSet","endpoint","refState","httpRequest","disableAutoPreviews","_get","getFirst","actualParams","page","pageSize","firstResult","results","dangerouslyGetAll","limit","Infinity","resolvedParams","Math","min","documents","latestResult","next_page","getByID","getByIDs","getAllByIDs","getByUID","getByUIDs","uids","getAllByUIDs","getSingle","getByType","getAllByType","getByTag","tag","getAllByTag","getByEveryTag","getAllByEveryTag","getBySomeTags","getAllBySomeTags","getRepository","searchParams","getRefs","getRefByID","getRefByLabel","getMasterRef","getReleases","getReleaseByID","releases","getReleaseByLabel","getTags","tagsForm","getCachedRepositoryForm","buildQueryURL","getResolvedRefString","integrationFieldsRef","getCachedRepository","predicates","predicate","k","scopedValue","resolvePreviewURL","documentID","previewToken","URLSearchParams","search","query","documentId","token","document","defaultURL","queryLatestContent","queryContentFromReleaseByID","releaseID","ReleaseID","queryContentFromReleaseByLabel","releaseLabel","ReleaseLabel","Manual","cachedRepository","unsanitizedHeaders","Authorization","_chars","_spaces","brackets","minifyGraphQLQuery","cachedRepositoryExpiration","form","forms","previewRef","cookieJar","parts","getPreviewCookie","refModeType","attemptCount","MAX_INVALID_REF_RETRY_ATTEMPS","masterRef","match","groups","startsWith","parsedRetryAfter","isNaN","WeakMap","createClient"],"sourceRoot":""}