diff --git a/.gitignore b/.gitignore index c21e214d..02f7d626 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,7 @@ buck-out/ # Other Files app/google-services.json +app/src/main/assets/index.android.bundle *.log .vagrant *.hprof diff --git a/.gitsecret/keys/random_seed b/.gitsecret/keys/random_seed index 1e1c4d7f..86bb2f48 100644 Binary files a/.gitsecret/keys/random_seed and b/.gitsecret/keys/random_seed differ diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg index f840a45e..3aff0c5a 100644 --- a/.gitsecret/paths/mapping.cfg +++ b/.gitsecret/paths/mapping.cfg @@ -1,2 +1,2 @@ lbry-android.keystore:0d958c531870694624cc877ea98ca1c583485f8ebbb3a5acca58b1930c190d65 -app/google-services.json:2a2804bfa1bc5154e533fd9c40ad3ba29bcf0f0ad361b90900d9e3fe8851611e +app/google-services.json:896a0bee8294a36d061f10fa926129d8a780528b34d0a2f03113400c4246d67c diff --git a/app/build.gradle b/app/build.gradle index a0a59e83..2efbff4f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -222,8 +222,8 @@ dependencies { implementation 'com.facebook.fresco:animated-gif:1.10.0' implementation 'com.google.firebase:firebase-messaging:20.1.0' - __32bitImplementation files('libs/lbrysdk-0.61.0-release__arm.aar') - __64bitImplementation files('libs/lbrysdk-0.61.0-release__arm64.aar') + __32bitImplementation files('libs/lbrysdk-0.62.0-release__arm.aar') + __64bitImplementation files('libs/lbrysdk-0.62.0-release__arm64.aar') if (enableHermes) { def hermesPath = "../../node_modules/hermes-engine/android/"; diff --git a/app/google-services.json.secret b/app/google-services.json.secret index 82bfcf46..1e09a2e1 100644 Binary files a/app/google-services.json.secret and b/app/google-services.json.secret differ diff --git a/app/libs/lbrysdk-0.61.0-release__arm.aar b/app/libs/lbrysdk-0.62.0-release__arm.aar similarity index 93% rename from app/libs/lbrysdk-0.61.0-release__arm.aar rename to app/libs/lbrysdk-0.62.0-release__arm.aar index 34d2cd20..a93f5cc1 100644 Binary files a/app/libs/lbrysdk-0.61.0-release__arm.aar and b/app/libs/lbrysdk-0.62.0-release__arm.aar differ diff --git a/app/libs/lbrysdk-0.61.0-release__arm64.aar b/app/libs/lbrysdk-0.62.0-release__arm64.aar similarity index 93% rename from app/libs/lbrysdk-0.61.0-release__arm64.aar rename to app/libs/lbrysdk-0.62.0-release__arm64.aar index 25f64da2..2e831497 100644 Binary files a/app/libs/lbrysdk-0.61.0-release__arm64.aar and b/app/libs/lbrysdk-0.62.0-release__arm64.aar differ diff --git a/app/src/main/assets/index.android.bundle b/app/src/main/assets/index.android.bundle deleted file mode 100644 index 93bc41ce..00000000 --- a/app/src/main/assets/index.android.bundle +++ /dev/null @@ -1,1406 +0,0 @@ -var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{};process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||"production"; -!(function(r){"use strict";r.__r=o,r.__d=function(r,i,n){if(null!=e[i])return;var o={dependencyMap:n,factory:r,hasError:!1,importedAll:t,importedDefault:t,isInitialized:!1,publicModule:{exports:{}}};e[i]=o},r.__c=n,r.__registerSegment=function(r,e){s[r]=e};var e=n(),t={},i={}.hasOwnProperty;function n(){return e=Object.create(null)}function o(r){var t=r,i=e[t];return i&&i.isInitialized?i.publicModule.exports:d(t,i)}function l(r){var i=r;if(e[i]&&e[i].importedDefault!==t)return e[i].importedDefault;var n=o(i),l=n&&n.__esModule?n.default:n;return e[i].importedDefault=l}function u(r){var n=r;if(e[n]&&e[n].importedAll!==t)return e[n].importedAll;var l,u=o(n);if(u&&u.__esModule)l=u;else{if(l={},u)for(var a in u)i.call(u,a)&&(l[a]=u[a]);l.default=u}return e[n].importedAll=l}o.importDefault=l,o.importAll=u;var a=!1;function d(e,t){if(!a&&r.ErrorUtils){var i;a=!0;try{i=v(e,t)}catch(e){r.ErrorUtils.reportFatalError(e)}return a=!1,i}return v(e,t)}var c=16,f=65535;function p(r){return{segmentId:r>>>c,localId:r&f}}o.unpackModuleId=p,o.packModuleId=function(r){return(r.segmentId<0){var n=p(t),a=n.segmentId,d=n.localId,c=s[a];null!=c&&(c(d),i=e[t])}var f=r.nativeRequire;if(!i&&f){var v=p(t),h=v.segmentId;f(v.localId,h),i=e[t]}if(!i)throw Error('Requiring unknown module "'+t+'".');if(i.hasError)throw m(t,i.error);i.isInitialized=!0;var I=i,g=I.factory,y=I.dependencyMap;try{var _=i.publicModule;return _.id=t,g(r,o,l,u,_,_.exports,y),i.factory=void 0,i.dependencyMap=void 0,_.exports}catch(r){throw i.hasError=!0,i.error=r,i.isInitialized=!1,i.publicModule.exports=void 0,r}}function m(r,e){return Error('Requiring module "'+r+'", which threw an exception: '+e)}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this); -!(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach(function(n,r){e[n]=!0}),e}function r(n,r,u){if(n.formatValueCalls++,n.formatValueCalls>200)return"[TOO BIG formatValueCalls "+n.formatValueCalls+" exceeded limit of 200]";var f=t(n,r);if(f)return f;var c=Object.keys(r),s=e(c);if(d(r)&&(c.indexOf('message')>=0||c.indexOf('description')>=0))return o(r);if(0===c.length){if(v(r)){var p=r.name?': '+r.name:'';return n.stylize('[Function'+p+']','special')}if(g(r))return n.stylize(RegExp.prototype.toString.call(r),'regexp');if(y(r))return n.stylize(Date.prototype.toString.call(r),'date');if(d(r))return o(r)}var h,b,m='',j=!1,O=['{','}'];(h=r,Array.isArray(h)&&(j=!0,O=['[',']']),v(r))&&(m=' [Function'+(r.name?': '+r.name:'')+']');return g(r)&&(m=' '+RegExp.prototype.toString.call(r)),y(r)&&(m=' '+Date.prototype.toUTCString.call(r)),d(r)&&(m=' '+o(r)),0!==c.length||j&&0!=r.length?u<0?g(r)?n.stylize(RegExp.prototype.toString.call(r),'regexp'):n.stylize('[Object]','special'):(n.seen.push(r),b=j?i(n,r,u,s,c):c.map(function(e){return a(n,r,u,s,e,j)}),n.seen.pop(),l(b,m,O)):O[0]+m+O[1]}function t(n,e){if(s(e))return n.stylize('undefined','undefined');if('string'==typeof e){var r="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(r,'string')}return c(e)?n.stylize(''+e,'number'):u(e)?n.stylize(''+e,'boolean'):f(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,r,t,o){for(var i=[],l=0,u=e.length;l-1&&(u=a?u.split('\n').map(function(n){return' '+n}).join('\n').substr(2):'\n'+u.split('\n').map(function(n){return' '+n}).join('\n')):u=n.stylize('[Circular]','special')),s(l)){if(a&&i.match(/^\d+$/))return u;(l=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(l=l.substr(1,l.length-2),l=n.stylize(l,'name')):(l=l.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),l=n.stylize(l,'string'))}return l+': '+u}function l(n,e,r){return n.reduce(function(n,e){return 0,e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1},0)>60?r[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+r[1]:r[0]+e+' '+n.join(', ')+' '+r[1]}function u(n){return'boolean'==typeof n}function f(n){return null===n}function c(n){return'number'==typeof n}function s(n){return void 0===n}function g(n){return p(n)&&'[object RegExp]'===h(n)}function p(n){return'object'==typeof n&&null!==n}function y(n){return p(n)&&'[object Date]'===h(n)}function d(n){return p(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function b(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,t){return r({seen:[],formatValueCalls:0,stylize:n},e,t.depth)}})(),r='(index)',t={trace:0,info:1,warn:2,error:3},o=[];o[t.trace]='debug',o[t.info]='log',o[t.warn]='warning',o[t.error]='error';var i=1;function a(r){return function(){var a;a=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return e(n,{depth:10})}).join(', ');var l=r;'Warning: '===a.slice(0,9)&&l>=t.error&&(l=t.warn),n.__inspectorLog&&n.__inspectorLog(o[l],a,[].slice.call(arguments),i),s.length&&(a=g('',a)),n.nativeLoggingHook(a,l)}}function l(n,e){return Array.apply(null,Array(e)).map(function(){return n})}var u="\u2502",f="\u2510",c="\u2518",s=[];function g(n,e){return s.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:a(t.error),info:a(t.info),log:a(t.info),warn:a(t.warn),trace:a(t.trace),debug:a(t.trace),table:function(e){if(!Array.isArray(e)){var o=e;for(var i in e=[],o)if(o.hasOwnProperty(i)){var a=o[i];a[r]=i,e.push(a)}}if(0!==e.length){var u=Object.keys(e[0]).sort(),f=[],c=[];u.forEach(function(n,r){c[r]=n.length;for(var t=0;t';return function(){for(var r=arguments.length,l=new Array(r),e=0;eD.length&&D.push(t)}function N(t,n,f,l){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var s=!1;if(null===t)s=!0;else switch(c){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case o:case u:s=!0}}if(s)return f(l,t,""===n?"."+z(t,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(t))for(var y=0;y0&&void 0!==arguments[0]?arguments[0]:o,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("boolean"!=typeof n||"function"!=typeof t)return console.log("setJSExceptionHandler is called with wrong argument types.. first argument should be callback function and second argument is optional should be a boolean"),void console.log("Not setting the JS handler .. please fix setJSExceptionHandler call");g.ErrorUtils.setGlobalHandler(t),console.error=function(t,n){return g.ErrorUtils.reportError(n)}};e.setJSExceptionHandler=l;var c=function(){return g.ErrorUtils.getGlobalHandler()};e.getJSExceptionHandler=c;var s=function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,c=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!=typeof l||"boolean"!=typeof c)return console.log("setNativeExceptionHandler is called with wrong argument types.. first argument should be callback function and second argument is optional should be a boolean"),void console.log("Not setting the native handler .. please fix setNativeExceptionHandler call");"ios"===t.Platform.OS?n.setHandlerforNativeException(s,l):n.setHandlerforNativeException(s,c,l)};e.setNativeExceptionHandler=s;var u={setJSExceptionHandler:l,getJSExceptionHandler:c,setNativeExceptionHandler:s};e.default=u},15,[16]); -__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]);var t=r(d[1]);m.exports={get AccessibilityInfo(){return r(d[2])},get ActivityIndicator(){return r(d[3])},get ART(){return t('art-moved',"React Native ART has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. See https://github.com/react-native-community/art"),r(d[4])},get Button(){return r(d[5])},get CheckBox(){return t('checkBox-moved',"CheckBox has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. See https://github.com/react-native-community/react-native-checkbox"),r(d[6])},get DatePickerIOS(){return t('DatePickerIOS-merged',"DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-community/react-native-datetimepicker"),r(d[7])},get DrawerLayoutAndroid(){return r(d[8])},get FlatList(){return r(d[9])},get Image(){return r(d[10])},get ImageBackground(){return r(d[11])},get InputAccessoryView(){return r(d[12])},get KeyboardAvoidingView(){return r(d[13])},get MaskedViewIOS(){return t('maskedviewios-moved',"MaskedViewIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/masked-view' instead of 'react-native'. See https://github.com/react-native-community/react-native-masked-view"),r(d[14])},get Modal(){return r(d[15])},get Picker(){return r(d[16])},get PickerIOS(){return r(d[17])},get ProgressBarAndroid(){return r(d[18])},get ProgressViewIOS(){return r(d[19])},get SafeAreaView(){return r(d[20])},get ScrollView(){return r(d[21])},get SectionList(){return r(d[22])},get SegmentedControlIOS(){return r(d[23])},get Slider(){return t('slider-moved',"Slider has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. See https://github.com/react-native-community/react-native-slider"),r(d[24])},get Switch(){return r(d[25])},get RefreshControl(){return r(d[26])},get StatusBar(){return r(d[27])},get Text(){return r(d[28])},get TextInput(){return r(d[29])},get Touchable(){return r(d[30])},get TouchableHighlight(){return r(d[31])},get TouchableNativeFeedback(){return r(d[32])},get TouchableOpacity(){return r(d[33])},get TouchableWithoutFeedback(){return r(d[34])},get View(){return r(d[35])},get VirtualizedList(){return r(d[36])},get VirtualizedSectionList(){return r(d[37])},get ActionSheetIOS(){return r(d[38])},get Alert(){return r(d[39])},get Animated(){return r(d[40])},get AppRegistry(){return r(d[41])},get AppState(){return r(d[42])},get AsyncStorage(){return t('async-storage-moved',"AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. See https://github.com/react-native-community/react-native-async-storage"),r(d[43])},get BackHandler(){return r(d[44])},get Clipboard(){return r(d[45])},get DatePickerAndroid(){return t('DatePickerAndroid-merged',"DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-community/react-native-datetimepicker"),r(d[46])},get DeviceInfo(){return r(d[47])},get Dimensions(){return r(d[48])},get Easing(){return r(d[49])},get findNodeHandle(){return r(d[50]).findNodeHandle},get I18nManager(){return r(d[51])},get ImagePickerIOS(){return t('imagePickerIOS-moved',"ImagePickerIOS has been extracted from react-native core and will be removed in a future release. Please upgrade to use either '@react-native-community/react-native-image-picker' or 'expo-image-picker'. If you cannot upgrade to a different library, please install the deprecated '@react-native-community/image-picker-ios' package. See https://github.com/react-native-community/react-native-image-picker-ios"),r(d[52])},get InteractionManager(){return r(d[53])},get Keyboard(){return r(d[54])},get LayoutAnimation(){return r(d[55])},get Linking(){return r(d[56])},get NativeDialogManagerAndroid(){return r(d[57]).default},get NativeEventEmitter(){return r(d[58])},get PanResponder(){return r(d[59])},get PermissionsAndroid(){return r(d[60])},get PixelRatio(){return r(d[61])},get PushNotificationIOS(){return t('pushNotificationIOS-moved',"PushNotificationIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. See https://github.com/react-native-community/react-native-push-notification-ios"),r(d[62])},get Settings(){return r(d[63])},get Share(){return r(d[64])},get StatusBarIOS(){return t('StatusBarIOS-merged','StatusBarIOS has been merged with StatusBar and will be removed in a future release. Use StatusBar for mutating the status bar'),r(d[65])},get StyleSheet(){return r(d[66])},get Systrace(){return r(d[67])},get TimePickerAndroid(){return t('TimePickerAndroid-merged',"TimePickerAndroid has been merged with DatePickerIOS and DatePickerAndroid and will be removed in a future release. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-community/react-native-datetimepicker"),r(d[68])},get ToastAndroid(){return r(d[69])},get TurboModuleRegistry(){return r(d[70])},get TVEventHandler(){return r(d[71])},get UIManager(){return r(d[72])},get unstable_batchedUpdates(){return r(d[50]).unstable_batchedUpdates},get useWindowDimensions(){return r(d[73]).default},get UTFSequence(){return r(d[74])},get Vibration(){return r(d[75])},get YellowBox(){return r(d[76])},get DeviceEventEmitter(){return r(d[77])},get NativeAppEventEmitter(){return r(d[78])},get NativeModules(){return r(d[79])},get Platform(){return r(d[80])},get processColor(){return r(d[81])},get requireNativeComponent(){return r(d[82])},get unstable_RootTagContext(){return r(d[83])},get ColorPropType(){return r(d[84])},get EdgeInsetsPropType(){return r(d[85])},get PointPropType(){return r(d[86])},get ViewPropTypes(){return r(d[87])}}},16,[17,18,21,55,183,193,284,287,288,250,271,293,294,296,297,299,306,310,180,311,312,257,279,313,314,316,254,291,194,319,200,326,209,217,210,81,251,280,327,137,218,329,344,347,340,349,351,353,60,246,83,304,354,227,261,263,356,138,121,358,360,59,362,364,365,367,58,36,368,370,23,204,47,372,373,374,376,40,147,24,52,75,178,303,64,196,377,273]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,o,t,f,s,u,c,l){if(!n){var v;if(void 0===o)v=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[t,f,s,u,c,l],h=0;(v=new Error(o.replace(/%s/g,function(){return p[h++]}))).name='Invariant Violation'}throw v.framesToPop=1,v}}},17,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n={};m.exports=function(c,o){n[c]||(t(!1,o),n[c]=!0)}},18,[19]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t},19,[20]); -__d(function(g,r,i,a,m,e,d){"use strict";function t(t){return function(){return t}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},m.exports=n},20,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0])(r(d[1])),t=r(d[2]),o=r(d[3]),s=new Map,c={isBoldTextEnabled:function(){return Promise.resolve(!1)},isGrayscaleEnabled:function(){return Promise.resolve(!1)},isInvertColorsEnabled:function(){return Promise.resolve(!1)},isReduceMotionEnabled:function(){return new Promise(function(t,o){n.default?n.default.isReduceMotionEnabled(t):o(!1)})},isReduceTransparencyEnabled:function(){return Promise.resolve(!1)},isScreenReaderEnabled:function(){return new Promise(function(t,o){n.default?n.default.isTouchExplorationEnabled(t):o(!1)})},get fetch(){return this.isScreenReaderEnabled},addEventListener:function(n,o){var c;'change'===n||'screenReaderChanged'===n?c=t.addListener("touchExplorationDidChange",function(n){o(n)}):'reduceMotionChanged'===n&&(c=t.addListener("reduceMotionDidChange",function(n){o(n)})),s.set(o,c)},removeEventListener:function(n,t){var o=s.get(t);o&&(o.remove(),s.delete(t))},setAccessibilityFocus:function(n){o.sendAccessibilityEvent(n,o.getConstants().AccessibilityEventTypes.typeViewFocused)},announceForAccessibility:function(t){n.default&&n.default.announceForAccessibility(t)}};m.exports=c},21,[3,22,40,47]); -__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 u=t(r(d[1])).get('AccessibilityInfo');e.default=u},22,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.get=o,e.getEnforcing=function(n){var u=o(n);return(0,t.default)(null!=u,"TurboModuleRegistry.getEnforcing(...): '"+n+"' could not be found. Verify that a module by this name is registered in the native binary."),u};var t=n(r(d[1])),u=r(d[2]),l=g.__turboModuleProxy;function o(n){if(!g.RN$Bridgeless){var t=u[n];if(null!=t)return t}return null!=l?l(n):null}},23,[3,17,24]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=r(d[3]);function l(o,l){if(!o)return null;var f=t(o,5),v=f[0],h=f[1],y=f[2],C=f[3],p=f[4];if(u(!v.startsWith('RCT')&&!v.startsWith('RK'),"Module name prefixes should've been stripped by the native side but wasn't for "+v),!h&&!y)return{name:v};var M={};return y&&y.forEach(function(n,t){var o=C&&c(C,t),f=p&&c(p,t);u(!o||!f,'Cannot have a method that is both async and a sync hook');var v=o?'promise':f?'sync':'async';M[n]=s(l,t,v)}),n(M,h),null==M.getConstants?M.getConstants=function(){return h||Object.freeze({})}:console.warn("Unable to define method 'getConstants()' on NativeModule '"+v+"'. NativeModule '"+v+"' already has a constant or method called 'getConstants'. Please remove it."),{name:v,module:M}}function f(n,t){u(g.nativeRequireModuleConfig,"Can't lazily create module without nativeRequireModuleConfig");var o=l(g.nativeRequireModuleConfig(n),t);return o&&o.module}function s(n,t,l){var f=null;return(f='promise'===l?function(){for(var u=arguments.length,l=new Array(u),f=0;f0?s[s.length-1]:null,h=s.length>1?s[s.length-2]:null,y='function'==typeof v,C='function'==typeof h;C&&u(y,'Cannot have a non-function arg after a function arg.');var p=y?v:null,M=C?h:null,b=y+C;if(s=s.slice(0,s.length-b),'sync'===l)return o.callNativeSyncHook(n,t,s,M,p);o.enqueueNativeCall(n,t,s,M,p)}).type=l,f}function c(n,t){return-1!==n.indexOf(t)}function v(t,o){return n(o,t||{})}g.__fbGenNativeModule=l;var h={};if(g.nativeModuleProxy)h=g.nativeModuleProxy;else if(!g.nativeExtensions){var y=g.__fbBatchedBridgeConfig;u(y,'__fbBatchedBridgeConfig is not set, cannot invoke native modules');var C=r(d[4]);(y.remoteModuleConfig||[]).forEach(function(n,t){var o=l(n,t);o&&(o.module?h[o.name]=o.module:C(h,o.name,{get:function(){return f(o.name,t)}}))})}m.exports=h},24,[11,25,29,17,39]); -__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,c){return n(u)||t(u,c)||o()}},25,[26,27,28]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n){if(Array.isArray(n))return n}},26,[]); -__d(function(g,r,i,a,m,e,d){m.exports=function(t,o){if(("function"==typeof Symbol?Symbol.iterator:"@@iterator")in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],l=!0,f=!1,u=void 0;try{for(var y,c=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();!(l=(y=c.next()).done)&&(n.push(y.value),!o||n.length!==o);l=!0);}catch(t){f=!0,u=t}finally{try{l||null==c.return||c.return()}finally{if(f)throw u}}return n}}},27,[]); -__d(function(g,r,i,a,m,e,d){m.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},28,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=new(r(d[0]));Object.defineProperty(g,'__fbBatchedBridge',{configurable:!0,value:t}),m.exports=t},29,[30]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),l=r(d[1]),u=r(d[2]),s=r(d[3]),n=r(d[4]),h=(r(d[5]),r(d[6])),o=r(d[7]),c=(r(d[8]),(function(){function c(){l(this,c),this._lazyCallableModules={},this._queue=[[],[],[],0],this._successCallbacks=new Map,this._failureCallbacks=new Map,this._callID=0,this._lastFlush=0,this._eventLoopStartTime=Date.now(),this._immediatesCallback=null,this.callFunctionReturnFlushedQueue=this.callFunctionReturnFlushedQueue.bind(this),this.callFunctionReturnResultAndFlushedQueue=this.callFunctionReturnResultAndFlushedQueue.bind(this),this.flushedQueue=this.flushedQueue.bind(this),this.invokeCallbackAndReturnFlushedQueue=this.invokeCallbackAndReturnFlushedQueue.bind(this)}return u(c,[{key:"callFunctionReturnFlushedQueue",value:function(t,l,u){var s=this;return this.__guard(function(){s.__callFunction(t,l,u)}),this.flushedQueue()}},{key:"callFunctionReturnResultAndFlushedQueue",value:function(t,l,u){var s,n=this;return this.__guard(function(){s=n.__callFunction(t,l,u)}),[s,this.flushedQueue()]}},{key:"invokeCallbackAndReturnFlushedQueue",value:function(t,l){var u=this;return this.__guard(function(){u.__invokeCallback(t,l)}),this.flushedQueue()}},{key:"flushedQueue",value:function(){var t=this;this.__guard(function(){t.__callImmediates()});var l=this._queue;return this._queue=[[],[],[],this._callID],l[0].length?l:null}},{key:"getEventLoopRunningTime",value:function(){return Date.now()-this._eventLoopStartTime}},{key:"registerCallableModule",value:function(t,l){this._lazyCallableModules[t]=function(){return l}}},{key:"registerLazyCallableModule",value:function(t,l){var u,s=l;this._lazyCallableModules[t]=function(){return s&&(u=s(),s=null),u}}},{key:"getCallableModule",value:function(t){var l=this._lazyCallableModules[t];return l?l():null}},{key:"callNativeSyncHook",value:function(t,l,u,s,n){this.processCallbacks(t,l,u,s,n);try{return g.nativeCallSyncHook(t,l,u)}catch(t){throw'object'==typeof t&&null!=t&&void 0===t.framesToPop&&/^Exception in HostFunction: /.test(t.message)&&(t.framesToPop=2),t}}},{key:"processCallbacks",value:function(t,l,u,s,n){(s||n)&&(s&&u.push(this._callID<<1),n&&u.push(this._callID<<1|1),this._successCallbacks.set(this._callID,n),this._failureCallbacks.set(this._callID,s)),this._callID++}},{key:"enqueueNativeCall",value:function(t,l,u,s,h){this.processCallbacks(t,l,u,s,h),this._queue[0].push(t),this._queue[1].push(l),this._queue[2].push(u);var o=Date.now();if(g.nativeFlushQueueImmediate&&o-this._lastFlush>=5){var c=this._queue;this._queue=[[],[],[],this._callID],this._lastFlush=o,g.nativeFlushQueueImmediate(c)}n.counterEvent('pending_js_to_native_queue',this._queue[0].length),this.__spy&&this.__spy({type:1,module:t+'',method:l,args:u})}},{key:"createDebugLookup",value:function(t,l,u){}},{key:"setImmediatesCallback",value:function(t){this._immediatesCallback=t}},{key:"__guard",value:function(t){if(this.__shouldPauseOnThrow())t();else try{t()}catch(t){s.reportFatalError(t)}}},{key:"__shouldPauseOnThrow",value:function(){return'undefined'!=typeof DebuggerInternal&&!0===DebuggerInternal.shouldPauseOnThrow}},{key:"__callImmediates",value:function(){n.beginEvent('JSTimers.callImmediates()'),null!=this._immediatesCallback&&this._immediatesCallback(),n.endEvent()}},{key:"__callFunction",value:function(t,l,u){this._lastFlush=Date.now(),this._eventLoopStartTime=this._lastFlush,this.__spy?n.beginEvent(t+"."+l+"("+o(u)+")"):n.beginEvent(t+"."+l+"(...)"),this.__spy&&this.__spy({type:0,module:t,method:l,args:u});var s=this.getCallableModule(t);h(!!s,'Module %s is not a registered callable module (calling %s)',t,l),h(!!s[l],'Method %s does not exist on module %s',l,t);var c=s[l].apply(s,u);return n.endEvent(),c}},{key:"__invokeCallback",value:function(l,u){this._lastFlush=Date.now(),this._eventLoopStartTime=this._lastFlush;var s=l>>>1,n=1&l?this._successCallbacks.get(s):this._failureCallbacks.get(s);n&&(this._successCallbacks.delete(s),this._failureCallbacks.delete(s),n.apply(void 0,t(u)))}}],[{key:"spy",value:function(t){c.prototype.__spy=!0===t?function(t){console.log((0===t.type?'N->JS':'JS->N')+" : "+(t.module?t.module+'.':'')+t.method+"("+JSON.stringify(t.args)+")")}:!1===t?null:t}}]),c})());m.exports=c},30,[31,4,5,35,36,37,17,38,18]); -__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 n(u)||t(u)||o()}},31,[32,33,34]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n){if(Array.isArray(n)){for(var t=0,f=new Array(n.length);t=0||Object.prototype.propertyIsEnumerable.call(n,l)&&(b[l]=n[l])}return b}},56,[57]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n,t){if(null==n)return{};var f,u,o={},c=Object.keys(n);for(u=0;u=0||(o[f]=n[f]);return o}},57,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function o(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function n(n){for(var c=1;c1&&(t-=1),t<.16666666666666666?l+6*(n-l)*t:t<.5?n:t<.6666666666666666?l+(n-l)*(.6666666666666666-t)*6:l}function n(n,t,o){var u=o<.5?o*(1+t):o+t-o*t,s=2*o-u,h=l(s,u,n+.3333333333333333),c=l(s,u,n),b=l(s,u,n-.3333333333333333);return Math.round(255*h)<<24|Math.round(255*c)<<16|Math.round(255*b)<<8}var t,o='[-+]?\\d*\\.?\\d+',u="[-+]?\\d*\\.?\\d+%";function s(){for(var l=arguments.length,n=new Array(l),t=0;t255?255:n}function c(l){return(parseFloat(l)%360+360)%360/360}function b(l){var n=parseFloat(l);return n<0?0:n>1?255:Math.round(255*n)}function p(l){var n=parseFloat(l);return n<0?0:n>100?1:n/100}var y={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};m.exports=function(l){var k,f=(void 0===t&&(t={rgb:new RegExp('rgb'+s(o,o,o)),rgba:new RegExp('rgba'+s(o,o,o,o)),hsl:new RegExp('hsl'+s(o,u,u)),hsla:new RegExp('hsla'+s(o,u,u,o)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);return'number'==typeof l?l>>>0===l&&l>=0&&l<=4294967295?l:null:(k=f.hex6.exec(l))?parseInt(k[1]+'ff',16)>>>0:y.hasOwnProperty(l)?y[l]:(k=f.rgb.exec(l))?(h(k[1])<<24|h(k[2])<<16|h(k[3])<<8|255)>>>0:(k=f.rgba.exec(l))?(h(k[1])<<24|h(k[2])<<16|h(k[3])<<8|b(k[4]))>>>0:(k=f.hex3.exec(l))?parseInt(k[1]+k[1]+k[2]+k[2]+k[3]+k[3]+'ff',16)>>>0:(k=f.hex8.exec(l))?parseInt(k[1],16)>>>0:(k=f.hex4.exec(l))?parseInt(k[1]+k[1]+k[2]+k[2]+k[3]+k[3]+k[4]+k[4],16)>>>0:(k=f.hsl.exec(l))?(255|n(c(k[1]),p(k[2]),p(k[3])))>>>0:(k=f.hsla.exec(l))?(n(c(k[1]),p(k[2]),p(k[3]))|b(k[4]))>>>0:null}},65,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t={display:n.oneOf(['none','flex']),width:n.oneOfType([n.number,n.string]),height:n.oneOfType([n.number,n.string]),start:n.oneOfType([n.number,n.string]),end:n.oneOfType([n.number,n.string]),top:n.oneOfType([n.number,n.string]),left:n.oneOfType([n.number,n.string]),right:n.oneOfType([n.number,n.string]),bottom:n.oneOfType([n.number,n.string]),minWidth:n.oneOfType([n.number,n.string]),maxWidth:n.oneOfType([n.number,n.string]),minHeight:n.oneOfType([n.number,n.string]),maxHeight:n.oneOfType([n.number,n.string]),margin:n.oneOfType([n.number,n.string]),marginVertical:n.oneOfType([n.number,n.string]),marginHorizontal:n.oneOfType([n.number,n.string]),marginTop:n.oneOfType([n.number,n.string]),marginBottom:n.oneOfType([n.number,n.string]),marginLeft:n.oneOfType([n.number,n.string]),marginRight:n.oneOfType([n.number,n.string]),marginStart:n.oneOfType([n.number,n.string]),marginEnd:n.oneOfType([n.number,n.string]),padding:n.oneOfType([n.number,n.string]),paddingVertical:n.oneOfType([n.number,n.string]),paddingHorizontal:n.oneOfType([n.number,n.string]),paddingTop:n.oneOfType([n.number,n.string]),paddingBottom:n.oneOfType([n.number,n.string]),paddingLeft:n.oneOfType([n.number,n.string]),paddingRight:n.oneOfType([n.number,n.string]),paddingStart:n.oneOfType([n.number,n.string]),paddingEnd:n.oneOfType([n.number,n.string]),borderWidth:n.number,borderTopWidth:n.number,borderStartWidth:n.number,borderEndWidth:n.number,borderRightWidth:n.number,borderBottomWidth:n.number,borderLeftWidth:n.number,position:n.oneOf(['absolute','relative']),flexDirection:n.oneOf(['row','row-reverse','column','column-reverse']),flexWrap:n.oneOf(['wrap','nowrap','wrap-reverse']),justifyContent:n.oneOf(['flex-start','flex-end','center','space-between','space-around','space-evenly']),alignItems:n.oneOf(['flex-start','flex-end','center','stretch','baseline']),alignSelf:n.oneOf(['auto','flex-start','flex-end','center','stretch','baseline']),alignContent:n.oneOf(['flex-start','flex-end','center','stretch','space-between','space-around']),overflow:n.oneOf(['visible','hidden','scroll']),flex:n.number,flexGrow:n.number,flexShrink:n.number,flexBasis:n.oneOfType([n.number,n.string]),aspectRatio:n.number,zIndex:n.number,direction:n.oneOf(['inherit','ltr','rtl'])};m.exports=t},66,[67]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0])()},67,[68]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);function t(){}function o(){}o.resetWarningCache=t,m.exports=function(){function p(t,o,p,c,s,y){if(y!==n){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name='Invariant Violation',f}}function c(){return p}p.isRequired=p;var s={array:p,bool:p,func:p,number:p,object:p,string:p,symbol:p,any:p,arrayOf:c,element:p,elementType:p,instanceOf:c,node:p,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c,checkPropTypes:o,resetWarningCache:t};return s.PropTypes=s,s}},68,[69]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports='SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'},69,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var s=r(d[0]),h=r(d[1]),o={shadowColor:s,shadowOffset:h.shape({width:h.number,height:h.number}),shadowOpacity:h.number,shadowRadius:h.number};m.exports=o},70,[64,67]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]),n={transform:t.arrayOf(t.oneOfType([t.shape({perspective:t.number}),t.shape({rotate:t.string}),t.shape({rotateX:t.string}),t.shape({rotateY:t.string}),t.shape({rotateZ:t.string}),t.shape({scale:t.number}),t.shape({scaleX:t.number}),t.shape({scaleY:t.number}),t.shape({translateX:t.number}),t.shape({translateY:t.number}),t.shape({skewX:t.string}),t.shape({skewY:t.string})])),transformMatrix:function(t,s,n){if(t[s])return new Error("The transformMatrix style property is deprecated. Use `transform: [{ matrix: ... }]` instead.")},decomposedMatrix:function(t,s,n){if(t[s])return new Error("The decomposedMatrix style property is deprecated. Use `transform: [...]` instead.")},scaleX:s(t.number,'Use the transform prop instead.'),scaleY:s(t.number,'Use the transform prop instead.'),rotation:s(t.number,'Use the transform prop instead.'),translateX:s(t.number,'Use the transform prop instead.'),translateY:s(t.number,'Use the transform prop instead.')};m.exports=n},71,[67,72]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t,o){return function(c,u,p){n.getViewManagerConfig(p)||void 0===c[u]||console.warn("`"+u+"` supplied to `"+p+"` has been deprecated. "+o);for(var s=arguments.length,f=new Array(s>3?s-3:0),l=3;l>>8)>>>0,u|=0):void 0}},75,[52,65]); -__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]),r(d[1]),r(d[2]),r(d[3]);m.exports=function(t){return t}},76,[77,52,17,38]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o={createIdentityMatrix:function(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},createCopy:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]},createOrthographic:function(t,n,o,u,s,c){return[2/(n-t),0,0,0,0,2/(u-o),0,0,0,0,-2/(c-s),0,-(n+t)/(n-t),-(u+o)/(u-o),-(c+s)/(c-s),1]},createFrustum:function(t,n,o,u,s,c){var v=1/(n-t),f=1/(u-o),h=1/(s-c);return[s*v*2,0,0,0,0,s*f*2,0,0,(n+t)*v,(u+o)*f,(c+s)*h,-1,0,0,c*s*h*2,0]},createPerspective:function(t,n,o,u){var s=1/Math.tan(t/2),c=1/(o-u);return[s/n,0,0,0,0,s,0,0,0,0,(u+o)*c,-1,0,0,u*o*c*2,0]},createTranslate2d:function(t,n){var u=o.createIdentityMatrix();return o.reuseTranslate2dCommand(u,t,n),u},reuseTranslate2dCommand:function(t,n,o){t[12]=n,t[13]=o},reuseTranslate3dCommand:function(t,n,o,u){t[12]=n,t[13]=o,t[14]=u},createScale:function(t){var n=o.createIdentityMatrix();return o.reuseScaleCommand(n,t),n},reuseScaleCommand:function(t,n){t[0]=n,t[5]=n},reuseScale3dCommand:function(t,n,o,u){t[0]=n,t[5]=o,t[10]=u},reusePerspectiveCommand:function(t,n){t[11]=-1/n},reuseScaleXCommand:function(t,n){t[0]=n},reuseScaleYCommand:function(t,n){t[5]=n},reuseScaleZCommand:function(t,n){t[10]=n},reuseRotateXCommand:function(t,n){t[5]=Math.cos(n),t[6]=Math.sin(n),t[9]=-Math.sin(n),t[10]=Math.cos(n)},reuseRotateYCommand:function(t,n){t[0]=Math.cos(n),t[2]=-Math.sin(n),t[8]=Math.sin(n),t[10]=Math.cos(n)},reuseRotateZCommand:function(t,n){t[0]=Math.cos(n),t[1]=Math.sin(n),t[4]=-Math.sin(n),t[5]=Math.cos(n)},createRotateZ:function(t){var n=o.createIdentityMatrix();return o.reuseRotateZCommand(n,t),n},reuseSkewXCommand:function(t,n){t[4]=Math.tan(n)},reuseSkewYCommand:function(t,n){t[1]=Math.tan(n)},multiplyInto:function(t,n,o){var u=n[0],s=n[1],c=n[2],v=n[3],f=n[4],h=n[5],M=n[6],l=n[7],C=n[8],p=n[9],x=n[10],T=n[11],y=n[12],S=n[13],D=n[14],P=n[15],q=o[0],X=o[1],Y=o[2],I=o[3];t[0]=q*u+X*f+Y*C+I*y,t[1]=q*s+X*h+Y*p+I*S,t[2]=q*c+X*M+Y*x+I*D,t[3]=q*v+X*l+Y*T+I*P,q=o[4],X=o[5],Y=o[6],I=o[7],t[4]=q*u+X*f+Y*C+I*y,t[5]=q*s+X*h+Y*p+I*S,t[6]=q*c+X*M+Y*x+I*D,t[7]=q*v+X*l+Y*T+I*P,q=o[8],X=o[9],Y=o[10],I=o[11],t[8]=q*u+X*f+Y*C+I*y,t[9]=q*s+X*h+Y*p+I*S,t[10]=q*c+X*M+Y*x+I*D,t[11]=q*v+X*l+Y*T+I*P,q=o[12],X=o[13],Y=o[14],I=o[15],t[12]=q*u+X*f+Y*C+I*y,t[13]=q*s+X*h+Y*p+I*S,t[14]=q*c+X*M+Y*x+I*D,t[15]=q*v+X*l+Y*T+I*P},determinant:function(n){var o=t(n,16),u=o[0],s=o[1],c=o[2],v=o[3],f=o[4],h=o[5],M=o[6],l=o[7],C=o[8],p=o[9],x=o[10],T=o[11],y=o[12],S=o[13],D=o[14],P=o[15];return v*M*p*y-c*l*p*y-v*h*x*y+s*l*x*y+c*h*T*y-s*M*T*y-v*M*C*S+c*l*C*S+v*f*x*S-u*l*x*S-c*f*T*S+u*M*T*S+v*h*C*D-s*l*C*D-v*f*p*D+u*l*p*D+s*f*T*D-u*h*T*D-c*h*C*P+s*M*C*P+c*f*p*P-u*M*p*P-s*f*x*P+u*h*x*P},inverse:function(n){var u=o.determinant(n);if(!u)return n;var s=t(n,16),c=s[0],v=s[1],f=s[2],h=s[3],M=s[4],l=s[5],C=s[6],p=s[7],x=s[8],T=s[9],y=s[10],S=s[11],D=s[12],P=s[13],q=s[14],X=s[15];return[(C*S*P-p*y*P+p*T*q-l*S*q-C*T*X+l*y*X)/u,(h*y*P-f*S*P-h*T*q+v*S*q+f*T*X-v*y*X)/u,(f*p*P-h*C*P+h*l*q-v*p*q-f*l*X+v*C*X)/u,(h*C*T-f*p*T-h*l*y+v*p*y+f*l*S-v*C*S)/u,(p*y*D-C*S*D-p*x*q+M*S*q+C*x*X-M*y*X)/u,(f*S*D-h*y*D+h*x*q-c*S*q-f*x*X+c*y*X)/u,(h*C*D-f*p*D-h*M*q+c*p*q+f*M*X-c*C*X)/u,(f*p*x-h*C*x+h*M*y-c*p*y-f*M*S+c*C*S)/u,(l*S*D-p*T*D+p*x*P-M*S*P-l*x*X+M*T*X)/u,(h*T*D-v*S*D-h*x*P+c*S*P+v*x*X-c*T*X)/u,(v*p*D-h*l*D+h*M*P-c*p*P-v*M*X+c*l*X)/u,(h*l*x-v*p*x-h*M*T+c*p*T+v*M*S-c*l*S)/u,(C*T*D-l*y*D-C*x*P+M*y*P+l*x*q-M*T*q)/u,(v*y*D-f*T*D+f*x*P-c*y*P-v*x*q+c*T*q)/u,(f*l*D-v*C*D-f*M*P+c*C*P+v*M*q-c*l*q)/u,(v*C*x-f*l*x+f*M*T-c*C*T-v*M*y+c*l*y)/u]},transpose:function(t){return[t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]},multiplyVectorByMatrix:function(n,o){var u=t(n,4),s=u[0],c=u[1],v=u[2],f=u[3];return[s*o[0]+c*o[4]+v*o[8]+f*o[12],s*o[1]+c*o[5]+v*o[9]+f*o[13],s*o[2]+c*o[6]+v*o[10]+f*o[14],s*o[3]+c*o[7]+v*o[11]+f*o[15]]},v3Length:function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])},v3Normalize:function(t,n){var u=1/(n||o.v3Length(t));return[t[0]*u,t[1]*u,t[2]*u]},v3Dot:function(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]},v3Combine:function(t,n,o,u){return[o*t[0]+u*n[0],o*t[1]+u*n[1],o*t[2]+u*n[2]]},v3Cross:function(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]},quaternionToDegreesXYZ:function(n,u,s){var c=t(n,4),v=c[0],f=c[1],h=c[2],M=c[3],l=v*v,C=f*f,p=h*h,x=v*f+h*M,T=M*M+l+C+p,y=180/Math.PI;return x>.49999*T?[0,2*Math.atan2(v,M)*y,90]:x<-.49999*T?[0,-2*Math.atan2(v,M)*y,-90]:[o.roundTo3Places(Math.atan2(2*v*M-2*f*h,1-2*l-2*p)*y),o.roundTo3Places(Math.atan2(2*f*M-2*v*h,1-2*C-2*p)*y),o.roundTo3Places(Math.asin(2*v*f+2*h*M)*y)]},roundTo3Places:function(t){var n=t.toString().split('e');return.001*Math.round(n[0]+'e'+(n[1]?+n[1]-3:3))},decomposeMatrix:function(t){n(16===t.length,'Matrix decomposition needs a list of 3d matrix values, received %s',t);var u=[],s=[],c=[],v=[],f=[];if(t[15]){for(var h=[],M=[],l=0;l<4;l++){h.push([]);for(var C=0;C<4;C++){var p=t[4*l+C]/t[15];h[l].push(p),M.push(3===C?0:p)}}if(M[15]=1,o.determinant(M)){if(0!==h[0][3]||0!==h[1][3]||0!==h[2][3]){var x=[h[0][3],h[1][3],h[2][3],h[3][3]],T=o.inverse(M),y=o.transpose(T);u=o.multiplyVectorByMatrix(x,y)}else u[0]=u[1]=u[2]=0,u[3]=1;for(var S=0;S<3;S++)f[S]=h[3][S];for(var D=[],P=0;P<3;P++)D[P]=[h[P][0],h[P][1],h[P][2]];c[0]=o.v3Length(D[0]),D[0]=o.v3Normalize(D[0],c[0]),v[0]=o.v3Dot(D[0],D[1]),D[1]=o.v3Combine(D[1],D[0],1,-v[0]),v[0]=o.v3Dot(D[0],D[1]),D[1]=o.v3Combine(D[1],D[0],1,-v[0]),c[1]=o.v3Length(D[1]),D[1]=o.v3Normalize(D[1],c[1]),v[0]/=c[1],v[1]=o.v3Dot(D[0],D[2]),D[2]=o.v3Combine(D[2],D[0],1,-v[1]),v[2]=o.v3Dot(D[1],D[2]),D[2]=o.v3Combine(D[2],D[1],1,-v[2]),c[2]=o.v3Length(D[2]),D[2]=o.v3Normalize(D[2],c[2]),v[1]/=c[2],v[2]/=c[2];var q,X=o.v3Cross(D[1],D[2]);if(o.v3Dot(D[0],X)<0)for(var Y=0;Y<3;Y++)c[Y]*=-1,D[Y][0]*=-1,D[Y][1]*=-1,D[Y][2]*=-1;return s[0]=.5*Math.sqrt(Math.max(1+D[0][0]-D[1][1]-D[2][2],0)),s[1]=.5*Math.sqrt(Math.max(1-D[0][0]+D[1][1]-D[2][2],0)),s[2]=.5*Math.sqrt(Math.max(1-D[0][0]-D[1][1]+D[2][2],0)),s[3]=.5*Math.sqrt(Math.max(1+D[0][0]+D[1][1]+D[2][2],0)),D[2][1]>D[1][2]&&(s[0]=-s[0]),D[0][2]>D[2][0]&&(s[1]=-s[1]),D[1][0]>D[0][1]&&(s[2]=-s[2]),{rotationDegrees:q=s[0]<.001&&s[0]>=0&&s[1]<.001&&s[1]>=0?[0,0,o.roundTo3Places(180*Math.atan2(D[0][1],D[0][0])/Math.PI)]:o.quaternionToDegreesXYZ(s,h,D),perspective:u,quaternion:s,scale:c,skew:v,translation:f,rotate:q[2],rotateX:q[0],rotateY:q[1],scaleX:c[0],scaleY:c[1],translateX:f[0],translateY:f[1]}}}}};m.exports=o},77,[25,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t={width:void 0,height:void 0};m.exports=function(h,n){return(h=h||t)!==(n=n||t)&&(h.width!==n.width||h.height!==n.height)}},78,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=(r(d[2]),r(d[3]),r(d[4]),r(d[5]),(function(){function u(){t(this,u)}return n(u,null,[{key:"validateStyleProp",value:function(t,n,u){}},{key:"validateStyle",value:function(t,n){}},{key:"addValidStylePropTypes",value:function(t){}}]),u})());m.exports=u},79,[4,5,63,73,74,17]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function t(n){if(null!==n&&'object'==typeof n){if(!Array.isArray(n))return n;for(var f={},o=0,u=n.length;othis.eventPool.length&&this.eventPool.push(e)}function G(e){e.eventPool=[],e.getPooled=q,e.release=$}o(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=L)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=L)},persist:function(){this.isPersistent=L},isPersistent:Y,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Y,this._dispatchInstances=this._dispatchListeners=null}}),X.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},X.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,G(n),n},G(X);var J=X.extend({touchHistory:function(){return null}});function K(e){return"topTouchStart"===e}function Z(e){return"topTouchMove"===e}var ee=["topTouchStart"],te=["topTouchMove"],ne=["topTouchCancel","topTouchEnd"],re=[],ie={touchBank:re,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};function le(e){return e.timeStamp||e.timestamp}function ae(e){if(null==(e=e.identifier))throw f(Error("Touch object is missing identifier."));return e}function oe(e){var t=ae(e),n=re[t];n?(n.touchActive=!0,n.startPageX=e.pageX,n.startPageY=e.pageY,n.startTimeStamp=le(e),n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=le(e),n.previousPageX=e.pageX,n.previousPageY=e.pageY,n.previousTimeStamp=le(e)):(n={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:le(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:le(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:le(e)},re[t]=n),ie.mostRecentTimeStamp=le(e)}function ue(e){var t=re[ae(e)];t?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=le(e),ie.mostRecentTimeStamp=le(e)):console.warn("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",se(e),fe())}function ce(e){var t=re[ae(e)];t?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=le(e),ie.mostRecentTimeStamp=le(e)):console.warn("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",se(e),fe())}function se(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:le(e)})}function fe(){var e=JSON.stringify(re.slice(0,20));return 20a||(l=a),Ue(l,e,i)}}}),_=function(e){return xe.get(e._nativeTag)||null},P=we,R=function(e){var t=e.stateNode._nativeTag;if(void 0===t&&(t=e.stateNode.canonical._nativeTag),!t)throw f(Error("All native instances should have a tag."));return t},ye.injection.injectGlobalResponderHandler({onChange:function(e,t,n){null!==t?u.UIManager.setJSResponder(t.stateNode._nativeTag,n):u.UIManager.clearJSResponder()}});var ze=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ze.hasOwnProperty("ReactCurrentDispatcher")||(ze.ReactCurrentDispatcher={current:null}),ze.hasOwnProperty("ReactCurrentBatchConfig")||(ze.ReactCurrentBatchConfig={suspense:null});var Me="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.for:"@@for"),Ae=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.element"):60103,De=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.portal"):60106,Fe=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.fragment"):60107,Oe=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.strict_mode"):60108,je=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.profiler"):60114,We=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.provider"):60109,He=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.context"):60110,Qe=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.concurrent_mode"):60111,Be=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.forward_ref"):60112,Ve=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.suspense"):60113,Le=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.suspense_list"):60120,Ye=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.memo"):60115,Xe=Me?("function"==typeof Symbol?Symbol.for:"@@for")("react.lazy"):60116;Me&&("function"==typeof Symbol?Symbol.for:"@@for")("react.fundamental"),Me&&("function"==typeof Symbol?Symbol.for:"@@for")("react.responder");var qe="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.iterator:"@@iterator");function $e(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=qe&&e[qe]||e["@@iterator"])?e:null}function Ge(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Fe:return"Fragment";case De:return"Portal";case je:return"Profiler";case Oe:return"StrictMode";case Ve:return"Suspense";case Le:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case He:return"Context.Consumer";case We:return"Context.Provider";case Be:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ye:return Ge(e.type);case Xe:if(e=1===e._status?e._result:null)return Ge(e)}return null}function Je(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function Ke(e){if(2!==Je(e))throw f(Error("Unable to find node on an unmounted component."))}function Ze(e){var t=e.alternate;if(!t){if(3===(t=Je(e)))throw f(Error("Unable to find node on an unmounted component."));return 1===t?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var l=i.alternate;if(null===l){if(null!==(r=i.return)){n=r;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===n)return Ke(i),e;if(l===r)return Ke(i),t;l=l.sibling}throw f(Error("Unable to find node on an unmounted component."))}if(n.return!==r.return)n=i,r=l;else{for(var a=!1,o=i.child;o;){if(o===n){a=!0,n=i,r=l;break}if(o===r){a=!0,r=i,n=l;break}o=o.sibling}if(!a){for(o=l.child;o;){if(o===n){a=!0,n=l,r=i;break}if(o===r){a=!0,r=l,n=i;break}o=o.sibling}if(!a)throw f(Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."))}}if(n.alternate!==r)throw f(Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."))}if(3!==n.tag)throw f(Error("Unable to find node on an unmounted component."));return n.stateNode.current===n?e:t}function et(e){if(!(e=Ze(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var tt={},nt=null,rt=0;function it(e,t,n){if(Array.isArray(t))for(var r=t.length;r--&&0wt||(e.current=xt[wt],xt[wt]=null,wt--)}function kt(e,t){xt[++wt]=e.current,e.current=t}var Ct={},_t={current:Ct},Pt={current:!1},Rt=Ct;function Nt(e,t){var n=e.type.contextTypes;if(!n)return Ct;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,l={};for(i in n)l[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function It(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ut(e){St(Pt),St(_t)}function zt(e){St(Pt),St(_t)}function Mt(e,t,n){if(_t.current!==Ct)throw f(Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."));kt(_t,t),kt(Pt,n)}function At(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw f(Error((Ge(t)||"Unknown")+'.getChildContext(): key "'+i+'" is not defined in childContextTypes.'));return o({},n,r)}function Dt(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Ct,Rt=_t.current,kt(_t,t),kt(Pt,Pt.current),!0}function Ft(e,t,n){var r=e.stateNode;if(!r)throw f(Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."));n?(t=At(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=t,St(Pt),St(_t),kt(_t,t)):St(Pt),kt(Pt,n)}var Ot=s.unstable_runWithPriority,jt=s.unstable_scheduleCallback,Wt=s.unstable_cancelCallback,Ht=s.unstable_shouldYield,Qt=s.unstable_requestPaint,Bt=s.unstable_now,Vt=s.unstable_getCurrentPriorityLevel,Lt=s.unstable_ImmediatePriority,Yt=s.unstable_UserBlockingPriority,Xt=s.unstable_NormalPriority,qt=s.unstable_LowPriority,$t=s.unstable_IdlePriority,Gt={},Jt=void 0!==Qt?Qt:function(){},Kt=null,Zt=null,en=!1,tn=Bt(),nn=1e4>tn?Bt:function(){return Bt()-tn};function rn(){switch(Vt()){case Lt:return 99;case Yt:return 98;case Xt:return 97;case qt:return 96;case $t:return 95;default:throw f(Error("Unknown priority level."))}}function ln(e){switch(e){case 99:return Lt;case 98:return Yt;case 97:return Xt;case 96:return qt;case 95:return $t;default:throw f(Error("Unknown priority level."))}}function an(e,t){return e=ln(e),Ot(e,t)}function on(e,t,n){return e=ln(e),jt(e,t,n)}function un(e){return null===Kt?(Kt=[e],Zt=jt(Lt,sn)):Kt.push(e),Gt}function cn(){null!==Zt&&Wt(Zt),sn()}function sn(){if(!en&&null!==Kt){en=!0;var e=0;try{var t=Kt;an(99,function(){for(;e=(e=10*(1073741821-t)-10*(1073741821-e))?99:250>=e?98:5250>=e?97:95}function dn(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var pn=Object.prototype.hasOwnProperty;function hn(e,t){if(dn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r=t&&(li=!0),e.firstContext=null)}function Cn(e,t){if(Tn!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Tn=e,t=1073741823),t={context:e,observedBits:t,next:null},null===bn){if(null===yn)throw f(Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."));bn=t,yn.dependencies={expirationTime:0,firstContext:t,responders:null}}else bn=bn.next=t;return e._currentValue}var _n=!1;function Pn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Rn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Nn(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function In(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Un(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=Pn(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=Pn(e.memoizedState),i=n.updateQueue=Pn(n.memoizedState)):r=e.updateQueue=Rn(i):null===i&&(i=n.updateQueue=Rn(r));null===i||r===i?In(r,t):null===r.lastUpdate||null===i.lastUpdate?(In(r,t),In(i,t)):(In(r,t),i.lastUpdate=t)}function zn(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Pn(e.memoizedState):Mn(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Mn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Rn(t)),t}function An(e,t,n,r,i,l){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(l,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null===(i="function"==typeof(e=n.payload)?e.call(l,r,i):e)||void 0===i)break;return o({},r,i);case 2:_n=!0}return r}function Dn(e,t,n,r,i){_n=!1;for(var l=(t=Mn(e,t)).baseState,a=null,o=0,u=t.firstUpdate,c=l;null!==u;){var s=u.expirationTime;sm?(g=f,f=null):g=f.sibling;var v=p(i,f,o[m],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(i,f),a=l(v,a,m),null===s?c=v:s.sibling=v,s=v,f=g}if(m===o.length)return n(i,f),c;if(null===f){for(;mg?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(i,m),a=l(b,a,g),null===s?c=b:s.sibling=b,s=b,m=v}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;g++,y=o.next())null!==(y=d(i,y.value,u))&&(a=l(y,a,g),null===s?c=y:s.sibling=y,s=y);return c}for(m=r(i,m);!y.done;g++,y=o.next())null!==(y=h(m,i,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),a=l(y,a,g),null===s?c=y:s.sibling=y,s=y);return e&&m.forEach(function(e){return t(i,e)}),c}return function(e,r,l,o){var u="object"==typeof l&&null!==l&&l.type===Fe&&null===l.key;u&&(l=l.props.children);var c="object"==typeof l&&null!==l;if(c)switch(l.$$typeof){case Ae:e:{for(c=l.key,u=r;null!==u;){if(u.key===c){if(7===u.tag?l.type===Fe:u.elementType===l.type){n(e,u.sibling),(r=i(u,l.type===Fe?l.props.children:l.props)).ref=qn(e,u,l),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}l.type===Fe?((r=ea(l.props.children,e.mode,o,l.key)).return=e,e=r):((o=Zl(l.type,l.key,l.props,null,e.mode,o)).ref=qn(e,r,l),o.return=e,e=o)}return a(e);case De:e:{for(u=l.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===l.containerInfo&&r.stateNode.implementation===l.implementation){n(e,r.sibling),(r=i(r,l.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=na(l,e.mode,o)).return=e,e=r}return a(e)}if("string"==typeof l||"number"==typeof l)return l=""+l,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,l)).return=e,e=r):(n(e,r),(r=ta(l,e.mode,o)).return=e,e=r),a(e);if(Xn(l))return m(e,r,l,o);if($e(l))return g(e,r,l,o);if(c&&$n(e,l),void 0===l&&!u)switch(e.tag){case 1:case 0:throw e=e.type,f(Error((e.displayName||e.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null."))}return n(e,r)}}var Jn=Gn(!0),Kn=Gn(!1),Zn={},er={current:Zn},tr={current:Zn},nr={current:Zn};function rr(e){if(e===Zn)throw f(Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."));return e}function ir(e,t){kt(nr,t),kt(tr,e),kt(er,Zn),St(er),kt(er,{isInAParentText:!1})}function lr(e){St(er),St(tr),St(nr)}function ar(e){rr(nr.current);var t=rr(er.current),n=e.type;n="AndroidTextInput"===n||"RCTMultilineTextInputView"===n||"RCTSinglelineTextInputView"===n||"RCTText"===n||"RCTVirtualText"===n,t!==(n=t.isInAParentText!==n?{isInAParentText:n}:t)&&(kt(tr,e),kt(er,n))}function or(e){tr.current===e&&(St(er),St(tr))}var ur=1,cr=1,sr=2,fr={current:0};function dr(e){for(var t=e;null!==t;){if(13===t.tag){if(null!==t.memoizedState)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function pr(e,t){return{responder:e,props:t}}var hr=0,mr=2,gr=4,vr=8,yr=16,br=32,Tr=64,Er=128,xr=ze.ReactCurrentDispatcher,wr=0,Sr=null,kr=null,Cr=null,_r=null,Pr=null,Rr=null,Nr=0,Ir=null,Ur=0,zr=!1,Mr=null,Ar=0;function Dr(){throw f(Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem."))}function Fr(e,t){if(null===t)return!1;for(var n=0;nNr&&(Nr=s)):(zl(s,u.suspenseConfig),l=u.eagerReducer===e?u.eagerState:e(l,u.action)),a=u,u=u.next}while(null!==u&&u!==r);c||(o=a,i=l),dn(l,t.memoizedState)||(li=!0),t.memoizedState=l,t.baseUpdate=o,t.baseState=i,n.lastRenderedState=l}return[t.memoizedState,n.dispatch]}function Vr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Ir?(Ir={lastEffect:null}).lastEffect=e.next=e:null===(t=Ir.lastEffect)?Ir.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Ir.lastEffect=e),e}function Lr(e,t,n,r){var i=Wr();Ur|=e,i.memoizedState=Vr(t,n,void 0,void 0===r?null:r)}function Yr(e,t,n,r){var i=Hr();r=void 0===r?null:r;var l=void 0;if(null!==kr){var a=kr.memoizedState;if(l=a.destroy,null!==r&&Fr(r,a.deps))return void Vr(hr,n,l,r)}Ur|=e,i.memoizedState=Vr(t,n,l,r)}function Xr(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qr(){}function $r(e,t,n){if(!(25>Ar))throw f(Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."));var r=e.alternate;if(e===Sr||null!==r&&r===Sr)if(zr=!0,e={expirationTime:wr,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===Mr&&(Mr=new Map),void 0===(n=Mr.get(t)))Mr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=wl(),l=jn.suspense;l={expirationTime:i=Sl(i,e,l),suspenseConfig:l,action:n,eagerReducer:null,eagerState:null,next:null};var a=t.last;if(null===a)l.next=l;else{var o=a.next;null!==o&&(l.next=o),a.next=l}if(t.last=l,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var u=t.lastRenderedState,c=r(u,n);if(l.eagerReducer=r,l.eagerState=c,dn(c,u))return}catch(e){}kl(e,i)}}var Gr={readContext:Cn,useCallback:Dr,useContext:Dr,useEffect:Dr,useImperativeHandle:Dr,useLayoutEffect:Dr,useMemo:Dr,useReducer:Dr,useRef:Dr,useState:Dr,useDebugValue:Dr,useResponder:Dr},Jr={readContext:Cn,useCallback:function(e,t){return Wr().memoizedState=[e,void 0===t?null:t],e},useContext:Cn,useEffect:function(e,t){return Lr(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Lr(4,36,Xr.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Lr(4,36,e,t)},useMemo:function(e,t){var n=Wr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wr();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=$r.bind(null,Sr,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Wr().memoizedState=e},useState:function(e){var t=Wr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Qr,lastRenderedState:e}).dispatch=$r.bind(null,Sr,e),[t.memoizedState,e]},useDebugValue:qr,useResponder:pr},Kr={readContext:Cn,useCallback:function(e,t){var n=Hr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Fr(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Cn,useEffect:function(e,t){return Yr(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Yr(4,36,Xr.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Yr(4,36,e,t)},useMemo:function(e,t){var n=Hr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Fr(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Br,useRef:function(){return Hr().memoizedState},useState:function(e){return Br(Qr)},useDebugValue:qr,useResponder:pr},Zr=null,ei=null,ti=!1;function ni(e,t){switch(e.tag){case 5:return null!==(t=ft(e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=ft(e.pendingProps))&&(e.stateNode=t,!0);case 13:default:return!1}}function ri(e){if(ti){var t=ei;if(t){var n=t;if(!ni(e,t)){if(!(t=ft())||!ni(e,t))return e.effectTag|=2,ti=!1,void(Zr=e);var r=Zr,i=$l(5,null,null,0);i.elementType="DELETED",i.type="DELETED",i.stateNode=n,i.return=r,i.effectTag=8,null!==r.lastEffect?(r.lastEffect.nextEffect=i,r.lastEffect=i):r.firstEffect=r.lastEffect=i}Zr=e,ei=ft()}else e.effectTag|=2,ti=!1,Zr=e}}var ii=ze.ReactCurrentOwner,li=!1;function ai(e,t,n,r){t.child=null===e?Kn(t,null,n,r):Jn(t,e.child,n,r)}function oi(e,t,n,r,i){n=n.render;var l=t.ref;return kn(t,i),r=Or(e,t,n,r,l,i),null===e||li?(t.effectTag|=1,ai(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),bi(e,t,i))}function ui(e,t,n,r,i,l){if(null===e){var a=n.type;return"function"!=typeof a||Gl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zl(n.type,null,r,null,t.mode,l)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ci(e,t,a,r,i,l))}return a=e.child,it)&&bl.set(e,t))}}function Cl(e,t){e.expirationTimei.firstPendingTime&&(i.firstPendingTime=t),0===(e=i.lastPendingTime)||t=t)&&(on(97,function(){return n._onComplete(),null}),!0)}function Nl(){if(null!==bl){var e=bl;bl=null,e.forEach(function(e,t){un(Ul.bind(null,t,e))}),cn()}}function Il(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,bt(n)),null!==nl)for(n=nl.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!==i&&void 0!==i&&Ut();break;case 3:lr(),zt();break;case 5:or(r);break;case 4:lr();break;case 13:case 19:St(fr);break;case 10:wn(r)}n=n.return}tl=e,nl=Kl(e.current,null),rl=t,il=$i,al=ll=1073741823,ol=null,ul=!1}function Ul(e,t,n){if((48&el)!==Li)throw f(Error("Should not already be working."));if(e.firstPendingTime component higher in the tree to provide a loading indicator or placeholder to display."+Et(u))}il!==Zi&&(il=Gi),c=Ci(c,u),u=o;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=s,zn(u,s=Wi(u,c,s));break e;case 1:if(d=c,a=u.type,o=u.stateNode,0==(64&u.effectTag)&&("function"==typeof a.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===hl||!hl.has(o)))){u.effectTag|=2048,u.expirationTime=s,zn(u,s=Hi(u,d,s));break e}}u=u.return}while(null!==u)}nl=Al(l)}if(el=r,En(),Bi.current=i,null!==nl)return Ul.bind(null,e,t)}if(e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Rl(e,t))return null;switch(tl=null,il){case $i:throw f(Error("Should have a work-in-progress."));case Gi:return(r=e.lastPendingTime)(n=r-n)&&(n=0),t<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Qi(n/1960))-n)&&(n=t)),10=(t=0|(i=ol).busyMinDurationMs)?t=0:(n=0|i.busyDelayMs,t=(r=nn()-(10*(1073741821-r)-(0|i.timeoutMs||5e3)))<=n?0:n+t-r),10 component."));r=mt(),u.UIManager.createView(r,"RCTRawText",l,{text:i}),Ee.set(r,t),n.stateNode=r}break;case 11:break;case 13:if(St(fr),i=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=r;break e}i=null!==i,r=!1,null!==n&&(r=null!==(l=n.memoizedState),i||null===l||null!==(l=n.child.sibling)&&(null!==(o=t.firstEffect)?(t.firstEffect=l,l.nextEffect=o):(t.firstEffect=t.lastEffect=l,l.nextEffect=null),l.effectTag=8)),i&&!r&&0!=(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(fr.current&cr)?il===$i&&(il=Ji):il!==$i&&il!==Ji||(il=Ki)),(i||r)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:lr(),Ei(t);break;case 10:wn(t);break;case 9:case 14:break;case 17:It(t.type)&&Ut();break;case 18:break;case 19:if(St(fr),null===(i=t.memoizedState))break;if(l=0!=(64&t.effectTag),null===(o=i.rendering)){if(l)Si(i,!1);else if(il!==$i||null!==n&&0!=(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(o=dr(n))){for(t.effectTag|=64,Si(i,!1),null!==(i=o.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),t.firstEffect=t.lastEffect=null,i=r,n=t.child;null!==n;)l=i,(r=n).effectTag&=2,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null,null===(o=r.alternate)?(r.childExpirationTime=0,r.expirationTime=l,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null):(r.childExpirationTime=o.childExpirationTime,r.expirationTime=o.expirationTime,r.child=o.child,r.memoizedProps=o.memoizedProps,r.memoizedState=o.memoizedState,r.updateQueue=o.updateQueue,l=o.dependencies,r.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),n=n.sibling;kt(fr,fr.current&ur|sr),t=t.child;break e}n=n.sibling}}else{if(!l)if(null!==(n=dr(o))){if(t.effectTag|=64,l=!0,Si(i,!0),null===i.tail&&"hidden"===i.tailMode){null!==(n=n.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null);break}}else nn()>i.tailExpiration&&1n&&(n=l),o>n&&(n=o),r=r.sibling;i.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(1024&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=nl.firstEffect),null!==nl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=nl.firstEffect),e.lastEffect=nl.lastEffect),1i?l:i,e.firstPendingTime=i,i=n?gi(e,t,n):(kt(fr,fr.current&ur),null!==(t=bi(e,t,n))?t.sibling:null);kt(fr,fr.current&ur);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return yi(e,t,n);t.effectTag|=64}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null),kt(fr,fr.current),!r)return null}return bi(e,t,n)}}else li=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Nt(t,_t.current),kn(t,n),i=Or(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,jr(),It(r)){var l=!0;Dt(t)}else l=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var a=r.getDerivedStateFromProps;"function"==typeof a&&Hn(t,r,a,e),i.updater=Qn,t.stateNode=i,i._reactInternalFiber=t,Yn(t,r,e,n),t=pi(null,t,r,!0,l,n)}else t.tag=0,ai(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=gn(i),t.type=i,l=t.tag=Jl(i),e=mn(i,e),l){case 0:t=fi(null,t,i,e,n);break;case 1:t=di(null,t,i,e,n);break;case 11:t=oi(null,t,i,e,n);break;case 14:t=ui(null,t,i,mn(i.type,e),r,n);break;default:throw f(Error("Element type is invalid. Received a promise that resolves to: "+i+". Lazy element type must resolve to a class or function."))}return t;case 0:return r=t.type,i=t.pendingProps,fi(e,t,r,i=t.elementType===r?i:mn(r,i),n);case 1:return r=t.type,i=t.pendingProps,di(e,t,r,i=t.elementType===r?i:mn(r,i),n);case 3:if(hi(t),null===(r=t.updateQueue))throw f(Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue."));return i=null!==(i=t.memoizedState)?i.element:null,Dn(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?t=bi(e,t,n):(ai(e,t,r,n),t=t.child),t;case 5:return ar(t),null===e&&ri(t),r=t.pendingProps.children,si(e,t),ai(e,t,r,n),t.child;case 6:return null===e&&ri(t),null;case 13:return gi(e,t,n);case 4:return ir(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Jn(t,null,r,n):ai(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,oi(e,t,r,i=t.elementType===r?i:mn(r,i),n);case 7:return ai(e,t,t.pendingProps,n),t.child;case 8:case 12:return ai(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,xn(t,l=i.value),null!==a){var o=a.value;if(0===(l=dn(o,l)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(o,l):1073741823))){if(a.children===i.children&&!Pt.current){t=bi(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var u=o.dependencies;if(null!==u){a=o.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&l)){1===o.tag&&((c=Nn(n,null)).tag=2,Un(o,c)),o.expirationTime|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,u=/\((\S*)(?::(\d+))(?::(\d+))\)/;function t(t){var o=l.exec(t);if(!o)return null;var c=o[2]&&0===o[2].indexOf('native'),s=o[2]&&0===o[2].indexOf('eval'),v=u.exec(o[2]);return s&&null!=v&&(o[2]=v[1],o[3]=v[2],o[4]=v[3]),{file:c?null:o[2],methodName:o[1]||n,arguments:c?[o[2]]:[],lineNumber:o[3]?+o[3]:null,column:o[4]?+o[4]:null}}var o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function c(l){var u=o.exec(l);return u?{file:u[2],methodName:u[1]||n,arguments:[],lineNumber:+u[3],column:u[4]?+u[4]:null}:null}var s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,v=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function f(l){var u=s.exec(l);if(!u)return null;var t=u[3]&&u[3].indexOf(' > eval')>-1,o=v.exec(u[3]);return t&&null!=o&&(u[3]=o[1],u[4]=o[2],u[5]=null),{file:u[3],methodName:u[1]||n,arguments:u[2]?u[2].split(','):[],lineNumber:u[4]?+u[4]:null,column:u[5]?+u[5]:null}}var b=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function p(l){var u=b.exec(l);return u?{file:u[3],methodName:u[1]||n,arguments:[],lineNumber:+u[4],column:u[5]?+u[5]:null}:null}var x=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function h(l){var u=x.exec(l);return u?{file:u[2],methodName:u[1]||n,arguments:[],lineNumber:+u[3],column:u[4]?+u[4]:null}:null}e.parse=function(n){return n.split('\n').reduce(function(n,l){var u=t(l)||c(l)||f(l)||h(l)||p(l);return u&&n.push(u),n},[])}},96,[]); -__d(function(g,r,i,a,m,e,d){'use strict';(0,r(d[0]).polyfillGlobal)('Promise',function(){return r(d[1])})},97,[98,99]); -__d(function(g,r,i,a,m,e,d){'use strict';var l=r(d[0]);function o(o,t,n){var c=Object.getOwnPropertyDescriptor(o,t),b=c||{},f=b.enumerable,u=b.writable,p=b.configurable;!c||p?l(o,t,{get:n,enumerable:!1!==f,writable:!1!==u}):console.error('Failed to set polyfill. '+t+' is not configurable.')}m.exports={polyfillObjectProperty:o,polyfillGlobal:function(l,t){o(g,l,t)}}},98,[39]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);r(d[1]),r(d[2]),m.exports=t},99,[100,102,103]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=n;var t=h(!0),o=h(!1),f=h(null),u=h(void 0),c=h(0),l=h('');function h(t){var o=new n(n._61);return o._65=1,o._55=t,o}n.resolve=function(v){if(v instanceof n)return v;if(null===v)return f;if(void 0===v)return u;if(!0===v)return t;if(!1===v)return o;if(0===v)return c;if(''===v)return l;if('object'==typeof v||'function'==typeof v)try{var p=v.then;if('function'==typeof p)return new n(p.bind(v))}catch(t){return new n(function(n,o){o(t)})}return h(v)},n.all=function(t){var o=Array.prototype.slice.call(t);return new n(function(t,f){if(0===o.length)return t([]);var u=o.length;function c(l,h){if(h&&('object'==typeof h||'function'==typeof h)){if(h instanceof n&&h.then===n.prototype.then){for(;3===h._65;)h=h._55;return 1===h._65?c(l,h._55):(2===h._65&&f(h._55),void h.then(function(n){c(l,n)},f))}var v=h.then;if('function'==typeof v)return void new n(v.bind(h)).then(function(n){c(l,n)},f)}o[l]=h,0==--u&&t(o)}for(var l=0;l=0;--h){var f=this.tryEntries[h],s=f.completion;if("root"===f.tryLoc)return u("end");if(f.tryLoc<=this.prev){var l=c.call(f,"catchLoc"),p=c.call(f,"finallyLoc");if(l&&p){if(this.prev=0;--o){var u=this.tryEntries[o];if(u.tryLoc<=this.prev&&c.call(u,"finallyLoc")&&this.prev=0;--n){var o=this.tryEntries[n];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),I(o),x}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc===t){var c=o.completion;if("throw"===c.type){var u=c.arg;I(o)}return u}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,c){return this.delegate={iterator:R(t),resultName:o,nextLoc:c},"next"===this.method&&(this.arg=n),x}},t})("object"==typeof m?m.exports:{});try{regeneratorRuntime=t}catch(n){Function("r","regeneratorRuntime = r")(t)}},105,[]); -__d(function(g,r,i,a,m,e,d){'use strict';if(!g.RN$Bridgeless){var l=r(d[0]).polyfillGlobal,t=function(t){l(t,function(){return r(d[1])[t]})};t('setTimeout'),t('setInterval'),t('setImmediate'),t('clearTimeout'),t('clearInterval'),t('clearImmediate'),t('requestAnimationFrame'),t('cancelAnimationFrame'),t('requestIdleCallback'),t('cancelIdleCallback')}},106,[98,107]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1])),n=r(d[2]),l=(r(d[3]),r(d[4]),r(d[5])),u=null;function o(){return u||(u=r(d[6])),u()}var c=16.666666666666668,f=[],s=[],v=[],h=[],I=[],T={},b=[],p=1,w=null,k=!1;function q(){var t=v.indexOf(null);return-1===t&&(t=v.length),t}function x(t,n){var l=p++,u=q();return v[u]=l,f[u]=t,s[u]=n,l}function y(t,n,l){r(d[7])(t<=p,'Tried to call timer with ID %s but no such timer exists.',t);var u=v.indexOf(t);if(-1!==u){var h=s[u],I=f[u];if(I&&h){'setTimeout'!==h&&'setImmediate'!==h&&'requestAnimationFrame'!==h&&'requestIdleCallback'!==h||A(u);try{'setTimeout'===h||'setInterval'===h||'setImmediate'===h?I():'requestAnimationFrame'===h?I(o()):'requestIdleCallback'===h?I({timeRemaining:function(){return Math.max(0,c-(o()-n))},didTimeout:!!l}):console.error('Tried to call a callback with invalid type: '+h)}catch(t){w?w.push(t):w=[t]}}else console.error('No callback found for timerID '+t)}}function C(){if(h.length>0){var t=h.slice();h=[];for(var n=0;n0}function A(t){v[t]=null,f[t]=null,s[t]=null,b[t]=null}function D(t){if(null!=t){var n=v.indexOf(t);if(-1!==n){A(n);var l=s[n];'setImmediate'!==l&&'requestIdleCallback'!==l&&E(t)}}}var O,F={setTimeout:function(t,n){for(var l=arguments.length,u=new Array(l>2?l-2:0),o=2;o2?l-2:0),o=2;o1?n-1:0),u=1;u-1&&(I.splice(t,1),y(u,o(),!0)),delete T[u],0===I.length&&_(!1)},l);T[u]=c}return u},cancelIdleCallback:function(t){D(t);var n=I.indexOf(t);-1!==n&&I.splice(n,1);var l=T[t];l&&(F.clearTimeout(l),delete T[t]),0===I.length&&_(!1)},clearTimeout:function(t){D(t)},clearInterval:function(t){D(t)},clearImmediate:function(t){D(t);var n=h.indexOf(t);-1!==n&&h.splice(n,1)},cancelAnimationFrame:function(t){D(t)},callTimers:function(t){l(0!==t.length,'Cannot call `callTimers` with an empty list of IDs.'),w=null;for(var n=0;n1)for(var o=1;o0){var n=I.slice();I=[];for(var l=0;l=0,loaded:s,total:n})}},{key:"__didCompleteResponse",value:function(t,s,n){t===this._requestId&&(s&&(''!==this._responseType&&'text'!==this._responseType||(this._response=s),this._hasError=!0,n&&(this._timedOut=!0)),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE),s?S._interceptor&&S._interceptor.loadingFailed(t,s):S._interceptor&&S._interceptor.loadingFinished(t,this._response.length))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach(function(t){t&&t.remove()}),this._subscriptions=[]}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var t=this.responseHeaders||{};return Object.keys(t).map(function(s){return s+': '+t[s]}).join('\r\n')}},{key:"getResponseHeader",value:function(t){var s=this._lowerCaseResponseHeaders[t.toLowerCase()];return void 0!==s?s:null}},{key:"setRequestHeader",value:function(t,s){if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');this._headers[t.toLowerCase()]=String(s)}},{key:"setTrackingName",value:function(t){return this._trackingName=t,this}},{key:"open",value:function(t,s,n){if(this.readyState!==this.UNSENT)throw new Error('Cannot open, already sending');if(void 0!==n&&!n)throw new Error('Synchronous http requests are not supported');if(!s)throw new Error('Cannot load an empty url');this._method=t.toUpperCase(),this._url=s,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(s){var n=this;if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');if(this._sent)throw new Error('Request has already been sent');this._sent=!0;var o=this._incrementalEvents||!!this.onreadystatechange||!!this.onprogress;this._subscriptions.push(l.addListener('didSendNetworkData',function(s){return n.__didUploadProgress.apply(n,t(s))})),this._subscriptions.push(l.addListener('didReceiveNetworkResponse',function(s){return n.__didReceiveResponse.apply(n,t(s))})),this._subscriptions.push(l.addListener('didReceiveNetworkData',function(s){return n.__didReceiveData.apply(n,t(s))})),this._subscriptions.push(l.addListener('didReceiveNetworkIncrementalData',function(s){return n.__didReceiveIncrementalData.apply(n,t(s))})),this._subscriptions.push(l.addListener('didReceiveNetworkDataProgress',function(s){return n.__didReceiveDataProgress.apply(n,t(s))})),this._subscriptions.push(l.addListener('didCompleteNetworkResponse',function(s){return n.__didCompleteResponse.apply(n,t(s))}));var h='text';'arraybuffer'===this._responseType&&(h='base64'),'blob'===this._responseType&&(h='blob'),v(this._method,'Request method needs to be defined.'),v(this._url,'Request URL needs to be defined.'),l.sendRequest(this._method,this._trackingName,this._url,this._headers,s,h,o,this.timeout,this.__didCreateRequest.bind(this),this.withCredentials)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&l.abortRequest(this._requestId),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(t){this.responseHeaders=t||null;var s=t||{};this._lowerCaseResponseHeaders=Object.keys(s).reduce(function(t,n){return t[n.toLowerCase()]=s[n],t},{})}},{key:"setReadyState",value:function(t){this.readyState=t,this.dispatchEvent({type:'readystatechange'}),t===this.DONE&&(this._aborted?this.dispatchEvent({type:'abort'}):this._hasError?this._timedOut?this.dispatchEvent({type:'timeout'}):this.dispatchEvent({type:'error'}):this.dispatchEvent({type:'load'}),this.dispatchEvent({type:'loadend'}))}},{key:"addEventListener",value:function(t,n){'readystatechange'!==t&&'progress'!==t||(this._incrementalEvents=!0),s(p(S.prototype),"addEventListener",this).call(this,t,n)}},{key:"responseType",get:function(){return this._responseType},set:function(t){if(this._sent)throw new Error("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be set after the request has been sent.");w.hasOwnProperty(t)?(v(w[t]||'document'===t,"The provided value '"+t+"' is unsupported in this environment."),'blob'===t&&v(_.isAvailable,'Native module BlobModule is required for blob support'),this._responseType=t):f(!1,"The provided value '"+t+"' is not a valid 'responseType'.")}},{key:"responseText",get:function(){if(''!==this._responseType&&'text'!==this._responseType)throw new Error("The 'responseText' property is only available if 'responseType' is set to '' or 'text', but it is '"+this._responseType+"'.");return this.readyState0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1?arguments[1]:void 0;t(this,s);var u=r(d[2]);this.data=u.createFromParts(n,o).data}return n(s,[{key:"slice",value:function(t,n){var s=r(d[2]),o=this.data,u=o.offset,l=o.size;return'number'==typeof t&&(t>l&&(t=l),u+=t,l-=t,'number'==typeof n&&(n<0&&(n=this.size+n),l=n-t)),s.createFromOptions({blobId:this.data.blobId,offset:u,size:l})}},{key:"close",value:function(){r(d[2]).release(this.data.blobId),this.data=null}},{key:"data",set:function(t){this._data=t},get:function(){if(!this._data)throw new Error('Blob has been closed and is no longer available');return this._data}},{key:"size",get:function(){return this.data.size}},{key:"type",get:function(){return this.data.type||''}}]),s})();m.exports=s},116,[4,5,114]); -__d(function(g,r,i,a,m,e,d){var n={};m.exports={register:function(t){n[t]?n[t]++:n[t]=1},unregister:function(t){n[t]&&(n[t]--,n[t]<=0&&delete n[t])},has:function(t){return n[t]&&n[t]>0}}},117,[]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=new WeakMap,n=new WeakMap;function o(n){var o=t.get(n);return console.assert(null!=o,"'this' is expected an Event object, but got",n),o}function l(t){null==t.passiveListener?t.event.cancelable&&(t.canceled=!0,"function"==typeof t.event.preventDefault&&t.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener)}function u(n,o){t.set(this,{eventTarget:n,event:o,eventPhase:2,currentTarget:n,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:o.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var l=Object.keys(o),u=0;u0){for(var t=new Array(arguments.length),n=0;n0?C-4:C;for(u=0;u>16&255,s[v++]=h>>8&255,s[v++]=255&h;2===y&&(h=n[t.charCodeAt(u)]<<2|n[t.charCodeAt(u+1)]>>4,s[v++]=255&h);1===y&&(h=n[t.charCodeAt(u)]<<10|n[t.charCodeAt(u+1)]<<4|n[t.charCodeAt(u+2)]>>2,s[v++]=h>>8&255,s[v++]=255&h);return s},e.fromByteArray=function(n){for(var o,h=n.length,u=h%3,c=[],f=0,A=h-u;fA?A:f+16383));1===u?(o=n[h-1],c.push(t[o>>2]+t[o<<4&63]+'==')):2===u&&(o=(n[h-2]<<8)+n[h-1],c.push(t[o>>10]+t[o>>4&63]+t[o<<2&63]+'='));return c.join('')};for(var t=[],n=[],o='undefined'!=typeof Uint8Array?Uint8Array:Array,h='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',u=0,c=h.length;u0)throw new Error('Invalid string. Length must be a multiple of 4');var o=t.indexOf('=');return-1===o&&(o=n),[o,o===n?0:4-o%4]}function A(t,n,o){return 3*(n+o)/4-o}function C(n,o,h){for(var u,c,f=[],A=o;A>18&63]+t[c>>12&63]+t[c>>6&63]+t[63&c]);return f.join('')}n['-'.charCodeAt(0)]=62,n['_'.charCodeAt(0)]=63},124,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]);function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function p(n){for(var o=1;o-1};function f(t){if('string'!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError('Invalid character in header field name');return t.toLowerCase()}function h(t){return'string'!=typeof t&&(t=String(t)),t}function u(t){var n={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return o.iterable&&(n["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){return n}),n}function c(t){this.map={},t instanceof c?t.forEach(function(t,o){this.append(o,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(o){this.append(o,t[o])},this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError('Already read'));t.bodyUsed=!0}function l(t){return new Promise(function(o,n){t.onload=function(){o(t.result)},t.onerror=function(){n(t.error)}})}function p(t){var o=new FileReader,n=l(o);return o.readAsArrayBuffer(t),n}function b(t){for(var o=new Uint8Array(t),n=new Array(o.length),s=0;s-1?s:n),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,('GET'===this.method||'HEAD'===this.method)&&f)throw new TypeError('Body not allowed for GET or HEAD requests');this._initBody(f)}function A(t){var o=new FormData;return t.trim().split('&').forEach(function(t){if(t){var n=t.split('='),s=n.shift().replace(/\+/g,' '),f=n.join('=').replace(/\+/g,' ');o.append(decodeURIComponent(s),decodeURIComponent(f))}}),o}function x(t,o){o||(o={}),this.type='default',this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText='statusText'in o?o.statusText:'OK',this.headers=new c(o.headers),this.url=o.url||'',this._initBody(t)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},v.call(_.prototype),v.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},x.error=function(){var t=new x(null,{status:0,statusText:''});return t.type='error',t};var B=[301,302,303,307,308];x.redirect=function(t,o){if(-1===B.indexOf(o))throw new RangeError('Invalid status code');return new x(null,{status:o,headers:{location:t}})},t.DOMException=self.DOMException;try{new t.DOMException}catch(o){t.DOMException=function(t,o){this.message=t,this.name=o;var n=Error(t);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function T(n,s){return new Promise(function(f,h){var u=new _(n,s);if(u.signal&&u.signal.aborted)return h(new t.DOMException('Aborted','AbortError'));var y=new XMLHttpRequest;function l(){y.abort()}y.onload=function(){var t,o,n={status:y.status,statusText:y.statusText,headers:(t=y.getAllResponseHeaders()||'',o=new c,t.replace(/\r?\n[\t ]+/g,' ').split(/\r?\n/).forEach(function(t){var n=t.split(':'),s=n.shift().trim();if(s){var f=n.join(':').trim();o.append(s,f)}}),o)};n.url='responseURL'in y?y.responseURL:n.headers.get('X-Request-URL');var s='response'in y?y.response:y.responseText;f(new x(s,n))},y.onerror=function(){h(new TypeError('Network request failed'))},y.ontimeout=function(){h(new TypeError('Network request failed'))},y.onabort=function(){h(new t.DOMException('Aborted','AbortError'))},y.open(u.method,u.url,!0),'include'===u.credentials?y.withCredentials=!0:'omit'===u.credentials&&(y.withCredentials=!1),'responseType'in y&&o.blob&&(y.responseType='blob'),u.headers.forEach(function(t,o){y.setRequestHeader(o,t)}),u.signal&&(u.signal.addEventListener('abort',l),y.onreadystatechange=function(){4===y.readyState&&u.signal.removeEventListener('abort',l)}),y.send(void 0===u._bodyInit?null:u._bodyInit)})}T.polyfill=!0,self.fetch||(self.fetch=T,self.Headers=c,self.Request=_,self.Response=x),t.Headers=c,t.Request=_,t.Response=x,t.fetch=T,Object.defineProperty(t,'__esModule',{value:!0})},'object'==typeof e&&void 0!==m?o(e):'function'==typeof define&&define.amd?define(['exports'],o):o(t.WHATWGFetch={})},127,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=t(r(d[1])),o=t(r(d[2])),n=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),l=t(r(d[6])),f=t(r(d[7])),h=r(d[8]),b=r(d[9]),y=r(d[10]),p=r(d[11]),v=(r(d[12]),r(d[13])),_=r(d[14]),E=r(d[15]),k=r(d[16]),I=0,S=1,N=2,w=3,O=0,C=(function(t){function y(t,n,l){var h;(0,o.default)(this,y),(h=(0,c.default)(this,(0,u.default)(y).call(this))).CONNECTING=I,h.OPEN=S,h.CLOSING=N,h.CLOSED=w,h.readyState=I,'string'==typeof n&&(n=[n]);var b=l||{},v=b.headers,_=void 0===v?{}:v,E=(0,s.default)(b,["headers"]);return E&&'string'==typeof E.origin&&(console.warn('Specifying `origin` as a WebSocket connection option is deprecated. Include it under `headers` instead.'),_.origin=E.origin,delete E.origin),Object.keys(E).length>0&&console.warn('Unrecognized WebSocket connection option(s) `'+Object.keys(E).join('`, `')+"`. Did you mean to put these under `headers`?"),Array.isArray(n)||(n=null),h._eventEmitter=new p(f.default),h._socketId=O++,h._registerEvents(),f.default.connect(t,n,{headers:_},h._socketId),h}return(0,l.default)(y,t),(0,n.default)(y,[{key:"close",value:function(t,s){this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.readyState=this.CLOSING,this._close(t,s))}},{key:"send",value:function(t){if(this.readyState===this.CONNECTING)throw new Error('INVALID_STATE_ERR');if(t instanceof h)return k(b.isAvailable,'Native module BlobModule is required for blob support'),void b.sendOverSocket(t,this._socketId);if('string'!=typeof t){if(!(t instanceof ArrayBuffer||ArrayBuffer.isView(t)))throw new Error('Unsupported data type');f.default.sendBinary(E(t),this._socketId)}else f.default.send(t,this._socketId)}},{key:"ping",value:function(){if(this.readyState===this.CONNECTING)throw new Error('INVALID_STATE_ERR');f.default.ping(this._socketId)}},{key:"_close",value:function(t,s){var o='number'==typeof t?t:1e3,n='string'==typeof s?s:'';f.default.close(o,n,this._socketId),b.isAvailable&&'blob'===this._binaryType&&b.removeWebSocketHandler(this._socketId)}},{key:"_unregisterEvents",value:function(){this._subscriptions.forEach(function(t){return t.remove()}),this._subscriptions=[]}},{key:"_registerEvents",value:function(){var t=this;this._subscriptions=[this._eventEmitter.addListener('websocketMessage',function(s){if(s.id===t._socketId){var o=s.data;switch(s.type){case'binary':o=_.toByteArray(s.data).buffer;break;case'blob':o=b.createFromOptions(s.data)}t.dispatchEvent(new v('message',{data:o}))}}),this._eventEmitter.addListener('websocketOpen',function(s){s.id===t._socketId&&(t.readyState=t.OPEN,t.protocol=s.protocol,t.dispatchEvent(new v('open')))}),this._eventEmitter.addListener('websocketClosed',function(s){s.id===t._socketId&&(t.readyState=t.CLOSED,t.dispatchEvent(new v('close',{code:s.code,reason:s.reason})),t._unregisterEvents(),t.close())}),this._eventEmitter.addListener('websocketFailed',function(s){s.id===t._socketId&&(t.readyState=t.CLOSED,t.dispatchEvent(new v('error',{message:s.message})),t.dispatchEvent(new v('close',{message:s.message})),t._unregisterEvents(),t.close())})]}},{key:"binaryType",get:function(){return this._binaryType},set:function(t){if('blob'!==t&&'arraybuffer'!==t)throw new Error("binaryType must be either 'blob' or 'arraybuffer'");'blob'!==this._binaryType&&'blob'!==t||(k(b.isAvailable,'Native module BlobModule is required for blob support'),'blob'===t?b.addWebSocketHandler(this._socketId):b.removeWebSocketHandler(this._socketId)),this._binaryType=t}}]),y})(y.apply(void 0,['close','error','message','open']));C.CONNECTING=I,C.OPEN=S,C.CLOSING=N,C.CLOSED=w,m.exports=C},128,[3,56,4,5,6,8,9,129,116,114,118,121,52,130,124,123,17]); -__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 o=t(r(d[1])).getEnforcing('WebSocketModule');e.default=o},129,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]);m.exports=function n(o,c){s(this,n),this.type=o.toString(),t(this,c)}},130,[11,4]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),u=r(d[3]),l=r(d[4]),o=r(d[5]),c=r(d[6]),h=(function(h){function f(n,l,o){var h;return t(this,f),c(null!=n&&null!=l,'Failed to construct `File`: Must pass both `parts` and `name` arguments.'),(h=s(this,u(f).call(this,n,o))).data.name=l,h}return l(f,o),n(f,[{key:"name",get:function(){return c(null!=this.data.name,'Files must have a name set.'),this.data.name}},{key:"lastModified",get:function(){return this.data.lastModified||0}}]),f})();m.exports=h},131,[4,5,6,8,9,116,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),h=t(r(d[5])),_=t(r(d[6])),l=(r(d[7]),0),c=1,y=2,f=(function(t){function f(){var t;return(0,s.default)(this,f),(t=(0,o.default)(this,(0,u.default)(f).call(this))).EMPTY=l,t.LOADING=c,t.DONE=y,t._aborted=!1,t._subscriptions=[],t._reset(),t}return(0,h.default)(f,t),(0,n.default)(f,[{key:"_reset",value:function(){this._readyState=l,this._error=null,this._result=null}},{key:"_clearSubscriptions",value:function(){this._subscriptions.forEach(function(t){return t.remove()}),this._subscriptions=[]}},{key:"_setReadyState",value:function(t){this._readyState=t,this.dispatchEvent({type:'readystatechange'}),t===y&&(this._aborted?this.dispatchEvent({type:'abort'}):this._error?this.dispatchEvent({type:'error'}):this.dispatchEvent({type:'load'}),this.dispatchEvent({type:'loadend'}))}},{key:"readAsArrayBuffer",value:function(){throw new Error('FileReader.readAsArrayBuffer is not implemented')}},{key:"readAsDataURL",value:function(t){var s=this;this._aborted=!1,_.default.readAsDataURL(t.data).then(function(t){s._aborted||(s._result=t,s._setReadyState(y))},function(t){s._aborted||(s._error=t,s._setReadyState(y))})}},{key:"readAsText",value:function(t){var s=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'UTF-8';this._aborted=!1,_.default.readAsText(t.data,n).then(function(t){s._aborted||(s._result=t,s._setReadyState(y))},function(t){s._aborted||(s._error=t,s._setReadyState(y))})}},{key:"abort",value:function(){this._aborted=!0,this._readyState!==l&&this._readyState!==y&&(this._reset(),this._setReadyState(y)),this._reset()}},{key:"readyState",get:function(){return this._readyState}},{key:"error",get:function(){return this._error}},{key:"result",get:function(){return this._result}}]),f})(r(d[8]).apply(void 0,['abort','error','load','loadstart','loadend','progress']));f.EMPTY=l,f.LOADING=c,f.DONE=y,m.exports=f},132,[3,4,5,6,8,9,133,116,118]); -__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 u=t(r(d[1])).getEnforcing('FileReaderModule');e.default=u},133,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.URLSearchParams=void 0;var n,o=t(r(d[1])),u=t(r(d[2])),s=t(r(d[3])),f=(r(d[4]),null);if(s.default&&'string'==typeof s.default.getConstants().BLOB_URI_SCHEME){var l=s.default.getConstants();f=l.BLOB_URI_SCHEME+':','string'==typeof l.BLOB_URI_HOST&&(f+="//"+l.BLOB_URI_HOST+"/")}n=Symbol.iterator;var h=(function(){function t(n){var u=this;(0,o.default)(this,t),this._searchParams=[],'object'==typeof n&&Object.keys(n).forEach(function(t){return u.append(t,n[t])})}return(0,u.default)(t,[{key:"append",value:function(t,n){this._searchParams.push([t,n])}},{key:"delete",value:function(t){throw new Error('not implemented')}},{key:"get",value:function(t){throw new Error('not implemented')}},{key:"getAll",value:function(t){throw new Error('not implemented')}},{key:"has",value:function(t){throw new Error('not implemented')}},{key:"set",value:function(t,n){throw new Error('not implemented')}},{key:"sort",value:function(){throw new Error('not implemented')}},{key:n,value:function(){return this._searchParams["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()}},{key:"toString",value:function(){if(0===this._searchParams.length)return'';var t=this._searchParams.length-1;return this._searchParams.reduce(function(n,o,u){return n+o.join('=')+(u===t?'':'&')},'')}}]),t})();function c(t){return/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)}e.URLSearchParams=h;var w=(function(){function t(n,u){(0,o.default)(this,t),this._searchParamsInstance=null;var s=null;if(!u||c(n))this._url=n,this._url.endsWith('/')||(this._url+='/');else{if('string'==typeof u){if(!c(s=u))throw new TypeError("Invalid base URL: "+s)}else'object'==typeof u&&(s=u.toString());s.endsWith('/')&&n.startsWith('/')&&(s=s.slice(0,s.length-1)),s.endsWith(n)&&(n=''),this._url=""+s+n}}return(0,u.default)(t,null,[{key:"createObjectURL",value:function(t){if(null===f)throw new Error('Cannot create URL for blob!');return""+f+t.data.blobId+"?offset="+t.data.offset+"&size="+t.size}},{key:"revokeObjectURL",value:function(t){}}]),(0,u.default)(t,[{key:"toJSON",value:function(){return this.toString()}},{key:"toString",value:function(){if(null===this._searchParamsInstance)return this._url;var t=this._url.indexOf('?')>-1?'&':'?';return this._url+t+this._searchParamsInstance.toString()}},{key:"hash",get:function(){throw new Error('not implemented')}},{key:"host",get:function(){throw new Error('not implemented')}},{key:"hostname",get:function(){throw new Error('not implemented')}},{key:"href",get:function(){return this.toString()}},{key:"origin",get:function(){throw new Error('not implemented')}},{key:"password",get:function(){throw new Error('not implemented')}},{key:"pathname",get:function(){throw new Error('not implemented')}},{key:"port",get:function(){throw new Error('not implemented')}},{key:"protocol",get:function(){throw new Error('not implemented')}},{key:"search",get:function(){throw new Error('not implemented')}},{key:"searchParams",get:function(){return null==this._searchParamsInstance&&(this._searchParamsInstance=new h),this._searchParamsInstance}},{key:"username",get:function(){throw new Error('not implemented')}}]),t})();e.URL=w},134,[3,4,5,115,116]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),l=r(d[3]),b=r(d[4]);Object.defineProperty(e,'__esModule',{value:!0});var u=r(d[5]),p=(function(u){function p(){throw t(this,p),n(this,l(p).call(this)),new TypeError("AbortSignal cannot be constructed directly")}return b(p,u),o(p,[{key:"aborted",get:function(){var t=y.get(this);if("boolean"!=typeof t)throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got "+(null===this?"null":typeof this));return t}}]),p})(u.EventTarget);u.defineEventAttribute(p.prototype,"abort");var y=new WeakMap;Object.defineProperties(p.prototype,{aborted:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag")&&Object.defineProperty(p.prototype,"function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag",{configurable:!0,value:"AbortSignal"});var f=(function(){function n(){var o;t(this,n),c.set(this,(o=Object.create(p.prototype),u.EventTarget.call(o),y.set(o,!1),o))}return o(n,[{key:"abort",value:function(){var t;t=s(this),!1===y.get(t)&&(y.set(t,!0),t.dispatchEvent({type:"abort"}))}},{key:"signal",get:function(){return s(this)}}]),n})(),c=new WeakMap;function s(t){var o=c.get(t);if(null==o)throw new TypeError("Expected 'this' to be an 'AbortController' object, but got "+(null===t?"null":typeof t));return o}Object.defineProperties(f.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag")&&Object.defineProperty(f.prototype,"function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag",{configurable:!0,value:"AbortController"}),e.AbortController=f,e.AbortSignal=p,e.default=f,m.exports=f,m.exports.AbortController=m.exports.default=f,m.exports.AbortSignal=p},135,[4,5,6,8,9,118]); -__d(function(g,r,i,a,m,e,d){'use strict';g.alert||(g.alert=function(t){r(d[0]).alert('Alert',''+t)})},136,[137]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=(function(){function t(){(0,n.default)(this,t)}return(0,o.default)(t,null,[{key:"alert",value:function(n,o,u,c){if('ios'===l.default.OS)t.prompt(n,o,u,'default');else if('android'===l.default.OS){if(!s.default)return;var f=s.default.getConstants(),p={title:n||'',message:o||'',cancelable:!1};c&&c.cancelable&&(p.cancelable=c.cancelable);var v=u?u.slice(0,3):[{text:"OK"}],y=v.pop(),b=v.pop(),h=v.pop();h&&(p.buttonNeutral=h.text||''),b&&(p.buttonNegative=b.text||''),y&&(p.buttonPositive=y.text||"OK");s.default.showAlert(p,function(t){return console.warn(t)},function(t,n){t===f.buttonClicked?n===f.buttonNeutral?h.onPress&&h.onPress():n===f.buttonNegative?b.onPress&&b.onPress():n===f.buttonPositive&&y.onPress&&y.onPress():t===f.dismissed&&c&&c.onDismiss&&c.onDismiss()})}}},{key:"prompt",value:function(t,n,o){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'plain-text',c=arguments.length>4?arguments[4]:void 0,f=arguments.length>5?arguments[5]:void 0;if('ios'===l.default.OS){if('function'==typeof s){console.warn("You passed a callback function as the \"type\" argument to Alert.prompt(). React Native is assuming you want to use the deprecated Alert.prompt(title, defaultValue, buttons, callback) signature. The current signature is Alert.prompt(title, message, callbackOrButtons, type, defaultValue, keyboardType) and the old syntax will be removed in a future version.");var p=s;return void u.default.alertWithArgs({title:t||'',type:'plain-text',defaultValue:n||''},function(t,n){p(n)})}var v,y,b=[],h=[];'function'==typeof o?b=[o]:Array.isArray(o)&&o.forEach(function(t,n){if(b[n]=t.onPress,'cancel'===t.style?v=String(n):'destructive'===t.style&&(y=String(n)),t.text||n<(o||[]).length-1){var l={};l[n]=t.text||'',h.push(l)}}),u.default.alertWithArgs({title:t||'',message:n||void 0,buttons:h,type:s||void 0,defaultValue:c,cancelButtonKey:v,destructiveButtonKey:y,keyboardType:f},function(t,n){var o=b[t];o&&o(n)})}}}]),t})();m.exports=c},137,[3,4,5,52,138,139]); -__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 o=t(r(d[1])).get('DialogManagerAndroid');e.default=o},138,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1]));function n(){}m.exports={alertWithArgs:function(u,f){t.default&&t.default.showAlert(u,n,f||n)}}},139,[3,138]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).polyfillObjectProperty,o=g.navigator;void 0===o&&(g.navigator=o={}),t(o,'product',function(){return'ReactNative'})},140,[98]); -__d(function(g,r,i,a,m,e,d){'use strict';if(!g.RN$Bridgeless){var l=r(d[0]);l.registerLazyCallableModule('Systrace',function(){return r(d[1])}),l.registerLazyCallableModule('JSTimers',function(){return r(d[2])}),l.registerLazyCallableModule('HeapCapture',function(){return r(d[3])}),l.registerLazyCallableModule('SamplingProfiler',function(){return r(d[4])}),l.registerLazyCallableModule('RCTLog',function(){return r(d[5])}),l.registerLazyCallableModule('RCTDeviceEventEmitter',function(){return r(d[6])}),l.registerLazyCallableModule('RCTNativeAppEventEmitter',function(){return r(d[7])}),l.registerLazyCallableModule('GlobalPerformanceLogger',function(){return r(d[8])}),l.registerLazyCallableModule('JSDevSupportModule',function(){return r(d[9])}),l.registerCallableModule('HMRClient',r(d[10]))}},141,[29,36,107,142,144,146,40,147,148,151,153]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1])),p={captureHeap:function(p){var u=null;try{g.nativeCaptureHeap(p),console.log('HeapCapture.captureHeap succeeded: '+p)}catch(t){console.log('HeapCapture.captureHeap error: '+t.toString()),u=t.toString()}t.default&&t.default.captureComplete(p,u)}};m.exports=p},142,[3,143]); -__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 u=t(r(d[1])).get('HeapCapture');e.default=u},143,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var o={poke:function(o){var l=null,n=null;try{null===(n=g.pokeSamplingProfiler())?console.log('The JSC Sampling Profiler has started'):console.log('The JSC Sampling Profiler has stopped')}catch(o){console.log('Error occurred when restarting Sampling Profiler: '+o.toString()),l=o.toString()}var t=r(d[0]).default;t&&t.operationComplete(o,n,l)}};m.exports=o},144,[145]); -__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 l=t(r(d[1])).get('JSCSamplingProfiler');e.default=l},145,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),n={log:'log',info:'info',warn:'warn',error:'error',fatal:'error'},l=null,t={logIfNoNativeHook:function(o){for(var n=arguments.length,f=new Array(n>1?n-1:0),c=1;c1?c-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:-1;if(0===o)return!0;if(n===f)return!1;if('function'==typeof n&&'function'==typeof f)return!1;if('object'!=typeof n||null===n)return n!==f;if('object'!=typeof f||null===f)return!0;if(n.constructor!==f.constructor)return!0;if(Array.isArray(n)){var u=n.length;if(f.length!==u)return!0;for(var c=0;c=C},u=function(){},e.unstable_forceFrameRate=function(n){0>n||125(F=lc){if(s=f,null===E)E=o.next=o.previous=o;else{u=null;var p=E;do{if(s1&&(o[u]=c)}else o[u]=f}for(var l in n)f.includes(l)||(u?n.hasOwnProperty(l)&&c(n[l],u[l],l):o[l]={});return o},e.getConfigWithoutViewProps=function(t,f){if(!t[f])return{};return Object.keys(t[f]).filter(function(t){return!n.default[f][t]}).reduce(function(n,u){return n[u]=t[f][u],n},{})},e.stringifyViewConfig=function(t){return JSON.stringify(t,function(t,n){return'function'==typeof n?"\u0192 "+n.name:n},2)},e.default=void 0;var n=t(r(d[1])),f=(r(d[2]),['transform','hitSlop']);var u=function(t,n){};e.default=u},166,[3,167,170]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=t(r(d[1])),s=t(r(d[2]));function n(t,o){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),s.push.apply(s,n)}return s}function c(t){for(var s=1;s=s)return t[n];return t[t.length-1]||1}}]),c})();m.exports=c},175,[4,5,59,52,176,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t={.75:'ldpi',1:'mdpi',1.5:'hdpi',2:'xhdpi',3:'xxhdpi',4:'xxxhdpi'};function n(n){if(n.toString()in t)return t[n.toString()];throw new Error('no such scale '+n.toString())}var o=new Set(['gif','jpeg','jpg','png','svg','webp','xml']);function s(t){var n=t.httpServerLocation;return'/'===n[0]&&(n=n.substr(1)),n}m.exports={getAndroidAssetSuffix:n,getAndroidResourceFolderName:function(s,u){if(!o.has(s.type))return'raw';var c=n(u);if(!c)throw new Error("Don't know which android drawable suffix to use for scale: "+u+'\nAsset: '+JSON.stringify(s,null,'\t')+'\nPossible scales are:'+JSON.stringify(t,null,'\t'));return'drawable-'+c},getAndroidResourceIdentifier:function(t){return(s(t)+'/'+t.name).toLowerCase().replace(/\//g,'_').replace(/([^a-z0-9_])/g,'').replace(/^assets_/,'')},getBasePath:s}},176,[]); -__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 o=t(r(d[1])).getEnforcing('SourceCode');e.default=o},177,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]);m.exports=function(u){return n(u,function(){return t(u)})}},178,[179,170]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).ReactNativeViewConfigRegistry.register;m.exports=function(n,s){return t(n,s)}},179,[156]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t(r(d[1])),f=t(r(d[2])),u=r(d[3]),l=u.forwardRef(function(t,l){return u.createElement(f.default,(0,n.default)({},t,{ref:l}))});l.defaultProps={styleAttr:'Normal',indeterminate:!0,animating:!0},m.exports=l},180,[3,11,181,12]); -__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 u=(0,t(r(d[1])).default)('AndroidProgressBar');e.default=u},181,[3,182]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[1])),t=r(d[2]);var p=function(n,p){var f=p&&p.paperComponentName?p.paperComponentName:n;if(null!=p&&null!=p.paperComponentNameDeprecated)if(t.UIManager.getViewManagerConfig(n))f=n;else{if(null==p.paperComponentNameDeprecated||!t.UIManager.getViewManagerConfig(p.paperComponentNameDeprecated))throw new Error("Failed to find native component for either "+n+" or "+(p.paperComponentNameDeprecated||'(unknown)'));f=p.paperComponentNameDeprecated}return(0,o.default)(f)};e.default=p},182,[3,178,16]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),l=r(d[3]),u=r(d[4]),s=r(d[5]),f=r(d[6]),c=r(d[7]),h=r(d[8]),p=r(d[9]),v=r(d[10]),y=r(d[11]),b=r(d[12]),k=r(d[13]);function S(t,n){if(null==t||null==n)return!0;if(t.length!==n.length)return!0;for(var o=0;o must be a child of a '),h.createElement(W,{opacity:E(t),transform:D(t)},this.props.children)}}]),f})(h.Component);F.contextTypes={isInSurface:p.bool.isRequired};var M=(function(s){function f(){return t(this,f),o(this,l(f).apply(this,arguments))}return u(f,s),n(f,[{key:"render",value:function(){var t=this.props,n=[N(t.x,0),N(t.y,0),N(t.width,0),N(t.height,0)],o=b(t);return delete o.x,delete o.y,h.createElement(W,{clipping:n,opacity:E(t),transform:D(o)},this.props.children)}}]),f})(h.Component),P=0,X=1,Y=2,O=3;function q(t,n,o){var l=new s(t);n[o+0]=l.red/255,n[o+1]=l.green/255,n[o+2]=l.blue/255,n[o+3]=l.alpha}function j(t,n,o){var l=0;if('length'in t)for(;lT?(X-=M,Y-=b):f>0&&0!=T&&(X-=f/T*M,Y-=f/T*b),l=X*X+Y*Y,(f=(X=o-t)*M+(Y=u-n)*b)>T?(X-=M,Y-=b):f>0&&0!=T&&(X-=f/T*M,Y-=f/T*b),v=X*X+Y*Y,l<.01&&v<.01)this.onLine(t,n,p,c);else{if(isNaN(l)||isNaN(v))throw new Error('Bad input');var k=.5*(s+o),w=.5*(h+u),_=.5*(s+t),D=.5*(h+n),z=.5*(_+k),C=.5*(D+w),B=.5*(p+o),A=.5*(c+u),L=.5*(B+k),I=.5*(A+w),P=.5*(z+L),N=.5*(C+I);this.onBezierCurve(t,n,_,D,z,C,P,N),this.onBezierCurve(P,N,L,I,B,A,p,c)}},onArc:function(t,n,s,h,o,u,p,c,l,v,X,Y){var f=Y?Y*Math.PI/180:0,M=Math.cos(f),b=Math.sin(f),T=M*p,k=-b*c,w=b*p,_=M*c,D=v-l;D<0&&!X?D+=2*Math.PI:D>0&&X&&(D-=2*Math.PI);for(var z=Math.ceil(Math.abs(D/(Math.PI/2))),C=D/z,B=1.3333333333333333*Math.tan(C/4),A=Math.cos(l),L=Math.sin(l),I=0;Ithis.yy/this.xy?-1:1;return(this.xx<0?this.xy>=0:this.xy<0)&&(x=-x),this.rotate(t-180*Math.atan2(x*this.yx,x*this.xx)/Math.PI,s,h)},scaleTo:function(t,s){var h=Math.sqrt(this.xx*this.xx+this.yx*this.yx);return this.xx/=h,this.yx/=h,h=Math.sqrt(this.yy*this.yy+this.xy*this.xy),this.yy/=h,this.xy/=h,this.scale(t,s)},resizeTo:function(t,s){var h=this.width,x=this.height;return h&&x?this.scaleTo(t/h,s/x):this},inversePoint:function(t,s){var h=this.xx,x=this.yx,y=this.xy,n=this.yy,o=this.x,u=this.y,f=x*y-h*n;return 0==f?null:{x:(n*(o-t)+y*(s-u))/f,y:(h*(u-s)+x*(t-o))/f}},point:function(t,s){return{x:this.xx*t+this.xy*s+this.x,y:this.yx*t+this.yy*s+this.y}}})},188,[186]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function c(t,c){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);c&&(n=n.filter(function(c){return Object.getOwnPropertyDescriptor(t,c).enumerable})),s.push.apply(s,n)}return s}var s={pointerEvents:!0,accessible:!0,accessibilityActions:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityStates:!0,accessibilityState:!0,accessibilityHint:!0,importantForAccessibility:!0,nativeID:!0,testID:!0,renderToHardwareTextureAndroid:!0,shouldRasterizeIOS:!0,onLayout:!0,onAccessibilityAction:!0,onAccessibilityTap:!0,onMagicTap:!0,onAccessibilityEscape:!0,collapsable:!0,needsOffscreenAlphaCompositing:!0,style:r(d[1])},n={UIView:s,RCTView:(function(s){for(var n=1;n4?p-4:0),l=4;l5?b-5:0),k=5;k4?s-4:0),p=4;p0,s=R&&R.length>0;return!o&&s?R[0]:o?E[0]:t}),P=N({NOT_RESPONDER:null,RESPONDER_INACTIVE_PRESS_IN:null,RESPONDER_INACTIVE_PRESS_OUT:null,RESPONDER_ACTIVE_PRESS_IN:null,RESPONDER_ACTIVE_PRESS_OUT:null,RESPONDER_ACTIVE_LONG_PRESS_IN:null,RESPONDER_ACTIVE_LONG_PRESS_OUT:null,ERROR:null}),T={NOT_RESPONDER:!1,RESPONDER_INACTIVE_PRESS_IN:!1,RESPONDER_INACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_PRESS_IN:!1,RESPONDER_ACTIVE_PRESS_OUT:!1,RESPONDER_ACTIVE_LONG_PRESS_IN:!1,RESPONDER_ACTIVE_LONG_PRESS_OUT:!1,ERROR:!1},c=o({},T,{RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0}),D=o({},T,{RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),A=o({},T,{RESPONDER_ACTIVE_LONG_PRESS_IN:!0}),I=N({DELAY:null,RESPONDER_GRANT:null,RESPONDER_RELEASE:null,RESPONDER_TERMINATED:null,ENTER_PRESS_RECT:null,LEAVE_PRESS_RECT:null,LONG_PRESS_DETECTED:null}),b={NOT_RESPONDER:{DELAY:P.ERROR,RESPONDER_GRANT:P.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:P.ERROR,RESPONDER_TERMINATED:P.ERROR,ENTER_PRESS_RECT:P.ERROR,LEAVE_PRESS_RECT:P.ERROR,LONG_PRESS_DETECTED:P.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:P.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:P.ERROR,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:P.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:P.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:P.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:P.ERROR,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:P.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:P.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:P.ERROR,RESPONDER_GRANT:P.ERROR,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:P.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:P.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:P.ERROR,RESPONDER_GRANT:P.ERROR,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:P.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:P.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:P.ERROR,RESPONDER_GRANT:P.ERROR,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:P.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:P.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:P.ERROR,RESPONDER_GRANT:P.ERROR,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:P.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:P.ERROR},error:{DELAY:P.NOT_RESPONDER,RESPONDER_GRANT:P.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:P.NOT_RESPONDER,RESPONDER_TERMINATED:P.NOT_RESPONDER,ENTER_PRESS_RECT:P.NOT_RESPONDER,LEAVE_PRESS_RECT:P.NOT_RESPONDER,LONG_PRESS_DETECTED:P.NOT_RESPONDER}},p={componentDidMount:function(){_.isTV&&(this._tvEventHandler=new u,this._tvEventHandler.enable(this,function(t,E){var R=S.findNodeHandle(t);E.dispatchConfig={},R===E.tag&&('focus'===E.eventType?t.touchableHandleFocus(E):'blur'===E.eventType?t.touchableHandleBlur(E):'select'===E.eventType&&t.touchableHandlePress&&!t.props.disabled&&t.touchableHandlePress(E))}))},componentWillUnmount:function(){this._tvEventHandler&&(this._tvEventHandler.disable(),delete this._tvEventHandler),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(t){var E=t.currentTarget;t.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=P.NOT_RESPONDER,this.state.touchable.responderID=E,this._receiveSignal(I.RESPONDER_GRANT,t);var R=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(R=isNaN(R)?130:R)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,t),R):this._handleDelay(t);var o=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;o=isNaN(o)?370:o,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,t),o+R)},touchableHandleResponderRelease:function(t){this.pressInLocation=null,this._receiveSignal(I.RESPONDER_RELEASE,t)},touchableHandleResponderTerminate:function(t){this.pressInLocation=null,this._receiveSignal(I.RESPONDER_TERMINATED,t)},touchableHandleResponderMove:function(t){if(this.state.touchable.positionOnActivate){var E=this.state.touchable.positionOnActivate,R=this.state.touchable.dimensionsOnActivate,o=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},s=o.left,_=o.top,n=o.right,S=o.bottom,l=this.touchableGetHitSlop?this.touchableGetHitSlop():null;l&&(s+=l.left||0,_+=l.top||0,n+=l.right||0,S+=l.bottom||0);var u=O(t.nativeEvent),h=u&&u.pageX,N=u&&u.pageY;if(this.pressInLocation)this._getDistanceBetweenPoints(h,N,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout();if(h>E.left-s&&N>E.top-_&&h2?f-2:0),u=2;u=23}},mixins:[l.Mixin],getDefaultProps:function(){return{background:this.SelectableBackground()}},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){P(this.props)},UNSAFE_componentWillReceiveProps:function(t){P(t)},touchableHandleActivePressIn:function(t){this.props.onPressIn&&this.props.onPressIn(t),this._dispatchPressedStateChange(!0),this.pressInLocation&&this._dispatchHotspotUpdate(this.pressInLocation.locationX,this.pressInLocation.locationY)},touchableHandleActivePressOut:function(t){this.props.onPressOut&&this.props.onPressOut(t),this._dispatchPressedStateChange(!1)},touchableHandlePress:function(t){this.props.onPress&&this.props.onPress(t)},touchableHandleLongPress:function(t){this.props.onLongPress&&this.props.onLongPress(t)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||O},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn},touchableGetLongPressDelayMS:function(){return this.props.delayLongPress},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_handleResponderMove:function(t){this.touchableHandleResponderMove(t),this._dispatchHotspotUpdate(t.nativeEvent.locationX,t.nativeEvent.locationY)},_dispatchHotspotUpdate:function(t,s){b.dispatchViewManagerCommand(u.findNodeHandle(this),b.getViewManagerConfig('RCTView').Commands.hotspotUpdate,[t||0,s||0])},_dispatchPressedStateChange:function(t){b.dispatchViewManagerCommand(u.findNodeHandle(this),b.getViewManagerConfig('RCTView').Commands.setPressed,[t])},render:function(){var s,n=c.Children.only(this.props.children),p=n.props.children;l.TOUCH_TARGET_DEBUG&&n.type===f&&(Array.isArray(p)||(p=[p]),p.push(l.renderDebugView({color:'brown',hitSlop:this.props.hitSlop}))),this.props.useForeground&&!A.canUseNativeForeground()&&console.warn("Requested foreground ripple, but it is not available on this version of Android. Consider calling TouchableNativeFeedback.canUseNativeForeground() and using a different Touchable if the result is false.");var u=this.props.useForeground&&A.canUseNativeForeground()?'nativeForegroundAndroid':'nativeBackgroundAndroid',h=o({},n.props,(t(s={},u,this.props.background),t(s,"accessible",!1!==this.props.accessible),t(s,"accessibilityLabel",this.props.accessibilityLabel),t(s,"accessibilityRole",this.props.accessibilityRole),t(s,"accessibilityStates",this.props.accessibilityStates),t(s,"accessibilityState",this.props.accessibilityState),t(s,"accessibilityActions",this.props.accessibilityActions),t(s,"onAccessibilityAction",this.props.onAccessibilityAction),t(s,"children",p),t(s,"testID",this.props.testID),t(s,"onLayout",this.props.onLayout),t(s,"hitSlop",this.props.hitSlop),t(s,"isTVSelectable",!0),t(s,"nextFocusDown",this.props.nextFocusDown),t(s,"nextFocusForward",this.props.nextFocusForward),t(s,"nextFocusLeft",this.props.nextFocusLeft),t(s,"nextFocusRight",this.props.nextFocusRight),t(s,"nextFocusUp",this.props.nextFocusUp),t(s,"hasTVPreferredFocus",this.props.hasTVPreferredFocus),t(s,"focusable",!1!==this.props.focusable&&void 0!==this.props.onPress&&!this.props.disabled),t(s,"onClick",this.touchableHandlePress),t(s,"onStartShouldSetResponder",this.touchableHandleStartShouldSetResponder),t(s,"onResponderTerminationRequest",this.touchableHandleResponderTerminationRequest),t(s,"onResponderGrant",this.touchableHandleResponderGrant),t(s,"onResponderMove",this._handleResponderMove),t(s,"onResponderRelease",this.touchableHandleResponderRelease),t(s,"onResponderTerminate",this.touchableHandleResponderTerminate),s));return c.cloneElement(n,h)}});m.exports=A},209,[50,52,12,67,83,200,210,47,81,211,215,75]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function s(t,s){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);s&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,n)}return o}function o(o){for(var n=1;n=l.length)break;y=l[h++]}else{if((h=l.next()).done)break;y=h.value}var f=y;void 0!==this.props[f]&&(n[f]=this.props[f])}return c.cloneElement(t,o({},n,{accessible:!1!==this.props.accessible,focusable:!1!==this.props.focusable&&void 0!==this.props.onPress,onClick:this.touchableHandlePress,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,children:s}))}});m.exports=O},210,[50,196,12,67,200,81,211,215,216]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]);if(void 0===t)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var c=(new t.Component).updater;m.exports=o(t.Component,t.isValidElement,c)},211,[12,212]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s='mixins';m.exports=function(p,c,u){var l=[],E={mixins:'DEFINE_MANY',statics:'DEFINE_MANY',propTypes:'DEFINE_MANY',contextTypes:'DEFINE_MANY',childContextTypes:'DEFINE_MANY',getDefaultProps:'DEFINE_MANY_MERGED',getInitialState:'DEFINE_MANY_MERGED',getChildContext:'DEFINE_MANY_MERGED',render:'DEFINE_ONCE',componentWillMount:'DEFINE_MANY',componentDidMount:'DEFINE_MANY',componentWillReceiveProps:'DEFINE_MANY',shouldComponentUpdate:'DEFINE_ONCE',componentWillUpdate:'DEFINE_MANY',componentDidUpdate:'DEFINE_MANY',componentWillUnmount:'DEFINE_MANY',UNSAFE_componentWillMount:'DEFINE_MANY',UNSAFE_componentWillReceiveProps:'DEFINE_MANY',UNSAFE_componentWillUpdate:'DEFINE_MANY',updateComponent:'OVERRIDE_BASE'},f={getDerivedStateFromProps:'DEFINE_MANY_MERGED'},h={displayName:function(t,n){t.displayName=n},mixins:function(t,n){if(n)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{}).iterations;return j},event:function(t,n){return null},createAnimatedComponent:y,attachNativeEvent:f,forkEvent:s.forkEvent,unforkEvent:s.unforkEvent,Event:c,__PropsOnlyForTests:v}},219,[50,220,229,222,223,235,221,240,248]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),v=r(d[3]),o=r(d[4]),c=r(d[5]),_=r(d[3]).shouldUseNativeDriver;function l(t,n,_){var l=[];c(_[0]&&_[0].nativeEvent,'Native driven events only support animated values contained inside `nativeEvent`.'),(function t(n,v){if(n instanceof s)n.__makeNative(),l.push({nativeEventPath:v,animatedValueTag:n.__getNativeTag()});else if('object'==typeof n)for(var o in n)t(n[o],v.concat(o))})(_[0].nativeEvent,[]);var h=o.findNodeHandle(t);return l.forEach(function(t){v.API.addAnimatedEventToView(h,n,t)}),{detach:function(){l.forEach(function(t){v.API.removeAnimatedEventFromView(h,n,t.animatedValueTag)})}}}var h=(function(){function v(n){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,v),this._listeners=[],this._argMapping=n,s.listener&&this.__addListener(s.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=_(s)}return n(v,[{key:"__addListener",value:function(t){this._listeners.push(t)}},{key:"__removeListener",value:function(t){this._listeners=this._listeners.filter(function(n){return n!==t})}},{key:"__attach",value:function(t,n){c(this.__isNative,'Only native driven events need to be attached.'),this._attachedEvent=l(t,n,this._argMapping)}},{key:"__detach",value:function(t,n){c(this.__isNative,'Only native driven events need to be detached.'),this._attachedEvent&&this._attachedEvent.detach()}},{key:"__getHandler",value:function(){var t=this;return this.__isNative?this._callListeners:function(){for(var n=arguments.length,v=new Array(n),o=0;oo){if('identity'===f)return h;'clamp'===f&&(h=o)}return u===p?u:n===o?t<=n?u:p:(n===-1/0?h=-h:o===1/0?h-=n:h=(h-n)/(o-n),h=c(h),u===-1/0?h=-h:p===1/0?h+=u:h=h*(p-u)+u,h)}function O(t){var n=y(t);return null===n?t:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var j=/[+-]?(?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?/g;function k(t){var n=t.outputRange;_(n.length>=2,'Bad output range'),w(n=n.map(O));var o=n[0].match(j).map(function(){return[]});n.forEach(function(t){t.match(j).forEach(function(t,n){o[n].push(+t)})});var u,p=n[0].match(j).map(function(n,u){return R(h({},t,{outputRange:o[u]}))}),c='string'==typeof(u=n[0])&&u.startsWith('rgb');return function(t){var o=0;return n[0].replace(j,function(){var n=+p[o++](t);return c&&(n=o<4?Math.round(n):Math.round(1e3*n)/1e3),String(n)})}}function w(t){for(var n=t[0].replace(j,''),o=1;o=t);++o);return o-1}function D(t){_(t.length>=2,'inputRange must have at least 2 elements');for(var n=1;n=t[n-1],'inputRange must be monotonically non-decreasing '+t)}function C(t,n){_(n.length>=2,t+' must have at least 2 elements'),_(2!==n.length||n[0]!==-1/0||n[1]!==1/0,t+'cannot be ]-infinity;+infinity[ '+n)}var E=(function(l){function f(n,p){var c;return t(this,f),(c=o(this,u(f).call(this)))._parent=n,c._config=p,c._interpolation=R(p),c}return c(f,s),n(f,[{key:"__makeNative",value:function(){this._parent.__makeNative(),p(u(f.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){var t=this._parent.__getValue();return _('number'==typeof t,'Cannot interpolate an input which is not a number.'),this._interpolation(t)}},{key:"interpolate",value:function(t){return new f(this,t)}},{key:"__attach",value:function(){this._parent.__addChild(this)}},{key:"__detach",value:function(){this._parent.__removeChild(this),p(u(f.prototype),"__detach",this).call(this)}},{key:"__transformDataType",value:function(t){return t.map(v.transformDataType)}},{key:"__getNativeConfig",value:function(){return{inputRange:this._config.inputRange,outputRange:this.__transformDataType(this._config.outputRange),extrapolateLeft:this._config.extrapolateLeft||this._config.extrapolate||'extend',extrapolateRight:this._config.extrapolateRight||this._config.extrapolate||'extend',type:'interpolation'}}}]),f})();E.__createInterpolation=R,m.exports=E},222,[4,5,6,8,41,9,50,223,226,224,17,65]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),_=s.API,u=r(d[3]),o=1,v=(function(){function v(){t(this,v),this._listeners={}}return n(v,[{key:"__attach",value:function(){}},{key:"__detach",value:function(){this.__isNative&&null!=this.__nativeTag&&(s.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}},{key:"__getValue",value:function(){}},{key:"__getAnimatedValue",value:function(){return this.__getValue()}},{key:"__addChild",value:function(t){}},{key:"__removeChild",value:function(t){}},{key:"__getChildren",value:function(){return[]}}]),n(v,[{key:"__makeNative",value:function(){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node');this.hasListeners()&&this._startListeningToNativeValueUpdates()}},{key:"addListener",value:function(t){var n=String(o++);return this._listeners[n]=t,this.__isNative&&this._startListeningToNativeValueUpdates(),n}},{key:"removeListener",value:function(t){delete this._listeners[t],this.__isNative&&!this.hasListeners()&&this._stopListeningForNativeValueUpdates()}},{key:"removeAllListeners",value:function(){this._listeners={},this.__isNative&&this._stopListeningForNativeValueUpdates()}},{key:"hasListeners",value:function(){return!!Object.keys(this._listeners).length}},{key:"_startListeningToNativeValueUpdates",value:function(){var t=this;this.__nativeAnimatedValueListener&&!this.__shouldUpdateListenersForNewNativeTag||(this.__shouldUpdateListenersForNewNativeTag&&(this.__shouldUpdateListenersForNewNativeTag=!1,this._stopListeningForNativeValueUpdates()),_.startListeningToAnimatedNodeValue(this.__getNativeTag()),this.__nativeAnimatedValueListener=s.nativeEventEmitter.addListener('onAnimatedValueUpdate',function(n){n.tag===t.__getNativeTag()&&t._onAnimatedValueUpdateReceived(n.value)}))}},{key:"_onAnimatedValueUpdateReceived",value:function(t){this.__callListeners(t)}},{key:"__callListeners",value:function(t){for(var n in this._listeners)this._listeners[n]({value:t})}},{key:"_stopListeningForNativeValueUpdates",value:function(){this.__nativeAnimatedValueListener&&(this.__nativeAnimatedValueListener.remove(),this.__nativeAnimatedValueListener=null,_.stopListeningToAnimatedNodeValue(this.__getNativeTag()))}},{key:"__getNativeTag",value:function(){if(s.assertNativeAnimatedModule(),u(this.__isNative,'Attempt to get native tag from node not marked as "native"'),null==this.__nativeTag){var t=s.generateNewNodeTag();this.__nativeTag=t,s.API.createAnimatedNode(t,this.__getNativeConfig()),this.__shouldUpdateListenersForNewNativeTag=!0}return this.__nativeTag}},{key:"__getNativeConfig",value:function(){throw new Error('This JS animated node type cannot be used as native animated node')}},{key:"toJSON",value:function(){return this.__getValue()}}]),v})();m.exports=v},223,[4,5,224,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),o=n(r(d[1])),l=n(r(d[2])),u=n(r(d[3])),s=1,f=1,v=!1,c=[],N={enableQueue:function(){v=!0},disableQueue:function(){(0,u.default)(l.default,'Native animated module is not available'),v=!1;for(var t=0,n=c.length;t=t.length)break;l=t[n++]}else{if((n=t.next()).done)break;l=n.value}var o=l;o.__makeNative(),c.API.connectAnimatedNodes(this.__getNativeTag(),o.__getNativeTag())}}h(s(u.prototype),"__makeNative",this).call(this)}},{key:"__addChild",value:function(t){0===this._children.length&&this.__attach(),this._children.push(t),this.__isNative&&(t.__makeNative(),c.API.connectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag()))}},{key:"__removeChild",value:function(t){var _=this._children.indexOf(t);-1!==_?(this.__isNative&&t.__isNative&&c.API.disconnectAnimatedNodes(this.__getNativeTag(),t.__getNativeTag()),this._children.splice(_,1),0===this._children.length&&this.__detach()):console.warn("Trying to remove a child that doesn't exist")}},{key:"__getChildren",value:function(){return this._children}},{key:"__callListeners",value:function(t){if(h(s(u.prototype),"__callListeners",this).call(this,t),!this.__isNative){var _=this._children,n=Array.isArray(_),l=0;for(_=n?_:_["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var o;if(n){if(l>=_.length)break;o=_[l++]}else{if((l=_.next()).done)break;o=l.value}var c=o;c.__getValue&&c.__callListeners(c.__getValue())}}}}]),u})();m.exports=v},226,[4,5,6,8,41,9,223,224]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=(r(d[3]),r(d[4])),s=r(d[5]),u=new t,l={Events:s({interactionStart:!0,interactionComplete:!0}),runAfterInteractions:function(n){var t=[],o=new Promise(function(o){k(),n&&t.push(n),t.push({run:o,name:'resolve '+(n&&n.name||'?')}),h.enqueueTasks(t)});return{then:o.then.bind(o),done:function(){if(o.done)return o.done.apply(o,arguments);console.warn('Tried to call done when not supported by current Promise implementation.')},cancel:function(){h.cancelTasks(t)}}},createInteractionHandle:function(){k();var n=++T;return p.add(n),n},clearInteractionHandle:function(n){c(!!n,'InteractionManager: Must provide a handle to clear.'),k(),p.delete(n),v.add(n)},addListener:u.addListener.bind(u),setDeadline:function(n){E=n}},f=new Set,p=new Set,v=new Set,h=new o({onMoreTasks:k}),w=0,T=0,E=-1;function k(){w||(w=E>0?setTimeout(I,0):setImmediate(I))}function I(){w=0;var t=f.size;p.forEach(function(n){return f.add(n)}),v.forEach(function(n){return f.delete(n)});var o=f.size;if(0!==t&&0===o?u.emit(l.Events.interactionComplete):0===t&&0!==o&&u.emit(l.Events.interactionStart),0===o)for(;h.hasTasksToProcess();)if(h.processNext(),E>0&&n.getEventLoopRunningTime()>=E){k();break}p.clear(),v.clear()}m.exports=l},227,[29,43,228,150,17,206]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]);function s(t,n){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),u.push.apply(u,s)}return u}function o(n){for(var u=1;u0||0===n})}},{key:"hasTasksToProcess",value:function(){return this._getCurrentQueue().length>0}},{key:"processNext",value:function(){var t=this._getCurrentQueue();if(t.length){var n=t.shift();try{n.gen?this._genPromise(n):n.run?n.run():(c('function'==typeof n,'Expected Function, SimpleTask, or PromiseTask, but got:\n'+JSON.stringify(n,null,2)),n())}catch(t){throw t.message='TaskQueue: Error with task '+(n.name||'')+': '+t.message,t}}}},{key:"_getCurrentQueue",value:function(){var t=this._queueStack.length-1,n=this._queueStack[t];return n.popable&&0===n.tasks.length&&this._queueStack.length>1?(this._queueStack.pop(),this._getCurrentQueue()):n.tasks}},{key:"_genPromise",value:function(t){var n=this;this._queueStack.push({tasks:[],popable:!1});var u=this._queueStack.length-1;t.gen().then(function(){n._queueStack[u].popable=!0,n.hasTasksToProcess()&&n._onMoreTasks()}).catch(function(n){throw n.message="TaskQueue: Error resolving Promise in task "+t.name+": "+n.message,n}).done()}}]),t})();m.exports=h},228,[50,4,5,150,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function n(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function o(o){for(var u=1;u1&&void 0!==arguments[1]?arguments[1]:{},o=n.iterations,u=void 0===o?-1:o,s=n.resetBeforeIteration,c=void 0===s||s,f=!1,v=0;return{start:function(n){t&&0!==u?t._isUsingNativeDriver()?t._startNativeLoop(u):(function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{finished:!0};f||v===u||!1===s.finished?n&&n(s):(v++,c&&t.reset(),t.start(o))})():n&&n({finished:!0})},stop:function(){f=!0,t.stop()},reset:function(){v=0,f=!1,t.reset()},_startNativeLoop:function(){throw new Error('Loops run using the native driver cannot contain Animated.loop animations')},_isUsingNativeDriver:function(){return t._isUsingNativeDriver()}}},event:function(t,n){var o=new s(t,n);return o.__isNative?o:o.__getHandler()},createAnimatedComponent:A,attachNativeEvent:c,forkEvent:function(t,n){return t?t instanceof s?(t.__addListener(n),t):function(){'function'==typeof t&&t.apply(void 0,arguments),n.apply(void 0,arguments)}:n},unforkEvent:function(t,n){t&&t instanceof s&&t.__removeListener(n)},Event:s,__PropsOnlyForTests:y}},229,[50,220,230,231,232,222,233,234,223,235,238,239,221,240,241,243,245,248]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),_=r(d[1]),n=r(d[2]),h=r(d[3]),u=r(d[4]),s=r(d[5]),o=r(d[6]),l=(r(d[7]),r(d[8])),v=r(d[9]),c=(function(c){function f(_,u){var s;return t(this,f),(s=n(this,h(f).call(this)))._a='number'==typeof _?new l(_):_,s._b='number'==typeof u?new l(u):u,s}return s(f,v),_(f,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),u(h(f.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return this._a.__getValue()+this._b.__getValue()}},{key:"interpolate",value:function(t){return new o(this,t)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),u(h(f.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'addition',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),f})();m.exports=c},230,[4,5,6,8,41,9,222,223,221,226]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),_=r(d[1]),n=r(d[2]),u=r(d[3]),h=r(d[4]),s=r(d[5]),l=r(d[6]),v=(r(d[7]),r(d[8])),c=(function(c){function o(_,h,s){var l;return t(this,o),(l=n(this,u(o).call(this)))._a=_,l._min=h,l._max=s,l._value=l._lastValue=l._a.__getValue(),l}return s(o,v),_(o,[{key:"__makeNative",value:function(){this._a.__makeNative(),h(u(o.prototype),"__makeNative",this).call(this)}},{key:"interpolate",value:function(t){return new l(this,t)}},{key:"__getValue",value:function(){var t=this._a.__getValue(),_=t-this._lastValue;return this._lastValue=t,this._value=Math.min(Math.max(this._value+_,this._min),this._max),this._value}},{key:"__attach",value:function(){this._a.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),h(u(o.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'diffclamp',input:this._a.__getNativeTag(),min:this._min,max:this._max}}}]),o})();m.exports=c},231,[4,5,6,8,41,9,222,223,226]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),_=r(d[1]),n=r(d[2]),h=r(d[3]),s=r(d[4]),o=r(d[5]),u=r(d[6]),l=(r(d[7]),r(d[8])),v=r(d[9]),c=(function(c){function f(_,s){var o;return t(this,f),(o=n(this,h(f).call(this)))._a='number'==typeof _?new l(_):_,o._b='number'==typeof s?new l(s):s,o}return o(f,v),_(f,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),s(h(f.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){var t=this._a.__getValue(),_=this._b.__getValue();return 0===_&&console.error('Detected division by zero in AnimatedDivision'),t/_}},{key:"interpolate",value:function(t){return new u(this,t)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),s(h(f.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'division',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),f})();m.exports=c},232,[4,5,6,8,41,9,222,223,221,226]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),u=r(d[1]),_=r(d[2]),s=r(d[3]),n=r(d[4]),h=r(d[5]),l=r(d[6]),o=(r(d[7]),r(d[8])),c=(function(c){function v(u,n){var h;return t(this,v),(h=_(this,s(v).call(this)))._a=u,h._modulus=n,h}return h(v,o),u(v,[{key:"__makeNative",value:function(){this._a.__makeNative(),n(s(v.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus}},{key:"interpolate",value:function(t){return new l(this,t)}},{key:"__attach",value:function(){this._a.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),n(s(v.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'modulus',input:this._a.__getNativeTag(),modulus:this._modulus}}}]),v})();m.exports=c},233,[4,5,6,8,41,9,222,223,226]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),_=r(d[1]),n=r(d[2]),h=r(d[3]),u=r(d[4]),s=r(d[5]),l=r(d[6]),o=(r(d[7]),r(d[8])),c=r(d[9]),v=(function(v){function f(_,u){var s;return t(this,f),(s=n(this,h(f).call(this)))._a='number'==typeof _?new o(_):_,s._b='number'==typeof u?new o(u):u,s}return s(f,c),_(f,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),u(h(f.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return this._a.__getValue()*this._b.__getValue()}},{key:"interpolate",value:function(t){return new l(this,t)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),u(h(f.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'multiplication',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),f})();m.exports=v},234,[4,5,6,8,41,9,222,223,221,226]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),_=r(d[4]),c=r(d[5]),v=r(d[6]);function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function h(n){for(var o=1;o0,'Stiffness value must be greater than 0'),v(M._damping>0,'Damping value must be greater than 0'),v(M._mass>0,'Mass value must be greater than 0'),M}return h(p,_),s(p,[{key:"__getNativeAnimationConfig",value:function(){var t;return{type:'spring',overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:null!==(t=this._initialVelocity)&&void 0!==t?t:this._lastVelocity,toValue:this._toValue,iterations:this.__iterations}}},{key:"start",value:function(t,s,n,o,l){var h=this;if(this.__active=!0,this._startPosition=t,this._lastPosition=this._startPosition,this._onUpdate=s,this.__onEnd=n,this._lastTime=Date.now(),this._frameTime=0,o instanceof p){var _=o.getInternalState();this._lastPosition=_.lastPosition,this._lastVelocity=_.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=_.lastTime}var u=function(){h._useNativeDriver?h.__startNativeAnimation(l):h.onUpdate()};this._delay?this._timeout=setTimeout(u,this._delay):u()}},{key:"getInternalState",value:function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}},{key:"onUpdate",value:function(){var t=Date.now();t>this._lastTime+64&&(t=this._lastTime+64);var s=(t-this._lastTime)/1e3;this._frameTime+=s;var n=this._damping,o=this._mass,l=this._stiffness,h=-this._initialVelocity,_=n/(2*Math.sqrt(l*o)),u=Math.sqrt(l/o),v=u*Math.sqrt(1-_*_),f=this._toValue-this._startPosition,c=0,p=0,y=this._frameTime;if(_<1){var V=Math.exp(-_*u*y);c=this._toValue-V*((h+_*u*f)/v*Math.sin(v*y)+f*Math.cos(v*y)),p=_*u*V*(Math.sin(v*y)*(h+_*u*f)/v+f*Math.cos(v*y))-V*(Math.cos(v*y)*(h+_*u*f)-v*f*Math.sin(v*y))}else{var T=Math.exp(-u*y);c=this._toValue-T*(f+(h+u*f)*y),p=T*(h*(y*u-1)+y*f*(u*u))}if(this._lastTime=t,this._lastPosition=c,this._lastVelocity=p,this._onUpdate(c),this.__active){var b=!1;this._overshootClamping&&0!==this._stiffness&&(b=this._startPositionthis._toValue:c18&&A<=44?p(A):h(A),s(2*M-M*M,v,.01));return{stiffness:n(x),damping:t(B)}}}},244,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),s=r(d[1]),o=r(d[2]),_=r(d[3]),u=r(d[4]),h=r(d[5]),l=(r(d[6]),r(d[7]),r(d[8])),v=r(d[9]).shouldUseNativeDriver;function c(){if(!t){var n=r(d[10]);t=n.inOut(n.ease)}return t}var f=(function(t){function f(t){var s,u,h,l,p,V;return n(this,f),(V=o(this,_(f).call(this)))._toValue=t.toValue,V._easing=null!==(s=t.easing)&&void 0!==s?s:c(),V._duration=null!==(u=t.duration)&&void 0!==u?u:500,V._delay=null!==(h=t.delay)&&void 0!==h?h:0,V.__iterations=null!==(l=t.iterations)&&void 0!==l?l:1,V._useNativeDriver=v(t),V.__isInteraction=null!==(p=t.isInteraction)&&void 0!==p?p:!V._useNativeDriver,V}return h(f,l),s(f,[{key:"__getNativeAnimationConfig",value:function(){for(var t=[],n=Math.round(this._duration/16.666666666666668),s=0;s=this._startTime+this._duration)return 0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0});this._onUpdate(this._fromValue+this._easing((t-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this)))}},{key:"stop",value:function(){u(_(f.prototype),"stop",this).call(this),this.__active=!1,clearTimeout(this._timeout),g.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),f})();m.exports=f},245,[4,5,6,8,41,9,221,240,242,224,246]); -__d(function(g,r,i,a,m,e,d){'use strict';var n,u=r(d[0]),t=r(d[1]),o=(function(){function o(){u(this,o)}return t(o,null,[{key:"step0",value:function(n){return n>0?1:0}},{key:"step1",value:function(n){return n>=1?1:0}},{key:"linear",value:function(n){return n}},{key:"ease",value:function(u){return n||(n=o.bezier(.42,0,1,1)),n(u)}},{key:"quad",value:function(n){return n*n}},{key:"cubic",value:function(n){return n*n*n}},{key:"poly",value:function(n){return function(u){return Math.pow(u,n)}}},{key:"sin",value:function(n){return 1-Math.cos(n*Math.PI/2)}},{key:"circle",value:function(n){return 1-Math.sqrt(1-n*n)}},{key:"exp",value:function(n){return Math.pow(2,10*(n-1))}},{key:"elastic",value:function(){var n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return function(u){return 1-Math.pow(Math.cos(u*Math.PI/2),3)*Math.cos(u*n)}}},{key:"back",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.70158;return function(u){return u*u*((n+1)*u-n)}}},{key:"bounce",value:function(n){if(n<.36363636363636365)return 7.5625*n*n;if(n<.7272727272727273){var u=n-.5454545454545454;return 7.5625*u*u+.75}if(n<.9090909090909091){var t=n-.8181818181818182;return 7.5625*t*t+.9375}var o=n-.9545454545454546;return 7.5625*o*o+.984375}},{key:"bezier",value:function(n,u,t,o){return r(d[2])(n,u,t,o)}},{key:"in",value:function(n){return n}},{key:"out",value:function(n){return function(u){return 1-n(1-u)}}},{key:"inOut",value:function(n){return function(u){return u<.5?n(2*u)/2:1-n(2*(1-u))/2}}}]),o})();m.exports=o},246,[4,5,247]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=4,t=.001,u=1e-7,o=10,f=.1,c='function'==typeof Float32Array;function v(n,t){return 1-3*t+3*n}function s(n,t){return 3*t-6*n}function w(n){return 3*n}function l(n,t,u){return((v(t,u)*n+s(t,u))*n+w(t))*n}function y(n,t,u){return 3*v(t,u)*n*n+2*s(t,u)*n+w(t)}function b(n,t,f,c,v){var s,w,y=0,b=t,h=f;do{(s=l(w=b+(h-b)/2,c,v)-n)>0?h=w:b=w}while(Math.abs(s)>u&&++y=0&&n<=1&&o>=0&&o<=1))throw new Error('bezier x values must be in [0, 1] range');var s=c?new Float32Array(11):new Array(11);if(n!==u||o!==v)for(var w=0;w<11;++w)s[w]=l(w*f,n,o);function A(u){for(var c=0,v=1;10!==v&&s[v]<=u;++v)c+=f;var w=c+(u-s[--v])/(s[v+1]-s[v])*f,l=y(w,n,o);return l>=t?h(u,w,n,o):0===l?w:b(u,c,c+f,n,o)}return function(t){return n===u&&o===v?t:0===t?0:1===t?1:l(A(t),u,v)}}},247,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),p=r(d[4]),c=r(d[5]),_=r(d[6]).AnimatedEvent,h=r(d[7]),l=r(d[8]),v=r(d[9]),u=r(d[10]);m.exports=function(f,N){u('function'!=typeof f||f.prototype&&f.prototype.isReactComponent,"`createAnimatedComponent` does not support stateless functional components; use a class component instead.");var k=(function(v){function u(t){var o;return n(this,u),(o=s(this,p(u).call(this,t)))._invokeAnimatedPropsCallbackOnMount=!1,o._eventDetachers=[],o._animatedPropsCallback=function(){if(null==o._component)o._invokeAnimatedPropsCallbackOnMount=!0;else if(u.__skipSetNativeProps_FOR_TESTS_ONLY||'function'!=typeof o._component.setNativeProps)o.forceUpdate();else{if(o._propsAnimated.__isNative)throw new Error("Attempting to run JS driven animation on animated node that has been moved to \"native\" earlier by starting an animation with `useNativeDriver: true`");o._component.setNativeProps(o._propsAnimated.__getAnimatedValue())}},o._setComponentRef=function(t){o._prevComponent=o._component,o._component=t},o}return c(u,v),o(u,[{key:"componentWillUnmount",value:function(){this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents()}},{key:"setNativeProps",value:function(t){this._component.setNativeProps(t)}},{key:"UNSAFE_componentWillMount",value:function(){this._attachProps(this.props)}},{key:"componentDidMount",value:function(){this._invokeAnimatedPropsCallbackOnMount&&(this._invokeAnimatedPropsCallbackOnMount=!1,this._animatedPropsCallback()),this._propsAnimated.setNativeView(this._component),this._attachNativeEvents()}},{key:"_attachNativeEvents",value:function(){var t,n=this,o=(null==(t=this._component)?void 0:t.getScrollableNode)?this._component.getScrollableNode():this._component,s=function(t){var s=n.props[t];s instanceof _&&s.__isNative&&(s.__attach(o,t),n._eventDetachers.push(function(){return s.__detach(o,t)}))};for(var p in this.props)s(p)}},{key:"_detachNativeEvents",value:function(){this._eventDetachers.forEach(function(t){return t()}),this._eventDetachers=[]}},{key:"_attachProps",value:function(t){var n=this._propsAnimated;this._propsAnimated=new h(t,this._animatedPropsCallback),n&&n.__detach()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){this._attachProps(t)}},{key:"componentDidUpdate",value:function(t){this._component!==this._prevComponent&&this._propsAnimated.setNativeView(this._component),this._component===this._prevComponent&&t===this.props||(this._detachNativeEvents(),this._attachNativeEvents())}},{key:"render",value:function(){var n=this._propsAnimated.__getValue();return l.createElement(f,t({},N,n,{ref:this._setComponentRef,collapsable:!this._propsAnimated.__isNative&&n.collapsable}))}},{key:"getNode",value:function(){return this._component}}]),u})(l.Component);k.__skipSetNativeProps_FOR_TESTS_ONLY=!1;var y=f.propTypes;return k.propTypes={style:function(t,n,o){if(y)for(var s in v)y[s]||void 0===t[s]||console.warn('You are setting the style `{ '+s+": ... }` as a prop. You should nest it in a style object. E.g. `{ style: { "+s+': ... } }`')}},k}},248,[11,4,5,6,8,9,220,235,12,74,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]);m.exports=o(t,{scrollEventThrottle:1e-4})},249,[250,248]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),u=r(d[5]),c=r(d[6]);function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function p(t){for(var n=1;n1){for(var s=[],u=0;u1?(w(Array.isArray(t),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",u),t.map(function(t,o){return s(t,n*u+o)}).join(':')):s(t,n)},l._renderer=function(){var t=l.props,n=t.ListItemComponent,o=t.renderItem,s=t.numColumns,u=t.columnWrapperStyle,f=function(t){return n?C.createElement(n,t):o?o(t):null};return c({},n?'ListItemComponent':'renderItem',function(t){if(s>1){var n=t.item,o=t.index;return w(Array.isArray(n),'Expected array of items with numColumns > 1'),C.createElement(y,{style:b.compose(k.row,u)},n.map(function(n,l){var u=f({item:n,index:o*s+l,separators:t.separators});return null!=u?C.createElement(C.Fragment,{key:l},u):null}))}return f(t)})},l._checkProps(l.props),l.props.viewabilityConfigCallbackPairs?l._virtualizedListPairs=l.props.viewabilityConfigCallbackPairs.map(function(t){return{viewabilityConfig:t.viewabilityConfig,onViewableItemsChanged:l._createOnViewableItemsChanged(t.onViewableItemsChanged)}}):l.props.onViewableItemsChanged&&l._virtualizedListPairs.push({viewabilityConfig:l.props.viewabilityConfig,onViewableItemsChanged:l._createOnViewableItemsChanged(l.props.onViewableItemsChanged)}),l}return u(_,f),l(_,[{key:"scrollToEnd",value:function(t){this._listRef&&this._listRef.scrollToEnd(t)}},{key:"scrollToIndex",value:function(t){this._listRef&&this._listRef.scrollToIndex(t)}},{key:"scrollToItem",value:function(t){this._listRef&&this._listRef.scrollToItem(t)}},{key:"scrollToOffset",value:function(t){this._listRef&&this._listRef.scrollToOffset(t)}},{key:"recordInteraction",value:function(){this._listRef&&this._listRef.recordInteraction()}},{key:"flashScrollIndicators",value:function(){this._listRef&&this._listRef.flashScrollIndicators()}},{key:"getScrollResponder",value:function(){if(this._listRef)return this._listRef.getScrollResponder()}},{key:"getScrollableNode",value:function(){if(this._listRef)return this._listRef.getScrollableNode()}},{key:"setNativeProps",value:function(t){this._listRef&&this._listRef.setNativeProps(t)}}]),l(_,[{key:"componentDidUpdate",value:function(t){w(t.numColumns===this.props.numColumns,"Changing numColumns on the fly is not supported. Change the key prop on FlatList when changing the number of columns to force a fresh render of the component."),w(t.onViewableItemsChanged===this.props.onViewableItemsChanged,'Changing onViewableItemsChanged on the fly is not supported'),w(!h(t.viewabilityConfig,this.props.viewabilityConfig),'Changing viewabilityConfig on the fly is not supported'),w(t.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,'Changing viewabilityConfigCallbackPairs on the fly is not supported'),this._checkProps(this.props)}},{key:"_checkProps",value:function(t){var n=t.getItem,o=t.getItemCount,s=t.horizontal,l=t.numColumns,u=t.columnWrapperStyle,c=t.onViewableItemsChanged,f=t.viewabilityConfigCallbackPairs;w(!n&&!o,'FlatList does not support custom data formats.'),l>1?w(!s,'numColumns does not support horizontal.'):w(!u,'columnWrapperStyle not supported for single column lists'),w(!(c&&f),"FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs.")}},{key:"_pushMultiColumnViewable",value:function(t,n){var o=this.props,s=o.numColumns,l=o.keyExtractor;n.item.forEach(function(o,u){w(null!=n.index,'Missing index!');var c=n.index*s+u;t.push(p({},n,{item:o,key:l(o,c),index:c}))})}},{key:"_createOnViewableItemsChanged",value:function(t){var n=this;return function(o){var s=n.props.numColumns;if(t)if(s>1){var l=[],u=[];o.viewableItems.forEach(function(t){return n._pushMultiColumnViewable(u,t)}),o.changed.forEach(function(t){return n._pushMultiColumnViewable(l,t)}),t({viewableItems:u,changed:l})}else t(o)}}},{key:"render",value:function(){return C.createElement(v,t({},this.props,{getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs},this._renderer()))}}]),_})(C.PureComponent);I.defaultProps=_;var k=b.create({row:{flexDirection:'row'}});m.exports=I},250,[11,4,6,8,5,9,50,52,160,12,81,251,58,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),l=r(d[4]),h=r(d[5]),c=r(d[6]),p=r(d[7]);function u(t,s){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);s&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,n)}return o}function f(t){for(var o=1;o0&&s>0&&null!=p.props.initialScrollIndex&&p.props.initialScrollIndex>0&&!p._hasDoneInitialScroll&&(p.scrollToIndex({animated:!1,index:p.props.initialScrollIndex}),p._hasDoneInitialScroll=!0),p.props.onContentSizeChange&&p.props.onContentSizeChange(t,s),p._scrollMetrics.contentLength=p._selectLength({height:s,width:t}),p._scheduleCellsToRenderUpdate(),p._maybeCallOnEndReached()},p._convertParentScrollMetrics=function(t){var s=t.offset-p._offsetFromParentVirtualizedList,o=t.visibleLength,n=s-p._scrollMetrics.offset;return{visibleLength:o,contentLength:p._scrollMetrics.contentLength,offset:s,dOffset:n}},p._onScroll=function(t){p._nestedChildLists.forEach(function(s){s.ref&&s.ref._onScroll(t)}),p.props.onScroll&&p.props.onScroll(t);var s=t.timeStamp,o=p._selectLength(t.nativeEvent.layoutMeasurement),n=p._selectLength(t.nativeEvent.contentSize),l=p._selectOffset(t.nativeEvent.contentOffset),h=l-p._scrollMetrics.offset;if(p._isNestedWithSameOrientation()){if(0===p._scrollMetrics.contentLength)return;var c=p._convertParentScrollMetrics({visibleLength:o,offset:l});o=c.visibleLength,n=c.contentLength,l=c.offset,h=c.dOffset}var u=p._scrollMetrics.timestamp?Math.max(1,s-p._scrollMetrics.timestamp):1,f=h/u;u>500&&p._scrollMetrics.dt>500&&n>5*o&&!p._hasWarned.perf&&(k("VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",{dt:u,prevDt:p._scrollMetrics.dt,contentLength:n}),p._hasWarned.perf=!0),p._scrollMetrics={contentLength:n,dt:u,dOffset:h,offset:l,timestamp:s,velocity:f,visibleLength:o},p._updateViewableItems(p.props.data),p.props&&(p._maybeCallOnEndReached(),0!==f&&p._fillRateHelper.activate(),p._computeBlankness(),p._scheduleCellsToRenderUpdate())},p._onScrollBeginDrag=function(t){p._nestedChildLists.forEach(function(s){s.ref&&s.ref._onScrollBeginDrag(t)}),p._viewabilityTuples.forEach(function(t){t.viewabilityHelper.recordInteraction()}),p._hasInteracted=!0,p.props.onScrollBeginDrag&&p.props.onScrollBeginDrag(t)},p._onScrollEndDrag=function(t){var s=t.nativeEvent.velocity;s&&(p._scrollMetrics.velocity=p._selectOffset(s)),p._computeBlankness(),p.props.onScrollEndDrag&&p.props.onScrollEndDrag(t)},p._onMomentumScrollEnd=function(t){p._scrollMetrics.velocity=0,p._computeBlankness(),p.props.onMomentumScrollEnd&&p.props.onMomentumScrollEnd(t)},p._updateCellsToRender=function(){var t=p.props,s=t.data,o=t.getItemCount,n=t.onEndReachedThreshold,l=p._isVirtualizationDisabled();p._updateViewableItems(s),s&&p.setState(function(t){var h;if(l){var c=p._scrollMetrics,u=c.contentLength,f=c.offset,_=c.visibleLength,v=u-_-f0)for(var y=h.first,C=h.last,L=y;L<=C;L++){var b=p._indicesToKeys.get(L),S=b&&p._cellKeysToChildListKeys.get(b);if(S){var M=!1,I=S,x=Array.isArray(I),k=0;for(I=x?I:I["function"==typeof Symbol&&"function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var R;if(x){if(k>=I.length)break;R=I[k++]}else{if((k=I.next()).done)break;R=k.value}var E=R,O=p._nestedChildLists.get(E);if(O&&O.ref&&O.ref.hasMore()){M=!0;break}}if(M){h.last=L;break}}}return h})},p._createViewToken=function(t,s){var o=p.props,n=o.data,l=o.getItem,h=o.keyExtractor,c=l(n,t);return{index:t,item:c,key:h(c,t),isViewable:s}},p._getFrameMetricsApprox=function(t){var s=p._getFrameMetrics(t);if(s&&s.index===t)return s;var o=p.props.getItemLayout;return R(!o,'Should not have to estimate frames when a measurement metrics function is provided'),{length:p._averageCellLength,offset:p._averageCellLength*t}},p._getFrameMetrics=function(t){var s=p.props,o=s.data,n=s.getItem,l=s.getItemCount,h=s.getItemLayout,c=s.keyExtractor;R(l(o)>t,'Tried to get frame for out of range index '+t);var u=n(o,t),f=u&&p._frames[c(u,t)];return f&&f.index===t||h&&(f=h(o,t)),f},R(!s.onScroll||!s.onScroll.__isNative,"Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"),R(s.windowSize>0,'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.'),p._fillRateHelper=new v(p._getFrameMetrics),p._updateCellsToRenderBatcher=new _(p._updateCellsToRender,p.props.updateCellsBatchingPeriod),p.props.viewabilityConfigCallbackPairs?p._viewabilityTuples=p.props.viewabilityConfigCallbackPairs.map(function(t){return{viewabilityHelper:new x(t.viewabilityConfig),onViewableItemsChanged:t.onViewableItemsChanged}}):p.props.onViewableItemsChanged&&p._viewabilityTuples.push({viewabilityHelper:new x(p.props.viewabilityConfig),onViewableItemsChanged:p.props.onViewableItemsChanged});var u={first:p.props.initialScrollIndex||0,last:Math.min(p.props.getItemCount(p.props.data),(p.props.initialScrollIndex||0)+p.props.initialNumToRender)-1};if(p._isNestedWithSameOrientation()){var L=p.context.virtualizedList.getNestedChildState(p.props.listKey||p._getCellKey());L&&(u=L,p.state=L,p._frames=L.frames)}return p.state=u,p}return p(y,u),c(y,[{key:"scrollToEnd",value:function(t){var s=!t||t.animated,o=this.props.getItemCount(this.props.data)-1,n=this._getFrameMetricsApprox(o),l=Math.max(0,n.offset+n.length+this._footerLength-this._scrollMetrics.visibleLength);this._scrollRef.scrollTo(this.props.horizontal?{x:l,animated:s}:{y:l,animated:s})}},{key:"scrollToIndex",value:function(t){var s=this.props,o=s.data,n=s.horizontal,l=s.getItemCount,h=s.getItemLayout,c=s.onScrollToIndexFailed,p=t.animated,u=t.index,f=t.viewOffset,_=t.viewPosition;if(R(u>=0&&uthis._highestMeasuredFrameIndex)return R(!!c,"scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures."),void c({averageItemLength:this._averageCellLength,highestMeasuredFrameIndex:this._highestMeasuredFrameIndex,index:u});var v=this._getFrameMetricsApprox(u),y=Math.max(0,v.offset-(_||0)*(this._scrollMetrics.visibleLength-v.length))-(f||0);this._scrollRef.scrollTo(n?{x:y,animated:p}:{y:y,animated:p})}},{key:"scrollToItem",value:function(t){for(var s=t.item,o=this.props,n=o.data,l=o.getItem,h=(0,o.getItemCount)(n),c=0;c0){E=!1,O='';var k=u?'width':'height',R=this.props.initialScrollIndex?-1:this.props.initialNumToRender-1,w=this.state,T=w.first,z=w.last;this._pushCells(y,b,L,0,R,v);var K=Math.max(R+1,T);if(!_&&T>R+1){var N=!1;if(L.size>0)for(var V=h?1:0,D=K-1;D>R;D--)if(L.has(D+V)){var A=this._getFrameMetricsApprox(R),B=this._getFrameMetricsApprox(D),H=B.offset-A.offset-(this.props.initialScrollIndex?0:A.length);y.push(C.createElement(I,{key:"$sticky_lead",style:s({},k,H)})),this._pushCells(y,b,L,D,D,v);var U=this._getFrameMetricsApprox(T).offset-(B.offset+B.length);y.push(C.createElement(I,{key:"$sticky_trail",style:s({},k,U)})),N=!0;break}if(!N){var W=this._getFrameMetricsApprox(R),j=this._getFrameMetricsApprox(T).offset-(W.offset+W.length);y.push(C.createElement(I,{key:"$lead_spacer",style:s({},k,j)}))}}if(this._pushCells(y,b,L,K,z,v),!this._hasWarned.keys&&E&&(console.warn("VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.",O),this._hasWarned.keys=!0),!_&&z=p.length)break;_=p[f++]}else{if((f=p.next()).done)break;_=f.value}var v=_,y=this._nestedChildLists.get(v);y&&y.ref&&y.ref.measureLayoutRelativeToContainingList()}}this._computeBlankness(),this._updateViewableItems(this.props.data)}},{key:"measureLayoutRelativeToContainingList",value:function(){var t=this;try{if(!this._scrollRef)return;this._scrollRef.measureLayout(this.context.virtualizedList.getOutermostParentListRef().getScrollRef().getNativeScrollRef(),function(s,o,n,l){t._offsetFromParentVirtualizedList=t._selectOffset({x:s,y:o}),t._scrollMetrics.contentLength=t._selectLength({width:n,height:l});var h=t._convertParentScrollMetrics(t.context.virtualizedList.getScrollMetrics());t._scrollMetrics.visibleLength=h.visibleLength,t._scrollMetrics.offset=h.offset},function(t){console.warn("VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList.")})}catch(t){console.warn('measureLayoutRelativeToContainingList threw an error',t.stack)}}},{key:"_renderDebugOverlay",value:function(){for(var t=this._scrollMetrics.visibleLength/(this._scrollMetrics.contentLength||1),s=[],o=this.props.getItemCount(this.props.data),n=0;n0){var _=l-this._getFrameMetricsApprox(s).offset;u=u||_<0||c<-2&&_2&&v0&&void 0!==arguments[0]?arguments[0]:{abort:!1};this._taskHandle&&(this._taskHandle.cancel(),t.abort||this._callback(),this._taskHandle=null)}},{key:"schedule",value:function(){var t=this;if(!this._taskHandle){var n=setTimeout(function(){t._taskHandle=l.runAfterInteractions(function(){t._taskHandle=null,t._callback()})},this._delay);this._taskHandle={cancel:function(){return clearTimeout(n)}}}}}]),s})();m.exports=s},252,[4,5,227]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]);function l(t,n){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),s.push.apply(s,l)}return s}function o(n){for(var s=1;sMath.random(),this._resetData()}return n(t,null,[{key:"addListener",value:function(t){return h(null!==y,'Call `FillRateHelper.setSampleRate` before `addListener`.'),f.push(t),{remove:function(){f=f.filter(function(n){return t!==n})}}}},{key:"setSampleRate",value:function(t){y=t}},{key:"setMinSampleCount",value:function(t){c=t}}]),n(t,[{key:"activate",value:function(){this._enabled&&null==this._samplesStartTime&&(this._samplesStartTime=_())}},{key:"deactivateAndFlush",value:function(){if(this._enabled){var t=this._samplesStartTime;if(null!=t)if(this._info.sample_count0&&(y=Math.min(u,Math.max(0,b.offset-o)));for(var k=0,v=n.last,S=this._getFrameMetrics(v);v>=n.first&&(!S||!S.inLayout);)S=this._getFrameMetrics(v),v--;if(S&&v0?(this._anyBlankStartTime=c,this._info.any_blank_speed_sum+=f,this._info.any_blank_count++,this._info.pixels_blank+=O,T>.5&&(this._mostlyBlankStartTime=c,this._info.mostly_blank_count++)):(f<.01||Math.abs(l)<1)&&this.deactivateAndFlush(),T}},{key:"enabled",value:function(){return this._enabled}},{key:"_resetData",value:function(){this._anyBlankStartTime=null,this._info=new u,this._mostlyBlankStartTime=null,this._samplesStartTime=null}}]),t})();m.exports=p},253,[50,5,4,109,19]); -__d(function(g,r,i,a,m,e,d){'use strict';var t,s=r(d[0]),n=s(r(d[1])),o=s(r(d[2])),f=s(r(d[3])),h=s(r(d[4])),l=s(r(d[5])),p=s(r(d[6])),u=s(r(d[7])),v=s(r(d[8])),c=(s(r(d[9])),r(d[10]),r(d[11])),R=(r(d[12]),r(d[13]).getViewManagerConfig('AndroidSwipeRefreshLayout'));t=R?R.Constants:{SIZE:{}};var _=(function(t){function s(){var t,n;(0,f.default)(this,s);for(var o=arguments.length,h=new Array(o),u=0;u0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;console.warn('`scrollWithoutAnimationTo` is deprecated. Use `scrollTo` instead'),this.scrollTo({x:n,y:t,animated:!1})}},{key:"flashScrollIndicators",value:function(){this._scrollResponder.scrollResponderFlashScrollIndicators()}},{key:"_getKeyForIndex",value:function(t,n){var o=n[t];return o&&o.key}},{key:"_updateAnimatedNodeAttachment",value:function(){this._scrollAnimatedValueAttachment&&this._scrollAnimatedValueAttachment.detach(),this.props.stickyHeaderIndices&&this.props.stickyHeaderIndices.length>0&&(this._scrollAnimatedValueAttachment=_.attachNativeEvent(this._scrollViewRef,'onScroll',[{nativeEvent:{contentOffset:{y:this._scrollAnimatedValue}}}]))}},{key:"_setStickyHeaderRef",value:function(t,n){n?this._stickyHeaderRefs.set(t,n):this._stickyHeaderRefs.delete(t)}},{key:"_onStickyHeaderLayout",value:function(t,n,o){var l=this.props.stickyHeaderIndices;if(l){var s=S.Children.toArray(this.props.children);if(o===this._getKeyForIndex(t,s)){var c=n.nativeEvent.layout.y;this._headerLayoutYs.set(o,c);var p=l[l.indexOf(t)-1];if(null!=p){var h=this._stickyHeaderRefs.get(this._getKeyForIndex(p,s));h&&h.setNextHeaderY&&h.setNextHeaderY(c)}}}}},{key:"render",value:function(){var n,o,l=this;!0===this.props.horizontal?(n=v,o=R):(n=y,o=E),T(void 0!==n,'ScrollViewClass must not be undefined'),T(void 0!==o,'ScrollContentContainerViewClass must not be undefined');var s=[!0===this.props.horizontal&&N.contentContainerHorizontal,this.props.contentContainerStyle],c={};this.props.onContentSizeChange&&(c={onLayout:this._handleContentOnLayout});var p=this.props.stickyHeaderIndices,h=this.props.children;if(null!=p&&p.length>0){var u=S.Children.toArray(this.props.children);h=u.map(function(t,n){var o=t?p.indexOf(n):-1;if(o>-1){var s=t.key,c=p[o+1],h=l.props.StickyHeaderComponent||k;return S.createElement(h,{key:s,ref:function(t){return l._setStickyHeaderRef(s,t)},nextHeaderLayoutY:l._headerLayoutYs.get(l._getKeyForIndex(c,u)),onLayout:function(t){return l._onStickyHeaderLayout(n,t,s)},scrollAnimatedValue:l._scrollAnimatedValue,inverted:l.props.invertStickyHeaders,scrollViewHeight:l.state.layoutHeight},t)}return t})}h=S.createElement(I.Provider,{value:!0===this.props.horizontal?D:j},h);var _=Array.isArray(p)&&p.length>0,w=S.createElement(o,t({},c,{ref:this._setInnerViewRef,style:s,removeClippedSubviews:!_&&this.props.removeClippedSubviews,collapsable:!1}),h),H=void 0!==this.props.alwaysBounceHorizontal?this.props.alwaysBounceHorizontal:this.props.horizontal,V=void 0!==this.props.alwaysBounceVertical?this.props.alwaysBounceVertical:!this.props.horizontal,A=!!this.props.DEPRECATED_sendUpdatedChildFrames,x=!0===this.props.horizontal?N.baseHorizontal:N.baseVertical,z=f({},this.props,{alwaysBounceHorizontal:H,alwaysBounceVertical:V,style:[x,this.props.style],onContentSizeChange:null,onLayout:this._handleLayout,onMomentumScrollBegin:this._scrollResponder.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this._scrollResponder.scrollResponderHandleMomentumScrollEnd,onResponderGrant:this._scrollResponder.scrollResponderHandleResponderGrant,onResponderReject:this._scrollResponder.scrollResponderHandleResponderReject,onResponderRelease:this._scrollResponder.scrollResponderHandleResponderRelease,onResponderTerminate:this._scrollResponder.scrollResponderHandleTerminate,onResponderTerminationRequest:this._scrollResponder.scrollResponderHandleTerminationRequest,onScrollBeginDrag:this._scrollResponder.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this._scrollResponder.scrollResponderHandleScrollEndDrag,onScrollShouldSetResponder:this._scrollResponder.scrollResponderHandleScrollShouldSetResponder,onStartShouldSetResponder:this._scrollResponder.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this._scrollResponder.scrollResponderHandleStartShouldSetResponderCapture,onTouchEnd:this._scrollResponder.scrollResponderHandleTouchEnd,onTouchMove:this._scrollResponder.scrollResponderHandleTouchMove,onTouchStart:this._scrollResponder.scrollResponderHandleTouchStart,onTouchCancel:this._scrollResponder.scrollResponderHandleTouchCancel,onScroll:this._handleScroll,scrollBarThumbImage:O(this.props.scrollBarThumbImage),scrollEventThrottle:_?1:this.props.scrollEventThrottle,sendMomentumEvents:!(!this.props.onMomentumScrollBegin&&!this.props.onMomentumScrollEnd),DEPRECATED_sendUpdatedChildFrames:A,snapToStart:!1!==this.props.snapToStart,snapToEnd:!1!==this.props.snapToEnd,pagingEnabled:!0===this.props.pagingEnabled||null!=this.props.snapToInterval||null!=this.props.snapToOffsets}),L=this.props.decelerationRate;null!=L&&(z.decelerationRate=b(L));var P=this.props.refreshControl;if(P){var B=M(C(z.style)),F=B.outer,U=B.inner;return S.cloneElement(P,{style:[x,F]},S.createElement(n,t({},z,{style:[x,U],ref:this._setScrollViewRef}),w))}return S.createElement(n,t({},z,{ref:this._setScrollViewRef}),w)}}]),u})(S.Component);L.Context=I;var N=V.create({baseVertical:{flexGrow:1,flexShrink:1,flexDirection:'column',overflow:'scroll'},baseHorizontal:{flexGrow:1,flexShrink:1,flexDirection:'row',overflow:'scroll'},contentContainerHorizontal:{flexDirection:'row'}});m.exports=L},257,[11,4,5,6,8,7,9,50,229,52,12,83,258,265,58,81,264,80,17,266,178,173,267]); -__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),s=r(d[1]),n=r(d[2]),l=r(d[3]),t=r(d[4]),c=r(d[5]),p=r(d[6]),h=r(d[7]),u=r(d[8]),S=r(d[9]),b=r(d[10]).ScrollViewManager,R={Mixin:{_subscriptionKeyboardWillShow:null,_subscriptionKeyboardWillHide:null,_subscriptionKeyboardDidShow:null,_subscriptionKeyboardDidHide:null,scrollResponderMixinGetInitialState:function(){return{isTouching:!1,lastMomentumScrollBeginTime:0,lastMomentumScrollEndTime:0,observedScrollSinceBecomingResponder:!1,becameResponderWhileAnimating:!1}},scrollResponderHandleScrollShouldSetResponder:function(){return!0!==this.props.disableScrollViewPanResponder&&this.state.isTouching},scrollResponderHandleStartShouldSetResponder:function(o){if(!0===this.props.disableScrollViewPanResponder)return!1;var s=t.currentlyFocusedField();return'handled'===this.props.keyboardShouldPersistTaps&&null!=s&&o.target!==s},scrollResponderHandleStartShouldSetResponderCapture:function(o){if(this.scrollResponderIsAnimating())return!0;if(!0===this.props.disableScrollViewPanResponder)return!1;var s=t.currentlyFocusedField(),n=this.props.keyboardShouldPersistTaps;return!(n&&'never'!==n||null==s||!o.target||t.isTextInput(o.target))},scrollResponderHandleResponderReject:function(){},scrollResponderHandleTerminationRequest:function(){return!this.state.observedScrollSinceBecomingResponder},scrollResponderHandleTouchEnd:function(o){var s=o.nativeEvent;this.state.isTouching=0!==s.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(o)},scrollResponderHandleTouchCancel:function(o){this.state.isTouching=!1,this.props.onTouchCancel&&this.props.onTouchCancel(o)},scrollResponderHandleResponderRelease:function(o){this.props.onResponderRelease&&this.props.onResponderRelease(o);var s=t.currentlyFocusedField();!0===this.props.keyboardShouldPersistTaps||'always'===this.props.keyboardShouldPersistTaps||null==s||o.target===s||this.state.observedScrollSinceBecomingResponder||this.state.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(o),t.blurTextInput(s))},scrollResponderHandleScroll:function(o){this.state.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(o)},scrollResponderHandleResponderGrant:function(o){this.state.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(o),this.state.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},scrollResponderHandleScrollBeginDrag:function(o){s.beginScroll(),this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(o)},scrollResponderHandleScrollEndDrag:function(o){var n=o.nativeEvent.velocity;this.scrollResponderIsAnimating()||n&&(0!==n.x||0!==n.y)||s.endScroll(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(o)},scrollResponderHandleMomentumScrollBegin:function(o){this.state.lastMomentumScrollBeginTime=u(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(o)},scrollResponderHandleMomentumScrollEnd:function(o){s.endScroll(),this.state.lastMomentumScrollEndTime=u(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(o)},scrollResponderHandleTouchStart:function(o){this.state.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(o)},scrollResponderHandleTouchMove:function(o){this.props.onTouchMove&&this.props.onTouchMove(o)},scrollResponderIsAnimating:function(){return u()-this.state.lastMomentumScrollEndTime<16||this.state.lastMomentumScrollEndTime0){v.push(H),L.push(0),v.push(H+1),L.push(1);var Y=(y||0)-l-o;Y>H&&(v.push(Y,Y+1),L.push(Y-H,Y-H))}}}else{v.push(h),L.push(0);var x=(y||0)-l;x>=h?(v.push(x,x+1),L.push(x-h,x-h)):(v.push(h+1),L.push(1))}var C=this.props.scrollAnimatedValue.interpolate({inputRange:v,outputRange:L}),E=p.Children.only(this.props.children);return p.createElement(c,{collapsable:!1,onLayout:this._onLayout,style:[E.props.style,f.header,{transform:[{translateY:C}]}]},p.cloneElement(E,{style:f.fill,onLayout:void 0}))}}]),h})(p.Component),f=h.create({header:{zIndex:10},fill:{flex:1}});m.exports=v},265,[4,5,6,8,9,229,12,58,81]); -__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]);m.exports=function(t){return'normal'===t?.985:'fast'===t?.9:t}},266,[52]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(Object.create(null),{margin:!0,marginHorizontal:!0,marginVertical:!0,marginBottom:!0,marginTop:!0,marginLeft:!0,marginRight:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,alignSelf:!0,height:!0,minHeight:!0,maxHeight:!0,width:!0,minWidth:!0,maxWidth:!0,position:!0,left:!0,right:!0,bottom:!0,top:!0,transform:!0});m.exports=function(n){var o={},f={};return n&&Object.keys(n).forEach(function(h){var l=n[h];t[h]?f[h]=l:o[h]=l}),{outer:f,inner:o}}},267,[11]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]);function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function l(n){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:{viewAreaCoveragePercentThreshold:0};o(this,t),this._hasInteracted=!1,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=n}return s(t,[{key:"dispose",value:function(){this._timers.forEach(clearTimeout)}},{key:"computeViewableItems",value:function(t,n,o,s,c){var l=this._config,f=l.itemVisiblePercentThreshold,v=l.viewAreaCoveragePercentThreshold,b=null!=v,y=b?v:f;u(null!=y&&null!=f!=(null!=v),'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold');var p=[];if(0===t)return p;var w=-1,_=c||{first:0,last:t-1},I=_.first,O=_.last;if(O>=t)return console.warn('Invalid render range computing viewability '+JSON.stringify({renderRange:c,itemCount:t})),[];for(var k=I;k<=O;k++){var P=s(k);if(P){var j=P.offset-n,S=j+P.length;if(j0)w=k,h(b,y,j,S,o,P.length)&&p.push(k);else if(w>=0)break}}return p}},{key:"onUpdate",value:function(t,n,o,s,c,l,u){var f=this;if((!this._config.waitForInteraction||this._hasInteracted)&&0!==t&&s(0)){var h=[];if(t&&(h=this.computeViewableItems(t,n,o,s,u)),this._viewableIndices.length!==h.length||!this._viewableIndices.every(function(t,n){return t===h[n]}))if(this._viewableIndices=h,this._config.minimumViewTime){var v=setTimeout(function(){f._timers.delete(v),f._onUpdateSync(h,l,c)},this._config.minimumViewTime);this._timers.add(v)}else this._onUpdateSync(h,l,c)}}},{key:"resetViewableIndices",value:function(){this._viewableIndices=[]}},{key:"recordInteraction",value:function(){this._hasInteracted=!0}},{key:"_onUpdateSync",value:function(t,o,s){var c=this;t=t.filter(function(t){return c._viewableIndices.includes(t)});var u=this._viewableItems,f=new Map(t.map(function(t){var n=s(t,!0);return[n.key,n]})),h=[],v=f,b=Array.isArray(v),y=0;for(v=b?v:v["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var p;if(b){if(y>=v.length)break;p=v[y++]}else{if((y=v.next()).done)break;p=y.value}var w=n(p,2),_=w[0],I=w[1];u.has(_)||h.push(I)}var O=u,k=Array.isArray(O),P=0;for(O=k?O:O["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var j;if(k){if(P>=O.length)break;j=O[P++]}else{if((P=O.next()).done)break;j=P.value}var S=n(j,2),T=S[0],A=S[1];f.has(T)||h.push(l({},A,{isViewable:!1}))}h.length>0&&(this._viewableItems=f,o({viewableItems:Array.from(f.values()),changed:h,viewabilityConfig:this._config}))}}]),t})();function h(t,n,o,s,c,l){if(b(o,s,c))return!0;var u=v(o,s,c);return 100*(t?u/c:u/l)>=n}function v(t,n,o){var s=Math.min(n,o)-Math.max(t,0);return Math.max(0,s)}function b(t,n,o){return t>=0&&n<=o&&n>t}m.exports=f},268,[50,25,4,5,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);function s(t,s,f){for(var l=[],o=0,u=0;u=t[c]&&(l[c]=u,o++,c===t.length-1))return n(o===t.length,'bad offsets input, should be in increasing order: %s',JSON.stringify(t)),l;return l}function f(t,n){return n.last-n.first+1-Math.max(0,1+Math.min(n.last,t.last)-Math.max(n.first,t.first))}var l={computeWindowedRenderLimits:function(n,l,o,u){var h=n.data,v=n.getItemCount,c=n.maxToRenderPerBatch,x=n.windowSize,M=v(h);if(0===M)return l;var w=u.offset,b=u.velocity,p=u.visibleLength,C=Math.max(0,w),O=C+p,y=(x-1)*p,L=b>1?'after':b<-1?'before':'none',R=Math.max(0,C-.5*y),S=Math.max(0,O+.5*y);if(o(M-1).offset=_);){var E=z>=c,F=N<=l.first||N>l.last,P=N>J&&(!E||!F),W=T>=l.last||T=N&&N>=0&&T=J&&T<=_&&N<=k.first&&T>=k.last))throw new Error('Bad window calculation '+JSON.stringify({first:N,last:T,itemCount:M,overscanFirst:J,overscanLast:_,visible:k}));return{first:N,last:T}},elementsThatOverlapOffsets:s,newRangeCount:f};m.exports=l},269,[25,17]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]);m.exports=s(t)},270,[271,248]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);function o(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}var c=r(d[2]),u=r(d[3]),s=r(d[4]),l=r(d[5]),f=r(d[6]),h=r(d[7]),p=r(d[8]),b=(r(d[9]),r(d[10])),y=r(d[11]),w=r(d[12]),O=r(d[13]),v=r(d[14]),S=f.ImageLoader,I=r(d[15]),j=1;var E=(function(t){for(var c=1;c component requires a `source` property rather than `src`.'),t.children)throw new Error('The component cannot contain children. If you want to render content on top of the image, consider using the component or absolute positioning.');if(t.defaultSource&&t.loadingIndicatorSource)throw new Error('The component cannot have defaultSource and loadingIndicatorSource at the same time. Please use either defaultSource or loadingIndicatorSource.');if(!f||f.uri||Array.isArray(f)||(f=null),null!=(null==(o=f)?void 0:o.uri)){var S=f,j=S.width,E=S.height;u=w([{width:j,height:E},z.base,t.style]),s=[{uri:f.uri}]}else u=w([z.base,t.style]),s=f;var P=t.onLoadStart,L=t.onLoad,D=t.onLoadEnd,T=t.onError,q=O(t,{style:u,shouldNotifyLoadEvents:!!(P||L||D||T),src:s,headers:null==(c=f)?void 0:c.headers,defaultSrc:h?h.uri:null,loadingIndicatorSrc:b?b.uri:null,ref:n});return p.createElement(y.Consumer,null,function(t){return t?p.createElement(I,q):p.createElement(l,q)})};(P=p.forwardRef(P)).displayName='Image',P.getSize=function(t,n,o){return S.getSize(t).then(function(t){n(t.width,t.height)}).catch(o||function(){console.warn('Failed to get size for image: '+t)})},P.getSizeWithHeaders=function(t,n,o,c){return S.getSizeWithHeaders(t,n).then(function(t){o(t.width,t.height)}).catch(c||function(){console.warn('Failed to get size for image: '+t)})},P.prefetch=function(t,n){var o=j++;return n&&n(o),S.prefetchImage(t,o)},P.abortPrefetch=function(t){S.abortRequest(t)},P.queryCache=function(n){return t.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,t.awrap(S.queryCache(n));case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}})},P.resolveAssetSource=v,P.propTypes=E;var z=b.create({base:{overflow:'hidden'}});m.exports=P},271,[272,50,63,197,273,275,24,67,12,83,58,199,80,190,173,276]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0])},272,[105]); -__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]);function t(o,t){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(o);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})),n.push.apply(n,s)}return n}var n=r(d[1]),s=r(d[2]),c=r(d[3]),l=r(d[4]),b=r(d[5]),p=r(d[6]),u=p.DeprecatedAccessibilityRoles,f=p.DeprecatedAccessibilityStates,y=s(c);m.exports=(function(n){for(var s=1;s0&&this.props.stickySectionHeadersEnabled&&(s+=this._listRef._getFrameMetricsApprox(n-t.itemIndex).length);var c=h({},t,{viewOffset:s,index:n});this._listRef.scrollToIndex(c)}},{key:"getListRef",value:function(){return this._listRef}}]),l(f,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){this.setState(this._computeState(t))}},{key:"_computeState",value:function(t){var n=t.ListHeaderComponent?1:0,o=[],s=t.sections?t.sections.reduce(function(s,c){return o.push(s+n),s+t.getItemCount(c.data)+2},0):0;return{childProps:h({},t,{renderItem:this._renderItem,ItemSeparatorComponent:void 0,data:t.sections,getItemCount:function(){return s},getItem:function(n,o){return b(t,n,o)},keyExtractor:this._keyExtractor,onViewableItemsChanged:t.onViewableItemsChanged?this._onViewableItemsChanged:void 0,stickyHeaderIndices:t.stickySectionHeadersEnabled?o:void 0})}}},{key:"render",value:function(){return S.createElement(I,t({},this.state.childProps,{ref:this._captureRef}))}},{key:"_subExtractor",value:function(t){for(var n=t,o=this.props,s=o.getItem,c=o.getItemCount,p=o.keyExtractor,l=o.sections,u=0;u=c(h)+1)n-=c(h)+1;else return-1===n?{section:f,key:S+':header',index:null,header:!0,trailingSection:l[u+1]}:n===c(h)?{section:f,key:S+':footer',index:null,header:!1,trailingSection:l[u+1]}:{section:f,key:S+':'+(f.keyExtractor||p)(s(h,n),n),index:n,leadingItem:s(h,n-1),leadingSection:l[u-1],trailingItem:s(h,n+1),trailingSection:l[u+1]}}}},{key:"_getSeparatorComponent",value:function(t,n){if(!(n=n||this._subExtractor(t)))return null;var o=n.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,s=this.props.SectionSeparatorComponent,c=t===this.state.childProps.getItemCount()-1,p=n.index===this.props.getItemCount(n.section.data)-1;return s&&p?s:!o||p||c?null:o}}]),f})(S.PureComponent);_.defaultProps=h({},I.defaultProps,{data:[]});var x=(function(t){function n(){var t,p;o(this,n);for(var l=arguments.length,u=new Array(l),f=0;f=21&&this.props.statusBarBackgroundColor,p=v.createElement(k,{style:[B.drawerSubview,{width:this.props.drawerWidth,backgroundColor:this.props.drawerBackgroundColor}],collapsable:!1},o(),l&&v.createElement(k,{style:B.drawerStatusBar})),c=v.createElement(k,{style:B.mainSubview,collapsable:!1},l&&v.createElement(D,{translucent:!0,backgroundColor:this.props.statusBarBackgroundColor}),l&&v.createElement(k,{style:[B.statusBar,{backgroundColor:this.props.statusBarBackgroundColor}]}),this.props.children);return v.createElement(h.default,(0,n.default)({},u,{ref:this._nativeRef,drawerWidth:this.props.drawerWidth,drawerPosition:this.props.drawerPosition,drawerLockMode:this.props.drawerLockMode,style:[B.base,this.props.style],onDrawerSlide:this._onDrawerSlide,onDrawerOpen:this._onDrawerOpen,onDrawerClose:this._onDrawerClose,onDrawerStateChanged:this._onDrawerStateChanged}),c,p)}},{key:"openDrawer",value:function(){h.Commands.openDrawer(y(this._nativeRef.current))}},{key:"closeDrawer",value:function(){h.Commands.closeDrawer(y(this._nativeRef.current))}},{key:"blur",value:function(){y(this._nativeRef.current).blur()}},{key:"focus",value:function(){y(this._nativeRef.current).focus()}},{key:"measure",value:function(t){y(this._nativeRef.current).measure(t)}},{key:"measureInWindow",value:function(t){y(this._nativeRef.current).measureInWindow(t)}},{key:"measureLayout",value:function(t,o,n){y(this._nativeRef.current).measureLayout(t,o,n)}},{key:"setNativeProps",value:function(t){y(this._nativeRef.current).setNativeProps(t)}}],[{key:"positions",get:function(){return console.warn('Setting DrawerLayoutAndroid drawerPosition using `DrawerLayoutAndroid.positions` is deprecated. Instead pass the string value "left" or "right"'),{Left:'left',Right:'right'}}}]),o})(v.Component);_.defaultProps={drawerBackgroundColor:'white'};var B=C.create({base:{flex:1,elevation:16},mainSubview:{position:'absolute',top:0,left:0,right:0,bottom:0},drawerSubview:{position:'absolute',top:0,bottom:0},statusBar:{height:D.currentHeight},drawerStatusBar:{position:'absolute',top:0,left:0,right:0,height:D.currentHeight,backgroundColor:'rgba(0, 0, 0, 0.251)'}});m.exports=_},288,[1,3,11,56,4,5,6,8,9,289,52,12,291,58,81,208,264]); -__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),t=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Commands=void 0;var u=t(r(d[2])),n=t(r(d[3])),s=(o(r(d[4])),(0,u.default)({supportedCommands:['openDrawer','closeDrawer']}));e.Commands=s;var l=(0,n.default)('AndroidDrawerLayout');e.default=l},289,[1,3,290,182,12]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[0]);var t=function(t){var o={};return t.supportedCommands.forEach(function(t){o[t]=function(o){for(var u=arguments.length,f=new Array(u>1?u-1:0),c=1;c is only supported on iOS.'),0===c.Children.count(this.props.children)?null:c.createElement(p.default,{style:[this.props.style,y.container],nativeID:this.props.nativeID,backgroundColor:this.props.backgroundColor},this.props.children)}}]),h})(c.Component),y=h.create({container:{position:'absolute'}});m.exports=f},294,[3,4,5,6,8,9,295,64,52,12,58]); -__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 u=(0,t(r(d[1])).default)('RCTInputAccessoryView');e.default=u},295,[3,182]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),s=r(d[3]),l=r(d[4]),u=r(d[5]),h=r(d[6]),c=r(d[7]),f=r(d[8]),y=(r(d[9]),r(d[10])),b=r(d[11]),_=r(d[12]),v=(function(v){function p(t){var o;return n(this,p),(o=l(this,u(p).call(this,t)))._frame=null,o._subscriptions=[],o._initialFrameHeight=0,o._onKeyboardChange=function(t){if(null!=t){var n=t.duration,s=t.easing,l=t.endCoordinates,u=o._relativeKeyboardHeight(l);o.state.bottom!==u&&(n&&s&&f.configureNext({duration:n>10?n:10,update:{duration:n>10?n:10,type:f.Types[s]||'keyboard'}}),o.setState({bottom:u}))}else o.setState({bottom:0})},o._onLayout=function(t){o._frame=t.nativeEvent.layout,o._initialFrameHeight||(o._initialFrameHeight=o._frame.height)},o.state={bottom:0},o.viewRef=y.createRef(),o}return h(p,v),s(p,[{key:"_relativeKeyboardHeight",value:function(t){var o=this._frame;if(!o||!t)return 0;var n=t.screenY-this.props.keyboardVerticalOffset;return Math.max(o.y+o.height-n,0)}},{key:"componentDidMount",value:function(){this._subscriptions=[c.addListener('keyboardDidHide',this._onKeyboardChange),c.addListener('keyboardDidShow',this._onKeyboardChange)]}},{key:"componentWillUnmount",value:function(){this._subscriptions.forEach(function(t){t.remove()})}},{key:"render",value:function(){var n=this.props,s=n.behavior,l=n.children,u=n.contentContainerStyle,h=n.enabled,c=(n.keyboardVerticalOffset,n.style),f=o(n,["behavior","children","contentContainerStyle","enabled","keyboardVerticalOffset","style"]),v=h?this.state.bottom:0;switch(s){case'height':var p;return null!=this._frame&&this.state.bottom>0&&(p={height:this._initialFrameHeight-v,flex:0}),y.createElement(_,t({ref:this.viewRef,style:b.compose(c,p),onLayout:this._onLayout},f),l);case'position':return y.createElement(_,t({ref:this.viewRef,style:c,onLayout:this._onLayout},f),y.createElement(_,{style:b.compose(u,{bottom:v})},l));case'padding':return y.createElement(_,t({ref:this.viewRef,style:b.compose(c,{paddingBottom:v}),onLayout:this._onLayout},f),l);default:return y.createElement(_,t({ref:this.viewRef,onLayout:this._onLayout,style:c},f),l)}}}]),p})(y.Component);v.defaultProps={enabled:!0,keyboardVerticalOffset:0},m.exports=v},296,[11,56,4,5,6,8,9,261,263,52,12,58,81]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},297,[298]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),u=r(d[3]),p=r(d[4]),o=r(d[5]),c=r(d[6]),l=(function(c){function l(){return t(this,l),s(this,u(l).apply(this,arguments))}return p(l,c),n(l,[{key:"render",value:function(){var t=r(d[7]);return o.createElement(t,{style:[h.unimplementedView,this.props.style]},this.props.children)}}]),l})(o.Component),h=c.create({unimplementedView:{}});m.exports=l},298,[4,5,6,8,9,12,58,81]); -__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),o=n(r(d[1])),s=n(r(d[2])),l=n(r(d[3])),p=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),h=(n(r(d[7])),n(r(d[8]))),f=(r(d[9]),r(d[10])),v=(r(d[11]),r(d[12]),r(d[13])),y=r(d[14]),S=r(d[15]),_=r(d[16]),C=r(d[17]),b=0,k=(function(t){function n(t){var o;return(0,s.default)(this,n),o=(0,p.default)(this,(0,u.default)(n).call(this,t)),n._confirmProps(t),o._identifier=b++,o}return(0,c.default)(n,t),(0,l.default)(n,[{key:"getChildContext",value:function(){return{virtualizedList:null}}},{key:"componentDidMount",value:function(){}},{key:"componentWillUnmount",value:function(){this._eventSubscription&&this._eventSubscription.remove()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){n._confirmProps(t)}},{key:"render",value:function(){if(!0!==this.props.visible)return null;var t={backgroundColor:this.props.transparent?'transparent':'white'},n=this.props.animationType;n||(n='none',this.props.animated&&(n='slide'));var o=this.props.presentationStyle;o||(o='fullScreen',this.props.transparent&&(o='overFullScreen'));var s=this.props.children;return v.createElement(h.default,{animationType:n,presentationStyle:o,transparent:this.props.transparent,hardwareAccelerated:this.props.hardwareAccelerated,onRequestClose:this.props.onRequestClose,onShow:this.props.onShow,identifier:this._identifier,style:R.modal,onStartShouldSetResponder:this._shouldSetResponder,supportedOrientations:this.props.supportedOrientations,onOrientationChange:this.props.onOrientationChange},v.createElement(S.Context.Provider,{value:null},v.createElement(C,{style:[R.container,t]},s)))}},{key:"_shouldSetResponder",value:function(){return!0}}],[{key:"_confirmProps",value:function(t){t.presentationStyle&&'overFullScreen'!==t.presentationStyle&&t.transparent&&console.warn("Modal with '"+t.presentationStyle+"' presentation style and 'transparent' value is not supported.")}}]),n})(v.Component);k.defaultProps={visible:!0,hardwareAccelerated:!1},k.contextTypes={rootTag:y.number},k.childContextTypes={virtualizedList:y.object};var w=f.getConstants().isRTL?'right':'left',R=_.create({modal:{position:'absolute'},container:(t={},(0,o.default)(t,w,0),(0,o.default)(t,"top",0),(0,o.default)(t,"flex",1),t)});m.exports=k},299,[3,50,4,5,6,8,9,300,301,302,304,121,52,12,67,257,58,81]); -__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 u=t(r(d[1])).get('ModalManager');e.default=u},300,[1,23]); -__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 o=(0,t(r(d[1])).default)('ModalHostView',{interfaceOnly:!0,paperComponentName:'RCTModalHostView'});e.default=o},301,[3,182]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),p=(r(d[5]),r(d[6])),u=(r(d[7]),r(d[8])),c=(r(d[9]),r(d[10])),h=r(d[11]),v=r(d[12]),f=(function(p){function h(){var n,l;t(this,h);for(var p=arguments.length,u=new Array(p),c=0;c=0){var s=o.Children.toArray(l.children).filter(function(l){return null!=l})[u].props.value;l.selectedValue!==s&&c(s,u)}else c(null,u);var f=t.current;null!=f&&u!==V&&f.setNativeProps({selected:V})},[l.children,l.onValueChange,l.selectedValue,V]),C={accessibilityLabel:l.accessibilityLabel,enabled:l.enabled,items:b,onSelect:y,prompt:l.prompt,ref:t,selected:V,style:s.default.compose(p.pickerAndroid,l.style),testID:l.testID};return'dropdown'===l.mode?o.createElement(u.default,C):o.createElement(c.default,C)}},307,[1,3,25,308,309,12,58,75]); -__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]);m.exports=(0,o.requireNativeComponent)('AndroidDropdownPicker')},308,[16]); -__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]);m.exports=(0,o.requireNativeComponent)('AndroidDialogPicker')},309,[16]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},310,[298]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),c=r(d[4]),u=r(d[5]),l=r(d[6]),f=r(d[7]),h=r(d[8]),p=(function(l){function p(){return t(this,p),o(this,s(p).apply(this,arguments))}return c(p,l),n(p,[{key:"render",value:function(){return u.createElement(h,{style:[y.dummy,this.props.style]},u.createElement(f,{style:y.text},"ProgressViewIOS is not supported on this platform!"))}}]),p})(u.Component),y=l.create({dummy:{width:120,height:20,backgroundColor:'#ffbcbc',borderWidth:1,borderColor:'red',alignItems:'center',justifyContent:'center'},text:{color:'#333333',margin:5,fontSize:10}});m.exports=p},311,[4,5,6,8,9,12,58,194,81]); -__d(function(g,r,i,a,m,e,d){var t,n=r(d[0]),u=r(d[1]),f=(r(d[2]),r(d[3])),l=r(d[4]),o=f.forwardRef(function(t,o){t.emulateUnlessSupported;var p=u(t,["emulateUnlessSupported"]);return f.createElement(l,n({},p,{ref:o}))});o.displayName='SafeAreaView',t=o,m.exports=t},312,[11,56,52,12,81]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),c=r(d[4]),u=r(d[5]),l=r(d[6]),f=r(d[7]),h=r(d[8]),p=(function(l){function p(){return t(this,p),o(this,s(p).apply(this,arguments))}return c(p,l),n(p,[{key:"render",value:function(){return u.createElement(h,{style:[y.dummy,this.props.style]},u.createElement(f,{style:y.text},"SegmentedControlIOS is not supported on this platform!"))}}]),p})(u.Component),y=l.create({dummy:{width:120,height:50,backgroundColor:'#ffbcbc',borderWidth:1,borderColor:'red',alignItems:'center',justifyContent:'center'},text:{color:'#333333',margin:5,fontSize:10}});m.exports=p},313,[4,5,6,8,9,12,58,194,81]); -__d(function(g,r,i,a,m,e,d){'use strict';var n,t=r(d[0]),l=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),s=(r(d[4]),r(d[5])),f=(r(d[6]),r(d[7])),v=s.forwardRef(function(t,v){var c=f.compose(n.slider,t.style),p=t.onValueChange,C=t.onSlidingComplete,S=(0,o.default)(t,["onValueChange","onSlidingComplete"]),h=p?function(n){null!=n.nativeEvent.fromUser&&n.nativeEvent.fromUser&&p(n.nativeEvent.value)}:null,E=h,V=C?function(n){C(n.nativeEvent.value)}:null;return s.createElement(u.default,(0,l.default)({},S,{ref:v,style:c,onChange:E,onSlidingComplete:V,onValueChange:h,enabled:!t.disabled,onStartShouldSetResponder:function(){return!0},onResponderTerminationRequest:function(){return!1}}))});v.defaultProps={disabled:!1,value:0,minimumValue:0,maximumValue:1,step:0},n=f.create({slider:{}}),m.exports=v},314,[3,11,56,315,52,12,83,58]); -__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 l=(0,t(r(d[1])).default)('Slider',{interfaceOnly:!0,paperComponentName:'RCTSlider'});e.default=l},315,[3,182]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),o=n(r(d[1])),t=n(r(d[2])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),h=n(r(d[6])),c=n(r(d[7])),C=(n(r(d[8])),r(d[9])),f=(r(d[10]),r(d[11])),v=(r(d[12]),(function(n){function v(){var n,o;(0,l.default)(this,v);for(var t=arguments.length,u=new Array(t),c=0;c=1&&(n=f.createElement(S,{style:s.style,allowFontScaling:s.allowFontScaling,maxFontSizeMultiplier:s.maxFontSizeMultiplier},n)),s.inputView&&(n=[n,s.inputView]),s.style.unshift(D.multilineInput),t=f.createElement(void 0,p({ref:this._setNativeRef},s,{children:n,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onContentSizeChange:this.props.onContentSizeChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:R,text:this._getText(),dataDetectorTypes:this.props.dataDetectorTypes,onScroll:this._onScroll}))}else t=f.createElement(void 0,p({ref:this._setNativeRef},s,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onSelectionChangeShouldSetResponder:R,text:this._getText()}));return f.createElement(C,{onLayout:s.onLayout,onPress:this._onPress,rejectResponderTermination:!0,accessible:s.accessible,accessibilityLabel:s.accessibilityLabel,accessibilityRole:s.accessibilityRole,accessibilityStates:s.accessibilityStates,accessibilityState:s.accessibilityState,nativeID:this.props.nativeID,testID:s.testID},t)},_renderIOS:function(){var t=p({},this.props);t.style=[this.props.style],t.selection&&null==t.selection.end&&(t.selection={start:t.selection.start,end:t.selection.start});var s=void t.multiline;t.multiline&&t.style.unshift(D.multilineInput);var n=f.createElement(s,p({ref:this._setNativeRef},t,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onContentSizeChange:this.props.onContentSizeChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:R,text:this._getText(),dataDetectorTypes:this.props.dataDetectorTypes,onScroll:this._onScroll}));return f.createElement(C,{onLayout:t.onLayout,onPress:this._onPress,rejectResponderTermination:t.rejectResponderTermination,accessible:t.accessible,accessibilityLabel:t.accessibilityLabel,accessibilityRole:t.accessibilityRole,accessibilityStates:t.accessibilityStates,accessibilityState:t.accessibilityState,nativeID:this.props.nativeID,testID:t.testID},n)},_renderAndroid:function(){var s=p({},this.props);s.style=[this.props.style],s.autoCapitalize=s.autoCapitalize||'sentences';var n=this.props.children,o=0;f.Children.forEach(n,function(){return++o}),x(!(this.props.value&&o),'Cannot specify both value and children.'),o>1&&(n=f.createElement(S,null,n)),s.selection&&null==s.selection.end&&(s.selection={start:s.selection.start,end:s.selection.start});var l=f.createElement(t,p({ref:this._setNativeRef},s,{mostRecentEventCount:0,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,text:this._getText(),children:n,disableFullscreenUI:this.props.disableFullscreenUI,textBreakStrategy:this.props.textBreakStrategy,onScroll:this._onScroll}));return f.createElement(C,{onLayout:s.onLayout,onPress:this._onPress,accessible:this.props.accessible,accessibilityLabel:this.props.accessibilityLabel,accessibilityRole:this.props.accessibilityRole,accessibilityStates:this.props.accessibilityStates,accessibilityState:this.props.accessibilityState,nativeID:this.props.nativeID,testID:this.props.testID},l)},_onFocus:function(t){this.props.onFocus&&this.props.onFocus(t),this.props.selectionState&&this.props.selectionState.focus()},_onPress:function(t){(this.props.editable||void 0===this.props.editable)&&this.focus()},_onChange:function(t){this._inputRef&&this._inputRef.setNativeProps&&_.setNativeProps(this._inputRef,{mostRecentEventCount:t.nativeEvent.eventCount});var s=t.nativeEvent.text;this.props.onChange&&this.props.onChange(t),this.props.onChangeText&&this.props.onChangeText(s),this._inputRef&&(this._lastNativeText=s,this.forceUpdate())},_onSelectionChange:function(t){this.props.onSelectionChange&&this.props.onSelectionChange(t),this._inputRef&&(this._lastNativeSelection=t.nativeEvent.selection,(this.props.selection||this.props.selectionState)&&this.forceUpdate())},componentDidUpdate:function(){var t={};this._lastNativeText!==this.props.value&&'string'==typeof this.props.value&&(t.text=this.props.value);var s=this.props.selection;this._lastNativeSelection&&s&&(this._lastNativeSelection.start!==s.start||this._lastNativeSelection.end!==s.end)&&(t.selection=this.props.selection),Object.keys(t).length>0&&this._inputRef&&this._inputRef.setNativeProps&&_.setNativeProps(this._inputRef,t),this.props.selectionState&&s&&this.props.selectionState.update(s.start,s.end)},_onBlur:function(t){this.blur(),this.props.onBlur&&this.props.onBlur(t),this.props.selectionState&&this.props.selectionState.blur()},_onTextInput:function(t){this.props.onTextInput&&this.props.onTextInput(t)},_onScroll:function(t){this.props.onScroll&&this.props.onScroll(t)}}),N=((function(t){function p(){return s(this,p),o(this,l(p).apply(this,arguments))}c(p,t),n(p,[{key:"clear",value:function(){}},{key:"isFocused",value:function(){}}])})(_.NativeComponent),F),D=v.create({multilineInput:{paddingTop:5}});m.exports=N},319,[4,5,6,8,9,11,320,321,283,52,12,83,58,194,199,159,210,47,211,17,178,19]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);function o(n,o){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,l)}return t}var t=r(d[1]),l=r(d[2]),s=r(d[3]),c=r(d[4]),u=r(d[5]),b=['phoneNumber','link','address','calendarEvent','none','all'];m.exports=(function(t){for(var l=1;lthis._focusOffset}},{key:"getAnchorOffset",value:function(){return this._hasFocus?this._anchorOffset:null}},{key:"getFocusOffset",value:function(){return this._hasFocus?this._focusOffset:null}},{key:"getStartOffset",value:function(){return this._hasFocus?Math.min(this._anchorOffset,this._focusOffset):null}},{key:"getEndOffset",value:function(){return this._hasFocus?Math.max(this._anchorOffset,this._focusOffset):null}},{key:"overlaps",value:function(t,s){return this.hasFocus()&&this.getStartOffset()<=s&&t<=this.getEndOffset()}}]),f})();f(u,{blur:!0,focus:!0,update:!0}),m.exports=u},321,[4,5,322]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),_=r(d[3]),o=r(d[4]),v=r(d[5])({__types:!0});var E={emit:function(t,n,s,_,o,v,E){return this.__getEventEmitter().emit(t,n,s,_,o,v,E)},emitAndHold:function(t,n,s,_,o,v,E){return this.__getEventEmitter().emitAndHold(t,n,s,_,o,v,E)},addListener:function(t,n,s){return this.__getEventEmitter().addListener(t,n,s)},once:function(t,n,s){return this.__getEventEmitter().once(t,n,s)},addRetroactiveListener:function(t,n,s){return this.__getEventEmitter().addRetroactiveListener(t,n,s)},addListenerMap:function(t,n){return this.__getEventEmitter().addListenerMap(t,n)},addRetroactiveListenerMap:function(t,n){return this.__getEventEmitter().addListenerMap(t,n)},removeAllListeners:function(){this.__getEventEmitter().removeAllListeners()},removeCurrentListener:function(){this.__getEventEmitter().removeCurrentListener()},releaseHeldEventType:function(t){this.__getEventEmitter().releaseHeldEventType(t)},__getEventEmitter:function(){if(!this.__eventEmitter){var t=new n,o=new _;this.__eventEmitter=new s(t,o)}return this.__eventEmitter}};m.exports=function(n,s){o(s,'Must supply set of valid event types');var _=n.prototype||n;o(!_.__eventEmitter,'An active emitter is already mixed in');var u=n.constructor;u&&o(u===Object||u===Function,'Mix EventEmitter into a class, not an instance'),_.hasOwnProperty(v)?t(_.__types,s):_.__types?_.__types=t({},_.__types,s):_.__types=s,t(_,E)}},322,[11,43,323,324,17,325]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=(function(){function s(n,l){t(this,s),this._emitter=n,this._eventHolder=l,this._currentEventToken=null,this._emittingHeldEvents=!1}return n(s,[{key:"addListener",value:function(t,n,s){return this._emitter.addListener(t,n,s)}},{key:"once",value:function(t,n,s){return this._emitter.once(t,n,s)}},{key:"addRetroactiveListener",value:function(t,n,s){var l=this._emitter.addListener(t,n,s);return this._emittingHeldEvents=!0,this._eventHolder.emitToListener(t,n,s),this._emittingHeldEvents=!1,l}},{key:"removeAllListeners",value:function(t){this._emitter.removeAllListeners(t)}},{key:"removeCurrentListener",value:function(){this._emitter.removeCurrentListener()}},{key:"listeners",value:function(t){return this._emitter.listeners(t)}},{key:"emit",value:function(t){for(var n,s=arguments.length,l=new Array(s>1?s-1:0),o=1;o1?l-1:0),u=1;u1?v-1:0),u=1;u=n.length)break;_=n[x++]}else{if((x=n.next()).done)break;_=x.value}var b=_,y=(0,u.default)(b,2),S=y[0],v=y[1];l[S]=v()}var p={},k=t._fileSources,D=Array.isArray(k),E=0;for(k=D?k:k["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var h;if(D){if(E>=k.length)break;h=k[E++]}else{if((E=k.next()).done)break;h=E.value}var B=h,A=(0,u.default)(B,2),R=A[0],w=A[1];p[R]=w()}return f('BugReporting extraData:',l),null!=o.default&&null!=o.default.setExtraData&&o.default.setExtraData(l,p),null!=c.default&&null!=c.default.setExtraData&&c.default.setExtraData(l,'From BugReporting.js'),{extras:l,files:p}}}]),t})();_._extraSources=new Map,_._fileSources=new Map,_._subscription=null,_._redboxSubscription=null,m.exports=_},332,[3,25,4,5,333,334,40,150,335]); -__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])).get('BugReporting');e.default=u},333,[1,23]); -__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 u=t(r(d[1])).get('RedBox');e.default=u},334,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(){try{return"React tree dumps have been temporarily disabled while React is upgraded to Fiber."}catch(t){return'Failed to dump react tree: '+t}}},335,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=[],t={name:'default'},c={setActiveScene:function(c){t=c,n.forEach(function(n){return n(t)})},getActiveScene:function(){return t},addActiveSceneChangedListener:function(t){return n.push(t),{remove:function(){n=n.filter(function(n){return t!==n})}}}};m.exports=c},336,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t(r(d[1])),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),p=r(d[5]),u=r(d[6]),s=r(d[7]);r(d[8]),m.exports=function(t,f,v,_,E,T,x){s(v,'Expect to have a valid rootTag, instead got ',v);var A=p.createElement(o.default.Provider,{value:null!==x&&void 0!==x?x:l.default},p.createElement(c,{rootTag:v,WrapperComponent:_},p.createElement(t,(0,n.default)({},f,{rootTag:v})),!0===E&&!0===T?p.createElement(u,null):null));l.default.startTimespan('renderApplication_React_render'),E?r(d[9]).render(A,v):r(d[10]).render(A,v),l.default.stopTimespan('renderApplication_React_render')}},337,[3,11,148,338,302,12,339,17,340,342,83]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1])(r(d[2])),n=t(r(d[3])),o=c.createContext(n.default);m.exports=o},338,[3,1,12,148]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]);var f=n.create({container:{alignItems:'center',justifyContent:'center',backgroundColor:'rgba(0,0,0, 0.25)',position:'absolute',top:0,right:0,padding:2},text:{fontSize:6,color:'#ffffff'}});m.exports=function(){return t.createElement(c,{style:f.container},t.createElement(o,{style:f.text},"FABRIC"))}},339,[12,58,194,81]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=n(r(d[1])),f=[];n(r(d[2])).default.addListener('hardwareBackPress',function(){for(var n=f.length-1;n>=0;n--)if(f[n]())return;u.exitApp()});var u={exitApp:function(){t.default&&t.default.invokeDefaultBackPressHandler()},addEventListener:function(n,t){return-1===f.indexOf(t)&&f.push(t),{remove:function(){return u.removeEventListener(n,t)}}},removeEventListener:function(n,t){-1!==f.indexOf(t)&&f.splice(f.indexOf(t),1)}};m.exports=u},340,[3,341,40]); -__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 u=t(r(d[1])).get('DeviceEventManager');e.default=u},341,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t,c=r(d[0]);t=r(d[1]),c.BatchedBridge.registerCallableModule('ReactFabric',t),m.exports=t},342,[156,343]); -__d(function(e,t,n,r,i,l,a){"use strict";var o=t(a[0]);t(a[1]);var u=t(a[2]),c=t(a[3]),s=t(a[4]);function f(e){return e.name="Invariant Violation",e}var d=null,p={};function h(){if(d)for(var e in p){var t=p[e],n=d.indexOf(e);if(!(-1this.eventPool.length&&this.eventPool.push(e)}function G(e){e.eventPool=[],e.getPooled=q,e.release=$}o(X.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Y)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Y)},persist:function(){this.isPersistent=Y},isPersistent:V,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=V,this._dispatchInstances=this._dispatchListeners=null}}),X.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},X.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,G(n),n},G(X);var J=X.extend({touchHistory:function(){return null}});function K(e){return"topTouchStart"===e}function Z(e){return"topTouchMove"===e}var ee=["topTouchStart"],te=["topTouchMove"],ne=["topTouchCancel","topTouchEnd"],re=[],ie={touchBank:re,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};function le(e){return e.timeStamp||e.timestamp}function ae(e){if(null==(e=e.identifier))throw f(Error("Touch object is missing identifier."));return e}function oe(e){var t=ae(e),n=re[t];n?(n.touchActive=!0,n.startPageX=e.pageX,n.startPageY=e.pageY,n.startTimeStamp=le(e),n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=le(e),n.previousPageX=e.pageX,n.previousPageY=e.pageY,n.previousTimeStamp=le(e)):(n={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:le(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:le(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:le(e)},re[t]=n),ie.mostRecentTimeStamp=le(e)}function ue(e){var t=re[ae(e)];t?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=le(e),ie.mostRecentTimeStamp=le(e)):console.warn("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",se(e),fe())}function ce(e){var t=re[ae(e)];t?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=le(e),ie.mostRecentTimeStamp=le(e)):console.warn("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",se(e),fe())}function se(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:le(e)})}function fe(){var e=JSON.stringify(re.slice(0,20));return 20 component."));return n=St,St+=2,{node:ct(n,"RCTRawText",t,{text:e},r)}}var Pt=setTimeout,Ct=clearTimeout;function _t(e){var t=e.node,n=Ke(null,Ye,{style:{display:"none"}},e.canonical.viewConfig.validAttributes);return{node:pt(t,n),canonical:e.canonical}}var Rt=/^(.*)[\\\/]/;function Nt(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,l=Oe(e.type);n=null,r&&(n=Oe(r.type)),r=l,l="",i?l=" (at "+i.fileName.replace(Rt,"")+":"+i.lineNumber+")":n&&(l=" (created by "+n+")"),n="\n in "+(r||"Unknown")+l}t+=n,e=e.return}while(e);return t}new Set;var It=[],zt=-1;function Ut(e){0>zt||(e.current=It[zt],It[zt]=null,zt--)}function Mt(e,t){It[++zt]=e.current,e.current=t}var At={},Dt={current:At},Ft={current:!1},jt=At;function Ot(e,t){var n=e.type.contextTypes;if(!n)return At;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,l={};for(i in n)l[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Wt(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ht(e){Ut(Ft),Ut(Dt)}function Bt(e){Ut(Ft),Ut(Dt)}function Qt(e,t,n){if(Dt.current!==At)throw f(Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."));Mt(Dt,t),Mt(Ft,n)}function Lt(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw f(Error((Oe(t)||"Unknown")+'.getChildContext(): key "'+i+'" is not defined in childContextTypes.'));return o({},n,r)}function Yt(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||At,jt=Dt.current,Mt(Dt,t),Mt(Ft,Ft.current),!0}function Vt(e,t,n){var r=e.stateNode;if(!r)throw f(Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."));n?(t=Lt(e,t,jt),r.__reactInternalMemoizedMergedChildContext=t,Ut(Ft),Ut(Dt),Mt(Dt,t)):Ut(Ft),Mt(Ft,n)}var Xt=s.unstable_runWithPriority,qt=s.unstable_scheduleCallback,$t=s.unstable_cancelCallback,Gt=s.unstable_shouldYield,Jt=s.unstable_requestPaint,Kt=s.unstable_now,Zt=s.unstable_getCurrentPriorityLevel,en=s.unstable_ImmediatePriority,tn=s.unstable_UserBlockingPriority,nn=s.unstable_NormalPriority,rn=s.unstable_LowPriority,ln=s.unstable_IdlePriority,an={},on=void 0!==Jt?Jt:function(){},un=null,cn=null,sn=!1,fn=Kt(),dn=1e4>fn?Kt:function(){return Kt()-fn};function pn(){switch(Zt()){case en:return 99;case tn:return 98;case nn:return 97;case rn:return 96;case ln:return 95;default:throw f(Error("Unknown priority level."))}}function hn(e){switch(e){case 99:return en;case 98:return tn;case 97:return nn;case 96:return rn;case 95:return ln;default:throw f(Error("Unknown priority level."))}}function mn(e,t){return e=hn(e),Xt(e,t)}function gn(e,t,n){return e=hn(e),qt(e,t,n)}function yn(e){return null===un?(un=[e],cn=qt(en,bn)):un.push(e),an}function vn(){null!==cn&&$t(cn),bn()}function bn(){if(!sn&&null!==un){sn=!0;var e=0;try{var t=un;mn(99,function(){for(;e=(e=10*(1073741821-t)-10*(1073741821-e))?99:250>=e?98:5250>=e?97:95}function En(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var xn=Object.prototype.hasOwnProperty;function Sn(e,t){if(En(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r=t&&(hi=!0),e.firstContext=null)}function An(e,t){if(Rn!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Rn=e,t=1073741823),t={context:e,observedBits:t,next:null},null===_n){if(null===Cn)throw f(Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."));_n=t,Cn.dependencies={expirationTime:0,firstContext:t,responders:null}}else _n=_n.next=t;return e._currentValue2}var Dn=!1;function Fn(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function jn(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function On(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Wn(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Hn(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=Fn(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=Fn(e.memoizedState),i=n.updateQueue=Fn(n.memoizedState)):r=e.updateQueue=jn(i):null===i&&(i=n.updateQueue=jn(r));null===i||r===i?Wn(r,t):null===r.lastUpdate||null===i.lastUpdate?(Wn(r,t),Wn(i,t)):(Wn(r,t),i.lastUpdate=t)}function Bn(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Fn(e.memoizedState):Qn(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Qn(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=jn(t)),t}function Ln(e,t,n,r,i,l){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(l,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null===(i="function"==typeof(e=n.payload)?e.call(l,r,i):e)||void 0===i)break;return o({},r,i);case 2:Dn=!0}return r}function Yn(e,t,n,r,i){Dn=!1;for(var l=(t=Qn(e,t)).baseState,a=null,o=0,u=t.firstUpdate,c=l;null!==u;){var s=u.expirationTime;sm?(g=f,f=null):g=f.sibling;var y=p(i,f,o[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(i,f),a=l(y,a,m),null===s?c=y:s.sibling=y,s=y,f=g}if(m===o.length)return n(i,f),c;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=p(i,m,v.value,u);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(i,m),a=l(b,a,g),null===s?c=b:s.sibling=b,s=b,m=y}if(v.done)return n(i,m),c;if(null===m){for(;!v.done;g++,v=o.next())null!==(v=d(i,v.value,u))&&(a=l(v,a,g),null===s?c=v:s.sibling=v,s=v);return c}for(m=r(i,m);!v.done;g++,v=o.next())null!==(v=h(m,i,g,v.value,u))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),a=l(v,a,g),null===s?c=v:s.sibling=v,s=v);return e&&m.forEach(function(e){return t(i,e)}),c}return function(e,r,l,o){var u="object"==typeof l&&null!==l&&l.type===Pe&&null===l.key;u&&(l=l.props.children);var c="object"==typeof l&&null!==l;if(c)switch(l.$$typeof){case we:e:{for(c=l.key,u=r;null!==u;){if(u.key===c){if(7===u.tag?l.type===Pe:u.elementType===l.type){n(e,u.sibling),(r=i(u,l.type===Pe?l.props.children:l.props)).ref=rr(e,u,l),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}l.type===Pe?((r=oa(l.props.children,e.mode,o,l.key)).return=e,e=r):((o=aa(l.type,l.key,l.props,null,e.mode,o)).ref=rr(e,r,l),o.return=e,e=o)}return a(e);case ke:e:{for(u=l.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===l.containerInfo&&r.stateNode.implementation===l.implementation){n(e,r.sibling),(r=i(r,l.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=ca(l,e.mode,o)).return=e,e=r}return a(e)}if("string"==typeof l||"number"==typeof l)return l=""+l,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,l)).return=e,e=r):(n(e,r),(r=ua(l,e.mode,o)).return=e,e=r),a(e);if(nr(l))return m(e,r,l,o);if(je(l))return g(e,r,l,o);if(c&&ir(e,l),void 0===l&&!u)switch(e.tag){case 1:case 0:throw e=e.type,f(Error((e.displayName||e.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null."))}return n(e,r)}}var ar=lr(!0),or=lr(!1),ur={},cr={current:ur},sr={current:ur},fr={current:ur};function dr(e){if(e===ur)throw f(Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."));return e}function pr(e,t){Mt(fr,t),Mt(sr,e),Mt(cr,ur),Ut(cr),Mt(cr,{isInAParentText:!1})}function hr(e){Ut(cr),Ut(sr),Ut(fr)}function mr(e){dr(fr.current);var t=dr(cr.current),n=e.type;n="AndroidTextInput"===n||"RCTMultilineTextInputView"===n||"RCTSinglelineTextInputView"===n||"RCTText"===n||"RCTVirtualText"===n,t!==(n=t.isInAParentText!==n?{isInAParentText:n}:t)&&(Mt(sr,e),Mt(cr,n))}function gr(e){sr.current===e&&(Ut(cr),Ut(sr))}var yr=1,vr=1,br=2,Tr={current:0};function Er(e){for(var t=e;null!==t;){if(13===t.tag){if(null!==t.memoizedState)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function xr(e,t){return{responder:e,props:t}}var Sr=0,wr=2,kr=4,Pr=8,Cr=16,_r=32,Rr=64,Nr=128,Ir=xe.ReactCurrentDispatcher,zr=0,Ur=null,Mr=null,Ar=null,Dr=null,Fr=null,jr=null,Or=0,Wr=null,Hr=0,Br=!1,Qr=null,Lr=0;function Yr(){throw f(Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem."))}function Vr(e,t){if(null===t)return!1;for(var n=0;nOr&&(Or=s)):(Wl(s,u.suspenseConfig),l=u.eagerReducer===e?u.eagerState:e(l,u.action)),a=u,u=u.next}while(null!==u&&u!==r);c||(o=a,i=l),En(l,t.memoizedState)||(hi=!0),t.memoizedState=l,t.baseUpdate=o,t.baseState=i,n.lastRenderedState=l}return[t.memoizedState,n.dispatch]}function Zr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Wr?(Wr={lastEffect:null}).lastEffect=e.next=e:null===(t=Wr.lastEffect)?Wr.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Wr.lastEffect=e),e}function ei(e,t,n,r){var i=$r();Hr|=e,i.memoizedState=Zr(t,n,void 0,void 0===r?null:r)}function ti(e,t,n,r){var i=Gr();r=void 0===r?null:r;var l=void 0;if(null!==Mr){var a=Mr.memoizedState;if(l=a.destroy,null!==r&&Vr(r,a.deps))return void Zr(Sr,n,l,r)}Hr|=e,i.memoizedState=Zr(t,n,l,r)}function ni(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ri(){}function ii(e,t,n){if(!(25>Lr))throw f(Error("Too many re-renders. React limits the number of renders to prevent an infinite loop."));var r=e.alternate;if(e===Ur||null!==r&&r===Ur)if(Br=!0,e={expirationTime:zr,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===Qr&&(Qr=new Map),void 0===(n=Qr.get(t)))Qr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=Nl(),l=qn.suspense;l={expirationTime:i=Il(i,e,l),suspenseConfig:l,action:n,eagerReducer:null,eagerState:null,next:null};var a=t.last;if(null===a)l.next=l;else{var o=a.next;null!==o&&(l.next=o),a.next=l}if(t.last=l,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var u=t.lastRenderedState,c=r(u,n);if(l.eagerReducer=r,l.eagerState=c,En(c,u))return}catch(e){}zl(e,i)}}var li={readContext:An,useCallback:Yr,useContext:Yr,useEffect:Yr,useImperativeHandle:Yr,useLayoutEffect:Yr,useMemo:Yr,useReducer:Yr,useRef:Yr,useState:Yr,useDebugValue:Yr,useResponder:Yr},ai={readContext:An,useCallback:function(e,t){return $r().memoizedState=[e,void 0===t?null:t],e},useContext:An,useEffect:function(e,t){return ei(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ei(4,36,ni.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ei(4,36,e,t)},useMemo:function(e,t){var n=$r();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$r();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ii.bind(null,Ur,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$r().memoizedState=e},useState:function(e){var t=$r();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Jr,lastRenderedState:e}).dispatch=ii.bind(null,Ur,e),[t.memoizedState,e]},useDebugValue:ri,useResponder:xr},oi={readContext:An,useCallback:function(e,t){var n=Gr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Vr(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:An,useEffect:function(e,t){return ti(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ti(4,36,ni.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ti(4,36,e,t)},useMemo:function(e,t){var n=Gr();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Vr(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Kr,useRef:function(){return Gr().memoizedState},useState:function(e){return Kr(Jr)},useDebugValue:ri,useResponder:xr},ui=null,ci=null,si=!1;function fi(e,t){switch(e.tag){case 5:return null!==(t=ot(e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=ot(e.pendingProps))&&(e.stateNode=t,!0);case 13:default:return!1}}function di(e){if(si){var t=ci;if(t){var n=t;if(!fi(e,t)){if(!(t=ot())||!fi(e,t))return e.effectTag|=2,si=!1,void(ui=e);var r=ui,i=na(5,null,null,0);i.elementType="DELETED",i.type="DELETED",i.stateNode=n,i.return=r,i.effectTag=8,null!==r.lastEffect?(r.lastEffect.nextEffect=i,r.lastEffect=i):r.firstEffect=r.lastEffect=i}ui=e,ci=ot()}else e.effectTag|=2,si=!1,ui=e}}var pi=xe.ReactCurrentOwner,hi=!1;function mi(e,t,n,r){t.child=null===e?or(t,null,n,r):ar(t,e.child,n,r)}function gi(e,t,n,r,i){n=n.render;var l=t.ref;return Mn(t,i),r=Xr(e,t,n,r,l,i),null===e||hi?(t.effectTag|=1,mi(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),_i(e,t,i))}function yi(e,t,n,r,i,l){if(null===e){var a=n.type;return"function"!=typeof a||ra(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=aa(n.type,null,r,null,t.mode,l)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,vi(e,t,a,r,i,l))}return a=e.child,it)&&Pl.set(e,t))}}function Ul(e,t){e.expirationTimei.firstPendingTime&&(i.firstPendingTime=t),0===(e=i.lastPendingTime)||t=t)&&(gn(97,function(){return n._onComplete(),null}),!0)}function Fl(){if(null!==Pl){var e=Pl;Pl=null,e.forEach(function(e,t){yn(Ol.bind(null,t,e))}),vn()}}function jl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ct(n)),null!==cl)for(n=cl.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!==i&&void 0!==i&&Ht();break;case 3:hr(),Bt();break;case 5:gr(r);break;case 4:hr();break;case 13:case 19:Ut(Tr);break;case 10:zn(r)}n=n.return}ul=e,cl=la(e.current,null),sl=t,fl=nl,pl=dl=1073741823,hl=null,ml=!1}function Ol(e,t,n){if((48&ol)!==Ki)throw f(Error("Should not already be working."));if(e.firstPendingTime component higher in the tree to provide a loading indicator or placeholder to display."+Nt(u))}fl!==al&&(fl=rl),c=Di(c,u),u=o;do{switch(u.tag){case 3:u.effectTag|=2048,u.expirationTime=s,Bn(u,s=Xi(u,c,s));break e;case 1:if(d=c,a=u.type,o=u.stateNode,0==(64&u.effectTag)&&("function"==typeof a.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===El||!El.has(o)))){u.effectTag|=2048,u.expirationTime=s,Bn(u,s=qi(u,d,s));break e}}u=u.return}while(null!==u)}cl=Bl(l)}if(ol=r,Nn(),Gi.current=i,null!==cl)return Ol.bind(null,e,t)}if(e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Dl(e,t))return null;switch(ul=null,fl){case nl:throw f(Error("Should have a work-in-progress."));case rl:return(r=e.lastPendingTime)(n=r-n)&&(n=0),t<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*$i(n/1960))-n)&&(n=t)),10=(t=0|(i=hl).busyMinDurationMs)?t=0:(n=0|i.busyDelayMs,t=(r=dn()-(10*(1073741821-r)-(0|i.timeoutMs||5e3)))<=n?0:n+t-r),10i.tailExpiration&&1r&&(r=l),a>r&&(r=a),i=i.sibling;n.childExpirationTime=r}if(null!==t)return t;null!==e&&0==(1024&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=cl.firstEffect),null!==cl.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=cl.firstEffect),e.lastEffect=cl.lastEffect),1i?l:i,e.firstPendingTime=i,i=n?ki(e,t,n):(Mt(Tr,Tr.current&yr),null!==(t=_i(e,t,n))?t.sibling:null);Mt(Tr,Tr.current&yr);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Ci(e,t,n);t.effectTag|=64}var i=t.memoizedState;if(null!==i&&(i.rendering=null,i.tail=null),Mt(Tr,Tr.current),!r)return null}return _i(e,t,n)}}else hi=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Ot(t,Dt.current),Mn(t,n),i=Xr(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,qr(),Wt(r)){var l=!0;Yt(t)}else l=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var a=r.getDerivedStateFromProps;"function"==typeof a&&Gn(t,r,a,e),i.updater=Jn,t.stateNode=i,i._reactInternalFiber=t,tr(t,r,e,n),t=xi(null,t,r,!0,l,n)}else t.tag=0,mi(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=kn(i),t.type=i,l=t.tag=ia(i),e=wn(i,e),l){case 0:t=Ti(null,t,i,e,n);break;case 1:t=Ei(null,t,i,e,n);break;case 11:t=gi(null,t,i,e,n);break;case 14:t=yi(null,t,i,wn(i.type,e),r,n);break;default:throw f(Error("Element type is invalid. Received a promise that resolves to: "+i+". Lazy element type must resolve to a class or function."))}return t;case 0:return r=t.type,i=t.pendingProps,Ti(e,t,r,i=t.elementType===r?i:wn(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ei(e,t,r,i=t.elementType===r?i:wn(r,i),n);case 3:if(Si(t),null===(r=t.updateQueue))throw f(Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue."));return i=null!==(i=t.memoizedState)?i.element:null,Yn(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?t=_i(e,t,n):(mi(e,t,r,n),t=t.child),t;case 5:return mr(t),null===e&&di(t),r=t.pendingProps.children,bi(e,t),mi(e,t,r,n),t.child;case 6:return null===e&&di(t),null;case 13:return ki(e,t,n);case 4:return pr(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ar(t,null,r,n):mi(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,gi(e,t,r,i=t.elementType===r?i:wn(r,i),n);case 7:return mi(e,t,t.pendingProps,n),t.child;case 8:case 12:return mi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,In(t,l=i.value),null!==a){var o=a.value;if(0===(l=En(o,l)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(o,l):1073741823))){if(a.children===i.children&&!Ft.current){t=_i(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var u=o.dependencies;if(null!==u){a=o.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&l)){1===o.tag&&((c=On(n,null)).tag=2,Hn(o,c)),o.expirationTimeo&&(s+=c&&u?v.currentPageX:c&&!u?v.currentPageY:!c&&u?v.previousPageX:v.previousPageY,h=1);else for(var C=0;C=o){s+=c&&u?l.currentPageX:c&&!u?l.currentPageY:!c&&u?l.previousPageX:l.previousPageY,h++}}return h>0?s/h:n.noCentroid},currentCentroidXOfTouchesChangedAfter:function(t,o){return n.centroidDimension(t,o,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(t,o){return n.centroidDimension(t,o,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(t,o){return n.centroidDimension(t,o,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(t,o){return n.centroidDimension(t,o,!1,!1)},currentCentroidX:function(t){return n.centroidDimension(t,0,!0,!0)},currentCentroidY:function(t){return n.centroidDimension(t,0,!1,!0)},noCentroid:-1};m.exports=n},359,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),s=n(r(d[1])),t=n(r(d[2])),o=n(r(d[3])),E=n(r(d[4])),u=n(r(d[5])),A=n(r(d[6])),c=n(r(d[7]));function _(n,s){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);s&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(n,s).enumerable})),t.push.apply(t,o)}return t}function S(n){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};l('object'==typeof t&&null!==t,'Content to share must be a valid object'),l('string'==typeof t.url||'string'==typeof t.message,'At least one of URL and message is required'),l('object'==typeof s&&null!==s,'Options must be a valid object'),l(n.default,'ShareModule should be registered on Android.'),l(!t.title||'string'==typeof t.title,'Invalid title: title should be a string.');var o={title:t.title,message:'string'==typeof t.message?t.message:void 0};return n.default.share(o,s.dialogTitle)}}]),t})());u.sharedAction='sharedAction',u.dismissedAction='dismissedAction',m.exports=u},365,[3,4,5,328,366,52,17,75]); -__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 u=t(r(d[1])).get('ShareModule');e.default=u},366,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=new t('StatusBarManager')},367,[121]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t(r(d[1])),s=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),c=(function(){function t(){(0,s.default)(this,t)}return(0,u.default)(t,null,[{key:"open",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!o.default){n.next=4;break}return n.abrupt("return",o.default.open(t));case 4:return n.abrupt("return",Promise.reject({message:'TimePickerAndroid is not supported on this platform.'}));case 5:case"end":return n.stop()}})}}]),t})();c.timeSetAction='timeSetAction',c.dismissedAction='dismissedAction',m.exports=c},368,[3,272,4,5,369]); -__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 u=t(r(d[1])).get('TimePickerAndroid');e.default=u},369,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1])),s={SHORT:t.default.getConstants().SHORT,LONG:t.default.getConstants().LONG,TOP:t.default.getConstants().TOP,BOTTOM:t.default.getConstants().BOTTOM,CENTER:t.default.getConstants().CENTER,show:function(s,n){t.default.show(s,n)},showWithGravity:function(s,n,f){t.default.showWithGravity(s,n,f)},showWithGravityAndOffset:function(s,n,f,o,u){t.default.showWithGravityAndOffset(s,n,f,o,u)}};m.exports=s},370,[3,371]); -__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 o=t(r(d[1])).getEnforcing('ToastAndroid');e.default=o},371,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=u.default.get('window'),n=f.useState(!1)[1].bind(null,function(t){return!t}),c=f.useState(t)[0];return f.useEffect(function(){return u.default.addEventListener('change',n),u.default.get('window')!==c&&n(),function(){u.default.removeEventListener('change',n)}},[n,c]),t};var u=n(r(d[2])),f=t(r(d[3]))},372,[1,3,60,12]); -__d(function(g,r,i,a,m,e,d){'use strict';var A=r(d[0])({BOM:"\ufeff",BULLET:"\u2022",BULLET_SP:"\xa0\u2022\xa0",MIDDOT:"\xb7",MIDDOT_SP:"\xa0\xb7\xa0",MIDDOT_KATAKANA:"\u30fb",MDASH:"\u2014",MDASH_SP:"\xa0\u2014\xa0",NDASH:"\u2013",NDASH_SP:"\xa0\u2013\xa0",NBSP:"\xa0",PIZZA:"\ud83c\udf55",TRIANGLE_LEFT:"\u25c0",TRIANGLE_RIGHT:"\u25b6"});m.exports=A},373,[37]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])(r(d[1]));r(d[2]);var n={vibrate:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:400,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if('number'==typeof n)t.default.vibrate(n);else{if(!Array.isArray(n))throw new Error('Vibration pattern should be a number or array');t.default.vibrateByPattern(n,o?0:-1)}},cancel:function(){t.default.cancel()}};m.exports=n},374,[3,375,52]); -__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])).getEnforcing('Vibration');e.default=n},375,[1,23]); -__d(function(g,r,i,a,m,e,d){'use strict';var n,t=r(d[0]),u=r(d[1]),l=r(d[2]),o=r(d[3]),s=r(d[4]);n=(function(n){function c(){return t(this,c),l(this,o(c).apply(this,arguments))}return s(c,n),u(c,[{key:"render",value:function(){return null}}],[{key:"ignoreWarnings",value:function(n){}},{key:"install",value:function(){}},{key:"uninstall",value:function(){}}]),c})(r(d[5]).Component),m.exports=n},376,[4,5,6,8,9,12]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),s=n.shape({x:n.number,y:n.number});m.exports=s},377,[67]); -__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),c=r(d[1]);e.__esModule=!0;var v=c(r(d[2]));e.Provider=v.default,e.createProvider=v.createProvider;var n=t(r(d[3]));e.connectAdvanced=n.default;var o=t(r(d[4]));e.connect=o.default},378,[3,1,379,383,388]); -__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]);e.__esModule=!0,e.createProvider=c,e.default=void 0;var o=n(r(d[2])),u=t(r(d[3])),s=n(r(d[4])),l=r(d[5]);n(r(d[6])),u.default.forwardRef;function c(t){var n;void 0===t&&(t='store');var c=t+"Subscription",p=(function(n){(0,o.default)(l,n);var s=l.prototype;function l(o,u){var s;return(s=n.call(this,o,u)||this)[t]=o.store,s}return s.getChildContext=function(){var n;return(n={})[t]=this[t],n[c]=null,n},s.render=function(){return u.Children.only(this.props.children)},l})(u.Component);return p.propTypes={store:l.storeShape.isRequired,children:s.default.element.isRequired},p.childContextTypes=((n={})[t]=l.storeShape.isRequired,n[c]=l.subscriptionShape,n),p}var p=c();e.default=p},379,[1,3,380,12,67,381,382]); -__d(function(g,r,i,a,m,e,d){m.exports=function(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,t.__proto__=o}},380,[]); -__d(function(g,r,i,a,m,e,d){"use strict";var u=r(d[0]);e.__esModule=!0,e.storeShape=e.subscriptionShape=void 0;var s=u(r(d[1])),t=s.default.shape({trySubscribe:s.default.func.isRequired,tryUnsubscribe:s.default.func.isRequired,notifyNestedSubs:s.default.func.isRequired,isSubscribed:s.default.func.isRequired});e.subscriptionShape=t;var f=s.default.shape({subscribe:s.default.func.isRequired,dispatch:s.default.func.isRequired,getState:s.default.func.isRequired});e.storeShape=f},381,[3,67]); -__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.default=function(o){'undefined'!=typeof console&&'function'==typeof console.error&&console.error(o);try{throw new Error(o)}catch(o){}}},382,[]); -__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),o=r(d[1]);e.__esModule=!0,e.default=function(t,o){var w,W;void 0===o&&(o={});var P=o,x=P.getDisplayName,R=void 0===x?function(t){return"ConnectAdvanced("+t+")"}:x,D=P.methodName,I=void 0===D?'connectAdvanced':D,M=P.renderCountProp,E=void 0===M?void 0:M,T=P.shouldHandleStateChanges,_=void 0===T||T,A=P.storeKey,H=void 0===A?'store':A,K=P.withRef,O=void 0!==K&&K,B=(0,u.default)(P,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),F=H+'Subscription',J=C++,V=((w={})[H]=v.storeShape,w[F]=v.subscriptionShape,w),Y=((W={})[F]=v.subscriptionShape,W);return function(o){(0,h.default)((0,f.isValidElementType)(o),"You must pass a component to the function returned by "+I+". Instead received "+JSON.stringify(o));var u=o.displayName||o.name||'Component',v=R(u),C=(0,p.default)({},B,{getDisplayName:R,methodName:I,renderCountProp:E,shouldHandleStateChanges:_,storeKey:H,withRef:O,displayName:v,wrappedComponentName:u,WrappedComponent:o}),w=(function(u){function c(t,o){var n;return(n=u.call(this,t,o)||this).version=J,n.state={},n.renderCount=0,n.store=t[H]||o[H],n.propsMode=Boolean(t[H]),n.setWrappedInstance=n.setWrappedInstance.bind((0,s.default)((0,s.default)(n))),(0,h.default)(n.store,"Could not find \""+H+"\" in either the context or props of \""+v+"\". Either wrap the root component in a , or explicitly pass \""+H+"\" as a prop to \""+v+"\"."),n.initSelector(),n.initSubscription(),n}(0,n.default)(c,u);var f=c.prototype;return f.getChildContext=function(){var t,o=this.propsMode?null:this.subscription;return(t={})[F]=o||this.context[F],t},f.componentDidMount=function(){_&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},f.componentWillReceiveProps=function(t){this.selector.run(t)},f.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},f.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=N,this.store=null,this.selector.run=N,this.selector.shouldComponentUpdate=!1},f.getWrappedInstance=function(){return(0,h.default)(O,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+I+"() call."),this.wrappedInstance},f.setWrappedInstance=function(t){this.wrappedInstance=t},f.initSelector=function(){var o=t(this.store.dispatch,C);this.selector=U(o,this.store),this.selector.run(this.props)},f.initSubscription=function(){if(_){var t=(this.propsMode?this.props:this.context)[F];this.subscription=new b.default(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},f.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(S)):this.notifyNestedSubs()},f.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},f.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},f.addExtraProps=function(t){if(!(O||E||this.propsMode&&this.subscription))return t;var o=(0,p.default)({},t);return O&&(o.ref=this.setWrappedInstance),E&&(o[E]=this.renderCount++),this.propsMode&&this.subscription&&(o[F]=this.subscription),o},f.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return(0,l.createElement)(o,this.addExtraProps(t.props))},c})(l.Component);return y&&(w.prototype.UNSAFE_componentWillReceiveProps=w.prototype.componentWillReceiveProps,delete w.prototype.componentWillReceiveProps),w.WrappedComponent=o,w.displayName=v,w.childContextTypes=Y,w.contextTypes=V,w.propTypes=V,(0,c.default)(w,o)}};var n=o(r(d[2])),s=o(r(d[3])),p=o(r(d[4])),u=o(r(d[5])),c=o(r(d[6])),h=o(r(d[7])),l=t(r(d[8])),f=r(d[9]),b=o(r(d[10])),v=r(d[11]),y=void 0!==l.default.forwardRef,C=0,S={};function N(){}function U(t,o){var n={run:function(s){try{var p=t(o.getState(),s);(p!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=p,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}},383,[1,3,380,7,11,57,384,17,12,385,387,381]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},p={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},y={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function s(p){return t.isMemo(p)?y:n[p.$$typeof]||o}n[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[t.Memo]=y;var c=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,O=Object.getPrototypeOf,P=Object.prototype;m.exports=function t(o,y,n){if('string'!=typeof y){if(P){var v=O(y);v&&v!==P&&t(o,v,n)}var b=f(y);l&&(b=b.concat(l(y)));for(var j=s(o),T=s(y),$=0;$=0;u--){var p=o[u](t);if(p)return p}return function(o,u){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+u.wrappedComponentName+".")}}function P(t,o){return t===o}function E(t){var E=void 0===t?{}:t,q=E.connectHOC,S=void 0===q?u.default:q,h=E.mapStateToPropsFactories,w=void 0===h?l.default:h,M=E.mapDispatchToPropsFactories,T=void 0===M?s.default:M,C=E.mergePropsFactories,y=void 0===C?c.default:C,D=E.selectorFactory,F=void 0===D?f.default:D;return function(t,u,s,l){void 0===l&&(l={});var c=l,f=c.pure,E=void 0===f||f,q=c.areStatesEqual,h=void 0===q?P:q,M=c.areOwnPropsEqual,C=void 0===M?p.default:M,D=c.areStatePropsEqual,O=void 0===D?p.default:D,_=c.areMergedPropsEqual,N=void 0===_?p.default:_,H=(0,n.default)(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),B=v(t,w,'mapStateToProps'),I=v(u,T,'mapDispatchToProps'),b=v(s,y,'mergeProps');return S(F,(0,o.default)({methodName:'connect',getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:B,initMapDispatchToProps:I,initMergeProps:b,pure:E,areStatesEqual:h,areOwnPropsEqual:C,areStatePropsEqual:O,areMergedPropsEqual:N},H))}}var q=E();e.default=q},388,[3,11,57,383,389,390,397,398,399]); -__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.default=function(u,o){if(n(u,o))return!0;if('object'!=typeof u||null===u||'object'!=typeof o||null===o)return!1;var f=Object.keys(u),l=Object.keys(o);if(f.length!==l.length)return!1;for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:{})},stop:function(){return Ut('stop',{})},version:function(){return Ut('version',{})},resolve:function(e){return Ut('resolve',e)},get:function(e){return Ut('get',e)},claim_search:function(e){return Ut('claim_search',e)},claim_list:function(e){return Ut('claim_list',e)},channel_create:function(e){return Ut('channel_create',e)},channel_update:function(e){return Ut('channel_update',e)},channel_import:function(e){return Ut('channel_import',e)},channel_list:function(e){return Ut('channel_list',e)},stream_abandon:function(e){return Ut('stream_abandon',e)},stream_list:function(e){return Ut('stream_list',e)},channel_abandon:function(e){return Ut('channel_abandon',e)},support_create:function(e){return Ut('support_create',e)},support_list:function(e){return Ut('support_list',e)},stream_repost:function(e){return Ut('stream_repost',e)},file_list:function(){return Ut('file_list',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},file_delete:function(){return Ut('file_delete',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},file_set_status:function(){return Ut('file_set_status',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},blob_delete:function(){return Ut('blob_delete',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},blob_list:function(){return Ut('blob_list',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},wallet_balance:function(){return Ut('wallet_balance',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},wallet_decrypt:function(){return Ut('wallet_decrypt',{})},wallet_encrypt:function(){return Ut('wallet_encrypt',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},wallet_unlock:function(){return Ut('wallet_unlock',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},wallet_list:function(){return Ut('wallet_list',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},wallet_send:function(){return Ut('wallet_send',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},wallet_status:function(){return Ut('wallet_status',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},address_is_mine:function(){return Ut('address_is_mine',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},address_unused:function(){return Ut('address_unused',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},address_list:function(){return Ut('address_list',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},transaction_list:function(){return Ut('transaction_list',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},utxo_release:function(){return Ut('utxo_release',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},support_abandon:function(){return Ut('support_abandon',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},sync_hash:function(){return Ut('sync_hash',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},sync_apply:function(){return Ut('sync_apply',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},preference_get:function(){return Ut('preference_get',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},preference_set:function(){return Ut('preference_set',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},comment_list:function(){return Ut('comment_list',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},comment_create:function(){return Ut('comment_create',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},comment_hide:function(){return Ut('comment_hide',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},comment_abandon:function(){return Ut('comment_abandon',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},comment_update:function(){return Ut('comment_update',arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},connect:function(){return null===Dt.connectPromise&&(Dt.connectPromise=new Promise(function(e,t){var n=0;!(function r(){n+=1,Dt.status().then(e).catch(function(){n<=yt?setTimeout(r,n<50?400:1e3):t(new Error('Unable to connect to LBRY'))})})()})),Dt.connectPromise},publish:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(t,n){Dt.overrides.publish?Dt.overrides.publish(e).then(t,n):vt('publish',e,t,n)})}};function Nt(e){return e.status>=200&&e.status<300?e.json():e.json().then(function(e){var t;if(e.error){var n='object'==typeof e.error?e.error.message:e.error;t=new Error(n)}else t=new Error('Protocol error with unknown response signature');return Promise.reject(t)})}function vt(e,t,n,r){var a=(new Date).getTime(),i={method:'POST',headers:Dt.apiRequestHeaders,body:JSON.stringify({jsonrpc:'2.0',method:e,params:t,id:a})};return fetch(Dt.daemonConnectionString,i).then(Nt).then(function(e){var t=e.error||e.result&&e.result.error;return t?r(t):n(e.result)}).catch(r)}function Ut(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,r){vt(e,t,function(e){n(e)},r)})}var Pt=new Proxy(Dt,{get:function(e,t){return t in e?e[t]:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(n,r){vt(t,e,n,r)})}}});var bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=["s="+encodeURIComponent(e),"size="+(t.size||20),"from="+(t.from||0)],r=t.isBackgroundSearch;if(void 0!==r&&!r){var a=t[Rt.CLAIM_TYPE];a&&(n.push("claimType="+a),a.includes(Rt.INCLUDE_CHANNELS)||n.push("mediaType="+[Rt.MEDIA_FILE,Rt.MEDIA_AUDIO,Rt.MEDIA_VIDEO,Rt.MEDIA_TEXT,Rt.MEDIA_IMAGE,Rt.MEDIA_APPLICATION].reduce(function(e,n){return t[n]?""+e+n+",":e},'')))}var i={},o=t.related_to,c=t.nsfw;return o&&(i.related_to=o),void 0!==c&&(i.nsfw=c),Object.keys(i).forEach(function(e){var t=i[e];n.push(e+"="+t)}),n.join('&')},Ft=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var wt=1,Ht=40,Bt=/(?:[\0-\x08\x0B\f\x0E- "-&\/:-@\[-\^`\{-~\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,kt=new RegExp('^([\\S]+)([?][\\S]*)');function Wt(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new RegExp("^((?:lbry://)?)([^:$#/]*)([:$#]?)([^/]*)(/?)([^:$#/]*)([:$#]?)([^/]*)"),i=kt.exec(e);if(i){var o=i.slice(1).map(function(e){return e||null}),c=T(o,2);t=c[0],n=c[1]}var l=t||e,u=(a.exec(l)||[]).slice(1).map(function(e){return e||null}),s=m(u),E=s[0],_=s.slice(1),d=_.join(''),f=T(_,7),S=f[0],p=f[1],A=f[2],C=(f[3],f[4]),h=f[5],I=f[6];if(r&&!E)throw new Error(__('LBRY URLs must include a protocol prefix (lbry://).'));if(!S)throw new Error(__('URL does not include name.'));_.forEach(function(e){e&&e.includes(' ')&&console.error('URL can not include a space')});var R=S.startsWith('@'),g=S.startsWith('@')&&!C,O=R&&S.slice(1);if(R){if(!O)throw new Error(__('No channel name after @.'));if(O.lengthHt||!n.match(/^[0-9a-f]+$/)))throw new Error(__("Invalid claim ID %claimId%.",{claimId:n}));if(r&&!r.match(/^-?[1-9][0-9]*$/))throw new Error(__('Claim sequence must be a number.'));if(a&&!a.match(/^-?[1-9][0-9]*$/))throw new Error(__('Bid position must be a number.'));return[n,r,a]}function jt(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'lbry://',r=e.streamName,a=e.streamClaimId,i=e.channelName,o=e.channelClaimId,c=e.primaryClaimSequence,l=e.primaryBidPosition,u=e.secondaryClaimSequence,s=e.secondaryBidPosition,E=Mt(e,['streamName','streamClaimId','channelName','channelClaimId','primaryClaimSequence','primaryBidPosition','secondaryClaimSequence','secondaryBidPosition']),_=E.claimId,d=E.claimName,f=E.contentName;d||i||r||console.error(__("'claimName', 'channelName', and 'streamName' are all empty. One must be present to build a url."));var S=i&&(i.startsWith('@')?i:"@"+i),m=_||(S?o:a),T=!d&&f||(S?r:null),p=T&&a;return(t?n:'')+(d||f||S||r)+(m?"#"+m:'')+(c?":"+c:'')+(l?""+l:'')+(T?"/"+T:'')+(p?"#"+p:'')+(u?":"+u:'')+(s?""+s:'')}function Vt(e){var t=Wt(e);return jt({streamName:t.streamName,streamClaimId:t.streamClaimId,channelName:t.channelName,channelClaimId:t.channelClaimId,primaryClaimSequence:t.primaryClaimSequence,primaryBidPosition:t.primaryBidPosition,secondaryClaimSequence:t.secondaryClaimSequence,secondaryBidPosition:t.secondaryBidPosition})}var Yt=Object.assign||function(e){for(var t=1;tt})}),Mn=h.createSelector(bn,function(e){return e&&e.length>0}),wn=h.createSelector(_n,function(e){return e.fetchingTransactions}),Hn=h.createSelector(_n,function(e){return e.sendingSupport}),Bn=h.createSelector(_n,function(e){return e.receiveAddress}),kn=h.createSelector(_n,function(e){return e.gettingNewAddress}),Wn=h.createSelector(_n,function(e){return e.draftTransaction||{}}),Gn=h.createSelector(Wn,function(e){return e.amount}),jn=h.createSelector(Wn,function(e){return e.address}),Vn=h.createSelector(Wn,function(e){return e.error}),Yn=h.createSelector(_n,function(e){return e.blocks}),xn=(h.createSelector(_n,function(e){return e.latestBlock}),h.createSelector(_n,function(e){return e.transactionListFilter||''})),Kn=h.createSelector(bn,xn,function(e,t){return e.filter(function(e){return"all"===t||t===e.type})}),Qn=h.createSelector(bn,function(e){return e&&e.length?e.slice(0,20):[]}),qn=h.createSelector(Kn,function(e){return e.length}),zn=h.createSelector(_n,function(e){return e.walletReconnecting}),$n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Zn=Ot.reduce(function(e,t){return $n({},e,p({},t,!0))},{}),Jn=function(e){if(!e)throw new Error('No claim passed to isClaimNsfw()');if(!e.value)return!1;for(var t=e.value.tags||[],n=0;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e||0===e.length)return t?t.slice():[];var n=e.slice();return t.forEach(function(e){n.some(function(t){return t.claim_id===e.claim_id})||n.push(e)}),n}var nr=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1];return h.createSelector(sr,_r,function(n,r){var a,i,o,c;try{var l=Wt(e);c=l.isChannel,i=l.channelClaimId,o=l.streamClaimId,a=!0}catch(e){}if(a&&n){var u=r[c?i:o];if(u)return u;var s=n[Vt(e)];if(void 0===s||null===s)return s;var E=s.reposted_claim;if(E&&t){var _=s.signing_channel&&s.signing_channel.canonical_url;return nr({},E,{repost_url:e,repost_channel_url:_})}return s}})},Sr=h.createSelector(rr,function(e){return e.myClaims}),mr=h.createSelector(rr,function(e){return Object.keys(e.abandoningById||{})}),Tr=h.createSelector(Sr,mr,function(e,t){return new Set(e&&e.map(function(e){return e.claim_id}).filter(function(e){return-1===Object.keys(t).indexOf(e)}))}),pr=h.createSelector(rr,function(e){return e.fetchingChannelClaims||{}}),Ar=function(e){return h.createSelector(ar,Er,function(t,n){return(n[e]||{}).itemCount})},Cr=function(e){return h.createSelector(fr(e),function(e){return e&&e.value||(void 0===e?void 0:null)})},hr=function(e){return h.createSelector(fr(e),function(e){var t=e&&e.value&&e.value.source;return t?t.media_type:void 0})},Ir=h.createSelector(rr,function(e){return e.isFetchingClaimListMine}),Rr=h.createSelector(Tr,ar,mr,dr,function(e,t,n,r){var a=[];return e.forEach(function(e){var r=t[e];r&&-1===n.indexOf(e)&&a.push(r)}),[].concat(a,S(r))}),gr=h.createSelector(Rr,function(e){return e.filter(function(e){return!e.name.match(/^@/)}).sort(function(e,t){return e.timestamp-t.timestamp})}),Or=h.createSelector(gr,function(e){return e.sort(function(e,t){return e.timestamp?t.timestamp?t.timestamp-e.timestamp:1:-1}).map(function(e){return"lbry://"+e.name+"#"+e.claim_id})}),Lr=h.createSelector(Sr,function(e){return new Set(e&&e.length?e.map(function(e){return e.txid+":"+e.nout}):null)}),yr=h.createSelector(Rr,function(e){var t=[];return e.forEach(function(e){return t.push(e.txid+":"+e.nout)}),t}),Dr=h.createSelector(rr,function(e){return e.fetchingMyChannels}),Nr=h.createSelector(rr,ar,function(e,t){var n=e.myChannelClaims;if(!n)return n;var r=[];return n.forEach(function(e){t[e]&&r.push(t[e])}),r}),vr=h.createSelector(rr,function(e){return e.resolvingUris||[]}),Ur=h.createSelector(rr,function(e){return e.pendingChannelImport}),Pr=h.createSelector(rr,function(e){return e.playingUri}),br=h.createSelector(rr,function(e){return e.channelClaimCounts||{}}),Fr=function(e){return h.createSelector(br,function(t){return t&&t[e]})},Mr=function(e){return h.createSelector(fr(e),function(e){return!!e&&Jn(e)})},wr=function(e){return h.createSelector(fr(e),$t,Mr(e),function(t,n,r){var a;e.includes('#');if(t){var i=jt({streamClaimId:t.claim_id,streamName:t.name}),o=t.value.title;if(!o)return;var c={related_to:t.claim_id,isBackgroundSearch:!0};r||(c.nsfw=!1);var l=n[bt(o.replace(/\//,' '),c)];l&&(a=l=l.filter(function(e){return e!==i}))}return a})},Hr=h.createSelector(rr,function(e){return e.fetchingClaimSearchByQuery||{}}),Br=h.createSelector(Hr,function(e){return Boolean(Object.keys(e).length)}),kr=h.createSelector(rr,function(e){return e.claimSearchByQuery||{}}),Wr=h.createSelector(rr,function(e){return e.claimSearchByQueryLastPageReached||{}}),Gr=h.createSelector(rr,function(e){return e.updatingChannel}),jr=h.createSelector(rr,function(e){return e.updateChannelError}),Vr=h.createSelector(Or,function(e){return e.length});function Yr(e){return parseFloat(e).toFixed(8)}var xr=null;function Kr(){return function(e,t){var n=t().wallet.totalBalance;return null===xr&&(xr=Pt.wallet_balance().then(function(t){xr=null;var r=t.available,a=t.reserved,i=t.reserved_subtotals,o=t.total,c=i.claims,l=i.supports,u=i.tips,s=parseFloat(o);n!==s&&e({type:P,data:{totalBalance:s,balance:parseFloat(r),reservedBalance:parseFloat(a),claimsBalance:parseFloat(c),supportsBalance:parseFloat(l),tipsBalance:parseFloat(u)}})}).catch(function(){xr=null})),xr}}function Qr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:99999;return function(n){n(qr()),n({type:L}),Pt.utxo_release().then(function(){return Pt.transaction_list({page:e,page_size:t})}).then(function(e){n({type:y,data:{transactions:e.items}})})}}function qr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:99999;return function(n){n({type:D}),Pt.support_list({page:e,page_size:t}).then(function(e){n({type:N,data:{supports:e.items}})})}}function zr(){return function(e){e({type:g}),Pt.address_unused().then(function(t){e({type:O,data:{address:t}})})}}function $r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var a=e.map(Vt),i=r(),o=vr(i),c=sr(i),l=a.filter(function(e){return!o.includes(e)&&(!t||!c[e])});if(0!==l.length){n({type:ie,data:{uris:a}});var u={};Pt.resolve({urls:l}).then(function(e){Object.entries(e).forEach(function(e){var t=T(e,2),n=t[0],r=t[1];if(r)if(r.error)u[n]=Xr({},{stream:null,claimsInChannel:null,channel:null});else{var a={};'channel'===r.value_type?(a.channel=r,a.claimsInChannel=r.meta.claims_in_channel):(a.stream=r,r.signing_channel&&(a.channel=r.signing_channel,a.claimsInChannel=r.signing_channel.meta&&r.signing_channel.meta.claims_in_channel||0)),u[n]=a}}),n({type:oe,data:{resolveInfo:u}})})}}}function Jr(e){return Zr([e])}function ea(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:99999,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){r({type:ue}),Pt.claim_list({page:e,page_size:t,claim_type:['stream','repost'],resolve:n}).then(function(e){var t=e.items;r({type:se,data:{claims:t}})})}}var ta=function(e){return e.fileInfo||{}},na=h.createSelector(ta,function(e){return e.byOutpoint||{}}),ra=h.createSelector(ta,function(e){return e.isFetchingFileList}),aa=h.createSelector(ra,Ir,function(e,t){return e||t}),ia=function(e){return h.createSelector(sr,na,function(t,n){var r=t[e],a=r?r.txid+":"+r.nout:void 0;return a?n[a]:void 0})},oa=h.createSelector(ta,function(e){return e.downloadingByOutpoint||{}}),ca=h.createSelector(ta,function(e){return e.fetching||{}}),la=h.createSelector(na,Rr,function(e,t){return Object.values(e).reverse().filter(function(e){var n=t.map(function(e){return e.claim_id});return e&&-1===n.indexOf(e.claim_id)&&(e.completed||e.written_bytes>0||e.blobs_completed>0)})}),ua=h.createSelector(oa,na,function(e,t){var n=[];return Object.keys(e).forEach(function(e){var r=t[e];r&&n.push(r)}),n}),sa=h.createSelector(ua,function(e){var t=[];e.forEach(function(e){t.push(e.written_bytes/e.total_bytes*100)});var n=t.reduce(function(e,t){return e+t},0);return e.length>0?n/e.length/100:-1}),Ea=h.createSelector(ta,function(e){return e.fileListPublishedSort}),_a=h.createSelector(ta,function(e){return e.fileListDownloadedSort}),da=h.createSelector(la,function(e){return e.slice().map(function(e){return"lbry://"+e.claim_name+"#"+e.claim_id})}),fa=function(e){return h.createSelector(ia(e),hr(e),function(e,t){if(e||t){var n=e&&e.file_name;return Pt.getMediaType(t,n)}})},Sa=h.createSelector(da,function(e){return e.length});function ma(e,t){if(t){var n=new RegExp(t,'i');return e.filter(function(e){var t=e.metadata;return t.title&&t.title.match(n)||e.channel_name&&e.channel_name.match(n)||e.claim_name&&e.claim_name.match(n)})}return e}var Ta=function(e){return e.file||{}},pa=h.createSelector(Ta,function(e){return e.purchaseUriErrorMessage}),Aa=h.createSelector(Ta,function(e){return e.failedPurchaseUris}),Ca=h.createSelector(Ta,function(e){return e.purchasedUris}),ha=h.createSelector(Ta,function(e){return e.purchasedUris.length>0?e.purchasedUris[e.purchasedUris.length-1]:null}),Ia=function(e){return h.createSelector(ia(e),function(e){return e&&e.streaming_url})};function Ra(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;return function(r,a){var i=a(),o=fr(e)(i),c=o.nout,l=o.txid+":"+c;r({type:ze,data:{outpoint:l}}),Pt.get({uri:e,save_file:t}).then(function(t){null===t||'object'!=typeof t||'Timeout'===t.error?(r({type:Xe,data:{outpoint:l}}),r(sn({message:"File timeout for uri "+e,isError:!0}))):(r({type:et,data:{uri:e}}),r({type:$e,data:{fileInfo:t,outpoint:t.outpoint}}),n&&n(t))}).catch(function(){r({type:tt,data:{uri:e}}),r({type:Xe,data:{outpoint:l}}),r(sn({message:"Failed to view "+e+", please try again. If this problem persists, visit https://lbry.com/faq/support for support.",isError:!0}))})}}function ga(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:99999;return function(n,r){var a=r();ra(a)||(n({type:Qe}),Pt.file_list({page:e,page_size:t}).then(function(e){var t=e.items;n({type:qe,data:{fileInfos:t}})}))}}var Oa=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var ya=function(e){return e.publish||{}},Da=h.createSelector(ya,function(e){var t=e.editingURI,n=e.uri;if(!t||!n)return!1;var r=Wt(n),a=r.isChannel,i=r.streamName,o=r.channelName,c=Wt(t),l=c.isChannel,u=c.streamName,s=c.channelName;return(a?o:i)===(l?s:u)}),Na=h.createSelector(ya,Da,function(e,t){e.pendingPublish;var n,r=e.language,a=e.languages,i=La(e,['pendingPublish','language','languages']);return n=!r&&t&&a&&a[0]?a[0]:r||'en',Oa({},i,{language:n})}),va=h.createSelector(Na,Da,ar,gr,function(e,t,n,r){var a=e.editingURI,i=Wt(e.uri),o=i.channelName,c=i.streamName,l=Wt(a).streamClaimId;return t?n[l]:r.find(function(e){return o&&e.name===o||e.name===c})}),Ua=h.createSelector(ya,vr,function(e,t){var n=e.uri,r=e.name;if(n){var a,i=t.includes(n);if(Wt(n).isChannel&&r){var o=jt({streamName:r});a=t.includes(o)}return i||a}return!1}),Pa=h.createSelector(ya,va,sr,function(e,t,n){var r=e.name;if(!r)return null;var a=n[jt({streamName:r})];return!t&&a?a.meta.effective_amount:t&&a?a.meta.effective_amount||a.amount:null}),ba=Object.assign||function(e){for(var t=1;t0&&delete i[u]})):n=null,A({},e,{byId:o,claimsByUri:c,channelClaimCounts:l,fetchingMyChannels:!1,myChannelClaims:n,myClaims:tr(a,r)})},Qa[ce]=function(e,t){var n=t.data,r=n.uri,a=n.page,i=A({},e.fetchingChannelClaims);return i[r]=a,A({},e,{fetchingChannelClaims:i,currentChannelPage:a})},Qa[le]=function(e,t){var n=t.data,r=n.uri,a=n.claims,i=n.claimsInChannel,o=n.page,c=n.totalPages,l=A({},e.channelClaimCounts),u=A({},e.paginatedClaimsByChannel),s=i===(u[r]&&u[r].itemCount)?A({},u[r]):{},E=new Set(s.all),_=[],d=A({},e.byId),f=A({},e.fetchingChannelClaims),S=A({},e.claimsByUri);return void 0!==a&&a.forEach(function(e){E.add(e.claim_id),_.push(e.claim_id),d[e.claim_id]=e,S[e.canonical_url]=e.claim_id}),s.all=E,s.pageCount=c,s.itemCount=i,s[o]=_,u[r]=s,delete f[r],A({},e,{paginatedClaimsByChannel:u,byId:d,fetchingChannelClaims:f,claimsByUri:S,channelClaimCounts:l,currentChannelPage:o})},Qa[Ee]=function(e,t){var n=t.data.claimId,r=A({},e.abandoningById);return r[n]=!0,A({},e,{abandoningById:r})},Qa[_e]=function(e,t){var n=t.data.claimId,r=A({},e.byId),a=e.myClaims?e.myClaims.slice():[],i=A({},e.claimsByUri);Object.keys(i).forEach(function(e){i[e]===n&&delete i[e]});var o=a.filter(function(e){return e.claim_id&&e.claim_id!==n});return delete r[n],A({},e,{myClaims:o,byId:r,claimsByUri:i})},Qa[Se]=function(e){return Ka({},e,{creatingChannel:!0,createChannelError:null})},Qa[me]=function(e,t){var n=t.data.channelClaim,r=A({},e.byId),a=A({},e.pendingById),i=new Set(e.myChannelClaims);return r[n.claim_id]=n,a[n.claim_id]=n,i.add(n.claim_id),A({},e,{byId:r,pendingById:a,myChannelClaims:i,creatingChannel:!1})},Qa[Te]=function(e,t){return A({},e,{creatingChannel:!1,createChannelError:t.data})},Qa[pe]=function(e,t){return A({},e,{updateChannelError:'',updatingChannel:!0})},Qa[Ae]=function(e,t){var n=t.data.channelClaim,r=A({},e.byId);return r[n.claim_id]=n,A({},e,{byId:r,updateChannelError:'',updatingChannel:!1})},Qa[Ce]=function(e,t){return A({},e,{updateChannelError:t.data.message,updatingChannel:!1})},Qa[he]=function(e){return A({},e,{pendingChannelImports:!0})},Qa[Ie]=function(e){return A({},e,{pendingChannelImports:!1})},Qa[Oe]=function(e,t){var n=A({},e.fetchingClaimSearchByQuery);return n[t.data.query]=!0,A({},e,{fetchingClaimSearchByQuery:n})},Qa[Le]=function(e,t){var n=A({},e.fetchingClaimSearchByQuery),r=A({},e.claimSearchByQuery),a=A({},e.claimSearchByQueryLastPageReached),i=t.data,o=i.append,c=i.query,l=i.urls,u=i.pageSize;return r[c]=o&&r[c]&&r[c].length?r[c].concat(l):l,a[c]=l.length0&&void 0!==arguments[0]?arguments[0]:t,r=arguments.length>1?arguments[1]:void 0,a=e[r.type];if(a){var i=a(n,r);return A({},n,i)}return n}},Xa=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var _i={editingURI:void 0,filePath:void 0,contentIsFree:!0,fee:{amount:1,currency:'LBC'},title:'',thumbnail_url:'',thumbnailPath:'',uploadThumbnailStatus:"apiDown",description:'',language:'',nsfw:!1,channel:"anonymous",channelId:'',name:'',nameError:void 0,bid:.1,bidError:void 0,licenseType:'None',otherLicenseDescription:'All rights reserved',licenseUrl:'',tags:[],publishing:!1,publishSuccess:!1,publishError:void 0},di=$a((p(u={},"UPDATE_PUBLISH_FORM",function(e,t){var n=t.data;return si({},e,n)}),p(u,"CLEAR_PUBLISH",function(){return si({},_i)}),p(u,"PUBLISH_START",function(e){return si({},e,{publishing:!0,publishSuccess:!1})}),p(u,"PUBLISH_FAIL",function(e){return si({},e,{publishing:!1})}),p(u,"PUBLISH_SUCCESS",function(e){return si({},e,{publishing:!1,publishSuccess:!0})}),p(u,"DO_PREPARE_EDIT",function(e,t){var n=Ei(t.data,[]),r=n.channel,a=n.name,i=n.uri,o=jt({channelName:r,streamName:a});return si({},_i,n,{editingURI:i,uri:o})}),u),_i),fi=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:qa,t=arguments.length>1?arguments[1]:void 0,n=Qa[t.type];return n?n(e,t):e},i.commentReducer=Ja,i.contentReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ni,t=arguments.length>1?arguments[1]:void 0,n=ti[t.type];return n?n(e,t):e},i.convertToShareLink=function(e){var t=Wt(e);return jt({streamName:t.streamName,streamClaimId:t.streamClaimId,channelName:t.channelName,channelClaimId:t.channelClaimId,primaryBidPosition:t.primaryBidPosition,primaryClaimSequence:t.primaryClaimSequence,secondaryBidPosition:t.secondaryBidPosition,secondaryClaimSequence:t.secondaryClaimSequence},!0,'https://open.lbry.com/')},i.createNormalizedClaimSearchKey=er,i.creditsToString=Yr,i.doAbandonClaim=function(e,t){var n=e+":"+t;return function(r,a){var i=a(),o=Sr(i),c=Un(i),l=o.find(function(n){return n.txid===e&&n.nout===t}),u=c[n];if(l||u){var s=l?{claimId:l.claim_id}:{outpoint:u.txid+":"+u.nout},E=!!l,_=E?_e:U;r({type:E?Ee:v,data:s});var d,f={txid:e,nout:t,blocking:!0};u?d='support_abandon':l&&(d=l.name.startsWith('@')?'channel_abandon':'stream_abandon'),d?Pt[d](f).then(function(){r({type:_,data:s}),r(sn({message:E?'Successfully abandoned your claim.':u?'Successfully abandoned your support.':'Successfully unlocked your tip!'})),r(Qr(1,10))},function(){r(sn({message:E?'Error abandoning your claim/support':'Error unlocking your tip',isError:!0}))}):console.error('No "method" chosen for claim or support abandon')}else console.error('No associated support or claim with txid: ',e)}},i.doAddTag=function(e){return{type:"TAG_ADD",data:{name:e}}},i.doBalanceSubscribe=function(){return function(e){e(Kr()),setInterval(function(){return e(Kr())},5e3)}},i.doBlurSearchInput=function(){return function(e){return e({type:"SEARCH_BLUR"})}},i.doCheckAddressIsMine=function(e){return function(t){t({type:b}),Pt.address_is_mine({address:e}).then(function(e){e||t(zr()),t({type:F})})}},i.doCheckPendingPublishes=function(e){return function(t,n){var r,a=n(),i=_r(a);Object.keys(i).length&&(r=setInterval(function(){Pt.stream_list({page:1,page_size:10}).then(function(n){var a=n.items;a.forEach(function(t){t.confirmations>0&&i[t.claim_id]&&(delete i[t.claim_id],e&&e(t))}),t({type:se,data:{claims:a}}),Object.keys(i).length||clearInterval(r)})},3e4))}},i.doClaimSearch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{no_totals:!0,page_size:10,page:1},t=er(e);return function(n){n({type:Oe,data:{query:t}}),Pt.claim_search(e).then(function(r){var a={},i=[];r.items.forEach(function(e){a[e.canonical_url]={stream:e},i.push(e.canonical_url)}),n({type:Le,data:{query:t,resolveInfo:a,urls:i,append:e.page&&1!==e.page,pageSize:e.page_size}})},function(e){n({type:ye,data:{query:t},error:e})})}},i.doClearPublish=function(){return function(e){return e({type:"CLEAR_PUBLISH"}),e(Fa())}},i.doClearRepostError=function(){return{type:Ue}},i.doClearSupport=function(){return{type:G}},i.doCommentAbandon=xa,i.doCommentCreate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'',t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'',n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return function(a,i){var o=i();a({type:Me});var c=Nr(o),l=c&&c.find(function(e){return e.name===n}),u=l?l.claim_id:null;return Pt.comment_create({comment:e,claim_id:t,channel_id:u,parent_id:r}).then(function(e){a({type:we,data:{comment:e,claimId:t}})}).catch(function(e){a({type:He,data:e}),a(sn({message:'Unable to create comment, please try again later.',isError:!0}))})}},i.doCommentHide=function(e){return function(t){return t({type:Ye}),Pt.comment_hide({comment_ids:[e]}).then(function(e){t({type:xe,data:e})}).catch(function(e){t({type:Ke,data:e}),t(sn({message:'Unable to hide this comment, please try again later.',isError:!0}))})}},i.doCommentList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:99999;return function(r,a){var i=a(),o=sr(i)[e],c=o?o.claim_id:null;r({type:Pe}),Pt.comment_list({claim_id:c,page:t,page_size:n}).then(function(t){var n=t.items;r({type:be,data:{comments:n,claimId:c,uri:e}})}).catch(function(e){console.log(e),r({type:Fe,data:e})})}},i.doCommentUpdate=function(e,t){return''===t?xa(e):function(n){return n({type:Ge}),Pt.comment_update({comment_id:e,comment:t}).then(function(e){null!=e?n({type:je,data:{comment:e}}):(n({type:Ve}),n(sn({message:'Your channel is still being setup, try again in a few moments.',isError:!0})))}).catch(function(e){n({type:Ve,data:e}),n(sn({message:'Unable to edit this comment, please try again later.',isError:!0}))})}},i.doCreateChannel=function(e,t,n){return function(r){r({type:Se});var a={name:e,bid:Yr(t),blocking:!0};return n&&(n.title&&(a.title=n.title),n.coverUrl&&(a.cover_url=n.coverUrl),n.thumbnailUrl&&(a.thumbnail_url=n.thumbnailUrl),n.description&&(a.description=n.description),n.website&&(a.website_url=n.website),n.email&&(a.email=n.email),n.tags&&(a.tags=n.tags.map(function(e){return e.name}))),Pt.channel_create(a).then(function(e){var t=e.outputs[0];return r({type:me,data:{channelClaim:t}}),t}).catch(function(e){return r({type:Te,data:e.message}),e})}},i.doDeletePurchasedUri=function(e){return{type:nt,data:{uri:e}}},i.doDeleteTag=function(e){return{type:"TAG_DELETE",data:{name:e}}},i.doDismissError=function(){return{type:ot}},i.doDismissToast=function(){return{type:at}},i.doError=En,i.doFetchChannelListMine=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:99999,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r){r({type:de}),Pt.channel_list({page:e,page_size:t,resolve:n}).then(function(e){r({type:fe,data:{claims:e.items}})})}},i.doFetchClaimListMine=ea,i.doFetchClaimsByChannel=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(n){n({type:ce,data:{uri:e,page:t}}),Pt.claim_search({channel:e,valid_channel_signature:!0,page:t||1,order_by:['release_time']}).then(function(t){var r=t.items,a=t.total_items,i=t.page;n({type:le,data:{uri:e,claimsInChannel:a,claims:r||[],page:i||void 0}})})}},i.doFetchFileInfo=function(e){return function(t,n){var r=n(),a=sr(r)[e],i=a?a.txid+":"+a.nout:null;ca(r)[e]||(t({type:ze,data:{outpoint:i}}),Pt.file_list({outpoint:i,full_status:!0,page:1,page_size:1}).then(function(e){var n=e.items[0];t({type:$e,data:{outpoint:i,fileInfo:n||null}})}))}},i.doFetchFileInfosAndPublishedClaims=function(){return function(e,t){var n=t(),r=Ir(n),a=ra(n);r||e(ea()),a||e(ga())}},i.doFetchTransactions=Qr,i.doFileGet=Ra,i.doFileList=ga,i.doFocusSearchInput=function(){return function(e){return e({type:"SEARCH_FOCUS"})}},i.doGetNewAddress=zr,i.doImportChannel=function(e){return function(t){return t({type:he}),Pt.channel_import({channel_data:e}).then(function(e){t({type:Ie})}).catch(function(e){t({type:Re,data:e})})}},i.doPopulateSharedUserState=function(e){return function(t){var n=cn(e),r=n.subscriptions,a=n.tags,i=n.blocked,o=n.settings,c=n.app_welcome_version,l=n.sharing_3P;t({type:ct,data:{subscriptions:r,tags:a,blocked:i,settings:o,welcomeVersion:c,allowAnalytics:l}})}},i.doPreferenceGet=function(e,t,n){var r={key:e};Pt.preference_get(r).then(function(n){if(n){var r=n[e];return t(r)}return t(null)}).catch(function(e){n&&n(e)})},i.doPreferenceSet=ln,i.doPrepareEdit=function(e,t,n,r){return function(n){var r=e.name,a=e.amount,i=e.value,o=void 0===i?{}:i,c=e&&e.signing_channel&&e.signing_channel.name||null,l=o.author,u=o.description,s=o.fee,E=void 0===s?{amount:'0',currency:'LBC'}:s,_=o.languages,d=o.license,f=o.license_url,S=o.thumbnail,m=o.title,T=o.tags,p={name:r,bid:a,contentIsFree:'0'===E.amount,author:l,description:u,fee:E,languages:_,thumbnail:S?S.url:null,title:m,uri:t,uploadThumbnailStatus:S?"manual":void 0,licenseUrl:f,nsfw:Jn(e),tags:T?T.map(function(e){return{name:e}}):[]};ut.some(function(e){return e.value===d})?p.licenseType=d:(p.licenseType=d&&"None"!==d&&"Public Domain"!==d?d&&!f&&"None"!==d?"copyright":"other":d,p.otherLicenseDescription=d),c&&(p.channel=c),n({type:"DO_PREPARE_EDIT",data:p})}},i.doPublish=function(e,t){return function(n,r){n({type:"PUBLISH_START"});var a,i=r(),o=va(i),c=Nr(i),l=(gr(i),Na(i)),u=l.name,s=l.bid,E=l.filePath,_=l.description,d=l.language,f=(l.license,l.licenseUrl),S=l.licenseType,m=l.otherLicenseDescription,T=l.thumbnail,p=l.channel,A=l.title,C=l.contentIsFree,h=l.fee,I=(l.uri,l.tags),R=(l.locations,o&&o.name===u?o:null);switch(S){case"copyright":case"other":a=m;break;default:a=S}var g=c?c.find(function(e){return e.name===p}):null,O=g?g.claim_id:'',L={name:u,title:A,description:_,locations:[],bid:Yr(s),languages:[d],tags:I&&I.map(function(e){return e.name}),thumbnail_url:T,blocking:!0};return a&&(L.license=a),f&&(L.license_url=f),T&&(L.thumbnail_url=T),R&&R.value.release_time?L.release_time=Number(o.value.release_time):R&&R.timestamp?L.release_time=Number(R.timestamp):L.release_time=Number(Math.round(Date.now()/1e3)),O&&(L.channel_id=O),R&&R.value&&R.value.locations&&(L.locations=R.value.locations),!C&&h&&h.currency&&Number(h.amount)>0&&(L.fee_currency=h.currency,L.fee_amount=Yr(h.amount)),E&&(L.file_path=E),Pt.publish(L).then(e,t)}},i.doPurchaseUri=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3?arguments[3]:void 0;return function(a,i){a({type:Je,data:{uri:e}});var o=i(),c=gn(o),l=ia(e)(o),u=oa(o),s=l&&!!u[l.outpoint],E=Ia(e)(o);if(n||!s&&!E){var _=t.cost;parseFloat(_)>c?a({type:tt,data:{uri:e,error:'Insufficient credits'}}):a(Ra(e,n,r))}else a({type:tt,data:{uri:e,error:"Already fetching uri: "+e}})}},i.doRepost=function(e){return function(t){return new Promise(function(n){t({type:De}),Pt.stream_repost(e).then(function(r){var a=r.outputs[0];t({type:Ne,data:{originalClaimId:e.claim_id,repostClaim:a}}),t(ea(1,10)),n(a)},function(e){t({type:ve,data:{error:e.message}})})})}},i.doResetThumbnailStatus=Fa,i.doResolveUri=Jr,i.doResolveUris=Zr,i.doResolvedSearch=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5?arguments[5]:void 0;return function(o,c){var l=e.replace(/^lbry:\/\//i,'').replace(/\//,' ');if(l){var u=Wa({size:t,from:n,isBackgroundSearch:r},a),s=Wa({size:t,isBackgroundSearch:r},a),E=c(),_=nn(l,u)(E),d=nn(l,s)(E);o({type:"RESOLVED_SEARCH_START"}),E.search.searchQuery||r||o(Va(l)),fetch(i?Ga+"search?resolve=true&"+_:Ga+"search?resolve=true&nsfw=false&"+_).then(Ma).then(function(e){var r=[];e.forEach(function(e){e&&r.push(e)}),o({type:"RESOLVED_SEARCH_SUCCESS",data:{query:d,results:r,pageSize:t,append:parseInt(n,10)>parseInt(t,10)-1}})}).catch(function(e){o({type:"RESOLVED_SEARCH_FAIL"})})}else o({type:"RESOLVED_SEARCH_FAIL"})}},i.doSearch=Ya,i.doSendDraftTransaction=function(e,t){return function(n,r){var a=r();gn(a)-t<=0?n(sn({title:'Insufficient credits',message:'Insufficient credits'})):(n({type:M}),Pt.wallet_send({addresses:[e],amount:Yr(t)}).then(function(e){e.txid?(n({type:w}),n(sn({message:"You sent "+t+" LBC",linkText:'History',linkTarget:'/wallet'}))):(n({type:H,data:{error:e}}),n(sn({message:'Transaction failed',isError:!0})))},function(e){n({type:H,data:{error:e.message}}),n(sn({message:'Transaction failed',isError:!0}))}))}},i.doSendTip=function(e,t,n,r,a){return function(i,o){var c=o(),l=gn(c),u=Sr(c),s=n||!!u&&u.find(function(e){return e.claim_id===t});l-e<=0?i(sn({message:__('Insufficient credits'),isError:!0})):(i({type:B}),Pt.support_create({claim_id:t,amount:Yr(e),tip:!s,blocking:!0}).then(function(){i(sn({message:s?__('You deposited %amount% LBC as a support!',{amount:e}):__('You sent %amount% LBC as a tip, Mahalo!',{amount:e}),linkText:__('History'),linkTarget:__('/wallet')})),i({type:k}),r&&r()},function(e){i(sn({message:__("There was an error sending support funds."),isError:!0})),i({type:W,data:{error:e}}),a&&a()}))}},i.doSetDraftTransactionAddress=function(e){return{type:ae,data:{address:e}}},i.doSetDraftTransactionAmount=function(e){return{type:re,data:{amount:e}}},i.doSetFileListSort=function(e,t){return{type:Ze,data:{page:e,value:t}}},i.doSetTransactionListFilter=function(e){return{type:te,data:e}},i.doToast=sn,i.doToggleBlockChannel=function(e){return{type:"TOGGLE_BLOCK_CHANNEL",data:{uri:e}}},i.doToggleTagFollow=function(e){return{type:"TOGGLE_TAG_FOLLOW",data:{name:e}}},i.doUpdateBalance=Kr,i.doUpdateBlockHeight=function(){return function(e){return Pt.status().then(function(t){t.wallet&&e({type:ne,data:t.wallet.blocks})})}},i.doUpdateChannel=function(e){return function(t,n){t({type:pe});var r=n(),a=Nr(r).find(function(t){return t.claim_id===e.claim_id}),i={claim_id:e.claim_id,bid:Yr(e.amount),title:e.title,cover_url:e.coverUrl,thumbnail_url:e.thumbnailUrl,description:e.description,website_url:e.website,email:e.email,tags:[],replace:!0,languages:[],locations:[],blocking:!0};return e.tags&&(i.tags=e.tags.map(function(e){return e.name})),a&&a.value&&a.value.locations&&(i.locations=a.value.locations),a&&a.value&&a.value.languages&&(i.languages=a.value.languages),Pt.channel_update(i).then(function(e){var n=e.outputs[0];t({type:Ae,data:{channelClaim:n}})}).catch(function(e){t({type:Ce,data:e})})}},i.doUpdatePublishForm=function(e){return function(t){return t({type:"UPDATE_PUBLISH_FORM",data:ba({},e)})}},i.doUpdateSearchOptions=function(e,t){return function(n,r){var a=r(),i=Kt(a);n({type:"UPDATE_SEARCH_OPTIONS",data:e}),i&&n(Ya(i,t))}},i.doUpdateSearchQuery=Va,i.doUploadThumbnail=function(e,t,n,r,a){return function(i){var o,c,l,u,s=function(){for(var e='',t=0;t<24;t+=1)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return e},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'';i($r({type:"UPDATE_PUBLISH_FORM",data:{uploadThumbnailStatus:"ready",thumbnail:'',nsfw:!1}},En(e)))};if(i({type:"UPDATE_PUBLISH_FORM",data:{uploadThumbnailStatus:"inProgress"}}),!(n&&n.readFile&&e)){if(e&&r&&a)o=r.readFileSync(e),c=a.extname(e),l=a.basename(e),u="image/"+c.slice(1);else{if(!t)return null;c="."+(t.type&&t.type.split('/')[1]),l=t.name,u=t.type}var _=new FormData,d=s(),f=t||o&&new File([o],l,{type:u});return _.append('name',d),_.append('file',f),fetch(pt,{method:'POST',body:_}).then(function(e){return e.json()}).then(function(e){return e.success?i({type:"UPDATE_PUBLISH_FORM",data:{uploadThumbnailStatus:"complete",thumbnail:""+e.data.url+c}}):E(e.message)}).catch(function(e){return E(e.message)})}n.readFile(e,'base64').then(function(t){c='png',l='thumbnail.png',u='image/png';var n=new FormData,r=s();return n.append('name',r),n.append('file',{uri:'file://'+e,type:u,name:l}),fetch(pt,{method:'POST',body:n}).then(function(e){return e.json()}).then(function(e){return e.success?i({type:"UPDATE_PUBLISH_FORM",data:{uploadThumbnailStatus:"complete",thumbnail:e.data.url+"."+c}}):E(e.message)}).catch(function(e){return E(e.message)})})}},i.doWalletDecrypt=function(){return function(e){e({type:q}),Pt.wallet_decrypt().then(function(t){e(!0===t?{type:z,result:t}:{type:$,result:t})})}},i.doWalletEncrypt=function(e){return function(t){t({type:j}),Pt.wallet_encrypt({new_password:e}).then(function(e){t(!0===e?{type:V,result:e}:{type:Y,result:e})})}},i.doWalletReconnect=function(){return function(e){e({type:J}),Pt.wallet_reconnect().then(function(){return e({type:ee})})}},i.doWalletStatus=function(){return function(e){e({type:X}),Pt.wallet_status().then(function(t){t&&e({type:Z,result:t.is_encrypted})})}},i.doWalletUnlock=function(e){return function(t){t({type:x}),Pt.wallet_unlock({password:e}).then(function(e){t(!0===e?{type:K,result:e}:{type:Q,result:e})})}},i.fileInfoReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ai,t=arguments.length>1?arguments[1]:void 0,n=ri[t.type];return n?n(e,t):e},i.fileReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ci,t=arguments.length>1?arguments[1]:void 0,n=oi[t.type];return n?n(e,t):e},i.formatCredits=function(e,t){var n,r,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=parseFloat(e),o=parseFloat(t),c='';return Number.isNaN(i)||0===i?'0':(i>=1e6?t<=7&&(a?(i/=1e6,c='M'):o-=7):i>=1e3&&t<=4&&(a?(i/=1e3,c='K'):o-=4),n=i.toFixed(o>=0?o:1).replace(/\.*0+$/,''),(r=n.toString().split('.'))[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g,','),r.join('.')+c)},i.formatFullPrice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n='',r=e.toString().split('.'),a=r[1];if(a){var i=a.split(''),o=i.filter(function(e){return'0'!==e})[0],c=i.indexOf(o);n="."+a.substring(0,c+t)}return parseFloat(r[0]+n)},i.isClaimNsfw=Jn,i.isNameValid=function(e){return!Bt.test(e)},i.isURIClaimable=function(e){var t;try{t=Wt(Vt(e))}catch(e){return!1}return t&&t.streamName&&!t.streamClaimId&&!t.isChannel},i.isURIValid=function(e){try{Wt(Vt(e))}catch(e){return!1}return!0},i.makeSelectAmountForUri=function(e){return h.createSelector(fr(e),function(e){return e&&e.amount})},i.makeSelectCanonicalUrlForUri=function(e){return h.createSelector(fr(e),function(e){return e&&e.canonical_url})},i.makeSelectChannelForClaimUri=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h.createSelector(fr(e),function(e){if(!e||!e.signing_channel||!e.signing_channel.canonical_url)return null;var n=e.signing_channel.canonical_url;return t?n:n.slice('lbry://'.length)})},i.makeSelectClaimForUri=fr,i.makeSelectClaimIsMine=function(e){var t;try{t=Vt(e)}catch(e){}return h.createSelector(sr,Tr,function(e,n){try{Wt(t)}catch(e){return!1}return e&&e[t]&&e[t].claim_id&&n.has(e[t].claim_id)})},i.makeSelectClaimIsNsfw=Mr,i.makeSelectClaimIsPending=function(e){return h.createSelector(_r,function(t){var n;try{var r=Wt(e),a=r.isChannel,i=r.channelClaimId,o=r.streamClaimId;n=a?i:o}catch(e){}if(n)return Boolean(t[n])})},i.makeSelectClaimsInChannelForCurrentPageState=function(e){return h.createSelector(ar,Er,ir,function(t,n,r){var a=(n[e]||{})[r||1];return a?a.map(function(e){return t[e]}):a})},i.makeSelectClaimsInChannelForPage=function(e,t){return h.createSelector(ar,Er,function(n,r){var a=(r[e]||{})[t||1];return a?a.map(function(e){return n[e]}):a})},i.makeSelectCommentsForUri=function(e){return h.createSelector(Pi,bi,function(t,n){var r=n[e];return t&&t[r]})},i.makeSelectContentPositionForUri=function(e){return h.createSelector(Oi,fr(e),function(e,t){if(!t)return null;var n=t.txid+":"+t.nout,r=t.claim_id;return e.positions[r]?e.positions[r][n]:null})},i.makeSelectContentTypeForUri=hr,i.makeSelectCoverForUri=function(e){return h.createSelector(fr(e),function(e){var t=e&&e.value&&e.value.cover;return t&&t.url?t.url.trim():void 0})},i.makeSelectDateForUri=function(e){return h.createSelector(fr(e),function(e){var t=e&&e.value&&(e.value.release_time?1e3*e.value.release_time:e.meta&&e.meta.creation_timestamp?1e3*e.meta.creation_timestamp:null);if(t)return new Date(t)})},i.makeSelectDownloadPathForUri=function(e){return h.createSelector(ia(e),function(e){return e&&e.download_path})},i.makeSelectDownloadingForUri=function(e){return h.createSelector(oa,ia(e),function(e,t){return!!t&&e[t.outpoint]})},i.makeSelectFetchingChannelClaims=function(e){return h.createSelector(pr,function(t){return t&&t[e]})},i.makeSelectFileInfoForUri=ia,i.makeSelectFileNameForUri=function(e){return h.createSelector(ia(e),function(e){return e&&e.file_name})},i.makeSelectFilePartlyDownloaded=function(e){return h.createSelector(ia(e),function(e){return!!e&&(e.written_bytes>0||e.blobs_completed>0)})},i.makeSelectFilteredTransactionsForPage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return h.createSelector(Kn,function(t){var n=(Number(e)-1)*Number(50),r=Number(e)*Number(50);return t&&t.length?t.slice(n,r):[]})},i.makeSelectFirstRecommendedFileForUri=function(e){return h.createSelector(wr(e),function(e){return e?e[0]:null})},i.makeSelectIsFollowingTag=function(e){return h.createSelector(Hi,function(t){return t.some(function(t){return t.name===e.toLowerCase()})})},i.makeSelectIsUriResolving=function(e){return h.createSelector(vr,function(t){return t&&-1!==t.indexOf(e)})},i.makeSelectLatestTransactions=Qn,i.makeSelectLoadingForUri=function(e){return h.createSelector(ca,fr(e),function(e,t){return!!t&&e[t.txid+":"+t.nout]})},i.makeSelectMediaTypeForUri=fa,i.makeSelectMetadataForUri=Cr,i.makeSelectMetadataItemForUri=function(e,t){return h.createSelector(Cr(e),function(e){return e?e[t]:void 0})},i.makeSelectMyStreamUrlsForPage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return h.createSelector(Or,function(t){var n=(Number(e)-1)*Number(20),r=Number(e)*Number(20);return t&&t.length?t.slice(n,r):[]})},i.makeSelectNsfwCountForChannel=function(e){return h.createSelector(ar,Er,ir,function(t,n,r){var a=(n[e]||{})[r||1];return a?a.reduce(function(e,n){var r=t[n];return Jn(r)?e+1:e},0):0})},i.makeSelectNsfwCountFromUris=function(e){return h.createSelector(sr,function(t){return e.reduce(function(e,n){var r=t[n];return r&&Jn(r)?e+1:e},0)})},i.makeSelectOmittedCountForChannel=function(e){return h.createSelector(Fr(e),Ar(e),function(e,t){return e&&'number'==typeof t&&t>=0?e-t:0})},i.makeSelectPendingByUri=function(e){return h.createSelector(_r,function(t){var n=Wt(e),r=n.isChannel,a=n.channelClaimId,i=n.streamClaimId;return t[r?a:i]})},i.makeSelectPermanentUrlForUri=function(e){return h.createSelector(fr(e),function(e){return e&&e.permanent_url})},i.makeSelectPublishFormValue=function(e){return h.createSelector(ya,function(t){return t[e]})},i.makeSelectQueryWithOptions=nn,i.makeSelectRecommendedContentForUri=wr,i.makeSelectResolvedRecommendedContentForUri=function(e,t){return h.createSelector(fr(e),Zt,Mr(e),function(n,r,a){var i;if(e.includes('#'),n){var o=jt({streamClaimId:n.claim_id,streamName:n.name}),c=n.value.title;if(!c)return;var l={related_to:n.claim_id,size:t,isBackgroundSearch:!1},u=r[bt(c.replace(/\//,' '),l)];u&&(i=u=u.filter(function(e){return jt({streamClaimId:e.claimId,streamName:e.name})!==o}))}return i})},i.makeSelectResolvedSearchResults=function(e){return h.createSelector(Zt,function(t){return t[e?e.replace(/^lbry:\/\//i,'').replace(/\//,' '):e]})},i.makeSelectResolvedSearchResultsLastPageReached=function(e){return h.createSelector(Jt,function(t){return t[e?e.replace(/^lbry:\/\//i,'').replace(/\//,' '):e]})},i.makeSelectSearchDownloadUrlsCount=function(e){return h.createSelector(la,function(t){return t&&t.length?ma(t,e).length:0})},i.makeSelectSearchDownloadUrlsForPage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return h.createSelector(la,function(n){var r=ma(n,e),a=(Number(t)-1)*Number(20),i=Number(t)*Number(20);return r&&r.length?r.slice(a,i).map(function(e){return jt({streamName:e.claim_name,channelName:e.channel_name,channelClaimId:e.channel_claim_id})}):[]})},i.makeSelectSearchUris=Xt,i.makeSelectShortUrlForUri=function(e){return h.createSelector(fr(e),function(e){return e&&e.short_url})},i.makeSelectStreamingUrlForUri=Ia,i.makeSelectSupportsForUri=function(e){return h.createSelector(Un,fr(e),function(e,t){if(!t||!t.is_mine)return null;var n=t.claim_id,r=0;return Object.values(e).forEach(function(e){var t=e.claim_id,a=e.amount;r=t===n&&a?r+parseFloat(a):r}),r})},i.makeSelectTagsForUri=function(e){return h.createSelector(Cr(e),function(e){return e&&e.tags||[]})},i.makeSelectThumbnailForUri=function(e){return h.createSelector(fr(e),function(e){var t=e&&e.value&&e.value.thumbnail;return t&&t.url?t.url.trim():void 0})},i.makeSelectTitleForUri=function(e){return h.createSelector(Cr(e),function(e){return e&&e.title})},i.makeSelectTotalClaimsInChannelSearch=Ar,i.makeSelectTotalItemsForChannel=Fr,i.makeSelectTotalPagesForChannel=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return h.createSelector(br,function(n){return n&&n[e]&&Math.ceil(n[e]/t)})},i.makeSelectTotalPagesInChannelSearch=function(e){return h.createSelector(ar,Er,function(t,n){return(n[e]||{}).pageCount})},i.makeSelectUriIsStreamable=function(e){return h.createSelector(fa(e),function(e){return-1!==['audio','video','image'].indexOf(e)})},i.normalizeURI=Vt,i.notificationsReducer=ui,i.parseQueryParams=function(e){if(''===e)return{};var t={};return e.split('?').pop().split('&').map(function(e){return e.split('=')}).forEach(function(e){var n=T(e,2),r=n[0],a=n[1];t[r]=a}),t},i.parseURI=Wt,i.publishReducer=di,i.regexAddress=/^(b|r)(?=[^0OIl]{32,33})[0-9A-Za-z]{32,33}$/,i.regexInvalidURI=Bt,i.savePosition=function(e,t,n){return function(r){r({type:ge,data:{claimId:e,outpoint:t,position:n}})}},i.searchReducer=mi,i.selectAbandoningIds=mr,i.selectAllClaimsByChannel=Er,i.selectAllFetchingChannelClaims=pr,i.selectAllMyClaimsByOutpoint=Lr,i.selectBalance=gn,i.selectBlockedChannels=ki,i.selectBlockedChannelsCount=Wi,i.selectBlocks=Yn,i.selectChannelClaimCounts=br,i.selectChannelImportPending=Ur,i.selectChannelIsBlocked=function(e){return h.createSelector(ki,function(t){return t.includes(e)})},i.selectClaimSearchByQuery=kr,i.selectClaimSearchByQueryLastPageReached=Wr,i.selectClaimsBalance=yn,i.selectClaimsById=ar,i.selectClaimsByUri=sr,i.selectCreateChannelError=cr,i.selectCreatingChannel=or,i.selectCurrentChannelPage=ir,i.selectDownloadUrlsCount=Sa,i.selectDownloadedUris=da,i.selectDownloadingByOutpoint=oa,i.selectDownloadingFileInfos=ua,i.selectDraftTransaction=Wn,i.selectDraftTransactionAddress=jn,i.selectDraftTransactionAmount=Gn,i.selectDraftTransactionError=Vn,i.selectError=Ni,i.selectFailedPurchaseUris=Aa,i.selectFetchingClaimSearch=Br,i.selectFetchingClaimSearchByQuery=Hr,i.selectFetchingMyChannels=Dr,i.selectFileInfosByOutpoint=na,i.selectFileInfosDownloaded=la,i.selectFileListDownloadedSort=_a,i.selectFileListPublishedSort=Ea,i.selectFilteredTransactionCount=qn,i.selectFilteredTransactions=Kn,i.selectFollowedTags=Hi,i.selectGettingNewAddress=kn,i.selectHasTransactions=Mn,i.selectIsFetchingClaimListMine=Ir,i.selectIsFetchingFileList=ra,i.selectIsFetchingFileListDownloadedOrPublished=aa,i.selectIsFetchingTransactions=wn,i.selectIsResolvingPublishUris=Ua,i.selectIsSearching=zt,i.selectIsSendingSupport=Hn,i.selectIsStillEditing=Da,i.selectIsWalletReconnecting=zn,i.selectLastPurchasedUri=ha,i.selectMyActiveClaims=Tr,i.selectMyChannelClaims=Nr,i.selectMyClaimForUri=va,i.selectMyClaimUrisWithoutChannels=Or,i.selectMyClaims=Rr,i.selectMyClaimsOutpoints=yr,i.selectMyClaimsRaw=Sr,i.selectMyClaimsWithoutChannels=gr,i.selectMyStreamUrlsCount=Vr,i.selectPendingById=_r,i.selectPendingClaims=dr,i.selectPlayingUri=Pr,i.selectPublishFormValues=Na,i.selectPurchaseUriErrorMessage=pa,i.selectPurchasedUris=Ca,i.selectReceiveAddress=Bn,i.selectRecentTransactions=Fn,i.selectRepostError=ur,i.selectRepostLoading=lr,i.selectReservedBalance=Ln,i.selectResolvedSearchResultsByQuery=Zt,i.selectResolvedSearchResultsByQueryLastPageReached=Jt,i.selectResolvingUris=vr,i.selectSearchBarFocused=en,i.selectSearchOptions=Qt,i.selectSearchState=xt,i.selectSearchSuggestions=tn,i.selectSearchUrisByQuery=$t,i.selectSearchValue=Kt,i.selectSupportsBalance=Dn,i.selectSupportsByOutpoint=Un,i.selectTakeOverAmount=Pa,i.selectTipsBalance=Nn,i.selectToast=Di,i.selectTotalBalance=On,i.selectTotalDownloadProgress=sa,i.selectTotalSupports=Pn,i.selectTransactionItems=bn,i.selectTransactionListFilter=xn,i.selectTransactionsById=vn,i.selectUnfollowedTags=Bi,i.selectUpdateChannelError=jr,i.selectUpdatingChannel=Gr,i.selectUrisLoading=ca,i.selectWalletDecryptPending=pn,i.selectWalletDecryptResult=Cn,i.selectWalletDecryptSucceeded=An,i.selectWalletEncryptPending=Sn,i.selectWalletEncryptResult=Tn,i.selectWalletEncryptSucceeded=mn,i.selectWalletIsEncrypted=fn,i.selectWalletState=dn,i.selectWalletUnlockPending=hn,i.selectWalletUnlockResult=Rn,i.selectWalletUnlockSucceeded=In,i.setSearchApi=function(e){Ga=e.replace(/\/*$/,'/')},i.tagsReducer=Ai,i.toQueryString=function(e){if(!e)return'';var t=[];return Object.keys(e).forEach(function(n){Object.prototype.hasOwnProperty.call(e,n)&&e[n]&&t.push(n+"="+e[n])}),t.join('&')},i.walletReducer=gi},401,[31,402,25,50,11,403,404,405]); -__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 n(u)||t(u)||o()}},402,[26,33,28]); -__d(function(g,r,i,a,m,e,d){'use strict';!(function(t){if(!t.Proxy){var o=null;t.Proxy=function(t,c){if(!n(t)||!n(c))throw new TypeError('Cannot create proxy with a non-object as target or handler');var p=function(){};o=function(){p=function(t){throw new TypeError("Cannot perform '"+t+"' on a proxy that has been revoked")}};var u=c;for(var f in c={get:null,set:null,apply:null,construct:null},u){if(!(f in c))throw new TypeError("Proxy polyfill does not support trap '"+f+"'");c[f]=u[f]}'function'==typeof u&&(c.apply=u.apply.bind(u));var y=this,s=!1,l='function'==typeof t;(c.apply||c.construct||l)&&(y=function(){var o=this&&this.constructor===y;if(p(o?'construct':'apply'),o&&c.construct)return c.construct.call(this,t,arguments);if(!o&&c.apply)return c.apply(t,this,arguments);if(l){if(o){var n=Array.prototype.slice.call(arguments);return n.unshift(t),new(t.bind.apply(t,n))}return t.apply(this,arguments)}throw new TypeError(o?'not a constructor':'not a function')},s=!0);var b=c.get?function(t){return p('get'),c.get(this,t,y)}:function(t){return p('get'),this[t]},h=c.set?function(t,o){p('set');c.set(this,t,o,y)}:function(t,o){p('set'),this[t]=o},v={};Object.getOwnPropertyNames(t).forEach(function(o){if(!(s&&o in y)){var n={enumerable:!!Object.getOwnPropertyDescriptor(t,o).enumerable,get:b.bind(t,o),set:h.bind(t,o)};Object.defineProperty(y,o,n),v[o]=!0}});var P=!0;if(Object.setPrototypeOf?Object.setPrototypeOf(y,Object.getPrototypeOf(t)):y.__proto__?y.__proto__=t.__proto__:P=!1,c.get||!P)for(var w in t)v[w]||Object.defineProperty(y,w,{get:b.bind(t,w)});return Object.seal(t),Object.seal(y),y},t.Proxy.revocable=function(n,c){return{proxy:new t.Proxy(n,c),revoke:o}},t.Proxy.revocable=t.Proxy.revocable,t.Proxy=t.Proxy}function n(t){return!!t&&('object'==typeof t||'function'==typeof t)}})(void 0!==m&&m.exports?g:window)},403,[]); -__d(function(g,r,i,a,m,e,d){'use strict';function t(t,n){return t===n}function n(t,n,u){if(null===n||null===u||n.length!==u.length)return!1;for(var o=n.length,c=0;c1&&void 0!==arguments[1]?arguments[1]:t,c=null,l=null;return function(){return n(o,c,arguments)||(l=u.apply(null,arguments)),c=arguments,l}}function o(t){var n=Array.isArray(t[0])?t[0]:t;if(!n.every(function(t){return'function'==typeof t})){var u=n.map(function(t){return typeof t}).join(', ');throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+u+']')}return n}function c(t){for(var n=arguments.length,c=Array(n>1?n-1:0),l=1;l1&&void 0!==arguments[1]?arguments[1]:l;if('object'!=typeof t)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);var u=Object.keys(t);return n(u.map(function(n){return t[n]}),function(){for(var t=arguments.length,n=Array(t),o=0;o>>((3&t)<<3)&255;return o}}},406,[]); -__d(function(g,r,i,a,m,e,d){for(var n=[],t=0;t<256;++t)n[t]=(t+256).toString(16).substr(1);m.exports=function(t,o){var u=o||0,f=n;return[f[t[u++]],f[t[u++]],f[t[u++]],f[t[u++]],'-',f[t[u++]],f[t[u++]],'-',f[t[u++]],f[t[u++]],'-',f[t[u++]],f[t[u++]],'-',f[t[u++]],f[t[u++]],f[t[u++]],f[t[u++]],f[t[u++]],f[t[u++]]].join('')}},407,[]); -__d(function(e,t,n,r,i,u,o){var c=t(o[0]),a=t(o[1]);!(function(e,n){if('object'==typeof u&&'object'==typeof i)i.exports=n(t(o[2]));else if('function'==typeof define&&define.amd)define(["lbry-redux"],n);else{var r=n('object'==typeof u?t(o[2]):e["lbry-redux"]);for(var c in r)('object'==typeof u?u:e)[c]=r[c]}})(window,function(e){return(function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){'undefined'==typeof Symbol||"function"==typeof Symbol&&!Symbol.toStringTag||Object.defineProperty(e,"function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag",{value:'Module'}),Object.defineProperty(e,'__esModule',{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&'object'==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,'default',{enumerable:!0,value:e}),2&t&&'string'!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,'a',t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)})([function(e,t,n){"use strict";n.r(t);var r=n(1);n.d(t,"LBRYINC_ACTIONS",function(){return r});var i=n(2);n.d(t,"YOUTUBE_STATUSES",function(){return i});var u=n(3);n.d(t,"ERRORS",function(){return u});var o=n(4);n.d(t,"Lbryio",function(){return o.default});var c=n(9);n.d(t,"rewards",function(){return c.default});var a=n(10);n.d(t,"subscriptionsReducer",function(){return a.default});var s=n(13);n.d(t,"userStateSyncMiddleware",function(){return s.userStateSyncMiddleware});var f=n(17);n.d(t,"doTransifexUpload",function(){return f.doTransifexUpload});var l=n(23);n.d(t,"doGenerateAuthToken",function(){return l.doGenerateAuthToken});var d=n(24);n.d(t,"doRewardList",function(){return d.doRewardList}),n.d(t,"doClaimRewardType",function(){return d.doClaimRewardType}),n.d(t,"doClaimEligiblePurchaseRewards",function(){return d.doClaimEligiblePurchaseRewards}),n.d(t,"doClaimRewardClearError",function(){return d.doClaimRewardClearError}),n.d(t,"doFetchRewardedContent",function(){return d.doFetchRewardedContent});var E=n(28);n.d(t,"doChannelSubscribe",function(){return E.doChannelSubscribe}),n.d(t,"doChannelUnsubscribe",function(){return E.doChannelUnsubscribe}),n.d(t,"doChannelSubscriptionEnableNotifications",function(){return E.doChannelSubscriptionEnableNotifications}),n.d(t,"doChannelSubscriptionDisableNotifications",function(){return E.doChannelSubscriptionDisableNotifications}),n.d(t,"doCheckSubscription",function(){return E.doCheckSubscription}),n.d(t,"doCheckSubscriptions",function(){return E.doCheckSubscriptions}),n.d(t,"doCheckSubscriptionsInit",function(){return E.doCheckSubscriptionsInit}),n.d(t,"doCompleteFirstRun",function(){return E.doCompleteFirstRun}),n.d(t,"doFetchMySubscriptions",function(){return E.doFetchMySubscriptions}),n.d(t,"doFetchRecommendedSubscriptions",function(){return E.doFetchRecommendedSubscriptions}),n.d(t,"doRemoveUnreadSubscription",function(){return E.doRemoveUnreadSubscription}),n.d(t,"doRemoveUnreadSubscriptions",function(){return E.doRemoveUnreadSubscriptions}),n.d(t,"doSetViewMode",function(){return E.doSetViewMode}),n.d(t,"doShowSuggestedSubs",function(){return E.doShowSuggestedSubs}),n.d(t,"doUpdateUnreadSubscriptions",function(){return E.doUpdateUnreadSubscriptions}),n.d(t,"setSubscriptionLatest",function(){return E.setSubscriptionLatest});var _=n(27);n.d(t,"doFetchInviteStatus",function(){return _.doFetchInviteStatus}),n.d(t,"doInstallNew",function(){return _.doInstallNew}),n.d(t,"doAuthenticate",function(){return _.doAuthenticate}),n.d(t,"doUserFetch",function(){return _.doUserFetch}),n.d(t,"doUserEmailNew",function(){return _.doUserEmailNew}),n.d(t,"doUserCheckEmailVerified",function(){return _.doUserCheckEmailVerified}),n.d(t,"doUserEmailToVerify",function(){return _.doUserEmailToVerify}),n.d(t,"doUserEmailVerifyFailure",function(){return _.doUserEmailVerifyFailure}),n.d(t,"doUserEmailVerify",function(){return _.doUserEmailVerify}),n.d(t,"doUserPhoneNew",function(){return _.doUserPhoneNew}),n.d(t,"doUserPhoneReset",function(){return _.doUserPhoneReset}),n.d(t,"doUserPhoneVerifyFailure",function(){return _.doUserPhoneVerifyFailure}),n.d(t,"doUserPhoneVerify",function(){return _.doUserPhoneVerify}),n.d(t,"doFetchAccessToken",function(){return _.doFetchAccessToken}),n.d(t,"doUserResendVerificationEmail",function(){return _.doUserResendVerificationEmail}),n.d(t,"doUserIdentityVerify",function(){return _.doUserIdentityVerify}),n.d(t,"doUserInviteNew",function(){return _.doUserInviteNew}),n.d(t,"doClaimYoutubeChannels",function(){return _.doClaimYoutubeChannels}),n.d(t,"doCheckYoutubeTransfer",function(){return _.doCheckYoutubeTransfer}),n.d(t,"doUserSetReferrer",function(){return _.doUserSetReferrer}),n.d(t,"doUserSetReferrerReset",function(){return _.doUserSetReferrerReset});var S=n(30);n.d(t,"doFetchCostInfoForUri",function(){return S.doFetchCostInfoForUri});var T=n(31);n.d(t,"doBlackListedOutpointsSubscribe",function(){return T.doBlackListedOutpointsSubscribe});var h=n(32);n.d(t,"doFilteredOutpointsSubscribe",function(){return h.doFilteredOutpointsSubscribe});var p=n(33);n.d(t,"doFetchFeaturedUris",function(){return p.doFetchFeaturedUris}),n.d(t,"doFetchTrendingUris",function(){return p.doFetchTrendingUris});var R=n(34);n.d(t,"doFetchViewCount",function(){return R.doFetchViewCount}),n.d(t,"doFetchSubCount",function(){return R.doFetchSubCount});var C=n(35);n.d(t,"doCheckSync",function(){return C.doCheckSync}),n.d(t,"doGetSync",function(){return C.doGetSync}),n.d(t,"doSetSync",function(){return C.doSetSync}),n.d(t,"doSetDefaultAccount",function(){return C.doSetDefaultAccount}),n.d(t,"doSyncApply",function(){return C.doSyncApply}),n.d(t,"doResetSync",function(){return C.doResetSync}),n.d(t,"doSyncEncryptAndDecrypt",function(){return C.doSyncEncryptAndDecrypt});var y=n(36);n.d(t,"doUpdateUploadProgress",function(){return y.doUpdateUploadProgress});var I=n(37);n.d(t,"authReducer",function(){return I.authReducer});var g=n(38);n.d(t,"rewardsReducer",function(){return g.rewardsReducer});var U=n(39);n.d(t,"userReducer",function(){return U.userReducer});var A=n(40);n.d(t,"costInfoReducer",function(){return A.costInfoReducer});var O=n(41);n.d(t,"blacklistReducer",function(){return O.blacklistReducer});var b=n(42);n.d(t,"filteredReducer",function(){return b.filteredReducer});var N=n(43);n.d(t,"homepageReducer",function(){return N.homepageReducer});var m=n(44);n.d(t,"statsReducer",function(){return m.statsReducer});var v=n(45);n.d(t,"syncReducer",function(){return v.syncReducer});var P=n(46);n.d(t,"lbrytvReducer",function(){return P.lbrytvReducer});var w=n(47);n.d(t,"selectAuthToken",function(){return w.selectAuthToken}),n.d(t,"selectIsAuthenticating",function(){return w.selectIsAuthenticating});var L=n(25);n.d(t,"makeSelectClaimRewardError",function(){return L.makeSelectClaimRewardError}),n.d(t,"makeSelectIsRewardClaimPending",function(){return L.makeSelectIsRewardClaimPending}),n.d(t,"makeSelectRewardAmountByType",function(){return L.makeSelectRewardAmountByType}),n.d(t,"makeSelectRewardByType",function(){return L.makeSelectRewardByType}),n.d(t,"selectUnclaimedRewardsByType",function(){return L.selectUnclaimedRewardsByType}),n.d(t,"selectClaimedRewardsById",function(){return L.selectClaimedRewardsById}),n.d(t,"selectClaimedRewards",function(){return L.selectClaimedRewards}),n.d(t,"selectClaimedRewardsByTransactionId",function(){return L.selectClaimedRewardsByTransactionId}),n.d(t,"selectUnclaimedRewards",function(){return L.selectUnclaimedRewards}),n.d(t,"selectFetchingRewards",function(){return L.selectFetchingRewards}),n.d(t,"selectUnclaimedRewardValue",function(){return L.selectUnclaimedRewardValue}),n.d(t,"selectClaimsPendingByType",function(){return L.selectClaimsPendingByType}),n.d(t,"selectClaimErrorsByType",function(){return L.selectClaimErrorsByType}),n.d(t,"selectRewardContentClaimIds",function(){return L.selectRewardContentClaimIds}),n.d(t,"selectReferralReward",function(){return L.selectReferralReward});var F=n(14);n.d(t,"makeSelectIsNew",function(){return F.makeSelectIsNew}),n.d(t,"makeSelectIsSubscribed",function(){return F.makeSelectIsSubscribed}),n.d(t,"makeSelectUnreadByChannel",function(){return F.makeSelectUnreadByChannel}),n.d(t,"selectEnabledChannelNotifications",function(){return F.selectEnabledChannelNotifications}),n.d(t,"selectSubscriptions",function(){return F.selectSubscriptions}),n.d(t,"selectIsFetchingSubscriptions",function(){return F.selectIsFetchingSubscriptions}),n.d(t,"selectViewMode",function(){return F.selectViewMode}),n.d(t,"selectSuggested",function(){return F.selectSuggested}),n.d(t,"selectIsFetchingSuggested",function(){return F.selectIsFetchingSuggested}),n.d(t,"selectSuggestedChannels",function(){return F.selectSuggestedChannels}),n.d(t,"selectFirstRunCompleted",function(){return F.selectFirstRunCompleted}),n.d(t,"selectShowSuggestedSubs",function(){return F.selectShowSuggestedSubs}),n.d(t,"selectSubscriptionsBeingFetched",function(){return F.selectSubscriptionsBeingFetched}),n.d(t,"selectUnreadByChannel",function(){return F.selectUnreadByChannel}),n.d(t,"selectUnreadAmount",function(){return F.selectUnreadAmount}),n.d(t,"selectUnreadSubscriptions",function(){return F.selectUnreadSubscriptions}),n.d(t,"selectSubscriptionClaims",function(){return F.selectSubscriptionClaims});var D=n(26);n.d(t,"selectAuthenticationIsPending",function(){return D.selectAuthenticationIsPending}),n.d(t,"selectUserIsPending",function(){return D.selectUserIsPending}),n.d(t,"selectUser",function(){return D.selectUser}),n.d(t,"selectUserEmail",function(){return D.selectUserEmail}),n.d(t,"selectUserPhone",function(){return D.selectUserPhone}),n.d(t,"selectUserCountryCode",function(){return D.selectUserCountryCode}),n.d(t,"selectEmailToVerify",function(){return D.selectEmailToVerify}),n.d(t,"selectPhoneToVerify",function(){return D.selectPhoneToVerify}),n.d(t,"selectUserIsRewardApproved",function(){return D.selectUserIsRewardApproved}),n.d(t,"selectEmailNewIsPending",function(){return D.selectEmailNewIsPending}),n.d(t,"selectEmailNewErrorMessage",function(){return D.selectEmailNewErrorMessage}),n.d(t,"selectPhoneNewErrorMessage",function(){return D.selectPhoneNewErrorMessage}),n.d(t,"selectPhoneNewIsPending",function(){return D.selectPhoneNewIsPending}),n.d(t,"selectEmailVerifyIsPending",function(){return D.selectEmailVerifyIsPending}),n.d(t,"selectEmailVerifyErrorMessage",function(){return D.selectEmailVerifyErrorMessage}),n.d(t,"selectEmailAlreadyExists",function(){return D.selectEmailAlreadyExists}),n.d(t,"selectResendingVerificationEmail",function(){return D.selectResendingVerificationEmail}),n.d(t,"selectPhoneVerifyErrorMessage",function(){return D.selectPhoneVerifyErrorMessage}),n.d(t,"selectPhoneVerifyIsPending",function(){return D.selectPhoneVerifyIsPending}),n.d(t,"selectIdentityVerifyIsPending",function(){return D.selectIdentityVerifyIsPending}),n.d(t,"selectIdentityVerifyErrorMessage",function(){return D.selectIdentityVerifyErrorMessage}),n.d(t,"selectUserIsVerificationCandidate",function(){return D.selectUserIsVerificationCandidate}),n.d(t,"selectAccessToken",function(){return D.selectAccessToken}),n.d(t,"selectUserInviteStatusIsPending",function(){return D.selectUserInviteStatusIsPending}),n.d(t,"selectUserInvitesRemaining",function(){return D.selectUserInvitesRemaining}),n.d(t,"selectUserInvitees",function(){return D.selectUserInvitees}),n.d(t,"selectUserInviteStatusFailed",function(){return D.selectUserInviteStatusFailed}),n.d(t,"selectUserInviteNewIsPending",function(){return D.selectUserInviteNewIsPending}),n.d(t,"selectUserInviteNewErrorMessage",function(){return D.selectUserInviteNewErrorMessage}),n.d(t,"selectUserInviteReferralLink",function(){return D.selectUserInviteReferralLink}),n.d(t,"selectUserInviteReferralCode",function(){return D.selectUserInviteReferralCode}),n.d(t,"selectUserVerifiedEmail",function(){return D.selectUserVerifiedEmail}),n.d(t,"selectYoutubeChannels",function(){return D.selectYoutubeChannels}),n.d(t,"selectYouTubeImportPending",function(){return D.selectYouTubeImportPending}),n.d(t,"selectYouTubeImportError",function(){return D.selectYouTubeImportError}),n.d(t,"selectYouTubeImportVideosComplete",function(){return D.selectYouTubeImportVideosComplete}),n.d(t,"selectSetReferrerPending",function(){return D.selectSetReferrerPending}),n.d(t,"selectSetReferrerError",function(){return D.selectSetReferrerError});var B=n(48);n.d(t,"makeSelectFetchingCostInfoForUri",function(){return B.makeSelectFetchingCostInfoForUri}),n.d(t,"makeSelectCostInfoForUri",function(){return B.makeSelectCostInfoForUri}),n.d(t,"selectAllCostInfoByUri",function(){return B.selectAllCostInfoByUri}),n.d(t,"selectFetchingCostInfo",function(){return B.selectFetchingCostInfo});var M=n(49);n.d(t,"selectBlackListedOutpoints",function(){return M.selectBlackListedOutpoints});var Y=n(50);n.d(t,"selectFilteredOutpoints",function(){return Y.selectFilteredOutpoints});var H=n(51);n.d(t,"selectFeaturedUris",function(){return H.selectFeaturedUris}),n.d(t,"selectFetchingFeaturedUris",function(){return H.selectFetchingFeaturedUris}),n.d(t,"selectTrendingUris",function(){return H.selectTrendingUris}),n.d(t,"selectFetchingTrendingUris",function(){return H.selectFetchingTrendingUris});var j=n(52);n.d(t,"makeSelectViewCountForUri",function(){return j.makeSelectViewCountForUri}),n.d(t,"makeSelectSubCountForUri",function(){return j.makeSelectSubCountForUri});var V=n(53);n.d(t,"selectHasSyncedWallet",function(){return V.selectHasSyncedWallet}),n.d(t,"selectSyncData",function(){return V.selectSyncData}),n.d(t,"selectSyncHash",function(){return V.selectSyncHash}),n.d(t,"selectSetSyncErrorMessage",function(){return V.selectSetSyncErrorMessage}),n.d(t,"selectGetSyncErrorMessage",function(){return V.selectGetSyncErrorMessage}),n.d(t,"selectGetSyncIsPending",function(){return V.selectGetSyncIsPending}),n.d(t,"selectSetSyncIsPending",function(){return V.selectSetSyncIsPending}),n.d(t,"selectSyncApplyIsPending",function(){return V.selectSyncApplyIsPending}),n.d(t,"selectHashChanged",function(){return V.selectHashChanged}),n.d(t,"selectSyncApplyErrorMessage",function(){return V.selectSyncApplyErrorMessage}),n.d(t,"selectSyncApplyPasswordError",function(){return V.selectSyncApplyPasswordError});var k=n(54);n.d(t,"selectCurrentUploads",function(){return k.selectCurrentUploads}),n.d(t,"selectUploadCount",function(){return k.selectUploadCount})},function(e,t,n){"use strict";n.r(t),n.d(t,"GENERATE_AUTH_TOKEN_FAILURE",function(){return r}),n.d(t,"GENERATE_AUTH_TOKEN_STARTED",function(){return i}),n.d(t,"GENERATE_AUTH_TOKEN_SUCCESS",function(){return u}),n.d(t,"AUTHENTICATION_STARTED",function(){return o}),n.d(t,"AUTHENTICATION_SUCCESS",function(){return c}),n.d(t,"AUTHENTICATION_FAILURE",function(){return a}),n.d(t,"USER_EMAIL_DECLINE",function(){return s}),n.d(t,"USER_EMAIL_NEW_STARTED",function(){return f}),n.d(t,"USER_EMAIL_NEW_SUCCESS",function(){return l}),n.d(t,"USER_EMAIL_NEW_EXISTS",function(){return d}),n.d(t,"USER_EMAIL_NEW_FAILURE",function(){return E}),n.d(t,"USER_EMAIL_VERIFY_SET",function(){return _}),n.d(t,"USER_EMAIL_VERIFY_STARTED",function(){return S}),n.d(t,"USER_EMAIL_VERIFY_SUCCESS",function(){return T}),n.d(t,"USER_EMAIL_VERIFY_FAILURE",function(){return h}),n.d(t,"USER_EMAIL_VERIFY_RETRY_STARTED",function(){return p}),n.d(t,"USER_EMAIL_VERIFY_RETRY_FAILURE",function(){return R}),n.d(t,"USER_EMAIL_VERIFY_RETRY_SUCCESS",function(){return C}),n.d(t,"USER_PHONE_RESET",function(){return y}),n.d(t,"USER_PHONE_NEW_STARTED",function(){return I}),n.d(t,"USER_PHONE_NEW_SUCCESS",function(){return g}),n.d(t,"USER_PHONE_NEW_FAILURE",function(){return U}),n.d(t,"USER_PHONE_VERIFY_STARTED",function(){return A}),n.d(t,"USER_PHONE_VERIFY_SUCCESS",function(){return O}),n.d(t,"USER_PHONE_VERIFY_FAILURE",function(){return b}),n.d(t,"USER_IDENTITY_VERIFY_STARTED",function(){return N}),n.d(t,"USER_IDENTITY_VERIFY_SUCCESS",function(){return m}),n.d(t,"USER_IDENTITY_VERIFY_FAILURE",function(){return v}),n.d(t,"USER_FETCH_STARTED",function(){return P}),n.d(t,"USER_FETCH_SUCCESS",function(){return w}),n.d(t,"USER_FETCH_FAILURE",function(){return L}),n.d(t,"USER_INVITE_STATUS_FETCH_STARTED",function(){return F}),n.d(t,"USER_INVITE_STATUS_FETCH_SUCCESS",function(){return D}),n.d(t,"USER_INVITE_STATUS_FETCH_FAILURE",function(){return B}),n.d(t,"USER_INVITE_NEW_STARTED",function(){return M}),n.d(t,"USER_INVITE_NEW_SUCCESS",function(){return Y}),n.d(t,"USER_INVITE_NEW_FAILURE",function(){return H}),n.d(t,"FETCH_ACCESS_TOKEN_SUCCESS",function(){return j}),n.d(t,"USER_YOUTUBE_IMPORT_STARTED",function(){return V}),n.d(t,"USER_YOUTUBE_IMPORT_FAILURE",function(){return k}),n.d(t,"USER_YOUTUBE_IMPORT_SUCCESS",function(){return G}),n.d(t,"USER_SET_REFERRER_STARTED",function(){return W}),n.d(t,"USER_SET_REFERRER_SUCCESS",function(){return x}),n.d(t,"USER_SET_REFERRER_FAILURE",function(){return K}),n.d(t,"USER_SET_REFERRER_RESET",function(){return z}),n.d(t,"FETCH_FEATURED_CONTENT_STARTED",function(){return J}),n.d(t,"FETCH_FEATURED_CONTENT_COMPLETED",function(){return X}),n.d(t,"FETCH_TRENDING_CONTENT_STARTED",function(){return Z}),n.d(t,"FETCH_TRENDING_CONTENT_COMPLETED",function(){return q}),n.d(t,"RESOLVE_URIS_STARTED",function(){return $}),n.d(t,"RESOLVE_URIS_COMPLETED",function(){return Q}),n.d(t,"FETCH_CHANNEL_CLAIMS_STARTED",function(){return ee}),n.d(t,"FETCH_CHANNEL_CLAIMS_COMPLETED",function(){return te}),n.d(t,"FETCH_CHANNEL_CLAIM_COUNT_STARTED",function(){return ne}),n.d(t,"FETCH_CHANNEL_CLAIM_COUNT_COMPLETED",function(){return re}),n.d(t,"FETCH_CLAIM_LIST_MINE_STARTED",function(){return ie}),n.d(t,"FETCH_CLAIM_LIST_MINE_COMPLETED",function(){return ue}),n.d(t,"ABANDON_CLAIM_STARTED",function(){return oe}),n.d(t,"ABANDON_CLAIM_SUCCEEDED",function(){return ce}),n.d(t,"FETCH_CHANNEL_LIST_STARTED",function(){return ae}),n.d(t,"FETCH_CHANNEL_LIST_COMPLETED",function(){return se}),n.d(t,"CREATE_CHANNEL_STARTED",function(){return fe}),n.d(t,"CREATE_CHANNEL_COMPLETED",function(){return le}),n.d(t,"PUBLISH_STARTED",function(){return de}),n.d(t,"PUBLISH_COMPLETED",function(){return Ee}),n.d(t,"PUBLISH_FAILED",function(){return _e}),n.d(t,"SET_PLAYING_URI",function(){return Se}),n.d(t,"SET_CONTENT_POSITION",function(){return Te}),n.d(t,"SET_CONTENT_LAST_VIEWED",function(){return he}),n.d(t,"CLEAR_CONTENT_HISTORY_URI",function(){return pe}),n.d(t,"CLEAR_CONTENT_HISTORY_ALL",function(){return Re}),n.d(t,"CHANNEL_SUBSCRIBE",function(){return Ce}),n.d(t,"CHANNEL_UNSUBSCRIBE",function(){return ye}),n.d(t,"CHANNEL_SUBSCRIPTION_ENABLE_NOTIFICATIONS",function(){return Ie}),n.d(t,"CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS",function(){return ge}),n.d(t,"HAS_FETCHED_SUBSCRIPTIONS",function(){return Ue}),n.d(t,"SET_SUBSCRIPTION_LATEST",function(){return Ae}),n.d(t,"UPDATE_SUBSCRIPTION_UNREADS",function(){return Oe}),n.d(t,"REMOVE_SUBSCRIPTION_UNREADS",function(){return be}),n.d(t,"CHECK_SUBSCRIPTION_STARTED",function(){return Ne}),n.d(t,"CHECK_SUBSCRIPTION_COMPLETED",function(){return me}),n.d(t,"CHECK_SUBSCRIPTIONS_SUBSCRIBE",function(){return ve}),n.d(t,"FETCH_SUBSCRIPTIONS_START",function(){return Pe}),n.d(t,"FETCH_SUBSCRIPTIONS_FAIL",function(){return we}),n.d(t,"FETCH_SUBSCRIPTIONS_SUCCESS",function(){return Le}),n.d(t,"SET_VIEW_MODE",function(){return Fe}),n.d(t,"GET_SUGGESTED_SUBSCRIPTIONS_START",function(){return De}),n.d(t,"GET_SUGGESTED_SUBSCRIPTIONS_SUCCESS",function(){return Be}),n.d(t,"GET_SUGGESTED_SUBSCRIPTIONS_FAIL",function(){return Me}),n.d(t,"SUBSCRIPTION_FIRST_RUN_COMPLETED",function(){return Ye}),n.d(t,"VIEW_SUGGESTED_SUBSCRIPTIONS",function(){return He}),n.d(t,"FETCH_BLACK_LISTED_CONTENT_STARTED",function(){return je}),n.d(t,"FETCH_BLACK_LISTED_CONTENT_COMPLETED",function(){return Ve}),n.d(t,"FETCH_BLACK_LISTED_CONTENT_FAILED",function(){return ke}),n.d(t,"BLACK_LISTED_CONTENT_SUBSCRIBE",function(){return Ge}),n.d(t,"FETCH_FILTERED_CONTENT_STARTED",function(){return We}),n.d(t,"FETCH_FILTERED_CONTENT_COMPLETED",function(){return xe}),n.d(t,"FETCH_FILTERED_CONTENT_FAILED",function(){return Ke}),n.d(t,"FILTERED_CONTENT_SUBSCRIBE",function(){return ze}),n.d(t,"FETCH_COST_INFO_STARTED",function(){return Je}),n.d(t,"FETCH_COST_INFO_COMPLETED",function(){return Xe}),n.d(t,"FETCH_VIEW_COUNT_STARTED",function(){return Ze}),n.d(t,"FETCH_VIEW_COUNT_FAILED",function(){return qe}),n.d(t,"FETCH_VIEW_COUNT_COMPLETED",function(){return $e}),n.d(t,"FETCH_SUB_COUNT_STARTED",function(){return Qe}),n.d(t,"FETCH_SUB_COUNT_FAILED",function(){return et}),n.d(t,"FETCH_SUB_COUNT_COMPLETED",function(){return tt}),n.d(t,"GET_SYNC_STARTED",function(){return nt}),n.d(t,"GET_SYNC_COMPLETED",function(){return rt}),n.d(t,"GET_SYNC_FAILED",function(){return it}),n.d(t,"SET_SYNC_STARTED",function(){return ut}),n.d(t,"SET_SYNC_FAILED",function(){return ot}),n.d(t,"SET_SYNC_COMPLETED",function(){return ct}),n.d(t,"SET_DEFAULT_ACCOUNT",function(){return at}),n.d(t,"SYNC_APPLY_STARTED",function(){return st}),n.d(t,"SYNC_APPLY_COMPLETED",function(){return ft}),n.d(t,"SYNC_APPLY_FAILED",function(){return lt}),n.d(t,"SYNC_APPLY_BAD_PASSWORD",function(){return dt}),n.d(t,"SYNC_RESET",function(){return Et}),n.d(t,"UPDATE_UPLOAD_PROGRESS",function(){return _t});var r='GENERATE_AUTH_TOKEN_FAILURE',i='GENERATE_AUTH_TOKEN_STARTED',u='GENERATE_AUTH_TOKEN_SUCCESS',o='AUTHENTICATION_STARTED',c='AUTHENTICATION_SUCCESS',a='AUTHENTICATION_FAILURE',s='USER_EMAIL_DECLINE',f='USER_EMAIL_NEW_STARTED',l='USER_EMAIL_NEW_SUCCESS',d='USER_EMAIL_NEW_EXISTS',E='USER_EMAIL_NEW_FAILURE',_='USER_EMAIL_VERIFY_SET',S='USER_EMAIL_VERIFY_STARTED',T='USER_EMAIL_VERIFY_SUCCESS',h='USER_EMAIL_VERIFY_FAILURE',p='USER_EMAIL_VERIFY_RETRY_STARTED',R='USER_EMAIL_VERIFY_RETRY_FAILURE',C='USER_EMAIL_VERIFY_RETRY_SUCCESS',y='USER_PHONE_RESET',I='USER_PHONE_NEW_STARTED',g='USER_PHONE_NEW_SUCCESS',U='USER_PHONE_NEW_FAILURE',A='USER_PHONE_VERIFY_STARTED',O='USER_PHONE_VERIFY_SUCCESS',b='USER_PHONE_VERIFY_FAILURE',N='USER_IDENTITY_VERIFY_STARTED',m='USER_IDENTITY_VERIFY_SUCCESS',v='USER_IDENTITY_VERIFY_FAILURE',P='USER_FETCH_STARTED',w='USER_FETCH_SUCCESS',L='USER_FETCH_FAILURE',F='USER_INVITE_STATUS_FETCH_STARTED',D='USER_INVITE_STATUS_FETCH_SUCCESS',B='USER_INVITE_STATUS_FETCH_FAILURE',M='USER_INVITE_NEW_STARTED',Y='USER_INVITE_NEW_SUCCESS',H='USER_INVITE_NEW_FAILURE',j='FETCH_ACCESS_TOKEN_SUCCESS',V='USER_YOUTUBE_IMPORT_STARTED',k='USER_YOUTUBE_IMPORT_FAILURE',G='USER_YOUTUBE_IMPORT_SUCCESS',W='USER_SET_REFERRER_STARTED',x='USER_SET_REFERRER_SUCCESS',K='USER_SET_REFERRER_FAILURE',z='USER_SET_REFERRER_RESET',J='FETCH_FEATURED_CONTENT_STARTED',X='FETCH_FEATURED_CONTENT_COMPLETED',Z='FETCH_TRENDING_CONTENT_STARTED',q='FETCH_TRENDING_CONTENT_COMPLETED',$='RESOLVE_URIS_STARTED',Q='RESOLVE_URIS_COMPLETED',ee='FETCH_CHANNEL_CLAIMS_STARTED',te='FETCH_CHANNEL_CLAIMS_COMPLETED',ne='FETCH_CHANNEL_CLAIM_COUNT_STARTED',re='FETCH_CHANNEL_CLAIM_COUNT_COMPLETED',ie='FETCH_CLAIM_LIST_MINE_STARTED',ue='FETCH_CLAIM_LIST_MINE_COMPLETED',oe='ABANDON_CLAIM_STARTED',ce='ABANDON_CLAIM_SUCCEEDED',ae='FETCH_CHANNEL_LIST_STARTED',se='FETCH_CHANNEL_LIST_COMPLETED',fe='CREATE_CHANNEL_STARTED',le='CREATE_CHANNEL_COMPLETED',de='PUBLISH_STARTED',Ee='PUBLISH_COMPLETED',_e='PUBLISH_FAILED',Se='SET_PLAYING_URI',Te='SET_CONTENT_POSITION',he='SET_CONTENT_LAST_VIEWED',pe='CLEAR_CONTENT_HISTORY_URI',Re='CLEAR_CONTENT_HISTORY_ALL',Ce='CHANNEL_SUBSCRIBE',ye='CHANNEL_UNSUBSCRIBE',Ie='CHANNEL_SUBSCRIPTION_ENABLE_NOTIFICATIONS',ge='CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS',Ue='HAS_FETCHED_SUBSCRIPTIONS',Ae='SET_SUBSCRIPTION_LATEST',Oe='UPDATE_SUBSCRIPTION_UNREADS',be='REMOVE_SUBSCRIPTION_UNREADS',Ne='CHECK_SUBSCRIPTION_STARTED',me='CHECK_SUBSCRIPTION_COMPLETED',ve='CHECK_SUBSCRIPTIONS_SUBSCRIBE',Pe='FETCH_SUBSCRIPTIONS_START',we='FETCH_SUBSCRIPTIONS_FAIL',Le='FETCH_SUBSCRIPTIONS_SUCCESS',Fe='SET_VIEW_MODE',De='GET_SUGGESTED_SUBSCRIPTIONS_START',Be='GET_SUGGESTED_SUBSCRIPTIONS_SUCCESS',Me='GET_SUGGESTED_SUBSCRIPTIONS_FAIL',Ye='SUBSCRIPTION_FIRST_RUN_COMPLETED',He='VIEW_SUGGESTED_SUBSCRIPTIONS',je='FETCH_BLACK_LISTED_CONTENT_STARTED',Ve='FETCH_BLACK_LISTED_CONTENT_COMPLETED',ke='FETCH_BLACK_LISTED_CONTENT_FAILED',Ge='BLACK_LISTED_CONTENT_SUBSCRIBE',We='FETCH_FILTERED_CONTENT_STARTED',xe='FETCH_FILTERED_CONTENT_COMPLETED',Ke='FETCH_FILTERED_CONTENT_FAILED',ze='FILTERED_CONTENT_SUBSCRIBE',Je='FETCH_COST_INFO_STARTED',Xe='FETCH_COST_INFO_COMPLETED',Ze='FETCH_VIEW_COUNT_STARTED',qe='FETCH_VIEW_COUNT_FAILED',$e='FETCH_VIEW_COUNT_COMPLETED',Qe='FETCH_SUB_COUNT_STARTED',et='FETCH_SUB_COUNT_FAILED',tt='FETCH_SUB_COUNT_COMPLETED',nt='GET_SYNC_STARTED',rt='GET_SYNC_COMPLETED',it='GET_SYNC_FAILED',ut='SET_SYNC_STARTED',ot='SET_SYNC_FAILED',ct='SET_SYNC_COMPLETED',at='SET_DEFAULT_ACCOUNT',st='SYNC_APPLY_STARTED',ft='SYNC_APPLY_COMPLETED',lt='SYNC_APPLY_FAILED',dt='SYNC_APPLY_BAD_PASSWORD',Et='SYNC_RESET',_t='UPDATE_UPLOAD_PROGRESS'},function(e,t,n){"use strict";n.r(t),n.d(t,"NOT_TRANSFERRED",function(){return r}),n.d(t,"PENDING_TRANSFER",function(){return i}),n.d(t,"COMPLETED_TRANSFER",function(){return u});var r='not_transferred',i='pending_transfer',u='completed_transfer'},function(e,t,n){"use strict";n.r(t),n.d(t,"ALREADY_CLAIMED",function(){return r}),n.d(t,"REFERRER_NOT_FOUND",function(){return i});var r='once the invite reward has been claimed the referrer cannot be changed',i='A lbry.tv account could not be found for the referrer you provided.'},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(5),u=(n.n(i),n(6)),o=n.n(u);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof e})(e)}function a(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'get';if(!f.enabled)return Promise.reject(new Error(__('LBRY internal API is disabled')));if('get'!==r&&'post'!==r)return Promise.reject(new Error(__('Invalid method')));function i(e){return e.status>=200&&e.status<300?e.json():e.json().then(function(t){var n;return(n=t.error?new Error(t.error):new Error('Unknown API error signature')).response=e,Promise.reject(n)})}function u(e,t){return fetch(e,t).then(i)}return f.getAuthToken().then(function(i){var s=a({auth_token:i},n);Object.keys(s).forEach(function(e){var t=s[e];'object'===c(t)&&(s[e]=JSON.stringify(t))});var l=o.a.stringify(s),d="".concat(f.CONNECTION_STRING).concat(e,"/").concat(t,"?").concat(l),E={method:'GET'};return'post'===r&&(E={method:'POST',headers:{'Content-Type':'application/x-www-form-urlencoded'},body:l},d="".concat(f.CONNECTION_STRING).concat(e,"/").concat(t)),u(d,E).then(function(e){return e.data})})},f.authToken=null,f.getAuthToken=function(){return new Promise(function(e){if(f.authToken)e(f.authToken);else if(f.overrides.getAuthToken)f.overrides.getAuthToken().then(function(t){e(t)});else{var t=window.store;if(t){var n=t.getState(),r=n.auth?n.auth.authToken:null;f.authToken=r,e(r)}e(null)}})},f.getCurrentUser=function(){return f.call('user','me')},f.authenticate=function(){return f.enabled?(null===f.authenticationPromise&&(f.authenticationPromise=new Promise(function(e,t){f.getAuthToken().then(function(e){return!(!e||e.length>60)&&f.getCurrentUser().then(function(e){return e}).catch(function(){return!1})}).then(function(e){return e||i.Lbry.status().then(function(e){return f.overrides.setAuthToken?f.overrides.setAuthToken(e):new Promise(function(t,n){f.call('user','new',{auth_token:'',language:'en',app_id:e.installation_id},'post').then(function(e){if(!e.auth_token)throw new Error('auth_token was not set in the response');var n=window.store;n&&n.dispatch({type:r.GENERATE_AUTH_TOKEN_SUCCESS,data:{authToken:e.auth_token}}),f.authToken=e.auth_token,t(e)}).catch(function(e){return n(e)})})})}).then(function(e){return e||f.getCurrentUser()}).then(e,t)})),f.authenticationPromise):new Promise(function(e){e({id:1,language:'en',primary_email:'disabled@lbry.io',has_verified_email:!0,is_identity_verified:!0,is_reward_approved:!1})})},f.getStripeToken=function(){return f.CONNECTION_STRING.startsWith('http://localhost:')?'pk_test_NoL1JWL7i1ipfhVId5KfDZgo':'pk_live_e8M4dRNnCCbmpZzduEUZBgJO'},f.getExchangeRates=function(){return(!f.exchangeLastFetched||Date.now()-f.exchangeLastFetched>12e5)&&(f.exchangePromise=new Promise(function(e,t){f.call('lbc','exchange_rate',{},'get',!0).then(function(t){var n=t.lbc_usd,r=t.lbc_btc,i=t.btc_usd;e({LBC_USD:n,LBC_BTC:r,BTC_USD:i})}).catch(t)}),f.exchangeLastFetched=Date.now()),f.exchangePromise},f.overrides={},f.setOverride=function(e,t){f.overrides[e]=t},t.default=f},function(t,n){t.exports=e},function(e,t,n){"use strict";t.decode=t.parse=n(7),t.encode=t.stringify=n(8)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,u){t=t||'&',n=n||'=';var o={};if('string'!=typeof e||0===e.length)return o;var c=/\+/g;e=e.split(t);var a=1e3;u&&'number'==typeof u.maxKeys&&(a=u.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var f=0;f=0?(l=S.substr(0,T),d=S.substr(T+1)):(l=S,d=''),E=decodeURIComponent(l),_=decodeURIComponent(d),r(o,E)?i(o[E])?o[E].push(_):o[E]=[o[E],_]:o[E]=_}return o};var i=Array.isArray||function(e){return'[object Array]'===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case'string':return e;case'boolean':return e?'true':'false';case'number':return isFinite(e)?e:'';default:return''}};e.exports=function(e,t,n,c){return t=t||'&',n=n||'=',null===e&&(e=void 0),'object'==typeof e?u(o(e),function(o){var c=encodeURIComponent(r(o))+n;return i(e[o])?u(e[o],function(e){return c+encodeURIComponent(r(e))}).join(t):c+encodeURIComponent(r(e[o]))}).join(t):c?encodeURIComponent(r(c))+n+encodeURIComponent(r(e)):''};var i=Array.isArray||function(e){return'[object Array]'===Object.prototype.toString.call(e)};function u(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r0&&-1===r.indexOf(n)&&r.push(n),s({},e,{enabledChannelNotifications:r})}),f(r,i.CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS,function(e,t){var n=t.data,r=e.enabledChannelNotifications.slice(),i=r.indexOf(n);return i>-1&&r.splice(i,1),s({},e,{enabledChannelNotifications:r})}),f(r,i.FETCH_SUBSCRIPTIONS_START,function(e){return s({},e,{loading:!0})}),f(r,i.FETCH_SUBSCRIPTIONS_FAIL,function(e){return s({},e,{loading:!1})}),f(r,i.FETCH_SUBSCRIPTIONS_SUCCESS,function(e,t){return s({},e,{loading:!1,subscriptions:t.data})}),f(r,i.SET_VIEW_MODE,function(e,t){return s({},e,{viewMode:t.data})}),f(r,i.GET_SUGGESTED_SUBSCRIPTIONS_START,function(e){return s({},e,{loadingSuggested:!0})}),f(r,i.GET_SUGGESTED_SUBSCRIPTIONS_SUCCESS,function(e,t){return s({},e,{suggested:t.data,loadingSuggested:!1})}),f(r,i.GET_SUGGESTED_SUBSCRIPTIONS_FAIL,function(e){return s({},e,{loadingSuggested:!1})}),f(r,i.SUBSCRIPTION_FIRST_RUN_COMPLETED,function(e){return s({},e,{firstRunCompleted:!0})}),f(r,i.VIEW_SUGGESTED_SUBSCRIPTIONS,function(e){return s({},e,{showSuggestedSubs:!0})}),f(r,u.ACTIONS.USER_STATE_POPULATE,function(e,t){var n,r=t.data.subscriptions;if(r){var i=r.map(function(e){var t=Object(u.parseURI)(e).channelName;return{uri:e,channelName:"@".concat(t)}});if(e.subscriptions&&e.subscriptions.length){var o={};n=i.concat(e.subscriptions).filter(function(e){return!o[e.uri]&&(o[e.uri]=!0)},{})}else n=i}else n=e.subscriptions;return s({},e,{subscriptions:n})}),r),l)},function(e,t,n){"use strict";n.r(t),n.d(t,"VIEW_ALL",function(){return r}),n.d(t,"VIEW_LATEST_FIRST",function(){return i}),n.d(t,"DOWNLOADING",function(){return u}),n.d(t,"DOWNLOADED",function(){return o}),n.d(t,"NOTIFY_ONLY",function(){return c}),n.d(t,"SUGGESTED_TOP_BID",function(){return a}),n.d(t,"SUGGESTED_TOP_SUBSCRIBED",function(){return s}),n.d(t,"SUGGESTED_FEATURED",function(){return f});var r='view_all',i='view_latest_first',u='DOWNLOADING',o='DOWNLOADED',c='NOTIFY_ONLY;',a='top_bid',s='top_subscribed',f='featured'},function(e,t,n){"use strict";n.r(t),n.d(t,"handleActions",function(){return r});var r=function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=arguments.length>1?arguments[1]:void 0,i=e[r.type];if(i){var u=i(n,r);return a({},n,u)}return n}}},function(e,t,n){"use strict";n.r(t),n.d(t,"userStateSyncMiddleware",function(){return f});var r=n(5),i=(n.n(r),n(4)),u=n(1),o=n(14);function c(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:r,n=null,u=null;return function(){return i(t,n,arguments)||(u=e.apply(null,arguments)),n=arguments,u}}function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return'function'==typeof e})){var n=t.map(function(e){return typeof e}).join(', ');throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+']')}return t}function c(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:a;if('object'!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+' bytes');return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if('undefined'!=typeof ArrayBuffer&&'function'==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;'string'!=typeof e&&(e=''+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case'ascii':case'latin1':case'binary':return n;case'utf8':case'utf-8':case void 0:return J(e).length;case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return 2*n;case'hex':return n>>>1;case'base64':return q(e).length;default:if(r)return J(e).length;t=(''+t).toLowerCase(),r=!0}}function R(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return'';if((void 0===n||n>this.length)&&(n=this.length),n<=0)return'';if((n>>>=0)<=(t>>>=0))return'';for(e||(e='utf8');;)switch(e){case'hex':return D(this,t,n);case'utf8':case'utf-8':return v(this,t,n);case'ascii':return L(this,t,n);case'latin1':case'binary':return F(this,t,n);case'base64':return m(this,t,n);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return B(this,t,n);default:if(r)throw new TypeError('Unknown encoding: '+e);e=(e+'').toLowerCase(),r=!0}}function C(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if('string'==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if('string'==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:I(e,t,n,r,i);if('number'==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&'function'==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):I(e,[t],n,r,i);throw new TypeError('val must be string, number or Buffer')}function I(e,t,n,r,i){var u,o=1,c=e.length,a=t.length;if(void 0!==r&&('ucs2'===(r=String(r).toLowerCase())||'ucs-2'===r||'utf16le'===r||'utf-16le'===r)){if(e.length<2||t.length<2)return-1;o=2,c/=2,a/=2,n/=2}function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var f=-1;for(u=n;uc&&(n=c-a),u=n;u>=0;u--){for(var l=!0,d=0;di&&(r=i):r=i;var u=t.length;if(u%2!=0)throw new TypeError('Invalid hex string');r>u/2&&(r=u/2);for(var o=0;o239?4:s>223?3:s>191?2:1;if(i+l<=n)switch(l){case 1:s<128&&(f=s);break;case 2:128==(192&(u=e[i+1]))&&(a=(31&s)<<6|63&u)>127&&(f=a);break;case 3:u=e[i+1],o=e[i+2],128==(192&u)&&128==(192&o)&&(a=(15&s)<<12|(63&u)<<6|63&o)>2047&&(a<55296||a>57343)&&(f=a);break;case 4:u=e[i+1],o=e[i+2],c=e[i+3],128==(192&u)&&128==(192&o)&&128==(192&c)&&(a=(15&s)<<18|(63&u)<<12|(63&o)<<6|63&c)>65535&&a<1114112&&(f=a)}null===f?(f=65533,l=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),i+=l}return w(r)}t.Buffer=a,t.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:(function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&'function'==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}})(),t.kMaxLength=o(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,'undefined'==typeof Symbol||"function"==typeof Symbol&&!Symbol.species||a["function"==typeof Symbol?Symbol.species:"@@species"]!==a||Object.defineProperty(a,"function"==typeof Symbol?Symbol.species:"@@species",{value:null,configurable:!0})),a.alloc=function(e,t,n){return l(null,e,t,n)},a.allocUnsafe=function(e){return d(null,e)},a.allocUnsafeSlow=function(e){return d(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('Arguments must be Buffers');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,u=Math.min(n,r);i0&&(e=this.toString('hex',0,n).match(/.{2}/g).join(' '),this.length>n&&(e+=' ... ')),''},a.prototype.compare=function(e,t,n,r,i){if(!a.isBuffer(e))throw new TypeError('Argument must be a Buffer');if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError('out of range index');if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var u=i-r,o=n-t,c=Math.min(u,o),s=this.slice(r,i),f=e.slice(t,n),l=0;li)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError('Attempt to write outside buffer bounds');r||(r='utf8');for(var u=!1;;)switch(r){case'hex':return g(this,e,t,n);case'utf8':case'utf-8':return U(this,e,t,n);case'ascii':return A(this,e,t,n);case'latin1':case'binary':return O(this,e,t,n);case'base64':return b(this,e,t,n);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return N(this,e,t,n);default:if(u)throw new TypeError('Unknown encoding: '+r);r=(''+r).toLowerCase(),u=!0}},a.prototype.toJSON=function(){return{type:'Buffer',data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function w(e){var t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);for(var n='',r=0;rr)&&(n=r);for(var i='',u=t;un)throw new RangeError('Trying to access beyond buffer length')}function Y(e,t,n,r,i,u){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError('Index out of range')}function H(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,u=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,u=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function V(e,t,n,r,i,u){if(n+r>e.length)throw new RangeError('Index out of range');if(n<0)throw new RangeError('Index out of range')}function k(e,t,n,r,u){return u||V(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function G(e,t,n,r,u){return u||V(e,0,n,8),i.write(e,t,n,r,52,8),n+8}a.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=this[e],i=1,u=0;++u=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||M(e,t,this.length);for(var r=t,i=1,u=this[e+--r];r>0&&(i*=256);)u+=this[e+--r]*i;return u>=(i*=128)&&(u-=Math.pow(2,8*t)),u},a.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Y(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,u=0;for(this[t]=255&e;++u=0&&(u*=256);)this[t+i]=e/u&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Y(this,e,t,n,i-1,-i)}var u=0,o=1,c=0;for(this[t]=255&e;++u>0)-c&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Y(this,e,t,n,i-1,-i)}var u=n-1,o=1,c=0;for(this[t+u]=255&e;--u>=0&&(o*=256);)e<0&&0===c&&0!==this[t+u+1]&&(c=1),this[t+u]=(e/o>>0)-c&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):H(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):H(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Y(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return k(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return k(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return G(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return G(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError('sourceStart out of bounds');if(r<0)throw new RangeError('sourceEnd out of bounds');r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(u<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),'number'==typeof e)for(u=t;u55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&u.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&u.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&u.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&u.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;u.push(n)}else if(n<2048){if((t-=2)<0)break;u.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;u.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error('Invalid code point');if((t-=4)<0)break;u.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return u}function X(e){for(var t=[],n=0;n>8,i=n%256,u.push(i),u.push(r);return u}function q(e){return r.toByteArray(x(e))}function $(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(19))},function(e,t){var n;n=(function(){return this})();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){for(var t,n=s(e),r=n[0],o=n[1],c=new u(f(e,r,o)),a=0,l=o>0?r-4:r,d=0;d>16&255,c[a++]=t>>8&255,c[a++]=255&t;2===o&&(t=i[e.charCodeAt(d)]<<2|i[e.charCodeAt(d+1)]>>4,c[a++]=255&t);1===o&&(t=i[e.charCodeAt(d)]<<10|i[e.charCodeAt(d+1)]<<4|i[e.charCodeAt(d+2)]>>2,c[a++]=t>>8&255,c[a++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,u=[],o=0,c=n-i;oc?c:o+16383));1===i?(t=e[n-1],u.push(r[t>>2]+r[t<<4&63]+'==')):2===i&&(t=(e[n-2]<<8)+e[n-1],u.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+'='));return u.join('')};for(var r=[],i=[],u='undefined'!=typeof Uint8Array?Uint8Array:Array,o='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',c=0,a=o.length;c0)throw new Error('Invalid string. Length must be a multiple of 4');var n=e.indexOf('=');return-1===n&&(n=t),[n,n===t?0:4-n%4]}function f(e,t,n){return 3*(t+n)/4-n}function l(e,t,n){for(var i,u,o=[],c=t;c>18&63]+r[u>>12&63]+r[u>>6&63]+r[63&u]);return o.join('')}i['-'.charCodeAt(0)]=62,i['_'.charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var u,o,c=8*i-r-1,a=(1<>1,f=-7,l=n?i-1:0,d=n?-1:1,E=e[t+l];for(l+=d,u=E&(1<<-f)-1,E>>=-f,f+=c;f>0;u=256*u+e[t+l],l+=d,f-=8);for(o=u&(1<<-f)-1,u>>=-f,f+=r;f>0;o=256*o+e[t+l],l+=d,f-=8);if(0===u)u=1-s;else{if(u===a)return o?NaN:1/0*(E?-1:1);o+=Math.pow(2,r),u-=s}return(E?-1:1)*o*Math.pow(2,u-r)},t.write=function(e,t,n,r,i,u){var o,c,a,s=8*u-i-1,f=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,E=r?0:u-1,_=r?1:-1,S=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-o))<1&&(o--,a*=2),(t+=o+l>=1?d/a:d*Math.pow(2,1-l))*a>=2&&(o++,a/=2),o+l>=f?(c=0,o=f):o+l>=1?(c=(t*a-1)*Math.pow(2,i),o+=l):(c=t*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;e[n+E]=255&c,E+=_,c/=256,i-=8);for(o=o<0;e[n+E]=255&o,E+=_,o/=256,s-=8);e[n+E-_]|=128*S}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return'[object Array]'==n.call(e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"doGenerateAuthToken",function(){return u});var r=n(1),i=n(4);function u(e){return function(t){t({type:r.GENERATE_AUTH_TOKEN_STARTED}),i.default.call('user','new',{auth_token:'',language:'en',app_id:e},'post').then(function(e){e.auth_token?t({type:r.GENERATE_AUTH_TOKEN_SUCCESS,data:{authToken:e.auth_token}}):t({type:r.GENERATE_AUTH_TOKEN_FAILURE})}).catch(function(){t({type:r.GENERATE_AUTH_TOKEN_FAILURE})})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"doRewardList",function(){return s}),n.d(t,"doClaimRewardType",function(){return f}),n.d(t,"doClaimEligiblePurchaseRewards",function(){return l}),n.d(t,"doClaimRewardClearError",function(){return d}),n.d(t,"doFetchRewardedContent",function(){return E});var r=n(4),i=n(5),u=(n.n(i),n(25)),o=n(26),c=n(27),a=n(9);function s(){return function(e){e({type:i.ACTIONS.FETCH_REWARDS_STARTED}),r.default.call('reward','list',{multiple_rewards_per_type:!0}).then(function(t){e({type:i.ACTIONS.FETCH_REWARDS_COMPLETED,data:{userRewards:t}})}).catch(function(){e({type:i.ACTIONS.FETCH_REWARDS_COMPLETED,data:{userRewards:[]}})})}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n,r){var f=r(),l=Object(o.selectUserIsRewardApproved)(f),d=Object(u.selectUnclaimedRewards)(f),E=e===a.default.TYPE_REWARD_CODE?{reward_type:a.default.TYPE_REWARD_CODE}:d.find(function(t){return t.reward_type===e});if(e===a.default.TYPE_REWARD_CODE&&e===a.default.TYPE_CONFIRM_EMAIL&&e===a.default.TYPE_DAILY_VIEW||E&&!E.transaction_id){if(l||e===a.default.TYPE_CONFIRM_EMAIL||e===a.default.TYPE_REWARD_CODE){var _=t.params||{};_.claim_code=E.claim_code,n({type:i.ACTIONS.CLAIM_REWARD_STARTED,data:{reward:E}});return a.default.claimReward(e,_).then(function(e){setTimeout(function(){n(Object(i.doUpdateBalance)()).then(function(){n({type:i.ACTIONS.CLAIM_REWARD_SUCCESS,data:{reward:e}}),e.reward_type===a.default.TYPE_NEW_USER&&a.default.callbacks.claimFirstRewardSuccess?a.default.callbacks.claimFirstRewardSuccess():e.reward_type===a.default.TYPE_REFERRAL&&n(Object(c.doFetchInviteStatus)()),n(s()),t.callback&&t.callback()})},2e3)},function(e){n({type:i.ACTIONS.CLAIM_REWARD_FAILURE,data:{reward:E,error:t&&t.failSilently?void 0:e}}),t.notifyError&&n(Object(i.doToast)({message:e.message,isError:!0})),t.callback&&t.callback(e)})}(!t||!t.failSilently&&a.default.callbacks.rewardApprovalRequested)&&a.default.callbacks.rewardApprovalRequested()}}}function l(){return function(e,t){var n=t(),i=Object(u.selectUnclaimedRewards)(n);Object(o.selectUserIsRewardApproved)(n)&&r.default.enabled&&(i.find(function(e){return e.reward_type===a.default.TYPE_FIRST_STREAM})?e(f(a.default.TYPE_FIRST_STREAM)):[a.default.TYPE_MANY_DOWNLOADS,a.default.TYPE_DAILY_VIEW].forEach(function(t){e(f(t,{failSilently:!0}))}))}}function d(e){return function(t){t({type:i.ACTIONS.CLAIM_REWARD_CLEAR_ERROR,data:{reward:e}})}}function E(){return function(e){r.default.call('reward','list_featured').then(function(t){e({type:i.ACTIONS.FETCH_REWARD_CONTENT_COMPLETED,data:{claimIds:Object.values(t),success:!0}})},function(){e({type:i.ACTIONS.FETCH_REWARD_CONTENT_COMPLETED,data:{claimIds:[],success:!1}})})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"selectUnclaimedRewardsByType",function(){return o}),n.d(t,"selectClaimedRewardsById",function(){return c}),n.d(t,"selectClaimedRewards",function(){return a}),n.d(t,"selectClaimedRewardsByTransactionId",function(){return s}),n.d(t,"selectUnclaimedRewards",function(){return f}),n.d(t,"selectFetchingRewards",function(){return l}),n.d(t,"selectUnclaimedRewardValue",function(){return d}),n.d(t,"selectClaimsPendingByType",function(){return E}),n.d(t,"makeSelectIsRewardClaimPending",function(){return S}),n.d(t,"selectClaimErrorsByType",function(){return T}),n.d(t,"makeSelectClaimRewardError",function(){return p}),n.d(t,"makeSelectRewardByType",function(){return C}),n.d(t,"makeSelectRewardAmountByType",function(){return y}),n.d(t,"selectRewardContentClaimIds",function(){return I}),n.d(t,"selectReferralReward",function(){return g});var r=n(15),i=(n.n(r),n(9)),u=function(e){return e.rewards||{}},o=Object(r.createSelector)(u,function(e){return e.unclaimedRewardsByType}),c=Object(r.createSelector)(u,function(e){return e.claimedRewardsById}),a=Object(r.createSelector)(c,function(e){return Object.values(e)||[]}),s=Object(r.createSelector)(a,function(e){return e.reduce(function(e,t){var n=e;return n[t.transaction_id]=t,n},{})}),f=Object(r.createSelector)(u,function(e){return e.unclaimedRewards}),l=Object(r.createSelector)(u,function(e){return!!e.fetching}),d=Object(r.createSelector)(f,function(e){return e.reduce(function(e,t){return e+t.reward_amount},0)}),E=Object(r.createSelector)(u,function(e){return e.claimPendingByType}),_=function(e,t){return E(e,t)[t.reward_type]},S=function(){return Object(r.createSelector)(_,function(e){return e})},T=Object(r.createSelector)(u,function(e){return e.claimErrorsByType}),h=function(e,t){return T(e,t)[t.reward_type]},p=function(){return Object(r.createSelector)(h,function(e){return e})},R=function(e,t){return f(e).find(function(e){return e.reward_type===t})},C=function(){return Object(r.createSelector)(R,function(e){return e})},y=function(){return Object(r.createSelector)(R,function(e){return e?e.reward_amount:0})},I=Object(r.createSelector)(u,function(e){return e.rewardedContentClaimIds}),g=Object(r.createSelector)(f,function(e){return e.filter(function(e){return e.reward_type===i.default.TYPE_REFERRAL})[0]})},function(e,t,n){"use strict";n.r(t),n.d(t,"selectState",function(){return i}),n.d(t,"selectAuthenticationIsPending",function(){return u}),n.d(t,"selectUserIsPending",function(){return o}),n.d(t,"selectUser",function(){return c}),n.d(t,"selectEmailAlreadyExists",function(){return a}),n.d(t,"selectResendingVerificationEmail",function(){return s}),n.d(t,"selectUserEmail",function(){return f}),n.d(t,"selectUserPhone",function(){return l}),n.d(t,"selectUserCountryCode",function(){return d}),n.d(t,"selectEmailToVerify",function(){return E}),n.d(t,"selectPhoneToVerify",function(){return _}),n.d(t,"selectYoutubeChannels",function(){return S}),n.d(t,"selectUserIsRewardApproved",function(){return T}),n.d(t,"selectEmailNewIsPending",function(){return h}),n.d(t,"selectEmailNewErrorMessage",function(){return p}),n.d(t,"selectPhoneNewErrorMessage",function(){return R}),n.d(t,"selectEmailVerifyIsPending",function(){return C}),n.d(t,"selectEmailVerifyErrorMessage",function(){return y}),n.d(t,"selectPhoneNewIsPending",function(){return I}),n.d(t,"selectPhoneVerifyIsPending",function(){return g}),n.d(t,"selectPhoneVerifyErrorMessage",function(){return U}),n.d(t,"selectIdentityVerifyIsPending",function(){return A}),n.d(t,"selectIdentityVerifyErrorMessage",function(){return O}),n.d(t,"selectUserVerifiedEmail",function(){return b}),n.d(t,"selectUserIsVerificationCandidate",function(){return N}),n.d(t,"selectAccessToken",function(){return m}),n.d(t,"selectUserInviteStatusIsPending",function(){return v}),n.d(t,"selectUserInvitesRemaining",function(){return P}),n.d(t,"selectUserInvitees",function(){return w}),n.d(t,"selectUserInviteStatusFailed",function(){return L}),n.d(t,"selectUserInviteNewIsPending",function(){return F}),n.d(t,"selectUserInviteNewErrorMessage",function(){return D}),n.d(t,"selectUserInviteReferralLink",function(){return B}),n.d(t,"selectUserInviteReferralCode",function(){return M}),n.d(t,"selectYouTubeImportPending",function(){return Y}),n.d(t,"selectYouTubeImportError",function(){return H}),n.d(t,"selectSetReferrerPending",function(){return j}),n.d(t,"selectSetReferrerError",function(){return V}),n.d(t,"selectYouTubeImportVideosComplete",function(){return k});var r=n(15),i=(n.n(r),function(e){return e.user||{}}),u=Object(r.createSelector)(i,function(e){return e.authenticationIsPending}),o=Object(r.createSelector)(i,function(e){return e.userIsPending}),c=Object(r.createSelector)(i,function(e){return e.user}),a=Object(r.createSelector)(i,function(e){return e.emailAlreadyExists}),s=Object(r.createSelector)(i,function(e){return e.resendingVerificationEmail}),f=Object(r.createSelector)(c,function(e){return e?e.primary_email:null}),l=Object(r.createSelector)(c,function(e){return e?e.phone_number:null}),d=Object(r.createSelector)(c,function(e){return e?e.country_code:null}),E=Object(r.createSelector)(i,f,function(e,t){return e.emailToVerify||t}),_=Object(r.createSelector)(i,l,function(e,t){return e.phoneToVerify||t}),S=Object(r.createSelector)(c,function(e){return e?e.youtube_channels:null}),T=Object(r.createSelector)(c,function(e){return e&&e.is_reward_approved}),h=Object(r.createSelector)(i,function(e){return e.emailNewIsPending}),p=Object(r.createSelector)(i,function(e){return e.emailNewErrorMessage}),R=Object(r.createSelector)(i,function(e){return e.phoneNewErrorMessage}),C=Object(r.createSelector)(i,function(e){return e.emailVerifyIsPending}),y=Object(r.createSelector)(i,function(e){return e.emailVerifyErrorMessage}),I=Object(r.createSelector)(i,function(e){return e.phoneNewIsPending}),g=Object(r.createSelector)(i,function(e){return e.phoneVerifyIsPending}),U=Object(r.createSelector)(i,function(e){return e.phoneVerifyErrorMessage}),A=Object(r.createSelector)(i,function(e){return e.identityVerifyIsPending}),O=Object(r.createSelector)(i,function(e){return e.identityVerifyErrorMessage}),b=Object(r.createSelector)(c,function(e){return e&&e.has_verified_email}),N=Object(r.createSelector)(c,function(e){return e&&(!e.has_verified_email||!e.is_identity_verified)}),m=Object(r.createSelector)(i,function(e){return e.accessToken}),v=Object(r.createSelector)(i,function(e){return e.inviteStatusIsPending}),P=Object(r.createSelector)(i,function(e){return e.invitesRemaining}),w=Object(r.createSelector)(i,function(e){return e.invitees}),L=Object(r.createSelector)(P,function(){return null===P}),F=Object(r.createSelector)(i,function(e){return e.inviteNewIsPending}),D=Object(r.createSelector)(i,function(e){return e.inviteNewErrorMessage}),B=Object(r.createSelector)(i,function(e){return e.referralLink}),M=Object(r.createSelector)(i,function(e){return e.referralCode?e.referralCode[0]:''}),Y=Object(r.createSelector)(i,function(e){return e.youtubeChannelImportPending}),H=Object(r.createSelector)(i,function(e){return e.youtubeChannelImportErrorMessage}),j=Object(r.createSelector)(i,function(e){return e.referrerSetIsPending}),V=Object(r.createSelector)(i,function(e){return e.referrerSetError}),k=Object(r.createSelector)(i,function(e){var t=e.youtubeChannelImportTotal,n=e.youtubeChannelImportComplete||0;if(t)return[n,t]})},function(e,t,n){"use strict";n.r(t),n.d(t,"doFetchInviteStatus",function(){return _}),n.d(t,"doInstallNew",function(){return S}),n.d(t,"doAuthenticate",function(){return T}),n.d(t,"doUserFetch",function(){return h}),n.d(t,"doUserCheckEmailVerified",function(){return p}),n.d(t,"doUserPhoneReset",function(){return R}),n.d(t,"doUserPhoneNew",function(){return C}),n.d(t,"doUserPhoneVerifyFailure",function(){return y}),n.d(t,"doUserPhoneVerify",function(){return I}),n.d(t,"doUserEmailToVerify",function(){return g}),n.d(t,"doUserEmailNew",function(){return U}),n.d(t,"doUserResendVerificationEmail",function(){return A}),n.d(t,"doUserEmailVerifyFailure",function(){return O}),n.d(t,"doUserEmailVerify",function(){return b}),n.d(t,"doFetchAccessToken",function(){return N}),n.d(t,"doUserIdentityVerify",function(){return m}),n.d(t,"doUserInviteNew",function(){return v}),n.d(t,"doUserSetReferrerReset",function(){return P}),n.d(t,"doUserSetReferrer",function(){return w}),n.d(t,"doClaimYoutubeChannels",function(){return L}),n.d(t,"doCheckYoutubeTransfer",function(){return F});var r=n(5),i=(n.n(r),n(1)),u=n(24),o=n(26),a=n(9),s=n(4);function f(e,t,n,r,i,u,o){try{var c=e[u](o),a=c.value}catch(e){return void n(e)}c.done?t(a):Promise.resolve(a).then(r,i)}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function d(e,t){var n=[],r=!0,i=!1,u=void 0;try{for(var o,c=e["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,u=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw u}}return n}function E(e){if(Array.isArray(e))return e}function _(){return function(e){e({type:i.USER_INVITE_STATUS_FETCH_STARTED}),Promise.all([s.default.call('user','invite_status'),s.default.call('user_referral_code','list')]).then(function(t){var n,r,o=(r=2,E(n=t)||d(n,r)||l()),c=o[0],a=o[1];e(Object(u.doRewardList)()),e({type:i.USER_INVITE_STATUS_FETCH_SUCCESS,data:{invitesRemaining:c.invites_remaining?c.invites_remaining:0,invitees:c.invitees,referralLink:"".concat(s.default.CONNECTION_STRING,"user/refer?r=").concat(a),referralCode:a}})}).catch(function(t){e({type:i.USER_INVITE_STATUS_FETCH_FAILURE,data:{error:t}})})}}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={app_version:e};n&&(i.firebase_token=n),r.Lbry.status().then(function(e){i.app_id=e.installation_id,i.node_id=e.lbry_id,r.Lbry.version().then(function(e){i.daemon_version=e.lbrynet_version,i.operating_system=t||e.os_system,i.platform=e.platform,s.default.call('install','new',i)})})}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(r){r({type:i.AUTHENTICATION_STARTED}),s.default.authenticate().then(function(o){s.default.getAuthToken().then(function(c){r({type:i.AUTHENTICATION_SUCCESS,data:{user:o,accessToken:c}}),r(Object(u.doRewardList)()),r(_()),S(e,t,n)})}).catch(function(e){r({type:i.AUTHENTICATION_FAILURE,data:{error:e}})})}}function h(){return function(e){e({type:i.USER_FETCH_STARTED}),s.default.getCurrentUser().then(function(t){e(Object(u.doRewardList)()),e({type:i.USER_FETCH_SUCCESS,data:{user:t}})}).catch(function(t){e({type:i.USER_FETCH_FAILURE,data:{error:t}})})}}function p(){return function(e){s.default.getCurrentUser().then(function(t){t.has_verified_email&&(e(Object(u.doRewardList)()),e({type:i.USER_FETCH_SUCCESS,data:{user:t}}))})}}function R(){return{type:i.USER_PHONE_RESET}}function C(e,t){return function(n){n({type:i.USER_PHONE_NEW_STARTED,data:{phone:e,country_code:t}});s.default.call('user','phone_number_new',{phone_number:e,country_code:t},'post').then(function(){n({type:i.USER_PHONE_NEW_SUCCESS,data:{phone:e}})},function(e){n({type:i.USER_PHONE_NEW_FAILURE,data:{error:e}})})}}function y(e){return{type:i.USER_PHONE_VERIFY_FAILURE,data:{error:e}}}function I(e){return function(t,n){var r=Object(o.selectPhoneToVerify)(n()),c=Object(o.selectUserCountryCode)(n());t({type:i.USER_PHONE_VERIFY_STARTED,code:e}),s.default.call('user','phone_number_confirm',{verification_code:e,phone_number:r,country_code:c},'post').then(function(e){e.is_identity_verified&&(t({type:i.USER_PHONE_VERIFY_SUCCESS,data:{user:e}}),t(Object(u.doClaimRewardType)(a.default.TYPE_NEW_USER)))}).catch(function(e){return t(y(e))})}}function g(e){return function(t){t({type:i.USER_EMAIL_VERIFY_SET,data:{email:e}})}}function U(e){return function(t){t({type:i.USER_EMAIL_NEW_STARTED,email:e});var n=function(){t({type:i.USER_EMAIL_NEW_SUCCESS,data:{email:e}}),t(h())},r=function(e){t({type:i.USER_EMAIL_NEW_FAILURE,data:{error:e}})};s.default.call('user_email','new',{email:e,send_verification_email:!0},'post').catch(function(u){if(u.response&&409===u.response.status)return t({type:i.USER_EMAIL_NEW_EXISTS}),s.default.call('user_email','resend_token',{email:e,only_if_expired:!0},'post').then(n,r);throw u}).then(n,r)}}function A(e){return function(t){t({type:i.USER_EMAIL_VERIFY_RETRY_STARTED});s.default.call('user_email','resend_token',{email:e},'post').catch(function(e){if(e.response&&409===e.response.status)throw e}).then(function(){t({type:i.USER_EMAIL_VERIFY_RETRY_SUCCESS})},function(e){t({type:i.USER_EMAIL_VERIFY_RETRY_FAILURE,data:{error:e}})})}}function O(e){return{type:i.USER_EMAIL_VERIFY_FAILURE,data:{error:e}}}function b(e,t){return function(n,r){var u=Object(o.selectEmailToVerify)(r());n({type:i.USER_EMAIL_VERIFY_STARTED,code:e,recaptcha:t}),s.default.call('user_email','confirm',{verification_token:e,email:u,recaptcha:t},'post').then(function(e){if(!e.is_verified)throw new Error('Your email is still not verified.');n({type:i.USER_EMAIL_VERIFY_SUCCESS,data:{email:u}}),n(h())}).catch(function(e){return n(O(e))})}}function N(){return function(e){s.default.getAuthToken().then(function(t){return e({type:i.FETCH_ACCESS_TOKEN_SUCCESS,data:{token:t}})})}}function m(e){return function(t){t({type:i.USER_IDENTITY_VERIFY_STARTED,token:e}),s.default.call('user','verify_identity',{stripe_token:e},'post').then(function(e){if(!e.is_identity_verified)throw new Error('Your identity is still not verified. This should not happen.');t({type:i.USER_IDENTITY_VERIFY_SUCCESS,data:{user:e}}),t(Object(u.doClaimRewardType)(a.default.TYPE_NEW_USER))}).catch(function(e){t({type:i.USER_IDENTITY_VERIFY_FAILURE,data:{error:e.toString()}})})}}function v(e){return function(t){return t({type:i.USER_INVITE_NEW_STARTED}),s.default.call('user','invite',{email:e},'post').then(function(n){return t({type:i.USER_INVITE_NEW_SUCCESS,data:{email:e}}),t(Object(r.doToast)({message:__("Invite sent to ".concat(e))})),t(_()),n}).catch(function(e){t({type:i.USER_INVITE_NEW_FAILURE,data:{error:e}})})}}function P(){return function(e){e({type:i.USER_SET_REFERRER_RESET})}}function w(e,t){return n=c.mark(function n(o,f){var l,d,E,_,S;return c.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(o({type:i.USER_SET_REFERRER_STARTED}),E=Object(r.parseURI)(e),!E.isChannel){n.next=17;break}if(_="lbry://".concat(e),l=Object(r.makeSelectClaimForUri)(_)(f())){n.next=16;break}return n.prev=6,n.next=9,r.Lbry.resolve({urls:[_]});case 9:S=n.sent,l=S&&S[_],n.next=16;break;case 13:n.prev=13,n.t0=n.catch(6),o({type:i.USER_SET_REFERRER_FAILURE,data:{error:n.t0}});case 16:d=l&&l.permanent_url&&l.permanent_url.replace('lbry://','');case 17:return d||(d=e),n.prev=18,n.next=21,s.default.call('user','referral',{referrer:d},'post');case 21:o({type:i.USER_SET_REFERRER_SUCCESS}),t?(o(Object(u.doClaimRewardType)(a.default.TYPE_REFEREE)),o(h())):o(h()),n.next=28;break;case 25:n.prev=25,n.t1=n.catch(18),o({type:i.USER_SET_REFERRER_FAILURE,data:{error:n.t1}});case 28:case"end":return n.stop()}},n,null,[[6,13],[18,25]])}),o=function(){var e=this,t=arguments;return new Promise(function(r,i){var u=n.apply(e,t);function o(e){f(u,r,i,o,c,"next",e)}function c(e){f(u,r,i,o,c,"throw",e)}o(void 0)})},function(e,t){return o.apply(this,arguments)};var n,o}function L(){return function(e){var t;return e({type:i.USER_YOUTUBE_IMPORT_STARTED}),r.Lbry.address_list({page:1,page_size:99999}).then(function(e){return e.items.sort(function(e,t){return e.used_times-t.used_times})[0]}).then(function(n){return s.default.call('yt','transfer',{address:n.address,public_key:n.pubkey}).then(function(n){if(n&&n.length)return t=n,Promise.all(n.map(function(e){return e&&e.channel&&e.channel.channel_certificate?r.Lbry.channel_import({channel_data:e.channel.channel_certificate}):null})).then(function(){var n=[{type:i.USER_YOUTUBE_IMPORT_SUCCESS,data:t}];n.push(h()),n.push(Object(r.doFetchChannelListMine)()),e(r.batchActions.apply(void 0,n))})})}).catch(function(t){e({type:i.USER_YOUTUBE_IMPORT_FAILURE,data:String(t)})})}}function F(){return function(e){return e({type:i.USER_YOUTUBE_IMPORT_STARTED}),s.default.call('yt','transfer').then(function(t){if(!t||!t.length)throw new Error;e({type:i.USER_YOUTUBE_IMPORT_SUCCESS,data:t})}).catch(function(t){e({type:i.USER_YOUTUBE_IMPORT_FAILURE,data:String(t)})})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"doSetViewMode",function(){return E}),n.d(t,"setSubscriptionLatest",function(){return _}),n.d(t,"doUpdateUnreadSubscriptions",function(){return S}),n.d(t,"doRemoveUnreadSubscriptions",function(){return T}),n.d(t,"doRemoveUnreadSubscription",function(){return h}),n.d(t,"doCheckSubscription",function(){return p}),n.d(t,"doChannelSubscribe",function(){return R}),n.d(t,"doChannelUnsubscribe",function(){return C}),n.d(t,"doCheckSubscriptions",function(){return y}),n.d(t,"doFetchMySubscriptions",function(){return I}),n.d(t,"doCheckSubscriptionsInit",function(){return g}),n.d(t,"doFetchRecommendedSubscriptions",function(){return U}),n.d(t,"doCompleteFirstRun",function(){return A}),n.d(t,"doShowSuggestedSubs",function(){return O}),n.d(t,"doChannelSubscriptionEnableNotifications",function(){return b}),n.d(t,"doChannelSubscriptionDisableNotifications",function(){return N});var r=n(29),i=n(24),u=n(14),o=n(5),c=(n.n(o),n(1)),a=n(11),s=n(4),f=n(9);function l(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return function(t){t({type:u.FETCH_FEATURED_CONTENT_STARTED});r.default.call('file','list_homepage').then(function(n){var r=n.Uris,c=[];Object.keys(r).forEach(function(e){c=[].concat(o(c),o(r[e]))});var a=[{type:u.FETCH_FEATURED_CONTENT_COMPLETED,data:{uris:r,success:!0}}];c.length&&!e&&a.push(Object(i.doResolveUris)(c)),t(i.batchActions.apply(void 0,a))},function(){t({type:u.FETCH_FEATURED_CONTENT_COMPLETED,data:{uris:{}}})})}}function l(){return function(e){e({type:u.FETCH_TRENDING_CONTENT_STARTED});r.default.call('file','list_trending').then(function(t){var n=t.map(function(e){return e.url}),r=[Object(i.doResolveUris)(n),{type:u.FETCH_TRENDING_CONTENT_COMPLETED,data:{uris:t,success:!0}}];e(i.batchActions.apply(void 0,r))},function(){e({type:u.FETCH_TRENDING_CONTENT_COMPLETED,data:{uris:[]}})})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"doFetchViewCount",function(){return u}),n.d(t,"doFetchSubCount",function(){return o});var r=n(4),i=n(1),u=function(e){return function(t){return t({type:i.FETCH_VIEW_COUNT_STARTED}),r.default.call('file','view_count',{claim_id:e}).then(function(n){var r=n[0];t({type:i.FETCH_VIEW_COUNT_COMPLETED,data:{claimId:e,viewCount:r}})}).catch(function(e){t({type:i.FETCH_VIEW_COUNT_FAILED,data:e})})}},o=function(e){return function(t){return t({type:i.FETCH_SUB_COUNT_STARTED}),r.default.call('subscription','sub_count',{claim_id:e}).then(function(n){var r=n[0];t({type:i.FETCH_SUB_COUNT_COMPLETED,data:{claimId:e,subCount:r}})}).catch(function(e){t({type:i.FETCH_SUB_COUNT_FAILED,data:e})})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"doSetDefaultAccount",function(){return o}),n.d(t,"doSetSync",function(){return c}),n.d(t,"doGetSync",function(){return a}),n.d(t,"doSyncApply",function(){return s}),n.d(t,"doCheckSync",function(){return f}),n.d(t,"doResetSync",function(){return l}),n.d(t,"doSyncEncryptAndDecrypt",function(){return d});var r=n(1),i=n(4),u=n(5);n.n(u);function o(e,t){return function(n){n({type:r.SET_DEFAULT_ACCOUNT}),u.Lbry.account_list().then(function(n){for(var r,i=n.lbc_mainnet,o=0;o0){r=i[o].id;break}!r&&i.length>1&&(r=i[1].id),r?u.Lbry.account_set({account_id:r,default:!0}).then(function(){e&&e()}).catch(function(e){t&&t(e)}):t&&t('Could not set a default account')}).catch(function(e){t&&t(e)})}}function c(e,t,n){return function(u){return u({type:r.SET_SYNC_STARTED}),i.default.call('sync','set',{old_hash:e,new_hash:t,data:n},'post').then(function(e){if(!e.hash)throw Error('No hash returned for sync/set.');return u({type:r.SET_SYNC_COMPLETED,data:{syncHash:e.hash}})}).catch(function(e){u({type:r.SET_SYNC_FAILED,data:{error:e}})})}}function a(e,t){var n=null===e||void 0===e?'':e;function o(e){if(t){if('function'!=typeof t)throw new Error('Second argument passed to "doGetSync" must be a function');t(e)}}return function(e){e({type:r.GET_SYNC_STARTED});var t={};u.Lbry.wallet_status().then(function(e){return!e.is_locked||u.Lbry.wallet_unlock({password:n})}).then(function(e){if(e)return u.Lbry.sync_hash();throw t.unlockFailed=!0,new Error}).then(function(e){return i.default.call('sync','get',{hash:e},'post')}).then(function(e){var r=e.hash;if(t.syncHash=r,t.syncData=e.data,t.hasSyncedWallet=!0,e.changed)return u.Lbry.sync_apply({password:n,data:e.data,blocking:!0})}).then(function(n){if(!n)return e({type:r.GET_SYNC_COMPLETED,data:t}),void o();var i=n.hash,u=n.data;i!==t.syncHash&&e(c(t.syncHash,i,u)),e({type:r.GET_SYNC_COMPLETED,data:t}),o()}).catch(function(i){if(t.unlockFailed)return e({type:r.GET_SYNC_FAILED,data:{error:i}}),''!==n&&e({type:r.SYNC_APPLY_BAD_PASSWORD}),void o(i);if(t.hasSyncedWallet){var a='Error getting synced wallet';e({type:r.GET_SYNC_FAILED,data:{error:a}}),''!==n&&e({type:r.SYNC_APPLY_BAD_PASSWORD}),o(a)}else e({type:r.GET_SYNC_COMPLETED,data:{hasSyncedWallet:!1,syncHash:null}}),u.Lbry.sync_apply({password:n}).then(function(t){var n=t.hash,r=t.data;e(c('',n,r)),o()}).catch(function(e){o(e)})})}}function s(e,t,n){return function(i){i({type:r.SYNC_APPLY_STARTED}),u.Lbry.sync_apply({password:n,data:t}).then(function(t){var n=t.hash,u=t.data;i({type:r.SYNC_APPLY_COMPLETED}),n!==e&&i(c(e,n,u))}).catch(function(){i({type:r.SYNC_APPLY_FAILED,data:{error:'Invalid password specified. Please enter the password for your previously synchronised wallet.'}})})}}function f(){return function(e){e({type:r.GET_SYNC_STARTED}),u.Lbry.sync_hash().then(function(t){i.default.call('sync','get',{hash:t},'post').then(function(t){var n={hasSyncedWallet:!0,syncHash:t.hash,syncData:t.data,hashChanged:t.changed};e({type:r.GET_SYNC_COMPLETED,data:n})}).catch(function(){e({type:r.GET_SYNC_COMPLETED,data:{hasSyncedWallet:!1,syncHash:null}})})})}}function l(){return function(e){return new Promise(function(t){e({type:r.SYNC_RESET}),t()})}}function d(e,t,n){return function(r){var o={};return u.Lbry.sync_hash().then(function(e){return i.default.call('sync','get',{hash:e},'post')}).then(function(t){return o.oldHash=t.hash,u.Lbry.sync_apply({password:e,data:t.data})}).then(function(){r(n?Object(u.doWalletEncrypt)(t):Object(u.doWalletDecrypt)())}).then(function(){return u.Lbry.sync_apply({password:t})}).then(function(e){if(e.hash!==o.oldHash)return r(c(o.oldHash,e.hash,e.data))}).catch(console.error)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"doUpdateUploadProgress",function(){return i});var r=n(1),i=function(e,t,n){return function(i){return i({type:r.UPDATE_UPLOAD_PROGRESS,data:{progress:e,params:t,xhr:n}})}}},function(e,t,n){"use strict";n.r(t),n.d(t,"authReducer",function(){return o});var r=n(1),i={},u={authenticating:!1};function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,n=i[t.type];return n?n(e,t):e}i[r.GENERATE_AUTH_TOKEN_FAILURE]=function(e){return a({},e,{authToken:null,authenticating:!1})},i[r.GENERATE_AUTH_TOKEN_STARTED]=function(e){return a({},e,{authenticating:!0})},i[r.GENERATE_AUTH_TOKEN_SUCCESS]=function(e,t){return a({},e,{authToken:t.data.authToken,authenticating:!1})}},function(e,t,n){"use strict";n.r(t),n.d(t,"rewardsReducer",function(){return E});var r=n(5);n.n(r);function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function u(e){if(("function"==typeof Symbol?Symbol.iterator:"@@iterator")in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t3&&void 0!==arguments[3]?arguments[3]:'',i=a({},e.claimPendingByType),u=a({},e.claimErrorsByType);return n?i[t.reward_type]=n:delete i[t.reward_type],r?u[t.reward_type]=r:delete u[t.reward_type],a({},e,{claimPendingByType:i,claimErrorsByType:u})}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0,n=f[t.type];return n?n(e,t):e}f[r.ACTIONS.FETCH_REWARDS_STARTED]=function(e){return a({},e,{fetching:!0})},f[r.ACTIONS.FETCH_REWARDS_COMPLETED]=function(e,t){var n=[],r={};return t.data.userRewards.forEach(function(e){e.transaction_id?r[e.id]=e:n.push(e)}),a({},e,{claimedRewardsById:r,unclaimedRewards:n,fetching:!1})},f[r.ACTIONS.CLAIM_REWARD_STARTED]=function(e,t){return d(e,t.data.reward,!0,'')},f[r.ACTIONS.CLAIM_REWARD_SUCCESS]=function(e,t){var n=t.data.reward,r=e.unclaimedRewards,a=r.findIndex(function(e){return e.claim_code===n.claim_code});r.splice(a,1);var s,f=e.claimedRewardsById;return f[n.id]=n,d(c({},e,{unclaimedRewards:(s=r,o(s)||u(s)||i()),claimedRewardsById:c({},f)}),n,!1,'')},f[r.ACTIONS.CLAIM_REWARD_FAILURE]=function(e,t){var n=t.data,r=n.reward,i=n.error;return d(e,r,!1,i?i.message:'')},f[r.ACTIONS.CLAIM_REWARD_CLEAR_ERROR]=function(e,t){var n=t.data.reward;return d(e,n,e.claimPendingByType[n.reward_type],'')},f[r.ACTIONS.FETCH_REWARD_CONTENT_COMPLETED]=function(e,t){var n=t.data.claimIds;return a({},e,{rewardedContentClaimIds:n})}},function(e,t,n){"use strict";n.r(t),n.d(t,"userReducer",function(){return o});var r=n(1),i={},u={authenticationIsPending:!1,userIsPending:!1,emailNewIsPending:!1,emailNewErrorMessage:'',emailToVerify:'',emailAlreadyExists:!1,resendingVerificationEmail:!1,inviteNewErrorMessage:'',inviteNewIsPending:!1,inviteStatusIsPending:!1,invitesRemaining:void 0,invitees:void 0,referralLink:void 0,referralCode:void 0,user:void 0,accessToken:void 0,youtubeChannelImportPending:!1,youtubeChannelImportErrorMessage:'',referrerSetIsPending:!1,referrerSetError:''};function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,n=i[t.type];return n?n(e,t):e}i[r.AUTHENTICATION_STARTED]=function(e){return a({},e,{authenticationIsPending:!0,userIsPending:!0,accessToken:u.accessToken})},i[r.AUTHENTICATION_SUCCESS]=function(e,t){return a({},e,{authenticationIsPending:!1,userIsPending:!1,accessToken:t.data.accessToken,user:t.data.user})},i[r.AUTHENTICATION_FAILURE]=function(e){return a({},e,{authenticationIsPending:!1,userIsPending:!1,user:null})},i[r.USER_FETCH_STARTED]=function(e){return a({},e,{userIsPending:!0})},i[r.USER_FETCH_SUCCESS]=function(e,t){return a({},e,{userIsPending:!1,user:t.data.user,emailToVerify:t.data.user.has_verified_email?null:e.emailToVerify})},i[r.USER_FETCH_FAILURE]=function(e){return a({},e,{userIsPending:!0,user:null})},i[r.USER_PHONE_NEW_STARTED]=function(e,t){var n=a({},e.user);return n.country_code=t.data.country_code,a({},e,{phoneNewIsPending:!0,phoneNewErrorMessage:'',user:n})},i[r.USER_PHONE_NEW_SUCCESS]=function(e,t){return a({},e,{phoneToVerify:t.data.phone,phoneNewIsPending:!1})},i[r.USER_PHONE_RESET]=function(e){return a({},e,{phoneToVerify:null})},i[r.USER_PHONE_NEW_FAILURE]=function(e,t){return a({},e,{phoneNewIsPending:!1,phoneNewErrorMessage:t.data.error})},i[r.USER_PHONE_VERIFY_STARTED]=function(e){return a({},e,{phoneVerifyIsPending:!0,phoneVerifyErrorMessage:''})},i[r.USER_PHONE_VERIFY_SUCCESS]=function(e,t){return a({},e,{phoneToVerify:'',phoneVerifyIsPending:!1,user:t.data.user})},i[r.USER_PHONE_VERIFY_FAILURE]=function(e,t){return a({},e,{phoneVerifyIsPending:!1,phoneVerifyErrorMessage:t.data.error})},i[r.USER_EMAIL_NEW_STARTED]=function(e){return a({},e,{emailNewIsPending:!0,emailNewErrorMessage:'',emailAlreadyExists:!1})},i[r.USER_EMAIL_NEW_SUCCESS]=function(e,t){var n=a({},e.user);return n.primary_email=t.data.email,a({},e,{emailToVerify:t.data.email,emailNewIsPending:!1,user:n})},i[r.USER_EMAIL_NEW_EXISTS]=function(e){return a({},e,{emailAlreadyExists:!0})},i[r.USER_EMAIL_NEW_FAILURE]=function(e,t){return a({},e,{emailNewIsPending:!1,emailNewErrorMessage:t.data.error})},i[r.USER_EMAIL_VERIFY_STARTED]=function(e){return a({},e,{emailVerifyIsPending:!0,emailVerifyErrorMessage:''})},i[r.USER_EMAIL_VERIFY_SUCCESS]=function(e,t){var n=a({},e.user);return n.primary_email=t.data.email,a({},e,{emailToVerify:'',emailVerifyIsPending:!1,user:n})},i[r.USER_EMAIL_VERIFY_FAILURE]=function(e,t){return a({},e,{emailVerifyIsPending:!1,emailVerifyErrorMessage:t.data.error})},i[r.USER_EMAIL_VERIFY_SET]=function(e,t){return a({},e,{emailToVerify:t.data.email})},i[r.USER_IDENTITY_VERIFY_STARTED]=function(e){return a({},e,{identityVerifyIsPending:!0,identityVerifyErrorMessage:''})},i[r.USER_IDENTITY_VERIFY_SUCCESS]=function(e,t){return a({},e,{identityVerifyIsPending:!1,identityVerifyErrorMessage:'',user:t.data.user})},i[r.USER_IDENTITY_VERIFY_FAILURE]=function(e,t){return a({},e,{identityVerifyIsPending:!1,identityVerifyErrorMessage:t.data.error})},i[r.FETCH_ACCESS_TOKEN_SUCCESS]=function(e,t){var n=t.data.token;return a({},e,{accessToken:n})},i[r.USER_INVITE_STATUS_FETCH_STARTED]=function(e){return a({},e,{inviteStatusIsPending:!0})},i[r.USER_INVITE_STATUS_FETCH_SUCCESS]=function(e,t){return a({},e,{inviteStatusIsPending:!1,invitesRemaining:t.data.invitesRemaining,invitees:t.data.invitees,referralLink:t.data.referralLink,referralCode:t.data.referralCode})},i[r.USER_INVITE_NEW_STARTED]=function(e){return a({},e,{inviteNewIsPending:!0,inviteNewErrorMessage:''})},i[r.USER_INVITE_NEW_SUCCESS]=function(e){return a({},e,{inviteNewIsPending:!1,inviteNewErrorMessage:''})},i[r.USER_INVITE_NEW_FAILURE]=function(e,t){return a({},e,{inviteNewIsPending:!1,inviteNewErrorMessage:t.data.error.message})},i[r.USER_INVITE_STATUS_FETCH_FAILURE]=function(e){return a({},e,{inviteStatusIsPending:!1,invitesRemaining:null,invitees:null})},i[r.USER_YOUTUBE_IMPORT_STARTED]=function(e){return a({},e,{youtubeChannelImportPending:!0,youtubeChannelImportErrorMessage:''})},i[r.USER_YOUTUBE_IMPORT_SUCCESS]=function(e,t){var n=t.data.reduce(function(e,t){return e+t.total_published_videos},0),r=t.data.reduce(function(e,t){return e+t.total_transferred},0);return a({},e,{youtubeChannelImportPending:!1,youtubeChannelImportErrorMessage:'',youtubeChannelImportTotal:n,youtubeChannelImportComplete:r})},i[r.USER_YOUTUBE_IMPORT_FAILURE]=function(e,t){return a({},e,{youtubeChannelImportPending:!1,youtubeChannelImportErrorMessage:t.data})},i[r.USER_EMAIL_VERIFY_RETRY_STARTED]=function(e){return a({},e,{resendingVerificationEmail:!0})},i[r.USER_EMAIL_VERIFY_RETRY_SUCCESS]=function(e){return a({},e,{resendingVerificationEmail:!1})},i[r.USER_EMAIL_VERIFY_RETRY_FAILURE]=function(e){return a({},e,{resendingVerificationEmail:!1})},i[r.USER_SET_REFERRER_STARTED]=function(e){return a({},e,{referrerSetIsPending:!0,referrerSetError:u.referrerSetError})},i[r.USER_SET_REFERRER_SUCCESS]=function(e){return a({},e,{referrerSetIsPending:!1,referrerSetError:u.referrerSetError})},i[r.USER_SET_REFERRER_FAILURE]=function(e,t){return a({},e,{referrerSetIsPending:!1,referrerSetError:t.data.error.message})},i[r.USER_SET_REFERRER_RESET]=function(e){return a({},e,{referrerSetIsPending:!1,referrerSetError:u.referrerSetError})}},function(e,t,n){"use strict";n.r(t),n.d(t,"costInfoReducer",function(){return s});var r,i=n(12),u=n(1);function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,n=i[t.type];return n?n(e,t):e}i[r.GET_SYNC_STARTED]=function(e){return a({},e,{getSyncIsPending:!0,getSyncErrorMessage:null})},i[r.GET_SYNC_COMPLETED]=function(e,t){return a({},e,{syncHash:t.data.syncHash,syncData:t.data.syncData,hasSyncedWallet:t.data.hasSyncedWallet,getSyncIsPending:!1,hashChanged:t.data.hashChanged})},i[r.GET_SYNC_FAILED]=function(e,t){return a({},e,{getSyncIsPending:!1,getSyncErrorMessage:t.data.error})},i[r.SET_SYNC_STARTED]=function(e){return a({},e,{setSyncIsPending:!0,setSyncErrorMessage:null})},i[r.SET_SYNC_FAILED]=function(e,t){return a({},e,{setSyncIsPending:!1,setSyncErrorMessage:t.data.error})},i[r.SET_SYNC_COMPLETED]=function(e,t){return a({},e,{setSyncIsPending:!1,setSyncErrorMessage:null,hasSyncedWallet:!0,syncHash:t.data.syncHash})},i[r.SYNC_APPLY_STARTED]=function(e){return a({},e,{syncApplyPasswordError:!1,syncApplyIsPending:!0,syncApplyErrorMessage:''})},i[r.SYNC_APPLY_COMPLETED]=function(e){return a({},e,{syncApplyIsPending:!1,syncApplyErrorMessage:''})},i[r.SYNC_APPLY_FAILED]=function(e,t){return a({},e,{syncApplyIsPending:!1,syncApplyErrorMessage:t.data.error})},i[r.SYNC_APPLY_BAD_PASSWORD]=function(e){return a({},e,{syncApplyPasswordError:!0})},i[r.SYNC_RESET]=function(){return u}},function(e,t,n){"use strict";n.r(t),n.d(t,"lbrytvReducer",function(){return s});var r=n(1);function i(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=o[t.type];return n?n(e,t):e}o[r.UPDATE_UPLOAD_PROGRESS]=function(e,t){var n,r=t.data,u=r.progress,o=r.params,c=r.xhr,s=o.channel?"".concat(o.name,"#").concat(o.channel):"".concat(o.name,"#anonymous");return u?(n=a({},e.currentUploads))[s]={progress:u,params:o,xhr:c}:(n=a({},e.currentUploads),Object.keys(n).forEach(function(e){e===s&&delete n[s]})),i({},e,{currentUploads:n})}},function(e,t,n){"use strict";n.r(t),n.d(t,"selectAuthToken",function(){return u}),n.d(t,"selectIsAuthenticating",function(){return o});var r=n(15),i=(n.n(r),function(e){return e.auth||{}}),u=Object(r.createSelector)(i,function(e){return e.authToken}),o=Object(r.createSelector)(i,function(e){return e.authenticating})},function(e,t,n){"use strict";n.r(t),n.d(t,"selectState",function(){return i}),n.d(t,"selectAllCostInfoByUri",function(){return u}),n.d(t,"makeSelectCostInfoForUri",function(){return o}),n.d(t,"selectFetchingCostInfo",function(){return c}),n.d(t,"makeSelectFetchingCostInfoForUri",function(){return a});var r=n(15),i=(n.n(r),function(e){return e.costInfo||{}}),u=Object(r.createSelector)(i,function(e){return e.byUri||{}}),o=function(e){return Object(r.createSelector)(u,function(t){return t&&t[e]})},c=Object(r.createSelector)(i,function(e){return e.fetching||{}}),a=function(e){return Object(r.createSelector)(c,function(t){return t&&t[e]})}},function(e,t,n){"use strict";n.r(t),n.d(t,"selectState",function(){return i}),n.d(t,"selectBlackListedOutpoints",function(){return u});var r=n(15),i=(n.n(r),function(e){return e.blacklist||{}}),u=Object(r.createSelector)(i,function(e){return e.blackListedOutpoints})},function(e,t,n){"use strict";n.r(t),n.d(t,"selectState",function(){return i}),n.d(t,"selectFilteredOutpoints",function(){return u});var r=n(15),i=(n.n(r),function(e){return e.filtered||{}}),u=Object(r.createSelector)(i,function(e){return e.filteredOutpoints})},function(e,t,n){"use strict";n.r(t),n.d(t,"selectFeaturedUris",function(){return u}),n.d(t,"selectFetchingFeaturedUris",function(){return o}),n.d(t,"selectTrendingUris",function(){return c}),n.d(t,"selectFetchingTrendingUris",function(){return a});var r=n(15),i=(n.n(r),function(e){return e.homepage||{}}),u=Object(r.createSelector)(i,function(e){return e.featuredUris}),o=Object(r.createSelector)(i,function(e){return e.fetchingFeaturedContent}),c=Object(r.createSelector)(i,function(e){return e.trendingUris}),a=Object(r.createSelector)(i,function(e){return e.fetchingTrendingContent})},function(e,t,n){"use strict";n.r(t),n.d(t,"selectViewCount",function(){return o}),n.d(t,"selectSubCount",function(){return c}),n.d(t,"makeSelectViewCountForUri",function(){return a}),n.d(t,"makeSelectSubCountForUri",function(){return s});var r=n(15),i=(n.n(r),n(5)),u=(n.n(i),function(e){return e.stats||{}}),o=Object(r.createSelector)(u,function(e){return e.viewCountById}),c=Object(r.createSelector)(u,function(e){return e.subCountById}),a=function(e){return Object(r.createSelector)(Object(i.makeSelectClaimForUri)(e),o,function(e,t){return e&&t[e.claim_id]||0})},s=function(e){return Object(r.createSelector)(Object(i.makeSelectClaimForUri)(e),c,function(e,t){return e&&t[e.claim_id]||0})}},function(e,t,n){"use strict";n.r(t),n.d(t,"selectHasSyncedWallet",function(){return u}),n.d(t,"selectSyncHash",function(){return o}),n.d(t,"selectSyncData",function(){return c}),n.d(t,"selectSetSyncErrorMessage",function(){return a}),n.d(t,"selectGetSyncErrorMessage",function(){return s}),n.d(t,"selectGetSyncIsPending",function(){return f}),n.d(t,"selectSetSyncIsPending",function(){return l}),n.d(t,"selectHashChanged",function(){return d}),n.d(t,"selectSyncApplyIsPending",function(){return E}),n.d(t,"selectSyncApplyErrorMessage",function(){return _}),n.d(t,"selectSyncApplyPasswordError",function(){return S});var r=n(15),i=(n.n(r),function(e){return e.sync||{}}),u=Object(r.createSelector)(i,function(e){return e.hasSyncedWallet}),o=Object(r.createSelector)(i,function(e){return e.syncHash}),c=Object(r.createSelector)(i,function(e){return e.syncData}),a=Object(r.createSelector)(i,function(e){return e.setSyncErrorMessage}),s=Object(r.createSelector)(i,function(e){return e.getSyncErrorMessage}),f=Object(r.createSelector)(i,function(e){return e.getSyncIsPending}),l=Object(r.createSelector)(i,function(e){return e.setSyncIsPending}),d=Object(r.createSelector)(i,function(e){return e.hashChanged}),E=Object(r.createSelector)(i,function(e){return e.syncApplyIsPending}),_=Object(r.createSelector)(i,function(e){return e.syncApplyErrorMessage}),S=Object(r.createSelector)(i,function(e){return e.syncApplyPasswordError})},function(e,t,n){"use strict";n.r(t),n.d(t,"selectCurrentUploads",function(){return i}),n.d(t,"selectUploadCount",function(){return u});var r=n(15),i=(n.n(r),Object(r.createSelector)(function(e){return e.lbrytv||{}},function(e){return e.currentUploads})),u=Object(r.createSelector)(i,function(e){return e&&Object.keys(e).length})}])})},408,[272,11,401]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.selectFullscreenMode=e.selectKeepDaemonRunning=e.selectShowNsfw=e.makeSelectClientSetting=e.selectTimeItem=e.selectSortByItem=e.selectClientSettings=e.selectDaemonSettings=void 0;var t=r(d[0]),n=r(d[1]),c=r(d[2]),l=function(t){return t.settings||{}},o=(0,n.createSelector)(l,function(t){return t.daemonSettings});e.selectDaemonSettings=o;var s=(0,n.createSelector)(l,function(t){return t.clientSettings||{}});e.selectClientSettings=s;var S=(0,n.createSelector)(l,function(t){return(0,c.getSortByItemForName)(t.sortByItemName)});e.selectSortByItem=S;var u=(0,n.createSelector)(l,function(t){return(0,c.getTimeItemForName)(t.timeItemName)});e.selectTimeItem=u;var f=function(t){return(0,n.createSelector)(s,function(n){return n?n[t]:void 0})};e.makeSelectClientSetting=f;var N=f(t.SETTINGS.SHOW_NSFW);e.selectShowNsfw=N;var v=f(t.SETTINGS.KEEP_DAEMON_RUNNING);e.selectKeepDaemonRunning=v;var I=(0,n.createSelector)(l,function(t){return t.fullscreenMode});e.selectFullscreenMode=I},409,[401,404,410]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.dispatchNavigateToUri=T,e.formatBytes=O,e.navigateToUri=v,e.navigateBack=function(t,n,u,l){if(n[n.length-1].route===_.default.DRAWER_ROUTE_FILE_VIEW)return void(u&&u());u&&u();l&&l(!1);var s=n[n.length>1?n.length-2:0],R=s.route,f=s.params;if(t.goBack(t.state.key),_.DrawerRoutes.includes(R)||_.InnerDrawerRoutes.includes(R)||!(0,o.isURIValid)(R)){var c=R,E=f;_.InnerDrawerRoutes.includes(R)&&(_.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM===R?c=_.default.DRAWER_ROUTE_CHANNEL_CREATOR:_.default.DRAWER_ROUTE_PUBLISH_FORM===R&&(c=_.default.DRAWER_ROUTE_PUBLISH),E?E.displayForm=!0:E={displayForm:!0}),t.navigate({routeName:c,targetParams:E})}else v(t,R,null,!0,null,l)},e.dispatchNavigateBack=function(t,n,u){var s=u[u.length-1].route;if([_.default.DRAWER_ROUTE_FILE_VIEW,_.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM,_.default.DRAWER_ROUTE_PUBLISH_FORM].includes(s))return void t((0,R.doPopDrawerStack)());t((0,R.doPopDrawerStack)()),t((0,R.doSetPlayerVisible)(!1));var f=u[u.length>1?u.length-2:0].route;if(t(l.NavigationActions.back()),_.DrawerRoutes.includes(f)||_.InnerDrawerRoutes.includes(f)||!(0,o.isURIValid)(f)){var c=u[u.length>1?u.length-2:0],E=c.route,O=c.params;_.InnerDrawerRoutes.includes(E)&&(_.default.DRAWER_ROUTE_CHANNEL_CREATOR_FORM===f?E=_.default.DRAWER_ROUTE_CHANNEL_CREATOR:_.default.DRAWER_ROUTE_PUBLISH_FORM===f&&(E=_.default.DRAWER_ROUTE_PUBLISH),O?O.displayForm=!0:O={displayForm:!0});var A=l.NavigationActions.navigate({routeName:E,params:O});t(A)}else T(t,n,f,!0)},e.uriFromFileInfo=function(t){var n=t.name,u=t.claim_name,l=t.claim_id,s={};return s.claimName=n||u,s.claimId=l,(0,o.buildURI)(s)},e.formatTagTitle=function(t){if(!t)return null;return t.charAt(0).toUpperCase()+t.substring(1)},e.formatTagName=function(t){if(!t)return null;if(t.length<=f)return t;return t.substring(0,7)+'...'},e.getSortByItemForName=function(t){for(var n=0;n<_.default.CLAIM_SEARCH_SORT_BY_ITEMS.length;n++)if(t===_.default.CLAIM_SEARCH_SORT_BY_ITEMS[n].name)return _.default.CLAIM_SEARCH_SORT_BY_ITEMS[n];return null},e.getTimeItemForName=function(t){for(var n=0;n<_.default.CLAIM_SEARCH_TIME_ITEMS.length;n++)if(t===_.default.CLAIM_SEARCH_TIME_ITEMS[n].name)return _.default.CLAIM_SEARCH_TIME_ITEMS[n];return null},e.getOrderBy=function(t){var n=[];switch(t.name){case _.default.SORT_BY_HOT:n=_.default.DEFAULT_ORDER_BY;break;case _.default.SORT_BY_NEW:n=['release_time'];break;case _.default.SORT_BY_TOP:n=[_.default.ORDER_BY_EFFECTIVE_AMOUNT]}return n},e.transformUrl=function(t){var n='lbry://'.length;return(0,o.normalizeURI)(t.substring(n).replace(/:/g,'#'))},e.__=function(t){return t},e.logPublish=function(t){var n,u=t.permanent_url,l=t.claim_id,o=t.txid,R=t.nout,_=t.signing_channel;_&&(n=_.claim_id);var f={uri:u,claim_id:l,outpoint:o+":"+R};n&&(f.channel_claim_id=n);s.Lbryio.call('event','publish',f)},e.uploadImageAsset=function(t,n,u){var l=t.substring(t.lastIndexOf('/')+1),o=l.indexOf('.')>-1?l.substring(l.lastIndexOf('.')+1).trim():0;o||(o='jpg');var s="image/"+o,R=new FormData,_=(function(){for(var t='',n=0;n<24;n+=1)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t})();return R.append('name',_),R.append('file',{uri:'file://'+t,type:s,name:l}),fetch('https://spee.ch/api/claim/publish',{method:'POST',body:R}).then(function(t){return t.json()}).then(function(t){t.success&&n&&n({url:t.data.url+"."+o})}).catch(function(t){u&&u(t.message?t.message:'The image failed to upload.')})},e.formatLbryUrlForWeb=function(t){return t.replace('lbry://','/').replace(/#/g,':')},e.getDownloadProgress=function(t){return Math.ceil(t.written_bytes/t.total_bytes*100)},e.getStorageForFileInfo=function(t){if(!t.completed){var n=O(t.written_bytes),u=O(t.total_bytes);return"("+n+" / "+u+")"}return O(t.written_bytes)},e.formatTitle=function(t){if(!t)return t;return t.length>80?t.substring(0,77).trim()+'...':t},e.fetchReferralCode=function(t,n){s.Lbryio.call('user_referral_code','list').then(function(n){t&&t(n)}).catch(function(t){n&&n(t)})};var u=n(r(d[2])),l=r(d[3]),o=r(d[4]),s=r(d[5]),R=r(d[6]),_=t(r(d[7])),f=10,c={about:_.default.DRAWER_ROUTE_ABOUT,allContent:_.default.DRAWER_ROUTE_TRENDING,channels:_.default.DRAWER_ROUTE_CHANNEL_CREATOR,invite:_.default.DRAWER_ROUTE_INVITES,invites:_.default.DRAWER_ROUTE_INVITES,library:_.default.DRAWER_ROUTE_MY_LBRY,publish:_.default.DRAWER_ROUTE_PUBLISH,publishes:_.default.DRAWER_ROUTE_PUBLISHES,rewards:_.default.DRAWER_ROUTE_REWARDS,settings:_.default.DRAWER_ROUTE_SETTINGS,subscriptions:_.default.DRAWER_ROUTE_SUBSCRIPTIONS,wallet:_.default.FULL_ROUTE_NAME_WALLET,discover:_.default.FULL_ROUTE_NAME_DISCOVER};function E(t){var n,u=t.substring(8).trim();return c[u]&&(n=c[u]),n||(n=_.default.FULL_ROUTE_NAME_DISCOVER),n}function T(t,n,u,o,s){if(u.startsWith('lbry://?'))t(l.NavigationActions.navigate({routeName:E(u)}));else{var _,f={};u.indexOf('?')>-1&&(_=u.substring(u.indexOf('?')+1),u=u.substring(0,u.indexOf('?')),f=A(_));var c={uri:u,uriVars:f,fullUri:s};if(o||t((0,R.doPushDrawerStack)(u)),t((0,R.doSetPlayerVisible)(!1)),n&&n.routes&&n.routes.length>0&&'Main'===n.routes[0].routeName){var T=n.routes[0].routes[0];if(T.index>0&&'File'===T.routes[T.index].routeName)if(u!==T.routes[T.index].params.uri)return void t(l.StackActions.replace({routeName:'File',newKey:u,params:c}))}t(l.NavigationActions.navigate({routeName:'File',key:u,params:c}))}}function O(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t?t<1048576?(t/1024).toFixed(n)+" KB":t<1073741824?(t/1048576).toFixed(n)+" MB":(t/1073741824).toFixed(n)+" GB":'0 KB'}function A(t){for(var n={},u=t.split('&'),l=0;l-1){var s=o.substring(0,o.indexOf('=')),R=o.substring(o.indexOf('=')+1);n[s]=R}else n[o]=null}return n}function v(t,n,o,s,_,f){var c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(t&&n!==t.state.key)if(n.startsWith('lbry://?'))t.navigate({routeName:E(n)});else{var T,O={};n.indexOf('?')>-1&&(T=n.substring(n.indexOf('?')+1),n=n.substring(0,n.indexOf('?')),O=A(T)),f&&f(!1);var v=window.store,h=(0,u.default)({uri:n,uriVars:O,fullUri:_},o);if('File'===t.state.routeName){var I=l.StackActions.replace({routeName:'File',newKey:n,params:h});return t.dispatch(I),void(v&&v.dispatch&&!s&&v.dispatch((0,R.doPushDrawerStack)(n)))}t.navigate({routeName:'File',key:n,params:h}),c&&v&&v.dispatch&&!s&&v.dispatch((0,R.doPushDrawerStack)(n))}}},410,[1,3,11,411,401,408,492,493]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={createNavigationContainer:!0,createStackNavigator:!0,createBottomTabNavigator:!0,createMaterialTopTabNavigator:!0,createDrawerNavigator:!0,StackGestureContext:!0,DrawerGestureContext:!0,DrawerRouter:!0,DrawerActions:!0,Transitioner:!0,StackView:!0,StackViewCard:!0,StackViewTransitionConfigs:!0,Header:!0,HeaderTitle:!0,HeaderBackButton:!0,HeaderStyleInterpolator:!0,DrawerView:!0,DrawerItems:!0,DrawerSidebar:!0,BottomTabBar:!0,MaterialTopTabBar:!0};Object.defineProperty(e,"createNavigationContainer",{enumerable:!0,get:function(){return c.createNavigationContainer}}),Object.defineProperty(e,"createStackNavigator",{enumerable:!0,get:function(){return c.createStackNavigator}}),Object.defineProperty(e,"createBottomTabNavigator",{enumerable:!0,get:function(){return c.createBottomTabNavigator}}),Object.defineProperty(e,"createMaterialTopTabNavigator",{enumerable:!0,get:function(){return c.createMaterialTopTabNavigator}}),Object.defineProperty(e,"createDrawerNavigator",{enumerable:!0,get:function(){return c.createDrawerNavigator}}),Object.defineProperty(e,"StackGestureContext",{enumerable:!0,get:function(){return c.StackGestureContext}}),Object.defineProperty(e,"DrawerGestureContext",{enumerable:!0,get:function(){return c.DrawerGestureContext}}),Object.defineProperty(e,"DrawerRouter",{enumerable:!0,get:function(){return c.DrawerRouter}}),Object.defineProperty(e,"DrawerActions",{enumerable:!0,get:function(){return c.DrawerActions}}),Object.defineProperty(e,"Transitioner",{enumerable:!0,get:function(){return c.Transitioner}}),Object.defineProperty(e,"StackView",{enumerable:!0,get:function(){return c.StackView}}),Object.defineProperty(e,"StackViewCard",{enumerable:!0,get:function(){return c.StackViewCard}}),Object.defineProperty(e,"StackViewTransitionConfigs",{enumerable:!0,get:function(){return c.StackViewTransitionConfigs}}),Object.defineProperty(e,"Header",{enumerable:!0,get:function(){return c.Header}}),Object.defineProperty(e,"HeaderTitle",{enumerable:!0,get:function(){return c.HeaderTitle}}),Object.defineProperty(e,"HeaderBackButton",{enumerable:!0,get:function(){return c.HeaderBackButton}}),Object.defineProperty(e,"HeaderStyleInterpolator",{enumerable:!0,get:function(){return c.HeaderStyleInterpolator}}),Object.defineProperty(e,"DrawerView",{enumerable:!0,get:function(){return c.DrawerView}}),Object.defineProperty(e,"DrawerItems",{enumerable:!0,get:function(){return c.DrawerItems}}),Object.defineProperty(e,"DrawerSidebar",{enumerable:!0,get:function(){return c.DrawerSidebar}}),Object.defineProperty(e,"BottomTabBar",{enumerable:!0,get:function(){return c.BottomTabBar}}),Object.defineProperty(e,"MaterialTopTabBar",{enumerable:!0,get:function(){return c.MaterialTopTabBar}});var n=r(d[0]);Object.keys(n).forEach(function(o){"default"!==o&&"__esModule"!==o&&(Object.prototype.hasOwnProperty.call(t,o)||Object.defineProperty(e,o,{enumerable:!0,get:function(){return n[o]}}))});var o=r(d[1]);Object.keys(o).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return o[n]}}))});var c=r(d[2])},411,[412,452,491]); -__d(function(g,r,i,a,m,e,d){m.exports={get StateUtils(){return r(d[0]).default},get getNavigation(){return r(d[1]).default},get createNavigator(){return r(d[2]).default},get NavigationContext(){return r(d[3]).default},get NavigationProvider(){return r(d[3]).default.Provider},get NavigationConsumer(){return r(d[3]).default.Consumer},get createSwitchNavigator(){return r(d[4]).default},get ThemeContext(){return r(d[5]).default},get ThemeProvider(){return r(d[5]).default.Provider},get ThemeConsumer(){return r(d[5]).default.Consumer},get ThemeColors(){return r(d[6]).default},get useTheme(){return r(d[7]).default},get NavigationActions(){return r(d[8])},get StackActions(){return r(d[9])},get SwitchActions(){return r(d[10])},get StackRouter(){return r(d[11]).default},get TabRouter(){return r(d[12]).default},get SwitchRouter(){return r(d[13]).default},get createConfigGetter(){return r(d[14]).default},get getScreenForRouteName(){return r(d[15]).default},get validateRouteConfigMap(){return r(d[16]).default},get getActiveChildNavigationOptions(){return r(d[17]).default},get pathUtils(){return r(d[18])},get SceneView(){return r(d[19]).default},get SwitchView(){return r(d[20]).default},get NavigationEvents(){return r(d[21]).default},get withNavigation(){return r(d[22]).default},get withNavigationFocus(){return r(d[23]).default}}},412,[413,415,422,424,425,423,442,443,417,431,430,444,446,426,428,427,432,448,433,441,440,449,450,451]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1]));function u(n,t){var u=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),u.push.apply(u,o)}return u}function o(n){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3],c=f.indexOf(n,t),s=o?n.index:c,l=f.replaceAtIndex(n,c,u);return l.index=s,l},replaceAtIndex:function(n,u,c){if((0,t.default)(!!n.routes[u],'invalid index %s for replacing route %s',u,c.key),n.routes[u]===c&&u===n.index)return n;var f=n.routes.slice();return f[u]=c,o({},n,{index:u,routes:f})},reset:function(n,u,c){(0,t.default)(u.length&&Array.isArray(u),'invalid routes to replace');var f=void 0===c?u.length-1:c;if(n.routes.length===u.length&&n.index===f){if(n.routes.every(function(n,t){return u[t]===n}))return n}return(0,t.default)(!!u[f],'invalid index %s to reset',f),o({},n,{index:f,routes:u})}},s=f;e.default=s},413,[3,414]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){};var o=function(o,t){for(var f=arguments.length,l=new Array(f>2?f-2:0),u=2;u0&&void 0!==arguments[0]?arguments[0]:{};return{type:t,key:n.key,immediate:n.immediate}};e.init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o={type:n};return t.params&&(o.params=t.params),o};e.navigate=function(t){var n={type:"Navigation/NAVIGATE",routeName:t.routeName};return t.params&&(n.params=t.params),t.action&&(n.action=t.action),t.key&&(n.key=t.key),n};e.setParams=function(t){return{type:"Navigation/SET_PARAMS",key:t.key,params:t.params,preserveFocus:!0}}},417,[]); -__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])),o=t(r(d[2])),u=t(r(d[3])),c=t(r(d[4]));function s(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function f(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:'didBlur',u=new Set,l=new Set,s=new Set,f=new Set,w=new Set,p=new Set,y=function(){[u,l,s,f,w,p].forEach(function(t){return t.clear()}),F.forEach(function(t){return t&&t.remove()})},b=function(t){switch(t){case'action':return u;case'willFocus':return l;case'didFocus':return s;case'willBlur':return f;case'didBlur':return w;case'refocus':return p;default:return null}},O=function(t,o){var c=n({},o,{type:t}),u=b(t);u&&u.forEach(function(t){t(c)})},v=c,F=['willFocus','didFocus','willBlur','didBlur','refocus','action'].map(function(n){return t(n,function(t){if('refocus'!==n){var c=t.state,u=t.lastState,l=t.action,s=u&&u.routes,f=c&&c.routes,w=f&&f[c.index].key,p=w===o,b=s&&s.find(function(t){return t.key===o}),F=f&&f.find(function(t){return t.key===o}),B={context:"".concat(o,":").concat(l.type,"_").concat(t.context||'Root'),state:F,lastState:b,action:l,type:n},j=!!c&&c.isTransitioning,h=v;'didBlur'===v&&('willFocus'===n&&p?O(v='willFocus',B):'action'===n&&p&&O(v='willFocus',B)),'willFocus'===v&&('didFocus'===n&&p&&!j?O(v='didFocus',B):'action'===n&&p&&!j&&O(v='didFocus',B)),'didFocus'===v&&(p?'willBlur'===n?O(v='willBlur',B):'action'===n&&'didFocus'===h&&O('action',B):O(v='willBlur',B)),'willBlur'===v&&('action'!==n||p||j?'didBlur'===n?O(v='didBlur',B):'action'===n&&p&&!j?O(v='didFocus',B):'action'===n&&p&&j&&O(v='willFocus',B):O(v='didBlur',B)),'didBlur'!==v||F||y()}else O(n,t)})});return{addListener:function(t,n){var o=b(t);if(!o)throw new Error("Invalid event name \"".concat(t,"\""));o.add(n);return{remove:function(){o.delete(n)}}},emit:function(t,n){'refocus'===t?O(t,n):console.error("navigation.emit only supports the 'refocus' event currently.")}}}},419,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o){if(t.childRouters&&t.childRouters[o])return t.childRouters[o];return t.getComponentForRouteName(o).router}},420,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){if(!n)return{};var t=n._childrenNavigation||(n._childrenNavigation={}),o=n.state.routes.map(function(n){return n.key});return Object.keys(t).forEach(function(u){o.includes(u)||n.state.isTransitioning||delete t[u]}),n._childrenNavigation}},421,[]); -__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])),o=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),p=t(r(d[5])),c=t(r(d[6])),v=t(r(d[7])),l=t(r(d[8]));function f(){return(f=Object.assign||function(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},v=(0,f.default)(t,n);return(0,u.default)(l.default,v,n)};e.default=n},425,[3,422,426,440]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),f=n(r(d[4])),s=n(r(d[5])),c=t(r(d[6])),l=t(r(d[7])),p=t(r(d[8])),y=n(r(d[9])),v=r(d[10]);function h(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function O(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};(0,y.default)(t);var h=n.order||Object.keys(t),x=n.getCustomActionCreators||P,b=n.initialRouteParams,A=n.initialRouteName||h[0],k=n.backBehavior||'none',N=!n.hasOwnProperty('resetOnBlur')||n.resetOnBlur,j=h.indexOf(A);if(-1===j)throw new Error("Invalid initialRouteName '".concat(A,"'.")+"Should be one of ".concat(h.map(function(t){return"\"".concat(t,"\"")}).join(', ')));var w={};function S(n,o){var u=t[n];return u&&u.params?O({},u.params,{},o):o}h.forEach(function(n){w[n]=null;var o=(0,f.default)(t,n);o.router&&(w[n]=o.router)});var F=(0,v.createPathParser)(w,t,n),C=F.getPathAndParamsForRoute,K=F.getActionForPathAndParams;function T(t){var n=S(t,t===A?b:void 0),o=w[t];if(o){var u=c.init();return O({},o.getStateForAction(u),{key:t,routeName:t,params:n})}return{key:t,routeName:t,params:n}}function E(t,n,u){var f=u;if(n&&u&&n.index!==u.index&&N){var s=n.routes[n.index].routeName,l=(0,o.default)(u.routes);l[n.index]=T(s),f=O({},u,{routes:l})}return(function(n,u){if('history'!==k||n&&u&&u.index===n.index)return u;var f=n?n.routeKeyHistory:[];if(t.type===c.NAVIGATE){f=(0,o.default)(f);var s=u.routes[u.index].key;(f=f.filter(function(t){return t!==s})).push(s)}else t.type===c.BACK&&(f=(0,o.default)(f)).pop();return O({},u,{routeKeyHistory:f})})(n,f)}function R(){var t=h.map(T),n={routes:t,index:j,isTransitioning:!1};if('history'===k){var o=t[j].key;n.routeKeyHistory=[o]}return n}return{childRouters:w,getActionCreators:function(t,n){return x(t,n)},getStateForAction:function(t,n){var u=n?O({},n):n,f=n||R(),s=f.index;if(t.type===c.INIT){var y=t.params;y&&(f.routes=f.routes.map(function(t){return O({},t,{params:O({},t.params,{},y,{},t.routeName===A?b:null)})}))}if(t.type===l.JUMP_TO&&(null==t.key||t.key===f.key)){var v=t.params,x=f.routes.findIndex(function(n){return n.routeName===t.routeName});if(-1===x)throw new Error("There is no route named '".concat(t.routeName,"' in the navigator with the key '").concat(t.key,"'.\n")+"Must be one of: ".concat(f.routes.map(function(t){return"'".concat(t.routeName,"'")}).join(',')));return E(t,u,O({},f,{routes:v?f.routes.map(function(t,n){return n===x?O({},t,{params:O({},t.params,{},v)}):t}):f.routes,index:x}))}var P=f.routes[f.index],N=w[h[f.index]];if(N){var S=N.getStateForAction(t,P);if(!S&&n)return null;if(S&&S!==P){var F=(0,o.default)(f.routes);return F[f.index]=S,E(t,u,O({},f,{routes:F}))}}var C=null==t.key||t.key===P.key;if(t.type===c.BACK)if(C&&'initialRoute'===k)s=j;else if(C&&'order'===k)s=Math.max(0,s-1);else if(C&&'history'===k&&f.routeKeyHistory.length>1){var K=f.routeKeyHistory[f.routeKeyHistory.length-2];s=h.indexOf(K)}var T=!1;if(t.type===c.NAVIGATE&&(T=!!h.find(function(n,o){return n===t.routeName&&(s=o,!0)}))){var _=f.routes[s],B=w[t.routeName],H=_;if(t.action&&B){var I=B.getStateForAction(t.action,_);I&&(H=I)}if(t.params&&(H=O({},H,{params:O({},H.params||{},{},t.params)})),H!==_){var M=(0,o.default)(f.routes);M[s]=H;var D=O({},f,{routes:M,index:s});return E(t,u,D)}if(H===_&&f.index===s&&u)return null}if(t.type===c.SET_PARAMS){var G=t.key,V=f.routes.find(function(t){return t.key===G});if(V){var J=O({},V.params,{},t.params),U=(0,o.default)(f.routes);return U[f.routes.indexOf(V)]=O({},V,{params:J}),E(t,u,O({},f,{routes:U}))}}if(s!==f.index)return E(t,u,O({},f,{index:s}));if(T&&!n)return f;if(T)return O({},f);if(t.type!==c.BACK&&t.type!==p.POP&&t.type!==p.POP_TO_TOP||t.type===c.BACK&&null!=t.key){var q=f.index,z=f.routes;if(h.find(function(n,u){var f=w[n];if(u===q)return!1;var s=z[u];return f&&(s=f.getStateForAction(t,s)),s?s!==z[u]&&((z=(0,o.default)(z))[u]=s,q=u,!0):(q=u,!0)}),t.preserveFocus&&(q=f.index),q!==f.index||z!==f.routes)return E(t,u,O({},f,{index:q,routes:z}))}return f},getComponentForState:function(n){var o=n.routes[n.index].routeName;(0,u.default)(o,"There is no route defined for index ".concat(n.index,". Check that\n that you passed in a navigation state with a valid tab/screen index."));var s=w[o];return s?s.getComponentForState(n.routes[n.index]):(0,f.default)(t,o)},getComponentForRouteName:function(n){return(0,f.default)(t,n)},getPathAndParamsForState:function(t){var n=t.routes[t.index];return C(n)},getActionForPathAndParams:function(t,n){return K(t,n)},getScreenOptions:(0,s.default)(t,n.defaultNavigationOptions)}}},426,[1,3,31,414,427,428,417,430,431,432,433]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,o){var u=n[o];if(!u)throw new Error("There is no route defined for key ".concat(o,".\n")+"Must be one of: ".concat(Object.keys(n).map(function(n){return"'".concat(n,"'")}).join(',')));if(u.screen)return u.screen;if('function'==typeof u.getScreen){var f=u.getScreen();return(0,c.default)((0,t.isValidElementType)(f),"The getScreen defined for route '".concat(o," didn't return a valid ")+"screen or navigator.\n\nPlease pass it like this:\n"+"".concat(o,": {\n getScreen: () => require('./MyScreen').default\n}")),f}return u};var t=r(d[1]),c=n(r(d[2]))},427,[3,385,414]); -__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])),o=t(r(d[2])),u=t(r(d[3]));function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function f(t){for(var n=1;n state...','}','','with:','({ navigation }) => ({',' title: navigation.state...','})'].join('\n'));if(f&&'function'==typeof n[f])throw new Error(["`".concat(f,"` cannot be defined as a function in navigation options for `").concat(c.routeName,"` screen. \n"),'Try replacing the following:','{'," ".concat(f,": ({ state }) => ({"),' key: state...',' })','}','','with:','({ navigation }) => ({'," ".concat(f,"Key: navigation.state..."),'})'].join('\n'));if(f&&'object'==typeof n[f])throw new Error(["Invalid key `".concat(f,"` defined in navigation options for `").concat(c.routeName,"` screen."),'\n','Try replacing the following navigation options:','{'," ".concat(f,": {")].concat((0,t.default)(Object.keys(n[f]).map(function(n){return" ".concat(n,": ...,")})),[' },','}','\n','with:','{'],(0,t.default)(Object.keys(n[f]).map(function(n){return" ".concat(f+n[0].toUpperCase()+n.slice(1),": ...,")})),['}']).join('\n'))}},429,[3,31]); -__d(function(g,r,i,a,m,e,d){function t(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function n(n){for(var c=1;c0,'Please specify at least one route when configuring a navigator.'),u.forEach(function(t){var u=n[t],f=c(u);if(!f||!(0,o.isValidElementType)(f)&&!u.getScreen)throw new Error("The component for route '".concat(t,"' must be a React component. For example:\n\nimport MyScreen from './MyScreen';\n...\n").concat(t,": MyScreen,\n}\n\nYou can also use a navigator:\n\nimport MyNavigator from './MyNavigator';\n...\n").concat(t,": MyNavigator,\n}"));if(u.screen&&u.getScreen)throw new Error("Route '".concat(t,"' should declare a screen or a getScreen, not both."))})};e.default=u},432,[3,385,414]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.createPathParser=e.urlToPathAndParams=e.getParamsFromPath=void 0;var o=n(r(d[2])),u=t(r(d[3])),c=t(r(d[4])),f=n(r(d[5]));function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function s(t){for(var n=1;n=o.length)break;f=o[c++]}else{if((c=o.next()).done)break;f=c.value}var l=f;if(t.startsWith(l))return l}return null}return n};e.urlToPathAndParams=function(t,n){var u=t.match(/^(.*)\?(.*)$/)||[null,t,{}],c=(0,o.default)(u,3),f=c[1],l=c[2],s=p.parse(l),h=y(f,n)||'://',v=f.split(h)[1];return void 0===v&&(v=f),'/'===v&&(v=''),'/'===v[v.length-1]&&(v=v.slice(0,-1)),{path:v,params:s}};e.createPathParser=function(t,n,l){var h,p=l.paths,y=void 0===p?{}:p,b=l.disableRouteNamePaths,O={};Object.keys(t).forEach(function(t){var o;void 0===(o=void 0!==y[t]?y[t]:n[t].path)&&(o=b?null:t),(0,f.default)(null===o||'string'==typeof o,"Route path for ".concat(t," must be specified as a string, or null."));var c=null!==o,l=[],s=c?(0,u.default)(o,l):null,h=[],p=''===o||!c,v=(0,u.default)(p?'*':"".concat(o,"/*"),h);O[t]={exactRe:s,exactReKeys:l,extendedPathRe:v,extendedPathReKeys:h,isWildcard:p,toPath:null===o?function(){return''}:(0,u.compile)(o)}}),h=Object.entries(O);return{getActionForPathAndParams:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'',u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=h,l=Array.isArray(f),s=0;for(f=l?f:f["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var p;if(l){if(s>=f.length)break;p=f[s++]}else{if((s=f.next()).done)break;p=s.value}var y=p,b=(0,o.default)(y,2),O=b[0],x=b[1],A=x.exactRe,j=x.exactReKeys,R=x.extendedPathRe,k=x.extendedPathReKeys,S=t[O],w=A&&A.exec(n);if(w&&w.length){var F=R&&R.exec(n),K=null;if(F&&S){var D=P(F,k);K=S.getActionForPathAndParams(D,u)}return c.navigate({routeName:O,params:v(u,w,j),action:K})}}var E=h,N=Array.isArray(E),_=0;for(E=N?E:E["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var I;if(N){if(_>=E.length)break;I=E[_++]}else{if((_=E.next()).done)break;I=_.value}var T=I,W=(0,o.default)(T,2),C=W[0],M=W[1],U=M.extendedPathRe,$=M.extendedPathReKeys,q=t[C],z=U&&U.exec(n);if(z&&z.length){var B=P(z,$),G=null;if(q&&(G=q.getActionForPathAndParams(B,u)),!G)continue;return c.navigate({routeName:C,params:v(u,z,$),action:G})}}return null},getPathAndParamsForRoute:function(n){var o=n.routeName,u=n.params,c=t[o],f=O[o],l=f.toPath,h=f.exactReKeys,p=l(u),v={};if(u&&Object.keys(u).filter(function(t){return!h.find(function(n){return n.name===t})}).forEach(function(t){v[t]=u[t]}),c){var P=c.getPathAndParamsForState(n);return{path:p?"".concat(p,"/").concat(P.path):P.path,params:P.params?s({},v,{},P.params):v}}return{path:p,params:v}}}}},433,[1,3,25,434,417,414,436]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);m.exports=E,m.exports.parse=o,m.exports.compile=function(t,n){return u(o(t,n),n)},m.exports.tokensToFunction=u,m.exports.tokensToRegExp=w;var n=new RegExp(['(\\\\.)','([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'].join('|'),'g');function o(t,o){for(var p,u=[],f=0,s=0,h='',x=o&&o.delimiter||'/';null!=(p=n.exec(t));){var v=p[0],w=p[1],E=p.index;if(h+=t.slice(s,E),s=E+v.length,w)h+=w[1];else{var y=t[s],R=p[2],$=p[3],b=p[4],T=p[5],k=p[6],C=p[7];h&&(u.push(h),h='');var U=null!=R&&null!=y&&y!==R,S='+'===k||'*'===k,j='?'===k||'*'===k,A=p[2]||x,I=b||T;u.push({name:$||f++,prefix:R||'',delimiter:A,optional:j,repeat:S,partial:U,asterisk:!!C,pattern:I?c(I):C?'.*':'[^'+l(A)+']+?'})}}return s-1?o.split(t.arrayFormatSeparator).map(function(n){return v(n,t)}):null===o?o:v(o,t);u[n]=c};default:return function(t,n,o){void 0!==o[t]?o[t]=[].concat(o[t],n):o[t]=n}}}function y(t){if('string'!=typeof t||1!==t.length)throw new TypeError('arrayFormatSeparator must be single character string')}function p(t,n){return n.encode?n.strict?u(t):encodeURIComponent(t):t}function v(t,n){return n.decode?c(t):t}function b(t){return Array.isArray(t)?t.sort():'object'==typeof t?b(Object.keys(t)).sort(function(t,n){return Number(t)-Number(n)}).map(function(n){return t[n]}):t}function j(t){var n=t.indexOf('#');return-1!==n&&(t=t.slice(0,n)),t}function k(t){var n='',o=t.indexOf('#');return-1!==o&&(n=t.slice(o)),n}function h(t){var n=(t=j(t)).indexOf('?');return-1===n?'':t.slice(n+1)}function F(t,n){return n.parseNumbers&&!Number.isNaN(Number(t))&&'string'==typeof t&&''!==t.trim()?t=Number(t):!n.parseBooleans||null===t||'true'!==t.toLowerCase()&&'false'!==t.toLowerCase()||(t='true'===t.toLowerCase()),t}function N(o,u){y((u=n({decode:!0,sort:!0,arrayFormat:'none',arrayFormatSeparator:',',parseNumbers:!1,parseBooleans:!1},u)).arrayFormatSeparator);var c=f(u),s=Object.create(null);if('string'!=typeof o)return s;if(!(o=o.trim().replace(/^[?#&]/,'')))return s;var p=o.split('&'),j=Array.isArray(p),k=0;for(p=j?p:p["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var h;if(j){if(k>=p.length)break;h=p[k++]}else{if((k=p.next()).done)break;h=k.value}var N=h,O=l(u.decode?N.replace(/\+/g,' '):N,'='),x=t(O,2),S=x[0],A=x[1];A=void 0===A?null:'comma'===u.arrayFormat?A:v(A,u),c(v(S,u),A,s)}for(var w=0,C=Object.keys(s);w0}).join('&')},e.parseUrl=function(t,n){return{url:j(t).split('?')[0]||'',query:N(h(t),n)}},e.stringifyUrl=function(t,o){var u=j(t.url).split('?')[0]||'',c=e.extract(t.url),l=e.parse(c),s=k(t.url),f=n(l,t.query),y=e.stringify(f,o);return y&&(y="?"+y),""+u+y+s}},436,[25,11,31,437,438,439]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},437,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=new RegExp('%[a-f0-9]{2}','gi'),n=new RegExp("(%[a-f0-9]{2})+",'gi');function o(t,n){try{return decodeURIComponent(t.join(''))}catch(t){}if(1===t.length)return t;n=n||1;var c=t.slice(0,n),p=t.slice(n);return Array.prototype.concat.call([],o(c),o(p))}function c(n){try{return decodeURIComponent(n)}catch(f){for(var c=n.match(t),p=1;p1&&void 0!==arguments[1]?arguments[1]:{};(0,y.default)(t);var N={},b=Object.keys(t);b.forEach(function(n){var o=t[n],u=o&&o.screen?o.screen:o;u&&u.router?N[n]=u.router:N[n]=null});var h=n.initialRouteParams,T=n.getCustomActionCreators||S,x=n.initialRouteName||b[0],j=N[x];function F(o){var s={},f=N[o.routeName];if(P(o)&&void 0!==f){var c={};if(null!==f){var p=o.action||u.init({params:o.params});c=f.getStateForAction(p)}return{key:'StackRouterRoot',isTransitioning:!1,index:0,routes:[A({params:o.params},c,{key:o.key||(0,v.generateKey)(),routeName:o.routeName})]}}j&&(s=j.getStateForAction(u.navigate({routeName:x,params:h})));var y=(t[x].params||s.params||o.params||h)&&A({},t[x].params||{},{},s.params||{},{},o.params||{},{},h||{}),l=n.initialRouteKey;return{key:'StackRouterRoot',isTransitioning:!1,index:0,routes:[s=A({},s,{},y?{params:y}:{},{routeName:x,key:o.key||l||(0,v.generateKey)()})]}}function R(n,o){var u=t[n];return u&&u.params?A({},u.params,{},o.params):o.params}var E=(0,k.createPathParser)(N,t,n),w=E.getPathAndParamsForRoute,C=E.getActionForPathAndParams;return{childRouters:N,getComponentForState:function(n){var o=n.routes[n.index],u=o.routeName;return N[u]?N[u].getComponentForState(o):(0,c.default)(t,u)},getComponentForRouteName:function(n){return(0,c.default)(t,n)},getActionCreators:function(t,n){return A({},T(t,n),{pop:function(t,n){return s.pop(A({n:t},n))},popToTop:function(t){return s.popToTop(t)},push:function(t,n,o){return s.push({routeName:t,params:n,action:o})},replace:function(n,o,u,f){return'string'==typeof n?s.replace({routeName:n,params:o,action:u,key:t.key,newKey:f}):((0,l.default)('object'==typeof n,'Must replaceWith an object or a string'),(0,l.default)(null==o,'Params must not be provided to .replace() when specifying an object'),(0,l.default)(null==u,'Child action must not be provided to .replace() when specifying an object'),(0,l.default)(null==f,'Child action must not be provided to .replace() when specifying an object'),s.replace(n))},reset:function(t,o){return s.reset({actions:t,index:null==o?t.length-1:o,key:n})},dismiss:function(){return u.back({key:n})}})},getStateForAction:function(t,n){if(!n)return F(t);var f,c=n.routes[n.index];if(O(t)||t.type===u.NAVIGATE){if(t.type===u.NAVIGATE){var y=n.routes.slice().reverse(),k=Array.isArray(y),b=0;for(y=k?y:y["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var S;if(k){if(b>=y.length)break;S=y[b++]}else{if((b=y.next()).done)break;S=b.value}var h=S,T=N[h.routeName],x=t.routeName===h.routeName&&t.action?t.action:t;if(T){var j=T.getStateForAction(x,h);if(null===j||j!==h){var E=p.default.replaceAndPrune(n,j?j.key:h.key,j||h);return A({},E,{isTransitioning:n.index!==E.index?!0!==t.immediate:n.isTransitioning})}}}}}else{var w=N[c.routeName];if(w){var C=w.getStateForAction(t,c);if(null!==C&&C!==c)return p.default.replaceAt(n,c.key,C,t.type===u.SET_PARAMS)}}if(P(t)&&void 0!==N[t.routeName]){var K,_=N[t.routeName];(0,l.default)(t.type!==s.PUSH||null==t.key,'StackRouter does not support key on the push action');var I=n.routes.findIndex(function(n){return t.key?n.key===t.key:n.routeName===t.routeName});if(t.type!==s.PUSH&&-1!==I){if(n.index===I&&!t.params)return null;var M=n.routes.slice(0,I+1);if(t.params){var D=n.routes[I];M[I]=A({},D,{params:A({},D.params,{},t.params)})}return A({},n,{isTransitioning:n.index!==I?!0!==t.immediate:n.isTransitioning,index:I,routes:M})}if(_){var H=t.action||u.init({params:R(t.routeName,t)});K=A({params:R(t.routeName,t)},_.getStateForAction(H),{routeName:t.routeName,key:t.key||(0,v.generateKey)()})}else K={params:R(t.routeName,t),routeName:t.routeName,key:t.key||(0,v.generateKey)()};return A({},p.default.push(n,K),{isTransitioning:!0!==t.immediate})}if(t.type===s.PUSH&&void 0===N[t.routeName])return n;if(P(t))for(var U=Object.keys(N),G=0;G0?A({},n,{isTransitioning:!0!==t.immediate,index:0,routes:[n.routes[0]]}):n;if(t.type===s.REPLACE&&-1!==(f=void 0===t.key&&n.routes.length?n.routes.length-1:n.routes.findIndex(function(n){return n.key===t.key}))){var J=N[t.routeName],Q={};if(J){var X=t.action||u.init({params:R(t.routeName,t)});Q=J.getStateForAction(X)}var Y=(0,o.default)(n.routes);return Y[f]=A({params:R(t.routeName,t)},Q,{routeName:t.routeName,key:t.newKey||(0,v.generateKey)()}),A({},n,{routes:Y})}if(t.type===s.COMPLETE_TRANSITION&&(null==t.key||t.key===n.key)&&t.toChildKey===n.routes[n.index].key&&n.isTransitioning)return A({},n,{isTransitioning:!1});if(t.type===u.SET_PARAMS){var Z=t.key,$=n.routes.find(function(t){return t.key===Z});if($){var ee=A({},$.params,{},t.params),te=(0,o.default)(n.routes);return te[n.routes.indexOf($)]=A({},$,{params:ee}),A({},n,{routes:te})}}if(t.type===s.RESET)return null!=t.key&&t.key!==n.key?n:A({},n,{routes:t.actions.map(function(t){var n=N[t.routeName],o={};if(n){var s=t.action||u.init({params:R(t.routeName,t)});o=n.getStateForAction(s)}return A({params:R(t.routeName,t)},o,{routeName:t.routeName,key:t.key||(0,v.generateKey)()})}),index:t.index});if(t.type===u.BACK||t.type===s.POP){var re=t.key,ne=t.n,ae=t.immediate,ie=n.index;if(t.type===s.POP&&null!=ne)ie=Math.max(1,n.index-ne+1);else if(re){var oe=n.routes.find(function(t){return t.key===re});ie=n.routes.indexOf(oe)}if(ie>0)return A({},n,{routes:n.routes.slice(0,ie),index:ie-1,isTransitioning:!0!==ae})}var ue=t.key?p.default.indexOf(n,t.key):-1,se=n.routes.slice().reverse(),fe=Array.isArray(se),ce=0;for(se=fe?se:se["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var pe;if(fe){if(ce>=se.length)break;pe=se[ce++]}else{if((ce=se.next()).done)break;pe=ce.value}var ye=pe;if(ye.key!==c.key&&!(ue>=0&&ye.key!==t.key)){var le=N[ye.routeName];if(le){var me=le.getStateForAction(t,ye);if(null===me)return n;if(me&&me!==ye)return p.default.replaceAt(n,ye.key,me,t.preserveFocus||t.type.includes('DRAWER'))}}}return n},getPathAndParamsForState:function(t){var n=t.routes[t.index];return w(n)},getActionForPathAndParams:function(t,n){return C(t,n)},getScreenOptions:(0,f.default)(t,n.defaultNavigationOptions)}}},444,[1,3,31,417,431,428,427,413,432,414,445,433]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e._TESTING_ONLY_normalize_keys=function(){n="id",t=0},e.generateKey=function(){return"".concat(n,"-").concat(t++)};var n="id-".concat(Date.now()),t=0},445,[]); -__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])),o=t(r(d[2]));function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function u(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};return c=u({},c),c=(0,o.default)(c,'resetOnBlur',!1),c=(0,o.default)(c,'backBehavior','initialRoute'),(0,n.default)(t,c)}},446,[3,426,447]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t,n,o){return t.hasOwnProperty(n)&&void 0!==t[n]?t:(t[n]=o,t)}},447,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'light',u=t.state,l=t.router,v=(0,t.getChildNavigation)(u.routes[u.index].key);return l.getScreenOptions(v,n,o)};e.default=t},448,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),u=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),c=n(r(d[5])),f=n(r(d[6])),s=n(r(d[7])),p=n(r(d[8]));var v={willFocus:'onWillFocus',didFocus:'onDidFocus',willBlur:'onWillBlur',didBlur:'onDidBlur'},b=Object.keys(v),h=(function(n){function s(){var n,u,f,p,b;(0,t.default)(this,s);for(var h=arguments.length,y=new Array(h),k=0;k1&&void 0!==arguments[1]?arguments[1]:{forwardRef:!0},w=(function(p){function y(){return(0,n.default)(this,y),(0,u.default)(this,(0,f.default)(y).apply(this,arguments))}return(0,l.default)(y,p),(0,o.default)(y,[{key:"render",value:function(){var n=this,o=this.props.navigation;return c.default.createElement(v.default.Consumer,null,function(u){var f=o||u;return(0,s.default)(!!f,'withNavigation can only be used on a view hierarchy of a navigator. The wrapped component is unable to get access to navigation from props or context.'),c.default.createElement(t,h({},n.props,{navigation:f,ref:b.forwardRef?n.props.onRef:void 0}))})}}]),y})(c.default.Component);return y(w,"displayName","withNavigation(".concat(t.displayName||t.name,")")),(0,p.default)(w,t)};var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),v=t(r(d[9]));function h(){return(h=Object.assign||function(t){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(u[o]=t[o])}return u}function w(t,n){if(null==t)return{};var o,s,u={},l=Object.keys(t);for(s=0;s=0||(u[o]=t[o]);return u}var k=S.pathUtils.urlToPathAndParams;function P(t){return!t.navigation}function A(t){if(t.persistenceKey&&console.warn("You passed persistenceKey prop to a navigator. The persistenceKey prop was replaced by a more flexible persistence mechanism, please see the navigation state persistence docs for more information. Passing the persistenceKey prop is a no-op."),!P(t)){t.navigation,t.screenProps;var n=t.persistNavigationState,o=t.loadNavigationState,s=(t.theme,N(t,["navigation","screenProps","persistNavigationState","loadNavigationState","theme"])),u=Object.keys(s);if(0!==u.length)throw new Error('This navigator has both navigation and container props, so it is '+"unclear if it should own its own state. Remove props: \"".concat(u.join(', '),"\" ")+"if the navigator should get its state from the navigation prop. If the navigator should maintain its own state, do not pass a navigation prop.");(0,_.default)(void 0===n&&void 0===o||'function'==typeof n&&'function'==typeof o,'both persistNavigationState and loadNavigationState must either be undefined, or be functions')}}var L=!1},453,[3,25,272,4,6,8,7,5,9,12,16,412,454,455]); -__d(function(g,r,i,a,m,e,d){var n=function(){};m.exports=function(o,t,f,u,c,l,s,v){if(n(t),!o){var p;if(void 0===t)p=new Error('Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.');else{var h=[f,u,c,l,s,v],w=0;(p=new Error(t.replace(/%s/g,function(){return h[w++]}))).name='Invariant Violation'}throw p.framesToPop=1,p}}},454,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"https://reactnavigation.org/docs/".concat(t)}},455,[]); -__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])),o=t(r(d[3])),s=t(r(d[4])),l=t(r(d[5])),p=t(r(d[6])),c=t(r(d[7])),f=r(d[8]);function v(){return(v=Object.assign||function(t){for(var n=1;nn.height};e.isOrientationLandscape=y},458,[3,4,5,6,8,7,9,12,16,384]); -__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])),u=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),v=r(d[9]);function b(){return(b=Object.assign||function(t){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(t,l)&&(o[l]=t[l])}return o}function h(t,n){if(null==t)return{};var l,u,o={},s=Object.keys(t);for(u=0;u=0||(o[l]=t[l]);return o}var w=(function(t){function h(t){var s,c,f,p;return(0,n.default)(this,h),s=(0,l.default)(this,(0,u.default)(h).call(this)),c=(0,o.default)(s),p=function(){return s.props.animationEnabled||s.props.swipeEnabled},(f="_mustAlwaysBeVisible")in c?Object.defineProperty(c,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):c[f]=p,s.state={awake:!t.lazy||t.isFocused},s}return(0,c.default)(h,t),(0,s.default)(h,null,[{key:"getDerivedStateFromProps",value:function(t,n){return t.isFocused&&!n.awake?{awake:!0}:null}}]),(0,s.default)(h,[{key:"render",value:function(){var t=this.state.awake,n=this.props,l=n.isFocused,u=n.childNavigation,o=n.removeClippedSubviews,s=y(n,["isFocused","childNavigation","removeClippedSubviews"]);return f.default.createElement(p.View,{style:O.container,collapsable:!1,removeClippedSubviews:'android'===p.Platform.OS?o:!l&&o},f.default.createElement(p.View,{style:this._mustAlwaysBeVisible()||l?O.innerAttached:O.innerDetached},t?f.default.createElement(v.SceneView,b({},s,{navigation:u})):null))}}]),h})(f.default.PureComponent),O=p.StyleSheet.create({container:{flex:1,overflow:'hidden'},innerAttached:{flex:1},innerDetached:{flex:1,top:3e3}}),S=w;e.default=S},459,[3,4,6,8,7,5,9,12,16,412]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.getInset=D,e.getStatusBarHeight=function(t){return k(t)},e.withSafeArea=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),u=n(r(d[4])),p=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),l=n(r(d[8])),h=n(r(d[9])),v=t(r(d[10])),y=r(d[11]),w=n(r(d[12])),b=n(r(d[13]));function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function S(t){for(var n=1;nP&&P<768||P>B&&B<768),R=null,T=null,k=function(t){return null!==R?R:'android'===y.Platform.OS?g.Expo?g.Expo.Constants.statusBarHeight:0:I?t?0:44:M?24:j?T?0:20:t||T?0:20},E=function(t){if(!t.includes('%'))return 0;var n=parseFloat(t)/100;return isNaN(n)?0:n},x=(function(t){function n(){var t,o;(0,p.default)(this,n);for(var u=arguments.length,c=new Array(u),h=0;h=c?l%=c:l<0&&(l=l%c+c),h>=p?h%=p:h<0&&(h=h%p+p);var v=0===l,y=l+f>=c,w=0===h,b=h+u>=p;o.setState({touchesTop:v,touchesBottom:y,touchesLeft:w,touchesRight:b,orientation:s,viewWidth:u,viewHeight:f})}})}}},o._getSafeAreaStyle=function(){var t=o.state,n=t.touchesTop,s=t.touchesBottom,u=t.touchesLeft,p=t.touchesRight,c=o.props,f=c.forceInset,l=(c.isLandscape,o._getViewStyles()),h=l.paddingTop,v=l.paddingBottom,y=l.paddingLeft,w=l.paddingRight,b=S({},l.viewStyle,{paddingTop:n?o._getInset('top'):0,paddingBottom:s?o._getInset('bottom'):0,paddingLeft:u?o._getInset('left'):0,paddingRight:p?o._getInset('right'):0});return f&&Object.keys(f).forEach(function(t){var n=f[t];switch('always'===n&&(n=o._getInset(t)),'never'===n&&(n=0),t){case'horizontal':b.paddingLeft=n,b.paddingRight=n;break;case'vertical':b.paddingTop=n,b.paddingBottom=n;break;case'left':case'right':case'top':case'bottom':var s="padding"+t[0].toUpperCase()+t.slice(1);b[s]=n}}),b.height&&'number'==typeof b.height&&(b.height+=b.paddingTop+b.paddingBottom),b.width&&'number'==typeof b.width&&(b.width+=b.paddingLeft+b.paddingRight),b.paddingTop=Math.max(b.paddingTop,h),b.paddingBottom=Math.max(b.paddingBottom,v),b.paddingLeft=Math.max(b.paddingLeft,y),b.paddingRight=Math.max(b.paddingRight,w),b},o._getViewStyles=function(){var t=o.state.viewWidth,n=y.StyleSheet.flatten(o.props.style||{}),u=n.padding,p=void 0===u?0:u,c=n.paddingVertical,f=void 0===c?p:c,l=n.paddingHorizontal,h=void 0===l?p:l,v=n.paddingTop,w=void 0===v?f:v,b=n.paddingBottom,O=void 0===b?f:b,S=n.paddingLeft,_=void 0===S?h:S,L=n.paddingRight,B=void 0===L?h:L,P=(0,s.default)(n,["padding","paddingVertical","paddingHorizontal","paddingTop","paddingBottom","paddingLeft","paddingRight"]);return'number'!=typeof w&&(w=E(w)*t),'number'!=typeof O&&(O=E(O)*t),'number'!=typeof _&&(_=E(_)*t),'number'!=typeof B&&(B=E(B)*t),{paddingTop:w,paddingBottom:O,paddingLeft:_,paddingRight:B,viewStyle:P}},o._getInset=function(t){return D(t,o.props.isLandscape)},o}return(0,h.default)(n,t),(0,c.default)(n,[{key:"componentDidMount",value:function(){var t=this;this._isMounted=!0,y.InteractionManager.runAfterInteractions(function(){t._updateMeasurements()})}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"componentDidUpdate",value:function(){this._updateMeasurements()}},{key:"render",value:function(){var t=this,n=this.props,u=(n.forceInset,n.isLandscape,n.style,(0,s.default)(n,["forceInset","isLandscape","style"])),p=this._getSafeAreaStyle();return v.default.createElement(y.Animated.View,(0,o.default)({ref:function(n){return t.view=n},pointerEvents:"box-none"},u,{onLayout:this._handleLayout,style:p}))}}]),n})(v.Component);function D(t,n){switch(t){case'horizontal':case'right':case'left':return n&&I?44:0;case'vertical':case'top':return k(n);case'bottom':return I?n?24:34:M?20:0}}x.setStatusBarHeight=function(t){R=t},x.setStatusBarHidden=function(t){T=t};var H=(0,b.default)(x),A=H;e.default=A;e.withSafeArea=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(n){var o=(function(o){function s(){return(0,p.default)(this,s),(0,f.default)(this,(0,l.default)(s).apply(this,arguments))}return(0,h.default)(s,o),(0,c.default)(s,[{key:"render",value:function(){return v.default.createElement(H,{style:{flex:1},forceInset:t},v.default.createElement(n,this.props))}}]),s})(v.Component);return(0,w.default)(o,n)}}},460,[1,3,11,56,50,4,5,6,8,9,12,16,461,462]); -__d(function(g,r,i,a,m,e,d){'use strict';var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},p=Object.defineProperty,n=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,f=y&&y(Object);m.exports=function l(O,u,P){if('string'!=typeof u){if(f){var b=y(u);b&&b!==f&&l(O,b,P)}var v=n(u);c&&(v=v.concat(c(u)));for(var j=0;jn.height};e.isOrientationLandscape=L},462,[1,3,11,4,5,6,8,9,12,16,461]); -__d(function(g,r,i,a,m,e,d){var t,n=r(d[0]),o=n(r(d[1])),f=r(d[2]),l=r(d[3]),c=n(r(d[4])),u=n(r(d[5]));function s(){return(s=Object.assign||function(t){for(var n=1;n0:b,R=t.overshootRight,y=void 0===R?_>0:R,E=v.Animated.add(h,p.interpolate({inputRange:[0,s],outputRange:[0,1]})).interpolate({inputRange:[-_-(y?1:l),-_,f,f+(A?1:l)],outputRange:[-_-(y||l>1?1:0),-_,f,f+(A||l>1?1:0)]});o._transX=E,o._showLeftAction=f>0?E.interpolate({inputRange:[-1,0,f],outputRange:[0,0,1]}):new v.Animated.Value(0),o._leftActionTranslate=o._showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),o._showRightAction=_>0?E.interpolate({inputRange:[-_,0,1],outputRange:[1,0,0]}):new v.Animated.Value(0),o._rightActionTranslate=o._showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},o._onTapHandlerStateChange=function(t){t.nativeEvent.oldState===w.State.ACTIVE&&o.close()},o._onHandlerStateChange=function(t){var n=t.nativeEvent;n.oldState===w.State.ACTIVE&&o._handleRelease(n)},o._handleRelease=function(t){var n=t.velocityX,s=t.translationX,l=o.state,p=l.leftWidth,h=void 0===p?0:p,u=l.rowWidth,f=void 0===u?0:u,c=l.rowState,v=o.state.rightOffset,w=f-(void 0===v?f:v),S=o.props,O=S.friction,b=S.leftThreshold,A=void 0===b?h/2:b,R=S.rightThreshold,y=void 0===R?w/2:R,E=o._currentOffset()+s/O,W=(s+_*n)/O,L=0;0===c?W>A?L=h:W<-y&&(L=-w):1===c?W>-A&&(L=h):W0&&o.props.onSwipeableLeftOpen?o.props.onSwipeableLeftOpen():n<0&&o.props.onSwipeableRightOpen&&o.props.onSwipeableRightOpen(),0===n?o.props.onSwipeableClose&&o.props.onSwipeableClose():o.props.onSwipeableOpen&&o.props.onSwipeableOpen())}),n>0&&o.props.onSwipeableLeftWillOpen?o.props.onSwipeableLeftWillOpen():n<0&&o.props.onSwipeableRightWillOpen&&o.props.onSwipeableRightWillOpen(),0===n?o.props.onSwipeableWillClose&&o.props.onSwipeableWillClose():o.props.onSwipeableWillOpen&&o.props.onSwipeableWillOpen()},o._onRowLayout=function(t){var n=t.nativeEvent;o.setState({rowWidth:n.layout.width})},o._currentOffset=function(){var t=o.state,n=t.leftWidth,s=void 0===n?0:n,l=t.rowWidth,p=void 0===l?0:l,h=t.rowState,u=o.state.rightOffset;return 1===h?s:-1===h?-(p-(void 0===u?p:u)):0},o.close=function(){o._animateRow(o._currentOffset(),0)},o.openLeft=function(){var t=o.state.leftWidth,n=void 0===t?0:t;o._animateRow(o._currentOffset(),n)},o.openRight=function(){var t=o.state.rowWidth,n=void 0===t?0:t,s=o.state.rightOffset,l=n-(void 0===s?n:s);o._animateRow(o._currentOffset(),-l)};var s=new v.Animated.Value(0);return o.state={dragX:s,rowTranslation:new v.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},o._updateAnimatedEvent(t,o.state),o._onGestureEvent=v.Animated.event([{nativeEvent:{translationX:s}}],{useNativeDriver:t.useNativeAnimations}),o}return(0,f.default)(n,t),(0,p.default)(n,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===n.leftWidth&&this.state.rightOffset===n.rightOffset&&this.state.rowWidth===n.rowWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this,n=this.state.rowState,s=this.props,l=s.children,p=s.renderLeftActions,h=s.renderRightActions,u=p&&c.default.createElement(v.Animated.View,{style:[A.leftActions,{transform:[{translateX:this._leftActionTranslate}]}]},p(this._showLeftAction,this._transX),c.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({leftWidth:o.layout.x})}})),f=h&&c.default.createElement(v.Animated.View,{style:[A.rightActions,{transform:[{translateX:this._rightActionTranslate}]}]},h(this._showRightAction,this._transX),c.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({rightOffset:o.layout.x})}}));return c.default.createElement(w.PanGestureHandler,(0,o.default)({},this.props,{minDeltaX:10,onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._onHandlerStateChange}),c.default.createElement(v.Animated.View,{onLayout:this._onRowLayout,style:[A.container,this.props.containerStyle]},u,f,c.default.createElement(w.TapGestureHandler,{enabled:0!==n,onHandlerStateChange:this._onTapHandlerStateChange},c.default.createElement(v.Animated.View,{pointerEvents:0===n?'auto':'box-only',style:[{transform:[{translateX:this._transX}]},this.props.childrenContainerStyle]},l))))}}]),n})(c.Component);e.default=b,b.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var A=v.StyleSheet.create({container:{overflow:'hidden'},leftActions:O({},v.StyleSheet.absoluteFillObject,{flexDirection:v.I18nManager.isRTL?'row-reverse':'row'}),rightActions:O({},v.StyleSheet.absoluteFillObject,{flexDirection:v.I18nManager.isRTL?'row':'row-reverse'})})},465,[1,3,11,50,4,5,6,8,9,12,16,466]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={createNativeWrapper:!0,Directions:!0,gestureHandlerRootHOC:!0,NativeViewGestureHandler:!0,State:!0};Object.defineProperty(e,"createNativeWrapper",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Directions",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"gestureHandlerRootHOC",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"NativeViewGestureHandler",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"State",{enumerable:!0,get:function(){return l.default}});var u=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),f=t(r(d[4])),l=t(r(d[5])),b=r(d[6]);Object.keys(b).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))});var p=r(d[7]);Object.keys(p).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}}))});var O=r(d[8]);Object.keys(O).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}}))})},466,[3,467,474,475,468,472,477,479,480]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},b=(function(b){function j(){var t,n;(0,l.default)(this,j);for(var o=arguments.length,u=new Array(o),p=0;p=l.length)break;c=l[f++]}else{if((f=l.next()).done)break;c=f.value}var p=c;p.startsWith('_')||p.startsWith('component')||v.has(p)||'function'!=typeof o[p]||void 0!==n[p]||(o[p].prototype?n[p]=o[p].bind(t):n[p]=o[p])}o=Object.getPrototypeOf(o)}},n}return(0,p.default)(j,b),(0,u.default)(j,[{key:"render",value:function(){var l=this,u=Object.keys(this.props).reduce(function(t,n){return-1!==h.indexOf(n)&&(t[n]=l.props[n]),t},O({},o));return s.default.createElement(y.default,u,s.default.createElement(t,(0,n.default)({},this.props,{ref:this._refHandler})))}}]),j})(s.default.Component);return b.propTypes=O({},t.propTypes),b.displayName=t.displayName||'ComponentWrapper',b};var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9]));function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function O(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_=arguments.length>3?arguments[3]:void 0,E=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},w=(function(n){function w(n){var u;if((0,o.default)(this,w),(u=(0,s.default)(this,(0,l.default)(w).call(this,n)))._onGestureHandlerEvent=function(t){t.nativeEvent.handlerTag===u._handlerTag?u.props.onGestureEvent&&u.props.onGestureEvent(t):u.props.onGestureHandlerEvent&&u.props.onGestureHandlerEvent(t)},u._onGestureHandlerStateChange=function(t){if(t.nativeEvent.handlerTag===u._handlerTag){u.props.onHandlerStateChange&&u.props.onHandlerStateChange(t);var n=k[t.nativeEvent.state];'function'==typeof u.props[n]&&u.props[n](t)}else u.props.onGestureHandlerStateChange&&u.props.onGestureHandlerStateChange(t)},u._refHandler=function(t){u._viewNode=t;var n=f.default.Children.only(u.props.children),o=n.ref;null!==o&&('function'==typeof o?o(t):o.current=t)},u._createGestureHandler=function(n){u._config=n,y.default.createGestureHandler(t,u._handlerTag,n)},u._attachGestureHandler=function(t){u._viewTag=t,y.default.attachGestureHandler(u._handlerTag,t)},u._updateGestureHandler=function(t){u._config=t,y.default.updateGestureHandler(u._handlerTag,t)},u._handlerTag=D++,u._config={},n.id){if(void 0!==j[n.id])throw new Error("Handler with ID \""+n.id+"\" already registered");j[n.id]=u._handlerTag}return u}return(0,p.default)(w,n),(0,u.default)(w,[{key:"componentWillUnmount",value:function(){y.default.dropGestureHandler(this._handlerTag),this._updateEnqueued&&clearImmediate(this._updateEnqueued),this.props.id&&delete j[this.props.id]}},{key:"componentDidMount",value:function(){var t,n,o=this;t=this.props,((n=function(t){return Array.isArray(t)?t.some(function(t){return t&&null===t.current}):t&&null===t.current})(t.simultaneousHandlers)||n(t.waitFor))&&(this._updateEnqueued=setImmediate(function(){o._updateEnqueued=null,o._update()})),this._createGestureHandler(P(_?_(this.props):this.props,H({},this.constructor.propTypes,{},E),c)),this._attachGestureHandler(G(this._viewNode))}},{key:"componentDidUpdate",value:function(){var t=G(this._viewNode);this._viewTag!==t&&this._attachGestureHandler(t),this._update()}},{key:"_update",value:function(){var t=P(_?_(this.props):this.props,H({},this.constructor.propTypes,{},E),c);(0,v.default)(this._config,t)||this._updateGestureHandler(t)}},{key:"setNativeProps",value:function(t){var n=H({},this.props,{},t),o=P(_?_(n):n,H({},this.constructor.propTypes,{},E),c);this._updateGestureHandler(o)}},{key:"render",value:function(){var t=this._onGestureHandlerEvent,n=this.props,o=n.onGestureEvent,u=n.onGestureHandlerEvent;if(o&&'function'!=typeof o){if(u)throw new Error('Nesting touch handlers with native animated driver is not supported yet');t=this.props.onGestureEvent}else if(u&&'function'!=typeof u)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var s=this._onGestureHandlerStateChange,l=this.props,p=l.onHandlerStateChange,c=l.onGestureHandlerStateChange;if(p&&'function'!=typeof p){if(c)throw new Error('Nesting touch handlers with native animated driver is not supported yet');s=this.props.onHandlerStateChange}else if(c&&'function'!=typeof c)throw new Error('Nesting touch handlers with native animated driver is not supported yet');var v=f.default.Children.only(this.props.children),y=v.props.children;return h.Touchable.TOUCH_TARGET_DEBUG&&v.type&&('RNGestureHandlerButton'===v.type||'View'===v.type.name||'View'===v.type.displayName)&&(y=f.default.Children.toArray(y)).push(h.Touchable.renderDebugView({color:'mediumspringgreen',hitSlop:v.props.hitSlop})),f.default.cloneElement(v,{ref:this._refHandler,collapsable:!1,onGestureHandlerEvent:t,onGestureHandlerStateChange:s},y)}}]),w})(f.default.Component);return w.displayName=t,w.propTypes=n,w};var n,o=t(r(d[1])),u=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),p=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),h=r(d[8]),v=t(r(d[9])),y=t(r(d[10])),_=t(r(d[11]));function E(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function H(t){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:{});return Object.keys(n).forEach(function(n){var u,s,l=t[n];if(s=n,!(void 0===(u=l)||u===Object(u)&&'__isNative'in u||'onHandlerStateChange'===s||'onGestureEvent'===s)){var p=t[n];'simultaneousHandlers'===n||'waitFor'===n?p=A(t[n]):'hitSlop'===n&&'object'!=typeof p&&(p={top:p,left:p,bottom:p,right:p}),o[n]=p}}),o}function A(t){return Array.isArray(t)||(t=[t]),'web'===h.Platform.OS?t.map(function(t){return t.current}).filter(function(t){return t}):t.map(function(t){return j[t]||t.current&&t.current._handlerTag||-1}).filter(function(t){return t>0})}var k=(n={},(0,c.default)(n,_.default.BEGAN,'onBegan'),(0,c.default)(n,_.default.FAILED,'onFailed'),(0,c.default)(n,_.default.CANCELLED,'onCancelled'),(0,c.default)(n,_.default.ACTIVE,'onActivated'),(0,c.default)(n,_.default.END,'onEnded'),n)},469,[3,4,5,6,8,9,50,12,16,470,471,472]); -__d(function(g,r,i,a,m,e,d){"use strict";var t=[],n=[];function u(t,n,o,l){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if('object'!=typeof t||'object'!=typeof n)return!1;var c=Object.prototype.toString,s=c.call(t);if(s!=c.call(n))return!1;switch(s){case'[object String]':return t==String(n);case'[object Number]':return!isNaN(t)&&!isNaN(n)&&t==Number(n);case'[object Date]':case'[object Boolean]':return+t==+n;case'[object RegExp]':return t.source==n.source&&t.global==n.global&&t.multiline==n.multiline&&t.ignoreCase==n.ignoreCase}for(var f=o.length;f--;)if(o[f]==t)return l[f]==n;o.push(t),l.push(n);var p=0;if('[object Array]'===s){if((p=t.length)!==n.length)return!1;for(;p--;)if(!u(t[p],n[p],o,l))return!1}else{if(t.constructor!==n.constructor)return!1;if(t.hasOwnProperty('valueOf')&&n.hasOwnProperty('valueOf'))return t.valueOf()==n.valueOf();var h=Object.keys(t);if(h.length!=Object.keys(n).length)return!1;for(var b=0;b1&&void 0!==arguments[1]?arguments[1]:void 0,s=(function(s){function y(){return(0,n.default)(this,y),(0,u.default)(this,(0,c.default)(y).apply(this,arguments))}return(0,l.default)(y,s),(0,o.default)(y,[{key:"render",value:function(){return p.default.createElement(v,{style:[j.container,f]},p.default.createElement(t,this.props))}}]),y})(p.default.Component);return(0,y.default)(s,t),s};var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),f=t(r(d[6])),p=t(r(d[7])),s=r(d[8]),y=t(r(d[9]));function O(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}var b={name:'GestureHandlerRootView',propTypes:(function(t){for(var n=1;no?h-o:0);var _=c+v+(l._drawerShown?o:0);_+S*w>o/2?l._animateDrawer(_,o,w):l._animateDrawer(_,0,w)},l._updateShowing=function(t){l._drawerShown=t,l._accessibilityIsModalView.current&&l._accessibilityIsModalView.current.setNativeProps({accessibilityViewIsModal:t}),l._pointerEventsView.current&&l._pointerEventsView.current.setNativeProps({pointerEvents:t?'auto':'none'});var n=l.props,o=n.drawerPosition,s=n.minSwipeDistance,p=n.edgeWidth,u='left'===o,c=(u?1:-1)*(l._drawerShown?-1:1),w=u?{left:0,width:t?void 0:p}:{right:0,width:t?void 0:p};l._panGestureHandler.current&&l._panGestureHandler.current.setNativeProps({hitSlop:w,activeOffsetX:c*s})},l._animateDrawer=function(t,n,o){if(l.state.dragX.setValue(0),l.state.touchX.setValue('left'===l.props.drawerPosition?0:l.state.containerWidth),null!=t){var s=t;l.props.useNativeAnimations&&(t0?s=Math.min(t+o/60,n):t>n&&o<0&&(s=Math.max(t+o/60,n))),l.state.drawerTranslation.setValue(s)}var p=0!==n;l._updateShowing(p),l._emitStateChanged(A,p),l.props.hideStatusBar&&h.StatusBar.setHidden(p,l.props.statusBarAnimation||'slide'),h.Animated.spring(l.state.drawerTranslation,{velocity:o,bounciness:0,toValue:n,useNativeDriver:l.props.useNativeAnimations}).start(function(t){t.finished&&(l._emitStateChanged(b,p),p?l.props.onDrawerOpen&&l.props.onDrawerOpen():l.props.onDrawerClose&&l.props.onDrawerClose())})},l.openDrawer=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l._animateDrawer(void 0,l.props.drawerWidth,t.velocity?t.velocity:0),l.forceUpdate()},l.closeDrawer=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l._animateDrawer(void 0,0,t.velocity?t.velocity:0),l.forceUpdate()},l._renderOverlay=function(){(0,f.default)(l._openValue,'should be set');var t={opacity:l._openValue.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),backgroundColor:l.props.overlayColor};return w.default.createElement(v.TapGestureHandler,{onHandlerStateChange:l._onTapHandlerStateChange},w.default.createElement(h.Animated.View,{pointerEvents:l._drawerShown?'auto':'none',ref:l._pointerEventsView,style:[E.overlay,t]}))},l._renderDrawer=function(){var t,n=l.props,o=n.drawerBackgroundColor,s=n.drawerWidth,p=n.drawerPosition,u=n.drawerType,c=n.drawerContainerStyle,v=n.contentContainerStyle,_='left'===p,y='back'!==u,S='front'!==u,b=h.I18nManager.isRTL?_:!_,V={backgroundColor:o,width:s},A=l._openValue;((0,f.default)(A,'should be set'),S)&&(t={transform:[{translateX:A.interpolate({inputRange:[0,1],outputRange:_?[0,s]:[0,-s],extrapolate:'clamp'})}]});var O=0;if(y){var C=_?-s:s;O=A.interpolate({inputRange:[0,1],outputRange:[C,0],extrapolate:'clamp'})}var D={transform:[{translateX:O}],flexDirection:b?'row-reverse':'row'};return w.default.createElement(h.Animated.View,{style:E.main,onLayout:l._handleContainerLayout},w.default.createElement(h.Animated.View,{style:['front'===u?E.containerOnBack:E.containerInFront,t,v],importantForAccessibility:l._drawerShown?'no-hide-descendants':'yes'},'function'==typeof l.props.children?l.props.children(l._openValue):l.props.children,l._renderOverlay()),w.default.createElement(h.Animated.View,{pointerEvents:"box-none",ref:l._accessibilityIsModalView,accessibilityViewIsModal:l._drawerShown,style:[E.drawerContainer,D,c]},w.default.createElement(h.View,{style:V},l.props.renderNavigationView(l._openValue))))},l._setPanGestureRef=function(t){l._panGestureHandler.current=t,l.props.onGestureRef&&l.props.onGestureRef(t)};var c=new h.Animated.Value(0),_=new h.Animated.Value(0),y=new h.Animated.Value(0);return l.state={dragX:c,touchX:_,drawerTranslation:y,containerWidth:0},l._updateAnimatedEvent(t,l.state),l}return(0,c.default)(n,t),(0,l.default)(n,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.drawerPosition===t.drawerPosition&&this.props.drawerWidth===t.drawerWidth&&this.props.drawerType===t.drawerType&&this.state.containerWidth===n.containerWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this.props,n=t.drawerPosition,o=t.drawerLockMode,s=t.edgeWidth,l=t.minSwipeDistance,p='left'===n,u=(p?1:-1)*(this._drawerShown?-1:1),c=p?{left:0,width:this._drawerShown?void 0:s}:{right:0,width:this._drawerShown?void 0:s};return w.default.createElement(v.PanGestureHandler,{ref:this._setPanGestureRef,hitSlop:c,activeOffsetX:u*l,failOffsetY:[-15,15],onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._openingHandlerStateChange,enabled:'locked-closed'!==o&&'locked-open'!==o},this._renderDrawer())}}]),n})(w.Component);e.default=O,O.defaultProps={drawerWidth:200,drawerPosition:'left',useNativeAnimations:!0,drawerType:'front',edgeWidth:20,minSwipeDistance:3,overlayColor:'rgba(0, 0, 0, 0.7)',drawerLockMode:'unlocked'},O.positions={Left:'left',Right:'right'};var E=h.StyleSheet.create({drawerContainer:y({},h.StyleSheet.absoluteFillObject,{zIndex:1001,flexDirection:'row'}),containerInFront:y({},h.StyleSheet.absoluteFillObject,{zIndex:1002}),containerOnBack:y({},h.StyleSheet.absoluteFillObject),main:{flex:1,zIndex:0,overflow:'hidden'},overlay:y({},h.StyleSheet.absoluteFillObject,{zIndex:1e3})})},482,[1,3,50,4,5,6,8,9,12,17,16,466]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TouchableNativeFeedback",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TouchableOpacity",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"TouchableHighlight",{enumerable:!0,get:function(){return o.default}});var u=t(r(d[1])),n=t(r(d[2])),c=t(r(d[3])),o=t(r(d[4]))},483,[3,484,486,487,488]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),u=o(r(d[3])),l=o(r(d[4])),c=o(r(d[5])),p=o(r(d[6])),s=o(r(d[7])),f=o(r(d[8])),b=o(r(d[9])),y=o(r(d[10])),O=t(r(d[11])),P=o(r(d[12]));function v(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);o&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,u)}return n}function j(t){for(var o=1;o=23},B.defaultProps=j({},y.default.defaultProps,{useForeground:!0,extraButtonProps:{rippleColor:null}}),B.propTypes=j({},y.default.publicPropTypes,{useForeground:P.default.bool,background:P.default.object,style:P.default.any})},484,[1,3,50,11,56,4,5,6,8,9,485,12,67]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TOUCHABLE_STATE=void 0;var o=s(r(d[2])),n=s(r(d[3])),u=s(r(d[4])),l=s(r(d[5])),p=s(r(d[6])),c=s(r(d[7])),h=s(r(d[8])),T=t(r(d[9])),f=r(d[10]),E=r(d[11]),y=s(r(d[12]));function v(t,s){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);s&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),o.push.apply(o,n)}return o}var O={UNDETERMINED:0,BEGAN:1,MOVED_OUTSIDE:2};e.TOUCHABLE_STATE=O;var P={accessible:y.default.bool,accessibilityLabel:y.default.node,accessibilityHint:y.default.string,hitSlop:y.default.shape({top:y.default.number,left:y.default.number,bottom:y.default.number,right:y.default.number}),disabled:y.default.bool,onPress:y.default.func,onPressIn:y.default.func,onPressOut:y.default.func,onLayout:y.default.func,onLongPress:y.default.func,nativeID:y.default.string,testID:y.default.string,delayPressIn:y.default.number,delayPressOut:y.default.number,delayLongPress:y.default.number},S={extraButtonProps:y.default.object,onStateChange:y.default.func},D=(function(t){function s(){var t,o;(0,u.default)(this,s);for(var n=arguments.length,l=new Array(n),h=0;h=0||Object.prototype.propertyIsEnumerable.call(t,l)&&(u[l]=t[l])}return u}function b(t,n){if(null==t)return{};var l,o,u={},f=Object.keys(t);for(o=0;o=0||(u[l]=t[l]);return u}function v(){return(v=Object.assign||function(t){for(var n=1;n1&&((0,K.dispatchNavigateBack)(n,o,l),!0)}.bind(this))}},{key:"componentDidMount",value:function(){var t=this,n=this.props,o=n.dispatch,l=n.user;this.emailVerifyCheckInterval=setInterval(function(){return t.checkEmailVerification()},5e3),G.Linking.addEventListener('url',this._handleUrl),G.DeviceEventEmitter.addListener('onDownloadAborted',this.handleDownloadAborted),G.DeviceEventEmitter.addListener('onDownloadStarted',this.handleDownloadStarted),G.DeviceEventEmitter.addListener('onDownloadUpdated',this.handleDownloadUpdated),G.DeviceEventEmitter.addListener('onDownloadCompleted',this.handleDownloadCompleted),this.syncGetInterval=setInterval(function(){t.setState({syncHashChanged:!1}),l&&l.has_verified_email&&G.NativeModules.UtilityModule.getSecureValue(J.default.KEY_WALLET_PASSWORD).then(function(n){o((0,H.doGetSync)(n,function(){return t.getUserSettings()}))})},3e5)}},{key:"componentWillUnmount",value:function(){G.DeviceEventEmitter.removeListener('onDownloadAborted',this.handleDownloadAborted),G.DeviceEventEmitter.removeListener('onDownloadStarted',this.handleDownloadStarted),G.DeviceEventEmitter.removeListener('onDownloadUpdated',this.handleDownloadUpdated),G.DeviceEventEmitter.removeListener('onDownloadCompleted',this.handleDownloadCompleted),G.AppState.removeEventListener('change',this._handleAppStateChange),G.BackHandler.removeEventListener('hardwareBackPress'),G.Linking.removeEventListener('url',this._handleUrl),this.emailVerifyCheckInterval>-1&&clearInterval(this.emailVerifyCheckInterval),this.syncGetInterval>-1&&clearInterval(this.syncGetInterval)}},{key:"componentDidUpdate",value:function(){var t=this.props,n=(t.dispatch,t.user),o=t.hashChanged;this.state.verifyPending&&this.emailVerifyCheckInterval>0&&n&&n.has_verified_email&&(clearInterval(this.emailVerifyCheckInterval),x.default.setItem(J.default.KEY_EMAIL_VERIFY_PENDING,'false'),this.setState({verifyPending:!1}),G.NativeModules.Firebase.track('email_verified',{email:n.primary_email}),X.default.show({title:__('Your email address was successfully verified.'),duration:X.default.LENGTH_LONG}),this.getUserSettings()),o&&!this.state.syncHashChanged&&(this.setState({syncHashChanged:!0}),this.getUserSettings())}},{key:"componentWillUpdate",value:function(t){var n=this,o=this.props.dispatch,l=t.toast,s=t.emailToVerify,c=t.emailVerifyPending,u=t.emailVerifyErrorMessage,f=t.user;if(l){var v,h=l.message,p=l.isError;if(!v&&h&&(v='toast'),'toast'===v){var E={title:h,duration:X.default.LENGTH_LONG};p&&(E.backgroundColor=j.default.Red),X.default.show(E)}o((0,B.doDismissToast)())}!f||c||this.state.emailVerifyDone||!s&&!u||x.default.getItem(J.default.KEY_SHOULD_VERIFY_EMAIL).then(function(t){if('true'===t){n.setState({emailVerifyDone:!0});var l=u?String(u):__('Your email address was successfully verified.');u||x.default.removeItem(J.default.KEY_FIRST_RUN_EMAIL),x.default.removeItem(J.default.KEY_SHOULD_VERIFY_EMAIL),o((0,B.doToast)({message:l}))}})}},{key:"render",value:function(){return u.default.createElement(le,null)}}]),f})(u.default.Component);de.supportedDisplayTypes=['toast'];var se=(0,P.connect)(function(t){return{backgroundPlayEnabled:(0,W.makeSelectClientSetting)(B.SETTINGS.BACKGROUND_PLAY_ENABLED)(t),hashChanged:(0,H.selectHashChanged)(t),keepDaemonRunning:(0,W.makeSelectClientSetting)(B.SETTINGS.KEEP_DAEMON_RUNNING)(t),nav:t.nav,toast:(0,B.selectToast)(t),drawerStack:(0,F.selectDrawerStack)(t),emailToVerify:(0,H.selectEmailToVerify)(t),emailVerifyPending:(0,H.selectEmailVerifyIsPending)(t),emailVerifyErrorMessage:(0,H.selectEmailVerifyErrorMessage)(t),showNsfw:(0,W.makeSelectClientSetting)(B.SETTINGS.SHOW_NSFW)(t),user:(0,H.selectUser)(t),fullscreenMode:(0,W.selectFullscreenMode)(t)}})(de);e.default=se},494,[3,4,5,6,8,9,12,495,675,720,756,763,765,886,911,922,938,940,944,946,948,951,954,957,972,978,1267,411,1286,1301,1328,378,16,496,401,408,757,409,883,410,723,674,493,502,670,739,950,1333,1335]); -__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]),c=r(d[2]),u=r(d[3]),o=r(d[4]),s=r(d[5]),l=t(r(d[6])),f=t(r(d[7])),k=(0,n.connect)(function(t){return{accessToken:(0,u.selectAccessToken)(t),currentRoute:(0,s.selectCurrentRoute)(t),drawerStack:(0,s.selectDrawerStack)(t),userEmail:(0,u.selectUserEmail)(t)}},function(t){return{fetchAccessToken:function(){return t((0,u.doFetchAccessToken)())},notify:function(n){return t((0,c.doToast)(n))},pushDrawerStack:function(){return t((0,o.doPushDrawerStack)(f.default.DRAWER_ROUTE_ABOUT))},popDrawerStack:function(){return t((0,o.doPopDrawerStack)())},setPlayerVisible:function(){return t((0,o.doSetPlayerVisible)(!1))}}})(l.default);e.default=k},495,[3,378,401,408,492,496,497,493]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.selectCurrentRoute=e.selectLastRouteInStack=e.selectLastDrawerRoute=e.makeSelectPlayerVisible=e.selectPlayerVisibleByUri=e.selectIsPlayerVisible=e.selectDrawerStack=e.selectState=void 0;var t=r(d[0]),c=function(t){return t.drawer||{}};e.selectState=c;var l=(0,t.createSelector)(c,function(t){return t.stack});e.selectDrawerStack=l;var n=(0,t.createSelector)(c,function(t){return t.playerVisible});e.selectIsPlayerVisible=n;var s=(0,t.createSelector)(c,function(t){return t.playerVisibleByUri});e.selectPlayerVisibleByUri=s;e.makeSelectPlayerVisible=function(c){return(0,t.createSelector)(s,function(t){return!!t&&t[c]})};var u=(0,t.createSelector)(c,function(t){return t.stack.length?t.stack[t.stack.length-1]:null});e.selectLastDrawerRoute=u;var o=(0,t.createSelector)(c,function(t){return t.lastRouteInStack});e.selectLastRouteInStack=o;var S=(0,t.createSelector)(c,function(t){return t.currentRoute});e.selectCurrentRoute=S},496,[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 l=t(r(d[1])),n=t(r(d[2])),u=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),y=r(d[8]),p=r(d[9]),h=t(r(d[10])),E=t(r(d[11])),w=t(r(d[12])),_=t(r(d[13])),v=(function(t){function v(){var t,n;(0,l.default)(this,v);for(var s=arguments.length,f=new Array(s),p=0;p0&&f.default.createElement(y.View,{style:_.default.verticalRow},f.default.createElement(y.View,{style:_.default.innerRow},f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{style:_.default.text},__('Connected email'))),f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{selectable:!0,style:_.default.valueText},c))),f.default.createElement(y.View,null,f.default.createElement(E.default,{style:_.default.listLink,href:"http://lbry.com/list/edit/"+l,text:__('Update mailing preferences')}))),f.default.createElement(y.View,{style:_.default.row},f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{style:_.default.text},__('App version'))),f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{selectable:!0,style:_.default.valueText},this.state.appVersion))),f.default.createElement(y.View,{style:_.default.row},f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{style:_.default.text},__('LBRY SDK'))),f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{selectable:!0,style:_.default.valueText},v?v.lbrynet_version:h))),f.default.createElement(y.View,{style:_.default.row},f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{style:_.default.text},__('Platform'))),f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{selectable:!0,style:_.default.valueText},v?v.platform:h))),f.default.createElement(y.View,{style:_.default.row},f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{style:_.default.text},__('Installation ID')),f.default.createElement(y.Text,{selectable:!0,style:_.default.lineValueText},this.state.lbryId?this.state.lbryId:h))),f.default.createElement(y.View,{style:_.default.row},f.default.createElement(y.View,{style:_.default.col},f.default.createElement(y.Text,{style:_.default.text},__('Logs'))),f.default.createElement(y.View,{style:_.default.col},f.default.createElement(E.default,{style:_.default.listLink,text:__('Send log'),onPress:function(){y.NativeModules.UtilityModule&&y.NativeModules.UtilityModule.shareLogFile(function(t){t&&o(t)})}})))))}}]),v})(f.default.PureComponent);e.default=v},497,[3,4,5,6,8,9,12,401,16,410,493,498,500,673]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=r(d[2]),o=n(r(d[3])),f=(0,t.connect)(null,function(n){return{notify:function(t){return n((0,u.doToast)(t))}}})(o.default);e.default=f},498,[3,378,401,499]); -__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])),s=t(r(d[2])),p=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),o=t(r(d[6])),f=t(r(d[7])),c=r(d[8]),h=(function(t){function h(t){var s;return(0,n.default)(this,h),(s=(0,p.default)(this,(0,l.default)(h).call(this,t))).handlePress=function(){var t=s.props,n=t.error,p=t.href,l=t.navigation,u=t.notify;l&&p.startsWith('#')?l.navigate(p.substring(1)):(s.props.effectOnTap&&s.addTappedStyle(),c.Linking.openURL(p).then(function(){return setTimeout(function(){s.setState({tappedStyle:!1})},2e3)}).catch(function(t){u({message:n,isError:!0}),s.setState({tappedStyle:!1})}))},s.state={tappedStyle:!1},s.addTappedStyle=s.addTappedStyle.bind((0,u.default)(s)),s}return(0,o.default)(h,t),(0,s.default)(h,[{key:"addTappedStyle",value:function(){var t=this;this.setState({tappedStyle:!0}),setTimeout(function(){t.setState({tappedStyle:!1})},2e3)}},{key:"render",value:function(){var t=this.props,n=t.ellipsizeMode,s=t.numberOfLines,p=t.onPress,l=t.style,u=t.text,o=[];return l&&(l.length?o=o.concat(l):o.push(l)),this.props.effectOnTap&&this.state.tappedStyle&&o.push(this.props.effectOnTap),f.default.createElement(c.Text,{style:o,numberOfLines:s,ellipsizeMode:n,onPress:p||this.handlePress},u)}}]),h})(f.default.PureComponent);e.default=h},499,[3,4,5,6,8,7,9,12,16]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=n(r(d[2])),l=(0,t.connect)(null,function(n){return{}})(u.default);e.default=l},500,[3,378,501]); -__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])),f=t(r(d[3])),n=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),o=r(d[7]),y=(t(r(d[8])),t(r(d[9]))),h=t(r(d[10])),p='ios'===o.Platform.OS?44:56,v=o.Animated.Text,E=(function(t){function E(){return(0,l.default)(this,E),(0,f.default)(this,(0,n.default)(E).apply(this,arguments))}return(0,s.default)(E,t),(0,u.default)(E,[{key:"render",value:function(){var t=this.props,l=t.title,u=t.onBackPressed,f=[h.default.container,{height:p}];return c.default.createElement(o.View,{style:f},c.default.createElement(o.View,{style:h.default.flexOne},c.default.createElement(o.View,{style:h.default.header},c.default.createElement(o.View,{style:h.default.title},c.default.createElement(v,{numberOfLines:1,style:h.default.titleText,accessibilityTraits:"header"},l)),c.default.createElement(y.default,{name:"arrow-left",style:h.default.left,size:24,iconStyle:h.default.backIcon,onPress:u}))))}}]),E})(c.default.PureComponent);e.default=E},501,[3,4,5,6,8,9,12,16,502,670,672]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FA5Style",{enumerable:!0,get:function(){return o.FA5Style}}),e.getImageSource=e.ToolbarAndroid=e.TabBarItemIOS=e.TabBarItem=e.Button=e.default=void 0;var o=r(d[1]),u=t(r(d[2])),n=t(r(d[3])),b=(0,o.createFA5iconSet)(u.default,n.default,!1),l=b;e.default=l;var I=b.Button;e.Button=I;var c=b.TabBarItem;e.TabBarItem=c;var v=b.TabBarItemIOS;e.TabBarItemIOS=v;var B=b.ToolbarAndroid;e.ToolbarAndroid=B;var S=b.getImageSource;e.getImageSource=S},502,[3,503,668,669]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createFA5iconSet=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=Object.keys(o),s="FontAwesome5"+(f?'Pro':'Free');function v(l,o){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,v=l,c="FontAwesome5_"+(f?"Pro_"+v:v)+".ttf";return'Brands'===v&&(v='Regular',c='FontAwesome5_Brands.ttf'),{fontFamily:u+"-"+v,fontFile:c,fontStyle:n.Platform.select({ios:{fontWeight:o},default:{}}),glyphMap:t}}var c=v('Brands','400','FontAwesome5Brands'),h=v('Light','300'),F=v('Regular','400'),b=v('Solid','900');return(0,l.default)({brand:c,light:h,regular:F,solid:b},{defaultStyle:'regular',fallbackFamily:function(t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},v=Object.keys(t);if(0===v.length)throw new Error('You need to add at least one style');var s=b({defaultStyle:v[0],fallbackFamily:function(){return v[0]},glyphValidator:function(){return!0}},n),S=v.reduce(function(n,u){var o=t[u];return n[u]=(0,h.default)(o.glyphMap||{},o.fontFamily||'',o.fontFile||'',o.fontStyle||{}),n},{});function j(t){return Object.keys(t).reduce(function(n,u){return-1!==v.indexOf(u)&&!0===t[u]?u:n},s.defaultStyle)}function I(t){var n=t.name,u=j(t);if(s.glyphValidator(n,u))return S[u];var o=s.fallbackFamily(n);return-1===v.indexOf(o)?s.defaultStyle:S[o]}function P(t){return Object.keys(t).reduce(function(n,u){return-1===v.indexOf(u)&&(n[u]=t[u]),n},{})}function w(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'';return-1===v.indexOf(t)?S[s.defaultStyle]:n?I((0,y.default)({name:n},t,!0)):S[j((0,y.default)({},t,!0))]}function F(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'',n=(function(n){function y(){return(0,u.default)(this,y),(0,l.default)(this,(0,f.default)(y).apply(this,arguments))}return(0,c.default)(y,n),(0,o.default)(y,[{key:"render",value:function(){var n,u,o=I(this.props),l=(n=o,(u=t).length>0?n[u]:n),f=P(this.props);return p.default.createElement(l,f)}}]),y})(p.PureComponent);return n.propTypes=v.reduce(function(t,n){return t[n]=O.default.bool,t},{}),n.defaultProps=v.reduce(function(t,n){return t[n]=!1,t},{}),n}var T=F();return T.Button=F('Button'),T.TabBarItem=F('TabBarItem'),T.TabBarItemIOS=F('TabBarItemIOS'),T.ToolbarAndroid=F('ToolbarAndroid'),T.getStyledIconSet=w,T.getImageSource=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.DEFAULT_ICON_SIZE,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.DEFAULT_ICON_COLOR;return w(arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.defaultStyle,t).getImageSource(t,n,u)},T.getFontFamily=function(){return w(arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaultStyle).getFontFamily()},T.getRawGlyphMap=function(){return w(arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.defaultStyle).getRawGlyphMap()},T.hasIcon=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.defaultStyle;return s.glyphValidator(t,n)},T};var u=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),f=n(r(d[5])),c=n(r(d[6])),y=n(r(d[7])),p=t(r(d[8])),O=n(r(d[9])),h=t(r(d[10]));function v(t,n){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),u.push.apply(u,o)}return u}function b(t){for(var n=1;n1&&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);++x0});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;h0;){if(o=Dt(u.slice(0,n).join('-')))return o;if(s&&s.length>=n&&P(u,s,!0)>=n-1)break;n--}h++}return gt}function Dt(t){var n=null;if(!wt[t]&&void 0!==m&&m&&m.exports)try{n=gt._abbr,r('./locale/'+t),Yt(n)}catch(t){}return wt[t]}function Yt(t,n){var s;return t&&((s=l(n)?Tt(t):Ot(t,n))?gt=s:'undefined'!=typeof console&&console.warn&&console.warn('Locale '+t+' not found. Did you forget to load it?')),gt._abbr}function Ot(t,n){if(null!==n){var s,o=pt;if(n.abbr=t,null!=wt[t])U('defineLocaleOverride',"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=wt[t]._config;else if(null!=n.parentLocale)if(null!=wt[n.parentLocale])o=wt[n.parentLocale]._config;else{if(null==(s=Dt(n.parentLocale)))return Mt[n.parentLocale]||(Mt[n.parentLocale]=[]),Mt[n.parentLocale].push({name:t,config:n}),null;o=s._config}return wt[t]=new N(L(o,n)),Mt[t]&&Mt[t].forEach(function(t){Ot(t.name,t.config)}),Yt(t),wt[t]}return delete wt[t],null}function Tt(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return gt;if(!o(t)){if(n=Dt(t))return n;t=[t]}return St(t)}function bt(t){var n,s=t._a;return s&&-2===w(t).overflow&&(n=s[Oe]<0||s[Oe]>11?Oe:s[Te]<1||s[Te]>Ee(s[Ye],s[Oe])?Te:s[be]<0||s[be]>24||24===s[be]&&(0!==s[xe]||0!==s[Pe]||0!==s[We])?be:s[xe]<0||s[xe]>59?xe:s[Pe]<0||s[Pe]>59?Pe:s[We]<0||s[We]>999?We:-1,w(t)._overflowDayOfYear&&(nTe)&&(n=Te),w(t)._overflowWeeks&&-1===n&&(n=Ce),w(t)._overflowWeekday&&-1===n&&(n=He),w(t).overflow=n),t}function xt(t,n,s){return null!=t?t:null!=n?n:s}function Pt(t){var n=new Date(s.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Wt(t){var n,s,o,u,h,l=[];if(!t._d){for(o=Pt(t),t._w&&null==t._a[Te]&&null==t._a[Oe]&&Ct(t),null!=t._dayOfYear&&(h=xt(t._a[Ye],o[Ye]),(t._dayOfYear>Re(h)||0===t._dayOfYear)&&(w(t)._overflowDayOfYear=!0),s=Xe(h,0,t._dayOfYear),t._a[Oe]=s.getUTCMonth(),t._a[Te]=s.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=l[n]=o[n];for(;n<7;n++)t._a[n]=l[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[be]&&0===t._a[xe]&&0===t._a[Pe]&&0===t._a[We]&&(t._nextDay=!0,t._a[be]=0),t._d=(t._useUTC?Xe:Qe).apply(null,l),u=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[be]=24),t._w&&void 0!==t._w.d&&t._w.d!==u&&(w(t).weekdayMismatch=!0)}}function Ct(t){var n,s,o,u,h,l,c,f;if(null!=(n=t._w).GG||null!=n.W||null!=n.E)h=1,l=4,s=xt(n.GG,t._a[Ye],tt(en(),1,4).year),o=xt(n.W,1),((u=xt(n.E,1))<1||u>7)&&(f=!0);else{h=t._locale._week.dow,l=t._locale._week.doy;var _=tt(en(),h,l);s=xt(n.gg,t._a[Ye],_.year),o=xt(n.w,_.week),null!=n.d?((u=n.d)<0||u>6)&&(f=!0):null!=n.e?(u=n.e+h,(n.e<0||n.e>6)&&(f=!0)):u=h}o<1||o>nt(s,h,l)?w(t)._overflowWeeks=!0:null!=f?w(t)._overflowWeekday=!0:(c=et(s,o,u,h,l),t._a[Ye]=c.year,t._dayOfYear=c.dayOfYear)}var Ht=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Rt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ut=/Z|[+-]\d\d(?::?\d\d)?/,Ft=[['YYYYYY-MM-DD',/[+-]\d{6}-\d\d-\d\d/],['YYYY-MM-DD',/\d{4}-\d\d-\d\d/],['GGGG-[W]WW-E',/\d{4}-W\d\d-\d/],['GGGG-[W]WW',/\d{4}-W\d\d/,!1],['YYYY-DDD',/\d{4}-\d{3}/],['YYYY-MM',/\d{4}-\d\d/,!1],['YYYYYYMMDD',/[+-]\d{10}/],['YYYYMMDD',/\d{8}/],['GGGG[W]WWE',/\d{4}W\d{3}/],['GGGG[W]WW',/\d{4}W\d{2}/,!1],['YYYYDDD',/\d{7}/]],Lt=[['HH:mm:ss.SSSS',/\d\d:\d\d:\d\d\.\d+/],['HH:mm:ss,SSSS',/\d\d:\d\d:\d\d,\d+/],['HH:mm:ss',/\d\d:\d\d:\d\d/],['HH:mm',/\d\d:\d\d/],['HHmmss.SSSS',/\d\d\d\d\d\d\.\d+/],['HHmmss,SSSS',/\d\d\d\d\d\d,\d+/],['HHmmss',/\d\d\d\d\d\d/],['HHmm',/\d\d\d\d/],['HH',/\d\d/]],Nt=/^\/?Date\((\-?\d+)/i;function Gt(t){var n,s,o,u,h,l,c=t._i,f=Ht.exec(c)||Rt.exec(c);if(f){for(w(t).iso=!0,n=0,s=Ft.length;n0&&w(t).unusedInput.push(l),c=c.slice(c.indexOf(o)+o.length),_+=o.length),B[h]?(o?w(t).empty=!1:w(t).unusedTokens.push(h),De(h,o,t)):t._strict&&!o&&w(t).unusedTokens.push(h);w(t).charsLeftOver=f-_,c.length>0&&w(t).unusedInput.push(c),t._a[be]<=12&&!0===w(t).bigHour&&t._a[be]>0&&(w(t).bigHour=void 0),w(t).parsedDateParts=t._a.slice(0),w(t).meridiem=t._meridiem,t._a[be]=qt(t._locale,t._a[be],t._meridiem),Wt(t),bt(t)}else Zt(t);else Gt(t)}function qt(t,n,s){var o;return null==s?n:null!=t.meridiemHour?t.meridiemHour(n,s):null!=t.isPM?((o=t.isPM(s))&&n<12&&(n+=12),o||12!==n||(n=0),n):n}function Jt(t){var n,s,o,u,h;if(0===t._f.length)return w(t).invalidFormat=!0,void(t._d=new Date(NaN));for(u=0;uthis?this:t:k()});function sn(t,n){var s,u;if(1===n.length&&o(n[0])&&(n=n[0]),!n.length)return en();for(s=n[0],u=1;u=0?new Date(t+400,n,s)-Hn:new Date(t,n,s).valueOf()}function Fn(t,n,s){return t<100&&t>=0?Date.UTC(t+400,n,s)-Hn:Date.UTC(t,n,s)}function Ln(t,n){Q(0,[t,t.length],0,n)}function Nn(t,n,s,o,u){var h;return null==t?tt(this,o,u).year:(n>(h=nt(t,o,u))&&(n=h),Gn.call(this,t,n,s,o,u))}function Gn(t,n,s,o,u){var h=et(t,n,s,o,u),l=Xe(h.year,0,h.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}Q(0,['gg',2],0,function(){return this.weekYear()%100}),Q(0,['GG',2],0,function(){return this.isoWeekYear()%100}),Ln('gggg','weekYear'),Ln('ggggg','weekYear'),Ln('GGGG','isoWeekYear'),Ln('GGGGG','isoWeekYear'),V('weekYear','gg'),V('isoWeekYear','GG'),j('weekYear',1),j('isoWeekYear',1),ve('G',fe),ve('g',fe),ve('GG',ae,ne),ve('gg',ae,ne),ve('GGGG',le,ie),ve('gggg',le,ie),ve('GGGGG',de,re),ve('ggggg',de,re),Se(['gggg','ggggg','GGGG','GGGGG'],function(t,n,s,o){n[o.substr(0,2)]=x(t)}),Se(['gg','GG'],function(t,n,o,u){n[u]=s.parseTwoDigitYear(t)}),Q('Q',0,'Qo','quarter'),V('quarter','Q'),j('quarter',7),ve('Q',te),ke('Q',function(t,n){n[Oe]=3*(x(t)-1)}),Q('D',['DD',2],'Do','date'),V('date','D'),j('date',9),ve('D',ae),ve('DD',ae,ne),ve('Do',function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient}),ke(['D','DD'],Te),ke('Do',function(t,n){n[Te]=x(t.match(ae)[0])});var Vn=Ne('Date',!0);Q('DDD',['DDDD',3],'DDDo','dayOfYear'),V('dayOfYear','DDD'),j('dayOfYear',4),ve('DDD',he),ve('DDDD',se),ke(['DDD','DDDD'],function(t,n,s){s._dayOfYear=x(t)}),Q('m',['mm',2],0,'minute'),V('minute','m'),j('minute',14),ve('m',ae),ve('mm',ae,ne),ke(['m','mm'],xe);var En=Ne('Minutes',!1);Q('s',['ss',2],0,'second'),V('second','s'),j('second',15),ve('s',ae),ve('ss',ae,ne),ke(['s','ss'],Pe);var In,An=Ne('Seconds',!1);for(Q('S',0,0,function(){return~~(this.millisecond()/100)}),Q(0,['SS',2],0,function(){return~~(this.millisecond()/10)}),Q(0,['SSS',3],0,'millisecond'),Q(0,['SSSS',4],0,function(){return 10*this.millisecond()}),Q(0,['SSSSS',5],0,function(){return 100*this.millisecond()}),Q(0,['SSSSSS',6],0,function(){return 1e3*this.millisecond()}),Q(0,['SSSSSSS',7],0,function(){return 1e4*this.millisecond()}),Q(0,['SSSSSSSS',8],0,function(){return 1e5*this.millisecond()}),Q(0,['SSSSSSSSS',9],0,function(){return 1e6*this.millisecond()}),V('millisecond','ms'),j('millisecond',16),ve('S',he,te),ve('SS',he,ne),ve('SSS',he,se),In='SSSS';In.length<=9;In+='S')ve(In,ce);function jn(t,n){n[We]=x(1e3*('0.'+t))}for(In='S';In.length<=9;In+='S')ke(In,jn);var Zn=Ne('Milliseconds',!1);Q('z',0,0,'zoneAbbr'),Q('zz',0,0,'zoneName');var zn=O.prototype;function $n(t){return t}zn.add=Dn,zn.calendar=function(t,n){var o=t||en(),u=fn(o,this).startOf('day'),h=s.calendarFormat(this,u)||'sameElse',l=n&&(F(n[h])?n[h].call(this,o):n[h]);return this.format(l||this.localeData().calendar(h,this,en(o)))},zn.clone=function(){return new O(this)},zn.diff=function(t,n,s){var o,u,h;if(!this.isValid())return NaN;if(!(o=fn(t,this)).isValid())return NaN;switch(u=6e4*(o.utcOffset()-this.utcOffset()),n=E(n)){case'year':h=On(this,o)/12;break;case'month':h=On(this,o);break;case'quarter':h=On(this,o)/3;break;case'second':h=(this-o)/1e3;break;case'minute':h=(this-o)/6e4;break;case'hour':h=(this-o)/36e5;break;case'day':h=(this-o-u)/864e5;break;case'week':h=(this-o-u)/6048e5;break;default:h=this-o}return s?h:b(h)},zn.endOf=function(t){var n;if(void 0===(t=E(t))||'millisecond'===t||!this.isValid())return this;var o=this._isUTC?Fn:Un;switch(t){case'year':n=o(this.year()+1,0,1)-1;break;case'quarter':n=o(this.year(),this.month()-this.month()%3+3,1)-1;break;case'month':n=o(this.year(),this.month()+1,1)-1;break;case'week':n=o(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case'isoWeek':n=o(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case'day':case'date':n=o(this.year(),this.month(),this.date()+1)-1;break;case'hour':n=this._d.valueOf(),n+=Cn-Rn(n+(this._isUTC?0:this.utcOffset()*Wn),Cn)-1;break;case'minute':n=this._d.valueOf(),n+=Wn-Rn(n,Wn)-1;break;case'second':n=this._d.valueOf(),n+=Pn-Rn(n,Pn)-1}return this._d.setTime(n),s.updateOffset(this,!0),this},zn.format=function(t){t||(t=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var n=K(this,t);return this.localeData().postformat(n)},zn.from=function(t,n){return this.isValid()&&(T(t)&&t.isValid()||en(t).isValid())?vn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},zn.fromNow=function(t){return this.from(en(),t)},zn.to=function(t,n){return this.isValid()&&(T(t)&&t.isValid()||en(t).isValid())?vn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},zn.toNow=function(t){return this.to(en(),t)},zn.get=function(t){return F(this[t=E(t)])?this[t]():this},zn.invalidAt=function(){return w(this).overflow},zn.isAfter=function(t,n){var s=T(t)?t:en(t);return!(!this.isValid()||!s.isValid())&&('millisecond'===(n=E(n)||'millisecond')?this.valueOf()>s.valueOf():s.valueOf()9999?K(s,n?'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'):F(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace('Z',K(s,'Z')):K(s,n?'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYY-MM-DD[T]HH:mm:ss.SSSZ')},zn.inspect=function(){if(!this.isValid())return'moment.invalid(/* '+this._i+' */)';var t='moment',n='';this.isLocal()||(t=0===this.utcOffset()?'moment.utc':'moment.parseZone',n='Z');var s='['+t+'("]',o=0<=this.year()&&this.year()<=9999?'YYYY':'YYYYYY',u=n+'[")]';return this.format(s+o+'-MM-DD[T]HH:mm:ss.SSS'+u)},zn.toJSON=function(){return this.isValid()?this.toISOString():null},zn.toString=function(){return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ')},zn.unix=function(){return Math.floor(this.valueOf()/1e3)},zn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},zn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},zn.year=Le,zn.isLeapYear=function(){return Ue(this.year())},zn.weekYear=function(t){return Nn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},zn.isoWeekYear=function(t){return Nn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},zn.quarter=zn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},zn.month=$e,zn.daysInMonth=function(){return Ee(this.year(),this.month())},zn.week=zn.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),'d')},zn.isoWeek=zn.isoWeeks=function(t){var n=tt(this,1,4).week;return null==t?n:this.add(7*(t-n),'d')},zn.weeksInYear=function(){var t=this.localeData()._week;return nt(this.year(),t.dow,t.doy)},zn.isoWeeksInYear=function(){return nt(this.year(),1,4)},zn.date=Vn,zn.day=zn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=st(t,this.localeData()),this.add(t-n,'d')):n},zn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,'d')},zn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=it(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},zn.dayOfYear=function(t){var n=Math.round((this.clone().startOf('day')-this.clone().startOf('year'))/864e5)+1;return null==t?n:this.add(t-n,'d')},zn.hour=zn.hours=vt,zn.minute=zn.minutes=En,zn.second=zn.seconds=An,zn.millisecond=zn.milliseconds=Zn,zn.utcOffset=function(t,n,o){var u,h=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if('string'==typeof t){if(null===(t=cn(_e,t)))return this}else Math.abs(t)<16&&!o&&(t*=60);return!this._isUTC&&n&&(u=mn(this)),this._offset=t,this._isUTC=!0,null!=u&&this.add(u,'m'),h!==t&&(!n||this._changeInProgress?Sn(this,vn(t-h,'m'),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?h:mn(this)},zn.utc=function(t){return this.utcOffset(0,t)},zn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(mn(this),'m')),this},zn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if('string'==typeof this._i){var t=cn(me,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},zn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?en(t).utcOffset():0,(this.utcOffset()-t)%60==0)},zn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},zn.isLocal=function(){return!!this.isValid()&&!this._isUTC},zn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},zn.isUtc=_n,zn.isUTC=_n,zn.zoneAbbr=function(){return this._isUTC?'UTC':''},zn.zoneName=function(){return this._isUTC?'Coordinated Universal Time':''},zn.dates=C('dates accessor is deprecated. Use date instead.',Vn),zn.months=C('months accessor is deprecated. Use month instead',$e),zn.years=C('years accessor is deprecated. Use year instead',Le),zn.zone=C('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',function(t,n){return null!=t?('string'!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()}),zn.isDSTShifted=C('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var t={};if(D(t,this),(t=Qt(t))._a){var n=t._isUTC?p(t._a):en(t._a);this._isDSTShifted=this.isValid()&&P(t._a,n.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var qn=N.prototype;function Jn(t,n,s,o){var u=Tt(),h=p().set(o,n);return u[s](h,t)}function Bn(t,n,s){if(c(t)&&(n=t,t=void 0),t=t||'',null!=n)return Jn(t,n,s,'month');var o,u=[];for(o=0;o<12;o++)u[o]=Jn(t,o,s,'month');return u}function Qn(t,n,s,o){'boolean'==typeof t?(c(n)&&(s=n,n=void 0),n=n||''):(s=n=t,t=!1,c(n)&&(s=n,n=void 0),n=n||'');var u,h=Tt(),l=t?h._week.dow:0;if(null!=s)return Jn(n,(s+l)%7,o,'day');var f=[];for(u=0;u<7;u++)f[u]=Jn(n,(u+l)%7,o,'day');return f}qn.calendar=function(t,n,s){var o=this._calendar[t]||this._calendar.sameElse;return F(o)?o.call(n,s):o},qn.longDateFormat=function(t){var n=this._longDateFormat[t],s=this._longDateFormat[t.toUpperCase()];return n||!s?n:(this._longDateFormat[t]=s.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},qn.invalidDate=function(){return this._invalidDate},qn.ordinal=function(t){return this._ordinal.replace('%d',t)},qn.preparse=$n,qn.postformat=$n,qn.relativeTime=function(t,n,s,o){var u=this._relativeTime[s];return F(u)?u(t,n,s,o):u.replace(/%d/i,t)},qn.pastFuture=function(t,n){var s=this._relativeTime[t>0?'future':'past'];return F(s)?s(n):s.replace(/%s/i,n)},qn.set=function(t){var n,s;for(s in t)F(n=t[s])?this[s]=n:this['_'+s]=n;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+'|'+/\d{1,2}/.source)},qn.months=function(t,n){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ie).test(n)?'format':'standalone'][t.month()]:o(this._months)?this._months:this._months.standalone},qn.monthsShort=function(t,n){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ie.test(n)?'format':'standalone'][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},qn.monthsParse=function(t,n,s){var o,u,h;if(this._monthsParseExact)return Ze.call(this,t,n,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(u=p([2e3,o]),s&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp('^'+this.months(u,'').replace('.','')+'$','i'),this._shortMonthsParse[o]=new RegExp('^'+this.monthsShort(u,'').replace('.','')+'$','i')),s||this._monthsParse[o]||(h='^'+this.months(u,'')+'|^'+this.monthsShort(u,''),this._monthsParse[o]=new RegExp(h.replace('.',''),'i')),s&&'MMMM'===n&&this._longMonthsParse[o].test(t))return o;if(s&&'MMM'===n&&this._shortMonthsParse[o].test(t))return o;if(!s&&this._monthsParse[o].test(t))return o}},qn.monthsRegex=function(t){return this._monthsParseExact?(y(this,'_monthsRegex')||Be.call(this),t?this._monthsStrictRegex:this._monthsRegex):(y(this,'_monthsRegex')||(this._monthsRegex=Je),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},qn.monthsShortRegex=function(t){return this._monthsParseExact?(y(this,'_monthsRegex')||Be.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(y(this,'_monthsShortRegex')||(this._monthsShortRegex=qe),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},qn.week=function(t){return tt(t,this._week.dow,this._week.doy).week},qn.firstDayOfYear=function(){return this._week.doy},qn.firstDayOfWeek=function(){return this._week.dow},qn.weekdays=function(t,n){var s=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?'format':'standalone'];return!0===t?rt(s,this._week.dow):t?s[t.day()]:s},qn.weekdaysMin=function(t){return!0===t?rt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},qn.weekdaysShort=function(t){return!0===t?rt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},qn.weekdaysParse=function(t,n,s){var o,u,h;if(this._weekdaysParseExact)return ht.call(this,t,n,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(u=p([2e3,1]).day(o),s&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp('^'+this.weekdays(u,'').replace('.','\\.?')+'$','i'),this._shortWeekdaysParse[o]=new RegExp('^'+this.weekdaysShort(u,'').replace('.','\\.?')+'$','i'),this._minWeekdaysParse[o]=new RegExp('^'+this.weekdaysMin(u,'').replace('.','\\.?')+'$','i')),this._weekdaysParse[o]||(h='^'+this.weekdays(u,'')+'|^'+this.weekdaysShort(u,'')+'|^'+this.weekdaysMin(u,''),this._weekdaysParse[o]=new RegExp(h.replace('.',''),'i')),s&&'dddd'===n&&this._fullWeekdaysParse[o].test(t))return o;if(s&&'ddd'===n&&this._shortWeekdaysParse[o].test(t))return o;if(s&&'dd'===n&&this._minWeekdaysParse[o].test(t))return o;if(!s&&this._weekdaysParse[o].test(t))return o}},qn.weekdaysRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ft.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(y(this,'_weekdaysRegex')||(this._weekdaysRegex=lt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},qn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ft.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(y(this,'_weekdaysShortRegex')||(this._weekdaysShortRegex=dt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},qn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(y(this,'_weekdaysRegex')||ft.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(y(this,'_weekdaysMinRegex')||(this._weekdaysMinRegex=ct),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},qn.isPM=function(t){return'p'===(t+'').toLowerCase().charAt(0)},qn.meridiem=function(t,n,s){return t>11?s?'pm':'PM':s?'am':'AM'},Yt('en',{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var n=t%10;return t+(1===x(t%100/10)?'th':1===n?'st':2===n?'nd':3===n?'rd':'th')}}),s.lang=C('moment.lang is deprecated. Use moment.locale instead.',Yt),s.langData=C('moment.langData is deprecated. Use moment.localeData instead.',Tt);var Xn=Math.abs;function Kn(t,n,s,o){var u=vn(n,s);return t._milliseconds+=o*u._milliseconds,t._days+=o*u._days,t._months+=o*u._months,t._bubble()}function es(t){return t<0?Math.floor(t):Math.ceil(t)}function ts(t){return 4800*t/146097}function ns(t){return 146097*t/4800}function ss(t){return function(){return this.as(t)}}var is=ss('ms'),rs=ss('s'),as=ss('m'),os=ss('h'),us=ss('d'),hs=ss('w'),ls=ss('M'),ds=ss('Q'),cs=ss('y');function fs(t){return function(){return this.isValid()?this._data[t]:NaN}}var ms=fs('milliseconds'),_s=fs('seconds'),ys=fs('minutes'),gs=fs('hours'),vs=fs('days'),ps=fs('months'),ws=fs('years');var Ms=Math.round,ks={ss:44,s:45,m:45,h:22,d:26,M:11};function Ss(t,n,s,o,u){return u.relativeTime(n||1,!!s,t,o)}function Ds(t,n,s){var o=vn(t).abs(),u=Ms(o.as('s')),h=Ms(o.as('m')),l=Ms(o.as('h')),c=Ms(o.as('d')),f=Ms(o.as('M')),_=Ms(o.as('y')),y=u<=ks.ss&&['s',u]||u0,y[4]=s,Ss.apply(null,y)}var Ys=Math.abs;function Os(t){return(t>0)-(t<0)||+t}function Ts(){if(!this.isValid())return this.localeData().invalidDate();var t,n,s=Ys(this._milliseconds)/1e3,o=Ys(this._days),u=Ys(this._months);n=b((t=b(s/60))/60),s%=60,t%=60;var h=b(u/12),l=u%=12,c=o,f=n,_=t,y=s?s.toFixed(3).replace(/\.?0+$/,''):'',v=this.asSeconds();if(!v)return'P0D';var p=v<0?'-':'',w=Os(this._months)!==Os(v)?'-':'',M=Os(this._days)!==Os(v)?'-':'',k=Os(this._milliseconds)!==Os(v)?'-':'';return p+'P'+(h?w+h+'Y':'')+(l?w+l+'M':'')+(c?M+c+'D':'')+(f||_||y?'T':'')+(f?k+f+'H':'')+(_?k+_+'M':'')+(y?k+y+'S':'')}var bs=on.prototype;return bs.isValid=function(){return this._isValid},bs.abs=function(){var t=this._data;return this._milliseconds=Xn(this._milliseconds),this._days=Xn(this._days),this._months=Xn(this._months),t.milliseconds=Xn(t.milliseconds),t.seconds=Xn(t.seconds),t.minutes=Xn(t.minutes),t.hours=Xn(t.hours),t.months=Xn(t.months),t.years=Xn(t.years),this},bs.add=function(t,n){return Kn(this,t,n,1)},bs.subtract=function(t,n){return Kn(this,t,n,-1)},bs.as=function(t){if(!this.isValid())return NaN;var n,s,o=this._milliseconds;if('month'===(t=E(t))||'quarter'===t||'year'===t)switch(n=this._days+o/864e5,s=this._months+ts(n),t){case'month':return s;case'quarter':return s/3;case'year':return s/12}else switch(n=this._days+Math.round(ns(this._months)),t){case'week':return n/7+o/6048e5;case'day':return n+o/864e5;case'hour':return 24*n+o/36e5;case'minute':return 1440*n+o/6e4;case'second':return 86400*n+o/1e3;case'millisecond':return Math.floor(864e5*n)+o;default:throw new Error('Unknown unit '+t)}},bs.asMilliseconds=is,bs.asSeconds=rs,bs.asMinutes=as,bs.asHours=os,bs.asDays=us,bs.asWeeks=hs,bs.asMonths=ls,bs.asQuarters=ds,bs.asYears=cs,bs.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},bs._bubble=function(){var t,n,s,o,u,h=this._milliseconds,l=this._days,c=this._months,f=this._data;return h>=0&&l>=0&&c>=0||h<=0&&l<=0&&c<=0||(h+=864e5*es(ns(c)+l),l=0,c=0),f.milliseconds=h%1e3,t=b(h/1e3),f.seconds=t%60,n=b(t/60),f.minutes=n%60,s=b(n/60),f.hours=s%24,c+=u=b(ts(l+=b(s/24))),l-=es(ns(u)),o=b(c/12),c%=12,f.days=l,f.months=c,f.years=o,this},bs.clone=function(){return vn(this)},bs.get=function(t){return t=E(t),this.isValid()?this[t+'s']():NaN},bs.milliseconds=ms,bs.seconds=_s,bs.minutes=ys,bs.hours=gs,bs.days=vs,bs.weeks=function(){return b(this.days()/7)},bs.months=ps,bs.years=ws,bs.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var n=this.localeData(),s=Ds(this,!t,n);return t&&(s=n.pastFuture(+this,s)),n.postformat(s)},bs.toISOString=Ts,bs.toString=Ts,bs.toJSON=Ts,bs.locale=Tn,bs.localeData=xn,bs.toIsoString=C('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',Ts),bs.lang=bn,Q('X',0,0,'unix'),Q('x',0,0,'valueOf'),ve('x',fe),ve('X',/[+-]?\d+(\.\d{1,3})?/),ke('X',function(t,n,s){s._d=new Date(1e3*parseFloat(t,10))}),ke('x',function(t,n,s){s._d=new Date(x(t))}),s.version='2.24.0',t=en,s.fn=zn,s.min=function(){return sn('isBefore',[].slice.call(arguments,0))},s.max=function(){return sn('isAfter',[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(t){return en(1e3*t)},s.months=function(t,n){return Bn(t,n,'months')},s.isDate=f,s.locale=Yt,s.invalid=k,s.duration=vn,s.isMoment=T,s.weekdays=function(t,n,s){return Qn(t,n,s,'weekdays')},s.parseZone=function(){return en.apply(null,arguments).parseZone()},s.localeData=Tt,s.isDuration=un,s.monthsShort=function(t,n){return Bn(t,n,'monthsShort')},s.weekdaysMin=function(t,n,s){return Qn(t,n,s,'weekdaysMin')},s.defineLocale=Ot,s.updateLocale=function(t,n){if(null!=n){var s,o,u=pt;null!=(o=Dt(t))&&(u=o._config),(s=new N(n=L(u,n))).parentLocale=wt[t],wt[t]=s,Yt(t)}else null!=wt[t]&&(null!=wt[t].parentLocale?wt[t]=wt[t].parentLocale:null!=wt[t]&&delete wt[t]);return wt[t]},s.locales=function(){return H(wt)},s.weekdaysShort=function(t,n,s){return Qn(t,n,s,'weekdaysShort')},s.normalizeUnits=E,s.relativeTimeRounding=function(t){return void 0===t?Ms:'function'==typeof t&&(Ms=t,!0)},s.relativeTimeThreshold=function(t,n){return void 0!==ks[t]&&(void 0===n?ks[t]:(ks[t]=n,'s'===t&&(ks.ss=n-1),!0))},s.calendarFormat=function(t,n){var s=t.diff(n,'days',!0);return s<-6?'sameElse':s<-1?'lastWeek':s<0?'lastDay':s<1?'sameDay':s<2?'nextDay':s<7?'nextWeek':'sameElse'},s.prototype=zn,s.HTML5_FMT={DATETIME_LOCAL:'YYYY-MM-DDTHH:mm',DATETIME_LOCAL_SECONDS:'YYYY-MM-DDTHH:mm:ss',DATETIME_LOCAL_MS:'YYYY-MM-DDTHH:mm:ss.SSS',DATE:'YYYY-MM-DD',TIME:'HH:mm',TIME_SECONDS:'HH:mm:ss',TIME_MS:'HH:mm:ss.SSS',WEEK:'GGGG-[W]WW',MONTH:'YYYY-MM'},s},'object'==typeof e&&void 0!==m?m.exports=n():'function'==typeof define&&define.amd?define(n):t.moment=n()},726,[]); -__d(function(g,r,i,a,m,e,d){var c=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),l=r(d[2]),n=r(d[3]),u=(c(r(d[4])),c(r(d[5]))),o=(0,t.connect)(function(c){return{claimSearchByQuery:(0,l.selectClaimSearchByQuery)(c),lastPageReached:(0,l.selectClaimSearchByQueryLastPageReached)(c),loadingByQuery:(0,l.selectFetchingClaimSearchByQuery)(c),loading:(0,l.selectFetchingClaimSearch)(c),showNsfwContent:(0,n.selectShowNsfw)(c)}},function(c){return{claimSearch:function(t){return c((0,l.doClaimSearch)(t))}}})(u.default);e.default=o},727,[3,378,401,409,493,728]); -__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])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=(t(r(d[7])),r(d[8])),h=r(d[9]),p=t(r(d[10])),y=t(r(d[11])),E=t(r(d[12])),v=t(r(d[13])),T=t(r(d[14])),I=t(r(d[15])),R=t(r(d[16])),S=t(r(d[17])),_=t(r(d[18])),C=500,P=(function(t){function P(){var t,n;(0,l.default)(this,P);for(var u=arguments.length,p=new Array(u),O=0;O"+Math.floor((0,_.default)().subtract(1,t).unix())},n.handleVerticalEndReached=function(){var t=n.props,l=t.claimSearchByQuery,o=t.lastPageReached,s=n.buildClaimSearchOptions(),u=(0,h.createNormalizedClaimSearchKey)(s),c=l[u];o[u]||c.length>0&&c.length=C||n.setState({currentPage:n.state.currentPage+1},function(){return n.doClaimSearch()})},n.appendMorePlaceholder=function(t){return t.push(I.default.MORE_PLACEHOLDER),t},n.onMorePressed=function(){var t=n.props,l=t.navigation,o=t.tags;1===o.length?l.navigate({routeName:I.default.DRAWER_ROUTE_TAG,key:'tagPage',params:{tag:o[0]}}):l.navigate({routeName:I.default.DRAWER_ROUTE_TRENDING,params:{filterForTags:!0}})},n.renderMorePlaceholder=function(){return c.default.createElement(f.TouchableOpacity,{style:S.default.fileItemMore,onPress:n.onMorePressed},c.default.createElement(f.Text,{style:S.default.moreText},__('more')),c.default.createElement(v.default,{style:S.default.moreIcon,name:'angle-double-down',color:T.default.White,size:16}))},n.verticalListEmptyComponent=function(){return c.default.createElement(f.Text,{style:R.default.noContentText},__('No content to display at this time. Please check back later.'))},n.renderVerticalItem=function(t){var l=t.item,o=n.props,s=o.hideChannel,u=o.navigation;return c.default.createElement(E.default,{key:l,uri:l,hideChannel:s,style:R.default.verticalListItem,navigation:u})},n.renderHorizontalItem=function(t){var l=t.item,o=n.props.navigation;return l===I.default.MORE_PLACEHOLDER?n.renderMorePlaceholder():c.default.createElement(y.default,{style:S.default.fileItem,mediaStyle:S.default.fileItemMedia,key:l,uri:(0,h.normalizeURI)(l),navigation:o,showDetails:!0,compactView:!1})},n}return(0,u.default)(P,t),(0,n.default)(P,[{key:"componentDidMount",value:function(){this.props.channelIds&&this.setState({subscriptionsView:!0}),this.doClaimSearch()}},{key:"componentDidUpdate",value:function(t){var l=this,n=(t.claimSearchByQuery,t.orderBy),o=(t.searchByTags,t.tags),s=t.channelIds,u=t.time,c=this.props,f=(c.claimSearchByQuery,c.orderBy),h=c.tags,y=c.channelIds,E=c.time;p.default.isEqual(f,n)&&p.default.isEqual(h,o)&&p.default.isEqual(y,s)&&E===u||this.setState({currentPage:1},function(){l.scrollView&&l.scrollView.scrollToOffset({animated:!0,offset:0}),s&&y?y&&l.setState({subscriptionsView:!0}):h&&h.length>0&&l.setState({subscriptionsView:!1}),l.doClaimSearch()})}},{key:"buildClaimSearchOptions",value:function(){var t=this.props,l=t.orderBy,n=t.channelIds,o=t.showNsfwContent,s=t.tags,u=t.time,c=this.state,f=c.currentPage,p=(c.subscriptionsView,{order_by:l,no_totals:!0,page:f,page_size:I.default.DEFAULT_PAGE_SIZE});return n?p.channel_ids=n:s&&s.length>0&&(p.any_tags=s),o||(p.not_tags=h.MATURE_TAGS),l&&l[0]===I.default.ORDER_BY_EFFECTIVE_AMOUNT&&I.default.TIME_ALL!==u&&(p.release_time=this.getReleaseTimeOption(u)),p}},{key:"doClaimSearch",value:function(){(0,this.props.claimSearch)(this.buildClaimSearchOptions())}},{key:"render",value:function(){var t=this,l=this.props,n=l.ListHeaderComponent,o=l.loading,s=(l.morePlaceholder,l.navigation,l.orientation),u=void 0===s?I.default.ORIENTATION_VERTICAL:s,p=l.style,y=l.claimSearchByQuery,E=(this.state.subscriptionsView,this.buildClaimSearchOptions()),v=y[(0,h.createNormalizedClaimSearchKey)(E)];return v&&(v=v.filter(function(t){return t&&t.length>0})),I.default.ORIENTATION_VERTICAL===u?c.default.createElement(f.View,{style:p},c.default.createElement(f.FlatList,{ref:function(l){t.scrollView=l},ListHeaderComponent:n,ListEmptyComponent:o?null:this.verticalListEmptyComponent,style:R.default.verticalScrollContainer,contentContainerStyle:R.default.verticalScrollPadding,initialNumToRender:10,maxToRenderPerBatch:20,removeClippedSubviews:!0,renderItem:this.renderVerticalItem,data:v,keyExtractor:function(t,l){return t},onEndReached:this.handleVerticalEndReached,onEndReachedThreshold:.2}),o&&c.default.createElement(f.View,{style:R.default.verticalLoading},c.default.createElement(f.ActivityIndicator,{size:'small',color:T.default.NextLbryGreen}))):I.default.ORIENTATION_HORIZONTAL===u?o?c.default.createElement(f.View,{style:S.default.listLoading},c.default.createElement(f.ActivityIndicator,{size:'small',color:T.default.NextLbryGreen})):c.default.createElement(f.FlatList,{style:p||R.default.horizontalScrollContainer,contentContainerStyle:R.default.horizontalScrollPadding,initialNumToRender:3,maxToRenderPerBatch:3,removeClippedSubviews:!0,renderItem:this.renderHorizontalItem,horizontal:!0,showsHorizontalScrollIndicator:!1,data:v?this.appendMorePlaceholder(v.slice(0,10)):[],keyExtractor:function(t,l){return t}}):null}}]),P})(c.default.PureComponent);e.default=P},728,[3,4,5,6,8,9,12,411,16,401,729,730,745,502,674,493,749,739,726]); -__d(function(n,t,r,e,u,i,o){(function(){var t,r=200,e='Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',o='Expected a function',f='__lodash_hash_undefined__',a=500,c='__lodash_placeholder__',l=1,s=2,h=4,p=1,v=2,_=1,g=2,d=4,y=8,x=16,b=32,w=64,m=128,j=256,A=512,k=30,z='...',O=800,I=16,R=1,E=2,S=1/0,L=9007199254740991,W=1.7976931348623157e308,C=NaN,T=4294967295,U=4294967294,B=2147483647,$=[['ary',m],['bind',_],['bindKey',g],['curry',y],['curryRight',x],['flip',A],['partial',b],['partialRight',w],['rearg',j]],D='[object Arguments]',M='[object Array]',F='[object AsyncFunction]',N='[object Boolean]',P='[object Date]',Z='[object DOMException]',q='[object Error]',K='[object Function]',V='[object GeneratorFunction]',G='[object Map]',H='[object Number]',J='[object Null]',Y='[object Object]',Q='[object Proxy]',X='[object RegExp]',nn='[object Set]',tn='[object String]',rn='[object Symbol]',en='[object Undefined]',un='[object WeakMap]',on='[object WeakSet]',fn='[object ArrayBuffer]',an='[object DataView]',cn='[object Float32Array]',ln='[object Float64Array]',sn='[object Int8Array]',hn='[object Int16Array]',pn='[object Int32Array]',vn='[object Uint8Array]',_n='[object Uint8ClampedArray]',gn='[object Uint16Array]',dn='[object Uint32Array]',yn=/\b__p \+= '';/g,xn=/\b(__p \+=) '' \+/g,bn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wn=/&(?:amp|lt|gt|quot|#39);/g,mn=/[&<>"']/g,jn=RegExp(wn.source),An=RegExp(mn.source),kn=/<%-([\s\S]+?)%>/g,zn=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,In=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rn=/^\w*$/,En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,Ln=RegExp(Sn.source),Wn=/^\s+|\s+$/g,Cn=/^\s+/,Tn=/\s+$/,Un=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bn=/\{\n\/\* \[wrapped with (.+)\] \*/,$n=/,? & /,Dn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mn=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Nn=/\w*$/,Pn=/^[-+]0x[0-9a-f]+$/i,Zn=/^0b[01]+$/i,qn=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,Vn=/^(?:0|[1-9]\d*)$/,Gn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn=/($^)/,Jn=/['\n\r\u2028\u2029\\]/g,Yn="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",Qn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Xn="(?:\\ud83c[\\udde6-\\uddff]){2}",nt="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?"+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Xn,nt].join('|')+")[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"),rt='(?:'+["[\\u2700-\\u27bf]",Xn,nt].join('|')+')'+tt,et='(?:'+["[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?",Qn,Xn,nt,"[\\ud800-\\udfff]"].join('|')+')',ut=RegExp("['\u2019]",'g'),it=RegExp(Qn,'g'),ot=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+et+tt,'g'),ft=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde]",'$'].join('|')+')',"(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[Yn,"[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",'$'].join('|')+')',"[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?","[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",'\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])','\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])','\\d+',rt].join('|'),'g'),at=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ct=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,lt=['Array','Buffer','DataView','Date','Error','Float32Array','Float64Array','Function','Int8Array','Int16Array','Int32Array','Map','Math','Object','Promise','RegExp','Set','String','Symbol','TypeError','Uint8Array','Uint8ClampedArray','Uint16Array','Uint32Array','WeakMap','_','clearTimeout','isFinite','parseInt','setTimeout'],st=-1,ht={};ht[cn]=ht[ln]=ht[sn]=ht[hn]=ht[pn]=ht[vn]=ht[_n]=ht[gn]=ht[dn]=!0,ht[D]=ht[M]=ht[fn]=ht[N]=ht[an]=ht[P]=ht[q]=ht[K]=ht[G]=ht[H]=ht[Y]=ht[X]=ht[nn]=ht[tn]=ht[un]=!1;var pt={};pt[D]=pt[M]=pt[fn]=pt[an]=pt[N]=pt[P]=pt[cn]=pt[ln]=pt[sn]=pt[hn]=pt[pn]=pt[G]=pt[H]=pt[Y]=pt[X]=pt[nn]=pt[tn]=pt[rn]=pt[vn]=pt[_n]=pt[gn]=pt[dn]=!0,pt[q]=pt[K]=pt[un]=!1;var vt={'\\':'\\',"'":"'",'\n':'n','\r':'r',"\u2028":'u2028',"\u2029":'u2029'},_t=parseFloat,gt=parseInt,dt='object'==typeof n&&n&&n.Object===Object&&n,yt='object'==typeof self&&self&&self.Object===Object&&self,xt=dt||yt||Function('return this')(),bt='object'==typeof i&&i&&!i.nodeType&&i,wt=bt&&'object'==typeof u&&u&&!u.nodeType&&u,mt=wt&&wt.exports===bt,jt=mt&&dt.process,At=(function(){try{var n=wt&&wt.require&&wt.require('util').types;return n||jt&&jt.binding&&jt.binding('util')}catch(n){}})(),kt=At&&At.isArrayBuffer,zt=At&&At.isDate,Ot=At&&At.isMap,It=At&&At.isRegExp,Rt=At&&At.isSet,Et=At&&At.isTypedArray;function St(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Lt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function $t(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function lr(n,t){for(var r=n.length;r--&&Ht(t,n[r],0)>-1;);return r}function sr(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var hr=nr({'\xc0':'A','\xc1':'A','\xc2':'A','\xc3':'A','\xc4':'A','\xc5':'A','\xe0':'a','\xe1':'a','\xe2':'a','\xe3':'a','\xe4':'a','\xe5':'a','\xc7':'C','\xe7':'c','\xd0':'D','\xf0':'d','\xc8':'E','\xc9':'E','\xca':'E','\xcb':'E','\xe8':'e','\xe9':'e','\xea':'e','\xeb':'e','\xcc':'I','\xcd':'I','\xce':'I','\xcf':'I','\xec':'i','\xed':'i','\xee':'i','\xef':'i','\xd1':'N','\xf1':'n','\xd2':'O','\xd3':'O','\xd4':'O','\xd5':'O','\xd6':'O','\xd8':'O','\xf2':'o','\xf3':'o','\xf4':'o','\xf5':'o','\xf6':'o','\xf8':'o','\xd9':'U','\xda':'U','\xdb':'U','\xdc':'U','\xf9':'u','\xfa':'u','\xfb':'u','\xfc':'u','\xdd':'Y','\xfd':'y','\xff':'y','\xc6':'Ae','\xe6':'ae','\xde':'Th','\xfe':'th','\xdf':'ss',"\u0100":'A',"\u0102":'A',"\u0104":'A',"\u0101":'a',"\u0103":'a',"\u0105":'a',"\u0106":'C',"\u0108":'C',"\u010a":'C',"\u010c":'C',"\u0107":'c',"\u0109":'c',"\u010b":'c',"\u010d":'c',"\u010e":'D',"\u0110":'D',"\u010f":'d',"\u0111":'d',"\u0112":'E',"\u0114":'E',"\u0116":'E',"\u0118":'E',"\u011a":'E',"\u0113":'e',"\u0115":'e',"\u0117":'e',"\u0119":'e',"\u011b":'e',"\u011c":'G',"\u011e":'G',"\u0120":'G',"\u0122":'G',"\u011d":'g',"\u011f":'g',"\u0121":'g',"\u0123":'g',"\u0124":'H',"\u0126":'H',"\u0125":'h',"\u0127":'h',"\u0128":'I',"\u012a":'I',"\u012c":'I',"\u012e":'I',"\u0130":'I',"\u0129":'i',"\u012b":'i',"\u012d":'i',"\u012f":'i',"\u0131":'i',"\u0134":'J',"\u0135":'j',"\u0136":'K',"\u0137":'k',"\u0138":'k',"\u0139":'L',"\u013b":'L',"\u013d":'L',"\u013f":'L',"\u0141":'L',"\u013a":'l',"\u013c":'l',"\u013e":'l',"\u0140":'l',"\u0142":'l',"\u0143":'N',"\u0145":'N',"\u0147":'N',"\u014a":'N',"\u0144":'n',"\u0146":'n',"\u0148":'n',"\u014b":'n',"\u014c":'O',"\u014e":'O',"\u0150":'O',"\u014d":'o',"\u014f":'o',"\u0151":'o',"\u0154":'R',"\u0156":'R',"\u0158":'R',"\u0155":'r',"\u0157":'r',"\u0159":'r',"\u015a":'S',"\u015c":'S',"\u015e":'S',"\u0160":'S',"\u015b":'s',"\u015d":'s',"\u015f":'s',"\u0161":'s',"\u0162":'T',"\u0164":'T',"\u0166":'T',"\u0163":'t',"\u0165":'t',"\u0167":'t',"\u0168":'U',"\u016a":'U',"\u016c":'U',"\u016e":'U',"\u0170":'U',"\u0172":'U',"\u0169":'u',"\u016b":'u',"\u016d":'u',"\u016f":'u',"\u0171":'u',"\u0173":'u',"\u0174":'W',"\u0175":'w',"\u0176":'Y',"\u0177":'y',"\u0178":'Y',"\u0179":'Z',"\u017b":'Z',"\u017d":'Z',"\u017a":'z',"\u017c":'z',"\u017e":'z',"\u0132":'IJ',"\u0133":'ij',"\u0152":'Oe',"\u0153":'oe',"\u0149":"'n","\u017f":'s'}),pr=nr({'&':'&','<':'<','>':'>','"':'"',"'":'''});function vr(n){return'\\'+vt[n]}function _r(n,r){return null==n?t:n[r]}function gr(n){return at.test(n)}function dr(n){return ct.test(n)}function yr(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function xr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function br(n,t){return function(r){return n(t(r))}}function wr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r','"':'"',''':"'"});function Rr(n){for(var t=ot.lastIndex=0;ot.test(n);)++t;return t}function Er(n){return n.match(ot)||[]}function Sr(n){return n.match(ft)||[]}var Lr=(function n(u){var i,Dn=(u=null==u?xt:Lr.defaults(xt.Object(),u,Lr.pick(xt,lt))).Array,Yn=u.Date,Qn=u.Error,Xn=u.Function,nt=u.Math,tt=u.Object,rt=u.RegExp,et=u.String,ot=u.TypeError,ft=Dn.prototype,at=Xn.prototype,ct=tt.prototype,vt=u['__core-js_shared__'],dt=at.toString,yt=ct.hasOwnProperty,bt=0,wt=(i=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||''))?'Symbol(src)_1.'+i:'',jt=ct.toString,At=dt.call(tt),Zt=xt._,qt=rt('^'+dt.call(yt).replace(Sn,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$'),nr=mt?u.Buffer:t,Ar=u.Symbol,Rr=u.Uint8Array,Er=nr?nr.allocUnsafe:t,Wr=br(tt.getPrototypeOf,tt),Cr=tt.create,Tr=ct.propertyIsEnumerable,Ur=ft.splice,Br=Ar?"function"==typeof Ar?Ar.isConcatSpreadable:"@@isConcatSpreadable":t,$r=Ar?"function"==typeof Ar?Ar.iterator:"@@iterator":t,Dr=Ar?"function"==typeof Ar?Ar.toStringTag:"@@toStringTag":t,Mr=(function(){try{var n=co(tt,'defineProperty');return n({},'',{}),n}catch(n){}})(),Fr=u.clearTimeout!==xt.clearTimeout&&u.clearTimeout,Nr=Yn&&Yn.now!==xt.Date.now&&Yn.now,Pr=u.setTimeout!==xt.setTimeout&&u.setTimeout,Zr=nt.ceil,qr=nt.floor,Kr=tt.getOwnPropertySymbols,Vr=nr?nr.isBuffer:t,Gr=u.isFinite,Hr=ft.join,Jr=br(tt.keys,tt),Yr=nt.max,Qr=nt.min,Xr=Yn.now,ne=u.parseInt,te=nt.random,re=ft.reverse,ee=co(u,'DataView'),ue=co(u,'Map'),ie=co(u,'Promise'),oe=co(u,'Set'),fe=co(u,'WeakMap'),ae=co(tt,'create'),ce=fe&&new fe,le={},se=Ko(ee),he=Ko(ue),pe=Ko(ie),ve=Ko(oe),_e=Ko(fe),ge=Ar?"function"==typeof Ar?Ar.prototype:"@@prototype":t,de=ge?ge.valueOf:t,ye=ge?ge.toString:t;function xe(n){if(sa(n)&&!na(n)&&!(n instanceof je)){if(n instanceof me)return n;if(yt.call(n,'__wrapped__'))return Go(n)}return new me(n)}var be=(function(){function n(){}return function(r){if(!la(r))return{};if(Cr)return Cr(r);n.prototype=r;var e=new n;return n.prototype=t,e}})();function we(){}function me(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function je(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function Ae(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?n:r)),n}function Ne(n,r,e,u,i,o){var f,a=r&l,c=r&s,p=r&h;if(e&&(f=i?e(n,u,i,o):e(n)),f!==t)return f;if(!la(n))return n;var v=na(n);if(v){if(f=yo(n),!a)return bi(n,f)}else{var _=po(n),g=_==K||_==V;if(ua(n))return hi(n,a);if(_==Y||_==D||g&&!i){if(f=c||g?{}:xo(n),!a)return c?ji(n,$e(f,n)):mi(n,Be(f,n))}else{if(!pt[_])return i?n:{};f=bo(n,_,a)}}o||(o=new Ie);var d=o.get(n);if(d)return d;o.set(n,f),ga(n)?n.forEach(function(t){f.add(Ne(t,r,e,t,n,o))}):ha(n)&&n.forEach(function(t,u){f.set(u,Ne(t,r,e,u,n,o))});var y=v?t:(p?c?ro:to:c?Na:Fa)(n);return Wt(y||n,function(t,u){y&&(t=n[u=t]),Ce(f,u,Ne(t,r,e,u,n,o))}),f}function Pe(n){var t=Fa(n);return function(r){return Ze(r,n,t)}}function Ze(n,r,e){var u=e.length;if(null==n)return!u;for(n=tt(n);u--;){var i=e[u],o=r[i],f=n[i];if(f===t&&!(i in n)||!o(f))return!1}return!0}function qe(n,r,e){if('function'!=typeof n)throw new ot(o);return Do(function(){n.apply(t,e)},r)}function Ke(n,t,e,u){var i=-1,o=Bt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;e&&(t=Dt(t,or(e))),u?(o=$t,f=!1):t.length>=r&&(o=ar,f=!1,t=new Oe(t));n:for(;++i-1},ke.prototype.set=function(n,t){var r=this.__data__,e=Te(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},ze.prototype.clear=function(){this.size=0,this.__data__={hash:new Ae,map:new(ue||ke),string:new Ae}},ze.prototype.delete=function(n){var t=fo(this,n).delete(n);return this.size-=t?1:0,t},ze.prototype.get=function(n){return fo(this,n).get(n)},ze.prototype.has=function(n){return fo(this,n).has(n)},ze.prototype.set=function(n,t){var r=fo(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Oe.prototype.add=Oe.prototype.push=function(n){return this.__data__.set(n,f),this},Oe.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.clear=function(){this.__data__=new ke,this.size=0},Ie.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ie.prototype.get=function(n){return this.__data__.get(n)},Ie.prototype.has=function(n){return this.__data__.has(n)},Ie.prototype.set=function(n,t){var r=this.__data__;if(r instanceof ke){var e=r.__data__;if(!ue||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new ze(e)}return r.set(n,t),this.size=r.size,this};var Ve=zi(ru),Ge=zi(eu,!0);function He(n,t){var r=!0;return Ve(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Je(n,r,e){for(var u=-1,i=n.length;++ui?0:i+e),(u=u===t||u>i?i:Aa(u))<0&&(u+=i),u=e>u?0:ka(u);e0&&r(f)?t>1?Xe(f,t-1,r,e,u):Mt(u,f):e||(u[u.length]=f)}return u}var nu=Oi(),tu=Oi(!0);function ru(n,t){return n&&nu(n,t,Fa)}function eu(n,t){return n&&tu(n,t,Fa)}function uu(n,t){return Ut(t,function(t){return fa(n[t])})}function iu(n,r){for(var e=0,u=(r=ai(r,n)).length;null!=n&&et}function cu(n,t){return null!=n&&yt.call(n,t)}function lu(n,t){return null!=n&&t in tt(n)}function su(n,t,r){return n>=Qr(t,r)&&n=120&&s.length>=120)?new Oe(f&&s):t}s=n[0];var h=-1,p=a[0];n:for(;++h-1;)f!==n&&Ur.call(f,a,1),Ur.call(n,a,1);return n}function Tu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;jo(u)?Ur.call(n,u,1):ni(n,u)}}return n}function Uu(n,t){return n+qr(te()*(t-n+1))}function Bu(n,t,r,e){for(var u=-1,i=Yr(Zr((t-n)/(r||1)),0),o=Dn(i);i--;)o[e?i:++u]=n,n+=r;return o}function $u(n,t){var r='';if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=qr(t/2))&&(n+=n)}while(t);return r}function Du(n,t){return Mo(Co(n,t,pc),n+'')}function Mu(n){return Ee(Ja(n))}function Fu(n,t){var r=Ja(n);return Po(r,Fe(t,0,r.length))}function Nu(n,r,e,u){if(!la(n))return n;for(var i=-1,o=(r=ai(r,n)).length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Dn(u);++e>>1,o=n[i];null!==o&&!ya(o)&&(r?o<=t:o=r){var l=t?null:qi(n);if(l)return mr(l);f=!1,i=ar,c=new Oe}else c=t?[]:a;n:for(;++u=u?n:Ku(n,r,e)}var si=Fr||function(n){return xt.clearTimeout(n)};function hi(n,t){if(t)return n.slice();var r=n.length,e=Er?Er(r):new n.constructor(r);return n.copy(e),e}function pi(n){var t=new n.constructor(n.byteLength);return new Rr(t).set(new Rr(n)),t}function vi(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function _i(n,t){var r=t?pi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function gi(n,r){if(n!==r){var e=n!==t,u=null===n,i=n==n,o=ya(n),f=r!==t,a=null===r,c=r==r,l=ya(r);if(!a&&!l&&!o&&n>r||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n=f?a:a*('desc'==r[e]?-1:1)}return n.index-t.index}function yi(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Yr(i-o,0),l=Dn(a+c),s=!e;++f1?e[i-1]:t,f=i>2?e[2]:t;for(o=n.length>3&&'function'==typeof o?(i--,o):t,f&&Ao(e[0],e[1],f)&&(o=i<3?t:o,i=1),r=tt(r);++u-1?i[o?r[f]:f]:t}}function Ci(n){return no(function(r){var e=r.length,u=e,i=me.prototype.thru;for(n&&r.reverse();u--;){var f=r[u];if('function'!=typeof f)throw new ot(o);if(i&&!a&&'wrapper'==uo(f))var a=new me([],!0)}for(u=a?u:e;++u1&&g.reverse(),s&&c<_&&(g.length=c),this&&this!==xt&&this instanceof t&&(A=y||Si(A)),A.apply(j,g)}}function Ui(n,t){return function(r,e){return pu(r,n,t(e),{})}}function Bi(n,r){return function(e,u){var i;if(e===t&&u===t)return r;if(e!==t&&(i=e),u!==t){if(i===t)return u;'string'==typeof e||'string'==typeof u?(e=Qu(e),u=Qu(u)):(e=Yu(e),u=Yu(u)),i=n(e,u)}return i}}function $i(n){return no(function(t){return t=Dt(t,or(oo())),Du(function(r){var e=this;return n(t,function(n){return St(n,e,r)})})})}function Di(n,r){var e=(r=r===t?' ':Qu(r)).length;if(e<2)return e?$u(r,n):r;var u=$u(r,Zr(n/zr(r)));return gr(r)?li(Or(u),0,n).join(''):u.slice(0,n)}function Mi(n,t,r,e){var u=t&_,i=Si(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=Dn(c+f),s=this&&this!==xt&&this instanceof t?i:n;++aa))return!1;var l=o.get(n);if(l&&o.get(r))return l==r;var s=-1,h=!0,_=e&v?new Oe:t;for(o.set(n,r),o.set(r,n);++s1?'& ':'')+t[e],t=t.join(r>2?', ':' '),n.replace(Un,'{\n/* [wrapped with '+t+'] */\n')}function mo(n){return na(n)||Xf(n)||!!(Br&&n&&n[Br])}function jo(n,t){var r=typeof n;return!!(t=null==t?L:t)&&('number'==r||'symbol'!=r&&Vn.test(n))&&n>-1&&n%1==0&&n0){if(++r>=O)return arguments[0]}else r=0;return n.apply(t,arguments)}}function Po(n,r){var e=-1,u=n.length,i=u-1;for(r=r===t?u:r;++e1?n[r-1]:t;return _f(n,e='function'==typeof e?(n.pop(),e):t)});function mf(n){var t=xe(n);return t.__chain__=!0,t}function jf(n,t){return t(n)}var Af=no(function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(t){return Me(t,n)};return!(r>1||this.__actions__.length)&&u instanceof je&&jo(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:jf,args:[i],thisArg:t}),new me(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(t),n})):this.thru(i)});var kf=Ai(function(n,t,r){yt.call(n,r)?++n[r]:De(n,r,1)});var zf=Wi(Qo),Of=Wi(Xo);function If(n,t){return(na(n)?Wt:Ve)(n,oo(t,3))}function Rf(n,t){return(na(n)?Ct:Ge)(n,oo(t,3))}var Ef=Ai(function(n,t,r){yt.call(n,r)?n[r].push(t):De(n,r,[t])});var Sf=Du(function(n,t,r){var e=-1,u='function'==typeof t,i=ra(n)?Dn(n.length):[];return Ve(n,function(n){i[++e]=u?St(t,n,r):vu(n,t,r)}),i}),Lf=Ai(function(n,t,r){De(n,r,t)});function Wf(n,t){return(na(n)?Dt:Au)(n,oo(t,3))}var Cf=Ai(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Tf=Du(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ao(n,t[0],t[1])?t=[]:r>2&&Ao(t[0],t[1],t[2])&&(t=[t[0]]),Eu(n,Xe(t,1),[])}),Uf=Nr||function(){return xt.Date.now()};function Bf(n,r,e){return r=e?t:r,r=n&&null==r?n.length:r,Vi(n,m,t,t,t,t,r)}function $f(n,r){var e;if('function'!=typeof r)throw new ot(o);return n=Aa(n),function(){return--n>0&&(e=r.apply(this,arguments)),n<=1&&(r=t),e}}var Df=Du(function(n,t,r){var e=_;if(r.length){var u=wr(r,io(Df));e|=b}return Vi(n,e,t,r,u)}),Mf=Du(function(n,t,r){var e=3;if(r.length){var u=wr(r,io(Mf));e|=b}return Vi(t,e,n,r,u)});function Ff(n,r,e){var u,i,f,a,c,l,s=0,h=!1,p=!1,v=!0;if('function'!=typeof n)throw new ot(o);function _(r){var e=u,o=i;return u=i=t,s=r,a=n.apply(o,e)}function g(n){return s=n,c=Do(x,r),h?_(n):a}function d(n){var t=r-(n-l);return p?Qr(t,f-(n-s)):t}function y(n){var e=n-l;return l===t||e>=r||e<0||p&&n-s>=f}function x(){var n=Uf();if(y(n))return b(n);c=Do(x,d(n))}function b(n){return c=t,v&&u?_(n):(u=i=t,a)}function w(){var n=Uf(),e=y(n);if(u=arguments,i=this,l=n,e){if(c===t)return g(l);if(p)return si(c),c=Do(x,r),_(l)}return c===t&&(c=Do(x,r)),a}return r=za(r)||0,la(e)&&(h=!!e.leading,f=(p='maxWait'in e)?Yr(za(e.maxWait)||0,r):f,v='trailing'in e?!!e.trailing:v),w.cancel=function(){c!==t&&si(c),s=0,u=l=i=c=t},w.flush=function(){return c===t?a:b(Uf())},w}var Nf=Du(function(n,t){return qe(n,1,t)}),Pf=Du(function(n,t,r){return qe(n,za(t)||0,r)});function Zf(n,t){if('function'!=typeof n||null!=t&&'function'!=typeof t)throw new ot(o);var r=function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Zf.Cache||ze),r}function qf(n){if('function'!=typeof n)throw new ot(o);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Zf.Cache=ze;var Kf=ci(function(n,t){var r=(t=1==t.length&&na(t[0])?Dt(t[0],or(oo())):Dt(Xe(t,1),or(oo()))).length;return Du(function(e){for(var u=-1,i=Qr(e.length,r);++u=t}),Xf=_u((function(){return arguments})())?_u:function(n){return sa(n)&&yt.call(n,'callee')&&!Tr.call(n,'callee')},na=Dn.isArray,ta=kt?or(kt):function(n){return sa(n)&&fu(n)==fn};function ra(n){return null!=n&&ca(n.length)&&!fa(n)}function ea(n){return sa(n)&&ra(n)}var ua=Vr||zc,ia=zt?or(zt):function(n){return sa(n)&&fu(n)==P};function oa(n){if(!sa(n))return!1;var t=fu(n);return t==q||t==Z||'string'==typeof n.message&&'string'==typeof n.name&&!va(n)}function fa(n){if(!la(n))return!1;var t=fu(n);return t==K||t==V||t==F||t==Q}function aa(n){return'number'==typeof n&&n==Aa(n)}function ca(n){return'number'==typeof n&&n>-1&&n%1==0&&n<=L}function la(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}function sa(n){return null!=n&&'object'==typeof n}var ha=Ot?or(Ot):function(n){return sa(n)&&po(n)==G};function pa(n){return'number'==typeof n||sa(n)&&fu(n)==H}function va(n){if(!sa(n)||fu(n)!=Y)return!1;var t=Wr(n);if(null===t)return!0;var r=yt.call(t,'constructor')&&t.constructor;return'function'==typeof r&&r instanceof r&&dt.call(r)==At}var _a=It?or(It):function(n){return sa(n)&&fu(n)==X};var ga=Rt?or(Rt):function(n){return sa(n)&&po(n)==nn};function da(n){return'string'==typeof n||!na(n)&&sa(n)&&fu(n)==tn}function ya(n){return'symbol'==typeof n||sa(n)&&fu(n)==rn}var xa=Et?or(Et):function(n){return sa(n)&&ca(n.length)&&!!ht[fu(n)]};var ba=Ni(ju),wa=Ni(function(n,t){return n<=t});function ma(n){if(!n)return[];if(ra(n))return da(n)?Or(n):bi(n);if($r&&n[$r])return yr(n[$r]());var t=po(n);return(t==G?xr:t==nn?mr:Ja)(n)}function ja(n){return n?(n=za(n))===S||n===-1/0?(n<0?-1:1)*W:n==n?n:0:0===n?n:0}function Aa(n){var t=ja(n),r=t%1;return t==t?r?t-r:t:0}function ka(n){return n?Fe(Aa(n),0,T):0}function za(n){if('number'==typeof n)return n;if(ya(n))return C;if(la(n)){var t='function'==typeof n.valueOf?n.valueOf():n;n=la(t)?t+'':t}if('string'!=typeof n)return 0===n?n:+n;n=n.replace(Wn,'');var r=Zn.test(n);return r||Kn.test(n)?gt(n.slice(2),r?2:8):Pn.test(n)?C:+n}function Oa(n){return wi(n,Na(n))}function Ia(n){return null==n?'':Qu(n)}var Ra=ki(function(n,t){if(Io(t)||ra(t))wi(t,Fa(t),n);else for(var r in t)yt.call(t,r)&&Ce(n,r,t[r])}),Ea=ki(function(n,t){wi(t,Na(t),n)}),Sa=ki(function(n,t,r,e){wi(t,Na(t),n,e)}),La=ki(function(n,t,r,e){wi(t,Fa(t),n,e)}),Wa=no(Me);var Ca=Du(function(n,r){n=tt(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&Ao(r[0],r[1],i)&&(u=1);++e1),t}),wi(n,ro(n),r),e&&(r=Ne(r,7,Ji));for(var u=t.length;u--;)ni(r,t[u]);return r});var Ka=no(function(n,t){return null==n?{}:Su(n,t)});function Va(n,t){if(null==n)return{};var r=Dt(ro(n),function(n){return[n]});return t=oo(t),Lu(n,r,function(n,r){return t(n,r[0])})}var Ga=Ki(Fa),Ha=Ki(Na);function Ja(n){return null==n?[]:fr(n,Fa(n))}var Ya=Ei(function(n,t,r){return t=t.toLowerCase(),n+(r?Qa(t):t)});function Qa(n){return oc(Ia(n).toLowerCase())}function Xa(n){return(n=Ia(n))&&n.replace(Gn,hr).replace(it,'')}var nc=Ei(function(n,t,r){return n+(r?'-':'')+t.toLowerCase()}),tc=Ei(function(n,t,r){return n+(r?' ':'')+t.toLowerCase()}),rc=Ri('toLowerCase');var ec=Ei(function(n,t,r){return n+(r?'_':'')+t.toLowerCase()});var uc=Ei(function(n,t,r){return n+(r?' ':'')+oc(t)});var ic=Ei(function(n,t,r){return n+(r?' ':'')+t.toUpperCase()}),oc=Ri('toUpperCase');function fc(n,r,e){return n=Ia(n),(r=e?t:r)===t?dr(n)?Sr(n):Kt(n):n.match(r)||[]}var ac=Du(function(n,r){try{return St(n,t,r)}catch(n){return oa(n)?n:new Qn(n)}}),cc=no(function(n,t){return Wt(t,function(t){t=qo(t),De(n,t,Df(n[t],n))}),n});function lc(n){return function(){return n}}var sc=Ci(),hc=Ci(!0);function pc(n){return n}function vc(n){return bu('function'==typeof n?n:Ne(n,l))}var _c=Du(function(n,t){return function(r){return vu(r,n,t)}}),gc=Du(function(n,t){return function(r){return vu(n,r,t)}});function dc(n,t,r){var e=Fa(t),u=uu(t,e);null!=r||la(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=uu(t,Fa(t)));var i=!(la(r)&&'chain'in r&&!r.chain),o=fa(n);return Wt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=bi(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Mt([this.value()],arguments))})}),n}function yc(){}var xc=$i(Dt),bc=$i(Tt),wc=$i(Pt);function mc(n){return ko(n)?Xt(qo(n)):Wu(n)}var jc=Fi(),Ac=Fi(!0);function kc(){return[]}function zc(){return!1}var Oc=Bi(function(n,t){return n+t},0),Ic=Zi('ceil'),Rc=Bi(function(n,t){return n/t},1),Ec=Zi('floor');var Sc,Lc=Bi(function(n,t){return n*t},1),Wc=Zi('round'),Cc=Bi(function(n,t){return n-t},0);return xe.after=function(n,t){if('function'!=typeof t)throw new ot(o);return n=Aa(n),function(){if(--n<1)return t.apply(this,arguments)}},xe.ary=Bf,xe.assign=Ra,xe.assignIn=Ea,xe.assignInWith=Sa,xe.assignWith=La,xe.at=Wa,xe.before=$f,xe.bind=Df,xe.bindAll=cc,xe.bindKey=Mf,xe.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return na(n)?n:[n]},xe.chain=mf,xe.chunk=function(n,r,e){r=(e?Ao(n,r,e):r===t)?1:Yr(Aa(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,f=Dn(Zr(u/r));i>>0)?(n=Ia(n))&&('string'==typeof r||null!=r&&!_a(r))&&!(r=Qu(r))&&gr(n)?li(Or(n),0,e):n.split(r,e):[]},xe.spread=function(n,t){if('function'!=typeof n)throw new ot(o);return t=null==t?0:Yr(Aa(t),0),Du(function(r){var e=r[t],u=li(r,0,t);return e&&Mt(u,e),St(n,this,u)})},xe.tail=function(n){var t=null==n?0:n.length;return t?Ku(n,1,t):[]},xe.take=function(n,r,e){return n&&n.length?Ku(n,0,(r=e||r===t?1:Aa(r))<0?0:r):[]},xe.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?Ku(n,(r=u-(r=e||r===t?1:Aa(r)))<0?0:r,u):[]},xe.takeRightWhile=function(n,t){return n&&n.length?ri(n,oo(t,3),!1,!0):[]},xe.takeWhile=function(n,t){return n&&n.length?ri(n,oo(t,3)):[]},xe.tap=function(n,t){return t(n),n},xe.throttle=function(n,t,r){var e=!0,u=!0;if('function'!=typeof n)throw new ot(o);return la(r)&&(e='leading'in r?!!r.leading:e,u='trailing'in r?!!r.trailing:u),Ff(n,t,{leading:e,maxWait:t,trailing:u})},xe.thru=jf,xe.toArray=ma,xe.toPairs=Ga,xe.toPairsIn=Ha,xe.toPath=function(n){return na(n)?Dt(n,qo):ya(n)?[n]:bi(Zo(Ia(n)))},xe.toPlainObject=Oa,xe.transform=function(n,t,r){var e=na(n),u=e||ua(n)||xa(n);if(t=oo(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:la(n)&&fa(i)?be(Wr(n)):{}}return(u?Wt:ru)(n,function(n,e,u){return t(r,n,e,u)}),r},xe.unary=function(n){return Bf(n,1)},xe.union=sf,xe.unionBy=hf,xe.unionWith=pf,xe.uniq=function(n){return n&&n.length?Xu(n):[]},xe.uniqBy=function(n,t){return n&&n.length?Xu(n,oo(t,2)):[]},xe.uniqWith=function(n,r){return r='function'==typeof r?r:t,n&&n.length?Xu(n,t,r):[]},xe.unset=function(n,t){return null==n||ni(n,t)},xe.unzip=vf,xe.unzipWith=_f,xe.update=function(n,t,r){return null==n?n:ti(n,t,fi(r))},xe.updateWith=function(n,r,e,u){return u='function'==typeof u?u:t,null==n?n:ti(n,r,fi(e),u)},xe.values=Ja,xe.valuesIn=function(n){return null==n?[]:fr(n,Na(n))},xe.without=gf,xe.words=fc,xe.wrap=function(n,t){return Vf(fi(t),n)},xe.xor=df,xe.xorBy=yf,xe.xorWith=xf,xe.zip=bf,xe.zipObject=function(n,t){return ii(n||[],t||[],Ce)},xe.zipObjectDeep=function(n,t){return ii(n||[],t||[],Nu)},xe.zipWith=wf,xe.entries=Ga,xe.entriesIn=Ha,xe.extend=Ea,xe.extendWith=Sa,dc(xe,xe),xe.add=Oc,xe.attempt=ac,xe.camelCase=Ya,xe.capitalize=Qa,xe.ceil=Ic,xe.clamp=function(n,r,e){return e===t&&(e=r,r=t),e!==t&&(e=(e=za(e))==e?e:0),r!==t&&(r=(r=za(r))==r?r:0),Fe(za(n),r,e)},xe.clone=function(n){return Ne(n,h)},xe.cloneDeep=function(n){return Ne(n,5)},xe.cloneDeepWith=function(n,r){return Ne(n,5,r='function'==typeof r?r:t)},xe.cloneWith=function(n,r){return Ne(n,h,r='function'==typeof r?r:t)},xe.conformsTo=function(n,t){return null==t||Ze(n,t,Fa(t))},xe.deburr=Xa,xe.defaultTo=function(n,t){return null==n||n!=n?t:n},xe.divide=Rc,xe.endsWith=function(n,r,e){n=Ia(n),r=Qu(r);var u=n.length,i=e=e===t?u:Fe(Aa(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},xe.eq=Jf,xe.escape=function(n){return(n=Ia(n))&&An.test(n)?n.replace(mn,pr):n},xe.escapeRegExp=function(n){return(n=Ia(n))&&Ln.test(n)?n.replace(Sn,'\\$&'):n},xe.every=function(n,r,e){var u=na(n)?Tt:He;return e&&Ao(n,r,e)&&(r=t),u(n,oo(r,3))},xe.find=zf,xe.findIndex=Qo,xe.findKey=function(n,t){return Vt(n,oo(t,3),ru)},xe.findLast=Of,xe.findLastIndex=Xo,xe.findLastKey=function(n,t){return Vt(n,oo(t,3),eu)},xe.floor=Ec,xe.forEach=If,xe.forEachRight=Rf,xe.forIn=function(n,t){return null==n?n:nu(n,oo(t,3),Na)},xe.forInRight=function(n,t){return null==n?n:tu(n,oo(t,3),Na)},xe.forOwn=function(n,t){return n&&ru(n,oo(t,3))},xe.forOwnRight=function(n,t){return n&&eu(n,oo(t,3))},xe.get=Ua,xe.gt=Yf,xe.gte=Qf,xe.has=function(n,t){return null!=n&&go(n,t,cu)},xe.hasIn=Ba,xe.head=tf,xe.identity=pc,xe.includes=function(n,t,r,e){n=ra(n)?n:Ja(n),r=r&&!e?Aa(r):0;var u=n.length;return r<0&&(r=Yr(u+r,0)),da(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ht(n,t,r)>-1},xe.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:Aa(r);return u<0&&(u=Yr(e+u,0)),Ht(n,t,u)},xe.inRange=function(n,r,e){return r=ja(r),e===t?(e=r,r=0):e=ja(e),su(n=za(n),r,e)},xe.invoke=Ma,xe.isArguments=Xf,xe.isArray=na,xe.isArrayBuffer=ta,xe.isArrayLike=ra,xe.isArrayLikeObject=ea,xe.isBoolean=function(n){return!0===n||!1===n||sa(n)&&fu(n)==N},xe.isBuffer=ua,xe.isDate=ia,xe.isElement=function(n){return sa(n)&&1===n.nodeType&&!va(n)},xe.isEmpty=function(n){if(null==n)return!0;if(ra(n)&&(na(n)||'string'==typeof n||'function'==typeof n.splice||ua(n)||xa(n)||Xf(n)))return!n.length;var t=po(n);if(t==G||t==nn)return!n.size;if(Io(n))return!wu(n).length;for(var r in n)if(yt.call(n,r))return!1;return!0},xe.isEqual=function(n,t){return gu(n,t)},xe.isEqualWith=function(n,r,e){var u=(e='function'==typeof e?e:t)?e(n,r):t;return u===t?gu(n,r,t,e):!!u},xe.isError=oa,xe.isFinite=function(n){return'number'==typeof n&&Gr(n)},xe.isFunction=fa,xe.isInteger=aa,xe.isLength=ca,xe.isMap=ha,xe.isMatch=function(n,t){return n===t||yu(n,t,ao(t))},xe.isMatchWith=function(n,r,e){return e='function'==typeof e?e:t,yu(n,r,ao(r),e)},xe.isNaN=function(n){return pa(n)&&n!=+n},xe.isNative=function(n){if(Oo(n))throw new Qn(e);return xu(n)},xe.isNil=function(n){return null==n},xe.isNull=function(n){return null===n},xe.isNumber=pa,xe.isObject=la,xe.isObjectLike=sa,xe.isPlainObject=va,xe.isRegExp=_a,xe.isSafeInteger=function(n){return aa(n)&&n>=-9007199254740991&&n<=L},xe.isSet=ga,xe.isString=da,xe.isSymbol=ya,xe.isTypedArray=xa,xe.isUndefined=function(n){return n===t},xe.isWeakMap=function(n){return sa(n)&&po(n)==un},xe.isWeakSet=function(n){return sa(n)&&fu(n)==on},xe.join=function(n,t){return null==n?'':Hr.call(n,t)},xe.kebabCase=nc,xe.last=of,xe.lastIndexOf=function(n,r,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==t&&(i=(i=Aa(e))<0?Yr(u+i,0):Qr(i,u-1)),r==r?kr(n,r,i):Gt(n,Yt,i,!0)},xe.lowerCase=tc,xe.lowerFirst=rc,xe.lt=ba,xe.lte=wa,xe.max=function(n){return n&&n.length?Je(n,pc,au):t},xe.maxBy=function(n,r){return n&&n.length?Je(n,oo(r,2),au):t},xe.mean=function(n){return Qt(n,pc)},xe.meanBy=function(n,t){return Qt(n,oo(t,2))},xe.min=function(n){return n&&n.length?Je(n,pc,ju):t},xe.minBy=function(n,r){return n&&n.length?Je(n,oo(r,2),ju):t},xe.stubArray=kc,xe.stubFalse=zc,xe.stubObject=function(){return{}},xe.stubString=function(){return''},xe.stubTrue=function(){return!0},xe.multiply=Lc,xe.nth=function(n,r){return n&&n.length?Ru(n,Aa(r)):t},xe.noConflict=function(){return xt._===this&&(xt._=Zt),this},xe.noop=yc,xe.now=Uf,xe.pad=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Di(qr(u),r)+n+Di(Zr(u),r)},xe.padEnd=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?zr(n):0;return t&&er){var u=n;n=r,r=u}if(e||n%1||r%1){var i=te();return Qr(n+i*(r-n+_t('1e-'+((i+'').length-1))),r)}return Uu(n,r)},xe.reduce=function(n,t,r){var e=na(n)?Ft:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ve)},xe.reduceRight=function(n,t,r){var e=na(n)?Nt:tr,u=arguments.length<3;return e(n,oo(t,4),r,u,Ge)},xe.repeat=function(n,r,e){return r=(e?Ao(n,r,e):r===t)?1:Aa(r),$u(Ia(n),r)},xe.replace=function(){var n=arguments,t=Ia(n[0]);return n.length<3?t:t.replace(n[1],n[2])},xe.result=function(n,r,e){var u=-1,i=(r=ai(r,n)).length;for(i||(i=1,n=t);++uL)return[];var r=T,e=Qr(n,T);t=oo(t),n-=T;for(var u=ur(e,t);++r=o)return n;var a=e-zr(u);if(a<1)return u;var c=f?li(f,0,a).join(''):n.slice(0,a);if(i===t)return c+u;if(f&&(a+=c.length-a),_a(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=rt(i.source,Ia(Nn.exec(i))+'g')),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===t?a:h)}}else if(n.indexOf(Qu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},xe.unescape=function(n){return(n=Ia(n))&&jn.test(n)?n.replace(wn,Ir):n},xe.uniqueId=function(n){var t=++bt;return Ia(n)+t},xe.upperCase=ic,xe.upperFirst=oc,xe.each=If,xe.eachRight=Rf,xe.first=tf,dc(xe,(Sc={},ru(xe,function(n,t){yt.call(xe.prototype,t)||(Sc[t]=n)}),Sc),{chain:!1}),xe.VERSION="4.17.15",Wt(['bind','bindKey','curry','curryRight','partial','partialRight'],function(n){xe[n].placeholder=xe}),Wt(['drop','take'],function(n,r){je.prototype[n]=function(e){e=e===t?1:Yr(Aa(e),0);var u=this.__filtered__&&!r?new je(this):this.clone();return u.__filtered__?u.__takeCount__=Qr(e,u.__takeCount__):u.__views__.push({size:Qr(e,T),type:n+(u.__dir__<0?'Right':'')}),u},je.prototype[n+'Right']=function(t){return this.reverse()[n](t).reverse()}}),Wt(['filter','map','takeWhile'],function(n,t){var r=t+1,e=r==R||3==r;je.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:oo(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Wt(['head','last'],function(n,t){var r='take'+(t?'Right':'');je.prototype[n]=function(){return this[r](1).value()[0]}}),Wt(['initial','tail'],function(n,t){var r='drop'+(t?'':'Right');je.prototype[n]=function(){return this.__filtered__?new je(this):this[r](1)}}),je.prototype.compact=function(){return this.filter(pc)},je.prototype.find=function(n){return this.filter(n).head()},je.prototype.findLast=function(n){return this.reverse().find(n)},je.prototype.invokeMap=Du(function(n,t){return'function'==typeof n?new je(this):this.map(function(r){return vu(r,n,t)})}),je.prototype.reject=function(n){return this.filter(qf(oo(n)))},je.prototype.slice=function(n,r){n=Aa(n);var e=this;return e.__filtered__&&(n>0||r<0)?new je(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),r!==t&&(e=(r=Aa(r))<0?e.dropRight(-r):e.take(r-n)),e)},je.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},je.prototype.toArray=function(){return this.take(T)},ru(je.prototype,function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=xe[u?'take'+('last'==r?'Right':''):r],o=u||/^find/.test(r);i&&(xe.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof je,c=f[0],l=a||na(r),s=function(n){var t=i.apply(xe,Mt([n],f));return u&&h?t[0]:t};l&&e&&'function'==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){r=_?r:new je(this);var g=n.apply(r,f);return g.__actions__.push({func:jf,args:[s],thisArg:t}),new me(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),Wt(['pop','push','shift','sort','splice','unshift'],function(n){var t=ft[n],r=/^(?:push|sort|unshift)$/.test(n)?'tap':'thru',e=/^(?:pop|shift)$/.test(n);xe.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(na(u)?u:[],n)}return this[r](function(r){return t.apply(na(r)?r:[],n)})}}),ru(je.prototype,function(n,t){var r=xe[t];if(r){var e=r.name+'';yt.call(le,e)||(le[e]=[]),le[e].push({name:t,func:r})}}),le[Ti(t,g).name]=[{name:'wrapper',func:t}],je.prototype.clone=function(){var n=new je(this.__wrapped__);return n.__actions__=bi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=bi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=bi(this.__views__),n},je.prototype.reverse=function(){if(this.__filtered__){var n=new je(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},je.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=na(n),e=t<0,u=r?n.length:0,i=vo(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Qr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return ei(n,this.__actions__);var v=[];n:for(;a--&&h=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},729,[]); -__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]),o=r(d[2]),n=r(d[3]),s=r(d[4]),u=r(d[5]),c=t(r(d[6])),f=(0,l.connect)(function(t,l){return{blackListedOutpoints:(0,s.selectBlackListedOutpoints)(t),claim:(0,o.makeSelectClaimForUri)(l.uri)(t),fileInfo:(0,o.makeSelectFileInfoForUri)(l.uri)(t),filteredOutpoints:(0,s.selectFilteredOutpoints)(t),metadata:(0,o.makeSelectMetadataForUri)(l.uri)(t),rewardedContentClaimIds:(0,s.selectRewardContentClaimIds)(t),isResolvingUri:(0,o.makeSelectIsUriResolving)(l.uri)(t),obscureNsfw:!(0,u.selectShowNsfw)(t),shortUrl:(0,o.makeSelectShortUrlForUri)(l.uri)(t),thumbnail:(0,o.makeSelectThumbnailForUri)(l.uri)(t),title:(0,o.makeSelectTitleForUri)(l.uri)(t),nsfw:(0,o.makeSelectClaimIsNsfw)(l.uri)(t)}},function(t){return{resolveUri:function(l){return t((0,o.doResolveUri)(l))},setPlayerVisible:function(l,o){return t((0,n.doSetPlayerVisible)(l,o))}}})(c.default);e.default=f},730,[3,378,401,492,408,409,731]); -__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])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),v=(r(d[8]),r(d[9])),y=r(d[10]),h=t(r(d[11])),p=t(r(d[12])),w=t(r(d[13])),T=t(r(d[14])),_=t(r(d[15])),E=t(r(d[16])),b=t(r(d[17])),x=t(r(d[18])),U=(function(t){function U(){var t,n;(0,l.default)(this,U);for(var s=arguments.length,f=new Array(s),h=0;h0&&f.default.createElement(y.default,{duration:n,style:p.default.duration,textStyle:p.default.durationText}))):f.default.createElement(h.View,{style:[u||p.default.autothumb,M]},o&&f.default.createElement(h.View,{style:p.default.resolving},f.default.createElement(h.ActivityIndicator,{color:c.default.White,size:'large'}),f.default.createElement(h.Text,{style:p.default.text},"Resolving...")),!o&&f.default.createElement(h.Text,{style:p.default.autothumbText},T&&T.trim().length>0&&T.replace(/\s+/g,'').substring(0,Math.min(T.replace(' ','').length,5)).toUpperCase()),n>0&&f.default.createElement(y.default,{duration:n,style:p.default.duration,textStyle:p.default.durationText}))}}]),T})(f.default.PureComponent);v.AUTO_THUMB_STYLES=[T.default.autothumbPurple,T.default.autothumbRed,T.default.autothumbPink,T.default.autothumbIndigo,T.default.autothumbBlue,T.default.autothumbLightBlue,T.default.autothumbCyan,T.default.autothumbTeal,T.default.autothumbGreen,T.default.autothumbYellow,T.default.autothumbOrange];var M=v;e.default=M},735,[3,4,5,6,8,9,12,16,674,693,736,684,740]); -__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},736,[3,378,737]); -__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])),o=t(r(d[5])),s=t(r(d[6])),c=r(d[7]),v=(t(r(d[8])),t(r(d[9]))),p=(function(t){function p(){var t,n;(0,l.default)(this,p);for(var o=arguments.length,s=new Array(o),c=0;c0&&(f+=n+':'),f+=v.default.padStart(u,n>0?2:0,'0')+':',f+=v.default.padStart(l,2,'0')},n}return(0,o.default)(p,t),(0,n.default)(p,[{key:"render",value:function(){var t=this.props,l=t.duration,n=t.style,u=t.textStyle;return!l||isNaN(parseFloat(l))?null:s.default.createElement(c.View,{style:n},s.default.createElement(c.Text,{style:u},this.getDurationString(l)))}}]),p})(s.default.PureComponent);e.default=p},737,[3,4,5,6,8,9,12,16,738,729]); -__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]),l=t(r(d[3])),f=n.Dimensions.get('window'),c=f.width,h=f.height,u=n.PixelRatio.getPixelSizeForLayoutSize(c),s=n.PixelRatio.getPixelSizeForLayoutSize(h),b=u<=720?144:156,y=c/h*b-(s>1280&&s<=1920?6:0),p=n.StyleSheet.create({item:{flex:1,flexDirection:'row',justifyContent:'space-between',marginTop:8},detailsContainer:{flex:1},featuredUri:{fontFamily:'Inter-SemiBold',fontSize:24,color:l.default.White},featuredTitle:{fontFamily:'Inter-SemiBold',fontSize:u<=720?11:16,color:l.default.White},thumbnail:{backgroundColor:l.default.ThumbnailPlaceholder,width:b,height:y,marginRight:u<=720?10:12,alignItems:'center',justifyContent:'center'},channelThumbnailView:{width:b,height:y,marginRight:u<=720?10:12,alignItems:'center',justifyContent:'center'},channelThumbnailContainer:{width:y,height:y,borderRadius:140,overflow:'hidden',alignItems:'center',justifyContent:'center'},channelThumbnail:{width:'100%',height:'100%'},selectedOverlay:{position:'absolute',left:0,top:0,width:b,height:y,alignItems:'center',justifyContent:'center',backgroundColor:'#000000aa'},title:{fontFamily:'Inter-SemiBold',fontSize:u<=720?11:14},uri:{fontFamily:'Inter-SemiBold',fontSize:u<=720?11:14,marginBottom:8},publisher:{fontFamily:'Inter-SemiBold',fontSize:u<=720?10:12,marginTop:u<=720?1:3,color:l.default.LbryGreen},channelContainer:{alignItems:'center'},loading:{position:'absolute'},info:{marginTop:u<=720?1:2,flexDirection:'row',justifyContent:'space-between'},infoText:{fontFamily:'Inter-Regular',fontSize:u<=720?10:12,color:l.default.ChannelGrey},downloadInfo:{marginTop:2},progress:{marginTop:u<=720?1:4},progressCompleted:{backgroundColor:l.default.LbryGreen},progressRemaining:{backgroundColor:l.default.LbryGreen,opacity:.2},downloadedIcon:{position:'absolute',top:8,left:8},featuredDownloadedIcon:{position:'absolute',left:16,top:16},fileItem:{marginLeft:24,marginRight:24,marginBottom:48},fileItemMedia:{width:o.mediaWidth,height:o.mediaHeight,alignItems:'center',justifyContent:'center'},titleContainer:{flexDirection:'row',marginRight:16},rewardIcon:{color:l.default.NextLbryGreen,textAlign:'right',marginLeft:4,marginTop:4},filePriceContainer:{backgroundColor:l.default.NextLbryGreen,justifyContent:'center',alignItems:'center',flexDirection:'row',position:'absolute',left:b-60,top:4,width:56,height:24,borderRadius:4},filePriceText:{fontFamily:'Inter-Bold',fontSize:12,textAlign:'center',color:'#0c604b'},filePriceIcon:{marginRight:2,color:'#0c604b'}});e.default=p},738,[3,16,739,674]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.fileItemMediaHeight=e.fileItemMediaWidth=e.fileItemWidth=e.mediaHeight=e.mediaWidth=e.verticalMargin=e.horizontalMargin=e.screenHeight=e.screenWidth=void 0;var n=r(d[1]),o=t(r(d[2])),l=n.Dimensions.get('window'),f=l.width;e.screenWidth=f;var c=l.height;e.screenHeight=c;var u=n.PixelRatio.getPixelSizeForLayoutSize(f),s=n.PixelRatio.getPixelSizeForLayoutSize(c);e.horizontalMargin=48;var h=u>720&&s>1920?0:u<=720?20:16;e.verticalMargin=h;var I=f-48;e.mediaWidth=I;var y=f/c*(u<=720?f:I)-h;e.mediaHeight=y;var p=3*f/5;e.fileItemWidth=p;var x=p;e.fileItemMediaWidth=x;var w=9*p/16;e.fileItemMediaHeight=w;var S=n.StyleSheet.create({container:{flex:1,backgroundColor:o.default.PageBackground},drawerContentArea:{flex:1,backgroundColor:o.default.White},drawerContentContainer:{flex:1},scrollContainer:{flex:1},listHeader:{marginBottom:8,marginLeft:16,marginRight:16},titleRow:{flexDirection:'row',marginTop:76,marginBottom:8,alignItems:'center',justifyContent:'space-between'},pickerRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',marginBottom:8},leftPickerRow:{flexDirection:'row',alignItems:'center'},pageTitle:{fontFamily:'Inter-Regular',fontSize:24},customizeLink:{fontFamily:'Inter-Regular',fontSize:14},trendingContainer:{flex:1,marginTop:60,paddingTop:30},busyContainer:{flex:1,justifyContent:'center',alignItems:'center',flexDirection:'row'},title:{fontFamily:'Inter-Regular',fontSize:20,textAlign:'center',marginLeft:10},categoryTitleRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',marginLeft:16,marginRight:16,marginTop:6,marginBottom:6},footer:{marginTop:12,marginLeft:16,marginRight:16,marginBottom:56},footerTitle:{fontFamily:'Inter-Regular',fontSize:20,marginBottom:10},footerTags:{flexDirection:'row',flexWrap:'wrap'},footerTag:{marginRight:24,marginBottom:12},categoryName:{fontFamily:'Inter-SemiBold',fontSize:18,color:o.default.Black},fileItem:{width:p,marginRight:12},fileItemMore:{alignSelf:'flex-start',backgroundColor:o.default.LbryGreen,flexDirection:'row',width:p,height:w,marginRight:12,alignItems:'center',justifyContent:'center'},moreText:{fontFamily:'Inter-Regular',color:o.default.White,fontSize:24},moreIcon:{marginLeft:12,marginBottom:-4},fileItemMedia:{width:x,height:w,alignItems:'center',justifyContent:'center'},fileItemName:{fontFamily:'Inter-SemiBold',marginTop:8,fontSize:14},channelName:{fontFamily:'Inter-SemiBold',fontSize:12,marginTop:4,color:o.default.LbryGreen},anonChannelName:{fontFamily:'Inter-SemiBold',fontSize:12,marginTop:4,color:o.default.DescriptionGrey},downloadedIcon:{position:'absolute',right:8,top:8},filePriceContainer:{backgroundColor:o.default.NextLbryGreen,justifyContent:'center',alignItems:'center',flexDirection:'row',position:'absolute',right:8,top:8,width:56,height:24,borderRadius:4},filePriceText:{fontFamily:'Inter-Bold',fontSize:12,textAlign:'center',color:'#0c604b'},filePriceIcon:{marginRight:2,color:'#0c604b'},rightHeaderIcon:{marginRight:16},overlay:{flex:1,opacity:1,backgroundColor:'#222222',alignItems:'center',justifyContent:'center',padding:32,position:'absolute',left:0,top:0,right:0,bottom:0},overlayText:{color:o.default.White,fontSize:14,textAlign:'center',fontFamily:'Inter-Regular'},rewardTitleContainer:{alignItems:'center',flexDirection:'row',justifyContent:'space-between'},rewardIcon:{color:o.default.NextLbryGreen,flex:.1,textAlign:'right',marginTop:6},rewardTitle:{flex:.9},menuText:{fontFamily:'Inter-Regular',fontSize:16},titleText:{fontFamily:'Inter-Regular'},detailsRow:{flexDirection:'row',justifyContent:'space-between'},dateTime:{marginTop:2},dateTimeText:{fontFamily:'Inter-Regular',fontSize:12,color:o.default.DescriptionGrey},scrollPadding:{paddingBottom:24},listLoading:{flex:1,height:64,alignItems:'center',justifyContent:'center'},horizontalScrollContainer:{marginBottom:12},horizontalScrollPadding:{paddingLeft:20},verticalClaimList:{flex:1},tagPageTitle:{fontFamily:'Inter-Regular',fontSize:24},tagPageClaimList:{flex:1},tagTitleRow:{marginTop:76,marginLeft:16,marginRight:16,flexDirection:'row',alignItems:'center',justifyContent:'space-between'},tagSortBy:{flexDirection:'row',alignItems:'center',marginRight:24},allTagSortBy:{flexDirection:'row',alignItems:'center',marginRight:8},tagTime:{flexDirection:'row',alignItems:'center'},tagSortText:{fontFamily:'Inter-Regular',fontSize:14,marginRight:4},tagSortIcon:{marginTop:-6},pickerLabel:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.DescriptionGrey,marginRight:6},menuScrollContent:{},menuGroup:{marginTop:8,marginBottom:8},menuGroupName:{fontFamily:'Inter-Regular',fontSize:12,color:o.default.DescriptionGrey,textTransform:'uppercase',marginBottom:4,marginLeft:16,marginRight:16},menuItemTouchArea:{flex:1,flexDirection:'row',paddingTop:12,paddingBottom:12,paddingLeft:16,paddingRight:16,alignItems:'center'},menuItemTouchAreaFocused:{backgroundColor:o.default.VeryLightGrey},menuItemFocused:{color:o.default.LbryGreen},menuItemIcon:{alignItems:'center',justifyContent:'center',width:24},menuItem:{marginLeft:8,fontFamily:'Inter-Regular',fontSize:16},signInContainer:{backgroundColor:o.default.LbryGreen,height:140,padding:16},signInButton:{backgroundColor:o.default.White,alignSelf:'flex-start',position:'absolute',bottom:16,left:16},signedInEmail:{fontFamily:'Inter-SemiBold',fontSize:15,color:o.default.White},signedInAvatar:{backgroundColor:o.default.NextLbryGreen,width:80,height:80,marginBottom:12,borderRadius:160,overflow:'hidden',alignItems:'center',justifyContent:'center'},signedInAvatarImage:{width:'100%',height:'100%'},signInMenuItem:{paddingTop:16,paddingBottom:12,paddingLeft:16,paddingRight:16,marginBottom:6,borderBottomWidth:1},signInMenuItemBorder:{borderBottomColor:o.default.VeryLightGrey},signInMenuItemButton:{backgroundColor:o.default.LbryGreen,borderBottomColor:o.default.LbryGreen},signInMenuItemText:{color:o.default.DescriptionGrey,fontFamily:'Inter-SemiBold',fontSize:14,textAlign:'center'},signInMenuItemButtonText:{color:o.default.White,fontFamily:'Inter-SemiBold',fontSize:14,textAlign:'center'}});e.default=S},739,[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 o=r(d[1]),n=t(r(d[2])),l=o.StyleSheet.create({autothumb:{flex:1,width:'100%',height:200,justifyContent:'center',alignItems:'center'},autothumbText:{fontFamily:'Inter-SemiBold',textAlign:'center',color:n.default.White,fontSize:40},resolving:{alignItems:'center',flex:1,justifyContent:'center'},text:{color:'#ffffff',fontFamily:'Inter-Regular',fontSize:16,marginTop:8},image:{width:'100%',height:'100%'},thumbnail:{flex:1,width:'100%',height:200,shadowColor:'transparent'},duration:{backgroundColor:n.default.Black,position:'absolute',right:4,bottom:4,paddingLeft:2,paddingRight:2},durationText:{fontFamily:'Inter-SemiBold',fontSize:12,color:n.default.White}});e.default=l},740,[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 o=r(d[1]),n=r(d[2]),c=r(d[3]),f=t(r(d[4])),u=(0,o.connect)(function(t,o){return{costInfo:(0,c.makeSelectCostInfoForUri)(o.uri)(t),fetching:(0,c.makeSelectFetchingCostInfoForUri)(o.uri)(t),claim:(0,n.makeSelectClaimForUri)(o.uri)(t)}},function(t){return{fetchCostInfo:function(o){return t((0,c.doFetchCostInfoForUri)(o))}}})(f.default);e.default=u},741,[3,378,401,408,742]); -__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])),o=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),n=t(r(d[5])),f=t(r(d[6])),p=t(r(d[7])),c=r(d[8]),h=r(d[9]),y=t(r(d[10])),v=(function(t){function p(){return(0,l.default)(this,p),(0,s.default)(this,(0,u.default)(p).apply(this,arguments))}return(0,n.default)(p,t),(0,o.default)(p,[{key:"render",value:function(){var t,l,o=Math.pow(10,-1*this.props.precision),s=this.props,u=s.amount,n=s.precision,p=s.showFullPrice,y=s.style,v=(0,h.formatFullPrice)(u,2);if(t=p?v:u>0&&u0&&(l="+"+l)}return f.default.createElement(c.Text,{style:y,numberOfLines:1},l)}}]),p})(f.default.PureComponent);v.propTypes={amount:p.default.number.isRequired,precision:p.default.number,isEstimate:p.default.bool,label:p.default.oneOfType([p.default.string,p.default.bool]),showFree:p.default.bool,showFullPrice:p.default.bool,showPlus:p.default.bool,look:p.default.oneOf(['indicator','plain','fee'])},v.defaultProps={precision:2,label:!0,showFree:!1,look:'indicator',showFullPrice:!1,showPlus:!1};var F=(function(t){function p(){return(0,l.default)(this,p),(0,s.default)(this,(0,u.default)(p).apply(this,arguments))}return(0,n.default)(p,t),(0,o.default)(p,[{key:"componentWillMount",value:function(){var t=this.props.cost;isNaN(parseFloat(t))&&this.fetchCost(this.props)}},{key:"componentWillReceiveProps",value:function(t){var l=this.props.cost;isNaN(parseFloat(l))&&this.fetchCost(t)}},{key:"fetchCost",value:function(t){var l=t.costInfo,o=t.fetchCostInfo,s=t.uri,u=t.fetching,n=t.claim;void 0===l&&!u&&n&&o(s)}},{key:"render",value:function(){var t=this.props,l=t.cost,o=t.costInfo,s=(t.look,t.showFullPrice),u=void 0!==s&&s,n=t.style,p=t.iconStyle,h=t.textStyle,F=o?!o.includesData:null,b=l?parseFloat(l):o?parseFloat(o.cost):0;return isNaN(b)||0===b?null:f.default.createElement(c.View,{style:n},f.default.createElement(y.default,{name:"coins",size:9,style:p}),f.default.createElement(v,{style:h,label:!1,amount:b,isEstimate:F,showFree:!0,showFullPrice:u}))}}]),p})(f.default.PureComponent);e.default=F},742,[3,4,5,6,8,9,12,67,16,401,502]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=n(r(d[2])),l=(0,t.connect)(null,function(n){return{}})(u.default);e.default=l},743,[3,378,744]); -__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])),s=t(r(d[6])),c=r(d[7]),y=t(r(d[8])),p=(function(t){function p(){return(0,u.default)(this,p),(0,n.default)(this,(0,o.default)(p).apply(this,arguments))}return(0,f.default)(p,t),(0,l.default)(p,[{key:"render",value:function(){return s.default.createElement(c.TouchableOpacity,{style:y.default.overlay,activeOpacity:1,onPress:this.props.onPress},s.default.createElement(c.Text,{style:y.default.overlayText},__('This content is Not Safe For Work. To view adult content, please change your Settings.')))}}]),p})(s.default.PureComponent);e.default=p},744,[3,4,5,6,8,9,12,16,739]); -__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]),o=r(d[2]),n=r(d[3]),s=r(d[4]),u=r(d[5]),c=t(r(d[6])),f=(0,l.connect)(function(t,l){return{blackListedOutpoints:(0,s.selectBlackListedOutpoints)(t),claim:(0,o.makeSelectClaimForUri)(l.uri)(t),fileInfo:(0,o.makeSelectFileInfoForUri)(l.uri)(t),filteredOutpoints:(0,s.selectFilteredOutpoints)(t),isDownloaded:!!(0,o.makeSelectFileInfoForUri)(l.uri)(t),metadata:(0,o.makeSelectMetadataForUri)(l.uri)(t),nsfw:(0,o.makeSelectClaimIsNsfw)(l.uri)(t),isResolvingUri:(0,o.makeSelectIsUriResolving)(l.uri)(t),obscureNsfw:!(0,u.selectShowNsfw)(t),rewardedContentClaimIds:(0,s.selectRewardContentClaimIds)(t),shortUrl:(0,o.makeSelectShortUrlForUri)(l.uri)(t),title:(0,o.makeSelectTitleForUri)(l.uri)(t),thumbnail:(0,o.makeSelectThumbnailForUri)(l.uri)(t)}},function(t){return{resolveUri:function(l){return t((0,o.doResolveUri)(l))},setPlayerVisible:function(l,o){return t((0,n.doSetPlayerVisible)(l,o))}}})(c.default);e.default=f},745,[3,378,401,492,408,409,746]); -__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])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),y=r(d[8]),h=r(d[9]),p=t(r(d[10])),v=t(r(d[11])),E=t(r(d[12])),b=t(r(d[13])),w=t(r(d[14])),T=t(r(d[15])),_=t(r(d[16])),P=t(r(d[17])),U=t(r(d[18])),x=t(r(d[19])),S=t(r(d[20])),I=t(r(d[21])),C=t(r(d[22])),V=(function(t){function V(){var t,n;(0,l.default)(this,V);for(var s=arguments.length,f=new Array(s),c=0;c0&&f.default.createElement(y.Text,{style:C.default.infoText},(0,h.getStorageForFileInfo)(R)),f.default.createElement(w.default,{style:C.default.publishInfo,textStyle:C.default.infoText,timeAgo:!0,uri:J})),R&&R.download_path&&f.default.createElement(y.View,{style:C.default.downloadInfo},!R.completed&&f.default.createElement(I.default,{borderRadius:3,color:p.default.NextLbryGreen,height:3,style:C.default.progress,progress:(0,h.getDownloadProgress)(R)})))),K&&f.default.createElement(S.default,{onPress:function(){return H.navigate({routeName:'Settings',key:'settingsPage'})}}))}}]),V})(f.default.PureComponent);e.default=V},746,[3,4,5,6,8,9,12,401,16,410,674,682,685,493,732,693,734,741,502,498,743,747,738]); -__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},747,[3,378,748]); -__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])),o=t(r(d[3])),n=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),h=r(d[8]),p=(function(t){function c(){return(0,u.default)(this,c),(0,o.default)(this,(0,n.default)(c).apply(this,arguments))}return(0,s.default)(c,t),(0,l.default)(c,[{key:"render",value:function(){var t=this.props,u=t.borderRadius,l=t.color,o=t.height,n=t.progress,s=t.style,c=Math.ceil(n),p=[];return s&&(s.length?p=p.concat(s):p.push(s)),p.push({borderRadius:u||5,flexDirection:'row',height:o||5,overflow:'hidden'}),f.default.createElement(h.View,{style:p},f.default.createElement(h.View,{style:{backgroundColor:l,borderRadius:u||5,flex:c}}),f.default.createElement(h.View,{style:{backgroundColor:l,opacity:.2,flex:100-c}}))}}]),c})(f.default.PureComponent);p.propTypes={borderRadius:c.default.number,color:c.default.string.isRequired,height:c.default.number,progress:function(t,u,l){var o=parseInt(t[u],10);if(isNaN(o)||t[u]<0||t[u]>100)return new Error('progress should be between 0 and 100')},style:c.default.any};var b=p;e.default=b},748,[3,4,5,6,8,9,12,67,16]); -__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({horizontalScrollContainer:{marginBottom:12},horizontalScrollPadding:{paddingLeft:16},verticalScrollContainer:{flex:1},noContentText:{color:o.default.DescriptionGrey,fontFamily:'Inter-Regular',fontSize:14,margin:16,textAlign:'center'},verticalScrollPadding:{paddingBottom:16},verticalListItem:{flex:1,flexDirection:'row',justifyContent:'space-between',marginLeft:8,marginRight:8,marginTop:4,marginBottom:4},verticalLoading:{width:'100%',height:48,alignItems:'center',justifyContent:'center'}});e.default=l},749,[3,16,674]); -__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 l=r(d[1]),T=r(d[2]),t=o(r(d[3])),s=(0,l.connect)(function(o){return{unfollowedTags:(0,T.selectUnfollowedTags)(o),followedTags:(0,T.selectFollowedTags)(o)}},{doToggleTagFollow:T.doToggleTagFollow,doAddTag:T.doAddTag,doDeleteTag:T.doDeleteTag,doReplaceTags:T.doReplaceTags,doToast:T.doToast})(t.default);e.default=s},750,[3,378,401,751]); -__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])),o=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),p=r(d[8]),w=t(r(d[9])),y=(t(r(d[10])),t(r(d[11])),t(r(d[12])),t(r(d[13]))),v=t(r(d[14])),T=t(r(d[15])),h=2,_=(function(t){function _(){var t,o;(0,l.default)(this,_);for(var u=arguments.length,f=new Array(u),p=0;p0?this.setState({selectedItem:l[0]}):this.setState({selectedItem:n})}},{key:"componentWillReceiveProps",value:function(t){var l=this.props.selectedItem,n=t.selectedItem;n&&n.name!==l.name&&this.setState({selectedItem:n})}},{key:"render",value:function(){var t=this.props,l=t.items,n=t.onItemSelected,u=t.title,s=t.onOverlayPress,c=this.state.selectedItem;return f.default.createElement(o.TouchableOpacity,{style:y.default.overlay,activeOpacity:1,onPress:s},f.default.createElement(o.View,{style:y.default.container},f.default.createElement(o.Text,{style:y.default.title},u),f.default.createElement(o.View,{style:y.default.divider}),f.default.createElement(o.View,{style:y.default.list},l.length&&l.map(function(t){return f.default.createElement(o.TouchableOpacity,{key:t.name,style:y.default.listItem,onPress:function(){return n(t)}},t.icon&&f.default.createElement(v.default,{style:y.default.itemIcon,name:t.icon,size:16}),f.default.createElement(o.Text,{style:y.default.itemLabel},__(t.label)),c&&c.name===t.name&&f.default.createElement(v.default,{style:y.default.itemSelected,name:'check',color:p.default.LbryGreen,size:16}))}))))}}]),h})(f.default.PureComponent);e.default=h},754,[3,4,5,6,8,9,12,16,755,674,493,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]),l=t(r(d[2])),n=o.StyleSheet.create({overlay:{backgroundColor:'#00000055',flex:1,position:'absolute',left:0,right:0,top:0,bottom:0,zIndex:300},overlayTouchArea:{position:'absolute',left:0,right:0,top:0,bottom:0},container:{position:'absolute',left:8,right:8,bottom:8,borderRadius:8,backgroundColor:l.default.White,padding:12},title:{fontFamily:'Inter-SemiBold',fontSize:12,marginTop:4,textTransform:'uppercase'},listItem:{paddingTop:10,paddingBottom:10,flexDirection:'row',alignItems:'center'},divider:{marginTop:12,marginBottom:8,borderBottomColor:l.default.LighterGrey,borderBottomWidth:1,width:'100%'},itemIcon:{marginLeft:8,marginRight:4},itemLabel:{marginLeft:8,alignSelf:'flex-start',fontFamily:'Inter-Regular',fontSize:16},itemSelected:{position:'absolute',right:8}});e.default=n},755,[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]),l=r(d[2]),o=r(d[3]),s=r(d[4]),u=r(d[5]),c=t(r(d[6])),f=t(r(d[7])),h=(0,n.connect)(function(t){return{claims:(0,l.selectMyClaimsWithoutChannels)(t),currentRoute:(0,u.selectCurrentRoute)(t),fileInfos:(0,l.selectFileInfosDownloaded)(t),downloadedUris:(0,l.selectDownloadedUris)(t),fetching:(0,l.selectIsFetchingFileList)(t)||(0,l.selectIsFetchingClaimListMine)(t)}},function(t){return{deleteFile:function(n,l,o){t((0,s.doDeleteFile)(n,l,o))},fetchMyClaims:function(){return t((0,l.doFetchClaimListMine)())},fileList:function(){return t((0,l.doFileList)())},pushDrawerStack:function(){return t((0,o.doPushDrawerStack)(c.default.DRAWER_ROUTE_MY_LBRY))},setPlayerVisible:function(){return t((0,o.doSetPlayerVisible)(!1))}}})(f.default);e.default=h},756,[3,378,401,492,757,496,493,758]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.doStartDownload=function(n,u,f){return function(l,s){var p=s();if(!u)throw new Error('outpoint is required to begin a download');var _=p.fileInfo.downloadingByOutpoint,D=void 0===_?{}:_;D[u]||(l({type:t.ACTIONS.DOWNLOADING_STARTED,data:{uri:n,outpoint:u,fileInfo:f}}),l((0,o.doClaimEligiblePurchaseRewards)()))}},e.doUpdateDownload=function(o,n,u,f){return function(l){l({type:t.ACTIONS.DOWNLOADING_PROGRESSED,data:{uri:o,outpoint:n,fileInfo:u,progress:f}})}},e.doCompleteDownload=function(o,n,u){return function(f){u.completed&&f({type:t.ACTIONS.DOWNLOADING_COMPLETED,data:{uri:o,outpoint:n,fileInfo:u}})}},e.doStopDownloadingFile=function(o,u){return function(f){var l={status:'stop'};u&&(u.sd_hash&&(l.sd_hash=u.sd_hash),u.stream_hash&&(l.stream_hash=u.stream_hash),t.Lbry.file_set_status(l).then(function(){f({type:t.ACTIONS.DOWNLOADING_CANCELED,data:{uri:o,outpoint:u.outpoint}}),f(n(u.outpoint,o))}))}},e.doSetPlayingUri=function(o){return function(n){n({type:t.ACTIONS.SET_PLAYING_URI,data:{uri:o}})}},e.doDeleteFile=n;var t=r(d[0]),o=r(d[1]);r(d[2]);function n(o,n,u){return function(u,f){t.Lbry.file_delete({outpoint:o,delete_from_download_dir:n}),u({type:t.ACTIONS.FILE_DELETE,data:{outpoint:o}})}}},757,[401,408,16]); -__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])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=t(r(d[7])),p=r(d[8]),v=r(d[9]),h=r(d[10]),y=t(r(d[11])),M=t(r(d[12])),_=(t(r(d[13])),t(r(d[14]))),I=t(r(d[15])),E=t(r(d[16])),U=t(r(d[17])),C=t(r(d[18])),F=t(r(d[19])),R=t(r(d[20])),P=(function(t){function P(){var t,o;(0,l.default)(this,P);for(var c=arguments.length,f=new Array(c),h=0;h0,selectedUris:u,selectedClaimsMap:s})},o.handleSelectItem=function(t,n){o.addOrRemoveItem(t,n)},o.handleItemLongPress=function(t,n){o.addOrRemoveItem(t,n)},o.onExitSelectionMode=function(){o.setState({selectionMode:!1,selectedUris:[],selectedClaimsMap:{}})},o.onDeleteActionPressed=function(){var t=o.props,n=t.deleteFile,l=t.fileList,s=o.state.selectedClaimsMap;v.Alert.alert(__('Delete files'),__('Are you sure you want to delete the selected content?'),[{text:__('No')},{text:__('Yes'),onPress:function(){Object.keys(s).forEach(function(t){var l=s[t],o=l.txid,u=l.nout,c=l.name,f=l.claim_id;c&&f&&v.NativeModules.UtilityModule.deleteDownload((0,p.normalizeURI)(c+"#"+f)),n(o+":"+u,!0)}),o.onExitSelectionMode(),l()}}],{cancelable:!0})},o}return(0,c.default)(P,t),(0,o.default)(P,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove()}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=t.currentRoute,l=this.props.currentRoute;M.default.DRAWER_ROUTE_MY_LBRY===n&&n!==l&&this.onComponentFocused()}},{key:"render",value:function(){var t=this,n=this.props,l=n.fetching,o=(n.claims,n.downloadedUris),s=(n.fileInfos,n.navigation),u=this.state,c=u.selectionMode,p=u.selectedUris,M=this.getFilteredUris(),P=M&&M.length>0;return f.default.createElement(v.View,{style:F.default.container},f.default.createElement(C.default,{navigation:s,selectionMode:c,selectedItemCount:p.length,onExitSelectionMode:this.onExitSelectionMode,onDeleteActionPressed:this.onDeleteActionPressed}),!l&&!P&&f.default.createElement(_.default,{message:__('You do not have any\ndownloaded content on this device.')}),f.default.createElement(v.View,{style:F.default.subContainer},P&&f.default.createElement(U.default,{fileInfos:this.getFilteredFileInfos()}),l&&f.default.createElement(v.View,{style:F.default.busyContainer},f.default.createElement(v.ActivityIndicator,{size:"large",color:y.default.NextLbryGreen,style:F.default.loading})),!l&&P&&f.default.createElement(v.FlatList,{extraData:this.state,style:F.default.scrollContainer,contentContainerStyle:F.default.scrollPadding,renderItem:function(n){var l=n.item;return f.default.createElement(I.default,{autoplay:!0,key:l,uri:l,style:R.default.item,selected:p.includes(l),onPress:function(n){c?t.handleSelectItem(l,n):(0,h.navigateToUri)(s,l,{autoplay:!0},!1,null)},onLongPress:function(n){return t.handleItemLongPress(l,n)},navigation:s})},data:o,keyExtractor:function(t,n){return t}})),f.default.createElement(E.default,{navigation:s}))}}]),P})(f.default.PureComponent);P.navigationOptions={title:'Downloads'};var w=P;e.default=w},758,[3,31,4,5,6,8,9,12,401,16,410,674,493,500,689,745,694,759,705,762,738]); -__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},759,[3,378,760]); -__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])),s=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),n=t(r(d[5])),f=t(r(d[6])),y=(r(d[7]),r(d[8])),c=r(d[9]),h=(t(r(d[10])),t(r(d[11]))),w=(function(t){function w(){var t,s;(0,l.default)(this,w);for(var n=arguments.length,f=new Array(n),y=0;y0&&f.default.createElement(y.View,{style:[h.default.row,h.default.legendItem]},f.default.createElement(y.View,{style:[h.default.legendBox,h.default.audioDistribution]}),f.default.createElement(y.Text,{style:h.default.legendText},__('Audio')),f.default.createElement(y.Text,{style:h.default.legendSize},(0,c.formatBytes)(this.state.totalAudioBytes,2))),this.state.totalImageBytes>0&&f.default.createElement(y.View,{style:[h.default.row,h.default.legendItem]},f.default.createElement(y.View,{style:[h.default.legendBox,h.default.imageDistribution]}),f.default.createElement(y.Text,{style:h.default.legendText},__('Images')),f.default.createElement(y.Text,{style:h.default.legendSize},(0,c.formatBytes)(this.state.totalImageBytes,2))),this.state.totalVideoBytes>0&&f.default.createElement(y.View,{style:[h.default.row,h.default.legendItem]},f.default.createElement(y.View,{style:[h.default.legendBox,h.default.videoDistribution]}),f.default.createElement(y.Text,{style:h.default.legendText},__('Videos')),f.default.createElement(y.Text,{style:h.default.legendSize},(0,c.formatBytes)(this.state.totalVideoBytes,2))),this.state.totalOtherBytes>0&&f.default.createElement(y.View,{style:[h.default.row,h.default.legendItem]},f.default.createElement(y.View,{style:[h.default.legendBox,h.default.otherDistribution]}),f.default.createElement(y.Text,{style:h.default.legendText},__('Other')),f.default.createElement(y.Text,{style:h.default.legendSize},(0,c.formatBytes)(this.state.totalOtherBytes,2))))))}}]),w})(f.default.PureComponent);e.default=w},760,[3,4,5,6,8,9,12,401,16,410,674,761]); -__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},row:{flexDirection:'row'},card:{backgroundColor:o.default.White,marginTop:16,marginLeft:16,marginRight:16,padding:16},totalSize:{fontFamily:'Inter-Regular',fontSize:36},annotation:{fontFamily:'Inter-Regular',fontSize:14,marginTop:-4},statsText:{fontFamily:'Inter-Regular',fontSize:14},distributionBar:{flexDirection:'row',width:'100%',height:8,marginTop:16,marginBottom:16},audioDistribution:{backgroundColor:o.default.StatsAudio},imageDistribution:{backgroundColor:o.default.StatsImage},videoDistribution:{backgroundColor:o.default.LbryGreen},otherDistribution:{backgroundColor:o.default.StatsOther},legendItem:{alignItems:'center',marginBottom:8,justifyContent:'space-between'},legendBox:{width:16,height:16},legendText:{fontFamily:'Inter-Regular',fontSize:14,flex:.3},legendSize:{fontFamily:'Inter-Regular',fontSize:14,flex:.6,textAlign:'right'},statsToggle:{marginLeft:8},summary:{flex:.5,alignSelf:'flex-start'},toggleStatsContainer:{flex:.5,alignItems:'center',justifyContent:'flex-end'}});e.default=l},761,[3,16,674]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),o=n(r(d[2])),l=t.StyleSheet.create({container:{flex:1,backgroundColor:o.default.PageBackground},busyContainer:{flex:1,justifyContent:'center',alignItems:'center',flexDirection:'row'},subContainer:{flex:1,marginTop:60},itemList:{flex:1},scrollContainer:{flex:1,paddingLeft:16,paddingRight:16,marginTop:16},scrollPadding:{marginTop:-16,paddingBottom:16},noDownloadsText:{fontFamily:'Inter-Regular',fontSize:16,lineHeight:24,marginLeft:16,marginRight:16},loading:{position:'absolute'}});e.default=l},762,[3,16,674]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=r(d[2]),c=r(d[3]),l=n(r(d[4])),f=(0,t.connect)(function(n){return{channels:(0,u.selectMyChannelClaims)(n),user:(0,c.selectUser)(n)}},function(n){return{fetchChannelListMine:function(){return n((0,u.doFetchChannelListMine)(1,99999,!0))}}})(l.default);e.default=f},763,[3,378,401,408,764]); -__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])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),E=r(d[8]),R=(t(r(d[9])),t(r(d[10]))),_=t(r(d[11])),I=(t(r(d[12])),t(r(d[13]))),T={'Find content':[{icon:'heart',solid:!0,label:'Following',route:R.default.DRAWER_ROUTE_SUBSCRIPTIONS},{icon:'hashtag',label:'Your Tags',route:R.default.DRAWER_ROUTE_DISCOVER},{icon:'globe-americas',label:'All Content',route:R.default.DRAWER_ROUTE_TRENDING}],'Your content':[{icon:'at',label:'Channels',route:R.default.DRAWER_ROUTE_CHANNEL_CREATOR},{icon:'download',label:'Library',route:R.default.DRAWER_ROUTE_MY_LBRY},{icon:'cloud-upload-alt',label:'Publishes',route:R.default.DRAWER_ROUTE_PUBLISHES},{icon:'upload',label:'New Publish',route:R.default.DRAWER_ROUTE_PUBLISH}],Wallet:[{icon:'wallet',label:'Wallet',route:R.default.DRAWER_ROUTE_WALLET},{icon:'award',label:'Rewards',route:R.default.DRAWER_ROUTE_REWARDS},{icon:'user-friends',label:'Invites',route:R.default.DRAWER_ROUTE_INVITES}],Settings:[{icon:'cog',label:'Settings',route:R.default.DRAWER_ROUTE_SETTINGS},{icon:'info',label:'About',route:R.default.DRAWER_ROUTE_ABOUT}]},b=Object.keys(T),y=(function(t){function y(){var t,n;(0,l.default)(this,y);for(var s=arguments.length,f=new Array(s),c=0;co;l.setState({isLandscape:s}),l.playerBackground&&(s?l.playerBackground.setNativeProps({height:o-p.StyleSheet.flatten(W.default.uriContainer).height}):l.state.playerBgHeight>0&&l.playerBackground.setNativeProps({height:l.state.playerBgHeight}))}},l.onMediaLoaded=function(t,n,o){l.setState({mediaLoaded:!0}),window.currentMediaInfo={channel:t,title:n,uri:o}},l.onPlaybackStarted=function(){var t,n;l.startTime&&(t=Date.now()-l.startTime,n=Math.ceil(t/1e3),l.startTime=null);var o=l.props,s=o.claim,u=o.navigation.state.params.uri;l.logFileView(u,s,t);var c={uri:u};isNaN(n)||(c.time_to_start_seconds=parseInt(n,10),c.time_to_start_ms=parseInt(t,10)),p.NativeModules.Firebase.track('play',c),l.setState({playbackStarted:!0,showRecommended:!0})},l.onPlaybackFinished=function(){l.scrollView&&l.state.relatedContentY&&l.scrollView.scrollTo({x:0,y:l.state.relatedContentY,animated:!0})},l.setRelatedContentPosition=function(t){l.state.relatedContentY||l.setState({relatedContentY:t.nativeEvent.layout.y})},l.logFileView=function(t,n,o){if(n){var s=l.props.claimEligibleRewards,u=n.nout,c=n.claim_id,f={uri:t,outpoint:n.txid+":"+u,claim_id:c};isNaN(o)||(f.time_to_start=o),h.Lbryio.call('file','view',f).then(function(){return s()}).catch(function(){}),l.setState({fileViewLogged:!0})}},l.handleSharePress=function(){var t=l.props,n=t.claim;t.notify;if(n){var o=n.canonical_url,s=n.short_url,u=n.permanent_url,c=T.default.SHARE_BASE_URL+(0,y.formatLbryUrlForWeb)(o||s||u);p.NativeModules.UtilityModule.shareUrl(c)}},l.renderTags=function(t){var n=l.props.navigation;return t.map(function(t,l){return c.default.createElement(P.default,{style:O.default.tagItem,key:t+"-"+l,name:t,navigation:n})})},l.confirmPurchaseUri=function(t,n,o){var s=l.props,u=s.notify,c=s.purchaseUri,f=s.title;if(!n)return u({message:__('This content cannot be viewed at this time. Please try again in a bit.'),isError:!0}),l.setState({downloadPressed:!1}),void l.fetchCostInfo(t,l.props);var h=n.cost;n.cost>0?p.Alert.alert(__('Confirm Purchase'),__(1===h?'This will purchase "%title%" for %amount% credit':'This will purchase "%title%" for %amount% credits',{title:f,amount:h}),[{text:__('OK'),onPress:function(){l.startTime=Date.now(),c(t,n,o)}},{text:__('Cancel')}]):(l.startTime=Date.now(),c(t,n,o))},l.onFileDownloadButtonPressed=function(){l.startTime=Date.now();var t=l.props,n=(t.claim,t.costInfo),o=t.contentType,s=(t.setPlayerVisible,f.Lbry.getMediaType(o)),u='video'===s||'audio'===s,c='image'===s||'text'===s,h=l.getPurchaseUrl();p.NativeModules.Firebase.track('purchase_uri',{uri:h}),u?l.confirmPurchaseUri(h,n,!u):l.onDownloadPressed(),u&&l.setState({downloadPressed:!0,autoPlayMedia:!0,stopDownloadConfirmed:!1}),c&&l.setState({downloadPressed:!0})},l.getPurchaseUrl=function(){var t,n=l.props,o=n.claim,s=n.navigation,u=o?o.permanent_url:null;if(s.state.params){var c=s.state.params,f=c.uri;t=c.fullUri||u||f}return!t&&u&&(t=u),t},l.onDownloadPressed=function(){var t=l.props,n=t.claim,o=t.title,s=n&&n.value&&n.value.source?n.value.source.size:0;p.Alert.alert(__('Download file'),s>0?__('Save "%title%" (%size%) to your device',{title:o,size:(0,y.formatBytes)(s,0)}):__('Save "%title%" to your device',{title:o}),[{text:__('No')},{text:__('Yes'),onPress:function(){l.checkStoragePermissionForDownload()}}],{cancelable:!0})},l.checkStoragePermissionForDownload=function(){p.NativeModules.UtilityModule.canReadWriteStorage().then(function(t){t?l.performDownload():p.NativeModules.UtilityModule.requestStoragePermission()})},l.performDownload=function(){var t=l.props,n=(t.claim,t.costInfo),o=t.fileGet,s=t.fileInfo,u=t.purchasedUris;l.setState({downloadPressed:!0,autoPlayMedia:!1,stopDownloadConfirmed:!1},function(){var t=l.getPurchaseUrl();s||u.includes(t)?l.setState({fileGetStarted:!0},function(){return o(t,!0)}):l.confirmPurchaseUri(t,n,!0),p.NativeModules.UtilityModule.checkDownloads()})},l.onBackButtonPressed=function(){var t=l.props,n=t.navigation,o=t.drawerStack,s=t.popDrawerStack,u=t.setPlayerVisible;(0,y.navigateBack)(n,o,s,u)},l.onOpenFilePressed=function(){var t=l.props,n=t.contentType,o=t.fileInfo,s=t.notify,u=l.localUriForFileInfo(o),c=f.Lbry.getMediaType(n),h='video'===c||'audio'===c;'image'===c||'text'===c?l.openFile(u,c,n):s(h?{message:__('Please press the Play button.')}:{message:__('This file cannot be displayed in the LBRY app.')})},l.openFile=function(t,n,o){var s=l.props.pushDrawerStack,u='text'===n;'image'===n&&(l.state.showImageViewer||l.setState({imageUrls:[{url:t}],showImageViewer:!0,showRecommended:!0},function(){return s(T.default.DRAWER_ROUTE_FILE_VIEW)})),u&&(l.state.showWebView||l.setState({showWebView:!0,showRecommended:!0},function(){s(T.default.DRAWER_ROUTE_FILE_VIEW)}))},l.handleWebViewLoad=function(){var t=l.props,n=t.contentType,o=t.fileInfo,s=l.localUriForFileInfo(o);l.webView&&['text/markdown','text/md'].includes(n)&&A.default.readFile(s,'utf8').then(function(t){if(l.webView){l.converter||(l.converter=new z.default.Converter);var n=l.converter.makeHtml(t);l.webView.injectJavaScript('document.getElementById("content").innerHTML = \''+n.replace(/\n/g,'').replace(/'/g,"\\'")+"'; true;")}})},l.handleWebViewMessage=function(t){var n=t.nativeEvent.data;n&&n.startsWith('http')&&p.Linking.openURL(n)},l.buildWebViewSource=function(){var t=l.props,n=t.contentType,o=t.fileInfo,s=l.localUriForFileInfo(o);if(['text/markdown','text/md'].includes(n)){var u='';return'android'===p.Platform.OS&&(u="\n @font-face {\n font-family: 'Inter';\n src: url('file:///android_asset/fonts/Inter-Regular.otf');\n font-weight: normal;\n }\n @font-face {\n font-family: 'Inter;\n src: url('file:///android_asset/fonts/Inter-Bold.otf');\n font-weight: bold;\n }\n "),{html:"\n \n \n \n \n \n \n \n \n
\n \n \n "}}return{uri:s}},l.state={attemptAutoGet:!1,autoOpened:!1,autoDownloadStarted:!1,autoPlayMedia:!1,creditsInputFocused:!1,downloadButtonShown:!1,downloadPressed:!1,didSearchRecommended:!1,fileViewLogged:!1,fullscreenMode:!1,fileGetStarted:!1,hasCheckedAllResolved:!1,imageUrls:null,isLandscape:!1,mediaLoaded:!1,pageSuspended:!1,relatedContentY:0,sendTipStarted:!1,showDescription:!1,showImageViewer:!1,showWebView:!1,showTipView:!1,playbackStarted:!1,playerBgHeight:0,playerHeight:0,uri:null,uriVars:null,showRecommended:!1,stopDownloadConfirmed:!1,streamingMode:!1,viewCountFetched:!1,isRepost:!1,uriPushedToDrawerStack:!1},l}return(0,u.default)(G,t),(0,l.default)(G,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=this.props,l=n.claim,o=n.currentRoute,s=(n.failedPurchaseUris,n.fetchViewCount),u=n.purchasedUris,c=n.purchaseUriErrorMessage,h=(n.navigation,n.contentType),w=n.notify,y=n.drawerStack,v=t.currentRoute,_=t.failedPurchaseUris,E=t.fileInfo,P=t.purchasedUris,b=t.purchaseUriErrorMessage,S=t.streamingUrl,U=t.drawerStack,I=(t.resolveUris,this.getPurchaseUrl());T.default.ROUTE_FILE===o&&o!==v&&this.onComponentFocused(),_.includes(I)&&c!==b&&(b&&b.trim().length>0&&w({message:b,isError:!0}),this.setState({downloadPressed:!1,fileViewLogged:!1,mediaLoaded:!1,showRecommended:!0}));var M=f.Lbry.getMediaType(h),k='video'===M||'audio'===M;if(this.state.fileGetStarted||u.length!==P.length){var V=l.permanent_url,D=l.nout,R=l.txid+":"+D;this.state.fileGetStarted&&(p.NativeModules.UtilityModule.queueDownload(R),this.setState({fileGetStarted:!1})),(P.includes(I)||P.includes(V))&&(k||this.state.fileViewLogged||this.logFileView(I,l)),p.NativeModules.UtilityModule.checkDownloads()}E&&(!E||E.completed)||this.state.streamingMode||!k||(S?this.setState({streamingMode:!0,currentStreamUrl:S}):E&&E.streaming_url&&this.setState({streamingMode:!0,currentStreamUrl:E.streaming_url})),y[y.length-1].route===T.default.DRAWER_ROUTE_FILE_VIEW&&y.length!==U.length&&this.setState({downloadPressed:!1,showImageViewer:!1,showWebView:!1}),l&&!this.state.viewCountFetched&&this.setState({viewCountFetched:!0},function(){return s(l.claim_id)})}},{key:"shouldComponentUpdate",value:function(t,n){for(var l=this.props.fileInfo,o=t.fileInfo,s=['balance','viewCount','isResolvingUri'],u=['downloadPressed','fullscreenMode','mediaLoaded','playerBgHeighht','playerHeight','relatedY','showTipView','showImageViewer','showWebView','showDescription','showRecommended','uri'],c=0;c0)}},{key:"componentDidUpdate",value:function(t,n){var l=this,o=this.props,s=o.claim,u=o.contentType,c=o.costInfo,h=o.fileInfo,w=o.isResolvingUri,y=o.resolveUri,v=(o.navigation,o.title,this.state.uri);if(!w&&void 0===s&&v&&y(v),t.claim||!s){if(this.state.mediaLoaded&&window.currentMediaInfo&&window.currentMediaInfo.uri!==this.state.uri){var _=this.props.metadata;window.currentMediaInfo={channel:s?s.channel_name:null,title:_?_.title:s.name,uri:this.state.uri}}var E=f.Lbry.getMediaType(u),P='video'===E||'audio'===E,b='image'===E||'text'===E;s&&c&&0===c.cost&&!this.state.autoGetAttempted&&b&&this.setState({autoGetAttempted:!0},function(){return l.checkStoragePermissionForDownload()}),!(c&&c.cost>0)&&P||h||b||this.state.showRecommended||this.setState({showRecommended:!0}),!h&&!this.state.autoDownloadStarted&&s&&c&&0===c.cost&&(P||this.state.uriVars&&'true'===this.state.uriVars.download)&&this.setState({autoDownloadStarted:!0},function(){P?l.confirmPurchaseUri(s.permanent_url,c,!P):l.checkStoragePermissionForDownload(),p.NativeModules.UtilityModule.checkDownloads()})}else this.checkRepost()}},{key:"fetchFileInfo",value:function(t,n){void 0===n.fileInfo&&n.fetchFileInfo(t)}},{key:"fetchCostInfo",value:function(t,n){void 0===n.costInfo&&n.fetchCostInfo(t)}},{key:"componentWillUnmount",value:function(){if(p.StatusBar.setHidden(!1),p.NativeModules.ScreenOrientation&&p.NativeModules.ScreenOrientation.unlockOrientation(),p.NativeModules.UtilityModule){var t=p.NativeModules.UtilityModule;t.keepAwakeOff(),t.showNavigationBar()}this.didFocusListener&&this.didFocusListener.remove(),window.currentMediaInfo&&(window.currentMediaInfo=null),p.DeviceEventEmitter.removeListener('onDownloadAborted',this.handleDownloadAborted),p.DeviceEventEmitter.removeListener('onStoragePermissionGranted',this.handleStoragePermissionGranted),p.DeviceEventEmitter.removeListener('onStoragePermissionRefused',this.handleStoragePermissionRefused)}},{key:"render",value:function(){var t=this,n=this.props,l=n.balance,o=n.claim,s=n.channels,u=(n.channelUri,n.costInfo),h=n.fileInfo,P=n.metadata,W=n.contentType,A=(n.tab,n.rewardedContentClaimIds),z=n.isPlayerVisible,H=n.isResolvingUri,G=n.blackListedOutpoints,Y=n.myClaimUris,j=n.navigation,q=n.position,J=(n.purchaseUri,n.pushDrawerStack),K=n.setPlayerVisible,Q=n.thumbnail,X=n.title,Z=n.viewCount,$=j.state.params,ee=$.uri,te=($.autoplay,(0,f.parseURI)(ee).isChannel),ae=s?s.map(function(t){return t.permanent_url}):[],ne=Y.includes(ee)||ae.includes(ee),ie=null;if(H&&!o||!o)return H||o||this.state.uriPushedToDrawerStack||this.setState({uriPushedToDrawerStack:!0},function(){J(ee)}),c.default.createElement(p.View,{style:O.default.pageContainer},c.default.createElement(C.default,{value:ee,navigation:j}),H&&c.default.createElement(p.View,{style:O.default.busyContainer},c.default.createElement(p.ActivityIndicator,{size:"large",color:S.default.NextLbryGreen}),c.default.createElement(p.Text,{style:O.default.infoText},__('Loading decentralized data...'))),null===o&&!H&&c.default.createElement(p.View,{style:O.default.container},ne&&c.default.createElement(E.default,{message:te?__('It looks like you just created this channel. It will appear in a few minutes.'):__('It looks you just published this content. It will appear in a few minutes.')}),!ne&&c.default.createElement(E.default,{message:__("There's nothing at this location."),buttonText:__('Publish something here'),onButtonPress:function(){return j.navigate({routeName:T.default.DRAWER_ROUTE_PUBLISH,params:{vanityUrl:ee.trim()}})}})),c.default.createElement(V.default,{navigation:j}));var le=!1;if(G)for(var oe=0;oe0?(0,f.normalizeURI)(we+"#"+ge):(0,f.normalizeURI)(we)),Pe=pe?pe.short_url:null,be=[O.default.player,this.state.isLandscape?O.default.containedPlayerLandscape:this.state.fullscreenMode?O.default.fullscreenPlayer:O.default.containedPlayer],Se=[O.default.playerBackground,O.default.containedPlayerBackground],Te=[O.default.playerBackground,O.default.fullscreenPlayerBackground],Ue=this.state.streamingMode||h&&(h.written_bytes>=2097152||h.written_bytes===h.total_bytes),Ie=o&&o.value&&o.value.video?o.value.video.duration:null,Me='image'===fe||'text'===fe,ke=Me&&de,Ve=this.localUriForFileInfo(h),De=!he&&!ke;return this.state.downloadPressed&&ke&&!this.state.autoOpened&&this.setState({autoOpened:!0},function(){return t.openFile(Ve,fe,W)}),te?c.default.createElement(b.default,{uri:ee,navigation:j}):c.default.createElement(p.View,{style:O.default.pageContainer},!this.state.fullscreenMode&&c.default.createElement(C.default,{value:ee,navigation:j}),ie,this.state.showWebView&&me&&c.default.createElement(w.WebView,{ref:function(n){t.webView=n},allowFileAccess:!0,javaScriptEnabled:!0,originWhiteList:['*'],source:this.buildWebViewSource(),style:O.default.viewer,onLoad:this.handleWebViewLoad,injectedJavaScript:this.linkHandlerScript,onMessage:this.handleWebViewMessage}),this.state.showImageViewer&&c.default.createElement(_.default,{style:p.StyleSheet.flatten(O.default.viewer),imageUrls:this.state.imageUrls,renderIndicator:function(){return null}}),!ie&&!this.state.showWebView&&c.default.createElement(p.View,{style:this.state.fullscreenMode?O.default.innerPageContainerFsMode:O.default.innerPageContainer,onLayout:this.checkOrientation},c.default.createElement(p.TouchableOpacity,{activeOpacity:.5,style:O.default.mediaContainer,onPress:this.onFileDownloadButtonPressed},(ke||!h||he&&!Ue||!ke&&h)&&c.default.createElement(M.default,{duration:Ie,style:O.default.thumbnail,title:X,thumbnail:Q}),!De&&(!this.state.downloadButtonShown||this.state.downloadPressed)&&!this.state.mediaLoaded&&c.default.createElement(p.ActivityIndicator,{size:"large",color:S.default.NextLbryGreen,style:O.default.loading}),De&&h&&de&&c.default.createElement(p.View,{style:O.default.unsupportedContent},c.default.createElement(p.Image,{style:O.default.unsupportedContentImage,resizeMode:'stretch',source:r(d[41])}),c.default.createElement(p.View,{style:O.default.unspportedContentTextContainer},c.default.createElement(p.Text,{style:O.default.unsupportedContentTitle},__('Unsupported Content')),c.default.createElement(p.Text,{style:O.default.unsupportedContentText},"Sorry, we are unable to display this content in the app. You can find the file named",' ',c.default.createElement(p.Text,{style:O.default.unsupportedContentFilename},h.file_name)," in your downloads folder."))),(he&&!de&&!Ue||ke||!de&&!this.state.streamingMode)&&c.default.createElement(I.default,{uri:o&&o.permanent_url?o.permanent_url:ee,style:O.default.downloadButton,openFile:function(){return t.openFile(Ve,fe,W)},isPlayable:he,isViewable:Me,onFileActionPress:this.onFileDownloadButtonPressed,onButtonLayout:function(){return t.setState({downloadButtonShown:!0})}}),!h&&c.default.createElement(k.default,{uri:o&&o.permanent_url?o.permanent_url:ee,style:O.default.filePriceContainer,textStyle:O.default.filePriceText,iconStyle:O.default.filePriceIcon}),c.default.createElement(p.TouchableOpacity,{style:O.default.backButton,onPress:this.onBackButtonPressed},c.default.createElement(v.default,{name:'arrow-left',size:18,style:O.default.backButtonIcon}))),!ie&&(this.state.streamingMode||Ue&&h&&he)&&c.default.createElement(p.View,{style:Se,ref:function(n){t.playerBackground=n},onLayout:function(n){t.state.playerBgHeight||t.setState({playerBgHeight:n.nativeEvent.layout.height})}}),!ie&&(this.state.streamingMode||Ue&&h&&he)&&this.state.fullscreenMode&&c.default.createElement(p.View,{style:Te}),z&&!ie&&(this.state.streamingMode||Ue&&h&&he)&&c.default.createElement(R.default,{claim:o,assignPlayer:function(n){t.player=n},uri:ee,source:this.playerUriForFileInfo(h),style:be,autoPlay:!0,onFullscreenToggled:this.handleFullscreenToggle,onLayout:function(n){t.state.playerHeight||t.setState({playerHeight:n.nativeEvent.layout.height})},onMediaLoaded:function(){return t.onMediaLoaded(we,X,ee)},onBackButtonPressed:this.onBackButtonPressed,onPlaybackStarted:this.onPlaybackStarted,onPlaybackFinished:this.onPlaybackFinished,thumbnail:Q,position:q}),!ie&&c.default.createElement(p.ScrollView,{style:O.default.scrollContainer,contentContainerstyle:_e?null:O.default.scrollContent,keyboardShouldPersistTaps:'handled',ref:function(n){t.scrollView=n}},c.default.createElement(p.TouchableWithoutFeedback,{style:O.default.titleTouch,onPress:function(){return t.setState({showDescription:!t.state.showDescription})}},c.default.createElement(p.View,{style:O.default.titleArea},c.default.createElement(p.View,{style:O.default.titleRow},c.default.createElement(p.Text,{style:O.default.title,selectable:!0},X),ue&&c.default.createElement(v.default,{name:"award",style:O.default.rewardIcon,size:16}),c.default.createElement(p.View,{style:O.default.descriptionToggle},c.default.createElement(v.default,{name:this.state.showDescription?'caret-up':'caret-down',size:24}))),c.default.createElement(p.Text,{style:O.default.viewCount},1===Z&&__('%view% view',{view:Z}),Z>1&&__('%view% views',{view:Z})))),c.default.createElement(p.View,{style:O.default.largeButtonsRow},c.default.createElement(p.TouchableOpacity,{style:O.default.largeButton,onPress:this.handleSharePress},c.default.createElement(v.default,{name:'share-alt',size:16,style:O.default.largeButtonIcon}),c.default.createElement(p.Text,{style:O.default.largeButtonText},__('Share'))),c.default.createElement(p.TouchableOpacity,{style:O.default.largeButton,onPress:function(){return t.setState({showTipView:!0})}},c.default.createElement(v.default,{name:'gift',size:16,style:O.default.largeButtonIcon}),c.default.createElement(p.Text,{style:O.default.largeButtonText},__('Tip'))),!ve&&c.default.createElement(p.View,{style:O.default.sharedLargeButton},!this.state.downloadPressed&&(!h||!h.download_path||h.written_bytes<=0&&!de)&&c.default.createElement(p.TouchableOpacity,{style:O.default.innerLargeButton,onPress:this.onDownloadPressed},c.default.createElement(v.default,{name:'download',size:16,style:O.default.largeButtonIcon}),c.default.createElement(p.Text,{style:O.default.largeButtonText},__('Download'))),this.state.downloadPressed&&(!h||0===h.written_bytes)&&c.default.createElement(p.ActivityIndicator,{size:'small',color:S.default.NextLbryGreen}),!de&&h&&h.written_bytes>0&&h.written_bytes0&&c.default.createElement(p.View,{style:O.default.divider}),this.state.showDescription&&ce&&c.default.createElement(p.View,null,c.default.createElement(p.Text,{style:O.default.description,selectable:!0},this.linkify(ce)),se&&se.length>0&&c.default.createElement(p.View,{style:O.default.tagContainer},c.default.createElement(p.Text,{style:O.default.tagTitle},__('Tags')),c.default.createElement(p.View,{style:O.default.tagList},this.renderTags(se)))),u&&parseFloat(u.cost)>l&&!h&&c.default.createElement(N.default,{navigation:j}),c.default.createElement(p.View,{onLayout:this.setRelatedContentPosition}),this.state.showRecommended&&c.default.createElement(x.default,{navigation:j,claimId:o.claim_id,title:X,uri:ye,fullUri:ye}))),this.state.showTipView&&c.default.createElement(B.default,{claim:o,channelName:we,contentName:X,onCancelPress:function(){return t.setState({showTipView:!1})},onOverlayPress:function(){return t.setState({showTipView:!1})},onSendTipSuccessful:function(){return t.setState({showTipView:!1})}}),!this.state.fullscreenMode&&!this.state.showTipView&&!this.state.showImageViewer&&!this.state.showWebView&&c.default.createElement(V.default,{navigation:j}))}}]),G})(c.default.PureComponent);G.navigationOptions={title:''};var Y=G;e.default=Y},766,[3,4,5,6,8,9,12,401,408,16,767,411,410,502,772,679,689,700,780,674,493,732,862,734,741,694,498,865,853,873,874,857,859,705,867,879,881,708,882,885,729,692]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"WebView",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var u=t(r(d[1])),f=u.default;e.default=f},767,[3,768]); -__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,o=t(r(d[1])),s=t(r(d[2])),l=r(d[3]),u=t(r(d[4])),c=r(d[5]),p=t(r(d[6])),f=this&&this.__extends||(n=function(t,o){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])})(t,o)},function(t,o){function s(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(s.prototype=o.prototype,new s)}),h=this&&this.__awaiter||function(t,n,o,s){return new(o||(o=Promise))(function(l,u){function c(t){try{f(s.next(t))}catch(t){u(t)}}function p(t){try{f(s.throw(t))}catch(t){u(t)}}function f(t){var n;t.done?l(t.value):(n=t.value,n instanceof o?n:new o(function(t){t(n)})).then(c,p)}f((s=s.apply(t,n||[])).next())})},v=this&&this.__generator||function(t,n){var o,s,l,u,c={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return u={next:p(0),throw:p(1),return:p(2)},"function"==typeof Symbol&&(u["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){return this}),u;function p(t){return function(n){return f([t,n])}}function f(u){if(o)throw new TypeError("Generator is already executing.");for(;c;)try{if(o=1,s&&(l=2&u[0]?s.return:u[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,u[1])).done)return l;switch(s=0,l&&(u=[2&u[0],l.value]),u[0]){case 0:case 1:l=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,s=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!(l=(l=c.trys).length>0&&l[l.length-1])&&(6===u[0]||2===u[0])){c=0;continue}if(3===u[0]&&(!l||u[1]>l[0]&&u[1]0&&o.state.currentShowIndex&&o.loadImage((o.state.currentShowIndex||0)-1)},o.handleResponderRelease=function(t){void 0===t&&(t=0);var n=p.I18nManager.isRTL?-t:t,s=p.I18nManager.isRTL?o.positionXNumber-o.standardPositionX<-(o.props.flipThreshold||0):o.positionXNumber-o.standardPositionX>(o.props.flipThreshold||0),l=p.I18nManager.isRTL?o.positionXNumber-o.standardPositionX>(o.props.flipThreshold||0):o.positionXNumber-o.standardPositionX<-(o.props.flipThreshold||0);return n>.7?(o.goBack.call(o),void(o.state.currentShowIndex&&o.loadImage((o.state.currentShowIndex||0)-1))):n<-.7?(o.goNext.call(o),void((o.state.currentShowIndex||00&&this.state.imageSizes[t].height>0)return l.status='success',void h();var u=!1;if(n.url&&!n.url.startsWith("file:")||(u=!0),n.width&&n.height)return this.props.enablePreload&&!1===u&&p.Image.prefetch(n.url),l.width=n.width,l.height=n.height,l.status='success',void h();p.Image.getSize(n.url,function(t,o){l.width=t,l.height=o,l.status='success',h()},function(){try{var t=p.Image.resolveAssetSource(n.props.source);l.width=t.width,l.height=t.height,l.status='success',h()}catch(t){l.status='fail',h()}})}}},f.prototype.resetPosition=function(){this.positionXNumber=this.standardPositionX,p.Animated.timing(this.positionX,{toValue:this.standardPositionX,duration:150}).start()},f.prototype.getContent=function(){var t=this,n=this.width,c=this.height,w=this.props.imageUrls.map(function(w,f){if((t.state.currentShowIndex||0)>f+1||(t.state.currentShowIndex||0)n){var x=n/y;y*=x,S*=x}if(S>c){var v=c/S;y*=v,S*=v}var b=function(n){var s=n.children,p=l(n,["children"]);return h.createElement(u.default,o({cropWidth:t.width,cropHeight:t.height,maxOverflow:t.props.maxOverflow,horizontalOuterRangeOffset:t.handleHorizontalOuterRangeOffset,responderRelease:t.handleResponderRelease,onMove:t.props.onMove,onLongPress:t.handleLongPressWithIndex.get(f),onClick:t.handleClick,onDoubleClick:t.handleDoubleClick,enableSwipeDown:t.props.enableSwipeDown,swipeDownThreshold:t.props.swipeDownThreshold,onSwipeDown:t.handleSwipeDown,pinchToZoom:t.props.enableImageZoom,enableDoubleClickZoom:t.props.enableImageZoom,doubleClickInterval:t.props.doubleClickInterval},p),s)};switch(I.status){case'loading':return h.createElement(b,{key:f,style:s({},t.styles.modalContainer,t.styles.loadingContainer),imageWidth:n,imageHeight:c},h.createElement(p.View,{style:t.styles.loadingContainer},t.props.loadingRender()));case'success':return w.props||(w.props={}),w.props.style||(w.props.style={}),w.props.style=s({},t.styles.imageStyle,w.props.style,{width:y,height:S}),'number'==typeof w.props.source||(w.props.source||(w.props.source={}),w.props.source=s({uri:w.url},w.props.source)),t.props.enablePreload&&t.preloadImage(t.state.currentShowIndex||0),h.createElement(u.default,{key:f,ref:function(o){return t.imageRefs[f]=o},cropWidth:t.width,cropHeight:t.height,maxOverflow:t.props.maxOverflow,horizontalOuterRangeOffset:t.handleHorizontalOuterRangeOffset,responderRelease:t.handleResponderRelease,onMove:t.props.onMove,onLongPress:t.handleLongPressWithIndex.get(f),onClick:t.handleClick,onDoubleClick:t.handleDoubleClick,imageWidth:y,imageHeight:S,enableSwipeDown:t.props.enableSwipeDown,swipeDownThreshold:t.props.swipeDownThreshold,onSwipeDown:t.handleSwipeDown,panToMove:!t.state.isShowMenu,pinchToZoom:t.props.enableImageZoom&&!t.state.isShowMenu,enableDoubleClickZoom:t.props.enableImageZoom&&!t.state.isShowMenu,doubleClickInterval:t.props.doubleClickInterval,minScale:t.props.minScale,maxScale:t.props.maxScale},t.props.renderImage(w.props));case'fail':return h.createElement(b,{key:f,style:t.styles.modalContainer,imageWidth:t.props.failImageSource?t.props.failImageSource.width:n,imageHeight:t.props.failImageSource?t.props.failImageSource.height:c},t.props.failImageSource&&t.props.renderImage({source:{uri:t.props.failImageSource.url},style:{width:t.props.failImageSource.width,height:t.props.failImageSource.height}}))}});return h.createElement(p.Animated.View,{style:{zIndex:9}},h.createElement(p.Animated.View,{style:s({},this.styles.container,{opacity:this.fadeAnim})},this.props.renderHeader(this.state.currentShowIndex),h.createElement(p.View,{style:this.styles.arrowLeftContainer},h.createElement(p.TouchableWithoutFeedback,{onPress:this.goBack},h.createElement(p.View,null,this.props.renderArrowLeft()))),h.createElement(p.View,{style:this.styles.arrowRightContainer},h.createElement(p.TouchableWithoutFeedback,{onPress:this.goNext},h.createElement(p.View,null,this.props.renderArrowRight()))),h.createElement(p.Animated.View,{style:s({},this.styles.moveBox,{transform:[{translateX:this.positionX}],width:this.width*this.props.imageUrls.length})},w),this.props.renderIndicator((this.state.currentShowIndex||0)+1,this.props.imageUrls.length),this.props.imageUrls[this.state.currentShowIndex||0]&&this.props.imageUrls[this.state.currentShowIndex||0].originSizeKb&&this.props.imageUrls[this.state.currentShowIndex||0].originUrl&&h.createElement(p.View,{style:this.styles.watchOrigin},h.createElement(p.TouchableOpacity,{style:this.styles.watchOriginTouchable},h.createElement(p.Text,{style:this.styles.watchOriginText},"\u67e5\u770b\u539f\u56fe(2M)"))),h.createElement(p.View,{style:[{bottom:0,position:'absolute',zIndex:9},this.props.footerContainerStyle]},this.props.renderFooter(this.state.currentShowIndex||0))))},f.prototype.getMenu=function(){return this.state.isShowMenu?this.props.menus?h.createElement(p.View,{style:this.styles.menuContainer},this.props.menus({cancel:this.handleLeaveMenu,saveToLocal:this.saveToLocal})):h.createElement(p.View,{style:this.styles.menuContainer},h.createElement(p.View,{style:this.styles.menuShadow}),h.createElement(p.View,{style:this.styles.menuContent},h.createElement(p.TouchableHighlight,{underlayColor:"#F2F2F2",onPress:this.saveToLocal,style:this.styles.operateContainer},h.createElement(p.Text,{style:this.styles.operateText},this.props.menuContext.saveToLocal)),h.createElement(p.TouchableHighlight,{underlayColor:"#F2F2F2",onPress:this.handleLeaveMenu,style:this.styles.operateContainer},h.createElement(p.Text,{style:this.styles.operateText},this.props.menuContext.cancel)))):null},f.prototype.render=function(){var t;return t=h.createElement(p.View,null,this.getContent(),this.getMenu()),h.createElement(p.View,{onLayout:this.handleLayout,style:s({flex:1,overflow:'hidden'},this.props.style)},t)},f.defaultProps=new w.Props,f})(h.Component);e.default=f},773,[11,12,16,774,778,779]); -__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=r(d[0]);e.default=t.default},774,[775]); -__d(function(g,r,i,a,m,e,d){"use strict";var o,t=r(d[0]),n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var n in t)t.hasOwnProperty(n)&&(o[n]=t[n])},function(t,n){function s(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}),s=this&&this.__assign||Object.assign||function(o){for(var t,n=1,s=arguments.length;nt.props.swipeDownThreshold)t.props.onSwipeDown&&t.props.onSwipeDown();else{if(t.props.enableCenterFocus&&t.scale<1&&(t.scale=1,p.Animated.timing(t.animatedScale,{toValue:t.scale,duration:100}).start()),t.props.imageWidth*t.scale<=t.props.cropWidth&&(t.positionX=0,p.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100}).start()),t.props.imageHeight*t.scale<=t.props.cropHeight&&(t.positionY=0,p.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100}).start()),t.props.imageHeight*t.scale>t.props.cropHeight){var o=(t.props.imageHeight*t.scale-t.props.cropHeight)/2/t.scale;t.positionY<-o?t.positionY=-o:t.positionY>o&&(t.positionY=o),p.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100}).start()}if(t.props.imageWidth*t.scale>t.props.cropWidth){var n=(t.props.imageWidth*t.scale-t.props.cropWidth)/2/t.scale;t.positionX<-n?t.positionX=-n:t.positionX>n&&(t.positionX=n),p.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100}).start()}t.props.enableCenterFocus&&1===t.scale&&(t.positionX=0,t.positionY=0,p.Animated.timing(t.animatedPositionX,{toValue:t.positionX,duration:100}).start(),p.Animated.timing(t.animatedPositionY,{toValue:t.positionY,duration:100}).start()),t.horizontalWholeOuterCounter=0,t.swipeDownOffset=0,t.imageDidMove('onPanResponderRelease')}},t}return n(h,o),h.prototype.componentWillMount=function(){var o=this;this.imagePanResponder=p.PanResponder.create({onStartShouldSetPanResponder:function(){return!0},onPanResponderTerminationRequest:function(){return!1},onPanResponderGrant:function(t){if(o.lastPositionX=null,o.lastPositionY=null,o.zoomLastDistance=null,o.horizontalWholeCounter=0,o.verticalWholeCounter=0,o.lastTouchStartTime=(new Date).getTime(),o.isDoubleClick=!1,o.isLongPress=!1,o.isHorizontalWrap=!1,o.singleClickTimeout&&clearTimeout(o.singleClickTimeout),t.nativeEvent.changedTouches.length>1){var n=(t.nativeEvent.changedTouches[0].pageX+t.nativeEvent.changedTouches[1].pageX)/2;o.centerDiffX=n-o.props.cropWidth/2;var s=(t.nativeEvent.changedTouches[0].pageY+t.nativeEvent.changedTouches[1].pageY)/2;o.centerDiffY=s-o.props.cropHeight/2}if(o.longPressTimeout&&clearTimeout(o.longPressTimeout),o.longPressTimeout=setTimeout(function(){o.isLongPress=!0,o.props.onLongPress&&o.props.onLongPress()},o.props.longPressTime),t.nativeEvent.changedTouches.length<=1)if((new Date).getTime()-o.lastClickTime<(o.props.doubleClickInterval||0)){if(o.lastClickTime=0,o.props.onDoubleClick&&o.props.onDoubleClick(),clearTimeout(o.longPressTimeout),o.doubleClickX=t.nativeEvent.changedTouches[0].pageX,o.doubleClickY=t.nativeEvent.changedTouches[0].pageY,o.isDoubleClick=!0,o.props.enableDoubleClickZoom){if(o.scale>1||o.scale<1)o.scale=1,o.positionX=0,o.positionY=0;else{var l=o.scale;o.scale=2;var c=o.scale-l;o.positionX=(o.props.cropWidth/2-o.doubleClickX)*c/o.scale,o.positionY=(o.props.cropHeight/2-o.doubleClickY)*c/o.scale}o.imageDidMove('centerOn'),p.Animated.parallel([p.Animated.timing(o.animatedScale,{toValue:o.scale,duration:100}),p.Animated.timing(o.animatedPositionX,{toValue:o.positionX,duration:100}),p.Animated.timing(o.animatedPositionY,{toValue:o.positionY,duration:100})]).start()}}else o.lastClickTime=(new Date).getTime()},onPanResponderMove:function(t,n){if(!o.isDoubleClick){if(t.nativeEvent.changedTouches.length<=1){var s=n.dx-(o.lastPositionX||0);null===o.lastPositionX&&(s=0);var l=n.dy-(o.lastPositionY||0);if(null===o.lastPositionY&&(l=0),o.lastPositionX=n.dx,o.lastPositionY=n.dy,o.horizontalWholeCounter+=s,o.verticalWholeCounter+=l,(Math.abs(o.horizontalWholeCounter)>5||Math.abs(o.verticalWholeCounter)>5)&&clearTimeout(o.longPressTimeout),o.props.panToMove){if(0===o.swipeDownOffset){if(Math.abs(s)>Math.abs(l)&&(o.isHorizontalWrap=!0),o.props.imageWidth*o.scale>o.props.cropWidth){o.horizontalWholeOuterCounter>0?s<0?o.horizontalWholeOuterCounter>Math.abs(s)?(o.horizontalWholeOuterCounter+=s,s=0):(s+=o.horizontalWholeOuterCounter,o.horizontalWholeOuterCounter=0,o.props.horizontalOuterRangeOffset&&o.props.horizontalOuterRangeOffset(0)):o.horizontalWholeOuterCounter+=s:o.horizontalWholeOuterCounter<0&&(s>0?Math.abs(o.horizontalWholeOuterCounter)>s?(o.horizontalWholeOuterCounter+=s,s=0):(s+=o.horizontalWholeOuterCounter,o.horizontalWholeOuterCounter=0,o.props.horizontalOuterRangeOffset&&o.props.horizontalOuterRangeOffset(0)):o.horizontalWholeOuterCounter+=s),o.positionX+=s/o.scale;var p=(o.props.imageWidth*o.scale-o.props.cropWidth)/2/o.scale;o.positionX<-p?(o.positionX=-p,o.horizontalWholeOuterCounter+=-1e-10):o.positionX>p&&(o.positionX=p,o.horizontalWholeOuterCounter+=1e-10),o.animatedPositionX.setValue(o.positionX)}else o.horizontalWholeOuterCounter+=s;o.horizontalWholeOuterCounter>(o.props.maxOverflow||0)?o.horizontalWholeOuterCounter=o.props.maxOverflow||0:o.horizontalWholeOuterCounter<-(o.props.maxOverflow||0)&&(o.horizontalWholeOuterCounter=-(o.props.maxOverflow||0)),0!==o.horizontalWholeOuterCounter&&o.props.horizontalOuterRangeOffset&&o.props.horizontalOuterRangeOffset(o.horizontalWholeOuterCounter)}o.props.imageHeight*o.scale>o.props.cropHeight?(o.positionY+=l/o.scale,o.animatedPositionY.setValue(o.positionY)):o.props.enableSwipeDown&&!o.isHorizontalWrap&&(o.swipeDownOffset+=l,o.swipeDownOffset>0&&(o.positionY+=l/o.scale,o.animatedPositionY.setValue(o.positionY),o.scale=o.scale-l/1e3,o.animatedScale.setValue(o.scale)))}}else if(o.longPressTimeout&&clearTimeout(o.longPressTimeout),o.props.pinchToZoom){var c=void 0,u=void 0;t.nativeEvent.changedTouches[0].locationX>t.nativeEvent.changedTouches[1].locationX?(c=t.nativeEvent.changedTouches[1].pageX,u=t.nativeEvent.changedTouches[0].pageX):(c=t.nativeEvent.changedTouches[0].pageX,u=t.nativeEvent.changedTouches[1].pageX);var h=void 0,v=void 0;t.nativeEvent.changedTouches[0].locationY>t.nativeEvent.changedTouches[1].locationY?(h=t.nativeEvent.changedTouches[1].pageY,v=t.nativeEvent.changedTouches[0].pageY):(h=t.nativeEvent.changedTouches[0].pageY,v=t.nativeEvent.changedTouches[1].pageY);var f=u-c,C=v-h,O=Math.sqrt(f*f+C*C);if(o.zoomCurrentDistance=Number(O.toFixed(1)),null!==o.zoomLastDistance){var P=(o.zoomCurrentDistance-o.zoomLastDistance)/200,X=o.scale+P;X<(o.props.minScale||0)&&(X=o.props.minScale||0),X>(o.props.maxScale||0)&&(X=o.props.maxScale||0);var T=o.scale;o.scale=X,o.animatedScale.setValue(o.scale);var Y=o.scale-T;o.positionX-=o.centerDiffX*Y/o.scale,o.positionY-=o.centerDiffY*Y/o.scale,o.animatedPositionX.setValue(o.positionX),o.animatedPositionY.setValue(o.positionY)}o.zoomLastDistance=o.zoomCurrentDistance}o.imageDidMove('onPanResponderMove')}},onPanResponderRelease:function(t,n){if(o.longPressTimeout&&clearTimeout(o.longPressTimeout),!o.isDoubleClick&&!o.isLongPress){var s=Math.sqrt(n.dx*n.dx+n.dy*n.dy),l=t.nativeEvent,p=l.locationX,c=l.locationY,u=l.pageX,h=l.pageY;1===t.nativeEvent.changedTouches.length&&s<(o.props.clickDistance||0)?o.singleClickTimeout=setTimeout(function(){o.props.onClick&&o.props.onClick({locationX:p,locationY:c,pageX:u,pageY:h})},o.props.doubleClickInterval):(o.props.responderRelease&&o.props.responderRelease(n.vx,o.scale),o.panResponderReleaseResolve())}},onPanResponderTerminate:function(){}})},h.prototype.componentDidMount=function(){this.props.centerOn&&this.centerOn(this.props.centerOn)},h.prototype.componentWillReceiveProps=function(o){(o.centerOn&&!this.props.centerOn||o.centerOn&&this.props.centerOn&&this.didCenterOnChange(this.props.centerOn,o.centerOn))&&this.centerOn(o.centerOn)},h.prototype.imageDidMove=function(o){this.props.onMove&&this.props.onMove({type:o,positionX:this.positionX,positionY:this.positionY,scale:this.scale,zoomCurrentDistance:this.zoomCurrentDistance})},h.prototype.didCenterOnChange=function(o,t){return o.x!==t.x||o.y!==t.y||o.scale!==t.scale},h.prototype.centerOn=function(o){var t=this;this.positionX=o.x,this.positionY=o.y,this.scale=o.scale;var n=o.duration||300;p.Animated.parallel([p.Animated.timing(this.animatedScale,{toValue:this.scale,duration:n}),p.Animated.timing(this.animatedPositionX,{toValue:this.positionX,duration:n}),p.Animated.timing(this.animatedPositionY,{toValue:this.positionY,duration:n})]).start(function(){t.imageDidMove('centerOn')})},h.prototype.handleLayout=function(o){this.props.layoutChange&&this.props.layoutChange(o)},h.prototype.reset=function(){this.scale=1,this.animatedScale.setValue(this.scale),this.positionX=0,this.animatedPositionX.setValue(this.positionX),this.positionY=0,this.animatedPositionY.setValue(this.positionY)},h.prototype.render=function(){var o={transform:[{scale:this.animatedScale},{translateX:this.animatedPositionX},{translateY:this.animatedPositionY}]},n=p.StyleSheet.flatten(this.props.style);return l.createElement(p.View,t({style:s({},c.default.container,n,{width:this.props.cropWidth,height:this.props.cropHeight})},this.imagePanResponder.panHandlers),l.createElement(p.Animated.View,{style:o,renderToHardwareTextureAndroid:!0},l.createElement(p.View,{onLayout:this.handleLayout.bind(this),style:{width:this.props.imageWidth,height:this.props.imageHeight}},this.props.children)))},h.defaultProps=new u.Props,h})(l.Component);e.default=h},775,[11,12,16,776,777]); -__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={container:{justifyContent:'center',alignItems:'center',overflow:'hidden',backgroundColor:'transparent'}}},776,[]); -__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(function(){return function(){this.cropWidth=100,this.cropHeight=100,this.imageWidth=100,this.imageHeight=100,this.panToMove=!0,this.pinchToZoom=!0,this.enableDoubleClickZoom=!0,this.clickDistance=10,this.maxOverflow=100,this.longPressTime=800,this.doubleClickInterval=175,this.style={},this.swipeDownThreshold=230,this.enableSwipeDown=!1,this.enableCenterFocus=!0,this.minScale=.6,this.maxScale=10,this.onClick=function(){},this.onDoubleClick=function(){},this.onLongPress=function(){},this.horizontalOuterRangeOffset=function(){},this.onDragLeft=function(){},this.responderRelease=function(){},this.onMove=function(){},this.layoutChange=function(){},this.onSwipeDown=function(){}}})();e.Props=t;var n=(function(){return function(){this.centerX=.5,this.centerY=.5}})();e.State=n},777,[]); -__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o,n){return{modalContainer:{backgroundColor:n,justifyContent:'center',alignItems:'center',overflow:'hidden'},watchOrigin:{position:'absolute',width:t,bottom:20,justifyContent:'center',alignItems:'center'},watchOriginTouchable:{paddingLeft:10,paddingRight:10,paddingTop:5,paddingBottom:5,borderRadius:30,borderColor:'white',borderWidth:.5,backgroundColor:'rgba(0, 0, 0, 0.1)'},watchOriginText:{color:'white',backgroundColor:'transparent'},imageStyle:{},container:{backgroundColor:n},moveBox:{flexDirection:'row',alignItems:'center'},menuContainer:{position:'absolute',width:t,height:o,left:0,bottom:0,zIndex:12},menuShadow:{position:'absolute',width:t,height:o,backgroundColor:'black',left:0,bottom:0,opacity:.2,zIndex:10},menuContent:{position:'absolute',width:t,left:0,bottom:0,zIndex:11},operateContainer:{justifyContent:'center',alignItems:'center',backgroundColor:'white',height:40,borderBottomColor:'#ccc',borderBottomWidth:1},operateText:{color:'#333'},loadingTouchable:{width:t,height:o},loadingContainer:{flex:1,justifyContent:'center',alignItems:'center'},arrowLeftContainer:{position:'absolute',top:0,bottom:0,left:0,justifyContent:'center',zIndex:13},arrowRightContainer:{position:'absolute',top:0,bottom:0,right:0,justifyContent:'center',zIndex:13}}},e.simpleStyle={count:{position:'absolute',left:0,right:0,top:38,zIndex:13,justifyContent:'center',alignItems:'center',backgroundColor:'transparent'},countText:{color:'white',fontSize:16,backgroundColor:'transparent',textShadowColor:'rgba(0, 0, 0, 0.3)',textShadowOffset:{width:0,height:.5},textShadowRadius:0}}},778,[]); -__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(d[0]),t=r(d[1]),o=r(d[2]),s=(function(){return function(){this.show=!1,this.imageUrls=[],this.flipThreshold=80,this.maxOverflow=300,this.index=0,this.failImageSource=void 0,this.backgroundColor='black',this.footerContainerStyle={},this.menuContext={saveToLocal:'save to the album',cancel:'cancel'},this.saveToLocalByLongPress=!0,this.enableImageZoom=!0,this.style={},this.enableSwipeDown=!1,this.enablePreload=!1,this.pageAnimateTime=100,this.onLongPress=function(){},this.onClick=function(){},this.onDoubleClick=function(){},this.onSave=function(){},this.onMove=function(){},this.renderHeader=function(){return null},this.renderFooter=function(){return null},this.renderIndicator=function(s,h){return n.createElement(t.View,{style:o.simpleStyle.count},n.createElement(t.Text,{style:o.simpleStyle.countText},s+'/'+h))},this.renderImage=function(o){return n.createElement(t.Image,o)},this.renderArrowLeft=function(){return null},this.renderArrowRight=function(){return null},this.onShowModal=function(){},this.onCancel=function(){},this.onSwipeDown=function(){},this.loadingRender=function(){return null},this.onSaveToCamera=function(){},this.onChange=function(){}}})();e.Props=s;var h=(function(){return function(){this.show=!1,this.currentShowIndex=0,this.prevIndexProp=0,this.imageLoaded=!1,this.imageSizes=[],this.isShowMenu=!1}})();e.State=h},779,[12,16,778]); -__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]),u=r(d[3]),c=r(d[4]),l=r(d[5]),f=r(d[6]),S=r(d[7]),s=t(r(d[8])),C=(0,n.connect)(function(t,n){return{channels:(0,o.selectMyChannelClaims)(t),claim:(0,o.makeSelectClaimForUri)(n.uri)(t),drawerStack:(0,f.selectDrawerStack)(t),sortByItem:(0,S.selectSortByItem)(t),subCount:(0,u.makeSelectSubCountForUri)(n.uri)(t),timeItem:(0,S.selectTimeItem)(t)}},function(t){return{abandonClaim:function(n,u){return t((0,o.doAbandonClaim)(n,u))},fetchChannelListMine:function(){return t((0,o.doFetchChannelListMine)(1,99999,!0))},fetchSubCount:function(n){return t((0,u.doFetchSubCount)(n))},popDrawerStack:function(){return t((0,c.doPopDrawerStack)())},setSortByItem:function(n){return t((0,l.doSetSortByItem)(n))},setTimeItem:function(n){return t((0,l.doSetTimeItem)(n))}}})(s.default);e.default=C},780,[3,378,401,408,492,721,496,409,781]); -__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])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),T=(r(d[8]),r(d[9])),h=r(d[10]),y=t(r(d[11])),_=t(r(d[12])),E=(t(r(d[13])),t(r(d[14]))),S=t(r(d[15])),v=t(r(d[16])),w=t(r(d[17])),b=t(r(d[18])),p=t(r(d[19])),B=t(r(d[20])),C=(t(r(d[21])),t(r(d[22]))),I=(t(r(d[23])),t(r(d[24]))),P=t(r(d[25])),A=t(r(d[26])),O=t(r(d[27])),V=(function(t){function V(){var t,n;(0,l.default)(this,V);for(var s=arguments.length,T=new Array(s),y=0;y0&&f.default.createElement(c.View,{style:A.default.aboutItem},f.default.createElement(c.Text,{style:A.default.aboutTitle},__('Website')),f.default.createElement(b.default,{style:A.default.aboutText,text:s,href:s})),o&&o.trim().length>0&&f.default.createElement(c.View,{style:A.default.aboutItem},f.default.createElement(c.Text,{style:A.default.aboutTitle},__('Email')),f.default.createElement(b.default,{style:A.default.aboutText,text:o,href:"mailto:"+o})),u&&u.trim().length>0&&f.default.createElement(c.View,{style:A.default.aboutItem},f.default.createElement(c.Text,{style:A.default.aboutText},u))))},n.onEditPressed=function(){var t=n.props,l=t.claim,u=t.navigation;if(l){var o=l.permanent_url;u.navigate({routeName:E.default.DRAWER_ROUTE_CHANNEL_CREATOR,params:{editChannelUrl:o,returnUrl:o}})}n.onEditPressed=null},n.onTipPressed=function(){n.setState({showTipView:!0})},n.onSharePressed=function(){var t=n.props.claim;if(t){var l=t.canonical_url,u=t.short_url,o=t.permanent_url,s=E.default.SHARE_BASE_URL+(0,h.formatLbryUrlForWeb)(l||u||o);c.NativeModules.UtilityModule.shareUrl(s)}},n.onDeletePressed=function(){var t=n.props,l=t.abandonClaim,u=t.claim,o=t.navigation;if(u){var s=u.txid,f=u.nout;c.Alert.alert(__('Delete channel'),__('Are you sure you want to delete this channel?'),[{text:__('No')},{text:__('Yes'),onPress:function(){l(s,f),o.navigate({routeName:E.default.DRAWER_ROUTE_CHANNEL_CREATOR})}}],{cancelable:!0})}},n}return(0,s.default)(V,t),(0,n.default)(V,[{key:"componentWillMount",value:function(){this.setState({autoStyle:y.default.AUTO_THUMB_STYLES[Math.floor(Math.random()*y.default.AUTO_THUMB_STYLES.length)]})}},{key:"componentDidMount",value:function(){var t=this.props,l=t.claim,n=t.fetchChannelListMine,u=t.fetchSubCount;c.NativeModules.Firebase.setCurrentScreen('Channel'),n(),l&&u(l.claim_id)}},{key:"render",value:function(){var t,l,n,u,o=this,s=this.props,h=s.channels,y=s.claim,_=s.navigation,v=s.uri,w=(s.drawerStack,s.popDrawerStack,s.subCount),b=s.timeItem,O=y.name,V=y.permanent_url,N=this.state,x=N.autoStyle,R=N.currentSortByItem,M=N.showSortPicker,k=N.showTimePicker,U=N.showTipView,H=!!h&&h.map(function(t){return t.permanent_url}).includes(V),L=null,D=0;return y&&(y.value&&(n=y.value.title,y.value.cover&&(l=y.value.cover.url),y.value.thumbnail&&(t=y.value.thumbnail.url)),D=(L=n||y.name).startsWith('@')?1:0,u=(0,T.normalizeURI)(y.name+"#"+y.claim_id)),f.default.createElement(c.View,{style:A.default.container},f.default.createElement(I.default,{value:v,navigation:_}),f.default.createElement(c.View,{style:A.default.viewContainer},f.default.createElement(c.View,{style:A.default.cover},f.default.createElement(c.Image,{style:A.default.coverImage,resizeMode:'cover',source:l&&l.trim().length>0?{uri:l}:r(d[28])}),f.default.createElement(c.View,{style:A.default.channelHeader},f.default.createElement(c.Text,{style:A.default.channelName},n&&n.trim().length>0?n:O),f.default.createElement(c.Text,{style:[A.default.followerCount,w>=1?A.default.followerCountBg:null]},1===w&&__('%follower% follower',{follower:w}),w>1&&__('%follower% followers',{follower:w}))),f.default.createElement(c.View,{style:[A.default.avatarImageContainer,x]},t&&f.default.createElement(c.Image,{style:A.default.avatarImage,resizeMode:'cover',source:{uri:t}}),(!t||0===t.trim().length)&&f.default.createElement(c.Text,{style:P.default.autothumbCharacter},L.substring(D,D+1).toUpperCase())),f.default.createElement(c.View,{style:A.default.subscribeButtonContainer},H&&f.default.createElement(S.default,{style:A.default.actionButton,theme:'light',icon:'edit',text:__('Edit'),onPress:this.onEditPressed}),H&&f.default.createElement(S.default,{style:[A.default.actionButton,A.default.deleteButton],theme:'light',icon:'trash-alt',text:__('Delete'),onPress:this.onDeletePressed}),f.default.createElement(S.default,{style:[A.default.actionButton,A.default.shareButton],theme:'light',icon:'share-alt',onPress:this.onSharePressed}),f.default.createElement(S.default,{style:[A.default.actionButton,A.default.tipButton],theme:'light',icon:'gift',onPress:this.onTipPressed}),!H&&f.default.createElement(C.default,{style:A.default.subscribeButton,uri:u,name:O}),!1)),f.default.createElement(c.View,{style:A.default.tabBar},f.default.createElement(c.TouchableOpacity,{style:A.default.tab,onPress:function(){return o.setState({activeTab:E.default.CONTENT_TAB})}},f.default.createElement(c.Text,{style:A.default.tabTitle},__('CONTENT')),E.default.CONTENT_TAB===this.state.activeTab&&f.default.createElement(c.View,{style:A.default.activeTabHint})),f.default.createElement(c.TouchableOpacity,{style:A.default.tab,onPress:function(){return o.setState({activeTab:E.default.ABOUT_TAB})}},f.default.createElement(c.Text,{style:A.default.tabTitle},__('ABOUT')),E.default.ABOUT_TAB===this.state.activeTab&&f.default.createElement(c.View,{style:A.default.activeTabHint}))),E.default.CONTENT_TAB===this.state.activeTab&&this.renderContent(),E.default.ABOUT_TAB===this.state.activeTab&&this.renderAbout()),M&&f.default.createElement(p.default,{title:__('Sort content by'),onOverlayPress:function(){return o.setState({showSortPicker:!1})},onItemSelected:this.handleSortByItemSelected,selectedItem:R,items:E.default.CLAIM_SEARCH_SORT_BY_ITEMS}),k&&f.default.createElement(p.default,{title:__('Content from'),onOverlayPress:function(){return o.setState({showTimePicker:!1})},onItemSelected:this.handleTimeItemSelected,selectedItem:b,items:E.default.CLAIM_SEARCH_TIME_ITEMS}),U&&f.default.createElement(B.default,{claim:y,channelName:y.name,contentName:n,onCancelPress:function(){return o.setState({showTipView:!1})},onOverlayPress:function(){return o.setState({showTipView:!1})},onSendTipSuccessful:function(){return o.setState({showTipView:!1})}}))}}]),V})(f.default.PureComponent);e.default=V},781,[3,4,5,6,8,9,12,16,782,401,410,682,727,674,493,679,689,502,498,753,853,500,857,859,705,685,861,739,719]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TabView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"TabViewProps",{enumerable:!0,get:function(){return u.Props}}),Object.defineProperty(e,"TabBar",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"TabBarProps",{enumerable:!0,get:function(){return o.Props}}),Object.defineProperty(e,"SceneMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"ScrollPager",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Route",{enumerable:!0,get:function(){return b.Route}}),Object.defineProperty(e,"NavigationState",{enumerable:!0,get:function(){return b.NavigationState}}),Object.defineProperty(e,"SceneRendererProps",{enumerable:!0,get:function(){return b.SceneRendererProps}});var u=n(r(d[2])),o=n(r(d[3])),c=t(r(d[4])),f=t(r(d[5])),b=r(d[6])},782,[3,1,783,843,850,851,852]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o,l=n(r(d[2])),u=n(r(d[3])),s=n(r(d[4])),c=n(r(d[5])),p=n(r(d[6])),f=n(r(d[7])),y=n(r(d[8])),b=t(r(d[9])),v=r(d[10]),h=r(d[11]),w=n(r(d[12])),S=n(r(d[13])),P=n(r(d[14])),O=n(r(d[15])),j="/Users/satya/Workspace/Projects/react-native-tab-view/src/TabView.tsx";function _(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function C(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return function(n){return(0,l.sub)(1,(0,l.multiply)((0,l.pow)((0,l.cos)((0,l.multiply)(n,Math.PI,.5)),3),(0,l.cos)((0,l.multiply)(n,u))))}}},{key:"back",value:function(u){return void 0===u&&(u=1.70158),function(n){return(0,l.multiply)(n,n,(0,l.sub)((0,l.multiply)((0,l.add)(u,1),n),u))}}},{key:"bounce",value:function(u){var n=function(u){return(0,l.multiply)(7.5625,u,u)};return(0,l.cond)((0,l.lessThan)(u,.36363636363636365),n(u),(0,l.cond)((0,l.lessThan)(u,.7272727272727273),(0,l.add)(.75,n((0,l.sub)(u,.5454545454545454))),(0,l.cond)((0,l.lessThan)(u,.9057971014492754),(0,l.add)(.9375,n((0,l.sub)(u,.8181818181818182))),(0,l.add)(.984375,n((0,l.sub)(u,.9545454545454546))))))}},{key:"bezier",value:function(u,n,t,l){return function(c){return new o.default(c,u,n,t,l)}}},{key:"in",value:function(u){return u}},{key:"out",value:function(u){return function(n){return(0,l.sub)(1,u((0,l.sub)(1,n)))}}},{key:"inOut",value:function(u){return function(n){return(0,l.cond)((0,l.lessThan)(n,.5),(0,l.divide)(u((0,l.multiply)(n,2)),2),(0,l.sub)(1,(0,l.divide)(u((0,l.multiply)((0,l.sub)(1,n),2)),2)))}}}]),u})();e.default=c},785,[3,4,5,786,813]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t={cond:!0,set:!0,startClock:!0,stopClock:!0,clockRunning:!0,debug:!0,call:!0,event:!0,always:!0,concat:!0,block:!0,adapt:!0,proc:!0};Object.defineProperty(e,"cond",{enumerable:!0,get:function(){return n.createAnimatedCond}}),Object.defineProperty(e,"set",{enumerable:!0,get:function(){return c.createAnimatedSet}}),Object.defineProperty(e,"startClock",{enumerable:!0,get:function(){return o.createAnimatedStartClock}}),Object.defineProperty(e,"stopClock",{enumerable:!0,get:function(){return u.createAnimatedStopClock}}),Object.defineProperty(e,"clockRunning",{enumerable:!0,get:function(){return l.createAnimatedClockTest}}),Object.defineProperty(e,"debug",{enumerable:!0,get:function(){return b.createAnimatedDebug}}),Object.defineProperty(e,"call",{enumerable:!0,get:function(){return f.createAnimatedCall}}),Object.defineProperty(e,"event",{enumerable:!0,get:function(){return p.createAnimatedEvent}}),Object.defineProperty(e,"always",{enumerable:!0,get:function(){return y.createAnimatedAlways}}),Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return O.createAnimatedConcat}}),Object.defineProperty(e,"block",{enumerable:!0,get:function(){return j.createAnimatedBlock}}),Object.defineProperty(e,"adapt",{enumerable:!0,get:function(){return j.adapt}}),Object.defineProperty(e,"proc",{enumerable:!0,get:function(){return P.createAnimatedFunction}});var n=r(d[0]),c=r(d[1]),o=r(d[2]),u=r(d[3]),l=r(d[4]),b=r(d[5]),f=r(d[6]),p=r(d[7]),y=r(d[8]),O=r(d[9]),j=r(d[10]),P=r(d[11]),s=r(d[12]);Object.keys(s).forEach(function(n){"default"!==n&&"__esModule"!==n&&(Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return s[n]}}))})},786,[787,793,794,804,805,806,801,807,803,809,791,810,798]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimatedCond=function(t,o,n){return new s((0,v.adapt)(t),(0,v.adapt)(o),void 0===n?void 0:(0,v.adapt)(n))};var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),_=r(d[6]),f=t(r(d[7])),v=r(d[8]),s=(function(t){function f(t,n,u){var _;return(0,o.default)(this,f),(_=(0,l.default)(this,(0,c.default)(f).call(this,{type:'cond',cond:t.__nodeID,ifBlock:n.__nodeID,elseBlock:u?u.__nodeID:void 0},[t,n,u])))._condition=t,_._ifBlock=n,_._elseBlock=u,_}return(0,u.default)(f,t),(0,n.default)(f,[{key:"__onEvaluate",value:function(){return(0,_.val)(this._condition)?(0,_.val)(this._ifBlock):void 0!==this._elseBlock?(0,_.val)(this._elseBlock):void 0}}]),f})(f.default)},787,[3,4,5,6,8,9,788,789,791]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.val=function(_){return _&&_.__getValue?_.__getValue():_||0}},788,[]); -__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])),_=t(r(d[2])),o=t(r(d[3])),l=t(r(d[4]));function u(t,n){var _=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),_.push.apply(_,o)}return _}function s(t){for(var _=1;_1&&void 0!==arguments[1]&&arguments[1];return(0,n.default)(this,s),(_=(0,u.default)(this,(0,l.default)(s).call(this,{type:'value',value:v(t)})))._startingValue=_._value=t,_._animation=null,_._constant=o,_}return(0,h.default)(s,t),(0,o.default)(s,null,[{key:"valueForConstant",value:function(t){return y(),p.get(t)||new s(t,!0)}}]),(0,o.default)(s,[{key:"__detach",value:function(){var t=this;this._constant||(c.default.getValue?c.default.getValue(this.__nodeID,function(n){return t.__nodeConfig.value=n}):this.__nodeConfig.value=this.__getValue()),this.__detachAnimation(this._animation),(0,_.default)((0,l.default)(s.prototype),"__detach",this).call(this)}},{key:"__detachAnimation",value:function(t){t&&t.__detach(),this._animation===t&&(this._animation=null)}},{key:"__attachAnimation",value:function(t){this.__detachAnimation(this._animation),this._animation=t}},{key:"__onEvaluate",value:function(){return this.__inputNodes&&this.__inputNodes.length&&this.__inputNodes.forEach(f.val),this._value}},{key:"_updateValue",value:function(t){this._value=t,this.__forceUpdateCache(t)}}]),s})(s.default);e.default=k},792,[3,4,6,8,41,5,9,789,788,790]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimatedSet=function(t,n){return new h(t,(0,v.adapt)(n))};var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),_=t(r(d[4])),o=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),v=r(d[8]),s=t(r(d[9])),h=(function(t){function f(t,u){var o;return(0,n.default)(this,f),o=(0,l.default)(this,(0,_.default)(f).call(this,{type:'set',what:t.__nodeID,value:u.__nodeID},[u])),(0,s.default)(!t._constant,'Value to be set cannot be constant'),o._what=t,o._value=u,o}return(0,o.default)(f,t),(0,u.default)(f,[{key:"__onEvaluate",value:function(){var t=(0,c.val)(this._value);return this._what._updateValue(t),t}}]),f})(f.default)},793,[3,4,5,6,8,9,789,788,791,207]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimatedStartClock=function(t){return new k(t)};var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),l=t(r(d[4])),c=t(r(d[5])),f=t(r(d[6])),_=t(r(d[7])),s=t(r(d[8])),k=(function(t){function f(t){var o;return(0,n.default)(this,f),o=(0,u.default)(this,(0,l.default)(f).call(this,{type:'clockStart',clock:t.__nodeID})),(0,s.default)(t instanceof _.default,'Node is not of an AnimatedClock type'),o._clockNode=t,o}return(0,c.default)(f,t),(0,o.default)(f,[{key:"__onEvaluate",value:function(){return this._clockNode.start(),0}}]),f})(f.default)},794,[3,4,5,6,8,9,789,795,207]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.clock=e.default=void 0;var l=t(r(d[1])),u=t(r(d[2])),_=t(r(d[3])),h=t(r(d[4])),n=t(r(d[5])),c=t(r(d[6])),s=t(r(d[7])),f=t(r(d[8])),o=r(d[9]),v=new((function(t){function s(){var t;return(0,l.default)(this,s),(t=(0,_.default)(this,(0,h.default)(s).call(this,{type:'MAIN_CLOCK'})))._runFrame=function(){t._updateValue(0),t.__children.length>0&&(t._frameCallback=requestAnimationFrame(t._runFrame))},t}return(0,c.default)(s,t),(0,u.default)(s,[{key:"__onEvaluate",value:function(){return+new Date}},{key:"__attach",value:function(){(0,n.default)((0,h.default)(s.prototype),"__attach",this).call(this),this._frameCallback||(this._frameCallback=requestAnimationFrame(this._runFrame))}},{key:"__detach",value:function(){this._frameCallback&&(cancelAnimationFrame(this._frameCallback),this._frameCallback=null),(0,n.default)((0,h.default)(s.prototype),"__detach",this).call(this)}}]),s})(s.default)),k=(function(t){function s(){return(0,l.default)(this,s),(0,_.default)(this,(0,h.default)(s).call(this,{type:'clock'}))}return(0,c.default)(s,t),(0,u.default)(s,[{key:"__onEvaluate",value:function(){return(0,o.val)(v)}},{key:"__attach",value:function(){(0,n.default)((0,h.default)(s.prototype),"__attach",this).call(this),this._started&&!this._attached&&v.__addChild(this),this._attached=!0}},{key:"__detach",value:function(){this._started&&this._attached&&v.__removeChild(this),this._attached=!1,(0,n.default)((0,h.default)(s.prototype),"__detach",this).call(this)}},{key:"start",value:function(){!this._started&&this._attached&&v.__addChild(this),this._started=!0}},{key:"stop",value:function(){this._started&&this._attached&&v.__removeChild(this),this._started=!1}},{key:"isStarted",value:function(){return this._started}}]),s})(f.default);e.default=k;var y=v;e.clock=y},795,[3,4,5,6,8,41,9,796,789,788]); -__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])),n=t(r(d[2])),l=t(r(d[3])),f=t(r(d[4])),o=t(r(d[5])),s=r(d[6]),h=t(r(d[7])),c=t(r(d[8])),_=r(d[9]),v=r(d[10]),p=(function(t){function c(){return(0,u.default)(this,c),(0,l.default)(this,(0,f.default)(c).apply(this,arguments))}return(0,o.default)(c,t),(0,n.default)(c,[{key:"setValue",value:function(t){this.__detachAnimation(this._animation),'web'===v.Platform.OS?this._updateValue(t):(0,_.evaluateOnce)((0,s.createAnimatedSet)(this,t),this)}},{key:"interpolate",value:function(t){return(0,h.default)(this,t)}}]),c})(c.default);e.default=p},796,[3,4,5,6,8,9,793,797,792,800,16]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,o){var s=o.inputRange,T=o.outputRange,E=o.extrapolate,R=void 0===E?c.EXTEND:E,A=o.extrapolateLeft,C=o.extrapolateRight;p('inputRange',s),v('inputRange',s),p('outputRange',T),v('outputRange',T),h('inputRange',s),(0,l.default)(s.length===T.length,'inputRange and outputRange must be the same length.');var N=A||R,b=C||R,D=f(t,s,T);N===c.EXTEND||(N===c.CLAMP?D=(0,u.createAnimatedCond)((0,n.lessThan)(t,s[0]),T[0],D):N===c.IDENTITY&&(D=(0,u.createAnimatedCond)((0,n.lessThan)(t,s[0]),t,D)));b===c.EXTEND||(b===c.CLAMP?D=(0,u.createAnimatedCond)((0,n.greaterThan)(t,s[s.length-1]),T[T.length-1],D):b===c.IDENTITY&&(D=(0,u.createAnimatedCond)((0,n.greaterThan)(t,s[s.length-1]),t,D)));return D},e.Extrapolate=void 0;var n=r(d[1]),u=r(d[2]),l=t(r(d[3])),o=t(r(d[4]));function s(t,u,l,o){var s=u[o],f=u[o+1],c=l[o],h=l[o+1],p=(0,n.divide)((0,n.sub)(t,s),(0,n.sub)(f,s));return(0,n.add)(c,(0,n.multiply)(p,(0,n.sub)(h,c)))}function f(t,l,o){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return l.length-c==2?s(t,l,o,c):(0,u.createAnimatedCond)((0,n.lessThan)(t,l[c+1]),s(t,l,o,c),f(t,l,o,c+1))}var c={EXTEND:'extend',CLAMP:'clamp',IDENTITY:'identity'};function h(t,n){for(var u=1;u=n[u-1],'%s must be monotonically non-decreasing. (%s)',t,n)}function p(t,n){(0,l.default)(n.length>=2,'%s must have at least 2 elements. (%s)',t,n)}function v(t,n){for(var u=0;ut}),lessOrEq:M(function(n,t){return n<=t}),greaterOrEq:M(function(n,t){return n>=t}),neq:M(function(n,t){return n!=t})},w=(function(n){function l(n,u){var c;return(0,t.default)(this,l),(c=(0,o.default)(this,(0,f.default)(l).call(this,{type:'op',op:n,input:u.map(function(n){return n.__nodeID})},u)))._op=n,c._input=u,c}return(0,c.default)(l,n),(0,u.default)(l,[{key:"__onEvaluate",value:function(){return this._operation||(this._operation=y[this._op],(0,h.default)(this._operation,"Illegal operator '%s'",this._op)),this._operation(this._input)}}]),l})(l.default)},799,[3,4,5,6,8,9,789,788,207,791]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.evaluateOnce=function(t){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],h=arguments.length>2?arguments[2]:void 0;Array.isArray(v)||(v=[v]);for(var f=new n.default(0),u=(0,o.createAnimatedCond)(f,0,(0,_.createAnimatedCall)([t,(0,l.createAnimatedSet)(f,1)],function(){h&&h();for(var t=0;t1&&void 0!==arguments[1]&&arguments[1];(0,o.default)(this,_);var s=N(t),c=s.eventMappings,y=s.alwaysNodes;return(f=(0,l.default)(this,(0,u.default)(_).call(this,{type:'event',argMapping:c}))).__isNative=!0,f._alwaysNodes=y,'web'===v.Platform.OS&&(f._argMapping=c,f.__getHandler=function(){return function(t){var o=t.nativeEvent,l=f._argMapping,u=Array.isArray(l),s=0;for(l=u?l:l["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var v;if(u){if(s>=l.length)break;v=l[s++]}else{if((s=l.next()).done)break;v=s.value}var c=v,_=(0,n.default)(c,2),y=_[0],h=_[1];y in o&&h.setValue(o[y])}}}),f}return(0,s.default)(_,t),(0,f.default)(_,[{key:"attachEvent",value:function(t,n){for(var o=0;o1?f-1:0),v=1;v0?u=v:n=v}while(Math.abs(l)>s&&++c=h?j(n,v,t,u):0===c?v:Y(n,f,f+p,t,u)}return function(o){return t===n&&u===f?o:0===o?0:1===o?1:M(v(o),n,f)}}var D=(function(t){function c(t,u,l,v,_){var h;return(0,n.default)(this,c),(h=(0,f.default)(this,(0,o.default)(c).call(this,{type:'bezier',mX1:u,mY1:l,mX2:v,mY2:_,input:t.__nodeID},[t])))._value=t,h._bezier=k(u,l,v,_),h}return(0,l.default)(c,t),(0,u.default)(c,[{key:"__onEvaluate",value:function(){return this._bezier((0,v.val)(this._value))}}]),c})(c.default);e.default=D},813,[3,4,5,6,8,9,788,789]); -__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])),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6])),s=r(d[7]),p=t(r(d[8])),h=(function(t){function c(){return(0,n.default)(this,c),(0,l.default)(this,(0,u.default)(c).apply(this,arguments))}return(0,f.default)(c,t),(0,o.default)(c,[{key:"componentDidMount",value:function(){var t=this.props,n=t.children,o=t.exec,l=c.resolveNode(n),u=c.resolveNode(o);if(null===l&&null===u)throw new Error(" expects the 'exec' prop or children to be an animated node or a function returning an animated node. "+(null===l?"Got \""+typeof n+"\" type passed to children":"Got \""+typeof o+"\" type passed to exec"));this.always=(0,s.createAnimatedAlways)(u||l),this.always.__attach()}},{key:"componentWillUnmount",value:function(){this.always.__detach()}},{key:"render",value:function(){return null}}]),c})(c.default.Component);h.resolveNode=function(t){return'function'==typeof t?h.resolveNode(t()):t instanceof p.default?t:null};var y=h;e.default=y},814,[3,4,5,6,8,9,12,803,789]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"abs",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"acc",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"color",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"diff",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"diffClamp",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"interpolate",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Extrapolate",{enumerable:!0,get:function(){return b.Extrapolate}}),Object.defineProperty(e,"max",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"min",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"onChange",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"floor",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"ceil",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useCode",{enumerable:!0,get:function(){return _.default}});var u=n(r(d[2])),f=n(r(d[3])),o=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),b=t(r(d[7])),p=n(r(d[8])),j=n(r(d[9])),y=n(r(d[10])),O=n(r(d[11])),P=n(r(d[12])),_=n(r(d[13]))},815,[1,3,816,817,818,819,820,797,822,821,823,824,825,826]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,n.cond)((0,n.lessThan)(t,0),(0,n.multiply)(-1,t),t)};var n=r(d[0])},816,[786]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var f=new u.default(0);return(0,n.set)(f,(0,n.add)(f,t))};var n=r(d[1]),u=t(r(d[2]))},817,[3,786,792]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,u,f){var p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;p=p instanceof l.default?(0,o.round)((0,o.multiply)(p,255)):Math.round(255*p);if('web'===n.Platform.OS)throw new Error('color is not implemented on web yet');var c=(0,o.add)((0,o.multiply)(p,16777216),(0,o.multiply)(t,65536),(0,o.multiply)(u,256),f);if('android'===n.Platform.OS)return(0,o.cond)((0,o.lessThan)(c,2147483648),c,(0,o.sub)(c,Math.pow(2,32)));return c};var n=r(d[1]),o=r(d[2]),l=t(r(d[3]))},818,[3,16,786,789]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var f=new u.default(0),l=new u.default;return(0,t.block)([(0,t.set)(f,(0,t.cond)((0,t.defined)(l),(0,t.sub)(n,l),0)),(0,t.set)(l,n),f])};var t=r(d[1]),u=n(r(d[2]))},819,[3,786,792]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,c,v){var _=new f.default;return(0,u.set)(_,(0,n.default)((0,l.default)((0,u.add)((0,u.cond)((0,u.defined)(_),_,t),(0,o.default)(t)),c),v))};var u=r(d[1]),f=t(r(d[2])),n=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5]))},820,[3,786,792,821,822,819]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u,o){return u=(0,t.adapt)(u),o=(0,t.adapt)(o),(0,n.cond)((0,n.lessThan)(u,o),u,o)};var n=r(d[0]),t=r(d[1])},821,[786,791]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u,o){return u=(0,t.adapt)(u),o=(0,t.adapt)(o),(0,n.cond)((0,n.lessThan)(u,o),o,u)};var n=r(d[0]),t=r(d[1])},822,[786,791]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,u){var c=new o.default;return(0,t.block)([(0,t.cond)((0,t.not)((0,t.defined)(c)),(0,t.set)(c,n)),(0,t.cond)((0,t.neq)(n,c),[(0,t.set)(c,n),u])])};var t=r(d[1]),o=n(r(d[2]))},823,[3,786,792]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return(0,u.round)((0,u.sub)(n,.49999999))};var u=r(d[0])},824,[786]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return(0,u.sub)(1,(0,u.round)((0,u.sub)(.5,n)))};var u=r(d[0])},825,[786]); -__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])),f=r(d[2]);var u=function(t,u){'function'==typeof n.default.useEffect&&n.default.useEffect(function(){'function'!=typeof t&&console.warn('useCode() first argument should be a function that returns an animation node.');var n=(0,f.always)('function'==typeof t?t():t);return n.__attach(),function(){n.__detach()}},u)};e.default=u},826,[3,12,786]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,P.default)('function'!=typeof t||t.prototype&&t.prototype.isReactComponent,"`createAnimatedComponent` does not support stateless functional components; use a class component instead."),(function(P){function A(t){var n;return(0,o.default)(this,A),(n=(0,p.default)(this,(0,c.default)(A).call(this,t)))._invokeAnimatedPropsCallbackOnMount=!1,n._animatedPropsCallback=function(){null==n._component?n._invokeAnimatedPropsCallbackOnMount=!0:'function'!=typeof n._component.setNativeProps?n.forceUpdate():n._component.setNativeProps(n._propsAnimated.__getValue())},n._setComponentRef=function(t){t!==n._component&&(n._component=t)},n._attachProps(n.props),n}return(0,l.default)(A,P),(0,s.default)(A,[{key:"componentWillUnmount",value:function(){this._detachPropUpdater(),this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents()}},{key:"setNativeProps",value:function(t){this._component.setNativeProps(t)}},{key:"componentDidMount",value:function(){this._invokeAnimatedPropsCallbackOnMount&&(this._invokeAnimatedPropsCallbackOnMount=!1,this._animatedPropsCallback()),this._propsAnimated.setNativeView(this._component),this._attachNativeEvents(),this._attachPropUpdater()}},{key:"_getEventViewRef",value:function(){return this._component.getScrollableNode?this._component.getScrollableNode():this._component}},{key:"_attachNativeEvents",value:function(){var t=this._getEventViewRef();for(var n in this.props){var o=this.props[n];o instanceof h.default&&o.attachEvent(t,n)}}},{key:"_detachNativeEvents",value:function(){var t=this._getEventViewRef();for(var n in this.props){var o=this.props[n];o instanceof h.default&&o.detachEvent(t,n)}}},{key:"_reattachNativeEvents",value:function(t){var n=this._getEventViewRef(),o=new Set,s=new Set;for(var p in this.props){var c=this.props[p];c instanceof h.default&&s.add(c.__nodeID)}for(var l in t){var u=this.props[l];u instanceof h.default&&(s.has(u.__nodeID)?o.add(u.__nodeID):u.detachEvent(n,l))}for(var f in this.props){var v=this.props[f];v instanceof h.default&&!o.has(v.__nodeID)&&v.attachEvent(n,f)}}},{key:"_attachProps",value:function(t){var n=this._propsAnimated;this._propsAnimated=(0,k.createOrReusePropsNode)(t,this._animatedPropsCallback,n),n!==this._propsAnimated&&n&&n.__detach()}},{key:"_updateFromNative",value:function(t){this._component.setNativeProps(t)}},{key:"_attachPropUpdater",value:function(){var t=(0,f.findNodeHandle)(this);y.set(t,this),1===y.size&&v.default.addListener('onReanimatedPropsChange',N)}},{key:"_detachPropUpdater",value:function(){var t=(0,f.findNodeHandle)(this);y.delete(t),0===y.size&&v.default.removeAllListeners('onReanimatedPropsChange')}},{key:"componentDidUpdate",value:function(t){this._attachProps(this.props),this._reattachNativeEvents(t),this._propsAnimated.setNativeView(this._component)}},{key:"_filterNonAnimatedStyle",value:function(t){var n={};for(var o in t){var s=t[o];s instanceof _.default||'transform'===o||(n[o]=s)}return n}},{key:"_filterNonAnimatedProps",value:function(t){var n={};for(var o in t){var s=t[o];'style'===o?n[o]=this._filterNonAnimatedStyle(f.StyleSheet.flatten(s)):s instanceof _.default||(n[o]=s)}return n}},{key:"render",value:function(){var o=this._filterNonAnimatedProps(this.props),s=f.Platform.select({web:{},default:{collapsable:!1}});return u.default.createElement(t,(0,n.default)({},o,{ref:this._setComponentRef},s))}},{key:"getNode",value:function(){return this._component}}]),A})(u.default.Component)};var n=t(r(d[1])),o=t(r(d[2])),s=t(r(d[3])),p=t(r(d[4])),c=t(r(d[5])),l=t(r(d[6])),u=t(r(d[7])),f=r(d[8]),v=t(r(d[9])),h=t(r(d[10])),_=t(r(d[11])),k=r(d[12]),P=t(r(d[13])),y=new Map;function N(t){var n=y.get(t.viewTag);n&&n._updateFromNative(t.props)}},827,[3,11,4,5,6,8,9,12,16,802,807,789,828,207]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createOrReusePropsNode=function(t,n,o){t.style&&(t=j({},t,{style:(0,h.createOrReuseStyleNode)(t.style,o&&o._props.style)}));var c=P(t);if(o&&(0,O.default)(c,o._config))return o;return new V(t,c,n)};var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),s=t(r(d[7])),p=r(d[8]),_=t(r(d[9])),v=t(r(d[10])),h=r(d[11]),y=t(r(d[12])),O=t(r(d[13])),b=r(d[14]);function w(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function j(t){for(var n=1;n0,'Stiffness value must be greater than 0'),(0,y.default)(n._damping>0,'Damping value must be greater than 0'),(0,y.default)(n._mass>0,'Mass value must be greater than 0'),n}return(0,f.default)(c,s),(0,n.default)(c,[{key:"start",value:function(s){this._clock=new _.default;var t={finished:new u.default(0),velocity:new u.default(this._initialVelocity),position:s,time:new u.default(0)},n={damping:this._damping,mass:this._mass,stiffness:this._stiffness,toValue:this._toValue,overshootClamping:this._overshootClamping,restSpeedThreshold:this._restSpeedThreshold,restDisplacementThreshold:this._restDisplacementThreshold};return(0,p.block)([(0,p.cond)((0,p.clockRunning)(this._clock),0,[(0,p.startClock)(this._clock)]),(0,v.default)(this._clock,t,n),(0,p.cond)(t.finished,(0,p.stopClock)(this._clock))])}},{key:"stop",value:function(){}}],[{key:"getDefaultState",value:function(){return{position:new u.default(0),finished:new u.default(0),velocity:new u.default(0),time:new u.default(0)}}}]),c})(c.default);e.default=k},836,[3,4,5,6,8,9,792,835,837,833,786,795,207]); -__d(function(g,r,i,a,m,e,d){function n(n){return 3.62*(n-30)+194}function t(n){return 3*(n-8)+25}m.exports={fromOrigamiTensionAndFriction:function(o,u){return{stiffness:n(o),damping:t(u)}},fromBouncinessAndSpeed:function(o,u){function f(n,t,o){return(n-t)/(o-t)}function c(n,t,o){return t+n*(o-t)}function p(n,t,o){return n*o+(1-n)*t}function s(n){return 44e-6*Math.pow(n,3)-.006*Math.pow(n,2)+.36*n+2}function h(n){return 4.5e-7*Math.pow(n,3)-332e-6*Math.pow(n,2)+.1078*n+5.84}var w=f(o/1.7,0,20);w=c(w,0,.8);var M,v,A,_,x=c(f(u/1.7,0,20),.5,200),B=(M=w,v=(A=x)<=18?(_=A,7e-4*Math.pow(_,3)-.031*Math.pow(_,2)+.64*_+1.28):A>18&&A<=44?s(A):h(A),p(2*M-M*M,v,.01));return{stiffness:n(x),damping:t(B)}}}},837,[]); -__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])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),s=t(r(d[7])),v=r(d[8]),h=t(r(d[9])),_=t(r(d[10])),k=(function(t){function f(t){var n;return(0,l.default)(this,f),(n=(0,o.default)(this,(0,c.default)(f).call(this)))._deceleration=void 0!==t.deceleration?t.deceleration:.998,n._velocity=t.velocity,n}return(0,u.default)(f,t),(0,n.default)(f,[{key:"start",value:function(t){this._clock=new h.default;var l={finished:new _.default(0),velocity:new _.default(this._velocity),position:t,time:new _.default(0)},n={deceleration:this._deceleration};return(0,v.block)([(0,v.cond)((0,v.clockRunning)(this._clock),0,[(0,v.startClock)(this._clock)]),(0,s.default)(this._clock,l,n),(0,v.cond)(l.finished,(0,v.stopClock)(this._clock))])}},{key:"stop",value:function(){}}],[{key:"getDefaultState",value:function(){return{position:new _.default(0),finished:new _.default(0),time:new _.default(0),velocity:new _.default(0)}}}]),f})(f.default);e.default=k},838,[3,4,5,6,8,9,835,831,786,795,792]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.addWhitelistedNativeProps=function(t){p=c({},p,{},t),s()},e.addWhitelistedUIProps=function(t){b=c({},b,{},t),s()};var o=t(r(d[1])),n=t(r(d[2]));function l(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function c(t){for(var n=1;n18&&h<=44?y(h):b(h),l(2*O-O*O,v,.01));return p({},u,{stiffness:s(P),damping:c(M)})}var v={makeDefaultConfig:function(){return{stiffness:new f.default(100),mass:new f.default(1),damping:new f.default(10),overshootClamping:!1,restSpeedThreshold:.001,restDisplacementThreshold:.001,toValue:new f.default(0)}},makeConfigFromBouncinessAndSpeed:function(t){var n=t.bounciness,o=t.speed,f=(0,u.default)(t,["bounciness","speed"]);return'number'==typeof n&&'number'==typeof o?O(n,o,f):w(n,o,f)},makeConfigFromOrigamiTensionAndFriction:function(t){var n=t.tension,o=t.friction;return p({},(0,u.default)(t,["tension","friction"]),{stiffness:'number'==typeof n?s(n):y(n),damping:'number'==typeof o?c(o):b(o)})}};e.default=v},842,[3,50,56,786,792]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),h=n(r(d[7])),f=n(r(d[8])),b=t(r(d[9])),y=r(d[10]),p=n(r(d[11])),v=n(r(d[12])),w=n(r(d[13])),S=n(r(d[14])),T="/Users/satya/Workspace/Projects/react-native-tab-view/src/TabBar.tsx";function W(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function O(t){for(var n=1;n1){var o=l.map(function(t,l){return l});return p.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===n?1:0})})}return 1}),o.getInactiveOpacity=(0,v.default)(function(t,l,n){if(l.length>1){var o=l.map(function(t,l){return l});return p.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===n?0:1})})}return 0}),o}return(0,c.default)(l,t),(0,o.default)(l,[{key:"render",value:function(){var t=this.props,l=t.route,n=t.position,o=t.navigationState,u=t.renderLabel,s=t.renderIcon,c=t.renderBadge,v=t.getLabelText,N=t.getTestID,w=t.getAccessibilityLabel,E=t.getAccessible,S=t.activeColor,C=void 0===S?"rgba(255, 255, 255, 1)":S,I=t.inactiveColor,L=void 0===I?"rgba(255, 255, 255, 0.7)":I,O=t.pressColor,V=t.pressOpacity,x=t.labelStyle,P=t.style,T=t.onLayout,A=t.onPress,R=t.onLongPress,j=o.routes.indexOf(l),k=o.index===j,B=this.getActiveOpacity(n,o.routes,j),D=this.getInactiveOpacity(n,o.routes,j),F=null,H=null;if(s){var M=s({route:l,focused:!0,color:C}),U=s({route:l,focused:!1,color:L});null!=U&&null!=M&&(F=f.createElement(y.View,{style:h.icon,__source:{fileName:_,lineNumber:133}},f.createElement(p.default.View,{style:{opacity:D},__source:{fileName:_,lineNumber:134}},U),f.createElement(p.default.View,{style:[y.StyleSheet.absoluteFill,{opacity:B}],__source:{fileName:_,lineNumber:137}},M)))}var W=void 0!==u?u:function(t){var l=t.route,n=t.color,o=v({route:l});return'string'==typeof o?f.createElement(p.default.Text,{style:[h.label,F?{marginTop:0}:null,{color:n},x],__source:{fileName:_,lineNumber:155}},o):o};if(W){var q=W({route:l,focused:!0,color:C}),z=W({route:l,focused:!1,color:L});H=f.createElement(y.View,{__source:{fileName:_,lineNumber:184}},f.createElement(p.default.View,{style:{opacity:D},__source:{fileName:_,lineNumber:185}},z),f.createElement(p.default.View,{style:[y.StyleSheet.absoluteFill,{opacity:B}],__source:{fileName:_,lineNumber:188}},q))}var G=y.StyleSheet.flatten(P),J=void 0!==(null==G?void 0:G.width)?null:{flex:1},K={route:l},Q=w(K);Q=void 0!==Q?Q:v(K);var X=c?c(K):null;return f.createElement(b.default,{borderless:!0,testID:N(K),accessible:E(K),accessibilityLabel:Q,accessibilityTraits:k?['button','selected']:'button',accessibilityComponentType:"button",accessibilityRole:"tab",accessibilityStates:k?['selected']:[],pressColor:O,pressOpacity:V,delayPressIn:0,onLayout:T,onPress:A,onLongPress:R,style:J,__source:{fileName:_,lineNumber:213}},f.createElement(y.View,{pointerEvents:"none",style:[h.item,G],__source:{fileName:_,lineNumber:230}},F,H,null!=X?f.createElement(y.View,{style:h.badge,__source:{fileName:_,lineNumber:233}},X):null))}}]),l})(f.Component);e.default=N;var h=y.StyleSheet.create({label:{margin:4,backgroundColor:'transparent'},icon:{margin:2},item:{flex:1,alignItems:'center',justifyContent:'center',padding:10,minHeight:48},badge:{position:'absolute',top:0,right:0}})},844,[1,3,4,5,6,8,9,12,16,845,784,846]); -__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 s=l(r(d[2])),o=l(r(d[3])),u=l(r(d[4])),c=l(r(d[5])),n=l(r(d[6])),f=l(r(d[7])),p=l(r(d[8])),b=t(r(d[9])),y=r(d[10]),h="/Users/satya/Workspace/Projects/react-native-tab-view/src/TouchableItem.tsx",v=(function(t){function l(){return(0,u.default)(this,l),(0,n.default)(this,(0,f.default)(l).apply(this,arguments))}return(0,p.default)(l,t),(0,c.default)(l,[{key:"render",value:function(){var t=this.props,l=t.style,u=t.pressOpacity,c=t.pressColor,n=t.borderless,f=t.children,p=(0,o.default)(t,["style","pressOpacity","pressColor","borderless","children"]);return'android'===y.Platform.OS&&y.Platform.Version>=21?b.createElement(y.TouchableNativeFeedback,(0,s.default)({},p,{background:y.TouchableNativeFeedback.Ripple(c,n),__source:{fileName:h,lineNumber:42}}),b.createElement(y.View,{style:l,__source:{fileName:h,lineNumber:46}},b.Children.only(f))):b.createElement(y.TouchableOpacity,(0,s.default)({},p,{style:l,activeOpacity:u,__source:{fileName:h,lineNumber:51}}),f)}}]),l})(b.Component);e.default=v,v.defaultProps={pressColor:'rgba(255, 255, 255, .4)'}},845,[1,3,11,56,4,5,6,8,9,12,16]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t,f;return function(){for(var l=!1,o=arguments.length,u=new Array(o),v=0;v1?this.getTranslateX(n,s,u):0,y='auto'===l?s.length>1?this.getWidth(n,s,u):u(0):l;return p.createElement(v.default.View,{style:[T.indicator,{width:y},f.width?{transform:[{translateX:h}]}:{left:100/s.length*o.index+"%"},'auto'===l?{opacity:this.opacity}:null,c],__source:{fileName:"/Users/satya/Workspace/Projects/react-native-tab-view/src/TabBarIndicator.tsx",lineNumber:117}})}}]),n})(p.Component);e.default=S;var T=h.StyleSheet.create({indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},847,[1,3,31,4,5,6,8,9,12,16,784,846]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),h=n(r(d[6])),p=t(r(d[7])),c=r(d[8]),v=(function(t){function n(){var t,s;(0,o.default)(this,n);for(var h=arguments.length,p=new Array(h),c=0;cs.props.lazyPreloadDistance},s.handleEnter=function(t){t===s.props.index&&s.state.loading&&s.setState({loading:!1})},s}return(0,h.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.lazy?this.props.addListener('enter',this.handleEnter):this.state.loading&&setTimeout(function(){return t.setState({loading:!1})},0)}},{key:"componentDidUpdate",value:function(t,n){this.props.lazy===t.lazy&&this.state.loading===n.loading||(this.props.lazy&&this.state.loading?this.props.addListener('enter',this.handleEnter):this.props.removeListener('enter',this.handleEnter))}},{key:"componentWillUnmount",value:function(){this.props.removeListener('enter',this.handleEnter)}},{key:"render",value:function(){var t=this.props,n=t.navigationState,o=t.index,s=t.layout,l=t.style,u=this.state.loading,h=n.index===o;return p.createElement(c.View,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[f.route,s.width?{width:s.width}:h?c.StyleSheet.absoluteFill:null,l],__source:{fileName:"/Users/satya/Workspace/Projects/react-native-tab-view/src/SceneView.tsx",lineNumber:92}},h||s.width?this.props.children({loading:u}):null)}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.loading&&Math.abs(t.navigationState.index-t.index)<=t.lazyPreloadDistance?{loading:!1}:null}}]),n})(p.Component);e.default=v;var f=c.StyleSheet.create({route:{flex:1,overflow:'hidden'}})},848,[1,3,4,5,6,8,9,12,16]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),p=n(r(d[6])),c=n(r(d[7])),f=n(r(d[8])),h=n(r(d[9])),v=n(r(d[10])),x=t(r(d[11])),w=r(d[12]),y=r(d[13]),S=t(r(d[14])),I=n(r(d[15])),b="/Users/satya/Workspace/Projects/react-native-tab-view/src/Pager.tsx";function T(t,n){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),s.push.apply(s,o)}return s}function V(t){for(var n=1;n-1&&s.enterListeners.splice(o,1)}},s.handleEnteredIndexChange=function(t){var n=(0,l.default)(t,1)[0],o=Math.max(0,Math.min(n,s.props.navigationState.routes.length-1));s.enterListeners.forEach(function(t){return t(o)})},s.transitionTo=function(t){var n=new E(0),o=new E(0),l={position:s.progress,time:new E(0),finished:new E(se)};return O([G(j(s.clock),ae,[J(n,K(t,s.layoutWidth,le)),J(o,0),J(l.time,0),J(l.finished,se),J(s.index,t)]),G(s.isSwipeGesture,[G(z(j(s.clock)),w.I18nManager.isRTL?J(s.initialVelocityForSpring,K(-1,s.velocityX,s.springVelocityScale)):J(s.initialVelocityForSpring,K(s.velocityX,s.springVelocityScale))),Q(s.clock,V({},l,{velocity:s.initialVelocityForSpring}),V({},pe,{},s.springConfig,{toValue:n}))],te(s.clock,V({},l,{frameTime:o}),V({},ge,{},s.timingConfig,{toValue:n}))),G(z(j(s.clock)),Z(s.clock)),G(l.finished,[J(s.isSwipeGesture,se),J(s.gestureX,0),J(s.velocityX,0),$(s.clock)])])},s.handleGestureEvent=_([{nativeEvent:{translationX:s.gestureX,velocityX:s.velocityX,state:s.gestureState}}]),s.extrapolatedPosition=L(s.gestureX,K(s.velocityX,s.swipeVelocityImpact)),s.toggleEnabled=function(){s.state.enabled&&s.setState({enabled:!1},function(){s.setState({enabled:!0})})},s.maybeCancel=O([G(k(s.gesturesEnabled,H(k(F(s.index,ee(s.routesLength,1)),A(s.gestureX,0)),k(F(s.index,0),N(s.gestureX,0)))),J(s.gesturesEnabled,0))]),s.translateX=O([X(s.gesturesEnabled,G(z(s.gesturesEnabled),R([s.gesturesEnabled],s.toggleEnabled))),X(s.index,R([s.index],function(t){var n=(0,l.default)(t,1)[0];s.currentIndexValue=n,n!==s.props.navigationState.index&&(s.props.onIndexChange(n),s.pendingIndexValue=n,s.forceUpdate())})),X(s.position,G(w.I18nManager.isRTL?A(s.gestureX,0):N(s.gestureX,0),G(Y(W(s.position),s.lastEnteredIndex),[J(s.lastEnteredIndex,W(s.position)),R([W(s.position)],s.handleEnteredIndexChange)]),G(Y(D(s.position),s.lastEnteredIndex),[J(s.lastEnteredIndex,D(s.position)),R([D(s.position)],s.handleEnteredIndexChange)]))),X(s.isSwiping,[G(z(s.isSwiping),J(s.gesturesEnabled,1)),R([s.isSwiping,s.indexAtSwipeEnd,s.index],function(t){var n=(0,l.default)(t,3),o=n[0],u=n[1],p=n[2],c=s.props,f=c.keyboardDismissMode,h=c.onSwipeStart,v=c.onSwipeEnd;if(o===ie)if(null==h||h(),s.interactionHandle=w.InteractionManager.createInteractionHandle(),'auto'===f){var x=w.TextInput.State.currentlyFocusedField();w.TextInput.State.blurTextInput(x),s.previouslyFocusedTextInput=x}else'on-drag'===f&&w.Keyboard.dismiss();else if(null==v||v(),null!==s.interactionHandle&&w.InteractionManager.clearInteractionHandle(s.interactionHandle),'auto'===f){if(u===p){var y=s.previouslyFocusedTextInput;y&&w.TextInput.State.focusTextInput(y)}s.previouslyFocusedTextInput=null}})]),X(s.nextIndex,G(Y(s.nextIndex,re),[G(j(s.clock),$(s.clock)),J(s.gestureX,0),J(s.index,s.nextIndex),J(s.nextIndex,re)])),G(F(s.gestureState,y.State.ACTIVE),[s.maybeCancel,G(s.isSwiping,ae,[J(s.isSwiping,ie),J(s.isSwipeGesture,ie),J(s.offsetX,s.progress)]),J(s.progress,w.I18nManager.isRTL?ee(s.offsetX,s.gestureX):L(s.offsetX,s.gestureX)),$(s.clock)],[J(s.isSwiping,se),J(s.indexAtSwipeEnd,s.index),s.transitionTo(G(k(N(P(s.gestureX),de),N(P(s.extrapolatedPosition),M(s.layoutWidth,2))),B(q(U(0,ee(s.index,G(N(s.extrapolatedPosition,0),w.I18nManager.isRTL?le:oe,w.I18nManager.isRTL?oe:le))),ee(s.routesLength,1))),s.index))]),s.progress]),s.getTranslateX=(0,I.default)(function(t,n,s){return K(q(U(K(t,ee(n,1),le),s),0),w.I18nManager.isRTL?-1:1)}),s}return(0,v.default)(n,t),(0,c.default)(n,[{key:"componentDidMount",value:function(){this.context&&this.context.addGestureHandlerRef&&this.context.addGestureHandlerRef(this.gestureHandlerRef)}},{key:"componentDidUpdate",value:function(t){var n=this.props,s=n.navigationState,o=n.layout,l=n.swipeVelocityImpact,u=n.springVelocityScale,p=n.springConfig,c=n.timingConfig,f=s.index,h=s.routes;(f!==t.navigationState.index&&f!==this.currentIndexValue||'number'==typeof this.pendingIndexValue&&f!==this.pendingIndexValue)&&this.jumpToIndex(f),this.pendingIndexValue=void 0,t.navigationState.routes.length!==h.length&&this.routesLength.setValue(h.length),t.layout.width!==o.width&&(this.progress.setValue(-f*o.width),this.layoutWidth.setValue(o.width)),t.swipeVelocityImpact!==l&&this.swipeVelocityImpact.setValue(void 0!==l?l:ue),t.springVelocityScale!==u&&this.springVelocityScale.setValue(void 0!==u?u:ce),t.springConfig!==p&&(this.springConfig.damping.setValue(void 0!==p.damping?p.damping:pe.damping),this.springConfig.mass.setValue(void 0!==p.mass?p.mass:pe.mass),this.springConfig.stiffness.setValue(void 0!==p.stiffness?p.stiffness:pe.stiffness),this.springConfig.restSpeedThreshold.setValue(void 0!==p.restSpeedThreshold?p.restSpeedThreshold:pe.restSpeedThreshold),this.springConfig.restDisplacementThreshold.setValue(void 0!==p.restDisplacementThreshold?p.restDisplacementThreshold:pe.restDisplacementThreshold)),t.timingConfig!==c&&this.timingConfig.duration.setValue(void 0!==c.duration?c.duration:ge.duration)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&w.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,o=n.layout,l=n.navigationState,u=n.swipeEnabled,p=n.children,c=n.removeClippedSubviews,f=n.gestureHandlerProps,h=this.getTranslateX(this.layoutWidth,this.routesLength,this.translateX);return p({position:this.position,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return x.createElement(y.PanGestureHandler,(0,s.default)({ref:t.gestureHandlerRef,simultaneousHandlers:t.state.childPanGestureHandlerRefs,waitFor:t.state.childPanGestureHandlerRefs,enabled:0!==o.width&&u&&t.state.enabled,onGestureEvent:t.handleGestureEvent,onHandlerStateChange:t.handleGestureEvent,activeOffsetX:[-20,de],failOffsetY:[-20,de]},f,{__source:{fileName:b,lineNumber:769}}),x.createElement(S.default.View,{removeClippedSubviews:c,style:[he.container,o.width?{width:o.width*l.routes.length,transform:[{translateX:h}]}:null],__source:{fileName:b,lineNumber:780}},x.createElement(ne.Provider,{value:t.providerVal,__source:{fileName:b,lineNumber:792}},n)))}})}}]),n})(x.Component);e.default=fe,fe.defaultProps={swipeVelocityImpact:ue,springVelocityScale:ce},fe.contextType=ne;var he=w.StyleSheet.create({container:{flex:1,flexDirection:'row'}})},849,[1,3,11,50,25,31,4,5,6,8,9,12,16,464,784,846]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(n){var o=n.route,u=n.jumpTo,c=n.position;return p.createElement(y,{key:o.key,component:t[o.key],route:o,jumpTo:u,position:c,__source:{fileName:v,lineNumber:16}})}};var o=n(r(d[2])),u=n(r(d[3])),c=n(r(d[4])),s=n(r(d[5])),f=n(r(d[6])),l=n(r(d[7])),p=t(r(d[8])),v="/Users/satya/Workspace/Projects/react-native-tab-view/src/SceneMap.tsx",y=(function(t){function n(){return(0,u.default)(this,n),(0,s.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,l.default)(n,t),(0,c.default)(n,[{key:"render",value:function(){var t=this.props,n=t.component,u=(0,o.default)(t,["component"]);return p.createElement(n,u)}}]),n})(p.PureComponent)},850,[1,3,56,4,5,6,8,9,12]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),s=n(r(d[4])),c=n(r(d[5])),u=n(r(d[6])),p=t(r(d[7])),h=r(d[8]),f=n(r(d[9])),v=f.default.event,y=f.default.divide,w=f.default.Value,S=(function(t){function n(){var t,l;(0,o.default)(this,n);for(var u=arguments.length,S=new Array(u),x=0;x1&&void 0!==arguments[1])||arguments[1];l.scrollViewRef.current&&l.scrollViewRef.current.getNode().scrollTo({x:t,animated:n})},l.enterListeners=[],l.addListener=function(t,n){switch(t){case'enter':l.enterListeners.push(n)}},l.removeListener=function(t,n){switch(t){case'enter':var o=l.enterListeners.indexOf(n);o>-1&&l.enterListeners.splice(o,1)}},l.position=new f.default.Value(l.props.navigationState.index*l.props.layout.width),l.onScroll=v([{nativeEvent:{contentOffset:{x:l.position}}}]),l.layoutWidthNode=new w(l.props.layout.width),l.relativePosition=y(l.position,l.layoutWidthNode),l}return(0,u.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){this.props.layout.width&&this.scrollTo(this.props.navigationState.index*this.props.layout.width,!1)}},{key:"componentDidUpdate",value:function(t){var n=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes.length!==this.props.navigationState.routes.length||t.layout.width!==this.props.layout.width?this.scrollTo(n,!1):t.navigationState.index!==this.props.navigationState.index&&this.scrollTo(n),t.layout.width!==this.props.layout.width&&this.layoutWidthNode.setValue(this.props.layout.width)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&h.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,o=n.children,l=n.layout,s=n.onSwipeStart,c=n.onSwipeEnd,u=n.overscroll,v=n.navigationState,y=function(){null==s||s(),t.interactionHandle=h.InteractionManager.createInteractionHandle()},w=function(){null==c||c(),null!==t.interactionHandle&&h.InteractionManager.clearInteractionHandle(t.interactionHandle)};return o({position:this.relativePosition,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return p.createElement(f.default.ScrollView,{pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollToOverflowEnabled:!0,scrollEnabled:t.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:u,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:t.onScroll,onScrollBeginDrag:y,onScrollEndDrag:w,onMomentumScrollEnd:t.onScroll,contentOffset:t.initialOffset,style:x.container,contentContainerStyle:l.width?{flexDirection:'row',width:l.width*v.routes.length,flex:1}:null,ref:t.scrollViewRef,__source:{fileName:"/Users/satya/Workspace/Projects/react-native-tab-view/src/ScrollPager.tsx",lineNumber:160}},n)}})}}]),n})(p.Component);e.default=S,S.defaultProps={bounces:!0};var x=h.StyleSheet.create({container:{flex:1}})},851,[1,3,4,5,6,8,9,12,16,784]); -__d(function(g,r,i,a,m,e,d){},852,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),u=r(d[2]),o=n(r(d[3])),c=(0,t.connect)(function(n){return{balance:(0,u.selectBalance)(n)}},function(n){return{notify:function(t){return n((0,u.doToast)(t))},sendTip:function(t,o,c,f,l){return n((0,u.doSendTip)(t,o,c,f,l))}}})(o.default);e.default=c},853,[3,378,401,854]); -__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])),u=t(r(d[3])),s=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),f=r(d[7]),p=r(d[8]),y=t(r(d[9])),h=t(r(d[10])),_=t(r(d[11])),T=t(r(d[12])),b=(t(r(d[13])),t(r(d[14]))),S=t(r(d[15])),v=(function(t){function v(){var t,l;(0,n.default)(this,v);for(var o=arguments.length,c=new Array(o),p=0;pu)s({message:'Insufficient credits'});else{var h=parseInt(y,10),_=1===h?__('Please confirm you want to tip %amount% credit',{amount:h}):__('Please confirm you want to tip %amount% credits',{amount:h});f.Alert.alert(__('Send Tip'),_,[{text:__('No')},{text:__('Yes'),onPress:function(){l.setState({sendTipStarted:!0},function(){return p(y,n.claim_id,!1,function(){l.setState({tipAmount:null,sendTipStarted:!1}),c&&c()},function(){o&&o()})})}}],{cancelable:!0})}},l}return(0,o.default)(v,t),(0,l.default)(v,[{key:"render",value:function(){var t=this,n=this.props,l=n.balance,u=n.channelName,s=n.contentName,o=n.onCancelPress,v=n.onOverlayPress,E=this.state.tipAmount>0;return c.default.createElement(f.TouchableOpacity,{style:y.default.overlay,activeOpacity:1,onPress:v},c.default.createElement(f.TouchableOpacity,{style:y.default.container,activeOpacity:1},c.default.createElement(f.View,{style:h.default.container,onLayout:function(){t.tipAmountInput&&t.tipAmountInput.focus()}},c.default.createElement(f.Text,{style:h.default.title,numberOfLines:1},u?__('Send a tip to %channel%',{channel:u}):__('Send a tip')),c.default.createElement(f.View,{style:h.default.row},c.default.createElement(f.View,{style:h.default.amountRow},c.default.createElement(f.TextInput,{editable:!this.state.sendTipStarted,ref:function(n){return t.tipAmountInput=n},onChangeText:function(n){return t.setState({tipAmount:n})},underlineColorAndroid:T.default.NextLbryGreen,keyboardType:'numeric',onFocus:function(){return t.setState({creditsInputFocused:!0})},onBlur:function(){return t.setState({creditsInputFocused:!1})},placeholder:'0',value:this.state.tipAmount,selectTextOnFocus:!0,style:h.default.tipAmountInput}),c.default.createElement(f.Text,{style:h.default.currency},"LBC"),c.default.createElement(f.View,{style:h.default.balance},this.state.creditsInputFocused&&c.default.createElement(b.default,{name:"coins",size:12}),this.state.creditsInputFocused&&c.default.createElement(f.Text,{style:h.default.balanceText},(0,p.formatCredits)(parseFloat(l),1,!0)))),this.state.sendTipStarted&&c.default.createElement(f.ActivityIndicator,{size:'small',color:T.default.NextLbryGreen})),c.default.createElement(f.View,{style:h.default.info},c.default.createElement(f.Text,{style:h.default.infoText},__('This will appear as a tip for %content%, which will boost its ability to be discovered while active.',{content:s}),' ',c.default.createElement(S.default,{style:h.default.learnMoreLink,text:__('Learn more.'),href:'https://lbry.com/faq/tipping'}))),c.default.createElement(f.View,{style:h.default.buttonRow},c.default.createElement(S.default,{style:h.default.cancelTipLink,text:__('Cancel'),onPress:function(){o&&o()}}),c.default.createElement(_.default,{text:__('Send'),style:h.default.button,disabled:!E||this.state.sendTipStarted,onPress:this.handleSendTip})))))}}]),v})(c.default.PureComponent);e.default=v},854,[3,4,5,6,8,9,12,16,401,855,856,679,674,493,502,498]); -__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({overlay:{backgroundColor:'#00000055',flex:1,position:'absolute',left:0,right:0,top:0,bottom:0,zIndex:300},overlayTouchArea:{position:'absolute',left:0,right:0,top:0,bottom:0},container:{position:'absolute',left:8,right:8,bottom:8,borderRadius:8,backgroundColor:n.default.White,overflow:'hidden'},paddedContatiner:{padding:12},buttons:{marginTop:16,left:8,bottom:8,position:'absolute'},wideButtons:{marginTop:16,left:8,bottom:8,right:8,position:'absolute'},doneButton:{alignSelf:'flex-start',backgroundColor:n.default.LbryGreen,paddingLeft:16,paddingRight:16},wideDoneButton:{backgroundColor:n.default.LbryGreen,paddingLeft:16,paddingRight:16}});e.default=l},855,[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({container:{padding:16},title:{fontFamily:'Inter-Regular',fontSize:24},row:{flexDirection:'row',flex:1},amountRow:{flexDirection:'row',alignItems:'center',marginRight:24},tipAmountInput:{fontFamily:'Inter-Regular',fontSize:14,alignSelf:'flex-start',textAlign:'right',width:80,letterSpacing:1},currency:{fontFamily:'Inter-Regular',fontSize:12,marginLeft:4},buttonRow:{alignItems:'center',flexDirection:'row',justifyContent:'space-between',marginTop:16},button:{backgroundColor:o.default.LbryGreen},cancelTipLink:{color:o.default.Grey},balance:{alignItems:'center',flexDirection:'row',marginLeft:24},balanceText:{fontFamily:'Inter-SemiBold',fontSize:14,marginLeft:4},info:{marginTop:4},infoText:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.DescriptionGrey},learnMoreLink:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.LbryGreen}});e.default=l},856,[3,16,674]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=r(d[1]),u=r(d[2]),o=r(d[3]),b=n(r(d[4])),c=(0,s.connect)(function(n,s){return{subscriptions:(0,u.selectSubscriptions)(n),isSubscribed:(0,u.makeSelectIsSubscribed)(s.uri,!0)(n)}},{doChannelSubscribe:u.doChannelSubscribe,doChannelUnsubscribe:u.doChannelUnsubscribe,doToast:o.doToast})(b.default);e.default=c},857,[3,378,408,401,858]); -__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])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),h=(r(d[8]),t(r(d[9]))),b=t(r(d[10])),p=(function(t){function p(){return(0,l.default)(this,p),(0,u.default)(this,(0,o.default)(p).apply(this,arguments))}return(0,s.default)(p,t),(0,n.default)(p,[{key:"render",value:function(){var t=this.props,l=t.uri,n=t.isSubscribed,u=t.doChannelSubscribe,o=t.doChannelUnsubscribe,s=t.style,p=t.hideText,v=[];s&&(s.length?v=v.concat(s):v.push(s));var _=n?null:b.default.Red,y=n?o:u,C=n?null:__('Follow'),P=(0,c.parseURI)(l).claimName;return f.default.createElement(h.default,{style:v,theme:'light',icon:n?'heart-broken':'heart',iconColor:_,solid:!n,text:p?null:C,onPress:function(){y({channelName:P,uri:(0,c.normalizeURI)(l)})}})}}]),p})(f.default.PureComponent);e.default=p},858,[3,4,5,6,8,9,12,401,16,679,674]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),t=r(d[2]),s=r(d[3]),c=n(r(d[4])),l=(0,o.connect)(function(n,o){return{enabledChannelNotifications:(0,t.selectEnabledChannelNotifications)(n),subscriptions:(0,t.selectSubscriptions)(n),isSubscribed:(0,t.makeSelectIsSubscribed)(o.uri,!0)(n)}},{doChannelSubscriptionEnableNotifications:t.doChannelSubscriptionEnableNotifications,doChannelSubscriptionDisableNotifications:t.doChannelSubscriptionDisableNotifications,doToast:s.doToast})(c.default);e.default=l},859,[3,378,408,401,860]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),l=n(r(d[2])),o=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),f=n(r(d[6])),c=(r(d[7]),r(d[8]),n(r(d[9]))),h=(n(r(d[10])),(function(n){function h(){var n,l;(0,t.default)(this,h);for(var u=arguments.length,f=new Array(u),c=0;c-1?(s(t),u({message:'You will not receive notifications for new content.'})):(o(t),u({message:'You will receive all notifications for new content.'}))},l}return(0,u.default)(h,n),(0,l.default)(h,[{key:"render",value:function(){var n=this.props,t=n.enabledChannelNotifications,l=n.name,o=(n.uri,n.isSubscribed),s=n.style;if(!o)return null;var u=[];s&&(s.length?u=u.concat(s):u.push(s));var h=t.indexOf(l)>-1;return f.default.createElement(c.default,{style:u,theme:'light',icon:h?'bell-slash':'bell',solid:!0,onPress:this.handlePress})}}]),h})(f.default.PureComponent));e.default=h},860,[3,4,5,6,8,9,12,401,16,679,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({container:{flex:1,justifyContent:'center',backgroundColor:o.default.PageBackground},content:{flex:1},viewContainer:{flex:1,marginTop:60},fileList:{flex:1,paddingTop:30},fileListContent:{paddingBottom:16},title:{color:o.default.LbryGreen,fontFamily:'Inter-SemiBold',fontSize:30,margin:16},busyContainer:{flex:1,justifyContent:'center',alignItems:'center',padding:24},infoText:{fontFamily:'Inter-Regular',fontSize:20,textAlign:'center'},pageButtons:{width:'100%',flexDirection:'row',justifyContent:'space-between',position:'absolute',bottom:16,paddingLeft:16,paddingRight:16},button:{backgroundColor:o.default.LbryGreen,paddingLeft:16,paddingRight:16},nextButton:{alignSelf:'flex-end'},channelHeader:{position:'absolute',left:120,bottom:4},channelName:{color:o.default.White,fontFamily:'Inter-Regular',fontSize:18,padding:2,backgroundColor:'#000000aa'},subscribeButtonContainer:{position:'absolute',flexDirection:'row',right:8,bottom:-90,zIndex:100},subscribeButton:{alignSelf:'flex-start',backgroundColor:o.default.White,paddingLeft:16,paddingRight:16},bellButton:{marginLeft:8},cover:{width:'100%',height:'20%'},coverImage:{width:'100%',height:'100%'},tabBar:{height:45,backgroundColor:o.default.LbryGreen,flexDirection:'row',justifyContent:'flex-end'},tabTitle:{fontFamily:'Inter-SemiBold',fontSize:14,color:o.default.White},tab:{width:'30%',alignItems:'center',justifyContent:'center'},activeTabHint:{position:'absolute',bottom:0,backgroundColor:o.default.White,height:3,width:'100%'},contentTab:{flex:1},aboutTab:{flex:1},aboutScroll:{flex:1},aboutItem:{marginBottom:24},aboutScrollContent:{paddingTop:52,padding:24},aboutTitle:{fontFamily:'Inter-SemiBold',fontSize:16,lineHeight:24},aboutText:{fontFamily:'Inter-Regular',fontSize:16,lineHeight:24},avatarImageContainer:{width:80,height:80,borderRadius:160,position:'absolute',overflow:'hidden',left:24,bottom:-24,zIndex:100,alignItems:'center',justifyContent:'center'},avatarImage:{width:'100%',height:'100%'},listHeader:{marginTop:16,marginBottom:8,marginLeft:16,marginRight:16},claimList:{flex:1},claimListContent:{paddingTop:16},actionButton:{backgroundColor:o.default.White},deleteButton:{marginLeft:8},shareButton:{marginLeft:8,marginRight:8},tipButton:{marginRight:8},followerCount:{fontFamily:'Inter-Regular',fontSize:12,color:o.default.White,marginTop:2,padding:2,flexWrap:'wrap'},followerCountBg:{backgroundColor:'#000000aa'}});e.default=l},861,[3,16,674]); -__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 n=r(d[1]),t=r(d[2]),u=r(d[3]),c=r(d[4]),f=o(r(d[5])),l=(0,n.connect)(function(o,n){return{fileInfo:(0,t.makeSelectFileInfoForUri)(n.uri)(o),downloading:(0,t.makeSelectDownloadingForUri)(n.uri)(o),costInfo:(0,u.makeSelectCostInfoForUri)(n.uri)(o),loading:(0,t.makeSelectLoadingForUri)(n.uri)(o)}},function(o){return{purchaseUri:function(n,u,c){return o((0,t.doPurchaseUri)(n,u,c))},restartDownload:function(n,t){return o((0,c.doStartDownload)(n,t))},fetchCostInfo:function(n){return o((0,u.doFetchCostInfoForUri)(n))}}})(f.default);e.default=l},862,[3,378,401,408,757,863]); -__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])),o=t(r(d[2])),l=t(r(d[3])),u=t(r(d[4])),f=t(r(d[5])),s=t(r(d[6])),c=r(d[7]),y=t(r(d[8])),_=t(r(d[9])),p=(function(t){function p(){return(0,n.default)(this,p),(0,l.default)(this,(0,u.default)(p).apply(this,arguments))}return(0,f.default)(p,t),(0,o.default)(p,[{key:"componentDidMount",value:function(){var t=this.props,n=t.costInfo,o=t.fetchCostInfo,l=t.uri;void 0===n&&o(l)}},{key:"restartDownload",value:function(t){var n=t.downloading,o=t.fileInfo,l=t.uri,u=t.restartDownload;!n&&o&&!o.completed&&!1!==o.written_bytes&&o.written_bytes0&&(n.video.seek(s),n.setState({currentTime:s},function(){return n.setSeekerPosition(n.calculateSeekerPosition())})),n.props.onMediaLoaded&&n.props.onMediaLoaded()},n.onProgress=function(t){var s=n.props,o=s.savePosition,l=s.claim;(n.setState({buffering:!1,currentTime:t.currentTime}),t.currentTime>0&&Math.floor(t.currentTime)%S==0)&&o(l.claim_id,l.txid+":"+l.nout,t.currentTime);n.state.seeking||n.setSeekerPosition(n.calculateSeekerPosition()),n.state.firstPlay&&(n.props.onPlaybackStarted&&n.props.onPlaybackStarted(),n.setState({firstPlay:!1}),n.hidePlayerControls())},n.clearControlsTimeout=function(){n.state.controlsTimeout>-1&&clearTimeout(n.state.controlsTimeout)},n.showPlayerControls=function(){n.clearControlsTimeout(),n.state.areControlsVisible||n.setState({areControlsVisible:!0}),n.hidePlayerControls()},n.manualHidePlayerControls=function(){n.clearControlsTimeout(),n.setState({areControlsVisible:!1})},n.togglePlayerControls=function(){var t=n.props,s=t.setPlayerVisible;t.isPlayerVisible||s(),n.state.areControlsVisible?n.manualHidePlayerControls():n.showPlayerControls()},n.togglePlay=function(){n.showPlayerControls(),n.setState({paused:!n.state.paused},n.updateBackgroundMediaNotification)},n.handlePausedState=function(){n.state.paused||n.setState({buffering:!0})},n.toggleFullscreenMode=function(){n.showPlayerControls();var t=n.props.onFullscreenToggled;n.setState({fullscreenMode:!n.state.fullscreenMode},function(){t&&t(n.state.fullscreenMode)})},n.onEnd=function(){n.setState({paused:!0},n.updateBackgroundMediaNotification),n.props.onPlaybackFinished&&n.props.onPlaybackFinished(),n.video.seek(0)},n.handleAppStateChange=function(){h.AppState.currentState&&h.AppState.currentState.match(/inactive|background/)&&(n.state.backgroundPlayEnabled||n.state.paused||n.setState({paused:!0,autoPaused:!0})),h.AppState.currentState&&h.AppState.currentState.match(/active/)&&!n.state.backgroundPlayEnabled&&n.state.autoPaused&&n.setState({paused:!1,autoPaused:!1})},n.onFocusChanged=function(t){n.setState({paused:!(n.state.paused&&t.hasAudioFocus)},n.updateBackgroundMediaNotification)},n.onBuffer=function(){n.state.paused||n.setState({buffering:!0},function(){return n.manualHidePlayerControls()})},n.play=function(){n.setState({paused:!1},n.updateBackgroundMediaNotification)},n.pause=function(){n.setState({paused:!0},n.updateBackgroundMediaNotification)},n.handleSeek=function(t){var s=n.state.currentTime+t;n.seekTo(s)},n.updateBackgroundMediaNotification=function(){if(n.handlePausedState(),n.props.backgroundPlayEnabled&&h.NativeModules.BackgroundMedia&&window.currentMediaInfo){var t=window.currentMediaInfo,s=t.title,o=t.channel,l=t.uri;h.NativeModules.BackgroundMedia.showPlaybackNotification(s,o,l,n.state.paused)}},n.onSeekerTouchAreaPressed=function(t){if(t&&t.nativeEvent){var s=t.nativeEvent.locationX;if(!isNaN(s)){var o=n.state.duration*(s/n.seekerWidth);n.setSeekerPosition(s),n.seekTo(o)}}},n.onTrackingLayout=function(t){n.trackingOffset=t.nativeEvent.layout.x,n.seekerWidth=t.nativeEvent.layout.width,n.setSeekerPosition(n.calculateSeekerPosition())},n.state={buffering:!1,backgroundPlayEnabled:!1,autoPaused:!1,rate:1,volume:1,muted:!1,resizeMode:'contain',duration:0,currentTime:0,paused:!t.autoPlay,fullscreenMode:!1,areControlsVisible:!0,controlsTimeout:-1,seekerOffset:0,seekerPosition:0,firstPlay:!0,seekTimeout:-1},n}return(0,c.default)(T,t),(0,o.default)(T,[{key:"formatTime",value:function(t){var n='',s=0,o=0,l=parseInt(t,10);return l>60?(s=parseInt(l/60,10),l%=60,s>60&&(o=parseInt(s/60,10),s%=60),n=(o>0?this.pad(o)+':':'')+this.pad(s)+':'+this.pad(l)):n='00:'+this.pad(l),n}},{key:"pad",value:function(t){return t<10?'0'+String(t):t}},{key:"hidePlayerControls",value:function(){var t=this,n=setTimeout(function(){t.setState({areControlsVisible:!1})},T.ControlsTimeout);t.setState({controlsTimeout:n})}},{key:"setSeekerPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;t=this.checkSeekerPosition(t),this.setState({seekerPosition:t}),this.state.seeking||this.setState({seekerOffset:t})}},{key:"checkSeekerPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(t<0)t=0;else if(t>=this.seekerWidth)return this.seekerWidth;return t}},{key:"seekTo",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;t>this.state.duration||(this.video.seek(t),this.setState({currentTime:t}))}},{key:"initSeeker",value:function(){var t=this;this.seekResponder=h.PanResponder.create({onStartShouldSetPanResponder:function(t,n){return!0},onMoveShouldSetPanResponder:function(t,n){return!0},onPanResponderGrant:function(n,s){t.clearControlsTimeout(),t.state.seekTimeout>0&&clearTimeout(t.state.seekTimeout),t.setState({seeking:!0})},onPanResponderMove:function(n,s){var o=t.state.seekerOffset+s.dx;t.setSeekerPosition(o)},onPanResponderRelease:function(n,s){var o=t.getCurrentTimeForSeekerPosition();o>=t.state.duration?(t.setState({paused:!0},t.handlePausedState),t.onEnd()):(t.seekTo(o),t.setState({seekTimeout:setTimeout(function(){t.setState({seeking:!1})},100)})),t.hidePlayerControls()}})}},{key:"getTrackingOffset",value:function(){return this.state.fullscreenMode?this.trackingOffset:0}},{key:"getCurrentTimeForSeekerPosition",value:function(){return this.state.duration*(this.state.seekerPosition/this.seekerWidth)}},{key:"calculateSeekerPosition",value:function(){return this.seekerWidth*this.getCurrentTimePercentage()}},{key:"getCurrentTimePercentage",value:function(){return this.state.currentTime>0?parseFloat(this.state.currentTime)/parseFloat(this.state.duration):0}},{key:"componentWillMount",value:function(){this.initSeeker()}},{key:"componentWillReceiveProps",value:function(t){t.isPlayerVisible||this.state.backgroundPlayEnabled||this.setState({paused:!0})}},{key:"componentDidMount",value:function(){var t=this.props,n=t.assignPlayer,s=t.backgroundPlayEnabled;n&&n(this),this.setState({backgroundPlayEnabled:!!s}),this.setSeekerPosition(this.calculateSeekerPosition()),h.AppState.addEventListener('change',this.handleAppStateChange),h.DeviceEventEmitter.addListener('onBackgroundPlayPressed',this.play),h.DeviceEventEmitter.addListener('onBackgroundPausePressed',this.pause)}},{key:"componentWillUnmount",value:function(){h.AppState.removeEventListener('change',this.handleAppStateChange),h.DeviceEventEmitter.removeListener('onBackgroundPlayPressed',this.play),h.DeviceEventEmitter.removeListener('onBackgroundPausePressed',this.pause),this.clearControlsTimeout(),this.setState({paused:!0,fullscreenMode:!1});var t=this.props.onFullscreenToggled;t&&t(!1)}},{key:"renderPlayerControls",value:function(){var t=this,n=this.props.onBackButtonPressed;return this.state.areControlsVisible?f.default.createElement(h.View,{style:v.default.playerControlsContainer},f.default.createElement(h.TouchableOpacity,{style:v.default.backButton,onPress:n},f.default.createElement(P.default,{name:'arrow-left',size:18,style:v.default.backButtonIcon})),f.default.createElement(h.View,{style:v.default.midControls},f.default.createElement(h.TouchableOpacity,{style:v.default.rewind10,onPress:function(){return t.handleSeek(-10)}},f.default.createElement(P.default,{name:"undo",size:24,color:p.default.White}),f.default.createElement(h.Text,{style:[v.default.midControlText,v.default.leftMidControlText]},"10")),f.default.createElement(h.TouchableOpacity,{style:v.default.playPauseButton,onPress:this.togglePlay},this.state.paused&&f.default.createElement(P.default,{name:"play",size:40,color:p.default.White}),!this.state.paused&&f.default.createElement(P.default,{name:"pause",size:40,color:p.default.White})),f.default.createElement(h.TouchableOpacity,{style:v.default.forward10,onPress:function(){return t.handleSeek(10)}},f.default.createElement(P.default,{name:"redo",size:24,color:p.default.White}),f.default.createElement(h.Text,{style:[v.default.midControlText,v.default.rightMidControlText]},"10"))),f.default.createElement(h.TouchableOpacity,{style:v.default.toggleFullscreenButton,onPress:this.toggleFullscreenMode},this.state.fullscreenMode&&f.default.createElement(P.default,{name:"compress",size:16,color:p.default.White}),!this.state.fullscreenMode&&f.default.createElement(P.default,{name:"expand",size:16,color:p.default.White})),f.default.createElement(h.Text,{style:v.default.elapsedDuration},this.formatTime(this.state.currentTime)),f.default.createElement(h.Text,{style:v.default.totalDuration},this.formatTime(this.state.duration))):null}},{key:"render",value:function(){var t=this,s=this.props,o=s.onLayout,l=s.source,u=s.style,c=s.thumbnail,P=this.getCurrentTimePercentage()*this.seekerWidth,S=this.seekerWidth-P,T=[this.state.fullscreenMode?v.default.fullscreenContainer:v.default.container];u&&(u.length?T=T.concat(u):T.push(u));var C=[v.default.trackingControls,this.state.fullscreenMode?v.default.fullscreenTrackingControls:v.default.containedTrackingControls],b=[this.state.seeking?v.default.bigSeekerCircle:v.default.seekerCircle];return this.state.seeking||b.push(this.state.fullscreenMode?v.default.seekerCircleTopFs:v.default.seekerCircleTop),f.default.createElement(h.View,{style:T,onLayout:o},f.default.createElement(y.default,{source:{uri:l},bufferConfig:{minBufferMs:15e3,maxBufferMs:6e4,bufferForPlaybackMs:5e3,bufferForPlaybackAfterRebufferMs:5e3},ref:function(n){t.video=n},resizeMode:this.state.resizeMode,playInBackground:this.state.backgroundPlayEnabled,playWhenInactive:this.state.backgroundPlayEnabled,style:v.default.player,rate:this.state.rate,volume:this.state.volume,paused:this.state.paused,onLoad:this.onLoad,onBuffer:this.onBuffer,onProgress:this.onProgress,onEnd:this.onEnd,onError:this.onError,minLoadRetryCount:999,onAudioFocusChanged:this.onFocusChanged}),this.state.firstPlay&&c&&f.default.createElement(k.default,{source:{uri:c},resizeMode:k.default.resizeMode.cover,style:v.default.playerThumbnail}),f.default.createElement(h.TouchableOpacity,{style:v.default.playerControls,onPress:this.togglePlayerControls},this.renderPlayerControls()),(!this.state.fullscreenMode||this.state.fullscreenMode&&this.state.areControlsVisible)&&f.default.createElement(h.View,{style:C,onLayout:this.onTrackingLayout},f.default.createElement(h.View,{style:v.default.progress},f.default.createElement(h.View,{style:[v.default.innerProgressCompleted,{width:P}]}),f.default.createElement(h.View,{style:[v.default.innerProgressRemaining,{width:S}]}))),this.state.buffering&&f.default.createElement(h.View,{style:v.default.loadingContainer},f.default.createElement(h.ActivityIndicator,{color:p.default.NextLbryGreen,size:"large"})),this.state.areControlsVisible&&f.default.createElement(h.View,{style:{left:this.getTrackingOffset(),width:this.seekerWidth}},f.default.createElement(h.View,(0,n.default)({style:[v.default.seekerHandle,this.state.fullscreenMode?v.default.seekerHandleFs:v.default.seekerHandleContained,{left:this.state.seekerPosition}]},this.seekResponder.panHandlers),f.default.createElement(h.View,{style:b})),f.default.createElement(h.TouchableOpacity,{style:[v.default.seekerTouchArea,this.state.fullscreenMode?v.default.seekerTouchAreaFs:v.default.seekerTouchAreaContained],onPress:this.onSeekerTouchAreaPressed})))}}]),T})(f.default.PureComponent);T.ControlsTimeout=3e3;var C=T;e.default=C},866,[3,11,4,5,6,8,9,12,401,16,674,693,867,502,734,872]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TextTrackType",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"FilterType",{enumerable:!0,get:function(){return E.default}}),e.default=void 0;var o=n(r(d[2])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),f=n(r(d[6])),c=n(r(d[7])),p=n(r(d[8])),y=n(r(d[9])),P=t(r(d[10])),h=n(r(d[11])),b=r(d[12]),v=n(r(d[13])),S=n(r(d[14])),E=n(r(d[15])),F=n(r(d[16]));function _(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function O(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:100;if(isNaN(t))throw new Error('Specified time is not a number');'ios'===b.Platform.OS?o.setNativeProps({seek:{time:t,tolerance:n}}):o.setNativeProps({seek:t})},o.presentFullscreenPlayer=function(){o.setNativeProps({fullscreen:!0})},o.dismissFullscreenPlayer=function(){o.setNativeProps({fullscreen:!1})},o.save=function(t){return u.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u.default.awrap(b.NativeModules.VideoManager.save(t,(0,b.findNodeHandle)(o._root)));case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}})},o.restoreUserInterfaceForPictureInPictureStopCompleted=function(t){o.setNativeProps({restoreUserInterfaceForPIPStopCompletionHandler:t})},o._assignRoot=function(t){o._root=t},o._hidePoster=function(){o.state.showPoster&&o.setState({showPoster:!1})},o._onLoadStart=function(t){o.props.onLoadStart&&o.props.onLoadStart(t.nativeEvent)},o._onLoad=function(t){'windows'===b.Platform.OS&&o._hidePoster(),o.props.onLoad&&o.props.onLoad(t.nativeEvent)},o._onError=function(t){o.props.onError&&o.props.onError(t.nativeEvent)},o._onProgress=function(t){o.props.onProgress&&o.props.onProgress(t.nativeEvent)},o._onBandwidthUpdate=function(t){o.props.onBandwidthUpdate&&o.props.onBandwidthUpdate(t.nativeEvent)},o._onSeek=function(t){o.props.onSeek&&o.props.onSeek(t.nativeEvent)},o._onEnd=function(t){o.props.onEnd&&o.props.onEnd(t.nativeEvent)},o._onTimedMetadata=function(t){o.props.onTimedMetadata&&o.props.onTimedMetadata(t.nativeEvent)},o._onFullscreenPlayerWillPresent=function(t){o.props.onFullscreenPlayerWillPresent&&o.props.onFullscreenPlayerWillPresent(t.nativeEvent)},o._onFullscreenPlayerDidPresent=function(t){o.props.onFullscreenPlayerDidPresent&&o.props.onFullscreenPlayerDidPresent(t.nativeEvent)},o._onFullscreenPlayerWillDismiss=function(t){o.props.onFullscreenPlayerWillDismiss&&o.props.onFullscreenPlayerWillDismiss(t.nativeEvent)},o._onFullscreenPlayerDidDismiss=function(t){o.props.onFullscreenPlayerDidDismiss&&o.props.onFullscreenPlayerDidDismiss(t.nativeEvent)},o._onReadyForDisplay=function(t){o.props.audioOnly||o._hidePoster(),o.props.onReadyForDisplay&&o.props.onReadyForDisplay(t.nativeEvent)},o._onPlaybackStalled=function(t){o.props.onPlaybackStalled&&o.props.onPlaybackStalled(t.nativeEvent)},o._onPlaybackResume=function(t){o.props.onPlaybackResume&&o.props.onPlaybackResume(t.nativeEvent)},o._onPlaybackRateChange=function(t){o.props.onPlaybackRateChange&&o.props.onPlaybackRateChange(t.nativeEvent)},o._onExternalPlaybackChange=function(t){o.props.onExternalPlaybackChange&&o.props.onExternalPlaybackChange(t.nativeEvent)},o._onAudioBecomingNoisy=function(){o.props.onAudioBecomingNoisy&&o.props.onAudioBecomingNoisy()},o._onPictureInPictureStatusChanged=function(t){o.props.onPictureInPictureStatusChanged&&o.props.onPictureInPictureStatusChanged(t.nativeEvent)},o._onRestoreUserInterfaceForPictureInPictureStop=function(t){o.props.onRestoreUserInterfaceForPictureInPictureStop&&o.props.onRestoreUserInterfaceForPictureInPictureStop()},o._onAudioFocusChanged=function(t){o.props.onAudioFocusChanged&&o.props.onAudioFocusChanged(t.nativeEvent)},o._onBuffer=function(t){o.props.onBuffer&&o.props.onBuffer(t.nativeEvent)},o.getViewManagerConfig=function(t){return b.NativeModules.UIManager.getViewManagerConfig?b.NativeModules.UIManager.getViewManagerConfig(t):b.NativeModules.UIManager[t]},o.state={showPoster:!!t.poster},o}return(0,y.default)(n,t),(0,f.default)(n,[{key:"setNativeProps",value:function(t){this._root.setNativeProps(t)}},{key:"toTypeString",value:function(t){switch(typeof t){case"object":return t instanceof Date?t.toISOString():JSON.stringify(t);case"undefined":return"";default:return t.toString()}}},{key:"stringsOnlyObject",value:function(t){var n=this,o={};return Object.keys(t).forEach(function(l){o[l]=n.toTypeString(t[l])}),o}},{key:"render",value:function(){var t=this.props.resizeMode,n=(0,v.default)(this.props.source)||{},o=!Boolean(n.__packager_asset),u=n.uri||'';u&&u.match(/^\//)&&(u="file://"+u),u||console.warn('Trying to load empty source.');var s,f=!(!u||!u.match(/^https?:/)),c=!(!u||!u.match(/^(assets-library|ipod-library|file|content|ms-appx|ms-appdata):/)),p=this.getViewManagerConfig('RCTVideo');s=t===F.default.stretch?p.Constants.ScaleToFill:t===F.default.contain?p.Constants.ScaleAspectFit:t===F.default.cover?p.Constants.ScaleAspectFill:p.Constants.ScaleNone;var y=(0,l.default)({},this.props);(0,l.default)(y,{style:[k.base,y.style],resizeMode:s,src:{uri:u,isNetwork:f,isAsset:c,shouldCache:o,type:n.type||'',mainVer:n.mainVer||0,patchVer:n.patchVer||0,requestHeaders:n.headers?this.stringsOnlyObject(n.headers):{}},onVideoLoadStart:this._onLoadStart,onVideoLoad:this._onLoad,onVideoError:this._onError,onVideoProgress:this._onProgress,onVideoSeek:this._onSeek,onVideoEnd:this._onEnd,onVideoBuffer:this._onBuffer,onVideoBandwidthUpdate:this._onBandwidthUpdate,onTimedMetadata:this._onTimedMetadata,onVideoAudioBecomingNoisy:this._onAudioBecomingNoisy,onVideoExternalPlaybackChange:this._onExternalPlaybackChange,onVideoFullscreenPlayerWillPresent:this._onFullscreenPlayerWillPresent,onVideoFullscreenPlayerDidPresent:this._onFullscreenPlayerDidPresent,onVideoFullscreenPlayerWillDismiss:this._onFullscreenPlayerWillDismiss,onVideoFullscreenPlayerDidDismiss:this._onFullscreenPlayerDidDismiss,onReadyForDisplay:this._onReadyForDisplay,onPlaybackStalled:this._onPlaybackStalled,onPlaybackResume:this._onPlaybackResume,onPlaybackRateChange:this._onPlaybackRateChange,onAudioFocusChanged:this._onAudioFocusChanged,onAudioBecomingNoisy:this._onAudioBecomingNoisy,onPictureInPictureStatusChanged:this._onPictureInPictureStatusChanged,onRestoreUserInterfaceForPictureInPictureStop:this._onRestoreUserInterfaceForPictureInPictureStop});var h=O({},b.StyleSheet.absoluteFillObject,{resizeMode:this.props.posterResizeMode||'contain'});return P.default.createElement(b.View,{style:y.style},P.default.createElement(R,(0,l.default)({ref:this._assignRoot},y,{style:b.StyleSheet.absoluteFill})),this.state.showPoster&&P.default.createElement(b.Image,{style:h,source:{uri:this.props.poster}}))}}]),n})(P.Component);e.default=C,C.propTypes=O({filter:h.default.oneOf([E.default.NONE,E.default.INVERT,E.default.MONOCHROME,E.default.POSTERIZE,E.default.FALSE,E.default.MAXIMUMCOMPONENT,E.default.MINIMUMCOMPONENT,E.default.CHROME,E.default.FADE,E.default.INSTANT,E.default.MONO,E.default.NOIR,E.default.PROCESS,E.default.TONAL,E.default.TRANSFER,E.default.SEPIA]),filterEnabled:h.default.bool,src:h.default.object,seek:h.default.oneOfType([h.default.number,h.default.object]),fullscreen:h.default.bool,onVideoLoadStart:h.default.func,onVideoLoad:h.default.func,onVideoBuffer:h.default.func,onVideoError:h.default.func,onVideoProgress:h.default.func,onVideoBandwidthUpdate:h.default.func,onVideoSeek:h.default.func,onVideoEnd:h.default.func,onTimedMetadata:h.default.func,onVideoAudioBecomingNoisy:h.default.func,onVideoExternalPlaybackChange:h.default.func,onVideoFullscreenPlayerWillPresent:h.default.func,onVideoFullscreenPlayerDidPresent:h.default.func,onVideoFullscreenPlayerWillDismiss:h.default.func,onVideoFullscreenPlayerDidDismiss:h.default.func,source:h.default.oneOfType([h.default.shape({uri:h.default.string}),h.default.number]),minLoadRetryCount:h.default.number,maxBitRate:h.default.number,resizeMode:h.default.string,poster:h.default.string,posterResizeMode:b.Image.propTypes.resizeMode,repeat:h.default.bool,automaticallyWaitsToMinimizeStalling:h.default.bool,allowsExternalPlayback:h.default.bool,selectedAudioTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),selectedVideoTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),selectedTextTrack:h.default.shape({type:h.default.string.isRequired,value:h.default.oneOfType([h.default.string,h.default.number])}),textTracks:h.default.arrayOf(h.default.shape({title:h.default.string,uri:h.default.string.isRequired,type:h.default.oneOf([S.default.SRT,S.default.TTML,S.default.VTT]),language:h.default.string.isRequired})),paused:h.default.bool,muted:h.default.bool,volume:h.default.number,bufferConfig:h.default.shape({minBufferMs:h.default.number,maxBufferMs:h.default.number,bufferForPlaybackMs:h.default.number,bufferForPlaybackAfterRebufferMs:h.default.number}),stereoPan:h.default.number,rate:h.default.number,pictureInPicture:h.default.bool,playInBackground:h.default.bool,playWhenInactive:h.default.bool,ignoreSilentSwitch:h.default.oneOf(['ignore','obey']),reportBandwidth:h.default.bool,disableFocus:h.default.bool,controls:h.default.bool,audioOnly:h.default.bool,currentTime:h.default.number,fullscreenAutorotate:h.default.bool,fullscreenOrientation:h.default.oneOf(['all','landscape','portrait']),progressUpdateInterval:h.default.number,useTextureView:h.default.bool,hideShutterView:h.default.bool,onLoadStart:h.default.func,onLoad:h.default.func,onBuffer:h.default.func,onError:h.default.func,onProgress:h.default.func,onBandwidthUpdate:h.default.func,onSeek:h.default.func,onEnd:h.default.func,onFullscreenPlayerWillPresent:h.default.func,onFullscreenPlayerDidPresent:h.default.func,onFullscreenPlayerWillDismiss:h.default.func,onFullscreenPlayerDidDismiss:h.default.func,onReadyForDisplay:h.default.func,onPlaybackStalled:h.default.func,onPlaybackResume:h.default.func,onPlaybackRateChange:h.default.func,onAudioFocusChanged:h.default.func,onAudioBecomingNoisy:h.default.func,onPictureInPictureStatusChanged:h.default.func,needsToRestoreUserInterfaceForPictureInPictureStop:h.default.func,onExternalPlaybackChange:h.default.func,scaleX:h.default.number,scaleY:h.default.number,translateX:h.default.number,translateY:h.default.number,rotation:h.default.number},b.ViewPropTypes);var R=(0,b.requireNativeComponent)('RCTVideo',C,{nativeOnly:{src:!0,seek:!0,fullscreen:!0}})},867,[1,3,50,11,272,4,5,6,8,9,12,67,16,173,868,869,870]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={SRT:'application/x-subrip',TTML:'application/ttml+xml',VTT:'text/vtt'}},868,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={NONE:'',INVERT:'CIColorInvert',MONOCHROME:'CIColorMonochrome',POSTERIZE:'CIColorPosterize',FALSE:'CIFalseColor',MAXIMUMCOMPONENT:'CIMaximumComponent',MINIMUMCOMPONENT:'CIMinimumComponent',CHROME:'CIPhotoEffectChrome',FADE:'CIPhotoEffectFade',INSTANT:'CIPhotoEffectInstant',MONO:'CIPhotoEffectMono',NOIR:'CIPhotoEffectNoir',PROCESS:'CIPhotoEffectProcess',TONAL:'CIPhotoEffectTonal',TRANSFER:'CIPhotoEffectTransfer',SEPIA:'CISepiaTone'}},869,[]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(0,l(r(d[1])).default)({contain:null,cover:null,stretch:null});e.default=t},870,[3,871]); -__d(function(g,r,i,a,m,e,d){"use strict";m.exports=function(t){var n,o={};if(!(t instanceof Object)||Array.isArray(t))throw new Error('keyMirror(...): Argument must be an object.');for(n in t)t.hasOwnProperty(n)&&(o[n]=n);return o}},871,[]); -__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({player:{flex:1,width:'100%',height:'100%'},playerThumbnail:{position:'absolute',left:0,top:0,width:'100%',height:'100%'},container:{flex:1,paddingBottom:16},fullscreenContainer:{flex:1,justifyContent:'center'},progress:{flex:1,flexDirection:'row',height:3},innerProgressCompleted:{height:4,backgroundColor:n.default.LbryGreen},innerProgressRemaining:{height:4,backgroundColor:'#2c2c2c'},trackingControls:{height:3,position:'absolute',bottom:14},containedTrackingControls:{left:0,width:'100%'},fullscreenTrackingControls:{alignSelf:'center',width:'60%'},playerControls:{position:'absolute',left:0,top:0,width:'100%',height:'100%'},playerControlsContainer:{backgroundColor:'#00000040',flex:1,alignItems:'center',justifyContent:'center'},midControls:{flex:1,flexDirection:'row',height:64,position:'absolute',alignItems:'center',justifyContent:'center'},midControlText:{fontFamily:'Inter-Regular',fontSize:10,position:'absolute',top:10,color:n.default.White},leftMidControlText:{left:-6},rightMidControlText:{right:-6},rewind10:{marginRight:48,alignItems:'center'},forward10:{marginLeft:48,alignItems:'center'},playPauseButton:{width:64,height:64,alignItems:'center',justifyContent:'center'},toggleFullscreenButton:{position:'absolute',width:36,height:36,alignItems:'center',justifyContent:'center',right:4,bottom:14},elapsedDuration:{fontFamily:'Inter-Regular',position:'absolute',left:8,bottom:24,fontSize:12,color:'#ffffff'},totalDuration:{fontFamily:'Inter-Regular',position:'absolute',right:48,bottom:24,fontSize:12,color:'#ffffff'},seekerCircle:{borderRadius:12,position:'relative',left:15,height:12,width:12,backgroundColor:n.default.LbryGreen},seekerCircleTop:{top:14},seekerCircleTopFs:{top:15},seekerHandle:{backgroundColor:'transparent',position:'absolute',height:36,width:48,marginLeft:-18,zIndex:20},seekerHandleContained:{bottom:-17},seekerHandleFs:{bottom:0},seekerTouchArea:{position:'absolute',height:30,width:'100%',zIndex:10},seekerTouchAreaContained:{bottom:-15},seekerTouchAreaFs:{bottom:0},bigSeekerCircle:{borderRadius:24,position:'relative',top:8,left:15,height:24,width:24,backgroundColor:n.default.LbryGreen},loadingContainer:{alignItems:'center',justifyContent:'center',position:'absolute',top:0,left:0,right:0,bottom:0},backButton:{position:'absolute',left:0,top:0,width:48,height:48,alignItems:'center',justifyContent:'center'},backButtonIcon:{color:n.default.White}});e.default=l},872,[3,16,674]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=o(r(d[2])),n=o(r(d[3])),s=o(r(d[4])),u=o(r(d[5])),c=o(r(d[6])),p=o(r(d[7])),f=t(r(d[8])),h=o(r(d[9])),y=r(d[10]);function b(t,o){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),l.push.apply(l,n)}return l}function C(t){for(var o=1;o50;return s?(t=180,o=j(n)):(t=j(n),o=0),{halfCircle1Degree:t,halfCircle2Degree:o,halfCircle2Styles:{backgroundColor:s?l.color:l.shadowColor}}}},{key:"renderHalfCircle",value:function(t,o){var l=this.props,n=l.radius,s=l.color;y.I18nManager.isRTL;return f.default.createElement(y.View,{style:[O.leftWrap,{width:n,height:2*n}]},f.default.createElement(y.View,{style:[O.halfCircle,C({width:n,height:2*n,borderRadius:n,overflow:'hidden',transform:[{translateX:n/2},{rotate:t+"deg"},{translateX:-n/2}],backgroundColor:s},o)]}))}},{key:"renderInnerCircle",value:function(){var t=this.props.radius-this.props.borderWidth;return f.default.createElement(y.View,{style:[O.innerCircle,C({width:2*t,height:2*t,borderRadius:t,backgroundColor:this.props.bgColor},this.props.containerStyle)]},this.props.children)}},{key:"render",value:function(){var t=this.computeDerivedState(),o=t.halfCircle1Degree,l=t.halfCircle2Degree,n=t.halfCircle2Styles;return f.default.createElement(y.View,{style:[O.outerCircle,C({width:2*this.props.radius,height:2*this.props.radius,borderRadius:this.props.radius,backgroundColor:this.props.shadowColor},this.props.outerCircleStyle)]},this.renderHalfCircle(o),this.renderHalfCircle(l,n),this.renderInnerCircle())}}]),o})(f.Component);e.default=S,S.propTypes={color:h.default.string,shadowColor:h.default.string,bgColor:h.default.string,radius:h.default.number.isRequired,borderWidth:h.default.number,percent:h.default.number.isRequired,children:h.default.node,containerStyle:w,outerCircleStyle:w},S.defaultProps={color:'#f00',shadowColor:'#999',bgColor:'#e9e9ef',borderWidth:2,children:null,containerStyle:null}},873,[1,3,4,5,6,8,9,50,12,67,16]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),t=r(d[2]),c=r(d[3]),s=n(r(d[4])),l=(0,o.connect)(function(n,o){return{claim:(0,t.makeSelectClaimForUri)(o.uri)(n),isSearching:(0,t.selectIsSearching)(n),recommendedContent:(0,t.makeSelectResolvedRecommendedContentForUri)(o.uri,16)(n),resolvingUris:(0,t.selectResolvingUris)(n),showNsfwContent:(0,c.selectShowNsfw)(n)}},function(n){return{resolveUris:function(o){return n((0,t.doResolveUris)(o))},searchRecommended:function(o,c,s){return n((0,t.doResolvedSearch)(o,16,void 0,!0,{related_to:c},s))}}})(s.default);e.default=l},874,[3,378,401,409,875]); -__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])),u=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6])),s=r(d[7]),p=r(d[8]),v=(r(d[9]),t(r(d[10]))),y=(t(r(d[11])),t(r(d[12]))),h=t(r(d[13])),C=t(r(d[14])),_=(function(t){function _(){return(0,n.default)(this,_),(0,u.default)(this,(0,o.default)(_).apply(this,arguments))}return(0,f.default)(_,t),(0,l.default)(_,[{key:"componentDidMount",value:function(){var t=this.props,n=t.title,l=t.claimId,u=t.searchRecommended,o=t.showNsfwContent;n&&l&&u(n,l,o)}},{key:"shouldComponentUpdate",value:function(t,n){var l=t.isSearching,u=t.recommendedContent;return l||!l&&u&&u.length>0}},{key:"render",value:function(){var t=this.props,n=t.isSearching,l=t.recommendedContent,u=t.navigation;t.uri,t.fullUri;return c.default.createElement(s.View,{style:C.default.container},c.default.createElement(s.Text,{style:C.default.title},__('Related Content')),n&&c.default.createElement(s.ActivityIndicator,{size:'small',color:v.default.NextLbryGreen}),l&&l.map(function(t){return c.default.createElement(y.default,{style:h.default.item,uri:t?(0,p.normalizeURI)(t.name+"#"+t.claimId):null,key:t.claimId,result:t,navigation:u,autoplay:!0})}))}}]),_})(c.default.PureComponent);e.default=_},875,[3,4,5,6,8,9,12,16,401,410,674,745,876,738,878]); -__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]),o=r(d[2]),n=r(d[3]),s=r(d[4]),u=r(d[5]),c=t(r(d[6])),f=(0,l.connect)(function(t,l){return{blackListedOutpoints:(0,s.selectBlackListedOutpoints)(t),claim:(0,o.makeSelectClaimForUri)(l.uri)(t),fileInfo:(0,o.makeSelectFileInfoForUri)(l.uri)(t),filteredOutpoints:(0,s.selectFilteredOutpoints)(t),isDownloaded:!!(0,o.makeSelectFileInfoForUri)(l.uri)(t),metadata:(0,o.makeSelectMetadataForUri)(l.uri)(t),nsfw:(0,o.makeSelectClaimIsNsfw)(l.uri)(t),isResolvingUri:(0,o.makeSelectIsUriResolving)(l.uri)(t),obscureNsfw:!(0,u.selectShowNsfw)(t),rewardedContentClaimIds:(0,s.selectRewardContentClaimIds)(t),shortUrl:(0,o.makeSelectShortUrlForUri)(l.uri)(t),title:(0,o.makeSelectTitleForUri)(l.uri)(t),thumbnail:(0,o.makeSelectThumbnailForUri)(l.uri)(t)}},function(t){return{resolveUri:function(l){return t((0,o.doResolveUri)(l))},setPlayerVisible:function(l,o){return t((0,n.doSetPlayerVisible)(l,o))}}})(c.default);e.default=f},876,[3,378,401,492,408,409,877]); -__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])),o=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),y=r(d[8]),h=r(d[9]),p=t(r(d[10])),E=t(r(d[11])),T=t(r(d[12])),b=(t(r(d[13])),t(r(d[14]))),w=t(r(d[15])),_=t(r(d[16])),v=t(r(d[17])),S=t(r(d[18])),I=t(r(d[19])),U=t(r(d[20])),P=t(r(d[21])),M=t(r(d[22])),x=t(r(d[23])),z=(function(t){function z(){var t,n;(0,l.default)(this,z);for(var s=arguments.length,f=new Array(s),y=0;y0&&f.default.createElement(y.Text,{style:M.default.infoText},(0,h.getStorageForFileInfo)(l)),f.default.createElement(b.default,{style:M.default.publishInfo,textStyle:M.default.infoText,timeAgo:!0,date:H})),l&&l.download_path&&f.default.createElement(y.View,{style:M.default.downloadInfo},!l.completed&&f.default.createElement(P.default,{borderRadius:3,color:p.default.NextLbryGreen,height:3,style:M.default.progress,progress:(0,h.getDownloadProgress)(l)})))),F&&f.default.createElement(U.default,{onPress:function(){return n.navigate({routeName:'Settings',key:'settingsPage'})}}))}}]),z})(f.default.PureComponent);e.default=z},877,[3,4,5,6,8,9,12,401,16,410,674,682,685,493,732,693,734,741,502,498,743,747,738,710]); -__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({container:{flex:1,paddingTop:16,paddingBottom:16,paddingLeft:16,paddingRight:16,borderTopColor:n.default.LighterGrey,borderTopWidth:1},title:{fontFamily:'Inter-Regular',fontSize:18},itemList:{flex:1},scrollContainer:{flex:1,paddingLeft:16,paddingRight:16,marginTop:16,marginBottom:60},scrollPadding:{marginTop:-16,paddingBottom:16},loading:{marginTop:16}});e.default=l},878,[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},879,[3,378,880]); -__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])),f=t(r(d[4])),o=t(r(d[5])),s=t(r(d[6])),c=r(d[7]),v=t(r(d[8])),p=t(r(d[9])),y=(function(t){function y(){return(0,n.default)(this,y),(0,l.default)(this,(0,f.default)(y).apply(this,arguments))}return(0,o.default)(y,t),(0,u.default)(y,[{key:"render",value:function(){var t=this.props.navigation;return s.default.createElement(c.TouchableOpacity,{style:p.default.rewardDriverCard,onPress:function(){return t.navigate('Rewards')}},s.default.createElement(v.default,{name:"award",size:16,style:p.default.rewardDriverIcon}),s.default.createElement(c.Text,{style:p.default.rewardDriverText},__('Earn some credits to access this content.')))}}]),y})(s.default.PureComponent);e.default=y},880,[3,4,5,6,8,9,12,16,502,881]); -__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=9*l/16,c=f+17,u=n.StyleSheet.create({container:{flex:1,justifyContent:'center',backgroundColor:o.default.PageBackground},pageContainer:{flex:1,backgroundColor:o.default.PageBackground},divider:{backgroundColor:o.default.LighterGrey,width:'100%',height:1,marginTop:4,marginBottom:20},innerPageContainer:{flex:1},innerPageContainerFsMode:{flex:1,marginBottom:0},mediaContainer:{alignItems:'center',width:l,height:c,marginTop:60,marginBottom:-17},emptyClaimText:{fontFamily:'Inter-Regular',textAlign:'center',fontSize:20,marginLeft:24,marginRight:24},scrollContainer:{flex:1},scrollContent:{paddingTop:10},scrollContainerActions:{flex:1},title:{fontFamily:'Inter-Bold',fontSize:16,flex:18,alignSelf:'flex-start'},titleTouch:{flex:1},titleRow:{flexDirection:'row',marginTop:12,marginLeft:12,marginRight:12,alignItems:'center',justifyContent:'center'},channelRow:{flexDirection:'row',justifyContent:'space-between',marginLeft:12,marginRight:12,marginBottom:16},subscriptionRow:{flex:.6,flexDirection:'row',justifyContent:'flex-end',marginTop:8},publishInfo:{flex:.4,marginTop:6},channelName:{fontFamily:'Inter-SemiBold',fontSize:14,color:o.default.LbryGreen},anonChannelName:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.DescriptionGrey},publishDateText:{fontFamily:'Inter-SemiBold',fontSize:12,color:o.default.DescriptionGrey},publishDate:{marginTop:4},description:{color:o.default.DescriptionGrey,fontFamily:'Inter-Regular',fontSize:13,lineHeight:18,marginTop:-8,marginLeft:12,marginRight:12,marginBottom:16},thumbnail:{width:l,height:f,justifyContent:'center',alignItems:'center'},downloadButton:{position:'absolute',top:'40%'},player:{position:'absolute',left:0,top:0,zIndex:301,elevation:21},containedPlayer:{width:'100%',height:c,top:60},containedPlayerLandscape:{width:'100%',height:'100%',top:60},fullscreenPlayer:{width:'100%',height:'100%',right:0,bottom:0},playerBackground:{position:'absolute',left:0,top:0,zIndex:300,elevation:20,backgroundColor:o.default.Black},containedPlayerBackground:{width:'100%',marginTop:60,height:f},fullscreenPlayerBackground:{width:'100%',height:'100%',right:0,bottom:0},filePriceContainer:{backgroundColor:o.default.NextLbryGreen,justifyContent:'center',alignItems:'center',flexDirection:'row',position:'absolute',right:16,top:16,width:56,height:24,borderRadius:4},filePriceText:{fontFamily:'Inter-Bold',fontSize:12,textAlign:'center',color:'#0c604b'},filePriceIcon:{marginRight:2},actions:{flexDirection:'row',justifyContent:'space-between',paddingLeft:16,paddingRight:16,paddingTop:16,paddingBottom:8,width:'100%'},fileActions:{alignSelf:'flex-end',flexDirection:'row'},editButton:{marginRight:8},socialActions:{alignSelf:'flex-start',flexDirection:'row'},actionButton:{alignSelf:'flex-start',backgroundColor:o.default.White,paddingLeft:10,paddingRight:10},bellButton:{marginLeft:8},loading:{position:'absolute',top:'40%'},busyContainer:{flex:1,justifyContent:'center',alignItems:'center',flexDirection:'row'},dmcaContainer:{flex:1,alignItems:'flex-start',justifyContent:'center',paddingLeft:24,paddingRight:24},dmcaText:{fontFamily:'Inter-Regular',fontSize:18,lineHeight:24},dmcaLink:{color:o.default.LbryGreen,fontFamily:'Inter-Regular',fontSize:18,lineHeight:24,marginTop:24},infoText:{fontFamily:'Inter-Regular',fontSize:20,textAlign:'center',marginLeft:10},viewer:{position:'absolute',flex:1,left:0,right:0,top:60,bottom:0,zIndex:100},link:{color:o.default.Grey},linkTapped:{color:'rgba(64, 184, 154, .2)'},tipCard:{width:'100%',marginTop:-12,paddingBottom:8,paddingLeft:16,paddingRight:16},row:{flexDirection:'row',flex:1,justifyContent:'space-between'},amountRow:{flexDirection:'row',flex:.75,alignItems:'center'},button:{backgroundColor:o.default.LbryGreen,alignSelf:'flex-end',marginBottom:6},cancelTipLink:{alignSelf:'flex-end',marginBottom:14},input:{fontFamily:'Inter-Regular',fontSize:14},tipAmountInput:{alignSelf:'flex-start',textAlign:'right',width:80,fontSize:16,letterSpacing:1},currency:{fontSize:12,marginLeft:4},descriptionToggle:{alignItems:'center',justifyContent:'center',width:36,height:36,marginTop:-8},text:{fontFamily:'Inter-Regular',fontSize:16,lineHeight:24},tipButton:{marginRight:8},saveFileButton:{marginRight:8},reportButton:{marginRight:8},tagContainer:{marginLeft:12,marginRight:12,marginBottom:16,flexDirection:'row'},tagTitle:{fontFamily:'Inter-SemiBold',flex:.2,marginTop:4},tagList:{fontFamily:'Inter-Regular',flex:.8,flexDirection:'row',flexWrap:'wrap'},tagItem:{marginRight:4},rewardDriverCard:{alignItems:'center',backgroundColor:o.default.RewardDriverBlue,flexDirection:'row',paddingLeft:16,paddingRight:16,paddingTop:12,paddingBottom:12},rewardDriverIcon:{color:o.default.White,marginRight:8},rewardDriverText:{fontFamily:'Inter-Regular',color:o.default.White,fontSize:14},rewardIcon:{color:o.default.NextLbryGreen,marginTop:-8,marginLeft:8},backButton:{position:'absolute',left:0,top:0,width:48,height:48,alignItems:'center',justifyContent:'center'},backButtonIcon:{color:o.default.White},sharedLargeButton:{alignItems:'center',justifyContent:'center',flex:.2},innerLargeButton:{alignItems:'center',justifyContent:'center'},largeButton:{alignItems:'center',justifyContent:'center',flex:.2},largeButtonIcon:{color:o.default.ActionGrey},largeButtonText:{color:o.default.ActionGrey,fontFamily:'Inter-Regular',fontSize:12,marginTop:4},largeButtonsRow:{flexDirection:'row',alignItems:'center',marginLeft:16,marginRight:16,marginTop:12,marginBottom:12},unsupportedContent:{position:'absolute',left:0,right:0,top:0,bottom:16,padding:24,flexDirection:'row',alignItems:'center',backgroundColor:o.default.White},unspportedContentTextContainer:{flex:1},unsupportedContentFilename:{color:o.default.LbryGreen,fontFamily:'Inter-SemiBold',fontSize:16},unsupportedContentImage:{width:64,height:80,marginRight:24},unsupportedContentTitle:{fontFamily:'Inter-Regular',fontSize:20},unsupportedContentText:{fontFamily:'Inter-Regular',fontSize:16,marginTop:4},relatedLoading:{marginTop:16},viewCount:{fontFamily:'Inter-Regular',fontSize:12,color:o.default.DescriptionGrey,marginLeft:12,marginRight:12},balance:{alignItems:'center',flexDirection:'row',marginLeft:24},balanceText:{fontFamily:'Inter-SemiBold',fontSize:14,marginLeft:4}});e.default=u},881,[3,16,674]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);function o(n,o){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);o&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,s)}return t}function t(t){for(var s=1;s1&&void 0!==arguments[1]?arguments[1]:{};return s.mkdir(v(n),o).then(function(){})},moveFile:function(n,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s.moveFile(v(n),v(o),t).then(function(){})},copyFile:function(n,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s.copyFile(v(n),v(o),t).then(function(){})},pathForBundle:function(n){return s.pathForBundle(n)},pathForGroup:function(n){return s.pathForGroup(n)},getFSInfo:function(){return s.getFSInfo()},getAllExternalFilesDirs:function(){return s.getAllExternalFilesDirs()},unlink:function(n){return s.unlink(v(n)).then(function(){})},exists:function(n){return s.exists(v(n))},stopDownload:function(n){s.stopDownload(n)},resumeDownload:function(n){s.resumeDownload(n)},isResumable:function(n){return s.isResumable(n)},stopUpload:function(n){s.stopUpload(n)},completeHandlerIOS:function(n){return s.completeHandlerIOS(n)},readDir:function(n){return b(n,s.readDir)},readDirAssets:function(n){if(!s.readDirAssets)throw new Error('readDirAssets is not available on this platform');return b(n,s.readDirAssets)},existsAssets:function(n){if(!s.existsAssets)throw new Error('existsAssets is not available on this platform');return s.existsAssets(n)},existsRes:function(n){if(!s.existsRes)throw new Error('existsRes is not available on this platform');return s.existsRes(n)},readdir:function(n){return F.readDir(v(n)).then(function(n){return n.map(function(n){return n.name})})},setReadable:function(n,o,t){return s.setReadable(n,o,t).then(function(n){return n})},stat:function(n){return s.stat(v(n)).then(function(o){return{path:n,ctime:new Date(1e3*o.ctime),mtime:new Date(1e3*o.mtime),size:o.size,mode:o.mode,originalFilepath:o.originalFilepath,isFile:function(){return o.type===f},isDirectory:function(){return o.type===p}}})},readFile:function(n,o){return w(n,o,s.readFile)},read:function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=arguments.length>3?arguments[3]:void 0,f={encoding:'utf8'};return l&&('string'==typeof l?f.encoding=l:'object'==typeof l&&(f=l)),s.read(v(n),o,t).then(function(n){var o;if('utf8'===f.encoding)o=u.decode(c.decode(n));else if('ascii'===f.encoding)o=c.decode(n);else{if('base64'!==f.encoding)throw new Error('Invalid encoding type "'+String(f.encoding)+'"');o=n}return o})},readFileAssets:function(n,o){if(!s.readFileAssets)throw new Error('readFileAssets is not available on this platform');return w(n,o,s.readFileAssets)},readFileRes:function(n,o){if(!s.readFileRes)throw new Error('readFileRes is not available on this platform');return w(n,o,s.readFileRes)},hash:function(n,o){return s.hash(v(n),o)},copyFileAssets:function(n,o){if(!s.copyFileAssets)throw new Error('copyFileAssets is not available on this platform');return s.copyFileAssets(v(n),v(o)).then(function(){})},copyFileRes:function(n,o){if(!s.copyFileRes)throw new Error('copyFileRes is not available on this platform');return s.copyFileRes(n,v(o)).then(function(){})},copyAssetsFileIOS:function(n,o,t,l){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,f=arguments.length>6&&void 0!==arguments[6]?arguments[6]:'contain';return s.copyAssetsFileIOS(n,o,t,l,c,u,f)},copyAssetsVideoIOS:function(n,o){return s.copyAssetsVideoIOS(n,o)},writeFile:function(n,o,l){var f,p={encoding:'utf8'};if(l&&('string'==typeof l?p.encoding=l:'object'==typeof l&&(p=t({},p,{},l))),'utf8'===p.encoding)f=c.encode(u.encode(o));else if('ascii'===p.encoding)f=c.encode(o);else{if('base64'!==p.encoding)throw new Error('Invalid encoding type "'+p.encoding+'"');f=o}return s.writeFile(v(n),f,p).then(function(){})},appendFile:function(n,o,t){var l,f={encoding:'utf8'};if(t&&('string'==typeof t?f.encoding=t:'object'==typeof t&&(f=t)),'utf8'===f.encoding)l=c.encode(u.encode(o));else if('ascii'===f.encoding)l=c.encode(o);else{if('base64'!==f.encoding)throw new Error('Invalid encoding type "'+f.encoding+'"');l=o}return s.appendFile(v(n),l)},write:function(n,o,t,l){var f,p={encoding:'utf8'};if(l&&('string'==typeof l?p.encoding=l:'object'==typeof l&&(p=l)),'utf8'===p.encoding)f=c.encode(u.encode(o));else if('ascii'===p.encoding)f=c.encode(o);else{if('base64'!==p.encoding)throw new Error('Invalid encoding type "'+p.encoding+'"');f=o}return void 0===t&&(t=-1),s.write(v(n),f,t).then(function(){})},downloadFile:function(n){if('object'!=typeof n)throw new Error('downloadFile: Invalid value for argument `options`');if('string'!=typeof n.fromUrl)throw new Error('downloadFile: Invalid value for property `fromUrl`');if('string'!=typeof n.toFile)throw new Error('downloadFile: Invalid value for property `toFile`');if(n.headers&&'object'!=typeof n.headers)throw new Error('downloadFile: Invalid value for property `headers`');if(n.background&&'boolean'!=typeof n.background)throw new Error('downloadFile: Invalid value for property `background`');if(n.progressDivider&&'number'!=typeof n.progressDivider)throw new Error('downloadFile: Invalid value for property `progressDivider`');if(n.progressInterval&&'number'!=typeof n.progressInterval)throw new Error('downloadFile: Invalid value for property `progressInterval`');if(n.readTimeout&&'number'!=typeof n.readTimeout)throw new Error('downloadFile: Invalid value for property `readTimeout`');if(n.connectionTimeout&&'number'!=typeof n.connectionTimeout)throw new Error('downloadFile: Invalid value for property `connectionTimeout`');if(n.backgroundTimeout&&'number'!=typeof n.backgroundTimeout)throw new Error('downloadFile: Invalid value for property `backgroundTimeout`');var o=y(),t=[];n.begin&&t.push(l.addListener('DownloadBegin',function(t){t.jobId===o&&n.begin(t)})),n.progress&&t.push(l.addListener('DownloadProgress',function(t){t.jobId===o&&n.progress(t)})),n.resumable&&t.push(l.addListener('DownloadResumable',function(t){t.jobId===o&&n.resumable(t)}));var c={jobId:o,fromUrl:n.fromUrl,toFile:v(n.toFile),headers:n.headers||{},background:!!n.background,progressDivider:n.progressDivider||0,progressInterval:n.progressInterval||0,readTimeout:n.readTimeout||15e3,connectionTimeout:n.connectionTimeout||5e3,backgroundTimeout:n.backgroundTimeout||36e5,hasBeginCallback:n.begin instanceof Function,hasProgressCallback:n.progress instanceof Function,hasResumableCallback:n.resumable instanceof Function};return{jobId:o,promise:s.downloadFile(c).then(function(n){return t.forEach(function(n){return n.remove()}),n}).catch(function(n){return Promise.reject(n)})}},uploadFiles:function(n){if(!s.uploadFiles)return{jobId:-1,promise:Promise.reject(new Error('`uploadFiles` is unsupported on this platform'))};var o=y(),t=[];if('object'!=typeof n)throw new Error('uploadFiles: Invalid value for argument `options`');if('string'!=typeof n.toUrl)throw new Error('uploadFiles: Invalid value for property `toUrl`');if(!Array.isArray(n.files))throw new Error('uploadFiles: Invalid value for property `files`');if(n.headers&&'object'!=typeof n.headers)throw new Error('uploadFiles: Invalid value for property `headers`');if(n.fields&&'object'!=typeof n.fields)throw new Error('uploadFiles: Invalid value for property `fields`');if(n.method&&'string'!=typeof n.method)throw new Error('uploadFiles: Invalid value for property `method`');n.begin?t.push(l.addListener('UploadBegin',n.begin)):n.beginCallback&&t.push(l.addListener('UploadBegin',n.beginCallback)),n.progress?t.push(l.addListener('UploadProgress',n.progress)):n.progressCallback&&t.push(l.addListener('UploadProgress',n.progressCallback));var c={jobId:o,toUrl:n.toUrl,files:n.files,binaryStreamOnly:n.binaryStreamOnly||!1,headers:n.headers||{},fields:n.fields||{},method:n.method||'POST',hasBeginCallback:n.begin instanceof Function||n.beginCallback instanceof Function,hasProgressCallback:n.progress instanceof Function||n.progressCallback instanceof Function};return{jobId:o,promise:s.uploadFiles(c).then(function(n){return t.forEach(function(n){return n.remove()}),n})}},touch:function(n,o,t){if(t&&!(t instanceof Date))throw new Error('touch: Invalid value for argument `ctime`');if(o&&!(o instanceof Date))throw new Error('touch: Invalid value for argument `mtime`');return s.touch(v(n),o&&o.getTime(),0)},scanFile:function(n){return s.scanFile(n)},MainBundlePath:s.RNFSMainBundlePath,CachesDirectoryPath:s.RNFSCachesDirectoryPath,ExternalCachesDirectoryPath:s.RNFSExternalCachesDirectoryPath,DocumentDirectoryPath:s.RNFSDocumentDirectoryPath,DownloadDirectoryPath:s.RNFSDownloadDirectoryPath,ExternalDirectoryPath:s.RNFSExternalDirectoryPath,ExternalStorageDirectoryPath:s.RNFSExternalStorageDirectoryPath,TemporaryDirectoryPath:s.RNFSTemporaryDirectoryPath,LibraryDirectoryPath:s.RNFSLibraryDirectoryPath,PicturesDirectoryPath:s.RNFSPicturesDirectoryPath,FileProtectionKeys:s.RNFSFileProtectionKeys};m.exports=F},882,[50,16,883,884]); -__d(function(g,r,i,a,m,e,d){!(function(t){var n='object'==typeof e&&e,o='object'==typeof m&&m&&m.exports==n&&m,c='object'==typeof g&&g;c.global!==c&&c.window!==c||(t=c);var h=function(t){this.message=t};(h.prototype=new Error).name='InvalidCharacterError';var f=function(t){throw new h(t)},s='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',A=/[\t\n\f\r ]/g,l={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&f("The string to be encoded contains characters outside of the Latin1 range.");for(var n,o,c,h,A=t.length%3,l='',p=-1,u=t.length-A;++p>18&63)+s.charAt(h>>12&63)+s.charAt(h>>6&63)+s.charAt(63&h);return 2==A?(n=t.charCodeAt(p)<<8,o=t.charCodeAt(++p),l+=s.charAt((h=n+o)>>10)+s.charAt(h>>4&63)+s.charAt(h<<2&63)+'='):1==A&&(h=t.charCodeAt(p),l+=s.charAt(h>>2)+s.charAt(h<<4&63)+'=='),l},decode:function(t){var n=(t=String(t).replace(A,'')).length;n%4==0&&(n=(t=t.replace(/==?$/,'')).length),(n%4==1||/[^+a-zA-Z0-9/]/.test(t))&&f('Invalid character: the string to be decoded is not correctly encoded.');for(var o,c,h=0,l='',p=-1;++p>(-2*h&6)));return l},version:'0.1.0'};if('function'==typeof define&&'object'==typeof define.amd&&define.amd)define(function(){return l});else if(n&&!n.nodeType)if(o)o.exports=l;else for(var p in l)l.hasOwnProperty(p)&&(n[p]=l[p]);else t.base64=l})(this)},883,[]); -__d(function(g,r,i,a,m,e,d){!(function(n){var t,o,u,f=String.fromCharCode;function c(n){for(var t,o,u=[],f=0,c=n.length;f=55296&&t<=56319&&f65535&&(c+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),c+=f(t);return c}function v(n){if(n>=55296&&n<=57343)throw Error('Lone surrogate U+'+n.toString(16).toUpperCase()+' is not a scalar value')}function l(n,t){return f(n>>t&63|128)}function s(n){if(0==(4294967168&n))return f(n);var t='';return 0==(4294965248&n)?t=f(n>>6&31|192):0==(4294901760&n)?(v(n),t=f(n>>12&15|224),t+=l(n,6)):0==(4292870144&n)&&(t=f(n>>18&7|240),t+=l(n,12),t+=l(n,6)),t+=f(63&n|128)}function w(){if(u>=o)throw Error('Invalid byte index');var n=255&t[u];if(u++,128==(192&n))return 63&n;throw Error('Invalid continuation byte')}function E(){var n,f;if(u>o)throw Error('Invalid byte index');if(u==o)return!1;if(n=255&t[u],u++,0==(128&n))return n;if(192==(224&n)){if((f=(31&n)<<6|w())>=128)return f;throw Error('Invalid continuation byte')}if(224==(240&n)){if((f=(15&n)<<12|w()<<6|w())>=2048)return v(f),f;throw Error('Invalid continuation byte')}if(240==(248&n)&&(f=(7&n)<<18|w()<<12|w()<<6|w())>=65536&&f<=1114111)return f;throw Error('Invalid UTF-8 detected')}n.version='3.0.0',n.encode=function(n){for(var t=c(n),o=t.length,u=-1,f='';++u (GFM Style)',type:'boolean'},requireSpaceBeforeHeadingText:{defaultValue:!1,description:'Makes adding a space between `#` and the header text mandatory (GFM Style)',type:'boolean'},ghMentions:{defaultValue:!1,description:'Enables github @mentions',type:'boolean'},ghMentionsLink:{defaultValue:'https://github.com/{u}',description:'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',type:'string'},encodeEmails:{defaultValue:!0,description:'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',type:'boolean'},openLinksInNewWindow:{defaultValue:!1,description:'Open all links in new windows',type:'boolean'},backslashEscapesHTMLTags:{defaultValue:!1,description:'Support for HTML Tag escaping. ex:
foo
',type:'boolean'},emoji:{defaultValue:!1,description:'Enable emoji support. Ex: `this is a :smile: emoji`',type:'boolean'},underline:{defaultValue:!1,description:'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',type:'boolean'},completeHTMLDocument:{defaultValue:!1,description:'Outputs a complete html document, including ``, `` and `` tags',type:'boolean'},metadata:{defaultValue:!1,description:'Enable support for document metadata (defined at the top of the document between `\xab\xab\xab` and `\xbb\xbb\xbb` or between `---` and `---`).',type:'boolean'},splitAdjacentBlockquotes:{defaultValue:!1,description:'Split adjacent blockquote blocks',type:'boolean'}};if(!1===e)return JSON.parse(JSON.stringify(r));var t={};for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a].defaultValue);return t}var r={},t={},a={},s=e(!0),o='vanilla',i={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:e(!0),allOn:(function(){'use strict';var r=e(!0),t={};for(var a in r)r.hasOwnProperty(a)&&(t[a]=!0);return t})()};function l(e,t){'use strict';var a=t?'Error in '+t+' extension->':'Error in unnamed extension',n={valid:!0,error:''};r.helper.isArray(e)||(e=[e]);for(var s=0;s').replace(/&/g,'&')};var u=function(e,r,t,a){'use strict';var n,s,o,i,l,c=a||'',u=c.indexOf('g')>-1,d=new RegExp(r+'|'+t,'g'+c.replace(/g/g,'')),p=new RegExp(r,c.replace(/g/g,'')),h=[];do{for(n=0;o=d.exec(e);)if(p.test(o[0]))n++||(i=(s=d.lastIndex)-o[0].length);else if(n&&!--n){l=o.index+o[0].length;var _={left:{start:i,end:s},match:{start:s,end:o.index},right:{start:o.index,end:l},wholeMatch:{start:i,end:l}};if(h.push(_),!u)return h}}while(n&&(d.lastIndex=s));return h};r.helper.matchRecursiveRegExp=function(e,r,t,a){'use strict';for(var n=u(e,r,t,a),s=[],o=0;o0){var d=[];0!==i[0].wholeMatch.start&&d.push(e.slice(0,i[0].wholeMatch.start));for(var p=0;p=0?n+(a||0):n},r.helper.splitAtIndex=function(e,t){'use strict';if(!r.helper.isString(e))throw'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';return[e.substring(0,t),e.substring(t)]},r.helper.encodeEmailAddress=function(e){'use strict';var r=[function(e){return'&#'+e.charCodeAt(0)+';'},function(e){return'&#x'+e.charCodeAt(0).toString(16)+';'},function(e){return e}];return e=e.replace(/./g,function(e){if('@'===e)e=r[Math.floor(2*Math.random())](e);else{var t=Math.random();e=t>.9?r[2](e):t>.45?r[1](e):r[0](e)}return e})},r.helper.padEnd=function(e,r,t){'use strict';return r>>=0,t=String(t||' '),e.length>r?String(e):((r-=e.length)>t.length&&(t+=t.repeat(r/t.length)),String(e)+t.slice(0,r))},'undefined'==typeof console&&(console={warn:function(e){'use strict';alert(e)},log:function(e){'use strict';alert(e)},error:function(e){'use strict';throw e}}),r.helper.regexes={asteriskDashAndColon:/([*_:~])/g},r.helper.emojis={'+1':"\ud83d\udc4d",'-1':"\ud83d\udc4e",100:"\ud83d\udcaf",1234:"\ud83d\udd22",'1st_place_medal':"\ud83e\udd47",'2nd_place_medal':"\ud83e\udd48",'3rd_place_medal':"\ud83e\udd49",'8ball':"\ud83c\udfb1",a:"\ud83c\udd70\ufe0f",ab:"\ud83c\udd8e",abc:"\ud83d\udd24",abcd:"\ud83d\udd21",accept:"\ud83c\ude51",aerial_tramway:"\ud83d\udea1",airplane:"\u2708\ufe0f",alarm_clock:"\u23f0",alembic:"\u2697\ufe0f",alien:"\ud83d\udc7d",ambulance:"\ud83d\ude91",amphora:"\ud83c\udffa",anchor:"\u2693\ufe0f",angel:"\ud83d\udc7c",anger:"\ud83d\udca2",angry:"\ud83d\ude20",anguished:"\ud83d\ude27",ant:"\ud83d\udc1c",apple:"\ud83c\udf4e",aquarius:"\u2652\ufe0f",aries:"\u2648\ufe0f",arrow_backward:"\u25c0\ufe0f",arrow_double_down:"\u23ec",arrow_double_up:"\u23eb",arrow_down:"\u2b07\ufe0f",arrow_down_small:"\ud83d\udd3d",arrow_forward:"\u25b6\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_heading_up:"\u2934\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_lower_left:"\u2199\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_right:"\u27a1\ufe0f",arrow_right_hook:"\u21aa\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_up_small:"\ud83d\udd3c",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrows_clockwise:"\ud83d\udd03",arrows_counterclockwise:"\ud83d\udd04",art:"\ud83c\udfa8",articulated_lorry:"\ud83d\ude9b",artificial_satellite:"\ud83d\udef0",astonished:"\ud83d\ude32",athletic_shoe:"\ud83d\udc5f",atm:"\ud83c\udfe7",atom_symbol:"\u269b\ufe0f",avocado:"\ud83e\udd51",b:"\ud83c\udd71\ufe0f",baby:"\ud83d\udc76",baby_bottle:"\ud83c\udf7c",baby_chick:"\ud83d\udc24",baby_symbol:"\ud83d\udebc",back:"\ud83d\udd19",bacon:"\ud83e\udd53",badminton:"\ud83c\udff8",baggage_claim:"\ud83d\udec4",baguette_bread:"\ud83e\udd56",balance_scale:"\u2696\ufe0f",balloon:"\ud83c\udf88",ballot_box:"\ud83d\uddf3",ballot_box_with_check:"\u2611\ufe0f",bamboo:"\ud83c\udf8d",banana:"\ud83c\udf4c",bangbang:"\u203c\ufe0f",bank:"\ud83c\udfe6",bar_chart:"\ud83d\udcca",barber:"\ud83d\udc88",baseball:"\u26be\ufe0f",basketball:"\ud83c\udfc0",basketball_man:"\u26f9\ufe0f",basketball_woman:"\u26f9\ufe0f‍\u2640\ufe0f",bat:"\ud83e\udd87",bath:"\ud83d\udec0",bathtub:"\ud83d\udec1",battery:"\ud83d\udd0b",beach_umbrella:"\ud83c\udfd6",bear:"\ud83d\udc3b",bed:"\ud83d\udecf",bee:"\ud83d\udc1d",beer:"\ud83c\udf7a",beers:"\ud83c\udf7b",beetle:"\ud83d\udc1e",beginner:"\ud83d\udd30",bell:"\ud83d\udd14",bellhop_bell:"\ud83d\udece",bento:"\ud83c\udf71",biking_man:"\ud83d\udeb4",bike:"\ud83d\udeb2",biking_woman:"\ud83d\udeb4‍\u2640\ufe0f",bikini:"\ud83d\udc59",biohazard:"\u2623\ufe0f",bird:"\ud83d\udc26",birthday:"\ud83c\udf82",black_circle:"\u26ab\ufe0f",black_flag:"\ud83c\udff4",black_heart:"\ud83d\udda4",black_joker:"\ud83c\udccf",black_large_square:"\u2b1b\ufe0f",black_medium_small_square:"\u25fe\ufe0f",black_medium_square:"\u25fc\ufe0f",black_nib:"\u2712\ufe0f",black_small_square:"\u25aa\ufe0f",black_square_button:"\ud83d\udd32",blonde_man:"\ud83d\udc71",blonde_woman:"\ud83d\udc71‍\u2640\ufe0f",blossom:"\ud83c\udf3c",blowfish:"\ud83d\udc21",blue_book:"\ud83d\udcd8",blue_car:"\ud83d\ude99",blue_heart:"\ud83d\udc99",blush:"\ud83d\ude0a",boar:"\ud83d\udc17",boat:"\u26f5\ufe0f",bomb:"\ud83d\udca3",book:"\ud83d\udcd6",bookmark:"\ud83d\udd16",bookmark_tabs:"\ud83d\udcd1",books:"\ud83d\udcda",boom:"\ud83d\udca5",boot:"\ud83d\udc62",bouquet:"\ud83d\udc90",bowing_man:"\ud83d\ude47",bow_and_arrow:"\ud83c\udff9",bowing_woman:"\ud83d\ude47‍\u2640\ufe0f",bowling:"\ud83c\udfb3",boxing_glove:"\ud83e\udd4a",boy:"\ud83d\udc66",bread:"\ud83c\udf5e",bride_with_veil:"\ud83d\udc70",bridge_at_night:"\ud83c\udf09",briefcase:"\ud83d\udcbc",broken_heart:"\ud83d\udc94",bug:"\ud83d\udc1b",building_construction:"\ud83c\udfd7",bulb:"\ud83d\udca1",bullettrain_front:"\ud83d\ude85",bullettrain_side:"\ud83d\ude84",burrito:"\ud83c\udf2f",bus:"\ud83d\ude8c",business_suit_levitating:"\ud83d\udd74",busstop:"\ud83d\ude8f",bust_in_silhouette:"\ud83d\udc64",busts_in_silhouette:"\ud83d\udc65",butterfly:"\ud83e\udd8b",cactus:"\ud83c\udf35",cake:"\ud83c\udf70",calendar:"\ud83d\udcc6",call_me_hand:"\ud83e\udd19",calling:"\ud83d\udcf2",camel:"\ud83d\udc2b",camera:"\ud83d\udcf7",camera_flash:"\ud83d\udcf8",camping:"\ud83c\udfd5",cancer:"\u264b\ufe0f",candle:"\ud83d\udd6f",candy:"\ud83c\udf6c",canoe:"\ud83d\udef6",capital_abcd:"\ud83d\udd20",capricorn:"\u2651\ufe0f",car:"\ud83d\ude97",card_file_box:"\ud83d\uddc3",card_index:"\ud83d\udcc7",card_index_dividers:"\ud83d\uddc2",carousel_horse:"\ud83c\udfa0",carrot:"\ud83e\udd55",cat:"\ud83d\udc31",cat2:"\ud83d\udc08",cd:"\ud83d\udcbf",chains:"\u26d3",champagne:"\ud83c\udf7e",chart:"\ud83d\udcb9",chart_with_downwards_trend:"\ud83d\udcc9",chart_with_upwards_trend:"\ud83d\udcc8",checkered_flag:"\ud83c\udfc1",cheese:"\ud83e\uddc0",cherries:"\ud83c\udf52",cherry_blossom:"\ud83c\udf38",chestnut:"\ud83c\udf30",chicken:"\ud83d\udc14",children_crossing:"\ud83d\udeb8",chipmunk:"\ud83d\udc3f",chocolate_bar:"\ud83c\udf6b",christmas_tree:"\ud83c\udf84",church:"\u26ea\ufe0f",cinema:"\ud83c\udfa6",circus_tent:"\ud83c\udfaa",city_sunrise:"\ud83c\udf07",city_sunset:"\ud83c\udf06",cityscape:"\ud83c\udfd9",cl:"\ud83c\udd91",clamp:"\ud83d\udddc",clap:"\ud83d\udc4f",clapper:"\ud83c\udfac",classical_building:"\ud83c\udfdb",clinking_glasses:"\ud83e\udd42",clipboard:"\ud83d\udccb",clock1:"\ud83d\udd50",clock10:"\ud83d\udd59",clock1030:"\ud83d\udd65",clock11:"\ud83d\udd5a",clock1130:"\ud83d\udd66",clock12:"\ud83d\udd5b",clock1230:"\ud83d\udd67",clock130:"\ud83d\udd5c",clock2:"\ud83d\udd51",clock230:"\ud83d\udd5d",clock3:"\ud83d\udd52",clock330:"\ud83d\udd5e",clock4:"\ud83d\udd53",clock430:"\ud83d\udd5f",clock5:"\ud83d\udd54",clock530:"\ud83d\udd60",clock6:"\ud83d\udd55",clock630:"\ud83d\udd61",clock7:"\ud83d\udd56",clock730:"\ud83d\udd62",clock8:"\ud83d\udd57",clock830:"\ud83d\udd63",clock9:"\ud83d\udd58",clock930:"\ud83d\udd64",closed_book:"\ud83d\udcd5",closed_lock_with_key:"\ud83d\udd10",closed_umbrella:"\ud83c\udf02",cloud:"\u2601\ufe0f",cloud_with_lightning:"\ud83c\udf29",cloud_with_lightning_and_rain:"\u26c8",cloud_with_rain:"\ud83c\udf27",cloud_with_snow:"\ud83c\udf28",clown_face:"\ud83e\udd21",clubs:"\u2663\ufe0f",cocktail:"\ud83c\udf78",coffee:"\u2615\ufe0f",coffin:"\u26b0\ufe0f",cold_sweat:"\ud83d\ude30",comet:"\u2604\ufe0f",computer:"\ud83d\udcbb",computer_mouse:"\ud83d\uddb1",confetti_ball:"\ud83c\udf8a",confounded:"\ud83d\ude16",confused:"\ud83d\ude15",congratulations:"\u3297\ufe0f",construction:"\ud83d\udea7",construction_worker_man:"\ud83d\udc77",construction_worker_woman:"\ud83d\udc77‍\u2640\ufe0f",control_knobs:"\ud83c\udf9b",convenience_store:"\ud83c\udfea",cookie:"\ud83c\udf6a",cool:"\ud83c\udd92",policeman:"\ud83d\udc6e",copyright:"\xa9\ufe0f",corn:"\ud83c\udf3d",couch_and_lamp:"\ud83d\udecb",couple:"\ud83d\udc6b",couple_with_heart_woman_man:"\ud83d\udc91",couple_with_heart_man_man:"\ud83d\udc68‍\u2764\ufe0f‍\ud83d\udc68",couple_with_heart_woman_woman:"\ud83d\udc69‍\u2764\ufe0f‍\ud83d\udc69",couplekiss_man_man:"\ud83d\udc68‍\u2764\ufe0f‍\ud83d\udc8b‍\ud83d\udc68",couplekiss_man_woman:"\ud83d\udc8f",couplekiss_woman_woman:"\ud83d\udc69‍\u2764\ufe0f‍\ud83d\udc8b‍\ud83d\udc69",cow:"\ud83d\udc2e",cow2:"\ud83d\udc04",cowboy_hat_face:"\ud83e\udd20",crab:"\ud83e\udd80",crayon:"\ud83d\udd8d",credit_card:"\ud83d\udcb3",crescent_moon:"\ud83c\udf19",cricket:"\ud83c\udfcf",crocodile:"\ud83d\udc0a",croissant:"\ud83e\udd50",crossed_fingers:"\ud83e\udd1e",crossed_flags:"\ud83c\udf8c",crossed_swords:"\u2694\ufe0f",crown:"\ud83d\udc51",cry:"\ud83d\ude22",crying_cat_face:"\ud83d\ude3f",crystal_ball:"\ud83d\udd2e",cucumber:"\ud83e\udd52",cupid:"\ud83d\udc98",curly_loop:"\u27b0",currency_exchange:"\ud83d\udcb1",curry:"\ud83c\udf5b",custard:"\ud83c\udf6e",customs:"\ud83d\udec3",cyclone:"\ud83c\udf00",dagger:"\ud83d\udde1",dancer:"\ud83d\udc83",dancing_women:"\ud83d\udc6f",dancing_men:"\ud83d\udc6f‍\u2642\ufe0f",dango:"\ud83c\udf61",dark_sunglasses:"\ud83d\udd76",dart:"\ud83c\udfaf",dash:"\ud83d\udca8",date:"\ud83d\udcc5",deciduous_tree:"\ud83c\udf33",deer:"\ud83e\udd8c",department_store:"\ud83c\udfec",derelict_house:"\ud83c\udfda",desert:"\ud83c\udfdc",desert_island:"\ud83c\udfdd",desktop_computer:"\ud83d\udda5",male_detective:"\ud83d\udd75\ufe0f",diamond_shape_with_a_dot_inside:"\ud83d\udca0",diamonds:"\u2666\ufe0f",disappointed:"\ud83d\ude1e",disappointed_relieved:"\ud83d\ude25",dizzy:"\ud83d\udcab",dizzy_face:"\ud83d\ude35",do_not_litter:"\ud83d\udeaf",dog:"\ud83d\udc36",dog2:"\ud83d\udc15",dollar:"\ud83d\udcb5",dolls:"\ud83c\udf8e",dolphin:"\ud83d\udc2c",door:"\ud83d\udeaa",doughnut:"\ud83c\udf69",dove:"\ud83d\udd4a",dragon:"\ud83d\udc09",dragon_face:"\ud83d\udc32",dress:"\ud83d\udc57",dromedary_camel:"\ud83d\udc2a",drooling_face:"\ud83e\udd24",droplet:"\ud83d\udca7",drum:"\ud83e\udd41",duck:"\ud83e\udd86",dvd:"\ud83d\udcc0",'e-mail':"\ud83d\udce7",eagle:"\ud83e\udd85",ear:"\ud83d\udc42",ear_of_rice:"\ud83c\udf3e",earth_africa:"\ud83c\udf0d",earth_americas:"\ud83c\udf0e",earth_asia:"\ud83c\udf0f",egg:"\ud83e\udd5a",eggplant:"\ud83c\udf46",eight_pointed_black_star:"\u2734\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",electric_plug:"\ud83d\udd0c",elephant:"\ud83d\udc18",email:"\u2709\ufe0f",end:"\ud83d\udd1a",envelope_with_arrow:"\ud83d\udce9",euro:"\ud83d\udcb6",european_castle:"\ud83c\udff0",european_post_office:"\ud83c\udfe4",evergreen_tree:"\ud83c\udf32",exclamation:"\u2757\ufe0f",expressionless:"\ud83d\ude11",eye:"\ud83d\udc41",eye_speech_bubble:"\ud83d\udc41‍\ud83d\udde8",eyeglasses:"\ud83d\udc53",eyes:"\ud83d\udc40",face_with_head_bandage:"\ud83e\udd15",face_with_thermometer:"\ud83e\udd12",fist_oncoming:"\ud83d\udc4a",factory:"\ud83c\udfed",fallen_leaf:"\ud83c\udf42",family_man_woman_boy:"\ud83d\udc6a",family_man_boy:"\ud83d\udc68‍\ud83d\udc66",family_man_boy_boy:"\ud83d\udc68‍\ud83d\udc66‍\ud83d\udc66",family_man_girl:"\ud83d\udc68‍\ud83d\udc67",family_man_girl_boy:"\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc66",family_man_girl_girl:"\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc67",family_man_man_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc66",family_man_man_boy_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc66‍\ud83d\udc66",family_man_man_girl:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67",family_man_man_girl_boy:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc66",family_man_man_girl_girl:"\ud83d\udc68‍\ud83d\udc68‍\ud83d\udc67‍\ud83d\udc67",family_man_woman_boy_boy:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_man_woman_girl:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67",family_man_woman_girl_boy:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_man_woman_girl_girl:"\ud83d\udc68‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",family_woman_boy:"\ud83d\udc69‍\ud83d\udc66",family_woman_boy_boy:"\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_woman_girl:"\ud83d\udc69‍\ud83d\udc67",family_woman_girl_boy:"\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_woman_girl_girl:"\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",family_woman_woman_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc66",family_woman_woman_boy_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc66‍\ud83d\udc66",family_woman_woman_girl:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67",family_woman_woman_girl_boy:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc66",family_woman_woman_girl_girl:"\ud83d\udc69‍\ud83d\udc69‍\ud83d\udc67‍\ud83d\udc67",fast_forward:"\u23e9",fax:"\ud83d\udce0",fearful:"\ud83d\ude28",feet:"\ud83d\udc3e",female_detective:"\ud83d\udd75\ufe0f‍\u2640\ufe0f",ferris_wheel:"\ud83c\udfa1",ferry:"\u26f4",field_hockey:"\ud83c\udfd1",file_cabinet:"\ud83d\uddc4",file_folder:"\ud83d\udcc1",film_projector:"\ud83d\udcfd",film_strip:"\ud83c\udf9e",fire:"\ud83d\udd25",fire_engine:"\ud83d\ude92",fireworks:"\ud83c\udf86",first_quarter_moon:"\ud83c\udf13",first_quarter_moon_with_face:"\ud83c\udf1b",fish:"\ud83d\udc1f",fish_cake:"\ud83c\udf65",fishing_pole_and_fish:"\ud83c\udfa3",fist_raised:"\u270a",fist_left:"\ud83e\udd1b",fist_right:"\ud83e\udd1c",flags:"\ud83c\udf8f",flashlight:"\ud83d\udd26",fleur_de_lis:"\u269c\ufe0f",flight_arrival:"\ud83d\udeec",flight_departure:"\ud83d\udeeb",floppy_disk:"\ud83d\udcbe",flower_playing_cards:"\ud83c\udfb4",flushed:"\ud83d\ude33",fog:"\ud83c\udf2b",foggy:"\ud83c\udf01",football:"\ud83c\udfc8",footprints:"\ud83d\udc63",fork_and_knife:"\ud83c\udf74",fountain:"\u26f2\ufe0f",fountain_pen:"\ud83d\udd8b",four_leaf_clover:"\ud83c\udf40",fox_face:"\ud83e\udd8a",framed_picture:"\ud83d\uddbc",free:"\ud83c\udd93",fried_egg:"\ud83c\udf73",fried_shrimp:"\ud83c\udf64",fries:"\ud83c\udf5f",frog:"\ud83d\udc38",frowning:"\ud83d\ude26",frowning_face:"\u2639\ufe0f",frowning_man:"\ud83d\ude4d‍\u2642\ufe0f",frowning_woman:"\ud83d\ude4d",middle_finger:"\ud83d\udd95",fuelpump:"\u26fd\ufe0f",full_moon:"\ud83c\udf15",full_moon_with_face:"\ud83c\udf1d",funeral_urn:"\u26b1\ufe0f",game_die:"\ud83c\udfb2",gear:"\u2699\ufe0f",gem:"\ud83d\udc8e",gemini:"\u264a\ufe0f",ghost:"\ud83d\udc7b",gift:"\ud83c\udf81",gift_heart:"\ud83d\udc9d",girl:"\ud83d\udc67",globe_with_meridians:"\ud83c\udf10",goal_net:"\ud83e\udd45",goat:"\ud83d\udc10",golf:"\u26f3\ufe0f",golfing_man:"\ud83c\udfcc\ufe0f",golfing_woman:"\ud83c\udfcc\ufe0f‍\u2640\ufe0f",gorilla:"\ud83e\udd8d",grapes:"\ud83c\udf47",green_apple:"\ud83c\udf4f",green_book:"\ud83d\udcd7",green_heart:"\ud83d\udc9a",green_salad:"\ud83e\udd57",grey_exclamation:"\u2755",grey_question:"\u2754",grimacing:"\ud83d\ude2c",grin:"\ud83d\ude01",grinning:"\ud83d\ude00",guardsman:"\ud83d\udc82",guardswoman:"\ud83d\udc82‍\u2640\ufe0f",guitar:"\ud83c\udfb8",gun:"\ud83d\udd2b",haircut_woman:"\ud83d\udc87",haircut_man:"\ud83d\udc87‍\u2642\ufe0f",hamburger:"\ud83c\udf54",hammer:"\ud83d\udd28",hammer_and_pick:"\u2692",hammer_and_wrench:"\ud83d\udee0",hamster:"\ud83d\udc39",hand:"\u270b",handbag:"\ud83d\udc5c",handshake:"\ud83e\udd1d",hankey:"\ud83d\udca9",hatched_chick:"\ud83d\udc25",hatching_chick:"\ud83d\udc23",headphones:"\ud83c\udfa7",hear_no_evil:"\ud83d\ude49",heart:"\u2764\ufe0f",heart_decoration:"\ud83d\udc9f",heart_eyes:"\ud83d\ude0d",heart_eyes_cat:"\ud83d\ude3b",heartbeat:"\ud83d\udc93",heartpulse:"\ud83d\udc97",hearts:"\u2665\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_division_sign:"\u2797",heavy_dollar_sign:"\ud83d\udcb2",heavy_heart_exclamation:"\u2763\ufe0f",heavy_minus_sign:"\u2796",heavy_multiplication_x:"\u2716\ufe0f",heavy_plus_sign:"\u2795",helicopter:"\ud83d\ude81",herb:"\ud83c\udf3f",hibiscus:"\ud83c\udf3a",high_brightness:"\ud83d\udd06",high_heel:"\ud83d\udc60",hocho:"\ud83d\udd2a",hole:"\ud83d\udd73",honey_pot:"\ud83c\udf6f",horse:"\ud83d\udc34",horse_racing:"\ud83c\udfc7",hospital:"\ud83c\udfe5",hot_pepper:"\ud83c\udf36",hotdog:"\ud83c\udf2d",hotel:"\ud83c\udfe8",hotsprings:"\u2668\ufe0f",hourglass:"\u231b\ufe0f",hourglass_flowing_sand:"\u23f3",house:"\ud83c\udfe0",house_with_garden:"\ud83c\udfe1",houses:"\ud83c\udfd8",hugs:"\ud83e\udd17",hushed:"\ud83d\ude2f",ice_cream:"\ud83c\udf68",ice_hockey:"\ud83c\udfd2",ice_skate:"\u26f8",icecream:"\ud83c\udf66",id:"\ud83c\udd94",ideograph_advantage:"\ud83c\ude50",imp:"\ud83d\udc7f",inbox_tray:"\ud83d\udce5",incoming_envelope:"\ud83d\udce8",tipping_hand_woman:"\ud83d\udc81",information_source:"\u2139\ufe0f",innocent:"\ud83d\ude07",interrobang:"\u2049\ufe0f",iphone:"\ud83d\udcf1",izakaya_lantern:"\ud83c\udfee",jack_o_lantern:"\ud83c\udf83",japan:"\ud83d\uddfe",japanese_castle:"\ud83c\udfef",japanese_goblin:"\ud83d\udc7a",japanese_ogre:"\ud83d\udc79",jeans:"\ud83d\udc56",joy:"\ud83d\ude02",joy_cat:"\ud83d\ude39",joystick:"\ud83d\udd79",kaaba:"\ud83d\udd4b",key:"\ud83d\udd11",keyboard:"\u2328\ufe0f",keycap_ten:"\ud83d\udd1f",kick_scooter:"\ud83d\udef4",kimono:"\ud83d\udc58",kiss:"\ud83d\udc8b",kissing:"\ud83d\ude17",kissing_cat:"\ud83d\ude3d",kissing_closed_eyes:"\ud83d\ude1a",kissing_heart:"\ud83d\ude18",kissing_smiling_eyes:"\ud83d\ude19",kiwi_fruit:"\ud83e\udd5d",koala:"\ud83d\udc28",koko:"\ud83c\ude01",label:"\ud83c\udff7",large_blue_circle:"\ud83d\udd35",large_blue_diamond:"\ud83d\udd37",large_orange_diamond:"\ud83d\udd36",last_quarter_moon:"\ud83c\udf17",last_quarter_moon_with_face:"\ud83c\udf1c",latin_cross:"\u271d\ufe0f",laughing:"\ud83d\ude06",leaves:"\ud83c\udf43",ledger:"\ud83d\udcd2",left_luggage:"\ud83d\udec5",left_right_arrow:"\u2194\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",lemon:"\ud83c\udf4b",leo:"\u264c\ufe0f",leopard:"\ud83d\udc06",level_slider:"\ud83c\udf9a",libra:"\u264e\ufe0f",light_rail:"\ud83d\ude88",link:"\ud83d\udd17",lion:"\ud83e\udd81",lips:"\ud83d\udc44",lipstick:"\ud83d\udc84",lizard:"\ud83e\udd8e",lock:"\ud83d\udd12",lock_with_ink_pen:"\ud83d\udd0f",lollipop:"\ud83c\udf6d",loop:"\u27bf",loud_sound:"\ud83d\udd0a",loudspeaker:"\ud83d\udce2",love_hotel:"\ud83c\udfe9",love_letter:"\ud83d\udc8c",low_brightness:"\ud83d\udd05",lying_face:"\ud83e\udd25",m:"\u24c2\ufe0f",mag:"\ud83d\udd0d",mag_right:"\ud83d\udd0e",mahjong:"\ud83c\udc04\ufe0f",mailbox:"\ud83d\udceb",mailbox_closed:"\ud83d\udcea",mailbox_with_mail:"\ud83d\udcec",mailbox_with_no_mail:"\ud83d\udced",man:"\ud83d\udc68",man_artist:"\ud83d\udc68‍\ud83c\udfa8",man_astronaut:"\ud83d\udc68‍\ud83d\ude80",man_cartwheeling:"\ud83e\udd38‍\u2642\ufe0f",man_cook:"\ud83d\udc68‍\ud83c\udf73",man_dancing:"\ud83d\udd7a",man_facepalming:"\ud83e\udd26‍\u2642\ufe0f",man_factory_worker:"\ud83d\udc68‍\ud83c\udfed",man_farmer:"\ud83d\udc68‍\ud83c\udf3e",man_firefighter:"\ud83d\udc68‍\ud83d\ude92",man_health_worker:"\ud83d\udc68‍\u2695\ufe0f",man_in_tuxedo:"\ud83e\udd35",man_judge:"\ud83d\udc68‍\u2696\ufe0f",man_juggling:"\ud83e\udd39‍\u2642\ufe0f",man_mechanic:"\ud83d\udc68‍\ud83d\udd27",man_office_worker:"\ud83d\udc68‍\ud83d\udcbc",man_pilot:"\ud83d\udc68‍\u2708\ufe0f",man_playing_handball:"\ud83e\udd3e‍\u2642\ufe0f",man_playing_water_polo:"\ud83e\udd3d‍\u2642\ufe0f",man_scientist:"\ud83d\udc68‍\ud83d\udd2c",man_shrugging:"\ud83e\udd37‍\u2642\ufe0f",man_singer:"\ud83d\udc68‍\ud83c\udfa4",man_student:"\ud83d\udc68‍\ud83c\udf93",man_teacher:"\ud83d\udc68‍\ud83c\udfeb",man_technologist:"\ud83d\udc68‍\ud83d\udcbb",man_with_gua_pi_mao:"\ud83d\udc72",man_with_turban:"\ud83d\udc73",tangerine:"\ud83c\udf4a",mans_shoe:"\ud83d\udc5e",mantelpiece_clock:"\ud83d\udd70",maple_leaf:"\ud83c\udf41",martial_arts_uniform:"\ud83e\udd4b",mask:"\ud83d\ude37",massage_woman:"\ud83d\udc86",massage_man:"\ud83d\udc86‍\u2642\ufe0f",meat_on_bone:"\ud83c\udf56",medal_military:"\ud83c\udf96",medal_sports:"\ud83c\udfc5",mega:"\ud83d\udce3",melon:"\ud83c\udf48",memo:"\ud83d\udcdd",men_wrestling:"\ud83e\udd3c‍\u2642\ufe0f",menorah:"\ud83d\udd4e",mens:"\ud83d\udeb9",metal:"\ud83e\udd18",metro:"\ud83d\ude87",microphone:"\ud83c\udfa4",microscope:"\ud83d\udd2c",milk_glass:"\ud83e\udd5b",milky_way:"\ud83c\udf0c",minibus:"\ud83d\ude90",minidisc:"\ud83d\udcbd",mobile_phone_off:"\ud83d\udcf4",money_mouth_face:"\ud83e\udd11",money_with_wings:"\ud83d\udcb8",moneybag:"\ud83d\udcb0",monkey:"\ud83d\udc12",monkey_face:"\ud83d\udc35",monorail:"\ud83d\ude9d",moon:"\ud83c\udf14",mortar_board:"\ud83c\udf93",mosque:"\ud83d\udd4c",motor_boat:"\ud83d\udee5",motor_scooter:"\ud83d\udef5",motorcycle:"\ud83c\udfcd",motorway:"\ud83d\udee3",mount_fuji:"\ud83d\uddfb",mountain:"\u26f0",mountain_biking_man:"\ud83d\udeb5",mountain_biking_woman:"\ud83d\udeb5‍\u2640\ufe0f",mountain_cableway:"\ud83d\udea0",mountain_railway:"\ud83d\ude9e",mountain_snow:"\ud83c\udfd4",mouse:"\ud83d\udc2d",mouse2:"\ud83d\udc01",movie_camera:"\ud83c\udfa5",moyai:"\ud83d\uddff",mrs_claus:"\ud83e\udd36",muscle:"\ud83d\udcaa",mushroom:"\ud83c\udf44",musical_keyboard:"\ud83c\udfb9",musical_note:"\ud83c\udfb5",musical_score:"\ud83c\udfbc",mute:"\ud83d\udd07",nail_care:"\ud83d\udc85",name_badge:"\ud83d\udcdb",national_park:"\ud83c\udfde",nauseated_face:"\ud83e\udd22",necktie:"\ud83d\udc54",negative_squared_cross_mark:"\u274e",nerd_face:"\ud83e\udd13",neutral_face:"\ud83d\ude10",new:"\ud83c\udd95",new_moon:"\ud83c\udf11",new_moon_with_face:"\ud83c\udf1a",newspaper:"\ud83d\udcf0",newspaper_roll:"\ud83d\uddde",next_track_button:"\u23ed",ng:"\ud83c\udd96",no_good_man:"\ud83d\ude45‍\u2642\ufe0f",no_good_woman:"\ud83d\ude45",night_with_stars:"\ud83c\udf03",no_bell:"\ud83d\udd15",no_bicycles:"\ud83d\udeb3",no_entry:"\u26d4\ufe0f",no_entry_sign:"\ud83d\udeab",no_mobile_phones:"\ud83d\udcf5",no_mouth:"\ud83d\ude36",no_pedestrians:"\ud83d\udeb7",no_smoking:"\ud83d\udead",'non-potable_water':"\ud83d\udeb1",nose:"\ud83d\udc43",notebook:"\ud83d\udcd3",notebook_with_decorative_cover:"\ud83d\udcd4",notes:"\ud83c\udfb6",nut_and_bolt:"\ud83d\udd29",o:"\u2b55\ufe0f",o2:"\ud83c\udd7e\ufe0f",ocean:"\ud83c\udf0a",octopus:"\ud83d\udc19",oden:"\ud83c\udf62",office:"\ud83c\udfe2",oil_drum:"\ud83d\udee2",ok:"\ud83c\udd97",ok_hand:"\ud83d\udc4c",ok_man:"\ud83d\ude46‍\u2642\ufe0f",ok_woman:"\ud83d\ude46",old_key:"\ud83d\udddd",older_man:"\ud83d\udc74",older_woman:"\ud83d\udc75",om:"\ud83d\udd49",on:"\ud83d\udd1b",oncoming_automobile:"\ud83d\ude98",oncoming_bus:"\ud83d\ude8d",oncoming_police_car:"\ud83d\ude94",oncoming_taxi:"\ud83d\ude96",open_file_folder:"\ud83d\udcc2",open_hands:"\ud83d\udc50",open_mouth:"\ud83d\ude2e",open_umbrella:"\u2602\ufe0f",ophiuchus:"\u26ce",orange_book:"\ud83d\udcd9",orthodox_cross:"\u2626\ufe0f",outbox_tray:"\ud83d\udce4",owl:"\ud83e\udd89",ox:"\ud83d\udc02",package:"\ud83d\udce6",page_facing_up:"\ud83d\udcc4",page_with_curl:"\ud83d\udcc3",pager:"\ud83d\udcdf",paintbrush:"\ud83d\udd8c",palm_tree:"\ud83c\udf34",pancakes:"\ud83e\udd5e",panda_face:"\ud83d\udc3c",paperclip:"\ud83d\udcce",paperclips:"\ud83d\udd87",parasol_on_ground:"\u26f1",parking:"\ud83c\udd7f\ufe0f",part_alternation_mark:"\u303d\ufe0f",partly_sunny:"\u26c5\ufe0f",passenger_ship:"\ud83d\udef3",passport_control:"\ud83d\udec2",pause_button:"\u23f8",peace_symbol:"\u262e\ufe0f",peach:"\ud83c\udf51",peanuts:"\ud83e\udd5c",pear:"\ud83c\udf50",pen:"\ud83d\udd8a",pencil2:"\u270f\ufe0f",penguin:"\ud83d\udc27",pensive:"\ud83d\ude14",performing_arts:"\ud83c\udfad",persevere:"\ud83d\ude23",person_fencing:"\ud83e\udd3a",pouting_woman:"\ud83d\ude4e",phone:"\u260e\ufe0f",pick:"\u26cf",pig:"\ud83d\udc37",pig2:"\ud83d\udc16",pig_nose:"\ud83d\udc3d",pill:"\ud83d\udc8a",pineapple:"\ud83c\udf4d",ping_pong:"\ud83c\udfd3",pisces:"\u2653\ufe0f",pizza:"\ud83c\udf55",place_of_worship:"\ud83d\uded0",plate_with_cutlery:"\ud83c\udf7d",play_or_pause_button:"\u23ef",point_down:"\ud83d\udc47",point_left:"\ud83d\udc48",point_right:"\ud83d\udc49",point_up:"\u261d\ufe0f",point_up_2:"\ud83d\udc46",police_car:"\ud83d\ude93",policewoman:"\ud83d\udc6e‍\u2640\ufe0f",poodle:"\ud83d\udc29",popcorn:"\ud83c\udf7f",post_office:"\ud83c\udfe3",postal_horn:"\ud83d\udcef",postbox:"\ud83d\udcee",potable_water:"\ud83d\udeb0",potato:"\ud83e\udd54",pouch:"\ud83d\udc5d",poultry_leg:"\ud83c\udf57",pound:"\ud83d\udcb7",rage:"\ud83d\ude21",pouting_cat:"\ud83d\ude3e",pouting_man:"\ud83d\ude4e‍\u2642\ufe0f",pray:"\ud83d\ude4f",prayer_beads:"\ud83d\udcff",pregnant_woman:"\ud83e\udd30",previous_track_button:"\u23ee",prince:"\ud83e\udd34",princess:"\ud83d\udc78",printer:"\ud83d\udda8",purple_heart:"\ud83d\udc9c",purse:"\ud83d\udc5b",pushpin:"\ud83d\udccc",put_litter_in_its_place:"\ud83d\udeae",question:"\u2753",rabbit:"\ud83d\udc30",rabbit2:"\ud83d\udc07",racehorse:"\ud83d\udc0e",racing_car:"\ud83c\udfce",radio:"\ud83d\udcfb",radio_button:"\ud83d\udd18",radioactive:"\u2622\ufe0f",railway_car:"\ud83d\ude83",railway_track:"\ud83d\udee4",rainbow:"\ud83c\udf08",rainbow_flag:"\ud83c\udff3\ufe0f‍\ud83c\udf08",raised_back_of_hand:"\ud83e\udd1a",raised_hand_with_fingers_splayed:"\ud83d\udd90",raised_hands:"\ud83d\ude4c",raising_hand_woman:"\ud83d\ude4b",raising_hand_man:"\ud83d\ude4b‍\u2642\ufe0f",ram:"\ud83d\udc0f",ramen:"\ud83c\udf5c",rat:"\ud83d\udc00",record_button:"\u23fa",recycle:"\u267b\ufe0f",red_circle:"\ud83d\udd34",registered:"\xae\ufe0f",relaxed:"\u263a\ufe0f",relieved:"\ud83d\ude0c",reminder_ribbon:"\ud83c\udf97",repeat:"\ud83d\udd01",repeat_one:"\ud83d\udd02",rescue_worker_helmet:"\u26d1",restroom:"\ud83d\udebb",revolving_hearts:"\ud83d\udc9e",rewind:"\u23ea",rhinoceros:"\ud83e\udd8f",ribbon:"\ud83c\udf80",rice:"\ud83c\udf5a",rice_ball:"\ud83c\udf59",rice_cracker:"\ud83c\udf58",rice_scene:"\ud83c\udf91",right_anger_bubble:"\ud83d\uddef",ring:"\ud83d\udc8d",robot:"\ud83e\udd16",rocket:"\ud83d\ude80",rofl:"\ud83e\udd23",roll_eyes:"\ud83d\ude44",roller_coaster:"\ud83c\udfa2",rooster:"\ud83d\udc13",rose:"\ud83c\udf39",rosette:"\ud83c\udff5",rotating_light:"\ud83d\udea8",round_pushpin:"\ud83d\udccd",rowing_man:"\ud83d\udea3",rowing_woman:"\ud83d\udea3‍\u2640\ufe0f",rugby_football:"\ud83c\udfc9",running_man:"\ud83c\udfc3",running_shirt_with_sash:"\ud83c\udfbd",running_woman:"\ud83c\udfc3‍\u2640\ufe0f",sa:"\ud83c\ude02\ufe0f",sagittarius:"\u2650\ufe0f",sake:"\ud83c\udf76",sandal:"\ud83d\udc61",santa:"\ud83c\udf85",satellite:"\ud83d\udce1",saxophone:"\ud83c\udfb7",school:"\ud83c\udfeb",school_satchel:"\ud83c\udf92",scissors:"\u2702\ufe0f",scorpion:"\ud83e\udd82",scorpius:"\u264f\ufe0f",scream:"\ud83d\ude31",scream_cat:"\ud83d\ude40",scroll:"\ud83d\udcdc",seat:"\ud83d\udcba",secret:"\u3299\ufe0f",see_no_evil:"\ud83d\ude48",seedling:"\ud83c\udf31",selfie:"\ud83e\udd33",shallow_pan_of_food:"\ud83e\udd58",shamrock:"\u2618\ufe0f",shark:"\ud83e\udd88",shaved_ice:"\ud83c\udf67",sheep:"\ud83d\udc11",shell:"\ud83d\udc1a",shield:"\ud83d\udee1",shinto_shrine:"\u26e9",ship:"\ud83d\udea2",shirt:"\ud83d\udc55",shopping:"\ud83d\udecd",shopping_cart:"\ud83d\uded2",shower:"\ud83d\udebf",shrimp:"\ud83e\udd90",signal_strength:"\ud83d\udcf6",six_pointed_star:"\ud83d\udd2f",ski:"\ud83c\udfbf",skier:"\u26f7",skull:"\ud83d\udc80",skull_and_crossbones:"\u2620\ufe0f",sleeping:"\ud83d\ude34",sleeping_bed:"\ud83d\udecc",sleepy:"\ud83d\ude2a",slightly_frowning_face:"\ud83d\ude41",slightly_smiling_face:"\ud83d\ude42",slot_machine:"\ud83c\udfb0",small_airplane:"\ud83d\udee9",small_blue_diamond:"\ud83d\udd39",small_orange_diamond:"\ud83d\udd38",small_red_triangle:"\ud83d\udd3a",small_red_triangle_down:"\ud83d\udd3b",smile:"\ud83d\ude04",smile_cat:"\ud83d\ude38",smiley:"\ud83d\ude03",smiley_cat:"\ud83d\ude3a",smiling_imp:"\ud83d\ude08",smirk:"\ud83d\ude0f",smirk_cat:"\ud83d\ude3c",smoking:"\ud83d\udeac",snail:"\ud83d\udc0c",snake:"\ud83d\udc0d",sneezing_face:"\ud83e\udd27",snowboarder:"\ud83c\udfc2",snowflake:"\u2744\ufe0f",snowman:"\u26c4\ufe0f",snowman_with_snow:"\u2603\ufe0f",sob:"\ud83d\ude2d",soccer:"\u26bd\ufe0f",soon:"\ud83d\udd1c",sos:"\ud83c\udd98",sound:"\ud83d\udd09",space_invader:"\ud83d\udc7e",spades:"\u2660\ufe0f",spaghetti:"\ud83c\udf5d",sparkle:"\u2747\ufe0f",sparkler:"\ud83c\udf87",sparkles:"\u2728",sparkling_heart:"\ud83d\udc96",speak_no_evil:"\ud83d\ude4a",speaker:"\ud83d\udd08",speaking_head:"\ud83d\udde3",speech_balloon:"\ud83d\udcac",speedboat:"\ud83d\udea4",spider:"\ud83d\udd77",spider_web:"\ud83d\udd78",spiral_calendar:"\ud83d\uddd3",spiral_notepad:"\ud83d\uddd2",spoon:"\ud83e\udd44",squid:"\ud83e\udd91",stadium:"\ud83c\udfdf",star:"\u2b50\ufe0f",star2:"\ud83c\udf1f",star_and_crescent:"\u262a\ufe0f",star_of_david:"\u2721\ufe0f",stars:"\ud83c\udf20",station:"\ud83d\ude89",statue_of_liberty:"\ud83d\uddfd",steam_locomotive:"\ud83d\ude82",stew:"\ud83c\udf72",stop_button:"\u23f9",stop_sign:"\ud83d\uded1",stopwatch:"\u23f1",straight_ruler:"\ud83d\udccf",strawberry:"\ud83c\udf53",stuck_out_tongue:"\ud83d\ude1b",stuck_out_tongue_closed_eyes:"\ud83d\ude1d",stuck_out_tongue_winking_eye:"\ud83d\ude1c",studio_microphone:"\ud83c\udf99",stuffed_flatbread:"\ud83e\udd59",sun_behind_large_cloud:"\ud83c\udf25",sun_behind_rain_cloud:"\ud83c\udf26",sun_behind_small_cloud:"\ud83c\udf24",sun_with_face:"\ud83c\udf1e",sunflower:"\ud83c\udf3b",sunglasses:"\ud83d\ude0e",sunny:"\u2600\ufe0f",sunrise:"\ud83c\udf05",sunrise_over_mountains:"\ud83c\udf04",surfing_man:"\ud83c\udfc4",surfing_woman:"\ud83c\udfc4‍\u2640\ufe0f",sushi:"\ud83c\udf63",suspension_railway:"\ud83d\ude9f",sweat:"\ud83d\ude13",sweat_drops:"\ud83d\udca6",sweat_smile:"\ud83d\ude05",sweet_potato:"\ud83c\udf60",swimming_man:"\ud83c\udfca",swimming_woman:"\ud83c\udfca‍\u2640\ufe0f",symbols:"\ud83d\udd23",synagogue:"\ud83d\udd4d",syringe:"\ud83d\udc89",taco:"\ud83c\udf2e",tada:"\ud83c\udf89",tanabata_tree:"\ud83c\udf8b",taurus:"\u2649\ufe0f",taxi:"\ud83d\ude95",tea:"\ud83c\udf75",telephone_receiver:"\ud83d\udcde",telescope:"\ud83d\udd2d",tennis:"\ud83c\udfbe",tent:"\u26fa\ufe0f",thermometer:"\ud83c\udf21",thinking:"\ud83e\udd14",thought_balloon:"\ud83d\udcad",ticket:"\ud83c\udfab",tickets:"\ud83c\udf9f",tiger:"\ud83d\udc2f",tiger2:"\ud83d\udc05",timer_clock:"\u23f2",tipping_hand_man:"\ud83d\udc81‍\u2642\ufe0f",tired_face:"\ud83d\ude2b",tm:"\u2122\ufe0f",toilet:"\ud83d\udebd",tokyo_tower:"\ud83d\uddfc",tomato:"\ud83c\udf45",tongue:"\ud83d\udc45",top:"\ud83d\udd1d",tophat:"\ud83c\udfa9",tornado:"\ud83c\udf2a",trackball:"\ud83d\uddb2",tractor:"\ud83d\ude9c",traffic_light:"\ud83d\udea5",train:"\ud83d\ude8b",train2:"\ud83d\ude86",tram:"\ud83d\ude8a",triangular_flag_on_post:"\ud83d\udea9",triangular_ruler:"\ud83d\udcd0",trident:"\ud83d\udd31",triumph:"\ud83d\ude24",trolleybus:"\ud83d\ude8e",trophy:"\ud83c\udfc6",tropical_drink:"\ud83c\udf79",tropical_fish:"\ud83d\udc20",truck:"\ud83d\ude9a",trumpet:"\ud83c\udfba",tulip:"\ud83c\udf37",tumbler_glass:"\ud83e\udd43",turkey:"\ud83e\udd83",turtle:"\ud83d\udc22",tv:"\ud83d\udcfa",twisted_rightwards_arrows:"\ud83d\udd00",two_hearts:"\ud83d\udc95",two_men_holding_hands:"\ud83d\udc6c",two_women_holding_hands:"\ud83d\udc6d",u5272:"\ud83c\ude39",u5408:"\ud83c\ude34",u55b6:"\ud83c\ude3a",u6307:"\ud83c\ude2f\ufe0f",u6708:"\ud83c\ude37\ufe0f",u6709:"\ud83c\ude36",u6e80:"\ud83c\ude35",u7121:"\ud83c\ude1a\ufe0f",u7533:"\ud83c\ude38",u7981:"\ud83c\ude32",u7a7a:"\ud83c\ude33",umbrella:"\u2614\ufe0f",unamused:"\ud83d\ude12",underage:"\ud83d\udd1e",unicorn:"\ud83e\udd84",unlock:"\ud83d\udd13",up:"\ud83c\udd99",upside_down_face:"\ud83d\ude43",v:"\u270c\ufe0f",vertical_traffic_light:"\ud83d\udea6",vhs:"\ud83d\udcfc",vibration_mode:"\ud83d\udcf3",video_camera:"\ud83d\udcf9",video_game:"\ud83c\udfae",violin:"\ud83c\udfbb",virgo:"\u264d\ufe0f",volcano:"\ud83c\udf0b",volleyball:"\ud83c\udfd0",vs:"\ud83c\udd9a",vulcan_salute:"\ud83d\udd96",walking_man:"\ud83d\udeb6",walking_woman:"\ud83d\udeb6‍\u2640\ufe0f",waning_crescent_moon:"\ud83c\udf18",waning_gibbous_moon:"\ud83c\udf16",warning:"\u26a0\ufe0f",wastebasket:"\ud83d\uddd1",watch:"\u231a\ufe0f",water_buffalo:"\ud83d\udc03",watermelon:"\ud83c\udf49",wave:"\ud83d\udc4b",wavy_dash:"\u3030\ufe0f",waxing_crescent_moon:"\ud83c\udf12",wc:"\ud83d\udebe",weary:"\ud83d\ude29",wedding:"\ud83d\udc92",weight_lifting_man:"\ud83c\udfcb\ufe0f",weight_lifting_woman:"\ud83c\udfcb\ufe0f‍\u2640\ufe0f",whale:"\ud83d\udc33",whale2:"\ud83d\udc0b",wheel_of_dharma:"\u2638\ufe0f",wheelchair:"\u267f\ufe0f",white_check_mark:"\u2705",white_circle:"\u26aa\ufe0f",white_flag:"\ud83c\udff3\ufe0f",white_flower:"\ud83d\udcae",white_large_square:"\u2b1c\ufe0f",white_medium_small_square:"\u25fd\ufe0f",white_medium_square:"\u25fb\ufe0f",white_small_square:"\u25ab\ufe0f",white_square_button:"\ud83d\udd33",wilted_flower:"\ud83e\udd40",wind_chime:"\ud83c\udf90",wind_face:"\ud83c\udf2c",wine_glass:"\ud83c\udf77",wink:"\ud83d\ude09",wolf:"\ud83d\udc3a",woman:"\ud83d\udc69",woman_artist:"\ud83d\udc69‍\ud83c\udfa8",woman_astronaut:"\ud83d\udc69‍\ud83d\ude80",woman_cartwheeling:"\ud83e\udd38‍\u2640\ufe0f",woman_cook:"\ud83d\udc69‍\ud83c\udf73",woman_facepalming:"\ud83e\udd26‍\u2640\ufe0f",woman_factory_worker:"\ud83d\udc69‍\ud83c\udfed",woman_farmer:"\ud83d\udc69‍\ud83c\udf3e",woman_firefighter:"\ud83d\udc69‍\ud83d\ude92",woman_health_worker:"\ud83d\udc69‍\u2695\ufe0f",woman_judge:"\ud83d\udc69‍\u2696\ufe0f",woman_juggling:"\ud83e\udd39‍\u2640\ufe0f",woman_mechanic:"\ud83d\udc69‍\ud83d\udd27",woman_office_worker:"\ud83d\udc69‍\ud83d\udcbc",woman_pilot:"\ud83d\udc69‍\u2708\ufe0f",woman_playing_handball:"\ud83e\udd3e‍\u2640\ufe0f",woman_playing_water_polo:"\ud83e\udd3d‍\u2640\ufe0f",woman_scientist:"\ud83d\udc69‍\ud83d\udd2c",woman_shrugging:"\ud83e\udd37‍\u2640\ufe0f",woman_singer:"\ud83d\udc69‍\ud83c\udfa4",woman_student:"\ud83d\udc69‍\ud83c\udf93",woman_teacher:"\ud83d\udc69‍\ud83c\udfeb",woman_technologist:"\ud83d\udc69‍\ud83d\udcbb",woman_with_turban:"\ud83d\udc73‍\u2640\ufe0f",womans_clothes:"\ud83d\udc5a",womans_hat:"\ud83d\udc52",women_wrestling:"\ud83e\udd3c‍\u2640\ufe0f",womens:"\ud83d\udeba",world_map:"\ud83d\uddfa",worried:"\ud83d\ude1f",wrench:"\ud83d\udd27",writing_hand:"\u270d\ufe0f",x:"\u274c",yellow_heart:"\ud83d\udc9b",yen:"\ud83d\udcb4",yin_yang:"\u262f\ufe0f",yum:"\ud83d\ude0b",zap:"\u26a1\ufe0f",zipper_mouth_face:"\ud83e\udd10",zzz:"\ud83d\udca4",octocat:':octocat:',showdown:'S'},r.Converter=function(e){'use strict';var t={},n=[],c=[],u={},d=o,p={parsed:{},raw:'',format:''};function h(e,t){if(t=t||null,r.helper.isString(e)){if(t=e=r.helper.stdExtName(e),r.extensions[e])return console.warn('DEPRECATION WARNING: '+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void _(r.extensions[e],e);if(r.helper.isUndefined(a[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=a[e]}'function'==typeof e&&(e=e()),r.helper.isArray(e)||(e=[e]);var s=l(e,t);if(!s.valid)throw Error(s.error);for(var o=0;o[ \t]+\xa8NBSP;<'),!t){if(!window||!window.document)throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');t=window.document}var a=t.createElement('div');a.innerHTML=e;var n={preList:(function(e){for(var t=e.querySelectorAll('pre'),a=[],n=0;n'}else a.push(t[n].innerHTML),t[n].innerHTML='',t[n].setAttribute('prenum',n.toString());return a})(a)};!(function e(r){for(var t=0;t? ?(['"].*['"])?\)$/m)>-1)o='';else if(!o){if(s||(s=n.toLowerCase().replace(/ ?\n/g,' ')),o='#'+s,r.helper.isUndefined(a.gUrls[s]))return e;o=a.gUrls[s],r.helper.isUndefined(a.gTitles[s])||(c=a.gTitles[s])}var u=''};return e=(e=(e=(e=(e=a.converter._dispatch('anchors.before',e,t,a)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n)).replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,a,n,s,o){if('\\'===n)return a+s;if(!r.helper.isString(t.ghMentionsLink))throw new Error('ghMentionsLink option must be a string');var i=t.ghMentionsLink.replace(/\{u}/g,o),l='';return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="\xa8E95Eblank"'),a+''+s+''})),e=a.converter._dispatch('anchors.after',e,t,a)});var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,h=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,_=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){'use strict';return function(t,a,n,s,o,i,l){var c=n=n.replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback),u='',d='',p=a||'',h=l||'';return/^www\./i.test(n)&&(n=n.replace(/^www\./i,'http://www.')),e.excludeTrailingPunctuationFromURLs&&i&&(u=i),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="\xa8E95Eblank"'),p+''+c+''+u+h}},f=function(e,t){'use strict';return function(a,n,s){var o='mailto:';return n=n||'',s=r.subParser('unescapeSpecialChars')(s,e,t),e.encodeEmails?(o=r.helper.encodeEmailAddress(o+s),s=r.helper.encodeEmailAddress(s)):o+=s,n+''+s+''}};r.subParser('autoLinks',function(e,r,t){'use strict';return e=(e=(e=t.converter._dispatch('autoLinks.before',e,r,t)).replace(h,m(r))).replace(g,f(r,t)),e=t.converter._dispatch('autoLinks.after',e,r,t)}),r.subParser('simplifiedAutoLinks',function(e,r,t){'use strict';return r.simplifiedAutoLink?(e=t.converter._dispatch('simplifiedAutoLinks.before',e,r,t),e=(e=r.excludeTrailingPunctuationFromURLs?e.replace(p,m(r)):e.replace(d,m(r))).replace(_,f(r,t)),e=t.converter._dispatch('simplifiedAutoLinks.after',e,r,t)):e}),r.subParser('blockGamut',function(e,t,a){'use strict';return e=a.converter._dispatch('blockGamut.before',e,t,a),e=r.subParser('blockQuotes')(e,t,a),e=r.subParser('headers')(e,t,a),e=r.subParser('horizontalRule')(e,t,a),e=r.subParser('lists')(e,t,a),e=r.subParser('codeBlocks')(e,t,a),e=r.subParser('tables')(e,t,a),e=r.subParser('hashHTMLBlocks')(e,t,a),e=r.subParser('paragraphs')(e,t,a),e=a.converter._dispatch('blockGamut.after',e,t,a)}),r.subParser('blockQuotes',function(e,t,a){'use strict';e=a.converter._dispatch('blockQuotes.before',e,t,a),e+='\n\n';var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,'')).replace(/\xa80/g,'')).replace(/^[ \t]+$/gm,''),e=r.subParser('githubCodeBlocks')(e,t,a),e=(e=(e=r.subParser('blockGamut')(e,t,a)).replace(/(^|\n)/g,'$1 ')).replace(/(\s*
[^\r]+?<\/pre>)/gm,function(e,r){var t=r;return t=(t=t.replace(/^  /gm,'\xa80')).replace(/\xa80/g,'')}),r.subParser('hashBlock')('
\n'+e+'\n
',t,a)}),e=a.converter._dispatch('blockQuotes.after',e,t,a)}),r.subParser('codeBlocks',function(e,t,a){'use strict';e=a.converter._dispatch('codeBlocks.before',e,t,a);return e=(e=(e+='\xa80').replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=\xa80))/g,function(e,n,s){var o=n,i=s,l='\n';return o=r.subParser('outdent')(o,t,a),o=r.subParser('encodeCode')(o,t,a),o=(o=(o=r.subParser('detab')(o,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,''),t.omitExtraWLInCodeBlocks&&(l=''),o='
'+o+l+'
',r.subParser('hashBlock')(o,t,a)+i})).replace(/\xa80/,''),e=a.converter._dispatch('codeBlocks.after',e,t,a)}),r.subParser('codeSpans',function(e,t,a){'use strict';return void 0===(e=a.converter._dispatch('codeSpans.before',e,t,a))&&(e=''),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,s,o){var i=o;return i=(i=i.replace(/^([ \t]*)/g,'')).replace(/[ \t]*$/g,''),i=n+''+(i=r.subParser('encodeCode')(i,t,a))+'',i=r.subParser('hashHTMLSpans')(i,t,a)}),e=a.converter._dispatch('codeSpans.after',e,t,a)}),r.subParser('completeHTMLDocument',function(e,r,t){'use strict';if(!r.completeHTMLDocument)return e;e=t.converter._dispatch('completeHTMLDocument.before',e,r,t);var a='html',n='\n',s='',o='\n',i='',l='';for(var c in void 0!==t.metadata.parsed.doctype&&(n='\n','html'!==(a=t.metadata.parsed.doctype.toString().toLowerCase())&&'html5'!==a||(o='')),t.metadata.parsed)if(t.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case'doctype':break;case'title':s=''+t.metadata.parsed.title+'\n';break;case'charset':o='html'===a||'html5'===a?'\n':'\n';break;case'language':case'lang':i=' lang="'+t.metadata.parsed[c]+'"',l+='\n';break;default:l+='\n'}return e=n+'\n\n'+s+o+l+'\n\n'+e.trim()+'\n\n',e=t.converter._dispatch('completeHTMLDocument.after',e,r,t)}),r.subParser('detab',function(e,r,t){'use strict';return e=(e=(e=(e=(e=(e=t.converter._dispatch('detab.before',e,r,t)).replace(/\t(?=\t)/g,' ')).replace(/\t/g,'\xa8A\xa8B')).replace(/\xa8B(.+?)\xa8A/g,function(e,r){for(var t=r,a=4-t.length%4,n=0;n/g,'>'),e=t.converter._dispatch('encodeAmpsAndAngles.after',e,r,t)}),r.subParser('encodeBackslashEscapes',function(e,t,a){'use strict';return e=(e=(e=a.converter._dispatch('encodeBackslashEscapes.before',e,t,a)).replace(/\\(\\)/g,r.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('encodeBackslashEscapes.after',e,t,a)}),r.subParser('encodeCode',function(e,t,a){'use strict';return e=(e=a.converter._dispatch('encodeCode.before',e,t,a)).replace(/&/g,'&').replace(//g,'>').replace(/([*_{}\[\]\\=~-])/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('encodeCode.after',e,t,a)}),r.subParser('escapeSpecialCharsWithinTagAttributes',function(e,t,a){'use strict';return e=(e=(e=a.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before',e,t,a)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,'$1`').replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)})).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)}),e=a.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after',e,t,a)}),r.subParser('githubCodeBlocks',function(e,t,a){'use strict';return t.ghCodeBlocks?(e=a.converter._dispatch('githubCodeBlocks.before',e,t,a),e=(e=(e+='\xa80').replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,n,s,o){var i=t.omitExtraWLInCodeBlocks?'':'\n';return o=r.subParser('encodeCode')(o,t,a),o=(o=(o=r.subParser('detab')(o,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,''),o='
'+o+i+'
',o=r.subParser('hashBlock')(o,t,a),'\n\n\xa8G'+(a.ghCodeBlocks.push({text:e,codeblock:o})-1)+'G\n\n'})).replace(/\xa80/,''),a.converter._dispatch('githubCodeBlocks.after',e,t,a)):e}),r.subParser('hashBlock',function(e,r,t){'use strict';return e=(e=t.converter._dispatch('hashBlock.before',e,r,t)).replace(/(^\n+|\n+$)/g,''),e='\n\n\xa8K'+(t.gHtmlBlocks.push(e)-1)+'K\n\n',e=t.converter._dispatch('hashBlock.after',e,r,t)}),r.subParser('hashCodeTags',function(e,t,a){'use strict';e=a.converter._dispatch('hashCodeTags.before',e,t,a);return e=r.helper.replaceRecursiveRegExp(e,function(e,n,s,o){var i=s+r.subParser('encodeCode')(n,t,a)+o;return'\xa8C'+(a.gHtmlSpans.push(i)-1)+'C'},']*>','','gim'),e=a.converter._dispatch('hashCodeTags.after',e,t,a)}),r.subParser('hashElement',function(e,r,t){'use strict';return function(e,r){var a=r;return a=(a=(a=a.replace(/\n\n/g,'\n')).replace(/^\n/,'')).replace(/\n+$/g,''),a='\n\n\xa8K'+(t.gHtmlBlocks.push(a)-1)+'K\n\n'}}),r.subParser('hashHTMLBlocks',function(e,t,a){'use strict';e=a.converter._dispatch('hashHTMLBlocks.before',e,t,a);var n=['pre','div','h1','h2','h3','h4','h5','h6','blockquote','table','dl','ol','ul','script','noscript','form','fieldset','iframe','math','style','section','header','footer','nav','article','aside','address','audio','canvas','figure','hgroup','output','video','p'],s=function(e,r,t,n){var s=e;return-1!==t.search(/\bmarkdown\b/)&&(s=t+a.converter.makeHtml(r)+n),'\n\n\xa8K'+(a.gHtmlBlocks.push(s)-1)+'K\n\n'};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,r){return'<'+r+'>'}));for(var o=0;o]*>)','im'),c='<'+n[o]+'\\b[^>]*>',u='';-1!==(i=r.helper.regexIndexOf(e,l));){var d=r.helper.splitAtIndex(e,i),p=r.helper.replaceRecursiveRegExp(d[1],s,c,u,'im');if(p===d[1])break;e=d[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,r.subParser('hashElement')(e,t,a)),e=(e=r.helper.replaceRecursiveRegExp(e,function(e){return'\n\n\xa8K'+(a.gHtmlBlocks.push(e)-1)+'K\n\n'},'^ {0,3}\x3c!--','--\x3e','gm')).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,r.subParser('hashElement')(e,t,a)),e=a.converter._dispatch('hashHTMLBlocks.after',e,t,a)}),r.subParser('hashHTMLSpans',function(e,r,t){'use strict';function a(e){return'\xa8C'+(t.gHtmlSpans.push(e)-1)+'C'}return e=(e=(e=(e=(e=t.converter._dispatch('hashHTMLSpans.before',e,r,t)).replace(/<[^>]+?\/>/gi,function(e){return a(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return a(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return a(e)})).replace(/<[^>]+?>/gi,function(e){return a(e)}),e=t.converter._dispatch('hashHTMLSpans.after',e,r,t)}),r.subParser('unhashHTMLSpans',function(e,r,t){'use strict';e=t.converter._dispatch('unhashHTMLSpans.before',e,r,t);for(var a=0;a]*>\\s*]*>','^ {0,3}\\s*
','gim'),e=a.converter._dispatch('hashPreCodeTags.after',e,t,a)}),r.subParser('headers',function(e,t,a){'use strict';e=a.converter._dispatch('headers.before',e,t,a);var n=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),s=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(s,function(e,s){var o=r.subParser('spanGamut')(s,t,a),i=t.noHeaderId?'':' id="'+l(s)+'"',c=''+o+'';return r.subParser('hashBlock')(c,t,a)})).replace(o,function(e,s){var o=r.subParser('spanGamut')(s,t,a),i=t.noHeaderId?'':' id="'+l(s)+'"',c=n+1,u=''+o+'';return r.subParser('hashBlock')(u,t,a)});var i=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function l(e){var n,s;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,s=r.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?'section-':'',t.rawPrefixHeaderId||(n=s+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,'-').replace(/&/g,'').replace(/\xa8T/g,'').replace(/\xa8D/g,'').replace(/[&+$,\/:;=?@"#{}|^\xa8~\[\]`\\*)(%.!'<>]/g,'').toLowerCase():t.rawHeaderId?n.replace(/ /g,'-').replace(/&/g,'&').replace(/\xa8T/g,'\xa8').replace(/\xa8D/g,'$').replace(/["']/g,'-').toLowerCase():n.replace(/[^\w]/g,'').toLowerCase(),t.rawPrefixHeaderId&&(n=s+n),a.hashLinkCounts[n]?n=n+'-'+a.hashLinkCounts[n]++:a.hashLinkCounts[n]=1,n}return e=e.replace(i,function(e,s,o){var i=o;t.customizedHeaderId&&(i=o.replace(/\s?\{([^{]+?)}\s*$/,''));var c=r.subParser('spanGamut')(i,t,a),u=t.noHeaderId?'':' id="'+l(o)+'"',d=n-1+s.length,p=''+c+'';return r.subParser('hashBlock')(p,t,a)}),e=a.converter._dispatch('headers.after',e,t,a)}),r.subParser('horizontalRule',function(e,t,a){'use strict';e=a.converter._dispatch('horizontalRule.before',e,t,a);var n=r.subParser('hashBlock')('
',t,a);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=a.converter._dispatch('horizontalRule.after',e,t,a)}),r.subParser('images',function(e,t,a){'use strict';function n(e,t,n,s,o,i,l,c){var u=a.gUrls,d=a.gTitles,p=a.gDimensions;if(n=n.toLowerCase(),c||(c=''),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)s='';else if(''===s||null===s){if(''!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g,' ')),s='#'+n,r.helper.isUndefined(u[n]))return e;s=u[n],r.helper.isUndefined(d[n])||(c=d[n]),r.helper.isUndefined(p[n])||(o=p[n].width,i=p[n].height)}t=t.replace(/"/g,'"').replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback);var h=''+t+''}return e=(e=(e=(e=(e=(e=a.converter._dispatch('images.before',e,t,a)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,function(e,r,t,a,s,o,i,l){return n(e,r,t,a=a.replace(/\s/g,''),s,o,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,n)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n)).replace(/!\[([^\[\]]+)]()()()()()/g,n),e=a.converter._dispatch('images.after',e,t,a)}),r.subParser('italicsAndBold',function(e,r,t){'use strict';function a(e,r,t){return r+e+t}return e=t.converter._dispatch('italicsAndBold.before',e,r,t),e=r.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,r){return a(r,'','')})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return a(r,'','')})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,r){return a(r,'','')}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e}),e=r.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,r,t){return a(t,r+'','')}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,r){return/\S$/.test(r)?a(r,'',''):e}),e=t.converter._dispatch('italicsAndBold.after',e,r,t)}),r.subParser('lists',function(e,t,a){'use strict';function n(e,n){a.gListLevel++,e=e.replace(/\n{2,}$/,'\n');var s=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!\xa80)/.test(e+='\xa80');return t.disableForced4SpacesIndentedSublists&&(s=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(\xa80|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(s,function(e,n,s,i,l,c,u){u=u&&''!==u.trim();var d=r.subParser('outdent')(l,t,a),p='';return c&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(d=r.subParser('githubCodeBlocks')(d,t,a),d=r.subParser('blockGamut')(d,t,a)):(d=(d=r.subParser('lists')(d,t,a)).replace(/\n$/,''),d=(d=r.subParser('hashHTMLBlocks')(d,t,a)).replace(/\n\n+/g,'\n\n'),d=o?r.subParser('paragraphs')(d,t,a):r.subParser('spanGamut')(d,t,a)),d=''+(d=d.replace('\xa8A',''))+'\n'})).replace(/\xa80/g,''),a.gListLevel--,n&&(e=e.replace(/\s+$/,'')),e}function s(e,r){if('ol'===r){var t=e.match(/^ *(\d+)\./);if(t&&'1'!==t[1])return' start="'+t[1]+'"'}return''}function o(e,r,a){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,i=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l='ul'===r?o:i,c='';if(-1!==e.search(l))!(function t(u){var d=u.search(l),p=s(e,r);-1!==d?(c+='\n\n<'+r+p+'>\n'+n(u.slice(0,d),!!a)+'\n',l='ul'===(r='ul'===r?'ol':'ul')?o:i,t(u.slice(d))):c+='\n\n<'+r+p+'>\n'+n(u,!!a)+'\n'})(e);else{var u=s(e,r);c='\n\n<'+r+u+'>\n'+n(e,!!a)+'\n'}return c}return e=a.converter._dispatch('lists.before',e,t,a),e+='\xa80',e=(e=a.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t){return o(r,t.search(/[*+-]/g)>-1?'ul':'ol',!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(\xa80|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,r,t,a){return o(t,a.search(/[*+-]/g)>-1?'ul':'ol',!1)})).replace(/\xa80/,''),e=a.converter._dispatch('lists.after',e,t,a)}),r.subParser('metadata',function(e,r,t){'use strict';if(!r.metadata)return e;function a(e){t.metadata.raw=e,(e=(e=e.replace(/&/g,'&').replace(/"/g,'"')).replace(/\n {4}/g,' ')).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,r,a){return t.metadata.parsed[r]=a,''})}return e=(e=(e=(e=t.converter._dispatch('metadata.before',e,r,t)).replace(/^\s*\xab\xab\xab+(\S*?)\n([\s\S]+?)\n\xbb\xbb\xbb+\n/,function(e,r,t){return a(t),'\xa8M'})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,r,n){return r&&(t.metadata.format=r),a(n),'\xa8M'})).replace(/\xa8M/g,''),e=t.converter._dispatch('metadata.after',e,r,t)}),r.subParser('outdent',function(e,r,t){'use strict';return e=(e=(e=t.converter._dispatch('outdent.before',e,r,t)).replace(/^(\t|[ ]{1,4})/gm,'\xa80')).replace(/\xa80/g,''),e=t.converter._dispatch('outdent.after',e,r,t)}),r.subParser('paragraphs',function(e,t,a){'use strict';for(var n=(e=(e=(e=a.converter._dispatch('paragraphs.before',e,t,a)).replace(/^\n+/g,'')).replace(/\n+$/g,'')).split(/\n{2,}/g),s=[],o=n.length,i=0;i=0?s.push(l):l.search(/\S/)>=0&&(l=(l=r.subParser('spanGamut')(l,t,a)).replace(/^([ \t]*)/g,'

'),l+='

',s.push(l))}for(o=s.length,i=0;i]*>\s*]*>/.test(u)&&(d=!0)}s[i]=u}return e=(e=(e=s.join('\n')).replace(/^\n+/g,'')).replace(/\n+$/g,''),a.converter._dispatch('paragraphs.after',e,t,a)}),r.subParser('runExtension',function(e,r,t,a){'use strict';if(e.filter)r=e.filter(r,a.converter,t);else if(e.regex){var n=e.regex;n instanceof RegExp||(n=new RegExp(n,'g')),r=r.replace(n,e.replace)}return r}),r.subParser('spanGamut',function(e,t,a){'use strict';return e=a.converter._dispatch('spanGamut.before',e,t,a),e=r.subParser('codeSpans')(e,t,a),e=r.subParser('escapeSpecialCharsWithinTagAttributes')(e,t,a),e=r.subParser('encodeBackslashEscapes')(e,t,a),e=r.subParser('images')(e,t,a),e=r.subParser('anchors')(e,t,a),e=r.subParser('autoLinks')(e,t,a),e=r.subParser('simplifiedAutoLinks')(e,t,a),e=r.subParser('emoji')(e,t,a),e=r.subParser('underline')(e,t,a),e=r.subParser('italicsAndBold')(e,t,a),e=r.subParser('strikethrough')(e,t,a),e=r.subParser('ellipsis')(e,t,a),e=r.subParser('hashHTMLSpans')(e,t,a),e=r.subParser('encodeAmpsAndAngles')(e,t,a),t.simpleLineBreaks?/\n\n\xa8K/.test(e)||(e=e.replace(/\n+/g,'
\n')):e=e.replace(/ +\n/g,'
\n'),e=a.converter._dispatch('spanGamut.after',e,t,a)}),r.subParser('strikethrough',function(e,t,a){'use strict';function n(e){return t.simplifiedAutoLink&&(e=r.subParser('simplifiedAutoLinks')(e,t,a)),''+e+''}return t.strikethrough&&(e=(e=a.converter._dispatch('strikethrough.before',e,t,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,r){return n(r)}),e=a.converter._dispatch('strikethrough.after',e,t,a)),e}),r.subParser('stripLinkDefinitions',function(e,t,a){'use strict';var n=function(e,n,s,o,i,l,c){return n=n.toLowerCase(),s.match(/^data:.+?\/.+?;base64,/)?a.gUrls[n]=s.replace(/\s/g,''):a.gUrls[n]=r.subParser('encodeAmpsAndAngles')(s,t,a),l?l+c:(c&&(a.gTitles[n]=c.replace(/"|'/g,'"')),t.parseImgDimensions&&o&&i&&(a.gDimensions[n]={width:o,height:i}),'')};return e=(e=(e=(e+='\xa80').replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=\xa80)|(?=\n\[))/gm,n)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=\xa80))/gm,n)).replace(/\xa80/,'')}),r.subParser('tables',function(e,t,a){'use strict';if(!t.tables)return e;function n(e,n){return''+r.subParser('spanGamut')(e,t,a)+'\n'}function s(e,r){for(var t='\n\n\n',a=e.length,n=0;n\n\n\n',n=0;n\n';for(var s=0;s\n'}return t+='\n
\n'}function o(e){var o,i=e.split('\n');for(o=0;o'+(c=r.subParser('spanGamut')(c,t,a))+'\n'));for(o=0;o<_.length;++o){for(var b=[],w=0;w'+r+''})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,r){return''+r+''}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,r){return/\S$/.test(r)?''+r+'':e})).replace(/__(\S[\s\S]*?)__/g,function(e,r){return/\S$/.test(r)?''+r+'':e})).replace(/(_)/g,r.helper.escapeCharactersCallback),e=a.converter._dispatch('underline.after',e,t,a)):e}),r.subParser('unescapeSpecialChars',function(e,r,t){'use strict';return e=(e=t.converter._dispatch('unescapeSpecialChars.before',e,r,t)).replace(/\xa8E(\d+)E/g,function(e,r){var t=parseInt(r);return String.fromCharCode(t)}),e=t.converter._dispatch('unescapeSpecialChars.after',e,r,t)}),r.subParser('makeMarkdown.blockquote',function(e,t){'use strict';var a='';if(e.hasChildNodes())for(var n=e.childNodes,s=n.length,o=0;o ')}),r.subParser('makeMarkdown.codeBlock',function(e,r){'use strict';var t=e.getAttribute('language'),a=e.getAttribute('precodenum');return'```'+t+'\n'+r.preList[a]+'\n```'}),r.subParser('makeMarkdown.codeSpan',function(e){'use strict';return'`'+e.innerHTML+'`'}),r.subParser('makeMarkdown.emphasis',function(e,t){'use strict';var a='';if(e.hasChildNodes()){a+='*';for(var n=e.childNodes,s=n.length,o=0;o',e.hasAttribute('width')&&e.hasAttribute('height')&&(r+=' ='+e.getAttribute('width')+'x'+e.getAttribute('height')),e.hasAttribute('title')&&(r+=' "'+e.getAttribute('title')+'"'),r+=')'),r}),r.subParser('makeMarkdown.links',function(e,t){'use strict';var a='';if(e.hasChildNodes()&&e.hasAttribute('href')){var n=e.childNodes,s=n.length;a='[';for(var o=0;o',e.hasAttribute('title')&&(a+=' "'+e.getAttribute('title')+'"'),a+=')'}return a}),r.subParser('makeMarkdown.list',function(e,t,a){'use strict';var n='';if(!e.hasChildNodes())return'';for(var s=e.childNodes,o=s.length,i=e.getAttribute('start')||1,l=0;l'+r.preList[t]+''}),r.subParser('makeMarkdown.strikethrough',function(e,t){'use strict';var a='';if(e.hasChildNodes()){a+='~~';for(var n=e.childNodes,s=n.length,o=0;otr>th'),l=e.querySelectorAll('tbody>tr');for(a=0;a_&&(_=g)}for(a=0;a/g,'\\$1>')).replace(/^#/gm,'\\#')).replace(/^(\s*)([-=]{3,})(\s*)$/,'$1\\$2$3')).replace(/^( {0,3}\d+)\./gm,'$1\\.')).replace(/^( {0,3})([+-])/gm,'$1\\$2')).replace(/]([\s]*)\(/g,'\\]$1\\(')).replace(/^ {0,3}\[([\S \t]*?)]:/gm,'\\[$1]:')});'function'==typeof define&&define.amd?define(function(){'use strict';return r}):void 0!==n&&n.exports?n.exports=r:this.showdown=r}).call(this)},885,[]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),c=r(d[2]),s=r(d[3]),l=r(d[4]),o=r(d[5]),u=n(r(d[6])),y=(0,t.connect)(function(n){return{authenticating:(0,s.selectAuthenticationIsPending)(n),authToken:(0,s.selectAuthToken)(n),emailToVerify:(0,s.selectEmailToVerify)(n),emailAlreadyExists:(0,s.selectEmailAlreadyExists)(n),emailNewErrorMessage:(0,s.selectEmailNewErrorMessage)(n),emailNewPending:(0,s.selectEmailNewIsPending)(n),hasSyncedWallet:(0,s.selectHasSyncedWallet)(n),getSyncIsPending:(0,s.selectGetSyncIsPending)(n),language:(0,o.makeSelectClientSetting)(c.SETTINGS.LANGUAGE)(n),syncApplyErrorMessage:(0,s.selectSyncApplyErrorMessage)(n),syncApplyIsPending:(0,s.selectSyncApplyIsPending)(n),syncHash:(0,s.selectSyncHash)(n),syncData:(0,s.selectSyncData)(n),user:(0,s.selectUser)(n)}},function(n){return{addUserEmail:function(t){return n((0,s.doUserEmailNew)(t))},authenticate:function(t,c,l){return n((0,s.doAuthenticate)(t,c,l))},setClientSetting:function(t,c){return n((0,l.doSetClientSetting)(t,c))},syncApply:function(t,c,l){return n((0,s.doSyncApply)(t,c,l))},getSync:function(t,c){return n((0,s.doGetSync)(t,c))},checkSync:function(){return n((0,s.doCheckSync)())},notify:function(t){return n((0,c.doToast)(t))},resendVerificationEmail:function(t){return n((0,s.doUserResendVerificationEmail)(t))}}})(u.default);e.default=y},886,[3,378,401,408,721,409,887]); -__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])),s=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),_=r(d[7]),f=r(d[8]),h=r(d[9]),E=t(r(d[10])),S=t(r(d[11])),P=t(r(d[12])),p=t(r(d[13])),y=t(r(d[14])),A=t(r(d[15])),L=t(r(d[16])),T=t(r(d[17])),w=t(r(d[18])),R=t(r(d[19])),C=(function(t){function C(){var t,s;(0,n.default)(this,C);for(var u=arguments.length,c=new Array(u),h=0;h0?E({message:String(s),isError:!0}):(f.NativeModules.Firebase.track('email_added',{email:this.state.email}),this.showPage(P.default.FIRST_RUN_PAGE_EMAIL_VERIFY))),this.state.syncApplyStarted&&!u&&(o&&o.trim().length>0?(this.state.autoLoginTried&&E({message:__(o),isError:!0}),this.setState({autoLoginTried:!0,showBottomContainer:!0,syncApplyStarted:!1,syncApplyCompleted:!1})):(this.setState({syncApplyCompleted:!0}),f.NativeModules.UtilityModule.setSecureValue(P.default.KEY_WALLET_PASSWORD,this.state.walletPassword?this.state.walletPassword:''),S(P.default.SETTING_DEVICE_WALLET_SYNCED,!0),_.Lbry.wallet_status().then(function(t){t.is_locked?_.Lbry.wallet_unlock({password:n.state.walletPassword?n.state.walletPassword:''}).then(function(t){t?n.closeFinalPage():E({message:__('The wallet could not be unlocked at this time. Please restart the app.')})}):n.closeFinalPage()}))),this.checkVerificationStatus(c)}},{key:"launchSplashScreen",value:function(){var t=this.props.navigation,n=h.StackActions.reset({index:0,actions:[h.NavigationActions.navigate({routeName:'Splash',params:{launchUri:this.state.launchUrl}})]});setTimeout(function(){return t.dispatch(n)},1e3)}},{key:"handleEmailCollectPageContinue",value:function(){var t=this.props,n=t.notify,s=t.addUserEmail,l=this.state.email;if(!l||-1===l.indexOf('@'))return n({message:__('Please provide a valid email address to continue.')});s(l),this.setState({emailSubmitted:!0})}},{key:"showPage",value:function(t){C.pages.indexOf(t)>-1&&(this.setState({currentPage:t}),this.checkBottomContainer(t))}},{key:"closeFinalPage",value:function(){this.setState({syncApplyStarted:!1}),f.NativeModules.FirstRun&&f.NativeModules.FirstRun.firstRunCompleted(),this.launchSplashScreen()}},{key:"render",value:function(){var t=this.props,n=t.authenticate,s=t.authenticating,l=t.authToken,o=t.checkSync,u=t.emailAlreadyExists,_=(t.emailNewErrorMessage,t.emailNewPending),h=(t.emailToVerify,t.language,t.notify),E=t.hasSyncedWallet,R=t.getSyncIsPending,C=t.syncApplyIsPending,I=t.resendVerificationEmail,N=t.user,F=null;switch(this.state.currentPage){case P.default.FIRST_RUN_PAGE_WELCOME:F=c.default.createElement(y.default,{authenticating:s,authToken:l,authenticate:n,onWelcomePageLayout:this.onWelcomePageLayout});break;case P.default.FIRST_RUN_PAGE_EMAIL_COLLECT:F=c.default.createElement(A.default,{user:N,showNextPage:this.showNextPage,onEmailChanged:this.onEmailChanged,onEmailViewLayout:this.onEmailViewLayout});break;case P.default.FIRST_RUN_PAGE_EMAIL_VERIFY:F=c.default.createElement(L.default,{onEmailViewLayout:this.onEmailViewLayout,email:this.state.email,emailAlreadyExists:u,notify:h,resendVerificationEmail:I});break;case P.default.FIRST_RUN_PAGE_WALLET:F=c.default.createElement(p.default,{checkSync:o,hasSyncedWallet:E,getSyncIsPending:R,syncApplyIsPending:C,syncApplyStarted:this.state.syncApplyStarted,syncApplyCompleted:this.state.syncApplyCompleted,onWalletViewLayout:this.onWalletViewLayout,onPasswordChanged:this.onWalletPasswordChanged,autoLogin:this.autoLogin});break;case P.default.FIRST_RUN_PAGE_SKIP_ACCOUNT:F=c.default.createElement(T.default,{onSkipAccountViewLayout:this.onSkipAccountViewLayout,onSkipSwitchChanged:this.onSkipSwitchChanged})}return c.default.createElement(f.View,{style:w.default.screenContainer},F,this.state.currentPage&&this.state.showBottomContainer&&c.default.createElement(f.View,{style:w.default.bottomContainer},_&&c.default.createElement(f.ActivityIndicator,{size:"small",color:S.default.White,style:w.default.pageWaiting}),c.default.createElement(f.View,{style:w.default.buttonRow},[P.default.FIRST_RUN_PAGE_WELCOME,P.default.FIRST_RUN_PAGE_WALLET].indexOf(this.state.currentPage)>-1&&c.default.createElement(f.View,null),(P.default.FIRST_RUN_PAGE_SKIP_ACCOUNT===this.state.currentPage||P.default.FIRST_RUN_PAGE_EMAIL_VERIFY===this.state.currentPage)&&c.default.createElement(f.TouchableOpacity,{style:w.default.leftButton,onPress:this.handleLeftButtonPressed},c.default.createElement(f.Text,{style:w.default.buttonText},"\xab",' ',P.default.FIRST_RUN_PAGE_SKIP_ACCOUNT===this.state.currentPage?__('Setup account'):__('Change email'))),!_&&P.default.FIRST_RUN_PAGE_EMAIL_COLLECT===this.state.currentPage&&c.default.createElement(f.TouchableOpacity,{style:w.default.leftButton,onPress:this.handleLeftButtonPressed},c.default.createElement(f.Text,{style:w.default.smallLeftButtonText},__('No, thanks')," \xbb")),!_&&c.default.createElement(f.TouchableOpacity,{style:w.default.button,onPress:this.handleContinuePressed},P.default.FIRST_RUN_PAGE_SKIP_ACCOUNT===this.state.currentPage&&c.default.createElement(f.Text,{style:w.default.smallButtonText},__('Use LBRY')," \xbb"),P.default.FIRST_RUN_PAGE_SKIP_ACCOUNT!==this.state.currentPage&&P.default.FIRST_RUN_PAGE_EMAIL_VERIFY!==this.state.currentPage&&c.default.createElement(f.Text,{style:w.default.buttonText},[P.default.FIRST_RUN_PAGE_WALLET,P.default.FIRST_RUN_PAGE_WELCOME].includes(this.state.currentPage)?__('Use LBRY'):__('Continue'),' ',"\xbb")))))}}]),C})(c.default.PureComponent);C.pages=[P.default.FIRST_RUN_PAGE_WELCOME,P.default.FIRST_RUN_PAGE_EMAIL_COLLECT,P.default.FIRST_RUN_PAGE_EMAIL_VERIFY,P.default.FIRST_RUN_PAGE_WALLET,P.default.FIRST_RUN_PAGE_SKIP_ACCOUNT];var I=C;e.default=I},887,[3,4,5,6,8,9,12,401,16,411,723,674,493,888,907,908,909,910,906,882]); -__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 s=t(r(d[1])),l=t(r(d[2])),n=t(r(d[3])),o=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),h=r(d[7]),p=r(d[8]),f=r(d[9]),y=(t(r(d[10])),t(r(d[11]))),w=(t(r(d[12])),t(r(d[13]))),v=t(r(d[14])),P=(function(t){function P(){var t,l;(0,s.default)(this,P);for(var u=arguments.length,c=new Array(u),p=0;p0&&c.default.createElement(p.View,{style:w.default.passwordStrength},c.default.createElement(f.BarPasswordStrengthDisplay,{width:p.Dimensions.get('window').width-80,minLength:1,password:this.state.password})),c.default.createElement(p.Text,{style:w.default.infoParagraph},__('Note: for wallet security purposes, LBRY is unable to reset your password.')))):t=c.default.createElement(p.View,{style:w.default.centered},c.default.createElement(p.ActivityIndicator,{size:"large",color:y.default.White,style:w.default.waiting}),c.default.createElement(p.Text,{style:w.default.paragraph},__('Retrieving your account information...'))),c.default.createElement(p.View,{style:w.default.container},t)}}]),P})(c.default.PureComponent);e.default=P},888,[3,4,5,6,8,9,12,401,16,889,723,674,493,906,502]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BarPasswordStrengthDisplay",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"BoxPasswordStrengthDisplay",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"TextPasswordStrengthDisplay",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"CircularPasswordStrengthDisplay",{enumerable:!0,get:function(){return w.default}}),e.default=void 0;var n=l(r(d[2])),o=l(r(d[3])),u=l(r(d[4])),s=l(r(d[5])),p=l(r(d[6])),c=l(r(d[7])),f=l(r(d[8])),y=t(r(d[9])),b=r(d[10]),P=l(r(d[11])),h=l(r(d[12])),S=l(r(d[13])),O=l(r(d[14])),w=l(r(d[15])),j=l(r(d[16])),v=l(r(d[17])),T=l(r(d[18])),x=l(r(d[19])),E=r(d[20]);function W(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function D(t){for(var l=1;l3&&void 0!==arguments[3]?arguments[3]:{},v=0,l=0,c={};if(!t||t.length=o&&0!==L?c.Animated.timing(n,{toValue:W,duration:700}).start():c.Animated.timing(n,{toValue:0,duration:700}).start(),s.default.createElement(c.View,{key:B.label,style:[x.default.boxContainer,C,{backgroundColor:j,width:W,marginHorizontal:E}]},s.default.createElement(c.Animated.View,{style:[x.default.box,V,{width:n,backgroundColor:T}]}))})),p&&(n||0!==L)?s.default.createElement(c.Text,{style:[x.default.label,_,{color:P}]},B):null)}}]),l})(s.Component);S.defaultProps=w.BOX_PASSWORD_STRENGTH_DISPLAY,S.propTypes={password:p.default.string.isRequired,touched:p.default.bool,scoreLimit:p.default.number,variations:p.default.object,minLength:p.default.number,labelVisible:p.default.bool,levels:p.default.array,wrapperStyle:p.default.object,boxContainerStyle:p.default.object,boxStyle:p.default.object,labelStyle:p.default.object,boxColor:p.default.string,width:p.default.number,boxSpacing:p.default.number};var C=S;e.default=C},897,[1,3,4,5,6,8,9,12,16,67,891,894,898,895,896]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(t,n,u){var f=n.length;return(t-u*(f-2)-20)/f};e.default=t},898,[]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(r(d[1])),u=r(d[2]),o=l(r(d[3])),f=l(r(d[4])),s=l(r(d[5])),n=l(r(d[6])),b=r(d[7]);function c(l){var o=l.password,b=l.touched,c=l.scoreLimit,p=l.variations,v=l.minLength,y=l.labelVisible,S=l.levels,_=l.wrapperStyle,w=l.labelStyle,T=(0,f.default)(o,v,c,p),L=(0,s.default)(T,S),h=L.label,j=L.labelColor;return t.default.createElement(u.View,{style:[n.default.wrapper,_]},y&&(b||0!==T)?t.default.createElement(u.Text,{style:[n.default.label,w,{color:j}]},h):null)}c.defaultProps=b.TEXT_PASSWORD_STRENGTH_DISPLAY,c.propTypes={password:o.default.string.isRequired,touched:o.default.bool,scoreLimit:o.default.number,variations:o.default.object,minLength:o.default.number,labelVisible:o.default.bool,levels:o.default.array,wrapperStyle:o.default.object,labelStyle:o.default.object};var p=c;e.default=p},899,[3,12,16,67,891,894,895,896]); -__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])),o=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),b=r(d[6]);function p(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function f(t){for(var n=1;n0?parseFloat(t).toFixed(n<4?parseInt(n):4):parseInt(t)),Math.min(Math.max(u,l),o)}function p(t,l){var o=l;return isNaN(t)||(o=parseInt(t)),o}var b=n.Dimensions.get('window').width,y=n.StyleSheet.create({wrapper:{marginVertical:5,alignSelf:'center'},circleWrapper:{overflow:'hidden'},outerCircle:{justifyContent:'flex-end',alignItems:'center',overflow:'hidden',borderColor:'#ffffff',backgroundColor:'#e6e6e6'},halfCircle:{position:'absolute',top:0,left:0,borderTopRightRadius:0,borderBottomRightRadius:0},imageWrapper:{position:'absolute',left:0,zIndex:10},image:{resizeMode:'stretch',height:b-20,width:b-20},innerCircle:{overflow:'hidden',justifyContent:'flex-end',alignItems:'center',backgroundColor:'#ffffff',width:.6*b,height:b/2*.6,borderTopLeftRadius:b/2-10,borderTopRightRadius:b/2-10},labelWrapper:{marginVertical:5,alignItems:'center'},label:{fontSize:25,fontWeight:'bold'},labelNote:{fontSize:16,fontWeight:'bold'}}),h=(function(t){var l,u;function h(l){var o;return(o=t.call(this,l)||this).speedometerValue=new n.Animated.Value(l.defaultValue),o}return u=t,(l=h).prototype=Object.create(u.prototype),l.prototype.constructor=l,l.__proto__=u,h.prototype.render=function(){var t=this.props,l=t.value,u=t.size,h=t.minValue,C=t.maxValue,S=t.easeDuration,w=t.allowedDecimals,v=t.labels,V=t.needleImage,R=t.wrapperStyle,j=t.outerCircleStyle,W=t.halfCircleStyle,I=t.imageWrapperStyle,N=t.imageStyle,x=t.innerCircleStyle,E=t.labelWrapperStyle,T=t.labelStyle,B=t.labelNoteStyle,_=c(180,v),D=f(s(l,h,C,w),v,h,C);n.Animated.timing(this.speedometerValue,{toValue:s(l,h,C,w),duration:S,easing:n.Easing.linear}).start();var k=this.speedometerValue.interpolate({inputRange:[h,C],outputRange:['-90deg','90deg']}),z=p(u,b-20);return o.createElement(n.View,{style:[y.wrapper,{width:z,height:z/2},R]},o.createElement(n.View,{style:[y.outerCircle,{width:z,height:z/2,borderTopLeftRadius:z/2,borderTopRightRadius:z/2},j]},v.map(function(t,l){var u=90+l*_;return o.createElement(n.View,{key:t.name,style:[y.halfCircle,{backgroundColor:t.activeBarColor,width:z/2,height:z,borderRadius:z/2,transform:[{translateX:z/4},{rotate:u+"deg"},{translateX:z/4*-1}]},W]})}),o.createElement(n.Animated.View,{style:[y.imageWrapper,{top:-z/15,transform:[{rotate:k}]},I]},o.createElement(n.Image,{style:[y.image,{width:z,height:z},N],source:V})),o.createElement(n.View,{style:[y.innerCircle,{width:.6*z,height:z/2*.6,borderTopLeftRadius:z/2,borderTopRightRadius:z/2},x]})),o.createElement(n.View,{style:[y.labelWrapper,E]},o.createElement(n.Text,{style:[y.label,T]},s(l,h,C,w)),o.createElement(n.Text,{style:[y.labelNote,{color:D.labelColor},B]},D.name)))},h})(l.Component);h.defaultProps={defaultValue:50,minValue:0,maxValue:100,easeDuration:500,allowedDecimals:0,labels:[{name:'Pathetically weak',labelColor:'#ff2900',activeBarColor:'#ff2900'},{name:'Very weak',labelColor:'#ff5400',activeBarColor:'#ff5400'},{name:'So-so',labelColor:'#f4ab44',activeBarColor:'#f4ab44'},{name:'Fair',labelColor:'#f2cf1f',activeBarColor:'#f2cf1f'},{name:'Strong',labelColor:'#14eb6e',activeBarColor:'#14eb6e'},{name:'Unbelievably strong',labelColor:'#00ff6b',activeBarColor:'#00ff6b'}],needleImage:r(d[3]),wrapperStyle:{},outerCircleStyle:{},halfCircleStyle:{},imageWrapperStyle:{},imageStyle:{},innerCircleStyle:{},labelWrapperStyle:{},labelStyle:{},labelNoteStyle:{}},h.propTypes={value:u.number.isRequired,defaultValue:u.number,size:u.number,minValue:u.number,maxValue:u.number,easeDuration:u.number,allowedDecimals:u.number,labels:u.array,needleImage:u.any,wrapperStyle:u.object,outerCircleStyle:u.object,halfCircleStyle:u.object,imageWrapperStyle:u.object,imageStyle:u.object,innerCircleStyle:u.object,labelWrapperStyle:u.object,labelStyle:u.object,labelNoteStyle:u.object},e.default=h},901,[12,16,67,902]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-speedometer/images",width:599,height:599,scales:[1],hash:"23ec5fccab4fafcde90e7ec827daaafe",name:"speedometer-needle",type:"png"})},902,[174]); -__d(function(g,r,i,a,m,e,d){function t(t){return!('function'!=typeof t||!t.prototype.isReactComponent)}function n(t){return!('function'!=typeof t||!String(t).includes('return React.createElement'))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(o){return!(!t(o)&&!n(o))};e.default=o},903,[]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-password-strength-meter/src/images",width:30,height:30,scales:[1],hash:"d1f96575b5a0206f3c9d3a77cddf17cc",name:"eye-visible",type:"png"})},904,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-password-strength-meter/src/images",width:30,height:30,scales:[1],hash:"ecf1550279fff9eba0197af2734d047c",name:"eye-invisible",type:"png"})},905,[174]); -__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({row:{flexDirection:'row',marginLeft:32,marginRight:32},screenContainer:{flex:1,backgroundColor:o.default.LbryGreen},container:{flex:9,justifyContent:'center',backgroundColor:o.default.LbryGreen},title:{fontFamily:'Inter-SemiBold',fontSize:40,marginLeft:32,marginRight:32,marginBottom:32,color:o.default.White},paragraph:{fontFamily:'Inter-Regular',fontSize:18,lineHeight:24,marginLeft:32,marginRight:32,marginBottom:20,color:o.default.White},spacedParagraph:{fontFamily:'Inter-Regular',fontSize:18,lineHeight:28,marginLeft:32,marginRight:32,marginBottom:20,color:o.default.White},infoParagraph:{fontFamily:'Inter-Regular',fontSize:14,lineHeight:20,marginLeft:32,marginRight:32,marginBottom:20,color:o.default.White},confirmContainer:{marginTop:36},rowParagraph:{fontFamily:'Inter-Regular',fontSize:16,lineHeight:24,color:o.default.White,flex:.7},rowSwitch:{justifyContent:'flex-start',flex:.2,marginRight:8},emailInput:{fontFamily:'Inter-Regular',fontSize:24,lineHeight:24,marginLeft:32,marginRight:32,marginBottom:20,textAlign:'center'},passwordInput:{fontFamily:'Inter-Regular',fontSize:24,lineHeight:24,marginLeft:32,marginRight:32,marginBottom:20,textAlign:'center'},leftButton:{flex:1,alignSelf:'flex-end',paddingBottom:16,marginLeft:32,marginRight:32},bottomContainer:{flex:1},buttonRow:{flex:1,flexDirection:'row',justifyContent:'space-between'},actionButton:{backgroundColor:o.default.White,alignSelf:'center',fontFamily:'Inter-Regular',fontSize:12,paddingLeft:16,paddingRight:16},button:{alignSelf:'flex-end',padding:20,paddingLeft:32,paddingRight:32},buttonText:{fontFamily:'Inter-Regular',fontSize:18,color:o.default.White},smallButtonText:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.White,marginBottom:-2},smallLeftButtonText:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.White,marginBottom:6},waiting:{marginBottom:24},pageWaiting:{alignSelf:'center'},titleIcon:{marginTop:8},closeButton:{position:'absolute',top:8,right:8,width:48,height:48,borderRadius:48,justifyContent:'center'},closeButtonText:{alignSelf:'center',color:o.default.White,fontSize:16},closeButtonIcon:{alignSelf:'center',color:o.default.White},buttonContainer:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',width:'100%',paddingLeft:32,paddingRight:32,marginTop:16},verificationButton:{backgroundColor:o.default.White,paddingLeft:16,paddingRight:16},passwordStrength:{marginLeft:32,marginRight:32,marginBottom:48},passwordWarning:{marginLeft:32,marginRight:32,marginBottom:24},passwordWarningText:{color:o.default.NextLbryGreen,fontFamily:'Inter-Regular',fontSize:16},centered:{alignItems:'center'},centerInside:{flex:1,alignItems:'center'},nowrap:{flex:1,flexWrap:'nowrap'},passwordInputContainer:{marginLeft:32,marginRight:32},revealPasswordIcon:{position:'absolute',right:0,top:6,width:32,height:32,alignItems:'center',justifyContent:'center'},revealIcon:{color:o.default.White},tosLink:{textDecorationLine:'underline'},tosParagraph:{marginTop:48}});e.default=l},906,[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=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=r(d[7]),h=r(d[8]),p=t(r(d[9])),y=t(r(d[10])),T=t(r(d[11])),v=t(r(d[12])),_=t(r(d[13])),S=(function(t){function S(){var t,u;(0,n.default)(this,S);for(var s=arguments.length,c=new Array(s),f=0;f=S.MAX_STATUS_TRIES?(u.setState({authenticationFailed:!0}),h.NativeModules.Firebase.track('sdk_start_failed',null)):setTimeout(function(){u.startAuthenticating(),u.setState({statusTries:u.state.statusTries+1})},1e3)})}},{key:"render",value:function(){var t,n=this.props,u=n.authenticating,l=n.authToken,o=n.onWelcomePageLayout;return t=this.state.authenticationFailed?c.default.createElement(h.View,null,c.default.createElement(h.Text,{style:_.default.paragraph},__('The LBRY servers were unreachable at this time. Please check your Internet connection and then restart the app to try again.'))):!l||u?c.default.createElement(h.View,{style:_.default.centered},c.default.createElement(h.ActivityIndicator,{size:"large",color:y.default.White,style:_.default.waiting}),c.default.createElement(h.Text,{style:_.default.paragraph},__('Please wait while we get some things ready...'))):c.default.createElement(h.View,{onLayout:o},c.default.createElement(h.Text,{style:_.default.title},__('Welcome to LBRY.')),c.default.createElement(h.Text,{style:_.default.paragraph},__('LBRY is a community-controlled content platform where you can find and publish videos, music, books, and more.')),c.default.createElement(h.Text,{style:[_.default.infoParagraph,_.default.tosParagraph]},"By continuing, I agree to the",' ',c.default.createElement(v.default,{style:_.default.tosLink,text:'Terms of Service',href:'https://lbry.com/termsofservice'}),' ',"and confirm I am over the age of 13.")),c.default.createElement(h.View,{style:_.default.container},t)}}]),S})(c.default.PureComponent);S.MAX_STATUS_TRIES=60;var k=S;e.default=k},907,[3,4,5,6,8,9,12,401,16,723,674,493,498,906]); -__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])),o=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=(r(d[7]),r(d[8])),h=t(r(d[9])),p=t(r(d[10])),y=t(r(d[11])),v=t(r(d[12])),_=(function(t){function _(){var t,n;(0,l.default)(this,_);for(var s=arguments.length,c=new Array(s),f=0;f0&&l.setState({inviteLink:"https://lbry.tv/$/invite/"+t[0]}),n()},function(t){n()}),s()})},l.handleChannelChange=function(t){var n=l.props.channels,s=void 0===n?[]:n;if(s&&s.length>0){var u=s.filter(function(n){return n.name===t});if(u.length>0){var o=u[0];(0,b.logPublish)(o),l.setState({channelName:t,inviteLink:l.getLinkForChannel(o)})}}},l.getLinkForChannel=function(t){var n=t.canonical_url?(0,c.parseURI)(t.canonical_url):(0,c.parseURI)(t.permanent_url),l=n.claimId;return"https://lbry.tv/$/invite/"+n.claimName+":"+l},l.handleInviteEmailChange=function(t){l.setState({email:t})},l.handleInvitePress=function(){var t=l.props,n=t.inviteNew,s=t.notify,u=l.state.email;if(!u||-1===u.indexOf('@'))return s({message:__('Please enter a valid email address to send an invite to.'),isError:!0});n(u)},l.handleInviteLinkPress=function(){var t=l.props.notify;v.Clipboard.setString(l.state.inviteLink),t({message:__('Invite link copied')})},l}return(0,o.default)(C,t),(0,l.default)(C,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove()}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=this.props,l=n.isPending,s=n.notify,u=t.channels,o=void 0===u?[]:u,f=t.isPending,c=t.errorMessage,v=this.state.email;if(!this.state.channelName&&o&&o.length>0){var h=o[0];(0,b.logPublish)(h),this.setState({channelName:h.name,inviteLink:this.getLinkForChannel(h)})}l&&!f&&(c&&c.trim().length>0?s({message:c,isError:!0}):(s({message:__(v+" was invited to the LBRY party!")}),this.setState({email:null})))}},{key:"render",value:function(){var t=this.props,n=t.fetchingInvitees,l=(t.user,t.navigation),s=(t.notify,t.isPending),u=t.invitees,o=this.state,c=o.email,b=(o.inviteLink,u&&u.length>0);return f.default.createElement(v.View,{style:w.default.container},f.default.createElement(p.default,{navigation:l}),f.default.createElement(v.ScrollView,{style:w.default.scrollContainer},f.default.createElement(v.TouchableOpacity,{style:w.default.rewardDriverCard,onPress:function(){return l.navigate('Rewards')}},f.default.createElement(y.default,{name:"award",size:16,style:w.default.rewardDriverIcon}),f.default.createElement(v.Text,{style:w.default.rewardDriverText},__('Earn rewards for inviting your friends.'))),f.default.createElement(v.View,{style:w.default.card},f.default.createElement(v.Text,{style:w.default.title},__('Invite Link')),f.default.createElement(v.Text,{style:w.default.text},__('Share this link with friends (or enemies) and get 20 LBC when they join lbry.tv')),f.default.createElement(v.Text,{style:w.default.subTitle},__('Your invite link')),f.default.createElement(v.View,{style:w.default.row},f.default.createElement(v.Text,{selectable:!0,numberOfLines:1,style:w.default.inviteLink,onPress:this.handleInviteLinkPress},this.state.inviteLink),f.default.createElement(_.default,{icon:'clipboard',style:w.default.button,onPress:this.handleInviteLinkPress})),f.default.createElement(v.Text,{style:w.default.customizeTitle},__('Customize invite link')),f.default.createElement(E.default,{showAnonymous:!1,channelName:this.state.channelName,onChannelChange:this.handleChannelChange})),f.default.createElement(v.View,{style:w.default.card},f.default.createElement(v.Text,{style:w.default.title},__('Invite by Email')),f.default.createElement(v.Text,{style:w.default.text},__('Invite someone you know by email and earn 20 LBC when they join lbry.tv.')),f.default.createElement(v.TextInput,{style:w.default.emailInput,editable:!s,value:this.state.email,onChangeText:this.handleInviteEmailChange,placeholder:__('imaginary@friend.com'),underlineColorAndroid:h.default.NextLbryGreen}),f.default.createElement(v.View,{style:w.default.rightRow},s&&f.default.createElement(v.ActivityIndicator,{size:'small',color:h.default.NextLbryGreen,style:w.default.loading}),f.default.createElement(_.default,{disabled:!c||-1===c.indexOf('@')||s,style:w.default.button,text:__('Invite'),onPress:this.handleInvitePress}))),f.default.createElement(v.View,{style:[w.default.card,w.default.lastCard]},f.default.createElement(v.View,{style:w.default.titleRow},f.default.createElement(v.Text,{style:w.default.titleCol},__('Invite History')),n&&f.default.createElement(v.ActivityIndicator,{size:'small',color:h.default.NextLbryGreen})),f.default.createElement(v.Text,{style:w.default.text},__('Earn 20 LBC for inviting a friend, an enemy, a frenemy, or an enefriend. Everyone needs content freedom.')),f.default.createElement(v.View,{style:w.default.invitees},b&&f.default.createElement(v.View,{style:w.default.inviteesHeader},f.default.createElement(v.Text,{style:w.default.emailHeader,numberOfLines:1},__('Email')),f.default.createElement(v.Text,{style:w.default.rewardHeader,numberOfLines:1},__('Reward'))),b&&u.map(function(t){return f.default.createElement(v.View,{key:t.email,style:w.default.inviteeItem},f.default.createElement(v.Text,{style:w.default.inviteeEmail,numberOfLines:1},t.email),f.default.createElement(v.Text,{style:w.default.rewardStatus,numberOfLines:1},t.invite_reward_claimed&&__('Claimed'),!t.invite_reward_claimed&&(t.invite_reward_claimable?__('Claimable'):__('Unclaimable'))))})))))}}]),C})(f.default.PureComponent);e.default=C},912,[3,4,5,6,8,9,12,401,16,674,493,502,498,679,913,500,916,919,705,921,410]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),c=r(d[2]),l=r(d[3]),u=n(r(d[4])),o=(0,t.connect)(function(n){return{channels:(0,c.selectMyChannelClaims)(n),fetchingChannels:(0,c.selectFetchingMyChannels)(n),balance:(0,c.selectBalance)(n)}},function(n){return{notify:function(t){return n((0,c.doToast)(t))},createChannel:function(t,l){return n((0,c.doCreateChannel)(t,l))},fetchChannelListMine:function(){return n((0,c.doFetchChannelListMine)(1,99999,!0))},getSync:function(t,c){return n((0,l.doGetSync)(t,c))}}})(u.default);e.default=o},913,[3,378,401,408,914]); -__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])),u=t(r(d[4])),h=t(r(d[5])),c=t(r(d[6])),o=r(d[7]),C=r(d[8]),f=r(d[9]),E=t(r(d[10])),_=t(r(d[11])),y=t(r(d[12])),p=t(r(d[13])),N=t(r(d[14])),w=t(r(d[15])),v=(function(t){function v(t){var l;return(0,n.default)(this,v),(l=(0,s.default)(this,(0,u.default)(v).call(this,t))).handleCreateCancel=function(){l.setState({showCreateChannel:!1,newChannelName:'',newChannelBid:.1})},l.handlePickerValueChange=function(t,n){y.default.ITEM_CREATE_A_CHANNEL===t?l.setState({showCreateChannel:!0}):(l.handleCreateCancel(),l.handleChannelChange(y.default.ITEM_ANONYMOUS===t?o.CLAIM_VALUES.CHANNEL_ANONYMOUS:t)),l.setState({currentSelectedValue:t})},l.handleChannelChange=function(t){var n=l.props.onChannelChange,s=l.state.newChannelBid;t===o.CLAIM_VALUES.CHANNEL_NEW?(l.setState({addingChannel:!0}),n&&n(t),l.handleNewChannelBidChange(s)):(l.setState({addingChannel:!1}),n&&n(t))},l.handleNewChannelNameChange=function(t){l.props.notify;var n=t,s='';n.startsWith('@')&&(n=n.slice(1)),n.trim().length>0&&!(0,o.isNameValid)(n)?s=__('Your channel name contains invalid characters.'):l.channelExists(n)&&(s=__('You have already created a channel with the same name.')),l.setState({newChannelName:n,newChannelNameError:s})},l.handleNewChannelBidChange=function(t){var n,s=l.props,u=s.balance,h=s.notify;t<=0?n=__('Please enter a deposit above 0'):t===u?n=__('Please decrease your deposit to account for transaction fees'):t>u&&(n=__('Deposit cannot be higher than your balance')),h({message:n}),l.setState({newChannelBid:t,newChannelBidError:n})},l.handleCreateChannelClick=function(){var t=l.props,n=t.balance,s=t.createChannel,u=t.getSync,h=t.onChannelChange,c=t.notify,E=l.state,_=E.newChannelBid,p=E.newChannelName;if(0!==p.trim().length&&(0,o.isNameValid)(p.substr(1),!1))if(l.channelExists(p))c({message:__('You have already created a channel with the same name.')});else if(_>n)c({message:__('Deposit cannot be higher than your balance')});else{var N="@"+p;l.setState({creatingChannel:!0,createChannelError:void 0});s(N,_).then(function(t){l.setState({creatingChannel:!1,addingChannel:!1,currentSelectedValue:N,showCreateChannel:!1}),(0,f.logPublish)(t),h&&h(N),C.NativeModules.UtilityModule.getSecureValue(y.default.KEY_WALLET_PASSWORD).then(function(t){return u(t)})},function(){c({message:__('Unable to create channel due to an internal error.')}),l.setState({creatingChannel:!1})})}else c({message:__('Your channel name contains invalid characters.')})},l.channelExists=function(t){var n=l.props.channels,s=void 0===n?[]:n;if(s){var u=s,h=Array.isArray(u),c=0;for(u=h?u:u["function"==typeof Symbol&&"function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var o;if(h){if(c>=u.length)break;o=u[c++]}else{if((c=u.next()).done)break;o=c.value}var C=o;if(t.toLowerCase()===C.name.toLowerCase()||("@"+t).toLowerCase()===C.name.toLowerCase())return!0}}return!1},l.state={creditsInputFocused:!1,currentSelectedValue:y.default.ITEM_ANONYMOUS,newChannelName:'',newChannelBid:.1,addingChannel:!1,creatingChannel:!1,newChannelNameError:'',newChannelBidError:'',createChannelError:void 0,showCreateChannel:!1},l}return(0,h.default)(v,t),(0,l.default)(v,[{key:"componentDidMount",value:function(){var t=this.props,n=t.channels,l=void 0===n?[]:n,s=t.channelName,u=t.fetchChannelListMine,h=t.fetchingChannels;l&&0!==l.length||h||u(),this.setState({currentSelectedValue:s})}},{key:"componentWillReceiveProps",value:function(t){var n=this.props,l=n.channels,s=void 0===l?[]:l,u=n.channelName,h=t.channels,c=void 0===h?[]:h,o=t.channelName;c&&c.length!==s.length&&o!==this.state.currentSelectedValue&&this.setState({currentSelectedValue:u}),o!==u&&this.setState({currentSelectedValue:o})}},{key:"render",value:function(){var t=this,n=(this.state.addingChannel||this.props.channel,this.props),l=n.balance,s=n.enabled,u=(n.fetchingChannels,n.channels),h=void 0===u?[]:u,f=(n.showAnonymous?[y.default.ITEM_ANONYMOUS,y.default.ITEM_CREATE_A_CHANNEL]:[y.default.ITEM_CREATE_A_CHANNEL]).concat(h?h.map(function(t){return t.name}):[]),v=this.state,S=v.newChannelName,b=v.newChannelNameError,A=v.newChannelBid,T=(v.newChannelBidError,v.creatingChannel),I=(v.createChannelError,v.addingChannel,v.showCreateChannel);return c.default.createElement(C.View,{style:w.default.container},c.default.createElement(C.Picker,{enabled:s,selectedValue:this.state.currentSelectedValue,style:w.default.channelPicker,itemStyle:w.default.channelPickerItem,onValueChange:this.handlePickerValueChange},f.map(function(t){return c.default.createElement(C.Picker.Item,{label:[y.default.ITEM_ANONYMOUS,y.default.ITEM_CREATE_A_CHANNEL].includes(t)?__(t):t,value:t,key:t})})),I&&c.default.createElement(C.View,{style:w.default.createChannelContainer},c.default.createElement(C.View,{style:w.default.channelInputContainer},c.default.createElement(C.Text,{style:w.default.channelAt},"@"),c.default.createElement(C.TextInput,{style:w.default.channelNameInput,value:this.state.newChannelName,onChangeText:this.handleNewChannelNameChange,placeholder:__('Channel name'),underlineColorAndroid:_.default.NextLbryGreen})),b.length>0&&c.default.createElement(C.Text,{style:w.default.inlineError},b),c.default.createElement(C.View,{style:w.default.bidRow},c.default.createElement(C.Text,{style:w.default.label},__('Deposit')),c.default.createElement(C.TextInput,{style:w.default.bidAmountInput,value:String(A),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}),c.default.createElement(C.Text,{style:w.default.currency},"LBC"),c.default.createElement(C.View,{style:w.default.balance},this.state.creditsInputFocused&&c.default.createElement(p.default,{name:"coins",size:12}),this.state.creditsInputFocused&&c.default.createElement(C.Text,{style:w.default.balanceText},(0,o.formatCredits)(parseFloat(l),1,!0)))),c.default.createElement(C.Text,{style:w.default.helpText},__('This LBC remains yours. It is a deposit to reserve the name and can be undone at any time.')),c.default.createElement(C.View,{style:w.default.buttonContainer},T&&c.default.createElement(C.ActivityIndicator,{size:'small',color:_.default.NextLbryGreen}),!T&&c.default.createElement(C.View,{style:w.default.buttons},c.default.createElement(N.default,{style:w.default.cancelLink,text:__('Cancel'),onPress:this.handleCreateCancel}),c.default.createElement(E.default,{style:w.default.createButton,disabled:!(S.trim().length>0&&A>0),text:__('Create'),onPress:this.handleCreateChannelClick})))))}}]),v})(c.default.PureComponent);e.default=v},914,[3,4,5,6,8,9,12,401,16,410,679,674,493,502,498,915]); -__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]),l=t(r(d[2])),o=n.StyleSheet.create({container:{flex:1},channelPicker:{fontFamily:'Inter-Regular',fontSize:16,height:52,width:'100%'},channelPickerItem:{fontFamily:'Inter-Regular',fontSize:16},bidRow:{flex:1,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},createChannelContainer:{flex:1,marginLeft:8,marginRight:8},channelAt:{position:'absolute',left:4,top:13,fontFamily:'Inter-Regular',fontSize:16},buttonContainer:{flex:1,marginTop:16,justifyContent:'flex-end'},buttons:{flex:1,flexDirection:'row',alignItems:'center',justifyContent:'flex-end'},cancelLink:{marginRight:16},createButton:{backgroundColor:l.default.NextLbryGreen},inlineError:{fontFamily:'Inter-Regular',fontSize:12,color:l.default.Red,marginTop:2}});e.default=o},915,[3,16,674]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),o=r(d[2]),u=r(d[3]),c=n(r(d[4])),l=(0,t.connect)(function(){var n=(0,u.makeSelectIsRewardClaimPending)(),t=(0,u.makeSelectClaimRewardError)();return function(o,u){return{errorMessage:t(o,u),isPending:n(o,u)}}},function(n){return{claimReward:function(t){return n((0,u.doClaimRewardType)(t.reward_type,!0))},clearError:function(t){return n((0,u.doClaimRewardClearError)(t))},notify:function(t){return n((0,o.doToast)(t))}}})(c.default);e.default=l},916,[3,378,401,408,917]); -__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])),s=t(r(d[3])),u=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),f=r(d[7]),y=t(r(d[8])),w=t(r(d[9])),p=t(r(d[10])),h=t(r(d[11])),_=(function(t){function _(){var t,n;(0,l.default)(this,_);for(var o=arguments.length,c=new Array(o),f=0;f0)return t.reward_amount}return'?'},n}return(0,o.default)(_,t),(0,n.default)(_,[{key:"componentWillReceiveProps",value:function(t){var l=t.errorMessage,n=t.isPending,s=this.props,u=s.clearError,o=s.notify,c=s.reward;this.state.claimStarted&&!n&&(l&&l.trim().length>0?(o({message:l}),u(c)):o({message:__('Reward successfully claimed!')}),this.setState({claimStarted:!1}))}},{key:"render",value:function(){var t=this,l=this.props,n=l.canClaim,s=l.isPending,u=(l.onClaimPress,l.reward),o=!!u.transaction_id;return c.default.createElement(f.TouchableOpacity,{style:[h.default.rewardCard,h.default.row],onPress:function(){s||o||t.onClaimPress()}},c.default.createElement(f.View,{style:h.default.leftCol},!s&&c.default.createElement(f.TouchableOpacity,{onPress:function(){o||t.onClaimPress()}},o&&c.default.createElement(w.default,{name:o?'check-circle':'circle',style:o?h.default.claimed:n?h.default.unclaimed:h.default.disabled,size:20})),s&&c.default.createElement(f.ActivityIndicator,{size:"small",color:y.default.NextLbryGreen})),c.default.createElement(f.View,{style:h.default.midCol},c.default.createElement(f.Text,{style:h.default.rewardTitle},u.reward_title),c.default.createElement(f.Text,{style:h.default.rewardDescription},u.reward_description),o&&c.default.createElement(p.default,{style:h.default.link,href:"https://explorer.lbry.com/tx/"+u.transaction_id,text:u.transaction_id.substring(0,7),error:__('The transaction URL could not be opened')})),c.default.createElement(f.View,{style:h.default.rightCol},c.default.createElement(f.Text,{style:h.default.rewardAmount},this.getDisplayAmount()),c.default.createElement(f.Text,{style:h.default.rewardCurrency},"LBC")))}}]),_})(c.default.PureComponent);e.default=_},917,[3,4,5,6,8,9,12,16,674,502,498,918]); -__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},row:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},actionButton:{backgroundColor:o.default.LbryGreen,alignSelf:'flex-start',paddingTop:9,paddingBottom:9,paddingLeft:24,paddingRight:24},busyContainer:{flex:1,marginTop:32,marginBottom:16,alignItems:'center',justifyContent:'center',flexDirection:'row'},enrollContainer:{flex:1,marginTop:60,padding:24,backgroundColor:o.default.LbryGreen},onboarding:{marginTop:36},enrollDescText:{fontFamily:'Inter-Regular',fontSize:18,lineHeight:28,color:o.default.White},rewardsContainer:{flex:1},scrollContainer:{marginTop:60},scrollContentContainer:{paddingBottom:16},card:{backgroundColor:o.default.White,marginTop:16,marginLeft:16,marginRight:16,padding:16},rewardCard:{backgroundColor:o.default.White,marginTop:16,marginLeft:16,marginRight:16,paddingTop:16,paddingBottom:16},text:{fontFamily:'Inter-Regular',fontSize:16,lineHeight:24},infoText:{fontFamily:'Inter-Regular',fontSize:18,marginLeft:12},title:{fontFamily:'Inter-Regular',fontSize:22,marginBottom:6,color:o.default.LbryGreen},subtitle:{fontFamily:'Inter-Regular',fontSize:18,marginBottom:6,color:o.default.LbryGreen},subcardText:{fontFamily:'Inter-Regular',fontSize:15,lineHeight:20,marginLeft:2,marginRight:2},subcardTextInput:{fontFamily:'Inter-Regular',fontSize:16,marginTop:2,marginBottom:2},topMarginSmall:{marginTop:8},topMarginMedium:{marginTop:16},bottomMarginSmall:{marginBottom:8},bottomMarginMedium:{marginBottom:16},bottomMarginLarge:{marginBottom:24},leftRightMargin:{marginLeft:32,marginRight:32},link:{color:o.default.LbryGreen,fontFamily:'Inter-Regular',fontSize:14},textLink:{color:o.default.White},underlinedTextLink:{color:o.default.White,textDecorationLine:'underline'},greenLink:{color:o.default.LbryGreen},leftCol:{width:'15%',alignItems:'center',paddingLeft:6},midCol:{width:'65%'},rightCol:{width:'18%',alignItems:'center'},rewardAmount:{fontFamily:'Inter-Regular',fontSize:26,textAlign:'center'},rewardCurrency:{fontFamily:'Inter-Regular'},rewardTitle:{fontFamily:'Inter-Regular',fontSize:16,color:o.default.LbryGreen,marginBottom:4},rewardDescription:{fontFamily:'Inter-Regular',fontSize:14,lineHeight:18,marginBottom:4},claimed:{color:o.default.LbryGreen},disabled:{color:o.default.LightGrey},subcard:{borderTopColor:o.default.VeryLightGrey,borderTopWidth:1,paddingTop:16,paddingLeft:8,paddingRight:8,marginTop:16,marginLeft:-8,marginRight:-8},summaryContainer:{backgroundColor:o.default.LbryGreen,padding:16,marginTop:16,marginLeft:16,marginRight:16},summaryRow:{flexDirection:'row'},summaryText:{color:o.default.White,fontFamily:'Inter-Regular',fontSize:28,marginLeft:12},phoneVerificationContainer:{paddingLeft:4,paddingRight:4},phoneInput:{marginLeft:32,marginRight:32},phoneInputText:{fontFamily:'Inter-Regular',fontSize:16,letterSpacing:1.3,color:o.default.White},verifyingText:{fontFamily:'Inter-Regular',fontSize:14,marginLeft:12,alignSelf:'flex-start'},verificationCodeInput:{fontFamily:'Inter-Regular',color:o.default.White,fontSize:24,letterSpacing:12,marginLeft:32,marginRight:32},loading:{alignSelf:'flex-start'},smsPermissionContainer:{marginBottom:32},buttonRow:{width:'100%',position:'absolute',alignItems:'center',left:24,bottom:24,flexDirection:'row',justifyContent:'space-between'},notInterestedLink:{fontSize:14,fontFamily:'Inter-Regular',color:o.default.White},learnMoreLink:{fontFamily:'Inter-Regular',color:o.default.White,textDecorationLine:'underline'},enrollButton:{backgroundColor:o.default.White,paddingLeft:16,paddingRight:16},customCodeInput:{fontFamily:'Inter-Regular',fontSize:16,letterSpacing:1.3,marginTop:-8,marginBottom:4},redeemButton:{alignSelf:'flex-end',backgroundColor:o.default.LbryGreen},failureFootnote:{marginTop:32,marginLeft:32,marginRight:32},buttonContainer:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',width:'100%',paddingLeft:32,paddingRight:32,marginTop:8},verificationTitle:{fontSize:32,color:o.default.White,fontFamily:'Inter-Regular',marginLeft:32,marginRight:32,marginBottom:24},verificationButton:{backgroundColor:o.default.White,paddingLeft:16,paddingRight:16},verificationLink:{color:o.default.White,fontSize:14},paragraphText:{fontFamily:'Inter-Regular',color:o.default.White,fontSize:12,lineHeight:16},filterHeader:{flexDirection:'row',alignItems:'center',marginTop:16,marginLeft:16,marginRight:16,padding:16,backgroundColor:o.default.White},filterLink:{fontFamily:'Inter-Regular',fontSize:14,marginRight:24},activeFilterLink:{fontFamily:'Inter-SemiBold'}});e.default=l},918,[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]),u=r(d[2]),c=r(d[3]),o=r(d[4]),f=t(r(d[5])),l=(0,n.connect)(function(t){return{unclaimedRewardAmount:(0,o.selectUnclaimedRewardValue)(t),fetching:(0,o.selectFetchingRewards)(t),user:(0,o.selectUser)(t)}},function(t){return{fetchRewards:function(){return t((0,o.doRewardList)())},notify:function(n){return t((0,u.doToast)(n))},setClientSetting:function(n,u){return t((0,c.doSetClientSetting)(n,u))}}})(f.default);e.default=l},919,[3,378,401,721,408,920]); -__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])),o=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),f=t(r(d[6])),c=r(d[7]),_=(t(r(d[8])),t(r(d[9]))),v=t(r(d[10])),y=t(r(d[11])),h=t(r(d[12])),p=t(r(d[13])),E=t(r(d[14])),w=(function(t){function w(){var t,l;(0,n.default)(this,w);for(var s=arguments.length,f=new Array(s),_=0;_0?b[0]:'en',license:_,licenseUrl:S,otherLicenseDescription:N,name:o,currency:p&&p.currency?p.currency:'LBC',price:p&&p.amount?p.amount:0,priceSet:p&&p.amount>0,tags:P&&P.length>0?P:[],title:T,currentThumbnailUri:L,uploadedThumbnailUri:L,vanityUrlSet:!1},function(){u.handleNameChange(o),n&&u.handleChannelChange(n),l(v.default.DRAWER_ROUTE_PUBLISH_FORM)})},u.handleModePressed=function(){u.setState({advancedMode:!u.state.advancedMode})},u.handlePublishPressed=function(){var t=u.props,n=t.balance,l=t.myClaims,s=t.notify,o=t.publish,c=t.updatePublishForm,h=u.state,f=h.editMode,p=h.bid,b=h.channelName,E=h.currentMedia,S=h.currency,P=h.description,C=h.language,T=h.license,_=h.licenseUrl,N=h.otherLicenseDescription,L=h.name,I=h.price,U=h.priceSet,w=h.tags,k=h.title,O=h.uploadedThumbnailUri,R=h.uri;if(n0&&l.some(function(t){return t.name.toLowerCase()===L.trim().toLowerCase()})?s({message:__('You have already published to the specified content address. Please enter a new address.'),isError:!0}):E||f?(c({filePath:E?E.filePath:null,bid:p||.1,title:k||'',thumbnail:O||'',description:P||'',language:C,license:T,licenseType:T,licenseUrl:_,otherLicenseDescription:N,name:L||void 0,contentIsFree:!U,fee:{currency:S,amount:I},uri:R||void 0,channel:y.CLAIM_VALUES.CHANNEL_ANONYMOUS===b?null:b,isStillEditing:!1,tags:w.map(function(t){return{name:t}})}),u.setState({publishStarted:!0},function(){return o(u.handlePublishSuccess,u.handlePublishFailure)})):s({message:__('No file selected. Please select a video or take a photo before publishing.'),isError:!0}):s({message:__('Your content address contains invalid characters.'),isError:!0}):s({message:__('Please specify an address where people can find your content.'),isError:!0}):s({message:__('Please provide a title'),isError:!0})},u.handlePublishSuccess=function(t){var n=u.props,l=n.clearPublishFormState,s=n.navigation,o=n.notify,c=n.pendingPublishSuccess,h=t.outputs[0];(0,A.logPublish)(h),c(h),o({message:__('Your content was successfully published. It will be available in a few mintues.')}),l(),u.setState({publishStarted:!1}),s.navigate({routeName:v.default.DRAWER_ROUTE_PUBLISHES,params:{publishSuccess:!0}})},u.handlePublishFailure=function(t){(0,u.props.notify)({message:__('Your content could not be published at this time. Please try again.')}),u.setState({publishStarted:!1})},u.formatNameForTitle=function(t){return t.replace(new RegExp(y.regexInvalidURI.source,y.regexInvalidURI.flags+'g'),'-').toLowerCase()},u.handleRecordVideoPressed=function(){u.state.showCameraOverlay||u.setState({canUseCamera:!0,showCameraOverlay:!0,videoRecordingMode:!0})},u.handleTakePhotoPressed=function(){u.state.showCameraOverlay||u.setState({canUseCamera:!0,showCameraOverlay:!0,videoRecordingMode:!1})},u.handleUploadPressed=function(){u.state.documentPickerOpen||u.setState({documentPickerOpen:!0},function(){p.NativeModules.UtilityModule.openDocumentPicker('*/*')})},u.handleThumbnailUploadSuccess=function(t){var n=t.url,l=u.props.updatePublishFormState;u.setState({uploadThumbnailStarted:!1,currentThumbnailUri:n,uploadedThumbnailUri:n}),l({currentThumbnailUri:n,uploadedThumbnailUri:n})},u.handleThumbnailUploadFailure=function(t){var n=u.props.notify;u.setState({uploadThumbnailStarted:!1}),n({message:__('The thumbnail could not be uploaded. Please try again.')})},u.onFilePicked=function(t){var n=u.props.notify;if(t.path&&t.path.length>0){var l="file://"+t.path;u.state.documentPickerOpen?u.setState({documentPickerOpen:!1,thumbnailImagePickerOpen:!1},function(){var n={id:-1,filePath:t.path,duration:0};u.setCurrentMedia(n)}):u.state.thumbnailImagePickerOpen&&u.setState({documentPickerOpen:!1,thumbnailImagePickerOpen:!1,uploadThumbnailStarted:!0,currentThumbnailUri:l},function(){(0,A.uploadImageAsset)(l,u.handleThumbnailUploadSuccess,u.handleThumbnailUploadFailure)})}else n({message:__('The path could not be determined. Please try a different file.'),isError:!0})},u.onPickerCanceled=function(){u.setState({documentPickerOpen:!1,thumbnailImagePickerOpen:!1})},u.handleCloseCameraPressed=function(){u.setState({showCameraOverlay:!1,videoRecordingMode:!1})},u.getFilePathFromUri=function(t){return t.substring('file://'.length)},u.handleCameraActionPressed=function(){var t=u.props.pushDrawerStack;if(u.state.videoRecordingMode)if(u.state.recordingVideo)u.camera.stopRecording();else{u.setState({recordingVideo:!0});var n={quality:E.RNCamera.Constants.VideoQuality['1080p']};u.camera.recordAsync(n).then(function(n){u.setState({recordingVideo:!1});var l={id:-1,filePath:u.getFilePathFromUri(n.uri),type:'video/mp4',duration:0};u.setCurrentMedia(l),u.setState({currentThumbnailUri:null,updatingThumbnailUri:!1,publishStarted:!1,currentPhase:v.default.PHASE_DETAILS,showCameraOverlay:!1,videoRecordingMode:!1,recordingVideo:!1},function(){return t(v.default.DRAWER_ROUTE_PUBLISH_FORM)})})}else{u.camera.takePictureAsync({quality:.7}).then(function(n){var l={id:-1,filePath:u.getFilePathFromUri(n.uri),name:(0,S.generateCombination)(2,' ',!0),type:'image/jpg',duration:0};u.setCurrentMedia(l),u.setState({currentPhase:v.default.PHASE_DETAILS,currentThumbnailUri:null,publishStarted:!1,updatingThumbnailUri:!1,showCameraOverlay:!1,videoRecordingMode:!1},function(){return t(v.default.DRAWER_ROUTE_PUBLISH)})})}},u.handleSwitchCameraPressed=function(){var t=u.state.cameraType;u.setState({cameraType:t===E.RNCamera.Constants.Type.back?E.RNCamera.Constants.Type.front:E.RNCamera.Constants.Type.back})},u.getRandomFileId=function(){return'_'+(Math.floor(18*Math.random())+1)},u.handlePublishAgainPressed=function(){u.showSelector()},u.handleBidChange=function(t){(0,u.props.updatePublishFormState)({bid:t}),u.setState({bid:t})},u.handlePriceChange=function(t){(0,u.props.updatePublishFormState)({price:t}),u.setState({price:t})},u.handleNameChange=function(t,n){var l=u.props,s=l.notify;if((0,l.updatePublishFormState)({name:t}),u.setState({name:t}),n&&u.setState({hasEditedContentAddress:!0}),(0,y.isNameValid)(t,!1)){var o=u.getNewUri(t,u.state.channelName);u.setState({uri:o})}else s({message:__('Your content address contains invalid characters')})},u.handleChannelChange=function(t){var n=u.props.updatePublishFormState,l=u.state.name,s=u.getNewUri(l,t);n({uri:s,channelName:t,selectedChannel:t}),u.setState({uri:s,channelName:t,selectedChannel:t})},u.handleAddTag=function(t){if(t&&u.state.canPublish&&!u.state.publishStarted){var n=u.props,l=n.notify,s=n.updatePublishFormState,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.canPublish&&!u.state.publishStarted){var n=u.props.updatePublishFormState,l=u.state.tags.slice(),s=l.indexOf(t.toLowerCase());s>-1&&(l.splice(s,1),n({tags:l}),u.setState({tags:l}))}},u.updateThumbnailUriForMedia=function(t){if(!u.state.updatingThumbnailUri){var n=u.props.notify,l=u.state.thumbnailPath;if(u.setState({updatingThumbnailUri:!0}),t.type){var s=t.type.substring(0,5),o=u.getRandomFileId();if('video'===s&&t.id>-1){var c="file://"+l+"/"+t.id+".png";u.setState({currentThumbnailUri:c,updatingThumbnailUri:!1}),u.state.uploadedThumbnailUri||u.setState({uploadThumbnailStarted:!0},function(){return(0,A.uploadImageAsset)(u.getFilePathFromUri(c),u.handleThumbnailUploadSuccess,u.handleThumbnailUploadFailure)})}else if('image'===s||'video'===s){('image'===s?p.NativeModules.Gallery.createImageThumbnail:p.NativeModules.Gallery.createVideoThumbnail)(o,t.filePath).then(function(t){u.setState({currentThumbnailUri:"file://"+t,updatingThumbnailUri:!1}),u.state.uploadedThumbnailUri||u.setState({uploadThumbnailStarted:!0},function(){return(0,A.uploadImageAsset)(t,u.handleThumbnailUploadSuccess,u.handleThumbnailUploadFailure)})}).catch(function(t){n({message:t}),u.setState({updatingThumbnailUri:!1})})}}}},u.handleTitleChange=function(t){(0,u.props.updatePublishFormState)({title:t}),u.setState({title:t}),u.state.editMode||u.state.hasEditedContentAddress||u.setState({name:u.formatNameForTitle(t)},function(){u.handleNameChange(u.state.name)})},u.handleCurrencyValueChange=function(t){(0,u.props.updatePublishFormState)({currency:t}),u.setState({currency:t})},u.handleDescriptionChange=function(t){(0,u.props.updatePublishFormState)({description:t}),u.setState({description:t})},u.handleLanguageValueChange=function(t){(0,u.props.updatePublishFormState)({language:t}),u.setState({language:t})},u.handleLicenseValueChange=function(t){var n=u.props.updatePublishFormState,l=[y.LICENSES.COPYRIGHT,y.LICENSES.OTHER].includes(t)?u.state.otherLicenseDescription:'',s=y.LICENSES.CC_LICENSES.reduce(function(n,l){return'object'==typeof n&&(n=t===n.value?l.url:''),t===l.value&&(n=l.url),n});n({otherLicenseDescription:l,license:t,licenseUrl:s}),u.setState({otherLicenseDescription:l,license:t,licenseUrl:s})},u.handleChangeLicenseDescription=function(t){(0,u.props.updatePublishFormState)({otherLicenseDescription:t}),u.setState({otherLicenseDescription:t})},u.handleThumbnailPressed=function(){var t=u.props.notify;u.state.thumbnailImagePickerOpen||u.state.uploadThumbnailStarted?u.state.uploadThumbnailStarted&&t({message:__('A thumbnail is already being uploaded. Please wait for the upload to finish.')}):u.setState({thumbnailImagePickerOpen:!0},function(){p.NativeModules.UtilityModule.openDocumentPicker('image/*')})},u.handleStoragePermissionGranted=function(){u.loadVideos(),p.NativeModules.UtilityModule.getDownloadDirectory().then(function(t){y.Lbry.settings_set({key:'download_dir',value:t}).then(function(){}).catch(function(){})})},u.handleStoragePermissionRefused=function(){(0,u.props.notify)({message:__('Content from your device cannot be published because the permission to read storage was not granted.'),isError:!0})},u}return(0,h.default)(n,t),(0,u.default)(n,[{key:"componentWillMount",value:function(){this.props.navigation;p.DeviceEventEmitter.addListener('onGalleryThumbnailChecked',this.handleGalleryThumbnailChecked),p.DeviceEventEmitter.addListener('onAllGalleryThumbnailsChecked',this.handleAllGalleryThumbnailsChecked),p.DeviceEventEmitter.addListener('onDocumentPickerFilePicked',this.onFilePicked),p.DeviceEventEmitter.addListener('onDocumentPickerCanceled',this.onPickerCanceled)}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove(),p.DeviceEventEmitter.removeListener('onGalleryThumbnailChecked',this.handleGalleryThumbnailChecked),p.DeviceEventEmitter.removeListener('onAllGalleryThumbnailsChecked',this.handleAllGalleryThumbnailsChecked),p.DeviceEventEmitter.removeListener('onDocumentPickerFilePicked',this.onFilePicked),p.DeviceEventEmitter.removeListener('onDocumentPickerCanceled',this.onPickerCanceled),p.DeviceEventEmitter.removeListener('onStoragePermissionGranted',this.handleStoragePermissionGranted),p.DeviceEventEmitter.removeListener('onStoragePermissionRefused',this.handleStoragePermissionRefused)}},{key:"getNewUri",value:function(t,n){var l,s=this.props.resolveUri,u=n===y.CLAIM_VALUES.CHANNEL_ANONYMOUS||n===y.CLAIM_VALUES.CHANNEL_NEW?'':n;try{l=(0,y.buildURI)({claimName:t,channelName:u})}catch(t){}if(l){if(u)s((0,y.buildURI)({claimName:t}));return s(l),l}return''}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=this.props,l=n.currentRoute,s=n.drawerStack,u=n.popDrawerStack,o=n.setPlayerVisible,c=n.navigation,h=(n.notify,n.updatePublishFormState,t.currentRoute),f=t.drawerStack;t.publishFormValues;v.default.DRAWER_ROUTE_PUBLISH===h&&h!==l&&this.onComponentFocused(),this.state.currentPhase===v.default.PHASE_DETAILS&&s[s.length-1].route===v.default.DRAWER_ROUTE_PUBLISH_FORM&&f[f.length-1].route===v.default.DRAWER_ROUTE_PUBLISH&&(this.showSelector(),!this.state.hasReturnedBack&&this.state.returnUrl&&this.setState({hasReturnedBack:!0},function(){(0,A.navigateBack)(c,f,u,o)}))}},{key:"setCurrentMedia",value:function(t){var n=this,l=this.props,s=l.pushDrawerStack,u=l.updatePublishFormState,o=(0,S.generateCombination)(2,' ',!0),c=this.state.hasEditedContentAddress?this.state.name:this.formatNameForTitle(o);u({currentMedia:t,name:c}),this.setState({publishStarted:!1,currentMedia:t,title:null,name:c,currentPhase:v.default.PHASE_DETAILS},function(){n.handleNameChange(n.state.name),s(v.default.DRAWER_ROUTE_PUBLISH_FORM)})}},{key:"showSelector",value:function(){var t=this.props,n=t.clearPublishFormState,l=t.updatePublishForm;this.setState({publishStarted:!1,documentPickerOpen:!1,editMode:!1,vanityUrl:null,currentMedia:null,currentThumbnailUri:null,currentPhase:v.default.PHASE_SELECTOR,updatingThumbnailUri:!1,uploadThumbnailStarted:!1,advancedMode:!1,anonymous:!0,channelName:y.CLAIM_VALUES.CHANNEL_ANONYMOUS,priceSet:!1,hasEditedContentAddress:!1,bid:.1,description:null,title:null,language:'en',license:y.LICENSES.NONE,licenseUrl:'',otherLicenseDescription:'',name:null,price:0,uri:null,tags:[],selectedChannel:null,uploadedThumbnailUri:null,thumbnailImagePickerOpen:!1,vanityUrlSet:!1},function(){n(),l({thumbnail:null})})}},{key:"render",value:function(){var t,n=this,l=this.props,s=l.balance,u=l.navigation,o=l.notify,c=(l.publishFormValues,this.state),h=c.allThumbnailsChecked,S=c.canUseCamera,M=c.showCameraOverlay,V=c.currentPhase,x=c.checkedThumbnails,D=c.loadingVideos,B=c.storagePermissionRequired,G=c.thumbnailPath,H=c.videos;if(v.default.PHASE_SELECTOR===V)t=f.default.createElement(p.View,{style:R.default.gallerySelector},f.default.createElement(p.View,{style:R.default.actionsView},S&&!M&&f.default.createElement(E.RNCamera,{captureAudio:!1,style:R.default.cameraPreview,type:E.RNCamera.Constants.Type.back}),f.default.createElement(p.View,{style:R.default.actionsSubView},f.default.createElement(p.TouchableOpacity,{style:[R.default.record,S?R.default.transparentBackground:R.default.actionBackground],onPress:this.handleRecordVideoPressed},f.default.createElement(N.default,{name:"video",size:48,color:T.default.White}),f.default.createElement(p.Text,{style:R.default.actionText},__('Record'))),f.default.createElement(p.View,{style:R.default.subActions},f.default.createElement(p.TouchableOpacity,{style:[R.default.photo,S?R.default.transparentBackground:R.default.actionBackground],onPress:this.handleTakePhotoPressed},f.default.createElement(N.default,{name:"camera",size:48,color:T.default.White}),f.default.createElement(p.Text,{style:R.default.actionText},__('Take a photo'))),f.default.createElement(p.TouchableOpacity,{style:R.default.upload,onPress:this.handleUploadPressed},f.default.createElement(N.default,{name:"file-upload",size:48,color:T.default.White}),f.default.createElement(p.Text,{style:R.default.actionText},__('Upload a file')))))),B&&f.default.createElement(p.View,{style:R.default.relativeCentered},f.default.createElement(p.Text,{style:R.default.noVideos},__('The storage permission is required to be able to display and publish your videos.'))),!B&&(D||!h)&&f.default.createElement(p.View,{style:R.default.loadingView},f.default.createElement(p.ActivityIndicator,{size:"small",color:T.default.NextLbryGreen}),f.default.createElement(p.Text,{style:R.default.loadingText},__('Please wait while we load your videos...'))),!B&&!D&&(!H||0===H.length)&&f.default.createElement(p.View,{style:R.default.relativeCentered},f.default.createElement(p.Text,{style:R.default.noVideos},__('We could not find any videos on your device. Take a photo or record a video to get started.'))),H&&G&&h&&f.default.createElement(b.FlatGrid,{style:R.default.galleryGrid,initialNumToRender:18,maxToRenderPerBatch:24,removeClippedSubviews:!0,itemDimension:134,spacing:2,items:H.filter(function(t){return x.includes(t.id)}),renderItem:function(t){var l=t.item,s=t.index;return f.default.createElement(p.TouchableOpacity,{key:s,onPress:function(){return n.setCurrentMedia(l)}},f.default.createElement(_.default,{style:R.default.galleryGridImage,resizeMode:_.default.resizeMode.cover,source:{uri:"file://"+G+"/"+l.id+".png"}}))}}));else if(v.default.PHASE_DETAILS===this.state.currentPhase&&(this.state.editMode||this.state.currentMedia)){var W=this.state,z=W.currentMedia,Y=W.currentThumbnailUri;Y||this.state.editMode||this.updateThumbnailUriForMedia(z),t=f.default.createElement(p.ScrollView,{ref:function(t){return n.scrollView=t},style:R.default.publishDetails},f.default.createElement(p.TouchableOpacity,{style:R.default.mainThumbnailContainer,onPress:this.handleThumbnailPressed},f.default.createElement(_.default,{style:R.default.mainThumbnail,resizeMode:_.default.resizeMode.contain,source:{uri:Y}}),f.default.createElement(p.View,{style:R.default.thumbnailEditOverlay},f.default.createElement(N.default,{name:'edit',style:R.default.editIcon})),this.state.uploadThumbnailStarted&&f.default.createElement(p.View,{style:R.default.thumbnailUploadContainer},f.default.createElement(p.ActivityIndicator,{size:'small',color:T.default.NextLbryGreen}),f.default.createElement(p.Text,{style:R.default.thumbnailUploadText},__('Uploading thumbnail...')))),s0)&&f.default.createElement(p.Text,{style:R.default.textInputTitle},__('Title')),f.default.createElement(p.TextInput,{editable:this.state.canPublish&&!this.state.publishStarted,placeholder:this.state.titleFocused?'':__('Title'),style:R.default.inputText,value:this.state.title,numberOfLines:1,underlineColorAndroid:T.default.NextLbryGreen,onChangeText:this.handleTitleChange,onFocus:function(){return n.setState({titleFocused:!0})},onBlur:function(){return n.setState({titleFocused:!1})}})),f.default.createElement(p.View,{style:R.default.textInputLayout},(this.state.descriptionFocused||null!=this.state.description&&this.state.description.trim().length>0)&&f.default.createElement(p.Text,{style:R.default.textInputTitle},__('Description')),f.default.createElement(p.TextInput,{editable:this.state.canPublish&&!this.state.publishStarted,multiline:!0,placeholder:this.state.descriptionFocused?'':__('Description'),style:R.default.inputText,value:this.state.description,underlineColorAndroid:T.default.NextLbryGreen,onChangeText:this.handleDescriptionChange,onFocus:function(){return n.setState({descriptionFocused:!0})},onBlur:function(){return n.setState({descriptionFocused:!1})}}))),f.default.createElement(p.View,{style:R.default.card},f.default.createElement(p.Text,{style:R.default.cardTitle},__('Tags')),f.default.createElement(p.View,{style:R.default.tagList},this.state.tags&&this.state.tags.map(function(t){return f.default.createElement(w.default,{key:t,name:t,type:'remove',style:R.default.tag,onRemovePress:n.handleRemoveTag})})),f.default.createElement(k.default,{handleAddTag:this.handleAddTag,selectedTags:this.state.tags,showNsfwTags:!0})),f.default.createElement(p.View,{style:R.default.card},f.default.createElement(p.Text,{style:R.default.cardTitle},__('Channel')),f.default.createElement(C.default,{enabled:this.state.canPublish&&!this.state.publishStarted,channelName:this.state.channelName,onChannelChange:this.handleChannelChange})),f.default.createElement(p.View,{style:R.default.card},f.default.createElement(p.View,{style:R.default.titleRow},f.default.createElement(p.Text,{style:R.default.cardTitle},__('Price')),f.default.createElement(p.View,{style:R.default.switchTitleRow},f.default.createElement(p.Switch,{value:this.state.priceSet,onValueChange:function(t){return n.setState({priceSet:t})}}))),!this.state.priceSet&&f.default.createElement(p.Text,{style:R.default.cardText},__('Your content will be free. Press the toggle to set a price.')),this.state.priceSet&&f.default.createElement(p.View,{style:[R.default.inputRow,R.default.priceInputRow]},f.default.createElement(p.TextInput,{editable:this.state.canPublish&&!this.state.publishStarted,placeholder:'0.00',keyboardType:'number-pad',style:R.default.priceInput,underlineColorAndroid:T.default.NextLbryGreen,numberOfLines:1,value:String(this.state.price),onChangeText:this.handlePriceChange}),f.default.createElement(p.Picker,{style:R.default.currencyPicker,enabled:this.state.canPublish&&!this.state.publishStarted,selectedValue:this.state.currency,itemStyle:R.default.pickerItem,onValueChange:this.handleCurrencyValueChange},f.default.createElement(p.Picker.Item,{label:'LBC',value:'LBC'}),f.default.createElement(p.Picker.Item,{label:'USD',value:'USD'})))),f.default.createElement(p.View,{style:R.default.card},f.default.createElement(p.Text,{style:R.default.cardTitle},__('Content address')),f.default.createElement(p.Text,{style:R.default.helpText},__('The address where people can find your content (ex. lbry://myvideo). '),this.state.editMode&&__('You cannot change this address while editing your content. If you wish to use a new address, please republish the content.')),f.default.createElement(p.TextInput,{editable:!this.state.editMode&&this.state.canPublish&&!this.state.publishStarted,placeholder:'lbry://',style:R.default.inputText,underlineColorAndroid:T.default.NextLbryGreen,numberOfLines:1,value:this.state.name,onChangeText:function(t){return n.handleNameChange(t,!0)}}),f.default.createElement(p.View,{style:R.default.inputRow},f.default.createElement(p.TextInput,{editable:this.state.canPublish&&!this.state.publishStarted,placeholder:'0.00',style:R.default.priceInput,underlineColorAndroid:T.default.NextLbryGreen,numberOfLines:1,keyboardType:'numeric',value:String(this.state.bid),onChangeText:this.handleBidChange,onFocus:function(){return n.setState({creditsInputFocused:!0})},onBlur:function(){return n.setState({creditsInputFocused:!1})}}),f.default.createElement(p.Text,{style:R.default.currency},"LBC"),f.default.createElement(p.View,{style:R.default.balance},this.state.creditsInputFocused&&f.default.createElement(N.default,{name:"coins",size:12}),this.state.creditsInputFocused&&f.default.createElement(p.Text,{style:R.default.balanceText},(0,y.formatCredits)(parseFloat(s),1,!0)))),f.default.createElement(p.Text,{style:R.default.helpText},__('This LBC remains yours and the deposit can be undone at any time.'))),this.state.advancedMode&&f.default.createElement(p.View,{style:R.default.card},f.default.createElement(p.Text,{style:R.default.cardTitle},__('Additional Options')),f.default.createElement(p.View,null,f.default.createElement(p.Text,{style:R.default.cardText},__('Language')),f.default.createElement(p.Picker,{enabled:this.state.canPublish&&!this.state.publishStarted,selectedValue:this.state.language,style:R.default.picker,itemStyle:R.default.pickerItem,onValueChange:this.handleLanguageValueChange},Object.keys(F).map(function(t){return f.default.createElement(p.Picker.Item,{label:__(F[t]),value:t,key:t})}))),f.default.createElement(p.View,null,f.default.createElement(p.Text,{style:R.default.cardText},__('License')),f.default.createElement(p.Picker,{enabled:this.state.canPublish&&!this.state.publishStarted,selectedValue:this.state.license,style:R.default.picker,itemStyle:R.default.pickerItem,onValueChange:this.handleLicenseValueChange},f.default.createElement(p.Picker.Item,{label:__('None'),value:y.LICENSES.NONE,key:y.LICENSES.NONE}),f.default.createElement(p.Picker.Item,{label:__('Public Domain'),value:y.LICENSES.PUBLIC_DOMAIN,key:y.LICENSES.PUBLIC_DOMAIN}),y.LICENSES.CC_LICENSES.map(function(t){var n=t.value;t.url;return f.default.createElement(p.Picker.Item,{label:n,value:n,key:n})}),f.default.createElement(p.Picker.Item,{label:__('Copyrighted...'),value:y.LICENSES.COPYRIGHT,key:y.LICENSES.COPYRIGHT}),f.default.createElement(p.Picker.Item,{label:__('Other...'),value:y.LICENSES.OTHER,key:y.LICENSES.OTHER})),[y.LICENSES.COPYRIGHT,y.LICENSES.OTHER].includes(this.state.license)&&f.default.createElement(p.TextInput,{editable:this.state.canPublish&&!this.state.publishStarted,placeholder:__('License description'),style:R.default.inputText,underlineColorAndroid:T.default.NextLbryGreen,numberOfLines:1,value:this.state.otherLicenseDescription,onChangeText:this.handleChangeLicenseDescription}))),f.default.createElement(p.View,{style:R.default.toggleContainer},f.default.createElement(I.default,{text:this.state.advancedMode?__('Hide extra fields'):__('Show extra fields'),onPress:this.handleModePressed,style:R.default.modeLink})),f.default.createElement(p.View,{style:R.default.actionButtons},this.state.publishStarted&&f.default.createElement(p.View,{style:R.default.progress},f.default.createElement(p.ActivityIndicator,{size:'small',color:T.default.NextLbryGreen})),!this.state.publishStarted&&f.default.createElement(I.default,{style:R.default.cancelLink,text:__('Cancel'),onPress:function(){return n.showSelector()}}),!this.state.publishStarted&&f.default.createElement(p.View,{style:R.default.rightActionButtons},f.default.createElement(P.default,{style:R.default.publishButton,disabled:this.state.uploadThumbnailStarted,text:this.state.editMode?__('Save changes'):__('Publish'),onPress:this.handlePublishPressed}))))}else v.default.PHASE_PUBLISH===this.state.currentPhase&&(t=f.default.createElement(p.ScrollView,{style:R.default.publishDetails},f.default.createElement(p.View,{style:R.default.successContainer},f.default.createElement(p.Text,{style:R.default.successTitle},__('Success!')),f.default.createElement(p.Text,{style:R.default.successText},__('Congratulations! Your content was successfully uploaded.')),f.default.createElement(p.View,{style:R.default.successRow},f.default.createElement(I.default,{style:R.default.successUrl,text:this.state.uri,onPress:function(){return(0,A.navigateToUri)(u,n.state.uri)}}),f.default.createElement(p.TouchableOpacity,{onPress:function(){p.Clipboard.setString(n.state.uri),o({message:__('Copied.')})}},f.default.createElement(N.default,{name:"clipboard",size:24,color:T.default.LbryGreen}))),f.default.createElement(p.Text,{style:R.default.successText},__('Your content will be live in a few minutes. In the mean time, feel free to publish more content or explore the app.'))),f.default.createElement(p.View,{style:R.default.actionButtons},f.default.createElement(P.default,{style:R.default.publishButton,text:__('Publish again'),onPress:this.handlePublishAgainPressed}))));return f.default.createElement(p.View,{style:R.default.container},f.default.createElement(O.default,{navigation:u}),t,!1,this.state.showCameraOverlay&&f.default.createElement(p.View,{style:R.default.cameraOverlay},this.state.canUseCamera&&f.default.createElement(E.RNCamera,{captureAudio:this.state.videoRecordingMode,style:R.default.fullCamera,ref:function(t){n.camera=t},type:this.state.cameraType,flashMode:E.RNCamera.Constants.FlashMode.off,androidCameraPermissionOptions:{title:__('Camera'),message:__('Please grant access to make use of your camera'),buttonPositive:__('OK'),buttonNegative:__('Cancel')},androidRecordAudioPermissionOptions:{title:__('Audio'),message:__('Please grant access to record audio'),buttonPositive:__('OK'),buttonNegative:__('Cancel')},notAuthorizedView:f.default.createElement(p.View,{style:R.default.fullCentered},f.default.createElement(p.Text,{style:R.default.cameraInfo},__('Camera not authorized')))}),f.default.createElement(p.View,{style:[R.default.cameraControls,this.state.videoRecordingMode?R.default.transparentControls:R.default.opaqueControls]},f.default.createElement(p.View,{style:R.default.controlsRow},f.default.createElement(p.TouchableOpacity,{onPress:this.handleCloseCameraPressed,style:R.default.backButtonControl},f.default.createElement(N.default,{name:"arrow-left",size:28,color:T.default.White})),f.default.createElement(p.View,{style:R.default.mainControlsRow},f.default.createElement(p.TouchableOpacity,{style:R.default.switchCameraToggle,onPress:this.handleSwitchCameraPressed},f.default.createElement(L.default,{name:"rotate-cw",size:36,color:T.default.White})),f.default.createElement(p.TouchableOpacity,{onPress:this.handleCameraActionPressed},f.default.createElement(p.View,{style:R.default.cameraAction},f.default.createElement(L.default,{style:R.default.cameraActionIcon,name:"circle",size:72,color:T.default.White}),this.state.recordingVideo&&f.default.createElement(N.default,{style:R.default.recordingIcon,name:"circle",solid:!0,size:44,color:T.default.Red}))))))))}}]),n})(f.default.PureComponent);e.default=x},923,[3,50,31,4,5,6,8,9,12,16,924,401,928,931,882,679,913,674,493,693,694,502,934,498,936,700,703,705,688,410]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FlatGrid",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"SectionGrid",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"SuperGridSectionList",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),f=n.default;e.default=f},924,[3,925,927]); -__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])),o=t(r(d[2])),s=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),c=t(r(d[7])),y=t(r(d[8])),p=t(r(d[9])),h=t(r(d[10])),w=r(d[11]),v=t(r(d[12])),D=r(d[13]);function b(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function O(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return n===[]?[]:n.reduce(function(n,o){0===n.length&&n.push([]);var c=n[n.length-1];return c.length0,selectedUris:u,selectedClaimsMap:s})},l.handleSelectItem=function(t,n){l.addOrRemoveItem(t,n)},l.handleItemLongPress=function(t,n){l.addOrRemoveItem(t,n)},l.onExitSelectionMode=function(){l.setState({selectionMode:!1,selectedUris:[],selectedClaimsMap:{}})},l.onEditActionPressed=function(){var t=l.props.navigation,n=l.state,o=n.selectedClaimsMap[n.selectedUris[0]];l.onExitSelectionMode(),t.navigate({routeName:E.default.DRAWER_ROUTE_PUBLISH,params:{editMode:!0,claimToEdit:o}})},l.onDeleteActionPressed=function(){var t=l.props.abandonClaim,n=l.state.selectedClaimsMap;h.Alert.alert(__('Unpublish'),__('Are you sure you want to unpublish the selected content?'),[{text:__('No')},{text:__('Yes'),onPress:function(){Object.keys(n).forEach(function(o){var l=n[o],s=l.txid,u=l.nout;t(s,u)}),l.onExitSelectionMode()}}],{cancelable:!0})},l}return(0,c.default)(C,t),(0,l.default)(C,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove()}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=t.currentRoute,o=this.props.currentRoute;E.default.DRAWER_ROUTE_PUBLISHES===n&&n!==o&&this.onComponentFocused()}},{key:"render",value:function(){var t=this,n=this.props,o=n.fetching,l=n.navigation,s=n.uris,u=this.state,c=u.selectionMode,C=u.selectedUris;return f.default.createElement(h.View,{style:M.default.container},f.default.createElement(b.default,{allowEdit:!0,navigation:l,selectionMode:c,selectedItemCount:C.length,onDeleteActionPressed:this.onDeleteActionPressed,onEditActionPressed:this.onEditActionPressed,onExitSelectionMode:this.onExitSelectionMode}),o&&f.default.createElement(h.View,{style:M.default.centered},f.default.createElement(h.ActivityIndicator,{size:'large',color:v.default.NextLbryGreen})),!o&&(!s||0===s.length)&&f.default.createElement(_.default,{message:__('It looks like you have not\npublished any content to LBRY yet.'),buttonText:__('Publish something new'),onButtonPress:function(){return l.navigate({routeName:E.default.DRAWER_ROUTE_PUBLISH})}}),s&&s.length>0&&f.default.createElement(h.FlatList,{style:M.default.publishesList,contentContainerStyle:M.default.publishesScrollPadding,extraData:this.state,initialNumToRender:8,maxToRenderPerBatch:24,removeClippedSubviews:!0,ListFooterComponent:f.default.createElement(h.View,{style:M.default.publishesFooter},f.default.createElement(p.default,{style:M.default.publishesFooterButton,text:__('Publish something new'),onPress:function(){return l.navigate({routeName:E.default.DRAWER_ROUTE_PUBLISH})}})),renderItem:function(n){var o=n.item;return f.default.createElement(y.default,{key:o,uri:o,style:M.default.listItem,selected:C.includes(o),onPress:function(n){if(c)t.handleSelectItem(o,n);else{var s=t.props,u=s.notify;s.pendingClaims.some(function(t){return t.claim_id===n.claim_id})?u({message:__('This content is currently pending. It will be available in a few minutes.')}):(0,R.navigateToUri)(l,o)}},onLongPress:function(n){return t.handleItemLongPress(o,n)},navigation:l})},data:s,keyExtractor:function(t,n){return t}}),f.default.createElement(P.default,{navigation:l}))}}]),C})(f.default.PureComponent);e.default=C},939,[3,31,4,5,6,8,9,12,16,679,674,493,689,745,694,705,688,410]); -__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]),u=r(d[2]),c=r(d[3]),s=r(d[4]),l=r(d[5]),o=t(r(d[6])),f=t(r(d[7])),R=(0,n.connect)(function(t){return{claimed:(0,u.selectClaimedRewards)(t),currentRoute:(0,l.selectCurrentRoute)(t),emailVerifyErrorMessage:(0,u.selectEmailVerifyErrorMessage)(t),emailVerifyPending:(0,u.selectEmailVerifyIsPending)(t),fetching:(0,u.selectFetchingRewards)(t),rewards:(0,u.selectUnclaimedRewards)(t),user:(0,u.selectUser)(t)}},function(t){return{claimReward:function(n){return t((0,u.doClaimRewardType)(n.reward_type,!0))},fetchRewards:function(){return t((0,u.doRewardList)())},notify:function(n){return t((0,c.doToast)(n))},pushDrawerStack:function(){return t((0,s.doPushDrawerStack)(o.default.DRAWER_ROUTE_REWARDS))},setPlayerVisible:function(){return t((0,s.doSetPlayerVisible)(!1))}}})(f.default);e.default=R},940,[3,378,408,401,492,496,493,941]); -__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])),s=t(r(d[3])),u=t(r(d[4])),o=t(r(d[5])),f=t(r(d[6])),c=(r(d[7]),r(d[8])),v=t(r(d[9])),p=t(r(d[10])),h=t(r(d[11])),y=t(r(d[12])),w=(t(r(d[13])),t(r(d[14]))),_=t(r(d[15])),V=t(r(d[16])),E=t(r(d[17])),R='available',k=(function(t){function k(){var t,n;(0,l.default)(this,k);for(var o=arguments.length,f=new Array(o),v=0;v0?o({message:l}):(o({message:__('Reward successfully claimed!')}),this.setState({rewardCode:''})),this.setState({claimStarted:!1}))}},{key:"render",value:function(){var t=this,l=this.props,n=(l.canClaim,l.rewardIsPending);return c.default.createElement(f.View,{style:[h.default.rewardCard,h.default.row]},c.default.createElement(f.View,{style:h.default.leftCol},n&&c.default.createElement(f.ActivityIndicator,{size:"small",color:w.default.NextLbryGreen})),c.default.createElement(f.View,{style:h.default.midCol},c.default.createElement(f.Text,{style:h.default.rewardTitle},__('Custom Code')),c.default.createElement(f.Text,{style:h.default.rewardDescription},__('Are you a supermodel or rockstar that received a custom reward code? Claim it here.')),c.default.createElement(f.View,null,c.default.createElement(f.TextInput,{style:h.default.customCodeInput,placeholder:'0123abc',onChangeText:function(l){return t.setState({rewardCode:l})},value:this.state.rewardCode}),c.default.createElement(y.default,{style:h.default.redeemButton,text:__('Redeem'),disabled:!this.state.rewardCode||0===this.state.rewardCode.trim().length||n,onPress:function(){n||t.onClaimPress()}}))),c.default.createElement(f.View,{style:h.default.rightCol},c.default.createElement(f.Text,{style:h.default.rewardAmount},"?"),c.default.createElement(f.Text,{style:h.default.rewardCurrency},"LBC")))}}]),C})(c.default.PureComponent);e.default=C},943,[3,4,5,6,8,9,12,16,674,502,679,498,918]); -__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=r(d[2]),u=r(d[3]),l=r(d[4]),c=r(d[5]),s=r(d[6]),f=t(r(d[7])),I=(0,o.connect)(function(t){return{currentRoute:(0,c.selectCurrentRoute)(t),sortByItem:(0,s.selectSortByItem)(t),timeItem:(0,s.selectTimeItem)(t),followedTags:(0,n.selectFollowedTags)(t)}},function(t){return{pushDrawerStack:function(o,n){return t((0,u.doPushDrawerStack)(o,n))},setPlayerVisible:function(){return t((0,u.doSetPlayerVisible)(!1))},setSortByItem:function(o){return t((0,l.doSetSortByItem)(o))},setTimeItem:function(o){return t((0,l.doSetTimeItem)(o))},toggleTagFollow:function(o){return t((0,n.doToggleTagFollow)(o))}}})(f.default);e.default=I},944,[3,378,401,492,721,496,409,945]); -__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])),o=t(r(d[2])),n=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),f=r(d[7]),y=(r(d[8]),r(d[9])),T=(t(r(d[10])),t(r(d[11])),t(r(d[12]))),p=(t(r(d[13])),t(r(d[14]))),h=t(r(d[15])),w=(t(r(d[16])),t(r(d[17])),t(r(d[18]))),S=t(r(d[19])),_=t(r(d[20])),v=t(r(d[21])),E=t(r(d[22])),I=(function(t){function I(){var t,o;(0,l.default)(this,I);for(var u=arguments.length,T=new Array(u),S=0;S0&&(l.setState({currentFrom:0,currentQuery:n,currentUri:(0,h.isURIValid)(n)?(0,h.normalizeURI)(n):null,claimSearchOptions:null,claimSearchRun:!1,showTagResult:!1,resultsResolved:!1,tagResultDisplayed:!1}),c(n,0,p))})},l.handleSearchSubmitted=function(t){var n=l.props,s=n.search,u=n.showNsfwContent;l.setState({currentUri:(0,h.isURIValid)(t)?(0,h.normalizeURI)(t):null,currentFrom:0,currentQuery:t,claimSearchOptions:null,claimSearchRun:!1,showTagResult:!1,resultsResolved:!1,tagResultDisplayed:!1}),s(t,0,u)},l.listEmptyComponent=function(){var t=l.props.query;return c.default.createElement(f.View,{style:C.default.noResults},c.default.createElement(f.Text,{style:C.default.noResultsText},__('There are no results to display for "%query%". Please try a different search term.',{query:t})))},l.listHeaderComponent=function(t,n){var s=l.props,u=s.navigation,o=s.claimSearch,p=l.state.currentUri;if(n&&n.trim().length>0&&(0,h.isURIValid)(n)&&!l.state.claimSearchRun){var y={any_tags:[n.toLowerCase()],page:1,no_totals:!0};l.setState({claimSearchOptions:y,claimSearchRun:!0},function(){return o(y)})}return c.default.createElement(f.View,null,c.default.createElement(R.default,{uri:p,featuredResult:!0,style:C.default.featuredResultItem,navigation:u}),t&&c.default.createElement(f.TouchableOpacity,{style:C.default.tagResultItem,onPress:function(){return l.handleTagResultPressed(n)}},c.default.createElement(f.Text,{style:C.default.tagResultTitle},"#",n.toLowerCase()),c.default.createElement(f.Text,{style:C.default.tagResultDescription},__('Explore content for this tag'))))},l.handleTagResultPressed=function(t){l.props.navigation.navigate({routeName:y.default.DRAWER_ROUTE_TAG,key:"tagPage",params:{tag:t.toLowerCase()}})},l.handleVerticalEndReached=function(){var t=l.props,n=t.lastPageReached,s=t.results,u=t.search,o=t.showNsfwContent,c=t.isSearching;if(!(n||s&&s.length>w||c)){var h=s?s.length:0;l.setState({currentFrom:h},function(){u(l.state.currentQuery,h,o)})}},l}return(0,o.default)(T,t),(0,l.default)(T,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove()}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=t.currentRoute,l=t.query,s=(t.isSearching,this.props),u=s.currentRoute,o=s.search,c=(s.isSearching,s.showNsfwContent);y.default.DRAWER_ROUTE_SEARCH===n&&n!==u&&this.onComponentFocused(),l&&l.trim().length>0&&l!==this.state.currentQuery&&(this.setState({currentFrom:0,currentQuery:l,currentUri:(0,h.isURIValid)(l)?(0,h.normalizeURI)(l):null,resultsResolved:!1,tagResultDisplayed:!1}),o(l,0,c))}},{key:"allContentResolved",value:function(t){var n=t.uris,l=t.resolvingUris;if(!this.state.resultsResolved)return!1;if(n){var s=!0;return n.forEach(function(t){s=s&&!l.includes(t)}),s}return!1}},{key:"componentDidUpdate",value:function(){var t=this.props.claimSearchByQuery;if(this.state.claimSearchRun&&this.state.claimSearchOptions&&!this.state.tagResultDisplayed){var n=t[(0,h.createNormalizedClaimSearchKey)(this.state.claimSearchOptions)];this.setState({showTagResult:n&&n.length>0,tagResultDisplayed:!0})}}},{key:"getSearchQuery",value:function(){var t=this.props.navigation;return t&&t.state&&t.state.params?t.state.params.searchQuery:null}},{key:"render",value:function(){var t=this.props,n=t.isSearching,l=t.navigation,s=t.query,u=t.results;return c.default.createElement(f.View,{style:C.default.container},c.default.createElement(E.default,{value:s,navigation:l,onSearchSubmitted:this.handleSearchSubmitted}),n&&0===this.state.currentFrom&&c.default.createElement(f.View,{style:C.default.busyContainer},c.default.createElement(f.ActivityIndicator,{size:"large",color:p.default.NextLbryGreen,style:C.default.loading})),c.default.createElement(f.FlatList,{extraData:this.state,style:C.default.scrollContainer,contentContainerStyle:C.default.scrollPadding,keyboardShouldPersistTaps:'handled',data:u,keyExtractor:function(t,n){return t.claimId},initialNumToRender:10,maxToRenderPerBatch:20,onEndReached:this.handleVerticalEndReached,onEndReachedThreshold:.2,removeClippedSubviews:!0,ListEmptyComponent:n?null:this.listEmptyComponent(),ListHeaderComponent:this.listHeaderComponent(this.state.showTagResult,this.state.currentQuery),renderItem:function(t){var n=t.item;return c.default.createElement(v.default,{key:n.claimId,uri:n?(0,h.normalizeURI)(n.name+"#"+n.claimId):null,result:n,style:C.default.resultItem,navigation:l})}}),this.state.currentFrom>0&&n&&c.default.createElement(f.View,{style:C.default.moreLoading},c.default.createElement(f.ActivityIndicator,{size:"small",color:p.default.NextLbryGreen})),c.default.createElement(S.default,{navigation:l}))}}]),T})(c.default.PureComponent);T.navigationOptions={title:'Search Results'};var U=T;e.default=U},949,[3,4,5,6,8,9,12,401,16,410,674,493,500,745,876,694,705,950]); -__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:{flex:1,marginTop:60},busyContainer:{flex:1,position:'absolute',top:60,left:0,right:0,bottom:0,alignItems:'center',justifyContent:'center'},scrollPadding:{paddingBottom:16},resultItem:{flex:1,flexDirection:'row',justifyContent:'space-between',marginTop:8,marginLeft:8,marginRight:8},featuredResultItem:{flex:1,flexDirection:'row',justifyContent:'space-between',padding:8,backgroundColor:o.default.Black},tagResultItem:{flex:1,padding:16,backgroundColor:o.default.DarkerGrey},tagResultTitle:{fontFamily:'Inter-SemiBold',fontSize:24,color:o.default.White},tagResultDescription:{fontFamily:'Inter-Regular',fontSize:14,color:o.default.VeryLightGrey},searchInput:{width:'100%',height:'100%',fontFamily:'Inter-Regular',fontSize:16},noResults:{flex:1,width:'100%',height:'100%',justifyContent:'center',alignItems:'center'},noResultsText:{fontFamily:'Inter-Regular',fontSize:16,marginTop:16,marginLeft:16,marginRight:16},boldText:{fontFamily:'Inter-SemiBold',fontSize:16},loading:{position:'absolute'},moreLoading:{width:'100%',height:48,alignItems:'center',justifyContent:'center'}});e.default=l},950,[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]),S=r(d[2]),c=r(d[3]),o=r(d[4]),E=r(d[5]),l=r(d[6]),T=t(r(d[7])),N=t(r(d[8])),I=(0,n.connect)(function(t){return{backgroundPlayEnabled:(0,l.makeSelectClientSetting)(S.SETTINGS.BACKGROUND_PLAY_ENABLED)(t),currentRoute:(0,E.selectCurrentRoute)(t),drawerStack:(0,E.selectDrawerStack)(t),keepDaemonRunning:(0,l.makeSelectClientSetting)(S.SETTINGS.KEEP_DAEMON_RUNNING)(t),language:(0,l.makeSelectClientSetting)(S.SETTINGS.LANGUAGE)(t),showNsfw:(0,l.makeSelectClientSetting)(S.SETTINGS.SHOW_NSFW)(t),showUriBarSuggestions:(0,l.makeSelectClientSetting)(S.SETTINGS.SHOW_URI_BAR_SUGGESTIONS)(t),receiveSubscriptionNotifications:(0,l.makeSelectClientSetting)(S.SETTINGS.RECEIVE_SUBSCRIPTION_NOTIFICATIONS)(t),receiveRewardNotifications:(0,l.makeSelectClientSetting)(S.SETTINGS.RECEIVE_REWARD_NOTIFICATIONS)(t),receiveInterestsNotifications:(0,l.makeSelectClientSetting)(S.SETTINGS.RECEIVE_INTERESTS_NOTIFICATIONS)(t),receiveCreatorNotifications:(0,l.makeSelectClientSetting)(S.SETTINGS.RECEIVE_CREATOR_NOTIFICATIONS)(t)}},function(t){return{notify:function(n){return t((0,S.doToast)(n))},pushDrawerStack:function(){return t((0,c.doPushDrawerStack)(T.default.DRAWER_ROUTE_SETTINGS))},popDrawerStack:function(){return t((0,c.doPopDrawerStack)())},setClientSetting:function(n,S){return t((0,o.doSetClientSetting)(n,S))},setPlayerVisible:function(){return t((0,c.doSetPlayerVisible)(!1))}}})(N.default);e.default=I},951,[3,378,401,492,721,496,409,493,952]); -__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])),o=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),c=t(r(d[6])),f=r(d[7]),E=r(d[8]),h=r(d[9]),w=(t(r(d[10])),t(r(d[11]))),S=t(r(d[12])),y=t(r(d[13])),T=t(r(d[14])),p=t(r(d[15])),v=[{code:'default',name:'Use device language'},{code:'en',name:'English'},{code:'gu',name:'Gujarati'},{code:'hi',name:'Hindi'},{code:'id',name:'Indonesian'},{code:'it',name:'Italian'},{code:'ms',name:'Malay'},{code:'tr',name:'Turkish'},{code:'pl',name:'Polish'},{code:'pt',name:'Portuguese'},{code:'es',name:'Spanish'}],_=(function(t){function _(){var t,l;(0,n.default)(this,_);for(var s=arguments.length,c=new Array(s),w=0;w0){var h=l.blocks_behind,_=1===h?__('%num% block behind',{num:h}):__('%num% blocks behind',{num:h});this.setState({message:__('Blockchain Sync'),details:_})}else this.setState({message:__('Network Loading'),details:__('Initializing LBRY service')});setTimeout(function(){n.updateStatus()},1e3)}},{key:"componentWillMount",value:function(){p.DeviceEventEmitter.addListener('onNotificationTargetLaunch',this.onNotificationTargetLaunch)}},{key:"componentWillUnmount",value:function(){p.DeviceEventEmitter.removeListener('onNotificationTargetLaunch',this.onNotificationTargetLaunch)}},{key:"componentDidMount",value:function(){var t=this;p.NativeModules.Firebase.track('app_launch',null),p.NativeModules.Firebase.setCurrentScreen('Splash'),this.props.fetchRewardedContent(),p.Linking.getInitialURL().then(function(n){n&&t.setState({launchUrl:n}),p.NativeModules.UtilityModule.getNotificationLaunchTarget().then(function(n){n&&t.setState({launchUrl:n}),f.Lbry.connect().then(function(){t.updateStatus()}).catch(function(n){t.setState({isLagging:!0,message:__('Connection Failure'),details:__('We could not establish a connection to the SDK. Your data connection may be preventing LBRY from connecting. Contact hello@lbry.com if you think this is a software bug.')})})})}),S.default.getItem('hasLaunched').then(function(t){'true'!==t&&(S.default.setItem('hasLaunched','true'),S.default.setItem('firstLaunchTime',String((0,v.default)().unix())))})}},{key:"render",value:function(){var t=this.state,n=t.accountUnlockFailed,s=t.message,o=t.details;t.isLagging,t.isRunning;return n?h.default.createElement(p.View,{style:w.default.container},h.default.createElement(p.Text,{style:w.default.errorTitle},__('Oops! Something went wrong.')),h.default.createElement(p.Text,{style:w.default.paragraph},__('Your wallet failed to unlock, which means you may not be able to play any videos or access your funds.')),h.default.createElement(p.Text,{style:w.default.paragraph},__('You can try to fix this by tapping Stop on the LBRY service notification and starting the app again. If the problem continues, you may have to reinstall the app and restore your account.')),h.default.createElement(b.default,{style:w.default.continueButton,theme:'light',text:__('Continue anyway'),onPress:this.handleContinueAnywayPressed})):h.default.createElement(p.View,{style:w.default.container},h.default.createElement(p.Text,{style:w.default.title},"LBRY"),this.state.isDownloadingHeaders&&h.default.createElement(k.default,{color:L.default.White,style:w.default.progress,progress:this.state.headersDownloadProgress}),!this.state.isDownloadingHeaders&&h.default.createElement(p.ActivityIndicator,{color:L.default.White,style:w.default.loading,size:'small'}),h.default.createElement(p.Text,{style:w.default.message},s),h.default.createElement(p.Text,{style:w.default.details},o))}}]),n})(h.default.PureComponent));T.navigationOptions={title:'Splash'};var E=T;e.default=E},955,[1,3,4,5,6,8,9,12,401,408,16,411,883,410,726,723,679,747,67,674,493,956,882]); -__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,justifyContent:'center',backgroundColor:o.default.LbryGreen},title:{fontFamily:'Inter-Bold',fontSize:64,textAlign:'center',marginBottom:48,color:o.default.White},errorTitle:{fontFamily:'Inter-Regular',fontSize:28,marginBottom:24,marginLeft:24,marginRight:24,color:o.default.White},paragraph:{fontFamily:'Inter-Regular',fontSize:16,lineHeight:24,marginBottom:20,marginLeft:24,marginRight:24,color:o.default.White},continueButton:{fontSize:16,backgroundColor:o.default.White,marginTop:24,marginLeft:24,marginRight:24,alignSelf:'flex-end'},loading:{marginBottom:36},progress:{alignSelf:'center',marginBottom:36,width:'50%'},details:{fontFamily:'Inter-Regular',fontSize:14,marginLeft:16,marginRight:16,color:o.default.White,textAlign:'center'},message:{fontFamily:'Inter-Bold',fontSize:18,color:o.default.White,marginLeft:16,marginRight:16,marginBottom:4,textAlign:'center'}});e.default=l},956,[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]),s=r(d[2]),u=r(d[3]),o=r(d[4]),c=r(d[5]),l=r(d[6]),S=r(d[7]),b=t(r(d[8])),f=t(r(d[9])),h=(0,n.connect)(function(t){return{currentRoute:(0,S.selectCurrentRoute)(t),loading:(0,s.selectIsFetchingSubscriptions)(t),loadingSuggested:(0,u.selectFetchingClaimSearch)(t),subscribedChannels:(0,s.selectSubscriptions)(t),suggestedChannels:(0,s.selectSuggestedChannels)(t),subscriptionsViewMode:(0,l.makeSelectClientSetting)(b.default.SETTING_SUBSCRIPTIONS_VIEW_MODE)(t),allSubscriptions:(0,s.selectSubscriptionClaims)(t),unreadSubscriptions:(0,s.selectUnreadSubscriptions)(t),viewMode:(0,s.selectViewMode)(t),firstRunCompleted:(0,s.selectFirstRunCompleted)(t),showSuggestedSubs:(0,s.selectShowSuggestedSubs)(t),timeItem:(0,l.selectTimeItem)(t)}},function(t){return{channelUnsubscribe:function(n){return t((0,s.doChannelUnsubscribe)(n))},doFetchMySubscriptions:function(){return t((0,s.doFetchMySubscriptions)())},doFetchRecommendedSubscriptions:function(){return t((0,s.doFetchRecommendedSubscriptions)())},doSetViewMode:function(n){return t((0,s.doSetViewMode)(n))},notify:function(n){return t((0,u.doToast)(n))},pushDrawerStack:function(){return t((0,o.doPushDrawerStack)(b.default.DRAWER_ROUTE_SUBSCRIPTIONS))},setClientSetting:function(n,s){return t((0,c.doSetClientSetting)(n,s))},setPlayerVisible:function(){return t((0,o.doSetPlayerVisible)(!1))},setTimeItem:function(n){return t((0,c.doSetTimeItem)(n))}}})(f.default);e.default=h},957,[3,378,408,401,492,721,409,496,493,958]); -__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])),f=(t(r(d[7])),r(d[8])),S=r(d[9]),h=r(d[10]),y=(t(r(d[11])),t(r(d[12])),t(r(d[13]))),b=t(r(d[14])),w=t(r(d[15])),p=t(r(d[16])),_=(t(r(d[17])),t(r(d[18]))),E=(t(r(d[19])),t(r(d[20])),t(r(d[21]))),C=t(r(d[22])),v=t(r(d[23])),I=t(r(d[24])),T=t(r(d[25])),R=(t(r(d[26])),t(r(d[27]))),P=t(r(d[28])),k=(function(t){function k(){var t,l;(0,n.default)(this,k);for(var u=arguments.length,c=new Array(u),S=0;S0&&o.forEach(function(t){return s(t)})},l}return(0,u.default)(k,t),(0,l.default)(k,[{key:"componentWillMount",value:function(){this.props.navigation}},{key:"componentWillUnmount",value:function(){this.didFocusListener&&this.didFocusListener.remove()}},{key:"componentDidMount",value:function(){this.onComponentFocused()}},{key:"componentWillReceiveProps",value:function(t){var n=t.currentRoute,l=this.props.currentRoute;p.default.DRAWER_ROUTE_SUBSCRIPTIONS===n&&n!==l&&this.onComponentFocused(),this.unsubscribeShortChannelUrls()}},{key:"shouldComponentUpdate",value:function(t,n){var l=this.state.showModalSuggestedSubs,s=this.state.showModalSuggestedSubs;return!l||!s}},{key:"render",value:function(){var t=this,n=this.props,l=(n.suggestedChannels,n.subscribedChannels),s=(n.allSubscriptions,n.doCompleteFirstRun,n.doShowSuggestedSubs,n.loading),o=n.loadingSuggested,u=(n.firstRunCompleted,n.showSuggestedSubs,n.timeItem),h=(n.unreadSubscriptions,n.navigation),k=n.notify,M=this.state,A=M.currentSortByItem,O=M.filteredChannels,B=M.showModalSuggestedSubs,L=M.showSortPicker,V=M.showTimePicker,U=l?l.length:0,x=U>0;x||this.state.showingSuggestedSubs||this.setState({showingSuggestedSubs:!0});var D=O.length>0?O.map(function(t){return(0,S.parseURI)(t.uri).claimId}):l&&l.map(function(t){return(0,S.parseURI)(t.uri).claimId});return c.default.createElement(f.View,{style:_.default.container},c.default.createElement(P.default,{navigation:h,belowOverlay:this.state.showSortPicker}),c.default.createElement(f.View,{style:_.default.titleRow},c.default.createElement(f.Text,{style:_.default.pageTitle},x&&!this.state.showingSuggestedSubs?__('Channels you follow'):__('Find Channels to follow'))),!this.state.showingSuggestedSubs&&x&&c.default.createElement(f.View,{style:_.default.pickerRow},c.default.createElement(f.View,{style:_.default.leftPickerRow},c.default.createElement(f.TouchableOpacity,{style:_.default.tagSortBy,onPress:function(){return t.setState({showSortPicker:!0})}},c.default.createElement(f.Text,{style:_.default.tagSortText},__(A.label.split(' ')[0])),c.default.createElement(E.default,{style:_.default.tagSortIcon,name:'sort-down',size:14})),p.default.SORT_BY_TOP===A.name&&c.default.createElement(f.TouchableOpacity,{style:_.default.tagSortBy,onPress:function(){return t.setState({showTimePicker:!0})}},c.default.createElement(f.Text,{style:_.default.tagSortText},__(u.label)),c.default.createElement(E.default,{style:_.default.tagSortIcon,name:'sort-down',size:14}))),c.default.createElement(C.default,{style:_.default.suggestedLink,text:__('Discover'),onPress:function(){return t.setState({showModalSuggestedSubs:!0})}})),!this.state.showingSuggestedSubs&&x&&!s&&c.default.createElement(f.View,{style:_.default.subContainer},c.default.createElement(T.default,{subscribedChannels:this.prependSubscribedChannelsWithAll(l),onChannelSelected:this.handleChannelSelected}),c.default.createElement(b.default,{style:_.default.claimList,channelIds:D,orderBy:this.state.orderBy,time:u.name,navigation:h,orientation:p.default.ORIENTATION_VERTICAL})),x&&s&&c.default.createElement(f.View,{style:_.default.busyContainer},c.default.createElement(f.ActivityIndicator,{size:"large",color:w.default.NextLbryGreen,style:_.default.loading})),this.state.showingSuggestedSubs&&c.default.createElement(f.View,{style:_.default.suggestedSubsContainer},c.default.createElement(f.View,{style:_.default.infoArea},c.default.createElement(f.Text,{style:_.default.infoText},__('LBRY works better if you follow at least 5 creators you like. Sign in to show creators you follow if you already have an account.'))),c.default.createElement(f.View,{style:_.default.mainSuggested},c.default.createElement(R.default,{navigation:h})),c.default.createElement(y.default,{style:_.default.suggestedDoneButton,text:U<5?__('%remaining% more...',{remaining:5-U}):__('Done'),onPress:function(){x?t.setState({showingSuggestedSubs:!1}):k({message:__('Tap on any channel to follow')})}}),o&&c.default.createElement(f.ActivityIndicator,{size:"small",color:w.default.White,style:_.default.suggestedLoading})),L&&c.default.createElement(v.default,{title:__('Sort content by'),onOverlayPress:function(){return t.setState({showSortPicker:!1})},onItemSelected:this.handleSortByItemSelected,selectedItem:A,items:p.default.CLAIM_SEARCH_SORT_BY_ITEMS}),V&&c.default.createElement(v.default,{title:__('Content from'),onOverlayPress:function(){return t.setState({showTimePicker:!1})},onItemSelected:this.handleTimeItemSelected,selectedItem:u,items:p.default.CLAIM_SEARCH_TIME_ITEMS}),B&&c.default.createElement(I.default,{navigation:h,onOverlayPress:function(){return t.setState({showModalSuggestedSubs:!1})},onDonePress:function(){return t.setState({showModalSuggestedSubs:!1})}}))}}]),k})(c.default.PureComponent);e.default=k},958,[3,4,5,6,8,9,12,411,16,401,410,723,726,679,727,674,493,738,959,694,730,502,498,753,960,968,970,962,705]); -__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]),l=t(r(d[3])),f=n.StyleSheet.create({container:{flex:1,backgroundColor:l.default.PageBackground},subContainer:{flex:1},suggestedSubsContainer:{flex:1},suggestedScrollContent:{paddingTop:8},button:{alignSelf:'flex-start',backgroundColor:l.default.LbryGreen,paddingLeft:16,paddingRight:16,marginBottom:8},busyContainer:{flex:1,justifyContent:'center',alignItems:'center',flexDirection:'row',padding:16},scrollContainer:{flex:1},scrollPadding:{paddingTop:24},infoText:{fontFamily:'Inter-Regular',fontSize:14,marginTop:8,marginBottom:8},infoArea:{flexDirection:'row',justifyContent:'space-between',marginLeft:16,marginRight:16,paddingBottom:4,borderBottomWidth:1,borderBottomColor:l.default.LighterGrey},suggestedContainer:{flex:1},contentContainer:{flex:1,marginTop:16},contentText:{fontFamily:'Inter-Regular',fontSize:16,marginLeft:24,marginRight:24,marginBottom:8},fileItem:{marginLeft:24,marginRight:24,marginBottom:24},compactMainFileItem:{marginLeft:24,marginRight:24},compactItems:{flex:1,marginTop:6,marginLeft:20,marginRight:24,marginBottom:24,height:80},compactFileItem:{width:(o.screenWidth-o.horizontalMargin-18)/3,marginLeft:6,height:'100%'},compactFileItemMedia:{width:(o.screenWidth-o.horizontalMargin)/3,height:'100%'},fileItemMedia:{width:o.mediaWidth,height:o.mediaHeight,alignItems:'center',justifyContent:'center'},fileItemName:{fontFamily:'Inter-Bold',marginTop:8,fontSize:18},channelList:{marginLeft:16,marginRight:16,marginTop:8,paddingBottom:8,borderBottomColor:l.default.LighterGrey,borderBottomWidth:1},channelTitle:{fontFamily:'Inter-SemiBold',fontSize:20,marginLeft:24,marginTop:16,marginBottom:16,color:l.default.LbryGreen},subscribeButton:{alignSelf:'flex-start',marginRight:24,marginTop:8,backgroundColor:l.default.White,paddingLeft:16,paddingRight:16},viewModeRow:{flexDirection:'row',marginLeft:24,marginRight:24,marginTop:84},viewModeLink:{marginRight:24,fontSize:18,color:l.default.LbryGreen},inactiveMode:{fontFamily:'Inter-Regular'},activeMode:{fontFamily:'Inter-SemiBold'},claimList:{flex:1},pageTitle:{fontFamily:'Inter-Regular',fontSize:24},titleRow:{marginTop:76,marginLeft:16,marginRight:16,flexDirection:'row',alignItems:'center',justifyContent:'space-between'},pickerRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',marginLeft:16,marginRight:16,marginTop:8,marginBottom:8},tagSortBy:{flexDirection:'row',alignItems:'center',marginRight:24},tagSortText:{fontFamily:'Inter-Regular',fontSize:14,marginRight:4},tagSortIcon:{marginTop:-6},centered:{position:'absolute',left:0,right:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},suggestedItem:{alignItems:'center',marginBottom:16,marginLeft:16,marginRight:16,height:140},suggestedItemThumbnailContainer:{width:70,height:70,borderRadius:140,overflow:'hidden',alignItems:'center',justifyContent:'center'},suggestedItemThumbnail:{width:'100%',height:'100%'},suggestedItemDetails:{marginLeft:16,marginRight:16,alignItems:'center'},suggestedItemSubscribe:{backgroundColor:l.default.White},suggestedItemSubscribeOverlay:{position:'absolute',left:0,right:0,top:0,alignItems:'center',justifyContent:'flex-end',paddingBottom:4,height:70},suggestedItemTitle:{fontFamily:'Inter-Regular',textAlign:'center',fontSize:14,marginTop:4,marginBottom:2},suggestedItemName:{fontFamily:'Inter-SemiBold',fontSize:14,marginBottom:4,color:l.default.LbryGreen},suggestedItemTagList:{flexDirection:'row',justifyContent:'center'},suggestedSubTitle:{fontFamily:'Inter-Regular',fontSize:20,marginLeft:16,marginRight:16,marginBottom:12},suggestedSectionSeparator:{marginBottom:16},tag:{marginRight:4,marginBottom:4},leftPickerRow:{flexDirection:'row',alignItems:'center'},suggestedLink:{fontFamily:'Inter-Regular',fontSize:14},modalContainer:{height:'80%',backgroundColor:l.default.PageBackground},modalScrollContainer:{marginBottom:50},modalSuggestedScrollContent:{paddingTop:16},suggestedDoneButton:{backgroundColor:l.default.LbryGreen,margin:16},mainSuggested:{flex:1},suggestedLoading:{position:'absolute',right:24,bottom:22},modalLoading:{position:'absolute',right:7,bottom:7}});e.default=f},959,[3,16,739,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]),u=r(d[2]),c=t(r(d[3])),l=(0,n.connect)(function(t){return{loadingSuggested:(0,u.selectFetchingClaimSearch)(t)}})(c.default);e.default=l},960,[3,378,401,961]); -__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])),o=t(r(d[4])),f=t(r(d[5])),c=t(r(d[6])),s=r(d[7]),y=t(r(d[8])),v=t(r(d[9])),p=t(r(d[10])),h=t(r(d[11])),E=t(r(d[12])),O=(t(r(d[13])),t(r(d[14])),(function(t){function O(){return(0,l.default)(this,O),(0,u.default)(this,(0,o.default)(O).apply(this,arguments))}return(0,f.default)(O,t),(0,n.default)(O,[{key:"render",value:function(){var t=this.props,l=t.loadingSuggested,n=t.navigation,u=t.onDonePress,o=t.onOverlayPress;return c.default.createElement(s.TouchableOpacity,{style:y.default.overlay,activeOpacity:1,onPress:o},c.default.createElement(s.TouchableOpacity,{style:[y.default.container,v.default.modalContainer],activeOpacity:1},c.default.createElement(E.default,{inModal:!0,navigation:n}),c.default.createElement(s.View,{style:y.default.wideButtons},c.default.createElement(p.default,{style:y.default.wideDoneButton,text:__('Done'),onPress:u}),l&&c.default.createElement(s.ActivityIndicator,{size:"small",color:h.default.White,style:v.default.modalLoading}))))}}]),O})(c.default.PureComponent));e.default=O},961,[3,4,5,6,8,9,12,16,855,959,679,674,962,493,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 c=r(d[1]),s=r(d[2]),l=r(d[3]),n=r(d[4]),u=t(r(d[5])),o=(0,c.connect)(function(t){return{followedTags:(0,s.selectFollowedTags)(t),subscriptions:(0,l.selectSubscriptions)(t),suggested:(0,l.selectSuggestedChannels)(t),loading:(0,l.selectIsFetchingSuggested)(t)||(0,s.selectFetchingClaimSearch)(t),claimSearchByQuery:(0,s.selectClaimSearchByQuery)(t),lastPageReached:(0,s.selectClaimSearchByQueryLastPageReached)(t),showNsfwContent:(0,n.selectShowNsfw)(t)}},function(t){return{claimSearch:function(c){return t((0,s.doClaimSearch)(c))}}})(u.default);e.default=o},962,[3,378,401,408,409,963]); -__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])),o=t(r(d[3])),s=t(r(d[4])),u=t(r(d[5])),c=t(r(d[6])),h=(r(d[7]),r(d[8])),f=(r(d[9]),r(d[10])),p=(t(r(d[11])),t(r(d[12]))),S=(t(r(d[13])),t(r(d[14]))),C=(t(r(d[15])),t(r(d[16]))),v=(t(r(d[17])),t(r(d[18])),24),y=2400,_=(function(t){function _(){var t,l;(0,n.default)(this,_);for(var u=arguments.length,c=new Array(u),f=0;f0&&c.length=y||l.setState({currentPage:l.state.currentPage+1},function(){return l.doClaimSearch()})},l}return(0,u.default)(_,t),(0,l.default)(_,[{key:"buildClaimSearchOptions",value:function(){var t=this.props.showNsfwContent,n={no_totals:!0,page:this.state.currentPage,page_size:v,claim_type:'channel',order_by:[S.default.ORDER_BY_EFFECTIVE_AMOUNT]};return t||(n.not_tags=h.MATURE_TAGS),this.state.subscriptionIds.length>0&&(n.not_channel_ids=this.state.subscriptionIds),n}},{key:"doClaimSearch",value:function(){(0,this.props.claimSearch)(this.buildClaimSearchOptions())}},{key:"componentDidMount",value:function(){var t=this,n=this.props,l=(n.claimSearch,n.followedTags,n.showNsfwContent,n.subscriptions);l&&l.length>0?this.setState({subscriptionIds:l.map(function(t){return t.uri.split('#')[1]})},function(){return t.doClaimSearch()}):this.doClaimSearch()}},{key:"render",value:function(){var t=this.props,n=t.claimSearchByQuery,l=(t.suggested,t.inModal),o=t.navigation,s=this.buildClaimSearchOptions(),u=n[(0,h.createNormalizedClaimSearchKey)(s)];return c.default.createElement(f.FlatGrid,{initialNumToRender:24,maxToRenderPerBatch:48,removeClippedSubviews:!0,itemDimension:120,spacing:2,items:u,style:l?C.default.modalScrollContainer:C.default.scrollContainer,contentContainerStyle:l?C.default.modalSuggestedScrollContent:C.default.suggestedScrollContent,renderItem:function(t){var n=t.item;t.index;return c.default.createElement(p.default,{key:n,uri:(0,h.normalizeURI)(n),navigation:o})},onEndReached:this.handleVerticalEndReached,onEndReachedThreshold:.2})}}]),_})(c.default.PureComponent);e.default=_},963,[3,4,5,6,8,9,12,16,401,410,924,857,964,674,493,739,959,498,729]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=r(d[1]),t=r(d[2]),l=r(d[3]),c=n(r(d[4])),o=(0,u.connect)(function(n,u){return{thumbnail:(0,t.makeSelectThumbnailForUri)(u.uri)(n),title:(0,t.makeSelectTitleForUri)(u.uri)(n),claim:(0,t.makeSelectClaimForUri)(u.uri)(n),isResolvingUri:(0,t.makeSelectIsUriResolving)(u.uri)(n),isSubscribed:(0,l.makeSelectIsSubscribed)(u.uri,!0)(n)}},function(n){return{resolveUri:function(u){return n((0,t.doResolveUri)(u))},subscribe:function(n){return(0,l.doChannelSubscribe)(n)},unsubscribe:function(n){return(0,l.doChannelUnsubscribe)(n)}}})(c.default);e.default=o},964,[3,378,401,408,965]); -__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])),s=t(r(d[4])),f=t(r(d[5])),o=t(r(d[6])),c=r(d[7]),y=r(d[8]),h=(r(d[9]),t(r(d[10]))),v=t(r(d[11])),p=t(r(d[12])),b=(t(r(d[13])),t(r(d[14])),t(r(d[15]))),E=t(r(d[16])),T=(t(r(d[17])),t(r(d[18]))),I=(function(t){function I(){var t,u;(0,l.default)(this,I);for(var f=arguments.length,o=new Array(f),c=0;c0&&c.default.createElement(h.default,{navigation:l,transactions:o}))))}}]),T})(c.default.PureComponent);e.default=T},973,[3,4,5,6,8,9,12,16,674,493,689,974,705,698]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),n=r(d[2]),u=l(r(d[3])),o=(0,t.connect)(function(l){return{myClaims:(0,n.selectAllMyClaimsByOutpoint)(l)}},null)(u.default);e.default=o},974,[3,378,401,975]); -__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])),u=t(r(d[3])),f=t(r(d[4])),s=t(r(d[5])),o=t(r(d[6])),c=t(r(d[7])),h=r(d[8]),v=t(r(d[9])),y=t(r(d[10])),p=(function(t){function p(t){var l;return(0,n.default)(this,p),(l=(0,u.default)(this,(0,f.default)(p).call(this,t))).state={filter:'all'},(0,s.default)(l).handleFilterChanged=l.handleFilterChanged.bind((0,s.default)(l)),(0,s.default)(l).filterTransaction=l.filterTransaction.bind((0,s.default)(l)),l}return(0,o.default)(p,t),(0,l.default)(p,[{key:"handleFilterChanged",value:function(t){this.setState({filter:t.target.value})}},{key:"filterTransaction",value:function(t){var n=this.state.filter;return'all'===n||n===t.type}},{key:"render",value:function(){var t=this.props,n=t.emptyMessage,l=t.rewards,u=t.transactions,f=t.navigation,s=(this.state.filter,u.filter(this.filterTransaction));return c.default.createElement(h.View,null,!s.length&&c.default.createElement(h.Text,{style:y.default.noTransactions},n||__('No transactions to list.')),!!s.length&&c.default.createElement(h.View,null,s.map(function(t){return c.default.createElement(v.default,{key:t.txid+":"+t.nout,transaction:t,navigation:f,reward:l&&l[t.txid]})})))}}]),p})(c.default.PureComponent);e.default=p},975,[3,4,5,6,8,7,9,12,16,976,977]); -__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])),f=t(r(d[3])),n=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),s=r(d[7]),y=r(d[8]),p=r(d[9]),x=t(r(d[10])),E=t(r(d[11])),w=t(r(d[12])),_=(function(t){function _(){return(0,l.default)(this,_),(0,f.default)(this,(0,n.default)(_).apply(this,arguments))}return(0,o.default)(_,t),(0,u.default)(_,[{key:"capitalize",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}},{key:"render",value:function(){var t=this.props,l=t.transaction,u=t.navigation,f=l.amount,n=l.claim_id,o=l.claim_name,_=l.date,h=l.fee,v=l.txid,T=l.type;return c.default.createElement(s.View,{style:w.default.listItem},c.default.createElement(s.View,{style:[w.default.row,w.default.topRow]},c.default.createElement(s.View,{style:[w.default.col,w.default.leftCol]},c.default.createElement(s.Text,{style:w.default.text},this.capitalize(T)),o&&n&&c.default.createElement(x.default,{style:w.default.link,numberOfLines:1,onPress:function(){return(0,p.navigateToUri)(u,(0,y.buildURI)({claimName:o,claimId:n}))},text:o})),c.default.createElement(s.View,{style:w.default.col},c.default.createElement(s.Text,{style:[w.default.amount,w.default.text]},(0,y.formatCredits)(f,8)),0!==h&&c.default.createElement(s.Text,{style:[w.default.amount,w.default.text]},"fee ",(0,y.formatCredits)(h,8)))),c.default.createElement(s.View,{style:w.default.row},c.default.createElement(s.View,{style:[w.default.col,w.default.leftCol]},c.default.createElement(x.default,{style:w.default.smallLink,text:v.substring(0,8),href:"https://explorer.lbry.com/tx/"+v,error:__('The transaction URL could not be opened')})),c.default.createElement(s.View,{style:w.default.col},_?c.default.createElement(s.Text,{style:w.default.smallText},(0,E.default)(_).format('MMM D')):c.default.createElement(s.Text,{style:w.default.smallText},__('Pending')))))}}]),_})(c.default.PureComponent);e.default=_},976,[3,4,5,6,8,9,12,16,401,410,498,726,977]); -__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({listItem:{borderBottomWidth:1,borderBottomColor:'#eeeeee',paddingLeft:16,paddingRight:16,paddingTop:12,paddingBottom:12},row:{flexDirection:'row',justifyContent:'space-between'},topRow:{marginBottom:4},leftCol:{flex:.7},col:{alignSelf:'stretch'},text:{fontFamily:'Inter-Regular',fontSize:14},link:{color:n.default.LbryGreen,fontFamily:'Inter-Regular',fontSize:14},amount:{textAlign:'right'},smallText:{fontFamily:'Inter-Regular',fontSize:12,color:'#aaaaaa'},smallLink:{color:n.default.LbryGreen,fontFamily:'Inter-Regular',fontSize:12},noTransactions:{fontFamily:'Inter-Regular',textAlign:'center',padding:16,color:'#aaaaaa'}});e.default=l},977,[3,16,674]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[1]),s=r(d[2]),c=r(d[3]),o=r(d[4]),l=r(d[5]),y=n(r(d[6])),u=n(r(d[7])),f=(0,t.connect)(function(n){return{emailAlreadyExists:(0,c.selectEmailAlreadyExists)(n),emailToVerify:(0,c.selectEmailToVerify)(n),emailNewErrorMessage:(0,c.selectEmailNewErrorMessage)(n),emailNewPending:(0,c.selectEmailNewIsPending)(n),user:(0,c.selectUser)(n),phoneVerifyErrorMessage:(0,c.selectPhoneVerifyErrorMessage)(n),phoneVerifyIsPending:(0,c.selectPhoneVerifyIsPending)(n),phone:(0,c.selectPhoneToVerify)(n),phoneNewErrorMessage:(0,c.selectPhoneNewErrorMessage)(n),phoneNewIsPending:(0,c.selectPhoneNewIsPending)(n),deviceWalletSynced:(0,l.makeSelectClientSetting)(y.default.SETTING_DEVICE_WALLET_SYNCED)(n),hasSyncedWallet:(0,c.selectHasSyncedWallet)(n),getSyncIsPending:(0,c.selectGetSyncIsPending)(n),setSyncIsPending:(0,c.selectSetSyncIsPending)(n),syncApplyIsPending:(0,c.selectSyncApplyIsPending)(n),syncApplyErrorMessage:(0,c.selectSyncApplyErrorMessage)(n),syncData:(0,c.selectSyncData)(n),syncHash:(0,c.selectSyncHash)(n)}},function(n){return{addUserEmail:function(t){return n((0,c.doUserEmailNew)(t))},addUserPhone:function(t,s){return n((0,c.doUserPhoneNew)(t,s))},getSync:function(t,s){return n((0,c.doGetSync)(t,s))},checkSync:function(){return n((0,c.doCheckSync)())},verifyPhone:function(t){return n((0,c.doUserPhoneVerify)(t))},notify:function(t){return n((0,s.doToast)(t))},populateSharedUserState:function(t){return n((0,s.doPopulateSharedUserState)(t))},setClientSetting:function(t,s){return n((0,o.doSetClientSetting)(t,s))},setEmailToVerify:function(t){return n((0,c.doUserEmailToVerify)(t))},syncApply:function(t,s,o){return n((0,c.doSyncApply)(t,s,o))},resendVerificationEmail:function(t){return n((0,c.doUserResendVerificationEmail)(t))}}})(u.default);e.default=f},978,[3,378,401,408,721,409,493,979]); -__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])),s=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),c=t(r(d[5])),f=t(r(d[6])),u=r(d[7]),y=r(d[8]),p=(r(d[9]),t(r(d[10])),t(r(d[11])),t(r(d[12]))),h=t(r(d[13])),V=t(r(d[14])),E=t(r(d[15])),P=t(r(d[16])),v=t(r(d[17])),S=t(r(d[18])),w=(function(t){function w(){var t,s;(0,n.default)(this,w);for(var c=arguments.length,f=new Array(c),h=0;h0&&this.setState({newPhoneAdded:!0,phase:y.default.PHASE_VERIFICATION}),l&&l(!1)}},{key:"componentDidUpdate",value:function(t){var n=this.props,l=n.phoneVerifyIsPending,o=n.phoneVerifyErrorMessage,s=n.notify,u=n.phoneNewErrorMessage,f=n.phoneNewIsPending,c=n.onPhoneVerifySuccessful;f||f===t.phoneNewIsPending||(u?(s({message:String(u)}),this.setState({phoneVerifyFailed:!0})):this.setState({newPhoneAdded:!0,phase:y.default.PHASE_VERIFICATION,phoneVerifyFailed:!1})),l||l===t.phoneVerifyIsPending||(o?(s({message:String(o)}),this.setState({codeVerifyStarted:!1,phoneVerifyFailed:!0})):(s({message:__('Your phone number was successfully verified.')}),this.setState({codeVerifySuccessful:!0,phoneVerifyFailed:!1}),c&&c()))}},{key:"render",value:function(){var t=this,n=this.props,l=n.phoneVerifyIsPending,o=(n.phoneVerifyErrorMessage,n.phone),s=(n.phoneErrorMessage,n.phoneNewIsPending);return f.default.createElement(c.View,{style:E.default.container},f.default.createElement(c.Text,{style:v.default.verificationTitle},this.state.phase===y.default.PHASE_VERIFICATION?__('Verify Phone Number'):__('Phone Number')),f.default.createElement(c.View,{style:v.default.phoneVerificationContainer},this.state.phase===y.default.PHASE_COLLECTION&&f.default.createElement(c.View,null,f.default.createElement(c.Text,{style:[v.default.bottomMarginMedium,E.default.paragraph]},__('Please provide a phone number to prevent fraud.')),f.default.createElement(S.default,{ref:function(n){t.phoneInput=n},style:c.StyleSheet.flatten(v.default.phoneInput),textProps:{placeholder:'(phone number)'},textStyle:c.StyleSheet.flatten(v.default.phoneInputText),onPressFlag:this.onPressFlag}),f.default.createElement(c.View,{style:v.default.buttonContainer},!s&&f.default.createElement(h.default,{style:[v.default.verificationButton,v.default.topMarginMedium],theme:'light',text:__('Send verification text'),onPress:this.onSendTextPressed}),s&&f.default.createElement(c.View,{style:E.default.centerInside},f.default.createElement(c.ActivityIndicator,{style:v.default.topMarginMedium,size:"small",color:p.default.White})))),this.state.phase===y.default.PHASE_VERIFICATION&&f.default.createElement(c.View,null,!l&&!this.codeVerifyStarted&&f.default.createElement(c.View,null,f.default.createElement(c.Text,{style:[v.default.bottomMarginSmall,E.default.paragraph]},__('Please enter the verification code sent to %phone%',{phone:o}),"."),f.default.createElement(c.TextInput,{style:v.default.verificationCodeInput,keyboardType:"numeric",placeholder:"0000",underlineColorAndroid:"transparent",selectionColor:p.default.NextLbryGreen,value:this.state.verificationCode,onChangeText:function(n){return t.handleChangeText(n)}}),f.default.createElement(c.View,{style:v.default.buttonContainer},f.default.createElement(h.default,{style:[v.default.verificationButton,v.default.topMarginSmall],theme:'light',text:__('Verify'),onPress:this.onVerifyPressed}),f.default.createElement(P.default,{style:v.default.verificationLink,text:__('Edit'),onPress:this.onEditPressed}))),l&&f.default.createElement(c.View,{style:E.default.centered},f.default.createElement(c.Text,{style:E.default.paragraph},__('Verifying your phone number...')),f.default.createElement(c.ActivityIndicator,{color:p.default.White,size:"small",style:[v.default.topMarginMedium,v.default.leftRightMargin]}))),this.state.phoneVerifyFailed&&f.default.createElement(c.View,{style:v.default.failureFootnote},f.default.createElement(c.Text,{style:v.default.paragraphText},"Sorry, we were unable to verify your phone number. Please go to",' ',f.default.createElement(P.default,{style:v.default.textLink,href:"http://chat.lbry.com",text:"chat.lbry.com"})," for manual verification if this keeps happening."))),f.default.createElement(V.default,{countryCode:this.state.cca2,withAlphaFilter:!0,withFilter:!0,withFlag:!0,withFlagButton:!1,withCallingCode:!0,withModal:!0,onSelect:this.selectCountry,translation:"eng",modalProps:{visible:this.state.countryPickerVisible}}))}}]),C})(f.default.PureComponent);e.default=C},982,[3,4,5,6,8,9,12,16,723,679,674,493,983,502,498,1015,906,918]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={DARK_THEME:!0,DEFAULT_THEME:!0,getAllCountries:!0,getCallingCode:!0,CountryModal:!0,CountryFilter:!0,CountryList:!0,FlagButton:!0,Flag:!0,HeaderModal:!0};Object.defineProperty(e,"DARK_THEME",{enumerable:!0,get:function(){return y.DARK_THEME}}),Object.defineProperty(e,"DEFAULT_THEME",{enumerable:!0,get:function(){return y.DEFAULT_THEME}}),Object.defineProperty(e,"getAllCountries",{enumerable:!0,get:function(){return O.getCountriesAsync}}),Object.defineProperty(e,"getCallingCode",{enumerable:!0,get:function(){return O.getCountryCallingCodeAsync}}),Object.defineProperty(e,"CountryModal",{enumerable:!0,get:function(){return p.CountryModal}}),Object.defineProperty(e,"CountryFilter",{enumerable:!0,get:function(){return s.CountryFilter}}),Object.defineProperty(e,"CountryList",{enumerable:!0,get:function(){return E.CountryList}}),Object.defineProperty(e,"FlagButton",{enumerable:!0,get:function(){return j.FlagButton}}),Object.defineProperty(e,"Flag",{enumerable:!0,get:function(){return P.Flag}}),Object.defineProperty(e,"HeaderModal",{enumerable:!0,get:function(){return C.HeaderModal}}),e.default=void 0;var o=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),c=t(r(d[4])),f=r(d[5]),y=r(d[6]),b=r(d[7]),O=r(d[8]),p=r(d[9]),s=r(d[10]),E=r(d[11]),j=r(d[12]),P=r(d[13]),C=r(d[14]),T=r(d[15]);function v(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function M(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:u.FlagType.EMOJI;return new Promise(function(t,o){switch(n){case u.FlagType.FLAT:l.imageCountries?t(l.imageCountries):fetch("https://xcarpentier.github.io/react-native-country-picker-modal/countries/").then(function(n){return n.json()}).then(function(n){l.imageCountries=n,t(l.imageCountries)}).catch(o);break;default:l.emojiCountries?t(l.emojiCountries):(l.emojiCountries=r(d[5]),t(l.emojiCountries))}})});e.loadDataAsync=p;e.getEmojiFlagAsync=function(){var n,t,u=arguments;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return n=u.length>0&&void 0!==u[0]?u[0]:'FR',c.next=3,o.default.awrap(p());case 3:if(t=c.sent){c.next=6;break}throw new Error('Unable to find emoji because emojiCountries is undefined');case 6:return c.abrupt("return",t[n].flag);case 7:case"end":return c.stop()}})};e.getImageFlagAsync=function(){var n,t,c=arguments;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:'FR',s.next=3,o.default.awrap(p(u.FlagType.FLAT));case 3:if(t=s.sent){s.next=6;break}throw new Error('Unable to find image because imageCountries is undefined');case 6:return s.abrupt("return",t[n].flag);case 7:case"end":return s.stop()}})};var y=function(){var n,t,u,c=arguments;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=c.length>0&&void 0!==c[0]?c[0]:'FR',t=c.length>1&&void 0!==c[1]?c[1]:'common',s.next=4,o.default.awrap(p());case 4:if(u=s.sent){s.next=7;break}throw new Error('Unable to find image because imageCountries is undefined');case 7:return s.abrupt("return",u[n].name?u[n].name[t]:u[n].name.common);case 8:case"end":return s.stop()}})};e.getCountryNameAsync=y;var h=function(n){var t;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,o.default.awrap(p());case 2:if(t=u.sent){u.next=5;break}throw new Error('Unable to find image because imageCountries is undefined');case 5:return u.abrupt("return",t[n].callingCode[0]);case 6:case"end":return u.stop()}})};e.getCountryCallingCodeAsync=h;var v=function(n){var t;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,o.default.awrap(p());case 2:if(t=u.sent){u.next=5;break}throw new Error('Unable to find image because imageCountries is undefined');case 5:return u.abrupt("return",t[n].currency[0]);case 6:case"end":return u.stop()}})};e.getCountryCurrencyAsync=v;var b=function(n){return function(t){return!!n[t]}},C=function(n){return function(t){return!n||t.region===n}},w=function(n){return function(t){return!n||t.subregion===n}},x=function(n){return function(t){return!(n&&n.length>0)||n.includes(t.cca2)}},j=function(n){return function(t){return!(n&&n.length>0)||!n.includes(t.cca2)}};e.getCountriesAsync=function(n){var t,c,s,l,y,h,v,A=arguments;return o.default.async(function(O){for(;;)switch(O.prev=O.next){case 0:return t=A.length>1&&void 0!==A[1]?A[1]:'common',c=A.length>2?A[2]:void 0,s=A.length>3?A[3]:void 0,l=A.length>4?A[4]:void 0,y=A.length>5?A[5]:void 0,O.next=7,o.default.awrap(p(n));case 7:if(h=O.sent){O.next=10;break}return O.abrupt("return",[]);case 10:return v=u.CountryCodeList.filter(b(h)).map(function(n){return f({cca2:n},f({},h[n],{name:h[n].name[t]||h[n].name.common}))}).filter(C(c)).filter(w(s)).filter(x(l)).filter(j(y)).sort(function(n,t){return n.name.localeCompare(t.name)}),O.abrupt("return",v);case 12:case"end":return O.stop()}})};var A,O={shouldSort:!0,threshold:.6,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:['name','callingCode']};e.search=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'',t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O;return 0===t.length?[]:(A||(A=new c.default(t,o)),n&&''!==n?A.search(n):t)};e.getLetters=function(n){return t=n.map(function(n){return n.name.substr(0,1).toLocaleUpperCase()}).sort(function(n,t){return n.localeCompare(t)}),Array.from(new Set(t));var t};e.getCountryInfoAsync=function(n){var t,u,c,s,f;return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return t=n.countryCode,u=n.translation,l.next=3,o.default.awrap(y(t,u||'common'));case 3:return c=l.sent,l.next=6,o.default.awrap(v(t));case 6:return s=l.sent,l.next=9,o.default.awrap(h(t));case 9:return f=l.sent,l.abrupt("return",{countryName:c,currency:s,callingCode:f});case 11:case"end":return l.stop()}})}},985,[3,50,272,986,987,988]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.FlagType=e.TranslationLanguageCodeList=e.SubregionList=e.RegionList=e.CountryCodeList=void 0;e.CountryCodeList=['AF','AL','DZ','AS','AD','AO','AI','AQ','AG','AR','AM','AW','AU','AT','AZ','BS','BH','BD','BB','BY','BE','BZ','BJ','BM','BT','BO','BA','BW','BV','BR','IO','VG','BN','BG','BF','BI','KH','CM','CA','CV','BQ','KY','CF','TD','CL','CN','CX','CC','CO','KM','CK','CR','HR','CU','CW','CY','CZ','CD','DK','DJ','DM','DO','EC','EG','SV','GQ','ER','EE','SZ','ET','FK','FO','FJ','FI','FR','GF','PF','TF','GA','GM','GE','DE','GH','GI','GR','GL','GD','GP','GU','GT','GG','GN','GW','GY','HT','HM','HN','HU','IS','IN','ID','IR','IQ','IE','IM','IL','IT','CI','JM','JP','JE','JO','KZ','KE','XK','KW','KG','LA','LV','LB','LS','LR','LY','LI','LT','LU','MO','MK','MG','MW','MY','MV','ML','MT','MH','MQ','MR','MU','YT','MX','FM','MD','MC','MN','ME','MS','MA','MZ','MM','NA','NR','NP','NL','NC','NZ','NI','NE','NG','NU','NF','KP','MP','NO','OM','PK','PW','PS','PA','PG','PY','PE','PH','PN','PL','PT','PR','QA','CG','RO','RU','RW','RE','BL','SH','KN','LC','MF','PM','VC','WS','SM','SA','SN','RS','SC','SL','SG','SX','SK','SI','SB','SO','ZA','GS','KR','SS','ES','LK','SD','SR','SJ','SE','CH','SY','ST','TW','TJ','TZ','TH','TL','TG','TK','TO','TT','TN','TR','TM','TC','TV','UG','UA','AE','GB','US','UM','VI','UY','UZ','VU','VA','VE','VN','WF','EH','YE','ZM','ZW','KI','HK','AX'];e.RegionList=['Africa','Americas','Antarctic','Asia','Europe','Oceania'];e.SubregionList=['Southern Asia','Southern Europe','Northern Africa','Polynesia','Middle Africa','Caribbean','South America','Western Asia','Australia and New Zealand','Western Europe','Eastern Europe','Central America','Western Africa','North America','Southern Africa','Eastern Africa','South-Eastern Asia','Eastern Asia','Northern Europe','Melanesia','Micronesia','Central Asia','Central Europe'];var A;e.TranslationLanguageCodeList=['common','cym','deu','fra','hrv','ita','jpn','nld','por','rus','spa','svk','fin','zho','isr'],e.FlagType=A,(function(A){A.FLAT="flat",A.EMOJI="emoji"})(A||(e.FlagType=A={}))},986,[]); -__d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(){return(function(t){var n={};function o(s){if(n[s])return n[s].exports;var c=n[s]={i:s,l:!1,exports:{}};return t[s].call(c.exports,c,c.exports,o),c.l=!0,c.exports}return o.m=t,o.c=n,o.d=function(t,n,s){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:s})},o.r=function(t){"undefined"!=typeof Symbol&&("function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag")&&Object.defineProperty(t,"function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag",{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var c in t)o.d(s,c,function(n){return t[n]}.bind(null,c));return s},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=1)})([function(t,n){t.exports=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}},function(t,n,o){function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t})(t)}function c(t,n){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(t,'"'));var o=this._prepareSearchers(t),s=o.tokenSearchers,c=o.fullSearcher,h=this._search(s,c),l=h.weights,u=h.results;return this._computeScore(l,u),this.options.shouldSort&&this._sort(u),n.limit&&"number"==typeof n.limit&&(u=u.slice(0,n.limit)),this._format(u)}},{key:"_prepareSearchers",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=[];if(this.options.tokenize)for(var o=t.split(this.options.tokenSeparator),s=0,c=o.length;s0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=this.list,s={},c=[];if("string"==typeof o[0]){for(var h=0,l=o.length;h1)throw new Error("Key weight has to be > 0 and <= 1");k=k.name}else u[k]={weight:1};this._analyze({key:k,value:this.options.getFn(p,k),record:p,index:f},{resultMap:s,results:c,tokenSearchers:t,fullSearcher:n})}return{weights:u,results:c}}},{key:"_analyze",value:function(t,n){var o=t.key,s=t.arrayIndex,c=void 0===s?-1:s,h=t.value,l=t.record,f=t.index,v=n.tokenSearchers,p=void 0===v?[]:v,y=n.fullSearcher,S=void 0===y?[]:y,k=n.resultMap,b=void 0===k?{}:k,x=n.results,M=void 0===x?[]:x;if(null!=h){var _=!1,L=-1,w=0;if("string"==typeof h){this._log("\nKey: ".concat(""===o?"-":o));var A=S.search(h);if(this._log('Full text: "'.concat(h,'", score: ').concat(A.score)),this.options.tokenize){for(var C=h.split(this.options.tokenSeparator),I=[],O=0;O-1&&(J=(J+L)/2),this._log("Score average:",J);var N=!this.options.tokenize||!this.options.matchAllTokens||w>=p.length;if(this._log("\nCheck Matches: ".concat(N)),(_||A.isMatch)&&N){var R=b[f];R?R.output.push({key:o,arrayIndex:c,value:h,score:J,matchedIndices:A.matchedIndices}):(b[f]={item:l,output:[{key:o,arrayIndex:c,value:h,score:J,matchedIndices:A.matchedIndices}]},M.push(b[f]))}}else if(u(h))for(var q=0,B=h.length;q-1&&(l.arrayIndex=h.arrayIndex),n.matches.push(l)}}}),this.options.includeScore&&c.push(function(t,n){n.score=t.score});for(var h=0,l=t.length;ho)return c(t,this.pattern,s);var l=this.options,u=l.location,f=l.distance,v=l.threshold,p=l.findAllMatches,y=l.minMatchCharLength;return h(t,this.pattern,this.patternAlphabet,{location:u,distance:f,threshold:v,findAllMatches:p,minMatchCharLength:y})}}])&&s(n.prototype,o),t})();t.exports=u},function(t,n){var o=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;t.exports=function(t,n){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,c=new RegExp(n.replace(o,"\\$&").replace(s,"|")),h=t.match(c),l=!!h,u=[];if(l)for(var f=0,v=h.length;f=J;q-=1){var B=q-1,D=o[t.charAt(B)];if(D&&(C[B]=1),R[q]=(R[q+1]<<1|1)&D,0!==E&&(R[q]|=(P[q+1]|P[q])<<1|1|P[q+1]),R[q]&z&&(T=s(n,{errors:E,currentLocation:B,expectedLocation:M,distance:v}))<=L){if(L=T,(w=B)<=M)break;J=Math.max(1,2*M-w)}}if(s(n,{errors:E+1,currentLocation:M,expectedLocation:M,distance:v})>L)break;P=R}return{isMatch:w>=0,score:0===T?.001:T,matchedIndices:c(C,x)}}},function(t,n){t.exports=function(t,n){var o=n.errors,s=void 0===o?0:o,c=n.currentLocation,h=void 0===c?0:c,l=n.expectedLocation,u=void 0===l?0:l,f=n.distance,v=void 0===f?100:f,p=s/t.length,y=Math.abs(u-h);return v?p+y/v:y?1:p}},function(t,n){t.exports=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=[],s=-1,c=-1,h=0,l=t.length;h=n&&o.push([s,c]),s=-1)}return t[h-1]&&h-s>=n&&o.push([s,h-1]),o}},function(t,n){t.exports=function(t){for(var n={},o=t.length,s=0;s=0||(c[o]=t[o]);return c}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var s=function(u,s){return function(u){var v=(function(o){var v,h;function _(){for(var t,u=arguments.length,c=new Array(u),f=0;f-1?t===n.length-1?f(n=n.substring(0,t)):f(n=n.substr(t+1)):n}function c(n){return'string'==typeof n&&n.length>0?':'+n+':':n}var y=String.fromCharCode(65039),s=new RegExp(y,'g');function j(n){return n.replace(s,'')}var p=Object.keys(t).reduce(function(n,o){return n[j(t[o])]=o,n},{}),h={emoji:t,_get:function(n){return t.hasOwnProperty(n)?t[n]:'string'==typeof(o=n)&&':'!==o[0]?c(o):o;var o},get:function(n){return n=f(n),h._get(n)},find:function(n){return h.findByName(n)||h.findByCode(n)},findByName:function(n){var o=f(n),u=t[o];return u?{emoji:u,key:o}:void 0},findByCode:function(n){var o=j(n),u=p[o];return u?{emoji:t[u],key:u}:void 0},hasEmoji:function(n){return h.hasEmojiByName(n)||h.hasEmojiByCode(n)},hasEmojiByName:function(n){var t=h.findByName(n);return!!t&&t.key===f(n)},hasEmojiByCode:function(n){var t=h.findByCode(n);return!!t&&j(t.emoji)===j(n)},which:function(n,t){var o=j(n),u=p[o];return t?c(u):u},emojify:function(n,t,u){return n?n.split(o).map(function(n,o){if(o%2==0)return n;var f=h._get(n),c=f.indexOf(':')>-1;return c&&'function'==typeof t?t(n):c||'function'!=typeof u?f:u(f,n)}).join(''):''},random:function(){var n=Object.keys(t),o=n[Math.floor(Math.random()*n.length)];return{key:o,emoji:h._get(o)}},search:function(n){var o=Object.keys(t),u=f(n);return o.filter(function(n){return 0===n.toString().indexOf(u)}).map(function(n){return{key:n,emoji:h._get(n)}})},unemojify:function(t){return t?n(t).map(function(n){return h.which(n,!0)||n}).join(''):''},replace:function(t,o,f){if(!t)return'';var c='function'==typeof o?o:function(){return o},y=n(t),s=y.map(function(n,t){var o=h.findByCode(n);return o&&f&&' '===y[t+1]&&(y[t+1]=''),o?c(o):n}).join('');return f?s.replace(u,''):s},strip:function(n){return h.replace(n,'',!0)}};m.exports=h},1008,[1009,1010]); -__d(function(g,r,i,a,m,e,d){var t=9007199254740991,n='[object Arguments]',u='[object Function]',f='[object GeneratorFunction]',o='[object Map]',c='[object Set]',l='[object String]',s=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,p="(?:\\ud83c[\\udde6-\\uddff]){2}",y="[\\ud800-\\udbff][\\udc00-\\udfff]",j="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?"+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",p,y].join('|')+")[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?)*"),v='(?:'+["[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]?","[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",p,y,"[\\ud800-\\udfff]"].join('|')+')',h=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+v+j,'g'),O=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),w='object'==typeof g&&g&&g.Object===Object&&g,A='object'==typeof self&&self&&self.Object===Object&&self,S=w||A||Function('return this')();function _(t,n){for(var u=-1,f=t?t.length:0,o=Array(f);++u-1&&n%1==0&&n-1&&n%1==0&&n<=t}function wt(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function mt(t){return!!t&&'object'==typeof t}function At(t){return'string'==typeof t||!jt(t)&&mt(t)&&J.call(t)==l}function St(t){return vt(t)?ct(t):at(t)}function _t(t){return t?k(t,St(t)):[]}m.exports=function(t){if(!t)return[];if(vt(t))return At(t)?P(n=t)?V(n):E(n):lt(t);var n;if(N&&t[N])return F(t[N]());var u=st(t);return(u==o?R:u==c?D:_t)(t)}},1009,[]); -__d(function(a,e,l,o,n,i,_){n.exports={100:"\ud83d\udcaf",1234:"\ud83d\udd22",umbrella_with_rain_drops:"\u2614",coffee:"\u2615",aries:"\u2648",taurus:"\u2649",sagittarius:"\u2650",capricorn:"\u2651",aquarius:"\u2652",pisces:"\u2653",anchor:"\u2693",white_check_mark:"\u2705",sparkles:"\u2728",question:"\u2753",grey_question:"\u2754",grey_exclamation:"\u2755",exclamation:"\u2757",heavy_exclamation_mark:"\u2757",heavy_plus_sign:"\u2795",heavy_minus_sign:"\u2796",heavy_division_sign:"\u2797",hash:"#\ufe0f\u20e3",keycap_star:"*\ufe0f\u20e3",zero:"0\ufe0f\u20e3",one:"1\ufe0f\u20e3",two:"2\ufe0f\u20e3",three:"3\ufe0f\u20e3",four:"4\ufe0f\u20e3",five:"5\ufe0f\u20e3",six:"6\ufe0f\u20e3",seven:"7\ufe0f\u20e3",eight:"8\ufe0f\u20e3",nine:"9\ufe0f\u20e3",copyright:"\xa9\ufe0f",registered:"\xae\ufe0f",mahjong:"\ud83c\udc04",black_joker:"\ud83c\udccf",a:"\ud83c\udd70\ufe0f",b:"\ud83c\udd71\ufe0f",o2:"\ud83c\udd7e\ufe0f",parking:"\ud83c\udd7f\ufe0f",ab:"\ud83c\udd8e",cl:"\ud83c\udd91",cool:"\ud83c\udd92",free:"\ud83c\udd93",id:"\ud83c\udd94",new:"\ud83c\udd95",ng:"\ud83c\udd96",ok:"\ud83c\udd97",sos:"\ud83c\udd98",up:"\ud83c\udd99",vs:"\ud83c\udd9a","flag-ac":"\ud83c\udde6\ud83c\udde8","flag-ad":"\ud83c\udde6\ud83c\udde9","flag-ae":"\ud83c\udde6\ud83c\uddea","flag-af":"\ud83c\udde6\ud83c\uddeb","flag-ag":"\ud83c\udde6\ud83c\uddec","flag-ai":"\ud83c\udde6\ud83c\uddee","flag-al":"\ud83c\udde6\ud83c\uddf1","flag-am":"\ud83c\udde6\ud83c\uddf2","flag-ao":"\ud83c\udde6\ud83c\uddf4","flag-aq":"\ud83c\udde6\ud83c\uddf6","flag-ar":"\ud83c\udde6\ud83c\uddf7","flag-as":"\ud83c\udde6\ud83c\uddf8","flag-at":"\ud83c\udde6\ud83c\uddf9","flag-au":"\ud83c\udde6\ud83c\uddfa","flag-aw":"\ud83c\udde6\ud83c\uddfc","flag-ax":"\ud83c\udde6\ud83c\uddfd","flag-az":"\ud83c\udde6\ud83c\uddff","flag-ba":"\ud83c\udde7\ud83c\udde6","flag-bb":"\ud83c\udde7\ud83c\udde7","flag-bd":"\ud83c\udde7\ud83c\udde9","flag-be":"\ud83c\udde7\ud83c\uddea","flag-bf":"\ud83c\udde7\ud83c\uddeb","flag-bg":"\ud83c\udde7\ud83c\uddec","flag-bh":"\ud83c\udde7\ud83c\udded","flag-bi":"\ud83c\udde7\ud83c\uddee","flag-bj":"\ud83c\udde7\ud83c\uddef","flag-bl":"\ud83c\udde7\ud83c\uddf1","flag-bm":"\ud83c\udde7\ud83c\uddf2","flag-bn":"\ud83c\udde7\ud83c\uddf3","flag-bo":"\ud83c\udde7\ud83c\uddf4","flag-bq":"\ud83c\udde7\ud83c\uddf6","flag-br":"\ud83c\udde7\ud83c\uddf7","flag-bs":"\ud83c\udde7\ud83c\uddf8","flag-bt":"\ud83c\udde7\ud83c\uddf9","flag-bv":"\ud83c\udde7\ud83c\uddfb","flag-bw":"\ud83c\udde7\ud83c\uddfc","flag-by":"\ud83c\udde7\ud83c\uddfe","flag-bz":"\ud83c\udde7\ud83c\uddff","flag-ca":"\ud83c\udde8\ud83c\udde6","flag-cc":"\ud83c\udde8\ud83c\udde8","flag-cd":"\ud83c\udde8\ud83c\udde9","flag-cf":"\ud83c\udde8\ud83c\uddeb","flag-cg":"\ud83c\udde8\ud83c\uddec","flag-ch":"\ud83c\udde8\ud83c\udded","flag-ci":"\ud83c\udde8\ud83c\uddee","flag-ck":"\ud83c\udde8\ud83c\uddf0","flag-cl":"\ud83c\udde8\ud83c\uddf1","flag-cm":"\ud83c\udde8\ud83c\uddf2",cn:"\ud83c\udde8\ud83c\uddf3","flag-cn":"\ud83c\udde8\ud83c\uddf3","flag-co":"\ud83c\udde8\ud83c\uddf4","flag-cp":"\ud83c\udde8\ud83c\uddf5","flag-cr":"\ud83c\udde8\ud83c\uddf7","flag-cu":"\ud83c\udde8\ud83c\uddfa","flag-cv":"\ud83c\udde8\ud83c\uddfb","flag-cw":"\ud83c\udde8\ud83c\uddfc","flag-cx":"\ud83c\udde8\ud83c\uddfd","flag-cy":"\ud83c\udde8\ud83c\uddfe","flag-cz":"\ud83c\udde8\ud83c\uddff",de:"\ud83c\udde9\ud83c\uddea","flag-de":"\ud83c\udde9\ud83c\uddea","flag-dg":"\ud83c\udde9\ud83c\uddec","flag-dj":"\ud83c\udde9\ud83c\uddef","flag-dk":"\ud83c\udde9\ud83c\uddf0","flag-dm":"\ud83c\udde9\ud83c\uddf2","flag-do":"\ud83c\udde9\ud83c\uddf4","flag-dz":"\ud83c\udde9\ud83c\uddff","flag-ea":"\ud83c\uddea\ud83c\udde6","flag-ec":"\ud83c\uddea\ud83c\udde8","flag-ee":"\ud83c\uddea\ud83c\uddea","flag-eg":"\ud83c\uddea\ud83c\uddec","flag-eh":"\ud83c\uddea\ud83c\udded","flag-er":"\ud83c\uddea\ud83c\uddf7",es:"\ud83c\uddea\ud83c\uddf8","flag-es":"\ud83c\uddea\ud83c\uddf8","flag-et":"\ud83c\uddea\ud83c\uddf9","flag-eu":"\ud83c\uddea\ud83c\uddfa","flag-fi":"\ud83c\uddeb\ud83c\uddee","flag-fj":"\ud83c\uddeb\ud83c\uddef","flag-fk":"\ud83c\uddeb\ud83c\uddf0","flag-fm":"\ud83c\uddeb\ud83c\uddf2","flag-fo":"\ud83c\uddeb\ud83c\uddf4",fr:"\ud83c\uddeb\ud83c\uddf7","flag-fr":"\ud83c\uddeb\ud83c\uddf7","flag-ga":"\ud83c\uddec\ud83c\udde6",gb:"\ud83c\uddec\ud83c\udde7",uk:"\ud83c\uddec\ud83c\udde7","flag-gb":"\ud83c\uddec\ud83c\udde7","flag-gd":"\ud83c\uddec\ud83c\udde9","flag-ge":"\ud83c\uddec\ud83c\uddea","flag-gf":"\ud83c\uddec\ud83c\uddeb","flag-gg":"\ud83c\uddec\ud83c\uddec","flag-gh":"\ud83c\uddec\ud83c\udded","flag-gi":"\ud83c\uddec\ud83c\uddee","flag-gl":"\ud83c\uddec\ud83c\uddf1","flag-gm":"\ud83c\uddec\ud83c\uddf2","flag-gn":"\ud83c\uddec\ud83c\uddf3","flag-gp":"\ud83c\uddec\ud83c\uddf5","flag-gq":"\ud83c\uddec\ud83c\uddf6","flag-gr":"\ud83c\uddec\ud83c\uddf7","flag-gs":"\ud83c\uddec\ud83c\uddf8","flag-gt":"\ud83c\uddec\ud83c\uddf9","flag-gu":"\ud83c\uddec\ud83c\uddfa","flag-gw":"\ud83c\uddec\ud83c\uddfc","flag-gy":"\ud83c\uddec\ud83c\uddfe","flag-hk":"\ud83c\udded\ud83c\uddf0","flag-hm":"\ud83c\udded\ud83c\uddf2","flag-hn":"\ud83c\udded\ud83c\uddf3","flag-hr":"\ud83c\udded\ud83c\uddf7","flag-ht":"\ud83c\udded\ud83c\uddf9","flag-hu":"\ud83c\udded\ud83c\uddfa","flag-ic":"\ud83c\uddee\ud83c\udde8","flag-id":"\ud83c\uddee\ud83c\udde9","flag-ie":"\ud83c\uddee\ud83c\uddea","flag-il":"\ud83c\uddee\ud83c\uddf1","flag-im":"\ud83c\uddee\ud83c\uddf2","flag-in":"\ud83c\uddee\ud83c\uddf3","flag-io":"\ud83c\uddee\ud83c\uddf4","flag-iq":"\ud83c\uddee\ud83c\uddf6","flag-ir":"\ud83c\uddee\ud83c\uddf7","flag-is":"\ud83c\uddee\ud83c\uddf8",it:"\ud83c\uddee\ud83c\uddf9","flag-it":"\ud83c\uddee\ud83c\uddf9","flag-je":"\ud83c\uddef\ud83c\uddea","flag-jm":"\ud83c\uddef\ud83c\uddf2","flag-jo":"\ud83c\uddef\ud83c\uddf4",jp:"\ud83c\uddef\ud83c\uddf5","flag-jp":"\ud83c\uddef\ud83c\uddf5","flag-ke":"\ud83c\uddf0\ud83c\uddea","flag-kg":"\ud83c\uddf0\ud83c\uddec","flag-kh":"\ud83c\uddf0\ud83c\udded","flag-ki":"\ud83c\uddf0\ud83c\uddee","flag-km":"\ud83c\uddf0\ud83c\uddf2","flag-kn":"\ud83c\uddf0\ud83c\uddf3","flag-kp":"\ud83c\uddf0\ud83c\uddf5",kr:"\ud83c\uddf0\ud83c\uddf7","flag-kr":"\ud83c\uddf0\ud83c\uddf7","flag-kw":"\ud83c\uddf0\ud83c\uddfc","flag-ky":"\ud83c\uddf0\ud83c\uddfe","flag-kz":"\ud83c\uddf0\ud83c\uddff","flag-la":"\ud83c\uddf1\ud83c\udde6","flag-lb":"\ud83c\uddf1\ud83c\udde7","flag-lc":"\ud83c\uddf1\ud83c\udde8","flag-li":"\ud83c\uddf1\ud83c\uddee","flag-lk":"\ud83c\uddf1\ud83c\uddf0","flag-lr":"\ud83c\uddf1\ud83c\uddf7","flag-ls":"\ud83c\uddf1\ud83c\uddf8","flag-lt":"\ud83c\uddf1\ud83c\uddf9","flag-lu":"\ud83c\uddf1\ud83c\uddfa","flag-lv":"\ud83c\uddf1\ud83c\uddfb","flag-ly":"\ud83c\uddf1\ud83c\uddfe","flag-ma":"\ud83c\uddf2\ud83c\udde6","flag-mc":"\ud83c\uddf2\ud83c\udde8","flag-md":"\ud83c\uddf2\ud83c\udde9","flag-me":"\ud83c\uddf2\ud83c\uddea","flag-mf":"\ud83c\uddf2\ud83c\uddeb","flag-mg":"\ud83c\uddf2\ud83c\uddec","flag-mh":"\ud83c\uddf2\ud83c\udded","flag-mk":"\ud83c\uddf2\ud83c\uddf0","flag-ml":"\ud83c\uddf2\ud83c\uddf1","flag-mm":"\ud83c\uddf2\ud83c\uddf2","flag-mn":"\ud83c\uddf2\ud83c\uddf3","flag-mo":"\ud83c\uddf2\ud83c\uddf4","flag-mp":"\ud83c\uddf2\ud83c\uddf5","flag-mq":"\ud83c\uddf2\ud83c\uddf6","flag-mr":"\ud83c\uddf2\ud83c\uddf7","flag-ms":"\ud83c\uddf2\ud83c\uddf8","flag-mt":"\ud83c\uddf2\ud83c\uddf9","flag-mu":"\ud83c\uddf2\ud83c\uddfa","flag-mv":"\ud83c\uddf2\ud83c\uddfb","flag-mw":"\ud83c\uddf2\ud83c\uddfc","flag-mx":"\ud83c\uddf2\ud83c\uddfd","flag-my":"\ud83c\uddf2\ud83c\uddfe","flag-mz":"\ud83c\uddf2\ud83c\uddff","flag-na":"\ud83c\uddf3\ud83c\udde6","flag-nc":"\ud83c\uddf3\ud83c\udde8","flag-ne":"\ud83c\uddf3\ud83c\uddea","flag-nf":"\ud83c\uddf3\ud83c\uddeb","flag-ng":"\ud83c\uddf3\ud83c\uddec","flag-ni":"\ud83c\uddf3\ud83c\uddee","flag-nl":"\ud83c\uddf3\ud83c\uddf1","flag-no":"\ud83c\uddf3\ud83c\uddf4","flag-np":"\ud83c\uddf3\ud83c\uddf5","flag-nr":"\ud83c\uddf3\ud83c\uddf7","flag-nu":"\ud83c\uddf3\ud83c\uddfa","flag-nz":"\ud83c\uddf3\ud83c\uddff","flag-om":"\ud83c\uddf4\ud83c\uddf2","flag-pa":"\ud83c\uddf5\ud83c\udde6","flag-pe":"\ud83c\uddf5\ud83c\uddea","flag-pf":"\ud83c\uddf5\ud83c\uddeb","flag-pg":"\ud83c\uddf5\ud83c\uddec","flag-ph":"\ud83c\uddf5\ud83c\udded","flag-pk":"\ud83c\uddf5\ud83c\uddf0","flag-pl":"\ud83c\uddf5\ud83c\uddf1","flag-pm":"\ud83c\uddf5\ud83c\uddf2","flag-pn":"\ud83c\uddf5\ud83c\uddf3","flag-pr":"\ud83c\uddf5\ud83c\uddf7","flag-ps":"\ud83c\uddf5\ud83c\uddf8","flag-pt":"\ud83c\uddf5\ud83c\uddf9","flag-pw":"\ud83c\uddf5\ud83c\uddfc","flag-py":"\ud83c\uddf5\ud83c\uddfe","flag-qa":"\ud83c\uddf6\ud83c\udde6","flag-re":"\ud83c\uddf7\ud83c\uddea","flag-ro":"\ud83c\uddf7\ud83c\uddf4","flag-rs":"\ud83c\uddf7\ud83c\uddf8",ru:"\ud83c\uddf7\ud83c\uddfa","flag-ru":"\ud83c\uddf7\ud83c\uddfa","flag-rw":"\ud83c\uddf7\ud83c\uddfc","flag-sa":"\ud83c\uddf8\ud83c\udde6","flag-sb":"\ud83c\uddf8\ud83c\udde7","flag-sc":"\ud83c\uddf8\ud83c\udde8","flag-sd":"\ud83c\uddf8\ud83c\udde9","flag-se":"\ud83c\uddf8\ud83c\uddea","flag-sg":"\ud83c\uddf8\ud83c\uddec","flag-sh":"\ud83c\uddf8\ud83c\udded","flag-si":"\ud83c\uddf8\ud83c\uddee","flag-sj":"\ud83c\uddf8\ud83c\uddef","flag-sk":"\ud83c\uddf8\ud83c\uddf0","flag-sl":"\ud83c\uddf8\ud83c\uddf1","flag-sm":"\ud83c\uddf8\ud83c\uddf2","flag-sn":"\ud83c\uddf8\ud83c\uddf3","flag-so":"\ud83c\uddf8\ud83c\uddf4","flag-sr":"\ud83c\uddf8\ud83c\uddf7","flag-ss":"\ud83c\uddf8\ud83c\uddf8","flag-st":"\ud83c\uddf8\ud83c\uddf9","flag-sv":"\ud83c\uddf8\ud83c\uddfb","flag-sx":"\ud83c\uddf8\ud83c\uddfd","flag-sy":"\ud83c\uddf8\ud83c\uddfe","flag-sz":"\ud83c\uddf8\ud83c\uddff","flag-ta":"\ud83c\uddf9\ud83c\udde6","flag-tc":"\ud83c\uddf9\ud83c\udde8","flag-td":"\ud83c\uddf9\ud83c\udde9","flag-tf":"\ud83c\uddf9\ud83c\uddeb","flag-tg":"\ud83c\uddf9\ud83c\uddec","flag-th":"\ud83c\uddf9\ud83c\udded","flag-tj":"\ud83c\uddf9\ud83c\uddef","flag-tk":"\ud83c\uddf9\ud83c\uddf0","flag-tl":"\ud83c\uddf9\ud83c\uddf1","flag-tm":"\ud83c\uddf9\ud83c\uddf2","flag-tn":"\ud83c\uddf9\ud83c\uddf3","flag-to":"\ud83c\uddf9\ud83c\uddf4","flag-tr":"\ud83c\uddf9\ud83c\uddf7","flag-tt":"\ud83c\uddf9\ud83c\uddf9","flag-tv":"\ud83c\uddf9\ud83c\uddfb","flag-tw":"\ud83c\uddf9\ud83c\uddfc","flag-tz":"\ud83c\uddf9\ud83c\uddff","flag-ua":"\ud83c\uddfa\ud83c\udde6","flag-ug":"\ud83c\uddfa\ud83c\uddec","flag-um":"\ud83c\uddfa\ud83c\uddf2","flag-un":"\ud83c\uddfa\ud83c\uddf3",us:"\ud83c\uddfa\ud83c\uddf8","flag-us":"\ud83c\uddfa\ud83c\uddf8","flag-uy":"\ud83c\uddfa\ud83c\uddfe","flag-uz":"\ud83c\uddfa\ud83c\uddff","flag-va":"\ud83c\uddfb\ud83c\udde6","flag-vc":"\ud83c\uddfb\ud83c\udde8","flag-ve":"\ud83c\uddfb\ud83c\uddea","flag-vg":"\ud83c\uddfb\ud83c\uddec","flag-vi":"\ud83c\uddfb\ud83c\uddee","flag-vn":"\ud83c\uddfb\ud83c\uddf3","flag-vu":"\ud83c\uddfb\ud83c\uddfa","flag-wf":"\ud83c\uddfc\ud83c\uddeb","flag-ws":"\ud83c\uddfc\ud83c\uddf8","flag-xk":"\ud83c\uddfd\ud83c\uddf0","flag-ye":"\ud83c\uddfe\ud83c\uddea","flag-yt":"\ud83c\uddfe\ud83c\uddf9","flag-za":"\ud83c\uddff\ud83c\udde6","flag-zm":"\ud83c\uddff\ud83c\uddf2","flag-zw":"\ud83c\uddff\ud83c\uddfc",koko:"\ud83c\ude01",sa:"\ud83c\ude02\ufe0f",u7121:"\ud83c\ude1a",u6307:"\ud83c\ude2f",u7981:"\ud83c\ude32",u7a7a:"\ud83c\ude33",u5408:"\ud83c\ude34",u6e80:"\ud83c\ude35",u6709:"\ud83c\ude36",u6708:"\ud83c\ude37\ufe0f",u7533:"\ud83c\ude38",u5272:"\ud83c\ude39",u55b6:"\ud83c\ude3a",ideograph_advantage:"\ud83c\ude50",accept:"\ud83c\ude51",cyclone:"\ud83c\udf00",foggy:"\ud83c\udf01",closed_umbrella:"\ud83c\udf02",night_with_stars:"\ud83c\udf03",sunrise_over_mountains:"\ud83c\udf04",sunrise:"\ud83c\udf05",city_sunset:"\ud83c\udf06",city_sunrise:"\ud83c\udf07",rainbow:"\ud83c\udf08",bridge_at_night:"\ud83c\udf09",ocean:"\ud83c\udf0a",volcano:"\ud83c\udf0b",milky_way:"\ud83c\udf0c",earth_africa:"\ud83c\udf0d",earth_americas:"\ud83c\udf0e",earth_asia:"\ud83c\udf0f",globe_with_meridians:"\ud83c\udf10",new_moon:"\ud83c\udf11",waxing_crescent_moon:"\ud83c\udf12",first_quarter_moon:"\ud83c\udf13",moon:"\ud83c\udf14",waxing_gibbous_moon:"\ud83c\udf14",full_moon:"\ud83c\udf15",waning_gibbous_moon:"\ud83c\udf16",last_quarter_moon:"\ud83c\udf17",waning_crescent_moon:"\ud83c\udf18",crescent_moon:"\ud83c\udf19",new_moon_with_face:"\ud83c\udf1a",first_quarter_moon_with_face:"\ud83c\udf1b",last_quarter_moon_with_face:"\ud83c\udf1c",full_moon_with_face:"\ud83c\udf1d",sun_with_face:"\ud83c\udf1e",star2:"\ud83c\udf1f",stars:"\ud83c\udf20",thermometer:"\ud83c\udf21\ufe0f",mostly_sunny:"\ud83c\udf24\ufe0f",sun_small_cloud:"\ud83c\udf24\ufe0f",barely_sunny:"\ud83c\udf25\ufe0f",sun_behind_cloud:"\ud83c\udf25\ufe0f",partly_sunny_rain:"\ud83c\udf26\ufe0f",sun_behind_rain_cloud:"\ud83c\udf26\ufe0f",rain_cloud:"\ud83c\udf27\ufe0f",snow_cloud:"\ud83c\udf28\ufe0f",lightning:"\ud83c\udf29\ufe0f",lightning_cloud:"\ud83c\udf29\ufe0f",tornado:"\ud83c\udf2a\ufe0f",tornado_cloud:"\ud83c\udf2a\ufe0f",fog:"\ud83c\udf2b\ufe0f",wind_blowing_face:"\ud83c\udf2c\ufe0f",hotdog:"\ud83c\udf2d",taco:"\ud83c\udf2e",burrito:"\ud83c\udf2f",chestnut:"\ud83c\udf30",seedling:"\ud83c\udf31",evergreen_tree:"\ud83c\udf32",deciduous_tree:"\ud83c\udf33",palm_tree:"\ud83c\udf34",cactus:"\ud83c\udf35",hot_pepper:"\ud83c\udf36\ufe0f",tulip:"\ud83c\udf37",cherry_blossom:"\ud83c\udf38",rose:"\ud83c\udf39",hibiscus:"\ud83c\udf3a",sunflower:"\ud83c\udf3b",blossom:"\ud83c\udf3c",corn:"\ud83c\udf3d",ear_of_rice:"\ud83c\udf3e",herb:"\ud83c\udf3f",four_leaf_clover:"\ud83c\udf40",maple_leaf:"\ud83c\udf41",fallen_leaf:"\ud83c\udf42",leaves:"\ud83c\udf43",mushroom:"\ud83c\udf44",tomato:"\ud83c\udf45",eggplant:"\ud83c\udf46",grapes:"\ud83c\udf47",melon:"\ud83c\udf48",watermelon:"\ud83c\udf49",tangerine:"\ud83c\udf4a",lemon:"\ud83c\udf4b",banana:"\ud83c\udf4c",pineapple:"\ud83c\udf4d",apple:"\ud83c\udf4e",green_apple:"\ud83c\udf4f",pear:"\ud83c\udf50",peach:"\ud83c\udf51",cherries:"\ud83c\udf52",strawberry:"\ud83c\udf53",hamburger:"\ud83c\udf54",pizza:"\ud83c\udf55",meat_on_bone:"\ud83c\udf56",poultry_leg:"\ud83c\udf57",rice_cracker:"\ud83c\udf58",rice_ball:"\ud83c\udf59",rice:"\ud83c\udf5a",curry:"\ud83c\udf5b",ramen:"\ud83c\udf5c",spaghetti:"\ud83c\udf5d",bread:"\ud83c\udf5e",fries:"\ud83c\udf5f",sweet_potato:"\ud83c\udf60",dango:"\ud83c\udf61",oden:"\ud83c\udf62",sushi:"\ud83c\udf63",fried_shrimp:"\ud83c\udf64",fish_cake:"\ud83c\udf65",icecream:"\ud83c\udf66",shaved_ice:"\ud83c\udf67",ice_cream:"\ud83c\udf68",doughnut:"\ud83c\udf69",cookie:"\ud83c\udf6a",chocolate_bar:"\ud83c\udf6b",candy:"\ud83c\udf6c",lollipop:"\ud83c\udf6d",custard:"\ud83c\udf6e",honey_pot:"\ud83c\udf6f",cake:"\ud83c\udf70",bento:"\ud83c\udf71",stew:"\ud83c\udf72",fried_egg:"\ud83c\udf73",cooking:"\ud83c\udf73",fork_and_knife:"\ud83c\udf74",tea:"\ud83c\udf75",sake:"\ud83c\udf76",wine_glass:"\ud83c\udf77",cocktail:"\ud83c\udf78",tropical_drink:"\ud83c\udf79",beer:"\ud83c\udf7a",beers:"\ud83c\udf7b",baby_bottle:"\ud83c\udf7c",knife_fork_plate:"\ud83c\udf7d\ufe0f",champagne:"\ud83c\udf7e",popcorn:"\ud83c\udf7f",ribbon:"\ud83c\udf80",gift:"\ud83c\udf81",birthday:"\ud83c\udf82",jack_o_lantern:"\ud83c\udf83",christmas_tree:"\ud83c\udf84",santa:"\ud83c\udf85",fireworks:"\ud83c\udf86",sparkler:"\ud83c\udf87",balloon:"\ud83c\udf88",tada:"\ud83c\udf89",confetti_ball:"\ud83c\udf8a",tanabata_tree:"\ud83c\udf8b",crossed_flags:"\ud83c\udf8c",bamboo:"\ud83c\udf8d",dolls:"\ud83c\udf8e",flags:"\ud83c\udf8f",wind_chime:"\ud83c\udf90",rice_scene:"\ud83c\udf91",school_satchel:"\ud83c\udf92",mortar_board:"\ud83c\udf93",medal:"\ud83c\udf96\ufe0f",reminder_ribbon:"\ud83c\udf97\ufe0f",studio_microphone:"\ud83c\udf99\ufe0f",level_slider:"\ud83c\udf9a\ufe0f",control_knobs:"\ud83c\udf9b\ufe0f",film_frames:"\ud83c\udf9e\ufe0f",admission_tickets:"\ud83c\udf9f\ufe0f",carousel_horse:"\ud83c\udfa0",ferris_wheel:"\ud83c\udfa1",roller_coaster:"\ud83c\udfa2",fishing_pole_and_fish:"\ud83c\udfa3",microphone:"\ud83c\udfa4",movie_camera:"\ud83c\udfa5",cinema:"\ud83c\udfa6",headphones:"\ud83c\udfa7",art:"\ud83c\udfa8",tophat:"\ud83c\udfa9",circus_tent:"\ud83c\udfaa",ticket:"\ud83c\udfab",clapper:"\ud83c\udfac",performing_arts:"\ud83c\udfad",video_game:"\ud83c\udfae",dart:"\ud83c\udfaf",slot_machine:"\ud83c\udfb0","8ball":"\ud83c\udfb1",game_die:"\ud83c\udfb2",bowling:"\ud83c\udfb3",flower_playing_cards:"\ud83c\udfb4",musical_note:"\ud83c\udfb5",notes:"\ud83c\udfb6",saxophone:"\ud83c\udfb7",guitar:"\ud83c\udfb8",musical_keyboard:"\ud83c\udfb9",trumpet:"\ud83c\udfba",violin:"\ud83c\udfbb",musical_score:"\ud83c\udfbc",running_shirt_with_sash:"\ud83c\udfbd",tennis:"\ud83c\udfbe",ski:"\ud83c\udfbf",basketball:"\ud83c\udfc0",checkered_flag:"\ud83c\udfc1",snowboarder:"\ud83c\udfc2","woman-running":"\ud83c\udfc3\u200d\u2640\ufe0f","man-running":"\ud83c\udfc3\u200d\u2642\ufe0f",runner:"\ud83c\udfc3\u200d\u2642\ufe0f",running:"\ud83c\udfc3\u200d\u2642\ufe0f","woman-surfing":"\ud83c\udfc4\u200d\u2640\ufe0f","man-surfing":"\ud83c\udfc4\u200d\u2642\ufe0f",surfer:"\ud83c\udfc4\u200d\u2642\ufe0f",sports_medal:"\ud83c\udfc5",trophy:"\ud83c\udfc6",horse_racing:"\ud83c\udfc7",football:"\ud83c\udfc8",rugby_football:"\ud83c\udfc9","woman-swimming":"\ud83c\udfca\u200d\u2640\ufe0f","man-swimming":"\ud83c\udfca\u200d\u2642\ufe0f",swimmer:"\ud83c\udfca\u200d\u2642\ufe0f","woman-lifting-weights":"\ud83c\udfcb\ufe0f\u200d\u2640\ufe0f","man-lifting-weights":"\ud83c\udfcb\ufe0f\u200d\u2642\ufe0f",weight_lifter:"\ud83c\udfcb\ufe0f\u200d\u2642\ufe0f","woman-golfing":"\ud83c\udfcc\ufe0f\u200d\u2640\ufe0f","man-golfing":"\ud83c\udfcc\ufe0f\u200d\u2642\ufe0f",golfer:"\ud83c\udfcc\ufe0f\u200d\u2642\ufe0f",racing_motorcycle:"\ud83c\udfcd\ufe0f",racing_car:"\ud83c\udfce\ufe0f",cricket_bat_and_ball:"\ud83c\udfcf",volleyball:"\ud83c\udfd0",field_hockey_stick_and_ball:"\ud83c\udfd1",ice_hockey_stick_and_puck:"\ud83c\udfd2",table_tennis_paddle_and_ball:"\ud83c\udfd3",snow_capped_mountain:"\ud83c\udfd4\ufe0f",camping:"\ud83c\udfd5\ufe0f",beach_with_umbrella:"\ud83c\udfd6\ufe0f",building_construction:"\ud83c\udfd7\ufe0f",house_buildings:"\ud83c\udfd8\ufe0f",cityscape:"\ud83c\udfd9\ufe0f",derelict_house_building:"\ud83c\udfda\ufe0f",classical_building:"\ud83c\udfdb\ufe0f",desert:"\ud83c\udfdc\ufe0f",desert_island:"\ud83c\udfdd\ufe0f",national_park:"\ud83c\udfde\ufe0f",stadium:"\ud83c\udfdf\ufe0f",house:"\ud83c\udfe0",house_with_garden:"\ud83c\udfe1",office:"\ud83c\udfe2",post_office:"\ud83c\udfe3",european_post_office:"\ud83c\udfe4",hospital:"\ud83c\udfe5",bank:"\ud83c\udfe6",atm:"\ud83c\udfe7",hotel:"\ud83c\udfe8",love_hotel:"\ud83c\udfe9",convenience_store:"\ud83c\udfea",school:"\ud83c\udfeb",department_store:"\ud83c\udfec",factory:"\ud83c\udfed",izakaya_lantern:"\ud83c\udfee",lantern:"\ud83c\udfee",japanese_castle:"\ud83c\udfef",european_castle:"\ud83c\udff0","rainbow-flag":"\ud83c\udff3\ufe0f\u200d\ud83c\udf08",waving_white_flag:"\ud83c\udff3\ufe0f","flag-england":"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","flag-scotland":"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f","flag-wales":"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f",waving_black_flag:"\ud83c\udff4",rosette:"\ud83c\udff5\ufe0f",label:"\ud83c\udff7\ufe0f",badminton_racquet_and_shuttlecock:"\ud83c\udff8",bow_and_arrow:"\ud83c\udff9",amphora:"\ud83c\udffa","skin-tone-2":"\ud83c\udffb","skin-tone-3":"\ud83c\udffc","skin-tone-4":"\ud83c\udffd","skin-tone-5":"\ud83c\udffe","skin-tone-6":"\ud83c\udfff",rat:"\ud83d\udc00",mouse2:"\ud83d\udc01",ox:"\ud83d\udc02",water_buffalo:"\ud83d\udc03",cow2:"\ud83d\udc04",tiger2:"\ud83d\udc05",leopard:"\ud83d\udc06",rabbit2:"\ud83d\udc07",cat2:"\ud83d\udc08",dragon:"\ud83d\udc09",crocodile:"\ud83d\udc0a",whale2:"\ud83d\udc0b",snail:"\ud83d\udc0c",snake:"\ud83d\udc0d",racehorse:"\ud83d\udc0e",ram:"\ud83d\udc0f",goat:"\ud83d\udc10",sheep:"\ud83d\udc11",monkey:"\ud83d\udc12",rooster:"\ud83d\udc13",chicken:"\ud83d\udc14",dog2:"\ud83d\udc15",pig2:"\ud83d\udc16",boar:"\ud83d\udc17",elephant:"\ud83d\udc18",octopus:"\ud83d\udc19",shell:"\ud83d\udc1a",bug:"\ud83d\udc1b",ant:"\ud83d\udc1c",bee:"\ud83d\udc1d",honeybee:"\ud83d\udc1d",beetle:"\ud83d\udc1e",fish:"\ud83d\udc1f",tropical_fish:"\ud83d\udc20",blowfish:"\ud83d\udc21",turtle:"\ud83d\udc22",hatching_chick:"\ud83d\udc23",baby_chick:"\ud83d\udc24",hatched_chick:"\ud83d\udc25",bird:"\ud83d\udc26",penguin:"\ud83d\udc27",koala:"\ud83d\udc28",poodle:"\ud83d\udc29",dromedary_camel:"\ud83d\udc2a",camel:"\ud83d\udc2b",dolphin:"\ud83d\udc2c",flipper:"\ud83d\udc2c",mouse:"\ud83d\udc2d",cow:"\ud83d\udc2e",tiger:"\ud83d\udc2f",rabbit:"\ud83d\udc30",cat:"\ud83d\udc31",dragon_face:"\ud83d\udc32",whale:"\ud83d\udc33",horse:"\ud83d\udc34",monkey_face:"\ud83d\udc35",dog:"\ud83d\udc36",pig:"\ud83d\udc37",frog:"\ud83d\udc38",hamster:"\ud83d\udc39",wolf:"\ud83d\udc3a",bear:"\ud83d\udc3b",panda_face:"\ud83d\udc3c",pig_nose:"\ud83d\udc3d",feet:"\ud83d\udc3e",paw_prints:"\ud83d\udc3e",chipmunk:"\ud83d\udc3f\ufe0f",eyes:"\ud83d\udc40","eye-in-speech-bubble":"\ud83d\udc41\ufe0f\u200d\ud83d\udde8\ufe0f",eye:"\ud83d\udc41\ufe0f",ear:"\ud83d\udc42",nose:"\ud83d\udc43",lips:"\ud83d\udc44",tongue:"\ud83d\udc45",point_up_2:"\ud83d\udc46",point_down:"\ud83d\udc47",point_left:"\ud83d\udc48",point_right:"\ud83d\udc49",facepunch:"\ud83d\udc4a",punch:"\ud83d\udc4a",wave:"\ud83d\udc4b",ok_hand:"\ud83d\udc4c","+1":"\ud83d\udc4d",thumbsup:"\ud83d\udc4d","-1":"\ud83d\udc4e",thumbsdown:"\ud83d\udc4e",clap:"\ud83d\udc4f",open_hands:"\ud83d\udc50",crown:"\ud83d\udc51",womans_hat:"\ud83d\udc52",eyeglasses:"\ud83d\udc53",necktie:"\ud83d\udc54",shirt:"\ud83d\udc55",tshirt:"\ud83d\udc55",jeans:"\ud83d\udc56",dress:"\ud83d\udc57",kimono:"\ud83d\udc58",bikini:"\ud83d\udc59",womans_clothes:"\ud83d\udc5a",purse:"\ud83d\udc5b",handbag:"\ud83d\udc5c",pouch:"\ud83d\udc5d",mans_shoe:"\ud83d\udc5e",shoe:"\ud83d\udc5e",athletic_shoe:"\ud83d\udc5f",high_heel:"\ud83d\udc60",sandal:"\ud83d\udc61",boot:"\ud83d\udc62",footprints:"\ud83d\udc63",bust_in_silhouette:"\ud83d\udc64",busts_in_silhouette:"\ud83d\udc65",boy:"\ud83d\udc66",girl:"\ud83d\udc67","male-farmer":"\ud83d\udc68\u200d\ud83c\udf3e","male-cook":"\ud83d\udc68\u200d\ud83c\udf73","male-student":"\ud83d\udc68\u200d\ud83c\udf93","male-singer":"\ud83d\udc68\u200d\ud83c\udfa4","male-artist":"\ud83d\udc68\u200d\ud83c\udfa8","male-teacher":"\ud83d\udc68\u200d\ud83c\udfeb","male-factory-worker":"\ud83d\udc68\u200d\ud83c\udfed","man-boy-boy":"\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66","man-boy":"\ud83d\udc68\u200d\ud83d\udc66","man-girl-boy":"\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66","man-girl-girl":"\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67","man-girl":"\ud83d\udc68\u200d\ud83d\udc67","man-man-boy":"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66","man-man-boy-boy":"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66","man-man-girl":"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67","man-man-girl-boy":"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66","man-man-girl-girl":"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67","man-woman-boy":"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66",family:"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66","man-woman-boy-boy":"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66","man-woman-girl":"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67","man-woman-girl-boy":"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66","man-woman-girl-girl":"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67","male-technologist":"\ud83d\udc68\u200d\ud83d\udcbb","male-office-worker":"\ud83d\udc68\u200d\ud83d\udcbc","male-mechanic":"\ud83d\udc68\u200d\ud83d\udd27","male-scientist":"\ud83d\udc68\u200d\ud83d\udd2c","male-astronaut":"\ud83d\udc68\u200d\ud83d\ude80","male-firefighter":"\ud83d\udc68\u200d\ud83d\ude92","male-doctor":"\ud83d\udc68\u200d\u2695\ufe0f","male-judge":"\ud83d\udc68\u200d\u2696\ufe0f","male-pilot":"\ud83d\udc68\u200d\u2708\ufe0f","man-heart-man":"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68","man-kiss-man":"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",man:"\ud83d\udc68","female-farmer":"\ud83d\udc69\u200d\ud83c\udf3e","female-cook":"\ud83d\udc69\u200d\ud83c\udf73","female-student":"\ud83d\udc69\u200d\ud83c\udf93","female-singer":"\ud83d\udc69\u200d\ud83c\udfa4","female-artist":"\ud83d\udc69\u200d\ud83c\udfa8","female-teacher":"\ud83d\udc69\u200d\ud83c\udfeb","female-factory-worker":"\ud83d\udc69\u200d\ud83c\udfed","woman-boy-boy":"\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66","woman-boy":"\ud83d\udc69\u200d\ud83d\udc66","woman-girl-boy":"\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66","woman-girl-girl":"\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67","woman-girl":"\ud83d\udc69\u200d\ud83d\udc67","woman-woman-boy":"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66","woman-woman-boy-boy":"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66","woman-woman-girl":"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67","woman-woman-girl-boy":"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66","woman-woman-girl-girl":"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67","female-technologist":"\ud83d\udc69\u200d\ud83d\udcbb","female-office-worker":"\ud83d\udc69\u200d\ud83d\udcbc","female-mechanic":"\ud83d\udc69\u200d\ud83d\udd27","female-scientist":"\ud83d\udc69\u200d\ud83d\udd2c","female-astronaut":"\ud83d\udc69\u200d\ud83d\ude80","female-firefighter":"\ud83d\udc69\u200d\ud83d\ude92","female-doctor":"\ud83d\udc69\u200d\u2695\ufe0f","female-judge":"\ud83d\udc69\u200d\u2696\ufe0f","female-pilot":"\ud83d\udc69\u200d\u2708\ufe0f","woman-heart-man":"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc68",couple_with_heart:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc68","woman-heart-woman":"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69","woman-kiss-man":"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",couplekiss:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68","woman-kiss-woman":"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69",woman:"\ud83d\udc69",couple:"\ud83d\udc6b",man_and_woman_holding_hands:"\ud83d\udc6b",two_men_holding_hands:"\ud83d\udc6c",two_women_holding_hands:"\ud83d\udc6d","female-police-officer":"\ud83d\udc6e\u200d\u2640\ufe0f","male-police-officer":"\ud83d\udc6e\u200d\u2642\ufe0f",cop:"\ud83d\udc6e\u200d\u2642\ufe0f","woman-with-bunny-ears-partying":"\ud83d\udc6f\u200d\u2640\ufe0f",dancers:"\ud83d\udc6f\u200d\u2640\ufe0f","man-with-bunny-ears-partying":"\ud83d\udc6f\u200d\u2642\ufe0f",bride_with_veil:"\ud83d\udc70","blond-haired-woman":"\ud83d\udc71\u200d\u2640\ufe0f","blond-haired-man":"\ud83d\udc71\u200d\u2642\ufe0f",person_with_blond_hair:"\ud83d\udc71\u200d\u2642\ufe0f",man_with_gua_pi_mao:"\ud83d\udc72","woman-wearing-turban":"\ud83d\udc73\u200d\u2640\ufe0f","man-wearing-turban":"\ud83d\udc73\u200d\u2642\ufe0f",man_with_turban:"\ud83d\udc73\u200d\u2642\ufe0f",older_man:"\ud83d\udc74",older_woman:"\ud83d\udc75",baby:"\ud83d\udc76","female-construction-worker":"\ud83d\udc77\u200d\u2640\ufe0f","male-construction-worker":"\ud83d\udc77\u200d\u2642\ufe0f",construction_worker:"\ud83d\udc77\u200d\u2642\ufe0f",princess:"\ud83d\udc78",japanese_ogre:"\ud83d\udc79",japanese_goblin:"\ud83d\udc7a",ghost:"\ud83d\udc7b",angel:"\ud83d\udc7c",alien:"\ud83d\udc7d",space_invader:"\ud83d\udc7e",imp:"\ud83d\udc7f",skull:"\ud83d\udc80","woman-tipping-hand":"\ud83d\udc81\u200d\u2640\ufe0f",information_desk_person:"\ud83d\udc81\u200d\u2640\ufe0f","man-tipping-hand":"\ud83d\udc81\u200d\u2642\ufe0f","female-guard":"\ud83d\udc82\u200d\u2640\ufe0f","male-guard":"\ud83d\udc82\u200d\u2642\ufe0f",guardsman:"\ud83d\udc82\u200d\u2642\ufe0f",dancer:"\ud83d\udc83",lipstick:"\ud83d\udc84",nail_care:"\ud83d\udc85","woman-getting-massage":"\ud83d\udc86\u200d\u2640\ufe0f",massage:"\ud83d\udc86\u200d\u2640\ufe0f","man-getting-massage":"\ud83d\udc86\u200d\u2642\ufe0f","woman-getting-haircut":"\ud83d\udc87\u200d\u2640\ufe0f",haircut:"\ud83d\udc87\u200d\u2640\ufe0f","man-getting-haircut":"\ud83d\udc87\u200d\u2642\ufe0f",barber:"\ud83d\udc88",syringe:"\ud83d\udc89",pill:"\ud83d\udc8a",kiss:"\ud83d\udc8b",love_letter:"\ud83d\udc8c",ring:"\ud83d\udc8d",gem:"\ud83d\udc8e",bouquet:"\ud83d\udc90",wedding:"\ud83d\udc92",heartbeat:"\ud83d\udc93",broken_heart:"\ud83d\udc94",two_hearts:"\ud83d\udc95",sparkling_heart:"\ud83d\udc96",heartpulse:"\ud83d\udc97",cupid:"\ud83d\udc98",blue_heart:"\ud83d\udc99",green_heart:"\ud83d\udc9a",yellow_heart:"\ud83d\udc9b",purple_heart:"\ud83d\udc9c",gift_heart:"\ud83d\udc9d",revolving_hearts:"\ud83d\udc9e",heart_decoration:"\ud83d\udc9f",diamond_shape_with_a_dot_inside:"\ud83d\udca0",bulb:"\ud83d\udca1",anger:"\ud83d\udca2",bomb:"\ud83d\udca3",zzz:"\ud83d\udca4",boom:"\ud83d\udca5",collision:"\ud83d\udca5",sweat_drops:"\ud83d\udca6",droplet:"\ud83d\udca7",dash:"\ud83d\udca8",hankey:"\ud83d\udca9",poop:"\ud83d\udca9",shit:"\ud83d\udca9",muscle:"\ud83d\udcaa",dizzy:"\ud83d\udcab",speech_balloon:"\ud83d\udcac",thought_balloon:"\ud83d\udcad",white_flower:"\ud83d\udcae",moneybag:"\ud83d\udcb0",currency_exchange:"\ud83d\udcb1",heavy_dollar_sign:"\ud83d\udcb2",credit_card:"\ud83d\udcb3",yen:"\ud83d\udcb4",dollar:"\ud83d\udcb5",euro:"\ud83d\udcb6",pound:"\ud83d\udcb7",money_with_wings:"\ud83d\udcb8",chart:"\ud83d\udcb9",seat:"\ud83d\udcba",computer:"\ud83d\udcbb",briefcase:"\ud83d\udcbc",minidisc:"\ud83d\udcbd",floppy_disk:"\ud83d\udcbe",cd:"\ud83d\udcbf",dvd:"\ud83d\udcc0",file_folder:"\ud83d\udcc1",open_file_folder:"\ud83d\udcc2",page_with_curl:"\ud83d\udcc3",page_facing_up:"\ud83d\udcc4",date:"\ud83d\udcc5",calendar:"\ud83d\udcc6",card_index:"\ud83d\udcc7",chart_with_upwards_trend:"\ud83d\udcc8",chart_with_downwards_trend:"\ud83d\udcc9",bar_chart:"\ud83d\udcca",clipboard:"\ud83d\udccb",pushpin:"\ud83d\udccc",round_pushpin:"\ud83d\udccd",paperclip:"\ud83d\udcce",straight_ruler:"\ud83d\udccf",triangular_ruler:"\ud83d\udcd0",bookmark_tabs:"\ud83d\udcd1",ledger:"\ud83d\udcd2",notebook:"\ud83d\udcd3",notebook_with_decorative_cover:"\ud83d\udcd4",closed_book:"\ud83d\udcd5",book:"\ud83d\udcd6",open_book:"\ud83d\udcd6",green_book:"\ud83d\udcd7",blue_book:"\ud83d\udcd8",orange_book:"\ud83d\udcd9",books:"\ud83d\udcda",name_badge:"\ud83d\udcdb",scroll:"\ud83d\udcdc",memo:"\ud83d\udcdd",pencil:"\ud83d\udcdd",telephone_receiver:"\ud83d\udcde",pager:"\ud83d\udcdf",fax:"\ud83d\udce0",satellite_antenna:"\ud83d\udce1",loudspeaker:"\ud83d\udce2",mega:"\ud83d\udce3",outbox_tray:"\ud83d\udce4",inbox_tray:"\ud83d\udce5",package:"\ud83d\udce6","e-mail":"\ud83d\udce7",incoming_envelope:"\ud83d\udce8",envelope_with_arrow:"\ud83d\udce9",mailbox_closed:"\ud83d\udcea",mailbox:"\ud83d\udceb",mailbox_with_mail:"\ud83d\udcec",mailbox_with_no_mail:"\ud83d\udced",postbox:"\ud83d\udcee",postal_horn:"\ud83d\udcef",newspaper:"\ud83d\udcf0",iphone:"\ud83d\udcf1",calling:"\ud83d\udcf2",vibration_mode:"\ud83d\udcf3",mobile_phone_off:"\ud83d\udcf4",no_mobile_phones:"\ud83d\udcf5",signal_strength:"\ud83d\udcf6",camera:"\ud83d\udcf7",camera_with_flash:"\ud83d\udcf8",video_camera:"\ud83d\udcf9",tv:"\ud83d\udcfa",radio:"\ud83d\udcfb",vhs:"\ud83d\udcfc",film_projector:"\ud83d\udcfd\ufe0f",prayer_beads:"\ud83d\udcff",twisted_rightwards_arrows:"\ud83d\udd00",repeat:"\ud83d\udd01",repeat_one:"\ud83d\udd02",arrows_clockwise:"\ud83d\udd03",arrows_counterclockwise:"\ud83d\udd04",low_brightness:"\ud83d\udd05",high_brightness:"\ud83d\udd06",mute:"\ud83d\udd07",speaker:"\ud83d\udd08",sound:"\ud83d\udd09",loud_sound:"\ud83d\udd0a",battery:"\ud83d\udd0b",electric_plug:"\ud83d\udd0c",mag:"\ud83d\udd0d",mag_right:"\ud83d\udd0e",lock_with_ink_pen:"\ud83d\udd0f",closed_lock_with_key:"\ud83d\udd10",key:"\ud83d\udd11",lock:"\ud83d\udd12",unlock:"\ud83d\udd13",bell:"\ud83d\udd14",no_bell:"\ud83d\udd15",bookmark:"\ud83d\udd16",link:"\ud83d\udd17",radio_button:"\ud83d\udd18",back:"\ud83d\udd19",end:"\ud83d\udd1a",on:"\ud83d\udd1b",soon:"\ud83d\udd1c",top:"\ud83d\udd1d",underage:"\ud83d\udd1e",keycap_ten:"\ud83d\udd1f",capital_abcd:"\ud83d\udd20",abcd:"\ud83d\udd21",symbols:"\ud83d\udd23",abc:"\ud83d\udd24",fire:"\ud83d\udd25",flashlight:"\ud83d\udd26",wrench:"\ud83d\udd27",hammer:"\ud83d\udd28",nut_and_bolt:"\ud83d\udd29",hocho:"\ud83d\udd2a",knife:"\ud83d\udd2a",gun:"\ud83d\udd2b",microscope:"\ud83d\udd2c",telescope:"\ud83d\udd2d",crystal_ball:"\ud83d\udd2e",six_pointed_star:"\ud83d\udd2f",beginner:"\ud83d\udd30",trident:"\ud83d\udd31",black_square_button:"\ud83d\udd32",white_square_button:"\ud83d\udd33",red_circle:"\ud83d\udd34",large_blue_circle:"\ud83d\udd35",large_orange_diamond:"\ud83d\udd36",large_blue_diamond:"\ud83d\udd37",small_orange_diamond:"\ud83d\udd38",small_blue_diamond:"\ud83d\udd39",small_red_triangle:"\ud83d\udd3a",small_red_triangle_down:"\ud83d\udd3b",arrow_up_small:"\ud83d\udd3c",arrow_down_small:"\ud83d\udd3d",om_symbol:"\ud83d\udd49\ufe0f",dove_of_peace:"\ud83d\udd4a\ufe0f",kaaba:"\ud83d\udd4b",mosque:"\ud83d\udd4c",synagogue:"\ud83d\udd4d",menorah_with_nine_branches:"\ud83d\udd4e",clock1:"\ud83d\udd50",clock2:"\ud83d\udd51",clock3:"\ud83d\udd52",clock4:"\ud83d\udd53",clock5:"\ud83d\udd54",clock6:"\ud83d\udd55",clock7:"\ud83d\udd56",clock8:"\ud83d\udd57",clock9:"\ud83d\udd58",clock10:"\ud83d\udd59",clock11:"\ud83d\udd5a",clock12:"\ud83d\udd5b",clock130:"\ud83d\udd5c",clock230:"\ud83d\udd5d",clock330:"\ud83d\udd5e",clock430:"\ud83d\udd5f",clock530:"\ud83d\udd60",clock630:"\ud83d\udd61",clock730:"\ud83d\udd62",clock830:"\ud83d\udd63",clock930:"\ud83d\udd64",clock1030:"\ud83d\udd65",clock1130:"\ud83d\udd66",clock1230:"\ud83d\udd67",candle:"\ud83d\udd6f\ufe0f",mantelpiece_clock:"\ud83d\udd70\ufe0f",hole:"\ud83d\udd73\ufe0f",man_in_business_suit_levitating:"\ud83d\udd74\ufe0f","female-detective":"\ud83d\udd75\ufe0f\u200d\u2640\ufe0f","male-detective":"\ud83d\udd75\ufe0f\u200d\u2642\ufe0f",sleuth_or_spy:"\ud83d\udd75\ufe0f\u200d\u2642\ufe0f",dark_sunglasses:"\ud83d\udd76\ufe0f",spider:"\ud83d\udd77\ufe0f",spider_web:"\ud83d\udd78\ufe0f",joystick:"\ud83d\udd79\ufe0f",man_dancing:"\ud83d\udd7a",linked_paperclips:"\ud83d\udd87\ufe0f",lower_left_ballpoint_pen:"\ud83d\udd8a\ufe0f",lower_left_fountain_pen:"\ud83d\udd8b\ufe0f",lower_left_paintbrush:"\ud83d\udd8c\ufe0f",lower_left_crayon:"\ud83d\udd8d\ufe0f",raised_hand_with_fingers_splayed:"\ud83d\udd90\ufe0f",middle_finger:"\ud83d\udd95",reversed_hand_with_middle_finger_extended:"\ud83d\udd95","spock-hand":"\ud83d\udd96",black_heart:"\ud83d\udda4",desktop_computer:"\ud83d\udda5\ufe0f",printer:"\ud83d\udda8\ufe0f",three_button_mouse:"\ud83d\uddb1\ufe0f",trackball:"\ud83d\uddb2\ufe0f",frame_with_picture:"\ud83d\uddbc\ufe0f",card_index_dividers:"\ud83d\uddc2\ufe0f",card_file_box:"\ud83d\uddc3\ufe0f",file_cabinet:"\ud83d\uddc4\ufe0f",wastebasket:"\ud83d\uddd1\ufe0f",spiral_note_pad:"\ud83d\uddd2\ufe0f",spiral_calendar_pad:"\ud83d\uddd3\ufe0f",compression:"\ud83d\udddc\ufe0f",old_key:"\ud83d\udddd\ufe0f",rolled_up_newspaper:"\ud83d\uddde\ufe0f",dagger_knife:"\ud83d\udde1\ufe0f",speaking_head_in_silhouette:"\ud83d\udde3\ufe0f",left_speech_bubble:"\ud83d\udde8\ufe0f",right_anger_bubble:"\ud83d\uddef\ufe0f",ballot_box_with_ballot:"\ud83d\uddf3\ufe0f",world_map:"\ud83d\uddfa\ufe0f",mount_fuji:"\ud83d\uddfb",tokyo_tower:"\ud83d\uddfc",statue_of_liberty:"\ud83d\uddfd",japan:"\ud83d\uddfe",moyai:"\ud83d\uddff",grinning:"\ud83d\ude00",grin:"\ud83d\ude01",joy:"\ud83d\ude02",smiley:"\ud83d\ude03",smile:"\ud83d\ude04",sweat_smile:"\ud83d\ude05",laughing:"\ud83d\ude06",satisfied:"\ud83d\ude06",innocent:"\ud83d\ude07",smiling_imp:"\ud83d\ude08",wink:"\ud83d\ude09",blush:"\ud83d\ude0a",yum:"\ud83d\ude0b",relieved:"\ud83d\ude0c",heart_eyes:"\ud83d\ude0d",sunglasses:"\ud83d\ude0e",smirk:"\ud83d\ude0f",neutral_face:"\ud83d\ude10",expressionless:"\ud83d\ude11",unamused:"\ud83d\ude12",sweat:"\ud83d\ude13",pensive:"\ud83d\ude14",confused:"\ud83d\ude15",confounded:"\ud83d\ude16",kissing:"\ud83d\ude17",kissing_heart:"\ud83d\ude18",kissing_smiling_eyes:"\ud83d\ude19",kissing_closed_eyes:"\ud83d\ude1a",stuck_out_tongue:"\ud83d\ude1b",stuck_out_tongue_winking_eye:"\ud83d\ude1c",stuck_out_tongue_closed_eyes:"\ud83d\ude1d",disappointed:"\ud83d\ude1e",worried:"\ud83d\ude1f",angry:"\ud83d\ude20",rage:"\ud83d\ude21",cry:"\ud83d\ude22",persevere:"\ud83d\ude23",triumph:"\ud83d\ude24",disappointed_relieved:"\ud83d\ude25",frowning:"\ud83d\ude26",anguished:"\ud83d\ude27",fearful:"\ud83d\ude28",weary:"\ud83d\ude29",sleepy:"\ud83d\ude2a",tired_face:"\ud83d\ude2b",grimacing:"\ud83d\ude2c",sob:"\ud83d\ude2d",open_mouth:"\ud83d\ude2e",hushed:"\ud83d\ude2f",cold_sweat:"\ud83d\ude30",scream:"\ud83d\ude31",astonished:"\ud83d\ude32",flushed:"\ud83d\ude33",sleeping:"\ud83d\ude34",dizzy_face:"\ud83d\ude35",no_mouth:"\ud83d\ude36",mask:"\ud83d\ude37",smile_cat:"\ud83d\ude38",joy_cat:"\ud83d\ude39",smiley_cat:"\ud83d\ude3a",heart_eyes_cat:"\ud83d\ude3b",smirk_cat:"\ud83d\ude3c",kissing_cat:"\ud83d\ude3d",pouting_cat:"\ud83d\ude3e",crying_cat_face:"\ud83d\ude3f",scream_cat:"\ud83d\ude40",slightly_frowning_face:"\ud83d\ude41",slightly_smiling_face:"\ud83d\ude42",upside_down_face:"\ud83d\ude43",face_with_rolling_eyes:"\ud83d\ude44","woman-gesturing-no":"\ud83d\ude45\u200d\u2640\ufe0f",no_good:"\ud83d\ude45\u200d\u2640\ufe0f","man-gesturing-no":"\ud83d\ude45\u200d\u2642\ufe0f","woman-gesturing-ok":"\ud83d\ude46\u200d\u2640\ufe0f",ok_woman:"\ud83d\ude46\u200d\u2640\ufe0f","man-gesturing-ok":"\ud83d\ude46\u200d\u2642\ufe0f","woman-bowing":"\ud83d\ude47\u200d\u2640\ufe0f","man-bowing":"\ud83d\ude47\u200d\u2642\ufe0f",bow:"\ud83d\ude47\u200d\u2642\ufe0f",see_no_evil:"\ud83d\ude48",hear_no_evil:"\ud83d\ude49",speak_no_evil:"\ud83d\ude4a","woman-raising-hand":"\ud83d\ude4b\u200d\u2640\ufe0f",raising_hand:"\ud83d\ude4b\u200d\u2640\ufe0f","man-raising-hand":"\ud83d\ude4b\u200d\u2642\ufe0f",raised_hands:"\ud83d\ude4c","woman-frowning":"\ud83d\ude4d\u200d\u2640\ufe0f",person_frowning:"\ud83d\ude4d\u200d\u2640\ufe0f","man-frowning":"\ud83d\ude4d\u200d\u2642\ufe0f","woman-pouting":"\ud83d\ude4e\u200d\u2640\ufe0f",person_with_pouting_face:"\ud83d\ude4e\u200d\u2640\ufe0f","man-pouting":"\ud83d\ude4e\u200d\u2642\ufe0f",pray:"\ud83d\ude4f",rocket:"\ud83d\ude80",helicopter:"\ud83d\ude81",steam_locomotive:"\ud83d\ude82",railway_car:"\ud83d\ude83",bullettrain_side:"\ud83d\ude84",bullettrain_front:"\ud83d\ude85",train2:"\ud83d\ude86",metro:"\ud83d\ude87",light_rail:"\ud83d\ude88",station:"\ud83d\ude89",tram:"\ud83d\ude8a",train:"\ud83d\ude8b",bus:"\ud83d\ude8c",oncoming_bus:"\ud83d\ude8d",trolleybus:"\ud83d\ude8e",busstop:"\ud83d\ude8f",minibus:"\ud83d\ude90",ambulance:"\ud83d\ude91",fire_engine:"\ud83d\ude92",police_car:"\ud83d\ude93",oncoming_police_car:"\ud83d\ude94",taxi:"\ud83d\ude95",oncoming_taxi:"\ud83d\ude96",car:"\ud83d\ude97",red_car:"\ud83d\ude97",oncoming_automobile:"\ud83d\ude98",blue_car:"\ud83d\ude99",truck:"\ud83d\ude9a",articulated_lorry:"\ud83d\ude9b",tractor:"\ud83d\ude9c",monorail:"\ud83d\ude9d",mountain_railway:"\ud83d\ude9e",suspension_railway:"\ud83d\ude9f",mountain_cableway:"\ud83d\udea0",aerial_tramway:"\ud83d\udea1",ship:"\ud83d\udea2","woman-rowing-boat":"\ud83d\udea3\u200d\u2640\ufe0f","man-rowing-boat":"\ud83d\udea3\u200d\u2642\ufe0f",rowboat:"\ud83d\udea3\u200d\u2642\ufe0f",speedboat:"\ud83d\udea4",traffic_light:"\ud83d\udea5",vertical_traffic_light:"\ud83d\udea6",construction:"\ud83d\udea7",rotating_light:"\ud83d\udea8",triangular_flag_on_post:"\ud83d\udea9",door:"\ud83d\udeaa",no_entry_sign:"\ud83d\udeab",smoking:"\ud83d\udeac",no_smoking:"\ud83d\udead",put_litter_in_its_place:"\ud83d\udeae",do_not_litter:"\ud83d\udeaf",potable_water:"\ud83d\udeb0","non-potable_water":"\ud83d\udeb1",bike:"\ud83d\udeb2",no_bicycles:"\ud83d\udeb3","woman-biking":"\ud83d\udeb4\u200d\u2640\ufe0f","man-biking":"\ud83d\udeb4\u200d\u2642\ufe0f",bicyclist:"\ud83d\udeb4\u200d\u2642\ufe0f","woman-mountain-biking":"\ud83d\udeb5\u200d\u2640\ufe0f","man-mountain-biking":"\ud83d\udeb5\u200d\u2642\ufe0f",mountain_bicyclist:"\ud83d\udeb5\u200d\u2642\ufe0f","woman-walking":"\ud83d\udeb6\u200d\u2640\ufe0f","man-walking":"\ud83d\udeb6\u200d\u2642\ufe0f",walking:"\ud83d\udeb6\u200d\u2642\ufe0f",no_pedestrians:"\ud83d\udeb7",children_crossing:"\ud83d\udeb8",mens:"\ud83d\udeb9",womens:"\ud83d\udeba",restroom:"\ud83d\udebb",baby_symbol:"\ud83d\udebc",toilet:"\ud83d\udebd",wc:"\ud83d\udebe",shower:"\ud83d\udebf",bath:"\ud83d\udec0",bathtub:"\ud83d\udec1",passport_control:"\ud83d\udec2",customs:"\ud83d\udec3",baggage_claim:"\ud83d\udec4",left_luggage:"\ud83d\udec5",couch_and_lamp:"\ud83d\udecb\ufe0f",sleeping_accommodation:"\ud83d\udecc",shopping_bags:"\ud83d\udecd\ufe0f",bellhop_bell:"\ud83d\udece\ufe0f",bed:"\ud83d\udecf\ufe0f",place_of_worship:"\ud83d\uded0",octagonal_sign:"\ud83d\uded1",shopping_trolley:"\ud83d\uded2",hammer_and_wrench:"\ud83d\udee0\ufe0f",shield:"\ud83d\udee1\ufe0f",oil_drum:"\ud83d\udee2\ufe0f",motorway:"\ud83d\udee3\ufe0f",railway_track:"\ud83d\udee4\ufe0f",motor_boat:"\ud83d\udee5\ufe0f",small_airplane:"\ud83d\udee9\ufe0f",airplane_departure:"\ud83d\udeeb",airplane_arriving:"\ud83d\udeec",satellite:"\ud83d\udef0\ufe0f",passenger_ship:"\ud83d\udef3\ufe0f",scooter:"\ud83d\udef4",motor_scooter:"\ud83d\udef5",canoe:"\ud83d\udef6",sled:"\ud83d\udef7",flying_saucer:"\ud83d\udef8",zipper_mouth_face:"\ud83e\udd10",money_mouth_face:"\ud83e\udd11",face_with_thermometer:"\ud83e\udd12",nerd_face:"\ud83e\udd13",thinking_face:"\ud83e\udd14",face_with_head_bandage:"\ud83e\udd15",robot_face:"\ud83e\udd16",hugging_face:"\ud83e\udd17",the_horns:"\ud83e\udd18",sign_of_the_horns:"\ud83e\udd18",call_me_hand:"\ud83e\udd19",raised_back_of_hand:"\ud83e\udd1a","left-facing_fist":"\ud83e\udd1b","right-facing_fist":"\ud83e\udd1c",handshake:"\ud83e\udd1d",crossed_fingers:"\ud83e\udd1e",hand_with_index_and_middle_fingers_crossed:"\ud83e\udd1e",i_love_you_hand_sign:"\ud83e\udd1f",face_with_cowboy_hat:"\ud83e\udd20",clown_face:"\ud83e\udd21",nauseated_face:"\ud83e\udd22",rolling_on_the_floor_laughing:"\ud83e\udd23",drooling_face:"\ud83e\udd24",lying_face:"\ud83e\udd25","woman-facepalming":"\ud83e\udd26\u200d\u2640\ufe0f","man-facepalming":"\ud83e\udd26\u200d\u2642\ufe0f",face_palm:"\ud83e\udd26",sneezing_face:"\ud83e\udd27",face_with_raised_eyebrow:"\ud83e\udd28",face_with_one_eyebrow_raised:"\ud83e\udd28","star-struck":"\ud83e\udd29",grinning_face_with_star_eyes:"\ud83e\udd29",zany_face:"\ud83e\udd2a",grinning_face_with_one_large_and_one_small_eye:"\ud83e\udd2a",shushing_face:"\ud83e\udd2b",face_with_finger_covering_closed_lips:"\ud83e\udd2b",face_with_symbols_on_mouth:"\ud83e\udd2c",serious_face_with_symbols_covering_mouth:"\ud83e\udd2c",face_with_hand_over_mouth:"\ud83e\udd2d",smiling_face_with_smiling_eyes_and_hand_covering_mouth:"\ud83e\udd2d",face_vomiting:"\ud83e\udd2e",face_with_open_mouth_vomiting:"\ud83e\udd2e",exploding_head:"\ud83e\udd2f",shocked_face_with_exploding_head:"\ud83e\udd2f",pregnant_woman:"\ud83e\udd30","breast-feeding":"\ud83e\udd31",palms_up_together:"\ud83e\udd32",selfie:"\ud83e\udd33",prince:"\ud83e\udd34",man_in_tuxedo:"\ud83e\udd35",mrs_claus:"\ud83e\udd36",mother_christmas:"\ud83e\udd36","woman-shrugging":"\ud83e\udd37\u200d\u2640\ufe0f","man-shrugging":"\ud83e\udd37\u200d\u2642\ufe0f",shrug:"\ud83e\udd37","woman-cartwheeling":"\ud83e\udd38\u200d\u2640\ufe0f","man-cartwheeling":"\ud83e\udd38\u200d\u2642\ufe0f",person_doing_cartwheel:"\ud83e\udd38","woman-juggling":"\ud83e\udd39\u200d\u2640\ufe0f","man-juggling":"\ud83e\udd39\u200d\u2642\ufe0f",juggling:"\ud83e\udd39",fencer:"\ud83e\udd3a","woman-wrestling":"\ud83e\udd3c\u200d\u2640\ufe0f","man-wrestling":"\ud83e\udd3c\u200d\u2642\ufe0f",wrestlers:"\ud83e\udd3c","woman-playing-water-polo":"\ud83e\udd3d\u200d\u2640\ufe0f","man-playing-water-polo":"\ud83e\udd3d\u200d\u2642\ufe0f",water_polo:"\ud83e\udd3d","woman-playing-handball":"\ud83e\udd3e\u200d\u2640\ufe0f","man-playing-handball":"\ud83e\udd3e\u200d\u2642\ufe0f",handball:"\ud83e\udd3e",wilted_flower:"\ud83e\udd40",drum_with_drumsticks:"\ud83e\udd41",clinking_glasses:"\ud83e\udd42",tumbler_glass:"\ud83e\udd43",spoon:"\ud83e\udd44",goal_net:"\ud83e\udd45",first_place_medal:"\ud83e\udd47",second_place_medal:"\ud83e\udd48",third_place_medal:"\ud83e\udd49",boxing_glove:"\ud83e\udd4a",martial_arts_uniform:"\ud83e\udd4b",curling_stone:"\ud83e\udd4c",croissant:"\ud83e\udd50",avocado:"\ud83e\udd51",cucumber:"\ud83e\udd52",bacon:"\ud83e\udd53",potato:"\ud83e\udd54",carrot:"\ud83e\udd55",baguette_bread:"\ud83e\udd56",green_salad:"\ud83e\udd57",shallow_pan_of_food:"\ud83e\udd58",stuffed_flatbread:"\ud83e\udd59",egg:"\ud83e\udd5a",glass_of_milk:"\ud83e\udd5b",peanuts:"\ud83e\udd5c",kiwifruit:"\ud83e\udd5d",pancakes:"\ud83e\udd5e",dumpling:"\ud83e\udd5f",fortune_cookie:"\ud83e\udd60",takeout_box:"\ud83e\udd61",chopsticks:"\ud83e\udd62",bowl_with_spoon:"\ud83e\udd63",cup_with_straw:"\ud83e\udd64",coconut:"\ud83e\udd65",broccoli:"\ud83e\udd66",pie:"\ud83e\udd67",pretzel:"\ud83e\udd68",cut_of_meat:"\ud83e\udd69",sandwich:"\ud83e\udd6a",canned_food:"\ud83e\udd6b",crab:"\ud83e\udd80",lion_face:"\ud83e\udd81",scorpion:"\ud83e\udd82",turkey:"\ud83e\udd83",unicorn_face:"\ud83e\udd84",eagle:"\ud83e\udd85",duck:"\ud83e\udd86",bat:"\ud83e\udd87",shark:"\ud83e\udd88",owl:"\ud83e\udd89",fox_face:"\ud83e\udd8a",butterfly:"\ud83e\udd8b",deer:"\ud83e\udd8c",gorilla:"\ud83e\udd8d",lizard:"\ud83e\udd8e",rhinoceros:"\ud83e\udd8f",shrimp:"\ud83e\udd90",squid:"\ud83e\udd91",giraffe_face:"\ud83e\udd92",zebra_face:"\ud83e\udd93",hedgehog:"\ud83e\udd94",sauropod:"\ud83e\udd95","t-rex":"\ud83e\udd96",cricket:"\ud83e\udd97",cheese_wedge:"\ud83e\uddc0",face_with_monocle:"\ud83e\uddd0",adult:"\ud83e\uddd1",child:"\ud83e\uddd2",older_adult:"\ud83e\uddd3",bearded_person:"\ud83e\uddd4",person_with_headscarf:"\ud83e\uddd5",woman_in_steamy_room:"\ud83e\uddd6\u200d\u2640\ufe0f",man_in_steamy_room:"\ud83e\uddd6\u200d\u2642\ufe0f",person_in_steamy_room:"\ud83e\uddd6\u200d\u2642\ufe0f",woman_climbing:"\ud83e\uddd7\u200d\u2640\ufe0f",person_climbing:"\ud83e\uddd7\u200d\u2640\ufe0f",man_climbing:"\ud83e\uddd7\u200d\u2642\ufe0f",woman_in_lotus_position:"\ud83e\uddd8\u200d\u2640\ufe0f",person_in_lotus_position:"\ud83e\uddd8\u200d\u2640\ufe0f",man_in_lotus_position:"\ud83e\uddd8\u200d\u2642\ufe0f",female_mage:"\ud83e\uddd9\u200d\u2640\ufe0f",mage:"\ud83e\uddd9\u200d\u2640\ufe0f",male_mage:"\ud83e\uddd9\u200d\u2642\ufe0f",female_fairy:"\ud83e\uddda\u200d\u2640\ufe0f",fairy:"\ud83e\uddda\u200d\u2640\ufe0f",male_fairy:"\ud83e\uddda\u200d\u2642\ufe0f",female_vampire:"\ud83e\udddb\u200d\u2640\ufe0f",vampire:"\ud83e\udddb\u200d\u2640\ufe0f",male_vampire:"\ud83e\udddb\u200d\u2642\ufe0f",mermaid:"\ud83e\udddc\u200d\u2640\ufe0f",merman:"\ud83e\udddc\u200d\u2642\ufe0f",merperson:"\ud83e\udddc\u200d\u2642\ufe0f",female_elf:"\ud83e\udddd\u200d\u2640\ufe0f",male_elf:"\ud83e\udddd\u200d\u2642\ufe0f",elf:"\ud83e\udddd\u200d\u2642\ufe0f",female_genie:"\ud83e\uddde\u200d\u2640\ufe0f",male_genie:"\ud83e\uddde\u200d\u2642\ufe0f",genie:"\ud83e\uddde\u200d\u2642\ufe0f",female_zombie:"\ud83e\udddf\u200d\u2640\ufe0f",male_zombie:"\ud83e\udddf\u200d\u2642\ufe0f",zombie:"\ud83e\udddf\u200d\u2642\ufe0f",brain:"\ud83e\udde0",orange_heart:"\ud83e\udde1",billed_cap:"\ud83e\udde2",scarf:"\ud83e\udde3",gloves:"\ud83e\udde4",coat:"\ud83e\udde5",socks:"\ud83e\udde6",bangbang:"\u203c\ufe0f",interrobang:"\u2049\ufe0f",tm:"\u2122\ufe0f",information_source:"\u2139\ufe0f",left_right_arrow:"\u2194\ufe0f",arrow_up_down:"\u2195\ufe0f",arrow_upper_left:"\u2196\ufe0f",arrow_upper_right:"\u2197\ufe0f",arrow_lower_right:"\u2198\ufe0f",arrow_lower_left:"\u2199\ufe0f",leftwards_arrow_with_hook:"\u21a9\ufe0f",arrow_right_hook:"\u21aa\ufe0f",watch:"\u231a",hourglass:"\u231b",keyboard:"\u2328\ufe0f",eject:"\u23cf\ufe0f",fast_forward:"\u23e9",rewind:"\u23ea",arrow_double_up:"\u23eb",arrow_double_down:"\u23ec",black_right_pointing_double_triangle_with_vertical_bar:"\u23ed\ufe0f",black_left_pointing_double_triangle_with_vertical_bar:"\u23ee\ufe0f",black_right_pointing_triangle_with_double_vertical_bar:"\u23ef\ufe0f",alarm_clock:"\u23f0",stopwatch:"\u23f1\ufe0f",timer_clock:"\u23f2\ufe0f",hourglass_flowing_sand:"\u23f3",double_vertical_bar:"\u23f8\ufe0f",black_square_for_stop:"\u23f9\ufe0f",black_circle_for_record:"\u23fa\ufe0f",m:"\u24c2\ufe0f",black_small_square:"\u25aa\ufe0f",white_small_square:"\u25ab\ufe0f",arrow_forward:"\u25b6\ufe0f",arrow_backward:"\u25c0\ufe0f",white_medium_square:"\u25fb\ufe0f",black_medium_square:"\u25fc\ufe0f",white_medium_small_square:"\u25fd",black_medium_small_square:"\u25fe",sunny:"\u2600\ufe0f",cloud:"\u2601\ufe0f",umbrella:"\u2602\ufe0f",snowman:"\u2603\ufe0f",comet:"\u2604\ufe0f",phone:"\u260e\ufe0f",telephone:"\u260e\ufe0f",ballot_box_with_check:"\u2611\ufe0f",shamrock:"\u2618\ufe0f",point_up:"\u261d\ufe0f",skull_and_crossbones:"\u2620\ufe0f",radioactive_sign:"\u2622\ufe0f",biohazard_sign:"\u2623\ufe0f",orthodox_cross:"\u2626\ufe0f",star_and_crescent:"\u262a\ufe0f",peace_symbol:"\u262e\ufe0f",yin_yang:"\u262f\ufe0f",wheel_of_dharma:"\u2638\ufe0f",white_frowning_face:"\u2639\ufe0f",relaxed:"\u263a\ufe0f",female_sign:"\u2640\ufe0f",male_sign:"\u2642\ufe0f",gemini:"\u264a",cancer:"\u264b",leo:"\u264c",virgo:"\u264d",libra:"\u264e",scorpius:"\u264f",spades:"\u2660\ufe0f",clubs:"\u2663\ufe0f",hearts:"\u2665\ufe0f",diamonds:"\u2666\ufe0f",hotsprings:"\u2668\ufe0f",recycle:"\u267b\ufe0f",wheelchair:"\u267f",hammer_and_pick:"\u2692\ufe0f",crossed_swords:"\u2694\ufe0f",medical_symbol:"\u2695\ufe0f",staff_of_aesculapius:"\u2695\ufe0f",scales:"\u2696\ufe0f",alembic:"\u2697\ufe0f",gear:"\u2699\ufe0f",atom_symbol:"\u269b\ufe0f",fleur_de_lis:"\u269c\ufe0f",warning:"\u26a0\ufe0f",zap:"\u26a1",white_circle:"\u26aa",black_circle:"\u26ab",coffin:"\u26b0\ufe0f",funeral_urn:"\u26b1\ufe0f",soccer:"\u26bd",baseball:"\u26be",snowman_without_snow:"\u26c4",partly_sunny:"\u26c5",thunder_cloud_and_rain:"\u26c8\ufe0f",ophiuchus:"\u26ce",pick:"\u26cf\ufe0f",helmet_with_white_cross:"\u26d1\ufe0f",chains:"\u26d3\ufe0f",no_entry:"\u26d4",shinto_shrine:"\u26e9\ufe0f",church:"\u26ea",mountain:"\u26f0\ufe0f",umbrella_on_ground:"\u26f1\ufe0f",fountain:"\u26f2",golf:"\u26f3",ferry:"\u26f4\ufe0f",boat:"\u26f5",sailboat:"\u26f5",skier:"\u26f7\ufe0f",ice_skate:"\u26f8\ufe0f","woman-bouncing-ball":"\u26f9\ufe0f\u200d\u2640\ufe0f","man-bouncing-ball":"\u26f9\ufe0f\u200d\u2642\ufe0f",person_with_ball:"\u26f9\ufe0f\u200d\u2642\ufe0f",tent:"\u26fa",fuelpump:"\u26fd",scissors:"\u2702\ufe0f",airplane:"\u2708\ufe0f",email:"\u2709\ufe0f",envelope:"\u2709\ufe0f",fist:"\u270a",hand:"\u270b",raised_hand:"\u270b",v:"\u270c\ufe0f",writing_hand:"\u270d\ufe0f",pencil2:"\u270f\ufe0f",black_nib:"\u2712\ufe0f",heavy_check_mark:"\u2714\ufe0f",heavy_multiplication_x:"\u2716\ufe0f",latin_cross:"\u271d\ufe0f",star_of_david:"\u2721\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",eight_pointed_black_star:"\u2734\ufe0f",snowflake:"\u2744\ufe0f",sparkle:"\u2747\ufe0f",x:"\u274c",negative_squared_cross_mark:"\u274e",heavy_heart_exclamation_mark_ornament:"\u2763\ufe0f",heart:"\u2764\ufe0f",arrow_right:"\u27a1\ufe0f",curly_loop:"\u27b0",loop:"\u27bf",arrow_heading_up:"\u2934\ufe0f",arrow_heading_down:"\u2935\ufe0f",arrow_left:"\u2b05\ufe0f",arrow_up:"\u2b06\ufe0f",arrow_down:"\u2b07\ufe0f",black_large_square:"\u2b1b",white_large_square:"\u2b1c",star:"\u2b50",o:"\u2b55",wavy_dash:"\u3030\ufe0f",part_alternation_mark:"\u303d\ufe0f",congratulations:"\u3297\ufe0f",secret:"\u3299\ufe0f"}},1010,[]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},1011,[1012]); -__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]);function n(){return(n=Object.assign||function(t){for(var n=1;n0&&S.push("+"+w.callingCode.join('|')),E&&w.currency&&w.currency.length>0&&S.push(w.currency.join('|')),u.default.createElement(s.TouchableOpacity,(0,c.default)({key:w.cca2,testID:"country-selector-"+w.cca2,onPress:function(){return C(w)}},{activeOpacity:o}),u.default.createElement(s.View,{style:[O.itemCountry,{height:l}]},b&&u.default.createElement(y.Flag,(0,c.default)({},{withEmoji:j,countryCode:w.cca2,flagSize:h})),u.default.createElement(s.View,{style:O.itemCountryName},u.default.createElement(p.CountryText,{allowFontScaling:!1,numberOfLines:2,ellipsizeMode:'tail'},w.name,S.length>0&&" ("+S.join(', ')+")"))))};v.defaultProps={withFlag:!0,withCallingCode:!1};var E=(0,u.memo)(v),S=function(t){return function(n){var o=n.item;return u.default.createElement(E,(0,c.default)({},C({country:o},t)))}},T=function(t){return t.cca2},x=function(){var t=(0,f.useTheme)().primaryColorVariant;return u.default.createElement(s.View,{style:[O.sep,{borderBottomColor:t}]})},P=s.Dimensions.get('window').height,F=function(t){var n=t.data,l=t.withAlphaFilter,y=t.withEmoji,p=t.withFlag,w=t.withCallingCode,C=t.withCurrency,v=t.onSelect,E=t.filter,F=t.flatListProps,I=t.filterFocus,k=(0,u.useRef)(null),D=(0,u.useState)(''),L=(0,o.default)(D,2),V=L[0],z=L[1],R=(0,f.useTheme)(),_=R.itemHeight,A=R.backgroundColor,H=n.map(function(t){return t.name.substr(0,1)}).join(''),M=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=H.indexOf(t);z(t),k.current&&k.current.scrollToIndex({animated:n,index:o})},N=(0,h.useContext)(),B=N.search,W=(0,N.getLetters)(n);(0,u.useEffect)(function(){n&&n.length>0&&I&&!E&&M(W[0],!1)},[I]);var q=Math.round(P/(_||1));return u.default.createElement(s.View,{style:[O.container,{backgroundColor:A}]},u.default.createElement(s.FlatList,(0,c.default)({onScrollToIndexFailed:!0,ref:k,testID:'list-countries',keyboardShouldPersistTaps:'handled',automaticallyAdjustContentInsets:!1,scrollEventThrottle:1,getItemLayout:function(t,n){return{length:_+b,offset:(_+b)*n,index:n}},renderItem:S({withEmoji:y,withFlag:p,withCallingCode:w,withCurrency:C,onSelect:v})},{data:B(E,n),keyExtractor:T,onScrollToIndexFailed:function(t){k.current&&(k.current.scrollToEnd(),M(V))},ItemSeparatorComponent:x,initialNumToRender:q},F)),l&&u.default.createElement(s.ScrollView,{contentContainerStyle:O.letters,keyboardShouldPersistTaps:'always'},W.map(function(t){return u.default.createElement(j,(0,c.default)({key:t},{letter:t,scrollTo:M}))})))};e.CountryList=F,F.defaultProps={filterFocus:void 0}},1014,[1,3,25,50,11,12,16,989,1005,984,1013]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=o(r(d[2])),l=o(r(d[3])),n=o(r(d[4])),s=o(r(d[5])),f=o(r(d[6])),c=o(r(d[7])),p=o(r(d[8])),h=t(r(d[9])),y=r(d[10]),C=o(r(d[11])),b=o(r(d[12])),v=o(r(d[13])),k=o(r(d[14])),S=o(r(d[15])),N=o(r(d[16])),x=(function(t){function o(t,u){var c;(0,l.default)(this,o),(c=(0,n.default)(this,(0,s.default)(o).call(this,t,u))).onChangePhoneNumber=c.onChangePhoneNumber.bind((0,f.default)(c)),c.onPressFlag=c.onPressFlag.bind((0,f.default)(c)),c.selectCountry=c.selectCountry.bind((0,f.default)(c)),c.getFlag=c.getFlag.bind((0,f.default)(c)),c.getISOCode=c.getISOCode.bind((0,f.default)(c));var p=c.props,h=p.countriesList,y=p.disabled,C=p.initialCountry;h&&b.default.setCustomCountriesData(h);var v=k.default.getCountryDataByCode(C);return c.state={iso2:C,disabled:y,formattedNumber:v?"+"+v.dialCode:"",value:null},c}return(0,p.default)(o,t),(0,c.default)(o,null,[{key:"setCustomCountriesData",value:function(t){b.default.setCustomCountriesData(t)}}]),(0,c.default)(o,[{key:"componentWillMount",value:function(){this.props.value&&this.updateFlagAndFormatNumber(this.props.value)}},{key:"componentDidMount",value:function(){var t=this.props.textProps;t.placeholder&&this.setState({formattedNumber:this.state.formattedNumber+" "+t.placeholder})}},{key:"componentWillReceiveProps",value:function(t){var o=t.value,u=t.disabled;this.setState({disabled:u}),o&&o!==this.state.value&&(this.setState({value:o}),this.updateFlagAndFormatNumber(o))}},{key:"onChangePhoneNumber",value:function(t){var o=this,u=this.props.onChangePhoneNumber?function(){o.props.onChangePhoneNumber(t)}:null;this.updateFlagAndFormatNumber(t,u)}},{key:"onPressFlag",value:function(){this.props.onPressFlag?this.props.onPressFlag():(this.state.iso2&&this.picker.selectCountry(this.state.iso2),this.picker.show())}},{key:"getPickerData",value:function(){return k.default.getAllCountries().map(function(t,o){return{key:o,image:v.default.get(t.iso2),label:t.name,dialCode:"+"+t.dialCode,iso2:t.iso2}})}},{key:"getCountryCode",value:function(){return k.default.getCountryDataByCode(this.state.iso2).dialCode}},{key:"getAllCountries",value:function(){return k.default.getAllCountries()}},{key:"getFlag",value:function(t){return v.default.get(t)}},{key:"getDialCode",value:function(){return k.default.getDialCode(this.state.formattedNumber)}},{key:"getValue",value:function(){return this.state.formattedNumber}},{key:"getNumberType",value:function(){return k.default.getNumberType(this.state.formattedNumber,this.state.iso2)}},{key:"getISOCode",value:function(){return this.state.iso2}},{key:"selectCountry",value:function(t){var o=this;if(this.state.iso2!==t){var u=k.default.getCountryDataByCode(t);u&&this.setState({iso2:t,formattedNumber:"+"+u.dialCode},function(){o.props.onSelectCountry&&o.props.onSelectCountry(t)})}}},{key:"isValidNumber",value:function(){return k.default.isValidNumber(this.state.formattedNumber,this.state.iso2)}},{key:"updateFlagAndFormatNumber",value:function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=this.props,l=u.allowZeroAfterCountryCode,n=u.initialCountry,s=t;t&&("+"!==s[0]&&(s="+"+s),s=l?s:this.possiblyEliminateZeroAfterCountryCode(s),n=k.default.getCountryCodeOfNumber(s)),this.setState({iso2:n,formattedNumber:s},o)}},{key:"possiblyEliminateZeroAfterCountryCode",value:function(t){var o=k.default.getDialCode(t);return t.startsWith(o+"0")?o+t.substr(o.length+1):t}},{key:"focus",value:function(){this.inputPhone.focus()}},{key:"render",value:function(){var t=this,o=this.state,l=o.iso2,n=o.formattedNumber,s=o.disabled,f=this.props.textComponent||y.TextInput;return h.default.createElement(y.View,{style:[S.default.container,this.props.style]},h.default.createElement(y.TouchableWithoutFeedback,{onPress:this.onPressFlag,disabled:s},h.default.createElement(y.Image,{source:v.default.get(l),style:[S.default.flag,this.props.flagStyle],onPress:this.onPressFlag})),h.default.createElement(y.View,{style:{flex:1,marginLeft:this.props.offset||10}},h.default.createElement(f,(0,u.default)({ref:function(o){t.inputPhone=o},editable:!s,autoCorrect:!1,style:[S.default.text,this.props.textStyle],onChangeText:function(o){t.onChangePhoneNumber(o)},onFocus:function(){return t.setState({formattedNumber:n.replace(/[^0-9+-]/g,'')})},onBlur:function(){var o=t.props.textProps;if(o&&o.placeholder){var u="+"+k.default.getCountryDataByCode(l).dialCode;0===n.trim().replace(u,'').length&&t.setState({formattedNumber:u+" "+o.placeholder})}},keyboardType:"phone-pad",underlineColorAndroid:"rgba(0,0,0,0)",value:n},this.props.textProps))),h.default.createElement(N.default,{ref:function(o){t.picker=o},selectedCountry:l,onSubmit:this.selectCountry,buttonColor:this.props.pickerButtonColor,buttonTextStyle:this.props.pickerButtonTextStyle,itemStyle:this.props.itemStyle,cancelText:this.props.cancelText,cancelTextStyle:this.props.cancelTextStyle,confirmText:this.props.confirmText,confirmTextStyle:this.props.confirmTextStyle,pickerBackgroundColor:this.props.pickerBackgroundColor,itemStyle:this.props.pickerItemStyle}))}}]),o})(h.Component);e.default=x,x.propTypes={textComponent:C.default.func,initialCountry:C.default.string,onChangePhoneNumber:C.default.func,value:C.default.string,style:C.default.object,flagStyle:C.default.object,textStyle:C.default.object,offset:C.default.number,textProps:C.default.object,onSelectCountry:C.default.func,pickerButtonColor:C.default.string,pickerBackgroundColor:C.default.string,pickerItemStyle:C.default.object,countriesList:C.default.arrayOf(C.default.shape({name:C.default.string,iso2:C.default.string,dialCode:C.default.string,priority:C.default.number,areaCodes:C.default.arrayOf(C.default.string)})),cancelText:C.default.string,cancelTextStyle:C.default.object,confirmText:C.default.string,confirmTextTextStyle:C.default.object,disabled:C.default.bool,allowZeroAfterCountryCode:C.default.bool},x.defaultProps={initialCountry:"us",disabled:!1,allowZeroAfterCountryCode:!0}},1015,[1,3,11,4,6,8,7,5,9,12,16,67,1016,1018,1261,1264,1265]); -__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])),o=t(r(d[2])),u=r(d[3]),s=null,c=(function(){function t(){(0,n.default)(this,t),this.countryCodes=[],this.countriesData=null}return(0,o.default)(t,null,[{key:"getInstance",value:function(){return s||(s=new t),s}}]),(0,o.default)(t,[{key:"setCustomCountriesData",value:function(t){this.countriesData=t}},{key:"addCountryCode",value:function(t,n,o){n in this.countryCodes||(this.countryCodes[n]=[]);var u=o||0;this.countryCodes[n][u]=t}},{key:"getAll",value:function(){return this.countries||(this.countries=(0,u.orderBy)(this.countriesData||r(d[4]),['name'],['asc'])),this.countries}},{key:"getCountryCodes",value:function(){var t=this;return this.countryCodes.length||this.getAll().map(function(n){t.addCountryCode(n.iso2,n.dialCode,n.priority),n.areaCodes&&n.areaCodes.map(function(o){t.addCountryCode(n.iso2,n.dialCode+o)})}),this.countryCodes}},{key:"getCountryDataByCode",value:function(t){return(0,u.find)(this.getAll(),function(n){return n.iso2===t})}}]),t})().getInstance();e.default=c},1016,[3,4,5,729,1017]); -__d(function(a,i,e,o,r,l,d){r.exports=[{name:"Afghanistan (\u202b\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646\u202c\u200e)",iso2:"af",dialCode:"93",priority:0,areaCodes:null},{name:"Albania (Shqip\xebri)",iso2:"al",dialCode:"355",priority:0,areaCodes:null},{name:"Algeria (\u202b\u0627\u0644\u062c\u0632\u0627\u0626\u0631\u202c\u200e)",iso2:"dz",dialCode:"213",priority:0,areaCodes:null},{name:"American Samoa",iso2:"as",dialCode:"1684",priority:0,areaCodes:null},{name:"Andorra",iso2:"ad",dialCode:"376",priority:0,areaCodes:null},{name:"Angola",iso2:"ao",dialCode:"244",priority:0,areaCodes:null},{name:"Anguilla",iso2:"ai",dialCode:"1264",priority:0,areaCodes:null},{name:"Antigua and Barbuda",iso2:"ag",dialCode:"1268",priority:0,areaCodes:null},{name:"Argentina",iso2:"ar",dialCode:"54",priority:0,areaCodes:null},{name:"Armenia (\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576)",iso2:"am",dialCode:"374",priority:0,areaCodes:null},{name:"Aruba",iso2:"aw",dialCode:"297",priority:0,areaCodes:null},{name:"Australia",iso2:"au",dialCode:"61",priority:0,areaCodes:null},{name:"Austria (\xd6sterreich)",iso2:"at",dialCode:"43",priority:0,areaCodes:null},{name:"Azerbaijan (Az\u0259rbaycan)",iso2:"az",dialCode:"994",priority:0,areaCodes:null},{name:"Bahamas",iso2:"bs",dialCode:"1242",priority:0,areaCodes:null},{name:"Bahrain (\u202b\u0627\u0644\u0628\u062d\u0631\u064a\u0646\u202c\u200e)",iso2:"bh",dialCode:"973",priority:0,areaCodes:null},{name:"Bangladesh (\u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6)",iso2:"bd",dialCode:"880",priority:0,areaCodes:null},{name:"Barbados",iso2:"bb",dialCode:"1246",priority:0,areaCodes:null},{name:"Belarus (\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c)",iso2:"by",dialCode:"375",priority:0,areaCodes:null},{name:"Belgium (Belgi\xeb)",iso2:"be",dialCode:"32",priority:0,areaCodes:null},{name:"Belize",iso2:"bz",dialCode:"501",priority:0,areaCodes:null},{name:"Benin (B\xe9nin)",iso2:"bj",dialCode:"229",priority:0,areaCodes:null},{name:"Bermuda",iso2:"bm",dialCode:"1441",priority:0,areaCodes:null},{name:"Bhutan (\u0f60\u0f56\u0fb2\u0f74\u0f42)",iso2:"bt",dialCode:"975",priority:0,areaCodes:null},{name:"Bolivia",iso2:"bo",dialCode:"591",priority:0,areaCodes:null},{name:"Bosnia and Herzegovina (\u0411\u043e\u0441\u043d\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430)",iso2:"ba",dialCode:"387",priority:0,areaCodes:null},{name:"Botswana",iso2:"bw",dialCode:"267",priority:0,areaCodes:null},{name:"Brazil (Brasil)",iso2:"br",dialCode:"55",priority:0,areaCodes:null},{name:"British Indian Ocean Territory",iso2:"io",dialCode:"246",priority:0,areaCodes:null},{name:"British Virgin Islands",iso2:"vg",dialCode:"1284",priority:0,areaCodes:null},{name:"Brunei",iso2:"bn",dialCode:"673",priority:0,areaCodes:null},{name:"Bulgaria (\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f)",iso2:"bg",dialCode:"359",priority:0,areaCodes:null},{name:"Burkina Faso",iso2:"bf",dialCode:"226",priority:0,areaCodes:null},{name:"Burundi (Uburundi)",iso2:"bi",dialCode:"257",priority:0,areaCodes:null},{name:"Cambodia (\u1780\u1798\u17d2\u1796\u17bb\u1787\u17b6)",iso2:"kh",dialCode:"855",priority:0,areaCodes:null},{name:"Cameroon (Cameroun)",iso2:"cm",dialCode:"237",priority:0,areaCodes:null},{name:"Canada",iso2:"ca",dialCode:"1",priority:1,areaCodes:["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]},{name:"Cape Verde (Kabu Verdi)",iso2:"cv",dialCode:"238",priority:0,areaCodes:null},{name:"Caribbean Netherlands",iso2:"bq",dialCode:"599",priority:1,areaCodes:null},{name:"Cayman Islands",iso2:"ky",dialCode:"1345",priority:0,areaCodes:null},{name:"Central African Republic (R\xe9publique centrafricaine)",iso2:"cf",dialCode:"236",priority:0,areaCodes:null},{name:"Chad (Tchad)",iso2:"td",dialCode:"235",priority:0,areaCodes:null},{name:"Chile",iso2:"cl",dialCode:"56",priority:0,areaCodes:null},{name:"China (\u4e2d\u56fd)",iso2:"cn",dialCode:"86",priority:0,areaCodes:null},{name:"Christmas Island",iso2:"cx",dialCode:"61",priority:2,areaCodes:null},{name:"Cocos (Keeling) Islands",iso2:"cc",dialCode:"61",priority:1,areaCodes:null},{name:"Colombia",iso2:"co",dialCode:"57",priority:0,areaCodes:null},{name:"Comoros (\u202b\u062c\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202c\u200e)",iso2:"km",dialCode:"269",priority:0,areaCodes:null},{name:"Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)",iso2:"cd",dialCode:"243",priority:0,areaCodes:null},{name:"Congo (Republic) (Congo-Brazzaville)",iso2:"cg",dialCode:"242",priority:0,areaCodes:null},{name:"Cook Islands",iso2:"ck",dialCode:"682",priority:0,areaCodes:null},{name:"Costa Rica",iso2:"cr",dialCode:"506",priority:0,areaCodes:null},{name:"C\xf4te d\u2019Ivoire",iso2:"ci",dialCode:"225",priority:0,areaCodes:null},{name:"Croatia (Hrvatska)",iso2:"hr",dialCode:"385",priority:0,areaCodes:null},{name:"Cuba",iso2:"cu",dialCode:"53",priority:0,areaCodes:null},{name:"Cura\xe7ao",iso2:"cw",dialCode:"599",priority:0,areaCodes:null},{name:"Cyprus (\u039a\u03cd\u03c0\u03c1\u03bf\u03c2)",iso2:"cy",dialCode:"357",priority:0,areaCodes:null},{name:"Czech Republic (\u010cesk\xe1 republika)",iso2:"cz",dialCode:"420",priority:0,areaCodes:null},{name:"Denmark (Danmark)",iso2:"dk",dialCode:"45",priority:0,areaCodes:null},{name:"Djibouti",iso2:"dj",dialCode:"253",priority:0,areaCodes:null},{name:"Dominica",iso2:"dm",dialCode:"1767",priority:0,areaCodes:null},{name:"Dominican Republic (Rep\xfablica Dominicana)",iso2:"do",dialCode:"1",priority:2,areaCodes:["809","829","849"]},{name:"Ecuador",iso2:"ec",dialCode:"593",priority:0,areaCodes:null},{name:"Egypt (\u202b\u0645\u0635\u0631\u202c\u200e)",iso2:"eg",dialCode:"20",priority:0,areaCodes:null},{name:"El Salvador",iso2:"sv",dialCode:"503",priority:0,areaCodes:null},{name:"Equatorial Guinea (Guinea Ecuatorial)",iso2:"gq",dialCode:"240",priority:0,areaCodes:null},{name:"Eritrea",iso2:"er",dialCode:"291",priority:0,areaCodes:null},{name:"Estonia (Eesti)",iso2:"ee",dialCode:"372",priority:0,areaCodes:null},{name:"Ethiopia",iso2:"et",dialCode:"251",priority:0,areaCodes:null},{name:"Falkland Islands (Islas Malvinas)",iso2:"fk",dialCode:"500",priority:0,areaCodes:null},{name:"Faroe Islands (F\xf8royar)",iso2:"fo",dialCode:"298",priority:0,areaCodes:null},{name:"Fiji",iso2:"fj",dialCode:"679",priority:0,areaCodes:null},{name:"Finland (Suomi)",iso2:"fi",dialCode:"358",priority:0,areaCodes:null},{name:"France",iso2:"fr",dialCode:"33",priority:0,areaCodes:null},{name:"French Guiana (Guyane fran\xe7aise)",iso2:"gf",dialCode:"594",priority:0,areaCodes:null},{name:"French Polynesia (Polyn\xe9sie fran\xe7aise)",iso2:"pf",dialCode:"689",priority:0,areaCodes:null},{name:"Gabon",iso2:"ga",dialCode:"241",priority:0,areaCodes:null},{name:"Gambia",iso2:"gm",dialCode:"220",priority:0,areaCodes:null},{name:"Georgia (\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\u10dd)",iso2:"ge",dialCode:"995",priority:0,areaCodes:null},{name:"Germany (Deutschland)",iso2:"de",dialCode:"49",priority:0,areaCodes:null},{name:"Ghana (Gaana)",iso2:"gh",dialCode:"233",priority:0,areaCodes:null},{name:"Gibraltar",iso2:"gi",dialCode:"350",priority:0,areaCodes:null},{name:"Greece (\u0395\u03bb\u03bb\u03ac\u03b4\u03b1)",iso2:"gr",dialCode:"30",priority:0,areaCodes:null},{name:"Greenland (Kalaallit Nunaat)",iso2:"gl",dialCode:"299",priority:0,areaCodes:null},{name:"Grenada",iso2:"gd",dialCode:"1473",priority:0,areaCodes:null},{name:"Guadeloupe",iso2:"gp",dialCode:"590",priority:0,areaCodes:null},{name:"Guam",iso2:"gu",dialCode:"1671",priority:0,areaCodes:null},{name:"Guatemala",iso2:"gt",dialCode:"502",priority:0,areaCodes:null},{name:"Guernsey",iso2:"gg",dialCode:"44",priority:1,areaCodes:null},{name:"Guinea (Guin\xe9e)",iso2:"gn",dialCode:"224",priority:0,areaCodes:null},{name:"Guinea-Bissau (Guin\xe9 Bissau)",iso2:"gw",dialCode:"245",priority:0,areaCodes:null},{name:"Guyana",iso2:"gy",dialCode:"592",priority:0,areaCodes:null},{name:"Haiti",iso2:"ht",dialCode:"509",priority:0,areaCodes:null},{name:"Honduras",iso2:"hn",dialCode:"504",priority:0,areaCodes:null},{name:"Hong Kong (\u9999\u6e2f)",iso2:"hk",dialCode:"852",priority:0,areaCodes:null},{name:"Hungary (Magyarorsz\xe1g)",iso2:"hu",dialCode:"36",priority:0,areaCodes:null},{name:"Iceland (\xcdsland)",iso2:"is",dialCode:"354",priority:0,areaCodes:null},{name:"India (\u092d\u093e\u0930\u0924)",iso2:"in",dialCode:"91",priority:0,areaCodes:null},{name:"Indonesia",iso2:"id",dialCode:"62",priority:0,areaCodes:null},{name:"Iran (\u202b\u0627\u06cc\u0631\u0627\u0646\u202c\u200e)",iso2:"ir",dialCode:"98",priority:0,areaCodes:null},{name:"Iraq (\u202b\u0627\u0644\u0639\u0631\u0627\u0642\u202c\u200e)",iso2:"iq",dialCode:"964",priority:0,areaCodes:null},{name:"Ireland",iso2:"ie",dialCode:"353",priority:0,areaCodes:null},{name:"Isle of Man",iso2:"im",dialCode:"44",priority:2,areaCodes:null},{name:"Israel (\u202b\u05d9\u05e9\u05e8\u05d0\u05dc\u202c\u200e)",iso2:"il",dialCode:"972",priority:0,areaCodes:null},{name:"Italy (Italia)",iso2:"it",dialCode:"39",priority:0,areaCodes:null},{name:"Jamaica",iso2:"jm",dialCode:"1876",priority:0,areaCodes:null},{name:"Japan (\u65e5\u672c)",iso2:"jp",dialCode:"81",priority:0,areaCodes:null},{name:"Jersey",iso2:"je",dialCode:"44",priority:3,areaCodes:null},{name:"Jordan (\u202b\u0627\u0644\u0623\u0631\u062f\u0646\u202c\u200e)",iso2:"jo",dialCode:"962",priority:0,areaCodes:null},{name:"Kazakhstan (\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d)",iso2:"kz",dialCode:"7",priority:1,areaCodes:null},{name:"Kenya",iso2:"ke",dialCode:"254",priority:0,areaCodes:null},{name:"Kiribati",iso2:"ki",dialCode:"686",priority:0,areaCodes:null},{name:"Kuwait (\u202b\u0627\u0644\u0643\u0648\u064a\u062a\u202c\u200e)",iso2:"kw",dialCode:"965",priority:0,areaCodes:null},{name:"Kyrgyzstan (\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d)",iso2:"kg",dialCode:"996",priority:0,areaCodes:null},{name:"Laos (\u0ea5\u0eb2\u0ea7)",iso2:"la",dialCode:"856",priority:0,areaCodes:null},{name:"Latvia (Latvija)",iso2:"lv",dialCode:"371",priority:0,areaCodes:null},{name:"Lebanon (\u202b\u0644\u0628\u0646\u0627\u0646\u202c\u200e)",iso2:"lb",dialCode:"961",priority:0,areaCodes:null},{name:"Lesotho",iso2:"ls",dialCode:"266",priority:0,areaCodes:null},{name:"Liberia",iso2:"lr",dialCode:"231",priority:0,areaCodes:null},{name:"Libya (\u202b\u0644\u064a\u0628\u064a\u0627\u202c\u200e)",iso2:"ly",dialCode:"218",priority:0,areaCodes:null},{name:"Liechtenstein",iso2:"li",dialCode:"423",priority:0,areaCodes:null},{name:"Lithuania (Lietuva)",iso2:"lt",dialCode:"370",priority:0,areaCodes:null},{name:"Luxembourg",iso2:"lu",dialCode:"352",priority:0,areaCodes:null},{name:"Macau (\u6fb3\u9580)",iso2:"mo",dialCode:"853",priority:0,areaCodes:null},{name:"Macedonia (FYROM) (\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430)",iso2:"mk",dialCode:"389",priority:0,areaCodes:null},{name:"Madagascar (Madagasikara)",iso2:"mg",dialCode:"261",priority:0,areaCodes:null},{name:"Malawi",iso2:"mw",dialCode:"265",priority:0,areaCodes:null},{name:"Malaysia",iso2:"my",dialCode:"60",priority:0,areaCodes:null},{name:"Maldives",iso2:"mv",dialCode:"960",priority:0,areaCodes:null},{name:"Mali",iso2:"ml",dialCode:"223",priority:0,areaCodes:null},{name:"Malta",iso2:"mt",dialCode:"356",priority:0,areaCodes:null},{name:"Marshall Islands",iso2:"mh",dialCode:"692",priority:0,areaCodes:null},{name:"Martinique",iso2:"mq",dialCode:"596",priority:0,areaCodes:null},{name:"Mauritania (\u202b\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627\u202c\u200e)",iso2:"mr",dialCode:"222",priority:0,areaCodes:null},{name:"Mauritius (Moris)",iso2:"mu",dialCode:"230",priority:0,areaCodes:null},{name:"Mayotte",iso2:"yt",dialCode:"262",priority:1,areaCodes:null},{name:"Mexico (M\xe9xico)",iso2:"mx",dialCode:"52",priority:0,areaCodes:null},{name:"Micronesia",iso2:"fm",dialCode:"691",priority:0,areaCodes:null},{name:"Moldova (Republica Moldova)",iso2:"md",dialCode:"373",priority:0,areaCodes:null},{name:"Monaco",iso2:"mc",dialCode:"377",priority:0,areaCodes:null},{name:"Mongolia (\u041c\u043e\u043d\u0433\u043e\u043b)",iso2:"mn",dialCode:"976",priority:0,areaCodes:null},{name:"Montenegro (Crna Gora)",iso2:"me",dialCode:"382",priority:0,areaCodes:null},{name:"Montserrat",iso2:"ms",dialCode:"1664",priority:0,areaCodes:null},{name:"Morocco (\u202b\u0627\u0644\u0645\u063a\u0631\u0628\u202c\u200e)",iso2:"ma",dialCode:"212",priority:0,areaCodes:null},{name:"Mozambique (Mo\xe7ambique)",iso2:"mz",dialCode:"258",priority:0,areaCodes:null},{name:"Myanmar (Burma)",iso2:"mm",dialCode:"95",priority:0,areaCodes:null},{name:"Namibia (Namibi\xeb)",iso2:"na",dialCode:"264",priority:0,areaCodes:null},{name:"Nauru",iso2:"nr",dialCode:"674",priority:0,areaCodes:null},{name:"Nepal (\u0928\u0947\u092a\u093e\u0932)",iso2:"np",dialCode:"977",priority:0,areaCodes:null},{name:"Netherlands (Nederland)",iso2:"nl",dialCode:"31",priority:0,areaCodes:null},{name:"New Caledonia (Nouvelle-Cal\xe9donie)",iso2:"nc",dialCode:"687",priority:0,areaCodes:null},{name:"New Zealand",iso2:"nz",dialCode:"64",priority:0,areaCodes:null},{name:"Nicaragua",iso2:"ni",dialCode:"505",priority:0,areaCodes:null},{name:"Niger (Nijar)",iso2:"ne",dialCode:"227",priority:0,areaCodes:null},{name:"Nigeria",iso2:"ng",dialCode:"234",priority:0,areaCodes:null},{name:"Niue",iso2:"nu",dialCode:"683",priority:0,areaCodes:null},{name:"Norfolk Island",iso2:"nf",dialCode:"672",priority:0,areaCodes:null},{name:"North Korea (\uc870\uc120 \ubbfc\uc8fc\uc8fc\uc758 \uc778\ubbfc \uacf5\ud654\uad6d)",iso2:"kp",dialCode:"850",priority:0,areaCodes:null},{name:"Northern Mariana Islands",iso2:"mp",dialCode:"1670",priority:0,areaCodes:null},{name:"Norway (Norge)",iso2:"no",dialCode:"47",priority:0,areaCodes:null},{name:"Oman (\u202b\u0639\u064f\u0645\u0627\u0646\u202c\u200e)",iso2:"om",dialCode:"968",priority:0,areaCodes:null},{name:"Pakistan (\u202b\u067e\u0627\u06a9\u0633\u062a\u0627\u0646\u202c\u200e)",iso2:"pk",dialCode:"92",priority:0,areaCodes:null},{name:"Palau",iso2:"pw",dialCode:"680",priority:0,areaCodes:null},{name:"Palestine (\u202b\u0641\u0644\u0633\u0637\u064a\u0646\u202c\u200e)",iso2:"ps",dialCode:"970",priority:0,areaCodes:null},{name:"Panama (Panam\xe1)",iso2:"pa",dialCode:"507",priority:0,areaCodes:null},{name:"Papua New Guinea",iso2:"pg",dialCode:"675",priority:0,areaCodes:null},{name:"Paraguay",iso2:"py",dialCode:"595",priority:0,areaCodes:null},{name:"Peru (Per\xfa)",iso2:"pe",dialCode:"51",priority:0,areaCodes:null},{name:"Philippines",iso2:"ph",dialCode:"63",priority:0,areaCodes:null},{name:"Poland (Polska)",iso2:"pl",dialCode:"48",priority:0,areaCodes:null},{name:"Portugal",iso2:"pt",dialCode:"351",priority:0,areaCodes:null},{name:"Puerto Rico",iso2:"pr",dialCode:"1",priority:3,areaCodes:["787","939"]},{name:"Qatar (\u202b\u0642\u0637\u0631\u202c\u200e)",iso2:"qa",dialCode:"974",priority:0,areaCodes:null},{name:"R\xe9union (La R\xe9union)",iso2:"re",dialCode:"262",priority:0,areaCodes:null},{name:"Romania (Rom\xe2nia)",iso2:"ro",dialCode:"40",priority:0,areaCodes:null},{name:"Russia (\u0420\u043e\u0441\u0441\u0438\u044f)",iso2:"ru",dialCode:"7",priority:0,areaCodes:null},{name:"Rwanda",iso2:"rw",dialCode:"250",priority:0,areaCodes:null},{name:"Saint Barth\xe9lemy (Saint-Barth\xe9lemy)",iso2:"bl",dialCode:"590",priority:1,areaCodes:null},{name:"Saint Helena",iso2:"sh",dialCode:"290",priority:0,areaCodes:null},{name:"Saint Kitts and Nevis",iso2:"kn",dialCode:"1869",priority:0,areaCodes:null},{name:"Saint Lucia",iso2:"lc",dialCode:"1758",priority:0,areaCodes:null},{name:"Saint Martin (Saint-Martin (partie fran\xe7aise))",iso2:"mf",dialCode:"590",priority:2,areaCodes:null},{name:"Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)",iso2:"pm",dialCode:"508",priority:0,areaCodes:null},{name:"Saint Vincent and the Grenadines",iso2:"vc",dialCode:"1784",priority:0,areaCodes:null},{name:"Samoa",iso2:"ws",dialCode:"685",priority:0,areaCodes:null},{name:"San Marino",iso2:"sm",dialCode:"378",priority:0,areaCodes:null},{name:"S\xe3o Tom\xe9 and Pr\xedncipe (S\xe3o Tom\xe9 e Pr\xedncipe)",iso2:"st",dialCode:"239",priority:0,areaCodes:null},{name:"Saudi Arabia (\u202b\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629\u202c\u200e)",iso2:"sa",dialCode:"966",priority:0,areaCodes:null},{name:"Senegal (S\xe9n\xe9gal)",iso2:"sn",dialCode:"221",priority:0,areaCodes:null},{name:"Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)",iso2:"rs",dialCode:"381",priority:0,areaCodes:null},{name:"Seychelles",iso2:"sc",dialCode:"248",priority:0,areaCodes:null},{name:"Sierra Leone",iso2:"sl",dialCode:"232",priority:0,areaCodes:null},{name:"Singapore",iso2:"sg",dialCode:"65",priority:0,areaCodes:null},{name:"Sint Maarten",iso2:"sx",dialCode:"1721",priority:0,areaCodes:null},{name:"Slovakia (Slovensko)",iso2:"sk",dialCode:"421",priority:0,areaCodes:null},{name:"Slovenia (Slovenija)",iso2:"si",dialCode:"386",priority:0,areaCodes:null},{name:"Solomon Islands",iso2:"sb",dialCode:"677",priority:0,areaCodes:null},{name:"Somalia (Soomaaliya)",iso2:"so",dialCode:"252",priority:0,areaCodes:null},{name:"South Africa",iso2:"za",dialCode:"27",priority:0,areaCodes:null},{name:"South Korea (\ub300\ud55c\ubbfc\uad6d)",iso2:"kr",dialCode:"82",priority:0,areaCodes:null},{name:"South Sudan (\u202b\u062c\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062f\u0627\u0646\u202c\u200e)",iso2:"ss",dialCode:"211",priority:0,areaCodes:null},{name:"Spain (Espa\xf1a)",iso2:"es",dialCode:"34",priority:0,areaCodes:null},{name:"Sri Lanka (\u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\u0dcf\u0dc0)",iso2:"lk",dialCode:"94",priority:0,areaCodes:null},{name:"Sudan (\u202b\u0627\u0644\u0633\u0648\u062f\u0627\u0646\u202c\u200e)",iso2:"sd",dialCode:"249",priority:0,areaCodes:null},{name:"Suriname",iso2:"sr",dialCode:"597",priority:0,areaCodes:null},{name:"Svalbard and Jan Mayen",iso2:"sj",dialCode:"47",priority:1,areaCodes:null},{name:"Swaziland",iso2:"sz",dialCode:"268",priority:0,areaCodes:null},{name:"Sweden (Sverige)",iso2:"se",dialCode:"46",priority:0,areaCodes:null},{name:"Switzerland (Schweiz)",iso2:"ch",dialCode:"41",priority:0,areaCodes:null},{name:"Syria (\u202b\u0633\u0648\u0631\u064a\u0627\u202c\u200e)",iso2:"sy",dialCode:"963",priority:0,areaCodes:null},{name:"Taiwan (\u53f0\u7063)",iso2:"tw",dialCode:"886",priority:0,areaCodes:null},{name:"Tajikistan",iso2:"tj",dialCode:"992",priority:0,areaCodes:null},{name:"Tanzania",iso2:"tz",dialCode:"255",priority:0,areaCodes:null},{name:"Thailand (\u0e44\u0e17\u0e22)",iso2:"th",dialCode:"66",priority:0,areaCodes:null},{name:"Timor-Leste",iso2:"tl",dialCode:"670",priority:0,areaCodes:null},{name:"Togo",iso2:"tg",dialCode:"228",priority:0,areaCodes:null},{name:"Tokelau",iso2:"tk",dialCode:"690",priority:0,areaCodes:null},{name:"Tonga",iso2:"to",dialCode:"676",priority:0,areaCodes:null},{name:"Trinidad and Tobago",iso2:"tt",dialCode:"1868",priority:0,areaCodes:null},{name:"Tunisia (\u202b\u062a\u0648\u0646\u0633\u202c\u200e)",iso2:"tn",dialCode:"216",priority:0,areaCodes:null},{name:"Turkey (T\xfcrkiye)",iso2:"tr",dialCode:"90",priority:0,areaCodes:null},{name:"Turkmenistan",iso2:"tm",dialCode:"993",priority:0,areaCodes:null},{name:"Turks and Caicos Islands",iso2:"tc",dialCode:"1649",priority:0,areaCodes:null},{name:"Tuvalu",iso2:"tv",dialCode:"688",priority:0,areaCodes:null},{name:"U.S. Virgin Islands",iso2:"vi",dialCode:"1340",priority:0,areaCodes:null},{name:"Uganda",iso2:"ug",dialCode:"256",priority:0,areaCodes:null},{name:"Ukraine (\u0423\u043a\u0440\u0430\u0457\u043d\u0430)",iso2:"ua",dialCode:"380",priority:0,areaCodes:null},{name:"United Arab Emirates (\u202b\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629\u202c\u200e)",iso2:"ae",dialCode:"971",priority:0,areaCodes:null},{name:"United Kingdom",iso2:"gb",dialCode:"44",priority:0,areaCodes:null},{name:"United States",iso2:"us",dialCode:"1",priority:0,areaCodes:null},{name:"Uruguay",iso2:"uy",dialCode:"598",priority:0,areaCodes:null},{name:"Uzbekistan (O\u02bbzbekiston)",iso2:"uz",dialCode:"998",priority:0,areaCodes:null},{name:"Vanuatu",iso2:"vu",dialCode:"678",priority:0,areaCodes:null},{name:"Vatican City (Citt\xe0 del Vaticano)",iso2:"va",dialCode:"39",priority:1,areaCodes:null},{name:"Venezuela",iso2:"ve",dialCode:"58",priority:0,areaCodes:null},{name:"Vietnam (Vi\u1ec7t Nam)",iso2:"vn",dialCode:"84",priority:0,areaCodes:null},{name:"Wallis and Futuna",iso2:"wf",dialCode:"681",priority:0,areaCodes:null},{name:"Western Sahara (\u202b\u0627\u0644\u0635\u062d\u0631\u0627\u0621 \u0627\u0644\u063a\u0631\u0628\u064a\u0629\u202c\u200e)",iso2:"eh",dialCode:"212",priority:1,areaCodes:null},{name:"Yemen (\u202b\u0627\u0644\u064a\u0645\u0646\u202c\u200e)",iso2:"ye",dialCode:"967",priority:0,areaCodes:null},{name:"Zambia",iso2:"zm",dialCode:"260",priority:0,areaCodes:null},{name:"Zimbabwe",iso2:"zw",dialCode:"263",priority:0,areaCodes:null},{name:"\xc5land Islands",iso2:"ax",dialCode:"358",priority:1,areaCodes:null}]},1017,[]); -__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])),s=t(r(d[2])),c=null,l=(function(){function t(){(0,n.default)(this,t),this.flags={ad:r(d[3]),ae:r(d[4]),af:r(d[5]),ag:r(d[6]),ai:r(d[7]),al:r(d[8]),am:r(d[9]),ao:r(d[10]),ar:r(d[11]),as:r(d[12]),at:r(d[13]),au:r(d[14]),aw:r(d[15]),ax:r(d[16]),az:r(d[17]),ba:r(d[18]),bb:r(d[19]),bd:r(d[20]),be:r(d[21]),bf:r(d[22]),bg:r(d[23]),bh:r(d[24]),bi:r(d[25]),bj:r(d[26]),bl:r(d[27]),bm:r(d[28]),bn:r(d[29]),bo:r(d[30]),bq:r(d[31]),br:r(d[32]),bs:r(d[33]),bt:r(d[34]),bw:r(d[35]),by:r(d[36]),bz:r(d[37]),ca:r(d[38]),cc:r(d[39]),cd:r(d[40]),cf:r(d[41]),cg:r(d[42]),ch:r(d[43]),ci:r(d[44]),ck:r(d[45]),cl:r(d[46]),cm:r(d[47]),cn:r(d[48]),co:r(d[49]),cr:r(d[50]),cu:r(d[51]),cv:r(d[52]),cw:r(d[53]),cx:r(d[54]),cy:r(d[55]),cz:r(d[56]),de:r(d[57]),dj:r(d[58]),dk:r(d[59]),dm:r(d[60]),do:r(d[61]),dz:r(d[62]),ec:r(d[63]),ee:r(d[64]),eg:r(d[65]),eh:r(d[66]),er:r(d[67]),es:r(d[68]),et:r(d[69]),fi:r(d[70]),fj:r(d[71]),fk:r(d[72]),fm:r(d[73]),fo:r(d[74]),fr:r(d[75]),ga:r(d[76]),gb:r(d[77]),gd:r(d[78]),ge:r(d[79]),gf:r(d[80]),gg:r(d[81]),gh:r(d[82]),gi:r(d[83]),gm:r(d[84]),gn:r(d[85]),gp:r(d[86]),gq:r(d[87]),gr:r(d[88]),gt:r(d[89]),gu:r(d[90]),gw:r(d[91]),gy:r(d[92]),hk:r(d[93]),hn:r(d[94]),hr:r(d[95]),ht:r(d[96]),hu:r(d[97]),id:r(d[98]),ie:r(d[99]),il:r(d[100]),im:r(d[101]),in:r(d[102]),io:r(d[103]),iq:r(d[104]),ir:r(d[105]),is:r(d[106]),it:r(d[107]),je:r(d[108]),jm:r(d[109]),jo:r(d[110]),jp:r(d[111]),ke:r(d[112]),kg:r(d[113]),kh:r(d[114]),ki:r(d[115]),km:r(d[116]),kn:r(d[117]),kp:r(d[118]),kr:r(d[119]),ks:r(d[120]),kw:r(d[121]),ky:r(d[122]),kz:r(d[123]),la:r(d[124]),lb:r(d[125]),lc:r(d[126]),li:r(d[127]),lk:r(d[128]),lr:r(d[129]),ls:r(d[130]),lt:r(d[131]),lu:r(d[132]),lv:r(d[133]),ly:r(d[134]),ma:r(d[135]),mc:r(d[136]),md:r(d[137]),me:r(d[138]),mf:r(d[139]),mg:r(d[140]),mh:r(d[141]),mk:r(d[142]),ml:r(d[143]),mm:r(d[144]),mn:r(d[145]),mo:r(d[146]),mp:r(d[147]),mq:r(d[148]),mr:r(d[149]),ms:r(d[150]),mt:r(d[151]),mu:r(d[152]),mv:r(d[153]),mw:r(d[154]),mx:r(d[155]),my:r(d[156]),mz:r(d[157]),na:r(d[158]),nc:r(d[159]),ne:r(d[160]),nf:r(d[161]),ng:r(d[162]),ni:r(d[163]),nl:r(d[164]),no:r(d[165]),np:r(d[166]),nr:r(d[167]),nu:r(d[168]),nz:r(d[169]),om:r(d[170]),pa:r(d[171]),pe:r(d[172]),pf:r(d[173]),pg:r(d[174]),ph:r(d[175]),pk:r(d[176]),pl:r(d[177]),pm:r(d[178]),pr:r(d[179]),ps:r(d[180]),pt:r(d[181]),pw:r(d[182]),py:r(d[183]),qa:r(d[184]),re:r(d[185]),ro:r(d[186]),rs:r(d[187]),ru:r(d[188]),rw:r(d[189]),sa:r(d[190]),sb:r(d[191]),sc:r(d[192]),sd:r(d[193]),se:r(d[194]),sg:r(d[195]),sh:r(d[196]),si:r(d[197]),sj:r(d[198]),sk:r(d[199]),sl:r(d[200]),sm:r(d[201]),sn:r(d[202]),so:r(d[203]),sr:r(d[204]),ss:r(d[205]),st:r(d[206]),sv:r(d[207]),sx:r(d[208]),sy:r(d[209]),sz:r(d[210]),tc:r(d[211]),td:r(d[212]),tg:r(d[213]),th:r(d[214]),tj:r(d[215]),tk:r(d[216]),tl:r(d[217]),tm:r(d[218]),tn:r(d[219]),to:r(d[220]),tr:r(d[221]),tt:r(d[222]),tv:r(d[223]),tw:r(d[224]),tz:r(d[225]),ua:r(d[226]),ug:r(d[227]),us:r(d[228]),uy:r(d[229]),uz:r(d[230]),va:r(d[231]),vc:r(d[232]),ve:r(d[233]),vg:r(d[234]),vi:r(d[235]),vn:r(d[236]),vu:r(d[237]),wf:r(d[238]),ws:r(d[239]),ye:r(d[240]),yt:r(d[241]),za:r(d[242]),zm:r(d[243]),zw:r(d[244])}}return(0,s.default)(t,null,[{key:"getInstance",value:function(){return c||(c=new t),c}}]),(0,s.default)(t,[{key:"get",value:function(t){return this.flags[t]}}]),t})().getInstance();e.default=l},1018,[3,4,5,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:385,scales:[1],hash:"656c5b7473e257c5f681bfcfa04e825c",name:"ad",type:"png"})},1019,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"21fc2c04a8f670b62658a9726913bbc5",name:"ae",type:"png"})},1020,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"e89638307efb2088ee047b073d64d9f0",name:"af",type:"png"})},1021,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"f601041ecc597dc251c3e82409ac91c8",name:"ag",type:"png"})},1022,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"ff2487154f636d5cdf36ab200333f842",name:"ai",type:"png"})},1023,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:393,scales:[1],hash:"b264ab36e282ff9b16165a1e98dbb7e5",name:"al",type:"png"})},1024,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"6fc8c2ec4abb9057b8fe6e788a3006c3",name:"am",type:"png"})},1025,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"e57c6e576870c25ce1f21b2acf26fe0b",name:"ao",type:"png"})},1026,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:354,scales:[1],hash:"3ae373fa31cc2820113f2669cfc99195",name:"ar",type:"png"})},1027,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:255,height:128,scales:[1],hash:"70d9a9f5f0cb76535d4d8bd705d9b684",name:"as",type:"png"})},1028,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"dd8fe250547c5222b48c2b710cb8417e",name:"at",type:"png"})},1029,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"99524679f4cab30970ef73ddb06bc5ca",name:"au",type:"png"})},1030,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"70b29501d68246924a7b8d05d928b57a",name:"aw",type:"png"})},1031,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:520,height:340,scales:[1],hash:"42aab862284d8a08535cac9f1f6a03d9",name:"ax",type:"png"})},1032,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"f1cef75ed66f89b4625981bdd270f8dc",name:"az",type:"png"})},1033,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"860c9f4cb536a4544b3ae6142660be8f",name:"ba",type:"png"})},1034,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"ed440a5581eef2ae755447f365e70b89",name:"bb",type:"png"})},1035,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"d0f6d8a4bf9484e16352cc442d60e6b4",name:"bd",type:"png"})},1036,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:477,scales:[1],hash:"bdf10e77474c1686990fd61cd24a9f68",name:"be",type:"png"})},1037,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8ab6a4ea826741b465dc61cf9a607e45",name:"bf",type:"png"})},1038,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"f8978f38857226aebe9272b0fae675ad",name:"bg",type:"png"})},1039,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"e669af77038c06d1026a75ddb410b77b",name:"bh",type:"png"})},1040,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"0fe266bfbdd45680f6017969cb7b0692",name:"bi",type:"png"})},1041,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"78bcee18ea28b9b4ba26fb3dd9ca161f",name:"bj",type:"png"})},1042,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"db226c04d05f6d50aeca1668442a6ea1",name:"bl",type:"png"})},1043,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"647577908c2b8245e321c23e5f2a01ac",name:"bm",type:"png"})},1044,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"6174f291286db9ff22966d917bb2a6b0",name:"bn",type:"png"})},1045,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:375,scales:[1],hash:"dc39da53f05ee6a78e70820e6fe57731",name:"bo",type:"png"})},1046,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"3c28f6636e2baa5a29ee66beef98e7d7",name:"bq",type:"png"})},1047,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:385,scales:[1],hash:"6827f261416397cc9982ae6ca30ab770",name:"br",type:"png"})},1048,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"8b06661e8682a9a8f5630f15c0aa5319",name:"bs",type:"png"})},1049,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"bde3270a01cb960201ecb628bd3a5623",name:"bt",type:"png"})},1050,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"bf7cd133ff45958c2991377ba140cdd7",name:"bw",type:"png"})},1051,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"cd84880cd7b49d68a35e8d75ffe22eb8",name:"by",type:"png"})},1052,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"26d8c85559d347f4009461dde23a69e5",name:"bz",type:"png"})},1053,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"77e3e1f249feac2f62fd6dab69b0f9dc",name:"ca",type:"png"})},1054,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"9827265c66200b4c17446d0cab2c0d8a",name:"cc",type:"png"})},1055,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"2ac94b0f6afd455b71e4d700ba040e2f",name:"cd",type:"png"})},1056,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"c97ee5c0e1f14a26d7a8b637d9e20dfc",name:"cf",type:"png"})},1057,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"a9d3fe60409e2045f51bb1dc75ef145d",name:"cg",type:"png"})},1058,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:550,scales:[1],hash:"152979eaec8c78c59aea0bd2708c62a1",name:"ch",type:"png"})},1059,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"efabb6631e81deb6d84e23e30036fa65",name:"ci",type:"png"})},1060,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"b5ac3b3ac422b648ccc384b09a9b3e41",name:"ck",type:"png"})},1061,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d1c56584e4c28820cd4bc48814ffcc2f",name:"cl",type:"png"})},1062,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"985edb4ece584a93fa430e61be6dcc6a",name:"cm",type:"png"})},1063,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"04ee30a7c806bf2e435c890dedb89372",name:"cn",type:"png"})},1064,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"41e4150e6a963160206a65dd389599f5",name:"co",type:"png"})},1065,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"fb41aa1136672c50a5d761660be595eb",name:"cr",type:"png"})},1066,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"245f4efcc05029630c7e5f8af6a1ae5f",name:"cu",type:"png"})},1067,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:324,scales:[1],hash:"b8dfff2b5e251df889de64a2c168843a",name:"cv",type:"png"})},1068,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"f23611e8ae8f17c135bacf7a4076c3d4",name:"cw",type:"png"})},1069,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"fed487bddd3c6f080aaee06438aeafea",name:"cx",type:"png"})},1070,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"293e93339ac3b97ad7c25b26c38be271",name:"cy",type:"png"})},1071,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"63041111fe7cbe59f08d6afbc8248ba6",name:"cz",type:"png"})},1072,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"abbd4565f7bcef8dc782a07aeaae4d2d",name:"de",type:"png"})},1073,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"25ca580e34afea803daa94866ab07c7d",name:"dj",type:"png"})},1074,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:416,scales:[1],hash:"b8a494a4f6a2836ee6eab604d58861be",name:"dk",type:"png"})},1075,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"d41090a03be155adeae3d698e05e7132",name:"dm",type:"png"})},1076,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:344,scales:[1],hash:"d052e0b27c5b6d0dc6e0d117e4cdeaa5",name:"do",type:"png"})},1077,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"30c25de44a748159bfc5fbd373292fac",name:"dz",type:"png"})},1078,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"e6cc1f96ed55f4c5ece03ce3e38aa88b",name:"ec",type:"png"})},1079,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:350,scales:[1],hash:"ce238cf370b78134ea7f695aa4b4c780",name:"ee",type:"png"})},1080,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"e362f359a3f68b188ab67dfef60b8b12",name:"eg",type:"png"})},1081,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"0f41bf1abaf399c4c0965a9c61ed39a3",name:"eh",type:"png"})},1082,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"c828c44606e29d01873343461fdb4550",name:"er",type:"png"})},1083,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8c819b2f3d8c6dc7e0637c2441dc6fa2",name:"es",type:"png"})},1084,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"4995ccb291433f4d5da52e3d1bbda832",name:"et",type:"png"})},1085,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:336,scales:[1],hash:"861bff67e9bd2b8f5b98bbea97526cde",name:"fi",type:"png"})},1086,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"3055dc2befb1e3758da8340bbc0ff217",name:"fj",type:"png"})},1087,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"c63ee1c865cfd4b7037573581c70ae63",name:"fk",type:"png"})},1088,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:289,scales:[1],hash:"fb08426e210cdd18af9376a552fdaeae",name:"fm",type:"png"})},1089,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:165,height:120,scales:[1],hash:"d4b60ba28c3a4465188bd48e6714149e",name:"fo",type:"png"})},1090,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"09a791be0aa03e3b35933c12cbf618f8",name:"fr",type:"png"})},1091,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:413,scales:[1],hash:"2b978005eda9d90af267b4df0f90ac0c",name:"ga",type:"png"})},1092,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"f2f57cc63057db97b7c449a09a6ba444",name:"gb",type:"png"})},1093,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"5df5e43fd221cf6968c30ef53ab38785",name:"gd",type:"png"})},1094,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"93a054b741caaae1245235894e038d43",name:"ge",type:"png"})},1095,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"be239d1a382be893671d62ebdbc28de8",name:"gf",type:"png"})},1096,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"50e36b9542e0572e42c10140cc3bec98",name:"gg",type:"png"})},1097,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d37fd3e2e31b86b923152bc4ef4d7133",name:"gh",type:"png"})},1098,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"a9a67e793e178cb26c8920f7110c9545",name:"gi",type:"png"})},1099,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"89ad16c947ab14bf99ed8dad6ed13b41",name:"gm",type:"png"})},1100,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"5de64672d77fb58f53f33b0b39497d42",name:"gn",type:"png"})},1101,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:600,height:400,scales:[1],hash:"d434f10bce063bfe8ab79d31d57e6a5e",name:"gp",type:"png"})},1102,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"e3b327fdb7a6f26a24212e5e70f9593c",name:"gq",type:"png"})},1103,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"9c13e3a15b1ffe61c7f0b3ddd4390f06",name:"gr",type:"png"})},1104,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:344,scales:[1],hash:"c15face77db6dfc87a680fd96ee31cc7",name:"gt",type:"png"})},1105,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:224,height:120,scales:[1],hash:"e753f7043a5590caed3b8828cd937345",name:"gu",type:"png"})},1106,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"74a99ffd785563a18bf83f994696b1da",name:"gw",type:"png"})},1107,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"a32e34bca6e2146f923ff3c7f4b08dfa",name:"gy",type:"png"})},1108,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"71a18b72b90e30b46d5e76ccaa71c995",name:"hk",type:"png"})},1109,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"52eb6cee832a55271682334e74a0e4a0",name:"hn",type:"png"})},1110,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"7bd313de9856c7d31351eb2e371ed9cf",name:"hr",type:"png"})},1111,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"97ab227bd06e71b718c177f9977a4440",name:"ht",type:"png"})},1112,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"d90a9c4f4d323b44dd4c62b69f1e2c9d",name:"hu",type:"png"})},1113,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"f8edb3942e38e627c5a7286c5bd01a1c",name:"id",type:"png"})},1114,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"f99dd6e4742bbb8cac0f14f1f05369c7",name:"ie",type:"png"})},1115,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:400,scales:[1],hash:"d90b5103897ce3de2bad678e9e815549",name:"il",type:"png"})},1116,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"a605cedca9b9f2f6e2c7a7c33cf1bfa1",name:"im",type:"png"})},1117,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"23aa28b15a963006c370a3951017aaf2",name:"in",type:"png"})},1118,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"3ff21d100a4e94ec2d4a42453ec2bde8",name:"io",type:"png"})},1119,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"059bad53d2ed4d25ae92bc16c46df39f",name:"iq",type:"png"})},1120,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:314,scales:[1],hash:"a2e82dba84d48e59bdafba0f3b0e0ba8",name:"ir",type:"png"})},1121,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:396,scales:[1],hash:"e6d60c230e58fd44a6b9c64459e82afc",name:"is",type:"png"})},1122,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"b90e559a19e8a2d3f1b9b978568e4a41",name:"it",type:"png"})},1123,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:200,height:120,scales:[1],hash:"6aade315b0e2c840f3ac8a5b31fa22de",name:"je",type:"png"})},1124,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"b2800abdab4203ee29f96c3ba14c1a96",name:"jm",type:"png"})},1125,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"8a3bd4981c9ad5ecb7f81f7f2c7e11ab",name:"jo",type:"png"})},1126,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8543c7aec077337fa492de9020a2e8e9",name:"jp",type:"png"})},1127,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"332964d18933b7e32f0db5a3684b9433",name:"ke",type:"png"})},1128,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"1c92e07ac53b53430ce53d64f26ec4d2",name:"kg",type:"png"})},1129,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"a379858069cfb4b76e7ef0f4a09a2709",name:"kh",type:"png"})},1130,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"425f5fd052f712b976dce9d80544f00b",name:"ki",type:"png"})},1131,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"05c7f5280f11d2bc35d5687de56a83b6",name:"km",type:"png"})},1132,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"16bcad632490d7560eae7d74f4162c1e",name:"kn",type:"png"})},1133,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"af42f710e4a10ba47c433efcc89f3889",name:"kp",type:"png"})},1134,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"e0c2b4f59ee723b1979928e682caf85b",name:"kr",type:"png"})},1135,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"ae38db7a40627a4a26ecf55b9e253ef5",name:"ks",type:"png"})},1136,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"79c3c3623bdfa681537a4e2c6d65491c",name:"kw",type:"png"})},1137,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"68e641e9af8ec3072bb8f543dcbd93b3",name:"ky",type:"png"})},1138,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"f0a24c9db9dbae94f19e0501e9171954",name:"kz",type:"png"})},1139,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"b55ba28d1e0e8a911aa860afaa310320",name:"la",type:"png"})},1140,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"f68fa25942b86d982d05b030407781b6",name:"lb",type:"png"})},1141,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"2e9ebc8c8731a0961259cd7324f5c474",name:"lc",type:"png"})},1142,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"883b0b831d200cce7750d54593f3e60e",name:"li",type:"png"})},1143,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"b33dbf1534fdbc4951e0a266a3cdc36b",name:"lk",type:"png"})},1144,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:289,scales:[1],hash:"62d28a5b80baed5d3b88becee469539e",name:"lr",type:"png"})},1145,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"bcd2c7b257dad9f6c65587bbcbc86064",name:"ls",type:"png"})},1146,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"614a881a65c203755de7dc35ab6e2ed6",name:"lt",type:"png"})},1147,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"6688c459e497c72ef4601aa02b85cac3",name:"lu",type:"png"})},1148,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"4cba04e93ea9d5ba83812b1e4ad284b7",name:"lv",type:"png"})},1149,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"7dd318a3bde58a95980c1d0dc73dd1e2",name:"ly",type:"png"})},1150,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"b119e23c320733e4c992dbc0ffc23966",name:"ma",type:"png"})},1151,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:440,scales:[1],hash:"7cc2706ac0658a498d96fdb523093cba",name:"mc",type:"png"})},1152,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"90ce5a48bca4032c4a43f0d4394b2f43",name:"md",type:"png"})},1153,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"9f44f9c13192ffcd438d66bed57f17b7",name:"me",type:"png"})},1154,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"09a791be0aa03e3b35933c12cbf618f8",name:"mf",type:"png"})},1155,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"75bfe5f1314af84921bfd16f9e7c244f",name:"mg",type:"png"})},1156,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:289,scales:[1],hash:"c8caa175bf630a665c7eb311aef4ecc5",name:"mh",type:"png"})},1157,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"bbfeaa4510b0601e6ce2aa461bf2838f",name:"mk",type:"png"})},1158,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8bdd06f5373c834adf9e1650071c42e3",name:"ml",type:"png"})},1159,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:306,scales:[1],hash:"12ba82ed5b74446c3a2cdfb74b5d85a7",name:"mm",type:"png"})},1160,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"5a9dafd8736c0362f034fdbe4b0de653",name:"mn",type:"png"})},1161,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"b3745e0fb3b7f02db6fd6c67e65e1e69",name:"mo",type:"png"})},1162,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:228,height:120,scales:[1],hash:"7cda8917740563da731082841ab0a14d",name:"mp",type:"png"})},1163,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"3acccce148ee8bee3fb42136fa16f517",name:"mq",type:"png"})},1164,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"1306dffb89d8921e2b478737c7b9471c",name:"mr",type:"png"})},1165,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"199a5a6b9f19646dd66ad8bb1dfe9cfe",name:"ms",type:"png"})},1166,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"1f800e791c126fa41d3e4b9b790b9bf4",name:"mt",type:"png"})},1167,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"5ae234d4265da61bf9e5c8cf59bab154",name:"mu",type:"png"})},1168,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8d384a0089876f070c4df2b0f6aa2e28",name:"mv",type:"png"})},1169,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8cf054ae9bb2790c6ebd77a60584a765",name:"mw",type:"png"})},1170,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:314,scales:[1],hash:"45ad2f667e09002e6ecaf5f5e212f2da",name:"mx",type:"png"})},1171,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"5adca3251cb05fb0de17830b5c594d56",name:"my",type:"png"})},1172,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"57ea1e5cf18f2f23f5a09a43124ce8dd",name:"mz",type:"png"})},1173,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"272478b8d531c1ec944da8be48d56b65",name:"na",type:"png"})},1174,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"5170c1e6b26829b37daa13519846ca5c",name:"nc",type:"png"})},1175,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:471,scales:[1],hash:"9b8ea71a725684d96dbffe0199c33ca6",name:"ne",type:"png"})},1176,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"f1d8671033443c5e13956df45bc61303",name:"nf",type:"png"})},1177,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"1cb2f4223eb470435ed99d4566c2ddbf",name:"ng",type:"png"})},1178,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"26df812a9d250efa0723b8d4d35a1bd1",name:"ni",type:"png"})},1179,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"3c28f6636e2baa5a29ee66beef98e7d7",name:"nl",type:"png"})},1180,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:400,scales:[1],hash:"9f077e747533059d00c35952bc10c16e",name:"no",type:"png"})},1181,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:672,scales:[1],hash:"d01e1cf888e3dfd53c1c9549ce784b44",name:"np",type:"png"})},1182,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"fa4a2d52297929d9488eec5a980d5e76",name:"nr",type:"png"})},1183,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"90746345242a7b2815c90738b459c681",name:"nu",type:"png"})},1184,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"9060388cb5b0e4865484a8c24583b24e",name:"nz",type:"png"})},1185,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"ba5a7dbfa723ab7f3e02300879e761c8",name:"om",type:"png"})},1186,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"2a0d89683fe6deb67d684934f1648035",name:"pa",type:"png"})},1187,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d1a7c041614c087034e412acda5fb340",name:"pe",type:"png"})},1188,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"bdd0b2c4b643b57389b90deabd550346",name:"pf",type:"png"})},1189,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:413,scales:[1],hash:"7f02140df8430d0de9b9faddb06e9762",name:"pg",type:"png"})},1190,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"e75d5f2f5744bebde4e8caa45d9923d6",name:"ph",type:"png"})},1191,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d4d1e9701d7f33fda13898dfaf437c94",name:"pk",type:"png"})},1192,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:344,scales:[1],hash:"4114588a26828a4839a136dd5cef745d",name:"pl",type:"png"})},1193,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"71a02434a19616dc8361b7264ad5e258",name:"pm",type:"png"})},1194,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"02ace463d7634337b27f8c1cf1d7b51a",name:"pr",type:"png"})},1195,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"a1483a544ada9b5f060747936e80dd25",name:"ps",type:"png"})},1196,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"67bf8f9e91bd1462d48bedbce86d2cfa",name:"pt",type:"png"})},1197,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:344,scales:[1],hash:"07069ee6f592b7d31693f303f5db073c",name:"pw",type:"png"})},1198,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"2c12d78296e387a4a3a1ec58746e3c6f",name:"py",type:"png"})},1199,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:216,scales:[1],hash:"af41a2007953bfbd0732551aba7cbb49",name:"qa",type:"png"})},1200,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"678ffd1c8c3769aff642ed62c16ad897",name:"re",type:"png"})},1201,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"8263b2b2ef5b6ab2b44d3dc289c52522",name:"ro",type:"png"})},1202,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d583be7ec8813f27d82ee0f77232aa6b",name:"rs",type:"png"})},1203,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"28d7d912e888fdd70369f4cb6c0a430f",name:"ru",type:"png"})},1204,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"a712fac20d79de8c15f69c383455396d",name:"rw",type:"png"})},1205,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"01c13e57ce441176c6faa88ef6a1d30e",name:"sa",type:"png"})},1206,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"67dafd60fda959a1ab5697e6cd4a2791",name:"sb",type:"png"})},1207,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"eee2148b070931f4ef08b18d00591ee3",name:"sc",type:"png"})},1208,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"f4c717e23ed2b96e1d9f75a8d630057f",name:"sd",type:"png"})},1209,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:344,scales:[1],hash:"2bb064ef6a4ff2189a2f95e26fd7dc5f",name:"se",type:"png"})},1210,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"532b6d0f28ef025780f863c9fe8e8af7",name:"sg",type:"png"})},1211,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"5e5280dac769556303806f51414c12ff",name:"sh",type:"png"})},1212,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"14651cb55bd671c5f7d06a04370522dc",name:"si",type:"png"})},1213,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:400,scales:[1],hash:"9f077e747533059d00c35952bc10c16e",name:"sj",type:"png"})},1214,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"9142d792e33c1d2964ac2db435c589c6",name:"sk",type:"png"})},1215,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"f79ef42b8b163c2388af9afdf3fc0323",name:"sl",type:"png"})},1216,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:413,scales:[1],hash:"1896d72b45c24f7a1a6972c5778564e7",name:"sm",type:"png"})},1217,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"c6b9a4306dd4dcb5e16d2d3b24092fbe",name:"sn",type:"png"})},1218,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"751c75e178df0c1d65563fa5244a6e18",name:"so",type:"png"})},1219,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"0465a4dc9488af2189f38632c30916d9",name:"sr",type:"png"})},1220,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"014c4b109d7a0da794294db1aba7bae8",name:"ss",type:"png"})},1221,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"7597a4d1074ae463efdda6d00e3c126e",name:"st",type:"png"})},1222,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:310,scales:[1],hash:"8f52682c02d9c20e292d016f5d64fb1b",name:"sv",type:"png"})},1223,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"563169bc7d0b5395ba2eb45bcebd37c5",name:"sx",type:"png"})},1224,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"b8b3bd4b10bc2f2db2f3b80d7395e66d",name:"sy",type:"png"})},1225,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"a637d912892ba84e145f04e5e7647f15",name:"sz",type:"png"})},1226,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:640,height:320,scales:[1],hash:"30b3889e52e520ab75ca2998181ec922",name:"tc",type:"png"})},1227,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"eaaf3d8adb48aae3bbda062e411fa1ab",name:"td",type:"png"})},1228,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:340,scales:[1],hash:"9a420beec0afc41c955998d3ebf9eeba",name:"tg",type:"png"})},1229,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"4e3a12e2d53fbce4bd9de5c7bc10217f",name:"th",type:"png"})},1230,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"71177cefe9de7cccf1c134349245a14a",name:"tj",type:"png"})},1231,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"9370e8ffaade6a692ee4bb26b293a5de",name:"tk",type:"png"})},1232,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"540973dbc55ac4501667cc2eab071f46",name:"tl",type:"png"})},1233,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"a86ccb7d0e7a7f8719668db9c3e3e0b9",name:"tm",type:"png"})},1234,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"9a6a802b83424fd7f14776e33314c9ba",name:"tn",type:"png"})},1235,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"5ff0b3e684faa102fad43a26d247f1bd",name:"to",type:"png"})},1236,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"da828b5eae7f04bf52dd9fb8912a2126",name:"tr",type:"png"})},1237,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"078d46b4daf3735833398c6f8814276a",name:"tt",type:"png"})},1238,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"d3827ccb1b68cebce2500a061a67cc62",name:"tv",type:"png"})},1239,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"9bc3ddaee5a12c8eb8467beccd2ed6a5",name:"tw",type:"png"})},1240,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"950ff9649d293d1b2f423c68134bde75",name:"tz",type:"png"})},1241,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"5393073f061156373de9c127b93ca41e",name:"ua",type:"png"})},1242,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"f37753b15d534b32e92205ba4fb356ad",name:"ug",type:"png"})},1243,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:289,scales:[1],hash:"e4a75107b2413eda9113052a8eb1daaa",name:"us",type:"png"})},1244,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"fb46025c8904fcd52666cadef23483f9",name:"uy",type:"png"})},1245,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"dfe060d4881a16c50c9937826a1b2a7c",name:"uz",type:"png"})},1246,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:550,scales:[1],hash:"e3cb65103a8be6a903770b620c513e62",name:"va",type:"png"})},1247,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"a98ace1d1953a94497e63ec4bf396dbf",name:"vc",type:"png"})},1248,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d9c1ebf197431fc7c164ea7fa7aab429",name:"ve",type:"png"})},1249,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:240,height:120,scales:[1],hash:"62926b879ee4f1eea72c62422bef4d7f",name:"vg",type:"png"})},1250,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"ebaa3b94ff25d6bd023a8aff36078375",name:"vi",type:"png"})},1251,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"3c2780a5891c010c2a018672db469191",name:"vn",type:"png"})},1252,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:330,scales:[1],hash:"aacc435844ead5125b3e78de0cc54981",name:"vu",type:"png"})},1253,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:180,height:120,scales:[1],hash:"fbe7f8c9950fe1d354eb55f5c5e283b2",name:"wf",type:"png"})},1254,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"c15ea127d3f546bb13dac2dba8884bc0",name:"ws",type:"png"})},1255,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"82a714ec1cdd86dbe42274e28b63c865",name:"ye",type:"png"})},1256,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"09a791be0aa03e3b35933c12cbf618f8",name:"yt",type:"png"})},1257,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"f636c4cdcd30bf9e04768deb06fd738d",name:"za",type:"png"})},1258,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:367,scales:[1],hash:"d04925e638e235a8a958a433c22c170a",name:"zm",type:"png"})},1259,[174]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-phone-input/lib/resources/flags/images",width:550,height:275,scales:[1],hash:"aa8aa9017e63d1bbd08479dd96d605ba",name:"zw",type:"png"})},1260,[174]); -__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])),n=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5])),c=r(d[6]).PhoneNumberUtil.getInstance(),s=null,y=(function(){function t(){(0,u.default)(this,t)}return(0,n.default)(t,[{key:"getAllCountries",value:function(){return o.default.getAll()}},{key:"getDialCode",value:function(t){var u='';if('+'===t.charAt(0))for(var n='',l=0;l<\/script>')},goog.appendScriptSrcNode_=function(e){var t=goog.global.document,o=t.createElement("script");o.type="text/javascript",o.src=e,o.defer=!1,o.async=!1,t.head.appendChild(o)},goog.writeScriptTag_=function(e,t){if(goog.inHtmlDocument_()){var o=goog.global.document;if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&"complete"==o.readyState){if(/\bdeps.js$/.test(e))return!1;throw Error('Cannot write "'+e+'" after document load')}if(void 0===t)if(goog.IS_OLD_IE_){goog.oldIeWaiting_=!0;var n=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' ";o.write('