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/6234173488496640/preview_image_15h55m053jpg-1581885207097.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F6234173488496640%2Fimage_15h55m053jpg-1581885207097.jpg&uploadType=resumable&upload_id=AEnB2UqQC-seJQ5sH4EYqWoGIrPwIgTZSAXSnHyilg1k-4Zk-BPYHRQTOwsSsJ3XlHDIRyngZ98u3vc2iOeKF30gQcLdR9k7PA","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/image_15h55m053jpg-1581885207097.jpg","rotation":-22.803720246206765,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/thumb_image_15h55m053jpg-1581885207097.jpg","version":"v4","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/image_15h55m053jpg-1581885207097.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640","filename":"360_med_colorjpg-1581884518294.jpg","is_stereo":false,"thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/thumb_image_15h55m053jpg-1581885207097.jpg","preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/preview_image_15h55m053jpg-1581885207097.jpg","photo_type":"360_mono","updated_date":"2020-02-16T20:21:58.293Z","created_date":"2020-02-16T20:21:58.293Z","sort_order":1,"status":"active","id":"5106092396773376","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5106092396773376":{"preview_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/preview_image_15h55m053jpg-1581885207097.jpg","resumable_upload_uri":"https://www.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2Fh8h3eOiMFTVUooRZ86teiHO914m1%2F6234173488496640%2Fimage_15h55m053jpg-1581885207097.jpg&uploadType=resumable&upload_id=AEnB2UqQC-seJQ5sH4EYqWoGIrPwIgTZSAXSnHyilg1k-4Zk-BPYHRQTOwsSsJ3XlHDIRyngZ98u3vc2iOeKF30gQcLdR9k7PA","image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/image_15h55m053jpg-1581885207097.jpg","rotation":-22.803720246206765,"thumbnail_gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/thumb_image_15h55m053jpg-1581885207097.jpg","version":"v4","gcs_filename":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/image_15h55m053jpg-1581885207097.jpg","folder":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640","filename":"360_med_colorjpg-1581884518294.jpg","is_stereo":false,"thumbnail_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/thumb_image_15h55m053jpg-1581885207097.jpg","preview_image_url":"/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/preview_image_15h55m053jpg-1581885207097.jpg","photo_type":"360_mono","updated_date":"2020-02-16T20:21:58.293Z","created_date":"2020-02-16T20:21:58.293Z","sort_order":1,"status":"active","id":"5106092396773376","has_anaglyph":false,"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 = "6234173488496640"; window.tourUid = "h8h3eOiMFTVUooRZ86teiHO914m1"; window.customUrl = "https://linktr.ee/pareidoliaist"; window.tourSlug = "anthony-d"; window.template = ''; window.template_category = ''; window.tourShortCode = "G3oryrDvS"; 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['5106092396773376'] = 0; window.current_image_index = 0; window.current_image_id = 5106092396773376 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/6234173488496640/thumb_image_15h55m053jpg-1581885207097.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":[{"flatImages":[{"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/3D_export.JPG","is_stereo":true,"rotation":{"x":0,"y":0,"z":0},"width":3998,"scale_multiplier":1.49,"position":{"x":-0.6102775607745702,"y":0,"z":-0.7921876664118427},"id":"flat_image_5106092396773376_1581884531542","height":2979},{"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/3D_export 2.JPG","is_stereo":true,"rotation":{"x":0,"y":0,"z":0},"width":3914,"scale_multiplier":1.5,"position":{"x":0.4900333471938836,"y":0,"z":-0.8717036874064251},"id":"flat_image_5106092396773376_1581884530941","height":2941},{"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/Flat_stereo_iPhone_3dPhoto_App.JPG","is_stereo":true,"rotation":{"x":0,"y":0,"z":0},"width":3763,"scale_multiplier":1.48,"id":"flat_image_5106092396773376_1581884674423","position":{"x":0.9930376184172974,"y":0.013442290397304943,"z":0.11702817283447949},"height":2980},{"is_stereo":true,"src":"https://storage.googleapis.com/orbix360-prod-images/users/h8h3eOiMFTVUooRZ86teiHO914m1/6234173488496640/3D_export 13.JPG","rotation":{"x":0,"y":0,"z":0},"width":4032,"scale_multiplier":1.51,"id":"flat_image_5106092396773376_1581884887529","position":{"x":-0.9735325804979933,"y":0.003135248236821505,"z":0.22852677070184121},"height":3024}],"id":5106092396773376,"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;