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%2FYQ8Vnf8n07U3pNi5QYZiMOaJdKG2%2F5230982584074240%2Fr0010244jpg-1649533770848.JPG&uploadType=resumable&upload_id=ADPycdv7lI8CJ9XktXqSH76yM8rA_gJL2YGCdK7BMaTDfSs88eNDXoXrtAsJD8sNDYyCi06wZhMPvHWTrircEusFqR9xlmR-0C3t","image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010244jpg-1649533770848.JPG","rotation":0,"thumbnail_gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010244jpg-1649533770848.JPG","version":"v3","gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010244jpg-1649533770848.JPG","folder":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240","filename":"r0010244jpg-1649533770848.JPG","is_stereo":false,"thumbnail_image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010244jpg-1649533770848.JPG","photo_type":"360_mono","created_date":"2022-04-09T19:49:30.849Z","updated_date":"2022-04-09T19:49:30.849Z","sort_order":1,"status":"active","id":"4607197673684992","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%2FYQ8Vnf8n07U3pNi5QYZiMOaJdKG2%2F5230982584074240%2Fr0010249-2jpg-1649533770911.JPG&uploadType=resumable&upload_id=ADPycdsB0We3zLgobxK5vuvu8ifmC5giHHoKU8o6TjMwHe2SYWr65BqhEa9mSOCDOctQRbGJNE7y7Voqh65d8vgkoa8LJjbsgOPo","image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010249-2jpg-1649533770911.JPG","rotation":0,"thumbnail_gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010249-2jpg-1649533770911.JPG","version":"v3","gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010249-2jpg-1649533770911.JPG","filename":"r0010249-2jpg-1649533770911.JPG","folder":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240","is_stereo":false,"thumbnail_image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010249-2jpg-1649533770911.JPG","photo_type":"360_mono","created_date":"2022-04-09T19:49:30.912Z","updated_date":"2022-04-09T19:49:30.912Z","sort_order":2,"status":"active","id":"5348293307531264","has_anaglyph":false,"index":1,"title":"Photo 2"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4607197673684992":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FYQ8Vnf8n07U3pNi5QYZiMOaJdKG2%2F5230982584074240%2Fr0010244jpg-1649533770848.JPG&uploadType=resumable&upload_id=ADPycdv7lI8CJ9XktXqSH76yM8rA_gJL2YGCdK7BMaTDfSs88eNDXoXrtAsJD8sNDYyCi06wZhMPvHWTrircEusFqR9xlmR-0C3t","image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010244jpg-1649533770848.JPG","rotation":0,"thumbnail_gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010244jpg-1649533770848.JPG","version":"v3","gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010244jpg-1649533770848.JPG","folder":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240","filename":"r0010244jpg-1649533770848.JPG","is_stereo":false,"thumbnail_image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010244jpg-1649533770848.JPG","photo_type":"360_mono","created_date":"2022-04-09T19:49:30.849Z","updated_date":"2022-04-09T19:49:30.849Z","sort_order":1,"status":"active","id":"4607197673684992","has_anaglyph":false,"index":0,"title":"Photo 1"},"5348293307531264":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FYQ8Vnf8n07U3pNi5QYZiMOaJdKG2%2F5230982584074240%2Fr0010249-2jpg-1649533770911.JPG&uploadType=resumable&upload_id=ADPycdsB0We3zLgobxK5vuvu8ifmC5giHHoKU8o6TjMwHe2SYWr65BqhEa9mSOCDOctQRbGJNE7y7Voqh65d8vgkoa8LJjbsgOPo","image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010249-2jpg-1649533770911.JPG","rotation":0,"thumbnail_gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010249-2jpg-1649533770911.JPG","version":"v3","gcs_filename":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/r0010249-2jpg-1649533770911.JPG","filename":"r0010249-2jpg-1649533770911.JPG","folder":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240","is_stereo":false,"thumbnail_image_url":"/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010249-2jpg-1649533770911.JPG","photo_type":"360_mono","created_date":"2022-04-09T19:49:30.912Z","updated_date":"2022-04-09T19:49:30.912Z","sort_order":2,"status":"active","id":"5348293307531264","has_anaglyph":false,"index":1,"title":"Photo 2"}}; 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 = "5230982584074240"; window.tourUid = "YQ8Vnf8n07U3pNi5QYZiMOaJdKG2"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "buro"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "wXYUdPTcA"; 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['4607197673684992'] = 0; window.current_image_index = 0; window.current_image_id = 4607197673684992 window.photo_indexes['5348293307531264'] = 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/a/AATXAJznqB7PXSQLD7B1EEZGHT3S8qSIRjcadu5CMcUO=s96-c'; window.user_profile_name = 'Taner Coskun'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/YQ8Vnf8n07U3pNi5QYZiMOaJdKG2/5230982584074240/thumb_r0010244jpg-1649533770848.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":4607197673684992,"hotspots":[{"from":4607197673684992,"id":"hotspot_4607197673684992_5348293307531264","position":{"x":0.950470908950492,"y":-0.023467205011791226,"z":-0.3099263485535883},"to":5348293307531264,"toTitle":"Photo 2"}]},{"infoHotspots":[],"id":5348293307531264,"hotspots":[]}],"autorotate":{"enabled":false},"versionNumber":3}; 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;