(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/ac1e8019-571a-4d5c-b010-7d304ca01a15/d252f0c9-5f0a-4cd3-ad4b-81165ee3e214?timestamp=2019-02-04T14:49:47.139Z'; this.galleryId = 'ac1e8019-571a-4d5c-b010-7d304ca01a15'; 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=ac1e8019-571a-4d5c-b010-7d304ca01a15&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\":\"Olympia Marketing \u00A9 arsvisualis.\",\"Description\":null,\"ContentUrl\":\"https:\/\/irl-sec-theviewer-prod.s3-accelerate.amazonaws.com\/theConstruct\/\",\"SpaceName\":\"theConstruct\",\"SpaceType\":\"GroupSpace\",\"Order\":240,\"Timestamp\":null,\"ThumbnailContent\":{\"Id\":\"d252f0c9-5f0a-4cd3-ad4b-81165ee3e214\",\"OrigId\":null,\"Type\":\"IMAGE\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"mTTmWNi8LF6AmsAIHElMRyK1dWKdZjRu\",\"Timestamp\":\"2019-02-04T14:49:47.139Z\",\"OriginalName\":null,\"Name\":\"Olympia Marketing - Fully Rendered Updated\",\"Size\":null},\"CustomSettings\":null,\"ExtendedView\":false,\"Archived\":false,\"MiniMap\":null,\"Bgm\":null,\"Panos\":[{\"OrigId\":null,\"Name\":\"360_Olympia Way_05.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"9d934f00-af83-4105-9297-759ae2bb3e80\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"NPQ7Wh5RsB0wbGgsx9Rmq.ZZFCD1kPei\",\"Timestamp\":\"2019-03-01T13:26:58.967Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-9d934f00-af83-4105-9297-759ae2bb3e80\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"cE0QkYpJziDsoTSnyc3J.6CA7fGGBs7x\",\"Timestamp\":\"2019-03-01T13:26:58.900Z\",\"OriginalName\":null,\"Name\":\"360_Olympia Way_05.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"0efb8ccb-b87b-4465-8a72-1bebcd351169\",\"OrigId\":null,\"Longitude\":-1.0787921736970816,\"Latitude\":19.751077388735375,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Internal Garden\",\"DestinationId\":\"c7d9cd7a-0757-4697-a8a5-14d101e08007\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"f5bcc0dd-c37e-41d5-81cf-40a9c56bd69f\",\"OrigId\":null,\"Longitude\":-6.375424695115896,\"Latitude\":21.40163825497809,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Mezzanine\",\"DestinationId\":\"2ac76a50-5258-47b9-8313-a633fedf9c45\",\"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-01T13:26:58.967Z\",\"ContentVersionId\":\"NPQ7Wh5RsB0wbGgsx9Rmq.ZZFCD1kPei\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"9d934f00-af83-4105-9297-759ae2bb3e80\",\"Id\":\"b3a7242d-4318-4155-a89c-6fe6f303d7dc\"},{\"OrigId\":null,\"Name\":\"360_terrace_02.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"8c84652f-5cd8-484f-8fd5-123aca7be9d4\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"jDyVaCNd8KjxyeLKaQuhrT3VIvxi0q.O\",\"Timestamp\":\"2019-03-01T12:34:26.911Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-8c84652f-5cd8-484f-8fd5-123aca7be9d4\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"cb9FusObqpbhHLvptXSKf7U5iEPvC2Xp\",\"Timestamp\":\"2019-03-01T12:34:26.854Z\",\"OriginalName\":null,\"Name\":\"360_terrace_02.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"930377e0-be06-46e4-a954-30707027d82c\",\"OrigId\":null,\"Longitude\":-47.690013536841036,\"Latitude\":-12.286944443723042,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Olympia Square\",\"DestinationId\":\"82026625-54bd-4f94-be9d-00a6668317ed\",\"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-01T12:34:26.911Z\",\"ContentVersionId\":\"jDyVaCNd8KjxyeLKaQuhrT3VIvxi0q.O\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"8c84652f-5cd8-484f-8fd5-123aca7be9d4\",\"Id\":\"4d243aad-bd46-4014-ad48-a4b66767cb61\"},{\"OrigId\":null,\"Name\":\"360_Mezzanine_05.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"5d50204c-a773-417c-b8c9-36a1680c7d9b\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"9Ci6H3JzBa9XJtyycGOfm5qQ_eN8crNV\",\"Timestamp\":\"2019-03-01T11:35:47.080Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-5d50204c-a773-417c-b8c9-36a1680c7d9b\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"OJp3AxgcR339OfbvH_sp4ojp8EBwkovT\",\"Timestamp\":\"2019-03-01T11:35:47.028Z\",\"OriginalName\":null,\"Name\":\"360_Mezzanine_05.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"342829a9-4747-4cc9-906e-ea480b79e504\",\"OrigId\":null,\"Longitude\":8.729743733853184,\"Latitude\":-9.256846810676704,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Olympia Square\",\"DestinationId\":\"82026625-54bd-4f94-be9d-00a6668317ed\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"cc28792a-6c8a-4118-8525-65907bce86b6\",\"OrigId\":null,\"Longitude\":147.6250688923182,\"Latitude\":-24.41742757094406,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Olympia Way\",\"DestinationId\":\"b3a7242d-4318-4155-a89c-6fe6f303d7dc\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"5d83dc89-86b7-4cfc-9319-7eff588720af\",\"OrigId\":null,\"Longitude\":126.99730441727527,\"Latitude\":-31.02147342918165,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Internal Garden\",\"DestinationId\":\"c7d9cd7a-0757-4697-a8a5-14d101e08007\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"2aeb17a4-c3e2-4ac0-9b0c-19f9b414af63\",\"OrigId\":null,\"Longitude\":-20.09826063857929,\"Latitude\":32.931367797530314,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Terrace\",\"DestinationId\":\"4d243aad-bd46-4014-ad48-a4b66767cb61\",\"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-01T11:35:47.080Z\",\"ContentVersionId\":\"9Ci6H3JzBa9XJtyycGOfm5qQ_eN8crNV\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"5d50204c-a773-417c-b8c9-36a1680c7d9b\",\"Id\":\"2ac76a50-5258-47b9-8313-a633fedf9c45\"},{\"OrigId\":null,\"Name\":\"360_Outside lobby_05.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"4ee43e08-0c4b-4576-be8e-5de3d2673ff9\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"Zu9ppzxBwwwQ9O43ib3afd8VJqqhagHN\",\"Timestamp\":\"2019-03-01T11:53:11.856Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-4ee43e08-0c4b-4576-be8e-5de3d2673ff9\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"OtdE0qqMJ7yS3.S16ul60TupKNh_imOK\",\"Timestamp\":\"2019-03-01T11:53:11.791Z\",\"OriginalName\":null,\"Name\":\"360_Outside lobby_05.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"f96ed6ac-4913-4183-a165-1a9e3a6cf200\",\"OrigId\":null,\"Longitude\":-165.39701808885437,\"Latitude\":8.932927292334941,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Mezzanine\",\"DestinationId\":\"2ac76a50-5258-47b9-8313-a633fedf9c45\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"1fdb2d11-d6be-437a-9ef9-c684070fb87d\",\"OrigId\":null,\"Longitude\":178.01549295754353,\"Latitude\":-1.404891526071619,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Internal Garden\",\"DestinationId\":\"c7d9cd7a-0757-4697-a8a5-14d101e08007\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"1167872a-c531-4a72-80e2-3638d03e3322\",\"OrigId\":null,\"Longitude\":-62.872280992350795,\"Latitude\":43.72724233862026,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Terrace\",\"DestinationId\":\"4d243aad-bd46-4014-ad48-a4b66767cb61\",\"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-01T11:53:11.856Z\",\"ContentVersionId\":\"Zu9ppzxBwwwQ9O43ib3afd8VJqqhagHN\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"4ee43e08-0c4b-4576-be8e-5de3d2673ff9\",\"Id\":\"82026625-54bd-4f94-be9d-00a6668317ed\"},{\"OrigId\":null,\"Name\":\"360_Internal garden_06.jpg\",\"LandingAngle\":null,\"MultiresolutionData\":null,\"MultiresolutionPath\":null,\"Content\":{\"Id\":\"a663a7f3-d2e5-4e0c-aaeb-15405dfff43f\",\"OrigId\":null,\"Type\":null,\"Mime\":\"image\/jpeg\",\"VersionId\":\"GulQOloZZ8HlPWcK9oj_pD6QS0E7wt9v\",\"Timestamp\":\"2019-03-01T11:33:19.931Z\",\"OriginalName\":null,\"Name\":null,\"Size\":null},\"Type\":\"SphericalMonoStandard\",\"Resolution\":8192,\"Order\":null,\"Thumbnail\":null,\"Preview\":{\"Id\":\"preview-a663a7f3-d2e5-4e0c-aaeb-15405dfff43f\",\"OrigId\":null,\"Type\":\"PANO\",\"Mime\":\"image\/jpeg\",\"VersionId\":\"CePEI7bgGbu59bI5HtOVXy9ccPkPNkZL\",\"Timestamp\":\"2019-03-01T11:33:19.860Z\",\"OriginalName\":null,\"Name\":\"360_Internal garden_06.jpg\",\"Size\":null},\"Depthmap\":null,\"Bgm\":null,\"Warps\":[{\"Id\":\"be5176ac-0531-43fd-aec9-e3c6769ada00\",\"OrigId\":null,\"Longitude\":-41.5239350594473,\"Latitude\":29.50204863749111,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Mezzanine\",\"DestinationId\":\"2ac76a50-5258-47b9-8313-a633fedf9c45\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"fb0cccbb-9483-4471-935f-9203c6947311\",\"OrigId\":null,\"Longitude\":0.08973408876988742,\"Latitude\":-0.627030556076622,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Olympia Square\",\"DestinationId\":\"82026625-54bd-4f94-be9d-00a6668317ed\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"21b39d72-6b4c-4910-9c53-45cc74bc91e6\",\"OrigId\":null,\"Longitude\":-179.9648374885638,\"Latitude\":-11.124238804506136,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Olympia Way\",\"DestinationId\":\"b3a7242d-4318-4155-a89c-6fe6f303d7dc\",\"DestinationType\":\"Pano\",\"LandingAngle\":null,\"Style\":null},{\"Id\":\"46f6946f-2fb9-4566-b0cc-7d319bf0431a\",\"OrigId\":null,\"Longitude\":-23.474186415597842,\"Latitude\":33.061107654191346,\"Radius\":null,\"Size\":null,\"Icon\":null,\"Visible\":true,\"Rx\":null,\"Ry\":null,\"Rz\":null,\"Depth\":null,\"Name\":\"Terrace\",\"DestinationId\":\"4d243aad-bd46-4014-ad48-a4b66767cb61\",\"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-01T11:33:19.931Z\",\"ContentVersionId\":\"GulQOloZZ8HlPWcK9oj_pD6QS0E7wt9v\",\"ContentMime\":\"image\/jpeg\",\"Multiresolution\":false,\"ContentId\":\"a663a7f3-d2e5-4e0c-aaeb-15405dfff43f\",\"Id\":\"c7d9cd7a-0757-4697-a8a5-14d101e08007\"}],\"Videos\":[],\"ThumbnailVersionId\":\"mTTmWNi8LF6AmsAIHElMRyK1dWKdZjRu\",\"ThumbnailTimestamp\":\"2019-02-04T14:49:47.139Z\",\"ThumbnailId\":\"d252f0c9-5f0a-4cd3-ad4b-81165ee3e214\",\"ThumbnailMime\":\"image\/jpeg\",\"ShareableType\":\"GALLERY\",\"Id\":\"ac1e8019-571a-4d5c-b010-7d304ca01a15\"}],\"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(); })();