403Webshell
Server IP : 104.21.74.147  /  Your IP : 216.73.217.154
Web Server : nginx/1.24.0
System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/rebeccaone.com/wp-content/plugins/envira-gallery/assets/js/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rebeccaone.com/wp-content/plugins/envira-gallery/assets/js/dist/table.js
/******/ (() => { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ 669:
/***/ ((module) => {

"use strict";
module.exports = jQuery;

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/************************************************************************/
/* provided dependency */ var table_jQuery = __webpack_require__(669);
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
/**
 * Handles any Envira WP_List_Table events:
 * - Quick / Bulk Edit
 * - Empty State Display
 */
table_jQuery(document).ready(function ($) {
  /**
   * Quick / Bulk Edit Support
   */
  if (typeof inlineEditPost !== 'undefined') {
    // we create a copy of the WP inline edit post function
    var wp_inline_edit = inlineEditPost.edit;

    // and then we overwrite the function with our own code
    inlineEditPost.edit = function (id) {
      // "call" the original WP edit function
      // we don't want to leave WordPress hanging
      wp_inline_edit.apply(this, arguments);

      // get the post ID
      var post_id = 0;
      if (_typeof(id) == 'object') {
        post_id = parseInt(this.getId(id));
      }
      if (post_id > 0) {
        // Get the Edit and Post Row Elements
        var edit_row = $('#edit-' + post_id);
        var post_row = $('#post-' + post_id);

        // Get Envira Gallery Settings
        // These are stored in hidden input fields created by includes/admin/posttype.php
        // We populate via JS because there's no $post object for us to access in includes/admin/common.php's quick edit functions
        var columns = $('input[name="_envira_gallery_' + post_id + '[columns]"]', $(post_row)).val();
        var gallery_theme = $('input[name="_envira_gallery_' + post_id + '[gallery_theme]"]', $(post_row)).val();
        var gutter = $('input[name="_envira_gallery_' + post_id + '[gutter]"]', $(post_row)).val();
        var margin = $('input[name="_envira_gallery_' + post_id + '[margin]"]', $(post_row)).val();
        var crop_width = $('input[name="_envira_gallery_' + post_id + '[crop_width]"]', $(post_row)).val();
        var crop_height = $('input[name="_envira_gallery_' + post_id + '[crop_height]"]', $(post_row)).val();

        // Populate Quick Edit Fields with data from the above hidden fields
        $('select[name="_envira_gallery[columns]"]', $(edit_row)).val(columns);
        $('select[name="_envira_gallery[gallery_theme]"]', $(edit_row)).val(gallery_theme);
        $('input[name="_envira_gallery[gutter]"]', $(edit_row)).val(gutter);
        $('input[name="_envira_gallery[margin]"]', $(edit_row)).val(margin);
        $('input[name="_envira_gallery[crop_width]"]', $(edit_row)).val(crop_width);
        $('input[name="_envira_gallery[crop_height]"]', $(edit_row)).val(crop_height);
      }
    };

    // Remove all hidden inputs when a search is performed
    // This stops them from being included in the GET URL, otherwise we'd have a really long search URL
    // which breaks some nginx configurations
    $('form#posts-filter').on('submit', function (e) {
      $('input.envira-quick-edit').remove();
    });
  }

  /**
   * Empty State Display
   * Move empty state from admin_footer to wpbody-content
   */
  var $container = $('#envira-empty-state-container');
  if ($container.length) {
    document.body.classList.add('envira-empty-state-active');
    var $emptyState = $container.find('.envira-empty-state');
    if ($emptyState.length && $('#wpbody-content').length) {
      $('#wpbody-content').prepend($emptyState);
      $container.remove();
    }
  }
});
/******/ })()
;

Youez - 2016 - github.com/yon3zu
LinuXploit