PageSourceSearch

https://yoloplus.it/wp-content/plugins/wpvr/public/js/wpvr-public.js?ver=8.4.7

js yoloplus.it collected 2026-10-04 17:16:40 UTC 2,905 bytes, 88 lines download raw bytes

1(function($) {
2    'use strict';
3
4    /**
5     * All of the code for your public-facing JavaScript source
6     * should reside in this file.
7     *
8     * Note: It has been assumed you will write jQuery code here, so the
9     * $ function reference has been prepared for usage within the scope
10     * of this function.
11     *
12     * This enables you to define handlers, for when the DOM is ready:
13     *
14     * $(function() {
15     *
16     * });
17     *
18     * When the window is loaded:
19     *
20     * $( window ).load(function() {
21     *
22     * });
23     *
24     * ...and/or other possibilities.
25     *
26     * Ideally, it is not considered best practise to attach more than a
27     * single DOM-ready or window-load handler for a particular page.
28     * Although scripts in the WordPress core, Plugins and Themes may be
29     * practising this, we should strive to set a better example in our own work.
30     */
31
32})(jQuery);
33function wpvrhotspot(hotSpotDiv, args) {
34    var argst = args.replace(/\\/g, '');
35    jQuery(document).ready(function($) {
36        $(hotSpotDiv.target).parent().siblings(".custom-ifram-wrapper").find('.custom-ifram').html(argst);
37        $(hotSpotDiv.target).parent().siblings(".custom-ifram-wrapper").fadeToggle();
38        $(hotSpotDiv.target).parent().parent(".pano-wrap").toggleClass("show-modal");
39    });
40}
41
42function wpvrtooltip(hotSpotDiv, args) {
43    hotSpotDiv.classList.add('custom-tooltip');
44    var span = document.createElement('span');
45    args = args.replace(/\\/g, "");
46    span.innerHTML = args;
47    hotSpotDiv.appendChild(span);
48    span.style.marginLeft = -(span.scrollWidth - hotSpotDiv.offsetWidth) / 2 + 'px';
49    span.style.marginTop = -span.scrollHeight - 12 + 'px';
50}
51
52
53jQuery(document).ready(function($) {
54
55    $(".cross").on("click", function(e) {
56        e.preventDefault();
57        $(this).parent(".custom-ifram-wrapper").fadeOut();
58        $(this).parents(".pano-wrap").removeClass("show-modal");
59
60        $('.vr-iframe').attr('src', '');
61        // $('iframe').attr('src', $('iframe').attr('src'));
62        if ($('#wpvr-video').length != 0) {
63            $('#wpvr-video').get(0).pause();
64        }
65
66    });
67
68});
69
70jQuery(document).ready(function($) {
71
72    var notice_active = wpvr_public.notice_active;
73    var notice = wpvr_public.notice;
74    if (notice_active == "true") {
75        if (!$.cookie("wpvr_mobile_notice")) {
76            if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
77                if ($(".pano-wrap")[0]) {
78                    $('body').append("<div class='wpvr-mobile-notice'><p>" + notice + "</p> <span class='notice-close'><i class='fa fa-times'></i></span></div>");
79                }
80            }
81        }
82    }
83
84    $('.wpvr-mobile-notice .notice-close').on('click', function() {
85        $('.wpvr-mobile-notice').fadeOut();
86        $.cookie('wpvr_mobile_notice', 'true');
87    });
88});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.