window.firstImageLoaded = false; window.muted = true; // TODO: when change to javascript check URL param window.queryString = window.location.search; window.urlParams = new URLSearchParams(queryString); window.anaglyph = false; const anaglyphParam = urlParams.get('anaglyph'); if (anaglyphParam) { window.anaglyph = anaglyphParam === 'yes'; } window.photos = [{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FY4XTOoVr2oXFe20IQyu0XqxfDX23%2F4844872345321472%2F0122jpg-1724261034943.jpg&uploadType=resumable&upload_id=AHxI1nMuEjubv45tK_dCGEz_IMyQHTXvl1JM21byHj04ndjX6O5zfnRZZIq5THiVz5fpgmHKJsmFCS_UIWDlBYZitL962txQGMseCERHKm-fMROYFQ","image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/0122jpg-1724261034943.jpg","rotation":172.9186625704824,"thumbnail_gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_0122jpg-1724261034943.jpg","title":"Apto","version":"v4","gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/0122jpg-1724261034943.jpg","filename":"01-nuevo-diasjpg-1724205885126.jpg","folder":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472","thumbnail_image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_0122jpg-1724261034943.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-08-21T02:04:45.127Z","updated_date":"2024-08-21T02:04:45.127Z","id":"4676332753518592","sort_order":3,"status":"active","has_anaglyph":false,"index":0},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FY4XTOoVr2oXFe20IQyu0XqxfDX23%2F4844872345321472%2Fpanoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg&uploadType=resumable&upload_id=AHxI1nPQVjN5yG8RkNRMSF3xi4XMyAXxXmN2oFWBA2T99linu6DjRrqC1NrtHf60HNu-7AZBg0TKXOtNBO7-fClr0kFrrLNVf42frkgoRU2DuTurmw","image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","rotation":-253.24734544782402,"thumbnail_gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","title":"Bathroom","version":"v4","gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","filename":"bano-nuevo-02jpg-1724206056852.jpg","folder":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472","thumbnail_image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-08-21T02:07:36.853Z","updated_date":"2024-08-21T02:07:36.853Z","id":"5511926291365888","sort_order":3,"status":"active","has_anaglyph":false,"index":1}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4676332753518592":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FY4XTOoVr2oXFe20IQyu0XqxfDX23%2F4844872345321472%2F0122jpg-1724261034943.jpg&uploadType=resumable&upload_id=AHxI1nMuEjubv45tK_dCGEz_IMyQHTXvl1JM21byHj04ndjX6O5zfnRZZIq5THiVz5fpgmHKJsmFCS_UIWDlBYZitL962txQGMseCERHKm-fMROYFQ","image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/0122jpg-1724261034943.jpg","rotation":172.9186625704824,"thumbnail_gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_0122jpg-1724261034943.jpg","title":"Apto","version":"v4","gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/0122jpg-1724261034943.jpg","filename":"01-nuevo-diasjpg-1724205885126.jpg","folder":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472","thumbnail_image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_0122jpg-1724261034943.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-08-21T02:04:45.127Z","updated_date":"2024-08-21T02:04:45.127Z","id":"4676332753518592","sort_order":3,"status":"active","has_anaglyph":false,"index":0},"5511926291365888":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FY4XTOoVr2oXFe20IQyu0XqxfDX23%2F4844872345321472%2Fpanoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg&uploadType=resumable&upload_id=AHxI1nPQVjN5yG8RkNRMSF3xi4XMyAXxXmN2oFWBA2T99linu6DjRrqC1NrtHf60HNu-7AZBg0TKXOtNBO7-fClr0kFrrLNVf42frkgoRU2DuTurmw","image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","rotation":-253.24734544782402,"thumbnail_gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","title":"Bathroom","version":"v4","gcs_filename":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","filename":"bano-nuevo-02jpg-1724206056852.jpg","folder":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472","thumbnail_image_url":"/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_panoramaaprto-012024-08-20-22-41-52jpg-1724261060927.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-08-21T02:07:36.853Z","updated_date":"2024-08-21T02:07:36.853Z","id":"5511926291365888","sort_order":3,"status":"active","has_anaglyph":false,"index":1}}; if (window.is_static) { window.photosRoot = 'https://storage.googleapis.com/orbix360-prod-images'; // TODO: after we create all the local schema/template folders, change this to empty string window.pluginsRoot = 'plugins/'; } else { window.photosRoot = 'https://storage.googleapis.com/orbix360-prod-images'; window.pluginsRoot = 'https://storage.googleapis.com/orbix360-prod-plugins/'; } window.minterUrl = 'https://minter.orbix360.com'; window.tourId = "4844872345321472"; window.tourUid = "Y4XTOoVr2oXFe20IQyu0XqxfDX23"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "prueba-cantidad"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "nQ80LzrS4"; window.room = ''; window.mask = ''; window.current_image_index = 0; // todo: use photo object instead of correlated arrays window.nextImageToLoad = 1; window.photo_indexes = {}; window.im = false; window.photo_indexes['4676332753518592'] = 0; window.current_image_index = 0; window.current_image_id = 4676332753518592 window.photo_indexes['5511926291365888'] = 1; window.current_info_hotspot = null; window.current_explore_page = 1; let savedCurrentExplorePage = window.localStorage.getItem('current_explore_page'); if (savedCurrentExplorePage) { window.current_explore_page = Number(savedCurrentExplorePage); } window.current_explore_filter = 'featured'; let savedCurrentExploreFilter = window.localStorage.getItem('current_explore_filter'); if (savedCurrentExploreFilter) { window.current_explore_filter = savedCurrentExploreFilter; } window.user_profile_image = 'https://lh3.googleusercontent.com/a/AEdFTp6qFN1u1rwFwlv7bTDi89fB0kLQ20QvOVos8ysY=s96-c'; window.user_profile_name = 'Raul Espinoza'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/Y4XTOoVr2oXFe20IQyu0XqxfDX23/4844872345321472/thumb_0122jpg-1724261034943.jpg.play.jpg'; window.image_url_root = 'https://storage.googleapis.com/orbix360-prod-images'; window.cloudFunctionsRoot = 'https://us-central1-orbix360-prod.cloudfunctions.net'; window.timeSinceRestartRotation = 0; window.initialState = {"orbs":[{"infoHotspots":[],"id":4676332753518592,"hotspots":[{"toTitle":"Bathroom","from":4676332753518592,"id":"hotspot_4676332753518592_5511926291365888","to":5511926291365888,"position":{"x":-0.08493088315980665,"y":0.018641329518283678,"z":-0.9962124501929727}}]},{"infoHotspots":[],"id":5511926291365888,"hotspots":[{"toTitle":"Apto","from":5511926291365888,"id":"hotspot_5511926291365888_4676332753518592","to":4676332753518592,"position":{"x":0.18269822598936258,"y":0.12983137773284983,"z":-0.9745589625960709}}]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = false; window.upgradeCheckoutSessionStatus = ''; window.isPro = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete'); window.nadirLogoURL = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete') ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;