{"id":422,"date":"2020-03-04T17:44:18","date_gmt":"2020-03-04T17:44:18","guid":{"rendered":"http:\/\/discotecanick.com\/?page_id=422"},"modified":"2020-03-14T17:54:16","modified_gmt":"2020-03-14T17:54:16","slug":"tourrrr","status":"publish","type":"page","link":"https:\/\/discotecanick.com\/?page_id=422","title":{"rendered":"BILLAR"},"content":{"rendered":"<style>#pano425 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-cardboard \" style=\"max-width:600px; width: 100%; height: 400px; border-radius:; direction:ltr; \"><div id=\"pano2425\" class=\"pano-wrap pano-left\" style=\"width: 49%; border-radius:\"><div id=\"center-pointer2425\" class=\"vr-pointer-container\"><span class=\"center-pointer\"><\/span><\/div><\/div><div id=\"pano425\" class=\"pano-wrap pano-right\" style=\"width: 100%;\"><div class=\"explainer\" id=\"explainer425\" style=\"display: none\"><span class=\"close-explainer-video\"><i class=\"fa fa-times\"><\/i><\/span><\/div><div class=\"wpvr-floor-map\" id=\"wpvr-floor-map425\" 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=\"425\"><\/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=\"425\"><\/i><div class=\"custom-ifram-flex\"><div class=\"custom-ifram\"><\/div><\/div><\/div><\/div><\/div><script>(function ($) {jQuery(document).ready(function() {var response = [{\"panoid\":\"pano425\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":false,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"1\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"1\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/discotecanick.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/sala2-red-scaled.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i].type === \"info\") {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;} else if(scenehotspot[i].type === \"scene\") {    scenehotspot[i][\"clickHandlerArgs\"] = scenehotspot[i][\"text\"];if(wpvr_public.is_pro_active) {    scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspotscene;}}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var panoshow425 = pannellum.viewer(response[0][\"panoid\"], scenes);var response_duplicate = [{\"panoid\":\"pano425\"},{\"autoLoad\":true,\"showControls\":true,\"orientationSupport\":\"false\",\"compass\":false,\"orientationOnByDefault\":false,\"mouseZoom\":true,\"draggable\":false,\"disableKeyboardCtrl\":false,\"keyboardZoom\":true,\"preview\":\"\",\"default\":{\"firstScene\":\"1\",\"sceneFadeDuration\":\"\"},\"scenes\":{\"1\":{\"type\":\"equirectangular\",\"panorama\":\"http:\\\/\\\/discotecanick.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/sala2-red-scaled.jpg\",\"pitch\":null,\"yaw\":null,\"hfov\":100,\"maxHfov\":120,\"minHfov\":50,\"vaov\":180,\"haov\":360,\"hotSpots\":[]}},\"autoRotate\":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i][\"clickHandlerArgs\"] != \"\") {scenehotspot[i][\"clickHandlerFunc\"] = wpvrhotspot;}if(scenehotspot[i][\"createTooltipArgs\"] != \"\") {scenehotspot[i][\"createTooltipFunc\"] = wpvrtooltip;}}}}var vr_mode = \"off\";jQuery(\"#pano425 .wpvr-floor-map .floor-plan-pointer\").on(\"click\",function(){\n           var scene_id = jQuery(this).attr(\"scene_id\");\n           panoshow425.loadScene(scene_id)\n           jQuery(\".floor-plan-pointer\").removeClass(\"add-pulse\")\n           jQuery(this).addClass(\"add-pulse\")\n        });panoshow425.on(\"mousemove\", function (data){\n            jQuery(\".add-pulse\").css({\"transform\":\"rotate(\"+data.yaw+\"deg)\"});\n        });\n    const node = document.querySelector(\".add-pulse\");\n        panoshow425.on(\"compasschange\", function (data){\n            console.log(data);\n            \/\/ const node = document.querySelector(\".add-pulse\");\n            \/\/ node.style.transform = data;\n            \/\/ jQuery(\".add-pulse\").css({\"transform\":data});\n            });panoshow425.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(\"#pano2425 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano425 .pnlm-compass.pnlm-controls.pnlm-control\").css(\"display\",\"none\");\n                jQuery(\"#pano2425 .pnlm-panorama-info\").hide();\n                jQuery(\"#pano425 .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(\"#pano425\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n\t               jQuery(\"#controls425\").css(\"bottom\", \"55px\");\n\t           }\n\t           else {\n\t             jQuery(\"#controls425\").css(\"bottom\", \"5px\");\n\t           }\n\t\t\t\t\t});panoshow425.on(\"render\", function (){\n              window.dispatchEvent(new Event(\"resize\"));\n            });if (scenes.autoRotate) {\n\t\t\t\t\t\tpanoshow425.on(\"load\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow425.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpanoshow425.on(\"scenechange\", function (){\n\t\t\t\t\t\t setTimeout(function(){ panoshow425.startAutoRotate(scenes.autoRotate, 0); }, 3000);\n\t\t\t\t\t\t});\n\t\t\t\t\t}var touchtime = 0;jQuery(document).on(\"click\",\"#explainer_button_425\",function() {\n                jQuery(\"#explainer425\").slideToggle();\n            });\n            jQuery(document).on(\"click\",\".close-explainer-video\",function() {\n                jQuery(this).parent(\".explainer\").hide();\n                var el_src = jQuery(\".vr-iframe\").attr(\"src\");\n                jQuery(\".vr-iframe\").attr(\"src\", el_src);\n              });jQuery(document).on(\"click\",\"#floor_map_button_425\",function() {\n                jQuery(\"#wpvr-floor-map425\").toggle().removeClass(\"fullwindow\");\n              });\n              jQuery(document).on(\"dblclick\",\"#wpvr-floor-map425\",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(\"#sccontrols425\").hide();\n                      jQuery(\".wpvr_slider_nav\").hide();\n\t\t              jQuery(\".vrgctrl425\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t          });var slide425 = \"down\";\n\t\t          jQuery(document).on(\"click\",\"#vrgcontrols425\",function() {\n\t\t            if (slide425 == \"up\") {\n\t\t              jQuery(\".vrgctrl425\").empty();\n\t\t              jQuery(\".vrgctrl425\").html('<i class=\"fa fa-angle-up\"><\/i>');\n\t\t              slide425 = \"down\";\n\t\t            }\n\t\t            else {\n\t\t              jQuery(\".vrgctrl425\").empty();\n\t\t              jQuery(\".vrgctrl425\").html('<i class=\"fa fa-angle-down\"><\/i>');\n\t\t              slide425 = \"up\";\n\t\t            }\n                    jQuery(\".wpvr_slider_nav\").slideToggle(); \n\t\t            jQuery(\"#sccontrols425\").slideToggle();\n\t\t          });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                        pano_id = pano_id.split(\"o\");\n                        pano_id = pano_id[1];\n                        if (pano_id == \"425\") {\n                          jQuery(\"#pano425\").children(\".pnlm-render-container\").remove();\n                          jQuery(\"#pano425\").children(\".pnlm-ui\").remove();\n                          panoshow425 = pannellum.viewer(response[0][\"panoid\"], scenes);\n                          jQuery(\"#pano425\").children(\".pnlm-ui\").find(\".pnlm-load-button p\").text(\"Click to Load Panorama\")\n                          setTimeout(function() {\n                                \/\/   panoshow425.loadScene(\"1\");\n                                  window.dispatchEvent(new Event(\"resize\"));\n                                  if (jQuery(\"#pano425\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                                       jQuery(\"#controls425\").css(\"bottom\", \"55px\");\n                                   } else {\n                                     jQuery(\"#controls425\").css(\"bottom\", \"5px\");\n                                   }\n                          }, 200);\n                        }\n                      }\n            });jQuery(\".geodir-tab-head dd, #vr-tour-tab\").click(function(){\n              jQuery(\"#pano425\").children(\".pnlm-render-container\").remove();\n              jQuery(\"#pano425\").children(\".pnlm-ui\").remove();\n              panoshow425 = pannellum.viewer(response[0][\"panoid\"], scenes);\n              setTimeout(function() {\n                      panoshow425.loadScene(\"1\");\n                      window.dispatchEvent(new Event(\"resize\"));\n                      if (jQuery(\"#pano425\").children().children(\".pnlm-panorama-info:visible\").length > 0) {\n                           jQuery(\"#controls425\").css(\"bottom\", \"55px\");\n                       }\n                       else {\n                         jQuery(\"#controls425\").css(\"bottom\", \"5px\");\n                       }\n              }, 200);\n            });jQuery(\"#pano425 .pnlm-title-box\").on(\"mouseenter\", function(){\n                jQuery(this).attr(\"title\", jQuery(this).text());\n            });\n            jQuery(\"#pano425 .pnlm-title-box\").on(\"mouseleave\", function(){\n                jQuery(this).removeAttr(\"title\");\n            });});})(jQuery);<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-422","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/discotecanick.com\/index.php?rest_route=\/wp\/v2\/pages\/422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/discotecanick.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/discotecanick.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/discotecanick.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/discotecanick.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=422"}],"version-history":[{"count":8,"href":"https:\/\/discotecanick.com\/index.php?rest_route=\/wp\/v2\/pages\/422\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/discotecanick.com\/index.php?rest_route=\/wp\/v2\/pages\/422\/revisions\/558"}],"wp:attachment":[{"href":"https:\/\/discotecanick.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}