module.exports=function(e){functiont(a){if(n[a])returnn[a].exports;varr=n[a]={i:a,l:!1,exports:{}};returne[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}varn={};returnt.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},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";functiona(e){return{type:h.FILE_SELECTED,data:e}}functionr(){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=a,t.clearFile=r,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";functiona(){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,a=t.assetDefaults,r=t.auth,l=t.details,o=t.publishing;e.analytics=n,e.assetDefaults=a,e.auth=r,e.details=l,e.publishing=o}}e.exports=newa},function(e,t,n){"use strict";vara=n(26),r=n(2);console.log("exporting sequelize models");varl=n(23),o=l.database,i=l.username,u=l.password,s={},c=newa(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(){r.info("Sequelize has established mysql connection successfully.")}).catch(function(e){r.error("Sequelize was unable to connect to the database:",e)});varf=n(63),d=n(64),p=n(65),m=n(66),h=n(67),b=n(68);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&&(r.info("Associating model:",e),s[e].associate(s))}),s.sequelize=c,s.Sequelize=a,s.upsert=function(e,t,n,a){returne.findOne({where:n}).then(function(n){returnn?(r.debug("updating record in db."+a),n.update(t)):(r.debug("creating record in db."+a),e.create(t))}).catch(function(e){throwr.error(a+".upsert error",e),e})},e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});vara=n(1),r=n(19),l=n(4),o=n(89),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