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%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F23jpg-1667804671897.jpg&uploadType=resumable&upload_id=ADPycdu_OvbdG8eMCyKP7i1kkKysJ4sZwj74kHS5T8UUWCibK48t018jCbjyhkFTFyGcmSJ67lqSyQRXCanQVPj_D1w4Mh_ldoKX","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/23jpg-1667804671897.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_23jpg-1667804671897.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/23jpg-1667804671897.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","filename":"23jpg-1667804671897.jpg","thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_23jpg-1667804671897.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-11-07T07:04:31.897Z","updated_date":"2022-11-07T07:04:31.897Z","sort_order":1,"status":"active","id":"6651198010556416","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%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F24jpg-1667804671879.jpg&uploadType=resumable&upload_id=ADPycdtz-X55BQ36G7m9giJMpKnEx3cNYjOm_ChiN3j91v2CwwnjThFFNdIhrHRICDs0FSmc7IlotENhY0HpXjUkaek2ow","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/24jpg-1667804671879.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_24jpg-1667804671879.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/24jpg-1667804671879.jpg","filename":"24jpg-1667804671879.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","is_stereo":false,"thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_24jpg-1667804671879.jpg","photo_type":"360_mono","created_date":"2022-11-07T07:04:31.880Z","updated_date":"2022-11-07T07:04:31.880Z","sort_order":2,"status":"active","id":"5046225741021184","has_anaglyph":false,"index":1,"title":"Photo 2"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F25jpg-1667804671878.jpg&uploadType=resumable&upload_id=ADPycdtri1FvvohOmlUchNac34HsqhBoqcvU1GB4E3agk22tBR1O4gzRnr9sjVzZehxlUMDuBfDW_0Z7jhVWUSRL6vvsDg","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/25jpg-1667804671878.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_25jpg-1667804671878.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/25jpg-1667804671878.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","filename":"25jpg-1667804671878.jpg","is_stereo":false,"thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_25jpg-1667804671878.jpg","photo_type":"360_mono","updated_date":"2022-11-07T07:04:31.879Z","created_date":"2022-11-07T07:04:31.879Z","sort_order":3,"status":"active","id":"5525298103713792","has_anaglyph":false,"index":2,"title":"Photo 3"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F26jpg-1667804671910.jpg&uploadType=resumable&upload_id=ADPycdvcgZROiiurerzoTpm-FapSR646Gt-_0yL-1TUB3mBWahiER9BsOt7IrJgny-blSL1DhDs07uqU01j6DfkeAo_crDderFy6","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/26jpg-1667804671910.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_26jpg-1667804671910.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/26jpg-1667804671910.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","filename":"26jpg-1667804671910.jpg","thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_26jpg-1667804671910.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2022-11-07T07:04:31.911Z","created_date":"2022-11-07T07:04:31.911Z","sort_order":4,"status":"active","id":"4986816226656256","has_anaglyph":false,"index":3,"title":"Photo 4"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6651198010556416":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F23jpg-1667804671897.jpg&uploadType=resumable&upload_id=ADPycdu_OvbdG8eMCyKP7i1kkKysJ4sZwj74kHS5T8UUWCibK48t018jCbjyhkFTFyGcmSJ67lqSyQRXCanQVPj_D1w4Mh_ldoKX","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/23jpg-1667804671897.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_23jpg-1667804671897.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/23jpg-1667804671897.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","filename":"23jpg-1667804671897.jpg","thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_23jpg-1667804671897.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-11-07T07:04:31.897Z","updated_date":"2022-11-07T07:04:31.897Z","sort_order":1,"status":"active","id":"6651198010556416","has_anaglyph":false,"index":0,"title":"Photo 1"},"5046225741021184":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F24jpg-1667804671879.jpg&uploadType=resumable&upload_id=ADPycdtz-X55BQ36G7m9giJMpKnEx3cNYjOm_ChiN3j91v2CwwnjThFFNdIhrHRICDs0FSmc7IlotENhY0HpXjUkaek2ow","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/24jpg-1667804671879.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_24jpg-1667804671879.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/24jpg-1667804671879.jpg","filename":"24jpg-1667804671879.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","is_stereo":false,"thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_24jpg-1667804671879.jpg","photo_type":"360_mono","created_date":"2022-11-07T07:04:31.880Z","updated_date":"2022-11-07T07:04:31.880Z","sort_order":2,"status":"active","id":"5046225741021184","has_anaglyph":false,"index":1,"title":"Photo 2"},"5525298103713792":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F25jpg-1667804671878.jpg&uploadType=resumable&upload_id=ADPycdtri1FvvohOmlUchNac34HsqhBoqcvU1GB4E3agk22tBR1O4gzRnr9sjVzZehxlUMDuBfDW_0Z7jhVWUSRL6vvsDg","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/25jpg-1667804671878.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_25jpg-1667804671878.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/25jpg-1667804671878.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","filename":"25jpg-1667804671878.jpg","is_stereo":false,"thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_25jpg-1667804671878.jpg","photo_type":"360_mono","updated_date":"2022-11-07T07:04:31.879Z","created_date":"2022-11-07T07:04:31.879Z","sort_order":3,"status":"active","id":"5525298103713792","has_anaglyph":false,"index":2,"title":"Photo 3"},"4986816226656256":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIfdJvk5pi2RmuBQoosELTWPEUU52%2F4820093917724672%2F26jpg-1667804671910.jpg&uploadType=resumable&upload_id=ADPycdvcgZROiiurerzoTpm-FapSR646Gt-_0yL-1TUB3mBWahiER9BsOt7IrJgny-blSL1DhDs07uqU01j6DfkeAo_crDderFy6","image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/26jpg-1667804671910.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_26jpg-1667804671910.jpg","version":"v3","gcs_filename":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/26jpg-1667804671910.jpg","folder":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672","filename":"26jpg-1667804671910.jpg","thumbnail_image_url":"/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_26jpg-1667804671910.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2022-11-07T07:04:31.911Z","created_date":"2022-11-07T07:04:31.911Z","sort_order":4,"status":"active","id":"4986816226656256","has_anaglyph":false,"index":3,"title":"Photo 4"}}; 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 = "4820093917724672"; window.tourUid = "IfdJvk5pi2RmuBQoosELTWPEUU52"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "dom-kultury"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "slk14cDH5"; 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['6651198010556416'] = 0; window.current_image_index = 0; window.current_image_id = 6651198010556416 window.photo_indexes['5046225741021184'] = 1; window.photo_indexes['5525298103713792'] = 2; window.photo_indexes['4986816226656256'] = 3; 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/ALm5wu3nYY37i3moiXRzjctpkDsqTNiacrdIaeOhjjLq=s96-c'; window.user_profile_name = 'Андрей Полетиков'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/IfdJvk5pi2RmuBQoosELTWPEUU52/4820093917724672/thumb_23jpg-1667804671897.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":6651198010556416,"hotspots":[{"from":6651198010556416,"id":"hotspot_6651198010556416_5046225741021184","position":{"x":-0.8012841918035832,"y":-0.18506755233126368,"z":-0.5689408097858627},"to":5046225741021184,"toTitle":"Photo 2"},{"from":6651198010556416,"to":4986816226656256,"position":{"x":0.6100259160590287,"y":-0.1473287410660107,"z":-0.7785644634789385},"id":"hotspot_6651198010556416_4986816226656256","toTitle":"Photo 4"}]},{"infoHotspots":[],"id":5046225741021184,"hotspots":[{"from":5046225741021184,"to":6651198010556416,"position":{"x":0.763586542152996,"y":-0.19143035853734122,"z":-0.616676584988514},"id":"hotspot_5046225741021184_6651198010556416","toTitle":"Photo 1"},{"from":5046225741021184,"position":{"x":-0.6329928767301856,"y":-0.12147324218003423,"z":-0.764568028002162},"to":5525298103713792,"id":"hotspot_5046225741021184_5525298103713792","toTitle":"Photo 3"}]},{"infoHotspots":[],"id":5525298103713792,"hotspots":[{"from":5525298103713792,"to":5046225741021184,"position":{"x":0.5987788775807016,"y":-0.15656189270792759,"z":-0.7854630669324348},"id":"hotspot_5525298103713792_5046225741021184","toTitle":"Photo 2"},{"from":5525298103713792,"to":4986816226656256,"id":"hotspot_5525298103713792_4986816226656256","position":{"x":-0.7600462979934017,"y":-0.24221973749297024,"z":-0.6030416434006542},"toTitle":"Photo 4"}]},{"infoHotspots":[],"id":4986816226656256,"hotspots":[{"from":4986816226656256,"id":"hotspot_4986816226656256_5525298103713792","to":5525298103713792,"position":{"x":0.7564436093941624,"y":-0.23965997310083345,"z":-0.6085689468745836},"toTitle":"Photo 3"},{"from":4986816226656256,"position":{"x":-0.7093652784061208,"y":-0.15812792248035334,"z":-0.6868744149579703},"id":"hotspot_4986816226656256_6651198010556416","to":6651198010556416,"toTitle":"Photo 1"}]}],"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;