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,eAAiB,KAAOmC,aAA+E,EAASA,EAA2BnC,eAAiB,GAAK,EACjS0C,EAAYK,MAAQd,aAA+D,EAASA,EAAmBjC,eAAiB,KAAOmC,aAA+E,EAASA,EAA2BnC,eAAiB,IAAMwC,GAA4B,GAAK,EACxT9F,OAAOsG,SAAS,CACZD,IAAKH,EACLK,SAAU,UAElB,IAgEoB,gBAAoB,OAAQ,KAAMnE,aAAmC,EAASA,EAAKoE,gBACnF,gBAAoB,IAAK,CAAEzH,UAAW,oCAzBnD,IAyBwF,qDC1GvG,IATeT,IACX,MAAM,IAAE0F,EAAG,WAAEyC,EAAU,UAAEC,EAAS,UAAEC,EAAS,eAAEC,EAAc,UAAEC,EAAS,UAAE9H,EAAS,UAAE+H,EAAS,WAAE3C,GAAe7F,EACzGyI,GAAS,IAAAC,UAAQ,IACZ,GAAGJ,WAAwBD,WAAmBD,YAAoBD,WAC1E,CAACG,EAAgBF,EAAWC,IAC/B,OAAQ,gBAAoB,UAAW,CAAE5H,UAAWA,GAChD,gBAAoB,SAAU3G,OAAOiD,OAAO,CAAE4L,OAAQF,IAAY5C,GAAc,CAAE+C,MAAO,sBAAyB,CAAE,cAAeH,KACnI,gBAAoB,MAAO,CAAEI,IAAKN,EAAW7C,IAAKA,EAAK/E,QAAS6H,EAAY,QAAU,SAAW","sources":["webpack:///./node_modules/classnames/index.js","webpack:///./node_modules/filter-obj/index.js","webpack:///./node_modules/query-string/index.js","webpack:///./assets/common/src/ui/button/Button.tsx","webpack:///./assets/common/src/utils/useQueryString.ts","webpack:///./assets/moncler/src/components/experience/DigitalFlagshipMatterportModule.tsx","webpack:///./assets/moncler/src/components/experience/EditorialImage.tsx"],"sourcesContent":["/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), ':list='].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), ':list=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(:list)$/.exec(key);\n\t\t\t\tkey = key.replace(/:list$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","import classNames from 'classnames';\nimport React from 'react';\nconst Button = (props) => {\n const handleClick = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onClick) {\n e.preventDefault();\n }\n props.onClick && props.onClick.call(this, e);\n };\n const handleKeyDown = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onKeyDown) {\n e.preventDefault();\n }\n props.onKeyDown && props.onKeyDown.call(this, e);\n };\n return (React.createElement(\"button\", Object.assign({ ref: props.reference, onClick: handleClick, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames('button', props.cls, props.className, { loading: props.isLoading }), type: props.type, \"aria-label\": props.ariaLabel, \"aria-current\": props.ariaCurrent, \"aria-expanded\": props.ariaExpanded, \"aria-haspopup\": props.ariaHaspopup, \"aria-controls\": props.ariaControls }, (props.tabIndex ? { tabIndex: props.tabIndex } : {})), props.isLoading ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", null))) : (React.createElement(\"span\", null, props.children))));\n};\nButton.defaultProps = {\n cls: ['button--primary'],\n className: '',\n};\nexport default Button;\n","import qs from 'query-string';\nimport { useCallback, useState } from 'react';\nfunction useQueryString(key, initialValue, isboolean) {\n const setQueryStringWithoutPageReload = (qsValue) => {\n const newurl = window.location.protocol + '//' + window.location.host + window.location.pathname + (qsValue ? '?' + qsValue : '');\n window.history.pushState({ path: newurl }, '', newurl);\n };\n const getQueryStringValue = (key) => {\n const values = qs.parse(window.location.search);\n let value = values[key];\n return isboolean ? !!value : value;\n };\n function setQueryStringValue(key, value) {\n const values = qs.parse(window.location.search);\n const newvalues = Object.assign(Object.assign({}, values), { [key]: value });\n if (isboolean && !value) {\n delete newvalues[key];\n }\n const newQsValue = qs.stringify(newvalues);\n setQueryStringWithoutPageReload(newQsValue);\n }\n const onSetValue = useCallback((newValue) => {\n let newvaltyped = isboolean ? !!newValue || undefined : newValue;\n setValue(newvaltyped);\n setQueryStringValue(key, newvaltyped);\n }, [key]);\n const [value, setValue] = useState(getQueryStringValue(key) || initialValue);\n return [value, onSetValue];\n}\nexport default useQueryString;\n","import React, { useEffect, useRef, useState } from 'react';\nimport Button from '@ui/button/Button';\nimport useQueryString from '@common/utils/useQueryString';\nimport analytics from '@utils/analytics';\nimport Image from '@moncler/components/experience/EditorialImage';\nconst DigitalFlagshipMatterportModule = ({ storejson, cardjson }) => {\n const [storeId] = useQueryString('storeId');\n const [store, setStore] = useState(undefined);\n const [showIntro, setShowIntro] = React.useState(true);\n const [isIframeLoaded, setIsIframeLoaded] = React.useState(false);\n const overlayRef = useRef(null);\n const iframeRef = useRef(null);\n //@ts-ignore\n const [ctaAsButton, setCtaAsButton] = React.useState(!(window.innerWidth < window.mqObj.sm));\n const card = typeof cardjson === 'string' ? JSON.parse(cardjson) : undefined;\n const handleHideIntroAndPlay = () => {\n var _a, _b;\n analytics.storelocatorAction((((_a = store === null || store === void 0 ? void 0 : store.name) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '') + '-enter', ((_b = card === null || card === void 0 ? void 0 : card.ctaText) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '');\n if (!ctaAsButton)\n return;\n if ((card === null || card === void 0 ? void 0 : card.image) && overlayRef.current) {\n // Create a fade-out effect to overlayRef\n overlayRef.current.classList.add('fade-out');\n const timeoutId = setTimeout(() => {\n setShowIntro(false);\n }, 310);\n return () => clearTimeout(timeoutId);\n }\n else {\n setShowIntro(false);\n }\n };\n const handleGoToTextSquares = (event) => {\n var _a;\n event.preventDefault();\n const targetId = (_a = event.currentTarget.getAttribute('href')) === null || _a === void 0 ? void 0 : _a.substring(1);\n const targetElement = document.getElementById(targetId);\n const storeDetailElement = document.querySelector('.flagship-store_detail');\n const locationDescriptionElement = document.querySelector('.flagship-page__location-description');\n const computedStyle = getComputedStyle(document.documentElement);\n const headerHeightValue = computedStyle.getPropertyValue('--header-height');\n const numericHeaderHeightValue = parseInt(headerHeightValue, 10);\n if (targetElement) {\n const elementRect = targetElement.getBoundingClientRect();\n const offsetTop = window.isMobile()\n ? window.scrollY + elementRect.top - ((storeDetailElement === null || storeDetailElement === void 0 ? void 0 : storeDetailElement.clientHeight) || 0) - ((locationDescriptionElement === null || locationDescriptionElement === void 0 ? void 0 : locationDescriptionElement.clientHeight) || 0) + 5\n : elementRect.top - ((storeDetailElement === null || storeDetailElement === void 0 ? void 0 : storeDetailElement.clientHeight) || 0) - ((locationDescriptionElement === null || locationDescriptionElement === void 0 ? void 0 : locationDescriptionElement.clientHeight) || 0) - (numericHeaderHeightValue || 0) + 5;\n window.scrollTo({\n top: offsetTop,\n behavior: 'smooth',\n });\n }\n };\n useEffect(() => {\n if (storejson && typeof storejson === 'string') {\n setStore(JSON.parse(storejson));\n }\n }, [storejson, storeId]);\n useEffect(() => {\n const iframe = iframeRef.current;\n if (!iframe)\n return;\n const checkIframeHeight = () => {\n if (ctaAsButton)\n return;\n const iframeHeight = iframe.clientHeight;\n const screenHeight = window.screen.height;\n const isIframeTallerThan70Percent = iframeHeight > screenHeight * 0.6;\n setCtaAsButton(isIframeTallerThan70Percent);\n };\n if (!ctaAsButton && isIframeLoaded) {\n checkIframeHeight();\n }\n const resizeObserver = new ResizeObserver(checkIframeHeight);\n resizeObserver.observe(iframe);\n return () => {\n resizeObserver.unobserve(iframe);\n };\n }, [ctaAsButton, store === null || store === void 0 ? void 0 : store.interactiveStoreModule, isIframeLoaded]);\n useEffect(() => {\n const handlePopState = () => {\n if (iframeRef.current) {\n iframeRef.current.src = iframeRef.current.src;\n }\n };\n window.addEventListener('popstate', handlePopState);\n return () => {\n window.removeEventListener('popstate', handlePopState);\n };\n }, []);\n if (!store) {\n return null;\n }\n return (React.createElement(\"div\", { className: \"flagship-page__matterport flex-full-height\" },\n React.createElement(\"div\", { className: \"content flex-full-height\" },\n React.createElement(\"div\", { className: \"container flex-full-height\" },\n React.createElement(\"div\", { className: \"wrapper flex-full-height\" },\n showIntro && isIframeLoaded && (React.createElement(\"div\", { ref: overlayRef, className: \"overlay\" },\n (card === null || card === void 0 ? void 0 : card.image) && (React.createElement(\"div\", { className: \"overlay__background\", \"aria-hidden\": \"true\" },\n React.createElement(Image, Object.assign({ avoidMedia: true }, card === null || card === void 0 ? void 0 : card.image)))),\n React.createElement(\"div\", { className: \"content__wrapper\" },\n React.createElement(\"div\", { className: \"content\" },\n (card === null || card === void 0 ? void 0 : card.title) && React.createElement(\"h1\", { className: \"title\" }, card === null || card === void 0 ? void 0 : card.title),\n (card === null || card === void 0 ? void 0 : card.description) && (React.createElement(\"div\", { className: \"description\", dangerouslySetInnerHTML: {\n __html: card === null || card === void 0 ? void 0 : card.description,\n } })),\n React.createElement(\"div\", null, ctaAsButton ? (React.createElement(Button, { disabled: !isIframeLoaded, type: \"button\", cls: ['button--primary-inverted'], className: \"cta\", onClick: handleHideIntroAndPlay }, card === null || card === void 0 ? void 0 : card.ctaText)) : (React.createElement(\"a\", { href: `https://my.matterport.com/show/?m=${store === null || store === void 0 ? void 0 : store.interactiveStoreModule}`, className: \"button--primary-inverted cta\", onClick: handleHideIntroAndPlay, target: \"_blank\", rel: \"noopener noreferrer\" }, card === null || card === void 0 ? void 0 : card.ctaText))))))),\n (store === null || store === void 0 ? void 0 : store.interactiveStoreModule) && (React.createElement(\"div\", { className: \"matterport-showcase flex-full-height\" },\n React.createElement(\"iframe\", { ref: iframeRef, allowFullScreen: true, src: `https://my.matterport.com/show/?m=${store === null || store === void 0 ? void 0 : store.interactiveStoreModule}`, width: \"100%\", height: \"100%\", onLoad: () => setIsIframeLoaded(true), allow: \"xr-spatial-tracking\" }))))),\n React.createElement(\"div\", { className: \"flagship-store_detail\" },\n React.createElement(\"div\", { className: \"container\" },\n React.createElement(\"div\", { className: \"grid-1-1 detail__title-wrapper\" },\n React.createElement(\"h2\", { className: \"detail__title\" }, store === null || store === void 0 ? void 0 : store.name)),\n React.createElement(\"div\", { className: \"grid-1-1 detail__cta-wrapper\" },\n React.createElement(\"a\", { href: \"#text-squares\", className: \"detail__cta\", onClick: handleGoToTextSquares },\n React.createElement(\"span\", null, card === null || card === void 0 ? void 0 : card.anchorLinkText),\n React.createElement(\"i\", { className: \"icon--chevron-down-double\" }))))))));\n};\nexport default DigitalFlagshipMatterportModule;\n","import React, { useMemo } from 'react';\nconst Image = (props) => {\n const { src, desktopsrc, tabletsrc, mobilesrc, mobilesmallsrc, image_alt, className, avoidLazy, avoidMedia } = props;\n const srcset = useMemo(() => {\n return `${mobilesmallsrc} 360w, ${mobilesrc} 768w, ${tabletsrc} 1024w, ${desktopsrc} 1571w`;\n }, [mobilesmallsrc, tabletsrc, mobilesrc]);\n return (React.createElement(\"picture\", { className: className },\n React.createElement(\"source\", Object.assign({ srcSet: srcset }, (!avoidMedia && { media: \"(min-width: 768px)\" }), { \"data-srcset\": srcset })),\n React.createElement(\"img\", { alt: image_alt, src: src, loading: avoidLazy ? 'eager' : 'lazy' })));\n};\nexport default Image;\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","key","call","join","module","exports","default","obj","predicate","ret","keys","isArr","val","indexOf","strictUriEncode","decodeComponent","splitOnFirst","filterObject","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","value","TypeError","encode","options","strict","encodeURIComponent","decode","keysSorter","input","sort","a","b","Number","map","removeHash","hashStart","slice","extract","queryStart","parseValue","parseNumbers","isNaN","trim","parseBooleans","toLowerCase","parse","query","assign","arrayFormat","arrayFormatSeparator","formatter","result","accumulator","exec","replace","undefined","concat","includes","isEncodedArray","newValue","split","item","test","arrayValue","parserForArrayFormat","create","param","k","reduce","Boolean","stringify","object","shouldFilter","skipNull","skipEmptyString","index","keyValueSep","encoderForArrayFormat","objectCopy","filter","x","parseUrl","url","url_","hash","parseFragmentIdentifier","fragmentIdentifier","stringifyUrl","queryFromUrl","parsedQueryFromUrl","queryString","getHash","pick","exclude","exclusionFilter","Button","props","ref","reference","onClick","e","usesDefault","preventDefault","onKeyDown","disabled","className","cls","loading","isLoading","type","ariaLabel","ariaCurrent","ariaExpanded","ariaHaspopup","ariaControls","tabIndex","children","defaultProps","initialValue","isboolean","setQueryStringValue","values","window","location","search","newvalues","qsValue","newurl","protocol","host","pathname","history","pushState","path","setQueryStringWithoutPageReload","onSetValue","useCallback","newvaltyped","setValue","useState","getQueryStringValue","storejson","cardjson","storeId","store","setStore","showIntro","setShowIntro","isIframeLoaded","setIsIframeLoaded","overlayRef","useRef","iframeRef","ctaAsButton","setCtaAsButton","innerWidth","mqObj","sm","card","JSON","handleHideIntroAndPlay","_a","_b","name","ctaText","image","current","classList","add","timeoutId","setTimeout","clearTimeout","useEffect","iframe","checkIframeHeight","iframeHeight","clientHeight","screenHeight","screen","height","resizeObserver","ResizeObserver","observe","unobserve","interactiveStoreModule","handlePopState","src","addEventListener","removeEventListener","avoidMedia","title","description","dangerouslySetInnerHTML","__html","href","target","rel","allowFullScreen","width","onLoad","allow","event","targetId","currentTarget","getAttribute","substring","targetElement","document","getElementById","storeDetailElement","querySelector","locationDescriptionElement","headerHeightValue","getComputedStyle","documentElement","getPropertyValue","numericHeaderHeightValue","parseInt","elementRect","getBoundingClientRect","offsetTop","isMobile","scrollY","top","scrollTo","behavior","anchorLinkText","desktopsrc","tabletsrc","mobilesrc","mobilesmallsrc","image_alt","avoidLazy","srcset","useMemo","srcSet","media","alt"],"sourceRoot":""}