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%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0002jpg-1717428679494.jpg&uploadType=resumable&upload_id=ABPtcPr5DUNDYm2y8BIkHe5ktDRCDrhHwGmsiksOxpS4mev5lbfcMWqs9AAQTRy139qxS0HCqKvX2VHqOd-lGxXHI380TaKNnn9VnnUHsri8WzNE","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0002jpg-1717428679494.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0002jpg-1717428679494.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0002jpg-1717428679494.jpg","filename":"0002jpg-1717428679494.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0002jpg-1717428679494.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-03T15:31:19.495Z","updated_date":"2024-06-03T15:31:19.495Z","sort_order":3,"status":"active","id":"6492994976874496","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%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0003jpg-1717008570496.jpg&uploadType=resumable&upload_id=ABPtcPqIVLpEGjcqsSt3wCaNa4wrRRUxYox6oObrC1Hbu1s7ckhy7VJbGijt4TSef8IveGvWcUKoF7jej2-Payd0fRy4NCoS-0hNfngr4dkSamlXbg","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0003jpg-1717008570496.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0003jpg-1717008570496.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0003jpg-1717008570496.jpg","filename":"0003jpg-1717008570496.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0003jpg-1717008570496.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-05-29T18:49:30.497Z","updated_date":"2024-05-29T18:49:30.497Z","sort_order":2,"status":"active","id":"4917508161142784","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%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0001jpg-1717428679318.jpg&uploadType=resumable&upload_id=ABPtcPrNDOLRUhoFm2EjiHA6Sd5CJgIVshIyK--HkzdC-oTNrLR3vq7p3qHTzakXPF0iuSl8f8uhVBtA4zZOfLvasoTc9-2a05nXgKb2A_KJBj-Kgg","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0001jpg-1717428679318.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0001jpg-1717428679318.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0001jpg-1717428679318.jpg","filename":"0001jpg-1717428679318.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0001jpg-1717428679318.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-03T15:31:19.319Z","updated_date":"2024-06-03T15:31:19.319Z","sort_order":2,"status":"active","id":"5955881533440000","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%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0004jpg-1717484798111.jpg&uploadType=resumable&upload_id=ABPtcPq_bZTjJX-Jw1JabrNcDFe4QVvF3PRU9cNdVgkqFVdV4C4B8Bc0Wyk7u30DIKxfCb5qmU1P_aiPaNMyx2Jt8dXQiH_RoYQRPHOVscE9l1i4cA","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0004jpg-1717484798111.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0004jpg-1717484798111.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0004jpg-1717484798111.jpg","filename":"0004jpg-1717484798111.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0004jpg-1717484798111.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-04T07:06:38.115Z","updated_date":"2024-06-04T07:06:38.115Z","sort_order":4,"status":"active","id":"5420637373857792","has_anaglyph":false,"title":"Photo 4"},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0005jpg-1717484797864.jpg&uploadType=resumable&upload_id=ABPtcPrDegZp9rvYAFLlAN7CXbqtAvipglKCjm4RyNnFcn8oIXvIMqTDaDIVhi5_MJOY3siztr6D8DtcZvVcu8nc80ZNyWd99kwB2yfl8mpTAhvC","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0005jpg-1717484797864.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0005jpg-1717484797864.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0005jpg-1717484797864.jpg","filename":"0005jpg-1717484797864.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0005jpg-1717484797864.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-04T07:06:37.865Z","updated_date":"2024-06-04T07:06:37.865Z","sort_order":5,"status":"active","id":"5390485864579072","has_anaglyph":false,"title":"Photo 5"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4917508161142784":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0003jpg-1717008570496.jpg&uploadType=resumable&upload_id=ABPtcPqIVLpEGjcqsSt3wCaNa4wrRRUxYox6oObrC1Hbu1s7ckhy7VJbGijt4TSef8IveGvWcUKoF7jej2-Payd0fRy4NCoS-0hNfngr4dkSamlXbg","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0003jpg-1717008570496.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0003jpg-1717008570496.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0003jpg-1717008570496.jpg","filename":"0003jpg-1717008570496.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0003jpg-1717008570496.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-05-29T18:49:30.497Z","updated_date":"2024-05-29T18:49:30.497Z","sort_order":2,"status":"active","id":"4917508161142784","has_anaglyph":false,"index":1,"title":"Photo 2"},"5955881533440000":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0001jpg-1717428679318.jpg&uploadType=resumable&upload_id=ABPtcPrNDOLRUhoFm2EjiHA6Sd5CJgIVshIyK--HkzdC-oTNrLR3vq7p3qHTzakXPF0iuSl8f8uhVBtA4zZOfLvasoTc9-2a05nXgKb2A_KJBj-Kgg","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0001jpg-1717428679318.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0001jpg-1717428679318.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0001jpg-1717428679318.jpg","filename":"0001jpg-1717428679318.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0001jpg-1717428679318.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-03T15:31:19.319Z","updated_date":"2024-06-03T15:31:19.319Z","sort_order":2,"status":"active","id":"5955881533440000","has_anaglyph":false,"index":2,"title":"Photo 3"},"6492994976874496":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0002jpg-1717428679494.jpg&uploadType=resumable&upload_id=ABPtcPr5DUNDYm2y8BIkHe5ktDRCDrhHwGmsiksOxpS4mev5lbfcMWqs9AAQTRy139qxS0HCqKvX2VHqOd-lGxXHI380TaKNnn9VnnUHsri8WzNE","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0002jpg-1717428679494.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0002jpg-1717428679494.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0002jpg-1717428679494.jpg","filename":"0002jpg-1717428679494.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0002jpg-1717428679494.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-03T15:31:19.495Z","updated_date":"2024-06-03T15:31:19.495Z","sort_order":3,"status":"active","id":"6492994976874496","has_anaglyph":false,"index":0,"title":"Photo 1"},"5420637373857792":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0004jpg-1717484798111.jpg&uploadType=resumable&upload_id=ABPtcPq_bZTjJX-Jw1JabrNcDFe4QVvF3PRU9cNdVgkqFVdV4C4B8Bc0Wyk7u30DIKxfCb5qmU1P_aiPaNMyx2Jt8dXQiH_RoYQRPHOVscE9l1i4cA","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0004jpg-1717484798111.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0004jpg-1717484798111.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0004jpg-1717484798111.jpg","filename":"0004jpg-1717484798111.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0004jpg-1717484798111.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-04T07:06:38.115Z","updated_date":"2024-06-04T07:06:38.115Z","sort_order":4,"status":"active","id":"5420637373857792","has_anaglyph":false,"title":"Photo 4"},"5390485864579072":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FlJ12rXY1q8PwafRbGptFcwl4vym1%2F5419172219584512%2F0005jpg-1717484797864.jpg&uploadType=resumable&upload_id=ABPtcPrDegZp9rvYAFLlAN7CXbqtAvipglKCjm4RyNnFcn8oIXvIMqTDaDIVhi5_MJOY3siztr6D8DtcZvVcu8nc80ZNyWd99kwB2yfl8mpTAhvC","image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0005jpg-1717484797864.jpg","rotation":0,"thumbnail_gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0005jpg-1717484797864.jpg","version":"v3","gcs_filename":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/0005jpg-1717484797864.jpg","filename":"0005jpg-1717484797864.jpg","folder":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512","thumbnail_image_url":"/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0005jpg-1717484797864.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2024-06-04T07:06:37.865Z","updated_date":"2024-06-04T07:06:37.865Z","sort_order":5,"status":"active","id":"5390485864579072","has_anaglyph":false,"title":"Photo 5"}}; 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 = "5419172219584512"; window.tourUid = "lJ12rXY1q8PwafRbGptFcwl4vym1"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "byt-olomouc"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "jUYtM5f90"; 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['6492994976874496'] = 0; window.current_image_index = 0; window.current_image_id = 6492994976874496 window.photo_indexes['4917508161142784'] = 1; window.photo_indexes['5955881533440000'] = 2; window.photo_indexes['5420637373857792'] = 3; window.photo_indexes['5390485864579072'] = 4; 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/AATXAJwXu1nM1YT3pQHcuQj11RcMLIfOAPhK4Y1yYuRc=s96-c'; window.user_profile_name = 'NakresliMiByt - Vizualizace'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/lJ12rXY1q8PwafRbGptFcwl4vym1/5419172219584512/thumb_0002jpg-1717428679494.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":6492994976874496,"hotspots":[]},{"infoHotspots":[],"id":4917508161142784,"hotspots":[]},{"infoHotspots":[],"id":5955881533440000,"hotspots":[]},{"id":5420637373857792,"hotspots":[],"infoHotspots":[]},{"id":5390485864579072,"hotspots":[],"infoHotspots":[]}],"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;