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 = [{"filename":"img20250922152213894jpg-1758609640585.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152213894jpg-1758609640585.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152213894jpg-1758609640585.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152213894jpg-1758609640585.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152213894jpg-1758609640585.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-09-23T06:40:40.585Z","updated_date":"2025-09-23T06:40:40.585Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922152213894jpg-1758609640585.jpg&uploadType=resumable&upload_id=AAwnv3JECrGcXyuVTNECf4sGF2zw68wfpdkdeM7Amduwzecj6AxUCMWldwOFWNY0JT-TUqCQaUGvEvjC1TYY2sqbYxS7lfuKHNOykqDX4QTUQg","id":"6030602006429696","title":"3D Printer","has_anaglyph":false,"index":0},{"filename":"img20250922152219682jpg-1758609640217.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152219682jpg-1758609640217.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152219682jpg-1758609640217.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152219682jpg-1758609640217.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152219682jpg-1758609640217.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-09-23T06:40:40.218Z","updated_date":"2025-09-23T06:40:40.218Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922152219682jpg-1758609640217.jpg&uploadType=resumable&upload_id=AAwnv3K5-e1yMqoi7MC_Nxi9SBP1KJUWvX3d1pNqa8FC30ph9yJO8YfW3iI7j4w1t19pXKMKciHfWa2wLIT06kTxrykrVmszVEllHqHFJfEqncg","id":"5978809264242688","title":"Drone","has_anaglyph":false,"index":1},{"filename":"img20250922152228557jpg-1758609640469.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152228557jpg-1758609640469.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152228557jpg-1758609640469.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152228557jpg-1758609640469.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152228557jpg-1758609640469.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-09-23T06:40:40.470Z","updated_date":"2025-09-23T06:40:40.470Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922152228557jpg-1758609640469.jpg&uploadType=resumable&upload_id=AAwnv3IccHblZUK0bS8iezIbTlYv_jlfGj2KxwYtiUMcEQRcfz9tW3WBGLUTxsV1WH_jyFmZkffvyk_yx8rfsGpzpyyvD5-XkvJPMlb3HjNCF1g","id":"4804757673738240","title":"Robotics","has_anaglyph":false,"index":2},{"filename":"img20250922160304608jpg-1758609640353.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922160304608jpg-1758609640353.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922160304608jpg-1758609640353.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922160304608jpg-1758609640353.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922160304608jpg-1758609640353.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2025-09-23T06:40:40.353Z","updated_date":"2025-09-23T06:40:40.353Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922160304608jpg-1758609640353.jpg&uploadType=resumable&upload_id=AAwnv3K27z8akcWDIf_Dsh-1E8TtCgsQ6aQfPHG5xZ5SjRsk2MMtbGCNJSO8aSRw4BzIPllk-FRs0y-KEu6gPRTSXzaKBmeF28Z_mqXH0NadOJ0","id":"6276376980094976","title":"Makers","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"6030602006429696":{"filename":"img20250922152213894jpg-1758609640585.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152213894jpg-1758609640585.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152213894jpg-1758609640585.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152213894jpg-1758609640585.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152213894jpg-1758609640585.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-09-23T06:40:40.585Z","updated_date":"2025-09-23T06:40:40.585Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922152213894jpg-1758609640585.jpg&uploadType=resumable&upload_id=AAwnv3JECrGcXyuVTNECf4sGF2zw68wfpdkdeM7Amduwzecj6AxUCMWldwOFWNY0JT-TUqCQaUGvEvjC1TYY2sqbYxS7lfuKHNOykqDX4QTUQg","id":"6030602006429696","title":"3D Printer","has_anaglyph":false,"index":0},"5978809264242688":{"filename":"img20250922152219682jpg-1758609640217.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152219682jpg-1758609640217.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152219682jpg-1758609640217.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152219682jpg-1758609640217.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152219682jpg-1758609640217.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-09-23T06:40:40.218Z","updated_date":"2025-09-23T06:40:40.218Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922152219682jpg-1758609640217.jpg&uploadType=resumable&upload_id=AAwnv3K5-e1yMqoi7MC_Nxi9SBP1KJUWvX3d1pNqa8FC30ph9yJO8YfW3iI7j4w1t19pXKMKciHfWa2wLIT06kTxrykrVmszVEllHqHFJfEqncg","id":"5978809264242688","title":"Drone","has_anaglyph":false,"index":1},"4804757673738240":{"filename":"img20250922152228557jpg-1758609640469.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152228557jpg-1758609640469.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922152228557jpg-1758609640469.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152228557jpg-1758609640469.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152228557jpg-1758609640469.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-09-23T06:40:40.470Z","updated_date":"2025-09-23T06:40:40.470Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922152228557jpg-1758609640469.jpg&uploadType=resumable&upload_id=AAwnv3IccHblZUK0bS8iezIbTlYv_jlfGj2KxwYtiUMcEQRcfz9tW3WBGLUTxsV1WH_jyFmZkffvyk_yx8rfsGpzpyyvD5-XkvJPMlb3HjNCF1g","id":"4804757673738240","title":"Robotics","has_anaglyph":false,"index":2},"6276376980094976":{"filename":"img20250922160304608jpg-1758609640353.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922160304608jpg-1758609640353.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/img20250922160304608jpg-1758609640353.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922160304608jpg-1758609640353.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922160304608jpg-1758609640353.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2025-09-23T06:40:40.353Z","updated_date":"2025-09-23T06:40:40.353Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F4904702099587072%2Fimg20250922160304608jpg-1758609640353.jpg&uploadType=resumable&upload_id=AAwnv3K27z8akcWDIf_Dsh-1E8TtCgsQ6aQfPHG5xZ5SjRsk2MMtbGCNJSO8aSRw4BzIPllk-FRs0y-KEu6gPRTSXzaKBmeF28Z_mqXH0NadOJ0","id":"6276376980094976","title":"Makers","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 = "4904702099587072"; window.tourUid = "StvQBn7UXrYdel0l2nQRHWnSKpf1"; window.customUrl = "https://kiddy123.com/"; window.tourSlug = ""; window.template = ''; window.template_category = ''; window.tourShortCode = ""; 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['6030602006429696'] = 0; window.current_image_index = 0; window.current_image_id = 6030602006429696 window.photo_indexes['5978809264242688'] = 1; window.photo_indexes['4804757673738240'] = 2; window.photo_indexes['6276376980094976'] = 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 = '/images/profile-icon.png'; window.user_profile_name = 'Orbi-3310788280'; window.shortURLRoot = 'https://orbix360.com'; window.image_url = 'https://storage.googleapis.com/orbix360-prod-images/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/thumb_img20250922152213894jpg-1758609640585.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 = {"versionNumber":3,"autorotate":{"enabled":true},"orbs":[{"id":6030602006429696,"hotspots":[{"id":"hotspot_6030602006429696_5978809264242688","from":6030602006429696,"to":5978809264242688,"position":{"x":0.8086271290454663,"y":-0.06983028967759584,"z":0.5841625602648889},"toTitle":"Drone"},{"id":"hotspot_6030602006429696_4804757673738240","from":6030602006429696,"to":4804757673738240,"position":{"x":0.9403363045508298,"y":0.013533230595634299,"z":-0.33997718454822},"toTitle":"Robotics"},{"id":"hotspot_6030602006429696_6276376980094976","from":6030602006429696,"to":6276376980094976,"position":{"x":-0.9124429398003104,"y":-0.00033065068611320205,"z":0.40920382730210475},"toTitle":"Makers"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1758610342251","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/6030602006429696/plugin_4826070998056960_1758610342251/BeStem.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":5978809264242688,"hotspots":[{"id":"hotspot_5978809264242688_4804757673738240","from":5978809264242688,"to":4804757673738240,"position":{"x":-0.9968703805012155,"y":0.057092961563126515,"z":0.05467941312151279},"toTitle":"Robotics"},{"id":"hotspot_5978809264242688_6030602006429696","from":5978809264242688,"to":6030602006429696,"position":{"x":-0.9097804161272979,"y":-0.05289541800170487,"z":0.41170580416805574},"toTitle":"3D Printer"},{"id":"hotspot_5978809264242688_6276376980094976","from":5978809264242688,"to":6276376980094976,"position":{"x":-0.5136359736120258,"y":0.06630012174328832,"z":0.855442797893846},"toTitle":"Makers"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1758610312103","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/5978809264242688/plugin_4826070998056960_1758610312103/BeStem.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":4804757673738240,"hotspots":[{"id":"hotspot_4804757673738240_5978809264242688","from":4804757673738240,"to":5978809264242688,"position":{"x":-0.4526123840973146,"y":0.11864027999952062,"z":0.8837796748756899},"toTitle":"Drone"},{"id":"hotspot_4804757673738240_6030602006429696","from":4804757673738240,"to":6030602006429696,"position":{"x":-0.9375806946972951,"y":0.0236701617332295,"z":0.346961329796939},"toTitle":"3D Printer"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1758610278748","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/4804757673738240/plugin_4826070998056960_1758610278748/BeStem.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":6276376980094976,"hotspots":[{"id":"hotspot_6276376980094976_6030602006429696","from":6276376980094976,"to":6030602006429696,"position":{"x":-0.3341670242405685,"y":0.08087905760440507,"z":0.9390372612155636},"toTitle":"3D Printer"},{"id":"hotspot_6276376980094976_5978809264242688","from":6276376980094976,"to":5978809264242688,"position":{"x":-0.8343883918356705,"y":0.18709306264677839,"z":0.5184517310987903},"toTitle":"Drone"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1758610207245","instanceName":"Image","templateFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/template.html","schemaFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/schema.json","scriptFilename":"users/sn4iLJyuI5Y6LMBmIQrqSelGxJK2/4826070998056960/v3/script.js","position":{"x":"0.1","y":"-0.9","z":"0.01"},"rotation":{"x":"-100","y":"65","z":"0"},"scale":{"x":"1","y":"1","z":"1"},"src":"https://storage.googleapis.com/orbix360-prod-assets/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/4904702099587072/6276376980094976/plugin_4826070998056960_1758610207245/BeStem.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]}]}; window.brandingAllowed = true; window.upgradeCheckoutSessionStatus = ''; window.isUpgradeSubscriptionValid = false; window.isPro = (window.brandingAllowed || window.isUpgradeSubscriptionValid); window.nadirLogoURL = (window.brandingAllowed || isUpgradeSubscriptionValid) ? 'https://storage.googleapis.com/orbix360-prod-images/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/branding/nadir-1729253472432.png' : '/images/orbix_nadir.png'; window.editMode = false;