diff --git a/dist/radio4000-player.min.js b/dist/radio4000-player.min.js index 384b7eb5..5ef59d5d 100644 --- a/dist/radio4000-player.min.js +++ b/dist/radio4000-player.min.js @@ -1,2 +1,2 @@ -(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.radio4000Player=t():e.radio4000Player=t()})("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=17)}([function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var a=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([a]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;o1)for(var n=1;n0}},watch:{tracks:function(){this.$nextTick(this.locateCurrentTrack)}},methods:{locateCurrentTrack:function(){if(!isNaN(this.currentTrackIndex)){var e=this.$el.querySelector(".TrackList-list"),t=this.$el.querySelectorAll("li"),n=t[this.currentTrackIndex];n&&(e.scrollTop=n.offsetTop-4)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"track-item",props:{track:Object,channelSlug:String},computed:{href:function(){return"https://radio4000.com/"+this.channelSlug+"/"+this.track.id}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"provider-player",components:{YoutubePlayer:o.default},props:{autoplay:Boolean,isPlaying:Boolean,track:Object,volume:Number},computed:{provider:function(){if(this.track&&this.track.ytid)return"youtube"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"youtube-player",props:{autoplay:Boolean,isPlaying:Boolean,videoId:String,volume:Number},data:function(){return{ytstate:-1,didPlay:!1,player:{},playerVars:{controls:1,fs:0,modestbranding:1,origin:window.location.origin,playsinline:1,rel:0,showinfo:0}}},mounted:function(){this.videoId&&this.initPlayer().then(this.setTrackOnProvider(this.videoId))},watch:{videoId:function(e){this.initPlayer().then(this.setTrackOnProvider(e))},isPlaying:function(e){e?1!==this.ytstate&&this.playProvider():2!==this.ytstate&&this.pauseProvider()},volume:function(e){var t=this;this.player.getVolume().then(function(n){e!==n&&t.player.setVolume(e)})}},computed:{playerExists:function(){return this.player.hasOwnProperty("getIframe")}},methods:{initPlayer:function(){var e,t=this,n=this.playerVars,r=this.$el;return new Promise(function(a){t.playerExists||(e=(0,o.default)(r,{playerVars:n}),e.on("error",t.handleError),e.on("stateChange",t.handleStateChange),e.on("ready",t.handleReady),e.on("volumeChange",t.handleVolumeChange),t.player=e),a(t.player)})},handleReady:function(e){var t=this,n=this.volume;this.player.unMute().then(function(){t.player.setVolume(n)})},handleError:function(e){this.$emit("ended")},handleVolumeChange:function(e){e.data.volume!==this.volume&&this.$root.$emit("setVolume",e.data.volume)},handleStateChange:function(e){var t=this;this.ytstate=e.data;var n={"-1":"unstarted",0:"ended",1:"playing",2:"paused",3:"buffering",5:"cued"};this.ytstate;({"-1":function(){},0:function(){return t.$emit("ended")},1:function(){return t.$emit("playing")},2:function(){return t.$emit("paused")},3:function(){return t.$emit("buffering")},5:function(){return t.$emit("cued")}})[this.ytstate]()},setTrackOnProvider:function(e){e&&(this.autoplay||this.didPlay?this.player.loadVideoById({videoId:e}):(this.player.cueVideoById({videoId:e}),this.didPlay=!0))},playProvider:function(){return this.player.playVideo()},pauseProvider:function(){return this.player.pauseVideo()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(76),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"player-controls",components:{PlayPauseButton:o.default},props:{volume:Number,isPlaying:Boolean,isDisabled:Boolean,isMuted:Boolean,isShuffle:Boolean},computed:{isNotFullVolume:function(){return this.volume<100}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"play-pause-button",props:{isPlaying:Boolean},computed:{uid:function(){return"id"+this._uid}},methods:{toggle:function(){var e=this.isPlaying?"pause":"play";this.$emit(e)}}}},function(e,t,n){e.exports=n(18)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n(19);var o=n(20),a=r(o),i=n(23),s=r(i),l=n(24),c=r(l);a.default.config.devtools=!0,a.default.config.productionTip=!1,a.default.use(s.default),a.default.customElement("radio4000-player",c.default,{shadow:!1})},function(e,t){(function(e,t){"use strict";function n(){var e=x.splice(0,x.length);for(Ge=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n1)&&C(this)}}}),je(a,U,{value:function(e){-1>0),I="addEventListener",D="attached",H="Callback",N="detached",R="extends",U="attributeChanged"+H,V=D+H,F="connected"+H,q="disconnected"+H,z="created"+H,Y=N+H,W="ADDITION",Z="MODIFICATION",G="REMOVAL",Q="DOMAttrModified",X="DOMContentLoaded",K="DOMSubtreeModified",J="<",ee="=",te=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],oe=[],ae="",ie=k.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},le=w.prototype,ce=le.hasOwnProperty,ue=le.isPrototypeOf,fe=w.defineProperty,de=[],pe=w.getOwnPropertyDescriptor,he=w.getOwnPropertyNames,ve=w.getPrototypeOf,me=w.setPrototypeOf,Ae=!!w.__proto__,ye=!1,ge="__dreCEv1",Ce=e.customElements,be=!/^force/.test(t.type)&&!!(Ce&&Ce.define&&Ce.get&&Ce.whenDefined),_e=w.create||w,ke=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,o){e=se.call(t,r),e<0?n[t.push(r)-1]=o:n[e]=o}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Be=!1,xe=_e(null),Te=_e(null),Ee=new ke,Pe=function(e){return e.toLowerCase()},Oe=w.create||function e(t){return t?(e.prototype=t,new e):this},Le=me||(Ae?function(e,t){return e.__proto__=t,e}:he&&pe?function(){function e(e,t){for(var n,r=he(t),o=0,a=r.length;o=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}function m(e,t){return Cr.call(e,t)}function A(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function y(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function g(e,t){return e.bind(t)}function C(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function b(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n-1)if(a&&!m(o,"default"))i=!1;else if(""===i||i===Br(e)){var l=ne(String,o.type);(l<0||s0&&(i=ge(i,(t||"")+"_"+n),ye(i[0])&&ye(c)&&(u[l]=S(c.text+i[0].text),i.shift()),u.push.apply(u,i)):s(i)?ye(c)?u[l]=S(c.text+i):""!==i&&u.push(S(i)):ye(i)&&ye(c)?u[l]=S(c.text+i.text):(a(e._isVList)&&o(i.tag)&&r(i.key)&&o(t)&&(i.key="__vlist"+t+"_"+n+"__"),u.push(i)));return u}function Ce(e,t){return(e.__esModule||Qr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function be(e,t,n,r,o){var a=ro();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:o},a}function _e(e,t,n){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;if(a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(!o(e.contexts)){var i=e.contexts=[n],s=!0,c=function(){for(var e=0,t=i.length;ePo&&wo[n].id>e.id;)n--;wo.splice(n+1,0,e)}else wo.push(e);To||(To=!0,le(Re))}}function ze(e,t,n){Mo.get=function(){return this[t][n]},Mo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Mo)}function Ye(e){e._watchers=[];var t=e.$options;t.props&&We(e,t.props),t.methods&&Je(e,t.methods),t.data?Ze(e):H(e._data={},!0),t.computed&&Qe(e,t.computed),t.watch&&t.watch!==Fr&&et(e,t.watch)}function We(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];!e.$parent||j(!1);for(var a in t)(function(a){o.push(a);var i=K(a,t,n,e);N(r,a,i),a in e||ze(e,"_props",a)})(a);j(!0)}function Ze(e){var t=e.$options.data;t=e._data="function"==typeof t?Ge(t,e):t||{},c(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);o--;){var a=n[o];r&&m(r,a)||T(a)||ze(e,"_data",a)}H(t,!0)}function Ge(e,t){L();try{return e.call(t,t)}catch(e){return re(e,t,"data()"),{}}finally{M()}}function Qe(e,t){var n=e._computedWatchers=Object.create(null),r=Zr();for(var o in t){var a=t[o],i="function"==typeof a?a:a.get;r||(n[o]=new Lo(e,i||k,k,So)),o in e||Xe(e,o,a)}}function Xe(e,t,n){var r=!Zr();"function"==typeof n?(Mo.get=r?Ke(t):n,Mo.set=k):(Mo.get=n.get?r&&!1!==n.cache?Ke(t):n.get:k,Mo.set=n.set?n.set:k),Object.defineProperty(e,t,Mo)}function Ke(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Jr.target&&t.depend(),t.value}}function Je(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?k:xr(t[n],e)}function et(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function $t(e){this._init(e)}function jt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=C(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function It(e){e.mixin=function(e){return this.options=Q(this.options,e),this}}function Dt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var a=e.name||n.options.name,i=function(e){this._init(e)};return i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.cid=t++,i.options=Q(n.options,e),i.super=n,i.options.props&&Ht(i),i.options.computed&&Nt(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,Or.forEach(function(e){i[e]=n[e]}),a&&(i.options.components[a]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=b({},i.options),o[r]=i,i}}function Ht(e){var t=e.options.props;for(var n in t)ze(e.prototype,"_props",n)}function Nt(e){var t=e.options.computed;for(var n in t)Xe(e.prototype,n,t[n])}function Rt(e){Or.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Ut(e){return e&&(e.Ctor.options.name||e.tag)}function Vt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Ft(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var a in n){var i=n[a];if(i){var s=Ut(i.componentOptions);s&&!t(s)&&qt(n,a,r,o)}}}function qt(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}function zt(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Yt(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Yt(t,n.data));return Wt(t.staticClass,t.class)}function Yt(e,t){return{staticClass:Zt(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return o(e)||o(t)?Zt(e,Gt(t)):""}function Zt(e,t){return e?t?e+" "+t:e:t||""}function Gt(e){return Array.isArray(e)?Qt(e):l(e)?Xt(e):"string"==typeof e?e:""}function Qt(e){for(var t,n="",r=0,a=e.length;r-1?ra[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ra[e]=/HTMLUnknownElement/.test(t.toString())}function en(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function tn(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function nn(e,t){return document.createElementNS(Jo[e],t)}function rn(e){return document.createTextNode(e)}function on(e){return document.createComment(e)}function an(e,t,n){e.insertBefore(t,n)}function sn(e,t){e.removeChild(t)}function ln(e,t){e.appendChild(t)}function cn(e){return e.parentNode}function un(e){return e.nextSibling}function fn(e){return e.tagName}function dn(e,t){e.textContent=t}function pn(e,t){e.setAttribute(t,"")}function hn(e,t){var n=e.data.ref;if(o(n)){var r=e.context,a=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?v(i[n],a):i[n]===a&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(a)<0&&i[n].push(a):i[n]=[a]:i[n]=a}}function vn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&mn(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function mn(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,a=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===a||oa(r)&&oa(a)}function An(e,t,n){var r,a,i={};for(r=t;r<=n;++r)a=e[r].key,o(a)&&(i[a]=r);return i}function yn(e,t){(e.data.directives||t.data.directives)&&gn(e,t)}function gn(e,t){var n,r,o,a=e===sa,i=t===sa,s=Cn(e.data.directives,e.context),l=Cn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],o=l[n],r?(o.oldValue=r.value,_n(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(_n(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n-1?Bn(e,t,n):Zo(t)?Ko(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Wo(t)?e.setAttribute(t,Ko(n)||"false"===n?"false":"true"):Qo(t)?Ko(n)?e.removeAttributeNS(Go,Xo(t)):e.setAttributeNS(Go,t,n):Bn(e,t,n)}function Bn(e,t,n){if(Ko(n))e.removeAttribute(t);else{if(Nr&&!Rr&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function xn(e,t){var n=t.elm,a=t.data,i=e.data;if(!(r(a.staticClass)&&r(a.class)&&(r(i)||r(i.staticClass)&&r(i.class)))){var s=zt(t),l=n._transitionClasses;o(l)&&(s=Zt(s,Gt(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function Tn(e){if(o(e[ha])){var t=Nr?"change":"input";e[t]=[].concat(e[ha],e[t]||[]),delete e[ha]}o(e[va])&&(e.change=[].concat(e[va],e.change||[]),delete e[va])}function En(e,t,n){var r=Vo;return function o(){null!==e.apply(null,arguments)&&On(t,o,n,r)}}function Pn(e,t,n,r,o){t=se(t),n&&(t=En(t,e,r)),Vo.addEventListener(e,t,qr?{capture:r,passive:o}:r)}function On(e,t,n,r){(r||Vo).removeEventListener(e,t._withTask||t,n)}function Ln(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Vo=t.elm,Tn(n),de(n,o,Pn,On,t.context),Vo=void 0}}function Mn(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,a,i=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};o(l.__ob__)&&(l=t.data.domProps=b({},l));for(n in s)r(l[n])&&(i[n]="");for(n in l){if(a=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n){i._value=a;var c=r(a)?"":String(a);Sn(i,c)&&(i.value=c)}else i[n]=a}}}function Sn(e,t){return!e.composing&&("OPTION"===e.tagName||$n(e,t)||jn(e,t))}function $n(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function jn(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}function In(e){var t=Dn(e.style);return e.staticStyle?b(e.staticStyle,t):t}function Dn(e){return Array.isArray(e)?_(e):"string"==typeof e?ya(e):e}function Hn(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=In(o.data))&&b(r,n);(n=In(e.data))&&b(r,n);for(var a=e;a=a.parent;)a.data&&(n=In(a.data))&&b(r,n);return r}function Nn(e,t){var n=t.data,a=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(a.staticStyle)&&r(a.style))){var i,s,l=t.elm,c=a.staticStyle,u=a.normalizedStyle||a.style||{},f=c||u,d=Dn(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?b({},d):d;var p=Hn(t,!0);for(s in f)r(p[s])&&ba(l,s,"");for(s in p)(i=p[s])!==f[s]&&ba(l,s,null==i?"":i)}}function Rn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Un(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Vn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&b(t,Ba(e.name||"v")),b(t,e),t}return"string"==typeof e?Ba(e):void 0}}function Fn(e){Sa(function(){Sa(e)})}function qn(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Rn(e,t))}function zn(e,t){e._transitionClasses&&v(e._transitionClasses,t),Un(e,t)}function Yn(e,t,n){var r=Wn(e,t),o=r.type,a=r.timeout,i=r.propCount;if(!o)return n();var s=o===Ta?Oa:Ma,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=i&&c()};setTimeout(function(){l0&&(n=Ta,u=i,f=a.length):t===Ea?c>0&&(n=Ea,u=c,f=l.length):(u=Math.max(i,c),n=u>0?i>c?Ta:Ea:null,f=n?n===Ta?a.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===Ta&&$a.test(r[Pa+"Property"])}}function Zn(e,t){for(;e.length1}function er(e,t){!0!==t.data.show&&Qn(t)}function tr(e,t,n){nr(e,t,n),(Nr||Ur)&&setTimeout(function(){nr(e,t,n)},0)}function nr(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var a,i,s=0,l=e.options.length;s-1,i.selected!==a&&(i.selected=a);else if(w(or(i),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function rr(e,t){return t.every(function(t){return!w(t,e)})}function or(e){return"_value"in e?e._value:e.value}function ar(e){e.target.composing=!0}function ir(e){e.target.composing&&(e.target.composing=!1,sr(e.target,"input"))}function sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function lr(e){return!e.componentInstance||e.data&&e.data.transition?e:lr(e.componentInstance._vnode)}function cr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?cr(we(t.children)):e}function ur(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var a in o)t[_r(a)]=o[a];return t}function fr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function dr(e){for(;e=e.parent;)if(e.data.transition)return!0}function pr(e,t){return t.key===e.key&&t.tag===e.tag}function hr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function vr(e){e.data.newPos=e.elm.getBoundingClientRect()}function mr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+o+"px)",a.transitionDuration="0s"}}var Ar=Object.freeze({}),yr=Object.prototype.toString,gr=(h("slot,component",!0),h("key,ref,slot,slot-scope,is")),Cr=Object.prototype.hasOwnProperty,br=/-(\w)/g,_r=A(function(e){return e.replace(br,function(e,t){return t?t.toUpperCase():""})}),kr=A(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),wr=/\B([A-Z])/g,Br=A(function(e){return e.replace(wr,"-$1").toLowerCase()}),xr=Function.prototype.bind?g:y,Tr=function(e,t,n){return!1},Er=function(e){return e},Pr="data-server-rendered",Or=["component","directive","filter"],Lr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Mr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Tr,isReservedAttr:Tr,isUnknownElement:Tr,getTagNamespace:k,parsePlatformTagName:Er,mustUseProp:Tr,_lifecycleHooks:Lr},Sr=/[^\w.$]/,$r="__proto__"in{},jr="undefined"!=typeof window,Ir="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Dr=Ir&&WXEnvironment.platform.toLowerCase(),Hr=jr&&window.navigator.userAgent.toLowerCase(),Nr=Hr&&/msie|trident/.test(Hr),Rr=Hr&&Hr.indexOf("msie 9.0")>0,Ur=Hr&&Hr.indexOf("edge/")>0,Vr=(Hr&&Hr.indexOf("android"),Hr&&/iphone|ipad|ipod|ios/.test(Hr)||"ios"===Dr),Fr=(Hr&&/chrome\/\d+/.test(Hr),{}.watch),qr=!1;if(jr)try{var zr={};Object.defineProperty(zr,"passive",{get:function(){qr=!0}}),window.addEventListener("test-passive",null,zr)}catch(e){}var Yr,Wr,Zr=function(){return void 0===Yr&&(Yr=!jr&&!Ir&&void 0!==e&&"server"===e.process.env.VUE_ENV),Yr},Gr=jr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Qr="undefined"!=typeof Symbol&&O(Symbol)&&"undefined"!=typeof Reflect&&O(Reflect.ownKeys);Wr="undefined"!=typeof Set&&O(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Xr=k,Kr=0,Jr=function(){this.id=Kr++,this.subs=[]};Jr.prototype.addSub=function(e){this.subs.push(e)},Jr.prototype.removeSub=function(e){v(this.subs,e)},Jr.prototype.depend=function(){Jr.target&&Jr.target.addDep(this)},Jr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?C(n):n;for(var r=C(arguments,1),o=0,a=n.length;oparseInt(this.max)&&qt(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Uo={KeepAlive:Ro};(function(e){var t={};t.get=function(){return Mr},Object.defineProperty(e,"config",t),e.util={warn:Xr,extend:b,mergeOptions:Q,defineReactive:N},e.set=R,e.delete=U,e.nextTick=le,e.options=Object.create(null),Or.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,b(e.options.components,Uo),jt(e),It(e),Dt(e),Rt(e)})($t),Object.defineProperty($t.prototype,"$isServer",{get:Zr}),Object.defineProperty($t.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($t,"FunctionalRenderContext",{value:At}),$t.version="2.5.16";var Vo,Fo,qo=h("style,class"),zo=h("input,textarea,option,select,progress"),Yo=function(e,t,n){return"value"===n&&zo(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Wo=h("contenteditable,draggable,spellcheck"),Zo=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Go="http://www.w3.org/1999/xlink",Qo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Xo=function(e){return Qo(e)?e.slice(6,e.length):""},Ko=function(e){return null==e||!1===e},Jo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ea=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ta=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),na=function(e){return ea(e)||ta(e)},ra=Object.create(null),oa=h("text,number,password,search,email,tel,url"),aa=Object.freeze({createElement:tn,createElementNS:nn,createTextNode:rn,createComment:on,insertBefore:an,removeChild:sn,appendChild:ln,parentNode:cn,nextSibling:un,tagName:fn,setTextContent:dn,setStyleScope:pn}),ia={create:function(e,t){hn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(hn(e,!0),hn(t))},destroy:function(e){hn(e,!0)}},sa=new to("",{},[]),la=["create","activate","update","remove","destroy"],ca={create:yn,update:yn,destroy:function(e){yn(e,sa)}},ua=Object.create(null),fa=[ia,ca],da={create:kn,update:kn},pa={create:xn,update:xn},ha="__r",va="__c",ma={create:Ln,update:Ln},Aa={create:Mn,update:Mn},ya=A(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),ga=/^--/,Ca=/\s*!important$/,ba=function(e,t,n){if(ga.test(t))e.style.setProperty(t,n);else if(Ca.test(n))e.style.setProperty(t,n.replace(Ca,""),"important");else{var r=ka(t);if(Array.isArray(n))for(var o=0,a=n.length;oh?(f=r(n[A+1])?null:n[A+1].elm,y(e,f,n,p,A,a)):p>A&&C(e,t,d,h)}function k(e,t,n,r){for(var a=n;a=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(22),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(3))},function(e,t,n){(function(e,t){(function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!=typeof customElements){if(b){var u=function(e){function n(e){var r;o(this,n);var i=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),s=e?HTMLElement.call(e):i;return t.call(s),r=s,a(i,r)}return i(n,e),_(n,null,[{key:"observedAttributes",get:function(){return c.observedAttributes||[]}}]),n}(s);return u.prototype.connectedCallback=n,u.prototype.disconnectedCallback=r,u.prototype.attributeChangedCallback=l,customElements.define(e,u),u}var f=function(e){var n=e?HTMLElement.call(e):this;return t.call(n),n};return f.observedAttributes=c.observedAttributes||[],f.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:f}}),f.prototype.connectedCallback=n,f.prototype.disconnectedCallback=r,f.prototype.attributeChangedCallback=l,customElements.define(e,f),f}}function c(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function u(e){var t=e,n=["true","false"].indexOf(e)>-1,r=parseFloat(t,10),o=!isNaN(r)&&isFinite(t)&&!t.match(/^0+[^.]\d*$/g);return n?t="true"===t:o&&(t=r),t}function f(e,t){if(e&&e.length)e.forEach(function(e){var n=w(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)});else if(e&&"object"===(void 0===e?"undefined":T(e)))for(var n in e){var r=w(n);-1===t.camelCase.indexOf(r)&&t.camelCase.push(r)}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[]};if(e.mixins&&e.mixins.forEach(function(e){f(e.props,t)}),e.extends&&e.extends.props){f(e.extends.props,t)}return f(e.props,t),t.camelCase.forEach(function(e){t.hyphenate.push(x(e))}),t}function p(e,t){t.camelCase.forEach(function(n,r){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==(void 0===e?"undefined":T(e))&&"function"!=typeof e||!this.__vue_custom_element__)this.setAttribute(t.hyphenate[r],u(e));else{var n=t.camelCase[r];this.__vue_custom_element__[n]=e}}})})}function h(e,t,n){var r=t.propsData||{};return n.hyphenate.forEach(function(t,o){var a=n.camelCase[o],i=e.attributes[t]||e[a];r[a]=i instanceof Attr?u(i.value):i}),r}function v(e){var t={};return c(e.attributes).forEach(function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue}),t}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return c(e).forEach(function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var r=v(e),o={attrs:r,domProps:{innerHTML:e.innerHTML}};r.slot&&(o.slot=r.slot,r.slot=void 0),n.push(t(e.tagName,o))}}),n}function A(e,t){var n={bubbles:!1,cancelable:!1,detail:t},r=void 0;return"function"==typeof window.CustomEvent?r=new CustomEvent(e,n):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail)),r}function y(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o=2){var f=e.cloneNode(!0).childNodes;u={propsData:s,props:r.camelCase,computed:{reactiveProps:function(){var e=this,t={};return r.camelCase.forEach(function(n){t[n]=e[n]}),t}},render:function(e){var t={props:this.reactiveProps};return e(i,t,m(f,e))}}}else if(1===l)u=i,u.propsData=s;else{u=i;var d={};Object.keys(s).forEach(function(e){d[e]={default:s[e]}}),u.props=d}var v=l>=2?"
":("
"+e.innerHTML+"
").replace(/vue-slot=/g,"slot=");if(o.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=v,u.el=e.shadowRoot.children[0]):(e.innerHTML=v,u.el=e.children[0]),p(e,r),"function"==typeof o.beforeCreateVueInstance&&(u=o.beforeCreateVueInstance(u)||u),e.__vue_custom_element__=new t(u),o.shadow&&o.shadowCss&&e.shadowRoot){var A=document.createElement("style");A.type="text/css",A.appendChild(document.createTextNode(o.shadowCss)),e.shadowRoot.appendChild(A)}e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),y(e,"vce-ready")}}function C(e){e.customElement=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="function"==typeof n,a=o&&{props:r.props||[]},i=d(o?a:n);return l(t,{constructorCallback:function(){"function"==typeof r.constructorCallback&&r.constructorCallback.call(this)},connectedCallback:function(){var a=this,s=o&&n(),l=s&&s.then&&"function"==typeof s.then;if("function"==typeof r.connectedCallback&&r.connectedCallback.call(this),o&&!l)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(l?s.then(function(t){var n=d(t);g(a,e,t,n,r)}):g(this,e,n,i,r)),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"==typeof r.disconnectedCallback&&r.disconnectedCallback.call(this),setTimeout(function(){e.__detached__&&e.__vue_custom_element__&&e.__vue_custom_element__.$destroy(!0)},r.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&void 0!==n){var o=w(e);"function"==typeof r.attributeChangedCallback&&r.attributeChangedCallback.call(this,e,t,n),this.__vue_custom_element__[o]=u(n)}},observedAttributes:i.hyphenate,shadow:!!r.shadow&&!!HTMLElement.prototype.attachShadow})}}Object.defineProperty(t,"__esModule",{value:!0}),Object.setPrototypeOf=Object.setPrototypeOf||r;var b=(r.bind(Object),function(){return"undefined"!=typeof Symbol&&"undefined"!=typeof Reflect}()),_=function(){function e(e,t){for(var n=0;n=t||n<0||x&&r>=A}function u(){var e=_();if(c(e))return f(e);g=setTimeout(u,l(e))}function f(e){return g=void 0,T&&v?o(e):(v=m=void 0,y)}function d(){void 0!==g&&clearTimeout(g),w=0,v=k=m=g=void 0}function p(){return void 0===g?y:f(_())}function h(){var e=_(),n=c(e);if(v=arguments,m=this,k=e,n){if(void 0===g)return a(k);if(x)return g=setTimeout(u,t),o(k)}return void 0===g&&(g=setTimeout(u,t)),y}var v,m,A,y,g,k,w=0,B=!1,x=!1,T=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,r(n)&&(B=!!n.leading,x="maxWait"in n,A=x?C(i(n.maxWait)||0,t):A,T="trailing"in n?!!n.trailing:T),h.cancel=d,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||o(e)&&g.call(e)==c}function i(e){if("number"==typeof e)return e;if(a(e))return l;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=d.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?l:+e}var s="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof t&&t&&t.Object===Object&&t,m="object"==typeof self&&self&&self.Object===Object&&self,A=v||m||Function("return this")(),y=Object.prototype,g=y.toString,C=Math.max,b=Math.min,_=function(){return A.Date.now()};e.exports=n}).call(t,n(3))},function(e,t,n){"use strict";function r(e){n(30),n(32)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(82),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-64d88602",null);t.default=u.exports},function(e,t,n){var r=n(31);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("0458350e",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,"radio4000-player{-webkit-box-sizing:border-box;box-sizing:border-box}radio4000-player *,radio4000-player :after,radio4000-player :before{-webkit-box-sizing:inherit;box-sizing:inherit}radio4000-player{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;min-width:200px;min-height:calc(3.5em + 200px + 2.75em);max-height:100vh;height:500px;height:calc(3.5em + 400px + 2.75em);background-color:#eae9ed;color:#1a1a1a;font-size:16px}radio4000-player,radio4000-player .Btn{font-family:Maison Neue,maisonneue,system-ui,sans-serif}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/Radio4000Player.vue"],names:[],mappings:"AA4KA,iBACC,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,oEAGC,2BAA4B,AACpB,kBAAoB,CAC5B,AACD,iBACC,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,WAAY,AAEZ,gBAAiB,AAGjB,wCAAyC,AAEzC,iBAAkB,AAElB,aAAc,AACd,oCAAqC,AACrC,yBAAqC,AACrC,cAAuB,AACvB,cAAgB,CAChB,AACD,uCAEC,uDAAkE,CAClE",file:"Radio4000Player.vue",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Box sizing for all elements of the web component in non scoped style */\nradio4000-player {\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n}\nradio4000-player *,\nradio4000-player *:before,\nradio4000-player *:after {\n\t-webkit-box-sizing: inherit;\n\t box-sizing: inherit;\n}\nradio4000-player {\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\twidth: 100%;\n\t/* youtube requirements */\n\tmin-width: 200px;\n\t/* min and max heights need to be on root elemenet aka */\n\t/* header+aside+footer height */\n\tmin-height: calc(3.5em + 200px + 2.75em);\n\t/* don't expand the viewport */\n\tmax-height: 100vh;\n\t/* default height */\n\theight: 500px;\n\theight: calc(3.5em + 400px + 2.75em);\n\tbackground-color: hsl(260, 10%, 92%);\n\tcolor: hsl(0, 0%, 10%);\n\tfont-size: 16px;\n}\nradio4000-player,\nradio4000-player .Btn {\n\tfont-family: 'Maison Neue', 'maisonneue', 'system-ui', sans-serif;\n}\n"],sourceRoot:""}])},function(e,t,n){var r=n(33);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("b2eb6372",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".Layout[data-v-64d88602]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border:1px solid #b3b3b3}.Layout-header[data-v-64d88602]{-ms-flex-negative:0;flex-shrink:0;min-height:3.5em}.Layout-footer[data-v-64d88602]{-ms-flex-negative:0;flex-shrink:0;min-height:2.75em;display:-webkit-box;display:-ms-flexbox;display:flex}.Layout-aside>[data-v-64d88602],.Layout-footer>[data-v-64d88602],.Layout-section[data-v-64d88602]{-webkit-box-flex:1;-ms-flex:1;flex:1}.Layout-section[data-v-64d88602]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:0;overflow:hidden}.Layout-section>[data-v-64d88602]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.Layout-aside[data-v-64d88602]{min-height:200px;display:-webkit-box;display:-ms-flexbox;display:flex}.Layout-main[data-v-64d88602]{-ms-flex-preferred-size:20em;flex-basis:20em;min-height:200px;max-width:30rem;position:relative}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/Radio4000Player.vue"],names:[],mappings:"AACA,yBAEC,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAEhB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,sBAAuB,AAC/B,gBAAiB,AACjB,wBAAkC,CAClC,AACD,gCACC,oBAAqB,AACjB,cAAe,AACnB,gBAAkB,CAClB,AACD,gCACC,oBAAqB,AACjB,cAAe,AACnB,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AAOD,kGAJC,mBAAoB,AAChB,WAAY,AACR,MAAQ,CAkBhB,AAhBD,iCAIC,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,uBAAwB,AACpB,mBAAoB,AAC5B,mBAAoB,AAChB,eAAgB,AACpB,aAAc,AAEd,eAAiB,CACjB,AACD,kCACC,mBAAoB,AAChB,oBAAqB,AACjB,WAAa,CACrB,AACD,+BACC,iBAAkB,AAElB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAEd,AACD,8BACC,6BAA8B,AAC1B,gBAAiB,AACrB,iBAAkB,AAElB,gBAAiB,AACjB,iBAAmB,CACnB",file:"Radio4000Player.vue",sourcesContent:["\n.Layout[data-v-64d88602] {\n\t/* expand to container */\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\t/* allow scrolling */\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-webkit-box-orient: vertical;\n\t-webkit-box-direction: normal;\n\t -ms-flex-direction: column;\n\t flex-direction: column;\n\toverflow: hidden;\n\tborder: 1px solid hsl(0, 0%, 70%);\n}\n.Layout-header[data-v-64d88602] {\n\t-ms-flex-negative: 0;\n\t flex-shrink: 0;\n\tmin-height: 3.5em;\n}\n.Layout-footer[data-v-64d88602] {\n\t-ms-flex-negative: 0;\n\t flex-shrink: 0;\n\tmin-height: 2.75em;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.Layout-aside > *[data-v-64d88602],\n.Layout-footer > *[data-v-64d88602] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n}\n.Layout-section[data-v-64d88602] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-webkit-box-orient: horizontal;\n\t-webkit-box-direction: normal;\n\t -ms-flex-direction: row;\n\t flex-direction: row;\n\t-ms-flex-wrap: wrap;\n\t flex-wrap: wrap;\n\tmin-height: 0;\n\t/* allow scrolling in FF */\n\toverflow: hidden;\n}\n.Layout-section>*[data-v-64d88602] {\n\t-webkit-box-flex: 1;\n\t -ms-flex-positive: 1;\n\t flex-grow: 1;\n}\n.Layout-aside[data-v-64d88602] {\n\tmin-height: 200px;\n\t/* youtube requirements */\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t/* allow child to expand */\n}\n.Layout-main[data-v-64d88602] {\n\t-ms-flex-preferred-size: 20em;\n\t flex-basis: 20em;\n\tmin-height: 200px;\n\t/* this is where it breaks into two columns */\n\tmax-width: 30rem;\n\tposition: relative;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(35)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(7),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(44),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-7fc16778",null);t.default=u.exports},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6e9c7fee",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".Header[data-v-7fc16778]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f5f5f5;border-bottom:1px solid #b3b3b3}.Header-media[data-v-7fc16778]{position:relative;width:1em;height:1em;font-size:3.5em}.Header-media img[data-v-7fc16778]{display:inline-block;vertical-align:top;width:100%}.Header-body[data-v-7fc16778]{-webkit-box-flex:1;-ms-flex:1;flex:1;line-height:1.4}.Header-channel[data-v-7fc16778]{margin-left:.3em;margin-bottom:0;margin-top:0}.Header-track[data-v-7fc16778]{font-size:.9375em;margin:0}marquee[data-v-7fc16778]{display:block;min-height:1em}.Header-logo[data-v-7fc16778]{position:absolute;top:.2em;right:.2em;opacity:.1;-webkit-transition:opacity .1s;transition:opacity .1s}.Header-logo[data-v-7fc16778]:hover{opacity:1}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/ChannelHeader.vue"],names:[],mappings:"AACA,yBACC,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AAClB,iBAAkB,AACtB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,yBAAkC,AAClC,+BAAyC,CACzC,AACD,+BACC,kBAAmB,AACnB,UAAW,AACX,WAAY,AACZ,eAAiB,CACjB,AACD,mCACC,qBAAsB,AACtB,mBAAoB,AACpB,UAAY,CACZ,AACD,8BACC,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAChB,eAAiB,CACjB,AACD,iCACC,iBAAmB,AACnB,gBAAiB,AACjB,YAAc,CACd,AACD,+BACC,kBAAoB,AACpB,QAAU,CACV,AACD,yBACC,cAAe,AACf,cAAgB,CAChB,AACD,8BACC,kBAAmB,AACnB,SAAW,AACX,WAAa,AACb,WAAa,AACb,+BAAkC,AAClC,sBAA0B,CAC1B,AACD,oCACC,SAAW,CACX",file:"ChannelHeader.vue",sourcesContent:["\n.Header[data-v-7fc16778] {\n\tposition: relative;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-ms-flex-wrap: nowrap;\n\t flex-wrap: nowrap;\n\t-webkit-box-align: center;\n\t -ms-flex-align: center;\n\t align-items: center;\n\tbackground-color: hsl(0, 0%, 96%);\n\tborder-bottom: 1px solid hsl(0, 0%, 70%);\n}\n.Header-media[data-v-7fc16778] {\n\tposition: relative;\n\twidth: 1em;\n\theight: 1em;\n\tfont-size: 3.5em;\n}\n.Header-media img[data-v-7fc16778] {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\twidth: 100%;\n}\n.Header-body[data-v-7fc16778] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\tline-height: 1.4;\n}\n.Header-channel[data-v-7fc16778] {\n\tmargin-left: 0.3em;\n\tmargin-bottom: 0;\n\tmargin-top: 0;\n}\n.Header-track[data-v-7fc16778] {\n\tfont-size: 0.9375em; /* 15/16 */\n\tmargin: 0;\n}\nmarquee[data-v-7fc16778] {\n\tdisplay: block;\n\tmin-height: 1em; /* avoid jumps */\n}\n.Header-logo[data-v-7fc16778] {\n\tposition: absolute;\n\ttop: 0.2em;\n\tright: 0.2em;\n\topacity: 0.1;\n\t-webkit-transition: opacity 100ms;\n\ttransition: opacity 100ms;\n}\n.Header-logo[data-v-7fc16778]:hover {\n\topacity: 1;\n}\n"],sourceRoot:""}])},function(e,t,n){var r=n(38);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("33fae264",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.Loading[data-v-9b6f0982]{font-size:.9em;position:relative}.Loading span[data-v-9b6f0982]:before{display:block;content:"";position:absolute;top:0;left:0;width:10em;height:2px;background:-webkit-gradient(linear,left top,right top,from(#a7a7a7),to(hsla(0,0%,100%,0)));background:linear-gradient(90deg,#a7a7a7,hsla(0,0%,100%,0));-webkit-animation-name:Loading-data-v-9b6f0982;animation-name:Loading-data-v-9b6f0982;-webkit-animation-duration:4s;animation-duration:4s;-webkit-animation-direction:alternate;animation-direction:alternate;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.Header-image .Loading[data-v-9b6f0982]{position:absolute;top:0;right:0;left:0;bottom:0}@-webkit-keyframes Loading-data-v-9b6f0982{0%{width:10%}to{width:100%}}@keyframes Loading-data-v-9b6f0982{0%{width:10%}to{width:100%}}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/Loading.vue"],names:[],mappings:"AACA,0BACC,eAAiB,AACjB,iBAAmB,CACnB,AACD,sCACC,cAAe,AACf,WAAY,AACZ,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,2FAAsG,AACtG,4DAAwE,AAExE,+CAAgD,AAExC,uCAAwC,AAChD,8BAA+B,AACvB,sBAAuB,AAC/B,sCAAuC,AAC/B,8BAA+B,AACvC,uCAAwC,AAChC,+BAAgC,AACxC,2CAA4C,AACpC,kCAAoC,CAC5C,AACD,wCACC,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,OAAQ,AACR,QAAU,CACV,AACD,2CACA,GACE,SAAW,CACZ,AACD,GACE,UAAY,CACb,CACA,AACD,mCACA,GACE,SAAW,CACZ,AACD,GACE,UAAY,CACb,CACA",file:"Loading.vue",sourcesContent:["\n.Loading[data-v-9b6f0982] {\n\tfont-size: 0.9em;\n\tposition: relative;\n}\n.Loading span[data-v-9b6f0982]::before {\n\tdisplay: block;\n\tcontent: '';\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 10em;\n\theight: 2px;\n\tbackground: -webkit-gradient( linear, left top, right top, from(#a7a7a7), to(rgba(255, 255, 255, 0)));\n\tbackground: linear-gradient( to right, #a7a7a7, rgba(255, 255, 255, 0));\n\n\t-webkit-animation-name: Loading-data-v-9b6f0982;\n\n\t animation-name: Loading-data-v-9b6f0982;\n\t-webkit-animation-duration: 4s;\n\t animation-duration: 4s;\n\t-webkit-animation-direction: alternate;\n\t animation-direction: alternate;\n\t-webkit-animation-timing-function: ease;\n\t animation-timing-function: ease;\n\t-webkit-animation-iteration-count: infinite;\n\t animation-iteration-count: infinite;\n}\n.Header-image .Loading[data-v-9b6f0982] {\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tleft: 0;\n\tbottom: 0;\n}\n@-webkit-keyframes Loading-data-v-9b6f0982 {\n0% {\n\t\twidth: 10%;\n}\n100% {\n\t\twidth: 100%;\n}\n}\n@keyframes Loading-data-v-9b6f0982 {\n0% {\n\t\twidth: 10%;\n}\n100% {\n\t\twidth: 100%;\n}\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Loading",class:{"Loading--hasNoMessage":!e.message}},[e.message?n("span",[e._v(e._s(e.message))]):n("span")])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(41)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(43),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-4c3fa5f8",null);t.default=u.exports},function(e,t,n){var r=n(42);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("24f1ddec",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".R4[data-v-4c3fa5f8]{width:1.2em;height:1.2em;fill:#000}.R4 [data-v-4c3fa5f8]{fill:inherit}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/R4Logo.vue"],names:[],mappings:"AACA,qBACC,YAAa,AACb,aAAc,AAEd,SAAY,CACZ,AACD,sBACC,YAAc,CACd",file:"R4Logo.vue",sourcesContent:["\n.R4[data-v-4c3fa5f8] {\n\twidth: 1.2em;\n\theight: 1.2em;\n\t/*fill: white;*/\n\tfill: black;\n}\n.R4 *[data-v-4c3fa5f8] {\n\tfill: inherit;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"R4",attrs:{width:"150",height:"130",viewBox:"0 0 150 130",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:figma":"http://www.figma.com/figma/ns"}},[n("title",[e._v("Radio4000")]),n("g",{attrs:{"figma:type":"frame",fill:"#FFF"}},[n("use",{attrs:{"xlink:href":"#a",transform:"translate(62.367 18.91)","figma:type":"vector-operation"}}),n("use",{attrs:{"xlink:href":"#b","figma:type":"vector-operation"}})]),n("defs",[n("path",{attrs:{id:"a","fill-rule":"evenodd",d:"M54.51 89.487H0v-19.92L42.15 0h32.486v69.724H87.63v19.763H74.636v21.187H54.51V89.487zm5.866-53.654l-28.71 40h28.99v-40h-.28z"}}),n("path",{attrs:{id:"b","fill-rule":"evenodd",d:"M7.818 91.806H0V0h40.76c23.284 0 37.878 8.13 37.878 26.624 0 16-12.626 24.132-29.516 26.1l25.91 39.082h-12.3L37.645 54.38H7.818v37.426zM7.59 25.248v21.05h27.14c12.387 0 23.66-2.438 23.66-10.49 0-8.05-10.3-10.56-23.938-10.56H7.592z"}})])])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"Header"},[n("a",{staticClass:"Header-logo",attrs:{href:e.linkHref,target:e.linkTarget,rel:e.linkRel,title:"Open this radio on Radio4000.com"}},[n("R4Logo")],1),e._v(" "),n("a",{staticClass:"Header-media",attrs:{href:e.linkHref,target:e.linkTarget,rel:e.linkRel,title:"Open this radio on Radio4000.com"}},[e.image?n("img",{attrs:{src:e.image,alt:""}}):n("loading")],1),e._v(" "),e.channel.title?n("div",{staticClass:"Header-body"},[n("p",{staticClass:"Header-channel",attrs:{title:e.channelDescription}},[n("strong",[e._v(e._s(e.channel.title))])]),e._v(" "),n("marquee",{staticClass:"Header-track",attrs:{title:[e.track.body?e.track.body:""]}},[e._v(e._s(e.track.title))])],1):n("loading")],1)},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(46)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(52),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-e5dfa002",null);t.default=u.exports},function(e,t,n){var r=n(47);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("e1a06112",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.TrackList-list[data-v-e5dfa002]{position:absolute;width:100%;height:100%;overflow-y:auto;margin:0;padding:0;list-style:none;counter-reset:tracks;-webkit-transform:translateZ(0);transform:translateZ(0)}.TrackList-item[data-v-e5dfa002]{position:relative;border-bottom:1px solid #e0e0e0}.TrackList-item[data-v-e5dfa002]:last-child{border-bottom:0}.TrackList-item[data-v-e5dfa002]:after{content:counter(tracks) "";counter-increment:tracks;color:#696969;font-size:.5em;position:absolute;top:.5em;right:.5em}.TrackList-query[data-v-e5dfa002]{background-color:hsla(0,0%,50%,.2);padding:.5em;font-size:.75em;text-align:center}.TrackList-controls[data-v-e5dfa002]{position:absolute;bottom:-.1em;right:1.5em;z-index:1;opacity:.6}.TrackList-controls[data-v-e5dfa002]:hover{opacity:1}.Btn--locateTrack[data-v-e5dfa002]{padding:.9em;margin:0;line-height:1;border:1px solid #999;background-color:#f5f5f5;border-radius:3px}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/TrackList.vue"],names:[],mappings:"AACA,iCACC,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,SAAU,AACV,UAAW,AACX,gBAAiB,AACjB,qBAAsB,AACtB,gCAAiC,AACzB,uBAAyB,CACjC,AACD,iCACC,kBAAmB,AACnB,+BAAiC,CACjC,AACD,4CACC,eAAiB,CACjB,AACD,uCACC,2BAA4B,AAC5B,yBAA0B,AAC1B,cAAe,AACf,eAAiB,AACjB,kBAAmB,AACnB,SAAW,AACX,UAAa,CACb,AACD,kCACC,mCAAwC,AACxC,aAAe,AACf,gBAAkB,AAClB,iBAAmB,CACnB,AACD,qCACC,kBAAmB,AACnB,aAAe,AACf,YAAa,AACb,UAAW,AACX,UAAa,CACb,AACD,2CACC,SAAW,CACX,AACD,mCACC,aAAe,AACf,SAAU,AACV,cAAe,AACf,sBAAuB,AACvB,yBAAkC,AAClC,iBAAmB,CACnB",file:"TrackList.vue",sourcesContent:['\n.TrackList-list[data-v-e5dfa002] {\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n\toverflow-y: auto;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tcounter-reset: tracks;\n\t-webkit-transform: translateZ(0);\n\t transform: translateZ(0);\n}\n.TrackList-item[data-v-e5dfa002] {\n\tposition: relative;\n\tborder-bottom: 1px solid #e0e0e0;\n}\n.TrackList-item[data-v-e5dfa002]:last-child {\n\tborder-bottom: 0;\n}\n.TrackList-item[data-v-e5dfa002]::after {\n\tcontent: counter(tracks) "";\n\tcounter-increment: tracks;\n\tcolor: #696969;\n\tfont-size: 0.5em;\n\tposition: absolute;\n\ttop: 0.5em;\n\tright: 0.5em;\n}\n.TrackList-query[data-v-e5dfa002] {\n\tbackground-color: hsla(0, 0%, 50%, 0.2);\n\tpadding: 0.5em;\n\tfont-size: 0.75em;\n\ttext-align: center;\n}\n.TrackList-controls[data-v-e5dfa002] {\n\tposition: absolute;\n\tbottom: -0.1em;\n\tright: 1.5em;\n\tz-index: 1;\n\topacity: 0.6;\n}\n.TrackList-controls[data-v-e5dfa002]:hover {\n\topacity: 1;\n}\n.Btn--locateTrack[data-v-e5dfa002] {\n\tpadding: 0.9em;\n\tmargin: 0;\n\tline-height: 1;\n\tborder: 1px solid #999;\n\tbackground-color: hsl(0, 0%, 96%);\n\tborder-radius: 3px;\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(49)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(51),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-e613e862",null);t.default=u.exports},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("78b5fe3c",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".TrackItem[data-v-e613e862]{display:block;padding:.4em .6em;color:initial;text-decoration:none}.TrackItem-body[data-v-e613e862],.TrackItem-title[data-v-e613e862]{margin:0;padding-left:.3em;padding-right:.3em;word-break:break-all}.TrackItem-title[data-v-e613e862]{display:inline-block;font-size:.8125em;line-height:1.4}.TrackItem-body[data-v-e613e862]{font-size:.75em;color:#696969}.TrackItem.active[data-v-e613e862],.TrackItem[data-v-e613e862]:hover{background-color:hsla(0,0%,100%,.2)}.TrackItem.active .TrackItem-title[data-v-e613e862]{background-color:#5e1ae6;color:#fff}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/TrackItem.vue"],names:[],mappings:"AACA,4BACC,cAAe,AACf,kBAAqB,AACrB,cAAe,AACf,oBAAsB,CACtB,AACD,mEAEC,SAAU,AACV,kBAAoB,AACpB,mBAAqB,AACrB,oBAAsB,CACtB,AACD,kCACC,qBAAsB,AACtB,kBAAoB,AACpB,eAAiB,CACjB,AACD,iCACC,gBAAkB,AAClB,aAAe,CACf,AACD,qEAEC,mCAAyC,CACzC,AACD,oDACC,yBAA0B,AAC1B,UAAa,CACb",file:"TrackItem.vue",sourcesContent:["\n.TrackItem[data-v-e613e862] {\n\tdisplay: block;\n\tpadding: 0.4em 0.6em;\n\tcolor: initial;\n\ttext-decoration: none;\n}\n.TrackItem-title[data-v-e613e862],\n.TrackItem-body[data-v-e613e862] {\n\tmargin: 0;\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n\tword-break: break-all;\n}\n.TrackItem-title[data-v-e613e862] {\n\tdisplay: inline-block; /* for .active styles */\n\tfont-size: 0.8125em; /* 13/16 */\n\tline-height: 1.4;\n}\n.TrackItem-body[data-v-e613e862] {\n\tfont-size: 0.75em; /* 12/16 */\n\tcolor: #696969;\n}\n.TrackItem[data-v-e613e862]:hover,\n.TrackItem.active[data-v-e613e862] {\n\tbackground-color: hsla(0, 0%, 100%, 0.2);\n}\n.TrackItem.active .TrackItem-title[data-v-e613e862] {\n\tbackground-color: #5e1ae6;\n\tcolor: white;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"TrackItem",attrs:{href:e.href},on:{click:function(t){t.preventDefault(),e.$emit("select")}}},[n("p",{staticClass:"TrackItem-title"},[e._v(e._s(e.track.title))]),e._v(" "),e.track.body?n("p",{staticClass:"TrackItem-body"},[e._v(e._s(e.track.body))]):e._e()])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TrackList"},[e.hasTracks?e._e():n("Loading"),e._v(" "),n("ol",{staticClass:"TrackList-list"},[e.query?n("li",{staticClass:"TrackList-query"},[e._v("\n\t\t\tPlaying selection "),n("em",[e._v('"'+e._s(e.query)+'"')])]):e._e(),e._v(" "),e._l(e.tracks,function(t,r){return n("li",{key:t.id,staticClass:"TrackList-item"},[n("track-item",{class:{active:e.currentTrackIndex===r},attrs:{track:t,channelSlug:e.channelSlug},on:{select:function(n){e.$emit("select",t)}}})],1)})],2),e._v(" "),e.hasTracks?n("div",{staticClass:"TrackList-controls"},[n("button",{staticClass:"Btn Btn--locateTrack",attrs:{title:"Locate current track"},on:{click:e.locateCurrentTrack}},[e._v("◎")])]):e._e()],1)},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(54)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(72),l=n(2),c=r,u=l(a.a,s.a,!1,c,null,null);t.default=u.exports},function(e,t,n){var r=n(55);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("1fc37414",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".ProviderPlayer{background-color:#000;overflow:hidden;position:relative;min-height:200px;min-width:200px}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/ProviderPlayer.vue"],names:[],mappings:"AACA,gBACC,sBAAwB,AACxB,gBAAiB,AACjB,kBAAmB,AAEnB,iBAAkB,AAClB,eAAiB,CACjB",file:"ProviderPlayer.vue",sourcesContent:["\n.ProviderPlayer {\n\tbackground-color: black;\n\toverflow: hidden;\n\tposition: relative;\n\t/* Youtube requirements */\n\tmin-height: 200px;\n\tmin-width: 200px;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(57)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(71),l=n(2),c=r,u=l(a.a,s.a,!1,c,null,null);t.default=u.exports},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6f9c17c2",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".ytplayer{width:100%;height:100%;position:absolute}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/YoutubePlayer.vue"],names:[],mappings:"AACA,UACC,WAAY,AACZ,YAAa,AACb,iBAAmB,CACnB",file:"YoutubePlayer.vue",sourcesContent:["\n.ytplayer {\n\twidth: 100%;\n\theight: 100%;\n\tposition: absolute;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(60),i=r(a),s=n(61),l=r(s),c=n(63),u=r(c),f=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=(0,i.default)();if(f||(f=(0,l.default)(r)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=u.default.proxyEvents(r);var a=new Promise(function(n){if("string"==typeof e||e instanceof HTMLElement)f.then(function(o){var a=new o.Player(e,t);return r.on("ready",function(){n(a)}),null});else{if(!("object"===(void 0===e?"undefined":o(e))&&e.playVideo instanceof Function))throw new TypeError("Unexpected state.");n(e)}}),s=u.default.promisifyPlayer(a,n);return s.on=r.on,s.off=r.off,s},e.exports=t.default},function(e,t,n){(function(t){function n(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!=n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,o=t[e];if(o)for(r=o.length;r--;)o[r].handler(n)},e}t.gajus=t.gajus||{},t.gajus.Sister=n,e.exports=n}).call(t,n(3))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){var t=new Promise(function(e){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void e(window.YT);var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){t&&t(),e(window.YT)}}),n="http:"===window.location.protocol?"http:":"https:";return(0,o.default)(n+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)}),t},e.exports=t.default},function(e,t){function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,a){var i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"==typeof t&&(a=t,t={}),t=t||{},a=a||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?r:o)(s,a),s.onload||r(s,a),i.appendChild(s)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),a=r(o),i=n(67),s=r(i),l=n(68),c=r(l),u=n(69),f=r(u),d=(0,a.default)("youtube-player"),p={};p.proxyEvents=function(e){var t={},n=!0,r=!1,o=void 0;try{for(var a,i=c.default[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var s=a.value;(function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){d('event "%s"',r,t),e.trigger(n,t)}})(s)}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return t},p.promisifyPlayer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=!0,o=!1,a=void 0;try{for(var i,l=s.default[Symbol.iterator]();!(r=(i=l.next()).done);r=!0){var c=i.value;(function(r){t&&f.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,a=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(a=o))}),e.splice(a,0,r)}}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function l(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(65),t.log=i,t.formatArgs=a,t.save=s,t.load=l,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(l())}).call(t,n(4))},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var a=new Array(arguments.length),i=0;i100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*u;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=l?Math.round(e/l)+"h":e>=s?Math.round(e/s)+"m":e>=i?Math.round(e/i)+"s":e+"ms"}function o(e){return a(e,c,"day")||a(e,l,"hour")||a(e,s,"minute")||a(e,i,"second")||e+" ms"}function a(e,t,n){if(!(e0)return n(e);if("number"===a&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ytplayer"})},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ProviderPlayer"},["youtube"===e.provider?n("youtube-player",{attrs:{volume:e.volume,autoplay:e.autoplay,videoId:e.track.ytid,isPlaying:e.isPlaying},on:{playing:function(t){e.$emit("play")},paused:function(t){e.$emit("pause")},ended:function(t){e.$emit("trackEnded")}}}):e._e()],1)},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(74)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(15),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(80),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-b88749fc",null);t.default=u.exports},function(e,t,n){var r=n(75);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6caaa6ca",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.PlayerControl[data-v-b88749fc]{min-height:2.5em;background:#f5f5f5;border-top:1px solid #b3b3b3;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;position:relative}.PlayerControl-group[data-v-b88749fc]{-ms-flex-preferred-size:3em;flex-basis:3em;display:-webkit-box;display:-ms-flexbox;display:flex}.PlayerControl-group--large[data-v-b88749fc]{-webkit-box-flex:1;-ms-flex:1;flex:1}.Btn[data-v-b88749fc]{width:100%;padding:0 .5rem;font-size:.8em;line-height:1;background:#f5f5f5;border:0}.Btn--isNotFullVolume span[data-v-b88749fc]{opacity:.4}.Btn--mute span[data-v-b88749fc]:before{content:"\\25A0"}.Btn--mute.is-active span[data-v-b88749fc]:before{content:"\\25A1"}.Btn--shuffle[data-v-b88749fc]{font-size:2em}.Btn--shuffle span[data-v-b88749fc]{position:relative;top:-.05em;opacity:.5}.Btn--shuffle.is-active span[data-v-b88749fc]{opacity:1}.Btn--next[data-v-b88749fc]{font-size:1.5em}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/PlayerControls.vue"],names:[],mappings:"AACA,gCACC,iBAAkB,AAClB,mBAA4B,AAG5B,6BAAsC,AACtC,SAAU,AACV,UAAW,AACX,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,yBAA0B,AACtB,qBAAsB,AAC9B,iBAAmB,CAZnB,AAcD,sCACC,4BAA6B,AACzB,eAAgB,AACpB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AACD,6CACC,mBAAoB,AAChB,WAAY,AACR,MAAQ,CAChB,AACD,sBACC,WAAY,AACZ,gBAAkB,AAClB,eAAiB,AACjB,cAAe,AACf,mBAA4B,AAC5B,QAAU,CACV,AACD,4CACC,UAAa,CACb,AACD,wCACC,eAAa,CACb,AACD,kDACC,eAAa,CACb,AACD,+BACC,aAAe,CACf,AACD,oCACC,kBAAmB,AACnB,WAAa,AACb,UAAa,CACb,AACD,8CACC,SAAW,CACX,AAGD,4BACC,eAAiB,CACjB",file:"PlayerControls.vue",sourcesContent:["\n.PlayerControl[data-v-b88749fc] {\n\tmin-height: 2.5em;\n\tbackground: hsl(0, 0%, 96%);\n}\n.PlayerControl[data-v-b88749fc] {\n\tborder-top: 1px solid hsl(0, 0%, 70%);\n\tmargin: 0;\n\tpadding: 0;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-webkit-box-orient: horizontal;\n\t-webkit-box-direction: normal;\n\t -ms-flex-flow: row nowrap;\n\t flex-flow: row nowrap;\n\tposition: relative; /* on top of ProviderPlayer */\n}\n.PlayerControl-group[data-v-b88749fc] {\n\t-ms-flex-preferred-size: 3em;\n\t flex-basis: 3em;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.PlayerControl-group--large[data-v-b88749fc] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n}\n.Btn[data-v-b88749fc] {\n\twidth: 100%;\n\tpadding: 0 0.5rem;\n\tfont-size: 0.8em;\n\tline-height: 1;\n\tbackground: hsl(0, 0%, 96%);\n\tborder: 0;\n}\n.Btn--isNotFullVolume span[data-v-b88749fc] {\n\topacity: 0.4;\n}\n.Btn--mute span[data-v-b88749fc]::before {\n\tcontent: '■';\n}\n.Btn--mute.is-active span[data-v-b88749fc]::before {\n\tcontent: '□';\n}\n.Btn--shuffle[data-v-b88749fc] {\n\tfont-size: 2em;\n}\n.Btn--shuffle span[data-v-b88749fc] {\n\tposition: relative;\n\ttop: -0.05em;\n\topacity: 0.5;\n}\n.Btn--shuffle.is-active span[data-v-b88749fc] {\n\topacity: 1;\n}\n.PlayPause[data-v-b88749fc] {\n}\n.Btn--next[data-v-b88749fc] {\n\tfont-size: 1.5em;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(77)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(16),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(79),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-6b865783",null);t.default=u.exports},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("3e8c86ae",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.PlayPause[data-v-6b865783]{display:-webkit-box;display:-ms-flexbox;display:flex}.PlayPause[data-v-6b865783]::-moz-selection{background-color:transparent}.PlayPause[data-v-6b865783]::selection{background-color:transparent}.PlayPause-state[data-v-6b865783]{width:0;height:0;border:none;visibility:hidden;margin:0;position:absolute}.PlayPause-label[data-v-6b865783]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex}.PlayPause-controller[data-v-6b865783]{display:inline-block;position:relative;font-size:16px;width:1em;height:1.2em;padding:0;margin:auto}.PlayPause-controller[data-v-6b865783]:after,.PlayPause-controller[data-v-6b865783]:before{-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);content:"";border-top:.3em solid transparent;border-bottom:.3em solid transparent;border-left:.5em solid #000}.PlayPause-controller[data-v-6b865783]:before{left:0;-webkit-transition:all .1s linear;transition:all .1s linear;width:0;height:.6em}.PlayPause-controller[data-v-6b865783]:after{right:0;-webkit-transition:all .15s linear;transition:all .15s linear;width:0;height:0}.PlayPause-state:checked+.PlayPause-label .PlayPause-controller[data-v-6b865783]:after,.PlayPause-state:checked+.PlayPause-label .PlayPause-controller[data-v-6b865783]:before{border-top-width:0;border-bottom-width:0;border-left-width:.38em;height:100%}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/PlayPauseButton.vue"],names:[],mappings:"AACA,4BACC,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AACD,4CACC,4BAA8B,CAC9B,AACD,uCACC,4BAA8B,CAC9B,AACD,kCACC,QAAS,AACT,SAAU,AACV,YAAa,AACb,kBAAmB,AACnB,SAAU,AACV,iBAAmB,CACnB,AACD,kCACC,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAChB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AACD,uCACC,qBAAsB,AACtB,kBAAmB,AACnB,eAAgB,AAChB,UAAW,AACX,aAAc,AACd,UAAW,AACX,WAAa,CACb,AACD,2FAEC,+BAAgC,AACxB,uBAAwB,AAChC,kBAAmB,AACnB,QAAS,AACT,mCAAoC,AAChC,+BAAgC,AAC5B,2BAA4B,AACpC,WAAY,AACZ,kCAAoC,AACpC,qCAAuC,AACvC,2BAA+B,CAC/B,AACD,8CACC,OAAQ,AACR,kCAAqC,AACrC,0BAA6B,AAC7B,QAAS,AACT,WAAc,CACd,AACD,6CACC,QAAS,AACT,mCAAqC,AACrC,2BAA6B,AAC7B,QAAS,AACT,QAAU,CACV,AACD,+KAEC,mBAAoB,AACpB,sBAAuB,AACvB,wBAA0B,AAC1B,WAAa,CACb",file:"PlayPauseButton.vue",sourcesContent:['\n.PlayPause[data-v-6b865783] {\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.PlayPause[data-v-6b865783]::-moz-selection {\n\tbackground-color: transparent;\n}\n.PlayPause[data-v-6b865783]::selection {\n\tbackground-color: transparent;\n}\n.PlayPause-state[data-v-6b865783] {\n\twidth: 0;\n\theight: 0;\n\tborder: none;\n\tvisibility: hidden;\n\tmargin: 0;\n\tposition: absolute;\n}\n.PlayPause-label[data-v-6b865783] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.PlayPause-controller[data-v-6b865783] {\n\tdisplay: inline-block;\n\tposition: relative;\n\tfont-size: 16px;\n\twidth: 1em;\n\theight: 1.2em;\n\tpadding: 0;\n\tmargin: auto;\n}\n.PlayPause-controller[data-v-6b865783]::before,\n.PlayPause-controller[data-v-6b865783]::after {\n\t-webkit-box-sizing: content-box;\n\t box-sizing: content-box;\n\tposition: absolute;\n\ttop: 50%;\n\t-webkit-transform: translateY(-50%);\n\t -ms-transform: translateY(-50%);\n\t transform: translateY(-50%);\n\tcontent: "";\n\tborder-top: 0.3em solid transparent;\n\tborder-bottom: 0.3em solid transparent;\n\tborder-left: 0.5em solid black;\n}\n.PlayPause-controller[data-v-6b865783]::before {\n\tleft: 0;\n\t-webkit-transition: all 100ms linear;\n\ttransition: all 100ms linear;\n\twidth: 0;\n\theight: 0.6em;\n}\n.PlayPause-controller[data-v-6b865783]::after {\n\tright: 0;\n\t-webkit-transition: all 150ms linear;\n\ttransition: all 150ms linear;\n\twidth: 0;\n\theight: 0;\n}\n.PlayPause-state:checked + .PlayPause-label .PlayPause-controller[data-v-6b865783]::before,\n.PlayPause-state:checked + .PlayPause-label .PlayPause-controller[data-v-6b865783]::after {\n\tborder-top-width: 0;\n\tborder-bottom-width: 0;\n\tborder-left-width: 0.38em;\n\theight: 100%;\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"PlayPause"},[n("input",{staticClass:"PlayPause-state",attrs:{type:"checkbox",id:e.uid},domProps:{checked:e.isPlaying},on:{change:e.toggle}}),e._v(" "),n("label",{staticClass:"PlayPause-label",attrs:{for:e.uid,title:e.isPlaying?"Pause":"Play"}},[n("div",{staticClass:"PlayPause-controller"})])])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"PlayerControl"},[n("div",{staticClass:"PlayerControl-group"},[n("button",{staticClass:"Btn Btn--mute",class:{"Btn--isNotFullVolume":e.isNotFullVolume,"is-active":e.isMuted},attrs:{title:"Mute volume (on/off)",disabled:e.isDisabled},on:{click:function(t){e.$emit("toggleMute")}}},[n("span")])]),e._v(" "),n("div",{staticClass:"PlayerControl-group"},[n("button",{staticClass:"Btn Btn--shuffle",class:{"is-active":e.isShuffle},attrs:{title:"Shuffle tracks (on/off)",disabled:e.isDisabled},on:{click:function(t){e.$emit("toggleShuffle")}}},[n("span",[e._v("↝")])])]),e._v(" "),n("div",{staticClass:"PlayerControl-group PlayerControl-group--large"},[n("PlayPauseButton",{staticClass:"Btn",attrs:{isPlaying:e.isPlaying},on:{play:function(t){e.$emit("play")},pause:function(t){e.$emit("pause")}}})],1),e._v(" "),n("div",{staticClass:"PlayerControl-group"},[n("button",{staticClass:"Btn Btn--next",attrs:{title:"Next track",disabled:e.isDisabled},on:{click:function(t){e.$emit("next")}}},[n("span",[e._v("→")])])])])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){return Math.floor(Math.random()*e.length)}function o(e){e=e.slice();for(var t=e.length,n=void 0,r=void 0;t;)r=Math.floor(Math.random()*t--),n=e[t],e[t]=e[r],e[r]=n;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomIndex=r,t.shuffleArray=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Layout"},[n("div",{staticClass:"Layout-header"},[n("channel-header",{attrs:{channel:e.channel,image:e.image,r4Url:e.r4Url,track:e.currentTrack}})],1),e._v(" "),n("div",{staticClass:"Layout-section"},[n("div",{staticClass:"Layout-aside"},[n("provider-player",{attrs:{autoplay:e.autoplay,isMuted:e.isMuted,isPlaying:e.isPlaying,track:e.currentTrack,volume:e.volume},on:{play:e.play,pause:e.pause,trackEnded:e.trackEnded}})],1),e._v(" "),n("div",{staticClass:"Layout-main"},[n("track-list",{attrs:{currentTrackIndex:e.currentTrackIndex,channelSlug:e.channel.slug,track:e.currentTrack,tracks:e.tracksPool,query:e.channel.query},on:{select:e.playTrack}})],1)]),e._v(" "),n("div",{staticClass:"Layout-footer"},[n("player-controls",{attrs:{isDisabled:!this.tracksPool.length,isMuted:e.isMuted,isPlaying:e.isPlaying,isShuffle:e.isShuffle,volume:e.volume},on:{play:e.play,pause:e.pause,toggleMute:e.toggleMute,toggleShuffle:e.toggleShuffle,next:e.playNextTrack}})],1)])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){var t=u+'/channels.json?orderBy="slug"&startAt="'+e+'"&endAt="'+e+'"';return(0,c.default)(t).then(f).then(p).then(h)}function o(e){var t=u+"/channels/"+e+".json";return(0,c.default)(t).then(f).then(function(t){return d(t,e)})}function a(e){var t=u+'/tracks.json?orderBy="channel"&startAt="'+e+'"&endAt="'+e+'"';return(0,c.default)(t).then(f).then(p).then(function(e){return e.sort(function(e,t){return e.created-t.created})})}function i(e){var t=u+"/tracks/"+e+".json";return(0,c.default)(t).then(f).then(function(t){return d(t,e)})}function s(e){if(!e||!e.images)return Promise.reject();var t=u+'/images.json?orderBy="channel"&startAt="'+e.id+'"&endAt="'+e.id+'"&limitToLast=1';return(0,c.default)(t).then(f).then(p).then(h).then(function(e){return"https://res.cloudinary.com/radio4000/image/upload//q_100,w_56,h_56,c_thumb,c_fill,fl_lossy/"+e.src})}Object.defineProperty(t,"__esModule",{value:!0}),t.findChannelBySlug=r,t.findChannelById=o,t.findChannelTracks=a,t.findTrack=i,t.findChannelImage=s;var l=n(84),c=function(e){return e&&e.__esModule?e:{default:e}}(l),u=function(){return window&&window.r4&&window.r4.databaseURL?window.r4.databaseURL:"https://radio4000.firebaseio.com"}(),f=function(e){return e.json().then(function(e){if(!Object.keys(e).length)throw new Error("404");return e})},d=function(e,t){return Object.assign(e,{id:t})},p=function(e){return Object.keys(e).map(function(t){return Object.assign(e[t],{id:t})})},h=function(e){return e[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof fetch?fetch.bind():function(e,t){return t=t||{},new Promise(function(n,r){function o(){var e,t=[],n=[],r={};return a.getAllResponseHeaders().replace(/^(.*?):\s*([\s\S]*?)$/gm,function(o,a,i){t.push(a=a.toLowerCase()),n.push([a,i]),e=r[a],r[a]=e?e+","+i:i}),{ok:1==(a.status/200|0),status:a.status,statusText:a.statusText,url:a.responseURL,clone:o,text:function(){return Promise.resolve(a.responseText)},json:function(){return Promise.resolve(a.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([a.response]))},headers:{keys:function(){return t},entries:function(){return n},get:function(e){return r[e.toLowerCase()]},has:function(e){return e.toLowerCase()in r}}}}var a=new XMLHttpRequest;a.open(t.method||"get",e);for(var i in t.headers)a.setRequestHeader(i,t.headers[i]);a.withCredentials="include"==t.credentials,a.onload=function(){n(o())},a.onerror=r,a.send(t.body)})};t.default=r},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.canLoad?n("radio4000-player",{attrs:{channel:e.channel,tracks:e.tracks,originTrack:e.track,image:e.image,autoplay:e.autoplay,r4Url:e.r4Url,volume:e.localVolume,shuffle:e.shuffle},on:{trackChanged:e.onTrackChanged,trackEnded:e.onTrackEnded}}):n("div",{staticClass:"Console"},[n("p",[e._v("Radio4000-player is ready to start playing:\n\t\t"),n("a",{attrs:{href:"https://github.com/internet4000/radio4000-player-vue"}},[e._v("documentation")])])])},o=[],a={render:r,staticRenderFns:o};t.a=a}])}); +(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.radio4000Player=t():e.radio4000Player=t()})("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=17)}([function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var a=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([a]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;o1)for(var n=1;n0}},watch:{tracks:function(){this.$nextTick(this.locateCurrentTrack)}},methods:{locateCurrentTrack:function(){if(!isNaN(this.currentTrackIndex)){var e=this.$el.querySelector(".TrackList-list"),t=this.$el.querySelectorAll("li"),n=t[this.currentTrackIndex];n&&(e.scrollTop=n.offsetTop-4)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"track-item",props:{track:Object,channelSlug:String},computed:{href:function(){return"https://radio4000.com/"+this.channelSlug+"/"+this.track.id}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"provider-player",components:{YoutubePlayer:o.default},props:{autoplay:Boolean,isPlaying:Boolean,track:Object,volume:Number},computed:{provider:function(){if(this.track&&this.track.ytid)return"youtube"}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"youtube-player",props:{autoplay:Boolean,isPlaying:Boolean,videoId:String,volume:Number},data:function(){return{ytstate:-1,didPlay:!1,player:{},playerVars:{controls:1,fs:0,modestbranding:1,origin:window.location.origin,playsinline:1,rel:0,showinfo:0}}},mounted:function(){this.videoId&&this.initPlayer().then(this.setTrackOnProvider(this.videoId))},watch:{videoId:function(e){this.initPlayer().then(this.setTrackOnProvider(e))},isPlaying:function(e){e?1!==this.ytstate&&this.playProvider():2!==this.ytstate&&this.pauseProvider()},volume:function(e){var t=this;this.player.getVolume().then(function(n){e!==n&&t.player.setVolume(e)})}},computed:{playerExists:function(){return this.player.hasOwnProperty("getIframe")}},methods:{initPlayer:function(){var e,t=this,n=this.playerVars,r=this.$el;return new Promise(function(a){t.playerExists||(e=(0,o.default)(r,{playerVars:n}),e.on("error",t.handleError),e.on("stateChange",t.handleStateChange),e.on("ready",t.handleReady),e.on("volumeChange",t.handleVolumeChange),t.player=e),a(t.player)})},handleReady:function(e){var t=this,n=this.volume;this.player.unMute().then(function(){t.player.setVolume(n)})},handleError:function(e){this.$emit("ended")},handleVolumeChange:function(e){e.data.volume!==this.volume&&this.$root.$emit("setVolume",e.data.volume)},handleStateChange:function(e){var t=this;this.ytstate=e.data;var n={"-1":"unstarted",0:"ended",1:"playing",2:"paused",3:"buffering",5:"cued"};this.ytstate;({"-1":function(){},0:function(){return t.$emit("ended")},1:function(){return t.$emit("playing")},2:function(){return t.$emit("paused")},3:function(){return t.$emit("buffering")},5:function(){return t.$emit("cued")}})[this.ytstate]()},setTrackOnProvider:function(e){e&&(this.autoplay||this.didPlay?this.player.loadVideoById({videoId:e}):(this.player.cueVideoById({videoId:e}),this.didPlay=!0))},playProvider:function(){return this.player.playVideo()},pauseProvider:function(){return this.player.pauseVideo()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(76),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"player-controls",components:{PlayPauseButton:o.default},props:{volume:Number,isPlaying:Boolean,isDisabled:Boolean,isMuted:Boolean,isShuffle:Boolean},computed:{isNotFullVolume:function(){return this.volume<100}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"play-pause-button",props:{isPlaying:Boolean},computed:{uid:function(){return"id"+this._uid}},methods:{toggle:function(){var e=this.isPlaying?"pause":"play";this.$emit(e)}}}},function(e,t,n){e.exports=n(18)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n(19);var o=n(20),a=r(o),i=n(23),s=r(i),l=n(24),c=r(l);a.default.config.devtools=!0,a.default.config.productionTip=!1,a.default.use(s.default),a.default.customElement("radio4000-player",c.default,{shadow:!1})},function(e,t){(function(e,t){"use strict";function n(){var e=x.splice(0,x.length);for(Ge=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n1)&&C(this)}}}),je(a,V,{value:function(e){-1>0),D="addEventListener",H="attached",N="Callback",R="detached",U="extends",V="attributeChanged"+N,F=H+N,q="connected"+N,z="disconnected"+N,Y="created"+N,W=R+N,Z="ADDITION",G="REMOVAL",Q="DOMAttrModified",X="DOMContentLoaded",K="DOMSubtreeModified",J="<",ee="=",te=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],oe=[],ae="",ie=k.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},le=w.prototype,ce=le.hasOwnProperty,ue=le.isPrototypeOf,fe=w.defineProperty,de=[],pe=w.getOwnPropertyDescriptor,he=w.getOwnPropertyNames,ve=w.getPrototypeOf,me=w.setPrototypeOf,Ae=!!w.__proto__,ye=!1,ge="__dreCEv1",Ce=e.customElements,be=!/^force/.test(t.type)&&!!(Ce&&Ce.define&&Ce.get&&Ce.whenDefined),_e=w.create||w,ke=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,o){e=se.call(t,r),e<0?n[t.push(r)-1]=o:n[e]=o}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Be=!1,xe=_e(null),Te=_e(null),Ee=new ke,Pe=function(e){return e.toLowerCase()},Oe=w.create||function e(t){return t?(e.prototype=t,new e):this},Le=me||(Ae?function(e,t){return e.__proto__=t,e}:he&&pe?function(){function e(e,t){for(var n,r=he(t),o=0,a=r.length;o
",new Me(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){$=pe(Se,"innerHTML");var n=$&&$.set;n&&fe(Se,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),$=null}).observe($,{childList:!0,subtree:!0}),$.innerHTML=""),Qe||(me||Ae?(M=function(e,t){ue.call(t,e)||d(e,t)},S=d):(M=function(e,t){e[I]||(e[I]=w(!0),d(e,t))},S=M),$e?(Je=!1,function(){var e=pe(Se,D),t=e.value,n=function(e){var t=new CustomEvent(Q,{bubbles:!0});t.attrName=e,t.prevValue=Ue.call(this,e),t.newValue=null,t[G]=t.attrChange=2,Fe.call(this,e),Re.call(this,t)},r=function(e,t){var n=Ve.call(this,e),r=n&&Ue.call(this,e),o=new CustomEvent(Q,{bubbles:!0});qe.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[Z]=o.attrChange=0,Re.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[I],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],t=new CustomEvent(Q,{bubbles:!0}),t.attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[Z]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Re.call(n,t))};e.value=function(e,a,i){e===Q&&this[V]&&this.setAttribute!==r&&(this[I]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,a,i)},fe(Se,D,e)}()):Me||(ie[D](Q,Ze),ie.setAttribute(I,1),ie.removeAttribute(I),Je&&(T=function(e){var t,n,r,o=this;if(o===e.target){t=o[I],o[I]=n=P(o);for(r in n){if(!(r in t))return E(0,o,r,t[r],n[r],Z);if(n[r]!==t[r])return E(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return E(2,o,r,t[r],n[r],G)}},E=function(e,t,n,r,o,a){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};i[a]=e,l(i)},P=function(e){for(var t,n,r={},o=e.attributes,a=0,i=o.length;a=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}function m(e,t){return Cr.call(e,t)}function A(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function y(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function g(e,t){return e.bind(t)}function C(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function b(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n-1)if(a&&!m(o,"default"))i=!1;else if(""===i||i===Br(e)){var l=ne(String,o.type);(l<0||s0&&(i=ge(i,(t||"")+"_"+n),ye(i[0])&&ye(c)&&(u[l]=S(c.text+i[0].text),i.shift()),u.push.apply(u,i)):s(i)?ye(c)?u[l]=S(c.text+i):""!==i&&u.push(S(i)):ye(i)&&ye(c)?u[l]=S(c.text+i.text):(a(e._isVList)&&o(i.tag)&&r(i.key)&&o(t)&&(i.key="__vlist"+t+"_"+n+"__"),u.push(i)));return u}function Ce(e,t){return(e.__esModule||Qr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function be(e,t,n,r,o){var a=ro();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:o},a}function _e(e,t,n){if(a(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;if(a(e.loading)&&o(e.loadingComp))return e.loadingComp;if(!o(e.contexts)){var i=e.contexts=[n],s=!0,c=function(){for(var e=0,t=i.length;ePo&&wo[n].id>e.id;)n--;wo.splice(n+1,0,e)}else wo.push(e);To||(To=!0,le(Re))}}function ze(e,t,n){Mo.get=function(){return this[t][n]},Mo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Mo)}function Ye(e){e._watchers=[];var t=e.$options;t.props&&We(e,t.props),t.methods&&Je(e,t.methods),t.data?Ze(e):H(e._data={},!0),t.computed&&Qe(e,t.computed),t.watch&&t.watch!==Fr&&et(e,t.watch)}function We(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];!e.$parent||j(!1);for(var a in t)(function(a){o.push(a);var i=K(a,t,n,e);N(r,a,i),a in e||ze(e,"_props",a)})(a);j(!0)}function Ze(e){var t=e.$options.data;t=e._data="function"==typeof t?Ge(t,e):t||{},c(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);o--;){var a=n[o];r&&m(r,a)||T(a)||ze(e,"_data",a)}H(t,!0)}function Ge(e,t){L();try{return e.call(t,t)}catch(e){return re(e,t,"data()"),{}}finally{M()}}function Qe(e,t){var n=e._computedWatchers=Object.create(null),r=Zr();for(var o in t){var a=t[o],i="function"==typeof a?a:a.get;r||(n[o]=new Lo(e,i||k,k,So)),o in e||Xe(e,o,a)}}function Xe(e,t,n){var r=!Zr();"function"==typeof n?(Mo.get=r?Ke(t):n,Mo.set=k):(Mo.get=n.get?r&&!1!==n.cache?Ke(t):n.get:k,Mo.set=n.set?n.set:k),Object.defineProperty(e,t,Mo)}function Ke(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Jr.target&&t.depend(),t.value}}function Je(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?k:xr(t[n],e)}function et(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function $t(e){this._init(e)}function jt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=C(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function It(e){e.mixin=function(e){return this.options=Q(this.options,e),this}}function Dt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var a=e.name||n.options.name,i=function(e){this._init(e)};return i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.cid=t++,i.options=Q(n.options,e),i.super=n,i.options.props&&Ht(i),i.options.computed&&Nt(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,Or.forEach(function(e){i[e]=n[e]}),a&&(i.options.components[a]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=b({},i.options),o[r]=i,i}}function Ht(e){var t=e.options.props;for(var n in t)ze(e.prototype,"_props",n)}function Nt(e){var t=e.options.computed;for(var n in t)Xe(e.prototype,n,t[n])}function Rt(e){Or.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Ut(e){return e&&(e.Ctor.options.name||e.tag)}function Vt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Ft(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var a in n){var i=n[a];if(i){var s=Ut(i.componentOptions);s&&!t(s)&&qt(n,a,r,o)}}}function qt(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,v(n,t)}function zt(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Yt(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Yt(t,n.data));return Wt(t.staticClass,t.class)}function Yt(e,t){return{staticClass:Zt(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return o(e)||o(t)?Zt(e,Gt(t)):""}function Zt(e,t){return e?t?e+" "+t:e:t||""}function Gt(e){return Array.isArray(e)?Qt(e):l(e)?Xt(e):"string"==typeof e?e:""}function Qt(e){for(var t,n="",r=0,a=e.length;r-1?ra[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ra[e]=/HTMLUnknownElement/.test(t.toString())}function en(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function tn(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function nn(e,t){return document.createElementNS(Jo[e],t)}function rn(e){return document.createTextNode(e)}function on(e){return document.createComment(e)}function an(e,t,n){e.insertBefore(t,n)}function sn(e,t){e.removeChild(t)}function ln(e,t){e.appendChild(t)}function cn(e){return e.parentNode}function un(e){return e.nextSibling}function fn(e){return e.tagName}function dn(e,t){e.textContent=t}function pn(e,t){e.setAttribute(t,"")}function hn(e,t){var n=e.data.ref;if(o(n)){var r=e.context,a=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?v(i[n],a):i[n]===a&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(a)<0&&i[n].push(a):i[n]=[a]:i[n]=a}}function vn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&mn(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function mn(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,a=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===a||oa(r)&&oa(a)}function An(e,t,n){var r,a,i={};for(r=t;r<=n;++r)a=e[r].key,o(a)&&(i[a]=r);return i}function yn(e,t){(e.data.directives||t.data.directives)&&gn(e,t)}function gn(e,t){var n,r,o,a=e===sa,i=t===sa,s=Cn(e.data.directives,e.context),l=Cn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],o=l[n],r?(o.oldValue=r.value,_n(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(_n(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n-1?Bn(e,t,n):Zo(t)?Ko(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Wo(t)?e.setAttribute(t,Ko(n)||"false"===n?"false":"true"):Qo(t)?Ko(n)?e.removeAttributeNS(Go,Xo(t)):e.setAttributeNS(Go,t,n):Bn(e,t,n)}function Bn(e,t,n){if(Ko(n))e.removeAttribute(t);else{if(Nr&&!Rr&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function xn(e,t){var n=t.elm,a=t.data,i=e.data;if(!(r(a.staticClass)&&r(a.class)&&(r(i)||r(i.staticClass)&&r(i.class)))){var s=zt(t),l=n._transitionClasses;o(l)&&(s=Zt(s,Gt(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function Tn(e){if(o(e[ha])){var t=Nr?"change":"input";e[t]=[].concat(e[ha],e[t]||[]),delete e[ha]}o(e[va])&&(e.change=[].concat(e[va],e.change||[]),delete e[va])}function En(e,t,n){var r=Vo;return function o(){null!==e.apply(null,arguments)&&On(t,o,n,r)}}function Pn(e,t,n,r,o){t=se(t),n&&(t=En(t,e,r)),Vo.addEventListener(e,t,qr?{capture:r,passive:o}:r)}function On(e,t,n,r){(r||Vo).removeEventListener(e,t._withTask||t,n)}function Ln(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Vo=t.elm,Tn(n),de(n,o,Pn,On,t.context),Vo=void 0}}function Mn(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,a,i=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};o(l.__ob__)&&(l=t.data.domProps=b({},l));for(n in s)r(l[n])&&(i[n]="");for(n in l){if(a=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n){i._value=a;var c=r(a)?"":String(a);Sn(i,c)&&(i.value=c)}else i[n]=a}}}function Sn(e,t){return!e.composing&&("OPTION"===e.tagName||$n(e,t)||jn(e,t))}function $n(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function jn(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}function In(e){var t=Dn(e.style);return e.staticStyle?b(e.staticStyle,t):t}function Dn(e){return Array.isArray(e)?_(e):"string"==typeof e?ya(e):e}function Hn(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=In(o.data))&&b(r,n);(n=In(e.data))&&b(r,n);for(var a=e;a=a.parent;)a.data&&(n=In(a.data))&&b(r,n);return r}function Nn(e,t){var n=t.data,a=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(a.staticStyle)&&r(a.style))){var i,s,l=t.elm,c=a.staticStyle,u=a.normalizedStyle||a.style||{},f=c||u,d=Dn(t.data.style)||{};t.data.normalizedStyle=o(d.__ob__)?b({},d):d;var p=Hn(t,!0);for(s in f)r(p[s])&&ba(l,s,"");for(s in p)(i=p[s])!==f[s]&&ba(l,s,null==i?"":i)}}function Rn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Un(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Vn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&b(t,Ba(e.name||"v")),b(t,e),t}return"string"==typeof e?Ba(e):void 0}}function Fn(e){Sa(function(){Sa(e)})}function qn(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Rn(e,t))}function zn(e,t){e._transitionClasses&&v(e._transitionClasses,t),Un(e,t)}function Yn(e,t,n){var r=Wn(e,t),o=r.type,a=r.timeout,i=r.propCount;if(!o)return n();var s=o===Ta?Oa:Ma,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=i&&c()};setTimeout(function(){l0&&(n=Ta,u=i,f=a.length):t===Ea?c>0&&(n=Ea,u=c,f=l.length):(u=Math.max(i,c),n=u>0?i>c?Ta:Ea:null,f=n?n===Ta?a.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===Ta&&$a.test(r[Pa+"Property"])}}function Zn(e,t){for(;e.length1}function er(e,t){!0!==t.data.show&&Qn(t)}function tr(e,t,n){nr(e,t,n),(Nr||Ur)&&setTimeout(function(){nr(e,t,n)},0)}function nr(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var a,i,s=0,l=e.options.length;s-1,i.selected!==a&&(i.selected=a);else if(w(or(i),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function rr(e,t){return t.every(function(t){return!w(t,e)})}function or(e){return"_value"in e?e._value:e.value}function ar(e){e.target.composing=!0}function ir(e){e.target.composing&&(e.target.composing=!1,sr(e.target,"input"))}function sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function lr(e){return!e.componentInstance||e.data&&e.data.transition?e:lr(e.componentInstance._vnode)}function cr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?cr(we(t.children)):e}function ur(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var a in o)t[_r(a)]=o[a];return t}function fr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function dr(e){for(;e=e.parent;)if(e.data.transition)return!0}function pr(e,t){return t.key===e.key&&t.tag===e.tag}function hr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function vr(e){e.data.newPos=e.elm.getBoundingClientRect()}function mr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+o+"px)",a.transitionDuration="0s"}}var Ar=Object.freeze({}),yr=Object.prototype.toString,gr=(h("slot,component",!0),h("key,ref,slot,slot-scope,is")),Cr=Object.prototype.hasOwnProperty,br=/-(\w)/g,_r=A(function(e){return e.replace(br,function(e,t){return t?t.toUpperCase():""})}),kr=A(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),wr=/\B([A-Z])/g,Br=A(function(e){return e.replace(wr,"-$1").toLowerCase()}),xr=Function.prototype.bind?g:y,Tr=function(e,t,n){return!1},Er=function(e){return e},Pr="data-server-rendered",Or=["component","directive","filter"],Lr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Mr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Tr,isReservedAttr:Tr,isUnknownElement:Tr,getTagNamespace:k,parsePlatformTagName:Er,mustUseProp:Tr,_lifecycleHooks:Lr},Sr=/[^\w.$]/,$r="__proto__"in{},jr="undefined"!=typeof window,Ir="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Dr=Ir&&WXEnvironment.platform.toLowerCase(),Hr=jr&&window.navigator.userAgent.toLowerCase(),Nr=Hr&&/msie|trident/.test(Hr),Rr=Hr&&Hr.indexOf("msie 9.0")>0,Ur=Hr&&Hr.indexOf("edge/")>0,Vr=(Hr&&Hr.indexOf("android"),Hr&&/iphone|ipad|ipod|ios/.test(Hr)||"ios"===Dr),Fr=(Hr&&/chrome\/\d+/.test(Hr),{}.watch),qr=!1;if(jr)try{var zr={};Object.defineProperty(zr,"passive",{get:function(){qr=!0}}),window.addEventListener("test-passive",null,zr)}catch(e){}var Yr,Wr,Zr=function(){return void 0===Yr&&(Yr=!jr&&!Ir&&void 0!==e&&"server"===e.process.env.VUE_ENV),Yr},Gr=jr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Qr="undefined"!=typeof Symbol&&O(Symbol)&&"undefined"!=typeof Reflect&&O(Reflect.ownKeys);Wr="undefined"!=typeof Set&&O(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Xr=k,Kr=0,Jr=function(){this.id=Kr++,this.subs=[]};Jr.prototype.addSub=function(e){this.subs.push(e)},Jr.prototype.removeSub=function(e){v(this.subs,e)},Jr.prototype.depend=function(){Jr.target&&Jr.target.addDep(this)},Jr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?C(n):n;for(var r=C(arguments,1),o=0,a=n.length;oparseInt(this.max)&&qt(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Uo={KeepAlive:Ro};(function(e){var t={};t.get=function(){return Mr},Object.defineProperty(e,"config",t),e.util={warn:Xr,extend:b,mergeOptions:Q,defineReactive:N},e.set=R,e.delete=U,e.nextTick=le,e.options=Object.create(null),Or.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,b(e.options.components,Uo),jt(e),It(e),Dt(e),Rt(e)})($t),Object.defineProperty($t.prototype,"$isServer",{get:Zr}),Object.defineProperty($t.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($t,"FunctionalRenderContext",{value:At}),$t.version="2.5.16";var Vo,Fo,qo=h("style,class"),zo=h("input,textarea,option,select,progress"),Yo=function(e,t,n){return"value"===n&&zo(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Wo=h("contenteditable,draggable,spellcheck"),Zo=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Go="http://www.w3.org/1999/xlink",Qo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Xo=function(e){return Qo(e)?e.slice(6,e.length):""},Ko=function(e){return null==e||!1===e},Jo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ea=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ta=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),na=function(e){return ea(e)||ta(e)},ra=Object.create(null),oa=h("text,number,password,search,email,tel,url"),aa=Object.freeze({createElement:tn,createElementNS:nn,createTextNode:rn,createComment:on,insertBefore:an,removeChild:sn,appendChild:ln,parentNode:cn,nextSibling:un,tagName:fn,setTextContent:dn,setStyleScope:pn}),ia={create:function(e,t){hn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(hn(e,!0),hn(t))},destroy:function(e){hn(e,!0)}},sa=new to("",{},[]),la=["create","activate","update","remove","destroy"],ca={create:yn,update:yn,destroy:function(e){yn(e,sa)}},ua=Object.create(null),fa=[ia,ca],da={create:kn,update:kn},pa={create:xn,update:xn},ha="__r",va="__c",ma={create:Ln,update:Ln},Aa={create:Mn,update:Mn},ya=A(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),ga=/^--/,Ca=/\s*!important$/,ba=function(e,t,n){if(ga.test(t))e.style.setProperty(t,n);else if(Ca.test(n))e.style.setProperty(t,n.replace(Ca,""),"important");else{var r=ka(t);if(Array.isArray(n))for(var o=0,a=n.length;oh?(f=r(n[A+1])?null:n[A+1].elm,y(e,f,n,p,A,a)):p>A&&C(e,t,d,h)}function k(e,t,n,r){for(var a=n;a=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(22),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(3))},function(e,t,n){(function(e,t){(function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!=typeof customElements){if(b){var u=function(e){function n(e){var r;o(this,n);var i=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),s=e?HTMLElement.call(e):i;return t.call(s),r=s,a(i,r)}return i(n,e),_(n,null,[{key:"observedAttributes",get:function(){return c.observedAttributes||[]}}]),n}(s);return u.prototype.connectedCallback=n,u.prototype.disconnectedCallback=r,u.prototype.attributeChangedCallback=l,customElements.define(e,u),u}var f=function(e){var n=e?HTMLElement.call(e):this;return t.call(n),n};return f.observedAttributes=c.observedAttributes||[],f.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:f}}),f.prototype.connectedCallback=n,f.prototype.disconnectedCallback=r,f.prototype.attributeChangedCallback=l,customElements.define(e,f),f}}function c(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function u(e,t){var n=e,r=["true","false"].indexOf(e)>-1,o=parseFloat(n,10),a=!isNaN(o)&&isFinite(n)&&"string"==typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean?n=t(e):r||t===Boolean?n="true"===n:a&&(n=o),n}function f(e,t){if(e&&e.length)e.forEach(function(e){var n=w(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)});else if(e&&"object"===(void 0===e?"undefined":T(e)))for(var n in e){var r=w(n);-1===t.camelCase.indexOf(r)&&t.camelCase.push(r),e[r]&&e[r].type&&(t.types[n]=[].concat(e[r].type)[0])}}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach(function(e){f(e.props,t)}),e.extends&&e.extends.props){f(e.extends.props,t)}return f(e.props,t),t.camelCase.forEach(function(e){t.hyphenate.push(x(e))}),t}function p(e,t){t.camelCase.forEach(function(n,r){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==(void 0===e?"undefined":T(e))&&"function"!=typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[r]];this.setAttribute(t.hyphenate[r],u(e,n))}else{var o=t.camelCase[r];this.__vue_custom_element__[o]=e}}})})}function h(e,t,n){var r=t.propsData||{};return n.hyphenate.forEach(function(t,o){var a=n.camelCase[o],i=e.attributes[t]||e[a],s=null;n.types[a]&&(s=n.types[a]),r[a]=i instanceof Attr?u(i.value,s):i}),r}function v(e){var t={};return c(e.attributes).forEach(function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue}),t}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return c(e).forEach(function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var r=v(e),o={attrs:r,domProps:{innerHTML:e.innerHTML}};r.slot&&(o.slot=r.slot,r.slot=void 0),n.push(t(e.tagName,o))}}),n}function A(e,t){var n={bubbles:!1,cancelable:!1,detail:t},r=void 0;return"function"==typeof window.CustomEvent?r=new CustomEvent(e,n):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail)),r}function y(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o=2){var f=e.cloneNode(!0).childNodes;u={propsData:s,props:r.camelCase,computed:{reactiveProps:function(){var e=this,t={};return r.camelCase.forEach(function(n){t[n]=e[n]}),t}},render:function(e){var t={props:this.reactiveProps};return e(i,t,m(f,e))}}}else if(1===l)u=i,u.propsData=s;else{u=i;var d={};Object.keys(s).forEach(function(e){d[e]={default:s[e]}}),u.props=d}var v=l>=2?"
":("
"+e.innerHTML+"
").replace(/vue-slot=/g,"slot=");if(o.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=v,u.el=e.shadowRoot.children[0]):(e.innerHTML=v,u.el=e.children[0]),p(e,r),"function"==typeof o.beforeCreateVueInstance&&(u=o.beforeCreateVueInstance(u)||u),e.__vue_custom_element__=new t(u),e.__vue_custom_element_props__=r,o.shadow&&o.shadowCss&&e.shadowRoot){var A=document.createElement("style");A.type="text/css",A.appendChild(document.createTextNode(o.shadowCss)),e.shadowRoot.appendChild(A)}e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),y(e,"vce-ready")}}function C(e){e.customElement=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="function"==typeof n,a=o&&{props:r.props||[]},i=d(o?a:n);return l(t,{constructorCallback:function(){"function"==typeof r.constructorCallback&&r.constructorCallback.call(this)},connectedCallback:function(){var a=this,s=o&&n(),l=s&&s.then&&"function"==typeof s.then;if("function"==typeof r.connectedCallback&&r.connectedCallback.call(this),o&&!l)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(l?s.then(function(t){var n=d(t);g(a,e,t,n,r)}):g(this,e,n,i,r)),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"==typeof r.disconnectedCallback&&r.disconnectedCallback.call(this),setTimeout(function(){e.__detached__&&e.__vue_custom_element__&&(e.__vue_custom_element__.$destroy(!0),delete e.__vue_custom_element__,delete e.__vue_custom_element_props__)},r.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&void 0!==n){var o=w(e);"function"==typeof r.attributeChangedCallback&&r.attributeChangedCallback.call(this,e,t,n);var a=this.__vue_custom_element_props__.types[o];this.__vue_custom_element__[o]=u(n,a)}},observedAttributes:i.hyphenate,shadow:!!r.shadow&&!!HTMLElement.prototype.attachShadow})}}Object.defineProperty(t,"__esModule",{value:!0}),Object.setPrototypeOf=Object.setPrototypeOf||r;var b=(r.bind(Object),function(){return"undefined"!=typeof Symbol&&"undefined"!=typeof Reflect}()),_=function(){function e(e,t){for(var n=0;n=t||n<0||x&&r>=A}function u(){var e=_();if(c(e))return f(e);g=setTimeout(u,l(e))}function f(e){return g=void 0,T&&v?o(e):(v=m=void 0,y)}function d(){void 0!==g&&clearTimeout(g),w=0,v=k=m=g=void 0}function p(){return void 0===g?y:f(_())}function h(){var e=_(),n=c(e);if(v=arguments,m=this,k=e,n){if(void 0===g)return a(k);if(x)return g=setTimeout(u,t),o(k)}return void 0===g&&(g=setTimeout(u,t)),y}var v,m,A,y,g,k,w=0,B=!1,x=!1,T=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,r(n)&&(B=!!n.leading,x="maxWait"in n,A=x?C(i(n.maxWait)||0,t):A,T="trailing"in n?!!n.trailing:T),h.cancel=d,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||o(e)&&g.call(e)==c}function i(e){if("number"==typeof e)return e;if(a(e))return l;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=d.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?l:+e}var s="Expected a function",l=NaN,c="[object Symbol]",u=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof t&&t&&t.Object===Object&&t,m="object"==typeof self&&self&&self.Object===Object&&self,A=v||m||Function("return this")(),y=Object.prototype,g=y.toString,C=Math.max,b=Math.min,_=function(){return A.Date.now()};e.exports=n}).call(t,n(3))},function(e,t,n){"use strict";function r(e){n(30),n(32)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(82),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-64d88602",null);t.default=u.exports},function(e,t,n){var r=n(31);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("0458350e",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,"radio4000-player{-webkit-box-sizing:border-box;box-sizing:border-box}radio4000-player *,radio4000-player :after,radio4000-player :before{-webkit-box-sizing:inherit;box-sizing:inherit}radio4000-player{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;min-width:200px;min-height:calc(3.5em + 200px + 2.75em);max-height:100vh;height:500px;height:calc(3.5em + 400px + 2.75em);background-color:#eae9ed;color:#1a1a1a;font-size:16px}radio4000-player,radio4000-player .Btn{font-family:Maison Neue,maisonneue,system-ui,sans-serif}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/Radio4000Player.vue"],names:[],mappings:"AA4KA,iBACC,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,oEAGC,2BAA4B,AACpB,kBAAoB,CAC5B,AACD,iBACC,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,WAAY,AAEZ,gBAAiB,AAGjB,wCAAyC,AAEzC,iBAAkB,AAElB,aAAc,AACd,oCAAqC,AACrC,yBAAqC,AACrC,cAAuB,AACvB,cAAgB,CAChB,AACD,uCAEC,uDAAkE,CAClE",file:"Radio4000Player.vue",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Box sizing for all elements of the web component in non scoped style */\nradio4000-player {\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n}\nradio4000-player *,\nradio4000-player *:before,\nradio4000-player *:after {\n\t-webkit-box-sizing: inherit;\n\t box-sizing: inherit;\n}\nradio4000-player {\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\twidth: 100%;\n\t/* youtube requirements */\n\tmin-width: 200px;\n\t/* min and max heights need to be on root elemenet aka */\n\t/* header+aside+footer height */\n\tmin-height: calc(3.5em + 200px + 2.75em);\n\t/* don't expand the viewport */\n\tmax-height: 100vh;\n\t/* default height */\n\theight: 500px;\n\theight: calc(3.5em + 400px + 2.75em);\n\tbackground-color: hsl(260, 10%, 92%);\n\tcolor: hsl(0, 0%, 10%);\n\tfont-size: 16px;\n}\nradio4000-player,\nradio4000-player .Btn {\n\tfont-family: 'Maison Neue', 'maisonneue', 'system-ui', sans-serif;\n}\n"],sourceRoot:""}])},function(e,t,n){var r=n(33);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("b2eb6372",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".Layout[data-v-64d88602]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border:1px solid #b3b3b3}.Layout-header[data-v-64d88602]{-ms-flex-negative:0;flex-shrink:0;min-height:3.5em}.Layout-footer[data-v-64d88602]{-ms-flex-negative:0;flex-shrink:0;min-height:2.75em;display:-webkit-box;display:-ms-flexbox;display:flex}.Layout-aside>[data-v-64d88602],.Layout-footer>[data-v-64d88602],.Layout-section[data-v-64d88602]{-webkit-box-flex:1;-ms-flex:1;flex:1}.Layout-section[data-v-64d88602]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:0;overflow:hidden}.Layout-section>[data-v-64d88602]{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.Layout-aside[data-v-64d88602]{min-height:200px;display:-webkit-box;display:-ms-flexbox;display:flex}.Layout-main[data-v-64d88602]{-ms-flex-preferred-size:20em;flex-basis:20em;min-height:200px;max-width:30rem;position:relative}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/Radio4000Player.vue"],names:[],mappings:"AACA,yBAEC,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAEhB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,sBAAuB,AAC/B,gBAAiB,AACjB,wBAAkC,CAClC,AACD,gCACC,oBAAqB,AACjB,cAAe,AACnB,gBAAkB,CAClB,AACD,gCACC,oBAAqB,AACjB,cAAe,AACnB,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AAOD,kGAJC,mBAAoB,AAChB,WAAY,AACR,MAAQ,CAkBhB,AAhBD,iCAIC,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,uBAAwB,AACpB,mBAAoB,AAC5B,mBAAoB,AAChB,eAAgB,AACpB,aAAc,AAEd,eAAiB,CACjB,AACD,kCACC,mBAAoB,AAChB,oBAAqB,AACjB,WAAa,CACrB,AACD,+BACC,iBAAkB,AAElB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAEd,AACD,8BACC,6BAA8B,AAC1B,gBAAiB,AACrB,iBAAkB,AAElB,gBAAiB,AACjB,iBAAmB,CACnB",file:"Radio4000Player.vue",sourcesContent:["\n.Layout[data-v-64d88602] {\n\t/* expand to container */\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\t/* allow scrolling */\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-webkit-box-orient: vertical;\n\t-webkit-box-direction: normal;\n\t -ms-flex-direction: column;\n\t flex-direction: column;\n\toverflow: hidden;\n\tborder: 1px solid hsl(0, 0%, 70%);\n}\n.Layout-header[data-v-64d88602] {\n\t-ms-flex-negative: 0;\n\t flex-shrink: 0;\n\tmin-height: 3.5em;\n}\n.Layout-footer[data-v-64d88602] {\n\t-ms-flex-negative: 0;\n\t flex-shrink: 0;\n\tmin-height: 2.75em;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.Layout-aside > *[data-v-64d88602],\n.Layout-footer > *[data-v-64d88602] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n}\n.Layout-section[data-v-64d88602] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-webkit-box-orient: horizontal;\n\t-webkit-box-direction: normal;\n\t -ms-flex-direction: row;\n\t flex-direction: row;\n\t-ms-flex-wrap: wrap;\n\t flex-wrap: wrap;\n\tmin-height: 0;\n\t/* allow scrolling in FF */\n\toverflow: hidden;\n}\n.Layout-section>*[data-v-64d88602] {\n\t-webkit-box-flex: 1;\n\t -ms-flex-positive: 1;\n\t flex-grow: 1;\n}\n.Layout-aside[data-v-64d88602] {\n\tmin-height: 200px;\n\t/* youtube requirements */\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t/* allow child to expand */\n}\n.Layout-main[data-v-64d88602] {\n\t-ms-flex-preferred-size: 20em;\n\t flex-basis: 20em;\n\tmin-height: 200px;\n\t/* this is where it breaks into two columns */\n\tmax-width: 30rem;\n\tposition: relative;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(35)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(7),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(44),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-7fc16778",null);t.default=u.exports},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6e9c7fee",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".Header[data-v-7fc16778]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f5f5f5;border-bottom:1px solid #b3b3b3}.Header-media[data-v-7fc16778]{position:relative;width:1em;height:1em;font-size:3.5em}.Header-media img[data-v-7fc16778]{display:inline-block;vertical-align:top;width:100%}.Header-body[data-v-7fc16778]{-webkit-box-flex:1;-ms-flex:1;flex:1;line-height:1.4}.Header-channel[data-v-7fc16778]{margin-left:.3em;margin-bottom:0;margin-top:0}.Header-track[data-v-7fc16778]{font-size:.9375em;margin:0}marquee[data-v-7fc16778]{display:block;min-height:1em}.Header-logo[data-v-7fc16778]{position:absolute;top:.2em;right:.2em;opacity:.1;-webkit-transition:opacity .1s;transition:opacity .1s}.Header-logo[data-v-7fc16778]:hover{opacity:1}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/ChannelHeader.vue"],names:[],mappings:"AACA,yBACC,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AAClB,iBAAkB,AACtB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,yBAAkC,AAClC,+BAAyC,CACzC,AACD,+BACC,kBAAmB,AACnB,UAAW,AACX,WAAY,AACZ,eAAiB,CACjB,AACD,mCACC,qBAAsB,AACtB,mBAAoB,AACpB,UAAY,CACZ,AACD,8BACC,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAChB,eAAiB,CACjB,AACD,iCACC,iBAAmB,AACnB,gBAAiB,AACjB,YAAc,CACd,AACD,+BACC,kBAAoB,AACpB,QAAU,CACV,AACD,yBACC,cAAe,AACf,cAAgB,CAChB,AACD,8BACC,kBAAmB,AACnB,SAAW,AACX,WAAa,AACb,WAAa,AACb,+BAAkC,AAClC,sBAA0B,CAC1B,AACD,oCACC,SAAW,CACX",file:"ChannelHeader.vue",sourcesContent:["\n.Header[data-v-7fc16778] {\n\tposition: relative;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-ms-flex-wrap: nowrap;\n\t flex-wrap: nowrap;\n\t-webkit-box-align: center;\n\t -ms-flex-align: center;\n\t align-items: center;\n\tbackground-color: hsl(0, 0%, 96%);\n\tborder-bottom: 1px solid hsl(0, 0%, 70%);\n}\n.Header-media[data-v-7fc16778] {\n\tposition: relative;\n\twidth: 1em;\n\theight: 1em;\n\tfont-size: 3.5em;\n}\n.Header-media img[data-v-7fc16778] {\n\tdisplay: inline-block;\n\tvertical-align: top;\n\twidth: 100%;\n}\n.Header-body[data-v-7fc16778] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\tline-height: 1.4;\n}\n.Header-channel[data-v-7fc16778] {\n\tmargin-left: 0.3em;\n\tmargin-bottom: 0;\n\tmargin-top: 0;\n}\n.Header-track[data-v-7fc16778] {\n\tfont-size: 0.9375em; /* 15/16 */\n\tmargin: 0;\n}\nmarquee[data-v-7fc16778] {\n\tdisplay: block;\n\tmin-height: 1em; /* avoid jumps */\n}\n.Header-logo[data-v-7fc16778] {\n\tposition: absolute;\n\ttop: 0.2em;\n\tright: 0.2em;\n\topacity: 0.1;\n\t-webkit-transition: opacity 100ms;\n\ttransition: opacity 100ms;\n}\n.Header-logo[data-v-7fc16778]:hover {\n\topacity: 1;\n}\n"],sourceRoot:""}])},function(e,t,n){var r=n(38);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("33fae264",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.Loading[data-v-9b6f0982]{font-size:.9em;position:relative}.Loading span[data-v-9b6f0982]:before{display:block;content:"";position:absolute;top:0;left:0;width:10em;height:2px;background:-webkit-gradient(linear,left top,right top,from(#a7a7a7),to(hsla(0,0%,100%,0)));background:linear-gradient(90deg,#a7a7a7,hsla(0,0%,100%,0));-webkit-animation-name:Loading-data-v-9b6f0982;animation-name:Loading-data-v-9b6f0982;-webkit-animation-duration:4s;animation-duration:4s;-webkit-animation-direction:alternate;animation-direction:alternate;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.Header-image .Loading[data-v-9b6f0982]{position:absolute;top:0;right:0;left:0;bottom:0}@-webkit-keyframes Loading-data-v-9b6f0982{0%{width:10%}to{width:100%}}@keyframes Loading-data-v-9b6f0982{0%{width:10%}to{width:100%}}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/Loading.vue"],names:[],mappings:"AACA,0BACC,eAAiB,AACjB,iBAAmB,CACnB,AACD,sCACC,cAAe,AACf,WAAY,AACZ,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,2FAAsG,AACtG,4DAAwE,AAExE,+CAAgD,AAExC,uCAAwC,AAChD,8BAA+B,AACvB,sBAAuB,AAC/B,sCAAuC,AAC/B,8BAA+B,AACvC,uCAAwC,AAChC,+BAAgC,AACxC,2CAA4C,AACpC,kCAAoC,CAC5C,AACD,wCACC,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,OAAQ,AACR,QAAU,CACV,AACD,2CACA,GACE,SAAW,CACZ,AACD,GACE,UAAY,CACb,CACA,AACD,mCACA,GACE,SAAW,CACZ,AACD,GACE,UAAY,CACb,CACA",file:"Loading.vue",sourcesContent:["\n.Loading[data-v-9b6f0982] {\n\tfont-size: 0.9em;\n\tposition: relative;\n}\n.Loading span[data-v-9b6f0982]::before {\n\tdisplay: block;\n\tcontent: '';\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\twidth: 10em;\n\theight: 2px;\n\tbackground: -webkit-gradient( linear, left top, right top, from(#a7a7a7), to(rgba(255, 255, 255, 0)));\n\tbackground: linear-gradient( to right, #a7a7a7, rgba(255, 255, 255, 0));\n\n\t-webkit-animation-name: Loading-data-v-9b6f0982;\n\n\t animation-name: Loading-data-v-9b6f0982;\n\t-webkit-animation-duration: 4s;\n\t animation-duration: 4s;\n\t-webkit-animation-direction: alternate;\n\t animation-direction: alternate;\n\t-webkit-animation-timing-function: ease;\n\t animation-timing-function: ease;\n\t-webkit-animation-iteration-count: infinite;\n\t animation-iteration-count: infinite;\n}\n.Header-image .Loading[data-v-9b6f0982] {\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tleft: 0;\n\tbottom: 0;\n}\n@-webkit-keyframes Loading-data-v-9b6f0982 {\n0% {\n\t\twidth: 10%;\n}\n100% {\n\t\twidth: 100%;\n}\n}\n@keyframes Loading-data-v-9b6f0982 {\n0% {\n\t\twidth: 10%;\n}\n100% {\n\t\twidth: 100%;\n}\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Loading",class:{"Loading--hasNoMessage":!e.message}},[e.message?n("span",[e._v(e._s(e.message))]):n("span")])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(41)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(43),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-4c3fa5f8",null);t.default=u.exports},function(e,t,n){var r=n(42);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("24f1ddec",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".R4[data-v-4c3fa5f8]{width:1.2em;height:1.2em;fill:#000}.R4 [data-v-4c3fa5f8]{fill:inherit}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/R4Logo.vue"],names:[],mappings:"AACA,qBACC,YAAa,AACb,aAAc,AAEd,SAAY,CACZ,AACD,sBACC,YAAc,CACd",file:"R4Logo.vue",sourcesContent:["\n.R4[data-v-4c3fa5f8] {\n\twidth: 1.2em;\n\theight: 1.2em;\n\t/*fill: white;*/\n\tfill: black;\n}\n.R4 *[data-v-4c3fa5f8] {\n\tfill: inherit;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"R4",attrs:{width:"150",height:"130",viewBox:"0 0 150 130",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:figma":"http://www.figma.com/figma/ns"}},[n("title",[e._v("Radio4000")]),n("g",{attrs:{"figma:type":"frame",fill:"#FFF"}},[n("use",{attrs:{"xlink:href":"#a",transform:"translate(62.367 18.91)","figma:type":"vector-operation"}}),n("use",{attrs:{"xlink:href":"#b","figma:type":"vector-operation"}})]),n("defs",[n("path",{attrs:{id:"a","fill-rule":"evenodd",d:"M54.51 89.487H0v-19.92L42.15 0h32.486v69.724H87.63v19.763H74.636v21.187H54.51V89.487zm5.866-53.654l-28.71 40h28.99v-40h-.28z"}}),n("path",{attrs:{id:"b","fill-rule":"evenodd",d:"M7.818 91.806H0V0h40.76c23.284 0 37.878 8.13 37.878 26.624 0 16-12.626 24.132-29.516 26.1l25.91 39.082h-12.3L37.645 54.38H7.818v37.426zM7.59 25.248v21.05h27.14c12.387 0 23.66-2.438 23.66-10.49 0-8.05-10.3-10.56-23.938-10.56H7.592z"}})])])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"Header"},[n("a",{staticClass:"Header-logo",attrs:{href:e.linkHref,target:e.linkTarget,rel:e.linkRel,title:"Open this radio on Radio4000.com"}},[n("R4Logo")],1),e._v(" "),n("a",{staticClass:"Header-media",attrs:{href:e.linkHref,target:e.linkTarget,rel:e.linkRel,title:"Open this radio on Radio4000.com"}},[e.image?n("img",{attrs:{src:e.image,alt:""}}):n("loading")],1),e._v(" "),e.channel.title?n("div",{staticClass:"Header-body"},[n("p",{staticClass:"Header-channel",attrs:{title:e.channelDescription}},[n("strong",[e._v(e._s(e.channel.title))])]),e._v(" "),n("marquee",{staticClass:"Header-track",attrs:{title:[e.track.body?e.track.body:""]}},[e._v(e._s(e.track.title))])],1):n("loading")],1)},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(46)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(52),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-e5dfa002",null);t.default=u.exports},function(e,t,n){var r=n(47);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("e1a06112",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.TrackList-list[data-v-e5dfa002]{position:absolute;width:100%;height:100%;overflow-y:auto;margin:0;padding:0;list-style:none;counter-reset:tracks;-webkit-transform:translateZ(0);transform:translateZ(0)}.TrackList-item[data-v-e5dfa002]{position:relative;border-bottom:1px solid #e0e0e0}.TrackList-item[data-v-e5dfa002]:last-child{border-bottom:0}.TrackList-item[data-v-e5dfa002]:after{content:counter(tracks) "";counter-increment:tracks;color:#696969;font-size:.5em;position:absolute;top:.5em;right:.5em}.TrackList-query[data-v-e5dfa002]{background-color:hsla(0,0%,50%,.2);padding:.5em;font-size:.75em;text-align:center}.TrackList-controls[data-v-e5dfa002]{position:absolute;bottom:-.1em;right:1.5em;z-index:1;opacity:.6}.TrackList-controls[data-v-e5dfa002]:hover{opacity:1}.Btn--locateTrack[data-v-e5dfa002]{padding:.9em;margin:0;line-height:1;border:1px solid #999;background-color:#f5f5f5;border-radius:3px}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/TrackList.vue"],names:[],mappings:"AACA,iCACC,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,SAAU,AACV,UAAW,AACX,gBAAiB,AACjB,qBAAsB,AACtB,gCAAiC,AACzB,uBAAyB,CACjC,AACD,iCACC,kBAAmB,AACnB,+BAAiC,CACjC,AACD,4CACC,eAAiB,CACjB,AACD,uCACC,2BAA4B,AAC5B,yBAA0B,AAC1B,cAAe,AACf,eAAiB,AACjB,kBAAmB,AACnB,SAAW,AACX,UAAa,CACb,AACD,kCACC,mCAAwC,AACxC,aAAe,AACf,gBAAkB,AAClB,iBAAmB,CACnB,AACD,qCACC,kBAAmB,AACnB,aAAe,AACf,YAAa,AACb,UAAW,AACX,UAAa,CACb,AACD,2CACC,SAAW,CACX,AACD,mCACC,aAAe,AACf,SAAU,AACV,cAAe,AACf,sBAAuB,AACvB,yBAAkC,AAClC,iBAAmB,CACnB",file:"TrackList.vue",sourcesContent:['\n.TrackList-list[data-v-e5dfa002] {\n\tposition: absolute;\n\twidth: 100%;\n\theight: 100%;\n\toverflow-y: auto;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tcounter-reset: tracks;\n\t-webkit-transform: translateZ(0);\n\t transform: translateZ(0);\n}\n.TrackList-item[data-v-e5dfa002] {\n\tposition: relative;\n\tborder-bottom: 1px solid #e0e0e0;\n}\n.TrackList-item[data-v-e5dfa002]:last-child {\n\tborder-bottom: 0;\n}\n.TrackList-item[data-v-e5dfa002]::after {\n\tcontent: counter(tracks) "";\n\tcounter-increment: tracks;\n\tcolor: #696969;\n\tfont-size: 0.5em;\n\tposition: absolute;\n\ttop: 0.5em;\n\tright: 0.5em;\n}\n.TrackList-query[data-v-e5dfa002] {\n\tbackground-color: hsla(0, 0%, 50%, 0.2);\n\tpadding: 0.5em;\n\tfont-size: 0.75em;\n\ttext-align: center;\n}\n.TrackList-controls[data-v-e5dfa002] {\n\tposition: absolute;\n\tbottom: -0.1em;\n\tright: 1.5em;\n\tz-index: 1;\n\topacity: 0.6;\n}\n.TrackList-controls[data-v-e5dfa002]:hover {\n\topacity: 1;\n}\n.Btn--locateTrack[data-v-e5dfa002] {\n\tpadding: 0.9em;\n\tmargin: 0;\n\tline-height: 1;\n\tborder: 1px solid #999;\n\tbackground-color: hsl(0, 0%, 96%);\n\tborder-radius: 3px;\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(49)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(51),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-e613e862",null);t.default=u.exports},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("78b5fe3c",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".TrackItem[data-v-e613e862]{display:block;padding:.4em .6em;color:initial;text-decoration:none}.TrackItem-body[data-v-e613e862],.TrackItem-title[data-v-e613e862]{margin:0;padding-left:.3em;padding-right:.3em;word-break:break-all}.TrackItem-title[data-v-e613e862]{display:inline-block;font-size:.8125em;line-height:1.4}.TrackItem-body[data-v-e613e862]{font-size:.75em;color:#696969}.TrackItem.active[data-v-e613e862],.TrackItem[data-v-e613e862]:hover{background-color:hsla(0,0%,100%,.2)}.TrackItem.active .TrackItem-title[data-v-e613e862]{background-color:#5e1ae6;color:#fff}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/TrackItem.vue"],names:[],mappings:"AACA,4BACC,cAAe,AACf,kBAAqB,AACrB,cAAe,AACf,oBAAsB,CACtB,AACD,mEAEC,SAAU,AACV,kBAAoB,AACpB,mBAAqB,AACrB,oBAAsB,CACtB,AACD,kCACC,qBAAsB,AACtB,kBAAoB,AACpB,eAAiB,CACjB,AACD,iCACC,gBAAkB,AAClB,aAAe,CACf,AACD,qEAEC,mCAAyC,CACzC,AACD,oDACC,yBAA0B,AAC1B,UAAa,CACb",file:"TrackItem.vue",sourcesContent:["\n.TrackItem[data-v-e613e862] {\n\tdisplay: block;\n\tpadding: 0.4em 0.6em;\n\tcolor: initial;\n\ttext-decoration: none;\n}\n.TrackItem-title[data-v-e613e862],\n.TrackItem-body[data-v-e613e862] {\n\tmargin: 0;\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n\tword-break: break-all;\n}\n.TrackItem-title[data-v-e613e862] {\n\tdisplay: inline-block; /* for .active styles */\n\tfont-size: 0.8125em; /* 13/16 */\n\tline-height: 1.4;\n}\n.TrackItem-body[data-v-e613e862] {\n\tfont-size: 0.75em; /* 12/16 */\n\tcolor: #696969;\n}\n.TrackItem[data-v-e613e862]:hover,\n.TrackItem.active[data-v-e613e862] {\n\tbackground-color: hsla(0, 0%, 100%, 0.2);\n}\n.TrackItem.active .TrackItem-title[data-v-e613e862] {\n\tbackground-color: #5e1ae6;\n\tcolor: white;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"TrackItem",attrs:{href:e.href},on:{click:function(t){t.preventDefault(),e.$emit("select")}}},[n("p",{staticClass:"TrackItem-title"},[e._v(e._s(e.track.title))]),e._v(" "),e.track.body?n("p",{staticClass:"TrackItem-body"},[e._v(e._s(e.track.body))]):e._e()])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"TrackList"},[e.hasTracks?e._e():n("Loading"),e._v(" "),n("ol",{staticClass:"TrackList-list"},[e.query?n("li",{staticClass:"TrackList-query"},[e._v("\n\t\t\tPlaying selection "),n("em",[e._v('"'+e._s(e.query)+'"')])]):e._e(),e._v(" "),e._l(e.tracks,function(t,r){return n("li",{key:t.id,staticClass:"TrackList-item"},[n("track-item",{class:{active:e.currentTrackIndex===r},attrs:{track:t,channelSlug:e.channelSlug},on:{select:function(n){e.$emit("select",t)}}})],1)})],2),e._v(" "),e.hasTracks?n("div",{staticClass:"TrackList-controls"},[n("button",{staticClass:"Btn Btn--locateTrack",attrs:{title:"Locate current track"},on:{click:e.locateCurrentTrack}},[e._v("◎")])]):e._e()],1)},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(54)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(72),l=n(2),c=r,u=l(a.a,s.a,!1,c,null,null);t.default=u.exports},function(e,t,n){var r=n(55);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("1fc37414",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".ProviderPlayer{background-color:#000;overflow:hidden;position:relative;min-height:200px;min-width:200px}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/ProviderPlayer.vue"],names:[],mappings:"AACA,gBACC,sBAAwB,AACxB,gBAAiB,AACjB,kBAAmB,AAEnB,iBAAkB,AAClB,eAAiB,CACjB",file:"ProviderPlayer.vue",sourcesContent:["\n.ProviderPlayer {\n\tbackground-color: black;\n\toverflow: hidden;\n\tposition: relative;\n\t/* Youtube requirements */\n\tmin-height: 200px;\n\tmin-width: 200px;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(57)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(14),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(71),l=n(2),c=r,u=l(a.a,s.a,!1,c,null,null);t.default=u.exports},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6f9c17c2",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,".ytplayer{width:100%;height:100%;position:absolute}","",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/YoutubePlayer.vue"],names:[],mappings:"AACA,UACC,WAAY,AACZ,YAAa,AACb,iBAAmB,CACnB",file:"YoutubePlayer.vue",sourcesContent:["\n.ytplayer {\n\twidth: 100%;\n\theight: 100%;\n\tposition: absolute;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(60),i=r(a),s=n(61),l=r(s),c=n(63),u=r(c),f=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=(0,i.default)();if(f||(f=(0,l.default)(r)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=u.default.proxyEvents(r);var a=new Promise(function(n){if("string"==typeof e||e instanceof HTMLElement)f.then(function(o){var a=new o.Player(e,t);return r.on("ready",function(){n(a)}),null});else{if(!("object"===(void 0===e?"undefined":o(e))&&e.playVideo instanceof Function))throw new TypeError("Unexpected state.");n(e)}}),s=u.default.promisifyPlayer(a,n);return s.on=r.on,s.off=r.off,s},e.exports=t.default},function(e,t,n){(function(t){function n(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!=n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,o=t[e];if(o)for(r=o.length;r--;)o[r].handler(n)},e}t.gajus=t.gajus||{},t.gajus.Sister=n,e.exports=n}).call(t,n(3))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){var t=new Promise(function(e){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void e(window.YT);var t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){t&&t(),e(window.YT)}}),n="http:"===window.location.protocol?"http:":"https:";return(0,o.default)(n+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)}),t},e.exports=t.default},function(e,t){function n(e,t){for(var n in t)e.setAttribute(n,t[n])}function r(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function o(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,a){var i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"==typeof t&&(a=t,t={}),t=t||{},a=a||function(){},s.type=t.type||"text/javascript",s.charset=t.charset||"utf8",s.async=!("async"in t)||!!t.async,s.src=e,t.attrs&&n(s,t.attrs),t.text&&(s.text=""+t.text),("onload"in s?r:o)(s,a),s.onload||r(s,a),i.appendChild(s)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(64),a=r(o),i=n(67),s=r(i),l=n(68),c=r(l),u=n(69),f=r(u),d=(0,a.default)("youtube-player"),p={};p.proxyEvents=function(e){var t={},n=!0,r=!1,o=void 0;try{for(var a,i=c.default[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var s=a.value;(function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){d('event "%s"',r,t),e.trigger(n,t)}})(s)}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}return t},p.promisifyPlayer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=!0,o=!1,a=void 0;try{for(var i,l=s.default[Symbol.iterator]();!(r=(i=l.next()).done);r=!0){var c=i.value;(function(r){t&&f.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,a=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(a=o))}),e.splice(a,0,r)}}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}}function l(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}t=e.exports=n(65),t.log=i,t.formatArgs=a,t.save=s,t.load=l,t.useColors=o,t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(l())}).call(t,n(4))},function(e,t,n){function r(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}function o(e){function n(){if(n.enabled){var e=n,r=+new Date,o=r-(c||r);e.diff=o,e.prev=c,e.curr=r,c=r;for(var a=new Array(arguments.length),i=0;i100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*u;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(e){return e>=c?Math.round(e/c)+"d":e>=l?Math.round(e/l)+"h":e>=s?Math.round(e/s)+"m":e>=i?Math.round(e/i)+"s":e+"ms"}function o(e){return a(e,c,"day")||a(e,l,"hour")||a(e,s,"minute")||a(e,i,"second")||e+" ms"}function a(e,t,n){if(!(e0)return n(e);if("number"===a&&!1===isNaN(e))return t.long?o(e):r(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"ytplayer"})},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"ProviderPlayer"},["youtube"===e.provider?n("youtube-player",{attrs:{volume:e.volume,autoplay:e.autoplay,videoId:e.track.ytid,isPlaying:e.isPlaying},on:{playing:function(t){e.$emit("play")},paused:function(t){e.$emit("pause")},ended:function(t){e.$emit("trackEnded")}}}):e._e()],1)},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){n(74)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(15),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(80),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-b88749fc",null);t.default=u.exports},function(e,t,n){var r=n(75);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6caaa6ca",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.PlayerControl[data-v-b88749fc]{min-height:2.5em;background:#f5f5f5;border-top:1px solid #b3b3b3;margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;position:relative}.PlayerControl-group[data-v-b88749fc]{-ms-flex-preferred-size:3em;flex-basis:3em;display:-webkit-box;display:-ms-flexbox;display:flex}.PlayerControl-group--large[data-v-b88749fc]{-webkit-box-flex:1;-ms-flex:1;flex:1}.Btn[data-v-b88749fc]{width:100%;padding:0 .5rem;font-size:.8em;line-height:1;background:#f5f5f5;border:0}.Btn--isNotFullVolume span[data-v-b88749fc]{opacity:.4}.Btn--mute span[data-v-b88749fc]:before{content:"\\25A0"}.Btn--mute.is-active span[data-v-b88749fc]:before{content:"\\25A1"}.Btn--shuffle[data-v-b88749fc]{font-size:2em}.Btn--shuffle span[data-v-b88749fc]{position:relative;top:-.05em;opacity:.5}.Btn--shuffle.is-active span[data-v-b88749fc]{opacity:1}.Btn--next[data-v-b88749fc]{font-size:1.5em}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/PlayerControls.vue"],names:[],mappings:"AACA,gCACC,iBAAkB,AAClB,mBAA4B,AAG5B,6BAAsC,AACtC,SAAU,AACV,UAAW,AACX,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,yBAA0B,AACtB,qBAAsB,AAC9B,iBAAmB,CAZnB,AAcD,sCACC,4BAA6B,AACzB,eAAgB,AACpB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AACD,6CACC,mBAAoB,AAChB,WAAY,AACR,MAAQ,CAChB,AACD,sBACC,WAAY,AACZ,gBAAkB,AAClB,eAAiB,AACjB,cAAe,AACf,mBAA4B,AAC5B,QAAU,CACV,AACD,4CACC,UAAa,CACb,AACD,wCACC,eAAa,CACb,AACD,kDACC,eAAa,CACb,AACD,+BACC,aAAe,CACf,AACD,oCACC,kBAAmB,AACnB,WAAa,AACb,UAAa,CACb,AACD,8CACC,SAAW,CACX,AAGD,4BACC,eAAiB,CACjB",file:"PlayerControls.vue",sourcesContent:["\n.PlayerControl[data-v-b88749fc] {\n\tmin-height: 2.5em;\n\tbackground: hsl(0, 0%, 96%);\n}\n.PlayerControl[data-v-b88749fc] {\n\tborder-top: 1px solid hsl(0, 0%, 70%);\n\tmargin: 0;\n\tpadding: 0;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-webkit-box-orient: horizontal;\n\t-webkit-box-direction: normal;\n\t -ms-flex-flow: row nowrap;\n\t flex-flow: row nowrap;\n\tposition: relative; /* on top of ProviderPlayer */\n}\n.PlayerControl-group[data-v-b88749fc] {\n\t-ms-flex-preferred-size: 3em;\n\t flex-basis: 3em;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.PlayerControl-group--large[data-v-b88749fc] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n}\n.Btn[data-v-b88749fc] {\n\twidth: 100%;\n\tpadding: 0 0.5rem;\n\tfont-size: 0.8em;\n\tline-height: 1;\n\tbackground: hsl(0, 0%, 96%);\n\tborder: 0;\n}\n.Btn--isNotFullVolume span[data-v-b88749fc] {\n\topacity: 0.4;\n}\n.Btn--mute span[data-v-b88749fc]::before {\n\tcontent: '■';\n}\n.Btn--mute.is-active span[data-v-b88749fc]::before {\n\tcontent: '□';\n}\n.Btn--shuffle[data-v-b88749fc] {\n\tfont-size: 2em;\n}\n.Btn--shuffle span[data-v-b88749fc] {\n\tposition: relative;\n\ttop: -0.05em;\n\topacity: 0.5;\n}\n.Btn--shuffle.is-active span[data-v-b88749fc] {\n\topacity: 1;\n}\n.PlayPause[data-v-b88749fc] {\n}\n.Btn--next[data-v-b88749fc] {\n\tfont-size: 1.5em;\n}\n"],sourceRoot:""}])},function(e,t,n){"use strict";function r(e){n(77)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(16),a=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var s=n(79),l=n(2),c=r,u=l(a.a,s.a,!1,c,"data-v-6b865783",null);t.default=u.exports},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("3e8c86ae",r,!0,{sourceMap:!0})},function(e,t,n){t=e.exports=n(0)(!0),t.push([e.i,'.PlayPause[data-v-6b865783]{display:-webkit-box;display:-ms-flexbox;display:flex}.PlayPause[data-v-6b865783]::-moz-selection{background-color:transparent}.PlayPause[data-v-6b865783]::selection{background-color:transparent}.PlayPause-state[data-v-6b865783]{width:0;height:0;border:none;visibility:hidden;margin:0;position:absolute}.PlayPause-label[data-v-6b865783]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex}.PlayPause-controller[data-v-6b865783]{display:inline-block;position:relative;font-size:16px;width:1em;height:1.2em;padding:0;margin:auto}.PlayPause-controller[data-v-6b865783]:after,.PlayPause-controller[data-v-6b865783]:before{-webkit-box-sizing:content-box;box-sizing:content-box;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);content:"";border-top:.3em solid transparent;border-bottom:.3em solid transparent;border-left:.5em solid #000}.PlayPause-controller[data-v-6b865783]:before{left:0;-webkit-transition:all .1s linear;transition:all .1s linear;width:0;height:.6em}.PlayPause-controller[data-v-6b865783]:after{right:0;-webkit-transition:all .15s linear;transition:all .15s linear;width:0;height:0}.PlayPause-state:checked+.PlayPause-label .PlayPause-controller[data-v-6b865783]:after,.PlayPause-state:checked+.PlayPause-label .PlayPause-controller[data-v-6b865783]:before{border-top-width:0;border-bottom-width:0;border-left-width:.38em;height:100%}',"",{version:3,sources:["/Users/Oskar/Sites/internet4000/radio4000-player/src/PlayPauseButton.vue"],names:[],mappings:"AACA,4BACC,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AACD,4CACC,4BAA8B,CAC9B,AACD,uCACC,4BAA8B,CAC9B,AACD,kCACC,QAAS,AACT,SAAU,AACV,YAAa,AACb,kBAAmB,AACnB,SAAU,AACV,iBAAmB,CACnB,AACD,kCACC,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAChB,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACd,AACD,uCACC,qBAAsB,AACtB,kBAAmB,AACnB,eAAgB,AAChB,UAAW,AACX,aAAc,AACd,UAAW,AACX,WAAa,CACb,AACD,2FAEC,+BAAgC,AACxB,uBAAwB,AAChC,kBAAmB,AACnB,QAAS,AACT,mCAAoC,AAChC,+BAAgC,AAC5B,2BAA4B,AACpC,WAAY,AACZ,kCAAoC,AACpC,qCAAuC,AACvC,2BAA+B,CAC/B,AACD,8CACC,OAAQ,AACR,kCAAqC,AACrC,0BAA6B,AAC7B,QAAS,AACT,WAAc,CACd,AACD,6CACC,QAAS,AACT,mCAAqC,AACrC,2BAA6B,AAC7B,QAAS,AACT,QAAU,CACV,AACD,+KAEC,mBAAoB,AACpB,sBAAuB,AACvB,wBAA0B,AAC1B,WAAa,CACb",file:"PlayPauseButton.vue",sourcesContent:['\n.PlayPause[data-v-6b865783] {\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.PlayPause[data-v-6b865783]::-moz-selection {\n\tbackground-color: transparent;\n}\n.PlayPause[data-v-6b865783]::selection {\n\tbackground-color: transparent;\n}\n.PlayPause-state[data-v-6b865783] {\n\twidth: 0;\n\theight: 0;\n\tborder: none;\n\tvisibility: hidden;\n\tmargin: 0;\n\tposition: absolute;\n}\n.PlayPause-label[data-v-6b865783] {\n\t-webkit-box-flex: 1;\n\t -ms-flex: 1;\n\t flex: 1;\n\tdisplay: -webkit-box;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n.PlayPause-controller[data-v-6b865783] {\n\tdisplay: inline-block;\n\tposition: relative;\n\tfont-size: 16px;\n\twidth: 1em;\n\theight: 1.2em;\n\tpadding: 0;\n\tmargin: auto;\n}\n.PlayPause-controller[data-v-6b865783]::before,\n.PlayPause-controller[data-v-6b865783]::after {\n\t-webkit-box-sizing: content-box;\n\t box-sizing: content-box;\n\tposition: absolute;\n\ttop: 50%;\n\t-webkit-transform: translateY(-50%);\n\t -ms-transform: translateY(-50%);\n\t transform: translateY(-50%);\n\tcontent: "";\n\tborder-top: 0.3em solid transparent;\n\tborder-bottom: 0.3em solid transparent;\n\tborder-left: 0.5em solid black;\n}\n.PlayPause-controller[data-v-6b865783]::before {\n\tleft: 0;\n\t-webkit-transition: all 100ms linear;\n\ttransition: all 100ms linear;\n\twidth: 0;\n\theight: 0.6em;\n}\n.PlayPause-controller[data-v-6b865783]::after {\n\tright: 0;\n\t-webkit-transition: all 150ms linear;\n\ttransition: all 150ms linear;\n\twidth: 0;\n\theight: 0;\n}\n.PlayPause-state:checked + .PlayPause-label .PlayPause-controller[data-v-6b865783]::before,\n.PlayPause-state:checked + .PlayPause-label .PlayPause-controller[data-v-6b865783]::after {\n\tborder-top-width: 0;\n\tborder-bottom-width: 0;\n\tborder-left-width: 0.38em;\n\theight: 100%;\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"PlayPause"},[n("input",{staticClass:"PlayPause-state",attrs:{type:"checkbox",id:e.uid},domProps:{checked:e.isPlaying},on:{change:e.toggle}}),e._v(" "),n("label",{staticClass:"PlayPause-label",attrs:{for:e.uid,title:e.isPlaying?"Pause":"Play"}},[n("div",{staticClass:"PlayPause-controller"})])])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"PlayerControl"},[n("div",{staticClass:"PlayerControl-group"},[n("button",{staticClass:"Btn Btn--mute",class:{"Btn--isNotFullVolume":e.isNotFullVolume,"is-active":e.isMuted},attrs:{title:"Mute volume (on/off)",disabled:e.isDisabled},on:{click:function(t){e.$emit("toggleMute")}}},[n("span")])]),e._v(" "),n("div",{staticClass:"PlayerControl-group"},[n("button",{staticClass:"Btn Btn--shuffle",class:{"is-active":e.isShuffle},attrs:{title:"Shuffle tracks (on/off)",disabled:e.isDisabled},on:{click:function(t){e.$emit("toggleShuffle")}}},[n("span",[e._v("↝")])])]),e._v(" "),n("div",{staticClass:"PlayerControl-group PlayerControl-group--large"},[n("PlayPauseButton",{staticClass:"Btn",attrs:{isPlaying:e.isPlaying},on:{play:function(t){e.$emit("play")},pause:function(t){e.$emit("pause")}}})],1),e._v(" "),n("div",{staticClass:"PlayerControl-group"},[n("button",{staticClass:"Btn Btn--next",attrs:{title:"Next track",disabled:e.isDisabled},on:{click:function(t){e.$emit("next")}}},[n("span",[e._v("→")])])])])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){return Math.floor(Math.random()*e.length)}function o(e){e=e.slice();for(var t=e.length,n=void 0,r=void 0;t;)r=Math.floor(Math.random()*t--),n=e[t],e[t]=e[r],e[r]=n;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomIndex=r,t.shuffleArray=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"Layout"},[n("div",{staticClass:"Layout-header"},[n("channel-header",{attrs:{channel:e.channel,image:e.image,r4Url:e.r4Url,track:e.currentTrack}})],1),e._v(" "),n("div",{staticClass:"Layout-section"},[n("div",{staticClass:"Layout-aside"},[n("provider-player",{attrs:{autoplay:e.autoplay,isMuted:e.isMuted,isPlaying:e.isPlaying,track:e.currentTrack,volume:e.volume},on:{play:e.play,pause:e.pause,trackEnded:e.trackEnded}})],1),e._v(" "),n("div",{staticClass:"Layout-main"},[n("track-list",{attrs:{currentTrackIndex:e.currentTrackIndex,channelSlug:e.channel.slug,track:e.currentTrack,tracks:e.tracksPool,query:e.channel.query},on:{select:e.playTrack}})],1)]),e._v(" "),n("div",{staticClass:"Layout-footer"},[n("player-controls",{attrs:{isDisabled:!this.tracksPool.length,isMuted:e.isMuted,isPlaying:e.isPlaying,isShuffle:e.isShuffle,volume:e.volume},on:{play:e.play,pause:e.pause,toggleMute:e.toggleMute,toggleShuffle:e.toggleShuffle,next:e.playNextTrack}})],1)])},o=[],a={render:r,staticRenderFns:o};t.a=a},function(e,t,n){"use strict";function r(e){var t=u+'/channels.json?orderBy="slug"&startAt="'+e+'"&endAt="'+e+'"';return(0,c.default)(t).then(f).then(p).then(h)}function o(e){var t=u+"/channels/"+e+".json";return(0,c.default)(t).then(f).then(function(t){return d(t,e)})}function a(e){var t=u+'/tracks.json?orderBy="channel"&startAt="'+e+'"&endAt="'+e+'"';return(0,c.default)(t).then(f).then(p).then(function(e){return e.sort(function(e,t){return e.created-t.created})})}function i(e){var t=u+"/tracks/"+e+".json";return(0,c.default)(t).then(f).then(function(t){return d(t,e)})}function s(e){if(!e||!e.images)return Promise.reject();var t=u+'/images.json?orderBy="channel"&startAt="'+e.id+'"&endAt="'+e.id+'"&limitToLast=1';return(0,c.default)(t).then(f).then(p).then(h).then(function(e){return"https://res.cloudinary.com/radio4000/image/upload//q_100,w_56,h_56,c_thumb,c_fill,fl_lossy/"+e.src})}Object.defineProperty(t,"__esModule",{value:!0}),t.findChannelBySlug=r,t.findChannelById=o,t.findChannelTracks=a,t.findTrack=i,t.findChannelImage=s;var l=n(84),c=function(e){return e&&e.__esModule?e:{default:e}}(l),u=function(){return window&&window.r4&&window.r4.databaseURL?window.r4.databaseURL:"https://radio4000.firebaseio.com"}(),f=function(e){return e.json().then(function(e){if(!Object.keys(e).length)throw new Error("404");return e})},d=function(e,t){return Object.assign(e,{id:t})},p=function(e){return Object.keys(e).map(function(t){return Object.assign(e[t],{id:t})})},h=function(e){return e[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof fetch?fetch.bind():function(e,t){return t=t||{},new Promise(function(n,r){function o(){var e,t=[],n=[],r={};return a.getAllResponseHeaders().replace(/^(.*?):\s*([\s\S]*?)$/gm,function(o,a,i){t.push(a=a.toLowerCase()),n.push([a,i]),e=r[a],r[a]=e?e+","+i:i}),{ok:1==(a.status/200|0),status:a.status,statusText:a.statusText,url:a.responseURL,clone:o,text:function(){return Promise.resolve(a.responseText)},json:function(){return Promise.resolve(a.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([a.response]))},headers:{keys:function(){return t},entries:function(){return n},get:function(e){return r[e.toLowerCase()]},has:function(e){return e.toLowerCase()in r}}}}var a=new XMLHttpRequest;a.open(t.method||"get",e);for(var i in t.headers)a.setRequestHeader(i,t.headers[i]);a.withCredentials="include"==t.credentials,a.onload=function(){n(o())},a.onerror=r,a.send(t.body)})};t.default=r},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.canLoad?n("radio4000-player",{attrs:{channel:e.channel,tracks:e.tracks,originTrack:e.track,image:e.image,autoplay:e.autoplay,r4Url:e.r4Url,volume:e.localVolume,shuffle:e.shuffle},on:{trackChanged:e.onTrackChanged,trackEnded:e.onTrackEnded}}):n("div",{staticClass:"Console"},[n("p",[e._v("Radio4000-player is ready to start playing:\n\t\t"),n("a",{attrs:{href:"https://github.com/internet4000/radio4000-player-vue"}},[e._v("documentation")])])])},o=[],a={render:r,staticRenderFns:o};t.a=a}])}); //# sourceMappingURL=radio4000-player.min.js.map \ No newline at end of file diff --git a/package.json b/package.json index f71230aa..529c6238 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "radio4000-player", "description": "A player for Radio4000 channels", "author": "Internet4000", - "version": "0.4.7", + "version": "0.5.0", "homepage": "https://github.com/internet4000/radio4000-player", "bugs": "https://github.com/internet4000/radio4000-player/issues", "license": "GPL-3.0",