/home/desid573/public_html/magicride.ng/wp-admin/js
NameSizeModeActions
widgets/-0755rm
accordion.js29530644editdlrm
accordion.min.js8300644editdlrm
code-editor.js115870644editdlrm
code-editor.min.js30690644editdlrm
color-picker.js98230644editdlrm
color-picker.min.js34860644editdlrm
comment.js27950644editdlrm
comment.min.js12300644editdlrm
common.js427640644editdlrm
common.min.js152190644editdlrm
custom-background.js34260644editdlrm
custom-background.min.js11620644editdlrm
custom-header.js20190644editdlrm
customize-controls.js2908020644editdlrm
customize-controls.min.js1107480644editdlrm
customize-nav-menus.js1090100644editdlrm
customize-nav-menus.min.js459750644editdlrm
customize-widgets.js714890644editdlrm
customize-widgets.min.js279660644editdlrm
dashboard.js188580644editdlrm
dashboard.min.js66150644editdlrm
edit-comments.js292700644editdlrm
edit-comments.min.js150440644editdlrm
editor-expand.js426310644editdlrm
editor-expand.min.js134160644editdlrm
editor.js453130644editdlrm
editor.min.js131920644editdlrm
farbtastic.js76890644editdlrm
gallery.js56380644editdlrm
gallery.min.js38010644editdlrm
image-edit.js292940644editdlrm
image-edit.min.js100700644editdlrm
inline-edit-post.js163070644editdlrm
inline-edit-post.min.js72840644editdlrm
inline-edit-tax.js77010644editdlrm
inline-edit-tax.min.js28710644editdlrm
iris.min.js236080644editdlrm
language-chooser.js8730644editdlrm
language-chooser.min.js3740644editdlrm
link.js38750644editdlrm
link.min.js16350644editdlrm
media-gallery.js13060644editdlrm
media-gallery.min.js5780644editdlrm
media-upload.js34630644editdlrm
media-upload.min.js11120644editdlrm
media.js52270644editdlrm
media.min.js18670644editdlrm
nav-menu.js424820644editdlrm
nav-menu.min.js209490644editdlrm
password-strength-meter.js31730644editdlrm
password-strength-meter.min.js7310644editdlrm
plugin-install.js70170644editdlrm
plugin-install.min.js23530644editdlrm
post.js374070644editdlrm
post.min.js180270644editdlrm
postbox.js117650644editdlrm
postbox.min.js41440644editdlrm
revisions.js337900644editdlrm
revisions.min.js178400644editdlrm
set-post-thumbnail.js8410644editdlrm
set-post-thumbnail.min.js5330644editdlrm
site-health.js86260644editdlrm
site-health.min.js46630644editdlrm
svg-painter.js55220644editdlrm
svg-painter.min.js23370644editdlrm
tags-box.js110400644editdlrm
tags-box.min.js30250644editdlrm
tags-suggest.js54400644editdlrm
tags-suggest.min.js21940644editdlrm
tags.js43460644editdlrm
tags.min.js16550644editdlrm
theme-plugin-editor.js246760644editdlrm
theme-plugin-editor.min.js112010644editdlrm
theme.js543920644editdlrm
theme.min.js264620644editdlrm
updates.js805730644editdlrm
updates.min.js356290644editdlrm
user-profile.js122520644editdlrm
user-profile.min.js62380644editdlrm
user-suggest.js23170644editdlrm
user-suggest.min.js6570644editdlrm
widgets.js228760644editdlrm
widgets.min.js123950644editdlrm
word-count.js76900644editdlrm
word-count.min.js15000644editdlrm
wp-fullscreen-stub.js6780644editdlrm
wp-fullscreen-stub.min.js3260644editdlrm
xfn.js77100644editdlrm
xfn.min.js33520644editdlrm
Edit: /home/desid573/public_html/magicride.ng/wp-admin/js/image-edit.min.js (10070B)
!function(g){var d=window.imageEdit={iasapi:{},hold:{},postid:"",_view:!1,handleCropToolClick:function(i,t,e){var a=g("#image-preview-"+i),s=this.iasapi.getSelection();isNaN(s.x1)&&(this.setCropSelection(i,{x1:0,y1:0,x2:a.innerWidth(),y2:a.innerHeight(),width:a.innerWidth(),height:a.innerHeight()}),s=this.iasapi.getSelection()),0===s.x1&&0===s.y1&&0===s.x2&&0===s.y2?(this.iasapi.setSelection(0,0,a.innerWidth(),a.innerHeight(),!0),this.iasapi.setOptions({show:!0}),this.iasapi.update()):d.crop(i,t,e)},intval:function(i){return 0|i},setDisabled:function(i,t){t?i.removeClass("disabled").prop("disabled",!1):i.addClass("disabled").prop("disabled",!0)},init:function(i){var t=this,e=g("#image-editor-"+t.postid),a=t.intval(g("#imgedit-x-"+i).val()),s=t.intval(g("#imgedit-y-"+i).val());t.postid!==i&&e.length&&t.close(t.postid),t.hold.w=t.hold.ow=a,t.hold.h=t.hold.oh=s,t.hold.xy_ratio=a/s,t.hold.sizer=parseFloat(g("#imgedit-sizer-"+i).val()),t.postid=i,g("#imgedit-response-"+i).empty(),g('input[type="text"]',"#imgedit-panel-"+i).keypress(function(i){var t=i.keyCode;if(36this.hold.oh||n&&n>this.hold.ow?o.css("visibility","visible"):o.css("visibility","hidden"))},getSelRatio:function(i){var t=this.hold.w,e=this.hold.h,a=this.intval(g("#imgedit-crop-width-"+i).val()),i=this.intval(g("#imgedit-crop-height-"+i).val());return a&&i?a+":"+i:t&&e?t+":"+e:"1:1"},filterHistory:function(i,t){var e,a,s,o=g("#imgedit-history-"+i).val(),n=[];if(""===o)return"";if(o=JSON.parse(o),0<(e=this.intval(g("#imgedit-undone-"+i).val())))for(;0').on("load",{history:i.history},function(i){var t,e=g("#imgedit-crop-"+s),a=d;""!==i.data.history&&(t=JSON.parse(i.data.history))[t.length-1].hasOwnProperty("c")&&(a.setDisabled(g("#image-undo-"+s),!0),g("#image-undo-"+s).focus()),e.empty().append(n),i=Math.max(a.hold.w,a.hold.h),t=Math.max(g(n).width(),g(n).height()),a.hold.sizer=t

'+imageEditL10n.error+"

"),t.toggleEditor(s,0)}).attr("src",ajaxurl+"?"+g.param(i))},action:function(t,i,e){var a,s,o,n,d=this;if(d.notsaved(t))return!1;if(a={action:"image-editor",_ajax_nonce:i,postid:t},"scale"===e){if(s=g("#imgedit-scale-width-"+t),o=g("#imgedit-scale-height-"+t),n=d.intval(s.val()),i=d.intval(o.val()),n<1)return s.focus(),!1;if(i<1)return o.focus(),!1;if(n===d.hold.ow||i===d.hold.oh)return!1;a.do="scale",a.fwidth=n,a.fheight=i}else{if("restore"!==e)return!1;a.do="restore"}d.toggleEditor(t,1),g.post(ajaxurl,a,function(i){g("#image-editor-"+t).empty().append(i),d.toggleEditor(t,0),d._view&&d._view.refresh()})},save:function(t,i){var e=this.getTarget(t),a=this.filterHistory(t,0),s=this;if(""===a)return!1;this.toggleEditor(t,1),e={action:"image-editor",_ajax_nonce:i,postid:t,history:a,target:e,context:g("#image-edit-context").length?g("#image-edit-context").val():null,do:"save"},g.post(ajaxurl,e,function(i){i=JSON.parse(i);if(i.error)return g("#imgedit-response-"+t).html('

'+i.error+"

"),void d.close(t);i.fw&&i.fh&&g("#media-dims-"+t).html(i.fw+" × "+i.fh),i.thumbnail&&g(".thumbnail","#thumbnail-head-"+t).attr("src",""+i.thumbnail),i.msg&&g("#imgedit-response-"+t).html('

'+i.msg+"

"),s._view?s._view.save():d.close(t)})},open:function(t,i,e){this._view=e;var a=g("#image-editor-"+t),s=g("#media-head-"+t),o=g("#imgedit-open-btn-"+t),n=o.siblings(".spinner");if(!o.hasClass("button-activated"))return n.addClass("is-active"),g.ajax({url:ajaxurl,type:"post",data:{action:"image-editor",_ajax_nonce:i,postid:t,do:"open"},beforeSend:function(){o.addClass("button-activated")}}).done(function(i){a.html(i),s.fadeOut("fast",function(){a.fadeIn("fast"),o.removeClass("button-activated"),n.removeClass("is-active")}),d.init(t)})},imgLoaded:function(i){var t=g("#image-preview-"+i),e=g("#imgedit-crop-"+i);void 0===this.hold.sizer&&this.init(i),this.initCrop(i,t,e),this.setCropSelection(i,{x1:0,y1:0,x2:0,y2:0,width:t.innerWidth(),height:t.innerHeight()}),this.toggleEditor(i,0),g(".imgedit-wrap .imgedit-help-toggle").eq(0).focus()},initCrop:function(a,i,t){var s=this,o=g("#imgedit-sel-width-"+a),n=g("#imgedit-sel-height-"+a);s.iasapi=g(i).imgAreaSelect({parent:t,instance:!0,handles:!0,keys:!0,minWidth:3,minHeight:3,onInit:function(i){g(i).next().css("position","absolute").nextAll(".imgareaselect-outer").css("position","absolute"),t.children().on("mousedown, touchstart",function(i){var t,e=!1;i.shiftKey&&(t=s.iasapi.getSelection(),i=s.getSelRatio(a),e=t&&t.width&&t.height?t.width+":"+t.height:i),s.iasapi.setOptions({aspectRatio:e})})},onSelectStart:function(){d.setDisabled(g("#imgedit-crop-sel-"+a),1)},onSelectEnd:function(i,t){d.setCropSelection(a,t)},onSelectChange:function(i,t){var e=d.hold.sizer;o.val(d.round(t.width/e)),n.val(d.round(t.height/e))}})},setCropSelection:function(i,t){if(!(t=t||0)||t.width<3&&t.height<3)return this.setDisabled(g(".imgedit-crop","#imgedit-panel-"+i),1),this.setDisabled(g("#imgedit-crop-sel-"+i),1),g("#imgedit-sel-width-"+i).val(""),g("#imgedit-sel-height-"+i).val(""),g("#imgedit-selection-"+i).val(""),!1;t={x:t.x1,y:t.y1,w:t.width,h:t.height},this.setDisabled(g(".imgedit-crop","#imgedit-panel-"+i),1),g("#imgedit-selection-"+i).val(JSON.stringify(t))},close:function(i,t){if((t=t||!1)&&this.notsaved(i))return!1;this.iasapi={},this.hold={},this._view?this._view.back():g("#image-editor-"+i).fadeOut("fast",function(){g("#media-head-"+i).fadeIn("fast",function(){g("#imgedit-open-btn-"+i).focus()}),g(this).empty()})},notsaved:function(i){var t=g("#imgedit-history-"+i).val(),t=""!==t?JSON.parse(t):[];return this.intval(g("#imgedit-undone-"+i).val())