!function t(e,n,i){function r(s,a){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=n[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return r(n?n:t)},c,c.exports,t,e,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;so;o++)i=r[o],a.push(new t(i));return window.subscribeButtons=a}},t.prototype.update=function(){return this.getPodcastData()},t.prototype.getOptions=function(){var t,n;return t={size:"medium",style:"filled",format:"rectangle"},n={scriptPath:this.scriptElem.attr("src").match(/(^.*\/)/)[0].replace(/javascripts\/$/,"").replace(/\/$/,""),language:this.scriptElem.data("language"),size:this.scriptElem.data("size"),buttonId:this.scriptElem.data("buttonid"),hide:this.scriptElem.data("hide"),style:this.scriptElem.data("style"),format:this.scriptElem.data("format")},n.color=this.scriptElem.data("color")?new i(this.scriptElem.data("color")):new i(this.scriptElem.data("colors")),n.size.indexOf("-logo")>=0&&(n.size=n.size.replace("-logo",""),n.format="cover"),this.options=e.extend(t,n)},t.prototype.checkForValidLanguage=function(){var t;return t=new l(this.options.language),t.supportsLanguage()?void 0:this.options.language=l.defaultLanguage},t.prototype.getPodcastData=function(){var t,e;return(e=this.scriptElem.data("json-url"))&&this.fetchPodcastDataFromUrl(e),(t=this.scriptElem.data("json-data"))?this.extractPodcastDataFromJson(window[t]):void 0},t.prototype.fetchPodcastDataFromUrl=function(){},t.prototype.extractPodcastDataFromJson=function(t){return this.podcast=t},t.prototype.checkIntegrity=function(){var t;return 0===this.podcast.feeds.length?(t="Subscribe Button Error. Please add at least one feed.",console.warn(t),window.alert(t)):void 0},t.prototype.renderButtonIframe=function(){var t;return t=this.iframe(),this.options.hide?this.scriptElem.remove():this.scriptElem.replaceWith(t)},t.prototype.addCss=function(){var t;return t=e(""),this.scriptElem.after(t),t.after(this.options.color.toStyles())},t.prototype.iframe=function(){var t,n,i;return this.options.id=this.options.buttonId||Math.floor(65536*(1+Math.random())).toString(16).substring(1),i=escape(this.podcast.title),t=this.options.scriptPath+"/button.html?id="+this.options.id+"&language="+this.options.language+"&size="+this.options.size+"&style="+this.options.style+"&format="+this.options.format+"&podcastTitle="+i+"&podcastCover="+this.podcast.cover+this.options.color.toParams(),n=e("