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AzBkK,EAAYa,YAAY,CAClD,CAAC,CACDE,aAAcf,EAAY/F,KAAK,CAC/B+G,YAAaf,CACf,GAGWgB,EAAsC,GAG1C,EACLf,UAAW,GAAiCF,MAAAA,CAA9BA,EAAYG,YAAY,CAAC,OAAsBrK,MAAA,CAAjBkK,EAAYI,IAAI,EAC5DC,QAASL,EAAYM,IAAI,CACzBC,YAAaZ,EACbe,cAAeV,EAAYG,YAAY,CACvCQ,eAAgBf,EAChBgB,eAAgBf,EAChB,GAAIG,MAAAA,EAAYa,YAAY,EAAY,CACtCC,eAAgB,QAAiChL,MAAA,CAAzBkK,EAAYa,YAAY,CAClD,CAAC,CACDE,aAAcf,EAAY/F,KAAK,CACjC,EAGWiH,EAA8B,GAIlC,EACLhB,UAhDwB,qBAiDxBK,YAAaZ,EACba,WAAYV,EACZY,cAAeS,EAASf,IAAI,CAC5BO,eAAgBf,EAChBgB,eApDqB,WAqDrBI,YAAaG,EAAS3G,EAAE,CAC1B,EAGW4G,EAA2B,IAOtC,GAAM,CAAEC,WAAAA,CAAU,CAAE3I,SAAAA,CAAQ,CAAEyH,aAAAA,CAAY,CAAElG,MAAAA,CAAK,CAAEgG,WAAAA,CAAU,CAAE,CAAGrF,EAClE,MAAO,CACLyF,QAAS3H,EACTwH,UAAWmB,EACXd,YAAaZ,EACba,WAAYV,EACZY,cAAeP,EACfQ,eA3EkC,eA4ElCC,eAtEmB,iBAuEnBG,aAAc9G,EACd+G,YAAaf,EACbqB,SAAU,CACZ,CACF,6CChKApN,EAAA,QAAe,CAAC,4ICAhBA,EAAA,QAAe,CAAC,wICAhBA,EAAA,QAAe,CAAC,8ICAhBA,EAAA,QAAe,CAAC,sHCChBgJ,EAAAC,OAAA,EAAkB,OAAS,sEAAuE","sources":["webpack://_N_E/./components/HorizontalDivider.tsx","webpack://_N_E/./hooks/useAuthData.tsx","webpack://_N_E/./hooks/useDateUtils.tsx","webpack://_N_E/./hooks/useRouter.tsx","webpack://_N_E/./hooks/useScreenSize.tsx","webpack://_N_E/./lib/obp/order-api.tsx","webpack://_N_E/./lib/office/office-utils.ts","webpack://_N_E/./lib/users/users.ts","webpack://_N_E/./node_modules/lodash.debounce/index.js","webpack://_N_E/./utils/gtm.ts","webpack://_N_E/./public/icons/clockHandIcon.svg","webpack://_N_E/./public/icons/liftIcon.svg","webpack://_N_E/./public/icons/membershipIcon.svg","webpack://_N_E/./public/icons/officeSeatsIcon.svg","webpack://_N_E/./node_modules/next/font/local/target.css"],"sourcesContent":["import clsx from 'clsx';\n\ntype Props = {\n className?: string;\n};\n\nexport function HorizontalDivider(props: Props) {\n const { className } = props;\n return
;\n}\n","'use client';\n\n/* eslint-disable @typescript-eslint/no-empty-function */\nimport React, {\n Dispatch,\n SetStateAction,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from 'react';\n\nimport { SignUpResponseDto } from '@/lib/authentication/dto/signup-response.dto';\nimport { Claims, Scopes } from '@/lib/users/claims';\nimport { UserDto } from '@/lib/users/dto/user.dto';\nimport { getUserById } from '@/lib/users/users';\n\nexport type LoggedUserInfo = {\n isAuthenticated?: boolean;\n token?: string;\n userId?: string;\n user?: UserDto;\n email?: string;\n checkAuth: () => Promise;\n isLoading: boolean;\n checkClaims: (scope: Scopes, claims: Claims[]) => boolean;\n};\n\nexport type AuthDataContextType = LoggedUserInfo & {\n signedUpUser?: SignUpResponseDto;\n setSignedUpUser: Dispatch>;\n};\n\nconst defaultLoggedUserInfo: LoggedUserInfo = {\n isAuthenticated: false,\n token: undefined,\n checkAuth: async () => {},\n isLoading: true,\n checkClaims: () => false,\n};\n\nconst defaultContextValue: AuthDataContextType = {\n ...defaultLoggedUserInfo,\n setSignedUpUser: () => null,\n};\n\nconst AuthDataContext =\n React.createContext(defaultContextValue);\n\nconst AuthProvider = ({\n children,\n}: {\n locale?: string;\n children: React.ReactNode;\n}) => {\n const [loggedUserInfo, setLoggedUserInfo] = useState(\n defaultLoggedUserInfo\n );\n const [signedUpUser, setSignedUpUser] = useState();\n\n const checkAuth = async () => {\n const { checkUserToken, getUserToken } = await import(\n '@/lib/authentication/helpers'\n );\n const check = await checkUserToken();\n\n if (!check.isValid) {\n setLoggedUserInfo({\n isAuthenticated: false,\n checkAuth,\n isLoading: false,\n checkClaims: () => false,\n });\n return;\n }\n\n const { token } = await getUserToken();\n const AwsAuth = (await import('aws-amplify')).Auth;\n const currentAuthenticatedUser = await AwsAuth.currentAuthenticatedUser();\n const userId = currentAuthenticatedUser.attributes['custom:user_id'];\n\n const user = await getUserById(userId);\n\n const checkClaims = (scope: Scopes, claims: Claims[]) => {\n const claimsJson = currentAuthenticatedUser.attributes[`custom:${scope}`];\n const claimsObj = claimsJson ? JSON.parse(claimsJson) : {};\n\n return claims.every((claim) => claimsObj[claim]);\n };\n\n setLoggedUserInfo({\n isAuthenticated: true,\n token,\n email: currentAuthenticatedUser.attributes.email,\n userId,\n user,\n checkAuth,\n isLoading: false,\n checkClaims,\n });\n };\n\n const value = useMemo(() => {\n return {\n ...loggedUserInfo,\n signedUpUser,\n setSignedUpUser,\n };\n }, [loggedUserInfo, signedUpUser]);\n\n useEffect(() => {\n const initAuthAsync = async () => {\n const { initAuth } = await import('@/lib/authentication/init');\n initAuth();\n await checkAuth();\n };\n initAuthAsync();\n }, []);\n\n return (\n \n {children}\n \n );\n};\n\nconst useAuthData = (): AuthDataContextType => {\n return useContext(AuthDataContext);\n};\n\nexport { useAuthData };\nexport default AuthProvider;\n","'use client';\n\nimport { useLocale } from 'next-intl';\nimport { useEffect } from 'react';\n\nimport * as dateUtils from '@/utils/date-utils';\n\nexport function useDateUtils() {\n const locale = useLocale();\n\n useEffect(() => {\n dateUtils.setLocale(locale);\n }, [locale]);\n\n return dateUtils;\n}\n","import { useSearchParams } from 'next/navigation';\n\n// eslint-disable-next-line no-restricted-imports\nimport { useRouter as useNextRouter } from '@/i18n/navigation';\nimport {\n getAllParamsFromSearchParams,\n stringifyUrl,\n} from '@/utils/stringify-url';\n\nexport function useRouter() {\n const searchParams = useSearchParams();\n const { push: routerPush, replace: routerReplace, refresh } = useNextRouter();\n const allParams = getAllParamsFromSearchParams(searchParams);\n\n const supplier = allParams.supplier ? allParams.supplier : null;\n\n const push: typeof routerPush = (href, options) => {\n return routerPush(\n stringifyUrl(href as string, {\n ...(supplier && {\n supplier,\n }),\n }),\n options\n );\n };\n\n const replace: typeof routerReplace = (href, options) => {\n return routerReplace(\n stringifyUrl(href as string, {\n ...(supplier && {\n supplier,\n }),\n }),\n options\n );\n };\n\n return {\n push,\n replace,\n refresh,\n };\n}\n","'use client';\n\nimport debounce from 'lodash.debounce';\nimport { useEffect, useState } from 'react';\n\nconst DEBOUNCE_TIME = 100;\n\nexport enum ScreenSize {\n XXS = 320,\n XS = 375,\n SM = 500,\n MD = 600,\n LG = 960,\n XL = 1440,\n}\n\nexport function useScreenSize(): number {\n const [widthWindow, setWidthWindow] = useState(0);\n\n useEffect(() => {\n const handleResize = debounce(() => {\n setWidthWindow(window.innerWidth);\n }, DEBOUNCE_TIME);\n\n setWidthWindow(window.innerWidth);\n window.addEventListener('resize', handleResize);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, []);\n\n return widthWindow;\n}\n","import { getServerConfig } from '@/utils/config';\nimport { HttpMethods, tryFetchToJson } from '@/utils/http-request';\n\nimport { OrderPreviewDto } from './dto/order-preview-dto';\n\nexport async function createOrderPreview({\n startDate,\n termLength,\n officeId,\n userId,\n tempAccessKey,\n proposalId,\n}: {\n startDate: string;\n termLength: number;\n officeId: string;\n userId?: string;\n tempAccessKey?: string;\n proposalId?: string;\n}) {\n const host = getServerConfig().NEXT_PUBLIC_OPB_API_URL;\n\n const url =\n userId != null\n ? `${host}/orders-temp-access/preview`\n : `${host}/orders/preview`;\n\n return await tryFetchToJson({\n withAuthToken: userId == null,\n fetchParams: {\n input: url,\n init: {\n method: HttpMethods.Post,\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n startDate,\n termLength,\n officeFakeId: officeId,\n userId,\n tempAccessKey,\n proposalId,\n }),\n },\n },\n });\n}\n","import {\n OFFICE_INTERIOR_IMG,\n OFFICE_WINDOW_IMG,\n} from '@/models/location-utils';\nimport { WINDOW_OFFICE_CONFIGURATION } from '@/utils/constants';\n\nimport { MonthTermType } from './dto/office.dto';\n\nconst ELEVEN_SEATS = 11;\nconst INTERIOR_TYPE = 'interior';\nconst WINDOW_TYPE = 'window';\n\nexport function getTermLengthNumber(value: MonthTermType): number {\n return Number(value.split('-')[0]);\n}\n\nexport function getOfficeImage(\n seats?: number,\n officeConfigurationType?: string\n): string {\n const basePath = '/public-s3/images/';\n const configurationType =\n officeConfigurationType === WINDOW_OFFICE_CONFIGURATION\n ? WINDOW_TYPE\n : INTERIOR_TYPE;\n\n if (!seats) {\n return configurationType === WINDOW_TYPE\n ? OFFICE_WINDOW_IMG\n : OFFICE_INTERIOR_IMG;\n }\n\n const seatsNumber = seats >= ELEVEN_SEATS ? '11-plus' : seats;\n const imageFile = `office-rep-${seatsNumber}-${configurationType}.webp`;\n\n return `${basePath}${imageFile}`;\n}\n","import { getServerConfig } from '@/utils/config';\nimport { HttpMethods, tryFetchToJson } from '@/utils/http-request';\n\nimport { UserDto } from './dto/user.dto';\n\nexport async function getUserById(id: string) {\n const url = `${getServerConfig().NEXT_PUBLIC_USER_API_URL}/users/${id}`;\n\n return tryFetchToJson({\n withAuthToken: true,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n },\n },\n });\n}\n\nexport async function updateUser(params: { id: string; phone?: string }) {\n const { id, ...patch } = params;\n const url = `${getServerConfig().NEXT_PUBLIC_USER_API_URL}/users/${id}`;\n\n return tryFetchToJson({\n withAuthToken: true,\n fetchParams: {\n input: url,\n init: {\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify(patch),\n method: HttpMethods.Patch,\n },\n },\n });\n}\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","import { MeetingRoomDto } from '@/lib/meeting-rooms/dto/meeting-room.dto';\nimport { SimpleMeetingRoomDto } from '@/lib/meeting-rooms/dto/simple-meeting-room.dto';\nimport { StringBool } from '@/models/StringBool.enum';\n\nimport { MeetingRoomMapFeatureProps } from './mapbox';\n\nexport enum GtmListId {\n SearchPage = 'search_page',\n LocationPdp = 'location_pdp',\n}\n\nexport enum GtmListName {\n SearchPage = 'Search Page',\n LocationPdp = 'Location PDP',\n}\n\ntype GtmOptionsPageView = {\n pageType?: string;\n};\n\ntype GtmOptionsLocation = {\n location_name?: string;\n location_city?: string;\n location_metro?: string;\n location_country?: string;\n location_id?: string;\n};\n\ntype GtmOptionsCheckoutCustomize = {\n country?: string;\n metro?: string;\n location?: string;\n global_access?: StringBool;\n location_id?: string;\n promo_code?: string;\n};\n\ntype GtmOptionsMeetingRoom = {\n location_name?: string;\n meeting_room_name?: string;\n};\n\nexport type GtmOptions = GtmOptionsPageView &\n GtmOptionsLocation &\n GtmOptionsMeetingRoom &\n GtmOptionsCheckoutCustomize;\n\nexport const isDataLayerLoaded = () => {\n return typeof window !== 'undefined' && !!window.dataLayer;\n};\n\nexport const pushEvent = (event: string, options = {}) => {\n if (!window.dataLayer) return;\n window.dataLayer.push({ event, ...options });\n};\n\nexport const pageview = ({\n url,\n pageType,\n options = {},\n}: {\n url: string;\n pageType: string;\n options: GtmOptions;\n}) => {\n pushEvent('pageview', { url, pageType, ...options });\n};\n\nexport const pushECommerceEvent = (\n event: string,\n options: Record\n) => {\n if (!window.dataLayer) return;\n window.dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.\n pushEvent(event, { ecommerce: options });\n};\n\nconst AFFILIATION = 'Online purchase';\nconst PRODUCT_CATEGORY_ON_DEMAND = 'On demand';\nconst PRODUCT_CATEGORY_SUBSCRIPTION = 'subscription';\n\nconst MEETING_ROOM_PRODUCT = 'Meeting room';\nconst COWORKING_ITEM_NAME = 'Coworking day pass';\nconst DAY_PASS_PRODUCT = 'Day pass';\nconst INDUSTRIOUS_BRAND_NAME = 'Industrious';\nconst OFFICE_PRODUCT = 'Private office';\n\nexport const mapMeetingRoomToItemEcommerce = (\n meetingRoom: MeetingRoomDto | SimpleMeetingRoomDto,\n locationId: string\n) => {\n return {\n item_name: `${meetingRoom.locationName} - ${meetingRoom.name}`,\n item_id: meetingRoom.slug,\n affiliation: AFFILIATION,\n item_brand:\n (meetingRoom as MeetingRoomDto)?.brandName || INDUSTRIOUS_BRAND_NAME,\n item_category: meetingRoom.locationName,\n item_category2: PRODUCT_CATEGORY_ON_DEMAND,\n item_category3: MEETING_ROOM_PRODUCT,\n ...(meetingRoom.locationTier != null && {\n item_category4: `Tier ${meetingRoom.locationTier}`,\n }),\n item_variant: meetingRoom.seats,\n location_id: locationId,\n };\n};\n\nexport const mapSimpleMeetingRoomToItemEcommerce = (\n meetingRoom: SimpleMeetingRoomDto | MeetingRoomMapFeatureProps\n) => {\n return {\n item_name: `${meetingRoom.locationName} - ${meetingRoom.name}`,\n item_id: meetingRoom.slug,\n affiliation: AFFILIATION,\n item_category: meetingRoom.locationName,\n item_category2: PRODUCT_CATEGORY_ON_DEMAND,\n item_category3: MEETING_ROOM_PRODUCT,\n ...(meetingRoom.locationTier != null && {\n item_category4: `Tier ${meetingRoom.locationTier}`,\n }),\n item_variant: meetingRoom.seats,\n };\n};\n\nexport const mapCoworkingToItemEcommerce = (location: {\n name: string;\n id: string;\n}) => {\n return {\n item_name: COWORKING_ITEM_NAME,\n affiliation: AFFILIATION,\n item_brand: INDUSTRIOUS_BRAND_NAME,\n item_category: location.name,\n item_category2: PRODUCT_CATEGORY_ON_DEMAND,\n item_category3: DAY_PASS_PRODUCT,\n location_id: location.id,\n };\n};\n\nexport const mapOfficeToItemEcommerce = (params: {\n officeName: string;\n officeId: string;\n locationName: string;\n seats?: number;\n locationId: string;\n}) => {\n const { officeName, officeId, locationName, seats, locationId } = params;\n return {\n item_id: officeId,\n item_name: officeName,\n affiliation: AFFILIATION,\n item_brand: INDUSTRIOUS_BRAND_NAME,\n item_category: locationName,\n item_category2: PRODUCT_CATEGORY_SUBSCRIPTION,\n item_category3: OFFICE_PRODUCT,\n item_variant: seats,\n location_id: locationId,\n quantity: 1,\n };\n};\n","export default {\"src\":\"/_next/static/media/clockHandIcon.4b8305b7.svg\",\"height\":32,\"width\":32,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/liftIcon.9eb058b3.svg\",\"height\":32,\"width\":32,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/membershipIcon.02e94db3.svg\",\"height\":32,\"width\":32,\"blurWidth\":0,\"blurHeight\":0};","export default {\"src\":\"/_next/static/media/officeSeatsIcon.5e13d75d.svg\",\"height\":32,\"width\":32,\"blurWidth\":0,\"blurHeight\":0};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"style\":{\"fontFamily\":\"'__tiemposFont_b85bab', '__tiemposFont_Fallback_b85bab'\"},\"className\":\"__className_b85bab\",\"variable\":\"__variable_b85bab\"};"],"names":["HorizontalDivider","props","className","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","hr","clsx","defaultLoggedUserInfo","isAuthenticated","token","undefined","checkAuth","isLoading","checkClaims","defaultContextValue","setSignedUpUser","AuthDataContext","React","useAuthData","useContext","__webpack_exports__","children","param","loggedUserInfo","setLoggedUserInfo","useState","signedUpUser","checkUserToken","getUserToken","Promise","all","__webpack_require__","e","then","bind","check","isValid","AwsAuth","Auth","currentAuthenticatedUser","userId","attributes","user","getUserById","email","scope","claims","claimsJson","concat","claimsObj","JSON","parse","every","claim","value","useMemo","useEffect","initAuthAsync","initAuth","Provider","useDateUtils","locale","useLocale","dateUtils","useRouter","searchParams","useSearchParams","push","routerPush","replace","routerReplace","refresh","useNextRouter","allParams","getAllParamsFromSearchParams","supplier","href","options","stringifyUrl","ScreenSize","useScreenSize","widthWindow","setWidthWindow","handleResize","debounce","window","innerWidth","addEventListener","removeEventListener","createOrderPreview","startDate","termLength","officeId","tempAccessKey","proposalId","host","getServerConfig","NEXT_PUBLIC_OPB_API_URL","tryFetchToJson","withAuthToken","fetchParams","input","init","method","HttpMethods","Post","headers","body","stringify","officeFakeId","WINDOW_TYPE","getTermLengthNumber","Number","split","getOfficeImage","seats","officeConfigurationType","configurationType","WINDOW_OFFICE_CONFIGURATION","OFFICE_WINDOW_IMG","OFFICE_INTERIOR_IMG","imageFile","id","url","NEXT_PUBLIC_USER_API_URL","updateUser","params","patch","Patch","NAN","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","g","Object","freeSelf","self","root","Function","objectToString","objectProto","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","type","toNumber","isObjectLike","call","other","valueOf","isBinary","test","slice","module","exports","func","wait","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timeSinceLastInvoke","timerExpired","trailingEdge","setTimeout","debounced","isInvoking","arguments","cancel","clearTimeout","flush","GtmListId","GtmListName","isDataLayerLoaded","dataLayer","pushEvent","event","pageview","pageType","pushECommerceEvent","ecommerce","AFFILIATION","PRODUCT_CATEGORY_ON_DEMAND","MEETING_ROOM_PRODUCT","INDUSTRIOUS_BRAND_NAME","mapMeetingRoomToItemEcommerce","meetingRoom","locationId","item_name","locationName","name","item_id","slug","affiliation","item_brand","brandName","item_category","item_category2","item_category3","locationTier","item_category4","item_variant","location_id","mapSimpleMeetingRoomToItemEcommerce","mapCoworkingToItemEcommerce","location","mapOfficeToItemEcommerce","officeName","quantity"],"sourceRoot":""}