SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > wp-content > plugins > ad-inserter > includes > > > js


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com/wp-content/plugins/ad-inserter/includes///js

NameTypeSizeLast ModifiedActions
ResizeSensor.js File 5910 bytes October 22 2021 20:38:52.
ResizeSensor.min.js File 2234 bytes June 05 2021 18:47:44.
ad-inserter-check.js File 304 bytes May 13 2017 01:33:42.
ai-adb-data.js File 1787 bytes October 10 2022 20:16:54.
ai-adb-data.min.js File 1565 bytes October 10 2022 20:16:54.
ai-adb-try.js File 405 bytes November 01 2022 19:56:04.
ai-adb-try.min.js File 309 bytes November 01 2022 19:56:04.
ai-adb.js File 37793 bytes July 01 2025 13:06:56.
ai-adb.min.js File 13882 bytes July 01 2025 13:06:56.
ai-admin.js File 1588 bytes February 04 2019 22:43:18.
ai-ads-data.js File 148 bytes October 10 2022 20:16:54.
ai-ads-data.min.js File 123 bytes October 10 2022 20:16:54.
ai-ads.js File 8599 bytes June 21 2023 20:37:26.
ai-ads.min.js File 2407 bytes March 21 2023 23:11:24.
ai-auto-ads.js File 683 bytes October 10 2022 20:16:54.
ai-auto-ads.min.js File 344 bytes October 10 2022 20:16:54.
ai-base64.js File 1296 bytes May 22 2020 22:02:18.
ai-base64.min.js File 1161 bytes March 15 2020 13:39:32.
ai-cookie-data.js File 87 bytes January 01 2023 23:22:48.
ai-cookie-data.min.js File 72 bytes January 01 2023 23:22:48.
ai-cookie.js File 28750 bytes July 01 2025 13:06:56.
ai-cookie.min.js File 10120 bytes July 01 2025 13:06:56.
ai-errors-footer.js File 1072 bytes September 28 2022 21:46:10.
ai-errors-footer.min.js File 600 bytes September 28 2022 21:46:10.
ai-errors-head.js File 133 bytes January 05 2020 22:32:08.
ai-errors-head.min.js File 77 bytes January 05 2020 22:32:08.
ai-errors.js File 402 bytes January 05 2020 22:32:08.
ai-errors.min.js File 293 bytes January 05 2020 22:32:08.
ai-filter-data.js File 142 bytes October 18 2022 23:11:16.
ai-filter-data.min.js File 116 bytes October 18 2022 23:11:16.
ai-filter.js File 16985 bytes January 01 2023 23:22:48.
ai-filter.min.js File 4946 bytes January 01 2023 23:22:48.
ai-insert-data.js File 90 bytes January 01 2023 23:22:48.
ai-insert-data.min.js File 75 bytes January 01 2023 23:22:48.
ai-insert.js File 31029 bytes June 03 2023 21:04:34.
ai-insert.min.js File 10530 bytes June 03 2023 21:04:34.
ai-jquery.js File 18 bytes June 16 2018 16:14:22.
ai-lists-data.js File 80 bytes January 01 2023 23:22:48.
ai-lists-data.min.js File 68 bytes January 01 2023 23:22:48.
ai-lists.js File 55439 bytes July 01 2025 13:06:56.
ai-lists.min.js File 15443 bytes July 01 2025 13:06:56.
ai-mobile-detect.js File 71235 bytes October 12 2022 22:31:18.
ai-mobile-detect.min.js File 39480 bytes October 12 2022 22:31:18.
ai-rotation-data.js File 100 bytes January 18 2023 23:35:12.
ai-rotation-data.min.js File 80 bytes January 18 2023 23:35:12.
ai-rotation.js File 32220 bytes March 08 2024 21:34:50.
ai-rotation.min.js File 7465 bytes March 08 2024 21:34:50.
ai-select-data.js File 156 bytes January 02 2023 21:37:30.
ai-select-data.min.js File 131 bytes January 02 2023 21:37:30.
ai-select.js File 18463 bytes April 15 2024 22:22:22.
ai-select.min.js File 7724 bytes April 15 2024 22:22:22.
ai-sidebar-data.js File 179 bytes January 01 2023 23:22:48.
ai-sidebar-data.min.js File 160 bytes January 01 2023 23:22:48.
ai-sidebar.js File 7102 bytes February 05 2023 15:58:48.
ai-sidebar.min.js File 1733 bytes February 05 2023 15:58:48.
ai-wait-functions.js File 473 bytes October 10 2022 20:16:54.
ai-wait-functions.min.js File 227 bytes October 10 2022 20:16:54.
ai-wait-jquery.js File 1749 bytes January 06 2021 22:01:50.
ai-wait-jquery.min.js File 682 bytes January 06 2021 22:01:50.
image-picker.js File 10135 bytes January 29 2017 23:56:22.
image-picker.min.js File 7523 bytes April 27 2017 22:02:34.
index.html File 44 bytes August 24 2018 20:39:16.
jquery.mousewheel.js File 8267 bytes September 30 2016 22:30:08.
jquery.mousewheel.min.js File 2771 bytes September 30 2016 22:30:08.
jquery.multi-select.js File 20136 bytes July 01 2025 13:06:56.
jquery.quicksearch.js File 4143 bytes July 01 2025 13:06:56.
jquery.scombobox.js File 66592 bytes July 01 2025 13:06:56.
jquery.scombobox.min.js File 23784 bytes July 01 2025 13:06:56.
jquery.ui.spinner.js File 13920 bytes May 13 2017 01:33:42.
missed.js File 2700 bytes January 29 2018 21:42:06.
theia-sticky-sidebar.js File 16370 bytes January 01 2023 23:22:48.
theia-sticky-sidebar.min.js File 5596 bytes January 01 2023 23:22:48.

