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%2FTy5QltlKU4cHwvYjFHxVjKt1L563%2F4884798430511104%2Fcopyjpg-1633862785214.jpg&uploadType=resumable&upload_id=ADPycdtwC6ZaBX8xzsR5RIPn3s8yaQVTwhPDX5Zy-6nk4LpCdmCaY51WXA0g99kt5Rw7NIarmLaZwrtEYyvh3VG4ifQ","image_url":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/copyjpg-1633862785214.jpg","rotation":0,"thumbnail_gcs_filename":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/thumb_copyjpg-1633862785214.jpg","version":"v3","gcs_filename":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/copyjpg-1633862785214.jpg","filename":"copyjpg-1633862785214.jpg","folder":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104","is_stereo":false,"thumbnail_image_url":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/thumb_copyjpg-1633862785214.jpg","photo_type":"360_mono","created_date":"2021-10-10T10:46:25.215Z","updated_date":"2021-10-10T10:46:25.215Z","sort_order":1,"status":"active","id":"5432098496184320","has_anaglyph":false,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"5432098496184320":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FTy5QltlKU4cHwvYjFHxVjKt1L563%2F4884798430511104%2Fcopyjpg-1633862785214.jpg&uploadType=resumable&upload_id=ADPycdtwC6ZaBX8xzsR5RIPn3s8yaQVTwhPDX5Zy-6nk4LpCdmCaY51WXA0g99kt5Rw7NIarmLaZwrtEYyvh3VG4ifQ","image_url":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/copyjpg-1633862785214.jpg","rotation":0,"thumbnail_gcs_filename":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/thumb_copyjpg-1633862785214.jpg","version":"v3","gcs_filename":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/copyjpg-1633862785214.jpg","filename":"copyjpg-1633862785214.jpg","folder":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104","is_stereo":false,"thumbnail_image_url":"/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/thumb_copyjpg-1633862785214.jpg","photo_type":"360_mono","created_date":"2021-10-10T10:46:25.215Z","updated_date":"2021-10-10T10:46:25.215Z","sort_order":1,"status":"active","id":"5432098496184320","has_anaglyph":false,"title":"Photo 1"}}; if (window.is_static) { window.photosRoot = 'https://images.orbix360.com'; // TODO: after we create all the local schema/template folders, change this to empty string window.pluginsRoot = 'plugins/'; } else { window.photosRoot = 'https://images.orbix360.com'; window.pluginsRoot = 'https://storage.googleapis.com/orbix360-prod-plugins/'; } window.minterUrl = 'https://minter.orbix360.com'; window.tourId = "4884798430511104"; window.tourUid = "Ty5QltlKU4cHwvYjFHxVjKt1L563"; window.isTourOwner = false; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "vasundhara-vangoor-pride"; window.template = '360_mono'; window.template_category = ''; window.tourShortCode = "Va2T2f7eX"; 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['5432098496184320'] = 0; window.current_image_index = 0; window.current_image_id = 5432098496184320 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-/AOh14Gi6CSJ09LuIQLBcKrLDenEF9D0pyj07RceeSl4MPpQ=s96-c'; window.user_profile_name = 'BB REALTY'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://images.orbix360.com/users/Ty5QltlKU4cHwvYjFHxVjKt1L563/4884798430511104/thumb_copyjpg-1633862785214.jpg.play.jpg'; window.image_url_root = 'https://images.orbix360.com'; window.cloudFunctionsRoot = 'https://us-central1-orbix360-prod.cloudfunctions.net'; window.timeSinceRestartRotation = 0; window.initialState = {"orbs":[{"id":5432098496184320,"hotspots":[],"infoHotspots":[]}],"autorotate":{"enabled":false},"versionNumber":2}; window.brandingAllowed = false; window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? '/images/powered-by-orbix_nadir.png' : '/images/orbix_nadir.png'; window.editMode = false; // #325 feature flag: screen-space nav hotspot dock. Environment default from // app_config.NAV_DOCK_ENABLED; overridable per page load with ?navdock=on|off // (this script runs in the viewer page's context, so location.search is the // tour page's query string). Flag off = pre-#325 world-anchored nav hotspots. window.navDockEnabled = false; (function () { try { var navdock = new URLSearchParams(window.location.search).get('navdock'); if (navdock === 'on' || navdock === 'yes') { window.navDockEnabled = true; } else if (navdock === 'off' || navdock === 'no') { window.navDockEnabled = false; } } catch (e) { /* keep the environment default */ } })();