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AM,6BAQf,MAEA,GACEC,KAHoB,sBAIpBC,MAAO,CACLC,OAAQC,QAEVrL,KAAIA,KACK,CACLsL,OAAQpM,GAAGqM,KAAKC,mBAGpBC,QAAS,CACPC,aAAAA,GAEElL,YAAW,KACTtB,GAAGqM,KAAKI,mBACR5D,KAAKuD,OAASpM,GAAGqM,KAAKC,gBAAgB,GACrC,EACL,GAEFI,OAAAA,GACE7D,KAAKuD,OAASpM,GAAGqM,KAAKC,mBAAqBtM,GAAG2M,eAChD,GC7BF,MAEA,GAFiC,E,SAAA,GAAgB,EAAQ,CAAC,CAAC,S,+CDJzDC,EAAAA,EAAAA,oBAMK,MANDb,MAAM,uBAAwBc,QAAKC,EAAA,KAAAA,EAAA,qBAAEC,EAAAP,eAAAO,EAAAP,iBAAA/P,UAAa,I,CACpDuQ,GACAlB,EAAAA,EAAAA,oBAGM,MAHNmB,EAGM,EAFJnB,EAAAA,EAAAA,oBAA8E,QAAxEC,OAJZmB,EAAAA,EAAAA,gBAAA,CAIkB,UAAS,QAAoBC,EAAAf,Y,qBAAYgB,EAAAlB,OAAOmB,UAAQ,IACpEvB,EAAAA,EAAAA,oBAAgF,QAA1EC,OALZmB,EAAAA,EAAAA,gBAAA,CAKkB,WAAU,SAAqBC,EAAAf,Y,qBAAYgB,EAAAlB,OAAOoB,UAAQ,M","sources":["webpack://cms-web/./app/frontend/src/auth0/sso.js","webpack://cms-web/./app/frontend/src/core/horizons_lightbox/horizons_postregister_lightbox.js","webpack://cms-web/./app/frontend/src/core/horizons_lightbox/horizons_postregister_lightbox.analytics.js","webpack://cms-web/./app/frontend/src/utils/ib_session_fancybox.js","webpack://cms-web/./app/frontend/src/shared/loader_spinner/loader_spinner.js","webpack://cms-web/./app/frontend/src/shared/update_prices/update_prices.js","webpack://cms-web/./app/frontend/src/utils/debug.js","webpack://cms-web/./app/frontend/src/utils/get_real_market_content.js","webpack://cms-web/./app/frontend/src/utils/i18n.js","webpack://cms-web/./app/frontend/src/vue/src/components/AccessibilityButton/AccessibilityButton.vue","webpack://cms-web/./app/frontend/src/vue/src/components/AccessibilityButton/AccessibilityButton.vue?c823"],"sourcesContent":["import cookieCheck from '3rd-cookie-check'\nimport auth0 from 'auth0-js'\n\nimport horizons_postregister_lightbox from '../core/horizons_lightbox/horizons_postregister_lightbox.js'\nimport { readCookie, setCookie } from '../utils/cookie_manager'\nimport on from '../utils/events_delegation'\n\n// Variables to be sent to the Auth0 login view\nconst extraMetrics = [\n 'campaign_content',\n 'campaign_cp_origin',\n 'campaign_cp',\n 'campaign_medium',\n 'campaign_name',\n 'campaign_source',\n 'campaign_term',\n 'cookies_consent', //\n 'device_type',\n 'hotel_headquarter_final',\n 'hotel_headquarter_origin',\n 'page_language',\n 'page_platform',\n 'promo_is_miiberostar',\n 'promo_is_resident',\n 'user_id_horizons', //\n 'user_id',\n 'user_level',\n 'visitor_country_code',\n 'visitor_country',\n 'visitor_depth', //\n 'visitor_has_reservation',\n 'visitor_headquarter_market',\n 'visitor_id', //\n 'visitor_internal_market',\n 'visitor_is_buyer',\n 'visitor_is_logged', //\n 'visitor_is_repeater',\n 'visitor_personalized_tratement',\n 'visitor_recive_advertising',\n 'visitor_recurrence',\n 'visitor_session_count',\n 'visitor_session_id',\n 'visitor_type',\n]\n\nfunction extractProperties(obj, keys) {\n const newObject = {}\n keys.forEach(function (key) {\n if (obj.hasOwnProperty(key)) {\n newObject[key] = obj[key]\n }\n })\n return newObject\n}\n\nfunction getCurrentLocale() {\n let locale = readCookie('locale')\n if (!locale) {\n const languajeSelectorLinks = document.querySelector('ul.js-language-selector-links li.active a')\n locale = languajeSelectorLinks !== null ? languajeSelectorLinks.getAttribute('data-locale') : null\n }\n return locale\n}\n\nexport function auth0Login(register = false) {\n setCookie('prelogin_url', window.location.href)\n\n const webAuth = new auth0.WebAuth({\n domain: AUTH0_CONFIG.custom_domain,\n clientID: AUTH0_CONFIG.clientId,\n redirectUri: AUTH0_CONFIG.redirectUri,\n audience: AUTH0_CONFIG.audience,\n responseType: 'token id_token',\n scope: 'openid profile user_metadata',\n })\n\n let environment = document.querySelector('#environment')?.value\n if (document.querySelector('#environment')?.value === 'development') {\n environment = AUTH0_CONFIG.connection === 'STAGING' ? 'uat' : AUTH0_CONFIG.connection.toLowerCase()\n }\n\n const microsite = document.querySelector('#microsite')?.value\n const backUrl = window.location.href\n .replaceAll(/([\\?&])open=[^&$]+&?/g, '$1') // We replace the open=login parameters to avoid redirection loops\n .replaceAll(/[\\?&]$/g, '') // And then replace & at the end\n const locale = getCurrentLocale()\n\n webAuth.authorize({\n ui_locales: locale,\n application: 'CMS',\n back: backUrl,\n register: register ? '1' : '0',\n environment,\n microsite,\n update_metadata: `${document.location.origin}/update_app_metadata`,\n responseType: 'code',\n extraMetric: extractProperties(window.utag_data, extraMetrics),\n })\n}\n\nexport function auth0UpdateMetadata(locale, microsite, environment) {\n const csrfToken = document.querySelector('[name=csrf-token]').content\n fetch('/update_app_metadata', {\n method: 'POST',\n body: JSON.stringify({ locale, microsite, environment }),\n headers: { 'Content-type': 'application/json; charset=UTF-8', 'X-CSRF-Token': csrfToken },\n })\n .then(r => r.json())\n .catch(error => {\n console.error(`Update metadata error: ${error}`)\n })\n}\n\nfunction checkConfig() {\n return (\n AUTH0_CONFIG.domain.length > 1 &&\n AUTH0_CONFIG.clientId.length > 1 &&\n AUTH0_CONFIG.redirectUri.length > 1 &&\n AUTH0_CONFIG.audience.length > 1\n )\n}\n\nfunction thirdPartyCookieCheck() {\n const loggedMessagesCookie = readCookie('logged_messages')\n const currentUser = loggedMessagesCookie?.includes('true') ? true : false\n const confirmUser = readCookie('auth0_login') !== 'true'\n const microsite = document.querySelector('#microsite')?.value || 'iberostar'\n\n const clientAuth0 = new auth0.WebAuth({\n domain: AUTH0_CONFIG.domain,\n clientID: AUTH0_CONFIG.clientId,\n redirectUri: AUTH0_CONFIG.redirectUri,\n audience: AUTH0_CONFIG.audience,\n connection: AUTH0_CONFIG.connection,\n responseType: 'token id_token',\n scope: 'openid profile user_metadata',\n })\n\n cookieCheck({\n timeout: 3000,\n iframeSrc: 'https://viglesias.github.io/3rdCookieChecker/index.html',\n }).then(function (resultCookieCheck) {\n // Verificamos si viene de APP para no aplicar el checkSession\n const is_app = readCookie('in_app') === 'true'\n const is_simulated = readCookie('simulated_account') === 'true'\n\n if (currentUser && !is_app && !is_simulated && resultCookieCheck.supported) {\n clientAuth0.checkSession(\n {\n audience: AUTH0_CONFIG.audience,\n scope: 'read:current_user',\n },\n function (err) {\n if (err) {\n console.error(`Error checkSession auth0: ${err.description}`)\n // Forzamos el cierre de sesión (este caso pretende forzar el cierre por ejemplo si el usuario ha cerrado sesión en CRS de fomra que vayan acompasados)\n const logout_url = `${window.location.protocol}//${window.location.host}/auth/logout`\n IB.cookieManager.deleteCookies(['logged_messages'])\n window.location.href = logout_url\n }\n }\n )\n } else if (\n (!currentUser || !confirmUser) &&\n microsite !== 'star_agents' &&\n checkConfig() &&\n resultCookieCheck.supported\n ) {\n // Si no hay sesión de rails\n clientAuth0.checkSession({}, function (err, authResult) {\n if (err) {\n console.error(`Error checkSession auth0 (init_session): ${err.description}`)\n IB.cookieManager.deleteCookies(['logged_messages'])\n } else if (authResult) {\n const csrfToken = document.querySelector('[name=csrf-token]').content\n // Si no tiene currentUser, no va a mostrar el formulario de postregisto document.cookie['user_metadata'] y obtiene valores de auth0 authResult\n fetch('/sso_or_postregister', {\n method: 'POST',\n body: JSON.stringify(authResult),\n headers: { 'Content-type': 'application/json; charset=UTF-8', 'X-CSRF-Token': csrfToken },\n })\n .then(r => r.json())\n .then(data => {\n if (data.postregister_form === true) {\n if (document.getElementById('session-tab-registration') === null) {\n horizons_postregister_lightbox()\n }\n } else if (data.redirect_url !== undefined && data.redirect_url !== null) {\n location.href = data.redirect_url\n } else if (data.reload === true) {\n location.reload()\n }\n })\n .catch(error => {\n console.error(`SSO error: ${error}`)\n })\n }\n })\n }\n })\n}\n\nfunction initSSO() {\n setTimeout(() => {\n thirdPartyCookieCheck()\n }, 100)\n // Login - Añadimos la función on incluso en elementos que aún no se han cargado en la carga inicial.\n on({\n eventName: 'click',\n selector: `.js-login-link`,\n handler(e) {\n e.preventDefault()\n auth0Login(false)\n },\n })\n\n document.querySelectorAll('.js-register-link').forEach(link => {\n link.addEventListener('click', function (e) {\n e.preventDefault()\n auth0Login(true)\n })\n })\n\n // Login tras expiración del token\n if (document.querySelector('#auth0_expired_token')?.value === 'true') {\n auth0Login(false)\n }\n\n document.querySelector('#change_password')?.addEventListener('click', function (e) {\n e.preventDefault()\n const webAuth = new auth0.WebAuth({\n domain: AUTH0_CONFIG.custom_domain,\n clientID: AUTH0_CONFIG.clientId,\n redirectUri: AUTH0_CONFIG.redirectUri,\n audience: AUTH0_CONFIG.audience,\n responseType: 'token id_token',\n scope: 'openid profile user_metadata',\n })\n\n const locale = getCurrentLocale()\n const microsite = document.querySelector('#microsite')?.value || 'iberostar'\n const environment = document.querySelector('#environment')?.value\n\n auth0UpdateMetadata(locale, microsite, environment)\n\n let email = document.querySelector('.current-email').innerText\n\n if (\n document.documentElement.dataset.inMicrosite === 'star_agents' &&\n document.querySelector('.edit-user-content #agent_current_code')\n ) {\n email = document.querySelector('.edit-user-content #agent_current_code').value\n }\n // STA - StarAgents\n if (!email) email = document.querySelector('.current-email').value\n\n webAuth.changePassword(\n {\n ui_locales: locale,\n application: 'CMS',\n connection: AUTH0_CONFIG.connection,\n environment,\n microsite,\n email,\n },\n function (err) {\n var text = err ? '#change-password-error' : '#change-password-success'\n\n Modal.showHtml({\n html: document.querySelector(text).outerHTML,\n modalClass: 'multi-modal-full-container',\n onShow: () => {\n ScrollLock.on()\n },\n onClose: () => {\n ScrollLock.off()\n },\n awaitCloseAnimation: true,\n })\n }\n )\n })\n\n // Parameter added to utag_data\n window.utag_data['cookies_consent'] = readCookie('cookies_consent') ? readCookie('cookies_consent') : ''\n\n // Here we check for the open parameter and redirect to auth0 login page\n const TYPE_LIGHTBOX = IB.urlParser.getParam('open')\n const isLogged = IB?.browsing_sessions?.isUserLogged()\n\n if (!isLogged) {\n // Capture microsite value to avoid if registration goes to SSO view\n const microsite = document.querySelector('#microsite')?.value\n\n if (microsite === 'star_agents') return\n\n if (TYPE_LIGHTBOX === 'login') {\n setCookie('prelogin_url', window.location.href)\n auth0Login(false)\n } else if (TYPE_LIGHTBOX === 'register') {\n if (microsite !== 'star_agents') {\n setCookie('prelogin_url', window.location.href)\n auth0Login(true)\n }\n }\n }\n}\n\ndocument.addEventListener('DOMContentLoaded', initSSO)\n","import { getPrefix } from '../../core/utils/locale.js'\nimport { deleteCookies, readCookie } from '../../utils/cookie_manager'\nimport { getLazyData } from '../../utils/get_lazy_data'\nimport { openSessionFancybox } from '../../utils/ib_session_fancybox'\n\nimport { initializeUtagEvents } from './horizons_postregister_lightbox.analytics.js'\n\nfunction cleanSymbols(value) {\n if (/[+%&]/.test(value)) {\n value = value.replace(/[+%&]/g, ' ')\n }\n return value\n}\n\nconst openPostregistrationForm = function postregistration_form() {\n const auth0_postregister_form = readCookie('auth0_postregister_form')\n const user_metadata = readCookie('user_metadata')\n\n if (auth0_postregister_form !== 'true' && user_metadata === null) return\n\n try {\n const prelead_type = cleanSymbols(readCookie('prelead_type'))\n\n if (prelead_type && prelead_type !== null) {\n initializeUtagEvents(prelead_type)\n }\n\n const metadata = readCookie('user_metadata')\n\n // Asegúrate de que metadata no sea nulo antes de parsear\n if (metadata) {\n const metadataAsObject = JSON.parse(decodeURIComponent(metadata))\n let metadataAsUrl = ''\n for (const key in metadataAsObject) {\n metadataAsUrl += `&${key}=${metadataAsObject[key]}`\n }\n const URL_LIGHTBOX = `${getPrefix()}/ajax_contents/lightbox_for_block/?lightbox_type=registration&postregistration=true${metadataAsUrl}`\n\n getLazyData(URL_LIGHTBOX, function (fancyboxHtml) {\n openSessionFancybox(fancyboxHtml, '.register form', {}, true)\n\n // Delete cookie when user cancels post-registration window\n const cancelPostRegister = document.querySelector('.cancel-register')\n cancelPostRegister?.addEventListener('click', () => {\n deleteCookies(['prelead_type'])\n })\n })\n }\n } catch (e) {\n console.log(`Error horizons_postregister_lightbox.js: ${e}`)\n }\n}\n\nexport default openPostregistrationForm\n","import { sendUtagEvent } from '../../core/analytics/utag_events'\nimport { getCleanedString } from '../../utils/utilities'\n\nexport function initializeUtagEvents(eventLabel) {\n sendUtagEvent({\n data: {\n event_name: 'pre_lead',\n event_cat: 'lead',\n event_act: 'pre lead',\n event_lbl: getCleanedString(eventLabel),\n event_purpose: 'loyalty',\n event_structure: 'impression',\n },\n })\n}\n","import { checkloadComponentStyles } from '../../src/lazy_wrappers/lazy_block_lightbox'\n\nexport function openSessionFancybox(fancyboxHtml, formSelector, userData, onlyRegister) {\n $.fancybox.open(fancyboxHtml, {\n trapFocus: false,\n afterShow: () => {\n IB.deviceDetector.loadDeviceDataToForm()\n checkloadComponentStyles()\n },\n })\n if (formSelector === '.login form') {\n document.querySelector('[data-tab=\".js-tab-wrapper#session-tab-login\"]').classList.add('active')\n document.querySelector('[data-tab=\".js-tab-wrapper#session-tab-registration\"]').classList.remove('active')\n if (document.getElementById('session-tab-login')) {\n document.getElementById('session-tab-login').classList.add('active')\n }\n document.getElementById('session-tab-registration').classList.remove('active')\n IB.forms.initValidation($(formSelector))\n } else {\n if (document.querySelector('[data-tab=\".js-tab-wrapper#session-tab-login\"]')) {\n document.querySelector('[data-tab=\".js-tab-wrapper#session-tab-login\"]').classList.remove('active')\n }\n if (document.querySelector('[data-tab=\".js-tab-wrapper#session-tab-registration\"]')) {\n document.querySelector('[data-tab=\".js-tab-wrapper#session-tab-registration\"]').classList.add('active')\n }\n if (document.getElementById('session-tab-login')) {\n document.getElementById('session-tab-login').classList.remove('active')\n }\n if (document.getElementById('session-tab-registration')) {\n document.getElementById('session-tab-registration').classList.add('active')\n }\n IB.forms.initValidation($(formSelector))\n }\n\n if (onlyRegister) {\n if (document.getElementsByClassName('cabecera').length > 0) {\n document.getElementsByClassName('cabecera')[0].remove()\n }\n if (document.getElementById('session-tab-login')) {\n document.getElementById('session-tab-login').remove()\n }\n }\n\n IB.forms.register_form.init()\n IB.formUtagEvents.init()\n const $form = $('.js-login-form form')\n const $required_fields = $form.find('[data-parsley-required]:not([data-parsley-errors-container])')\n const parsley_config = {\n errorsContainer: pe => {\n const $err = pe.$element.closest('.fz-col').find('.fz-error-container')\n return $err\n },\n }\n\n FORMZ.required_fields.init($required_fields)\n $form.parsley(parsley_config)\n}\n","const $body = document.querySelector('body')\nconst $loaderBlock = document.querySelector('.js-loader')\nconst SPINNER_ALLOWED_COLORS = ['primary', 'grey']\n\n/**\n * Loader spinner management\n *\n * @param {object} [container] - container where spinner will be appended\n * @param {string} [title] - title of the loader\n * @param {string} [subtitle] - subtitle of the loader\n * @param {string} [extraClass] - class to add to loader container\n * @param {number} [spinnerSize] - size of the spinner in px\n * @param {string} [spinnerColor='grey'] - color of the spinner (must be in SPINNER_ALLOWED_COLORS), grey by default.\n *\n * @example\n * // Show loaderSpinner in a specific container\n * loaderSpinner.show({\n * container: document.querySelector('.js-booking-container')\n * title: 'Wait a second',\n * subtitle: 'We are looking for the best price',\n * spinnerSize: 200,\n * spinnerColor: 'grey'\n * })\n *\n * // Hide loaderSpinner shown in a specific container\n * loaderSpinner.hide({\n * container: document.querySelector('.js-booking-container')\n * })\n *\n * // Show loaderSpinner in body at fullscreen (no container)\n * loaderSpinner.show()\n *\n * // Hide any loaderSpinner in page\n * loaderSpinner.hide()\n */\n\nconst loaderSpinner = () => {\n const show = (\n { container = $body, title, subtitle, spinnerSize, spinnerColor, extraClass } = { container: $body }\n ) => {\n if (!$loaderBlock) return\n\n const $newLoader = $loaderBlock.cloneNode(true)\n const $spinner = $newLoader.querySelector('.js-spinner svg')\n\n $newLoader.classList.add('js-loader-cloned')\n extraClass && $newLoader.classList.add(...extraClass.split(' '))\n\n // Set loader style\n $newLoader.classList.add(container === $body ? 'b-loader--fullscreen' : 'b-loader--default')\n // Remove legacy classes\n $newLoader.classList.remove('is-hidden', 'hidden', 'fixed')\n\n // Update texts\n if (title) {\n const $title = $newLoader.querySelector('.js-loader-title')\n if ($title) {\n $title.classList.remove('is-hidden', 'hidden')\n $title.textContent = title\n }\n }\n if (subtitle) {\n const $subtitle = $newLoader.querySelector('.js-loader-subtitle')\n if ($subtitle) {\n $subtitle.classList.remove('is-hidden', 'hidden')\n $subtitle.textContent = subtitle\n }\n }\n\n // Update spinner\n spinnerSize && ($spinner.style.width = `${spinnerSize}px`) && ($spinner.style.height = `${spinnerSize}px`)\n spinnerColor &&\n SPINNER_ALLOWED_COLORS.includes(spinnerColor) &&\n $spinner.classList.add(`b-loader__spinner--${spinnerColor}`)\n\n // Append to container\n container.append($newLoader)\n }\n\n const hide = ({ container = document } = { container: document }) => {\n container.querySelectorAll('.js-loader-cloned').forEach(loaderItem => {\n loaderItem.remove()\n })\n }\n\n return {\n show,\n hide,\n }\n}\n\nexport default loaderSpinner()\n","import { readCookie } from '../../utils/cookie_manager'\n\nconst user_resident = readCookie('resident')\nlet currency = readCookie('currency')\n\nif (typeof currency === 'undefined' || currency === null) {\n currency = 'DEF'\n}\n\nfunction isResident(resident_type) {\n return user_resident !== undefined && resident_type !== undefined && user_resident == resident_type\n}\n\nexport function updatePricesInfo() {\n $.each($('.price-info'), function (index, element) {\n const $this = $(this)\n const base_price = parseInt($this.data('base-price'))\n const resident_price = parseInt($this.data('resident-price'))\n const resident_type = $this.data('resident-type')\n let final_price = parseInt($this.data('price'))\n\n if (\n isResident(resident_type) &&\n resident_price !== null &&\n typeof resident_price !== 'undefined' &&\n !isNaN(resident_price)\n ) {\n final_price = resident_price\n }\n if (final_price < base_price) {\n const $text = $($this.find('[data-now-text]')[0])\n const text = $text.data('now-text')\n $text.text(text)\n // Cambiamos el data para la ordenación\n $this.closest('div.card').attr('data-price', final_price)\n\n // Texto 'desde' en ofertas\n $this.find('p.text-before-price').hide()\n } else {\n $this.find('.price-before, [data-price-before]').hide()\n }\n\n // remove prices skeleton\n $this.closest('.call-to-action').find('.price-info-fake').remove()\n })\n}\n","// Returns true if Debug is enabled (only in development mode)\nexport const isDebugEnabled = () => document.documentElement.dataset.debug === 'true'\n\n// Returns true if debug console is enabled (only in development mode)\nexport const isDebugConsoleEnabled = () => document.documentElement.dataset.debugConsole === 'true'\n","import { isDebugConsoleEnabled } from './debug'\nimport { getLang, getLangPrefix } from './i18n'\n\n/**\n * Retrieves real market content based on the provided parameters.\n * @param {Object} options - The options object.\n * @param {string} options.contentName - The name of the content.\n * @param {string} options.blockId - The ID of the block.\n * @param {string} options.constrainedViewId - The ID of the constrained view.\n * @param {string} options.additionalParams - If provided, it will be appended to the query string.\n * @returns {Promise} A promise that resolves to the retrieved data or rejects with an error.\n * @example\n * getRealMarketContent({ contentName: 'menu_offers' }).then(response => {\n * const container = document.querySelector('.js-container')\n * container.outerHTML = response.html_replacement\n * })\n */\nconst getRealMarketContent = ({ contentName, blockId, constrainedViewId, additionalParams = '' } = {}) => {\n const showErrorMessage = errorMessage => {\n // show console messages only in debug mode\n if (isDebugConsoleEnabled && errorMessage) {\n // eslint-disable-next-line no-console\n console.warn(`[Update with real market]: ${errorMessage}`)\n }\n }\n\n // Check if real market is already applied (data-is-real-market present in body)\n if ('isRealMarket' in document.body.dataset) {\n showErrorMessage('real market is already applied')\n return Promise.reject('alreadyApplied')\n }\n\n // Check presence of required params\n if (\n (!contentName && !blockId) ||\n (contentName && blockId) ||\n (blockId && !constrainedViewId) ||\n (!blockId && constrainedViewId)\n ) {\n // show console messages only in debug mode\n let msg = ''\n if (!contentName && !blockId) {\n msg = 'request could not be performed because neither contentName nor blockId has been provided'\n } else if (contentName && blockId) {\n msg = 'request could not be performed because both contentName and blockId have been provided'\n } else if (blockId && !constrainedViewId) {\n msg = 'request could not be performed because blockId has been provided but not constrainedViewId'\n } else if (!blockId && constrainedViewId) {\n msg = 'request could not be performed because constrainedViewId has been provided but not blockId'\n }\n\n showErrorMessage(msg)\n return Promise.reject(new Error(msg))\n }\n\n const currentLang = getLang()\n const urlPrefix = getLangPrefix().replace('/', '')\n\n const urlParams = new URLSearchParams(window.location.search)\n const aac = urlParams.get('AAC') || urlParams.get('aac')\n\n if (aac) {\n additionalParams = additionalParams ? `${additionalParams}&AAC=${aac}` : `AAC=${aac}`\n }\n\n const urlBlockParams = contentName\n ? `content_name=${contentName}`\n : `block_id=${blockId}&constrained_view_id=${constrainedViewId}`\n const otherParams = additionalParams ? `&${additionalParams}` : ''\n\n let simulate_market = get_simulated_market();\n const simulate_market_parameter = typeof simulate_market != 'undefined' ? `&simulate_market=${simulate_market}` : ``\n\n const getMarketContentUrl = `/${\n urlPrefix ? `${urlPrefix}/` : ''\n }get_market_content?lang=${currentLang}&${urlBlockParams}${otherParams}${simulate_market_parameter}`\n\n return fetch(getMarketContentUrl)\n .then(response => {\n if (!response.ok) {\n throw new Error(`[Update with real market] Error in API response: ${response.status} ${response.statusText}`)\n }\n return response.json()\n })\n .catch(error => {\n console.error(error)\n throw error\n })\n}\n\nfunction getParameters() {\n let vars = {};\n let parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) {\n vars[key] = value;\n });\n return vars;\n}\n\nlet get_simulated_market = function () {\n let market = getParameters()['simulate_market'];\n return market;\n};\n\nexport const dispatchRealMarketContentUpdatedEvent = ({ blockSelector, blockName } = {}) => {\n // Check presence of required params\n if (!blockSelector || !blockName) {\n console.error(\n '[Update with real market]: event could not be dispatched because blockSelector or blockName has not been provided'\n )\n return\n }\n\n const event = new CustomEvent(`html-updated:${blockName}`, {\n detail: blockSelector,\n })\n\n document.dispatchEvent(event)\n}\n\nexport default getRealMarketContent\n","export const getLang = () => document.documentElement.dataset.jsLang\n\nexport const getLangPrefix = () => document.documentElement.getAttribute('prefix')\n","\n\n\n","import { render } from \"./AccessibilityButton.vue?vue&type=template&id=19902247\"\nimport script from \"./AccessibilityButton.vue?vue&type=script&lang=js\"\nexport * from \"./AccessibilityButton.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["extraMetrics","extractProperties","obj","keys","newObject","forEach","key","hasOwnProperty","getCurrentLocale","locale","readCookie","languajeSelectorLinks","document","querySelector","getAttribute","auth0Login","register","arguments","length","undefined","setCookie","window","location","href","webAuth","auth0","domain","AUTH0_CONFIG","custom_domain","clientID","clientId","redirectUri","audience","responseType","scope","environment","value","connection","toLowerCase","microsite","backUrl","replaceAll","authorize","ui_locales","application","back","update_metadata","origin","extraMetric","utag_data","thirdPartyCookieCheck","loggedMessagesCookie","currentUser","includes","confirmUser","clientAuth0","cookieCheck","timeout","iframeSrc","then","resultCookieCheck","is_app","is_simulated","supported","checkSession","err","console","error","description","logout_url","protocol","host","IB","cookieManager","deleteCookies","authResult","csrfToken","content","fetch","method","body","JSON","stringify","headers","r","json","data","postregister_form","getElementById","horizons_postregister_lightbox","redirect_url","reload","catch","addEventListener","setTimeout","on","eventName","selector","handler","e","preventDefault","querySelectorAll","link","auth0UpdateMetadata","email","innerText","documentElement","dataset","inMicrosite","changePassword","text","Modal","showHtml","html","outerHTML","modalClass","onShow","ScrollLock","onClose","off","awaitCloseAnimation","TYPE_LIGHTBOX","urlParser","getParam","isLogged","browsing_sessions","isUserLogged","auth0_postregister_form","user_metadata","eventLabel","prelead_type","test","replace","sendUtagEvent","event_name","event_cat","event_act","event_lbl","getCleanedString","event_purpose","event_structure","metadata","metadataAsObject","parse","decodeURIComponent","metadataAsUrl","URL_LIGHTBOX","getPrefix","getLazyData","fancyboxHtml","formSelector","userData","onlyRegister","$","fancybox","open","trapFocus","afterShow","deviceDetector","loadDeviceDataToForm","checkloadComponentStyles","classList","add","remove","forms","initValidation","getElementsByClassName","register_form","init","formUtagEvents","$form","$required_fields","find","FORMZ","required_fields","parsley","errorsContainer","pe","$element","closest","openSessionFancybox","cancelPostRegister","log","$body","$loaderBlock","SPINNER_ALLOWED_COLORS","show","container","title","subtitle","spinnerSize","spinnerColor","extraClass","$newLoader","cloneNode","$spinner","split","$title","textContent","$subtitle","style","width","height","append","hide","loaderItem","user_resident","currency","updatePricesInfo","each","index","element","$this","this","base_price","parseInt","resident_price","resident_type","final_price","isResident","isNaN","$text","attr","isDebugConsoleEnabled","debugConsole","get_simulated_market","vars","m","getParameters","dispatchRealMarketContentUpdatedEvent","blockSelector","blockName","event","CustomEvent","detail","dispatchEvent","contentName","blockId","constrainedViewId","additionalParams","showErrorMessage","errorMessage","warn","Promise","reject","msg","Error","currentLang","jsLang","urlPrefix","urlParams","URLSearchParams","search","aac","get","urlBlockParams","otherParams","simulate_market","response","ok","status","statusText","_createElementVNode","class","name","props","config","Object","isA11y","a11y","isAdaActivated","methods","toggleAdaMode","onAdaButtonClick","mounted","is_in_microsite","_createElementBlock","onClick","_cache","$options","_hoisted_1","_hoisted_2","_normalizeClass","$data","$props","increase","decrease"],"sourceRoot":""}