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 = [{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360bjpg-1658950348950.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360bjpg-1658950348950.jpg","title":"Front area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360bjpg-1658950348950.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360bjpg-1658950348950.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360bjpg-1658950348950.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2022-07-27T19:32:28.952Z","id":"5950359474274304","created_date":"2022-07-27T19:32:28.952Z","sort_order":4,"status":"active","has_anaglyph":false,"index":0},{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360ajpg-1658950348850.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360ajpg-1658950348850.jpg","title":"Middle area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360ajpg-1658950348850.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360ajpg-1658950348850.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360ajpg-1658950348850.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-07-27T19:32:28.850Z","id":"4874603948146688","updated_date":"2022-07-27T19:32:28.850Z","sort_order":3,"status":"active","has_anaglyph":false,"index":1},{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-cjpg-1658950352156.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-cjpg-1658950352156.jpg","title":"Bed area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-cjpg-1658950352156.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360-cjpg-1658950352156.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-cjpg-1658950352156.jpg","is_stereo":false,"photo_type":"360_mono","id":"4919160442191872","created_date":"2022-07-27T19:32:32.158Z","updated_date":"2022-07-27T19:32:32.158Z","sort_order":1,"status":"active","has_anaglyph":false,"index":2},{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-djpg-1658950348847.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-djpg-1658950348847.jpg","title":"Garage area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-djpg-1658950348847.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360-djpg-1658950348847.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-djpg-1658950348847.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-07-27T19:32:28.849Z","id":"4869657991315456","updated_date":"2022-07-27T19:32:28.849Z","sort_order":2,"status":"active","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4919160442191872":{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-cjpg-1658950352156.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-cjpg-1658950352156.jpg","title":"Bed area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-cjpg-1658950352156.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360-cjpg-1658950352156.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-cjpg-1658950352156.jpg","is_stereo":false,"photo_type":"360_mono","id":"4919160442191872","created_date":"2022-07-27T19:32:32.158Z","updated_date":"2022-07-27T19:32:32.158Z","sort_order":1,"status":"active","has_anaglyph":false,"index":2},"4869657991315456":{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-djpg-1658950348847.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-djpg-1658950348847.jpg","title":"Garage area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360-djpg-1658950348847.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360-djpg-1658950348847.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360-djpg-1658950348847.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-07-27T19:32:28.849Z","id":"4869657991315456","updated_date":"2022-07-27T19:32:28.849Z","sort_order":2,"status":"active","has_anaglyph":false,"index":3},"4874603948146688":{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360ajpg-1658950348850.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360ajpg-1658950348850.jpg","title":"Middle area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360ajpg-1658950348850.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360ajpg-1658950348850.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360ajpg-1658950348850.jpg","is_stereo":false,"photo_type":"360_mono","created_date":"2022-07-27T19:32:28.850Z","id":"4874603948146688","updated_date":"2022-07-27T19:32:28.850Z","sort_order":3,"status":"active","has_anaglyph":false,"index":1},"5950359474274304":{"image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360bjpg-1658950348950.jpg","rotation":0,"thumbnail_gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360bjpg-1658950348950.jpg","title":"Front area","version":"v3","gcs_filename":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/360bjpg-1658950348950.jpg","folder":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680","filename":"360bjpg-1658950348950.jpg","thumbnail_image_url":"/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360bjpg-1658950348950.jpg","is_stereo":false,"photo_type":"360_mono","updated_date":"2022-07-27T19:32:28.952Z","id":"5950359474274304","created_date":"2022-07-27T19:32:28.952Z","sort_order":4,"status":"active","has_anaglyph":false,"index":0}}; 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 = "4824459567431680"; // 052: the tour sound's Loop / Play once choice (absent = loop). window.tourAudioLoop = true; window.tourUid = "IvkXL3OyUehDd3E9Y508LmM4k9z1"; window.isTourOwner = false; window.customUrl = ""; window.tourSlug = "ms170-03"; window.template = '360_mono'; window.template_category = '360'; window.tourShortCode = "Xz-tv6Sfy"; 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['5950359474274304'] = 0; window.current_image_index = 0; window.current_image_id = 5950359474274304 window.photo_indexes['4874603948146688'] = 1; window.photo_indexes['4919160442191872'] = 2; window.photo_indexes['4869657991315456'] = 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://images.orbix360.com/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/4824459567431680/thumb_360bjpg-1658950348950.jpg.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":"Articulated table.","from":5950359474274304,"position":{"x":0.6995433800738992,"y":-0.680722502050075,"z":-0.21738430163530642},"to":"info","id":"hotspot_5950359474274304_info_1658950742366","title":"Lagun table"},{"description":"Lighting system embedded in the panels","from":5950359474274304,"to":"info","id":"hotspot_5950359474274304_info_1658950822017","position":{"x":0.5036669846194596,"y":0.03897942560199779,"z":-0.8630180606360909},"title":"Cabinet lighting"}],"id":5950359474274304,"hotspots":[{"from":5950359474274304,"id":"hotspot_5950359474274304_4874603948146688","to":4874603948146688,"position":{"x":-0.14167064195720813,"y":-0.13146551378665416,"z":-0.9811453755138652},"toTitle":"Middle area"}]},{"infoHotspots":[{"description":"Made of resistant materials, available in various types of finishes","from":4874603948146688,"id":"hotspot_4874603948146688_info_1658950922925","to":"info","position":{"x":-0.2937111898153891,"y":-0.7702939237161197,"z":-0.5660220914975433},"title":"Counter"},{"description":"Cabinets made of HPL, with e possibility of choosing different types of finishes.","from":4874603948146688,"position":{"x":0.009343956874636053,"y":0.4401749897362246,"z":-0.8978633909903218},"id":"hotspot_4874603948146688_info_1658951048536","to":"info","title":"Cabinet"},{"description":"Panel made of stainless steel.","from":4874603948146688,"id":"hotspot_4874603948146688_info_1658951135409","position":{"x":0.05093175647439926,"y":-0.38969905578751024,"z":0.9195328173049375},"to":"info","title":"Back panel"},{"description":"Waterproof panels available in different types of finishes.","from":4874603948146688,"to":"info","position":{"x":-0.5264954347278297,"y":-0.004112161785889476,"z":0.8501680112402489},"id":"hotspot_4874603948146688_info_1658951207384","title":"Shower panels"},{"description":"Fan with a built-in rain shield. Use the fan in Any weather- event when it's raining.","from":4874603948146688,"id":"hotspot_4874603948146688_info_1658951323988","to":"info","position":{"x":-0.9615070836828259,"y":0.2745131850234977,"z":0.012109470508732057},"title":"Maxxfan"},{"description":"Hidden control panel. It has connectivity through an App to control all systems through the cell phone.","from":4874603948146688,"to":"info","position":{"x":-0.8243381144731331,"y":0.20070689667262553,"z":0.5293235443988145},"id":"hotspot_4874603948146688_info_1658951487161","title":"Control panel"},{"description":"The shower door is self-cleaning, compact, and ultra-lightweight, making it ideal for RVs but perfect for tiny bathrooms anywhere.","from":4874603948146688,"id":"hotspot_4874603948146688_info_1658951520606","position":{"x":0.7749860968754898,"y":-0.09317453351731858,"z":0.6250720406109397},"to":"info","title":"Retractable Shower Doors"},{"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":4874603948146688,"to":"info","id":"hotspot_4874603948146688_info_1658951806482","position":{"x":-0.5400853671224912,"y":-0.7522941458214154,"z":0.3773079834604497},"title":"Vitrofrigo frige"}],"id":4874603948146688,"hotspots":[{"from":4874603948146688,"to":5950359474274304,"position":{"x":-0.9897799383120932,"y":-0.14120258299693705,"z":0.01993750911980296},"id":"hotspot_4874603948146688_5950359474274304","toTitle":"Front area"},{"from":4874603948146688,"id":"hotspot_4874603948146688_4869657991315456","position":{"x":0.5276706850418792,"y":-0.8448764312185649,"z":-0.08801968029262237},"to":4869657991315456,"toTitle":"Garage area"},{"from":4874603948146688,"id":"hotspot_4874603948146688_4919160442191872","to":4919160442191872,"position":{"x":0.965187950733678,"y":-0.2518523361543616,"z":-0.07058767974734256},"toTitle":"Bed area"}]},{"infoHotspots":[{"description":"Slide fittings between slots on this track for quick adjustments. ","from":4919160442191872,"position":{"x":-0.9023240232822681,"y":0.41891120944011184,"z":0.10161080460819012},"to":"info","id":"hotspot_4919160442191872_info_1658951651414","title":"L-track"},{"description":"Cabinet made of aluminium. Can be relocated over L-Tracks","from":4919160442191872,"to":"info","position":{"x":0.5611287064907794,"y":0.1602833944279797,"z":-0.81206145593953},"id":"hotspot_4919160442191872_info_1658951765916","title":"Removable cabinet"}],"id":4919160442191872,"hotspots":[{"from":4919160442191872,"to":4874603948146688,"position":{"x":0.00897859981198506,"y":-0.08541997722171724,"z":-0.9963045780467223},"id":"hotspot_4919160442191872_4874603948146688","toTitle":"Middle area"}]},{"infoHotspots":[{"description":"Compartment with all the electrical system, it has batteries, charger and internal control system.","from":4869657991315456,"to":"info","position":{"x":0.9168037353058687,"y":-0.13925842469259203,"z":-0.3742699588283095},"id":"hotspot_4869657991315456_info_1658951848902","title":"Electric cabinet"},{"description":"Cabinet with all the built-in aqueduct system. It has a 20 Gal tank and air and water heating system.","from":4869657991315456,"id":"hotspot_4869657991315456_info_1658951873606","to":"info","position":{"x":-0.877774191816999,"y":-0.03934172376978503,"z":-0.47745648697115456},"title":"Water cabinet"},{"description":"Support to locate the lagun table and convert it into an auxiliary bed","from":4869657991315456,"position":{"x":0.44055519647293856,"y":0.3028477076695218,"z":-0.845100221760713},"id":"hotspot_4869657991315456_info_1658951961508","to":"info","title":"Auxiliary bed support"}],"id":4869657991315456,"hotspots":[{"from":4869657991315456,"id":"hotspot_4869657991315456_4874603948146688","position":{"x":-0.0013179812272158128,"y":0.38478394999506366,"z":-0.9230057284500899},"to":4874603948146688,"toTitle":"Middle area"}]}],"autorotate":{"enabled":false},"versionNumber":3}; window.brandingAllowed = true; window.isOwner = false; // 045: owner-only prompts route to the Premium Tour page window.upgradeCheckoutSessionStatus = 'complete'; window.isUpgradeSubscriptionValid = true; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); // 029: free-plan limits from functions/common/plan_limits.js; read by // add_photos_dropzone.js (image cap, file size), which keeps fallbacks. window.planLimits = {"freeMaxMultiImageTours":2,"freeMaxSingleImageTours":-1,"freeMaxImagesPerTour":5,"freeMaxFileBytes":20000000,"multiImageLimitCutoffDate":"2026-10-11T00:00:00Z","freeMultiImageBonusPerUpgradedTour":2,"freeMultiImageBonusPerSharedTour":1,"freeMultiImageShareCreditVisitors":1,"freeMaxMultiImageToursWithBonus":10,"freeMultiImageShareBonusEnabled":true,"freeMultiImageLimitEnabled":true}; // 038: offer prices from functions/common/prices.js (display strings, cents); read by nothing yet. window.prices = {"currency":"usd","proMonthly":{"amount":999,"interval":"month","perMonth":999,"display":"$9.99","perMonthDisplay":"$9.99"},"proYearly":{"amount":9900,"interval":"year","perMonth":825,"display":"$99.00","perMonthDisplay":"$8.25"},"tourMonthly":{"amount":299,"interval":"month","perMonth":299,"display":"$2.99","perMonthDisplay":"$2.99"},"tourConversionCredit":{"amount":300,"display":"$3.00"},"tourComparison":{"count":4,"total":1196,"totalDisplay":"$11.96"}}; window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? 'https://images.orbix360.com/users/IvkXL3OyUehDd3E9Y508LmM4k9z1/branding/nadir-1774281851684.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 */ } })();