var t;t={},t=_,wp.customize.controlConstructor["wpbf-sortable"]=wp.customize.Control.extend({ready:function(){let t=this;jQuery(t.container.find("ul.sortable").first()).sortable({update:function(){t.setting&&t.setting.set(t.getNewValues())}}).disableSelection().find("li").each(function(){jQuery(this).find("i.visibility").on("click",function(){jQuery(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")})}).on("click",function(){t.setting?.set(t.getNewValues())})},getNewValues:function(){var i;let e=this.container.find("li"),n=[];return((i=t)&&i.__esModule?i.default:i).each(e,function(t){t.classList.contains("invisible")||n.push(t.dataset.value)}),n}});
