shell bypass 403

Cubjrnet7 Shell


name : crop-es5.min.js
(function(){"use strict";/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */var r,i=!1,a,c=function(){r.cropX.addEventListener("change",function(e){var t=e.currentTarget;a.setData({x:parseInt(t.value,10)})}),r.cropY.addEventListener("change",function(e){var t=e.currentTarget;a.setData({y:parseInt(t.value,10)})}),r.cropWidth.addEventListener("change",function(e){var t=e.currentTarget;a.setData({width:parseInt(t.value,10)})}),r.cropHeight.addEventListener("change",function(e){var t=e.currentTarget;a.setData({height:parseInt(t.value,10)})}),r.aspectRatio.addEventListener("change",function(e){var t=e.currentTarget;a.setAspectRatio(t.value)}),i=!0},u=function(e){var t=e.naturalWidth/e.naturalHeight;!Number.isNaN(t)&&Number.isFinite(t)&&(r.cropAspectRatioOption.value=t),a=new Cropper(e,{viewMode:1,responsive:!0,restore:!0,autoCrop:!0,movable:!1,zoomable:!1,rotatable:!1,autoCropArea:1,crop:function(n){r.cropX.value=Math.round(n.detail.x),r.cropY.value=Math.round(n.detail.y),r.cropWidth.value=Math.round(n.detail.width),r.cropHeight.value=Math.round(n.detail.height);var d=Joomla.MediaManager.Edit.original.extension.toLowerCase()==="jpg"?"jpeg":Joomla.MediaManager.Edit.original.extension.toLowerCase(),p=r.cropQuality.value;Joomla.MediaManager.Edit.current.contents=this.cropper.getCroppedCanvas().toDataURL("image/"+d,p),window.dispatchEvent(new Event("mediaManager.history.point"))}}),i||c(),a.setAspectRatio(r.cropAspectRatioOption.value)};window.addEventListener("media-manager-edit-init",function(){r={aspectRatio:document.getElementById("jform_aspectRatio"),cropHeight:document.getElementById("jform_crop_height"),cropWidth:document.getElementById("jform_crop_width"),cropY:document.getElementById("jform_crop_y"),cropX:document.getElementById("jform_crop_x"),cropQuality:document.getElementById("jform_crop_quality"),cropAspectRatioOption:document.querySelector(".crop-aspect-ratio-option")},Joomla.MediaManager.Edit.plugins.crop={Activate:function(e){return new Promise(function(t){u(e),t()})},Deactivate:function(e){return new Promise(function(t){e.cropper&&(e.cropper.destroy(),a=null),t()})}}},{once:!0})})();

© 2025 Cubjrnet7