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/6206864798777344/preview_180_stereo_lucid_camjpg-1584189864056.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F6206864798777344%2F180_stereo_lucid_camjpg-1584189864056.jpg&uploadType=resumable&upload_id=AEnB2UpgPGbZcJBBpruE_vJTOC-IkzWraKMF2rybdF8zZCN5YndBcIHWAC6IAHtyFKUCsrqXyol7bvuQfBXTMg26_4_40V8lzGhCq4POLb13H8NuI8pGTss","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/180_stereo_lucid_camjpg-1584189864056.jpg","rotation":54.20180741937587,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_180_stereo_lucid_camjpg-1584189864056.jpg","version":"v4","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/180_stereo_lucid_camjpg-1584189864056.jpg","filename":"180_stereo_lucid_camjpg-1584189864056.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_180_stereo_lucid_camjpg-1584189864056.jpg","is_stereo":true,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_180_stereo_lucid_camjpg-1584189864056.jpg","photo_type":"180_stereo","updated_date":"2020-03-14T12:44:24.056Z","created_date":"2020-03-14T12:44:24.056Z","sort_order":1,"status":"active","id":"6527336266596352","has_anaglyph":true,"index":0,"title":"Photo 1"},{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_360_med_colorjpg-1584189908642.jpg","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/360_med_colorjpg-1584189908642.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_360_med_colorjpg-1584189908642.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/360_med_colorjpg-1584189908642.jpg","filename":"360_med_colorjpg-1584189908642.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_360_med_colorjpg-1584189908642.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_360_med_colorjpg-1584189908642.jpg","photo_type":"360_mono","updated_date":"2020-03-14T12:45:08.642Z","created_date":"2020-03-14T12:45:08.642Z","sort_order":0,"status":"active","id":"4777693157523456","has_anaglyph":false,"index":1,"title":"Photo 2"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4777693157523456":{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_360_med_colorjpg-1584189908642.jpg","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/360_med_colorjpg-1584189908642.jpg","rotation":0,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_360_med_colorjpg-1584189908642.jpg","version":"v3","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/360_med_colorjpg-1584189908642.jpg","filename":"360_med_colorjpg-1584189908642.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_360_med_colorjpg-1584189908642.jpg","is_stereo":false,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_360_med_colorjpg-1584189908642.jpg","photo_type":"360_mono","updated_date":"2020-03-14T12:45:08.642Z","created_date":"2020-03-14T12:45:08.642Z","sort_order":0,"status":"active","id":"4777693157523456","has_anaglyph":false,"index":1,"title":"Photo 2"},"6527336266596352":{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_180_stereo_lucid_camjpg-1584189864056.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F6206864798777344%2F180_stereo_lucid_camjpg-1584189864056.jpg&uploadType=resumable&upload_id=AEnB2UpgPGbZcJBBpruE_vJTOC-IkzWraKMF2rybdF8zZCN5YndBcIHWAC6IAHtyFKUCsrqXyol7bvuQfBXTMg26_4_40V8lzGhCq4POLb13H8NuI8pGTss","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/180_stereo_lucid_camjpg-1584189864056.jpg","rotation":54.20180741937587,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_180_stereo_lucid_camjpg-1584189864056.jpg","version":"v4","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/180_stereo_lucid_camjpg-1584189864056.jpg","filename":"180_stereo_lucid_camjpg-1584189864056.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344","thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/thumb_180_stereo_lucid_camjpg-1584189864056.jpg","is_stereo":true,"preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6206864798777344/preview_180_stereo_lucid_camjpg-1584189864056.jpg","photo_type":"180_stereo","updated_date":"2020-03-14T12:44:24.056Z","created_date":"2020-03-14T12:44:24.056Z","sort_order":1,"status":"active","id":"6527336266596352","has_anaglyph":true,"index":0,"title":"Photo 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 = "6206864798777344"; window.tourUid = "h8h3eOiMFTVUooRZ86teiHO914m1"; window.customUrl = "https://linktr.ee/pareidoliaist"; window.tourSlug = "180-3d"; window.template = ''; window.template_category = ''; window.tourShortCode = "RrAudNRcN"; 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['6527336266596352'] = 0; window.current_image_index = 0; window.current_image_id = 6527336266596352 window.photo_indexes['4777693157523456'] = 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/-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/6206864798777344/thumb_180_stereo_lucid_camjpg-1584189864056.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":[{"description":"3d","from":6527336266596352,"to":"info","position":{"x":0.03168455543015857,"y":-0.03168668202456424,"z":-0.9989955170717572},"id":"hotspot_6527336266596352_info_1584190266998","title":"3d"}],"id":6527336266596352,"hotspots":[]},{"infoHotspots":[],"id":4777693157523456,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":3}; 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;