| Server IP : 46.105.57.169 / Your IP : 216.73.217.35 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/123click/assets/ |
Upload File : |
PK ! ��Od js/crop-es5.min.jsnu &1i� !function(){"use strict";var e,t,a=!1,r=function(r){var n=r.naturalWidth/r.naturalHeight;!Number.isNaN(n)&&Number.isFinite(n)&&(e.cropAspectRatioOption.value=n),t=new Cropper(r,{viewMode:1,responsive:!0,restore:!0,autoCrop:!0,movable:!1,zoomable:!1,rotatable:!1,autoCropArea:1,crop:function(t){e.cropX.value=Math.round(t.detail.x),e.cropY.value=Math.round(t.detail.y),e.cropWidth.value=Math.round(t.detail.width),e.cropHeight.value=Math.round(t.detail.height);var a="jpg"===Joomla.MediaManager.Edit.original.extension?"jpeg":Joomla.MediaManager.Edit.original.extension,r=e.cropQuality.value;Joomla.MediaManager.Edit.current.contents=this.cropper.getCroppedCanvas().toDataURL("image/"+a,r),window.dispatchEvent(new Event("mediaManager.history.point"))}}),a||(e.cropX.addEventListener("change",(function(e){var a=e.currentTarget;t.setData({x:parseInt(a.value,10)})})),e.cropY.addEventListener("change",(function(e){var a=e.currentTarget;t.setData({y:parseInt(a.value,10)})})),e.cropWidth.addEventListener("change",(function(e){var a=e.currentTarget;t.setData({width:parseInt(a.value,10)})})),e.cropHeight.addEventListener("change",(function(e){var a=e.currentTarget;t.setData({height:parseInt(a.value,10)})})),e.aspectRatio.addEventListener("change",(function(e){var a=e.currentTarget;t.setAspectRatio(a.value)})),a=!0),t.setAspectRatio(e.cropAspectRatioOption.value)};window.addEventListener("media-manager-edit-init",(function(){e={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){r(e),t()}))},Deactivate:function(e){return new Promise((function(a){e.cropper&&(e.cropper.destroy(),t=null),a()}))}}}),{once:!0})}();PK ! U�ڻ� � js/crop-es5.jsnu &1i� (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
*/
/* global Cropper */
var formElements;
var activated = false;
var instance;
var addListeners = function addListeners() {
formElements.cropX.addEventListener('change', function (_ref) {
var currentTarget = _ref.currentTarget;
instance.setData({
x: parseInt(currentTarget.value, 10)
});
});
formElements.cropY.addEventListener('change', function (_ref2) {
var currentTarget = _ref2.currentTarget;
instance.setData({
y: parseInt(currentTarget.value, 10)
});
});
formElements.cropWidth.addEventListener('change', function (_ref3) {
var currentTarget = _ref3.currentTarget;
instance.setData({
width: parseInt(currentTarget.value, 10)
});
});
formElements.cropHeight.addEventListener('change', function (_ref4) {
var currentTarget = _ref4.currentTarget;
instance.setData({
height: parseInt(currentTarget.value, 10)
});
});
formElements.aspectRatio.addEventListener('change', function (_ref5) {
var currentTarget = _ref5.currentTarget;
instance.setAspectRatio(currentTarget.value);
});
activated = true;
};
var init = function init(image) {
// Set default aspect ratio after numeric check, option has a dummy value
var defaultCropFactor = image.naturalWidth / image.naturalHeight;
if (!Number.isNaN(defaultCropFactor) && Number.isFinite(defaultCropFactor)) {
formElements.cropAspectRatioOption.value = defaultCropFactor;
} // Initiate the cropper
instance = new Cropper(image, {
viewMode: 1,
responsive: true,
restore: true,
autoCrop: true,
movable: false,
zoomable: false,
rotatable: false,
autoCropArea: 1,
// scalable: false,
crop: function crop(e) {
formElements.cropX.value = Math.round(e.detail.x);
formElements.cropY.value = Math.round(e.detail.y);
formElements.cropWidth.value = Math.round(e.detail.width);
formElements.cropHeight.value = Math.round(e.detail.height);
var format = Joomla.MediaManager.Edit.original.extension === 'jpg' ? 'jpeg' : Joomla.MediaManager.Edit.original.extension;
var quality = formElements.cropQuality.value; // Update the store
Joomla.MediaManager.Edit.current.contents = this.cropper.getCroppedCanvas().toDataURL("image/" + format, quality); // Notify the app that a change has been made
window.dispatchEvent(new Event('mediaManager.history.point'));
}
}); // Add listeners
if (!activated) {
addListeners();
}
instance.setAspectRatio(formElements.cropAspectRatioOption.value);
}; // Register the Events
window.addEventListener('media-manager-edit-init', function () {
formElements = {
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 Activate(image) {
return new Promise(function (resolve
/* , reject */
) {
init(image);
resolve();
});
},
Deactivate: function Deactivate(image) {
return new Promise(function (resolve
/* , reject */
) {
if (image.cropper) {
image.cropper.destroy();
instance = null;
}
resolve();
});
}
};
}, {
once: true
});
}());
PK ! VM-� � js/crop.min.js.gznu &1i� � �VmO�@�+M�NJ��*�0� ��6
>�I��P��m����K[Q��Q������9?�%B��M|a� e�J2�$@R ��0�lށ0<Sa�&��ߖ�P/0:����d��S8��:�e��Ͼ�!
��1:F/C:Q�)�O�M ���Ȋ�]a��c�Ɵ*��6X�6�K�?��i��:Ҧܐ��%��G~��Q�lKb;�X��|dh#;^{ Pn ��~�m�c�{��wh<�]�� ��77|�������\��s�I��Or�~�ӝ#�M�M�-'
��:�A�5������`���H�z 9i��XO�.bs��uܭ�&.C��
ǵ� ��V��9���Γ��0Dy�g;c��V��1�\r=��v�t�ӑ�'>��s�C#.�I���F�T��3�Xƕy�9�@\�WR��C��hr�
�����b}�&