<commit_before>/**
* Featherlight – ultra slim jQuery lightbox
* https://github.com/noelboss/featherlight
*
* Copyright 2012, <NAME>
* MIT Licensed.
*/
(function(a){a.fn.featherlight=function(e,d){var g=a(this),b=null,d=d||a(),f=null,h=e||{};h=a.extend({},a.fn.featherlight.defaults,h);b=a(h.bg||'<div class="'+h.namespace+'"><div class="'+h.namespace+'-content"><span class="'+h.namespace+'-close">X</span></div></div>');g.each(function(){var i=this,j=a(this),c=j.attr("data-"+h.namespace+"-variant");if(d.length<1){i.$content=a(j.attr(h.targetAttr),h.context);}else{i.$content=d;}if(i.$content.length>0){i.$fl=b.clone();if(c){i.$fl.addClass(c);}i.$fl.find("."+h.namespace+"-close").on(h.closeTrigger+"."+h.namespace,a.proxy(h.close,i)).after(i.$content.show());if(h.clickBgClose){i.$fl.on(h.closeTrigger+"."+h.namespace,a.proxy(h.close,i));}j.on(h.openTrigger+"."+h.namespace,a.proxy(h.open,i));}});};a.fn.featherlight.defaults={selector:"[data-featherlight]",targetAttr:"data-featherlight",openTrigger:"click",closeTrigger:"click",context:"body",namespace:"featherlight",clickBgClose:true,autostart:true,open:function(c){var b=this;b.$fl.prependTo("body").fadeIn();c.preventDefault();},close:function(c){var b=this;b.$fl.fadeOut(function(){b.$fl.detach();});c.preventDefault();}};a(document).ready(function(){var b=a.fn.featherlight.defaults;if(b.autostart){a(b.selector,b.context).featherlight();}});}(jQuery));<commit_msg>Compressed JS<commit_after>/**
* Featherlight – ultra slim jQuery lightbox
* https://github.com/noelboss/featherlight
*
* Copyright 2012, <NAME>
* MIT Licensed.
*/
(function(b){var c=function(i,e){var g=this,h=b(this),f=h.attr("data-"+i.namespace+"-variant"),d=b(i.bg||'<div class="'+i.namespace+'"><div class="'+i.namespace+'-content"><span class="'+i.namespace+'-close">X</span></div></div>');if(e.length<1){g.$content=b(h.attr(i.targetAttr),i.context);}else{g.$content=e;}if(g.$content.length>0){g.$fl=d.clone();if(f){g.$fl.addClass(f);}g.$fl.find("."+i.namespace+"-close").on(i.closeTrigger+"."+i.namespace,b.proxy(i.close,g)).after(g.$content.show());if(i.clickBgClose){g.$fl.on(i.closeTrigger+"."+i.namespace,b.proxy(i.close,g));}if(g.hasOwnProperty("nodeName")){h.on(i.openTrigger+"."+i.namespace,b.proxy(i.open,g));}else{b.proxy(i.open,g)();}}};var a={featherlight:function(e,d){var f=b.extend({},b.fn.featherlight.defaults,d),e=e||b();if(typeof e==="string"){e=b(e);}if(e.length>0){b.proxy(c,{},f,e)();}}};b.extend(b,a);b.fn.featherlight=function(e,d){var f=b.extend({},b.fn.featherlight.defaults,e),d=d||b();b(this).each(function(){b.proxy(c,this,f,d)();});};b.fn.featherlight.defaults={selector:"[data-featherlight]",targetAttr:"data-featherlight",openTrigger:"click",closeTrigger:"click",context:"body",namespace:"featherlight",clickBgClose:true,bg:null,autostart:true,open:function(f){var d=this;d.$fl.prependTo("body").fadeIn();if(f){f.preventDefault();}},close:function(f){var d=this;d.$fl.fadeOut(function(){d.$fl.detach();});if(f){f.preventDefault();}}};b(document).ready(function(){var d=b.fn.featherlight.defaults;if(d.autostart){b(d.selector,d.context).featherlight();}});}(jQuery));
{'fraction_non_alphanumeric': 0.2856230031948882, 'fraction_numerical': 0.004153354632587859, 'mean_word_length': 11.474103585657371, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 20, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6476425', 'n_tokens_mistral': 1246, 'n_tokens_neox': 1234, 'n_words': 48}