module.exports=function(e){functiont(r){if(n[r])returnn[r].exports;vara=n[r]={i:r,l:!1,exports:{}};returne[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}varn={};returnt.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){varn=e&&e.__esModule?function(){returne.default}:function(){returne};returnt.d(n,"a",n),n},t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=47)}([function(e,t){e.exports=require("react")},function(e,t){e.exports=require("react-redux")},function(e,t){e.exports=require("winston")},function(e,t){e.exports=require("react-router-dom")},function(e,t,n){"use strict";functionr(e){return{type:h.FILE_SELECTED,data:e}}functiona(){return{type:h.FILE_CLEAR}}functionl(e,t){return{type:h.METADATA_UPDATE,data:{name:e,value:t}}}functiono(e){return{type:h.CLAIM_UPDATE,data:e}}functioni(e){return{type:h.SET_PUBLISH_IN_CHANNEL,channel:e}}functionu(e,t){return{type:h.PUBLISH_STATUS_UPDATE,data:{status:e,message:t}}}functions(e,t){return{type:h.ERROR_UPDATE,data:{name:e,value:t}}}functionc(e){return{type:h.SELECTED_CHANNEL_UPDATE,data:e}}functionf(e){return{type:h.TOGGLE_METADATA_INPUTS,data:e}}functiond(e){return{type:h.THUMBNAIL_NEW,data:e}}functionp(e){return{type:h.PUBLISH_START,data:{history:e}}}Object.defineProperty(t,"__esModule",{value:!0}),t.selectFile=r,t.clearFile=a,t.updateMetadata=l,t.updateClaim=o,t.setPublishInChannel=i,t.updatePublishStatus=u,t.updateError=s,t.updateSelectedChannel=c,t.toggleMetadataInputs=f,t.onNewThumbnail=d,t.startPublish=p;varm=n(34),h=function(e){if(e&&e.__esModule)returne;vart={};if(null!=e)for(varnine)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);returnt.default=e,t}(m)},function(e,t,n){"use strict";functionr(){vare=this;this.analytics={googleId:"default"},this.assetDefaults={description:"An asset published on Spee.ch",thumbnail:"https://spee.ch/assets/img/video_thumb_default.png",title:"Spee.ch"},this.auth={sessionKey:"default"},this.details={description:"Open-source, decentralized image and video sharing.",host:"default",port:3e3,title:"Spee.ch",twitter:"@spee_ch"},this.publishing={additionalClaimAddresses:[],disabled:!1,disabledMessage:"Please check back soon.",primaryClaimAddress:"default",thumbnailChannel:"default",thumbnailChannelId:"default",uploadDirectory:"/home/lbry/Uploads"},this.configure=function(t){if(!t)returnconsole.log("No site config received.");varn=t.analytics,r=t.assetDefaults,a=t.auth,l=t.details,o=t.publishing;e.analytics=n,e.assetDefaults=r,e.auth=a,e.details=l,e.publishing=o}}e.exports=newr},function(e,t,n){"use strict";varr=n(26),a=n(2);console.log("exporting sequelize models");varl=n(23),o=l.database,i=l.username,u=l.password,s={},c=newr(o,i,u,{host:"localhost",dialect:"mysql",dialectOptions:{decimalNumbers:!0},logging:!1,pool:{max:5,min:0,idle:1e4,acquire:1e4}});c.authenticate().then(function(){a.info("Sequelize has established mysql connection successfully.")}).catch(function(e){a.error("Sequelize was unable to connect to the database:",e)});varf=n(67),d=n(68),p=n(69),m=n(70),h=n(71),b=n(72);s.Certificate=c.import("Certificate",f),s.Channel=c.import("Channel",d),s.Claim=c.import("Claim",p),s.File=c.import("File",m),s.Request=c.import("Request",h),s.User=c.import("User",b),Object.keys(s).forEach(function(e){s[e].associate&&(a.info("Associating model:",e),s[e].associate(s))}),s.sequelize=c,s.Sequelize=r,s.upsert=function(e,t,n,r){returne.findOne({where:n}).then(function(n){returnn?(a.debug("updating record in db."+r),n.update(t)):(a.debug("creating record in db."+r),e.create(t))}).catch(function(e){throwa.error(r+".upsert error",e),e})},e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});varr=n(1),a=n(19),l=n(4),o=n(93),i=function(e){returne&&e.__esModule?e:{default:e}}(o),u=function(e){vart=e.channel,n=e.site;return{channelName:t.loggedInChannel.name,channelShortId:t.loggedInChannel.shortId,channelLongId:t.loggedInChannel.longId,siteDescription:n.description}},s=f