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%2FAHDikXYui1N6GUTLFNJazNJWRST2%2F5861777099194368%2Fescena-01jpg-1685027337535.jpg&uploadType=resumable&upload_id=ADPycduUH5LPjEygDZBPOmgw_nNPRD0jl7dMedXOzqhHxFAeOGq4i0AK7Sh2GODK4V--HbiqNah1_AtvLETRG8FMutlMgA","image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/escena-01jpg-1685027337535.jpg","rotation":0,"thumbnail_gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_escena-01jpg-1685027337535.jpg","title":"La ruta de un buque: El mar","version":"v3","gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/escena-01jpg-1685027337535.jpg","filename":"escena-01jpg-1685027337535.jpg","folder":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368","thumbnail_image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_escena-01jpg-1685027337535.jpg","is_stereo":false,"photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/La ruta de un buque El mar.mp3","created_date":"2023-05-25T15:08:57.537Z","updated_date":"2023-05-25T15:08:57.537Z","id":"4901810334597120","sort_order":1,"status":"active","has_anaglyph":false},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FAHDikXYui1N6GUTLFNJazNJWRST2%2F5861777099194368%2Fmonitoreo-de-barcojpg-1685027331709.jpg&uploadType=resumable&upload_id=ADPycdtyzX51EYMIsz_cMV_weNrI-r_6OX6q4aVUIyE1PHw4IgcKqla4t46uPl0yCjRqXPJFD0voS6lOrtkINMvYbkYXcR7h8rlQ","image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/monitoreo-de-barcojpg-1685027331709.jpg","rotation":0,"thumbnail_gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_monitoreo-de-barcojpg-1685027331709.jpg","title":"Monitorear el mar ","version":"v3","gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/monitoreo-de-barcojpg-1685027331709.jpg","filename":"monitoreo-de-barcojpg-1685027331709.jpg","folder":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368","thumbnail_image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_monitoreo-de-barcojpg-1685027331709.jpg","is_stereo":false,"photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/Monitorear el mar.mp3","created_date":"2023-05-25T15:08:51.710Z","updated_date":"2023-05-25T15:08:51.710Z","id":"6009799959379968","sort_order":2,"status":"active","has_anaglyph":false}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4901810334597120":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FAHDikXYui1N6GUTLFNJazNJWRST2%2F5861777099194368%2Fescena-01jpg-1685027337535.jpg&uploadType=resumable&upload_id=ADPycduUH5LPjEygDZBPOmgw_nNPRD0jl7dMedXOzqhHxFAeOGq4i0AK7Sh2GODK4V--HbiqNah1_AtvLETRG8FMutlMgA","image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/escena-01jpg-1685027337535.jpg","rotation":0,"thumbnail_gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_escena-01jpg-1685027337535.jpg","title":"La ruta de un buque: El mar","version":"v3","gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/escena-01jpg-1685027337535.jpg","filename":"escena-01jpg-1685027337535.jpg","folder":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368","thumbnail_image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_escena-01jpg-1685027337535.jpg","is_stereo":false,"photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/La ruta de un buque El mar.mp3","created_date":"2023-05-25T15:08:57.537Z","updated_date":"2023-05-25T15:08:57.537Z","id":"4901810334597120","sort_order":1,"status":"active","has_anaglyph":false},"6009799959379968":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FAHDikXYui1N6GUTLFNJazNJWRST2%2F5861777099194368%2Fmonitoreo-de-barcojpg-1685027331709.jpg&uploadType=resumable&upload_id=ADPycdtyzX51EYMIsz_cMV_weNrI-r_6OX6q4aVUIyE1PHw4IgcKqla4t46uPl0yCjRqXPJFD0voS6lOrtkINMvYbkYXcR7h8rlQ","image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/monitoreo-de-barcojpg-1685027331709.jpg","rotation":0,"thumbnail_gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_monitoreo-de-barcojpg-1685027331709.jpg","title":"Monitorear el mar ","version":"v3","gcs_filename":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/monitoreo-de-barcojpg-1685027331709.jpg","filename":"monitoreo-de-barcojpg-1685027331709.jpg","folder":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368","thumbnail_image_url":"/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_monitoreo-de-barcojpg-1685027331709.jpg","is_stereo":false,"photo_type":"360_mono","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/Monitorear el mar.mp3","created_date":"2023-05-25T15:08:51.710Z","updated_date":"2023-05-25T15:08:51.710Z","id":"6009799959379968","sort_order":2,"status":"active","has_anaglyph":false}}; 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 = "5861777099194368"; window.tourUid = "AHDikXYui1N6GUTLFNJazNJWRST2"; window.customUrl = ""; window.tourSlug = "que-hay-detras-de-un-embarque-maritimo"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "5KG2VEsy3"; 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['4901810334597120'] = 0; window.current_image_index = 0; window.current_image_id = 4901810334597120 window.photo_indexes['6009799959379968'] = 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 = '/images/profile-icon.png'; window.user_profile_name = 'Universidad CNCI Virtual '; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/AHDikXYui1N6GUTLFNJazNJWRST2/5861777099194368/thumb_escena-01jpg-1685027337535.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":[{"id":4901810334597120,"hotspots":[],"infoHotspots":[]},{"id":6009799959379968,"hotspots":[],"infoHotspots":[]}],"autorotate":{"enabled":false},"versionNumber":2}; window.brandingAllowed = true; 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;