芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/wpforms-lite/assets/js/components/admin/education/core.min.js
"use strict";var WPFormsEducation=window.WPFormsEducation||{};WPFormsEducation.core=window.WPFormsEducation.core||function(t,a,s){var i='
',c={init:function(){s(c.ready)},ready:function(){c.events()},events:function(){c.dismissEvents(),c.openModalButtonClick(),c.setDykColspan()},openModalButtonClick:function(){s(t).on("click",".education-modal:not(.wpforms-add-fields-button)",c.openModalButtonHandler).on("mousedown",".education-modal.wpforms-add-fields-button",c.openModalButtonHandler)},openModalButtonHandler:function(t){t.preventDefault();var n=s(this);switch(n.data("action")){case"activate":c.activateModal(n);break;case"install":c.installModal(n)}},dismissEvents:function(){s(t).on("click",".wpforms-dismiss-container .wpforms-dismiss-button",function(t){var n=s(this),o=n.closest(".wpforms-dismiss-container"),e=o.find(".wpforms-dismiss-out"),n={action:"wpforms_education_dismiss",nonce:wpforms_education.nonce,section:n.data("section"),page:"string"==typeof a.pagenow?a.pagenow:""};0<(e=o.hasClass("wpforms-dismiss-out")?o:e).length?(e.addClass("out"),setTimeout(function(){o.remove()},300)):o.remove(),s.post(wpforms_education.ajax_url,n)})},setDykColspan:function(){s("#adv-settings").on("change","input.hide-column-tog",function(t){var n=s(".wpforms-dyk td"),o=s(".wp-list-table thead .manage-column").not(".hidden").length;n.attr("colspan",o)})},getUTMContentValue:function(t){return t.hasClass("wpforms-add-fields-button")?t.data("utm-content")+" Field":t.hasClass("wpforms-template-select")?c.slugToUTMcontent(t.data("slug")):t.hasClass("wpforms-panel-sidebar-section")?c.slugToUTMcontent(t.data("slug"))+" Addon":t.data("utm-content")||t.data("name")},slugToUTMcontent:function(t){return t?t.toString().replace(/[^a-z\d ]/gi," ").replace(/\b[a-z]/g,function(t){return t.toUpperCase()}):""},getUpgradeURL:function(t,n){var o=wpforms_education.upgrade[n].url,n=(-1