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%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-bjpg-1669811471963.jpg&uploadType=resumable&upload_id=ADPycdtoC92Q50uSAKle1kfRpItq7ft03pUkUNTe3bTd2LmdBxj4QX81UlRyP1zReExSlOYwERkfncMuk8HIgxiG__JIj10rrnOL","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-bjpg-1669811471963.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-bjpg-1669811471963.jpg","title":"Section avant/Front section","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-bjpg-1669811471963.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","filename":"ms144-01-360-bjpg-1669811471963.jpg","is_stereo":false,"thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-bjpg-1669811471963.jpg","photo_type":"360_mono","id":"5161563094777856","created_date":"2022-11-30T12:31:11.964Z","updated_date":"2022-11-30T12:31:11.964Z","sort_order":2,"status":"active","has_anaglyph":false,"index":0},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-ajpg-1669811472290.jpg&uploadType=resumable&upload_id=ADPycdvuIVrPL1FuhFM0IOg3G1R--rfViJQBaG3UGHrVyJ1_KNbz8DCNyMVtY4l_9uvJIJMwHl0oTD-YowFVDs_io9I3fg","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-ajpg-1669811472290.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-ajpg-1669811472290.jpg","title":"Section centrale/Center section","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-ajpg-1669811472290.jpg","filename":"ms144-01-360-ajpg-1669811472290.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-ajpg-1669811472290.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-11-30T12:31:12.290Z","id":"6217305046384640","updated_date":"2022-11-30T12:31:12.290Z","sort_order":1,"status":"active","has_anaglyph":false,"index":1},{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-cjpg-1669811474894.jpg&uploadType=resumable&upload_id=ADPycduGT5GHLgZ8uB7dsLb90GHwlVS_YDHew1UddlR7VDyLec0KSRwdP2Fo1ApusbIZwt4n5epHmddhxV5jyCnws0fD53aP8iSz","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-cjpg-1669811474894.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-cjpg-1669811474894.jpg","title":"Espace lit/Bed area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-cjpg-1669811474894.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","filename":"ms144-01-360-cjpg-1669811474894.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-cjpg-1669811474894.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-11-30T12:31:14.896Z","updated_date":"2022-11-30T12:31:14.896Z","id":"6542791425392640","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%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-djpg-1669811472111.jpg&uploadType=resumable&upload_id=ADPycdsq0ebyd8oA227Y5qmnxvPoqq53EMVadzCNIIB5IqquNl4QGxJ_NOLOxW6hBmZ3rCSjDWcOktDCqhUAWg8tENDM2w","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-djpg-1669811472111.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-djpg-1669811472111.jpg","title":"Section rangement arrière/Garage section","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-djpg-1669811472111.jpg","filename":"ms144-01-360-djpg-1669811472111.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","is_stereo":false,"thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-djpg-1669811472111.jpg","photo_type":"360_mono","updated_date":"2022-11-30T12:31:12.113Z","created_date":"2022-11-30T12:31:12.113Z","id":"5732986481803264","sort_order":4,"status":"active","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6217305046384640":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-ajpg-1669811472290.jpg&uploadType=resumable&upload_id=ADPycdvuIVrPL1FuhFM0IOg3G1R--rfViJQBaG3UGHrVyJ1_KNbz8DCNyMVtY4l_9uvJIJMwHl0oTD-YowFVDs_io9I3fg","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-ajpg-1669811472290.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-ajpg-1669811472290.jpg","title":"Section centrale/Center section","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-ajpg-1669811472290.jpg","filename":"ms144-01-360-ajpg-1669811472290.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-ajpg-1669811472290.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-11-30T12:31:12.290Z","id":"6217305046384640","updated_date":"2022-11-30T12:31:12.290Z","sort_order":1,"status":"active","has_anaglyph":false,"index":1},"5161563094777856":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-bjpg-1669811471963.jpg&uploadType=resumable&upload_id=ADPycdtoC92Q50uSAKle1kfRpItq7ft03pUkUNTe3bTd2LmdBxj4QX81UlRyP1zReExSlOYwERkfncMuk8HIgxiG__JIj10rrnOL","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-bjpg-1669811471963.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-bjpg-1669811471963.jpg","title":"Section avant/Front section","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-bjpg-1669811471963.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","filename":"ms144-01-360-bjpg-1669811471963.jpg","is_stereo":false,"thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-bjpg-1669811471963.jpg","photo_type":"360_mono","id":"5161563094777856","created_date":"2022-11-30T12:31:11.964Z","updated_date":"2022-11-30T12:31:11.964Z","sort_order":2,"status":"active","has_anaglyph":false,"index":0},"6542791425392640":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-cjpg-1669811474894.jpg&uploadType=resumable&upload_id=ADPycduGT5GHLgZ8uB7dsLb90GHwlVS_YDHew1UddlR7VDyLec0KSRwdP2Fo1ApusbIZwt4n5epHmddhxV5jyCnws0fD53aP8iSz","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-cjpg-1669811474894.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-cjpg-1669811474894.jpg","title":"Espace lit/Bed area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-cjpg-1669811474894.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","filename":"ms144-01-360-cjpg-1669811474894.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-cjpg-1669811474894.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-11-30T12:31:14.896Z","updated_date":"2022-11-30T12:31:14.896Z","id":"6542791425392640","sort_order":3,"status":"active","has_anaglyph":false,"index":2},"5732986481803264":{"resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FIvkXL3OyUehDd3E9Y508LmM4k9z1%2F5147276557156352%2Fms144-01-360-djpg-1669811472111.jpg&uploadType=resumable&upload_id=ADPycdsq0ebyd8oA227Y5qmnxvPoqq53EMVadzCNIIB5IqquNl4QGxJ_NOLOxW6hBmZ3rCSjDWcOktDCqhUAWg8tENDM2w","image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-djpg-1669811472111.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-djpg-1669811472111.jpg","title":"Section rangement arrière/Garage section","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/ms144-01-360-djpg-1669811472111.jpg","filename":"ms144-01-360-djpg-1669811472111.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352","is_stereo":false,"thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-djpg-1669811472111.jpg","photo_type":"360_mono","updated_date":"2022-11-30T12:31:12.113Z","created_date":"2022-11-30T12:31:12.113Z","id":"5732986481803264","sort_order":4,"status":"active","has_anaglyph":false,"index":3}}; 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 = "5147276557156352"; window.tourUid = "IvkXL3OyUehDd3E9Y508LmM4k9z1"; window.customUrl = "http://www.orbix360.com"; window.tourSlug = "ms144-01"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "wC5nFpikX"; 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['5161563094777856'] = 0; window.current_image_index = 0; window.current_image_id = 5161563094777856 window.photo_indexes['6217305046384640'] = 1; window.photo_indexes['6542791425392640'] = 2; window.photo_indexes['5732986481803264'] = 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/AATXAJwolJKJNtE0QYOdCCWjTwwhoolZzaVLxvp-SL8n=s96-c'; window.user_profile_name = 'Juan Camilo Lozano Almeciga'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/5147276557156352/thumb_ms144-01-360-bjpg-1669811471963.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":"Articulated table","from":5161563094777856,"position":{"x":-0.20705019259702684,"y":-0.2953255070337382,"z":-0.9326913008283071},"id":"hotspot_5161563094777856_info_1669812151230","to":"info","title":"Lagun table"},{"description":"Designed to transform the drawer refrigerator into a stylish piece of furniture, they express a sober and sophisticated, able to interpret the unique personality of your camper.","from":5161563094777856,"id":"hotspot_5161563094777856_info_1669812313514","position":{"x":0.29646934503580075,"y":-0.24297905186919164,"z":-0.9236163206693524},"to":"info","title":"Vitrfrigo frige"},{"description":"","from":5161563094777856,"id":"hotspot_5161563094777856_info_1669812405685","to":"info","position":{"x":-0.13764269632436577,"y":0.5331631724910244,"z":-0.8347403905693461},"title":"Ventilateur/Ventilator"},{"description":"Lighting system embedded in the panels","from":5161563094777856,"to":"info","id":"hotspot_5161563094777856_info_1669813483942","position":{"x":0.32121388727737205,"y":0.3168047577931002,"z":-0.8924440509409064},"title":"Cabinet lighting"}],"id":5161563094777856,"hotspots":[]},{"infoHotspots":[{"description":"Hidden control panel. It has connectivity through an app to control al systems through the cellphone.","from":6217305046384640,"to":"info","id":"hotspot_6217305046384640_info_1669812508487","position":{"x":-0.1502753097945682,"y":0.07973068513385709,"z":-0.9854239438506821},"title":"Control panel."},{"description":"Cabinets made of HPL, with the posibilitu of choosing different type of finishes","from":6217305046384640,"id":"hotspot_6217305046384640_info_1669812581029","to":"info","position":{"x":0.5984445982262351,"y":0.16180680627176036,"z":-0.7846544591716618},"title":"Cabinet"},{"description":"It is possible to install a stove with one or tow modules","from":6217305046384640,"id":"hotspot_6217305046384640_info_1669812636481","position":{"x":0.6459564263956306,"y":-0.5372940765311763,"z":-0.5422687253776459},"to":"info","title":"Cooktop Stove"},{"description":"The perfect UV-LED water purification systemor RVs and sprinter van conversions","from":6217305046384640,"position":{"x":-0.057363250748948644,"y":-0.4474186301606463,"z":-0.8924830681019579},"to":"info","id":"hotspot_6217305046384640_info_1669812774023","title":"Acuva System"},{"description":"Made of resistant materials, available in various types od finishes","from":6217305046384640,"id":"hotspot_6217305046384640_info_1669812833584","to":"info","position":{"x":0.39901319453368883,"y":-0.7301586238930271,"z":-0.5546682382674005},"title":"Counter"},{"description":"","from":6217305046384640,"position":{"x":-0.09272749053893363,"y":-0.9782187262734079,"z":0.18571412457425893},"to":"info","id":"hotspot_6217305046384640_info_1669812889907","title":"Toilet"}],"id":6217305046384640,"hotspots":[{"from":6217305046384640,"to":5161563094777856,"id":"hotspot_6217305046384640_5161563094777856","position":{"x":0.9240108321493752,"y":-0.2713106082041487,"z":0.2694337320131133},"toTitle":"Section avant/Front section"},{"from":6217305046384640,"position":{"x":-0.9826923130590465,"y":-0.18372351580780924,"z":-0.023695729443900186},"to":6542791425392640,"id":"hotspot_6217305046384640_6542791425392640","toTitle":"Espace lit/Bed area"}]},{"infoHotspots":[{"description":"Cabinet made of aluminum. can be relocated over L-Tracks","from":6542791425392640,"to":"info","position":{"x":0.4323137476506646,"y":0.036581090417116414,"z":-0.9009809362112677},"id":"hotspot_6542791425392640_info_1669813355410","title":"Removable cabinet"}],"id":6542791425392640,"hotspots":[{"from":6542791425392640,"id":"hotspot_6542791425392640_6217305046384640","to":6217305046384640,"position":{"x":0.01062799489380261,"y":-0.23362051754679528,"z":-0.9722697668372214},"toTitle":"Section centrale/Center section"}]},{"infoHotspots":[{"description":"Compartment with all the electrical system, it has batteries, charger and inernal control system","from":5732986481803264,"position":{"x":0.4976024983859999,"y":-0.1546380770353164,"z":-0.853509706289759},"to":"info","id":"hotspot_5732986481803264_info_1669813043142","title":"Electric cabinet"},{"description":"Cargo box made of aluminum, has full extension slides","from":5732986481803264,"position":{"x":-0.18506464359234812,"y":-0.5653448439282889,"z":-0.8038260291479344},"to":"info","id":"hotspot_5732986481803264_info_1669813108619","title":"Cargo drawer"},{"description":"Cabnet with all the built-in aqueduct system, it has a 20 Gal tack ans water heating system.","from":5732986481803264,"id":"hotspot_5732986481803264_info_1669813196836","position":{"x":-0.9137234387057822,"y":0.2272795894366569,"z":-0.33682854063333945},"to":"info","title":"Water cabinet"},{"description":"","from":5732986481803264,"to":"info","id":"hotspot_5732986481803264_info_1669813706846","position":{"x":0.9847880565834329,"y":0.04576979428222224,"z":0.16762341585228577},"title":"Storage area"},{"description":"","from":5732986481803264,"position":{"x":-0.9624985526478401,"y":-0.26664975440815836,"z":-0.04994441535228543},"to":"info","id":"hotspot_5732986481803264_info_1669813801499","title":"Articulated ski rack"}],"id":5732986481803264,"hotspots":[{"from":5732986481803264,"id":"hotspot_5732986481803264_6217305046384640","to":6217305046384640,"position":{"x":-0.13554070115109265,"y":0.03553342064290748,"z":-0.9901343819648344},"toTitle":"Section centrale/Center section"}]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = false; window.upgradeCheckoutSessionStatus = 'complete'; 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;