PageSourceSearch

https://semanadecinedelugo.com/modules/colorbox/js/colorbox.js?v=8.7.6

js semanadecinedelugo.com collected 2026-09-26 03:05:44 UTC 740 bytes, 29 lines download raw bytes

1(function ($, Drupal) {
2
3  'use strict';
4
5  Drupal.behaviors.initColorbox = {
6    attach: function (context, settings) {
7      if (!$.isFunction($.colorbox) || typeof settings.colorbox === 'undefined') {
8        return;
9      }
10
11      if (settings.colorbox.mobiledetect && window.matchMedia) {
12        // Disable Colorbox for small screens.
13        var mq = window.matchMedia('(max-device-width: ' + settings.colorbox.mobiledevicewidth + ')');
14        if (mq.matches) {
15          return;
16        }
17      }
18
19      settings.colorbox.rel = function () {
20        return $(this).data('colorbox-gallery')
21      };
22
23      $('.colorbox', context)
24        .once('init-colorbox')
25        .colorbox(settings.colorbox);
26    }
27  };
28
29})(jQuery, Drupal);

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.