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%2FdQC60ZXDfzcLTKUrHzqDdjbv0XI2%2F5482001435983872%2Ftecnojpg-1601478830372.jpg&uploadType=resumable&upload_id=ABg5-UyGPn0wQULg_et5D3HHa45CAP0ui5wKcrchghEOrKD00COZjIlWPCWsG7JvmpA4Bhnw0wWI_EfqHqZfAZF9CBS7fI7vGw","image_url":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/tecnojpg-1601478830372.jpg","rotation":0,"thumbnail_gcs_filename":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/thumb_tecnojpg-1601478830372.jpg","version":"v3","gcs_filename":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/tecnojpg-1601478830372.jpg","folder":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872","filename":"tecnojpg-1601478830372.jpg","thumbnail_image_url":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/thumb_tecnojpg-1601478830372.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2020-09-30T15:13:50.376Z","created_date":"2020-09-30T15:13:50.376Z","sort_order":1,"status":"active","id":"4792252236824576","has_anaglyph":false,"index":0,"title":"Photo 1"}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4792252236824576":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FdQC60ZXDfzcLTKUrHzqDdjbv0XI2%2F5482001435983872%2Ftecnojpg-1601478830372.jpg&uploadType=resumable&upload_id=ABg5-UyGPn0wQULg_et5D3HHa45CAP0ui5wKcrchghEOrKD00COZjIlWPCWsG7JvmpA4Bhnw0wWI_EfqHqZfAZF9CBS7fI7vGw","image_url":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/tecnojpg-1601478830372.jpg","rotation":0,"thumbnail_gcs_filename":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/thumb_tecnojpg-1601478830372.jpg","version":"v3","gcs_filename":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/tecnojpg-1601478830372.jpg","folder":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872","filename":"tecnojpg-1601478830372.jpg","thumbnail_image_url":"/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/thumb_tecnojpg-1601478830372.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2020-09-30T15:13:50.376Z","created_date":"2020-09-30T15:13:50.376Z","sort_order":1,"status":"active","id":"4792252236824576","has_anaglyph":false,"index":0,"title":"Photo 1"}}; 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 = "5482001435983872"; window.tourUid = "dQC60ZXDfzcLTKUrHzqDdjbv0XI2"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "tecnologia"; window.template = '360_mono'; window.template_category = ''; window.tourShortCode = "DwZXmwi5C"; 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['4792252236824576'] = 0; window.current_image_index = 0; window.current_image_id = 4792252236824576 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-/AOh14GhEIixckIyL7HGjoc39K4en_MPHjMb0XJ-8pVBT=s96-c'; window.user_profile_name = 'angel mauricio fernandez castro'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/thumb_tecnojpg-1601478830372.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":[{"description":"Aprendizaje por medio de un museo virtual \nAngel Fernandez Castro 9-B\n","from":4792252236824576,"position":{"x":-0.24087099468287337,"y":-0.39748183508480933,"z":0.8854317335052407},"id":"hotspot_4792252236824576_info_1601479767535","to":"info","title":"textoo"}],"plugins":[{"visible":true,"color":"negro","instanceName":"Aprendizaje por medio de un museo virtual.","pluginId":"6352215564353536","rotation":{"x":"0","y":"863.1036225850713","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"baseline":"center","align":"center","instanceId":"plugin_6352215564353536_1601479429493","anchor":"center","width":"4","additional_components":"","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/6352215564353536/v3/script.js","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/6352215564353536/v3/template.html","position":{"x":"-2.8520901159300753","y":"0.04044519112888012","z":"3.7991276325942147"},"schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/6352215564353536/v3/schema.json","opacity":"1.0","value":"","font":"roboto","height":"auto"}],"flatImages":[{"src":"https://storage.googleapis.com/orbix360-prod-images/users/dQC60ZXDfzcLTKUrHzqDdjbv0XI2/5482001435983872/imagen.jpg","is_stereo":false,"width":720,"id":"flat_image_4792252236824576_1601479222091","position":{"x":-0.05863850248227267,"y":-0.39957521294235465,"z":0.9148230294590907},"height":527}],"id":4792252236824576,"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;