{"id":2155,"date":"2024-09-18T00:39:00","date_gmt":"2024-09-17T21:39:00","guid":{"rendered":"https:\/\/valeaariesului.ro\/alpinhub\/?p=2155"},"modified":"2026-09-14T18:36:28","modified_gmt":"2026-09-14T15:36:28","slug":"360-wpvr-panorama","status":"publish","type":"post","link":"https:\/\/valeaariesului.ro\/alpinhub\/360-wpvr-panorama\/","title":{"rendered":"360 WPVR Panorama"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Panorama Vulturese 2024<\/p>\n\n\n<style>#pano2156 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:100%; width: 100%; height: 600px; border-radius:0px; direction:ltr; \"><div id=\"pano22156\" class=\"pano-wrap pano-left pano22156\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer22156\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano2156\" class=\"pano-wrap pano-right pano2156\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer2156\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map2156\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"2156\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"2156\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano2156\">\n            #pano2156 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano2156 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano2156 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano2156 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano2156 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano2156 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano2156 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano2156.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano2156.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano2156.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano2156.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano2156 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano2156 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano2156 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano2156\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"HRB1oAF8\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"HRB1oAF8\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/valeaariesului.ro\\\/alpinhub\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/DJI_0626-exif.webp\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow2156;var panoshow22156;function initWPVRViewer2156() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer2156, 50); return; }panoshow2156 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow2156;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow2156 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow2156.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow2156.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer2156();var response_duplicate = [{\"panoid\":\"pano2156\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"HRB1oAF8\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"HRB1oAF8\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/valeaariesului.ro\\\/alpinhub\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/DJI_0626-exif.webp\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano2156 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow2156.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow2156.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow2156.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow2156.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano22156 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2156 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano22156 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano2156 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano2156\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls2156\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls2156\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow2156.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer2156 = null;\n                        var wpvrAutoRotateStopDelay2156 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate2156 = function () {\n                            clearTimeout(wpvrAutoRotateTimer2156);\n                            if (wpvrAutoRotateStopDelay2156 > 0) {\n                                wpvrAutoRotateTimer2156 = setTimeout(function () {\n                                    panoshow2156.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay2156);\n                            } else {\n                                wpvrAutoRotateTimer2156 = setTimeout(function () {\n                                    panoshow2156.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow2156.on(\"load\", wpvrScheduleAutoRotate2156);\n                        panoshow2156.on(\"scenechange\", wpvrScheduleAutoRotate2156);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot2156 = document.getElementById(\"pano2156\");\n            if (wpvrHotspotRoot2156) {\n                wpvrHotspotRoot2156.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_2156\",function() {\n                    jQuery(\"#explainer2156\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer2156\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano2156\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide(\"show-modal\");\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_2156\",function() {\n                jQuery(\"#wpvr-floor-map2156\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map2156\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols2156\").hide();\n                      jQuery(\"#pano2156 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl2156\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide2156 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols2156\",function() {\n\t\t            if (slide2156 == \"up\") {\n\t\t              jQuery(\".vrgctrl2156\").empty();\n\t\t              jQuery(\".vrgctrl2156\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide2156 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl2156\").empty();\n\t\t              jQuery(\".vrgctrl2156\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide2156 = \"up\";\n\t\t            }\n                    jQuery(\"#pano2156 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols2156\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols2156\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols2156\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano2156\") {\n                          jQuery(\"#pano2156\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano2156\").children(\".pnlm-ui\").remove();\n                          panoshow2156 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow2156;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow2156 }\n                          }));\n                          jQuery(\"#pano2156\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow2156.loadScene(\"HRB1oAF8\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano2156\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls2156\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls2156\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano2156\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano2156\").children(\".pnlm-ui\").remove();\n              panoshow2156 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow2156;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow2156 }\n              }));\n              setTimeout(function() {\n                      panoshow2156.loadScene(\"HRB1oAF8\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano2156\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls2156\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls2156\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano2156\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano2156 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano2156 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano2156\">\n            (function () {\n                var pano = document.getElementById(\"pano2156\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<div class=\"wp-block-stackable-divider stk-block-divider stk-block stk-93c7dc6\" data-block-id=\"93c7dc6\"><hr class=\"stk-block-divider__hr\"\/><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Panorama Cheile Aiudului 2023<\/p>\n\n\n<style>#pano2159 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:100%; width: 100%; height: 600px; border-radius:0px; direction:ltr; \"><div id=\"pano22159\" class=\"pano-wrap pano-left pano22159\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer22159\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano2159\" class=\"pano-wrap pano-right pano2159\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer2159\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map2159\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"2159\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"2159\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano2159\">\n            #pano2159 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano2159 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano2159 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano2159 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano2159 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano2159 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano2159 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano2159.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano2159.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano2159.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano2159.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano2159 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano2159 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano2159 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano2159\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"xs1fo0bv\",\"sceneFadeDuration\":\"0\"},\"scenes\":{\"xs1fo0bv\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/valeaariesului.ro\\\/alpinhub\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/DJI_0523-exif.webp\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow2159;var panoshow22159;function initWPVRViewer2159() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer2159, 50); return; }panoshow2159 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow2159;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow2159 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow2159.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow2159.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer2159();var response_duplicate = [{\"panoid\":\"pano2159\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"xs1fo0bv\",\"sceneFadeDuration\":\"0\"},\"scenes\":{\"xs1fo0bv\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/valeaariesului.ro\\\/alpinhub\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/DJI_0523-exif.webp\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot &#038;&#038; scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano2159 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow2159.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow2159.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow2159.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow2159.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano22159 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2159 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano22159 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano2159 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano2159\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls2159\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls2159\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow2159.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer2159 = null;\n                        var wpvrAutoRotateStopDelay2159 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate2159 = function () {\n                            clearTimeout(wpvrAutoRotateTimer2159);\n                            if (wpvrAutoRotateStopDelay2159 > 0) {\n                                wpvrAutoRotateTimer2159 = setTimeout(function () {\n                                    panoshow2159.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay2159);\n                            } else {\n                                wpvrAutoRotateTimer2159 = setTimeout(function () {\n                                    panoshow2159.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow2159.on(\"load\", wpvrScheduleAutoRotate2159);\n                        panoshow2159.on(\"scenechange\", wpvrScheduleAutoRotate2159);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot2159 = document.getElementById(\"pano2159\");\n            if (wpvrHotspotRoot2159) {\n                wpvrHotspotRoot2159.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_2159\",function() {\n                    jQuery(\"#explainer2159\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer2159\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano2159\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide(\"show-modal\");\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_2159\",function() {\n                jQuery(\"#wpvr-floor-map2159\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map2159\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols2159\").hide();\n                      jQuery(\"#pano2159 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl2159\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide2159 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols2159\",function() {\n\t\t            if (slide2159 == \"up\") {\n\t\t              jQuery(\".vrgctrl2159\").empty();\n\t\t              jQuery(\".vrgctrl2159\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide2159 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl2159\").empty();\n\t\t              jQuery(\".vrgctrl2159\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide2159 = \"up\";\n\t\t            }\n                    jQuery(\"#pano2159 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols2159\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols2159\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols2159\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano2159\") {\n                          jQuery(\"#pano2159\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano2159\").children(\".pnlm-ui\").remove();\n                          panoshow2159 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow2159;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow2159 }\n                          }));\n                          jQuery(\"#pano2159\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click to Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow2159.loadScene(\"xs1fo0bv\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano2159\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls2159\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls2159\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano2159\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano2159\").children(\".pnlm-ui\").remove();\n              panoshow2159 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow2159;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow2159 }\n              }));\n              setTimeout(function() {\n                      panoshow2159.loadScene(\"xs1fo0bv\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano2159\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls2159\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls2159\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano2159\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click to Load Panorama\")\n            jQuery(\"#pano2159 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano2159 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano2159\">\n            (function () {\n                var pano = document.getElementById(\"pano2159\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<div class=\"wp-block-stackable-divider stk-block-divider stk-block stk-00e712f\" data-block-id=\"00e712f\"><hr class=\"stk-block-divider__hr\"\/><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Panorama Valea Pietrele. Mun\u021bii Retezat.<\/p>\n\n\n<style>#pano2179 div.pnlm-orientation-button {\n                    display: none;\n                }\n            .wpvr-floor-map .floor-plan-pointer.add-pulse:before {\n                border: 17px solid #cca92c;\n            }\n            @-webkit-keyframes pulse {\n                0% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                }\n                70% {\n                    -webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                }\n                100% {\n                    -webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                }\n            }\n            @keyframes pulse {\n            0% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.7);\n            }\n            70% {\n                -moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);\n            }\n            100% {\n                -moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n                box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);\n            }\n        }<\/style><div id=\"master-container\" class=\"wpvr-master-container wpvr-cardboard \" style=\"max-width:100%; width: 100%; height: 600px; border-radius:0px; direction:ltr; \"><div id=\"pano22179\" class=\"pano-wrap pano-left pano22179\" style=\"width: 49%; border-radius:0px\"><div id=\"center-pointer22179\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano2179\" class=\"pano-wrap pano-right pano2179\" style=\"width: 100%; border-radius:0px;\"><div class=\"explainer\" id=\"explainer2179\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map2179\" style=\"display: none\"><span class=\"close-floor-map-plan\"><i class=\"fa fa-times\"><\/i><\/span><img decoding=\"async\" loading=\"lazy\" src=\"\"><\/div><div class=\"wpvr-hotspot-tweak-contents-wrapper\" style=\"display: none\"><i class=\"fa fa-times cross\" data-id=\"2179\"><\/i><div class=\"wpvr-hotspot-tweak-contents-flex\"><div class=\"wpvr-hotspot-tweak-contents\"><\/div><\/div><\/div><div class=\"custom-ifram-wrapper\" style=\"display: none;\"><i class=\"fa fa-times cross\" data-id=\"2179\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><style id=\"wpvr-scene-info-pano2179\">\n            #pano2179 .pnlm-panorama-info.wpvr-scene-info-row {\n                display: flex !important;\n                align-items: center !important;\n                justify-content: center !important;\n                gap: 10px !important;\n                box-sizing: border-box !important;\n                min-width: 0 !important;\n                overflow: hidden !important;\n                text-align: center !important;\n                z-index: 2147483647 !important;\n                -webkit-transform: translateZ(10000px) !important;\n                transform: translateZ(10000px) !important;\n            }\n\n            #pano2179 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(70% - 5px) !important;\n                width: auto !important;\n                margin: 0 !important;\n                padding: 0 !important;\n                display: block !important;\n                overflow: hidden !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano2179 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                flex: 0 1 auto !important;\n                min-width: 0 !important;\n                max-width: calc(30% - 5px) !important;\n                margin: 0 !important;\n                border-left: 1px solid rgba(255, 255, 255, 0.45) !important;\n                padding: 0 0 0 10px !important;\n                display: block !important;\n                overflow: hidden !important;\n                line-height: 1.2 !important;\n                text-overflow: ellipsis !important;\n                white-space: nowrap !important;\n            }\n\n            #pano2179 .pnlm-panorama-info .wpvr-author-label {\n                flex: none !important;\n                margin-right: 4px !important;\n                font-size: 10px !important;\n                font-weight: 700 !important;\n                letter-spacing: 0.06em !important;\n                opacity: 0.8 !important;\n                text-transform: uppercase !important;\n            }\n\n            #pano2179 .pnlm-panorama-info .pnlm-author-box a {\n                color: inherit !important;\n                text-decoration: underline !important;\n                text-underline-offset: 2px !important;\n            }\n\n            #pano2179 .pnlm-panorama-info.wpvr-has-title:not(.wpvr-has-author) .pnlm-title-box,\n            #pano2179 .pnlm-panorama-info.wpvr-has-author:not(.wpvr-has-title) .pnlm-author-box {\n                max-width: 100% !important;\n                border-left: 0 !important;\n                padding-left: 0 !important;\n            }\n\n            #pano2179.wpvr-layout-classic.wpvr-has-scene-info .scene-gallery.wpvr-gallery--classic {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 8px) !important;\n            }\n\n            #pano2179.wpvr-layout-classic.wpvr-has-scene-info .vrgcontrols {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 4px) !important;\n            }\n\n            #pano2179.wpvr-layout-classic.wpvr-has-scene-info .wpvr_slider_nav {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 15px) !important;\n            }\n\n            #pano2179.wpvr-layout-classic.wpvr-has-scene-info .controls {\n                bottom: calc(var(--wpvr-scene-info-height, 34px) + 6px) !important;\n            }\n\n            @media (max-width: 767px) {\n                #pano2179 .pnlm-panorama-info.wpvr-scene-info-row {\n                    gap: 7px !important;\n                    padding-right: 10px !important;\n                    padding-left: 10px !important;\n                }\n\n                #pano2179 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-title-box {\n                    max-width: calc(65% - 4px) !important;\n                }\n\n                #pano2179 .pnlm-panorama-info.wpvr-scene-info-row .pnlm-author-box {\n                    max-width: calc(35% - 4px) !important;\n                    padding-left: 7px !important;\n                }\n            }\n        <\/style>\n        \n\n\n<script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano2179\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":-0.5,\"autoRotateInactivityDelay\":2000,\"default\":{\"firstScene\":\"V4pKGXPS\",\"sceneFadeDuration\":\"0\"},\"scenes\":{\"V4pKGXPS\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/valeaariesului.ro\\\/alpinhub\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/360Pano-DJI_0961-Retezat-Pietrele.webp\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"Vf. Peleaga\",\"pitch\":\"9.6465057451047\",\"yaw\":\"120.22797893649\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"on\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"<p>Vf. Peleaga - Alt. 2509m.<\\\/p>\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"Vf. Retezat\",\"pitch\":\"8.9511216566955\",\"yaw\":\"-115.0025359969\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"on\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"<p>Vf. Retezat<\\\/p>\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"Bordul Tomi\",\"pitch\":\"-76.757156166289\",\"yaw\":\"-95.16593939483\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"on\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"<p>Bordul Tomi<\\\/p>\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx].type === \"info\") {    scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };} else if(scenehotspot[hIdx].type === \"scene\") {    scenehotspot[hIdx][\"clickHandlerArgs\"] = scenehotspot[hIdx][\"text\"] || \"\";}if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var panoshow2179;var panoshow22179;function initWPVRViewer2179() {if (typeof pannellum === \"undefined\" || typeof jQuery === \"undefined\") { setTimeout(initWPVRViewer2179, 50); return; }panoshow2179 = pannellum.viewer(response[0][\"panoid\"], scenes);\n            window.wpvrViewers = window.wpvrViewers || {};\n            window.wpvrViewers[response[0][\"panoid\"]] = panoshow2179;\n            document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                detail: { containerId: response[0][\"panoid\"], viewer: panoshow2179 }\n            }));\n        \n  \n        if(typeof wpvr_public === \"undefined\" || !wpvr_public.is_pro_active || !wpvr_public.is_license_active) {\n            panoshow2179.on(\"load\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n            \n            panoshow2179.on(\"scenechange\", function() {\n                jQuery(\".pnlm-panorama-info\").hide();\n                jQuery(\".pnlm-compass\").hide();\n            });\n        }}initWPVRViewer2179();var response_duplicate = [{\"panoid\":\"pano2179\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":false,\"draggable\":true,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"autoRotate\":false,\"autoRotateInactivityDelay\":2000,\"default\":{\"firstScene\":\"V4pKGXPS\",\"sceneFadeDuration\":\"0\"},\"scenes\":{\"V4pKGXPS\":{\"type\":\"equirectangular\",\"panorama\":\"https:\\\/\\\/valeaariesului.ro\\\/alpinhub\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/360Pano-DJI_0961-Retezat-Pietrele.webp\",\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"hotSpots\":[{\"text\":\"Vf. Peleaga\",\"pitch\":\"9.6465057451047\",\"yaw\":\"120.22797893649\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"on\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"<p>Vf. Peleaga - Alt. 2509m.<\\\/p>\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"Vf. Retezat\",\"pitch\":\"8.9511216566955\",\"yaw\":\"-115.0025359969\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"on\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"<p>Vf. Retezat<\\\/p>\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"},{\"text\":\"Bordul Tomi\",\"pitch\":\"-76.757156166289\",\"yaw\":\"-95.16593939483\",\"type\":\"info\",\"URL\":\"\",\"wpvr_url_open\":\"on\",\"clickHandlerArgs\":[],\"createTooltipArgs\":\"<p>Bordul Tomi<\\\/p>\",\"sceneId\":\"\",\"hotspot_type\":\"info\",\"hotspot_target\":\"notBlank\",\"hotspot_shape\":\"round\"}]}}}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var scId in scenedata) {if(!scenedata.hasOwnProperty(scId)) continue;var scenehotspot = scenedata[scId].hotSpots;if(scenehotspot && scenehotspot.length) {for(var hIdx = 0; hIdx < scenehotspot.length; hIdx++) {if(scenehotspot[hIdx][\"clickHandlerArgs\"] != \"\") {scenehotspot[hIdx][\"clickHandlerFunc\"] = function(div, args) { if (typeof window.wpvrhotspot === \"function\") { window.wpvrhotspot(div, args); } };}if(scenehotspot[hIdx][\"createTooltipArgs\"] != \"\") {scenehotspot[hIdx][\"createTooltipFunc\"] = function(div, args) { if (typeof window.wpvrtooltip === \"function\") { window.wpvrtooltip(div, args); } };}}}}}var vr_mode = \"off\";jQuery(\"#pano2179 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow2179.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow2179.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow2179.on(\"compasschange\", function (data){\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow2179.on(\"load\", function (){\n            \/\/ if(localStorage.getItem(\"vr_mode\") == \"off\") {\n            if(vr_mode == \"off\") {\n                  jQuery(\".vr-mode-title\").hide();\n                } else {\n                jQuery(\"#pano22179 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2179 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano22179 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano2179 .pnlm-panorama-info\").hide();\n                jQuery(\".vr-mode-title\").show();\n             }\n            setTimeout(() => {\n                window.dispatchEvent(new Event(\"resize\"));\n            }, 200);\n\t\t\t\t\t\tif (jQuery(\"#pano2179\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls2179\").css(\"bottom\", \"80px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls2179\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow2179.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n                        var wpvrAutoRotateTimer2179 = null;\n                        var wpvrAutoRotateStopDelay2179 = parseInt(scenes.autoRotateStopDelay, 10) || 0;\n                        var wpvrScheduleAutoRotate2179 = function () {\n                            clearTimeout(wpvrAutoRotateTimer2179);\n                            if (wpvrAutoRotateStopDelay2179 > 0) {\n                                wpvrAutoRotateTimer2179 = setTimeout(function () {\n                                    panoshow2179.stopAutoRotate();\n                                }, wpvrAutoRotateStopDelay2179);\n                            } else {\n                                wpvrAutoRotateTimer2179 = setTimeout(function () {\n                                    panoshow2179.startAutoRotate(scenes.autoRotate, 0);\n                                }, 3000);\n                            }\n                        };\n                        panoshow2179.on(\"load\", wpvrScheduleAutoRotate2179);\n                        panoshow2179.on(\"scenechange\", wpvrScheduleAutoRotate2179);\n                    }var touchtime = 0;\n            var wpvrHotspotRoot2179 = document.getElementById(\"pano2179\");\n            if (wpvrHotspotRoot2179) {\n                wpvrHotspotRoot2179.addEventListener(\"click\", function (event) {\n                    var hotspot = event.target.closest(\".pnlm-hotspot-base\");\n\n                    if (!hotspot) {\n                        return;\n                    }\n\n                    var hotspotLink = hotspot.closest(\"a[href]\");\n                    if (!hotspotLink) {\n                        hotspotLink = hotspot.querySelector(\"a[href]\");\n                    }\n\n                    if (!hotspotLink) {\n                        return;\n                    }\n\n                    event.preventDefault();\n                    event.stopImmediatePropagation();\n\n                    if ((hotspotLink.getAttribute(\"target\") || \"_blank\") === \"_self\") {\n                        window.location.assign(hotspotLink.href);\n                    } else {\n                        window.open(hotspotLink.href, \"_blank\", \"noopener,noreferrer\");\n                    }\n                }, true);\n            }\n        jQuery(document).on(\"click\",\"#explainer_button_2179\",function() {\n                    jQuery(\"#explainer2179\").slideToggle(function(){\n                    var $explainerVideoId = jQuery(\"#explainer2179\");\n                    var $explainerVideoIframe = $explainerVideoId.find(\"iframe\");\n                    var explainerVideoIframSrc = $explainerVideoIframe.attr(\"src\");\n                    $explainerVideoIframe.attr(\"src\", \"\");\n                    $explainerVideoIframe.attr(\"src\", explainerVideoIframSrc);\n        });\n            });\n            jQuery(document).on(\"click\", \".close-explainer-video\", function() {\n              var $explainer = jQuery(this).parent(\".explainer\");\n              var $iframe = $explainer.find(\"iframe\");\n              var el_src = $iframe.attr(\"src\");\n              $iframe.attr(\"src\", \"\");\n              $explainer.hide();\n              $iframe.attr(\"src\", el_src);\n            });\n      jQuery(document).on(\"click\",\"#pano2179\",function(event) {\n        var isActiveModal = event.target.closest(\".custom-ifram-wrapper\");\n        var isForm = event.target.closest(\".wpvr-hotspot-tweak-contents\");\n        var isHotspot = event.target.closest(\".pnlm-hotspot-base\");\n        if(isForm != null){\n            jQuery(this).addClass(\"show-modal\");\n        }else if(isActiveModal == null){\n            if(isHotspot == null){\n                jQuery(\".custom-ifram-wrapper .custom-ifram\").empty();\n                jQuery(\".custom-ifram-wrapper\").hide();\n                jQuery(this).removeClass(\"show-modal\");\n                jQuery(\".wpvr-hotspot-tweak-contents-wrapper\").hide(\"show-modal\");\n            }\n        }\n      });jQuery(document).on(\"click\",\"#floor_map_button_2179\",function() {\n                jQuery(\"#wpvr-floor-map2179\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map2179\",function(){\n                jQuery(this).addClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").addClass(\"show-modal\");\n              });\n              jQuery(document).on(\"click\",\".close-floor-map-plan\",function() {\n                jQuery(this).parent(\".wpvr-floor-map\").hide();\n                jQuery(this).parent(\".wpvr-floor-map\").removeClass(\"fullwindow\");\n                jQuery(this).parents(\".pano-wrap\").removeClass(\"show-modal\");\n              });jQuery(document).ready(function($){\n\t\t              jQuery(\"#sccontrols2179\").hide();\n                      jQuery(\"#pano2179 .wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl2179\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide2179 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols2179\",function() {\n\t\t            if (slide2179 == \"up\") {\n\t\t              jQuery(\".vrgctrl2179\").empty();\n\t\t              jQuery(\".vrgctrl2179\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide2179 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl2179\").empty();\n\t\t              jQuery(\".vrgctrl2179\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide2179 = \"up\";\n\t\t            }\n                    jQuery(\"#pano2179 .wpvr_slider_nav\").slideToggle(); \n                    jQuery(\"#sccontrols2179\").slideToggle(function(){\n                        if (jQuery(\".elementor-edit-mode .elementor-widget-container\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                                jQuery(\".elementor-edit-mode  .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols2179\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\",\n                                    \"gap\": \"15px\"\n                                });\n                            }\n                        }\n                        if (jQuery(\".bricks-is-frontend\").length) {\n                            if (jQuery(this).is(\":visible\")) {\n                            jQuery(\".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols2179\").css({\n                                    \"display\": \"flex\",\n                                    \"justify-content\": \"center\",\n                                    \"align-items\": \"center\"\n                                });\n                            }\n                        }              \n                    });\n          });jQuery(\".elementor-tab-title\").click(function(){\n                      var element_id;\n                      var pano_id;\n                      var element_id = this.id;\n                      element_id = element_id.split(\"-\");\n                      element_id = element_id[3];\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).addClass(\"awwww\");\n                      var pano_id = jQuery(\".awwww\").attr(\"id\");\n                      jQuery(\"#elementor-tab-content-\"+element_id).find(\"#master-container\").children(\"div\").eq(1).removeClass(\"awwww\");;\n                      if (pano_id != undefined) {\n                        if (pano_id == \"pano2179\") {\n                          jQuery(\"#pano2179\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano2179\").children(\".pnlm-ui\").remove();\n                          panoshow2179 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          window.wpvrViewers = window.wpvrViewers || {};\n                          window.wpvrViewers[response[0][\"panoid\"]] = panoshow2179;\n                          document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                              detail: { containerId: response[0][\"panoid\"], viewer: panoshow2179 }\n                          }));\n                          jQuery(\"#pano2179\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow2179.loadScene(\"V4pKGXPS\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano2179\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls2179\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls2179\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano2179\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano2179\").children(\".pnlm-ui\").remove();\n              panoshow2179 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              window.wpvrViewers = window.wpvrViewers || {};\n              window.wpvrViewers[response[0][\"panoid\"]] = panoshow2179;\n              document.dispatchEvent(new CustomEvent(\"wpvr:viewer-ready\", {\n                  detail: { containerId: response[0][\"panoid\"], viewer: panoshow2179 }\n              }));\n              setTimeout(function() {\n                      panoshow2179.loadScene(\"V4pKGXPS\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano2179\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls2179\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls2179\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });\n            jQuery(\"#pano2179\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click To Load Panorama\")\n            jQuery(\"#pano2179 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano2179 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n<script id=\"wpvr-scene-info-script-pano2179\">\n            (function () {\n                var pano = document.getElementById(\"pano2179\");\n                var byLabel = \"By\";\n\n                if (!pano || !window.MutationObserver) {\n                    return;\n                }\n\n                function addAuthorLabel(author) {\n                    if (!author || !author.textContent.trim() || author.querySelector(\".wpvr-author-label\")) {\n                        return;\n                    }\n\n                    var firstNode = author.firstChild;\n                    if (firstNode ? firstNode.nodeType === 3 : false) {\n                        var prefix = byLabel + \" \";\n                        if (firstNode.nodeValue.indexOf(prefix) === 0) {\n                            firstNode.nodeValue = firstNode.nodeValue.slice(prefix.length);\n                        }\n                    }\n\n                    var label = document.createElement(\"span\");\n                    label.className = \"wpvr-author-label\";\n                    label.textContent = byLabel;\n                    author.insertBefore(label, author.firstChild);\n                }\n\n                function syncSceneInfo() {\n                    var info = pano.querySelector(\".pnlm-panorama-info\");\n                    if (!info) {\n                        return;\n                    }\n\n                    \/\/ Keep the Pannellum full-screen drag layer in its original\n                    \/\/ stacking order so hotspots remain clickable. Promote only\n                    \/\/ the compact metadata bar to the tour root instead.\n                    if (info.parentNode !== pano) {\n                        pano.appendChild(info);\n                    }\n\n                    var title = info.querySelector(\".pnlm-title-box\");\n                    var author = info.querySelector(\".pnlm-author-box\");\n                    var hasTitle = Boolean(title ? title.textContent.trim() : false);\n                    var hasAuthor = Boolean(author ? author.textContent.trim() : false);\n\n                    if (hasTitle) {\n                        title.setAttribute(\"title\", title.textContent.trim());\n                    } else if (title) {\n                        title.removeAttribute(\"title\");\n                    }\n\n                    if (hasAuthor) {\n                        addAuthorLabel(author);\n                        var authorName = author.textContent.replace(byLabel, \"\").trim();\n                        author.setAttribute(\"aria-label\", byLabel + \" \" + authorName);\n                        author.setAttribute(\"title\", authorName);\n                    } else if (author) {\n                        author.removeAttribute(\"aria-label\");\n                        author.removeAttribute(\"title\");\n                    }\n\n                    info.classList.toggle(\"wpvr-scene-info-row\", hasTitle || hasAuthor);\n                    info.classList.toggle(\"wpvr-has-title\", hasTitle);\n                    info.classList.toggle(\"wpvr-has-author\", hasAuthor);\n                    info.style.display = hasTitle || hasAuthor ? \"flex\" : \"none\";\n\n                    var hasSceneInfo = hasTitle || hasAuthor;\n                    var isClassicLayout = true;\n                    pano.classList.toggle(\"wpvr-has-scene-info\", hasSceneInfo);\n                    pano.classList.toggle(\"wpvr-layout-classic\", isClassicLayout);\n\n                    if (hasSceneInfo) {\n                        pano.style.setProperty(\"--wpvr-scene-info-height\", info.offsetHeight + \"px\");\n                    } else {\n                        pano.style.removeProperty(\"--wpvr-scene-info-height\");\n                    }\n                }\n\n                var observer = new MutationObserver(syncSceneInfo);\n                observer.observe(pano, { childList: true, subtree: true, characterData: true });\n                syncSceneInfo();\n            }());\n        <\/script>\n\n\n<div class=\"wp-block-stackable-divider stk-block-divider stk-block stk-315c684\" data-block-id=\"315c684\"><hr class=\"stk-block-divider__hr\"\/><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Vezi mai multe panorame aerial, 360, in album: <a href=\"https:\/\/photos.app.goo.gl\/ZLWZFDV57o65proN8\" target=\"_blank\" rel=\"noopener\">360 Panorama (Google Photos)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Panorama Vulturese 2024 Panorama Cheile Aiudului 2023 Panorama Valea Pietrele. Mun\u021bii Retezat. Vezi mai multe panorame aerial, 360, in album: 360 Panorama (Google Photos)<\/p>\n","protected":false},"author":1,"featured_media":2157,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-2155","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-foto"],"blocksy_meta":{"disable_featured_image":"yes","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/posts\/2155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/comments?post=2155"}],"version-history":[{"count":11,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/posts\/2155\/revisions"}],"predecessor-version":[{"id":2328,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/posts\/2155\/revisions\/2328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/media\/2157"}],"wp:attachment":[{"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/media?parent=2155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/categories?post=2155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/valeaariesului.ro\/alpinhub\/wp-json\/wp\/v2\/tags?post=2155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}