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":"img20250822105339115jpg-1756094205640.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105339115jpg-1756094205640.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105339115jpg-1756094205640.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105339115jpg-1756094205640.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105339115jpg-1756094205640.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-08-25T03:56:45.641Z","updated_date":"2025-08-25T03:56:45.641Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105339115jpg-1756094205640.jpg&uploadType=resumable&upload_id=ABgVH8-v8ZOUSUdWB1olcpDrUkTXtG49HbXPbkIQOeX79PcoRVo2z07X7yc5w1t7Xce2Rv4-JOMYp5VWd3OZ-2dIwhUKfZG0fKe4lkqQ3iTdXA","id":"4810411763302400","title":"Indoor Play","has_anaglyph":false,"index":0},{"filename":"img20250822105348454jpg-1756094210015.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105348454jpg-1756094210015.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105348454jpg-1756094210015.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105348454jpg-1756094210015.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105348454jpg-1756094210015.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-08-25T03:56:50.017Z","updated_date":"2025-08-25T03:56:50.017Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105348454jpg-1756094210015.JPG&uploadType=resumable&upload_id=ABgVH89hU75WSCpN78jl69UTpqj-2HLMuyAddFnPG9a3i_XqHSujeFfiSVBky2tQ6w2g-HGB34hI6TPQ__q5Kv25tCyF1xTSlZi3plBIwBFXyQ","id":"5478782896963584","title":"Rooftop Play","has_anaglyph":false,"index":1},{"filename":"img20250822105402967jpg-1756094205679.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105402967jpg-1756094205679.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105402967jpg-1756094205679.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105402967jpg-1756094205679.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105402967jpg-1756094205679.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-08-25T03:56:45.679Z","updated_date":"2025-08-25T03:56:45.679Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105402967jpg-1756094205679.jpg&uploadType=resumable&upload_id=ABgVH8_Bwozzkl3U812-Mr-02_Yvxm3Kapku5D3b3Fx6rVW7wQWm_Y5YCtzTU-rNnAcC7km635k5E4nPaifxQjKsjo38G8o5cOK4_KdCK6TNsmY","id":"5038943215026176","title":"Montessori Room","has_anaglyph":false,"index":2},{"filename":"img20250822105647163jpg-1756094205548.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105647163jpg-1756094205548.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105647163jpg-1756094205548.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105647163jpg-1756094205548.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105647163jpg-1756094205548.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2025-08-25T03:56:45.549Z","updated_date":"2025-08-25T03:56:45.549Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105647163jpg-1756094205548.jpg&uploadType=resumable&upload_id=ABgVH8_ax0cLh4V0ATo0q2kZI84Hwcgn1tUIqhkhV4Zcub02SK5zzAKVsuZyKotDZaQXYDb5eofcpEndqhPtySiEUwZQfzoEG61SbS1FKyHVPg","id":"4814098724290560","title":"Classroom","has_anaglyph":false,"index":3}]; console.log('num photos: ' + window.photos.length); window.photosMap = {"4810411763302400":{"filename":"img20250822105339115jpg-1756094205640.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105339115jpg-1756094205640.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105339115jpg-1756094205640.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105339115jpg-1756094205640.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105339115jpg-1756094205640.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":1,"status":"active","created_date":"2025-08-25T03:56:45.641Z","updated_date":"2025-08-25T03:56:45.641Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105339115jpg-1756094205640.jpg&uploadType=resumable&upload_id=ABgVH8-v8ZOUSUdWB1olcpDrUkTXtG49HbXPbkIQOeX79PcoRVo2z07X7yc5w1t7Xce2Rv4-JOMYp5VWd3OZ-2dIwhUKfZG0fKe4lkqQ3iTdXA","id":"4810411763302400","title":"Indoor Play","has_anaglyph":false,"index":0},"5478782896963584":{"filename":"img20250822105348454jpg-1756094210015.JPG","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105348454jpg-1756094210015.JPG","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105348454jpg-1756094210015.JPG","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105348454jpg-1756094210015.JPG","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105348454jpg-1756094210015.JPG","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":2,"status":"active","created_date":"2025-08-25T03:56:50.017Z","updated_date":"2025-08-25T03:56:50.017Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105348454jpg-1756094210015.JPG&uploadType=resumable&upload_id=ABgVH89hU75WSCpN78jl69UTpqj-2HLMuyAddFnPG9a3i_XqHSujeFfiSVBky2tQ6w2g-HGB34hI6TPQ__q5Kv25tCyF1xTSlZi3plBIwBFXyQ","id":"5478782896963584","title":"Rooftop Play","has_anaglyph":false,"index":1},"5038943215026176":{"filename":"img20250822105402967jpg-1756094205679.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105402967jpg-1756094205679.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105402967jpg-1756094205679.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105402967jpg-1756094205679.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105402967jpg-1756094205679.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":3,"status":"active","created_date":"2025-08-25T03:56:45.679Z","updated_date":"2025-08-25T03:56:45.679Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105402967jpg-1756094205679.jpg&uploadType=resumable&upload_id=ABgVH8_Bwozzkl3U812-Mr-02_Yvxm3Kapku5D3b3Fx6rVW7wQWm_Y5YCtzTU-rNnAcC7km635k5E4nPaifxQjKsjo38G8o5cOK4_KdCK6TNsmY","id":"5038943215026176","title":"Montessori Room","has_anaglyph":false,"index":2},"4814098724290560":{"filename":"img20250822105647163jpg-1756094205548.jpg","folder":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800","gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105647163jpg-1756094205548.jpg","image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/img20250822105647163jpg-1756094205548.jpg","thumbnail_gcs_filename":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105647163jpg-1756094205548.jpg","thumbnail_image_url":"/users/StvQBn7UXrYdel0l2nQRHWnSKpf1/5981644311756800/thumb_img20250822105647163jpg-1756094205548.jpg","rotation":0,"photo_type":"360_mono","is_stereo":false,"sort_order":4,"status":"active","created_date":"2025-08-25T03:56:45.549Z","updated_date":"2025-08-25T03:56:45.549Z","version":"v3","resumable_upload_uri":"https://storage.googleapis.com/upload/storage/v1/b/orbix360-prod-images/o?name=users%2FStvQBn7UXrYdel0l2nQRHWnSKpf1%2F5981644311756800%2Fimg20250822105647163jpg-1756094205548.jpg&uploadType=resumable&upload_id=ABgVH8_ax0cLh4V0ATo0q2kZI84Hwcgn1tUIqhkhV4Zcub02SK5zzAKVsuZyKotDZaQXYDb5eofcpEndqhPtySiEUwZQfzoEG61SbS1FKyHVPg","id":"4814098724290560","title":"Classroom","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 = "5981644311756800"; 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['4810411763302400'] = 0; window.current_image_index = 0; window.current_image_id = 4810411763302400 window.photo_indexes['5478782896963584'] = 1; window.photo_indexes['5038943215026176'] = 2; window.photo_indexes['4814098724290560'] = 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/5981644311756800/thumb_img20250822105339115jpg-1756094205640.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":4810411763302400,"hotspots":[{"id":"hotspot_4810411763302400_5478782896963584","from":4810411763302400,"to":5478782896963584,"position":{"x":0.5255372716014867,"y":-0.0017601244460262826,"z":-0.8507687571365087},"toTitle":"Rooftop Play"},{"id":"hotspot_4810411763302400_5038943215026176","from":4810411763302400,"to":5038943215026176,"position":{"x":0.8684077278911319,"y":-0.006237285135392024,"z":-0.49581157147963156},"toTitle":"Montessori Room"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756097070767","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/5981644311756800/4810411763302400/plugin_4826070998056960_1756097070767/Treetops Montessori.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":5478782896963584,"hotspots":[{"id":"hotspot_5478782896963584_4810411763302400","from":5478782896963584,"to":4810411763302400,"position":{"x":-0.7919127564162041,"y":-0.02812639147115451,"z":-0.6099861410951084},"toTitle":"Indoor Play"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756097108846","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/5981644311756800/5478782896963584/plugin_4826070998056960_1756097108846/Treetops Montessori.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":5038943215026176,"hotspots":[{"id":"hotspot_5038943215026176_4814098724290560","from":5038943215026176,"to":4814098724290560,"position":{"x":-0.9735288323235038,"y":0.02445297424415328,"z":0.22725242503755635},"toTitle":"Classroom"},{"id":"hotspot_5038943215026176_4810411763302400","from":5038943215026176,"to":4810411763302400,"position":{"x":-0.9877110911671626,"y":-0.012594369033309915,"z":-0.15578248378436382},"toTitle":"Indoor Play"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756097134861","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/5981644311756800/5038943215026176/plugin_4826070998056960_1756097134861/Treetops Montessori.png","width":3,"height":"3","visible":true,"shader":"flat","transparent":true,"opacity":"1.0","side":"front","repeat":"1 1","additional_components":""}]},{"id":4814098724290560,"hotspots":[{"id":"hotspot_4814098724290560_5038943215026176","from":4814098724290560,"to":5038943215026176,"position":{"x":0.9565321724752489,"y":-0.008490928165509996,"z":-0.29150318550346704},"toTitle":"Montessori Room"}],"infoHotspots":[],"plugins":[{"pluginId":"4826070998056960","instanceId":"plugin_4826070998056960_1756097164959","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/5981644311756800/4814098724290560/plugin_4826070998056960_1756097164959/Treetops Montessori.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;