(function() { var embededObj; var EmbeddedVR = function() { return new EmbeddedVR.init(); }; EmbeddedVR.init = function() { this.currentScriptUrl = null; this.thumbnailUrl = 'https://irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com/nmrv.arch@gmail.com/16fe1bad-2d1f-48bf-a1be-9c240e06712f/51828b08-2c21-4ff7-91a4-6c43852b1fe2?timestamp=2023-10-12T19:38:26.228369801Z'; this.galleryId = '16fe1bad-2d1f-48bf-a1be-9c240e06712f'; 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=16fe1bad-2d1f-48bf-a1be-9c240e06712f&spaceId=e1cc612c-63d3-45d3-9f18-8be2619f5739'; 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\":\"Livin\'Tavira - Yellow House\",\"Description\":null,\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/nmrv.arch@gmail.com\/\",\"SpaceName\":\"nmrv.arch@gmail.com\",\"SpaceType\":\"UserSpace\",\"Order\":null,\"Timestamp\":\"2023-10-12T19:38:28.658935911Z\",\"ThumbnailContent\":{\"Id\":\"51828b08-2c21-4ff7-91a4-6c43852b1fe2\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"ExnQEASUITvrpJzMGQs9CKB55BpMKxk3\",\"Timestamp\":\"2023-10-12T19:38:26.228369801Z\",\"OriginalName\":null,\"Name\":\"ZONA_PISCINA_REV2_PREVIEW_copy.jpg\",\"Size\":null},\"CustomSettings\":null,\"ExtendedView\":null,\"Archived\":false,\"MiniMap\":null,\"Bgm\":[{\"OrigId\":null,\"Name\":\"Royalty_Free_Music_Elegant_Jazz_(getmp3.pro).mp3\",\"Volume\":1.0,\"FadeDuration\":2.5,\"LoopCount\":-1,\"Content\":{\"Id\":\"556919c6-ec84-4d5a-ad25-b57775a206c6.pro).mp3\",\"OrigId\":null,\"Type\":null,\"Mime\":\"audio\/mpeg\",\"VersionId\":null,\"Timestamp\":\"2023-10-12T19:29:46.285954364Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Timestamp\":\"2023-10-12T19:29:46.285954364Z\",\"ContentMime\":\"audio\/mpeg\",\"ContentId\":\"556919c6-ec84-4d5a-ad25-b57775a206c6.pro).mp3\",\"Id\":\"5222c025-346a-42c1-b46f-3bade5313062\"}],\"Panos\":[{\"OrigId\":null,\"Name\":\"SALA_FINAL.jpg\",\"LandingAngle\":89.6178343557489,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"566dc20a-a6d4-4664-b119-ed5c2926aa49\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"Ic32pRfsQSSXNE4f1mcmbFI.sqEn5qAD\",\"Timestamp\":\"2023-09-17T09:45:09.322378828Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"8e436aee-d68e-4d52-a052-f9527b4250b9\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"ysmpyGWgevI8aSGGccOdUU5q3lAEhp.D\",\"Timestamp\":\"2023-09-17T09:45:09.322369928Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-566dc20a-a6d4-4664-b119-ed5c2926aa49\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"CnpwaH91VyzZvMAyytSLfPDQyqRdzZHX\",\"Timestamp\":\"2023-09-17T09:45:00.450858688Z\",\"OriginalName\":null,\"Name\":\"SALA_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"7bfc1a1b-cf6e-4ff8-bb93-287e3c41b618\",\"OrigId\":null,\"Longitude\":130.4362764386807,\"Latitude\":-7.720915822537342,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Kitchen\",\"DestinationId\":\"f29668d8-79fa-4357-907a-37107cc6314b\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"f60d39f3-c4cc-46c8-b1aa-b7634ebfa00c\",\"OrigId\":null,\"Longitude\":-127.44000745318158,\"Latitude\":-0.11840069253583704,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Master bedroom\",\"DestinationId\":\"a74f76e7-2d79-4af8-a203-14ab52f18867\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"da144212-3575-4647-bdce-054a645e043f\",\"OrigId\":null,\"Longitude\":-127.53669074320507,\"Latitude\":-5.018972458753312,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"GUESTS BEDROOM\",\"DestinationId\":\"5c8174d4-733f-4996-b0c3-9416f6601b1a\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"8b5c68cd-2563-41ea-9c46-3a0967fe71d7\",\"OrigId\":null,\"Longitude\":91.34694256316263,\"Latitude\":-4.5748450555603375,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Balcony\",\"DestinationId\":\"d9c085a3-fc90-4518-8f0c-0e597e38e480\",\"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\":\"2023-09-17T09:45:09.322378828Z\",\"ContentVersionId\":\"Ic32pRfsQSSXNE4f1mcmbFI.sqEn5qAD\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"566dc20a-a6d4-4664-b119-ed5c2926aa49\",\"Id\":\"d4949504-e8d4-427a-a37e-7cd5c72484ba\"},{\"OrigId\":null,\"Name\":\"SALA_FINAL.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":\"512,640,1280,2560\",\"MultiresolutionPath\":\"%s\/l%l\/%v\/l%l_%s_%v_%h\",\"Content\":{\"Id\":\"26f021cb-3fca-4706-b93f-a3c69a6877b8\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"zwQ6nGt2D9qRxSfCOWYBS5fe2VbFj_5T\",\"Timestamp\":\"2023-09-17T09:47:29.209684772Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"0202e21b-cb46-4223-9a43-bccdac8a2f2d\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"FYz83lbrCDlG9pAxCkeFQfhifgOhOPwA\",\"Timestamp\":\"2023-09-17T09:47:29.209675622Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-26f021cb-3fca-4706-b93f-a3c69a6877b8\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"k9.F8v_fNNCrWVMrPQ53HdN.brcoQwZy\",\"Timestamp\":\"2023-09-17T09:47:23.675735227Z\",\"OriginalName\":null,\"Name\":\"SALA_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2023-09-17T09:47:29.209684772Z\",\"ContentVersionId\":\"zwQ6nGt2D9qRxSfCOWYBS5fe2VbFj_5T\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":true,\"ContentId\":\"26f021cb-3fca-4706-b93f-a3c69a6877b8\",\"Id\":\"2d78993c-7775-478b-b981-ed066f36b048\"},{\"OrigId\":null,\"Name\":\"GUESTS_EN-SUITE_FINAL.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"004d2ee8-c1fc-4ae2-9b4b-8bb83dd1f008\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"Z5bmbrk8YHxuw5XrAdPklDMeeAvrTh2m\",\"Timestamp\":\"2023-09-17T09:44:30.059076069Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"bf496775-ff35-4ccd-8e65-397f88d1fd07\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"NmDsuBuWQuO4Wib5LfyZ_ykK9olgu6AH\",\"Timestamp\":\"2023-09-17T09:44:30.059067919Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-004d2ee8-c1fc-4ae2-9b4b-8bb83dd1f008\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"ZKvVc_Yh5TyHnnoa0iY3CsItnUPUv5lP\",\"Timestamp\":\"2023-09-17T09:44:24.536283332Z\",\"OriginalName\":null,\"Name\":\"GUESTS_EN-SUITE_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[],\"InfoSpots\":[],\"SoundSpots\":[],\"MediaSpots\":[],\"AnimationSpots\":[],\"AnimationVideoSpots\":[],\"VideoSpots\":[],\"BoundingBoxes\":[],\"TransparentSpots\":[],\"TransparentPublicSpots\":[],\"DepthmapTransparentSpots\":[],\"CustomSettings\":null,\"AudioSettings\":{\"UseDefaults\":true,\"VideoAudio\":true,\"GalleryAudio\":true,\"PanoAudio\":true},\"Timestamp\":\"2023-09-17T09:44:30.059076069Z\",\"ContentVersionId\":\"Z5bmbrk8YHxuw5XrAdPklDMeeAvrTh2m\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"004d2ee8-c1fc-4ae2-9b4b-8bb83dd1f008\",\"Id\":\"6e866b86-8326-43b4-b551-69934194f73e\"},{\"OrigId\":null,\"Name\":\"GUESTS_FINAL.jpg\",\"LandingAngle\":50.680514465474424,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"0243da85-db91-4e70-83f6-814ade0bad1f\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"AGXrMh4M32QFjinMln9MXoziorGuswtN\",\"Timestamp\":\"2023-09-17T09:44:42.754177066Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"3f9a54f6-388e-408b-9f17-84f61b2a72ff\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"VepPXmQVHupb7S_5qPiVVuaw63f.rxSo\",\"Timestamp\":\"2023-09-17T09:44:42.754167485Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-0243da85-db91-4e70-83f6-814ade0bad1f\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"OK4PlCy5d_n_5TUYJkM0KXi1i_dFit5r\",\"Timestamp\":\"2023-09-17T09:44:37.301785922Z\",\"OriginalName\":null,\"Name\":\"GUESTS_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"ccec2cdf-ca89-4c66-94b5-5a1309649871\",\"OrigId\":null,\"Longitude\":178.6076966153356,\"Latitude\":-3.644036663055949,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Master bedrrom\",\"DestinationId\":\"a74f76e7-2d79-4af8-a203-14ab52f18867\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"5116a19e-8ace-4c46-afad-6408ea26564f\",\"OrigId\":null,\"Longitude\":-165.2463192465931,\"Latitude\":-3.365572669208197,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Living room\",\"DestinationId\":\"d4949504-e8d4-427a-a37e-7cd5c72484ba\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"14214afd-e140-4ff9-92ef-008d8caaa832\",\"OrigId\":null,\"Longitude\":-114.17840710417272,\"Latitude\":-12.167845802407015,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Guests En-suite\",\"DestinationId\":\"4436b4e4-752f-4246-ba13-98178535b38e\",\"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\":\"2023-09-17T09:44:42.754177066Z\",\"ContentVersionId\":\"AGXrMh4M32QFjinMln9MXoziorGuswtN\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"0243da85-db91-4e70-83f6-814ade0bad1f\",\"Id\":\"5c8174d4-733f-4996-b0c3-9416f6601b1a\"},{\"OrigId\":null,\"Name\":\"GUESTS_EN-SUITE_FINAL.jpg\",\"LandingAngle\":-71.55526090921965,\"MultiresolutionData\":\"512,640,1280,2560\",\"MultiresolutionPath\":\"%s\/l%l\/%v\/l%l_%s_%v_%h\",\"Content\":{\"Id\":\"2a0be2d2-dcb6-4559-8c11-20bc602c641f\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"Kng6cJY8B5IpsjWFJlcsvld4vh1QT3T4\",\"Timestamp\":\"2023-09-17T09:42:19.888881996Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"95337c05-8148-4b31-bc0a-0a068d7e8ed6\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"JrgvVd2goT_LoY8ueGUBijrhxSVOIXDU\",\"Timestamp\":\"2023-09-17T09:42:11.263405493Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-2a0be2d2-dcb6-4559-8c11-20bc602c641f\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"p_k.fGntQeSzc9HNGIJ0b1.Cx3I7XB.q\",\"Timestamp\":\"2023-09-17T09:41:53.825814794Z\",\"OriginalName\":null,\"Name\":\"GUESTS_EN-SUITE_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"da261c11-00e9-4b6c-92fa-dd14aae383ad\",\"OrigId\":null,\"Longitude\":170.61688622519466,\"Latitude\":-18.076856300370615,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"GUESTS BEDROOM\",\"DestinationId\":\"5c8174d4-733f-4996-b0c3-9416f6601b1a\",\"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\":\"2023-09-17T09:42:19.888881996Z\",\"ContentVersionId\":\"Kng6cJY8B5IpsjWFJlcsvld4vh1QT3T4\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":true,\"ContentId\":\"2a0be2d2-dcb6-4559-8c11-20bc602c641f\",\"Id\":\"4436b4e4-752f-4246-ba13-98178535b38e\"},{\"OrigId\":null,\"Name\":\"Varanda_2.jpg\",\"LandingAngle\":-52.18641732052939,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"3743fb12-a8ce-4a93-bcf9-d22d38a7dd9f\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"tux2K9HZBakO_n7a5gbT0bV.Rgxbc91M\",\"Timestamp\":\"2023-09-17T09:45:15.882009899Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"9d2e6194-89d1-46dc-99b0-56dc0d739d44\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"SwK6h9CfhdxqcgOFqMUFNvqCwgkMg5Z6\",\"Timestamp\":\"2023-09-17T09:45:15.882001349Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-3743fb12-a8ce-4a93-bcf9-d22d38a7dd9f\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"tq_pFauvGfANihaTxVyt43yHbBIigw.y\",\"Timestamp\":\"2023-09-17T09:45:12.688443186Z\",\"OriginalName\":null,\"Name\":\"Varanda_2.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"02c3322d-c24c-4df2-a107-bf2ff96416a1\",\"OrigId\":null,\"Longitude\":80.75817747927152,\"Latitude\":-6.236551375417593,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Living room\",\"DestinationId\":\"d4949504-e8d4-427a-a37e-7cd5c72484ba\",\"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\":\"2023-09-17T09:45:15.882009899Z\",\"ContentVersionId\":\"tux2K9HZBakO_n7a5gbT0bV.Rgxbc91M\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"3743fb12-a8ce-4a93-bcf9-d22d38a7dd9f\",\"Id\":\"d9c085a3-fc90-4518-8f0c-0e597e38e480\"},{\"OrigId\":null,\"Name\":\"COZINHA_FINAL.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"da8a993b-01e1-418a-a23d-68e1a2a4684d\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"daa0mEowPAebNqlMBcayaIf4ZpNP54kl\",\"Timestamp\":\"2023-09-17T09:44:07.880007588Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"3d8edc27-b3de-4ef4-9b1b-3e093c4a4ee7\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"00rO3WEtnhKvtU2lmQh_57Y9UasvgRZH\",\"Timestamp\":\"2023-09-17T09:44:07.879998288Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-da8a993b-01e1-418a-a23d-68e1a2a4684d\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"t.7aau7Rbq07Gh_aHX5V5RGHS8n5cG3o\",\"Timestamp\":\"2023-09-17T09:44:02.060782542Z\",\"OriginalName\":null,\"Name\":\"COZINHA_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"b51e882c-19ae-4a8d-b212-4ef8066f5df6\",\"OrigId\":null,\"Longitude\":-29.378151869843805,\"Latitude\":-11.824054560447596,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Living room\",\"DestinationId\":\"d4949504-e8d4-427a-a37e-7cd5c72484ba\",\"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\":\"2023-09-17T09:44:07.880007588Z\",\"ContentVersionId\":\"daa0mEowPAebNqlMBcayaIf4ZpNP54kl\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"da8a993b-01e1-418a-a23d-68e1a2a4684d\",\"Id\":\"f29668d8-79fa-4357-907a-37107cc6314b\"},{\"OrigId\":null,\"Name\":\"EN-SUITE_MASTER_FINAL.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"2c3936c3-16d5-48c5-879b-39c4d80e3808\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"SFdujQ8NIhqjP3m3JVxBNtO01YCH0ppL\",\"Timestamp\":\"2023-09-17T09:44:19.042943894Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"3eac12e2-4b2e-4164-93b3-87bedffab43d\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"Ebp_fiaM9LqpOzsMqGrZn9D.NgXIhfiC\",\"Timestamp\":\"2023-09-17T09:44:19.042935003Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-2c3936c3-16d5-48c5-879b-39c4d80e3808\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"FD0CT5z2anYnn8b6zgt9hD1quGPXoEv5\",\"Timestamp\":\"2023-09-17T09:44:13.596365843Z\",\"OriginalName\":null,\"Name\":\"EN-SUITE_MASTER_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"d0bf052c-ea28-4a8a-ba5a-00bbca1ddbd4\",\"OrigId\":null,\"Longitude\":-178.16866507522434,\"Latitude\":-17.83871153873681,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Master bedroom\",\"DestinationId\":\"a74f76e7-2d79-4af8-a203-14ab52f18867\",\"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\":\"2023-09-17T09:44:19.042943894Z\",\"ContentVersionId\":\"SFdujQ8NIhqjP3m3JVxBNtO01YCH0ppL\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"2c3936c3-16d5-48c5-879b-39c4d80e3808\",\"Id\":\"7c0cf8c5-a053-4a96-bc37-e4346acf9af6\"},{\"OrigId\":null,\"Name\":\"MASTER_FINAL.jpg\",\"LandingAngle\":-48.02808108401149,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"07ba4761-eb43-47b8-a5d1-7cecfb587777\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"w_y1y6R1ADYW4SIEV.rWbs0iu4OBVvE9\",\"Timestamp\":\"2023-09-17T09:44:54.341589670Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8000,\"Order\":null,\"Thumbnail\":{\"Id\":\"03f51f08-585d-48f1-9d30-4795ca2fa574\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"Q4k7ciThJ8glpIi1zhpxr4tPtOI3gT6A\",\"Timestamp\":\"2023-09-17T09:44:54.341579049Z\",\"OriginalName\":null,\"Name\":\"Livin\'Tavira - Yellow House\",\"Size\":null},\"Preview\":{\"Id\":\"preview-07ba4761-eb43-47b8-a5d1-7cecfb587777\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"YmT5TlEmvW4GgExy.xjF0X.dacTHtajo\",\"Timestamp\":\"2023-09-17T09:44:48.596204155Z\",\"OriginalName\":null,\"Name\":\"MASTER_FINAL.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"4f3325fb-7dbd-4509-b905-9a4e2a3b44d2\",\"OrigId\":null,\"Longitude\":32.88029188102456,\"Latitude\":-7.204774803570743,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Master En-suite\",\"DestinationId\":\"7c0cf8c5-a053-4a96-bc37-e4346acf9af6\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"d5c6df7f-310f-4600-bd4e-ba400f4999c8\",\"OrigId\":null,\"Longitude\":166.98229184831825,\"Latitude\":-1.649415391354761,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Living room\",\"DestinationId\":\"d4949504-e8d4-427a-a37e-7cd5c72484ba\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"df036731-bb5f-473c-8d16-3b0b6c6ca001\",\"OrigId\":null,\"Longitude\":179.4111782508476,\"Latitude\":-1.0341290086520956,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Guests bedrrom\",\"DestinationId\":\"5c8174d4-733f-4996-b0c3-9416f6601b1a\",\"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\":\"2023-09-17T09:44:54.341589670Z\",\"ContentVersionId\":\"w_y1y6R1ADYW4SIEV.rWbs0iu4OBVvE9\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"07ba4761-eb43-47b8-a5d1-7cecfb587777\",\"Id\":\"a74f76e7-2d79-4af8-a203-14ab52f18867\"}],\"Videos\":[],\"ThumbnailVersionId\":\"ExnQEASUITvrpJzMGQs9CKB55BpMKxk3\",\"ThumbnailTimestamp\":\"2023-10-12T19:38:26.228369801Z\",\"ThumbnailId\":\"51828b08-2c21-4ff7-91a4-6c43852b1fe2\",\"ThumbnailMime\":\"image\/jpeg\",\"ShareableType\":\"GALLERY\",\"Id\":\"16fe1bad-2d1f-48bf-a1be-9c240e06712f\"}],\"Projects\":[],\"ExtendedView\":null,\"CustomSettings\":null,\"StatusCode\":0,\"Tier\":\"freelancer\",\"UserInfo\":{\"Tier\":\"freelancer\",\"TierLevel\":\"1000\",\"Name\":\"nmrv.arch@gmail.com\",\"Locale\":null,\"RootSpaceId\":\"53cc34cd-8705-4cef-8d44-de760e146573\",\"PhotonRegion\":\"eu\",\"Hash\":null,\"ProfileInfo\":{\"Id\":\"b8ff433e-8905-4111-a41a-4a60fb630f4b\",\"ContentUrl\":\"https:\/\/irl-sec-theviewer-stage-prod.s3-accelerate.amazonaws.com\/nmrv.arch@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\":\"30\",\"FovMax\":\"160\",\"Fov\":\"90\",\"Zoom\":true,\"Autorotate\":true,\"HeatmapActivated\":null,\"AnalyticsNativeActivated\":null,\"AnalyticsWebActivated\":null,\"SharedExpPerUser\":false,\"AllowVR\":false,\"SidePanel\":true,\"NavigatorAutoCenter\":true,\"TransitionAnimation\":\"BLEND(1, easeInCubic)\",\"InfoSpotWidth\":null,\"AutorotateDelay\":12,\"KeybRotateSpeed\":null,\"LikesActivated\":null,\"GeneralSpaceSettings\":{\"SortType\":null},\"Trial\":false},\"UserStatus\":\"ACTIVE\",\"PublicId\":\"e1cc612c-63d3-45d3-9f18-8be2619f5739\",\"Email\":\"nmrv.arch@gmail.com\",\"Organization\":false,\"MainOrganization\":{\"Code\":\"nmrv.arch@gmail.com\",\"Name\":\"nmrv.arch@gmail.com\",\"SpaceId\":\"53cc34cd-8705-4cef-8d44-de760e146573\"},\"AllUserOrganizations\":null,\"UserFullName\":\"nmrv.arch@gmail.com\",\"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 = 'e1cc612c-63d3-45d3-9f18-8be2619f5739'; } 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(); })();