1/**handles:woof_image_html_items**/ 2function woof_init_image(){function a(){var e=!1,t=!1,a;(t="radio"==jQuery(this).parents(".woof_list_image").data("type")?!0:t)&&(a=jQuery(this).parents(".woof_list_image").find(".woof_image_term"),jQuery(a).removeClass("checked"),jQuery(a).children().prop("checked",!1)),jQuery(this).hasClass("checked")?(jQuery(this).removeClass("checked"),jQuery(this).children().prop("checked",!1)):(jQuery(this).addClass("checked"),jQuery(this).children().prop("checked",!0),e=!0),woof_image_process_data(this,e,t)}function r(){jQuery(this).addClass("clicked")}function o(){jQuery(this).removeClass("clicked")}jQuery(".woof_image_term").each(function(){var e=jQuery(this).data("image"),t=jQuery(this).data("styles"),e=(0<e.length?t+="; background-image: url("+e+"); ":t+="; background-color: #ffffff;",jQuery('<span style="'+t+'" class="'+jQuery(this).attr("type")+" "+jQuery(this).attr("class")+'" title=""></span>').on("click",a).mousedown(r).mouseup(o));jQuery(this).is(":checked")&&e.addClass("checked"),jQuery(this).wrap(e).hide(),jQuery(this).after('<span class="woof_image_checked"></span>')})}function woof_image_process_data(e,t,a){var r=jQuery(e).find("input[type=checkbox]").data("tax"),o=jQuery(e).find("input[type=checkbox]").attr("name"),i;woof_image_direct_search(jQuery(e).find("input[type=checkbox]").data("term-id"),o,r,t,a)}function woof_image_direct_search(e,a,t,r,o){var i="",s=!0,i,c,s=r?(!o&&t in woof_current_values?woof_current_values[t]=woof_current_values[t]+","+a:woof_current_values[t]=a,!0):(!o&&(i=(i=woof_current_values[t]).split(","),c=[],jQuery.each(i,function(e,t){t!=a&&c.push(t)}),(i=c).length)?woof_current_values[t]=i.join(","):delete woof_current_values[t],!1);jQuery(".woof_image_term_"+e).attr("checked",s),woof_ajax_page_num=1,woof_autosubmit&&woof_submit_link(woof_get_submit_link())}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.