File: /home/dronicaehy/www/FCC_VT_Dronica/script_mobile.js
(function(){
var script = {
"borderRadius": 0,
"scripts": {
"changePlayListWithSameSpot": function(playList, newIndex){ var currentIndex = playList.get('selectedIndex'); if (currentIndex >= 0 && newIndex >= 0 && currentIndex != newIndex) { var currentItem = playList.get('items')[currentIndex]; var newItem = playList.get('items')[newIndex]; var currentPlayer = currentItem.get('player'); var newPlayer = newItem.get('player'); if ((currentPlayer.get('class') == 'PanoramaPlayer' || currentPlayer.get('class') == 'Video360Player') && (newPlayer.get('class') == 'PanoramaPlayer' || newPlayer.get('class') == 'Video360Player')) { var newCamera = this.cloneCamera(newItem.get('camera')); this.setCameraSameSpotAsMedia(newCamera, currentItem.get('media')); this.startPanoramaWithCamera(newItem.get('media'), newCamera); } } },
"stopGlobalAudio": function(audio){ var audios = window.currentGlobalAudios; if(audios){ var audioData = audios[audio.get('id')]; if(audioData){ audio = audioData.audio; delete audios[audio.get('id')]; if(Object.keys(audios).length == 0){ window.currentGlobalAudios = undefined; } } } if(audio) audio.stop(); },
"cloneCamera": function(camera){ var newCamera = this.rootPlayer.createInstance(camera.get('class')); newCamera.set('id', camera.get('id') + '_copy'); newCamera.set('idleSequence', camera.get('initialSequence')); return newCamera; },
"getPlayListItems": function(media, player){ var itemClass = (function() { switch(media.get('class')) { case 'Panorama': case 'LivePanorama': case 'HDRPanorama': return 'PanoramaPlayListItem'; case 'Video360': return 'Video360PlayListItem'; case 'PhotoAlbum': return 'PhotoAlbumPlayListItem'; case 'Map': return 'MapPlayListItem'; case 'Video': return 'VideoPlayListItem'; } })(); if (itemClass != undefined) { var items = this.getByClassName(itemClass); for (var i = items.length-1; i>=0; --i) { var item = items[i]; if(item.get('media') != media || (player != undefined && item.get('player') != player)) { items.splice(i, 1); } } return items; } else { return []; } },
"getMediaFromPlayer": function(player){ switch(player.get('class')){ case 'PanoramaPlayer': return player.get('panorama') || player.get('video'); case 'VideoPlayer': case 'Video360Player': return player.get('video'); case 'PhotoAlbumPlayer': return player.get('photoAlbum'); case 'MapPlayer': return player.get('map'); } },
"_initItemWithComps": function(playList, index, components, eventName, visible, effectToApply, delay, restoreStateAt){ var item = playList.get('items')[index]; var registerVisibility = restoreStateAt > 0; var rootPlayer = this.rootPlayer; var cloneEffect = function(visible) { var klass = effectToApply ? effectToApply.get('class') : undefined; var effect = undefined; switch(klass) { case 'FadeInEffect': case 'FadeOutEffect': effect = rootPlayer.createInstance(visible ? 'FadeInEffect' : 'FadeOutEffect'); break; case 'SlideInEffect': case 'SlideOutEffect': effect = rootPlayer.createInstance(visible ? 'SlideInEffect' : 'SlideOutEffect'); break; } if(effect){ effect.set('duration', effectToApply.get('duration')); effect.set('easing', effectToApply.get('easing')); if(klass.indexOf('Slide') != -1) effect.set(visible ? 'from' : 'to', effectToApply.get(visible ? 'from' : 'to')); } return effect; }; var endFunc = function() { for(var i = 0, count = components.length; i<count; ++i) { var component = components[i]; if(restoreStateAt > 0){ this.setComponentVisibility(component, !visible, 0, cloneEffect(!visible)); } else { var key = 'visibility_' + component.get('id'); if(this.existsKey(key)) { if(this.getKey(key)) this.setComponentVisibility(component, true, 0, cloneEffect(true)); else this.setComponentVisibility(component, false, 0, cloneEffect(false)); this.unregisterKey(key); } } } item.unbind('end', endFunc, this); if(addMediaEndEvent) media.unbind('end', endFunc, this); }; var stopFunc = function() { item.unbind('stop', stopFunc, this, true); item.unbind('stop', stopFunc, this); item.unbind('begin', stopFunc, this, true); item.unbind('begin', stopFunc, this); for(var i = 0, count = components.length; i<count; ++i) { this.keepCompVisible(components[i], false); } }; var addEvent = function(eventName, delay, restoreStateAt){ var changeFunc = function(){ var changeVisibility = function(component, visible, effect) { rootPlayer.setComponentVisibility(component, visible, delay, effect, visible ? 'showEffect' : 'hideEffect', false); if(restoreStateAt > 0){ var time = delay + restoreStateAt + (effect != undefined ? effect.get('duration') : 0); rootPlayer.setComponentVisibility(component, !visible, time, cloneEffect(!visible), visible ? 'hideEffect' : 'showEffect', true); } }; for(var i = 0, count = components.length; i<count; ++i){ var component = components[i]; if(visible == 'toggle'){ if(!component.get('visible')) changeVisibility(component, true, cloneEffect(true)); else changeVisibility(component, false, cloneEffect(false)); } else { changeVisibility(component, visible, cloneEffect(visible)); } } item.unbind(eventName, changeFunc, this); }; item.bind(eventName, changeFunc, this) }; if(eventName == 'begin'){ for(var i = 0, count = components.length; i<count; ++i){ var component = components[i]; this.keepCompVisible(component, true); if(registerVisibility) { var key = 'visibility_' + component.get('id'); this.registerKey(key, component.get('visible')); } } item.bind('stop', stopFunc, this, true); item.bind('stop', stopFunc, this); item.bind('begin', stopFunc, this, true); item.bind('begin', stopFunc, this); if(registerVisibility){ item.bind('end', endFunc, this); var media = item.get('media'); var addMediaEndEvent = media.get('loop') != undefined && !(media.get('loop')); if(addMediaEndEvent) media.bind('end', endFunc, this); } } else if(eventName == 'end' && restoreStateAt > 0){ addEvent('begin', restoreStateAt, 0); restoreStateAt = 0; } if(eventName != undefined) addEvent(eventName, delay, restoreStateAt); },
"stopAndGoCamera": function(camera, ms){ var sequence = camera.get('initialSequence'); sequence.pause(); var timeoutFunction = function(){ sequence.play(); }; setTimeout(timeoutFunction, ms); },
"stopGlobalAudios": function(onlyForeground){ var audios = window.currentGlobalAudios; var self = this; if(audios){ Object.keys(audios).forEach(function(key){ var data = audios[key]; if(!onlyForeground || (onlyForeground && !data.asBackground)) { self.stopGlobalAudio(data.audio); } }); } },
"keepCompVisible": function(component, keep){ var key = 'keepVisibility_' + component.get('id'); var value = this.getKey(key); if(value == undefined && keep) { this.registerKey(key, keep); } else if(value != undefined && !keep) { this.unregisterKey(key); } },
"getFirstPlayListWithMedia": function(media, onlySelected){ var playLists = this.getPlayListsWithMedia(media, onlySelected); return playLists.length > 0 ? playLists[0] : undefined; },
"showPopupImage": function(image, toggleImage, customWidth, customHeight, showEffect, hideEffect, closeButtonProperties, autoCloseMilliSeconds, audio, stopBackgroundAudio, loadedCallback, hideCallback){ var self = this; var closed = false; var playerClickFunction = function() { zoomImage.unbind('loaded', loadedFunction, self); hideFunction(); }; var clearAutoClose = function(){ zoomImage.unbind('click', clearAutoClose, this); if(timeoutID != undefined){ clearTimeout(timeoutID); } }; var resizeFunction = function(){ setTimeout(setCloseButtonPosition, 0); }; var loadedFunction = function(){ self.unbind('click', playerClickFunction, self); veil.set('visible', true); setCloseButtonPosition(); closeButton.set('visible', true); zoomImage.unbind('loaded', loadedFunction, this); zoomImage.bind('userInteractionStart', userInteractionStartFunction, this); zoomImage.bind('userInteractionEnd', userInteractionEndFunction, this); zoomImage.bind('resize', resizeFunction, this); timeoutID = setTimeout(timeoutFunction, 200); }; var timeoutFunction = function(){ timeoutID = undefined; if(autoCloseMilliSeconds){ var autoCloseFunction = function(){ hideFunction(); }; zoomImage.bind('click', clearAutoClose, this); timeoutID = setTimeout(autoCloseFunction, autoCloseMilliSeconds); } zoomImage.bind('backgroundClick', hideFunction, this); if(toggleImage) { zoomImage.bind('click', toggleFunction, this); zoomImage.set('imageCursor', 'hand'); } closeButton.bind('click', hideFunction, this); if(loadedCallback) loadedCallback(); }; var hideFunction = function() { self.MainViewer.set('toolTipEnabled', true); closed = true; if(timeoutID) clearTimeout(timeoutID); if (timeoutUserInteractionID) clearTimeout(timeoutUserInteractionID); if(autoCloseMilliSeconds) clearAutoClose(); if(hideCallback) hideCallback(); zoomImage.set('visible', false); if(hideEffect && hideEffect.get('duration') > 0){ hideEffect.bind('end', endEffectFunction, this); } else{ zoomImage.set('image', null); } closeButton.set('visible', false); veil.set('visible', false); self.unbind('click', playerClickFunction, self); zoomImage.unbind('backgroundClick', hideFunction, this); zoomImage.unbind('userInteractionStart', userInteractionStartFunction, this); zoomImage.unbind('userInteractionEnd', userInteractionEndFunction, this, true); zoomImage.unbind('resize', resizeFunction, this); if(toggleImage) { zoomImage.unbind('click', toggleFunction, this); zoomImage.set('cursor', 'default'); } closeButton.unbind('click', hideFunction, this); self.resumePlayers(playersPaused, audio == null || stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ self.resumeGlobalAudios(); } self.stopGlobalAudio(audio); } }; var endEffectFunction = function() { zoomImage.set('image', null); hideEffect.unbind('end', endEffectFunction, this); }; var toggleFunction = function() { zoomImage.set('image', isToggleVisible() ? image : toggleImage); }; var isToggleVisible = function() { return zoomImage.get('image') == toggleImage; }; var setCloseButtonPosition = function() { var right = zoomImage.get('actualWidth') - zoomImage.get('imageLeft') - zoomImage.get('imageWidth') + 10; var top = zoomImage.get('imageTop') + 10; if(right < 10) right = 10; if(top < 10) top = 10; closeButton.set('right', right); closeButton.set('top', top); }; var userInteractionStartFunction = function() { if(timeoutUserInteractionID){ clearTimeout(timeoutUserInteractionID); timeoutUserInteractionID = undefined; } else{ closeButton.set('visible', false); } }; var userInteractionEndFunction = function() { if(!closed){ timeoutUserInteractionID = setTimeout(userInteractionTimeoutFunction, 300); } }; var userInteractionTimeoutFunction = function() { timeoutUserInteractionID = undefined; closeButton.set('visible', true); setCloseButtonPosition(); }; this.MainViewer.set('toolTipEnabled', false); var veil = this.veilPopupPanorama; var zoomImage = this.zoomImagePopupPanorama; var closeButton = this.closeButtonPopupPanorama; if(closeButtonProperties){ for(var key in closeButtonProperties){ closeButton.set(key, closeButtonProperties[key]); } } var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ this.pauseGlobalAudios(); } this.playGlobalAudio(audio); } var timeoutID = undefined; var timeoutUserInteractionID = undefined; zoomImage.bind('loaded', loadedFunction, this); setTimeout(function(){ self.bind('click', playerClickFunction, self, false); }, 0); zoomImage.set('image', image); zoomImage.set('customWidth', customWidth); zoomImage.set('customHeight', customHeight); zoomImage.set('showEffect', showEffect); zoomImage.set('hideEffect', hideEffect); zoomImage.set('visible', true); return zoomImage; },
"getCurrentPlayerWithMedia": function(media){ var playerClass = undefined; var mediaPropertyName = undefined; switch(media.get('class')) { case 'Panorama': case 'LivePanorama': case 'HDRPanorama': playerClass = 'PanoramaPlayer'; mediaPropertyName = 'panorama'; break; case 'Video360': playerClass = 'PanoramaPlayer'; mediaPropertyName = 'video'; break; case 'PhotoAlbum': playerClass = 'PhotoAlbumPlayer'; mediaPropertyName = 'photoAlbum'; break; case 'Map': playerClass = 'MapPlayer'; mediaPropertyName = 'map'; break; case 'Video': playerClass = 'VideoPlayer'; mediaPropertyName = 'video'; break; }; if(playerClass != undefined) { var players = this.getByClassName(playerClass); for(var i = 0; i<players.length; ++i){ var player = players[i]; if(player.get(mediaPropertyName) == media) { return player; } } } else { return undefined; } },
"setPanoramaCameraWithCurrentSpot": function(playListItem){ var currentPlayer = this.getActivePlayerWithViewer(this.MainViewer); if(currentPlayer == undefined){ return; } var playerClass = currentPlayer.get('class'); if(playerClass != 'PanoramaPlayer' && playerClass != 'Video360Player'){ return; } var fromMedia = currentPlayer.get('panorama'); if(fromMedia == undefined) { fromMedia = currentPlayer.get('video'); } var panorama = playListItem.get('media'); var newCamera = this.cloneCamera(playListItem.get('camera')); this.setCameraSameSpotAsMedia(newCamera, fromMedia); this.startPanoramaWithCamera(panorama, newCamera); },
"pauseGlobalAudios": function(caller, exclude){ if (window.pauseGlobalAudiosState == undefined) window.pauseGlobalAudiosState = {}; if (window.pauseGlobalAudiosList == undefined) window.pauseGlobalAudiosList = []; if (caller in window.pauseGlobalAudiosState) { return; } var audios = this.getByClassName('Audio').concat(this.getByClassName('VideoPanoramaOverlay')); if (window.currentGlobalAudios != undefined) audios = audios.concat(Object.values(window.currentGlobalAudios).map(function(v) { return v.audio })); var audiosPaused = []; var values = Object.values(window.pauseGlobalAudiosState); for (var i = 0, count = values.length; i<count; ++i) { var objAudios = values[i]; for (var j = 0; j<objAudios.length; ++j) { var a = objAudios[j]; if(audiosPaused.indexOf(a) == -1) audiosPaused.push(a); } } window.pauseGlobalAudiosState[caller] = audiosPaused; for (var i = 0, count = audios.length; i < count; ++i) { var a = audios[i]; if (a.get('state') == 'playing' && (exclude == undefined || exclude.indexOf(a) == -1)) { a.pause(); audiosPaused.push(a); } } },
"resumeGlobalAudios": function(caller){ if (window.pauseGlobalAudiosState == undefined || !(caller in window.pauseGlobalAudiosState)) return; var audiosPaused = window.pauseGlobalAudiosState[caller]; delete window.pauseGlobalAudiosState[caller]; var values = Object.values(window.pauseGlobalAudiosState); for (var i = 0, count = values.length; i<count; ++i) { var objAudios = values[i]; for (var j = audiosPaused.length-1; j>=0; --j) { var a = audiosPaused[j]; if(objAudios.indexOf(a) != -1) audiosPaused.splice(j, 1); } } for (var i = 0, count = audiosPaused.length; i<count; ++i) { var a = audiosPaused[i]; if (a.get('state') == 'paused') a.play(); } },
"showPopupMedia": function(w, media, playList, popupMaxWidth, popupMaxHeight, autoCloseWhenFinished, stopAudios){ var self = this; var closeFunction = function(){ playList.set('selectedIndex', -1); self.MainViewer.set('toolTipEnabled', true); if(stopAudios) { self.resumeGlobalAudios(); } this.resumePlayers(playersPaused, !stopAudios); if(isVideo) { this.unbind('resize', resizeFunction, this); } w.unbind('close', closeFunction, this); }; var endFunction = function(){ w.hide(); }; var resizeFunction = function(){ var getWinValue = function(property){ return w.get(property) || 0; }; var parentWidth = self.get('actualWidth'); var parentHeight = self.get('actualHeight'); var mediaWidth = self.getMediaWidth(media); var mediaHeight = self.getMediaHeight(media); var popupMaxWidthNumber = parseFloat(popupMaxWidth) / 100; var popupMaxHeightNumber = parseFloat(popupMaxHeight) / 100; var windowWidth = popupMaxWidthNumber * parentWidth; var windowHeight = popupMaxHeightNumber * parentHeight; var footerHeight = getWinValue('footerHeight'); var headerHeight = getWinValue('headerHeight'); if(!headerHeight) { var closeButtonHeight = getWinValue('closeButtonIconHeight') + getWinValue('closeButtonPaddingTop') + getWinValue('closeButtonPaddingBottom'); var titleHeight = self.getPixels(getWinValue('titleFontSize')) + getWinValue('titlePaddingTop') + getWinValue('titlePaddingBottom'); headerHeight = closeButtonHeight > titleHeight ? closeButtonHeight : titleHeight; headerHeight += getWinValue('headerPaddingTop') + getWinValue('headerPaddingBottom'); } var contentWindowWidth = windowWidth - getWinValue('bodyPaddingLeft') - getWinValue('bodyPaddingRight') - getWinValue('paddingLeft') - getWinValue('paddingRight'); var contentWindowHeight = windowHeight - headerHeight - footerHeight - getWinValue('bodyPaddingTop') - getWinValue('bodyPaddingBottom') - getWinValue('paddingTop') - getWinValue('paddingBottom'); var parentAspectRatio = contentWindowWidth / contentWindowHeight; var mediaAspectRatio = mediaWidth / mediaHeight; if(parentAspectRatio > mediaAspectRatio) { windowWidth = contentWindowHeight * mediaAspectRatio + getWinValue('bodyPaddingLeft') + getWinValue('bodyPaddingRight') + getWinValue('paddingLeft') + getWinValue('paddingRight'); } else { windowHeight = contentWindowWidth / mediaAspectRatio + headerHeight + footerHeight + getWinValue('bodyPaddingTop') + getWinValue('bodyPaddingBottom') + getWinValue('paddingTop') + getWinValue('paddingBottom'); } if(windowWidth > parentWidth * popupMaxWidthNumber) { windowWidth = parentWidth * popupMaxWidthNumber; } if(windowHeight > parentHeight * popupMaxHeightNumber) { windowHeight = parentHeight * popupMaxHeightNumber; } w.set('width', windowWidth); w.set('height', windowHeight); w.set('x', (parentWidth - getWinValue('actualWidth')) * 0.5); w.set('y', (parentHeight - getWinValue('actualHeight')) * 0.5); }; if(autoCloseWhenFinished){ this.executeFunctionWhenChange(playList, 0, endFunction); } var mediaClass = media.get('class'); var isVideo = mediaClass == 'Video' || mediaClass == 'Video360'; playList.set('selectedIndex', 0); if(isVideo){ this.bind('resize', resizeFunction, this); resizeFunction(); playList.get('items')[0].get('player').play(); } else { w.set('width', popupMaxWidth); w.set('height', popupMaxHeight); } this.MainViewer.set('toolTipEnabled', false); if(stopAudios) { this.pauseGlobalAudios(); } var playersPaused = this.pauseCurrentPlayers(!stopAudios); w.bind('close', closeFunction, this); w.show(this, true); },
"setOverlayBehaviour": function(overlay, media, action, preventDoubleClick){ var executeFunc = function() { switch(action){ case 'triggerClick': this.triggerOverlay(overlay, 'click'); break; case 'stop': case 'play': case 'pause': overlay[action](); break; case 'togglePlayPause': case 'togglePlayStop': if(overlay.get('state') == 'playing') overlay[action == 'togglePlayPause' ? 'pause' : 'stop'](); else overlay.play(); break; } if(preventDoubleClick){ if(window.overlaysDispatched == undefined) window.overlaysDispatched = {}; var id = overlay.get('id'); window.overlaysDispatched[id] = true; setTimeout(function(){ delete window.overlaysDispatched[id]; }, 1000); } }; if(preventDoubleClick && window.overlaysDispatched != undefined && overlay.get('id') in window.overlaysDispatched) return; var playList = this.getFirstPlayListWithMedia(media, true); if(playList != undefined){ var item = this.getPlayListItemByMedia(playList, media); if(playList.get('items').indexOf(item) != playList.get('selectedIndex')){ var beginFunc = function(e){ item.unbind('begin', beginFunc, this); executeFunc.call(this); }; item.bind('begin', beginFunc, this); return; } } executeFunc.call(this); },
"resumePlayers": function(players, onlyResumeCameraIfPanorama){ for(var i = 0; i<players.length; ++i){ var player = players[i]; if(onlyResumeCameraIfPanorama && player.get('class') == 'PanoramaPlayer' && typeof player.get('video') === 'undefined'){ player.resumeCamera(); } else{ player.play(); } } },
"getActivePlayerWithViewer": function(viewerArea){ var players = this.getByClassName('PanoramaPlayer'); players = players.concat(this.getByClassName('VideoPlayer')); players = players.concat(this.getByClassName('Video360Player')); players = players.concat(this.getByClassName('PhotoAlbumPlayer')); players = players.concat(this.getByClassName('MapPlayer')); var i = players.length; while(i-- > 0){ var player = players[i]; if(player.get('viewerArea') == viewerArea) { var playerClass = player.get('class'); if(playerClass == 'PanoramaPlayer' && (player.get('panorama') != undefined || player.get('video') != undefined)) return player; else if((playerClass == 'VideoPlayer' || playerClass == 'Video360Player') && player.get('video') != undefined) return player; else if(playerClass == 'PhotoAlbumPlayer' && player.get('photoAlbum') != undefined) return player; else if(playerClass == 'MapPlayer' && player.get('map') != undefined) return player; } } return undefined; },
"playAudioList": function(audios){ if(audios.length == 0) return; var currentAudioCount = -1; var currentAudio; var playGlobalAudioFunction = this.playGlobalAudio; var playNext = function(){ if(++currentAudioCount >= audios.length) currentAudioCount = 0; currentAudio = audios[currentAudioCount]; playGlobalAudioFunction(currentAudio, playNext, true); }; playNext(); },
"_getPlayListsWithViewer": function(viewer){ var playLists = this.getByClassName('PlayList'); var containsViewer = function(playList) { var items = playList.get('items'); for(var j=items.length-1; j>=0; --j) { var item = items[j]; var player = item.get('player'); if(player !== undefined && player.get('viewerArea') == viewer) return true; } return false; }; for(var i=playLists.length-1; i>=0; --i) { if(!containsViewer(playLists[i])) playLists.splice(i, 1); } return playLists; },
"pauseGlobalAudio": function(audio){ var audios = window.currentGlobalAudios; if(audios){ var audioData = audios[audio.get('id')]; if(audioData) audio = audioData.audio; } if(audio.get('state') == 'playing') audio.pause(); },
"changeBackgroundWhilePlay": function(playList, index, color){ var stopFunction = function(event){ playListItem.unbind('stop', stopFunction, this); if((color == viewerArea.get('backgroundColor')) && (colorRatios == viewerArea.get('backgroundColorRatios'))){ viewerArea.set('backgroundColor', backgroundColorBackup); viewerArea.set('backgroundColorRatios', backgroundColorRatiosBackup); } }; var playListItem = playList.get('items')[index]; var player = playListItem.get('player'); var viewerArea = player.get('viewerArea'); var backgroundColorBackup = viewerArea.get('backgroundColor'); var backgroundColorRatiosBackup = viewerArea.get('backgroundColorRatios'); var colorRatios = [0]; if((color != backgroundColorBackup) || (colorRatios != backgroundColorRatiosBackup)){ viewerArea.set('backgroundColor', color); viewerArea.set('backgroundColorRatios', colorRatios); playListItem.bind('stop', stopFunction, this); } },
"getPixels": function(value){ var result = new RegExp('((\\+|\\-)?\\d+(\\.\\d*)?)(px|vw|vh|vmin|vmax)?', 'i').exec(value); if (result == undefined) { return 0; } var num = parseFloat(result[1]); var unit = result[4]; var vw = this.rootPlayer.get('actualWidth') / 100; var vh = this.rootPlayer.get('actualHeight') / 100; switch(unit) { case 'vw': return num * vw; case 'vh': return num * vh; case 'vmin': return num * Math.min(vw, vh); case 'vmax': return num * Math.max(vw, vh); default: return num; } },
"getPanoramaOverlayByName": function(panorama, name){ var overlays = this.getOverlays(panorama); for(var i = 0, count = overlays.length; i<count; ++i){ var overlay = overlays[i]; var data = overlay.get('data'); if(data != undefined && data.label == name){ return overlay; } } return undefined; },
"setMediaBehaviour": function(playList, index, mediaDispatcher){ var self = this; var stateChangeFunction = function(event){ if(event.data.state == 'stopped'){ dispose.call(this, true); } }; var onBeginFunction = function() { item.unbind('begin', onBeginFunction, self); var media = item.get('media'); if(media.get('class') != 'Panorama' || (media.get('camera') != undefined && media.get('camera').get('initialSequence') != undefined)){ player.bind('stateChange', stateChangeFunction, self); } }; var changeFunction = function(){ var index = playListDispatcher.get('selectedIndex'); if(index != -1){ indexDispatcher = index; dispose.call(this, false); } }; var disposeCallback = function(){ dispose.call(this, false); }; var dispose = function(forceDispose){ if(!playListDispatcher) return; var media = item.get('media'); if((media.get('class') == 'Video360' || media.get('class') == 'Video') && media.get('loop') == true && !forceDispose) return; playList.set('selectedIndex', -1); if(panoramaSequence && panoramaSequenceIndex != -1){ if(panoramaSequence) { if(panoramaSequenceIndex > 0 && panoramaSequence.get('movements')[panoramaSequenceIndex-1].get('class') == 'TargetPanoramaCameraMovement'){ var initialPosition = camera.get('initialPosition'); var oldYaw = initialPosition.get('yaw'); var oldPitch = initialPosition.get('pitch'); var oldHfov = initialPosition.get('hfov'); var previousMovement = panoramaSequence.get('movements')[panoramaSequenceIndex-1]; initialPosition.set('yaw', previousMovement.get('targetYaw')); initialPosition.set('pitch', previousMovement.get('targetPitch')); initialPosition.set('hfov', previousMovement.get('targetHfov')); var restoreInitialPositionFunction = function(event){ initialPosition.set('yaw', oldYaw); initialPosition.set('pitch', oldPitch); initialPosition.set('hfov', oldHfov); itemDispatcher.unbind('end', restoreInitialPositionFunction, this); }; itemDispatcher.bind('end', restoreInitialPositionFunction, this); } panoramaSequence.set('movementIndex', panoramaSequenceIndex); } } if(player){ item.unbind('begin', onBeginFunction, this); player.unbind('stateChange', stateChangeFunction, this); for(var i = 0; i<buttons.length; ++i) { buttons[i].unbind('click', disposeCallback, this); } } if(sameViewerArea){ var currentMedia = this.getMediaFromPlayer(player); if(currentMedia == undefined || currentMedia == item.get('media')){ playListDispatcher.set('selectedIndex', indexDispatcher); } if(playList != playListDispatcher) playListDispatcher.unbind('change', changeFunction, this); } else{ viewerArea.set('visible', viewerVisibility); } playListDispatcher = undefined; }; if(!mediaDispatcher){ var currentIndex = playList.get('selectedIndex'); var currentPlayer = (currentIndex != -1) ? playList.get('items')[playList.get('selectedIndex')].get('player') : this.getActivePlayerWithViewer(this.MainViewer); if(currentPlayer) { mediaDispatcher = this.getMediaFromPlayer(currentPlayer); } } var playListDispatcher = undefined; if(mediaDispatcher){ var playListsWithMedia = this.getPlayListsWithMedia(mediaDispatcher, true); playListDispatcher = playListsWithMedia.indexOf(playList) != -1 ? playList : (playListsWithMedia.length > 0 ? playListsWithMedia[0] : undefined); } if(!playListDispatcher){ playList.set('selectedIndex', index); return; } var indexDispatcher = playListDispatcher.get('selectedIndex'); if(playList.get('selectedIndex') == index || indexDispatcher == -1){ return; } var item = playList.get('items')[index]; var itemDispatcher = playListDispatcher.get('items')[indexDispatcher]; var player = item.get('player'); var viewerArea = player.get('viewerArea'); var viewerVisibility = viewerArea.get('visible'); var sameViewerArea = viewerArea == itemDispatcher.get('player').get('viewerArea'); if(sameViewerArea){ if(playList != playListDispatcher){ playListDispatcher.set('selectedIndex', -1); playListDispatcher.bind('change', changeFunction, this); } } else{ viewerArea.set('visible', true); } var panoramaSequenceIndex = -1; var panoramaSequence = undefined; var camera = itemDispatcher.get('camera'); if(camera){ panoramaSequence = camera.get('initialSequence'); if(panoramaSequence) { panoramaSequenceIndex = panoramaSequence.get('movementIndex'); } } playList.set('selectedIndex', index); var buttons = []; var addButtons = function(property){ var value = player.get(property); if(value == undefined) return; if(Array.isArray(value)) buttons = buttons.concat(value); else buttons.push(value); }; addButtons('buttonStop'); for(var i = 0; i<buttons.length; ++i) { buttons[i].bind('click', disposeCallback, this); } item.bind('begin', onBeginFunction, self); this.executeFunctionWhenChange(playList, index, disposeCallback); },
"visibleComponentsIfPlayerFlagEnabled": function(components, playerFlag){ var enabled = this.get(playerFlag); for(var i in components){ components[i].set('visible', enabled); } },
"init": function(){ if(!Object.hasOwnProperty('values')) { Object.values = function(o){ return Object.keys(o).map(function(e) { return o[e]; }); }; } var history = this.get('data')['history']; var playListChangeFunc = function(e){ var playList = e.source; var index = playList.get('selectedIndex'); if(index < 0) return; var id = playList.get('id'); if(!history.hasOwnProperty(id)) history[id] = new HistoryData(playList); history[id].add(index); }; var playLists = this.getByClassName('PlayList'); for(var i = 0, count = playLists.length; i<count; ++i) { var playList = playLists[i]; playList.bind('change', playListChangeFunc, this); } },
"registerTextVariable": function(obj){ var property = (function() { switch (obj.get('class')) { case 'Label': return 'text'; case 'Button': case 'BaseButton': return 'label'; case 'HTMLText': return 'html'; } })(); if (property == undefined) return; var re = new RegExp('\\{\\{\\s*(\\w+)\\s*\\}\\}', 'g'); var text = obj.get(property); var data = obj.get('data') || {}; data[property] = text; obj.set('data', data); var updateLabel = function(vars) { var text = data[property]; for (var i = 0; i < vars.length; ++i) { var info = vars[i]; var dispatchers = info.dispatchers; for (var j = 0; j < dispatchers.length; ++j) { var dispatcher = dispatchers[j]; var index = dispatcher.get('selectedIndex'); if (index >= 0) { var srcPropArray = info.src.split('.'); var src = dispatcher.get('items')[index]; if(src == undefined || (info.itemCondition !== undefined && !info.itemCondition.call(this, src))) continue; for (var z = 0; z < srcPropArray.length; ++z) src = 'get' in src ? src.get(srcPropArray[z]) : src[srcPropArray[z]]; text = text.replace(info.replace, src); } } } if(text != data[property]) obj.set(property, text); }; var vars = []; var addVars = function(dispatchers, eventName, src, replace, itemCondition) { vars.push({ 'dispatchers': dispatchers, 'eventName': eventName, 'src': src, 'replace': replace, 'itemCondition': itemCondition }); }; var viewerAreaItemCondition = function(item) { var player = item.get('player'); return player !== undefined && player.get('viewerArea') == this.MainViewer; }; while (null != (result = re.exec(text))) { switch (result[1]) { case 'title': var playLists = this._getPlayListsWithViewer(this.MainViewer); addVars(playLists, 'change', 'media.label', result[0], viewerAreaItemCondition); break; case 'subtitle': var playLists = this._getPlayListsWithViewer(this.MainViewer); addVars(playLists, 'change', 'media.data.subtitle', result[0], viewerAreaItemCondition); break; } } if (vars.length > 0) { var func = updateLabel.bind(this, vars); for (var i = 0; i < vars.length; ++i) { var info = vars[i]; var dispatchers = info.dispatchers; for (var j = 0; j < dispatchers.length; ++j) dispatchers[j].bind(info.eventName, func, this); } } },
"isCardboardViewMode": function(){ var players = this.getByClassName('PanoramaPlayer'); return players.length > 0 && players[0].get('viewMode') == 'cardboard'; },
"startPanoramaWithCamera": function(media, camera){ if(window.currentPanoramasWithCameraChanged != undefined && window.currentPanoramasWithCameraChanged.indexOf(media) != -1){ return; } var playLists = this.getByClassName('PlayList'); if(playLists.length == 0) return; var restoreItems = []; for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ var item = items[j]; if(item.get('media') == media && (item.get('class') == 'PanoramaPlayListItem' || item.get('class') == 'Video360PlayListItem')){ restoreItems.push({camera: item.get('camera'), item: item}); item.set('camera', camera); } } } if(restoreItems.length > 0) { if(window.currentPanoramasWithCameraChanged == undefined) { window.currentPanoramasWithCameraChanged = [media]; } else { window.currentPanoramasWithCameraChanged.push(media); } var restoreCameraOnStop = function(){ var index = window.currentPanoramasWithCameraChanged.indexOf(media); if(index != -1) { window.currentPanoramasWithCameraChanged.splice(index, 1); } for (var i = 0; i < restoreItems.length; i++) { restoreItems[i].item.set('camera', restoreItems[i].camera); restoreItems[i].item.unbind('stop', restoreCameraOnStop, this); } }; for (var i = 0; i < restoreItems.length; i++) { restoreItems[i].item.bind('stop', restoreCameraOnStop, this); } } },
"setMainMediaByName": function(name){ var items = this.mainPlayList.get('items'); for(var i = 0; i<items.length; ++i){ var item = items[i]; if(item.get('media').get('label') == name) { this.mainPlayList.set('selectedIndex', i); return item; } } },
"getMediaByName": function(name){ var list = this.getByClassName('Media'); for(var i = 0, count = list.length; i<count; ++i){ var media = list[i]; if((media.get('class') == 'Audio' && media.get('data').label == name) || media.get('label') == name){ return media; } } return undefined; },
"shareSocial": function(socialID, url, deepLink){ if(url == undefined) { url = deepLink ? location.href : location.href.split(location.search||location.hash||/[?#]/)[0]; } else if(deepLink) { url += location.hash; } url = (function(id){ switch(id){ case 'fb': return 'https://www.facebook.com/sharer/sharer.php?u='+url; case 'wa': return 'https://api.whatsapp.com/send/?text='+encodeURIComponent(url); case 'tw': return 'https://twitter.com/intent/tweet?source=webclient&url='+url; default: return undefined; } })(socialID); this.openLink(url, '_blank'); },
"pauseGlobalAudiosWhilePlayItem": function(playList, index, exclude){ var self = this; var item = playList.get('items')[index]; var media = item.get('media'); var player = item.get('player'); var caller = media.get('id'); var endFunc = function(){ if(playList.get('selectedIndex') != index) { if(hasState){ player.unbind('stateChange', stateChangeFunc, self); } self.resumeGlobalAudios(caller); } }; var stateChangeFunc = function(event){ var state = event.data.state; if(state == 'stopped'){ this.resumeGlobalAudios(caller); } else if(state == 'playing'){ this.pauseGlobalAudios(caller, exclude); } }; var mediaClass = media.get('class'); var hasState = mediaClass == 'Video360' || mediaClass == 'Video'; if(hasState){ player.bind('stateChange', stateChangeFunc, this); } this.pauseGlobalAudios(caller, exclude); this.executeFunctionWhenChange(playList, index, endFunc, endFunc); },
"setMainMediaByIndex": function(index){ var item = undefined; if(index >= 0 && index < this.mainPlayList.get('items').length){ this.mainPlayList.set('selectedIndex', index); item = this.mainPlayList.get('items')[index]; } return item; },
"showComponentsWhileMouseOver": function(parentComponent, components, durationVisibleWhileOut){ var setVisibility = function(visible){ for(var i = 0, length = components.length; i<length; i++){ var component = components[i]; if(component.get('class') == 'HTMLText' && (component.get('html') == '' || component.get('html') == undefined)) { continue; } component.set('visible', visible); } }; if (this.rootPlayer.get('touchDevice') == true){ setVisibility(true); } else { var timeoutID = -1; var rollOverFunction = function(){ setVisibility(true); if(timeoutID >= 0) clearTimeout(timeoutID); parentComponent.unbind('rollOver', rollOverFunction, this); parentComponent.bind('rollOut', rollOutFunction, this); }; var rollOutFunction = function(){ var timeoutFunction = function(){ setVisibility(false); parentComponent.unbind('rollOver', rollOverFunction, this); }; parentComponent.unbind('rollOut', rollOutFunction, this); parentComponent.bind('rollOver', rollOverFunction, this); timeoutID = setTimeout(timeoutFunction, durationVisibleWhileOut); }; parentComponent.bind('rollOver', rollOverFunction, this); } },
"playGlobalAudio": function(audio, endCallback, asBackground){ var endFunction = function(){ audio.unbind('end', endFunction, this); this.stopGlobalAudio(audio); if(endCallback) endCallback(); }; audio = this.getGlobalAudio(audio); var audios = window.currentGlobalAudios; if(!audios){ audios = window.currentGlobalAudios = {}; } audios[audio.get('id')] = {'audio': audio, 'asBackground': asBackground || false}; if(audio.get('state') == 'playing'){ return audio; } if(!audio.get('loop')){ audio.bind('end', endFunction, this); } audio.play(); return audio; },
"initGA": function(){ var sendFunc = function(category, event, label) { ga('send', 'event', category, event, label); }; var media = this.getByClassName('Panorama'); media = media.concat(this.getByClassName('Video360')); media = media.concat(this.getByClassName('Map')); for(var i = 0, countI = media.length; i<countI; ++i){ var m = media[i]; var mediaLabel = m.get('label'); var overlays = this.getOverlays(m); for(var j = 0, countJ = overlays.length; j<countJ; ++j){ var overlay = overlays[j]; var overlayLabel = overlay.get('data') != undefined ? mediaLabel + ' - ' + overlay.get('data')['label'] : mediaLabel; switch(overlay.get('class')) { case 'HotspotPanoramaOverlay': case 'HotspotMapOverlay': var areas = overlay.get('areas'); for (var z = 0; z<areas.length; ++z) { areas[z].bind('click', sendFunc.bind(this, 'Hotspot', 'click', overlayLabel), this); } break; case 'CeilingCapPanoramaOverlay': case 'TripodCapPanoramaOverlay': overlay.bind('click', sendFunc.bind(this, 'Cap', 'click', overlayLabel), this); break; } } } var components = this.getByClassName('Button'); components = components.concat(this.getByClassName('IconButton')); for(var i = 0, countI = components.length; i<countI; ++i){ var c = components[i]; var componentLabel = c.get('data')['name']; c.bind('click', sendFunc.bind(this, 'Skin', 'click', componentLabel), this); } var items = this.getByClassName('PlayListItem'); var media2Item = {}; for(var i = 0, countI = items.length; i<countI; ++i) { var item = items[i]; var media = item.get('media'); if(!(media.get('id') in media2Item)) { item.bind('begin', sendFunc.bind(this, 'Media', 'play', media.get('label')), this); media2Item[media.get('id')] = item; } } },
"updateMediaLabelFromPlayList": function(playList, htmlText, playListItemStopToDispose){ var changeFunction = function(){ var index = playList.get('selectedIndex'); if(index >= 0){ var beginFunction = function(){ playListItem.unbind('begin', beginFunction); setMediaLabel(index); }; var setMediaLabel = function(index){ var media = playListItem.get('media'); var text = media.get('data'); if(!text) text = media.get('label'); setHtml(text); }; var setHtml = function(text){ if(text !== undefined) { htmlText.set('html', '<div style=\"text-align:left\"><SPAN STYLE=\"color:#FFFFFF;font-size:12px;font-family:Verdana\"><span color=\"white\" font-family=\"Verdana\" font-size=\"12px\">' + text + '</SPAN></div>'); } else { htmlText.set('html', ''); } }; var playListItem = playList.get('items')[index]; if(htmlText.get('html')){ setHtml('Loading...'); playListItem.bind('begin', beginFunction); } else{ setMediaLabel(index); } } }; var disposeFunction = function(){ htmlText.set('html', undefined); playList.unbind('change', changeFunction, this); playListItemStopToDispose.unbind('stop', disposeFunction, this); }; if(playListItemStopToDispose){ playListItemStopToDispose.bind('stop', disposeFunction, this); } playList.bind('change', changeFunction, this); changeFunction(); },
"fixTogglePlayPauseButton": function(player){ var state = player.get('state'); var buttons = player.get('buttonPlayPause'); if(typeof buttons !== 'undefined' && player.get('state') == 'playing'){ if(!Array.isArray(buttons)) buttons = [buttons]; for(var i = 0; i<buttons.length; ++i) buttons[i].set('pressed', true); } },
"updateVideoCues": function(playList, index){ var playListItem = playList.get('items')[index]; var video = playListItem.get('media'); if(video.get('cues').length == 0) return; var player = playListItem.get('player'); var cues = []; var changeFunction = function(){ if(playList.get('selectedIndex') != index){ video.unbind('cueChange', cueChangeFunction, this); playList.unbind('change', changeFunction, this); } }; var cueChangeFunction = function(event){ var activeCues = event.data.activeCues; for(var i = 0, count = cues.length; i<count; ++i){ var cue = cues[i]; if(activeCues.indexOf(cue) == -1 && (cue.get('startTime') > player.get('currentTime') || cue.get('endTime') < player.get('currentTime')+0.5)){ cue.trigger('end'); } } cues = activeCues; }; video.bind('cueChange', cueChangeFunction, this); playList.bind('change', changeFunction, this); },
"getOverlays": function(media){ switch(media.get('class')){ case 'Panorama': var overlays = media.get('overlays').concat() || []; var frames = media.get('frames'); for(var j = 0; j<frames.length; ++j){ overlays = overlays.concat(frames[j].get('overlays') || []); } return overlays; case 'Video360': case 'Map': return media.get('overlays') || []; default: return []; } },
"executeFunctionWhenChange": function(playList, index, endFunction, changeFunction){ var endObject = undefined; var changePlayListFunction = function(event){ if(event.data.previousSelectedIndex == index){ if(changeFunction) changeFunction.call(this); if(endFunction && endObject) endObject.unbind('end', endFunction, this); playList.unbind('change', changePlayListFunction, this); } }; if(endFunction){ var playListItem = playList.get('items')[index]; if(playListItem.get('class') == 'PanoramaPlayListItem'){ var camera = playListItem.get('camera'); if(camera != undefined) endObject = camera.get('initialSequence'); if(endObject == undefined) endObject = camera.get('idleSequence'); } else{ endObject = playListItem.get('media'); } if(endObject){ endObject.bind('end', endFunction, this); } } playList.bind('change', changePlayListFunction, this); },
"pauseCurrentPlayers": function(onlyPauseCameraIfPanorama){ var players = this.getCurrentPlayers(); var i = players.length; while(i-- > 0){ var player = players[i]; if(player.get('state') == 'playing') { if(onlyPauseCameraIfPanorama && player.get('class') == 'PanoramaPlayer' && typeof player.get('video') === 'undefined'){ player.pauseCamera(); } else { player.pause(); } } else { players.splice(i, 1); } } return players; },
"setMapLocation": function(panoramaPlayListItem, mapPlayer){ var resetFunction = function(){ panoramaPlayListItem.unbind('stop', resetFunction, this); player.set('mapPlayer', null); }; panoramaPlayListItem.bind('stop', resetFunction, this); var player = panoramaPlayListItem.get('player'); player.set('mapPlayer', mapPlayer); },
"getComponentByName": function(name){ var list = this.getByClassName('UIComponent'); for(var i = 0, count = list.length; i<count; ++i){ var component = list[i]; var data = component.get('data'); if(data != undefined && data.name == name){ return component; } } return undefined; },
"showWindow": function(w, autoCloseMilliSeconds, containsAudio){ if(w.get('visible') == true){ return; } var closeFunction = function(){ clearAutoClose(); this.resumePlayers(playersPaused, !containsAudio); w.unbind('close', closeFunction, this); }; var clearAutoClose = function(){ w.unbind('click', clearAutoClose, this); if(timeoutID != undefined){ clearTimeout(timeoutID); } }; var timeoutID = undefined; if(autoCloseMilliSeconds){ var autoCloseFunction = function(){ w.hide(); }; w.bind('click', clearAutoClose, this); timeoutID = setTimeout(autoCloseFunction, autoCloseMilliSeconds); } var playersPaused = this.pauseCurrentPlayers(!containsAudio); w.bind('close', closeFunction, this); w.show(this, true); },
"historyGoForward": function(playList){ var history = this.get('data')['history'][playList.get('id')]; if(history != undefined) { history.forward(); } },
"autotriggerAtStart": function(playList, callback, once){ var onChange = function(event){ callback(); if(once == true) playList.unbind('change', onChange, this); }; playList.bind('change', onChange, this); },
"triggerOverlay": function(overlay, eventName){ if(overlay.get('areas') != undefined) { var areas = overlay.get('areas'); for(var i = 0; i<areas.length; ++i) { areas[i].trigger(eventName); } } else { overlay.trigger(eventName); } },
"setStartTimeVideo": function(video, time){ var items = this.getPlayListItems(video); var startTimeBackup = []; var restoreStartTimeFunc = function() { for(var i = 0; i<items.length; ++i){ var item = items[i]; item.set('startTime', startTimeBackup[i]); item.unbind('stop', restoreStartTimeFunc, this); } }; for(var i = 0; i<items.length; ++i) { var item = items[i]; var player = item.get('player'); if(player.get('video') == video && player.get('state') == 'playing') { player.seek(time); } else { startTimeBackup.push(item.get('startTime')); item.set('startTime', time); item.bind('stop', restoreStartTimeFunc, this); } } },
"existsKey": function(key){ return key in window; },
"getGlobalAudio": function(audio){ var audios = window.currentGlobalAudios; if(audios != undefined && audio.get('id') in audios){ audio = audios[audio.get('id')].audio; } return audio; },
"getMediaHeight": function(media){ switch(media.get('class')){ case 'Video360': var res = media.get('video'); if(res instanceof Array){ var maxH=0; for(var i=0; i<res.length; i++){ var r = res[i]; if(r.get('height') > maxH) maxH = r.get('height'); } return maxH; }else{ return r.get('height') } default: return media.get('height'); } },
"setEndToItemIndex": function(playList, fromIndex, toIndex){ var endFunction = function(){ if(playList.get('selectedIndex') == fromIndex) playList.set('selectedIndex', toIndex); }; this.executeFunctionWhenChange(playList, fromIndex, endFunction); },
"getPlayListsWithMedia": function(media, onlySelected){ var result = []; var playLists = this.getByClassName('PlayList'); for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; if(onlySelected && playList.get('selectedIndex') == -1) continue; if(this.getPlayListItemByMedia(playList, media) != undefined) result.push(playList); } return result; },
"loadFromCurrentMediaPlayList": function(playList, delta){ var currentIndex = playList.get('selectedIndex'); var totalItems = playList.get('items').length; var newIndex = (currentIndex + delta) % totalItems; while(newIndex < 0){ newIndex = totalItems + newIndex; }; if(currentIndex != newIndex){ playList.set('selectedIndex', newIndex); } },
"playGlobalAudioWhilePlay": function(playList, index, audio, endCallback, stopBackgroundAudio){ var changeFunction = function(event){ if(event.data.previousSelectedIndex == index){ this.stopGlobalAudio(audio); if(isPanorama) { var media = playListItem.get('media'); var audios = media.get('audios'); audios.splice(audios.indexOf(audio), 1); media.set('audios', audios); } playList.unbind('change', changeFunction, this); if(endCallback) endCallback(); } }; var audios = window.currentGlobalAudios; if(audios && audio.get('id') in audios){ audio = audios[audio.get('id')].audio; if(audio.get('state') != 'playing'){ audio.play(); } return audio; } playList.bind('change', changeFunction, this); var playListItem = playList.get('items')[index]; var isPanorama = playListItem.get('class') == 'PanoramaPlayListItem'; if(isPanorama) { var media = playListItem.get('media'); var audios = (media.get('audios') || []).slice(); if(audio.get('class') == 'MediaAudio') { var panoramaAudio = this.rootPlayer.createInstance('PanoramaAudio'); panoramaAudio.set('autoplay', false); panoramaAudio.set('audio', audio.get('audio')); panoramaAudio.set('loop', audio.get('loop')); panoramaAudio.set('id', audio.get('id')); var stateChangeFunctions = audio.getBindings('stateChange'); for(var i = 0; i<stateChangeFunctions.length; ++i){ var f = stateChangeFunctions[i]; if(typeof f == 'string') f = new Function('event', f); panoramaAudio.bind('stateChange', f, this); } audio = panoramaAudio; } audios.push(audio); media.set('audios', audios); } var src = this.playGlobalAudio(audio, endCallback); if(stopBackgroundAudio === true){ var stateChangeFunc = function(){ if(src.get('state') == 'playing'){ this.pauseGlobalAudios(src.get('id'), [src]); } else { this.resumeGlobalAudios(src.get('id')); src.unbind('stateChange', stateChangeFunc, this); } }; src.bind('stateChange', stateChangeFunc, this); } return src; },
"showPopupPanoramaVideoOverlay": function(popupPanoramaOverlay, closeButtonProperties, stopAudios){ var self = this; var showEndFunction = function() { popupPanoramaOverlay.unbind('showEnd', showEndFunction); closeButton.bind('click', hideFunction, this); setCloseButtonPosition(); closeButton.set('visible', true); }; var endFunction = function() { if(!popupPanoramaOverlay.get('loop')) hideFunction(); }; var hideFunction = function() { self.MainViewer.set('toolTipEnabled', true); popupPanoramaOverlay.set('visible', false); closeButton.set('visible', false); closeButton.unbind('click', hideFunction, self); popupPanoramaOverlay.unbind('end', endFunction, self); popupPanoramaOverlay.unbind('hideEnd', hideFunction, self, true); self.resumePlayers(playersPaused, true); if(stopAudios) { self.resumeGlobalAudios(); } }; var setCloseButtonPosition = function() { var right = 10; var top = 10; closeButton.set('right', right); closeButton.set('top', top); }; this.MainViewer.set('toolTipEnabled', false); var closeButton = this.closeButtonPopupPanorama; if(closeButtonProperties){ for(var key in closeButtonProperties){ closeButton.set(key, closeButtonProperties[key]); } } var playersPaused = this.pauseCurrentPlayers(true); if(stopAudios) { this.pauseGlobalAudios(); } popupPanoramaOverlay.bind('end', endFunction, this, true); popupPanoramaOverlay.bind('showEnd', showEndFunction, this, true); popupPanoramaOverlay.bind('hideEnd', hideFunction, this, true); popupPanoramaOverlay.set('visible', true); },
"setStartTimeVideoSync": function(video, player){ this.setStartTimeVideo(video, player.get('currentTime')); },
"getCurrentPlayers": function(){ var players = this.getByClassName('PanoramaPlayer'); players = players.concat(this.getByClassName('VideoPlayer')); players = players.concat(this.getByClassName('Video360Player')); players = players.concat(this.getByClassName('PhotoAlbumPlayer')); return players; },
"setComponentVisibility": function(component, visible, applyAt, effect, propertyEffect, ignoreClearTimeout){ var keepVisibility = this.getKey('keepVisibility_' + component.get('id')); if(keepVisibility) return; this.unregisterKey('visibility_'+component.get('id')); var changeVisibility = function(){ if(effect && propertyEffect){ component.set(propertyEffect, effect); } component.set('visible', visible); if(component.get('class') == 'ViewerArea'){ try{ if(visible) component.restart(); else if(component.get('playbackState') == 'playing') component.pause(); } catch(e){}; } }; var effectTimeoutName = 'effectTimeout_'+component.get('id'); if(!ignoreClearTimeout && window.hasOwnProperty(effectTimeoutName)){ var effectTimeout = window[effectTimeoutName]; if(effectTimeout instanceof Array){ for(var i=0; i<effectTimeout.length; i++){ clearTimeout(effectTimeout[i]) } }else{ clearTimeout(effectTimeout); } delete window[effectTimeoutName]; } else if(visible == component.get('visible') && !ignoreClearTimeout) return; if(applyAt && applyAt > 0){ var effectTimeout = setTimeout(function(){ if(window[effectTimeoutName] instanceof Array) { var arrayTimeoutVal = window[effectTimeoutName]; var index = arrayTimeoutVal.indexOf(effectTimeout); arrayTimeoutVal.splice(index, 1); if(arrayTimeoutVal.length == 0){ delete window[effectTimeoutName]; } }else{ delete window[effectTimeoutName]; } changeVisibility(); }, applyAt); if(window.hasOwnProperty(effectTimeoutName)){ window[effectTimeoutName] = [window[effectTimeoutName], effectTimeout]; }else{ window[effectTimeoutName] = effectTimeout; } } else{ changeVisibility(); } },
"historyGoBack": function(playList){ var history = this.get('data')['history'][playList.get('id')]; if(history != undefined) { history.back(); } },
"getKey": function(key){ return window[key]; },
"unregisterKey": function(key){ delete window[key]; },
"loopAlbum": function(playList, index){ var playListItem = playList.get('items')[index]; var player = playListItem.get('player'); var loopFunction = function(){ player.play(); }; this.executeFunctionWhenChange(playList, index, loopFunction); },
"syncPlaylists": function(playLists){ var changeToMedia = function(media, playListDispatched){ for(var i = 0, count = playLists.length; i<count; ++i){ var playList = playLists[i]; if(playList != playListDispatched){ var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ if(items[j].get('media') == media){ if(playList.get('selectedIndex') != j){ playList.set('selectedIndex', j); } break; } } } } }; var changeFunction = function(event){ var playListDispatched = event.source; var selectedIndex = playListDispatched.get('selectedIndex'); if(selectedIndex < 0) return; var media = playListDispatched.get('items')[selectedIndex].get('media'); changeToMedia(media, playListDispatched); }; var mapPlayerChangeFunction = function(event){ var panoramaMapLocation = event.source.get('panoramaMapLocation'); if(panoramaMapLocation){ var map = panoramaMapLocation.get('map'); changeToMedia(map); } }; for(var i = 0, count = playLists.length; i<count; ++i){ playLists[i].bind('change', changeFunction, this); } var mapPlayers = this.getByClassName('MapPlayer'); for(var i = 0, count = mapPlayers.length; i<count; ++i){ mapPlayers[i].bind('panoramaMapLocation_change', mapPlayerChangeFunction, this); } },
"getPlayListItemByMedia": function(playList, media){ var items = playList.get('items'); for(var j = 0, countJ = items.length; j<countJ; ++j){ var item = items[j]; if(item.get('media') == media) return item; } return undefined; },
"registerKey": function(key, value){ window[key] = value; },
"getMediaWidth": function(media){ switch(media.get('class')){ case 'Video360': var res = media.get('video'); if(res instanceof Array){ var maxW=0; for(var i=0; i<res.length; i++){ var r = res[i]; if(r.get('width') > maxW) maxW = r.get('width'); } return maxW; }else{ return r.get('width') } default: return media.get('width'); } },
"setCameraSameSpotAsMedia": function(camera, media){ var player = this.getCurrentPlayerWithMedia(media); if(player != undefined) { var position = camera.get('initialPosition'); position.set('yaw', player.get('yaw')); position.set('pitch', player.get('pitch')); position.set('hfov', player.get('hfov')); } },
"showPopupPanoramaOverlay": function(popupPanoramaOverlay, closeButtonProperties, imageHD, toggleImage, toggleImageHD, autoCloseMilliSeconds, audio, stopBackgroundAudio){ var self = this; this.MainViewer.set('toolTipEnabled', false); var cardboardEnabled = this.isCardboardViewMode(); if(!cardboardEnabled) { var zoomImage = this.zoomImagePopupPanorama; var showDuration = popupPanoramaOverlay.get('showDuration'); var hideDuration = popupPanoramaOverlay.get('hideDuration'); var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); var popupMaxWidthBackup = popupPanoramaOverlay.get('popupMaxWidth'); var popupMaxHeightBackup = popupPanoramaOverlay.get('popupMaxHeight'); var showEndFunction = function() { var loadedFunction = function(){ if(!self.isCardboardViewMode()) popupPanoramaOverlay.set('visible', false); }; popupPanoramaOverlay.unbind('showEnd', showEndFunction, self); popupPanoramaOverlay.set('showDuration', 1); popupPanoramaOverlay.set('hideDuration', 1); self.showPopupImage(imageHD, toggleImageHD, popupPanoramaOverlay.get('popupMaxWidth'), popupPanoramaOverlay.get('popupMaxHeight'), null, null, closeButtonProperties, autoCloseMilliSeconds, audio, stopBackgroundAudio, loadedFunction, hideFunction); }; var hideFunction = function() { var restoreShowDurationFunction = function(){ popupPanoramaOverlay.unbind('showEnd', restoreShowDurationFunction, self); popupPanoramaOverlay.set('visible', false); popupPanoramaOverlay.set('showDuration', showDuration); popupPanoramaOverlay.set('popupMaxWidth', popupMaxWidthBackup); popupPanoramaOverlay.set('popupMaxHeight', popupMaxHeightBackup); }; self.resumePlayers(playersPaused, audio == null || !stopBackgroundAudio); var currentWidth = zoomImage.get('imageWidth'); var currentHeight = zoomImage.get('imageHeight'); popupPanoramaOverlay.bind('showEnd', restoreShowDurationFunction, self, true); popupPanoramaOverlay.set('showDuration', 1); popupPanoramaOverlay.set('hideDuration', hideDuration); popupPanoramaOverlay.set('popupMaxWidth', currentWidth); popupPanoramaOverlay.set('popupMaxHeight', currentHeight); if(popupPanoramaOverlay.get('visible')) restoreShowDurationFunction(); else popupPanoramaOverlay.set('visible', true); self.MainViewer.set('toolTipEnabled', true); }; if(!imageHD){ imageHD = popupPanoramaOverlay.get('image'); } if(!toggleImageHD && toggleImage){ toggleImageHD = toggleImage; } popupPanoramaOverlay.bind('showEnd', showEndFunction, this, true); } else { var hideEndFunction = function() { self.resumePlayers(playersPaused, audio == null || stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ self.resumeGlobalAudios(); } self.stopGlobalAudio(audio); } popupPanoramaOverlay.unbind('hideEnd', hideEndFunction, self); self.MainViewer.set('toolTipEnabled', true); }; var playersPaused = this.pauseCurrentPlayers(audio == null || !stopBackgroundAudio); if(audio){ if(stopBackgroundAudio){ this.pauseGlobalAudios(); } this.playGlobalAudio(audio); } popupPanoramaOverlay.bind('hideEnd', hideEndFunction, this, true); } popupPanoramaOverlay.set('visible', true); },
"openLink": function(url, name){ if(url == location.href) { return; } var isElectron = (window && window.process && window.process.versions && window.process.versions['electron']) || (navigator && navigator.userAgent && navigator.userAgent.indexOf('Electron') >= 0); if (name == '_blank' && isElectron) { if (url.startsWith('/')) { var r = window.location.href.split('/'); r.pop(); url = r.join('/') + url; } var extension = url.split('.').pop().toLowerCase(); if(extension != 'pdf' || url.startsWith('file://')) { var shell = window.require('electron').shell; shell.openExternal(url); } else { window.open(url, name); } } else if(isElectron && (name == '_top' || name == '_self')) { window.location = url; } else { var newWindow = window.open(url, name); newWindow.focus(); } },
"setPanoramaCameraWithSpot": function(playListItem, yaw, pitch){ var panorama = playListItem.get('media'); var newCamera = this.cloneCamera(playListItem.get('camera')); var initialPosition = newCamera.get('initialPosition'); initialPosition.set('yaw', yaw); initialPosition.set('pitch', pitch); this.startPanoramaWithCamera(panorama, newCamera); }
},
"scrollBarWidth": 10,
"id": "rootPlayer",
"vrPolyfillScale": 0.5,
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"left": 571.65,
"mouseWheelEnabled": true,
"width": "100%",
"children": [
"this.MainViewer_mobile",
"this.HTMLText_6BDD8039_64A6_31E4_41D7_D3C38C6C69F2_mobile",
"this.Container_4DA150D1_6F64_CD55_41DA_A32B6772B821",
"this.Container_685CC558_649E_53A4_41C3_031C34B7328A_mobile",
"this.Container_727E344B_7DD2_675A_41D5_DB8523F3A955",
"this.Container_7A542551_6EFF_A77C_41BD_77B516563B0F_mobile",
"this.Container_3A863D9B_3513_E8A1_41BD_38320457DF78_mobile"
],
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"buttonToggleFullscreen": "this.IconButton_4DA160D1_6F64_CD55_4171_A9C3AF8B1588",
"minHeight": 20,
"borderSize": 0,
"class": "Player",
"desktopMipmappingEnabled": false,
"start": "this['MainViewer'] = this.MainViewer_mobile; this.init(); this.visibleComponentsIfPlayerFlagEnabled([this.IconButton_4DA2B0D1_6F64_CD55_41D6_BFC41C284069], 'gyroscopeAvailable'); this.syncPlaylists([this.mainPlayList,this.ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile_playlist]); if(!this.get('fullscreenAvailable')) { [this.IconButton_4DA160D1_6F64_CD55_4171_A9C3AF8B1588].forEach(function(component) { component.set('visible', false); }) }",
"buttonToggleMute": "this.IconButton_4DA280D1_6F64_CD55_41D9_36226B9769C6",
"contentOpaque": false,
"minWidth": 20,
"paddingBottom": 0,
"downloadEnabled": false,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"definitions": [{
"duration": 500,
"easing": "linear",
"id": "effect_6A54AB05_7DD3_E2C9_41D5_1413E1ED90F5",
"class": "FadeInEffect"
},
{
"borderRadius": 0,
"id": "HTMLText_6BDD8039_64A6_31E4_41D7_D3C38C6C69F2_mobile",
"left": 10,
"paddingLeft": 10,
"paddingRight": 0,
"width": 450.15,
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "HTMLText",
"top": 18,
"minWidth": 1,
"paddingBottom": 0,
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": false,
"height": 179,
"data": {
"name": "-STICKER"
},
"scrollBarMargin": 2,
"paddingTop": 0,
"shadow": false,
"scrollBarWidth": 10,
"html": "<div style=\"text-align:left; color:#000; \"><DIV STYLE=\"text-shadow:0px 0px 12px rgba(0,0,0,0.63);text-align:left;\"><SPAN STYLE=\"letter-spacing:0px; white-space:pre-wrap;color:#000000;font-family:'Segoe UI';\"><SPAN STYLE=\"color:#ffffff;font-size:51.98px;font-family:'Exo';\"><B><I>Smart Virtual Tour</I></B></SPAN></SPAN></DIV><DIV STYLE=\"text-shadow:0px 0px 12px rgba(0,0,0,0.63);text-align:left;\"><SPAN STYLE=\"letter-spacing:0px; white-space:pre-wrap;color:#000000;font-family:'Segoe UI';\"><SPAN STYLE=\"color:#40bbff;font-size:57px;font-family:'Exo';\"><B><I>Dronica</I></B></SPAN></SPAN></DIV></div>",
"backgroundOpacity": 0
},
{
"playbackBarBackgroundColor": [
"#FFFFFF"
],
"playbackBarBottom": 5,
"id": "MainViewer_mobile",
"left": 0,
"paddingLeft": 0,
"toolTipShadowHorizontalLength": 0,
"progressOpacity": 1,
"playbackBarHeadShadowBlurRadius": 3,
"progressBarBackgroundColor": [
"#3399FF"
],
"toolTipShadowVerticalLength": 0,
"progressBorderColor": "#000000",
"progressBarBackgroundColorDirection": "vertical",
"progressBarBackgroundColorRatios": [
0
],
"width": "100%",
"playbackBarProgressBorderRadius": 0,
"minHeight": 50,
"borderSize": 0,
"toolTipBorderRadius": 3,
"playbackBarBorderRadius": 0,
"progressBackgroundColorDirection": "vertical",
"toolTipPaddingLeft": 6,
"progressBarBorderColor": "#000000",
"displayTooltipInTouchScreens": true,
"minWidth": 100,
"firstTransitionDuration": 0,
"playbackBarBorderSize": 0,
"vrPointerSelectionTime": 2000,
"playbackBarOpacity": 1,
"playbackBarHeadWidth": 6,
"toolTipDisplayTime": 600,
"toolTipFontStyle": "normal",
"progressBorderSize": 0,
"toolTipShadowBlurRadius": 3,
"height": "100%",
"propagateClick": false,
"progressBottom": 0,
"toolTipBackgroundColor": "#F6F6F6",
"progressRight": 0,
"toolTipFontFamily": "Arial",
"toolTipPaddingTop": 4,
"toolTipBorderSize": 1,
"toolTipFontWeight": "normal",
"playbackBarBackgroundColorDirection": "vertical",
"playbackBarProgressBorderColor": "#000000",
"transitionDuration": 500,
"toolTipPaddingBottom": 4,
"toolTipFontSize": 12,
"shadow": false,
"progressHeight": 10,
"playbackBarProgressBackgroundColorRatios": [
0
],
"playbackBarProgressBackgroundColor": [
"#3399FF"
],
"playbackBarHeadBackgroundColorDirection": "vertical",
"borderRadius": 0,
"playbackBarBackgroundOpacity": 1,
"playbackBarHeadBorderRadius": 0,
"playbackBarHeadShadowColor": "#000000",
"paddingRight": 0,
"playbackBarHeight": 10,
"toolTipTextShadowColor": "#000000",
"playbackBarHeadShadowHorizontalLength": 0,
"progressBorderRadius": 0,
"progressBackgroundOpacity": 1,
"playbackBarProgressOpacity": 1,
"playbackBarRight": 0,
"playbackBarHeadShadow": true,
"playbackBarHeadBorderColor": "#000000",
"playbackBarHeadShadowOpacity": 0.7,
"class": "ViewerArea",
"toolTipTextShadowOpacity": 0,
"toolTipOpacity": 1,
"progressBackgroundColor": [
"#FFFFFF"
],
"playbackBarHeadBorderSize": 0,
"top": 0,
"playbackBarHeadHeight": 15,
"progressBarBorderRadius": 0,
"toolTipFontColor": "#606060",
"progressBarOpacity": 1,
"vrPointerSelectionColor": "#FF6600",
"toolTipPaddingRight": 6,
"paddingBottom": 0,
"playbackBarLeft": 0,
"playbackBarProgressBorderSize": 0,
"playbackBarHeadBackgroundColor": [
"#111111",
"#666666"
],
"progressBackgroundColorRatios": [
0
],
"playbackBarHeadBackgroundColorRatios": [
0,
1
],
"toolTipBorderColor": "#767676",
"toolTipShadowColor": "#333333",
"progressBarBorderSize": 0,
"toolTipTextShadowBlurRadius": 3,
"playbackBarHeadShadowVerticalLength": 0,
"progressLeft": 0,
"playbackBarBorderColor": "#FFFFFF",
"playbackBarProgressBackgroundColorDirection": "vertical",
"toolTipShadowOpacity": 1,
"vrPointerColor": "#FFFFFF",
"paddingTop": 0,
"playbackBarHeadOpacity": 1,
"toolTipShadowSpread": 0,
"transitionMode": "blending",
"data": {
"name": "Main Viewer"
}
},
{
"thumbnailUrl": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_t.jpg",
"frames": [
{
"thumbnailUrl": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_t.jpg",
"front": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/f/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/f/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/f/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/f/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"top": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/u/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/u/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/u/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/u/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"right": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/r/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/r/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/r/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/r/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"back": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/b/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/b/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/b/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/b/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"bottom": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/d/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/d/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/d/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/d/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"class": "CubicPanoramaFrame",
"left": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/l/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/l/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/l/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0/l/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
}
}
],
"overlays": [
"this.overlay_20B7267D_2E77_3C1A_41BE_EE532456D91F"
],
"label": "Centro Noche",
"class": "Panorama",
"adjacentPanoramas": [
{
"panorama": "this.panorama_0746D890_1F5C_9956_41B6_6CC1D875F351",
"class": "AdjacentPanorama"
}
],
"id": "panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2",
"hfovMax": 130,
"pitch": 0,
"partial": false,
"vfov": 180,
"hfov": 360
},
{
"class": "PanoramaCamera",
"automaticZoomSpeed": 10,
"id": "panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_camera",
"initialPosition": {
"yaw": 178.37,
"class": "PanoramaCameraPosition",
"pitch": -3.12
}
},
{
"borderRadius": 0,
"children": [
"this.Container_4DA2F0D0_6F64_CD53_41D1_0B2D04976FCA",
"this.Container_4DA2D0D1_6F64_CD55_41D0_783D7C6FC939"
],
"scrollBarWidth": 10,
"id": "Container_4DA150D1_6F64_CD55_41DA_A32B6772B821",
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0.01%",
"width": 100,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"contentOpaque": false,
"paddingBottom": 0,
"minWidth": 1,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": true,
"height": "82.169%",
"overflow": "scroll",
"layout": "absolute",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "--SETTINGS"
},
"shadow": false,
"backgroundOpacity": 0
},
{
"maxHeight": 60,
"shadowBlurRadius": 6,
"click": "this.setComponentVisibility(this.Container_727E344B_7DD2_675A_41D5_DB8523F3A955, false, 0, this.effect_7E0FE099_696E_E2E0_4183_0FC331E0D87C, 'hideEffect', false)",
"textDecoration": "none",
"id": "Button_727E144B_7DD2_675A_41BF_CAB5EC214204",
"pressedBackgroundOpacity": 1,
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"borderRadius": 0,
"width": 60,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"pressedBackgroundColor": [
"#000000"
],
"minHeight": 40,
"borderSize": 0,
"iconURL": "skin/Button_727E144B_7DD2_675A_41BF_CAB5EC214204.png",
"class": "Button",
"borderColor": "#000000",
"rollOverBackgroundColor": [
"#0069A3"
],
"fontColor": "#FFFFFF",
"fontFamily": "Arial",
"pressedBackgroundColorRatios": [
0
],
"shadowColor": "#000000",
"backgroundColor": [
"#048BE1"
],
"rollOverBackgroundColorRatios": [
0
],
"paddingBottom": 0,
"mode": "push",
"minWidth": 40,
"verticalAlign": "middle",
"iconHeight": 50,
"backgroundColorDirection": "vertical",
"propagateClick": false,
"fontSize": "1.29vmin",
"layout": "horizontal",
"rollOverBackgroundOpacity": 1,
"fontStyle": "normal",
"height": 60,
"shadowSpread": 1,
"paddingTop": 0,
"data": {
"name": "X"
},
"shadow": false,
"iconWidth": 50,
"cursor": "hand",
"maxWidth": 60,
"fontWeight": "normal",
"backgroundOpacity": 1
},
{
"borderRadius": 0,
"children": [
"this.IconButton_4DA2C0D1_6F64_CD55_41CD_63BF6E72FB74"
],
"id": "Container_4DA2F0D0_6F64_CD53_41D1_0B2D04976FCA",
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"width": 100,
"horizontalAlign": "center",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "middle",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": true,
"height": 100,
"layout": "horizontal",
"overflow": "visible",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "button menu sup"
},
"shadow": false,
"scrollBarWidth": 10,
"backgroundOpacity": 0
},
{
"maxHeight": 130,
"id": "Image_6924E557_649A_33AC_41BA_A1E22386BC22_mobile",
"left": "0%",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"right": "0%",
"horizontalAlign": "center",
"url": "skin/Image_6924E557_649A_33AC_41BA_A1E22386BC22.png",
"minHeight": 100,
"borderSize": 0,
"class": "Image",
"paddingBottom": 0,
"minWidth": 0,
"bottom": "0%",
"verticalAlign": "bottom",
"propagateClick": false,
"height": 100,
"scaleMode": "fit_to_height",
"data": {
"name": "img "
},
"paddingTop": 0,
"shadow": false,
"backgroundOpacity": 0
},
{
"maxHeight": 80,
"id": "IconButton_4DA280D1_6F64_CD55_41D9_36226B9769C6",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA280D1_6F64_CD55_41D9_36226B9769C6.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "toggle",
"verticalAlign": "middle",
"propagateClick": true,
"pressedIconURL": "skin/IconButton_4DA280D1_6F64_CD55_41D9_36226B9769C6_pressed.png",
"height": 80,
"data": {
"name": "IconButton MUTE"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"borderRadius": 0,
"children": [
"this.IconButton_4DA2A0D1_6F64_CD55_41AD_586A762C9398",
"this.IconButton_4DA2B0D1_6F64_CD55_41D6_BFC41C284069",
"this.IconButton_4DA280D1_6F64_CD55_41D9_36226B9769C6",
"this.IconButton_4DA290D1_6F64_CD55_41CF_2A959365D970",
"this.IconButton_4DA160D1_6F64_CD55_4171_A9C3AF8B1588",
"this.IconButton_4DA170D1_6F64_CD55_41C6_C610A7B0CB3C",
"this.IconButton_4DA140D1_6F64_CD55_41D8_248F0134361A"
],
"scrollBarWidth": 10,
"id": "Container_4DA2D0D1_6F64_CD55_41D0_783D7C6FC939",
"left": "0%",
"paddingLeft": 0,
"gap": 3,
"paddingRight": 0,
"width": "100%",
"horizontalAlign": "center",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": 94,
"paddingBottom": 0,
"contentOpaque": false,
"bottom": "0%",
"minWidth": 1,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": true,
"layout": "vertical",
"overflow": "scroll",
"scrollBarMargin": 2,
"visible": false,
"data": {
"name": "-button set"
},
"shadow": false,
"paddingTop": 0,
"backgroundOpacity": 0
},
{
"borderRadius": 0,
"children": [
"this.Image_6924E557_649A_33AC_41BA_A1E22386BC22_mobile",
"this.Container_1830289D_3415_1D5C_41BC_8E6011E2CDF1_mobile"
],
"id": "Container_685CC558_649E_53A4_41C3_031C34B7328A_mobile",
"left": "0%",
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"bottom": "0%",
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": false,
"height": 144,
"layout": "absolute",
"overflow": "scroll",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "---BUTTON SET"
},
"shadow": false,
"scrollBarWidth": 10,
"backgroundOpacity": 0
},
{
"borderRadius": 0,
"children": [
"this.Button_775D3775_6F10_A324_41B1_8092A2023E17_mobile"
],
"scrollBarWidth": 10,
"id": "Container_7A547551_6EFF_A77C_41C6_43235B32276F_mobile",
"left": 0,
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"width": "100%",
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": 0,
"contentOpaque": false,
"backgroundColor": [
"#FFFFFF",
"#FFFFFF"
],
"paddingBottom": 0,
"minWidth": 1,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"layout": "absolute",
"overflow": "scroll",
"height": 167,
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "header"
},
"shadow": false,
"backgroundOpacity": 0.3
},
{
"borderRadius": 0,
"children": [
"this.Image_727DA44B_7DD2_675A_4187_461ECAA80913"
],
"scrollBarWidth": 10,
"id": "Container_727D944B_7DD2_675A_41AD_EB64DA0C59FA",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"width": "100%",
"horizontalAlign": "center",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "middle",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#000000"
],
"layout": "absolute",
"overflow": "scroll",
"height": "35%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-Photo"
},
"shadow": false,
"backgroundOpacity": 1
},
{
"borderRadius": 0,
"children": [
"this.ViewerAreaLabeled_3AEAC6FC_3514_3866_41BA_E46727E47B58_mobile",
"this.IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC_mobile",
"this.IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4_mobile",
"this.Button_7DC9A1F7_6916_6221_41A7_DA6068060007_mobile"
],
"scrollBarWidth": 10,
"id": "Container_3A26EF53_3514_E9A2_4159_FC2DDA226A54_mobile",
"left": "0%",
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"bottom": "0%",
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#000000",
"#000000"
],
"layout": "absolute",
"overflow": "scroll",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "Global"
},
"shadow": false,
"backgroundOpacity": 1
},
{
"borderRadius": 0,
"shadowBlurRadius": 6,
"label": "INFORMACI\u00d3N",
"id": "Button_750C11A1_648F_A89A_41C9_2E58278A81A6_mobile",
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"fontFamily": "Akhand-Bold",
"width": 130,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"backgroundColorRatios": [
0,
1
],
"minHeight": 1,
"borderSize": 0,
"class": "Button",
"rollOverBackgroundColor": [
"#000000",
"#FFFFFF"
],
"fontColor": "#000000",
"click": "this.setComponentVisibility(this.Container_727E344B_7DD2_675A_41D5_DB8523F3A955, true, 0, this.effect_6A54AB05_7DD3_E2C9_41D5_1413E1ED90F5, 'showEffect', false)",
"borderColor": "#000000",
"shadowColor": "#000000",
"paddingBottom": 0,
"rollOverShadow": false,
"verticalAlign": "middle",
"rollOverBackgroundColorRatios": [
1,
1
],
"mode": "push",
"minWidth": 1,
"iconHeight": 32,
"backgroundColorDirection": "vertical",
"fontStyle": "normal",
"rollOverFontColor": "#048BE1",
"fontSize": "22px",
"backgroundColor": [
"#000000",
"#000000"
],
"propagateClick": false,
"rollOverShadowBlurRadius": 66,
"layout": "horizontal",
"rollOverBackgroundOpacity": 0,
"data": {
"name": "info"
},
"iconWidth": 32,
"shadowSpread": 1,
"paddingTop": 0,
"shadow": false,
"textDecoration": "none",
"cursor": "hand",
"height": "100%",
"fontWeight": "normal",
"backgroundOpacity": 0,
"pressedFontColor": "#000000"
},
{
"maxHeight": 6,
"scrollBarWidth": 10,
"id": "Container_5BD81E0A_7DC5_CAC5_41D5_06AEAE9C08B8",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"borderRadius": 50,
"width": 6,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#048BE1"
],
"layout": "absolute",
"overflow": "scroll",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-"
},
"shadow": false,
"maxWidth": 6,
"backgroundOpacity": 1
},
{
"maxHeight": 60,
"shadowBlurRadius": 6,
"click": "this.setComponentVisibility(this.Container_3A863D9B_3513_E8A1_41BD_38320457DF78_mobile, false, 0, this.effect_77AF96BF_6F11_E523_41B8_61E169A25F9B, 'hideEffect', false)",
"textDecoration": "none",
"id": "Button_7DC9A1F7_6916_6221_41A7_DA6068060007_mobile",
"pressedBackgroundOpacity": 1,
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"borderRadius": 0,
"right": 20,
"width": 70,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"pressedBackgroundColor": [
"#000000"
],
"minHeight": 50,
"borderSize": 0,
"iconURL": "skin/Button_7DC9A1F7_6916_6221_41A7_DA6068060007.png",
"class": "Button",
"borderColor": "#000000",
"rollOverBackgroundColor": [
"#0069A3"
],
"fontColor": "#FFFFFF",
"top": 20,
"pressedBackgroundColorRatios": [
0
],
"shadowColor": "#000000",
"backgroundColor": [
"#048BE1"
],
"rollOverBackgroundColorRatios": [
0
],
"paddingBottom": 0,
"mode": "push",
"minWidth": 50,
"verticalAlign": "middle",
"iconHeight": 50,
"backgroundColorDirection": "vertical",
"propagateClick": false,
"fontFamily": "Arial",
"fontSize": "1.29vmin",
"height": 70,
"shadow": false,
"layout": "horizontal",
"rollOverBackgroundOpacity": 1,
"fontStyle": "normal",
"shadowSpread": 1,
"paddingTop": 0,
"data": {
"name": "X"
},
"iconWidth": 50,
"cursor": "hand",
"maxWidth": 60,
"fontWeight": "normal",
"backgroundOpacity": 1
},
{
"maxHeight": 60,
"shadowBlurRadius": 6,
"click": "this.setComponentVisibility(this.Container_7A542551_6EFF_A77C_41BD_77B516563B0F_mobile, false, 0, this.effect_5C2AA439_7DC7_DEC7_41CF_4B1FF90FFCC8, 'hideEffect', false)",
"textDecoration": "none",
"id": "Button_775D3775_6F10_A324_41B1_8092A2023E17_mobile",
"pressedBackgroundOpacity": 1,
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"borderRadius": 0,
"right": 20,
"width": 60,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"pressedBackgroundColor": [
"#000000"
],
"minHeight": 50,
"borderSize": 0,
"iconURL": "skin/Button_7DC9A1F7_6916_6221_41A7_DA6068060007.png",
"class": "Button",
"borderColor": "#000000",
"rollOverBackgroundColor": [
"#0069A3"
],
"fontColor": "#FFFFFF",
"top": 20,
"pressedBackgroundColorRatios": [
0
],
"shadowColor": "#000000",
"backgroundColor": [
"#048BE1"
],
"rollOverBackgroundColorRatios": [
0
],
"paddingBottom": 0,
"mode": "push",
"minWidth": 50,
"verticalAlign": "middle",
"iconHeight": 50,
"backgroundColorDirection": "vertical",
"propagateClick": false,
"fontFamily": "Arial",
"fontSize": "1.29vmin",
"height": 60,
"shadow": false,
"layout": "horizontal",
"rollOverBackgroundOpacity": 1,
"fontStyle": "normal",
"shadowSpread": 1,
"paddingTop": 0,
"data": {
"name": "X"
},
"iconWidth": 50,
"cursor": "hand",
"maxWidth": 60,
"fontWeight": "normal",
"backgroundOpacity": 1
},
{
"thumbnailUrl": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_1_t.jpg",
"duration": 5000,
"label": "1_79_cam entrada",
"class": "Photo",
"width": 1920,
"id": "album_046ED1E1_1F54_6AF6_41B1_702592EBF408_1",
"image": {
"levels": [
{
"url": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_1.jpg",
"class": "ImageResourceLevel"
}
],
"class": "ImageResource"
},
"height": 1068
},
{
"maxHeight": 80,
"id": "IconButton_4DA2C0D1_6F64_CD55_41CD_63BF6E72FB74",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA2C0D1_6F64_CD55_41CD_63BF6E72FB74.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "toggle",
"verticalAlign": "middle",
"click": "if(!this.Container_4DA2D0D1_6F64_CD55_41D0_783D7C6FC939.get('visible')){ this.setComponentVisibility(this.Container_4DA2D0D1_6F64_CD55_41D0_783D7C6FC939, true, 0, null, null, false) } else { this.setComponentVisibility(this.Container_4DA2D0D1_6F64_CD55_41D0_783D7C6FC939, false, 0, null, null, false) }",
"propagateClick": true,
"pressedIconURL": "skin/IconButton_4DA2C0D1_6F64_CD55_41CD_63BF6E72FB74_pressed.png",
"height": 80,
"data": {
"name": "image button menu"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"maxHeight": 6,
"scrollBarWidth": 10,
"id": "Container_5B8F0710_7DC4_7AC6_41CA_A5F4DED56D98",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"borderRadius": 50,
"width": 6,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#048BE1"
],
"layout": "absolute",
"overflow": "scroll",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-"
},
"shadow": false,
"maxWidth": 6,
"backgroundOpacity": 1
},
{
"borderRadius": 0,
"children": [
"this.Container_727E444B_7DD2_675A_41D1_18147FFD82F4"
],
"scrollBarWidth": 10,
"id": "Container_727DB44B_7DD2_675A_41D3_062CEE3D9134",
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 50,
"gap": 0,
"paddingRight": 50,
"width": "100%",
"horizontalAlign": "left",
"scrollBarColor": "#0069A3",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "top",
"scrollBarOpacity": 0.51,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#FFFFFF",
"#FFFFFF"
],
"layout": "vertical",
"overflow": "visible",
"height": "65%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-Info"
},
"shadow": false,
"backgroundOpacity": 1
},
{
"duration": 500,
"easing": "linear",
"id": "effect_65A91219_7DD2_22F9_414C_FC0B188E9BDB",
"class": "FadeInEffect"
},
{
"borderRadius": 0,
"children": [
"this.Container_727D944B_7DD2_675A_41AD_EB64DA0C59FA",
"this.Container_727DB44B_7DD2_675A_41D3_062CEE3D9134"
],
"scrollBarWidth": 10,
"id": "Container_727D844B_7DD2_675A_41D4_025EB07B7DA4",
"left": "0%",
"backgroundColorRatios": [
0,
1
],
"scrollBarMargin": 2,
"paddingLeft": 0,
"gap": 0,
"paddingRight": 0,
"right": "0%",
"shadowColor": "#000000",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"horizontalAlign": "left",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"shadowHorizontalLength": 0,
"bottom": "0%",
"backgroundColor": [
"#FFFFFF",
"#FFFFFF"
],
"verticalAlign": "top",
"shadowVerticalLength": 0,
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"shadow": true,
"layout": "vertical",
"shadowBlurRadius": 25,
"shadowOpacity": 0.3,
"shadowSpread": 1,
"paddingTop": 0,
"overflow": "scroll",
"data": {
"name": "Global"
},
"backgroundOpacity": 1
},
{
"duration": 500,
"easing": "linear",
"id": "effect_7E0FE099_696E_E2E0_4183_0FC331E0D87C",
"class": "FadeOutEffect"
},
{
"class": "RotationalCamera",
"automaticRotationSpeed": 10,
"automaticZoomSpeed": 10,
"manualZoomSpeed": 1,
"manualRotationSpeed": 1800,
"id": "media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89_camera",
"initialPosition": {
"class": "RotationalCameraPosition",
"yaw": 0,
"pitch": 0,
"hfov": 120
}
},
{
"paddingTop": 0,
"borderRadius": 0,
"id": "HTMLText_727E544B_7DD2_675A_41D7_B13EDAF14E19",
"paddingLeft": 0,
"paddingRight": 0,
"width": "100%",
"scrollBarColor": "#048BE1",
"minHeight": 1,
"borderSize": 0,
"class": "HTMLText",
"paddingBottom": 10,
"minWidth": 1,
"scrollBarOpacity": 0.2,
"scrollBarVisible": "rollOver",
"height": "100%",
"propagateClick": false,
"scrollBarMargin": 2,
"data": {
"name": "HTMLText"
},
"shadow": false,
"scrollBarWidth": 10,
"html": "<div style=\"text-align:left; color:#000; \"><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:6.68vmin;font-family:'Exo';\"><B><I>TOUR VIRTUAL</I></B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:3.34vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"color:#048be1;font-size:3.06vmin;font-family:'Exo';\"><B>Visitas virtuales para ingenier\u00eda, cultura, negocios, comercios, sector inmobiliario, hoteles... </B></SPAN><SPAN STYLE=\"font-size:3.06vmin;font-family:'Exo';\"><B> </B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:2.79vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>Con Smart Virtual Tour de dronica lograr\u00e1s aumentar tus visitas en l\u00ednea y por tanto, un incremento en tus ventas. Har\u00e1 que te diferencies del resto logrando un gran impacto visual tanto por la definici\u00f3n como por la difusi\u00f3n.</B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>Lo podr\u00e1s insertar en cualquier p\u00e1gina Web o promocionarlo en Redes Sociales. </B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>Las personas tendr\u00e1n la sensaci\u00f3n de estar ah\u00ed a trav\u00e9s de cualquier Smartphone, Tablet o con las gafas de Realidad Virtual.</B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>Algunas de las principales caracter\u00edsticas:</B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>- Inserci\u00f3n en Web</B></SPAN></SPAN></DIV><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>- Comparte en RRSS</B></SPAN></SPAN></DIV><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>- Aumenta tus Visitas</B></SPAN></SPAN></DIV><DIV STYLE=\"text-align:left;\"><SPAN STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-family:Arial, Helvetica, sans-serif;\"><SPAN STYLE=\"font-size:2.07vmin;font-family:'Exo';\"><B>- Incrementa tus ventas</B></SPAN></SPAN></DIV><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><p STYLE=\"margin:0; line-height:2.07vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><p STYLE=\"margin:0; line-height:3.34vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:11.51vmin;font-family:Arial, Helvetica, sans-serif;\"/></p><p STYLE=\"margin:0; line-height:6.15vmin;\"><BR STYLE=\"letter-spacing:0vmin; white-space:pre-wrap;color:#000000;font-size:14.99vmin;font-family:Arial, Helvetica, sans-serif;\"/></p></div>",
"backgroundOpacity": 0
},
{
"maxHeight": 80,
"id": "IconButton_4DA2A0D1_6F64_CD55_41AD_586A762C9398",
"rollOverIconURL": "skin/IconButton_4DA2A0D1_6F64_CD55_41AD_586A762C9398_rollover.png",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA2A0D1_6F64_CD55_41AD_586A762C9398.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "push",
"verticalAlign": "middle",
"propagateClick": true,
"height": 80,
"data": {
"name": "IconButton VR"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"class": "PlayList",
"change": "if(event.source.get('selectedIndex') != -1) { this.setComponentVisibility(this.Container_7A542551_6EFF_A77C_41BD_77B516563B0F_mobile, false, 0, this.effect_7B8186D4_6EF3_A564_41D1_26B2B20529FE, 'hideEffect', false) }",
"items": [
{
"media": "this.panorama_0746D890_1F5C_9956_41B6_6CC1D875F351",
"begin": "this.setEndToItemIndex(this.ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile_playlist, 0, 1)",
"player": "this.MainViewer_mobilePanoramaPlayer",
"class": "PanoramaPlayListItem",
"camera": "this.panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_camera"
},
{
"media": "this.panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2",
"begin": "this.setEndToItemIndex(this.ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile_playlist, 1, 0)",
"player": "this.MainViewer_mobilePanoramaPlayer",
"class": "PanoramaPlayListItem",
"camera": "this.panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_camera"
}
],
"id": "ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile_playlist"
},
{
"items": [
{
"media": "this.media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89",
"start": "this.MainViewer_mobilePanoramaPlayer.set('displayPlaybackBar', true); this.changeBackgroundWhilePlay(this.playList_B04FA474_A004_AD95_41E0_06465712D27F, 0, '#000000'); this.pauseGlobalAudiosWhilePlayItem(this.playList_B04FA474_A004_AD95_41E0_06465712D27F, 0)",
"begin": "this.fixTogglePlayPauseButton(this.MainViewer_mobilePanoramaPlayer)",
"player": "this.MainViewer_mobilePanoramaPlayer",
"class": "Video360PlayListItem",
"camera": "this.media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89_camera"
}
],
"id": "playList_B04FA474_A004_AD95_41E0_06465712D27F",
"class": "PlayList"
},
{
"duration": 500,
"easing": "linear",
"id": "effect_7B8186D4_6EF3_A564_41D1_26B2B20529FE",
"class": "FadeOutEffect"
},
{
"borderRadius": 0,
"children": [
"this.Container_727D844B_7DD2_675A_41D4_025EB07B7DA4",
"this.Container_727E044B_7DD2_675A_41BB_8EF06E61CE64"
],
"scrollBarWidth": 10,
"id": "Container_727E344B_7DD2_675A_41D5_DB8523F3A955",
"left": "0%",
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"creationPolicy": "inAdvance",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"bottom": "0%",
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"click": "this.setComponentVisibility(this.Container_727E344B_7DD2_675A_41D5_DB8523F3A955, false, 0, null, null, false)",
"propagateClick": true,
"backgroundColor": [
"#000000",
"#000000"
],
"overflow": "scroll",
"layout": "absolute",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "--INFO"
},
"shadow": false,
"visible": false,
"backgroundOpacity": 0.6
},
{
"thumbnailUrl": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_t.jpg",
"frames": [
{
"thumbnailUrl": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_t.jpg",
"front": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/f/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/f/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/f/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/f/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"top": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/u/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/u/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/u/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/u/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"right": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/r/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/r/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/r/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/r/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"back": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/b/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/b/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/b/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/b/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"bottom": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/d/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/d/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/d/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/d/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
},
"class": "CubicPanoramaFrame",
"left": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/l/0/{row}_{column}.jpg",
"colCount": 8,
"rowCount": 8,
"width": 4096,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 4096
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/l/1/{row}_{column}.jpg",
"colCount": 4,
"rowCount": 4,
"width": 2048,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 2048
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/l/2/{row}_{column}.jpg",
"colCount": 2,
"rowCount": 2,
"width": 1024,
"tags": "ondemand",
"class": "TiledImageResourceLevel",
"height": 1024
},
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0/l/3/{row}_{column}.jpg",
"colCount": 1,
"rowCount": 1,
"width": 512,
"tags": [
"ondemand",
"preload"
],
"class": "TiledImageResourceLevel",
"height": 512
}
],
"class": "ImageResource"
}
}
],
"overlays": [
"this.overlay_214CDB08_2E69_15FB_41C2_5E0D31C7A6F2"
],
"label": "Centro D\u00eda",
"class": "Panorama",
"adjacentPanoramas": [
{
"panorama": "this.panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2",
"class": "AdjacentPanorama"
}
],
"id": "panorama_0746D890_1F5C_9956_41B6_6CC1D875F351",
"hfovMax": 130,
"pitch": 0,
"partial": false,
"vfov": 180,
"hfov": 360
},
{
"borderRadius": 0,
"shadowBlurRadius": 6,
"label": "360\u00ba FOTOS",
"id": "Button_6B3DCC00_647A_DF9A_41D5_DC120403F72A_mobile",
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"fontFamily": "Akhand-Bold",
"width": 110,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"backgroundColorRatios": [
0,
1
],
"minHeight": 1,
"borderSize": 0,
"class": "Button",
"fontColor": "#000000",
"click": "this.setComponentVisibility(this.Container_7A542551_6EFF_A77C_41BD_77B516563B0F_mobile, true, 0, this.effect_65A91219_7DD2_22F9_414C_FC0B188E9BDB, 'showEffect', false)",
"borderColor": "#000000",
"shadowColor": "#000000",
"paddingBottom": 0,
"verticalAlign": "middle",
"mode": "push",
"minWidth": 1,
"iconHeight": 32,
"backgroundColorDirection": "vertical",
"fontStyle": "normal",
"rollOverFontColor": "#048BE1",
"fontSize": "22px",
"backgroundColor": [
"#000000",
"#000000"
],
"propagateClick": false,
"layout": "horizontal",
"data": {
"name": "360 views"
},
"iconWidth": 32,
"shadowSpread": 1,
"paddingTop": 0,
"shadow": false,
"textDecoration": "none",
"cursor": "hand",
"height": "100%",
"fontWeight": "normal",
"backgroundOpacity": 0
},
{
"thumbnailUrl": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_t.png",
"class": "PhotoAlbum",
"label": "AlbumFCC",
"id": "album_046ED1E1_1F54_6AF6_41B1_702592EBF408",
"playList": "this.album_046ED1E1_1F54_6AF6_41B1_702592EBF408_AlbumPlayList"
},
{
"borderRadius": 0,
"id": "Image_727DA44B_7DD2_675A_4187_461ECAA80913",
"left": "0%",
"paddingLeft": 0,
"paddingRight": 0,
"width": "100%",
"horizontalAlign": "center",
"url": "skin/Image_7DE3B59A_6911_E2E0_41D3_E1AF7DF208C7.PNG",
"minHeight": 1,
"borderSize": 0,
"class": "Image",
"top": "0%",
"verticalAlign": "middle",
"paddingBottom": 0,
"minWidth": 1,
"propagateClick": false,
"height": "100%",
"scaleMode": "fit_outside",
"data": {
"name": "Image"
},
"shadow": false,
"paddingTop": 0,
"backgroundOpacity": 0
},
{
"playbackBarBackgroundColor": [
"#FFFFFF"
],
"playbackBarBottom": 0,
"id": "ViewerAreaLabeled_3AEAC6FC_3514_3866_41BA_E46727E47B58_mobile",
"left": "0%",
"paddingLeft": 0,
"toolTipShadowHorizontalLength": 0,
"progressOpacity": 1,
"playbackBarHeadShadowBlurRadius": 3,
"progressBarBackgroundColor": [
"#3399FF"
],
"toolTipShadowVerticalLength": 0,
"progressBorderColor": "#000000",
"progressBarBackgroundColorDirection": "vertical",
"progressBarBackgroundColorRatios": [
0
],
"width": "100%",
"playbackBarProgressBorderRadius": 0,
"minHeight": 1,
"borderSize": 0,
"toolTipBorderRadius": 3,
"playbackBarBorderRadius": 0,
"progressBackgroundColorDirection": "vertical",
"toolTipPaddingLeft": 6,
"progressBarBorderColor": "#000000",
"displayTooltipInTouchScreens": true,
"minWidth": 1,
"firstTransitionDuration": 0,
"playbackBarBorderSize": 0,
"vrPointerSelectionTime": 2000,
"playbackBarOpacity": 1,
"playbackBarHeadWidth": 6,
"toolTipDisplayTime": 600,
"toolTipFontStyle": "normal",
"progressBorderSize": 0,
"toolTipShadowBlurRadius": 3,
"height": "58.332%",
"propagateClick": false,
"progressBottom": 2,
"toolTipBackgroundColor": "#F6F6F6",
"progressRight": 0,
"toolTipFontFamily": "Arial",
"toolTipPaddingTop": 4,
"toolTipBorderSize": 1,
"toolTipFontWeight": "normal",
"playbackBarBackgroundColorDirection": "vertical",
"playbackBarProgressBorderColor": "#000000",
"transitionDuration": 500,
"toolTipPaddingBottom": 4,
"toolTipFontSize": 12,
"shadow": false,
"progressHeight": 10,
"playbackBarProgressBackgroundColorRatios": [
0
],
"playbackBarProgressBackgroundColor": [
"#3399FF"
],
"playbackBarHeadBackgroundColorDirection": "vertical",
"borderRadius": 0,
"playbackBarBackgroundOpacity": 1,
"playbackBarHeight": 10,
"playbackBarHeadShadowColor": "#000000",
"paddingRight": 0,
"playbackBarHeadBorderRadius": 0,
"toolTipTextShadowColor": "#000000",
"playbackBarHeadShadowHorizontalLength": 0,
"progressBorderRadius": 0,
"progressBackgroundOpacity": 1,
"playbackBarProgressOpacity": 1,
"playbackBarRight": 0,
"playbackBarHeadShadow": true,
"playbackBarHeadBorderColor": "#000000",
"playbackBarHeadShadowOpacity": 0.7,
"class": "ViewerArea",
"toolTipTextShadowOpacity": 0,
"toolTipOpacity": 1,
"progressBackgroundColor": [
"#FFFFFF"
],
"playbackBarHeadBorderSize": 0,
"vrPointerSelectionColor": "#FF6600",
"playbackBarHeadHeight": 15,
"progressBarBorderRadius": 0,
"paddingBottom": 0,
"progressBarOpacity": 1,
"toolTipPaddingRight": 6,
"toolTipFontColor": "#606060",
"playbackBarLeft": 0,
"playbackBarProgressBorderSize": 0,
"playbackBarHeadBackgroundColor": [
"#111111",
"#666666"
],
"progressBackgroundColorRatios": [
0
],
"bottom": "20.77%",
"playbackBarHeadBackgroundColorRatios": [
0,
1
],
"toolTipBorderColor": "#767676",
"toolTipShadowColor": "#333333",
"progressBarBorderSize": 0,
"toolTipTextShadowBlurRadius": 3,
"playbackBarHeadShadowVerticalLength": 0,
"progressLeft": 0,
"playbackBarBorderColor": "#FFFFFF",
"playbackBarProgressBackgroundColorDirection": "vertical",
"toolTipShadowOpacity": 1,
"vrPointerColor": "#FFFFFF",
"paddingTop": 0,
"playbackBarHeadOpacity": 1,
"toolTipShadowSpread": 0,
"transitionMode": "blending",
"data": {
"name": "Viewer Photo"
}
},
{
"maxHeight": 80,
"id": "IconButton_4DA290D1_6F64_CD55_41CF_2A959365D970",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA290D1_6F64_CD55_41CF_2A959365D970.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "toggle",
"verticalAlign": "middle",
"propagateClick": true,
"pressedIconURL": "skin/IconButton_4DA290D1_6F64_CD55_41CF_2A959365D970_pressed.png",
"height": 80,
"data": {
"name": "IconButton HS "
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"maxHeight": 6,
"scrollBarWidth": 10,
"id": "Container_54E83BC3_7DC5_C94A_41D1_75F652584B64",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"borderRadius": 50,
"width": 6,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#048BE1"
],
"layout": "absolute",
"overflow": "scroll",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-"
},
"shadow": false,
"maxWidth": 6,
"backgroundOpacity": 1
},
{
"maxHeight": 70,
"id": "IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC_mobile",
"left": "1%",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"rollOverIconURL": "skin/IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC_rollover.png",
"width": 70,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC.png",
"minHeight": 40,
"borderSize": 0,
"class": "IconButton",
"top": "42%",
"transparencyActive": false,
"paddingBottom": 0,
"mode": "push",
"bottom": "42%",
"minWidth": 40,
"verticalAlign": "middle",
"propagateClick": false,
"pressedIconURL": "skin/IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC_pressed.png",
"data": {
"name": "<"
},
"paddingTop": 0,
"pressedRollOverIconURL": "skin/IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC_pressed.png",
"shadow": false,
"cursor": "hand",
"maxWidth": 70,
"backgroundOpacity": 0
},
{
"duration": 500,
"easing": "linear",
"id": "effect_77FFEBD0_6F11_A37D_41CF_E0702F0FF71B",
"class": "FadeInEffect"
},
{
"thumbnailUrl": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_3_t.jpg",
"duration": 5000,
"label": "fcc-business",
"class": "Photo",
"width": 1200,
"id": "album_046ED1E1_1F54_6AF6_41B1_702592EBF408_3",
"image": {
"levels": [
{
"url": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_3.jpg",
"class": "ImageResourceLevel"
}
],
"class": "ImageResource"
},
"height": 799
},
{
"maxHeight": 6,
"children": [
"this.Container_54E83BC3_7DC5_C94A_41D1_75F652584B64"
],
"scrollBarWidth": 10,
"id": "Container_5BFF0AE3_7DC5_CB4B_41DE_0D81B6E9028B",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"borderRadius": 50,
"width": 6,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#048BE1"
],
"layout": "absolute",
"overflow": "scroll",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-"
},
"shadow": false,
"maxWidth": 6,
"backgroundOpacity": 1
},
{
"maxHeight": 80,
"id": "IconButton_4DA160D1_6F64_CD55_4171_A9C3AF8B1588",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA160D1_6F64_CD55_4171_A9C3AF8B1588.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "toggle",
"verticalAlign": "middle",
"propagateClick": true,
"pressedIconURL": "skin/IconButton_4DA160D1_6F64_CD55_4171_A9C3AF8B1588_pressed.png",
"height": 80,
"data": {
"name": "IconButton FULLSCREEN"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"maxHeight": 70,
"id": "IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4_mobile",
"rollOverIconURL": "skin/IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4_rollover.png",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"right": "1%",
"width": 70,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4.png",
"minHeight": 40,
"borderSize": 0,
"class": "IconButton",
"top": "42%",
"transparencyActive": false,
"paddingBottom": 0,
"mode": "push",
"bottom": "42%",
"minWidth": 40,
"verticalAlign": "middle",
"propagateClick": false,
"pressedIconURL": "skin/IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4_pressed.png",
"data": {
"name": ">"
},
"paddingTop": 0,
"pressedRollOverIconURL": "skin/IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4_pressed.png",
"shadow": false,
"cursor": "hand",
"maxWidth": 70,
"backgroundOpacity": 0
},
{
"maxHeight": 6,
"scrollBarWidth": 10,
"id": "Container_59617767_7DC3_B94A_41DC_C81A90150A74_mobile",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"borderRadius": 50,
"width": 6,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"backgroundColor": [
"#048BE1"
],
"paddingBottom": 0,
"minWidth": 1,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"layout": "absolute",
"overflow": "scroll",
"height": 6,
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-"
},
"shadow": false,
"maxWidth": 6,
"backgroundOpacity": 1
},
{
"maxHeight": 80,
"id": "IconButton_4DA140D1_6F64_CD55_41D8_248F0134361A",
"rollOverIconURL": "skin/IconButton_4DA140D1_6F64_CD55_41D8_248F0134361A_rollover.png",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA140D1_6F64_CD55_41D8_248F0134361A.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "push",
"verticalAlign": "middle",
"click": "this.openLink('http://www.facebook.com/loremipsum', '_blank')",
"propagateClick": true,
"height": 80,
"data": {
"name": "IconButton FB"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"duration": 500,
"easing": "linear",
"id": "effect_5C2AA439_7DC7_DEC7_41CF_4B1FF90FFCC8",
"class": "FadeOutEffect"
},
{
"borderRadius": 50,
"shadowBlurRadius": 6,
"click": "this.openLink('https://dronica.es/contact-us/', '_blank')",
"textDecoration": "none",
"id": "Button_727E644B_7DD2_675A_41A5_E1B24D4186E2",
"pressedBackgroundOpacity": 1,
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"fontFamily": "Exo",
"width": 160,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"pressedBackgroundColor": [
"#000000"
],
"minHeight": 1,
"borderSize": 0,
"class": "Button",
"borderColor": "#000000",
"rollOverBackgroundColor": [
"#0069A3"
],
"fontColor": "#FFFFFF",
"pressedBackgroundColorRatios": [
0
],
"shadowColor": "#000000",
"height": 50,
"rollOverBackgroundColorRatios": [
0
],
"paddingBottom": 0,
"mode": "push",
"minWidth": 1,
"verticalAlign": "middle",
"iconHeight": 32,
"backgroundColorDirection": "vertical",
"label": "\u00a1Quiero uno!",
"propagateClick": false,
"fontSize": "21.648px",
"layout": "horizontal",
"rollOverBackgroundOpacity": 1,
"fontStyle": "italic",
"backgroundColor": [
"#048BE1"
],
"shadowSpread": 1,
"paddingTop": 0,
"data": {
"name": "Button"
},
"shadow": false,
"iconWidth": 32,
"cursor": "hand",
"fontWeight": "bold",
"backgroundOpacity": 1
},
{
"items": [
{
"media": "this.album_046ED1E1_1F54_6AF6_41B1_702592EBF408",
"player": "this.ViewerAreaLabeled_3AEAC6FC_3514_3866_41BA_E46727E47B58_mobilePhotoAlbumPlayer",
"class": "PhotoAlbumPlayListItem",
"begin": "this.loopAlbum(this.playList_B04FF474_A004_AD95_4179_68650F4975B7, 0)"
}
],
"id": "playList_B04FF474_A004_AD95_4179_68650F4975B7",
"class": "PlayList"
},
{
"touchControlMode": "drag_rotation",
"gyroscopeVerticalDraggingEnabled": true,
"class": "PanoramaPlayer",
"mouseControlMode": "drag_rotation",
"viewerArea": "this.MainViewer_mobile",
"displayPlaybackBar": true,
"buttonCardboardView": "this.IconButton_4DA2A0D1_6F64_CD55_41AD_586A762C9398",
"id": "MainViewer_mobilePanoramaPlayer",
"buttonToggleHotspots": "this.IconButton_4DA290D1_6F64_CD55_41CF_2A959365D970",
"buttonToggleGyroscope": "this.IconButton_4DA2B0D1_6F64_CD55_41D6_BFC41C284069"
},
{
"borderRadius": 0,
"children": [
"this.Container_59617767_7DC3_B94A_41DC_C81A90150A74_mobile",
"this.Button_6B3DCC00_647A_DF9A_41D5_DC120403F72A_mobile",
"this.Container_5BD81E0A_7DC5_CAC5_41D5_06AEAE9C08B8",
"this.Button_750C11A1_648F_A89A_41C9_2E58278A81A6_mobile",
"this.Container_5BFF0AE3_7DC5_CB4B_41DE_0D81B6E9028B",
"this.Button_748008CC_648F_B8AA_41C2_97E5C5DE0CD2_mobile",
"this.Container_5BCCCD5A_7DC5_C945_41C4_DF28AB41A06A",
"this.Button_6B3517BB_64A6_3EE4_41D7_49868CE9F7A9_mobile",
"this.Container_5B8F0710_7DC4_7AC6_41CA_A5F4DED56D98"
],
"id": "Container_1830289D_3415_1D5C_41BC_8E6011E2CDF1_mobile",
"left": "0%",
"paddingLeft": 5,
"gap": 0,
"paddingRight": 5,
"right": "0%",
"horizontalAlign": "center",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"bottom": 0,
"verticalAlign": "middle",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": false,
"height": 80,
"layout": "horizontal",
"overflow": "scroll",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "buttons"
},
"shadow": false,
"scrollBarWidth": 10,
"backgroundOpacity": 0
},
{
"borderRadius": 0,
"children": [
"this.Container_3A26EF53_3514_E9A2_4159_FC2DDA226A54_mobile"
],
"scrollBarWidth": 10,
"id": "Container_3A863D9B_3513_E8A1_41BD_38320457DF78_mobile",
"left": "0%",
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"creationPolicy": "inAdvance",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"bottom": "0%",
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#000000",
"#000000"
],
"layout": "absolute",
"overflow": "scroll",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "---PHOTOALBUM"
},
"shadow": false,
"visible": false,
"backgroundOpacity": 0.8
},
{
"thumbnailUrl": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_0_t.jpg",
"duration": 5000,
"label": "1_26_cam exterior",
"class": "Photo",
"width": 1920,
"id": "album_046ED1E1_1F54_6AF6_41B1_702592EBF408_0",
"image": {
"levels": [
{
"url": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_0.jpg",
"class": "ImageResourceLevel"
}
],
"class": "ImageResource"
},
"height": 1068
},
{
"items": [
{
"media": "this.panorama_0746D890_1F5C_9956_41B6_6CC1D875F351",
"begin": "this.setEndToItemIndex(this.mainPlayList, 0, 1)",
"player": "this.MainViewer_mobilePanoramaPlayer",
"class": "PanoramaPlayListItem",
"camera": "this.panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_camera"
},
{
"media": "this.panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2",
"end": "this.trigger('tourEnded')",
"begin": "this.setEndToItemIndex(this.mainPlayList, 1, 0)",
"player": "this.MainViewer_mobilePanoramaPlayer",
"class": "PanoramaPlayListItem",
"camera": "this.panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_camera"
}
],
"id": "mainPlayList",
"class": "PlayList"
},
{
"maxHeight": 80,
"id": "IconButton_4DA2B0D1_6F64_CD55_41D6_BFC41C284069",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA2B0D1_6F64_CD55_41D6_BFC41C284069.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "toggle",
"verticalAlign": "middle",
"propagateClick": true,
"pressedIconURL": "skin/IconButton_4DA2B0D1_6F64_CD55_41D6_BFC41C284069_pressed.png",
"height": 80,
"data": {
"name": "IconButton GYRO"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"borderRadius": 0,
"children": [
"this.Container_7A547551_6EFF_A77C_41C6_43235B32276F_mobile",
"this.ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile"
],
"scrollBarWidth": 10,
"id": "Container_7A549551_6EFF_A77C_41D5_C1ADFF60CE66_mobile",
"left": "0%",
"backgroundColorRatios": [
0,
1
],
"scrollBarMargin": 2,
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"shadowColor": "#000000",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"horizontalAlign": "center",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"shadowHorizontalLength": 0,
"bottom": "0%",
"backgroundColor": [
"#FFFFFF",
"#FFFFFF"
],
"verticalAlign": "top",
"shadowVerticalLength": 0,
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"shadow": true,
"layout": "absolute",
"shadowBlurRadius": 25,
"shadowOpacity": 0.3,
"shadowSpread": 1,
"paddingTop": 0,
"overflow": "visible",
"data": {
"name": "Global"
},
"backgroundOpacity": 1
},
{
"video": [
{
"width": 3072,
"url": "media/media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89.m3u8",
"framerate": 50,
"type": "application/x-mpegurl",
"posterURL": "media/media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89_poster.jpg",
"class": "Video360Resource",
"height": 1536
},
{
"width": 3072,
"url": "media/media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89.mp4",
"framerate": 50,
"type": "video/mp4",
"posterURL": "media/media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89_poster.jpg",
"bitrate": 17694,
"class": "Video360Resource",
"height": 1536
}
],
"label": "CorteOK",
"id": "media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89",
"loop": false,
"vfov": 180,
"partial": false,
"thumbnailUrl": "media/media_07B7B6D9_1F5D_B6D6_41BD_E80972961C89_t.jpg",
"pitch": 0,
"hfovMin": 60,
"class": "Video360",
"hfovMax": 140,
"hfov": 360
},
{
"duration": 500,
"easing": "linear",
"id": "effect_77AF96BF_6F11_E523_41B8_61E169A25F9B",
"class": "FadeOutEffect"
},
{
"borderRadius": 0,
"children": [
"this.Button_727E144B_7DD2_675A_41BF_CAB5EC214204"
],
"id": "Container_727E044B_7DD2_675A_41BB_8EF06E61CE64",
"left": "0%",
"paddingLeft": 0,
"gap": 10,
"paddingRight": 20,
"right": "0%",
"horizontalAlign": "right",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"bottom": "80%",
"minWidth": 1,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"propagateClick": false,
"layout": "vertical",
"overflow": "visible",
"scrollBarMargin": 2,
"paddingTop": 20,
"data": {
"name": "Container X"
},
"shadow": false,
"scrollBarWidth": 10,
"backgroundOpacity": 0
},
{
"buttonNext": "this.IconButton_253A0D7D_3513_E866_41BC_277EBE69ACB4_mobile",
"id": "ViewerAreaLabeled_3AEAC6FC_3514_3866_41BA_E46727E47B58_mobilePhotoAlbumPlayer",
"class": "PhotoAlbumPlayer",
"buttonPrevious": "this.IconButton_26A59E96_3534_28A2_419C_6C5ADD7D1CAC_mobile",
"viewerArea": "this.ViewerAreaLabeled_3AEAC6FC_3514_3866_41BA_E46727E47B58_mobile"
},
{
"thumbnailUrl": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_2_t.jpg",
"duration": 5000,
"label": "business (3)",
"class": "Photo",
"width": 1374,
"id": "album_046ED1E1_1F54_6AF6_41B1_702592EBF408_2",
"image": {
"levels": [
{
"url": "media/album_046ED1E1_1F54_6AF6_41B1_702592EBF408_2.jpg",
"class": "ImageResourceLevel"
}
],
"class": "ImageResource"
},
"height": 916
},
{
"borderRadius": 0,
"shadowBlurRadius": 6,
"label": "ALBUM",
"id": "Button_748008CC_648F_B8AA_41C2_97E5C5DE0CD2_mobile",
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"fontFamily": "Akhand-Bold",
"width": 130,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"backgroundColorRatios": [
0,
1
],
"minHeight": 1,
"borderSize": 0,
"class": "Button",
"fontColor": "#000000",
"click": "this.setComponentVisibility(this.Container_3A863D9B_3513_E8A1_41BD_38320457DF78_mobile, true, 0, this.effect_77FFEBD0_6F11_A37D_41CF_E0702F0FF71B, 'showEffect', false); this.ViewerAreaLabeled_3AEAC6FC_3514_3866_41BA_E46727E47B58_mobile.bind('hide', function(e){ e.source.unbind('hide', arguments.callee, this); this.playList_B04FF474_A004_AD95_4179_68650F4975B7.set('selectedIndex', -1); }, this); this.playList_B04FF474_A004_AD95_4179_68650F4975B7.set('selectedIndex', 0)",
"borderColor": "#000000",
"shadowColor": "#000000",
"paddingBottom": 0,
"verticalAlign": "middle",
"mode": "push",
"minWidth": 1,
"iconHeight": 32,
"backgroundColorDirection": "vertical",
"fontStyle": "normal",
"rollOverFontColor": "#048BE1",
"fontSize": "22px",
"backgroundColor": [
"#000000",
"#000000"
],
"propagateClick": false,
"layout": "horizontal",
"rollOverBackgroundOpacity": 0,
"data": {
"name": "photoalbum"
},
"iconWidth": 32,
"shadowSpread": 1,
"paddingTop": 0,
"shadow": false,
"textDecoration": "none",
"cursor": "hand",
"height": "100%",
"fontWeight": "normal",
"backgroundOpacity": 0
},
{
"borderRadius": 0,
"children": [
"this.HTMLText_727E544B_7DD2_675A_41D7_B13EDAF14E19",
"this.Button_727E644B_7DD2_675A_41A5_E1B24D4186E2"
],
"scrollBarWidth": 10,
"id": "Container_727E444B_7DD2_675A_41D1_18147FFD82F4",
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"width": "100%",
"horizontalAlign": "left",
"scrollBarColor": "#E73B2C",
"minHeight": 300,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 100,
"paddingBottom": 46,
"verticalAlign": "top",
"scrollBarOpacity": 0.79,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#FFFFFF",
"#FFFFFF"
],
"layout": "vertical",
"overflow": "scroll",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 40,
"data": {
"name": "Container text"
},
"shadow": false,
"backgroundOpacity": 0.3
},
{
"borderRadius": 0,
"children": [
"this.Container_7A549551_6EFF_A77C_41D5_C1ADFF60CE66_mobile"
],
"scrollBarWidth": 10,
"id": "Container_7A542551_6EFF_A77C_41BD_77B516563B0F_mobile",
"left": "0%",
"backgroundColorRatios": [
0,
1
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"right": "0%",
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"creationPolicy": "inAdvance",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"top": "0%",
"paddingBottom": 0,
"contentOpaque": false,
"minWidth": 1,
"bottom": "0%",
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"click": "this.setComponentVisibility(this.Container_7A542551_6EFF_A77C_41BD_77B516563B0F_mobile, false, 0, null, null, false)",
"propagateClick": true,
"backgroundColor": [
"#000000",
"#000000"
],
"overflow": "scroll",
"layout": "absolute",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "--PANORAMA LIST"
},
"shadow": false,
"visible": false,
"backgroundOpacity": 0.6
},
{
"borderRadius": 0,
"shadowBlurRadius": 6,
"label": "360\u00ba VIDEO",
"id": "Button_6B3517BB_64A6_3EE4_41D7_49868CE9F7A9_mobile",
"paddingLeft": 0,
"gap": 5,
"paddingRight": 0,
"fontFamily": "Akhand-Bold",
"width": 90,
"horizontalAlign": "center",
"iconBeforeLabel": true,
"backgroundColorRatios": [
0,
1
],
"minHeight": 1,
"borderSize": 0,
"class": "Button",
"fontColor": "#000000",
"click": "this.openLink('https://youtu.be/kUB1cS4-fXc', '_self')",
"borderColor": "#000000",
"shadowColor": "#000000",
"paddingBottom": 0,
"verticalAlign": "middle",
"mode": "push",
"minWidth": 1,
"iconHeight": 32,
"backgroundColorDirection": "vertical",
"fontStyle": "normal",
"rollOverFontColor": "#048BE1",
"fontSize": "22px",
"backgroundColor": [
"#000000",
"#000000"
],
"propagateClick": false,
"layout": "horizontal",
"data": {
"name": "button 4"
},
"iconWidth": 32,
"shadowSpread": 1,
"paddingTop": 0,
"shadow": false,
"textDecoration": "none",
"cursor": "hand",
"height": "100%",
"fontWeight": "normal",
"backgroundOpacity": 0
},
{
"maxHeight": 80,
"id": "IconButton_4DA170D1_6F64_CD55_41C6_C610A7B0CB3C",
"rollOverIconURL": "skin/IconButton_4DA170D1_6F64_CD55_41C6_C610A7B0CB3C_rollover.png",
"paddingLeft": 0,
"paddingRight": 0,
"borderRadius": 0,
"width": 80,
"horizontalAlign": "center",
"iconURL": "skin/IconButton_4DA170D1_6F64_CD55_41C6_C610A7B0CB3C.png",
"minHeight": 1,
"borderSize": 0,
"class": "IconButton",
"transparencyActive": true,
"minWidth": 1,
"paddingBottom": 0,
"mode": "push",
"verticalAlign": "middle",
"click": "this.openLink('http://www.twitter.com/loremipsum', '_blank')",
"propagateClick": true,
"height": 80,
"data": {
"name": "IconButton TWITTER"
},
"paddingTop": 0,
"shadow": false,
"cursor": "hand",
"maxWidth": 80,
"backgroundOpacity": 0
},
{
"maxHeight": 6,
"scrollBarWidth": 10,
"id": "Container_5BCCCD5A_7DC5_C945_41C4_DF28AB41A06A",
"backgroundColorRatios": [
0
],
"paddingLeft": 0,
"gap": 10,
"paddingRight": 0,
"borderRadius": 50,
"width": 6,
"horizontalAlign": "left",
"scrollBarColor": "#000000",
"minHeight": 1,
"borderSize": 0,
"class": "Container",
"contentOpaque": false,
"minWidth": 1,
"paddingBottom": 0,
"verticalAlign": "top",
"scrollBarOpacity": 0.5,
"scrollBarVisible": "rollOver",
"backgroundColorDirection": "vertical",
"propagateClick": false,
"backgroundColor": [
"#048BE1"
],
"layout": "absolute",
"overflow": "scroll",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 0,
"data": {
"name": "-"
},
"shadow": false,
"maxWidth": 6,
"backgroundOpacity": 1
},
{
"class": "PanoramaCamera",
"automaticZoomSpeed": 10,
"id": "panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_camera",
"initialPosition": {
"yaw": -0.82,
"class": "PanoramaCameraPosition",
"pitch": -0.93
}
},
{
"paddingTop": 10,
"itemBackgroundOpacity": 0,
"id": "ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile",
"left": 0,
"itemHeight": 200,
"paddingLeft": 50,
"gap": 26,
"itemPaddingTop": 3,
"width": "100%",
"itemThumbnailBorderRadius": 0,
"scrollBarColor": "#048BE1",
"itemVerticalAlign": "top",
"selectedItemLabelFontColor": "#048BE1",
"selectedItemThumbnailShadow": false,
"rollOverItemThumbnailShadowColor": "#048BE1",
"minHeight": 1,
"borderSize": 0,
"itemPaddingRight": 3,
"itemLabelGap": 7,
"itemLabelFontColor": "#666666",
"minWidth": 1,
"itemMinWidth": 50,
"rollOverItemThumbnailShadowVerticalLength": 0,
"selectedItemThumbnailShadowVerticalLength": 0,
"height": "92%",
"itemLabelPosition": "bottom",
"propagateClick": false,
"itemLabelFontStyle": "normal",
"itemLabelFontSize": "18px",
"itemMode": "normal",
"shadow": false,
"scrollBarWidth": 10,
"backgroundOpacity": 0,
"borderRadius": 5,
"selectedItemBackgroundColorRatios": [
0.04
],
"selectedItemBackgroundColor": [
"#048BE1"
],
"itemBackgroundColor": [],
"paddingRight": 50,
"itemOpacity": 1,
"horizontalAlign": "center",
"rollOverItemThumbnailShadowHorizontalLength": 8,
"playList": "this.ThumbnailGrid_7A545551_6EFF_A77C_4171_76469EB05358_mobile_playlist",
"itemLabelHorizontalAlign": "center",
"itemThumbnailHeight": 150,
"itemHorizontalAlign": "center",
"itemThumbnailWidth": 300,
"rollOverItemThumbnailShadowBlurRadius": 0,
"class": "ThumbnailGrid",
"selectedItemBackgroundOpacity": 0,
"itemThumbnailShadow": false,
"itemMaxWidth": 1000,
"itemWidth": 300,
"paddingBottom": 30,
"itemBorderRadius": 0,
"itemLabelFontFamily": "Exo",
"itemMinHeight": 50,
"bottom": -0.2,
"scrollBarVisible": "rollOver",
"verticalAlign": "middle",
"scrollBarOpacity": 0.5,
"itemBackgroundColorRatios": [],
"selectedItemThumbnailShadowBlurRadius": 16,
"itemLabelTextDecoration": "none",
"itemThumbnailOpacity": 1,
"itemThumbnailScaleMode": "fit_outside",
"selectedItemLabelFontWeight": "bold",
"scrollBarMargin": 2,
"itemPaddingBottom": 3,
"itemLabelFontWeight": "bold",
"itemMaxHeight": 1000,
"selectedItemThumbnailShadowHorizontalLength": 0,
"rollOverItemThumbnailShadow": false,
"itemPaddingLeft": 3,
"rollOverItemLabelFontColor": "#048BE1",
"itemBackgroundColorDirection": "vertical",
"data": {
"name": "ThumbnailList"
}
},
{
"maps": [
{
"yaw": 178.08,
"class": "HotspotPanoramaOverlayMap",
"image": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0_HS_1_0_0_map.gif",
"width": 30,
"class": "ImageResourceLevel",
"height": 16
}
],
"class": "ImageResource"
},
"pitch": -4.26,
"hfov": 14.21
}
],
"class": "HotspotPanoramaOverlay",
"rollOverDisplay": false,
"data": {
"label": "Imagen"
},
"useHandCursor": true,
"items": [
{
"class": "HotspotPanoramaOverlayImage",
"distance": 50,
"image": {
"levels": [
{
"url": "media/panorama_08214BE1_1F5C_BEF6_41BF_0477255AFBB2_0_HS_1_0.png",
"width": 491,
"class": "ImageResourceLevel",
"height": 260
}
],
"class": "ImageResource"
},
"pitch": -4.26,
"yaw": 178.08,
"hfov": 14.21
}
],
"id": "overlay_20B7267D_2E77_3C1A_41BE_EE532456D91F",
"enabledInCardboard": true,
"areas": [
{
"mapColor": "#FF0000",
"click": "this.mainPlayList.set('selectedIndex', 0)",
"class": "HotspotPanoramaOverlayArea",
"toolTip": "Vista D\u00eda"
}
]
},
{
"maps": [
{
"yaw": -0.79,
"class": "HotspotPanoramaOverlayMap",
"image": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0_HS_1_0_0_map.gif",
"width": 30,
"class": "ImageResourceLevel",
"height": 16
}
],
"class": "ImageResource"
},
"pitch": -5.04,
"hfov": 14.2
}
],
"class": "HotspotPanoramaOverlay",
"rollOverDisplay": false,
"data": {
"label": "Imagen"
},
"useHandCursor": true,
"items": [
{
"class": "HotspotPanoramaOverlayImage",
"distance": 50,
"image": {
"levels": [
{
"url": "media/panorama_0746D890_1F5C_9956_41B6_6CC1D875F351_0_HS_1_0.png",
"width": 494,
"class": "ImageResourceLevel",
"height": 261
}
],
"class": "ImageResource"
},
"pitch": -5.04,
"yaw": -0.79,
"hfov": 14.2
}
],
"id": "overlay_214CDB08_2E69_15FB_41C2_5E0D31C7A6F2",
"enabledInCardboard": true,
"areas": [
{
"mapColor": "#FF0000",
"click": "this.mainPlayList.set('selectedIndex', 1)",
"class": "HotspotPanoramaOverlayArea",
"toolTip": "Vista Noche"
}
]
},
{
"items": [
{
"media": "this.album_046ED1E1_1F54_6AF6_41B1_702592EBF408_0",
"class": "PhotoPlayListItem",
"camera": {
"duration": 5000,
"class": "MovementPhotoCamera",
"initialPosition": {
"x": "0.50",
"zoomFactor": 1,
"class": "PhotoCameraPosition",
"y": "0.50"
},
"easing": "linear",
"scaleMode": "fit_outside",
"targetPosition": {
"x": "0.73",
"zoomFactor": 1.1,
"class": "PhotoCameraPosition",
"y": "0.39"
}
}
},
{
"media": "this.album_046ED1E1_1F54_6AF6_41B1_702592EBF408_1",
"class": "PhotoPlayListItem",
"camera": {
"duration": 5000,
"class": "MovementPhotoCamera",
"initialPosition": {
"x": "0.50",
"zoomFactor": 1,
"class": "PhotoCameraPosition",
"y": "0.50"
},
"easing": "linear",
"scaleMode": "fit_outside",
"targetPosition": {
"x": "0.30",
"zoomFactor": 1.1,
"class": "PhotoCameraPosition",
"y": "0.74"
}
}
},
{
"media": "this.album_046ED1E1_1F54_6AF6_41B1_702592EBF408_2",
"class": "PhotoPlayListItem",
"camera": {
"duration": 5000,
"class": "MovementPhotoCamera",
"initialPosition": {
"x": "0.50",
"zoomFactor": 1,
"class": "PhotoCameraPosition",
"y": "0.50"
},
"easing": "linear",
"scaleMode": "fit_outside",
"targetPosition": {
"x": "0.29",
"zoomFactor": 1.1,
"class": "PhotoCameraPosition",
"y": "0.44"
}
}
},
{
"media": "this.album_046ED1E1_1F54_6AF6_41B1_702592EBF408_3",
"class": "PhotoPlayListItem",
"camera": {
"duration": 5000,
"class": "MovementPhotoCamera",
"initialPosition": {
"x": "0.50",
"zoomFactor": 1,
"class": "PhotoCameraPosition",
"y": "0.50"
},
"easing": "linear",
"scaleMode": "fit_outside",
"targetPosition": {
"x": "0.42",
"zoomFactor": 1.1,
"class": "PhotoCameraPosition",
"y": "0.34"
}
}
}
],
"id": "album_046ED1E1_1F54_6AF6_41B1_702592EBF408_AlbumPlayList",
"class": "PhotoPlayList"
}],
"scrollBarVisible": "rollOver",
"propagateClick": false,
"backgroundPreloadEnabled": true,
"overflow": "hidden",
"defaultVRPointer": "laser",
"height": "100%",
"scrollBarMargin": 2,
"paddingTop": 0,
"shadow": false,
"layout": "absolute",
"mobileMipmappingEnabled": false,
"data": {
"name": "Player464"
}
};
function HistoryData(playList) {
this.playList = playList;
this.list = [];
this.pointer = -1;
}
HistoryData.prototype.add = function(index){
if(this.pointer < this.list.length && this.list[this.pointer] == index) {
return;
}
++this.pointer;
this.list.splice(this.pointer, this.list.length - this.pointer, index);
};
HistoryData.prototype.back = function(){
if(!this.canBack()) return;
this.playList.set('selectedIndex', this.list[--this.pointer]);
};
HistoryData.prototype.forward = function(){
if(!this.canForward()) return;
this.playList.set('selectedIndex', this.list[++this.pointer]);
};
HistoryData.prototype.canBack = function(){
return this.pointer > 0;
};
HistoryData.prototype.canForward = function(){
return this.pointer >= 0 && this.pointer < this.list.length-1;
};
if(script.data == undefined)
script.data = {};
script.data["history"] = {};
TDV.PlayerAPI.defineScript(script);
})();