{"version":3,"file":"static/chunks/app/(my account)/help/page-f95375ba339d0567.js","mappings":"mLASgBA,qCAAAA,aAT8B,OASvC,SAASA,EACdC,CAAmB,CACnBC,CAAmB,EAEnB,IAAMC,EAAWC,CAAAA,EAAAA,EAAAA,MAAAA,EAA4B,MACvCC,EAAWD,CAAAA,EAAAA,EAAAA,MAAAA,EAA4B,MAS7C,MAAOE,CAAAA,EAAAA,EAAAA,WAAAA,EACL,IACE,GAAgB,OAAZC,EAAkB,CACpB,IAAMC,EAAaL,EAASI,OAAO,CAC/BC,IACFL,EAASI,MADK,CACE,CAAG,KACnBC,KAEF,IAAMC,EAAaJ,EAASE,OAAO,CAC/BE,IACFJ,EAASE,MADK,CACE,CAAG,KACnBE,IAEJ,MACMR,CADC,GAEHE,EADQ,OACQ,CAAGO,EAAST,EAAMM,EAAAA,EAEhCL,IACFG,EADQ,OACQ,CAAGK,EAASR,EAAMK,EAAAA,CAGxC,EACA,CAACN,EAAMC,EAAK,CAEhB,CAEA,SAASQ,EACPT,CAAgC,CAChCM,CAAiB,EAEjB,GAAoB,YAAhB,OAAON,EAST,OADAA,EAAKM,OAAO,CAAGA,EACR,KACLN,EAAKM,OAAO,CAAG,IACjB,CAX8B,EAC9B,IAAMI,EAAUV,EAAKM,SACE,YAAY,OAAxBI,EACFA,EAEA,IAAMV,EAAK,KAEtB,CAMF,MANS,sTCpDF,IAAMW,EAAe,CACxBC,KAAM,CACFC,YAAY,EACZC,MAAO,GACPC,kBAAmB,EACnBC,OAAQ,KACRC,qBAAsB,EACtBC,QAAS,CACb,EACAC,KAAM,CAAC,EACPC,WAAY,CACRC,SAAS,EACTC,aAAoF,CAAtEC,GAClB,EACAC,CAFwD,GAAG,CAA0B,KAE1E,CAAC,EACZC,UAAW,KACXC,OAAO,CACHC,OAAQ,GACRC,UAAW,KACXC,cAAc,EACdC,KAAM,CACFF,UAAW,IACf,CACJ,CACJ,EAAC,EAG4B,CAACG,EAAOC,KACjC,OAAOA,EAAOC,IAAI,E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EAAMrE,MAAM,CAAC0E,GAAQ,CAACA,EAAKtB,cAAc,GAQ3D,CAET,EC9CsE,QAAEW,CAAO,GAAKC,EAOhF,MALHxB,CAAAA,EAAAA,EAAAA,CAAAA,CAAoBA,CAAC,CACd,GAAGyB,CAAa,CAChBxB,aAAcyB,GAAY,CAAC,EAAE,EAAEzB,cAAgBuB,CACnD,GAEO,IACX,iDCbO,IAAMnB,EAAerK,CAAAA,EAAAA,SAAAA,aAAAA,CAAaA,CAAC,CAAC,GAAG","sources":["webpack://_N_E/../client/use-merged-ref.ts","webpack://_N_E/./contexts/reducers/GlobalReducer.js","webpack://_N_E/./lib/Constants/toastDefaults.js","webpack://_N_E/./contexts/GlobalContext.js","webpack://_N_E/../../../src/client/app-dir/link.tsx","webpack://_N_E/./services/LocalStorage.service.js","webpack://_N_E/?5b84","webpack://_N_E/./thirdparty/Nosto/helpers/GetCart.js","webpack://_N_E/./thirdparty/Nosto/hooks/useNostoEventTracker.js","webpack://_N_E/./components/display/Divider/Divider.module.scss","webpack://_N_E/./thirdparty/Nosto/Nosto.helpers.js","webpack://_N_E/./thirdparty/Nosto/NostoEventTracker.jsx","webpack://_N_E/./thirdparty/Nosto/context/NostoContext.js"],"sourcesContent":["import { useCallback, useRef, type Ref } from 'react'\n\n// This is a compatibility hook to support React 18 and 19 refs.\n// In 19, a cleanup function from refs may be returned.\n// In 18, returning a cleanup function creates a warning.\n// Since we take userspace refs, we don't know ahead of time if a cleanup function will be returned.\n// This implements cleanup functions with the old behavior in 18.\n// We know refs are always called alternating with `null` and then `T`.\n// So a call with `null` means we need to call the previous cleanup functions.\nexport function useMergedRef(\n refA: Ref,\n refB: Ref\n): Ref {\n const cleanupA = useRef<(() => void) | null>(null)\n const cleanupB = useRef<(() => void) | null>(null)\n\n // NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.\n // (this happens often if the user doesn't pass a ref to Link/Form/Image)\n // But this can cause us to leak a cleanup-ref into user code (e.g. via ``),\n // and the user might pass that ref into ref-merging library that doesn't support cleanup refs\n // (because it hasn't been updated for React 19)\n // which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.\n // So in practice, it's safer to be defensive and always wrap the ref, even on React 19.\n return useCallback(\n (current: TElement | null): void => {\n if (current === null) {\n const cleanupFnA = cleanupA.current\n if (cleanupFnA) {\n cleanupA.current = null\n cleanupFnA()\n }\n const cleanupFnB = cleanupB.current\n if (cleanupFnB) {\n cleanupB.current = null\n cleanupFnB()\n }\n } else {\n if (refA) {\n cleanupA.current = applyRef(refA, current)\n }\n if (refB) {\n cleanupB.current = applyRef(refB, current)\n }\n }\n },\n [refA, refB]\n )\n}\n\nfunction applyRef(\n refA: NonNullable>,\n current: TElement\n) {\n if (typeof refA === 'function') {\n const cleanup = refA(current)\n if (typeof cleanup === 'function') {\n return cleanup\n } else {\n return () => refA(null)\n }\n } else {\n refA.current = current\n return () => {\n refA.current = null\n }\n }\n}\n","/**\n* Global State Manager:\n* - only put things in here that are truly global (e.g. Cart & Customer Data, Theme)\n* otherwise make it a local state or pass it in a prop\n*/\n\n\n// use our initial state as a type of manifest for the Global State\nexport const initialState = {\n user: {\n isLoggedIn: false,\n email: \"\",\n customer_group_id: 5,\n exists: null,\n external_customer_id: 0,\n user_id: 0\n },\n cart: {},\n thirdParty: {\n zendesk: false,\n nostoSession: process.env.NODE_ENV === \"development\" ? \"64d25a2e95be7b70ae573a09\" : null\n },\n urlParams: {},\n urlAction: null,\n widget:{\n isOpen: false,\n component: null,\n showBackdrop: true,\n page: {\n component: null,\n }\n }\n}\n\n\nexport const GlobalReducer = (state, action) => {\n switch(action.type){\n\n case \"setUrlAction\": \n return{\n ...state,\n urlAction: action.data\n }\n\n\n case \"clearUrlParams\": {\n return{\n ...state,\n urlParams: {},\n urlAction: \"clear\",\n }\n }\n\n case \"initUrlParams\": {\n return {\n ...state,\n urlParams: {\n ...action?.data\n },\n urlAction: null\n }\n }\n\n case \"setAndApplyUrlParams\": {\n return {\n ...state,\n urlParams: {\n ...action?.data\n },\n urlAction: \"apply\"\n }\n }\n\n case \"setUrlParams\": {\n return {\n ...state,\n urlParams: {\n ...state.urlParams,\n ...action?.data\n }\n }\n }\n\n case \"closeWidget\":\n return{\n ...state,\n widget: {\n ...state.widget,\n isOpen: false,\n component: null,\n page: {\n component: null\n }\n }\n }\n\n case \"setWidgetPage\": \n return{\n ...state,\n widget: {\n ...state.widget,\n page: {\n ...action.data\n }\n }\n }\n\n case \"setWidget\":\n return{\n ...state,\n widget: {\n ...state.widget,\n ...action.data\n }\n }\n\n\n case \"nostoSession\":\n return{\n ...state,\n thirdParty:{\n ...state.thirdParty,\n nostoSession: action.data\n }\n }\n\n case \"zendeskInit\":\n return{\n ...state,\n thirdParty: {\n ...state.thirdParty,\n zendesk: action.data\n }\n }\n\n\n \n case \"login\":\n return{\n ...state,\n user: {\n ...state.user,\n isLoggedIn: true,\n ...action.data\n }\n };\n\n \n\n case \"setEmail\":\n return{\n ...state,\n user: {\n ...state.user,\n ...action.data\n }\n };\n\n\n \n case \"logout\":\n return{\n ...state,\n user: {\n ...state.user,\n isLoggedIn: false,\n data: {}\n }\n };\n \n\n default:\n throw new Error(\"Doh! You did not choose GlobalReducer method type to perform. Please try agin or go to GlobalContext.js for available types.\")\n }\n};\n","\n\n// Global Toast default Options\nexport const toastDefaults = {\n position: \"top-right\",\n autoClose: 5000,\n hideProgressBar: false,\n closeOnClick: true,\n pauseOnHover: true,\n draggable: true,\n progress: undefined,\n newestOnTop: true\n}\n\n","\"use client\"\n\nimport { useReducer, createContext } from 'react';\nimport { GlobalReducer, initialState } from './reducers/GlobalReducer';\nimport { ToastContainer } from 'react-toastify'\nimport { toastDefaults } from 'lib/Constants/toastDefaults';\n\n\nexport const GlobalContext = createContext();\n\n// Create our Provider with our Reducer as our state manager\nexport const GlobalContextProvider = props => {\n const [state, dispatch] = useReducer(GlobalReducer, initialState);\n\n return (\n \n {props.children}\n\n \n \n );\n};\n\n","'use client'\n\nimport type { NextRouter } from '../../shared/lib/router/router'\n\nimport React from 'react'\nimport type { UrlObject } from 'url'\nimport { formatUrl } from '../../shared/lib/router/utils/format-url'\nimport { AppRouterContext } from '../../shared/lib/app-router-context.shared-runtime'\nimport type { AppRouterInstance } from '../../shared/lib/app-router-context.shared-runtime'\nimport { PrefetchKind } from '../components/router-reducer/router-reducer-types'\nimport { useMergedRef } from '../use-merged-ref'\nimport { isAbsoluteUrl } from '../../shared/lib/utils'\nimport { addBasePath } from '../add-base-path'\nimport { warnOnce } from '../../shared/lib/utils/warn-once'\nimport {\n mountLinkInstance,\n onNavigationIntent,\n unmountLinkInstance,\n} from '../components/links'\n\ntype Url = string | UrlObject\ntype RequiredKeys = {\n [K in keyof T]-?: {} extends Pick ? never : K\n}[keyof T]\ntype OptionalKeys = {\n [K in keyof T]-?: {} extends Pick ? K : never\n}[keyof T]\n\ntype InternalLinkProps = {\n /**\n * **Required**. The path or URL to navigate to. It can also be an object (similar to `URL`).\n *\n * @example\n * ```tsx\n * // Navigate to /dashboard:\n * Dashboard\n *\n * // Navigate to /about?name=test:\n * \n * About\n * \n * ```\n *\n * @remarks\n * - For external URLs, use a fully qualified URL such as `https://...`.\n * - In the App Router, dynamic routes must not include bracketed segments in `href`.\n */\n href: Url\n\n /**\n * @deprecated v10.0.0: `href` props pointing to a dynamic route are\n * automatically resolved and no longer require the `as` prop.\n */\n as?: Url\n\n /**\n * Replace the current `history` state instead of adding a new URL into the stack.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * About (replaces the history state)\n * \n * ```\n */\n replace?: boolean\n\n /**\n * Whether to override the default scroll behavior. If `true`, Next.js attempts to maintain\n * the scroll position if the newly navigated page is still visible. If not, it scrolls to the top.\n *\n * If `false`, Next.js will not modify the scroll behavior at all.\n *\n * @defaultValue `true`\n *\n * @example\n * ```tsx\n * \n * No auto scroll\n * \n * ```\n */\n scroll?: boolean\n\n /**\n * Update the path of the current page without rerunning data fetching methods\n * like `getStaticProps`, `getServerSideProps`, or `getInitialProps`.\n *\n * @remarks\n * `shallow` only applies to the Pages Router. For the App Router, see the\n * [following documentation](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#using-the-native-history-api).\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * Shallow navigation\n * \n * ```\n */\n shallow?: boolean\n\n /**\n * Forces `Link` to pass its `href` to the child component. Useful if the child is a custom\n * component that wraps an `` tag, or if you're using certain styling libraries.\n *\n * @defaultValue `false`\n *\n * @example\n * ```tsx\n * \n * Dashboard\n * \n * ```\n */\n passHref?: boolean\n\n /**\n * Prefetch the page in the background.\n * Any `` that is in the viewport (initially or through scroll) will be prefetched.\n * Prefetch can be disabled by passing `prefetch={false}`.\n *\n * @remarks\n * Prefetching is only enabled in production.\n *\n * - In the **App Router**:\n * - `null` (default): Prefetch behavior depends on static vs dynamic routes:\n * - Static routes: fully prefetched\n * - Dynamic routes: partial prefetch to the nearest segment with a `loading.js`\n * - `true`: Always prefetch the full route and data.\n * - `false`: Disable prefetching on both viewport and hover.\n * - In the **Pages Router**:\n * - `true` (default): Prefetches the route and data in the background on viewport or hover.\n * - `false`: Prefetch only on hover, not on viewport.\n *\n * @defaultValue `true` (Pages Router) or `null` (App Router)\n *\n * @example\n * ```tsx\n * \n * Dashboard\n * \n * ```\n */\n prefetch?: boolean | null\n\n /**\n * The active locale is automatically prepended in the Pages Router. `locale` allows for providing\n * a different locale, or can be set to `false` to opt out of automatic locale behavior.\n *\n * @remarks\n * Note: locale only applies in the Pages Router and is ignored in the App Router.\n *\n * @example\n * ```tsx\n * // Use the 'fr' locale:\n * \n * About (French)\n * \n *\n * // Disable locale prefix:\n * \n * About (no locale prefix)\n * \n * ```\n */\n locale?: string | false\n\n /**\n * Enable legacy link behavior, requiring an `` tag to wrap the child content\n * if the child is a string or number.\n *\n * @defaultValue `false`\n * @see https://github.com/vercel/next.js/commit/489e65ed98544e69b0afd7e0cfc3f9f6c2b803b7\n */\n legacyBehavior?: boolean\n\n /**\n * Optional event handler for when the mouse pointer is moved onto the ``.\n */\n onMouseEnter?: React.MouseEventHandler\n\n /**\n * Optional event handler for when the `` is touched.\n */\n onTouchStart?: React.TouchEventHandler\n\n /**\n * Optional event handler for when the `` is clicked.\n */\n onClick?: React.MouseEventHandler\n}\n\n// TODO-APP: Include the full set of Anchor props\n// adding this to the publicly exported type currently breaks existing apps\n\n// `RouteInferType` is a stub here to avoid breaking `typedRoutes` when the type\n// isn't generated yet. It will be replaced when the webpack plugin runs.\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport type LinkProps = InternalLinkProps\ntype LinkPropsRequired = RequiredKeys\ntype LinkPropsOptional = OptionalKeys>\n\nfunction isModifiedEvent(event: React.MouseEvent): boolean {\n const eventTarget = event.currentTarget as HTMLAnchorElement | SVGAElement\n const target = eventTarget.getAttribute('target')\n return (\n (target && target !== '_self') ||\n event.metaKey ||\n event.ctrlKey ||\n event.shiftKey ||\n event.altKey || // triggers resource download\n (event.nativeEvent && event.nativeEvent.which === 2)\n )\n}\n\nfunction linkClicked(\n e: React.MouseEvent,\n router: NextRouter | AppRouterInstance,\n href: string,\n as: string,\n replace?: boolean,\n shallow?: boolean,\n scroll?: boolean\n): void {\n const { nodeName } = e.currentTarget\n\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A'\n\n if (isAnchorNodeName && isModifiedEvent(e)) {\n // ignore click for browser’s default behavior\n return\n }\n\n e.preventDefault()\n\n const navigate = () => {\n // If the router is an NextRouter instance it will have `beforePopState`\n const routerScroll = scroll ?? true\n if ('beforePopState' in router) {\n router[replace ? 'replace' : 'push'](href, as, {\n shallow,\n scroll: routerScroll,\n })\n } else {\n router[replace ? 'replace' : 'push'](as || href, {\n scroll: routerScroll,\n })\n }\n }\n\n React.startTransition(navigate)\n}\n\ntype LinkPropsReal = React.PropsWithChildren<\n Omit, keyof LinkProps> &\n LinkProps\n>\n\nfunction formatStringOrUrl(urlObjOrString: UrlObject | string): string {\n if (typeof urlObjOrString === 'string') {\n return urlObjOrString\n }\n\n return formatUrl(urlObjOrString)\n}\n\n/**\n * A React component that extends the HTML `` element to provide\n * [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)\n * and client-side navigation. This is the primary way to navigate between routes in Next.js.\n *\n * @remarks\n * - Prefetching is only enabled in production.\n *\n * @see https://nextjs.org/docs/app/api-reference/components/link\n */\nconst Link = React.forwardRef(\n function LinkComponent(props, forwardedRef) {\n let children: React.ReactNode\n\n const {\n href: hrefProp,\n as: asProp,\n children: childrenProp,\n prefetch: prefetchProp = null,\n passHref,\n replace,\n shallow,\n scroll,\n onClick,\n onMouseEnter: onMouseEnterProp,\n onTouchStart: onTouchStartProp,\n legacyBehavior = false,\n ...restProps\n } = props\n\n children = childrenProp\n\n if (\n legacyBehavior &&\n (typeof children === 'string' || typeof children === 'number')\n ) {\n children = {children}\n }\n\n const router = React.useContext(AppRouterContext)\n\n const prefetchEnabled = prefetchProp !== false\n /**\n * The possible states for prefetch are:\n * - null: this is the default \"auto\" mode, where we will prefetch partially if the link is in the viewport\n * - true: we will prefetch if the link is visible and prefetch the full page, not just partially\n * - false: we will not prefetch if in the viewport at all\n */\n const appPrefetchKind =\n prefetchProp === null ? PrefetchKind.AUTO : PrefetchKind.FULL\n\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args: {\n key: string\n expected: string\n actual: string\n }) {\n return new Error(\n `Failed prop type: The prop \\`${args.key}\\` expects a ${args.expected} in \\`\\`, but got \\`${args.actual}\\` instead.` +\n (typeof window !== 'undefined'\n ? \"\\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n\n // TypeScript trick for type-guarding:\n const requiredPropsGuard: Record = {\n href: true,\n } as const\n const requiredProps: LinkPropsRequired[] = Object.keys(\n requiredPropsGuard\n ) as LinkPropsRequired[]\n requiredProps.forEach((key: LinkPropsRequired) => {\n if (key === 'href') {\n if (\n props[key] == null ||\n (typeof props[key] !== 'string' && typeof props[key] !== 'object')\n ) {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key],\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _: never = key\n }\n })\n\n // TypeScript trick for type-guarding:\n const optionalPropsGuard: Record = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n onClick: true,\n onMouseEnter: true,\n onTouchStart: true,\n legacyBehavior: true,\n } as const\n const optionalProps: LinkPropsOptional[] = Object.keys(\n optionalPropsGuard\n ) as LinkPropsOptional[]\n optionalProps.forEach((key: LinkPropsOptional) => {\n const valType = typeof props[key]\n\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType,\n })\n }\n } else if (\n key === 'onClick' ||\n key === 'onMouseEnter' ||\n key === 'onTouchStart'\n ) {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType,\n })\n }\n } else if (\n key === 'replace' ||\n key === 'scroll' ||\n key === 'shallow' ||\n key === 'passHref' ||\n key === 'prefetch' ||\n key === 'legacyBehavior'\n ) {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType,\n })\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _: never = key\n }\n })\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (props.locale) {\n warnOnce(\n 'The `locale` prop is not supported in `next/link` while using the `app` router. Read more about app router internalization: https://nextjs.org/docs/app/building-your-application/routing/internationalization'\n )\n }\n if (!asProp) {\n let href: string | undefined\n if (typeof hrefProp === 'string') {\n href = hrefProp\n } else if (\n typeof hrefProp === 'object' &&\n typeof hrefProp.pathname === 'string'\n ) {\n href = hrefProp.pathname\n }\n\n if (href) {\n const hasDynamicSegment = href\n .split('/')\n .some((segment) => segment.startsWith('[') && segment.endsWith(']'))\n\n if (hasDynamicSegment) {\n throw new Error(\n `Dynamic href \\`${href}\\` found in while using the \\`/app\\` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href`\n )\n }\n }\n }\n }\n\n const { href, as } = React.useMemo(() => {\n const resolvedHref = formatStringOrUrl(hrefProp)\n return {\n href: resolvedHref,\n as: asProp ? formatStringOrUrl(asProp) : resolvedHref,\n }\n }, [hrefProp, asProp])\n\n // This will return the first child, if multiple are provided it will throw an error\n let child: any\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n console.warn(\n `\"onClick\" was passed to with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link`\n )\n }\n if (onMouseEnterProp) {\n console.warn(\n `\"onMouseEnter\" was passed to with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`\n )\n }\n try {\n child = React.Children.only(children)\n } catch (err) {\n if (!children) {\n throw new Error(\n `No children were passed to with \\`href\\` of \\`${hrefProp}\\` but one child is required https://nextjs.org/docs/messages/link-no-children`\n )\n }\n throw new Error(\n `Multiple children were passed to with \\`href\\` of \\`${hrefProp}\\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` +\n (typeof window !== 'undefined'\n ? \" \\nOpen your browser's console to view the Component stack trace.\"\n : '')\n )\n }\n } else {\n child = React.Children.only(children)\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if ((children as any)?.type === 'a') {\n throw new Error(\n 'Invalid with child. Please remove or use .\\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor'\n )\n }\n }\n }\n\n const childRef: any = legacyBehavior\n ? child && typeof child === 'object' && child.ref\n : forwardedRef\n\n // Use a callback ref to attach an IntersectionObserver to the anchor tag on\n // mount. In the future we will also use this to keep track of all the\n // currently mounted instances, e.g. so we can re-prefetch them after\n // a revalidation or refresh.\n const observeLinkVisibilityOnMount = React.useCallback(\n (element: HTMLAnchorElement | SVGAElement) => {\n if (prefetchEnabled && router !== null) {\n mountLinkInstance(element, href, router, appPrefetchKind)\n }\n return () => {\n unmountLinkInstance(element)\n }\n },\n [prefetchEnabled, href, router, appPrefetchKind]\n )\n\n const mergedRef = useMergedRef(observeLinkVisibilityOnMount, childRef)\n\n const childProps: {\n onTouchStart?: React.TouchEventHandler\n onMouseEnter: React.MouseEventHandler\n onClick: React.MouseEventHandler\n href?: string\n ref?: any\n } = {\n ref: mergedRef,\n onClick(e) {\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(\n `Component rendered inside next/link has to pass click event to \"onClick\" prop.`\n )\n }\n }\n\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onClick === 'function'\n ) {\n child.props.onClick(e)\n }\n\n if (!router) {\n return\n }\n\n if (e.defaultPrevented) {\n return\n }\n\n linkClicked(e, router, href, as, replace, shallow, scroll)\n },\n onMouseEnter(e) {\n if (!legacyBehavior && typeof onMouseEnterProp === 'function') {\n onMouseEnterProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onMouseEnter === 'function'\n ) {\n child.props.onMouseEnter(e)\n }\n\n if (!router) {\n return\n }\n\n if (!prefetchEnabled || process.env.NODE_ENV === 'development') {\n return\n }\n\n onNavigationIntent(e.currentTarget as HTMLAnchorElement | SVGAElement)\n },\n onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START\n ? undefined\n : function onTouchStart(e) {\n if (!legacyBehavior && typeof onTouchStartProp === 'function') {\n onTouchStartProp(e)\n }\n\n if (\n legacyBehavior &&\n child.props &&\n typeof child.props.onTouchStart === 'function'\n ) {\n child.props.onTouchStart(e)\n }\n\n if (!router) {\n return\n }\n\n if (!prefetchEnabled) {\n return\n }\n\n onNavigationIntent(\n e.currentTarget as HTMLAnchorElement | SVGAElement\n )\n },\n }\n\n // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user.\n // If the url is absolute, we can bypass the logic to prepend the basePath.\n if (isAbsoluteUrl(as)) {\n childProps.href = as\n } else if (\n !legacyBehavior ||\n passHref ||\n (child.type === 'a' && !('href' in child.props))\n ) {\n childProps.href = addBasePath(as)\n }\n\n return legacyBehavior ? (\n React.cloneElement(child, childProps)\n ) : (\n \n {children}\n \n )\n }\n)\n\nexport default Link\n","\n\nexport const storageKeys = {\n persistedCart: \"TEAK_persisted_cart\",\n saveForLater: \"TEAK_saveForLater\",\n cart: \"TEAK_cart\",\n isMobile: \"TEAK_isMobile\",\n orderConfirmation: \"TEAK_orderConfirmation\",\n swatchCart: \"TEAK_swatchCart\",\n swatchOrderDate: \"TEAK_swatchOrderDate\",\n searchQueryID: \"TEAK_searchQueryID\",\n searchUserToken: \"TEAK_searchUserToken\",\n user: \"TEAK_user\",\n provider: \"TEAK_provider\",\n homeFallBack: \"TEAK_homeFallBack\",\n jwt: \"TEAK_jwt\",\n rejoiner: {\n rules: \"TEAK_rejoinerRules\",\n toaster: \"TEAK_rejoinerEmailToaster\",\n profile: \"TEAK_rejoinerCustomerProfile\"\n },\n nosto: {\n sessionID: \"TEAK_nostoSessionId\"\n },\n yotpo: {\n token: \"TEAK_yotpo_token\"\n }\n}\n\n\nexport const LocalStorage = {\n\n /**\n * Full storage setting of storage\n * @param {String} key \n * @param {Object} data \n * @param {String} type - the type of storage operation\n */\n\n setStorage(key, data, type){\n try{\n if (type === \"local\") {\n if (window?.localStorage) {\n window.localStorage.setItem(key, JSON.stringify(data));\n }\n\n } else {\n if (window.sessionStorage) {\n window.sessionStorage.setItem(key, JSON.stringify(data));\n }\n }\n\n }catch(err){}\n },\n\n \n\n /**\n * full service get storage\n * @param {String} key \n */\n\n getStorage(key){\n try{\n if ( window?.localStorage ) {\n let stored = window.sessionStorage ? window.sessionStorage.getItem(key) : null;\n\n if ( !stored ) {\n stored = window.localStorage ? window.localStorage.getItem(key) : {};\n }\n\n return stored !== \"undefined\" ? JSON.parse(stored) : {}\n }\n\n }catch(err){}\n },\n\n\n\n /**\n * Full service adding to existing storage\n * @param {String} key \n * @param {Object} data \n */\n\n addToStorage(key, data){\n try{\n let storedItems = this.getStorage(key);\n \n if (Array.isArray(storedItems)) {\n const newStoredItems = storedItems.filter(item => JSON.stringify(item) !== JSON.stringify(data));\n\n newStoredItems.push(data);\n this.setStorage(key, newStoredItems, \"local\");\n\n } else {\n let arr = [];\n\n arr.push(data);\n this.setStorage(key, arr, \"local\");\n }\n\n }catch(err){\n console.log(err)\n }\n },\n\n\n\n\n /**\n * Remove an single item from an array in storage\n * @param {string} key \n * @param {object} data \n */\n\n removeFromStorage(key, data){\n try{\n let storedItems = this.getStorage(key);\n \n if (Array.isArray(storedItems)) {\n const newStoredItems = storedItems.filter(item => JSON.stringify(item) !== JSON.stringify(data));\n this.setStorage(key, newStoredItems, \"local\");\n }\n\n }catch(err){\n console.log(err)\n }\n },\n\n\n \n\n /**\n * Clear out storage object of specified key\n * @param {string} key \n */\n\n remove(key){\n try{\n if( window ){\n window.localStorage.removeItem(key)\n window.sessionStorage.removeItem(key)\n }\n \n }catch(err){}\n },\n\n\n}","import(/* webpackMode: \"eager\" */ \"/codebuild/output/src540886287/src/authenteak-3.0/components/display/Divider/Divider.module.scss\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"__esModule\",\"default\"] */ \"/codebuild/output/src540886287/src/authenteak-3.0/node_modules/next/dist/client/app-dir/link.js\");\n;\nimport(/* webpackMode: \"eager\", webpackExports: [\"default\"] */ \"/codebuild/output/src540886287/src/authenteak-3.0/thirdparty/Nosto/NostoEventTracker.jsx\");\n","import { LocalStorage, storageKeys } from 'services/LocalStorage.service';\n\nexport const getCart = () => {\n const cartData = LocalStorage.getStorage(storageKeys.cart);\n\n if (cartData?.line_items?.physical_items || cartData?.line_items?.gift_certificates) {\n const cart = {\n id: cartData?.id,\n cart_amount: cartData?.cart_amount\n }\n\n // Cart Items to Nosto\n const physicalItems = cartData?.line_items?.physical_items.map((item) => {\n return {\n name: item.name,\n priceCurrencyCode: \"USD\",\n productId: item.product_id,\n quantity: item.quantity,\n skuId: item.sku,\n unitPrice: item.list_price\n }\n })\n const giftCertificates = cartData?.line_items?.gift_certificates.map((item) => {\n\t\t\t\treturn {\n\t\t\t\t\tname: item.name,\n\t\t\t\t\tpriceCurrencyCode: \"USD\",\n\t\t\t\t\tproductId: 'giftCertificate',\n\t\t\t\t\tquantity: item.quantity,\n\t\t\t\t\tskuId: 'giftCertificate',\n\t\t\t\t\tunitPrice: item.amount,\n\t\t\t\t};\n\t\t\t});\n return {...cart, items:[...physicalItems, ...giftCertificates] };\n\n } \n else {\n return [];\n }\n\n}","\"use client\"\n\n/* eslint-disable react-hooks/exhaustive-deps */\nimport { useContext, useEffect } from \"react\"\nimport { NostoContext } from \"../context/NostoContext\";\nimport { View404, ViewCart, ViewCategory, ViewFrontPage, ViewPage, ViewProduct, ViewSearch, ViewBlog, ViewOther } from \"../NostoEvents\"\nimport { GlobalContext } from \"contexts/GlobalContext\";\nimport { getCart } from \"../helpers/GetCart\";\n\nconst NostoEvent = {\n \"View404\": View404,\n \"ViewBlog\": ViewBlog,\n \"ViewCart\": ViewCart,\n \"ViewPage\": ViewPage,\n \"ViewOther\": ViewOther,\n \"ViewSearch\": ViewSearch,\n \"ViewProduct\": ViewProduct,\n \"ViewCategory\": ViewCategory,\n \"ViewFrontPage\": ViewFrontPage\n};\n\n\nfunction useNostoEventTracker({ event, placementIds=[], url, ...other }){\n const [ nostoState, dispatch ] = useContext(NostoContext)\n const [global, globalDispatch] = useContext(GlobalContext)\n const cartData = getCart();\n\n function callNostoEvent({ placement }) {\n NostoEvent[event].call(null, { \n placementIds: typeof placement === \"string\" ? placement : placement.placementIds,\n categoryTarget: placement?.categoryTarget ?? null,\n categoryNameTaxonomy: placement?.categoryNameTaxonomy ?? null,\n ...other,\n cart:cartData,\n session: global?.thirdParty?.nostoSession,\n callback: (data) => {\n const obj = {};\n\n if( Array.isArray(data) ){\n data.forEach(placement => {\n obj[placement?.resultId] = {\n ...placement\n }\n })\n dispatch({\n type: \"setRecommendations\",\n data: obj\n })\n }\n \n }\n })\n\n }\n\n\n useEffect(() => {\n if (event && placementIds && global?.thirdParty?.nostoSession) {\n const isLegacyPlacementArray = Array.isArray(placementIds) && placementIds.every(placement => typeof placement === \"string\")\n\n // if its just an array of placement ids, make 1 call\n if( isLegacyPlacementArray ){\n callNostoEvent({ placement: placementIds.join(\",\") })\n\n } else {\n // if we have an array of objects, make multiple calls\n placementIds.forEach(placement => {\n callNostoEvent({ placement })\n })\n }\n }\n\n }, [ event, global?.thirdParty?.nostoSession, url ])\n\n}\n\n\n\nexport default useNostoEventTracker","// extracted by mini-css-extract-plugin\nmodule.exports = {\"capped\":\"Divider_capped__xyiLL\",\"block\":\"Divider_block__Q3A4C\",\"spacer\":\"Divider_spacer__4EtGe\",\"color__light\":\"Divider_color__light__MSzE2\",\"color__dark\":\"Divider_color__dark__cb3aY\",\"vertical\":\"Divider_vertical__Wqogq\",\"flex\":\"Divider_flex__sxcDp\",\"or\":\"Divider_or__ZGUba\",\"whiteOr\":\"Divider_whiteOr__AdWcV\"};","\n// merge all of the other placements with no custom category targets to make 1 call\nfunction bulkMergePlacements(placements){\n const merged = {\n placementIds: \"\",\n categoryTarget: null,\n categoryNameTaxonomy: null\n };\n\n let mergedPlacements = \"\"\n\n placements.forEach(placement => {\n mergedPlacements += `${placement.placementIds.includes(\",\") ? placement.placementIds.split(\",\").map(id => id.trim()) : placement.placementIds },`\n })\n\n mergedPlacements = mergedPlacements.slice(0, -1)\n mergedPlacements = mergedPlacements.split(\",\").map(id => id)\n\n merged.placementIds = mergedPlacements;\n\n return merged;\n}\n\n\n\n\nexport function getPlacementIdsFromBlocks({ blocks = [] }){\n if( Array.isArray(blocks) && blocks.length ){\n let slots = blocks.filter(block => Object.hasOwn(block, \"placementId\")).map(block => {\n return {\n placementIds: block?.placementId,\n categoryNameTaxonomy: block?.categoryNameTaxonomy ?? null,\n categoryTarget: block?.categoryTarget ?? null,\n id: block.id\n }\n }) \n\n slots = slots.filter(id => id.placementIds !== null && id.placementIds !== undefined && id.placementIds !== \"\")\n\n // pull out the targeted placements\n const targetedPlacements = slots.filter(slot => !!slot.categoryTarget)\n\n // pull out the placements with no targets\n const placements = slots.filter(slot => !slot.categoryTarget)\n\n // merge the placements with no targets to make 1 call\n const merged = bulkMergePlacements(placements)\n\n return [\n ...targetedPlacements,\n merged\n ] \n }\n}\n","\"use client\"\n\nimport { getPlacementIdsFromBlocks } from \"./Nosto.helpers\";\nimport useNostoEventTracker from \"./hooks/useNostoEventTracker\";\n\n\nfunction NostoEventTracker({ blocks, slotIds = null, trackerObject }){\n const placements = blocks && !slotIds ? getPlacementIdsFromBlocks({ blocks }) : slotIds;\n\n\tuseNostoEventTracker({\n ...trackerObject,\n placementIds: placements?.[0]?.placementIds ?? slotIds\n })\n\n return null\n}\n\nexport default NostoEventTracker;","import { createContext } from \"react\";\n\nexport const NostoContext = createContext({});\n"],"names":["useMergedRef","refA","refB","cleanupA","useRef","cleanupB","useCallback","current","cleanupFnA","cleanupFnB","applyRef","cleanup","initialState","user","isLoggedIn","email","customer_group_id","exists","external_customer_id","user_id","cart","thirdParty","zendesk","nostoSession","process","urlParams","urlAction","widget","isOpen","component","showBackdrop","page","state","action","type","data","toastDefaults","position","autoClose","hideProgressBar","closeOnClick","pauseOnHover","draggable","progress","undefined","newestOnTop","GlobalContext","createContext","props","dispatch","useReducer","GlobalReducer","Provider","value","children","ToastContainer","stacked","formatStringOrUrl","urlObjOrString","formatUrl","React","forwardRef","LinkComponent","forwardedRef","child","href","hrefProp","as","asProp","childrenProp","prefetch","prefetchProp","passHref","replace","shallow","scroll","onClick","onMouseEnter","onMouseEnterProp","onTouchStart","onTouchStartProp","legacyBehavior","restProps","a","router","useContext","AppRouterContext","prefetchEnabled","appPrefetchKind","PrefetchKind","AUTO","FULL","useMemo","resolvedHref","only","childRef","ref","observeLinkVisibilityOnMount","mountLinkInstance","element","unmountLinkInstance","childProps","e","defaultPrevented","linkClicked","nodeName","currentTarget","toUpperCase","isModifiedEvent","target","eventTarget","getAttribute","event","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","preventDefault","startTransition","navigate","routerScroll","onNavigationIntent","env","NODE_ENV","isAbsoluteUrl","addBasePath","cloneElement","storageKeys","persistedCart","saveForLater","isMobile","orderConfirmation","swatchCart","swatchOrderDate","searchQueryID","searchUserToken","provider","homeFallBack","jwt","rejoiner","rules","toaster","profile","nosto","sessionID","yotpo","token","setStorage","key","window","localStorage","setItem","JSON","stringify","sessionStorage","err","getStorage","stored","getItem","parse","addToStorage","storedItems","Array","isArray","newStoredItems","filter","item","push","arr","console","log","removeFromStorage","remove","removeItem","getCart","cartData","LocalStorage","line_items","physical_items","gift_certificates","id","cart_amount","physicalItems","map","name","priceCurrencyCode","productId","product_id","quantity","skuId","sku","unitPrice","list_price","giftCertificates","amount","items","View404","ViewBlog","ViewCart","ViewPage","ViewOther","ViewSearch","ViewProduct","ViewCategory","ViewFrontPage","useNostoEventTracker","placementIds","url","other","nostoState","NostoContext","global","globalDispatch","callNostoEvent","placement","NostoEvent","call","categoryTarget","categoryNameTaxonomy","session","callback","obj","resultId","useEffect","every","join","forEach","NostoEventTracker","blocks","slotIds","trackerObject","placements","getPlacementIdsFromBlocks","length","slots","block","Object","hasOwn","placementId","slot","bulkMergePlacements","merged","mergedPlacements","includes","split","trim","slice"],"sourceRoot":"","ignoreList":[]}