define("udx.filter",function(){return{apply_filter:function(a,b){return"undefined"==typeof b||"undefined"==typeof a||"string"!=typeof a?b:"undefined"==typeof jQuery?b:"undefined"==typeof window.__ud_filters||"undefined"==typeof window.__ud_filters[a]?b:(jQuery.each(window.__ud_filters[a],function(a,c){if("function"==typeof c)b=c(b);else if("object"==typeof c){if("object"!=typeof b)return!1;b=jQuery.extend(!0,b,c)}}),b)},add_filter:function(a,b){"undefined"!=typeof b&&"undefined"!=typeof a&&"string"==typeof a&&("undefined"==typeof window.__ud_filters&&(window.__ud_filters={}),"undefined"==typeof window.__ud_filters[a]&&(window.__ud_filters[a]=[]),window.__ud_filters[a].push(b))}}});