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%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpanopng-1684535994660.png&uploadType=resumable&upload_id=ADPycdu_-CgYqdG2r2vMDZf1_HeoJJDhE4nKrkZpXv4F5EuG89O079_tbAduCX2Ju_TUAQVY0NynVObeKQ3PgcVw1IPg2A","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/panopng-1684535994660.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_panopng-1684535994660.png","title":"Sala","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/panopng-1684535994660.png","filename":"panopng-1684535994660.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_panopng-1684535994660.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.661Z","updated_date":"2023-05-19T22:39:54.661Z","id":"4764560829448192","sort_order":1,"status":"active","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/Tunguska_Electronic_Music_Society_-_Mike_Yanshin_-_CrazySpring.mp3","has_anaglyph":false,"index":0},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano1png-1684535994653.png&uploadType=resumable&upload_id=ADPycdtqgEl9FQJdppRf_ZQJ9uEvpKaXi2xvf5LLRkBxMO_9h6GWNxJ4loU5qUBsYcI4JBo1HpR5Foj_KE8gH34rjN8jrnLDUrDI","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano1png-1684535994653.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano1png-1684535994653.png","title":"Estudio","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano1png-1684535994653.png","filename":"pano1png-1684535994653.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano1png-1684535994653.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.653Z","updated_date":"2023-05-19T22:39:54.653Z","id":"5294093588496384","sort_order":2,"status":"active","has_anaglyph":false,"index":1},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano2png-1684535994652.png&uploadType=resumable&upload_id=ADPycdsgTbAMVBvVLqNVwuQ6kq3ntkNtzqUMDUUYUzGnPUrQTLZ7I2dbHeeOuMrKvcbrP0-qUBERuAkZEZ8qlFiHipLF4g","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano2png-1684535994652.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano2png-1684535994652.png","title":"Alcoba Bebé","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano2png-1684535994652.png","filename":"pano2png-1684535994652.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano2png-1684535994652.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.652Z","updated_date":"2023-05-19T22:39:54.652Z","id":"4736712798371840","sort_order":3,"status":"active","has_anaglyph":false,"index":2},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano3png-1684535994814.png&uploadType=resumable&upload_id=ADPycdsg0t88t0GoVo1XYcj9FALzXvLKYy4i6MGvOELEAJhDpS0POi7f1u9VFbM-9S0iBbKZF-ZQtKHb0hlop52CITcFEOFNnH2N","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano3png-1684535994814.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano3png-1684535994814.png","title":"Alcoba Principal","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano3png-1684535994814.png","filename":"pano3png-1684535994814.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano3png-1684535994814.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.815Z","updated_date":"2023-05-19T22:39:54.815Z","id":"6100852527857664","sort_order":4,"status":"active","has_anaglyph":false,"index":3},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano4png-1684535994667.png&uploadType=resumable&upload_id=ADPycdvTMm9Y4P2axze8uoWkvmtv9UZNPKKH_L0Es7Nzrgt0cv7bbVG-35jIhrHGc5z20B5McuF2BsVhtq7y_N1kJha16fxRypUn","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano4png-1684535994667.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano4png-1684535994667.png","title":"Lavabo Alcoba Principal","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano4png-1684535994667.png","filename":"pano4png-1684535994667.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano4png-1684535994667.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.667Z","updated_date":"2023-05-19T22:39:54.667Z","id":"5939189421965312","sort_order":5,"status":"active","has_anaglyph":false,"index":4}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4764560829448192":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpanopng-1684535994660.png&uploadType=resumable&upload_id=ADPycdu_-CgYqdG2r2vMDZf1_HeoJJDhE4nKrkZpXv4F5EuG89O079_tbAduCX2Ju_TUAQVY0NynVObeKQ3PgcVw1IPg2A","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/panopng-1684535994660.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_panopng-1684535994660.png","title":"Sala","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/panopng-1684535994660.png","filename":"panopng-1684535994660.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_panopng-1684535994660.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.661Z","updated_date":"2023-05-19T22:39:54.661Z","id":"4764560829448192","sort_order":1,"status":"active","audio_url":"https://storage.googleapis.com/orbix360-prod-images/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/Tunguska_Electronic_Music_Society_-_Mike_Yanshin_-_CrazySpring.mp3","has_anaglyph":false,"index":0},"5294093588496384":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano1png-1684535994653.png&uploadType=resumable&upload_id=ADPycdtqgEl9FQJdppRf_ZQJ9uEvpKaXi2xvf5LLRkBxMO_9h6GWNxJ4loU5qUBsYcI4JBo1HpR5Foj_KE8gH34rjN8jrnLDUrDI","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano1png-1684535994653.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano1png-1684535994653.png","title":"Estudio","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano1png-1684535994653.png","filename":"pano1png-1684535994653.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano1png-1684535994653.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.653Z","updated_date":"2023-05-19T22:39:54.653Z","id":"5294093588496384","sort_order":2,"status":"active","has_anaglyph":false,"index":1},"4736712798371840":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano2png-1684535994652.png&uploadType=resumable&upload_id=ADPycdsgTbAMVBvVLqNVwuQ6kq3ntkNtzqUMDUUYUzGnPUrQTLZ7I2dbHeeOuMrKvcbrP0-qUBERuAkZEZ8qlFiHipLF4g","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano2png-1684535994652.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano2png-1684535994652.png","title":"Alcoba Bebé","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano2png-1684535994652.png","filename":"pano2png-1684535994652.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano2png-1684535994652.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.652Z","updated_date":"2023-05-19T22:39:54.652Z","id":"4736712798371840","sort_order":3,"status":"active","has_anaglyph":false,"index":2},"6100852527857664":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano3png-1684535994814.png&uploadType=resumable&upload_id=ADPycdsg0t88t0GoVo1XYcj9FALzXvLKYy4i6MGvOELEAJhDpS0POi7f1u9VFbM-9S0iBbKZF-ZQtKHb0hlop52CITcFEOFNnH2N","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano3png-1684535994814.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano3png-1684535994814.png","title":"Alcoba Principal","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano3png-1684535994814.png","filename":"pano3png-1684535994814.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano3png-1684535994814.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.815Z","updated_date":"2023-05-19T22:39:54.815Z","id":"6100852527857664","sort_order":4,"status":"active","has_anaglyph":false,"index":3},"5939189421965312":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2F59rRNKIoERPrTMn4UOFFZj9mDcU2%2F5639514923991040%2Fpano4png-1684535994667.png&uploadType=resumable&upload_id=ADPycdvTMm9Y4P2axze8uoWkvmtv9UZNPKKH_L0Es7Nzrgt0cv7bbVG-35jIhrHGc5z20B5McuF2BsVhtq7y_N1kJha16fxRypUn","image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano4png-1684535994667.png","rotation":0,"thumbnail_gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano4png-1684535994667.png","title":"Lavabo Alcoba Principal","version":"v3","gcs_filename":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/pano4png-1684535994667.png","filename":"pano4png-1684535994667.png","folder":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040","thumbnail_image_url":"/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_pano4png-1684535994667.png","is_stereo":false,"photo_type":"360_mono","created_date":"2023-05-19T22:39:54.667Z","updated_date":"2023-05-19T22:39:54.667Z","id":"5939189421965312","sort_order":5,"status":"active","has_anaglyph":false,"index":4}}; 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 = "5639514923991040"; window.tourUid = "59rRNKIoERPrTMn4UOFFZj9mDcU2"; window.isTourOwner = false; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "apto-706-altos-de-la-colina"; window.template = ''; window.template_category = ''; window.tourShortCode = "3KVtq9yO8"; 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['4764560829448192'] = 0; window.current_image_index = 0; window.current_image_id = 4764560829448192 window.photo_indexes['5294093588496384'] = 1; window.photo_indexes['4736712798371840'] = 2; window.photo_indexes['6100852527857664'] = 3; window.photo_indexes['5939189421965312'] = 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/AGNmyxYszyo0dMIb1_KerqH3o_Ct8zjNlI4vbo8s2WYSBw=s96-c'; window.user_profile_name = 'Juan Antonio Liévano Alzate'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://images.orbix360.com/users/59rRNKIoERPrTMn4UOFFZj9mDcU2/5639514923991040/thumb_panopng-1684535994660.png.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":[{"infoHotspots":[{"description":"Apto 704 Calle 169B # 75-60 \nConjunto Altos de la Colina , Bogotá Colombia . Area .86,5 mtrs.2 con : Sala - Comedor - Balcón - Cocina - Estudio - Alcoba principal con lavabo y vestier - 2 habitaciones - Lavabo visitas + 1 Garaje + 1 Depósito + 1Club House + Zonas verdes & parques infantiles + Servicio de vigilancia 24 horas Info: 3156135962","from":4764560829448192,"id":"hotspot_4764560829448192_info_1684539446908","to":"info","position":{"x":0.6101277845614852,"y":-0.07541367627726445,"z":0.7887058158378458},"title":" Datos Apto"}],"plugins":[],"id":4764560829448192,"hotspots":[{"toTitle":"Alcoba Bebé","from":4764560829448192,"id":"hotspot_4764560829448192_4736712798371840","to":4736712798371840,"position":{"x":-0.9179359975310197,"y":-0.03323828534114301,"z":0.39533368288613185}},{"id":"hotspot_4764560829448192_5294093588496384","from":4764560829448192,"to":5294093588496384,"position":{"x":-0.7087532383800628,"y":-0.038440876728380716,"z":0.7044083659938511},"toTitle":"Estudio"}]},{"infoHotspots":[],"id":5294093588496384,"hotspots":[]},{"infoHotspots":[],"id":4736712798371840,"hotspots":[{"id":"hotspot_4736712798371840_6100852527857664","from":4736712798371840,"to":6100852527857664,"position":{"x":-0.32146646294879405,"y":-0.26728378363140304,"z":0.9084154843500154},"toTitle":"Alcoba Principal"}]},{"infoHotspots":[],"plugins":[],"id":6100852527857664,"hotspots":[{"id":"hotspot_6100852527857664_5939189421965312","from":6100852527857664,"to":5939189421965312,"position":{"x":0.8678616157931305,"y":-0.20243367023193876,"z":0.4536924343532339},"toTitle":"Lavabo Alcoba Principal"},{"id":"hotspot_6100852527857664_4764560829448192","from":6100852527857664,"to":4764560829448192,"position":{"x":0.9375800547345373,"y":-0.2478555855049537,"z":0.24394927689578946},"toTitle":"Sala"}]},{"infoHotspots":[],"id":5939189421965312,"hotspots":[{"id":"hotspot_5939189421965312_6100852527857664","from":5939189421965312,"to":6100852527857664,"position":{"x":-0.5376475174039976,"y":-0.3613429389300442,"z":-0.7618178440511328},"toTitle":"Alcoba Principal"}]}],"autorotate":{"enabled":false},"versionNumber":3}; 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 */ } })();