1&&void 0!==arguments[1]?arguments[1]:N,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w;(0,I.default)();var u=t[o]||'?';'number'==typeof u&&(u=String.fromCharCode(u));var f=(0,y.processColor)(l),s=u+":"+n+":"+f,c=y.PixelRatio.get();return new Promise(function(t,o){var l=R[s];void 0!==l?!l||l instanceof Error?o(l):t({uri:l,scale:c}):P.getImageForFont(T,u,n,f,function(n,l){var u='string'==typeof n?new Error(n):n;R[s]=l||u||!1,!u&&l?t({uri:l,scale:c}):o(u)})})}return A.Button=(0,b.default)(A),A.TabBarItem=(0,O.default)(E,L),A.TabBarItemIOS=A.TabBarItem,A.ToolbarAndroid=(0,F.default)(E,L),A.getImageSource=L,A.loadFont=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C;return'ios'===y.Platform.OS?((0,I.default)(),t?P.loadFontWithFileName.apply(P,(0,n.default)(t.split('.'))):Promise.reject(new Error('Unable to load font, because no file was specified. '))):Promise.resolve()},A.hasIcon=function(o){return Object.prototype.hasOwnProperty.call(t,o)},A.getRawGlyphMap=function(){return t},A.getFontFamily=function(){return T},A},e.DEFAULT_ICON_COLOR=e.DEFAULT_ICON_SIZE=e.NativeIconAPI=void 0;var n=o(r(d[2])),l=o(r(d[3])),u=o(r(d[4])),f=o(r(d[5])),s=o(r(d[6])),c=o(r(d[7])),v=o(r(d[8])),p=t(r(d[9])),h=o(r(d[10])),y=r(d[11]),I=o(r(d[12])),b=o(r(d[13])),O=o(r(d[14])),F=o(r(d[15])),P=y.NativeModules.RNVectorIconsManager||y.NativeModules.RNVectorIconsModule;e.NativeIconAPI=P;var N=12;e.DEFAULT_ICON_SIZE=N;var w='black';e.DEFAULT_ICON_COLOR=w},506,[1,3,31,56,4,5,6,8,9,12,67,504,507,508,653,667]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!n){if('android'===o.Platform.OS)throw new Error('RNVectorIconsModule not available, did you properly integrate the module? Try running `react-native link react-native-vector-icons` and recompiling.');throw new Error('RNVectorIconsManager not available, did you add the library to your project and link with libRNVectorIcons.a? Try running `react-native link react-native-vector-icons` and recompiling.')}};var o=r(d[0]),n=o.NativeModules.RNVectorIconsManager||o.NativeModules.RNVectorIconsModule},507,[504]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var l,F;return F=l=(function(l){function S(){return(0,s.default)(this,S),(0,c.default)(this,(0,f.default)(S).apply(this,arguments))}return(0,y.default)(S,l),(0,u.default)(S,[{key:"render",value:function(){var l=this.props,s=l.style,u=l.iconStyle,c=l.children,f=(0,o.default)(l,["style","iconStyle","children"]),y=(0,h.default)(f,O,'style','name','size','color'),S=(0,h.default)(f,T),k=(0,p.default)(f,Object.keys(y),Object.keys(S),'iconStyle','borderRadius','backgroundColor');y.style=u?[C.icon,u]:C.icon;var F=(0,h.default)(this.props,'color'),x=(0,h.default)(this.props,'backgroundColor','borderRadius');return P.default.createElement(v.TouchableHighlight,(0,n.default)({style:[C.touchable,x]},S),P.default.createElement(v.View,(0,n.default)({style:[C.container,x,s]},k),P.default.createElement(t,y),(0,b.default)(c)?P.default.createElement(v.Text,{style:[C.text,F]},c):c))}}]),S})(P.PureComponent),l.propTypes={backgroundColor:S.default.oneOfType([S.default.string,S.default.number]),borderRadius:S.default.number,color:S.default.oneOfType([S.default.string,S.default.number]),size:S.default.number,iconStyle:S.default.any,style:S.default.any,children:S.default.node},l.defaultProps={backgroundColor:k,borderRadius:5,color:'white',size:20},F};var n=l(r(d[2])),o=l(r(d[3])),s=l(r(d[4])),u=l(r(d[5])),c=l(r(d[6])),f=l(r(d[7])),y=l(r(d[8])),b=l(r(d[9])),p=l(r(d[10])),h=l(r(d[11])),P=t(r(d[12])),S=l(r(d[13])),v=r(d[14]),C=v.StyleSheet.create({container:{flexDirection:'row',justifyContent:'flex-start',alignItems:'center',padding:8},touchable:{overflow:'hidden'},icon:{marginRight:10},text:{fontWeight:'600',backgroundColor:'transparent'}}),k='#007AFF',O=['ellipsizeMode','numberOfLines','textBreakStrategy','selectable','suppressHighlighting','allowFontScaling','adjustsFontSizeToFit','minimumFontScale'],T=['accessible','accessibilityLabel','accessibilityHint','accessibilityComponentType','accessibilityRole','accessibilityStates','accessibilityTraits','onFocus','onBlur','disabled','onPress','onPressIn','onPressOut','onLayout','onLongPress','nativeID','testID','delayPressIn','delayPressOut','delayLongPress','activeOpacity','underlayColor','selectionColor','onShowUnderlay','onHideUnderlay','hasTVPreferredFocus','tvParallaxProperties']},508,[1,3,11,56,4,5,6,8,9,509,518,646,12,67,504]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]),c='[object String]';m.exports=function(f){return'string'==typeof f||!n(f)&&o(f)&&t(f)==c}},509,[510,516,517]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),c='[object Null]',u='[object Undefined]',f=n?"function"==typeof n?n.toStringTag:"@@toStringTag":void 0;m.exports=function(n){return null==n?void 0===n?u:c:f&&f in Object(n)?t(n):o(n)}},510,[511,514,515]);
+__d(function(g,r,i,a,m,e,d){var o=r(d[0]).Symbol;m.exports=o},511,[512]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),f='object'==typeof self&&self&&self.Object===Object&&self,s=t||f||Function('return this')();m.exports=s},512,[513]);
+__d(function(g,r,i,a,m,e,d){var t='object'==typeof g&&g&&g.Object===Object&&g;m.exports=t},513,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=Object.prototype,n=o.hasOwnProperty,c=o.toString,l=t?"function"==typeof t?t.toStringTag:"@@toStringTag":void 0;m.exports=function(t){var o=n.call(t,l),p=t[l];try{t[l]=void 0}catch(t){}var v=c.call(t);return o?t[l]=p:delete t[l],v}},514,[511]);
+__d(function(g,r,i,a,m,e,d){var t=Object.prototype.toString;m.exports=function(n){return t.call(n)}},515,[]);
+__d(function(g,r,i,a,m,e,d){var n=Array.isArray;m.exports=n},516,[]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n){return null!=n&&'object'==typeof n}},517,[]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),u=r(d[2]),f=r(d[3]),o=r(d[4]),l=r(d[5]),v=r(d[6]),c=r(d[7]),h=v(function(v,h){var _={};if(null==v)return _;var p=!1;h=n(h,function(n){return n=f(n,v),p||(p=n.length>1),n}),o(v,c(v),_),p&&(_=t(_,7,l));for(var s=h.length;s--;)u(_,h[s]);return _});m.exports=h},518,[519,520,619,620,564,633,635,599]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){for(var o=-1,u=null==n?0:n.length,f=Array(u);++o-1}},528,[525]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);m.exports=function(s,_){var n=this.__data__,h=t(n,s);return h<0?(++this.size,n.push([s,_])):n[h][1]=_,this}},529,[525]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);m.exports=function(){this.__data__=new t,this.size=0}},530,[522]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(t){var _=this.__data__,n=_.delete(t);return this.size=_.size,n}},531,[]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.get(t)}},532,[]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(t){return this.__data__.has(t)}},533,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]),_=r(d[2]);m.exports=function(n,h){var f=this.__data__;if(f instanceof t){var u=f.__data__;if(!s||u.length<199)return u.push([n,h]),this.size=++f.size,this;f=this.__data__=new _(u)}return f.set(n,h),this.size=f.size,this}},534,[522,535,544]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0])(r(d[1]),'Map');m.exports=n},535,[536,512]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),o=r(d[1]);m.exports=function(t,u){var v=o(t,u);return n(v)?v:void 0}},536,[537,543]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),n=r(d[2]),c=r(d[3]),p=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,$=u.toString,f=s.hasOwnProperty,l=RegExp('^'+$.call(f).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');m.exports=function(u){return!(!n(u)||o(u))&&(t(u)?l:p).test(c(u))}},537,[538,540,539,542]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o='[object AsyncFunction]',c='[object Function]',u='[object GeneratorFunction]',b='[object Proxy]';m.exports=function(j){if(!t(j))return!1;var f=n(j);return f==c||f==u||f==o||f==b}},538,[510,539]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}},539,[]);
+__d(function(g,r,i,a,m,e,d){var n,c=r(d[0]),o=(n=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||''))?'Symbol(src)_1.'+n:'';m.exports=function(n){return!!o&&o in n}},540,[541]);
+__d(function(g,r,i,a,m,e,d){var _=r(d[0])['__core-js_shared__'];m.exports=_},541,[512]);
+__d(function(g,r,i,a,m,e,d){var t=Function.prototype.toString;m.exports=function(n){if(null!=n){try{return t.call(n)}catch(t){}try{return n+''}catch(t){}}return''}},542,[]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n,o){return null==n?void 0:n[o]}},543,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]),p=r(d[2]),l=r(d[3]),n=r(d[4]);function s(t){var o=-1,p=null==t?0:t.length;for(this.clear();++o-1&&o%1==0&&o-1&&t%1==0&&t<=n}},575,[]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n){return function(t){return n(t)}}},576,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n='object'==typeof e&&e&&!e.nodeType&&e,o=n&&'object'==typeof m&&m&&!m.nodeType&&m,p=o&&o.exports===n&&t.process,c=(function(){try{var t=o&&o.require&&o.require('util').types;return t||p&&p.binding&&p.binding('util')}catch(t){}})();m.exports=c},577,[513]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=Object.prototype.hasOwnProperty;m.exports=function(c){if(!t(c))return n(c);var u=[];for(var p in Object(c))o.call(c,p)&&'constructor'!=p&&u.push(p);return u}},578,[579,580]);
+__d(function(g,r,i,a,m,e,d){var t=Object.prototype;m.exports=function(o){var n=o&&o.constructor;return o===('function'==typeof n&&n.prototype||t)}},579,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0])(Object.keys,Object);m.exports=t},580,[581]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){return function(u){return n(t(u))}}},581,[]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]);m.exports=function(u){return null!=u&&t(u.length)&&!n(u)}},582,[538,575]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]);m.exports=function(o,u){return o&&n(u,t(u),o)}},583,[564,584]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]);m.exports=function(u){return o(u)?n(u,!0):t(u)}},584,[566,585,582]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=Object.prototype.hasOwnProperty;m.exports=function(u){if(!t(u))return o(u);var p=n(u),f=[];for(var s in u)('constructor'!=s||!p&&c.call(u,s))&&f.push(s);return f}},585,[539,579,586]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n){var t=[];if(null!=n)for(var u in Object(n))t.push(u);return t}},586,[]);
+__d(function(g,r,i,a,m,e,d){var o=r(d[0]),t='object'==typeof e&&e&&!e.nodeType&&e,n=t&&'object'==typeof m&&m&&!m.nodeType&&m,c=n&&n.exports===t?o.Buffer:void 0,f=c?c.allocUnsafe:void 0;m.exports=function(o,t){if(t)return o.slice();var n=o.length,c=f?f(n):new o.constructor(n);return o.copy(c),c}},587,[512]);
+__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){var o=-1,f=n.length;for(t||(t=Array(f));++ou?0:u+t),(o=o>u?u:o)<0&&(o+=u),u=t>o?0:o-t>>>0,t>>>=0;for(var c=Array(u);++f0&&v(p)?u>1?o(p,u-1,v,c,h):n(h,p):c||(h[h.length]=p)}return h}},637,[595,638]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),o=r(d[1]),t=r(d[2]),c=n?"function"==typeof n?n.isConcatSpreadable:"@@isConcatSpreadable":void 0;m.exports=function(n){return t(n)||o(n)||!!(c&&n&&n[c])}},638,[511,568,516]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=Math.max;m.exports=function(o,f,u){return f=t(void 0===f?o.length-1:f,0),function(){for(var h=arguments,v=-1,c=t(h.length-f,0),l=Array(c);++v0){if(++f>=n)return arguments[0]}else f=0;return u.apply(void 0,arguments)}}},645,[]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1])(function(t,u){return null==t?{}:n(t,u)});m.exports=t},646,[647,635]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]);m.exports=function(u,o){return n(u,o,function(n,o){return t(u,o)})}},647,[648,650]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]);m.exports=function(f,u,v){for(var c=-1,_=u.length,h={};++c<_;){var l=u[c],p=n(f,l);v(p,l)&&t(h,o(l,f),p)}return h}},648,[630,649,620]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]),o=r(d[1]),t=r(d[2]),v=r(d[3]),f=r(d[4]);m.exports=function(u,l,c,_){if(!v(u))return u;for(var h=-1,p=(l=o(l,u)).length,s=p-1,x=u;null!=x&&++hp))return!1;var w=h.get(v);if(w&&h.get(l))return w==l;var x=-1,j=!0,q=s&o?new t:void 0;for(h.set(v,l),h.set(l,v);++x
0});e.selectHasPublishFormState=o;var s=(0,t.createSelector)(c,function(t){return Object.keys(t).length>0});e.selectHasChannelFormState=s},677,[404]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),l=t(r(d[2])),s=t(r(d[3])),o=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),f=t(r(d[8])),p=t(r(d[9])),C=r(d[10]),E=r(d[11]),v=r(d[12]),y=t(r(d[13])),w=t(r(d[14])),S=t(r(d[15])),_=t(r(d[16])),T=t(r(d[17])),b=t(r(d[18])),P=t(r(d[19])),I=t(r(d[20])),N=t(r(d[21])),A=t(r(d[22])),x=t(r(d[23])),O=t(r(d[24])),F=t(r(d[25])),L=t(r(d[26])),R=t(r(d[27])),U=t(r(d[28]));function M(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,s)}return l}function k(t){for(var n=1;n0){var o=u.state.coverImagePickerOpen,c="file://"+t.path;o?u.setState({coverImageUrl:c}):u.setState({thumbnailUrl:c}),u.setState({uploadingImage:!0,avatarImagePickerOpen:!1,coverImagePickerOpen:!1},function(){(0,v.uploadImageAsset)(c,function(t){var n=t.url;o?(s({coverImageUrl:n}),u.setState({coverImageUrl:n,uploadingImage:!1})):(s({thumbnailUrl:n}),u.setState({thumbnailUrl:n,uploadingImage:!1}))},function(t){l({message:"The image could not be uploaded: "+t}),u.setState({uploadingImage:!1})})})}else l({message:'We could not use the selected image. Please try a different image.'})},u.onPickerCanceled=function(){u.setState({avatarImagePickerOpen:!1,coverImagePickerOpen:!1})},u.handleCreateCancel=function(){(0,u.props.clearChannelFormState)(),u.setState({showCreateChannel:!1,newChannelName:'',newChannelBid:.1})},u.handlePickerValueChange=function(t,n){T.default.ITEM_CREATE_A_CHANNEL===t?u.setState({showCreateChannel:!0}):(u.handleCreateCancel(),u.handleChannelChange(T.default.ITEM_ANONYMOUS===t?C.CLAIM_VALUES.CHANNEL_ANONYMOUS:t)),u.setState({currentSelectedValue:t})},u.handleChannelChange=function(t){var n=u.props.onChannelChange,l=u.state.newChannelBid;t===C.CLAIM_VALUES.CHANNEL_NEW?(u.setState({addingChannel:!0}),n&&n(t),u.handleNewChannelBidChange(l)):(u.setState({addingChannel:!1}),n&&n(t))},u.handleDescriptionChange=function(t){(0,u.props.updateChannelFormState)({description:t}),u.setState({description:t})},u.handleWebsiteChange=function(t){(0,u.props.updateChannelFormState)({website:t}),u.setState({website:t})},u.handleEmailChange=function(t){(0,u.props.updateChannelFormState)({email:t}),u.setState({email:t})},u.handleNewChannelTitleChange=function(t){if((0,u.props.updateChannelFormState)({newChannelTitle:t}),u.setState({newChannelTitle:t}),t&&!u.state.editMode&&!u.state.channelNameUserEdited){var n=t.replace(new RegExp(C.regexInvalidURI.source,C.regexInvalidURI.flags+'g'),'').toLowerCase();u.handleNewChannelNameChange(n,!1)}},u.handleNewChannelNameChange=function(t,n){var l=u.props,s=(l.notify,l.updateChannelFormState),o=t,c='';o.startsWith('@')&&(o=o.slice(1)),o.trim().length>0&&!(0,C.isNameValid)(o)?c='Your channel name contains invalid characters.':u.channelExists(o)&&(c='You have already created a channel with the same name.'),n&&u.setState({channelNameUserEdited:!0}),s({newChannelName:o}),u.setState({newChannelName:o,newChannelNameError:c})},u.handleNewChannelBidChange=function(t){var n,l=u.props,s=l.balance,o=l.notify,c=l.updateChannelFormState;t<=0?n=__('Please enter a deposit above 0'):t===s?n=__('Please decrease your deposit to account for transaction fees'):t>s&&(n=__('Deposit cannot be higher than your balance')),o({message:n}),c({newChannelBid:t}),u.setState({newChannelBid:t,newChannelBidError:n})},u.handleCreateChannelClick=function(){var t=u.props,n=t.balance,l=t.clearChannelFormState,o=t.createChannel,c=t.onChannelChange,h=(t.getSync,t.notify),f=t.updateChannel,p=u.state,E=p.claimId,y=p.coverImageUrl,w=p.currentChannelName,S=p.editMode,_=p.newChannelBid,b=p.newChannelName,P=p.newChannelTitle,I=p.description,N=p.email,A=p.tags,x=p.thumbnailUrl,O=p.website;if(n0&&(-1===N.indexOf('@')||-1===N.indexOf('.')))h({message:'Please provide a valid email address.'});else if(S&&w!==b&&u.channelExists(b)||!S&&u.channelExists(b))h({message:'You have already created a channel with the same name.'});else if(_>n)h({message:'Deposit cannot be higher than your balance'});else{var F="@"+b;u.setState({createChannelError:void 0});var L=function(t){u.setState({creatingChannel:!1,addingChannel:!1,currentSelectedValue:F,showCreateChannel:!1}),c&&c(F),l(),h({message:'The channel was successfully created.'}),u.showChannelList(),(0,v.logPublish)(t)},R=function(){h({message:'Unable to create channel due to an internal error.'}),u.setState({creatingChannel:!1})},U={title:P,description:I,email:N,tags:A.map(function(t){return{name:t}}),website:O,coverUrl:y,thumbnailUrl:x};if(u.state.editMode){var M=(0,s.default)({},{claim_id:E,amount:_},U);u.setState({updateChannelStarted:!0},function(){return f(M)})}else u.setState({creatingChannel:!0},function(){return o(F,_,U).then(L,R)})}else h({message:'Your channel name contains invalid characters.'})},u.channelExists=function(t){var n=u.props.channels,l=void 0===n?[]:n;if(l){var s=l,o=Array.isArray(s),c=0;for(s=o?s:s["function"==typeof Symbol&&"function"==typeof Symbol&&"function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var h;if(o){if(c>=s.length)break;h=s[c++]}else{if((c=s.next()).done)break;h=c.value}var f=h;if(t.toLowerCase()===f.name.toLowerCase()||("@"+t).toLowerCase()===f.name.toLowerCase())return!0}}return!1},u.onCoverImagePress=function(){var t=u.props.notify;u.state.uploadingImage?t({message:'There is an image upload in progress. Please wait for the upload to complete.'}):u.setState({avatarImagePickerOpen:!1,coverImagePickerOpen:!0},function(){return u.checkStoragePermission()})},u.onAvatarImagePress=function(){var t=u.props.notify;u.state.uploadingImage?t({message:'There is an image upload in progress. Please wait for the upload to complete.'}):u.setState({avatarImagePickerOpen:!0,coverImagePickerOpen:!1},function(){return u.checkStoragePermission()})},u.handleNewChannelPress=function(){(0,u.props.pushDrawerStack)(T.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM),u.setState({currentPhase:T.default.PHASE_CREATE})},u.handleCreateCancel=function(){u.showChannelList()},u.showChannelList=function(){var t=u.props,n=t.drawerStack,l=t.popDrawerStack;n[n.length-1].route===T.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM&&l(),u.setState({currentPhase:T.default.PHASE_LIST}),u.resetChannelCreator()},u.resetChannelCreator=function(){u.setState({canSave:!0,claimId:null,editMode:!1,displayName:null,channelNameUserEdited:!1,newChannelTitle:'',newChannelName:'',newChannelBid:.1,addingChannel:!1,creatingChannel:!1,newChannelNameError:'',newChannelBidError:'',createChannelError:void 0,showCreateChannel:!1,thumbnailUrl:'',coverImageUrl:'',avatarImagePickerOpen:!1,coverImagePickerOpen:!1,currentChannelName:null,description:null,email:null,tags:[],website:null,showOptionalFields:!1,titleFocused:!1,descriptionFocused:!1,websiteFocused:!1,emailFocused:!1,uploadingImage:!1})},u.onExitSelectionMode=function(){u.setState({selectionMode:!1,selectedChannels:[]})},u.onEditActionPressed=function(){u.props.navigation;var t=u.state.selectedChannels[0];u.onExitSelectionMode(),u.prepareEdit(t)},u.loadPendingFormState=function(){var t=u.props.channelFormState,n=t.description||t.website||t.email||t.tags;u.setState(k({},t,{showOptionalFields:n}))},u.prepareEdit=function(t){var n=u.props,l=(n.balance,n.pushDrawerStack),s=t.value;l(T.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM),u.setState({canSave:!0,claimId:t.claim_id,currentPhase:T.default.PHASE_CREATE,displayName:s&&s.title?s.title:t.name.substring(1),editMode:!0,coverImageUrl:s&&s.cover?s.cover.url:'',currentChannelName:t.name.substring(1),newChannelName:t.name.substring(1),newChannelTitle:s?s.title:null,newChannelBid:t.amount,description:s?s.description:null,email:s?s.email:null,website:s?s.website_url:null,tags:s&&s.tags?s.tags:[],thumbnailUrl:s&&s.thumbnail?s.thumbnail.url:'',showOptionalFields:s&&(s.description||s.email||s.website_url||s.tags)})},u.onDeleteActionPressed=function(){var t=u.props,n=t.abandonClaim,l=t.fetchChannelListMine,s=u.state.selectedChannels;E.Alert.alert(__('Delete channels'),__('Are you sure you want to delete the selected channels?'),[{text:__('No')},{text:__('Yes'),onPress:function(){s.forEach(function(t){var l=t.txid,s=t.nout;n(l,s)}),l(),u.onExitSelectionMode()}}],{cancelable:!0})},u.handleAddTag=function(t){if(t&&u.state.canSave&&!u.state.creatingChannel){var n=u.props,l=n.notify,s=n.updateChannelFormState,o=u.state.tags;if(-1===o.indexOf(t.toLowerCase())){var c=o.slice();c.push(t),s({tags:c}),u.setState({tags:c})}else l({message:__("You already added the \""+t+"\" tag.")})}},u.handleRemoveTag=function(t){if(t&&u.state.canSave&&!u.state.creatingChannel){var n=u.props.updateChannelFormState,l=u.state.tags.slice(),s=l.indexOf(t.toLowerCase());s>-1&&(l.splice(s,1),n({tags:l}),u.setState({tags:l}))}},u.selectedChannelIndex=function(t){for(var n=u.state.selectedChannels,l=0;l-1?l.splice(s,1):l.push(t),u.setState({selectionMode:l.length>0,selectedChannels:l})},u.handleChannelListItemPress=function(t){var n=u.props.navigation;u.state.selectionMode?u.addOrRemoveItem(t):(0,v.navigateToUri)(n,t.permanent_url)},u.handleChannelListItemLongPress=function(t){u.addOrRemoveItem(t)},u.checkStoragePermission=function(){E.NativeModules.UtilityModule.canReadWriteStorage().then(function(t){t?E.NativeModules.UtilityModule.openDocumentPicker('image/*'):E.NativeModules.UtilityModule.requestStoragePermission()})},u.handleStoragePermissionGranted=function(){E.NativeModules.UtilityModule.getDownloadDirectory().then(function(t){C.Lbry.settings_set({key:'download_dir',value:t}).then(function(){}).catch(function(){})}),E.NativeModules.UtilityModule.openDocumentPicker('image/*')},u.handleStoragePermissionRefused=function(){(0,u.props.notify)({message:__('Pictures from your device cannot be used because the permission to read storage was not granted.'),isError:!0}),u.setState({avatarImagePickerOpen:!1,coverImagePickerOpen:!1})},u}return(0,f.default)(l,t),(0,u.default)(l,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove(),E.DeviceEventEmitter.removeListener('onDocumentPickerFilePicked',this.onFilePicked),E.DeviceEventEmitter.removeListener('onDocumentPickerCanceled',this.onPickerCanceled)}},{key:"componentDidMount",value:function(){this.setState({autoStyle:w.default.AUTO_THUMB_STYLES[Math.floor(Math.random()*w.default.AUTO_THUMB_STYLES.length)]}),this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=this.props,l=n.currentRoute,s=n.drawerStack,o=n.popDrawerStack,u=n.setPlayerVisible,c=n.navigation,h=n.notify,f=t.currentRoute,p=t.drawerStack,C=t.updatingChannel,E=t.updateChannelError;T.default.DRAWER_ROUTE_CHANNEL_CREATOR===f&&f!==l&&this.onComponentFocused(),this.state.updateChannelStarted&&!C&&(E&&E.length>0?h({message:"The channel could not be updated: "+E,error:!0}):(h({message:'The channel was successfully updated.'}),this.showChannelList())),this.state.currentPhase===T.default.PHASE_CREATE&&s[s.length-1].route===T.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM&&p[p.length-1].route===T.default.DRAWER_ROUTE_CHANNEL_CREATOR&&(this.setState({currentPhase:T.default.PHASE_LIST}),!this.state.hasReturnedBack&&this.state.returnUrl&&this.setState({hasReturnedBack:!0},function(){(0,v.navigateBack)(c,p,o,u)}))}},{key:"componentDidUpdate",value:function(){var t=this,n=this.props.channels,l=void 0===n?[]:n,s=this.state.editChannelUrl;l&&l.length>0&&(this.state.autoStyles.length!==l.length&&this.setState({autoStyles:this.generateAutoStyles(l.length)}),s&&this.setState({editChannelUrl:null},function(){for(var n=0;n0;return p.default.createElement(E.View,{style:L.default.container},p.default.createElement(F.default,{allowEdit:!0,navigation:f,selectionMode:G,selectedItemCount:z.length,onDeleteActionPressed:this.onDeleteActionPressed,onEditActionPressed:this.onEditActionPressed,onExitSelectionMode:this.onExitSelectionMode}),o&&p.default.createElement(E.View,{style:L.default.loading},p.default.createElement(E.ActivityIndicator,{size:'large',color:_.default.NextLbryGreen})),k===T.default.PHASE_LIST&&!o&&!J&&p.default.createElement(b.default,{message:__('You have not created a channel.\nStart now by creating a new channel!'),buttonText:__('Create a channel'),onButtonPress:this.handleNewChannelPress}),k===T.default.PHASE_LIST&&p.default.createElement(E.FlatList,{extraData:this.state,ListFooterComponent:h&&0!==h.length?p.default.createElement(E.View,{style:L.default.listFooter},p.default.createElement(y.default,{style:L.default.createChannelButton,text:__('Create a channel'),onPress:this.handleNewChannelPress})):null,style:L.default.scrollContainer,contentContainerStyle:L.default.scrollPadding,initialNumToRender:10,maxToRenderPerBatch:20,removeClippedSubviews:!0,renderItem:function(n){var l=n.item,s=n.index,o=U.length>s?U[s]:w,u=l.value,c=u&&u.thumbnail?u.thumbnail.url:null;return p.default.createElement(E.TouchableOpacity,{style:L.default.channelListItem,onPress:function(){return t.handleChannelListItemPress(l)},onLongPress:function(){return t.handleChannelListItemLongPress(l)}},p.default.createElement(E.View,{style:[L.default.channelListAvatar,o]},c&&p.default.createElement(P.default,{style:L.default.avatarImage,resizeMode:P.default.resizeMode.cover,source:{uri:c}}),!c&&p.default.createElement(E.Text,{style:R.default.autothumbCharacter},l.name.substring(1,2).toUpperCase())),p.default.createElement(E.View,{style:L.default.channelListDetails},u&&u.title&&p.default.createElement(E.Text,{style:L.default.channelListTitle},l.value.title),p.default.createElement(E.Text,{style:L.default.channelListName},l.name)),t.selectedChannelIndex(l)>-1&&p.default.createElement(E.View,{style:L.default.selectedOverlay},p.default.createElement(N.default,{name:'check-circle',solid:!0,color:_.default.NextLbryGreen,size:32})))},data:h?h.filter(function(t){return!l.includes(t.claim_id)}):[],keyExtractor:function(t,n){return t.claim_id}}),k===T.default.PHASE_CREATE&&p.default.createElement(E.ScrollView,{ref:function(n){return t.scrollView=n},style:L.default.createChannelContainer},p.default.createElement(E.View,{style:L.default.imageSelectors},p.default.createElement(E.TouchableOpacity,{style:L.default.coverImageTouchArea,onPress:this.onCoverImagePress},p.default.createElement(E.Image,{style:L.default.coverImage,resizeMode:'cover',source:M&&M.trim().length>0?{uri:M}:r(d[29])}),p.default.createElement(E.View,{style:L.default.editOverlay},p.default.createElement(N.default,{name:'edit',style:L.default.editIcon})),this.state.uploadingImage&&p.default.createElement(E.View,{style:L.default.uploadProgress},p.default.createElement(E.ActivityIndicator,{size:'small',color:_.default.NextLbryGreen}),p.default.createElement(E.Text,{style:L.default.uploadText},__('Uploading image...')))),p.default.createElement(E.View,{style:[L.default.avatarImageContainer,w]},p.default.createElement(E.TouchableOpacity,{style:L.default.avatarTouchArea,onPress:this.onAvatarImagePress},!!j&&j.trim().length>0&&p.default.createElement(E.Image,{style:L.default.avatarImage,resizeMode:'cover',source:{uri:j}}),(!!j||!!j&&0===j.trim().length)&&B.length>0&&p.default.createElement(E.Text,{style:R.default.autothumbCharacter},B.substring(0,1).toUpperCase()),p.default.createElement(E.View,{style:L.default.thumbnailEditOverlay},p.default.createElement(N.default,{name:'edit',style:L.default.editIcon}))))),s0)&&p.default.createElement(E.Text,{style:L.default.textInputTitle},__('Title')),p.default.createElement(E.TextInput,{editable:D&&!Y&&!u,style:L.default.inputText,value:this.state.newChannelTitle,onChangeText:this.handleNewChannelTitleChange,placeholder:this.state.titleFocused?'':__('Title'),underlineColorAndroid:_.default.NextLbryGreen,onFocus:function(){return t.setState({titleFocused:!0})},onBlur:function(){return t.setState({titleFocused:!1})}})),p.default.createElement(E.View,{style:L.default.channelInputLayout},(this.state.channelNameFocused||null!=this.state.newChannelName&&this.state.newChannelName.trim().length>0)&&p.default.createElement(E.Text,{style:L.default.textInputTitle},__('Channel')),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:L.default.channelAt},"@"),p.default.createElement(E.TextInput,{editable:D&&!V&&!Y&&!u,style:L.default.channelNameInput,value:this.state.newChannelName,onChangeText:function(n){return t.handleNewChannelNameChange(n,!0)},placeholder:this.state.channelNameFocused?'':__('Channel'),underlineColorAndroid:_.default.NextLbryGreen,onFocus:function(){return t.setState({channelNameFocused:!0})},onBlur:function(){return t.setState({channelNameFocused:!1})}}))),H.length>0&&p.default.createElement(E.Text,{style:L.default.inlineError},H),V&&p.default.createElement(E.Text,{style:L.default.helpText},__('The channel name cannot be changed while editing.')),p.default.createElement(E.View,{style:L.default.bidRow},p.default.createElement(E.Text,{style:L.default.label},__('Deposit')),p.default.createElement(E.TextInput,{editable:D&&!Y&&!u,style:L.default.bidAmountInput,value:String(W),onChangeText:this.handleNewChannelBidChange,onFocus:function(){return t.setState({creditsInputFocused:!0})},onBlur:function(){return t.setState({creditsInputFocused:!1})},placeholder:'0.00',keyboardType:'number-pad',underlineColorAndroid:_.default.NextLbryGreen}),p.default.createElement(E.Text,{style:L.default.currency},"LBC"),p.default.createElement(E.View,{style:L.default.balance},this.state.creditsInputFocused&&p.default.createElement(N.default,{name:"coins",size:12}),this.state.creditsInputFocused&&p.default.createElement(E.Text,{style:L.default.balanceText},(0,C.formatCredits)(parseFloat(s),1,!0)))),p.default.createElement(E.Text,{style:L.default.helpText},__('This LBC remains yours. It is a deposit to reserve the name and can be undone at any time.'))),this.state.showOptionalFields&&p.default.createElement(E.View,{style:L.default.card},p.default.createElement(E.View,{style:L.default.textInputLayout},(this.state.descriptionFocused||null!=this.state.description&&this.state.description.trim().length>0)&&p.default.createElement(E.Text,{style:L.default.textInputTitle},__('Description')),p.default.createElement(E.TextInput,{editable:D&&!Y&&!u,style:L.default.inputText,multiline:!0,value:this.state.description,onChangeText:this.handleDescriptionChange,placeholder:this.state.descriptionFocused?'':__('Description'),underlineColorAndroid:_.default.NextLbryGreen,onFocus:function(){return t.setState({descriptionFocused:!0})},onBlur:function(){return t.setState({descriptionFocused:!1})}})),p.default.createElement(E.View,{style:L.default.textInputLayout},(this.state.websiteFocused||null!=this.state.website&&this.state.website.trim().length>0)&&p.default.createElement(E.Text,{style:L.default.textInputTitle},__('Website')),p.default.createElement(E.TextInput,{editable:D&&!Y&&!u,style:L.default.inputText,value:this.state.website,onChangeText:this.handleWebsiteChange,placeholder:this.state.websiteFocused?'':__('Website'),underlineColorAndroid:_.default.NextLbryGreen,onFocus:function(){return t.setState({websiteFocused:!0})},onBlur:function(){return t.setState({websiteFocused:!1})}})),p.default.createElement(E.View,{style:L.default.textInputLayout},(this.state.emailFocused||null!=this.state.email&&this.state.email.trim().length>0)&&p.default.createElement(E.Text,{style:L.default.textInputTitle},__('Email')),p.default.createElement(E.TextInput,{editable:D&&!Y&&!u,style:L.default.inputText,value:this.state.email,onChangeText:this.handleEmailChange,placeholder:this.state.emailFocused?'':__('Email'),underlineColorAndroid:_.default.NextLbryGreen,onFocus:function(){return t.setState({emailFocused:!0})},onBlur:function(){return t.setState({emailFocused:!1})}}))),this.state.showOptionalFields&&p.default.createElement(E.View,{style:L.default.card},p.default.createElement(E.Text,{style:L.default.cardTitle},__('Tags')),p.default.createElement(E.View,{style:L.default.tagList},this.state.tags&&this.state.tags.map(function(n){return p.default.createElement(x.default,{key:n,name:n,type:'remove',style:L.default.tag,onRemovePress:t.handleRemoveTag})})),p.default.createElement(O.default,{editable:D&&!Y&&!u,handleAddTag:this.handleAddTag,selectedTags:this.state.tags,showNsfwTags:!0})),p.default.createElement(E.View,{style:L.default.toggleContainer},p.default.createElement(A.default,{text:this.state.showOptionalFields?__('Hide optional fields'):__('Show optional fields'),onPress:this.handleModePressed,style:L.default.modeLink})),p.default.createElement(E.View,{style:L.default.buttonContainer},(Y||u)&&p.default.createElement(E.ActivityIndicator,{size:'small',color:_.default.NextLbryGreen}),!Y&&!u&&p.default.createElement(E.View,{style:L.default.buttons},p.default.createElement(A.default,{style:L.default.cancelLink,text:__('Cancel'),onPress:this.handleCreateCancel}),p.default.createElement(y.default,{style:L.default.createButton,disabled:!D||q,text:V?__('Update'):__('Create'),onPress:this.handleCreateChannelClick})))),T.default.PHASE_CREATE!==this.state.currentPhase&&p.default.createElement(I.default,{navigation:f}))}}]),l})(p.default.PureComponent);e.default=D},678,[3,31,50,11,4,5,6,8,9,12,401,16,410,679,682,686,674,493,689,693,694,502,498,700,703,705,709,685,710,719]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),f=t(r(d[2])),l=(0,u.connect)()(f.default);e.default=l},679,[3,378,680]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),u=t(r(d[2])),n=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),s=t(r(d[6])),h=r(d[7]),c=t(r(d[8])),p=t(r(d[9])),y=t(r(d[10])),v=(function(t){function v(){return(0,l.default)(this,v),(0,n.default)(this,(0,o.default)(v).apply(this,arguments))}return(0,f.default)(v,t),(0,u.default)(v,[{key:"render",value:function(){var t=this.props,l=t.disabled,u=t.style,n=t.text,o=t.icon,f=t.iconColor,v=t.solid,b=t.theme,x=t.onPress,k=t.onLayout,E=[c.default.button,c.default.row];u&&(u.length?E=E.concat(u):E.push(u)),l&&E.push(c.default.disabled);var P=[c.default.text];o&&o.trim().length>0&&P.push(c.default.textWithIcon),'light'===b?P.push(c.default.textDark):P.push(c.default.textLight);var _=s.default.createElement(y.default,{name:o,size:16,color:f||('light'===b?p.default.DarkGrey:p.default.White)});return v&&(_=s.default.createElement(y.default,{name:o,size:16,color:f||('light'===b?p.default.DarkGrey:p.default.White),solid:!0})),s.default.createElement(h.TouchableOpacity,{disabled:l,style:E,onPress:x,onLayout:k},o&&_,n&&n.trim().length>0&&s.default.createElement(h.Text,{style:P},n))}}]),v})(s.default.PureComponent);e.default=v},680,[3,4,5,6,8,9,12,16,681,674,502]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),n=t(r(d[2])),l=o.StyleSheet.create({button:{borderRadius:24,padding:8,paddingLeft:12,paddingRight:12,alignItems:'center',justifyContent:'center'},disabled:{backgroundColor:'#999999'},row:{flexDirection:'row'},iconLight:{color:n.default.White},iconDark:{color:n.default.DarkGrey},textLight:{color:n.default.White},textDark:{color:n.default.DarkGrey},text:{fontFamily:'Inter-Regular',fontSize:14},textWithIcon:{marginLeft:4}});e.default=l},681,[3,16,674]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),u=t(r(d[3])),o=(0,l.connect)(function(t,l){return{thumbnail:(0,n.makeSelectThumbnailForUri)(l.uri)(t),claim:(0,n.makeSelectClaimForUri)(l.uri)(t),title:(0,n.makeSelectTitleForUri)(l.uri)(t),isResolvingUri:(0,n.makeSelectIsUriResolving)(l.uri)(t)}},function(t){return{resolveUri:function(l){return t((0,n.doResolveUri)(l))}}})(u.default);e.default=o},682,[3,378,401,683]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),l=t(r(d[2])),n=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),h=t(r(d[6])),s=r(d[7]),c=t(r(d[8])),b=t(r(d[9])),y=t(r(d[10])),p=(function(t){function b(){var t,l;(0,u.default)(this,b);for(var f=arguments.length,h=new Array(f),s=0;s0&&c.default.createElement(s.TouchableOpacity,{style:h.default.pendingContainer,onPress:function(){return n&&n.navigate({routeName:'Rewards'})}},c.default.createElement(p.default,{name:"award",size:14,style:h.default.rewardIcon}),c.default.createElement(s.Text,{style:h.default.text},f)),c.default.createElement(s.TouchableOpacity,{style:h.default.container,onPress:function(){return n&&n.navigate({routeName:'WalletStack'})}},c.default.createElement(p.default,{name:"coins",size:12,style:h.default.balanceIcon}),isNaN(l)&&c.default.createElement(s.ActivityIndicator,{size:"small",color:v.default.White}),(!isNaN(l)||0===l)&&c.default.createElement(s.Text,{style:h.default.text},(0,y.formatCredits)(parseFloat(l),1,!0))))}}]),E})(c.default.PureComponent);e.default=E},695,[3,4,5,6,8,9,12,16,401,696,679,674,502,699]);
+__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),l=r(d[2]),u=o(r(d[3])),n=(0,t.connect)(null,{doToast:l.doToast})(u.default);e.default=n},696,[3,378,401,697]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l(r(d[2])),u=l(r(d[3])),s=l(r(d[4])),o=l(r(d[5])),f=l(r(d[6])),c=t(r(d[7])),p=r(d[8]),y=l(r(d[9])),b=l(r(d[10])),v=(function(t){function l(){return(0,n.default)(this,l),(0,s.default)(this,(0,o.default)(l).apply(this,arguments))}return(0,f.default)(l,t),(0,u.default)(l,[{key:"render",value:function(){var t=this.props,l=t.address,n=t.doToast,u=t.style;return c.createElement(p.View,{style:[b.default.row,u]},c.createElement(p.Text,{selectable:!0,numberOfLines:1,style:b.default.address},l||''),c.createElement(y.default,{icon:'clipboard',style:b.default.button,onPress:function(){p.Clipboard.setString(l),n({message:__('Address copied')})}}))}}]),l})(c.PureComponent);e.default=v},697,[1,3,4,5,6,8,9,12,16,679,698]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=n.StyleSheet.create({container:{flex:1,backgroundColor:o.default.PageBackground},scrollContainer:{marginTop:60},row:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},linkRow:{flexDirection:'row',alignItems:'center',paddingTop:12,paddingBottom:12,paddingLeft:16,paddingRight:16},amountRow:{flexDirection:'row'},address:{fontFamily:'Inter-Regular',letterSpacing:.8,borderWidth:1,borderRadius:16,borderStyle:'dashed',borderColor:'#e1e1e1',backgroundColor:'#f9f9f9',paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:6,width:'85%'},button:{backgroundColor:o.default.LbryGreen,alignSelf:'flex-start'},enrollButton:{backgroundColor:o.default.LbryGreen,marginLeft:12},historyList:{backgroundColor:o.default.White},card:{backgroundColor:o.default.White,marginTop:16,marginLeft:16,marginRight:16,padding:16},warningCard:{backgroundColor:o.default.Orange,padding:16,marginLeft:16,marginTop:16,marginRight:16},transactionsCard:{backgroundColor:o.default.White,margin:16},title:{fontFamily:'Inter-SemiBold',fontSize:20,marginBottom:24},transactionsTitle:{fontFamily:'Inter-SemiBold',fontSize:20},transactionsHeader:{paddingTop:12,paddingBottom:12,paddingLeft:16,paddingRight:16,borderBottomWidth:1,borderBottomColor:'#eeeeee'},text:{fontFamily:'Inter-Regular',fontSize:14},link:{color:o.default.LbryGreen,fontFamily:'Inter-Regular',fontSize:14},smallText:{fontFamily:'Inter-Regular',fontSize:12},balanceCard:{marginTop:16,marginLeft:16,marginRight:16},balanceExtraCard:{backgroundColor:o.default.White,marginLeft:16,marginRight:16,padding:16},balanceBackground:{position:'absolute',alignSelf:'stretch',width:'100%',height:'100%'},balanceTitle:{color:o.default.White,fontFamily:'Inter-SemiBold',fontSize:20,marginLeft:16,marginTop:16},balanceCaption:{color:'#caedB9',fontFamily:'Inter-Medium',fontSize:14,marginLeft:16,marginTop:8,marginBottom:96},balance:{color:o.default.White,fontFamily:'Inter-Bold',fontSize:36,marginLeft:16,marginBottom:16},balanceFocus:{alignItems:'center',flexDirection:'row',marginLeft:24},balanceText:{fontFamily:'Inter-SemiBold',fontSize:14,marginLeft:4},infoText:{color:'#aaaaaa',fontFamily:'Inter-Regular',fontSize:14,padding:16,textAlign:'center'},input:{fontFamily:'Inter-Regular',fontSize:14},amountInput:{alignSelf:'flex-start',width:100,fontSize:16,letterSpacing:1},addressInput:{flex:1,fontSize:16,letterSpacing:1.5,marginRight:8},warning:{backgroundColor:o.default.Orange,padding:16,margin:16,marginTop:76},warningParagraph:{color:o.default.White,fontFamily:'Inter-Regular',fontSize:16,lineHeight:24,marginBottom:16},warningText:{color:o.default.White,fontFamily:'Inter-Regular',fontSize:16,lineHeight:24,marginBottom:8},understand:{marginLeft:16,padding:12,paddingLeft:18,paddingRight:18},currency:{fontFamily:'Inter-Regular',alignSelf:'flex-start',fontSize:12,marginTop:16,marginLeft:4},sendButton:{marginTop:8},bottomMarginSmall:{marginBottom:8},bottomMarginMedium:{marginBottom:16},bottomMarginLarge:{marginBottom:24},transactionHistoryScroll:{marginTop:60},rewardDriverCard:{alignItems:'center',backgroundColor:o.default.RewardDriverBlue,flexDirection:'row',padding:16,marginLeft:16,marginTop:16,marginRight:16},rewardDriverText:{color:o.default.White,fontFamily:'Inter-Regular',fontSize:14,lineHeight:16},rewardIcon:{color:o.default.White,marginRight:8},syncDriverCard:{backgroundColor:o.default.White,marginLeft:16,marginBottom:16,marginRight:16},syncDriverTitle:{fontFamily:'Inter-SemiBold',fontSize:20,paddingLeft:16,marginTop:16,paddingBottom:14,borderBottomWidth:1,borderBottomColor:o.default.PageBackground},syncDriverLink:{color:o.default.LbryGreen,fontFamily:'Inter-Regular',fontSize:14},actionRow:{marginTop:20,flexDirection:'row',alignItems:'center',justifyContent:'space-between'},syncDriverRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},switchRow:{paddingLeft:16,paddingRight:16,paddingTop:14,paddingBottom:14,flexDirection:'row',alignItems:'center',borderBottomWidth:1,borderBottomColor:o.default.PageBackground},tableRow:{padding:16,flexDirection:'row',alignItems:'center',borderBottomWidth:1,borderBottomColor:o.default.PageBackground},tableCol:{flex:.5},tableColRow:{flex:.5,alignItems:'center',flexDirection:'row'},rightTableCol:{flex:.5,justifyContent:'flex-end'},labelText:{fontFamily:'Inter-SemiBold',fontSize:16},valueText:{fontFamily:'Inter-Regular',fontSize:16},rightLink:{alignSelf:'flex-end'},syncSwitch:{marginLeft:8},loadingContainer:{position:'absolute',flexDirection:'row',left:0,right:0,top:60,bottom:0,alignItems:'center',justifyContent:'center'},loadingText:{color:'#aaaaaa',fontFamily:'Inter-Regular',fontSize:16,marginLeft:8},buttonRow:{width:'100%',position:'absolute',alignItems:'center',left:24,bottom:24,flexDirection:'row',justifyContent:'space-between'},continueLink:{fontSize:14,fontFamily:'Inter-Regular',color:o.default.White},learnMoreLink:{fontFamily:'Inter-Regular',color:o.default.NextLbryGreen},signInButton:{backgroundColor:o.default.White,paddingLeft:16,paddingRight:16},signInContainer:{flex:1,marginTop:60,padding:24,backgroundColor:o.default.LbryGreen},onboarding:{marginTop:36},onboardingText:{fontFamily:'Inter-Regular',fontSize:18,lineHeight:28,color:o.default.White},signInSummaryRow:{flexDirection:'row'},signInTitle:{color:o.default.White,fontFamily:'Inter-Regular',fontSize:28},walletExtraRow:{flexDirection:'row'},walletExtraCol:{flex:.5,paddingLeft:24},walletExtraBalance:{fontFamily:'Inter-SemiBold',fontSize:28},balanceRow:{flexDirection:'row',alignItems:'center'},walletExtraCaption:{fontFamily:'Inter-Medium',fontSize:14},walletExtraCurrency:{fontFamily:'Inter-Regular',fontSize:12,marginTop:8,marginLeft:4},walletExtraTopMargin:{marginTop:16},walletExtraIcon:{position:'absolute',left:0,top:0}});e.default=l},698,[3,16,674]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=n.StyleSheet.create({view:{position:'absolute',zIndex:100,borderRadius:24,padding:14,justifyContent:'flex-end',flexDirection:'row'},container:{zIndex:100,borderRadius:24,padding:10,paddingLeft:16,paddingRight:16,alignItems:'center',justifyContent:'center',flexDirection:'row',backgroundColor:o.default.LbryGreen,shadowColor:o.default.Black,shadowOpacity:.1,shadowRadius:n.StyleSheet.hairlineWidth,shadowOffset:{height:n.StyleSheet.hairlineWidth},elevation:4},pendingContainer:{borderRadius:24,padding:10,paddingLeft:12,paddingRight:58,marginRight:-52,alignItems:'center',justifyContent:'center',backgroundColor:o.default.BrighterLbryGreen,flexDirection:'row',elevation:3},text:{color:o.default.White,fontFamily:'Inter-SemiBold',fontSize:16},bottomRight:{right:0,bottom:0},rewardIcon:{color:o.default.White,marginRight:3},balanceIcon:{color:o.default.White,marginRight:3,marginTop:-1}});e.default=l},699,[3,16,674]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),f=t(r(d[2])),l=(0,u.connect)()(f.default);e.default=l},700,[3,378,701]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),p=r(d[8]),v=r(d[9]),y=t(r(d[10])),h=t(r(d[11])),P=t(r(d[12])),T=t(r(d[13])),E=(function(t){function E(){var t,u;(0,n.default)(this,E);for(var s=arguments.length,f=new Array(s),c=0;c1&&void 0!==arguments[1]?arguments[1]:[],l=s.props.unfollowedTags,u=[],o=new Set(l.map(function(t){return t.name})),f=Array.from(o).filter(function(t){return-1===n.indexOf(t.toLowerCase())});if(t&&t.trim().length>0){var c=t.toLowerCase();u.includes(c)||u.push(c);u=u.concat(f.filter(function(n){return n.toLowerCase().includes(t.toLowerCase())}).filter(function(t){return c!==t.toLowerCase()}).slice(0,5))}else u=u.concat(f.slice(0,5));s.setState({tagResults:u})},s}return(0,o.default)(y,t),(0,s.default)(y,[{key:"componentDidMount",value:function(){var t=this.props.selectedTags,n=void 0===t?[]:t;this.updateTagResults(this.state.tag,n)}},{key:"componentWillReceiveProps",value:function(t){var n=this.props.selectedTags,s=void 0===n?[]:n,l=t.selectedTags,u=void 0===l?[]:l;u.length!==s.length&&this.updateTagResults(this.state.tag,u)}},{key:"render",value:function(){var t=this,n=this.props,s=n.editable,l=(n.name,n.style,n.type,n.selectedTags,n.showNsfwTags);return f.default.createElement(c.View,null,f.default.createElement(c.TextInput,{editable:s,style:v.default.searchInput,placeholder:__('Search for more tags'),underlineColorAndroid:T.default.NextLbryGreen,value:this.state.tag,numberOfLines:1,onChangeText:this.handleTagChange}),f.default.createElement(c.KeyboardAvoidingView,{behavior:'position'},f.default.createElement(c.View,{style:v.default.tagResultsList},this.state.tagResults.map(function(n){return f.default.createElement(h.default,{key:n,name:n,style:v.default.tag,type:"add",onAddPress:function(n){return t.onAddTagPress(n)}})}))),l&&f.default.createElement(c.View,{style:v.default.nsfwTagsContainer},f.default.createElement(c.Text,{style:v.default.nsfwTagsTitle},__('Mature tags')),f.default.createElement(c.View,{style:v.default.tagResultsList},p.MATURE_TAGS.map(function(n){return f.default.createElement(h.default,{key:n,name:n,style:v.default.tag,type:"add",onAddPress:function(n){return t.onAddTagPress(n)}})}))))}}]),y})(f.default.PureComponent));e.default=y},704,[3,4,5,6,8,9,12,16,401,700,702,674,502]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),c=t(r(d[2])),o=r(d[3]),u=r(d[4]),s=r(d[5]),l=r(d[6]),f=r(d[7]),O=t(r(d[8]));function S(t,n){var c=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),c.push.apply(c,o)}return c}function p(t){for(var c=1;c0&&c.default.createElement(f.Text,{style:b.default.itemCount},v)),c.default.createElement(f.View,{style:b.default.selectionModeActions},u&&1===v&&c.default.createElement(f.TouchableOpacity,{style:[b.default.actionTouchArea,b.default.leftAction],onPress:function(){h&&h()}},c.default.createElement(T.default,{name:"edit",size:20,style:b.default.actionIcon})),c.default.createElement(f.TouchableOpacity,{style:b.default.actionTouchArea,onPress:function(){y&&y()}},c.default.createElement(T.default,{name:"trash-alt",solid:!1,size:20,style:b.default.actionIcon})))),!E&&c.default.createElement(p.default,{name:"bars",size:24,style:b.default.drawerMenuButton,iconStyle:b.default.drawerHamburger,onPress:function(){return o.openDrawer()}}),!E&&c.default.createElement(f.TextInput,{ref:function(n){t.textInput=n},onTouchStart:this.handleTouchStart,autoCorrect:!1,style:b.default.uriText,selection:this.state.selection,placeholder:__('Search movies, music, and more'),underlineColorAndroid:'transparent',numberOfLines:1,clearButtonMode:'while-editing',value:this.state.currentValue,returnKeyType:'go',inlineImageLeft:'baseline_search_black_24',inlineImagePadding:16,onFocus:this.handleFocus,onBlur:this.handleBlur,onChangeText:this.handleChangeText,onSubmitEditing:this.handleSubmitEditing})),this.state.focused&&w&&c.default.createElement(f.FlatList,{style:[b.default.suggestions,{height:f.Dimensions.get('window').height-this.state.keyboardHeight-60}],data:k,keyboardShouldPersistTaps:'handled',keyExtractor:function(t,n){return t.value+"-"+t.type},renderItem:function(n){var u=n.item;return c.default.createElement(S.default,{item:u,navigation:o,onPress:function(){return t.handleItemPress(u)}})}}))}}]),E})(c.default.PureComponent);E.INPUT_TIMEOUT=2500;var k=E;e.default=k},706,[3,4,5,6,8,9,12,401,16,410,493,707,502,670,708]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),n=t(r(d[2])),u=t(r(d[3])),f=t(r(d[4])),E=t(r(d[5])),s=t(r(d[6])),c=r(d[7]),S=r(d[8]),o=t(r(d[9])),h=t(r(d[10])),A=(function(t){function A(){return(0,l.default)(this,A),(0,u.default)(this,(0,f.default)(A).apply(this,arguments))}return(0,E.default)(A,t),(0,n.default)(A,[{key:"render",value:function(){var t,l=this.props,n=l.item,u=l.onPress,f=n.shorthand,E=n.type,A=n.value;switch(E){case c.SEARCH_TYPES.CHANNEL:t=s.default.createElement(o.default,{name:"at",size:18});break;case c.SEARCH_TYPES.SEARCH:t=s.default.createElement(o.default,{name:"search",size:18});break;case c.SEARCH_TYPES.TAG:t=s.default.createElement(o.default,{name:"hashtag",size:18});break;case c.SEARCH_TYPES.FILE:default:t=s.default.createElement(o.default,{name:"file",size:18})}return s.default.createElement(S.TouchableOpacity,{style:h.default.item,onPress:u},t,s.default.createElement(S.View,{style:h.default.itemContent},s.default.createElement(S.Text,{style:h.default.itemText,numberOfLines:1},f||A," - ",E===c.SEARCH_TYPES.SEARCH?'Search':A),s.default.createElement(S.Text,{style:h.default.itemDesc,numberOfLines:1},E===c.SEARCH_TYPES.SEARCH&&"Search for '"+A+"'",E===c.SEARCH_TYPES.CHANNEL&&"View the @"+f+" channel",E===c.SEARCH_TYPES.FILE&&"View content at "+A,E===c.SEARCH_TYPES.TAG&&"Explore the '"+A+"' tag")))}}]),A})(s.default.PureComponent);e.default=A},707,[3,4,5,6,8,9,12,401,16,502,708]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=(r(d[2]),t(r(d[3]))),l=n.StyleSheet.create({uriContainer:{flexDirection:'row',backgroundColor:o.default.White,padding:8,alignSelf:'flex-start',height:60,width:'100%',shadowColor:o.default.Black,shadowOpacity:.1,shadowRadius:n.StyleSheet.hairlineWidth,shadowOffset:{height:n.StyleSheet.hairlineWidth}},containerElevated:{elevation:4},drawerHamburger:{marginLeft:16,marginRight:16},uriText:{backgroundColor:o.default.VeryLightGrey,borderRadius:24,paddingLeft:12,paddingRight:12,fontFamily:'Inter-Regular',fontSize:16,lineHeight:18,flex:17},overlay:{position:'absolute',backgroundColor:'red',top:0,width:'100%',zIndex:200},overlayElevated:{elevation:16},inFocus:{height:'100%'},suggestions:{backgroundColor:'white',flex:1},item:{flexDirection:'row',alignItems:'center',paddingLeft:16,paddingRight:16,paddingTop:12,paddingBottom:12},itemContent:{marginLeft:12,marginRight:12,flex:1},itemText:{fontFamily:'Inter-Regular',fontSize:16},itemDesc:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.UriDescBlue},drawerMenuButton:{height:'100%',justifyContent:'center',flex:3},selectionModeBar:{flex:1,height:46,flexDirection:'row',alignItems:'center',justifyContent:'space-between'},selectionModeLeftBar:{flexDirection:'row',alignItems:'center',marginLeft:16},selectionModeActions:{flexDirection:'row',alignItems:'center',marginRight:16},backTouchArea:{height:'100%',alignItems:'center'},leftAction:{marginRight:16},actionTouchArea:{height:'100%',alignItems:'center'},itemCount:{fontFamily:'Inter-Regular',fontSize:20,marginLeft:30}});e.default=l},708,[3,16,672,674]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),o=t(r(d[2])),l=n.Dimensions.get('window').width,f=n.StyleSheet.create({card:{backgroundColor:o.default.White,marginTop:16,marginLeft:16,marginRight:16,padding:16},container:{flex:1,backgroundColor:o.default.PageBackground},channelPicker:{fontFamily:'Inter-Regular',fontSize:16,height:52,width:'100%'},bidRow:{flexDirection:'row',alignItems:'center'},label:{fontFamily:'Inter-Regular',fontSize:16},balance:{alignItems:'center',flexDirection:'row',marginLeft:24},balanceText:{fontFamily:'Inter-SemiBold',fontSize:14,marginLeft:4},channelNameInput:{fontFamily:'Inter-Regular',fontSize:16,paddingLeft:20},bidAmountInput:{fontFamily:'Inter-Regular',fontSize:16,marginLeft:16,textAlign:'right',width:80},helpText:{fontFamily:'Inter-Regular',fontSize:12,color:o.default.DescriptionGrey},channelTitleInput:{marginBottom:4},createChannelContainer:{marginTop:60,flex:1},channelAt:{position:'absolute',left:4,top:13,fontFamily:'Inter-Regular',fontSize:16},buttonContainer:{marginTop:24,marginBottom:16},buttons:{marginLeft:16,marginRight:16,flexDirection:'row',alignItems:'center',justifyContent:'space-between'},cancelLink:{marginRight:16},createButton:{backgroundColor:o.default.LbryGreen,alignSelf:'flex-end'},inlineError:{fontFamily:'Inter-Regular',fontSize:12,color:o.default.Red,marginTop:2},imageSelectors:{width:'100%',height:160},coverImageTouchArea:{position:'absolute',left:0,right:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},coverImage:{width:'100%',height:'100%'},avatarImageContainer:{position:'absolute',left:l/2-40,bottom:-8,width:80,height:80,borderRadius:160,overflow:'hidden',zIndex:50},avatarTouchArea:{width:80,height:80,alignItems:'center',justifyContent:'center'},avatarImage:{width:'100%',height:'100%'},listFooter:{marginTop:8},createChannelButton:{backgroundColor:o.default.LbryGreen,alignSelf:'flex-start'},scrollContainer:{marginTop:60},scrollPadding:{padding:16},channelListItem:{flexDirection:'row',marginBottom:16,alignItems:'center'},channelListTitle:{fontFamily:'Inter-Regular',fontSize:18,marginBottom:4},channelListName:{fontFamily:'Inter-Regular',fontSize:14},channelListAvatar:{marginRight:16,width:80,height:80,borderRadius:160,overflow:'hidden',alignItems:'center',justifyContent:'center'},selectedOverlay:{position:'absolute',left:0,top:0,width:80,height:80,borderRadius:160,overflow:'hidden',alignItems:'center',justifyContent:'center',backgroundColor:'#000000aa'},listHeader:{alignItems:'center',marginTop:16,marginBottom:16},textInputLayout:{marginBottom:4},textInputTitle:{fontFamily:'Inter-Regular',fontSize:12,marginBottom:-10,marginLeft:4},inputText:{fontFamily:'Inter-Regular',fontSize:16},toggleContainer:{marginTop:24,alignItems:'center',justifyContent:'flex-end'},modeLink:{color:o.default.LbryGreen,alignSelf:'flex-end',marginRight:16},cardTitle:{fontFamily:'Inter-Regular',fontSize:20,marginBottom:8},tag:{marginRight:4,marginBottom:4},tagList:{flexDirection:'row',flexWrap:'wrap'},editOverlay:{alignItems:'center',justifyContent:'center',borderRadius:24,position:'absolute',padding:8,left:4,bottom:4,backgroundColor:'#00000077'},thumbnailEditOverlay:{alignItems:'center',justifyContent:'center',borderRadius:24,position:'absolute',padding:8,left:24,bottom:4,backgroundColor:'#00000077'},editIcon:{color:o.default.White,fontFamily:'Inter-SemiBold',fontSize:12},uploadProgress:{alignItems:'center',borderRadius:16,flexDirection:'row',position:'absolute',top:8,right:8,backgroundColor:'#00000077',paddingLeft:8,paddingRight:8,paddingTop:4,paddingBottom:4,justifyContent:'center'},uploadText:{color:o.default.White,fontFamily:'Inter-SemiBold',fontSize:12,marginLeft:4},loading:{position:'absolute',left:0,right:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'}});e.default=f},709,[3,16,674]);
+__d(function(g,r,i,a,m,e,d){var o=r(d[0]),x=r(d[1]),t=r(d[2]),c=r(d[3]),f=r(d[4]),h=r(d[5]),n=r(d[6]);n.alea=o,n.xor128=x,n.xorwow=t,n.xorshift7=c,n.xor4096=f,n.tychei=h,m.exports=n},710,[711,712,713,714,715,716,717]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t,s){function u(n){var t=this,s=f();t.next=function(){var n=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=n-(t.c=0|n)},t.c=1,t.s0=s(' '),t.s1=s(' '),t.s2=s(' '),t.s0-=s(n),t.s0<0&&(t.s0+=1),t.s1-=s(n),t.s1<0&&(t.s1+=1),t.s2-=s(n),t.s2<0&&(t.s2+=1),s=null}function o(n,t){return t.c=n.c,t.s0=n.s0,t.s1=n.s1,t.s2=n.s2,t}function c(n,t){var s=new u(n),c=t&&t.state,f=s.next;return f.int32=function(){return 4294967296*s.next()|0},f.double=function(){return f()+1.1102230246251565e-16*(2097152*f()|0)},f.quick=f,c&&('object'==typeof c&&o(c,s),f.state=function(){return o(s,{})}),f}function f(){var n=4022871197;return function(t){t=String(t);for(var s=0;s>>0,n=(u*=n)>>>0,n+=4294967296*(u-=n)}return 2.3283064365386963e-10*(n>>>0)}}t&&t.exports?t.exports=c:s&&s.amd?s(function(){return c}):this.alea=c})(0,'object'==typeof m&&m,'function'==typeof define&&define)},711,[]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t,o){function u(n){var t=this,o='';t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var n=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^n^n>>>8},n===(0|n)?t.x=n:o+=n;for(var u=0;u>>0)/4294967296};return c.double=function(){do{var n=((o.next()>>>11)+(o.next()>>>0)/4294967296)/2097152}while(0===n);return n},c.int32=o.next,c.quick=c,x&&('object'==typeof x&&f(x,o),c.state=function(){return f(o,{})}),c}t&&t.exports?t.exports=x:o&&o.amd?o(function(){return x}):this.xor128=x})(0,'object'==typeof m&&m,'function'==typeof define&&define)},712,[]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t,o){function u(n){var t=this,o='';t.next=function(){var n=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^n^n<<1)|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,n===(0|n)?t.x=n:o+=n;for(var u=0;u>>4),t.next()}function x(n,t){return t.x=n.x,t.y=n.y,t.z=n.z,t.w=n.w,t.v=n.v,t.d=n.d,t}function f(n,t){var o=new u(n),f=t&&t.state,c=function(){return(o.next()>>>0)/4294967296};return c.double=function(){do{var n=((o.next()>>>11)+(o.next()>>>0)/4294967296)/2097152}while(0===n);return n},c.int32=o.next,c.quick=c,f&&('object'==typeof f&&x(f,o),c.state=function(){return x(o,{})}),c}t&&t.exports?t.exports=f:o&&o.amd?o(function(){return f}):this.xorwow=f})(0,'object'==typeof m&&m,'function'==typeof define&&define)},713,[]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t,o){function u(n){var t=this;t.next=function(){var n,o,u=t.x,f=t.i;return n=u[f],o=(n^=n>>>7)^n<<24,o^=(n=u[f+1&7])^n>>>10,o^=(n=u[f+3&7])^n>>>3,o^=(n=u[f+4&7])^n<<7,n=u[f+7&7],o^=(n^=n<<13)^n<<9,u[f]=o,t.i=f+1&7,o},(function(n,t){var o,u=[];if(t===(0|t))u[0]=t;else for(t=''+t,o=0;o0;--o)n.next()})(t,n)}function f(n,t){return t.x=n.x.slice(),t.i=n.i,t}function c(n,t){null==n&&(n=+new Date);var o=new u(n),c=t&&t.state,x=function(){return(o.next()>>>0)/4294967296};return x.double=function(){do{var n=((o.next()>>>11)+(o.next()>>>0)/4294967296)/2097152}while(0===n);return n},x.int32=o.next,x.quick=x,c&&(c.x&&f(c,o),x.state=function(){return f(o,{})}),x}t&&t.exports?t.exports=c:o&&o.amd?o(function(){return c}):this.xorshift7=c})(0,'object'==typeof m&&m,'function'==typeof define&&define)},714,[]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t,o){function u(n){var t=this;t.next=function(){var n,o,u=t.w,f=t.X,c=t.i;return t.w=u=u+1640531527|0,o=f[c+34&127],n=f[c=c+1&127],o^=o<<13,n^=n<<17,o^=o>>>15,n^=n>>>12,o=f[c]=o^n,t.i=c,o+(u^u>>>16)|0},(function(n,t){var o,u,f,c,l,x=[],h=128;for(t===(0|t)?(u=t,t=null):(t+='\0',u=0,h=Math.max(h,t.length)),f=0,c=-32;c>>15,u^=u<<4,u^=u>>>13,c>=0&&(l=l+1640531527|0,f=0==(o=x[127&c]^=u+l)?f+1:0);for(f>=128&&(x[127&(t&&t.length||0)]=-1),f=127,c=512;c>0;--c)u=x[f+34&127],o=x[f=f+1&127],u^=u<<13,o^=o<<17,u^=u>>>15,o^=o>>>12,x[f]=u^o;n.w=l,n.X=x,n.i=f})(t,n)}function f(n,t){return t.i=n.i,t.w=n.w,t.X=n.X.slice(),t}function c(n,t){null==n&&(n=+new Date);var o=new u(n),c=t&&t.state,l=function(){return(o.next()>>>0)/4294967296};return l.double=function(){do{var n=((o.next()>>>11)+(o.next()>>>0)/4294967296)/2097152}while(0===n);return n},l.int32=o.next,l.quick=l,c&&(c.X&&f(c,o),l.state=function(){return f(o,{})}),l}t&&t.exports?t.exports=c:o&&o.amd?o(function(){return c}):this.xor4096=c})(0,'object'==typeof m&&m,'function'==typeof define&&define)},715,[]);
+__d(function(g,r,i,a,m,e,d){!(function(t,n,o){function c(t){var n=this,o='';n.next=function(){var t=n.b,o=n.c,c=n.d,u=n.a;return t=t<<25^t>>>7^o,o=o-c|0,c=c<<24^c>>>8^u,u=u-t|0,n.b=t=t<<20^t>>>12^o,n.c=o=o-c|0,n.d=c<<16^o>>>16^u,n.a=u-t|0},n.a=0,n.b=0,n.c=-1640531527,n.d=1367130551,t===Math.floor(t)?(n.a=t/4294967296|0,n.b=0|t):o+=t;for(var c=0;c>>0)/4294967296};return b.double=function(){do{var t=((o.next()>>>11)+(o.next()>>>0)/4294967296)/2097152}while(0===t);return t},b.int32=o.next,b.quick=b,f&&('object'==typeof f&&u(f,o),b.state=function(){return u(o,{})}),b}n&&n.exports?n.exports=f:o&&o.amd?o(function(){return f}):this.tychei=f})(0,'object'==typeof m&&m,'function'==typeof define&&define)},716,[]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t){var o,u=(0,eval)('this'),f=256,c=6,s='random',l=t.pow(f,c),p=t.pow(2,52),h=2*p,y=255;function v(o,u,y){var v=[],A=w(b((u=1==u?{entropy:!0}:u||{}).entropy?[o,x(n)]:null==o?C():o,3),v),_=new j(v),k=function(){for(var n=_.g(c),t=l,o=0;n=h;)n/=2,t/=2,o>>>=1;return(n+o)/t};return k.int32=function(){return 0|_.g(4)},k.quick=function(){return _.g(4)/4294967296},k.double=k,w(x(_.S),n),(u.pass||y||function(n,o,u,f){return f&&(f.S&&S(f,_),n.state=function(){return S(_,{})}),u?(t[s]=n,o):n})(k,A,'global'in u?u.global:this==t,u.state)}function j(n){var t,o=n.length,u=this,c=0,s=u.i=u.j=0,l=u.S=[];for(o||(n=[o++]);cT+p.default.RATING_REMINDER_INTERVAL*S&&f.Alert.alert(__('Enjoying LBRY?'),__('Are you enjoying your experience with the LBRY app? You can leave a review for us on the Play Store.'),[{text:__('Never ask again'),onPress:function(){return u(p.default.SETTING_RATING_REMINDER_DISABLED,'true')}},{text:__('Maybe later'),onPress:function(){return o.updateRatingReminderShown(S)}},{text:__('Rate app'),onPress:function(){u(p.default.SETTING_RATING_REMINDER_DISABLED,'true'),f.Linking.openURL(p.default.PLAY_STORE_URL)}}],{cancelable:!1})}}l||o.updateRatingReminderShown(0)},o.updateRatingReminderShown=function(t){var n=o.props.setClientSetting,l=(0,_.default)().unix()+'|'+(t+1);n(p.default.SETTING_RATING_REMINDER_LAST_SHOWN,l)},o.buildSections=function(){return o.state.tagCollection.map(function(t){return{title:1===t.length?t[0]:__('All tags you follow'),data:[t]}})},o.buildTagCollection=function(t){var n=t.map(function(t){return t.name}),l=N.default.shuffle(n).slice(0,5).map(function(t){return[t]}),u=l.map(function(t){return t[0]}),s=n.filter(function(t){return!u.includes(t)});l.unshift(n),o.setState({remainingTags:s,tagCollection:l})},o.handleTagPress=function(t){var n=o.props,l=n.navigation;n.sortByItem;t.toLowerCase()!==__('all tags you follow')?l.navigate({routeName:p.default.DRAWER_ROUTE_TAG,key:"tagPage",params:{tag:t}}):l.navigate({routeName:p.default.DRAWER_ROUTE_TRENDING,params:{filterForTags:!0}})},o.sectionListHeader=function(){var t=o.props,n=t.sortByItem,l=t.timeItem;return c.default.createElement(f.View,{style:E.default.listHeader},c.default.createElement(f.View,{style:E.default.titleRow},c.default.createElement(f.Text,{style:E.default.pageTitle},__('Your Tags'))),c.default.createElement(f.View,{style:E.default.pickerRow},c.default.createElement(f.View,{style:E.default.leftPickerRow},c.default.createElement(f.TouchableOpacity,{style:E.default.tagSortBy,onPress:function(){return o.setState({showSortPicker:!0})}},c.default.createElement(f.Text,{style:E.default.tagSortText},__(n.label.split(' ')[0])),c.default.createElement(R.default,{style:E.default.tagSortIcon,name:'sort-down',size:14})),p.default.SORT_BY_TOP===n.name&&c.default.createElement(f.TouchableOpacity,{style:E.default.tagTime,onPress:function(){return o.setState({showTimePicker:!0})}},c.default.createElement(f.Text,{style:E.default.tagSortText},__(l.label)),c.default.createElement(R.default,{style:E.default.tagSortIcon,name:'sort-down',size:14}))),c.default.createElement(I.default,{style:E.default.customizeLink,text:__('Customize'),onPress:function(){return o.setState({showModalTagSelector:!0})}})))},o.sectionListFooter=function(){var t=o.state.remainingTags;return 0===t.length?null:c.default.createElement(f.View,{style:E.default.footer},c.default.createElement(f.Text,{style:E.default.footerTitle},__('More tags you follow')),c.default.createElement(f.View,{style:E.default.footerTags},t.map(function(t){return c.default.createElement(f.Text,{key:t,style:[E.default.categoryName,E.default.footerTag],onPress:function(){return o.handleTagPress(t)}},(0,S.formatTagTitle)(t))})))},o.renderSectionListItem=function(t){var n=t.item;t.index,t.section;return c.default.createElement(h.default,{key:n.sort().join(','),orderBy:o.state.orderBy,time:o.props.timeItem.name,tags:n,morePlaceholder:!0,navigation:o.props.navigation,orientation:p.default.ORIENTATION_HORIZONTAL})},o.renderSectionHeader=function(t){var n=t.section.title;return c.default.createElement(f.View,{style:E.default.categoryTitleRow},c.default.createElement(f.Text,{style:E.default.categoryName,onPress:function(){return o.handleTagPress(n)}},(0,S.formatTagTitle)(n)),c.default.createElement(f.TouchableOpacity,{onPress:function(){return o.handleTagPress(n)}},c.default.createElement(R.default,{name:'angle-double-down',size:16})))},o}return(0,s.default)(L,t),(0,o.default)(L,[{key:"componentDidMount",value:function(){var t=this.props,n=t.sortByItem,o=t.fetchRewardedContent,l=t.fileList,u=t.followedTags;this.buildTagCollection(u),o(),l(),this.handleSortByItemSelected(n),this.showRatingReminder(),this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=this.props,o=n.currentRoute,l=n.followedTags,u=t.currentRoute,s=t.followedTags;p.default.DRAWER_ROUTE_DISCOVER===u&&u!==o&&this.onComponentFocused(),N.default.isEqual(s,l)||this.buildTagCollection(s)}},{key:"render",value:function(){var t=this,n=this.props,o=n.currentRoute,l=n.navigation,u=n.sortByItem,s=n.timeItem,T=this.state,S=(T.orderBy,T.showModalTagSelector),_=T.showSortPicker,h=T.showTimePicker;return c.default.createElement(f.View,{style:E.default.container},c.default.createElement(P.default,{navigation:l,belowOverlay:S}),o!==p.default.ROUTE_FILE&&o!==p.default.DRAWER_ROUTE_FILE_VIEW&&c.default.createElement(f.SectionList,{ListHeaderComponent:this.sectionListHeader,ListFooterComponent:this.sectionListFooter,style:E.default.scrollContainer,contentContainerStyle:E.default.scrollPadding,initialNumToRender:4,maxToRenderPerBatch:4,removeClippedSubviews:!0,renderItem:this.renderSectionListItem,renderSectionHeader:this.renderSectionHeader,sections:this.buildSections(),keyExtractor:function(t,n){return t}}),!S&&!_&&!h&&c.default.createElement(y.default,{navigation:l}),S&&c.default.createElement(w.default,{onOverlayPress:function(){return t.setState({showModalTagSelector:!1})},onDonePress:function(){return t.setState({showModalTagSelector:!1})}}),_&&c.default.createElement(v.default,{title:__('Sort content by'),onOverlayPress:function(){return t.setState({showSortPicker:!1})},onItemSelected:this.handleSortByItemSelected,selectedItem:u,items:p.default.CLAIM_SEARCH_SORT_BY_ITEMS}),h&&c.default.createElement(v.default,{title:__('Content from'),onOverlayPress:function(){return t.setState({showTimePicker:!1})},onItemSelected:this.handleTimeItemSelected,selectedItem:s,items:p.default.CLAIM_SEARCH_TIME_ITEMS}))}}]),L})(c.default.PureComponent);e.default=L},722,[3,4,5,6,8,9,12,411,16,401,410,723,726,727,493,674,739,694,502,498,750,753,705,729]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useAsyncStorage",{enumerable:!0,get:function(){return n.useAsyncStorage}}),e.default=void 0;var u=t(r(d[1])),n=r(d[2]),o=u.default;e.default=o},723,[3,724,725]);
+__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]).NativeModules,u=o.PlatformLocalStorage||o.RNC_AsyncSQLiteDBStorage||o.RNCAsyncStorage;if(!u)throw new Error("[@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.\n\nTo fix this issue try these steps:\n\n \u2022 Run `react-native link @react-native-community/async-storage` in the project root.\n\n \u2022 Rebuild and restart the app.\n\n \u2022 Run the packager with `--clearCache` flag.\n\n \u2022 If you are using CocoaPods on iOS, run `pod install` in the `ios` directory and then rebuild and re-run the app.\n\n \u2022 If this happens while testing with Jest, check out docs how to integrate AsyncStorage with it: https://github.com/react-native-community/async-storage/blob/LEGACY/docs/Jest-integration.md\n\nIf none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-async-storage/issues \n");function s(t,n){var o=arguments.length>1;if('string'!=typeof t&&console.warn("[AsyncStorage] Using "+typeof t+" type for key is not supported. This can lead to unexpected behavior/errors. Use string instead.\nKey passed: "+t+"\n"),o&&'string'!=typeof n){if(null==n)throw new Error("[AsyncStorage] Passing null/undefined as value is not supported. If you want to remove value, Use .remove method instead.\nPassed value: "+n+"\nPassed key: "+t+"\n");console.warn("[AsyncStorage] The value for key \""+t+"\" is not a string. This can lead to unexpected behavior/errors. Consider stringifying it.\nPassed value: "+n+"\nPassed key: "+t+"\n")}}var l={_getRequests:[],_getKeys:[],_immediate:null,getItem:function(t,n){return new Promise(function(o,l){s(t),u.multiGet([t],function(t,u){var s=u&&u[0]&&u[0][1]?u[0][1]:null,f=c(t);n&&n(f&&f[0],s),f?l(f[0]):o(s)})})},setItem:function(t,n,o){return new Promise(function(l,f){s(t,n),u.multiSet([[t,n]],function(t){var n=c(t);o&&o(n&&n[0]),n?f(n[0]):l(null)})})},removeItem:function(t,n){return new Promise(function(o,l){s(t),u.multiRemove([t],function(t){var u=c(t);n&&n(u&&u[0]),u?l(u[0]):o(null)})})},mergeItem:function(t,n,o){return new Promise(function(l,f){s(t,n),u.multiMerge([[t,n]],function(t){var n=c(t);o&&o(n&&n[0]),n?f(n[0]):l(null)})})},clear:function(t){return new Promise(function(n,o){u.clear(function(u){var s=f(u);t&&t(s),s?o(s):n(null)})})},getAllKeys:function(t){return new Promise(function(n,o){u.getAllKeys(function(u,s){var l=f(u);t&&t(l,s),l?o(l):n(s)})})},flushGetRequests:function(){var t=this._getRequests,o=this._getKeys;this._getRequests=[],this._getKeys=[],u.multiGet(o,function(o,u){var s={};u&&u.forEach(function(t){var o=(0,n.default)(t,2),u=o[0],l=o[1];return s[u]=l,l});for(var l=t.length,c=0;c>>0,o=0;o0)for(s=0;s=0?s?'+':'':'-')+Math.pow(10,Math.max(0,u)).toString().substr(1)+o}var $=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,J={},B={};function Q(t,n,s,o){var u=o;'string'==typeof o&&(u=function(){return this[o]()}),t&&(B[t]=u),n&&(B[n[0]]=function(){return z(u.apply(this,arguments),n[1],n[2])}),s&&(B[s]=function(){return this.localeData().ordinal(u.apply(this,arguments),t)})}function X(t){var n,s,o,u=t.match($);for(n=0,s=u.length;n=0&&q.test(t);)t=t.replace(q,o),q.lastIndex=0,s-=1;return t}var te=/\d/,ne=/\d\d/,se=/\d{3}/,ie=/\d{4}/,re=/[+-]?\d{6}/,ae=/\d\d?/,oe=/\d\d\d\d?/,ue=/\d\d\d\d\d\d?/,he=/\d{1,3}/,le=/\d{1,4}/,de=/[+-]?\d{1,6}/,ce=/\d+/,fe=/[+-]?\d+/,me=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,ye=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ge={};function ve(t,n,s){ge[t]=F(n)?n:function(t,o){return t&&s?s:n}}function pe(t,n){return y(ge,t)?ge[t](n._strict,n._locale):new RegExp(we(t.replace('\\','').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,s,o,u){return n||s||o||u})))}function we(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,'\\$&')}var Me={};function ke(t,n){var s,o=n;for('string'==typeof t&&(t=[t]),c(n)&&(o=function(t,s){s[n]=x(t)}),s=0;s68?1900:2e3)};var Fe,Le=Ne('FullYear',!0);function Ne(t,n){return function(o){return null!=o?(Ve(this,t,o),s.updateOffset(this,n),this):Ge(this,t)}}function Ge(t,n){return t.isValid()?t._d['get'+(t._isUTC?'UTC':'')+n]():NaN}function Ve(t,n,s){t.isValid()&&!isNaN(s)&&('FullYear'===n&&Ue(t.year())&&1===t.month()&&29===t.date()?t._d['set'+(t._isUTC?'UTC':'')+n](s,t.month(),Ee(s,t.month())):t._d['set'+(t._isUTC?'UTC':'')+n](s))}function Ee(t,n){if(isNaN(t)||isNaN(n))return NaN;var s,o=(n%(s=12)+s)%s;return t+=(n-o)/12,1===o?Ue(t)?29:28:31-o%7%2}Fe=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n=0?(c=new Date(t+400,n,s,o,u,h,l),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,n,s,o,u,h,l),c}function Xe(t){var n;if(t<100&&t>=0){var s=Array.prototype.slice.call(arguments);s[0]=t+400,n=new Date(Date.UTC.apply(null,s)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)}else n=new Date(Date.UTC.apply(null,arguments));return n}function Ke(t,n,s){var o=7+n-s;return-((7+Xe(t,0,o).getUTCDay()-n)%7)+o-1}function et(t,n,s,o,u){var h,l,c=1+7*(n-1)+(7+s-o)%7+Ke(t,o,u);return c<=0?l=Re(h=t-1)+c:c>Re(t)?(h=t+1,l=c-Re(t)):(h=t,l=c),{year:h,dayOfYear:l}}function tt(t,n,s){var o,u,h=Ke(t.year(),n,s),l=Math.floor((t.dayOfYear()-h-1)/7)+1;return l<1?o=l+nt(u=t.year()-1,n,s):l>nt(t.year(),n,s)?(o=l-nt(t.year(),n,s),u=t.year()+1):(u=t.year(),o=l),{week:o,year:u}}function nt(t,n,s){var o=Ke(t,n,s),u=Ke(t+1,n,s);return(Re(t)-o+u)/7}Q('w',['ww',2],'wo','week'),Q('W',['WW',2],'Wo','isoWeek'),V('week','w'),V('isoWeek','W'),j('week',5),j('isoWeek',5),ve('w',ae),ve('ww',ae,ne),ve('W',ae),ve('WW',ae,ne),Se(['w','ww','W','WW'],function(t,n,s,o){n[o.substr(0,1)]=x(t)});function st(t,n){return'string'!=typeof t?t:isNaN(t)?'number'==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}function it(t,n){return'string'==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}function rt(t,n){return t.slice(n,7).concat(t.slice(0,n))}Q('d',0,'do','day'),Q('dd',0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Q('ddd',0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Q('dddd',0,0,function(t){return this.localeData().weekdays(this,t)}),Q('e',0,0,'weekday'),Q('E',0,0,'isoWeekday'),V('day','d'),V('weekday','e'),V('isoWeekday','E'),j('day',11),j('weekday',11),j('isoWeekday',11),ve('d',ae),ve('e',ae),ve('E',ae),ve('dd',function(t,n){return n.weekdaysMinRegex(t)}),ve('ddd',function(t,n){return n.weekdaysShortRegex(t)}),ve('dddd',function(t,n){return n.weekdaysRegex(t)}),Se(['dd','ddd','dddd'],function(t,n,s,o){var u=s._locale.weekdaysParse(t,o,s._strict);null!=u?n.d=u:w(s).invalidWeekday=t}),Se(['d','e','E'],function(t,n,s,o){n[o]=x(t)});var at='Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_');var ot='Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_');var ut='Su_Mo_Tu_We_Th_Fr_Sa'.split('_');function ht(t,n,s){var o,u,h,l=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)h=p([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(h,'').toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(h,'').toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(h,'').toLocaleLowerCase();return s?'dddd'===n?-1!==(u=Fe.call(this._weekdaysParse,l))?u:null:'ddd'===n?-1!==(u=Fe.call(this._shortWeekdaysParse,l))?u:null:-1!==(u=Fe.call(this._minWeekdaysParse,l))?u:null:'dddd'===n?-1!==(u=Fe.call(this._weekdaysParse,l))?u:-1!==(u=Fe.call(this._shortWeekdaysParse,l))?u:-1!==(u=Fe.call(this._minWeekdaysParse,l))?u:null:'ddd'===n?-1!==(u=Fe.call(this._shortWeekdaysParse,l))?u:-1!==(u=Fe.call(this._weekdaysParse,l))?u:-1!==(u=Fe.call(this._minWeekdaysParse,l))?u:null:-1!==(u=Fe.call(this._minWeekdaysParse,l))?u:-1!==(u=Fe.call(this._weekdaysParse,l))?u:-1!==(u=Fe.call(this._shortWeekdaysParse,l))?u:null}var lt=ye;var dt=ye;var ct=ye;function ft(){function t(t,n){return n.length-t.length}var n,s,o,u,h,l=[],c=[],f=[],_=[];for(n=0;n<7;n++)s=p([2e3,1]).day(n),o=this.weekdaysMin(s,''),u=this.weekdaysShort(s,''),h=this.weekdays(s,''),l.push(o),c.push(u),f.push(h),_.push(o),_.push(u),_.push(h);for(l.sort(t),c.sort(t),f.sort(t),_.sort(t),n=0;n<7;n++)c[n]=we(c[n]),f[n]=we(f[n]),_[n]=we(_[n]);this._weekdaysRegex=new RegExp('^('+_.join('|')+')','i'),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp('^('+f.join('|')+')','i'),this._weekdaysShortStrictRegex=new RegExp('^('+c.join('|')+')','i'),this._weekdaysMinStrictRegex=new RegExp('^('+l.join('|')+')','i')}function mt(){return this.hours()%12||12}function _t(t,n){Q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)})}function yt(t,n){return n._meridiemParse}Q('H',['HH',2],0,'hour'),Q('h',['hh',2],0,mt),Q('k',['kk',2],0,function(){return this.hours()||24}),Q('hmm',0,0,function(){return''+mt.apply(this)+z(this.minutes(),2)}),Q('hmmss',0,0,function(){return''+mt.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),Q('Hmm',0,0,function(){return''+this.hours()+z(this.minutes(),2)}),Q('Hmmss',0,0,function(){return''+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),_t('a',!0),_t('A',!1),V('hour','h'),j('hour',13),ve('a',yt),ve('A',yt),ve('H',ae),ve('h',ae),ve('k',ae),ve('HH',ae,ne),ve('hh',ae,ne),ve('kk',ae,ne),ve('hmm',oe),ve('hmmss',ue),ve('Hmm',oe),ve('Hmmss',ue),ke(['H','HH'],be),ke(['k','kk'],function(t,n,s){var o=x(t);n[be]=24===o?0:o}),ke(['a','A'],function(t,n,s){s._isPm=s._locale.isPM(t),s._meridiem=t}),ke(['h','hh'],function(t,n,s){n[be]=x(t),w(s).bigHour=!0}),ke('hmm',function(t,n,s){var o=t.length-2;n[be]=x(t.substr(0,o)),n[xe]=x(t.substr(o)),w(s).bigHour=!0}),ke('hmmss',function(t,n,s){var o=t.length-4,u=t.length-2;n[be]=x(t.substr(0,o)),n[xe]=x(t.substr(o,2)),n[Pe]=x(t.substr(u)),w(s).bigHour=!0}),ke('Hmm',function(t,n,s){var o=t.length-2;n[be]=x(t.substr(0,o)),n[xe]=x(t.substr(o))}),ke('Hmmss',function(t,n,s){var o=t.length-4,u=t.length-2;n[be]=x(t.substr(0,o)),n[xe]=x(t.substr(o,2)),n[Pe]=x(t.substr(u))});var gt,vt=Ne('Hours',!0),pt={calendar:{sameDay:'[Today at] LT',nextDay:'[Tomorrow at] LT',nextWeek:'dddd [at] LT',lastDay:'[Yesterday at] LT',lastWeek:'[Last] dddd [at] LT',sameElse:'L'},longDateFormat:{LTS:'h:mm:ss A',LT:'h:mm A',L:'MM/DD/YYYY',LL:'MMMM D, YYYY',LLL:'MMMM D, YYYY h:mm A',LLLL:'dddd, MMMM D, YYYY h:mm A'},invalidDate:'Invalid date',ordinal:'%d',dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:'in %s',past:'%s ago',s:'a few seconds',ss:'%d seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',M:'a month',MM:'%d months',y:'a year',yy:'%d years'},months:Ae,monthsShort:je,week:{dow:0,doy:6},weekdays:at,weekdaysMin:ut,weekdaysShort:ot,meridiemParse:/[ap]\.?m?\.?/i},wt={},Mt={};function kt(t){return t?t.toLowerCase().replace('_','-'):t}function St(t){for(var n,s,o,u,h=0;h