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%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F6357632304545792%2F01-gs2647jpg-1726078579875.JPG&uploadType=resumable&upload_id=AD-8ljvIpnMXORGKVA8Nm-xJKSuC2XIGOph-qXTXF5VozT4QE3kUMeRpUiHGBMNRClC_-WyDlQhS3Bdfjj5_4AoqaNqCkK5QJj7Qj5rMlEu0X4pkfQ","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/01-gs2647jpg-1726078579875.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_01-gs2647jpg-1726078579875.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/01-gs2647jpg-1726078579875.JPG","filename":"01-gs2647jpg-1726078579875.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_01-gs2647jpg-1726078579875.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-11T18:16:19.875Z","updated_date":"2024-09-11T18:16:19.875Z","sort_order":1,"status":"active","id":"5389704608350208","has_anaglyph":false,"index":0,"title":"Photo 1"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F6357632304545792%2F02-gs2648jpg-1726078580025.JPG&uploadType=resumable&upload_id=AD-8ljtfcapgwm3zkTmoYbMSNU_tWmzyWFR_Tw_ddf6UddzY1QAL8IVA4puXl0CFo04LngCdOx726TC0GXfWOaTvOUVhC-iD0xJd9LrQQYsoHTPrWQ","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/02-gs2648jpg-1726078580025.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_02-gs2648jpg-1726078580025.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/02-gs2648jpg-1726078580025.JPG","filename":"02-gs2648jpg-1726078580025.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_02-gs2648jpg-1726078580025.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-11T18:16:20.026Z","updated_date":"2024-09-11T18:16:20.026Z","sort_order":2,"status":"active","id":"5311619057844224","has_anaglyph":false,"index":1,"title":"Photo 2"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F6357632304545792%2F03-gs2649jpg-1726078579876.JPG&uploadType=resumable&upload_id=AD-8ljudJtTm0YWpNiju9QbwXkKrIupa7jmG4d9Y3TB--kIGSHH0FMhJNRVUjWcLvXAlX_XCPx-tISXMHA5dwj7w7LIuuvtRM6hdXXr6R0Q39vk7","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/03-gs2649jpg-1726078579876.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_03-gs2649jpg-1726078579876.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/03-gs2649jpg-1726078579876.JPG","filename":"03-gs2649jpg-1726078579876.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_03-gs2649jpg-1726078579876.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-11T18:16:19.877Z","updated_date":"2024-09-11T18:16:19.877Z","sort_order":3,"status":"active","id":"6395847581368320","has_anaglyph":false,"index":2,"title":"Photo 3"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5389704608350208":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F6357632304545792%2F01-gs2647jpg-1726078579875.JPG&uploadType=resumable&upload_id=AD-8ljvIpnMXORGKVA8Nm-xJKSuC2XIGOph-qXTXF5VozT4QE3kUMeRpUiHGBMNRClC_-WyDlQhS3Bdfjj5_4AoqaNqCkK5QJj7Qj5rMlEu0X4pkfQ","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/01-gs2647jpg-1726078579875.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_01-gs2647jpg-1726078579875.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/01-gs2647jpg-1726078579875.JPG","filename":"01-gs2647jpg-1726078579875.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_01-gs2647jpg-1726078579875.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-11T18:16:19.875Z","updated_date":"2024-09-11T18:16:19.875Z","sort_order":1,"status":"active","id":"5389704608350208","has_anaglyph":false,"index":0,"title":"Photo 1"},"5311619057844224":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F6357632304545792%2F02-gs2648jpg-1726078580025.JPG&uploadType=resumable&upload_id=AD-8ljtfcapgwm3zkTmoYbMSNU_tWmzyWFR_Tw_ddf6UddzY1QAL8IVA4puXl0CFo04LngCdOx726TC0GXfWOaTvOUVhC-iD0xJd9LrQQYsoHTPrWQ","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/02-gs2648jpg-1726078580025.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_02-gs2648jpg-1726078580025.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/02-gs2648jpg-1726078580025.JPG","filename":"02-gs2648jpg-1726078580025.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_02-gs2648jpg-1726078580025.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-11T18:16:20.026Z","updated_date":"2024-09-11T18:16:20.026Z","sort_order":2,"status":"active","id":"5311619057844224","has_anaglyph":false,"index":1,"title":"Photo 2"},"6395847581368320":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FpEDcWIlnlHMJAvMFDqH4FZbQlCo2%2F6357632304545792%2F03-gs2649jpg-1726078579876.JPG&uploadType=resumable&upload_id=AD-8ljudJtTm0YWpNiju9QbwXkKrIupa7jmG4d9Y3TB--kIGSHH0FMhJNRVUjWcLvXAlX_XCPx-tISXMHA5dwj7w7LIuuvtRM6hdXXr6R0Q39vk7","image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/03-gs2649jpg-1726078579876.JPG","rotation":0,"thumbnail_gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_03-gs2649jpg-1726078579876.JPG","version":"v3","gcs_filename":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/03-gs2649jpg-1726078579876.JPG","filename":"03-gs2649jpg-1726078579876.JPG","folder":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792","thumbnail_image_url":"/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_03-gs2649jpg-1726078579876.JPG","is_stereo":false,"photo_type":"360_mono","created_date":"2024-09-11T18:16:19.877Z","updated_date":"2024-09-11T18:16:19.877Z","sort_order":3,"status":"active","id":"6395847581368320","has_anaglyph":false,"index":2,"title":"Photo 3"}}; 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 = "6357632304545792"; window.tourUid = "pEDcWIlnlHMJAvMFDqH4FZbQlCo2"; window.customUrl = ""; window.tourSlug = "double-arch"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "kwOZQ9j-7"; 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['5389704608350208'] = 0; window.current_image_index = 0; window.current_image_id = 5389704608350208 window.photo_indexes['5311619057844224'] = 1; window.photo_indexes['6395847581368320'] = 2; 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 = '/images/profile-icon.png'; window.user_profile_name = 'Rob Andres'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/6357632304545792/thumb_01-gs2647jpg-1726078579875.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":5389704608350208,"hotspots":[]},{"infoHotspots":[],"id":5311619057844224,"hotspots":[]},{"infoHotspots":[],"id":6395847581368320,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":2}; window.brandingAllowed = true; window.upgradeCheckoutSessionStatus = ''; window.isPro = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete'); window.nadirLogoURL = (window.brandingAllowed || window.upgradeCheckoutSessionStatus == 'complete') ? 'https://storage.googleapis.com/orbix360-prod-images/users/pEDcWIlnlHMJAvMFDqH4FZbQlCo2/branding/nadir-1725321537386.png' : '/images/orbix_nadir.png'; window.editMode = false;