1!function(t){"use strict";var e=function(e,n,o,i){this.target=e,this.url=n,this.html=[],this.effectQueue=[],this.options=t.extend({ssl:!0,host:"rssfeedrapp.cpasitesolutions.com",limit:null,key:null,layoutTemplate:'<div class="rssBody"><ul class="rssFeed">{entries}</ul></div>',entryTemplate:'<li class="rssRow"><h4><a href="{url}">{title}</a></h4><p>{shortBodyPlain}...</p></li>',tokens:{},outputMode:"json",dateFormat:"dddd MMM Do",dateLocale:"en",effect:"show",offsetStart:!1,offsetEnd:!1,error:function(){console.log("jQuery RSS: url doesn't link to RSS-Feed")},onData:function(){},success:function(){}},o||{}),this.callback=i||this.options.success};e.htmlTags=["doctype","html","head","title","base","link","meta","style","script","noscript","body","article","nav","aside","section","header","footer","h1-h6","hgroup","address","p","hr","pre","blockquote","ol","ul","li","dl","dt","dd","figure","figcaption","div","table","caption","thead","tbody","tfoot","tr","th","td","col","colgroup","form","fieldset","legend","label","input","button","select","datalist","optgroup","option","textarea","keygen","output","progress","meter","details","summary","command","menu","del","ins","img","iframe","embed","object","param","video","audio","source","canvas","track","map","area","a","em","strong","i","b","u","s","small","abbr","q","cite","dfn","sub","sup","time","code","kbd","samp","var","mark","bdi","bdo","ruby","rt","rp","span","br","wbr"],e.prototype.load=function(e){var n="http"+(this.options.ssl?"s":"")+"://"+this.options.host+"?callback=?&q="+encodeURIComponent(this.url);this.options.offsetStart&&this.options.offsetEnd&&(this.options.limit=this.options.offsetEnd),null!==this.options.limit&&(n+="&num="+this.options.limit),null!==this.options.key&&(n+="&key="+this.options.key),t.getJSON(n,e)},e.prototype.render=function(){var e=this;this.load(function(n){try{e.feed=n.responseData.feed,e.entries=n.responseData.feed.entries}catch(t){return e.entries=[],e.feed=null,e.options.error.call(e)}var o=e.generateHTMLForEntries();if(e.target.append(o.layout),0!==o.entries.length){t.isFunction(e.options.onData)&&e.options.onData.call(e);var i=t(o.layout).is("entries")?o.layout:t("entries",o.layout);e.appendEntriesAndApplyEffects(i,o.entries)}e.effectQueue.length>0?e.executeEffectQueue(e.callback):t.isFunction(e.callback)&&e.callback.call(e)})},e.prototype.appendEntriesAndApplyEffects=function(e,n){var o=this;t.each(n,function(t,n){var i=o.wrapContent(n);"show"===o.options.effect?e.before(i):(i.css({display:"none"}),e.before(i),o.applyEffect(i,o.options.effect))}),e.remove()},e.prototype.generateHTMLForEntries=function(){var e=this,n={entries:[],layout:null};return t(this.entries).each(function(){var t,o=this,i=e.options.offsetStart,s=e.options.offsetEnd;i&&s?index>=i&&index<=s&&e.isRelevant(o,n.entries)&&(t=e.evaluateStringForEntry(e.options.entryTemplate,o),n.entries.push(t)):e.isRelevant(o,n.entries)&&(t=e.evaluateStringForEntry(e.options.entryTemplate,o),n.entries.push(t))}),this.options.entryTemplate?n.layout=this.wrapContent(this.options.layoutTemplate.replace("{entries}","<entries></entries>")):n.layout=this.wrapContent("<div><entries></entries></div>"),n},e.prototype.wrapContent=function(e){return t(0!==t.trim(e).indexOf("<")?"<div>"+e+"</div>":e)},e.prototype.applyEffect=function(t,e,n){var o=this;switch(e){case"slide":t.slideDown("slow",n);break;case"slideFast":t.slideDown(n);break;case"slideSynced":o.effectQueue.push({element:t,effect:"slide"});break;case"slideFastSynced":o.effectQueue.push({element:t,effect:"slideFast"})}},e.prototype.executeEffectQueue=function(t){var e=this;this.effectQueue.reverse();var n=function(){var o=e.effectQueue.pop();o?e.applyEffect(o.element,o.effect,n):t&&t()};n()},e.prototype.evaluateStringForEntry=function(e,n){var o=e,i=this;return t(e.match(/(\{.*?\})/g)).each(function(){var t=this.toString();o=o.replace(t,i.getValueForToken(t,n))}),o},e.prototype.isRelevant=function(t,e){var n=this.getTokenMap(t);return!this.options.filter||(!this.options.filterLimit||this.options.filterLimit!==e.length)&&this.options.filter(t,n)},e.prototype.getFormattedDate=function(t){if(this.options.dateFormatFunction)return this.options.dateFormatFunction(t);
1if("undefined"!=typeof moment){var e=moment(new Date(t));return(e=e.locale?e.locale(this.options.dateLocale):e.lang(this.options.dateLocale)).format(this.options.dateFormat)}return t},e.prototype.getTokenMap=function(n){if(!this.feedTokens){var o=JSON.parse(JSON.stringify(this.feed));delete o.entries,this.feedTokens=o}return t.extend({feed:this.feedTokens,url:n.link,author:n.author,date:this.getFormattedDate(n.publishedDate),title:n.title,body:n.content,shortBody:n.contentSnippet,bodyPlain:function(t){for(var n=t.content.replace(/<script[\\r\\\s\S]*<\/script>/gim,"").replace(/<\/?[^>]+>/gi,""),o=0;o<e.htmlTags.length;o++)n=n.replace(new RegExp("<"+e.htmlTags[o],"gi"),"");return n}(n),shortBodyPlain:n.contentSnippet.replace(/<\/?[^>]+>/gi,""),index:t.inArray(n,this.entries),totalEntries:this.entries.length,teaserImage:function(t){try{return t.content.match(/(<img.*?>)/gi)[0]}catch(t){return""}}(n),teaserImageUrl:function(t){try{return t.content.match(/(<img.*?>)/gi)[0].match(/src="(.*?)"/)[1]}catch(t){return""}}(n)},this.options.tokens)},e.prototype.getValueForToken=function(t,e){var n=this.getTokenMap(e),o=n[t.replace(/[\{\}]/g,"")];if(void 0!==o)return"function"==typeof o?o(e,n):o;throw new Error("Unknown token: "+t+", url:"+this.url)},t.fn.rssfeed=function(t,n,o){return new e(this,t,n,o).render(),this}}(jQuery);
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.