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 = [{"filename":"baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":4,"status":"active","created_date":"2024-12-22T14:46:40.073Z","updated_date":"2024-12-22T14:46:40.073Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2Fbaae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg&uploadType=resumable&upload_id=AFiumC5OahBLK8kRUV4gb0cEfsjYYrSU1sB2I4dAMUYMazpKonzLxYdSfbYizFJyUtP-eZLZtqc5zDc9xbpEewNn4x-Segt3UnTMxl1ZdzsUgA","id":"4785168063660032","title":"exterior","has_anaglyph":false,"index":0},{"filename":"0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":1,"status":"active","created_date":"2024-12-22T14:46:40.079Z","updated_date":"2024-12-22T14:46:40.079Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2F0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg&uploadType=resumable&upload_id=AFiumC6onx1XvbHRV6IVO7kVAbdo0yhnWPPIRCAcwCXnfb2OdYZduUBAQpTHa-2iocdtwEdShKrkwlzbBPjMAZCebCh3Jlwh4L1Qj26AmtLAs4Q","id":"5022131106611200","title":"loung","has_anaglyph":false,"index":1},{"filename":"1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":3,"status":"active","created_date":"2024-12-22T14:46:40.203Z","updated_date":"2024-12-22T14:46:40.203Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2F1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg&uploadType=resumable&upload_id=AFiumC6kV28zxQbHrPUN3xsqEll6qtEpiZfNRLsHbpmKdOLryoJLRJ4rnCzPk8NQsoHo-oXR0j9b_qch3-oZi0ZnwN4su1AszjrThVxjFgprlA","id":"4773442467397632","title":"bedroom","has_anaglyph":false,"index":2},{"filename":"5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":2,"status":"active","created_date":"2024-12-22T14:46:40.107Z","updated_date":"2024-12-22T14:46:40.107Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2F5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg&uploadType=resumable&upload_id=AFiumC6NqUhWkrf9MIRIpW-0XQ3YHz4-_1-TrYAgr9jv5LVnIOV4XEz9aQuyyASAvmwHnduLa1PZJDsxDHiWciA8_5PfG6flqr1ij3HzE0ILi2A","id":"5919131377336320","title":"2nd floor","has_anaglyph":false,"index":3},{"filename":"wechatimg466jpg-1734880110953.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/wechatimg466jpg-1734880110953.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/wechatimg466jpg-1734880110953.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_wechatimg466jpg-1734880110953.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_wechatimg466jpg-1734880110953.jpg","rotation":0,"photo_type":"","is_stereo":false,"sort_order":5,"status":"active","created_date":"2024-12-22T15:08:30.954Z","updated_date":"2024-12-22T15:08:30.954Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2Fwechatimg466jpg-1734880110953.jpg&uploadType=resumable&upload_id=AFiumC7MmlQecChDGaWZ5kJoXJ2BYlhBjrWCDDLEl-8nQ_1rbLC8q270zjemaUCFlM4TTzHfV-DiJngnuqHM7-s7BXddWuxxlaaunyCUT3SHt9M","id":"4883271894695936","has_anaglyph":false,"index":4,"title":"Photo 5"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5022131106611200":{"filename":"0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":1,"status":"active","created_date":"2024-12-22T14:46:40.079Z","updated_date":"2024-12-22T14:46:40.079Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2F0efcd00f0be27893b25415c9b1335299jpg-1734878800078.jpg&uploadType=resumable&upload_id=AFiumC6onx1XvbHRV6IVO7kVAbdo0yhnWPPIRCAcwCXnfb2OdYZduUBAQpTHa-2iocdtwEdShKrkwlzbBPjMAZCebCh3Jlwh4L1Qj26AmtLAs4Q","id":"5022131106611200","title":"loung","has_anaglyph":false,"index":1},"5919131377336320":{"filename":"5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":2,"status":"active","created_date":"2024-12-22T14:46:40.107Z","updated_date":"2024-12-22T14:46:40.107Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2F5d04faf5653c88daa3fe7224328bb50djpg-1734878800106.jpg&uploadType=resumable&upload_id=AFiumC6NqUhWkrf9MIRIpW-0XQ3YHz4-_1-TrYAgr9jv5LVnIOV4XEz9aQuyyASAvmwHnduLa1PZJDsxDHiWciA8_5PfG6flqr1ij3HzE0ILi2A","id":"5919131377336320","title":"2nd floor","has_anaglyph":false,"index":3},"4773442467397632":{"filename":"1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":3,"status":"active","created_date":"2024-12-22T14:46:40.203Z","updated_date":"2024-12-22T14:46:40.203Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2F1566250d6291c6f6341382e6e7880ee1jpg-1734878800200.jpg&uploadType=resumable&upload_id=AFiumC6kV28zxQbHrPUN3xsqEll6qtEpiZfNRLsHbpmKdOLryoJLRJ4rnCzPk8NQsoHo-oXR0j9b_qch3-oZi0ZnwN4su1AszjrThVxjFgprlA","id":"4773442467397632","title":"bedroom","has_anaglyph":false,"index":2},"4785168063660032":{"filename":"baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg","rotation":0,"photo_type":"360_pano","is_stereo":false,"sort_order":4,"status":"active","created_date":"2024-12-22T14:46:40.073Z","updated_date":"2024-12-22T14:46:40.073Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2Fbaae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.jpg&uploadType=resumable&upload_id=AFiumC5OahBLK8kRUV4gb0cEfsjYYrSU1sB2I4dAMUYMazpKonzLxYdSfbYizFJyUtP-eZLZtqc5zDc9xbpEewNn4x-Segt3UnTMxl1ZdzsUgA","id":"4785168063660032","title":"exterior","has_anaglyph":false,"index":0},"4883271894695936":{"filename":"wechatimg466jpg-1734880110953.jpg","folder":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920","gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/wechatimg466jpg-1734880110953.jpg","image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/wechatimg466jpg-1734880110953.jpg","thumbnail_gcs_filename":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_wechatimg466jpg-1734880110953.jpg","thumbnail_image_url":"/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_wechatimg466jpg-1734880110953.jpg","rotation":0,"photo_type":"","is_stereo":false,"sort_order":5,"status":"active","created_date":"2024-12-22T15:08:30.954Z","updated_date":"2024-12-22T15:08:30.954Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F0V6VyC4EM1TzfsoiRYPoDimPQpg2%2F6380257982545920%2Fwechatimg466jpg-1734880110953.jpg&uploadType=resumable&upload_id=AFiumC7MmlQecChDGaWZ5kJoXJ2BYlhBjrWCDDLEl-8nQ_1rbLC8q270zjemaUCFlM4TTzHfV-DiJngnuqHM7-s7BXddWuxxlaaunyCUT3SHt9M","id":"4883271894695936","has_anaglyph":false,"index":4,"title":"Photo 5"}}; 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 = "6380257982545920"; window.tourUid = "0V6VyC4EM1TzfsoiRYPoDimPQpg2"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "nimbus"; window.template = '360_pano'; window.template_category = ''; window.tourShortCode = "IGeb2EfWP"; 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['4785168063660032'] = 0; window.current_image_index = 0; window.current_image_id = 4785168063660032 window.photo_indexes['5022131106611200'] = 1; window.photo_indexes['4773442467397632'] = 2; window.photo_indexes['5919131377336320'] = 3; window.photo_indexes['4883271894695936'] = 4; 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/ACg8ocI4TCGtCxcbIiLTH0MnbkT-v9elq41QU14XwVc72OFqFHYKxw=s96-c'; window.user_profile_name = 'Jingze Wang'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/0V6VyC4EM1TzfsoiRYPoDimPQpg2/6380257982545920/thumb_baae96c573bf336b7b9eeccdb11921f2jpg-1734878800072.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 = {"versionNumber":3,"autorotate":{"enabled":false},"orbs":[{"id":4785168063660032,"hotspots":[{"id":"hotspot_4785168063660032_5022131106611200","from":4785168063660032,"to":5022131106611200,"position":{"x":-0.022805152854553295,"y":-0.08056755771220157,"z":-0.9964882305614913},"toTitle":"loung"}],"infoHotspots":[]},{"id":5022131106611200,"hotspots":[{"id":"hotspot_5022131106611200_4773442467397632","from":5022131106611200,"to":4773442467397632,"position":{"x":0.3114793439164824,"y":-0.031209079452725344,"z":-0.9497402864325968},"toTitle":"bedroom"}],"infoHotspots":[]},{"id":4773442467397632,"hotspots":[{"id":"hotspot_4773442467397632_5919131377336320","from":4773442467397632,"to":5919131377336320,"position":{"x":-0.7835315154513678,"y":-0.12409948116896567,"z":-0.6088330502429022},"toTitle":"2nd floor"}],"infoHotspots":[]},{"id":5919131377336320,"hotspots":[{"id":"hotspot_5919131377336320_4883271894695936","from":5919131377336320,"to":4883271894695936,"position":{"x":-0.8981507946734867,"y":-0.12338065319913195,"z":-0.42202175825843374},"toTitle":"Photo 5"}],"infoHotspots":[]},{"id":4883271894695936,"hotspots":[],"infoHotspots":[]}]}; 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;