Reading File: /home/codekrsu//escapematrixonline.com/wp-content/plugins/ad-inserter/includes///js/image-picker.js

// Image Picker
// by Rodrigo Vera
//
// Version 0.3.1
// Full source at https://github.com/rvera/image-picker
// MIT License, https://github.com/rvera/image-picker/blob/master/LICENSE
// Generated by CoffeeScript 1.11.0
(function() {
  var ImagePicker, ImagePickerOption, both_array_are_equal, sanitized_options,
    bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
    indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

  jQuery.fn.extend({
    imagepicker: function(opts) {
      if (opts == null) {
        opts = {};
      }
      return this.each(function() {
        var select;
        select = jQuery(this);
        if (select.data("picker")) {
          select.data("picker").destroy();
        }
        select.data("picker", new ImagePicker(this, sanitized_options(opts)));
        if (opts.initialized != null) {
          return opts.initialized.call(select.data("picker"));
        }
      });
    }
  });

  sanitized_options = function(opts) {
    var default_options;
    default_options = {
      hide_select: true,
      show_label: false,
      initialized: void 0,
      changed: void 0,
      clicked: void 0,
      selected: void 0,
      limit: void 0,
      limit_reached: void 0
    };
    return jQuery.extend(default_options, opts);
  };

  both_array_are_equal = function(a, b) {
    var i, j, len, x;
    if ((!a || !b) || (a.length !== b.length)) {
      return false;
    }
    a = a.slice(0);
    b = b.slice(0);
    a.sort();
    b.sort();
    for (i = j = 0, len = a.length; j < len; i = ++j) {
      x = a[i];
      if (b[i] !== x) {
        return false;
      }
    }
    return true;
  };

  ImagePicker = (function() {
    function ImagePicker(select_element, opts1) {
      this.opts = opts1 != null ? opts1 : {};
      this.sync_picker_with_select = bind(this.sync_picker_with_select, this);
      this.select = jQuery(select_element);
      this.multiple = this.select.attr("multiple") === "multiple";
      if (this.select.data("limit") != null) {
        this.opts.limit = parseInt(this.select.data("limit"));
      }
      this.build_and_append_picker();
    }

    ImagePicker.prototype.destroy = function() {
      var j, len, option, ref;
      ref = this.picker_options;
      for (j = 0, len = ref.length; j < len; j++) {
        option = ref[j];
        option.destroy();
      }
      this.picker.remove();
      this.select.off("change", this.sync_picker_with_select);
      this.select.removeData("picker");
      return this.select.show();
    };

    ImagePicker.prototype.build_and_append_picker = function() {
      if (this.opts.hide_select) {
        this.select.hide();
      }
      this.select.on("change", this.sync_picker_with_select);
      if (this.picker != null) {
        this.picker.remove();
      }
      this.create_picker();
      this.select.after(this.picker);
      return this.sync_picker_with_select();
    };

    ImagePicker.prototype.sync_picker_with_select = function() {
      var j, len, option, ref, results;
      ref = this.picker_options;
      results = [];
      for (j = 0, len = ref.length; j < len; j++) {
        option = ref[j];
        if (option.is_selected()) {
          results.push(option.mark_as_selected());
        } else {
          results.push(option.unmark_as_selected());
        }
      }
      return results;
    };

    ImagePicker.prototype.create_picker = function() {
      this.picker = jQuery("<ul class='thumbnails image_picker_selector'></ul>");
      this.picker_options = [];
      this.recursively_parse_option_groups(this.select, this.picker);
      return this.picker;
    };

    ImagePicker.prototype.recursively_parse_option_groups = function(scoped_dom, target_container) {
      var container, j, k, len, len1, option, option_group, ref, ref1, results;
      ref = scoped_dom.children("optgroup");
      for (j = 0, len = ref.length; j < len; j++) {
        option_group = ref[j];
        option_group = jQuery(option_group);
        container = jQuery("<ul></ul>");
        container.append(jQuery("<li class='group_title'>" + (option_group.attr("label")) + "</li>"));
        target_container.append(jQuery("<li class='group'>").append(container));
        this.recursively_parse_option_groups(option_group, container);
      }
      ref1 = (function() {
        var l, len1, ref1, results1;
        ref1 = scoped_dom.children("option");
        results1 = [];
        for (l = 0, len1 = ref1.length; l < len1; l++) {
          option = ref1[l];
          results1.push(new ImagePickerOption(option, this, this.opts));
        }
        return results1;
      }).call(this);
      results = [];
      for (k = 0, len1 = ref1.length; k < len1; k++) {
        option = ref1[k];
        this.picker_options.push(option);
        if (!option.has_image()) {
          continue;
        }
        results.push(target_container.append(option.node));
      }
      return results;
    };

    ImagePicker.prototype.has_implicit_blanks = function() {
      var option;
      return ((function() {
        var j, len, ref, results;
        ref = this.picker_options;
        results = [];
        for (j = 0, len = ref.length; j < len; j++) {
          option = ref[j];
          if (option.is_blank() && !option.has_image()) {
            results.push(option);
          }
        }
        return results;
      }).call(this)).length > 0;
    };

    ImagePicker.prototype.selected_values = function() {
      if (this.multiple) {
        return this.select.val() || [];
      } else {
        return [this.select.val()];
      }
    };

    ImagePicker.prototype.toggle = function(imagepicker_option, original_event) {
      var new_values, old_values, selected_value;
      old_values = this.selected_values();
      selected_value = imagepicker_option.value().toString();
      if (this.multiple) {
        if (indexOf.call(this.selected_values(), selected_value) >= 0) {
          new_values = this.selected_values();
          new_values.splice(jQuery.inArray(selected_value, old_values), 1);
          this.select.val([]);
          this.select.val(new_values);
        } else {
          if ((this.opts.limit != null) && this.selected_values().length >= this.opts.limit) {
            if (this.opts.limit_reached != null) {
              this.opts.limit_reached.call(this.select);
            }
          } else {
            this.select.val(this.selected_values().concat(selected_value));
          }
        }
      } else {
        if (this.has_implicit_blanks() && imagepicker_option.is_selected()) {
          this.select.val("");
        } else {
          this.select.val(selected_value);
        }
      }
      if (!both_array_are_equal(old_values, this.selected_values())) {
        this.select.change();
        if (this.opts.changed != null) {
          return this.opts.changed.call(this.select, old_values, this.selected_values(), original_event);
        }
      }
    };

    return ImagePicker;

  })();

  ImagePickerOption = (function() {
    function ImagePickerOption(option_element, picker, opts1) {
      this.picker = picker;
      this.opts = opts1 != null ? opts1 : {};
      this.clicked = bind(this.clicked, this);
      this.option = jQuery(option_element);
      this.create_node();
    }

    ImagePickerOption.prototype.destroy = function() {
      return this.node.find(".thumbnail").off("click", this.clicked);
    };

    ImagePickerOption.prototype.has_image = function() {
      return this.option.data("img-src") != null;
    };

    ImagePickerOption.prototype.is_blank = function() {
      return !((this.value() != null) && this.value() !== "");
    };

    ImagePickerOption.prototype.is_selected = function() {
      var select_value;
      select_value = this.picker.select.val();
      if (this.picker.multiple) {
        return jQuery.inArray(this.value(), select_value) >= 0;
      } else {
        return this.value() === select_value;
      }
    };

    ImagePickerOption.prototype.mark_as_selected = function() {
      return this.node.find(".thumbnail").addClass("selected");
    };

    ImagePickerOption.prototype.unmark_as_selected = function() {
      return this.node.find(".thumbnail").removeClass("selected");
    };

    ImagePickerOption.prototype.value = function() {
      return this.option.val();
    };

    ImagePickerOption.prototype.label = function() {
      if (this.option.data("img-label")) {
        return this.option.data("img-label");
      } else {
        return this.option.text();
      }
    };

    ImagePickerOption.prototype.clicked = function(event) {
      this.picker.toggle(this, event);
      if (this.opts.clicked != null) {
        this.opts.clicked.call(this.picker.select, this, event);
      }
      if ((this.opts.selected != null) && this.is_selected()) {
        return this.opts.selected.call(this.picker.select, this, event);
      }
    };

    ImagePickerOption.prototype.create_node = function() {
      var image, imgAlt, imgClass, thumbnail;
      this.node = jQuery("<li/>");
      image = jQuery("<img class='image_picker_image'/>");
      image.attr("src", this.option.data("img-src"));
      thumbnail = jQuery("<div class='thumbnail'>");
      imgClass = this.option.data("img-class");
      if (imgClass) {
        this.node.addClass(imgClass);
        image.addClass(imgClass);
        thumbnail.addClass(imgClass);
      }
      imgAlt = this.option.data("img-alt");
      if (imgAlt) {
        image.attr('alt', imgAlt);
      }
      imgTitle = this.option.data("img-title");
      if (imgTitle) {
        image.attr('title', imgTitle);
      }
      thumbnail.on("click", this.clicked);
      thumbnail.append(image);
//      if (this.opts.show_label) {
//        thumbnail.append(jQuery("<p/>").html(this.label()));
//      }
      this.node.append(thumbnail);
      if (this.opts.show_label) {
        this.node.append(jQuery("<p/>").html(this.label()));
      }
      return this.node;
    };

    return ImagePickerOption;

  })();

}).call(this);

SILENT KILLER Tool