Updates
This commit is contained in:
parent
f4269fd4aa
commit
9e7df8472d
|
@ -3256,7 +3256,7 @@ var r=require("unist-util-visit-parents");function e(){return function(e){return
|
|||
},{"react":"HdMw","react-markdown":"ebYW","./markdown/code-block":"sKPC","../css/markdown.css":"svz3"}],"fM5Q":[function(require,module,exports) {
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=u(require("react")),t=require("react-redux"),r=require("../data/podcasts"),n=a(require("react-progressive-image")),o=require("../actions/player");function a(e){return e&&e.__esModule?e:{default:e}}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}function l(e){return(l="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})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function p(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}require("../css/NowPlaying.styles.css");var g=function(t){function o(){return c(this,o),p(this,d(o).apply(this,arguments))}return m(o,e.Component),f(o,[{key:"render",value:function(){var t=this.props.player,o=(t.playStatus,t.loading,this.props.player.track),a=o.img,i=o.title,u=o.podcast,l="";return i&&(l=r.podcasts.filter(function(e){return e.name===u})[0]),e.default.createElement("div",null,i?e.default.createElement("div",{className:"NowPlaying-player ".concat(this.props.theme)},e.default.createElement("i",{onClick:this.props.stopAudio,className:"material-icons NowPlaying-close"},"close"),e.default.createElement("div",{className:"NowPlaying-img-wrapper"},e.default.createElement(n.default,{src:a.url,placeholder:l},function(t){return e.default.createElement("img",{src:t,alt:"podcast image"})})),e.default.createElement("div",{className:"NowPlaying-info"},e.default.createElement("h4",null,u)),e.default.createElement("br",null),e.default.createElement("br",null)):e.default.createElement("p",{className:"middle"},"There is nothing playing. Go find something awesome!"))}}]),o}(),h=function(e){return{player:e.player,theme:e.settings.theme}},v=(0,t.connect)(h,{pauseAudio:o.pauseAudio,skip:o.skip,stopAudio:o.stopAudio})(g);exports.default=v;
|
||||
},{"react":"HdMw","react-redux":"sYSi","../data/podcasts":"ut8y","react-progressive-image":"MXEQ","../actions/player":"yHoQ","../css/NowPlaying.styles.css":"svz3"}],"LqIQ":[function(require,module,exports) {
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=E(require("react")),t=require("react-router-dom"),a=require("react-redux"),n=E(require("../components/Sidebar.component")),u=E(require("../components/Controls.component")),r=E(require("../components/MobileNav.component")),l=E(require("../components/BackButton.component")),o=E(require("../pages/Home")),c=E(require("../pages/Featured")),d=E(require("../pages/NotFound")),p=E(require("../pages/Settings")),m=E(require("../pages/PodcastPage")),f=E(require("../pages/Townhall")),s=E(require("../pages/Upload")),i=E(require("../pages/NowPlaying"));function E(e){return e&&e.__esModule?e:{default:e}}var q=function(a){var E=a.theme;return e.default.createElement(t.BrowserRouter,null,e.default.createElement(r.default,null),e.default.createElement("div",{className:"app-wrapper ".concat(E)},e.default.createElement("div",null,e.default.createElement(n.default,null)),e.default.createElement("div",{className:"app-wrapper-content"},e.default.createElement(l.default,null),e.default.createElement(u.default,null),e.default.createElement(t.Switch,null,e.default.createElement(t.Route,{path:"/",exact:!0,component:o.default}),e.default.createElement(t.Route,{path:"/featured",exact:!0,component:c.default}),e.default.createElement(t.Route,{path:"/settings",exact:!0,component:p.default}),e.default.createElement(t.Route,{path:"/nowplaying",exact:!0,component:i.default}),e.default.createElement(t.Route,{path:"/townhall",exact:!0,component:f.default}),e.default.createElement(t.Route,{path:"/upload",exact:!0,component:s.default}),e.default.createElement(t.Route,{path:"/podcast/:podcast",exact:!0,component:m.default}),e.default.createElement(t.Route,{component:d.default})))))},g=function(e){return{theme:e.settings.theme}},h=(0,a.connect)(g)(q);exports.default=h;
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=E(require("react")),t=require("react-router-dom"),a=require("react-redux"),n=E(require("../components/Sidebar.component")),u=E(require("../components/Controls.component")),l=E(require("../components/MobileNav.component")),r=E(require("../components/BackButton.component")),o=E(require("../pages/Home")),c=E(require("../pages/Featured")),d=E(require("../pages/NotFound")),p=E(require("../pages/Settings")),m=E(require("../pages/PodcastPage")),f=E(require("../pages/Townhall")),s=E(require("../pages/Upload")),i=E(require("../pages/NowPlaying"));function E(e){return e&&e.__esModule?e:{default:e}}var q=function(a){var E=a.theme;return e.default.createElement(t.HashRouter,null,e.default.createElement(l.default,null),e.default.createElement("div",{className:"app-wrapper ".concat(E)},e.default.createElement("div",null,e.default.createElement(n.default,null)),e.default.createElement("div",{className:"app-wrapper-content"},e.default.createElement(r.default,null),e.default.createElement(u.default,null),e.default.createElement(t.Switch,null,e.default.createElement(t.Route,{path:"/",exact:!0,component:o.default}),e.default.createElement(t.Route,{path:"/featured",exact:!0,component:c.default}),e.default.createElement(t.Route,{path:"/settings",exact:!0,component:p.default}),e.default.createElement(t.Route,{path:"/nowplaying",exact:!0,component:i.default}),e.default.createElement(t.Route,{path:"/townhall",exact:!0,component:f.default}),e.default.createElement(t.Route,{path:"/upload",exact:!0,component:s.default}),e.default.createElement(t.Route,{path:"/podcast/:podcast",exact:!0,component:m.default}),e.default.createElement(t.Route,{component:d.default})))))},g=function(e){return{theme:e.settings.theme}},h=(0,a.connect)(g)(q);exports.default=h;
|
||||
},{"react":"HdMw","react-router-dom":"rx6s","react-redux":"sYSi","../components/Sidebar.component":"uQIE","../components/Controls.component":"YNF3","../components/MobileNav.component":"rJEc","../components/BackButton.component":"AeGJ","../pages/Home":"Mi3g","../pages/Featured":"m8kP","../pages/NotFound":"mrIL","../pages/Settings":"duNv","../pages/PodcastPage":"ffpg","../pages/Townhall":"wVA6","../pages/Upload":"tCkb","../pages/NowPlaying":"fM5Q"}],"Wdd3":[function(require,module,exports) {
|
||||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=r(require("react"));function t(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return t=function(){return e},e}function r(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=t();if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var f=o?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(n,u,f):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}function n(e){return(n="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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?a(e):t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}require("../css/Unsupported.styles.css");var s=function(t){function r(){return o(this,r),l(this,c(r).apply(this,arguments))}return i(r,e.Component),f(r,[{key:"render",value:function(){return e.default.createElement("div",{className:"Unsupported-bg"},e.default.createElement("div",{className:"Unsupported-box"},e.default.createElement("div",{className:"Unsupported-icon-wrapper"},"!"),e.default.createElement("h1",null,"Uh-oh!"),e.default.createElement("p",null,"It looks like you're using an unspported browser."),e.default.createElement("small",null,"How about ",e.default.createElement("a",{href:"https://www.google.com/chrome/"},"Chrome")," or"," ",e.default.createElement("a",{href:"https://www.mozilla.org/en-US/firefox/new/"},"Firefox"),"?")))}}]),r}(),y=s;exports.default=y;
|
||||
},{"react":"HdMw","../css/Unsupported.styles.css":"svz3"}],"q8mJ":[function(require,module,exports) {
|
||||
|
|
Loading…
Reference in New Issue