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 = [{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_big2jpg-1559687972537.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F5175609361694720%2Fbig2jpg-1559687972537.jpg&uploadType=resumable&upload_id=AEnB2UoCA5R1Tiq1zdNstWn8aVpuE6CBelwsnLWIvCg2ddHSNQKSYlmlbOd4xGkbuBhaiPs-1ADGSekSny4dgX8aX6-NL6HRYVJvRVjT61iYil-6wvc2fNI","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/big2jpg-1559687972537.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_big2jpg-1559687972537.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/big2jpg-1559687972537.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720","filename":"big2jpg-1559687972537.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_big2jpg-1559687972537.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_big2jpg-1559687972537.jpg","photo_type":"360_mono","updated_date":"2019-06-04T22:39:32.540Z","created_date":"2019-06-04T22:39:32.540Z","sort_order":1,"status":"active","id":"5116044574195712","has_anaglyph":false,"index":0,"title":"Photo 1"},{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_cardboard_test_adjustjpg-1559689368305.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F5175609361694720%2Fcardboard_test_adjustjpg-1559689368305.jpg&uploadType=resumable&upload_id=AEnB2UpzlmHcMriHWzcIfzFE-mZJiVsrKAlhy2ciMmBEMGVNNPvu38tFahGQUDBz0RS-YLi1WfUAZFdw1nrh-oVQ03Fo153hkCrGfnM8lpjDVjFG-gs56H8","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/cardboard_test_adjustjpg-1559689368305.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_cardboard_test_adjustjpg-1559689368305.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/cardboard_test_adjustjpg-1559689368305.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720","filename":"cardboard_test_adjustjpg-1559689368305.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_cardboard_test_adjustjpg-1559689368305.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_cardboard_test_adjustjpg-1559689368305.jpg","photo_type":"360_mono","updated_date":"2019-06-04T23:02:48.306Z","created_date":"2019-06-04T23:02:48.306Z","sort_order":1,"status":"active","id":"5127634040127488","has_anaglyph":false,"index":1,"title":"Photo 2"},{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_bigjpg-1559686413142.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F5175609361694720%2Fbigjpg-1559686413142.jpg&uploadType=resumable&upload_id=AEnB2UpJ6FWpFRRIns1cGIPLJlGJUyp4aGNvRDgKMJNbWIvSouFet0zdNMe44SzKNfobnhGJIxRWuNTgppNZzkY38KaR5lbD1EdAeSMZrcEeLv2o-4WUtWo","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/bigjpg-1559686413142.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_bigjpg-1559686413142.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/bigjpg-1559686413142.jpg","filename":"bigjpg-1559686413142.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_bigjpg-1559686413142.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_bigjpg-1559686413142.jpg","photo_type":"360_mono","updated_date":"2019-06-04T22:13:33.142Z","created_date":"2019-06-04T22:13:33.142Z","sort_order":1,"status":"active","id":"5168203193909248","has_anaglyph":false,"index":2,"title":"Photo 3"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5116044574195712":{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_big2jpg-1559687972537.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F5175609361694720%2Fbig2jpg-1559687972537.jpg&uploadType=resumable&upload_id=AEnB2UoCA5R1Tiq1zdNstWn8aVpuE6CBelwsnLWIvCg2ddHSNQKSYlmlbOd4xGkbuBhaiPs-1ADGSekSny4dgX8aX6-NL6HRYVJvRVjT61iYil-6wvc2fNI","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/big2jpg-1559687972537.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_big2jpg-1559687972537.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/big2jpg-1559687972537.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720","filename":"big2jpg-1559687972537.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_big2jpg-1559687972537.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_big2jpg-1559687972537.jpg","photo_type":"360_mono","updated_date":"2019-06-04T22:39:32.540Z","created_date":"2019-06-04T22:39:32.540Z","sort_order":1,"status":"active","id":"5116044574195712","has_anaglyph":false,"index":0,"title":"Photo 1"},"5127634040127488":{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_cardboard_test_adjustjpg-1559689368305.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F5175609361694720%2Fcardboard_test_adjustjpg-1559689368305.jpg&uploadType=resumable&upload_id=AEnB2UpzlmHcMriHWzcIfzFE-mZJiVsrKAlhy2ciMmBEMGVNNPvu38tFahGQUDBz0RS-YLi1WfUAZFdw1nrh-oVQ03Fo153hkCrGfnM8lpjDVjFG-gs56H8","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/cardboard_test_adjustjpg-1559689368305.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_cardboard_test_adjustjpg-1559689368305.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/cardboard_test_adjustjpg-1559689368305.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720","filename":"cardboard_test_adjustjpg-1559689368305.jpg","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_cardboard_test_adjustjpg-1559689368305.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_cardboard_test_adjustjpg-1559689368305.jpg","photo_type":"360_mono","updated_date":"2019-06-04T23:02:48.306Z","created_date":"2019-06-04T23:02:48.306Z","sort_order":1,"status":"active","id":"5127634040127488","has_anaglyph":false,"index":1,"title":"Photo 2"},"5168203193909248":{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_bigjpg-1559686413142.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F5175609361694720%2Fbigjpg-1559686413142.jpg&uploadType=resumable&upload_id=AEnB2UpJ6FWpFRRIns1cGIPLJlGJUyp4aGNvRDgKMJNbWIvSouFet0zdNMe44SzKNfobnhGJIxRWuNTgppNZzkY38KaR5lbD1EdAeSMZrcEeLv2o-4WUtWo","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/bigjpg-1559686413142.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_bigjpg-1559686413142.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/bigjpg-1559686413142.jpg","filename":"bigjpg-1559686413142.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_bigjpg-1559686413142.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/preview_bigjpg-1559686413142.jpg","photo_type":"360_mono","updated_date":"2019-06-04T22:13:33.142Z","created_date":"2019-06-04T22:13:33.142Z","sort_order":1,"status":"active","id":"5168203193909248","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 = "5175609361694720"; window.tourUid = "h8h3eOiMFTVUooRZ86teiHO914m1"; window.customUrl = "https://linktr.ee/pareidoliaist"; window.tourSlug = "big"; window.template = ''; window.template_category = ''; window.tourShortCode = "GeQq3RVCu"; 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 = true; window.photo_indexes['5116044574195712'] = 0; window.current_image_index = 0; window.current_image_id = 5116044574195712 window.photo_indexes['5127634040127488'] = 1; window.photo_indexes['5168203193909248'] = 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 = 'https://lh3.googleusercontent.com/-PSggI1QTKnM/AAAAAAAAAAI/AAAAAAAAAnE/ACRKs6XJbMU/photo.jpg'; window.user_profile_name = 'Perry Dolia'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/5175609361694720/thumb_big2jpg-1559687972537.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":5116044574195712,"hotspots":[]},{"infoHotspots":[],"id":5127634040127488,"hotspots":[]},{"infoHotspots":[],"id":5168203193909248,"hotspots":[]}],"autorotate":{"enabled":false},"version":"v2","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/h8h3eOiMFTVUooRZ86teiHO914m1/branding/nadir.png' : '/images/orbix_nadir.png'; window.editMode = false;