From 105d18793477971414399300d9960442ed7bc19f Mon Sep 17 00:00:00 2001 From: mahmoudfelfel Date: Sat, 3 Nov 2018 16:31:43 +0400 Subject: [PATCH 1/5] missing changes for sentry --- android/sentry.properties | 5 + ios/quranicaudio.xcodeproj/project.pbxproj | 10 + .../xcschemes/quranicaudio.xcscheme | 2 +- ios/quranicaudio/AppDelegate.m | 10 +- ios/quranicaudio/Info.plist | 17 +- ios/quranicaudio/main.jsbundle | 889 ++++++++++++++++++ ios/sentry.properties | 5 + 7 files changed, 920 insertions(+), 18 deletions(-) create mode 100644 android/sentry.properties create mode 100644 ios/quranicaudio/main.jsbundle create mode 100644 ios/sentry.properties diff --git a/android/sentry.properties b/android/sentry.properties new file mode 100644 index 0000000..1cdf40f --- /dev/null +++ b/android/sentry.properties @@ -0,0 +1,5 @@ +defaults.url=https://sentry.io/ +defaults.org=qurancom +defaults.project=quranicaudio +auth.token=370f5a532d5e4b59ba75f66340177311c84f9639eadc4ceab5b2b5b82d2844a0 +cli.executable=node_modules/@sentry/cli/bin/sentry-cli diff --git a/ios/quranicaudio.xcodeproj/project.pbxproj b/ios/quranicaudio.xcodeproj/project.pbxproj index e0afe91..4e3e9cf 100644 --- a/ios/quranicaudio.xcodeproj/project.pbxproj +++ b/ios/quranicaudio.xcodeproj/project.pbxproj @@ -45,6 +45,7 @@ 52A2FFFCB1414E888AB98D1B /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = FA5C757A0DD14C5AA0DD7365 /* FontAwesome5_Solid.ttf */; }; 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 6155AC9A2BA14EC094204FC9 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1624FA57629F4FAAA34B434D /* MaterialCommunityIcons.ttf */; }; + 635C9ACE88614F23A21A1EB8 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BD539E800C14A33A1A15AA1 /* libz.tbd */; }; 737E269243C74478BA7F871F /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0643DB93CD9F4A6BA56CEF67 /* FontAwesome.ttf */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 87EBAEED5E2948C0A31B5831 /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9201E557913A44C0B1A66C9B /* Feather.ttf */; }; @@ -483,6 +484,8 @@ F1C5DC63952B4D919BA44527 /* libRNVectorIcons.a in Frameworks */, 2C6FB26FA0714BF683DC4EFD /* libRCTVideo.a in Frameworks */, 8F63D808B7C54C3D97E1FD39 /* libRNTrackPlayer.a in Frameworks */, + 4080044209AE41A89AA5F5E1 /* libRNSentry.a in Frameworks */, + 635C9ACE88614F23A21A1EB8 /* libz.tbd in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -882,6 +885,7 @@ TestTargetID = 13B07F861A680F5B00A75B9A; }; 13B07F861A680F5B00A75B9A = { + DevelopmentTeam = 4LTYKVQYZX; LastSwiftMigration = 940; SystemCapabilities = { com.apple.BackgroundModes = { @@ -1510,12 +1514,14 @@ CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = NO; + DEVELOPMENT_TEAM = 4LTYKVQYZX; HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../node_modules/react-native-music-control/ios", "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", "$(SRCROOT)/../node_modules/react-native-video/ios", "$(SRCROOT)/../node_modules/react-native-track-player/ios/RNTrackPlayer/**", + "$(SRCROOT)/../node_modules/react-native-sentry/ios/**", ); INFOPLIST_FILE = quranicaudio/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -1525,6 +1531,7 @@ "-ObjC", "-lc++", ); + PRODUCT_BUNDLE_IDENTIFIER = com.app.quranicaudio; PRODUCT_NAME = quranicaudio; SWIFT_OBJC_BRIDGING_HEADER = "quranicaudio-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -1540,12 +1547,14 @@ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 4LTYKVQYZX; HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../node_modules/react-native-music-control/ios", "$(SRCROOT)/../node_modules/react-native-vector-icons/RNVectorIconsManager", "$(SRCROOT)/../node_modules/react-native-video/ios", "$(SRCROOT)/../node_modules/react-native-track-player/ios/RNTrackPlayer/**", + "$(SRCROOT)/../node_modules/react-native-sentry/ios/**", ); INFOPLIST_FILE = quranicaudio/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -1555,6 +1564,7 @@ "-ObjC", "-lc++", ); + PRODUCT_BUNDLE_IDENTIFIER = com.app.quranicaudio; PRODUCT_NAME = quranicaudio; SWIFT_OBJC_BRIDGING_HEADER = "quranicaudio-Bridging-Header.h"; SWIFT_VERSION = 3.0; diff --git a/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme b/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme index db12b93..8fa4ba0 100644 --- a/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme +++ b/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme @@ -80,7 +80,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -21,22 +21,11 @@ CFBundleSignature ???? CFBundleVersion - 1 + 4 LSRequiresIPhoneOS - NSAppTransportSecurity - - NSExceptionDomains - - localhost - - NSExceptionAllowsInsecureHTTPLoads - - - - NSLocationWhenInUseUsageDescription - + UIAppFonts Entypo.ttf diff --git a/ios/quranicaudio/main.jsbundle b/ios/quranicaudio/main.jsbundle new file mode 100644 index 0000000..37310c1 --- /dev/null +++ b/ios/quranicaudio/main.jsbundle @@ -0,0 +1,889 @@ +var __DEV__=false,__BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),process=this.process||{};process.env=process.env||{};process.env.NODE_ENV="production"; +!(function(r){'use strict';r.require=t,r.__d=function(r,t,n){if(null!=e[t])return;e[t]={dependencyMap:n,exports:void 0,factory:r,hasError:!1,isInitialized:!1}};var e='number'==typeof __NUM_MODULES__?Array(0|__NUM_MODULES__):Object.create(null);function t(r){var t=r,n=e[t];return n&&n.isInitialized?n.exports:i(t,n)}var n=!1;function i(e,t){if(!n&&r.ErrorUtils){var i;n=!0;try{i=c(e,t)}catch(e){r.ErrorUtils.reportFatalError(e)}return n=!1,i}return c(e,t)}var o=16,a=65535;function u(r){return{segmentId:r>>>o,localId:r&a}}function c(n,i){var o=r.nativeRequire;if(!i&&o){var a=u(n),c=a.segmentId;o(a.localId,c),i=e[n]}if(!i)throw Error('Requiring unknown module "'+n+'".');if(i.hasError)throw d(n,i.error);i.isInitialized=!0;var s=i.exports={},l=i,p=l.factory,f=l.dependencyMap;try{var v={exports:s};return p(r,t,v,s,f),i.factory=void 0,i.dependencyMap=void 0,i.exports=v.exports}catch(r){throw i.hasError=!0,i.error=r,i.isInitialized=!1,i.exports=void 0,r}}function d(r,e){return Error('Requiring module "'+r+'", which threw an exception: '+e)}t.unpackModuleId=u,t.packModuleId=function(r){return r.segmentId<=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(h(t))return o(t)}var d,b,m='',j=!1,z=['{','}'];(d=t,Array.isArray(d)&&(j=!0,z=['[',']']),v(t))&&(m=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(m=' '+RegExp.prototype.toString.call(t)),y(t)&&(m=' '+Date.prototype.toUTCString.call(t)),h(t)&&(m=' '+o(t)),0!==f.length||j&&0!=t.length?c<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),b=j?i(n,t,c,p,f):f.map(function(r){return u(n,t,c,p,r,j)}),n.seen.pop(),a(b,m,z)):z[0]+m+z[1]}function e(n,r){if(p(r))return n.stylize('undefined','undefined');if('string'==typeof r){var t="'"+JSON.stringify(r).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(r)?n.stylize(''+r,'number'):c(r)?n.stylize(''+r,'boolean'):l(r)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,r,t,e,o){for(var i=[],a=0,c=r.length;a-1&&(c=u?c.split('\n').map(function(n){return' '+n}).join('\n').substr(2):'\n'+c.split('\n').map(function(n){return' '+n}).join('\n')):c=n.stylize('[Circular]','special')),p(a)){if(u&&i.match(/^\d+$/))return c;(a=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=n.stylize(a,'name')):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=n.stylize(a,'string'))}return a+': '+c}function a(n,r,t){return n.reduce(function(n,r){return 0,r.indexOf('\n')>=0&&0,n+r.replace(/\u001b\[\d\d?m/g,'').length+1},0)>60?t[0]+(''===r?'':r+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+r+' '+n.join(', ')+' '+t[1]}function c(n){return'boolean'==typeof n}function l(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(n){return g(n)&&'[object RegExp]'===d(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===d(n)}function h(n){return g(n)&&('[object Error]'===d(n)||n instanceof Error)}function v(n){return'function'==typeof n}function d(n){return Object.prototype.toString.call(n)}function b(n,r){return Object.prototype.hasOwnProperty.call(n,r)}return function(r,e){return t({seen:[],stylize:n},r,e.depth)}})(),t='(index)',e={trace:0,info:1,warn:2,error:3},o=[];o[e.trace]='debug',o[e.info]='log',o[e.warn]='warning',o[e.error]='error';var i=1;function u(t){return function(){var u;u=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return r(n,{depth:10})}).join(', ');var a=t;'Warning: '===u.slice(0,9)&&a>=e.error&&(a=e.warn),n.__inspectorLog&&n.__inspectorLog(o[a],u,[].slice.call(arguments),i),n.nativeLoggingHook(u,a)}}function a(n,r){return Array.apply(null,Array(r)).map(function(){return n})}if(n.nativeLoggingHook){n.console;n.console={error:u(e.error),info:u(e.info),log:u(e.info),warn:u(e.warn),trace:u(e.trace),debug:u(e.trace),table:function(r){if(!Array.isArray(r)){var o=r;for(var i in r=[],o)if(o.hasOwnProperty(i)){var u=o[i];u[t]=i,r.push(u)}}if(0!==r.length){var c=Object.keys(r[0]).sort(),l=[],f=[];c.forEach(function(n,t){f[t]=n.length;for(var e=0;e',function(){return u.applyWithGuard(r,t||this,arguments,null,n)}}};r.ErrorUtils=u})(this); +!(function(e){if(void 0===Number.EPSILON&&Object.defineProperty(Number,'EPSILON',{value:Math.pow(2,-52)}),void 0===Number.MAX_SAFE_INTEGER&&Object.defineProperty(Number,'MAX_SAFE_INTEGER',{value:Math.pow(2,53)-1}),void 0===Number.MIN_SAFE_INTEGER&&Object.defineProperty(Number,'MIN_SAFE_INTEGER',{value:-(Math.pow(2,53)-1)}),!Number.isNaN){var r=e.isNaN;Object.defineProperty(Number,'isNaN',{configurable:!0,enumerable:!1,value:function(e){return'number'==typeof e&&r(e)},writable:!0})}})(this); +String.prototype.startsWith||(String.prototype.startsWith=function(t){'use strict';if(null==this)throw TypeError();var r=String(this),n=arguments.length>1&&Number(arguments[1])||0,e=Math.min(Math.max(n,0),r.length);return r.indexOf(String(t),n)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(t){'use strict';if(null==this)throw TypeError();var r=String(this),n=r.length,e=String(t),i=arguments.length>1?Number(arguments[1])||0:n,o=Math.min(Math.max(i,0),n)-e.length;return!(o<0)&&r.lastIndexOf(e,o)===o}),String.prototype.repeat||(String.prototype.repeat=function(t){'use strict';if(null==this)throw TypeError();var r=String(this);if((t=Number(t)||0)<0||t===1/0)throw RangeError();if(1===t)return r;for(var n='';t;)1&t&&(n+=r),(t>>=1)&&(r+=r);return n}),String.prototype.includes||(String.prototype.includes=function(t,r){'use strict';return'number'!=typeof r&&(r=0),!(r+t.length>this.length)&&-1!==this.indexOf(t,r)}),String.prototype.codePointAt||(String.prototype.codePointAt=function(t){if(null==this)throw TypeError();var r=String(this),n=r.length,e=t?Number(t):0;if(Number.isNaN(e)&&(e=0),!(e<0||e>=n)){var i,o=r.charCodeAt(e);return o>=55296&&o<=56319&&n>e+1&&(i=r.charCodeAt(e+1))>=56320&&i<=57343?1024*(o-55296)+i-56320+65536:o}}); +!(function(r){function e(r,e){if(null==this)throw new TypeError('Array.prototype.findIndex called on null or undefined');if('function'!=typeof r)throw new TypeError('predicate must be a function');for(var n=Object(this),t=n.length>>>0,o=0;o=0?t=i:(t=n+i)<0&&(t=0);t2&&void 0!==arguments[2]?arguments[2]:e,o=t.superPropBase(e,r);if(o){var i=Object.getOwnPropertyDescriptor(o,r);return i.get?i.get.call(n):i.value}},t.inherits=function(e,r){if('function'!=typeof r&&null!==r)throw new TypeError('Super expression must either be null or a function');t.setPrototypeOf(e.prototype,r&&r.prototype),r&&t.setPrototypeOf(e,r)},t.construct=i,t.getPrototypeOf=a,t.assertThisInitialized=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},t.wrapNativeSuper=u,t.interopRequireDefault=function(e){return e&&e.__esModule?e:{default:e}},t.interopRequireWildcard=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t},t.objectWithoutProperties=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},t.possibleConstructorReturn=function(e,r){return!r||'object'!=typeof r&&'function'!=typeof r?t.assertThisInitialized(e):r},t.arrayWithHoles=function(e){if(Array.isArray(e))return e},t.arrayWithoutHoles=function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t0?r[r.length-1]:null,l=r.length>1?r[r.length-2]:null,f='function'==typeof u,s='function'==typeof l;s&&i(f,'Cannot have a non-function arg after a function arg.');var c=f?u:null,v=s?l:null,d=f+s;r=r.slice(0,r.length-d),a.enqueueNativeCall(n,t,r,v,c)}).type=r,o}function s(e,n){return-1!==e.indexOf(n)}function c(e){var n=e||{},t=n.message,r=babelHelpers.objectWithoutProperties(n,["message"]),o=new Error(t);return o.framesToPop=1,babelHelpers.extends(o,r)}e.__fbGenNativeModule=u;var v={};if(e.nativeModuleProxy)v=e.nativeModuleProxy;else if(!e.nativeExtensions){var d=e.__fbBatchedBridgeConfig;i(d,'__fbBatchedBridgeConfig is not set, cannot invoke native modules');var h=n(o[2]);(d.remoteModuleConfig||[]).forEach(function(e,n){var t=u(e,n);t&&(t.module?v[t.name]=t.module:h(v,t.name,{get:function(){return l(t.name,n)}}))})}t.exports=v},4,[5,2,18]); +__d(function(e,r,t,c,i){'use strict';var n=new(r(i[0]));Object.defineProperty(e,'__fbBatchedBridge',{configurable:!0,value:n}),t.exports=n},5,[6]); +__d(function(e,t,u,l,s){'use strict';var a=t(s[0]),n=t(s[1]),i=(t(s[2]),t(s[3])),h=t(s[4]),r=null,o=(function(){function u(){babelHelpers.classCallCheck(this,u),this._lazyCallableModules={},this._queue=[[],[],[],0],this._successCallbacks={},this._failureCallbacks={},this._callID=0,this._lastFlush=0,this._eventLoopStartTime=(new Date).getTime(),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 babelHelpers.createClass(u,[{key:"callFunctionReturnFlushedQueue",value:function(e,t,u){var l=this;return this.__guard(function(){l.__callFunction(e,t,u)}),this.flushedQueue()}},{key:"callFunctionReturnResultAndFlushedQueue",value:function(e,t,u){var l,s=this;return this.__guard(function(){l=s.__callFunction(e,t,u)}),[l,this.flushedQueue()]}},{key:"invokeCallbackAndReturnFlushedQueue",value:function(e,t){var u=this;return this.__guard(function(){u.__invokeCallback(e,t)}),this.flushedQueue()}},{key:"flushedQueue",value:function(){var e=this;this.__guard(function(){e.__callImmediates()});var t=this._queue;return this._queue=[[],[],[],this._callID],t[0].length?t:null}},{key:"getEventLoopRunningTime",value:function(){return(new Date).getTime()-this._eventLoopStartTime}},{key:"registerCallableModule",value:function(e,t){this._lazyCallableModules[e]=function(){return t}}},{key:"registerLazyCallableModule",value:function(e,t){var u,l=t;this._lazyCallableModules[e]=function(){return l&&(u=l(),l=null),u}}},{key:"getCallableModule",value:function(e){var t=this._lazyCallableModules[e];return t?t():null}},{key:"enqueueNativeCall",value:function(t,u,l,s,a){(s||a)&&(s&&l.push(this._callID<<1),a&&l.push(this._callID<<1|1),this._successCallbacks[this._callID]=a,this._failureCallbacks[this._callID]=s),this._callID++,this._queue[0].push(t),this._queue[1].push(u),this._queue[2].push(l);var i=(new Date).getTime();if(e.nativeFlushQueueImmediate&&i-this._lastFlush>=5){var h=this._queue;this._queue=[[],[],[],this._callID],this._lastFlush=i,e.nativeFlushQueueImmediate(h)}n.counterEvent('pending_js_to_native_queue',this._queue[0].length),this.__spy&&this.__spy({type:1,module:t+'',method:u,args:l})}},{key:"createDebugLookup",value:function(e,t,u){}},{key:"__guard",value:function(e){if(this.__shouldPauseOnThrow())e();else try{e()}catch(e){a.reportFatalError(e)}}},{key:"__shouldPauseOnThrow",value:function(){return'undefined'!=typeof DebuggerInternal&&!0===DebuggerInternal.shouldPauseOnThrow}},{key:"__callImmediates",value:function(){n.beginEvent('JSTimers.callImmediates()'),r||(r=t(s[5])),r.callImmediates(),n.endEvent()}},{key:"__callFunction",value:function(e,t,u){this._lastFlush=(new Date).getTime(),this._eventLoopStartTime=this._lastFlush,this.__spy?n.beginEvent(e+"."+t+"("+h(u)+")"):n.beginEvent(e+"."+t+"(...)"),this.__spy&&this.__spy({type:0,module:e,method:t,args:u});var l=this.getCallableModule(e);i(!!l,'Module %s is not a registered callable module (calling %s)',e,t),i(!!l[t],'Method %s does not exist on module %s',t,e);var s=l[t].apply(l,u);return n.endEvent(),s}},{key:"__invokeCallback",value:function(e,t){this._lastFlush=(new Date).getTime(),this._eventLoopStartTime=this._lastFlush;var u=e>>>1,l=1&e?this._successCallbacks[u]:this._failureCallbacks[u];l&&(delete this._successCallbacks[u],delete this._failureCallbacks[u],l.apply(void 0,babelHelpers.toConsumableArray(t)))}}],[{key:"spy",value:function(e){u.prototype.__spy=!0===e?function(e){}:!1===e?null:e}}]),u})();u.exports=o},6,[7,8,9,2,10,11]); +__d(function(r,o,t,i,n){t.exports=r.ErrorUtils},7,[]); +__d(function(n,t,e,c,i){'use strict';t(i[0]);var o=!1,u=0,a={installReactHook:function(){!0},setEnabled:function(n){o!==n&&(o=n)},isEnabled:function(){return o},beginEvent:function(t,e){o&&(t='function'==typeof t?t():t,n.nativeTraceBeginSection(131072,t,e))},endEvent:function(){o&&n.nativeTraceEndSection(131072)},beginAsyncEvent:function(t){var e=u;return o&&(u++,t='function'==typeof t?t():t,n.nativeTraceBeginAsyncSection(131072,t,e)),e},endAsyncEvent:function(t,e){o&&(t='function'==typeof t?t():t,n.nativeTraceEndAsyncSection(131072,t,e))},counterEvent:function(t,e){o&&(t='function'==typeof t?t():t,n.nativeTraceCounter&&n.nativeTraceCounter(131072,t,e))}};e.exports=a},8,[2]); +__d(function(t,n,r,u,c){'use strict';r.exports=function(t){return t}},9,[]); +__d(function(t,n,i,e,f){'use strict';i.exports=function(t){var n,i=typeof t;if(void 0===t)n='undefined';else if(null===t)n='null';else if('string'===i)n='"'+t+'"';else if('function'===i)try{n=t.toString()}catch(t){n='[function unknown]'}else try{n=JSON.stringify(t)}catch(i){if('function'==typeof t.toString)try{n=t.toString()}catch(t){}}return n||'["'+i+'" failed to stringify]'}},10,[]); +__d(function(e,t,n,r,i){'use strict';t(i[0]),t(i[1]);var l=t(i[2]),a=t(i[3]).Timing,u=null;function o(){return u||(u=t(i[4])),u()}var c=16.666666666666668,f=[],m=[],s=[],d=[],v=[],h={},I=[],T=1,g=null,p=!1;function w(){var e=s.indexOf(null);return-1===e&&(e=s.length),e}function b(e,t){var n=T++,r=w();return s[r]=n,f[r]=e,m[r]=t,n}function q(e,n,r){t(i[5])(e<=T,'Tried to call timer with ID %s but no such timer exists.',e);var l=s.indexOf(e);if(-1!==l){var a=m[l],u=f[l];if(u&&a){'setTimeout'!==a&&'setImmediate'!==a&&'requestAnimationFrame'!==a&&'requestIdleCallback'!==a||y(l);try{'setTimeout'===a||'setInterval'===a||'setImmediate'===a?u():'requestAnimationFrame'===a?u(o()):'requestIdleCallback'===a&&u({timeRemaining:function(){return Math.max(0,c-(o()-n))},didTimeout:!!r})}catch(e){g?g.push(e):g=[e]}}}}function x(){if(d.length>0){var e=d.slice();d=[];for(var t=0;t0}function y(e){s[e]=null,f[e]=null,m[e]=null,I[e]=null}function A(e){if(null!=e){var t=s.indexOf(e);if(-1!==t){y(t);var n=m[t];'setImmediate'!==n&&'requestIdleCallback'!==n&&a.deleteTimer(e)}}}var C,k={setTimeout:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i1?t-1:0),r=1;r-1&&(v.splice(e,1),q(r,o(),!0)),delete h[r],0===v.length&&a.setSendIdleEvents(!1)},n);h[r]=i}return r},cancelIdleCallback:function(e){A(e);var t=v.indexOf(e);-1!==t&&v.splice(t,1);var n=h[e];n&&(k.clearTimeout(n),delete h[e]),0===v.length&&a.setSendIdleEvents(!1)},clearTimeout:function(e){A(e)},clearInterval:function(e){A(e)},clearImmediate:function(e){A(e);var t=d.indexOf(e);-1!==t&&d.splice(t,1)},cancelAnimationFrame:function(e){A(e)},callTimers:function(e){l(0!==e.length,'Cannot call `callTimers` with an empty list of IDs.'),g=null;for(var t=0;t1)for(var r=1;r0){var t=v.slice();v=[];for(var n=0;nU.length&&U.push(e)}function B(e,t,r,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case y:u=!0}}if(u)return r(n,e,""===t?"."+I(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var f=0;f1&&(a-=1),a<.16666666666666666?e+6*(r-e)*a:a<.5?r:a<.6666666666666666?e+(r-e)*(.6666666666666666-a)*6:e}function t(e,r,a){var l=a<.5?a*(1+r):a+r-a*r,n=2*a-l,t=i(n,l,e+.3333333333333333),o=i(n,l,e),u=i(n,l,e-.3333333333333333);return Math.round(255*t)<<24|Math.round(255*o)<<16|Math.round(255*u)<<8}var o,u='[-+]?\\d*\\.?\\d+',d="[-+]?\\d*\\.?\\d+%";function g(){for(var e=arguments.length,r=new Array(e),a=0;a255?255:r}function h(e){return(parseFloat(e)%360+360)%360/360}function c(e){var r=parseFloat(e);return r<0?0:r>1?255:Math.round(255*r)}function b(e){var r=parseFloat(e);return r<0?0:r>100?1:r/100}var m={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};a.exports=function(e){var r,a=(void 0===o&&(o={rgb:new RegExp('rgb'+g(u,u,u)),rgba:new RegExp('rgba'+g(u,u,u,u)),hsl:new RegExp('hsl'+g(u,d,d)),hsla:new RegExp('hsla'+g(u,d,d,u)),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})$/}),o);return'number'==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(r=a.hex6.exec(e))?parseInt(r[1]+'ff',16)>>>0:m.hasOwnProperty(e)?m[e]:(r=a.rgb.exec(e))?(s(r[1])<<24|s(r[2])<<16|s(r[3])<<8|255)>>>0:(r=a.rgba.exec(e))?(s(r[1])<<24|s(r[2])<<16|s(r[3])<<8|c(r[4]))>>>0:(r=a.hex3.exec(e))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+'ff',16)>>>0:(r=a.hex8.exec(e))?parseInt(r[1],16)>>>0:(r=a.hex4.exec(e))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=a.hsl.exec(e))?(255|t(h(r[1]),b(r[2]),b(r[3])))>>>0:(r=a.hsla.exec(e))?(t(h(r[1]),b(r[2]),b(r[3]))|c(r[4]))>>>0:null}},44,[]); +__d(function(l,n,t,e,r){'use strict';var u=n(r[0])({contain:null,cover:null,stretch:null,center:null,repeat:null});t.exports=u},45,[46]); +__d(function(r,n,t,a,e){'use strict';var i=n(e[0]);t.exports=function(r){var n,t={};for(n in r instanceof Object&&!Array.isArray(r)||i(!1),r)r.hasOwnProperty(n)&&(t[n]=n);return t}},46,[2]); +__d(function(e,n,r,t,i){'use strict';var o=n(i[0]),f={display:o.oneOf(['none','flex']),width:o.oneOfType([o.number,o.string]),height:o.oneOfType([o.number,o.string]),start:o.oneOfType([o.number,o.string]),end:o.oneOfType([o.number,o.string]),top:o.oneOfType([o.number,o.string]),left:o.oneOfType([o.number,o.string]),right:o.oneOfType([o.number,o.string]),bottom:o.oneOfType([o.number,o.string]),minWidth:o.oneOfType([o.number,o.string]),maxWidth:o.oneOfType([o.number,o.string]),minHeight:o.oneOfType([o.number,o.string]),maxHeight:o.oneOfType([o.number,o.string]),margin:o.oneOfType([o.number,o.string]),marginVertical:o.oneOfType([o.number,o.string]),marginHorizontal:o.oneOfType([o.number,o.string]),marginTop:o.oneOfType([o.number,o.string]),marginBottom:o.oneOfType([o.number,o.string]),marginLeft:o.oneOfType([o.number,o.string]),marginRight:o.oneOfType([o.number,o.string]),marginStart:o.oneOfType([o.number,o.string]),marginEnd:o.oneOfType([o.number,o.string]),padding:o.oneOfType([o.number,o.string]),paddingVertical:o.oneOfType([o.number,o.string]),paddingHorizontal:o.oneOfType([o.number,o.string]),paddingTop:o.oneOfType([o.number,o.string]),paddingBottom:o.oneOfType([o.number,o.string]),paddingLeft:o.oneOfType([o.number,o.string]),paddingRight:o.oneOfType([o.number,o.string]),paddingStart:o.oneOfType([o.number,o.string]),paddingEnd:o.oneOfType([o.number,o.string]),borderWidth:o.number,borderTopWidth:o.number,borderStartWidth:o.number,borderEndWidth:o.number,borderRightWidth:o.number,borderBottomWidth:o.number,borderLeftWidth:o.number,position:o.oneOf(['absolute','relative']),flexDirection:o.oneOf(['row','row-reverse','column','column-reverse']),flexWrap:o.oneOf(['wrap','nowrap','wrap-reverse']),justifyContent:o.oneOf(['flex-start','flex-end','center','space-between','space-around','space-evenly']),alignItems:o.oneOf(['flex-start','flex-end','center','stretch','baseline']),alignSelf:o.oneOf(['auto','flex-start','flex-end','center','stretch','baseline']),alignContent:o.oneOf(['flex-start','flex-end','center','stretch','space-between','space-around']),overflow:o.oneOf(['visible','hidden','scroll']),flex:o.number,flexGrow:o.number,flexShrink:o.number,flexBasis:o.oneOfType([o.number,o.string]),aspectRatio:o.number,zIndex:o.number,direction:o.oneOf(['inherit','ltr','rtl'])};r.exports=f},47,[48]); +__d(function(n,o,t,_,c){t.exports=o(c[0])()},48,[49]); +__d(function(e,r,t,o,n){'use strict';var a=r(n[0]);function p(){}t.exports=function(){function e(e,r,t,o,n,p){if(p!==a){var c=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 c.name='Invariant Violation',c}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r};return t.checkPropTypes=p,t.PropTypes=t,t}},49,[50]); +__d(function(_,t,E,O,S){'use strict';E.exports='SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'},50,[]); +__d(function(s,e,a,h,o){'use strict';var r=e(o[0]),t=e(o[1]),d={shadowColor:r,shadowOffset:t.shape({width:t.number,height:t.number}),shadowOpacity:t.number,shadowRadius:t.number};a.exports=d},51,[43,48]); +__d(function(e,r,t,s,a){'use strict';var n=r(a[0]),o=r(a[1]),p={transform:n.arrayOf(n.oneOfType([n.shape({perspective:n.number}),n.shape({rotate:n.string}),n.shape({rotateX:n.string}),n.shape({rotateY:n.string}),n.shape({rotateZ:n.string}),n.shape({scale:n.number}),n.shape({scaleX:n.number}),n.shape({scaleY:n.number}),n.shape({translateX:n.number}),n.shape({translateY:n.number}),n.shape({skewX:n.string}),n.shape({skewY:n.string})])),transformMatrix:function(e,r,t){if(e[r])return new Error("The transformMatrix style property is deprecated. Use `transform: [{ matrix: ... }]` instead.")},decomposedMatrix:function(e,r,t){if(e[r])return new Error("The decomposedMatrix style property is deprecated. Use `transform: [...]` instead.")},scaleX:o(n.number,'Use the transform prop instead.'),scaleY:o(n.number,'Use the transform prop instead.'),rotation:o(n.number,'Use the transform prop instead.'),translateX:o(n.number,'Use the transform prop instead.'),translateY:o(n.number,'Use the transform prop instead.')};t.exports=p},52,[48,53]); +__d(function(n,r,t,o,c){'use strict';var e=r(c[0]);t.exports=function(n,r){return function(r,t,o){!e[o]&&r[t];for(var c=arguments.length,u=new Array(c>3?c-3:0),a=3;a>>8)>>>0:void 0}},57,[12,44]); +__d(function(t,n,r,u,c){'use strict';n(c[0]),n(c[1]),n(c[2]),n(c[3]);r.exports=function(t){return t}},58,[59,12,2,10]); +__d(function(t,e,n,a,r){'use strict';var o=e(r[0]),i={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,e,n,a,r,o){return[2/(e-t),0,0,0,0,2/(a-n),0,0,0,0,-2/(o-r),0,-(e+t)/(e-t),-(a+n)/(a-n),-(o+r)/(o-r),1]},createFrustum:function(t,e,n,a,r,o){var i=1/(e-t),u=1/(a-n),s=1/(r-o);return[r*i*2,0,0,0,0,r*u*2,0,0,(e+t)*i,(a+n)*u,(o+r)*s,-1,0,0,o*r*s*2,0]},createPerspective:function(t,e,n,a){var r=1/Math.tan(t/2),o=1/(n-a);return[r/e,0,0,0,0,r,0,0,0,0,(a+n)*o,-1,0,0,a*n*o*2,0]},createTranslate2d:function(t,e){var n=i.createIdentityMatrix();return i.reuseTranslate2dCommand(n,t,e),n},reuseTranslate2dCommand:function(t,e,n){t[12]=e,t[13]=n},reuseTranslate3dCommand:function(t,e,n,a){t[12]=e,t[13]=n,t[14]=a},createScale:function(t){var e=i.createIdentityMatrix();return i.reuseScaleCommand(e,t),e},reuseScaleCommand:function(t,e){t[0]=e,t[5]=e},reuseScale3dCommand:function(t,e,n,a){t[0]=e,t[5]=n,t[10]=a},reusePerspectiveCommand:function(t,e){t[11]=-1/e},reuseScaleXCommand:function(t,e){t[0]=e},reuseScaleYCommand:function(t,e){t[5]=e},reuseScaleZCommand:function(t,e){t[10]=e},reuseRotateXCommand:function(t,e){t[5]=Math.cos(e),t[6]=Math.sin(e),t[9]=-Math.sin(e),t[10]=Math.cos(e)},reuseRotateYCommand:function(t,e){t[0]=Math.cos(e),t[2]=-Math.sin(e),t[8]=Math.sin(e),t[10]=Math.cos(e)},reuseRotateZCommand:function(t,e){t[0]=Math.cos(e),t[1]=Math.sin(e),t[4]=-Math.sin(e),t[5]=Math.cos(e)},createRotateZ:function(t){var e=i.createIdentityMatrix();return i.reuseRotateZCommand(e,t),e},reuseSkewXCommand:function(t,e){t[4]=Math.tan(e)},reuseSkewYCommand:function(t,e){t[1]=Math.tan(e)},multiplyInto:function(t,e,n){var a=e[0],r=e[1],o=e[2],i=e[3],u=e[4],s=e[5],c=e[6],m=e[7],v=e[8],l=e[9],f=e[10],d=e[11],h=e[12],M=e[13],C=e[14],p=e[15],T=n[0],x=n[1],y=n[2],b=n[3];t[0]=T*a+x*u+y*v+b*h,t[1]=T*r+x*s+y*l+b*M,t[2]=T*o+x*c+y*f+b*C,t[3]=T*i+x*m+y*d+b*p,T=n[4],x=n[5],y=n[6],b=n[7],t[4]=T*a+x*u+y*v+b*h,t[5]=T*r+x*s+y*l+b*M,t[6]=T*o+x*c+y*f+b*C,t[7]=T*i+x*m+y*d+b*p,T=n[8],x=n[9],y=n[10],b=n[11],t[8]=T*a+x*u+y*v+b*h,t[9]=T*r+x*s+y*l+b*M,t[10]=T*o+x*c+y*f+b*C,t[11]=T*i+x*m+y*d+b*p,T=n[12],x=n[13],y=n[14],b=n[15],t[12]=T*a+x*u+y*v+b*h,t[13]=T*r+x*s+y*l+b*M,t[14]=T*o+x*c+y*f+b*C,t[15]=T*i+x*m+y*d+b*p},determinant:function(t){var e=babelHelpers.slicedToArray(t,16),n=e[0],a=e[1],r=e[2],o=e[3],i=e[4],u=e[5],s=e[6],c=e[7],m=e[8],v=e[9],l=e[10],f=e[11],d=e[12],h=e[13],M=e[14],C=e[15];return o*s*v*d-r*c*v*d-o*u*l*d+a*c*l*d+r*u*f*d-a*s*f*d-o*s*m*h+r*c*m*h+o*i*l*h-n*c*l*h-r*i*f*h+n*s*f*h+o*u*m*M-a*c*m*M-o*i*v*M+n*c*v*M+a*i*f*M-n*u*f*M-r*u*m*C+a*s*m*C+r*i*v*C-n*s*v*C-a*i*l*C+n*u*l*C},inverse:function(t){var e=i.determinant(t);if(!e)return t;var n=babelHelpers.slicedToArray(t,16),a=n[0],r=n[1],o=n[2],u=n[3],s=n[4],c=n[5],m=n[6],v=n[7],l=n[8],f=n[9],d=n[10],h=n[11],M=n[12],C=n[13],p=n[14],T=n[15];return[(m*h*C-v*d*C+v*f*p-c*h*p-m*f*T+c*d*T)/e,(u*d*C-o*h*C-u*f*p+r*h*p+o*f*T-r*d*T)/e,(o*v*C-u*m*C+u*c*p-r*v*p-o*c*T+r*m*T)/e,(u*m*f-o*v*f-u*c*d+r*v*d+o*c*h-r*m*h)/e,(v*d*M-m*h*M-v*l*p+s*h*p+m*l*T-s*d*T)/e,(o*h*M-u*d*M+u*l*p-a*h*p-o*l*T+a*d*T)/e,(u*m*M-o*v*M-u*s*p+a*v*p+o*s*T-a*m*T)/e,(o*v*l-u*m*l+u*s*d-a*v*d-o*s*h+a*m*h)/e,(c*h*M-v*f*M+v*l*C-s*h*C-c*l*T+s*f*T)/e,(u*f*M-r*h*M-u*l*C+a*h*C+r*l*T-a*f*T)/e,(r*v*M-u*c*M+u*s*C-a*v*C-r*s*T+a*c*T)/e,(u*c*l-r*v*l-u*s*f+a*v*f+r*s*h-a*c*h)/e,(m*f*M-c*d*M-m*l*C+s*d*C+c*l*p-s*f*p)/e,(r*d*M-o*f*M+o*l*C-a*d*C-r*l*p+a*f*p)/e,(o*c*M-r*m*M-o*s*C+a*m*C+r*s*p-a*c*p)/e,(r*m*l-o*c*l+o*s*f-a*m*f-r*s*d+a*c*d)/e]},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(t,e){var n=babelHelpers.slicedToArray(t,4),a=n[0],r=n[1],o=n[2],i=n[3];return[a*e[0]+r*e[4]+o*e[8]+i*e[12],a*e[1]+r*e[5]+o*e[9]+i*e[13],a*e[2]+r*e[6]+o*e[10]+i*e[14],a*e[3]+r*e[7]+o*e[11]+i*e[15]]},v3Length:function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])},v3Normalize:function(t,e){var n=1/(e||i.v3Length(t));return[t[0]*n,t[1]*n,t[2]*n]},v3Dot:function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},v3Combine:function(t,e,n,a){return[n*t[0]+a*e[0],n*t[1]+a*e[1],n*t[2]+a*e[2]]},v3Cross:function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]},quaternionToDegreesXYZ:function(t,e,n){var a=babelHelpers.slicedToArray(t,4),r=a[0],o=a[1],u=a[2],s=a[3],c=r*r,m=o*o,v=u*u,l=r*o+u*s,f=s*s+c+m+v,d=180/Math.PI;return l>.49999*f?[0,2*Math.atan2(r,s)*d,90]:l<-.49999*f?[0,-2*Math.atan2(r,s)*d,-90]:[i.roundTo3Places(Math.atan2(2*r*s-2*o*u,1-2*c-2*v)*d),i.roundTo3Places(Math.atan2(2*o*s-2*r*u,1-2*m-2*v)*d),i.roundTo3Places(Math.asin(2*r*o+2*u*s)*d)]},roundTo3Places:function(t){var e=t.toString().split('e');return.001*Math.round(e[0]+'e'+(e[1]?+e[1]-3:3))},decomposeMatrix:function(t){o(16===t.length,'Matrix decomposition needs a list of 3d matrix values, received %s',t);var e=[],n=[],a=[],r=[],u=[];if(t[15]){for(var s=[],c=[],m=0;m<4;m++){s.push([]);for(var v=0;v<4;v++){var l=t[4*m+v]/t[15];s[m].push(l),c.push(3===v?0:l)}}if(c[15]=1,i.determinant(c)){if(0!==s[0][3]||0!==s[1][3]||0!==s[2][3]){var f=[s[0][3],s[1][3],s[2][3],s[3][3]],d=i.inverse(c),h=i.transpose(d);e=i.multiplyVectorByMatrix(f,h)}else e[0]=e[1]=e[2]=0,e[3]=1;for(m=0;m<3;m++)u[m]=s[3][m];var M=[];for(m=0;m<3;m++)M[m]=[s[m][0],s[m][1],s[m][2]];a[0]=i.v3Length(M[0]),M[0]=i.v3Normalize(M[0],a[0]),r[0]=i.v3Dot(M[0],M[1]),M[1]=i.v3Combine(M[1],M[0],1,-r[0]),r[0]=i.v3Dot(M[0],M[1]),M[1]=i.v3Combine(M[1],M[0],1,-r[0]),a[1]=i.v3Length(M[1]),M[1]=i.v3Normalize(M[1],a[1]),r[0]/=a[1],r[1]=i.v3Dot(M[0],M[2]),M[2]=i.v3Combine(M[2],M[0],1,-r[1]),r[2]=i.v3Dot(M[1],M[2]),M[2]=i.v3Combine(M[2],M[1],1,-r[2]),a[2]=i.v3Length(M[2]),M[2]=i.v3Normalize(M[2],a[2]),r[1]/=a[2],r[2]/=a[2];var C,p=i.v3Cross(M[1],M[2]);if(i.v3Dot(M[0],p)<0)for(m=0;m<3;m++)a[m]*=-1,M[m][0]*=-1,M[m][1]*=-1,M[m][2]*=-1;return n[0]=.5*Math.sqrt(Math.max(1+M[0][0]-M[1][1]-M[2][2],0)),n[1]=.5*Math.sqrt(Math.max(1-M[0][0]+M[1][1]-M[2][2],0)),n[2]=.5*Math.sqrt(Math.max(1-M[0][0]-M[1][1]+M[2][2],0)),n[3]=.5*Math.sqrt(Math.max(1+M[0][0]+M[1][1]+M[2][2],0)),M[2][1]>M[1][2]&&(n[0]=-n[0]),M[0][2]>M[2][0]&&(n[1]=-n[1]),M[1][0]>M[0][1]&&(n[2]=-n[2]),{rotationDegrees:C=n[0]<.001&&n[0]>=0&&n[1]<.001&&n[1]>=0?[0,0,i.roundTo3Places(180*Math.atan2(M[0][1],M[0][0])/Math.PI)]:i.quaternionToDegreesXYZ(n,s,M),perspective:e,quaternion:n,scale:a,skew:r,translation:u,rotate:C[2],rotateX:C[0],rotateY:C[1],scaleX:a[0],scaleY:a[1],translateX:u[0],translateY:u[1]}}}}};n.exports=i},59,[2]); +__d(function(t,i,h,d,e){'use strict';var n={width:void 0,height:void 0};h.exports=function(t,i){return(t=t||n)!==(i=i||n)&&(t.width!==i.width||t.height!==i.height)}},60,[]); +__d(function(e,l,a,t,d){'use strict';var i=l(d[0]),n=l(d[1]),r=l(d[2]),s=(l(d[3]),(function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"validateStyleProp",value:function(e,l,a){}},{key:"validateStyle",value:function(e,l){}},{key:"addValidStylePropTypes",value:function(e){for(var l in e)o[l]=e[l]}}]),e})()),o={};s.addValidStylePropTypes(i),s.addValidStylePropTypes(n),s.addValidStylePropTypes(r),a.exports=s},61,[42,55,56,2]); +__d(function(r,t,n,f,i){'use strict';n.exports=function r(t){if(null!==t&&'object'==typeof t){if(!Array.isArray(t))return t;for(var n={},f=0,i=t.length;f=r)return e[t];return e[e.length-1]||1}}]),e})();t.exports=c},73,[38,12,74,2]); +__d(function(e,r,t,n,s){'use strict';function a(e){switch(e){case.75:return'ldpi';case 1:return'mdpi';case 1.5:return'hdpi';case 2:return'xhdpi';case 3:return'xxhdpi';case 4:return'xxxhdpi'}throw new Error('no such scale')}var i=new Set(['gif','jpeg','jpg','png','svg','webp','xml']);function o(e){var r=e.httpServerLocation;return'/'===r[0]&&(r=r.substr(1)),r}t.exports={getAndroidAssetSuffix:a,getAndroidResourceFolderName:function(e,r){if(!i.has(e.type))return'raw';var t=a(r);if(!t)throw new Error("Don't know which android drawable suffix to use for asset: "+JSON.stringify(e));return'drawable-'+t},getAndroidResourceIdentifier:function(e){return(o(e)+'/'+e.name).toLowerCase().replace(/\//g,'_').replace(/([^a-z0-9_])/g,'').replace(/^assets_/,'')},getBasePath:o}},74,[]); +__d(function(e,t,r,n,i){'use strict';var l=t(i[0]),s=t(i[1]),o=t(i[2]),a=t(i[3]),u=t(i[4]),f=t(i[5]),c=t(i[6]),h=t(i[7]),p=t(i[8]);function b(e,t){if(null==e||null==t)return!0;if(e.length!==t.length)return!0;for(var r=0;r must be a child of a '),a.createElement(H,{opacity:W(e),transform:A(e)},this.props.children)}}]),babelHelpers.inherits(t,e),t})(a.Component);P.contextTypes={isInSurface:u.bool.isRequired};var O=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=[T(e.x,0),T(e.y,0),T(e.width,0),T(e.height,0)],r=h(e);return delete r.x,delete r.y,a.createElement(H,{clipping:t,opacity:W(e),transform:A(r)},this.props.children)}}]),babelHelpers.inherits(t,e),t})(a.Component),J=0,V=1,G=2,I=3;function N(e,t,r){var n=new l(e);t[r+0]=n.red/255,t[r+1]=n.green/255,t[r+2]=n.blue/255,t[r+3]=n.alpha}function z(e,t,r){var n=0;if('length'in e)for(;nY?(p-=v,c-=X):l>0&&0!=Y&&(p-=l/Y*v,c-=l/Y*X),a=p*p+c*c,(l=(p=s-t)*v+(c=h-i)*X)>Y?(p-=v,c-=X):l>0&&0!=Y&&(p-=l/Y*v,c-=l/Y*X),u=p*p+c*c,a<.01&&u<.01)this.onLine(t,i,o,r);else{if(isNaN(a)||isNaN(u))throw new Error('Bad input');var f=.5*(n+s),M=.5*(e+h),b=.5*(n+t),T=.5*(e+i),k=.5*(b+f),w=.5*(T+M),_=.5*(o+s),D=.5*(r+h),z=.5*(_+f),C=.5*(D+M),m=.5*(k+z),B=.5*(w+C);this.onBezierCurve(t,i,b,T,k,w,m,B),this.onBezierCurve(m,B,z,C,_,D,o,r)}},onArc:function(t,i,n,e,s,h,o,r,a,u,p,c){var l=c?c*Math.PI/180:0,v=Math.cos(l),X=Math.sin(l),Y=v*o,f=-X*r,M=X*o,b=v*r,T=u-a;T<0&&!p?T+=2*Math.PI:T>0&&p&&(T-=2*Math.PI);for(var k=Math.ceil(Math.abs(T/(Math.PI/2))),w=T/k,_=1.3333333333333333*Math.tan(w/4),D=Math.cos(a),z=Math.sin(a),C=0;Ci.yy/i.xy?-1:1;return(i.xx<0?i.xy>=0:i.xy<0)&&(n=-n),this.rotate(t-180*Math.atan2(n*i.yx,n*i.xx)/Math.PI,x,y)},scaleTo:function(t,x){var y=this,i=Math.sqrt(y.xx*y.xx+y.yx*y.yx);return y.xx/=i,y.yx/=i,i=Math.sqrt(y.yy*y.yy+y.xy*y.xy),y.yy/=i,y.xy/=i,this.scale(t,x)},resizeTo:function(t,x){var y=this.width,i=this.height;return y&&i?this.scaleTo(t/y,x/i):this},inversePoint:function(t,x){var y=this.xx,i=this.yx,n=this.xy,r=this.yy,s=this.x,h=this.y,o=i*n-y*r;return 0==o?null:{x:(r*(s-t)+n*(x-h))/o,y:(y*(h-x)+i*(t-s))/o}},point:function(t,x){var y=this;return{x:y.xx*t+y.xy*x+y.x,y:y.yx*t+y.yy*x+y.y}}})},80,[78]); +__d(function(e,i,s,t,c){'use strict';var a=i(c[0]),o={};o.UIView={pointerEvents:!0,accessible:!0,accessibilityActions:!0,accessibilityLabel:!0,accessibilityComponentType:!0,accessibilityLiveRegion:!0,accessibilityTraits:!0,importantForAccessibility:!0,nativeID:!0,testID:!0,renderToHardwareTextureAndroid:!0,shouldRasterizeIOS:!0,onLayout:!0,onAccessibilityAction:!0,onAccessibilityTap:!0,onMagicTap:!0,collapsable:!0,needsOffscreenAlphaCompositing:!0,style:a},o.RCTView=babelHelpers.objectSpread({},o.UIView,{removeClippedSubviews:!0}),s.exports=o},81,[41]); +__d(function(r,t,n,u,c){"use strict";var e=t(c[0]);n.exports=function(r,t){var n={};return e(n,r),e(n,t),n}},82,[83]); +__d(function(e,r,c,t,n){"use strict";var o=r(n[0]),i=o.checkMergeObjectArg,f=o.checkMergeIntoObjectArg;c.exports=function(e,r){if(f(e),null!=r)for(var c in i(r),r)r.hasOwnProperty(c)&&(e[c]=r[c])}},83,[84]); +__d(function(e,r,t,n,c){'use strict';var o=r(c[0]),a=function(e){return'object'!=typeof e||e instanceof Date||null===e},i={MAX_MERGE_DEPTH:36,isTerminal:a,normalizeMergeArg:function(e){return void 0===e||null===e?{}:e},checkMergeArrayArgs:function(e,r){o(Array.isArray(e)&&Array.isArray(r),'Tried to merge arrays, instead got %s and %s.',e,r)},checkMergeObjectArgs:function(e,r){i.checkMergeObjectArg(e),i.checkMergeObjectArg(r)},checkMergeObjectArg:function(e){o(!a(e)&&!Array.isArray(e),'Tried to merge an object, instead got %s.',e)},checkMergeIntoObjectArg:function(e){o(!(a(e)&&'function'!=typeof e||Array.isArray(e)),'Tried to merge into an object, instead got %s.',e)},checkMergeLevel:function(e){o(e<36,"Maximum deep merge depth exceeded. You may be attempting to merge circular structures in an unsupported way.")},checkArrayStrategy:function(e){o(void 0===e||e in i.ArrayStrategies,"You must provide an array strategy to deep merge functions to instruct the deep merge how to resolve merging two arrays.")},ArrayStrategies:{Clobber:'Clobber',Concat:'Concat',IndexByIndex:'IndexByIndex'}};t.exports=i},84,[2]); +__d(function(e,t,s,r,i){'use strict';var l=t(i[0]),o=(t(i[1]),t(i[2])),a=t(i[3]),n=t(i[4]),b=t(i[5]),c=(t(i[6]),t(i[7])),u=t(i[8]),d=t(i[9]),p=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.accessibilityLabel,s=e.color,r=e.onPress,i=e.title,l=e.hasTVPreferredFocus,a=e.disabled,n=e.testID,p=[h.button],y=[h.text];s&&y.push({color:s});var f=['button'];a&&(p.push(h.buttonDisabled),y.push(h.textDisabled),f.push('disabled')),d('string'==typeof i,'The title prop of a Button must be a string');var g=i,D=c;return o.createElement(D,{accessibilityComponentType:"button",accessibilityLabel:t,accessibilityTraits:f,hasTVPreferredFocus:l,testID:n,disabled:a,onPress:r},o.createElement(u,{style:p},o.createElement(b,{style:y,disabled:a},g)))}}]),babelHelpers.inherits(t,e),t})(o.Component);p.propTypes={title:a.string.isRequired,accessibilityLabel:a.string,color:l,disabled:a.bool,hasTVPreferredFocus:a.bool,onPress:a.func.isRequired,testID:a.string};var h=n.create({button:{},text:{color:'#007AFF',textAlign:'center',padding:8,fontSize:18},buttonDisabled:{},textDisabled:{color:'#cdcdcd'}});s.exports=p},85,[43,12,30,48,37,86,153,154,63,2]); +__d(function(e,n,t,r,s){'use strict';var l=n(s[0]),o=n(s[1]),a=n(s[2]),i=n(s[3]),p=n(s[4]),u=n(s[5]),d=n(s[6]),c=n(s[7]),b=n(s[8]),h={top:20,left:20,right:20,bottom:30},f={validAttributes:babelHelpers.objectSpread({},o.UIView,{isHighlighted:!0,numberOfLines:!0,ellipsizeMode:!0,allowFontScaling:!0,disabled:!0,selectable:!0,selectionColor:!0,adjustsFontSizeToFit:!0,minimumFontScale:!0,textBreakStrategy:!0}),uiViewClassName:'RCTText'},R=(function(e){function n(){var e,t,r;babelHelpers.classCallCheck(this,n);for(var s=arguments.length,l=new Array(s),o=0;o4?u-4:0),v=4;v5?d-5:0),f=5;f4?o-4:0),l=4;l10&&this._cancelLongPressDelayTimeout();if(l>t.left-i&&T>t.top-_&&lthis.eventPool.length&&this.eventPool.push(e)}function G(e){e.eventPool=[],e.getPooled=X,e.release=$}babelHelpers.extends(Y.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=V)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=V)},persist:function(){this.isPersistent=V},isPersistent:Q,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;to||(a=o),ze(a,e,i)}}}),E=Ee,_=Pe,C=ke,me.injection.injectGlobalResponderHandler({onChange:function(e,t,n){null!==t?l.setJSResponder(t.stateNode._nativeTag,n):l.clearJSResponder()}});var Me=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,We="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.for:"@@for"),Oe=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.element"):60103,Fe=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.portal"):60106,je=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.fragment"):60107,De=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.strict_mode"):60108,He=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.profiler"):60114,Be=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.provider"):60109,Le=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.context"):60110,Ve=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.async_mode"):60111,Qe=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.forward_ref"):60112,Ye=We?("function"==typeof Symbol?Symbol.for:"@@for")("react.timeout"):60113,Xe="function"==typeof Symbol&&("function"==typeof Symbol?Symbol.iterator:"@@iterator");function $e(e){return null===e||void 0===e?null:"function"==typeof(e=Xe&&e[Xe]||e["@@iterator"])?e:null}function Ge(e){var t=e.type;if("function"==typeof t)return t.displayName||t.name;if("string"==typeof t)return t;switch(t){case Ve:return"AsyncMode";case Le:return"Context.Consumer";case je:return"ReactFragment";case Fe:return"ReactPortal";case He:return"Profiler("+e.pendingProps.id+")";case Be:return"Context.Provider";case De:return"StrictMode";case Ye:return"Timeout"}if("object"==typeof t&&null!==t)switch(t.$$typeof){case Qe:return""!==(e=t.render.displayName||t.render.name||"")?"ForwardRef("+e+")":"ForwardRef"}return null}function qe(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){a(2===qe(e),"Unable to find node on an unmounted component.")}function Je(e){var t=e.alternate;if(!t)return t=qe(e),a(3!==t,"Unable to find node on an unmounted component."),1===t?null:e;for(var n=e,r=t;;){var i=n.return,o=i?i.alternate:null;if(!i||!o)break;if(i.child===o.child){for(var l=i.child;l;){if(l===n)return Ke(i),e;if(l===r)return Ke(i),t;l=l.sibling}a(!1,"Unable to find node on an unmounted component.")}if(n.return!==r.return)n=i,r=o;else{l=!1;for(var u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l){for(u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}a(l,"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}a(n.alternate===r,"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}return a(3===n.tag,"Unable to find node on an unmounted component."),n.stateNode.current===n?e:t}function Ze(e){if(!(e=Je(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 et={},tt=null,nt=0;function rt(e,t,n){if(Array.isArray(t))for(var r=t.length;r--&&0St||(e.current=xt[St],xt[St]=null,St--)}function Et(e,t){xt[++St]=e.current,e.current=t}var _t=Pt(c),Ct=Pt(!1),Rt=c;function wt(e){return Ut(e)?Rt:_t.current}function Nt(e,t){var n=e.type.contextTypes;if(!n)return c;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ut(e){return 2===e.tag&&null!=e.type.childContextTypes}function At(e){Ut(e)&&(kt(Ct),kt(_t))}function It(e){kt(Ct),kt(_t)}function zt(e,t,n){a(_t.current===c,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),Et(_t,t),Et(Ct,n)}function Mt(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var i in n=n.getChildContext())a(i in r,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',Ge(e)||"Unknown",i);return babelHelpers.extends({},t,n)}function Wt(e){if(!Ut(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||c,Rt=_t.current,Et(_t,t),Et(Ct,Ct.current),!0}function Ot(e,t){var n=e.stateNode;if(a(n,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),t){var r=Mt(e,Rt);n.__reactInternalMemoizedMergedChildContext=r,kt(Ct),kt(_t),Et(_t,r)}else kt(Ct);Et(Ct,t)}function Ft(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function jt(e,t,n){var r=e.alternate;return null===r?((r=new Ft(e.tag,t,e.key,e.mode)).type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Dt(e,t,n){var r=e.type,i=e.key;if(e=e.props,"function"==typeof r)var o=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"==typeof r)o=5;else switch(r){case je:return Ht(e.children,t,n,i);case Ve:o=11,t|=3;break;case De:o=11,t|=2;break;case He:return(r=new Ft(15,e,i,4|t)).type=He,r.expirationTime=n,r;case Ye:o=16,t|=2;break;default:e:{switch("object"==typeof r&&null!==r?r.$$typeof:null){case Be:o=13;break e;case Le:o=12;break e;case Qe:o=14;break e;default:a(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==r?r:typeof r,"")}o=void 0}}return(t=new Ft(o,e,i,t)).type=r,t.expirationTime=n,t}function Ht(e,t,n,r){return(e=new Ft(10,e,r,t)).expirationTime=n,e}function Bt(e,t,n){return(e=new Ft(6,e,null,t)).expirationTime=n,e}function Lt(e,t,n){return(t=new Ft(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vt(e,t,n){return e={current:t=new Ft(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}var Qt=null,Yt=null;function Xt(e){return function(t){try{return e(t)}catch(e){}}}function $t(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Qt=Xt(function(e){return t.onCommitFiberRoot(n,e)}),Yt=Xt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Gt(e){"function"==typeof Qt&&Qt(e)}function qt(e){"function"==typeof Yt&&Yt(e)}function Kt(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n>t?e.earliestPendingTime=t:e.latestPendingTimen)&&(e.expirationTime=n)}function an(e,t,n){var r=e.alternate;if(null===r){var i=e.updateQueue,a=null;null===i&&(i=e.updateQueue=en(e.memoizedState))}else i=e.updateQueue,a=r.updateQueue,null===i?null===a?(i=e.updateQueue=en(e.memoizedState),a=r.updateQueue=en(r.memoizedState)):i=e.updateQueue=tn(a):null===a&&(a=r.updateQueue=tn(i));null===a||i===a?rn(i,t,n):null===i.lastUpdate||null===a.lastUpdate?(rn(i,t,n),rn(a,t,n)):(rn(i,t,n),a.lastUpdate=t)}function on(e,t,n){var r=e.updateQueue;null===(r=null===r?e.updateQueue=en(e.memoizedState):ln(e,r)).lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function ln(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=tn(t)),t}function un(e,t,n,r,i,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(null===(i="function"==typeof(e=n.payload)?e.call(a,r,i):e)||void 0===i)break;return babelHelpers.extends({},r,i);case 2:Zt=!0}return r}function sn(e,t,n,r,i){if(Zt=!1,!(0===t.expirationTime||t.expirationTime>i)){for(var a=(t=ln(e,t)).baseState,o=null,l=0,u=t.firstUpdate,s=a;null!==u;){var c=u.expirationTime;c>i?(null===o&&(o=u,a=s),(0===l||l>c)&&(l=c)):(s=un(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>i?(null===c&&(c=u,null===o&&(a=s)),(0===l||l>f)&&(l=f)):(s=un(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===o&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===o&&null===c&&(a=s),t.baseState=a,t.firstUpdate=o,t.firstCapturedUpdate=c,t.expirationTime=l,e.memoizedState=s}}function cn(e,t){a("function"==typeof e,"Invalid argument passed as callback. Expected a function. Instead received: %s",e),e.call(t)}function fn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,cn(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)null!==(t=e.callback)&&(e.callback=null,cn(t,n)),e=e.nextEffect}function dn(e,t){return{value:e,source:t,stack:Tt(t)}}var pn=Pt(null),hn=Pt(null),mn=Pt(0);function gn(e){var t=e.type._context;Et(mn,t._changedBits),Et(hn,t._currentValue),Et(pn,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function vn(e){var t=mn.current,n=hn.current;kt(pn),kt(hn),kt(mn),(e=e.type._context)._currentValue=n,e._changedBits=t}var yn={},bn=Pt(yn),Tn=Pt(yn),xn=Pt(yn);function Sn(e){return a(e!==yn,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Pn(e,t){Et(xn,t),Et(Tn,e),Et(bn,yn),kt(bn),Et(bn,{isInAParentText:!1})}function kn(e){kt(bn),kt(Tn),kt(xn)}function En(e){Tn.current===e&&(kt(bn),kt(Tn))}var _n=Object.prototype.hasOwnProperty;function Cn(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Rn(e,t){if(Cn(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;rm?(g=f,f=null):g=f.sibling;var v=p(i,f,l[m],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,m),null===c?s=v:c.sibling=v,c=v,f=g}if(m===l.length)return n(i,f),s;if(null===f){for(;mg?(v=m,m=null):v=m.sibling;var b=p(i,m,y.value,s);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(i,m),l=o(b,l,g),null===f?c=b:f.sibling=b,f=b,m=v}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;g++,y=u.next())null!==(y=d(i,y.value,s))&&(l=o(y,l,g),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(i,m);!y.done;g++,y=u.next())null!==(y=h(m,i,g,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),l=o(y,l,g),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach(function(e){return t(i,e)}),c}return function(e,r,o,u){var s="object"==typeof o&&null!==o&&o.type===je&&null===o.key;s&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case Oe:e:{for(c=o.key,s=r;null!==s;){if(s.key===c){if(10===s.tag?o.type===je:s.type===o.type){n(e,s.sibling),(r=i(s,o.type===je?o.props.children:o.props,u)).ref=Mn(e,s,o),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}o.type===je?((r=Ht(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Dt(o,e.mode,u)).ref=Mn(e,r,o),u.return=e,e=u)}return l(e);case Fe:e:{for(s=o.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[],u)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Lt(o,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o,u)).return=e,e=r):(n(e,r),(r=Bt(o,e.mode,u)).return=e,e=r),l(e);if(zn(o))return m(e,r,o,u);if($e(o))return g(e,r,o,u);if(c&&Wn(e,o),void 0===o&&!s)switch(e.tag){case 2:case 1:u=e.type,a(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",u.displayName||u.name||"Component")}return n(e,r)}}var Fn=On(!0),jn=On(!1),Dn=null,Hn=null,Bn=!1;function Ln(e,t){switch(e.tag){case 5:return null!==(t=mt(e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=mt(e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function Vn(e){if(Bn){var t=Hn;if(t){var n=t;if(!Ln(e,t)){if(!(t=mt())||!Ln(e,t))return e.effectTag|=2,Bn=!1,void(Dn=e);var r=Dn,i=new Ft(5,null,null,0);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}Dn=e,Hn=mt()}else e.effectTag|=2,Bn=!1,Dn=e}}function Qn(e,t,n){Yn(e,t,n,t.expirationTime)}function Yn(e,t,n,r){t.child=null===e?jn(t,null,n,r):Fn(t,e.child,n,r)}function Xn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function $n(e,t,n,r,i){Xn(e,t);var a=0!=(64&t.effectTag);if(!n&&!a)return r&&Ot(t,!1),Jn(e,t);n=t.stateNode,Me.current=t;var o=a?null:n.render();return t.effectTag|=1,a&&(Yn(e,t,null,i),t.child=null),Yn(e,t,o,i),t.memoizedState=n.state,t.memoizedProps=n.props,r&&Ot(t,!0),t.child}function Gn(e){var t=e.stateNode;t.pendingContext?zt(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zt(0,t.context,!1),Pn(e,t.containerInfo)}function qn(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var a=0|i.stateNode;if(i.type===t&&0!=(a&n)){for(a=i;null!==a;){var o=a.alternate;if(0===a.expirationTime||a.expirationTime>r)a.expirationTime=r,null!==o&&(0===o.expirationTime||o.expirationTime>r)&&(o.expirationTime=r);else{if(null===o||!(0===o.expirationTime||o.expirationTime>r))break;o.expirationTime=r}a=a.return}a=null}else a=i.child;break;case 13:a=i.type===e.type?null:i.child;break;default:a=i.child}if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===e){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}}function Kn(e,t,n){var r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=!0;if(Ct.current)o=!1;else if(a===i)return t.stateNode=0,gn(t),Jn(e,t);var l=i.value;if(t.memoizedProps=i,null===a)l=1073741823;else if(a.value===i.value){if(a.children===i.children&&o)return t.stateNode=0,gn(t),Jn(e,t);l=0}else{var u=a.value;if(u===l&&(0!==u||1/u==1/l)||u!=u&&l!=l){if(a.children===i.children&&o)return t.stateNode=0,gn(t),Jn(e,t);l=0}else if(l="function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,l):1073741823,0===(l|=0)){if(a.children===i.children&&o)return t.stateNode=0,gn(t),Jn(e,t)}else qn(t,r,l,n)}return t.stateNode=l,gn(t),Qn(e,t,i.children),t.child}function Jn(e,t){if(a(null===e||t.child===e.child,"Resuming work not yet implemented."),null!==t.child){var n=jt(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=jt(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Zn(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Gn(t);break;case 2:Wt(t);break;case 4:Pn(t,t.stateNode.containerInfo);break;case 13:gn(t)}return null}switch(t.tag){case 0:a(null===e,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var r=t.type,i=t.pendingProps,o=wt(t);return r=r(i,o=Nt(t,o)),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(o=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof(o=o.getDerivedStateFromProps)&&wn(t,o,i),i=Wt(t),r.updater=Nn,t.stateNode=r,r._reactInternalFiber=t,In(t,n),e=$n(e,t,!0,i,n)):(t.tag=1,Qn(e,t,r),t.memoizedProps=i,e=t.child),e;case 1:return i=t.type,n=t.pendingProps,Ct.current||t.memoizedProps!==n?(i=i(n,r=Nt(t,r=wt(t))),t.effectTag|=1,Qn(e,t,i),t.memoizedProps=n,e=t.child):e=Jn(e,t),e;case 2:if(i=Wt(t),null===e)if(null===t.stateNode){var l=t.pendingProps,u=t.type;r=wt(t);var s=2===t.tag&&null!=t.type.contextTypes;l=new u(l,o=s?Nt(t,r):c),t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,l.updater=Nn,t.stateNode=l,l._reactInternalFiber=t,s&&((s=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,s.__reactInternalMemoizedMaskedChildContext=o),In(t,n),r=!0}else{u=t.type,r=t.stateNode,s=t.memoizedProps,o=t.pendingProps,r.props=s;var f=r.context;l=Nt(t,l=wt(t));var d=u.getDerivedStateFromProps;(u="function"==typeof d||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(s!==o||f!==l)&&An(t,r,o,l),Zt=!1;var p=t.memoizedState;f=r.state=p;var h=t.updateQueue;null!==h&&(sn(t,h,o,r,n),f=t.memoizedState),s!==o||p!==f||Ct.current||Zt?("function"==typeof d&&(wn(t,d,o),f=t.memoizedState),(s=Zt||Un(t,s,o,p,f,l))?(u||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount&&(t.effectTag|=4)):("function"==typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=o,t.memoizedState=f),r.props=o,r.state=f,r.context=l,r=s):("function"==typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else u=t.type,r=t.stateNode,o=t.memoizedProps,s=t.pendingProps,r.props=o,f=r.context,l=Nt(t,l=wt(t)),(u="function"==typeof(d=u.getDerivedStateFromProps)||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(o!==s||f!==l)&&An(t,r,s,l),Zt=!1,f=t.memoizedState,p=r.state=f,null!==(h=t.updateQueue)&&(sn(t,h,s,r,n),p=t.memoizedState),o!==s||f!==p||Ct.current||Zt?("function"==typeof d&&(wn(t,d,s),p=t.memoizedState),(d=Zt||Un(t,o,s,f,p,l))?(u||"function"!=typeof r.UNSAFE_componentWillUpdate&&"function"!=typeof r.componentWillUpdate||("function"==typeof r.componentWillUpdate&&r.componentWillUpdate(s,p,l),"function"==typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(s,p,l)),"function"==typeof r.componentDidUpdate&&(t.effectTag|=4),"function"==typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof r.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=256),t.memoizedProps=s,t.memoizedState=p),r.props=s,r.state=p,r.context=l,r=d):("function"!=typeof r.componentDidUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||o===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=256),r=!1);return $n(e,t,r,i,n);case 3:return Gn(t),null!==(i=t.updateQueue)?(r=null!==(r=t.memoizedState)?r.element:null,sn(t,i,t.pendingProps,null,n),(n=t.memoizedState.element)===r?e=Jn(e,t):(Qn(e,t,n),e=t.child)):e=Jn(e,t),e;case 5:return Sn(xn.current),n=Sn(bn.current),i="AndroidTextInput"===(i=t.type)||"RCTMultilineTextInputView"===i||"RCTSinglelineTextInputView"===i||"RCTText"===i||"RCTVirtualText"===i,n!==(i=n.isInAParentText!==i?{isInAParentText:i}:n)&&(Et(Tn,t),Et(bn,i)),null===e&&Vn(t),i=t.memoizedProps,n=t.pendingProps,Ct.current||i!==n?(i=n.children,Xn(e,t),Qn(e,t,i),t.memoizedProps=n,e=t.child):e=Jn(e,t),e;case 6:return null===e&&Vn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return Pn(t,t.stateNode.containerInfo),i=t.pendingProps,Ct.current||t.memoizedProps!==i?(null===e?t.child=Fn(t,null,i,n):Qn(e,t,i),t.memoizedProps=i,e=t.child):e=Jn(e,t),e;case 14:return i=t.type.render,n=t.pendingProps,r=t.ref,Ct.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(Qn(e,t,i=i(n,r)),t.memoizedProps=n,e=t.child):e=Jn(e,t),e;case 10:return n=t.pendingProps,Ct.current||t.memoizedProps!==n?(Qn(e,t,n),t.memoizedProps=n,e=t.child):e=Jn(e,t),e;case 11:return n=t.pendingProps.children,Ct.current||null!==n&&t.memoizedProps!==n?(Qn(e,t,n),t.memoizedProps=n,e=t.child):e=Jn(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Jn(e,t):(Qn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Kn(e,t,n);case 12:e:if(r=t.type,o=t.pendingProps,s=t.memoizedProps,i=r._currentValue,l=r._changedBits,Ct.current||0!==l||s!==o){if(t.memoizedProps=o,void 0!==(u=o.unstable_observedBits)&&null!==u||(u=1073741823),t.stateNode=u,0!=(l&u))qn(t,r,l,n);else if(s===o){e=Jn(e,t);break e}n=(n=o.children)(i),t.effectTag|=1,Qn(e,t,n),e=t.child}else e=Jn(e,t);return e;default:a(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}var er=void 0,tr=void 0,nr=void 0;function rr(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return At(t),null;case 3:return kn(),It(),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(t.effectTag&=-3),er(t),null;case 5:En(t);var r=Sn(xn.current),i=t.type;if(null!==e&&null!=t.stateNode){var u=e.memoizedProps,s=Sn(bn.current);tr(e,t,c,i,u,n,r,s),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return a(null!==t.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;e=Sn(bn.current),u=vt(),s=o.get(i),a("RCTView"!==i||!e.isInAParentText,"Nesting of within is not currently supported.");var f=lt(null,et,n,s.validAttributes);l.createView(u,s.uiViewClassName,r,f),s=new st(u,s),be[u]=t,Te[u]=n;e:for(u=t.child;null!==u;){if(5===u.tag||6===u.tag)s._children.push(u.stateNode);else if(4!==u.tag&&null!==u.child){u.child.return=u,u=u.child;continue}if(u===t)break;for(;null===u.sibling;){if(null===u.return||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}bt(s)&&(t.effectTag|=4),t.stateNode=s,null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)nr(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return a(null!==t.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;r=Sn(xn.current),i=Sn(bn.current),a(i.isInAParentText,"Text strings must be rendered within a component."),i=vt(),l.createView(i,"RCTRawText",r,{text:n}),be[i]=t,t.stateNode=i}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return kn(),er(t),null;case 13:return vn(t),null;case 12:return null;case 0:a(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:a(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function ir(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=Tt(n)),null!==n&&Ge(n),n=null!==r?r:"",t=t.value,null!==e&&2===e.tag&&Ge(e);try{if(t instanceof Error){var i=t.message,a=t.name,o=t;try{o.message=(i?a+": "+i:a)+"\n\nThis error is located at:"+n}catch(e){}}else o="string"==typeof t?Error(t+"\n\nThis error is located at:"+n):Error("Unspecified error at:"+n);h.handleException(o,!1)}catch(e){e&&e.suppressReactErrorLogging}}function ar(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Nr(e,t)}else t.current=null}function or(e){switch(qt(e),e.tag){case 2:ar(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Nr(e,t)}break;case 5:ar(e);break;case 4:sr(e)}}function lr(e){return 5===e.tag||3===e.tag||4===e.tag}function ur(e){e:{for(var t=e.return;null!==t;){if(lr(t)){var n=t;break e}t=t.return}a(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:a(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}16&n.effectTag&&(n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||lr(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)if(n)if(r)a("number"!=typeof t,"Container does not support insertBefore operation");else{var o=t,u=i.stateNode,s=n,c=o._children,f=c.indexOf(u);0<=f?(c.splice(f,1),s=c.indexOf(s),c.splice(s,0,u),l.manageChildren(o._nativeTag,[f],[s],[],[],[])):(f=c.indexOf(s),c.splice(f,0,u),l.manageChildren(o._nativeTag,[],[],["number"==typeof u?u:u._nativeTag],[f],[]))}else r?(o=i.stateNode,l.setChildren(t,["number"==typeof o?o:o._nativeTag])):(o=t,c="number"==typeof(u=i.stateNode)?u:u._nativeTag,0<=(s=(f=o._children).indexOf(u))?(f.splice(s,1),f.push(u),l.manageChildren(o._nativeTag,[s],[f.length-1],[],[],[])):(f.push(u),l.manageChildren(o._nativeTag,[],[],[c],[f.length-1],[])));else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function sr(e){for(var t=e,n=!1,r=void 0,i=void 0;;){if(!n){n=t.return;e:for(;;){switch(a(null!==n,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),n.tag){case 5:r=n.stateNode,i=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,i=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var o=t,u=o;;)if(or(u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===o)break;for(;null===u.sibling;){if(null===u.return||u.return===o)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}if(i)o=r,yt(t.stateNode),l.manageChildren(o,[],[],[],[],[0]);else{o=r;var s=t.stateNode;yt(s),s=(u=o._children).indexOf(s),u.splice(s,1),l.manageChildren(o._nativeTag,[],[],[],[],[s])}}else if(4===t.tag?r=t.stateNode.containerInfo:or(t),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;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function cr(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.updateQueue;t.updateQueue=null,null!==i&&(t=n.viewConfig,Te[n._nativeTag]=r,null!=(r=lt(null,e,r,t.validAttributes))&&l.updateView(n._nativeTag,t.uiViewClassName,r))}break;case 6:a(null!==t.stateNode,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."),l.updateView(t.stateNode,"RCTRawText",{text:t.memoizedProps});break;case 3:case 15:case 16:break;default:a(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function fr(e,t,n){(n=nn(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){si(r),ir(e,t)},n}function dr(e,t,n){(n=nn(n)).tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===Er?Er=new Set([this]):Er.add(this);var n=t.value,r=t.stack;ir(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function pr(e){switch(e.tag){case 2:At(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return kn(),It(),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return En(e),null;case 16:return 1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 4:return kn(),null;case 13:return vn(e),null;default:return null}}er=function(){},tr=function(e,t,n){(t.updateQueue=n)&&(t.effectTag|=4)},nr=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var hr=ct(),mr=hr,gr=0,vr=!1,yr=null,br=null,Tr=0,xr=-1,Sr=!1,Pr=null,kr=!1,Er=null;function _r(){if(null!==yr)for(var e=yr.return;null!==e;){var t=e;switch(t.tag){case 2:At(t);break;case 3:kn(),It();break;case 5:En(t);break;case 4:kn();break;case 13:vn(t)}e=e.return}br=null,Tr=0,xr=-1,Sr=!1,yr=null}function Cr(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=rr(t,e);var i=e;if(1073741823===Tr||1073741823!==i.expirationTime){var a=0;switch(i.tag){case 3:case 2:var o=i.updateQueue;null!==o&&(a=o.expirationTime)}for(o=i.child;null!==o;)0!==o.expirationTime&&(0===a||a>o.expirationTime)&&(a=o.expirationTime),o=o.sibling;i.expirationTime=a}if(null!==t)return t;null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1n?e.earliestSuspendedTime=n:rHr)&&(Hr=e),e}function Ar(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!vr&&0!==Tr&&tqr&&a(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.")}e=e.return}}function Ir(){return mr=ct()-hr,2+(mr/10|0)}var zr=null,Mr=null,Wr=0,Or=void 0,Fr=!1,jr=null,Dr=0,Hr=0,Br=!1,Lr=!1,Vr=null,Qr=null,Yr=!1,Xr=!1,$r=!1,Gr=null,qr=1e3,Kr=0,Jr=1;function Zr(e){if(0!==Wr){if(e>Wr)return;if(null!==Or)ft=null,clearTimeout(Or)}Wr=e,ct(),ft=ri,Or=setTimeout(ht,1)}function ei(e,t,n,r){0<=r&&setTimeout(function(){var n=e.latestSuspendedTime;0!==n&&n<=t&&(0===(n=e.latestPingedTime)||n=Dr)&&(!Br||Ir()>=Dr);)Ir(),oi(jr,Dr,!0),ni();else for(;null!==jr&&0!==Dr&&(0===e||e>=Dr);)oi(jr,Dr,!1),ni();null!==Qr&&(Wr=0,Or=null),0!==Dr&&Zr(Dr),Qr=null,Br=!1,ai()}function ai(){if(Kr=0,null!==Gr){var e=Gr;Gr=null;for(var t=0;te.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Kt(e,r)):rJr)&&(Br=!0)}function si(e){a(null!==jr,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),jr.expirationTime=0,Lr||(Lr=!0,Vr=e)}function ci(e,t,n,r,i){var o=t.current;if(n){var l;n=n._reactInternalFiber;e:{for(a(2===qe(n)&&2===n.tag,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue."),l=n;3!==l.tag;){if(Ut(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}l=l.return,a(l,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}l=l.stateNode.context}n=Ut(n)?Mt(n,l):l}else n=c;return null===t.context?t.context=n:t.pendingContext=n,t=i,(i=nn(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),an(o,i,r),Ar(o,r),r}function fi(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?a(!1,"Unable to find node on an unmounted component."):a(!1,"Argument appears to not be a ReactComponent. Keys: %s",Object.keys(e))),null===(e=Ze(t))?null:e.stateNode}function di(e,t,n,r){var i=t.current;return ci(e,t,n,i=Ur(Ir(),i),r)}function pi(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function hi(e){var t=e.findFiberByHostInstance;return $t(babelHelpers.extends({},e,{findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function mi(e,t,n){var r=3=n?(this._iteratedObject=void 0,r(void 0,!0)):(this._nextIndex=i+1,"key"===a?r(i,!1):"value"===a?r(e[i],!1):"key+value"===a?r([i,e[i]],!1):void 0)}},{key:'@@iterator',value:function(){return this}}]),t})(),e=(function(){function t(e){if(babelHelpers.classCallCheck(this,t),'string'!=typeof e)throw new TypeError('Object is not a string');this._iteratedString=e,this._nextIndex=0}return babelHelpers.createClass(t,[{key:"next",value:function(){if(!this instanceof t)throw new TypeError('Object is not a StringIterator');if(null==this._iteratedString)return r(void 0,!0);var e,n=this._nextIndex,i=this._iteratedString,a=i.length;if(n>=a)return this._iteratedString=void 0,r(void 0,!0);var o=i.charCodeAt(n);if(o<55296||o>56319||n+1===a)e=i[n];else{var s=i.charCodeAt(n+1);e=s<56320||s>57343?i[n]:i[n]+i[n+1]}return this._nextIndex=n+e.length,r(e,!1)}},{key:'@@iterator',value:function(){return this}}]),t})();function r(t,e){return{value:t,done:e}}return function(r,n){return'string'==typeof r?new e(r):Array.isArray(r)?new t(r,n||"value"):r[a]()}})();babelHelpers.extends(o,{KIND_KEY:"key",KIND_VALUE:"value",KIND_KEY_VAL:"key+value",ITERATOR_SYMBOL:a}),r.exports=o},103,[]); +__d(function(e,t,n,s,i){'use strict';var r=t(i[0]),a=t(i[1]),u=t(i[2]);n.exports=(function(e){if(!a('Set'))return e.Set;var t=(function(){function e(t){if(babelHelpers.classCallCheck(this,e),null==this||'object'!=typeof this&&'function'!=typeof this)throw new TypeError('Wrong set object type.');if(n(this),null!=t)for(var s,i=u(t);!(s=i.next()).done;)this.add(s.value)}return babelHelpers.createClass(e,[{key:"add",value:function(e){return this._map.set(e,e),this.size=this._map.size,this}},{key:"clear",value:function(){n(this)}},{key:"delete",value:function(e){var t=this._map.delete(e);return this.size=this._map.size,t}},{key:"entries",value:function(){return this._map.entries()}},{key:"forEach",value:function(e){for(var t,n=arguments[1],s=this._map.keys();!(t=s.next()).done;)e.call(n,t.value,t.value,this)}},{key:"has",value:function(e){return this._map.has(e)}},{key:"values",value:function(){return this._map.values()}}]),e})();function n(e){e._map=new r,e.size=e._map.size}return t.prototype[u.ITERATOR_SYMBOL]=t.prototype.values,t.prototype.keys=t.prototype.values,t})(Function('return this')())},104,[100,99,103]); +__d(function(o,n,r,e,t){'use strict';var i=0;function c(o,r){var e=n(t[0]).ExceptionsManager;if(e){var c=n(t[1])(o),s=++i;r?e.reportFatalException(o.message,c,s):e.reportSoftException(o.message,c,s)}}r.exports={handleException:function(o,n){o.message||(o=new Error(o)),c(o,n)},installConsoleErrorReporter:function(){(function(){})||(console._errorOriginal=function(){},console.error=function(){},void 0===function(){}&&(console.reportErrorsAsExceptions=function(){}))}}},105,[4,106]); +__d(function(r,t,s,a,e){'use strict';s.exports=function(r){if(!r||!r.stack)return[];for(var s=t(e[0]),a=Array.isArray(r.stack)?r.stack:s.parse(r.stack),o='number'==typeof r.framesToPop?r.framesToPop:0;o--;)a.shift();return a}},106,[107]); +__d(function(n,o,t,_,c){t.exports=o(c[0])},107,[108]); +__d(function(e,n,o,t,l){var u={parse:function(e){for(var n,o,t=/^\s*at (?:(?:(?:Anonymous function)?|((?:\[object object\])?\S+(?: \[as \S+\])?)) )?\(?((?:file|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/^(?:\s*([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?\S+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=e.split('\n'),s=[],c=0,m=i.length;c",lineNumber:+n[4],column:n[5]?+n[5]:null};else if(n=t.exec(i[c]))o={file:n[2],methodName:n[1]||"",lineNumber:+n[3],column:n[4]?+n[4]:null};else{if(!(n=u.exec(i[c])))continue;o={file:n[2],methodName:n[1]||"",lineNumber:+n[3],column:n[4]?+n[4]:null}}s.push(o)}return s}};o.exports=u},108,[]); +__d(function(r,n,o,i,s){'use strict';var t=n(s[0]).PlatformConstants,a=n(s[1]);i.checkVersions=function(){if(t){var r=t.reactNativeVersion;a.version.major!==r.major||(a.version.minor,r.minor)}}},109,[4,110]); +__d(function(e,n,r,o,a){o.version={major:0,minor:56,patch:0,prerelease:null}},110,[]); +__d(function(t,r,e,n,o){!(function(t){"use strict";var r,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",h="object"==typeof e,f=t.regeneratorRuntime;if(f)h&&(e.exports=f);else{(f=t.regeneratorRuntime=h?e.exports:{}).wrap=L;var s="suspendedStart",l="suspendedYield",p="executing",y="completed",v={},d={};d[a]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(S([])));m&&m!==n&&o.call(m,a)&&(d=m);var w=_.prototype=E.prototype=Object.create(d);b.prototype=w.constructor=_,_.constructor=b,_[u]=b.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===b||"GeneratorFunction"===(r.displayName||r.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(w),t},f.awrap=function(t){return{__await:t}},j(O.prototype),O.prototype[c]=function(){return this},f.AsyncIterator=O,f.async=function(t,r,e,n){var o=new O(L(t,r,e,n));return f.isGeneratorFunction(r)?o:o.next().then(function(t){return t.done?t.value:o.next()})},j(w),w[u]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},f.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},f.values=S,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),h=o.call(a,"finallyLoc");if(u&&h){if(this.prev=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),P(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;P(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function L(t,r,e,n){var o=r&&r.prototype instanceof E?r:E,i=Object.create(o.prototype),a=new F(n||[]);return i._invoke=k(t,e,a),i}function x(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}function E(){}function b(){}function _(){}function j(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function O(t){function r(e,n,i,a){var c=x(t[e],t,n);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==typeof h&&o.call(h,"__await")?Promise.resolve(h.__await).then(function(t){r("next",t,i,a)},function(t){r("throw",t,i,a)}):Promise.resolve(h).then(function(t){u.value=t,i(u)},a)}a(c.arg)}var e;this._invoke=function(t,n){function o(){return new Promise(function(e,o){r(t,n,e,o)})}return e=e?e.then(o,o):o()}}function k(t,r,e){var n=s;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===y){if("throw"===o)throw i;return T()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=G(a,e);if(c){if(c===v)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===s)throw n=y,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var u=x(t,r,e);if("normal"===u.type){if(n=e.done?y:l,u.arg===v)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=y,e.method="throw",e.arg=u.arg)}}}function G(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,G(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=x(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function N(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function P(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function S(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n=0,loaded:t,total:s})}},{key:"__didCompleteResponse",value:function(e,s,r){e===this._requestId&&(s&&(''!==this._responseType&&'text'!==this._responseType||(this._response=s),this._hasError=!0,r&&(this._timedOut=!0)),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE),s?t._interceptor&&t._interceptor.loadingFailed(e,s):t._interceptor&&t._interceptor.loadingFinished(e,this._response.length))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach(function(e){e&&e.remove()}),this._subscriptions=[]}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders||{};return Object.keys(e).map(function(t){return t+': '+e[t]}).join('\r\n')}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');this._headers[e.toLowerCase()]=String(t)}},{key:"setTrackingName",value:function(e){return this._trackingName=e,this}},{key:"open",value:function(e,t,s){if(this.readyState!==this.UNSENT)throw new Error('Cannot open, already sending');if(void 0!==s&&!s)throw new Error('Synchronous http requests are not supported');if(!t)throw new Error('Cannot load an empty url');this._method=e.toUpperCase(),this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(e){var t=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 s=this._incrementalEvents||!!this.onreadystatechange||!!this.onprogress;this._subscriptions.push(o.addListener('didSendNetworkData',function(e){return t.__didUploadProgress.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(o.addListener('didReceiveNetworkResponse',function(e){return t.__didReceiveResponse.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(o.addListener('didReceiveNetworkData',function(e){return t.__didReceiveData.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(o.addListener('didReceiveNetworkIncrementalData',function(e){return t.__didReceiveIncrementalData.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(o.addListener('didReceiveNetworkDataProgress',function(e){return t.__didReceiveDataProgress.apply(t,babelHelpers.toConsumableArray(e))})),this._subscriptions.push(o.addListener('didCompleteNetworkResponse',function(e){return t.__didCompleteResponse.apply(t,babelHelpers.toConsumableArray(e))}));var r='text';'arraybuffer'===this._responseType&&(r='base64'),'blob'===this._responseType&&(r='blob'),h(this._method,'Request method needs to be defined.'),h(this._url,'Request URL needs to be defined.'),o.sendRequest(this._method,this._trackingName,this._url,this._headers,e,r,s,this.timeout,this.__didCreateRequest.bind(this),this.withCredentials)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&o.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(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,s){return e[s.toLowerCase()]=t[s],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e,this.dispatchEvent({type:'readystatechange'}),e===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(e,s){'readystatechange'!==e&&'progress'!==e||(this._incrementalEvents=!0),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"addEventListener",this).call(this,e,s)}},{key:"responseType",get:function(){return this._responseType},set:function(e){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.");b.hasOwnProperty(e)?(h(b[e]||'document'===e,"The provided value '"+e+"' is unsupported in this environment."),'blob'===e&&h(d.isAvailable,'Native module BlobModule is required for blob support'),this._responseType=e):p(!1,"The provided value '"+e+"' 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.readyState<_?'':this._response}},{key:"response",get:function(){var e=this.responseType;if(''===e||'text'===e)return this.readyState<_||this._hasError?'':this._response;if(this.readyState!==y)return null;if(void 0!==this._cachedResponse)return this._cachedResponse;switch(e){case'document':this._cachedResponse=null;break;case'arraybuffer':this._cachedResponse=a.toByteArray(this._response).buffer;break;case'blob':if('object'!=typeof this._response||!this._response)throw new Error("Invalid response for blob: "+this._response);this._cachedResponse=d.createFromOptions(this._response);break;case'json':try{this._cachedResponse=JSON.parse(this._response)}catch(e){this._cachedResponse=null}break;default:this._cachedResponse=null}return this._cachedResponse}}]),babelHelpers.inherits(t,e),t})(n.apply(void 0,babelHelpers.toConsumableArray(f)));E.UNSENT=u,E.OPENED=l,E.HEADERS_RECEIVED=c,E.LOADING=_,E.DONE=y,E._interceptor=null,s.exports=E},112,[113,117,122,2,16,124]); +__d(function(e,t,n,r,i){"use strict";var l=t(i[0]),o=t(i[1]),u=t(i[2]),a=l.LISTENERS,f=l.CAPTURE,c=l.BUBBLE,s=l.ATTRIBUTE,v=l.newNode,d=o.defineCustomEventTarget,h=u.createEventWrapper,E=u.STOP_IMMEDIATE_PROPAGATION_FLAG,p="undefined"!=typeof window&&void 0!==window.EventTarget,w=n.exports=function e(){if(!(this instanceof e)){if(1===arguments.length&&Array.isArray(arguments[0]))return d(e,arguments[0]);if(arguments.length>0){for(var t=Array(arguments.length),n=0;n0?e-4:e,d=0;d>16&255,a[c++]=t>>8&255,a[c++]=255&t;2===o&&(t=h[r.charCodeAt(d)]<<2|h[r.charCodeAt(d+1)]>>4,a[c++]=255&t);1===o&&(t=h[r.charCodeAt(d)]<<10|h[r.charCodeAt(d+1)]<<4|h[r.charCodeAt(d+2)]>>2,a[c++]=t>>8&255,a[c++]=255&t);return a},e.fromByteArray=function(r){for(var t,n=r.length,e=n%3,o=[],h=0,u=n-e;hu?u:h+16383));1===e?(t=r[n-1],o.push(a[t>>2]+a[t<<4&63]+'==')):2===e&&(t=(r[n-2]<<8)+r[n-1],o.push(a[t>>10]+a[t>>4&63]+a[t<<2&63]+'='));return o.join('')};for(var a=[],h=[],u='undefined'!=typeof Uint8Array?Uint8Array:Array,c='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',i=0,d=c.length;i0)throw new Error('Invalid string. Length must be a multiple of 4');var n=r.indexOf('=');return-1===n&&(n=t),[n,n===t?0:4-n%4]}function A(r,t,n){return 3*(t+n)/4-n}function C(r,t,n){for(var e,o,h=[],u=t;u>18&63]+a[o>>12&63]+a[o>>6&63]+a[63&o]);return h.join('')}h['-'.charCodeAt(0)]=62,h['_'.charCodeAt(0)]=63},122,[]); +__d(function(t,e,a,s,i){'use strict';var n=(function(){function t(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0;babelHelpers.classCallCheck(this,t);var n=e(i[0]);this.data=n.createFromParts(a,s).data}return babelHelpers.createClass(t,[{key:"slice",value:function(t,a){var s=e(i[0]),n=this.data,r=n.offset,o=n.size;return'number'==typeof t&&(t>o&&(t=o),r+=t,o-=t,'number'==typeof a&&(a<0&&(a=this.size+a),o=a-t)),s.createFromOptions({blobId:this.data.blobId,offset:r,size:o})}},{key:"close",value:function(){e(i[0]).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||''}}]),t})();a.exports=n},123,[124]); +__d(function(e,r,t,a,n){'use strict';var o=r(n[0]),i=r(n[1]),l=r(n[2]).BlobModule;var u=(function(){function r(){babelHelpers.classCallCheck(this,r)}return babelHelpers.createClass(r,null,[{key:"createFromParts",value:function(t,a){var n='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(e){var r=16*Math.random()|0;return('x'==e?r:3&r|8).toString(16)}),i=t.map(function(r){if(r instanceof ArrayBuffer||e.ArrayBufferView&&r instanceof e.ArrayBufferView)throw new Error("Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported");return r instanceof o?{data:r.data,type:'blob'}:{data:String(r),type:'string'}}),u=i.reduce(function(r,t){return'string'===t.type?r+e.unescape(encodeURI(t.data)).length:r+t.data.size},0);return l.createFromParts(i,n),r.createFromOptions({blobId:n,offset:0,size:u,type:a?a.type:'',lastModified:a?a.lastModified:Date.now()})}},{key:"createFromOptions",value:function(e){return i.register(e.blobId),babelHelpers.extends(Object.create(o.prototype),{data:e})}},{key:"release",value:function(e){i.unregister(e),i.has(e)||l.release(e)}},{key:"addNetworkingHandler",value:function(){l.addNetworkingHandler()}},{key:"addWebSocketHandler",value:function(e){l.addWebSocketHandler(e)}},{key:"removeWebSocketHandler",value:function(e){l.removeWebSocketHandler(e)}},{key:"sendOverSocket",value:function(e,r){l.sendOverSocket(e.data,r)}}]),r})();u.isAvailable=!!l,t.exports=u},124,[123,125,4]); +__d(function(n,e,t,r,i){var u={};t.exports={register:function(n){u[n]?u[n]++:u[n]=1},unregister:function(n){u[n]&&(u[n]--,u[n]<=0&&delete u[n])},has:function(n){return u[n]&&u[n]>0}}},125,[]); +__d(function(e,t,n,a,s){'use strict';var r=(function(){function e(){babelHelpers.classCallCheck(this,e),this._parts=[]}return babelHelpers.createClass(e,[{key:"append",value:function(e,t){this._parts.push([e,t])}},{key:"getParts",value:function(){return this._parts.map(function(e){var t=babelHelpers.slicedToArray(e,2),n=t[0],a=t[1],s={'content-disposition':'form-data; name="'+n+'"'};return'object'==typeof a&&a?('string'==typeof a.name&&(s['content-disposition']+='; filename="'+a.name+'"'),'string'==typeof a.type&&(s['content-type']=a.type),babelHelpers.objectSpread({},a,{headers:s,fieldName:n})):{string:String(a),headers:s,fieldName:n}})}}]),e})();n.exports=r},126,[]); +__d(function(e,s,t,r,c){'use strict';var o=s(c[0]);o&&o.fetch?t.exports=o:t.exports={fetch:fetch,Headers:Headers,Request:Request,Response:Response}},127,[128]); +__d(function(t,e,r,o,n){!(function(t){'use strict';if(!t.fetch){var e={searchParams:'URLSearchParams'in t,iterable:'Symbol'in t&&'iterator'in Symbol,blob:'FileReader'in t&&'Blob'in t&&(function(){try{return new Blob,!0}catch(t){return!1}})(),formData:'FormData'in t,arrayBuffer:'ArrayBuffer'in t};if(e.arrayBuffer)var r=['[object Int8Array]','[object Uint8Array]','[object Uint8ClampedArray]','[object Int16Array]','[object Uint16Array]','[object Int32Array]','[object Uint32Array]','[object Float32Array]','[object Float64Array]'],o=function(t){return t&&DataView.prototype.isPrototypeOf(t)},n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};u.prototype.append=function(t,e){t=a(t),e=h(e);var r=this.map[t];this.map[t]=r?r+','+e:e},u.prototype.delete=function(t){delete this.map[a(t)]},u.prototype.get=function(t){return t=a(t),this.has(t)?this.map[t]:null},u.prototype.has=function(t){return this.map.hasOwnProperty(a(t))},u.prototype.set=function(t,e){this.map[a(t)]=h(e)},u.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},u.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),f(t)},u.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),f(t)},u.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),f(t)},e.iterable&&(u.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=u.prototype.entries);var i=['DELETE','GET','HEAD','OPTIONS','POST','PUT'];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},b.call(m.prototype),b.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},_.error=function(){var t=new _(null,{status:0,statusText:''});return t.type='error',t};var s=[301,302,303,307,308];_.redirect=function(t,e){if(-1===s.indexOf(e))throw new RangeError('Invalid status code');return new _(null,{status:e,headers:{location:t}})},t.Headers=u,t.Request=m,t.Response=_,t.fetch=function(t,e){return new Promise(function(r,o){var n=new m(t,e),i=new XMLHttpRequest;i.onload=function(){var t,e,o={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||'',e=new u,t.replace(/\r?\n[\t ]+/g,' ').split(/\r?\n/).forEach(function(t){var r=t.split(':'),o=r.shift().trim();if(o){var n=r.join(':').trim();e.append(o,n)}}),e)};o.url='responseURL'in i?i.responseURL:o.headers.get('X-Request-URL');var n='response'in i?i.response:i.responseText;r(new _(n,o))},i.onerror=function(){o(new TypeError('Network request failed'))},i.ontimeout=function(){o(new TypeError('Network request failed'))},i.open(n.method,n.url,!0),'include'===n.credentials?i.withCredentials=!0:'omit'===n.credentials&&(i.withCredentials=!1),n.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),i.send(void 0===n._bodyInit?null:n._bodyInit)})},t.fetch.polyfill=!0}function a(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 f(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e.iterable&&(r["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){return r}),r}function u(t){this.map={},t instanceof u?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function d(t){if(t.bodyUsed)return Promise.reject(new TypeError('Already read'));t.bodyUsed=!0}function y(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function l(t){var e=new FileReader,r=y(e);return e.readAsArrayBuffer(t),r}function c(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.referrer=null,('GET'===this.method||'HEAD'===this.method)&&n)throw new TypeError('Body not allowed for GET or HEAD requests');this._initBody(n)}function w(t){var e=new FormData;return t.trim().split('&').forEach(function(t){if(t){var r=t.split('='),o=r.shift().replace(/\+/g,' '),n=r.join('=').replace(/\+/g,' ');e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function _(t,e){e||(e={}),this.type='default',this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText='statusText'in e?e.statusText:'OK',this.headers=new u(e.headers),this.url=e.url||'',this._initBody(t)}})('undefined'!=typeof self?self:this)},128,[]); +__d(function(e,t,s,i,r){'use strict';var o=t(r[0]),n=t(r[1]),a=t(r[2]),c=t(r[3]),d=t(r[4]),l=(t(r[5]),t(r[6])),b=t(r[7]),u=t(r[8]),h=t(r[9]),y=d.WebSocketModule,f=0,p=1,v=2,_=3,E=0,k=(function(e){function t(e,s,i){var r;babelHelpers.classCallCheck(this,t),(r=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this))).CONNECTING=f,r.OPEN=p,r.CLOSING=v,r.CLOSED=_,r.readyState=f,'string'==typeof s&&(s=[s]);var o=i||{},n=o.headers,c=void 0===n?{}:n,d=babelHelpers.objectWithoutProperties(o,["headers"]);if(d&&'string'==typeof d.origin&&(c.origin=d.origin,delete d.origin),Object.keys(d).length,Array.isArray(s)||(s=null),!t.isAvailable)throw new Error("Cannot initialize WebSocket module. Native module WebSocketModule is missing.");return r._eventEmitter=new a(y),r._socketId=E++,r._registerEvents(),y.connect(e,s,{headers:c},r._socketId),r}return babelHelpers.createClass(t,[{key:"close",value:function(e,t){this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.readyState=this.CLOSING,this._close(e,t))}},{key:"send",value:function(e){if(this.readyState===this.CONNECTING)throw new Error('INVALID_STATE_ERR');if(e instanceof o)return h(c.isAvailable,'Native module BlobModule is required for blob support'),void c.sendOverSocket(e,this._socketId);if('string'!=typeof e){if(!(e instanceof ArrayBuffer||ArrayBuffer.isView(e)))throw new Error('Unsupported data type');y.sendBinary(u(e),this._socketId)}else y.send(e,this._socketId)}},{key:"ping",value:function(){if(this.readyState===this.CONNECTING)throw new Error('INVALID_STATE_ERR');y.ping(this._socketId)}},{key:"_close",value:function(e,t){y.close(this._socketId),c.isAvailable&&'blob'===this._binaryType&&c.removeWebSocketHandler(this._socketId)}},{key:"_unregisterEvents",value:function(){this._subscriptions.forEach(function(e){return e.remove()}),this._subscriptions=[]}},{key:"_registerEvents",value:function(){var e=this;this._subscriptions=[this._eventEmitter.addListener('websocketMessage',function(t){if(t.id===e._socketId){var s=t.data;switch(t.type){case'binary':s=b.toByteArray(t.data).buffer;break;case'blob':s=c.createFromOptions(t.data)}e.dispatchEvent(new l('message',{data:s}))}}),this._eventEmitter.addListener('websocketOpen',function(t){t.id===e._socketId&&(e.readyState=e.OPEN,e.dispatchEvent(new l('open')))}),this._eventEmitter.addListener('websocketClosed',function(t){t.id===e._socketId&&(e.readyState=e.CLOSED,e.dispatchEvent(new l('close',{code:t.code,reason:t.reason})),e._unregisterEvents(),e.close())}),this._eventEmitter.addListener('websocketFailed',function(t){t.id===e._socketId&&(e.readyState=e.CLOSED,e.dispatchEvent(new l('error',{message:t.message})),e.dispatchEvent(new l('close',{message:t.message})),e._unregisterEvents(),e.close())})]}},{key:"binaryType",get:function(){return this._binaryType},set:function(e){if('blob'!==e&&'arraybuffer'!==e)throw new Error("binaryType must be either 'blob' or 'arraybuffer'");'blob'!==this._binaryType&&'blob'!==e||(h(c.isAvailable,'Native module BlobModule is required for blob support'),'blob'===e?c.addWebSocketHandler(this._socketId):c.removeWebSocketHandler(this._socketId)),this._binaryType=e}}]),babelHelpers.inherits(t,e),t})(n.apply(void 0,['close','error','message','open']));k.CONNECTING=f,k.OPEN=p,k.CLOSING=v,k.CLOSED=_,k.isAvailable=!!y,s.exports=k},129,[123,113,119,124,4,12,130,122,121,2]); +__d(function(e,t,s,i,l){'use strict';s.exports=function e(t,s){babelHelpers.classCallCheck(this,e),this.type=t.toString(),babelHelpers.extends(this,s)}},130,[]); +__d(function(e,t,a,s,n){'use strict';var l=t(n[0]),r=t(n[1]),i=(function(e){function t(e,a,s){var n;return babelHelpers.classCallCheck(this,t),r(null!=e&&null!=a,'Failed to construct `File`: Must pass both `parts` and `name` arguments.'),(n=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e,s))).data.name=a,n}return babelHelpers.createClass(t,[{key:"name",get:function(){return r(null!=this.data.name,'Files must have a name set.'),this.data.name}},{key:"lastModified",get:function(){return this.data.lastModified||0}}]),babelHelpers.inherits(t,e),t})(l);a.exports=i},131,[123,2]); +__d(function(e,t,r,a,s){'use strict';var i=t(s[0]),n=(t(s[1]),t(s[2]).FileReaderModule),o=0,d=1,u=2,l=(function(e){function t(){var e;return babelHelpers.classCallCheck(this,t),(e=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this))).EMPTY=o,e.LOADING=d,e.DONE=u,e._aborted=!1,e._subscriptions=[],e._reset(),e}return babelHelpers.createClass(t,[{key:"_reset",value:function(){this._readyState=o,this._error=null,this._result=null}},{key:"_clearSubscriptions",value:function(){this._subscriptions.forEach(function(e){return e.remove()}),this._subscriptions=[]}},{key:"_setReadyState",value:function(e){this._readyState=e,this.dispatchEvent({type:'readystatechange'}),e===u&&(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(e){var t=this;this._aborted=!1,n.readAsDataURL(e.data).then(function(e){t._aborted||(t._result=e,t._setReadyState(u))},function(e){t._aborted||(t._error=e,t._setReadyState(u))})}},{key:"readAsText",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'UTF-8';this._aborted=!1,n.readAsText(e.data,r).then(function(e){t._aborted||(t._result=e,t._setReadyState(u))},function(e){t._aborted||(t._error=e,t._setReadyState(u))})}},{key:"abort",value:function(){this._aborted=!0,this._readyState!==o&&this._readyState!==u&&(this._reset(),this._setReadyState(u)),this._reset()}},{key:"readyState",get:function(){return this._readyState}},{key:"error",get:function(){return this._error}},{key:"result",get:function(){return this._result}}]),babelHelpers.inherits(t,e),t})(i.apply(void 0,['abort','error','load','loadstart','loadend','progress']));l.EMPTY=o,l.LOADING=d,l.DONE=u,r.exports=l},132,[113,123,4]); +__d(function(e,t,r,o,n){'use strict';t(n[0]);var l=t(n[1]).BlobModule,s=null;l&&'string'==typeof l.BLOB_URI_SCHEME&&(s=l.BLOB_URI_SCHEME+':','string'==typeof l.BLOB_URI_HOST&&(s+="//"+l.BLOB_URI_HOST+"/"));var a=(function(){function e(){throw babelHelpers.classCallCheck(this,e),new Error('Creating URL objects is not supported yet.')}return babelHelpers.createClass(e,null,[{key:"createObjectURL",value:function(e){if(null===s)throw new Error('Cannot create URL for blob!');return""+s+e.data.blobId+"?offset="+e.data.offset+"&size="+e.size}},{key:"revokeObjectURL",value:function(e){}}]),e})();r.exports=a},133,[123,4]); +__d(function(e,a,t,l,n){'use strict';var o=a(n[0]),s=a(n[1]),r=(a(n[2]),(function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,a,t,l,n){void 0===n?o.alert(e,a,t):o.alert(e,a,t,n)}}]),e})());!(function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"alert",value:function(e,a,t,l){var n={title:e||'',message:a||''};l&&(n=babelHelpers.objectSpread({},n,{cancelable:l.cancelable}));var o=t?t.slice(0,3):[{text:'OK'}],r=o.pop(),i=o.pop(),b=o.pop();b&&(n=babelHelpers.objectSpread({},n,{buttonNeutral:b.text||''})),i&&(n=babelHelpers.objectSpread({},n,{buttonNegative:i.text||''})),r&&(n=babelHelpers.objectSpread({},n,{buttonPositive:r.text||''})),s.DialogManagerAndroid.showAlert(n,function(e){},function(e,a){e===s.DialogManagerAndroid.buttonClicked?a===s.DialogManagerAndroid.buttonNeutral?b.onPress&&b.onPress():a===s.DialogManagerAndroid.buttonNegative?i.onPress&&i.onPress():a===s.DialogManagerAndroid.buttonPositive&&r.onPress&&r.onPress():e===s.DialogManagerAndroid.dismissed&&l&&l.onDismiss&&l.onDismiss()})}}])})();t.exports=r},134,[135,4,12]); +__d(function(t,e,n,l,a){'use strict';var i=e(a[0]).AlertManager,r=(function(){function t(){babelHelpers.classCallCheck(this,t)}return babelHelpers.createClass(t,null,[{key:"alert",value:function(t,e,n,l){void 0===l?this.prompt(t,e,n,'default'):this.prompt(t,e,n,l)}},{key:"prompt",value:function(t,e,n){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:'plain-text',a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0;if('function'!=typeof l){var o,s,u=[],c=[];'function'==typeof n?u=[n]:n instanceof Array&&n.forEach(function(t,e){if(u[e]=t.onPress,'cancel'===t.style?o=String(e):'destructive'===t.style&&(s=String(e)),t.text||e<(n||[]).length-1){var l={};l[e]=t.text||'',c.push(l)}}),i.alertWithArgs({title:t||'',message:e||void 0,buttons:c,type:l||void 0,defaultValue:a,cancelButtonKey:o,destructiveButtonKey:s,keyboardType:r},function(t,e){var n=u[t];n&&n(e)})}else{var f=l;i.alertWithArgs({title:t||'',type:'plain-text',defaultValue:e},function(t,e){f(e)})}}}]),t})();n.exports=r},135,[4]); +__d(function(e,t,n,r,o){'use strict';var i=t(o[0]),s=t(o[1]).LocationObserver,a=t(o[2]),u=t(o[3]),c=t(o[4]),v=new i(s),f=(t(o[5]),t(o[6])),g=[],l=!1,h={setRNConfiguration:function(e){s.setConfiguration&&s.setConfiguration(e)},requestAuthorization:function(){s.requestAuthorization()},getCurrentPosition:function(e,t,n){var r,o;return regeneratorRuntime.async(function(i){for(;;)switch(i.prev=i.next){case 0:a('function'==typeof e,'Must provide a valid geo_success callback.'),r=!0,i.next=11;break;case 5:if(r=i.sent){i.next=11;break}return i.next=9,regeneratorRuntime.awrap(f.request(f.PERMISSIONS.ACCESS_FINE_LOCATION));case 9:o=i.sent,r=o===f.RESULTS.GRANTED;case 11:r&&s.getCurrentPosition(n||{},e,t||u);case 12:case"end":return i.stop()}},null,this)},watchPosition:function(e,t,n){l||(s.startObserving(n||{}),l=!0);var r=g.length;return g.push([v.addListener('geolocationDidChange',e),t?v.addListener('geolocationError',t):null]),r},clearWatch:function(e){var t=g[e];if(t){t[0].remove();var n=t[1];n&&n.remove(),g[e]=void 0;for(var r=!0,o=0;o1?r-1:0),t=1;t1?n-1:0),e=1;e2&&void 0!==arguments[2]?arguments[2]:-1;if(0===e)return!0;if(t===n)return!1;if('function'==typeof t&&'function'==typeof n)return!1;if('object'!=typeof t||null===t)return t!==n;if('object'!=typeof n||null===n)return!0;if(t.constructor!==n.constructor)return!0;if(Array.isArray(t)){var f=t.length;if(n.length!==f)return!0;for(var i=0;i0,u=n&&n.length>0;return!c&&u?n[0]:c?e[0]:t}}},151,[]); +__d(function(n,e,r,t,u){"use strict";r.exports=function(n){if(null!=n)return n;throw new Error("Got unexpected null or undefined")}},152,[]); +__d(function(e,r,t,n,o){'use strict';var l=r(o[0]),a=r(o[1]),i=r(o[2]),s=r(o[3]),c=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){return l.createElement(s,{style:[u.container,this.props.style]},l.createElement(i,{style:u.info},"TouchableNativeFeedback is not supported on this platform!"))}}]),babelHelpers.inherits(r,e),r})(l.Component);c.SelectableBackground=function(){return{}},c.SelectableBackgroundBorderless=function(){return{}},c.Ripple=function(){return{}},c.canUseNativeForeground=function(){return!1};var u=a.create({container:{height:100,width:300,backgroundColor:'#ffbcbc',borderWidth:1,borderColor:'red',alignItems:'center',justifyContent:'center',margin:10},info:{color:'#333333',margin:20}});t.exports=c},153,[30,37,86,63]); +__d(function(t,e,s,i,o){'use strict';var n=e(o[0]),r=e(o[1]),a=e(o[2]),p=e(o[3]),c=e(o[4]),l=e(o[5]),h=e(o[6]),u=e(o[7]),d=e(o[8]),y=e(o[9]),b=e(o[10]),f={top:20,left:20,right:20,bottom:30},P=d({displayName:'TouchableOpacity',mixins:[l,h.Mixin,a],propTypes:babelHelpers.objectSpread({},u.propTypes,{activeOpacity:c.number,hasTVPreferredFocus:c.bool,tvParallaxProperties:c.object}),getDefaultProps:function(){return{activeOpacity:.2}},getInitialState:function(){return babelHelpers.objectSpread({},this.touchableGetInitialState(),{anim:new n.Value(this._getChildStyleOpacityWithDefault())})},componentDidMount:function(){y(this.props)},UNSAFE_componentWillReceiveProps:function(t){y(t)},componentDidUpdate:function(t,e){this.props.disabled!==t.disabled&&this._opacityInactive(250)},setOpacityTo:function(t,e){n.timing(this.state.anim,{toValue:t,duration:e,easing:r.inOut(r.quad),useNativeDriver:!0}).start()},touchableHandleActivePressIn:function(t){'onResponderGrant'===t.dispatchConfig.registrationName?this._opacityActive(0):this._opacityActive(150),this.props.onPressIn&&this.props.onPressIn(t)},touchableHandleActivePressOut:function(t){this._opacityInactive(250),this.props.onPressOut&&this.props.onPressOut(t)},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||f},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_opacityActive:function(t){this.setOpacityTo(this.props.activeOpacity,t)},_opacityInactive:function(t){this.setOpacityTo(this._getChildStyleOpacityWithDefault(),t)},_getChildStyleOpacityWithDefault:function(){var t=b(this.props.style)||{};return void 0==t.opacity?1:t.opacity},render:function(){return p.createElement(n.View,{accessible:!1!==this.props.accessible,accessibilityLabel:this.props.accessibilityLabel,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,style:[this.props.style,{opacity:this.state.anim}],nativeID:this.props.nativeID,testID:this.props.testID,onLayout:this.props.onLayout,isTVSelectable:!0,hasTVPreferredFocus:this.props.hasTVPreferredFocus,tvParallaxProperties:this.props.tvParallaxProperties,hitSlop:this.props.hitSlop,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate},this.props.children,h.renderDebugView({color:'cyan',hitSlop:this.props.hitSlop}))}});s.exports=P},154,[155,181,187,30,48,205,91,206,188,207,62]); +__d(function(e,t,n,a,o){'use strict';var m=t(o[0]),r=t(o[1]),i=t(o[2]),c=t(o[3]),d=t(o[4]),p={View:m.createAnimatedComponent(d),Text:m.createAnimatedComponent(c),Image:m.createAnimatedComponent(r),ScrollView:m.createAnimatedComponent(i)};babelHelpers.extends(p,m),n.exports=p},155,[156,184,190,86,63]); +__d(function(n,t,e,i,r){'use strict';var o=t(r[0]),a=o.AnimatedEvent,u=o.attachNativeEvent,s=t(r[1]),c=t(r[2]),f=t(r[3]),v=t(r[4]),p=t(r[5]),l=t(r[6]),d=t(r[7]),g=t(r[8]),h=t(r[9]),m=t(r[10]),_=t(r[11]),N=t(r[12]),w=t(r[13]),b=t(r[14]),y=t(r[15]),E=t(r[16]),L=function(n,t){return n&&t.onComplete?function(){t.onComplete&&t.onComplete.apply(t,arguments),n&&n.apply(void 0,arguments)}:n||t.onComplete},A=function(n,t,e){if(n instanceof N){var i=babelHelpers.objectSpread({},t),r=babelHelpers.objectSpread({},t);for(var o in t){var a=t[o],u=a.x,s=a.y;void 0!==u&&void 0!==s&&(i[o]=u,r[o]=s)}var c=e(n.x,i),f=e(n.y,r);return U([c,f],{stopTogether:!1})}return null},D=function n(t,e){var i=function(n,t,e){e=L(e,t);var i=n,r=t;i.stopTracking(),t.toValue instanceof d?i.track(new m(i,t.toValue,y,r,e)):i.animate(new y(r),e)};return A(t,e,n)||{start:(function(n){function t(t){return n.apply(this,arguments)}return t.toString=function(){return n.toString()},t})(function(n){i(t,e,n)}),stop:function(){t.stopAnimation()},reset:function(){t.resetAnimation()},_startNativeLoop:function(n){var r=babelHelpers.objectSpread({},e,{iterations:n});i(t,r)},_isUsingNativeDriver:function(){return e.useNativeDriver||!1}}},S=function(n){var t=0;return{start:function(e){0===n.length?e&&e({finished:!0}):n[t].start(function i(r){r.finished&&++t!==n.length?n[t].start(i):e&&e(r)})},stop:function(){t1&&void 0!==arguments[1]?arguments[1]:{}).iterations,e=void 0===t?-1:t,i=!1,r=0;return{start:function(t){n&&0!==e?n._isUsingNativeDriver()?n._startNativeLoop(e):(function o(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{finished:!0};i||r===e||!1===a.finished?t&&t(a):(r++,n.reset(),n.start(o))})():t&&t({finished:!0})},stop:function(){i=!0,n.stop()},reset:function(){r=0,i=!1,n.reset()},_startNativeLoop:function(){throw new Error('Loops run using the native driver cannot contain Animated.loop animations')},_isUsingNativeDriver:function(){return n._isUsingNativeDriver()}}},event:function(n,t){var e=new a(n,t);return e.__isNative?e:e.__getHandler()},createAnimatedComponent:E,attachNativeEvent:u,forkEvent:function(n,t){return n?n instanceof a?(n.__addListener(t),n):function(){'function'==typeof n&&n.apply(void 0,arguments),t.apply(void 0,arguments)}:t},unforkEvent:function(n,t){n&&n instanceof a&&n.__removeListener(t)},__PropsOnlyForTests:g}},156,[157,165,166,167,159,168,169,160,170,173,174,158,175,176,178,180,183]); +__d(function(e,t,n,i,a){'use strict';var s=t(a[0]),r=t(a[1]),v=t(a[2]),l=t(a[3]),c=t(a[1]).shouldUseNativeDriver;function o(e,t,n){var i=[];l(n[0]&&n[0].nativeEvent,'Native driven events only support animated values contained inside `nativeEvent`.'),(function e(t,n){if(t instanceof s)t.__makeNative(),i.push({nativeEventPath:n,animatedValueTag:t.__getNativeTag()});else if('object'==typeof t)for(var a in t)e(t[a],n.concat(a))})(n[0].nativeEvent,[]);var a=v.findNodeHandle(e);return i.forEach(function(e){r.API.addAnimatedEventToView(a,t,e)}),{detach:function(){i.forEach(function(e){r.API.removeAnimatedEventFromView(a,t,e.animatedValueTag)})}}}var _=(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};babelHelpers.classCallCheck(this,e),this._listeners=[],this._argMapping=t,n.listener&&this.__addListener(n.listener),this._callListeners=this._callListeners.bind(this),this._attachedEvent=null,this.__isNative=c(n)}return babelHelpers.createClass(e,[{key:"__addListener",value:function(e){this._listeners.push(e)}},{key:"__removeListener",value:function(e){this._listeners=this._listeners.filter(function(t){return t!==e})}},{key:"__attach",value:function(e,t){l(this.__isNative,'Only native driven events need to be attached.'),this._attachedEvent=o(e,t,this._argMapping)}},{key:"__detach",value:function(e,t){l(this.__isNative,'Only native driven events need to be detached.'),this._attachedEvent&&this._attachedEvent.detach()}},{key:"__getHandler",value:function(){var e=this;return this.__isNative?this._callListeners:function(){for(var t=arguments.length,n=new Array(t),i=0;in){if('identity'===u)return l;'clamp'===u&&(l=n)}return a===r?a:e===n?t<=e?a:r:(e===-1/0?l=-l:n===1/0?l-=e:l=(l-e)/(n-e),l=i(l),a===-1/0?l=-l:r===1/0?l+=a:l=l*(r-a)+a,l)}function h(t){var e=u(t);return null===e?t:"rgba("+((4278190080&(e=e||0))>>>24)+", "+((16711680&e)>>>16)+", "+((65280&e)>>>8)+", "+(255&e)/255+")"}var c=/[0-9\.-]+/g;function f(t){var e=t.outputRange;o(e.length>=2,'Bad output range'),g(e=e.map(h));var n=e[0].match(c).map(function(){return[]});e.forEach(function(t){t.match(c).forEach(function(t,e){n[e].push(+t)})});var a,r=e[0].match(c).map(function(e,a){return p(babelHelpers.objectSpread({},t,{outputRange:n[a]}))}),i='string'==typeof(a=e[0])&&a.startsWith('rgb');return function(t){var n=0;return e[0].replace(c,function(){var e=+r[n++](t),a=i&&n<4?Math.round(e):Math.round(1e3*e)/1e3;return String(a)})}}function g(t){for(var e=t[0].replace(c,''),n=1;n=t);++n);return n-1}function v(t){o(t.length>=2,'inputRange must have at least 2 elements');for(var e=1;e=t[e-1],'inputRange must be monotonically non-decreasing '+t)}function b(t,e){o(e.length>=2,t+' must have at least 2 elements'),o(2!==e.length||e[0]!==-1/0||e[1]!==1/0,t+'cannot be ]-infinity;+infinity[ '+e)}var m=(function(t){function e(t,n){var a;return babelHelpers.classCallCheck(this,e),(a=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(e).call(this)))._parent=t,a._config=n,a._interpolation=p(n),a}return babelHelpers.createClass(e,[{key:"__makeNative",value:function(){this._parent.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(e.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){var t=this._parent.__getValue();return o('number'==typeof t,'Cannot interpolate an input which is not a number.'),this._interpolation(t)}},{key:"interpolate",value:function(t){return new e(this,t)}},{key:"__attach",value:function(){this._parent.__addChild(this)}},{key:"__detach",value:function(){this._parent.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(e.prototype),"__detach",this).call(this)}},{key:"__transformDataType",value:function(t){return t.map(function(t){return'string'!=typeof t?t:/deg$/.test(t)?(parseFloat(t)||0)*Math.PI/180:parseFloat(t)||0})}},{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'}}}]),babelHelpers.inherits(e,t),e})(i);m.__createInterpolation=p,n.exports=m},159,[160,162,161,2,44]); +__d(function(e,t,a,n,i){'use strict';var _=t(i[0]),o=t(i[1]),u=(function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,[{key:"__attach",value:function(){}},{key:"__detach",value:function(){this.__isNative&&null!=this.__nativeTag&&(_.API.dropAnimatedNode(this.__nativeTag),this.__nativeTag=void 0)}},{key:"__getValue",value:function(){}},{key:"__getAnimatedValue",value:function(){return this.__getValue()}},{key:"__addChild",value:function(e){}},{key:"__removeChild",value:function(e){}},{key:"__getChildren",value:function(){return[]}},{key:"__makeNative",value:function(){if(!this.__isNative)throw new Error('This node cannot be made a "native" animated node')}},{key:"__getNativeTag",value:function(){if(_.assertNativeAnimatedModule(),o(this.__isNative,'Attempt to get native tag from node not marked as "native"'),null==this.__nativeTag){var e=_.generateNewNodeTag();_.API.createAnimatedNode(e,this.__getNativeConfig()),this.__nativeTag=e}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()}}]),e})();a.exports=u},160,[161,2]); +__d(function(t,e,n,o,i){'use strict';var a,d=e(i[0]).NativeAnimatedModule,r=e(i[1]),s=e(i[2]),u=1,c=1,m={createAnimatedNode:function(t,e){A(),d.createAnimatedNode(t,e)},startListeningToAnimatedNodeValue:function(t){A(),d.startListeningToAnimatedNodeValue(t)},stopListeningToAnimatedNodeValue:function(t){A(),d.stopListeningToAnimatedNodeValue(t)},connectAnimatedNodes:function(t,e){A(),d.connectAnimatedNodes(t,e)},disconnectAnimatedNodes:function(t,e){A(),d.disconnectAnimatedNodes(t,e)},startAnimatingNode:function(t,e,n,o){A(),d.startAnimatingNode(t,e,n,o)},stopAnimation:function(t){A(),d.stopAnimation(t)},setAnimatedNodeValue:function(t,e){A(),d.setAnimatedNodeValue(t,e)},setAnimatedNodeOffset:function(t,e){A(),d.setAnimatedNodeOffset(t,e)},flattenAnimatedNodeOffset:function(t){A(),d.flattenAnimatedNodeOffset(t)},extractAnimatedNodeOffset:function(t){A(),d.extractAnimatedNodeOffset(t)},connectAnimatedNodeToView:function(t,e){A(),d.connectAnimatedNodeToView(t,e)},disconnectAnimatedNodeFromView:function(t,e){A(),d.disconnectAnimatedNodeFromView(t,e)},dropAnimatedNode:function(t){A(),d.dropAnimatedNode(t)},addAnimatedEventToView:function(t,e,n){A(),d.addAnimatedEventToView(t,e,n)},removeAnimatedEventFromView:function(t,e,n){A(),d.removeAnimatedEventFromView(t,e,n)}},f={opacity:!0,transform:!0,borderRadius:!0,borderBottomEndRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderBottomStartRadius:!0,borderTopEndRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderTopStartRadius:!0,shadowOpacity:!0,shadowRadius:!0,scaleX:!0,scaleY:!0,translateX:!0,translateY:!0},p={translateX:!0,translateY:!0,scale:!0,scaleX:!0,scaleY:!0,rotate:!0,rotateX:!0,rotateY:!0,perspective:!0},l={inputRange:!0,outputRange:!0,extrapolate:!0,extrapolateRight:!0,extrapolateLeft:!0};function A(){s(d,'Native animated module is not available')}var N=!1;n.exports={API:m,addWhitelistedStyleProp:function(t){f[t]=!0},addWhitelistedTransformProp:function(t){p[t]=!0},addWhitelistedInterpolationParam:function(t){l[t]=!0},validateStyles:function(t){for(var e in t)if(!f.hasOwnProperty(e))throw new Error("Style property '"+e+"' is not supported by native animated module")},validateTransform:function(t){t.forEach(function(t){if(!p.hasOwnProperty(t.property))throw new Error("Property '"+t.property+"' is not supported by native animated module")})},validateInterpolation:function(t){for(var e in t)if(!l.hasOwnProperty(e))throw new Error("Interpolation property '"+e+"' is not supported by native animated module")},generateNewNodeTag:function(){return u++},generateNewAnimationId:function(){return c++},assertNativeAnimatedModule:A,shouldUseNativeDriver:function(t){return t.useNativeDriver&&!d?(N||(N=!0),!1):t.useNativeDriver||!1},get nativeEventEmitter(){return a||(a=new r(d)),a}}},161,[4,119,2]); +__d(function(e,t,i,a,s){'use strict';var _=t(s[0]),n=t(s[1]),r=(function(e){function t(){var e;return babelHelpers.classCallCheck(this,t),(e=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._children=[],e}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){if(!this.__isNative){this.__isNative=!0;var e=this._children,t=Array.isArray(e),i=0;for(e=t?e:e["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var a;if(t){if(i>=e.length)break;a=e[i++]}else{if((i=e.next()).done)break;a=i.value}var s=a;s.__makeNative(),n.API.connectAnimatedNodes(this.__getNativeTag(),s.__getNativeTag())}}}},{key:"__addChild",value:function(e){0===this._children.length&&this.__attach(),this._children.push(e),this.__isNative&&(e.__makeNative(),n.API.connectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()))}},{key:"__removeChild",value:function(e){var t=this._children.indexOf(e);-1!==t&&(this.__isNative&&e.__isNative&&n.API.disconnectAnimatedNodes(this.__getNativeTag(),e.__getNativeTag()),this._children.splice(t,1),0===this._children.length&&this.__detach())}},{key:"__getChildren",value:function(){return this._children}}]),babelHelpers.inherits(t,e),t})(_);i.exports=r},162,[160,161]); +__d(function(e,n,t,r,a){'use strict';var i=n(a[0]),o=n(a[1]),c=n(a[2]),s=n(a[3]),u=(n(a[4]),n(a[5])),d=n(a[6]),f=new o,l={Events:d({interactionStart:!0,interactionComplete:!0}),runAfterInteractions:function(e){var n=[],t=new Promise(function(t){k(),e&&n.push(e),n.push({run:t,name:'resolve '+(e&&e.name||'?')}),h.enqueueTasks(n)});return{then:t.then.bind(t),done:function(){if(t.done)return t.done.apply(t,arguments)},cancel:function(){h.cancelTasks(n)}}},createInteractionHandle:function(){k();var e=++w;return v.add(e),e},clearInteractionHandle:function(e){u(!!e,'Must provide a handle to clear.'),k(),v.delete(e),p.add(e)},addListener:f.addListener.bind(f),setDeadline:function(e){E=e}},m=new c,v=new c,p=new c,h=new s({onMoreTasks:k}),T=0,w=0,E=-1;function k(){T||(T=E>0?setTimeout(I,0):setImmediate(I))}function I(){T=0;var e=m.size;v.forEach(function(e){return m.add(e)}),p.forEach(function(e){return m.delete(e)});var n=m.size;if(0!==e&&0===n?f.emit(l.Events.interactionComplete):0===e&&0!==n&&f.emit(l.Events.interactionStart),0===n)for(;h.hasTasksToProcess();)if(h.processNext(),E>0&&i.getEventLoopRunningTime()>=E){k();break}v.clear(),p.clear()}t.exports=l},163,[5,25,104,164,144,2,46]); +__d(function(e,t,s,u,n){'use strict';t(n[0]);var a=t(n[1]),r=(function(){function e(t){var s=t.onMoreTasks;babelHelpers.classCallCheck(this,e),this._onMoreTasks=s,this._queueStack=[{tasks:[],popable:!1}]}return babelHelpers.createClass(e,[{key:"enqueue",value:function(e){this._getCurrentQueue().push(e)}},{key:"enqueueTasks",value:function(e){var t=this;e.forEach(function(e){return t.enqueue(e)})}},{key:"cancelTasks",value:function(e){this._queueStack=this._queueStack.map(function(t){return babelHelpers.objectSpread({},t,{tasks:t.tasks.filter(function(t){return-1===e.indexOf(t)})})}).filter(function(e,t){return e.tasks.length>0||0===t})}},{key:"hasTasksToProcess",value:function(){return this._getCurrentQueue().length>0}},{key:"processNext",value:function(){var e=this._getCurrentQueue();if(e.length){var t=e.shift();try{t.gen?this._genPromise(t):t.run?t.run():(a('function'==typeof t,'Expected Function, SimpleTask, or PromiseTask, but got:\n'+JSON.stringify(t,null,2)),t())}catch(e){throw e.message='TaskQueue: Error with task '+(t.name||'')+': '+e.message,e}}}},{key:"_getCurrentQueue",value:function(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&this._queueStack.length>1?(this._queueStack.pop(),this._getCurrentQueue()):t.tasks}},{key:"_genPromise",value:function(e){var t=this;this._queueStack.push({tasks:[],popable:!1});var s=this._queueStack.length-1;e.gen().then(function(){t._queueStack[s].popable=!0,t.hasTasksToProcess()&&t._onMoreTasks()}).catch(function(t){throw t.message="TaskQueue: Error resolving Promise in task "+e.name+": "+t.message,t}).done()}}]),e})();s.exports=r},164,[144,2]); +__d(function(e,t,a,i,_){'use strict';var l=t(_[0]),s=(t(_[1]),t(_[2])),r=(function(e){function t(e,a){var i;return babelHelpers.classCallCheck(this,t),(i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._a='number'==typeof e?new s(e):e,i._b='number'==typeof a?new s(a):a,i}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return this._a.__getValue()+this._b.__getValue()}},{key:"interpolate",value:function(e){return new l(this,e)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'addition',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),babelHelpers.inherits(t,e),t})(t(_[3]));a.exports=r},165,[159,160,158,162]); +__d(function(e,t,a,i,l){'use strict';var _=t(l[0]),s=(t(l[1]),(function(e){function t(e,a,i){var l;return babelHelpers.classCallCheck(this,t),(l=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._a=e,l._min=a,l._max=i,l._value=l._lastValue=l._a.__getValue(),l}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this._a.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this)}},{key:"interpolate",value:function(e){return new _(this,e)}},{key:"__getValue",value:function(){var e=this._a.__getValue(),t=e-this._lastValue;return this._lastValue=e,this._value=Math.min(Math.max(this._value+t,this._min),this._max),this._value}},{key:"__attach",value:function(){this._a.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'diffclamp',input:this._a.__getNativeTag(),min:this._min,max:this._max}}}]),babelHelpers.inherits(t,e),t})(t(l[2])));a.exports=s},166,[159,160,162]); +__d(function(e,t,a,i,_){'use strict';var l=t(_[0]),s=(t(_[1]),t(_[2])),r=(function(e){function t(e,a){var i;return babelHelpers.classCallCheck(this,t),(i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._a='number'==typeof e?new s(e):e,i._b='number'==typeof a?new s(a):a,i}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){var e=this._a.__getValue(),t=this._b.__getValue();return e/t}},{key:"interpolate",value:function(e){return new l(this,e)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'division',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),babelHelpers.inherits(t,e),t})(t(_[3]));a.exports=r},167,[159,160,158,162]); +__d(function(e,t,a,l,s){'use strict';var i=t(s[0]),u=(t(s[1]),(function(e){function t(e,a){var l;return babelHelpers.classCallCheck(this,t),(l=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._a=e,l._modulus=a,l}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this._a.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus}},{key:"interpolate",value:function(e){return new i(this,e)}},{key:"__attach",value:function(){this._a.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'modulus',input:this._a.__getNativeTag(),modulus:this._modulus}}}]),babelHelpers.inherits(t,e),t})(t(s[2])));a.exports=u},168,[159,160,162]); +__d(function(e,t,a,i,_){'use strict';var l=t(_[0]),s=(t(_[1]),t(_[2])),r=(function(e){function t(e,a){var i;return babelHelpers.classCallCheck(this,t),(i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._a='number'==typeof e?new s(e):e,i._b='number'==typeof a?new s(a):a,i}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return this._a.__getValue()*this._b.__getValue()}},{key:"interpolate",value:function(e){return new l(this,e)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'multiplication',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),babelHelpers.inherits(t,e),t})(t(_[3]));a.exports=r},169,[159,160,158,162]); +__d(function(e,t,i,a,n){'use strict';var s=t(n[0]).AnimatedEvent,_=t(n[1]),o=t(n[2]),r=t(n[3]),l=t(n[4]),c=t(n[5]),v=(function(e){function t(e,i){var a;return babelHelpers.classCallCheck(this,t),a=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)),e.style&&(e=babelHelpers.objectSpread({},e,{style:new o(e.style)})),a._props=e,a._callback=i,a.__attach(),a}return babelHelpers.createClass(t,[{key:"__getValue",value:function(){var e={};for(var t in this._props){var i=this._props[t];i instanceof _?(!i.__isNative||i instanceof o)&&(e[t]=i.__getValue()):e[t]=i instanceof s?i.__getHandler():i}return e}},{key:"__getAnimatedValue",value:function(){var e={};for(var t in this._props){var i=this._props[t];i instanceof _&&(e[t]=i.__getAnimatedValue())}return e}},{key:"__attach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof _&&t.__addChild(this)}}},{key:"__detach",value:function(){for(var e in this.__isNative&&this._animatedView&&this.__disconnectAnimatedView(),this._props){var i=this._props[e];i instanceof _&&i.__removeChild(this)}babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"update",value:function(){this._callback()}},{key:"__makeNative",value:function(){if(!this.__isNative){for(var e in this.__isNative=!0,this._props){var t=this._props[e];t instanceof _&&t.__makeNative()}this._animatedView&&this.__connectAnimatedView()}}},{key:"setNativeView",value:function(e){this._animatedView!==e&&(this._animatedView=e,this.__isNative&&this.__connectAnimatedView())}},{key:"__connectAnimatedView",value:function(){c(this.__isNative,'Expected node to be marked as "native"');var e=l.findNodeHandle(this._animatedView);c(null!=e,'Unable to locate attached view in the native tree'),r.API.connectAnimatedNodeToView(this.__getNativeTag(),e)}},{key:"__disconnectAnimatedView",value:function(){c(this.__isNative,'Expected node to be marked as "native"');var e=l.findNodeHandle(this._animatedView);c(null!=e,'Unable to locate attached view in the native tree'),r.API.disconnectAnimatedNodeFromView(this.__getNativeTag(),e)}},{key:"__getNativeConfig",value:function(){var e={};for(var t in this._props){var i=this._props[t];i instanceof _&&(e[t]=i.__getNativeTag())}return{type:'props',props:e}}}]),babelHelpers.inherits(t,e),t})(_);i.exports=v},170,[157,160,171,161,95,2]); +__d(function(e,t,a,l,s){'use strict';var r=t(s[0]),i=t(s[1]),n=t(s[2]),_=t(s[3]),o=t(s[4]),y=(function(e){function t(e){var a;return babelHelpers.classCallCheck(this,t),a=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)),(e=o(e)||{}).transform&&(e=babelHelpers.objectSpread({},e,{transform:new i(e.transform)})),a._style=e,a}return babelHelpers.createClass(t,[{key:"_walkStyleAndGetValues",value:function(e){var t={};for(var a in e){var l=e[a];l instanceof r?l.__isNative||(t[a]=l.__getValue()):l&&!Array.isArray(l)&&'object'==typeof l?t[a]=this._walkStyleAndGetValues(l):t[a]=l}return t}},{key:"__getValue",value:function(){return this._walkStyleAndGetValues(this._style)}},{key:"_walkStyleAndGetAnimatedValues",value:function(e){var t={};for(var a in e){var l=e[a];l instanceof r?t[a]=l.__getAnimatedValue():l&&!Array.isArray(l)&&'object'==typeof l&&(t[a]=this._walkStyleAndGetAnimatedValues(l))}return t}},{key:"__getAnimatedValue",value:function(){return this._walkStyleAndGetAnimatedValues(this._style)}},{key:"__attach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof r&&t.__addChild(this)}}},{key:"__detach",value:function(){for(var e in this._style){var a=this._style[e];a instanceof r&&a.__removeChild(this)}babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__makeNative",value:function(){for(var e in babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this),this._style){var a=this._style[e];a instanceof r&&a.__makeNative()}}},{key:"__getNativeConfig",value:function(){var e={};for(var t in this._style)this._style[t]instanceof r&&(e[t]=this._style[t].__getNativeTag());return _.validateStyles(e),{type:'style',style:e}}}]),babelHelpers.inherits(t,e),t})(n);a.exports=y},171,[160,172,162,161,62]); +__d(function(e,t,a,r,n){'use strict';var s=t(n[0]),o=t(n[1]),i=t(n[2]),f=(function(e){function t(e){var a;return babelHelpers.classCallCheck(this,t),(a=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._transforms=e,a}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this),this._transforms.forEach(function(e){for(var t in e){var a=e[t];a instanceof s&&a.__makeNative()}})}},{key:"__getValue",value:function(){return this._transforms.map(function(e){var t={};for(var a in e){var r=e[a];t[a]=r instanceof s?r.__getValue():r}return t})}},{key:"__getAnimatedValue",value:function(){return this._transforms.map(function(e){var t={};for(var a in e){var r=e[a];t[a]=r instanceof s?r.__getAnimatedValue():r}return t})}},{key:"__attach",value:function(){var e=this;this._transforms.forEach(function(t){for(var a in t){var r=t[a];r instanceof s&&r.__addChild(e)}})}},{key:"__detach",value:function(){var e=this;this._transforms.forEach(function(t){for(var a in t){var r=t[a];r instanceof s&&r.__removeChild(e)}}),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){var e=[];return this._transforms.forEach(function(t){for(var a in t){var r=t[a];r instanceof s?e.push({type:'animated',property:a,nodeTag:r.__getNativeTag()}):e.push({type:'static',property:a,value:r})}}),i.validateTransform(e),{type:'transform',transforms:e}}}]),babelHelpers.inherits(t,e),t})(o);a.exports=f},172,[160,162,161]); +__d(function(e,t,a,i,_){'use strict';var l=t(_[0]),s=(t(_[1]),t(_[2])),r=(function(e){function t(e,a){var i;return babelHelpers.classCallCheck(this,t),(i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._a='number'==typeof e?new s(e):e,i._b='number'==typeof a?new s(a):a,i}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this._a.__makeNative(),this._b.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this)}},{key:"__getValue",value:function(){return this._a.__getValue()-this._b.__getValue()}},{key:"interpolate",value:function(e){return new l(this,e)}},{key:"__attach",value:function(){this._a.__addChild(this),this._b.__addChild(this)}},{key:"__detach",value:function(){this._a.__removeChild(this),this._b.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"__getNativeConfig",value:function(){return{type:'subtraction',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]}}}]),babelHelpers.inherits(t,e),t})(t(_[3]));a.exports=r},173,[159,160,158,162]); +__d(function(e,t,a,i,n){'use strict';t(n[0]);var l=t(n[1]),_=t(n[2]),s=_.generateNewAnimationId,r=_.shouldUseNativeDriver,o=(function(e){function t(e,a,i,n,l){var _;return babelHelpers.classCallCheck(this,t),(_=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._value=e,_._parent=a,_._animationClass=i,_._animationConfig=n,_._useNativeDriver=r(n),_._callback=l,_.__attach(),_}return babelHelpers.createClass(t,[{key:"__makeNative",value:function(){this.__isNative=!0,this._parent.__makeNative(),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__makeNative",this).call(this),this._value.__makeNative()}},{key:"__getValue",value:function(){return this._parent.__getValue()}},{key:"__attach",value:function(){this._parent.__addChild(this),this._useNativeDriver&&this.__makeNative()}},{key:"__detach",value:function(){this._parent.__removeChild(this),babelHelpers.get(babelHelpers.getPrototypeOf(t.prototype),"__detach",this).call(this)}},{key:"update",value:function(){this._value.animate(new this._animationClass(babelHelpers.objectSpread({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}},{key:"__getNativeConfig",value:function(){var e=new this._animationClass(babelHelpers.objectSpread({},this._animationConfig,{toValue:void 0})).__getNativeAnimationConfig();return{type:'tracking',animationId:s(),animationConfig:e,toValue:this._parent.__getNativeTag(),value:this._value.__getNativeTag()}}}]),babelHelpers.inherits(t,e),t})(l);a.exports=o},174,[158,160,161]); +__d(function(e,t,s,i,n){'use strict';var a=t(n[0]),r=t(n[1]),l=t(n[2]),u=1,o=(function(e){function t(e){var s;babelHelpers.classCallCheck(this,t),s=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this));var i=e||{x:0,y:0};return'number'==typeof i.x&&'number'==typeof i.y?(s.x=new a(i.x),s.y=new a(i.y)):(l(i.x instanceof a&&i.y instanceof a,"AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."),s.x=i.x,s.y=i.y),s._listeners={},s}return babelHelpers.createClass(t,[{key:"setValue",value:function(e){this.x.setValue(e.x),this.y.setValue(e.y)}},{key:"setOffset",value:function(e){this.x.setOffset(e.x),this.y.setOffset(e.y)}},{key:"flattenOffset",value:function(){this.x.flattenOffset(),this.y.flattenOffset()}},{key:"extractOffset",value:function(){this.x.extractOffset(),this.y.extractOffset()}},{key:"__getValue",value:function(){return{x:this.x.__getValue(),y:this.y.__getValue()}}},{key:"resetAnimation",value:function(e){this.x.resetAnimation(),this.y.resetAnimation(),e&&e(this.__getValue())}},{key:"stopAnimation",value:function(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}},{key:"addListener",value:function(e){var t=this,s=String(u++),i=function(s){s.value;e(t.__getValue())};return this._listeners[s]={x:this.x.addListener(i),y:this.y.addListener(i)},s}},{key:"removeListener",value:function(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}},{key:"removeAllListeners",value:function(){this.x.removeAllListeners(),this.y.removeAllListeners(),this._listeners={}}},{key:"getLayout",value:function(){return{left:this.x,top:this.y}}},{key:"getTranslateTransform",value:function(){return[{translateX:this.x},{translateY:this.y}]}}]),babelHelpers.inherits(t,e),t})(r);s.exports=o},175,[158,162,2]); +__d(function(t,e,i,a,s){'use strict';var n=e(s[0]),o=e(s[1]).shouldUseNativeDriver,r=(function(e){function i(t){var e;return babelHelpers.classCallCheck(this,i),(e=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(i).call(this)))._deceleration=void 0!==t.deceleration?t.deceleration:.998,e._velocity=t.velocity,e._useNativeDriver=o(t),e.__isInteraction=void 0===t.isInteraction||t.isInteraction,e.__iterations=void 0!==t.iterations?t.iterations:1,e}return babelHelpers.createClass(i,[{key:"__getNativeAnimationConfig",value:function(){return{type:'decay',deceleration:this._deceleration,velocity:this._velocity,iterations:this.__iterations}}},{key:"start",value:function(t,e,i,a,s){this.__active=!0,this._lastValue=t,this._fromValue=t,this._onUpdate=e,this.__onEnd=i,this._startTime=Date.now(),this._useNativeDriver?this.__startNativeAnimation(s):this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))}},{key:"onUpdate",value:function(){var t=Date.now(),e=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(t-this._startTime)));this._onUpdate(e),Math.abs(this._lastValue-e)<.1?this.__debouncedOnEnd({finished:!0}):(this._lastValue=e,this.__active&&(this._animationFrame=requestAnimationFrame(this.onUpdate.bind(this))))}},{key:"stop",value:function(){babelHelpers.get(babelHelpers.getPrototypeOf(i.prototype),"stop",this).call(this),this.__active=!1,t.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),babelHelpers.inherits(i,e),i})(n);i.exports=r},176,[177,161]); +__d(function(t,n,e,i,a){'use strict';var o=n(a[0]),_=(function(){function t(){babelHelpers.classCallCheck(this,t)}return babelHelpers.createClass(t,[{key:"start",value:function(t,n,e,i,a){}},{key:"stop",value:function(){this.__nativeId&&o.API.stopAnimation(this.__nativeId)}},{key:"__getNativeAnimationConfig",value:function(){throw new Error('This animation type cannot be offloaded to native')}},{key:"__debouncedOnEnd",value:function(t){var n=this.__onEnd;this.__onEnd=null,n&&n(t)}},{key:"__startNativeAnimation",value:function(t){t.__makeNative(),this.__nativeId=o.generateNewAnimationId(),o.API.startAnimatingNode(this.__nativeId,t.__getNativeTag(),this.__getNativeAnimationConfig(),this.__debouncedOnEnd.bind(this))}}]),t})();e.exports=_},177,[161]); +__d(function(t,s,i,e,a){'use strict';s(a[0]),s(a[1]);var n=s(a[2]),o=s(a[3]),h=s(a[4]),l=s(a[5]).shouldUseNativeDriver;function r(t,s){return void 0===t||null===t?s:t}var _=(function(s){function i(t){var s;if(babelHelpers.classCallCheck(this,i),(s=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(i).call(this)))._overshootClamping=r(t.overshootClamping,!1),s._restDisplacementThreshold=r(t.restDisplacementThreshold,.001),s._restSpeedThreshold=r(t.restSpeedThreshold,.001),s._initialVelocity=r(t.velocity,0),s._lastVelocity=r(t.velocity,0),s._toValue=t.toValue,s._delay=r(t.delay,0),s._useNativeDriver=l(t),s.__isInteraction=void 0===t.isInteraction||t.isInteraction,s.__iterations=void 0!==t.iterations?t.iterations:1,void 0!==t.stiffness||void 0!==t.damping||void 0!==t.mass)h(void 0===t.bounciness&&void 0===t.speed&&void 0===t.tension&&void 0===t.friction,'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one'),s._stiffness=r(t.stiffness,100),s._damping=r(t.damping,10),s._mass=r(t.mass,1);else if(void 0!==t.bounciness||void 0!==t.speed){h(void 0===t.tension&&void 0===t.friction&&void 0===t.stiffness&&void 0===t.damping&&void 0===t.mass,'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one');var e=o.fromBouncinessAndSpeed(r(t.bounciness,8),r(t.speed,12));s._stiffness=e.stiffness,s._damping=e.damping,s._mass=1}else{var a=o.fromOrigamiTensionAndFriction(r(t.tension,40),r(t.friction,7));s._stiffness=a.stiffness,s._damping=a.damping,s._mass=1}return h(s._stiffness>0,'Stiffness value must be greater than 0'),h(s._damping>0,'Damping value must be greater than 0'),h(s._mass>0,'Mass value must be greater than 0'),s}return babelHelpers.createClass(i,[{key:"__getNativeAnimationConfig",value:function(){return{type:'spring',overshootClamping:this._overshootClamping,restDisplacementThreshold:this._restDisplacementThreshold,restSpeedThreshold:this._restSpeedThreshold,stiffness:this._stiffness,damping:this._damping,mass:this._mass,initialVelocity:r(this._initialVelocity,this._lastVelocity),toValue:this._toValue,iterations:this.__iterations}}},{key:"start",value:function(t,s,e,a,n){var o=this;if(this.__active=!0,this._startPosition=t,this._lastPosition=this._startPosition,this._onUpdate=s,this.__onEnd=e,this._lastTime=Date.now(),this._frameTime=0,a instanceof i){var h=a.getInternalState();this._lastPosition=h.lastPosition,this._lastVelocity=h.lastVelocity,this._initialVelocity=this._lastVelocity,this._lastTime=h.lastTime}var l=function(){o._useNativeDriver?o.__startNativeAnimation(n):o.onUpdate()};this._delay?this._timeout=setTimeout(l,this._delay):l()}},{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 i=this._damping,e=this._mass,a=this._stiffness,n=-this._initialVelocity,o=i/(2*Math.sqrt(a*e)),h=Math.sqrt(a/e),l=h*Math.sqrt(1-o*o),r=this._toValue-this._startPosition,_=0,d=0,m=this._frameTime;if(o<1){var f=Math.exp(-o*h*m);_=this._toValue-f*((n+o*h*r)/l*Math.sin(l*m)+r*Math.cos(l*m)),d=o*h*f*(Math.sin(l*m)*(n+o*h*r)/l+r*Math.cos(l*m))-f*(Math.cos(l*m)*(n+o*h*r)-l*r*Math.sin(l*m))}else{var c=Math.exp(-h*m);_=this._toValue-c*(r+(n+h*r)*m),d=c*(n*(m*h-1)+m*r*(h*h))}if(this._lastTime=t,this._lastPosition=_,this._lastVelocity=d,this._onUpdate(_),this.__active){var u=!1;this._overshootClamping&&0!==this._stiffness&&(u=this._startPositionthis._toValue:_18&&d<=44?f(d):c(d),e(2*a-a*a,p,.01));return{stiffness:i(w),damping:u(M)}}}},179,[]); +__d(function(t,i,e,a,s){'use strict';i(s[0]),i(s[1]);var n,o=i(s[2]),r=i(s[3]).shouldUseNativeDriver;function _(){if(!n){var t=i(s[4]);n=t.inOut(t.ease)}return n}var u=(function(i){function e(t){var i;return babelHelpers.classCallCheck(this,e),(i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(e).call(this)))._toValue=t.toValue,i._easing=void 0!==t.easing?t.easing:_(),i._duration=void 0!==t.duration?t.duration:500,i._delay=void 0!==t.delay?t.delay:0,i.__iterations=void 0!==t.iterations?t.iterations:1,i.__isInteraction=void 0===t.isInteraction||t.isInteraction,i._useNativeDriver=r(t),i}return babelHelpers.createClass(e,[{key:"__getNativeAnimationConfig",value:function(){for(var t=[],i=0;i=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(){babelHelpers.get(babelHelpers.getPrototypeOf(e.prototype),"stop",this).call(this),this.__active=!1,clearTimeout(this._timeout),t.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),babelHelpers.inherits(e,i),e})(o);e.exports=u},180,[158,175,177,161,181]); +__d(function(e,n,u,t,r){'use strict';var a,c=(function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"step0",value:function(e){return e>0?1:0}},{key:"step1",value:function(e){return e>=1?1:0}},{key:"linear",value:function(e){return e}},{key:"ease",value:function(n){return a||(a=e.bezier(.42,0,1,1)),a(n)}},{key:"quad",value:function(e){return e*e}},{key:"cubic",value:function(e){return e*e*e}},{key:"poly",value:function(e){return function(n){return Math.pow(n,e)}}},{key:"sin",value:function(e){return 1-Math.cos(e*Math.PI/2)}},{key:"circle",value:function(e){return 1-Math.sqrt(1-e*e)}},{key:"exp",value:function(e){return Math.pow(2,10*(e-1))}},{key:"elastic",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1)*Math.PI;return function(n){return 1-Math.pow(Math.cos(n*Math.PI/2),3)*Math.cos(n*e)}}},{key:"back",value:function(e){return void 0===e&&(e=1.70158),function(n){return n*n*((e+1)*n-e)}}},{key:"bounce",value:function(e){return e<.36363636363636365?7.5625*e*e:e<.7272727272727273?7.5625*(e-=.5454545454545454)*e+.75:e<.9090909090909091?7.5625*(e-=.8181818181818182)*e+.9375:7.5625*(e-=.9545454545454546)*e+.984375}},{key:"bezier",value:function(e,u,t,a){return n(r[0])(e,u,t,a)}},{key:"in",value:function(e){return e}},{key:"out",value:function(e){return function(n){return 1-e(1-n)}}},{key:"inOut",value:function(e){return function(n){return n<.5?e(2*n)/2:1-e(2*(1-n))/2}}}]),e})();u.exports=c},181,[182]); +__d(function(r,n,t,u,e){'use strict';var o=4,f=.001,i=1e-7,a=10,c=.1,v='function'==typeof Float32Array;function s(r,n){return 1-3*n+3*r}function w(r,n){return 3*n-6*r}function l(r){return 3*r}function y(r,n,t){return((s(n,t)*r+w(n,t))*r+l(n))*r}function b(r,n,t){return 3*s(n,t)*r*r+2*w(n,t)*r+l(n)}function h(r,n,t,u,e){var o,f,c=0;do{(o=y(f=n+(t-n)/2,u,e)-r)>0?t=f:n=f}while(Math.abs(o)>i&&++c=f?A(n,i,r,t):0===a?i:h(n,u,u+c,r,t)}return function(e){return r===n&&t===u?e:0===e?0:1===e?1:y(i(e),n,u)}}},182,[]); +__d(function(e,t,n,o,i){'use strict';var a=t(i[0]).AnimatedEvent,s=t(i[1]),p=t(i[2]),r=t(i[3]),c=t(i[4]);n.exports=function(e){c('function'!=typeof e||e.prototype&&e.prototype.isReactComponent,"`createAnimatedComponent` does not support stateless functional components; use a class component instead.");var t=(function(t){function n(e){var t;return babelHelpers.classCallCheck(this,n),(t=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).call(this,e)))._invokeAnimatedPropsCallbackOnMount=!1,t._eventDetachers=[],t._animatedPropsCallback=function(){if(null==t._component)t._invokeAnimatedPropsCallbackOnMount=!0;else if(n.__skipSetNativeProps_FOR_TESTS_ONLY||'function'!=typeof t._component.setNativeProps)t.forceUpdate();else{if(t._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`");t._component.setNativeProps(t._propsAnimated.__getAnimatedValue())}},t._setComponentRef=t._setComponentRef.bind(babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(t))),t}return babelHelpers.createClass(n,[{key:"componentWillUnmount",value:function(){this._propsAnimated&&this._propsAnimated.__detach(),this._detachNativeEvents()}},{key:"setNativeProps",value:function(e){this._component.setNativeProps(e)}},{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 e=this,t=this._component.getScrollableNode?this._component.getScrollableNode():this._component,n=function(n){var o=e.props[n];o instanceof a&&o.__isNative&&(o.__attach(t,n),e._eventDetachers.push(function(){return o.__detach(t,n)}))};for(var o in this.props)n(o)}},{key:"_detachNativeEvents",value:function(){this._eventDetachers.forEach(function(e){return e()}),this._eventDetachers=[]}},{key:"_attachProps",value:function(e){var t=this._propsAnimated;this._propsAnimated=new s(e,this._animatedPropsCallback),t&&t.__detach()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this._attachProps(e)}},{key:"componentDidUpdate",value:function(e){this._component!==this._prevComponent&&this._propsAnimated.setNativeView(this._component),this._component===this._prevComponent&&e===this.props||(this._detachNativeEvents(),this._attachNativeEvents())}},{key:"render",value:function(){var t=this._propsAnimated.__getValue();return p.createElement(e,babelHelpers.extends({},t,{ref:this._setComponentRef,collapsable:!this._propsAnimated.__isNative&&t.collapsable}))}},{key:"_setComponentRef",value:function(e){this._prevComponent=this._component,this._component=e}},{key:"getNode",value:function(){return this._component}}]),babelHelpers.inherits(n,t),n})(p.Component);t.__skipSetNativeProps_FOR_TESTS_ONLY=!1;var n=e.propTypes;return t.propTypes={style:function(e,t,o){if(n)for(var i in r)!n[i]&&e[i]}},t}},183,[157,170,30,56,2]); +__d(function(e,i,t,r,o){'use strict';var s=i(o[0]),n=i(o[1]),a=i(o[2]),p=i(o[3]),c=i(o[4]),h=i(o[5]),d=i(o[6]),u=i(o[7]),g=i(o[8]),l=i(o[9]),f=a.ImageViewManager,m=g('RCTImageView'),w=d({displayName:'Image',propTypes:s,statics:{getSize:function(e,i,t){f.getSize(e,i,t||function(){})},prefetch:function(e){return f.prefetchImage(e)},resolveAssetSource:l},mixins:[n],viewConfig:{uiViewClassName:'UIView',validAttributes:c.UIView},render:function(){var e,i,t=l(this.props.source)||{uri:void 0,width:void 0,height:void 0};if(Array.isArray(t))i=u([v.base,this.props.style])||{},e=t;else{var r=t.width,o=t.height;t.uri;i=u([{width:r,height:o},v.base,this.props.style])||{},e=[t]}var s=this.props.resizeMode||(i||{}).resizeMode||'cover',n=(i||{}).tintColor;if(this.props.src,this.props.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.');return p.createElement(m,babelHelpers.extends({},this.props,{style:i,resizeMode:s,tintColor:n,source:e}))}}),v=h.create({base:{overflow:'hidden'}});t.exports=w},184,[185,187,4,30,81,37,188,62,65,71]); +__d(function(e,n,o,r,t){'use strict';var s=n(t[0]),c=n(t[1]),u=n(t[2]),a=n(t[3]),i=n(t[4]);o.exports={style:i(u),source:c,defaultSource:a.oneOfType([a.shape({uri:a.string,width:a.number,height:a.number,scale:a.number}),a.number]),accessible:a.bool,accessibilityLabel:a.node,blurRadius:a.number,capInsets:s,resizeMethod:a.oneOf(['auto','resize','scale']),resizeMode:a.oneOf(['cover','contain','stretch','repeat','center']),testID:a.string,onLayout:a.func,onLoadStart:a.func,onProgress:a.func,onError:a.func,onPartialLoad:a.func,onLoad:a.func,onLoadEnd:a.func}},185,[88,186,42,48,89]); +__d(function(e,r,n,t,a){'use strict';var c=r(a[0]),i=c.shape({uri:c.string,bundle:c.string,method:c.string,headers:c.objectOf(c.string),body:c.string,cache:c.oneOf(['default','reload','force-cache','only-if-cached']),width:c.number,height:c.number,scale:c.number}),s=c.oneOfType([i,c.number,c.arrayOf(i)]);n.exports=s},186,[48]); +__d(function(_,t,E,i,e){'use strict';var s=t(e[0]).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.NativeMethodsMixin;E.exports=s},187,[95]); +__d(function(e,t,a,r,o){'use strict';var c=t(o[0]),s=t(o[1]);if(void 0===c)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 n=(new c.Component).updater;a.exports=s(c.Component,c.isValidElement,n)},188,[31,189]); +__d(function(t,e,n,o,i){'use strict';var r=e(i[0]),a=e(i[1]),s=e(i[2]),p='mixins';n.exports=function(t,e,n){var o=[],i={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'},c={getDerivedStateFromProps:'DEFINE_MANY_MERGED'},u={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:0,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.scrollTo({x:o,y:e,animated:!1})},flashScrollIndicators:function(){this.getScrollResponder().scrollResponderFlashScrollIndicators()},_getKeyForIndex:function(e,o){var t=o[e];return t&&t.key},_updateAnimatedNodeAttachment:function(){this._scrollAnimatedValueAttachment&&this._scrollAnimatedValueAttachment.detach(),this.props.stickyHeaderIndices&&this.props.stickyHeaderIndices.length>0&&(this._scrollAnimatedValueAttachment=i.attachNativeEvent(this._scrollViewRef,'onScroll',[{nativeEvent:{contentOffset:{y:this._scrollAnimatedValue}}}]))},_setStickyHeaderRef:function(e,o){o?this._stickyHeaderRefs.set(e,o):this._stickyHeaderRefs.delete(e)},_onStickyHeaderLayout:function(e,o,t){if(this.props.stickyHeaderIndices){var n=u.Children.toArray(this.props.children);if(t===this._getKeyForIndex(e,n)){var l=o.nativeEvent.layout.y;this._headerLayoutYs.set(t,l);var r=this.props.stickyHeaderIndices.indexOf(e),s=this.props.stickyHeaderIndices[r-1];if(null!=s){var i=this._stickyHeaderRefs.get(this._getKeyForIndex(s,n));i&&i.setNextHeaderY(l)}}}},_handleScroll:function(e){this.scrollResponderHandleScroll(e)},_handleLayout:function(e){this.props.invertStickyHeaders&&this.setState({layoutHeight:e.nativeEvent.layout.height}),this.props.onLayout&&this.props.onLayout(e)},_handleContentOnLayout:function(e){var o=e.nativeEvent.layout,t=o.width,n=o.height;this.props.onContentSizeChange&&this.props.onContentSizeChange(t,n)},_scrollViewRef:null,_setScrollViewRef:function(e){this._scrollViewRef=e},_innerViewRef:null,_setInnerViewRef:function(e){this._innerViewRef=e},render:function(){var e,o,t=this;e=r,o=s,C(!this.props.snapToInterval||!this.props.pagingEnabled,'snapToInterval is currently ignored when pagingEnabled is true.'),_(void 0!==e,'ScrollViewClass must not be undefined'),_(void 0!==o,'ScrollContentContainerViewClass must not be undefined');var n=[this.props.horizontal&&E.contentContainerHorizontal,this.props.contentContainerStyle],l={};this.props.onContentSizeChange&&(l={onLayout:this._handleContentOnLayout});var i=this.props.stickyHeaderIndices,a=i&&i.length>0,c=a&&u.Children.toArray(this.props.children),h=a?c.map(function(e,o){var n=e?i.indexOf(o):-1;if(n>-1){var l=e.key,r=i[n+1];return u.createElement(S,{key:l,ref:function(e){return t._setStickyHeaderRef(l,e)},nextHeaderLayoutY:t._headerLayoutYs.get(t._getKeyForIndex(r,c)),onLayout:function(e){return t._onStickyHeaderLayout(o,e,l)},scrollAnimatedValue:t._scrollAnimatedValue,inverted:t.props.invertStickyHeaders,scrollViewHeight:t.state.layoutHeight},e)}return e}):this.props.children,p=u.createElement(o,babelHelpers.extends({},l,{ref:this._setInnerViewRef,style:n,removeClippedSubviews:this.props.removeClippedSubviews,collapsable:!1}),h),m=void 0!==this.props.alwaysBounceHorizontal?this.props.alwaysBounceHorizontal:this.props.horizontal,f=void 0!==this.props.alwaysBounceVertical?this.props.alwaysBounceVertical:!this.props.horizontal,y=!!this.props.DEPRECATED_sendUpdatedChildFrames,R=this.props.horizontal?E.baseHorizontal:E.baseVertical,b=babelHelpers.objectSpread({},this.props,{alwaysBounceHorizontal:m,alwaysBounceVertical:f,style:[R,this.props.style],onContentSizeChange:null,onLayout:this._handleLayout,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderReject:this.scrollResponderHandleResponderReject,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onScroll:this._handleScroll,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onTouchEnd:this.scrollResponderHandleTouchEnd,onTouchMove:this.scrollResponderHandleTouchMove,onTouchStart:this.scrollResponderHandleTouchStart,onTouchCancel:this.scrollResponderHandleTouchCancel,scrollBarThumbImage:T(this.props.scrollBarThumbImage),scrollEventThrottle:a?1:this.props.scrollEventThrottle,sendMomentumEvents:!(!this.props.onMomentumScrollBegin&&!this.props.onMomentumScrollEnd),DEPRECATED_sendUpdatedChildFrames:y}),v=this.props.decelerationRate;v&&(b.decelerationRate=g(v));var H=this.props.refreshControl;return H?u.createElement(e,babelHelpers.extends({},b,{ref:this._setScrollViewRef}),d.isTV?null:H,p):u.createElement(e,babelHelpers.extends({},b,{ref:this._setScrollViewRef}),p)}}),E=y.create({baseVertical:{flexGrow:1,flexShrink:1,flexDirection:'column',overflow:'scroll'},baseHorizontal:{flexGrow:1,flexShrink:1,flexDirection:'row',overflow:'scroll'},contentContainerHorizontal:{flexDirection:'row'}});t.exports=V},190,[156,43,88,12,191,48,30,95,192,198,37,89,63,199,56,203,188,196,62,2,204,65,16,71]); +__d(function(e,r,n,s,t){'use strict';var u=r(t[0]),a=u.shape({x:u.number,y:u.number});n.exports=a},191,[48]); +__d(function(e,o,n,s,r){'use strict';var l=o(r[0]),t=o(r[1]),i=o(r[2]),d=o(r[3]),a=o(r[4]),c=o(r[5]),p=o(r[6]),h=o(r[7]),u=o(r[8]),S=o(r[9]),m=o(r[10]),R=o(r[11]).ScrollViewManager,T={Mixin:{mixins:[a.Mixin],scrollResponderMixinGetInitialState:function(){return{isTouching:!1,lastMomentumScrollBeginTime:0,lastMomentumScrollEndTime:0,observedScrollSinceBecomingResponder:!1,becameResponderWhileAnimating:!1}},scrollResponderHandleScrollShouldSetResponder:function(){return this.state.isTouching},scrollResponderHandleStartShouldSetResponder:function(e){var o=c.currentlyFocusedField();return'handled'===this.props.keyboardShouldPersistTaps&&null!=o&&e.target!==o},scrollResponderHandleStartShouldSetResponderCapture:function(e){if(this.scrollResponderIsAnimating())return!0;var o=c.currentlyFocusedField(),n=this.props.keyboardShouldPersistTaps;return!(n&&'never'!==n||null==o||c.isTextInput(e.target))},scrollResponderHandleResponderReject:function(){},scrollResponderHandleTerminationRequest:function(){return!this.state.observedScrollSinceBecomingResponder},scrollResponderHandleTouchEnd:function(e){var o=e.nativeEvent;this.state.isTouching=0!==o.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},scrollResponderHandleTouchCancel:function(e){this.state.isTouching=!1,this.props.onTouchCancel&&this.props.onTouchCancel(e)},scrollResponderHandleResponderRelease:function(e){this.props.onResponderRelease&&this.props.onResponderRelease(e);var o=c.currentlyFocusedField();!0===this.props.keyboardShouldPersistTaps||'always'===this.props.keyboardShouldPersistTaps||null==o||e.target===o||this.state.observedScrollSinceBecomingResponder||this.state.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),c.blurTextInput(o))},scrollResponderHandleScroll:function(e){this.state.observedScrollSinceBecomingResponder=!0,this.props.onScroll&&this.props.onScroll(e)},scrollResponderHandleResponderGrant:function(e){this.state.observedScrollSinceBecomingResponder=!1,this.props.onResponderGrant&&this.props.onResponderGrant(e),this.state.becameResponderWhileAnimating=this.scrollResponderIsAnimating()},scrollResponderHandleScrollBeginDrag:function(e){t.beginScroll(),this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},scrollResponderHandleScrollEndDrag:function(e){var o=e.nativeEvent.velocity;this.scrollResponderIsAnimating()||o&&(0!==o.x||0!==o.y)||t.endScroll(),this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},scrollResponderHandleMomentumScrollBegin:function(e){this.state.lastMomentumScrollBeginTime=S(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},scrollResponderHandleMomentumScrollEnd:function(e){t.endScroll(),this.state.lastMomentumScrollEndTime=S(),this.props.onMomentumScrollEnd&&this.props.onMomentumScrollEnd(e)},scrollResponderHandleTouchStart:function(e){this.state.isTouching=!0,this.props.onTouchStart&&this.props.onTouchStart(e)},scrollResponderHandleTouchMove:function(e){this.props.onTouchMove&&this.props.onTouchMove(e)},scrollResponderIsAnimating:function(){return S()-this.state.lastMomentumScrollEndTime<16||this.state.lastMomentumScrollEndTime0){i.push(c),y.push(0),i.push(c+1),y.push(1);var d=(u||0)-o-a;d>c&&(i.push(d,d+1),y.push(d-c,d-c))}}}else{i.push(l),y.push(0);var v=(u||0)-o;v>=l?(i.push(v,v+1),y.push(v-l,v-l)):(i.push(l+1),y.push(1))}var f=this.props.scrollAnimatedValue.interpolate({inputRange:i,outputRange:y}),b=n.Children.only(this.props.children);return n.createElement(p,{collapsable:!1,onLayout:this._onLayout,style:[b.props.style,h.header,{transform:[{translateY:f}]}]},n.cloneElement(b,{style:h.fill,onLayout:void 0}))}}]),babelHelpers.inherits(t,e),t})(n.Component),h=l.create({header:{zIndex:10},fill:{flex:1}});a.exports=i},198,[156,30,37,63]); +__d(function(e,o,n,i,s){'use strict';o(s[0]);var t=o(s[1]),c=o(s[2]),r=o(s[3]),a=o(s[4]),l=o(s[5]),p=o(s[6]),d=p.AccessibilityComponentTypes,b=p.AccessibilityTraits,u=a(l);n.exports=babelHelpers.objectSpread({accessible:r.bool,accessibilityLabel:r.node,accessibilityActions:r.arrayOf(r.string),accessibilityComponentType:r.oneOf(d),accessibilityLiveRegion:r.oneOf(['none','polite','assertive']),importantForAccessibility:r.oneOf(['auto','yes','no','no-hide-descendants']),accessibilityTraits:r.oneOfType([r.oneOf(b),r.arrayOf(r.oneOf(b))]),accessibilityViewIsModal:r.bool,accessibilityElementsHidden:r.bool,onAccessibilityAction:r.func,onAccessibilityTap:r.func,onMagicTap:r.func,testID:r.string,nativeID:r.string,onResponderGrant:r.func,onResponderMove:r.func,onResponderReject:r.func,onResponderRelease:r.func,onResponderTerminate:r.func,onResponderTerminationRequest:r.func,onStartShouldSetResponder:r.func,onStartShouldSetResponderCapture:r.func,onMoveShouldSetResponder:r.func,onMoveShouldSetResponderCapture:r.func,hitSlop:t,onLayout:r.func,pointerEvents:r.oneOf(['box-none','none','box-only','auto']),style:u,removeClippedSubviews:r.bool,renderToHardwareTextureAndroid:r.bool,shouldRasterizeIOS:r.bool,collapsable:r.bool,needsOffscreenAlphaCompositing:r.bool},c)},199,[30,88,200,48,89,56,202]); +__d(function(i,n,o,r,s){var t={};n(s[0]).isTV&&(t=n(s[1])),o.exports=t},200,[12,201]); +__d(function(a,e,t,r,l){'use strict';var i=e(l[0]),n={isTVSelectable:i.bool,hasTVPreferredFocus:i.bool,tvParallaxProperties:i.object,tvParallaxShiftDistanceX:i.number,tvParallaxShiftDistanceY:i.number,tvParallaxTiltAngle:i.number,tvParallaxMagnification:i.number};t.exports=n},201,[48]); +__d(function(e,t,s,n,a){'use strict';s.exports={AccessibilityTraits:['none','button','link','header','search','image','selected','plays','key','text','summary','disabled','frequentUpdates','startsMedia','adjustable','allowsDirectInteraction','pageTurn'],AccessibilityComponentTypes:['none','button','radiobutton_checked','radiobutton_unchecked']}},202,[]); +__d(function(e,l,o,n,t){var r=(function(e){"use strict";function l(){return babelHelpers.classCallCheck(this,l),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(l).apply(this,arguments))}return babelHelpers.createClass(l,[{key:"scrollTo",value:function(e,l,o){}},{key:"flashScrollIndicators",value:function(){}},{key:"scrollToEnd",value:function(e){}},{key:"scrollWithoutAnimationTo",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments.length>1&&void 0!==arguments[1]&&arguments[1]}},{key:"getScrollResponder",value:function(){}},{key:"getScrollableNode",value:function(){}},{key:"getInnerViewNode",value:function(){}},{key:"scrollResponderScrollNativeHandleToKeyboard",value:function(e,l,o){}},{key:"scrollResponderScrollTo",value:function(e,l,o){}}]),babelHelpers.inherits(l,e),l})(l(t[0]).NativeComponent);o.exports=r},203,[95]); +__d(function(t,n,r,o,s){'use strict';r.exports=function(t){return'normal'===t?t=.998:'fast'===t&&(t=.99),t}},204,[]); +__d(function(i,t,e,n,a){'use strict';var r='undefined'==typeof window?i:window,s=function(i,t,e){return function(n,a){var r=i(function(){t.call(this,r),n.apply(this,arguments)}.bind(this),a);return this[e]?this[e].push(r):this[e]=[r],r}},c=function(i,t){return function(e){if(this[t]){var n=this[t].indexOf(e);-1!==n&&this[t].splice(n,1)}i(e)}},m='TimerMixin_timeouts',o=c(r.clearTimeout,m),l=s(r.setTimeout,o,m),u='TimerMixin_intervals',h=c(r.clearInterval,u),f=s(r.setInterval,function(){},u),d='TimerMixin_immediates',I=c(r.clearImmediate,d),v=s(r.setImmediate,I,d),T='TimerMixin_rafs',p=c(r.cancelAnimationFrame,T),x={componentWillUnmount:function(){this[m]&&this[m].forEach(function(i){r.clearTimeout(i)}),this[m]=null,this[u]&&this[u].forEach(function(i){r.clearInterval(i)}),this[u]=null,this[d]&&this[d].forEach(function(i){r.clearImmediate(i)}),this[d]=null,this[T]&&this[T].forEach(function(i){r.cancelAnimationFrame(i)}),this[T]=null},setTimeout:l,clearTimeout:o,setInterval:f,clearInterval:h,setImmediate:v,clearImmediate:I,requestAnimationFrame:s(r.requestAnimationFrame,p,T),cancelAnimationFrame:p};e.exports=x},205,[]); +__d(function(e,s,t,o,n){'use strict';var i=s(n[0]),r=s(n[1]),p=s(n[2]),a=s(n[3]),l=s(n[4]),c=s(n[5]),h=s(n[6]),u=s(n[7]),d=s(n[8]),y=d.AccessibilityComponentTypes,b=d.AccessibilityTraits,f={top:20,left:20,right:20,bottom:30},P=c({displayName:'TouchableWithoutFeedback',mixins:[a,l.Mixin],propTypes:{accessible:p.bool,accessibilityLabel:p.node,accessibilityComponentType:p.oneOf(y),accessibilityTraits:p.oneOfType([p.oneOf(b),p.arrayOf(p.oneOf(b))]),disabled:p.bool,onPress:p.func,onPressIn:p.func,onPressOut:p.func,onLayout:p.func,onLongPress:p.func,nativeID:p.string,testID:p.string,delayPressIn:p.number,delayPressOut:p.number,delayLongPress:p.number,pressRetentionOffset:i,hitSlop:i},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){h(this.props)},UNSAFE_componentWillReceiveProps:function(e){h(e)},touchableHandlePress:function(e){this.props.onPress&&this.props.onPress(e)},touchableHandleActivePressIn:function(e){this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this.props.onPressOut&&this.props.onPressOut(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||f},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut||0},render:function(){var e=r.Children.only(this.props.children),s=e.props.children;u(!e.type||'Text'!==e.type.displayName,'TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See '+(e._owner&&e._owner.getName&&e._owner.getName()||'')),l.TOUCH_TARGET_DEBUG&&e.type&&'View'===e.type.displayName&&(s=r.Children.toArray(s)).push(l.renderDebugView({color:'red',hitSlop:this.props.hitSlop}));var t=l.TOUCH_TARGET_DEBUG&&e.type&&'Text'===e.type.displayName?[e.props.style,{color:'red'}]:e.props.style;return r.cloneElement(e,{accessible:!1!==this.props.accessible,accessibilityLabel:this.props.accessibilityLabel,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,nativeID:this.props.nativeID,testID:this.props.testID,onLayout:this.props.onLayout,hitSlop:this.props.hitSlop,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,style:t,children:s})}});t.exports=P},206,[88,30,48,205,91,188,207,16,202]); +__d(function(e,n,s,t,a){'use strict';var o=n(a[0]);s.exports=function(e){o(!(e.delayPressIn<0||e.delayPressOut<0||e.delayLongPress<0),'Touchable components cannot have negative delay properties')}},207,[2]); +__d(function(t,s,c,e,i){'use strict';c.exports=s(i[0])},208,[209]); +__d(function(e,t,r,s,n){'use strict';var l=t(n[0]),i=t(n[1]),p=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"setNativeProps",value:function(){}},{key:"render",value:function(){var e=t(n[2]);return l.createElement(e,{style:[a.unimplementedView,this.props.style]},this.props.children)}}]),babelHelpers.inherits(r,e),r})(l.Component),a=i.create({unimplementedView:{}});r.exports=p},209,[30,37,63]); +__d(function(e,t,n,i,a){'use strict';var r=t(a[0]),o=t(a[1]),s=t(a[2]),l=t(a[3]),p=t(a[4])('RCTDatePicker'),m=(function(e){function t(){var e,n,i;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,r=new Array(a),o=0;o1){for(var s=[],r=0;r1?(c(Array.isArray(e),"FlatList: Encountered internal consistency error, expected each item to consist of an array with 1-%s columns; instead, received a single item.",r),e.map(function(e,i){return s(e,t*r+i)}).join(':')):s(e,t)},i._renderItem=function(e){var t=i.props,n=t.renderItem,s=t.numColumns,r=t.columnWrapperStyle;if(s>1){var l=e.item,p=e.index;return c(Array.isArray(l),'Expected array of items with numColumns > 1'),o.createElement(a,{style:u.compose(h.row,r)},l.map(function(t,i){var r=n({item:t,index:p*s+i,separators:e.separators});return r&&o.cloneElement(r,{key:i})}))}return n(e)},i._checkProps(i.props),i.props.viewabilityConfigCallbackPairs?i._virtualizedListPairs=i.props.viewabilityConfigCallbackPairs.map(function(e){return{viewabilityConfig:e.viewabilityConfig,onViewableItemsChanged:i._createOnViewableItemsChanged(e.onViewableItemsChanged)}}):i.props.onViewableItemsChanged&&i._virtualizedListPairs.push({viewabilityConfig:i.props.viewabilityConfig,onViewableItemsChanged:i._createOnViewableItemsChanged(i.props.onViewableItemsChanged)}),i}return babelHelpers.createClass(t,[{key:"scrollToEnd",value:function(e){this._listRef&&this._listRef.scrollToEnd(e)}},{key:"scrollToIndex",value:function(e){this._listRef&&this._listRef.scrollToIndex(e)}},{key:"scrollToItem",value:function(e){this._listRef&&this._listRef.scrollToItem(e)}},{key:"scrollToOffset",value:function(e){this._listRef&&this._listRef.scrollToOffset(e)}},{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(e){this._listRef&&this._listRef.setNativeProps(e)}}]),babelHelpers.createClass(t,[{key:"componentDidUpdate",value:function(e){c(e.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."),c(e.onViewableItemsChanged===this.props.onViewableItemsChanged,'Changing onViewableItemsChanged on the fly is not supported'),c(e.viewabilityConfig===this.props.viewabilityConfig,'Changing viewabilityConfig on the fly is not supported'),c(e.viewabilityConfigCallbackPairs===this.props.viewabilityConfigCallbackPairs,'Changing viewabilityConfigCallbackPairs on the fly is not supported'),this._checkProps(this.props)}},{key:"_checkProps",value:function(e){var t=e.getItem,i=e.getItemCount,n=e.horizontal,s=e.legacyImplementation,r=e.numColumns,o=e.columnWrapperStyle,a=e.onViewableItemsChanged,l=e.viewabilityConfigCallbackPairs;c(!t&&!i,'FlatList does not support custom data formats.'),r>1?c(!n,'numColumns does not support horizontal.'):c(!o,'columnWrapperStyle not supported for single column lists'),s&&(c(1===r,'Legacy list does not support multiple columns.'),this._hasWarnedLegacy||(this._hasWarnedLegacy=!0)),c(!(a&&l),"FlatList does not support setting both onViewableItemsChanged and viewabilityConfigCallbackPairs.")}},{key:"_pushMultiColumnViewable",value:function(e,t){var i=this.props,n=i.numColumns,s=i.keyExtractor;t.item.forEach(function(i,r){c(null!=t.index,'Missing index!');var o=t.index*n+r;e.push(babelHelpers.objectSpread({},t,{item:i,key:s(i,o),index:o}))})}},{key:"_createOnViewableItemsChanged",value:function(e){var t=this;return function(i){var n=t.props.numColumns;if(e)if(n>1){var s=[],r=[];i.viewableItems.forEach(function(e){return t._pushMultiColumnViewable(r,e)}),i.changed.forEach(function(e){return t._pushMultiColumnViewable(s,e)}),e({viewableItems:r,changed:s})}else e(i)}}},{key:"render",value:function(){return this.props.legacyImplementation?o.createElement(r,babelHelpers.extends({},this.props,{items:this.props.data,ref:this._captureRef})):o.createElement(l,babelHelpers.extends({},this.props,{renderItem:this._renderItem,getItem:this._getItem,getItemCount:this._getItemCount,keyExtractor:this._keyExtractor,ref:this._captureRef,viewabilityConfigCallbackPairs:this._virtualizedListPairs}))}}]),babelHelpers.inherits(t,e),t})(o.PureComponent);f.defaultProps=p;var h=u.create({row:{flexDirection:'row'}});i.exports=f},212,[213,30,63,221,214,37,2]); +__d(function(e,t,r,n,o){'use strict';var s=t(o[0]),a=t(o[1]),i=t(o[2]),c=t(o[3]),l=t(o[4]),p=(function(e){function t(){var e,r,n,o=this;babelHelpers.classCallCheck(this,t);for(var i=arguments.length,c=new Array(i),p=0;p=this._prevRenderedRowsCount&&o.rowShouldUpdate(u,m),v=i.createElement(p,{key:'r_'+C,shouldUpdate:!!b,render:this.props.renderRow.bind(null,o.getRowData(u,m),S,_,this._onRowHighlighted)});if(e.push(v),c++,this.props.renderSeparator&&(m!==w.length-1||u===n.length-1)){var E=this.state.highlightedRow.sectionID===S&&(this.state.highlightedRow.rowID===_||this.state.highlightedRow.rowID===w[m+1]),y=this.props.renderSeparator(S,_,E);y&&(e.push(i.createElement(R,{key:'s_'+C},y)),c++)}if(++r===this.state.curRenderedRowsCount)break}if(r>=this.state.curRenderedRowsCount)break}var L=this.props,I=L.renderScrollComponent,P=babelHelpers.objectWithoutProperties(L,["renderScrollComponent"]);return P.scrollEventThrottle||(P.scrollEventThrottle=50),void 0===P.removeClippedSubviews&&(P.removeClippedSubviews=!0),babelHelpers.extends(P,{onScroll:this._onScroll,stickyHeaderIndices:this.props.stickyHeaderIndices.concat(l),onKeyboardWillShow:void 0,onKeyboardWillHide:void 0,onKeyboardDidShow:void 0,onKeyboardDidHide:void 0}),g(I(P),{ref:this._setScrollComponentRef,onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,DEPRECATED_sendUpdatedChildFrames:void 0!==typeof P.onChangeVisibleRows},a,e,h)},_measureAndUpdateScrollProps:function(){var e=this.getScrollResponder();e&&e.getInnerViewNode&&a&&a.calculateChildFrames&&a.calculateChildFrames(d.findNodeHandle(e),this._updateVisibleRows)},_setScrollComponentRef:function(e){this._scrollComponent=e},_onContentSizeChange:function(e,t){var o=this.props.horizontal?e:t;o!==this.scrollProperties.contentLength&&(this.scrollProperties.contentLength=o,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t)},_onLayout:function(e){var t=e.nativeEvent.layout,o=t.width,n=t.height,s=this.props.horizontal?o:n;s!==this.scrollProperties.visibleLength&&(this.scrollProperties.visibleLength=s,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()),this.props.onLayout&&this.props.onLayout(e)},_maybeCallOnEndReached:function(e){return!!(this.props.onEndReached&&this.scrollProperties.contentLength!==this._sentEndForContentLength&&this._getDistanceFromEnd(this.scrollProperties)r||Cthis.props.onEndReachedThreshold&&(this._sentEndForContentLength=null),this.props.onScroll&&this.props.onScroll(e)}});o.exports=m},214,[215,216,12,30,48,95,4,190,192,218,205,63,219,188,217,82,16,2]); +__d(function(e,l,t,n,o){var r=l(o[0]),s=l(o[1]),a=(function(e){"use strict";function l(){return babelHelpers.classCallCheck(this,l),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(l).apply(this,arguments))}return babelHelpers.createClass(l,[{key:"setNativeProps",value:function(e){}},{key:"flashScrollIndicators",value:function(){}},{key:"getScrollResponder",value:function(){}},{key:"getScrollableNode",value:function(){}},{key:"getMetrics",value:function(){}},{key:"scrollTo",value:function(){}},{key:"scrollToEnd",value:function(e){}}]),babelHelpers.inherits(l,e),l})(r.Component);a.DataSource=s,t.exports=a},215,[30,216]); +__d(function(t,e,i,n,s){'use strict';var a=e(s[0]),o=e(s[1]),r=e(s[2]);function h(t,e,i){return t[e][i]}function d(t,e){return t[e]}var c=(function(){function t(e){babelHelpers.classCallCheck(this,t),a(e&&'function'==typeof e.rowHasChanged,'Must provide a rowHasChanged function.'),this._rowHasChanged=e.rowHasChanged,this._getRowData=e.getRowData||h,this._sectionHeaderHasChanged=e.sectionHeaderHasChanged,this._getSectionHeaderData=e.getSectionHeaderData||d,this._dataBlob=null,this._dirtyRows=[],this._dirtySections=[],this._cachedRowCount=0,this.rowIdentities=[],this.sectionIdentities=[]}return babelHelpers.createClass(t,[{key:"cloneWithRows",value:function(t,e){var i=e?[babelHelpers.toConsumableArray(e)]:null;return this._sectionHeaderHasChanged||(this._sectionHeaderHasChanged=function(){return!1}),this.cloneWithRowsAndSections({s1:t},['s1'],i)}},{key:"cloneWithRowsAndSections",value:function(e,i,n){a('function'==typeof this._sectionHeaderHasChanged,'Must provide a sectionHeaderHasChanged function with section data.'),a(!i||!n||i.length===n.length,'row and section ids lengths must be the same');var s=new t({getRowData:this._getRowData,getSectionHeaderData:this._getSectionHeaderData,rowHasChanged:this._rowHasChanged,sectionHeaderHasChanged:this._sectionHeaderHasChanged});return s._dataBlob=e,s.sectionIdentities=i||Object.keys(e),n?s.rowIdentities=n:(s.rowIdentities=[],s.sectionIdentities.forEach(function(t){s.rowIdentities.push(Object.keys(e[t]))})),s._cachedRowCount=u(s.rowIdentities),s._calculateDirtyArrays(this._dataBlob,this.sectionIdentities,this.rowIdentities),s}},{key:"getRowCount",value:function(){return this._cachedRowCount}},{key:"getRowAndSectionCount",value:function(){return this._cachedRowCount+this.sectionIdentities.length}},{key:"rowShouldUpdate",value:function(t,e){var i=this._dirtyRows[t][e];return r(void 0!==i,'missing dirtyBit for section, row: '+t+', '+e),i}},{key:"getRowData",value:function(t,e){var i=this.sectionIdentities[t],n=this.rowIdentities[t][e];return r(void 0!==i&&void 0!==n,'rendering invalid section, row: '+t+', '+e),this._getRowData(this._dataBlob,i,n)}},{key:"getRowIDForFlatIndex",value:function(t){for(var e=t,i=0;i=this.rowIdentities[i].length))return this.rowIdentities[i][e];e-=this.rowIdentities[i].length}return null}},{key:"getSectionIDForFlatIndex",value:function(t){for(var e=t,i=0;i=this.rowIdentities[i].length))return this.sectionIdentities[i];e-=this.rowIdentities[i].length}return null}},{key:"getSectionLengths",value:function(){for(var t=[],e=0;e2?c-2:0),a=2;a0&&t>0&&null!=s.props.initialScrollIndex&&s.props.initialScrollIndex>0&&!s._hasDoneInitialScroll&&(s.scrollToIndex({animated:!1,index:s.props.initialScrollIndex}),s._hasDoneInitialScroll=!0),s.props.onContentSizeChange&&s.props.onContentSizeChange(e,t),s._scrollMetrics.contentLength=s._selectLength({height:t,width:e}),s._scheduleCellsToRenderUpdate(),s._maybeCallOnEndReached()},s._convertParentScrollMetrics=function(e){var t=e.offset-s._offsetFromParentVirtualizedList,r=e.visibleLength,i=t-s._scrollMetrics.offset;return{visibleLength:r,contentLength:s._scrollMetrics.contentLength,offset:t,dOffset:i}},s._onScroll=function(e){s._nestedChildLists.forEach(function(t){t.ref&&t.ref._onScroll(e)}),s.props.onScroll&&s.props.onScroll(e);var t=e.timeStamp,r=s._selectLength(e.nativeEvent.layoutMeasurement),i=s._selectLength(e.nativeEvent.contentSize),n=s._selectOffset(e.nativeEvent.contentOffset),o=n-s._scrollMetrics.offset;if(s._isNestedWithSameOrientation()){if(0===s._scrollMetrics.contentLength)return;var l=s._convertParentScrollMetrics({visibleLength:r,offset:n});r=l.visibleLength,i=l.contentLength,n=l.offset,o=l.dOffset}var a=s._scrollMetrics.timestamp?Math.max(1,t-s._scrollMetrics.timestamp):1,h=o/a;a>500&&s._scrollMetrics.dt>500&&i>5*r&&!s._hasWarned.perf&&(_("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:a,prevDt:s._scrollMetrics.dt,contentLength:i}),s._hasWarned.perf=!0),s._scrollMetrics={contentLength:i,dt:a,dOffset:o,offset:n,timestamp:t,velocity:h,visibleLength:r},s._updateViewableItems(s.props.data),s.props&&(s._maybeCallOnEndReached(),0!==h&&s._fillRateHelper.activate(),s._computeBlankness(),s._scheduleCellsToRenderUpdate())},s._onScrollBeginDrag=function(e){s._nestedChildLists.forEach(function(t){t.ref&&t.ref._onScrollBeginDrag(e)}),s._viewabilityTuples.forEach(function(e){e.viewabilityHelper.recordInteraction()}),s._hasInteracted=!0,s.props.onScrollBeginDrag&&s.props.onScrollBeginDrag(e)},s._onScrollEndDrag=function(e){var t=e.nativeEvent.velocity;t&&(s._scrollMetrics.velocity=s._selectOffset(t)),s._computeBlankness(),s.props.onScrollEndDrag&&s.props.onScrollEndDrag(e)},s._onMomentumScrollEnd=function(e){s._scrollMetrics.velocity=0,s._computeBlankness(),s.props.onMomentumScrollEnd&&s.props.onMomentumScrollEnd(e)},s._updateCellsToRender=function(){var e=s.props,t=e.data,r=e.getItemCount,i=e.onEndReachedThreshold,n=s._isVirtualizationDisabled();s._updateViewableItems(t),t&&s.setState(function(e){var o;if(n){var l=s._scrollMetrics,a=l.contentLength,h=l.offset,c=l.visibleLength,p=a-c-h0)for(var d=o.first,u=o.last,f=d;f<=u;f++){var g=s._indicesToKeys.get(f),_=g&&s._cellKeysToChildListKeys.get(g);if(_){var m=!1,v=_,C=Array.isArray(v),b=0;for(v=C?v:v["function"==typeof Symbol&&"function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var L;if(C){if(b>=v.length)break;L=v[b++]}else{if((b=v.next()).done)break;L=b.value}var S=L,M=s._nestedChildLists.get(S);if(M&&M.ref&&M.ref.hasMore()){m=!0;break}}if(m){o.last=f;break}}}return o})},s._createViewToken=function(e,t){var r=s.props,i=r.data,n=r.getItem,o=r.keyExtractor,l=n(i,e);return{index:e,item:l,key:o(l,e),isViewable:t}},s._getFrameMetricsApprox=function(e){var t=s._getFrameMetrics(e);if(t&&t.index===e)return t;var r=s.props.getItemLayout;return m(!r,'Should not have to estimate frames when a measurement metrics function is provided'),{length:s._averageCellLength,offset:s._averageCellLength*e}},s._getFrameMetrics=function(e){var t=s.props,r=t.data,i=t.getItem,n=t.getItemCount,o=t.getItemLayout,l=t.keyExtractor;m(n(r)>e,'Tried to get frame for out of range index '+e);var a=i(r,e),h=a&&s._frames[l(a,e)];return h&&h.index===e||o&&(h=o(r,e)),h},m(!e.onScroll||!e.onScroll.__isNative,"Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"),m(e.windowSize>0,'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.'),s._fillRateHelper=new o(s._getFrameMetrics),s._updateCellsToRenderBatcher=new n(s._updateCellsToRender,s.props.updateCellsBatchingPeriod),s.props.viewabilityConfigCallbackPairs?s._viewabilityTuples=s.props.viewabilityConfigCallbackPairs.map(function(e){return{viewabilityHelper:new g(e.viewabilityConfig),onViewableItemsChanged:e.onViewableItemsChanged}}):s.props.onViewableItemsChanged&&s._viewabilityTuples.push({viewabilityHelper:new g(s.props.viewabilityConfig),onViewableItemsChanged:s.props.onViewableItemsChanged});var i={first:s.props.initialScrollIndex||0,last:Math.min(s.props.getItemCount(s.props.data),(s.props.initialScrollIndex||0)+s.props.initialNumToRender)-1};if(s._isNestedWithSameOrientation()){var l=s.context.virtualizedList.getNestedChildState(s.props.listKey||s._getCellKey());l&&(i=l,s.state=l,s._frames=l.frames)}return s.state=i,s}return babelHelpers.createClass(t,[{key:"scrollToEnd",value:function(e){var t=!e||e.animated,r=this.props.getItemCount(this.props.data)-1,s=this._getFrameMetricsApprox(r),i=Math.max(0,s.offset+s.length+this._footerLength-this._scrollMetrics.visibleLength);this._scrollRef.scrollTo(this.props.horizontal?{x:i,animated:t}:{y:i,animated:t})}},{key:"scrollToIndex",value:function(e){var t=this.props,r=t.data,s=t.horizontal,i=t.getItemCount,n=t.getItemLayout,o=t.onScrollToIndexFailed,l=e.animated,a=e.index,h=e.viewOffset,c=e.viewPosition;if(m(a>=0&&athis._highestMeasuredFrameIndex)return m(!!o,"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 o({averageItemLength:this._averageCellLength,highestMeasuredFrameIndex:this._highestMeasuredFrameIndex,index:a});var p=this._getFrameMetricsApprox(a),d=Math.max(0,p.offset-(c||0)*(this._scrollMetrics.visibleLength-p.length))-(h||0);this._scrollRef.scrollTo(s?{x:d,animated:l}:{y:d,animated:l})}},{key:"scrollToItem",value:function(e){for(var t=e.item,r=this.props,s=r.data,i=r.getItem,n=(0,r.getItemCount)(s),o=0;o0){v=!1,'';var m=l?'width':'height',y=this.props.initialScrollIndex?-1:this.props.initialNumToRender-1,C=this.state,b=C.first,M=C.last;this._pushCells(p,u,d,0,y,c);var x=Math.max(y+1,b);if(!h&&b>y+1){var k=!1;if(d.size>0)for(var I=i?1:0,R=x-1;R>y;R--)if(d.has(R+I)){var E=this._getFrameMetricsApprox(y),w=this._getFrameMetricsApprox(R),T=w.offset-(E.offset+E.length);p.push(a.createElement(f,{key:"$sticky_lead",style:babelHelpers.defineProperty({},m,T)})),this._pushCells(p,u,d,R,R,c);var z=this._getFrameMetricsApprox(b).offset-(w.offset+w.length);p.push(a.createElement(f,{key:"$sticky_trail",style:babelHelpers.defineProperty({},m,z)})),k=!0;break}if(!k){var H=this._getFrameMetricsApprox(y),K=this._getFrameMetricsApprox(b).offset-(H.offset+H.length);p.push(a.createElement(f,{key:"$lead_spacer",style:babelHelpers.defineProperty({},m,K)}))}}if(this._pushCells(p,u,d,x,M,c),!this._hasWarned.keys&&v&&(this._hasWarned.keys=!0),!h&&M<_-1){var P=this._getFrameMetricsApprox(M),N=this.props.getItemLayout?_-1:Math.min(_-1,this._highestMeasuredFrameIndex),F=this._getFrameMetricsApprox(N),O=F.offset+F.length-(P.offset+P.length);p.push(a.createElement(f,{key:"$tail_spacer",style:babelHelpers.defineProperty({},m,O)}))}}else if(r){var A=a.isValidElement(r)?r:a.createElement(r,null);p.push(a.cloneElement(A,{key:'$empty',onLayout:function(t){e._onLayoutEmpty(t),A.props.onLayout&&A.props.onLayout(t)},style:[A.props.style,c]}))}if(s){var D=a.isValidElement(s)?s:a.createElement(s,null);p.push(a.createElement(L,{cellKey:this._getCellKey()+'-footer',key:"$footer"},a.createElement(f,{onLayout:this._onLayoutFooter,style:c},D)))}var V=babelHelpers.objectSpread({},this.props,{onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout,onScroll:this._onScroll,onScrollBeginDrag:this._onScrollBeginDrag,onScrollEndDrag:this._onScrollEndDrag,onMomentumScrollEnd:this._onMomentumScrollEnd,scrollEventThrottle:this.props.scrollEventThrottle,invertStickyHeaders:void 0!==this.props.invertStickyHeaders?this.props.invertStickyHeaders:this.props.inverted,stickyHeaderIndices:u});c&&(V.style=[c,this.props.style]),this._hasMore=this.state.last=l.length)break;c=l[h++]}else{if((h=l.next()).done)break;c=h.value}var p=c,d=this._nestedChildLists.get(p);d&&d.ref&&d.ref.measureLayoutRelativeToContainingList()}}this._computeBlankness()}},{key:"measureLayoutRelativeToContainingList",value:function(){var e=this;u.measureLayout(h.findNodeHandle(this),h.findNodeHandle(this.context.virtualizedList.getOutermostParentListRef()),function(e){},function(t,r,s,i){e._offsetFromParentVirtualizedList=e._selectOffset({x:t,y:r}),e._scrollMetrics.contentLength=e._selectLength({width:s,height:i});var n=e._convertParentScrollMetrics(e.context.virtualizedList.getScrollMetrics());e._scrollMetrics.visibleLength=n.visibleLength,e._scrollMetrics.offset=n.offset})}},{key:"_renderDebugOverlay",value:function(){for(var e=this._scrollMetrics.visibleLength/this._scrollMetrics.contentLength,t=[],r=this.props.getItemCount(this.props.data),s=0;s0){var c=i-this._getFrameMetricsApprox(t).offset;a=a||c<0||o<-2&&c2&&p0&&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 a=setTimeout(function(){t._taskHandle=s.runAfterInteractions(function(){t._taskHandle=null,t._callback()})},this._delay);this._taskHandle={cancel:function(){return clearTimeout(a)}}}}}]),t})();e.exports=i},222,[163]); +__d(function(t,e,a,s,n){'use strict';var i=e(n[0]),l=e(n[1]),r=function t(){babelHelpers.classCallCheck(this,t),this.any_blank_count=0,this.any_blank_ms=0,this.any_blank_speed_sum=0,this.mostly_blank_count=0,this.mostly_blank_ms=0,this.pixels_blank=0,this.pixels_sampled=0,this.pixels_scrolled=0,this.total_time_spent=0,this.sample_count=0},_=[],h=10,o=null,u=(function(){function t(e){babelHelpers.classCallCheck(this,t),this._anyBlankStartTime=null,this._enabled=!1,this._info=new r,this._mostlyBlankStartTime=null,this._samplesStartTime=null,this._getFrameMetrics=e,this._enabled=(o||0)>Math.random(),this._resetData()}return babelHelpers.createClass(t,null,[{key:"addListener",value:function(t){return l(null!==o,'Call `FillRateHelper.setSampleRate` before `addListener`.'),_.push(t),{remove:function(){_=_.filter(function(e){return t!==e})}}}},{key:"setSampleRate",value:function(t){o=t}},{key:"setMinSampleCount",value:function(t){h=t}}]),babelHelpers.createClass(t,[{key:"activate",value:function(){this._enabled&&null==this._samplesStartTime&&(this._samplesStartTime=i())}},{key:"deactivateAndFlush",value:function(){if(this._enabled){var t=this._samplesStartTime;if(null!=t)if(this._info.sample_count0&&(o=Math.min(r,Math.max(0,m.offset-n)));for(var f=0,c=e.last,b=this._getFrameMetrics(c);c>=e.first&&(!b||!b.inLayout);)b=this._getFrameMetrics(c),c--;if(b&&c0?(this._anyBlankStartTime=h,this._info.any_blank_speed_sum+=_,this._info.any_blank_count++,this._info.pixels_blank+=p,y>.5&&(this._mostlyBlankStartTime=h,this._info.mostly_blank_count++)):(_<.01||Math.abs(s)<1)&&this.deactivateAndFlush(),y}},{key:"enabled",value:function(){return this._enabled}},{key:"_resetData",value:function(){this._anyBlankStartTime=null,this._info=new r,this._mostlyBlankStartTime=null,this._samplesStartTime=null}}]),t})();a.exports=u},223,[13,16]); +__d(function(e,i,t,r,n){'use strict';var a=i(n[0]),s=(function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{viewAreaCoveragePercentThreshold:0};babelHelpers.classCallCheck(this,e),this._hasInteracted=!1,this._timers=new Set,this._viewableIndices=[],this._viewableItems=new Map,this._config=i}return babelHelpers.createClass(e,[{key:"dispose",value:function(){this._timers.forEach(clearTimeout)}},{key:"computeViewableItems",value:function(e,i,t,r,n){var s=this._config,o=s.itemVisiblePercentThreshold,c=s.viewAreaCoveragePercentThreshold,h=null!=c,u=h?c:o;a(null!=u&&null!=o!=(null!=c),'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold');var f=[];if(0===e)return f;var v=-1,b=n||{first:0,last:e-1},d=b.first,m=b.last;a(m0)v=y,l(h,u,w,g,t,_.length)&&f.push(y);else if(v>=0)break}}return f}},{key:"onUpdate",value:function(e,i,t,r,n,a,s){var l=this;if((!this._config.waitForInteraction||this._hasInteracted)&&0!==e&&r(0)){var o=[];if(e&&(o=this.computeViewableItems(e,i,t,r,s)),this._viewableIndices.length!==o.length||!this._viewableIndices.every(function(e,i){return e===o[i]}))if(this._viewableIndices=o,this._config.minimumViewTime){var c=setTimeout(function(){l._timers.delete(c),l._onUpdateSync(o,a,n)},this._config.minimumViewTime);this._timers.add(c)}else this._onUpdateSync(o,a,n)}}},{key:"resetViewableIndices",value:function(){this._viewableIndices=[]}},{key:"recordInteraction",value:function(){this._hasInteracted=!0}},{key:"_onUpdateSync",value:function(e,i,t){var r=this;e=e.filter(function(e){return r._viewableIndices.includes(e)});var n=this._viewableItems,a=new Map(e.map(function(e){var i=t(e,!0);return[i.key,i]})),s=[],l=a,o=Array.isArray(l),c=0;for(l=o?l:l["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var h;if(o){if(c>=l.length)break;h=l[c++]}else{if((c=l.next()).done)break;h=c.value}var u=h,f=babelHelpers.slicedToArray(u,2),v=f[0],b=f[1];n.has(v)||s.push(b)}var d=n,m=Array.isArray(d),y=0;for(d=m?d:d["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var _;if(m){if(y>=d.length)break;_=d[y++]}else{if((y=d.next()).done)break;_=y.value}var w=_,g=babelHelpers.slicedToArray(w,2),p=g[0],I=g[1];a.has(p)||s.push(babelHelpers.objectSpread({},I,{isViewable:!1}))}s.length>0&&(this._viewableItems=a,i({viewableItems:Array.from(a.values()),changed:s,viewabilityConfig:this._config}))}}]),e})();function l(e,i,t,r,n,a){if(c(t,r,n))return!0;var s=o(t,r,n);return 100*(e?s/n:s/a)>=i}function o(e,i,t){var r=Math.min(i,t)-Math.max(e,0);return Math.max(0,r)}function c(e,i,t){return e>=0&&i<=t&&i>e}t.exports=s},224,[2]); +__d(function(t,r,e,a,n){'use strict';var i=r(n[0]);function s(t,r,e){for(var a=[],n=0,s=0;s=t[o]&&(a[o]=s,n++,o===t.length-1))return i(n===t.length,'bad offsets input, should be in increasing order: %s',JSON.stringify(t)),a;return a}function f(t,r){return r.last-r.first+1-Math.max(0,1+Math.min(r.last,t.last)-Math.max(r.first,t.first))}var l={computeWindowedRenderLimits:function(t,r,e,a){var n=t.data,i=t.getItemCount,l=t.maxToRenderPerBatch,o=t.windowSize,u=i(n);if(0===u)return r;var h=a.offset,m=a.velocity,v=a.visibleLength,c=Math.max(0,h),d=c+v,g=(o-1)*v,b=m>1?'after':m<-1?'before':'none',x=Math.max(0,c-.5*g),M=Math.max(0,d+.5*g);if(e(u-1).offset=L);){var T=S>=l,B=C<=r.first||C>r.last,I=C>y&&(!T||!B),J=O>=r.last||O=C&&C>=0&&O=y&&O<=L&&C<=R.first&&O>=R.last))throw new Error('Bad window calculation '+JSON.stringify({first:C,last:O,itemCount:u,overscanFirst:y,overscanLast:L,visible:R}));return{first:C,last:O}},elementsThatOverlapOffsets:s,newRangeCount:f};e.exports=l},225,[2]); +__d(function(e,t,r,l,s){'use strict';var i=t(s[0]),a=t(s[1]),n=t(s[2]),o=t(s[3]),c=t(s[4]),p=(function(e){function t(){var e,r,l;babelHelpers.classCallCheck(this,t);for(var s=arguments.length,i=new Array(s),a=0;athis.state.observedTopOfStack+1?this.state.observedTopOfStack+1:null;this.setState({idStack:this.state.idStack.slice(0,this.state.observedTopOfStack+1),routeStack:this.state.routeStack.slice(0,this.state.observedTopOfStack+1),requestedTopOfStack:this.state.observedTopOfStack,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:t})},push:function(t){var e=this;k(!!t,'Must supply route to push'),this.state.requestedTopOfStack===this.state.observedTopOfStack&&this._tryLockNavigator(function(){var o=e.state.routeStack.concat([t]),a=e.state.idStack.concat([m()]);e.setState({idStack:a,routeStack:o,requestedTopOfStack:o.length-1,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:o.length-1})})},popN:function(t){var e=this;0!==t&&this.state.requestedTopOfStack===this.state.observedTopOfStack&&this.state.requestedTopOfStack>0&&this._tryLockNavigator(function(){var o=e.state.requestedTopOfStack-t;k(o>=0,'Cannot pop below 0'),e.setState({requestedTopOfStack:o,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:e.state.requestedTopOfStack-t})})},pop:function(){this.popN(1)},replaceAtIndex:function(t,e){if(k(!!t,'Must supply route to replace'),e<0&&(e+=this.state.routeStack.length),!(this.state.routeStack.length<=e)){var o=this.state.idStack.slice(),a=this.state.routeStack.slice();o[e]=m(),a[e]=t,this.setState({idStack:o,routeStack:a,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:e})}},replace:function(t){this.replaceAtIndex(t,-1)},replacePrevious:function(t){this.replaceAtIndex(t,-2)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(t){var e=this.state.routeStack.indexOf(t);k(-1!==e,"Calling pop to route for a route that doesn't exist!");var o=this.state.routeStack.length-e-1;this.popN(o)},replacePreviousAndPop:function(t){var e=this;this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.state.routeStack.length<2||this._tryLockNavigator(function(){e.replacePrevious(t),e.setState({requestedTopOfStack:e.state.requestedTopOfStack-1,makingNavigatorRequest:!0})}))},resetTo:function(t){k(!!t,'Must supply route to push'),this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.replaceAtIndex(t,0),this.popToRoute(t))},_handleNavigationComplete:function(t){t.stopPropagation(),this._toFocusOnNavigationComplete&&(this._getFocusEmitter().emit('focus',this._toFocusOnNavigationComplete),this._toFocusOnNavigationComplete=null),this._handleNavigatorStackChanged(t)},_routeToStackItem:function(t,e){var o=t.component,a=t.wrapperStyle,s=t.passProps,i=babelHelpers.objectWithoutProperties(t,["component","wrapperStyle","passProps"]),n=this.props,r=n.itemWrapperStyle,u=babelHelpers.objectWithoutProperties(n,["itemWrapperStyle"]),p=null!=this.state.updatingAllIndicesAtOrBeyond&&this.state.updatingAllIndicesAtOrBeyond>=e,d=o;return c.createElement(l,{key:'nav'+e,shouldUpdate:p},c.createElement(I,babelHelpers.extends({},u,i,{style:[_.stackItem,r,a]}),c.createElement(d,babelHelpers.extends({navigator:this.navigator,route:i},s))))},_renderNavigationStackItems:function(){var t=this.state.makingNavigatorRequest||null!==this.state.updatingAllIndicesAtOrBeyond,e=t?this.state.routeStack.map(this._routeToStackItem):null;return c.createElement(l,{shouldUpdate:t},c.createElement(O,{ref:"transitionerRef",style:_.transitioner,vertical:this.props.vertical,requestedTopOfStack:this.state.requestedTopOfStack,onNavigationComplete:this._handleNavigationComplete,interactivePopGestureEnabled:this.props.interactivePopGestureEnabled},e))},_tvEventHandler:void 0,_enableTVEventHandler:function(){this._tvEventHandler=new h,this._tvEventHandler.enable(this,function(t,e){e&&'menu'===e.eventType&&t.pop()})},_disableTVEventHandler:function(){this._tvEventHandler&&(this._tvEventHandler.disable(),delete this._tvEventHandler)},render:function(){return c.createElement(f,{style:this.props.style},this._renderNavigationStackItems())}}),_=d.create({stackItem:{backgroundColor:'white',overflow:'hidden',position:'absolute',top:0,left:0,right:0,bottom:0},transitioner:{flex:1}}),q=S('RCTNavigator'),I=S('RCTNavItem');o.exports=N},236,[25,184,4,30,48,95,237,37,150,63,199,188,2,65,46]); +__d(function(e,r,t,l,n){'use strict';var s=r(n[0]),o=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"shouldComponentUpdate",value:function(e){return!!e.shouldUpdate}},{key:"render",value:function(){var e=this.props.children;return null===e||!1===e?null:s.Children.only(e)}}]),babelHelpers.inherits(r,e),r})(s.Component);t.exports=o},237,[30]); +__d(function(e,r,t,l,s){'use strict';var o=r(s[0]),n=r(s[1]),a=(r(s[2]),r(s[3]),r(s[4])),p=r(s[5]),i=r(s[6]),b=r(s[7]),u=(r(s[8]),r(s[9])),c=r(s[10]),d=i(b),h=i(babelHelpers.objectSpread({},c,{color:o})),f=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){throw null}}]),babelHelpers.inherits(r,e),r})(a.Component);f.propTypes={label:p.string.isRequired,value:p.any,color:o,testID:p.string};var y=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){return a.createElement(n,this.props,this.props.children)}}]),babelHelpers.inherits(r,e),r})(a.Component);y.MODE_DIALOG="dialog",y.MODE_DROPDOWN='dropdown',y.Item=f,y.defaultProps={mode:"dialog"},y.propTypes=babelHelpers.objectSpread({},u,{style:h,selectedValue:p.any,onValueChange:p.func,enabled:p.bool,mode:p.oneOf(['dialog','dropdown']),itemStyle:d,prompt:p.string,testID:p.string}),t.exports=y},238,[43,239,240,12,30,48,89,55,209,199,56]); +__d(function(e,t,n,r,s){'use strict';var l=t(s[0]),o=(t(s[1]),t(s[2])),a=t(s[3]),i=t(s[4]),p=t(s[5])('RCTPicker'),c=(function(e){function t(){var e,n,r;babelHelpers.classCallCheck(this,t);for(var s=arguments.length,l=new Array(s),o=0;o=a.data.length+1)t-=a.data.length+1;else return-1===t?{section:a,key:i+':header',index:null,header:!0,trailingSection:this.props.sections[n+1]}:t===a.data.length?{section:a,key:i+':footer',index:null,header:!1,trailingSection:this.props.sections[n+1]}:{section:a,key:i+':'+(a.keyExtractor||r)(a.data[t],t),index:t,leadingItem:a.data[t-1],leadingSection:this.props.sections[n-1],trailingItem:a.data[t+1],trailingSection:this.props.sections[n+1]}}}},{key:"_getSeparatorComponent",value:function(e,t){if(!(t=t||this._subExtractor(e)))return null;var r=t.section.ItemSeparatorComponent||this.props.ItemSeparatorComponent,n=this.props.SectionSeparatorComponent,a=e===this.state.childProps.getItemCount()-1,i=t.index===t.section.data.length-1;return n&&i?n:!r||i||a?null:r}}]),babelHelpers.inherits(t,e),t})(i.PureComponent);p.defaultProps=babelHelpers.objectSpread({},s.defaultProps,{data:[]});var c=(function(e){function t(){var e,r,n;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,i=new Array(a),o=0;o0},_swipeFullSpeed:function(e){this.state.currentLeft.setValue(this._previousLeft+e.dx)},_swipeSlowSpeed:function(e){this.state.currentLeft.setValue(this._previousLeft+e.dx/4)},_isSwipingExcessivelyRightFromClosedPosition:function(e){var i=m?-e.dx:e.dx;return this._isSwipingRightFromClosed(e)&&i>120},_onPanResponderTerminationRequest:function(e,i){return!1},_animateTo:function(e){var i=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;s.timing(this.state.currentLeft,{duration:t,toValue:e,useNativeDriver:!0}).start(function(){i._previousLeft=e,n()})},_animateToOpenPosition:function(){var e=m?-this.props.maxSwipeDistance:this.props.maxSwipeDistance;this._animateTo(-e)},_animateToOpenPositionWith:function(e,i){e=e>.3?e:.3;var t=Math.abs((this.props.maxSwipeDistance-Math.abs(i))/e),n=m?-this.props.maxSwipeDistance:this.props.maxSwipeDistance;this._animateTo(-n,t)},_animateToClosedPosition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300;this._animateTo(0,e)},_animateToClosedPositionDuringBounce:function(){this._animateToClosedPosition(300)},_animateBounceBack:function(e){var i=m?-30:30;this._animateTo(-i,e,this._animateToClosedPositionDuringBounce)},_isValidSwipe:function(e){return!(this.props.preventSwipeRight&&0===this._previousLeft&&e.dx>0)&&Math.abs(e.dx)>10},_shouldAnimateRemainder:function(e){return Math.abs(e.dx)>this.props.swipeThreshold||e.vx>.3},_handlePanResponderEnd:function(e,i){var t=m?-i.dx:i.dx;this._isSwipingRightFromClosed(i)?(this.props.onOpen(),this._animateBounceBack(300)):this._shouldAnimateRemainder(i)?t<0?(this.props.onOpen(),this._animateToOpenPositionWith(i.vx,t)):(this.props.onClose(),this._animateToClosedPosition()):0===this._previousLeft?this._animateToClosedPosition():this._animateToOpenPosition(),this.props.onSwipeEnd()}}),w=((function(e){function i(){return babelHelpers.classCallCheck(this,i),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(i).apply(this,arguments))}babelHelpers.createClass(i,[{key:"close",value:function(){}}]),babelHelpers.inherits(i,e)})(p.Component),u.create({slideOutContainer:{bottom:0,left:0,position:'absolute',right:0,top:0}}));t.exports=f},252,[155,235,253,30,48,37,205,63,188,17]); +__d(function(e,n,o,t,r){'use strict';var a=n(r[0]),u=n(r[1]),s=u.currentCentroidXOfTouchesChangedAfter,d=u.currentCentroidYOfTouchesChangedAfter,i=u.previousCentroidXOfTouchesChangedAfter,c=u.previousCentroidYOfTouchesChangedAfter,p=u.currentCentroidX,v=u.currentCentroidY,h={_initializeGestureState:function(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove:function(e,n){e.numberActiveTouches=n.numberActiveTouches,e.moveX=s(n,e._accountsForMovesUpTo),e.moveY=d(n,e._accountsForMovesUpTo);var o=e._accountsForMovesUpTo,t=i(n,o),r=s(n,o),a=c(n,o),u=d(n,o),p=e.dx+(r-t),v=e.dy+(u-a),h=n.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(p-e.dx)/h,e.vy=(v-e.dy)/h,e.dx=p,e.dy=v,e._accountsForMovesUpTo=n.mostRecentTimeStamp},create:function(e){var n={handle:null},o={stateID:Math.random()};return h._initializeGestureState(o),{panHandlers:{onStartShouldSetResponder:function(n){return void 0!==e.onStartShouldSetPanResponder&&e.onStartShouldSetPanResponder(n,o)},onMoveShouldSetResponder:function(n){return void 0!==e.onMoveShouldSetPanResponder&&e.onMoveShouldSetPanResponder(n,o)},onStartShouldSetResponderCapture:function(n){return 1===n.nativeEvent.touches.length&&h._initializeGestureState(o),o.numberActiveTouches=n.touchHistory.numberActiveTouches,void 0!==e.onStartShouldSetPanResponderCapture&&e.onStartShouldSetPanResponderCapture(n,o)},onMoveShouldSetResponderCapture:function(n){var t=n.touchHistory;return o._accountsForMovesUpTo!==t.mostRecentTimeStamp&&(h._updateGestureStateOnMove(o,t),!!e.onMoveShouldSetPanResponderCapture&&e.onMoveShouldSetPanResponderCapture(n,o))},onResponderGrant:function(t){return n.handle||(n.handle=a.createInteractionHandle()),o.x0=p(t.touchHistory),o.y0=v(t.touchHistory),o.dx=0,o.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(t,o),void 0===e.onShouldBlockNativeResponder||e.onShouldBlockNativeResponder()},onResponderReject:function(t){S(n,e.onPanResponderReject,t,o)},onResponderRelease:function(t){S(n,e.onPanResponderRelease,t,o),h._initializeGestureState(o)},onResponderStart:function(n){var t=n.touchHistory;o.numberActiveTouches=t.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,o)},onResponderMove:function(n){var t=n.touchHistory;o._accountsForMovesUpTo!==t.mostRecentTimeStamp&&(h._updateGestureStateOnMove(o,t),e.onPanResponderMove&&e.onPanResponderMove(n,o))},onResponderEnd:function(t){var r=t.touchHistory;o.numberActiveTouches=r.numberActiveTouches,S(n,e.onPanResponderEnd,t,o)},onResponderTerminate:function(t){S(n,e.onPanResponderTerminate,t,o),h._initializeGestureState(o)},onResponderTerminationRequest:function(n){return void 0===e.onPanResponderTerminationRequest||e.onPanResponderTerminationRequest(n,o)}},getInteractionHandle:function(){return n.handle}}}};function S(e,n,o,t){e.handle&&(a.clearInteractionHandle(e.handle),e.handle=null),n&&n(o,t)}o.exports=h},253,[163,254]); +__d(function(e,n,r,t,i){var o={centroidDimension:function(e,n,r,t){var i=e.touchBank,u=0,c=0,d=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==d)d.touchActive&&d.currentTimeStamp>n&&(u+=t&&r?d.currentPageX:t&&!r?d.currentPageY:!t&&r?d.previousPageX:d.previousPageY,c=1);else for(var a=0;a=n){u+=t&&r?f.currentPageX:t&&!r?f.currentPageY:!t&&r?f.previousPageX:f.previousPageY,c++}}return c>0?u/c:o.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,n){return o.centroidDimension(e,n,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,n){return o.centroidDimension(e,n,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,n){return o.centroidDimension(e,n,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,n){return o.centroidDimension(e,n,!1,!1)},currentCentroidX:function(e){return o.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return o.centroidDimension(e,0,!1,!0)},noCentroid:-1};r.exports=o},254,[]); +__d(function(e,t,n,o,r){'use strict';var s=t(r[0]),i=t(r[1]),a=t(r[2]),u=t(r[3]),c=t(r[4]),l=(function(e){function t(e,n){var o;return babelHelpers.classCallCheck(this,t),(o=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e,n)))._listViewRef=null,o._shouldBounceFirstRowOnMount=!1,o._onScroll=function(e){o.props.dataSource.getOpenRowID()&&o.setState({dataSource:o.state.dataSource.setOpenRowID(null)}),o.props.onScroll&&o.props.onScroll(e)},o._renderRow=function(e,t,n){var r=o.props.renderQuickActions(e,t,n);if(!r)return o.props.renderRow(e,t,n);var s=!1;return o._shouldBounceFirstRowOnMount&&(o._shouldBounceFirstRowOnMount=!1,s=n===o.props.dataSource.getFirstRowID()),a.createElement(c,{slideoutView:r,isOpen:e.id===o.props.dataSource.getOpenRowID(),maxSwipeDistance:o._getMaxSwipeDistance(e,t,n),key:n,onOpen:function(){return o._onOpen(e.id)},onClose:function(){return o._onClose(e.id)},onSwipeEnd:function(){return o._setListViewScrollable(!0)},onSwipeStart:function(){return o._setListViewScrollable(!1)},shouldBounceOnMount:s},o.props.renderRow(e,t,n))},o._shouldBounceFirstRowOnMount=o.props.bounceFirstRowOnMount,o.state={dataSource:o.props.dataSource},o}return babelHelpers.createClass(t,null,[{key:"getNewDataSource",value:function(){return new u({getRowData:function(e,t,n){return e[t][n]},getSectionHeaderData:function(e,t){return e[t]},rowHasChanged:function(e,t){return e!==t},sectionHeaderHasChanged:function(e,t){return e!==t}})}}]),babelHelpers.createClass(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.state.dataSource.getDataSource()!==e.dataSource.getDataSource()&&this.setState({dataSource:e.dataSource})}},{key:"render",value:function(){var e=this;return a.createElement(s,babelHelpers.extends({},this.props,{ref:function(t){e._listViewRef=t},dataSource:this.state.dataSource.getDataSource(),onScroll:this._onScroll,renderRow:this._renderRow}))}},{key:"_setListViewScrollable",value:function(e){this._listViewRef&&'function'==typeof this._listViewRef.setNativeProps&&this._listViewRef.setNativeProps({scrollEnabled:e})}},{key:"getScrollResponder",value:function(){if(this._listViewRef&&'function'==typeof this._listViewRef.getScrollResponder)return this._listViewRef.getScrollResponder()}},{key:"_getMaxSwipeDistance",value:function(e,t,n){return'function'==typeof this.props.maxSwipeDistance?this.props.maxSwipeDistance(e,t,n):this.props.maxSwipeDistance}},{key:"_onOpen",value:function(e){this.setState({dataSource:this.state.dataSource.setOpenRowID(e)})}},{key:"_onClose",value:function(e){this.setState({dataSource:this.state.dataSource.setOpenRowID(null)})}}]),babelHelpers.inherits(t,e),t})(a.Component);l.propTypes={bounceFirstRowOnMount:i.bool.isRequired,dataSource:i.instanceOf(u).isRequired,maxSwipeDistance:i.oneOfType([i.number,i.func]).isRequired,renderRow:i.func.isRequired,renderQuickActions:i.func.isRequired},l.defaultProps={bounceFirstRowOnMount:!1,renderQuickActions:function(){return null}},n.exports=l},255,[214,48,30,256,252]); +__d(function(t,e,i,n,s){'use strict';var o=e(s[0]),a=(function(){function t(e){var i=this;babelHelpers.classCallCheck(this,t),this._dataSource=new o({getRowData:e.getRowData,getSectionHeaderData:e.getSectionHeaderData,rowHasChanged:function(t,n){return t.id!==i._previousOpenRowID&&n.id===i._openRowID||t.id===i._previousOpenRowID&&n.id!==i._openRowID||e.rowHasChanged(t,n)},sectionHeaderHasChanged:e.sectionHeaderHasChanged})}return babelHelpers.createClass(t,[{key:"cloneWithRowsAndSections",value:function(t,e,i){return this._dataSource=this._dataSource.cloneWithRowsAndSections(t,e,i),this._dataBlob=t,this.rowIdentities=this._dataSource.rowIdentities,this.sectionIdentities=this._dataSource.sectionIdentities,this}},{key:"getDataSource",value:function(){return this._dataSource}},{key:"getOpenRowID",value:function(){return this._openRowID}},{key:"getFirstRowID",value:function(){return this.rowIdentities?this.rowIdentities[0]&&this.rowIdentities[0][0]:Object.keys(this._dataBlob)[0]}},{key:"getLastRowID",value:function(){if(this.rowIdentities&&this.rowIdentities.length){var t=this.rowIdentities[this.rowIdentities.length-1];if(t&&t.length)return t[t.length-1]}return Object.keys(this._dataBlob)[this._dataBlob.length-1]}},{key:"setOpenRowID",value:function(t){return this._previousOpenRowID=this._openRowID,this._openRowID=t,this._dataSource=this._dataSource.cloneWithRowsAndSections(this._dataBlob,this.sectionIdentities,this.rowIdentities),this}}]),t})();i.exports=a},256,[216]); +__d(function(e,t,r,o,l){'use strict';var s=t(l[0]),n=t(l[1]),i=t(l[2]),p=t(l[3]),a=t(l[4]),b=t(l[5]),c=t(l[6])('RCTTabBar'),u=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){return n.createElement(c,{style:[C.tabGroup,this.props.style],unselectedTintColor:this.props.unselectedTintColor,unselectedItemTintColor:this.props.unselectedItemTintColor,tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,barStyle:this.props.barStyle,itemPositioning:this.props.itemPositioning,translucent:!1!==this.props.translucent},this.props.children)}}]),babelHelpers.inherits(t,e),t})(n.Component);u.Item=a,u.propTypes=babelHelpers.objectSpread({},b,{style:b.style,unselectedTintColor:s,tintColor:s,unselectedItemTintColor:s,barTintColor:s,barStyle:i.oneOf(['default','black']),translucent:i.bool,itemPositioning:i.oneOf(['fill','center','auto'])});var C=p.create({tabGroup:{flex:1}});r.exports=u},257,[43,30,48,37,258,199,65]); +__d(function(e,t,s,r,l){'use strict';var o=t(l[0]),n=t(l[1]),a=t(l[2]),c=t(l[3]),i=t(l[4]),p=t(l[5]),b=t(l[6]),u=t(l[7]),d=t(l[8]),h=(function(e){function t(){var e,s,r;babelHelpers.classCallCheck(this,t);for(var l=arguments.length,o=new Array(l),n=0;n=1&&(n=p.createElement(y,{style:t.style,allowFontScaling:t.allowFontScaling},n)),t.inputView&&(n=[n,t.inputView]),t.style.unshift(E.multilineInput),e=p.createElement(i,babelHelpers.extends({ref:this._setNativeRef},t,{children:n,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onContentSizeChange:this.props.onContentSizeChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:x.thatReturnsTrue,text:this._getText(),dataDetectorTypes:this.props.dataDetectorTypes,onScroll:this._onScroll}))}else e=p.createElement(r,babelHelpers.extends({ref:this._setNativeRef},t,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onSelectionChangeShouldSetResponder:x.thatReturnsTrue,text:this._getText()}));return p.createElement(C,{onLayout:t.onLayout,onPress:this._onPress,rejectResponderTermination:!0,accessible:t.accessible,accessibilityLabel:t.accessibilityLabel,accessibilityTraits:t.accessibilityTraits,nativeID:this.props.nativeID,testID:t.testID},e)},_renderIOS:function(){var e=babelHelpers.extends({},this.props);e.style=[this.props.style],e.selection&&null==e.selection.end&&(e.selection={start:e.selection.start,end:e.selection.start});var t=e.multiline?i:r;e.multiline&&e.style.unshift(E.multilineInput);var n=p.createElement(t,babelHelpers.extends({ref:this._setNativeRef},e,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onContentSizeChange:this.props.onContentSizeChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:x.thatReturnsTrue,text:this._getText(),dataDetectorTypes:this.props.dataDetectorTypes,onScroll:this._onScroll}));return p.createElement(C,{onLayout:e.onLayout,onPress:this._onPress,rejectResponderTermination:!0,accessible:e.accessible,accessibilityLabel:e.accessibilityLabel,accessibilityTraits:e.accessibilityTraits,nativeID:this.props.nativeID,testID:e.testID},n)},_renderAndroid:function(){var e=babelHelpers.extends({},this.props);e.style=[this.props.style],e.autoCapitalize=S.AndroidTextInput.Constants.AutoCapitalizationType[e.autoCapitalize||'sentences'];var t=this.props.children,n=0;p.Children.forEach(t,function(){return++n}),T(!(this.props.value&&n),'Cannot specify both value and children.'),n>1&&(t=p.createElement(y,null,t)),e.selection&&null==e.selection.end&&(e.selection={start:e.selection.start,end:e.selection.start});var s=p.createElement(void 0,babelHelpers.extends({ref:this._setNativeRef},e,{mostRecentEventCount:0,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,text:this._getText(),children:t,disableFullscreenUI:this.props.disableFullscreenUI,textBreakStrategy:this.props.textBreakStrategy,onScroll:this._onScroll}));return p.createElement(C,{onLayout:e.onLayout,onPress:this._onPress,accessible:this.props.accessible,accessibilityLabel:this.props.accessibilityLabel,accessibilityComponentType:this.props.accessibilityComponentType,nativeID:this.props.nativeID,testID:this.props.testID},s)},_onFocus:function(e){this.props.onFocus&&this.props.onFocus(e),this.props.selectionState&&this.props.selectionState.focus()},_onPress:function(e){(this.props.editable||void 0===this.props.editable)&&this.focus()},_onChange:function(e){this._inputRef&&this._inputRef.setNativeProps({mostRecentEventCount:e.nativeEvent.eventCount});var t=e.nativeEvent.text;this.props.onChange&&this.props.onChange(e),this.props.onChangeText&&this.props.onChangeText(t),this._inputRef&&(this._lastNativeText=t,this.forceUpdate())},_onSelectionChange:function(e){this.props.onSelectionChange&&this.props.onSelectionChange(e),this._inputRef&&(this._lastNativeSelection=e.nativeEvent.selection,(this.props.selection||this.props.selectionState)&&this.forceUpdate())},componentDidUpdate:function(){var e={};this._lastNativeText!==this.props.value&&'string'==typeof this.props.value&&(e.text=this.props.value);var t=this.props.selection;this._lastNativeSelection&&t&&(this._lastNativeSelection.start!==t.start||this._lastNativeSelection.end!==t.end)&&(e.selection=this.props.selection),Object.keys(e).length>0&&this._inputRef&&this._inputRef.setNativeProps(e),this.props.selectionState&&t&&this.props.selectionState.update(t.start,t.end)},_onBlur:function(e){this.blur(),this.props.onBlur&&this.props.onBlur(e),this.props.selectionState&&this.props.selectionState.blur()},_onTextInput:function(e){this.props.onTextInput&&this.props.onTextInput(e)},_onScroll:function(e){this.props.onScroll&&this.props.onScroll(e)}}),N=((function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}babelHelpers.createClass(t,[{key:"clear",value:function(){}},{key:"isFocused",value:function(){}}]),babelHelpers.inherits(t,e)})(f.NativeComponent),R),E=b.create({multilineInput:{paddingTop:5}});n.exports=N},259,[43,260,25,187,12,30,188,48,95,37,86,64,149,205,206,54,199,17,2,65,16]); +__d(function(s,t,e,f,u){'use strict';var h=t(u[0]),i=(function(){function s(t,e){babelHelpers.classCallCheck(this,s),this._anchorOffset=t,this._focusOffset=e,this._hasFocus=!1}return babelHelpers.createClass(s,[{key:"update",value:function(s,t){this._anchorOffset===s&&this._focusOffset===t||(this._anchorOffset=s,this._focusOffset=t,this.emit('update'))}},{key:"constrainLength",value:function(s){this.update(Math.min(this._anchorOffset,s),Math.min(this._focusOffset,s))}},{key:"focus",value:function(){this._hasFocus||(this._hasFocus=!0,this.emit('focus'))}},{key:"blur",value:function(){this._hasFocus&&(this._hasFocus=!1,this.emit('blur'))}},{key:"hasFocus",value:function(){return this._hasFocus}},{key:"isCollapsed",value:function(){return this._anchorOffset===this._focusOffset}},{key:"isBackward",value:function(){return this._anchorOffset>this._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(s,t){return this.hasFocus()&&this.getStartOffset()<=t&&s<=this.getEndOffset()}}]),s})();h(i,{blur:!0,focus:!0,update:!0}),e.exports=i},260,[261]); +__d(function(e,t,n,r,i){'use strict';var s=t(i[0]),_=t(i[1]),a=t(i[2]),o=t(i[3]),v=t(i[4])({__types:!0});var E={emit:function(e,t,n,r,i,s,_){return this.__getEventEmitter().emit(e,t,n,r,i,s,_)},emitAndHold:function(e,t,n,r,i,s,_){return this.__getEventEmitter().emitAndHold(e,t,n,r,i,s,_)},addListener:function(e,t,n){return this.__getEventEmitter().addListener(e,t,n)},once:function(e,t,n){return this.__getEventEmitter().once(e,t,n)},addRetroactiveListener:function(e,t,n){return this.__getEventEmitter().addRetroactiveListener(e,t,n)},addListenerMap:function(e,t){return this.__getEventEmitter().addListenerMap(e,t)},addRetroactiveListenerMap:function(e,t){return this.__getEventEmitter().addListenerMap(e,t)},removeAllListeners:function(){this.__getEventEmitter().removeAllListeners()},removeCurrentListener:function(){this.__getEventEmitter().removeCurrentListener()},releaseHeldEventType:function(e){this.__getEventEmitter().releaseHeldEventType(e)},__getEventEmitter:function(){if(!this.__eventEmitter){var e=new s,t=new a;this.__eventEmitter=new _(e,t)}return this.__eventEmitter}};n.exports=function(e,t){o(t,'Must supply set of valid event types');var n=e.prototype||e;o(!n.__eventEmitter,'An active emitter is already mixed in');var r=e.constructor;r&&o(r===Object||r===Function,'Mix EventEmitter into a class, not an instance'),n.hasOwnProperty(v)?babelHelpers.extends(n.__types,t):n.__types?n.__types=babelHelpers.extends({},n.__types,t):n.__types=t,babelHelpers.extends(n,E)}},261,[25,262,263,2,264]); +__d(function(e,t,n,r,i){'use strict';var s=(function(){function e(t,n){babelHelpers.classCallCheck(this,e),this._emitter=t,this._eventHolder=n,this._currentEventToken=null,this._emittingHeldEvents=!1}return babelHelpers.createClass(e,[{key:"addListener",value:function(e,t,n){return this._emitter.addListener(e,t,n)}},{key:"once",value:function(e,t,n){return this._emitter.once(e,t,n)}},{key:"addRetroactiveListener",value:function(e,t,n){var r=this._emitter.addListener(e,t,n);return this._emittingHeldEvents=!0,this._eventHolder.emitToListener(e,t,n),this._emittingHeldEvents=!1,r}},{key:"removeAllListeners",value:function(e){this._emitter.removeAllListeners(e)}},{key:"removeCurrentListener",value:function(){this._emitter.removeCurrentListener()}},{key:"listeners",value:function(e){return this._emitter.listeners(e)}},{key:"emit",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?r-1:0),s=1;s1?r-1:0),i=1;i=a.length)break;u=a[i++]}else{if((i=a.next()).done)break;u=i.value}var c=u,s=babelHelpers.slicedToArray(c,2),b=s[0],d=s[1];t[b]=d()}var f={},x=e._fileSources,y=Array.isArray(x),_=0;for(x=y?x:x["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var S;if(y){if(_>=x.length)break;S=x[_++]}else{if((_=x.next()).done)break;S=_.value}var v=S,p=babelHelpers.slicedToArray(v,2),k=p[0],D=p[1];f[k]=D()}l('BugReporting extraData:',t);var g=r(o[4]).BugReporting;g&&g.setExtraData&&g.setExtraData(t,f);var h=r(o[4]).RedBox;return h&&h.setExtraData&&h.setExtraData(t,'From BugReporting.js'),{extras:t,files:f}}}]),e})();c._extraSources=new i,c._fileSources=new i,c._subscription=null,c._redboxSubscription=null,t.exports=c},275,[24,100,144,276,4]); +__d(function(e,t,r,a,i){'use strict';r.exports=function(){try{return"React tree dumps have been temporarily disabled while React is upgraded to Fiber."}catch(e){return'Failed to dump react tree: '+e}}},276,[]); +__d(function(e,n,t,c,r){'use strict';var u=[],i={name:'default'},f={setActiveScene:function(e){i=e,u.forEach(function(e){return e(i)})},getActiveScene:function(){return i},addActiveSceneChangedListener:function(e){return u.push(e),{remove:function(){u=u.filter(function(n){return e!==n})}}}};t.exports=f},277,[]); +__d(function(e,t,n,o,r){'use strict';var a=t(r[0]),l=t(r[1]),p=t(r[2]);t(r[3]),n.exports=function(e,n,o,s,c){p(o,'Expect to have a valid rootTag, instead got ',o);var d=l.createElement(a,{rootTag:o,WrapperComponent:s},l.createElement(e,babelHelpers.extends({},n,{rootTag:o})));if(null!=e.prototype&&!0===e.prototype.unstable_isAsyncReactComponent){var i=l.unstable_AsyncMode;d=l.createElement(i,null,d)}c?t(r[4]).render(d,o):t(r[5]).render(d,o)}},278,[234,30,2,279,280,95]); +__d(function(e,n,t,r,i){'use strict';var v,o=n(i[0]),s=n(i[1]);function u(){}if(o.isTV){var f=new s,a=new Set;f.enable(this,function(e,n){if(n&&'menu'===n.eventType){for(var t=!0,r=Array.from(a.values()).reverse(),i=0;ithis.eventPool.length&&this.eventPool.push(e)}function G(e){e.eventPool=[],e.getPooled=X,e.release=$}babelHelpers.extends(V.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:Q,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t component."),n=lt,lt+=2,{node:p.createNode(n,"RCTRawText",t,{text:e},r)}}function ct(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,i=ze(e),o=null;n&&(o=ze(n)),n=r,i="\n in "+(i||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:i=""}t+=i,e=e.return}while(e);return t}new Set;var ft=[],dt=-1;function pt(e){return{current:e}}function ht(e){0>dt||(e.current=ft[dt],ft[dt]=null,dt--)}function mt(e,t){ft[++dt]=e.current,e.current=t}var gt=pt(s),yt=pt(!1),vt=s;function bt(e){return St(e)?vt:gt.current}function Tt(e,t){var n=e.type.contextTypes;if(!n)return s;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function St(e){return 2===e.tag&&null!=e.type.childContextTypes}function xt(e){St(e)&&(ht(yt),ht(gt))}function Pt(e){ht(yt),ht(gt)}function Et(e,t,n){o(gt.current===s,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),mt(gt,t),mt(yt,n)}function kt(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var i in n=n.getChildContext())o(i in r,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',ze(e)||"Unknown",i);return babelHelpers.extends({},t,n)}function Ct(e){if(!St(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||s,vt=gt.current,mt(gt,t),mt(yt,yt.current),!0}function _t(e,t){var n=e.stateNode;if(o(n,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),t){var r=kt(e,vt);n.__reactInternalMemoizedMergedChildContext=r,ht(yt),ht(gt),mt(gt,r)}else ht(yt);mt(yt,t)}function Rt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function wt(e,t,n){var r=e.alternate;return null===r?((r=new Rt(e.tag,t,e.key,e.mode)).type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Nt(e,t,n){var r=e.type,i=e.key;if(e=e.props,"function"==typeof r)var a=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"==typeof r)a=5;else switch(r){case Ee:return Ut(e.children,t,n,i);case we:a=11,t|=3;break;case ke:a=11,t|=2;break;case Ce:return(r=new Rt(15,e,i,4|t)).type=Ce,r.expirationTime=n,r;case Ue:a=16,t|=2;break;default:e:{switch("object"==typeof r&&null!==r?r.$$typeof:null){case _e:a=13;break e;case Re:a=12;break e;case Ne:a=14;break e;default:o(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==r?r:typeof r,"")}a=void 0}}return(t=new Rt(a,e,i,t)).type=r,t.expirationTime=n,t}function Ut(e,t,n,r){return(e=new Rt(10,e,r,t)).expirationTime=n,e}function At(e,t,n){return(e=new Rt(6,e,null,t)).expirationTime=n,e}function It(e,t,n){return(t=new Rt(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zt(e,t,n){return e={current:t=new Rt(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}var Mt=null,Wt=null;function Ft(e){return function(t){try{return e(t)}catch(e){}}}function jt(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Mt=Ft(function(e){return t.onCommitFiberRoot(n,e)}),Wt=Ft(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Ot(e){"function"==typeof Mt&&Mt(e)}function Dt(e){"function"==typeof Wt&&Wt(e)}function Ht(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n>t?e.earliestPendingTime=t:e.latestPendingTimen)&&(e.expirationTime=n)}function $t(e,t,n){var r=e.alternate;if(null===r){var i=e.updateQueue,o=null;null===i&&(i=e.updateQueue=Yt(e.memoizedState))}else i=e.updateQueue,o=r.updateQueue,null===i?null===o?(i=e.updateQueue=Yt(e.memoizedState),o=r.updateQueue=Yt(r.memoizedState)):i=e.updateQueue=Qt(o):null===o&&(o=r.updateQueue=Qt(i));null===o||i===o?Xt(i,t,n):null===i.lastUpdate||null===o.lastUpdate?(Xt(i,t,n),Xt(o,t,n)):(Xt(i,t,n),o.lastUpdate=t)}function Gt(e,t,n){var r=e.updateQueue;null===(r=null===r?e.updateQueue=Yt(e.memoizedState):qt(e,r)).lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function qt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Qt(t)),t}function Kt(e,t,n,r,i,o){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(o,r,i):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(null===(i="function"==typeof(e=n.payload)?e.call(o,r,i):e)||void 0===i)break;return babelHelpers.extends({},r,i);case 2:Lt=!0}return r}function Jt(e,t,n,r,i){if(Lt=!1,!(0===t.expirationTime||t.expirationTime>i)){for(var o=(t=qt(e,t)).baseState,a=null,l=0,u=t.firstUpdate,s=o;null!==u;){var c=u.expirationTime;c>i?(null===a&&(a=u,o=s),(0===l||l>c)&&(l=c)):(s=Kt(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>i?(null===c&&(c=u,null===a&&(o=s)),(0===l||l>f)&&(l=f)):(s=Kt(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(o=s),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=c,t.expirationTime=l,e.memoizedState=s}}function Zt(e,t){o("function"==typeof e,"Invalid argument passed as callback. Expected a function. Instead received: %s",e),e.call(t)}function en(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,Zt(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)null!==(t=e.callback)&&(e.callback=null,Zt(t,n)),e=e.nextEffect}function tn(e,t){return{value:e,source:t,stack:ct(t)}}var nn=pt(null),rn=pt(null),on=pt(0);function an(e){var t=e.type._context;mt(on,t._changedBits2),mt(rn,t._currentValue2),mt(nn,e),t._currentValue2=e.pendingProps.value,t._changedBits2=e.stateNode}function ln(e){var t=on.current,n=rn.current;ht(nn),ht(rn),ht(on),(e=e.type._context)._currentValue2=n,e._changedBits2=t}var un={},sn=pt(un),cn=pt(un),fn=pt(un);function dn(e){return o(e!==un,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function pn(e,t){mt(fn,t),mt(cn,e),mt(sn,un),ht(sn),mt(sn,{isInAParentText:!1})}function hn(e){ht(sn),ht(cn),ht(fn)}function mn(e){cn.current===e&&(ht(sn),ht(cn))}var gn=Object.prototype.hasOwnProperty;function yn(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function vn(e,t){if(yn(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;rm?(g=f,f=null):g=f.sibling;var y=p(i,f,l[m],u);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(i,f),o=a(y,o,m),null===c?s=y:c.sibling=y,c=y,f=g}if(m===l.length)return n(i,f),s;if(null===f){for(;mg?(y=m,m=null):y=m.sibling;var b=p(i,m,v.value,s);if(null===b){m||(m=y);break}e&&m&&null===b.alternate&&t(i,m),l=a(b,l,g),null===f?c=b:f.sibling=b,f=b,m=y}if(v.done)return n(i,m),c;if(null===m){for(;!v.done;g++,v=u.next())null!==(v=d(i,v.value,s))&&(l=a(v,l,g),null===f?c=v:f.sibling=v,f=v);return c}for(m=r(i,m);!v.done;g++,v=u.next())null!==(v=h(m,i,g,v.value,s))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),l=a(v,l,g),null===f?c=v:f.sibling=v,f=v);return e&&m.forEach(function(e){return t(i,e)}),c}return function(e,r,a,u){var s="object"==typeof a&&null!==a&&a.type===Ee&&null===a.key;s&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case xe:e:{for(c=a.key,s=r;null!==s;){if(s.key===c){if(10===s.tag?a.type===Ee:s.type===a.type){n(e,s.sibling),(r=i(s,a.type===Ee?a.props.children:a.props,u)).ref=kn(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===Ee?((r=Ut(a.props.children,e.mode,u,a.key)).return=e,e=r):((u=Nt(a,e.mode,u)).ref=kn(e,r,a),u.return=e,e=u)}return l(e);case Pe:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[],u)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=It(a,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a,u)).return=e,e=r):(n(e,r),(r=At(a,e.mode,u)).return=e,e=r),l(e);if(En(a))return m(e,r,a,u);if(Ie(a))return g(e,r,a,u);if(c&&Cn(e,a),void 0===a&&!s)switch(e.tag){case 2:case 1:u=e.type,o(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",u.displayName||u.name||"Component")}return n(e,r)}}var Rn=_n(!0),wn=_n(!1),Nn=null,Un=null,An=!1;function In(e,t){switch(e.tag){case 5:return null!==(t=at(e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=at(e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function zn(e){if(An){var t=Un;if(t){var n=t;if(!In(e,t)){if(!(t=at())||!In(e,t))return e.effectTag|=2,An=!1,void(Nn=e);var r=Nn,i=new Rt(5,null,null,0);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}Nn=e,Un=at()}else e.effectTag|=2,An=!1,Nn=e}}function Mn(e,t,n){Wn(e,t,n,t.expirationTime)}function Wn(e,t,n,r){t.child=null===e?wn(t,null,n,r):Rn(t,e.child,n,r)}function Fn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function jn(e,t,n,r,i){Fn(e,t);var o=0!=(64&t.effectTag);if(!n&&!o)return r&&_t(t,!1),Bn(e,t);n=t.stateNode,Te.current=t;var a=o?null:n.render();return t.effectTag|=1,o&&(Wn(e,t,null,i),t.child=null),Wn(e,t,a,i),t.memoizedState=n.state,t.memoizedProps=n.props,r&&_t(t,!0),t.child}function On(e){var t=e.stateNode;t.pendingContext?Et(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Et(0,t.context,!1),pn(e,t.containerInfo)}function Dn(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===t&&0!=(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===e.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===e){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}function Hn(e,t,n){var r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=!0;if(yt.current)a=!1;else if(o===i)return t.stateNode=0,an(t),Bn(e,t);var l=i.value;if(t.memoizedProps=i,null===o)l=1073741823;else if(o.value===i.value){if(o.children===i.children&&a)return t.stateNode=0,an(t),Bn(e,t);l=0}else{var u=o.value;if(u===l&&(0!==u||1/u==1/l)||u!=u&&l!=l){if(o.children===i.children&&a)return t.stateNode=0,an(t),Bn(e,t);l=0}else if(l="function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,l):1073741823,0===(l|=0)){if(o.children===i.children&&a)return t.stateNode=0,an(t),Bn(e,t)}else Dn(t,r,l,n)}return t.stateNode=l,an(t),Mn(e,t,i.children),t.child}function Bn(e,t){if(o(null===e||t.child===e.child,"Resuming work not yet implemented."),null!==t.child){var n=wt(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wt(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Ln(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:On(t);break;case 2:Ct(t);break;case 4:pn(t,t.stateNode.containerInfo);break;case 13:an(t)}return null}switch(t.tag){case 0:o(null===e,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var r=t.type,i=t.pendingProps,a=bt(t);return r=r(i,a=Tt(t,a)),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof(a=a.getDerivedStateFromProps)&&bn(t,a,i),i=Ct(t),r.updater=Tn,t.stateNode=r,r._reactInternalFiber=t,Pn(t,n),e=jn(e,t,!0,i,n)):(t.tag=1,Mn(e,t,r),t.memoizedProps=i,e=t.child),e;case 1:return i=t.type,n=t.pendingProps,yt.current||t.memoizedProps!==n?(i=i(n,r=Tt(t,r=bt(t))),t.effectTag|=1,Mn(e,t,i),t.memoizedProps=n,e=t.child):e=Bn(e,t),e;case 2:if(i=Ct(t),null===e)if(null===t.stateNode){var l=t.pendingProps,u=t.type;r=bt(t);var c=2===t.tag&&null!=t.type.contextTypes;l=new u(l,a=c?Tt(t,r):s),t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,l.updater=Tn,t.stateNode=l,l._reactInternalFiber=t,c&&((c=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,c.__reactInternalMemoizedMaskedChildContext=a),Pn(t,n),r=!0}else{u=t.type,r=t.stateNode,c=t.memoizedProps,a=t.pendingProps,r.props=c;var f=r.context;l=Tt(t,l=bt(t));var d=u.getDerivedStateFromProps;(u="function"==typeof d||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(c!==a||f!==l)&&xn(t,r,a,l),Lt=!1;var p=t.memoizedState;f=r.state=p;var h=t.updateQueue;null!==h&&(Jt(t,h,a,r,n),f=t.memoizedState),c!==a||p!==f||yt.current||Lt?("function"==typeof d&&(bn(t,d,a),f=t.memoizedState),(c=Lt||Sn(t,c,a,p,f,l))?(u||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount&&(t.effectTag|=4)):("function"==typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=a,t.memoizedState=f),r.props=a,r.state=f,r.context=l,r=c):("function"==typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else u=t.type,r=t.stateNode,a=t.memoizedProps,c=t.pendingProps,r.props=a,f=r.context,l=Tt(t,l=bt(t)),(u="function"==typeof(d=u.getDerivedStateFromProps)||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(a!==c||f!==l)&&xn(t,r,c,l),Lt=!1,f=t.memoizedState,p=r.state=f,null!==(h=t.updateQueue)&&(Jt(t,h,c,r,n),p=t.memoizedState),a!==c||f!==p||yt.current||Lt?("function"==typeof d&&(bn(t,d,c),p=t.memoizedState),(d=Lt||Sn(t,a,c,f,p,l))?(u||"function"!=typeof r.UNSAFE_componentWillUpdate&&"function"!=typeof r.componentWillUpdate||("function"==typeof r.componentWillUpdate&&r.componentWillUpdate(c,p,l),"function"==typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(c,p,l)),"function"==typeof r.componentDidUpdate&&(t.effectTag|=4),"function"==typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof r.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=256),t.memoizedProps=c,t.memoizedState=p),r.props=c,r.state=p,r.context=l,r=d):("function"!=typeof r.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.effectTag|=256),r=!1);return jn(e,t,r,i,n);case 3:return On(t),null!==(i=t.updateQueue)?(r=null!==(r=t.memoizedState)?r.element:null,Jt(t,i,t.pendingProps,null,n),(n=t.memoizedState.element)===r?e=Bn(e,t):(Mn(e,t,n),e=t.child)):e=Bn(e,t),e;case 5:return dn(fn.current),n=dn(sn.current),i="AndroidTextInput"===(i=t.type)||"RCTMultilineTextInputView"===i||"RCTSinglelineTextInputView"===i||"RCTText"===i||"RCTVirtualText"===i,n!==(i=n.isInAParentText!==i?{isInAParentText:i}:n)&&(mt(cn,t),mt(sn,i)),null===e&&zn(t),i=t.memoizedProps,n=t.pendingProps,yt.current||i!==n?(i=n.children,Fn(e,t),Mn(e,t,i),t.memoizedProps=n,e=t.child):e=Bn(e,t),e;case 6:return null===e&&zn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return pn(t,t.stateNode.containerInfo),i=t.pendingProps,yt.current||t.memoizedProps!==i?(null===e?t.child=Rn(t,null,i,n):Mn(e,t,i),t.memoizedProps=i,e=t.child):e=Bn(e,t),e;case 14:return i=t.type.render,n=t.pendingProps,r=t.ref,yt.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(Mn(e,t,i=i(n,r)),t.memoizedProps=n,e=t.child):e=Bn(e,t),e;case 10:return n=t.pendingProps,yt.current||t.memoizedProps!==n?(Mn(e,t,n),t.memoizedProps=n,e=t.child):e=Bn(e,t),e;case 11:return n=t.pendingProps.children,yt.current||null!==n&&t.memoizedProps!==n?(Mn(e,t,n),t.memoizedProps=n,e=t.child):e=Bn(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Bn(e,t):(Mn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Hn(e,t,n);case 12:e:if(r=t.type,a=t.pendingProps,c=t.memoizedProps,i=r._currentValue2,l=r._changedBits2,yt.current||0!==l||c!==a){if(t.memoizedProps=a,void 0!==(u=a.unstable_observedBits)&&null!==u||(u=1073741823),t.stateNode=u,0!=(l&u))Dn(t,r,l,n);else if(c===a){e=Bn(e,t);break e}n=(n=a.children)(i),t.effectTag|=1,Mn(e,t,n),e=t.child}else e=Bn(e,t);return e;default:o(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function Yn(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)p.appendChild(e.node,n.stateNode.node);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}var Qn=void 0,Vn=void 0,Xn=void 0;function $n(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return xt(t),null;case 3:return hn(),Pt(),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(t.effectTag&=-3),Qn(t),null;case 5:mn(t);var r=dn(fn.current),i=t.type;if(null!==e&&null!=t.stateNode){var l=e.memoizedProps,u=t.stateNode,s=dn(sn.current),c=Xe(null,l,n,u.canonical.viewConfig.validAttributes);u.canonical.currentProps=n,Vn(e,t,c,i,l,n,r,s),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return o(null!==t.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;u=dn(sn.current),e=lt,lt+=2,l=a.get(i),o("RCTView"!==i||!u.isInAParentText,"Nesting of within is not currently supported."),i=Xe(null,De,n,l.validAttributes),Yn(n={node:r=p.createNode(e,l.uiViewClassName,r,i,t),canonical:n=new ut(e,l,n)},t),t.stateNode=n,null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Xn(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return o(null!==t.stateNode,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;r=dn(fn.current),i=dn(sn.current),t.stateNode=st(n,r,i,t)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return hn(),Qn(t),null;case 13:return ln(t),null;case 12:return null;case 0:o(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:o(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function Gn(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ct(n)),null!==n&&ze(n),n=null!==r?r:"",t=t.value,null!==e&&2===e.tag&&ze(e);try{if(t instanceof Error){var i=t.message,o=t.name,a=t;try{a.message=(i?o+": "+i:o)+"\n\nThis error is located at:"+n}catch(e){}}else a="string"==typeof t?Error(t+"\n\nThis error is located at:"+n):Error("Unspecified error at:"+n);h.handleException(a,!1)}catch(e){e&&e.suppressReactErrorLogging}}function qn(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){yr(e,t)}else t.current=null}function Kn(e,t){switch(t.tag){case 2:case 5:case 6:break;case 3:case 4:break;default:o(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Jn(e,t,n){(n=Vt(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qr(r),Gn(e,t)},n}function Zn(e,t,n){(n=Vt(n)).tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===dr?dr=new Set([this]):dr.add(this);var n=t.value,r=t.stack;Gn(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function er(e){switch(e.tag){case 2:xt(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return hn(),Pt(),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return mn(e),null;case 16:return 1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 4:return hn(),null;case 13:return ln(e),null;default:return null}}Qn=function(e){var t=e.stateNode;if(null!==e.firstEffect){var n=t.containerInfo,r=p.createChildSet(n);e:for(var i=e.child;null!==i;){if(5===i.tag||6===i.tag)p.appendChildToSet(r,i.stateNode.node);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break e;for(;null===i.sibling;){if(null===i.return||i.return===e)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.pendingChildren=r,e.effectTag|=4,p.completeRoot(n,r)}},Vn=function(e,t,n){var r=null===t.firstEffect;if(e=e.stateNode,r&&null===n)t.stateNode=e;else{var i=e.node;n={node:r?null!==n?p.cloneNodeWithNewProps(i,n,t):p.cloneNode(i,t):null!==n?p.cloneNodeWithNewChildrenAndProps(i,n,t):p.cloneNodeWithNewChildren(i,t),canonical:e.canonical},t.stateNode=n,r?t.effectTag|=4:Yn(n,t)}},Xn=function(e,t,n,r){n!==r&&(e=dn(fn.current),n=dn(sn.current),t.stateNode=st(r,e,n,t),t.effectTag|=4)};var tr=$e(),nr=tr,rr=0,ir=!1,or=null,ar=null,lr=0,ur=-1,sr=!1,cr=null,fr=!1,dr=null;function pr(){if(null!==or)for(var e=or.return;null!==e;){var t=e;switch(t.tag){case 2:xt(t);break;case 3:hn(),Pt();break;case 5:mn(t);break;case 4:hn();break;case 13:ln(t)}e=e.return}ar=null,lr=0,ur=-1,sr=!1,or=null}function hr(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=$n(t,e);var i=e;if(1073741823===lr||1073741823!==i.expirationTime){var o=0;switch(i.tag){case 3:case 2:var a=i.updateQueue;null!==a&&(o=a.expirationTime)}for(a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==t)return t;null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1n?e.earliestSuspendedTime=n:rRr)&&(Rr=e),e}function br(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!ir&&0!==lr&&tFr&&o(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.")}e=e.return}}function Tr(){return nr=$e()-tr,2+(nr/10|0)}var Sr=null,xr=null,Pr=0,Er=void 0,kr=!1,Cr=null,_r=0,Rr=0,wr=!1,Nr=!1,Ur=null,Ar=null,Ir=!1,zr=!1,Mr=!1,Wr=null,Fr=1e3,jr=0,Or=1;function Dr(e){if(0!==Pr){if(e>Pr)return;if(null!==Er)Ge=null,clearTimeout(Er)}Pr=e,$e(),Ge=Yr,Er=setTimeout(Je,1)}function Hr(e,t,n,r){0<=r&&setTimeout(function(){var n=e.latestSuspendedTime;0!==n&&n<=t&&(0===(n=e.latestPingedTime)||n=_r)&&(!wr||Tr()>=_r);)Tr(),Xr(Cr,_r,!0),Lr();else for(;null!==Cr&&0!==_r&&(0===e||e>=_r);)Xr(Cr,_r,!1),Lr();null!==Ar&&(Pr=0,Er=null),0!==_r&&Dr(_r),Ar=null,wr=!1,Vr()}function Vr(){if(jr=0,null!==Wr){var e=Wr;Wr=null;for(var t=0;te.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Ht(e,r)):rOr)&&(wr=!0)}function qr(e){o(null!==Cr,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),Cr.expirationTime=0,Nr||(Nr=!0,Ur=e)}function Kr(e,t,n,r,i){var a=t.current;if(n){var l;n=n._reactInternalFiber;e:{for(o(2===Me(n)&&2===n.tag,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue."),l=n;3!==l.tag;){if(St(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}l=l.return,o(l,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}l=l.stateNode.context}n=St(n)?kt(n,l):l}else n=s;return null===t.context?t.context=n:t.pendingContext=n,t=i,(i=Vt(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),$t(a,i,r),br(a,r),r}function Jr(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?o(!1,"Unable to find node on an unmounted component."):o(!1,"Argument appears to not be a ReactComponent. Keys: %s",Object.keys(e))),null===(e=je(t))?null:e.stateNode}function Zr(e,t,n,r){var i=t.current;return Kr(e,t,n,i=vr(Tr(),i),r)}function ei(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:return e.child.stateNode.canonical;default:return e.child.stateNode}}function ti(e){var t=e.findFiberByHostInstance;return jt(babelHelpers.extends({},e,{findHostInstanceByFiber:function(e){return null===(e=je(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function ni(e,t,n){var r=3=0&&(r='video'),a.saveToCameraRoll(e,r)}},{key:"getPhotos",value:function(e){if(arguments.length>1){var o=arguments[1],r=arguments[2]||function(){};a.getPhotos(e).then(o,r)}return a.getPhotos(e)}}]),e})());m.GroupTypesOptions=l,m.AssetTypeOptions=d,r.exports=m},286,[48,4,90,2]); +__d(function(t,n,r,i,e){'use strict';var g=n(e[0]).Clipboard;r.exports={getString:function(){return g.getString()},setString:function(t){g.setString(t)}}},287,[4]); +__d(function(e,r,t,n,s){'use strict';var o={open:function(e){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.reject({message:'DatePickerAndroid is not supported on this platform.'}));case 1:case"end":return e.stop()}},null,this)}};t.exports=o},288,[]); +__d(function(e,o,a,n,r){'use strict';var c=o(r[0]).ImagePickerIOS,t={canRecordVideos:function(e){return c.canRecordVideos(e)},canUseCamera:function(e){return c.canUseCamera(e)},openCameraDialog:function(e,o,a){return e=babelHelpers.objectSpread({videoMode:!1},e),c.openCameraDialog(e,o,a)},openSelectDialog:function(e,o,a){return e=babelHelpers.objectSpread({showImages:!0,showVideos:!1},e),c.openSelectDialog(e,o,a)}};a.exports=t},289,[4]); +__d(function(e,n,t,o,r){'use strict';var i,c=n(r[0]),u=n(r[1]),f=n(r[2]),v=(n(r[3]),f.NetInfo),s=new u(v),a=new c;function d(e){return'none'!==e.type&&'unknown'!==e.type}i=function(e){return'none'!==e&&'unknown'!==e};var C=new c,p={addEventListener:function(e,n){var t;if('connectionChange'===e)t=s.addListener("networkStatusDidChange",function(e){n({type:e.connectionType,effectiveType:e.effectiveConnectionType})});else{if('change'!==e)return{remove:function(){}};t=s.addListener("networkStatusDidChange",function(e){n(e.network_info)})}return a.set(n,t),{remove:function(){return p.removeEventListener(e,n)}}},removeEventListener:function(e,n){var t=a.get(n);t&&(t.remove(),a.delete(n))},fetch:function(){return v.getCurrentConnectivity().then(function(e){return e.network_info})},getConnectionInfo:function(){return v.getCurrentConnectivity().then(function(e){return{type:e.connectionType,effectiveType:e.effectiveConnectionType}})},isConnected:{addEventListener:function(e,n){var t=function(t){'change'===e?n(i(t)):'connectionChange'===e&&n(d(t))};return C.set(n,t),p.addEventListener(e,t),{remove:function(){return p.isConnected.removeEventListener(e,n)}}},removeEventListener:function(e,n){var t=C.get(n);p.removeEventListener(e,t),C.delete(n)},fetch:function(){return p.getConnectionInfo().then(d)}},isConnectionExpensive:function(){return Promise.reject(new Error('Currently not supported on iOS'))}};t.exports=p},290,[100,119,4,12]); +__d(function(e,t,i,o,n){'use strict';var a=t(n[0]),c=t(n[1]).PushNotificationManager,r=t(n[2]),l=new a(c),s=new Map,u=(function(){function e(t){var i=this;babelHelpers.classCallCheck(this,e),this._data={},this._remoteNotificationCompleteCallbackCalled=!1,this._isRemote=t.remote,this._isRemote&&(this._notificationId=t.notificationId),t.remote?Object.keys(t).forEach(function(e){var o=t[e];'aps'===e?(i._alert=o.alert,i._sound=o.sound,i._badgeCount=o.badge,i._category=o.category,i._contentAvailable=o['content-available'],i._threadID=o['thread-id']):i._data[e]=o}):(this._badgeCount=t.applicationIconBadgeNumber,this._sound=t.soundName,this._alert=t.alertBody,this._data=t.userInfo,this._category=t.category)}return babelHelpers.createClass(e,null,[{key:"presentLocalNotification",value:function(e){c.presentLocalNotification(e)}},{key:"scheduleLocalNotification",value:function(e){c.scheduleLocalNotification(e)}},{key:"cancelAllLocalNotifications",value:function(){c.cancelAllLocalNotifications()}},{key:"removeAllDeliveredNotifications",value:function(){c.removeAllDeliveredNotifications()}},{key:"getDeliveredNotifications",value:function(e){c.getDeliveredNotifications(e)}},{key:"removeDeliveredNotifications",value:function(e){c.removeDeliveredNotifications(e)}},{key:"setApplicationIconBadgeNumber",value:function(e){c.setApplicationIconBadgeNumber(e)}},{key:"getApplicationIconBadgeNumber",value:function(e){c.getApplicationIconBadgeNumber(e)}},{key:"cancelLocalNotifications",value:function(e){c.cancelLocalNotifications(e)}},{key:"getScheduledLocalNotifications",value:function(e){c.getScheduledLocalNotifications(e)}},{key:"addEventListener",value:function(t,i){var o;r('notification'===t||'register'===t||'registrationError'===t||'localNotification'===t,'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events'),'notification'===t?o=l.addListener("remoteNotificationReceived",function(t){i(new e(t))}):'localNotification'===t?o=l.addListener("localNotificationReceived",function(t){i(new e(t))}):'register'===t?o=l.addListener("remoteNotificationsRegistered",function(e){i(e.deviceToken)}):'registrationError'===t&&(o=l.addListener("remoteNotificationRegistrationError",function(e){i(e)})),s.set(t,o)}},{key:"removeEventListener",value:function(e,t){r('notification'===e||'register'===e||'registrationError'===e||'localNotification'===e,'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events');var i=s.get(e);i&&(i.remove(),s.delete(e))}},{key:"requestPermissions",value:function(e){var t={};return t=e?{alert:!!e.alert,badge:!!e.badge,sound:!!e.sound}:{alert:!0,badge:!0,sound:!0},c.requestPermissions(t)}},{key:"abandonPermissions",value:function(){c.abandonPermissions()}},{key:"checkPermissions",value:function(e){r('function'==typeof e,'Must provide a valid callback'),c.checkPermissions(e)}},{key:"getInitialNotification",value:function(){return c.getInitialNotification().then(function(t){return t&&new e(t)})}}]),babelHelpers.createClass(e,[{key:"finish",value:function(e){this._isRemote&&this._notificationId&&!this._remoteNotificationCompleteCallbackCalled&&(this._remoteNotificationCompleteCallbackCalled=!0,c.onFinishRemoteNotification(this._notificationId,e))}},{key:"getMessage",value:function(){return this._alert}},{key:"getSound",value:function(){return this._sound}},{key:"getCategory",value:function(){return this._category}},{key:"getAlert",value:function(){return this._alert}},{key:"getContentAvailable",value:function(){return this._contentAvailable}},{key:"getBadgeCount",value:function(){return this._badgeCount}},{key:"getData",value:function(){return this._data}},{key:"getThreadID",value:function(){return this._threadID}}]),e})();u.FetchResult={NewData:'UIBackgroundFetchResultNewData',NoData:'UIBackgroundFetchResultNoData',ResultFailed:'UIBackgroundFetchResultFailed'},i.exports=u},291,[119,4,2]); +__d(function(t,s,e,n,i){'use strict';var a=s(i[0]),r=s(i[1]).SettingsManager,c=s(i[2]),l=[],o={_settings:r&&r.settings,get:function(t){return this._settings[t]},set:function(t){this._settings=babelHelpers.extends(this._settings,t),r.setValues(t)},watchKeys:function(t,s){'string'==typeof t&&(t=[t]),c(Array.isArray(t),'keys should be a string or array of strings');var e=l.length;return l.push({keys:t,callback:s}),e},clearWatch:function(t){t1&&void 0!==arguments[1]?arguments[1]:{};return s('object'==typeof e&&null!==e,'Content to share must be a valid object'),s('string'==typeof e.url||'string'==typeof e.message,'At least one of URL and message is required'),s('object'==typeof t&&null!==t,'Options must be a valid object'),new Promise(function(n,o){c.showShareActionSheetWithOptions(babelHelpers.objectSpread({},e,t,{tintColor:r(t.tintColor)}),function(e){return o(e)},function(e,t){n(e?{action:'sharedAction',activityType:t}:{action:'dismissedAction'})})})}},{key:"sharedAction",get:function(){return'sharedAction'}},{key:"dismissedAction",get:function(){return'dismissedAction'}}]),e})());n.exports=l},293,[12,2,57,4]); +__d(function(e,t,r,s,l){'use strict';var n=t(l[0]),a=t(l[1]).StatusBarManager,i=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.inherits(t,e),t})(n);r.exports=new i(a)},294,[119,4]); +__d(function(e,r,t,n,s){'use strict';var o={open:function(e){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.reject({message:'TimePickerAndroid is not supported on this platform.'}));case 1:case"end":return e.stop()}},null,this)}};t.exports=o},295,[]); +__d(function(r,t,i,n,e){'use strict';var o=t(e[0]).Vibration,a=(t(e[1]),!1),u=0;function f(r){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a||(a=!0,0===r[0]&&(o.vibrate(),r=r.slice(1)),0!==r.length?setTimeout(function(){return v(++u,r,t,1)},r[0]):a=!1)}function v(r,t,i,n){if(a&&r===u){if(o.vibrate(),n>=t.length){if(!i)return void(a=!1);n=0}setTimeout(function(){return v(r,t,i,n+1)},t[n])}}var c={vibrate:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:400,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!a)if('number'==typeof r)o.vibrate();else{if(!Array.isArray(r))throw new Error('Vibration pattern should be a number or array');f(r,t)}},cancel:function(){a=!1}};i.exports=c},296,[4,12]); +__d(function(t,i,r,n,o){'use strict';var a=i(o[0]).Vibration,e=i(o[1]),s={vibrate:function(){e(void 0===arguments[0],'Vibration patterns not supported.'),a.vibrate()}};r.exports=s},297,[4,2]); +__d(function(e,n,t,l,r){'use strict';var s;s=(function(e){function n(){return babelHelpers.classCallCheck(this,n),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).apply(this,arguments))}return babelHelpers.createClass(n,[{key:"render",value:function(){return null}}],[{key:"ignoreWarnings",value:function(e){}},{key:"install",value:function(){}},{key:"uninstall",value:function(){}}]),babelHelpers.inherits(n,e),n})(n(r[0]).Component),t.exports=s},298,[30]); +__d(function(n,o,e,t,d){var i=o(d[0]),r=o(d[1]);e.exports=function(n,o){return'number'!=typeof n&&'window'!==n&&(n=i.findNodeHandle(n)||'window'),r.__takeSnapshot(n,o)}},299,[95,54]); +__d(function(e,t,a,r,l){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=babelHelpers.interopRequireDefault(t(l[0])),i=t(l[1]),u=babelHelpers.interopRequireDefault(t(l[2])),o=t(l[3]),d=t(l[4]),f=t(l[5]),c=babelHelpers.interopRequireDefault(t(l[6])),p=t(l[7]),s=babelHelpers.interopRequireDefault(t(l[8])),_=babelHelpers.interopRequireDefault(t(l[9]));t(l[10]).Sentry.config('https://971e30ae411b4b9487c00e5e290d3df3@sentry.io/1296064').install();var b=(0,p.createReactNavigationReduxMiddleware)('root',function(e){return e.navigation}),E=(0,i.createStore)((0,c.default)(f.AppNavigator),(0,i.compose)((0,i.applyMiddleware)(u.default,b),window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__():function(e){return e})),v=(0,p.reduxifyNavigator)(f.AppNavigator,'root'),g=(0,o.connect)(function(e){return{state:e.navigation}})(v);_.default.registerEventHandler(t(l[11]).bind(null,E));var D=function(){return n.default.createElement(o.Provider,{store:E},n.default.createElement(d.View,{style:{flex:1}},n.default.createElement(d.StatusBar,{barStyle:"light-content",translucent:!0}),n.default.createElement(g,null),n.default.createElement(s.default,null)))};r.default=D},300,[31,301,304,305,1,332,863,864,840,843,781,875]); +__d(function(e,t,r,n,o){'use strict';Object.defineProperty(n,'__esModule',{value:!0});var i,u=(i=t(o[0]))&&'object'==typeof i&&'default'in i?i.default:i,a={INIT:'@@redux/INIT'+Math.random().toString(36).substring(7).split('').join('.'),REPLACE:'@@redux/REPLACE'+Math.random().toString(36).substring(7).split('').join('.')},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},f=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(u)throw u;for(var n=!1,o={},a=0;a0&&void 0!==arguments[0]?arguments[0]:'store',r=arguments[1]||t+'Subscription',n=(function(e){function n(r,o){p(this,n);var i=l(this,e.call(this,r,o));return i[t]=r.store,i}return a(n,e),n.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[r]=null,e},n.prototype.render=function(){return i.Children.only(this.props.children)},n})(i.Component);return n.propTypes={store:s.storeShape.isRequired,children:u.default.element.isRequired},n.childContextTypes=((e={})[t]=s.storeShape.isRequired,e[r]=s.subscriptionShape,e),n}n.default=f()},306,[31,48,307,308]); +__d(function(e,u,s,i,t){'use strict';i.__esModule=!0,i.storeShape=i.subscriptionShape=void 0;var d,a=u(t[0]),f=(d=a)&&d.__esModule?d:{default:d};i.subscriptionShape=f.default.shape({trySubscribe:f.default.func.isRequired,tryUnsubscribe:f.default.func.isRequired,notifyNestedSubs:f.default.func.isRequired,isSubscribed:f.default.func.isRequired}),i.storeShape=f.default.shape({subscribe:f.default.func.isRequired,dispatch:f.default.func.isRequired,getState:f.default.func.isRequired})},307,[48]); +__d(function(t,r,c,e,n){'use strict';e.__esModule=!0,e.default=function(t){try{throw new Error(t)}catch(t){}}},308,[]); +__d(function(t,e,o,n,r){'use strict';n.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},r=n.getDisplayName,d=void 0===r?function(t){return'ConnectAdvanced('+t+')'}:r,S=n.methodName,w=void 0===S?'connectAdvanced':S,N=n.renderCountProp,g=void 0===N?void 0:N,U=n.shouldHandleStateChanges,O=void 0===U||U,x=n.storeKey,P=void 0===x?'store':x,_=n.withRef,W=void 0!==_&&_,D=y(n,['getDisplayName','methodName','renderCountProp','shouldHandleStateChanges','storeKey','withRef']),I=P+'Subscription',M=b++,j=((e={})[P]=c.storeShape,e[I]=c.subscriptionShape,e),E=((o={})[I]=c.subscriptionShape,o);return function(e){(0,p.default)('function'==typeof e,'You must pass a component to the function returned by '+w+'. Instead received '+JSON.stringify(e));var o=e.displayName||e.name||'Component',n=d(o),r=s({},D,{getDisplayName:d,methodName:w,renderCountProp:g,shouldHandleStateChanges:O,storeKey:P,withRef:W,displayName:n,wrappedComponentName:o,WrappedComponent:e}),c=(function(o){function i(t,e){h(this,i);var r=l(this,o.call(this,t,e));return r.version=M,r.state={},r.renderCount=0,r.store=t[P]||e[P],r.propsMode=Boolean(t[P]),r.setWrappedInstance=r.setWrappedInstance.bind(r),(0,p.default)(r.store,'Could not find "'+P+"\" in either the context or props of \""+n+"\". Either wrap the root component in a , or explicitly pass \""+P+'" as a prop to "'+n+'".'),r.initSelector(),r.initSubscription(),r}return f(i,o),i.prototype.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[I]=e||this.context[I],t},i.prototype.componentDidMount=function(){O&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},i.prototype.componentWillReceiveProps=function(t){this.selector.run(t)},i.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},i.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=v,this.store=null,this.selector.run=v,this.selector.shouldComponentUpdate=!1},i.prototype.getWrappedInstance=function(){return(0,p.default)(W,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+w+'() call.'),this.wrappedInstance},i.prototype.setWrappedInstance=function(t){this.wrappedInstance=t},i.prototype.initSelector=function(){var e=t(this.store.dispatch,r);this.selector=C(e,this.store),this.selector.run(this.props)},i.prototype.initSubscription=function(){if(O){var t=(this.propsMode?this.props:this.context)[I];this.subscription=new u.default(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},i.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(m)):this.notifyNestedSubs()},i.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},i.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},i.prototype.addExtraProps=function(t){if(!(W||g||this.propsMode&&this.subscription))return t;var e=s({},t);return W&&(e.ref=this.setWrappedInstance),g&&(e[g]=this.renderCount++),this.propsMode&&this.subscription&&(e[I]=this.subscription),e},i.prototype.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return(0,a.createElement)(e,this.addExtraProps(t.props))},i})(a.Component);return c.WrappedComponent=e,c.displayName=n,c.childContextTypes=E,c.contextTypes=j,c.propTypes=j,(0,i.default)(c,e)}};var i=d(e(r[0])),p=d(e(r[1])),a=e(r[2]),u=d(e(r[3])),c=e(r[4]);function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function y(t,e){var o={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n]);return o}var b=0,m={};function v(){}function C(t,e){var o={run:function(n){try{var r=t(e.getState(),n);(r!==o.props||o.error)&&(o.shouldComponentUpdate=!0,o.props=r,o.error=null)}catch(t){o.shouldComponentUpdate=!0,o.error=t}}};return o}},309,[310,311,31,312,307]); +__d(function(e,t,r,o,p){'use strict';var a={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,l=f&&f(Object);r.exports=function e(t,r,o){if('string'!=typeof r){if(l){var p=f(r);p&&p!==l&&e(t,p,o)}var g=s(r);i&&(g=g.concat(i(r)));for(var O=0;O=0||Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}function v(e,r,t){for(var a=r.length-1;a>=0;a--){var o=r[a](e);if(o)return o}return function(r,a){throw new Error('Invalid value of type '+typeof e+' for '+t+' argument when connecting component '+a.wrappedComponentName+'.')}}function P(e,r){return e===r}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.connectHOC,t=void 0===r?u.default:r,a=e.mapStateToPropsFactories,o=void 0===a?l.default:a,d=e.mapDispatchToPropsFactories,g=void 0===d?p.default:d,h=e.mergePropsFactories,m=void 0===h?s.default:h,E=e.selectorFactory,q=void 0===E?c.default:E;return function(e,r,a){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},p=u.pure,l=void 0===p||p,s=u.areStatesEqual,c=void 0===s?P:s,d=u.areOwnPropsEqual,h=void 0===d?i.default:d,E=u.areStatePropsEqual,O=void 0===E?i.default:E,S=u.areMergedPropsEqual,w=void 0===S?i.default:S,y=f(u,['pure','areStatesEqual','areOwnPropsEqual','areStatePropsEqual','areMergedPropsEqual']),M=v(e,o,'mapStateToProps'),T=v(r,g,'mapDispatchToProps'),_=v(a,m,'mergeProps');return t(q,n({methodName:'connect',getDisplayName:function(e){return'Connect('+e+')'},shouldHandleStateChanges:Boolean(e),initMapStateToProps:M,initMapDispatchToProps:T,initMergeProps:_,pure:l,areStatesEqual:c,areOwnPropsEqual:h,areStatePropsEqual:O,areMergedPropsEqual:w},y))}}a.default=g()},313,[309,314,315,328,329,330]); +__d(function(t,e,r,n,u){'use strict';n.__esModule=!0,n.default=function(t,e){if(f(t,e))return!0;if('object'!=typeof t||null===t||'object'!=typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var u=0;u=0||Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e]);return t}function u(r,n,t,e){return function(o,i){return t(r(o,i),n(e,i),i)}}function s(r,n,t,e,o){var i=o.areStatesEqual,a=o.areOwnPropsEqual,p=o.areStatePropsEqual,u=!1,s=void 0,c=void 0,d=void 0,P=void 0,l=void 0;function f(o,u){var f,v,O=!a(u,c),M=!i(o,s);return s=o,c=u,O&&M?(d=r(s,c),n.dependsOnOwnProps&&(P=n(e,c)),l=t(d,P,c)):O?(r.dependsOnOwnProps&&(d=r(s,c)),n.dependsOnOwnProps&&(P=n(e,c)),l=t(d,P,c)):M?(f=r(s,c),v=!p(f,d),d=f,v&&(l=t(d,P,c)),l):l}return function(o,i){return u?f(o,i):(d=r(s=o,c=i),P=n(e,c),l=t(d,P,c),u=!0,l)}}},330,[331]); +__d(function(e,o,r,t,p){'use strict';t.__esModule=!0,t.default=function(e,o,r,t){d(e,'mapStateToProps',t),d(o,'mapDispatchToProps',t),d(r,'mergeProps',t)};var s,n=o(p[0]),a=(s=n)&&s.__esModule?s:{default:s};function d(e,o,r){if(!e)throw new Error('Unexpected value for '+o+' in '+r+'.');'mapStateToProps'!==o&&'mapDispatchToProps'!==o||e.hasOwnProperty('dependsOnOwnProps')||(0,a.default)('The selector for '+o+' of '+r+' did not specify a value for dependsOnOwnProps.')}},331,[308]); +__d(function(e,r,a,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.AppNavigator=void 0;var o=r(l[0]),i=babelHelpers.interopRequireDefault(r(l[1])),u=babelHelpers.interopRequireDefault(r(l[2])),d=babelHelpers.interopRequireDefault(r(l[3])),p=(0,o.createStackNavigator)({Home:{screen:i.default},Chapters:{screen:u.default},AudioPlayer:{screen:d.default}},{mode:'card',headerMode:'screen'});t.AppNavigator=p},332,[333,455,835,840]); +__d(function(t,e,r,a,u){r.exports={get createNavigationContainer(){return e(u[0]).default},get StateUtils(){return e(u[1]).default},get getNavigation(){return e(u[2]).default},get createNavigator(){return e(u[3]).default},get createStackNavigator(){return e(u[4]).default},get StackNavigator(){return e(u[4]).default},get createSwitchNavigator(){return e(u[5]).default},get SwitchNavigator(){return e(u[5]).default},get createDrawerNavigator(){return e(u[6]).createDrawerNavigator},get DrawerNavigator(){return e(u[6]).createDrawerNavigator},get createTabNavigator(){return e(u[7]).createTabNavigator},get TabNavigator(){return e(u[7]).createTabNavigator},get createBottomTabNavigator(){return e(u[8]).createBottomTabNavigator},get createMaterialTopTabNavigator(){return e(u[8]).createMaterialTopTabNavigator},get NavigationActions(){return e(u[9]).default},get StackActions(){return e(u[10]).default},get DrawerActions(){return e(u[6]).DrawerActions},get StackRouter(){return e(u[11]).default},get TabRouter(){return e(u[12]).default},get DrawerRouter(){return e(u[6]).DrawerRouter},get SwitchRouter(){return e(u[13]).default},get Transitioner(){return e(u[14]).default},get StackView(){return e(u[15]).default},get StackViewCard(){return e(u[16]).default},get StackViewTransitionConfigs(){return e(u[17]).default},get SafeAreaView(){return e(u[18]).default},get SceneView(){return e(u[19]).default},get ResourceSavingSceneView(){return e(u[20]).default},get Header(){return e(u[21]).default},get HeaderTitle(){return e(u[22]).default},get HeaderBackButton(){return e(u[23]).default},get DrawerView(){return e(u[6]).DrawerView},get DrawerItems(){return e(u[6]).DrawerNavigatorItems},get DrawerSidebar(){return e(u[6]).DrawerSidebar},get TabView(){return e(u[7]).TabView},get TabBarTop(){return e(u[7]).TabBarTop},get TabBarBottom(){return e(u[7]).TabBarBottom},get SwitchView(){return e(u[24]).default},get NavigationEvents(){return e(u[25]).default},get withNavigation(){return e(u[26]).default},get withNavigationFocus(){return e(u[27]).default},get withOrientation(){return e(u[28]).default}}},333,[334,350,337,351,352,394,398,410,426,336,375,388,449,396,385,355,358,382,362,376,451,361,365,366,397,452,453,454,372]); +__d(function(t,e,n,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a._TESTING_ONLY_reset_container_count=function(){0},a.default=function(t){var e=(function(e){function n(e){var a;return babelHelpers.classCallCheck(this,n),(a=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).call(this,e))).subs=null,a._actionEventSubscribers=new Set,a._handleOpenURL=function(e){var n=e.url,i=a.props,r=i.enableURLHandling,s=i.uriPrefix;if(!1!==r){var o=(0,c.urlToPathAndParams)(n,s);if(o){var u=o.path,l=o.params,p=t.router.getActionForPathAndParams(u,l);p&&a.dispatch(p)}}},a._persistNavigationState=function(t){var e;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(e=a.props.persistenceKey){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,regeneratorRuntime.awrap(s.AsyncStorage.setItem(e,JSON.stringify(t)));case 5:case"end":return n.stop()}},null,this)},a.dispatch=function(e){if(a.props.navigation)return a.props.navigation.dispatch(e);a._navState=a._navState||a.state.nav;var n=a._navState;(0,p.default)(n,'should be set in constructor if stateful');var i=t.router.getStateForAction(e,n),r=null===i?n:i,s=function(){a._actionEventSubscribers.forEach(function(t){return t({type:'action',action:e,state:r,lastState:n})})};return null===i?(s(),!0):r!==n?(a._navState=r,a.setState({nav:r},function(){a._onNavigationStateChange(n,r,e),s(),a._persistNavigationState(r)}),!0):(s(),!1)},a._getScreenProps=function(){return a.props.screenProps},v(e),a._initialAction=u.default.init(),a._isStateful()&&(a.subs=s.BackHandler.addEventListener('hardwareBackPress',function(){if(a._isMounted)return a.dispatch(u.default.back());a.subs&&a.subs.remove()})),a.state={nav:a._isStateful()&&!e.persistenceKey?t.router.getStateForAction(a._initialAction):null},a}return babelHelpers.createClass(n,null,[{key:"getDerivedStateFromProps",value:function(t,e){return v(t),null}}]),babelHelpers.createClass(n,[{key:"_renderLoading",value:function(){return this.props.renderLoadingExperimental?this.props.renderLoadingExperimental():null}},{key:"_isStateful",value:function(){return h(this.props)}},{key:"_validateProps",value:function(t){if(!this._isStateful()){t.navigation,t.screenProps;var e=babelHelpers.objectWithoutProperties(t,["navigation","screenProps"]),n=Object.keys(e);if(0!==n.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: \""+n.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.")}}},{key:"_onNavigationStateChange",value:function(t,e,n){void 0===this.props.onNavigationStateChange&&this._isStateful()&&process.env.REACT_NAV_LOGGING||'function'==typeof this.props.onNavigationStateChange&&this.props.onNavigationStateChange(t,e,n)}},{key:"componentDidUpdate",value:function(){this._navState===this.state.nav&&(this._navState=null)}},{key:"componentDidMount",value:function(){var e,n,a,i,r,o,u,l,p,h,v,g,d,b,_=this;return regeneratorRuntime.async(function(S){for(;;)switch(S.prev=S.next){case 0:if(this._isMounted=!0,this._isStateful()){S.next=3;break}return S.abrupt("return");case 3:if(0,s.Linking.addEventListener('url',this._handleOpenURL),e=this.props,n=e.persistenceKey,a=e.uriPrefix,i=e.enableURLHandling,r=null,o=null,!1===i){S.next=20;break}if(S.t0=n,!S.t0){S.next=15;break}return S.next=14,regeneratorRuntime.awrap(s.AsyncStorage.getItem(n));case 14:S.t0=S.sent;case 15:return o=S.t0,S.next=18,regeneratorRuntime.awrap(s.Linking.getInitialURL());case 18:u=S.sent,r=u&&(0,c.urlToPathAndParams)(u,a);case 20:if(l=this._initialAction,(p=this.state.nav)||(process.env.REACT_NAV_LOGGING,p=t.router.getStateForAction(l)),o)try{p=JSON.parse(o),f=!0}catch(t){}if(r&&(v=(h=r).path,g=h.params,(d=t.router.getActionForPathAndParams(v,g))&&(process.env.REACT_NAV_LOGGING,l=d,p=t.router.getStateForAction(d,p))),b=function(){return _._actionEventSubscribers.forEach(function(t){return t({type:'action',action:l,state:_.state.nav,lastState:null})})},p!==this.state.nav){S.next=29;break}return b(),S.abrupt("return");case 29:this.setState({nav:p},function(){f=!1,b()});case 30:case"end":return S.stop()}},null,this)}},{key:"componentDidCatch",value:function(t,e){if(!f)throw t;f=!1,this.dispatch(u.default.init())}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,s.Linking.removeEventListener('url',this._handleOpenURL),this.subs&&this.subs.remove(),this._isStateful()&&0}},{key:"render",value:function(){var e=this,n=this.props.navigation;if(this._isStateful()){var a=this.state.nav;if(!a)return this._renderLoading();this._navigation&&this._navigation.state===a||(this._navigation=(0,l.default)(t.router,a,this.dispatch,this._actionEventSubscribers,this._getScreenProps,function(){return e._navigation})),n=this._navigation}return(0,p.default)(n,'failed to get navigation'),r.default.createElement(t,babelHelpers.extends({},this.props,{navigation:n}))}}]),babelHelpers.inherits(n,e),n})(r.default.Component);return e.router=t.router,e.navigationOptions=null,(0,o.polyfill)(e)};var r=babelHelpers.interopRequireDefault(e(i[0])),s=e(i[1]),o=e(i[2]),u=babelHelpers.interopRequireDefault(e(i[3])),l=babelHelpers.interopRequireDefault(e(i[4])),p=babelHelpers.interopRequireDefault(e(i[5])),c=(babelHelpers.interopRequireDefault(e(i[6])),e(i[7]));function h(t){return!t.navigation}function v(t){if(!h(t)){t.navigation,t.screenProps;var e=babelHelpers.objectWithoutProperties(t,["navigation","screenProps"]),n=Object.keys(e);if(0!==n.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: \""+n.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.")}}var f=!1},334,[31,1,335,336,337,339,343,344]); +__d(function(t,e,n,o,i){'use strict';function p(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function l(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function r(t,e){try{var n=this.props,o=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}Object.defineProperty(o,'__esModule',{value:!0}),p.__suppressDeprecationWarning=!0,l.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,o.polyfill=function(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error('Can only polyfill class components');if('function'!=typeof t.getDerivedStateFromProps&&'function'!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,o=null,i=null;if('function'==typeof e.componentWillMount?n='componentWillMount':'function'==typeof e.UNSAFE_componentWillMount&&(n='UNSAFE_componentWillMount'),'function'==typeof e.componentWillReceiveProps?o='componentWillReceiveProps':'function'==typeof e.UNSAFE_componentWillReceiveProps&&(o='UNSAFE_componentWillReceiveProps'),'function'==typeof e.componentWillUpdate?i='componentWillUpdate':'function'==typeof e.UNSAFE_componentWillUpdate&&(i='UNSAFE_componentWillUpdate'),null!==n||null!==o||null!==i){var s=t.displayName||t.name,a='function'==typeof t.getDerivedStateFromProps?'getDerivedStateFromProps()':'getSnapshotBeforeUpdate()';throw Error('Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n'+s+' uses '+a+' but also contains the following legacy lifecycles:'+(null!==n?'\n '+n:'')+(null!==o?'\n '+o:'')+(null!==i?'\n '+i:'')+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if('function'==typeof t.getDerivedStateFromProps&&(e.componentWillMount=p,e.componentWillReceiveProps=l),'function'==typeof e.getSnapshotBeforeUpdate){if('function'!=typeof e.componentDidUpdate)throw new Error('Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype');e.componentWillUpdate=r;var c=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,t,e,o)}}return t}},335,[]); +__d(function(a,e,t,i,n){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r='Navigation/BACK',o='Navigation/INIT',m={BACK:r,INIT:o,NAVIGATE:"Navigation/NAVIGATE",SET_PARAMS:"Navigation/SET_PARAMS",back:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:r,key:a.key,immediate:a.immediate}},init:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={type:o};return a.params&&(e.params=a.params),e},navigate:function(a){var e={type:"Navigation/NAVIGATE",routeName:a.routeName};return a.params&&(e.params=a.params),a.action&&(e.action=a.action),a.key&&(e.key=a.key),e},setParams:function(a){return{type:"Navigation/SET_PARAMS",key:a.key,params:a.params}}};i.default=m},336,[]); +__d(function(e,t,n,r,u){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,n,r,u,i){var l=e.getActionCreators(t,null),c={actions:l,router:e,state:t,dispatch:n,getScreenProps:u,getChildNavigation:function(e){return(0,o.default)(c,e,i)},isFocused:function(e){var t=i().state,n=t.routes,r=t.index;return null==e||n[r].key===e},addListener:function(e,t){return'action'!==e?{remove:function(){}}:(r.add(t),{remove:function(){r.delete(t)}})},dangerouslyGetParent:function(){return null}},d=babelHelpers.objectSpread({},(0,a.default)(c.state),l);return Object.keys(d).forEach(function(e){c[e]=function(){return c.dispatch(d[e].apply(d,arguments))}}),c};var a=babelHelpers.interopRequireDefault(t(u[0])),o=babelHelpers.interopRequireDefault(t(u[1]))},337,[338,340]); +__d(function(e,t,a,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=babelHelpers.interopRequireDefault(t(o[0])),i=babelHelpers.interopRequireDefault(t(o[1])),u=function(e){return{goBack:function(t){var a=t;return void 0===t&&e.key&&((0,i.default)('string'==typeof e.key,'key should be a string'),a=e.key),r.default.back({key:a})},navigate:function(e,t,a){return'string'==typeof e?r.default.navigate({routeName:e,params:t,action:a}):((0,i.default)('object'==typeof e,'Must navigateTo an object or a string'),(0,i.default)(null==t,'Params must not be provided to .navigate() when specifying an object'),(0,i.default)(null==a,'Child action must not be provided to .navigate() when specifying an object'),r.default.navigate(e))},setParams:function(t){return(0,i.default)(e.key&&'string'==typeof e.key,'setParams cannot be called by root navigator'),r.default.setParams({params:t,key:e.key})}}};n.default=u},338,[336,339]); +__d(function(n,e,r,i,o){var a=function(n){};r.exports=function(n,e,r,i,o,t,f,d){if(a(e),!n){var u;if(void 0===e)u=new Error('Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.');else{var c=[r,i,o,t,f,d],l=0;(u=new Error(e.replace(/%s/g,function(){return c[l++]}))).name='Invariant Violation'}throw u.framesToPop=1,u}}},339,[]); +__d(function(e,t,r,a,n){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=babelHelpers.interopRequireDefault(t(n[0])),u=babelHelpers.interopRequireDefault(t(n[1])),o=babelHelpers.interopRequireDefault(t(n[2])),s=(babelHelpers.interopRequireDefault(t(n[3])),function(e){return function(t,r){var a=e.params;return a&&t in a?a[t]:r}});var l=function e(t,r,a){var n=t._childrenNavigation||(t._childrenNavigation={}),l=t.state.routes.find(function(e){return e.key===r});if(!l)return null;if(n[r]&&n[r].state===l)return n[r];var d=(0,u.default)(t.router,l.routeName),c=l.routes&&'number'==typeof l.index?l.routes[l.index]:null,f=babelHelpers.objectSpread({},t.actions,t.router.getActionCreators(l,t.state.key),d?d.getActionCreators(c,l.key):{},(0,o.default)(l)),p={};if(Object.keys(f).forEach(function(e){p[e]=function(){var r=f[e].apply(void 0,arguments);return t.dispatch(r)}}),n[r])return n[r]=babelHelpers.objectSpread({},n[r],p,{state:l,router:d,actions:f,getParam:s(l)}),n[r];var b=(0,i.default)(t.addListener,r);return n[r]=babelHelpers.objectSpread({},p,{state:l,router:d,actions:f,getParam:s(l),getChildNavigation:function(t){return e(n[r],t,function(){var e=a();return e&&e.getChildNavigation(r)})},isFocused:function(){var e=a();if(!e)return!1;var t=e.state,n=t.routes,i=t.index;return!!e.isFocused()&&n[i].key===r},dispatch:t.dispatch,getScreenProps:t.getScreenProps,dangerouslyGetParent:a,addListener:b.addListener}),n[r]};a.default=l},340,[341,342,338,339]); +__d(function(e,t,n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){var n=new Set,r=new Set,i=new Set,u=new Set,o=new Set,l=function(){[n,r,i,u,o].forEach(function(e){return e.clear()}),s.forEach(function(e){return e&&e.remove()})},c=function(e){switch(e){case'action':return n;case'willFocus':return r;case'didFocus':return i;case'willBlur':return u;case'didBlur':return o;default:return null}},d=function(e,t){var n=babelHelpers.objectSpread({},t,{type:e}),r=c(e);r&&r.forEach(function(e){e(n)})},a='didBlur',s=['willFocus','didFocus','willBlur','didBlur','action'].map(function(n){return e(n,function(e){var r=e.state,i=e.lastState,u=e.action,o=i&&i.routes,c=r&&r.routes,s=(i&&i.routes&&i.routes[i.index].key,c&&c[r.index].key),f=s===t,w=o&&o.find(function(e){return e.key===t}),B=c&&c.find(function(e){return e.key===t}),F={context:t+":"+u.type+"_"+(e.context||'Root'),state:B,lastState:w,action:u,type:n},v=!!r&&r.isTransitioning,y=a;'didBlur'===a&&('willFocus'===n&&f?d(a='willFocus',F):'action'===n&&f&&d(a='willFocus',F)),'willFocus'===a&&('didFocus'===n&&f&&!v?d(a='didFocus',F):'action'===n&&f&&!v&&d(a='didFocus',F)),'didFocus'===a&&(f?'willBlur'===n?d(a='willBlur',F):'action'===n&&'didFocus'===y&&d('action',F):d(a='willBlur',F)),'willBlur'===a&&('action'!==n||f||v?'didBlur'===n&&d(a='didBlur',F):d(a='didBlur',F)),'didBlur'!==a||B||l()})});return{addListener:function(e,t){var n=c(e);if(!n)throw new Error("Invalid event name \""+e+"\"");n.add(t);return{remove:function(){n.delete(t)}}}}}},341,[]); +__d(function(e,t,o,r,u){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if(e.childRouters&&e.childRouters[t])return e.childRouters[t];return e.getComponentForRouteName(t).router}},342,[]); +__d(function(e,t,n,o,r){Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){return"https://reactnavigation.org/docs/"+e}},343,[]); +__d(function(e,t,a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.createPathParser=r.urlToPathAndParams=void 0;var i=babelHelpers.interopRequireWildcard(t(n[0])),o=babelHelpers.interopRequireDefault(t(n[1])),l=babelHelpers.interopRequireDefault(t(n[2])),u=t(n[3]),s=function(e,t,a){return t.slice(1).reduce(function(e,t,r){var n=a[r];if(!n||n.asterisk)return e;var i,o=n.name;try{i=decodeURIComponent(t)}catch(e){}return e[o]=i||t,e},babelHelpers.objectSpread({},e))},c=function(e,t){return e[t.findIndex(function(e){return e.asterisk})+1]};r.urlToPathAndParams=function(e,t){var a=e.match(/^(.*)\?(.*)$/),r=a?u.parse(a[2]):{},n=a?a[1]:e,i=t||'://',o=n.split(i)[1];return void 0===o&&(o=n),'/'===o&&(o=''),'/'===o[o.length-1]&&(o=o.slice(0,-1)),{path:o,params:r}};r.createPathParser=function(e,t){var a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};Object.keys(e).forEach(function(e){var a=r[e]||t[e].path;void 0===a&&(a=e),(0,l.default)(null===a||'string'==typeof a,"Route path for "+e+" must be specified as a string, or null.");var o=null!==a,u=[],s=o?(0,i.default)(a,u):null,c=[],d=''===a||!o,f=(0,i.default)(d?'*':a+"/*",c);n[e]={exactRe:s,exactReKeys:u,extendedPathRe:f,extendedPathReKeys:c,isWildcard:d,toPath:null===a?function(){return''}:(0,i.compile)(a)}}),a=Object.entries(n);return{getActionForPathAndParams:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'',r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a,i=Array.isArray(n),l=0;for(n=i?n:n["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var u;if(i){if(l>=n.length)break;u=n[l++]}else{if((l=n.next()).done)break;u=l.value}var d=u,f=babelHelpers.slicedToArray(d,2),h=f[0],p=f[1],b=p.exactRe,v=p.exactReKeys,m=p.extendedPathRe,P=p.extendedPathReKeys,y=e[h],g=b&&b.exec(t);if(g&&g.length){var x=m&&m.exec(t),R=null;if(x&&y){var A=c(x,P);R=y.getActionForPathAndParams(A,r)}return o.default.navigate({routeName:h,params:s(r,g,v),action:R})}}var k=a,H=Array.isArray(k),S=0;for(k=H?k:k["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var j;if(H){if(S>=k.length)break;j=k[S++]}else{if((S=k.next()).done)break;j=S.value}var K=j,F=babelHelpers.slicedToArray(K,2),O=F[0],T=F[1],_=T.extendedPathRe,q=T.extendedPathReKeys,N=e[O],D=_&&_.exec(t);if(D&&D.length){var E=c(D,q),I=null;if(N&&(I=N.getActionForPathAndParams(E,r)),!I)continue;return o.default.navigate({routeName:O,params:s(r,D,q),action:I})}}return null},getPathAndParamsForRoute:function(t){var a=t.routeName,r=t.params,i=e[a],o=n[a],l=o.toPath,u=o.exactReKeys,s=l(r),c={};if(r&&Object.keys(r).filter(function(e){return!u.find(function(t){return t.name===e})}).forEach(function(e){c[e]=r[e]}),i){var d=i.getPathAndParamsForState(t);return{path:s?s+"/"+d.path:d.path,params:d.params?babelHelpers.objectSpread({},c,d.params):c}}return{path:s,params:c}}}}},344,[345,336,339,347]); +__d(function(e,t,r,n,i){var o=t(i[0]);r.exports=m,r.exports.parse=a,r.exports.compile=function(e,t){return l(a(e,t))},r.exports.tokensToFunction=l,r.exports.tokensToRegExp=v;var p=new RegExp(['(\\\\.)','([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))'].join('|'),'g');function a(e,t){for(var r,n=[],i=0,o=0,a='',u=t&&t.delimiter||'/';null!=(r=p.exec(e));){var l=r[0],s=r[1],g=r.index;if(a+=e.slice(o,g),o=g+l.length,s)a+=s[1];else{var h=e[o],x=r[2],d=r[3],v=r[4],m=r[5],w=r[6],E=r[7];a&&(n.push(a),a='');var y=null!=x&&null!=h&&h!==x,R='+'===w||'*'===w,$='?'===w||'*'===w,b=r[2]||u,T=v||m;n.push({name:d||i++,prefix:x||'',delimiter:b,optional:$,repeat:R,partial:y,asterisk:!!E,pattern:T?f(T):E?'.*':'[^'+c(b)+']+?'})}}return o=o.length)break;u=o[a++]}else{if((a=o.next()).done)break;u=a.value}var l=u.replace(/\+/g,' ').split('='),y=babelHelpers.slicedToArray(l,2),d=y[0],b=y[1];b=void 0===b?null:f(b,e),n(f(d,e),b,t)}return Object.keys(t).sort().reduce(function(r,e){var n=t[e];return Boolean(n)&&'object'==typeof n&&!Array.isArray(n)?r[e]=s(n):r[e]=n,r},Object.create(null))}t.extract=y,t.parse=d,t.stringify=function(r,e){!1===(e=babelHelpers.extends({encode:!0,strict:!0,arrayFormat:'none'},e)).sort&&(e.sort=function(){});var n=u(e);return r?Object.keys(r).sort(e.sort).map(function(t){var o=r[t];if(void 0===o)return'';if(null===o)return l(t,e);if(Array.isArray(o)){var i=[],a=o.slice(),u=Array.isArray(a),c=0;for(a=u?a:a["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var f;if(u){if(c>=a.length)break;f=a[c++]}else{if((c=a.next()).done)break;f=c.value}var s=f;void 0!==s&&i.push(n(t,s,i.length))}return i.join('&')}return l(t,e)+'='+l(o,e)}).filter(function(r){return r.length>0}).join('&'):''},t.parseUrl=function(r,e){return{url:r.split('?')[0]||'',query:d(y(r),e)}}},347,[348,349]); +__d(function(t,e,n,o,r){'use strict';n.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}},348,[]); +__d(function(e,t,r,n,o){'use strict';var c=new RegExp('%[a-f0-9]{2}','gi'),a=new RegExp("(%[a-f0-9]{2})+",'gi');function p(e,t){try{return decodeURIComponent(e.join(''))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],p(r),p(n))}function i(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(c),r=1;r3&&void 0!==arguments[3]&&arguments[3],u=o.indexOf(e,r),i=t?e.index:u,d=o.replaceAtIndex(e,u,n);return d.index=i,d},replaceAtIndex:function(e,r,n){if((0,i.default)(!!e.routes[r],'invalid index %s for replacing route %s',r,n.key),e.routes[r]===n&&r===e.index)return e;var t=e.routes.slice();return t[r]=n,babelHelpers.objectSpread({},e,{index:r,routes:t})},reset:function(e,r,n){(0,i.default)(r.length&&Array.isArray(r),'invalid routes to replace');var t=void 0===n?r.length-1:n;if(e.routes.length===r.length&&e.index===t){if(e.routes.every(function(e,n){return r[n]===e}))return e}return(0,i.default)(!!r[t],'invalid index %s to reset',t),babelHelpers.objectSpread({},e,{index:t,routes:r})}},d=o;t.default=d},350,[339]); +__d(function(e,t,r,o,n){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=babelHelpers.interopRequireDefault(t(n[0])),s=t(n[1]);babelHelpers.interopRequireDefault(t(n[2]));var i=function(e,t,r){var o=(function(o){function n(){var e,t,r;babelHelpers.classCallCheck(this,n);for(var o=arguments.length,a=new Array(o),s=0;s1&&void 0!==arguments[1]?arguments[1]:{},l=(0,d.default)(e,t);return(0,a.default)(l)};u.default=f},352,[334,353]); +__d(function(e,t,a,i,l){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=babelHelpers.interopRequireDefault(t(l[0])),o=babelHelpers.interopRequireDefault(t(l[1])),u=babelHelpers.interopRequireDefault(t(l[2])),r=babelHelpers.interopRequireDefault(t(l[3]));var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.initialRouteKey,i=t.initialRouteName,l=t.initialRouteParams,s=t.paths,d=t.navigationOptions,f=t.disableKeyboardHandling,p={initialRouteKey:a,initialRouteName:i,initialRouteParams:l,paths:s,navigationOptions:d,getCustomActionCreators:t.getCustomActionCreators},b=(0,r.default)(e,p),R=(0,o.default)(u.default,b,t);return f||(R=(0,n.default)(R,t)),R};i.default=s},353,[354,351,355,388]); +__d(function(e,t,n,r,u){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=babelHelpers.interopRequireDefault(t(u[0])),o=t(u[1]);r.default=function(e,t){var n,r;return r=n=(function(n){function r(){var e,n,u;babelHelpers.classCallCheck(this,r);for(var s=arguments.length,l=new Array(s),i=0;i(u?H.vertical||C:H.horizontal||I))&&(Math.abs(v)>T&&b&&!(0===h))},onPanResponderMove:function(e,t){var r=n.props,i=r.transitionProps,a=i.navigation,p=i.position,l=i.layout,d=i.scene,u=r.mode,c=a.state.index,f='modal'===u,g=d.descriptor.options.gestureDirection,h='string'==typeof g?'inverted'===g:s.I18nManager.isRTL,v=n._gestureStartValue,_=f?'dy':'dx',m=f?l.height.__getValue():l.width.__getValue(),b='dx'===_&&h?v+t[_]/m:v-t[_]/m,P=(0,o.default)(c-1,b,c);p.setValue(P)},onPanResponderTerminationRequest:function(){return!1},onPanResponderRelease:function(e,t){var r=n.props,i=r.transitionProps,a=i.navigation,o=i.position,p=i.layout,l=i.scene,d=r.mode,u=a.state.index,c='modal'===d,f=l.descriptor.options.gestureDirection,g='string'==typeof f?'inverted'===f:s.I18nManager.isRTL;if(n._isResponding){n._isResponding=!1;var h=null==n._immediateIndex?u:n._immediateIndex,v=c?p.height.__getValue():p.width.__getValue(),_=g?-1:1,m=_*t[c?'dy':'dx'],b=_*t[c?'vy':'vx'],P=v/k,y=Math.max(Math.abs(b),P),H=g?(v-m)/y:m/y,R=g?m/y:(v-m)/y;o.stopAnimation(function(e){return b<-.5?(n.props.onGestureCanceled&&n.props.onGestureCanceled(),void n._reset(h,H)):b>.5?(n.props.onGestureFinish&&n.props.onGestureFinish(),void n._goBack(h,R)):void(e<=u-V?(n.props.onGestureFinish&&n.props.onGestureFinish(),n._goBack(h,R)):(n.props.onGestureCanceled&&n.props.onGestureCanceled(),n._reset(h,H)))})}}}),n._onFloatingHeaderLayout=function(e){n.setState({floatingHeaderHeight:e.nativeEvent.layout.height})},n._getTransitionConfig=function(){var e='modal'===n.props.mode;return h.default.getTransitionConfig(n.props.transitionConfig,n.props.transitionProps,n.props.lastTransitionProps,e)},n._renderCard=function(e){var t=n._getTransitionConfig().screenInterpolator,r=t&&t(babelHelpers.objectSpread({},n.props.transitionProps,{scene:e})),i=null!==e.descriptor.options.header,o=n._getHeaderMode(),s=0;return i||'float'!==o||(s=-n.state.floatingHeaderHeight),a.default.createElement(p.default,babelHelpers.extends({},n.props.transitionProps,{key:"card_"+e.key,style:[r,{marginTop:s},n.props.cardStyle],scene:e}),n._renderInnerScene(e))},n.state={floatingHeaderHeight:E(e.isLandscape)},n}return babelHelpers.createClass(t,[{key:"_renderHeader",value:function(e,t){var n=e.descriptor.options.header;if(null===n&&'screen'===t)return null;if(a.default.isValidElement(n))return n;var r=n||function(e){return a.default.createElement(l.default,e)},i=this._getTransitionConfig(),o=i.headerLeftInterpolator,s=i.headerTitleInterpolator,p=i.headerRightInterpolator,d=this.props,u=(d.mode,d.transitionProps),c=(d.lastTransitionProps,babelHelpers.objectWithoutProperties(d,["mode","transitionProps","lastTransitionProps"]));return a.default.createElement(g.NavigationProvider,{value:e.descriptor.navigation},r(babelHelpers.objectSpread({},c,u,{scene:e,mode:t,transitionPreset:this._getHeaderTransitionPreset(),layoutPreset:this._getHeaderLayoutPreset(),backTitleVisible:this._getheaderBackTitleVisible(),leftInterpolator:o,titleInterpolator:s,rightInterpolator:p})))}},{key:"_animatedSubscribe",value:function(e){D(e.transitionProps.layout.width),D(e.transitionProps.layout.height),D(e.transitionProps.position)}},{key:"_reset",value:function(e,t){(0,v.supportsImprovedSpringAnimation)()?s.Animated.spring(this.props.transitionProps.position,{toValue:e,stiffness:5e3,damping:600,mass:3,useNativeDriver:this.props.transitionProps.position.__isNative}).start():s.Animated.timing(this.props.transitionProps.position,{toValue:e,duration:t,easing:H,useNativeDriver:this.props.transitionProps.position.__isNative}).start()}},{key:"_goBack",value:function(e,t){var n=this,r=this.props.transitionProps,i=r.navigation,a=r.position,o=r.scenes,p=Math.max(e-1,0);this._immediateIndex=p;var l=function(){n._immediateIndex=null;var e=o.find(function(e){return e.index===p+1});!n._isResponding&&e&&(i.dispatch(d.default.back({key:e.route.key,immediate:!0})),i.dispatch(u.default.completeTransition()))};(0,v.supportsImprovedSpringAnimation)()?s.Animated.spring(a,{toValue:p,stiffness:5e3,damping:600,mass:3,useNativeDriver:a.__isNative}).start(l):s.Animated.timing(a,{toValue:p,duration:t,easing:H,useNativeDriver:a.__isNative}).start(l)}},{key:"render",value:function(){var e=this,t=null,n=this._getHeaderMode();if('float'===n){var r=this.props.transitionProps.scene;t=a.default.createElement(s.View,{pointerEvents:"box-none",onLayout:this._onFloatingHeaderLayout},this._renderHeader(r,n))}var i=this.props,o=i.transitionProps,p=o.scene,l=o.scenes,d=(i.mode,p.descriptor.options),u='boolean'!=typeof d.gesturesEnabled||d.gesturesEnabled,c=u?this._panResponder:null,f=u?c.panHandlers:{},g=[M.container,this._getTransitionConfig().containerStyle];return a.default.createElement(s.View,babelHelpers.extends({},f,{style:g}),a.default.createElement(s.View,{style:M.scenes},l.map(function(t){return e._renderCard(t)})),t)}},{key:"_getHeaderMode",value:function(){return this.props.headerMode?this.props.headerMode:'modal'===this.props.mode?'screen':'float'}},{key:"_getHeaderLayoutPreset",value:function(){var e=this.props.headerLayoutPreset;return e&&R.includes(e)?e:'center'}},{key:"_getHeaderTransitionPreset",value:function(){if('screen'===this._getHeaderMode())return'fade-in-place';var e=this.props.headerTransitionPreset;return e&&x.includes(e)?e:'fade-in-place'}},{key:"_getheaderBackTitleVisible",value:function(){return this.props.headerBackTitleVisible}},{key:"_renderInnerScene",value:function(e){var t=e.descriptor,n=(t.options,t.navigation),r=(0,t.getComponent)(),i=this.props.screenProps,o=this._getHeaderMode();return'screen'===o?a.default.createElement(s.View,{style:M.container},a.default.createElement(s.View,{style:M.scenes},a.default.createElement(c.default,{screenProps:i,navigation:n,component:r})),this._renderHeader(e,o)):a.default.createElement(c.default,{screenProps:i,navigation:n,component:r})}}]),babelHelpers.inherits(t,e),t})(a.default.Component),M=s.StyleSheet.create({container:{flex:1,flexDirection:'column-reverse'},scenes:{flex:1}}),G=(0,f.default)(S);r.default=G},356,[31,357,1,358,361,336,375,376,372,377,382,384]); +__d(function(n,t,o,r,u){o.exports=function(n,t,o){return to?o:n:nt?t:n}},357,[]); +__d(function(e,t,l,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=babelHelpers.interopRequireDefault(t(a[0])),o=t(a[1]),n=babelHelpers.interopRequireDefault(t(a[2])),i=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.children,l=e.pointerEvents,r=e.style;return s.default.createElement(o.Animated.View,{pointerEvents:l,ref:this.props.onComponentRef,style:[p.main,r]},t)}}]),babelHelpers.inherits(t,e),t})(s.default.Component),p=o.StyleSheet.create({main:babelHelpers.objectSpread({},o.StyleSheet.absoluteFillObject,{backgroundColor:'#E9E9EF',shadowColor:'black',shadowOffset:{width:0,height:0},shadowOpacity:.2,shadowRadius:5})}),u=i=(0,n.default)(i);r.default=u},358,[31,1,359]); +__d(function(e,t,n,o,i){Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){return(function(t){function n(e,t){var o;return babelHelpers.classCallCheck(this,n),(o=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).call(this,e,t)))._onComponentRef=function(e){o._component=e,e&&(0,r.default)('function'==typeof e.setNativeProps,'component must implement method `setNativeProps`')},o._onPositionChange=function(){if(o._component){var e=o._computePointerEvents();o._pointerEvents!==e&&(o._pointerEvents=e,o._component.setNativeProps({pointerEvents:e}))}},o._pointerEvents=o._computePointerEvents(),o}return babelHelpers.createClass(n,[{key:"componentWillUnmount",value:function(){this._positionListener&&this._positionListener.remove()}},{key:"render",value:function(){return this._bindPosition(),this._pointerEvents=this._computePointerEvents(),s.default.createElement(e,babelHelpers.extends({},this.props,{pointerEvents:this._pointerEvents,onComponentRef:this._onComponentRef}))}},{key:"_bindPosition",value:function(){this._positionListener&&this._positionListener.remove(),this._positionListener=new p.default(this.props.position,this._onPositionChange)}},{key:"_computePointerEvents",value:function(){var e=this.props,t=e.navigation,n=e.position,o=e.scene;if(o.isStale||t.state.index!==o.index)return o.index>t.state.index?'box-only':'none';var i=n.__getAnimatedValue()-t.state.index;return Math.abs(i)>a?'box-only':'auto'}}]),babelHelpers.inherits(n,t),n})(s.default.Component)};var s=babelHelpers.interopRequireDefault(t(i[0])),r=babelHelpers.interopRequireDefault(t(i[1])),p=babelHelpers.interopRequireDefault(t(i[2])),a=.01},359,[31,339,360]); +__d(function(e,t,l,a,n){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;t(n[0]);var s=(function(){function e(t,l){babelHelpers.classCallCheck(this,e),this._value=t,this._token=t.addListener(l)}return babelHelpers.createClass(e,[{key:"remove",value:function(){this._value.removeListener(this._token)}}]),e})();a.default=s},360,[1]); +__d(function(e,t,r,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i,a=babelHelpers.interopRequireDefault(t(o[0])),l=t(o[1]),s=babelHelpers.interopRequireDefault(t(o[2])),d=babelHelpers.interopRequireDefault(t(o[3])),p=babelHelpers.interopRequireDefault(t(o[4])),u=babelHelpers.interopRequireDefault(t(o[5])),c=babelHelpers.interopRequireDefault(t(o[6])),f=babelHelpers.interopRequireDefault(t(o[7])),h=function(e,t,r,n){if('left'===e){var o={left:20,right:20};return r||(o.left=0),n||(o.right=0),o}if('center'===e){var i={left:70,right:70};return r||n||(i.left=0,i.right=0),i}},b=function(e){return e&&!l.Platform.isPad?32:44},g=(function(e){function r(){var e,t,n;babelHelpers.classCallCheck(this,r);for(var o=arguments.length,i=new Array(o),l=0;l2)return null;var f=r(e,function(t){var r=t.children;return a.default.createElement(l.Animated.View,{style:[o(babelHelpers.objectSpread({},i.props,e))]},r)},function(t){var r=t.children;return a.default.createElement(l.Animated.View,{style:[n(babelHelpers.objectSpread({},i.props,e))]},r)});if(null===f)return f;var h=0!==c||p?'none':'box-none';return a.default.createElement(l.View,{key:t+"_"+u,pointerEvents:h,style:[m.item,m[t],e.style]},f)}}},{key:"_renderSubView",value:function(e,t,r,n){var o=e.scene,i=o.index,s=o.isStale,d=o.key,p=this.props.navigation.state.index-i;if(Math.abs(p)>2)return null;var u=r(e);if(null==u)return null;var c=0!==p||s?'none':'box-none';return a.default.createElement(l.Animated.View,{pointerEvents:c,key:t+"_"+d,style:[m.item,m[t],e.style,n(babelHelpers.objectSpread({},this.props,e))]},u)}},{key:"_renderHeader",value:function(e){var r=e.scene.descriptor.options;if(null===r.header)return null;var n=this._renderLeft(e),i=this._renderRight(e),s=this._renderTitle(e,{hasLeftComponent:!!n,hasRightComponent:!!i,headerTitleContainerStyle:r.headerTitleContainerStyle}),d=this.props,p=(d.isLandscape,d.transitionPreset),u={style:m.header,key:"scene_"+e.scene.key};return r.headerLeft||r.headerBackImage||'uikit'!==p?a.default.createElement(l.View,u,s,n,i):a.default.createElement(l.MaskedViewIOS,babelHelpers.extends({},u,{maskElement:a.default.createElement(l.View,{style:m.iconMaskContainer},a.default.createElement(l.Image,{source:t(o[8]),style:m.iconMask}),a.default.createElement(l.View,{style:m.iconMaskFillerRect}))}),s,n,i)}},{key:"render",value:function(){var e,t=this,r=this.props,n=r.mode,o=r.scene,i=r.isLandscape;if('float'===n){var d={};this.props.scenes.forEach(function(e){d[e.index]=e}),e=Object.values(d).map(function(e){return{position:t.props.position,progress:t.props.progress,scene:e}}).map(this._renderHeader,this)}else e=this._renderHeader({position:new l.Animated.Value(this.props.scene.index),progress:new l.Animated.Value(0),scene:this.props.scene});var p=o.descriptor.options,u=p.headerStyle,c=void 0===u?{}:u,f=l.StyleSheet.flatten(c),h=b(i),g=(f.alignItems,f.justifyContent,f.flex,f.flexDirection,f.flexGrow,f.flexShrink,f.flexBasis,f.flexWrap,f.position,f.padding,f.paddingHorizontal,f.paddingRight,f.paddingLeft,f.top,f.right,f.bottom,f.left,babelHelpers.objectWithoutProperties(f,["alignItems","justifyContent","flex","flexDirection","flexGrow","flexShrink","flexBasis","flexWrap","position","padding","paddingHorizontal","paddingRight","paddingLeft","top","right","bottom","left"])),k=[p.headerTransparent?m.transparentContainer:m.container,{height:h},g],v=p.headerForceInset||{top:'always',bottom:'never'};return a.default.createElement(l.Animated.View,{style:[this.props.layoutInterpolator(this.props),p.headerTransparent?null:{backgroundColor:g.backgroundColor||y}]},a.default.createElement(s.default,{forceInset:v,style:k},a.default.createElement(l.View,{style:l.StyleSheet.absoluteFill},p.headerBackground),a.default.createElement(l.View,{style:m.flexOne},e)))}}],[{key:"HEIGHT",get:function(){return 64}}]),babelHelpers.inherits(r,e),r})(a.default.PureComponent);g.defaultProps={layoutInterpolator:c.default.forLayout,leftInterpolator:c.default.forLeft,leftButtonInterpolator:c.default.forLeftButton,leftLabelInterpolator:c.default.forLeftLabel,titleFromLeftInterpolator:c.default.forCenterFromLeft,titleInterpolator:c.default.forCenter,rightInterpolator:c.default.forRight},i={borderBottomWidth:l.StyleSheet.hairlineWidth,borderBottomColor:'#A7A7AA'};var y='#F7F7F7',m=l.StyleSheet.create({container:babelHelpers.objectSpread({backgroundColor:y},i),transparentContainer:babelHelpers.objectSpread({position:'absolute',top:0,left:0,right:0},i,{borderBottomWidth:0,borderBottomColor:'transparent',elevation:0}),header:babelHelpers.objectSpread({},l.StyleSheet.absoluteFillObject,{flexDirection:'row'}),item:{backgroundColor:'transparent'},iconMaskContainer:{flex:1,flexDirection:'row',justifyContent:'center'},iconMaskFillerRect:{flex:1,backgroundColor:'#d8d8d8',marginLeft:-3},iconMask:{height:21,width:12,marginLeft:9,marginTop:-.5,alignSelf:'center',resizeMode:'contain',transform:[{scaleX:l.I18nManager.isRTL?-1:1}]},title:{bottom:0,top:0,position:'absolute',alignItems:'center',flexDirection:'row'},left:{left:0,bottom:0,top:0,position:'absolute',alignItems:'center',flexDirection:'row'},right:{right:0,bottom:0,top:0,position:'absolute',flexDirection:'row',alignItems:'center'},flexOne:{flex:1}}),k=(0,f.default)(g);n.default=k},361,[31,1,362,365,366,369,370,372,374]); +__d(function(e,t,i,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=babelHelpers.interopRequireWildcard(t(a[0])),r=t(a[1]),d=babelHelpers.interopRequireDefault(t(a[2])),p=375,s=812,c=r.Dimensions.get('window'),l=c.height,g=c.width,u=r.NativeModules.PlatformConstants,h=((void 0===u?{}:u).reactNativeVersion||{}).minor,f=(void 0===h?0:h)>=50?r.DeviceInfo.isIPhoneX_deprecated:l===s&&g===p||l===p&&g===s,v=!(f||l>g&&g<768||g>l&&l<768),b=null,m=function(e){return null!==b?b:f?e?0:44:v?20:e?0:20},y=function(e){if(!e.includes('%'))return 0;var t=parseFloat(e)/100;return isNaN(t)?0:t},w=(function(e){function t(){var e,i,n;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,o=new Array(a),d=0;d=o?p%=o:p<0&&(p=p%o+o),s>=a?s%=a:s<0&&(s=s%a+a);var c=0===p,l=p+d>=o,g=0===s,u=s+r>=a;n.setState({touchesTop:c,touchesBottom:l,touchesLeft:g,touchesRight:u,orientation:i,viewWidth:r,viewHeight:d})}})}}},n._getSafeAreaStyle=function(){var e=n.state,t=e.touchesTop,i=e.touchesBottom,a=e.touchesLeft,o=e.touchesRight,r=n.props,d=r.forceInset,p=(r.isLandscape,n._getViewStyles()),s=p.paddingTop,c=p.paddingBottom,l=p.paddingLeft,g=p.paddingRight,u=p.viewStyle,h=babelHelpers.objectSpread({},u,{paddingTop:t?n._getInset('top'):0,paddingBottom:i?n._getInset('bottom'):0,paddingLeft:a?n._getInset('left'):0,paddingRight:o?n._getInset('right'):0});return d&&Object.keys(d).forEach(function(e){var t=d[e];switch('always'===t&&(t=n._getInset(e)),'never'===t&&(t=0),e){case'horizontal':h.paddingLeft=t,h.paddingRight=t;break;case'vertical':h.paddingTop=t,h.paddingBottom=t;break;case'left':case'right':case'top':case'bottom':var i="padding"+e[0].toUpperCase()+e.slice(1);h[i]=t}}),h.height&&'number'==typeof h.height&&(h.height+=h.paddingTop+h.paddingBottom),h.width&&'number'==typeof h.width&&(h.width+=h.paddingLeft+h.paddingRight),h.paddingTop=Math.max(h.paddingTop,s),h.paddingBottom=Math.max(h.paddingBottom,c),h.paddingLeft=Math.max(h.paddingLeft,l),h.paddingRight=Math.max(h.paddingRight,g),h},n._getViewStyles=function(){var e=n.state.viewWidth,t=r.StyleSheet.flatten(n.props.style||{}),i=t.padding,a=void 0===i?0:i,o=t.paddingVertical,d=void 0===o?a:o,p=t.paddingHorizontal,s=void 0===p?a:p,c=t.paddingTop,l=void 0===c?d:c,g=t.paddingBottom,u=void 0===g?d:g,h=t.paddingLeft,f=void 0===h?s:h,v=t.paddingRight,b=void 0===v?s:v,m=babelHelpers.objectWithoutProperties(t,["padding","paddingVertical","paddingHorizontal","paddingTop","paddingBottom","paddingLeft","paddingRight"]);return'number'!=typeof l&&(l=y(l)*e),'number'!=typeof u&&(u=y(u)*e),'number'!=typeof f&&(f=y(f)*e),'number'!=typeof b&&(b=y(b)*e),{paddingTop:l,paddingBottom:u,paddingLeft:f,paddingRight:b,viewStyle:m}},n._getInset=function(e){var t=n.props.isLandscape;switch(e){case'horizontal':case'right':case'left':return t&&f?44:0;case'vertical':case'top':return m(t);case'bottom':return f?t?24:34:0}},i))}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){var e=this;r.InteractionManager.runAfterInteractions(function(){e._onLayout()})}},{key:"componentWillReceiveProps",value:function(){this._onLayout()}},{key:"render",value:function(){var e=this,t=this.props,i=(t.forceInset,t.isLandscape,t.children,t.style,this._getSafeAreaStyle());return o.default.createElement(r.Animated.View,{ref:function(t){return e.view=t},onLayout:this._onLayout,style:i,pointerEvents:"box-none"},this.props.children)}}]),babelHelpers.inherits(t,e),t})(o.Component);w.setStatusBarHeight=function(e){b=e};var L=(0,d.default)(w);n.default=L},362,[31,1,363]); +__d(function(e,n,t,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var n=(function(n){function t(){var e;babelHelpers.classCallCheck(this,t),(e=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this))).handleOrientationChange=function(n){var t=n.window,i=l(t);e.setState({isLandscape:i})};var n=l(s.Dimensions.get('window'));return e.state={isLandscape:n},e}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){s.Dimensions.addEventListener('change',this.handleOrientationChange)}},{key:"componentWillUnmount",value:function(){s.Dimensions.removeEventListener('change',this.handleOrientationChange)}},{key:"render",value:function(){return r.createElement(e,babelHelpers.extends({},this.props,this.state))}}]),babelHelpers.inherits(t,n),t})(r.Component);return(0,o.default)(n,e)},i.isOrientationLandscape=void 0;var r=babelHelpers.interopRequireWildcard(n(a[0])),s=n(a[1]),o=babelHelpers.interopRequireDefault(n(a[2])),l=function(e){return e.width>e.height};i.isOrientationLandscape=l},363,[31,1,364]); +__d(function(e,t,r,o,p){'use strict';var a={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,l=f&&f(Object);r.exports=function e(t,r,o){if('string'!=typeof r){if(l){var p=f(r);p&&p!==l&&e(t,p,o)}var g=s(r);i&&(g=g.concat(i(r)));for(var O=0;Oi?u:a;return('left'===t||'string'!=typeof d)&&!r?null:n.default.createElement(l.Text,{onLayout:this._onTextLayout,style:[c.title,!!s&&{color:s},o],numberOfLines:1},d)}}]),babelHelpers.inherits(t,e),t})(n.default.PureComponent);u.defaultProps={pressColorAndroid:'rgba(0, 0, 0, .32)',tintColor:'#037aff',truncatedTitle:'Back'};var c=l.StyleSheet.create({androidButtonWrapper:{margin:13,backgroundColor:'transparent'},container:{alignItems:'center',flexDirection:'row',backgroundColor:'transparent'},title:{fontSize:17,paddingRight:10},icon:{height:21,width:13,marginLeft:9,marginRight:22,marginVertical:12,resizeMode:'contain',transform:[{scaleX:l.I18nManager.isRTL?-1:1}]},iconWithTitle:{marginRight:6}}),d=u;i.default=d},366,[31,1,367,368]); +__d(function(e,r,t,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var a=babelHelpers.interopRequireDefault(r(s[0])),o=r(s[1]),n=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){return a.default.createElement(o.TouchableOpacity,this.props,this.props.children)}}]),babelHelpers.inherits(r,e),r})(a.default.Component);l.default=n,n.defaultProps={borderless:!1,pressColor:'rgba(0, 0, 0, .32)'}},367,[31,1]); +__d(function(e,s,a,t,c){a.exports=s(c[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-navigation/src/views/assets",width:12,height:21,scales:[1,1.5,2,3,4],hash:"c90fb4585dd852a3d67af39baf923f67",name:"back-icon",type:"png"})},368,[72]); +__d(function(e,t,n,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var r=babelHelpers.interopRequireDefault(t(a[0])),l=t(a[1]),o=babelHelpers.interopRequireDefault(t(a[2])),s=t(a[3]),c=(function(e){function t(){var e,n,i;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,r=new Array(a),l=0;ln?c:i;d&&d.length>8&&(d=c);var b=this.props,f=b.ButtonContainerComponent,p=b.LabelContainerComponent;return r.default.createElement(o.default,{accessibilityComponentType:"button",accessibilityLabel:d,accessibilityTraits:"button",testID:"header-back",delayPressIn:0,onPress:t,style:u.container,borderless:!0},r.default.createElement(l.View,{style:u.container},r.default.createElement(f,null,this._renderBackImage()),'string'==typeof d&&r.default.createElement(p,null,r.default.createElement(l.Text,{onLayout:this._onTextLayout,style:[u.title,!!s&&{color:s},a],numberOfLines:1},d))))}}]),babelHelpers.inherits(t,e),t})(r.default.PureComponent);c.defaultProps={tintColor:'#037aff',truncatedTitle:'Back'};var u=l.StyleSheet.create({container:{alignItems:'center',flexDirection:'row',backgroundColor:'transparent'},title:{fontSize:17,paddingRight:10},icon:{height:21,width:12,marginLeft:9,marginRight:22,marginVertical:12,resizeMode:'contain',transform:[{scaleX:l.I18nManager.isRTL?-1:1}]},iconWithTitle:{marginRight:3}}),d=c;i.default=d},369,[31,1,367,368]); +__d(function(t,e,n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=e(i[0]),o=babelHelpers.interopRequireDefault(e(i[1]));function u(t){return!t||null!==t.descriptor.options.header}var s=function(t,e,n,r){return{inputRange:[e,e+.001,n-.9,n-.2,n,r-.001,r],outputRange:[0,u(t[e])?0:1,u(t[e])?0:1,u(t[e])?.3:1,u(t[n])?1:0,u(t[r])?0:1,0]}};function f(t){return!t[t.length-1].isActive}var p=a.Dimensions.get('window').width/2-70-25;var c=a.Dimensions.get('window').width/2-70+25;var l={forLayout:function(t){var e=t.layout,n=t.position,r=t.scene,i=t.scenes;if('float'!==t.mode)return{};var s=f(i),p=(0,o.default)(t);if(!p)return{};var c=p.first,l=p.last,d=r.index,v=e.initWidth||a.Dimensions.get('window').width;if(s&&!u(i[d])&&!u(i[l])||!s&&!u(i[c])&&!u(i[d]))return{transform:[{translateX:v}]};var g=a.I18nManager.isRTL?-1:1;return{transform:[{translateX:n.interpolate({inputRange:[c,d,l],outputRange:[g*(u(i[c])?0:v),g*(u(i[d])?0:s?v:-v),g*(u(i[l])?0:-v)]})}]}},forLeft:function(t){var e=t.position,n=t.scene,r=t.scenes,i=(0,o.default)(t);if(!i)return{opacity:0};var a=i.first,u=i.last,f=n.index;return{opacity:e.interpolate(s(r,a,f,u))}},forLeftButton:function(t){var e=t.position,n=t.scene,r=t.scenes,i=(0,o.default)(t);if(!i)return{opacity:0};var a=i.first,s=i.last,f=n.index,p=[a,a+.001,a+Math.abs(f-a)/2,f,s-Math.abs(s-f)/2,s-.001,s],c=[0,u(r[a])?0:1,u(r[a])?.1:1,u(r[f])?1:0,u(r[s])?.1:1,u(r[s])?0:1,0];return{opacity:e.interpolate({inputRange:p,outputRange:c})}},forLeftLabel:function(t){var e=t.position,n=t.scene,r=t.scenes,i=(0,o.default)(t);if(!i)return{opacity:0};var s=i.first,f=i.last,c=n.index,l=p;return{opacity:e.interpolate({inputRange:[s,s+.001,c-.35,c,c+.5,f-.001,f],outputRange:[0,u(r[s])?0:1,u(r[s])?0:1,u(r[c])?1:0,u(r[f])?.5:1,u(r[f])?0:1,0]}),transform:[{translateX:e.interpolate({inputRange:[s,s+.001,c,f-.001,f],outputRange:a.I18nManager.isRTL?[1.5*-l,u(r[s])?1.5*-l:0,0,u(r[f])?l:0,l]:[l,u(r[s])?l:0,0,u(r[f])?1.5*-l:0,1.5*-l]})}]}},forCenterFromLeft:function(t){var e=t.position,n=t.scene,r=t.scenes,i=(0,o.default)(t);if(!i)return{opacity:0};var s=i.first,f=i.last,p=n.index,l=c;return{opacity:e.interpolate({inputRange:[s,s+.001,p-.5,p,p+.7,f-.001,f],outputRange:[0,u(r[s])?0:1,u(r[s])?0:1,u(r[p])?1:0,u(r[f])?0:1,u(r[f])?0:1,0]}),transform:[{translateX:e.interpolate({inputRange:[s,s+.001,p,f-.001,f],outputRange:a.I18nManager.isRTL?[-l,u(r[s])?-l:0,0,u(r[f])?l:0,l]:[l,u(r[s])?l:0,0,u(r[f])?-l:0,-l]})}]}},forCenter:function(t){var e=t.position,n=t.scene,r=t.scenes,i=(0,o.default)(t);if(!i)return{opacity:0};var a=i.first,u=i.last,f=n.index;return{opacity:e.interpolate(s(r,a,f,u))}},forRight:function(t){var e=t.position,n=t.scene,r=t.scenes,i=(0,o.default)(t);if(!i)return{opacity:0};var a=i.first,u=i.last,f=n.index;return{opacity:e.interpolate(s(r,a,f,u))}}};r.default=l},370,[1,371]); +__d(function(e,n,t,i,r){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var f=function(e){var n=e.scene,t=e.scenes,i=n.index,r=t.length-1;if(!t[r].isActive){var f=t.findIndex(function(e){return e===n}),s=t.findIndex(function(e){return e.isActive}),a=t[s].index,d=t[r].index;return i!==a&&f===r?{first:Math.min(a,i-1),last:i+1}:i===a&&f===s?{first:i-1,last:Math.max(d,i+1)}:i===a||f>s?null:{first:i-1,last:i+1}}return{first:i-1,last:i+1}};i.default=f},371,[]); +__d(function(e,n,t,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e){var n=(function(n){function t(){var e;babelHelpers.classCallCheck(this,t),(e=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this))).handleOrientationChange=function(n){var t=n.window,a=o(t);e.setState({isLandscape:a})};var n=o(s.Dimensions.get('window'));return e.state={isLandscape:n},e}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){s.Dimensions.addEventListener('change',this.handleOrientationChange)}},{key:"componentWillUnmount",value:function(){s.Dimensions.removeEventListener('change',this.handleOrientationChange)}},{key:"render",value:function(){return r.default.createElement(e,babelHelpers.extends({},this.props,this.state))}}]),babelHelpers.inherits(t,n),t})(r.default.Component);return(0,l.default)(n,e)},a.isOrientationLandscape=void 0;var r=babelHelpers.interopRequireDefault(n(i[0])),s=n(i[1]),l=babelHelpers.interopRequireDefault(n(i[2])),o=function(e){return e.width>e.height};a.isOrientationLandscape=o},372,[31,1,373]); +__d(function(e,t,r,o,p){'use strict';var a={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,l=f&&f(Object);r.exports=function e(t,r,o){if('string'!=typeof r){if(l){var p=f(r);p&&p!==l&&e(t,p,o)}var g=s(r);i&&(g=g.concat(i(r)));for(var O=0;O=50||0===e&&0===n}return!1}},384,[1]); +__d(function(e,t,n,i,s){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=babelHelpers.interopRequireDefault(t(s[0])),r=t(s[1]),o=babelHelpers.interopRequireDefault(t(s[2])),u=babelHelpers.interopRequireDefault(t(s[3])),l={duration:250,easing:r.Easing.inOut(r.Easing.ease),timing:r.Animated.timing},p=(function(e){function t(e,n){var i;babelHelpers.classCallCheck(this,t),(i=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e,n)))._onLayout=function(e){var t=e.nativeEvent.layout,n=t.height,s=t.width;if(i.state.layout.initWidth!==s||i.state.layout.initHeight!==n){var a=babelHelpers.objectSpread({},i.state.layout,{initHeight:n,initWidth:s,isMeasured:!0});a.height.setValue(n),a.width.setValue(s);var r=babelHelpers.objectSpread({},i.state,{layout:a});i._transitionProps=c(i.props,r),i.setState(r)}},i._onTransitionEnd=function(){if(i._isMounted){var e=i._prevTransitionProps;i._prevTransitionProps=null;var t=h(i.state.scenes),n=babelHelpers.objectSpread({},i.state,{scenes:t});i._transitionProps=c(i.props,n),i.setState(n,function(){var t;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!i.props.onTransitionEnd){n.next=5;break}if(!((t=i.props.onTransitionEnd(i._transitionProps,e))instanceof Promise)){n.next=5;break}return n.next=5,regeneratorRuntime.awrap(t);case 5:i._queuedTransition?(i._startTransition(i._queuedTransition.nextProps,i._queuedTransition.nextScenes,i._queuedTransition.indexHasChanged),i._queuedTransition=null):i._isTransitionRunning=!1;case 6:case"end":return n.stop()}},null,this)})}};var s={height:new r.Animated.Value(0),initHeight:0,initWidth:0,isMeasured:!1,width:new r.Animated.Value(0)};return i.state={layout:s,position:new r.Animated.Value(i.props.navigation.state.index),progress:new r.Animated.Value(1),scenes:(0,u.default)([],i.props.navigation.state,null,i.props.descriptors)},i._prevTransitionProps=null,i._transitionProps=c(e,i.state),i._isMounted=!1,i._isTransitionRunning=!1,i._queuedTransition=null,i}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1}},{key:"componentWillReceiveProps",value:function(e){var t=(0,u.default)(this.state.scenes,e.navigation.state,this.props.navigation.state,e.descriptors);if(e.navigation.state.isTransitioning||(t=h(t)),e.screenProps!==this.props.screenProps&&this.setState({nextScenes:t}),t!==this.state.scenes){var n=e.navigation.state.index!==this.props.navigation.state.index;this._isTransitionRunning?this._queuedTransition={nextProps:e,nextScenes:t,indexHasChanged:n}:this._startTransition(e,t,n)}}},{key:"_startTransition",value:function(e,t,n){var i=this,s=babelHelpers.objectSpread({},this.state,{scenes:t}),a=s.position,o=s.progress;o.setValue(0),this._prevTransitionProps=this._transitionProps,this._transitionProps=c(e,s);var u=e.navigation.state.index;if(this._transitionProps.navigation.state.isTransitioning){var p=e.configureTransition?e.configureTransition(this._transitionProps,this._prevTransitionProps):null,d=babelHelpers.objectSpread({},l,p),h=d.timing;delete d.timing;var v=a.__getValue()!==u,f=n&&v?[h(o,babelHelpers.objectSpread({},d,{toValue:1})),h(a,babelHelpers.objectSpread({},d,{toValue:e.navigation.state.index}))]:[];this._isTransitionRunning=!0,this.setState(s,function(){var t;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.onTransitionStart){n.next=5;break}if(!((t=e.onTransitionStart(i._transitionProps,i._prevTransitionProps))instanceof Promise)){n.next=5;break}return n.next=5,regeneratorRuntime.awrap(t);case 5:r.Animated.parallel(f).start(i._onTransitionEnd);case 6:case"end":return n.stop()}},null,this)})}else this.setState(s,function(){var t;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!((t=e.onTransitionStart(i._transitionProps,i._prevTransitionProps))instanceof Promise)){n.next=4;break}return n.next=4,regeneratorRuntime.awrap(t);case 4:o.setValue(1),a.setValue(u),i._onTransitionEnd();case 7:case"end":return n.stop()}},null,this)})}},{key:"render",value:function(){return a.default.createElement(r.View,{onLayout:this._onLayout,style:f.main},this.props.render(this._transitionProps,this._prevTransitionProps))}}]),babelHelpers.inherits(t,e),t})(a.default.Component);function c(e,t){var n=e.navigation,i=t.layout,s=t.position,a=t.progress,r=t.scenes,u=r.find(v);return(0,o.default)(u,'Could not find active scene'),{layout:i,navigation:n,position:s,progress:a,scenes:r,scene:u,index:u.index}}function d(e){return!e.isStale}function h(e){var t=e.filter(d);return t.length===e.length?e:t}function v(e){return e.isActive}var f=r.StyleSheet.create({main:{flex:1}}),g=p;i.default=g},385,[31,1,339,386]); +__d(function(e,t,r,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,r,n){if(e.forEach(function(e){var t=e.route;n&&n[t.key]&&(e.descriptor=n[t.key])}),r===t)return e;var i=new Map,o=new Map,s=new Map;e.forEach(function(e){var t=e.key;e.isStale&&s.set(t,e),i.set(t,e)});var l=new Set;t.routes.forEach(function(e,t){var r=u+e.key,i={index:t,isActive:!1,isStale:!1,key:r,route:e,descriptor:n&&n[e.key]};(0,a.default)(!l.has(r),"navigation.state.routes["+t+"].key \""+r+"\" conflicts with another route!"),l.add(r),s.has(r)&&s.delete(r),o.set(r,i)}),r&&r.routes.forEach(function(t,r){var i=u+t.key;if(!o.has(i)){var a=e.find(function(e){return e.route.key===t.key}),c=a?a.descriptor:n[t.key];c&&s.set(i,{index:r,isActive:!1,isStale:!0,key:i,route:t,descriptor:c})}});var d=[],v=function(e){var t=e.key,r=i.has(t)?i.get(t):null;r&&f(r,e)?d.push(r):d.push(e)};s.forEach(v),o.forEach(v),d.sort(c);var y=0;if(d.forEach(function(e,r){var n=!e.isStale&&e.index===t.index;n!==e.isActive&&(d[r]=babelHelpers.objectSpread({},e,{isActive:n})),n&&y++}),(0,a.default)(1===y,'there should always be only one scene active, not %s.',y),d.length!==e.length)return d;if(d.some(function(t,r){return!f(e[r],t)}))return d;return e};var a=babelHelpers.interopRequireDefault(t(i[0])),o=babelHelpers.interopRequireDefault(t(i[1])),u='scene_';function s(e,t){var r=e.length-t.length;return r>0?1:r<0?-1:e>t?1:-1}function c(e,t){return e.index>t.index?1:e.index1&&void 0!==arguments[1]?arguments[1]:{};(0,p.default)(e);var r={},a=Object.keys(e);a.forEach(function(t){var a=(0,l.default)(e,t);a&&a.router?r[t]=a.router:r[t]=null});var n=t.initialRouteParams,k=t.getCustomActionCreators||m,v=t.initialRouteName||a[0],S=r[v];function g(e){var a={},i=r[e.routeName];if(b(e)&&void 0!==i){var u={};if(null!==i){var l=e.action||o.default.init({params:e.params});u=i.getStateForAction(l)}return{key:'StackRouterRoot',isTransitioning:!1,index:0,routes:[babelHelpers.objectSpread({params:e.params},u,{key:e.key||(0,d.generateKey)(),routeName:e.routeName})]}}S&&(a=S.getStateForAction(o.default.navigate({routeName:v,params:n})));var s=(a.params||e.params||n)&&babelHelpers.objectSpread({},a.params||{},e.params||{},n||{}),p=t.initialRouteKey;return{key:'StackRouterRoot',isTransitioning:!1,index:0,routes:[a=babelHelpers.objectSpread({},a,s?{params:s}:{},{routeName:v,key:e.key||p||(0,d.generateKey)()})]}}var A=(0,c.createPathParser)(r,e,t.paths),H=A.getPathAndParamsForRoute,N=A.getActionForPathAndParams;return{childRouters:r,getComponentForState:function(t){var a=t.routes[t.index],n=a.routeName;return r[n]?r[n].getComponentForState(a):(0,l.default)(e,n)},getComponentForRouteName:function(t){return(0,l.default)(e,t)},getActionCreators:function(e,t){return babelHelpers.objectSpread({},k(e,t),{pop:function(e,t){return i.default.pop(babelHelpers.objectSpread({n:e},t))},popToTop:function(e){return i.default.popToTop(e)},push:function(e,t,r){return i.default.push({routeName:e,params:t,action:r})},replace:function(t,r,a,n){return'string'==typeof t?i.default.replace({routeName:t,params:r,action:a,key:e.key,newKey:n}):((0,f.default)('object'==typeof t,'Must replaceWith an object or a string'),(0,f.default)(null==r,'Params must not be provided to .replace() when specifying an object'),(0,f.default)(null==a,'Child action must not be provided to .replace() when specifying an object'),(0,f.default)(null==n,'Child action must not be provided to .replace() when specifying an object'),i.default.replace(t))},reset:function(e,r){return i.default.reset({actions:e,index:null==r?e.length-1:r,key:t})},dismiss:function(){return o.default.back({key:t})}})},getStateForAction:function(e,t){if(!t)return g(e);var a,n=t.routes[t.index];if(y(e)||e.type===o.default.NAVIGATE){if(e.type===o.default.NAVIGATE){var u=t.routes.slice().reverse(),l=Array.isArray(u),p=0;for(u=l?u:u["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var c;if(l){if(p>=u.length)break;c=u[p++]}else{if((p=u.next()).done)break;c=p.value}var m=c,k=r[m.routeName],v=e.routeName===m.routeName&&e.action?e.action:e;if(k){var S=k.getStateForAction(v,m);if(null===S||S!==m){var A=s.default.replaceAndPrune(t,S?S.key:m.key,S||m);return babelHelpers.objectSpread({},A,{isTransitioning:t.index!==A.index?!0!==e.immediate:t.isTransitioning})}}}}}else{var H=r[n.routeName];if(H){var N=H.getStateForAction(e,n);if(null!==N&&N!==n)return s.default.replaceAt(t,n.key,N,e.type===o.default.SET_PARAMS)}}if(b(e)&&void 0!==r[e.routeName]){var j,P=r[e.routeName];(0,f.default)(e.type!==i.default.PUSH||null==e.key,'StackRouter does not support key on the push action');var T=t.routes.findIndex(function(t){return e.key?t.key===e.key:t.routeName===e.routeName});if(e.type!==i.default.PUSH&&-1!==T){if(t.index===T&&!e.params)return null;var h=t.routes.slice(0,T+1);if(e.params){var x=t.routes[T];h[T]=babelHelpers.objectSpread({},x,{params:babelHelpers.objectSpread({},x.params,e.params)})}return babelHelpers.objectSpread({},t,{isTransitioning:t.index!==T?!0!==e.immediate:t.isTransitioning,index:T,routes:h})}if(P){var R=e.action||o.default.init({params:e.params});j=babelHelpers.objectSpread({params:e.params},P.getStateForAction(R),{routeName:e.routeName,key:e.key||(0,d.generateKey)()})}else j={params:e.params,routeName:e.routeName,key:e.key||(0,d.generateKey)()};return babelHelpers.objectSpread({},s.default.push(t,j),{isTransitioning:!0!==e.immediate})}if(e.type===i.default.PUSH&&void 0===r[e.routeName])return t;if(b(e))for(var F=Object.keys(r),E=0;E0?babelHelpers.objectSpread({},t,{isTransitioning:!0!==e.immediate,index:0,routes:[t.routes[0]]}):t;if(e.type===i.default.REPLACE&&-1!==(a=void 0===e.key&&t.routes.length?t.routes.length-1:t.routes.findIndex(function(t){return t.key===e.key}))){var I=r[e.routeName],M={};if(I){var w=e.action||o.default.init({params:e.params});M=I.getStateForAction(w)}var U=babelHelpers.toConsumableArray(t.routes);return U[a]=babelHelpers.objectSpread({params:e.params},M,{routeName:e.routeName,key:e.newKey||(0,d.generateKey)()}),babelHelpers.objectSpread({},t,{routes:U})}if(e.type===i.default.COMPLETE_TRANSITION&&(null==e.key||e.key===t.key)&&t.isTransitioning)return babelHelpers.objectSpread({},t,{isTransitioning:!1});if(e.type===o.default.SET_PARAMS){var G=e.key,V=t.routes.find(function(e){return e.key===G});if(V){var L=babelHelpers.objectSpread({},V.params,e.params),B=babelHelpers.toConsumableArray(t.routes);return B[t.routes.indexOf(V)]=babelHelpers.objectSpread({},V,{params:L}),babelHelpers.objectSpread({},t,{routes:B})}}if(e.type===i.default.RESET){if(null!=e.key&&e.key!=t.key)return t;var W=e.actions;return babelHelpers.objectSpread({},t,{routes:W.map(function(e){var t=r[e.routeName],a={};if(t){var n=e.action||o.default.init({params:e.params});a=t.getStateForAction(n)}return babelHelpers.objectSpread({params:e.params},a,{routeName:e.routeName,key:e.key||(0,d.generateKey)()})}),index:e.index})}if(e.type===o.default.BACK||e.type===i.default.POP){var z=e.key,J=e.n,Q=e.immediate,X=t.index;if(e.type===i.default.POP&&null!=J)X=Math.max(1,t.index-J+1);else if(z){var Y=t.routes.find(function(e){return e.key===z});X=t.routes.indexOf(Y)}if(X>0)return babelHelpers.objectSpread({},t,{routes:t.routes.slice(0,X),index:X-1,isTransitioning:!0!==Q})}var Z=e.key?s.default.indexOf(t,e.key):-1,$=t.routes.slice().reverse(),ee=Array.isArray($),te=0;for($=ee?$:$["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var re;if(ee){if(te>=$.length)break;re=$[te++]}else{if((te=$.next()).done)break;re=te.value}var ae=re;if(ae.key!==n.key&&!(Z>=0&&ae.key!==e.key)){var ne=r[ae.routeName];if(ne){var oe=ne.getStateForAction(e,ae);if(null===oe)return t;if(oe&&oe!==ae)return s.default.replaceAt(t,ae.key,oe,e.type===o.default.SET_PARAMS)}}}return t},getPathAndParamsForState:function(e){var t=e.routes[e.index];return H(t)},getActionForPathAndParams:function(e,t){return N(e,t)},getScreenOptions:(0,u.default)(e,t.navigationOptions)}}},388,[336,375,389,390,350,392,339,393,344]); +__d(function(e,t,a,o,n){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var r=babelHelpers.interopRequireDefault(t(n[0])),u=babelHelpers.interopRequireDefault(t(n[1])),i=babelHelpers.interopRequireDefault(t(n[2]));function l(e,t,a){return'function'==typeof e?babelHelpers.objectSpread({},t,e(babelHelpers.objectSpread({},a,{navigationOptions:t}))):'object'==typeof e?babelHelpers.objectSpread({},t,e):t}o.default=function(e,t){return function(a,o){var n=a.state,p=(a.dispatch,n);(0,r.default)(p.routeName&&'string'==typeof p.routeName,'Cannot get config because the route does not have a routeName.');var b=(0,u.default)(e,p.routeName),f=e[p.routeName],s=f===b?null:f.navigationOptions,c=b.navigationOptions,d={navigation:a,screenProps:o||{}},v=l(t,{},d);return v=l(s,v=l(c,v,d),d),(0,i.default)(v,p),v}}},389,[339,390,391]); +__d(function(e,n,r,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,n){var r=e[n];if(!r)throw new Error("There is no route defined for key "+n+".\nMust be one of: "+Object.keys(e).map(function(e){return"'"+e+"'"}).join(','));if(r.screen)return r.screen;if('function'==typeof r.getScreen){var t=r.getScreen();return(0,o.default)('function'==typeof t,"The getScreen defined for route '"+n+" didn't return a valid screen or navigator.\n\nPlease pass it like this:\n"+n+": {\n getScreen: () => require('./MyScreen').default\n}"),t}return r};var o=babelHelpers.interopRequireDefault(n(i[0]))},390,[339]); +__d(function(n,e,t,o,i){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=['tabBar'];o.default=function(n,e){var t=Object.keys(n).find(function(n){return a.includes(n)});if('function'==typeof n.title)throw new Error(["`title` cannot be defined as a function in navigation options for `"+e.routeName+"` screen. \n",'Try replacing the following:','{',' title: ({ state }) => state...','}','','with:','({ navigation }) => ({',' title: navigation.state...','})'].join('\n'));if(t&&'function'==typeof n[t])throw new Error(["`"+t+"` cannot be defined as a function in navigation options for `"+e.routeName+"` screen. \n",'Try replacing the following:','{'," "+t+": ({ state }) => ({",' key: state...',' })','}','','with:','({ navigation }) => ({'," "+t+"Key: navigation.state...",'})'].join('\n'));if(t&&'object'==typeof n[t])throw new Error(["Invalid key `"+t+"` defined in navigation options for `"+e.routeName+"` screen.",'\n','Try replacing the following navigation options:','{'," "+t+": {"].concat(babelHelpers.toConsumableArray(Object.keys(n[t]).map(function(n){return" "+n+": ...,"})),[' },','}','\n','with:','{'],babelHelpers.toConsumableArray(Object.keys(n[t]).map(function(n){return" "+(t+n[0].toUpperCase()+n.slice(1))+": ...,"})),['}']).join('\n'))}},391,[]); +__d(function(e,n,r,o,t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=babelHelpers.interopRequireDefault(n(t[0]));function c(e){return e?e.screen?e.screen:e:null}var i=function(e){var n=Object.keys(e);(0,a.default)(n.length>0,'Please specify at least one route when configuring a navigator.'),n.forEach(function(n){var r=e[n],o=c(r);if(!o||'function'!=typeof o&&'string'!=typeof o&&!r.getScreen)throw new Error("The component for route '"+n+"' must be a React component. For example:\n\nimport MyScreen from './MyScreen';\n...\n"+n+": MyScreen,\n}\n\nYou can also use a navigator:\n\nimport MyNavigator from './MyNavigator';\n...\n"+n+": MyNavigator,\n}");if(r.screen&&r.getScreen)throw new Error("Route '"+n+"' should declare a screen or a getScreen, not both.")})};o.default=i},392,[339]); +__d(function(e,n,t,_,i){Object.defineProperty(_,"__esModule",{value:!0}),_._TESTING_ONLY_normalize_keys=function(){o='id',r=0},_.generateKey=function(){return o+"-"+r++};var o="id-"+Date.now(),r=0},393,[]); +__d(function(e,t,l,u,r){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var a=babelHelpers.interopRequireDefault(t(r[0])),d=babelHelpers.interopRequireDefault(t(r[1])),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=(0,d.default)(e,t);return(0,a.default)(l)};u.default=f},394,[334,395]); +__d(function(e,l,r,t,u){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;babelHelpers.interopRequireDefault(l(u[0]));var a=babelHelpers.interopRequireDefault(l(u[1])),i=babelHelpers.interopRequireDefault(l(u[2])),f=babelHelpers.interopRequireDefault(l(u[3]));var n=function(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.default)(e,l);return(0,a.default)(f.default,r,l)};t.default=n},395,[31,351,396,397]); +__d(function(e,r,t,a,n){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=babelHelpers.interopRequireDefault(r(n[0])),u=babelHelpers.interopRequireDefault(r(n[1])),i=babelHelpers.interopRequireDefault(r(n[2])),l=babelHelpers.interopRequireDefault(r(n[3])),s=babelHelpers.interopRequireDefault(r(n[4])),b=babelHelpers.interopRequireDefault(r(n[5])),d=r(n[6]),p=function(e,r){return{}};a.default=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,b.default)(e);var t=r.order||Object.keys(e),a=r.getCustomActionCreators||p,n=r.initialRouteParams,f=r.initialRouteName||t[0],c='initialRoute'===(r.backBehavior||'none'),m=!r.hasOwnProperty('resetOnBlur')||r.resetOnBlur,v=t.indexOf(f),S={};t.forEach(function(r){e[r],S[r]=null;var t=(0,u.default)(e,r);t.router&&(S[r]=t.router)});var A=(0,d.createPathParser)(S,e,r.paths),H=A.getPathAndParamsForRoute,x=A.getActionForPathAndParams;if(-1===v)throw new Error("Invalid initialRouteName '"+f+"'.Should be one of "+t.map(function(e){return"\""+e+"\""}).join(', '));function y(e){var r=e===f?n:void 0,t=S[e];if(t){var a=l.default.init();return babelHelpers.objectSpread({},t.getStateForAction(a),{key:e,routeName:e,params:r})}return{key:e,routeName:e,params:r}}function g(e,r){if(!e)return r;if(e.index!==r.index&&m){var t=e.routes[e.index].routeName,a=babelHelpers.toConsumableArray(r.routes);return a[e.index]=y(t),babelHelpers.objectSpread({},r,{routes:a})}return r}return{childRouters:S,getActionCreators:function(e,r){return a(e,r)},getStateForAction:function(e,r){var a=r?babelHelpers.objectSpread({},r):r,o=r||{routes:t.map(y),index:v,isTransitioning:!1},u=o.index;if(e.type===l.default.INIT){var i=e.params;i&&(o.routes=o.routes.map(function(e){return babelHelpers.objectSpread({},e,{params:babelHelpers.objectSpread({},e.params,i,e.routeName===f?n:null)})}))}var b=o.routes[o.index],d=S[t[o.index]];if(d){var p=d.getStateForAction(e,b);if(!p&&r)return null;if(p&&p!==b){var m=babelHelpers.toConsumableArray(o.routes);return m[o.index]=p,g(a,babelHelpers.objectSpread({},o,{routes:m}))}}var A=null==e.key||e.key===b.key;if(e.type===l.default.BACK){if(!A||!c)return o;u=v}var H=!1;if(e.type===l.default.NAVIGATE&&(H=!!t.find(function(r,t){return r===e.routeName&&(u=t,!0)}))){var x,h=o.routes[u],j=S[e.routeName];if(e.action?x=j?j.getStateForAction(e.action,h):null:!e.action&&e.params&&(x=babelHelpers.objectSpread({},h,{params:babelHelpers.objectSpread({},h.params||{},e.params)})),x&&x!==h){var P=babelHelpers.toConsumableArray(o.routes);return P[u]=x,g(a,babelHelpers.objectSpread({},o,{routes:P,index:u}))}if(!x&&o.index===u&&a)return null}if(e.type===l.default.SET_PARAMS){var R=e.key,C=o.routes.find(function(e){return e.key===R});if(C){var N=babelHelpers.objectSpread({},C.params,e.params),F=babelHelpers.toConsumableArray(o.routes);return F[o.routes.indexOf(C)]=babelHelpers.objectSpread({},C,{params:N}),g(a,babelHelpers.objectSpread({},o,{routes:F}))}}if(u!==o.index)return g(a,babelHelpers.objectSpread({},o,{index:u}));if(H&&!r)return o;if(H)return babelHelpers.objectSpread({},o);var O,k=o.index,T=o.routes;return t.find(function(r,t){var a=S[r];if(t===k)return!1;var n=T[t];return a&&(n=a.getStateForAction(e,n)),n?n!==T[t]&&((T=babelHelpers.toConsumableArray(T))[t]=n,k=t,!0):(k=t,!0)}),O=e.type,[l.default.SET_PARAMS,s.default.COMPLETE_TRANSITION].includes(O)&&(k=o.index),k!==o.index||T!==o.routes?g(a,babelHelpers.objectSpread({},o,{index:k,routes:T})):o},getComponentForState:function(r){var t=r.routes[r.index].routeName;(0,o.default)(t,"There is no route defined for index "+r.index+". Check that\n that you passed in a navigation state with a valid tab/screen index.");var a=S[t];return a?a.getComponentForState(r.routes[r.index]):(0,u.default)(e,t)},getComponentForRouteName:function(r){return(0,u.default)(e,r)},getPathAndParamsForState:function(e){var r=e.routes[e.index];return H(r)},getActionForPathAndParams:function(e,r){return x(e,r)},getScreenOptions:(0,i.default)(e,r.navigationOptions)}}},396,[339,390,389,336,375,392,344]); +__d(function(e,t,r,n,s){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=babelHelpers.interopRequireDefault(t(s[0])),l=babelHelpers.interopRequireDefault(t(s[1])),o=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props.navigation.state,t=e.routes[e.index].key,r=this.props.descriptors[t],n=r.getComponent();return a.default.createElement(l.default,{component:n,navigation:r.navigation,screenProps:this.props.screenProps})}}]),babelHelpers.inherits(t,e),t})(a.default.Component);n.default=o},397,[31,376]); +__d(function(e,r,t,a,u){t.exports={get createDrawerNavigator(){return r(u[0]).default},get DrawerRouter(){return r(u[1]).default},get DrawerActions(){return r(u[2]).default},get DrawerNavigatorItems(){return r(u[3]).default},get DrawerSidebar(){return r(u[4]).default},get DrawerView(){return r(u[5]).default}}},398,[399,400,401,408,406,402]); +__d(function(e,t,a,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=babelHelpers.interopRequireDefault(t(i[0])),n=t(i[1]),l=t(i[2]),u=babelHelpers.interopRequireDefault(t(i[3])),s=babelHelpers.interopRequireDefault(t(i[4])),c=babelHelpers.interopRequireDefault(t(i[5])),d={drawerWidth:function(){var e=n.Dimensions.get('window'),t=e.height,a=e.width,r=Math.min(t,a),i=a>t?32:44,o=r>=600?320:280;return Math.min(r-i,o)},contentComponent:function(e){return o.default.createElement(n.ScrollView,{alwaysBounceVertical:!1},o.default.createElement(l.SafeAreaView,{forceInset:{top:'always',horizontal:'never'}},o.default.createElement(c.default,e)))},drawerPosition:'left',drawerBackgroundColor:'white',useNativeAnimations:!0},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=babelHelpers.objectSpread({},d,t),r=a.order,i=a.paths,o=a.initialRouteName,n=a.initialRouteParams,c=a.backBehavior,f=a.getCustomActionCreators,b=babelHelpers.objectWithoutProperties(a,["order","paths","initialRouteName","initialRouteParams","backBehavior","getCustomActionCreators"]),p={order:r,paths:i,initialRouteName:o,initialRouteParams:n,backBehavior:c,getCustomActionCreators:f},m=(0,u.default)(e,p),h=(0,l.createNavigator)(s.default,m,b);return(0,l.createNavigationContainer)(h)};r.default=f},399,[31,1,333,400,402,408]); +__d(function(e,r,t,o,a){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var l=r(a[0]),n=babelHelpers.interopRequireDefault(r(a[1]));function u(e,r,t){return e.hasOwnProperty(r)&&void 0!==e[r]?e:(e[r]=t,e)}var d=function e(r){return r.routes&&r.routes[r.index]?e(r.routes[r.index]):r.key};o.default=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r=u(r=u(r=babelHelpers.objectSpread({},r),'resetOnBlur',!1),'backBehavior','initialRoute');var t=(0,l.SwitchRouter)(e,r);return babelHelpers.objectSpread({},t,{getActionCreators:function(e,r){return babelHelpers.objectSpread({openDrawer:function(){return n.default.openDrawer({key:r})},closeDrawer:function(){return n.default.closeDrawer({key:r})},toggleDrawer:function(){return n.default.toggleDrawer({key:r})}},t.getActionCreators(e,r))},getStateForAction:function(e,r){if(!r)return babelHelpers.objectSpread({},t.getStateForAction(e,void 0),{isDrawerOpen:!1,openId:0,closeId:0,toggleId:0});if(null==e.key||e.key===r.key){if(e.type===n.default.DRAWER_CLOSED)return babelHelpers.objectSpread({},r,{isDrawerOpen:!1});if(e.type===n.default.DRAWER_OPENED)return babelHelpers.objectSpread({},r,{isDrawerOpen:!0});if(e.type===n.default.CLOSE_DRAWER)return babelHelpers.objectSpread({},r,{closeId:r.closeId+1});if(e.type===n.default.OPEN_DRAWER)return babelHelpers.objectSpread({},r,{openId:r.openId+1});if(e.type===n.default.TOGGLE_DRAWER)return babelHelpers.objectSpread({},r,{toggleId:r.toggleId+1})}var o=t.getStateForAction(e,r);return null===o?null:o!==r?d(o)!==d(r)?babelHelpers.objectSpread({},o,{closeId:r.closeId+1}):o:r}})}},400,[333,401]); +__d(function(e,a,E,t,R){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={OPEN_DRAWER:"Navigation/OPEN_DRAWER",CLOSE_DRAWER:"Navigation/CLOSE_DRAWER",TOGGLE_DRAWER:"Navigation/TOGGLE_DRAWER",DRAWER_OPENED:'Navigation/DRAWER_OPENED',DRAWER_CLOSED:'Navigation/DRAWER_CLOSED',openDrawer:function(e){return babelHelpers.objectSpread({type:"Navigation/OPEN_DRAWER"},e)},closeDrawer:function(e){return babelHelpers.objectSpread({type:"Navigation/CLOSE_DRAWER"},e)},toggleDrawer:function(e){return babelHelpers.objectSpread({type:"Navigation/TOGGLE_DRAWER"},e)}};t.default=i},401,[]); +__d(function(e,t,n,r,o){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=babelHelpers.interopRequireDefault(t(o[0])),a=t(o[1]),s=babelHelpers.interopRequireDefault(t(o[2])),p=t(o[3]),d=babelHelpers.interopRequireDefault(t(o[4])),l=babelHelpers.interopRequireDefault(t(o[5])),u=(function(e){function t(){var e,n,r;babelHelpers.classCallCheck(this,t);for(var o=arguments.length,a=new Array(o),s=0;s0&&void 0!==arguments[0]?arguments[0]:{};r._emitStateChanged(C),c.Animated.spring(r.state.openValue,s({toValue:1,bounciness:0,restSpeedThreshold:.1,useNativeDriver:r.props.useNativeAnimations},e)).start(function(){r.props.onDrawerOpen&&r.props.onDrawerOpen(),r._emitStateChanged(m)})},r.closeDrawer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r._emitStateChanged(C),c.Animated.spring(r.state.openValue,s({toValue:0,bounciness:0,restSpeedThreshold:1,useNativeDriver:r.props.useNativeAnimations},e)).start(function(){r.props.onDrawerClose&&r.props.onDrawerClose(),r._emitStateChanged(m)})},r._handleDrawerOpen=function(){r.props.onDrawerOpen&&r.props.onDrawerOpen()},r._handleDrawerClose=function(){r.props.onDrawerClose&&r.props.onDrawerClose()},r._shouldSetPanResponder=function(e,t){var n=t.moveX,o=t.dx,a=t.dy;if(!o||!a||Math.abs(o)0&&(r._isClosing=!1,!0);if(o<0&&Math.abs(o)>3*Math.abs(a)||n>i)return r._isClosing=!0,r._closingAnchorValue=r._getOpenValueForX(n),!0}else{var s=_-r.props.drawerWidth;if(1!==r._lastOpenValue)return n>=_-35&&o<0&&(r._isClosing=!1,!0);if(o>0&&Math.abs(o)>3*Math.abs(a)||n1?o=1:o<0&&(o=0),r.state.openValue.setValue(o)},r._panResponderRelease=function(e,t){var n=t.moveX,o=t.vx,a=r._isClosing,i=o-.1;'left'===r.getDrawerPosition()?o>0&&n>y||o>=b||i&&a&&n>y?r.openDrawer({velocity:o}):o<0&&n0&&n>y||o>b||i&&!a?r.closeDrawer({velocity:-1*o}):a?r.openDrawer():r.closeDrawer()},r._isLockedClosed=function(){return'locked-closed'===r.props.drawerLockMode&&!r.state.drawerShown},r._isLockedOpen=function(){return'locked-open'===r.props.drawerLockMode&&r.state.drawerShown},r.state={accessibilityViewIsModal:!1,drawerShown:!1,openValue:new c.Animated.Value(0)},r}return v(t,p.Component),l(t,[{key:'getDrawerPosition',value:function(){var e=this.props.drawerPosition;return c.I18nManager.isRTL?'left'===e?'right':'left':e}},{key:'componentWillMount',value:function(){var e=this;this.state.openValue.addListener(function(t){var n=t.value,r=n>0,o=r;r!==e.state.drawerShown&&e.setState({drawerShown:r,accessibilityViewIsModal:o}),'on-drag'===e.props.keyboardDismissMode&&(0,d.default)(),e._lastOpenValue=n,e.props.onDrawerSlide&&e.props.onDrawerSlide({nativeEvent:{offset:n}})}),this._panResponder=c.PanResponder.create({onMoveShouldSetPanResponder:this._shouldSetPanResponder,onPanResponderGrant:this._panResponderGrant,onPanResponderMove:this._panResponderMove,onPanResponderTerminationRequest:function(){return!1},onPanResponderRelease:this._panResponderRelease,onPanResponderTerminate:function(){}})}},{key:'render',value:function(){var e=this.state,t=e.accessibilityViewIsModal,n=e.drawerShown,r=e.openValue,o=this.props,a=o.drawerBackgroundColor,i=o.drawerWidth,l=o.drawerPosition,p={backgroundColor:a,width:i,left:'left'===l?0:null,right:'right'===l?0:null},d=void 0;d='left'===this.getDrawerPosition()?[-i,0]:[i,0];var f={transform:[{translateX:r.interpolate({inputRange:[0,1],outputRange:d,extrapolate:'clamp'})}]},h={opacity:r.interpolate({inputRange:[0,1],outputRange:[0,.7],extrapolate:'clamp'})},w=n?'auto':'none';return u.default.createElement(c.View,s({style:{flex:1,backgroundColor:'transparent'}},this._panResponder.panHandlers),u.default.createElement(c.Animated.View,{style:V.main},this.props.children),u.default.createElement(c.TouchableWithoutFeedback,{pointerEvents:w,onPress:this._onOverlayClick},u.default.createElement(c.Animated.View,{pointerEvents:w,style:[V.overlay,h]})),u.default.createElement(c.Animated.View,{accessibilityViewIsModal:t,style:[V.drawer,p,f]},this.props.renderNavigationView()))}},{key:'_getOpenValueForX',value:function(e){var t=this.props.drawerWidth;return'left'===this.getDrawerPosition()?e/t:(_-e)/t}}]),t})(),a.defaultProps={drawerWidth:0,drawerPosition:'left',useNativeAnimations:!1},a.positions={Left:'left',Right:'right'},i);r.default=O;var V=c.StyleSheet.create({drawer:{position:'absolute',top:0,bottom:0,zIndex:1001},main:{flex:1,zIndex:0},overlay:{backgroundColor:'#000',position:'absolute',top:0,left:0,bottom:0,right:0,zIndex:1e3}})},404,[31,405,1]); +__d(function(e,t,u,n,d){Object.defineProperty(n,'__esModule',{value:!0}),n.default=function(){l.blurTextInput(l.currentlyFocusedField())};var l=t(d[0]).TextInput.State;u.exports=n.default},405,[1]); +__d(function(e,t,r,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var s=babelHelpers.interopRequireDefault(t(o[0])),i=t(o[1]),a=t(o[2]),l=babelHelpers.interopRequireDefault(t(o[3])),u=(function(e){function t(){var e,r,n;babelHelpers.classCallCheck(this,t);for(var o=arguments.length,s=new Array(o),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},o=babelHelpers.objectSpread({},e.Presets.Default,t),i=(0,r.TabRouter)(a,o),l=(0,r.createNavigator)(n.default,i,o);return(0,r.createNavigationContainer)(l)},d={iOSBottomTabs:{tabBarComponent:babelHelpers.interopRequireDefault(a(i[5])).default,tabBarPosition:'bottom',swipeEnabled:!1,animationEnabled:!1,initialLayout:void 0},AndroidTopTabs:{tabBarComponent:l.default,tabBarPosition:'top',swipeEnabled:!0,animationEnabled:!0,initialLayout:void 0}};b.Presets={iOSBottomTabs:d.iOSBottomTabs,AndroidTopTabs:d.AndroidTopTabs,Default:d.iOSBottomTabs};var u=b;o.default=u},411,[31,1,333,412,423,425]); +__d(function(e,t,n,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=babelHelpers.interopRequireDefault(t(a[0])),i=t(a[1]),s=t(a[2]),p=t(a[3]),l=(function(e){function t(){var e,n,r;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,i=new Array(a),l=0;l1&&void 0!==arguments[1])||arguments[1],a=n._viewPager;if(a){var i=n._getPageIndex(e);!1===n.props.animationEnabled||!1===t?a.setPageWithoutAnimation(i):a.setPage(i)}},n._handlePageChange=function(e,t){n._isIdle&&n._currentIndex!==e&&(n._setPage(e,t),n._currentIndex=e)},n._handlePageScroll=function(e){n.props.offsetX.setValue(e.nativeEvent.position*n.props.layout.width*(o.I18nManager.isRTL?1:-1)),n.props.panX.setValue(e.nativeEvent.offset*n.props.layout.width*(o.I18nManager.isRTL?1:-1))},n._handlePageScrollStateChanged=function(e){n._isIdle='idle'===e;var t=n._currentIndex,a=n.props.navigationState.routes[t];switch(n.props.canJumpToTab(a)?n.props.jumpTo(a.key):(n._setPage(n.props.navigationState.index),n._currentIndex=n.props.navigationState.index),e){case'dragging':n.props.onSwipeStart&&n.props.onSwipeStart();break;case'settling':n.props.onSwipeEnd&&n.props.onSwipeEnd();break;case'idle':n.props.onAnimationEnd&&n.props.onAnimationEnd()}},n._handlePageSelected=function(e){var t=n._getPageIndex(e.nativeEvent.position);n._currentIndex=t},n._setRef=function(e){return n._viewPager=e},n._currentIndex=n.props.navigationState.index,n}return babelHelpers.createClass(t,[{key:"componentDidUpdate",value:function(e){e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._handlePageChange(this.props.navigationState.index,!1):e.navigationState.index!==this.props.navigationState.index&&this._handlePageChange(this.props.navigationState.index)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.navigationState,a=e.swipeEnabled,i=e.keyboardDismissMode,s=r.Children.map(t,function(e,t){return r.createElement(o.View,{key:n.routes[t].key,testID:n.routes[t].testID,style:p.page},e)});o.I18nManager.isRTL&&s.reverse();var l=this._getPageIndex(n.index);return r.createElement(o.ViewPagerAndroid,{key:n.routes.length,keyboardDismissMode:i,initialPage:l,scrollEnabled:!1!==a,onPageScroll:this._handlePageScroll,onPageScrollStateChanged:this._handlePageScrollStateChanged,onPageSelected:this._handlePageSelected,style:p.container,ref:this._setRef},s)}}]),babelHelpers.inherits(t,e),t})(r.Component);a.default=l,l.propTypes=s.PagerRendererPropType,l.defaultProps={canJumpToTab:function(){return!0},keyboardDismissMode:'on-drag'};var p=o.StyleSheet.create({container:{flexGrow:1},page:{overflow:'hidden'}})},416,[31,1,415]); +__d(function(t,e,n,o,i){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=babelHelpers.interopRequireWildcard(e(i[0])),l=e(i[1]),r=e(i[2]),s=(function(e){function n(e){var o;babelHelpers.classCallCheck(this,n),(o=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).call(this,e)))._isIdle=!0,o._isInitial=!0,o._setInitialPage=function(){o.props.layout.width&&(o._isInitial=!0,o._scrollTo(o.props.navigationState.index*o.props.layout.width,!1)),setTimeout(function(){o._isInitial=!1},50)},o._scrollTo=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o._isIdle&&o._scrollView&&o._scrollView.scrollTo({x:t,animated:e&&!1!==o.props.animationEnabled})},o._handleMomentumScrollEnd=function(e){var n=Math.round(e.nativeEvent.contentOffset.x/o.props.layout.width),i=o.props.navigationState.routes[n];o.props.canJumpToTab(i)?(o.props.jumpTo(i.key),o.props.onAnimationEnd&&o.props.onAnimationEnd()):t.requestAnimationFrame(function(){o._scrollTo(o.props.navigationState.index*o.props.layout.width)})},o._handleScroll=function(e){if(!o._isInitial&&0!==e.nativeEvent.contentSize.width){var n=o.props,i=n.navigationState,a=n.layout,l=i.index*a.width;o.props.offsetX.setValue(-l),o.props.panX.setValue(l-e.nativeEvent.contentOffset.x),t.cancelAnimationFrame(o._idleCallback),o._isIdle=!1,o._idleCallback=t.requestAnimationFrame(function(){o._isIdle=!0})}};var i=o.props,a=i.navigationState,l=i.layout;return o.state={initialOffset:{x:a.index*l.width,y:0}},o}return babelHelpers.createClass(n,[{key:"componentDidMount",value:function(){this._setInitialPage()}},{key:"componentDidUpdate",value:function(t){var e=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes!==this.props.navigationState.routes||t.layout.width!==this.props.layout.width?this._scrollTo(e,!1):t.navigationState.index!==this.props.navigationState.index&&this._scrollTo(e)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,o=e.layout,i=e.navigationState,r=e.onSwipeStart,s=e.onSwipeEnd;return a.createElement(l.ScrollView,{horizontal:!0,pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollEnabled:this.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:!1,alwaysBounceHorizontal:!1,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:this._handleScroll,onScrollBeginDrag:r,onScrollEndDrag:s,onMomentumScrollEnd:this._handleMomentumScrollEnd,contentOffset:this.state.initialOffset,style:p.container,contentContainerStyle:o.width?null:p.container,ref:function(e){return t._scrollView=e}},a.Children.map(n,function(t,e){return a.createElement(l.View,{key:i.routes[e].key,testID:i.routes[e].testID,style:o.width?{width:o.width,overflow:'hidden'}:e===i.index?p.page:null},e===i.index||o.width?t:null)}))}}]),babelHelpers.inherits(n,e),n})(a.Component);o.default=s,s.propTypes=r.PagerRendererPropType,s.defaultProps={canJumpToTab:function(){return!0}};var p=l.StyleSheet.create({container:{flex:1},page:{flex:1,overflow:'hidden'}})},417,[31,1,415]); +__d(function(e,t,n,a,o){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=babelHelpers.interopRequireWildcard(t(o[0])),r=babelHelpers.interopRequireDefault(t(o[1])),s=t(o[2]),p=t(o[3]),l=12,d={timing:s.Animated.spring,tension:300,friction:35},u=(function(e){function t(e){var n;return babelHelpers.classCallCheck(this,t),(n=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e)))._isMovingHorizontally=function(e,t){return Math.abs(t.dx)>Math.abs(2*t.dy)&&Math.abs(t.vx)>Math.abs(2*t.vy)},n._canMoveScreen=function(e,t){if(!1===n.props.swipeEnabled)return!1;var a=n.props.navigationState.routes;return n._isMovingHorizontally(e,t)&&(t.dx>=l&&n._currentIndex>0||t.dx<=-12&&n._currentIndex0&&i<=0||t.dx<0&&i>=o.length-1||n.props.panX.setValue(t.dx)},n._finishGesture=function(e,t){var a=n.props,o=a.navigationState,i=a.layout,r=a.swipeDistanceThreshold,s=void 0===r?i.width/1.75:r,p=n.props.swipeVelocityThreshold,l=void 0===p?.15:p;n.props.onSwipeEnd&&n.props.onSwipeEnd();var d='number'==typeof n._pendingIndex?n._pendingIndex:n._currentIndex,u=d;Math.abs(t.dx)>Math.abs(t.dy)&&Math.abs(t.vx)>Math.abs(t.vy)&&(Math.abs(t.dx)>s||Math.abs(t.vx)>l)&&(u=Math.round(Math.min(Math.max(0,d-t.dx/Math.abs(t.dx)),o.routes.length-1)),n._currentIndex=u),isFinite(u)&&n.props.canJumpToTab(n.props.navigationState.routes[u])||(u=d),n._transitionTo(u)},n._transitionTo=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=-e*n.props.layout.width;if(!1===n.props.animationEnabled||!1===t)return n.props.panX.setValue(0),void n.props.offsetX.setValue(a);var o=d.timing,i=babelHelpers.objectWithoutProperties(d,["timing"]);s.Animated.parallel([o(n.props.panX,babelHelpers.objectSpread({},i,{toValue:0})),o(n.props.offsetX,babelHelpers.objectSpread({},i,{toValue:a}))]).start(function(t){if(t.finished){var a=n.props.navigationState.routes[e];n.props.jumpTo(a.key),n.props.onAnimationEnd&&n.props.onAnimationEnd(),n._pendingIndex=null}}),n._pendingIndex=e},n._currentIndex=n.props.navigationState.index,n}return babelHelpers.createClass(t,[{key:"componentWillMount",value:function(){this._panResponder=s.PanResponder.create({onMoveShouldSetPanResponder:this._canMoveScreen,onMoveShouldSetPanResponderCapture:this._canMoveScreen,onPanResponderGrant:this._startGesture,onPanResponderMove:this._respondToGesture,onPanResponderTerminate:this._finishGesture,onPanResponderRelease:this._finishGesture,onPanResponderTerminationRequest:function(){return!0}})}},{key:"componentDidUpdate",value:function(e){this._currentIndex=this.props.navigationState.index,e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._transitionTo(this.props.navigationState.index,!1):e.navigationState.index!==this.props.navigationState.index&&this._transitionTo(this.props.navigationState.index)}},{key:"render",value:function(){var e=this.props,t=e.panX,n=e.offsetX,a=e.navigationState,o=e.layout,r=e.children,p=o.width,l=a.routes,d=p*(l.length-1),u=s.Animated.add(t,n).interpolate({inputRange:[-d,0],outputRange:[-d,0],extrapolate:'clamp'});return i.createElement(s.Animated.View,babelHelpers.extends({style:[h.sheet,p?{width:l.length*p,transform:[{translateX:u}]}:null]},this._panResponder.panHandlers),i.Children.map(r,function(e,t){return i.createElement(s.View,{key:a.routes[t].key,testID:a.routes[t].testID,style:p?{width:p}:t===a.index?s.StyleSheet.absoluteFill:null},t===a.index||p?e:null)}))}}]),babelHelpers.inherits(t,e),t})(i.Component);a.default=u,u.propTypes=babelHelpers.objectSpread({},p.PagerRendererPropType,{swipeDistanceThreshold:r.default.number,swipeVelocityThreshold:r.default.number}),u.defaultProps={canJumpToTab:function(){return!0},initialLayout:{height:0,width:0}};var h=s.StyleSheet.create({sheet:{flex:1,flexDirection:'row',alignItems:'stretch'}})},418,[31,48,1,415]); +__d(function(e,t,n,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=babelHelpers.interopRequireWildcard(t(i[0])),o=babelHelpers.interopRequireDefault(t(i[1])),s=t(i[2]),p=t(i[3]),l={timing:s.Animated.spring,tension:75,friction:25},d=(function(e){function t(){var e,n,a;babelHelpers.classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),o=0;oMath.abs(h)&&Math.abs(v)>Math.abs(b)&&(Math.abs(u)>s||Math.abs(v)>l)&&(f=Math.round(Math.min(Math.max(0,c-u/Math.abs(u)),i.routes.length-1))),isFinite(f)&&a.props.canJumpToTab(a.props.navigationState.routes[f])||(f=c),a._transitionTo(f,v)}},a._transitionTo=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=-e*a.props.layout.width;if(!1===a.props.animationEnabled||!1===n)return a.props.panX.setValue(0),void a.props.offsetX.setValue(i);var r=l.timing,o=babelHelpers.objectWithoutProperties(l,["timing"]),p=a.props.useNativeDriver;s.Animated.parallel([r(a.props.panX,babelHelpers.objectSpread({},o,{toValue:0,velocity:t,useNativeDriver:p})),r(a.props.offsetX,babelHelpers.objectSpread({},o,{toValue:i,velocity:t,useNativeDriver:p}))]).start(function(t){if(t.finished){var n=a.props.navigationState.routes[e];a.props.jumpTo(n.key),a.props.onAnimationEnd&&a.props.onAnimationEnd(),a._pendingIndex=null}}),a._pendingIndex=e},n))}return babelHelpers.createClass(t,[{key:"componentDidUpdate",value:function(e){e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._transitionTo(this.props.navigationState.index,void 0,!1):e.navigationState.index!==this.props.navigationState.index&&this._transitionTo(this.props.navigationState.index)}},{key:"render",value:function(){var e=this.props,t=e.GestureHandler,n=e.panX,a=e.offsetX,i=e.layout,o=e.navigationState,p=e.swipeEnabled,l=e.children,d=i.width,h=o.routes,v=d*(h.length-1),b=s.Animated.add(n,a).interpolate({inputRange:[-v,0],outputRange:[-v,0],extrapolate:'clamp'});return r.createElement(t.PanGestureHandler,{enabled:0!==i.width&&!1!==p,minDeltaX:10,onGestureEvent:s.Animated.event([{nativeEvent:{translationX:this.props.panX}}],{useNativeDriver:this.props.useNativeDriver}),onHandlerStateChange:this._handleHandlerStateChange},r.createElement(s.Animated.View,{style:[u.sheet,d?{width:h.length*d,transform:[{translateX:b}]}:null]},r.Children.map(l,function(e,t){return r.createElement(s.View,{key:o.routes[t].key,testID:o.routes[t].testID,style:d?{width:d}:t===o.index?s.StyleSheet.absoluteFill:null},t===o.index||d?e:null)})))}}]),babelHelpers.inherits(t,e),t})(r.Component);a.default=d,d.propTypes=babelHelpers.objectSpread({},p.PagerRendererPropType,{swipeDistanceThreshold:o.default.number,swipeVelocityThreshold:o.default.number,GestureHandler:o.default.object}),d.defaultProps={GestureHandler:e.__expo&&e.__expo.DangerZone?e.__expo.DangerZone.GestureHandler:void 0,canJumpToTab:function(){return!0}};var u=s.StyleSheet.create({sheet:{flex:1,flexDirection:'row',alignItems:'stretch'}})},419,[31,48,1,415]); +__d(function(e,t,n,o,a){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var l=babelHelpers.interopRequireWildcard(t(a[0])),r=babelHelpers.interopRequireDefault(t(a[1])),i=t(a[2]),s=babelHelpers.interopRequireDefault(t(a[3])),c=t(a[4]),p=Boolean(i.NativeModules.NativeAnimatedModule),d=(function(t){function n(t){var o;babelHelpers.classCallCheck(this,n),(o=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).call(this,t)))._isIntial=!0,o._isManualScroll=!1,o._isMomentumScroll=!1,o._startTrackingPosition=function(){o._offsetXListener=o.props.offsetX.addListener(function(e){var t=e.value;o._lastOffsetX=t,o._handlePosition()}),o._panXListener=o.props.panX.addListener(function(e){var t=e.value;o._lastPanX=t,o._handlePosition()})},o._stopTrackingPosition=function(){o.props.offsetX.removeListener(o._offsetXListener),o.props.panX.removeListener(o._panXListener)},o._handlePosition=function(){var e=o.props,t=e.navigationState,n=e.layout;if(0!==n.width){var a=(('number'==typeof o._lastPanX?o._lastPanX:0)+('number'==typeof o._lastOffsetX?o._lastOffsetX:-t.index*n.width))/-(n.width||.001);o._adjustScroll(a)}},o._renderLabel=function(e){if(void 0!==o.props.renderLabel)return o.props.renderLabel(e);var t=o.props.getLabelText(e);return'string'!=typeof t?null:l.createElement(i.Animated.Text,{style:[u.tabLabel,o.props.labelStyle]},t)},o._renderIndicator=function(e){if(void 0!==o.props.renderIndicator)return o.props.renderIndicator(e);var t=e.width,n=e.position,a=e.navigationState,r=i.Animated.multiply(i.Animated.multiply(n.interpolate({inputRange:[0,a.routes.length-1],outputRange:[0,a.routes.length-1],extrapolate:'clamp'}),t),i.I18nManager.isRTL?-1:1);return l.createElement(i.Animated.View,{style:[u.indicator,{width:t,transform:[{translateX:r}]},o.props.indicatorStyle]})},o._getTabWidth=function(e){var t=e.layout,n=e.navigationState,o=e.tabStyle,a=i.StyleSheet.flatten(o);if(a)switch(typeof a.width){case'number':return a.width;case'string':if(a.width.endsWith('%')){var l=parseFloat(a.width);if(Number.isFinite(l))return t.width*(l/100)}}return e.scrollEnabled?t.width/5*2:t.width/n.routes.length},o._handleTabPress=function(e){o._pendingIndex=e.index,o.props.jumpTo(e.route.key),o.props.onTabPress&&o.props.onTabPress(e)},o._normalizeScrollValue=function(e,t){var n=e.layout,a=e.navigationState,l=o._getTabWidth(e),r=Math.max(l*a.routes.length,n.width)-n.width;return Math.max(Math.min(t,r),0)},o._getScrollAmount=function(e,t){var n=e.layout,a=o._getTabWidth(e)*(t+.5)-n.width/2;return o._normalizeScrollValue(e,a)},o._adjustScroll=function(t){o.props.scrollEnabled&&(e.cancelAnimationFrame(o._scrollResetCallback),o._scrollView&&o._scrollView.scrollTo({x:o._normalizeScrollValue(o.props,o._getScrollAmount(o.props,t)),animated:!o._isIntial}),o._isIntial=!1)},o._resetScroll=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o.props.scrollEnabled&&(e.cancelAnimationFrame(o._scrollResetCallback),o._scrollResetCallback=e.requestAnimationFrame(function(){o._scrollView&&o._scrollView.scrollTo({x:o._getScrollAmount(o.props,t),animated:n})}))},o._handleBeginDrag=function(){o._isManualScroll=!0,o._isMomentumScroll=!1},o._handleEndDrag=function(){e.requestAnimationFrame(function(){o._isMomentumScroll||(o._isManualScroll=!1)})},o._handleMomentumScrollBegin=function(){o._isMomentumScroll=!0},o._handleMomentumScrollEnd=function(){o._isMomentumScroll=!1,o._isManualScroll=!1},o._setRef=function(e){return o._scrollView=e&&e._component};var a=1;o.props.scrollEnabled&&(o._getTabWidth(o.props)||(a=0));var r=o.props.scrollEnabled&&o.props.layout.width?{x:o._getScrollAmount(o.props,o.props.navigationState.index),y:0}:void 0;return o.state={visibility:new i.Animated.Value(a),scrollAmount:new i.Animated.Value(0),initialOffset:r},o}return babelHelpers.createClass(n,[{key:"componentDidMount",value:function(){this.props.scrollEnabled&&this._startTrackingPosition()}},{key:"componentDidUpdate",value:function(e){var t=this._getTabWidth(e),n=this._getTabWidth(this.props);t!==n&&n&&this.state.visibility.setValue(1),e.navigationState===this.props.navigationState&&e.layout===this.props.layout&&t===n||this.props.navigationState.index===this._pendingIndex||(this._resetScroll(this.props.navigationState.index,Boolean(e.layout.width)),this._pendingIndex=null)}},{key:"componentWillUnmount",value:function(){this._stopTrackingPosition()}},{key:"render",value:function(){var e=this,t=this.props,n=t.position,o=t.navigationState,a=t.scrollEnabled,r=t.bounces,c=o.routes,d=o.index,f=this._getTabWidth(this.props),h=f*c.length,b=[-1].concat(babelHelpers.toConsumableArray(c.map(function(e,t){return t}))),m=i.Animated.multiply(this.state.scrollAmount,-1);return l.createElement(i.Animated.View,{style:[u.tabBar,this.props.style]},l.createElement(i.Animated.View,{pointerEvents:"none",style:[u.indicatorContainer,a?{width:h,transform:[{translateX:m}]}:null]},this._renderIndicator(babelHelpers.objectSpread({},this.props,{width:f}))),l.createElement(i.View,{style:u.scroll},l.createElement(i.Animated.ScrollView,{horizontal:!0,keyboardShouldPersistTaps:"handled",scrollEnabled:a,bounces:r,alwaysBounceHorizontal:!1,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,automaticallyAdjustContentInsets:!1,overScrollMode:"never",contentContainerStyle:[u.tabContent,a?null:u.container],scrollEventThrottle:1,onScroll:i.Animated.event([{nativeEvent:{contentOffset:{x:this.state.scrollAmount}}}],{useNativeDriver:p}),onScrollBeginDrag:this._handleBeginDrag,onScrollEndDrag:this._handleEndDrag,onMomentumScrollBegin:this._handleMomentumScrollBegin,onMomentumScrollEnd:this._handleMomentumScrollEnd,contentOffset:this.state.initialOffset,ref:this._setRef},c.map(function(t,o){var r=d===o,c=b.map(function(e){return e===o?1:.7}),p=i.Animated.multiply(e.state.visibility,n.interpolate({inputRange:b,outputRange:c})),h={route:t,focused:r,index:o},m=e._renderLabel(h),_=e.props.renderIcon?e.props.renderIcon(h):null,y=e.props.renderBadge?e.props.renderBadge(h):null,g={};g.opacity=p,_&&(m?g.paddingTop=8:g.padding=12);var v=i.StyleSheet.flatten(e.props.tabStyle),S=v&&void 0!==v.width||!0===a,w={};S&&(g.width=f),v&&'number'==typeof v.flex?w.flex=v.flex:S||(w.flex=1);var T=t.accessibilityLabel||t.title;return l.createElement(s.default,{borderless:!0,key:t.key,testID:t.testID,accessible:t.accessible,accessibilityLabel:T,accessibilityTraits:"button",pressColor:e.props.pressColor,pressOpacity:e.props.pressOpacity,delayPressIn:0,onPress:function(){return e._handleTabPress(h)},style:w},l.createElement(i.View,{pointerEvents:"none",style:u.container},l.createElement(i.Animated.View,{style:[u.tabItem,g,v,u.container]},_,m),y?l.createElement(i.Animated.View,{style:[u.badge,{opacity:e.state.visibility}]},y):null))}))))}}]),babelHelpers.inherits(n,t),n})(l.Component);o.default=d,d.propTypes=babelHelpers.objectSpread({},c.SceneRendererPropType,{scrollEnabled:r.default.bool,bounces:r.default.bool,pressColor:s.default.propTypes.pressColor,pressOpacity:s.default.propTypes.pressOpacity,getLabelText:r.default.func,renderIcon:r.default.func,renderLabel:r.default.func,renderIndicator:r.default.func,onTabPress:r.default.func,labelStyle:r.default.any,style:r.default.any}),d.defaultProps={getLabelText:function(e){var t=e.route;return'string'==typeof t.title?t.title.toUpperCase():t.title}};var u=i.StyleSheet.create({container:{flex:1},scroll:{overflow:'scroll'},tabBar:{backgroundColor:'#2196f3',elevation:4,shadowColor:'black',shadowOpacity:.1,shadowRadius:i.StyleSheet.hairlineWidth,shadowOffset:{height:i.StyleSheet.hairlineWidth},zIndex:1},tabContent:{flexDirection:'row',flexWrap:'nowrap'},tabLabel:{backgroundColor:'transparent',color:'white',margin:8},tabItem:{flex:1,padding:8,alignItems:'center',justifyContent:'center'},badge:{position:'absolute',top:0,right:0},indicatorContainer:{position:'absolute',top:0,left:0,right:0,bottom:0},indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},420,[31,48,1,421,415]); +__d(function(e,r,s,l,t){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var a=babelHelpers.interopRequireWildcard(r(t[0])),o=babelHelpers.interopRequireDefault(r(t[1])),n=r(t[2]),p=(function(r){function s(){var r,l,t;babelHelpers.classCallCheck(this,s);for(var a=arguments.length,o=new Array(a),n=0;n=11&&!0,c=(function(e){function t(){var e,a,r;babelHelpers.classCallCheck(this,t);for(var n=arguments.length,u=new Array(n),c=0;c0&&n.dispatch(l.StackActions.popToTop({key:o.key}))}else a(e)},a))}return babelHelpers.createClass(t,[{key:"_tabItemMaxWidth",value:function(){var e,t=this.props,a=t.tabStyle,r=t.layout,n=i.StyleSheet.flatten(a);if(n)if('number'==typeof n.width)e=n.width;else if('string'==typeof n.width&&n.width.endsWith('%')){var o=parseFloat(n.width);Number.isFinite(o)&&(e=r.width*(o/100))}else if('number'==typeof n.maxWidth)e=n.maxWidth;else if('string'==typeof n.maxWidth&&n.width.endsWith('%')){var l=parseFloat(n.maxWidth);Number.isFinite(l)&&(e=r.width*(l/100))}return e||(e=125),e}},{key:"_shouldUseHorizontalTabs",value:function(){var e=this.props.navigation.state.routes,t=this.props,a=t.isLandscape,r=t.layout,n=t.adaptive;t.tabStyle;if(!n)return!1;var o=r.width;if(0===o)return i.Platform.isPad;if(i.Platform.isPad){var l=this._tabItemMaxWidth();return e.length*l<=o}return a}},{key:"render",value:function(){var e=this,t=this.props,a=t.position,r=t.navigation,n=t.jumpToIndex,s=t.getOnPress,u=(t.getTestIDProps,t.activeBackgroundColor),c=t.inactiveBackgroundColor,d=t.style,b=t.animateStyle,f=t.tabStyle,h=(t.isLandscape,r.state.routes),m=h[r.state.index],v=[-1].concat(babelHelpers.toConsumableArray(h.map(function(e,t){return t}))),g=[p.tabBar,this._shouldUseHorizontalTabs()&&!i.Platform.isPad?p.tabBarCompact:p.tabBarRegular,d];return o.default.createElement(i.Animated.View,{style:b},o.default.createElement(l.SafeAreaView,{style:g,forceInset:{bottom:'always',top:'never'}},h.map(function(t,l){var d=l===r.state.index,b={route:t,index:l,focused:d},h=s(m,b),g=v.map(function(e){return e===l?u:c}),y=a.interpolate({inputRange:v,outputRange:g}),C=(e.props.showIcon,e._renderTestIDProps(b)||{}),T=C.testID,w=C.accessibilityLabel;return o.default.createElement(i.TouchableWithoutFeedback,{key:t.key,testID:T,accessibilityLabel:w,onPress:function(){return h?h({previousScene:m,scene:b,jumpToIndex:n,defaultHandler:e._handleTabPress}):e._handleTabPress(l)}},o.default.createElement(i.Animated.View,{style:[p.tab,{backgroundColor:y}]},o.default.createElement(i.View,{style:[p.tab,e._shouldUseHorizontalTabs()?p.tabLandscape:p.tabPortrait,f]},e._renderIcon(b),e._renderLabel(b))))})))}}]),babelHelpers.inherits(t,e),t})(o.default.PureComponent);c.defaultProps={activeTintColor:'#3478f6',activeBackgroundColor:'transparent',inactiveTintColor:'#929292',inactiveBackgroundColor:'transparent',showLabel:!0,showIcon:!0,allowFontScaling:!0,adaptive:u};var p=i.StyleSheet.create({tabBar:{backgroundColor:'#F7F7F7',borderTopWidth:i.StyleSheet.hairlineWidth,borderTopColor:'rgba(0, 0, 0, .3)',flexDirection:'row'},tabBarCompact:{height:29},tabBarRegular:{height:49},tab:{flex:1,alignItems:'center'},tabPortrait:{justifyContent:'flex-end',flexDirection:'column'},tabLandscape:{justifyContent:'center',flexDirection:'row'},iconWithoutLabel:{flex:1},iconWithLabel:{flex:1},iconWithExplicitHeight:{height:i.Platform.isPad?49:29},label:{textAlign:'center',backgroundColor:'transparent'},labelBeneath:{fontSize:10,marginBottom:1.5},labelBeside:{fontSize:13,marginLeft:20}}),d=(0,l.withOrientation)(c);r.default=d},425,[31,1,333,424]); +__d(function(t,a,e,r,o){e.exports={get createBottomTabNavigator(){return a(o[0]).default},get createMaterialTopTabNavigator(){return a(o[1]).default},get BottomTabBar(){return a(o[2]).default},get MaterialTopTabBar(){return a(o[3]).default},get createTabNavigator(){return a(o[4]).default}}},426,[427,436,429,448,428]); +__d(function(e,t,r,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=babelHelpers.interopRequireWildcard(t(a[0])),l=t(a[1]),s=t(a[2]),i=babelHelpers.interopRequireDefault(t(a[3])),u=babelHelpers.interopRequireDefault(t(a[4])),p=babelHelpers.interopRequireDefault(t(a[5])),d=(function(e){function t(){var e,r,n;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,l=new Array(a),s=0;s0&&a.dispatch(s.StackActions.popToTop({key:t.key})):n._jumpTo(t.routeName)};i.tabBarOnPress?i.tabBarOnPress({navigation:a,defaultHandler:p}):p()},n._handleIndexChange=function(e){n._isTabPress?n._isTabPress=!1:n._jumpTo(n.props.navigation.state.routes[e].routeName)},n._jumpTo=function(e){return n.props.navigation.dispatch(s.NavigationActions.navigate({routeName:e}))},n._isTabPress=!1,t))}return babelHelpers.createClass(r,[{key:"render",value:function(){var t=this.props,r=t.descriptors,n=t.navigation,o=t.screenProps,s=n.state,i=s.routes[s.index],p=r[i.key],c=babelHelpers.objectSpread({},this.props.navigationConfig,p.options);return a.createElement(e,babelHelpers.extends({},c,{getLabelText:this._getLabelText,getButtonComponent:this._getButtonComponent,getAccessibilityLabel:this._getAccessibilityLabel,getTestID:this._getTestID,renderIcon:this._renderIcon,renderScene:this._renderScene,onIndexChange:this._handleIndexChange,onTabPress:this._handleTabPress,navigation:n,descriptors:r,screenProps:o}))}}]),babelHelpers.inherits(r,t),r})(a.Component);return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.TabRouter)(e,r),o=(0,s.createNavigator)(t,n,r);return(0,s.createNavigationContainer)(o)}};var a=babelHelpers.interopRequireWildcard(t(o[0])),s=t(o[1])},428,[31,333]); +__d(function(e,t,r,a,o){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var l=babelHelpers.interopRequireDefault(t(o[0])),n=t(o[1]),i=babelHelpers.interopRequireDefault(t(o[2])),s=babelHelpers.interopRequireDefault(t(o[3])),c=babelHelpers.interopRequireDefault(t(o[4])),u=parseInt(n.Platform.Version,10)>=11&&!0,b=125,p=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.onPress,r=e.testID,a=e.accessibilityLabel,o=babelHelpers.objectWithoutProperties(e,["onPress","testID","accessibilityLabel"]);return l.default.createElement(n.TouchableWithoutFeedback,{onPress:t,testID:r,accessibilityLabel:a},l.default.createElement(n.View,o))}}]),babelHelpers.inherits(t,e),t})(l.default.Component),f=(function(e){function t(){var e,r,a;babelHelpers.classCallCheck(this,t);for(var o=arguments.length,i=new Array(o),c=0;c=50?r.DeviceInfo.isIPhoneX_deprecated:l===s&&g===p||l===p&&g===s,v=!(f||l>g&&g<768||g>l&&l<768),b=null,m=function(e){return null!==b?b:f?e?0:44:v?20:e?0:20},y=function(e){if(!e.includes('%'))return 0;var t=parseFloat(e)/100;return isNaN(t)?0:t},w=(function(e){function t(){var e,i,n;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,o=new Array(a),d=0;d=o?p%=o:p<0&&(p=p%o+o),s>=a?s%=a:s<0&&(s=s%a+a);var c=0===p,l=p+d>=o,g=0===s,u=s+r>=a;n.setState({touchesTop:c,touchesBottom:l,touchesLeft:g,touchesRight:u,orientation:i,viewWidth:r,viewHeight:d})})}}},n._getSafeAreaStyle=function(){var e=n.state,t=e.touchesTop,i=e.touchesBottom,a=e.touchesLeft,o=e.touchesRight,r=n.props,d=r.forceInset,p=(r.isLandscape,n._getViewStyles()),s=p.paddingTop,c=p.paddingBottom,l=p.paddingLeft,g=p.paddingRight,u=p.viewStyle,h=babelHelpers.objectSpread({},u,{paddingTop:t?n._getInset('top'):0,paddingBottom:i?n._getInset('bottom'):0,paddingLeft:a?n._getInset('left'):0,paddingRight:o?n._getInset('right'):0});return d&&Object.keys(d).forEach(function(e){var t=d[e];switch('always'===t&&(t=n._getInset(e)),'never'===t&&(t=0),e){case'horizontal':h.paddingLeft=t,h.paddingRight=t;break;case'vertical':h.paddingTop=t,h.paddingBottom=t;break;case'left':case'right':case'top':case'bottom':var i="padding"+e[0].toUpperCase()+e.slice(1);h[i]=t}}),h.height&&'number'==typeof h.height&&(h.height+=h.paddingTop+h.paddingBottom),h.width&&'number'==typeof h.width&&(h.width+=h.paddingLeft+h.paddingRight),h.paddingTop=Math.max(h.paddingTop,s),h.paddingBottom=Math.max(h.paddingBottom,c),h.paddingLeft=Math.max(h.paddingLeft,l),h.paddingRight=Math.max(h.paddingRight,g),h},n._getViewStyles=function(){var e=n.state.viewWidth,t=r.StyleSheet.flatten(n.props.style||{}),i=t.padding,a=void 0===i?0:i,o=t.paddingVertical,d=void 0===o?a:o,p=t.paddingHorizontal,s=void 0===p?a:p,c=t.paddingTop,l=void 0===c?d:c,g=t.paddingBottom,u=void 0===g?d:g,h=t.paddingLeft,f=void 0===h?s:h,v=t.paddingRight,b=void 0===v?s:v,m=babelHelpers.objectWithoutProperties(t,["padding","paddingVertical","paddingHorizontal","paddingTop","paddingBottom","paddingLeft","paddingRight"]);return'number'!=typeof l&&(l=y(l)*e),'number'!=typeof u&&(u=y(u)*e),'number'!=typeof f&&(f=y(f)*e),'number'!=typeof b&&(b=y(b)*e),{paddingTop:l,paddingBottom:u,paddingLeft:f,paddingRight:b,viewStyle:m}},n._getInset=function(e){var t=n.props.isLandscape;switch(e){case'horizontal':case'right':case'left':return t&&f?44:0;case'vertical':case'top':return m(t);case'bottom':return f?t?24:34:0}},i))}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){var e=this;r.InteractionManager.runAfterInteractions(function(){e._onLayout()})}},{key:"componentWillReceiveProps",value:function(){this._onLayout()}},{key:"render",value:function(){var e=this,t=this.props,i=(t.forceInset,t.isLandscape,t.children,t.style,this._getSafeAreaStyle());return o.default.createElement(r.Animated.View,{ref:function(t){return e.view=t},onLayout:this._onLayout,style:i,pointerEvents:"box-none"},this.props.children)}}]),babelHelpers.inherits(t,e),t})(o.Component);w.setStatusBarHeight=function(e){b=e};var L=(0,d.default)(w);n.default=L},430,[31,1,431]); +__d(function(e,n,t,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){var n=(function(n){function t(){var e;babelHelpers.classCallCheck(this,t),(e=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this))).handleOrientationChange=function(n){var t=n.window,i=l(t);e.setState({isLandscape:i})};var n=l(s.Dimensions.get('window'));return e.state={isLandscape:n},e}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){s.Dimensions.addEventListener('change',this.handleOrientationChange)}},{key:"componentWillUnmount",value:function(){s.Dimensions.removeEventListener('change',this.handleOrientationChange)}},{key:"render",value:function(){return r.createElement(e,babelHelpers.extends({},this.props,this.state))}}]),babelHelpers.inherits(t,n),t})(r.Component);return(0,o.default)(n,e)},i.isOrientationLandscape=void 0;var r=babelHelpers.interopRequireWildcard(n(a[0])),s=n(a[1]),o=babelHelpers.interopRequireDefault(n(a[2])),l=function(e){return e.width>e.height};i.isOrientationLandscape=l},431,[31,1,432]); +__d(function(e,t,r,o,p){'use strict';var a={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,l=f&&f(Object);r.exports=function e(t,r,o){if('string'!=typeof r){if(l){var p=f(r);p&&p!==l&&e(t,p,o)}var g=s(r);i&&(g=g.concat(i(r)));for(var O=0;Oe.height};i.isOrientationLandscape=l},434,[31,1,432]); +__d(function(e,t,l,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=babelHelpers.interopRequireWildcard(t(a[0])),n=t(a[1]),o=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.isFocused,l=e.children,r=e.style,a=babelHelpers.objectWithoutProperties(e,["isFocused","children","style"]);return s.createElement(n.View,babelHelpers.extends({style:[i.container,r],collapsable:!1,removeClippedSubviews:!t,pointerEvents:t?'auto':'none'},a),s.createElement(n.View,{style:t?i.attached:i.detached},l))}}]),babelHelpers.inherits(t,e),t})(s.Component);r.default=o;var i=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},attached:{flex:1},detached:{flex:1,top:3e3}})},435,[31,1]); +__d(function(e,r,t,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=babelHelpers.interopRequireWildcard(r(a[0])),i=(r(a[1]),r(a[2])),s=babelHelpers.interopRequireDefault(r(a[3])),l=babelHelpers.interopRequireDefault(r(a[4])),p=babelHelpers.interopRequireDefault(r(a[5])),b=(function(e){function r(){var e,t,n;babelHelpers.classCallCheck(this,r);for(var a=arguments.length,s=new Array(a),b=0;b1&&void 0!==arguments[1])||arguments[1];o.props.scrollEnabled&&(e.cancelAnimationFrame(o._scrollResetCallback),o._scrollResetCallback=e.requestAnimationFrame(function(){o._scrollView&&o._scrollView.scrollTo({x:o._getScrollAmount(o.props,t),animated:n})}))},o._handleBeginDrag=function(){o._isManualScroll=!0,o._isMomentumScroll=!1},o._handleEndDrag=function(){e.requestAnimationFrame(function(){o._isMomentumScroll||(o._isManualScroll=!1)})},o._handleMomentumScrollBegin=function(){o._isMomentumScroll=!0},o._handleMomentumScrollEnd=function(){o._isMomentumScroll=!1,o._isManualScroll=!1};var r=1;o.props.scrollEnabled&&(o._getTabWidth(o.props)||(r=0));var i=o.props.scrollEnabled&&o.props.layout.width?{x:o._getScrollAmount(o.props,o.props.navigationState.index),y:0}:void 0;return o.state={visibility:new l.Animated.Value(r),scrollAmount:new l.Animated.Value(0),initialOffset:i},o}return babelHelpers.createClass(n,[{key:"componentDidMount",value:function(){this.props.scrollEnabled&&this._startTrackingPosition()}},{key:"componentDidUpdate",value:function(e){var t=this._getTabWidth(e),n=this._getTabWidth(this.props),o='number'==typeof this._pendingIndex?this._pendingIndex:this.props.navigationState.index;this._pendingIndex=null,t!==n&&n&&this.state.visibility.setValue(1),e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._resetScroll(this.props.navigationState.index,!1):e.navigationState.index!==o&&this._resetScroll(this.props.navigationState.index)}},{key:"componentWillUnmount",value:function(){this._stopTrackingPosition()}},{key:"render",value:function(){var e=this,t=this.props,n=t.position,o=t.navigationState,r=t.scrollEnabled,i=t.bounces,c=o.routes,u=this._getTabWidth(this.props),b=u*c.length,f=[-1].concat(babelHelpers.toConsumableArray(c.map(function(e,t){return t}))),h=l.Animated.multiply(this.state.scrollAmount,-1);return a.createElement(l.Animated.View,{style:[d.tabBar,this.props.style]},a.createElement(l.Animated.View,{pointerEvents:"none",style:[d.indicatorContainer,r?{width:b,transform:[{translateX:h}]}:null]},this._renderIndicator(babelHelpers.objectSpread({},this.props,{width:u}))),a.createElement(l.View,{style:d.scroll},a.createElement(l.Animated.ScrollView,{horizontal:!0,keyboardShouldPersistTaps:"handled",scrollEnabled:r,bounces:i,alwaysBounceHorizontal:!1,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,automaticallyAdjustContentInsets:!1,overScrollMode:"never",contentContainerStyle:[d.tabContent,r?null:d.container],scrollEventThrottle:1,onScroll:l.Animated.event([{nativeEvent:{contentOffset:{x:this.state.scrollAmount}}}],{useNativeDriver:p}),onScrollBeginDrag:this._handleBeginDrag,onScrollEndDrag:this._handleEndDrag,onMomentumScrollBegin:this._handleMomentumScrollBegin,onMomentumScrollEnd:this._handleMomentumScrollEnd,contentOffset:this.state.initialOffset,ref:function(t){return e._scrollView=t&&t._component}},c.map(function(t,i){var c=f.map(function(e){return e===i?1:.7}),p=l.Animated.multiply(e.state.visibility,n.interpolate({inputRange:f,outputRange:c})),b=e._renderLabel({route:t}),h=e.props.renderIcon?e.props.renderIcon({route:t}):null,m=e.props.renderBadge?e.props.renderBadge({route:t}):null,g={};g.opacity=p,h&&(b?g.paddingTop=8:g.padding=12);var y=l.StyleSheet.flatten(e.props.tabStyle),_=y&&void 0!==y.width||!0===r,v={};_&&(g.width=u),y&&'number'==typeof y.flex?v.flex=y.flex:_||(v.flex=1);var S=e.props.getAccessibilityLabel({route:t});S=void 0!==S?S:e.props.getLabelText({route:t});var w=i===o.index;return a.createElement(s.default,{borderless:!0,key:t.key,testID:e.props.getTestID({route:t}),accessible:e.props.getAccessible({route:t}),accessibilityLabel:S,accessibilityTraits:w?['button','selected']:'button',accessibilityComponentType:"button",pressColor:e.props.pressColor,pressOpacity:e.props.pressOpacity,delayPressIn:0,onPress:function(){return e._handleTabPress({route:t})},style:v},a.createElement(l.View,{pointerEvents:"none",style:d.container},a.createElement(l.Animated.View,{style:[d.tabItem,g,y,d.container]},h,b),m?a.createElement(l.Animated.View,{style:[d.badge,{opacity:e.state.visibility}]},m):null))}))))}}]),babelHelpers.inherits(n,t),n})(a.Component);o.default=u,u.propTypes=babelHelpers.objectSpread({},c.SceneRendererPropType,{scrollEnabled:i.default.bool,bounces:i.default.bool,pressColor:s.default.propTypes.pressColor,pressOpacity:s.default.propTypes.pressOpacity,getLabelText:i.default.func,getAccessible:i.default.func,getAccessibilityLabel:i.default.func,getTestID:i.default.func,renderIcon:i.default.func,renderLabel:i.default.func,renderIndicator:i.default.func,onTabPress:i.default.func,labelStyle:i.default.any,style:i.default.any}),u.defaultProps={getLabelText:function(e){var t=e.route;return'string'==typeof t.title?t.title.toUpperCase():t.title},getAccessible:function(e){var t=e.route;return void 0===t.accessible||t.accessible},getAccessibilityLabel:function(e){return e.route.accessibilityLabel},getTestID:function(e){return e.route.testID}};var d=l.StyleSheet.create({container:{flex:1},scroll:{overflow:'scroll'},tabBar:{backgroundColor:'#2196f3',elevation:4,shadowColor:'black',shadowOpacity:.1,shadowRadius:l.StyleSheet.hairlineWidth,shadowOffset:{height:l.StyleSheet.hairlineWidth},zIndex:1},tabContent:{flexDirection:'row',flexWrap:'nowrap'},tabLabel:{backgroundColor:'transparent',color:'white',margin:8},tabItem:{flex:1,padding:8,alignItems:'center',justifyContent:'center'},badge:{position:'absolute',top:0,right:0},indicatorContainer:{position:'absolute',top:0,left:0,right:0,bottom:0},indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},439,[31,48,1,440,441]); +__d(function(e,r,s,l,t){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var a=babelHelpers.interopRequireWildcard(r(t[0])),o=babelHelpers.interopRequireDefault(r(t[1])),p=r(t[2]),i=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){var e=this.props,r=e.style,s=e.pressOpacity,l=(e.pressColor,e.borderless,babelHelpers.objectWithoutProperties(e,["style","pressOpacity","pressColor","borderless"]));return a.createElement(p.TouchableOpacity,babelHelpers.extends({},l,{style:r,activeOpacity:s}),this.props.children)}}]),babelHelpers.inherits(r,e),r})(a.Component);l.default=i,i.propTypes={onPress:o.default.func.isRequired,delayPressIn:o.default.number,borderless:o.default.bool,pressColor:o.default.string,pressOpacity:o.default.number,children:o.default.node.isRequired},i.defaultProps={pressColor:'rgba(255, 255, 255, .4)'}},440,[31,48,1]); +__d(function(e,i,a,u,t){Object.defineProperty(u,"__esModule",{value:!0}),u.PagerRendererPropType=u.SceneRendererPropType=u.NavigationStatePropType=u.NavigationRoutePropType=void 0;var d=babelHelpers.interopRequireDefault(i(t[0])),r=i(t[1]),n=d.default.shape({title:d.default.string,key:d.default.string.isRequired});u.NavigationRoutePropType=n;var o=d.default.shape({routes:d.default.arrayOf(n).isRequired,index:d.default.number.isRequired});u.NavigationStatePropType=o;var l={panX:d.default.object.isRequired,offsetX:d.default.object.isRequired,layout:d.default.shape({measured:d.default.bool.isRequired,height:d.default.number.isRequired,width:d.default.number.isRequired}).isRequired,navigationState:o.isRequired,position:d.default.object.isRequired,jumpTo:d.default.func.isRequired,useNativeDriver:d.default.bool};u.SceneRendererPropType=l;var f={layout:d.default.shape({measured:d.default.bool.isRequired,height:d.default.number.isRequired,width:d.default.number.isRequired}).isRequired,navigationState:o.isRequired,panX:d.default.instanceOf(r.Animated.Value).isRequired,offsetX:d.default.instanceOf(r.Animated.Value).isRequired,canJumpToTab:d.default.func.isRequired,jumpTo:d.default.func.isRequired,animationEnabled:d.default.bool,swipeEnabled:d.default.bool,useNativeDriver:d.default.bool,onSwipeStart:d.default.func,onSwipeEnd:d.default.func,onAnimationEnd:d.default.func,children:d.default.node.isRequired};u.PagerRendererPropType=f},441,[48,1]); +__d(function(e,d,t,u,a){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;d(a[0]);var f=d(a[2]).default;u.default=f},442,[1,443,444,445]); +__d(function(e,t,n,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=babelHelpers.interopRequireWildcard(t(i[0])),o=t(i[1]),s=t(i[2]),d=(function(e){function t(e){var n;return babelHelpers.classCallCheck(this,t),(n=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e)))._isIdle=!0,n._currentIndex=0,n._getPageIndex=function(e){return o.I18nManager.isRTL?n.props.navigationState.routes.length-(e+1):e},n._setPage=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=n._viewPager;if(a){var i=n._getPageIndex(e);!1===n.props.animationEnabled||!1===t?a.setPageWithoutAnimation(i):a.setPage(i)}},n._handlePageChange=function(e,t){n._isIdle&&n._currentIndex!==e&&(n._setPage(e,t),n._currentIndex=e)},n._handlePageScroll=function(e){n.props.offsetX.setValue(e.nativeEvent.position*n.props.layout.width*(o.I18nManager.isRTL?1:-1)),n.props.panX.setValue(e.nativeEvent.offset*n.props.layout.width*(o.I18nManager.isRTL?1:-1))},n._handlePageScrollStateChanged=function(e){n._isIdle='idle'===e;var t=n._currentIndex,a=n.props.navigationState.routes[t];switch(n.props.canJumpToTab({route:a})?n.props.jumpTo(a.key):(n._setPage(n.props.navigationState.index),n._currentIndex=n.props.navigationState.index),e){case'dragging':n.props.onSwipeStart&&n.props.onSwipeStart();break;case'settling':n.props.onSwipeEnd&&n.props.onSwipeEnd();break;case'idle':n.props.onAnimationEnd&&n.props.onAnimationEnd()}},n._handlePageSelected=function(e){var t=n._getPageIndex(e.nativeEvent.position);n._currentIndex=t},n._currentIndex=n.props.navigationState.index,n}return babelHelpers.createClass(t,[{key:"componentDidUpdate",value:function(e){e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._handlePageChange(this.props.navigationState.index,!1):e.navigationState.index!==this.props.navigationState.index&&this._handlePageChange(this.props.navigationState.index)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,a=t.navigationState,i=t.swipeEnabled,s=t.keyboardDismissMode,d=r.Children.map(n,function(t,n){var i=a.routes[n],s=n===a.index;return r.createElement(o.View,{key:i.key,testID:e.props.getTestID({route:i}),accessibilityElementsHidden:!s,importantForAccessibility:s?'auto':'no-hide-descendants',style:l.page},t)});o.I18nManager.isRTL&&d.reverse();var p=this._getPageIndex(a.index);return r.createElement(o.ViewPagerAndroid,{key:a.routes.length,keyboardDismissMode:s,initialPage:p,scrollEnabled:!1!==i,onPageScroll:this._handlePageScroll,onPageScrollStateChanged:this._handlePageScrollStateChanged,onPageSelected:this._handlePageSelected,style:l.container,ref:function(t){return e._viewPager=t}},d)}}]),babelHelpers.inherits(t,e),t})(r.Component);a.default=d,d.propTypes=s.PagerRendererPropType,d.defaultProps={canJumpToTab:function(){return!0},keyboardDismissMode:'on-drag'};var l=o.StyleSheet.create({container:{flexGrow:1},page:{overflow:'hidden'}})},443,[31,1,441]); +__d(function(t,e,n,o,i){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var a=babelHelpers.interopRequireWildcard(e(i[0])),l=e(i[1]),r=e(i[2]),s=(function(e){function n(e){var o;babelHelpers.classCallCheck(this,n),(o=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).call(this,e)))._isIdle=!0,o._isInitial=!0,o._setInitialPage=function(){o.props.layout.width&&(o._isInitial=!0,o._scrollTo(o.props.navigationState.index*o.props.layout.width,!1)),setTimeout(function(){o._isInitial=!1},50)},o._scrollTo=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];o._isIdle&&o._scrollView&&o._scrollView.scrollTo({x:t,animated:e&&!1!==o.props.animationEnabled})},o._handleMomentumScrollEnd=function(e){var n=Math.round(e.nativeEvent.contentOffset.x/o.props.layout.width),i=o.props.navigationState.routes[n];o.props.canJumpToTab({route:i})?(o.props.jumpTo(i.key),o.props.onAnimationEnd&&o.props.onAnimationEnd()):t.requestAnimationFrame(function(){o._scrollTo(o.props.navigationState.index*o.props.layout.width)})},o._handleScroll=function(e){if(!o._isInitial&&0!==e.nativeEvent.contentSize.width){var n=o.props,i=n.navigationState,a=n.layout,l=i.index*a.width;o.props.offsetX.setValue(-l),o.props.panX.setValue(l-e.nativeEvent.contentOffset.x),t.cancelAnimationFrame(o._idleCallback),o._isIdle=!1,o._idleCallback=t.requestAnimationFrame(function(){o._isIdle=!0})}};var i=o.props,a=i.navigationState,l=i.layout;return o.state={initialOffset:{x:a.index*l.width,y:0}},o}return babelHelpers.createClass(n,[{key:"componentDidMount",value:function(){this._setInitialPage()}},{key:"componentDidUpdate",value:function(t){var e=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes!==this.props.navigationState.routes||t.layout.width!==this.props.layout.width?this._scrollTo(e,!1):t.navigationState.index!==this.props.navigationState.index&&this._scrollTo(e)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,o=e.layout,i=e.navigationState,r=e.onSwipeStart,s=e.onSwipeEnd;return a.createElement(l.ScrollView,{horizontal:!0,pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollEnabled:this.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:!1,alwaysBounceHorizontal:!1,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:this._handleScroll,onScrollBeginDrag:r,onScrollEndDrag:s,onMomentumScrollEnd:this._handleMomentumScrollEnd,contentOffset:this.state.initialOffset,style:d.container,contentContainerStyle:o.width?null:d.container,ref:function(e){return t._scrollView=e}},a.Children.map(n,function(e,n){var r=i.routes[n],s=n===i.index;return a.createElement(l.View,{key:r.key,testID:t.props.getTestID({route:r}),accessibilityElementsHidden:!s,importantForAccessibility:s?'auto':'no-hide-descendants',style:o.width?{width:o.width,overflow:'hidden'}:s?d.page:null},s||o.width?e:null)}))}}]),babelHelpers.inherits(n,e),n})(a.Component);o.default=s,s.propTypes=r.PagerRendererPropType,s.defaultProps={canJumpToTab:function(){return!0}};var d=l.StyleSheet.create({container:{flex:1},page:{flex:1,overflow:'hidden'}})},444,[31,1,441]); +__d(function(e,t,n,a,r){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=babelHelpers.interopRequireWildcard(t(r[0])),i=babelHelpers.interopRequireDefault(t(r[1])),s=t(r[2]),p=t(r[3]),l=12,d={timing:s.Animated.spring,tension:300,friction:35},u=(function(e){function t(){var e,n,a;babelHelpers.classCallCheck(this,t);for(var r=arguments.length,o=new Array(r),i=0;iMath.abs(2*t.dy)&&Math.abs(t.vx)>Math.abs(2*t.vy)},a._canMoveScreen=function(e,t){if(!1===a.props.swipeEnabled)return!1;var n=a.props.navigationState.routes;return a._isMovingHorizontally(e,t)&&(t.dx>=l&&a._currentIndex>0||t.dx<=-12&&a._currentIndex0&&o<=0||t.dx<0&&o>=r.length-1||a.props.panX.setValue(t.dx)},a._finishGesture=function(e,t){var n=a.props,r=n.navigationState,o=n.layout,i=n.swipeDistanceThreshold,s=void 0===i?o.width/1.75:i,p=a.props.swipeVelocityThreshold,l=void 0===p?.15:p;a.props.onSwipeEnd&&a.props.onSwipeEnd();var d='number'==typeof a._pendingIndex?a._pendingIndex:a._currentIndex,u=d;Math.abs(t.dx)>Math.abs(t.dy)&&Math.abs(t.vx)>Math.abs(t.vy)&&(Math.abs(t.dx)>s||Math.abs(t.vx)>l)&&(u=Math.round(Math.min(Math.max(0,d-t.dx/Math.abs(t.dx)),r.routes.length-1)),a._currentIndex=u),isFinite(u)&&a.props.canJumpToTab({route:a.props.navigationState.routes[u]})||(u=d),a._transitionTo(u)},a._transitionTo=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=-e*a.props.layout.width;if(!1===a.props.animationEnabled||!1===t)return a.props.panX.setValue(0),void a.props.offsetX.setValue(n);var r=d.timing,o=babelHelpers.objectWithoutProperties(d,["timing"]);s.Animated.parallel([r(a.props.panX,babelHelpers.objectSpread({},o,{toValue:0})),r(a.props.offsetX,babelHelpers.objectSpread({},o,{toValue:n}))]).start(function(t){if(t.finished){var n=a.props.navigationState.routes[e];a.props.jumpTo(n.key),a.props.onAnimationEnd&&a.props.onAnimationEnd(),a._pendingIndex=null}}),a._pendingIndex=e},a._panResponder=s.PanResponder.create({onMoveShouldSetPanResponder:a._canMoveScreen,onMoveShouldSetPanResponderCapture:a._canMoveScreen,onPanResponderGrant:a._startGesture,onPanResponderMove:a._respondToGesture,onPanResponderTerminate:a._finishGesture,onPanResponderRelease:a._finishGesture,onPanResponderTerminationRequest:function(){return!0}}),n))}return babelHelpers.createClass(t,[{key:"componentDidUpdate",value:function(e){this._currentIndex=this.props.navigationState.index,e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._transitionTo(this.props.navigationState.index,!1):e.navigationState.index!==this.props.navigationState.index&&this._transitionTo(this.props.navigationState.index)}},{key:"render",value:function(){var e=this,t=this.props,n=t.panX,a=t.offsetX,r=t.navigationState,i=t.layout,p=t.children,l=i.width,d=r.routes,u=l*(d.length-1),c=s.Animated.multiply(s.Animated.add(n,a).interpolate({inputRange:[-u,0],outputRange:[-u,0],extrapolate:'clamp'}),s.I18nManager.isRTL?-1:1);return o.createElement(s.Animated.View,babelHelpers.extends({style:[h.sheet,l?{width:d.length*l,transform:[{translateX:c}]}:null]},this._panResponder.panHandlers),o.Children.map(p,function(t,n){var a=r.routes[n],i=n===r.index;return o.createElement(s.View,{key:a.key,testID:e.props.getTestID({route:a}),style:l?{width:l}:i?s.StyleSheet.absoluteFill:null},i||l?t:null)}))}}]),babelHelpers.inherits(t,e),t})(o.Component);a.default=u,u.propTypes=babelHelpers.objectSpread({},p.PagerRendererPropType,{swipeDistanceThreshold:i.default.number,swipeVelocityThreshold:i.default.number}),u.defaultProps={canJumpToTab:function(){return!0},initialLayout:{height:0,width:0}};var h=s.StyleSheet.create({sheet:{flex:1,flexDirection:'row',alignItems:'stretch'}})},445,[31,48,1,441]); +__d(function(e,t,n,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=babelHelpers.interopRequireWildcard(t(i[0])),o=babelHelpers.interopRequireDefault(t(i[1])),s=t(i[2]),p=t(i[3]),l={timing:s.Animated.spring,tension:68,friction:12},d=(function(e){function t(){var e,n,a;babelHelpers.classCallCheck(this,t);for(var i=arguments.length,r=new Array(i),o=0;oMath.abs(h)&&Math.abs(v)>Math.abs(b)&&(Math.abs(u)>s||Math.abs(v)>l)&&(f=Math.round(Math.min(Math.max(0,c-u/Math.abs(u)),i.routes.length-1))),isFinite(f)&&a.props.canJumpToTab(a.props.navigationState.routes[f])||(f=c),a._transitionTo(f,v)}},a._transitionTo=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=-e*a.props.layout.width;if(!1===a.props.animationEnabled||!1===n)return a.props.panX.setValue(0),void a.props.offsetX.setValue(i);var r=l.timing,o=babelHelpers.objectWithoutProperties(l,["timing"]),p=a.props.useNativeDriver;s.Animated.parallel([r(a.props.panX,babelHelpers.objectSpread({},o,{toValue:0,velocity:t,useNativeDriver:p})),r(a.props.offsetX,babelHelpers.objectSpread({},o,{toValue:i,velocity:t,useNativeDriver:p}))]).start(function(t){if(t.finished){var n=a.props.navigationState.routes[e];a.props.jumpTo(n.key),a.props.onAnimationEnd&&a.props.onAnimationEnd(),a._pendingIndex=null}}),a._pendingIndex=e},n))}return babelHelpers.createClass(t,[{key:"componentDidUpdate",value:function(e){e.navigationState.routes!==this.props.navigationState.routes||e.layout.width!==this.props.layout.width?this._transitionTo(this.props.navigationState.index,void 0,!1):e.navigationState.index!==this.props.navigationState.index&&this.props.navigationState.index!==this._pendingIndex&&this._transitionTo(this.props.navigationState.index)}},{key:"render",value:function(){var e=this,t=this.props,n=t.GestureHandler,a=t.panX,i=t.offsetX,o=t.layout,p=t.navigationState,l=t.swipeEnabled,d=t.children,h=o.width,v=p.routes,b=h*(v.length-1),c=s.Animated.add(a,i).interpolate({inputRange:[-b,0],outputRange:[-b,0],extrapolate:'clamp'});return r.createElement(n.PanGestureHandler,{enabled:0!==o.width&&!1!==l,minDeltaX:10,onGestureEvent:s.Animated.event([{nativeEvent:{translationX:this.props.panX}}],{useNativeDriver:this.props.useNativeDriver}),onHandlerStateChange:this._handleHandlerStateChange},r.createElement(s.Animated.View,{style:[u.sheet,h?{width:v.length*h,transform:[{translateX:c}]}:null]},r.Children.map(d,function(t,n){var a=p.routes[n],i=n===p.index;return r.createElement(s.View,{key:a.key,testID:e.props.getTestID({route:a}),accessibilityElementsHidden:!i,importantForAccessibility:i?'auto':'no-hide-descendants',style:h?{width:h}:i?s.StyleSheet.absoluteFill:null},i||h?t:null)})))}}]),babelHelpers.inherits(t,e),t})(r.Component);a.default=d,d.propTypes=babelHelpers.objectSpread({},p.PagerRendererPropType,{swipeDistanceThreshold:o.default.number,swipeVelocityThreshold:o.default.number,GestureHandler:o.default.object}),d.defaultProps={canJumpToTab:function(){return!0}};var u=s.StyleSheet.create({sheet:{flex:1,flexDirection:'row',alignItems:'stretch'}})},446,[31,48,1,441]); +__d(function(e,r,t,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return function(r){var t=r.route,n=r.jumpTo;return l.createElement(u,{key:t.key,component:e[t.key],route:t,jumpTo:n})}};var l=babelHelpers.interopRequireWildcard(r(o[0])),u=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){var e=this.props,r=e.component,t=babelHelpers.objectWithoutProperties(e,["component"]);return l.createElement(r,t)}}]),babelHelpers.inherits(r,e),r})(l.PureComponent)},447,[31]); +__d(function(e,t,n,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var o=babelHelpers.interopRequireWildcard(t(a[0])),i=t(a[1]),l=t(a[2]),u=babelHelpers.interopRequireDefault(t(a[3])),c=(function(e){function t(){var e,n,r;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,l=new Array(a),c=0;c1&&void 0!==arguments[1]?arguments[1]:{};return t=babelHelpers.objectSpread({},t),t=(0,i.default)(t,'resetOnBlur',!1),t=(0,i.default)(t,'backBehavior','initialRoute'),(0,u.default)(e,t)}},449,[396,450]); +__d(function(e,t,d,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e,t,d){return e.hasOwnProperty(t)&&void 0!==e[t]?e:(e[t]=d,e)}},450,[]); +__d(function(e,t,l,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=babelHelpers.interopRequireDefault(t(i[0])),n=t(i[1]),s=(babelHelpers.interopRequireDefault(t(i[2])),t(i[3])),o=babelHelpers.interopRequireDefault(t(i[4])),u=(function(e){function t(e){var l;return babelHelpers.classCallCheck(this,t),(l=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this)))._mustAlwaysBeVisible=function(){return l.props.animationEnabled||l.props.swipeEnabled},l.state={awake:!e.lazy||e.isFocused},l}return babelHelpers.createClass(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){return e.isFocused&&!t.awake?{awake:!0}:null}}]),babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.state.awake,t=this.props,l=t.isFocused,a=t.childNavigation,i=(t.navigation,t.removeClippedSubviews),s=(t.lazy,babelHelpers.objectWithoutProperties(t,["isFocused","childNavigation","navigation","removeClippedSubviews","lazy"]));return r.default.createElement(n.View,{style:p.container,collapsable:!1,removeClippedSubviews:!l&&i},r.default.createElement(n.View,{style:this._mustAlwaysBeVisible()||l?p.innerAttached:p.innerDetached},e?r.default.createElement(o.default,babelHelpers.extends({},s,{navigation:a})):null))}}]),babelHelpers.inherits(t,e),t})(r.default.PureComponent),p=n.StyleSheet.create({container:{flex:1,overflow:'hidden'},innerAttached:{flex:1},innerDetached:{flex:1,top:3e3}}),b=(0,s.polyfill)(u);a.default=b},451,[31,1,48,335,376]); +__d(function(e,n,r,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=babelHelpers.interopRequireDefault(n(o[0])),s=babelHelpers.interopRequireDefault(n(o[1])),l={willFocus:'onWillFocus',didFocus:'onDidFocus',willBlur:'onWillBlur',didBlur:'onDidBlur'},u=Object.keys(l),a=(function(e){function n(){var e,r,t;babelHelpers.classCallCheck(this,n);for(var o=arguments.length,i=new Array(o),s=0;s0?t.filter(function(e){return e.name.toLowerCase().match(r.value.toLowerCase())}):t}}]),babelHelpers.inherits(t,e),t})(l.Component);H.navigationOptions=function(e){var t=e.navigation.state.params,r=void 0===t?{}:t;return babelHelpers.objectSpread({title:'Quranic Audio'},b.baseHeaderStyle,{gesturesEnabled:!0,headerRight:l.default.createElement(v.default,{onPress:r.toggleFilter})})},H.propTypes={navigation:n.default.object.isRequired},H.propTypes={actions:n.default.object.isRequired};var R=(0,s.connect)(function(e){return{reciters:e.reciters.reciters,main:e.main,search:e.search}},function(e){return{actions:(0,u.bindActionCreators)(p,e),dispatch:e}})(H);i.default=R},455,[31,48,305,456,776,301,778,799,800,801,829,830,834]); +__d(function(e,t,a,o,r){Object.defineProperty(o,"__esModule",{value:!0}),o.mapPropsToStyleNames=o.Accordion=o.VueNativeBase=o.SwipeRow=o.Root=o.Segment=o.DefaultTabBar=o.TabContainer=o.TabHeading=o.ActionSheet=o.ScrollableTab=o.Toast=o.View=o.TabContent=o.Text=o.Grid=o.Row=o.Col=o.Textarea=o.Label=o.Subtitle=o.Item=o.DeckSwiper=o.Separator=o.ListItem=o.List=o.Picker=o.FooterTab=o.Tabs=o.Tab=o.Footer=o.Content=o.Container=o.Switch=o.Spinner=o.H3=o.H2=o.H1=o.CardItem=o.Card=o.Thumbnail=o.Radio=o.CheckBox=o.Badge=o.Body=o.Right=o.Left=o.Fab=o.Title=o.Input=o.InputGroup=o.Form=o.Header=o.Icon=o.IconNB=o.DatePicker=o.Button=o.Drawer=o.connectStyle=o.StyleProvider=o.variables=o.getTheme=void 0;var n=t(r[0]),i=t(r[1]),l=t(r[2]),c=Te(t(r[3])),d=Te(t(r[4])),T=Te(t(r[5])),b=Te(t(r[6])),u=t(r[7]),S=t(r[8]),p=t(r[9]),C=t(r[10]),m=t(r[11]),s=t(r[12]),B=t(r[13]),I=t(r[14]),w=t(r[15]),f=t(r[16]),h=t(r[17]),H=t(r[18]),R=t(r[19]),g=t(r[20]),k=t(r[21]),y=t(r[22]),F=t(r[23]),L=t(r[24]),P=t(r[25]),D=t(r[26]),v=t(r[27]),x=t(r[28]),N=t(r[29]),A=t(r[30]),G=t(r[31]),_=t(r[32]),V=t(r[33]),M=t(r[34]),j=t(r[35]),O=t(r[36]),q=t(r[37]),z=t(r[38]),E=t(r[39]),J=t(r[40]),K=t(r[41]),Q=t(r[42]),U=t(r[43]),W=t(r[44]),X=t(r[45]),Y=t(r[46]),Z=t(r[47]),$=t(r[48]),ee=t(r[49]),te=t(r[50]),ae=t(r[51]),oe=t(r[52]),re=Te(t(r[53])),ne=t(r[54]),ie=t(r[55]),le=t(r[56]),ce=t(r[57]),de=Te(t(r[58]));function Te(e){return e&&e.__esModule?e:{default:e}}(0,c.default)(),o.getTheme=d.default,o.variables=T.default,o.StyleProvider=n.StyleProvider,o.connectStyle=n.connectStyle,o.Drawer=b.default,o.Button=C.Button,o.DatePicker=m.DatePicker,o.IconNB=I.IconNB,o.Icon=w.Icon,o.Header=f.Header,o.Form=J.Form,o.InputGroup=h.InputGroup,o.Input=H.Input,o.Title=R.Title,o.Fab=g.Fab,o.Left=k.Left,o.Right=y.Right,o.Body=F.Body,o.Badge=L.Badge,o.CheckBox=P.CheckBox,o.Radio=D.Radio,o.Thumbnail=v.Thumbnail,o.Card=x.Card,o.CardItem=N.CardItem,o.H1=A.H1,o.H2=G.H2,o.H3=_.H3,o.Spinner=V.Spinner,o.Switch=M.Switch,o.Container=j.Container,o.Content=q.Content,o.Footer=z.Footer,o.Tab=oe.Tab,o.Tabs=re.default,o.FooterTab=E.FooterTab,o.Picker=U.PickerNB,o.List=W.List,o.ListItem=X.ListItem,o.Separator=Y.Separator,o.DeckSwiper=Z.DeckSwiper,o.Item=$.Item,o.Subtitle=le.Subtitle,o.Label=te.Label,o.Textarea=ae.Textarea,o.Col=l.Col,o.Row=l.Row,o.Grid=l.Grid,o.Text=S.Text,o.TabContent=q.Content,o.View=p.ViewNB,o.Toast=K.ToastContainer,o.ScrollableTab=ie.ScrollableTab,o.ActionSheet=Q.ActionSheetContainer,o.TabHeading=s.TabHeading,o.TabContainer=B.TabContainer,o.DefaultTabBar=ne.DefaultTabBar,o.Segment=ee.Segment,o.Root=O.Root,o.SwipeRow=u.SwipeRow,o.VueNativeBase=de.default,o.Accordion=ce.Accordion;o.mapPropsToStyleNames=function(e,t){return(0,i.keys)(t)}},456,[457,460,471,476,477,479,529,533,534,540,541,543,544,545,546,721,723,724,725,727,728,536,537,538,729,730,731,732,733,734,735,736,737,738,739,740,746,747,755,756,757,743,745,758,759,539,760,761,762,764,763,765,766,767,770,772,773,774,775]); +__d(function(e,r,t,n,u){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"connectStyle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"INCLUDE",{enumerable:!0,get:function(){return i.INCLUDE}}),Object.defineProperty(n,"StyleProvider",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,"Theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(n,"ThemeShape",{enumerable:!0,get:function(){return o.ThemeShape}}),Object.defineProperty(n,"createVariations",{enumerable:!0,get:function(){return c.createVariations}}),Object.defineProperty(n,"createSharedStyle",{enumerable:!0,get:function(){return c.createSharedStyle}});var a=babelHelpers.interopRequireDefault(r(u[0])),i=r(u[1]),l=babelHelpers.interopRequireDefault(r(u[2])),o=babelHelpers.interopRequireWildcard(r(u[3])),c=r(u[4])},457,[458,465,469,464,470]); +__d(function(e,t,n,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=babelHelpers.interopRequireDefault(t(a[0])),s=babelHelpers.interopRequireDefault(t(a[1])),o=babelHelpers.interopRequireDefault(t(a[2])),i=babelHelpers.interopRequireWildcard(t(a[3])),u=(babelHelpers.interopRequireDefault(t(a[4])),t(a[5]),babelHelpers.interopRequireWildcard(t(a[6]))),p=t(a[7]),y={};function c(e,t){throw Error(e+" - when connecting "+t+" component to style.")}function h(e){return e.theme||u.default.getDefaultTheme()}function d(e){return/(^[^\.].*\.)|^\*$/.test(e)}function b(e){return i.pickBy(e,function(e,t){return!/^\./.test(t)&&!d(t)})}r.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};function a(e){return e.displayName||e.name||"Component"}return function(d){var f=a(d);i.isPlainObject(t)||c("Component style must be plain object",f),i.isString(e)||c("Component Style Name must be string",f);var v=(function(a){function s(e,t){var n;babelHelpers.classCallCheck(this,s);var r=(n=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(s).call(this,e,t))).getStyleNames(e),a=e.style,l=n.getFinalStyle(e,t,a,r);return n.setWrappedInstance=n.setWrappedInstance.bind(babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(n))),n.resolveConnectedComponentStyle=n.resolveConnectedComponentStyle.bind(babelHelpers.assertThisInitialized(babelHelpers.assertThisInitialized(n))),n.state={style:l,addedProps:n.resolveAddedProps(),styleNames:r},n}return babelHelpers.createClass(s,[{key:"getFinalStyle",value:function(t,n,r,a){var l={};n.parentPath?l=this.getOrSetStylesInCache(n,t,a,babelHelpers.toConsumableArray(n.parentPath).concat([e],babelHelpers.toConsumableArray(a))):(l=this.resolveStyle(n,t,a),y[e]=l);var s=b(i.merge({},l));return i.isArray(r)?[s].concat(babelHelpers.toConsumableArray(r)):"number"==typeof r||"object"==typeof r?[s,r]:s}},{key:"getStyleNames",value:function(e){var t=i.map(e,function(e,t){return"object"!=typeof e&&!0===e&&"."+t});return i.remove(t,function(e,t){return!1===e}),t}},{key:"getParentPath",value:function(){return this.context.parentPath?babelHelpers.toConsumableArray(this.context.parentPath).concat([e],babelHelpers.toConsumableArray(this.getStyleNames(this.props))):[e]}},{key:"getChildContext",value:function(){return{parentPath:this.getParentPath()}}},{key:"componentWillReceiveProps",value:function(e,t){var n=this.getStyleNames(e),r=e.style;if(this.shouldRebuildStyle(e,t,n)){var a=this.getFinalStyle(e,t,r,n);this.setState({style:a,styleNames:n})}}},{key:"setNativeProps",value:function(e){this.wrappedInstance.setNativeProps&&this.wrappedInstance.setNativeProps(e)}},{key:"setWrappedInstance",value:function(e){e&&e._root?this._root=e._root:this._root=e,this.wrappedInstance=this._root}},{key:"hasStyleNameChanged",value:function(e,t){return n&&this.props!==e&&!i.isEqual(this.state.styleNames,t)}},{key:"shouldRebuildStyle",value:function(e,t,n){return e.style!==this.props.style||e.styleName!==this.props.styleName||t.theme!==this.context.theme||!i.isEqual(t.parentPath,this.context.parentPath)||this.hasStyleNameChanged(e,n)}},{key:"resolveStyleNames",value:function(e){var t=e.styleName,r=t?t.split(/\s/g):[];return n?i.uniq(n(r,e)):r}},{key:"resolveAddedProps",value:function(){var e={};return r.withRef&&(e.ref="wrappedInstance"),e}},{key:"getOrSetStylesInCache",value:function(e,t,n,r){if(y[r.join(">")])return y[r.join(">")];var a=this.resolveStyle(e,t,n);return Object.keys(y).length<1e4&&(y[r.join(">")]=a),a}},{key:"resolveStyle",value:function(n,r,a){var l={},s=h(n).createComponentStyle(e,t);return l=n.parentPath?y[n.parentPath.join(">")]:(0,p.resolveComponentStyle)(e,a,s,l),(0,p.resolveComponentStyle)(e,a,s,l)}},{key:"resolveConnectedComponentStyle",value:function(e){var t=this.resolveStyleNames(e);return this.resolveStyle(this.context,e,t).componentStyle}},{key:"render",value:function(){var e=this.state,t=e.addedProps,n=e.style;return l.default.createElement(d,babelHelpers.extends({},this.props,t,{style:n,ref:this.setWrappedInstance}))}}]),babelHelpers.inherits(s,a),s})(l.default.Component);return v.contextTypes={theme:u.ThemeShape,parentPath:s.default.array},v.childContextTypes={parentPath:s.default.array},v.propTypes={style:s.default.oneOfType([s.default.object,s.default.number,s.default.array]),styleName:s.default.string,virtual:s.default.bool},v.defaultProps={virtual:r.virtual},v.displayName="Styled("+f+")",v.WrappedComponent=d,(0,o.default)(v,d)}}},458,[31,48,459,460,461,1,464,467]); +__d(function(t,e,r,o,n){'use strict';var p={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},y='function'==typeof Object.getOwnPropertySymbols;r.exports=function(t,e,r){if('string'!=typeof e){var o=Object.getOwnPropertyNames(e);y&&(o=o.concat(Object.getOwnPropertySymbols(e)));for(var n=0;n"']/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 e&&e&&!e.nodeType&&e,wt=bt&&'object'==typeof r&&r&&!r.nodeType&&r,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 Er(n){for(var t=ot.lastIndex=0;ot.test(n);)++t;return t}function Sr(n){return n.match(ot)||[]}function Lr(n){return n.match(ft)||[]}var Wr=(function n(r){var e,Dn=(r=null==r?xt:Wr.defaults(xt.Object(),r,Wr.pick(xt,lt))).Array,Yn=r.Date,Qn=r.Error,Xn=r.Function,nt=r.Math,tt=r.Object,rt=r.RegExp,et=r.String,ot=r.TypeError,ft=Dn.prototype,at=Xn.prototype,ct=tt.prototype,vt=r['__core-js_shared__'],dt=at.toString,yt=ct.hasOwnProperty,bt=0,wt=(e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||''))?'Symbol(src)_1.'+e:'',jt=ct.toString,At=dt.call(tt),Zt=xt._,qt=rt('^'+dt.call(yt).replace(Sn,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$'),nr=mt?r.Buffer:t,kr=r.Symbol,Er=r.Uint8Array,Sr=nr?nr.allocUnsafe:t,Cr=br(tt.getPrototypeOf,tt),Tr=tt.create,Ur=ct.propertyIsEnumerable,Br=ft.splice,$r=kr?"function"==typeof kr?kr.isConcatSpreadable:"@@isConcatSpreadable":t,Dr=kr?"function"==typeof kr?kr.iterator:"@@iterator":t,Mr=kr?"function"==typeof kr?kr.toStringTag:"@@toStringTag":t,Fr=(function(){try{var n=lo(tt,'defineProperty');return n({},'',{}),n}catch(n){}})(),Nr=r.clearTimeout!==xt.clearTimeout&&r.clearTimeout,Pr=Yn&&Yn.now!==xt.Date.now&&Yn.now,Zr=r.setTimeout!==xt.setTimeout&&r.setTimeout,qr=nt.ceil,Kr=nt.floor,Vr=tt.getOwnPropertySymbols,Gr=nr?nr.isBuffer:t,Hr=r.isFinite,Jr=ft.join,Yr=br(tt.keys,tt),Qr=nt.max,Xr=nt.min,ne=Yn.now,te=r.parseInt,re=nt.random,ee=ft.reverse,ue=lo(r,'DataView'),ie=lo(r,'Map'),oe=lo(r,'Promise'),fe=lo(r,'Set'),ae=lo(r,'WeakMap'),ce=lo(tt,'create'),le=ae&&new ae,se={},he=Ko(ue),pe=Ko(ie),ve=Ko(oe),_e=Ko(fe),ge=Ko(ae),de=kr?"function"==typeof kr?kr.prototype:"@@prototype":t,ye=de?de.valueOf:t,xe=de?de.toString:t;function be(n){if(sa(n)&&!na(n)&&!(n instanceof Ae)){if(n instanceof je)return n;if(yt.call(n,'__wrapped__'))return Go(n)}return new je(n)}var we=(function(){function n(){}return function(r){if(!la(r))return{};if(Tr)return Tr(r);n.prototype=r;var e=new n;return n.prototype=t,e}})();function me(){}function je(n,r){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=t}function Ae(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=T,this.__views__=[]}function ke(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?n:r)),n}function Pe(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=xo(n),!a)return wi(n,f)}else{var _=vo(n),g=_==K||_==V;if(ua(n))return pi(n,a);if(_==Y||_==D||g&&!i){if(f=c||g?{}:bo(n),!a)return c?Ai(n,De(f,n)):ji(n,$e(f,n))}else{if(!pt[_])return i?n:{};f=wo(n,_,a)}}o||(o=new Re);var d=o.get(n);if(d)return d;if(o.set(n,f),ga(n))return n.forEach(function(t){f.add(Pe(t,r,e,t,n,o))}),f;if(ha(n))return n.forEach(function(t,u){f.set(u,Pe(t,r,e,u,n,o))}),f;var y=v?t:(p?c?eo:ro:c?Na:Fa)(n);return Wt(y||n,function(t,u){y&&(t=n[u=t]),Te(f,u,Pe(t,r,e,u,n,o))}),f}function Ze(n){var t=Fa(n);return function(r){return qe(r,n,t)}}function qe(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 Ke(n,r,e){if('function'!=typeof n)throw new ot(o);return Do(function(){n.apply(t,e)},r)}function Ve(n,t,r,e){var i=-1,o=Bt,f=!0,a=n.length,c=[],l=t.length;if(!a)return c;r&&(t=Dt(t,or(r))),e?(o=$t,f=!1):t.length>=u&&(o=ar,f=!1,t=new Ie(t));n:for(;++i-1},ze.prototype.set=function(n,t){var r=this.__data__,e=Ue(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Oe.prototype.clear=function(){this.size=0,this.__data__={hash:new ke,map:new(ie||ze),string:new ke}},Oe.prototype.delete=function(n){var t=ao(this,n).delete(n);return this.size-=t?1:0,t},Oe.prototype.get=function(n){return ao(this,n).get(n)},Oe.prototype.has=function(n){return ao(this,n).has(n)},Oe.prototype.set=function(n,t){var r=ao(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Ie.prototype.add=Ie.prototype.push=function(n){return this.__data__.set(n,f),this},Ie.prototype.has=function(n){return this.__data__.has(n)},Re.prototype.clear=function(){this.__data__=new ze,this.size=0},Re.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Re.prototype.get=function(n){return this.__data__.get(n)},Re.prototype.has=function(n){return this.__data__.has(n)},Re.prototype.set=function(n,t){var r=this.__data__;if(r instanceof ze){var e=r.__data__;if(!ie||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Oe(e)}return r.set(n,t),this.size=r.size,this};var Ge=Oi(eu),He=Oi(uu,!0);function Je(n,t){var r=!0;return Ge(n,function(n,e,u){return r=!!t(n,e,u)}),r}function Ye(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?nu(f,t-1,r,e,u):Mt(u,f):e||(u[u.length]=f)}return u}var tu=Ii(),ru=Ii(!0);function eu(n,t){return n&&tu(n,t,Fa)}function uu(n,t){return n&&ru(n,t,Fa)}function iu(n,t){return Ut(t,function(t){return fa(n[t])})}function ou(n,r){for(var e=0,u=(r=ci(r,n)).length;null!=n&&et}function lu(n,t){return null!=n&&yt.call(n,t)}function su(n,t){return null!=n&&t in tt(n)}function hu(n,t,r){return n>=Xr(t,r)&&n=120&&s.length>=120)?new Ie(f&&s):t}s=n[0];var h=-1,p=a[0];n:for(;++h-1;)f!==n&&Br.call(f,a,1),Br.call(n,a,1);return n}function Uu(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;Ao(u)?Br.call(n,u,1):ti(n,u)}}return n}function Bu(n,t){return n+Kr(re()*(t-n+1))}function $u(n,t,r,e){for(var u=-1,i=Qr(qr((t-n)/(r||1)),0),o=Dn(i);i--;)o[e?i:++u]=n,n+=r;return o}function Du(n,t){var r='';if(!n||t<1||t>L)return r;do{t%2&&(r+=n),(t=Kr(t/2))&&(n+=n)}while(t);return r}function Mu(n,t){return Mo(To(n,t,pc),n+'')}function Fu(n){return Se(Ja(n))}function Nu(n,t){var r=Ja(n);return Po(r,Ne(t,0,r.length))}function Pu(n,r,e,u){if(!la(n))return n;for(var i=-1,o=(r=ci(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=u){var l=t?null:Ki(n);if(l)return jr(l);f=!1,i=ar,c=new Ie}else c=t?[]:a;n:for(;++e=u?n:Vu(n,r,e)}var hi=Nr||function(n){return xt.clearTimeout(n)};function pi(n,t){if(t)return n.slice();var r=n.length,e=Sr?Sr(r):new n.constructor(r);return n.copy(e),e}function vi(n){var t=new n.constructor(n.byteLength);return new Er(t).set(new Er(n)),t}function _i(n,t){var r=t?vi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function gi(n,t){var r=t?vi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function di(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 xi(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=Qr(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&&ko(e[0],e[1],f)&&(o=i<3?t:o,i=1),r=tt(r);++u-1?i[o?r[f]:f]:t}}function Ti(n){return to(function(r){var e=r.length,u=e,i=je.prototype.thru;for(n&&r.reverse();u--;){var f=r[u];if('function'!=typeof f)throw new ot(o);if(i&&!a&&'wrapper'==io(f))var a=new je([],!0)}for(u=a?u:e;++u1&&g.reverse(),s&&c<_&&(g.length=c),this&&this!==xt&&this instanceof t&&(A=y||Li(A)),A.apply(j,g)}}function Bi(n,t){return function(r,e){return vu(r,n,t(e),{})}}function $i(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=Xu(e),u=Xu(u)):(e=Qu(e),u=Qu(u)),i=n(e,u)}return i}}function Di(n){return to(function(t){return t=Dt(t,or(fo())),Mu(function(r){var e=this;return n(t,function(n){return St(n,e,r)})})})}function Mi(n,r){var e=(r=r===t?' ':Xu(r)).length;if(e<2)return e?Du(r,n):r;var u=Du(r,qr(n/Or(r)));return gr(r)?si(Ir(u),0,n).join(''):u.slice(0,n)}function Fi(n,t,r,e){var u=t&_,i=Li(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 Ie: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 jo(n){return na(n)||Xf(n)||!!($r&&n&&n[$r])}function Ao(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=be(n);return t.__chain__=!0,t}function jf(n,t){return t(n)}var Af=to(function(n){var r=n.length,e=r?n[0]:0,u=this.__wrapped__,i=function(t){return Fe(t,n)};return!(r>1||this.__actions__.length)&&u instanceof Ae&&Ao(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:jf,args:[i],thisArg:t}),new je(u,this.__chain__).thru(function(n){return r&&!n.length&&n.push(t),n})):this.thru(i)});var kf=ki(function(n,t,r){yt.call(n,r)?++n[r]:Me(n,r,1)});var zf=Ci(Qo),Of=Ci(Xo);function If(n,t){return(na(n)?Wt:Ge)(n,fo(t,3))}function Rf(n,t){return(na(n)?Ct:He)(n,fo(t,3))}var Ef=ki(function(n,t,r){yt.call(n,r)?n[r].push(t):Me(n,r,[t])});var Sf=Mu(function(n,t,r){var e=-1,u='function'==typeof t,i=ra(n)?Dn(n.length):[];return Ge(n,function(n){i[++e]=u?St(t,n,r):_u(n,t,r)}),i}),Lf=ki(function(n,t,r){Me(n,r,t)});function Wf(n,t){return(na(n)?Dt:ku)(n,fo(t,3))}var Cf=ki(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var Tf=Mu(function(n,t){if(null==n)return[];var r=t.length;return r>1&&ko(n,t[0],t[1])?t=[]:r>2&&ko(t[0],t[1],t[2])&&(t=[t[0]]),Su(n,nu(t,1),[])}),Uf=Pr||function(){return xt.Date.now()};function Bf(n,r,e){return r=e?t:r,r=n&&null==r?n.length:r,Gi(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=Mu(function(n,t,r){var e=_;if(r.length){var u=wr(r,oo(Df));e|=b}return Gi(n,e,t,r,u)}),Mf=Mu(function(n,t,r){var e=3;if(r.length){var u=wr(r,oo(Mf));e|=b}return Gi(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?Xr(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 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)?Qr(za(e.maxWait)||0,r):f,v='trailing'in e?!!e.trailing:v),w.cancel=function(){c!==t&&hi(c),s=0,u=l=i=c=t},w.flush=function(){return c===t?a:b(Uf())},w}var Nf=Mu(function(n,t){return Ke(n,1,t)}),Pf=Mu(function(n,t,r){return Ke(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||Oe),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=Oe;var Kf=li(function(n,t){var r=(t=1==t.length&&na(t[0])?Dt(t[0],or(fo())):Dt(nu(t,1),or(fo()))).length;return Mu(function(e){for(var u=-1,i=Xr(e.length,r);++u=t}),Xf=gu((function(){return arguments})())?gu:function(n){return sa(n)&&yt.call(n,'callee')&&!Ur.call(n,'callee')},na=Dn.isArray,ta=kt?or(kt):function(n){return sa(n)&&au(n)==fn};function ra(n){return null!=n&&ca(n.length)&&!fa(n)}function ea(n){return sa(n)&&ra(n)}var ua=Gr||zc,ia=zt?or(zt):function(n){return sa(n)&&au(n)==P};function oa(n){if(!sa(n))return!1;var t=au(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=au(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)&&vo(n)==G};function pa(n){return'number'==typeof n||sa(n)&&au(n)==H}function va(n){if(!sa(n)||au(n)!=Y)return!1;var t=Cr(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)&&au(n)==X};var ga=Rt?or(Rt):function(n){return sa(n)&&vo(n)==nn};function da(n){return'string'==typeof n||!na(n)&&sa(n)&&au(n)==tn}function ya(n){return'symbol'==typeof n||sa(n)&&au(n)==rn}var xa=Et?or(Et):function(n){return sa(n)&&ca(n.length)&&!!ht[au(n)]};var ba=Pi(Au),wa=Pi(function(n,t){return n<=t});function ma(n){if(!n)return[];if(ra(n))return da(n)?Ir(n):wi(n);if(Dr&&n[Dr])return yr(n[Dr]());var t=vo(n);return(t==G?xr:t==nn?jr: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?Ne(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 mi(n,Na(n))}function Ia(n){return null==n?'':Xu(n)}var Ra=zi(function(n,t){if(Ro(t)||ra(t))mi(t,Fa(t),n);else for(var r in t)yt.call(t,r)&&Te(n,r,t[r])}),Ea=zi(function(n,t){mi(t,Na(t),n)}),Sa=zi(function(n,t,r,e){mi(t,Na(t),n,e)}),La=zi(function(n,t,r,e){mi(t,Fa(t),n,e)}),Wa=to(Fe);var Ca=Mu(function(n,r){n=tt(n);var e=-1,u=r.length,i=u>2?r[2]:t;for(i&&ko(r[0],r[1],i)&&(u=1);++e1),t}),mi(n,eo(n),r),e&&(r=Pe(r,7,Yi));for(var u=t.length;u--;)ti(r,t[u]);return r});var Ka=to(function(n,t){return null==n?{}:Lu(n,t)});function Va(n,t){if(null==n)return{};var r=Dt(eo(n),function(n){return[n]});return t=fo(t),Wu(n,r,function(n,r){return t(n,r[0])})}var Ga=Vi(Fa),Ha=Vi(Na);function Ja(n){return null==n?[]:fr(n,Fa(n))}var Ya=Si(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=Si(function(n,t,r){return n+(r?'-':'')+t.toLowerCase()}),tc=Si(function(n,t,r){return n+(r?' ':'')+t.toLowerCase()}),rc=Ei('toLowerCase');var ec=Si(function(n,t,r){return n+(r?'_':'')+t.toLowerCase()});var uc=Si(function(n,t,r){return n+(r?' ':'')+oc(t)});var ic=Si(function(n,t,r){return n+(r?' ':'')+t.toUpperCase()}),oc=Ei('toUpperCase');function fc(n,r,e){return n=Ia(n),(r=e?t:r)===t?dr(n)?Lr(n):Kt(n):n.match(r)||[]}var ac=Mu(function(n,r){try{return St(n,t,r)}catch(n){return oa(n)?n:new Qn(n)}}),cc=to(function(n,t){return Wt(t,function(t){t=qo(t),Me(n,t,Df(n[t],n))}),n});function lc(n){return function(){return n}}var sc=Ti(),hc=Ti(!0);function pc(n){return n}function vc(n){return wu('function'==typeof n?n:Pe(n,l))}var _c=Mu(function(n,t){return function(r){return _u(r,n,t)}}),gc=Mu(function(n,t){return function(r){return _u(n,r,t)}});function dc(n,t,r){var e=Fa(t),u=iu(t,e);null!=r||la(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=iu(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__=wi(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=Di(Dt),bc=Di(Tt),wc=Di(Pt);function mc(n){return zo(n)?Xt(qo(n)):Cu(n)}var jc=Ni(),Ac=Ni(!0);function kc(){return[]}function zc(){return!1}var Oc=$i(function(n,t){return n+t},0),Ic=qi('ceil'),Rc=$i(function(n,t){return n/t},1),Ec=qi('floor');var Sc,Lc=$i(function(n,t){return n*t},1),Wc=qi('round'),Cc=$i(function(n,t){return n-t},0);return be.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)}},be.ary=Bf,be.assign=Ra,be.assignIn=Ea,be.assignInWith=Sa,be.assignWith=La,be.at=Wa,be.before=$f,be.bind=Df,be.bindAll=cc,be.bindKey=Mf,be.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return na(n)?n:[n]},be.chain=mf,be.chunk=function(n,r,e){r=(e?ko(n,r,e):r===t)?1:Qr(Aa(r),0);var u=null==n?0:n.length;if(!u||r<1)return[];for(var i=0,o=0,f=Dn(qr(u/r));i>>0)?(n=Ia(n))&&('string'==typeof r||null!=r&&!_a(r))&&!(r=Xu(r))&&gr(n)?si(Ir(n),0,e):n.split(r,e):[]},be.spread=function(n,t){if('function'!=typeof n)throw new ot(o);return t=null==t?0:Qr(Aa(t),0),Mu(function(r){var e=r[t],u=si(r,0,t);return e&&Mt(u,e),St(n,this,u)})},be.tail=function(n){var t=null==n?0:n.length;return t?Vu(n,1,t):[]},be.take=function(n,r,e){return n&&n.length?Vu(n,0,(r=e||r===t?1:Aa(r))<0?0:r):[]},be.takeRight=function(n,r,e){var u=null==n?0:n.length;return u?Vu(n,(r=u-(r=e||r===t?1:Aa(r)))<0?0:r,u):[]},be.takeRightWhile=function(n,t){return n&&n.length?ei(n,fo(t,3),!1,!0):[]},be.takeWhile=function(n,t){return n&&n.length?ei(n,fo(t,3)):[]},be.tap=function(n,t){return t(n),n},be.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})},be.thru=jf,be.toArray=ma,be.toPairs=Ga,be.toPairsIn=Ha,be.toPath=function(n){return na(n)?Dt(n,qo):ya(n)?[n]:wi(Zo(Ia(n)))},be.toPlainObject=Oa,be.transform=function(n,t,r){var e=na(n),u=e||ua(n)||xa(n);if(t=fo(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:la(n)&&fa(i)?we(Cr(n)):{}}return(u?Wt:eu)(n,function(n,e,u){return t(r,n,e,u)}),r},be.unary=function(n){return Bf(n,1)},be.union=sf,be.unionBy=hf,be.unionWith=pf,be.uniq=function(n){return n&&n.length?ni(n):[]},be.uniqBy=function(n,t){return n&&n.length?ni(n,fo(t,2)):[]},be.uniqWith=function(n,r){return r='function'==typeof r?r:t,n&&n.length?ni(n,t,r):[]},be.unset=function(n,t){return null==n||ti(n,t)},be.unzip=vf,be.unzipWith=_f,be.update=function(n,t,r){return null==n?n:ri(n,t,ai(r))},be.updateWith=function(n,r,e,u){return u='function'==typeof u?u:t,null==n?n:ri(n,r,ai(e),u)},be.values=Ja,be.valuesIn=function(n){return null==n?[]:fr(n,Na(n))},be.without=gf,be.words=fc,be.wrap=function(n,t){return Vf(ai(t),n)},be.xor=df,be.xorBy=yf,be.xorWith=xf,be.zip=bf,be.zipObject=function(n,t){return oi(n||[],t||[],Te)},be.zipObjectDeep=function(n,t){return oi(n||[],t||[],Pu)},be.zipWith=wf,be.entries=Ga,be.entriesIn=Ha,be.extend=Ea,be.extendWith=Sa,dc(be,be),be.add=Oc,be.attempt=ac,be.camelCase=Ya,be.capitalize=Qa,be.ceil=Ic,be.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),Ne(za(n),r,e)},be.clone=function(n){return Pe(n,h)},be.cloneDeep=function(n){return Pe(n,5)},be.cloneDeepWith=function(n,r){return Pe(n,5,r='function'==typeof r?r:t)},be.cloneWith=function(n,r){return Pe(n,h,r='function'==typeof r?r:t)},be.conformsTo=function(n,t){return null==t||qe(n,t,Fa(t))},be.deburr=Xa,be.defaultTo=function(n,t){return null==n||n!=n?t:n},be.divide=Rc,be.endsWith=function(n,r,e){n=Ia(n),r=Xu(r);var u=n.length,i=e=e===t?u:Ne(Aa(e),0,u);return(e-=r.length)>=0&&n.slice(e,i)==r},be.eq=Jf,be.escape=function(n){return(n=Ia(n))&&An.test(n)?n.replace(mn,pr):n},be.escapeRegExp=function(n){return(n=Ia(n))&&Ln.test(n)?n.replace(Sn,'\\$&'):n},be.every=function(n,r,e){var u=na(n)?Tt:Je;return e&&ko(n,r,e)&&(r=t),u(n,fo(r,3))},be.find=zf,be.findIndex=Qo,be.findKey=function(n,t){return Vt(n,fo(t,3),eu)},be.findLast=Of,be.findLastIndex=Xo,be.findLastKey=function(n,t){return Vt(n,fo(t,3),uu)},be.floor=Ec,be.forEach=If,be.forEachRight=Rf,be.forIn=function(n,t){return null==n?n:tu(n,fo(t,3),Na)},be.forInRight=function(n,t){return null==n?n:ru(n,fo(t,3),Na)},be.forOwn=function(n,t){return n&&eu(n,fo(t,3))},be.forOwnRight=function(n,t){return n&&uu(n,fo(t,3))},be.get=Ua,be.gt=Yf,be.gte=Qf,be.has=function(n,t){return null!=n&&yo(n,t,lu)},be.hasIn=Ba,be.head=tf,be.identity=pc,be.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=Qr(u+r,0)),da(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ht(n,t,r)>-1},be.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=Qr(e+u,0)),Ht(n,t,u)},be.inRange=function(n,r,e){return r=ja(r),e===t?(e=r,r=0):e=ja(e),hu(n=za(n),r,e)},be.invoke=Ma,be.isArguments=Xf,be.isArray=na,be.isArrayBuffer=ta,be.isArrayLike=ra,be.isArrayLikeObject=ea,be.isBoolean=function(n){return!0===n||!1===n||sa(n)&&au(n)==N},be.isBuffer=ua,be.isDate=ia,be.isElement=function(n){return sa(n)&&1===n.nodeType&&!va(n)},be.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=vo(n);if(t==G||t==nn)return!n.size;if(Ro(n))return!mu(n).length;for(var r in n)if(yt.call(n,r))return!1;return!0},be.isEqual=function(n,t){return du(n,t)},be.isEqualWith=function(n,r,e){var u=(e='function'==typeof e?e:t)?e(n,r):t;return u===t?du(n,r,t,e):!!u},be.isError=oa,be.isFinite=function(n){return'number'==typeof n&&Hr(n)},be.isFunction=fa,be.isInteger=aa,be.isLength=ca,be.isMap=ha,be.isMatch=function(n,t){return n===t||xu(n,t,co(t))},be.isMatchWith=function(n,r,e){return e='function'==typeof e?e:t,xu(n,r,co(r),e)},be.isNaN=function(n){return pa(n)&&n!=+n},be.isNative=function(n){if(Io(n))throw new Qn(i);return bu(n)},be.isNil=function(n){return null==n},be.isNull=function(n){return null===n},be.isNumber=pa,be.isObject=la,be.isObjectLike=sa,be.isPlainObject=va,be.isRegExp=_a,be.isSafeInteger=function(n){return aa(n)&&n>=-9007199254740991&&n<=L},be.isSet=ga,be.isString=da,be.isSymbol=ya,be.isTypedArray=xa,be.isUndefined=function(n){return n===t},be.isWeakMap=function(n){return sa(n)&&vo(n)==un},be.isWeakSet=function(n){return sa(n)&&au(n)==on},be.join=function(n,t){return null==n?'':Jr.call(n,t)},be.kebabCase=nc,be.last=of,be.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?Qr(u+i,0):Xr(i,u-1)),r==r?zr(n,r,i):Gt(n,Yt,i,!0)},be.lowerCase=tc,be.lowerFirst=rc,be.lt=ba,be.lte=wa,be.max=function(n){return n&&n.length?Ye(n,pc,cu):t},be.maxBy=function(n,r){return n&&n.length?Ye(n,fo(r,2),cu):t},be.mean=function(n){return Qt(n,pc)},be.meanBy=function(n,t){return Qt(n,fo(t,2))},be.min=function(n){return n&&n.length?Ye(n,pc,Au):t},be.minBy=function(n,r){return n&&n.length?Ye(n,fo(r,2),Au):t},be.stubArray=kc,be.stubFalse=zc,be.stubObject=function(){return{}},be.stubString=function(){return''},be.stubTrue=function(){return!0},be.multiply=Lc,be.nth=function(n,r){return n&&n.length?Eu(n,Aa(r)):t},be.noConflict=function(){return xt._===this&&(xt._=Zt),this},be.noop=yc,be.now=Uf,be.pad=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?Or(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Mi(Kr(u),r)+n+Mi(qr(u),r)},be.padEnd=function(n,t,r){n=Ia(n);var e=(t=Aa(t))?Or(n):0;return t&&er){var u=n;n=r,r=u}if(e||n%1||r%1){var i=re();return Xr(n+i*(r-n+_t('1e-'+((i+'').length-1))),r)}return Bu(n,r)},be.reduce=function(n,t,r){var e=na(n)?Ft:tr,u=arguments.length<3;return e(n,fo(t,4),r,u,Ge)},be.reduceRight=function(n,t,r){var e=na(n)?Nt:tr,u=arguments.length<3;return e(n,fo(t,4),r,u,He)},be.repeat=function(n,r,e){return r=(e?ko(n,r,e):r===t)?1:Aa(r),Du(Ia(n),r)},be.replace=function(){var n=arguments,t=Ia(n[0]);return n.length<3?t:t.replace(n[1],n[2])},be.result=function(n,r,e){var u=-1,i=(r=ci(r,n)).length;for(i||(i=1,n=t);++uL)return[];var r=T,e=Xr(n,T);t=fo(t),n-=T;for(var u=ur(e,t);++r=o)return n;var a=e-Or(u);if(a<1)return u;var c=f?si(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(Xu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},be.unescape=function(n){return(n=Ia(n))&&jn.test(n)?n.replace(wn,Rr):n},be.uniqueId=function(n){var t=++bt;return Ia(n)+t},be.upperCase=ic,be.upperFirst=oc,be.each=If,be.eachRight=Rf,be.first=tf,dc(be,(Sc={},eu(be,function(n,t){yt.call(be.prototype,t)||(Sc[t]=n)}),Sc),{chain:!1}),be.VERSION="4.17.10",Wt(['bind','bindKey','curry','curryRight','partial','partialRight'],function(n){be[n].placeholder=be}),Wt(['drop','take'],function(n,r){Ae.prototype[n]=function(e){e=e===t?1:Qr(Aa(e),0);var u=this.__filtered__&&!r?new Ae(this):this.clone();return u.__filtered__?u.__takeCount__=Xr(e,u.__takeCount__):u.__views__.push({size:Xr(e,T),type:n+(u.__dir__<0?'Right':'')}),u},Ae.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;Ae.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:fo(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),Wt(['head','last'],function(n,t){var r='take'+(t?'Right':'');Ae.prototype[n]=function(){return this[r](1).value()[0]}}),Wt(['initial','tail'],function(n,t){var r='drop'+(t?'':'Right');Ae.prototype[n]=function(){return this.__filtered__?new Ae(this):this[r](1)}}),Ae.prototype.compact=function(){return this.filter(pc)},Ae.prototype.find=function(n){return this.filter(n).head()},Ae.prototype.findLast=function(n){return this.reverse().find(n)},Ae.prototype.invokeMap=Mu(function(n,t){return'function'==typeof n?new Ae(this):this.map(function(r){return _u(r,n,t)})}),Ae.prototype.reject=function(n){return this.filter(qf(fo(n)))},Ae.prototype.slice=function(n,r){n=Aa(n);var e=this;return e.__filtered__&&(n>0||r<0)?new Ae(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)},Ae.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Ae.prototype.toArray=function(){return this.take(T)},eu(Ae.prototype,function(n,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=be[u?'take'+('last'==r?'Right':''):r],o=u||/^find/.test(r);i&&(be.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof Ae,c=f[0],l=a||na(r),s=function(n){var t=i.apply(be,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 Ae(this);var g=n.apply(r,f);return g.__actions__.push({func:jf,args:[s],thisArg:t}),new je(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);be.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)})}}),eu(Ae.prototype,function(n,t){var r=be[t];if(r){var e=r.name+'';(se[e]||(se[e]=[])).push({name:t,func:r})}}),se[Ui(t,g).name]=[{name:'wrapper',func:t}],Ae.prototype.clone=function(){var n=new Ae(this.__wrapped__);return n.__actions__=wi(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=wi(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=wi(this.__views__),n},Ae.prototype.reverse=function(){if(this.__filtered__){var n=new Ae(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Ae.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=na(n),e=t<0,u=r?n.length:0,i=_o(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=Xr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return ui(n,this.__actions__);var v=[];n:for(;a--&&h=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},be.prototype.plant=function(n){for(var r,e=this;e instanceof me;){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},be.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Ae){var r=n;return this.__actions__.length&&(r=new Ae(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new je(r,this.__chain__)}return this.thru(lf)},be.prototype.toJSON=be.prototype.valueOf=be.prototype.value=function(){return ui(this.__wrapped__,this.__actions__)},be.prototype.first=be.prototype.head,Dr&&(be.prototype[Dr]=function(){return this}),be})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Wr,define(function(){return Wr})):wt?((wt.exports=Wr)._=Wr,bt._=Wr):xt._=Wr}).call(this)},460,[]); +__d(function(e,r,l,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(r){return u.default.reduce(r,function(r,l,t){return u.default.isPlainObject(l)?r[t]=e(l):i.canNormalize(t)?r=babelHelpers.objectSpread({},r,i.normalize(t,l)):r[t]=l,r},{})};var u=babelHelpers.interopRequireDefault(r(a[0])),n=babelHelpers.interopRequireDefault(r(a[1])),i=(r(a[2]),new n.default)},461,[460,462,1]); +__d(function(e,r,a,i,t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var l=babelHelpers.interopRequireWildcard(r(t[0])),n=(function(){function e(){babelHelpers.classCallCheck(this,e),this.normalizers={},this.createNormalizers('margin',[l.HORIZONTAL,l.VERTICAL,l.SIDES]),this.createNormalizers('padding',[l.HORIZONTAL,l.VERTICAL,l.SIDES]),this.createNormalizers('border',[l.SIDES],'Width')}return babelHelpers.createClass(e,[{key:"createNormalizers",value:function(e,r){var a=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'';r.forEach(function(r){var t=e+r.type+i;if(a.normalizerExists(t))throw Error("Normalizer for '"+t+"' shorthand already exists");a.normalizers[t]=l.default.createNormalizer(e,r,i)})}},{key:"normalizerExists",value:function(e){return!!this.normalizers[e]}},{key:"canNormalize",value:function(e){return this.normalizerExists(e)}},{key:"normalize",value:function(e,r){return this.normalizers[e](r)}}]),e})();i.default=n},462,[463]); +__d(function(e,r,t,a,l){Object.defineProperty(a,"__esModule",{value:!0}),a.default=a.BOTTOM_LEFT=a.TOP_LEFT=a.BOTTOM_RIGHT=a.TOP_RIGHT=a.BOTTOM=a.TOP=a.RIGHT=a.LEFT=a.VERTICAL=a.HORIZONTAL=a.CORNERS=a.SIDES=void 0;var o=babelHelpers.interopRequireDefault(r(l[0])),i=function(e,r){return{name:e,type:o.default.isUndefined(r)?e:r}},n=i('Sides','');a.SIDES=n;var p=i('Corners','');a.CORNERS=p;var s=i('Horizontal');a.HORIZONTAL=s;var f=i('Vertical');a.VERTICAL=f;a.LEFT="Left";a.RIGHT="Right";a.TOP="Top";a.BOTTOM="Bottom";a.TOP_RIGHT="TopRight";a.BOTTOM_RIGHT="BottomRight";a.TOP_LEFT="TopLeft";a.BOTTOM_LEFT="BottomLeft";var T=new((function(){function e(){var r;babelHelpers.classCallCheck(this,e),this.createNormalizersMap=(r={},babelHelpers.defineProperty(r,n.name,this.createAllSidesNormalizer),babelHelpers.defineProperty(r,p.name,this.createAllCornersNormalizer),babelHelpers.defineProperty(r,s.name,this.createHorizontalSidesNormalizer),babelHelpers.defineProperty(r,f.name,this.createVerticalSidesNormalizer),r)}return babelHelpers.createClass(e,[{key:"createAllSidesNormalizer",value:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'';return function(r){var a;return a={},babelHelpers.defineProperty(a,e+"Left"+t,r),babelHelpers.defineProperty(a,e+"Right"+t,r),babelHelpers.defineProperty(a,e+"Top"+t,r),babelHelpers.defineProperty(a,e+"Bottom"+t,r),a}}},{key:"createAllCornersNormalizer",value:function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'';return function(r){var a;return a={},babelHelpers.defineProperty(a,e+"BottomLeft"+t,r),babelHelpers.defineProperty(a,e+"BottomRight"+t,r),babelHelpers.defineProperty(a,e+"TopLeft"+t,r),babelHelpers.defineProperty(a,e+"TopRight"+t,r),a}}},{key:"createHorizontalSidesNormalizer",value:function(e){return function(r){var t;return t={},babelHelpers.defineProperty(t,e+"Left",r),babelHelpers.defineProperty(t,e+"Right",r),t}}},{key:"createVerticalSidesNormalizer",value:function(e){return function(r){var t;return t={},babelHelpers.defineProperty(t,e+"Top",r),babelHelpers.defineProperty(t,e+"Bottom",r),t}}},{key:"getNormalizerCreator",value:function(e){return this.createNormalizersMap[e.name]}},{key:"createNormalizer",value:function(e,r,t){return this.getNormalizerCreator(r)(e,r,t)}}]),e})());a.default=T},463,[460]); +__d(function(e,t,l,u,a){Object.defineProperty(u,"__esModule",{value:!0}),u.ThemeShape=u.default=void 0;var r,n=t(a[0]),i=babelHelpers.interopRequireDefault(t(a[1])),s=babelHelpers.interopRequireDefault(t(a[2])),h=babelHelpers.interopRequireDefault(t(a[3])),o="@@shoutem.theme/themeStyle",f="@@shoutem.theme/themeCachedStyle",p=function(e,t){return(0,h.default)((0,i.default)(e,t))},c=(function(){function e(t){babelHelpers.classCallCheck(this,e),this[o]=p(t),this[f]={}}return babelHelpers.createClass(e,[{key:"createComponentStyle",value:function(e,t){if(this[f][e])return this[f][e];var l=p(t,this[o]);return this[f][e]=(0,s.default)(l,this[o][e],this[o]),this[f][e]}}],[{key:"setDefaultThemeStyle",value:function(t){r=new e(t)}},{key:"getDefaultTheme",value:function(){return r||(r=new e({})),r}}]),e})();u.default=c;var m=n.PropTypes.shape({createComponentStyle:n.PropTypes.func.isRequired});u.ThemeShape=m},464,[48,465,466,461]); +__d(function(e,r,a,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function a(a){var t={},i=t,n=r[a];if(n){if(n[o])throw Error("Base style cannot have includes, unexpected include in "+a+".");i=babelHelpers.objectSpread({},n)}var l=e[a];return l&&(i=babelHelpers.objectSpread({},i,l)),i}var t=new Set;return(function e(r,t){if(!n.isPlainObject(r))return r;var i=r[o];var u={};if(i){if(!n.isArray(i))throw Error('Include should be array');for(var f=i,b=Array.isArray(f),c=0,f=b?f:f["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var d;if(b){if(c>=f.length)break;d=f[c++]}else{if((c=f.next()).done)break;d=c.value}var s=d;if(t.has(s))throw Error("Circular style include, including "+s);t.add(s),u=n.mergeWith({},u,e(a(s),t),l),t.delete(s)}}var v=n.mergeWith({},u,r,l);delete v[o];for(var y=n.keys(v),h=Array.isArray(y),p=0,y=h?y:y["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var m;if(h){if(p>=y.length)break;m=y[p++]}else{if((p=y.next()).done)break;m=p.value}var g=m;v[g]=e(v[g],t)}return v})(e,t)},t.INCLUDE=void 0;var n=babelHelpers.interopRequireWildcard(r(i[0])),o='@@shoutem.theme/include';function l(e,r){var a,t=e;if(r&&r[o]&&(a=t&&t[o]?babelHelpers.toConsumableArray(t[o]).concat(babelHelpers.toConsumableArray(r[o])):r[o]),n.isUndefined(t)&&n.isPlainObject(r)){var i=n.mergeWith({},r,function(e,r){return r});return a&&(i[o]=a),i}n.isPlainObject(t)&&a&&(t[o]=a)}t.INCLUDE=o},465,[460]); +__d(function(e,r,i,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,r,i){var n=u.merge({},e,r),t=u.pick(i,u.keys(n));return u.merge({},t,n)};var u=babelHelpers.interopRequireWildcard(r(t[0]))},466,[460]); +__d(function(e,t,n,l,o){Object.defineProperty(l,"__esModule",{value:!0}),l.resolveComponentStyle=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=(arguments.length>4&&arguments[4],(0,f.default)(n,l[e]));t.forEach(function(e,t){o=(0,f.default)(o,n[""+e])}),t.forEach(function(t,n){o=(0,f.default)(o,l[""+e+t])});var u=(0,f.default)(o,l[e]);return t.forEach(function(e,t){u=(0,f.default)(u,o[""+e])}),t.forEach(function(t,n){u=(0,f.default)(u,l[""+e+t])}),u};babelHelpers.interopRequireDefault(t(o[0]));var f=babelHelpers.interopRequireDefault(t(o[1]))},467,[460,468]); +__d(function(e,o,r,t,f){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(o,r){var t={};var f,n;if(!o)return r;if(!r)return o;for(f in o)for(n in r)f===n?"object"==typeof o[f]&&"object"==typeof r[f]&&r[f]&&o[f]?t[f]=e(o[f],r[f]):t[f]=r[f]:(void 0===t[f]&&(t[f]=o[f]),void 0===t[n]&&(t[n]=r[n]));return t}},468,[]); +__d(function(e,t,l,r,s){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=babelHelpers.interopRequireWildcard(t(s[0])),a=babelHelpers.interopRequireDefault(t(s[1])),n=babelHelpers.interopRequireWildcard(t(s[2])),u=(babelHelpers.interopRequireDefault(t(s[3])),(function(e){function t(e,l){var r;return babelHelpers.classCallCheck(this,t),(r=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e,l))).state={theme:r.createTheme(e)},r}return babelHelpers.createClass(t,[{key:"getChildContext",value:function(){return{theme:this.state.theme}}},{key:"componentWillReceiveProps",value:function(e){e.style!==this.props.style&&this.setState({theme:this.createTheme(e)})}},{key:"createTheme",value:function(e){return new n.default(e.style)}},{key:"render",value:function(){var e=this.props.children;return i.Children.only(e)}}]),babelHelpers.inherits(t,e),t})(i.default.Component));r.default=u,u.propTypes={children:a.default.element.isRequired,style:a.default.object},u.defaultProps={style:{}},u.childContextTypes={theme:n.ThemeShape.isRequired}},469,[31,48,464,461]); +__d(function(e,r,t,n,u){Object.defineProperty(n,"__esModule",{value:!0}),n.createVariations=function(e,r,t,n){return a.default.reduce(r,function(r,u){var a=u?e+"-"+u:e,l=u?""+t+i(u):t;return r[a]=babelHelpers.defineProperty({},l,n),r},{})},n.createSharedStyle=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return a.default.reduce(e,function(e,n){return e[n]=babelHelpers.objectSpread({},r,t[n]),e},{})};var a=babelHelpers.interopRequireDefault(r(u[0]));function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}},470,[460]); +__d(function(e,r,t,u,n){'use strict';Object.defineProperty(u,"__esModule",{value:!0}),Object.defineProperty(u,"Row",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(u,"Grid",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(u,"Col",{enumerable:!0,get:function(){return a.default}});var l=babelHelpers.interopRequireDefault(r(n[0])),i=babelHelpers.interopRequireDefault(r(n[1])),a=babelHelpers.interopRequireDefault(r(n[2]))},471,[472,474,475]); +__d(function(e,r,t,s,o){'use strict';Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var p=babelHelpers.interopRequireWildcard(r(o[0])),i=r(o[1]),l=babelHelpers.interopRequireDefault(r(o[2])),n=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"prepareRootProps",value:function(){var e={style:{flexDirection:'row',flex:this.props.size?this.props.size:this.props.style&&this.props.style.height?0:1}};return(0,l.default)(this.props,e)}},{key:"setNativeProps",value:function(e){this._root.setNativeProps(e)}},{key:"render",value:function(){var e=this;return this.props.onPress?p.default.createElement(i.TouchableOpacity,babelHelpers.extends({onPress:this.props.onPress},this.prepareRootProps()),p.default.createElement(i.View,babelHelpers.extends({ref:function(r){return e._root=r}},this.props,this.prepareRootProps()),this.props.children)):p.default.createElement(i.View,babelHelpers.extends({ref:function(r){return e._root=r}},this.props,this.prepareRootProps()),this.props.children)}}]),babelHelpers.inherits(r,e),r})(p.Component);s.default=n},472,[31,1,473]); +__d(function(e,t,l,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;babelHelpers.interopRequireDefault(t(a[0]));var f=t(a[1]),u=babelHelpers.interopRequireDefault(t(a[2]));var n=function(e,t){var l={};delete(e=u.default.clone(e)).children;var r=e.style;if(delete e.style,e?u.default.merge(l,t,e):l=t,r){var a={};l.style={},Array.isArray(r)?u.default.forEach(r,function(e){"number"==typeof e?u.default.merge(a,f.StyleSheet.flatten(e)):u.default.merge(a,e)}):a="number"==typeof r?f.StyleSheet.flatten(r):r,u.default.merge(l.style,t.style,a)}return l};r.default=n},473,[31,1,460]); +__d(function(e,r,t,s,o){'use strict';Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var l=babelHelpers.interopRequireWildcard(r(o[0])),i=r(o[1]),n=babelHelpers.interopRequireDefault(r(o[2])),p=(babelHelpers.interopRequireDefault(r(o[3])),babelHelpers.interopRequireDefault(r(o[4]))),a=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"prepareRootProps",value:function(){var e={style:{flex:1,flexDirection:this.ifRow()?'column':'row'}};return(0,n.default)(this.props,e)}},{key:"ifRow",value:function(){var e=!1;return l.default.Children.forEach(this.props.children,function(r){r&&r.type==p.default&&(e=!0)}),e}},{key:"setNativeProps",value:function(e){this._root.setNativeProps(e)}},{key:"render",value:function(){var e=this;return this.props.onPress?l.default.createElement(i.TouchableOpacity,{onPress:this.props.onPress},l.default.createElement(i.View,babelHelpers.extends({ref:function(r){return e._root=r}},this.props,this.prepareRootProps()),this.props.children)):l.default.createElement(i.View,babelHelpers.extends({ref:function(r){return e._root=r}},this.props,this.prepareRootProps()),this.props.children)}}]),babelHelpers.inherits(r,e),r})(l.Component);s.default=a},474,[31,1,473,475,472]); +__d(function(e,t,r,s,o){'use strict';Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var p=babelHelpers.interopRequireWildcard(t(o[0])),l=t(o[1]),i=babelHelpers.interopRequireDefault(t(o[2])),n=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"prepareRootProps",value:function(){var e={style:{flexDirection:'column',flex:this.props.size?this.props.size:this.props.style&&this.props.style.width?0:1}};return(0,i.default)(this.props,e)}},{key:"setNativeProps",value:function(e){this._root.setNativeProps(e)}},{key:"render",value:function(){var e=this;return this.props.onPress?p.default.createElement(l.TouchableOpacity,babelHelpers.extends({onPress:this.props.onPress},this.prepareRootProps()),p.default.createElement(l.View,babelHelpers.extends({ref:function(t){return e._root=t}},this.props,this.prepareRootProps()),this.props.children)):p.default.createElement(l.View,babelHelpers.extends({ref:function(t){return e._root=t}},this.props,this.prepareRootProps()),this.props.children)}}]),babelHelpers.inherits(t,e),t})(p.Component);s.default=n},475,[31,1,473]); +__d(function(e,t,u,l,a){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){var e=(0,n.default)();f.Theme.setDefaultThemeStyle(e)};var d,f=t(a[0]),_=t(a[1]),n=(d=_)&&d.__esModule?d:{default:d}},476,[457,477]); +__d(function(e,a,t,i,u){Object.defineProperty(i,"__esModule",{value:!0});var f=Object.assign||function(e){for(var a=1;a0&&void 0!==arguments[0]?arguments[0]:W.default,a={variables:e,"NativeBase.Left":f({},(0,s.default)(e)),"NativeBase.Right":f({},(0,B.default)(e)),"NativeBase.Body":f({},(0,d.default)(e)),"NativeBase.Header":f({},(0,v.default)(e)),"NativeBase.Button":f({},(0,c.default)(e)),"NativeBase.Title":f({},(0,b.default)(e)),"NativeBase.Subtitle":f({},(0,T.default)(e)),"NativeBase.InputGroup":f({},(0,p.default)(e)),"NativeBase.Input":f({},(0,G.default)(e)),"NativeBase.Badge":f({},(0,h.default)(e)),"NativeBase.CheckBox":f({},(0,m.default)(e)),"NativeBase.Radio":f({},(0,g.default)(e)),"NativeBase.Card":f({},(0,I.default)()),"NativeBase.CardItem":f({},(0,D.default)(e)),"NativeBase.Toast":f({},(0,L.default)(e)),"NativeBase.H1":f({},(0,O.default)(e)),"NativeBase.H2":f({},(0,C.default)(e)),"NativeBase.H3":f({},(0,x.default)(e)),"NativeBase.Form":f({},(0,K.default)(e)),"NativeBase.Container":f({},(0,o.default)(e)),"NativeBase.Content":f({},(0,r.default)(e)),"NativeBase.Footer":f({},(0,S.default)(e)),"NativeBase.Tabs":{flex:1},"NativeBase.FooterTab":f({},(0,_.default)(e)),"NativeBase.ListItem":f({},(0,J.default)(e)),"NativeBase.ListItem1":f({},(0,J.default)(e)),"NativeBase.Icon":f({},(0,E.default)(e)),"NativeBase.IconNB":f({},(0,E.default)(e)),"NativeBase.Text":f({},(0,F.default)(e)),"NativeBase.Spinner":f({},(0,A.default)(e)),"NativeBase.Fab":f({},(0,w.default)(e)),"NativeBase.Item":f({},(0,y.default)(e)),"NativeBase.Label":f({},(0,H.default)(e)),"NativeBase.Textarea":f({},(0,j.default)(e)),"NativeBase.PickerNB":f({},(0,U.default)(e),{"NativeBase.Button":{"NativeBase.Text":{}}}),"NativeBase.Tab":f({},(0,P.default)(e)),"NativeBase.Segment":f({},(0,z.default)(e)),"NativeBase.TabBar":f({},(0,R.default)(e)),"NativeBase.ViewNB":f({},(0,M.default)(e)),"NativeBase.TabHeading":f({},(0,V.default)(e)),"NativeBase.TabContainer":f({},(0,k.default)(e)),"NativeBase.Switch":f({},(0,N.default)(e)),"NativeBase.Separator":f({},(0,Q.default)(e)),"NativeBase.SwipeRow":f({},(0,q.default)(e)),"NativeBase.Thumbnail":f({},(0,n.default)(e))};return(function e(a,t,i){l.default.forEach(t,function(u,f){0===f.indexOf(".")&&i&&0===i.indexOf(".")&&a&&(a[f]?a[f][i]=u:a[f]={}),u&&"object"==typeof u&&"fontVariant"!==f&&"transform"!==f&&e(t,u,f)})})(null,a,null),a}},477,[460,478,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,527,528,526,479]); +__d(function(e,t,l,n,u){Object.defineProperty(n,"__esModule",{value:!0});var d,f=t(u[0]),a=(d=f)&&d.__esModule?d:{default:d};n.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;return{flex:1,alignItems:'center',alignSelf:'center'}}},478,[479]); +__d(function(e,o,t,r,i){Object.defineProperty(r,"__esModule",{value:!0});var n,a=o(i[0]),s=(n=a)&&n.__esModule?n:{default:n},f=o(i[1]);var l=f.Dimensions.get("window").height,d=f.Dimensions.get("window").width,g=f.Platform.OS,b="ios"===g&&(812===l||812===d);r.default={platformStyle:void 0,platform:g,headerStyle:"#edebed",iconStyle:"#000",contentStyle:"#f5f4f5",expandedIconStyle:"#000",accordionBorderColor:"#d3d3d3",androidRipple:!0,androidRippleColor:"rgba(256, 256, 256, 0.3)",androidRippleColorDark:"rgba(0, 0, 0, 0.15)",btnUppercaseAndroidText:!0,badgeBg:"#ED1727",badgeColor:"#fff",badgePadding:"ios"===g?3:0,btnFontFamily:"ios"===g?"System":"Roboto_medium",btnDisabledBg:"#b5b5b5",buttonPadding:6,get btnPrimaryBg(){return this.brandPrimary},get btnPrimaryColor(){return this.inverseTextColor},get btnInfoBg(){return this.brandInfo},get btnInfoColor(){return this.inverseTextColor},get btnSuccessBg(){return this.brandSuccess},get btnSuccessColor(){return this.inverseTextColor},get btnDangerBg(){return this.brandDanger},get btnDangerColor(){return this.inverseTextColor},get btnWarningBg(){return this.brandWarning},get btnWarningColor(){return this.inverseTextColor},get btnTextSize(){return"ios"===g?1.1*this.fontSizeBase:this.fontSizeBase-1},get btnTextSizeLarge(){return 1.5*this.fontSizeBase},get btnTextSizeSmall(){return.8*this.fontSizeBase},get borderRadiusLarge(){return 3.8*this.fontSizeBase},get iconSizeLarge(){return 1.5*this.iconFontSize},get iconSizeSmall(){return.6*this.iconFontSize},cardDefaultBg:"#fff",cardBorderColor:"#ccc",cardBorderRadius:2,cardItemPadding:"ios"===g?10:12,CheckboxRadius:"ios"===g?13:0,CheckboxBorderWidth:"ios"===g?1:2,CheckboxPaddingLeft:"ios"===g?4:2,CheckboxPaddingBottom:"ios"===g?0:5,CheckboxIconSize:"ios"===g?21:16,CheckboxIconMarginTop:"ios"===g?void 0:1,CheckboxFontSize:"ios"===g?25.555555555555554:17,checkboxBgColor:"#039BE5",checkboxSize:20,checkboxTickColor:"#fff",brandPrimary:"ios"===g?"#007aff":"#3F51B5",brandInfo:"#62B1F6",brandSuccess:"#5cb85c",brandDanger:"#d9534f",brandWarning:"#f0ad4e",brandDark:"#000",brandLight:"#f4f4f4",containerBgColor:"#fff",datePickerTextColor:"#000",datePickerBg:"transparent",DefaultFontSize:16,fontFamily:"ios"===g?"System":"Roboto",fontSizeBase:15,get fontSizeH1(){return 1.8*this.fontSizeBase},get fontSizeH2(){return 1.6*this.fontSizeBase},get fontSizeH3(){return 1.4*this.fontSizeBase},footerHeight:55,footerDefaultBg:"ios"===g?"#F8F8F8":"#3F51B5",footerPaddingBottom:0,tabBarTextColor:"ios"===g?"#6b6b6b":"#b3c7f9",tabBarTextSize:"ios"===g?14:11,activeTab:"ios"===g?"#007aff":"#fff",sTabBarActiveTextColor:"#007aff",tabBarActiveTextColor:"ios"===g?"#007aff":"#fff",tabActiveBgColor:"ios"===g?"#cde1f9":"#3F51B5",toolbarBtnColor:"ios"===g?"#007aff":"#fff",toolbarDefaultBg:"ios"===g?"#F8F8F8":"#3F51B5",toolbarHeight:"ios"===g?64:56,toolbarSearchIconSize:"ios"===g?20:23,toolbarInputColor:"ios"===g?"#CECDD2":"#fff",searchBarHeight:"ios"===g?30:40,searchBarInputHeight:"ios"===g?30:50,toolbarBtnTextColor:"ios"===g?"#007aff":"#fff",toolbarDefaultBorder:"ios"===g?"#a7a6ab":"#3F51B5",iosStatusbar:"ios"===g?"dark-content":"light-content",get statusBarColor(){return(0,s.default)(this.toolbarDefaultBg).darken(.2).hex()},get darkenHeader(){return(0,s.default)(this.tabBgColor).darken(.03).hex()},iconFamily:"Ionicons",iconFontSize:"ios"===g?30:28,iconHeaderSize:"ios"===g?33:24,inputFontSize:17,inputBorderColor:"#D9D5DC",inputSuccessBorderColor:"#2b8339",inputErrorBorderColor:"#ed2f2f",inputHeightBase:50,get inputColor(){return this.textColor},get inputColorPlaceholder(){return"#575757"},btnLineHeight:19,lineHeightH1:32,lineHeightH2:27,lineHeightH3:22,lineHeight:"ios"===g?20:24,listItemSelected:"ios"===g?"#007aff":"#3F51B5",listBg:"transparent",listBorderColor:"#c9c9c9",listDividerBg:"#f4f4f4",listBtnUnderlayColor:"#DDD",listItemPadding:"ios"===g?10:12,listNoteColor:"#808080",listNoteSize:13,defaultProgressColor:"#E4202D",inverseProgressColor:"#1A191B",radioBtnSize:"ios"===g?25:23,radioSelectedColorAndroid:"#3F51B5",radioBtnLineHeight:"ios"===g?29:24,get radioColor(){return this.brandPrimary},segmentBackgroundColor:"ios"===g?"#F8F8F8":"#3F51B5",segmentActiveBackgroundColor:"ios"===g?"#007aff":"#fff",segmentTextColor:"ios"===g?"#007aff":"#fff",segmentActiveTextColor:"ios"===g?"#fff":"#3F51B5",segmentBorderColor:"ios"===g?"#007aff":"#fff",segmentBorderColorMain:"ios"===g?"#a7a6ab":"#3F51B5",defaultSpinnerColor:"#45D56E",inverseSpinnerColor:"#1A191B",tabDefaultBg:"ios"===g?"#F8F8F8":"#3F51B5",topTabBarTextColor:"ios"===g?"#6b6b6b":"#b3c7f9",topTabBarActiveTextColor:"ios"===g?"#007aff":"#fff",topTabBarBorderColor:"ios"===g?"#a7a6ab":"#fff",topTabBarActiveBorderColor:"ios"===g?"#007aff":"#fff",tabBgColor:"#F8F8F8",tabFontSize:15,textColor:"#000",inverseTextColor:"#fff",noteFontSize:14,get defaultTextColor(){return this.textColor},titleFontfamily:"ios"===g?"System":"Roboto_medium",titleFontSize:"ios"===g?17:19,subTitleFontSize:"ios"===g?11:14,subtitleColor:"ios"===g?"#8e8e93":"#FFF",titleFontColor:"ios"===g?"#000":"#FFF",borderRadiusBase:"ios"===g?5:2,borderWidth:1/f.PixelRatio.getPixelSizeForLayoutSize(1),contentPadding:10,dropdownLinkColor:"#414142",inputLineHeight:24,deviceWidth:d,deviceHeight:l,isIphoneX:b,inputGroupRoundedBorderRadius:30,Inset:{portrait:{topInset:24,leftInset:0,rightInset:0,bottomInset:34},landscape:{topInset:0,leftInset:44,rightInset:44,bottomInset:21}}}},479,[480,1]); +__d(function(r,t,o,n,e){'use strict';var a=t(e[0]),i=t(e[1]),h=[].slice,l=['keyword','gray','hex'],s={};Object.keys(i).forEach(function(r){s[h.call(i[r].labels).sort().join('')]=r});var c={};function u(r,t){if(!(this instanceof u))return new u(r,t);if(t&&t in l&&(t=null),t&&!(t in i))throw new Error('Unknown model: '+t);var o,n;if(r)if(r instanceof u)this.model=r.model,this.color=r.color.slice(),this.valpha=r.valpha;else if('string'==typeof r){var e=a.get(r);if(null===e)throw new Error('Unable to parse color from string: '+r);this.model=e.model,n=i[this.model].channels,this.color=e.value.slice(0,n),this.valpha='number'==typeof e.value[n]?e.value[n]:1}else if(r.length){this.model=t||'rgb',n=i[this.model].channels;var f=h.call(r,0,n);this.color=m(f,n),this.valpha='number'==typeof r[n]?r[n]:1}else if('number'==typeof r)r&=16777215,this.model='rgb',this.color=[r>>16&255,r>>8&255,255&r],this.valpha=1;else{this.valpha=1;var v=Object.keys(r);'alpha'in r&&(v.splice(v.indexOf('alpha'),1),this.valpha='number'==typeof r.alpha?r.alpha:0);var p=v.sort().join('');if(!(p in s))throw new Error('Unable to parse color from object: '+JSON.stringify(r));this.model=s[p];var b=i[this.model].labels,g=[];for(o=0;oo?(t+.05)/(o+.05):(o+.05)/(t+.05)},level:function(r){var t=this.contrast(r);return t>=7.1?'AAA':t>=4.5?'AA':''},dark:function(){var r=this.rgb().color;return(299*r[0]+587*r[1]+114*r[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var r=this.rgb(),t=0;t<3;t++)r.color[t]=255-r.color[t];return r},lighten:function(r){var t=this.hsl();return t.color[2]+=t.color[2]*r,t},darken:function(r){var t=this.hsl();return t.color[2]-=t.color[2]*r,t},saturate:function(r){var t=this.hsl();return t.color[1]+=t.color[1]*r,t},desaturate:function(r){var t=this.hsl();return t.color[1]-=t.color[1]*r,t},whiten:function(r){var t=this.hwb();return t.color[1]+=t.color[1]*r,t},blacken:function(r){var t=this.hwb();return t.color[2]+=t.color[2]*r,t},grayscale:function(){var r=this.rgb().color,t=.3*r[0]+.59*r[1]+.11*r[2];return u.rgb(t,t,t)},fade:function(r){return this.alpha(this.valpha-this.valpha*r)},opaquer:function(r){return this.alpha(this.valpha+this.valpha*r)},rotate:function(r){var t=this.hsl(),o=t.color[0];return o=(o=(o+r)%360)<0?360+o:o,t.color[0]=o,t},mix:function(r,t){var o=this.rgb(),n=r.rgb(),e=void 0===t?.5:t,a=2*e-1,i=o.alpha()-n.alpha(),h=((a*i==-1?a:(a+i)/(1+a*i))+1)/2,l=1-h;return u.rgb(h*o.red()+l*n.red(),h*o.green()+l*n.green(),h*o.blue()+l*n.blue(),o.alpha()*e+n.alpha()*(1-e))}},Object.keys(i).forEach(function(r){if(-1===l.indexOf(r)){var t=i[r].channels;u.prototype[r]=function(){if(this.model===r)return new u(this);if(arguments.length)return new u(arguments,r);var o,n='number'==typeof arguments[t]?t:this.valpha;return new u((o=i[this.model][r].raw(this.color),Array.isArray(o)?o:[o]).concat(n),r)},u[r]=function(o){return'number'==typeof o&&(o=m(h.call(arguments),t)),new u(o,r)}}}),o.exports=u},480,[481,485]); +__d(function(r,t,a,n,e){var s=t(e[0]),o=t(e[1]),u={};for(var l in s)s.hasOwnProperty(l)&&(u[s[l]]=l);var h=a.exports={to:{},get:{}};function d(r,t,a){return Math.min(Math.max(t,r),a)}function i(r){var t=r.toString(16).toUpperCase();return t.length<2?'0'+t:t}h.get=function(r){var t,a;switch(r.substring(0,3).toLowerCase()){case'hsl':t=h.get.hsl(r),a='hsl';break;case'hwb':t=h.get.hwb(r),a='hwb';break;default:t=h.get.rgb(r),a='rgb'}return t?{model:a,value:t}:null},h.get.rgb=function(r){if(!r)return null;var t,a,n,e=[0,0,0,1];if(t=r.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=t[2],t=t[1],a=0;a<3;a++){var o=2*a;e[a]=parseInt(t.slice(o,o+2),16)}n&&(e[3]=Math.round(parseInt(n,16)/255*100)/100)}else if(t=r.match(/^#([a-f0-9]{3,4})$/i)){for(n=(t=t[1])[3],a=0;a<3;a++)e[a]=parseInt(t[a]+t[a],16);n&&(e[3]=Math.round(parseInt(n+n,16)/255*100)/100)}else if(t=r.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(a=0;a<3;a++)e[a]=parseInt(t[a+1],0);t[4]&&(e[3]=parseFloat(t[4]))}else{if(!(t=r.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(t=r.match(/(\D+)/))?'transparent'===t[1]?[0,0,0,0]:(e=s[t[1]])?(e[3]=1,e):null:null;for(a=0;a<3;a++)e[a]=Math.round(2.55*parseFloat(t[a+1]));t[4]&&(e[3]=parseFloat(t[4]))}for(a=0;a<3;a++)e[a]=d(e[a],0,255);return e[3]=d(e[3],0,1),e},h.get.hsl=function(r){if(!r)return null;var t=r.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var a=parseFloat(t[4]);return[(parseFloat(t[1])+360)%360,d(parseFloat(t[2]),0,100),d(parseFloat(t[3]),0,100),d(isNaN(a)?1:a,0,1)]}return null},h.get.hwb=function(r){if(!r)return null;var t=r.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var a=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,d(parseFloat(t[2]),0,100),d(parseFloat(t[3]),0,100),d(isNaN(a)?1:a,0,1)]}return null},h.to.hex=function(){var r=o(arguments);return'#'+i(r[0])+i(r[1])+i(r[2])+(r[3]<1?i(Math.round(255*r[3])):'')},h.to.rgb=function(){var r=o(arguments);return r.length<4||1===r[3]?'rgb('+Math.round(r[0])+', '+Math.round(r[1])+', '+Math.round(r[2])+')':'rgba('+Math.round(r[0])+', '+Math.round(r[1])+', '+Math.round(r[2])+', '+r[3]+')'},h.to.rgb.percent=function(){var r=o(arguments),t=Math.round(r[0]/255*100),a=Math.round(r[1]/255*100),n=Math.round(r[2]/255*100);return r.length<4||1===r[3]?'rgb('+t+'%, '+a+'%, '+n+'%)':'rgba('+t+'%, '+a+'%, '+n+'%, '+r[3]+')'},h.to.hsl=function(){var r=o(arguments);return r.length<4||1===r[3]?'hsl('+r[0]+', '+r[1]+'%, '+r[2]+'%)':'hsla('+r[0]+', '+r[1]+'%, '+r[2]+'%, '+r[3]+')'},h.to.hwb=function(){var r=o(arguments),t='';return r.length>=4&&1!==r[3]&&(t=', '+r[3]),'hwb('+r[0]+', '+r[1]+'%, '+r[2]+'%'+t+')'},h.to.keyword=function(r){return u[r.slice(0,3)]}},481,[482,483]); +__d(function(e,r,l,a,i){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},482,[]); +__d(function(r,t,n,o,c){'use strict';var a=t(c[0]),e=Array.prototype.concat,u=Array.prototype.slice,p=n.exports=function(r){for(var t=[],n=0,o=r.length;n=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&'String'!==n.constructor.name))}},484,[]); +__d(function(n,e,r,o,t){var c=e(t[0]),i=e(t[1]),a={};function l(n){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),n(e))};return'conversion'in n&&(e.conversion=n.conversion),e}function u(n){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var r=n(e);if('object'==typeof r)for(var o=r.length,t=0;t1&&(e-=1)),[360*e,100*h,100*c]},s.rgb.hwb=function(r){var n=r[0],a=r[1],t=r[2];return[s.rgb.hsl(r)[0],100*(.00392156862745098*Math.min(n,Math.min(a,t))),100*(t=1-.00392156862745098*Math.max(n,Math.max(a,t)))]},s.rgb.cmyk=function(r){var n,a=r[0]/255,t=r[1]/255,e=r[2]/255;return[100*((1-a-(n=Math.min(1-a,1-t,1-e)))/(1-n)||0),100*((1-t-n)/(1-n)||0),100*((1-e-n)/(1-n)||0),100*n]},s.rgb.keyword=function(r){var n=u[r];if(n)return n;var a,t,e,o=1/0;for(var s in h)if(h.hasOwnProperty(s)){var c=h[s],l=(t=r,e=c,Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2));l.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.3576*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92)+.1805*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)),100*(.2126*n+.7152*a+.0722*t),100*(.0193*n+.1192*a+.9505*t)]},s.rgb.lab=function(r){var n=s.rgb.xyz(r),a=n[0],t=n[1],e=n[2];return t/=100,e/=108.883,a=(a/=95.047)>.008856?Math.pow(a,.3333333333333333):7.787*a+.13793103448275862,[116*(t=t>.008856?Math.pow(t,.3333333333333333):7.787*t+.13793103448275862)-16,500*(a-t),200*(t-(e=e>.008856?Math.pow(e,.3333333333333333):7.787*e+.13793103448275862))]},s.hsl.rgb=function(r){var n,a,t,e,h,u=r[0]/360,o=r[1]/100,s=r[2]/100;if(0===o)return[h=255*s,h,h];n=2*s-(a=s<.5?s*(1+o):s+o-s*o),e=[0,0,0];for(var c=0;c<3;c++)(t=u+.3333333333333333*-(c-1))<0&&t++,t>1&&t--,h=6*t<1?n+6*(a-n)*t:2*t<1?a:3*t<2?n+(a-n)*(.6666666666666666-t)*6:n,e[c]=255*h;return e},s.hsl.hsv=function(r){var n=r[0],a=r[1]/100,t=r[2]/100,e=a,h=Math.max(t,.01);return a*=(t*=2)<=1?t:2-t,e*=h<=1?h:2-h,[n,100*(0===t?2*e/(h+e):2*a/(t+a)),100*((t+a)/2)]},s.hsv.rgb=function(r){var n=r[0]/60,a=r[1]/100,t=r[2]/100,e=Math.floor(n)%6,h=n-Math.floor(n),u=255*t*(1-a),o=255*t*(1-a*h),s=255*t*(1-a*(1-h));switch(t*=255,e){case 0:return[t,s,u];case 1:return[o,t,u];case 2:return[u,t,s];case 3:return[u,o,t];case 4:return[s,u,t];case 5:return[t,u,o]}},s.hsv.hsl=function(r){var n,a,t,e=r[0],h=r[1]/100,u=r[2]/100,o=Math.max(u,.01);return t=(2-h)*u,a=h*o,[e,100*(a=(a/=(n=(2-h)*o)<=1?n:2-n)||0),100*(t/=2)]},s.hwb.rgb=function(r){var n,a,t,e,h,u,o,s=r[0]/360,c=r[1]/100,l=r[2]/100,i=c+l;switch(i>1&&(c/=i,l/=i),a=1-l,t=6*s-(n=Math.floor(6*s)),0!=(1&n)&&(t=1-t),e=c+t*(a-c),n){default:case 6:case 0:h=a,u=e,o=c;break;case 1:h=e,u=a,o=c;break;case 2:h=c,u=a,o=e;break;case 3:h=c,u=e,o=a;break;case 4:h=e,u=c,o=a;break;case 5:h=a,u=c,o=e}return[255*h,255*u,255*o]},s.cmyk.rgb=function(r){var n=r[0]/100,a=r[1]/100,t=r[2]/100,e=r[3]/100;return[255*(1-Math.min(1,n*(1-e)+e)),255*(1-Math.min(1,a*(1-e)+e)),255*(1-Math.min(1,t*(1-e)+e))]},s.xyz.rgb=function(r){var n,a,t,e=r[0]/100,h=r[1]/100,u=r[2]/100;return a=-.9689*e+1.8758*h+.0415*u,t=.0557*e+-.204*h+1.057*u,n=(n=3.2406*e+-1.5372*h+-.4986*u)>.0031308?1.055*Math.pow(n,.4166666666666667)-.055:12.92*n,a=a>.0031308?1.055*Math.pow(a,.4166666666666667)-.055:12.92*a,t=t>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t,[255*(n=Math.min(Math.max(0,n),1)),255*(a=Math.min(Math.max(0,a),1)),255*(t=Math.min(Math.max(0,t),1))]},s.xyz.lab=function(r){var n=r[0],a=r[1],t=r[2];return a/=100,t/=108.883,n=(n/=95.047)>.008856?Math.pow(n,.3333333333333333):7.787*n+.13793103448275862,[116*(a=a>.008856?Math.pow(a,.3333333333333333):7.787*a+.13793103448275862)-16,500*(n-a),200*(a-(t=t>.008856?Math.pow(t,.3333333333333333):7.787*t+.13793103448275862))]},s.lab.xyz=function(r){var n,a,t,e=r[0],h=r[1],u=r[2];n=h/500+(a=(e+16)/116),t=a-u/200;var o=Math.pow(a,3),s=Math.pow(n,3),c=Math.pow(t,3);return a=o>.008856?o:(a-.13793103448275862)/7.787,n=s>.008856?s:(n-.13793103448275862)/7.787,t=c>.008856?c:(t-.13793103448275862)/7.787,[n*=95.047,a*=100,t*=108.883]},s.lab.lch=function(r){var n,a=r[0],t=r[1],e=r[2];return(n=360*Math.atan2(e,t)/2/Math.PI)<0&&(n+=360),[a,Math.sqrt(t*t+e*e),n]},s.lch.lab=function(r){var n,a=r[0],t=r[1];return n=r[2]/360*2*Math.PI,[a,t*Math.cos(n),t*Math.sin(n)]},s.rgb.ansi16=function(r){var n=r[0],a=r[1],t=r[2],e=1 in arguments?arguments[1]:s.rgb.hsv(r)[2];if(0===(e=Math.round(e/50)))return 30;var h=30+(Math.round(t/255)<<2|Math.round(a/255)<<1|Math.round(n/255));return 2===e&&(h+=60),h},s.hsv.ansi16=function(r){return s.rgb.ansi16(s.hsv.rgb(r),r[2])},s.rgb.ansi256=function(r){var n=r[0],a=r[1],t=r[2];return n===a&&a===t?n<8?16:n>248?231:Math.round((n-8)/247*24)+232:16+36*Math.round(n/255*5)+6*Math.round(a/255*5)+Math.round(t/255*5)},s.ansi16.rgb=function(r){var n=r%10;if(0===n||7===n)return r>50&&(n+=3.5),[n=n/10.5*255,n,n];var a=.5*(1+~~(r>50));return[(1&n)*a*255,(n>>1&1)*a*255,(n>>2&1)*a*255]},s.ansi256.rgb=function(r){if(r>=232){var n=10*(r-232)+8;return[n,n,n]}var a;return r-=16,[Math.floor(r/36)/5*255,Math.floor((a=r%36)/6)/5*255,a%6/5*255]},s.rgb.hex=function(r){var n=(((255&Math.round(r[0]))<<16)+((255&Math.round(r[1]))<<8)+(255&Math.round(r[2]))).toString(16).toUpperCase();return'000000'.substring(n.length)+n},s.hex.rgb=function(r){var n=r.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!n)return[0,0,0];var a=n[0];3===n[0].length&&(a=a.split('').map(function(r){return r+r}).join(''));var t=parseInt(a,16);return[t>>16&255,t>>8&255,255&t]},s.rgb.hcg=function(r){var n,a,t=r[0]/255,e=r[1]/255,h=r[2]/255,u=Math.max(Math.max(t,e),h),o=Math.min(Math.min(t,e),h),s=u-o;return n=s<1?o/(1-s):0,a=s<=0?0:u===t?(e-h)/s%6:u===e?2+(h-t)/s:4+(t-e)/s+4,a/=6,[360*(a%=1),100*s,100*n]},s.hsl.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=1,e=0;return(t=a<.5?2*n*a:2*n*(1-a))<1&&(e=(a-.5*t)/(1-t)),[r[0],100*t,100*e]},s.hsv.hcg=function(r){var n=r[1]/100,a=r[2]/100,t=n*a,e=0;return t<1&&(e=(a-t)/(1-t)),[r[0],100*t,100*e]},s.hcg.rgb=function(r){var n=r[0]/360,a=r[1]/100,t=r[2]/100;if(0===a)return[255*t,255*t,255*t];var e,h=[0,0,0],u=n%1*6,o=u%1,s=1-o;switch(Math.floor(u)){case 0:h[0]=1,h[1]=o,h[2]=0;break;case 1:h[0]=s,h[1]=1,h[2]=0;break;case 2:h[0]=0,h[1]=1,h[2]=o;break;case 3:h[0]=0,h[1]=s,h[2]=1;break;case 4:h[0]=o,h[1]=0,h[2]=1;break;default:h[0]=1,h[1]=0,h[2]=s}return e=(1-a)*t,[255*(a*h[0]+e),255*(a*h[1]+e),255*(a*h[2]+e)]},s.hcg.hsv=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n),t=0;return a>0&&(t=n/a),[r[0],100*t,100*a]},s.hcg.hsl=function(r){var n=r[1]/100,a=r[2]/100*(1-n)+.5*n,t=0;return a>0&&a<.5?t=n/(2*a):a>=.5&&a<1&&(t=n/(2*(1-a))),[r[0],100*t,100*a]},s.hcg.hwb=function(r){var n=r[1]/100,a=n+r[2]/100*(1-n);return[r[0],100*(a-n),100*(1-a)]},s.hwb.hcg=function(r){var n=r[1]/100,a=1-r[2]/100,t=a-n,e=0;return t<1&&(e=(a-t)/(1-t)),[r[0],100*t,100*e]},s.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},s.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},s.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},s.gray.hsl=s.gray.hsv=function(r){return[0,0,r[0]]},s.gray.hwb=function(r){return[0,100,r[0]]},s.gray.cmyk=function(r){return[0,0,0,r[0]]},s.gray.lab=function(r){return[r[0],0,0]},s.gray.hex=function(r){var n=255&Math.round(r[0]/100*255),a=((n<<16)+(n<<8)+n).toString(16).toUpperCase();return'000000'.substring(a.length)+a},s.rgb.gray=function(r){return[(r[0]+r[1]+r[2])/3/255*100]}},486,[482]); +__d(function(n,t,r,e,a){var u=t(a[0]);function c(){for(var n={},t=Object.keys(u),r=t.length,e=0;e0&&void 0!==arguments[0]?arguments[0]:d.default;return{flex:1,alignSelf:'center',alignItems:'flex-start'}}},488,[479]); +__d(function(e,l,n,t,u){Object.defineProperty(t,"__esModule",{value:!0});var a,f=l(u[0]),d=(a=f)&&a.__esModule?a:{default:a};t.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{'NativeBase.Button':{alignSelf:null},flex:1,alignSelf:'center',alignItems:'flex-end'}}},489,[479]); +__d(function(t,o,e,a,i){Object.defineProperty(a,"__esModule",{value:!0});var n,l=o(i[0]),r=o(i[1]),s=(n=r)&&n.__esModule?n:{default:n};a.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.default,o=t.platformStyle,e=t.platform;return{".span":{height:128,"NativeBase.Left":{alignSelf:"flex-start"},"NativeBase.Body":{alignSelf:"flex-end",alignItems:"flex-start",justifyContent:"center",paddingBottom:26},"NativeBase.Right":{alignSelf:"flex-start"}},".hasSubtitle":{"NativeBase.Body":{"NativeBase.Title":{fontSize:t.titleFontSize-2,fontFamily:t.titleFontfamily,textAlign:"center",fontWeight:"500",paddingBottom:3},"NativeBase.Subtitle":{fontSize:t.subTitleFontSize,fontFamily:t.titleFontfamily,color:t.subtitleColor,textAlign:"center"}}},".transparent":{backgroundColor:"transparent",borderBottomColor:"transparent",elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null,paddingTop:"android"===e?l.StatusBar.currentHeight:void 0,height:"android"===e?t.toolbarHeight+l.StatusBar.currentHeight:t.toolbarHeight},".noShadow":{elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},".hasTabs":{elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null,borderBottomWidth:null},".hasSegment":{elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null,borderBottomWidth:null,"NativeBase.Left":{flex:.3},"NativeBase.Right":{flex:.3},"NativeBase.Body":{flex:1,"NativeBase.Segment":{marginRight:0,alignSelf:"center","NativeBase.Button":{paddingLeft:0,paddingRight:0}}}},".noLeft":{"NativeBase.Left":{width:"ios"===e?void 0:0,flex:"ios"===e?1:0},"NativeBase.Body":{"NativeBase.Title":{paddingLeft:"ios"===e?void 0:10},"NativeBase.Subtitle":{paddingLeft:"ios"===e?void 0:10}}},"NativeBase.Button":{justifyContent:"center",alignSelf:"center",alignItems:"center",".transparent":{"NativeBase.Text":{color:t.toolbarBtnTextColor,fontWeight:"600"},"NativeBase.Icon":{color:t.toolbarBtnColor},"NativeBase.IconNB":{color:t.toolbarBtnColor},paddingHorizontal:t.buttonPadding},paddingHorizontal:15},".searchBar":{"NativeBase.Item":{"NativeBase.Icon":{backgroundColor:"transparent",color:t.dropdownLinkColor,fontSize:t.toolbarSearchIconSize,alignItems:"center",marginTop:2,paddingRight:10,paddingLeft:10},"NativeBase.IconNB":{backgroundColor:"transparent",color:null,alignSelf:"center"},"NativeBase.Input":{alignSelf:"center",lineHeight:null,height:t.searchBarInputHeight},alignSelf:"center",alignItems:"center",justifyContent:"flex-start",flex:1,height:t.searchBarHeight,borderColor:"transparent",backgroundColor:t.toolbarInputColor},"NativeBase.Button":{".transparent":{"NativeBase.Text":{fontWeight:"500"},paddingHorizontal:null,paddingLeft:"ios"===e?10:null},paddingHorizontal:"ios"===e?void 0:null,width:"ios"===e?void 0:0,height:"ios"===e?void 0:0}},".rounded":{"NativeBase.Item":{borderRadius:"ios"===e&&"material"!==o?25:3}},"NativeBase.Left":{"NativeBase.Button":{".hasText":{marginLeft:-10,height:30,"NativeBase.Icon":{color:t.toolbarBtnColor,fontSize:t.iconHeaderSize,marginTop:2,marginRight:5,marginLeft:2},"NativeBase.Text":{color:t.toolbarBtnTextColor,fontSize:"ios"===e?17:0,marginLeft:7,lineHeight:19.5},"NativeBase.IconNB":{color:t.toolbarBtnColor,fontSize:t.iconHeaderSize,marginTop:2,marginRight:5,marginLeft:2}},".transparent":{marginLeft:"ios"===e&&"material"!==o?-3:0,"NativeBase.Icon":{color:t.toolbarBtnColor,fontSize:"ios"===e&&"material"!==t.platformStyle?t.iconHeaderSize+1:t.iconHeaderSize,marginTop:0,marginRight:2,marginLeft:1,paddingTop:1},"NativeBase.IconNB":{color:t.toolbarBtnColor,fontSize:"ios"===e&&"material"!==t.platformStyle?t.iconHeaderSize+1:t.iconHeaderSize-2,marginTop:0,marginRight:2,marginLeft:1,paddingTop:1},"NativeBase.Text":{color:t.toolbarBtnTextColor,fontSize:"ios"===e?17:0,top:"ios"===e?1:-1.5,paddingLeft:"ios"===e&&"material"!==o?2:5,paddingRight:"ios"===e&&"material"!==o?void 0:10},backgroundColor:"transparent",borderColor:null,elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},"NativeBase.Icon":{color:t.toolbarBtnColor},"NativeBase.IconNB":{color:t.toolbarBtnColor},alignSelf:null,paddingRight:t.buttonPadding,paddingLeft:"ios"===e&&"material"!==o?4:8},flex:"ios"===e&&"material"!==o?1:.4,alignSelf:"center",alignItems:"flex-start"},"NativeBase.Body":{flex:1,alignItems:"ios"===e&&"material"!==o?"center":"flex-start",alignSelf:"center","NativeBase.Segment":{borderWidth:0,alignSelf:"flex-end",marginRight:"ios"===e?-40:-55},"NativeBase.Button":{alignSelf:"center",".transparent":{backgroundColor:"transparent"},"NativeBase.Icon":{color:t.toolbarBtnColor},"NativeBase.IconNB":{color:t.toolbarBtnColor},"NativeBase.Text":{color:t.inverseTextColor,backgroundColor:"transparent"}}},"NativeBase.Right":{"NativeBase.Button":{".hasText":{height:30,"NativeBase.Icon":{color:t.toolbarBtnColor,fontSize:t.iconHeaderSize-2,marginTop:2,marginRight:2,marginLeft:5},"NativeBase.Text":{color:t.toolbarBtnTextColor,fontSize:"ios"===e?17:14,lineHeight:19.5},"NativeBase.IconNB":{color:t.toolbarBtnColor,fontSize:t.iconHeaderSize-2,marginTop:2,marginRight:2,marginLeft:5}},".transparent":{marginRight:"ios"===e?-9:-5,paddingLeft:15,paddingRight:12,paddingHorizontal:15,borderRadius:50,"NativeBase.Icon":{color:t.toolbarBtnColor,fontSize:t.iconHeaderSize-2,marginTop:0,marginLeft:2,marginRight:0},"NativeBase.IconNB":{color:t.toolbarBtnColor,fontSize:t.iconHeaderSize-2,marginTop:0,marginLeft:2,marginRight:0},"NativeBase.Text":{color:t.toolbarBtnTextColor,fontSize:"ios"===e?17:14,top:"ios"===e?1:-1.5,paddingRight:"ios"===e&&"material"!==t.platformStyle?0:void 0},backgroundColor:"transparent",borderColor:null,elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},"NativeBase.Icon":{color:t.toolbarBtnColor},"NativeBase.IconNB":{color:t.toolbarBtnColor},alignSelf:null,paddingHorizontal:t.buttonPadding},flex:1,alignSelf:"center",alignItems:"flex-end",flexDirection:"row",justifyContent:"flex-end"},backgroundColor:t.toolbarDefaultBg,flexDirection:"row",paddingLeft:"ios"===e&&"material"!==t.platformStyle?6:10,paddingRight:10,justifyContent:"center",paddingTop:"ios"===e?18:0,borderBottomWidth:"ios"===e?1/l.PixelRatio.getPixelSizeForLayoutSize(1):0,borderBottomColor:t.toolbarDefaultBorder,height:"ios"===t.platform&&"material"===t.platformStyle?t.toolbarHeight+l.StatusBar.height:t.toolbarHeight,elevation:3,shadowColor:"material"===o?"#000":void 0,shadowOffset:"material"===o?{width:0,height:2}:void 0,shadowOpacity:"material"===o?.2:void 0,shadowRadius:"material"===o?1.2:void 0,top:0,left:0,right:0}}},490,[1,479]); +__d(function(e,t,u,d,l){Object.defineProperty(d,"__esModule",{value:!0});var n,a=t(l[0]),r=(n=a)&&n.__esModule?n:{default:n};d.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.default;return{marginVertical:-5}}},491,[479]); +__d(function(e,d,r,i,a){Object.defineProperty(i,"__esModule",{value:!0});var u,t=d(a[0]),h=(u=t)&&u.__esModule?u:{default:u};i.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default;return{'.square':{borderRadius:0,'.small':{width:36,height:36,borderRadius:0},'.large':{width:80,height:80,borderRadius:0}},'.small':{width:36,height:36,borderRadius:18,'.square':{borderRadius:0}},'.large':{width:80,height:80,borderRadius:40,'.square':{borderRadius:0}},width:56,height:56,borderRadius:28}}},492,[479]); +__d(function(e,o,t,n,r){Object.defineProperty(n,"__esModule",{value:!0});var i,l=o(r[0]),a=o(r[1]),d=(i=a)&&i.__esModule?i:{default:i};var u=l.Dimensions.get("window").height;n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{flex:1,height:"ios"===l.Platform.OS?u:u-20,backgroundColor:e.containerBgColor}}},493,[1,479]); +__d(function(e,t,r,n,a){Object.defineProperty(n,"__esModule",{value:!0});var o,d=t(a[0]),u=(o=d)&&o.__esModule?o:{default:o};n.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.default;return{flex:1,backgroundColor:"transparent","NativeBase.Segment":{borderWidth:0,backgroundColor:"transparent"}}}},494,[479]); +__d(function(r,o,e,a,n){Object.defineProperty(a,"__esModule",{value:!0});var t,i=Object.assign||function(r){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:l.default,o=r.platformStyle,e=r.platform,a={"NativeBase.Text":{color:r.brandDark},"NativeBase.Icon":{color:r.brandDark},"NativeBase.IconNB":{color:r.brandDark}},n={"NativeBase.Text":{color:r.brandLight},"NativeBase.Icon":{color:r.brandLight},"NativeBase.IconNB":{color:r.brandLight}},t={"NativeBase.Text":{color:r.btnPrimaryBg},"NativeBase.Icon":{color:r.btnPrimaryBg},"NativeBase.IconNB":{color:r.btnPrimaryBg}},d={"NativeBase.Text":{color:r.btnSuccessBg},"NativeBase.Icon":{color:r.btnSuccessBg},"NativeBase.IconNB":{color:r.btnSuccessBg}},b={"NativeBase.Text":{color:r.btnInfoBg},"NativeBase.Icon":{color:r.btnInfoBg},"NativeBase.IconNB":{color:r.btnInfoBg}},g={"NativeBase.Text":{color:r.btnWarningBg},"NativeBase.Icon":{color:r.btnWarningBg},"NativeBase.IconNB":{color:r.btnWarningBg}},c={"NativeBase.Text":{color:r.btnDangerBg},"NativeBase.Icon":{color:r.btnDangerBg},"NativeBase.IconNB":{color:r.btnDangerBg}};return{".disabled":{".transparent":{backgroundColor:null,"NativeBase.Text":{color:r.btnDisabledBg},"NativeBase.Icon":{color:r.btnDisabledBg},"NativeBase.IconNB":{color:r.btnDisabledBg}},"NativeBase.Icon":{color:r.brandLight},"NativeBase.IconNB":{color:r.brandLight},backgroundColor:r.btnDisabledBg},".bordered":i({".dark":i({},a,{backgroundColor:"transparent",borderColor:r.brandDark,borderWidth:2*r.borderWidth}),".light":i({},n,{backgroundColor:"transparent",borderColor:r.brandLight,borderWidth:2*r.borderWidth}),".primary":i({},t,{backgroundColor:"transparent",borderColor:r.btnPrimaryBg,borderWidth:2*r.borderWidth}),".success":i({},d,{backgroundColor:"transparent",borderColor:r.btnSuccessBg,borderWidth:2*r.borderWidth}),".info":i({},b,{backgroundColor:"transparent",borderColor:r.btnInfoBg,borderWidth:2*r.borderWidth}),".warning":i({},g,{backgroundColor:"transparent",borderColor:r.btnWarningBg,borderWidth:2*r.borderWidth}),".danger":i({},c,{backgroundColor:"transparent",borderColor:r.btnDangerBg,borderWidth:2*r.borderWidth}),".disabled":{backgroundColor:null,borderColor:r.btnDisabledBg,borderWidth:2*r.borderWidth,"NativeBase.Text":{color:r.btnDisabledBg}}},t,{borderWidth:2*r.borderWidth,elevation:null,shadowColor:null,shadowOffset:null,shadowOpacity:null,shadowRadius:null,backgroundColor:"transparent"}),".dark":{".bordered":i({},a),backgroundColor:r.brandDark},".light":i({".transparent":i({},n,{backgroundColor:null}),".bordered":i({},n)},a,{backgroundColor:r.brandLight}),".primary":{".bordered":i({},t),backgroundColor:r.btnPrimaryBg},".success":{".bordered":i({},d),backgroundColor:r.btnSuccessBg},".info":{".bordered":i({},b),backgroundColor:r.btnInfoBg},".warning":{".bordered":i({},g),backgroundColor:r.btnWarningBg},".danger":{".bordered":i({},c),backgroundColor:r.btnDangerBg},".block":{justifyContent:"center",alignSelf:"stretch"},".full":{justifyContent:"center",alignSelf:"stretch",borderRadius:0},".rounded":{borderRadius:r.borderRadiusLarge},".transparent":i({backgroundColor:"transparent",elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},t,{".dark":i({},a,{backgroundColor:null}),".danger":i({},c,{backgroundColor:null}),".warning":i({},g,{backgroundColor:null}),".info":i({},b,{backgroundColor:null}),".primary":i({},t,{backgroundColor:null}),".success":i({},d,{backgroundColor:null}),".light":i({},n,{backgroundColor:null}),".disabled":{backgroundColor:"transparent",borderColor:r.btnDisabledBg,borderWidth:2*r.borderWidth,"NativeBase.Text":{color:r.btnDisabledBg},"NativeBase.Icon":{color:r.btnDisabledBg},"NativeBase.IconNB":{color:r.btnDisabledBg}}}),".small":{height:30,"NativeBase.Text":{fontSize:14},"NativeBase.Icon":{fontSize:20,paddingTop:0},"NativeBase.IconNB":{fontSize:20,paddingTop:0}},".large":{height:60,"NativeBase.Text":{fontSize:22}},".capitalize":{},".vertical":{flexDirection:"column",height:null},"NativeBase.Text":{fontFamily:r.btnFontFamily,marginLeft:0,marginRight:0,color:r.inverseTextColor,fontSize:r.btnTextSize,paddingHorizontal:16,backgroundColor:"transparent"},"NativeBase.Icon":{color:r.inverseTextColor,fontSize:24,marginHorizontal:16,paddingTop:"ios"===e?2:void 0},"NativeBase.IconNB":{color:r.inverseTextColor,fontSize:24,marginHorizontal:16,paddingTop:"ios"===e?2:void 0},".iconLeft":{"NativeBase.Text":{marginLeft:0},"NativeBase.IconNB":{marginRight:0,marginLeft:16},"NativeBase.Icon":{marginRight:0,marginLeft:16}},".iconRight":{"NativeBase.Text":{marginRight:0},"NativeBase.IconNB":{marginLeft:0,marginRight:16},"NativeBase.Icon":{marginLeft:0,marginRight:16}},".picker":{"NativeBase.Text":{".note":{fontSize:16,lineHeight:null}}},paddingVertical:r.buttonPadding,backgroundColor:r.btnPrimaryBg,borderRadius:r.borderRadiusBase,borderColor:r.btnPrimaryBg,borderWidth:null,height:45,alignSelf:"flex-start",flexDirection:"row",elevation:2,shadowColor:"material"===o?r.brandDark:void 0,shadowOffset:"material"===o?{width:0,height:2}:void 0,shadowOpacity:"material"===o?.2:void 0,shadowRadius:"material"===o?1.2:void 0,alignItems:"center",justifyContent:"space-between"}}},495,[479]); +__d(function(t,e,o,i,l){Object.defineProperty(i,"__esModule",{value:!0});var n,f=e(l[0]),a=e(l[1]),d=(n=a)&&n.__esModule?n:{default:n};i.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{fontSize:t.titleFontSize,fontFamily:t.titleFontfamily,color:t.titleFontColor,fontWeight:"ios"===f.Platform.OS?"700":void 0,textAlign:"center",paddingLeft:"ios"===f.Platform.OS?4:0,marginLeft:"ios"===f.Platform.OS?void 0:-3,paddingTop:1}}},496,[1,479]); +__d(function(t,e,o,i,l){Object.defineProperty(i,"__esModule",{value:!0});var n,f=e(l[0]),a=e(l[1]),r=(n=a)&&n.__esModule?n:{default:n};i.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.default;return{fontSize:t.subTitleFontSize,fontFamily:t.titleFontfamily,color:t.subtitleColor,textAlign:"center",paddingLeft:"ios"===f.Platform.OS?4:0,marginLeft:"ios"===f.Platform.OS?void 0:-3}}},497,[1,479]); +__d(function(r,o,e,d,t){Object.defineProperty(d,"__esModule",{value:!0});var i,n=o(t[0]),l=(i=n)&&i.__esModule?i:{default:i};d.default=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default;return{"NativeBase.Icon":{fontSize:24,color:r.sTabBarActiveTextColor,paddingHorizontal:5},"NativeBase.IconNB":{fontSize:24,color:r.sTabBarActiveTextColor,paddingHorizontal:5},"NativeBase.Input":{height:r.inputHeightBase,color:r.inputColor,paddingLeft:5,paddingRight:5,flex:1,fontSize:r.inputFontSize,lineHeight:r.inputLineHeight},".underline":{".success":{borderColor:r.inputSuccessBorderColor},".error":{borderColor:r.inputErrorBorderColor},paddingLeft:5,borderWidth:r.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:r.inputBorderColor},".regular":{".success":{borderColor:r.inputSuccessBorderColor},".error":{borderColor:r.inputErrorBorderColor},paddingLeft:5,borderWidth:r.borderWidth,borderColor:r.inputBorderColor},".rounded":{".success":{borderColor:r.inputSuccessBorderColor},".error":{borderColor:r.inputErrorBorderColor},paddingLeft:5,borderWidth:r.borderWidth,borderRadius:r.inputGroupRoundedBorderRadius,borderColor:r.inputBorderColor},".success":{"NativeBase.Icon":{color:r.inputSuccessBorderColor},"NativeBase.IconNB":{color:r.inputSuccessBorderColor},".rounded":{borderRadius:30,borderColor:r.inputSuccessBorderColor},".regular":{borderColor:r.inputSuccessBorderColor},".underline":{borderWidth:r.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:r.inputSuccessBorderColor},borderColor:r.inputSuccessBorderColor},".error":{"NativeBase.Icon":{color:r.inputErrorBorderColor},"NativeBase.IconNB":{color:r.inputErrorBorderColor},".rounded":{borderRadius:30,borderColor:r.inputErrorBorderColor},".regular":{borderColor:r.inputErrorBorderColor},".underline":{borderWidth:r.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:r.inputErrorBorderColor},borderColor:r.inputErrorBorderColor},".disabled":{"NativeBase.Icon":{color:"#384850"},"NativeBase.IconNB":{color:"#384850"}},paddingLeft:5,borderWidth:r.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:r.inputBorderColor,backgroundColor:"transparent",flexDirection:"row",alignItems:"center"}}},498,[479]); +__d(function(n,e,o,r,a){Object.defineProperty(r,"__esModule",{value:!0});var t,d=e(a[0]),g=(t=d)&&t.__esModule?t:{default:t};r.default=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default;return{".primary":{backgroundColor:n.btnPrimaryBg},".warning":{backgroundColor:n.btnWarningBg},".info":{backgroundColor:n.btnInfoBg},".success":{backgroundColor:n.btnSuccessBg},".danger":{backgroundColor:n.btnDangerBg},"NativeBase.Text":{color:n.badgeColor,fontSize:n.fontSizeBase,lineHeight:n.lineHeight-1,textAlign:"center",paddingHorizontal:3},backgroundColor:n.badgeBg,padding:n.badgePadding,paddingHorizontal:6,alignSelf:"flex-start",justifyContent:"ios"===n.platform?"center":void 0,borderRadius:13.5,height:27}}},499,[479]); +__d(function(e,o,c,i,n){Object.defineProperty(i,"__esModule",{value:!0});var t,a=o(n[0]),d=(t=a)&&t.__esModule?t:{default:t};i.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{".checked":{"NativeBase.Icon":{color:e.checkboxTickColor},"NativeBase.IconNB":{color:e.checkboxTickColor}},"NativeBase.Icon":{color:"transparent",lineHeight:e.CheckboxIconSize,marginTop:e.CheckboxIconMarginTop,fontSize:e.CheckboxFontSize},"NativeBase.IconNB":{color:"transparent",lineHeight:e.CheckboxIconSize,marginTop:e.CheckboxIconMarginTop,fontSize:e.CheckboxFontSize},borderRadius:e.CheckboxRadius,overflow:"hidden",width:e.checkboxSize,height:e.checkboxSize,borderWidth:e.CheckboxBorderWidth,paddingLeft:e.CheckboxPaddingLeft-1,paddingBottom:e.CheckboxPaddingBottom,left:10}}},500,[479]); +__d(function(o,a,r,d,l){Object.defineProperty(d,"__esModule",{value:!0});var e,n=a(l[0]),t=(e=n)&&e.__esModule?e:{default:e};d.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.default;return{".transparent":{shadowColor:null,shadowOffset:null,shadowOpacity:null,shadowRadius:null,elevation:null,backgroundColor:"transparent",borderWidth:0},".noShadow":{shadowColor:null,shadowOffset:null,shadowOpacity:null,elevation:null},marginVertical:5,marginHorizontal:2,borderWidth:o.borderWidth,borderRadius:o.cardBorderRadius,borderColor:o.cardBorderColor,flexWrap:"nowrap",backgroundColor:o.cardDefaultBg,shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.1,shadowRadius:1.5,elevation:3}}},501,[479]); +__d(function(o,e,i,t,r){Object.defineProperty(t,"__esModule",{value:!0});var a,d=e(r[0]),l=e(r[1]),n=(a=l)&&a.__esModule?a:{default:a};t.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.default;return{".selected":{"NativeBase.IconNB":{color:"ios"===d.Platform.OS?o.radioColor:o.radioSelectedColorAndroid,lineHeight:"ios"===d.Platform.OS?25:o.radioBtnLineHeight,height:"ios"===d.Platform.OS?20:void 0}},"NativeBase.IconNB":{color:"ios"===d.Platform.OS?"transparent":void 0,lineHeight:"ios"===d.Platform.OS?void 0:o.radioBtnLineHeight,fontSize:"ios"===d.Platform.OS?void 0:o.radioBtnSize}}}},502,[1,479]); +__d(function(e,t,o,l,n){Object.defineProperty(l,"__esModule",{value:!0});var i,u=t(n[0]),d=(i=u)&&i.__esModule?i:{default:i};l.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{color:e.textColor,fontSize:e.fontSizeH3,lineHeight:e.lineHeightH3}}},503,[479]); +__d(function(e,t,o,l,n){Object.defineProperty(l,"__esModule",{value:!0});var i,u=t(n[0]),d=(i=u)&&i.__esModule?i:{default:i};l.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{color:e.textColor,fontSize:e.fontSizeH2,lineHeight:e.lineHeightH2}}},504,[479]); +__d(function(e,t,o,l,n){Object.defineProperty(l,"__esModule",{value:!0});var i,u=t(n[0]),d=(i=u)&&i.__esModule?i:{default:i};l.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default;return{color:e.textColor,fontSize:e.fontSizeH1,lineHeight:e.lineHeightH1}}},505,[479]); +__d(function(e,t,o,l,a){Object.defineProperty(l,"__esModule",{value:!0});var r,n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:d.default,t=e.platformStyle,o=e.platform,l={"NativeBase.Icon":{color:e.tabBarActiveTextColor}},a={"NativeBase.IconNB":{color:e.tabBarActiveTextColor}},r={"NativeBase.Text":{color:e.tabBarActiveTextColor}};return{"NativeBase.Left":{"NativeBase.Button":n({".transparent":n({backgroundColor:"transparent",borderColor:null,elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},l,a,r),alignSelf:null},l,a),flex:1,alignSelf:"center",alignItems:"flex-start"},"NativeBase.Body":{flex:1,alignItems:"center",alignSelf:"center",flexDirection:"row","NativeBase.Button":n({alignSelf:"center",".transparent":n({backgroundColor:"transparent",borderColor:null,elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},l,a,r),".full":{height:e.footerHeight,paddingBottom:e.footerPaddingBottom,flex:1}},l,a)},"NativeBase.Right":{"NativeBase.Button":n({".transparent":n({backgroundColor:"transparent",borderColor:null,elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null},l,a,r),alignSelf:null},l,a),flex:1,alignSelf:"center",alignItems:"flex-end"},backgroundColor:e.footerDefaultBg,flexDirection:"row",justifyContent:"center",borderTopWidth:"ios"===o&&"material"!==t?e.borderWidth:void 0,borderColor:"ios"===o&&"material"!==t?"#cbcbcb":void 0,height:e.footerHeight,paddingBottom:e.footerPaddingBottom,elevation:3,left:0,right:0}}},506,[479]); +__d(function(e,t,o,a,l){Object.defineProperty(a,"__esModule",{value:!0});var i,r=t(l[0]),n=t(l[1]),c=(i=n)&&i.__esModule?i:{default:i};a.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default,t=e.platform;return{"NativeBase.Button":{".active":{"NativeBase.Text":{color:e.tabBarActiveTextColor,fontSize:e.tabBarTextSize,lineHeight:16},"NativeBase.Icon":{color:e.tabBarActiveTextColor},"NativeBase.IconNB":{color:e.tabBarActiveTextColor},backgroundColor:e.tabActiveBgColor},flexDirection:null,backgroundColor:"transparent",borderColor:null,elevation:0,shadowColor:null,shadowOffset:null,shadowRadius:null,shadowOpacity:null,alignSelf:"center",flex:1,height:e.footerHeight,justifyContent:"center",".badge":{"NativeBase.Badge":{"NativeBase.Text":{fontSize:11,fontWeight:"ios"===t?"600":void 0,lineHeight:14},top:-3,alignSelf:"center",left:10,zIndex:99,height:18,padding:1.7,paddingHorizontal:3},"NativeBase.Icon":{marginTop:-18}},"NativeBase.Icon":{color:e.tabBarTextColor},"NativeBase.IconNB":{color:e.tabBarTextColor},"NativeBase.Text":{color:e.tabBarTextColor,fontSize:e.tabBarTextSize,lineHeight:16}},backgroundColor:"android"===r.Platform.OS?e.footerDefaultBg:void 0,flexDirection:"row",justifyContent:"space-between",flex:1,alignSelf:"stretch"}}},507,[1,479]); +__d(function(e,t,n,a,i){Object.defineProperty(a,"__esModule",{value:!0});var l,f=t(i[0]),r=(l=f)&&l.__esModule?l:{default:l};a.default=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.default).platform;return{"NativeBase.Button":{alignItems:"center",padding:null,justifyContent:"center","NativeBase.Icon":{alignSelf:"center",fontSize:20,marginLeft:0,marginRight:0},"NativeBase.IconNB":{alignSelf:"center",fontSize:20,marginLeft:0,marginRight:0}}}}},508,[479]); +__d(function(o,r,e,i,t){Object.defineProperty(i,"__esModule",{value:!0});var d,n=r(t[0]),l=r(t[1]),a=(d=l)&&d.__esModule?d:{default:d};i.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;return{".floatingLabel":{"NativeBase.Input":{height:50,top:8,paddingTop:3,paddingBottom:7,".multiline":{minHeight:o.inputHeightBase,paddingTop:"ios"===n.Platform.OS?10:3,paddingBottom:"ios"===n.Platform.OS?14:10}},"NativeBase.Label":{paddingTop:5},"NativeBase.Icon":{top:6,paddingTop:8},"NativeBase.IconNB":{top:6,paddingTop:8}},".fixedLabel":{"NativeBase.Label":{position:null,top:null,left:null,right:null,flex:1,height:null,width:null,fontSize:o.inputFontSize},"NativeBase.Input":{flex:2,fontSize:o.inputFontSize}},".stackedLabel":{"NativeBase.Label":{position:null,top:null,left:null,right:null,paddingTop:5,alignSelf:"flex-start",fontSize:o.inputFontSize-2},"NativeBase.Icon":{marginTop:36},"NativeBase.Input":{alignSelf:"ios"===n.Platform.OS?"stretch":"flex-start",flex:1,width:"ios"===n.Platform.OS?null:o.deviceWidth-25,fontSize:o.inputFontSize,lineHeight:o.inputLineHeight-6,".secureTextEntry":{fontSize:o.inputFontSize-4},".multiline":{paddingTop:"ios"===n.Platform.OS?9:void 0,paddingBottom:"ios"===n.Platform.OS?9:void 0}},flexDirection:null,minHeight:o.inputHeightBase+15},".inlineLabel":{"NativeBase.Label":{position:null,top:null,left:null,right:null,paddingRight:20,height:null,width:null,fontSize:o.inputFontSize},"NativeBase.Input":{paddingLeft:5,fontSize:o.inputFontSize},flexDirection:"row"},"NativeBase.Label":{fontSize:o.inputFontSize,color:o.inputColorPlaceholder,paddingRight:5},"NativeBase.Icon":{fontSize:24,paddingRight:8},"NativeBase.IconNB":{fontSize:24,paddingRight:8},"NativeBase.Input":{".multiline":{height:null},height:o.inputHeightBase,color:o.inputColor,flex:1,top:"ios"===n.Platform.OS?1.5:void 0,fontSize:o.inputFontSize},".underline":{"NativeBase.Input":{paddingLeft:15},".success":{borderColor:o.inputSuccessBorderColor},".error":{borderColor:o.inputErrorBorderColor},borderWidth:2*o.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:o.inputBorderColor},".regular":{"NativeBase.Input":{paddingLeft:8},"NativeBase.Icon":{paddingLeft:10},".success":{borderColor:o.inputSuccessBorderColor},".error":{borderColor:o.inputErrorBorderColor},borderWidth:2*o.borderWidth,borderColor:o.inputBorderColor},".rounded":{"NativeBase.Input":{paddingLeft:8},"NativeBase.Icon":{paddingLeft:10},".success":{borderColor:o.inputSuccessBorderColor},".error":{borderColor:o.inputErrorBorderColor},borderWidth:2*o.borderWidth,borderRadius:30,borderColor:o.inputBorderColor},".success":{"NativeBase.Icon":{color:o.inputSuccessBorderColor},"NativeBase.IconNB":{color:o.inputSuccessBorderColor},".rounded":{borderRadius:30,borderColor:o.inputSuccessBorderColor},".regular":{borderColor:o.inputSuccessBorderColor},".underline":{borderWidth:2*o.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:o.inputSuccessBorderColor},borderColor:o.inputSuccessBorderColor},".error":{"NativeBase.Icon":{color:o.inputErrorBorderColor},"NativeBase.IconNB":{color:o.inputErrorBorderColor},".rounded":{borderRadius:30,borderColor:o.inputErrorBorderColor},".regular":{borderColor:o.inputErrorBorderColor},".underline":{borderWidth:2*o.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:o.inputErrorBorderColor},borderColor:o.inputErrorBorderColor},".disabled":{"NativeBase.Icon":{color:"#384850"},"NativeBase.IconNB":{color:"#384850"}},".picker":{marginLeft:0},borderWidth:2*o.borderWidth,borderTopWidth:0,borderRightWidth:0,borderLeftWidth:0,borderColor:o.inputBorderColor,backgroundColor:"transparent",flexDirection:"row",alignItems:"center",marginLeft:2}}},509,[1,479]); +__d(function(e,t,d,u,f){Object.defineProperty(u,"__esModule",{value:!0});var n,o=t(f[0]),l=(n=o)&&n.__esModule?n:{default:n};u.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default;return{".focused":{width:0},fontSize:17}}},510,[479]); +__d(function(o,r,e,d,t){Object.defineProperty(d,"__esModule",{value:!0});var i,n=r(t[0]),l=(i=n)&&i.__esModule?i:{default:i};d.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default;return{".underline":{borderBottomWidth:o.borderWidth,marginTop:5,borderColor:o.inputBorderColor},".bordered":{borderWidth:1,marginTop:5,borderColor:o.inputBorderColor},color:o.textColor,paddingLeft:10,paddingRight:5,fontSize:15,textAlignVertical:"top"}}},511,[479]); +__d(function(e,o,t,n,l){Object.defineProperty(n,"__esModule",{value:!0});var a,f=o(l[0]),i=(a=f)&&a.__esModule?a:{default:a};n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.default;return{fontSize:e.DefaultFontSize,fontFamily:e.fontFamily,color:e.textColor,".note":{color:"#a7a7a7",fontSize:e.noteFontSize}}}},512,[479]); +__d(function(e,n,a,r,o){Object.defineProperty(r,"__esModule",{value:!0});var t,d=n(o[0]),i=(t=d)&&t.__esModule?t:{default:t};r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.default,n=e.platform;return{".danger":{backgroundColor:e.brandDanger},".warning":{backgroundColor:e.brandWarning},".success":{backgroundColor:e.brandSuccess},backgroundColor:"rgba(0,0,0,0.8)",borderRadius:"ios"===n?5:0,flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:10,minHeight:50,"NativeBase.Text":{color:"#fff",flex:1},"NativeBase.Button":{backgroundColor:"transparent",height:30,elevation:0,"NativeBase.Text":{fontSize:14}}}}},513,[479]); +__d(function(e,u,d,l,o){Object.defineProperty(l,"__esModule",{value:!0});var t,n=u(o[0]),f=(t=n)&&t.__esModule?t:{default:t};l.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default;return{flex:1,backgroundColor:"#FFF"}}},514,[479]); +__d(function(t,e,o,r,a){Object.defineProperty(r,"__esModule",{value:!0});var i,n=e(a[0]),l=(i=n)&&i.__esModule?i:{default:i};r.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default;return{".tabIcon":{height:void 0},".vertical":{height:60},"NativeBase.Button":{".transparent":{"NativeBase.Text":{fontSize:t.tabFontSize,color:t.sTabBarActiveTextColor,fontWeight:"400"},"NativeBase.IconNB":{color:t.sTabBarActiveTextColor}},"NativeBase.IconNB":{color:t.sTabBarActiveTextColor},"NativeBase.Text":{fontSize:t.tabFontSize,color:t.sTabBarActiveTextColor,fontWeight:"400"},".isTabActive":{"NativeBase.Text":{fontWeight:"900"}},flex:1,alignSelf:"stretch",alignItems:"center",justifyContent:"center",borderRadius:null,borderBottomColor:"transparent",backgroundColor:t.tabBgColor},height:45,flexDirection:"row",justifyContent:"space-around",borderWidth:1,borderTopWidth:0,borderLeftWidth:0,borderRightWidth:0,borderBottomColor:"#ccc",backgroundColor:t.tabBgColor}}},515,[479]); +__d(function(o,e,t,a,r){Object.defineProperty(a,"__esModule",{value:!0});var d,i=e(r[0]),l=(d=i)&&d.__esModule?d:{default:d},f=e(r[1]);a.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default,e=o.platformStyle;o.platform;return{elevation:3,height:50,flexDirection:"row",shadowColor:"material"===e?"#000":void 0,shadowOffset:"material"===e?{width:0,height:2}:void 0,shadowOpacity:"material"===e?.2:void 0,shadowRadius:"material"===e?1.2:void 0,justifyContent:"space-around",borderBottomWidth:"ios"===f.Platform.OS?o.borderWidth:0,borderColor:o.topTabBarBorderColor}}},516,[479,1]); +__d(function(e,d,n,t,u){Object.defineProperty(t,"__esModule",{value:!0});var a,l=d(u[0]),o=(a=l)&&a.__esModule?a:{default:a};t.default=function(){return{".padder":{padding:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.default).contentPadding}}}},517,[479]); +__d(function(o,e,t,a,r){Object.defineProperty(a,"__esModule",{value:!0});var i,l=e(r[0]),n=(i=l)&&i.__esModule?i:{default:i};a.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.default,e=o.platform;return{flexDirection:"row",backgroundColor:o.tabDefaultBg,flex:1,alignItems:"center",justifyContent:"center",".scrollable":{paddingHorizontal:20,flex:"android"===e?0:1,minWidth:"android"===e?void 0:60},"NativeBase.Text":{color:o.topTabBarTextColor,marginHorizontal:7},"NativeBase.Icon":{color:o.topTabBarTextColor,fontSize:"ios"===e?26:void 0},".active":{"NativeBase.Text":{color:o.topTabBarActiveTextColor,fontWeight:"600"},"NativeBase.Icon":{color:o.topTabBarActiveTextColor}}}}},518,[479]); +__d(function(e,o,t,n,u){Object.defineProperty(n,"__esModule",{value:!0});var d,l=o(u[0]),f=(d=l)&&d.__esModule?d:{default:d};n.default=function(){return{fontSize:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default).iconFontSize,color:"#000"}}},519,[479]); +__d(function(e,t,i,n,l){Object.defineProperty(n,"__esModule",{value:!0});var u,d=t(l[0]),o=(u=d)&&u.__esModule?u:{default:u};n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.default;return{'.multiline':{height:null},height:e.inputHeightBase,color:e.inputColor,paddingLeft:5,paddingRight:5,flex:1,fontSize:e.inputFontSize}}},520,[479]); +__d(function(e,t,l,n,a){Object.defineProperty(n,"__esModule",{value:!0});var i,s=t(a[0]),u=(i=s)&&i.__esModule?i:{default:i};n.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.default;return{"NativeBase.ListItem":{".list":{backgroundColor:"#FFF"},marginLeft:0},"NativeBase.Left":{flex:0,alignSelf:null,alignItems:null,"NativeBase.Button":{flex:1,alignItems:"center",justifyContent:"center",alignSelf:"stretch",borderRadius:0}},"NativeBase.Right":{flex:0,alignSelf:null,alignItems:null,"NativeBase.Button":{flex:1,alignItems:"center",justifyContent:"center",alignSelf:"stretch",borderRadius:0}},"NativeBase.Button":{flex:1,height:null,alignItems:"center",justifyContent:"center",alignSelf:"stretch",borderRadius:0}}}},521,[479]); +__d(function(o,e,t,r,i){Object.defineProperty(r,"__esModule",{value:!0});var d,n=e(i[0]),a=(d=n)&&d.__esModule?d:{default:d};r.default=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default,e=o.platform;return{height:45,borderColor:o.segmentBorderColorMain,flexDirection:"row",justifyContent:"center",backgroundColor:o.segmentBackgroundColor,"NativeBase.Button":{alignSelf:"center",borderRadius:0,paddingTop:3,paddingBottom:3,height:30,backgroundColor:"transparent",borderWidth:1,borderLeftWidth:0,borderColor:o.segmentBorderColor,elevation:0,".active":{backgroundColor:o.segmentActiveBackgroundColor,"NativeBase.Text":{color:o.segmentActiveTextColor},"NativeBase.Icon":{color:o.segmentActiveTextColor}},".first":{borderTopLeftRadius:"ios"===e?5:void 0,borderBottomLeftRadius:"ios"===e?5:void 0,borderLeftWidth:1},".last":{borderTopRightRadius:"ios"===e?5:void 0,borderBottomRightRadius:"ios"===e?5:void 0},"NativeBase.Text":{color:o.segmentTextColor,fontSize:14},"NativeBase.Icon":{fontSize:22,paddingTop:0,color:o.segmentTextColor}}}}},522,[479]); +__d(function(e,t,u,d,l){Object.defineProperty(d,"__esModule",{value:!0});var n,f=t(l[0]),o=(n=f)&&n.__esModule?n:{default:n};d.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.default;return{height:80}}},523,[479]); +__d(function(e,t,o,i,a){Object.defineProperty(i,"__esModule",{value:!0});var n,r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:s.default,t=e.platform,o={"NativeBase.Text":{fontSize:e.DefaultFontSize-3,color:e.sTabBarActiveTextColor},"NativeBase.Icon":{fontSize:e.iconFontSize-10,color:e.sTabBarActiveTextColor,marginHorizontal:null},"NativeBase.IconNB":{fontSize:e.iconFontSize-10,color:e.sTabBarActiveTextColor},paddingVertical:null,paddingHorizontal:null};return{"NativeBase.Left":{"NativeBase.Body":{"NativeBase.Text":{".note":{color:e.listNoteColor,fontWeight:"400",marginRight:20}},flex:1,marginLeft:10,alignItems:null},"NativeBase.Icon":{fontSize:e.iconFontSize},"NativeBase.IconNB":{fontSize:e.iconFontSize},"NativeBase.Text":{marginLeft:10,alignSelf:"center"},"NativeBase.Button":{".transparent":r({},o,{paddingRight:e.cardItemPadding+5})},flex:1,flexDirection:"row",alignItems:"center"},".content":{"NativeBase.Text":{color:"ios"===t?"#555":"#222",fontSize:e.DefaultFontSize-2}},".cardBody":{padding:-5,"NativeBase.Text":{marginTop:5}},"NativeBase.Body":{"NativeBase.Text":{".note":{color:e.listNoteColor,fontWeight:"200",marginRight:20}},"NativeBase.Button":{".transparent":r({},o,{paddingRight:e.cardItemPadding+5,alignSelf:"stretch"})},flex:1,alignSelf:"stretch",alignItems:"flex-start"},"NativeBase.Right":{"NativeBase.Badge":{alignSelf:null},"NativeBase.Button":{".transparent":r({},o),alignSelf:null},"NativeBase.Icon":{alignSelf:null,fontSize:e.iconFontSize-8,color:e.cardBorderColor},"NativeBase.IconNB":{alignSelf:null,fontSize:e.iconFontSize-8,color:e.cardBorderColor},"NativeBase.Text":{fontSize:e.DefaultFontSize-1,alignSelf:null},"NativeBase.Thumbnail":{alignSelf:null},"NativeBase.Image":{alignSelf:null},"NativeBase.Radio":{alignSelf:null},"NativeBase.Checkbox":{alignSelf:null},"NativeBase.Switch":{alignSelf:null},flex:.8},".header":{"NativeBase.Text":{fontSize:16,fontWeight:"ios"===t?"600":"500"},".bordered":{"NativeBase.Text":{color:e.brandPrimary,fontWeight:"ios"===t?"600":"500"},borderBottomWidth:e.borderWidth},borderBottomWidth:null,paddingVertical:e.cardItemPadding+5},".footer":{"NativeBase.Text":{fontSize:16,fontWeight:"ios"===t?"600":"500"},".bordered":{"NativeBase.Text":{color:e.brandPrimary,fontWeight:"ios"===t?"600":"500"},borderTopWidth:e.borderWidth},borderBottomWidth:null},"NativeBase.Text":{".note":{color:e.listNoteColor,fontWeight:"200"}},"NativeBase.Icon":{width:e.iconFontSize+5,fontSize:e.iconFontSize-2},"NativeBase.IconNB":{width:e.iconFontSize+5,fontSize:e.iconFontSize-2},".bordered":{borderBottomWidth:l.StyleSheet.hairlineWidth,borderColor:e.cardBorderColor},".first":{borderTopLeftRadius:e.cardBorderRadius,borderTopRightRadius:e.cardBorderRadius},".last":{borderBottomLeftRadius:e.cardBorderRadius,borderBottomRightRadius:e.cardBorderRadius},flexDirection:"row",alignItems:"center",borderRadius:2,padding:e.cardItemPadding+5,paddingVertical:e.cardItemPadding,backgroundColor:e.cardDefaultBg}}},524,[1,479]); +__d(function(e,t,i,o,n){Object.defineProperty(o,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:d.default,t=e.platform,i={"NativeBase.Text":{color:e.listItemSelected},"NativeBase.Icon":{color:e.listItemSelected}};return{"NativeBase.InputGroup":{"NativeBase.Icon":{paddingRight:5},"NativeBase.IconNB":{paddingRight:5},"NativeBase.Input":{paddingHorizontal:5},flex:1,borderWidth:null,margin:-10,borderBottomColor:"transparent"},".searchBar":{"NativeBase.Item":{"NativeBase.Icon":{backgroundColor:"transparent",color:e.dropdownLinkColor,fontSize:"ios"===t?e.iconFontSize-10:e.iconFontSize-5,alignItems:"center",marginTop:2,paddingRight:8},"NativeBase.IconNB":{backgroundColor:"transparent",color:null,alignSelf:"center"},"NativeBase.Input":{alignSelf:"center"},alignSelf:"center",alignItems:"center",justifyContent:"flex-start",flex:1,height:"ios"===t?30:40,borderColor:"transparent",backgroundColor:"#fff",borderRadius:5},"NativeBase.Button":{".transparent":{"NativeBase.Text":{fontWeight:"500"},paddingHorizontal:null,paddingLeft:"ios"===t?10:null},paddingHorizontal:"ios"===t?void 0:null,width:"ios"===t?void 0:0,height:"ios"===t?void 0:0},backgroundColor:e.toolbarInputColor,padding:10,marginLeft:null},"NativeBase.CheckBox":{marginLeft:-10,marginRight:10},".first":{".itemHeader":{paddingTop:e.listItemPadding+3}},".itemHeader":{".first":{paddingTop:e.listItemPadding+3},borderBottomWidth:"ios"===t?e.borderWidth:null,marginLeft:null,padding:e.listItemPadding,paddingLeft:e.listItemPadding+5,paddingTop:"ios"===t?e.listItemPadding+25:void 0,paddingBottom:"android"===t?e.listItemPadding+20:void 0,flexDirection:"row",borderColor:e.listBorderColor,"NativeBase.Text":{fontSize:14,color:"ios"===t?void 0:e.listNoteColor}},".itemDivider":{borderBottomWidth:null,marginLeft:null,padding:e.listItemPadding,paddingLeft:e.listItemPadding+5,backgroundColor:e.listDividerBg,flexDirection:"row",borderColor:e.listBorderColor},".selected":a({"NativeBase.Left":a({},i),"NativeBase.Body":a({},i),"NativeBase.Right":a({},i)},i),"NativeBase.Left":{"NativeBase.Body":{"NativeBase.Text":{".note":{color:e.listNoteColor,fontWeight:"200"},fontWeight:"600"},marginLeft:10,alignItems:null,alignSelf:null},"NativeBase.Icon":{width:e.iconFontSize-10,fontSize:e.iconFontSize-10},"NativeBase.IconNB":{width:e.iconFontSize-10,fontSize:e.iconFontSize-10},"NativeBase.Text":{alignSelf:"center"},flexDirection:"row"},"NativeBase.Body":{"NativeBase.Text":{marginHorizontal:e.listItemPadding,".note":{color:e.listNoteColor,fontWeight:"200"}},alignSelf:null,alignItems:null},"NativeBase.Right":{"NativeBase.Badge":{alignSelf:null},"NativeBase.PickerNB":{"NativeBase.Button":{marginRight:-15,"NativeBase.Text":{color:e.topTabBarActiveTextColor}}},"NativeBase.Button":{alignSelf:null,".transparent":{"NativeBase.Text":{color:e.topTabBarActiveTextColor}}},"NativeBase.Icon":{alignSelf:null,fontSize:e.iconFontSize-8,color:"#c9c8cd"},"NativeBase.IconNB":{alignSelf:null,fontSize:e.iconFontSize-8,color:"#c9c8cd"},"NativeBase.Text":{".note":{color:e.listNoteColor,fontWeight:"200"},alignSelf:null},"NativeBase.Thumbnail":{alignSelf:null},"NativeBase.Image":{alignSelf:null},"NativeBase.Radio":{alignSelf:null},"NativeBase.Checkbox":{alignSelf:null},"NativeBase.Switch":{alignSelf:null},padding:null,flex:.28},"NativeBase.Text":{".note":{color:e.listNoteColor,fontWeight:"200"},alignSelf:"center"},".last":{marginLeft:-(e.listItemPadding+5),paddingLeft:2*(e.listItemPadding+5),top:1},".avatar":{"NativeBase.Left":{flex:0,alignSelf:'flex-start',paddingTop:14},"NativeBase.Body":{"NativeBase.Text":{marginLeft:null},flex:1,paddingVertical:e.listItemPadding,borderBottomWidth:e.borderWidth,borderColor:e.listBorderColor,marginLeft:e.listItemPadding+5},"NativeBase.Right":{"NativeBase.Text":{".note":{fontSize:e.noteFontSize-2}},flex:0,paddingRight:e.listItemPadding+5,alignSelf:"stretch",paddingVertical:e.listItemPadding,borderBottomWidth:e.borderWidth,borderColor:e.listBorderColor},".noBorder":{"NativeBase.Body":{borderBottomWidth:null},"NativeBase.Right":{borderBottomWidth:null}},borderBottomWidth:null,paddingVertical:null,paddingRight:null},".thumbnail":{"NativeBase.Left":{flex:0},"NativeBase.Body":{"NativeBase.Text":{marginLeft:null},flex:1,paddingVertical:e.listItemPadding+5,borderBottomWidth:e.borderWidth,borderColor:e.listBorderColor,marginLeft:e.listItemPadding+5},"NativeBase.Right":{"NativeBase.Button":{".transparent":{"NativeBase.Text":{fontSize:e.listNoteSize,color:e.sTabBarActiveTextColor}},height:null},flex:0,justifyContent:"center",alignSelf:"stretch",paddingRight:e.listItemPadding+5,paddingVertical:e.listItemPadding+5,borderBottomWidth:e.borderWidth,borderColor:e.listBorderColor},".noBorder":{"NativeBase.Body":{borderBottomWidth:null},"NativeBase.Right":{borderBottomWidth:null}},borderBottomWidth:null,paddingVertical:null,paddingRight:null},".icon":{".last":{"NativeBase.Body":{borderBottomWidth:null},"NativeBase.Right":{borderBottomWidth:null},borderBottomWidth:e.borderWidth,borderColor:e.listBorderColor},"NativeBase.Left":{"NativeBase.Button":{"NativeBase.IconNB":{marginHorizontal:null,fontSize:e.iconFontSize-5},"NativeBase.Icon":{marginHorizontal:null,fontSize:e.iconFontSize-8},alignSelf:"center",height:29,width:29,borderRadius:6,paddingVertical:null,paddingHorizontal:null,alignItems:"center",justifyContent:"center"},"NativeBase.Icon":{width:e.iconFontSize-5,fontSize:e.iconFontSize-2},"NativeBase.IconNB":{width:e.iconFontSize-5,fontSize:e.iconFontSize-2},paddingRight:e.listItemPadding+5,flex:0,height:44,justifyContent:"center",alignItems:"center"},"NativeBase.Body":{"NativeBase.Text":{marginLeft:null,fontSize:17},flex:1,height:44,justifyContent:"center",borderBottomWidth:1/l.PixelRatio.getPixelSizeForLayoutSize(1),borderColor:e.listBorderColor},"NativeBase.Right":{"NativeBase.Text":{textAlign:"center",color:"#8F8E95",fontSize:17},"NativeBase.IconNB":{color:"#C8C7CC",fontSize:e.iconFontSize-10,alignSelf:"center",paddingLeft:10,paddingTop:3},"NativeBase.Icon":{color:"#C8C7CC",fontSize:e.iconFontSize-10,alignSelf:"center",paddingLeft:10,paddingTop:3},"NativeBase.Switch":{marginRight:"ios"===l.Platform.OS?void 0:-5,alignSelf:null},"NativeBase.PickerNB":a({},(0,r.default)()),flexDirection:"row",alignItems:"center",flex:0,alignSelf:"stretch",height:44,justifyContent:"flex-end",borderBottomWidth:1/l.PixelRatio.getPixelSizeForLayoutSize(1),borderColor:e.listBorderColor,paddingRight:e.listItemPadding+5},".noBorder":{"NativeBase.Body":{borderBottomWidth:null},"NativeBase.Right":{borderBottomWidth:null}},borderBottomWidth:null,paddingVertical:null,paddingRight:null,height:44,justifyContent:"center"},".noBorder":{borderBottomWidth:null},".noIndent":{marginLeft:null,padding:e.listItemPadding,paddingLeft:e.listItemPadding+6},alignItems:"center",flexDirection:"row",paddingRight:e.listItemPadding+6,paddingVertical:e.listItemPadding+3,marginLeft:e.listItemPadding+6,borderBottomWidth:1/l.PixelRatio.getPixelSizeForLayoutSize(1),backgroundColor:e.listBg,borderColor:e.listBorderColor}}},525,[1,526,479]); +__d(function(e,t,u,d,l){Object.defineProperty(d,"__esModule",{value:!0});var n,f=t(l[0]),o=(n=f)&&n.__esModule?n:{default:n};d.default=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.default;return{}}},526,[479]); +__d(function(e,a,t,i,l){Object.defineProperty(i,"__esModule",{value:!0});var n,f=a(l[0]),L=(n=f)&&n.__esModule?n:{default:n};i.default=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:L.default).platform;return{"NativeBase.Item":{".fixedLabel":{"NativeBase.Label":{paddingLeft:null},marginLeft:15},".inlineLabel":{"NativeBase.Label":{paddingLeft:null},marginLeft:15},".placeholderLabel":{"NativeBase.Input":{}},".stackedLabel":{"NativeBase.Label":{top:5,paddingLeft:null},"NativeBase.Input":{paddingLeft:null,marginLeft:null},"NativeBase.Icon":{marginTop:36},marginLeft:15},".floatingLabel":{"NativeBase.Input":{paddingLeft:null,top:10,marginLeft:null},"NativeBase.Label":{left:0,top:6},"NativeBase.Icon":{top:6},marginTop:15,marginLeft:15},".regular":{"NativeBase.Label":{left:0},marginLeft:0},".rounded":{"NativeBase.Label":{left:0},marginLeft:0},".underline":{"NativeBase.Label":{left:0,top:0,position:"relative"},"NativeBase.Input":{left:-15},marginLeft:15},".last":{marginLeft:0,paddingLeft:15},"NativeBase.Label":{paddingRight:5},marginLeft:15}}}},527,[479]); +__d(function(d,t,o,e,r){Object.defineProperty(e,"__esModule",{value:!0});var i,n=t(r[0]),a=(i=n)&&i.__esModule?i:{default:i};e.default=function(){var d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;return{'.group':{height:50,paddingVertical:d.listItemPadding-8,paddingTop:d.listItemPadding+12,'.bordered':{height:50,paddingVertical:d.listItemPadding-8,paddingTop:d.listItemPadding+12}},'.bordered':{'.noTopBorder':{borderTopWidth:0},'.noBottomBorder':{borderBottomWidth:0},height:35,paddingTop:d.listItemPadding+2,paddingBottom:d.listItemPadding,borderBottomWidth:d.borderWidth,borderTopWidth:d.borderWidth,borderColor:d.listBorderColor},'NativeBase.Text':{fontSize:d.tabBarTextSize-2,color:'#777'},'.noTopBorder':{borderTopWidth:0},'.noBottomBorder':{borderBottomWidth:0},height:38,backgroundColor:'#F0EFF5',flex:1,justifyContent:'center',paddingLeft:d.listItemPadding+5}}},528,[479]); +__d(function(e,t,r,n,o){Object.defineProperty(n,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0,i=Math.abs(o)>=Math.abs(n),p=r.isLeftOrTopSide()?s:a;return!(i||r._open&&!p||!r._open&&p)&&(r.terminateActiveTween(),!0)},r.processTapGestures=function(){if(r._activeTween)return!1;if(r.props.acceptTap||r.props.tapToClose&&r._open)return r._open?r.close():r.open(),!0;if(r.props.acceptDoubleTap){var e=(new Date).getTime(),t=e-r._lastPress;if(r._lastPress=e,tr.getOpenMask())&&!(!r._open&&s>r.getClosedMask())},r.terminateActiveTween=function(){r._activeTween&&(r._activeTween.terminate(),r._activeTween=null)},r.open=function(e,t){var n=r._length,o=r.getOpenLength();r._activeTween||'force'!==e&&n-o==0&&!0===r._open||(r.props.onOpenStart&&r.props.onOpenStart(),r.setInteractionHandle(),r._activeTween=(0,p.default)({start:r._length,end:r.getOpenLength(),duration:r.props.tweenDuration,easingType:r.props.tweenEasing,onFrame:function(e){r._length=e,r.updatePosition()},onEnd:function(){r._activeTween=null,r._open=!0,r._prevLength=r._length,r.adjustForCaptureGestures(),r.props.onOpen(),r.clearInteractionHandle(),'function'==typeof e?e():t&&t()}}))},r.close=function(e,t){var n=r._length,o=r.getClosedLength();r._activeTween||'force'!==e&&n-o==0&&!1===r._open||(r.props.onCloseStart&&r.props.onCloseStart(),r.setInteractionHandle(),r._activeTween=(0,p.default)({start:n,end:o,easingType:r.props.tweenEasing,duration:r.props.tweenDuration,onFrame:function(e){r._length=e,r.updatePosition()},onEnd:function(){r._activeTween=null,r._open=!1,r._prevLength=r._length,r.adjustForCaptureGestures(),r.props.onClose(),r.clearInteractionHandle(),'function'==typeof e?e():t&&t()}}))},r.toggle=function(){r._open?r.close():r.open()},r.handleSetViewport=function(e){var t=e.nativeEvent.layout,n=r.state.viewport;if(t.width!==n.width||t.height!==n.height){var o=t.width!==n.width;r.resync(t,null,o)}},r.resync=function(e,t,n){n&&(r._syncAfterUpdate=!0),e=e||r.state.viewport,t=t||r.props,r._offsetClosed=r.getClosedOffset(t,e),r._offsetOpen=r.getOpenOffset(t,e),r.setState({viewport:e})},r.requiresResync=function(e){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:r.state.viewport;return r.isLeftOrRightSide()?e.width:e.height},r.getOpenLength=function(){return r.getDeviceLength()-r._offsetOpen},r.getClosedLength=function(){return r._offsetClosed},r.getMainWidth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.viewport;return r.isLeftOrRightSide()?e.width-r._offsetClosed:e.width},r.getMainHeight=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.viewport;return r.isTopOrBottomSide()?e.height-r._offsetClosed:e.height},r.getDrawerWidth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.viewport;return r.isLeftOrRightSide()?e.width-r._offsetOpen:e.width},r.getDrawerHeight=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.viewport;return r.isTopOrBottomSide()?e.height-r._offsetOpen:e.height},r.getOpenMask=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.viewport;return r.props.panCloseMask&&r.props.panCloseMask%1==0?r.props.panCloseMask:r.props.panCloseMask?r.getDeviceLength(e)*r.props.panCloseMask:Math.max(.05,r._offsetOpen)},r.getClosedMask=function(){return r.props.panOpenMask&&r.props.panOpenMask%1==0?r.props.panOpenMask:r.props.panOpenMask?r.getDeviceLength()*r.props.panOpenMask:Math.max(.05,r._offsetClosed)},r.getOpenOffset=function(e,t){return'function'==typeof e.openDrawerOffset?e.openDrawerOffset(t):e.openDrawerOffset>1||e.openDrawerOffset<0?e.openDrawerOffset:e.openDrawerOffset*r.getDeviceLength(t)},r.getClosedOffset=function(e,t){return'function'==typeof e.closedDrawerOffset?e.closedDrawerOffset(t):e.closedDrawerOffset>1||e.closedDrawerOffset<0?e.closedDrawerOffset:e.closedDrawerOffset*r.getDeviceLength(t)},r.getGestureDelta=function(e){return r.isLeftOrRightSide()?e.dx:e.dy},r.getGestureDeltaOppositeAxis=function(e){return r.isLeftOrRightSide()?e.dy:e.dx},r.isLeftOrRightSide=function(){return i.I18nManager.isRTL?["right","left"].includes(r.props.side):["left","right"].includes(r.props.side)},r.isTopOrBottomSide=function(){return["top","bottom"].includes(r.props.side)},r.isLeftOrTopSide=function(){var e="left";return i.I18nManager.isRTL&&(e="right"),[e,"top"].includes(r.props.side)},r.isRightOrBottomSide=function(){var e="right";return i.I18nManager.isRTL&&(e="left"),[e,"bottom"].includes(r.props.side)},n))}return babelHelpers.createClass(t,[{key:"_registerChildDrawer",value:function(e){this._childDrawer=e}},{key:"componentWillMount",value:function(){this.context.drawer&&this.context.drawer._registerChildDrawer(this),this.initialize(this.props)}},{key:"componentWillReceiveProps",value:function(e){this.requiresResync(e)&&this.resync(null,e),null!==e.open&&this._open!==e.open&&(this._syncAfterUpdate=!0,this._open=e.open)}},{key:"componentDidUpdate",value:function(){this._syncAfterUpdate&&(this._syncAfterUpdate=!1,this._open?this.open('force'):this.close('force'))}},{key:"shouldOpenDrawer",value:function(e){return this._open^e>0^this.isRightOrBottomSide()?this._open^Math.abs(e)>this.getDeviceLength()*this.props.panThreshold:this._open}},{key:"shouldCaptureGestures",value:function(){return!0===this.props.captureGestures||('closed'===this.props.captureGestures&&!1===this._open||'open'===this.props.captureGestures&&!0===this._open)}},{key:"adjustForCaptureGestures",value:function(){if(this.props.captureGestures){var e=this.shouldCaptureGestures();this.mainOverlay&&this.drawerOverlay&&(this.mainOverlay.setNativeProps({pointerEvents:e&&this._open?'auto':'none'}),this.drawerOverlay.setNativeProps({pointerEvents:e&&!this._open?'auto':'none'}))}}},{key:"setInteractionHandle",value:function(){this._interactionHandle&&i.InteractionManager.clearInteractionHandle(this._interactionHandle),this.props.useInteractionManager&&(this._interactionHandle=i.InteractionManager.createInteractionHandle())}},{key:"clearInteractionHandle",value:function(){this._interactionHandle&&i.InteractionManager.clearInteractionHandle(this._interactionHandle)}},{key:"render",value:function(){var e='overlay'===this.props.type?this.renderMain():this.renderDrawer(),t='overlay'===this.props.type?this.renderDrawer():this.renderMain();return s.default.createElement(i.View,{key:"drawerContainer",onLayout:this.handleSetViewport,style:this.stylesheet.container},e,t)}},{key:"renderMain",value:function(){var e=this;return s.default.createElement(i.View,babelHelpers.extends({},this.responder.panHandlers,{key:"main",ref:function(t){return e.main=t},style:[this.stylesheet.main,{height:this.getMainHeight(),width:this.getMainWidth()}]}),this.props.children,s.default.createElement(i.View,{pointerEvents:this._open&&this.shouldCaptureGestures()?'auto':'none',ref:function(t){return e.mainOverlay=t},style:[h.overlay,this.props.styles&&this.props.styles.mainOverlay]}))}},{key:"renderDrawer",value:function(){var e=this;return s.default.createElement(i.View,babelHelpers.extends({},this.responder.panHandlers,{key:"drawer",ref:function(t){return e.drawer=t},elevation:this.props.elevation,style:[this.stylesheet.drawer,{height:this.getDrawerHeight(),width:this.getDrawerWidth()}]}),this.props.content,s.default.createElement(i.View,{pointerEvents:!this._open&&this.shouldCaptureGestures()?'auto':'none',ref:function(t){return e.drawerOverlay=t},style:[h.overlay,this.props.styles&&this.props.styles.drawerOverlay]}))}}]),babelHelpers.inherits(t,e),t})(s.Component);r.default=c,c.tweenPresets={parallax:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'left';return{drawer:babelHelpers.defineProperty({},t,-150*(1-e))}}},c.propTypes={acceptDoubleTap:a.default.bool,acceptPan:a.default.bool,acceptTap:a.default.bool,acceptPanOnDrawer:a.default.bool,captureGestures:a.default.oneOf([!0,!1,'open','closed']),children:a.default.node,closedDrawerOffset:a.default.oneOfType([a.default.number,a.default.func]),content:a.default.node,disabled:a.default.bool,elevation:a.default.number,initializeOpen:a.default.bool,open:a.default.bool,negotiatePan:a.default.bool,onClose:a.default.func,onCloseStart:a.default.func,onOpen:a.default.func,onOpenStart:a.default.func,openDrawerOffset:a.default.oneOfType([a.default.number,a.default.func]),panThreshold:a.default.number,panCloseMask:a.default.number,panOpenMask:a.default.number,side:a.default.oneOf(['left','right','top','bottom']),styles:a.default.object,tapToClose:a.default.bool,tweenDuration:a.default.number,tweenEasing:a.default.string,tweenHandler:a.default.func,type:a.default.oneOf(['overlay','static','displace']),useInteractionManager:a.default.bool,panStartCompensation:a.default.bool,openDrawerThreshold:a.default.any},c.defaultProps={open:null,initializeOpen:!1,type:'displace',closedDrawerOffset:0,openDrawerOffset:0,panThreshold:.25,panOpenMask:null,panCloseMask:null,tweenHandler:null,tweenDuration:250,tweenEasing:'linear',disabled:!1,negotiatePan:!1,captureGestures:'open',acceptDoubleTap:!1,acceptTap:!1,acceptPan:!0,acceptPanOnDrawer:!0,tapToClose:!1,styles:{},elevation:0,onOpen:function(){},onClose:function(){},side:'left',useInteractionManager:!1},c.contextTypes={drawer:a.default.object},c.childContextTypes={drawer:a.default.object};var h=i.StyleSheet.create({overlay:{right:0,left:0,top:0,bottom:0,position:'absolute',backgroundColor:'transparent'}})},530,[31,48,1,531]); +__d(function(t,i,n,o,r){var e=i(r[0]);function a(t){this._rafLoop=this._rafLoop.bind(this),this.terminate=this.terminate.bind(this),this._t0=Date.now(),this._config=t,this._rafLoop()}n.exports=function(t){return new a(t)},a.prototype._rafLoop=function(){if(!this._break){var t=this._config,i=t.duration,n=t.start,o=t.end,r=t.easingType,a=Date.now()-this._t0;if(a>=i)return this._config.onFrame(o),void this._config.onEnd();var s=e[r](a,n,o,i);this._config.onFrame(s),requestAnimationFrame(this._rafLoop)}},a.prototype.terminate=function(){this._break=!0}},531,[532]); +__d(function(n,t,e,u,a){'use strict';var r={linear:function(n,t,e,u){return(e-t)*n/u+t},easeInQuad:function(n,t,e,u){return(e-t)*(n/=u)*n+t},easeOutQuad:function(n,t,e,u){return-(e-t)*(n/=u)*(n-2)+t},easeInOutQuad:function(n,t,e,u){var a=e-t;return(n/=u/2)<1?a/2*n*n+t:-a/2*(--n*(n-2)-1)+t},easeInCubic:function(n,t,e,u){return(e-t)*(n/=u)*n*n+t},easeOutCubic:function(n,t,e,u){return(e-t)*((n=n/u-1)*n*n+1)+t},easeInOutCubic:function(n,t,e,u){var a=e-t;return(n/=u/2)<1?a/2*n*n*n+t:a/2*((n-=2)*n*n+2)+t},easeInQuart:function(n,t,e,u){return(e-t)*(n/=u)*n*n*n+t},easeOutQuart:function(n,t,e,u){return-(e-t)*((n=n/u-1)*n*n*n-1)+t},easeInOutQuart:function(n,t,e,u){var a=e-t;return(n/=u/2)<1?a/2*n*n*n*n+t:-a/2*((n-=2)*n*n*n-2)+t},easeInQuint:function(n,t,e,u){return(e-t)*(n/=u)*n*n*n*n+t},easeOutQuint:function(n,t,e,u){return(e-t)*((n=n/u-1)*n*n*n*n+1)+t},easeInOutQuint:function(n,t,e,u){var a=e-t;return(n/=u/2)<1?a/2*n*n*n*n*n+t:a/2*((n-=2)*n*n*n*n+2)+t},easeInSine:function(n,t,e,u){var a=e-t;return-a*Math.cos(n/u*(Math.PI/2))+a+t},easeOutSine:function(n,t,e,u){return(e-t)*Math.sin(n/u*(Math.PI/2))+t},easeInOutSine:function(n,t,e,u){return-(e-t)/2*(Math.cos(Math.PI*n/u)-1)+t},easeInExpo:function(n,t,e,u){return 0==n?t:(e-t)*Math.pow(2,10*(n/u-1))+t},easeOutExpo:function(n,t,e,u){var a=e-t;return n==u?t+a:a*(1-Math.pow(2,-10*n/u))+t},easeInOutExpo:function(n,t,e,u){var a=e-t;return 0===n?t:n===u?t+a:(n/=u/2)<1?a/2*Math.pow(2,10*(n-1))+t:a/2*(2-Math.pow(2,-10*--n))+t},easeInCirc:function(n,t,e,u){return-(e-t)*(Math.sqrt(1-(n/=u)*n)-1)+t},easeOutCirc:function(n,t,e,u){return(e-t)*Math.sqrt(1-(n=n/u-1)*n)+t},easeInOutCirc:function(n,t,e,u){var a=e-t;return(n/=u/2)<1?-a/2*(Math.sqrt(1-n*n)-1)+t:a/2*(Math.sqrt(1-(n-=2)*n)+1)+t},easeInElastic:function(n,t,e,u){var a,r,i,s=e-t;return i=1.70158,r=0,a=s,0===n?t:1==(n/=u)?t+s:(r||(r=.3*u),athis.props.directionalDistanceChangeThreshold}},{key:"handlePanResponderMove",value:function(e,t){var n=t.dx,i=t.dy,r=Math.abs(n),s=Math.abs(i);if(r>this.props.directionalDistanceChangeThreshold||s>this.props.directionalDistanceChangeThreshold){if(s>r&&!this.horizontalSwipeGestureBegan)return;this.parentScrollEnabled&&(this.parentScrollEnabled=!1,this.props.setScrollEnabled&&this.props.setScrollEnabled(!1)),null===this.swipeInitialX&&(this.swipeInitialX=this._translateX._value),this.horizontalSwipeGestureBegan||(this.horizontalSwipeGestureBegan=!0,this.props.swipeGestureBegan&&this.props.swipeGestureBegan());var o=this.swipeInitialX+n;this.props.disableLeftSwipe&&o<0&&(o=0),this.props.disableRightSwipe&&o>0&&(o=0),this.props.stopLeftSwipe&&o>this.props.stopLeftSwipe&&(o=this.props.stopLeftSwipe),this.props.stopRightSwipe&&o=0?this._translateX._value>this.props.leftOpenValue*(this.props.swipeToOpenPercent/100)&&(n=this.props.leftOpenValue):this._translateX._value0?this.props.activeOpacity:.5,__source:{fileName:a,lineNumber:67}}),o);if(this.props.rounded){var r=i({},this.prepareRootProps().style),n=this.props.full||this.props.block?1:r.flex;return u.default.createElement(d.View,{style:[{maxHeight:r.height},r,{paddingTop:void 0,paddingBottom:void 0}],__source:{fileName:a,lineNumber:82}},u.default.createElement(d.TouchableNativeFeedback,i({ref:function(t){return e._root=t},background:this.props.androidRippleColor?d.TouchableNativeFeedback.Ripple(this.props.androidRippleColor,!0):d.TouchableNativeFeedback.Ripple(t.androidRippleColor,!0)},this.prepareRootProps(),{__source:{fileName:a,lineNumber:83}}),u.default.createElement(d.View,{style:[N.childContainer,{paddingTop:r.paddingTop,paddingBottom:r.paddingBottom,height:r.height,flexGrow:n}],__source:{fileName:a,lineNumber:92}},o)))}return u.default.createElement(d.TouchableNativeFeedback,i({ref:function(t){return e._root=t},onPress:this.props.onPress,background:this.props.transparent?d.TouchableNativeFeedback.Ripple('transparent'):void 0},this.prepareRootProps(),{__source:{fileName:a,lineNumber:100}}),u.default.createElement(d.View,i({},this.prepareRootProps(),{__source:{fileName:a,lineNumber:106}}),o))}}]),t})();O.contextTypes={theme:s.default.object},O.propTypes=i({},d.TouchableOpacity.propTypes,{style:s.default.oneOfType([s.default.object,s.default.number,s.default.array]),block:s.default.bool,primary:s.default.bool,transparent:s.default.bool,success:s.default.bool,danger:s.default.bool,warning:s.default.bool,info:s.default.bool,bordered:s.default.bool,disabled:s.default.bool,rounded:s.default.bool,large:s.default.bool,small:s.default.bool,active:s.default.bool});var N=d.StyleSheet.create({childContainer:{flexShrink:1,flexDirection:'row',justifyContent:'center',alignItems:'center'}}),P=(0,c.connectStyle)("NativeBase.Button",{},y.default)(O);r.Button=P},541,[31,48,1,457,479,534,542,535]); +__d(function(e,t,l,r,a){"use_strict";var f,u=t(a[0]),n=(f=u)&&f.__esModule?f:{default:f},d=t(a[1]);l.exports=function(e,t){var l={};delete(e=n.default.clone(e)).children;var r=e.style;if(delete e.style,e?n.default.assign(l,t,e):l=t,r){var a={};l.style={},Array.isArray(r)?n.default.forEach(r,function(e){"number"==typeof e?n.default.merge(a,d.StyleSheet.flatten(e)):n.default.merge(a,e)}):a="number"==typeof r?d.StyleSheet.flatten(r):r,n.default.merge(l.style,t.style,a)}return l}},542,[460,1]); +__d(function(e,t,a,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.DatePicker=void 0;var r="src/basic/DatePicker.js",s=(function(){function e(e,t){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:p,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;v();var a=e[r]||'?';'number'==typeof a&&(a=String.fromCharCode(a));var l=(0,i.processColor)(n),s=a+":"+t+":"+l,u=i.PixelRatio.get();return new Promise(function(e,r){var n=h[s];void 0!==n?!n||n instanceof Error?r(n):e({uri:n,scale:u}):f.getImageForFont(o,a,t,l,function(t,o){var n='string'==typeof t?new Error(t):t;h[s]=o||n||!1,!n&&o?e({uri:o,scale:u}):r(n)})})}return d.Button=(0,s.default)(d),d.TabBarItem=(0,u.default)(n,y),d.TabBarItemIOS=d.TabBarItem,d.ToolbarAndroid=(0,c.default)(n,y),d.getImageSource=y,d.loadFont=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t;return v(),e?f.loadFontWithFileName.apply(f,babelHelpers.toConsumableArray(e.split('.'))):Promise.reject(new Error('Unable to load font, because no file was specified. '))},d.hasIcon=function(r){return Object.prototype.hasOwnProperty.call(e,r)},d};var a=babelHelpers.interopRequireWildcard(r(n[0])),l=babelHelpers.interopRequireDefault(r(n[1])),i=r(n[2]),s=babelHelpers.interopRequireDefault(r(n[3])),u=babelHelpers.interopRequireDefault(r(n[4])),c=babelHelpers.interopRequireDefault(r(n[5])),f=i.NativeModules.RNVectorIconsManager||i.NativeModules.RNVectorIconsModule,p=12,b='black'},548,[31,48,549,550,685,699]); +__d(function(e,t,n,r,u){Object.defineProperty(r,"__esModule",{value:!0});var o=t(u[0]);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}})})},549,[1]); +__d(function(e,t,l,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t,l;return l=t=(function(t){function l(){return babelHelpers.classCallCheck(this,l),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(l).apply(this,arguments))}return babelHelpers.createClass(l,[{key:"render",value:function(){var t=this.props,l=t.style,r=t.iconStyle,a=t.children,s=babelHelpers.objectWithoutProperties(t,["style","iconStyle","children"]),c=(0,u.default)(s,Object.keys(d.Text.propTypes),'style','name','size','color'),p=(0,u.default)(s,Object.keys(d.TouchableHighlight.propTypes)),f=(0,n.default)(s,Object.keys(c),Object.keys(p),'iconStyle','borderRadius','backgroundColor');c.style=r?[b.icon,r]:b.icon;var y=(0,u.default)(this.props,'color'),h=(0,u.default)(this.props,'backgroundColor','borderRadius');return i.default.createElement(d.TouchableHighlight,babelHelpers.extends({style:[b.touchable,h]},p),i.default.createElement(d.View,babelHelpers.extends({style:[b.container,h,l]},f),i.default.createElement(e,c),(0,o.default)(a)?i.default.createElement(d.Text,{style:[b.text,y]},a):a))}}]),babelHelpers.inherits(l,t),l})(i.PureComponent),t.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},t.defaultProps={backgroundColor:c,borderRadius:5,color:'white',size:20},l};var o=babelHelpers.interopRequireDefault(t(a[0])),n=babelHelpers.interopRequireDefault(t(a[1])),u=babelHelpers.interopRequireDefault(t(a[2])),i=babelHelpers.interopRequireWildcard(t(a[3])),s=babelHelpers.interopRequireDefault(t(a[4])),d=t(a[5]),b=d.StyleSheet.create({container:{flexDirection:'row',justifyContent:'flex-start',alignItems:'center',padding:8},touchable:{overflow:'hidden'},icon:{marginRight:10},text:{fontWeight:'600',backgroundColor:'transparent'}}),c='#007AFF'},550,[551,553,678,31,48,549]); +__d(function(t,n,r,o,e){var i=n(e[0]),c=n(e[1]),f=n(e[2]),u='[object String]';r.exports=function(t){return'string'==typeof t||!c(t)&&f(t)&&i(t)==u}},551,[319,552,327]); +__d(function(r,a,i,n,o){var s=Array.isArray;i.exports=s},552,[]); +__d(function(n,r,t,u,e){var f=r(e[0]),o=r(e[1]),a=r(e[2]),i=r(e[3]),l=r(e[4]),v=r(e[5]),c=r(e[6]),g=r(e[7]),h=c(function(n,r){var t={};if(null==n)return t;var u=!1;r=f(r,function(r){return r=i(r,n),u||(u=r.length>1),r}),l(n,g(n),t),u&&(t=o(t,7,v));for(var e=r.length;e--;)a(t,r[e]);return t});t.exports=h},553,[554,555,652,653,599,666,667,632]); +__d(function(n,r,t,o,u){t.exports=function(n,r){for(var t=-1,o=null==n?0:n.length,u=Array(o);++t-1}},563,[560]); +__d(function(t,i,s,_,n){var r=i(n[0]);s.exports=function(t,i){var s=this.__data__,_=r(s,t);return _<0?(++this.size,s.push([t,i])):s[_][1]=i,this}},564,[560]); +__d(function(t,_,i,n,s){var a=_(s[0]);i.exports=function(){this.__data__=new a,this.size=0}},565,[557]); +__d(function(t,e,i,_,n){i.exports=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}},566,[]); +__d(function(t,_,n,e,i){n.exports=function(t){return this.__data__.get(t)}},567,[]); +__d(function(t,_,n,a,i){n.exports=function(t){return this.__data__.has(t)}},568,[]); +__d(function(t,i,s,_,e){var a=i(e[0]),n=i(e[1]),h=i(e[2]);s.exports=function(t,i){var s=this.__data__;if(s instanceof a){var _=s.__data__;if(!n||_.length<199)return _.push([t,i]),this.size=++s.size,this;s=this.__data__=new h(_)}return s.set(t,i),this.size=s.size,this}},569,[557,570,579]); +__d(function(a,n,o,p,r){var t=n(r[0])(n(r[1]),'Map');o.exports=t},570,[571,321]); +__d(function(n,r,o,t,i){var u=r(i[0]),v=r(i[1]);o.exports=function(n,r){var o=v(n,r);return u(o)?o:void 0}},571,[572,578]); +__d(function(t,o,r,e,n){var c=o(n[0]),p=o(n[1]),a=o(n[2]),u=o(n[3]),i=/^\[object .+?Constructor\]$/,s=Function.prototype,$=Object.prototype,f=s.toString,g=$.hasOwnProperty,l=RegExp('^'+f.call(g).replace(/[\\^$.*+?()[\]{}|]/g,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');r.exports=function(t){return!(!a(t)||p(t))&&(c(t)?l:i).test(u(t))}},572,[573,575,574,577]); +__d(function(n,t,o,c,r){var e=t(r[0]),u=t(r[1]),i='[object AsyncFunction]',b='[object Function]',j='[object GeneratorFunction]',a='[object Proxy]';o.exports=function(n){if(!u(n))return!1;var t=e(n);return t==b||t==j||t==i||t==a}},573,[319,574]); +__d(function(n,t,o,u,c){o.exports=function(n){var t=typeof n;return null!=n&&('object'==t||'function'==t)}},574,[]); +__d(function(e,n,r,c,o){var s,t=n(o[0]),_=(s=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||''))?'Symbol(src)_1.'+s:'';r.exports=function(e){return!!_&&_ in e}},575,[576]); +__d(function(_,r,e,o,s){var a=r(s[0])['__core-js_shared__'];e.exports=a},576,[321]); +__d(function(t,r,n,c,o){var u=Function.prototype.toString;n.exports=function(t){if(null!=t){try{return u.call(t)}catch(t){}try{return t+''}catch(t){}}return''}},577,[]); +__d(function(n,o,t,u,i){t.exports=function(n,o){return null==n?void 0:n[o]}},578,[]); +__d(function(t,e,o,r,p){var a=e(p[0]),l=e(p[1]),n=e(p[2]),s=e(p[3]),y=e(p[4]);function c(t){var e=-1,o=null==t?0:t.length;for(this.clear();++e-1&&n%1==0&&n-1&&n%1==0&&n<=u}},610,[]); +__d(function(n,t,r,u,o){r.exports=function(n){return function(t){return n(t)}}},611,[]); +__d(function(e,t,r,n,o){var i=t(o[0]),p='object'==typeof n&&n&&!n.nodeType&&n,c=p&&'object'==typeof r&&r&&!r.nodeType&&r,u=c&&c.exports===p&&i.process,y=(function(){try{var e=c&&c.require&&c.require('util').types;return e||u&&u.binding&&u.binding('util')}catch(e){}})();r.exports=y},612,[322]); +__d(function(r,t,n,o,c){var e=t(c[0]),u=t(c[1]),a=Object.prototype.hasOwnProperty;n.exports=function(r){if(!e(r))return u(r);var t=[];for(var n in Object(r))a.call(r,n)&&'constructor'!=n&&t.push(n);return t}},613,[614,615]); +__d(function(t,o,r,n,c){var e=Object.prototype;r.exports=function(t){var o=t&&t.constructor;return t===('function'==typeof o&&o.prototype||e)}},614,[]); +__d(function(e,t,c,b,j){var n=t(j[0])(Object.keys,Object);c.exports=n},615,[326]); +__d(function(n,t,r,u,e){var l=t(e[0]),o=t(e[1]);r.exports=function(n){return null!=n&&o(n.length)&&!l(n)}},616,[573,610]); +__d(function(n,r,t,o,u){var c=r(u[0]),e=r(u[1]);t.exports=function(n,r){return n&&c(r,e(r),n)}},617,[599,618]); +__d(function(n,r,t,o,u){var c=r(u[0]),e=r(u[1]),f=r(u[2]);t.exports=function(n){return f(n)?c(n,!0):e(n)}},618,[601,619,616]); +__d(function(r,t,n,o,c){var e=t(c[0]),u=t(c[1]),a=t(c[2]),p=Object.prototype.hasOwnProperty;n.exports=function(r){if(!e(r))return a(r);var t=u(r),n=[];for(var o in r)('constructor'!=o||!t&&p.call(r,o))&&n.push(o);return n}},619,[574,614,620]); +__d(function(n,r,t,u,f){t.exports=function(n){var r=[];if(null!=n)for(var t in Object(n))r.push(t);return r}},620,[]); +__d(function(e,o,t,n,r){var c=o(r[0]),f='object'==typeof n&&n&&!n.nodeType&&n,p=f&&'object'==typeof t&&t&&!t.nodeType&&t,i=p&&p.exports===f?c.Buffer:void 0,u=i?i.allocUnsafe:void 0;t.exports=function(e,o){if(o)return e.slice();var t=e.length,n=u?u(t):new e.constructor(t);return e.copy(n),n}},621,[321]); +__d(function(r,n,t,o,e){t.exports=function(r,n){var t=-1,o=r.length;for(n||(n=Array(o));++ta?0:a+n),(t=t>a?a:t)<0&&(t+=a),a=n>t?0:t-n>>>0,n>>>=0;for(var e=Array(a);++o0&&e(g)?t>1?n(g,t-1,e,o,u):a(u,g):o||(u[u.length]=g)}return u}},669,[629,670]); +__d(function(n,o,t,a,e){var i=o(e[0]),r=o(e[1]),c=o(e[2]),d=i?"function"==typeof i?i.isConcatSpreadable:"@@isConcatSpreadable":void 0;t.exports=function(n){return c(n)||r(n)||!!(d&&n&&n[d])}},670,[320,603,552]); +__d(function(r,n,t,a,o){var e=n(o[0]),f=Math.max;t.exports=function(r,n,t){return n=f(void 0===n?r.length-1:n,0),function(){for(var a=arguments,o=-1,i=f(a.length-n,0),u=Array(i);++o0){if(++r>=o)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}},677,[]); +__d(function(n,r,t,u,o){var c=r(o[0]),e=r(o[1])(function(n,r){return null==n?{}:c(n,r)});t.exports=e},678,[679,667]); +__d(function(n,r,t,u,o){var c=r(o[0]),e=r(o[1]);t.exports=function(n,r){return c(n,r,function(r,t){return e(n,t)})}},679,[680,682]); +__d(function(r,n,t,o,a){var e=n(a[0]),f=n(a[1]),u=n(a[2]);t.exports=function(r,n,t){for(var o=-1,a=n.length,v={};++os))return!1;var g=d.get(e);if(g&&d.get(r))return g==r;var b=-1,h=!0,k=t&v?new f:void 0;for(d.set(e,r),d.set(r,e);++b=t?this.setState({orientation:"landscape"}):this.setState({orientation:"portrait"})}},{key:"calculateHeight",value:function(e,t){var r=null;r=void 0!=t?t:d.default.Inset;var o="portrait"===e?r.portrait:r.landscape;return(void 0!=this.props.style.height?this.props.style.height:this.props.style[1]&&this.props.style[1].height?this.props.style[1].height:this.props.style[0].height)+o.topInset}},{key:"calculatePadder",value:function(e,t){var r=null;r=void 0!=t?t:d.default.Inset;var o="portrait"===e?r.portrait:r.landscape,a=c.StyleSheet.flatten(this.props.style);return void 0!==a.padding||void 0!==a.paddingTop?(a.paddingTop?a.paddingTop:a.padding)+o.topInset:o.topInset}},{key:"render",value:function(){var e=this,t=this.context.theme?this.context.theme["@@shoutem.theme/themeStyle"].variables:d.default,r=t.platformStyle;return u.default.createElement(c.View,{onLayout:function(t){return e.layoutChange(t.nativeEvent.layout)},__source:{fileName:i,lineNumber:67}},u.default.createElement(c.StatusBar,{backgroundColor:this.props.androidStatusBarColor?this.props.androidStatusBarColor:t.statusBarColor,barStyle:this.props.iosBarStyle?this.props.iosBarStyle:"material"===r?"light-content":t.iosStatusbar,translucent:!!this.props.transparent||this.props.translucent,__source:{fileName:i,lineNumber:68}}),d.default.isIphoneX?u.default.createElement(c.View,n({ref:function(t){return e._root=t}},this.props,{style:[this.props.style,{height:this.calculateHeight(this.state.orientation,t.Inset),paddingTop:this.calculatePadder(this.state.orientation,t.Inset)}],__source:{fileName:i,lineNumber:84}})):u.default.createElement(c.View,n({ref:function(t){return e._root=t}},this.props,{__source:{fileName:i,lineNumber:102}})))}}]),t})();g.contextTypes={theme:p.default.object},g.propTypes=n({},c.ViewPropTypes,{style:p.default.oneOfType([p.default.object,p.default.number,p.default.array]),searchBar:p.default.bool,rounded:p.default.bool});var _=(0,f.connectStyle)("NativeBase.Header",{},h.default)(g);o.Header=_},723,[31,48,1,457,535,479,460]); +__d(function(e,t,r,o,n){Object.defineProperty(o,"__esModule",{value:!0}),o.InputGroup=void 0;var u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n]);return o}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var O=(function(t){function e(t){v(this,e);var o=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.state={modalVisible:!1,fadeAnim:new f.Animated.Value(0)},o}return g(e,l.Component),r(e,[{key:"getToastStyle",value:function(){return{position:"absolute",opacity:this.state.fadeAnim,width:"100%",elevation:9,paddingHorizontal:"ios"===f.Platform.OS?20:0,top:"top"===this.state.position?this.getTop():void 0,bottom:"bottom"===this.state.position?this.getTop():void 0}}},{key:"getTop",value:function(){return"ios"===f.Platform.OS?30:0}},{key:"getButtonText",value:function(t){if(t)return 0===t.trim().length?void 0:t}},{key:"getModalState",value:function(){return this.state.modalVisible}},{key:"showToast",value:function(t){var e=t.config;if(this.setState({modalVisible:!0,text:e.text,buttonText:this.getButtonText(e.buttonText),type:e.type,position:e.position?e.position:"bottom",supportedOrientations:e.supportedOrientations,style:e.style,buttonTextStyle:e.buttonTextStyle,buttonStyle:e.buttonStyle,textStyle:e.textStyle,onClose:e.onClose}),this.closeTimeout&&clearTimeout(this.closeTimeout),0!==e.duration){var o=e.duration>0?e.duration:1500;this.closeTimeout=setTimeout(this.closeToast.bind(this,'timeout'),o)}f.Animated.timing(this.state.fadeAnim,{toValue:1,duration:200}).start()}},{key:"closeModal",value:function(t){this.setState({modalVisible:!1});var e=this.state.onClose;e&&"function"==typeof e&&e(t)}},{key:"closeToast",value:function(t){clearTimeout(this.closeTimeout),f.Animated.timing(this.state.fadeAnim,{toValue:0,duration:200}).start(this.closeModal.bind(this,t))}},{key:"render",value:function(){var t=this;return this.state.modalVisible?u.default.createElement(f.Animated.View,{style:this.getToastStyle(),__source:{fileName:s,lineNumber:105}},u.default.createElement(h.Toast,{style:this.state.style,danger:"danger"==this.state.type,success:"success"==this.state.type,warning:"warning"==this.state.type,__source:{fileName:s,lineNumber:106}},u.default.createElement(p.Text,{style:this.state.textStyle,__source:{fileName:s,lineNumber:112}},this.state.text),this.state.buttonText&&u.default.createElement(d.Button,{style:this.state.buttonStyle,onPress:function(){return t.closeToast('user')},__source:{fileName:s,lineNumber:114}},u.default.createElement(p.Text,{style:this.state.buttonTextStyle,__source:{fileName:s,lineNumber:118}},this.state.buttonText)))):null}}],[{key:"show",value:function(t){var e=T(t,[]);this.toastInstance._root.showToast({config:e})}},{key:"hide",value:function(){this.toastInstance._root.getModalState()&&this.toastInstance._root.closeToast("functionCall")}}]),e})();O.propTypes=a({},f.ViewPropTypes,{style:c.default.oneOfType([c.default.object,c.default.number,c.default.array])});var w=(0,y.connectStyle)("NativeBase.ToastContainer",{},m.default)(O);n.ToastContainer=w},743,[31,48,1,457,534,541,540,744,535]); +__d(function(e,t,r,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.Toast=void 0;var a=Object.assign||function(e){for(var t=1;t=e?this.setState({orientation:"landscape"}):this.setState({orientation:"portrait"})}},{key:"calculateLeft",value:function(t,e){var o=null;o=void 0!==e?e:h.default.Inset;var s="portrait"===t?o.portrait:o.landscape,r=null;return void 0!==this.props.style[1]?void 0===this.props.style[1].padding&&void 0===this.props.style[1].paddingLeft||(r=(this.props.style[1].paddingLeft?this.props.style[1].paddingLeft:this.props.style[1].padding)+s.leftInset):r=void 0!==this.props.style.padding||void 0!==this.props.style.paddingLeft?(this.props.style.paddingLeft?this.props.style.paddingLeft:this.props.style.padding)+s.leftInset:s.leftInset,r}},{key:"calculateRight",value:function(t,e){var o=null;o=void 0!==e?e:h.default.Inset;var s="portrait"===t?o.portrait:o.landscape,r=null;return void 0!==this.props.style[1]?void 0===this.props.style[1].padding&&void 0===this.props.style[1].paddingRight||(r=(this.props.style[1].paddingRight?this.props.style[1].paddingRight:this.props.style[1].padding)+s.rightInset):r=void 0!==this.props.style.padding||void 0!==this.props.style.paddingRight?(this.props.style.paddingRight?this.props.style.paddingRight:this.props.style.padding)+s.rightInset:s.rightInset,r}},{key:"render",value:function(){var t=this,e=this.context.theme?this.context.theme["@@shoutem.theme/themeStyle"].variables:h.default;return h.default.isIphoneX?l.default.createElement(d.KeyboardAwareScrollView,n({automaticallyAdjustContentInsets:!1,resetScrollToCoords:this.props.disableKBDismissScroll?null:{x:0,y:0},keyboardShouldPersistTaps:this.props.keyboardShouldPersistTaps?this.props.keyboardShouldPersistTaps:"handled",ref:function(e){t._scrollview=e,t._root=e}},this.props,{onLayout:function(e){return t.layoutChange(e.nativeEvent.layout)},style:[this.props.style,{paddingLeft:this.calculateLeft(this.state.orientation,e.Inset)}],contentContainerStyle:[{padding:this.props.padder?e.contentPadding:void 0},this.props.contentContainerStyle],__source:{fileName:"src/basic/Content.js",lineNumber:95}}),this.props.children):l.default.createElement(d.KeyboardAwareScrollView,n({automaticallyAdjustContentInsets:!1,resetScrollToCoords:this.props.disableKBDismissScroll?null:{x:0,y:0},keyboardShouldPersistTaps:this.props.keyboardShouldPersistTaps?this.props.keyboardShouldPersistTaps:"handled",ref:function(e){t._scrollview=e,t._root=e}},this.props,{contentContainerStyle:[{padding:this.props.padder?e.contentPadding:void 0},this.props.contentContainerStyle],__source:{fileName:"src/basic/Content.js",lineNumber:125}}),this.props.children)}}]),e})();b.contextTypes={theme:p.default.object},b.propTypes={style:p.default.oneOfType([p.default.object,p.default.number,p.default.array]),padder:p.default.bool,disableKBDismissScroll:p.default.bool,enableResetScrollToCoords:p.default.bool,keyboardShouldPersistTaps:p.default.string};var m=(0,u.connectStyle)("NativeBase.Content",{},c.default)(b);s.Content=m},747,[31,48,748,457,479,535]); +__d(function(e,r,t,n,u){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"listenToKeyboardEvents",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(n,"KeyboardAwareScrollView",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(n,"KeyboardAwareListView",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(n,"KeyboardAwareFlatList",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(n,"KeyboardAwareSectionList",{enumerable:!0,get:function(){return o.default}});var a=babelHelpers.interopRequireDefault(r(u[0])),l=babelHelpers.interopRequireDefault(r(u[1])),i=babelHelpers.interopRequireDefault(r(u[2])),b=babelHelpers.interopRequireDefault(r(u[3])),o=babelHelpers.interopRequireDefault(r(u[4]))},748,[749,751,752,753,754]); +__d(function(e,o,r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=babelHelpers.interopRequireDefault(o(n[0])),a=babelHelpers.interopRequireDefault(o(n[1])),s=babelHelpers.interopRequireWildcard(o(n[2])),i=(0,o(n[3]).isIphoneX)()?83:49,d=250,c=75;var u=function(e){var o,r;return r=o=(function(o){function r(e){var o;babelHelpers.classCallCheck(this,r),(o=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).call(this,e))).getScrollResponder=function(){return o._rnkasv_keyboardView&&o._rnkasv_keyboardView.getScrollResponder()},o.scrollToPosition=function(e,r){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=o.getScrollResponder();n&&n.scrollResponderScrollTo({x:e,y:r,animated:t})},o.scrollToEnd=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=o.getScrollResponder();r&&r.scrollResponderScrollToEnd({animated:e})},o.scrollForExtraHeightOnAndroid=function(e){o.scrollToPosition(0,o.position.y+e,!0)},o.scrollToFocusedInput=function(e,r,t){void 0===r&&(r=o.props.extraHeight||0),void 0===t&&(t=o.props.keyboardOpeningTime||0),setTimeout(function(){if(o.mountedComponent){var t=o.getScrollResponder();t&&t.scrollResponderScrollNativeHandleToKeyboard(e,r,!0)}},t)},o.scrollIntoView=function(e){var r,t,n,l,a,s,i,d,c,u,p=arguments;return regeneratorRuntime.async(function(b){for(;;)switch(b.prev=b.next){case 0:if(r=p.length>1&&void 0!==p[1]?p[1]:{},o._rnkasv_keyboardView&&e){b.next=3;break}return b.abrupt("return");case 3:return b.next=5,regeneratorRuntime.awrap(Promise.all([o._measureElement(o._rnkasv_keyboardView),o._measureElement(e)]));case 5:t=b.sent,n=babelHelpers.slicedToArray(t,2),l=n[0],a=n[1],s=r.getScrollPosition||o._defaultGetScrollPosition,i=s(l,a,o.position),d=i.x,c=i.y,u=i.animated,o.scrollToPosition(d,c,u);case 12:case"end":return b.stop()}},null,this)},o._defaultGetScrollPosition=function(e,o,r){return{x:0,y:Math.max(0,o.y-e.y+r.y),animated:!0}},o._measureElement=function(e){var o=(0,s.findNodeHandle)(e);return new Promise(function(e){s.UIManager.measureInWindow(o,function(o,r,t,n){e({x:o,y:r,width:t,height:n})})})},o._updateKeyboardSpace=function(e){if(o.props.enableAutomaticScroll){var r=e.endCoordinates.height+o.props.extraScrollHeight;o.props.viewIsInsideTabBar&&(r-=i),o.setState({keyboardSpace:r});var t=s.TextInput.State.currentlyFocusedField(),n=o.getScrollResponder();if(!t||!n)return;s.UIManager.viewIsDescendantOf(t,n.getInnerViewNode(),function(r){r&&s.UIManager.measureInWindow(t,function(r,n,l,a){n+a>e.endCoordinates.screenY-(o.props.extraScrollHeight+o.props.extraHeight)&&o._scrollToFocusedInputWithNodeHandle(t)})})}o.resetCoords||o.defaultResetScrollToCoords||(o.defaultResetScrollToCoords=o.position)},o._resetKeyboardSpace=function(){var e=o.props.viewIsInsideTabBar?i+o.props.extraScrollHeight||0:o.props.extraScrollHeight||0;o.setState({keyboardSpace:e}),!1!==o.props.enableResetScrollToCoords?o.resetCoords?o.scrollToPosition(o.resetCoords.x,o.resetCoords.y,!0):o.defaultResetScrollToCoords?(o.scrollToPosition(o.defaultResetScrollToCoords.x,o.defaultResetScrollToCoords.y,!0),o.defaultResetScrollToCoords=null):o.scrollToPosition(0,0,!0):o.defaultResetScrollToCoords=null},o._scrollToFocusedInputWithNodeHandle=function(e,r,t){void 0===r&&(r=o.props.extraHeight);var n=s.default.findNodeHandle(e);o.scrollToFocusedInput(n,r+o.props.extraScrollHeight,void 0!==t?t:o.props.keyboardOpeningTime||0)},o._handleOnScroll=function(e){o.position=e.nativeEvent.contentOffset},o._handleRef=function(e){o._rnkasv_keyboardView=e,o.props.innerRef&&o.props.innerRef(o._rnkasv_keyboardView)},o._onScroll=function(e){o._handleOnScroll(e),o.props.onScroll&&o.props.onScroll(e)},o.keyboardWillShowEvent=void 0,o.keyboardWillHideEvent=void 0,o.position={x:0,y:0},o.defaultResetScrollToCoords=null;var t=e.viewIsInsideTabBar?i:0;return o.state={keyboardSpace:t},o}return babelHelpers.createClass(r,[{key:"componentDidMount",value:function(){this.mountedComponent=!0,this.keyboardWillShowEvent=s.Keyboard.addListener('keyboardWillShow',this._updateKeyboardSpace),this.keyboardWillHideEvent=s.Keyboard.addListener('keyboardWillHide',this._resetKeyboardSpace)}},{key:"componentWillReceiveProps",value:function(e){if(e.viewIsInsideTabBar!==this.props.viewIsInsideTabBar){var o=e.viewIsInsideTabBar?i:0;this.state.keyboardSpace!==o&&this.setState({keyboardSpace:o})}}},{key:"componentWillUnmount",value:function(){this.mountedComponent=!1,this.keyboardWillShowEvent&&this.keyboardWillShowEvent.remove(),this.keyboardWillHideEvent&&this.keyboardWillHideEvent.remove()}},{key:"render",value:function(){var o=this.props,r=(o.enableOnAndroid,o.contentContainerStyle);return l.default.createElement(e,babelHelpers.extends({ref:this._handleRef,keyboardDismissMode:"interactive",contentInset:{bottom:this.state.keyboardSpace},automaticallyAdjustContentInsets:!1,showsVerticalScrollIndicator:!0,scrollEventThrottle:1},this.props,{contentContainerStyle:r,keyboardSpace:this.state.keyboardSpace,getScrollResponder:this.getScrollResponder,scrollToPosition:this.scrollToPosition,scrollToEnd:this.scrollToEnd,scrollForExtraHeightOnAndroid:this.scrollForExtraHeightOnAndroid,scrollToFocusedInput:this.scrollToFocusedInput,resetKeyboardSpace:this._resetKeyboardSpace,handleOnScroll:this._handleOnScroll,onScroll:this._onScroll}))}}]),babelHelpers.inherits(r,o),r})(l.default.Component),o.propTypes={viewIsInsideTabBar:a.default.bool,resetScrollToCoords:a.default.shape({x:a.default.number.isRequired,y:a.default.number.isRequired}),enableResetScrollToCoords:a.default.bool,enableAutomaticScroll:a.default.bool,extraHeight:a.default.number,extraScrollHeight:a.default.number,keyboardOpeningTime:a.default.number,onScroll:a.default.func,contentContainerStyle:a.default.any,enableOnAndroid:a.default.bool,innerRef:a.default.func},o.defaultProps={enableAutomaticScroll:!0,extraHeight:c,extraScrollHeight:0,enableResetScrollToCoords:!0,keyboardOpeningTime:d,viewIsInsideTabBar:!1},r};t.default=u},749,[31,48,1,750]); +__d(function(t,e,n,i,o){Object.defineProperty(i,"__esModule",{value:!0}),i.isIphoneX=u,i.ifIphoneX=a,i.getStatusBarHeight=function(t){return a(t?44:30,20)},i.getBottomSpace=function(){return u()?34:0};var r=e(o[0]);function u(){var t=r.Dimensions.get('window');return!(r.Platform.isPad||r.Platform.isTVOS||812!==t.height&&812!==t.width&&896!==t.height&&896!==t.width)}function a(t,e){return u()?t:e}},750,[1]); +__d(function(e,l,t,u,a){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var d=l(a[0]),r=(0,babelHelpers.interopRequireDefault(l(a[1])).default)(d.ScrollView);u.default=r},751,[1,749]); +__d(function(e,t,l,u,a){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var d=t(a[0]),i=(0,babelHelpers.interopRequireDefault(t(a[1])).default)(d.ListView);u.default=i},752,[1,749]); +__d(function(e,t,l,a,u){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var d=t(u[0]),f=(0,babelHelpers.interopRequireDefault(t(u[1])).default)(d.FlatList);a.default=f},753,[1,749]); +__d(function(e,t,l,u,a){Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var d=t(a[0]),i=(0,babelHelpers.interopRequireDefault(t(a[1])).default)(d.SectionList);u.default=i},754,[1,749]); +__d(function(t,e,o,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.Footer=void 0;var i=Object.assign||function(t){for(var e=1;ed.default.deviceWidth?"portrait":"landscape"},o}return b(e,s.Component),a(e,[{key:"layoutChange",value:function(t){var e=Math.max(d.default.deviceWidth,d.default.deviceHeight);t.width>=e?this.setState({orientation:"landscape"}):this.setState({orientation:"portrait"})}},{key:"calculateHeight",value:function(t,e){var o=null;o=void 0!=e?e:d.default.Inset;var r="portrait"===t?o.portrait:o.landscape;return(void 0!=this.props.style.height?this.props.style.height:this.props.style[1]&&this.props.style[1].height?this.props.style[1].height:this.props.style[0].height)+r.bottomInset}},{key:"calculatePadder",value:function(t,e){var o=null;o=void 0!=e?e:d.default.Inset;var r="portrait"===t?o.portrait:o.landscape,n=null;return void 0!==this.props.style[1]?void 0===this.props.style[1].padding&&void 0===this.props.style[1].paddingTop||(n=(this.props.style[1].paddingTop?this.props.style[1].paddingTop:this.props.style[1].padding)+r.bottomInset):n=void 0!==this.props.style.padding&&void 0!==this.props.style.paddingTop?(this.props.style.paddingTop?this.props.style.paddingTop:this.props.style.padding)+r.bottomInset:r.bottomInset,n}},{key:"render",value:function(){var t=this,e=this.context.theme?this.context.theme["@@shoutem.theme/themeStyle"].variables:d.default;return d.default.isIphoneX?p.default.createElement(u.View,i({ref:function(e){return t._root=e}},this.props,{onLayout:function(e){return t.layoutChange(e.nativeEvent.layout)},style:[this.props.style,{height:this.calculateHeight(this.state.orientation,e.Inset),paddingBottom:this.calculatePadder(this.state.orientation,e.Inset)}],__source:{fileName:"src/basic/Footer.js",lineNumber:85}})):p.default.createElement(u.View,i({ref:function(e){return t._root=e}},this.props,{__source:{fileName:"src/basic/Footer.js",lineNumber:104}}))}}]),e})();g.contextTypes={theme:l.default.object},g.propTypes=i({},u.ViewPropTypes,{style:l.default.oneOfType([l.default.object,l.default.number,l.default.array])});var m=(0,c.connectStyle)("NativeBase.Footer",{},h.default)(g);r.Footer=m},755,[31,48,1,460,457,479,535]); +__d(function(e,t,r,n,o){Object.defineProperty(n,"__esModule",{value:!0}),n.FooterTab=void 0;var a=Object.assign||function(e){for(var t=1;tthis.props.dataSource.length-1&&t===this.props.dataSource.length-1?[t,0]:t>this.props.dataSource.length-1?[0,1]:[t,n]}},{key:"selectNext",value:function(){var e=this,t=this.props.dataSource,n=t.indexOf(this.state.selectedItem);if(!this.state.looping){if(n===t.length-1)return this.setState({disabled:!0});if(n===t.length-2)return setTimeout(function(){e.setState({selectedItem:t[n+1]}),setTimeout(function(){e.setState({lastCard:!0})},350)},50)}var a=this.findNextIndexes(n);setTimeout(function(){e.setState({selectedItem:e.props.dataSource[a[0]]}),setTimeout(function(){e.setState({selectedItem2:e.props.dataSource[a[1]]})},350)},50)}},{key:"swipeRight",value:function(){var e=this;this.props.onSwiping&&this.props.onSwiping("right"),setTimeout(function(){d.Animated.timing(e.state.fadeAnim,{toValue:1}).start(),d.Animated.spring(e.state.enter,{toValue:1,friction:7}).start(),e.selectNext(),d.Animated.decay(e.state.pan,{velocity:{x:8,y:1},deceleration:.98}).start(e._resetState.bind(e))},300)}},{key:"swipeLeft",value:function(){var e=this;this.props.onSwiping&&this.props.onSwiping("left"),setTimeout(function(){d.Animated.timing(e.state.fadeAnim,{toValue:1}).start(),d.Animated.spring(e.state.enter,{toValue:1,friction:7}).start(),e.selectNext(),d.Animated.decay(e.state.pan,{velocity:{x:-8,y:1},deceleration:.98}).start(e._resetState.bind(e))},300)}},{key:"componentWillMount",value:function(){var e=this;this._panResponder=d.PanResponder.create({onMoveShouldSetResponderCapture:function(){return!0},onMoveShouldSetPanResponderCapture:function(e,t){return Math.abs(t.dx)>5},onPanResponderGrant:function(t,n){e.state.pan.setOffset({x:e.state.pan.x._value,y:e.state.pan.y._value}),e.state.pan.setValue({x:0,y:0})},onPanResponderMove:function(t,n){n.dx>20?e.props.onSwiping&&e.props.onSwiping("right",n.dx):n.dx<-20&&e.props.onSwiping&&e.props.onSwiping("left",n.dx);var a=Math.abs(.0013*n.dx);Math.abs(.0022*n.dx);a>.2&&(a=.2),d.Animated.timing(e.state.fadeAnim,{toValue:.8+a}).start(),d.Animated.spring(e.state.enter,{toValue:.8+a,friction:7}).start(),d.Animated.event([null,{dx:e.state.pan.x}])(t,n)},onPanResponderRelease:function(t,n){var a=n.vx,i=n.vy;e.props.onSwiping&&e.props.onSwiping(null);var r=void 0;a>=0?r=(0,c.default)(a,4.5,10):a<0&&(r=-1*(0,c.default)(-1*a,4.5,10)),Math.abs(e.state.pan.x._value)>120?(r>0?(e.props.onSwipeRight&&e.props.onSwipeRight(e.state.selectedItem),e.selectNext()):(e.props.onSwipeLeft&&e.props.onSwipeLeft(e.state.selectedItem),e.selectNext()),d.Animated.decay(e.state.pan,{velocity:{x:r,y:i},deceleration:.98}).start(e._resetState.bind(e))):d.Animated.spring(e.state.pan,{toValue:{x:0,y:0},friction:4}).start()}})}},{key:"_resetState",value:function(){this.state.pan.setValue({x:0,y:0}),this.state.enter.setValue(.8),this.state.fadeAnim.setValue(.8),this.setState({card1Top:!this.state.card1Top,card2Top:!this.state.card2Top}),this.props.onSwiping&&this.props.onSwiping(null)}},{key:"getCardStyles",value:function(){var e=this.state,t=e.pan,n=(e.pan2,e.enter),a=[t.x,t.y];return[{transform:[{translateX:a[0]},{translateY:a[1]},{rotate:t.x.interpolate({inputRange:[-700,0,700],outputRange:["-10deg","0deg","10deg"]})}],opacity:t.x.interpolate({inputRange:[-320,0,320],outputRange:[.9,1,.9]})},{transform:[{scale:n}]}]}},{key:"render",value:function(){return this.state.disabled?p.default.createElement(d.View,{style:{position:"relative",flexDirection:"column"},__source:{fileName:r,lineNumber:258}},p.default.createElement(d.View,{__source:{fileName:r,lineNumber:259}},this.props.renderEmpty&&this.props.renderEmpty())):this.state.lastCard?p.default.createElement(d.View,{style:{position:"relative",flexDirection:"column"},__source:{fileName:r,lineNumber:265}},void 0===this.state.selectedItem?p.default.createElement(d.View,{__source:{fileName:r,lineNumber:267}}):p.default.createElement(d.View,{__source:{fileName:r,lineNumber:269}},p.default.createElement(d.Animated.View,s({style:[this.getCardStyles()[1],this.getInitialStyle().topCard,{opacity:this.state.fadeAnim}]},this._panResponder.panHandlers,{__source:{fileName:r,lineNumber:270}}),this.props.renderEmpty&&this.props.renderEmpty()),p.default.createElement(d.Animated.View,s({style:[this.getCardStyles()[0],this.getInitialStyle().topCard]},this._panResponder.panHandlers,{__source:{fileName:r,lineNumber:280}}),this.props.renderItem(this.state.selectedItem)))):p.default.createElement(d.View,{style:{position:"relative",flexDirection:"column"},__source:{fileName:r,lineNumber:295}},void 0===this.state.selectedItem?p.default.createElement(d.View,{__source:{fileName:r,lineNumber:297}}):p.default.createElement(d.View,{__source:{fileName:r,lineNumber:299}},p.default.createElement(d.Animated.View,s({style:[this.getCardStyles()[1],this.getInitialStyle().topCard,{opacity:this.state.fadeAnim}]},this._panResponder.panHandlers,{__source:{fileName:r,lineNumber:300}}),this.props.renderBottom?this.props.renderBottom(this.state.selectedItem2):this.props.renderItem(this.state.selectedItem2)),p.default.createElement(d.Animated.View,s({style:[this.getCardStyles()[0],this.getInitialStyle().topCard]},this._panResponder.panHandlers,{__source:{fileName:r,lineNumber:312}}),this.props.renderTop?this.props.renderTop(this.state.selectedItem):this.props.renderItem(this.state.selectedItem))))}}]),t})();v.propTypes=s({},d.ViewPropTypes,{style:u.default.oneOfType([u.default.object,u.default.number,u.default.array]),dataSource:u.default.array});var _=(0,f.connectStyle)("NativeBase.DeckSwiper",{},m.default)(v);a.DeckSwiper=_},761,[31,48,1,357,457,535]); +__d(function(e,t,n,o,i){Object.defineProperty(o,"__esModule",{value:!0}),o.Item=void 0;var r="src/basic/Item.js",a=Object.assign||function(e){for(var t=1;t=0&&e.page!==this.state.currentPage&&this.goToPage(e.page)},goToPage:function(e){var t=e*this.state.containerWidth;this.scrollView&&this.scrollView.scrollTo({x:t,y:0,animated:!this.props.scrollWithoutAnimation});var n=this.state.currentPage;this.updateSceneKeys({page:e,callback:this._onChangeTab.bind(this,n,e)})},renderTabBar:function(e){return!1===this.props.renderTabBar?null:this.props.renderTabBar?d.cloneElement(this.props.renderTabBar(e),e):d.createElement(T,a({},e,{__source:{fileName:i,lineNumber:116}}))},updateSceneKeys:function(e){var t=e.page,n=e.children,r=void 0===n?this.props.children:n,o=e.callback,a=void 0===o?function(){}:o,i=this.newSceneKeys({previousKeys:this.state.sceneKeys,currentPage:t,children:r});this.setState({currentPage:t,sceneKeys:i},a)},newSceneKeys:function(e){var t=this,n=e.previousKeys,r=void 0===n?[]:n,o=e.currentPage,a=void 0===o?0:o,i=e.children,s=void 0===i?this.props.children:i,l=[];return this._children(s).forEach(function(e,n){var o=t._makeSceneKey(e,n);(t._keyExists(r,o)||t._shouldRenderSceneKey(n,a))&&l.push(o)}),l},_shouldRenderSceneKey:function(e,t){var n=this.props.prerenderingSiblingsNumber;return et-n-1},_keyExists:function(e,t){return e.find(function(e){return t===e})},_makeSceneKey:function(e,t){return e.props.heading+"_"+t},renderScrollableContent:function(){var e=this,t=this._composeScenes();return d.createElement(m,a({horizontal:!0,pagingEnabled:!0,automaticallyAdjustContentInsets:!1,keyboardShouldPersistTaps:"handled",contentOffset:{x:this.props.initialPage*this.state.containerWidth},ref:function(t){e.scrollView=t},onScroll:function(t){var n=t.nativeEvent.contentOffset.x;e._updateScrollValue(n/e.state.containerWidth)},onMomentumScrollBegin:this._onMomentumScrollBeginAndEnd,onMomentumScrollEnd:this._onMomentumScrollBeginAndEnd,scrollEventThrottle:16,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEnabled:!this.props.locked,directionalLockEnabled:!0,alwaysBounceVertical:!1,keyboardDismissMode:"on-drag"},this.props.contentProps,{__source:{fileName:i,lineNumber:170}}),t)},_composeScenes:function(){var e=this;return this._children().map(function(t,n){var r=e._makeSceneKey(t,n);return d.createElement(_,{key:t.key,shouldUpdated:e._shouldRenderSceneKey(n,e.state.currentPage),style:{width:e.state.containerWidth},__source:{fileName:i,lineNumber:205}},e._keyExists(e.state.sceneKeys,r)?t:d.createElement(g,{heading:t.props.heading,__source:{fileName:i,lineNumber:216}}))})},_onMomentumScrollBeginAndEnd:function(e){var t=e.nativeEvent.contentOffset.x,n=Math.round(t/this.state.containerWidth);this.state.currentPage!==n&&this._updateSelectedPage(n)},_updateSelectedPage:function(e){var t=e;"object"==typeof t&&(t=e.nativeEvent.position);var n=this.state.currentPage;this.updateSceneKeys({page:t,callback:this._onChangeTab.bind(this,n,t)})},_onChangeTab:function(e,t){this.props.onChangeTab({i:t,ref:this._children()[t],from:e})},_updateScrollValue:function(e){this.state.scrollValue.setValue(e),this.props.onScroll(e)},_handleLayout:function(e){var t=this,n=e.nativeEvent.layout.width;Math.round(n)!==Math.round(this.state.containerWidth)&&(this.setState({containerWidth:n}),this.requestAnimationFrame(function(){t.goToPage(t.state.currentPage)}))},_children:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.children;return d.Children.map(e,function(e){return e})},render:function(){var e,t="overlayTop"===this.props.tabBarPosition||"overlayBottom"===this.props.tabBarPosition,n={goToPage:this.goToPage,tabs:this._children().map(function(e){return e.props.heading}),tabStyle:this._children().map(function(e){return e.props.tabStyle}),activeTabStyle:this._children().map(function(e){return e.props.activeTabStyle}),textStyle:this._children().map(function(e){return e.props.textStyle}),activeTextStyle:this._children().map(function(e){return e.props.activeTextStyle}),tabHeaderStyle:this._children().map(function(e){return c.default.get(e.props.heading.props,"style",void 0)}),activeTab:this.state.currentPage,scrollValue:this.state.scrollValue,containerWidth:this.state.containerWidth};(this.props.tabBarBackgroundColor&&(n.backgroundColor=this.props.tabBarBackgroundColor),this.props.tabBarActiveTextColor&&(n.activeTextColor=this.props.tabBarActiveTextColor),this.props.tabBarInactiveTextColor&&(n.inactiveTextColor=this.props.tabBarInactiveTextColor),this.props.tabBarTextStyle&&(n.textStyle=this.props.tabBarTextStyle),this.props.tabBarUnderlineStyle&&(n.underlineStyle=this.props.tabBarUnderlineStyle),this.props.tabContainerStyle&&(n.tabContainerStyle=this.props.tabContainerStyle),t)&&(n.style=(h(e={position:"absolute",left:0,right:0},"overlayTop"===this.props.tabBarPosition?"top":"bottom",0),h(e,"backgroundColor","rgba(255, 255, 255, 0.7)"),e));return d.createElement(g,{style:[C.container,this.props.style],onLayout:this._handleLayout,__source:{fileName:i,lineNumber:322}},("top"===this.props.tabBarPosition||"overlayTop"===this.props.tabBarPosition)&&this.renderTabBar(n),this.renderScrollableContent(),("bottom"===this.props.tabBarPosition||"overlayBottom"===this.props.tabBarPosition)&&this.renderTabBar(n))}});r.default=B;var C=v.create({container:{flex:1},scrollableContentAndroid:{flex:1}})},767,[48,188,460,741,31,1,205,768,770,772]); +__d(function(e,r,n,t,o){var a=Object.assign||function(e){for(var r=1;r=0||Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}var s=r(o[0]),i=r(o[1]),l=(s.Component,i.View),u=(i.StyleSheet,r(o[2]));n.exports=function(e){var r=e.shouldUpdated,n=c(e,["shouldUpdated"]);return s.createElement(l,a({},n,{__source:{fileName:"src/basic/Tabs/SceneComponent.js",lineNumber:11}}),s.createElement(u,{shouldUpdate:r,__source:{fileName:"src/basic/Tabs/SceneComponent.js",lineNumber:12}},n.children))}},768,[31,1,769]); +__d(function(e,t,n,r,o){var u=(function(){function e(e,t){for(var n=0;nr||this.necessarilyMeasurementsCompleted(t,t===r)&&(this.updateTabPanel(t,a),this.updateTabUnderline(t,a,n))},necessarilyMeasurementsCompleted:function(e,t){return this._tabsMeasurements[e]&&(t||this._tabsMeasurements[e+1])&&this._tabContainerMeasurements&&this._containerMeasurements},updateTabPanel:function(e,t){var a=this._containerMeasurements.width,n=this._tabsMeasurements[e].width,r=this._tabsMeasurements[e+1],i=r&&r.width||0,s=this._tabsMeasurements[e].left+t*n;s=(s-=(a-(1-t)*n-t*i)/2)>=0?s:0;var l=this._tabContainerMeasurements.width-this._containerMeasurements.width;s=s>l?l:s,this._scrollView.scrollTo({x:s,y:0,animated:!1})},updateTabUnderline:function(e,t,a){var n=this._tabsMeasurements[e].left,r=this._tabsMeasurements[e].right;if(eo.getRowCount()?r.default.createElement(i.ListView,babelHelpers.extends({enableEmptySections:!1},l,{dataSource:o.cloneWithRows([{key:'_none'}]),renderRow:function(){return r.default.createElement(i.View,{style:s.default.noResults},r.default.createElement(i.Text,{style:s.default.noResultsText},t))}})):r.default.createElement(i.ListView,babelHelpers.extends({enableEmptySections:!1},l,{dataSource:o,renderRow:n.renderOption,keyboardShouldPersistTaps:a}))},n.renderOption=function(e){var t=n.props,l=t.selectedOption,a=t.renderOption,o=t.optionTextStyle,u=t.selectedOptionTextStyle,d=e.key,c=e.label,p=s.default.optionStyle,f=o||s.default.optionTextStyle;return d===l&&(p=s.default.selectedOptionStyle,f=u||s.default.selectedOptionTextStyle),a?a(e,d===l):r.default.createElement(i.TouchableOpacity,{activeOpacity:.7,style:p,onPress:function(){return n.props.onSelect(d)}},r.default.createElement(i.Text,{style:f},c))},n.renderCancelButton=function(){var e=n.props,t=e.cancelButtonStyle,l=e.cancelButtonTextStyle,a=e.cancelButtonText;return r.default.createElement(i.TouchableOpacity,{onPress:n.props.onCancel,activeOpacity:.7,style:t||s.default.cancelButton},r.default.createElement(i.Text,{style:l||s.default.cancelButtonText},a))},n.onFilterChange=function(e){var t=n.props.options,l=e.toLowerCase(),a=l.length?t.filter(function(e){var t=e.searchKey,n=e.label;e.key;return 0<=n.toLowerCase().indexOf(l)||t&&0<=t.toLowerCase().indexOf(l)}):t;n.setState({filter:e.toLowerCase(),ds:n.state.ds.cloneWithRows(a)})},n.state={filter:'',ds:new i.ListView.DataSource({rowHasChanged:function(e,t){return e.key!==t.key}}).cloneWithRows(e.options)},n}return babelHelpers.createClass(t,[{key:"componentWillReceiveProps",value:function(e){(!this.props.visible&&e.visible||this.props.options!==e.options)&&this.setState({filter:'',ds:this.state.ds.cloneWithRows(e.options)})}},{key:"render",value:function(){var e=this.props,t=e.title,l=e.titleTextStyle,n=e.overlayStyle,a=e.cancelContainerStyle,o=e.renderList,u=e.renderCancelButton,d=e.visible,c=e.modal,p=e.onCancel,f=t?r.default.createElement(i.Text,{style:l||s.default.titleTextStyle},t):null;return r.default.createElement(i.Modal,babelHelpers.extends({onRequestClose:p},c,{visible:d,supportedOrientations:['portrait','landscape']}),r.default.createElement(i.View,{style:n||s.default.overlay},f,(o||this.renderList)(),r.default.createElement(i.View,{style:a||s.default.cancelContainer},(u||this.renderCancelButton)())))}}]),babelHelpers.inherits(t,e),t})(r.Component);n.default=u,u.propTypes={options:o.default.array.isRequired,onSelect:o.default.func.isRequired,onCancel:o.default.func.isRequired,placeholderText:o.default.string,placeholderTextColor:o.default.string,androidUnderlineColor:o.default.string,cancelButtonText:o.default.string,title:o.default.string,noResultsText:o.default.string,visible:o.default.bool,showFilter:o.default.bool,modal:o.default.object,selectedOption:o.default.string,renderOption:o.default.func,renderCancelButton:o.default.func,renderList:o.default.func,listViewProps:o.default.object,filterTextInputContainerStyle:o.default.any,filterTextInputStyle:o.default.any,cancelContainerStyle:o.default.any,cancelButtonStyle:o.default.any,cancelButtonTextStyle:o.default.any,titleTextStyle:o.default.any,overlayStyle:o.default.any,listContainerStyle:o.default.any,optionTextStyle:o.default.any,selectedOptionTextStyle:o.default.any,keyboardShouldPersistTaps:o.default.string},u.defaultProps={placeholderText:'Filter...',placeholderTextColor:'#ccc',androidUnderlineColor:'rgba(0,0,0,0)',cancelButtonText:'Cancel',noResultsText:'No matches',visible:!0,showFilter:!0,keyboardShouldPersistTaps:'never'}},776,[31,48,1,777]); +__d(function(e,t,o,l,n){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i=t(n[0]),r=i.Dimensions.get('window'),a=r.width,d=r.height,c={flex:0,flexDirection:'row',justifyContent:'center',alignItems:'center',paddingVertical:10,paddingHorizontal:10,borderBottomWidth:1,borderBottomColor:'#eee'},f={flex:1,textAlign:'left',color:'#000',fontSize:22},b=i.StyleSheet.create({overlay:{position:'absolute',top:0,left:0,right:0,bottom:0,backgroundColor:'rgba(0,0,0,0.85)',justifyContent:'center',alignItems:'center'},titleTextStyle:{flex:0,color:'#fff',fontSize:20,marginBottom:15},listContainer:{flex:1,width:.8*a,maxHeight:.7*d,backgroundColor:'#fff',borderRadius:0,marginBottom:15},cancelContainer:{flex:0,flexDirection:'row',justifyContent:'center',alignItems:'center'},cancelButton:{flex:0,backgroundColor:'#999',paddingVertical:10,paddingHorizontal:20,borderRadius:10},cancelButtonText:{textAlign:'center',fontSize:18},filterTextInputContainer:{borderBottomWidth:1,borderBottomColor:'#999'},filterTextInput:{paddingVertical:10,paddingHorizontal:15,flex:0,height:50},categoryStyle:babelHelpers.objectSpread({},c),categoryTextStyle:babelHelpers.objectSpread({},f,{color:'#999',fontStyle:'italic',fontSize:16}),optionStyle:babelHelpers.objectSpread({},c),optionStyleLastChild:{borderBottomWidth:0},optionTextStyle:babelHelpers.objectSpread({},f),selectedOptionStyle:babelHelpers.objectSpread({},c),selectedOptionStyleLastChild:{borderBottomWidth:0},selectedOptionTextStyle:babelHelpers.objectSpread({},f,{fontWeight:'700'}),noResults:{flex:0,justifyContent:'center',alignItems:'center',paddingVertical:10,paddingHorizontal:10},noResultsText:{flex:1,textAlign:'center',color:'#ccc',fontStyle:'italic',fontSize:22}});l.default=b},777,[1]); +__d(function(e,t,r,n,a){Object.defineProperty(n,"__esModule",{value:!0});var c={addMessage:!0,getReciters:!0,getChapters:!0,selectChapter:!0,search:!0,clearSearch:!0,loadFilesForReciter:!0};Object.defineProperty(n,"getReciters",{enumerable:!0,get:function(){return o.getReciters}}),Object.defineProperty(n,"getChapters",{enumerable:!0,get:function(){return u.getChapters}}),Object.defineProperty(n,"selectChapter",{enumerable:!0,get:function(){return u.selectChapter}}),Object.defineProperty(n,"search",{enumerable:!0,get:function(){return i.search}}),Object.defineProperty(n,"clearSearch",{enumerable:!0,get:function(){return i.clearSearch}}),Object.defineProperty(n,"loadFilesForReciter",{enumerable:!0,get:function(){return l.loadFilesForReciter}}),n.addMessage=void 0;var o=t(a[0]),u=t(a[1]),i=t(a[2]),l=t(a[3]),s=t(a[4]);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(c,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return s[e]}}))});n.addMessage=function(e){return{type:'HOME',data:e}}},778,[779,795,796,797,798]); +__d(function(t,e,n,r,c){Object.defineProperty(r,"__esModule",{value:!0}),r.getReciters=r.reciters=void 0;var i=e(c[0]),u=e(c[1]),o=function(t){return{type:i.FETCH_RECITERS,data:t}};r.reciters=o;r.getReciters=function(){return function(t){return fetch("https://quranicaudio.com/api/qaris").then(function(t){return t.json()}).then(function(e){return t(o(e))}).catch(function(e){u.Sentry.captureException(e),t(o([]))})}}},779,[780,781]); +__d(function(E,_,A,R,I){Object.defineProperty(R,"__esModule",{value:!0}),R.GET_FILES_FAIL=R.GET_FILES=R.UPDATE_IS_BACKGROUND_PLAY=R.UPDATE_IS_PLAYING=R.AUDIO_PLAYER_MINIMISE=R.AUDIO_PLAYER_SET_SELECTED_SURAH_INDEX=R.AUDIO_PLAYER_SET_SURAHS_LIST=R.AUDIO_PLAYER_GO_BACKWARD=R.AUDIO_PLAYER_GO_FORWARD=R.AUDIO_PLAYER_PLAY_SURAH=R.SELECT_CHAPTER_TO_PLAY=R.FETCH_CHAPTERS_FAIL=R.FETCH_CHAPTERS=R.SEARCH_CLEAR=R.SEARCH=R.FETCH_RECITER_FAIL=R.FETCH_RECITER=R.FETCH_RECITERS_FAIL=R.FETCH_RECITERS=R.HOME=void 0;R.HOME='HOME';R.FETCH_RECITERS='FETCH_RECITERS';R.FETCH_RECITERS_FAIL='FETCH_RECITERS_FAIL';R.FETCH_RECITER='FETCH_RECITERS';R.FETCH_RECITER_FAIL='FETCH_RECITERS';R.SEARCH='SEARCH';R.SEARCH_CLEAR='SEARCH_CLEAR';R.FETCH_CHAPTERS='FETCH_CHAPTERS';R.FETCH_CHAPTERS_FAIL='FETCH_CHAPTERS_FAIL';R.SELECT_CHAPTER_TO_PLAY='SELECT_CHAPTER_TO_PLAY';R.AUDIO_PLAYER_PLAY_SURAH='AUDIO_PLAYER_PLAY_SURAH';R.AUDIO_PLAYER_GO_FORWARD='AUDIO_PLAYER_GO_FORWARD';R.AUDIO_PLAYER_GO_BACKWARD='AUDIO_PLAYER_GO_BACKWARD';R.AUDIO_PLAYER_SET_SURAHS_LIST='AUDIO_PLAYER_SET_SURAHS_LIST';R.AUDIO_PLAYER_SET_SELECTED_SURAH_INDEX='AUDIO_PLAYER_SET_SELECTED_SURAH_INDEX';R.AUDIO_PLAYER_MINIMISE='AUDIO_PLAYER_MINIMISE';R.UPDATE_IS_PLAYING='UPDATE_IS_PLAYING';R.UPDATE_IS_BACKGROUND_PLAY='UPDATE_IS_BACKGROUND_PLAY';R.GET_FILES='GET_FILES';R.GET_FILES_FAIL='GET_FILES_FAIL'},780,[]); +__d(function(e,t,n,r,u){'use strict';Object.defineProperty(r,"__esModule",{value:!0});var c=t(u[0]);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return c[e]}})})},781,[782]); +__d(function(e,t,n,a,r){Object.defineProperty(a,"__esModule",{value:!0}),a.default=a.Sentry=a.SentryLog=a.SentrySeverity=void 0;var i=t(r[0]),l=t(r[1]),s=t(r[2]),o=i.NativeModules.RNSentry,v=i.NativeModules.RNSentryEventEmitter;a.SentrySeverity={Fatal:'fatal',Error:'error',Warning:'warning',Info:'info',Debug:'debug',Critical:'critical'};var c={None:0,Error:1,Debug:2,Verbose:3};a.SentryLog=c;var u={install:function(){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(u._ravenClient=new l.RavenClient(u._dsn,u.options),o&&o.nativeClientAvailable&&!1===u.options.disableNativeIntegration&&(u._nativeClient=new s.NativeClient(u._dsn,u.options),u.eventEmitter=new i.NativeEventEmitter(v),u.eventEmitter.addListener(v.EVENT_SENT_SUCCESSFULLY,function(e){u._lastEvent=e,u._eventSentSuccessfully&&u._eventSentSuccessfully(e)}),u.eventEmitter.addListener(v.EVENT_STORED,function(){u._internalEventStored&&u._internalEventStored()})),!u._nativeClient){e.next=6;break}return e.abrupt("return",u._nativeClient.install().then(function(){u._ravenClient.install()}));case 6:return e.abrupt("return",u._ravenClient.install());case 7:case"end":return e.stop()}},null,this)},config:function(e,t){if('string'!=typeof e)throw new Error('Sentry: A DSN must be provided');return u._dsn=e,u.options={logLevel:c.None,instrument:!1,disableNativeIntegration:!1,handlePromiseRejection:!0},babelHelpers.extends(u.options,t),u},isNativeClientAvailable:function(){return void 0!==u._nativeClient&&!1===u.options.disableNativeIntegration},_log:function(){if(u.options&&u.options.logLevel>=2)for(var e=arguments.length,t=new Array(e),n=0;n=i.SentryLog.Debug&&(u.default.debug=!0)}return babelHelpers.createClass(e,[{key:"install",value:function(){if(i.Sentry.isNativeClientAvailable()&&void 0!==this.options.sampleRate&&(u.default._globalOptions.sampleRate=1),u.default.install(),u.default.addPlugin(t(n[2]),{nativeClientAvailable:i.Sentry.isNativeClientAvailable(),handlePromiseRejection:this.options.handlePromiseRejection},function(e){i.Sentry.options.internal&&(e.dist=i.Sentry.options.internal.dist)}),i.Sentry.isNativeClientAvailable()){u.default.setTransport(function(e){delete e.data.breadcrumbs,i.Sentry._captureEvent(e.data)}),u.default.setBreadcrumbCallback(i.Sentry._breadcrumbCallback);var e=u.default.captureBreadcrumb;u.default.captureBreadcrumb=function(t){return t.data&&'object'==typeof t.data&&(t.data=babelHelpers.extends({},t.data)),e.apply(this,arguments)}}}},{key:"setDataCallback",value:function(e){u.default.setDataCallback(e)}},{key:"setShouldSendCallback",value:function(e){u.default.setShouldSendCallback(e)}},{key:"setUserContext",value:function(e){u.default.setUserContext(e)}},{key:"setTagsContext",value:function(e){u.default.setTagsContext(e)}},{key:"setExtraContext",value:function(e){u.default.setExtraContext(e)}},{key:"captureException",value:function(e,t){u.default.captureException(e,t)}},{key:"captureBreadcrumb",value:function(e){u.default.captureBreadcrumb(e)}},{key:"captureMessage",value:function(e,t){u.default.captureMessage(e,t)}},{key:"setRelease",value:function(e){u.default.setRelease(e)}},{key:"clearContext",value:function(){return u.default.clearContext()}},{key:"context",value:function(e,t,a){return u.default.context(e,t,a)}},{key:"wrap",value:function(e,t,a){return u.default.wrap(e,t,a)}}]),e})();l.RavenClient=r},783,[784,782,792]); +__d(function(n,e,o,f,t){var d=e(t[0]),i='undefined'!=typeof window?window:void 0!==n?n:'undefined'!=typeof self?self:{},r=i.Raven,a=new d;a.noConflict=function(){return i.Raven=r,a},a.afterLoad(),o.exports=a,o.exports.Client=d},784,[785]); +__d(function(t,e,r,n,a){var i=e(a[0]),s=e(a[1]),o=e(a[2]),l=e(a[3]),c=e(a[4]),u=c.isErrorEvent,h=c.isDOMError,p=c.isDOMException,_=c.isError,d=c.isObject,f=c.isPlainObject,g=c.isUndefined,m=c.isFunction,v=c.isString,b=c.isArray,y=c.isEmptyObject,E=c.each,k=c.objectMerge,S=c.truncate,x=c.objectFrozen,O=c.hasKey,w=c.joinRegExp,C=c.urlencode,R=c.uuid4,T=c.htmlTreeAsString,D=c.isSameException,H=c.isSameStacktrace,B=c.parseUrl,j=c.fill,L=c.supportsFetch,P=c.supportsReferrerPolicy,F=c.serializeKeysForMessage,U=c.serializeException,I=c.sanitize,M=e(a[5]).wrapMethod,N='source protocol user pass host port path'.split(' '),q=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function A(){return+new Date}var K='undefined'!=typeof window?window:void 0!==t?t:'undefined'!=typeof self?self:{},X=K.document,z=K.navigator;function W(t,e){return m(e)?function(r){return e(r,t)}:e}function J(){for(var t in this._hasJSON=!('object'!=typeof JSON||!JSON.stringify),this._hasDocument=!g(X),this._hasNavigator=!g(z),this._lastCapturedException=null,this._lastData=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={release:K.SENTRY_RELEASE&&K.SENTRY_RELEASE.id,logger:'javascript',ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],headers:null,collectWindowErrors:!0,captureUnhandledRejections:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,sanitizeKeys:[]},this._fetchDefaults={method:'POST',referrerPolicy:P()?'origin':''},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=K.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=A(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._keypressTimeout,this._location=K.location,this._lastHref=this._location&&this._location.href,this._resetBackoff(),this._originalConsole)this._originalConsoleMethods[t]=this._originalConsole[t]}J.prototype={VERSION:'3.27.0',debug:!1,TraceKit:i,config:function(t,e){var r=this;if(r._globalServer)return this._logDebug('error','Error: Raven has already been configured'),r;if(!t)return r;var n=r._globalOptions;e&&E(e,function(t,e){'tags'===t||'extra'===t||'user'===t?r._globalContext[t]=e:n[t]=e}),r.setDSN(t),n.ignoreErrors.push(/^Script error\.?$/),n.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),n.ignoreErrors=w(n.ignoreErrors),n.ignoreUrls=!!n.ignoreUrls.length&&w(n.ignoreUrls),n.whitelistUrls=!!n.whitelistUrls.length&&w(n.whitelistUrls),n.includePaths=w(n.includePaths),n.maxBreadcrumbs=Math.max(0,Math.min(n.maxBreadcrumbs||100,100));var a={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},s=n.autoBreadcrumbs;'[object Object]'==={}.toString.call(s)?s=k(a,s):!1!==s&&(s=a),n.autoBreadcrumbs=s;var o={tryCatch:!0},l=n.instrument;return'[object Object]'==={}.toString.call(l)?l=k(o,l):!1!==l&&(l=o),n.instrument=l,i.collectWindowErrors=!!n.collectWindowErrors,r},install:function(){var t=this;return t.isSetup()&&!t._isRavenInstalled&&(i.report.subscribe(function(){t._handleOnErrorStackInfo.apply(t,arguments)}),t._globalOptions.captureUnhandledRejections&&t._attachPromiseRejectionHandler(),t._patchFunctionToString(),t._globalOptions.instrument&&t._globalOptions.instrument.tryCatch&&t._instrumentTryCatch(),t._globalOptions.autoBreadcrumbs&&t._instrumentBreadcrumbs(),t._drainPlugins(),t._isRavenInstalled=!0),Error.stackTraceLimit=t._globalOptions.stackTraceLimit,this},setDSN:function(t){var e=this._parseDSN(t),r=e.path.lastIndexOf('/'),n=e.path.substr(1,r);this._dsn=t,this._globalKey=e.user,this._globalSecret=e.pass&&e.pass.substr(1),this._globalProject=e.path.substr(r+1),this._globalServer=this._getGlobalServer(e),this._globalEndpoint=this._globalServer+'/'+n+'api/'+this._globalProject+'/store/',this._resetBackoff()},context:function(t,e,r){return m(t)&&(r=e||[],e=t,t={}),this.wrap(t,e).apply(this,r)},wrap:function(t,e,r){var n=this;if(g(e)&&!m(t))return t;if(m(t)&&(e=t,t=void 0),!m(e))return e;try{if(e.__raven__)return e;if(e.__raven_wrapper__)return e.__raven_wrapper__}catch(t){return e}function a(){var a=[],i=arguments.length,s=!t||t&&!1!==t.deep;for(r&&m(r)&&r.apply(this,arguments);i--;)a[i]=s?n.wrap(t,arguments[i]):arguments[i];try{return e.apply(this,a)}catch(e){throw n._ignoreNextOnError(),n.captureException(e,t),e}}for(var i in e)O(e,i)&&(a[i]=e[i]);return a.prototype=e.prototype,e.__raven_wrapper__=a,a.__raven__=!0,a.__orig__=e,a},uninstall:function(){return i.report.uninstall(),this._detachPromiseRejectionHandler(),this._unpatchFunctionToString(),this._restoreBuiltIns(),this._restoreConsole(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},_promiseRejectionHandler:function(t){this._logDebug('debug','Raven caught unhandled promise rejection:',t),this.captureException(t.reason,{mechanism:{type:'onunhandledrejection',handled:!1}})},_attachPromiseRejectionHandler:function(){return this._promiseRejectionHandler=this._promiseRejectionHandler.bind(this),K.addEventListener&&K.addEventListener('unhandledrejection',this._promiseRejectionHandler),this},_detachPromiseRejectionHandler:function(){return K.removeEventListener&&K.removeEventListener('unhandledrejection',this._promiseRejectionHandler),this},captureException:function(t,e){if(e=k({trimHeadFrames:0},e||{}),u(t)&&t.error)t=t.error;else{if(h(t)||p(t)){var r=t.name||(h(t)?'DOMError':'DOMException'),n=t.message?r+': '+t.message:r;return this.captureMessage(n,k(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}))}if(_(t))t=t;else{if(!f(t))return this.captureMessage(t,k(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}));e=this._getCaptureExceptionOptionsFromPlainObject(e,t),t=new Error(e.message)}}this._lastCapturedException=t;try{var a=i.computeStackTrace(t);this._handleStackInfo(a,e)}catch(e){if(t!==e)throw e}return this},_getCaptureExceptionOptionsFromPlainObject:function(t,e){var r=Object.keys(e).sort(),n=k(t,{message:'Non-Error exception captured with keys: '+F(r),fingerprint:[o(r)],extra:t.extra||{}});return n.extra.__serialized__=U(e),n},captureMessage:function(t,e){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(t)){var r,n=k({message:t+=''},e=e||{});try{throw new Error(t)}catch(t){r=t}r.name=null;var a=i.computeStackTrace(r),s=b(a.stack)&&a.stack[1];s&&'Raven.captureException'===s.func&&(s=a.stack[2]);var o=s&&s.url||'';if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(o))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(o))){if(this._globalOptions.stacktrace||e.stacktrace||''===n.message){n.fingerprint=null==n.fingerprint?t:n.fingerprint,(e=k({trimHeadFrames:0},e)).trimHeadFrames+=1;var l=this._prepareFrames(a,e);n.stacktrace={frames:l.reverse()}}return n.fingerprint&&(n.fingerprint=b(n.fingerprint)?n.fingerprint:[n.fingerprint]),this._send(n),this}}},captureBreadcrumb:function(t){var e=k({timestamp:A()/1e3},t);if(m(this._globalOptions.breadcrumbCallback)){var r=this._globalOptions.breadcrumbCallback(e);if(d(r)&&!y(r))e=r;else if(!1===r)return this}return this._breadcrumbs.push(e),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(t){var e=[].slice.call(arguments,1);return this._plugins.push([t,e]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(t){return this._globalContext.user=t,this},setExtraContext:function(t){return this._mergeContext('extra',t),this},setTagsContext:function(t){return this._mergeContext('tags',t),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(s(this._globalContext))},setEnvironment:function(t){return this._globalOptions.environment=t,this},setRelease:function(t){return this._globalOptions.release=t,this},setDataCallback:function(t){var e=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=W(e,t),this},setBreadcrumbCallback:function(t){var e=this._globalOptions.breadcrumbCallback;return this._globalOptions.breadcrumbCallback=W(e,t),this},setShouldSendCallback:function(t){var e=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=W(e,t),this},setTransport:function(t){return this._globalOptions.transport=t,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!!this._hasJSON&&(!!this._globalServer||(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug('error','Error: Raven has not been configured.')),!1))},afterLoad:function(){var t=K.RavenConfig;t&&this.config(t.dsn,t.config).install()},showReportDialog:function(t){if(X){if(!(t=k({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},t)).eventId)throw new l('Missing eventId');if(!t.dsn)throw new l('Missing DSN');var e=encodeURIComponent,r=[];for(var n in t)if('user'===n){var a=t.user;a.name&&r.push('name='+e(a.name)),a.email&&r.push('email='+e(a.email))}else r.push(e(n)+'='+e(t[n]));var i=this._getGlobalServer(this._parseDSN(t.dsn)),s=X.createElement('script');s.async=!0,s.src=i+'/api/embed/error-page/?'+r.join('&'),(X.head||X.body).appendChild(s)}},_ignoreNextOnError:function(){var t=this;this._ignoreOnError+=1,setTimeout(function(){t._ignoreOnError-=1})},_triggerEvent:function(t,e){var r,n;if(this._hasDocument){for(n in e=e||{},t='raven'+t.substr(0,1).toUpperCase()+t.substr(1),X.createEvent?(r=X.createEvent('HTMLEvents')).initEvent(t,!0,!0):(r=X.createEventObject()).eventType=t,e)O(e,n)&&(r[n]=e[n]);if(X.createEvent)X.dispatchEvent(r);else try{X.fireEvent('on'+r.eventType.toLowerCase(),r)}catch(t){}}},_breadcrumbEventHandler:function(t){var e=this;return function(r){if(e._keypressTimeout=null,e._lastCapturedEvent!==r){var n;e._lastCapturedEvent=r;try{n=T(r.target)}catch(t){n=''}e.captureBreadcrumb({category:'ui.'+t,message:n})}}},_keypressEventHandler:function(){var t=this;return function(e){var r;try{r=e.target}catch(t){return}var n=r&&r.tagName;if(n&&('INPUT'===n||'TEXTAREA'===n||r.isContentEditable)){var a=t._keypressTimeout;a||t._breadcrumbEventHandler('input')(e),clearTimeout(a),t._keypressTimeout=setTimeout(function(){t._keypressTimeout=null},1e3)}}},_captureUrlChange:function(t,e){var r=B(this._location.href),n=B(e),a=B(t);this._lastHref=e,r.protocol===n.protocol&&r.host===n.host&&(e=n.relative),r.protocol===a.protocol&&r.host===a.host&&(t=a.relative),this.captureBreadcrumb({category:'navigation',data:{to:e,from:t}})},_patchFunctionToString:function(){var t=this;t._originalFunctionToString=Function.prototype.toString,Function.prototype.toString=function(){return'function'==typeof this&&this.__raven__?t._originalFunctionToString.apply(this.__orig__,arguments):t._originalFunctionToString.apply(this,arguments)}},_unpatchFunctionToString:function(){this._originalFunctionToString&&(Function.prototype.toString=this._originalFunctionToString)},_instrumentTryCatch:function(){var t=this,e=t._wrappedBuiltIns;function r(e){return function(r,n){for(var a=new Array(arguments.length),i=0;i'}}},s)),e.apply?e.apply(this,a):e(a[0],a[1])}}var n=this._globalOptions.autoBreadcrumbs;function a(r){var a=K[r]&&K[r].prototype;a&&a.hasOwnProperty&&a.hasOwnProperty('addEventListener')&&(j(a,'addEventListener',function(e){return function(a,i,s,o){try{i&&i.handleEvent&&(i.handleEvent=t.wrap({mechanism:{type:'instrument',data:{target:r,function:'handleEvent',handler:i&&i.name||''}}},i.handleEvent))}catch(t){}var l,c,u;return n&&n.dom&&('EventTarget'===r||'Node'===r)&&(c=t._breadcrumbEventHandler('click'),u=t._keypressEventHandler(),l=function(t){if(t){var e;try{e=t.type}catch(t){return}return'click'===e?c(t):'keypress'===e?u(t):void 0}}),e.call(this,a,t.wrap({mechanism:{type:'instrument',data:{target:r,function:'addEventListener',handler:i&&i.name||''}}},i,l),s,o)}},e),j(a,'removeEventListener',function(t){return function(e,r,n,a){try{r=r&&(r.__raven_wrapper__?r.__raven_wrapper__:r)}catch(t){}return t.call(this,e,r,n,a)}},e))}j(K,'setTimeout',r,e),j(K,'setInterval',r,e),K.requestAnimationFrame&&j(K,'requestAnimationFrame',function(e){return function(r){return e(t.wrap({mechanism:{type:'instrument',data:{function:'requestAnimationFrame',handler:e&&e.name||''}}},r))}},e);for(var i=['EventTarget','Window','Node','ApplicationCache','AudioTrackList','ChannelMergerNode','CryptoOperation','EventSource','FileReader','HTMLUnknownElement','IDBDatabase','IDBRequest','IDBTransaction','KeyOperation','MediaController','MessagePort','ModalWindow','Notification','SVGElementInstance','Screen','TextTrack','TextTrackCue','TextTrackList','WebSocket','WebSocketWorker','Worker','XMLHttpRequest','XMLHttpRequestEventTarget','XMLHttpRequestUpload'],s=0;s'}}},r)})}if(e.xhr&&'XMLHttpRequest'in K){var a=K.XMLHttpRequest&&K.XMLHttpRequest.prototype;j(a,'open',function(e){return function(r,n){return v(n)&&-1===n.indexOf(t._globalKey)&&(this.__raven_xhr={method:r,url:n,status_code:null}),e.apply(this,arguments)}},r),j(a,'send',function(e){return function(){var r=this;function a(){if(r.__raven_xhr&&4===r.readyState){try{r.__raven_xhr.status_code=r.status}catch(t){}t.captureBreadcrumb({type:'http',category:'xhr',data:r.__raven_xhr})}}for(var i=['onload','onerror','onprogress'],s=0;s'}}},e,a)}):r.onreadystatechange=a,e.apply(this,arguments)}},r)}e.xhr&&L()&&j(K,'fetch',function(e){return function(){for(var r=new Array(arguments.length),n=0;n2?arguments[2]:void 0;return r&&t._captureUrlChange(t._lastHref,r+''),e.apply(this,arguments)}};j(K.history,'pushState',l,r),j(K.history,'replaceState',l,r)}if(e.console&&'console'in K&&function(){}){var c=function(e,r){t.captureBreadcrumb({message:e,level:r.level,category:'console'})};E(['debug','info','warn','error','log'],function(t,e){M(console,e,c)})}},_restoreBuiltIns:function(){for(var t;this._wrappedBuiltIns.length;){var e=(t=this._wrappedBuiltIns.shift())[0],r=t[1],n=t[2];e[r]=n}},_restoreConsole:function(){for(var t in this._originalConsoleMethods)this._originalConsole[t]=this._originalConsoleMethods[t]},_drainPlugins:function(){var t=this;E(this._plugins,function(e,r){var n=r[0],a=r[1];n.apply(t,[t].concat(a))})},_parseDSN:function(t){var e=q.exec(t),r={},n=7;try{for(;n--;)r[N[n]]=e[n]||''}catch(e){throw new l('Invalid DSN: '+t)}if(r.pass&&!this._globalOptions.allowSecretKey)throw new l('Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key');return r},_getGlobalServer:function(t){var e='//'+t.host+(t.port?':'+t.port:'');return t.protocol&&(e=t.protocol+':'+e),e},_handleOnErrorStackInfo:function(t,e){(e=e||{}).mechanism=e.mechanism||{type:'onerror',handled:!1},this._ignoreOnError||this._handleStackInfo(t,e)},_handleStackInfo:function(t,e){var r=this._prepareFrames(t,e);this._triggerEvent('handle',{stackInfo:t,options:e}),this._processException(t.name,t.message,t.url,t.lineno,r,e)},_prepareFrames:function(t,e){var r=this,n=[];if(t.stack&&t.stack.length&&(E(t.stack,function(e,a){var i=r._normalizeFrame(a,t.url);i&&n.push(i)}),e&&e.trimHeadFrames))for(var a=0;a0&&(t.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),this._globalContext.user&&(t.user=this._globalContext.user),e.environment&&(t.environment=e.environment),e.release&&(t.release=e.release),e.serverName&&(t.server_name=e.serverName),t=this._sanitizeData(t),Object.keys(t).forEach(function(e){(null==t[e]||''===t[e]||y(t[e]))&&delete t[e]}),m(e.dataCallback)&&(t=e.dataCallback(t)||t),t&&!y(t)&&(m(e.shouldSendCallback)&&!e.shouldSendCallback(t)||(this._shouldBackoff()?this._logDebug('warn','Raven dropped error due to backoff: ',t):'number'==typeof e.sampleRate?Math.random()=0;--n)t[n]===e&&t.splice(n,1)},g.uninstall=function(){n&&(i.onerror=e,n=!1,e=void 0),t=[]},g})(),u.computeStackTrace=(function(){function e(e){if(void 0!==e.stack&&e.stack){for(var n,t,l,r=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack||[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,o=/\((\S*)(?::(\d+))(?::(\d+))\)/,s=e.stack.split('\n'),m=[],d=(/^(.*) is undefined$/.exec(e.message),0),p=s.length;d eval')>-1&&(n=i.exec(t[3]))?(t[3]=n[1],t[4]=n[2],t[5]=null):0!==d||t[5]||void 0===e.columnNumber||(m[0].column=e.columnNumber+1),l={url:t[3],func:t[1]||a,args:t[2]?t[2].split(','):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}if(!l.func&&l.line&&(l.func=a),l.url&&'blob:'===l.url.substr(0,5)){var g=new XMLHttpRequest;if(g.open('GET',l.url,!1),g.send(null),200===g.status){var h=g.responseText||'',b=(h=h.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(b){var k=b[1];'~'===k.charAt(0)&&(k=('undefined'==typeof document||null==document.location?'':document.location.origin?document.location.origin:document.location.protocol+'//'+document.location.hostname+(document.location.port?':'+document.location.port:''))+k.slice(1)),l.url=k.slice(0,-4)}}}m.push(l)}return m.length?{name:e.name,message:e.message,url:f(),stack:m}:null}}function n(e,n,t,l){var r={url:n,line:t};if(r.url&&r.line){if(e.incomplete=!1,r.func||(r.func=a),e.stack.length>0&&e.stack[0].url===r.url){if(e.stack[0].line===r.line)return!1;if(!e.stack[0].line&&e.stack[0].func===r.func)return e.stack[0].line=r.line,!1}return e.stack.unshift(r),e.partial=!0,!0}return e.incomplete=!0,!1}function t(e,r){for(var c,i,o=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,s=[],m={},d=!1,p=t.caller;p&&!d;p=p.caller)if(p!==l&&p!==u.report){if(i={url:null,func:a,line:null,column:null},p.name?i.func=p.name:(c=o.exec(p.toString()))&&(i.func=c[1]),void 0===i.func)try{i.func=c.input.substring(0,c.input.indexOf('{'))}catch(e){}m[''+p]?d=!0:m[''+p]=!0,s.push(i)}r&&s.splice(0,r);var v={name:e.name,message:e.message,url:f(),stack:s};return n(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function l(n,l){var r=null;l=null==l?0:+l;try{if(r=e(n))return r}catch(e){if(u.debug)throw e}try{if(r=t(n,l+1))return r}catch(e){if(u.debug)throw e}return{name:n.name,message:n.message,url:f()}}return l.augmentStackTraceWithInitialElement=n,l.computeStackTraceFromStackProp=e,l})(),t.exports=u},786,[787]); +__d(function(t,r,n,e,o){var i=r(o[0]),u='undefined'!=typeof window?window:void 0!==t?t:'undefined'!=typeof self?self:{};function c(t){return void 0===t}function a(t){return'[object Object]'===Object.prototype.toString.call(t)}function f(t){return'[object String]'===Object.prototype.toString.call(t)}function s(t){return'[object Array]'===Object.prototype.toString.call(t)}function l(){if(!('fetch'in u))return!1;try{return new Headers,new Request(''),new Response,!0}catch(t){return!1}}function p(t,r){var n,e;if(c(t.length))for(n in t)g(t,n)&&r.call(null,n,t[n]);else if(e=t.length)for(n=0;n ".length;t&&e++<5&&!('html'===(r=b(t))||e>1&&o+n.length*i+r.length>=80);)n.push(r),o+=r.length,t=t.parentNode;return n.reverse().join(" > ")},htmlElementAsString:b,isSameException:function(t,r){return!v(t,r)&&(t=t.values[0],r=r.values[0],t.type===r.type&&t.value===r.value&&(n=t.stacktrace,e=r.stacktrace,(!c(n)||!c(e))&&j(t.stacktrace,r.stacktrace)));var n,e},isSameStacktrace:j,parseUrl:function(t){if('string'!=typeof t)return{};var r=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),n=r[6]||'',e=r[8]||'';return{protocol:r[2],host:r[4],path:r[5],relative:r[5]+n+e}},fill:function(t,r,n,e){if(null!=t){var o=t[r];t[r]=n(o),t[r].__raven__=!0,t[r].__orig__=o,e&&e.push([t,r,o])}},safeJoin:function(t,r){if(!s(t))return'';for(var n=[],e=0;ee?t(r,n-1):u},serializeKeysForMessage:function(t,r){if('number'==typeof t||'string'==typeof t)return t.toString();if(!Array.isArray(t))return'';if(0===(t=t.filter(function(t){return'string'==typeof t})).length)return'[object has no keys]';if(r='number'!=typeof r?d:r,t[0].length>=r)return t[0];for(var n=t.length;n>0;n--){var e=t.slice(0,n).join(', ');if(!(e.length>r))return n===t.length?e:e+"\u2026"}return''},sanitize:function(t,r){if(!s(r)||s(r)&&0===r.length)return t;var n,e=h(r),o='********';try{n=JSON.parse(i(t))}catch(r){return t}return(function t(r){return s(r)?r.map(function(r){return t(r)}):a(r)?Object.keys(r).reduce(function(n,i){return e.test(i)?n[i]=o:n[i]=t(r[i]),n},{}):r})(n)}}},787,[788]); +__d(function(r,n,t,e,i){function s(r,n){for(var t=0;t0){var c=s(t,this);~c?t.splice(c+1):t.push(this),~c?e.splice(c,1/0,i):e.push(i),~s(t,a)&&(a=n.call(this,i,a))}else t.push(a);return null==r?a instanceof Error?u(a):a:r.call(this,i,a)}}(t.exports=function(r,n,t,e){return JSON.stringify(r,a(n,e),t)}).getSerialize=a},788,[]); +__d(function(n,r,t,e,o){function u(n,r){var t=(65535&n)+(65535&r);return(n>>16)+(r>>16)+(t>>16)<<16|65535&t}function c(n,r,t,e,o,c){return u((f=u(u(r,n),u(e,c)))<<(i=o)|f>>>32-i,t);var f,i}function f(n,r,t,e,o,u,f){return c(r&t|~r&e,n,r,o,u,f)}function i(n,r,t,e,o,u,f){return c(r&e|t&~e,n,r,o,u,f)}function a(n,r,t,e,o,u,f){return c(r^t^e,n,r,o,u,f)}function h(n,r,t,e,o,u,f){return c(t^(r|~e),n,r,o,u,f)}function g(n,r){var t,e,o,c,g;n[r>>5]|=128<>>9<<4)]=r;var v=1732584193,l=-271733879,d=-1732584194,C=271733878;for(t=0;t>5]>>>r%32&255);return t}function l(n){var r,t=[];for(t[(n.length>>2)-1]=void 0,r=0;r>5]|=(255&n.charCodeAt(r/8))<16&&(o=g(o,8*n.length)),t=0;t<16;t+=1)u[t]=909522486^o[t],c[t]=1549556828^o[t];return e=g(u.concat(l(r)),512+8*r.length),v(g(c.concat(e),640))}function A(n){var r,t,e='';for(t=0;t>>4&15)+"0123456789abcdef".charAt(15&r);return e}function p(n){return unescape(encodeURIComponent(n))}function b(n){return d(p(n))}function m(n,r){return C(p(n),p(r))}t.exports=function(n,r,t){return r?t?m(r,n):A(m(r,n)):t?b(n):A(b(n))}},789,[]); +__d(function(o,r,t,n,e){function s(o){this.name='RavenConfigError',this.message=o}s.prototype=new Error,s.prototype.constructor=s,t.exports=s},790,[]); +__d(function(e,a,n,r,o){var s=a(o[0]);n.exports={wrapMethod:function(e,a,n){var r=e[a],o=e;if(a in e){var t='warn'===a?'warning':a;e[a]=function(){var e=[].slice.call(arguments),i=s.safeJoin(e,' '),l={level:t,logger:'console',extra:{arguments:e}};'assert'===a?!1===e[0]&&(i='Assertion failed: '+(s.safeJoin(e.slice(1),' ')||'console.assert'),l.extra.arguments=e.slice(1),n&&n(i,l)):n&&n(i,l),r&&Function.prototype.apply.call(r,o,e)}}}}},791,[787]); +__d(function(e,t,n,a,r){'use strict';var o=t(r[0]),i=t(r[1]);function l(e){return function(t,n){var a=e(t)||t;return n&&n(a)||a}}var c=/^.*\/[^\.]+(\.app|CodePush|.*(?=\/))/,s='--rn-fatal--';function u(e,t){return'app://'+e.replace(/^file\:\/\//,'').replace(t,'')}function f(e){var t=[];for(var n in e)({}).hasOwnProperty.call(e,n)&&t.push(encodeURIComponent(n)+'='+encodeURIComponent(e[n]));return t.join('&')}function d(n,a,o){a=a||{},n.setDataCallback(l(function(e){e=d._normalizeData(e,a.pathStrip),o&&o(e)})),!1===a.nativeClientAvailable&&(n.setTransport(d._transport),d._restorePayload().then(function(e){a.onInitialize&&a.onInitialize(e),e&&n._sendProcessedPayload(e,function(e){e||d._clearPayload()})}).catch(function(){}),n.setShouldSendCallback(function(e,t){if(!(s in e))return!t||t.call(this,e);var n=e[s];return delete e[s],d._persistPayload(e).then(function(){return u(n,!0),c=!1,null}).catch(function(){}),!1}));var c=!1,u=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler()||ErrorUtils._globalHandler;if(a.handlePromiseRejection){var f=t(r[2]);f.disable(),f.enable({allRejections:!0,onUnhandled:function(e,t){var a={timestamp:new Date/1e3,type:'Unhandled Promise Rejection'};n.captureException(t,a)},onHandled:function(){}})}ErrorUtils.setGlobalHandler(function(t,r){var o={timestamp:new Date/1e3};t=arguments[0];if(r&&(o.level='fatal'),r&&!e.__DEV__){if(c)return;c=!0,o[s]=t}n.captureException(t,o),a.nativeClientAvailable?i.Sentry._setInternalEventStored(function(){u(t,r)}):u(t,r)})}d._persistPayload=function(e){return t(r[0]).AsyncStorage.setItem("--raven-js-global-error-payload--",JSON.stringify(e)).catch(function(){return null})},d._restorePayload=function(){var e=t(r[0]).AsyncStorage,n=e.getItem("--raven-js-global-error-payload--").then(function(e){return JSON.parse(e)}).catch(function(){return null}),a=o.NativeModules.AsyncSQLiteDBStorage,i=o.NativeModules.AsyncRocksDBStorage,l=o.NativeModules.AsyncLocalStorage;return(i||a||l).multiGet&&e.flushGetRequests(),n},d._clearPayload=function(){return t(r[0]).AsyncStorage.removeItem("--raven-js-global-error-payload--").catch(function(){return null})},d._transport=function(e){var t=new XMLHttpRequest;t.onreadystatechange=function(n){if(4===t.readyState)if(200===t.status)e.onSuccess&&e.onSuccess();else if(e.onError){var a=new Error('Sentry error code: '+t.status);a.request=t,e.onError(a)}},t.open('POST',e.url+'?'+f(e.auth)),t.setRequestHeader('Content-type','application/json'),t.setRequestHeader('Origin','react-native://'),t.send(JSON.stringify(e.data))},d._normalizeData=function(e,t){t||(t=c),e.culprit&&(e.culprit=u(e.culprit,t)),e.transaction&&(e.transaction=u(e.transaction,t));var n=e.stacktrace||e.exception&&e.exception.values[0].stacktrace;return n&&n.frames.forEach(function(e){'[native code]'!==e.filename&&(e.filename=u(e.filename,t))}),e},n.exports=d},792,[1,782,793]); +__d(function(n,e,o,r,l){'use strict';var d=e(l[0]),t=[ReferenceError,TypeError,RangeError],i=!1;function u(){i=!1,d._37=null,d._87=null}function a(n,e){((e&&(e.stack||e))+'').split('\n').forEach(function(n){})}function c(n,e){return e.some(function(e){return n instanceof e})}r.disable=u,r.enable=function(n){n=n||{},i&&u();i=!0;var e=0,o=0,r={};function l(e){(n.allRejections||c(r[e].error,n.whitelist||t))&&(r[e].displayId=o++,n.onUnhandled?(r[e].logged=!0,n.onUnhandled(r[e].displayId,r[e].error)):(r[e].logged=!0,a(r[e].displayId,r[e].error)))}function _(e){r[e].logged&&(n.onHandled?n.onHandled(r[e].displayId,r[e].error):r[e].onUnhandled)}d._37=function(n){2===n._65&&r[n._51]&&(r[n._51].logged?_(n._51):clearTimeout(r[n._51].timeout),delete r[n._51])},d._87=function(n,o){0===n._40&&(n._51=e++,r[n._51]={displayId:null,error:o,timeout:setTimeout(l.bind(null,n._51),c(o,t)?100:2e3),logged:!1})}}},793,[22]); +__d(function(e,t,n,a,r){Object.defineProperty(a,"__esModule",{value:!0}),a.NativeClient=void 0;var i=t(r[0]),o=i.NativeModules.RNSentry,u=i.NativeModules.RNSentryEventEmitter,s=['AccessibilityManager','ActionSheetManager','AlertManager','AppState','AsyncLocalStorage','Clipboard','DevLoadingView','DevMenu','ExceptionsManager','I18nManager','ImageEditingManager','ImageStoreManager','ImageViewManager','IOSConstants','JSCExecutor','JSCSamplingProfiler','KeyboardObserver','LinkingManager','LocationObserver','NativeAnimatedModule','NavigatorManager','NetInfo','Networking','RedBox','ScrollViewManager','SettingsManager','SourceCode','StatusBarManager','Timing','UIManager','Vibration','WebSocketModule','WebViewManager'],c=(function(){function e(n,a){var i=this;if(babelHelpers.classCallCheck(this,e),this._activateStacktraceMerging=function(){return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.activateStacktraceMerging().then(function(e){if(!i._activatedMerging){i._ignoredModules={};var n=t(r[1]);if('undefined'!=typeof __fbBatchedBridgeConfig)__fbBatchedBridgeConfig.remoteModuleConfig.forEach(function(e,t){null!==e&&i._addIgnoredModule(t,e[0])});else if(n._remoteModuleTable)for(var a in n._remoteModuleTable)if(n._remoteModuleTable.hasOwnProperty(a)){var o=n._remoteModuleTable[a];i._addIgnoredModule(a,o)}i._activatedMerging=!0,i._overwriteEnqueueNativeCall()}}).catch(function(e){}));case 1:case"end":return e.stop()}},null,this)},n.constructor!==String)throw new Error('Sentry: A DSN must be provided');if(!o)throw new Error('Sentry: There is no native client installed.');this._dsn=n,this._activatedMerging=!1,this.options={ignoreModulesExclude:[],ignoreModulesInclude:[],deactivateStacktraceMerging:!0},babelHelpers.extends(this.options,a)}return babelHelpers.createClass(e,[{key:"install",value:function(){var e=this;return regeneratorRuntime.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",o.startWithDsnString(this._dsn,this.options).then(function(){!1===e.options.deactivateStacktraceMerging&&(e._activateStacktraceMerging(),new i.NativeEventEmitter(u).addListener(u.MODULE_TABLE,function(t){try{e._updateIgnoredModules(JSON.parse(t.payload))}catch(e){}}));o.setLogLevel(e.options.logLevel)}));case 1:case"end":return t.stop()}},null,this)}},{key:"_cloneObject",value:function(e){return JSON.parse(JSON.stringify(e))}},{key:"nativeCrash",value:function(){o.crash()}},{key:"captureEvent",value:function(e){o.captureEvent(this._cloneObject(e))}},{key:"setUserContext",value:function(e){o.setUser(this._cloneObject(e))}},{key:"setTagsContext",value:function(e){o.setTags(this._cloneObject(e))}},{key:"setExtraContext",value:function(e){o.setExtra(this._cloneObject(e))}},{key:"addExtraContext",value:function(e,t){o.addExtra(e,t)}},{key:"captureBreadcrumb",value:function(e){o.captureBreadcrumb(this._cloneObject(e))}},{key:"clearContext",value:function(){o.clearContext()}},{key:"_updateIgnoredModules",value:function(e){for(var t=Object.values(e),n=Object.keys(e),a=0;a=0||this.options.ignoreModulesInclude.indexOf(t)>=0)&&(this._ignoredModules[e]=!0)}},{key:"_overwriteEnqueueNativeCall",value:function(){var e=t(r[1]),n=e.enqueueNativeCall,a=this;e.enqueueNativeCall=function(e,t,r,i,o){return a._ignoredModules[e]?n.apply(this,arguments):(r.push({__sentry_stack:(new Error).stack,__sentry_moduleID:e}),n.apply(this,arguments))}}}]),e})();a.NativeClient=c},794,[1,5]); +__d(function(t,e,n,r,c){Object.defineProperty(r,"__esModule",{value:!0}),r.getChapters=r.selectChapter=r.chapters=void 0;var u=e(c[0]),a=e(c[1]),o=function(t){return{type:u.FETCH_CHAPTERS,data:t}};r.chapters=o;r.selectChapter=function(t){return{type:u.SELECT_CHAPTER_TO_PLAY,data:t}};r.getChapters=function(){return function(t){return fetch("https://quranicaudio.com/api/surahs").then(function(t){return t.json()}).then(function(e){return t(o(e))}).catch(function(e){a.Sentry.captureException(e),t(o([]))})}}},795,[780,781]); +__d(function(e,n,r,t,u){Object.defineProperty(t,"__esModule",{value:!0}),t.clearSearch=function(){return{type:c.SEARCH_CLEAR}},t.search=function(e){return{type:c.SEARCH,input:e}};var c=n(u[0])},796,[780]); +__d(function(e,t,n,i,r){Object.defineProperty(i,"__esModule",{value:!0}),i.loadFilesForReciter=i.files=void 0;var o=t(r[0]),u=t(r[1]),c=function(e){return{type:o.GET_FILES,data:e}};i.files=c;i.loadFilesForReciter=function(e){var t="https://quranicaudio.com/api/qaris/"+e+"/audio_files/mp3";return function(e){return fetch(t).then(function(e){return e.json()}).then(function(t){return e(c(t))}).catch(function(t){u.Sentry.captureException(t),e(c([]))})}}},797,[780,781]); +__d(function(e,t,n,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.updateIsBackgroundPlay=a.updateIsPlaying=a.minimisePlayer=a.setSelectedItemIndex=a.setItemsList=a.setPlayingSurah=void 0;var r=t(i[0]);a.setPlayingSurah=function(){};a.setItemsList=function(e){return function(t){var n;t((n=e,{type:r.AUDIO_PLAYER_SET_SURAHS_LIST,data:n}))}};a.setSelectedItemIndex=function(e){return function(t){var n;t((n=e,{type:r.AUDIO_PLAYER_SET_SELECTED_SURAH_INDEX,data:n}))}};a.minimisePlayer=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.AUDIO_PLAYER_MINIMISE,data:{minimise:e}}};a.updateIsPlaying=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.UPDATE_IS_PLAYING,data:{playing:e}}};a.updateIsBackgroundPlay=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:r.UPDATE_IS_BACKGROUND_PLAY,data:{isBackgroundPlay:e}}}},798,[780]); +__d(function(e,o,r,a,l){Object.defineProperty(a,"__esModule",{value:!0}),a.baseHeaderStyle=a.backgroundColor=a.brandColor=void 0;a.brandColor='#161616';a.backgroundColor="#258489";var d={headerStyle:{backgroundColor:"#258489",elevation:1,paddingTop:10,height:100},headerTitleStyle:{color:'white',fontSize:30},headerBackTitleStyle:{color:'white'},headerTintColor:'white'};a.baseHeaderStyle=d},799,[]); +__d(function(e,a,i,t,l){Object.defineProperty(t,"__esModule",{value:!0}),t.SEARCH_FILTER_OPTIONS=void 0;t.SEARCH_FILTER_OPTIONS=[{key:1,label:'Recitations'},{key:2,label:'Recitations from Haramain Taraweeh'},{key:3,label:'Non-Hafs Recitations'},{key:4,label:'Recitations with Translations'}]},800,[]); +__d(function(e,t,r,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var l=babelHelpers.interopRequireDefault(t(a[0])),i=babelHelpers.interopRequireDefault(t(a[1])),u=t(a[2]),s=t(a[3]),o=babelHelpers.interopRequireDefault(t(a[4])),c=babelHelpers.interopRequireDefault(t(a[5]));function d(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n flex: 1;\n font-size: 20px;\n justify-content: center;\n align-self: center;\n margin-top: 50%;\n"]);return d=function(){return e},e}function f(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n color: #2ca4ab;\n"]);return f=function(){return e},e}function p(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n color: ",";\n font-size: 16px;\n background: ",";\n padding: ",";\n"]);return p=function(){return e},e}var m=o.default.Text(p(),function(e){return e.divider?'white':'black'},function(e){return e.divider?'#258489':'white'},function(e){return e.divider?'10px':'0'}),b=(function(e){function t(){var e,r,n;babelHelpers.classCallCheck(this,t);for(var a=arguments.length,i=new Array(a),u=0;u-1}),r=e.filter(function(e){return e.name.indexOf('Makkah')>-1});return l.default.createElement(l.default.Fragment,null,l.default.createElement(m,{divider:!0},"Makkah"),n.renderListItems(r),l.default.createElement(m,{divider:!0},"Madinah"),n.renderListItems(t))},n.renderReciters=function(e){var t=e.item,r=2===n.props.section;return t.hasReciters&&r?n.renderHaramainSection(t.reciters):t.hasReciters?l.default.createElement(l.default.Fragment,null,l.default.createElement(m,{divider:!0},t.letter),n.renderListItems(t.reciters)):null},r))}return babelHelpers.createClass(t,[{key:"renderListItems",value:function(e){var t=this;return e.map(function(e){return l.default.createElement(s.ListItem,{key:e.id,style:{marginRight:10},onPress:function(){return t.props.actions.navigate('Chapters',{reciter:e})}},l.default.createElement(m,null,e.name))})}},{key:"render",value:function(){var e=this.props,t=e.reciters,r=e.section,n=(0,i.default)(t,r);return n.length<1?l.default.createElement(h,null,l.default.createElement(v,{name:"exclamation-triangle",size:25})," No Recitation(s) found."):l.default.createElement(u.FlatList,{data:n,renderItem:this.renderReciters})}}]),babelHelpers.inherits(t,e),t})(l.default.PureComponent),v=(0,o.default)(c.default)(f()),h=o.default.Text(d()),g=b;n.default=g},801,[31,802,1,456,803,821]); +__d(function(e,t,r,n,i){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=e.map(function(e){return babelHelpers.objectSpread({},e,{letter:e.name.toUpperCase().charAt(0)})});return u.map(function(e){var n=r.filter(function(t){return t.letter===e}).filter(function(e){return e.section_id===Number(t)});return{letter:e,reciters:n,hasReciters:n.length>0}})};var u='abcdefghijklmnopqrstuvwxyz'.toUpperCase().split('')},802,[]); +__d(function(n,o,t,_,c){t.exports=o(c[0])},803,[804]); +__d(function(t,e,r,n,o){'use strict';function i(t){return t&&'object'==typeof t&&'default'in t?t.default:t}Object.defineProperty(n,'__esModule',{value:!0});var s=i(e(o[0])),a=i(e(o[1])),c=i(e(o[2])),u=i(e(o[3])),p=i(e(o[4])),h=i(e(o[5])),l=e(o[6]),f=i(l),d=e(o[7]);function y(t){for(var e,r=0|t.length,n=0|r,o=0;r>=4;)e=1540483477*(65535&(e=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(e>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),r-=4,++o;switch(r){case 3:n^=(255&t.charCodeAt(o+2))<<16;case 2:n^=(255&t.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}var m=/([A-Z])/g;var v=function(t){return t.replace(m,'-$1').toLowerCase()},w=/^ms-/;var g=function(t){return v(t).replace(w,'-ms-')},b=function t(e,r){var n=Object.keys(e).filter(function(t){var r=e[t];return void 0!==r&&null!==r&&!1!==r&&''!==r}).map(function(r){return c(e[r])?t(e[r],r):g(r)+': '+e[r]+';'}).join(' ');return r?r+' {\n '+n+'\n}':n},k=function t(e,r){return e.reduce(function(e,n){return void 0===n||null===n||!1===n||''===n?e:Array.isArray(n)?[].concat(e,t(n,r)):n.hasOwnProperty('styledComponentId')?[].concat(e,['.'+n.styledComponentId]):'function'==typeof n?r?e.concat.apply(e,t([n(r)],r)):e.concat(n):e.concat(c(n)?b(n):n.toString())},[])},C={};function S(t){C[t]||(C[t]=!0)}var x='\''.charCodeAt(0),A='"'.charCodeAt(0),O='\\'.charCodeAt(0),R='/'.charCodeAt(0),N='\n'.charCodeAt(0),I=' '.charCodeAt(0),E='\f'.charCodeAt(0),U='\t'.charCodeAt(0),P='\r'.charCodeAt(0),T='['.charCodeAt(0),j=']'.charCodeAt(0),_='('.charCodeAt(0),B=')'.charCodeAt(0),V='{'.charCodeAt(0),M='}'.charCodeAt(0),F=';'.charCodeAt(0),W='*'.charCodeAt(0),z=':'.charCodeAt(0),D='@'.charCodeAt(0),$=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,L=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,J=/.[\\\/\("'\n]/;function Y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=t.css.valueOf(),o=e.ignoreErrors,i=void 0,s=void 0,a=void 0,c=void 0,u=void 0,p=void 0,h=void 0,l=void 0,f=void 0,d=void 0,y=void 0,m=void 0,v=void 0,w=n.length,g=-1,b=1,k=0;function C(e){throw t.error('Unclosed '+e,b,k-g)}for(;k0?(l=b+u,f=s-c[u].length):(l=b,f=g),r.push(['string',n.slice(k,s+1),b,k-g,l,s-f]),g=f,b=l,k=s;break;case D:$.lastIndex=k+1,$.test(n),s=0===$.lastIndex?n.length-1:$.lastIndex-2,r.push(['at-word',n.slice(k,s+1),b,k-g,b,s-g]),k=s;break;case O:for(s=k,h=!0;n.charCodeAt(s+1)===O;)s+=1,h=!h;i=n.charCodeAt(s+1),h&&i!==R&&i!==I&&i!==N&&i!==U&&i!==P&&i!==E&&(s+=1),r.push(['word',n.slice(k,s+1),b,k-g,b,s-g]),k=s;break;default:i===R&&n.charCodeAt(k+1)===W?(0===(s=n.indexOf('*/',k+2)+1)&&(o?s=n.length:C('comment')),(u=(c=(p=n.slice(k,s+1)).split('\n')).length-1)>0?(l=b+u,f=s-c[u].length):(l=b,f=g),r.push(['comment',p,b,k-g,l,s-f]),g=f,b=l,k=s):(L.lastIndex=k+1,L.test(n),s=0===L.lastIndex?n.length-1:L.lastIndex-2,r.push(['word',n.slice(k,s+1),b,k-g,b,s-g]),k=s)}k++}return r}var q={brackets:[36,39],string:[31,39],'at-word':[31,39],comment:[90,39],'{':[32,39],'}':[32,39],':':[1,22],';':[1,22],'(':[1,22],')':[1,22]};function H(t){return'\x1b['+t+'m'}function K(t){var e=[];return Y(new At(t),{ignoreErrors:!0}).forEach(function(t){var r=q[t[0]];r?e.push(t[1].split(/\r?\n/).map(function(t){return H(r[0])+t+H(r[1])}).join('\n')):e.push(t[1])}),e.join('')}var Z="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},G=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Q=(function(){function t(t,e){for(var r=0;r=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},rt=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},nt=(function(){function t(e,r,n,o,i,s){G(this,t),this.name='CssSyntaxError',this.reason=e,i&&(this.file=i),o&&(this.source=o),s&&(this.plugin=s),void 0!==r&&void 0!==n&&(this.line=r,this.column=n),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}return t.prototype.setMessage=function(){this.message=this.plugin?this.plugin+': ':'',this.message+=this.file?this.file:'',void 0!==this.line&&(this.message+=':'+this.line+':'+this.column),this.message+=': '+this.reason},t.prototype.showSourceCode=function(t){var e=this;if(!this.source)return'';var r=this.source;void 0===t&&(t=u),t&&(r=K(r));var n=r.split(/\r?\n/),o=Math.max(this.line-3,0),i=Math.min(this.line+2,n.length),s=String(i).length;return n.slice(o,i).map(function(t,r){var n=o+1+r,i=' '+(' '+n).slice(-s)+' | ';return n===e.line?'>'+i+t+'\n '+(i.replace(/\d/g,' ')+t.slice(0,e.column-1).replace(/[^\t]/g,' '))+'^':' '+i+t}).join('\n')},t.prototype.toString=function(){var t=this.showSourceCode();return t&&(t='\n\n'+t+'\n'),this.name+': '+this.message+t},Q(t,[{key:'generated',get:function(){return S('CssSyntaxError#generated is depreacted. Use input instead.'),this.input}}]),t})(),ot={colon:': ',indent:' ',beforeDecl:'\n',beforeRule:'\n',beforeOpen:' ',beforeClose:'\n',beforeComment:'\n',after:'\n',emptyBody:'',commentLeft:' ',commentRight:' '};var it=(function(){function t(e){G(this,t),this.builder=e}return t.prototype.stringify=function(t,e){this[t.type](t,e)},t.prototype.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},t.prototype.comment=function(t){var e=this.raw(t,'left','commentLeft'),r=this.raw(t,'right','commentRight');this.builder('/*'+e+t.text+r+'*/',t)},t.prototype.decl=function(t,e){var r=this.raw(t,'between','colon'),n=t.prop+r+this.rawValue(t,'value');t.important&&(n+=t.raws.important||' !important'),e&&(n+=';'),this.builder(n,t)},t.prototype.rule=function(t){this.block(t,this.rawValue(t,'selector'))},t.prototype.atrule=function(t,e){var r='@'+t.name,n=t.params?this.rawValue(t,'params'):'';if(void 0!==t.raws.afterName?r+=t.raws.afterName:n&&(r+=' '),t.nodes)this.block(t,r+n);else{var o=(t.raws.between||'')+(e?';':'');this.builder(r+n+o,t)}},t.prototype.body=function(t){for(var e=t.nodes.length-1;e>0&&'comment'===t.nodes[e].type;)e-=1;for(var r=this.raw(t,'semicolon'),n=0;n0&&void 0!==t.raws.after)return-1!==(e=t.raws.after).indexOf('\n')&&(e=e.replace(/[^\n]+$/,'')),!1}),e},t.prototype.rawBeforeOpen=function(t){var e=void 0;return t.walk(function(t){if('decl'!==t.type&&void 0!==(e=t.raws.between))return!1}),e},t.prototype.rawColon=function(t){var e=void 0;return t.walkDecls(function(t){if(void 0!==t.raws.between)return e=t.raws.between.replace(/[^\s:]/g,''),!1}),e},t.prototype.beforeAfter=function(t,e){var r=void 0;r='decl'===t.type?this.raw(t,null,'beforeDecl'):'comment'===t.type?this.raw(t,null,'beforeComment'):'before'===e?this.raw(t,null,'beforeRule'):this.raw(t,null,'beforeClose');for(var n=t.parent,o=0;n&&'root'!==n.type;)o+=1,n=n.parent;if(-1!==r.indexOf('\n')){var i=this.raw(t,null,'indent');if(i.length)for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:{};for(var r in G(this,t),this.raws={},e)this[r]=e[r]}return t.prototype.error=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var r=this.positionBy(e);return this.source.input.error(t,r.line,r.column,e)}return new nt(t)},t.prototype.warn=function(t,e,r){var n={node:this};for(var o in r)n[o]=r[o];return t.warn(e,n)},t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.toString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:st;t.stringify&&(t=t.stringify);var e='';return t(this,function(t){e+=t}),e},t.prototype.clone=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=at(this);for(var r in t)e[r]=t[r];return e},t.prototype.cloneBefore=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.clone(t);return this.parent.insertBefore(this,e),e},t.prototype.cloneAfter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.clone(t);return this.parent.insertAfter(this,e),e},t.prototype.replaceWith=function(){var t=this;if(this.parent){for(var e=arguments.length,r=Array(e),n=0;n0&&this.unclosedBracket(o),e&&n){for(;this.pos>s&&('space'===(t=this.tokens[this.pos][0])||'comment'===t);)this.pos-=1;this.decl(this.tokens.slice(s,this.pos+1))}else this.unknownWord(s)},t.prototype.rule=function(t){t.pop();var e=new vt;this.init(e,t[0][2],t[0][3]),e.raws.between=this.spacesFromEnd(t),this.raw(e,'selector',t),this.current=e},t.prototype.decl=function(t){var e=new ut;this.init(e);var r=t[t.length-1];for(';'===r[0]&&(this.semicolon=!0,t.pop()),r[4]?e.source.end={line:r[4],column:r[5]}:e.source.end={line:r[2],column:r[3]};'word'!==t[0][0];)e.raws.before+=t.shift()[1];for(e.source.start={line:t[0][2],column:t[0][3]},e.prop='';t.length;){var n=t[0][0];if(':'===n||'space'===n||'comment'===n)break;e.prop+=t.shift()[1]}e.raws.between='';for(var o=void 0;t.length;){if(':'===(o=t.shift())[0]){e.raws.between+=o[1];break}e.raws.between+=o[1]}'_'!==e.prop[0]&&'*'!==e.prop[0]||(e.raws.before+=e.prop[0],e.prop=e.prop.slice(1)),e.raws.between+=this.spacesFromStart(t),this.precheckMissedSemicolon(t);for(var i=t.length-1;i>0;i--){if('!important'===(o=t[i])[1]){e.important=!0;var s=this.stringFrom(t,i);' !important'!==(s=this.spacesFromEnd(t)+s)&&(e.raws.important=s);break}if('important'===o[1]){for(var a=t.slice(0),c='',u=i;u>0;u--){var p=a[u][0];if(0===c.trim().indexOf('!')&&'space'!==p)break;c=a.pop()[1]+c}0===c.trim().indexOf('!')&&(e.important=!0,e.raws.important=c,t=a)}if('space'!==o[0]&&'comment'!==o[0])break}this.raw(e,'value',t),-1!==e.value.indexOf(':')&&this.checkMissedSemicolon(t)},t.prototype.atrule=function(t){var e=new yt;e.name=t[1].slice(1),''===e.name&&this.unnamedAtrule(e,t),this.init(e,t[2],t[3]);var r=!1,n=!1,o=[];for(this.pos+=1;this.pos=0&&('space'===(n=t[o])[0]||2!==(r+=1));o--);throw this.input.error('Missed semicolon',n[2],n[3])}},t})();function lt(t,e){if(e&&e.safe)throw new Error("Option safe was removed. Use parser: require(\"postcss-safe-parser\")");var r=new At(t,e),n=new ht(r);try{n.tokenize(),n.loop()}catch(t){throw'CssSyntaxError'===t.name&&e&&e.from&&(/\.scss$/i.test(e.from)?t.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.less$/i.test(e.from)&&(t.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),t}return n.root}function ft(t){return t.map(function(t){return t.nodes&&(t.nodes=ft(t.nodes)),delete t.source,t})}var dt=(function(t){function e(){return G(this,e),rt(this,t.apply(this,arguments))}return tt(e,t),e.prototype.push=function(t){return t.parent=this,this.nodes.push(t),this},e.prototype.each=function(t){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;if(this.indexes[e]=0,this.nodes){for(var r=void 0,n=void 0;this.indexes[e]=t&&(this.indexes[r]=e-1);return this},e.prototype.removeAll=function(){return this.nodes.forEach(function(t){return t.parent=void 0}),this.nodes=[],this},e.prototype.replaceValues=function(t,e,r){return r||(r=e,e={}),this.walkDecls(function(n){e.props&&-1===e.props.indexOf(n.prop)||e.fast&&-1===n.value.indexOf(e.fast)||(n.value=n.value.replace(t,r))}),this},e.prototype.every=function(t){return this.nodes.every(t)},e.prototype.some=function(t){return this.nodes.some(t)},e.prototype.index=function(t){return'number'==typeof t?t:this.nodes.indexOf(t)},e.prototype.normalize=function(t,e){var r=this;if('string'==typeof t)t=ft(lt(t).nodes);else if(!Array.isArray(t))if('root'===t.type)t=t.nodes;else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error('Value field is missed in node creation');'string'!=typeof t.value&&(t.value=String(t.value)),t=[new ut(t)]}else if(t.selector)t=[new vt(t)];else if(t.name)t=[new yt(t)];else{if(!t.text)throw new Error('Unknown node type in node creation');t=[new pt(t)]}return t.map(function(t){return void 0===t.raws&&(t=r.rebuild(t)),t.parent&&(t=t.clone()),void 0===t.raws.before&&e&&void 0!==e.raws.before&&(t.raws.before=e.raws.before.replace(/[^\s]/g,'')),t.parent=r,t})},e.prototype.rebuild=function(t,e){var r=this,n=void 0;for(var o in'root'===t.type?n=new St:'atrule'===t.type?n=new yt:'rule'===t.type?n=new vt:'decl'===t.type?n=new ut:'comment'===t.type&&(n=new pt),t)'nodes'===o?n.nodes=t.nodes.map(function(t){return r.rebuild(t,n)}):'parent'===o&&e?n.parent=e:t.hasOwnProperty(o)&&(n[o]=t[o]);return n},e.prototype.eachInside=function(t){return S("Container#eachInside is deprecated. Use Container#walk instead."),this.walk(t)},e.prototype.eachDecl=function(t,e){return S("Container#eachDecl is deprecated. Use Container#walkDecls instead."),this.walkDecls(t,e)},e.prototype.eachRule=function(t,e){return S("Container#eachRule is deprecated. Use Container#walkRules instead."),this.walkRules(t,e)},e.prototype.eachAtRule=function(t,e){return S("Container#eachAtRule is deprecated. Use Container#walkAtRules instead."),this.walkAtRules(t,e)},e.prototype.eachComment=function(t){return S("Container#eachComment is deprecated. Use Container#walkComments instead."),this.walkComments(t)},Q(e,[{key:'first',get:function(){if(this.nodes)return this.nodes[0]}},{key:'last',get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}},{key:'semicolon',get:function(){return S('Node#semicolon is deprecated. Use Node#raws.semicolon'),this.raws.semicolon},set:function(t){S('Node#semicolon is deprecated. Use Node#raws.semicolon'),this.raws.semicolon=t}},{key:'after',get:function(){return S('Node#after is deprecated. Use Node#raws.after'),this.raws.after},set:function(t){S('Node#after is deprecated. Use Node#raws.after'),this.raws.after=t}}]),e})(ct),yt=(function(t){function e(r){G(this,e);var n=rt(this,t.call(this,r));return n.type='atrule',n}return tt(e,t),e.prototype.append=function(){var e;this.nodes||(this.nodes=[]);for(var r=arguments.length,n=Array(r),o=0;o0&&(s-=1):0===s&&-1!==e.indexOf(p)&&(i=!0),i?(''!==o&&n.push(o.trim()),o='',i=!1):o+=p}return(r||''!==o)&&n.push(o.trim()),n},space:function(t){return mt.split(t,[' ','\n','\t'])},comma:function(t){return mt.split(t,[','],!0)}},vt=(function(t){function e(r){G(this,e);var n=rt(this,t.call(this,r));return n.type='rule',n.nodes||(n.nodes=[]),n}return tt(e,t),Q(e,[{key:'selectors',get:function(){return mt.comma(this.selector)},set:function(t){var e=this.selector?this.selector.match(/,\s*/):null,r=e?e[0]:','+this.raw('between','beforeOpen');this.selector=t.join(r)}},{key:'_selector',get:function(){return S('Rule#_selector is deprecated. Use Rule#raws.selector'),this.raws.selector},set:function(t){S('Rule#_selector is deprecated. Use Rule#raws.selector'),this.raws.selector=t}}]),e})(dt),wt=(function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(G(this,t),this.type='warning',this.text=e,r.node&&r.node.source){var n=r.node.positionBy(r);this.line=n.line,this.column=n.column}for(var o in r)this[o]=r[o]}return t.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+': '+this.text:this.text},t})(),gt=(function(){function t(e,r,n){G(this,t),this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}return t.prototype.toString=function(){return this.css},t.prototype.warn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(e.plugin=this.lastPlugin.postcssPlugin);var r=new wt(t,e);return this.messages.push(r),r},t.prototype.warnings=function(){return this.messages.filter(function(t){return'warning'===t.type})},Q(t,[{key:'content',get:function(){return this.css}}]),t})();function bt(t){return'object'===(void 0===t?'undefined':Z(t))&&'function'==typeof t.then}var kt=(function(){function t(e,r,n){G(this,t),this.stringified=!1,this.processed=!1;var o=void 0;if('object'===(void 0===r?'undefined':Z(r))&&'root'===r.type)o=r;else if(r instanceof t||r instanceof gt)o=r.root,r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var i=lt;n.syntax&&(i=n.syntax.parse),n.parser&&(i=n.parser),i.parse&&(i=i.parse);try{o=i(r,n)}catch(t){this.error=t}}this.result=new gt(e,o,n)}return t.prototype.warnings=function(){return this.sync().warnings()},t.prototype.toString=function(){return this.css},t.prototype.then=function(t,e){return this.async().then(t,e)},t.prototype.catch=function(t){return this.async().catch(t)},t.prototype.handleError=function(t,e){try{if(this.error=t,'CssSyntaxError'!==t.name||t.plugin){if(e.postcssVersion){var r=e.postcssPlugin,n=e.postcssVersion,o=this.result.processor.version,i=n.split('.'),s=o.split('.');(i[0]!==s[0]||parseInt(i[1])>parseInt(s[1]))&&S("Your current PostCSS version is "+o+', but '+r+" uses "+n+". Perhaps this is the source of the error below.")}}else t.plugin=e.postcssPlugin,t.setMessage()}catch(t){console}},t.prototype.asyncTick=function(t,e){var r=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,t();try{var n=this.processor.plugins[this.plugin],o=this.run(n);this.plugin+=1,bt(o)?o.then(function(){r.asyncTick(t,e)}).catch(function(t){r.handleError(t,n),r.processed=!0,e(t)}):this.asyncTick(t,e)}catch(t){this.processed=!0,e(t)}},t.prototype.async=function(){var t=this;return this.processed?new Promise(function(e,r){t.error?r(t.error):e(t.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(e,r){if(t.error)return r(t.error);t.plugin=0,t.asyncTick(e,r)}).then(function(){return t.processed=!0,t.stringify()}),this.processing)},t.prototype.sync=function(){var t=this;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error('Use process(css).then(cb) to work with async plugins');if(this.error)throw this.error;return this.result.processor.plugins.forEach(function(e){if(bt(t.run(e)))throw new Error('Use process(css).then(cb) to work with async plugins')}),this.result},t.prototype.run=function(t){this.result.lastPlugin=t;try{return t(this.result.root,this.result)}catch(e){throw this.handleError(e,t),e}},t.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,e=st;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);var r='';return e(this.root,function(t){r+=t}),this.result.css=r,this.result},Q(t,[{key:'processor',get:function(){return this.result.processor}},{key:'opts',get:function(){return this.result.opts}},{key:'css',get:function(){return this.stringify().css}},{key:'content',get:function(){return this.stringify().content}},{key:'map',get:function(){return this.stringify().map}},{key:'root',get:function(){return this.sync().root}},{key:'messages',get:function(){return this.sync().messages}}]),t})(),Ct=(function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];G(this,t),this.version='5.2.0',this.plugins=this.normalize(e)}return t.prototype.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},t.prototype.process=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new kt(this,t,e)},t.prototype.normalize=function(t){var e=[];return t.forEach(function(t){if(t.postcss&&(t=t.postcss),'object'===(void 0===t?'undefined':Z(t))&&Array.isArray(t.plugins))e=e.concat(t.plugins);else{if('function'!=typeof t)throw new Error(t+' is not a PostCSS plugin');e.push(t)}}),e},t})(),St=(function(t){function e(r){G(this,e);var n=rt(this,t.call(this,r));return n.type='root',n.nodes||(n.nodes=[]),n}return tt(e,t),e.prototype.removeChild=function(e){return 0===(e=this.index(e))&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[e].raws.before),t.prototype.removeChild.call(this,e)},e.prototype.normalize=function(e,r,n){var o=t.prototype.normalize.call(this,e);return r&&('prepend'===n?this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before:this.first!==r&&o.forEach(function(t){t.raws.before=r.raws.before})),o},e.prototype.toResult=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new kt(new Ct,this,t).stringify()},e.prototype.remove=function(t){S('Root#remove is deprecated. Use Root#removeChild'),this.removeChild(t)},e.prototype.prevMap=function(){return S('Root#prevMap is deprecated. Use Root#source.input.map'),this.source.input.map},e})(dt),xt=0,At=(function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};G(this,t),this.css=e.toString(),"\ufeff"!==this.css[0]&&"\ufffe"!==this.css[0]||(this.css=this.css.slice(1)),r.from&&(/^\w+:\/\//.test(r.from)?this.file=r.from:this.file=path.resolve(r.from)),this.file||(xt+=1,this.id=''),this.map&&(this.map.file=this.from)}return t.prototype.error=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,i=this.origin(e,r);return(o=i?new nt(t,i.line,i.column,i.source,i.file,n.plugin):new nt(t,e,r,this.css,this.file,n.plugin)).input={line:e,column:r,source:this.css},this.file&&(o.input.file=this.file),o},t.prototype.origin=function(t,e){if(!this.map)return!1;var r=this.map.consumer(),n=r.originalPositionFor({line:t,column:e});if(!n.source)return!1;var o={file:this.mapResolve(n.source),line:n.line,column:n.column},i=r.sourceContentFor(n.source);return i&&(o.source=i),o},t.prototype.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:path.resolve(this.map.consumer().sourceRoot||'.',t)},Q(t,[{key:'from',get:function(){return this.file||this.id}}]),t})(),Ot=(function(t){function e(){return G(this,e),rt(this,t.apply(this,arguments))}return tt(e,t),e.prototype.tokenize=function(){this.tokens=Y(this.input,{ignoreErrors:!0})},e.prototype.comment=function(t){var e=new pt;this.init(e,t[2],t[3]),e.source.end={line:t[4],column:t[5]};var r=t[1].slice(2);if('*/'===r.slice(-2)&&(r=r.slice(0,-2)),/^\s*$/.test(r))e.text='',e.raws.left=r,e.raws.right='';else{var n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);e.text=n[2],e.raws.left=n[1],e.raws.right=n[3]}},e.prototype.unclosedBracket=function(){},e.prototype.unknownWord=function(t){var e=this.tokens.slice(t,this.pos+1);this.spaces+=e.map(function(t){return t[1]}).join('')},e.prototype.unexpectedClose=function(){this.current.raws.after+='}'},e.prototype.doubleColon=function(){},e.prototype.unnamedAtrule=function(t){t.name=''},e.prototype.precheckMissedSemicolon=function(t){var e=this.colon(t);if(!1!==e){var r=void 0;for(r=e-1;r>=0&&'word'!==t[r][0];r--);for(r-=1;r>=0;r--)if('space'!==t[r][0]){r+=1;break}var n=t.splice(r,t.length-r);this.decl(n)}},e.prototype.checkMissedSemicolon=function(){},e.prototype.endFile=function(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||'')+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=''},e})(ht);var Rt={},Nt=function(t,e,r){var n=r&&t.theme===r.theme;return t.theme&&!n?t.theme:e};function It(t){return t.displayName||t.name||'Component'}function Et(t){return'string'==typeof t}function Ut(t){return Et(t)?'styled.'+t:'Styled('+It(t)+')'}function Pt(t){return'function'==typeof t&&'string'==typeof t.styledComponentId}function Tt(t,e){for(var r=t;r;)if((r=Object.getPrototypeOf(r))&&r===e)return!0;return!1}var jt,_t,Bt=function(t){var e={},r=0,n=t;return{publish:function(t){for(var r in n=t,e){var o=e[r];void 0!==o&&o(n)}},subscribe:function(t){var o=r;return e[o]=t,r+=1,t(n),o},unsubscribe:function(t){e[t]=void 0}}},Vt='__styled-components__',Mt="__styled-components__next__",Ft=h.shape({getTheme:h.func,subscribe:h.func,unsubscribe:h.func}),Wt=(function(t){function e(){G(this,e);var r=rt(this,t.call(this));return r.unsubscribeToOuterId=-1,r.getTheme=r.getTheme.bind(r),r}return tt(e,t),e.prototype.componentWillMount=function(){var t=this,e=this.context[Mt];void 0!==e&&(this.unsubscribeToOuterId=e.subscribe(function(e){t.outerTheme=e,void 0!==t.broadcast&&t.publish(t.props.theme)})),this.broadcast=Bt(this.getTheme())},e.prototype.getChildContext=function(){var t,e=this;return X({},this.context,((t={})[Mt]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},t[Vt]=function(t){var r=e.broadcast.subscribe(t);return function(){return e.broadcast.unsubscribe(r)}},t))},e.prototype.componentWillReceiveProps=function(t){this.props.theme!==t.theme&&this.publish(t.theme)},e.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Mt].unsubscribe(this.unsubscribeToOuterId)},e.prototype.getTheme=function(t){var e=t||this.props.theme;if('function'==typeof e)return e(this.outerTheme);if(null===e||Array.isArray(e)||'object'!==(void 0===e?'undefined':Z(e)))throw new Error('');return X({},this.outerTheme,e)},e.prototype.publish=function(t){this.broadcast.publish(this.getTheme(t))},e.prototype.render=function(){return this.props.children?f.Children.only(this.props.children):null},e})(l.Component);Wt.childContextTypes=((jt={})[Vt]=h.func,jt[Mt]=Ft,jt),Wt.contextTypes=((_t={})[Mt]=Ft,_t);var zt,Dt=function(t,e){return e.reduce(function(e,r,n){return e.concat(r,t[n+1])},[t[0]])},$t=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:{};if(!d.isValidElementType(n))throw new Error('');var i=function(){return r(n,o,t.apply(void 0,arguments))};return i.withConfig=function(t){return e(r,n,X({},o,t))},i.attrs=function(t){return e(r,n,X({},o,{attrs:X({},o.attrs||{},t)}))},i}})($t),Jt=(zt=s.StyleSheet,(function(){function t(e){G(this,t),this.rules=e}return t.prototype.generateStyleObject=function(t){var e,r,n,o=k(this.rules,t).join(''),i=y(o);if(!Rt[i]){var s=[];(r=new At(o,e),(n=new Ot(r)).tokenize(),n.loop(),n.root).each(function(t){'decl'===t.type&&s.push([t.prop,t.value])});var c=a(s,['borderRadius','borderWidth','borderColor','borderStyle']),u=zt.create({generated:c});Rt[i]=u.generated}return Rt[i]},t})()),Yt=(function(t,e){var r=(function(t){function e(){var r,n;G(this,e);for(var o=arguments.length,i=Array(o),s=0;s':null}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String;return function(n){if('word'!==n.type)return null;var r=n.value.match(e);return null===r?null:t(r[1])}},E={SPACE:y(function(e){return'space'===e.type}),SLASH:y(function(e){return'div'===e.type&&'/'===e.value}),COMMA:y(function(e){return'div'===e.type&&','===e.value}),WORD:(d='word',function(e){return e.type===d?e.value:null}),NONE:w(/^(none)$/i),AUTO:w(/^(auto)$/i),NUMBER:w(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)$/,Number),LENGTH:w(/^(0$|(?:[+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?)(?=px$))/,Number),UNSUPPORTED_LENGTH_UNIT:w(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?(ch|em|ex|rem|vh|vw|vmin|vmax|cm|mm|in|pc|pt))$/),ANGLE:w(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?(?:deg|rad))$/),PERCENT:w(/^([+-]?(?:\d*\.)?\d+(?:[Ee][+-]?\d+)?%)$/),IDENT:w(/(^-?[_a-z][_a-z0-9-]*$)/i),STRING:function(e){return'string'!==e.type?null:e.value.replace(/\\([0-9a-f]{1,6})(?:\s|$)/gi,function(e,t){return String.fromCharCode(parseInt(t,16))}).replace(/\\/g,'')},COLOR:function(e){return'word'===e.type&&(m.test(e.value)||e.value in v)?e.value:'function'===e.type&&x.test(e.value)?f.stringify(e):null},LINE:w(/^(none|underline|line-through)$/i)},g=E.LENGTH,T=E.UNSUPPORTED_LENGTH_UNIT,b=E.PERCENT,k=E.COLOR,N=E.SPACE,S=E.NONE,$=function(e){var t=e.types,n=void 0===t?[g,T,b]:t,r=e.directions,o=void 0===r?['Top','Right','Bottom','Left']:r,i=e.prefix,a=void 0===i?'':i,u=e.suffix,c=void 0===u?'':u;return function(e){var t,r=[];for(r.push(e.expect.apply(e,s(n)));r.length<4&&e.hasTokens();)e.expect(N),r.push(e.expect.apply(e,s(n)));e.expectEmpty();var i=r[0],u=r[1],d=void 0===u?i:u,f=r[2],h=void 0===f?i:f,v=r[3],p=void 0===v?d:v,m=function(e){return''+a+o[e]+c};return{$merge:(l(t={},m(0),i),l(t,m(1),d),l(t,m(2),h),l(t,m(3),p),t)}}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N;return function(n){for(var r=Object.keys(e),o=r.reduce(function(e,t){return e[t],e},{}),i=0;i1&&void 0!==arguments[1]?arguments[1]:[];return e.reduce(function(e,n){var r=Be(n[0]),o=n[1],i=-1===t.indexOf(r);return babelHelpers.extends(e,Me(r,o,i))},{})}},805,[806,811,813]); +__d(function(t,n,i,r,o){var s=n(o[0]),e=n(o[1]),u=n(o[2]);function h(t){return this instanceof h?(this.nodes=s(t),this):new h(t)}h.prototype.toString=function(){return Array.isArray(this.nodes)?u(this.nodes):''},h.prototype.walk=function(t,n){return e(this.nodes,t,n),this},h.unit=n(o[3]),h.walk=e,h.stringify=u,i.exports=h},806,[807,808,809,810]); +__d(function(e,o,d,t,r){var c='('.charCodeAt(0),s=')'.charCodeAt(0),h='\''.charCodeAt(0),l='"'.charCodeAt(0),a='\\'.charCodeAt(0),n='/'.charCodeAt(0),u=','.charCodeAt(0),i=':'.charCodeAt(0),f='*'.charCodeAt(0);d.exports=function(e){for(var o,d,t,r,p,A,C,v,x=[],g=e,y=0,w=g.charCodeAt(y),I=g.length,O=[{nodes:x}],b=0,m='',_='',q='';y=48&&r<=57)d+=e[t],c=!0;else if(r===o){if(i)break;i=!0,d+=e[t]}else{if(r!==n&&r!==f)break;if(0!==t)break;d+=e[t]}t+=1}return!!c&&{number:d,unit:e.slice(t)}}},810,[]); +__d(function(t,s,c,e,i){'use strict';c.exports=s(i[0])},811,[812]); +__d(function(e,f,a,d){a.exports={black:"#000000",silver:"#c0c0c0",gray:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",blanchedalmond:"#ffebcd",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",limegreen:"#32cd32",linen:"#faf0e6",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",oldlace:"#fdf5e6",olivedrab:"#6b8e23",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",whitesmoke:"#f5f5f5",yellowgreen:"#9acd32",rebeccapurple:"#663399"}},812,[]); +__d(function(r,t,e,n,s){'use strict';var c=t(s[0]),u=/^-ms-/;e.exports=function(r){return c(r.replace(u,'ms-'))}},813,[814]); +__d(function(r,t,e,n,u){"use strict";var c=/-(.)/g;e.exports=function(r){return r.replace(c,function(r,t){return t.toUpperCase()})}},814,[]); +__d(function(t,o,r,n,e){'use strict';var c=o(e[0]);function p(t){return!0===c(t)&&'[object Object]'===Object.prototype.toString.call(t)}r.exports=function(t){var o,r;return!1!==p(t)&&('function'==typeof(o=t.constructor)&&(!1!==p(r=o.prototype)&&!1!==r.hasOwnProperty('isPrototypeOf')))}},815,[816]); +__d(function(r,t,n,e,o){'use strict';n.exports=function(r){return null!=r&&'object'==typeof r&&!1===Array.isArray(r)}},816,[]); +__d(function(t,s,c,e,i){'use strict';c.exports=!1},817,[]); +__d(function(e,t,r,o,p){'use strict';var a={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,l=f&&f(Object);r.exports=function e(t,r,o){if('string'!=typeof r){if(l){var p=f(r);p&&p!==l&&e(t,p,o)}var g=s(r);i&&(g=g.concat(i(r)));for(var O=0;O1&&void 0!==arguments[1]?arguments[1]:b,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;(0,u.default)();var l=e[t]||'?';'number'==typeof l&&(l=String.fromCharCode(l));var n=(0,i.processColor)(o),s=l+":"+r+":"+n,f=i.PixelRatio.get();return new Promise(function(e,t){var o=y[s];void 0!==o?!o||o instanceof Error?t(o):e({uri:o,scale:f}):p.getImageForFont(a,l,r,n,function(r,o){var a='string'==typeof r?new Error(r):r;y[s]=o||a||!1,!a&&o?e({uri:o,scale:f}):t(a)})})}return h.Button=(0,s.default)(h),h.TabBarItem=(0,f.default)(v,m),h.TabBarItemIOS=h.TabBarItem,h.ToolbarAndroid=(0,c.default)(v,m),h.getImageSource=m,h.loadFont=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(0,u.default)(),e?p.loadFontWithFileName.apply(p,babelHelpers.toConsumableArray(e.split('.'))):Promise.reject(new Error('Unable to load font, because no file was specified. '))},h.hasIcon=function(t){return Object.prototype.hasOwnProperty.call(e,t)},h.getRawGlyphMap=function(){return e},h.getFontFamily=function(){return a},h},o.DEFAULT_ICON_COLOR=o.DEFAULT_ICON_SIZE=o.NativeIconAPI=void 0;var l=babelHelpers.interopRequireWildcard(t(a[0])),n=babelHelpers.interopRequireDefault(t(a[1])),i=t(a[2]),u=babelHelpers.interopRequireDefault(t(a[3])),s=babelHelpers.interopRequireDefault(t(a[4])),f=babelHelpers.interopRequireDefault(t(a[5])),c=babelHelpers.interopRequireDefault(t(a[6])),p=i.NativeModules.RNVectorIconsManager||i.NativeModules.RNVectorIconsModule;o.NativeIconAPI=p;var b=12;o.DEFAULT_ICON_SIZE=b;var d='black';o.DEFAULT_ICON_COLOR=d},822,[31,48,823,824,825,826,827]); +__d(function(e,t,n,r,u){Object.defineProperty(r,"__esModule",{value:!0});var o=t(u[0]);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}})})},823,[1]); +__d(function(e,n,r,o,t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(){if(!a.NativeIconAPI)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.')};n(t[0]);var a=n(t[1])},824,[823,822]); +__d(function(e,t,l,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){var t,l;return l=t=(function(t){function l(){return babelHelpers.classCallCheck(this,l),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(l).apply(this,arguments))}return babelHelpers.createClass(l,[{key:"render",value:function(){var t=this.props,l=t.style,r=t.iconStyle,a=t.children,s=babelHelpers.objectWithoutProperties(t,["style","iconStyle","children"]),c=(0,u.default)(s,Object.keys(d.Text.propTypes),'style','name','size','color'),p=(0,u.default)(s,Object.keys(d.TouchableHighlight.propTypes)),f=(0,n.default)(s,Object.keys(c),Object.keys(p),'iconStyle','borderRadius','backgroundColor');c.style=r?[b.icon,r]:b.icon;var y=(0,u.default)(this.props,'color'),h=(0,u.default)(this.props,'backgroundColor','borderRadius');return i.default.createElement(d.TouchableHighlight,babelHelpers.extends({style:[b.touchable,h]},p),i.default.createElement(d.View,babelHelpers.extends({style:[b.container,h,l]},f),i.default.createElement(e,c),(0,o.default)(a)?i.default.createElement(d.Text,{style:[b.text,y]},a):a))}}]),babelHelpers.inherits(l,t),l})(i.PureComponent),t.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},t.defaultProps={backgroundColor:c,borderRadius:5,color:'white',size:20},l};var o=babelHelpers.interopRequireDefault(t(a[0])),n=babelHelpers.interopRequireDefault(t(a[1])),u=babelHelpers.interopRequireDefault(t(a[2])),i=babelHelpers.interopRequireWildcard(t(a[3])),s=babelHelpers.interopRequireDefault(t(a[4])),d=t(a[5]),b=d.StyleSheet.create({container:{flexDirection:'row',justifyContent:'flex-start',alignItems:'center',padding:8},touchable:{overflow:'hidden'},icon:{marginRight:10},text:{fontWeight:'600',backgroundColor:'transparent'}}),c='#007AFF'},825,[551,553,678,31,48,823]); +__d(function(e,t,n,o,r){Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,t){var n,o;return o=n=(function(e){function n(){return babelHelpers.classCallCheck(this,n),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(n).apply(this,arguments))}return babelHelpers.createClass(n,[{key:"componentWillMount",value:function(){this.updateIconSources(this.props)}},{key:"componentWillReceiveProps",value:function(e){var t=Object.keys(n.propTypes);(0,l.default)((0,a.default)(e,t),(0,a.default)(this.props,t))||this.updateIconSources(e)}},{key:"updateIconSources",value:function(e){var n=this;if(e.iconName&&t(e.iconName,e.iconSize,e.iconColor).then(function(e){return n.setState({icon:e})}),e.selectedIconName||e.selectedIconColor){var o=e.selectedIconName||e.iconName,r=e.selectedIconColor||e.iconColor;t(o,e.iconSize,r).then(function(e){return n.setState({selectedIcon:e})})}}},{key:"render",value:function(){return i.default.createElement(s.TabBarIOS.Item,babelHelpers.extends({},this.props,this.state))}}]),babelHelpers.inherits(n,e),n})(i.PureComponent),n.propTypes={iconName:e.isRequired,selectedIconName:e,iconSize:u.default.number,iconColor:u.default.oneOfType([u.default.string,u.default.number]),selectedIconColor:u.default.oneOfType([u.default.string,u.default.number])},n.defaultProps={iconSize:30},o};var l=babelHelpers.interopRequireDefault(t(r[0])),a=babelHelpers.interopRequireDefault(t(r[1])),i=babelHelpers.interopRequireWildcard(t(r[2])),u=babelHelpers.interopRequireDefault(t(r[3])),s=t(r[4])},826,[686,678,31,48,823]); +__d(function(e,o,t,n,r){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,o){var t,n;return n=t=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"componentWillMount",value:function(){this.updateIconSources(this.props)}},{key:"componentWillReceiveProps",value:function(e){var o=this,n=Object.keys(t.propTypes);if(!(0,a.default)((0,l.default)(e,n),(0,l.default)(this.props,n))){var r={};e.logoName||(r.logo=void 0),e.navIconName||(r.navIcon=void 0),e.overflowIconName||(r.overflowIcon=void 0),this.state&&Object.keys(r).length?this.setState(r,function(){return o.updateIconSources(e)}):this.updateIconSources(e)}}},{key:"updateIconSources",value:function(e){var t=this,n=e.iconSize,r=e.iconColor||e.titleColor;e.logoName&&o(e.logoName,n,r).then(function(e){return t.setState({logo:e})}),e.navIconName&&o(e.navIconName,n,r).then(function(e){return t.setState({navIcon:e})}),e.overflowIconName&&o(e.overflowIconName,n,r).then(function(e){return t.setState({overflowIcon:e})}),Promise.all((e.actions||[]).map(function(e){return e.iconName?o(e.iconName,e.iconSize||n,e.iconColor||r).then(function(o){return babelHelpers.objectSpread({},e,{icon:o})}):Promise.resolve(e)})).then(function(e){return t.setState({actions:e})})}},{key:"render",value:function(){return i.default.createElement(s.ToolbarAndroid,babelHelpers.extends({},this.props,this.state))}}]),babelHelpers.inherits(t,e),t})(i.PureComponent),t.propTypes={logoName:e,navIconName:e,overflowIconName:e,actions:u.default.arrayOf(u.default.shape({title:u.default.string.isRequired,iconName:e,iconSize:u.default.number,iconColor:u.default.oneOfType([u.default.string,u.default.number]),show:u.default.oneOf(['always','ifRoom','never']),showWithText:u.default.bool})),iconSize:u.default.number,iconColor:u.default.oneOfType([u.default.string,u.default.number])},t.defaultProps={iconSize:24},n};var a=babelHelpers.interopRequireDefault(o(r[0])),l=babelHelpers.interopRequireDefault(o(r[1])),i=babelHelpers.interopRequireWildcard(o(r[2])),u=babelHelpers.interopRequireDefault(o(r[3])),s=o(r[4])},827,[686,678,31,48,823]); +__d(function(e,r,o,a){o.exports={glass:61440,music:61441,search:61442,"envelope-o":61443,heart:61444,star:61445,"star-o":61446,user:61447,film:61448,"th-large":61449,th:61450,"th-list":61451,check:61452,remove:61453,close:61453,times:61453,"search-plus":61454,"search-minus":61456,"power-off":61457,signal:61458,gear:61459,cog:61459,"trash-o":61460,home:61461,"file-o":61462,"clock-o":61463,road:61464,download:61465,"arrow-circle-o-down":61466,"arrow-circle-o-up":61467,inbox:61468,"play-circle-o":61469,"rotate-right":61470,repeat:61470,refresh:61473,"list-alt":61474,lock:61475,flag:61476,headphones:61477,"volume-off":61478,"volume-down":61479,"volume-up":61480,qrcode:61481,barcode:61482,tag:61483,tags:61484,book:61485,bookmark:61486,print:61487,camera:61488,font:61489,bold:61490,italic:61491,"text-height":61492,"text-width":61493,"align-left":61494,"align-center":61495,"align-right":61496,"align-justify":61497,list:61498,dedent:61499,outdent:61499,indent:61500,"video-camera":61501,photo:61502,image:61502,"picture-o":61502,pencil:61504,"map-marker":61505,adjust:61506,tint:61507,edit:61508,"pencil-square-o":61508,"share-square-o":61509,"check-square-o":61510,arrows:61511,"step-backward":61512,"fast-backward":61513,backward:61514,play:61515,pause:61516,stop:61517,forward:61518,"fast-forward":61520,"step-forward":61521,eject:61522,"chevron-left":61523,"chevron-right":61524,"plus-circle":61525,"minus-circle":61526,"times-circle":61527,"check-circle":61528,"question-circle":61529,"info-circle":61530,crosshairs:61531,"times-circle-o":61532,"check-circle-o":61533,ban:61534,"arrow-left":61536,"arrow-right":61537,"arrow-up":61538,"arrow-down":61539,"mail-forward":61540,share:61540,expand:61541,compress:61542,plus:61543,minus:61544,asterisk:61545,"exclamation-circle":61546,gift:61547,leaf:61548,fire:61549,eye:61550,"eye-slash":61552,warning:61553,"exclamation-triangle":61553,plane:61554,calendar:61555,random:61556,comment:61557,magnet:61558,"chevron-up":61559,"chevron-down":61560,retweet:61561,"shopping-cart":61562,folder:61563,"folder-open":61564,"arrows-v":61565,"arrows-h":61566,"bar-chart-o":61568,"bar-chart":61568,"twitter-square":61569,"facebook-square":61570,"camera-retro":61571,key:61572,gears:61573,cogs:61573,comments:61574,"thumbs-o-up":61575,"thumbs-o-down":61576,"star-half":61577,"heart-o":61578,"sign-out":61579,"linkedin-square":61580,"thumb-tack":61581,"external-link":61582,"sign-in":61584,trophy:61585,"github-square":61586,upload:61587,"lemon-o":61588,phone:61589,"square-o":61590,"bookmark-o":61591,"phone-square":61592,twitter:61593,"facebook-f":61594,facebook:61594,github:61595,unlock:61596,"credit-card":61597,feed:61598,rss:61598,"hdd-o":61600,bullhorn:61601,bell:61683,certificate:61603,"hand-o-right":61604,"hand-o-left":61605,"hand-o-up":61606,"hand-o-down":61607,"arrow-circle-left":61608,"arrow-circle-right":61609,"arrow-circle-up":61610,"arrow-circle-down":61611,globe:61612,wrench:61613,tasks:61614,filter:61616,briefcase:61617,"arrows-alt":61618,group:61632,users:61632,chain:61633,link:61633,cloud:61634,flask:61635,cut:61636,scissors:61636,copy:61637,"files-o":61637,paperclip:61638,save:61639,"floppy-o":61639,square:61640,navicon:61641,reorder:61641,bars:61641,"list-ul":61642,"list-ol":61643,strikethrough:61644,underline:61645,table:61646,magic:61648,truck:61649,pinterest:61650,"pinterest-square":61651,"google-plus-square":61652,"google-plus":61653,money:61654,"caret-down":61655,"caret-up":61656,"caret-left":61657,"caret-right":61658,columns:61659,unsorted:61660,sort:61660,"sort-down":61661,"sort-desc":61661,"sort-up":61662,"sort-asc":61662,envelope:61664,linkedin:61665,"rotate-left":61666,undo:61666,legal:61667,gavel:61667,dashboard:61668,tachometer:61668,"comment-o":61669,"comments-o":61670,flash:61671,bolt:61671,sitemap:61672,umbrella:61673,paste:61674,clipboard:61674,"lightbulb-o":61675,exchange:61676,"cloud-download":61677,"cloud-upload":61678,"user-md":61680,stethoscope:61681,suitcase:61682,"bell-o":61602,coffee:61684,cutlery:61685,"file-text-o":61686,"building-o":61687,"hospital-o":61688,ambulance:61689,medkit:61690,"fighter-jet":61691,beer:61692,"h-square":61693,"plus-square":61694,"angle-double-left":61696,"angle-double-right":61697,"angle-double-up":61698,"angle-double-down":61699,"angle-left":61700,"angle-right":61701,"angle-up":61702,"angle-down":61703,desktop:61704,laptop:61705,tablet:61706,"mobile-phone":61707,mobile:61707,"circle-o":61708,"quote-left":61709,"quote-right":61710,spinner:61712,circle:61713,"mail-reply":61714,reply:61714,"github-alt":61715,"folder-o":61716,"folder-open-o":61717,"smile-o":61720,"frown-o":61721,"meh-o":61722,gamepad:61723,"keyboard-o":61724,"flag-o":61725,"flag-checkered":61726,terminal:61728,code:61729,"mail-reply-all":61730,"reply-all":61730,"star-half-empty":61731,"star-half-full":61731,"star-half-o":61731,"location-arrow":61732,crop:61733,"code-fork":61734,unlink:61735,"chain-broken":61735,question:61736,info:61737,exclamation:61738,superscript:61739,subscript:61740,eraser:61741,"puzzle-piece":61742,microphone:61744,"microphone-slash":61745,shield:61746,"calendar-o":61747,"fire-extinguisher":61748,rocket:61749,maxcdn:61750,"chevron-circle-left":61751,"chevron-circle-right":61752,"chevron-circle-up":61753,"chevron-circle-down":61754,html5:61755,css3:61756,anchor:61757,"unlock-alt":61758,bullseye:61760,"ellipsis-h":61761,"ellipsis-v":61762,"rss-square":61763,"play-circle":61764,ticket:61765,"minus-square":61766,"minus-square-o":61767,"level-up":61768,"level-down":61769,"check-square":61770,"pencil-square":61771,"external-link-square":61772,"share-square":61773,compass:61774,"toggle-down":61776,"caret-square-o-down":61776,"toggle-up":61777,"caret-square-o-up":61777,"toggle-right":61778,"caret-square-o-right":61778,euro:61779,eur:61779,gbp:61780,dollar:61781,usd:61781,rupee:61782,inr:61782,cny:61783,rmb:61783,yen:61783,jpy:61783,ruble:61784,rouble:61784,rub:61784,won:61785,krw:61785,bitcoin:61786,btc:61786,file:61787,"file-text":61788,"sort-alpha-asc":61789,"sort-alpha-desc":61790,"sort-amount-asc":61792,"sort-amount-desc":61793,"sort-numeric-asc":61794,"sort-numeric-desc":61795,"thumbs-up":61796,"thumbs-down":61797,"youtube-square":61798,youtube:61799,xing:61800,"xing-square":61801,"youtube-play":61802,dropbox:61803,"stack-overflow":61804,instagram:61805,flickr:61806,adn:61808,bitbucket:61809,"bitbucket-square":61810,tumblr:61811,"tumblr-square":61812,"long-arrow-down":61813,"long-arrow-up":61814,"long-arrow-left":61815,"long-arrow-right":61816,apple:61817,windows:61818,android:61819,linux:61820,dribbble:61821,skype:61822,foursquare:61824,trello:61825,female:61826,male:61827,gittip:61828,gratipay:61828,"sun-o":61829,"moon-o":61830,archive:61831,bug:61832,vk:61833,weibo:61834,renren:61835,pagelines:61836,"stack-exchange":61837,"arrow-circle-o-right":61838,"arrow-circle-o-left":61840,"toggle-left":61841,"caret-square-o-left":61841,"dot-circle-o":61842,wheelchair:61843,"vimeo-square":61844,"turkish-lira":61845,try:61845,"plus-square-o":61846,"space-shuttle":61847,slack:61848,"envelope-square":61849,wordpress:61850,openid:61851,institution:61852,bank:61852,university:61852,"mortar-board":61853,"graduation-cap":61853,yahoo:61854,google:61856,reddit:61857,"reddit-square":61858,"stumbleupon-circle":61859,stumbleupon:61860,delicious:61861,digg:61862,"pied-piper-pp":61863,"pied-piper-alt":61864,drupal:61865,joomla:61866,language:61867,fax:61868,building:61869,child:61870,paw:61872,spoon:61873,cube:61874,cubes:61875,behance:61876,"behance-square":61877,steam:61878,"steam-square":61879,recycle:61880,automobile:61881,car:61881,cab:61882,taxi:61882,tree:61883,spotify:61884,deviantart:61885,soundcloud:61886,database:61888,"file-pdf-o":61889,"file-word-o":61890,"file-excel-o":61891,"file-powerpoint-o":61892,"file-photo-o":61893,"file-picture-o":61893,"file-image-o":61893,"file-zip-o":61894,"file-archive-o":61894,"file-sound-o":61895,"file-audio-o":61895,"file-movie-o":61896,"file-video-o":61896,"file-code-o":61897,vine:61898,codepen:61899,jsfiddle:61900,"life-bouy":61901,"life-buoy":61901,"life-saver":61901,support:61901,"life-ring":61901,"circle-o-notch":61902,ra:61904,resistance:61904,rebel:61904,ge:61905,empire:61905,"git-square":61906,git:61907,"y-combinator-square":61908,"yc-square":61908,"hacker-news":61908,"tencent-weibo":61909,qq:61910,wechat:61911,weixin:61911,send:61912,"paper-plane":61912,"send-o":61913,"paper-plane-o":61913,history:61914,"circle-thin":61915,header:61916,paragraph:61917,sliders:61918,"share-alt":61920,"share-alt-square":61921,bomb:61922,"soccer-ball-o":61923,"futbol-o":61923,tty:61924,binoculars:61925,plug:61926,slideshare:61927,twitch:61928,yelp:61929,"newspaper-o":61930,wifi:61931,calculator:61932,paypal:61933,"google-wallet":61934,"cc-visa":61936,"cc-mastercard":61937,"cc-discover":61938,"cc-amex":61939,"cc-paypal":61940,"cc-stripe":61941,"bell-slash":61942,"bell-slash-o":61943,trash:61944,copyright:61945,at:61946,eyedropper:61947,"paint-brush":61948,"birthday-cake":61949,"area-chart":61950,"pie-chart":61952,"line-chart":61953,lastfm:61954,"lastfm-square":61955,"toggle-off":61956,"toggle-on":61957,bicycle:61958,bus:61959,ioxhost:61960,angellist:61961,cc:61962,shekel:61963,sheqel:61963,ils:61963,meanpath:61964,buysellads:61965,connectdevelop:61966,dashcube:61968,forumbee:61969,leanpub:61970,sellsy:61971,shirtsinbulk:61972,simplybuilt:61973,skyatlas:61974,"cart-plus":61975,"cart-arrow-down":61976,diamond:61977,ship:61978,"user-secret":61979,motorcycle:61980,"street-view":61981,heartbeat:61982,venus:61985,mars:61986,mercury:61987,intersex:61988,transgender:61988,"transgender-alt":61989,"venus-double":61990,"mars-double":61991,"venus-mars":61992,"mars-stroke":61993,"mars-stroke-v":61994,"mars-stroke-h":61995,neuter:61996,genderless:61997,"facebook-official":62e3,"pinterest-p":62001,whatsapp:62002,server:62003,"user-plus":62004,"user-times":62005,hotel:62006,bed:62006,viacoin:62007,train:62008,subway:62009,medium:62010,yc:62011,"y-combinator":62011,"optin-monster":62012,opencart:62013,expeditedssl:62014,"battery-4":62016,battery:62016,"battery-full":62016,"battery-3":62017,"battery-three-quarters":62017,"battery-2":62018,"battery-half":62018,"battery-1":62019,"battery-quarter":62019,"battery-0":62020,"battery-empty":62020,"mouse-pointer":62021,"i-cursor":62022,"object-group":62023,"object-ungroup":62024,"sticky-note":62025,"sticky-note-o":62026,"cc-jcb":62027,"cc-diners-club":62028,clone:62029,"balance-scale":62030,"hourglass-o":62032,"hourglass-1":62033,"hourglass-start":62033,"hourglass-2":62034,"hourglass-half":62034,"hourglass-3":62035,"hourglass-end":62035,hourglass:62036,"hand-grab-o":62037,"hand-rock-o":62037,"hand-stop-o":62038,"hand-paper-o":62038,"hand-scissors-o":62039,"hand-lizard-o":62040,"hand-spock-o":62041,"hand-pointer-o":62042,"hand-peace-o":62043,trademark:62044,registered:62045,"creative-commons":62046,gg:62048,"gg-circle":62049,tripadvisor:62050,odnoklassniki:62051,"odnoklassniki-square":62052,"get-pocket":62053,"wikipedia-w":62054,safari:62055,chrome:62056,firefox:62057,opera:62058,"internet-explorer":62059,tv:62060,television:62060,contao:62061,"500px":62062,amazon:62064,"calendar-plus-o":62065,"calendar-minus-o":62066,"calendar-times-o":62067,"calendar-check-o":62068,industry:62069,"map-pin":62070,"map-signs":62071,"map-o":62072,map:62073,commenting:62074,"commenting-o":62075,houzz:62076,vimeo:62077,"black-tie":62078,fonticons:62080,"reddit-alien":62081,edge:62082,"credit-card-alt":62083,codiepie:62084,modx:62085,"fort-awesome":62086,usb:62087,"product-hunt":62088,mixcloud:62089,scribd:62090,"pause-circle":62091,"pause-circle-o":62092,"stop-circle":62093,"stop-circle-o":62094,"shopping-bag":62096,"shopping-basket":62097,hashtag:62098,bluetooth:62099,"bluetooth-b":62100,percent:62101,gitlab:62102,wpbeginner:62103,wpforms:62104,envira:62105,"universal-access":62106,"wheelchair-alt":62107,"question-circle-o":62108,blind:62109,"audio-description":62110,"volume-control-phone":62112,braille:62113,"assistive-listening-systems":62114,"asl-interpreting":62115,"american-sign-language-interpreting":62115,deafness:62116,"hard-of-hearing":62116,deaf:62116,glide:62117,"glide-g":62118,signing:62119,"sign-language":62119,"low-vision":62120,viadeo:62121,"viadeo-square":62122,snapchat:62123,"snapchat-ghost":62124,"snapchat-square":62125,"pied-piper":62126,"first-order":62128,yoast:62129,themeisle:62130,"google-plus-circle":62131,"google-plus-official":62131,fa:62132,"font-awesome":62132,"handshake-o":62133,"envelope-open":62134,"envelope-open-o":62135,linode:62136,"address-book":62137,"address-book-o":62138,vcard:62139,"address-card":62139,"vcard-o":62140,"address-card-o":62140,"user-circle":62141,"user-circle-o":62142,"user-o":62144,"id-badge":62145,"drivers-license":62146,"id-card":62146,"drivers-license-o":62147,"id-card-o":62147,quora:62148,"free-code-camp":62149,telegram:62150,"thermometer-4":62151,thermometer:62151,"thermometer-full":62151,"thermometer-3":62152,"thermometer-three-quarters":62152,"thermometer-2":62153,"thermometer-half":62153,"thermometer-1":62154,"thermometer-quarter":62154,"thermometer-0":62155,"thermometer-empty":62155,shower:62156,bathtub:62157,s15:62157,bath:62157,podcast:62158,"window-maximize":62160,"window-minimize":62161,"window-restore":62162,"times-rectangle":62163,"window-close":62163,"times-rectangle-o":62164,"window-close-o":62164,bandcamp:62165,grav:62166,etsy:62167,imdb:62168,ravelry:62169,eercast:62170,microchip:62171,"snowflake-o":62172,superpowers:62173,wpexplorer:62174,meetup:62176}},828,[]); +__d(function(e,t,r,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=babelHelpers.interopRequireDefault(t(l[0])),u=babelHelpers.interopRequireDefault(t(l[1])),o=t(l[2]);function i(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n flex: 1;\n justifyContent: center;\n"]);return i=function(){return e},e}var f=u.default.View(i());n.default=function(e){var t=e.color,r=void 0===t?'#13a5ae':t;return a.default.createElement(f,null,a.default.createElement(o.Spinner,{color:r}))}},829,[31,803,456]); +__d(function(e,n,t,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=babelHelpers.interopRequireDefault(n(a[0])),o=babelHelpers.interopRequireDefault(n(a[1])),u=babelHelpers.interopRequireDefault(n(a[2])),i=babelHelpers.interopRequireDefault(n(a[3])),d=n(a[4]);function f(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n border: 0.5px solid #258489;\n position: relative;\n bottom: 10px;\n width: 95%;\n margin-left: 10px;\n"]);return f=function(){return e},e}function p(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n margin: 5px 5px 5px 35px;\n flex: 1;\n height: 45px;\n color: #161616;\n font-size: 20px;\n"]);return p=function(){return e},e}function s(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n left: 88%;\n top: 18px;\n flex: 1;\n alignItems: flex-end;\n color: #258489;\n"]);return s=function(){return e},e}function c(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n backgroundColor: transparent;\n position: absolute;\n zIndex: 5;\n left: 5px;\n top: 18px;\n color: #2CA4AB;\n"]);return c=function(){return e},e}function b(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n backgroundColor: white;\n minHeight: 60px;\n"]);return b=function(){return e},e}var m=o.default.View(b()),x=(0,o.default)(u.default)(c()),g=x.extend(s()),v=o.default.TextInput(p()),h=o.default.View(f());var H=function(e){var n=e.actions,t=e.data;return l.default.createElement(d.TouchableOpacity,{onPress:function(){return d.Keyboard.dismiss()}},l.default.createElement(m,null,l.default.createElement(x,{name:"search",size:30}),l.default.createElement(v,{underlineColorAndroid:"rgba(0,0,0,0)",placeholder:"Search\u2026",keyboardType:"web-search",onChangeText:function(e){return n.search(e)},value:t.value}),l.default.createElement(i.default,{test:t.value},l.default.createElement(g,{name:"close",onPress:function(){n.clearSearch(),d.Keyboard.dismiss()},size:30})),l.default.createElement(h,null)))};r.default=H},830,[31,803,831,833,1]); +__d(function(e,a,r,t,o){Object.defineProperty(t,"__esModule",{value:!0}),t.getImageSource=t.ToolbarAndroid=t.TabBarItemIOS=t.TabBarItem=t.Button=t.default=void 0;var l=babelHelpers.interopRequireDefault(a(o[0])),u=babelHelpers.interopRequireDefault(a(o[1])),b=(0,l.default)(u.default,'EvilIcons','EvilIcons.ttf'),d=b;t.default=d;var I=b.Button;t.Button=I;var n=b.TabBarItem;t.TabBarItem=n;var i=b.TabBarItemIOS;t.TabBarItemIOS=i;var v=b.ToolbarAndroid;t.ToolbarAndroid=v;var f=b.getImageSource;t.getImageSource=f},831,[822,832]); +__d(function(e,r,c,o){c.exports={archive:61696,"arrow-down":61697,"arrow-left":61698,"arrow-right":61699,"arrow-up":61700,bell:61701,calendar:61702,camera:61703,cart:61704,chart:61705,check:61706,"chevron-down":61707,"chevron-left":61708,"chevron-right":61709,"chevron-up":61710,clock:61711,close:61712,"close-o":61713,comment:61714,"credit-card":61715,envelope:61716,exclamation:61717,"external-link":61718,eye:61719,gear:61720,heart:61721,image:61722,like:61723,link:61724,location:61725,lock:61726,minus:61727,navicon:61728,paperclip:61729,pencil:61730,play:61731,plus:61732,pointer:61733,question:61734,redo:61735,refresh:61736,retweet:61737,"sc-facebook":61738,"sc-github":61739,"sc-google-plus":61740,"sc-instagram":61741,"sc-linkedin":61742,"sc-odnoklassniki":61743,"sc-pinterest":61744,"sc-skype":61745,"sc-soundcloud":61746,"sc-telegram":61747,"sc-tumblr":61748,"sc-twitter":61749,"sc-vimeo":61750,"sc-vk":61751,"sc-youtube":61752,search:61753,"share-apple":61754,"share-google":61755,spinner:61756,"spinner-2":61757,"spinner-3":61758,star:61759,tag:61760,trash:61761,trophy:61762,undo:61763,unlock:61764,user:61765}},832,[]); +__d(function(e,t,d,n,u){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e){var t=e.test,d=e.children;return!!t&&d}},833,[]); +__d(function(e,t,n,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=babelHelpers.interopRequireDefault(t(a[0])),u=babelHelpers.interopRequireDefault(t(a[1])),i=babelHelpers.interopRequireDefault(t(a[2])),o=t(a[3]);function f(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n background: ",";\n height: 50px;\n width: 50px;\n z-index: 10;\n justify-content: center;\n align-items: center;\n"]);return f=function(){return e},e}var c=u.default.TouchableOpacity(f(),o.backgroundColor);r.default=function(e){var t=e.onPress;return l.default.createElement(c,{onPress:t},l.default.createElement(i.default,{name:"filter",color:"white",size:30}))}},834,[31,803,821,799]); +__d(function(e,t,a,r,l){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var i=babelHelpers.interopRequireWildcard(t(l[0])),n=babelHelpers.interopRequireDefault(t(l[1])),s=t(l[2]),o=t(l[3]),c=babelHelpers.interopRequireWildcard(t(l[4])),p=t(l[5]),u=t(l[6]),b=babelHelpers.interopRequireDefault(t(l[7])),f=babelHelpers.interopRequireDefault(t(l[8])),d=babelHelpers.interopRequireDefault(t(l[9])),h=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.actions,a=e.navigation.state.params.reciter;t.getChapters(),t.loadFilesForReciter(a.id)}},{key:"render",value:function(){var e=this.props,t=e.navigation,a=e.chapters,r=e.actions,l=e.search,n=e.files,s=t.navigate,o=t.state.params.reciter;return a.length<1||n.length<1?i.default.createElement(f.default,null):i.default.createElement(p.Container,null,i.default.createElement(d.default,{name:o.name,arabicName:o.arabic_name}),i.default.createElement(b.default,{chapters:a,files:n,reciter:o,actions:babelHelpers.objectSpread({},r,{navigate:s}),search:l}))}}]),babelHelpers.inherits(t,e),t})(i.Component);h.navigationOptions=function(){return babelHelpers.objectSpread({title:'Surahs'},u.baseHeaderStyle)},h.propTypes={navigation:n.default.object.isRequired},h.propTypes={actions:n.default.object.isRequired};var v=(0,s.connect)(function(e){return{chapters:e.chapters.chapters,files:e.files.files,search:e.search}},function(e){return{actions:(0,o.bindActionCreators)(c,e),dispatch:e}})(h);r.default=v},835,[31,48,305,301,778,456,799,836,829,838]); +__d(function(e,t,n,r,a){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=babelHelpers.interopRequireDefault(t(a[0])),i=babelHelpers.interopRequireDefault(t(a[1])),u=babelHelpers.interopRequireWildcard(t(a[2])),o=t(a[3]),f=t(a[4]),d=babelHelpers.interopRequireDefault(t(a[5]));function c(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n flex: 1;\n font-size: 20px;\n justify-content: center;\n align-self: center;\n margin-top: 50%;\n"]);return c=function(){return e},e}function s(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n color: #2CA4AB;\n"]);return s=function(){return e},e}function p(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n flex: 1;\n flex-direction: row;\n"]);return p=function(){return e},e}function m(){var e=babelHelpers.taggedTemplateLiteralLoose(["flex-grow: 1;"]);return m=function(){return e},e}function b(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n width: 33%;\n background: white;\n border: 1px solid #2ca4ab;\n border-radius: 10px;\n justify-content: center;\n text-align: center;\n overflow: hidden;\n padding-top: 3px;\n"]);return b=function(){return e},e}function g(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n text-align: right;\n width: 33%;\n"]);return g=function(){return e},e}var L=i.default.Text(g()),x=i.default.Text(b()),h=i.default.Text(m()),v=i.default.View(p()),T=(0,i.default)(d.default)(s()),w=i.default.Text(c());r.default=function(e){if(e.chapters.length<1)return l.default.createElement(w,null,l.default.createElement(T,{name:"exclamation-triangle",size:25})," No chapter(s) found.");return l.default.createElement(o.FlatList,{data:e.chapters,renderItem:function(t){var n,r,a=t.item;return n=a,r=e.files&&e.files[n.id]?u.secondTime(e.files[n.id-1].format.duration):'00:00',l.default.createElement(f.ListItem,{style:{marginRight:10},key:n.id,onPress:function(){return e.actions.selectChapter({reciter:e.reciter,chapter:n.id})}},l.default.createElement(v,null,l.default.createElement(h,null,n.name.simple),l.default.createElement(x,{onPress:function(){return o.Linking.openURL("https://www.quran.com/"+n.id)}},' ',l.default.createElement(T,{name:"book"})," Read",' '),l.default.createElement(L,null,r)))}})}},836,[31,803,837,1,456,821]); +__d(function(t,e,n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.findSongInCollection=function(t,e){return e.filter(function(e){return e.id===t}).length},r.isAudioObject=function(t){return'audio/mpeg'===t},r.getSongName=function(t){return t.split('=')[1].replace(/"/g,'').split('.mp3')[0]},r.getSongsFromStorage=function(){var t;return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,regeneratorRuntime.awrap(o.AsyncStorage.getItem('songs'));case 2:return t=(t=e.sent)||JSON.stringify([]),e.abrupt("return",JSON.parse(t));case 5:case"end":return e.stop()}},null,this)},r.secondTime=function(t){if(!t)return!1;var e=new Date(null);e.setSeconds(t);var n=e.toISOString().substr(11,8),r=n.split(':');if('00'===r[0])return r.shift(),r.join(':');return n},r.itemsToTracks=r.constants=r.formattedTime=void 0;var o=e(i[0]),u=function(t){return t<10?"0"+t:""+t};r.formattedTime=function(t){var e=Math.floor(t/60),n=t-60*e;return isNaN(e)||isNaN(n)?'':u(e)+":"+u(n.toFixed(0))};r.constants={defaultTime:'00:00'};r.itemsToTracks=function(t){return t.map(function(t){return{id:""+t.id,url:t.path,title:t.title,artist:t.artist||'',artwork:encodeURI(t.thumb)}})}},837,[1]); +__d(function(e,r,t,n,l){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=babelHelpers.interopRequireWildcard(r(l[0])),o=babelHelpers.interopRequireDefault(r(l[1])),u=babelHelpers.interopRequireDefault(r(l[2]));function i(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n color: black;\n font-size: 20px;\n margin-left: 20px;\n flex-wrap: wrap;\n flex: 1;\n "]);return i=function(){return e},e}function p(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n background: ",";\n height: 80px;\n width: 80px;\n border-radius: 50px;\n "]);return p=function(){return e},e}function s(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n height: 100px;\n border-bottom-width: 1px;\n margin: 0 10px;\n flex-direction: row;\n align-items: center;\n "]);return s=function(){return e},e}var f=(function(e){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.createClass(r,[{key:"render",value:function(){var e=this.props.name;return a.default.createElement(b,null,a.default.createElement(c,{color:r.getColor}),a.default.createElement(d,null,e))}}],[{key:"getColor",get:function(){return(0,u.default)({luminosity:'dark',format:'rgba',alpha:.5})}}]),babelHelpers.inherits(r,e),r})(a.PureComponent);n.default=f;var b=o.default.View(s()),c=o.default.View(p(),function(e){return e.color}),d=o.default.Text(i())},838,[31,803,839]); +__d(function(r,e,n,t,a){!(function(r,e){if('object'==typeof t){var a=e();'object'==typeof n&&n&&n.exports&&(t=n.exports=a),t.randomColor=a}else'function'==typeof define&&define.amd?define([],e):r.randomColor=e()})(this,function(){var r=null,e={};h('monochrome',null,[[0,0],[100,0]]),h('red',[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),h('orange',[19,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),h('yellow',[47,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),h('green',[63,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),h('blue',[179,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),h('purple',[258,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),h('pink',[283,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]);function n(r){var e=f(s(r.hue));return e<0&&(e=360+e),e}function t(r,e){if('monochrome'===e.hue)return 0;if('random'===e.luminosity)return f([0,100]);var n=i(r),t=n[0],a=n[1];switch(e.luminosity){case'bright':t=55;break;case'dark':t=a-10;break;case'light':a=55}return f([t,a])}function a(r,e,n){var t=o(r,e),a=100;switch(n.luminosity){case'dark':a=t+20;break;case'light':t=(a+t)/2;break;case'random':t=0,a=100}return f([t,a])}function u(r,e){switch(e.format){case'hsvArray':return r;case'hslArray':return v(r);case'hsl':var n=v(r);return'hsl('+n[0]+', '+n[1]+'%, '+n[2]+'%)';case'hsla':var t=v(r),a=e.alpha||Math.random();return'hsla('+t[0]+', '+t[1]+'%, '+t[2]+'%, '+a+')';case'rgbArray':return d(r);case'rgb':return'rgb('+d(r).join(', ')+')';case'rgba':var u=d(r);a=e.alpha||Math.random();return'rgba('+u.join(', ')+', '+a+')';default:return l(r)}}function o(r,e){for(var n=c(r).lowerBounds,t=0;t=a&&e<=o){var i=(s-u)/(o-a);return i*e+(u-i*a)}}return 0}function s(r){if('number'==typeof parseInt(r)){var n=parseInt(r);if(n<360&&n>0)return[n,n]}if('string'==typeof r)if(e[r]){var t=e[r];if(t.hueRange)return t.hueRange}else if(r.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var a=g(r)[0];return[a,a]}return[0,360]}function i(r){return c(r).saturationRange}function c(r){for(var n in r>=334&&r<=360&&(r-=360),e){var t=e[n];if(t.hueRange&&r>=t.hueRange[0]&&r<=t.hueRange[1])return e[n]}return'Color not found'}function f(e){if(null===r)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,t=e[0]||0,a=(r=(9301*r+49297)%233280)/233280;return Math.floor(t+a*(n-t))}function l(r){var e=d(r);function n(r){var e=r.toString(16);return 1==e.length?'0'+e:e}return'#'+n(e[0])+n(e[1])+n(e[2])}function h(r,n,t){var a=t[0][0],u=t[t.length-1][0],o=t[t.length-1][1],s=t[0][1];e[r]={hueRange:n,lowerBounds:t,saturationRange:[a,u],brightnessRange:[o,s]}}function d(r){var e=r[0];0===e&&(e=1),360===e&&(e=359),e/=360;var n=r[1]/100,t=r[2]/100,a=Math.floor(6*e),u=6*e-a,o=t*(1-n),s=t*(1-u*n),i=t*(1-(1-u)*n),c=256,f=256,l=256;switch(a){case 0:c=t,f=i,l=o;break;case 1:c=s,f=t,l=o;break;case 2:c=o,f=t,l=i;break;case 3:c=o,f=s,l=t;break;case 4:c=i,f=o,l=t;break;case 5:c=t,f=o,l=s}return[Math.floor(255*c),Math.floor(255*f),Math.floor(255*l)]}function g(r){r=3===(r=r.replace(/^#/,'')).length?r.replace(/(.)/g,'$1$1'):r;var e=parseInt(r.substr(0,2),16)/255,n=parseInt(r.substr(2,2),16)/255,t=parseInt(r.substr(4,2),16)/255,a=Math.max(e,n,t),u=a-Math.min(e,n,t),o=a?u/a:0;switch(a){case e:return[(n-t)/u%6*60||0,o,a];case n:return[60*((t-e)/u+2)||0,o,a];case t:return[60*((e-n)/u+4)||0,o,a]}}function v(r){var e=r[0],n=r[1]/100,t=r[2]/100,a=(2-n)*t;return[e,Math.round(n*t/(a<1?a:2-a)*1e4)/100,a/2*100]}function b(r){for(var e=0,n=0;n!==r.length&&!(e>=Number.MAX_SAFE_INTEGER);n++)e+=r.charCodeAt(n);return e}return function e(o){if(void 0!==(o=o||{}).seed&&null!==o.seed&&o.seed===parseInt(o.seed,10))r=o.seed;else if('string'==typeof o.seed)r=b(o.seed);else{if(void 0!==o.seed&&null!==o.seed)throw new TypeError('The seed value must be an integer or string');r=null}var s,i;if(null!==o.count&&void 0!==o.count){var c=o.count,f=[];for(o.count=null;c>f.length;)r&&o.seed&&(o.seed+=1),f.push(e(o));return o.count=c,f}return u([s=n(o),i=t(s,o),a(s,i,o)],o)}})},839,[]); +__d(function(e,t,r,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=babelHelpers.interopRequireDefault(t(a[0])),l=t(a[1]),o=t(a[2]),u=t(a[3]),c=babelHelpers.interopRequireWildcard(t(a[4])),s=babelHelpers.interopRequireDefault(t(a[5])),p=babelHelpers.interopRequireDefault(t(a[6])),d=babelHelpers.interopRequireDefault(t(a[7])),f=babelHelpers.interopRequireDefault(t(a[8]));function b(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n transform: rotate(","deg);\n"]);return b=function(){return e},e}function m(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n background: #2ca4ab;\n width: 30px;\n height: 30px;\n align-self: flex-end;\n align-items: center;\n justify-content: center;\n border-radius: 5px;\n position: relative;\n top: -4px;\n"]);return m=function(){return e},e}function h(){var e=babelHelpers.taggedTemplateLiteralLoose(["\n height: ","px;\n width: 100%;\n background: #000;\n borderTopColor: #2ca4ab;\n borderTopWidth: 5px;\n"]);return h=function(){return e},e}var g=s.default.View(h(),function(e){return e.minimise?'40':'220'}),H=l.Animated.createAnimatedComponent(g),v=s.default.TouchableOpacity(m()),y=(0,s.default)(f.default)(b(),function(e){return e.directionUp?'180':'0'}),C=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.chapters,r=e.player,n=e.actions,a=t.selection;return!(!a||!a.chapter)&&i.default.createElement(i.default.Fragment,null,i.default.createElement(H,{minimise:r.minimise},i.default.createElement(v,{onPress:function(){return n.minimisePlayer(!r.minimise)}},i.default.createElement(y,{name:"chevron-down",color:"white",directionUp:r.minimise})),i.default.createElement(p.default,{minimise:r.minimise,key:a.chapter,chapters:(0,d.default)(a.reciter,t.chapters,a.chapter)})),i.default.createElement(l.SafeAreaView,{style:{backgroundColor:'#000'}}))}}]),babelHelpers.inherits(t,e),t})(i.default.Component);var x=(0,o.connect)(function(e){return{chapters:e.chapters,reciters:e.reciters.reciters,main:e.main,player:e.player,search:e.search}},function(e){return{actions:(0,u.bindActionCreators)(c,e),dispatch:e}})(C);n.default=x},840,[31,1,305,301,778,803,841,861,821]); +__d(function(e,t,a,r,s){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=babelHelpers.interopRequireWildcard(t(s[0])),l=t(s[1]),p=babelHelpers.interopRequireWildcard(t(s[2])),i=t(s[3]),u=t(s[4]),o=babelHelpers.interopRequireDefault(t(s[5])),c=babelHelpers.interopRequireWildcard(t(s[6])),d=babelHelpers.interopRequireDefault(t(s[7])),f=t(s[8]),h=(babelHelpers.interopRequireWildcard(t(s[9])),babelHelpers.interopRequireDefault(t(s[10]))),g=t(s[11]),m=(function(e){function t(){var e,a,r;babelHelpers.classCallCheck(this,t);for(var s=arguments.length,n=new Array(s),p=0;p=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function g(e,t,n,a){this.x=e,this.y=t,this.width=n,this.height=a}g.prototype.containsPoint=function(e,t){return e>=this.x&&t>=this.y&&e<=this.x+this.width&&t<=this.y+this.height};var _={spring:{friction:7,tension:100},timing:{duration:150,easing:s.Easing.inOut(s.Easing.ease),delay:0}},T=(function(e){function t(){var e,n,a;p(this,t);for(var r=arguments.length,u=Array(r),l=0;l=i?u=i+u%i:u%=i;var d=(o%=i)>u?i-o+u:u-o;if(d>=i)return n.ART.Path().moveTo(e+a,t).arc(0,2*a,a,a).arc(0,-2*a,a,a).close();var c='counter-clockwise'===l?-1:1;u*=c,o*=c;var f=Math.sin(o),p=Math.cos(o),b=Math.sin(u),h=Math.cos(u);return"M"+(e+a*(1+f))+" "+(t+a-a*p)+"\n A"+a+" "+a+" 0 "+(d>Math.PI?1:0)+" "+('counter-clockwise'===l?0:1)+" "+(e+a*(1+b))+" "+(t+a-a*h)}var d=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.startAngle,r=e.endAngle,s=e.radius,a=e.offset,o=e.direction,i=e.strokeCap,d=e.strokeWidth,c=babelHelpers.objectWithoutProperties(e,["startAngle","endAngle","radius","offset","direction","strokeCap","strokeWidth"]),f=u((a.left||0)+d/2,(a.top||0)+d/2,t,r,s-d/2,o);return l.default.createElement(n.ART.Shape,babelHelpers.extends({d:f,strokeCap:i,strokeWidth:d},c))}}]),babelHelpers.inherits(t,e),t})(l.Component);s.default=d,d.propTypes={startAngle:o.default.number.isRequired,endAngle:o.default.number.isRequired,radius:o.default.number.isRequired,offset:o.default.shape({top:o.default.number,left:o.default.number}),strokeCap:o.default.string,strokeWidth:o.default.number,direction:o.default.oneOf(['clockwise','counter-clockwise'])},d.defaultProps={startAngle:0,offset:{top:0,left:0},strokeCap:'butt',strokeWidth:0,direction:'clockwise'}},854,[31,48,1]); +__d(function(e,t,s,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e,t){var s,i,a=e.displayName||e.name||'Component';return i=s=(function(s){function i(e){var t;return babelHelpers.classCallCheck(this,i),(t=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(i).call(this,e))).progressValue=Math.min(Math.max(e.progress,0),1),t.rotationValue=0,t.state={progress:new o.Animated.Value(t.progressValue),rotation:new o.Animated.Value(t.rotationValue)},t}return babelHelpers.createClass(i,[{key:"componentDidMount",value:function(){var e=this;this.state.progress.addListener(function(t){e.progressValue=t.value}),this.state.rotation.addListener(function(t){e.rotationValue=t.value}),this.props.indeterminate&&(this.spin(),t&&o.Animated.spring(this.state.progress,{toValue:t}).start())}},{key:"componentWillUnmount",value:function(){this.state.progress.removeAllListeners(),this.state.rotation.removeAllListeners()}},{key:"componentWillReceiveProps",value:function(e){var s=this;e.indeterminate!==this.props.indeterminate&&(e.indeterminate?this.spin():o.Animated.spring(this.state.rotation,{toValue:this.rotationValue>.5?1:0}).start(function(e){e.finished&&s.state.rotation.setValue(0)}));var i=e.indeterminate?t||0:Math.min(Math.max(e.progress,0),1);i!==this.progressValue&&(e.animated?o.Animated.spring(this.state.progress,{toValue:i,bounciness:0}).start():this.state.progress.setValue(i))}},{key:"spin",value:function(){var e=this;this.state.rotation.setValue(0),o.Animated.timing(this.state.rotation,{toValue:'counter-clockwise'===this.props.direction?-1:1,duration:1e3,easing:o.Easing.linear,isInteraction:!1}).start(function(t){t.finished&&e.spin()})}},{key:"render",value:function(){return n.default.createElement(e,babelHelpers.extends({},this.props,{progress:this.props.animated?this.state.progress:this.props.progress,rotation:this.state.rotation}))}}]),babelHelpers.inherits(i,s),i})(n.Component),s.displayName="withAnimation("+a+")",s.propTypes={animated:r.default.bool,direction:r.default.oneOf(['clockwise','counter-clockwise']),indeterminate:r.default.bool,progress:r.default.number.isRequired},s.defaultProps={animated:!0,indeterminate:!1,progress:0},i};var n=babelHelpers.interopRequireWildcard(t(a[0])),r=babelHelpers.interopRequireDefault(t(a[1])),o=t(a[2])},855,[31,48,1]); +__d(function(e,t,n,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=babelHelpers.interopRequireWildcard(t(a[0])),o=babelHelpers.interopRequireDefault(t(a[1])),r=t(a[2]),l=babelHelpers.interopRequireDefault(t(a[3])),u=r.Animated.createAnimatedComponent(l.default),d=1.5*Math.PI,c=(function(e){function t(e){var n;return babelHelpers.classCallCheck(this,t),(n=babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).call(this,e))).state={startAngle:new r.Animated.Value(-.1),endAngle:new r.Animated.Value(0),rotation:new r.Animated.Value(0),colorIndex:0},n}return babelHelpers.createClass(t,[{key:"componentDidMount",value:function(){this.props.animating&&(this.animate(),this.spin())}},{key:"componentWillReceiveProps",value:function(e){e.animating!==this.props.animating&&(e.animating?(this.animate(),this.spin()):this.stopAnimations())}},{key:"animate",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;r.Animated.sequence([r.Animated.timing(this.state.startAngle,{toValue:-d*t-.1,duration:this.props.duration||1e3,isInteraction:!1,easing:r.Easing.inOut(r.Easing.quad)}),r.Animated.timing(this.state.endAngle,{toValue:-d*t,duration:this.props.duration||1e3,isInteraction:!1,easing:r.Easing.inOut(r.Easing.quad)})]).start(function(n){n.finished&&(Array.isArray(e.props.color)&&e.setState({colorIndex:t%e.props.color.length}),e.animate(t+1))})}},{key:"spin",value:function(){var e=this;r.Animated.timing(this.state.rotation,{toValue:1,duration:this.props.spinDuration||5e3,easing:r.Easing.linear,isInteraction:!1}).start(function(t){t.finished&&(e.state.rotation.setValue(0),e.spin())})}},{key:"stopAnimations",value:function(){this.state.startAngle.stopAnimation(),this.state.endAngle.stopAnimation(),this.state.rotation.stopAnimation()}},{key:"render",value:function(){var e=this.props,t=e.animating,n=e.children,i=e.color,a=e.direction,o=e.hidesWhenStopped,l=e.size,d=e.style,c=e.thickness,p=e.strokeCap,h=babelHelpers.objectWithoutProperties(e,["animating","children","color","direction","hidesWhenStopped","size","style","thickness","strokeCap"]);if(!t&&o)return null;var f=l/2-c,g={top:c,left:c},m='counter-clockwise'===a?-1:1;return s.default.createElement(r.Animated.View,babelHelpers.extends({},h,{style:[d,{backgroundColor:'transparent',overflow:'hidden',transform:[{rotate:this.state.rotation.interpolate({inputRange:[0,1],outputRange:['0deg',360*m+"deg"]})}]}]}),s.default.createElement(r.ART.Surface,{width:l,height:l},s.default.createElement(u,{direction:'counter-clockwise'===a?'clockwise':'counter-clockwise',radius:f,stroke:Array.isArray(i)?i[this.state.colorIndex]:i,offset:g,startAngle:this.state.startAngle,endAngle:this.state.endAngle,strokeCap:p,strokeWidth:c})),n)}}]),babelHelpers.inherits(t,e),t})(s.Component);i.default=c,c.propTypes={animating:o.default.bool,color:o.default.oneOfType([o.default.string,o.default.arrayOf(o.default.string)]),children:o.default.node,direction:o.default.oneOf(['clockwise','counter-clockwise']),duration:o.default.number,hidesWhenStopped:o.default.bool,size:o.default.number,spinDuration:o.default.number,style:o.default.any,thickness:o.default.number,strokeCap:o.default.string},c.defaultProps={animating:!0,color:'rgba(0, 122, 255, 1)',direction:'counter-clockwise',hidesWhenStopped:!1,size:40,thickness:3,strokeCap:'round'}},856,[31,48,1,854]); +__d(function(e,t,r,l,a){Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.ProgressPie=void 0;var o=babelHelpers.interopRequireWildcard(t(a[0])),n=babelHelpers.interopRequireDefault(t(a[1])),i=t(a[2]),d=babelHelpers.interopRequireDefault(t(a[3])),s=babelHelpers.interopRequireDefault(t(a[4])),u=babelHelpers.interopRequireDefault(t(a[5])),f=2*Math.PI,p=i.Animated.createAnimatedComponent(i.ART.Surface),b=i.Animated.createAnimatedComponent(s.default),c=i.StyleSheet.create({container:{backgroundColor:'transparent',overflow:'hidden'}}),m=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.animated,r=e.borderColor,l=e.borderWidth,a=e.children,n=e.color,u=e.progress,m=e.rotation,h=e.size,g=e.style,y=e.unfilledColor,C=babelHelpers.objectWithoutProperties(e,["animated","borderColor","borderWidth","children","color","progress","rotation","size","style","unfilledColor"]),H=m?p:i.ART.Surface,R=t?b:s.default,A=t?i.Animated.multiply(u,f):u*f,P=h/2-l,v={top:l,left:l};return o.default.createElement(i.View,babelHelpers.extends({style:[c.container,g]},C),o.default.createElement(H,{width:h,height:h,style:m?{transform:[{rotate:m.interpolate({inputRange:[0,1],outputRange:['0deg','360deg']})}]}:void 0},!!y&&o.default.createElement(d.default,{radius:P,offset:v,fill:y}),o.default.createElement(R,{radius:P,angle:A,offset:v,fill:n}),!!l&&o.default.createElement(d.default,{radius:h/2,stroke:r||n,strokeWidth:l})),a)}}]),babelHelpers.inherits(t,e),t})(o.Component);l.ProgressPie=m,m.propTypes={animated:n.default.bool,borderColor:n.default.string,borderWidth:n.default.number,color:n.default.string,children:n.default.node,progress:n.default.oneOfType([n.default.number,n.default.instanceOf(i.Animated.Value)]),rotation:n.default.instanceOf(i.Animated.Value),size:n.default.number,style:n.default.any,unfilledColor:n.default.string},m.defaultProps={borderWidth:1,color:'rgba(0, 122, 255, 1)',progress:0,size:40};var h=(0,u.default)(m,.2);l.default=h},857,[31,48,1,858,859,855]); +__d(function(e,t,r,o,l){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var s=babelHelpers.interopRequireWildcard(t(l[0])),i=babelHelpers.interopRequireDefault(t(l[1])),a=t(l[2]);function u(e,t,r,o){var l='counter-clockwise'===o?'counterArc':'arc';return a.ART.Path().moveTo(e,t).move(r,0)[l](0,2*r,r,r)[l](0,-2*r,r,r).close()}var n=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.radius,r=e.offset,o=e.strokeWidth,l=e.direction,i=babelHelpers.objectWithoutProperties(e,["radius","offset","strokeWidth","direction"]),n=u((r.left||0)+o/2,(r.top||0)+o/2,t-o/2,l);return s.default.createElement(a.ART.Shape,babelHelpers.extends({d:n,strokeCap:"butt",strokeWidth:o},i))}}]),babelHelpers.inherits(t,e),t})(s.Component);o.default=n,n.propTypes={radius:i.default.number.isRequired,offset:i.default.shape({top:i.default.number,left:i.default.number}),strokeWidth:i.default.number,direction:i.default.oneOf(['clockwise','counter-clockwise'])},n.defaultProps={offset:{top:0,left:0},strokeWidth:0,direction:'clockwise'}},858,[31,48,1]); +__d(function(e,t,r,a,l){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=babelHelpers.interopRequireWildcard(t(l[0])),n=babelHelpers.interopRequireDefault(t(l[1])),u=t(l[2]),o=2*Math.PI;function i(e,t,r,a){if(r>=o)return u.ART.Path().moveTo(e,t).move(a,0).arc(0,2*a,a,a).arc(0,-2*a,a,a).close();var l=Math.PI/2-r,s=Math.PI/2,n=r>Math.PI?1:0,i=e+a,f=t+a;return"M"+i+" "+f+"\n L"+(i+Math.cos(l)*a)+" "+(f-Math.sin(l)*a)+"\n A"+a+" "+a+" 0 "+n+" 0 "+(i+Math.cos(s)*a)+" "+(f-Math.sin(s)*a)+"\n L"+i+" "+f}var f=(function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,babelHelpers.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.createClass(t,[{key:"render",value:function(){var e=this.props,t=e.angle,r=e.radius,a=e.offset,l=babelHelpers.objectWithoutProperties(e,["angle","radius","offset"]),n=i(a.left||0,a.top||0,t,r);return s.default.createElement(u.ART.Shape,babelHelpers.extends({d:n},l))}}]),babelHelpers.inherits(t,e),t})(s.Component);a.default=f,f.propTypes={angle:n.default.number.isRequired,radius:n.default.number.isRequired,offset:n.default.shape({top:n.default.number,left:n.default.number})},f.defaultProps={offset:{top:0,left:0}}},859,[31,48,1]); +__d(function(e,t,l,a,r){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=babelHelpers.interopRequireDefault(t(r[0])),n=t(r[1]),s=babelHelpers.interopRequireDefault(t(r[2])),u=t(r[3]),o=babelHelpers.interopRequireDefault(t(r[4])),d=t(r[5]),f=(function(e){function t(){var e,l,a;babelHelpers.classCallCheck(this,t);for(var r=arguments.length,i=new Array(r),s=0;s0?new Array(t+(/\./.test(o)?2:1)).join(r)+o:o+'')}},862,[]); +__d(function(e,a,r,l,t){Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var u=a(t[0]),i=a(t[1]),f=babelHelpers.interopRequireDefault(a(t[2])),n=babelHelpers.interopRequireDefault(a(t[3])),p=babelHelpers.interopRequireDefault(a(t[4])),b=babelHelpers.interopRequireDefault(a(t[5])),d=babelHelpers.interopRequireDefault(a(t[6])),o=babelHelpers.interopRequireDefault(a(t[7]));l.default=function(e){return(0,u.combineReducers)({main:f.default,reciters:n.default,chapters:p.default,search:b.default,player:d.default,files:o.default,navigation:(0,i.createNavigationReducer)(e)})}},863,[301,864,869,870,871,872,873,874]); +__d(function(e,t,a,r,i){Object.defineProperty(r,"__esModule",{value:!0});var n={initializeListeners:!0,createReduxBoundAddListener:!0,createNavigationPropConstructor:!0,createDidUpdateCallback:!0,createReactNavigationReduxMiddleware:!0,reduxifyNavigator:!0,createNavigationReducer:!0};r.initializeListeners=function(){(0,d.default)(!1,"initializeListeners is deprecated in react-navigation-redux-helpers@2.0.0! Please use reduxifyNavigator instead.")},r.createReduxBoundAddListener=function(){(0,d.default)(!1,"createReduxBoundAddListener is deprecated in react-navigation-redux-helpers@2.0.0! Please use reduxifyNavigator instead.")},r.createNavigationPropConstructor=function(){(0,d.default)(!1,"createNavigationPropConstructor is deprecated in react-navigation-redux-helpers@2.0.0! Please use reduxifyNavigator instead.")},r.createDidUpdateCallback=function(){(0,d.default)(!1,"createDidUpdateCallback is deprecated in react-navigation-redux-helpers@2.0.0! Please use reduxifyNavigator instead.")},Object.defineProperty(r,"createReactNavigationReduxMiddleware",{enumerable:!0,get:function(){return u.createReactNavigationReduxMiddleware}}),Object.defineProperty(r,"reduxifyNavigator",{enumerable:!0,get:function(){return c.reduxifyNavigator}}),Object.defineProperty(r,"createNavigationReducer",{enumerable:!0,get:function(){return o.createNavigationReducer}});var d=babelHelpers.interopRequireDefault(t(i[0])),u=t(i[1]),c=t(i[2]),o=t(i[3]),l=t(i[4]);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(r,e,{enumerable:!0,get:function(){return l[e]}}))})},864,[311,865,867,866,868]); +__d(function(e,t,a,r,n){Object.defineProperty(r,"__esModule",{value:!0}),r.createReactNavigationReduxMiddleware=function(e,t){return c.set(e,new Set),function(a){return function(r){return function(n){var i=a.getState(),u=r(n),l=a.getState(),s=c.get(e);return(0,o.default)(s,"subscribers set should exist for "+e),d(e,s,{type:'action',action:n,state:t(l),lastState:t(i)}),u}}}},r.createDidUpdateCallback=function(e){return g=!0,v.bind(null,e)},r.initializeListeners=function(e,t){var a=c.get(e);(0,o.default)(a,"Before calling `reduxifyNavigator`, please call `createReactNavigationReduxMiddleware`, so that we know when to trigger your listener."),d(e,a,{type:'action',action:u.initAction,state:t,lastState:null}),g&&v(e)},r.createNavigationPropConstructor=function(e){var t=c.get(e);return(0,o.default)(t,"Before calling `reduxifyNavigator`, please call `createReactNavigationReduxMiddleware`, so that we know when to trigger your listener."),function(e,a,r,n){return(0,o.default)(r,"App.router must be provided to createNavigationPropConstructor as of react-navigation-redux-helpers@2.0.0. Learn more: https://reactnavigation.org/docs/en/redux-integration.html#breaking-changes-in-2.3"),(0,o.default)(n,"getCurrentNavigation must be provided to createNavigationPropConstructor as of react-navigation-redux-helpers@2.0.0. Learn more: https://reactnavigation.org/docs/en/redux-integration.html#breaking-changes-in-2.3"),(0,i.getNavigation)(r,a,e,t,s,n)}};var i=t(n[0]),o=babelHelpers.interopRequireDefault(t(n[1])),u=t(n[2]),c=new Map,l={},s=function(){return l};var g=!1,f=new Map;function d(e,t,a){var r=function(){return t.forEach(function(e){return e(a)})};if(g&&a.action.hasOwnProperty('type')&&a.action.type.startsWith("Navigation")&&a.state!==a.lastState){var n=f.get(e);n?n.push(r):f.set(e,[r])}else r()}function v(e){var t=f.get(e);if(t){f.delete(e);var a=t,r=Array.isArray(a),n=0;for(a=r?a:a["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();;){var i;if(r){if(n>=a.length)break;i=a[n++]}else{if((n=a.next()).done)break;i=n.value}i()}}}},865,[333,311,866]); +__d(function(t,i,n,e,o){Object.defineProperty(e,"__esModule",{value:!0}),e.createNavigationReducer=function(t){var i=t.router.getStateForAction(r,null);return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,e=arguments.length>1?arguments[1]:void 0;return t.router.getStateForAction(e,n)||n}},e.initAction=void 0;var r=i(o[0]).NavigationActions.init();e.initAction=r},866,[333]); +__d(function(e,t,r,a,n){Object.defineProperty(a,"__esModule",{value:!0}),a.reduxifyNavigator=function(e,t){var r=(0,s.createDidUpdateCallback)(t),a=(0,s.createNavigationPropConstructor)(t);return(function(n){function l(){var e,t,r;babelHelpers.classCallCheck(this,l);for(var a=arguments.length,n=new Array(a),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.data;switch(n){case r.HOME:return{text:a};default:return e}};var r=t(d[0])},869,[780]); +__d(function(e,t,r,s,a){Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{reciters:[],status:'none'},t=arguments.length>1?arguments[1]:void 0,r=t.type,s=t.data;switch(r){case u.FETCH_RECITERS:return{reciters:s,status:'success'};case u.FETCH_RECITERS_FAIL:return{reciters:[],status:'fail'};default:return e}};var u=t(a[0])},870,[780]); +__d(function(e,t,a,s,r){Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{chapters:[],status:'none',selection:{}},t=arguments.length>1?arguments[1]:void 0,a=t.type,s=t.data;switch(a){case c.FETCH_CHAPTERS:return babelHelpers.objectSpread({},e,{chapters:s,status:'success'});case c.FETCH_CHAPTERS_FAIL:return babelHelpers.objectSpread({},e,{chapters:[],status:'fail'});case c.SELECT_CHAPTER_TO_PLAY:return babelHelpers.objectSpread({},e,{selection:s});default:return e}};var c=t(r[0])},871,[780]); +__d(function(e,t,u,n,a){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{value:''},t=arguments.length>1?arguments[1]:void 0,u=t.type,n=t.input;switch(u){case r.SEARCH:return{value:n};case r.SEARCH_CLEAR:return{value:''};default:return e}};var r=t(a[0])},872,[780]); +__d(function(e,a,s,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,a=arguments.length>1?arguments[1]:void 0,s=a.type,t=a.data;switch(s){case _.AUDIO_PLAYER_SET_SURAHS_LIST:return{surahs:t,status:'success'};case _.AUDIO_PLAYER_SET_SELECTED_SURAH_INDEX:return babelHelpers.objectSpread({},e,{surahIndex:t,minimise:!1});case _.AUDIO_PLAYER_MINIMISE:case _.UPDATE_IS_PLAYING:case _.UPDATE_IS_BACKGROUND_PLAY:return babelHelpers.objectSpread({},e,t);default:return e}};var _=a(r[0]),n={surahs:[],status:'none',minimise:!1,playing:!1,isBackgroundPlay:!1}},873,[780]); +__d(function(e,t,a,l,r){Object.defineProperty(l,"__esModule",{value:!0}),l.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{files:[]},t=arguments.length>1?arguments[1]:void 0,a=t.type,l=t.data;switch(a){case d.GET_FILES:return babelHelpers.objectSpread({},e,{files:l});default:return e}};var d=t(r[0])},874,[780]); +__d(function(e,t,a,r,n){var s=babelHelpers.interopRequireDefault(t(n[0])),i=t(n[1]),p=t(n[2]);a.exports=function(e,t){var a,r,n,u,c;return regeneratorRuntime.async(function(d){for(;;)switch(d.prev=d.next){case 0:if('playback-state'!=t.type){d.next=3;break}d.next=74;break;case 3:if('remote-play'!==t.type){d.next=8;break}s.default.play(),e.dispatch((0,i.updateIsPlaying)(!0)),d.next=74;break;case 8:if('remote-pause'!==t.type){d.next=13;break}s.default.pause(),e.dispatch((0,i.updateIsPlaying)(!1)),d.next=74;break;case 13:if('remote-jump-forward'!==t.type){d.next=20;break}return d.next=16,regeneratorRuntime.awrap(s.default.getPosition());case 16:a=d.sent,s.default.seekTo(a+t.interval),d.next=74;break;case 20:if('remote-jump-backward'!==t.type){d.next=27;break}return d.next=23,regeneratorRuntime.awrap(s.default.getPosition());case 23:r=d.sent,s.default.seekTo(r-t.interval),d.next=74;break;case 27:if('remote-stop'!==t.type){d.next=32;break}s.default.stop(),e.dispatch((0,i.updateIsPlaying)(!1)),d.next=74;break;case 32:if('remote-skip'!==t.type){d.next=40;break}return e.dispatch((0,i.updateIsPlaying)(!1)),s.default.stop(),d.next=37,regeneratorRuntime.awrap(s.default.skip(t.id));case 37:e.dispatch((0,i.updateIsPlaying)(!0)),d.next=74;break;case 40:if('remote-next'!==t.type){d.next=46;break}e.dispatch((0,i.updateIsPlaying)(!1)),s.default.stop(),s.default.skipToNext().then(function(){return e.dispatch((0,i.updateIsPlaying)(!0))}),d.next=74;break;case 46:if('remote-previous'!==t.type){d.next=52;break}e.dispatch((0,i.updateIsPlaying)(!1)),s.default.stop(),s.default.skipToPrevious().then(function(){return e.dispatch((0,i.updateIsPlaying)(!0))}),d.next=74;break;case 52:if('remote-seek'!==t.type){d.next=56;break}s.default.seekTo(t.position),d.next=74;break;case 56:if('remote-duck'!==t.type){d.next=61;break}t.ducking?s.default.pause():s.default.play(),e.dispatch((0,i.updateIsPlaying)(t.ducking)),d.next=74;break;case 61:if('remote-play-id'!==t.type){d.next=67;break}e.dispatch((0,i.updateIsPlaying)(!1)),s.default.stop(),s.default.skip(t.id).then(function(){return e.dispatch((0,i.updateIsPlaying)(!0))}),d.next=74;break;case 67:if('playback-track-changed'!==t.type){d.next=74;break}if(n=e.getState(),u=n.chapters.selection,c=n.player,c.isBackgroundPlay){d.next=72;break}return d.abrupt("return");case 72:e.dispatch((0,i.setSelectedItemIndex)(t.nextTrack)),e.dispatch((0,p.selectChapter)({reciter:u.reciter,chapter:t.nextTrack}));case 74:case"end":return d.stop()}},null,this)}},875,[843,798,778]); +require(97); +require(0); \ No newline at end of file diff --git a/ios/sentry.properties b/ios/sentry.properties new file mode 100644 index 0000000..1cdf40f --- /dev/null +++ b/ios/sentry.properties @@ -0,0 +1,5 @@ +defaults.url=https://sentry.io/ +defaults.org=qurancom +defaults.project=quranicaudio +auth.token=370f5a532d5e4b59ba75f66340177311c84f9639eadc4ceab5b2b5b82d2844a0 +cli.executable=node_modules/@sentry/cli/bin/sentry-cli From 32ff9dd46997f6164e78509ac79c432d21707586 Mon Sep 17 00:00:00 2001 From: mahmoudfelfel Date: Sat, 3 Nov 2018 18:41:50 +0400 Subject: [PATCH 2/5] FIX 1: show descriptions for reciters whenever available --- package.json | 3 +++ src/actions/reciter.js | 10 +++++++++- src/components/ReciterList.js | 12 +++++++++++- src/utils/index.js | 4 ++++ 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 src/utils/index.js diff --git a/package.json b/package.json index 25659fb..ec902d8 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,8 @@ "babel-eslint": "^8.0.2", "core-decorators": "0.19.0", "eslint": "^4.11.0", + "events": "^3.0.0", + "html-to-text": "github:mahmoudfelfel/node-html-to-text#master", "native-base": "^2.8.0", "prop-types": "^15.6.0", "randomcolor": "^0.5.3", @@ -35,6 +37,7 @@ "redux": "4.0.0", "redux-thunk": "2.3.0", "styled-components": "^3.3.0", + "util": "^0.11.1", "zero-fill": "^2.2.3" }, "devDependencies": { diff --git a/src/actions/reciter.js b/src/actions/reciter.js index 11d34dd..933ac69 100644 --- a/src/actions/reciter.js +++ b/src/actions/reciter.js @@ -1,4 +1,12 @@ import { FETCH_RECITERS } from './constants'; +import { cleanTextHTML } from '../utils'; + +const cleanDescriptionHTML = (data) => { + return data.map(obj => ({ + ...obj, + description: cleanTextHTML(obj.description) + })); +}; export const reciters = data => ({ type: FETCH_RECITERS, @@ -10,7 +18,7 @@ export const getReciters = () => { return dispatch => fetch(url) .then(response => response.json()) - .then(data => dispatch(reciters(data))) + .then(data => dispatch(reciters(cleanDescriptionHTML(data)))) .catch((error) => { console.warn(error); dispatch(reciters([])); diff --git a/src/components/ReciterList.js b/src/components/ReciterList.js index 506008c..07be76e 100644 --- a/src/components/ReciterList.js +++ b/src/components/ReciterList.js @@ -12,6 +12,12 @@ const Text = styled.Text` padding: ${props => (props.divider ? '10px' : '0')}; `; +const Description = styled.Text` + color: #454140; + font-size: 14px; + marginTop: 5px; +`; + class Reciters extends React.PureComponent { renderHaramainSection = (reciters) => { const Madinah = reciters.filter(item => item.name.indexOf('Madinah') > -1); @@ -32,11 +38,15 @@ class Reciters extends React.PureComponent { this.props.actions.navigate('Chapters', { reciter })} > {reciter.name} + {reciter.description ? {reciter.description} : null} )); } diff --git a/src/utils/index.js b/src/utils/index.js new file mode 100644 index 0000000..89a0b0e --- /dev/null +++ b/src/utils/index.js @@ -0,0 +1,4 @@ +import htmlToText from 'html-to-text'; + +// eslint-disable-next-line max-len +export const cleanTextHTML = text => htmlToText.fromString(text, { wordwrap: false, ignoreHref: true, ignoreImage: true }); From a39fa113b8a6a9fd9c509d27684b7645d835321f Mon Sep 17 00:00:00 2001 From: mahmoudfelfel Date: Sat, 3 Nov 2018 22:52:44 +0400 Subject: [PATCH 3/5] FIX 2: show only chapters with valid audio files, FIX 3: highlight surah and reciter of the current playing surah --- src/actions/AudioPlayer.js | 10 ++++++++++ src/actions/constants.js | 1 + src/components/AudioPlayer/index.js | 3 ++- src/components/ChapterList.js | 24 +++++++++++++----------- src/components/ReciterList.js | 17 +++++++++++------ src/container/Chapters/index.js | 6 ++++-- src/container/Home/index.js | 6 ++++-- src/reducers/audioPlayer.js | 3 +++ src/utils/index.js | 4 +++- 9 files changed, 51 insertions(+), 23 deletions(-) diff --git a/src/actions/AudioPlayer.js b/src/actions/AudioPlayer.js index 46785e1..58d6a1c 100644 --- a/src/actions/AudioPlayer.js +++ b/src/actions/AudioPlayer.js @@ -4,6 +4,7 @@ import { AUDIO_PLAYER_MINIMISE, UPDATE_IS_PLAYING, UPDATE_IS_BACKGROUND_PLAY, + AUDIO_PLAYER_SET_SELECTED_SURAH, } from './constants'; const surahs = list => ({ @@ -16,6 +17,11 @@ const surahIndex = index => ({ data: index }); +const setSurahItem = surah => ({ + type: AUDIO_PLAYER_SET_SELECTED_SURAH, + data: surah +}); + export const setPlayingSurah = () => {}; export const setItemsList = surahsList => (dispatch) => { @@ -26,6 +32,10 @@ export const setSelectedItemIndex = selectedItemIndex => (dispatch) => { dispatch(surahIndex(selectedItemIndex)); }; +export const setSelectedItem = selectedItem => (dispatch) => { + dispatch(setSurahItem(selectedItem)); +}; + export const minimisePlayer = (minimise = false) => ({ type: AUDIO_PLAYER_MINIMISE, data: { minimise } diff --git a/src/actions/constants.js b/src/actions/constants.js index 5b462c2..791bfda 100644 --- a/src/actions/constants.js +++ b/src/actions/constants.js @@ -22,6 +22,7 @@ export const AUDIO_PLAYER_SET_SELECTED_SURAH_INDEX = 'AUDIO_PLAYER_SET_SELECTED_ export const AUDIO_PLAYER_MINIMISE = 'AUDIO_PLAYER_MINIMISE'; export const UPDATE_IS_PLAYING = 'UPDATE_IS_PLAYING'; export const UPDATE_IS_BACKGROUND_PLAY = 'UPDATE_IS_BACKGROUND_PLAY'; +export const AUDIO_PLAYER_SET_SELECTED_SURAH = 'AUDIO_PLAYER_SET_SELECTED_SURAH'; // Files export const GET_FILES = 'GET_FILES'; diff --git a/src/components/AudioPlayer/index.js b/src/components/AudioPlayer/index.js index 3e1a185..b56a6f5 100644 --- a/src/components/AudioPlayer/index.js +++ b/src/components/AudioPlayer/index.js @@ -26,9 +26,10 @@ class AudioPlayer extends Component { async componentDidMount() { try { - const { chapters: { chapters, selectedChapter } } = this.props; + const { chapters: { chapters, selectedChapter }, selection: {reciter} } = this.props; this.props.actions.setItemsList(chapters); this.props.actions.setSelectedItemIndex(selectedChapter); + this.props.actions.setSelectedItem({ ...chapters[selectedChapter - 1], reciterId: reciter.id }); // configure the Track player await this.initTrackPlayer(); diff --git a/src/components/ChapterList.js b/src/components/ChapterList.js index 06b9bf7..c74f99d 100644 --- a/src/components/ChapterList.js +++ b/src/components/ChapterList.js @@ -3,6 +3,7 @@ import * as Utils from '../utils/audio'; import { Linking, FlatList } from 'react-native'; import { ListItem } from 'native-base'; import FontAwesome from 'react-native-vector-icons/FontAwesome'; +import { isSelectedSurah } from '../utils'; const Duration = styled.Text` text-align: right; @@ -46,18 +47,19 @@ export default (props) => { ); } - const Chapter = (chapter) => { - const duration = - props.files && props.files[chapter.id] - ? Utils.secondTime(props.files[chapter.id - 1].format.duration) - : '00:00'; + const Chapter = (chapter, file) => { + const shouldHighlightRow = isSelectedSurah(file, props.selectedSurah); + const duration = file ? Utils.secondTime(file.format.duration) : '00:00'; return ( props.actions.selectChapter({ reciter: props.reciter, @@ -66,7 +68,7 @@ export default (props) => { > - {chapter.name.simple} + {chapter && chapter.name.simple} @@ -84,8 +86,8 @@ export default (props) => { return ( Chapter(item)} + data={props.files} // iterating over files to make sure we won't have any chapters without audio files + renderItem={({ item }) => Chapter(props.chapters[item.surah_id - 1], item)} /> ); }; diff --git a/src/components/ReciterList.js b/src/components/ReciterList.js index 07be76e..4d68590 100644 --- a/src/components/ReciterList.js +++ b/src/components/ReciterList.js @@ -1,14 +1,15 @@ import React from 'react'; import formatRecitersByLetter from '../utils/sortNames'; import { FlatList } from 'react-native'; -import { ListItem } from 'native-base'; +import { ListItem, View } from 'native-base'; import styled from 'styled-components/native'; import FontAwesome from 'react-native-vector-icons/FontAwesome'; +import { isSelectedReciter } from '../utils'; const Text = styled.Text` color: ${props => (props.divider ? 'white' : 'black')}; font-size: 16px; - background: ${props => (props.divider ? '#258489' : 'white')}; + backgroundColor: ${props => (props.divider ? '#258489' : 'transparent')}; padding: ${props => (props.divider ? '10px' : '0')}; `; @@ -38,10 +39,14 @@ class Reciters extends React.PureComponent { this.props.actions.navigate('Chapters', { reciter })} > @@ -61,10 +66,10 @@ class Reciters extends React.PureComponent { if (item.hasReciters) { return ( - + {item.letter} {this.renderListItems(item.reciters)} - + ); } diff --git a/src/container/Chapters/index.js b/src/container/Chapters/index.js index dab4037..6f6bdb0 100644 --- a/src/container/Chapters/index.js +++ b/src/container/Chapters/index.js @@ -30,7 +30,7 @@ class Chapters extends Component { } render() { - const { navigation, chapters, actions, search, files } = this.props; + const { navigation, chapters, actions, search, files, selectedSurah } = this.props; const { navigate } = navigation; const reciter = navigation.state.params.reciter; @@ -44,6 +44,7 @@ class Chapters extends Component { reciter={reciter} actions={{ ...actions, navigate }} search={search} + selectedSurah={selectedSurah} /> ); @@ -58,7 +59,8 @@ function mapStateToProps(state) { return { chapters: state.chapters.chapters, files: state.files.files, - search: state.search + search: state.search, + selectedSurah: state.player ? state.player.selectedSurah : null }; } diff --git a/src/container/Home/index.js b/src/container/Home/index.js index 697d3b2..07e46cd 100644 --- a/src/container/Home/index.js +++ b/src/container/Home/index.js @@ -69,7 +69,7 @@ class Home extends Component { } render() { - const { navigation, reciters, actions, search } = this.props; + const { navigation, reciters, actions, search, selectedSurah } = this.props; const { navigate } = navigation; if (reciters.length < 1) return ; @@ -81,6 +81,7 @@ class Home extends Component { actions={{ ...actions, navigate }} search={search} section={this.state.section} + selectedSurah={selectedSurah} /> htmlToText.fromString(text, { wordwrap: false, ignoreHref: true, ignoreImage: true }); + +export const isSelectedSurah = (file, selectedSurah) => selectedSurah && file && file.qari_id === selectedSurah.reciterId && file.surah_id === selectedSurah.id; +export const isSelectedReciter = (reciter, selectedSurah) => selectedSurah && reciter && reciter.id === selectedSurah.reciterId; From d76fe8d6f060e9ea74bd94d31a2bcdf691b4d453 Mon Sep 17 00:00:00 2001 From: Mahmoud Felfel Date: Sat, 3 Nov 2018 22:57:06 +0400 Subject: [PATCH 4/5] remove sentry token [pushed by mistake] --- android/sentry.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/sentry.properties b/android/sentry.properties index 1cdf40f..c13b0d0 100644 --- a/android/sentry.properties +++ b/android/sentry.properties @@ -1,5 +1,5 @@ defaults.url=https://sentry.io/ defaults.org=qurancom defaults.project=quranicaudio -auth.token=370f5a532d5e4b59ba75f66340177311c84f9639eadc4ceab5b2b5b82d2844a0 +auth.token= cli.executable=node_modules/@sentry/cli/bin/sentry-cli From c9fb176948daeb23067847f3247893a7430062e4 Mon Sep 17 00:00:00 2001 From: mahmoudfelfel Date: Mon, 5 Nov 2018 00:54:02 +0400 Subject: [PATCH 5/5] Fix for the remote-next event --- .../xcschemes/quranicaudio.xcscheme | 2 +- ios/quranicaudio/Info.plist | 13 ++- src/components/AudioPlayer/index.js | 2 +- src/components/ChapterList.js | 1 + src/trackPlayerEventHandler.js | 14 ++- yarn.lock | 88 ++++++++++++++++++- 6 files changed, 112 insertions(+), 8 deletions(-) diff --git a/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme b/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme index 8fa4ba0..db12b93 100644 --- a/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme +++ b/ios/quranicaudio.xcodeproj/xcshareddata/xcschemes/quranicaudio.xcscheme @@ -80,7 +80,7 @@ LSRequiresIPhoneOS NSLocationWhenInUseUsageDescription - + + NSAppTransportSecurity + + NSExceptionDomains + + localhost + + NSExceptionAllowsInsecureHTTPLoads + + + + UIAppFonts Entypo.ttf diff --git a/src/components/AudioPlayer/index.js b/src/components/AudioPlayer/index.js index b56a6f5..019664a 100644 --- a/src/components/AudioPlayer/index.js +++ b/src/components/AudioPlayer/index.js @@ -26,7 +26,7 @@ class AudioPlayer extends Component { async componentDidMount() { try { - const { chapters: { chapters, selectedChapter }, selection: {reciter} } = this.props; + const { chapters: { chapters, selectedChapter }, selection: { reciter } } = this.props; this.props.actions.setItemsList(chapters); this.props.actions.setSelectedItemIndex(selectedChapter); this.props.actions.setSelectedItem({ ...chapters[selectedChapter - 1], reciterId: reciter.id }); diff --git a/src/components/ChapterList.js b/src/components/ChapterList.js index c74f99d..c1fae45 100644 --- a/src/components/ChapterList.js +++ b/src/components/ChapterList.js @@ -87,6 +87,7 @@ export default (props) => { return ( Chapter(props.chapters[item.surah_id - 1], item)} /> ); diff --git a/src/trackPlayerEventHandler.js b/src/trackPlayerEventHandler.js index 78ddb0b..0889407 100644 --- a/src/trackPlayerEventHandler.js +++ b/src/trackPlayerEventHandler.js @@ -1,5 +1,5 @@ import TrackPlayer from 'react-native-track-player'; -import { updateIsPlaying, setSelectedItemIndex } from './actions/AudioPlayer'; +import { updateIsPlaying, setSelectedItemIndex, setSelectedItem } from './actions/AudioPlayer'; import { selectChapter } from './actions'; @@ -31,13 +31,21 @@ module.exports = async (store, data) => { await TrackPlayer.skip(data.id); store.dispatch(updateIsPlaying(true)); } else if (data.type === 'remote-next') { + const { player: { selectedIndex, selectedSurah }, chapters } = store.getState(); store.dispatch(updateIsPlaying(false)); TrackPlayer.stop(); - TrackPlayer.skipToNext().then(() => store.dispatch(updateIsPlaying(true))); + await TrackPlayer.skipToNext(); + store.dispatch(updateIsPlaying(true)); + store.dispatch(setSelectedItemIndex(selectedIndex)); + store.dispatch(setSelectedItem({ ...chapters[selectedIndex - 1], reciterId: selectedSurah.reciterId })); } else if (data.type === 'remote-previous') { + const { player: { selectedIndex, selectedSurah }, chapters } = store.getState(); store.dispatch(updateIsPlaying(false)); TrackPlayer.stop(); - TrackPlayer.skipToPrevious().then(() => store.dispatch(updateIsPlaying(true))); + await TrackPlayer.skipToPrevious(); + store.dispatch(updateIsPlaying(true)); + store.dispatch(setSelectedItemIndex(selectedIndex)); + store.dispatch(setSelectedItem({ ...chapters[selectedIndex - 1], reciterId: selectedSurah.reciterId })); } else if (data.type === 'remote-seek') { TrackPlayer.seekTo(data.position); } else if (data.type === 'remote-duck') { diff --git a/yarn.lock b/yarn.lock index abd3771..2003ba4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2098,10 +2098,42 @@ doctrine@^2.0.0: esutils "^2.0.2" isarray "^1.0.0" +dom-serializer@0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" + dependencies: + domelementtype "~1.1.1" + entities "~1.1.1" + dom-walk@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" +domelementtype@1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.2.1.tgz#578558ef23befac043a1abb0db07635509393479" + +domelementtype@^1.3.0: + version "1.3.0" + resolved "http://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" + +domelementtype@~1.1.1: + version "1.1.3" + resolved "http://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" + +domhandler@^2.3.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" + dependencies: + domelementtype "1" + +domutils@^1.5.1: + version "1.7.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" + dependencies: + dom-serializer "0" + domelementtype "1" + duplexer2@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db" @@ -2143,6 +2175,10 @@ encoding@^0.1.11: dependencies: iconv-lite "~0.4.13" +entities@^1.1.1, entities@~1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" + envinfo@^5.7.0: version "5.10.0" resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-5.10.0.tgz#503a9774ae15b93ea68bdfae2ccd6306624ea6df" @@ -2370,6 +2406,10 @@ eventemitter3@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163" +events@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" + exec-sh@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.1.tgz#163b98a6e89e6b65b47c2a28d215bc1f63989c38" @@ -2935,6 +2975,10 @@ hawk@~6.0.2: hoek "4.x.x" sntp "2.x.x" +he@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + hoek@2.x.x: version "2.16.3" resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" @@ -2976,6 +3020,26 @@ html-encoding-sniffer@^1.0.1: dependencies: whatwg-encoding "^1.0.1" +"html-to-text@github:mahmoudfelfel/node-html-to-text#master": + version "4.0.0" + resolved "https://codeload.github.com/mahmoudfelfel/node-html-to-text/tar.gz/bf099874a60df3697ab1dc1de607bdfa7db2e72c" + dependencies: + he "^1.0.0" + htmlparser2 "^3.9.2" + lodash "^4.17.4" + optimist "^0.6.1" + +htmlparser2@^3.9.2: + version "3.10.0" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.0.tgz#5f5e422dcf6119c0d983ed36260ce9ded0bee464" + dependencies: + domelementtype "^1.3.0" + domhandler "^2.3.0" + domutils "^1.5.1" + entities "^1.1.1" + inherits "^2.0.1" + readable-stream "^3.0.6" + http-errors@~1.6.2: version "1.6.3" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" @@ -3038,7 +3102,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.3, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" @@ -5197,6 +5261,14 @@ readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.1.4, readable string_decoder "~1.0.3" util-deprecate "~1.0.1" +readable-stream@^3.0.6: + version "3.0.6" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.0.6.tgz#351302e4c68b5abd6a2ed55376a7f9a25be3057a" + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readable-stream@~1.1.9: version "1.1.14" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" @@ -5721,6 +5793,12 @@ string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" +string_decoder@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + dependencies: + safe-buffer "~5.1.0" + string_decoder@~0.10.x: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" @@ -6014,10 +6092,16 @@ unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" -util-deprecate@~1.0.1: +util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" +util@^0.11.1: + version "0.11.1" + resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" + dependencies: + inherits "2.0.3" + utils-merge@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"