(function() { var embededObj; var EmbeddedVR = function() { return new EmbeddedVR.init(); }; EmbeddedVR.init = function() { this.currentScriptUrl = null; this.thumbnailUrl = 'https://irl-sec-theviewer-prod.s3-accelerate.amazonaws.com/theConstruct/02b2100e-2944-497c-af62-ec7e87490607/1a895a0b-9943-48e6-9c56-eefe0ebdb7c4?timestamp=2019-03-25T19:49:07.280Z'; this.galleryId = '02b2100e-2944-497c-af62-ec7e87490607'; this.options = { isFullScreenAvailable : true, isThumbnailAvailable : false, isShareNativeAvailable : true, isVrModeAvailable : true, isFloorPlanAvailable : true, isSharedExperienceAvailable : false, }; window.addEventListener("load", appendExternalScripts); } EmbeddedVR.prototype = { resolveVrView : function() { return this; }, showViewer : function() { setTimeout(function(){ var krpanoDiv = document.getElementById('krpanoViewerId'); if (!krpanoDiv) { EmbeddedVR.prototype.showViewer(); } else { krpanoDiv.classList.add('krpanoViewerTransition'); } },700); }, createThumbnail : function() { var wrapperThumbnail = document.createElement('div'); wrapperThumbnail.className = 'wrapperThumbnail'; var thumbnailDiv = document.createElement('img'); thumbnailDiv.id = 'thumbnail'; thumbnailDiv.className = 'thumbnailDiv'; thumbnailDiv.src = this.thumbnailUrl; thumbnailDiv.onclick = onClickThumbnail.bind(thumbnailDiv); wrapperThumbnail.appendChild(thumbnailDiv); this.parentDiv.appendChild(wrapperThumbnail); return this; }, getCurrentScript : function() { return this.currentScriptUrl; }, resolveCurrentScriptUrl : function() { this.parentDiv = document.currentScript.parentElement; this.currentScriptUrl = document.currentScript.src; this.currentScriptUrl = this.currentScriptUrl.substr(0, this.currentScriptUrl.lastIndexOf("/") + 1); return this; }, appendGtmIframe : function() { var iframe = document.createElement('iframe'); iframe.src = this.getCurrentScript() + 'embedJS?galleryId=02b2100e-2944-497c-af62-ec7e87490607&spaceId=theConstruct'; iframe.scrolling = "no"; iframe.frameborder = "0"; iframe.width = "1"; iframe.height = "1"; iframe.style.display = "none"; document.body.appendChild(iframe); } }; function onClickThumbnail(evt) { var krpanoDiv = document.getElementById('krpanoViewerId'); this.parentNode.removeChild(this); initializeViewer(); } function scriptExist(scriptId) { return !(!document.getElementById(scriptId)); } async function appendExternalScripts() { if (!scriptExist("theViewer-krpano")) { let krpanoScript = document.createElement('script'); krpanoScript.id = "theViewer-krpano"; krpanoScript.type = "text/javascript"; krpanoScript.async = true; krpanoScript.src = embededObj.getCurrentScript() +"html/theViewer/script/libs/krpano/krpano.js"; document.head.appendChild(krpanoScript); } if (!scriptExist("theViewer-shareEmbed")) { let requireScript = document.createElement('script'); requireScript.id = "theViewer-shareEmbed"; requireScript.type = "text/javascript"; requireScript.setAttribute('data-main', embededObj.getCurrentScript() + 'html/theViewer/script/req/shareEmbedRequires.js?timestamp=' + Date.now()); requireScript.async = true; requireScript.src = embededObj.getCurrentScript() + "html/theViewer/script/node_modules/requirejs/require.js?timestamp=" + Date.now(); document.head.appendChild(requireScript); } if (!scriptExist("theViewer-font")) { let link = document.createElement('link'); link.id = "theViewer-font"; link.rel = "stylesheet"; link.async = true; link.href = "https://fonts.googleapis.com/css?family=Roboto:100,300,400,700"; document.head.appendChild(link); } if (!scriptExist("theViewer-style")) { let link = document.createElement('link'); link.id = "theViewer-style"; link.rel = "stylesheet"; link.async = true; link.href = "https://fonts.googleapis.com/css?family=Roboto:100,300,400,700"; link.href = embededObj.getCurrentScript() + 'html/theViewer/css/embedViewer.css?timestamp=' + Date.now(); document.head.appendChild(link); } } if (!Array.isArray(window.mainShareFunction)) { window.mainShareFunction = []; } window.mainShareFunction.push((function(thev, thevProxy) { embededObj.krpanoViewer = thev; embededObj.theViewerProxy = thevProxy; if (!embededObj.options.isThumbnailAvailable) { initializeViewer(); } else { embededObj.createThumbnail(); } })); function initializeViewer() { requirejs(["app/utils"], function(utils) { utils.setUrlPrefix(embededObj.getCurrentScript()); requirejs(["app/shareEmbed", "social/socialCounters"], function(share, socialCounters) { window.theViewerAppVersion = 'v3.22'; var theViewerParams = window.theViewer || {}; theViewerParams.GalleryUnparsed = '{\"Id\":null,\"Name\":null,\"Description\":null,\"SpaceId\":null,\"ContentUrl\":null,\"ThumbnailId\":null,\"ThumbnailContentId\":null,\"ThumbnailMime\":null,\"ThumbnailTimestamp\":null,\"ThumbnailVersionId\":null,\"Galleries\":[{\"OrigId\":null,\"Name\":\"Canelones developed by Vitrium Capital \u00A9 Visualization by NQS\",\"Description\":null,\"ContentUrl\":\"https:\/\/irl-sec-theviewer-prod.s3-accelerate.amazonaws.com\/theConstruct\/\",\"SpaceName\":\"theConstruct\",\"SpaceType\":\"GroupSpace\",\"Order\":2675,\"Timestamp\":null,\"ThumbnailContent\":{\"Id\":\"1a895a0b-9943-48e6-9c56-eefe0ebdb7c4\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"agYTNFzw6CZznUt_hsjRkXwc.S8yoqZP\",\"Timestamp\":\"2019-03-25T19:49:07.280Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 01\",\"Size\":null},\"CustomSettings\":null,\"ExtendedView\":false,\"Archived\":false,\"MiniMap\":null,\"Bgm\":null,\"Panos\":[{\"OrigId\":null,\"Name\":\"nqs_vitrium_CANELONES_View 01.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"b1610666-efdf-45a0-8083-d5441d6af298\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"IixOkkWCam2tHtYc6capapaveW6yByeg\",\"Timestamp\":\"2019-04-09T15:08:04.024Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-b1610666-efdf-45a0-8083-d5441d6af298\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"W_Oa83uX2lIXyLWXUBWrBFvrCJpwwMYq\",\"Timestamp\":\"2019-04-09T15:08:03.979Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 01.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"a6b385c0-a429-45d2-8b6f-92d4ad834cd0\",\"OrigId\":null,\"Longitude\":-11.068083076341566,\"Latitude\":-3.494036330242544,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Hall\",\"DestinationId\":\"1f714392-ff37-4dfe-ac24-8bfb1614cbfa\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-04-09T15:08:04.024Z\",\"ContentVersionId\":\"IixOkkWCam2tHtYc6capapaveW6yByeg\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"b1610666-efdf-45a0-8083-d5441d6af298\",\"Id\":\"1a37ac43-5639-4c6e-8bed-33c9a70d738a\"},{\"OrigId\":null,\"Name\":\"nqs_vitrium_CANELONES_View 06.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"10c4f0d6-a080-47ca-a796-74566b6dd1c8\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"E8EpwGCC7JwQ1N2_y2IXZTosIxnzifaW\",\"Timestamp\":\"2019-03-25T19:50:04.530Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-10c4f0d6-a080-47ca-a796-74566b6dd1c8\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"soAho25GxsL9X4vj9bRWAb.9E_h9dTfY\",\"Timestamp\":\"2019-03-25T19:50:04.446Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 06.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"7ec92596-106e-4488-9085-32b6e9fee24b\",\"OrigId\":null,\"Longitude\":71.73630955479962,\"Latitude\":-27.69742354070778,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Ascensor\",\"DestinationId\":\"813cb4ef-4b99-49b7-9e4e-853ea65c35b7\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"a73e5ecd-1608-4a3e-97c6-6aff61c76570\",\"OrigId\":null,\"Longitude\":90.15321910146469,\"Latitude\":-3.9966689390168595,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Co - Living\",\"DestinationId\":\"91d4a669-adb3-4f8b-8f99-9d67be010a6b\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-03-25T19:50:04.530Z\",\"ContentVersionId\":\"E8EpwGCC7JwQ1N2_y2IXZTosIxnzifaW\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"10c4f0d6-a080-47ca-a796-74566b6dd1c8\",\"Id\":\"2a4b67ce-4492-455c-8c5c-377ed6930cf6\"},{\"OrigId\":null,\"Name\":\"nqs_vitrium_CANELONES_View 02.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"7c818daa-f671-4411-84ec-135d97aa1cf8\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"i4mrp8nBothWKCpu7ymwWmpNmqq9WC8Q\",\"Timestamp\":\"2019-03-25T19:49:22.134Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-7c818daa-f671-4411-84ec-135d97aa1cf8\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"7s6qgpLT9yRa.M42NM3qNzCdGd0Euymn\",\"Timestamp\":\"2019-03-25T19:49:22.071Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 02.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"ca528137-079d-49d6-aef7-4456a3cbf351\",\"OrigId\":null,\"Longitude\":115.35594254840919,\"Latitude\":-15.273447386396995,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Ascensor\",\"DestinationId\":\"813cb4ef-4b99-49b7-9e4e-853ea65c35b7\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"50edfb55-06eb-479d-9513-8642b733d804\",\"OrigId\":null,\"Longitude\":-4.7945279947931,\"Latitude\":-7.120502739546394,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Fachada\",\"DestinationId\":\"1a37ac43-5639-4c6e-8bed-33c9a70d738a\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-03-25T19:49:22.134Z\",\"ContentVersionId\":\"i4mrp8nBothWKCpu7ymwWmpNmqq9WC8Q\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"7c818daa-f671-4411-84ec-135d97aa1cf8\",\"Id\":\"1f714392-ff37-4dfe-ac24-8bfb1614cbfa\"},{\"OrigId\":null,\"Name\":\"nqs_vitrium_CANELONES_View 04.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"28d6c484-834a-4a5f-b174-14d062654b43\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"1LhxOKIuuBODmDslnkBEGW1MqjTyPJSH\",\"Timestamp\":\"2019-03-25T19:49:32.829Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-28d6c484-834a-4a5f-b174-14d062654b43\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"K81bQYF6xQz6VenhIt6JzUD3D9SMtoK_\",\"Timestamp\":\"2019-03-25T19:49:32.741Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 04.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"4ba66f5a-7d7e-4360-a836-2c6ed21786e7\",\"OrigId\":null,\"Longitude\":-102.59378166553398,\"Latitude\":-24.905594932234518,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Ascensor\",\"DestinationId\":\"813cb4ef-4b99-49b7-9e4e-853ea65c35b7\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"17a95602-91c6-48ac-b758-4e95c4a563db\",\"OrigId\":null,\"Longitude\":-125.68808713286214,\"Latitude\":-28.35209487538654,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Master Bedroom\",\"DestinationId\":\"48eca035-fa1f-48b6-8064-4dad35ae45ed\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-03-25T19:49:32.829Z\",\"ContentVersionId\":\"1LhxOKIuuBODmDslnkBEGW1MqjTyPJSH\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"28d6c484-834a-4a5f-b174-14d062654b43\",\"Id\":\"63779bb6-2a08-4ab0-9e8f-584c08cb9329\"},{\"OrigId\":null,\"Name\":\"nqs_v_CANELONES_View 03A.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"8b30fb0c-50bf-43b3-865a-dc08efeed341\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"iT7tmuxAVKN8WPXC9sHXZSv6CPkMIZWN\",\"Timestamp\":\"2019-03-25T19:50:20.714Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-8b30fb0c-50bf-43b3-865a-dc08efeed341\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"bXlRFj74AM4RG_5hVmDxju82Xt.CM3x_\",\"Timestamp\":\"2019-03-25T19:50:20.638Z\",\"OriginalName\":null,\"Name\":\"nqs_v_CANELONES_View 03A.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"80a1aac1-8b04-4140-8e11-9266b0979ffe\",\"OrigId\":null,\"Longitude\":42.76415219051859,\"Latitude\":-30.207563297041848,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Unidad\",\"DestinationId\":\"63779bb6-2a08-4ab0-9e8f-584c08cb9329\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"0cb2608e-5e61-48aa-bd3d-4adb942fc6bb\",\"OrigId\":null,\"Longitude\":42.806985130324506,\"Latitude\":-21.67816661819561,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Solarium\",\"DestinationId\":\"2a4b67ce-4492-455c-8c5c-377ed6930cf6\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"0a102e65-92d7-4717-b0c5-44ca4b92d7fb\",\"OrigId\":null,\"Longitude\":42.672069884034386,\"Latitude\":-13.99895862133367,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Co - Living\",\"DestinationId\":\"91d4a669-adb3-4f8b-8f99-9d67be010a6b\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"9afe2d56-ba06-408f-9ba3-175796bb6d13\",\"OrigId\":null,\"Longitude\":2.704789775958659,\"Latitude\":-19.081978533151513,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Hall\",\"DestinationId\":\"1f714392-ff37-4dfe-ac24-8bfb1614cbfa\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-03-25T19:50:20.714Z\",\"ContentVersionId\":\"iT7tmuxAVKN8WPXC9sHXZSv6CPkMIZWN\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"8b30fb0c-50bf-43b3-865a-dc08efeed341\",\"Id\":\"813cb4ef-4b99-49b7-9e4e-853ea65c35b7\"},{\"OrigId\":null,\"Name\":\"nqs_vitrium_CANELONES_View 07.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"1dc4c45a-1d76-4603-8fa0-807fb9138a1b\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"4TztHhsCEQ7JVL2dMGToksBcwfBaDrBJ\",\"Timestamp\":\"2019-03-25T19:50:32.866Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-1dc4c45a-1d76-4603-8fa0-807fb9138a1b\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"6l_co_qyAuLqEXs8QlBydNY.Mfn_wigC\",\"Timestamp\":\"2019-03-25T19:50:32.734Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 07.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"1b02649b-5b38-4c42-bb55-20647781f89a\",\"OrigId\":null,\"Longitude\":-82.28126602179759,\"Latitude\":-12.34838794188324,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Ascensor\",\"DestinationId\":\"813cb4ef-4b99-49b7-9e4e-853ea65c35b7\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"da15e913-a6b8-41da-92d1-db40954a6ad1\",\"OrigId\":null,\"Longitude\":-90.47634827385332,\"Latitude\":-3.647596731663342,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Solarium\",\"DestinationId\":\"2a4b67ce-4492-455c-8c5c-377ed6930cf6\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-03-25T19:50:32.866Z\",\"ContentVersionId\":\"4TztHhsCEQ7JVL2dMGToksBcwfBaDrBJ\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"1dc4c45a-1d76-4603-8fa0-807fb9138a1b\",\"Id\":\"91d4a669-adb3-4f8b-8f99-9d67be010a6b\"},{\"OrigId\":null,\"Name\":\"nqs_vitrium_CANELONES_View 05.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"8f3cf4aa-47b9-4690-9446-f4a2d14ee457\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"g1qOTFQ4PyDRIiw2kU5QGfLiKXM5H2Cv\",\"Timestamp\":\"2019-03-25T19:49:45.711Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalStereoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-8f3cf4aa-47b9-4690-9446-f4a2d14ee457\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"bM07STy1M6pKrwtX0CPVpzLZxaHjwzqY\",\"Timestamp\":\"2019-03-25T19:49:45.641Z\",\"OriginalName\":null,\"Name\":\"nqs_vitrium_CANELONES_View 05.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"30ff71eb-59df-4957-a45b-390e3ff8f846\",\"OrigId\":null,\"Longitude\":23.987767288599514,\"Latitude\":-20.606782416466416,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Ascensor\",\"DestinationId\":\"813cb4ef-4b99-49b7-9e4e-853ea65c35b7\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"5fc1e38a-ecf0-485b-bfa4-45518628c049\",\"OrigId\":null,\"Longitude\":25.16225115708835,\"Latitude\":-29.250311717236016,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Living\",\"DestinationId\":\"63779bb6-2a08-4ab0-9e8f-584c08cb9329\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null}],\"InfoSpots\":[{\"Id\":\"0927facd-294f-481f-94fc-f0d8038cafc6\",\"OrigId\":null,\"Longitude\":58.667929718819096,\"Latitude\":-61.40042069846994,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Title\":\"Info\",\"Description\":\"La unidad no inlcuye el placard espejado.\"}],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2019-03-25T19:49:45.711Z\",\"ContentVersionId\":\"g1qOTFQ4PyDRIiw2kU5QGfLiKXM5H2Cv\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"8f3cf4aa-47b9-4690-9446-f4a2d14ee457\",\"Id\":\"48eca035-fa1f-48b6-8064-4dad35ae45ed\"}],\"Videos\":[],\"ThumbnailVersionId\":\"agYTNFzw6CZznUt_hsjRkXwc.S8yoqZP\",\"ThumbnailTimestamp\":\"2019-03-25T19:49:07.280Z\",\"ThumbnailId\":\"1a895a0b-9943-48e6-9c56-eefe0ebdb7c4\",\"ThumbnailMime\":\"image\/jpeg\",\"ShareableType\":\"GALLERY\",\"Id\":\"02b2100e-2944-497c-af62-ec7e87490607\"}],\"Projects\":[],\"ExtendedView\":null,\"CustomSettings\":null,\"StatusCode\":0,\"Tier\":\"free\",\"UserInfo\":{\"Tier\":\"free\",\"TierLevel\":\"10\",\"Name\":\"thev.theconstruct@gmail.com\",\"Locale\":\"en\",\"RootSpaceId\":\"f0e53f05-d030-4dd8-9bb7-692272e1ccc1\",\"PhotonRegion\":\"eu\",\"Hash\":null,\"ProfileInfo\":{\"Id\":\"f0c6ca6c-b24e-45bb-9030-c21958fb4564\",\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/thev.theconstruct@gmail.com\/\",\"Logo\":null,\"SplashScreen\":null,\"SplashScreenPortrait\":null,\"LandingPano\":null,\"Warp\":null,\"Warp2\":null,\"FloorplanSpot\":null,\"InfoSpot\":null,\"Watermark\":null,\"ImageSpot\":null,\"VideoSpot\":null,\"FovMin\":\"90\",\"FovMax\":\"90\",\"Fov\":\"90\",\"Zoom\":false,\"Autorotate\":false,\"HeatmapActivated\":null,\"AnalyticsNativeActivated\":null,\"AnalyticsWebActivated\":null,\"SharedExpPerUser\":false,\"AllowVR\":false,\"SidePanel\":false,\"NavigatorAutoCenter\":false,\"TransitionAnimation\":\"BLEND(1, easeInCubic)\",\"InfoSpotWidth\":null,\"AutorotateDelay\":12,\"KeybRotateSpeed\":null,\"LikesActivated\":null,\"GeneralSpaceSettings\":{\"SortType\":null},\"Trial\":false},\"UserStatus\":\"ACTIVE\",\"PublicId\":\"theConstruct\",\"Email\":\"thev.theconstruct@gmail.com\",\"Organization\":false,\"MainOrganization\":{\"Code\":\"theConstruct\",\"Name\":\"theConstruct\",\"SpaceId\":\"f0e53f05-d030-4dd8-9bb7-692272e1ccc1\"},\"AllUserOrganizations\":null,\"UserFullName\":\"theV theConstruct\",\"Trial\":false},\"ShareableType\":\"PROJECT\"}'; theViewerParams.isSharedExperienceAvailable = embededObj.options.isSharedExperienceAvailable; theViewerParams.isFullScreenAvailable = embededObj.options.isFullScreenAvailable; theViewerParams.isVrModeAvailable = embededObj.options.isVrModeAvailable; if (embededObj.options.isShareNativeAvailable) { theViewerParams.SpaceId = 'theConstruct'; } if (embededObj.parentDiv.id === "") { embededObj.parentDiv.id = embededObj.galleryId; } var krpanoViewerObj = new embededObj.krpanoViewer(embededObj.parentDiv.id, 'krpano-' + utils.generateId(), embededObj.options); var krpanoViewerProxyObj = new embededObj.theViewerProxy(krpanoViewerObj); registerProxy(krpanoViewerObj, krpanoViewerProxyObj); share.runShare(theViewerParams, krpanoViewerObj, krpanoViewerProxyObj); embededObj.appendGtmIframe(); socialCounters.increaseViewCount(embededObj.galleryId, embededObj.getCurrentScript()); }); }); } function registerProxy(krpanoViewer, theVProxy) { if (!window.theViewerProxy) { var map = {}; theVProxy.krpanoViewer = krpanoViewer; map[krpanoViewer.krpanoId] = theVProxy; window.theViewerProxy = { map : map, get : function(id) { return function(mp) { thev = mp[id].krpanoViewer; return mp[id]; }(map); }, set : function(key, value) { this.map[key] = value; } } } else { theVProxy.krpanoViewer = krpanoViewer; window.theViewerProxy.set(krpanoViewer.krpanoId, theVProxy); } } window.fireEventIfConsentGiven = function (eventType, eventData, callback){ if(window.theViewer && window.theViewer.event && window.theViewer.event.fireEvent){ window.theViewer.event.fireEvent(eventType, eventData, callback); } if (typeof callback !== 'undefined'){ callback(); } } window.initDeferredViewerAnalytics = function(callback){ let eventRequireScript = document.createElement('script'); eventRequireScript.id = "theViewer-analytics"; eventRequireScript.async = true; eventRequireScript.src = embededObj.getCurrentScript() + 'html/theViewer/script/req/eventRequiresDeferred.js?buildTimestamp=' + Date.now(); document.head.appendChild(eventRequireScript); if (typeof callback !== 'undefined'){ callback(); } } window.initDeferredViewerAnalytics = function(callback){ let eventRequireScript = document.createElement('script'); eventRequireScript.id = "theViewer-analytics"; eventRequireScript.async = true; eventRequireScript.src = embededObj.getCurrentScript() + 'html/theViewer/script/req/eventRequiresDeferred.js?buildTimestamp=' + Date.now(); document.head.appendChild(eventRequireScript); if (typeof callback !== 'undefined'){ callback(); } } EmbeddedVR.init.prototype = EmbeddedVR.prototype; embededObj = EmbeddedVR(); embededObj .resolveCurrentScriptUrl(); })();