main.jsbundle 590 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
__DEV__=!1,__BUNDLE_START_TIME__=Date.now(),function(e){function t(e){for(var t,n,r,o,i=Array.prototype.slice.call(e),a={};i.length;)if(n=i.shift(),!a[n]&&(a[n]=!0,r=h[n],r&&r.waiting))for(t=0;t<r.dependencies.length;t++)o=r.dependencies[t],(!h[o]||h[o].waiting)&&i.push(o);for(n in a)y.call(a,n)&&i.push(n);var s=[];for(t=0;t<i.length;t++){n=i[t];var u=n;if(r=h[n])if(r.waiting){for(var c=[],l=0;l<r.dependencies.length;l++)o=r.dependencies[l],(!h[o]||h[o].waiting)&&c.push(o);u+=" is waiting for "+c.join(", ")}else u+=" is ready";else u+=" is not defined";s.push(u)}return s.join("\n")}function n(e){this.name="ModuleError",this.message=e,this.stack=Error(e).stack,this.framesToPop=2}function r(o){var i,a,s,u=h[o];if(u&&u.exports)return 1===u.refcount--&&delete h[o],u.exports;if(e.ErrorUtils&&!w){w=!0;try{var c=r.apply(this,arguments)}catch(f){e.ErrorUtils.reportFatalError(f)}return w=!1,c}if(!u)throw s='Requiring unknown module "'+o+'"',l&&(s+=". If you are sure the module is there, try restarting the packager."),new n(s);if(u.hasError)throw new n('Requiring module "'+o+'" which threw an exception');if(u.waiting)throw new n('Requiring module "'+o+'" with unresolved dependencies: '+t([o]));var d=u.exports={},m=u.factory;if("[object Function]"===p.call(m)){var c,v=[],y=u.dependencies,_=y.length;u.special&g&&(_=Math.min(_,m.length));try{for(a=0;v.length<_;a++)i=y[a],u.inlineRequires[i]||v.push("module"===i?u:"exports"===i?d:r.call(null,i));++E,0===S++&&(R-=b());try{c=m.apply(u.context||e,v)}catch(f){if(h.ex&&h.erx){var T=r.call(null,"ex"),C=r.call(null,"erx"),O=C(f.message);O[0].indexOf(' from module "%s"')<0&&(O[0]+=' from module "%s"',O[O.length]=o),f.message=T.apply(null,O)}throw f}finally{0===--S&&(R+=b())}}catch(f){throw u.hasError=!0,u.exports=null,f}if(c){if(l&&"object"!=typeof c&&"function"!=typeof c)throw new n('Factory for module "'+o+'" returned an invalid value "'+c+'". Returned value should be either a function or an object.');u.exports=c}}else u.exports=m;return 1===u.refcount--&&delete h[o],u.exports}function o(e,t,r,o,s,c,f){void 0===t?(t=[],r=e,e=a()):void 0===r&&(r=t,"[object Array]"===p.call(e)?(t=e,e=a()):t=[]);var m={cancel:i.bind(this,e)},v=h[e];if(v)return c&&(v.refcount+=c),m;if(!t&&!r&&c)return d[e]=(d[e]||0)+c,m;if(v={id:e},v.refcount=(d[e]||0)+(c||0),delete d[e],l){if(!r||"object"!=typeof r&&"function"!=typeof r&&"string"!=typeof r)throw new n('Invalid factory "'+r+'" for module "'+e+'". Factory should be either a function or an object.');if("[object Array]"!==p.call(t))throw new n('Invalid dependencies for module "'+e+'". Dependencies must be passed as an array.')}return v.factory=r,v.dependencies=t,v.context=s,v.special=o,v.inlineRequires=f||{},v.waitingMap={},v.waiting=0,v.hasError=!1,h[e]=v,u(e),m}function i(e){if(h[e]){var t=h[e];delete h[e];for(var n in t.waitingMap)t.waitingMap[n]&&delete f[n][e];for(var r=0;r<t.dependencies.length;r++)n=t.dependencies[r],h[n]?1===h[n].refcount--&&i(n):d[n]&&d[n]--}}function a(){return"__mod__"+m++}function s(e,t){e.waitingMap[t]||e.id===t||(e.waiting++,e.waitingMap[t]=1,f[t]||(f[t]={}),f[t][e.id]=1)}function u(e){var t,n,o,i=[],a=h[e];for(n=0;n<a.dependencies.length;n++)if(t=a.dependencies[n],h[t]){if(h[t].waiting)for(o in h[t].waitingMap)h[t].waitingMap[o]&&s(a,o)}else s(a,t);if(0===a.waiting&&a.special&v&&i.push(e),f[e]){var u,c=f[e];f[e]=void 0;for(t in c){u=h[t];for(o in a.waitingMap)a.waitingMap[o]&&s(u,o);u.waitingMap[e]&&(u.waitingMap[e]=void 0,u.waiting--),0===u.waiting&&u.special&v&&i.push(t)}}for(n=0;n<i.length;n++)r.call(null,i[n])}function c(e,t){var n=h[e]={id:e};n.exports=t,n.refcount=0}if(!e.require){var l=e.__DEV__,p=Object.prototype.toString,h={},f={},d={},m=0,v=1,g=2,y=Object.prototype.hasOwnProperty;n.prototype=Object.create(Error.prototype),n.prototype.constructor=n;var _=e.performance||e.msPerformance||e.webkitPerformance||{};_.now||(_=e.Date);var b=_?_.now.bind(_):function(){return 0},S=0,R=0,E=0,w=!1;r.__getFactoryTime=function(){return(S?b():0)+R},r.__getTotalFactories=function(){return E},r.ensure=function(e,t){throw"`require.ensure` is still not supported"},c("module",0),c("exports",0),c("global",e),c("require",r),e.require=r,r.__debug={modules:h,deps:f,printDependencyInfo:function(){if(e.console){var n=Object.keys(r.__debug.deps);e.console.log(t(n))}}},e.__d=function(e,t,n,r,i){var a=["global","require","module","exports"];o(e,a.concat(t),n,r||g,null,null,i)}}}(this),Object.assign=function(e,t){if(__DEV__){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("In this environment the target of assign MUST be an object.This error is a performance optimization and not spec compliant.")}for(var n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r){if(__DEV__&&"object"!=typeof r&&"function"!=typeof r)throw new TypeError("In this environment the target of assign MUST be an object.This error is a performance optimization and not spec compliant.");for(var o in r){if(__DEV__){var i=Object.prototype.hasOwnProperty;if(!i.call(r,o))throw new TypeError("One of the sources to assign has an enumerable key on the prototype chain. This is an edge case that we do not support. This error is a performance optimization and not spec compliant.")}e[o]=r[o]}}}return e},function(e){"use strict";function t(e){function t(t){return function(){var r=Array.prototype.map.call(arguments,function(e){return n(e,{depth:10})}).join(", ");"'Warning: "===r.slice(0,10)&&t>=o.error&&(t=o.warn),e.nativeLoggingHook(r,t)}}function i(t){if(!Array.isArray(t)){var n=t;t=[];for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];a[r]=i,t.push(a)}}if(0===t.length)return void e.nativeLoggingHook("",o.log);var u=Object.keys(t[0]).sort(),c=[],l=[];u.forEach(function(e,n){l[n]=e.length;for(var r=0;r<t.length;r++){var o=t[r][e].toString();c[r]=c[r]||[],c[r][n]=o,l[n]=Math.max(l[n],o.length)}});for(var p=function(e,t){var n=e.map(function(e,t){var n=s(" ",l[t]-e.length).join("");return e+n});return t=t||" ",n.join(t+"|"+t)},h=l.map(function(e){return s("-",e).join("")}),f=p(h,"-"),d=p(u),m=[d,f],v=0;v<t.length;v++)m.push(p(c[v]));e.nativeLoggingHook("\n"+m.join("\n"),o.log)}var a=e.console;if(e.nativeLoggingHook){var s=function(e,t){return Array.apply(null,Array(t)).map(function(){return e})};e.console={error:t(o.error),info:t(o.info),log:t(o.log),warn:t(o.warn),trace:t(o.trace),table:i},Object.keys(e.console).forEach(function(t){var n=e.console[t];e.console[t]=function(){a[t].apply(a,arguments),n.apply(e.console,arguments)}})}}var n=function(){function e(e,n){var o={seen:[],stylize:t};return r(o,e,n.depth)}function t(e,t){return e}function n(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function r(e,t,r){var l=o(e,t);if(l)return l;var p=Object.keys(t),h=n(p);if(y(t)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return i(t);if(0===p.length){if(_(t)){var f=t.name?": "+t.name:"";return e.stylize("[Function"+f+"]","special")}if(m(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(g(t))return e.stylize(Date.prototype.toString.call(t),"date");if(y(t))return i(t)}var d="",v=!1,b=["{","}"];if(c(t)&&(v=!0,b=["[","]"]),_(t)){var S=t.name?": "+t.name:"";d=" [Function"+S+"]"}if(m(t)&&(d=" "+RegExp.prototype.toString.call(t)),g(t)&&(d=" "+Date.prototype.toUTCString.call(t)),y(t)&&(d=" "+i(t)),0===p.length&&(!v||0==t.length))return b[0]+d+b[1];if(0>r)return m(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var R;return R=v?a(e,t,r,h,p):p.map(function(n){return s(e,t,r,h,n,v)}),e.seen.pop(),u(R,d,b)}function o(e,t){if(d(t))return e.stylize("undefined","undefined");if(f(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return h(t)?e.stylize(""+t,"number"):l(t)?e.stylize(""+t,"boolean"):p(t)?e.stylize("null","null"):void 0}function i(e){return"["+Error.prototype.toString.call(e)+"]"}function a(e,t,n,r,o){for(var i=[],a=0,u=t.length;u>a;++a)S(t,String(a))?i.push(s(e,t,n,r,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(s(e,t,n,r,o,!0))}),i}function s(e,t,n,o,i,a){var s,u,c;if(c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),S(o,i)||(s="["+i+"]"),u||(e.seen.indexOf(c.value)<0?(u=p(n)?r(e,c.value,null):r(e,c.value,n-1),u.indexOf("\n")>-1&&(u=a?u.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return"   "+e}).join("\n"))):u=e.stylize("[Circular]","special")),d(s)){if(a&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+u}function u(e,t,n){var r=0,o=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function c(e){return Array.isArray(e)}function l(e){return"boolean"==typeof e}function p(e){return null===e}function h(e){return"number"==typeof e}function f(e){return"string"==typeof e}function d(e){return void 0===e}function m(e){return v(e)&&"[object RegExp]"===b(e)}function v(e){return"object"==typeof e&&null!==e}function g(e){return v(e)&&"[object Date]"===b(e)}function y(e){return v(e)&&("[object Error]"===b(e)||e instanceof Error)}function _(e){return"function"==typeof e}function b(e){return Object.prototype.toString.call(e)}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}return e}(),r="(index)",o={trace:0,log:1,info:2,warn:3,error:4};"undefined"!=typeof module?module.exports=t:t(e)}(this),function(e){function t(){var t=function(t){e.console.error("Error: \n stack: "+t.stack+"\n line: "+t.line+"\n message: "+t.message,t)};e.ErrorUtils.setGlobalHandler(t)}var n={_inGuard:0,_globalHandler:null,setGlobalHandler:function(e){n._globalHandler=e},reportError:function(e){n._globalHandler&&n._globalHandler(e)},reportFatalError:function(e){n._globalHandler&&n._globalHandler(e,!0)},applyWithGuard:function(e,t,r){try{return n._inGuard++,e.apply(t,r)}catch(o){n.reportError(o)}finally{n._inGuard--}},applyWithGuardIfNeeded:function(e,t,r){return n.inGuard()?e.apply(t,r):void n.applyWithGuard(e,t,r)},inGuard:function(){return n._inGuard},guard:function(e,t,r){function o(){return n.applyWithGuard(e,r||this,arguments,null,t)}return"function"!=typeof e?(console.warn("A function must be passed to ErrorUtils.guard, got ",e),null):(t=t||e.name||"<generated guard>",o)}};e.ErrorUtils=n,t()}(this),String.prototype.startsWith||(String.prototype.startsWith=function(e){"use strict";if(null==this)throw TypeError();var t=String(this),n=arguments.length>1?Number(arguments[1])||0:0,r=Math.min(Math.max(n,0),t.length);return t.indexOf(String(e),n)===r}),String.prototype.endsWith||(String.prototype.endsWith=function(e){"use strict";if(null==this)throw TypeError();var t=String(this),n=t.length,r=String(e),o=arguments.length>1?Number(arguments[1])||0:n,i=Math.min(Math.max(o,0),n),a=i-r.length;return 0>a?!1:t.lastIndexOf(r,a)===a}),String.prototype.contains||(String.prototype.contains=function(e){"use strict";if(null==this)throw TypeError();var t=String(this),n=arguments.length>1?Number(arguments[1])||0:0;return-1!==t.indexOf(String(e),n)}),String.prototype.repeat||(String.prototype.repeat=function(e){"use strict";if(null==this)throw TypeError();var t=String(this);if(e=Number(e)||0,0>e||e===1/0)throw RangeError();if(1===e)return t;for(var n="";e;)1&e&&(n+=t),(e>>=1)&&(t+=t);return n}),function(e){function t(e,t){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=Object(this),r=n.length>>>0,o=0;r>o;o++)if(e.call(t,n[o],o,n))return o;return-1}Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{enumerable:!1,writable:!0,configurable:!0,value:t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{enumerable:!1,writable:!0,configurable:!0,value:function(n,r){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");var o=t.call(this,n,r);return-1===o?e:this[o]}})}(),__d("Simple/index.ios.js",["react-native/Libraries/react-native/react-native.js","Simple/HelloGL.js","Simple/Saturation.js","Simple/HueRotate.js","Simple/PieProgress.js","Simple/OneFingerResponse.js","Simple/AnimatedHelloGL.js","Simple/Blur.js"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function x(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:x(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("react-native/Libraries/react-native/react-native.js"),c=u.AppRegistry,l=u.StyleSheet,p=u.Text,h=u.View,f=u.Image,d=u.TextInput,m=u.ScrollView,v=u.SliderIOS,g=u.SwitchIOS,y=u.ProgressViewIOS,_=(u.ActivityIndicatorIOS,t("Simple/HelloGL.js")),b=t("Simple/Saturation.js"),S=t("Simple/HueRotate.js"),R=t("Simple/PieProgress.js"),E=t("Simple/OneFingerResponse.js"),w=t("Simple/AnimatedHelloGL.js"),T=t("Simple/Blur.js");var C=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={saturationFactor:1,hue:0,progress:0,factor:0,text:"and I will return leading the pack",switch1:!1,switch2:!1,switch3:!1}}return i(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.state;const n=t.saturationFactor,r=t.hue,o=t.text,i=t.progress,a=t.factor,s=t.switch1,c=t.switch2,l=t.switch3;return u.createElement(m,{style:O.container},u.createElement(p,{style:O.title},"Welcome to GL React Native!"),u.createElement(h,{style:O.demos},u.createElement(p,{style:O.demoTitle},"1. Hello GL"),u.createElement(h,{style:O.demo},u.createElement(_,{width:256,height:171})),u.createElement(p,{style:O.demoTitle},"2. Saturate an Image"),u.createElement(h,{style:O.demo},u.createElement(b,{width:256,height:171,factor:n,image:{uri:"http://i.imgur.com/iPKTONG.jpg"}}),u.createElement(v,{maximumValue:8,onValueChange:function(t){return e.setState({saturationFactor:t})}})),u.createElement(p,{style:O.demoTitle},"3. Hue Rotate on Text+Image"),u.createElement(h,{style:O.demo},u.createElement(S,{autoRedraw:!0,width:256,height:180,hue:r},u.createElement(f,{style:{width:256,height:244},source:{uri:"http://i.imgur.com/qVxHrkY.jpg"}}),u.createElement(p,{style:O.demoText1},"Throw me to the wolves"),u.createElement(p,{style:O.demoText2},o)),u.createElement(v,{maximumValue:2*Math.PI,onValueChange:function(t){return e.setState({hue:t})}}),u.createElement(d,{style:{height:30,borderColor:"#aaa",borderWidth:1},onChangeText:function(t){return e.setState({text:t})},value:o})),u.createElement(p,{style:O.demoTitle},"4. Progress Indicator"),u.createElement(h,{style:O.demo},u.createElement(R,{width:256,height:180,progress:i}),u.createElement(v,{onValueChange:function(t){return e.setState({progress:t})}})),u.createElement(p,{style:O.demoTitle},"5. Touch Responsive"),u.createElement(h,{style:O.demo},u.createElement(E,{width:256,height:180})),u.createElement(p,{style:O.demoTitle},"6. Animation"),u.createElement(h,{style:O.demo},u.createElement(w,{width:256,height:180})),u.createElement(p,{style:O.demoTitle},"7. Blur (2-pass)"),u.createElement(h,{style:O.demo},u.createElement(T,{width:256,height:180,factor:a},"http://i.imgur.com/3On9QEu.jpg"),u.createElement(v,{maximumValue:2,onValueChange:function(t){return e.setState({factor:t})}})),u.createElement(p,{style:O.demoTitle},"8. Blur+Hue over UI"),u.createElement(h,{style:O.demo},u.createElement(T,{autoRedraw:!0,eventsThrough:!0,visibleContent:!0,width:256,height:160,factor:a},u.createElement(T,{width:256,height:160,factor:a/2},u.createElement(S,{hue:-s+2*c+4*l},u.createElement(h,{style:{width:256,height:160,padding:10}},u.createElement(v,{style:{height:80},maximumValue:2,onValueChange:function(t){return e.setState({factor:t})}}),u.createElement(h,{style:{height:60,flexDirection:"row",alignItems:"center"}},u.createElement(g,{style:{flex:1},value:s,onValueChange:function(t){return e.setState({switch1:t})}}),u.createElement(g,{style:{flex:1},value:c,onValueChange:function(t){return e.setState({switch2:t})}}),u.createElement(g,{style:{flex:1},value:l,onValueChange:function(t){return e.setState({switch3:t})}})),u.createElement(y,{progress:a,style:{height:10,marginTop:8,flex:1}})))))),u.createElement(p,{style:O.demoTitle},"9. Texture from array"),u.createElement(h,{style:O.demo},u.createElement(p,null,"Not Supported Yet"))))}}]),t}(u.Component);const O=l.create({container:{flex:1,backgroundColor:"#F9F9F9"},title:{fontSize:20,textAlign:"center",margin:5,marginBottom:20,fontWeight:"bold"},demos:{flex:1,justifyContent:"center",marginLeft:40,width:276,marginBottom:40},demoTitle:{marginBottom:16,fontStyle:"italic",alignSelf:"flex-start",color:"#999",fontWeight:"300",fontSize:20},demo:{marginBottom:64,marginLeft:20},demoText1:{position:"absolute",top:0,left:0,width:256,textAlign:"center",color:"#f16",backgroundColor:"transparent",fontWeight:"400",fontSize:24,letterSpacing:0},demoText2:{position:"absolute",bottom:4,left:0,width:256,textAlign:"center",color:"#7bf",backgroundColor:"transparent",fontWeight:"300",fontSize:32,letterSpacing:-1}});c.registerComponent("Simple",function(){return C})}),__d("react-native/Libraries/react-native/react-native.js",["React","ActivityIndicatorIOS","DatePickerIOS","DrawerLayoutAndroid","Image","ListView","MapView","Modal","Navigator","NavigatorIOS","PickerIOS","ProgressBarAndroid","ProgressViewIOS","ScrollView","SegmentedControlIOS","SliderIOS","SwitchAndroid","SwitchIOS","TabBarIOS","Text","TextInput","ToastAndroid","ToolbarAndroid","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","View","WebView","ActionSheetIOS","AdSupportIOS","AlertIOS","Animated","AppRegistry","AppStateIOS","AsyncStorage","BackAndroid","CameraRoll","Dimensions","Easing","ImagePickerIOS","InteractionManager","LayoutAnimation","LinkingIOS","NetInfo","PanResponder","PixelRatio","PushNotificationIOS","Settings","StatusBarIOS","StyleSheet","VibrationIOS","RCTDeviceEventEmitter","RCTNativeAppEventEmitter","NativeModules","Platform","processColor","requireNativeComponent","EdgeInsetsPropType","PointPropType","LinkedStateMixin","ReactComponentWithPureRenderMixin","NativeModules","ReactUpdates","cloneWithProps","ReactFragment","update","ReactDefaultPerf","ReactTestUtils"],function(e,t,n,r){"use strict";var o=Object.assign(Object.create(t("React")),{ActivityIndicatorIOS:t("ActivityIndicatorIOS"),DatePickerIOS:t("DatePickerIOS"),DrawerLayoutAndroid:t("DrawerLayoutAndroid"),Image:t("Image"),ListView:t("ListView"),MapView:t("MapView"),Modal:t("Modal"),Navigator:t("Navigator"),NavigatorIOS:t("NavigatorIOS"),PickerIOS:t("PickerIOS"),ProgressBarAndroid:t("ProgressBarAndroid"),ProgressViewIOS:t("ProgressViewIOS"),ScrollView:t("ScrollView"),SegmentedControlIOS:t("SegmentedControlIOS"),SliderIOS:t("SliderIOS"),SwitchAndroid:t("SwitchAndroid"),SwitchIOS:t("SwitchIOS"),TabBarIOS:t("TabBarIOS"),Text:t("Text"),TextInput:t("TextInput"),ToastAndroid:t("ToastAndroid"),ToolbarAndroid:t("ToolbarAndroid"),TouchableHighlight:t("TouchableHighlight"),TouchableNativeFeedback:t("TouchableNativeFeedback"),TouchableOpacity:t("TouchableOpacity"),TouchableWithoutFeedback:t("TouchableWithoutFeedback"),View:t("View"),WebView:t("WebView"),ActionSheetIOS:t("ActionSheetIOS"),AdSupportIOS:t("AdSupportIOS"),AlertIOS:t("AlertIOS"),Animated:t("Animated"),AppRegistry:t("AppRegistry"),AppStateIOS:t("AppStateIOS"),AsyncStorage:t("AsyncStorage"),BackAndroid:t("BackAndroid"),CameraRoll:t("CameraRoll"),Dimensions:t("Dimensions"),Easing:t("Easing"),ImagePickerIOS:t("ImagePickerIOS"),InteractionManager:t("InteractionManager"),LayoutAnimation:t("LayoutAnimation"),LinkingIOS:t("LinkingIOS"),NetInfo:t("NetInfo"),PanResponder:t("PanResponder"),PixelRatio:t("PixelRatio"),PushNotificationIOS:t("PushNotificationIOS"),Settings:t("Settings"),StatusBarIOS:t("StatusBarIOS"),StyleSheet:t("StyleSheet"),VibrationIOS:t("VibrationIOS"),DeviceEventEmitter:t("RCTDeviceEventEmitter"),NativeAppEventEmitter:t("RCTNativeAppEventEmitter"),NativeModules:t("NativeModules"),Platform:t("Platform"),processColor:t("processColor"),requireNativeComponent:t("requireNativeComponent"),EdgeInsetsPropType:t("EdgeInsetsPropType"),PointPropType:t("PointPropType"),addons:{LinkedStateMixin:t("LinkedStateMixin"),Perf:void 0,PureRenderMixin:t("ReactComponentWithPureRenderMixin"),TestModule:t("NativeModules").TestModule,TestUtils:void 0,batchedUpdates:t("ReactUpdates").batchedUpdates,cloneWithProps:t("cloneWithProps"),createFragment:t("ReactFragment").create,update:t("update")}});__DEV__&&(o.addons.Perf=t("ReactDefaultPerf"),o.addons.TestUtils=t("ReactTestUtils")),n.exports=o}),__d("React",["ReactNative"],function(e,t,n,r){"use strict";n.exports=t("ReactNative")}),__d("ReactNative",["ReactChildren","ReactClass","ReactComponent","ReactCurrentOwner","ReactElement","ReactElementValidator","ReactInstanceHandles","ReactNativeDefaultInjection","ReactNativeMount","ReactPropTypes","ReactUpdates","deprecated","findNodeHandle","invariant","onlyChild","warning","ReactReconciler","ReactNativeTextComponent"],function(e,t,n,r){"use strict";var o=t("ReactChildren"),i=t("ReactClass"),a=t("ReactComponent"),s=t("ReactCurrentOwner"),u=t("ReactElement"),c=t("ReactElementValidator"),l=t("ReactInstanceHandles"),p=t("ReactNativeDefaultInjection"),h=t("ReactNativeMount"),f=t("ReactPropTypes"),d=t("ReactUpdates"),m=(t("deprecated"),t("findNodeHandle")),v=t("invariant"),g=t("onlyChild"),y=t("warning");p.inject();var _=u.createElement,b=u.createFactory,S=u.cloneElement;__DEV__&&(_=c.createElement,b=c.createFactory,S=c.cloneElement);var R=function(e){var t=e.type.defaultProps,n=e.props;for(var r in t)void 0===n[r]&&(n[r]=t[r])},E=function(e){return __DEV__&&v(!1,"This optimized path should never be used in DEV mode because it does not provide validation. Check your JSX transform."),e._owner=s.current,e.type.defaultProps&&R(e),e},w=function(e,t,n){return h.renderComponent(e,t,n)},T={hasReactNativeInitialized:!1,Children:{map:o.map,forEach:o.forEach,count:o.count,only:g},Component:a,PropTypes:f,createClass:i.createClass,createElement:_,createFactory:b,cloneElement:S,_augmentElement:E,findNodeHandle:m,render:w,unmountComponentAtNode:h.unmountComponentAtNode,unstable_batchedUpdates:d.batchedUpdates,__spread:Object.assign,unmountComponentAtNodeAndRemoveContainer:h.unmountComponentAtNodeAndRemoveContainer,isValidClass:u.isValidFactory,isValidElement:u.isValidElement,renderComponent:function(e,t,n){return y("Use React.render instead of React.renderComponent"),T.render(e,t,n)}};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:s,InstanceHandles:l,Mount:h,Reconciler:t("ReactReconciler"),TextComponent:t("ReactNativeTextComponent")}),n.exports=T}),__d("ReactChildren",["PooledClass","ReactFragment","traverseAllChildren","warning"],function(e,t,n,r){"use strict";function o(e,t){this.func=e,this.context=t,this.count=0}function i(e,t,n){var r=e;r.func.call(r.context,t,r.count++)}function a(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);d(e,i,r),o.release(r)}function s(e,t,n){this.result=e,this.func=t,this.context=n,this.count=0}function u(e,t,n){var r=e,o=r.result,i=void 0===o[n];if(__DEV__&&m(i,"ReactChildren.map(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),i){var a=r.func.call(r.context,t,r.count++);o[n]=a}}function c(e,t,n){if(null==e)return e;var r={},o=s.getPooled(r,t,n);return d(e,u,o),s.release(o),f.create(r)}function l(e,t,n){return null}function p(e,t){return d(e,l,null)}var h=t("PooledClass"),f=t("ReactFragment"),d=t("traverseAllChildren"),m=t("warning"),v=h.twoArgumentPooler,g=h.threeArgumentPooler;h.addPoolingTo(o,v),h.addPoolingTo(s,g);var y={forEach:a,map:c,count:p};n.exports=y}),__d("PooledClass",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},s=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},c=function(e,t,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,r,o),a}return new i(e,t,n,r,o)},l=function(e){var t=this;o(e instanceof t,"Trying to release an instance into a pool of a different type."),e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},p=10,h=i,f=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||h,n.poolSize||(n.poolSize=p),n.release=l,n},d={addPoolingTo:f,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:s,fourArgumentPooler:u,fiveArgumentPooler:c};n.exports=d}),__d("invariant",[],function(e,t,n,r){"use strict";var o=function(e,t,n,r,o,i,a,s){if(__DEV__&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};n.exports=o}),__d("ReactFragment",["ReactElement","warning"],function(e,t,n,r){"use strict";var o,i,a,s=t("ReactElement"),u=t("warning");if(__DEV__){o="_reactFragment",i="_reactDidWarn";try{var c=function(){return 1};Object.defineProperty({},o,{enumerable:!1,value:!0}),Object.defineProperty({},"key",{enumerable:!0,get:c}),a=!0}catch(l){a=!1}var p=function(e,t){Object.defineProperty(e,t,{enumerable:!0,get:function(){return u(this[i],"A ReactFragment is an opaque type. Accessing any of its properties is deprecated. Pass it to one of the React.Children helpers."),this[i]=!0,this[o][t]},set:function(e){u(this[i],"A ReactFragment is an immutable opaque type. Mutating its properties is deprecated."),this[i]=!0,this[o][t]=e}})},h={},f=function(e){var t="";for(var n in e)t+=n+":"+typeof e[n]+",";var r=!!h[t];return h[t]=!0,r}}var d={create:function(e){if(__DEV__){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(s.isValidElement(e))return u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;if(a){var t={};Object.defineProperty(t,o,{enumerable:!1,value:e}),Object.defineProperty(t,i,{writable:!0,enumerable:!1,value:!1});for(var n in e)p(t,n);return Object.preventExtensions(t),t}}return e},extract:function(e){return __DEV__&&a?e[o]?e[o]:(u(f(e),"Any use of a keyed object should be wrapped in React.addons.createFragment(object) before being passed as a child."),e):e},extractIfFragment:function(e){if(__DEV__&&a){if(e[o])return e[o];for(var t in e)if(e.hasOwnProperty(t)&&s.isValidElement(e[t]))return d.extract(e)}return e}};n.exports=d}),__d("ReactElement",["ReactCurrentOwner","Object.assign"],function(e,t,n,r){"use strict";var o=t("ReactCurrentOwner"),i=t("Object.assign"),a={key:!0,ref:!0},s=function(e,t,n,r,o){if(this.type=e,this.key=t,this.ref=n,this._owner=r,this.props=o,__DEV__){this._store={};try{Object.defineProperty(this._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1})}catch(i){this._store.validated=!1}Object.freeze(this.props),Object.freeze(this)}};s.prototype={_isReactElement:!0},s.createElement=function(e,t,n){var r,i={},u=null,c=null;if(null!=t){c=void 0===t.ref?null:t.ref,u=void 0===t.key?null:""+t.key;for(r in t)t.hasOwnProperty(r)&&!a.hasOwnProperty(r)&&(i[r]=t[r])}var l=arguments.length-2;if(1===l)i.children=n;else if(l>1){for(var p=Array(l),h=0;l>h;h++)p[h]=arguments[h+2];i.children=p}if(e&&e.defaultProps){var f=e.defaultProps;for(r in f)"undefined"==typeof i[r]&&(i[r]=f[r])}return new s(e,u,c,o.current,i)},s.createFactory=function(e){var t=s.createElement.bind(null,e);return t.type=e,t},s.cloneAndReplaceProps=function(e,t){var n=new s(e.type,e.key,e.ref,e._owner,t);return __DEV__&&(n._store.validated=e._store.validated),n},s.cloneElement=function(e,t,n){var r,u=i({},e.props),c=e.key,l=e.ref,p=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,p=o.current),void 0!==t.key&&(c=""+t.key);for(r in t)t.hasOwnProperty(r)&&!a.hasOwnProperty(r)&&(u[r]=t[r])}var h=arguments.length-2;if(1===h)u.children=n;else if(h>1){for(var f=Array(h),d=0;h>d;d++)f[d]=arguments[d+2];u.children=f}return new s(e.type,c,l,p,u)},s.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},n.exports=s}),__d("ReactCurrentOwner",[],function(e,t,n,r){"use strict";var o={current:null};n.exports=o}),__d("Object.assign",[],function(e,t,n,r){"use strict";function o(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i){var a=Object(i);for(var s in a)r.call(a,s)&&(n[s]=a[s])}}return n}n.exports=o}),__d("warning",["emptyFunction"],function(e,t,n,r){"use strict";var o=t("emptyFunction"),i=o;__DEV__&&(i=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;n>o;o++)r[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return r[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(s){}}}),n.exports=i}),__d("emptyFunction",[],function(e,t,n,r){function o(e){return function(){return e}}function i(){}i.thatReturns=o,i.thatReturnsFalse=o(!1),i.thatReturnsTrue=o(!0),i.thatReturnsNull=o(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},n.exports=i}),__d("traverseAllChildren",["ReactElement","ReactFragment","ReactInstanceHandles","getIteratorFn","invariant","warning"],function(e,t,n,r){"use strict";function o(e){return y[e]}function i(e,t){return e&&null!=e.key?s(e.key):t.toString(36)}function a(e){return(""+e).replace(_,o)}function s(e){return"$"+a(e)}function u(e,t,n,r){var o=typeof e;if(("undefined"===o||"boolean"===o)&&(e=null),null===e||"string"===o||"number"===o||l.isValidElement(e))return n(r,e,""===t?v+i(e,0):t),1;var a,c,h=0;if(Array.isArray(e))for(var y=0;y<e.length;y++)a=e[y],c=(""!==t?t+g:v)+i(a,y),h+=u(a,c,n,r);else{var _=f(e);if(_){var S,R=_.call(e);if(_!==e.entries)for(var E=0;!(S=R.next()).done;)a=S.value,c=(""!==t?t+g:v)+i(a,E++),h+=u(a,c,n,r);else for(__DEV__&&(m(b,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."),
b=!0);!(S=R.next()).done;){var w=S.value;w&&(a=w[1],c=(""!==t?t+g:v)+s(w[0])+g+i(a,0),h+=u(a,c,n,r))}}else if("object"===o){d(1!==e.nodeType,"traverseAllChildren(...): Encountered an invalid child; DOM elements are not valid children of React components.");var T=p.extract(e);for(var C in T)T.hasOwnProperty(C)&&(a=T[C],c=(""!==t?t+g:v)+s(C)+g+i(a,0),h+=u(a,c,n,r))}}return h}function c(e,t,n){return null==e?0:u(e,"",t,n)}var l=t("ReactElement"),p=t("ReactFragment"),h=t("ReactInstanceHandles"),f=t("getIteratorFn"),d=t("invariant"),m=t("warning"),v=h.SEPARATOR,g=":",y={"=":"=0",".":"=1",":":"=2"},_=/[=.:]/g,b=!1;n.exports=c}),__d("ReactInstanceHandles",["ReactRootIndex","invariant"],function(e,t,n,r){"use strict";function o(e){return d+e.toString(36)}function i(e,t){return e.charAt(t)===d||t===e.length}function a(e){return""===e||e.charAt(0)===d&&e.charAt(e.length-1)!==d}function s(e,t){return 0===t.indexOf(e)&&i(t,e.length)}function u(e){return e?e.substr(0,e.lastIndexOf(d)):""}function c(e,t){if(f(a(e)&&a(t),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t),f(s(e,t),"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,t),e===t)return e;var n,r=e.length+m;for(n=r;n<t.length&&!i(t,n);n++);return t.substr(0,n)}function l(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var r=0,o=0;n>=o;o++)if(i(e,o)&&i(t,o))r=o;else if(e.charAt(o)!==t.charAt(o))break;var s=e.substr(0,r);return f(a(s),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,s),s}function p(e,t,n,r,o,i){e=e||"",t=t||"",f(e!==t,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var a=s(t,e);f(a||s(e,t),"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t);for(var l=0,p=a?u:c,h=e;;h=p(h,t)){var d;if(o&&h===e||i&&h===t||(d=n(h,a,r)),d===!1||h===t)break;f(l++<v,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,t,h)}}var h=t("ReactRootIndex"),f=t("invariant"),d=".",m=d.length,v=1e4,g={createReactRootID:function(){return o(h.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===d&&e.length>1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var i=l(e,t);i!==e&&p(e,i,n,r,!1,!0),i!==t&&p(i,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(p("",e,t,n,!0,!1),p(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(p("",e,t,n,!0,!0),p(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){p("",e,t,n,!0,!1)},getFirstCommonAncestorID:l,_getNextDescendantID:c,isAncestorIDOf:s,SEPARATOR:d};n.exports=g}),__d("ReactRootIndex",[],function(e,t,n,r){"use strict";var o={injectCreateReactRootIndex:function(e){i.createReactRootIndex=e}},i={createReactRootIndex:null,injection:o};n.exports=i}),__d("getIteratorFn",[],function(e,t,n,r){"use strict";function o(e){var t=e&&(i&&e[i]||e[a]);return"function"==typeof t?t:void 0}var i="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";n.exports=o}),__d("ReactClass",["ReactComponent","ReactElement","ReactErrorUtils","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactNoopUpdateQueue","Object.assign","emptyObject","invariant","keyMirror","keyOf","warning"],function(e,t,n,r){"use strict";function o(){I||(I=!0,T(!1,"setProps(...) and replaceProps(...) are deprecated. Instead, call React.render again at the top level."))}function i(e,t,n){for(var r in t)t.hasOwnProperty(r)&&T("function"==typeof t[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",y[n],r)}function a(e,t){var n=P.hasOwnProperty(t)?P[t]:null;D.hasOwnProperty(t)&&R(n===O.OVERRIDE_BASE,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e.hasOwnProperty(t)&&R(n===O.DEFINE_MANY||n===O.DEFINE_MANY_MERGED,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function s(e,t){if(t){R("function"!=typeof t,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."),R(!m.isValidElement(t),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype;t.hasOwnProperty(C)&&N.mixins(e,t.mixins);for(var r in t)if(t.hasOwnProperty(r)&&r!==C){var o=t[r];if(a(n,r),N.hasOwnProperty(r))N[r](e,o);else{var i=P.hasOwnProperty(r),s=n.hasOwnProperty(r),u="function"==typeof o,c=u&&!i&&!s;if(c)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[r]=o,n[r]=o;else if(s){var h=P[r];R(i&&(h===O.DEFINE_MANY_MERGED||h===O.DEFINE_MANY),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,r),h===O.DEFINE_MANY_MERGED?n[r]=l(n[r],o):h===O.DEFINE_MANY&&(n[r]=p(n[r],o))}else n[r]=o,__DEV__&&"function"==typeof o&&t.displayName&&(n[r].displayName=t.displayName+"_"+r)}}}}function u(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in N;R(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;R(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=r}}}function c(e,t){R(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(R(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function l(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return c(o,n),c(o,r),o}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);if(__DEV__){n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var r=e.constructor.displayName,o=n.bind;n.bind=function(i){for(var a=arguments.length,s=Array(a>1?a-1:0),u=1;a>u;u++)s[u-1]=arguments[u];if(i!==e&&null!==i)T(!1,"bind(): React component methods may only be bound to the component instance. See %s",r);else if(!s.length)return T(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",r),n;var c=o.apply(n,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=t,c.__reactBoundArguments=s,c}}return n}function f(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=h(e,v.guard(n,e.constructor.displayName+"."+t))}}var d=t("ReactComponent"),m=t("ReactElement"),v=t("ReactErrorUtils"),g=t("ReactPropTypeLocations"),y=t("ReactPropTypeLocationNames"),_=t("ReactNoopUpdateQueue"),b=t("Object.assign"),S=t("emptyObject"),R=t("invariant"),E=t("keyMirror"),w=t("keyOf"),T=t("warning"),C=w({mixins:null}),O=E({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),x=[],I=!1,P={mixins:O.DEFINE_MANY,statics:O.DEFINE_MANY,propTypes:O.DEFINE_MANY,contextTypes:O.DEFINE_MANY,childContextTypes:O.DEFINE_MANY,getDefaultProps:O.DEFINE_MANY_MERGED,getInitialState:O.DEFINE_MANY_MERGED,getChildContext:O.DEFINE_MANY_MERGED,render:O.DEFINE_ONCE,componentWillMount:O.DEFINE_MANY,componentDidMount:O.DEFINE_MANY,componentWillReceiveProps:O.DEFINE_MANY,shouldComponentUpdate:O.DEFINE_ONCE,componentWillUpdate:O.DEFINE_MANY,componentDidUpdate:O.DEFINE_MANY,componentWillUnmount:O.DEFINE_MANY,updateComponent:O.OVERRIDE_BASE},N={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)s(e,t[n])},childContextTypes:function(e,t){__DEV__&&i(e,t,g.childContext),e.childContextTypes=b({},e.childContextTypes,t)},contextTypes:function(e,t){__DEV__&&i(e,t,g.context),e.contextTypes=b({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=l(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){__DEV__&&i(e,t,g.prop),e.propTypes=b({},e.propTypes,t)},statics:function(e,t){u(e,t)}},D={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t)},isMounted:function(){return this.updater.isMounted(this)},setProps:function(e,t){__DEV__&&o(),this.updater.enqueueSetProps(this,e),t&&this.updater.enqueueCallback(this,t)},replaceProps:function(e,t){__DEV__&&o(),this.updater.enqueueReplaceProps(this,e),t&&this.updater.enqueueCallback(this,t)}},M=function(){};b(M.prototype,d.prototype,D);var k={createClass:function(e){var t=function(e,n,r){__DEV__&&T(this instanceof t,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindMap&&f(this),this.props=e,this.context=n,this.refs=S,this.updater=r||_,this.state=null;var o=this.getInitialState?this.getInitialState():null;__DEV__&&"undefined"==typeof o&&this.getInitialState._isMockFunction&&(o=null),R("object"==typeof o&&!Array.isArray(o),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=o};t.prototype=new M,t.prototype.constructor=t,x.forEach(s.bind(null,t)),s(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),__DEV__&&(t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved={}),t.prototype.getInitialState&&(t.prototype.getInitialState.isReactClassApproved={})),R(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),__DEV__&&(T(!t.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"),T(!t.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",e.displayName||"A component"));for(var n in P)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){x.push(e)}}};n.exports=k}),__d("ReactComponent",["ReactNoopUpdateQueue","emptyObject","invariant","warning"],function(e,t,n,r){"use strict";function o(e,t,n){this.props=e,this.context=t,this.refs=a,this.updater=n||i}var i=t("ReactNoopUpdateQueue"),a=t("emptyObject"),s=t("invariant"),u=t("warning");if(o.prototype.setState=function(e,t){s("object"==typeof e||"function"==typeof e||null==e,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),__DEV__&&u(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."),this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t)},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e)},__DEV__){var c={getDOMNode:["getDOMNode","Use React.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceProps:["replaceProps","Instead, call React.render again at the top level."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."],setProps:["setProps","Instead, call React.render again at the top level."]},l=function(e,t){try{Object.defineProperty(o.prototype,e,{get:function(){return void u(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}catch(n){}};for(var p in c)c.hasOwnProperty(p)&&l(p,c[p])}n.exports=o}),__d("ReactNoopUpdateQueue",["warning"],function(e,t,n,r){"use strict";function o(e,t){__DEV__&&i(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor&&e.constructor.displayName||"")}var i=t("warning"),a={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e,t){o(e,"replaceState")},enqueueSetState:function(e,t){o(e,"setState")},enqueueSetProps:function(e,t){o(e,"setProps")},enqueueReplaceProps:function(e,t){o(e,"replaceProps")}};n.exports=a}),__d("emptyObject",[],function(e,t,n,r){"use strict";var o={};__DEV__&&Object.freeze(o),n.exports=o}),__d("ReactErrorUtils",[],function(e,t,n,r){"use strict";var o={guard:function(e,t){return e}};n.exports=o}),__d("ReactPropTypeLocations",["keyMirror"],function(e,t,n,r){"use strict";var o=t("keyMirror"),i=o({prop:null,context:null,childContext:null});n.exports=i}),__d("keyMirror",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i=function(e){var t,n={};o(e instanceof Object&&!Array.isArray(e),"keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};n.exports=i}),__d("ReactPropTypeLocationNames",[],function(e,t,n,r){"use strict";var o={};__DEV__&&(o={prop:"prop",context:"context",childContext:"child context"}),n.exports=o}),__d("keyOf",[],function(e,t,n,r){var o=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};n.exports=o}),__d("ReactElementValidator",["ReactElement","ReactFragment","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactCurrentOwner","getIteratorFn","invariant","warning"],function(e,t,n,r){"use strict";function o(){if(g.current){var e=g.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(e){var t=e&&e.getPublicInstance();if(!t)return void 0;var n=t.constructor;return n?n.displayName||n.name||void 0:void 0}function a(){var e=g.current;return e&&i(e)||void 0}function s(e,t){if(!e._store.validated&&null==e.key){e._store.validated=!0;var n=c("uniqueKey",e,t);null!==n&&b(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s%s',n.parentOrOwner||"",n.childOwner||"",n.url||"")}}function u(e,t,n){if(E.test(e)){var r=c("numericKeys",t,n);null!==r&&b(!1,"Child objects should have non-numeric keys so ordering is preserved.%s%s%s",r.parentOrOwner||"",r.childOwner||"",r.url||"")}}function c(e,t,n){var r=a(),o="string"==typeof n?n:n.displayName||n.name,s=r||o,u=S[e]||(S[e]={});if(u[s])return null;u[s]=!0;var c={parentOrOwner:r?" Check the render method of "+r+".":o?" Check the React.render call using <"+o+">.":null,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==g.current&&(c.childOwner=" It was passed a child from "+i(t._owner)+"."),c}function l(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];f.isValidElement(r)&&s(r,t)}else if(f.isValidElement(e))e._store.validated=!0;else if(e){var o=y(e);if(o){if(o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)f.isValidElement(i.value)&&s(i.value,t)}else if("object"==typeof e){var c=d.extractIfFragment(e);for(var l in c)c.hasOwnProperty(l)&&u(l,c[l],t)}}}function p(e,t,n,r){for(var i in t)if(t.hasOwnProperty(i)){var a;try{_("function"==typeof t[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e||"React class",v[r],i),a=t[i](n,i,e,r)}catch(s){a=s}if(b(!a||a instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",e||"React class",v[r],i,typeof a),a instanceof Error&&!(a.message in R)){R[a.message]=!0;var u=o();b(!1,"Failed propType: %s%s",a.message,u)}}}function h(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name;t.propTypes&&p(n,t.propTypes,e.props,m.prop),"function"==typeof t.getDefaultProps&&b(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var f=t("ReactElement"),d=t("ReactFragment"),m=t("ReactPropTypeLocations"),v=t("ReactPropTypeLocationNames"),g=t("ReactCurrentOwner"),y=t("getIteratorFn"),_=t("invariant"),b=t("warning"),S={},R={},E=/^\d+$/,w={createElement:function(e,t,n){b("string"==typeof e||"function"==typeof e,"React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components).%s",o());var r=f.createElement.apply(this,arguments);if(null==r)return r;for(var i=2;i<arguments.length;i++)l(arguments[i],e);return h(r),r},createFactory:function(e){var t=w.createElement.bind(null,e);if(t.type=e,__DEV__)try{Object.defineProperty(t,"type",{enumerable:!1,get:function(){return b(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}})}catch(n){}return t},cloneElement:function(e,t,n){for(var r=f.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)l(arguments[o],r.type);return h(r),r}};n.exports=w}),__d("ReactNativeDefaultInjection",["InitializeJavaScriptAppEngine","EventPluginHub","EventPluginUtils","IOSDefaultEventPluginOrder","IOSNativeBridgeEventPlugin","NodeHandle","ReactComponentEnvironment","ReactDefaultBatchingStrategy","ReactEmptyComponent","ReactInstanceHandles","ReactNativeComponentEnvironment","ReactNativeGlobalInteractionHandler","ReactNativeGlobalResponderHandler","ReactNativeMount","ReactNativeTextComponent","ReactNativeComponent","ReactUpdates","ResponderEventPlugin","UniversalWorkerNodeHandle","createReactNativeComponentClass","invariant","RCTEventEmitter","RCTLog","JSTimersExecution"],function(e,t,n,r){"use strict";function o(){i.injection.injectEventPluginOrder(s),i.injection.injectInstanceHandle(f),S.injection.injectGlobalResponderHandler(v),S.injection.injectGlobalInteractionHandler(m),i.injection.injectEventPluginsByName({ResponderEventPlugin:S,IOSNativeBridgeEventPlugin:u}),b.injection.injectReconcileTransaction(d.ReactReconcileTransaction),b.injection.injectBatchingStrategy(p),l.injection.injectEnvironment(d);var e=E({validAttributes:{},uiViewClassName:"RCTView"});h.injection.injectEmptyComponent(e),a.injection.injectMount(g),_.injection.injectTextComponentClass(y),_.injection.injectGenericComponentClass(function(e){var t="";"string"==typeof e&&/^[a-z]/.test(e)&&(t+=" Each component name should start with an uppercase letter."),w(!1,"Expected a component class, got %s.%s",e,t)}),c.injection.injectImplementation(R)}t("InitializeJavaScriptAppEngine");var i=t("EventPluginHub"),a=t("EventPluginUtils"),s=t("IOSDefaultEventPluginOrder"),u=t("IOSNativeBridgeEventPlugin"),c=t("NodeHandle"),l=t("ReactComponentEnvironment"),p=t("ReactDefaultBatchingStrategy"),h=t("ReactEmptyComponent"),f=t("ReactInstanceHandles"),d=t("ReactNativeComponentEnvironment"),m=t("ReactNativeGlobalInteractionHandler"),v=t("ReactNativeGlobalResponderHandler"),g=t("ReactNativeMount"),y=t("ReactNativeTextComponent"),_=t("ReactNativeComponent"),b=t("ReactUpdates"),S=t("ResponderEventPlugin"),R=t("UniversalWorkerNodeHandle"),E=t("createReactNativeComponentClass"),w=t("invariant");t("RCTEventEmitter"),t("RCTLog"),t("JSTimersExecution"),n.exports={inject:o}}),__d("InitializeJavaScriptAppEngine",["RCTDebugComponentOwnership","RCTDeviceEventEmitter","PerformanceLogger","ExceptionsManager","ErrorUtils","ExceptionsManager","Platform","checkFlowAtRuntime","JSTimers","NativeModules","Promise","XMLHttpRequest","FormData","fetch","Geolocation","WebSocket","BridgeProfiling","regenerator/runtime.js"],function(e,t,n,r){function o(e,n){try{t("ExceptionsManager").handleException(e,n)}catch(r){console.log("Failed to print error: ",r.message)}}function i(){var e=t("ErrorUtils");e.setGlobalHandler(o)}function a(){var e=t("ExceptionsManager"),n=t("Platform");__DEV__&&"ios"===n.OS&&e.installConsoleErrorReporter()}function s(){if(__DEV__){var e=t("checkFlowAtRuntime");e()}}function u(){var e=t("JSTimers");GLOBAL.setTimeout=e.setTimeout,GLOBAL.setInterval=e.setInterval,GLOBAL.setImmediate=e.setImmediate,GLOBAL.clearTimeout=e.clearTimeout,GLOBAL.clearInterval=e.clearInterval,GLOBAL.clearImmediate=e.clearImmediate,GLOBAL.cancelAnimationFrame=e.clearInterval,GLOBAL.requestAnimationFrame=function(t){return e.requestAnimationFrame(t)}}function c(){var e=t("NativeModules").AlertManager;GLOBAL.alert||(GLOBAL.alert=function(t){var n={title:"Alert",message:""+t,buttons:[{cancel:"OK"}]};e.alertWithArgs(n,function(){})})}function l(){GLOBAL.Promise=t("Promise")}function p(){GLOBAL.XMLHttpRequest=t("XMLHttpRequest"),GLOBAL.FormData=t("FormData");var e=t("fetch");GLOBAL.fetch=e.fetch,GLOBAL.Headers=e.Headers,GLOBAL.Request=e.Request,GLOBAL.Response=e.Response}function h(){GLOBAL.navigator=GLOBAL.navigator||{},GLOBAL.navigator.geolocation=t("Geolocation")}function f(){GLOBAL.WebSocket=t("WebSocket")}function d(){console.profile=console.profile||GLOBAL.nativeTraceBeginSection||function(){},console.profileEnd=console.profileEnd||GLOBAL.nativeTraceEndSection||function(){},t("BridgeProfiling").swizzleReactPerf()}function m(){GLOBAL.process=GLOBAL.process||{},GLOBAL.process.env=GLOBAL.process.env||{},GLOBAL.process.env.NODE_ENV||(GLOBAL.process.env.NODE_ENV=__DEV__?"development":"production")}t("RCTDebugComponentOwnership"),t("RCTDeviceEventEmitter"),t("PerformanceLogger"),t("regenerator/runtime.js"),"undefined"==typeof GLOBAL&&(GLOBAL=this),"undefined"==typeof window&&(window=GLOBAL),i(),u(),c(),l(),p(),a(),h(),f(),d(),m(),s()}),__d("RCTDebugComponentOwnership",["NativeModules","InspectorUtils","ReactNativeTagHandles"],function(e,t,n,r){"use strict";function o(e){return e.getName?e.getName():"Unknown"}function i(e){var t=u.tagToRootNodeID[e];if(!t)return null;var n=u.getNativeTopRootIDFromNodeID(t);return n?u.rootNodeIDToTag[n]:null}var a=t("NativeModules").DebugComponentOwnershipModule,s=t("InspectorUtils"),u=t("ReactNativeTagHandles");n.exports={getOwnerHierarchy:function(e,t){var n=i(t),r=s.findInstanceByNativeTag(n,t),u=r?s.getOwnerHierarchy(r).map(o):null;a.receiveOwnershipHierarchy(e,t,u)}}}),__d("NativeModules",["BatchedBridge","nativeModulePrefixNormalizer"],function(e,t,n,r){"use strict";var o=t("BatchedBridge").RemoteModules,i=t("nativeModulePrefixNormalizer");i(o),n.exports=o}),__d("BatchedBridge",["MessageQueue"],function(e,t,n,r){"use strict";var o=t("MessageQueue"),i=new o(__fbBatchedBridgeConfig.remoteModuleConfig,__fbBatchedBridgeConfig.localModulesConfig);n.exports=i}),__d("MessageQueue",["BridgeProfiling","ErrorUtils","JSTimersExecution","ReactUpdates","invariant","keyMirror","stringifySafe"],function(e,t,n,r){"use strict";function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){var t=e.message,n=o(e,["message"]),r=new Error(t);return r.framesToPop=1,Object.assign(r,n)}var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=t("BridgeProfiling"),c=t("ErrorUtils"),l=t("JSTimersExecution"),p=t("ReactUpdates"),h=t("invariant"),f=t("keyMirror"),d=t("stringifySafe"),m=0,v=1,g=2,y=!1,_=f({local:null,remote:null,remoteAsync:null}),b=function(e){try{e()}catch(t){c.reportFatalError(t)}},S=function(){function e(n,r,o){var a=this;i(this,e),this.RemoteModules={},this._require=o||t,this._queue=[[],[],[]],this._moduleTable={},this._methodTable={},this._callbacks=[],this._callbackID=0,["processBatch","invokeCallbackAndReturnFlushedQueue","callFunctionReturnFlushedQueue","flushedQueue"].forEach(function(e){return a[e]=a[e].bind(a)}),this._genModules(n),r&&this._genLookupTables(r,this._moduleTable,this._methodTable),this._debugInfo={},this._remoteModuleTable={},this._remoteMethodTable={},this._genLookupTables(n,this._remoteModuleTable,this._remoteMethodTable)}return s(e,[{key:"processBatch",value:function(e){var t=this;return b(function(){p.batchedUpdates(function(){e.forEach(function(e){var n="callFunctionReturnFlushedQueue"===e.method?"__callFunction":"__invokeCallback";b(function(){return t[n].apply(t,e.args)})}),u.profile("ReactUpdates.batchedUpdates()")}),u.profileEnd()}),this.flushedQueue()}},{key:"callFunctionReturnFlushedQueue",value:function(e,t,n){var r=this;return b(function(){return r.__callFunction(e,t,n)}),this.flushedQueue()}},{key:"invokeCallbackAndReturnFlushedQueue",value:function(e,t){var n=this;return b(function(){return n.__invokeCallback(e,t)}),this.flushedQueue()}},{key:"flushedQueue",value:function(){u.profile("JSTimersExecution.callImmediates()"),b(function(){return l.callImmediates()}),u.profileEnd();var e=this._queue;return this._queue=[[],[],[]],e[0].length?e:null}},{key:"__nativeCall",value:function(e,t,n,r,o){(r||o)&&(this._callbackID>32&&(this._debugInfo[this._callbackID>>5]=null),this._debugInfo[this._callbackID>>1]=[e,t],r&&n.push(this._callbackID),this._callbacks[this._callbackID++]=r,o&&n.push(this._callbackID),this._callbacks[this._callbackID++]=o),this._queue[m].push(e),this._queue[v].push(t),this._queue[g].push(n),__DEV__&&y&&isFinite(e)&&console.log("JS->N : "+this._remoteModuleTable[e]+"."+this._remoteMethodTable[e][t]+"("+JSON.stringify(n)+")")}},{key:"__callFunction",value:function(e,t,n){u.profile(function(){return e+"."+t+"("+d(n)+")"}),isFinite(e)&&(t=this._methodTable[e][t],e=this._moduleTable[e]),__DEV__&&y&&console.log("N->JS : "+e+"."+t+"("+JSON.stringify(n)+")"),e=this._require(e),e[t].apply(e,n),u.profileEnd()}},{key:"__invokeCallback",value:function(e,t){u.profile(function(){return"MessageQueue.invokeCallback("+e+", "+d(t)+")"});var n=this._callbacks[e];if(!n||__DEV__){var r=this._debugInfo[e>>1],o=r&&this._remoteModuleTable[r[0]],i=r&&this._remoteMethodTable[r[0]][r[1]];h(n,"Callback with id "+e+": "+o+"."+i+"() not found"),n&&y&&console.log("N->JS : <callback for "+o+"."+i+">("+JSON.stringify(t)+")")}this._callbacks[-2&e]=null,this._callbacks[1|e]=null,n.apply(null,t),u.profileEnd()}},{key:"_genLookupTables",value:function(e,t,n){for(var r=Object.keys(e),o=0,i=r.length;i>o;o++){var a=r[o],s=e[a].methods,u=e[a].moduleID;t[u]=a,n[u]={};for(var c=Object.keys(s),l=0,p=c.length;p>l;l++){var h=c[l],f=s[h];n[u][f.methodID]=h}}}},{key:"_genModules",value:function(e){for(var t=Object.keys(e),n=0,r=t.length;r>n;n++){var o=t[n],i=e[o];this.RemoteModules[o]=this._genModule({},i)}}},{key:"_genModule",value:function(e,t){for(var n=Object.keys(t.methods),r=0,o=n.length;o>r;r++){var i=n[r],a=t.methods[i];e[i]=this._genMethod(t.moduleID,a.methodID,a.type)}return Object.assign(e,t.constants),e}},{key:"_genMethod",value:function(e,t,n){if(n===_.local)return null;var r=null,o=this;return r=n===_.remoteAsync?function(){for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return new Promise(function(n,i){o.__nativeCall(e,t,r,n,function(e){var t=a(e);i(t)})})}:function(){for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];var a=r.length>0?r[r.length-1]:null,s=r.length>1?r[r.length-2]:null,u="function"==typeof a,c="function"==typeof s;c&&h(u,"Cannot have a non-function arg after a function arg.");var l=u+c,p=u?a:null,f=c?s:null;return r=r.slice(0,r.length-l),o.__nativeCall(e,t,r,f,p)},r.type=n,r}}]),e}();n.exports=S}),__d("BridgeProfiling",["ReactPerf"],function(e,t,n,r){"use strict";var o=o||this,i=1<<17,a={profile:function(e){o.__BridgeProfilingIsProfiling&&(e="function"==typeof e?e():e,console.profile(i,e))},profileEnd:function(){o.__BridgeProfilingIsProfiling&&console.profileEnd(i)},swizzleReactPerf:function(){var e=t("ReactPerf"),n=e.measure;e.measure=function(t,r,i){return i=n.apply(e,arguments),function(e){if(o.__BridgeProfilingIsProfiling){var n=this._instance&&this._instance.constructor&&(this._instance.constructor.displayName||this._instance.constructor.name);a.profile(t+"."+r+"("+n+")")}var s=i.apply(this,arguments);return a.profileEnd(),s}}}};n.exports=a}),__d("ReactPerf",[],function(e,t,n,r){"use strict";function o(e,t,n){return n}var i={enableMeasure:!1,storedMeasure:o,measureMethods:function(e,t,n){if(__DEV__)for(var r in n)n.hasOwnProperty(r)&&(e[r]=i.measure(t,n[r],e[r]))},measure:function(e,t,n){if(__DEV__){var r=null,o=function(){return i.enableMeasure?(r||(r=i.storedMeasure(e,t,n)),r.apply(this,arguments)):n.apply(this,arguments)};return o.displayName=e+"_"+t,o}return n},injection:{injectMeasure:function(e){i.storedMeasure=e}}};n.exports=i}),__d("ErrorUtils",[],function(e,t,n,r){var o=this;n.exports=o.ErrorUtils}),__d("JSTimersExecution",["invariant","keyMirror","performanceNow","warning","JSTimers","JSTimers"],function(e,t,n,r){"use strict";var o=t("invariant"),i=t("keyMirror"),a=t("performanceNow"),s=t("warning"),u={GUID:1,Type:i({setTimeout:null,setInterval:null,requestAnimationFrame:null,setImmediate:null}),callbacks:[],types:[],timerIDs:[],immediates:[],callTimer:function(e){s(e<=u.GUID,"Tried to call timer with ID "+e+" but no such timer exists");var t=u.timerIDs.indexOf(e);if(-1!==t){var n=u.types[t],r=u.callbacks[t];(n===u.Type.setTimeout||n===u.Type.setImmediate||n===u.Type.requestAnimationFrame)&&u._clearIndex(t);try{if(n===u.Type.setTimeout||n===u.Type.setInterval||n===u.Type.setImmediate)r();else{if(n!==u.Type.requestAnimationFrame)return void console.error("Tried to call a callback with invalid type: "+n);var o=a();r(o)}}catch(i){u.errors=u.errors||[],u.errors.push(i)}}},callTimers:function(e){o(0!==e.length,'Probably shouldn\'t call "callTimers" with no timerIDs'),u.errors=null,e.forEach(u.callTimer);var n=u.errors;if(n){var r=n.length;if(r>1)for(var i=1;r>i;i++)t("JSTimers").setTimeout(function(e){throw e}.bind(null,n[i]),0);throw n[0]}},callImmediates:function(){for(u.errors=null;0!==u.immediates.length;)u.callTimer(u.immediates.shift());u.errors&&u.errors.forEach(function(e){return t("JSTimers").setTimeout(function(){throw e},0)})},_clearIndex:function(e){u.timerIDs[e]=null,u.callbacks[e]=null,u.types[e]=null}};n.exports=u}),__d("performanceNow",["performance"],function(e,t,n,r){var o=t("performance");o&&o.now||(o=Date);var i=o.now.bind(o);n.exports=i}),__d("performance",["ExecutionEnvironment"],function(e,t,n,r){"use strict";var o,i=t("ExecutionEnvironment");i.canUseDOM&&(o=window.performance||window.msPerformance||window.webkitPerformance),n.exports=o||{}}),__d("ExecutionEnvironment",[],function(e,t,n,r){"use strict";var o=!1,i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen,isInWorker:!o};n.exports=i}),__d("JSTimers",["NativeModules","JSTimersExecution"],function(e,t,n,r){"use strict";var o=t("NativeModules").Timing,i=t("JSTimersExecution"),a={Types:i.Types,_getFreeIndex:function(){var e=i.timerIDs.indexOf(null);return-1===e&&(e=i.timerIDs.length),e},setTimeout:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),s=2;n>s;s++)r[s-2]=arguments[s];var u=i.GUID++,c=a._getFreeIndex();return i.timerIDs[c]=u,i.callbacks[c]=function(){return e.apply(void 0,r)},i.types[c]=i.Type.setTimeout,o.createTimer(u,t||0,Date.now(),!1),u},setInterval:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),s=2;n>s;s++)r[s-2]=arguments[s];var u=i.GUID++,c=a._getFreeIndex();return i.timerIDs[c]=u,i.callbacks[c]=function(){return e.apply(void 0,r);
},i.types[c]=i.Type.setInterval,o.createTimer(u,t||0,Date.now(),!0),u},setImmediate:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];var o=i.GUID++,s=a._getFreeIndex();return i.timerIDs[s]=o,i.callbacks[s]=function(){return e.apply(void 0,n)},i.types[s]=i.Type.setImmediate,i.immediates.push(o),o},requestAnimationFrame:function(e){var t=i.GUID++,n=a._getFreeIndex();return i.timerIDs[n]=t,i.callbacks[n]=e,i.types[n]=i.Type.requestAnimationFrame,o.createTimer(t,1,Date.now(),!1),t},clearTimeout:function(e){a._clearTimerID(e)},clearInterval:function(e){a._clearTimerID(e)},clearImmediate:function(e){a._clearTimerID(e),i.immediates.splice(i.immediates.indexOf(e),1)},cancelAnimationFrame:function(e){a._clearTimerID(e)},_clearTimerID:function(e){if(null!=e){var t=i.timerIDs.indexOf(e);-1!==t&&(i._clearIndex(t),i.types[t]!==i.Type.setImmediate&&o.deleteTimer(e))}}};n.exports=a}),__d("ReactUpdates",["CallbackQueue","PooledClass","ReactPerf","ReactReconciler","Transaction","Object.assign","invariant"],function(e,t,n,r){"use strict";function o(){g(O.ReactReconcileTransaction&&S,"ReactUpdates: must inject a reconcile transaction class and batching strategy")}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled()}function a(e,t,n,r,i,a){o(),S.batchedUpdates(e,t,n,r,i,a)}function s(e,t){return e._mountOrder-t._mountOrder}function u(e){var t=e.dirtyComponentsLength;g(t===y.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",t,y.length),y.sort(s);for(var n=0;t>n;n++){var r=y[n],o=r._pendingCallbacks;if(r._pendingCallbacks=null,d.performUpdateIfNecessary(r,e.reconcileTransaction),o)for(var i=0;i<o.length;i++)e.callbackQueue.enqueue(o[i],r.getPublicInstance())}}function c(e){return o(),S.isBatchingUpdates?void y.push(e):void S.batchedUpdates(c,e)}function l(e,t){g(S.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),_.enqueue(e,t),b=!0}var p=t("CallbackQueue"),h=t("PooledClass"),f=t("ReactPerf"),d=t("ReactReconciler"),m=t("Transaction"),v=t("Object.assign"),g=t("invariant"),y=[],_=p.getPooled(),b=!1,S=null,R={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),T()):y.length=0}},E={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},w=[R,E];v(i.prototype,m.Mixin,{getTransactionWrappers:function(){return w},destructor:function(){this.dirtyComponentsLength=null,p.release(this.callbackQueue),this.callbackQueue=null,O.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return m.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),h.addPoolingTo(i);var T=function(){for(;y.length||b;){if(y.length){var e=i.getPooled();e.perform(u,null,e),i.release(e)}if(b){b=!1;var t=_;_=p.getPooled(),t.notifyAll(),p.release(t)}}};T=f.measure("ReactUpdates","flushBatchedUpdates",T);var C={injectReconcileTransaction:function(e){g(e,"ReactUpdates: must provide a reconcile transaction class"),O.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){g(e,"ReactUpdates: must provide a batching strategy"),g("function"==typeof e.batchedUpdates,"ReactUpdates: must provide a batchedUpdates() function"),g("boolean"==typeof e.isBatchingUpdates,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"),S=e}},O={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:c,flushBatchedUpdates:T,injection:C,asap:l};n.exports=O}),__d("CallbackQueue",["PooledClass","Object.assign","invariant"],function(e,t,n,r){"use strict";function o(){this._callbacks=null,this._contexts=null}var i=t("PooledClass"),a=t("Object.assign"),s=t("invariant");a(o.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){s(e.length===t.length,"Mismatched list of contexts in callback queue"),this._callbacks=null,this._contexts=null;for(var n=0;n<e.length;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(o),n.exports=o}),__d("ReactReconciler",["ReactRef"],function(e,t,n,r){"use strict";function o(){i.attachRefs(this,this._currentElement)}var i=t("ReactRef"),a={mountComponent:function(e,t,n,r){var i=e.mountComponent(t,n,r);return null!=e._currentElement.ref&&n.getReactMountReady().enqueue(o,e),i},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,r){var a=e._currentElement;if(t!==a||null==t._owner){var s=i.shouldUpdateRefs(a,t);s&&i.detachRefs(e,a),e.receiveComponent(t,n,r),s&&n.getReactMountReady().enqueue(o,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};n.exports=a}),__d("ReactRef",["ReactOwner"],function(e,t,n,r){"use strict";function o(e,t,n){"function"==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function i(e,t,n){"function"==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=t("ReactOwner"),s={};s.attachRefs=function(e,t){var n=t.ref;null!=n&&o(n,e,t._owner)},s.shouldUpdateRefs=function(e,t){return t._owner!==e._owner||t.ref!==e.ref},s.detachRefs=function(e,t){var n=t.ref;null!=n&&i(n,e,t._owner)},n.exports=s}),__d("ReactOwner",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){o(i.isValidOwner(n),"addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){o(i.isValidOwner(n),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This usually means that you're trying to remove a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};n.exports=i}),__d("Transaction",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,r,i,a,s,u){o(!this.isInTransaction(),"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.");var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=e.call(t,n,r,i,a,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(p){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=a.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===a.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(e){o(this.isInTransaction(),"Transaction.closeAll(): Cannot close transaction when none are open.");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r,i=t[n],s=this.wrapperInitData[n];try{r=!0,s!==a.OBSERVED_ERROR&&i.close&&i.close.call(this,s),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(u){}}}this.wrapperInitData.length=0}},a={Mixin:i,OBSERVED_ERROR:{}};n.exports=a}),__d("stringifySafe",[],function(e,t,n,r){"use strict";function o(e){var t,n=typeof e;if(void 0===e)t="undefined";else if(null===e)t="null";else if("string"===n)t='"'+e+'"';else if("function"===n)try{t=e.toString()}catch(r){t="[function unknown]"}else try{t=JSON.stringify(e)}catch(r){if("function"==typeof e.toString)try{t=e.toString()}catch(o){}}return t||'["'+n+'" failed to stringify]'}n.exports=o}),__d("nativeModulePrefixNormalizer",[],function(e,t,n,r){"use strict";function o(e){Object.keys(e).forEach(function(t){var n=t.replace(/^(RCT|RK)/,"");if(e["RCT"+n]&&e["RK"+n])throw new Error("Module cannot be registered as both RCT and RK: "+t);n!==t&&(e[n]=e[t],delete e[t])})}n.exports=o}),__d("InspectorUtils",["ReactInstanceHandles","ReactInstanceMap","ReactNativeMount","ReactNativeTagHandles"],function(e,t,n,r){"use strict";function o(e,t){t&&(e.unshift(t),o(e,t._currentElement._owner))}function i(e,t){if(t===a(e))return e;if(e._renderedComponent)return i(e._renderedComponent,t);for(var n in e._renderedChildren){var r=e._renderedChildren[n];if(c.isAncestorIDOf(a(r),t)){var o=i(r,t);if(o)return o}}}function a(e){var t=l.get(e);return t?t._rootNodeID:e._rootNodeID}function s(e,t){var n=h.tagToRootNodeID[e],r=p._instancesByContainerID[n],o=h.tagToRootNodeID[t];return o?i(r,o):void 0}function u(e){var t=[];return o(t,e),t}var c=t("ReactInstanceHandles"),l=t("ReactInstanceMap"),p=t("ReactNativeMount"),h=t("ReactNativeTagHandles");n.exports={findInstanceByNativeTag:s,getOwnerHierarchy:u}}),__d("ReactInstanceMap",[],function(e,t,n,r){"use strict";var o={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};n.exports=o}),__d("ReactNativeMount",["NativeModules","ReactElement","ReactNativeTagHandles","ReactPerf","ReactReconciler","ReactUpdateQueue","ReactUpdates","emptyObject","instantiateReactComponent","shouldUpdateReactComponent","findNodeHandle"],function(e,t,n,r){"use strict";function o(e,t){return e+"["+t+"]"}function i(e,t,n,r){var o=p.mountComponent(e,t,r,d);e._renderedComponent._topLevelWrapper=e,y._mountImageIntoNode(o,n)}function a(e,t,n){var r=f.ReactReconcileTransaction.getPooled();r.perform(i,null,e,t,n,r),f.ReactReconcileTransaction.release(r)}var s=t("NativeModules").UIManager,u=t("ReactElement"),c=t("ReactNativeTagHandles"),l=t("ReactPerf"),p=t("ReactReconciler"),h=t("ReactUpdateQueue"),f=t("ReactUpdates"),d=t("emptyObject"),m=t("instantiateReactComponent"),v=t("shouldUpdateReactComponent"),g=function(){};g.prototype.render=function(){return this.props};var y={instanceCount:0,_instancesByContainerID:{},findNodeHandle:t("findNodeHandle"),nativeTagToRootNodeID:function(e){return c.tagToRootNodeID[e]},renderComponent:function(e,t,n){var r=new u(g,null,null,null,e),i=c.tagToRootNodeID[t];if(i){var s=y._instancesByContainerID[i];if(s){var l=s._currentElement,p=l.props;if(v(p,e))return h.enqueueElementInternal(s,r),n&&h.enqueueCallbackInternal(s,n),s;y.unmountComponentAtNode(t)}}if(!c.reactTagIsNativeTopRootID(t))return void console.error("You cannot render into anything but a top root");var i=c.allocateRootNodeIDForTag(t);c.associateRootNodeIDWithMountedNodeHandle(i,t);var d=m(r);y._instancesByContainerID[i]=d;var _=o(i,y.instanceCount++);f.batchedUpdates(a,d,_,i);var b=d.getPublicInstance();return n&&n.call(b),b},_mountImageIntoNode:l.measure("ReactComponentBrowserEnvironment","mountImageIntoNode",function(e,t){c.associateRootNodeIDWithMountedNodeHandle(e.rootNodeID,e.tag);var n=[e.tag],r=[0];s.manageChildren(c.mostRecentMountedNodeHandleForRootNodeID(t),null,null,n,r,null)}),unmountComponentAtNodeAndRemoveContainer:function(e){y.unmountComponentAtNode(e),s.removeRootView(e)},unmountComponentAtNode:function(e){if(!c.reactTagIsNativeTopRootID(e))return console.error("You cannot render into anything but a top root"),!1;var t=c.tagToRootNodeID[e],n=y._instancesByContainerID[t];return n?(y.unmountComponentFromNode(n,t),delete y._instancesByContainerID[t],!0):!1},unmountComponentFromNode:function(e,t){p.unmountComponent(e);var n=c.mostRecentMountedNodeHandleForRootNodeID(t);s.removeSubviewsFromContainerWithID(n)},getNode:function(e){return c.rootNodeIDToTag[e]},getID:function(e){return c.tagToRootNodeID[e]}};y.renderComponent=l.measure("ReactMount","_renderNewRootComponent",y.renderComponent),n.exports=y}),__d("ReactNativeTagHandles",["invariant","warning"],function(e,t,n,r){"use strict";var o=t("invariant"),i=t("warning"),a=1,s="{TOP_LEVEL}",u={tagsStartAt:a,tagCount:a,allocateTag:function(){for(;this.reactTagIsNativeTopRootID(u.tagCount);)u.tagCount++;var e=u.tagCount;return u.tagCount++,e},associateRootNodeIDWithMountedNodeHandle:function(e,t){i(e&&t,"Root node or tag is null when associating"),e&&t&&(u.tagToRootNodeID[t]=e,u.rootNodeIDToTag[e]=t)},allocateRootNodeIDForTag:function(e){return o(this.reactTagIsNativeTopRootID(e),"Expect a native root tag, instead got ",e),".r["+e+"]"+s},reactTagIsNativeTopRootID:function(e){return e%10===1},getNativeTopRootIDFromNodeID:function(e){if(!e)return null;var t=e.indexOf(s);return-1===t?null:e.substr(0,t+s.length)},mostRecentMountedNodeHandleForRootNodeID:function(e){return u.rootNodeIDToTag[e]},tagToRootNodeID:[],rootNodeIDToTag:{}};n.exports=u}),__d("ReactUpdateQueue",["ReactCurrentOwner","ReactElement","ReactInstanceMap","ReactUpdates","Object.assign","invariant","warning"],function(e,t,n,r){"use strict";function o(e){c.enqueueUpdate(e)}function i(e,t){__DEV__&&h(null==a.current,"%s(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",t);var n=u.get(e);return n?n:(__DEV__&&h(!t,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",t,t,e.constructor.displayName),null)}var a=t("ReactCurrentOwner"),s=t("ReactElement"),u=t("ReactInstanceMap"),c=t("ReactUpdates"),l=t("Object.assign"),p=t("invariant"),h=t("warning"),f={isMounted:function(e){if(__DEV__){var t=a.current;null!==t&&(h(t._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0)}var n=u.get(e);return n?!!n._renderedComponent:!1},enqueueCallback:function(e,t){p("function"==typeof t,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable.");var n=i(e);return n?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void o(n)):null},enqueueCallbackInternal:function(e,t){p("function"==typeof t,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],o(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,o(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,o(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var r=n._pendingStateQueue||(n._pendingStateQueue=[]);r.push(t),o(n)}},enqueueSetProps:function(e,t){var n=i(e,"setProps");n&&f.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;p(n,"setProps(...): You called `setProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var r=n._pendingElement||n._currentElement,i=r.props,a=l({},i.props,t);n._pendingElement=s.cloneAndReplaceProps(r,s.cloneAndReplaceProps(i,a)),o(n)},enqueueReplaceProps:function(e,t){var n=i(e,"replaceProps");n&&f.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;p(n,"replaceProps(...): You called `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created.");var r=n._pendingElement||n._currentElement,i=r.props;n._pendingElement=s.cloneAndReplaceProps(r,s.cloneAndReplaceProps(i,t)),o(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,o(e)}};n.exports=f}),__d("instantiateReactComponent",["ReactCompositeComponent","ReactEmptyComponent","ReactNativeComponent","Object.assign","invariant","warning"],function(e,t,n,r){"use strict";function o(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function i(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function a(e){var t;if((null===e||e===!1)&&(e=u.emptyElement),"object"==typeof e){var n=e;p(n&&("function"==typeof n.type||"string"==typeof n.type),"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==n.type?n.type:typeof n.type,o(n._owner)),t="string"==typeof n.type?c.createInternalComponent(n):i(n.type)?new n.type(n):new f}else"string"==typeof e||"number"==typeof e?t=c.createInstanceForText(e):p(!1,"Encountered invalid React node of type %s",typeof e);return __DEV__&&h("function"==typeof t.construct&&"function"==typeof t.mountComponent&&"function"==typeof t.receiveComponent&&"function"==typeof t.unmountComponent,"Only React Components can be mounted."),t.construct(e),t._mountIndex=0,t._mountImage=null,__DEV__&&(t._isOwnerNecessary=!1,t._warnedAboutRefsInRender=!1),__DEV__&&Object.preventExtensions&&Object.preventExtensions(t),t}var s=t("ReactCompositeComponent"),u=t("ReactEmptyComponent"),c=t("ReactNativeComponent"),l=t("Object.assign"),p=t("invariant"),h=t("warning"),f=function(){};l(f.prototype,s.Mixin,{_instantiateReactComponent:a}),n.exports=a}),__d("ReactCompositeComponent",["ReactComponentEnvironment","ReactCurrentOwner","ReactElement","ReactInstanceMap","ReactPerf","ReactPropTypeLocations","ReactPropTypeLocationNames","ReactReconciler","ReactUpdateQueue","Object.assign","emptyObject","invariant","shouldUpdateReactComponent","warning"],function(e,t,n,r){"use strict";function o(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}var i=t("ReactComponentEnvironment"),a=t("ReactCurrentOwner"),s=t("ReactElement"),u=t("ReactInstanceMap"),c=t("ReactPerf"),l=t("ReactPropTypeLocations"),p=t("ReactPropTypeLocationNames"),h=t("ReactReconciler"),f=t("ReactUpdateQueue"),d=t("Object.assign"),m=t("emptyObject"),v=t("invariant"),g=t("shouldUpdateReactComponent"),y=t("warning"),_=1,b={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=_++,this._rootNodeID=e;var r=this._processProps(this._currentElement.props),o=this._processContext(n),i=this._currentElement.type,a=new i(r,o,f);__DEV__&&y(null!=a.render,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render` in your component or you may have accidentally tried to render an element whose type is a function that isn't a React component.",i.displayName||i.name||"Component"),a.props=r,a.context=o,a.refs=m,a.updater=f,this._instance=a,u.set(a,this),__DEV__&&(y(!a.getInitialState||a.getInitialState.isReactClassApproved,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"),y(!a.getDefaultProps||a.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"),y(!a.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"),y(!a.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"),y("function"!=typeof a.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"),y("function"!=typeof a.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"),y("function"!=typeof a.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component"));var s=a.state;void 0===s&&(a.state=s=null),v("object"==typeof s&&!Array.isArray(s),"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context)));var c=this._renderValidatedComponent();this._renderedComponent=this._instantiateReactComponent(c);var l=h.mountComponent(this._renderedComponent,e,t,this._processChildContext(n));return a.componentDidMount&&t.getReactMountReady().enqueue(a.componentDidMount,a),l},unmountComponent:function(){var e=this._instance;e.componentWillUnmount&&e.componentWillUnmount(),h.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,this._topLevelWrapper=null,u.remove(e)},_maskContext:function(e){var t=null,n=this._currentElement.type,r=n.contextTypes;if(!r)return m;t={};for(var o in r)t[o]=e[o];return t},_processContext:function(e){var t=this._maskContext(e);if(__DEV__){var n=this._currentElement.type;n.contextTypes&&this._checkPropTypes(n.contextTypes,t,l.context)}return t},_processChildContext:function(e){var t=this._currentElement.type,n=this._instance,r=n.getChildContext&&n.getChildContext();if(r){v("object"==typeof t.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"),__DEV__&&this._checkPropTypes(t.childContextTypes,r,l.childContext);for(var o in r)v(o in t.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",o);return d({},e,r)}return e},_processProps:function(e){if(__DEV__){var t=this._currentElement.type;t.propTypes&&this._checkPropTypes(t.propTypes,e,l.prop)}return e},_checkPropTypes:function(e,t,n){var r=this.getName();for(var i in e)if(e.hasOwnProperty(i)){var a;try{v("function"==typeof e[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",r||"React class",p[n],i),a=e[i](t,i,r,n)}catch(s){a=s}if(a instanceof Error){var u=o(this);n===l.prop?y(!1,"Failed Composite propType: %s%s",a.message,u):y(!1,"Failed Context Types: %s%s",a.message,u)}}},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&h.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},updateComponent:function(e,t,n,r,o){var i,a=this._instance,s=this._context===o?a.context:this._processContext(o);t===n?i=n.props:(i=this._processProps(n.props),a.componentWillReceiveProps&&a.componentWillReceiveProps(i,s));var u=this._processPendingState(i,s),c=this._pendingForceUpdate||!a.shouldComponentUpdate||a.shouldComponentUpdate(i,u,s);__DEV__&&y("undefined"!=typeof c,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"),c?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,i,u,s,e,o)):(this._currentElement=n,this._context=o,a.props=i,a.state=u,a.context=s)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var i=d({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];d(i,"function"==typeof s?s.call(n,i,e,t):s)}return i},_performComponentUpdate:function(e,t,n,r,o,i){var a,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(a=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(t,n,r),this._currentElement=e,this._context=i,c.props=t,c.state=n,c.context=r,this._updateRenderedComponent(o,i),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,a,s,u),c)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent();if(g(r,o))h.receiveComponent(n,o,e,this._processChildContext(t));else{var i=this._rootNodeID,a=n._rootNodeID;h.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(o);var s=h.mountComponent(this._renderedComponent,i,e,this._processChildContext(t));this._replaceNodeWithMarkupByID(a,s)}},_replaceNodeWithMarkupByID:function(e,t){i.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return __DEV__&&"undefined"==typeof t&&e.render._isMockFunction&&(t=null),t},_renderValidatedComponent:function(){var e;a.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{a.current=null}return v(null===e||e===!1||s.isValidElement(e),"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance(),r=n.refs===m?n.refs={}:n.refs;r[e]=t.getPublicInstance()},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){return this._instance},_instantiateReactComponent:null};c.measureMethods(b,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var S={Mixin:b};n.exports=S}),__d("ReactComponentEnvironment",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i=!1,a={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o(!i,"ReactCompositeComponent: injectEnvironment() can only be called once."),a.unmountIDFromEnvironment=e.unmountIDFromEnvironment,a.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,a.processChildrenUpdates=e.processChildrenUpdates,i=!0}}};n.exports=a}),__d("shouldUpdateReactComponent",[],function(e,t,n,r){"use strict";function o(e,t){if(null!=e&&null!=t){var n=typeof e,r=typeof t;return"string"===n||"number"===n?"string"===r||"number"===r:"object"===r&&e.type===t.type&&e.key===t.key}return!1}n.exports=o}),__d("ReactEmptyComponent",["ReactElement","ReactInstanceMap","invariant"],function(e,t,n,r){"use strict";function o(e){p[e]=!0}function i(e){delete p[e]}function a(e){return!!p[e]}var s,u=t("ReactElement"),c=t("ReactInstanceMap"),l=t("invariant"),p={},h={injectEmptyComponent:function(e){s=u.createFactory(e)}},f=function(){};f.prototype.componentDidMount=function(){var e=c.get(this);e&&o(e._rootNodeID)},f.prototype.componentWillUnmount=function(){var e=c.get(this);e&&i(e._rootNodeID)},f.prototype.render=function(){return l(s,"Trying to return null from a render, but no null placeholder component was injected."),s()};var d=u.createElement(f),m={emptyElement:d,injection:h,isNullComponentID:a};n.exports=m}),__d("ReactNativeComponent",["Object.assign","invariant"],function(e,t,n,r){"use strict";function o(e){if("function"==typeof e.type)return e.type;var t=e.type,n=h[t];return null==n&&(h[t]=n=l(t)),n}function i(e){return c(p,"There is no registered component for the tag %s",e.type),new p(e.type,e.props)}function a(e){return new f(e)}function s(e){return e instanceof f}var u=t("Object.assign"),c=t("invariant"),l=null,p=null,h={},f=null,d={injectGenericComponentClass:function(e){p=e},injectTextComponentClass:function(e){f=e},injectComponentClasses:function(e){u(h,e)}},m={getComponentClassForElement:o,createInternalComponent:i,createInstanceForText:a,isTextComponent:s,injection:d};n.exports=m}),__d("findNodeHandle",["ReactCurrentOwner","ReactInstanceMap","ReactNativeTagHandles","invariant","warning"],function(e,t,n,r){"use strict";function o(e){if(__DEV__){var t=i.current;null!==t&&(c(t._warnedAboutRefsInRender,"%s is accessing findNodeHandle inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0)}if(null==e)return null;if("number"==typeof e)return e;var n=e,r=a.get(n);if(r)return s.rootNodeIDToTag[r._rootNodeID];var o=n._rootNodeID;return o?s.rootNodeIDToTag[o]:(u("object"==typeof n&&"_rootNodeID"in n||null!=n.render&&"function"==typeof n.render,"findNodeHandle(...): Argument is not a component (type: %s, keys: %s)",typeof n,Object.keys(n)),void u(!1,"findNodeHandle(...): Unable to find node handle for unmounted component."))}var i=t("ReactCurrentOwner"),a=t("ReactInstanceMap"),s=t("ReactNativeTagHandles"),u=t("invariant"),c=t("warning");n.exports=o}),__d("RCTDeviceEventEmitter",["EventEmitter"],function(e,t,n,r){"use strict";var o=t("EventEmitter"),i=new o;n.exports=i}),__d("EventEmitter",["EmitterSubscription","ErrorUtils","EventSubscriptionVendor","emptyFunction","invariant"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("EmitterSubscription"),s=t("ErrorUtils"),u=t("EventSubscriptionVendor"),c=t("emptyFunction"),l=t("invariant"),p=function(){function e(){o(this,e),this._subscriber=new u}return i(e,[{key:"addListener",value:function(e,t,n){return this._subscriber.addSubscription(e,new a(this._subscriber,t,n))}},{key:"once",value:function(e,t,n){var r=this;return this.addListener(e,function(){
r.removeCurrentListener(),t.apply(n,arguments)})}},{key:"removeAllListeners",value:function(e){this._subscriber.removeAllSubscriptions(e)}},{key:"removeCurrentListener",value:function(){l(!!this._currentSubscription,"Not in an emitting cycle; there is no current subscription"),this._subscriber.removeSubscription(this._currentSubscription)}},{key:"listeners",value:function(e){var t=this._subscriber.getSubscriptionsForType(e);return t?t.filter(c.thatReturnsTrue).map(function(e){return e.listener}):[]}},{key:"emit",value:function(e){var t=this._subscriber.getSubscriptionsForType(e);if(t){for(var n=Object.keys(t),r=0;r<n.length;r++){var o=n[r],i=t[o];i&&(this._currentSubscription=i,s.applyWithGuard(i.listener,i.context,Array.prototype.slice.call(arguments,1),null,"EventEmitter:"+e))}this._currentSubscription=null}}}]),e}();n.exports=p}),__d("EmitterSubscription",["EventSubscription"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function c(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:c(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},s=t("EventSubscription"),u=function(e){function t(e,n,r){o(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.listener=n,this.context=r}return i(t,e),t}(s);n.exports=u}),__d("EventSubscription",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){o(this,e),this.subscriber=t}return i(e,[{key:"remove",value:function(){this.subscriber.removeSubscription(this)}}]),e}();n.exports=a}),__d("EventSubscriptionVendor",["invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("invariant"),s=function(){function e(){o(this,e),this._subscriptionsForType={},this._currentSubscription=null}return i(e,[{key:"addSubscription",value:function(e,t){a(t.subscriber===this,"The subscriber of the subscription is incorrectly set."),this._subscriptionsForType[e]||(this._subscriptionsForType[e]=[]);var n=this._subscriptionsForType[e].length;return this._subscriptionsForType[e].push(t),t.eventType=e,t.key=n,t}},{key:"removeAllSubscriptions",value:function(e){void 0===e?this._subscriptionsForType={}:delete this._subscriptionsForType[e]}},{key:"removeSubscription",value:function(e){var t=e.eventType,n=e.key,r=this._subscriptionsForType[t];r&&delete r[n]}},{key:"getSubscriptionsForType",value:function(e){return this._subscriptionsForType[e]}}]),e}();n.exports=s}),__d("PerformanceLogger",["performanceNow"],function(e,t,n,r){"use strict";var o=t("performanceNow"),i={},a={addTimespan:function(e,t,n){return i[e]?void(__DEV__&&console.log("PerformanceLogger: Attempting to add a timespan that already exists ",e)):void(i[e]={description:n,totalTime:t})},startTimespan:function(e,t){return i[e]?void(__DEV__&&console.log("PerformanceLogger: Attempting to start a timespan that already exists ",e)):void(i[e]={description:t,startTime:o()})},stopTimespan:function(e){return i[e]&&i[e].startTime?(i[e].endTime=o(),void(i[e].totalTime=i[e].endTime-i[e].startTime)):void(__DEV__&&console.log("PerformanceLogger: Attempting to end a timespan that has not started ",e))},clearTimespans:function(){i={}},getTimespans:function(){return i},hasTimespan:function(e){return!!i[e]},logTimespans:function(){for(var e in i)i[e].totalTime&&console.log(e+": "+i[e].totalTime+"ms")},addTimespans:function(e,t){for(var n=0,r=e.length;r>n;n+=2){var o=t[n/2];a.addTimespan(o,e[n+1]-e[n],o)}}};n.exports=a}),__d("regenerator/runtime.js",[],function(e,t,n,r){!function(e){"use strict";function t(e,t,n,r){var i=Object.create((t||o).prototype),a=new f(r||[]);return i._invoke=l(e,n,a),i}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){this.arg=e}function c(e){function t(n,o,i,a){var s=r(e[n],e,o);if("throw"!==s.type){var c=s.arg,l=c.value;return l instanceof u?Promise.resolve(l.arg).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){c.value=e,i(c)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}"object"==typeof process&&process.domain&&(t=process.domain.bind(t));var o;this._invoke=n}function l(e,t,n){var o=S;return function(i,a){if(o===E)throw new Error("Generator is already running");if(o===w){if("throw"===i)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===i||"throw"===i&&s.iterator[i]===v){n.delegate=null;var u=s.iterator["return"];if(u){var c=r(u,s.iterator,a);if("throw"===c.type){i="throw",a=c.arg;continue}}if("return"===i)continue}var c=r(s.iterator[i],s.iterator,a);if("throw"===c.type){n.delegate=null,i="throw",a=c.arg;continue}i="next",a=v;var l=c.arg;if(!l.done)return o=R,l;n[s.resultName]=l.value,n.next=s.nextLoc,n.delegate=null}if("next"===i)o===R?n.sent=a:n.sent=v;else if("throw"===i){if(o===S)throw o=w,a;n.dispatchException(a)&&(i="next",a=v)}else"return"===i&&n.abrupt("return",a);o=E;var c=r(e,t,n);if("normal"===c.type){o=n.done?w:R;var l={value:c.arg,done:n.done};if(c.arg!==T)return l;n.delegate&&"next"===i&&(a=v)}else"throw"===c.type&&(o=w,i="throw",a=c.arg)}}}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function h(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function d(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function o(){for(;++n<e.length;)if(g.call(e,n))return o.value=e[n],o.done=!1,o;return o.value=v,o.done=!0,o};return r.next=r}}return{next:m}}function m(){return{value:v,done:!0}}var v,g=Object.prototype.hasOwnProperty,y="function"==typeof Symbol&&Symbol.iterator||"@@iterator",_="object"==typeof n,b=e.regeneratorRuntime;if(b)return void(_&&(n.exports=b));b=e.regeneratorRuntime=_?n.exports:{},b.wrap=t;var S="suspendedStart",R="suspendedYield",E="executing",w="completed",T={},C=a.prototype=o.prototype;i.prototype=C.constructor=a,a.constructor=i,i.displayName="GeneratorFunction",b.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return t?t===i||"GeneratorFunction"===(t.displayName||t.name):!1},b.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):e.__proto__=a,e.prototype=Object.create(C),e},b.awrap=function(e){return new u(e)},s(c.prototype),b.async=function(e,n,r,o){var i=new c(t(e,n,r,o));return b.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(C),C[y]=function(){return this},C.toString=function(){return"[object Generator]"},b.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},b.values=d,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(h),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?this.next=o.finallyLoc:this.complete(i),T},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),h(n),T}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;h(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},T}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}),__d("ExceptionsManager",["NativeModules","loadSourceMap","parseErrorStack","stringifySafe"],function(e,t,n,r){"use strict";function o(e,t,n){var r=++m;p&&(n||(n=f(e)),t?p.reportFatalException(e.message,n,r):p.reportSoftException(e.message,n,r),__DEV__&&(l=l||h()).then(function(t){var n=f(e,t);p.updateExceptionMessage(e.message,n,r)})["catch"](function(e){console.warn("Unable to load source map: "+e.message)}))}function i(e,t){e.message||(e=new Error(e));var n=f(e),r="Error: "+e.message+"\n stack: \n"+s(n)+"\n URL: "+e.sourceURL+"\n line: "+e.line+"\n message: "+e.message;console.errorOriginal?console.errorOriginal(r):console.error(r),o(e,t,n)}function a(){console.reportException||(console.reportException=o,console.errorOriginal=console.error.bind(console),console.error=function(){if(console.errorOriginal.apply(null,arguments),console.reportErrorsAsExceptions){var e=Array.prototype.map.call(arguments,d).join(", ");if('"Warning: '!==e.slice(0,10)){var t=new Error("console.error: "+e);t.framesToPop=1,o(t,!1)}}},void 0===console.reportErrorsAsExceptions&&(console.reportErrorsAsExceptions=!0))}function s(e){var t=Math.max.apply(null,e.map(function(e){return e.methodName.length}));return e.map(function(e){return u(e,t)}).join("\n")}function u(e,t){var n=e.file.split("/"),r=n[n.length-1];r.length>18&&(r=r.substr(0,17)+"…");var o=c(t-e.methodName.length);return"  "+e.methodName+o+"  "+r+":"+e.lineNumber}function c(e){return new Array(e+1).join(" ")}var l,p=t("NativeModules").ExceptionsManager,h=t("loadSourceMap"),f=t("parseErrorStack"),d=t("stringifySafe"),m=0;n.exports={handleException:i,installConsoleErrorReporter:a}}),__d("loadSourceMap",["Promise","NativeModules","SourceMap","react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js"],function(e,t,n,r){"use strict";function o(){return i().then(function(e){return new c(e)})}function i(){return e.RAW_SOURCE_MAP?s.resolve(e.RAW_SOURCE_MAP):p?h?new s(p.getScriptText).then(a).then(function(e){return null===e?s.reject(new Error("No source map URL found. May be running from bundled file.")):s.resolve(e)}).then(fetch).then(function(e){return e.text()}):s.reject(new Error("RCTNetworking module is not available")):s.reject(new Error("RCTSourceCode module is not available"))}function a(e){var t=e.url,n=e.text,r=e.fullSourceMappingURL;if(r)return r;var o=l.getFrom(n);if(!o)return null;var i=t.match(/(.+:\/\/.*?)\//)[1];return i+o}var s=t("Promise"),u=t("NativeModules"),c=t("SourceMap").SourceMapConsumer,l=t("react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js"),p=u.SourceCode,h=u.Networking;n.exports=o}),__d("Promise",["setImmediate","promise/setimmediate/es6-extensions.js","promise/setimmediate/done.js"],function(e,t,n,r){"use strict";e.setImmediate=t("setImmediate");var o=t("promise/setimmediate/es6-extensions.js");t("promise/setimmediate/done.js"),o.prototype["finally"]=function(e){return this.then(e,e)},n.exports=o}),__d("setImmediate",["ImmediateImplementation"],function(e,t,n,r){n.exports=e.setImmediate||t("ImmediateImplementation").setImmediate}),__d("ImmediateImplementation",[],function(e,t,n,r){!function(e,t){"use strict";function n(e){var n=e[0];return e=Array.prototype.slice.call(e,1),f[h]=function(){n.apply(t,e)},m=m.next={handle:h++},m.handle}function o(){for(var e,t;!v&&(e=d.next);)if(d=e,t=f[e.handle]){v=!0;try{t(),v=!1}finally{i(e.handle),v&&(v=!1,d.next&&p(o))}}}function i(e){delete f[e]}function a(){if(e.postMessage&&!e.importScripts){var t=!0,n=function(){t=!1,e.removeEventListener?e.removeEventListener("message",n,!1):e.detachEvent("onmessage",n)};if(e.addEventListener)e.addEventListener("message",n,!1);else{if(!e.attachEvent)return!1;e.attachEvent("onmessage",n)}return e.postMessage("","*"),t}}function s(){var t="setImmediate$"+Math.random()+"$",r=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&o()};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),p=function(){var r=n(arguments);return e.postMessage(t+r,"*"),r}}function u(){var e=new MessageChannel;e.port1.onmessage=o,p=function(){var t=n(arguments);return e.port2.postMessage(t),t}}function c(){var e=g.documentElement;p=function(){var t=n(arguments),r=g.createElement("script");return r.onreadystatechange=function(){r.onreadystatechange=null,e.removeChild(r),r=null,o()},e.appendChild(r),t}}function l(){p=function(){return setTimeout(o,0),n(arguments)}}var p,h=1,f={},d={},m=d,v=!1,g=e.document;a()?s():e.MessageChannel?u():g&&"onreadystatechange"in g.createElement("script")?c():l(),r.setImmediate=p,r.clearImmediate=i}(Function("return this")())}),__d("promise/setimmediate/es6-extensions.js",["promise/setimmediate/core.js"],function(e,t,n,r){"use strict";function o(e){var t=new i(i._99);return t._37=1,t._12=e,t}var i=t("promise/setimmediate/core.js");n.exports=i;var a=o(!0),s=o(!1),u=o(null),c=o(void 0),l=o(0),p=o("");i.resolve=function(e){if(e instanceof i)return e;if(null===e)return u;if(void 0===e)return c;if(e===!0)return a;if(e===!1)return s;if(0===e)return l;if(""===e)return p;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new i(t.bind(e))}catch(n){return new i(function(e,t){t(n)})}return o(e)},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function r(a,s){if(s&&("object"==typeof s||"function"==typeof s)){if(s instanceof i&&s.then===i.prototype.then){for(;3===s._37;)s=s._12;return 1===s._37?r(a,s._12):(2===s._37&&n(s._12),void s.then(function(e){r(a,e)},n))}var u=s.then;if("function"==typeof u){var c=new i(u.bind(s));return void c.then(function(e){r(a,e)},n)}}t[a]=s,0===--o&&e(t)}if(0===t.length)return e([]);for(var o=t.length,a=0;a<t.length;a++)r(a,t[a])})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){e.forEach(function(e){i.resolve(e).then(t,n)})})},i.prototype["catch"]=function(e){return this.then(null,e)}}),__d("promise/setimmediate/core.js",[],function(e,t,n,r){"use strict";function o(){}function i(e){try{return e.then}catch(t){return v=t,g}}function a(e,t){try{return e(t)}catch(n){return v=n,g}}function s(e,t,n){try{e(t,n)}catch(r){return v=r,g}}function u(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._37=0,this._12=null,this._59=[],e!==o&&m(e,this)}function c(e,t,n){return new e.constructor(function(r,i){var a=new u(o);a.then(r,i),l(e,new d(t,n,a))})}function l(e,t){for(;3===e._37;)e=e._12;return 0===e._37?void e._59.push(t):void setImmediate(function(){var n=1===e._37?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._37?p(t.promise,e._12):h(t.promise,e._12));var r=a(n,e._12);r===g?h(t.promise,v):p(t.promise,r)})}function p(e,t){if(t===e)return h(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var n=i(t);if(n===g)return h(e,v);if(n===e.then&&t instanceof u)return e._37=3,e._12=t,void f(e);if("function"==typeof n)return void m(n.bind(t),e)}e._37=1,e._12=t,f(e)}function h(e,t){e._37=2,e._12=t,f(e)}function f(e){for(var t=0;t<e._59.length;t++)l(e,e._59[t]);e._59=null}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function m(e,t){var n=!1,r=s(e,function(e){n||(n=!0,p(t,e))},function(e){n||(n=!0,h(t,e))});n||r!==g||(n=!0,h(t,v))}var v=null,g={};n.exports=u,u._99=o,u.prototype.then=function(e,t){if(this.constructor!==u)return c(this,e,t);var n=new u(o);return l(this,new d(e,t,n)),n}}),__d("promise/setimmediate/done.js",["promise/setimmediate/core.js"],function(e,t,n,r){"use strict";var o=t("promise/setimmediate/core.js");n.exports=o,o.prototype.done=function(e,t){var n=arguments.length?this.then.apply(this,arguments):this;n.then(null,function(e){setTimeout(function(){throw e},0)})}}),__d("SourceMap",[],function(e,t,n,r){function o(){function e(t,n,r){if("string"!=typeof t)throw new TypeError("Expected string, got: "+t);if(2==arguments.length&&(r=n),t in e.modules)throw new Error("Module already defined: "+t);e.modules[t]=r}function t(){this.modules={},this._currentModule=null}e.modules={},function(){function n(e){for(var t=e.split("/"),n=1;n<t.length;)".."===t[n]?t.splice(n-1,1):"."===t[n]?t.splice(n,1):n++;return t.join("/")}function r(e,t){return e=e.trim(),t=t.trim(),/^\//.test(t)?t:e.replace(/\/*$/,"/")+t}function o(e){var t=e.split("/");return t.pop(),t.join("/")}t.prototype.require=function(e,t){if(Array.isArray(e)){var n=e.map(function(e){return this.lookup(e)},this);return void(t&&t.apply(null,n))}return this.lookup(e)},t.prototype.lookup=function(t){if(/^\./.test(t)&&(t=n(r(o(this._currentModule),t))),t in this.modules){var i=this.modules[t];return i}if(!(t in e.modules))throw new Error("Module not defined: "+t);var i=e.modules[t];if("function"==typeof i){var a={},s=this._currentModule;this._currentModule=t,i(this.require.bind(this),a,{id:t,uri:""}),this._currentModule=s,i=a}return this.modules[t]=i,i}}(),e.Domain=t,e.globalDomain=new t;var n=e.globalDomain.require.bind(e.globalDomain);e("source-map/source-map-generator",["require","exports","module","source-map/base64-vlq","source-map/util","source-map/array-set"],function(e,t,n){function r(e){this._file=i.getArg(e,"file"),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._sources=new a,this._names=new a,this._mappings=[],this._sourcesContents=null}var o=e("./base64-vlq"),i=e("./util"),a=e("./array-set").ArraySet;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source&&(r.source=e.source,t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._validateMapping(t,n,r,o),r&&!this._sources.has(r)&&this._sources.add(r),o&&!this._names.has(o)&&this._names.add(o),this._mappings.push({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},r.prototype.setSourceContent=function(e,t){var n=e;this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!==t?(this._sourcesContents||(this._sourcesContents={}),this._sourcesContents[i.toSetString(n)]=t):(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t){t||(t=e.file);var n=this._sourceRoot;n&&(t=i.relative(n,t));var r=new a,o=new a;this._mappings.forEach(function(a){if(a.source===t&&a.originalLine){var s=e.originalPositionFor({line:a.originalLine,column:a.originalColumn});null!==s.source&&(n?a.source=i.relative(n,s.source):a.source=s.source,a.originalLine=s.line,a.originalColumn=s.column,null!==s.name&&null!==a.name&&(a.name=s.name))}var u=a.source;u&&!r.has(u)&&r.add(u);var c=a.name;c&&!o.has(c)&&o.add(c)},this),this._sources=r,this._names=o,e.sources.forEach(function(t){var r=e.sourceContentFor(t);r&&(n&&(t=i.relative(n,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,orginal:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,a=0,s=0,u=0,c="";this._mappings.sort(i.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!i.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=o.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=o.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=o.encode(e.originalLine-1-a),a=e.originalLine-1,c+=o.encode(e.originalColumn-r),r=e.originalColumn,e.name&&(c+=o.encode(this._names.indexOf(e.name)-s),s=this._names.indexOf(e.name)))}return c},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r}),e("source-map/base64-vlq",["require","exports","module","source-map/base64"],function(e,t,n){function r(e){return 0>e?(-e<<1)+1:(e<<1)+0}function o(e){var t=1===(1&e),n=e>>1;return t?-n:n}var i=e("./base64"),a=5,s=1<<a,u=s-1,c=s;t.encode=function(e){var t,n="",o=r(e);do t=o&u,o>>>=a,o>0&&(t|=c),n+=i.encode(t);while(o>0);return n},t.decode=function(e){var t,n,r=0,s=e.length,l=0,p=0;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");n=i.decode(e.charAt(r++)),t=!!(n&c),n&=u,l+=n<<p,p+=a}while(t);return{value:o(l),rest:e.slice(r)}}}),e("source-map/base64",["require","exports","module"],function(e,t,n){var r={},o={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach(function(e,t){r[e]=t,o[t]=e}),t.encode=function(e){if(e in o)return o[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){if(e in r)return r[e];throw new TypeError("Not a valid base 64 digit: "+e)}}),e("source-map/util",["require","exports","module"],function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function o(e){var t=e.match(f);return t?{scheme:t[1],auth:t[3],host:t[4],port:t[6],path:t[7]}:null}function i(e){var t=e.scheme+"://";return e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e,t){var n;return t.match(f)||t.match(d)?t:"/"===t.charAt(0)&&(n=o(e))?(n.path=t,i(n)):e.replace(/\/$/,"")+"/"+t}function s(e){return"$"+e}function u(e){return e.substr(1)}function c(e,t){e=e.replace(/\/$/,"");var n=o(e);return"/"==t.charAt(0)&&n&&"/"==n.path?t.slice(1):0===t.indexOf(e+"/")?t.substr(e.length+1):t}function l(e,t){var n=e||"",r=t||"";return(n>r)-(r>n)}function p(e,t,n){var r;return(r=l(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=l(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function h(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=l(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:l(e.name,t.name)))}t.getArg=r;var f=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,d=/^data:.+\,.+/;t.urlParse=o,t.urlGenerate=i,t.join=a,t.toSetString=s,t.fromSetString=u,t.relative=c,t.compareByOriginalPositions=p,t.compareByGeneratedPositions=h}),e("source-map/array-set",["require","exports","module","source-map/util"],function(e,t,n){function r(){this._array=[],this._set={}}var o=e("./util");r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;i>o;o++)n.add(e[o],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[o.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,o.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[o.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},t.ArraySet=r}),e("source-map/source-map-consumer",["require","exports","module","source-map/util","source-map/binary-search","source-map/array-set","source-map/base64-vlq"],function(e,t,n){function r(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=o.getArg(t,"version"),r=o.getArg(t,"sources"),i=o.getArg(t,"names",[]),s=o.getArg(t,"sourceRoot",null),u=o.getArg(t,"sourcesContent",null),c=o.getArg(t,"mappings"),l=o.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);this._names=a.fromArray(i,!0),this._sources=a.fromArray(r,!0),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this.file=l}var o=e("./util"),i=e("./binary-search"),a=e("./array-set").ArraySet,s=e("./base64-vlq");r.fromSourceMap=function(e){var t=Object.create(r.prototype);return t._names=a.fromArray(e._names.toArray(),!0),t._sources=a.fromArray(e._sources.toArray(),!0),t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t.__generatedMappings=e._mappings.slice().sort(o.compareByGeneratedPositions),t.__originalMappings=e._mappings.slice().sort(o.compareByOriginalPositions),t},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return this.sourceRoot?o.join(this.sourceRoot,e):e},this)}}),r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||(this.__generatedMappings=[],this.__originalMappings=[],this._parseMappings(this._mappings,this.sourceRoot)),this.__originalMappings}}),r.prototype._parseMappings=function(e,t){for(var n,r,i=1,a=0,u=0,c=0,l=0,p=0,h=/^[,;]/,f=e;f.length>0;)if(";"===f.charAt(0))i++,f=f.slice(1),a=0;else if(","===f.charAt(0))f=f.slice(1);else{if(n={},n.generatedLine=i,r=s.decode(f),n.generatedColumn=a+r.value,a=n.generatedColumn,f=r.rest,f.length>0&&!h.test(f.charAt(0))){if(r=s.decode(f),n.source=this._sources.at(l+r.value),l+=r.value,f=r.rest,0===f.length||h.test(f.charAt(0)))throw new Error("Found a source, but no line and column");if(r=s.decode(f),n.originalLine=u+r.value,u=n.originalLine,n.originalLine+=1,f=r.rest,0===f.length||h.test(f.charAt(0)))throw new Error("Found a source and line, but no column");r=s.decode(f),n.originalColumn=c+r.value,c=n.originalColumn,f=r.rest,f.length>0&&!h.test(f.charAt(0))&&(r=s.decode(f),n.name=this._names.at(p+r.value),p+=r.value,f=r.rest)}this.__generatedMappings.push(n),"number"==typeof n.originalLine&&this.__originalMappings.push(n)}this.__originalMappings.sort(o.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return i.search(e,t,o)},r.prototype.originalPositionFor=function(e){var t={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositions);if(n){var r=o.getArg(n,"source",null);return r&&this.sourceRoot&&(r=o.join(this.sourceRoot,r)),{source:r,line:o.getArg(n,"originalLine",null),column:o.getArg(n,"originalColumn",null),name:o.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(this.sourceRoot&&(e=o.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=o.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(e){var t={source:o.getArg(e,"source"),originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};this.sourceRoot&&(t.source=o.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions);return n?{line:o.getArg(n,"generatedLine",null),column:o.getArg(n,"generatedColumn",null)}:{line:null,column:null}},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var i,a=t||null,s=n||r.GENERATED_ORDER;switch(s){case r.GENERATED_ORDER:i=this._generatedMappings;break;case r.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;i.map(function(e){var t=e.source;return t&&u&&(t=o.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,a)},t.SourceMapConsumer=r}),e("source-map/binary-search",["require","exports","module"],function(e,t,n){function r(e,t,n,o,i){var a=Math.floor((t-e)/2)+e,s=i(n,o[a],!0);return 0===s?o[a]:s>0?t-a>1?r(a,t,n,o,i):o[a]:a-e>1?r(e,a,n,o,i):0>e?null:o[e]}t.search=function(e,t,n){
return t.length>0?r(-1,t.length,e,t,n):null}}),e("source-map/source-node",["require","exports","module","source-map/source-map-generator","source-map/util"],function(e,t,n){function r(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=void 0===e?null:e,this.column=void 0===t?null:t,this.source=void 0===n?null:n,this.name=void 0===o?null:o,null!=r&&this.add(r)}var o=e("./source-map-generator").SourceMapGenerator,i=e("./util");r.fromStringWithSourceMap=function(e,t){function n(e,t){null===e||void 0===e.source?o.add(t):o.add(new r(e.originalLine,e.originalColumn,e.source,t,e.name))}var o=new r,i=e.split("\n"),a=1,s=0,u=null;return t.eachMapping(function(e){if(null===u){for(;a<e.generatedLine;)o.add(i.shift()+"\n"),a++;if(s<e.generatedColumn){var t=i[0];o.add(t.substr(0,e.generatedColumn)),i[0]=t.substr(e.generatedColumn),s=e.generatedColumn}}else if(a<e.generatedLine){var r="";do r+=i.shift()+"\n",a++,s=0;while(a<e.generatedLine);if(s<e.generatedColumn){var t=i[0];r+=t.substr(0,e.generatedColumn),i[0]=t.substr(e.generatedColumn),s=e.generatedColumn}n(u,r)}else{var t=i[0],r=t.substr(0,e.generatedColumn-s);i[0]=t.substr(e.generatedColumn-s),s=e.generatedColumn,n(u,r)}u=e},this),n(u,i.join("\n")),t.sources.forEach(function(e){var n=t.sourceContentFor(e);n&&o.setSourceContent(e,n)}),o},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,o=this.children.length;o>n;n++)t=this.children[n],t instanceof r?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n instanceof r?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t]instanceof r&&this.children[t].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),t=0,n=o.length;n>t;t++)e(i.fromSetString(o[t]),this.sourceContents[o[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new o(e),r=!1,i=null,a=null,s=null,u=null;return this.walk(function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?((i!==o.source||a!==o.line||s!==o.column||u!==o.name)&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name}),i=o.source,a=o.line,s=o.column,u=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1),e.split("").forEach(function(e){"\n"===e?(t.line++,t.column=0):t.column++})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r}),this.sourceMap={SourceMapConsumer:n("source-map/source-map-consumer").SourceMapConsumer,SourceMapGenerator:n("source-map/source-map-generator").SourceMapGenerator,SourceNode:n("source-map/source-node").SourceNode}}var i={};o.call(i),n.exports=i.sourceMap}),__d("react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js",[],function(e,t,n,r){!function(){var e=null;void function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof r?n.exports=o():t.sourceMappingURL=o()}(this,function(){var e=/[#@] sourceMappingURL=([^\s'"]*)/,t=RegExp("(?:/\\*(?:\\s*\r?\n(?://)?)?(?:"+e.source+")\\s*\\*/|//(?:"+e.source+"))\\s*$");return{regex:t,_innerRegex:e,getFrom:function(e){var n=e.match(t);return n?n[1]||n[2]||"":null},existsIn:function(e){return t.test(e)},removeFrom:function(e){return e.replace(t,"")},insertBefore:function(e,n){var r=e.match(t);return r?e.slice(0,r.index)+n+e.slice(r.index):e+n}}})}()}),__d("parseErrorStack",["stacktrace-parser/index.js"],function(e,t,n,r){"use strict";function o(e,t){try{var n=e.originalPositionFor({line:t.lineNumber,column:t.column});n&&(t.file=n.source,t.lineNumber=n.line,t.column=n.column)}catch(r){}}function i(e,t){if(!e||!e.stack)return[];for(var n=Array.isArray(e.stack)?e.stack:a.parse(e.stack),r=e.framesToPop||0;r--;)n.shift();return t&&n.forEach(o.bind(null,t)),n}var a=t("stacktrace-parser/index.js");n.exports=i}),__d("stacktrace-parser/index.js",["stacktrace-parser/lib/stacktrace-parser.js"],function(e,t,n,r){n.exports=t("stacktrace-parser/lib/stacktrace-parser.js")}),__d("stacktrace-parser/lib/stacktrace-parser.js",[],function(e,t,n,r){var o="<unknown>",i={parse:function(e){for(var t,n,r=/^\s*at (?:(?:(?:Anonymous function)?|((?:\[object object\])?\S+(?: \[as \S+\])?)) )?\(?((?:file|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^(?:\s*(\S*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?\S+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.split("\n"),u=[],c=0,l=s.length;l>c;++c){if(t=i.exec(s[c]))n={file:t[3],methodName:t[1]||o,lineNumber:+t[4],column:t[5]?+t[5]:null};else if(t=r.exec(s[c]))n={file:t[2],methodName:t[1]||o,lineNumber:+t[3],column:t[4]?+t[4]:null};else{if(!(t=a.exec(s[c])))continue;n={file:t[2],methodName:t[1]||o,lineNumber:+t[3],column:t[4]?+t[4]:null}}u.push(n)}return u}};n.exports=i}),__d("Platform",[],function(e,t,n,r){"use strict";var o={OS:"ios"};n.exports=o}),__d("checkFlowAtRuntime",["NativeModules"],function(e,t,n,r){"use strict";function o(){var e=i();e&&fetch(e+"flow/").then(function(e){return e.json()}).then(function(e){if(!e.silentError)throw{message:e.message,stack:e.errors.map(function(e){return s({},e,{methodName:e.description,file:e.filename})})}},function(){}).done()}function i(){var e=t("NativeModules"),n=e&&e.SourceCode&&e.SourceCode.scriptURL||"";return a(n.match(/^https?:\/\/[^\/]+\//))}function a(e){return e?e[0]:null}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.exports=o}),__d("XMLHttpRequest",["FormData","NativeModules","RCTDeviceEventEmitter","XMLHttpRequestBase"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function f(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:f(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("FormData"),c=t("NativeModules").Networking,l=t("RCTDeviceEventEmitter"),p=t("XMLHttpRequestBase"),h=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._requestId=null,this._subscriptions=[],this.upload={}}return i(t,e),a(t,[{key:"_didCreateRequest",value:function(e){var t=this;this._requestId=e,this._subscriptions.push(l.addListener("didSendNetworkData",function(e){return t._didUploadProgress.call(t,e[0],e[1],e[2])})),this._subscriptions.push(l.addListener("didReceiveNetworkResponse",function(e){return t._didReceiveResponse.call(t,e[0],e[1],e[2])})),this._subscriptions.push(l.addListener("didReceiveNetworkData",function(e){return t._didReceiveData.call(t,e[0],e[1])})),this._subscriptions.push(l.addListener("didCompleteNetworkResponse",function(e){return t._didCompleteResponse.call(t,e[0],e[1])}))}},{key:"_didUploadProgress",value:function(e,t,n){if(e===this._requestId&&this.upload.onprogress){var r={lengthComputable:!0,loaded:t,total:n};this.upload.onprogress(r)}}},{key:"_didReceiveResponse",value:function(e,t,n){e===this._requestId&&(this.status=t,this.setResponseHeaders(n),this.setReadyState(this.HEADERS_RECEIVED))}},{key:"_didReceiveData",value:function(e,t){e===this._requestId&&(this.responseText?this.responseText+=t:this.responseText=t,this.setReadyState(this.LOADING))}},{key:"_didCompleteResponse",value:function(e,t){e===this._requestId&&(t&&(this.responseText=t),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE))}},{key:"_clearSubscriptions",value:function(){for(var e=0;e<this._subscriptions.length;e++){var t=this._subscriptions[e];t.remove()}this._subscriptions=[]}},{key:"sendImpl",value:function(e,t,n,r){"string"==typeof r?r={string:r}:r instanceof u&&(r={formData:r.getParts()}),c.sendRequest({method:e,url:t,data:r,headers:n,incrementalUpdates:this.onreadystatechange?!0:!1},this._didCreateRequest.bind(this))}},{key:"abortImpl",value:function(){this._requestId&&(c.cancelRequest(this._requestId),this._clearSubscriptions(),this._requestId=null)}}]),t}(p);n.exports=h}),__d("FormData",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s["return"]&&s["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(){function e(){o(this,e),this._parts=[],this._partsByKey={}}return s(e,[{key:"append",value:function(e,t){var n=this._partsByKey[e];return n?void(n[1]=t):(n=[e,t],this._parts.push(n),void(this._partsByKey[e]=n))}},{key:"getParts",value:function(){return this._parts.map(function(e){var t=i(e,2),n=t[0],r=t[1],o='form-data; name="'+n+'"',s={"content-disposition":o};return"string"==typeof r?{string:r,headers:s,fieldName:n}:("string"==typeof r.name&&(s["content-disposition"]+='; filename="'+r.name+'"'),"string"==typeof r.type&&(s["content-type"]=r.type),a({},r,{headers:s,fieldName:n}))})}}]),e}();n.exports=u}),__d("XMLHttpRequestBase",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(){o(this,e),this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.onreadystatechange=null,this.onload=null,this.upload=void 0,this._reset(),this._method=null,this._url=null,this._aborted=!1}return i(e,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.responseText="",this.status=0,this._headers={},this._sent=!1,this._lowerCaseResponseHeaders={}}},{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("\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()]=t}},{key:"open",value:function(e,t,n){if(this.readyState!==this.UNSENT)throw new Error("Cannot open, already sending");if(void 0!==n&&!n)throw new Error("Synchronous http requests are not supported");this._reset(),this._method=e,this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"sendImpl",value:function(e,t,n,r){throw new Error("Subclass must define sendImpl method")}},{key:"abortImpl",value:function(){throw new Error("Subclass must define abortImpl method")}},{key:"send",value:function(e){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,this.sendImpl(this._method,this._url,this._headers,e)}},{key:"abort",value:function(){this._aborted=!0,this.abortImpl(),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"callback",value:function(e,t,n){this._aborted||(this.status=e,this.setResponseHeaders(t||{}),this.responseText=n,this.setReadyState(this.DONE))}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,n){return e[n.toLowerCase()]=t[n],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e;var t=this.onreadystatechange;t&&t(null),e!==this.DONE||this._aborted||this._sendLoad()}},{key:"_sendLoad",value:function(){var e=this.onload;e&&e(null)}}]),e}();n.exports=a}),__d("fetch",[],function(e,t,n,r){"use strict";var o={};!function(){function e(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){this.map={},e instanceof n?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function s(e){var t=new FileReader;return t.readAsText(e),i(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(d.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(d.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else{if(e)throw new Error("unsupported BodyInit type");this._bodyText=""}},d.blob?(this.blob=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return s(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=r(this);return e?e:Promise.resolve(this._bodyText)},d.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function c(e){var t=e.toUpperCase();return m.indexOf(t)>-1?t:e}function l(e,t){t=t||{};var r=t.body;if(l.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new n(e.headers)),this.method=e.method,this.mode=e.mode,r||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",(t.headers||!this.headers)&&(this.headers=new n(t.headers)),this.method=c(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function h(e){var t=new n,r=e.getAllResponseHeaders().trim().split("\n");return r.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t}function f(e,t){t||(t={}),this._initBody(e),this.type="default",this.url=null,this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof n?t.headers:new n(t.headers),this.url=t.url||""}if(!o.fetch){n.prototype.append=function(n,r){n=e(n),r=t(r);var o=this.map[n];o||(o=[],this.map[n]=o),o.push(r)},n.prototype["delete"]=function(t){delete this.map[e(t)]},n.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},n.prototype.getAll=function(t){return this.map[e(t)]||[]},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.set=function(n,r){this.map[e(n)]=[t(r)]},n.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)};var d={blob:"function"==typeof FileReader&&"function"==typeof Blob&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"function"==typeof FormData},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];u.call(l.prototype),u.call(f.prototype),o.Headers=n,o.Request=l,o.Response=f,o.fetch=function(e,t){var n;return n=l.prototype.isPrototypeOf(e)&&!t?e:new l(e,t),new Promise(function(e,t){function r(){return"responseURL"in o?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void 0}var o=new XMLHttpRequest;o.onload=function(){var n=1223===o.status?204:o.status;if(100>n||n>599)return void t(new TypeError("Network request failed"));var i={status:n,statusText:o.statusText,headers:h(o),url:r()},a="response"in o?o.response:o.responseText;e(new f(a,i))},o.onerror=function(){t(new TypeError("Network request failed"))},o.open(n.method,n.url,!0),"include"===n.credentials&&(o.withCredentials=!0),"responseType"in o&&d.blob&&(o.responseType="blob"),n.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"==typeof n._bodyInit?null:n._bodyInit)})},o.fetch.polyfill=!0}}(),n.exports=o}),__d("Geolocation",["RCTDeviceEventEmitter","NativeModules","invariant","logError","warning"],function(e,t,n,r){"use strict";var o=t("RCTDeviceEventEmitter"),i=t("NativeModules").LocationObserver,a=t("invariant"),s=t("logError"),u=t("warning"),c=[],l=!1,p={getCurrentPosition:function(e,t,n){a("function"==typeof e,"Must provide a valid geo_success callback."),i.getCurrentPosition(n||{},e,t||s)},watchPosition:function(e,t,n){l||(i.startObserving(n||{}),l=!0);var r=c.length;return c.push([o.addListener("geolocationDidChange",e),t?o.addListener("geolocationError",t):null]),r},clearWatch:function(e){var t=c[e];if(t){t[0].remove();var n=t[1];n&&n.remove(),c[e]=void 0;for(var r=!0,o=0;o<c.length;o++)c[o]&&(r=!1);r&&p.stopObserving()}},stopObserving:function(){if(l){i.stopObserving(),l=!1;for(var e=0;e<c.length;e++){var t=c[e];if(t){u("Called stopObserving with existing subscriptions."),t[0].remove();var n=t[1];n&&n.remove()}}c=[]}}};n.exports=p}),__d("logError",[],function(e,t,n,r){"use strict";var o=function(){if(1===arguments.length&&arguments[0]instanceof Error){var e=arguments[0];console.error('Error: "'+e.message+'".  Stack:\n'+e.stack)}else console.error.apply(console,arguments)};n.exports=o}),__d("WebSocket",["RCTDeviceEventEmitter","NativeModules","WebSocketBase"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function f(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:f(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("RCTDeviceEventEmitter"),c=t("NativeModules").WebSocketManager,l=t("WebSocketBase"),p=0,h=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"connectToSocketImpl",value:function(e){this._socketId=p++,c.connect(e,this._socketId),this._registerEvents(this._socketId)}},{key:"closeConnectionImpl",value:function(){c.close(this._socketId)}},{key:"cancelConnectionImpl",value:function(){c.close(this._socketId)}},{key:"sendStringImpl",value:function(e){c.send(e,this._socketId)}},{key:"sendArrayBufferImpl",value:function(){console.warn("Sending ArrayBuffers is not yet supported")}},{key:"_unregisterEvents",value:function(){this._subs.forEach(function(e){return e.remove()}),this._subs=[]}},{key:"_registerEvents",value:function(e){this._subs=[u.addListener("websocketMessage",function(t){t.id===e&&this.onmessage&&this.onmessage({data:t.data})}.bind(this)),u.addListener("websocketOpen",function(t){t.id===e&&(this.readyState=this.OPEN,this.onopen&&this.onopen())}.bind(this)),u.addListener("websocketClosed",function(t){t.id===e&&(this.readyState=this.CLOSED,this.onclose&&this.onclose(t),this._unregisterEvents(),c.close(e))}.bind(this)),u.addListener("websocketFailed",function(t){t.id===e&&(this.onerror&&this.onerror(new Error(t.message)),this._unregisterEvents(),c.close(e))}.bind(this))]}}]),t}(l);n.exports=h}),__d("WebSocketBase",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t,n){o(this,e),this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,n||(n=[]),this.connectToSocketImpl(t)}return i(e,[{key:"close",value:function(){this.readyState!==e.CLOSING&&this.readyState!==e.CLOSED&&(this.readyState===e.CONNECTING&&this.cancelConnectionImpl(),this.closeConnectionImpl())}},{key:"send",value:function(t){if(this.readyState===e.CONNECTING)throw new Error("INVALID_STATE_ERR");if("string"==typeof t)this.sendStringImpl(t);else{if(!(t instanceof ArrayBuffer))throw new Error("Not supported data type");this.sendArrayBufferImpl(t)}}},{key:"closeConnectionImpl",value:function(){throw new Error("Subclass must define closeConnectionImpl method")}},{key:"connectToSocketImpl",value:function(){throw new Error("Subclass must define connectToSocketImpl method")}},{key:"cancelConnectionImpl",value:function(){throw new Error("Subclass must define cancelConnectionImpl method")}},{key:"sendStringImpl",value:function(){throw new Error("Subclass must define sendStringImpl method")}},{key:"sendArrayBufferImpl",value:function(){throw new Error("Subclass must define sendArrayBufferImpl method")}}]),e}();n.exports=a}),__d("EventPluginHub",["EventPluginRegistry","EventPluginUtils","accumulateInto","forEachAccumulated","invariant","warning"],function(e,t,n,r){"use strict";function o(){var e=d&&d.traverseTwoPhase&&d.traverseEnterLeave;l(e,"InstanceHandle not injected before use!")}var i=t("EventPluginRegistry"),a=t("EventPluginUtils"),s=t("accumulateInto"),u=t("forEachAccumulated"),c=t("invariant"),l=t("warning"),p={},h=null,f=function(e){if(e){var t=a.executeDispatch,n=i.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),a.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},d=null,m={injection:{injectMount:a.injection.injectMount,injectInstanceHandle:function(e){d=e,__DEV__&&o()},getInstanceHandle:function(){return __DEV__&&o(),d},injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.registrationNameModules,putListener:function(e,t,n){c("function"==typeof n,"Expected %s listener to be a function, instead got type %s",t,typeof n);var r=p[t]||(p[t]={});r[e]=n;var o=i.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,n)},getListener:function(e,t){var n=p[t];return n&&n[e]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=p[t];r&&delete r[e]},deleteAllListeners:function(e){for(var t in p)if(p[t][e]){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete p[t][e]}},extractEvents:function(e,t,n,r,o){for(var a,u=i.plugins,c=0;c<u.length;c++){var l=u[c];if(l){var p=l.extractEvents(e,t,n,r,o);p&&(a=s(a,p))}}return a},enqueueEvents:function(e){e&&(h=s(h,e))},processEventQueue:function(){var e=h;h=null,u(e,f),c(!h,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.")},__purge:function(){p={}},__getListenerBank:function(){return p}};n.exports=m}),__d("EventPluginRegistry",["invariant"],function(e,t,n,r){"use strict";function o(){if(u)for(var e in c){var t=c[e],n=u.indexOf(e);if(s(n>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!l.plugins[n]){s(t.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),l.plugins[n]=t;var r=t.eventTypes;for(var o in r)s(i(r[o],t,o),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function i(e,t,n){s(!l.eventNameDispatchConfigs.hasOwnProperty(n),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];a(i,t,n)}return!0}return e.registrationName?(a(e.registrationName,t,n),!0):!1}function a(e,t,n){s(!l.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var s=t("invariant"),u=null,c={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s(!u,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),u=Array.prototype.slice.call(e),o()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];c.hasOwnProperty(n)&&c[n]===r||(s(!c[n],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",n),c[n]=r,t=!0)}t&&o()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){u=null;for(var e in c)c.hasOwnProperty(e)&&delete c[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};n.exports=l}),__d("EventPluginUtils",["EventConstants","invariant","warning"],function(e,t,n,r){"use strict";function o(e){return e===_.topMouseUp||e===_.topTouchEnd||e===_.topTouchCancel}function i(e){return e===_.topMouseMove||e===_.topTouchMove}function a(e){return e===_.topMouseDown||e===_.topTouchStart}function s(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(__DEV__&&d(e),Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)t(e,n[o],r[o]);else n&&t(e,n,r)}function u(e,t,n){e.currentTarget=y.Mount.getNode(n);var r=t(e,n);return e.currentTarget=null,r}function c(e,t){s(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function l(e){var t=e._dispatchListeners,n=e._dispatchIDs;if(__DEV__&&d(e),Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function p(e){var t=l(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function h(e){__DEV__&&d(e);var t=e._dispatchListeners,n=e._dispatchIDs;v(!Array.isArray(t),"executeDirectDispatch(...): Invalid `event`.");var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function f(e){return!!e._dispatchListeners}var d,m=t("EventConstants"),v=t("invariant"),g=t("warning"),y={Mount:null,injectMount:function(e){y.Mount=e,__DEV__&&g(e&&e.getNode&&e.getID,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode or getID.")}},_=m.topLevelTypes;__DEV__&&(d=function(e){var t=e._dispatchListeners,n=e._dispatchIDs,r=Array.isArray(t),o=Array.isArray(n),i=o?n.length:n?1:0,a=r?t.length:t?1:0;g(o===r&&i===a,"EventPluginUtils: Invalid `event`.")});var b={isEndish:o,isMoveish:i,isStartish:a,executeDirectDispatch:h,executeDispatch:u,executeDispatchesInOrder:c,executeDispatchesInOrderStopAtTrue:p,hasDispatches:f,getNode:function(e){return y.Mount.getNode(e)},getID:function(e){return y.Mount.getID(e)},injection:y};n.exports=b}),__d("EventConstants",["keyMirror"],function(e,t,n,r){"use strict";var o=t("keyMirror"),i=o({bubbled:null,captured:null}),a=o({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),s={topLevelTypes:a,PropagationPhases:i};n.exports=s}),__d("accumulateInto",["invariant"],function(e,t,n,r){"use strict";function o(e,t){if(i(null!=t,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var i=t("invariant");n.exports=o}),__d("forEachAccumulated",[],function(e,t,n,r){"use strict";var o=function(e,t,n){
Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};n.exports=o}),__d("IOSDefaultEventPluginOrder",[],function(e,t,n,r){"use strict";var o=["ResponderEventPlugin","IOSNativeBridgeEventPlugin"];n.exports=o}),__d("IOSNativeBridgeEventPlugin",["EventPropagators","NativeModules","SyntheticEvent","merge","warning"],function(e,t,n,r){"use strict";var o=t("EventPropagators"),i=t("NativeModules"),a=t("SyntheticEvent"),s=t("merge"),u=t("warning"),c=i.UIManager,l=c.customBubblingEventTypes,p=c.customDirectEventTypes,h={};for(var f in l)h[f]=l[f];for(var d in p)u(!l[d],"Event cannot be both direct and bubbling: %s",d),h[d]=p[d];var m={eventTypes:s(l,p),extractEvents:function(e,t,n,r){var i=l[e],s=p[e],u=a.getPooled(i||s,n,r);if(i)o.accumulateTwoPhaseDispatches(u);else{if(!s)return null;o.accumulateDirectDispatches(u)}return u}};n.exports=m}),__d("EventPropagators",["EventConstants","EventPluginHub","accumulateInto","forEachAccumulated"],function(e,t,n,r){"use strict";function o(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return _(e,r)}function i(e,t,n){if(__DEV__&&!e)throw new Error("Dispatching id must not be null");var r=t?y.bubbled:y.captured,i=o(e,n,r);i&&(n._dispatchListeners=v(n._dispatchListeners,i),n._dispatchIDs=v(n._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&m.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,i,e)}function s(e){e&&e.dispatchConfig.phasedRegistrationNames&&m.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,i,e)}function u(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=_(e,r);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchIDs=v(n._dispatchIDs,e))}}function c(e){e&&e.dispatchConfig.registrationName&&u(e.dispatchMarker,null,e)}function l(e){g(e,a)}function p(e){g(e,s)}function h(e,t,n,r){m.injection.getInstanceHandle().traverseEnterLeave(n,r,u,e,t)}function f(e){g(e,c)}var d=t("EventConstants"),m=t("EventPluginHub"),v=t("accumulateInto"),g=t("forEachAccumulated"),y=d.PropagationPhases,_=m.getListener,b={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:p,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:h};n.exports=b}),__d("SyntheticEvent",["PooledClass","Object.assign","emptyFunction"],function(e,t,n,r){"use strict";function o(e,t,n,r){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n,this.target=r,this.currentTarget=r;var o=this.constructor.Interface;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];a?this[i]=a(n):this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;u?this.isDefaultPrevented=s.thatReturnsTrue:this.isDefaultPrevented=s.thatReturnsFalse,this.isPropagationStopped=s.thatReturnsFalse}var i=t("PooledClass"),a=t("Object.assign"),s=t("emptyFunction"),u={path:null,type:null,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};a(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=s.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=s.thatReturnsTrue},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),o.Interface=u,o.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);a(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=a({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.fourArgumentPooler)},i.addPoolingTo(o,i.fourArgumentPooler),n.exports=o}),__d("merge",["mergeInto"],function(e,t,n,r){"use strict";var o=t("mergeInto"),i=function(e,t){var n={};return o(n,e),o(n,t),n};n.exports=i}),__d("mergeInto",["mergeHelpers"],function(e,t,n,r){"use strict";function o(e,t){if(s(e),null!=t){a(t);for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}}var i=t("mergeHelpers"),a=i.checkMergeObjectArg,s=i.checkMergeIntoObjectArg;n.exports=o}),__d("mergeHelpers",["invariant","keyMirror"],function(e,t,n,r){"use strict";var o=t("invariant"),i=t("keyMirror"),a=36,s=function(e){return"object"!=typeof e||null===e},u={MAX_MERGE_DEPTH:a,isTerminal:s,normalizeMergeArg:function(e){return void 0===e||null===e?{}:e},checkMergeArrayArgs:function(e,t){o(Array.isArray(e)&&Array.isArray(t),"Tried to merge arrays, instead got %s and %s.",e,t)},checkMergeObjectArgs:function(e,t){u.checkMergeObjectArg(e),u.checkMergeObjectArg(t)},checkMergeObjectArg:function(e){o(!s(e)&&!Array.isArray(e),"Tried to merge an object, instead got %s.",e)},checkMergeIntoObjectArg:function(e){o(!(s(e)&&"function"!=typeof e||Array.isArray(e)),"Tried to merge into an object, instead got %s.",e)},checkMergeLevel:function(e){o(a>e,"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 u.ArrayStrategies,"You must provide an array strategy to deep merge functions to instruct the deep merge how to resolve merging two arrays.")},ArrayStrategies:i({Clobber:!0,IndexByIndex:!0})};n.exports=u}),__d("NodeHandle",[],function(e,t,n,r){var o={injection:{injectImplementation:function(e){o._Implementation=e}},_Implementation:null,getRootNodeID:function(e){return o._Implementation.getRootNodeID(e)}};n.exports=o}),__d("ReactDefaultBatchingStrategy",["ReactUpdates","Transaction","Object.assign","emptyFunction"],function(e,t,n,r){"use strict";function o(){this.reinitializeTransaction()}var i=t("ReactUpdates"),a=t("Transaction"),s=t("Object.assign"),u=t("emptyFunction"),c={initialize:u,close:function(){f.isBatchingUpdates=!1}},l={initialize:u,close:i.flushBatchedUpdates.bind(i)},p=[l,c];s(o.prototype,a.Mixin,{getTransactionWrappers:function(){return p}});var h=new o,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=f.isBatchingUpdates;f.isBatchingUpdates=!0,a?e(t,n,r,o,i):h.perform(e,null,t,n,r,o,i)}};n.exports=f}),__d("ReactNativeComponentEnvironment",["ReactNativeDOMIDOperations","ReactNativeReconcileTransaction"],function(e,t,n,r){"use strict";var o=t("ReactNativeDOMIDOperations"),i=t("ReactNativeReconcileTransaction"),a={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:o.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(){},clearNode:function(){},ReactReconcileTransaction:i};n.exports=a}),__d("ReactNativeDOMIDOperations",["ReactNativeTagHandles","ReactMultiChildUpdateTypes","NativeModules","ReactPerf"],function(e,t,n,r){"use strict";var o=t("ReactNativeTagHandles"),i=t("ReactMultiChildUpdateTypes"),a=t("NativeModules").UIManager,s=t("ReactPerf"),u=function(e,t){if(e.length){for(var n={},r=0;r<e.length;r++){var s=e[r],u=o.mostRecentMountedNodeHandleForRootNodeID(s.parentID),c=n[u]||(n[u]={});if(s.type===i.MOVE_EXISTING)(c.moveFromIndices||(c.moveFromIndices=[])).push(s.fromIndex),(c.moveToIndices||(c.moveToIndices=[])).push(s.toIndex);else if(s.type===i.REMOVE_NODE)(c.removeAtIndices||(c.removeAtIndices=[])).push(s.fromIndex);else if(s.type===i.INSERT_MARKUP){var l=t[s.markupIndex],p=l.tag,h=l.rootNodeID;o.associateRootNodeIDWithMountedNodeHandle(h,p),(c.addAtIndices||(c.addAtIndices=[])).push(s.toIndex),(c.addChildTags||(c.addChildTags=[])).push(p)}}for(var f in n){var d=+f,m=n[d];a.manageChildren(d,m.moveFromIndices,m.moveToIndices,m.addChildTags,m.addAtIndices,m.removeAtIndices)}}},c={dangerouslyProcessChildrenUpdates:s.measure("ReactDOMIDOperations","dangerouslyProcessChildrenUpdates",u),dangerouslyReplaceNodeWithMarkupByID:s.measure("ReactDOMIDOperations","dangerouslyReplaceNodeWithMarkupByID",function(e,t){var n=o.mostRecentMountedNodeHandleForRootNodeID(e);a.replaceExistingNonRootView(n,t.tag),o.associateRootNodeIDWithMountedNodeHandle(e,t.tag)})};n.exports=c}),__d("ReactMultiChildUpdateTypes",["keyMirror"],function(e,t,n,r){"use strict";var o=t("keyMirror"),i=o({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});n.exports=i}),__d("ReactNativeReconcileTransaction",["CallbackQueue","PooledClass","Transaction"],function(e,t,n,r){"use strict";function o(){this.reinitializeTransaction(),this.reactMountReady=i.getPooled(null)}var i=t("CallbackQueue"),a=t("PooledClass"),s=t("Transaction"),u={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},c=[u],l={getTransactionWrappers:function(){return c},getReactMountReady:function(){return this.reactMountReady},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};Object.assign(o.prototype,s.Mixin,o,l),a.addPoolingTo(o),n.exports=o}),__d("ReactNativeGlobalInteractionHandler",["InteractionManager"],function(e,t,n,r){"use strict";var o=t("InteractionManager"),i=null,a={onChange:function(e){0===e?i&&(o.clearInteractionHandle(i),i=null):i||(i=o.createInteractionHandle())}};n.exports=a}),__d("InteractionManager",["ErrorUtils","EventEmitter","Set","invariant","keyMirror","setImmediate"],function(e,t,n,r){"use strict";function o(){v||(v=p(i))}function i(){v=null;var e=f.size;d.forEach(function(e){return f.add(e)}),m.forEach(function(e){return f["delete"](e)});var t=f.size;if(0!==e&&0===t?h.emit(_.Events.interactionComplete):0===e&&0!==t&&h.emit(_.Events.interactionStart),0===t){var n=g;g=[],n.forEach(function(e){a.applyWithGuard(e)})}d.clear(),m.clear()}var a=t("ErrorUtils"),s=t("EventEmitter"),u=t("Set"),c=t("invariant"),l=t("keyMirror"),p=t("setImmediate"),h=new s,f=new u,d=new u,m=new u,v=null,g=[],y=0,_={Events:l({interactionStart:!0,interactionComplete:!0}),runAfterInteractions:function(e){c("function"==typeof e,"Must specify a function to schedule."),o(),g.push(e)},createInteractionHandle:function(){o();var e=++y;return d.add(e),e},clearInteractionHandle:function(e){c(!!e,"Must provide a handle to clear."),o(),d["delete"](e),m.add(e)},addListener:h.addListener.bind(h)};n.exports=_}),__d("Set",["Map","toIterator","_shouldPolyfillES6Collection"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("Map"),s=t("toIterator"),u=t("_shouldPolyfillES6Collection");n.exports=function(e,t){function n(e){e._map=new a,e.size=e._map.size}if(!u("Set"))return e.Set;var r=function(){function e(t){if(o(this,e),null==this||"object"!=typeof this&&"function"!=typeof this)throw new TypeError("Wrong set object type.");if(n(this),null!=t)for(var r,i=s(t);!(r=i.next()).done;)this.add(r.value)}return i(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],r=this._map.keys();!(t=r.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}();return r.prototype[s.ITERATOR_SYMBOL]=r.prototype.values,r.prototype.keys=r.prototype.values,r}(Function("return this")())}),__d("Map",["guid","isNode","toIterator","_shouldPolyfillES6Collection"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("guid"),s=t("isNode"),u=t("toIterator"),c=t("_shouldPolyfillES6Collection");n.exports=function(e,t){function n(e,t){if(p(t)){var n=w(t);return e._objectIndex[n]}var r=_+t;return"string"==typeof t?e._stringIndex[r]:e._otherIndex[r]}function r(e,t,n){var r=null==n;if(p(t)){var o=w(t);r?delete e._objectIndex[o]:e._objectIndex[o]=n}else{var i=_+t;"string"==typeof t?r?delete e._stringIndex[i]:e._stringIndex[i]=n:r?delete e._otherIndex[i]:e._otherIndex[i]=n}}function l(e){return e._mapData=[],e._objectIndex={},e._stringIndex={},e._otherIndex={},__DEV__&&E?void(e.hasOwnProperty(m)?e[m]=0:(Object.defineProperty(e,m,{value:0,writable:!0}),Object.defineProperty(e,"size",{set:function(e){throw console.error("PLEASE FIX ME: You are changing the map size property which should not be writable and will break in production."),new Error("The map size property is not writable.")},get:function(){return e[m]}}))):void(e.size=0)}function p(e){return null!=e&&("object"==typeof e||"function"==typeof e)}function h(e,t){return{value:e,done:t}}function f(e){return E?Object.isExtensible(e):!0}function d(e){var t;switch(e.nodeType){case 1:t=e.uniqueID;break;case 9:t=e.documentElement.uniqueID;break;default:return null}return t?b+t:null}if(!c("Map"))return e.Map;var m,v="key",g="value",y="key+value",_="$map_";__DEV__&&(m="$size"+a());var b="IE_HASH_",S=function(){function e(t){if(o(this,e),!p(this))throw new TypeError("Wrong map object type.");if(l(this),null!=t)for(var n,r=u(t);!(n=r.next()).done;){if(!p(n.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(n.value[0],n.value[1])}}return i(e,[{key:"clear",value:function(){l(this)}},{key:"has",value:function(e){var t=n(this,e);return!(null==t||!this._mapData[t])}},{key:"set",value:function(e,t){var o=n(this,e);return null!=o&&this._mapData[o]?this._mapData[o][1]=t:(o=this._mapData.push([e,t])-1,r(this,e,o),__DEV__?this[m]+=1:this.size+=1),this}},{key:"get",value:function(e){var r=n(this,e);return null==r?t:this._mapData[r][1]}},{key:"delete",value:function(e){var o=n(this,e);return null!=o&&this._mapData[o]?(r(this,e,t),this._mapData[o]=t,__DEV__?this[m]-=1:this.size-=1,!0):!1}},{key:"entries",value:function(){return new R(this,y)}},{key:"keys",value:function(){return new R(this,v)}},{key:"values",value:function(){return new R(this,g)}},{key:"forEach",value:function(e,n){if("function"!=typeof e)throw new TypeError("Callback must be callable.");for(var r=e.bind(n||t),o=this._mapData,i=0;i<o.length;i++){var a=o[i];null!=a&&r(a[1],a[0],this)}}}]),e}();S.prototype[u.ITERATOR_SYMBOL]=S.prototype.entries;var R=function(){function e(t,n){if(o(this,e),!p(t)||!t._mapData)throw new TypeError("Object is not a map.");if(-1===[v,y,g].indexOf(n))throw new Error("Invalid iteration kind.");this._map=t,this._nextIndex=0,this._kind=n}return i(e,[{key:"next",value:function(){if(!this instanceof S)throw new TypeError("Expected to be called on a MapIterator.");var e=this._map,n=this._nextIndex,r=this._kind;if(null==e)return h(t,!0);for(var o=e._mapData;n<o.length;){var i=o[n];if(n+=1,this._nextIndex=n,i){if(r===v)return h(i[0],!1);if(r===g)return h(i[1],!1);if(r)return h(i,!1)}}return this._map=t,h(t,!0)}}]),e}();R.prototype[u.ITERATOR_SYMBOL]=function(){return this};var E=function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}(),w=function(){var e=Object.prototype.propertyIsEnumerable,t=a(),n=0;return function(r){if(r[t])return r[t];if(!E&&r.propertyIsEnumerable&&r.propertyIsEnumerable[t])return r.propertyIsEnumerable[t];if(!E&&s(r)&&d(r))return d(r);if(!E&&r[t])return r[t];if(f(r)){if(n+=1,E)Object.defineProperty(r,t,{enumerable:!1,writable:!1,configurable:!1,value:n});else if(r.propertyIsEnumerable)r.propertyIsEnumerable=function(){return e.apply(this,arguments)},r.propertyIsEnumerable[t]=n;else{if(!s(r))throw new Error("Unable to set a non-enumerable property on object.");r[t]=n}return n}throw new Error("Non-extensible objects are not allowed as keys.")}}();return S}(Function("return this")())}),__d("guid",[],function(e,t,n,r){function o(){return"f"+(Math.random()*(1<<30)).toString(16).replace(".","")}n.exports=o}),__d("isNode",[],function(e,t,n,r){function o(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}n.exports=o}),__d("toIterator",[],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a="key",s="value",u="key+value",c="function"==typeof Symbol?Symbol.iterator:"@@iterator",l=function(){return Array.prototype[c]&&String.prototype[c]?function(e){return e[c]()}:function(){function e(e,t){return{value:e,done:t}}var t=function(){function t(e,n){if(o(this,t),!Array.isArray(e))throw new TypeError("Object is not an Array");this._iteratedObject=e,this._kind=n,this._nextIndex=0}return i(t,[{key:"next",value:function(){if(!this instanceof t)throw new TypeError("Object is not an ArrayIterator");if(null==this._iteratedObject)return e(void 0,!0);var n=this._iteratedObject,r=this._iteratedObject.length,o=this._nextIndex,i=this._kind;return o>=r?(this._iteratedObject=void 0,e(void 0,!0)):(this._nextIndex=o+1,i===a?e(o,!1):i===s?e(n[o],!1):i===u?e([o,n[o]],!1):void 0)}},{key:"@@iterator",value:function(){return this}}]),t}(),n=function(){function t(e){if(o(this,t),"string"!=typeof e)throw new TypeError("Object is not a string");this._iteratedString=e,this._nextIndex=0}return i(t,[{key:"next",value:function(){if(!this instanceof t)throw new TypeError("Object is not a StringIterator");if(null==this._iteratedString)return e(void 0,!0);var n=this._nextIndex,r=this._iteratedString,o=r.length;if(n>=o)return this._iteratedString=void 0,e(void 0,!0);var i,a=r.charCodeAt(n);if(55296>a||a>56319||n+1===o)i=r[n];else{var s=r.charCodeAt(n+1);i=56320>s||s>57343?r[n]:r[n]+r[n+1]}return this._nextIndex=n+i.length,e(i,!1)}},{key:"@@iterator",value:function(){return this}}]),t}();return function(e,r){return"string"==typeof e?new n(e):Array.isArray(e)?new t(e,r||s):e[c]()}}()}();Object.assign(l,{KIND_KEY:a,KIND_VALUE:s,KIND_KEY_VAL:u,ITERATOR_SYMBOL:c}),n.exports=l}),__d("_shouldPolyfillES6Collection",[],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 a(t){var n=e[t];if(null==n)return!0;var r=n.prototype;return null==n||"function"!=typeof n||"function"!=typeof r.clear||0!==(new n).size||"function"!=typeof r.keys||"function"!=typeof r.forEach||u(n)||!s(n)}function s(e){var t=function(e){function t(){o(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),t}(e);try{var n=new t([]);return n.size,n instanceof e}catch(r){return!1}}function u(e){try{e()}catch(t){return!1}return!0}var c=function l(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:l(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};n.exports=a}),__d("ReactNativeGlobalResponderHandler",["NativeModules","ReactNativeTagHandles"],function(e,t,n,r){"use strict";var o=t("NativeModules").UIManager,i=t("ReactNativeTagHandles"),a={onChange:function(e,t,n){null!==t?o.setJSResponder(i.mostRecentMountedNodeHandleForRootNodeID(t),n):o.clearJSResponder()}};n.exports=a}),__d("ReactNativeTextComponent",["ReactNativeTagHandles","NativeModules","Object.assign"],function(e,t,n,r){"use strict";var o=t("ReactNativeTagHandles"),i=t("NativeModules").UIManager,a=t("Object.assign"),s=function(e){};a(s.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null},mountComponent:function(e,t,n){this._rootNodeID=e;var r=o.allocateTag(),a=o.getNativeTopRootIDFromNodeID(e);return i.createView(r,"RCTRawText",a?o.rootNodeIDToTag[a]:null,{text:this._stringText}),{rootNodeID:e,tag:r}},receiveComponent:function(e,t,n){if(e!==this._currentElement){this._currentElement=e;var r=""+e;r!==this._stringText&&(this._stringText=r,i.updateView(o.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),"RCTRawText",{text:this._stringText}))}},unmountComponent:function(){this._currentElement=null,this._stringText=null,this._rootNodeID=null}}),n.exports=s}),__d("ResponderEventPlugin",["EventConstants","EventPluginUtils","EventPropagators","ReactInstanceHandles","ResponderSyntheticEvent","ResponderTouchHistoryStore","accumulate","invariant","keyOf"],function(e,t,n,r){"use strict";function o(e,t,n,r){var o=v(e)?C.startShouldSetResponder:g(e)?C.moveShouldSetResponder:e===s.topLevelTypes.topSelectionChange?C.selectionChangeShouldSetResponder:C.scrollShouldSetResponder,i=R?l.getFirstCommonAncestorID(R,t):t,a=i===R,u=p.getPooled(o,i,n,r);u.touchHistory=h.touchHistory,a?c.accumulateTwoPhaseDispatchesSkipTarget(u):c.accumulateTwoPhaseDispatches(u);var d=S(u);if(u.isPersistent()||u.constructor.release(u),!d||d===R)return null;var m,y=p.getPooled(C.responderGrant,d,n,r);y.touchHistory=h.touchHistory,c.accumulateDirectDispatches(y);var E=_(y)===!0;if(R){var w=p.getPooled(C.responderTerminationRequest,R,n,r);w.touchHistory=h.touchHistory,c.accumulateDirectDispatches(w);var O=!b(w)||_(w);if(w.isPersistent()||w.constructor.release(w),O){var x=C.responderTerminate,I=p.getPooled(x,R,n,r);I.touchHistory=h.touchHistory,c.accumulateDirectDispatches(I),m=f(m,[y,I]),T(d,E)}else{var P=p.getPooled(C.responderReject,d,n,r);P.touchHistory=h.touchHistory,c.accumulateDirectDispatches(P),m=f(m,P)}}else m=f(m,y),T(d,E);return m}function i(e,t,n){return t&&(e===s.topLevelTypes.topScroll&&!n.responderIgnoreScroll||E>0&&e===s.topLevelTypes.topSelectionChange||v(e)||g(e))}function a(e){var t=e.touches;if(!t||0===t.length)return!0;for(var n=0;n<t.length;n++){var r=t[n],o=r.target;if(null!==o&&void 0!==o&&0!==o){var i=l.isAncestorIDOf(R,u.getID(o));if(i)return!1}}return!0}var s=t("EventConstants"),u=t("EventPluginUtils"),c=t("EventPropagators"),l=t("ReactInstanceHandles"),p=t("ResponderSyntheticEvent"),h=t("ResponderTouchHistoryStore"),f=t("accumulate"),d=t("invariant"),m=t("keyOf"),v=u.isStartish,g=u.isMoveish,y=u.isEndish,_=u.executeDirectDispatch,b=u.hasDispatches,S=u.executeDispatchesInOrderStopAtTrue,R=null,E=0,w=0,T=function(e,t){var n=R;R=e,null!==O.GlobalResponderHandler&&O.GlobalResponderHandler.onChange(n,e,t)},C={startShouldSetResponder:{phasedRegistrationNames:{bubbled:m({onStartShouldSetResponder:null}),captured:m({onStartShouldSetResponderCapture:null})}},scrollShouldSetResponder:{phasedRegistrationNames:{bubbled:m({onScrollShouldSetResponder:null}),captured:m({onScrollShouldSetResponderCapture:null})}},selectionChangeShouldSetResponder:{phasedRegistrationNames:{bubbled:m({onSelectionChangeShouldSetResponder:null}),captured:m({onSelectionChangeShouldSetResponderCapture:null})}},moveShouldSetResponder:{phasedRegistrationNames:{bubbled:m({onMoveShouldSetResponder:null}),captured:m({onMoveShouldSetResponderCapture:null})}},responderStart:{registrationName:m({onResponderStart:null})},responderMove:{registrationName:m({onResponderMove:null})},responderEnd:{registrationName:m({onResponderEnd:null})},responderRelease:{registrationName:m({onResponderRelease:null})},responderTerminationRequest:{registrationName:m({onResponderTerminationRequest:null})},responderGrant:{registrationName:m({onResponderGrant:null})},responderReject:{registrationName:m({onResponderReject:null})},responderTerminate:{registrationName:m({onResponderTerminate:null})}},O={getResponderID:function(){return R},eventTypes:C,extractEvents:function(e,t,n,r,u){v(e)?E+=1:y(e)&&(E-=1,d(E>=0,"Ended a touch event which was not counted in trackedTouchCount.")),h.recordTouchTrack(e,r,u);var l=i(e,n,r)?o(e,n,r,u):null,m=R&&v(e),_=R&&g(e),b=R&&y(e),S=m?C.responderStart:_?C.responderMove:b?C.responderEnd:null;if(S){var x=p.getPooled(S,R,r,u);x.touchHistory=h.touchHistory,c.accumulateDirectDispatches(x),l=f(l,x)}var I=R&&e===s.topLevelTypes.topTouchCancel,P=R&&!I&&y(e)&&a(r),N=I?C.responderTerminate:P?C.responderRelease:null;if(N){var D=p.getPooled(N,R,r,u);D.touchHistory=h.touchHistory,c.accumulateDirectDispatches(D),l=f(l,D),T(null)}var M=h.touchHistory.numberActiveTouches;return O.GlobalInteractionHandler&&M!==w&&O.GlobalInteractionHandler.onChange(M),w=M,l},GlobalResponderHandler:null,GlobalInteractionHandler:null,injection:{injectGlobalResponderHandler:function(e){O.GlobalResponderHandler=e},injectGlobalInteractionHandler:function(e){O.GlobalInteractionHandler=e}}};n.exports=O}),__d("ResponderSyntheticEvent",["SyntheticEvent"],function(e,t,n,r){"use strict";function o(e,t,n,r){i.call(this,e,t,n,r)}var i=t("SyntheticEvent"),a={touchHistory:function(e){return null}};i.augmentClass(o,a),n.exports=o}),__d("ResponderTouchHistoryStore",["EventPluginUtils","invariant"],function(e,t,n,r){"use strict";var o=t("EventPluginUtils"),i=t("invariant"),a=o.isMoveish,s=o.isStartish,u=o.isEndish,c=20,l={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0},p=function(e){return e.timeStamp||e.timestamp},h=function(e){return{touchActive:!0,startTimeStamp:p(e),startPageX:e.pageX,startPageY:e.pageY,currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:p(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:p(e)}},f=function(e,t){e.touchActive=!0,e.startTimeStamp=p(t),e.startPageX=t.pageX,e.startPageY=t.pageY,e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=p(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=p(t)},d=function(e){var t=e.identifier;i(null!=t,"Touch object is missing identifier"),t>c&&console.warn("Touch identifier "+t+" is greater than maximum supported "+c+" which causes performance issues backfilling array locations for all of the indices.")},m=function(e){var t=l.touchBank,n=e.identifier,r=t[n];__DEV__&&d(e),r?f(r,e):t[e.identifier]=h(e),l.mostRecentTimeStamp=p(e)},v=function(e){var t=l.touchBank,n=t[e.identifier];__DEV__&&(d(e),i(n,"Touch data should have been recorded on start")),n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=p(e),l.mostRecentTimeStamp=p(e)},g=function(e){var t=l.touchBank,n=t[e.identifier];__DEV__&&(d(e),i(n,"Touch data should have been recorded on start")),n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=p(e),n.touchActive=!1,l.mostRecentTimeStamp=p(e)},y={recordTouchTrack:function(e,t){var n=l.touchBank;if(a(e))t.changedTouches.forEach(v);else if(s(e))t.changedTouches.forEach(m),l.numberActiveTouches=t.touches.length,1===l.numberActiveTouches&&(l.indexOfSingleActiveTouch=t.touches[0].identifier);else if(u(e)&&(t.changedTouches.forEach(g),l.numberActiveTouches=t.touches.length,1===l.numberActiveTouches)){for(var r=0;r<n.length;r++){var o=n[r];if(null!=o&&o.touchActive){l.indexOfSingleActiveTouch=r;break}}if(__DEV__){var c=n[l.indexOfSingleActiveTouch],p=null!=c&&!!c.touchActive;i(p,"Cannot find single active touch")}}},touchHistory:l};n.exports=y}),__d("accumulate",["invariant"],function(e,t,n,r){"use strict";function o(e,t){if(i(null!=t,"accumulate(...): Accumulated items must be not be null or undefined."),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n?e.concat(t):r?[e].concat(t):[e,t]}var i=t("invariant");n.exports=o}),__d("UniversalWorkerNodeHandle",["ReactNativeTagHandles","invariant"],function(e,t,n,r){var o=t("ReactNativeTagHandles"),i=t("invariant"),a={getRootNodeID:function(e){return i(void 0!==e&&null!==e&&0!==e,"No node handle defined"),o.tagToRootNodeID[e]}};n.exports=a}),__d("createReactNativeComponentClass",["ReactNativeBaseComponent"],function(e,t,n,r){"use strict";var o=t("ReactNativeBaseComponent"),i=function(e){var t=function(e){this._currentElement=e,this._rootNodeID=null,this._renderedChildren=null,this.previousFlattenedStyle=null};return t.displayName=e.uiViewClassName,t.viewConfig=e,t.propTypes=e.propTypes,t.prototype=new o(e),t.prototype.constructor=t,t};n.exports=i}),__d("ReactNativeBaseComponent",["NativeMethodsMixin","ReactNativeEventEmitter","ReactNativeStyleAttributes","ReactNativeTagHandles","ReactMultiChild","NativeModules","styleDiffer","deepFreezeAndThrowOnMutationInDev","diffRawProperties","flattenStyle","precomputeStyle","warning"],function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("ReactNativeEventEmitter"),a=t("ReactNativeStyleAttributes"),s=t("ReactNativeTagHandles"),u=t("ReactMultiChild"),c=t("NativeModules").UIManager,l=t("styleDiffer"),p=t("deepFreezeAndThrowOnMutationInDev"),h=t("diffRawProperties"),f=t("flattenStyle"),d=t("precomputeStyle"),m=t("warning"),v=i.registrationNames,g=i.putListener,y=i.deleteListener,_=i.deleteAllListeners,b=function(e){this.viewConfig=e},S=function(e){var t=S._cache[e];if(t)return t;for(var n=[],r=0;e>r;r++)n[r]=r;return S._cache[e]=n,n};S._cache={},b.Mixin={getPublicInstance:function(){return this},construct:function(e){this._currentElement=e},unmountComponent:function(){_(this._rootNodeID),this.unmountChildren(),this._rootNodeID=null},initializeChildren:function(e,t,n,r){var o=this.mountChildren(e,n,r);if(o.length){for(var i=S(o.length),a=[],u=0;u<o.length;u++){var l=o[u],p=l.tag,h=l.rootNodeID;m(l&&l.rootNodeID&&l.tag,"Mount image returned does not have required data"),s.associateRootNodeIDWithMountedNodeHandle(h,p),a[u]=l.tag}c.manageChildren(t,null,null,a,i,null)}},computeUpdatedProperties:function(e,t,n){if(__DEV__)for(var r in t)t.hasOwnProperty(r)&&t[r]&&n[r]&&p(t[r]);var o=h(null,e,t,n);for(var r in o){var i=n[r]&&n[r].process;i&&(o[r]=i(o[r]))}if(l(t.style,e.style)){var s=d(f(t.style),this.viewConfig.validAttributes);o=h(o,this.previousFlattenedStyle,s,a),this.previousFlattenedStyle=s}return o},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e;var o=this.computeUpdatedProperties(r.props,e.props,this.viewConfig.validAttributes);o&&c.updateView(s.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),this.viewConfig.uiViewClassName,o),this._reconcileListenersUponUpdate(r.props,e.props),this.updateChildren(e.props.children,t,n)},_registerListenersUponCreation:function(e){for(var t in e)if(v[t]&&e[t]){var n=e[t];g(this._rootNodeID,t,n)}},_reconcileListenersUponUpdate:function(e,t){for(var n in t)v[n]&&t[n]!==e[n]&&(t[n]?g(this._rootNodeID,n,t[n]):y(this._rootNodeID,n))},mountComponent:function(e,t,n){this._rootNodeID=e;var r=s.allocateTag();this.previousFlattenedStyle={};var o=this.computeUpdatedProperties({},this._currentElement.props,this.viewConfig.validAttributes),i=s.getNativeTopRootIDFromNodeID(e);return c.createView(r,this.viewConfig.uiViewClassName,i?s.rootNodeIDToTag[i]:null,o),this._registerListenersUponCreation(this._currentElement.props),this.initializeChildren(this._currentElement.props.children,r,t,n),{rootNodeID:e,tag:r}}},Object.assign(b.prototype,u.Mixin,b.Mixin,o),n.exports=b}),__d("NativeMethodsMixin",["NativeModules","TextInputState","findNodeHandle","flattenStyle","invariant","mergeFast","precomputeStyle"],function(e,t,n,r){"use strict";function o(e,t){if(void 0!==t.styles){var n=e._owner||null,r=e.constructor.displayName,o="`styles` is not a supported property of `"+r+"`, did you mean `style` (singular)?";
throw n&&n.constructor&&n.constructor.displayName&&(o+="\n\nCheck the `"+n.constructor.displayName+"` parent  component."),new Error(o)}}var i=t("NativeModules"),a=i.UIManager,s=t("TextInputState"),u=t("findNodeHandle"),c=t("flattenStyle"),l=t("invariant"),p=t("mergeFast"),h=t("precomputeStyle"),f={measure:function(e){a.measure(u(this),m(this,e))},measureLayout:function(e,t,n){a.measureLayout(u(this),e,m(this,n),m(this,t))},setNativeProps:function(e){var t=!0;for(var n in e)if("style"!==n){t=!1;break}var r=this.viewConfig.validAttributes,o=!1,i={};for(var n in e){var s=r[n]&&r[n].process;s&&(o=!0,i[n]=s(e[n]))}var l=h(c(i.style||e.style),this.viewConfig.validAttributes),f=null;t?f=l:(f=e,o&&(f=p(f,i)),l&&(f=p(f,l))),a.updateView(u(this),this.viewConfig.uiViewClassName,f)},focus:function(){s.focusTextInput(u(this))},blur:function(){s.blurTextInput(u(this))}};if(__DEV__){var d=f;l(!d.componentWillMount&&!d.componentWillReceiveProps,"Do not override existing functions."),d.componentWillMount=function(){o(this,this.props)},d.componentWillReceiveProps=function(e){o(this,e)}}var m=function(e,t){return function(){return!t||e.isMounted&&!e.isMounted()?void 0:t.apply(e,arguments)}};n.exports=f}),__d("TextInputState",["Platform","NativeModules"],function(e,t,n,r){"use strict";var o=t("Platform"),i=t("NativeModules").UIManager,a={_currentlyFocusedID:null,currentlyFocusedField:function(){return this._currentlyFocusedID},focusTextInput:function(e){this._currentlyFocusedID!==e&&null!==e&&(this._currentlyFocusedID=e,"ios"===o.OS?i.focus(e):"android"===o.OS&&i.dispatchViewManagerCommand(e,i.AndroidTextInput.Commands.focusTextInput,null))},blurTextInput:function(e){this._currentlyFocusedID===e&&null!==e&&(this._currentlyFocusedID=null,"ios"===o.OS?i.blur(e):"android"===o.OS&&i.dispatchViewManagerCommand(e,i.AndroidTextInput.Commands.blurTextInput,null))}};n.exports=a}),__d("flattenStyle",["StyleSheetTypes","StyleSheetRegistry","invariant"],function(e,t,n,r){"use strict";function o(e){return"number"==typeof e?a.getStyleByID(e):e}function i(e){if(!e)return void 0;if(s(e!==!0,"style may be false but not true"),!Array.isArray(e))return o(e);for(var t={},n=0;n<e.length;++n){var r=i(e[n]);if(r)for(var a in r)if(t[a]=r[a],__DEV__){r[a]}}return t}var a=t("StyleSheetRegistry"),s=t("invariant");n.exports=i}),__d("StyleSheetTypes",[],function(e,t,n,r){"use strict"}),__d("StyleSheetRegistry",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a={},s=1,u={},c=function(){function e(){o(this,e)}return i(e,null,[{key:"registerStyle",value:function(e){var t=++s;return __DEV__&&Object.freeze(e),a[t]=e,t}},{key:"getStyleByID",value:function(e){if(!e)return u;var t=a[e];return t?t:(console.warn("Invalid style with id `"+e+"`. Skipping ..."),u)}}]),e}();n.exports=c}),__d("mergeFast",[],function(e,t,n,r){"use strict";var o=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var o in t)n[o]=t[o];return n};n.exports=o}),__d("precomputeStyle",["MatrixMath","ReactNativeStyleAttributes","Platform","deepFreezeAndThrowOnMutationInDev","invariant","stringifySafe"],function(e,t,n,r){"use strict";function o(e,t){if(!e)return e;for(var n=!1,r=0,o=Object.keys(e);r<o.length;r++){var s=o[r];if(i(s,t)){n=!0;break}}if(!n&&!e.transform)return e;for(var u=l({},e),r=0,o=Object.keys(e);r<o.length;r++){var s=o[r],c=i(s,t);c&&(u[s]=c(u[s]))}return e.transform&&(m(!e.transformMatrix,"transformMatrix and transform styles cannot be used on the same component"),u=a(u)),d(u),u}function i(e,t){var n=t[e]&&t[e].process;return n||(n=h[e]&&h[e].process),n}function a(e){var t=e.transform,n=p.createIdentityMatrix();return t.forEach(function(e){var t=Object.keys(e)[0],r=e[t];switch(__DEV__&&c(t,r,e),t){case"matrix":p.multiplyInto(n,n,r);break;case"perspective":s(n,p.reusePerspectiveCommand,[r]);break;case"rotateX":s(n,p.reuseRotateXCommand,[u(r)]);break;case"rotateY":s(n,p.reuseRotateYCommand,[u(r)]);break;case"rotate":case"rotateZ":s(n,p.reuseRotateZCommand,[u(r)]);break;case"scale":s(n,p.reuseScaleCommand,[r]);break;case"scaleX":s(n,p.reuseScaleXCommand,[r]);break;case"scaleY":s(n,p.reuseScaleYCommand,[r]);break;case"translate":s(n,p.reuseTranslate3dCommand,[r[0],r[1],r[2]||0]);break;case"translateX":s(n,p.reuseTranslate2dCommand,[r,0]);break;case"translateY":s(n,p.reuseTranslate2dCommand,[0,r]);break;case"skewX":s(n,p.reuseSkewXCommand,[u(r)]);break;case"skewY":s(n,p.reuseSkewYCommand,[u(r)]);break;default:throw new Error("Invalid transform name: "+t)}}),"android"===f.OS?l({},e,{transformMatrix:n,decomposedMatrix:p.decomposeMatrix(n)}):l({},e,{transformMatrix:n})}function s(e,t,n){var r=p.createIdentityMatrix(),o=[r].concat(n);t.apply(this,o),p.multiplyInto(e,e,r)}function u(e){var t=parseFloat(e,10);return e.indexOf("rad")>-1?t:t*Math.PI/180}function c(e,t,n){m(!t.getValue,"You passed an Animated.Value to a normal component. You need to wrap that component in an Animated. For example, replace <View /> by <Animated.View />.");var r=["matrix","translate"];switch(-1!==r.indexOf(e)&&m(Array.isArray(t),"Transform with key of %s must have an array as the value: %s",e,v(n)),e){case"matrix":m(9===t.length||16===t.length,"Matrix transform must have a length of 9 (2d) or 16 (3d). Provided matrix has a length of %s: %s",t.length,v(n));break;case"translate":break;case"rotateX":case"rotateY":case"rotateZ":case"rotate":case"skewX":case"skewY":m("string"==typeof t,'Transform with key of "%s" must be a string: %s',e,v(n)),m(t.indexOf("deg")>-1||t.indexOf("rad")>-1,"Rotate transform must be expressed in degrees (deg) or radians (rad): %s",v(n));break;default:m("number"==typeof t,'Transform with key of "%s" must be a number: %s',e,v(n))}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p=t("MatrixMath"),h=t("ReactNativeStyleAttributes"),f=t("Platform"),d=t("deepFreezeAndThrowOnMutationInDev"),m=t("invariant"),v=t("stringifySafe");n.exports=o}),__d("MatrixMath",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i={createIdentityMatrix:function(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},createCopy:function(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]},createOrthographic:function(e,t,n,r,o,i){var a=2/(t-e),s=2/(r-n),u=-2/(i-o),c=-(t+e)/(t-e),l=-(r+n)/(r-n),p=-(i+o)/(i-o);return[a,0,0,0,0,s,0,0,0,0,u,0,c,l,p,1]},createFrustum:function(e,t,n,r,o,i){var a=1/(t-e),s=1/(r-n),u=1/(o-i),c=2*(o*a),l=2*(o*s),p=(t+e)*a,h=(r+n)*s,f=(i+o)*u,d=2*(i*o*u);return[c,0,0,0,0,l,0,0,p,h,f,-1,0,0,d,0]},createPerspective:function(e,t,n,r){var o=1/Math.tan(e),i=1/(n-r),a=(r+n)*i,s=2*(r*n*i);return[o/t,0,0,0,0,o,0,0,0,0,a,-1,0,0,s,0]},createTranslate2d:function(e,t){var n=i.createIdentityMatrix();return i.reuseTranslate2dCommand(n,e,t),n},reuseTranslate2dCommand:function(e,t,n){e[12]=t,e[13]=n},reuseTranslate3dCommand:function(e,t,n,r){e[12]=t,e[13]=n,e[14]=r},createScale:function(e){var t=i.createIdentityMatrix();return i.reuseScaleCommand(t,e),t},reuseScaleCommand:function(e,t){e[0]=t,e[5]=t},reuseScale3dCommand:function(e,t,n,r){e[0]=t,e[5]=n,e[10]=r},reusePerspectiveCommand:function(e,t){e[11]=-1/t},reuseScaleXCommand:function(e,t){e[0]=t},reuseScaleYCommand:function(e,t){e[5]=t},reuseScaleZCommand:function(e,t){e[10]=t},reuseRotateXCommand:function(e,t){e[5]=Math.cos(t),e[6]=Math.sin(t),e[9]=-Math.sin(t),e[10]=Math.cos(t)},reuseRotateYCommand:function(e,t){e[0]=Math.cos(t),e[2]=-Math.sin(t),e[8]=Math.sin(t),e[10]=Math.cos(t)},reuseRotateZCommand:function(e,t){e[0]=Math.cos(t),e[1]=Math.sin(t),e[4]=-Math.sin(t),e[5]=Math.cos(t)},createRotateZ:function(e){var t=i.createIdentityMatrix();return i.reuseRotateZCommand(t,e),t},reuseSkewXCommand:function(e,t){e[4]=Math.sin(t),e[5]=Math.cos(t)},reuseSkewYCommand:function(e,t){e[0]=Math.cos(t),e[1]=Math.sin(t)},multiplyInto:function(e,t,n){var r=t[0],o=t[1],i=t[2],a=t[3],s=t[4],u=t[5],c=t[6],l=t[7],p=t[8],h=t[9],f=t[10],d=t[11],m=t[12],v=t[13],g=t[14],y=t[15],_=n[0],b=n[1],S=n[2],R=n[3];e[0]=_*r+b*s+S*p+R*m,e[1]=_*o+b*u+S*h+R*v,e[2]=_*i+b*c+S*f+R*g,e[3]=_*a+b*l+S*d+R*y,_=n[4],b=n[5],S=n[6],R=n[7],e[4]=_*r+b*s+S*p+R*m,e[5]=_*o+b*u+S*h+R*v,e[6]=_*i+b*c+S*f+R*g,e[7]=_*a+b*l+S*d+R*y,_=n[8],b=n[9],S=n[10],R=n[11],e[8]=_*r+b*s+S*p+R*m,e[9]=_*o+b*u+S*h+R*v,e[10]=_*i+b*c+S*f+R*g,e[11]=_*a+b*l+S*d+R*y,_=n[12],b=n[13],S=n[14],R=n[15],e[12]=_*r+b*s+S*p+R*m,e[13]=_*o+b*u+S*h+R*v,e[14]=_*i+b*c+S*f+R*g,e[15]=_*a+b*l+S*d+R*y},determinant:function(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],p=e[10],h=e[11],f=e[12],d=e[13],m=e[14],v=e[15];return o*s*l*f-r*u*l*f-o*a*p*f+n*u*p*f+r*a*h*f-n*s*h*f-o*s*c*d+r*u*c*d+o*i*p*d-t*u*p*d-r*i*h*d+t*s*h*d+o*a*c*m-n*u*c*m-o*i*l*m+t*u*l*m+n*i*h*m-t*a*h*m-r*a*c*v+n*s*c*v+r*i*l*v-t*s*l*v-n*i*p*v+t*a*p*v},inverse:function(e){var t=i.determinant(e);if(!t)return e;var n=e[0],r=e[1],o=e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],p=e[8],h=e[9],f=e[10],d=e[11],m=e[12],v=e[13],g=e[14],y=e[15];return[(c*d*v-l*f*v+l*h*g-u*d*g-c*h*y+u*f*y)/t,(a*f*v-o*d*v-a*h*g+r*d*g+o*h*y-r*f*y)/t,(o*l*v-a*c*v+a*u*g-r*l*g-o*u*y+r*c*y)/t,(a*c*h-o*l*h-a*u*f+r*l*f+o*u*d-r*c*d)/t,(l*f*m-c*d*m-l*p*g+s*d*g+c*p*y-s*f*y)/t,(o*d*m-a*f*m+a*p*g-n*d*g-o*p*y+n*f*y)/t,(a*c*m-o*l*m-a*s*g+n*l*g+o*s*y-n*c*y)/t,(o*l*p-a*c*p+a*s*f-n*l*f-o*s*d+n*c*d)/t,(u*d*m-l*h*m+l*p*v-s*d*v-u*p*y+s*h*y)/t,(a*h*m-r*d*m-a*p*v+n*d*v+r*p*y-n*h*y)/t,(r*l*m-a*u*m+a*s*v-n*l*v-r*s*y+n*u*y)/t,(a*u*p-r*l*p-a*s*h+n*l*h+r*s*d-n*u*d)/t,(c*h*m-u*f*m-c*p*v+s*f*v+u*p*g-s*h*g)/t,(r*f*m-o*h*m+o*p*v-n*f*v-r*p*g+n*h*g)/t,(o*u*m-r*c*m-o*s*v+n*c*v+r*s*g-n*u*g)/t,(r*c*p-o*u*p+o*s*h-n*c*h-r*s*f+n*u*f)/t]},transpose:function(e){return[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]]},multiplyVectorByMatrix:function(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];return[n*t[0]+r*t[4]+o*t[8]+i*t[12],n*t[1]+r*t[5]+o*t[9]+i*t[13],n*t[2]+r*t[6]+o*t[10]+i*t[14],n*t[3]+r*t[7]+o*t[11]+i*t[15]]},v3Length:function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])},v3Normalize:function(e,t){var n=1/(t||i.v3Length(e));return[e[0]*n,e[1]*n,e[2]*n]},v3Dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},v3Combine:function(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]},v3Cross:function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},quaternionToDegreesXYZ:function(e,t,n){var r=e[0],o=e[1],a=e[2],s=e[3],u=s*s,c=r*r,l=o*o,p=a*a,h=r*o+a*s,f=u+c+l+p,d=180/Math.PI;return h>.49999*f?[0,2*Math.atan2(r,s)*d,90]:-.49999*f>h?[0,-2*Math.atan2(r,s)*d,-90]:[i.roundTo3Places(Math.atan2(2*r*s-2*o*a,1-2*c-2*p)*d),i.roundTo3Places(Math.atan2(2*o*s-2*r*a,1-2*l-2*p)*d),i.roundTo3Places(Math.asin(2*r*o+2*a*s)*d)]},roundTo3Places:function(e){var t=e.toString().split("e");return.001*Math.round(t[0]+"e"+(t[1]?+t[1]-3:3))},decomposeMatrix:function(e){o(16===e.length,"Matrix decomposition needs a list of 3d matrix values, received %s",e);var t=[],n=[],r=[],a=[],s=[];if(e[15]){for(var u=[],c=[],l=0;4>l;l++){u.push([]);for(var p=0;4>p;p++){var h=e[4*l+p]/e[15];u[l].push(h),c.push(3===p?0:h)}}if(c[15]=1,i.determinant(c)){if(0!==u[0][3]||0!==u[1][3]||0!==u[2][3])var f=[u[0][3],u[1][3],u[2][3],u[3][3]],d=i.inverse3x3(c),m=i.transpose4x4(d),t=i.multiplyVectorByMatrix(f,m);else t[0]=t[1]=t[2]=0,t[3]=1;for(var l=0;3>l;l++)s[l]=u[3][l];var v=[];for(l=0;3>l;l++)v[l]=[u[l][0],u[l][1],u[l][2]];r[0]=i.v3Length(v[0]),v[0]=i.v3Normalize(v[0],r[0]),a[0]=i.v3Dot(v[0],v[1]),v[1]=i.v3Combine(v[1],v[0],1,-a[0]),a[0]=i.v3Dot(v[0],v[1]),v[1]=i.v3Combine(v[1],v[0],1,-a[0]),r[1]=i.v3Length(v[1]),v[1]=i.v3Normalize(v[1],r[1]),a[0]/=r[1],a[1]=i.v3Dot(v[0],v[2]),v[2]=i.v3Combine(v[2],v[0],1,-a[1]),a[2]=i.v3Dot(v[1],v[2]),v[2]=i.v3Combine(v[2],v[1],1,-a[2]),r[2]=i.v3Length(v[2]),v[2]=i.v3Normalize(v[2],r[2]),a[1]/=r[2],a[2]/=r[2];var g=i.v3Cross(v[1],v[2]);if(i.v3Dot(v[0],g)<0)for(l=0;3>l;l++)r[l]*=-1,v[l][0]*=-1,v[l][1]*=-1,v[l][2]*=-1;n[0]=.5*Math.sqrt(Math.max(1+v[0][0]-v[1][1]-v[2][2],0)),n[1]=.5*Math.sqrt(Math.max(1-v[0][0]+v[1][1]-v[2][2],0)),n[2]=.5*Math.sqrt(Math.max(1-v[0][0]-v[1][1]+v[2][2],0)),n[3]=.5*Math.sqrt(Math.max(1+v[0][0]+v[1][1]+v[2][2],0)),v[2][1]>v[1][2]&&(n[0]=-n[0]),v[0][2]>v[2][0]&&(n[1]=-n[1]),v[1][0]>v[0][1]&&(n[2]=-n[2]);var y;return y=n[0]<.001&&n[0]>=0&&n[1]<.001&&n[1]>=0?[0,0,i.roundTo3Places(180*Math.atan2(v[0][1],v[0][0])/Math.PI)]:i.quaternionToDegreesXYZ(n,u,v),{rotationDegrees:y,perspective:t,quaternion:n,scale:r,skew:a,translation:s,rotate:y[2],scaleX:r[0],scaleY:r[1],translateX:s[0],translateY:s[1]}}}}};n.exports=i}),__d("ReactNativeStyleAttributes",["ImageStylePropTypes","TextStylePropTypes","ViewStylePropTypes","keyMirror","matricesDiffer","processColor","sizesDiffer"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("ImageStylePropTypes"),a=t("TextStylePropTypes"),s=t("ViewStylePropTypes"),u=t("keyMirror"),c=t("matricesDiffer"),l=t("processColor"),p=t("sizesDiffer"),h=o({},u(s),u(a),u(i));h.transformMatrix={diff:c},h.shadowOffset={diff:p},h.decomposedMatrix="decomposedMatrix";var f={process:l};h.backgroundColor=f,h.borderBottomColor=f,h.borderColor=f,h.borderLeftColor=f,h.borderRightColor=f,h.borderTopColor=f,h.color=f,h.shadowColor=f,h.textDecorationColor=f,h.tintColor=f,n.exports=h}),__d("ImageStylePropTypes",["ImageResizeMode","LayoutPropTypes","ReactPropTypes","TransformPropTypes"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("ImageResizeMode"),a=t("LayoutPropTypes"),s=t("ReactPropTypes"),u=t("TransformPropTypes"),c=o({},a,u,{resizeMode:s.oneOf(Object.keys(i)),backgroundColor:s.string,borderColor:s.string,borderWidth:s.number,borderRadius:s.number,overflow:s.oneOf(["visible","hidden"]),tintColor:s.string,opacity:s.number});n.exports=c}),__d("ImageResizeMode",["keyMirror"],function(e,t,n,r){"use strict";var o=t("keyMirror"),i=o({contain:null,cover:null,stretch:null});n.exports=i}),__d("LayoutPropTypes",["ReactPropTypes"],function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i={width:o.number,height:o.number,top:o.number,left:o.number,right:o.number,bottom:o.number,margin:o.number,marginVertical:o.number,marginHorizontal:o.number,marginTop:o.number,marginBottom:o.number,marginLeft:o.number,marginRight:o.number,padding:o.number,paddingVertical:o.number,paddingHorizontal:o.number,paddingTop:o.number,paddingBottom:o.number,paddingLeft:o.number,paddingRight:o.number,borderWidth:o.number,borderTopWidth:o.number,borderRightWidth:o.number,borderBottomWidth:o.number,borderLeftWidth:o.number,position:o.oneOf(["absolute","relative"]),flexDirection:o.oneOf(["row","column"]),flexWrap:o.oneOf(["wrap","nowrap"]),justifyContent:o.oneOf(["flex-start","flex-end","center","space-between","space-around"]),alignItems:o.oneOf(["flex-start","flex-end","center","stretch"]),alignSelf:o.oneOf(["auto","flex-start","flex-end","center","stretch"]),flex:o.number};n.exports=i}),__d("ReactPropTypes",["ReactElement","ReactFragment","ReactPropTypeLocationNames","emptyFunction"],function(e,t,n,r){"use strict";function o(e){function t(t,n,r,o,i,a){if(o=o||R,a=a||r,null==n[r]){var s=b[i];return t?new Error("Required "+s+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i,a)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,o,i){var a=t[n],s=v(a);if(s!==e){var u=b[o],c=g(a);return new Error("Invalid "+u+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return o(t)}function a(){return o(S.thatReturns(null))}function s(e){function t(t,n,r,o,i){var a=t[n];if(!Array.isArray(a)){var s=b[o],u=v(a);return new Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<a.length;c++){var l=e(a,c,r,o,i+"["+c+"]");if(l instanceof Error)return l}return null}return o(t)}function u(){function e(e,t,n,r,o){if(!y.isValidElement(e[t])){var i=b[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return o(e)}function c(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=b[o],s=e.name||R;return new Error("Invalid "+a+" `"+i+"` supplied to "+("`"+r+"`, expected instance of `"+s+"`."))}return null}return o(t)}function l(e){function t(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(a===e[s])return null;var u=b[o],c=JSON.stringify(e);return new Error("Invalid "+u+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return o(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function p(e){function t(t,n,r,o,i){var a=t[n],s=v(a);if("object"!==s){var u=b[o];return new Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,o,i+"."+c);if(l instanceof Error)return l}return null}return o(t)}function h(e){function t(t,n,r,o,i){for(var a=0;a<e.length;a++){var s=e[a];if(null==s(t,n,r,o,i))return null}var u=b[o];return new Error("Invalid "+u+" `"+i+"` supplied to "+("`"+r+"`."))}return o(Array.isArray(e)?t:function(){return new Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function f(){function e(e,t,n,r,o){if(!m(e[t])){var i=b[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return o(e)}function d(e){function t(t,n,r,o,i){var a=t[n],s=v(a);if("object"!==s){var u=b[o];return new Error("Invalid "+u+" `"+i+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var l=e[c];if(l){var p=l(a,c,r,o,i+"."+c);if(p)return p}}return null}return o(t)}function m(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(m);if(null===e||y.isValidElement(e))return!0;e=_.extractIfFragment(e);for(var t in e)if(!m(e[t]))return!1;return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function g(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}var y=t("ReactElement"),_=t("ReactFragment"),b=t("ReactPropTypeLocationNames"),S=t("emptyFunction"),R="<<anonymous>>",E={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:a(),arrayOf:s,element:u(),instanceOf:c,node:f(),objectOf:p,oneOf:l,oneOfType:h,shape:d};n.exports=E}),__d("TransformPropTypes",["ReactPropTypes"],function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i={transform:o.arrayOf(o.oneOfType([o.shape({perspective:o.number}),o.shape({rotate:o.string}),o.shape({rotateX:o.string}),o.shape({rotateY:o.string}),o.shape({rotateZ:o.string}),o.shape({scale:o.number}),o.shape({scaleX:o.number}),o.shape({scaleY:o.number}),o.shape({translateX:o.number}),o.shape({translateY:o.number}),o.shape({skewX:o.string}),o.shape({skewY:o.string})])),transformMatrix:o.arrayOf(o.number)};n.exports=i}),__d("TextStylePropTypes",["ReactPropTypes","ViewStylePropTypes"],function(e,t,n,r){"use strict";for(var o=t("ReactPropTypes"),i=t("ViewStylePropTypes"),a=Object.assign(Object.create(i),{color:o.string,fontFamily:o.string,fontSize:o.number,fontStyle:o.oneOf(["normal","italic"]),fontWeight:o.oneOf(["normal","bold","100","200","300","400","500","600","700","800","900"]),letterSpacing:o.number,lineHeight:o.number,textAlign:o.oneOf(["auto","left","right","center","justify"]),textDecorationLine:o.oneOf(["none","underline","line-through","underline line-through"]),textDecorationStyle:o.oneOf(["solid","double","dotted","dashed"]),textDecorationColor:o.string,writingDirection:o.oneOf(["auto","ltr","rtl"])}),s=Object.keys({padding:null,paddingTop:null,paddingLeft:null,paddingRight:null,paddingBottom:null,paddingVertical:null,paddingHorizontal:null}),u=0;u<s.length;u++)delete a[s[u]];n.exports=a}),__d("ViewStylePropTypes",["LayoutPropTypes","ReactPropTypes","TransformPropTypes"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("LayoutPropTypes"),a=t("ReactPropTypes"),s=t("TransformPropTypes"),u=o({},i,s,{backfaceVisibility:a.oneOf(["visible","hidden"]),backgroundColor:a.string,borderColor:a.string,borderTopColor:a.string,borderRightColor:a.string,borderBottomColor:a.string,borderLeftColor:a.string,borderRadius:a.number,borderTopLeftRadius:a.number,borderTopRightRadius:a.number,borderBottomLeftRadius:a.number,borderBottomRightRadius:a.number,borderStyle:a.oneOf(["solid","dotted","dashed"]),opacity:a.number,overflow:a.oneOf(["visible","hidden"]),shadowColor:a.string,shadowOffset:a.shape({width:a.number,height:a.number}),shadowOpacity:a.number,shadowRadius:a.number});n.exports=u}),__d("matricesDiffer",[],function(e,t,n,r){"use strict";var o=function(e,t){return e===t?!1:!e||!t||e[12]!==t[12]||e[13]!==t[13]||e[14]!==t[14]||e[5]!==t[5]||e[10]!==t[10]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[6]!==t[6]||e[7]!==t[7]||e[8]!==t[8]||e[9]!==t[9]||e[11]!==t[11]||e[15]!==t[15]};n.exports=o}),__d("processColor",["Platform","tinycolor2/tinycolor.js"],function(e,t,n,r){"use strict";function o(e){if(e&&"number"!=typeof e){if(e instanceof Array)return e.map(o);var t=i(e).toHex8(),n=parseInt(t,16);return"android"===a.OS&&(n=0|n),n}return e}var i=t("tinycolor2/tinycolor.js"),a=t("Platform");n.exports=o}),__d("tinycolor2/tinycolor.js",[],function(e,t,n,r){!function(){function e(n,r){if(n=n?n:"",r=r||{},n instanceof e)return n;if(!(this instanceof e))return new e(n,r);var o=t(n);this._originalInput=n,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=H(100*this._a)/100,this._format=r.format||o.format,this._gradientType=r.gradientType,this._r<1&&(this._r=H(this._r)),this._g<1&&(this._g=H(this._g)),this._b<1&&(this._b=H(this._b)),this._ok=o.ok,this._tc_id=V++}function t(e){var t={r:0,g:0,b:0},n=1,o=!1,a=!1;return"string"==typeof e&&(e=k(e)),"object"==typeof e&&(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")?(t=r(e.r,e.g,e.b),o=!0,a="%"===String(e.r).substr(-1)?"prgb":"rgb"):e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")?(e.s=N(e.s),e.v=N(e.v),t=s(e.h,e.s,e.v),o=!0,a="hsv"):e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")&&(e.s=N(e.s),e.l=N(e.l),t=i(e.h,e.s,e.l),o=!0,a="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=w(n),{ok:o,format:e.format||a,r:B(255,U(t.r,0)),g:B(255,U(t.g,0)),b:B(255,U(t.b,0)),a:n}}function r(e,t,n){return{r:255*T(e,255),g:255*T(t,255),b:255*T(n,255)}}function o(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=U(e,t,n),a=B(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var u=i-a;switch(o=s>.5?u/(2-i-a):u/(i+a),i){case e:r=(t-n)/u+(n>t?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,l:s}}function i(e,t,n){function r(e,t,n){return 0>n&&(n+=1),n>1&&(n-=1),1/6>n?e+6*(t-e)*n:.5>n?t:2/3>n?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)o=i=a=n;else{var s=.5>n?n*(1+t):n+t-n*t,u=2*n-s;o=r(u,s,e+1/3),i=r(u,s,e),a=r(u,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function a(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=U(e,t,n),a=B(e,t,n),s=i,u=i-a;if(o=0===i?0:u/i,i==a)r=0;else{switch(i){case e:r=(t-n)/u+(n>t?6:0);break;case t:r=(n-e)/u+2;break;case n:r=(e-t)/u+4}r/=6}return{h:r,s:o,v:s}}function s(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=F.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6,c=[n,a,i,i,s,n][u],l=[s,n,n,a,i,i][u],p=[i,i,s,n,n,a][u];return{r:255*c,g:255*l,b:255*p}}function u(e,t,n,r){var o=[P(H(e).toString(16)),P(H(t).toString(16)),P(H(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function c(e,t,n,r){var o=[P(D(r)),P(H(e).toString(16)),P(H(t).toString(16)),P(H(n).toString(16))];return o.join("")}function l(t,n){n=0===n?0:n||10;var r=e(t).toHsl();return r.s-=n/100,r.s=C(r.s),e(r)}function p(t,n){n=0===n?0:n||10;var r=e(t).toHsl();return r.s+=n/100,r.s=C(r.s),e(r)}function h(t){return e(t).desaturate(100)}function f(t,n){n=0===n?0:n||10;var r=e(t).toHsl();return r.l+=n/100,r.l=C(r.l),e(r)}function d(t,n){n=0===n?0:n||10;var r=e(t).toRgb();return r.r=U(0,B(255,r.r-H(255*-(n/100)))),r.g=U(0,B(255,r.g-H(255*-(n/100)))),r.b=U(0,B(255,r.b-H(255*-(n/100)))),e(r)}function m(t,n){n=0===n?0:n||10;var r=e(t).toHsl();return r.l-=n/100,r.l=C(r.l),e(r)}function v(t,n){var r=e(t).toHsl(),o=(H(r.h)+n)%360;return r.h=0>o?360+o:o,e(r)}function g(t){var n=e(t).toHsl();return n.h=(n.h+180)%360,e(n)}function y(t){var n=e(t).toHsl(),r=n.h;return[e(t),e({h:(r+120)%360,s:n.s,l:n.l}),e({h:(r+240)%360,s:n.s,l:n.l})]}function _(t){var n=e(t).toHsl(),r=n.h;return[e(t),e({h:(r+90)%360,s:n.s,l:n.l}),e({h:(r+180)%360,s:n.s,l:n.l}),e({h:(r+270)%360,s:n.s,l:n.l})]}function b(t){var n=e(t).toHsl(),r=n.h;return[e(t),e({h:(r+72)%360,s:n.s,l:n.l}),e({h:(r+216)%360,s:n.s,l:n.l})]}function S(t,n,r){n=n||6,r=r||30;var o=e(t).toHsl(),i=360/r,a=[e(t)];for(o.h=(o.h-(i*n>>1)+720)%360;--n;)o.h=(o.h+i)%360,a.push(e(o));return a}function R(t,n){n=n||6;for(var r=e(t).toHsv(),o=r.h,i=r.s,a=r.v,s=[],u=1/n;n--;)s.push(e({h:o,s:i,v:a})),a=(a+u)%1;return s}function E(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function w(e){return e=parseFloat(e),(isNaN(e)||0>e||e>1)&&(e=1),e}function T(e,t){x(e)&&(e="100%");var n=I(e);return e=B(t,U(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),F.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function C(e){return B(1,U(0,e))}function O(e){return parseInt(e,16)}function x(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function I(e){return"string"==typeof e&&-1!=e.indexOf("%")}function P(e){return 1==e.length?"0"+e:""+e}function N(e){return 1>=e&&(e=100*e+"%"),e}function D(e){return Math.round(255*parseFloat(e)).toString(16)}function M(e){return O(e)/255}function k(e){e=e.replace(j,"").replace(L,"").toLowerCase();var t=!1;if(z[e])e=z[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=W.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=W.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=W.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=W.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=W.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=W.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=W.hex8.exec(e))?{a:M(n[1]),r:O(n[2]),g:O(n[3]),b:O(n[4]),format:t?"name":"hex8"}:(n=W.hex6.exec(e))?{r:O(n[1]),g:O(n[2]),b:O(n[3]),format:t?"name":"hex"}:(n=W.hex3.exec(e))?{r:O(n[1]+""+n[1]),g:O(n[2]+""+n[2]),b:O(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function A(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var j=/^[\s,#]+/,L=/\s+$/,V=0,F=Math,H=F.round,B=F.min,U=F.max,q=F.random;e.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,i,a=this.toRgb();return e=a.r/255,t=a.g/255,n=a.b/255,r=.03928>=e?e/12.92:Math.pow((e+.055)/1.055,2.4),o=.03928>=t?t/12.92:Math.pow((t+.055)/1.055,2.4),i=.03928>=n?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*i},setAlpha:function(e){return this._a=w(e),this._roundA=H(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=H(360*e.h),n=H(100*e.s),r=H(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=o(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=o(this._r,this._g,this._b),t=H(360*e.h),n=H(100*e.s),r=H(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return u(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return c(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:H(this._r),g:H(this._g),b:H(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+H(this._r)+", "+H(this._g)+", "+H(this._b)+")":"rgba("+H(this._r)+", "+H(this._g)+", "+H(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:H(100*T(this._r,255))+"%",g:H(100*T(this._g,255))+"%",b:H(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+H(100*T(this._r,255))+"%, "+H(100*T(this._g,255))+"%, "+H(100*T(this._b,255))+"%)":"rgba("+H(100*T(this._r,255))+"%, "+H(100*T(this._g,255))+"%, "+H(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":this._a<1?!1:G[u(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+c(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(t){var i=e(t);r=i.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,o=!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"name"===e);return o?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(f,arguments)},brighten:function(){return this._applyModification(d,arguments)},darken:function(){return this._applyModification(m,arguments)},desaturate:function(){return this._applyModification(l,arguments)},saturate:function(){return this._applyModification(p,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(g,arguments)},monochromatic:function(){return this._applyCombination(R,arguments)},splitcomplement:function(){return this._applyCombination(b,arguments)},triad:function(){return this._applyCombination(y,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},e.fromRatio=function(t,n){if("object"==typeof t){var r={};for(var o in t)t.hasOwnProperty(o)&&("a"===o?r[o]=t[o]:r[o]=N(t[o]));t=r}return e(t,n)},e.equals=function(t,n){return t&&n?e(t).toRgbString()==e(n).toRgbString():!1},e.random=function(){return e.fromRatio({r:q(),g:q(),b:q()})},e.mix=function(t,n,r){r=0===r?0:r||50;var o,i=e(t).toRgb(),a=e(n).toRgb(),s=r/100,u=2*s-1,c=a.a-i.a;
o=u*c==-1?u:(u+c)/(1+u*c),o=(o+1)/2;var l=1-o,p={r:a.r*o+i.r*l,g:a.g*o+i.g*l,b:a.b*o+i.b*l,a:a.a*s+i.a*(1-s)};return e(p)},e.readability=function(t,n){var r=e(t),o=e(n);return(Math.max(r.getLuminance(),o.getLuminance())+.05)/(Math.min(r.getLuminance(),o.getLuminance())+.05)},e.isReadable=function(t,n,r){var o,i,a=e.readability(t,n);switch(i=!1,o=A(r),o.level+o.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},e.mostReadable=function(t,n,r){var o,i,a,s,u=null,c=0;r=r||{},i=r.includeFallbackColors,a=r.level,s=r.size;for(var l=0;l<n.length;l++)o=e.readability(t,n[l]),o>c&&(c=o,u=e(n[l]));return e.isReadable(t,u,{level:a,size:s})||!i?u:(r.includeFallbackColors=!1,e.mostReadable(t,["#fff","#000"],r))};var z=e.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",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",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},G=e.hexNames=E(z),W=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof n&&n.exports?n.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):window.tinycolor=e}()}),__d("sizesDiffer",[],function(e,t,n,r){"use strict";var o={width:void 0,height:void 0},i=function(e,t){return e=e||o,t=t||o,e!==t&&(e.width!==t.width||e.height!==t.height)};n.exports=i}),__d("deepFreezeAndThrowOnMutationInDev",[],function(e,t,n,r){"use strict";function o(e){if(__DEV__){if("object"!=typeof e||null===e||Object.isFrozen(e)||Object.isSealed(e))return;for(var t in e)e.hasOwnProperty(t)&&(e.__defineGetter__(t,a.bind(null,e[t])),e.__defineSetter__(t,i.bind(null,t)),o(e[t]));Object.freeze(e),Object.seal(e)}}function i(e,t){throw Error("You attempted to set the key `"+e+"` with the value `"+JSON.stringify(t)+"` on an object that is meant to be immutable and has been frozen.")}function a(e){return e}n.exports=o}),__d("ReactNativeEventEmitter",["EventPluginHub","ReactEventEmitterMixin","ReactNativeTagHandles","NodeHandle","EventConstants","merge","warning"],function(e,t,n,r){"use strict";var o=t("EventPluginHub"),i=t("ReactEventEmitterMixin"),a=t("ReactNativeTagHandles"),s=t("NodeHandle"),u=t("EventConstants"),c=t("merge"),l=t("warning"),p=u.topLevelTypes,h={},f=function(e,t){for(var n=[],r=0;r<t.length;r++)n.push(e[t[r]]);return n},d=function(e,t){for(var n=[],r=e,o=0;o<t.length;o++){var i=t[o];n.push(e[i]),r[i]=null}for(var a=0,s=0;s<r.length;s++){var u=r[s];null!==u&&(r[a++]=u)}return r.length=a,n},m=c(i,{registrationNames:o.registrationNameModules,putListener:o.putListener,getListener:o.getListener,deleteListener:o.deleteListener,deleteAllListeners:o.deleteAllListeners,_receiveRootNodeIDEvent:function(e,t,n){var r=n||h;m.handleTopLevel(t,e,e,r,r.target)},receiveEvent:function(e,t,n){var r=a.tagToRootNodeID[e];m._receiveRootNodeIDEvent(r,t,n)},receiveTouches:function(e,t,n){for(var r=e===p.topTouchEnd||e===p.topTouchCancel?d(t,n):f(t,n),o=0;o<r.length;o++){var i=r[o];i.changedTouches=r,i.touches=t;var u=i,c=null,h=u.target;null!==h&&void 0!==h&&(h<a.tagsStartAt?__DEV__&&l(!1,"A view is reporting that a touch occured on tag zero."):c=s.getRootNodeID(h)),m._receiveRootNodeIDEvent(c,e,u)}}});n.exports=m}),__d("ReactEventEmitterMixin",["EventPluginHub"],function(e,t,n,r){"use strict";function o(e){i.enqueueEvents(e),i.processEventQueue()}var i=t("EventPluginHub"),a={handleTopLevel:function(e,t,n,r,a){var s=i.extractEvents(e,t,n,r,a);o(s)}};n.exports=a}),__d("ReactMultiChild",["ReactComponentEnvironment","ReactMultiChildUpdateTypes","ReactReconciler","ReactChildReconciler"],function(e,t,n,r){"use strict";function o(e,t,n){m.push({parentID:e,parentNode:null,type:p.INSERT_MARKUP,markupIndex:v.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function i(e,t,n){m.push({parentID:e,parentNode:null,type:p.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function a(e,t){m.push({parentID:e,parentNode:null,type:p.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function s(e,t){m.push({parentID:e,parentNode:null,type:p.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function u(){m.length&&(l.processChildrenUpdates(m,v),c())}function c(){m.length=0,v.length=0}var l=t("ReactComponentEnvironment"),p=t("ReactMultiChildUpdateTypes"),h=t("ReactReconciler"),f=t("ReactChildReconciler"),d=0,m=[],v=[],g={Mixin:{mountChildren:function(e,t,n){var r=f.instantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=this._rootNodeID+a,c=h.mountComponent(s,u,t,n);s._mountIndex=i,o.push(c),i++}return o},updateTextContent:function(e){d++;var t=!0;try{var n=this._renderedChildren;f.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{d--,d||(t?c():u())}},updateChildren:function(e,t,n){d++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{d--,d||(r?c():u())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=f.updateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var i,a=0,s=0;for(i in o)if(o.hasOwnProperty(i)){var u=r&&r[i],c=o[i];u===c?(this.moveChild(u,s,a),a=Math.max(u._mountIndex,a),u._mountIndex=s):(u&&(a=Math.max(u._mountIndex,a),this._unmountChildByName(u,i)),this._mountChildByNameAtIndex(c,i,s,t,n)),s++}for(i in r)!r.hasOwnProperty(i)||o&&o.hasOwnProperty(i)||this._unmountChildByName(r[i],i)}},unmountChildren:function(){var e=this._renderedChildren;f.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&i(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){o(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){a(this._rootNodeID,e._mountIndex)},setTextContent:function(e){s(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,o){var i=this._rootNodeID+t,a=h.mountComponent(e,i,r,o);e._mountIndex=n,this.createChild(e,a)},_unmountChildByName:function(e,t){this.removeChild(e),e._mountIndex=null}}};n.exports=g}),__d("ReactChildReconciler",["ReactReconciler","flattenChildren","instantiateReactComponent","shouldUpdateReactComponent"],function(e,t,n,r){"use strict";var o=t("ReactReconciler"),i=t("flattenChildren"),a=t("instantiateReactComponent"),s=t("shouldUpdateReactComponent"),u={instantiateChildren:function(e,t,n){var r=i(e);for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],u=a(s,null);r[o]=u}return r},updateChildren:function(e,t,n,r){var u=i(t);if(!u&&!e)return null;var c;for(c in u)if(u.hasOwnProperty(c)){var l=e&&e[c],p=l&&l._currentElement,h=u[c];if(s(p,h))o.receiveComponent(l,h,n,r),u[c]=l;else{l&&o.unmountComponent(l,c);var f=a(h,null);u[c]=f}}for(c in e)!e.hasOwnProperty(c)||u&&u.hasOwnProperty(c)||o.unmountComponent(e[c]);return u},unmountChildren:function(e){for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];o.unmountComponent(n)}}};n.exports=u}),__d("flattenChildren",["traverseAllChildren","warning"],function(e,t,n,r){"use strict";function o(e,t,n){var r=e,o=void 0===r[n];__DEV__&&s(o,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",n),o&&null!=t&&(r[n]=t)}function i(e){if(null==e)return e;var t={};return a(e,o,t),t}var a=t("traverseAllChildren"),s=t("warning");n.exports=i}),__d("styleDiffer",["deepDiffer"],function(e,t,n,r){"use strict";function o(e,t){return!i(e,t)}function i(e,t){if(!e)return!t;if(!t)return!e;if(typeof e!=typeof t)return!1;if("number"==typeof e)return e===t;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!i(e[n],t[n]))return!1;return!0}for(var r in e)if(a(e[r],t[r]))return!1;for(var r in t)if(!e.hasOwnProperty(r))return!1;return!0}var a=t("deepDiffer");n.exports=o}),__d("deepDiffer",[],function(e,t,n,r){"use strict";var o=function(e,t){if(e===t)return!1;if("function"==typeof e&&"function"==typeof t)return!1;if("object"!=typeof e||null===e)return e!==t;if("object"!=typeof t||null===t)return!0;if(e.constructor!==t.constructor)return!0;if(Array.isArray(e)){var n=e.length;if(t.length!==n)return!0;for(var r=0;n>r;r++)if(o(e[r],t[r]))return!0}else{for(var i in e)if(o(e[i],t[i]))return!0;for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!0}return!1};n.exports=o}),__d("diffRawProperties",["deepDiffer"],function(e,t,n,r){"use strict";function o(e,t,n,r){var o,a,s,u,c,l;if(n)for(var p in n)o=r[p],o&&(s=t&&t[p],a=n[p],"function"==typeof s&&(s=!0),"function"==typeof a&&(a=!0),s!==a&&(l=o.diff||i,u="object"!=typeof a||null===a,c=u||!s||l(s,a),c&&(e=e||{},e[p]=a)));if(t)for(var p in t)o=r[p],o&&(e&&void 0!==e[p]||(s=t[p],a=n&&n[p],"function"==typeof s&&(s=!0),"function"==typeof a&&(a=!0),s!==a&&(void 0===a&&(a=null),l=o.diff||i,u="object"!=typeof a||null===a,c=u&&s!==a||l(s,a),c&&(e=e||{},e[p]=a))));return e}var i=t("deepDiffer");n.exports=o}),__d("RCTEventEmitter",["ReactNativeEventEmitter"],function(e,t,n,r){"use strict";var o=t("ReactNativeEventEmitter");n.exports=o}),__d("RCTLog",["invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("invariant"),s={log:"log",info:"info",warn:"warn",error:"error",mustfix:"error"},u=function(){function t(){o(this,t)}return i(t,null,[{key:"logIfNoNativeHook",value:function(){var t=Array.prototype.slice.call(arguments),n=t.shift(),r=s[n];return a(r,'Level "'+n+'" not one of '+Object.keys(s)),"undefined"==typeof e.nativeLoggingHook&&console[r].apply(console,t),!0}}]),t}();n.exports=u}),__d("deprecated",["Object.assign","warning"],function(e,t,n,r){"use strict";function o(e,t,n,r){var o=!1;if(__DEV__){var s=function(){return a(o,'`require("react").%s` is deprecated. Please use `require("%s").%s` instead.',e,t,e),o=!0,r.apply(n,arguments)};return i(s,r)}return r}var i=t("Object.assign"),a=t("warning");n.exports=o}),__d("onlyChild",["ReactElement","invariant"],function(e,t,n,r){"use strict";function o(e){return a(i.isValidElement(e),"onlyChild must be passed a children with exactly one child."),e}var i=t("ReactElement"),a=t("invariant");n.exports=o}),__d("ActivityIndicatorIOS",["NativeMethodsMixin","ReactPropTypes","React","StyleSheet","View","requireNativeComponent"],function(e,t,n,r){"use strict";function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var i=t("NativeMethodsMixin"),a=t("ReactPropTypes"),s=t("React"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p="#999999",h=s.createClass({displayName:"ActivityIndicatorIOS",mixins:[i],propTypes:{animating:a.bool,color:a.string,hidesWhenStopped:a.bool,size:a.oneOf(["small","large"]),onLayout:a.func},getDefaultProps:function(){return{animating:!0,color:p,hidesWhenStopped:!0,size:"small"}},render:function(){var e=this.props,t=e.onLayout,n=e.style,r=o(e,["onLayout","style"]),i="large"===this.props.size?f.sizeLarge:f.sizeSmall;return s.createElement(c,{onLayout:t,style:[f.container,i,n]},s.createElement(d,r))}}),f=u.create({container:{alignItems:"center",justifyContent:"center"},sizeSmall:{width:20,height:20},sizeLarge:{width:36,height:36}}),d=l("RCTActivityIndicatorView",h,{nativeOnly:{activityIndicatorViewStyle:!0}});n.exports=h}),__d("StyleSheet",["StyleSheetRegistry","StyleSheetValidation"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("StyleSheetRegistry"),s=t("StyleSheetValidation"),u=function(){function e(){o(this,e)}return i(e,null,[{key:"create",value:function(e){var t={};for(var n in e)s.validateStyle(n,e),t[n]=a.registerStyle(e[n]);return t}}]),e}();n.exports=u}),__d("StyleSheetValidation",["ImageStylePropTypes","ReactPropTypeLocations","TextStylePropTypes","ViewStylePropTypes","invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("ImageStylePropTypes"),s=t("ReactPropTypeLocations"),u=t("TextStylePropTypes"),c=t("ViewStylePropTypes"),l=t("invariant"),p=function(){function e(){o(this,e)}return i(e,null,[{key:"validateStyleProp",value:function(e,t,n){if(__DEV__){if(void 0===f[e]){var r='"'+e+'" is not a valid style property.',o="\nValid style props: "+JSON.stringify(Object.keys(f).sort(),null,"  ");h(r,t,n,o)}var i=f[e](t,e,n,s.prop);i&&h(i.message,t,n)}}},{key:"validateStyle",value:function(t,n){if(__DEV__)for(var r in n[t])e.validateStyleProp(r,n[t],"StyleSheet "+t)}},{key:"addValidStylePropTypes",value:function(e){for(var t in e)f[t]=e[t]}}]),e}(),h=function(e,t,n,r){l(!1,e+"\n"+(n||"<<unknown>>")+": "+JSON.stringify(t,null,"  ")+(r||""))},f={};p.addValidStylePropTypes(a),p.addValidStylePropTypes(u),p.addValidStylePropTypes(c),n.exports=p}),__d("View",["NativeMethodsMixin","ReactPropTypes","NativeModules","React","ReactNativeStyleAttributes","ReactNativeViewAttributes","StyleSheetPropType","ViewStylePropTypes","createReactNativeComponentClass"],function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("ReactPropTypes"),a=t("NativeModules").UIManager,s=t("React"),u=t("ReactNativeStyleAttributes"),c=t("ReactNativeViewAttributes"),l=t("StyleSheetPropType"),p=t("ViewStylePropTypes"),h=t("createReactNativeComponentClass"),f=l(p),d=["none","button","link","header","search","image","selected","plays","key","text","summary","disabled","frequentUpdates","startsMedia","adjustable","allowsDirectInteraction","pageTurn"],m=["none","button","radiobutton_checked","radiobutton_unchecked"],v=s.createClass({displayName:"View",mixins:[o],viewConfig:{uiViewClassName:"RCTView",validAttributes:c.RCTView},statics:{AccessibilityTraits:d,AccessibilityComponentType:m},propTypes:{accessible:i.bool,accessibilityLabel:i.string,accessibilityComponentType:i.oneOf(m),accessibilityLiveRegion:i.oneOf(["none","polite","assertive"]),importantForAccessibility:i.oneOf(["auto","yes","no","no-hide-descendants"]),accessibilityTraits:i.oneOfType([i.oneOf(d),i.arrayOf(i.oneOf(d))]),onAccessibilityTap:i.func,onMagicTap:i.func,testID:i.string,onMoveShouldSetResponder:i.func,onResponderGrant:i.func,onResponderMove:i.func,onResponderReject:i.func,onResponderRelease:i.func,onResponderTerminate:i.func,onResponderTerminationRequest:i.func,onStartShouldSetResponder:i.func,onStartShouldSetResponderCapture:i.func,onLayout:i.func,pointerEvents:i.oneOf(["box-none","none","box-only","auto"]),style:f,removeClippedSubviews:i.bool,renderToHardwareTextureAndroid:i.bool,shouldRasterizeIOS:i.bool,collapsable:i.bool,needsOffscreenAlphaCompositing:i.bool},render:function(){return s.createElement(g,this.props)}}),g=h({validAttributes:c.RCTView,uiViewClassName:"RCTView"});if(g.propTypes=v.propTypes,__DEV__){var y=a.viewConfigs&&a.viewConfigs.RCTView||{};for(var _ in y.nativeProps){var b=v;if(!b.propTypes[_]&&!u[_])throw new Error("View is missing propType for native prop `"+_+"`")}}var S=g;__DEV__&&(S=v),n.exports=S}),__d("ReactNativeViewAttributes",["merge"],function(e,t,n,r){"use strict";var o=t("merge"),i={};i.UIView={pointerEvents:!0,accessible:!0,accessibilityLabel:!0,accessibilityComponentType:!0,accessibilityLiveRegion:!0,accessibilityTraits:!0,importantForAccessibility:!0,testID:!0,renderToHardwareTextureAndroid:!0,shouldRasterizeIOS:!0,onLayout:!0,onAccessibilityTap:!0,onMagicTap:!0,collapsable:!0,needsOffscreenAlphaCompositing:!0},i.RCTView=o(i.UIView,{removeClippedSubviews:!0}),n.exports=i}),__d("StyleSheetPropType",["createStrictShapeTypeChecker","flattenStyle"],function(e,t,n,r){"use strict";function o(e){var t=i(e);return function(e,n,r,o){var i=e;return e[n]&&(i={},i[n]=a(e[n])),t(i,n,r,o)}}var i=t("createStrictShapeTypeChecker"),a=t("flattenStyle");n.exports=o}),__d("createStrictShapeTypeChecker",["ReactPropTypeLocationNames","invariant","merge"],function(e,t,n,r){"use strict";function o(e){function t(t,n,r,o,u){if(!n[r])return void(t&&a(!1,"Required object `"+r+"` was not specified in "+("`"+o+"`.")));var c=n[r],l=typeof c,p=u&&i[u]||"(unknown)";"object"!==l&&a(!1,"Invalid "+p+" `"+r+"` of type `"+l+"` "+("supplied to `"+o+"`, expected `object`."));var h=s(n[r],e);for(var f in h){var d=e[f];d||a(!1,"Invalid props."+r+" key `"+f+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(n[r],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var m=d(c,f,o,u);m&&a(!1,m.message+"\nBad object: "+JSON.stringify(n[r],null,"  "))}}function n(e,n,r,o){return t(!1,e,n,r,o)}return n.isRequired=t.bind(null,!0),n}var i=t("ReactPropTypeLocationNames"),a=t("invariant"),s=t("merge");n.exports=o}),__d("requireNativeComponent",["verifyPropTypes","NativeModules","UnimplementedView","createReactNativeComponentClass","insetsDiffer","pointsDiffer","matricesDiffer","processColor","sizesDiffer","verifyPropTypes","warning"],function(e,t,n,r){function o(e,t,n){var r=a[e];if(!r||!r.NativeProps)return m(!1,'Native component for "%s" does not exist',e),s;var o=i({},a.RCTView.NativeProps,r.NativeProps);r.uiViewClassName=e,r.validAttributes={},r.propTypes=t&&t.propTypes;for(var c in o){var l=!1,p={},h=v[o[c]];h&&(p.diff=h,l=!0);var f=g[o[c]];f&&(p.process=f,l=!0),r.validAttributes[c]=l?p:!0}return __DEV__&&t&&d(t,r,n&&n.nativeOnly),u(r)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("NativeModules").UIManager,s=t("UnimplementedView"),u=t("createReactNativeComponentClass"),c=t("insetsDiffer"),l=t("pointsDiffer"),p=t("matricesDiffer"),h=t("processColor"),f=t("sizesDiffer"),d=t("verifyPropTypes"),m=t("warning"),v={CATransform3D:p,CGPoint:l,CGSize:f,UIEdgeInsets:c},g={CGColor:h,CGColorArray:h,UIColor:h,UIColorArray:h,Color:h};n.exports=o}),__d("verifyPropTypes",["ReactNativeStyleAttributes","View"],function(e,t,n,r){"use strict";function o(e,t,n){if(t){var r=e.name||e.displayName||"unknown";if(!e.propTypes)throw new Error("`"+r+"` has no propTypes defined`");var o=t.NativeProps;for(var s in o)if(!(e.propTypes[s]||a.propTypes[s]||i[s]||n&&n[s]))throw new Error("`"+r+"` has no propType for native prop `"+t.uiViewClassName+"."+s+"` of native type `"+o[s]+"`")}}var i=t("ReactNativeStyleAttributes"),a=t("View");n.exports=o}),__d("UnimplementedView",["React","StyleSheet","View"],function(e,t,n,r){"use strict";var o=t("React"),i=t("StyleSheet"),a=t("View"),s=o.createClass({displayName:"UnimplementedView",setNativeProps:function(){},render:function(){return o.createElement(a,{style:[u.unimplementedView,this.props.style]},this.props.children)}}),u=i.create({unimplementedView:{borderWidth:1,borderColor:"red",alignSelf:"flex-start"}});n.exports=s}),__d("insetsDiffer",[],function(e,t,n,r){"use strict";var o={top:void 0,left:void 0,right:void 0,bottom:void 0},i=function(e,t){return e=e||o,t=t||o,e!==t&&(e.top!==t.top||e.left!==t.left||e.right!==t.right||e.bottom!==t.bottom)};n.exports=i}),__d("pointsDiffer",[],function(e,t,n,r){"use strict";var o={x:void 0,y:void 0},i=function(e,t){return e=e||o,t=t||o,e!==t&&(e.x!==t.x||e.y!==t.y)};n.exports=i}),__d("DatePickerIOS",["NativeMethodsMixin","ReactPropTypes","React","NativeModules","StyleSheet","View","requireNativeComponent"],function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("ReactPropTypes"),a=t("React"),s=t("NativeModules").UIManager.RCTDatePicker.Constants,u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p="datepicker",h=a.createClass({displayName:"DatePickerIOS",mixins:[o],propTypes:{date:i.instanceOf(Date).isRequired,onDateChange:i.func.isRequired,maximumDate:i.instanceOf(Date),minimumDate:i.instanceOf(Date),mode:i.oneOf(["date","time","datetime"]),minuteInterval:i.oneOf([1,2,3,4,5,6,10,12,15,20,30]),timeZoneOffsetInMinutes:i.number},getDefaultProps:function(){return{mode:"datetime"}},_onChange:function(e){var t=e.nativeEvent.timestamp;this.props.onDateChange&&this.props.onDateChange(new Date(t)),this.props.onChange&&this.props.onChange(e);var n=this.props.date.getTime();t!==n&&this.refs[p].setNativeProps({date:n})},render:function(){var e=this.props;return a.createElement(c,{style:e.style},a.createElement(d,{ref:p,style:f.datePickerIOS,date:e.date.getTime(),maximumDate:e.maximumDate?e.maximumDate.getTime():void 0,minimumDate:e.minimumDate?e.minimumDate.getTime():void 0,mode:e.mode,minuteInterval:e.minuteInterval,timeZoneOffsetInMinutes:e.timeZoneOffsetInMinutes,onChange:this._onChange}))}}),f=u.create({datePickerIOS:{height:s.ComponentHeight,width:s.ComponentWidth}}),d=l("RCTDatePicker",h,{nativeOnly:{onChange:!0}});n.exports=h}),__d("DrawerLayoutAndroid",["UnimplementedView"],function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("Image",["EdgeInsetsPropType","ImageResizeMode","ImageStylePropTypes","NativeMethodsMixin","NativeModules","ReactPropTypes","React","ReactNativeViewAttributes","StyleSheet","StyleSheetPropType","flattenStyle","invariant","requireNativeComponent","resolveAssetSource","warning"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("EdgeInsetsPropType"),a=t("ImageResizeMode"),s=t("ImageStylePropTypes"),u=t("NativeMethodsMixin"),c=t("NativeModules"),l=t("ReactPropTypes"),p=t("React"),h=t("ReactNativeViewAttributes"),f=t("StyleSheet"),d=t("StyleSheetPropType"),m=t("flattenStyle"),v=(t("invariant"),t("requireNativeComponent")),g=t("resolveAssetSource"),y=(t("warning"),p.createClass({displayName:"Image",propTypes:{style:d(s),source:l.oneOfType([l.shape({uri:l.string}),l.number]),defaultSource:l.shape({uri:l.string}),accessible:l.bool,accessibilityLabel:l.string,capInsets:i,resizeMode:l.oneOf(["cover","contain","stretch"]),testID:l.string,onLayout:l.func,onLoadStart:l.func,onProgress:l.func,onError:l.func,onLoad:l.func,onLoadEnd:l.func},statics:{resizeMode:a},mixins:[u],viewConfig:{uiViewClassName:"UIView",validAttributes:h.UIView},render:function(){for(var e in b.nativeOnly)void 0!==this.props[e]&&console.warn("Prop `"+e+" = "+this.props[e]+"` should not be set directly on Image.");var t=g(this.props.source)||{},n=this.props.defaultSource&&g(this.props.defaultSource)||{},r=t.width,i=t.height,a=m([{width:r,height:i},_.base,this.props.style])||{},s=t.uri&&t.uri.match(/^https?:/),u=s?R:S,c=this.props.resizeMode||(a||{}).resizeMode||"cover",l=(a||{}).tintColor;return s&&l&&(u=S),p.createElement(u,o({},this.props,{style:a,resizeMode:c,tintColor:l,src:t.uri,defaultImageSrc:n.uri}))}})),_=f.create({base:{overflow:"hidden"}}),b={nativeOnly:{src:!0,defaultImageSrc:!0,imageTag:!0,progressHandlerRegistered:!0}},S=v("RCTImageView",y,b),R=c.NetworkImageViewManager?v("RCTNetworkImageView",y,b):S;n.exports=y}),__d("EdgeInsetsPropType",["ReactPropTypes","createStrictShapeTypeChecker"],function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i=t("createStrictShapeTypeChecker"),a=i({top:o.number,left:o.number,bottom:o.number,right:o.number});n.exports=a}),__d("resolveAssetSource",["AssetRegistry","PixelRatio","Platform","NativeModules"],function(e,t,n,r){"use strict";function o(){if(!__DEV__)return null;if(void 0===h){var e=v.scriptURL,t=e&&e.match(/^https?:\/\/.*?\//);h=t?t[0]:null}return h}function i(e){if("android"===m.OS){var t=s(e);return(t+"/"+e.name).toLowerCase().replace(/\//g,"_").replace(/([^a-z0-9_])/g,"").replace(/^assets_/,"")}return u(e)}function a(e,t){return e+u(t)+"?platform="+m.OS+"&hash="+t.hash}function s(e){var t=e.httpServerLocation;return"/"===t[0]&&(t=t.substr(1)),t}function u(e){var t=c(e.scales,d.get()),n=1===t?"":"@"+t+"x",r=s(e);return r+"/"+e.name+n+"."+e.type}function c(e,t){for(var n=0;n<e.length;n++)if(e[n]>=t)return e[n];return e[e.length-1]||1}function l(e){if("object"==typeof e)return e;var t=f.getAssetByID(e);return t?p(t):null}function p(e){var t=o();return t?{width:e.width,height:e.height,uri:a(t,e),isStatic:!1}:{width:e.width,height:e.height,uri:i(e),isStatic:!0}}var h,f=t("AssetRegistry"),d=t("PixelRatio"),m=t("Platform"),v=t("NativeModules").SourceCode;n.exports=l,n.exports.pickScale=c}),__d("AssetRegistry",[],function(e,t,n,r){"use strict";function o(e){return a.push(e)}function i(e){return a[e-1]}var a=[];n.exports={registerAsset:o,getAssetByID:i}}),__d("PixelRatio",["Dimensions"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("Dimensions"),s=function(){function e(){o(this,e)}return i(e,null,[{key:"get",value:function(){return a.get("window").scale}},{key:"getFontScale",value:function(){return a.get("window").fontScale||e.get()}},{key:"getPixelSizeForLayoutSize",value:function(t){return Math.round(t*e.get())}},{key:"startDetecting",value:function(){}}]),e}();n.exports=s}),__d("Dimensions",["NativeModules","invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("NativeModules"),s=t("invariant"),u=a.UIManager.Dimensions;if(u&&u.windowPhysicalPixels){u=JSON.parse(JSON.stringify(u));var c=u.windowPhysicalPixels;u.window={width:c.width/c.scale,height:c.height/c.scale,scale:c.scale,fontScale:c.fontScale},delete u.windowPhysicalPixels}var l=function(){function e(){o(this,e)}return i(e,null,[{key:"set",value:function(e){return Object.assign(u,e),!0}},{key:"get",value:function(e){return s(u[e],"No dimension set for key "+e),u[e]}}]),e}();n.exports=l}),__d("ListView",["ListViewDataSource","React","NativeModules","NativeModules","ScrollView","ScrollResponder","StaticRenderer","react-timer-mixin/TimerMixin.js","isEmpty","logError","merge"],function(e,t,n,r){"use strict";function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("ListViewDataSource"),s=t("React"),u=t("NativeModules").UIManager,c=t("NativeModules").ScrollViewManager,l=t("ScrollView"),p=t("ScrollResponder"),h=t("StaticRenderer"),f=t("react-timer-mixin/TimerMixin.js"),d=t("isEmpty"),m=t("logError"),v=t("merge"),g=s.PropTypes,y=1,_=10,b=1e3,S=1e3,R=50,E="listviewscroll",w=s.createClass({displayName:"ListView",mixins:[p.Mixin,f],statics:{DataSource:a},propTypes:i({},l.propTypes,{dataSource:g.instanceOf(a).isRequired,renderSeparator:g.func,renderRow:g.func.isRequired,initialListSize:g.number,onEndReached:g.func,onEndReachedThreshold:g.number,pageSize:g.number,renderFooter:g.func,renderHeader:g.func,renderSectionHeader:g.func,renderScrollComponent:s.PropTypes.func.isRequired,scrollRenderAheadDistance:s.PropTypes.number,onChangeVisibleRows:s.PropTypes.func,removeClippedSubviews:s.PropTypes.bool}),getMetrics:function(){return{contentLength:this.scrollProperties.contentLength,totalRows:this.props.dataSource.getRowCount(),renderedRows:this.state.curRenderedRowsCount,visibleRows:Object.keys(this._visibleRows).length}},getScrollResponder:function(){return this.refs[E]&&this.refs[E].getScrollResponder&&this.refs[E].getScrollResponder()},setNativeProps:function(e){this.refs[E].setNativeProps(e)},getDefaultProps:function(){return{initialListSize:_,pageSize:y,renderScrollComponent:function(e){return s.createElement(l,e)},scrollRenderAheadDistance:b,onEndReachedThreshold:S}},getInitialState:function(){return{curRenderedRowsCount:this.props.initialListSize,prevRenderedRowsCount:0,highlightedRow:{}}},getInnerViewNode:function(){return this.refs[E].getInnerViewNode()},componentWillMount:function(){this.scrollProperties={visibleLength:null,
contentLength:null,offset:0},this._childFrames=[],this._visibleRows={}},componentDidMount:function(){var e=this;this.requestAnimationFrame(function(){e._measureAndUpdateScrollProps()})},componentWillReceiveProps:function(e){this.props.dataSource!==e.dataSource&&this.setState(function(e,t){var n=Math.min(e.curRenderedRowsCount+t.pageSize,t.dataSource.getRowCount());return{prevRenderedRowsCount:0,curRenderedRowsCount:n}})},componentDidUpdate:function(){var e=this;this.requestAnimationFrame(function(){e._measureAndUpdateScrollProps()})},onRowHighlighted:function(e,t){this.setState({highlightedRow:{sectionID:e,rowID:t}})},render:function(){for(var e=[],t=this.props.dataSource,n=t.rowIdentities,r=0,i=[],a=this.props.renderHeader&&this.props.renderHeader(),u=this.props.renderFooter&&this.props.renderFooter(),c=a?1:0,l=0;l<n.length;l++){var p=t.sectionIdentities[l],f=n[l];if(0!==f.length){if(this.props.renderSectionHeader){var d=r>=this.state.prevRenderedRowsCount&&t.sectionHeaderShouldUpdate(l);e.push(s.createElement(h,{key:"s_"+p,shouldUpdate:!!d,render:this.props.renderSectionHeader.bind(null,t.getSectionHeaderData(l),p)})),i.push(c++)}for(var m=0;m<f.length;m++){var v=f[m],g=p+v,y=r>=this.state.prevRenderedRowsCount&&t.rowShouldUpdate(l,m),_=s.createElement(h,{key:"r_"+g,shouldUpdate:!!y,render:this.props.renderRow.bind(null,t.getRowData(l,m),p,v,this.onRowHighlighted)});if(e.push(_),c++,this.props.renderSeparator&&(m!==f.length-1||l===n.length-1)){var b=this.state.highlightedRow.sectionID===p&&(this.state.highlightedRow.rowID===v||this.state.highlightedRow.rowID===f[m+1]),S=this.props.renderSeparator(p,v,b);e.push(S),c++}if(++r===this.state.curRenderedRowsCount)break}if(r>=this.state.curRenderedRowsCount)break}}var w=this.props,T=w.renderScrollComponent,C=o(w,["renderScrollComponent"]);return C.scrollEventThrottle||(C.scrollEventThrottle=R),Object.assign(C,{onScroll:this._onScroll,stickyHeaderIndices:i,onKeyboardWillShow:void 0,onKeyboardWillHide:void 0,onKeyboardDidShow:void 0,onKeyboardDidHide:void 0}),s.cloneElement(T(C),{ref:E},a,e,u)},_measureAndUpdateScrollProps:function(){var e=this.getScrollResponder();e&&e.getInnerViewNode&&(u.measureLayout(e.getInnerViewNode(),s.findNodeHandle(e),m,this._setScrollContentLength),u.measureLayoutRelativeToParent(s.findNodeHandle(e),m,this._setScrollVisibleLength),c&&c.calculateChildFrames&&c.calculateChildFrames(s.findNodeHandle(e),this._updateChildFrames))},_setScrollContentLength:function(e,t,n,r){this.scrollProperties.contentLength=this.props.horizontal?n:r},_setScrollVisibleLength:function(e,t,n,r){this.scrollProperties.visibleLength=this.props.horizontal?n:r,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()},_updateChildFrames:function(e){this._updateVisibleRows(e)},_renderMoreRowsIfNeeded:function(){if(null!==this.scrollProperties.contentLength&&null!==this.scrollProperties.visibleLength&&this.state.curRenderedRowsCount!==this.props.dataSource.getRowCount()){var e=this._getDistanceFromEnd(this.scrollProperties);e<this.props.scrollRenderAheadDistance&&this._pageInNewRows()}},_pageInNewRows:function(){var e=this;this.setState(function(e,t){var n=Math.min(e.curRenderedRowsCount+t.pageSize,t.dataSource.getRowCount());return{prevRenderedRowsCount:e.curRenderedRowsCount,curRenderedRowsCount:n}},function(){e._measureAndUpdateScrollProps(),e.setState(function(e){return{prevRenderedRowsCount:e.curRenderedRowsCount}})})},_getDistanceFromEnd:function(e){return e.contentLength-e.visibleLength-e.offset},_updateVisibleRows:function(e){var t=this;if(this.props.onChangeVisibleRows){e&&e.forEach(function(e){t._childFrames[e.index]=v(e)});for(var n=!this.props.horizontal,r=this.props.dataSource,o=this.scrollProperties.offset,i=o+this.scrollProperties.visibleLength,a=r.rowIdentities,s=this.props.renderHeader&&this.props.renderHeader(),u=s?1:0,c=!1,l={},p=0;p<a.length;p++){var h=a[p];if(0!==h.length){var f=r.sectionIdentities[p];this.props.renderSectionHeader&&u++;var m=this._visibleRows[f];m||(m={});for(var g=0;g<h.length;g++){var y=h[g],_=this._childFrames[u];if(u++,!_)break;var b=m[y],S=n?_.y:_.x,R=S+(n?_.height:_.width);S>i||o>R?b&&(c=!0,delete m[y],l[f]||(l[f]={}),l[f][y]=!1):b||(c=!0,m[y]=!0,l[f]||(l[f]={}),l[f][y]=!0)}d(m)?this._visibleRows[f]&&delete this._visibleRows[f]:this._visibleRows[f]=m}}c&&this.props.onChangeVisibleRows(this._visibleRows,l)}},_onScroll:function(e){var t=!this.props.horizontal;this.scrollProperties.visibleLength=e.nativeEvent.layoutMeasurement[t?"height":"width"],this.scrollProperties.contentLength=e.nativeEvent.contentSize[t?"height":"width"],this.scrollProperties.offset=e.nativeEvent.contentOffset[t?"y":"x"],this._updateVisibleRows(e.nativeEvent.updatedChildFrames);var n=this._getDistanceFromEnd(this.scrollProperties)<this.props.onEndReachedThreshold;n&&this.props.onEndReached&&this.scrollProperties.contentLength!==this._sentEndForContentLength&&this.state.curRenderedRowsCount===this.props.dataSource.getRowCount()?(this._sentEndForContentLength=this.scrollProperties.contentLength,this.props.onEndReached(e)):this._renderMoreRowsIfNeeded(),this.props.onScroll&&this.props.onScroll(e)}});n.exports=w}),__d("ListViewDataSource",["invariant","isEmpty","warning"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,n){return e[t][n]}function a(e,t){return e[t]}function s(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.length}return t}function u(e){if(p(e))return{};for(var t={},n=0;n<e.length;n++){var r=e[n];h(!t[r],"Value appears more than once in array: "+r),t[r]=!0}return t}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=t("invariant"),p=t("isEmpty"),h=t("warning"),f=function(){function e(t){o(this,e),l(t&&"function"==typeof t.rowHasChanged,"Must provide a rowHasChanged function."),this._rowHasChanged=t.rowHasChanged,this._getRowData=t.getRowData||i,this._sectionHeaderHasChanged=t.sectionHeaderHasChanged,this._getSectionHeaderData=t.getSectionHeaderData||a,this._dataBlob=null,this._dirtyRows=[],this._dirtySections=[],this._cachedRowCount=0,this.rowIdentities=[],this.sectionIdentities=[]}return c(e,[{key:"cloneWithRows",value:function(e,t){var n=t?[t]:null;return this._sectionHeaderHasChanged||(this._sectionHeaderHasChanged=function(){return!1}),this.cloneWithRowsAndSections({s1:e},["s1"],n)}},{key:"cloneWithRowsAndSections",value:function(t,n,r){l("function"==typeof this._sectionHeaderHasChanged,"Must provide a sectionHeaderHasChanged function with section data.");var o=new e({getRowData:this._getRowData,getSectionHeaderData:this._getSectionHeaderData,rowHasChanged:this._rowHasChanged,sectionHeaderHasChanged:this._sectionHeaderHasChanged});return o._dataBlob=t,n?o.sectionIdentities=n:o.sectionIdentities=Object.keys(t),r?o.rowIdentities=r:(o.rowIdentities=[],o.sectionIdentities.forEach(function(e){o.rowIdentities.push(Object.keys(t[e]))})),o._cachedRowCount=s(o.rowIdentities),o._calculateDirtyArrays(this._dataBlob,this.sectionIdentities,this.rowIdentities),o}},{key:"getRowCount",value:function(){return this._cachedRowCount}},{key:"rowShouldUpdate",value:function(e,t){var n=this._dirtyRows[e][t];return h(void 0!==n,"missing dirtyBit for section, row: "+e+", "+t),n}},{key:"getRowData",value:function(e,t){var n=this.sectionIdentities[e],r=this.rowIdentities[e][t];return h(void 0!==n&&void 0!==r,"rendering invalid section, row: "+e+", "+t),this._getRowData(this._dataBlob,n,r)}},{key:"getRowIDForFlatIndex",value:function(e){for(var t=e,n=0;n<this.sectionIdentities.length;n++){if(!(t>=this.rowIdentities[n].length))return this.rowIdentities[n][t];t-=this.rowIdentities[n].length}return null}},{key:"getSectionIDForFlatIndex",value:function(e){for(var t=e,n=0;n<this.sectionIdentities.length;n++){if(!(t>=this.rowIdentities[n].length))return this.sectionIdentities[n];t-=this.rowIdentities[n].length}return null}},{key:"getSectionLengths",value:function(){for(var e=[],t=0;t<this.sectionIdentities.length;t++)e.push(this.rowIdentities[t].length);return e}},{key:"sectionHeaderShouldUpdate",value:function(e){var t=this._dirtySections[e];return h(void 0!==t,"missing dirtyBit for section: "+e),t}},{key:"getSectionHeaderData",value:function(e){if(!this._getSectionHeaderData)return null;var t=this.sectionIdentities[e];return h(void 0!==t,"renderSection called on invalid section: "+e),this._getSectionHeaderData(this._dataBlob,t)}},{key:"_calculateDirtyArrays",value:function(e,t,n){for(var r=u(t),o={},i=0;i<n.length;i++){var a=t[i];h(!o[a],"SectionID appears more than once: "+a),o[a]=u(n[i])}this._dirtySections=[],this._dirtyRows=[];for(var s,c=0;c<this.sectionIdentities.length;c++){var a=this.sectionIdentities[c];s=!r[a];var l=this._sectionHeaderHasChanged;!s&&l&&(s=l(this._getSectionHeaderData(e,a),this._getSectionHeaderData(this._dataBlob,a))),this._dirtySections.push(!!s),this._dirtyRows[c]=[];for(var p=0;p<this.rowIdentities[c].length;p++){var f=this.rowIdentities[c][p];s=!r[a]||!o[a][f]||this._rowHasChanged(this._getRowData(e,a,f),this._getRowData(this._dataBlob,a,f)),this._dirtyRows[c].push(!!s)}}}}]),e}();n.exports=f}),__d("isEmpty",[],function(e,t,n,r){function o(e){if(Array.isArray(e))return 0===e.length;if("object"==typeof e){for(var t in e)return!1;return!0}return!e}n.exports=o}),__d("ScrollView",["EdgeInsetsPropType","Platform","PointPropType","NativeModules","React","ReactNativeViewAttributes","NativeModules","ScrollResponder","StyleSheet","StyleSheetPropType","View","ViewStylePropTypes","createReactNativeComponentClass","deepDiffer","dismissKeyboard","flattenStyle","insetsDiffer","invariant","pointsDiffer","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("EdgeInsetsPropType"),a=t("Platform"),s=t("PointPropType"),u=t("NativeModules").UIManager.RCTScrollView,c=t("React"),l=t("ReactNativeViewAttributes"),p=(t("NativeModules").UIManager,t("ScrollResponder")),h=t("StyleSheet"),f=t("StyleSheetPropType"),d=t("View"),m=t("ViewStylePropTypes"),v=t("createReactNativeComponentClass"),g=t("deepDiffer"),y=t("dismissKeyboard"),_=t("flattenStyle"),b=t("insetsDiffer"),S=t("invariant"),R=t("pointsDiffer"),E=t("requireNativeComponent"),w=c.PropTypes,T="ScrollView",C="InnerScrollView",O=c.createClass({displayName:"ScrollView",propTypes:{automaticallyAdjustContentInsets:w.bool,contentInset:i,contentOffset:s,bounces:w.bool,bouncesZoom:w.bool,alwaysBounceHorizontal:w.bool,alwaysBounceVertical:w.bool,centerContent:w.bool,contentContainerStyle:f(m),decelerationRate:w.number,horizontal:w.bool,directionalLockEnabled:w.bool,canCancelContentTouches:w.bool,keyboardDismissMode:w.oneOf(["none","interactive","on-drag"]),keyboardShouldPersistTaps:w.bool,maximumZoomScale:w.number,minimumZoomScale:w.number,onScroll:w.func,onScrollAnimationEnd:w.func,pagingEnabled:w.bool,scrollEnabled:w.bool,scrollEventThrottle:w.number,scrollIndicatorInsets:i,scrollsToTop:w.bool,showsHorizontalScrollIndicator:w.bool,showsVerticalScrollIndicator:w.bool,stickyHeaderIndices:w.arrayOf(w.number),style:f(m),snapToInterval:w.number,snapToAlignment:w.oneOf(["start","center","end"]),removeClippedSubviews:w.bool,zoomScale:w.number},mixins:[p.Mixin],getInitialState:function(){return this.scrollResponderMixinGetInitialState()},setNativeProps:function(e){this.refs[T].setNativeProps(e)},getScrollResponder:function(){return this},getInnerViewNode:function(){return c.findNodeHandle(this.refs[C])},scrollTo:function(e,t){this.getScrollResponder().scrollResponderScrollTo(t||0,e||0)},scrollWithoutAnimationTo:function(e,t){this.getScrollResponder().scrollResponderScrollWithouthAnimationTo(t||0,e||0)},handleScroll:function(e){__DEV__&&this.props.onScroll&&!this.props.scrollEventThrottle&&console.log("You specified `onScroll` on a <ScrollView> but not `scrollEventThrottle`. You will only receive one event. Using `16` you get all the events but be aware that it may cause frame drops, use a bigger number if you don't need as much precision."),"android"===a.OS&&"on-drag"===this.props.keyboardDismissMode&&y(),this.scrollResponderHandleScroll(e)},render:function(){var e=[this.props.horizontal&&x.contentContainerHorizontal,this.props.contentContainerStyle];if(__DEV__&&this.props.style){var t=_(this.props.style),n=["alignItems","justifyContent"].filter(function(e){return t&&void 0!==t[e]});S(0===n.length,"ScrollView child layout ("+JSON.stringify(n)+") must by applied through the contentContainerStyle prop.")}var r,i=c.createElement(d,{ref:C,style:e,removeClippedSubviews:this.props.removeClippedSubviews,collapsable:!1},this.props.children),s=void 0!==this.props.alwaysBounceHorizontal?this.props.alwaysBounceHorizontal:this.props.horizontal,l=void 0!==this.props.alwaysBounceVertical?this.props.alwaysBounceVertical:!this.props.horizontal,p=o({},this.props,{alwaysBounceHorizontal:s,alwaysBounceVertical:l,style:[x.base,this.props.style],onTouchStart:this.scrollResponderHandleTouchStart,onTouchMove:this.scrollResponderHandleTouchMove,onTouchEnd:this.scrollResponderHandleTouchEnd,onScrollBeginDrag:this.scrollResponderHandleScrollBeginDrag,onScrollEndDrag:this.scrollResponderHandleScrollEndDrag,onMomentumScrollBegin:this.scrollResponderHandleMomentumScrollBegin,onMomentumScrollEnd:this.scrollResponderHandleMomentumScrollEnd,onStartShouldSetResponder:this.scrollResponderHandleStartShouldSetResponder,onStartShouldSetResponderCapture:this.scrollResponderHandleStartShouldSetResponderCapture,onScrollShouldSetResponder:this.scrollResponderHandleScrollShouldSetResponder,onScroll:this.handleScroll,onResponderGrant:this.scrollResponderHandleResponderGrant,onResponderTerminationRequest:this.scrollResponderHandleTerminationRequest,onResponderTerminate:this.scrollResponderHandleTerminate,onResponderRelease:this.scrollResponderHandleResponderRelease,onResponderReject:this.scrollResponderHandleResponderReject});return"ios"===a.OS?r=u:"android"===a.OS&&(r=this.props.horizontal?N:P),S(void 0!==r,"ScrollViewClass must not be undefined"),c.createElement(r,o({},p,{ref:T}),i)}}),x=h.create({base:{flex:1},contentContainerHorizontal:{alignSelf:"flex-start",flexDirection:"row"}}),I=o({},l.UIView,{alwaysBounceHorizontal:!0,alwaysBounceVertical:!0,automaticallyAdjustContentInsets:!0,bounces:!0,centerContent:!0,contentInset:{diff:b},contentOffset:{diff:R},decelerationRate:!0,horizontal:!0,keyboardDismissMode:!0,keyboardShouldPersistTaps:!0,maximumZoomScale:!0,minimumZoomScale:!0,pagingEnabled:!0,removeClippedSubviews:!0,scrollEnabled:!0,scrollIndicatorInsets:{diff:b},scrollsToTop:!0,showsHorizontalScrollIndicator:!0,showsVerticalScrollIndicator:!0,snapToInterval:!0,snapToAlignment:!0,stickyHeaderIndices:{diff:g},scrollEventThrottle:!0,zoomScale:!0});if("android"===a.OS)var P=v({validAttributes:I,uiViewClassName:"RCTScrollView"}),N=v({validAttributes:I,uiViewClassName:"AndroidHorizontalScrollView"});else if("ios"===a.OS)var u=E("RCTScrollView",O);n.exports=O}),__d("PointPropType",["ReactPropTypes","createStrictShapeTypeChecker"],function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i=t("createStrictShapeTypeChecker"),a=i({x:o.number,y:o.number});n.exports=a}),__d("ScrollResponder",["NativeModules","Platform","RCTDeviceEventEmitter","React","Subscribable","TextInputState","warning"],function(e,t,n,r){"use strict";var o=t("NativeModules"),i=t("Platform"),a=t("RCTDeviceEventEmitter"),s=t("React"),u=t("Subscribable"),c=t("TextInputState"),l=o.UIManager,p=l.RCTScrollView.Constants,h=t("warning"),f=16,d={mixins:[u.Mixin],statics:p,scrollResponderMixinGetInitialState:function(){return{isTouching:!1,lastMomentumScrollBeginTime:0,lastMomentumScrollEndTime:0,observedScrollSinceBecomingResponder:!1,becameResponderWhileAnimating:!1}},scrollResponderHandleScrollShouldSetResponder:function(){return this.state.isTouching},scrollResponderHandleStartShouldSetResponder:function(){return!1},scrollResponderHandleStartShouldSetResponderCapture:function(e){var t=c.currentlyFocusedField();return this.props.keyboardShouldPersistTaps===!1&&null!=t&&e.target!==t?!0:this.scrollResponderIsAnimating()},scrollResponderHandleResponderReject:function(){h(!1,"ScrollView doesn't take rejection well - scrolls anyway")},scrollResponderHandleTerminationRequest:function(){return!this.state.observedScrollSinceBecomingResponder},scrollResponderHandleTouchEnd:function(e){var t=e.nativeEvent;this.state.isTouching=0!==t.touches.length,this.props.onTouchEnd&&this.props.onTouchEnd(e)},scrollResponderHandleResponderRelease:function(e){this.props.onResponderRelease&&this.props.onResponderRelease(e);var t=c.currentlyFocusedField();this.props.keyboardShouldPersistTaps!==!1||null==t||e.target===t||this.state.observedScrollSinceBecomingResponder||this.state.becameResponderWhileAnimating||(this.props.onScrollResponderKeyboardDismissed&&this.props.onScrollResponderKeyboardDismissed(e),c.blurTextInput(t))},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){this.props.onScrollBeginDrag&&this.props.onScrollBeginDrag(e)},scrollResponderHandleScrollEndDrag:function(e){this.props.onScrollEndDrag&&this.props.onScrollEndDrag(e)},scrollResponderHandleMomentumScrollBegin:function(e){this.state.lastMomentumScrollBeginTime=Date.now(),this.props.onMomentumScrollBegin&&this.props.onMomentumScrollBegin(e)},scrollResponderHandleMomentumScrollEnd:function(e){this.state.lastMomentumScrollEndTime=Date.now(),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(){var e=Date.now(),t=e-this.state.lastMomentumScrollEndTime,n=f>t||this.state.lastMomentumScrollEndTime<this.state.lastMomentumScrollBeginTime;return n},scrollResponderScrollTo:function(e,t){"android"===i.OS?l.dispatchViewManagerCommand(s.findNodeHandle(this),l.RCTScrollView.Commands.scrollTo,[e,t]):l.scrollTo(s.findNodeHandle(this),e,t)},scrollResponderScrollWithouthAnimationTo:function(e,t){"android"===i.OS?l.dispatchViewManagerCommand(s.findNodeHandle(this),l.RCTScrollView.Commands.scrollWithoutAnimationTo,[e,t]):l.scrollWithoutAnimationTo(s.findNodeHandle(this),e,t)},scrollResponderZoomTo:function(e){l.zoomToRect(s.findNodeHandle(this),e)},scrollResponderScrollNativeHandleToKeyboard:function(e,t,n){this.additionalScrollOffset=t||0,this.preventNegativeScrollOffset=!!n,l.measureLayout(e,s.findNodeHandle(this.getInnerViewNode()),this.scrollResponderTextInputFocusError,this.scrollResponderInputMeasureAndScrollToKeyboard)},scrollResponderInputMeasureAndScrollToKeyboard:function(e,t,n,r){if(this.keyboardWillOpenTo){var o=t-this.keyboardWillOpenTo.endCoordinates.screenY+r+this.additionalScrollOffset;this.preventNegativeScrollOffset&&(o=Math.max(0,o)),this.scrollResponderScrollTo(0,o)}this.additionalOffset=0,this.preventNegativeScrollOffset=!1},scrollResponderTextInputFocusError:function(e){console.error("Error measuring text field: ",e)},componentWillMount:function(){this.keyboardWillOpenTo=null,this.additionalScrollOffset=0,this.addListenerOn(a,"keyboardWillShow",this.scrollResponderKeyboardWillShow),this.addListenerOn(a,"keyboardWillHide",this.scrollResponderKeyboardWillHide),this.addListenerOn(a,"keyboardDidShow",this.scrollResponderKeyboardDidShow),this.addListenerOn(a,"keyboardDidHide",this.scrollResponderKeyboardDidHide),h(this.getInnerViewNode,"You need to implement getInnerViewNode in "+this.constructor.displayName+" to get fullfunctionality from ScrollResponder mixin. See example of ListView and ScrollView.")},scrollResponderKeyboardWillShow:function(e){this.keyboardWillOpenTo=e,this.props.onKeyboardWillShow&&this.props.onKeyboardWillShow(e)},scrollResponderKeyboardWillHide:function(e){this.keyboardWillOpenTo=null,this.props.onKeyboardWillHide&&this.props.onKeyboardWillHide(e)},scrollResponderKeyboardDidShow:function(e){e&&(this.keyboardWillOpenTo=e),this.props.onKeyboardDidShow&&this.props.onKeyboardDidShow(e)},scrollResponderKeyboardDidHide:function(){this.keyboardWillOpenTo=null,this.props.onKeyboardDidHide&&this.props.onKeyboardDidHide()}},m={Mixin:d};n.exports=m}),__d("Subscribable",["EventEmitter"],function(e,t,n,r){"use strict";var o={};o.Mixin={componentWillMount:function(){this._subscribableSubscriptions=[]},componentWillUnmount:function(){this._subscribableSubscriptions.forEach(function(e){return e.remove()}),this._subscribableSubscriptions=null},addListenerOn:function(e,t,n,r){this._subscribableSubscriptions.push(e.addListener(t,n,r))}},n.exports=o}),__d("dismissKeyboard",["TextInputState"],function(e,t,n,r){"use strict";function o(){i.blurTextInput(i.currentlyFocusedField())}var i=t("TextInputState");n.exports=o}),__d("StaticRenderer",["React"],function(e,t,n,r){"use strict";var o=t("React"),i=o.createClass({displayName:"StaticRenderer",propTypes:{shouldUpdate:o.PropTypes.bool.isRequired,render:o.PropTypes.func.isRequired},shouldComponentUpdate:function(e){return e.shouldUpdate},render:function(){return this.props.render()}});n.exports=i}),__d("react-timer-mixin/TimerMixin.js",[],function(e,t,n,r){"use strict";var o="undefined"==typeof window?e:window,i=function(e,t,n){return function(r,o){var i=e(function(){t.call(this,i),r.apply(this,arguments)}.bind(this),o);return this[n]?this[n].push(i):this[n]=[i],i}},a=function(e,t){return function(n){if(this[t]){var r=this[t].indexOf(n);-1!==r&&this[t].splice(r,1)}e(n)}},s="TimerMixin_timeouts",u=a(o.clearTimeout,s),c=i(o.setTimeout,u,s),l="TimerMixin_intervals",p=a(o.clearInterval,l),h=i(o.setInterval,function(){},l),f="TimerMixin_immediates",d=a(o.clearImmediate,f),m=i(o.setImmediate,d,f),v="TimerMixin_rafs",g=a(o.cancelAnimationFrame,v),y=i(o.requestAnimationFrame,g,v),_={componentWillUnmount:function(){this[s]&&this[s].forEach(function(e){o.clearTimeout(e)}),this[s]=null,this[l]&&this[l].forEach(function(e){o.clearInterval(e)}),this[l]=null,this[f]&&this[f].forEach(function(e){o.clearImmediate(e)}),this[f]=null,this[v]&&this[v].forEach(function(e){o.cancelAnimationFrame(e)}),this[v]=null},setTimeout:c,clearTimeout:u,setInterval:h,clearInterval:p,setImmediate:m,clearImmediate:d,requestAnimationFrame:y,cancelAnimationFrame:g};n.exports=_}),__d("MapView",["EdgeInsetsPropType","NativeMethodsMixin","Platform","React","ReactNativeViewAttributes","View","createReactNativeComponentClass","deepDiffer","insetsDiffer","merge","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("EdgeInsetsPropType"),a=t("NativeMethodsMixin"),s=t("Platform"),u=t("React"),c=t("ReactNativeViewAttributes"),l=t("View"),p=t("createReactNativeComponentClass"),h=t("deepDiffer"),f=t("insetsDiffer"),d=t("merge"),m=t("requireNativeComponent"),v=u.createClass({displayName:"MapView",mixins:[a],checkAnnotationIds:function(e){var t=e.map(function(e){return e.id||(e.id=encodeURIComponent(JSON.stringify(e))),e});this.setState({annotations:t})},componentWillMount:function(){this.props.annotations&&this.checkAnnotationIds(this.props.annotations)},componentWillReceiveProps:function(e){e.annotations&&this.checkAnnotationIds(e.annotations)},propTypes:{style:l.propTypes.style,showsUserLocation:u.PropTypes.bool,zoomEnabled:u.PropTypes.bool,rotateEnabled:u.PropTypes.bool,pitchEnabled:u.PropTypes.bool,scrollEnabled:u.PropTypes.bool,mapType:u.PropTypes.oneOf(["standard","satellite","hybrid"]),region:u.PropTypes.shape({latitude:u.PropTypes.number.isRequired,longitude:u.PropTypes.number.isRequired,latitudeDelta:u.PropTypes.number.isRequired,longitudeDelta:u.PropTypes.number.isRequired}),annotations:u.PropTypes.arrayOf(u.PropTypes.shape({latitude:u.PropTypes.number.isRequired,longitude:u.PropTypes.number.isRequired,animateDrop:u.PropTypes.bool,title:u.PropTypes.string,subtitle:u.PropTypes.string,hasLeftCallout:u.PropTypes.bool,hasRightCallout:u.PropTypes.bool,onLeftCalloutPress:u.PropTypes.func,onRightCalloutPress:u.PropTypes.func,id:u.PropTypes.string})),maxDelta:u.PropTypes.number,minDelta:u.PropTypes.number,legalLabelInsets:i,onRegionChange:u.PropTypes.func,onRegionChangeComplete:u.PropTypes.func,onAnnotationPress:u.PropTypes.func},_onChange:function(e){e.nativeEvent.continuous?this.props.onRegionChange&&this.props.onRegionChange(e.nativeEvent.region):this.props.onRegionChangeComplete&&this.props.onRegionChangeComplete(e.nativeEvent.region)},_onPress:function(e){if("annotation-click"===e.nativeEvent.action&&this.props.onAnnotationPress&&this.props.onAnnotationPress(e.nativeEvent.annotation),"callout-click"===e.nativeEvent.action){if(!this.props.annotations)return;for(var t=0;t<this.props.annotations.length;t++){var n=this.props.annotations[t];n.id===e.nativeEvent.annotationId&&("left"===e.nativeEvent.side?n.onLeftCalloutPress&&n.onLeftCalloutPress(e.nativeEvent):"right"===e.nativeEvent.side&&n.onRightCalloutPress&&n.onRightCalloutPress(e.nativeEvent))}}},render:function(){return u.createElement(g,o({},this.props,{onPress:this._onPress,onChange:this._onChange}))}});if("android"===s.OS)var g=p({validAttributes:d(c.UIView,{active:!0,showsUserLocation:!0,zoomEnabled:!0,rotateEnabled:!0,pitchEnabled:!0,scrollEnabled:!0,region:{diff:h},annotations:{diff:h},maxDelta:!0,minDelta:!0,legalLabelInsets:{diff:f}}),uiViewClassName:"RCTMap"});else var g=m("RCTMap",v,{nativeOnly:{onChange:!0,onPress:!0}});n.exports=v}),__d("Modal",["ReactPropTypes","React","StyleSheet","View","requireNativeComponent"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function v(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:v(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("ReactPropTypes"),c=t("React"),l=t("StyleSheet"),p=t("View"),h=t("requireNativeComponent"),f=h("RCTModalHostView",null),d=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){if(this.props.visible===!1)return null;if(this.props.transparent)var e={backgroundColor:"transparent"};return c.createElement(f,{animated:this.props.animated,transparent:this.props.transparent,onDismiss:this.props.onDismiss,style:m.modal},c.createElement(p,{style:[m.container,e]},this.props.children))}}]),t}(c.Component);d.propTypes={animated:u.bool,transparent:u.bool,onDismiss:u.func};var m=l.create({modal:{position:"absolute"},container:{left:0,position:"absolute",top:0}});n.exports=d}),__d("Navigator",["NativeModules","Dimensions","InteractionMixin","Map","NavigationContext","NavigatorBreadcrumbNavigationBar","NavigatorNavigationBar","NavigatorSceneConfigs","PanResponder","React","StaticContainer.react","StyleSheet","Subscribable","react-timer-mixin/TimerMixin.js","View","clamp","flattenStyle","invariant","rebound/rebound.js"],function(e,t,n,r){"use strict";function o(){return I++}function i(e){if(null===e||"object"!=typeof e)return String(e);var t="__navigatorRouteID";return e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!1,value:o()}),e[t]}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=t("NativeModules").AnimationsDebugModule,u=t("Dimensions"),c=t("InteractionMixin"),l=t("Map"),p=t("NavigationContext"),h=t("NavigatorBreadcrumbNavigationBar"),f=t("NavigatorNavigationBar"),d=t("NavigatorSceneConfigs"),m=t("PanResponder"),v=t("React"),g=(t("StaticContainer.react"),t("StyleSheet")),y=t("Subscribable"),_=t("react-timer-mixin/TimerMixin.js"),b=t("View"),S=t("clamp"),R=t("flattenStyle"),E=t("invariant"),w=t("rebound/rebound.js"),T=v.PropTypes,C=u.get("window").width,O=u.get("window").height,x={pointerEvents:"none",style:{top:O,bottom:-O,opacity:0}},I=0,P=g.create({container:{flex:1,overflow:"hidden"},defaultSceneStyle:{position:"absolute",left:0,right:0,bottom:0,top:0},baseScene:{position:"absolute",overflow:"hidden",left:0,right:0,bottom:0,top:0},disabledScene:{top:O,bottom:-O},transitioner:{flex:1,backgroundColor:"transparent",overflow:"hidden"}}),N=["pop","jumpBack","jumpForward"],D=v.createClass({displayName:"Navigator",propTypes:{configureScene:T.func,renderScene:T.func.isRequired,initialRoute:T.object,initialRouteStack:T.arrayOf(T.object),onWillFocus:T.func,onDidFocus:T.func,navigationBar:T.node,navigator:T.object,sceneStyle:b.propTypes.style},statics:{BreadcrumbNavigationBar:h,NavigationBar:f,SceneConfigs:d},mixins:[_,c,y.Mixin],getDefaultProps:function(){return{configureScene:function(){return d.PushFromRight},sceneStyle:P.defaultSceneStyle}},getInitialState:function(){var e=this;this._renderedSceneMap=new l;var t=this.props.initialRouteStack||[this.props.initialRoute];E(t.length>=1,"Navigator requires props.initialRoute or props.initialRouteStack.");var n=t.length-1;return this.props.initialRoute&&(n=t.indexOf(this.props.initialRoute),E(-1!==n,"initialRoute is not in initialRouteStack.")),{sceneConfigStack:t.map(function(t){return e.props.configureScene(t)}),routeStack:t,presentedIndex:n,transitionFromIndex:null,activeGesture:null,pendingGestureProgress:null,transitionQueue:[]}},componentWillMount:function(){var e=this;this.__defineGetter__("navigationContext",this._getNavigationContext),this._subRouteFocus=[],this.parentNavigator=this.props.navigator,this._handlers={},this.springSystem=new w.SpringSystem,this.spring=this.springSystem.createSpring(),this.spring.setRestSpeedThreshold(.05),this.spring.setCurrentValue(0).setAtRest(),this.spring.addListener({onSpringEndStateChange:function(){e._interactionHandle||(e._interactionHandle=e.createInteractionHandle())},onSpringUpdate:function(){e._handleSpringUpdate()},onSpringAtRest:function(){e._completeTransition()}}),this.panGesture=m.create({onMoveShouldSetPanResponder:this._handleMoveShouldSetPanResponder,onPanResponderGrant:this._handlePanResponderGrant,onPanResponderRelease:this._handlePanResponderRelease,onPanResponderMove:this._handlePanResponderMove,onPanResponderTerminate:this._handlePanResponderTerminate}),this._interactionHandle=null,this._emitWillFocus(this.state.routeStack[this.state.presentedIndex])},componentDidMount:function(){this._handleSpringUpdate(),this._emitDidFocus(this.state.routeStack[this.state.presentedIndex])},componentWillUnmount:function(){this._navigationContext&&(this._navigationContext.dispose(),this._navigationContext=null)},immediatelyResetRouteStack:function(e){
var t=this,n=e.length-1;this.setState({routeStack:e,sceneConfigStack:e.map(this.props.configureScene),presentedIndex:n,activeGesture:null,transitionFromIndex:null,transitionQueue:[]},function(){t._handleSpringUpdate()})},_transitionTo:function(e,t,n,r){if(e!==this.state.presentedIndex){if(null!==this.state.transitionFromIndex)return void this.state.transitionQueue.push({destIndex:e,velocity:t,cb:r});this.state.transitionFromIndex=this.state.presentedIndex,this.state.presentedIndex=e,this.state.transitionCb=r,this._onAnimationStart(),s&&s.startRecordingFps();var o=this.state.sceneConfigStack[this.state.transitionFromIndex]||this.state.sceneConfigStack[this.state.presentedIndex];E(o,"Cannot configure scene at index "+this.state.transitionFromIndex),null!=n&&this.spring.setCurrentValue(n),this.spring.setOvershootClampingEnabled(!0),this.spring.getSpringConfig().friction=o.springFriction,this.spring.getSpringConfig().tension=o.springTension,this.spring.setVelocity(t||o.defaultTransitionVelocity),this.spring.setEndValue(1)}},_handleSpringUpdate:function(){if(null!=this.state.transitionFromIndex)this._transitionBetween(this.state.transitionFromIndex,this.state.presentedIndex,this.spring.getCurrentValue());else if(null!=this.state.activeGesture){var e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._transitionBetween(this.state.presentedIndex,e,this.spring.getCurrentValue())}},_completeTransition:function(){if(1!==this.spring.getCurrentValue()&&0!==this.spring.getCurrentValue())return void(this.state.pendingGestureProgress&&(this.state.pendingGestureProgress=null));this._onAnimationEnd();var e=this.state.presentedIndex,t=this._subRouteFocus[e]||this.state.routeStack[e];if(this._emitDidFocus(t),s&&s.stopRecordingFps(Date.now()),this.state.transitionFromIndex=null,this.spring.setCurrentValue(0).setAtRest(),this._hideScenes(),this.state.transitionCb&&(this.state.transitionCb(),this.state.transitionCb=null),this._interactionHandle&&(this.clearInteractionHandle(this._interactionHandle),this._interactionHandle=null),this.state.pendingGestureProgress){var n=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);return this._enableScene(n),void this.spring.setEndValue(this.state.pendingGestureProgress)}if(this.state.transitionQueue.length){var r=this.state.transitionQueue.shift();this._enableScene(r.destIndex),this._emitWillFocus(this.state.routeStack[r.destIndex]),this._transitionTo(r.destIndex,r.velocity,null,r.cb)}},_emitDidFocus:function(e){this.navigationContext.emit("didfocus",{route:e}),this.props.onDidFocus&&this.props.onDidFocus(e)},_emitWillFocus:function(e){this.navigationContext.emit("willfocus",{route:e});var t=this._navBar;t&&t.handleWillFocus&&t.handleWillFocus(e),this.props.onWillFocus&&this.props.onWillFocus(e)},_hideScenes:function(){var e=null;this.state.activeGesture&&(e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture));for(var t=0;t<this.state.routeStack.length;t++)t!==this.state.presentedIndex&&t!==this.state.transitionFromIndex&&t!==e&&this._disableScene(t)},_disableScene:function(e){this.refs["scene_"+e]&&this.refs["scene_"+e].setNativeProps(x)},_enableScene:function(e){var t=R([P.baseScene,this.props.sceneStyle]),n={pointerEvents:"auto",style:{top:t.top,bottom:t.bottom}};e!==this.state.transitionFromIndex&&e!==this.state.presentedIndex&&(n.style.opacity=0),this.refs["scene_"+e]&&this.refs["scene_"+e].setNativeProps(n)},_onAnimationStart:function(){var e=this.state.presentedIndex,t=this.state.presentedIndex;null!=this.state.transitionFromIndex?e=this.state.transitionFromIndex:this.state.activeGesture&&(t=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture)),this._setRenderSceneToHardwareTextureAndroid(e,!0),this._setRenderSceneToHardwareTextureAndroid(t,!0);var n=this._navBar;n&&n.onAnimationStart&&n.onAnimationStart(e,t)},_onAnimationEnd:function(){for(var e=this.state.routeStack.length-1,t=0;e>=t;t++)this._setRenderSceneToHardwareTextureAndroid(t,!1);var n=this._navBar;n&&n.onAnimationEnd&&n.onAnimationEnd()},_setRenderSceneToHardwareTextureAndroid:function(e,t){var n=this.refs["scene_"+e];null!==n&&void 0!==n&&n.setNativeProps({renderToHardwareTextureAndroid:t})},_handleTouchStart:function(){this._eligibleGestures=N},_handleMoveShouldSetPanResponder:function(e,t){var n=this.state.sceneConfigStack[this.state.presentedIndex];return this._expectingGestureGrant=this._matchGestureAction(this._eligibleGestures,n.gestures,t),!!this._expectingGestureGrant},_doesGestureOverswipe:function(e){var t=this.state.presentedIndex<=0&&("pop"===e||"jumpBack"===e),n=this.state.presentedIndex>=this.state.routeStack.length-1&&"jumpForward"===e;return n||t},_handlePanResponderGrant:function(e,t){E(this._expectingGestureGrant,"Responder granted unexpectedly."),this._attachGesture(this._expectingGestureGrant),this._onAnimationStart(),this._expectingGestureGrant=null},_deltaForGestureAction:function(e){switch(e){case"pop":case"jumpBack":return-1;case"jumpForward":return 1;default:return void E(!1,"Unsupported gesture action "+e)}},_handlePanResponderRelease:function(e,t){var n=this,r=this.state.sceneConfigStack[this.state.presentedIndex],o=this.state.activeGesture;if(o){var i=r.gestures[o],a=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);if(0===this.spring.getCurrentValue())return this.spring.setCurrentValue(0).setAtRest(),void this._completeTransition();var s,u,c="top-to-bottom"===i.direction||"bottom-to-top"===i.direction,l="right-to-left"===i.direction||"bottom-to-top"===i.direction;c?(s=l?-t.vy:t.vy,u=l?-t.dy:t.dy):(s=l?-t.vx:t.vx,u=l?-t.dx:t.dx);var p=S(-10,s,10);if(Math.abs(s)<i.notMoving){var h=u>i.fullDistance*i.stillCompletionRatio;p=h?i.snapVelocity:-i.snapVelocity}if(0>p||this._doesGestureOverswipe(o)){if(null==this.state.transitionFromIndex){var f=this.state.presentedIndex;this.state.presentedIndex=a,this._transitionTo(f,-p,1-this.spring.getCurrentValue())}}else this._emitWillFocus(this.state.routeStack[a]),this._transitionTo(a,p,null,function(){"pop"===o&&n._cleanScenesPastIndex(a)});this._detachGesture()}},_handlePanResponderTerminate:function(e,t){if(null!=this.state.activeGesture){var n=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._detachGesture();var r=this.state.presentedIndex;this.state.presentedIndex=n,this._transitionTo(r,null,1-this.spring.getCurrentValue())}},_attachGesture:function(e){this.state.activeGesture=e;var t=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._enableScene(t)},_detachGesture:function(){this.state.activeGesture=null,this.state.pendingGestureProgress=null,this._hideScenes()},_handlePanResponderMove:function(e,t){var n=this.state.sceneConfigStack[this.state.presentedIndex];if(this.state.activeGesture){var r=n.gestures[this.state.activeGesture];return this._moveAttachedGesture(r,t)}var o=this._matchGestureAction(N,n.gestures,t);o&&this._attachGesture(o)},_moveAttachedGesture:function(e,t){var n="top-to-bottom"===e.direction||"bottom-to-top"===e.direction,r="right-to-left"===e.direction||"bottom-to-top"===e.direction,o=n?t.dy:t.dx;o=r?-o:o;var i=e.gestureDetectMovement,a=(o-i)/(e.fullDistance-i);if(0>a&&e.isDetachable){var s=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);return this._transitionBetween(this.state.presentedIndex,s,0),this._detachGesture(),void(null!=this.state.pendingGestureProgress&&this.spring.setCurrentValue(0))}if(this._doesGestureOverswipe(this.state.activeGesture)){var u=e.overswipe.frictionConstant,c=e.overswipe.frictionByDistance,l=1/(u+Math.abs(a)*c);a*=l}a=S(0,a,1),null!=this.state.transitionFromIndex?this.state.pendingGestureProgress=a:this.state.pendingGestureProgress?this.spring.setEndValue(a):this.spring.setCurrentValue(a)},_matchGestureAction:function(e,t,n){var r=this;if(!t)return null;var o=null;return e.some(function(e,i){var a=t[e];if(a){if(null==a.overswipe&&r._doesGestureOverswipe(e))return!1;var s="top-to-bottom"===a.direction||"bottom-to-top"===a.direction,u="right-to-left"===a.direction||"bottom-to-top"===a.direction,c=s?n.moveY:n.moveX,l=s?n.dy:n.dx,p=s?n.dx:n.dy,h=a.edgeHitWidth;u&&(c=-c,l=-l,p=-p,h=s?-(O-h):-(C-h));var f=null==a.edgeHitWidth||h>c;if(!f)return!1;var d=l>=a.gestureDetectMovement;if(!d)return!1;var m=Math.abs(l)>Math.abs(p)*a.directionRatio;return m?(o=e,!0):void(r._eligibleGestures=r._eligibleGestures.slice().splice(i,1))}}),o},_transitionSceneStyle:function(e,t,n,r){var o=this.refs["scene_"+r];if(null!==o&&void 0!==o){var i=t>e?t:e,a=this.state.sceneConfigStack[i];a||(a=this.state.sceneConfigStack[i-1]);var s={},u=e>r||t>r?a.animationInterpolators.out:a.animationInterpolators.into,c=t>e?n:1-n,l=u(s,c);l&&o.setNativeProps({style:s})}},_transitionBetween:function(e,t,n){this._transitionSceneStyle(e,t,n,e),this._transitionSceneStyle(e,t,n,t);var r=this._navBar;r&&r.updateProgress&&t>=0&&e>=0&&r.updateProgress(n,e,t)},_handleResponderTerminationRequest:function(){return!1},_getDestIndexWithinBounds:function(e){var t=this.state.presentedIndex,n=t+e;E(n>=0,"Cannot jump before the first route.");var r=this.state.routeStack.length-1;return E(r>=n,"Cannot jump past the last route."),n},_jumpN:function(e){var t=this._getDestIndexWithinBounds(e);this._enableScene(t),this._emitWillFocus(this.state.routeStack[t]),this._transitionTo(t)},jumpTo:function(e){var t=this.state.routeStack.indexOf(e);E(-1!==t,"Cannot jump to route that is not in the route stack"),this._jumpN(t-this.state.presentedIndex)},jumpForward:function(){this._jumpN(1)},jumpBack:function(){this._jumpN(-1)},push:function(e){var t=this;E(!!e,"Must supply route to push");var n=this.state.presentedIndex+1,r=this.state.routeStack.slice(0,n),o=this.state.sceneConfigStack.slice(0,n),i=r.concat([e]),a=i.length-1,s=o.concat([this.props.configureScene(e)]);this._emitWillFocus(i[a]),this.setState({routeStack:i,sceneConfigStack:s},function(){t._enableScene(a),t._transitionTo(a)})},_popN:function(e){var t=this;if(0!==e){E(this.state.presentedIndex-e>=0,"Cannot pop below zero");var n=this.state.presentedIndex-e;this._enableScene(n),this._emitWillFocus(this.state.routeStack[n]),this._transitionTo(n,null,null,function(){t._cleanScenesPastIndex(n)})}},pop:function(){this.state.transitionQueue.length||this.state.presentedIndex>0&&this._popN(1)},replaceAtIndex:function(e,t,n){var r=this;if(E(!!e,"Must supply route to replace"),0>t&&(t+=this.state.routeStack.length),!(this.state.routeStack.length<=t)){var o=this.state.routeStack.slice(),i=this.state.sceneConfigStack.slice();o[t]=e,i[t]=this.props.configureScene(e),t===this.state.presentedIndex&&this._emitWillFocus(e),this.setState({routeStack:o,sceneConfigStack:i},function(){t===r.state.presentedIndex&&r._emitDidFocus(e),n&&n()})}},replace:function(e){this.replaceAtIndex(e,this.state.presentedIndex)},replacePrevious:function(e){this.replaceAtIndex(e,this.state.presentedIndex-1)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(e){var t=this.state.routeStack.indexOf(e);E(-1!==t,"Calling popToRoute for a route that doesn't exist!");var n=this.state.presentedIndex-t;this._popN(n)},replacePreviousAndPop:function(e){this.state.routeStack.length<2||(this.replacePrevious(e),this.pop())},resetTo:function(e){var t=this;E(!!e,"Must supply route to push"),this.replaceAtIndex(e,0,function(){t.state.presentedIndex>0&&t._popN(t.state.presentedIndex)})},getCurrentRoutes:function(){return this.state.routeStack.slice()},_cleanScenesPastIndex:function(e){var t=e+1;t<this.state.routeStack.length&&this.setState({sceneConfigStack:this.state.sceneConfigStack.slice(0,t),routeStack:this.state.routeStack.slice(0,t)})},_renderScene:function(e,t){var n=this,r=null,o="auto";return t!==this.state.presentedIndex&&(r=P.disabledScene,o="none"),v.createElement(b,{key:"scene_"+i(e),ref:"scene_"+t,onStartShouldSetResponderCapture:function(){return null!=n.state.transitionFromIndex||null!=n.state.transitionFromIndex},pointerEvents:o,style:[P.baseScene,this.props.sceneStyle,r]},this.props.renderScene(e,this))},_renderNavigationBar:function(){var e=this;return this.props.navigationBar?v.cloneElement(this.props.navigationBar,{ref:function(t){e._navBar=t},navigator:this,navState:this.state}):null},render:function(){var e=this,t=new l,n=this.state.routeStack.map(function(n,r){var o;return o=e._renderedSceneMap.has(n)&&r!==e.state.presentedIndex?e._renderedSceneMap.get(n):e._renderScene(n,r),t.set(n,o),o});return this._renderedSceneMap=t,v.createElement(b,{style:[P.container,this.props.style]},v.createElement(b,a({style:P.transitioner},this.panGesture.panHandlers,{onTouchStart:this._handleTouchStart,onResponderTerminationRequest:this._handleResponderTerminationRequest}),n),this._renderNavigationBar())},_getNavigationContext:function(){return this._navigationContext||(this._navigationContext=new p),this._navigationContext}});n.exports=D}),__d("InteractionMixin",["InteractionManager"],function(e,t,n,r){"use strict";var o=t("InteractionManager"),i={componentWillUnmount:function(){for(;this._interactionMixinHandles.length;)o.clearInteractionHandle(this._interactionMixinHandles.pop())},_interactionMixinHandles:[],createInteractionHandle:function(){var e=o.createInteractionHandle();return this._interactionMixinHandles.push(e),e},clearInteractionHandle:function(e){o.clearInteractionHandle(e),this._interactionMixinHandles=this._interactionMixinHandles.filter(function(t){return t!==e})},runAfterInteractions:function(e){o.runAfterInteractions(e)}};n.exports=i}),__d("NavigationContext",["NavigationEvent","EventSubscription","NavigationEventEmitter","emptyFunction","invariant"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("NavigationEventEmitter"),s=t("emptyFunction"),u=t("invariant"),c=function(){function e(){o(this,e),this._eventEmitter=new a(this),this._currentRoute=null,this.addListener("willfocus",this._onFocus,this),this.addListener("didfocus",this._onFocus,this)}return i(e,[{key:"addListener",value:function(e,t,n){var r=this._eventEmitter;return r?r.addListener(e,t,n):{remove:s}}},{key:"emit",value:function(e,t,n){var r=this._eventEmitter;r&&r.emit(e,t,n)}},{key:"dispose",value:function(){var e=this._eventEmitter;e&&(e.removeAllListeners(),this._eventEmitter=null,this._currentRoute=null)}},{key:"_onFocus",value:function(e){u(e.data&&e.data.hasOwnProperty("route"),"didfocus event should provide route"),this._currentRoute=e.data.route}},{key:"currentRoute",get:function(){return this._currentRoute}}]),e}();n.exports=c}),__d("NavigationEvent",["invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("invariant"),s=function(){function e(){o(this,e),this._list=[]}return i(e,[{key:"get",value:function(e,t,n){var r;return this._list.length>0?(r=this._list.pop(),r.constructor.call(r,e,t,n)):r=new c(e,t,n),r}},{key:"put",value:function(e){this._list.push(e)}}]),e}(),u=new s,c=function(){function e(t,n,r){o(this,e),this._type=t,this._target=n,this._data=r,this._defaultPrevented=!1,this._disposed=!1,this._propagationStopped=!1}return i(e,null,[{key:"pool",value:function(e,t,n){return u.get(e,t,n)}}]),i(e,[{key:"preventDefault",value:function(){this._defaultPrevented=!0}},{key:"stopPropagation",value:function(){this._propagationStopped=!0}},{key:"stop",value:function(){this.preventDefault(),this.stopPropagation()}},{key:"isPropagationStopped",value:function(){return this._propagationStopped}},{key:"dispose",value:function(){a(!this._disposed,"NavigationEvent is already disposed"),this._disposed=!0,this._type=null,this._target=null,this._data=null,this._defaultPrevented=!1,u.put(this)}},{key:"type",get:function(){return this._type}},{key:"target",get:function(){return this._target}},{key:"data",get:function(){return this._data}},{key:"defaultPrevented",get:function(){return this._defaultPrevented}}]),e}();n.exports=c}),__d("NavigationEventEmitter",["EventEmitter","NavigationEvent"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function p(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:p(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("EventEmitter"),c=t("NavigationEvent"),l=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._emitting=!1,this._emitQueue=[],this._target=e}return i(t,e),a(t,[{key:"emit",value:function(e,n,r){if(this._emitting)return void this._emitQueue.push({eventType:e,data:n,didEmitCallback:r});this._emitting=!0;var o=new c(e,this._target,n);for(s(Object.getPrototypeOf(t.prototype),"emit",this).call(this,String(e),o),"function"==typeof r&&r.call(this._target,o),o.dispose(),this._emitting=!1;this._emitQueue.length;){var i=this._emitQueue.shift();this.emit(i.eventType,i.data,i.didEmitCallback)}}}]),t}(u);n.exports=l}),__d("NavigatorBreadcrumbNavigationBar",["NavigatorBreadcrumbNavigationBarStyles","NavigatorNavigationBarStyles","React","StaticContainer.react","StyleSheet","View","invariant","immutable/dist/immutable.js"],function(e,t,n,r){"use strict";var o=t("NavigatorBreadcrumbNavigationBarStyles"),i=t("NavigatorNavigationBarStyles"),a=t("React"),s=(t("StaticContainer.react"),t("StyleSheet")),u=t("View"),c=t("immutable/dist/immutable.js"),l=c.Map,p=t("invariant"),h=o.Interpolators,f=a.PropTypes,d=h.map(function(){return{style:{}}}),m=h.map(function(){return{style:{}}}),v=h.map(function(){return{style:{}}}),g=h.map(function(){return{style:{}}}),y=h.map(function(){return{style:{}}}),_=function(e){return void 0!==e.presentedIndex?e.presentedIndex:e.observedTopOfStack},b=function(e,t){return e===t?o.Center[e]:t>e?o.Left[e]:o.Right[e]},S=a.createClass({displayName:"NavigatorBreadcrumbNavigationBar",propTypes:{navigator:f.shape({push:f.func,pop:f.func,replace:f.func,popToRoute:f.func,popToTop:f.func}),routeMapper:f.shape({rightContentForRoute:f.func,titleContentForRoute:f.func,iconForRoute:f.func}),navState:a.PropTypes.shape({routeStack:a.PropTypes.arrayOf(a.PropTypes.object),presentedIndex:a.PropTypes.number}),style:u.propTypes.style},statics:{Styles:o},_updateIndexProgress:function(e,t,n,r){var o,i=r>n?e:1-e,a=t-n,s=t-r;p(h[t],"Cannot find breadcrumb interpolators for "+t),o=a>0&&0===s||s>0&&0===a?h[t].RightToCenter:0>a&&0===s||0>s&&0===a?h[t].CenterToLeft:a===s?h[t].RightToCenter:h[t].RightToLeft,o.Crumb(d[t].style,i)&&this._setPropsIfExists("crumb_"+t,d[t]),o.Icon(m[t].style,i)&&this._setPropsIfExists("icon_"+t,m[t]),o.Separator(v[t].style,i)&&this._setPropsIfExists("separator_"+t,v[t]),o.Title(g[t].style,i)&&this._setPropsIfExists("title_"+t,g[t]);var u=this.refs["right_"+t];u&&o.RightItem(y[t].style,i)&&u.setNativeProps(y[t])},updateProgress:function(e,t,n){for(var r=Math.max(t,n),o=Math.min(t,n),i=o;r>=i;i++)this._updateIndexProgress(e,i,t,n)},onAnimationStart:function(e,t){for(var n=Math.max(e,t),r=Math.min(e,t),o=r;n>=o;o++)this._setRenderViewsToHardwareTextureAndroid(o,!0)},onAnimationEnd:function(){for(var e=this.props.navState.routeStack.length-1,t=0;e>=t;t++)this._setRenderViewsToHardwareTextureAndroid(t,!1)},_setRenderViewsToHardwareTextureAndroid:function(e,t){var n={renderToHardwareTextureAndroid:t};this._setPropsIfExists("icon_"+e,n),this._setPropsIfExists("separator_"+e,n),this._setPropsIfExists("title_"+e,n),this._setPropsIfExists("right_"+e,n)},componentWillMount:function(){this._descriptors={crumb:new l,title:new l,right:new l}},render:function(){var e=this.props.navState,t=e&&e.routeStack.map(this._getBreadcrumb),n=e.routeStack.map(this._getTitle),r=e.routeStack.map(this._getRightButton);return a.createElement(u,{style:[R.breadCrumbContainer,this.props.style]},n,t,r)},_getBreadcrumb:function(e,t){if(this._descriptors.crumb.has(e))return this._descriptors.crumb.get(e);var n=this.props.routeMapper,r=b(t,_(this.props.navState)),o=a.createElement(u,{ref:"crumb_"+t,style:r.Crumb},a.createElement(u,{ref:"icon_"+t,style:r.Icon},n.iconForRoute(e,this.props.navigator)),a.createElement(u,{ref:"separator_"+t,style:r.Separator},n.separatorForRoute(e,this.props.navigator)));return this._descriptors.crumb=this._descriptors.crumb.set(e,o),o},_getTitle:function(e,t){if(this._descriptors.title.has(e))return this._descriptors.title.get(e);var n=this.props.routeMapper.titleContentForRoute(this.props.navState.routeStack[t],this.props.navigator),r=b(t,_(this.props.navState)),o=a.createElement(u,{ref:"title_"+t,style:r.Title},n);return this._descriptors.title=this._descriptors.title.set(e,o),o},_getRightButton:function(e,t){if(this._descriptors.right.has(e))return this._descriptors.right.get(e);var n=this.props.routeMapper.rightContentForRoute(this.props.navState.routeStack[t],this.props.navigator);if(!n)return this._descriptors.right=this._descriptors.right.set(e,null),null;var r=b(t,_(this.props.navState)),o=a.createElement(u,{ref:"right_"+t,style:r.RightItem},n);return this._descriptors.right=this._descriptors.right.set(e,o),o},_setPropsIfExists:function(e,t){var e=this.refs[e];e&&e.setNativeProps(t)}}),R=s.create({breadCrumbContainer:{overflow:"hidden",position:"absolute",height:i.General.TotalNavHeight,top:0,left:0,right:0}});n.exports=S}),__d("NavigatorBreadcrumbNavigationBarStyles",["Dimensions","NavigatorNavigationBarStyles","buildStyleInterpolator","merge"],function(e,t,n,r){"use strict";for(var o=t("Dimensions"),i=t("NavigatorNavigationBarStyles"),a=t("buildStyleInterpolator"),s=t("merge"),u=o.get("window").width,c=i.General.StatusBarHeight,l=i.General.NavBarHeight,p=4,h=40,f=9,d=h+f,m=100,v=.6,g=10,y={position:"absolute",flexDirection:"row",top:c,width:d,height:l,backgroundColor:"transparent"},_={width:h,height:l},b={width:f,height:l},S={position:"absolute",top:c,height:l,backgroundColor:"transparent"},R=s(S,{left:0,right:0,alignItems:"center",height:l}),E={position:"absolute",top:c,right:p,overflow:"hidden",opacity:1,height:l,backgroundColor:"transparent"},w=[],T=[],C=[],O=0;g>O;O++){var x=d*O+p;w[O]={Crumb:s(y,{left:x}),Icon:s(_,{opacity:v}),Separator:s(b,{opacity:1}),Title:s(S,{left:x,opacity:0}),RightItem:s(E,{opacity:0})},T[O]={Crumb:s(y,{left:x}),Icon:s(_,{opacity:1}),Separator:s(b,{opacity:0}),Title:s(S,{left:x+h,opacity:1}),RightItem:s(E,{opacity:1})};var I=u-100;C[O]={Crumb:s(y,{left:I}),Icon:s(_,{opacity:0}),Separator:s(b,{opacity:0}),Title:s(S,{left:I+h,opacity:0}),RightItem:s(E,{opacity:0})}}T[0]={Crumb:s(y,{left:u/4}),Icon:s(_,{opacity:0}),Separator:s(b,{opacity:0}),Title:s(R,{opacity:1}),RightItem:T[0].RightItem},w[0].Title=s(R,{left:-u/4,opacity:0}),C[0].Title=s(R,{opacity:0});var P=function(e,t){return{Crumb:a({left:{type:"linear",from:e.Crumb.left,to:t.Crumb.left,min:0,max:1,extrapolate:!0}}),Icon:a({opacity:{type:"linear",from:e.Icon.opacity,to:t.Icon.opacity,min:0,max:1}}),Separator:a({opacity:{type:"linear",from:e.Separator.opacity,to:t.Separator.opacity,min:0,max:1}}),Title:a({opacity:{type:"linear",from:e.Title.opacity,to:t.Title.opacity,min:0,max:1},left:{type:"linear",from:e.Title.left,to:t.Title.left,min:0,max:1,extrapolate:!0}}),RightItem:a({opacity:{type:"linear",from:e.RightItem.opacity,to:t.RightItem.opacity,min:0,max:1,round:m}})}},N=T.map(function(e,t){return{RightToCenter:P(C[t],T[t]),CenterToLeft:P(T[t],w[t]),RightToLeft:P(C[t],w[t])}});n.exports={Interpolators:N,Left:w,Center:T,Right:C,IconWidth:h,IconHeight:l,SeparatorWidth:f,SeparatorHeight:l}}),__d("NavigatorNavigationBarStyles",["Dimensions","buildStyleInterpolator","merge"],function(e,t,n,r){"use strict";function o(e,t){return{Title:a({opacity:{type:"linear",from:e.Title.opacity,to:t.Title.opacity,min:0,max:1},left:{type:"linear",from:e.Title.left,to:t.Title.left,min:0,max:1,extrapolate:!0}}),LeftButton:a({opacity:{type:"linear",from:e.LeftButton.opacity,to:t.LeftButton.opacity,min:0,max:1,round:d},left:{type:"linear",from:e.LeftButton.left,to:t.LeftButton.left,min:0,max:1}}),RightButton:a({opacity:{type:"linear",from:e.RightButton.opacity,to:t.RightButton.opacity,min:0,max:1,round:d},left:{type:"linear",from:e.RightButton.left,to:t.RightButton.left,min:0,max:1,extrapolate:!0}})}}var i=t("Dimensions"),a=t("buildStyleInterpolator"),s=t("merge"),u=i.get("window").width,c=44,l=20,p=c+l,h={Title:{position:"absolute",top:l,left:0,right:0,alignItems:"center",height:c,backgroundColor:"transparent"},LeftButton:{position:"absolute",top:l,left:0,overflow:"hidden",opacity:1,height:c,backgroundColor:"transparent"},RightButton:{position:"absolute",top:l,right:0,overflow:"hidden",opacity:1,alignItems:"flex-end",height:c,backgroundColor:"transparent"}},f={Left:{Title:s(h.Title,{left:-u/2,opacity:0}),LeftButton:s(h.LeftButton,{left:-u/3,opacity:1}),RightButton:s(h.RightButton,{left:u/3,opacity:0})},Center:{Title:s(h.Title,{left:0,opacity:1}),LeftButton:s(h.LeftButton,{left:0,opacity:1}),RightButton:s(h.RightButton,{left:2*u/3-0,opacity:1})},Right:{Title:s(h.Title,{left:u/2,opacity:0}),LeftButton:s(h.LeftButton,{left:0,opacity:0}),RightButton:s(h.RightButton,{left:u,opacity:0})}},d=100,m={RightToCenter:o(f.Right,f.Center),CenterToLeft:o(f.Center,f.Left),RightToLeft:o(f.Right,f.Left)};n.exports={General:{NavBarHeight:c,StatusBarHeight:l,TotalNavHeight:p},Interpolators:m,Stages:f}}),__d("buildStyleInterpolator",["keyOf"],function(e,t,n,r){for(var o=t("keyOf"),i=o({x:null}),a=o({y:null}),s=o({z:null}),u=o({w:null}),c=o({transformRotateRadians:null}),l={transformRotateRadians:!0,transformScale:!0,transformTranslate:!0},p={transformRotateRadians:[0,0,0,1],transformTranslate:[0,0,0],transformScale:[1,1,1]},h=/([^\s,]+)/g,f=function(e,t){var n=e.toString(),r=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(h)||[],o=r.map(function(e){return"\\b"+e+"\\b"}).join("|"),i=new RegExp(o,"g"),a=n.substring(n.indexOf("{")+1,n.lastIndexOf("}")),s=a.replace(i,function(e){var n=r.indexOf(e),o=t[n];return o});return s.split("\n")},d={unroll:function(e,t,n,r,o,i,a,s,u,c,l,p,h,f,d,m,v){t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],p=e[10],h=e[11],f=e[12],d=e[13],m=e[14],v=e[15]},matrixDiffers:function(e,t,n,r,o,i,a,s,u,c,l,p,h,f,d,m,v,g){e=e||n!==t[0]||r!==t[1]||o!==t[2]||i!==t[3]||a!==t[4]||s!==t[5]||u!==t[6]||c!==t[7]||l!==t[8]||p!==t[9]||h!==t[10]||f!==t[11]||d!==t[12]||m!==t[13]||v!==t[14]||g!==t[15]},transformScale:function(e,t){var n=t[0],r=t[1],o=t[2];e[0]=e[0]*n,e[1]=e[1]*n,e[2]=e[2]*n,e[3]=e[3]*n,e[4]=e[4]*r,e[5]=e[5]*r,e[6]=e[6]*r,e[7]=e[7]*r,e[8]=e[8]*o,e[9]=e[9]*o,e[10]=e[10]*o,e[11]=e[11]*o,e[12]=e[12],e[13]=e[13],e[14]=e[14],e[15]=e[15]},transformTranslate:function(e,t){var n=t[0],r=t[1],o=t[2];e[12]=e[0]*n+e[4]*r+e[8]*o+e[12],e[13]=e[1]*n+e[5]*r+e[9]*o+e[13],e[14]=e[2]*n+e[6]*r+e[10]*o+e[14],e[15]=e[3]*n+e[7]*r+e[11]*o+e[15]},transformRotateRadians:function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,s=r+r,u=o+o,c=n*a,l=n*s,p=n*u,h=r*s,f=r*u,d=o*u,m=i*a,v=i*s,g=i*u,y=1-(h+d),_=l+g,b=p-v,S=l-g,R=1-(c+d),E=f+m,w=p+v,T=f-m,C=1-(c+h),O=e[0],x=e[1],I=e[2],P=e[3],N=e[4],D=e[5],M=e[6],k=e[7],A=e[8],j=e[9],L=e[10],V=e[11],F=y,H=_,B=b;e[0]=F*O+H*N+B*A,e[1]=F*x+H*D+B*j,e[2]=F*I+H*M+B*L,e[3]=F*P+H*k+B*V,F=S,H=R,B=E,e[4]=F*O+H*N+B*A,e[5]=F*x+H*D+B*j,e[6]=F*I+H*M+B*L,e[7]=F*P+H*k+B*V,F=w,H=T,B=C,e[8]=F*O+H*N+B*A,e[9]=F*x+H*D+B*j,e[10]=F*I+H*M+B*L,e[11]=F*P+H*k+B*V}},m={transformScale:function(e,t){e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1},transformTranslate:function(e,t){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1},transformRotateRadians:function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,s=r+r,u=o+o,c=n*a,l=n*s,p=n*u,h=r*s,f=r*u,d=o*u,m=i*a,v=i*s,g=i*u,y=1-(h+d),_=l+g,b=p-v,S=l-g,R=1-(c+d),E=f+m,w=p+v,T=f-m,C=1-(c+h),O=y,x=_,I=b;e[0]=O,e[1]=x,e[2]=I,e[3]=0,O=S,x=R,I=E,e[4]=O,e[5]=x,e[6]=I,e[7]=0,O=w,x=T,I=C,e[8]=O,e[9]=x,e[10]=I,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1}},v=function(e,t){return"  if (!didChange) {\n    var prevVal = result."+e+";\n    result."+e+" = "+t+";\n    didChange = didChange  || ("+t+" !== prevVal);\n  } else {\n    result."+e+" = "+t+";\n  }\n"},g=(function(e,t,n,r){var o="round"in e,i=e.round,a="  ratio = (value - "+e.min+") / "+(e.max-e.min)+";\n";e.extrapolate||(a+="  ratio = ratio > 1 ? 1 : (ratio < 0 ? 0 : ratio);\n");var s=o?"Math.round("+i+" * ":"",u=o?") / "+i:"";return a+="  "+r+" = "+s+"("+t+" * (1 - ratio) + "+n+" * ratio)"+u+";\n"}),y=function(e){return g(e,e.from,e.to,"nextScalarVal")},_=function(e){var t=JSON.stringify(e.value);return"  nextScalarVal = "+t+";\n"},b=function(e){return"  nextScalarVal = value >= "+(e.threshold+" ? "+e.to+" : "+e.from)+";\n"},S=function(e){return"  nextScalarVal = value;\n"},R=function(e){return e+"ReuseOp"},E=function(e){var t="";for(var n in e)l[n]&&(t+="var "+R(n)+" = [];\n");return t},w=function(e){return"\n"+e.join("\n")+"\n"},T=function(e,t,n,r){var o=R(t)+"["+r+"]";return void 0!==e.from[n]&&void 0!==e.to[n]?"  "+e.from[n]!==e.to[n]?g(e,e.from[n],e.to[n],o):o+" = "+e.from[n]+";":"  "+o+" = "+p[t][r]+";"},C=[],O=0;16>O;O++)C.push("m"+O);var x=function(e){var t=["  var transformMatrix = result.transformMatrix !== undefined ? result.transformMatrix : (result.transformMatrix = []);"];t.push.apply(t,f(d.unroll,["transformMatrix"].concat(C)));for(var n=0;n<e.length;n++){var r=e[n];0===n?t.push.apply(t,f(m[r],["transformMatrix",R(r)])):t.push.apply(t,f(d[r],["transformMatrix",R(r)]))}return t.push.apply(t,f(d.matrixDiffers,["didChange","transformMatrix"].concat(C))),t},I={transformTranslate:!0,transformRotateRadians:!0,transformScale:!0},P=function(e){var t=[],n="return (function() {\n";n+=E(e),n+="return function(result, value) {\n",n+="  var didChange = false;\n",n+="  var nextScalarVal;\n",n+="  var ratio;\n";for(var r in e){var o=e[r];if("linear"===o.type)if(I[r]){t.push(r);var l=[T(o,r,i,0),T(o,r,a,1),T(o,r,s,2)];r===c&&l.push(T(o,r,u,3)),n+=w(l)}else n+=y(o,"nextScalarVal"),n+=v(r,"nextScalarVal");else"constant"===o.type?(n+=_(o),n+=v(r,"nextScalarVal")):"step"===o.type?(n+=b(o),n+=v(r,"nextScalarVal")):"identity"===o.type&&(n+=S(o),n+=v(r,"nextScalarVal"))}return t.length&&(n+=w(x(t))),n+="  return didChange;\n",n+="};\n",n+="})()"},N=function(e){return Function(P(e))()};n.exports=N}),__d("StaticContainer.react",["React","onlyChild"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function p(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:p(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("React"),c=t("onlyChild"),l=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"shouldComponentUpdate",value:function(e){return!!e.shouldUpdate}},{key:"render",value:function(){var e=this.props.children;return null===e||e===!1?null:c(e)}}]),t}(u.Component);n.exports=l}),__d("immutable/dist/immutable.js",[],function(e,t,n,r){!function(e,t){"object"==typeof r&&"undefined"!=typeof n?n.exports=t():"function"==typeof define&&define.amd?define(t):e.Immutable=t()}(this,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return e.value=!1,e}function n(e){e&&(e.value=!0)}function r(){}function o(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;n>o;o++)r[o]=e[o+t];return r}function i(e){return void 0===e.size&&(e.size=e.__iterate(s)),e.size}function a(e,t){if("number"!=typeof t){var n=+t;if(""+n!==t)return NaN;t=n}return 0>t?i(e)+t:t}function s(){return!0}function u(e,t,n){return(0===e||void 0!==n&&-n>=e)&&(void 0===t||void 0!==n&&t>=n)}function c(e,t){return p(e,t,0)}function l(e,t){return p(e,t,t)}function p(e,t,n){return void 0===e?n:0>e?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function h(e){return v(e)?e:I(e)}function f(e){return g(e)?e:P(e)}function d(e){return y(e)?e:N(e)}function m(e){return v(e)&&!_(e)?e:D(e)}function v(e){return!(!e||!e[mn])}function g(e){return!(!e||!e[vn])}function y(e){return!(!e||!e[gn])}function _(e){return g(e)||y(e)}function b(e){return!(!e||!e[yn])}function S(e){this.next=e}function R(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function E(){return{value:void 0,done:!0}}function w(e){return!!O(e)}function T(e){return e&&"function"==typeof e.next}function C(e){var t=O(e);return t&&t.call(e)}function O(e){var t=e&&(Rn&&e[Rn]||e[En]);return"function"==typeof t?t:void 0}function x(e){return e&&"number"==typeof e.length}function I(e){return null===e||void 0===e?V():v(e)?e.toSeq():B(e)}function P(e){return null===e||void 0===e?V().toKeyedSeq():v(e)?g(e)?e.toSeq():e.fromEntrySeq():F(e)}function N(e){return null===e||void 0===e?V():v(e)?g(e)?e.entrySeq():e.toIndexedSeq():H(e)}function D(e){return(null===e||void 0===e?V():v(e)?g(e)?e.entrySeq():e:H(e)).toSetSeq()}function M(e){this._array=e,this.size=e.length}function k(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function A(e){this._iterable=e,this.size=e.length||e.size}function j(e){this._iterator=e,this._iteratorCache=[]}function L(e){return!(!e||!e[Tn])}function V(){return Cn||(Cn=new M([]))}function F(e){var t=Array.isArray(e)?new M(e).fromEntrySeq():T(e)?new j(e).fromEntrySeq():w(e)?new A(e).fromEntrySeq():"object"==typeof e?new k(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function H(e){var t=U(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function B(e){var t=U(e)||"object"==typeof e&&new k(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function U(e){return x(e)?new M(e):T(e)?new j(e):w(e)?new A(e):void 0}function q(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;i>=a;a++){var s=o[n?i-a:a];if(t(s[1],r?s[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function z(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new S(function(){var e=o[n?i-a:a];return a++>i?E():R(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function G(){throw TypeError("Abstract")}function W(){}function Y(){}function K(){}function X(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return"function"==typeof e.equals&&"function"==typeof t.equals&&e.equals(t)?!0:!1}function J(e,t){return t?Q(t,e,"",{"":e}):$(e)}function Q(e,t,n,r){return Array.isArray(t)?e.call(r,n,N(t).map(function(n,r){return Q(e,n,r,t)})):Z(t)?e.call(r,n,P(t).map(function(n,r){return Q(e,n,r,t)})):t}function $(e){return Array.isArray(e)?N(e).map($).toList():Z(e)?P(e).map($).toMap():e}function Z(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ee(e){return e>>>1&1073741824|3221225471&e}function te(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(e=e.valueOf(),e===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return ee(n)}return"string"===t?e.length>kn?ne(e):re(e):"function"==typeof e.hashCode?e.hashCode():oe(e)}function ne(e){var t=Ln[e];return void 0===t&&(t=re(e),jn===An&&(jn=0,Ln={}),jn++,Ln[e]=t),t}function re(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return ee(t)}function oe(e){var t;if(Nn&&(t=On.get(e),void 0!==t))return t;if(t=e[Mn],void 0!==t)return t;if(!Pn){if(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Mn],void 0!==t)return t;if(t=ie(e),void 0!==t)return t}if(t=++Dn,1073741824&Dn&&(Dn=0),Nn)On.set(e,t);else{if(void 0!==In&&In(e)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Pn)Object.defineProperty(e,Mn,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Mn]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Mn]=t}}return t}function ie(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ae(e,t){if(!e)throw new Error(t)}function se(e){ae(e!==1/0,"Cannot perform this action with an infinite size.")}function ue(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ce(e){this._iter=e,this.size=e.size}function le(e){this._iter=e,this.size=e.size}function pe(e){this._iter=e,this.size=e.size}function he(e){var t=Me(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=ke,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===Sn){var r=e.__iterator(t,n);return new S(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===bn?_n:bn,n)},t}function fe(e,t,n){var r=Me(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,hn);return i===hn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(Sn,o);return new S(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return R(r,s,t.call(n,a[1],s,e),o)})},r}function de(e,t){var n=Me(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=he(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=ke,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function me(e,t,n,r){var o=Me(e);return r&&(o.has=function(r){var o=e.get(r,hn);return o!==hn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,hn);return i!==hn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,u){return t.call(n,e,i,u)?(s++,o(e,r?i:s-1,a)):void 0},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(Sn,i),s=0;return new S(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return R(o,r?c:s++,l,i)}})},o}function ve(e,t,n){var r=Le().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function ge(e,t,n){var r=g(e),o=(b(e)?Et():Le()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=De(e);return o.map(function(t){return Ie(e,i(t))})}function ye(e,t,n,r){var o=e.size;if(void 0!==t&&(t=0|t),void 0!==n&&(n=0|n),u(t,n,o))return e;var i=c(t,o),s=l(n,o);if(i!==i||s!==s)return ye(e.toSeq().cacheResult(),t,n,r);var p,h=s-i;h===h&&(p=0>h?0:h);var f=Me(e);return f.size=0===p?p:e.size&&p||void 0,!r&&L(e)&&p>=0&&(f.get=function(t,n){return t=a(this,t),t>=0&&p>t?e.get(t+i,n):n}),f.__iterateUncached=function(t,n){var o=this;if(0===p)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,s=!0,u=0;return e.__iterate(function(e,n){return s&&(s=a++<i)?void 0:(u++,t(e,r?n:u-1,o)!==!1&&u!==p)}),u},f.__iteratorUncached=function(t,n){if(0!==p&&n)return this.cacheResult().__iterator(t,n);var o=0!==p&&e.__iterator(t,n),a=0,s=0;return new S(function(){for(;a++<i;)o.next();if(++s>p)return E();var e=o.next();return r||t===bn?e:t===_n?R(t,s-1,void 0,e):R(t,s-1,e.value[1],e)})},f}function _e(e,t,n){var r=Me(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(Sn,o),s=!0;return new S(function(){if(!s)return E();var e=a.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===Sn?e:R(r,u,c,e):(s=!1,E())})},r}function be(e,t,n,r){var o=Me(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return e.__iterate(function(e,i,c){return s&&(s=t.call(n,e,i,c))?void 0:(u++,o(e,r?i:u-1,a))}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(Sn,i),u=!0,c=0;return new S(function(){var e,i,l;do{if(e=s.next(),e.done)return r||o===bn?e:o===_n?R(o,c++,void 0,e):R(o,c++,e.value[1],e);var p=e.value;i=p[0],l=p[1],u&&(u=t.call(n,l,i,a))}while(u);return o===Sn?e:R(o,i,l,e)})},o}function Se(e,t){var n=g(e),r=[e].concat(t).map(function(e){return v(e)?n&&(e=f(e)):e=n?F(e):H(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&g(o)||y(e)&&y(o))return o}var i=new M(r);return n?i=i.toKeyedSeq():y(e)||(i=i.toSetSeq()),i=i.flatten(!0),i.size=r.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),i}function Re(e,t,n){var r=Me(e);return r.__iterateUncached=function(r,o){function i(e,u){var c=this;e.__iterate(function(e,o){return(!t||t>u)&&v(e)?i(e,u+1):r(e,n?o:a++,c)===!1&&(s=!0),!s},o)}var a=0,s=!1;return i(e,0),a},r.__iteratorUncached=function(r,o){var i=e.__iterator(r,o),a=[],s=0;return new S(function(){for(;i;){var e=i.next();if(e.done===!1){var u=e.value;if(r===Sn&&(u=u[1]),t&&!(a.length<t)||!v(u))return n?e:R(r,s++,u,e);a.push(i),i=u.__iterator(r,o)}else i=a.pop()}return E()})},r}function Ee(e,t,n){var r=De(e);return e.toSeq().map(function(o,i){return r(t.call(n,o,i,e))}).flatten(!0)}function we(e,t){var n=Me(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var o=this,i=0;return e.__iterate(function(e,r){return(!i||n(t,i++,o)!==!1)&&n(e,i++,o)!==!1},r),i},n.__iteratorUncached=function(n,r){var o,i=e.__iterator(bn,r),a=0;return new S(function(){return(!o||a%2)&&(o=i.next(),o.done)?o:a%2?R(n,a++,t):R(n,a++,o.value,o)})},n}function Te(e,t,n){t||(t=Ae);var r=g(e),o=0,i=e.toSeq().map(function(t,r){return[r,t,o++,n?n(t,r,e):t]}).toArray();return i.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){i[t].length=2}:function(e,t){i[t]=e[1]}),r?P(i):y(e)?N(i):D(i)}function Ce(e,t,n){if(t||(t=Ae),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return Oe(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return Oe(t,e,n)?n:e})}function Oe(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null===n||n!==n)||r>0}function xe(e,t,n){var r=Me(e);return r.size=new M(n).map(function(e){return e.size}).min(),r.__iterate=function(e,t){for(var n,r=this.__iterator(bn,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},r.__iteratorUncached=function(e,r){var o=n.map(function(e){return e=h(e),C(r?e.reverse():e)}),i=0,a=!1;return new S(function(){var n;return a||(n=o.map(function(e){return e.next()}),a=n.some(function(e){return e.done})),a?E():R(e,i++,t.apply(null,n.map(function(e){return e.value})))})},r}function Ie(e,t){return L(e)?t:e.constructor(t)}function Pe(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Ne(e){return se(e.size),i(e)}function De(e){return g(e)?f:y(e)?d:m}function Me(e){return Object.create((g(e)?P:y(e)?N:D).prototype)}function ke(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):I.prototype.cacheResult.call(this)}function Ae(e,t){return e>t?1:t>e?-1:0}function je(e){var t=C(e);if(!t){if(!x(e))throw new TypeError("Expected iterable or array-like: "+e);t=C(h(e))}return t}function Le(e){return null===e||void 0===e?Ke():Ve(e)&&!b(e)?e:Ke().withMutations(function(t){var n=f(e);se(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function Ve(e){return!(!e||!e[Vn])}function Fe(e,t){this.ownerID=e,this.entries=t}function He(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Be(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ue(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ze(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&We(e._root)}function Ge(e,t){return R(e,t[0],t[1])}function We(e,t){return{node:e,index:0,__prev:t}}function Ye(e,t,n,r){var o=Object.create(Fn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ke(){return Hn||(Hn=Ye(0))}function Xe(e,n,r){var o,i;if(e._root){var a=t(fn),s=t(dn);if(o=Je(e._root,e.__ownerID,0,void 0,n,r,a,s),!s.value)return e;i=e.size+(a.value?r===hn?-1:1:0)}else{if(r===hn)return e;i=1,o=new Fe(e.__ownerID,[[n,r]])}return e.__ownerID?(e.size=i,e._root=o,e.__hash=void 0,e.__altered=!0,e):o?Ye(i,o):Ke()}function Je(e,t,r,o,i,a,s,u){return e?e.update(t,r,o,i,a,s,u):a===hn?e:(n(u),n(s),new qe(t,o,[i,a]))}function Qe(e){return e.constructor===qe||e.constructor===Ue}function $e(e,t,n,r,o){if(e.keyHash===r)return new Ue(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&pn,s=(0===n?r:r>>>n)&pn,u=a===s?[$e(e,t,n+cn,r,o)]:(i=new qe(t,r,o),s>a?[e,i]:[i,e]);return new He(t,1<<a|1<<s,u)}function Ze(e,t,n,o){e||(e=new r);for(var i=new qe(e,te(n),[n,o]),a=0;a<t.length;a++){var s=t[a];i=i.update(e,0,void 0,s[0],s[1])}return i}function et(e,t,n,r){for(var o=0,i=0,a=new Array(n),s=0,u=1,c=t.length;c>s;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(o|=u,a[i++]=l)}return new He(e,o,a)}function tt(e,t,n,r,o){for(var i=0,a=new Array(ln),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new Be(e,i+1,a)}function nt(e,t,n){for(var r=[],o=0;o<n.length;o++){var i=n[o],a=f(i);v(i)||(a=a.map(function(e){return J(e)})),r.push(a)}return ot(e,t,r)}function rt(e){return function(t,n,r){return t&&t.mergeDeepWith&&v(n)?t.mergeDeepWith(e,n):e?e(t,n,r):n}}function ot(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0===n.length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,hn,function(e){return e===hn?n:t(e,n,r)})}:function(t,n){e.set(n,t)},o=0;o<n.length;o++)n[o].forEach(r)}):e.constructor(n[0])}function it(e,t,n,r){var o=e===hn,i=t.next();if(i.done){var a=o?n:e,s=r(a);return s===a?e:s}ae(o||e&&e.set,"invalid keyPath");var u=i.value,c=o?hn:e.get(u,hn),l=it(c,t,n,r);return l===c?e:l===hn?e.remove(u):(o?Ke():e).set(u,l)}function at(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function st(e,t,n,r){var i=r?e:o(e);return i[t]=n,i}function ut(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;o>s;s++)s===t?(i[s]=n,a=-1):i[s]=e[s+a];return i}function ct(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,a=0;r>a;a++)a===t&&(i=1),o[a]=e[a+i];return o}function lt(e){var t=mt();if(null===e||void 0===e)return t;if(pt(e))return e;var n=d(e),r=n.size;return 0===r?t:(se(r),r>0&&ln>r?dt(0,r,cn,null,new ht(n.toArray())):t.withMutations(function(e){e.setSize(r),n.forEach(function(t,n){return e.set(n,t)})}))}function pt(e){return!(!e||!e[zn])}function ht(e,t){this.array=e,this.ownerID=t}function ft(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===s?u&&u.array:e&&e.array,o=n>i?0:i-n,c=a-n;return c>ln&&(c=ln),function(){if(o===c)return Yn;var e=t?--c:o++;return r&&r[e]}}function o(e,r,o){var s,u=e&&e.array,c=o>i?0:i-o>>r,l=(a-o>>r)+1;return l>ln&&(l=ln),function(){for(;;){if(s){var e=s();if(e!==Yn)return e;s=null}if(c===l)return Yn;var i=t?--l:c++;s=n(u&&u[i],r-cn,o+(i<<r))}}}var i=e._origin,a=e._capacity,s=Rt(a),u=e._tail;return n(e._root,e._level,0)}function dt(e,t,n,r,o,i,a){var s=Object.create(Gn);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=o,s.__ownerID=i,s.__hash=a,s.__altered=!1,s}function mt(){return Wn||(Wn=dt(0,0,cn))}function vt(e,n,r){if(n=a(e,n),n!==n)return e;if(n>=e.size||0>n)return e.withMutations(function(e){0>n?bt(e,n).set(0,r):bt(e,0,n+1).set(n,r)});n+=e._origin;var o=e._tail,i=e._root,s=t(dn);return n>=Rt(e._capacity)?o=gt(o,e.__ownerID,0,n,r,s):i=gt(i,e.__ownerID,e._level,n,r,s),s.value?e.__ownerID?(e._root=i,e._tail=o,e.__hash=void 0,e.__altered=!0,e):dt(e._origin,e._capacity,e._level,i,o):e}function gt(e,t,r,o,i,a){var s=o>>>r&pn,u=e&&s<e.array.length;if(!u&&void 0===i)return e;var c;if(r>0){var l=e&&e.array[s],p=gt(l,t,r-cn,o,i,a);return p===l?e:(c=yt(e,t),c.array[s]=p,c)}return u&&e.array[s]===i?e:(n(a),c=yt(e,t),void 0===i&&s===c.array.length-1?c.array.pop():c.array[s]=i,c)}function yt(e,t){return t&&e&&t===e.ownerID?e:new ht(e?e.array.slice():[],t)}function _t(e,t){if(t>=Rt(e._capacity))return e._tail;if(t<1<<e._level+cn){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&pn],r-=cn;return n}}function bt(e,t,n){void 0!==t&&(t=0|t),void 0!==n&&(n=0|n);var o=e.__ownerID||new r,i=e._origin,a=e._capacity,s=i+t,u=void 0===n?a:0>n?a+n:i+n;if(s===i&&u===a)return e;if(s>=u)return e.clear();for(var c=e._level,l=e._root,p=0;0>s+p;)l=new ht(l&&l.array.length?[void 0,l]:[],o),c+=cn,p+=1<<c;p&&(s+=p,i+=p,u+=p,a+=p);for(var h=Rt(a),f=Rt(u);f>=1<<c+cn;)l=new ht(l&&l.array.length?[l]:[],o),c+=cn;var d=e._tail,m=h>f?_t(e,u-1):f>h?new ht([],o):d;if(d&&f>h&&a>s&&d.array.length){l=yt(l,o);for(var v=l,g=c;g>cn;g-=cn){var y=h>>>g&pn;v=v.array[y]=yt(v.array[y],o)}v.array[h>>>cn&pn]=d}if(a>u&&(m=m&&m.removeAfter(o,0,u)),s>=f)s-=f,u-=f,c=cn,l=null,m=m&&m.removeBefore(o,0,s);else if(s>i||h>f){for(p=0;l;){var _=s>>>c&pn;if(_!==f>>>c&pn)break;_&&(p+=(1<<c)*_),c-=cn,l=l.array[_]}l&&s>i&&(l=l.removeBefore(o,c,s-p)),l&&h>f&&(l=l.removeAfter(o,c,f-p)),p&&(s-=p,u-=p)}return e.__ownerID?(e.size=u-s,e._origin=s,e._capacity=u,e._level=c,e._root=l,e._tail=m,e.__hash=void 0,e.__altered=!0,e):dt(s,u,c,l,m)}function St(e,t,n){for(var r=[],o=0,i=0;i<n.length;i++){var a=n[i],s=d(a);s.size>o&&(o=s.size),v(a)||(s=s.map(function(e){return J(e)})),r.push(s)}return o>e.size&&(e=e.setSize(o)),ot(e,t,r)}function Rt(e){return ln>e?0:e-1>>>cn<<cn}function Et(e){return null===e||void 0===e?Ct():wt(e)?e:Ct().withMutations(function(t){var n=f(e);se(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function wt(e){return Ve(e)&&b(e)}function Tt(e,t,n,r){var o=Object.create(Et.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=n,o.__hash=r,o}function Ct(){return Kn||(Kn=Tt(Ke(),mt()))}function Ot(e,t,n){var r,o,i=e._map,a=e._list,s=i.get(t),u=void 0!==s;if(n===hn){if(!u)return e;a.size>=ln&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Tt(r,o)}function xt(e){return null===e||void 0===e?Nt():It(e)?e:Nt().unshiftAll(e)}function It(e){return!(!e||!e[Xn])}function Pt(e,t,n,r){var o=Object.create(Jn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Nt(){return Qn||(Qn=Pt(0))}function Dt(e){return null===e||void 0===e?jt():Mt(e)&&!b(e)?e:jt().withMutations(function(t){var n=m(e);se(n.size),n.forEach(function(e){return t.add(e)})})}function Mt(e){return!(!e||!e[$n])}function kt(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function At(e,t){var n=Object.create(Zn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function jt(){return er||(er=At(Ke()))}function Lt(e){return null===e||void 0===e?Ht():Vt(e)?e:Ht().withMutations(function(t){var n=m(e);se(n.size),n.forEach(function(e){return t.add(e)})})}function Vt(e){return Mt(e)&&b(e)}function Ft(e,t){var n=Object.create(tr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Ht(){return nr||(nr=Ft(Ct()))}function Bt(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var a=Object.keys(e);zt(o,a),o.size=a.length,o._name=t,o._keys=a,o._defaultValues=e}this._map=Le(i)},o=r.prototype=Object.create(rr);return o.constructor=r,r}function Ut(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function qt(e){return e._name||e.constructor.name||"Record"}function zt(e,t){try{t.forEach(Gt.bind(void 0,e))}catch(n){}}function Gt(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ae(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Wt(e,t){if(e===t)return!0;if(!v(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||g(e)!==g(t)||y(e)!==y(t)||b(e)!==b(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!_(e);if(b(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&X(o[1],e)&&(n||X(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var a=!0,s=t.__iterate(function(t,r){return(n?e.has(t):o?X(t,e.get(r,hn)):X(e.get(r,hn),t))?void 0:(a=!1,!1)});return a&&e.size===s}function Yt(e,t,n){if(!(this instanceof Yt))return new Yt(e,t,n);if(ae(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),e>t&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(or)return or;or=this}}function Kt(e,t){if(!(this instanceof Kt))return new Kt(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(ir)return ir;ir=this}}function Xt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Jt(e,t){return t}function Qt(e,t){return[t,e]}function $t(e){return function(){return!e.apply(this,arguments)}}function Zt(e){return function(){return-e.apply(this,arguments)}}function en(e){return"string"==typeof e?JSON.stringify(e):e}function tn(){return o(arguments)}function nn(e,t){return t>e?1:e>t?-1:0}function rn(e){if(e.size===1/0)return 0;var t=b(e),n=g(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+an(te(e),te(t))|0}:function(e,t){r=r+an(te(e),te(t))|0}:t?function(e){r=31*r+te(e)|0}:function(e){r=r+te(e)|0});return on(o,r)}function on(e,t){return t=xn(t,3432918353),t=xn(t<<15|t>>>-15,461845907),t=xn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=xn(t^t>>>16,2246822507),t=xn(t^t>>>13,3266489909),t=ee(t^t>>>16)}function an(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var sn=Array.prototype.slice,un="delete",cn=5,ln=1<<cn,pn=ln-1,hn={},fn={value:!1},dn={value:!1};e(f,h),e(d,h),e(m,h),h.isIterable=v,h.isKeyed=g,h.isIndexed=y,h.isAssociative=_,h.isOrdered=b,h.Keyed=f,h.Indexed=d,h.Set=m;var mn="@@__IMMUTABLE_ITERABLE__@@",vn="@@__IMMUTABLE_KEYED__@@",gn="@@__IMMUTABLE_INDEXED__@@",yn="@@__IMMUTABLE_ORDERED__@@",_n=0,bn=1,Sn=2,Rn="function"==typeof Symbol&&Symbol.iterator,En="@@iterator",wn=Rn||En;S.prototype.toString=function(){return"[Iterator]"},S.KEYS=_n,S.VALUES=bn,S.ENTRIES=Sn,S.prototype.inspect=S.prototype.toSource=function(){return this.toString()},S.prototype[wn]=function(){return this},e(I,h),I.of=function(){return I(arguments)},I.prototype.toSeq=function(){return this},I.prototype.toString=function(){return this.__toString("Seq {","}")},I.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},I.prototype.__iterate=function(e,t){return q(this,e,t,!0)},I.prototype.__iterator=function(e,t){return z(this,e,t,!0)},e(P,I),P.prototype.toKeyedSeq=function(){return this},e(N,I),N.of=function(){return N(arguments)},N.prototype.toIndexedSeq=function(){return this},N.prototype.toString=function(){return this.__toString("Seq [","]")},N.prototype.__iterate=function(e,t){return q(this,e,t,!1)},N.prototype.__iterator=function(e,t){return z(this,e,t,!1)},e(D,I),D.of=function(){return D(arguments)},D.prototype.toSetSeq=function(){return this},I.isSeq=L,I.Keyed=P,I.Set=D,I.Indexed=N;var Tn="@@__IMMUTABLE_SEQ__@@";I.prototype[Tn]=!0,e(M,N),M.prototype.get=function(e,t){return this.has(e)?this._array[a(this,e)]:t},M.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,o=0;r>=o;o++)if(e(n[t?r-o:o],o,this)===!1)return o+1;return o},M.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new S(function(){return o>r?E():R(e,o,n[t?r-o++:o++])})},e(k,P),k.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},k.prototype.has=function(e){return this._object.hasOwnProperty(e)},k.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;o>=i;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===!1)return i+1}return i},k.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new S(function(){var a=r[t?o-i:i];return i++>o?E():R(e,a,n[a])})},k.prototype[yn]=!0,e(A,N),A.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=C(n),o=0;if(T(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},A.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=C(n);if(!T(r))return new S(E);var o=0;return new S(function(){var t=r.next();return t.done?t:R(e,o++,t.value)})},e(j,N),j.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o<r.length;)if(e(r[o],o++,this)===!1)return o;for(var i;!(i=n.next()).done;){var a=i.value;if(r[o]=a,e(a,o++,this)===!1)break}return o},j.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,o=0;return new S(function(){if(o>=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return R(e,o,r[o++])})};var Cn;e(G,h),e(W,G),e(Y,G),e(K,G),G.Keyed=W,G.Indexed=Y,G.Set=K;var On,xn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e=0|e,t=0|t;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},In=Object.isExtensible,Pn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Nn="function"==typeof WeakMap;Nn&&(On=new WeakMap);var Dn=0,Mn="__immutablehash__";"function"==typeof Symbol&&(Mn=Symbol(Mn));var kn=16,An=255,jn=0,Ln={};e(ue,P),ue.prototype.get=function(e,t){return this._iter.get(e,t)},ue.prototype.has=function(e){return this._iter.has(e)},ue.prototype.valueSeq=function(){return this._iter.valueSeq()},ue.prototype.reverse=function(){var e=this,t=de(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},ue.prototype.map=function(e,t){var n=this,r=fe(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},ue.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Ne(this):0,function(o){return e(o,t?--n:n++,r)}),t)},ue.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(bn,t),r=t?Ne(this):0;return new S(function(){var o=n.next();return o.done?o:R(e,t?--r:r++,o.value,o)})},ue.prototype[yn]=!0,e(ce,N),ce.prototype.includes=function(e){return this._iter.includes(e)},ce.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ce.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t),r=0;return new S(function(){var t=n.next();return t.done?t:R(e,r++,t.value,t)})},e(le,D),le.prototype.has=function(e){return this._iter.includes(e)},le.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},le.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new S(function(){var t=n.next();return t.done?t:R(e,t.value,t.value,t)})},e(pe,P),pe.prototype.entrySeq=function(){return this._iter.toSeq()},pe.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Pe(t);var r=v(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},pe.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new S(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Pe(r);var o=v(r);return R(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ce.prototype.cacheResult=ue.prototype.cacheResult=le.prototype.cacheResult=pe.prototype.cacheResult=ke,e(Le,W),Le.prototype.toString=function(){return this.__toString("Map {","}")},Le.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Le.prototype.set=function(e,t){return Xe(this,e,t)},Le.prototype.setIn=function(e,t){return this.updateIn(e,hn,function(){return t})},Le.prototype.remove=function(e){return Xe(this,e,hn)},Le.prototype.deleteIn=function(e){return this.updateIn(e,function(){return hn})},Le.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Le.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=it(this,je(e),t,n);return r===hn?void 0:r},Le.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ke()},Le.prototype.merge=function(){return nt(this,void 0,arguments)},Le.prototype.mergeWith=function(e){var t=sn.call(arguments,1);
return nt(this,e,t)},Le.prototype.mergeIn=function(e){var t=sn.call(arguments,1);return this.updateIn(e,Ke(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},Le.prototype.mergeDeep=function(){return nt(this,rt(void 0),arguments)},Le.prototype.mergeDeepWith=function(e){var t=sn.call(arguments,1);return nt(this,rt(e),t)},Le.prototype.mergeDeepIn=function(e){var t=sn.call(arguments,1);return this.updateIn(e,Ke(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},Le.prototype.sort=function(e){return Et(Te(this,e))},Le.prototype.sortBy=function(e,t){return Et(Te(this,t,e))},Le.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Le.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new r)},Le.prototype.asImmutable=function(){return this.__ensureOwner()},Le.prototype.wasAltered=function(){return this.__altered},Le.prototype.__iterator=function(e,t){return new ze(this,e,t)},Le.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},Le.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ye(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Le.isMap=Ve;var Vn="@@__IMMUTABLE_MAP__@@",Fn=Le.prototype;Fn[Vn]=!0,Fn[un]=Fn.remove,Fn.removeIn=Fn.deleteIn,Fe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;a>i;i++)if(X(n,o[i][0]))return o[i][1];return r},Fe.prototype.update=function(e,t,r,i,a,s,u){for(var c=a===hn,l=this.entries,p=0,h=l.length;h>p&&!X(i,l[p][0]);p++);var f=h>p;if(f?l[p][1]===a:c)return this;if(n(u),(c||!f)&&n(s),!c||1!==l.length){if(!f&&!c&&l.length>=Bn)return Ze(e,l,i,a);var d=e&&e===this.ownerID,m=d?l:o(l);return f?c?p===h-1?m.pop():m[p]=m.pop():m[p]=[i,a]:m.push([i,a]),d?(this.entries=m,this):new Fe(e,m)}},He.prototype.get=function(e,t,n,r){void 0===t&&(t=te(n));var o=1<<((0===e?t:t>>>e)&pn),i=this.bitmap;return 0===(i&o)?r:this.nodes[at(i&o-1)].get(e+cn,t,n,r)},He.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=te(r));var s=(0===t?n:n>>>t)&pn,u=1<<s,c=this.bitmap,l=0!==(c&u);if(!l&&o===hn)return this;var p=at(c&u-1),h=this.nodes,f=l?h[p]:void 0,d=Je(f,e,t+cn,n,r,o,i,a);if(d===f)return this;if(!l&&d&&h.length>=Un)return tt(e,h,c,s,d);if(l&&!d&&2===h.length&&Qe(h[1^p]))return h[1^p];if(l&&d&&1===h.length&&Qe(d))return d;var m=e&&e===this.ownerID,v=l?d?c:c^u:c|u,g=l?d?st(h,p,d,m):ct(h,p,m):ut(h,p,d,m);return m?(this.bitmap=v,this.nodes=g,this):new He(e,v,g)},Be.prototype.get=function(e,t,n,r){void 0===t&&(t=te(n));var o=(0===e?t:t>>>e)&pn,i=this.nodes[o];return i?i.get(e+cn,t,n,r):r},Be.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=te(r));var s=(0===t?n:n>>>t)&pn,u=o===hn,c=this.nodes,l=c[s];if(u&&!l)return this;var p=Je(l,e,t+cn,n,r,o,i,a);if(p===l)return this;var h=this.count;if(l){if(!p&&(h--,qn>h))return et(e,c,h,s)}else h++;var f=e&&e===this.ownerID,d=st(c,s,p,f);return f?(this.count=h,this.nodes=d,this):new Be(e,h,d)},Ue.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;a>i;i++)if(X(n,o[i][0]))return o[i][1];return r},Ue.prototype.update=function(e,t,r,i,a,s,u){void 0===r&&(r=te(i));var c=a===hn;if(r!==this.keyHash)return c?this:(n(u),n(s),$e(this,e,t,r,[i,a]));for(var l=this.entries,p=0,h=l.length;h>p&&!X(i,l[p][0]);p++);var f=h>p;if(f?l[p][1]===a:c)return this;if(n(u),(c||!f)&&n(s),c&&2===h)return new qe(e,this.keyHash,l[1^p]);var d=e&&e===this.ownerID,m=d?l:o(l);return f?c?p===h-1?m.pop():m[p]=m.pop():m[p]=[i,a]:m.push([i,a]),d?(this.entries=m,this):new Ue(e,this.keyHash,m)},qe.prototype.get=function(e,t,n,r){return X(n,this.entry[0])?this.entry[1]:r},qe.prototype.update=function(e,t,r,o,i,a,s){var u=i===hn,c=X(o,this.entry[0]);return(c?i===this.entry[1]:u)?this:(n(s),u?void n(a):c?e&&e===this.ownerID?(this.entry[1]=i,this):new qe(e,this.keyHash,[o,i]):(n(a),$e(this,e,t,te(o),[o,i])))},Fe.prototype.iterate=Ue.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;o>=r;r++)if(e(n[t?o-r:r])===!1)return!1},He.prototype.iterate=Be.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;o>=r;r++){var i=n[t?o-r:r];if(i&&i.iterate(e,t)===!1)return!1}},qe.prototype.iterate=function(e,t){return e(this.entry)},e(ze,S),ze.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return Ge(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,n>=o)return Ge(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,n>=o){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return Ge(e,i.entry);t=this._stack=We(i,t)}continue}t=this._stack=this._stack.__prev}return E()};var Hn,Bn=ln/4,Un=ln/2,qn=ln/4;e(lt,Y),lt.of=function(){return this(arguments)},lt.prototype.toString=function(){return this.__toString("List [","]")},lt.prototype.get=function(e,t){if(e=a(this,e),e>=0&&e<this.size){e+=this._origin;var n=_t(this,e);return n&&n.array[e&pn]}return t},lt.prototype.set=function(e,t){return vt(this,e,t)},lt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=cn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):mt()},lt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){bt(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},lt.prototype.pop=function(){return bt(this,0,-1)},lt.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){bt(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},lt.prototype.shift=function(){return bt(this,1)},lt.prototype.merge=function(){return St(this,void 0,arguments)},lt.prototype.mergeWith=function(e){var t=sn.call(arguments,1);return St(this,e,t)},lt.prototype.mergeDeep=function(){return St(this,rt(void 0),arguments)},lt.prototype.mergeDeepWith=function(e){var t=sn.call(arguments,1);return St(this,rt(e),t)},lt.prototype.setSize=function(e){return bt(this,0,e)},lt.prototype.slice=function(e,t){var n=this.size;return u(e,t,n)?this:bt(this,c(e,n),l(t,n))},lt.prototype.__iterator=function(e,t){var n=0,r=ft(this,t);return new S(function(){var t=r();return t===Yn?E():R(e,n++,t)})},lt.prototype.__iterate=function(e,t){for(var n,r=0,o=ft(this,t);(n=o())!==Yn&&e(n,r++,this)!==!1;);return r},lt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?dt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},lt.isList=pt;var zn="@@__IMMUTABLE_LIST__@@",Gn=lt.prototype;Gn[zn]=!0,Gn[un]=Gn.remove,Gn.setIn=Fn.setIn,Gn.deleteIn=Gn.removeIn=Fn.removeIn,Gn.update=Fn.update,Gn.updateIn=Fn.updateIn,Gn.mergeIn=Fn.mergeIn,Gn.mergeDeepIn=Fn.mergeDeepIn,Gn.withMutations=Fn.withMutations,Gn.asMutable=Fn.asMutable,Gn.asImmutable=Fn.asImmutable,Gn.wasAltered=Fn.wasAltered,ht.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&pn;if(r>=this.array.length)return new ht([],e);var o,i=0===r;if(t>0){var a=this.array[r];if(o=a&&a.removeBefore(e,t-cn,n),o===a&&i)return this}if(i&&!o)return this;var s=yt(this,e);if(!i)for(var u=0;r>u;u++)s.array[u]=void 0;return o&&(s.array[r]=o),s},ht.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r=n-1>>>t&pn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if(o=i&&i.removeAfter(e,t-cn,n),o===i&&r===this.array.length-1)return this}var a=yt(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Wn,Yn={};e(Et,Le),Et.of=function(){return this(arguments)},Et.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Et.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Et.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ct()},Et.prototype.set=function(e,t){return Ot(this,e,t)},Et.prototype.remove=function(e){return Ot(this,e,hn)},Et.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Et.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Et.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Et.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Tt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Et.isOrderedMap=wt,Et.prototype[yn]=!0,Et.prototype[un]=Et.prototype.remove;var Kn;e(xt,Y),xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("Stack [","]")},xt.prototype.get=function(e,t){var n=this._head;for(e=a(this,e);n&&e--;)n=n.next;return n?n.value:t},xt.prototype.peek=function(){return this._head&&this._head.value},xt.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Pt(e,t)},xt.prototype.pushAll=function(e){if(e=d(e),0===e.size)return this;se(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Pt(t,n)},xt.prototype.pop=function(){return this.slice(1)},xt.prototype.unshift=function(){return this.push.apply(this,arguments)},xt.prototype.unshiftAll=function(e){return this.pushAll(e)},xt.prototype.shift=function(){return this.pop.apply(this,arguments)},xt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Nt()},xt.prototype.slice=function(e,t){if(u(e,t,this.size))return this;var n=c(e,this.size),r=l(t,this.size);if(r!==this.size)return Y.prototype.slice.call(this,e,t);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Pt(o,i)},xt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},xt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},xt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new S(function(){if(r){var t=r.value;return r=r.next,R(e,n++,t)}return E()})},xt.isStack=It;var Xn="@@__IMMUTABLE_STACK__@@",Jn=xt.prototype;Jn[Xn]=!0,Jn.withMutations=Fn.withMutations,Jn.asMutable=Fn.asMutable,Jn.asImmutable=Fn.asImmutable,Jn.wasAltered=Fn.wasAltered;var Qn;e(Dt,K),Dt.of=function(){return this(arguments)},Dt.fromKeys=function(e){return this(f(e).keySeq())},Dt.prototype.toString=function(){return this.__toString("Set {","}")},Dt.prototype.has=function(e){return this._map.has(e)},Dt.prototype.add=function(e){return kt(this,this._map.set(e,!0))},Dt.prototype.remove=function(e){return kt(this,this._map.remove(e))},Dt.prototype.clear=function(){return kt(this,this._map.clear())},Dt.prototype.union=function(){var e=sn.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)m(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},Dt.prototype.intersect=function(){var e=sn.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return m(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.every(function(e){return e.includes(t)})||n.remove(t)})})},Dt.prototype.subtract=function(){var e=sn.call(arguments,0);if(0===e.length)return this;e=e.map(function(e){return m(e)});var t=this;return this.withMutations(function(n){t.forEach(function(t){e.some(function(e){return e.includes(t)})&&n.remove(t)})})},Dt.prototype.merge=function(){return this.union.apply(this,arguments)},Dt.prototype.mergeWith=function(e){var t=sn.call(arguments,1);return this.union.apply(this,t)},Dt.prototype.sort=function(e){return Lt(Te(this,e))},Dt.prototype.sortBy=function(e,t){return Lt(Te(this,t,e))},Dt.prototype.wasAltered=function(){return this._map.wasAltered()},Dt.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},Dt.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},Dt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},Dt.isSet=Mt;var $n="@@__IMMUTABLE_SET__@@",Zn=Dt.prototype;Zn[$n]=!0,Zn[un]=Zn.remove,Zn.mergeDeep=Zn.merge,Zn.mergeDeepWith=Zn.mergeWith,Zn.withMutations=Fn.withMutations,Zn.asMutable=Fn.asMutable,Zn.asImmutable=Fn.asImmutable,Zn.__empty=jt,Zn.__make=At;var er;e(Lt,Dt),Lt.of=function(){return this(arguments)},Lt.fromKeys=function(e){return this(f(e).keySeq())},Lt.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Lt.isOrderedSet=Vt;var tr=Lt.prototype;tr[yn]=!0,tr.__empty=Ht,tr.__make=Ft;var nr;e(Bt,W),Bt.prototype.toString=function(){return this.__toString(qt(this)+" {","}")},Bt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Bt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Bt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Ut(this,Ke()))},Bt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+qt(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Ut(this,n)},Bt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Ut(this,t)},Bt.prototype.wasAltered=function(){return this._map.wasAltered()},Bt.prototype.__iterator=function(e,t){var n=this;return f(this._defaultValues).map(function(e,t){return n.get(t)}).__iterator(e,t)},Bt.prototype.__iterate=function(e,t){var n=this;return f(this._defaultValues).map(function(e,t){return n.get(t)}).__iterate(e,t)},Bt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Ut(this,t,e):(this.__ownerID=e,this._map=t,this)};var rr=Bt.prototype;rr[un]=rr.remove,rr.deleteIn=rr.removeIn=Fn.removeIn,rr.merge=Fn.merge,rr.mergeWith=Fn.mergeWith,rr.mergeIn=Fn.mergeIn,rr.mergeDeep=Fn.mergeDeep,rr.mergeDeepWith=Fn.mergeDeepWith,rr.mergeDeepIn=Fn.mergeDeepIn,rr.setIn=Fn.setIn,rr.update=Fn.update,rr.updateIn=Fn.updateIn,rr.withMutations=Fn.withMutations,rr.asMutable=Fn.asMutable,rr.asImmutable=Fn.asImmutable,e(Yt,N),Yt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(this._step>1?" by "+this._step:"")+" ]"},Yt.prototype.get=function(e,t){return this.has(e)?this._start+a(this,e)*this._step:t},Yt.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},Yt.prototype.slice=function(e,t){return u(e,t,this.size)?this:(e=c(e,this.size),t=l(t,this.size),e>=t?new Yt(0,0):new Yt(this.get(e,this._end),this.get(t,this._end),this._step))},Yt.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},Yt.prototype.lastIndexOf=function(e){return this.indexOf(e)},Yt.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;n>=i;i++){if(e(o,i,this)===!1)return i+1;o+=t?-r:r}return i},Yt.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new S(function(){var a=o;return o+=t?-r:r,i>n?E():R(e,i++,a)})},Yt.prototype.equals=function(e){return e instanceof Yt?this._start===e._start&&this._end===e._end&&this._step===e._step:Wt(this,e)};var or;e(Kt,N),Kt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Kt.prototype.get=function(e,t){return this.has(e)?this._value:t},Kt.prototype.includes=function(e){return X(this._value,e)},Kt.prototype.slice=function(e,t){var n=this.size;return u(e,t,n)?this:new Kt(this._value,l(t,n)-c(e,n))},Kt.prototype.reverse=function(){return this},Kt.prototype.indexOf=function(e){return X(this._value,e)?0:-1},Kt.prototype.lastIndexOf=function(e){return X(this._value,e)?this.size:-1},Kt.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(e(this._value,n,this)===!1)return n+1;return n},Kt.prototype.__iterator=function(e,t){var n=this,r=0;return new S(function(){return r<n.size?R(e,r++,n._value):E()})},Kt.prototype.equals=function(e){return e instanceof Kt?X(this._value,e._value):Wt(e)};var ir;h.Iterator=S,Xt(h,{toArray:function(){se(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ce(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new ue(this,!0)},toMap:function(){return Le(this.toKeyedSeq())},toObject:function(){se(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Et(this.toKeyedSeq())},toOrderedSet:function(){return Lt(g(this)?this.valueSeq():this)},toSet:function(){return Dt(g(this)?this.valueSeq():this)},toSetSeq:function(){return new le(this)},toSeq:function(){return y(this)?this.toIndexedSeq():g(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return xt(g(this)?this.valueSeq():this)},toList:function(){return lt(g(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=sn.call(arguments,0);return Ie(this,Se(this,e))},includes:function(e){return this.some(function(t){return X(t,e)})},entries:function(){return this.__iterator(Sn)},every:function(e,t){se(this.size);var n=!0;return this.__iterate(function(r,o,i){return e.call(t,r,o,i)?void 0:(n=!1,!1)}),n},filter:function(e,t){return Ie(this,me(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){return e.call(t,r,o,i)?(n=[o,r],!1):void 0}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return se(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){se(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(_n)},map:function(e,t){return Ie(this,fe(this,e,t))},reduce:function(e,t,n){se(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ie(this,de(this,!0))},slice:function(e,t){return Ie(this,ye(this,e,t,!0))},some:function(e,t){return!this.every($t(e),t)},sort:function(e){return Ie(this,Te(this,e))},values:function(){return this.__iterator(bn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return i(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ve(this,e,t)},equals:function(e){return Wt(this,e)},entrySeq:function(){var e=this;if(e._cache)return new M(e._cache);var t=e.toSeq().map(Qt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter($t(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(s)},flatMap:function(e,t){return Ie(this,Ee(this,e,t))},flatten:function(e){return Ie(this,Re(this,e,!0))},fromEntrySeq:function(){return new pe(this)},get:function(e,t){return this.find(function(t,n){return X(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=je(e);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,hn):hn,r===hn)return t}return r},groupBy:function(e,t){return ge(this,e,t)},has:function(e){return this.get(e,hn)!==hn},hasIn:function(e){return this.getIn(e,hn)!==hn},isSubset:function(e){return e="function"==typeof e.includes?e:h(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:h(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(Jt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return Ce(this,e)},maxBy:function(e,t){return Ce(this,t,e)},min:function(e){return Ce(this,e?Zt(e):nn)},minBy:function(e,t){return Ce(this,t?Zt(t):nn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Ie(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Ie(this,be(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile($t(e),t)},sortBy:function(e,t){return Ie(this,Te(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Ie(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Ie(this,_e(this,e,t))},takeUntil:function(e,t){return this.takeWhile($t(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=rn(this))}});var ar=h.prototype;ar[mn]=!0,ar[wn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,function(){try{Object.defineProperty(ar,"length",{get:function(){if(!h.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Xt(f,{flip:function(){return Ie(this,he(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return X(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return X(t,e)})},mapEntries:function(e,t){var n=this,r=0;return Ie(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ie(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var sr=f.prototype;sr[vn]=!0,sr[wn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+en(e)},Xt(d,{toKeyedSeq:function(){return new ue(this,!1)},filter:function(e,t){return Ie(this,me(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){return this.toSeq().reverse().indexOf(e)},reverse:function(){return Ie(this,de(this,!1))},slice:function(e,t){return Ie(this,ye(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=c(e,0>e?this.count():this.size);var r=this.slice(0,e);return Ie(this,1===n?r:r.concat(o(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Ie(this,Re(this,e,!1))},get:function(e,t){return e=a(this,e),0>e||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return e=a(this,e),e>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Ie(this,we(this,e))},interleave:function(){var e=[this].concat(o(arguments)),t=xe(this.toSeq(),N.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Ie(this,n)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Ie(this,be(this,e,t,!1))},zip:function(){var e=[this].concat(o(arguments));return Ie(this,xe(this,tn,e))},zipWith:function(e){var t=o(arguments);return t[0]=this,Ie(this,xe(this,e,t))}}),d.prototype[gn]=!0,d.prototype[yn]=!0,Xt(m,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),m.prototype.has=ar.includes,Xt(P,f.prototype),Xt(N,d.prototype),Xt(D,m.prototype),Xt(W,f.prototype),Xt(Y,d.prototype),Xt(K,m.prototype);var ur={Iterable:h,Seq:I,Collection:G,Map:Le,OrderedMap:Et,List:lt,Stack:xt,Set:Dt,OrderedSet:Lt,Record:Bt,Range:Yt,Repeat:Kt,is:X,fromJS:J};return ur})}),__d("NavigatorNavigationBar",["React","NavigatorNavigationBarStyles","StaticContainer.react","StyleSheet","View","immutable/dist/immutable.js"],function(e,t,n,r){"use strict";var o=t("React"),i=t("NavigatorNavigationBarStyles"),a=(t("StaticContainer.react"),t("StyleSheet")),s=t("View"),u=t("immutable/dist/immutable.js"),c=u.Map,l=["Title","LeftButton","RightButton"],p=function(e){return void 0!==e.presentedIndex?e.presentedIndex:e.observedTopOfStack},h=o.createClass({displayName:"NavigatorNavigationBar",propTypes:{navigator:o.PropTypes.object,routeMapper:o.PropTypes.shape({Title:o.PropTypes.func.isRequired,LeftButton:o.PropTypes.func.isRequired,RightButton:o.PropTypes.func.isRequired}).isRequired,navState:o.PropTypes.shape({routeStack:o.PropTypes.arrayOf(o.PropTypes.object),presentedIndex:o.PropTypes.number}),style:s.propTypes.style},statics:{Styles:i},componentWillMount:function(){var e=this;this._components={},this._descriptors={},l.forEach(function(t){e._components[t]=new c,e._descriptors[t]=new c})},_getReusableProps:function(e,t){this._reusableProps||(this._reusableProps={});var n=this._reusableProps[e];n||(n=this._reusableProps[e]=[]);var r=n[t];return r||(r=n[t]={style:{}}),r},_updateIndexProgress:function(e,t,n,r){var o,a=r>n?e:1-e,s=t-n,u=t-r;o=s>0&&0===u||u>0&&0===s?i.Interpolators.RightToCenter:0>s&&0===u||0>u&&0===s?i.Interpolators.CenterToLeft:s===u?i.Interpolators.RightToCenter:i.Interpolators.RightToLeft,l.forEach(function(e){var n=this._components[e].get(this.props.navState.routeStack[t]),r=this._getReusableProps(e,t);n&&o[e](r.style,a)&&n.setNativeProps(r)},this)},updateProgress:function(e,t,n){for(var r=Math.max(t,n),o=Math.min(t,n),i=o;r>=i;i++)this._updateIndexProgress(e,i,t,n)},render:function(){var e=this.props.navState,t=l.map(function(t){return e.routeStack.map(this._getComponent.bind(this,t))},this);return o.createElement(s,{style:[f.navBarContainer,this.props.style]},t)},_getComponent:function(e,t,n){var r=this;if(this._descriptors[e].includes(t))return this._descriptors[e].get(t);var a=null,u=this.props.routeMapper[e](this.props.navState.routeStack[n],this.props.navigator,n,this.props.navState);if(!u)return null;var c=n===p(this.props.navState)?i.Stages.Center:i.Stages.Left;return a=o.createElement(s,{ref:function(n){r._components[e]=r._components[e].set(t,n)},style:c[e]},u),this._descriptors[e]=this._descriptors[e].set(t,a),a}}),f=a.create({navBarContainer:{position:"absolute",height:i.General.TotalNavHeight,top:0,left:0,right:0,backgroundColor:"transparent"}});n.exports=h}),__d("NavigatorSceneConfigs",["Dimensions","PixelRatio","buildStyleInterpolator"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("Dimensions"),a=t("PixelRatio"),s=t("buildStyleInterpolator"),u=i.get("window").width,c=i.get("window").height,l={transformTranslate:{from:{x:0,y:0,z:0},to:{x:-Math.round(.3*i.get("window").width),y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},transformScale:{from:{x:1,y:1,z:1},to:{x:.95,y:.95,z:1},min:0,max:1,type:"linear",extrapolate:!0},opacity:{from:1,to:.3,min:0,max:1,type:"linear",extrapolate:!1,round:100},translateX:{from:0,to:-Math.round(.3*i.get("window").width),min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},scaleX:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0},scaleY:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0}},p=o({},l,{transformTranslate:{from:{x:0,y:0,z:0},to:{x:Math.round(.3*u),y:0,z:0}},translateX:{from:0,to:Math.round(.3*u)}}),h={opacity:{from:0,to:1,min:.5,max:1,type:"linear",extrapolate:!1,round:100}},f={opacity:{from:1,to:0,min:0,max:.5,type:"linear",extrapolate:!1,round:100}},d={transformTranslate:{from:{x:0,y:0,z:0},to:{x:-i.get("window").width,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},opacity:{value:1,type:"constant"},translateX:{from:0,to:-i.get("window").width,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}},m={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:-i.get("window").height,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},opacity:{value:1,type:"constant"},translateY:{from:0,to:-i.get("window").height,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}},v={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:i.get("window").height,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},opacity:{value:1,type:"constant"},translateY:{from:0,to:i.get("window").height,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}},g={opacity:{value:1,type:"constant"},transformTranslate:{from:{x:i.get("window").width,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},translateX:{from:i.get("window").width,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},scaleX:{value:1,type:"constant"},scaleY:{value:1,type:"constant"}},y=o({},g,{transformTranslate:{from:{x:-u,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},translateX:{from:-u,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}}),_=o({},g,{transformTranslate:{from:{y:c,x:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},translateY:{from:c,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}}),b=o({},g,{transformTranslate:{from:{y:-c,x:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},translateY:{from:-c,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}}),S={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},transformScale:{from:{x:1,y:1,z:1},to:{x:.95,y:.95,z:1},min:0,max:1,type:"linear",extrapolate:!0},opacity:{from:1,to:.3,min:0,max:1,type:"linear",extrapolate:!1,round:100},scaleX:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0},scaleY:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0}},R={opacity:{value:1,type:"constant"},transformTranslate:{from:{x:0,y:i.get("window").height,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},translateY:{from:i.get("window").height,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},scaleX:{value:1,type:"constant"},scaleY:{value:1,type:"constant"}},E={opacity:{value:1,type:"constant"}},w={opacity:{from:0,to:1,min:.5,max:1,type:"linear",extrapolate:!1,round:100},transformTranslate:{from:{x:0,y:100,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:a.get()},translateY:{from:100,to:0,
min:0,max:1,type:"linear",extrapolate:!0,round:a.get()}},T={frictionConstant:1,frictionByDistance:1.5},C={isDetachable:!1,gestureDetectMovement:2,notMoving:.3,directionRatio:.66,snapVelocity:2,edgeHitWidth:30,stillCompletionRatio:.6,fullDistance:u,direction:"left-to-right"},O=o({},C,{direction:"right-to-left"}),x=o({},C,{fullDistance:c,direction:"down-to-up"}),I=o({},C,{fullDistance:c,direction:"up-to-down"}),P={gestures:{pop:C},springFriction:26,springTension:200,defaultTransitionVelocity:1.5,animationInterpolators:{into:s(g),out:s(l)}},N={PushFromRight:o({},P),FloatFromRight:o({},P),FloatFromLeft:o({},P,{animationInterpolators:{into:s(y),out:s(p)}}),FloatFromBottom:o({},P,{gestures:{pop:o({},C,{edgeHitWidth:150,direction:"top-to-bottom",fullDistance:c})},animationInterpolators:{into:s(R),out:s(S)}}),FloatFromBottomAndroid:o({},P,{gestures:null,defaultTransitionVelocity:3,springFriction:20,animationInterpolators:{into:s(w),out:s(E)}}),FadeAndroid:o({},P,{gestures:null,animationInterpolators:{into:s(h),out:s(f)}}),HorizontalSwipeJump:o({},P,{gestures:{jumpBack:o({},C,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:o({},O,{overswipe:T,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:s(g),out:s(d)}}),VerticalUpSwipeJump:o({},P,{gestures:{jumpBack:o({},x,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:o({},x,{overswipe:T,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:s(_),out:s(m)}}),VerticalDownSwipeJump:o({},P,{gestures:{jumpBack:o({},I,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:o({},I,{overswipe:T,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:s(b),out:s(v)}})};n.exports=N}),__d("PanResponder",["TouchHistoryMath"],function(e,t,n,r){"use strict";var o=t("TouchHistoryMath"),i=o.currentCentroidXOfTouchesChangedAfter,a=o.currentCentroidYOfTouchesChangedAfter,s=o.previousCentroidXOfTouchesChangedAfter,u=o.previousCentroidYOfTouchesChangedAfter,c=o.currentCentroidX,l=o.currentCentroidY,p={_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,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=i(t,e._accountsForMovesUpTo),e.moveY=a(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=s(t,n),o=i(t,n),c=u(t,n),l=a(t,n),p=e.dx+(o-r),h=e.dy+(l-c),f=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(p-e.dx)/f,e.vy=(h-e.dy)/f,e.dx=p,e.dy=h,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create:function(e){var t={stateID:Math.random()};p._initializeGestureState(t);var n={onStartShouldSetResponder:function(n){return void 0===e.onStartShouldSetPanResponder?!1:e.onStartShouldSetPanResponder(n,t)},onMoveShouldSetResponder:function(n){return void 0===e.onMoveShouldSetPanResponder?!1:e.onMoveShouldSetPanResponder(n,t)},onStartShouldSetResponderCapture:function(n){return 1===n.nativeEvent.touches.length&&p._initializeGestureState(t),t.numberActiveTouches=n.touchHistory.numberActiveTouches,void 0!==e.onStartShouldSetPanResponderCapture?e.onStartShouldSetPanResponderCapture(n,t):!1},onMoveShouldSetResponderCapture:function(n){var r=n.touchHistory;return t._accountsForMovesUpTo===r.mostRecentTimeStamp?!1:(p._updateGestureStateOnMove(t,r),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,t):!1)},onResponderGrant:function(n){return t.x0=c(n.touchHistory),t.y0=l(n.touchHistory),t.dx=0,t.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,t),void 0===e.onShouldBlockNativeResponder?!0:e.onShouldBlockNativeResponder()},onResponderReject:function(n){e.onPanResponderReject&&e.onPanResponderReject(n,t)},onResponderRelease:function(n){e.onPanResponderRelease&&e.onPanResponderRelease(n,t),p._initializeGestureState(t)},onResponderStart:function(n){var r=n.touchHistory;t.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,t)},onResponderMove:function(n){var r=n.touchHistory;t._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(p._updateGestureStateOnMove(t,r),e.onPanResponderMove&&e.onPanResponderMove(n,t))},onResponderEnd:function(n){var r=n.touchHistory;t.numberActiveTouches=r.numberActiveTouches,e.onPanResponderEnd&&e.onPanResponderEnd(n,t)},onResponderTerminate:function(n){e.onPanResponderTerminate&&e.onPanResponderTerminate(n,t),p._initializeGestureState(t)},onResponderTerminationRequest:function(n){return void 0===e.onPanResponderTerminationRequest?!0:e.onPanResponderTerminationRequest(n,t)}};return{panHandlers:n}}};n.exports=p}),__d("TouchHistoryMath",[],function(e,t,n,r){"use strict";var o={centroidDimension:function(e,t,n,r){var i=e.touchBank,a=0,s=0,u=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==u)u.touchActive&&u.currentTimeStamp>t&&(a+=r&&n?u.currentPageX:r&&!n?u.currentPageY:!r&&n?u.previousPageX:u.previousPageY,s=1);else for(var c=0;c<i.length;c++){var l=i[c];if(null!==l&&void 0!==l&&l.touchActive&&l.currentTimeStamp>=t){var p;p=r&&n?l.currentPageX:r&&!n?l.currentPageY:!r&&n?l.previousPageX:l.previousPageY,a+=p,s++}}return s>0?a/s:o.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return o.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return o.centroidDimension(e,0,!1,!0)},noCentroid:-1};n.exports=o}),__d("clamp",[],function(e,t,n,r){function o(e,t,n){return e>t?e:t>n?n:t}n.exports=o}),__d("rebound/rebound.js",[],function(e,t,n,r){!function(){function e(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)}var t={},n=t.util={},o=Array.prototype.concat,i=Array.prototype.slice;n.bind=function(e,t){var n=i.call(arguments,2);return function(){e.apply(t,o.call(n,i.call(arguments)))}},n.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};var a=t.SpringSystem=function(e){this._springRegistry={},this._activeSprings=[],this.listeners=[],this._idleSpringIndices=[],this.looper=e||new l,this.looper.springSystem=this};n.extend(a.prototype,{_springRegistry:null,_isIdle:!0,_lastTimeMillis:-1,_activeSprings:null,listeners:null,_idleSpringIndices:null,setLooper:function(e){this.looper=e,e.springSystem=this},createSpring:function(e,t){var n;return n=void 0===e||void 0===t?c.DEFAULT_ORIGAMI_SPRING_CONFIG:c.fromOrigamiTensionAndFriction(e,t),this.createSpringWithConfig(n)},createSpringWithBouncinessAndSpeed:function(e,t){var n;return n=void 0===e||void 0===t?c.DEFAULT_ORIGAMI_SPRING_CONFIG:c.fromBouncinessAndSpeed(e,t),this.createSpringWithConfig(n)},createSpringWithConfig:function(e){var t=new s(this);return this.registerSpring(t),t.setSpringConfig(e),t},getIsIdle:function(){return this._isIdle},getSpringById:function(e){return this._springRegistry[e]},getAllSprings:function(){var e=[];for(var t in this._springRegistry)this._springRegistry.hasOwnProperty(t)&&e.push(this._springRegistry[t]);return e},registerSpring:function(e){this._springRegistry[e.getId()]=e},deregisterSpring:function(t){e(this._activeSprings,t),delete this._springRegistry[t.getId()]},advance:function(e,t){for(;this._idleSpringIndices.length>0;)this._idleSpringIndices.pop();for(var n=0,r=this._activeSprings.length;r>n;n++){var o=this._activeSprings[n];o.systemShouldAdvance()?o.advance(e/1e3,t/1e3):this._idleSpringIndices.push(this._activeSprings.indexOf(o))}for(;this._idleSpringIndices.length>0;){var i=this._idleSpringIndices.pop();i>=0&&this._activeSprings.splice(i,1)}},loop:function(e){var t;-1===this._lastTimeMillis&&(this._lastTimeMillis=e-1);var n=e-this._lastTimeMillis;this._lastTimeMillis=e;var r=0,o=this.listeners.length;for(r=0;o>r;r++)t=this.listeners[r],t.onBeforeIntegrate&&t.onBeforeIntegrate(this);for(this.advance(e,n),0===this._activeSprings.length&&(this._isIdle=!0,this._lastTimeMillis=-1),r=0;o>r;r++)t=this.listeners[r],t.onAfterIntegrate&&t.onAfterIntegrate(this);this._isIdle||this.looper.run()},activateSpring:function(e){var t=this._springRegistry[e];-1==this._activeSprings.indexOf(t)&&this._activeSprings.push(t),this.getIsIdle()&&(this._isIdle=!1,this.looper.run())},addListener:function(e){this.listeners.push(e)},removeListener:function(t){e(this.listeners,t)},removeAllListeners:function(){this.listeners=[]}});var s=t.Spring=function v(e){this._id="s"+v._ID++,this._springSystem=e,this.listeners=[],this._currentState=new u,this._previousState=new u,this._tempState=new u};n.extend(s,{_ID:0,MAX_DELTA_TIME_SEC:.064,SOLVER_TIMESTEP_SEC:.001}),n.extend(s.prototype,{_id:0,_springConfig:null,_overshootClampingEnabled:!1,_currentState:null,_previousState:null,_tempState:null,_startValue:0,_endValue:0,_wasAtRest:!0,_restSpeedThreshold:.001,_displacementFromRestThreshold:.001,listeners:null,_timeAccumulator:0,_springSystem:null,destroy:function(){this.listeners=[],this.frames=[],this._springSystem.deregisterSpring(this)},getId:function(){return this._id},setSpringConfig:function(e){return this._springConfig=e,this},getSpringConfig:function(){return this._springConfig},setCurrentValue:function(e,t){return this._startValue=e,this._currentState.position=e,t||this.setAtRest(),this.notifyPositionUpdated(!1,!1),this},getStartValue:function(){return this._startValue},getCurrentValue:function(){return this._currentState.position},getCurrentDisplacementDistance:function(){return this.getDisplacementDistanceForState(this._currentState)},getDisplacementDistanceForState:function(e){return Math.abs(this._endValue-e.position)},setEndValue:function(e){if(this._endValue==e&&this.isAtRest())return this;this._startValue=this.getCurrentValue(),this._endValue=e,this._springSystem.activateSpring(this.getId());for(var t=0,n=this.listeners.length;n>t;t++){var r=this.listeners[t],o=r.onSpringEndStateChange;o&&o(this)}return this},getEndValue:function(){return this._endValue},setVelocity:function(e){return e===this._currentState.velocity?this:(this._currentState.velocity=e,this._springSystem.activateSpring(this.getId()),this)},getVelocity:function(){return this._currentState.velocity},setRestSpeedThreshold:function(e){return this._restSpeedThreshold=e,this},getRestSpeedThreshold:function(){return this._restSpeedThreshold},setRestDisplacementThreshold:function(e){this._displacementFromRestThreshold=e},getRestDisplacementThreshold:function(){return this._displacementFromRestThreshold},setOvershootClampingEnabled:function(e){return this._overshootClampingEnabled=e,this},isOvershootClampingEnabled:function(){return this._overshootClampingEnabled},isOvershooting:function(){var e=this._startValue,t=this._endValue;return this._springConfig.tension>0&&(t>e&&this.getCurrentValue()>t||e>t&&this.getCurrentValue()<t)},advance:function(e,t){var n=this.isAtRest();if(!n||!this._wasAtRest){var r=t;t>s.MAX_DELTA_TIME_SEC&&(r=s.MAX_DELTA_TIME_SEC),this._timeAccumulator+=r;for(var o,i,a,u,c,l,p,h,f,d,m=this._springConfig.tension,v=this._springConfig.friction,g=this._currentState.position,y=this._currentState.velocity,_=this._tempState.position,b=this._tempState.velocity;this._timeAccumulator>=s.SOLVER_TIMESTEP_SEC;)this._timeAccumulator-=s.SOLVER_TIMESTEP_SEC,this._timeAccumulator<s.SOLVER_TIMESTEP_SEC&&(this._previousState.position=g,this._previousState.velocity=y),o=y,i=m*(this._endValue-_)-v*y,_=g+o*s.SOLVER_TIMESTEP_SEC*.5,b=y+i*s.SOLVER_TIMESTEP_SEC*.5,a=b,u=m*(this._endValue-_)-v*b,_=g+a*s.SOLVER_TIMESTEP_SEC*.5,b=y+u*s.SOLVER_TIMESTEP_SEC*.5,c=b,l=m*(this._endValue-_)-v*b,_=g+c*s.SOLVER_TIMESTEP_SEC*.5,b=y+l*s.SOLVER_TIMESTEP_SEC*.5,p=b,h=m*(this._endValue-_)-v*b,f=1/6*(o+2*(a+c)+p),d=1/6*(i+2*(u+l)+h),g+=f*s.SOLVER_TIMESTEP_SEC,y+=d*s.SOLVER_TIMESTEP_SEC;this._tempState.position=_,this._tempState.velocity=b,this._currentState.position=g,this._currentState.velocity=y,this._timeAccumulator>0&&this._interpolate(this._timeAccumulator/s.SOLVER_TIMESTEP_SEC),(this.isAtRest()||this._overshootClampingEnabled&&this.isOvershooting())&&(this._springConfig.tension>0?(this._startValue=this._endValue,this._currentState.position=this._endValue):(this._endValue=this._currentState.position,this._startValue=this._endValue),this.setVelocity(0),n=!0);var S=!1;this._wasAtRest&&(this._wasAtRest=!1,S=!0);var R=!1;n&&(this._wasAtRest=!0,R=!0),this.notifyPositionUpdated(S,R)}},notifyPositionUpdated:function(e,t){for(var n=0,r=this.listeners.length;r>n;n++){var o=this.listeners[n];e&&o.onSpringActivate&&o.onSpringActivate(this),o.onSpringUpdate&&o.onSpringUpdate(this),t&&o.onSpringAtRest&&o.onSpringAtRest(this)}},systemShouldAdvance:function(){return!this.isAtRest()||!this.wasAtRest()},wasAtRest:function(){return this._wasAtRest},isAtRest:function(){return Math.abs(this._currentState.velocity)<this._restSpeedThreshold&&(this.getDisplacementDistanceForState(this._currentState)<=this._displacementFromRestThreshold||0===this._springConfig.tension)},setAtRest:function(){return this._endValue=this._currentState.position,this._tempState.position=this._currentState.position,this._currentState.velocity=0,this},_interpolate:function(e){this._currentState.position=this._currentState.position*e+this._previousState.position*(1-e),this._currentState.velocity=this._currentState.velocity*e+this._previousState.velocity*(1-e)},getListeners:function(){return this.listeners},addListener:function(e){return this.listeners.push(e),this},removeListener:function(t){return e(this.listeners,t),this},removeAllListeners:function(){return this.listeners=[],this},currentValueIsApproximately:function(e){return Math.abs(this.getCurrentValue()-e)<=this.getRestDisplacementThreshold()}});var u=function(){};n.extend(u.prototype,{position:0,velocity:0});var c=t.SpringConfig=function(e,t){this.tension=e,this.friction=t},l=t.AnimationLooper=function(){this.springSystem=null;var e=this,t=function(){e.springSystem.loop(Date.now())};this.run=function(){n.onFrame(t)}};t.SimulationLooper=function(e){this.springSystem=null;var t=0,n=!1;e=e||16.667,this.run=function(){if(!n){for(n=!0;!this.springSystem.getIsIdle();)this.springSystem.loop(t+=e);n=!1}}},t.SteppingSimulationLooper=function(e){this.springSystem=null;var t=0;this.run=function(){},this.step=function(e){this.springSystem.loop(t+=e)}};var p=t.OrigamiValueConverter={tensionFromOrigamiValue:function(e){return 3.62*(e-30)+194},origamiValueFromTension:function(e){return(e-194)/3.62+30},frictionFromOrigamiValue:function(e){return 3*(e-8)+25},origamiFromFriction:function(e){return(e-25)/3+8}},h=t.BouncyConversion=function(e,t){this.bounciness=e,this.speed=t;var n=this.normalize(e/1.7,0,20);n=this.projectNormal(n,0,.8);var r=this.normalize(t/1.7,0,20);this.bouncyTension=this.projectNormal(r,.5,200),this.bouncyFriction=this.quadraticOutInterpolation(n,this.b3Nobounce(this.bouncyTension),.01)};n.extend(h.prototype,{normalize:function(e,t,n){return(e-t)/(n-t)},projectNormal:function(e,t,n){return t+e*(n-t)},linearInterpolation:function(e,t,n){return e*n+(1-e)*t},quadraticOutInterpolation:function(e,t,n){return this.linearInterpolation(2*e-e*e,t,n)},b3Friction1:function(e){return 7e-4*Math.pow(e,3)-.031*Math.pow(e,2)+.64*e+1.28},b3Friction2:function(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2},b3Friction3:function(e){return 4.5e-7*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84},b3Nobounce:function(e){var t=0;return t=18>=e?this.b3Friction1(e):e>18&&44>=e?this.b3Friction2(e):this.b3Friction3(e)}}),n.extend(c,{fromOrigamiTensionAndFriction:function(e,t){return new c(p.tensionFromOrigamiValue(e),p.frictionFromOrigamiValue(t))},fromBouncinessAndSpeed:function(e,n){var r=new t.BouncyConversion(e,n);return this.fromOrigamiTensionAndFriction(r.bouncyTension,r.bouncyFriction)},coastingConfigWithOrigamiFriction:function(e){return new c(0,p.frictionFromOrigamiValue(e))}}),c.DEFAULT_ORIGAMI_SPRING_CONFIG=c.fromOrigamiTensionAndFriction(40,7),n.extend(c.prototype,{friction:0,tension:0});var f={};n.hexToRGB=function(e){if(f[e])return f[e];e=e.replace("#",""),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=e.match(/.{2}/g),n={r:parseInt(t[0],16),g:parseInt(t[1],16),b:parseInt(t[2],16)};return f[e]=n,n},n.rgbToHex=function(e,t,n){return e=e.toString(16),t=t.toString(16),n=n.toString(16),e=e.length<2?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n,"#"+e+t+n};var d=t.MathUtil={mapValueInRange:function(e,t,n,r,o){var i=n-t,a=o-r,s=(e-t)/i;return r+s*a},interpolateColor:function(e,t,r,o,i,a){o=void 0===o?0:o,i=void 0===i?1:i,t=n.hexToRGB(t),r=n.hexToRGB(r);var s=Math.floor(n.mapValueInRange(e,o,i,t.r,r.r)),u=Math.floor(n.mapValueInRange(e,o,i,t.g,r.g)),c=Math.floor(n.mapValueInRange(e,o,i,t.b,r.b));return a?"rgb("+s+","+u+","+c+")":n.rgbToHex(s,u,c)},degreesToRadians:function(e){return e*Math.PI/180},radiansToDegrees:function(e){return 180*e/Math.PI}};n.extend(n,d);var m;"undefined"!=typeof window&&(m=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}),m||"undefined"==typeof process||"node"!==process.title||(m=setImmediate),n.onFrame=function(e){return m(e)},"undefined"!=typeof r?n.extend(r,t):"undefined"!=typeof window&&(window.rebound=t)}()}),__d("NavigatorIOS",["EventEmitter","Image","NavigationContext","React","NativeModules","StyleSheet","StaticContainer.react","View","requireNativeComponent","invariant","logError"],function(e,t,n,r){"use strict";function o(){return _++}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("EventEmitter"),s=t("Image"),u=t("NavigationContext"),c=t("React"),l=t("NativeModules").NavigatorManager,p=t("StyleSheet"),h=t("StaticContainer.react"),f=t("View"),d=t("requireNativeComponent"),m=t("invariant"),v=t("logError"),g="transitionerRef",y=c.PropTypes,_=0,b=c.createClass({displayName:"NavigatorTransitionerIOS",requestSchedulingNavigation:function(e){l.requestSchedulingJavaScriptNavigation(c.findNodeHandle(this),v,e)},render:function(){return c.createElement(E,this.props)}}),S=c.createClass({displayName:"NavigatorIOS",propTypes:{initialRoute:y.shape({component:y.func.isRequired,title:y.string.isRequired,passProps:y.object,backButtonIcon:s.propTypes.source,backButtonTitle:y.string,leftButtonIcon:s.propTypes.source,leftButtonTitle:y.string,onLeftButtonPress:y.func,rightButtonIcon:s.propTypes.source,rightButtonTitle:y.string,onRightButtonPress:y.func,wrapperStyle:f.propTypes.style}).isRequired,navigationBarHidden:y.bool,shadowHidden:y.bool,itemWrapperStyle:f.propTypes.style,tintColor:y.string,barTintColor:y.string,titleTextColor:y.string,translucent:y.bool},navigator:void 0,navigationContext:new u,componentWillMount:function(){this.navigator={push:this.push,pop:this.pop,popN:this.popN,replace:this.replace,replacePrevious:this.replacePrevious,replacePreviousAndPop:this.replacePreviousAndPop,resetTo:this.resetTo,popToRoute:this.popToRoute,popToTop:this.popToTop,navigationContext:this.navigationContext},this._emitWillFocus(this.state.routeStack[this.state.observedTopOfStack])},componentDidMount:function(){this._emitDidFocus(this.state.routeStack[this.state.observedTopOfStack])},componentWillUnmount:function(){this.navigationContext.dispose(),this.navigationContext=new u},getInitialState:function(){return{idStack:[o()],routeStack:[this.props.initialRoute],requestedTopOfStack:0,observedTopOfStack:0,progress:1,fromIndex:0,toIndex:0,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:0}},_toFocusOnNavigationComplete:void 0,_handleFocusRequest:function(e){this.state.makingNavigatorRequest?this._toFocusOnNavigationComplete=e:this._getFocusEmitter().emit("focus",e)},_focusEmitter:void 0,_getFocusEmitter:function(){var e=this._focusEmitter;return e||(e=new a,this._focusEmitter=e),e},getChildContext:function(){return{onFocusRequested:this._handleFocusRequest,focusEmitter:this._getFocusEmitter()}},childContextTypes:{onFocusRequested:c.PropTypes.func,focusEmitter:c.PropTypes.instanceOf(a)},_tryLockNavigator:function(e){this.refs[g].requestSchedulingNavigation(function(t){return t&&e()})},_handleNavigatorStackChanged:function(e){var t=e.nativeEvent.stackLength-1;this._emitDidFocus(this.state.routeStack[t]),m(t<=this.state.requestedTopOfStack,"No navigator item should be pushed without JS knowing about it %s %s",t,this.state.requestedTopOfStack);var n=this.state.requestedTopOfStack!==this.state.observedTopOfStack;n&&m(t===this.state.requestedTopOfStack,"If waiting for observedTopOfStack to reach requestedTopOfStack, the only valid observedTopOfStack should be requestedTopOfStack.");var r={observedTopOfStack:t,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:null,progress:1,toIndex:t,fromIndex:t};this.setState(r,this._eliminateUnneededChildren)},_eliminateUnneededChildren:function(){var e=this.state.routeStack.length>this.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:e})},_emitDidFocus:function(e){this.navigationContext.emit("didfocus",{route:e})},_emitWillFocus:function(e){this.navigationContext.emit("willfocus",{route:e})},push:function(e){var t=this;m(!!e,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&this._tryLockNavigator(function(){t._emitWillFocus(e);var n=t.state.routeStack.concat([e]),r=t.state.idStack.concat([o()]);t.setState({idStack:r,routeStack:n,requestedTopOfStack:n.length-1,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:n.length-1})})},popN:function(e){var t=this;0!==e&&this.state.requestedTopOfStack===this.state.observedTopOfStack&&this.state.requestedTopOfStack>0&&this._tryLockNavigator(function(){var n=t.state.requestedTopOfStack-e;m(n>=0,"Cannot pop below 0"),t._emitWillFocus(t.state.routeStack[n]),t.setState({requestedTopOfStack:n,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:null})})},pop:function(){this.popN(1)},replaceAtIndex:function(e,t){if(m(!!e,"Must supply route to replace"),0>t&&(t+=this.state.routeStack.length),!(this.state.routeStack.length<=t)){var n=this.state.idStack.slice(),r=this.state.routeStack.slice();n[t]=o(),r[t]=e,this.setState({idStack:n,routeStack:r,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:t}),this._emitWillFocus(e),this._emitDidFocus(e)}},replace:function(e){this.replaceAtIndex(e,-1)},replacePrevious:function(e){this.replaceAtIndex(e,-2)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(e){var t=this.state.routeStack.indexOf(e);m(-1!==t,"Calling pop to route for a route that doesn't exist!");var n=this.state.routeStack.length-t-1;this.popN(n)},replacePreviousAndPop:function(e){var t=this;this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.state.routeStack.length<2||this._tryLockNavigator(function(){t.replacePrevious(e),t.setState({requestedTopOfStack:t.state.requestedTopOfStack-1,makingNavigatorRequest:!0})}))},resetTo:function(e){m(!!e,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.replaceAtIndex(e,0),this.popToRoute(e))},handleNavigationComplete:function(e){this._toFocusOnNavigationComplete&&(this._getFocusEmitter().emit("focus",this._toFocusOnNavigationComplete),this._toFocusOnNavigationComplete=null),this._handleNavigatorStackChanged(e)},_routeToStackItem:function(e,t){var n=e.component,r=null!==this.state.updatingAllIndicesAtOrBeyond&&this.state.updatingAllIndicesAtOrBeyond>=t;return c.createElement(h,{key:"nav"+t,shouldUpdate:r},c.createElement(w,{title:e.title,style:[R.stackItem,this.props.itemWrapperStyle,e.wrapperStyle],backButtonIcon:this._imageNameFromSource(e.backButtonIcon),backButtonTitle:e.backButtonTitle,leftButtonIcon:this._imageNameFromSource(e.leftButtonIcon),leftButtonTitle:e.leftButtonTitle,onNavLeftButtonTap:e.onLeftButtonPress,rightButtonIcon:this._imageNameFromSource(e.rightButtonIcon),rightButtonTitle:e.rightButtonTitle,onNavRightButtonTap:e.onRightButtonPress,navigationBarHidden:this.props.navigationBarHidden,shadowHidden:this.props.shadowHidden,tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,translucent:this.props.translucent!==!1,titleTextColor:this.props.titleTextColor},c.createElement(n,i({navigator:this.navigator,route:e},e.passProps))))},_imageNameFromSource:function(e){return e?e.uri:void 0},renderNavigationStackItems:function(){var e=this.state.makingNavigatorRequest||null!==this.state.updatingAllIndicesAtOrBeyond,t=e?this.state.routeStack.map(this._routeToStackItem):null;return c.createElement(h,{shouldUpdate:e},c.createElement(b,{ref:g,style:R.transitioner,vertical:this.props.vertical,requestedTopOfStack:this.state.requestedTopOfStack,onNavigationComplete:this.handleNavigationComplete},t))},render:function(){return c.createElement(f,{style:this.props.style},this.renderNavigationStackItems())}}),R=p.create({stackItem:{backgroundColor:"white",overflow:"hidden",position:"absolute",top:0,left:0,right:0,bottom:0},transitioner:{flex:1}}),E=d("RCTNavigator"),w=d("RCTNavItem");n.exports=S}),__d("PickerIOS",["NativeMethodsMixin","React","ReactChildren","ReactNativeViewAttributes","NativeModules","StyleSheet","View","requireNativeComponent","merge"],function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("React"),a=t("ReactChildren"),s=(t("ReactNativeViewAttributes"),t("NativeModules").UIManager.RCTPicker.Constants),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=(t("merge"),"picker"),h=i.createClass({displayName:"PickerIOS",mixins:[o],propTypes:{onValueChange:i.PropTypes.func,selectedValue:i.PropTypes.any},getInitialState:function(){return this._stateFromProps(this.props)},componentWillReceiveProps:function(e){this.setState(this._stateFromProps(e))},_stateFromProps:function(e){var t=0,n=[];return a.forEach(e.children,function(r,o){r.props.value===e.selectedValue&&(t=o),n.push({value:r.props.value,label:r.props.label})}),{selectedIndex:t,items:n}},render:function(){return i.createElement(c,{style:this.props.style},i.createElement(d,{ref:p,style:f.pickerIOS,items:this.state.items,selectedIndex:this.state.selectedIndex,onChange:this._onChange}))},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.newValue),this.state.selectedIndex!==e.nativeEvent.newIndex&&this.refs[p].setNativeProps({selectedIndex:this.state.selectedIndex})}});h.Item=i.createClass({displayName:"Item",propTypes:{value:i.PropTypes.any,label:i.PropTypes.string},render:function(){return null}});var f=u.create({pickerIOS:{height:s.ComponentHeight}}),d=l("RCTPicker",h,{nativeOnly:{items:!0,onChange:!0,selectedIndex:!0}});n.exports=h}),__d("ProgressBarAndroid",["UnimplementedView"],function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("ProgressViewIOS",["Image","NativeMethodsMixin","NativeModules","ReactPropTypes","React","StyleSheet","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("Image"),a=t("NativeMethodsMixin"),s=t("NativeModules"),u=t("ReactPropTypes"),c=t("React"),l=t("StyleSheet"),p=t("requireNativeComponent"),h=c.createClass({displayName:"ProgressViewIOS",mixins:[a],propTypes:{progressViewStyle:u.oneOf(["default","bar"]),progress:u.number,progressTintColor:u.string,trackTintColor:u.string,progressImage:i.propTypes.source,trackImage:i.propTypes.source},render:function(){return c.createElement(d,o({},this.props,{style:[f.progressView,this.props.style]}))}}),f=l.create({progressView:{height:s.ProgressViewManager.ComponentHeight}}),d=p("RCTProgressView",h);n.exports=h}),__d("SegmentedControlIOS",["NativeMethodsMixin","NativeModules","ReactPropTypes","React","StyleSheet","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("NativeMethodsMixin"),a=t("NativeModules"),s=t("ReactPropTypes"),u=t("React"),c=t("StyleSheet"),l=t("requireNativeComponent"),p="segmentedcontrol",h=u.createClass({displayName:"SegmentedControlIOS",mixins:[i],propTypes:{values:s.arrayOf(s.string),selectedIndex:s.number,onValueChange:s.func,onChange:s.func,enabled:s.bool,tintColor:s.string,momentary:s.bool},getDefaultProps:function(){return{values:[],enabled:!0}},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value)},render:function(){return u.createElement(d,o({},this.props,{ref:p,style:[f.segmentedControl,this.props.style],onChange:this._onChange}))}}),f=c.create({segmentedControl:{height:a.SegmentedControlManager.ComponentHeight}}),d=l("RCTSegmentedControl",h);n.exports=h}),__d("SliderIOS",["NativeMethodsMixin","ReactPropTypes","React","StyleSheet","View","requireNativeComponent"],function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("ReactPropTypes"),a=t("React"),s=t("StyleSheet"),u=t("View"),c=t("requireNativeComponent"),l=a.createClass({displayName:"SliderIOS",mixins:[o],propTypes:{style:u.propTypes.style,value:i.number,minimumValue:i.number,maximumValue:i.number,minimumTrackTintColor:i.string,maximumTrackTintColor:i.string,onValueChange:i.func,onSlidingComplete:i.func},_onValueChange:function(e){this.props.onChange&&this.props.onChange(e),e.nativeEvent.continuous?this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value):this.props.onSlidingComplete&&void 0!==e.nativeEvent.value&&this.props.onSlidingComplete(e.nativeEvent.value)},render:function(){return a.createElement(h,{style:[p.slider,this.props.style],value:this.props.value,maximumValue:this.props.maximumValue,minimumValue:this.props.minimumValue,minimumTrackTintColor:this.props.minimumTrackTintColor,maximumTrackTintColor:this.props.maximumTrackTintColor,onChange:this._onValueChange})}}),p=s.create({slider:{height:40}}),h=c("RCTSlider",l,{nativeOnly:{onChange:!0}});n.exports=l}),__d("SwitchAndroid",["UnimplementedView"],function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("SwitchIOS",["NativeMethodsMixin","ReactPropTypes","React","StyleSheet","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("NativeMethodsMixin"),a=t("ReactPropTypes"),s=t("React"),u=t("StyleSheet"),c=t("requireNativeComponent"),l="switch",p=s.createClass({displayName:"SwitchIOS",mixins:[i],propTypes:{value:a.bool,disabled:a.bool,onValueChange:a.func,onTintColor:a.string,thumbTintColor:a.string,tintColor:a.string},getDefaultProps:function(){return{value:!1,disabled:!1}},_onChange:function(e){this.refs[l].setNativeProps({value:this.props.value}),this.props.value===e.nativeEvent.value||this.props.disabled||(this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value))},render:function(){return s.createElement(f,o({},this.props,{ref:l,onChange:this._onChange,style:[h.rkSwitch,this.props.style]}))}}),h=u.create({rkSwitch:{height:31,width:51}}),f=c("RCTSwitch",p,{nativeOnly:{onChange:!0}});n.exports=p}),__d("TabBarIOS",["React","StyleSheet","TabBarItemIOS","View","requireNativeComponent"],function(e,t,n,r){"use strict";var o=t("React"),i=t("StyleSheet"),a=t("TabBarItemIOS"),s=t("View"),u=t("requireNativeComponent"),c=o.createClass({
displayName:"TabBarIOS",statics:{Item:a},propTypes:{style:s.propTypes.style,tintColor:o.PropTypes.string,barTintColor:o.PropTypes.string,translucent:o.PropTypes.bool},render:function(){return o.createElement(p,{style:[l.tabGroup,this.props.style],tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,translucent:this.props.translucent!==!1},this.props.children)}}),l=i.create({tabGroup:{flex:1}}),p=u("RCTTabBar",c);n.exports=c}),__d("TabBarItemIOS",["Image","React","StaticContainer.react","StyleSheet","View","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("Image"),a=t("React"),s=t("StaticContainer.react"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=a.createClass({displayName:"TabBarItemIOS",propTypes:{badge:a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.number]),systemIcon:a.PropTypes.oneOf(["bookmarks","contacts","downloads","favorites","featured","history","more","most-recent","most-viewed","recents","search","top-rated"]),icon:i.propTypes.source,selectedIcon:i.propTypes.source,onPress:a.PropTypes.func,selected:a.PropTypes.bool,style:c.propTypes.style,title:a.PropTypes.string},getInitialState:function(){return{hasBeenSelected:!1}},componentWillMount:function(){this.props.selected&&this.setState({hasBeenSelected:!0})},componentWillReceiveProps:function(e){(this.state.hasBeenSelected||e.selected)&&this.setState({hasBeenSelected:!0})},render:function(){var e=null;e=this.state.hasBeenSelected?a.createElement(s,{shouldUpdate:this.props.selected},this.props.children):a.createElement(c,null);var t="number"==typeof this.props.badge?""+this.props.badge:this.props.badge;return a.createElement(f,o({},this.props,{icon:this.props.systemIcon||this.props.icon,badge:t,style:[h.tab,this.props.style]}),e)}}),h=u.create({tab:{position:"absolute",top:0,right:0,bottom:0,left:0}}),f=l("RCTTabBarItem",p);n.exports=p}),__d("Text",["NativeMethodsMixin","Platform","React","ReactInstanceMap","ReactNativeViewAttributes","StyleSheetPropType","TextStylePropTypes","Touchable","createReactNativeComponentClass","merge"],function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("Platform"),a=t("React"),s=t("ReactInstanceMap"),u=t("ReactNativeViewAttributes"),c=t("StyleSheetPropType"),l=t("TextStylePropTypes"),p=t("Touchable"),h=t("createReactNativeComponentClass"),f=t("merge"),d=c(l),m={validAttributes:f(u.UIView,{isHighlighted:!0,numberOfLines:!0,allowFontScaling:!0}),uiViewClassName:"RCTText"},v=a.createClass({displayName:"Text",mixins:[p.Mixin,o],propTypes:{numberOfLines:a.PropTypes.number,onLayout:a.PropTypes.func,onPress:a.PropTypes.func,suppressHighlighting:a.PropTypes.bool,style:d,testID:a.PropTypes.string,allowFontScaling:a.PropTypes.bool},viewConfig:m,getInitialState:function(){return f(this.touchableGetInitialState(),{isHighlighted:!1})},getDefaultProps:function(){return{allowFontScaling:!0}},onStartShouldSetResponder:function(){var e=this.props.onStartShouldSetResponder&&this.props.onStartShouldSetResponder();return e||!!this.props.onPress},handleResponderTerminationRequest:function(){var e=this.touchableHandleResponderTerminationRequest();return e&&this.props.onResponderTerminationRequest&&(e=this.props.onResponderTerminationRequest()),e},handleResponderGrant:function(e,t){this.touchableHandleResponderGrant(e,t),this.props.onResponderGrant&&this.props.onResponderGrant.apply(this,arguments)},handleResponderMove:function(e){this.touchableHandleResponderMove(e),this.props.onResponderMove&&this.props.onResponderMove.apply(this,arguments)},handleResponderRelease:function(e){this.touchableHandleResponderRelease(e),this.props.onResponderRelease&&this.props.onResponderRelease.apply(this,arguments)},handleResponderTerminate:function(e){this.touchableHandleResponderTerminate(e),this.props.onResponderTerminate&&this.props.onResponderTerminate.apply(this,arguments)},touchableHandleActivePressIn:function(){!this.props.suppressHighlighting&&this.props.onPress&&this.setState({isHighlighted:!0})},touchableHandleActivePressOut:function(){!this.props.suppressHighlighting&&this.props.onPress&&this.setState({isHighlighted:!1})},touchableHandlePress:function(){this.props.onPress&&this.props.onPress()},touchableGetPressRectOffset:function(){return g},getChildContext:function(){return{isInAParentText:!0}},childContextTypes:{isInAParentText:a.PropTypes.bool},render:function(){var e={};for(var t in this.props)e[t]=this.props[t];e.accessible!==!1&&(e.accessible=!0),e.isHighlighted=this.state.isHighlighted,e.onStartShouldSetResponder=this.onStartShouldSetResponder,e.onResponderTerminationRequest=this.handleResponderTerminationRequest,e.onResponderGrant=this.handleResponderGrant,e.onResponderMove=this.handleResponderMove,e.onResponderRelease=this.handleResponderRelease,e.onResponderTerminate=this.handleResponderTerminate;var n=s.get(this)._context;return n.isInAParentText?a.createElement(_,e):a.createElement(y,e)}}),g={top:20,left:20,right:20,bottom:30},y=h(m),_=y;"android"===i.OS&&(_=h({validAttributes:f(u.UIView,{isHighlighted:!0}),uiViewClassName:"RCTVirtualText"})),n.exports=v}),__d("Touchable",["BoundingDimensions","Position","TouchEventUtils","keyMirror","queryLayoutByID"],function(e,t,n,r){"use strict";var o=t("BoundingDimensions"),i=t("Position"),a=t("TouchEventUtils"),s=t("keyMirror"),u=t("queryLayoutByID"),c=s({NOT_RESPONDER:null,RESPONDER_INACTIVE_PRESS_IN:null,RESPONDER_INACTIVE_PRESS_OUT:null,RESPONDER_ACTIVE_PRESS_IN:null,RESPONDER_ACTIVE_PRESS_OUT:null,RESPONDER_ACTIVE_LONG_PRESS_IN:null,RESPONDER_ACTIVE_LONG_PRESS_OUT:null,ERROR:null}),l={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},p={RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0},h={RESPONDER_ACTIVE_LONG_PRESS_IN:!0},f=s({DELAY:null,RESPONDER_GRANT:null,RESPONDER_RELEASE:null,RESPONDER_TERMINATED:null,ENTER_PRESS_RECT:null,LEAVE_PRESS_RECT:null,LONG_PRESS_DETECTED:null}),d={NOT_RESPONDER:{DELAY:c.ERROR,RESPONDER_GRANT:c.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:c.ERROR,RESPONDER_TERMINATED:c.ERROR,ENTER_PRESS_RECT:c.ERROR,LEAVE_PRESS_RECT:c.ERROR,LONG_PRESS_DETECTED:c.ERROR},RESPONDER_INACTIVE_PRESS_IN:{DELAY:c.RESPONDER_ACTIVE_PRESS_IN,RESPONDER_GRANT:c.ERROR,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:c.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:c.ERROR},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:c.RESPONDER_ACTIVE_PRESS_OUT,RESPONDER_GRANT:c.ERROR,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.RESPONDER_INACTIVE_PRESS_IN,LEAVE_PRESS_RECT:c.RESPONDER_INACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:c.ERROR},RESPONDER_ACTIVE_PRESS_IN:{DELAY:c.ERROR,RESPONDER_GRANT:c.ERROR,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:c.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:c.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:c.ERROR,RESPONDER_GRANT:c.ERROR,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.RESPONDER_ACTIVE_PRESS_IN,LEAVE_PRESS_RECT:c.RESPONDER_ACTIVE_PRESS_OUT,LONG_PRESS_DETECTED:c.ERROR},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:c.ERROR,RESPONDER_GRANT:c.ERROR,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:c.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:c.RESPONDER_ACTIVE_LONG_PRESS_IN},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:c.ERROR,RESPONDER_GRANT:c.ERROR,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.RESPONDER_ACTIVE_LONG_PRESS_IN,LEAVE_PRESS_RECT:c.RESPONDER_ACTIVE_LONG_PRESS_OUT,LONG_PRESS_DETECTED:c.ERROR},error:{DELAY:c.NOT_RESPONDER,RESPONDER_GRANT:c.RESPONDER_INACTIVE_PRESS_IN,RESPONDER_RELEASE:c.NOT_RESPONDER,RESPONDER_TERMINATED:c.NOT_RESPONDER,ENTER_PRESS_RECT:c.NOT_RESPONDER,LEAVE_PRESS_RECT:c.NOT_RESPONDER,LONG_PRESS_DETECTED:c.NOT_RESPONDER}},m=130,v=20,g=500,y=g-m,_=10,b={touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!0},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e,t){e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=c.NOT_RESPONDER,this.state.touchable.responderID=t,this._receiveSignal(f.RESPONDER_GRANT,e);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):m;n=isNaN(n)?m:n,0!==n?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),n):this._handleDelay(e);var r=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):y;r=isNaN(r)?y:r,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),r+n)},touchableHandleResponderRelease:function(e){this._receiveSignal(f.RESPONDER_RELEASE,e)},touchableHandleResponderTerminate:function(e){this._receiveSignal(f.RESPONDER_TERMINATED,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.touchState!==c.RESPONDER_INACTIVE_PRESS_IN&&this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,r=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():null,o=null!=r.left?r.left:v,i=null!=r.top?r.top:v,s=null!=r.right?r.right:v,u=null!=r.bottom?r.bottom:v,l=a.extractSingleTouch(e.nativeEvent),p=l&&l.pageX,h=l&&l.pageY;if(this.pressInLocation){var d=this._getDistanceBetweenPoints(p,h,this.pressInLocation.pageX,this.pressInLocation.pageY);d>_&&this._cancelLongPressDelayTimeout()}var m=p>t.left-o&&h>t.top-i&&p<t.left+n.width+s&&h<t.top+n.height+u;m?this._receiveSignal(f.ENTER_PRESS_RECT,e):(this._cancelLongPressDelayTimeout(),this._receiveSignal(f.LEAVE_PRESS_RECT,e))}},_remeasureMetricsOnActivation:function(){u(this.state.touchable.responderID,null,this._handleQueryLayout)},_handleQueryLayout:function(e,t,n,r,a,s){this.state.touchable.positionOnActivate&&i.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&o.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=i.getPooled(a,s),this.state.touchable.dimensionsOnActivate=o.getPooled(n,r)},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal(f.DELAY,e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null,this._receiveSignal(f.LONG_PRESS_DETECTED,e)},_receiveSignal:function(e,t){var n=this.state.touchable.touchState;if(!d[n]||!d[n][e])throw new Error("Unrecognized signal `"+e+"` or state `"+n+"` for Touchable responder `"+this.state.touchable.responderID+"`");var r=d[n][e];if(r===c.ERROR)throw new Error("Touchable cannot transition from `"+n+"` to `"+e+"` for responder `"+this.state.touchable.responderID+"`");n!==r&&(this._performSideEffectsForTransition(n,r,e,t),this.state.touchable.touchState=r)},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===c.RESPONDER_ACTIVE_PRESS_IN||e===c.RESPONDER_ACTIVE_LONG_PRESS_IN},_savePressInLocation:function(e){var t=a.extractSingleTouch(e.nativeEvent),n=t&&t.pageX,r=t&&t.pageY;this.pressInLocation={pageX:n,pageY:r}},_getDistanceBetweenPoints:function(e,t,n,r){var o=e-n,i=t-r;return Math.sqrt(o*o+i*i)},_performSideEffectsForTransition:function(e,t,n,r){var o=this._isHighlight(e),i=this._isHighlight(t),a=n===f.RESPONDER_TERMINATED||n===f.RESPONDER_RELEASE;if(a&&this._cancelLongPressDelayTimeout(),!l[e]&&l[t]&&this._remeasureMetricsOnActivation(),p[e]&&n===f.LONG_PRESS_DETECTED&&this.touchableHandleLongPress&&this.touchableHandleLongPress(r),i&&!o?(this._savePressInLocation(r),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(r)):!i&&o&&this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=this.setTimeout(function(){this.touchableHandleActivePressOut(r)},this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(r)),p[e]&&n===f.RESPONDER_RELEASE){var s=!!this.props.onLongPress,u=h[e]&&(!s||!this.touchableLongPressCancelsPress()),c=!h[e]||u;c&&this.touchableHandlePress&&this.touchableHandlePress(r)}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null}},S={Mixin:b};n.exports=S}),__d("BoundingDimensions",["PooledClass"],function(e,t,n,r){"use strict";function o(e,t){this.width=e,this.height=t}var i=t("PooledClass"),a=i.twoArgumentPooler;o.getPooledFromElement=function(e){return o.getPooled(e.offsetWidth,e.offsetHeight)},i.addPoolingTo(o,a),n.exports=o}),__d("Position",["PooledClass"],function(e,t,n,r){"use strict";function o(e,t){this.left=e,this.top=t}var i=t("PooledClass"),a=i.twoArgumentPooler;i.addPoolingTo(o,a),n.exports=o}),__d("TouchEventUtils",[],function(e,t,n,r){var o={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};n.exports=o}),__d("queryLayoutByID",["ReactNativeTagHandles","NativeModules"],function(e,t,n,r){"use strict";var o=t("ReactNativeTagHandles"),i=t("NativeModules").UIManager,a=function(e,t,n){i.measure(o.rootNodeIDToTag[e],n)};n.exports=a}),__d("TextInput",["DocumentSelectionState","EventEmitter","NativeMethodsMixin","NativeModules","Platform","ReactPropTypes","React","ReactChildren","StyleSheet","Text","TextInputState","react-timer-mixin/TimerMixin.js","TouchableWithoutFeedback","createReactNativeComponentClass","emptyFunction","invariant","requireNativeComponent"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("DocumentSelectionState"),a=t("EventEmitter"),s=t("NativeMethodsMixin"),u=t("NativeModules").UIManager,c=t("Platform"),l=t("ReactPropTypes"),p=t("React"),h=t("ReactChildren"),f=t("StyleSheet"),d=t("Text"),m=t("TextInputState"),v=t("react-timer-mixin/TimerMixin.js"),g=t("TouchableWithoutFeedback"),y=(t("createReactNativeComponentClass"),t("emptyFunction")),_=t("invariant"),b=t("requireNativeComponent"),S={onSelectionChange:!0,onTextInput:!0,children:!0},R={onSubmitEditing:!0};if("android"===c.OS)var E=b("AndroidTextInput",null);else if("ios"===c.OS)var w=b("RCTTextView",null),T=b("RCTTextField",null);var C=p.createClass({displayName:"TextInput",propTypes:{autoCapitalize:l.oneOf(["none","sentences","words","characters"]),autoCorrect:l.bool,autoFocus:l.bool,textAlign:l.oneOf(["start","center","end"]),textAlignVertical:l.oneOf(["top","center","bottom"]),editable:l.bool,keyboardType:l.oneOf(["default","numeric","email-address","ascii-capable","numbers-and-punctuation","url","number-pad","phone-pad","name-phone-pad","decimal-pad","twitter","web-search"]),returnKeyType:l.oneOf(["default","go","google","join","next","route","search","send","yahoo","done","emergency-call"]),maxLength:l.number,numberOfLines:l.number,enablesReturnKeyAutomatically:l.bool,multiline:l.bool,onBlur:l.func,onFocus:l.func,onChange:l.func,onChangeText:l.func,onEndEditing:l.func,onSubmitEditing:l.func,onLayout:l.func,placeholder:l.string,placeholderTextColor:l.string,secureTextEntry:l.bool,selectionState:l.instanceOf(i),value:l.string,defaultValue:l.string,clearButtonMode:l.oneOf(["never","while-editing","unless-editing","always"]),clearTextOnFocus:l.bool,selectTextOnFocus:l.bool,style:d.propTypes.style,testID:l.string,underlineColorAndroid:l.string},mixins:[s,v],viewConfig:"ios"===c.OS?T.viewConfig:"android"===c.OS?E.viewConfig:{},isFocused:function(){return m.currentlyFocusedField()===p.findNodeHandle(this.refs.input)},getInitialState:function(){return{mostRecentEventCount:0}},contextTypes:{onFocusRequested:p.PropTypes.func,focusEmitter:p.PropTypes.instanceOf(a)},_focusSubscription:void 0,componentDidMount:function(){var e=this;return this.context.focusEmitter?(this._focusSubscription=this.context.focusEmitter.addListener("focus",function(t){e===t?e.requestAnimationFrame(e.focus):e.isFocused()&&e.blur()}),void(this.props.autoFocus&&this.context.onFocusRequested(this))):void(this.props.autoFocus&&this.requestAnimationFrame(this.focus))},componentWillUnmount:function(){this._focusSubscription&&this._focusSubscription.remove(),this.isFocused()&&this.blur()},getChildContext:function(){return{isInAParentText:!0}},childContextTypes:{isInAParentText:p.PropTypes.bool},clear:function(){this.setNativeProps({text:""})},render:function(){return"ios"===c.OS?this._renderIOS():"android"===c.OS?this._renderAndroid():void 0},_getText:function(){return"string"==typeof this.props.value?this.props.value:this.props.defaultValue},_renderIOS:function(){var e,t=Object.assign({},this.props);if(t.style=[O.input,this.props.style],t.multiline){for(var n in R)if(t[n])throw new Error("TextInput prop `"+n+"` cannot be used with multiline.");var r=t.children,i=0;h.forEach(r,function(){return++i}),_(!(t.value&&i),"Cannot specify both value and children."),i>1&&(r=p.createElement(d,null,r)),t.inputView&&(r=[r,t.inputView]),e=p.createElement(w,o({ref:"input"},t,{children:r,mostRecentEventCount:this.state.mostRecentEventCount,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:this._onSelectionChange,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:y.thatReturnsTrue,text:this._getText()}))}else{for(var n in S)if(t[n])throw new Error("TextInput prop `"+n+"` is only supported with multiline.");e=p.createElement(T,o({ref:"input"},t,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChangeShouldSetResponder:function(){return!0},text:this._getText(),mostRecentEventCount:this.state.mostRecentEventCount}))}return p.createElement(g,{onPress:this._onPress,rejectResponderTermination:!0,testID:t.testID},e)},_renderAndroid:function(){var e=u.UIText.AutocapitalizationType[this.props.autoCapitalize],t=u.AndroidTextInput.Constants.TextAlign[this.props.textAlign],n=u.AndroidTextInput.Constants.TextAlignVertical[this.props.textAlignVertical],r=this.props.children,o=0;h.forEach(r,function(){return++o}),_(!(this.props.value&&o),"Cannot specify both value and children."),o>1&&(r=p.createElement(d,null,r));var i=p.createElement(E,{ref:"input",style:[this.props.style],autoCapitalize:e,autoCorrect:this.props.autoCorrect,textAlign:t,textAlignVertical:n,keyboardType:this.props.keyboardType,mostRecentEventCount:this.state.mostRecentEventCount,multiline:this.props.multiline,numberOfLines:this.props.numberOfLines,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onTextInput:this._onTextInput,onEndEditing:this.props.onEndEditing,onSubmitEditing:this.props.onSubmitEditing,onLayout:this.props.onLayout,password:this.props.password||this.props.secureTextEntry,placeholder:this.props.placeholder,placeholderTextColor:this.props.placeholderTextColor,text:this._getText(),underlineColorAndroid:this.props.underlineColorAndroid,children:r,editable:this.props.editable});return p.createElement(g,{onPress:this._onPress,testID:this.props.testID},i)},_onFocus:function(e){this.props.onFocus&&this.props.onFocus(e)},_onPress:function(e){(this.props.editable||void 0===this.props.editable)&&this.focus()},_onChange:function(e){var t=this;"android"===c.OS&&this.refs.input.setNativeProps({mostRecentEventCount:e.nativeEvent.eventCount});var n=e.nativeEvent.text,r=e.nativeEvent.eventCount;this.props.onChange&&this.props.onChange(e),this.props.onChangeText&&this.props.onChangeText(n),this.setState({mostRecentEventCount:r},function(){n!==t.props.value&&"string"==typeof t.props.value&&t.refs.input.setNativeProps({text:t.props.value})})},_onBlur:function(e){this.blur(),this.props.onBlur&&this.props.onBlur(e)},_onSelectionChange:function(e){if(this.props.selectionState){var t=e.nativeEvent.selection;this.props.selectionState.update(t.start,t.end)}this.props.onSelectionChange&&this.props.onSelectionChange(e)},_onTextInput:function(e){this.props.onTextInput&&this.props.onTextInput(e)}}),O=f.create({input:{alignSelf:"stretch"}});n.exports=C}),__d("DocumentSelectionState",["mixInEventEmitter"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("mixInEventEmitter"),s=function(){function e(t,n){o(this,e),this._anchorOffset=t,this._focusOffset=n,this._hasFocus=!1}return i(e,[{key:"update",value:function(e,t){(this._anchorOffset!==e||this._focusOffset!==t)&&(this._anchorOffset=e,this._focusOffset=t,this.emit("update"))}},{key:"constrainLength",value:function(e){this.update(Math.min(this._anchorOffset,e),Math.min(this._focusOffset,e))}},{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(e,t){return this.hasFocus()&&this.getStartOffset()<=t&&e<=this.getEndOffset()}}]),e}();a(s,{blur:!0,focus:!0,update:!0}),n.exports=s}),__d("mixInEventEmitter",["EventEmitter","EventEmitterWithHolding","EventHolder","EventValidator","copyProperties","invariant","keyOf"],function(e,t,n,r){function o(e,t){l(t,"Must supply set of valid event types"),l(!this.__eventEmitter,"An active emitter is already mixed in");var n=e.prototype||e,r=e.constructor;r&&l(r===Object||r===Function,"Mix EventEmitter into a class, not an instance"),n.hasOwnProperty(h)?c(n.__types,t):n.__types?n.__types=c({},n.__types,t):n.__types=t,c(n,f)}var i=t("EventEmitter"),a=t("EventEmitterWithHolding"),s=t("EventHolder"),u=t("EventValidator"),c=t("copyProperties"),l=t("invariant"),p=t("keyOf"),h=p({__types:!0}),f={emit:function(e,t,n,r,o,i,a){return this.__getEventEmitter().emit(e,t,n,r,o,i,a)},emitAndHold:function(e,t,n,r,o,i,a){return this.__getEventEmitter().emitAndHold(e,t,n,r,o,i,a)},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 i;e=u.addValidation(e,this.__types);var t=new s;this.__eventEmitter=new a(e,t)}return this.__eventEmitter}};n.exports=o}),__d("EventEmitterWithHolding",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t,n){o(this,e),this._emitter=t,this._eventHolder=n,this._currentEventToken=null,this._emittingHeldEvents=!1}return i(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,t,n,r,o,i,a){this._emitter.emit(e,t,n,r,o,i,a)}},{key:"emitAndHold",value:function(e,t,n,r,o,i,a){this._currentEventToken=this._eventHolder.holdEvent(e,t,n,r,o,i,a),this._emitter.emit(e,t,n,r,o,i,a),this._currentEventToken=null}},{key:"releaseCurrentEvent",value:function(){null!==this._currentEventToken?this._eventHolder.releaseEvent(this._currentEventToken):this._emittingHeldEvents&&this._eventHolder.releaseCurrentEvent()}},{key:"releaseHeldEventType",value:function(e){this._eventHolder.releaseEventType(e)}}]),e}();n.exports=a}),__d("EventHolder",["invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("invariant"),s=function(){function e(){o(this,e),this._heldEvents={},this._currentEventKey=null}return i(e,[{key:"holdEvent",value:function(e,t,n,r,o,i,a){this._heldEvents[e]=this._heldEvents[e]||[];var s=this._heldEvents[e],u={eventType:e,index:s.length};return s.push([t,n,r,o,i,a]),u}},{key:"emitToListener",value:function(e,t,n){var r=this,o=this._heldEvents[e];if(o){var i=this._currentEventKey;o.forEach(function(o,i){o&&(r._currentEventKey={eventType:e,index:i},t.apply(n,o))}),this._currentEventKey=i}}},{key:"releaseCurrentEvent",value:function(){a(null!==this._currentEventKey,"Not in an emitting cycle; there is no current event"),this.releaseEvent(this._currentEventKey)}},{key:"releaseEvent",value:function(e){delete this._heldEvents[e.eventType][e.index]}},{key:"releaseEventType",value:function(e){this._heldEvents[e]=[]}}]),e}();n.exports=s}),__d("EventValidator",["copyProperties"],function(e,t,n,r){"use strict";function o(e,t){if(-1===t.indexOf(e))throw new TypeError(i(e,t))}function i(e,t){var n='Unknown event type "'+e+'". ';return __DEV__&&(n+=u(e,t)),n+="Known event types: "+t.join(", ")+"."}var a=t("copyProperties"),s={addValidation:function(e,t){var n=Object.keys(t),r=Object.create(e);return a(r,{emit:function(t,r,i,a,s,u,c){return o(t,n),e.emit.call(this,t,r,i,a,s,u,c)}}),r}};if(__DEV__)var u=function(e,t){var n=c(e,t);return h(n,e)?'Did you mean "'+n.type+'"? ':""},c=function(e,t){var n=t.map(l.bind(this,e));return n.sort(p)[0]},l=function(e,t){return{type:t,distance:f(e,t)}},p=function(e,t){return e.distance<t.distance?-1:e.distance>t.distance?1:0},h=function(e,t){return e.distance/t.length<.334},f=function(e,t){var n,r,o=[];for(n=0;n<=e.length;n++)o[n]=[n];for(r=1;r<=t.length;r++)o[0][r]=r;for(n=1;n<=e.length;n++)for(r=1;r<=t.length;r++){var i=e.charAt(n-1)===t.charAt(r-1)?0:1;o[n][r]=Math.min(o[n-1][r]+1,o[n][r-1]+1,o[n-1][r-1]+i),n>1&&r>1&&e.charAt(n-1)==t.charAt(r-2)&&e.charAt(n-2)==t.charAt(r-1)&&(o[n][r]=Math.min(o[n][r],o[n-2][r-2]+i))}return o[e.length][t.length]};n.exports=s}),__d("copyProperties",[],function(e,t,n,r){function o(e,t,n,r,o,i,a){if(e=e||{},__DEV__&&a)throw new Error("Too many arguments passed to copyProperties");for(var s,u=[t,n,r,o,i],c=0;u[c];){s=u[c++];for(var l in s)e[l]=s[l];s.hasOwnProperty&&s.hasOwnProperty("toString")&&"undefined"!=typeof s.toString&&e.toString!==s.toString&&(e.toString=s.toString)}return e}n.exports=o}),__d("TouchableWithoutFeedback",["React","react-timer-mixin/TimerMixin.js","Touchable","View","ensurePositiveDelayProps","onlyChild"],function(e,t,n,r){"use strict";var o=t("React"),i=t("react-timer-mixin/TimerMixin.js"),a=t("Touchable"),s=t("View"),u=t("ensurePositiveDelayProps"),c=t("onlyChild"),l={top:20,left:20,right:20,bottom:30},p=o.createClass({displayName:"TouchableWithoutFeedback",mixins:[i,a.Mixin],propTypes:{accessible:o.PropTypes.bool,accessibilityComponentType:o.PropTypes.oneOf(s.AccessibilityComponentType),accessibilityTraits:o.PropTypes.oneOfType([o.PropTypes.oneOf(s.AccessibilityTraits),o.PropTypes.arrayOf(o.PropTypes.oneOf(s.AccessibilityTraits))]),onPress:o.PropTypes.func,onPressIn:o.PropTypes.func,onPressOut:o.PropTypes.func,onLayout:o.PropTypes.func,onLongPress:o.PropTypes.func,delayPressIn:o.PropTypes.number,delayPressOut:o.PropTypes.number,delayLongPress:o.PropTypes.number},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){u(this.props)},componentWillReceiveProps:function(e){u(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 l},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(){return o.cloneElement(c(this.props.children),{accessible:this.props.accessible!==!1,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,testID:this.props.testID,onLayout:this.props.onLayout,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate})}});n.exports=p}),__d("ensurePositiveDelayProps",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i=function(e){o(!(e.delayPressIn<0||e.delayPressOut<0||e.delayLongPress<0),"Touchable components cannot have negative delay properties")};n.exports=i}),__d("ToastAndroid",["warning"],function(e,t,n,r){"use strict";var o=t("warning"),i={show:function(e,t){o(!1,"Cannot use ToastAndroid on iOS.")}};n.exports=i}),__d("ToolbarAndroid",["UnimplementedView"],function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("TouchableHighlight",["NativeMethodsMixin","React","ReactNativeViewAttributes","StyleSheet","react-timer-mixin/TimerMixin.js","Touchable","TouchableWithoutFeedback","View","cloneWithProps","ensureComponentIsNative","ensurePositiveDelayProps","keyOf","merge","onlyChild"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("NativeMethodsMixin"),a=t("React"),s=t("ReactNativeViewAttributes"),u=t("StyleSheet"),c=t("react-timer-mixin/TimerMixin.js"),l=t("Touchable"),p=t("TouchableWithoutFeedback"),h=t("View"),f=t("cloneWithProps"),d=t("ensureComponentIsNative"),m=t("ensurePositiveDelayProps"),v=t("keyOf"),g=t("merge"),y=t("onlyChild"),_={
activeOpacity:.8,underlayColor:"black"},b=a.createClass({displayName:"TouchableHighlight",propTypes:o({},p.propTypes,{activeOpacity:a.PropTypes.number,underlayColor:a.PropTypes.string,style:h.propTypes.style,onShowUnderlay:a.PropTypes.func,onHideUnderlay:a.PropTypes.func}),mixins:[i,c,l.Mixin],getDefaultProps:function(){return _},computeSyntheticState:function(e){return{activeProps:{style:{opacity:e.activeOpacity}},activeUnderlayProps:{style:{backgroundColor:e.underlayColor}},underlayStyle:[T.style,e.style]}},getInitialState:function(){return g(this.touchableGetInitialState(),this.computeSyntheticState(this.props))},componentDidMount:function(){m(this.props),d(this.refs[R])},componentDidUpdate:function(){d(this.refs[R])},componentWillReceiveProps:function(e){m(e),(e.activeOpacity!==this.props.activeOpacity||e.underlayColor!==this.props.underlayColor||e.style!==this.props.style)&&this.setState(this.computeSyntheticState(e))},viewConfig:{uiViewClassName:"RCTView",validAttributes:s.RCTView},touchableHandleActivePressIn:function(e){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this._showUnderlay(),this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this._hideTimeout||this._hideUnderlay(),this.props.onPressOut&&this.props.onPressOut(e)},touchableHandlePress:function(e){this.clearTimeout(this._hideTimeout),this._showUnderlay(),this._hideTimeout=this.setTimeout(this._hideUnderlay,this.props.delayPressOut||100),this.props.onPress&&this.props.onPress(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return S},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn},touchableGetLongPressDelayMS:function(){return this.props.delayLongPress},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_showUnderlay:function(){this.isMounted()&&(this.refs[E].setNativeProps(this.state.activeUnderlayProps),this.refs[R].setNativeProps(this.state.activeProps),this.props.onShowUnderlay&&this.props.onShowUnderlay())},_hideUnderlay:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this.refs[E]&&(this.refs[R].setNativeProps(w),this.refs[E].setNativeProps(o({},T,{style:this.state.underlayStyle})),this.props.onHideUnderlay&&this.props.onHideUnderlay())},render:function(){return a.createElement(h,{accessible:!0,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,ref:E,style:this.state.underlayStyle,onLayout:this.props.onLayout,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,testID:this.props.testID},f(y(this.props.children),{ref:R}))}}),S={top:20,left:20,right:20,bottom:30},R=v({childRef:null}),E=v({underlayRef:null}),w={style:u.create({x:{opacity:1}}).x},T={style:u.create({x:{backgroundColor:"transparent"}}).x};n.exports=b}),__d("cloneWithProps",["ReactElement","ReactPropTransferer","keyOf","warning"],function(e,t,n,r){"use strict";function o(e,t){__DEV__&&u(!e.ref,"You are calling cloneWithProps() on a child with a ref. This is dangerous because you're creating a new child which will not be added as a ref to its parent.");var n=a.mergeProps(t,e.props);return!n.hasOwnProperty(c)&&e.props.hasOwnProperty(c)&&(n.children=e.props.children),i.createElement(e.type,n)}var i=t("ReactElement"),a=t("ReactPropTransferer"),s=t("keyOf"),u=t("warning"),c=s({children:null});n.exports=o}),__d("ReactPropTransferer",["Object.assign","emptyFunction","joinClasses"],function(e,t,n,r){"use strict";function o(e){return function(t,n,r){t.hasOwnProperty(n)?t[n]=e(t[n],r):t[n]=r}}function i(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=l[n];r&&l.hasOwnProperty(n)?r(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var a=t("Object.assign"),s=t("emptyFunction"),u=t("joinClasses"),c=o(function(e,t){return a({},t,e)}),l={children:s,className:o(u),style:c},p={mergeProps:function(e,t){return i(a({},e),t)}};n.exports=p}),__d("joinClasses",[],function(e,t,n,r){"use strict";function o(e){e||(e="");var t,n=arguments.length;if(n>1)for(var r=1;n>r;r++)t=arguments[r],t&&(e=(e?e+" ":"")+t);return e}n.exports=o}),__d("ensureComponentIsNative",["invariant"],function(e,t,n,r){"use strict";var o=t("invariant"),i=function(e){o(e&&"function"==typeof e.setNativeProps,"Touchable child must either be native or forward setNativeProps to a native component")};n.exports=i}),__d("TouchableNativeFeedback",["React","StyleSheet","Text","View"],function(e,t,n,r){"use strict";var o=t("React"),i=t("StyleSheet"),a=t("Text"),s=t("View"),u=o.createClass({displayName:"DummyTouchableNativeFeedback",render:function(){return o.createElement(s,{style:[c.container,this.props.style]},o.createElement(a,{style:c.info},"TouchableNativeFeedback is not supported on this platform!"))}}),c=i.create({container:{height:100,width:300,backgroundColor:"#ffbcbc",borderWidth:1,borderColor:"red",alignItems:"center",justifyContent:"center",margin:10},info:{color:"#333333",margin:20}});n.exports=u}),__d("TouchableOpacity",["Animated","NativeMethodsMixin","React","react-timer-mixin/TimerMixin.js","Touchable","TouchableWithoutFeedback","ensurePositiveDelayProps","flattenStyle","keyOf"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("Animated"),a=t("NativeMethodsMixin"),s=t("React"),u=t("react-timer-mixin/TimerMixin.js"),c=t("Touchable"),l=t("TouchableWithoutFeedback"),p=t("ensurePositiveDelayProps"),h=t("flattenStyle"),f=(t("keyOf"),s.createClass({displayName:"TouchableOpacity",mixins:[u,c.Mixin,a],propTypes:o({},l.propTypes,{activeOpacity:s.PropTypes.number}),getDefaultProps:function(){return{activeOpacity:.2}},getInitialState:function(){return o({},this.touchableGetInitialState(),{anim:new i.Value(1)})},componentDidMount:function(){p(this.props)},componentWillReceiveProps:function(e){p(e)},setOpacityTo:function(e){i.timing(this.state.anim,{toValue:e,duration:150}).start()},touchableHandleActivePressIn:function(e){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this._opacityActive(),this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this._hideTimeout||this._opacityInactive(),this.props.onPressOut&&this.props.onPressOut(e)},touchableHandlePress:function(e){this.clearTimeout(this._hideTimeout),this._opacityActive(),this._hideTimeout=this.setTimeout(this._opacityInactive,this.props.delayPressOut||100),this.props.onPress&&this.props.onPress(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return d},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(){this.setOpacityTo(this.props.activeOpacity)},_opacityInactive:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null;var e=h(this.props.style)||{};this.setOpacityTo(void 0===e.opacity?1:e.opacity)},render:function(){return s.createElement(i.View,{accessible:!0,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,style:[this.props.style,{opacity:this.state.anim}],testID:this.props.testID,onLayout:this.props.onLayout,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate},this.props.children)}})),d={top:20,left:20,right:20,bottom:30};n.exports=f}),__d("Animated",["AnimatedImplementation","Image","Text","View"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("AnimatedImplementation"),a=t("Image"),s=t("Text"),u=t("View");n.exports=o({},i,{View:i.createAnimatedComponent(u),Text:i.createAnimatedComponent(s),Image:i.createAnimatedComponent(a)})}),__d("AnimatedImplementation",["Interpolation","Easing","InteractionManager","Interpolation","React","Set","SpringConfig","invariant","flattenStyle","requestAnimationFrame"],function(e,t,n,r){function o(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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){function t(e){"function"==typeof e.update?n.add(e):e.__getChildren().forEach(t)}var n=new v;t(e),n.forEach(function(e){return e.update()})}function s(e,t){return void 0===e||null===e?t:e}function u(e){var t="node",n=function(n){function r(){i(this,r),l(Object.getPrototypeOf(r.prototype),"constructor",this).apply(this,arguments)}return o(r,n),p(r,[{key:"componentWillUnmount",value:function(){this._propsAnimated&&this._propsAnimated.__detach()}},{key:"setNativeProps",value:function(e){this.refs[t].setNativeProps(e)}},{key:"componentWillMount",value:function(){this.attachProps(this.props)}},{key:"attachProps",value:function(e){var n=this,r=this._propsAnimated,o=function(){if(n.refs[t].setNativeProps){var e=n._propsAnimated.__getAnimatedValue();n.refs[t].setNativeProps(e)}else n.forceUpdate()};this._propsAnimated=new k(e,o),r&&r.__detach()}},{key:"componentWillReceiveProps",value:function(e){this.attachProps(e)}},{key:"render",value:function(){return m.createElement(e,c({},this._propsAnimated.__getValue(),{ref:t}))}}]),r}(m.Component);return n}var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function G(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:G(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=t("Easing"),f=t("InteractionManager"),d=t("Interpolation"),m=t("React"),v=t("Set"),g=t("SpringConfig"),y=t("invariant"),_=t("flattenStyle"),b=t("requestAnimationFrame"),S=function(){function e(){i(this,e)}return p(e,[{key:"__attach",value:function(){}},{key:"__detach",value:function(){}},{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[]}}]),e}(),R=function(){function e(){i(this,e)}return p(e,[{key:"start",value:function(e,t,n,r){}},{key:"stop",value:function(){}},{key:"__debouncedOnEnd",value:function(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)}}]),e}(),E=function(e){function t(){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._children=[]}return o(t,e),p(t,[{key:"__addChild",value:function(e){0===this._children.length&&this.__attach(),this._children.push(e)}},{key:"__removeChild",value:function(e){var t=this._children.indexOf(e);return-1===t?void console.warn("Trying to remove a child that doesn't exist"):(this._children.splice(t,1),void(0===this._children.length&&this.__detach()))}},{key:"__getChildren",value:function(){return this._children}}]),t}(S),w=h.inOut(h.ease),T=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._toValue=e.toValue,this._easing=e.easing||w,this._duration=void 0!==e.duration?e.duration:500,this._delay=e.delay||0}return o(t,e),p(t,[{key:"start",value:function n(e,t,r){var o=this;this.__active=!0,this._fromValue=e,this._onUpdate=t,this.__onEnd=r;var n=function(){0===o._duration?(o._onUpdate(o._toValue),o.__debouncedOnEnd({finished:!0})):(o._startTime=Date.now(),o._animationFrame=b(o.onUpdate.bind(o)))};this._delay?this._timeout=setTimeout(n,this._delay):n()}},{key:"onUpdate",value:function(){var e=Date.now();return e>=this._startTime+this._duration?(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((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),void(this.__active&&(this._animationFrame=b(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,clearTimeout(this._timeout),window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(R),C=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._deceleration=e.deceleration||.998,this._velocity=e.velocity}return o(t,e),p(t,[{key:"start",value:function(e,t,n){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=n,this._startTime=Date.now(),this._animationFrame=b(this.onUpdate.bind(this))}},{key:"onUpdate",value:function(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));return this._onUpdate(t),Math.abs(this._lastValue-t)<.1?void this.__debouncedOnEnd({finished:!0}):(this._lastValue=t,void(this.__active&&(this._animationFrame=b(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(R),O=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._overshootClamping=s(e.overshootClamping,!1),this._restDisplacementThreshold=s(e.restDisplacementThreshold,.001),this._restSpeedThreshold=s(e.restSpeedThreshold,.001),this._initialVelocity=e.velocity,this._lastVelocity=s(e.velocity,0),this._toValue=e.toValue;var n;void 0!==e.bounciness||void 0!==e.speed?(y(void 0===e.tension&&void 0===e.friction,"You can only define bounciness/speed or tension/friction but not both"),n=g.fromBouncinessAndSpeed(s(e.bounciness,8),s(e.speed,12))):n=g.fromOrigamiTensionAndFriction(s(e.tension,40),s(e.friction,7)),this._tension=n.tension,this._friction=n.friction}return o(t,e),p(t,[{key:"start",value:function(e,n,r,o){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=n,this.__onEnd=r,this._lastTime=Date.now(),o instanceof t){var i=o.getInternalState();this._lastPosition=i.lastPosition,this._lastVelocity=i.lastVelocity,this._lastTime=i.lastTime}void 0!==this._initialVelocity&&null!==this._initialVelocity&&(this._lastVelocity=this._initialVelocity),this.onUpdate()}},{key:"getInternalState",value:function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}}},{key:"onUpdate",value:function(){var e=this._lastPosition,t=this._lastVelocity,n=this._lastPosition,r=this._lastVelocity,o=64,i=Date.now();i>this._lastTime+o&&(i=this._lastTime+o);for(var a=1,s=Math.floor((i-this._lastTime)/a),u=0;s>u;++u){var c=a/1e3,l=t,p=this._tension*(this._toValue-n)-this._friction*r,n=e+l*c/2,r=t+p*c/2,h=r,f=this._tension*(this._toValue-n)-this._friction*r;n=e+h*c/2,r=t+f*c/2;var d=r,m=this._tension*(this._toValue-n)-this._friction*r;n=e+d*c/2,r=t+m*c/2;var v=r,g=this._tension*(this._toValue-n)-this._friction*r;n=e+d*c/2,r=t+m*c/2;var y=(l+2*(h+d)+v)/6,_=(p+2*(f+m)+g)/6;e+=y*c,t+=_*c}if(this._lastTime=i,this._lastPosition=e,this._lastVelocity=t,this._onUpdate(e),this.__active){var S=!1;this._overshootClamping&&0!==this._tension&&(S=this._startPosition<this._toValue?e>this._toValue:e<this._toValue);var R=Math.abs(t)<=this._restSpeedThreshold,E=!0;return 0!==this._tension&&(E=Math.abs(this._toValue-e)<=this._restDisplacementThreshold),S||R&&E?(0!==this._tension&&this._onUpdate(this._toValue),void this.__debouncedOnEnd({finished:!0})):void(this._animationFrame=b(this.onUpdate.bind(this)))}}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(R),x=1,I=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._value=e,this._offset=0,this._animation=null,this._listeners={}}return o(t,e),p(t,[{key:"__detach",value:function(){this.stopAnimation()}},{key:"__getValue",value:function(){return this._value+this._offset}},{key:"setValue",value:function(e){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e)}},{key:"setOffset",value:function(e){this._offset=e}},{key:"flattenOffset",value:function(){this._value+=this._offset,this._offset=0}},{key:"addListener",value:function(e){var t=String(x++);return this._listeners[t]=e,t}},{key:"removeListener",value:function(e){delete this._listeners[e]}},{key:"removeAllListeners",value:function(){this._listeners={}}},{key:"stopAnimation",value:function(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&e(this.__getValue())}},{key:"interpolate",value:function(e){return new N(this,d.create(e))}},{key:"animate",value:function(e,t){var n=this,r=f.createInteractionHandle(),o=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,function(e){n._updateValue(e)},function(e){n._animation=null,f.clearInteractionHandle(r),t&&t(e)},o)}},{key:"stopTracking",value:function(){this._tracking&&this._tracking.__detach(),this._tracking=null}},{key:"track",value:function(e){this.stopTracking(),this._tracking=e}},{key:"_updateValue",value:function(e){this._value=e,a(this);for(var t in this._listeners)this._listeners[t]({value:this.__getValue()})}}]),t}(E),P=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this);var n=e||{x:0,y:0};"number"==typeof n.x&&"number"==typeof n.y?(this.x=new I(n.x),this.y=new I(n.y)):(y(n.x instanceof I&&n.y instanceof I,"AnimatedValueXY must be initalized with an object of numbers or AnimatedValues."),this.x=n.x,this.y=n.y),this._listeners={}}return o(t,e),p(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:"__getValue",value:function(){return{x:this.x.__getValue(),y:this.y.__getValue()}}},{key:"stopAnimation",value:function(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())}},{key:"addListener",value:function(e){var t=this,n=String(x++),r=function(n){n.value;e(t.__getValue())};return this._listeners[n]={x:this.x.addListener(r),y:this.y.addListener(r)},n}},{key:"removeListener",value:function(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]}},{key:"getLayout",value:function(){return{left:this.x,top:this.y}}},{key:"getTranslateTransform",value:function(){return[{translateX:this.x},{translateY:this.y}]}}]),t}(E),N=function(e){function t(e,n){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._parent=e,this._interpolation=n}return o(t,e),p(t,[{key:"__getValue",value:function(){var e=this._parent.__getValue();return y("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}},{key:"interpolate",value:function(e){return new t(this,d.create(e))}},{key:"__attach",value:function(){this._parent.__addChild(this)}},{key:"__detach",value:function(){this._parent.__removeChild(this)}}]),t}(E),D=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._transforms=e}return o(t,e),p(t,[{key:"__getValue",value:function(){return this._transforms.map(function(e){var t={};for(var n in e){var r=e[n];r instanceof S?t[n]=r.__getValue():t[n]=r}return t})}},{key:"__getAnimatedValue",value:function(){return this._transforms.map(function(e){var t={};for(var n in e){var r=e[n];r instanceof S?t[n]=r.__getAnimatedValue():t[n]=r}return t})}},{key:"__attach",value:function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var r=t[n];r instanceof S&&r.__addChild(e)}})}},{key:"__detach",value:function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var r=t[n];r instanceof S&&r.__removeChild(e)}})}}]),t}(E),M=function(e){function t(e){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),e=_(e)||{},e.transform&&(e=c({},e,{transform:new D(e.transform)})),this._style=e}return o(t,e),p(t,[{key:"__getValue",value:function(){var e={};for(var t in this._style){var n=this._style[t];n instanceof S?e[t]=n.__getValue():e[t]=n}return e}},{key:"__getAnimatedValue",value:function(){var e={};for(var t in this._style){var n=this._style[t];n instanceof S&&(e[t]=n.__getAnimatedValue())}return e}},{key:"__attach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof S&&t.__addChild(this)}}},{key:"__detach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof S&&t.__removeChild(this)}}}]),t}(E),k=function(e){function t(e,n){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),e.style&&(e=c({},e,{style:new M(e.style)})),this._props=e,this._callback=n,this.__attach()}return o(t,e),p(t,[{key:"__getValue",value:function(){var e={};for(var t in this._props){var n=this._props[t];n instanceof S?e[t]=n.__getValue():e[t]=n}return e}},{key:"__getAnimatedValue",value:function(){var e={};for(var t in this._props){var n=this._props[t];n instanceof S&&(e[t]=n.__getAnimatedValue())}return e}},{key:"__attach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof S&&t.__addChild(this)}}},{key:"__detach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof S&&t.__removeChild(this)}}},{key:"update",value:function(){this._callback()}}]),t}(S),A=function(e){function t(e,n,r,o,a){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this._value=e,this._parent=n,this._animationClass=r,this._animationConfig=o,this._callback=a,this.__attach()}return o(t,e),p(t,[{key:"__getValue",value:function(){return this._parent.__getValue()}},{key:"__attach",value:function(){this._parent.__addChild(this)}},{key:"__detach",value:function(){this._parent.__removeChild(this)}},{key:"update",value:function(){this._value.animate(new this._animationClass(c({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback)}}]),t}(S),j=function(e,t,n){if(e instanceof P){var r=c({},t),o=c({},t);for(var i in t){var a=t[i],s=a.x,u=a.y;void 0!==s&&void 0!==u&&(r[i]=s,o[i]=u)}var l=n(e.x,r),p=n(e.y,o);return B([l,p],{stopTogether:!1})}return null},L=function(e,t){return j(e,t,L)||{start:function(n){var r=e,o=t;r.stopTracking(),t.toValue instanceof S?r.track(new A(r,t.toValue,O,o,n)):r.animate(new O(o),n)},stop:function(){e.stopAnimation()}}},V=function(e,t){return j(e,t,V)||{start:function(n){var r=e,o=t;r.stopTracking(),t.toValue instanceof S?r.track(new A(r,t.toValue,T,o,n)):r.animate(new T(o),n)},stop:function(){e.stopAnimation()}}},F=function(e,t){return j(e,t,F)||{start:function(n){var r=e,o=t;r.stopTracking(),r.animate(new C(o),n)},stop:function(){e.stopAnimation()}}},H=function(e){var t=0;return{start:function(n){var r=function(o){return o.finished?(t++,t===e.length?void(n&&n(o)):void e[t].start(r)):void(n&&n(o))};0===e.length?n&&n({finished:!0}):e[t].start(r)},stop:function(){t<e.length&&e[t].stop()}}},B=function(e,t){var n=0,r={},o=!(t&&t.stopTogether===!1),i={start:function(t){return n===e.length?void(t&&t({finished:!0})):void e.forEach(function(a,s){var u=function(a){return r[s]=!0,n++,n===e.length?(n=0,void(t&&t(a))):void(!a.finished&&o&&i.stop())};a?a.start(u):u({finished:!0})})},stop:function(){e.forEach(function(e,t){!r[t]&&e.stop(),r[t]=!0})}};return i},U=function(e){return V(new I(0),{toValue:0,delay:e,duration:0})},q=function(e,t){return B(t.map(function(t,n){return H([U(e*n),t])}))},z=function(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;n>o;o++)r[o]=arguments[o];var i=function(e,t,n){if("number"==typeof t)return y(e instanceof I,"Bad mapping of type "+typeof e+" for key "+n+", event value must map to AnimatedValue"),void e.setValue(t);y("object"==typeof e,"Bad mapping of type "+typeof e+" for key "+n),y("object"==typeof t,"Bad event of type "+typeof t+" for key "+n);for(var n in e)i(e[n],t[n],n)};e.forEach(function(e,t){i(e,r[t],"arg"+t)}),t&&t.listener&&t.listener.apply(null,r)}};n.exports={Value:I,ValueXY:P,decay:F,timing:V,spring:L,delay:U,sequence:H,parallel:B,stagger:q,event:z,createAnimatedComponent:u,__PropsOnlyForTests:k}}),__d("Interpolation",[],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,n,r,o,i,a,s){var u=e;if(t>u){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>n){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===o?r:t===n?t>=e?r:o:(t===-(1/0)?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=i(u),r===-(1/0)?u=-u:o===1/0?u+=r:u=u*(o-r)+r,u)}function a(e){var t=e.outputRange;f(t.length>=2,"Bad output range"),s(t);var n=t[0].match(v).map(function(){return[]});t.forEach(function(e){e.match(v).forEach(function(e,t){n[t].push(+e)})});var r=t[0].match(v).map(function(t,r){return m.create(p({},e,{outputRange:n[r]}))});return function(e){var n=0;return t[0].replace(v,function(){return String(r[n++](e))})}}function s(e){for(var t=e[0].replace(v,""),n=1;n<e.length;++n)f(t===e[n].replace(v,""),"invalid pattern "+e[0]+" and "+e[n])}function u(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}function c(e){f(e.length>=2,"inputRange must have at least 2 elements");for(var t=1;t<e.length;++t)f(e[t]>=e[t-1],"inputRange must be monotonically increasing "+e)}function l(e,t){f(t.length>=2,e+" must have at least 2 elements"),f(2!==t.length||t[0]!==-(1/0)||t[1]!==1/0,e+"cannot be ]-infinity;+infinity[ "+t)}var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=function(e,t){if(!e){var n=new Error(t);throw n.framesToPop=1,n}},d=function(e){return e},m=function(){function e(){o(this,e)}return h(e,null,[{key:"create",value:function(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return a(e);var t=e.outputRange;l("outputRange",t);var n=e.inputRange;l("inputRange",n),c(n),f(n.length===t.length,"inputRange ("+n.length+") and outputRange ("+t.length+") must have the same length");var r=e.easing||d,o="extend";void 0!==e.extrapolateLeft?o=e.extrapolateLeft:void 0!==e.extrapolate&&(o=e.extrapolate);var s="extend";return void 0!==e.extrapolateRight?s=e.extrapolateRight:void 0!==e.extrapolate&&(s=e.extrapolate),function(e){f("number"==typeof e,"Cannot interpolation an input which is not a number");var a=u(e,n);return i(e,n[a],n[a+1],t[a],t[a+1],r,o,s)}}}]),e}(),v=/[0-9\.-]+/g;n.exports=m}),__d("Easing",["bezier"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("bezier"),s=function(){function e(){o(this,e)}return i(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(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return u(e)})},{key:"quad",value:function(e){return e*e}},{key:"cubic",value:function(e){return e*e*e}},{key:"poly",value:function(e){return function(t){return Math.pow(t,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]?1:arguments[0],t=e*Math.PI;return function(e){return 1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}}},{key:"back",value:function(e){return void 0===e&&(e=1.70158),function(t){return t*t*((e+1)*t-e)}}},{key:"bounce",value:function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?(e-=1.5/2.75,7.5625*e*e+.75):2.5/2.75>e?(e-=2.25/2.75,7.5625*e*e+.9375):(e-=2.625/2.75,7.5625*e*e+.984375)}},{key:"bezier",value:function(e,t,n,r,o){if(void 0===o){var i=500;o=1e3/60/i/4}return a(e,t,n,r,o)}},{key:"in",value:function(e){return e}},{key:"out",value:function(e){return function(t){return 1-e(1-t)}}},{key:"inOut",value:function(e){return function(t){return.5>t?e(2*t)/2:1-e(2*(1-t))/2}}}]),e}(),u=s.bezier(.42,0,1,1);n.exports=s}),__d("bezier",[],function(e,t,n,r){n.exports=function(e,t,n,r,o){var i=function(t){var r=1-t;return 3*r*r*t*e+3*r*t*t*n+t*t*t},a=function(e){var n=1-e;return 3*n*n*e*t+3*n*e*e*r+e*e*e},s=function(t){var r=1-t;return 3*(2*(t-1)*t+r*r)*e+3*(-t*t*t+2*r*t)*n};return function(e){var t,n,r,u,c,l,p=e;for(r=p,l=0;8>l;l++){if(u=i(r)-p,Math.abs(u)<o)return a(r);if(c=s(r),Math.abs(c)<1e-6)break;r-=u/c}if(t=0,n=1,r=p,t>r)return a(t);if(r>n)return a(n);for(;n>t;){if(u=i(r),Math.abs(u-p)<o)return a(r);p>u?t=r:n=r,r=.5*(n-t)+t}return a(r)}}}),__d("SpringConfig",[],function(e,t,n,r){"use strict";function o(e){return 3.62*(e-30)+194}function i(e){return 3*(e-8)+25}function a(e,t){return{tension:o(e),friction:i(t)}}function s(e,t){function n(e,t,n){return(e-t)/(n-t)}function r(e,t,n){return t+e*(n-t)}function a(e,t,n){return e*n+(1-e)*t}function s(e,t,n){return a(2*e-e*e,t,n)}function u(e){return 7e-4*Math.pow(e,3)-.031*Math.pow(e,2)+.64*e+1.28}function c(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}function l(e){return 4.5e-7*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}function p(e){return 18>=e?u(e):e>18&&44>=e?c(e):l(e)}var h=n(e/1.7,0,20);h=r(h,0,.8);var f=n(t/1.7,0,20),d=r(f,.5,200),m=s(h,p(d),.01);return{tension:o(d),friction:i(m)}}n.exports={fromOrigamiTensionAndFriction:a,fromBouncinessAndSpeed:s}}),__d("requestAnimationFrame",["emptyFunction","nativeRequestAnimationFrame"],function(e,t,n,r){var o=t("emptyFunction"),i=t("nativeRequestAnimationFrame"),a=0,s=i||function(t){var n=Date.now(),r=Math.max(0,16-(n-a));return a=n+r,e.setTimeout(function(){t(Date.now())},r)};s(o),n.exports=s}),__d("nativeRequestAnimationFrame",[],function(e,t,n,r){var o=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame;n.exports=o}),__d("WebView",["ActivityIndicatorIOS","EdgeInsetsPropType","React","StyleSheet","Text","View","invariant","keyMirror","requireNativeComponent","NativeModules"],function(e,t,n,r){
"use strict";var o=t("ActivityIndicatorIOS"),i=t("EdgeInsetsPropType"),a=t("React"),s=t("StyleSheet"),u=t("Text"),c=t("View"),l=t("invariant"),p=t("keyMirror"),h=t("requireNativeComponent"),f=a.PropTypes,d=t("NativeModules").WebViewManager,m="rgba(255,255,255,0.8)",v="webview",g=p({IDLE:null,LOADING:null,ERROR:null}),y={click:d.NavigationType.LinkClicked,formsubmit:d.NavigationType.FormSubmitted,backforward:d.NavigationType.BackForward,reload:d.NavigationType.Reload,formresubmit:d.NavigationType.FormResubmitted,other:d.NavigationType.Other},_=d.JSNavigationScheme,b=function(){return a.createElement(c,{style:w.loadingView},a.createElement(o,null))},S=function(e,t,n){return a.createElement(c,{style:w.errorContainer},a.createElement(u,{style:w.errorTextTitle},"Error loading page"),a.createElement(u,{style:w.errorText},"Domain: "+e),a.createElement(u,{style:w.errorText},"Error Code: "+t),a.createElement(u,{style:w.errorText},"Description: "+n))},R=a.createClass({displayName:"WebView",statics:{JSNavigationScheme:_,NavigationType:y},propTypes:{url:f.string,html:f.string,renderError:f.func,renderLoading:f.func,bounces:f.bool,scrollEnabled:f.bool,automaticallyAdjustContentInsets:f.bool,contentInset:i,onNavigationStateChange:f.func,startInLoadingState:f.bool,style:c.propTypes.style,javaScriptEnabledAndroid:f.bool,injectedJavaScript:f.string,scalesPageToFit:f.bool},getInitialState:function(){return{viewState:g.IDLE,lastErrorEvent:null,startInLoadingState:!0}},componentWillMount:function(){this.props.startInLoadingState&&this.setState({viewState:g.LOADING})},render:function(){var e=null;if(this.state.viewState===g.LOADING)e=(this.props.renderLoading||b)();else if(this.state.viewState===g.ERROR){var t=this.state.lastErrorEvent;l(null!=t,"lastErrorEvent expected to be non-null"),e=(this.props.renderError||S)(t.domain,t.code,t.description)}else this.state.viewState!==g.IDLE&&console.error("RCTWebView invalid state encountered: "+this.state.loading);var n=[w.container,w.webView,this.props.style];(this.state.viewState===g.LOADING||this.state.viewState===g.ERROR)&&n.push(w.hidden);var r=a.createElement(E,{ref:v,key:"webViewKey",style:n,url:this.props.url,html:this.props.html,injectedJavaScript:this.props.injectedJavaScript,bounces:this.props.bounces,scrollEnabled:this.props.scrollEnabled,contentInset:this.props.contentInset,automaticallyAdjustContentInsets:this.props.automaticallyAdjustContentInsets,onLoadingStart:this.onLoadingStart,onLoadingFinish:this.onLoadingFinish,onLoadingError:this.onLoadingError,scalesPageToFit:this.props.scalesPageToFit});return a.createElement(c,{style:w.container},r,e)},goForward:function(){d.goForward(this.getWebViewHandle())},goBack:function(){d.goBack(this.getWebViewHandle())},reload:function(){d.reload(this.getWebViewHandle())},updateNavigationState:function(e){this.props.onNavigationStateChange&&this.props.onNavigationStateChange(e.nativeEvent)},getWebViewHandle:function(){return a.findNodeHandle(this.refs[v])},onLoadingStart:function(e){this.updateNavigationState(e)},onLoadingError:function(e){e.persist(),console.warn("Encountered an error loading page",e.nativeEvent),this.setState({lastErrorEvent:e.nativeEvent,viewState:g.ERROR})},onLoadingFinish:function(e){this.setState({viewState:g.IDLE}),this.updateNavigationState(e)}}),E=h("RCTWebView",R,{nativeOnly:{onLoadingStart:!0,onLoadingError:!0,onLoadingFinish:!0}}),w=s.create({container:{flex:1},errorContainer:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:m},errorText:{fontSize:14,textAlign:"center",marginBottom:2},errorTextTitle:{fontSize:15,fontWeight:"500",marginBottom:10},hidden:{height:0,flex:0},loadingView:{backgroundColor:m,flex:1,justifyContent:"center",alignItems:"center"},webView:{backgroundColor:"#ffffff"}});n.exports=R}),__d("ActionSheetIOS",["NativeModules","invariant"],function(e,t,n,r){"use strict";var o=t("NativeModules").ActionSheetManager,i=t("invariant"),a={showActionSheetWithOptions:function(e,t){i("object"==typeof e&&null!==e,"Options must a valid object"),i("function"==typeof t,"Must provide a valid callback"),o.showActionSheetWithOptions(e,function(){},t)},showShareActionSheetWithOptions:function(e,t,n){i("object"==typeof e&&null!==e,"Options must a valid object"),i("function"==typeof t,"Must provide a valid failureCallback"),i("function"==typeof n,"Must provide a valid successCallback"),o.showShareActionSheetWithOptions(e,t,n)}};n.exports=a}),__d("AdSupportIOS",["NativeModules"],function(e,t,n,r){"use strict";var o=t("NativeModules").AdSupport;n.exports={getAdvertisingId:function(e,t){o.getAdvertisingId(e,t)},getAdvertisingTrackingEnabled:function(e,t){o.getAdvertisingTrackingEnabled(e,t)}}}),__d("AlertIOS",["NativeModules","invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("NativeModules").AlertManager,s=t("invariant"),u="OK",c={text:u,onPress:null},l=function(){function e(){o(this,e)}return i(e,null,[{key:"alert",value:function(e,t,n,r){var o=[],i=[];e=e||"",t=t||"",n=n||[c],r=r||"",n.forEach(function(e,t){o[t]=e.onPress;var n={};n[t]=e.text||u,i.push(n)}),a.alertWithArgs({title:e,message:t,buttons:i,type:r},function(e,t){var n=o[e];n&&n(t)})}},{key:"prompt",value:function(e,t,n,r){2===arguments.length?"object"==typeof t?(n=t,t=void 0):"function"==typeof t&&(r=t,t=void 0):3===arguments.length&&"function"==typeof n&&(r=n,n=void 0),s(!(r&&n)&&(r||n),"Must provide either a button list or a callback, but not both"),n||(n=[{text:"Cancel"},{text:"OK",onPress:r}]),this.alert(e,t,n,"plain-text")}}]),e}();n.exports=l}),__d("AppRegistry",["invariant","renderApplication","RCTRenderingPerf"],function(e,t,n,r){"use strict";var o=t("invariant"),i=t("renderApplication");__DEV__&&t("RCTRenderingPerf");var a={},s={registerConfig:function(e){for(var t=0;t<e.length;++t){var n=e[t];n.run?s.registerRunnable(n.appKey,n.run):(o(n.component,"No component provider passed in"),s.registerComponent(n.appKey,n.component))}},registerComponent:function(e,t){return a[e]={run:function(e){return i(t(),e.initialProps,e.rootTag)}},e},registerRunnable:function(e,t){return a[e]={run:t},e},getAppKeys:function(){return Object.keys(a)},runApplication:function(e,t){console.log('Running application "'+e+'" with appParams: '+JSON.stringify(t)+". __DEV__ === "+String(__DEV__)+", development-level warning are "+(__DEV__?"ON":"OFF")+", performance optimizations are "+(__DEV__?"OFF":"ON")),o(a[e]&&a[e].run,"Application "+e+" has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent."),a[e].run(t)}};n.exports=s}),__d("renderApplication",["Inspector","RCTDeviceEventEmitter","React","StyleSheet","Subscribable","View","WarningBox","invariant","setupDevtools"],function(e,t,n,r){"use strict";function o(e,n,r){if(f(r,"Expect to have a valid rootTag, instead got ",r),__DEV__&&!window.document){var o=t("setupDevtools");o()}u.render(u.createElement(d,{rootTag:r},u.createElement(e,i({},n,{rootTag:r}))),r)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("Inspector"),s=t("RCTDeviceEventEmitter"),u=t("React"),c=t("StyleSheet"),l=t("Subscribable"),p=t("View"),h=t("WarningBox"),f=t("invariant"),d=u.createClass({displayName:"AppContainer",mixins:[l.Mixin],getInitialState:function(){return{inspector:null}},toggleElementInspector:function(){var e=this.state.inspector?null:u.createElement(a,{rootTag:this.props.rootTag,inspectedViewTag:u.findNodeHandle(this.refs.main)});this.setState({inspector:e})},componentDidMount:function(){this.addListenerOn(s,"toggleElementInspector",this.toggleElementInspector)},render:function(){var e=__DEV__&&console.yellowBoxEnabled,t=e?u.createElement(h,null):null;return u.createElement(p,{style:m.appContainer},u.createElement(p,{collapsible:!1,style:m.appContainer,ref:"main"},this.props.children),t,this.state.inspector)}}),m=c.create({appContainer:{position:"absolute",left:0,top:0,right:0,bottom:0}});n.exports=o}),__d("Inspector",["Dimensions","InspectorOverlay","InspectorPanel","InspectorUtils","React","StyleSheet","NativeModules","View","flattenStyle"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function y(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:y(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("Dimensions"),c=t("InspectorOverlay"),l=t("InspectorPanel"),p=t("InspectorUtils"),h=t("React"),f=t("StyleSheet"),d=t("NativeModules").UIManager,m=t("View");window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=t("flattenStyle"));var v=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={devtoolsAgent:null,panelPos:"bottom",inspecting:!0,perfing:!1,inspected:null}}return i(t,e),a(t,[{key:"componentDidMount",value:function(){window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(this.attachToDevtools=this.attachToDevtools.bind(this),window.__REACT_DEVTOOLS_GLOBAL_HOOK__.on("react-devtools",this.attachToDevtools),window.__REACT_DEVTOOLS_GLOBAL_HOOK__.reactDevtoolsAgent&&this.attachToDevtools(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.reactDevtoolsAgent))}},{key:"componentWillUnmount",value:function(){this._subs&&this._subs.map(function(e){return e()}),window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__.off("react-devtools",this.attachToDevtools)}},{key:"attachToDevtools",value:function(e){var t=this,n=null,r=e.sub("highlight",function(e){var r=e.node,o=(e.name,e.props);clearTimeout(n),d.measure(r,function(e,n,r,i,a,s){t.setState({hierarchy:[],inspected:{frame:{left:a,top:s,width:r,height:i},style:o?o.style:{}}})})}),o=e.sub("hideHighlight",function(){null!==t.state.inspected&&(n=setTimeout(function(){t.setState({inspected:null})},100))});this._subs=[r,o],e.on("shutdown",function(){t.setState({devtoolsAgent:null}),t._subs=null}),this.setState({devtoolsAgent:e})}},{key:"setSelection",value:function(e){var t=this,n=this.state.hierarchy[e],r=n.getPublicInstance();d.measure(h.findNodeHandle(n),function(n,o,i,a,s,u){t.setState({inspected:{frame:{left:s,top:u,width:i,height:a},style:r.props?r.props.style:{}},selection:e})})}},{key:"onTouchInstance",value:function(e,t,n){this.state.devtoolsAgent&&this.state.devtoolsAgent.selectFromReactInstance(e,!0);var r=p.getOwnerHierarchy(e),o=e.getPublicInstance(),i=o.props||{};this.setState({panelPos:n>u.get("window").height/2?"top":"bottom",selection:r.length-1,hierarchy:r,inspected:{style:i.style||{},frame:t}})}},{key:"setPerfing",value:function(e){this.setState({perfing:e,inspecting:!1,inspected:null})}},{key:"setInspecting",value:function(e){this.setState({inspecting:e,inspected:null})}},{key:"render",value:function(){var e="bottom"===this.state.panelPos?{bottom:0}:{top:0};return h.createElement(m,{style:g.container,pointerEvents:"box-none"},this.state.inspecting&&h.createElement(c,{rootTag:this.props.rootTag,inspected:this.state.inspected,inspectedViewTag:this.props.inspectedViewTag,onTouchInstance:this.onTouchInstance.bind(this)}),h.createElement(m,{style:[g.panelContainer,e]},h.createElement(l,{devtoolsIsOpen:!!this.state.devtoolsAgent,inspecting:this.state.inspecting,perfing:this.state.perfing,setPerfing:this.setPerfing.bind(this),setInspecting:this.setInspecting.bind(this),inspected:this.state.inspected,hierarchy:this.state.hierarchy,selection:this.state.selection,setSelection:this.setSelection.bind(this)})))}}]),t}(h.Component),g=f.create({container:{position:"absolute",backgroundColor:"transparent",top:0,left:0,right:0,bottom:0},panelContainer:{position:"absolute",left:0,right:0}});n.exports=v}),__d("InspectorOverlay",["Dimensions","InspectorUtils","React","StyleSheet","NativeModules","View","ElementBox"],function(e,t,n,r){"use strict";var o=t("Dimensions"),i=t("InspectorUtils"),a=t("React"),s=t("StyleSheet"),u=t("NativeModules").UIManager,c=t("View"),l=t("ElementBox"),p=a.PropTypes,h=a.createClass({displayName:"InspectorOverlay",propTypes:{inspected:p.shape({frame:p.object,style:p.any}),inspectedViewTag:p.number,onTouchInstance:p.func.isRequired},findViewForTouchEvent:function(e){var t=this,n=e.nativeEvent.touches[0],r=n.locationX,o=n.locationY;u.findSubviewIn(this.props.inspectedViewTag,[r,o],function(e,n,r,a,s){var u=i.findInstanceByNativeTag(t.props.rootTag,e);u&&t.props.onTouchInstance(u,{left:n,top:r,width:a,height:s},o)})},shouldSetResponser:function(e){return this.findViewForTouchEvent(e),!0},render:function(){var e=null;return this.props.inspected&&(e=a.createElement(l,{frame:this.props.inspected.frame,style:this.props.inspected.style})),a.createElement(c,{onStartShouldSetResponder:this.shouldSetResponser,onResponderMove:this.findViewForTouchEvent,style:[f.inspector,{height:o.get("window").height}]},e)}}),f=s.create({inspector:{backgroundColor:"transparent",position:"absolute",left:0,top:0,right:0}});n.exports=h}),__d("ElementBox",["React","View","StyleSheet","BorderBox","resolveBoxStyle","flattenStyle"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function v(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:v(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("React"),c=t("View"),l=t("StyleSheet"),p=t("BorderBox"),h=t("resolveBoxStyle"),f=t("flattenStyle"),d=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=f(this.props.style)||{},t=h("margin",e),n=h("padding",e),r=this.props.frame;t&&(r={top:r.top-t.top,left:r.left-t.left,height:r.height+t.top+t.bottom,width:r.width+t.left+t.right});var o={width:this.props.frame.width,height:this.props.frame.height};return n&&(o={width:o.width-n.left-n.right,height:o.height-n.top-n.bottom}),u.createElement(c,{style:[m.frame,r],pointerEvents:"none"},u.createElement(p,{box:t,style:m.margin},u.createElement(p,{box:n,style:m.padding},u.createElement(c,{style:[m.content,o]}))))}}]),t}(u.Component),m=l.create({frame:{position:"absolute"},content:{backgroundColor:"rgba(200, 230, 255, 0.8)"},padding:{borderColor:"rgba(77, 255, 0, 0.3)"},margin:{borderColor:"rgba(255, 132, 0, 0.3)"}});n.exports=d}),__d("BorderBox",["React","View"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function p(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:p(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("React"),c=t("View"),l=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.box;if(!e)return this.props.children;var t={borderTopWidth:e.top,borderBottomWidth:e.bottom,borderLeftWidth:e.left,borderRightWidth:e.right};return u.createElement(c,{style:[t,this.props.style]},this.props.children)}}]),t}(u.Component);n.exports=l}),__d("resolveBoxStyle",[],function(e,t,n,r){"use strict";function o(e,t){var n={},r=["top","left","bottom","right"],o=!1;return r.forEach(function(r){n[r]=t[e]||0}),t[e]&&(o=!0),t[e+"Vertical"]&&(n.top=n.bottom=t[e+"Vertical"],o=!0),t[e+"Horizontal"]&&(n.left=n.right=t[e+"Horizontal"],o=!0),r.forEach(function(r){var a=t[e+i(r)];a&&(n[r]=a,o=!0)}),o?n:void 0}function i(e){return e[0].toUpperCase()+e.slice(1)}n.exports=o}),__d("InspectorPanel",["React","StyleSheet","Text","View","ElementProperties","PerformanceOverlay","TouchableHighlight"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function _(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:_(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("React"),c=t("StyleSheet"),l=t("Text"),p=t("View"),h=t("ElementProperties"),f=t("PerformanceOverlay"),d=t("TouchableHighlight"),m=u.PropTypes,v=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"renderWaiting",value:function(){return this.props.inspecting?u.createElement(l,{style:y.waitingText},"Tap something to inspect it"):u.createElement(l,{style:y.waitingText},"Nothing is inspected")}},{key:"render",value:function(){var e;return e=this.props.inspected?u.createElement(h,{style:this.props.inspected.style,frame:this.props.inspected.frame,hierarchy:this.props.hierarchy,selection:this.props.selection,setSelection:this.props.setSelection}):this.props.perfing?u.createElement(f,null):u.createElement(p,{style:y.waiting},this.renderWaiting()),u.createElement(p,{style:y.container},!this.props.devtoolsIsOpen&&e,u.createElement(p,{style:y.buttonRow},u.createElement(g,{title:"Inspect",pressed:this.props.inspecting,onClick:this.props.setInspecting}),u.createElement(g,{title:"Perf",pressed:this.props.perfing,onClick:this.props.setPerfing})))}}]),t}(u.Component);v.propTypes={devtoolsIsOpen:m.bool,inspecting:m.bool,setInspecting:m.func,inspected:m.object,perfing:m.bool,setPerfing:m.func};var g=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this;return u.createElement(d,{onPress:function(){return e.props.onClick(!e.props.pressed)},style:[y.button,this.props.pressed&&y.buttonPressed]},u.createElement(l,{style:y.buttonText},this.props.title))}}]),t}(u.Component),y=c.create({buttonRow:{flexDirection:"row"},button:{backgroundColor:"rgba(0, 0, 0, 0.3)",margin:2,height:30,justifyContent:"center",alignItems:"center"},buttonPressed:{backgroundColor:"rgba(255, 255, 255, 0.3)"},buttonText:{textAlign:"center",color:"white",margin:5},container:{backgroundColor:"rgba(0, 0, 0, 0.7)"},waiting:{height:100},waitingText:{fontSize:20,textAlign:"center",marginVertical:20}});n.exports=v}),__d("ElementProperties",["BoxInspector","ReactPropTypes","React","StyleInspector","StyleSheet","Text","TouchableHighlight","TouchableWithoutFeedback","View","flattenStyle","mapWithSeparator"],function(e,t,n,r){"use strict";var o=t("BoxInspector"),i=t("ReactPropTypes"),a=t("React"),s=t("StyleInspector"),u=t("StyleSheet"),c=t("Text"),l=t("TouchableHighlight"),p=t("TouchableWithoutFeedback"),h=t("View"),f=t("flattenStyle"),d=t("mapWithSeparator"),m=a.createClass({displayName:"ElementProperties",propTypes:{hierarchy:i.array.isRequired,style:i.oneOfType([i.object,i.array,i.number])},render:function(){var e=this,t=f(this.props.style),n=this.props.selection;return a.createElement(p,null,a.createElement(h,{style:v.info},a.createElement(h,{style:v.breadcrumb},d(this.props.hierarchy,function(t,r){return a.createElement(l,{style:[v.breadItem,r===n&&v.selected],onPress:function(){return e.props.setSelection(r)}},a.createElement(c,{style:v.breadItemText},t.getName?t.getName():"Unknown"))},function(){return a.createElement(c,{style:v.breadSep},"▸")})),a.createElement(h,{style:v.row},a.createElement(s,{style:t}),a.createElement(o,{style:t,frame:this.props.frame}))))}}),v=u.create({breadSep:{fontSize:8,color:"white"},breadcrumb:{flexDirection:"row",flexWrap:"wrap",marginBottom:5},selected:{borderColor:"white",borderRadius:5},breadItem:{borderWidth:1,borderColor:"transparent",marginHorizontal:2},breadItemText:{fontSize:10,color:"white",marginHorizontal:5},row:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},info:{padding:10},path:{color:"white",fontSize:9}});n.exports=m}),__d("BoxInspector",["React","StyleSheet","Text","View","resolveBoxStyle"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function g(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:g(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("React"),c=t("StyleSheet"),l=t("Text"),p=t("View"),h=t("resolveBoxStyle"),f={top:0,left:0,right:0,bottom:0},d=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.frame,t=this.props.style,n=t&&h("margin",t)||f,r=t&&h("padding",t)||f;return u.createElement(m,{title:"margin",titleStyle:v.marginLabel,box:n},u.createElement(m,{title:"padding",box:r},u.createElement(p,null,u.createElement(l,{style:v.innerText},"(",e.left,", ",e.top,")"),u.createElement(l,{style:v.innerText},e.width," × ",e.height))))}}]),t}(u.Component),m=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props.box;return u.createElement(p,{style:v.box},u.createElement(p,{style:v.row},u.createElement(l,{style:[this.props.titleStyle,v.label]},this.props.title),u.createElement(l,{style:v.boxText},e.top)),u.createElement(p,{style:v.row},u.createElement(l,{style:v.boxText},e.left),this.props.children,u.createElement(l,{style:v.boxText},e.right)),u.createElement(l,{style:v.boxText},e.bottom))}}]),t}(u.Component),v=c.create({row:{flexDirection:"row",alignItems:"center",justifyContent:"space-around"},marginLabel:{width:60},label:{fontSize:10,color:"rgb(255,100,0)",marginLeft:5,flex:1,textAlign:"left",top:-3},buffer:{fontSize:10,color:"yellow",flex:1,textAlign:"center"},innerText:{color:"yellow",fontSize:12,textAlign:"center",width:70},box:{borderWidth:1,borderColor:"grey"},boxText:{color:"white",fontSize:12,marginHorizontal:3,marginVertical:2,textAlign:"center"}});n.exports=d}),__d("StyleInspector",["React","StyleSheet","Text","View"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},u=t("React"),c=t("StyleSheet"),l=t("Text"),p=t("View"),h=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this;if(!this.props.style)return u.createElement(l,{style:f.noStyle},"No style");var t=Object.keys(this.props.style);return u.createElement(p,{style:f.container},u.createElement(p,null,t.map(function(e){return u.createElement(l,{style:f.attr},e,":")})),u.createElement(p,null,t.map(function(t){return u.createElement(l,{style:f.value},e.props.style[t])})))}}]),t}(u.Component),f=c.create({container:{flexDirection:"row"},row:{flexDirection:"row",alignItems:"center",justifyContent:"space-around"},attr:{fontSize:10,color:"#ccc"},value:{fontSize:10,color:"white",marginLeft:10},noStyle:{color:"white",fontSize:10}});n.exports=h}),__d("mapWithSeparator",[],function(e,t,n,r){"use strict";function o(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(t(e[o],o,e)),o!==e.length-1&&r.push(n(o));return r}n.exports=o}),__d("PerformanceOverlay",["PerformanceLogger","React","StyleSheet","Text","View"],function(e,t,n,r){"use strict";var o=t("PerformanceLogger"),i=t("React"),a=t("StyleSheet"),s=t("Text"),u=t("View"),c=i.createClass({displayName:"PerformanceOverlay",render:function(){var e=o.getTimespans(),t=[];for(var n in e)e[n].totalTime&&t.push(i.createElement(u,{style:l.row},i.createElement(s,{style:[l.text,l.label]},n),i.createElement(s,{style:[l.text,l.totalTime]},e[n].totalTime+"ms")));return i.createElement(u,{style:l.container},t)}}),l=a.create({container:{height:100,paddingTop:10},label:{flex:1},row:{flexDirection:"row",paddingHorizontal:10},text:{color:"white",fontSize:12},totalTime:{paddingRight:100}});n.exports=c}),__d("WarningBox",["AsyncStorage","EventEmitter","Map","PanResponder","React","StyleSheet","Text","TouchableOpacity","View","invariant","rebound/rebound.js","stringifySafe","Dimensions"],function(e,t,n,r){"use strict";function o(){a.setItem(_,JSON.stringify(R),function(e){e&&console.warn("Could not save ignored warnings.",e)})}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("AsyncStorage"),s=t("EventEmitter"),u=t("Map"),c=t("PanResponder"),l=t("React"),p=t("StyleSheet"),h=t("Text"),f=t("TouchableOpacity"),d=t("View"),m=t("invariant"),v=t("rebound/rebound.js"),g=t("stringifySafe"),y=t("Dimensions").get("window").width,_="__DEV_WARNINGS_IGNORED",b=console.warn.bind(console),S=new u,R=[],E=0,w=new s;__DEV__&&(console.warn=function(){if(b.apply(null,arguments),console.yellowBoxEnabled){var e=Array.prototype.map.call(arguments,g).join(" ");if(console.yellowBoxResetIgnored||-1===R.indexOf(e)){var t=S.has(e)?S.get(e)+1:1;S.set(e,t),E+=1,w.emit("count",E)}}}),a.getItem(_,function(e,t){e||!t||console.yellowBoxResetIgnored||(R=JSON.parse(t))});var T=l.createClass({displayName:"WarningRow",componentWillMount:function(){var e=this;this.springSystem=new v.SpringSystem,this.dismissalSpring=this.springSystem.createSpring(),this.dismissalSpring.setRestSpeedThreshold(.05),this.dismissalSpring.setCurrentValue(0),this.dismissalSpring.addListener({onSpringUpdate:function(){var t=e.dismissalSpring.getCurrentValue();e.text&&e.text.setNativeProps({left:y*t}),e.container&&e.container.setNativeProps({opacity:1-t}),e.closeButton&&e.closeButton.setNativeProps({opacity:1-5*t})},onSpringAtRest:function(){e.dismissalSpring.getCurrentValue()&&e.collapseSpring.setEndValue(1)}}),this.collapseSpring=this.springSystem.createSpring(),this.collapseSpring.setRestSpeedThreshold(.05),this.collapseSpring.setCurrentValue(0),this.collapseSpring.getSpringConfig().friction=20,this.collapseSpring.getSpringConfig().tension=200,this.collapseSpring.addListener({onSpringUpdate:function(){var t=e.collapseSpring.getCurrentValue();e.container&&e.container.setNativeProps({height:Math.abs(46-46*t)})},onSpringAtRest:function(){e.props.onDismissed()}}),this.panGesture=c.create({onStartShouldSetPanResponder:function(){return!!e.dismissalSpring.getCurrentValue()},onMoveShouldSetPanResponder:function(){return!0},onPanResponderGrant:function(){e.isResponderOnlyToBlockTouches=!!e.dismissalSpring.getCurrentValue()},onPanResponderMove:function(t,n){e.isResponderOnlyToBlockTouches||e.dismissalSpring.setCurrentValue(n.dx/y)},onPanResponderRelease:function(t,n){if(!e.isResponderOnlyToBlockTouches){var r=n.dx/y,o=n.vx+r>.5;e.dismissalSpring.setEndValue(o?1:0)}}})},render:function(){var e,t=this;return S.get(this.props.warning)>1&&(e=l.createElement(h,{style:I.bold},"(",S.get(this.props.warning),")"," ")),l.createElement(d,i({style:I.warningBox,ref:function(e){t.container=e}},this.panGesture.panHandlers),l.createElement(f,{onPress:this.props.onOpened},l.createElement(h,{style:I.warningText,numberOfLines:2,ref:function(e){t.text=e}},e,this.props.warning)),l.createElement(d,{ref:function(e){t.closeButton=e},style:I.closeButton},l.createElement(f,{onPress:function(){t.dismissalSpring.setEndValue(1)}},l.createElement(h,{style:I.closeButtonText},"✕"))))}}),C=l.createClass({displayName:"WarningBoxOpened",render:function(){var e;return S.get(this.props.warning)>1&&(e=l.createElement(h,{style:I.bold},"(",S.get(this.props.warning),")"," ")),l.createElement(f,{activeOpacity:.9,onPress:this.props.onClose,style:I.yellowBox},l.createElement(h,{style:I.yellowBoxText},e,this.props.warning),l.createElement(d,{style:I.yellowBoxButtons},l.createElement(f,{onPress:this.props.onDismissed,style:I.yellowBoxButton},l.createElement(h,{style:I.yellowBoxButtonText
},"Dismiss")),l.createElement(f,{onPress:this.props.onIgnored,style:I.yellowBoxButton},l.createElement(h,{style:I.yellowBoxButtonText},"Ignore"))))}}),O=!0,x=l.createClass({displayName:"WarningBox",getInitialState:function(){return{totalWarningCount:E,openWarning:null}},componentWillMount:function(){console.yellowBoxResetIgnored&&(a.setItem(_,"[]",function(e){e&&console.warn("Could not reset ignored warnings.",e)}),R=[])},componentDidMount:function(){m(O,"There can only be one WarningBox"),O=!1,w.addListener("count",this._onWarningCount)},componentWillUnmount:function(){w.removeAllListeners(),O=!0},_onWarningCount:function(e){var t=this;setImmediate(function(){t.setState({totalWarningCount:e})})},_onDismiss:function(e){S["delete"](e),this.setState({openWarning:null})},render:function(){var e=this;if(0===S.size)return l.createElement(d,null);if(this.state.openWarning)return l.createElement(C,{warning:this.state.openWarning,onClose:function(){e.setState({openWarning:null})},onDismissed:this._onDismiss.bind(this,this.state.openWarning),onIgnored:function(){R.push(e.state.openWarning),o(),e._onDismiss(e.state.openWarning)}});var t=[];return S.forEach(function(n,r){t.push(l.createElement(T,{key:r,onOpened:function(){e.setState({openWarning:r})},onDismissed:e._onDismiss.bind(e,r),warning:r}))}),l.createElement(d,{style:I.warningContainer},t)}}),I=p.create({bold:{fontWeight:"bold"},closeButton:{position:"absolute",right:0,height:46,width:46},closeButtonText:{color:"white",fontSize:32,position:"relative",left:8},warningContainer:{position:"absolute",left:0,right:0,bottom:0},warningBox:{position:"relative",backgroundColor:"rgba(171, 124, 36, 0.9)",flex:1,height:46},warningText:{color:"white",position:"absolute",left:0,marginLeft:15,marginRight:46,top:7},yellowBox:{backgroundColor:"rgba(171, 124, 36, 0.9)",position:"absolute",left:0,right:0,top:0,bottom:0,padding:15,paddingTop:35},yellowBoxText:{color:"white",fontSize:20},yellowBoxButtons:{flexDirection:"row",position:"absolute",bottom:0},yellowBoxButton:{flex:1,padding:25},yellowBoxButtonText:{color:"white",fontSize:16}});n.exports=x}),__d("AsyncStorage",["NativeModules"],function(e,t,n,r){"use strict";function o(e){if(!e)return null;var t=new Error(e.message);return t.key=e.key,t}var i=t("NativeModules"),a=i.AsyncLocalStorage,s=i.AsyncRocksDBStorage,u=s||a,c={getItem:function(e,t){return new Promise(function(n,r){u.multiGet([e],function(e,i){var a=i&&i[0]&&i[0][1]?i[0][1]:null;t&&t(e&&o(e[0])||null,a),e?r(o(e[0])):n(a)})})},setItem:function(e,t,n){return new Promise(function(r,i){u.multiSet([[e,t]],function(e){n&&n(e&&o(e[0])||null),e?i(o(e[0])):r(null)})})},removeItem:function(e,t){return new Promise(function(n,r){u.multiRemove([e],function(e){t&&t(e&&o(e[0])||null),e?r(o(e[0])):n(null)})})},mergeItem:function(e,t,n){return new Promise(function(r,i){u.multiMerge([[e,t]],function(e){n&&n(e&&o(e[0])||null),e?i(o(e[0])):r(null)})})},clear:function(e){return new Promise(function(t,n){u.clear(function(r){e&&e(o(r)),r&&o(r)?n(o(r)):t(null)})})},getAllKeys:function(e){return new Promise(function(t,n){u.getAllKeys(function(r,i){e&&e(o(r),i),r?n(o(r)):t(i)})})},multiGet:function(e,t){return new Promise(function(n,r){u.multiGet(e,function(e,i){var a=e&&e.map(function(e){return o(e)})||null;t&&t(a,i),e?r(a):n(i)})})},multiSet:function(e,t){return new Promise(function(n,r){u.multiSet(e,function(e){var i=e&&e.map(function(e){return o(e)})||null;t&&t(i),e?r(i):n(null)})})},multiRemove:function(e,t){return new Promise(function(n,r){u.multiRemove(e,function(e){var i=e&&e.map(function(e){return o(e)})||null;t&&t(i),e?r(i):n(null)})})},multiMerge:function(e,t){return new Promise(function(n,r){u.multiMerge(e,function(e){var i=e&&e.map(function(e){return o(e)})||null;t&&t(i),e?r(i):n(null)})})}};u.multiMerge||(delete c.mergeItem,delete c.multiMerge),n.exports=c}),__d("setupDevtools",["flattenStyle","ReactCurrentOwner","ReactInstanceHandles","ReactNativeMount","ReactReconciler","ReactNativeTextComponent"],function(global,require,module,exports){"use strict";function setupDevtools(){function tryToConnect(){ws.send("attach:agent");var e=setInterval(function(){return ws.send("attach:agent")},500);ws.onmessage=function(t){0===t.data.indexOf("eval:")&&(clearInterval(e),initialize(t.data.slice("eval:".length)))}}function initialize(text){try{eval(text)}catch(e){return void console.error("Failed to eval"+e.message)}window.__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:require("ReactCurrentOwner"),InstanceHandles:require("ReactInstanceHandles"),Mount:require("ReactNativeMount"),Reconciler:require("ReactReconciler"),TextComponent:require("ReactNativeTextComponent")}),ws.onmessage=handleMessage}function handleMessage(e){var t;try{t=JSON.parse(e.data)}catch(n){return console.error("failed to parse json: "+e.data)}return t.$close||t.$error?(closeListeners.forEach(function(e){return e()}),window.__REACT_DEVTOOLS_GLOBAL_HOOK__.emit("shutdown"),void tryToConnect()):void(t.$open||messageListeners.forEach(function(e){try{e(t)}catch(n){throw console.log(t),n}}))}var messageListeners=[],closeListeners=[],ws=new window.WebSocket("ws://localhost:8081/devtools"),FOR_BACKEND={resolveRNStyle:require("flattenStyle"),wall:{listen:function(e){messageListeners.push(e)},onClose:function(e){closeListeners.push(e)},send:function(e){ws.send(JSON.stringify(e))}}};ws.onclose=function(){console.warn("devtools socket closed"),closeListeners.forEach(function(e){return e()})},ws.onerror=function(e){console.warn("devtools socket errored",e),closeListeners.forEach(function(e){return e()})},ws.onopen=function(){tryToConnect()}}module.exports=setupDevtools}),__d("RCTRenderingPerf",["ReactDefaultPerf","invariant"],function(e,t,n,r){"use strict";var o=t("ReactDefaultPerf"),i=t("invariant"),a=[],s=!1,u={toggle:function(){console.log("Render perfomance measurements enabled"),s=!0},start:function(){s&&(o.start(),a.forEach(function(e){return e.start()}))},stop:function(){if(s){o.stop(),o.printInclusive(),o.printWasted();for(var e=0,t=0,n=o.getLastMeasurements(),r=0;r<n.length;r++){var i=n[r].render;for(var u in i)e+=i[u];t+=n[r].totalTime}console.log("Total time spent in render(): "+e+"ms"),a.forEach(function(e){return e.stop()})}},register:function(e){i("function"==typeof e.start,"Perf module should have start() function"),i("function"==typeof e.stop,"Perf module should have stop() function"),a.push(e)}};n.exports=u}),__d("ReactDefaultPerf",["DOMProperty","ReactDefaultPerfAnalysis","ReactMount","ReactPerf","performanceNow"],function(e,t,n,r){"use strict";function o(e){return Math.floor(100*e)/100}function i(e,t,n){e[t]=(e[t]||0)+n}var a=t("DOMProperty"),s=t("ReactDefaultPerfAnalysis"),u=t("ReactMount"),c=t("ReactPerf"),l=t("performanceNow"),p={_allMeasurements:[],_mountStack:[0],_injected:!1,start:function(){p._injected||c.injection.injectMeasure(p.measure),p._allMeasurements.length=0,c.enableMeasure=!0},stop:function(){c.enableMeasure=!1},getLastMeasurements:function(){return p._allMeasurements},printExclusive:function(e){e=e||p._allMeasurements;var t=s.getExclusiveSummary(e);console.table(t.map(function(e){return{"Component class name":e.componentName,"Total inclusive time (ms)":o(e.inclusive),"Exclusive mount time (ms)":o(e.exclusive),"Exclusive render time (ms)":o(e.render),"Mount time per instance (ms)":o(e.exclusive/e.count),"Render time per instance (ms)":o(e.render/e.count),Instances:e.count}}))},printInclusive:function(e){e=e||p._allMeasurements;var t=s.getInclusiveSummary(e);console.table(t.map(function(e){return{"Owner > component":e.componentName,"Inclusive time (ms)":o(e.time),Instances:e.count}})),console.log("Total time:",s.getTotalTime(e).toFixed(2)+" ms")},getMeasurementsSummaryMap:function(e){var t=s.getInclusiveSummary(e,!0);return t.map(function(e){return{"Owner > component":e.componentName,"Wasted time (ms)":e.time,Instances:e.count}})},printWasted:function(e){e=e||p._allMeasurements,console.table(p.getMeasurementsSummaryMap(e)),console.log("Total time:",s.getTotalTime(e).toFixed(2)+" ms")},printDOM:function(e){e=e||p._allMeasurements;var t=s.getDOMSummary(e);console.table(t.map(function(e){var t={};return t[a.ID_ATTRIBUTE_NAME]=e.id,t.type=e.type,t.args=JSON.stringify(e.args),t})),console.log("Total time:",s.getTotalTime(e).toFixed(2)+" ms")},_recordWrite:function(e,t,n,r){var o=p._allMeasurements[p._allMeasurements.length-1].writes;o[e]=o[e]||[],o[e].push({type:t,time:n,args:r})},measure:function(e,t,n){return function(){for(var r=arguments.length,o=Array(r),a=0;r>a;a++)o[a]=arguments[a];var s,c,h;if("_renderNewRootComponent"===t||"flushBatchedUpdates"===t)return p._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0}),h=l(),c=n.apply(this,o),p._allMeasurements[p._allMeasurements.length-1].totalTime=l()-h,c;if("_mountImageIntoNode"===t||"ReactDOMIDOperations"===e){if(h=l(),c=n.apply(this,o),s=l()-h,"_mountImageIntoNode"===t){var f=u.getID(o[1]);p._recordWrite(f,t,s,o[0])}else"dangerouslyProcessChildrenUpdates"===t?o[0].forEach(function(e){var t={};null!==e.fromIndex&&(t.fromIndex=e.fromIndex),null!==e.toIndex&&(t.toIndex=e.toIndex),null!==e.textContent&&(t.textContent=e.textContent),null!==e.markupIndex&&(t.markup=o[1][e.markupIndex]),p._recordWrite(e.parentID,e.type,s,t)}):p._recordWrite(o[0],t,s,Array.prototype.slice.call(o,1));return c}if("ReactCompositeComponent"!==e||"mountComponent"!==t&&"updateComponent"!==t&&"_renderValidatedComponent"!==t)return n.apply(this,o);if("string"==typeof this._currentElement.type)return n.apply(this,o);var d="mountComponent"===t?o[0]:this._rootNodeID,m="_renderValidatedComponent"===t,v="mountComponent"===t,g=p._mountStack,y=p._allMeasurements[p._allMeasurements.length-1];if(m?i(y.counts,d,1):v&&g.push(0),h=l(),c=n.apply(this,o),s=l()-h,m)i(y.render,d,s);else if(v){var _=g.pop();g[g.length-1]+=s,i(y.exclusive,d,s-_),i(y.inclusive,d,s)}else i(y.inclusive,d,s);return y.displayNames[d]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():"<root>"},c}}};n.exports=p}),__d("DOMProperty",["invariant"],function(e,t,n,r){"use strict";function o(e,t){return(e&t)===t}var i=t("invariant"),a={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},r=e.DOMAttributeNamespaces||{},s=e.DOMAttributeNames||{},c=e.DOMPropertyNames||{},l=e.DOMMutationMethods||{};e.isCustomAttribute&&u._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var p in n){i(!u.properties.hasOwnProperty(p),"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",p);var h=p.toLowerCase(),f=n[p],d={attributeName:h,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseAttribute:o(f,t.MUST_USE_ATTRIBUTE),mustUseProperty:o(f,t.MUST_USE_PROPERTY),hasSideEffects:o(f,t.HAS_SIDE_EFFECTS),hasBooleanValue:o(f,t.HAS_BOOLEAN_VALUE),hasNumericValue:o(f,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(f,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(f,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(i(!d.mustUseAttribute||!d.mustUseProperty,"DOMProperty: Cannot require using both attribute and property: %s",p),i(d.mustUseProperty||!d.hasSideEffects,"DOMProperty: Properties that have side effects must use property: %s",p),i(d.hasBooleanValue+d.hasNumericValue+d.hasOverloadedBooleanValue<=1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",p),__DEV__&&(u.getPossibleStandardName[h]=p),s.hasOwnProperty(p)){var m=s[p];d.attributeName=m,__DEV__&&(u.getPossibleStandardName[m]=p)}r.hasOwnProperty(p)&&(d.attributeNamespace=r[p]),c.hasOwnProperty(p)&&(d.propertyName=c[p]),l.hasOwnProperty(p)&&(d.mutationMethod=l[p]),u.properties[p]=d}}},s={},u={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:__DEV__?{}:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<u._isCustomAttributeFunctions.length;t++){var n=u._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=s[e];return r||(s[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:a};n.exports=u}),__d("ReactDefaultPerfAnalysis",["Object.assign"],function(e,t,n,r){function o(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.totalTime}return t}function i(e){for(var t=[],n=0;n<e.length;n++){var r,o=e[n];for(r in o.writes)o.writes[r].forEach(function(e){t.push({id:r,type:p[e.type]||e.type,args:e.args})})}return t}function a(e){for(var t,n={},r=0;r<e.length;r++){var o=e[r],i=c({},o.exclusive,o.inclusive);for(var a in i)t=o.displayNames[a].current,n[t]=n[t]||{componentName:t,inclusive:0,exclusive:0,render:0,count:0},o.render[a]&&(n[t].render+=o.render[a]),o.exclusive[a]&&(n[t].exclusive+=o.exclusive[a]),o.inclusive[a]&&(n[t].inclusive+=o.inclusive[a]),o.counts[a]&&(n[t].count+=o.counts[a])}var s=[];for(t in n)n[t].exclusive>=l&&s.push(n[t]);return s.sort(function(e,t){return t.exclusive-e.exclusive}),s}function s(e,t){for(var n,r={},o=0;o<e.length;o++){var i,a=e[o],s=c({},a.exclusive,a.inclusive);t&&(i=u(a));for(var p in s)if(!t||i[p]){var h=a.displayNames[p];n=h.owner+" > "+h.current,r[n]=r[n]||{componentName:n,time:0,count:0},a.inclusive[p]&&(r[n].time+=a.inclusive[p]),a.counts[p]&&(r[n].count+=a.counts[p])}}var f=[];for(n in r)r[n].time>=l&&f.push(r[n]);return f.sort(function(e,t){return t.time-e.time}),f}function u(e){var t={},n=Object.keys(e.writes),r=c({},e.exclusive,e.inclusive);for(var o in r){for(var i=!1,a=0;a<n.length;a++)if(0===n[a].indexOf(o)){i=!0;break}!i&&e.counts[o]>0&&(t[o]=!0)}return t}var c=t("Object.assign"),l=1.2,p={_mountImageIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",REMOVE_NODE:"remove",TEXT_CONTENT:"set textContent",updatePropertyByID:"update attribute",deletePropertyByID:"delete attribute",updateStylesByID:"update styles",updateInnerHTMLByID:"set innerHTML",dangerouslyReplaceNodeWithMarkupByID:"replace"},h={getExclusiveSummary:a,getInclusiveSummary:s,getDOMSummary:i,getTotalTime:o};n.exports=h}),__d("ReactMount",["DOMProperty","ReactBrowserEventEmitter","ReactCurrentOwner","ReactElement","ReactEmptyComponent","ReactInstanceHandles","ReactInstanceMap","ReactMarkupChecksum","ReactPerf","ReactReconciler","ReactUpdateQueue","ReactUpdates","emptyObject","containsNode","instantiateReactComponent","invariant","setInnerHTML","shouldUpdateReactComponent","validateDOMNesting","warning"],function(e,t,n,r){"use strict";function o(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function i(e){return e?e.nodeType===q?e.documentElement:e.firstChild:null}function a(e){var t=i(e);return t&&Q.getID(t)}function s(e){var t=u(e);if(t)if(B.hasOwnProperty(t)){var n=B[t];n!==e&&(k(!h(n,t),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",H,t),B[t]=e)}else B[t]=e;return t}function u(e){return e&&e.getAttribute&&e.getAttribute(H)||""}function c(e,t){var n=u(e);n!==t&&delete B[n],e.setAttribute(H,t),B[t]=e}function l(e){return B.hasOwnProperty(e)&&h(B[e],e)||(B[e]=Q.findReactNodeByID(e)),B[e]}function p(e){var t=T.get(e)._rootNodeID;return E.isNullComponentID(t)?null:(B.hasOwnProperty(t)&&h(B[t],t)||(B[t]=Q.findReactNodeByID(t)),B[t])}function h(e,t){if(e){k(u(e)===t,"ReactMount: Unexpected modification of `%s`",H);var n=Q.findReactContainerForID(t);if(n&&D(n,e))return!0}return!1}function f(e){delete B[e]}function d(e){var t=B[e];return t&&h(t,e)?void(X=t):!1}function m(e){X=null,w.traverseAncestors(e,d);var t=X;return X=null,t}function v(e,t,n,r,o,i){if(__DEV__){i===N&&(i={});var a=n.nodeName.toLowerCase();i[L.ancestorInfoContextKey]=L.updatedAncestorInfo(null,a,null)}var s=x.mountComponent(e,t,r,i);e._renderedComponent._topLevelWrapper=e,Q._mountImageIntoNode(s,n,o)}function g(e,t,n,r,o){var i=P.ReactReconcileTransaction.getPooled();i.perform(v,null,e,t,n,i,r,o),P.ReactReconcileTransaction.release(i)}function y(e,t){for(x.unmountComponent(e),t.nodeType===q&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}var _=t("DOMProperty"),b=t("ReactBrowserEventEmitter"),S=t("ReactCurrentOwner"),R=t("ReactElement"),E=t("ReactEmptyComponent"),w=t("ReactInstanceHandles"),T=t("ReactInstanceMap"),C=t("ReactMarkupChecksum"),O=t("ReactPerf"),x=t("ReactReconciler"),I=t("ReactUpdateQueue"),P=t("ReactUpdates"),N=t("emptyObject"),D=t("containsNode"),M=t("instantiateReactComponent"),k=t("invariant"),A=t("setInnerHTML"),j=t("shouldUpdateReactComponent"),L=t("validateDOMNesting"),V=t("warning"),F=w.SEPARATOR,H=_.ID_ATTRIBUTE_NAME,B={},U=1,q=9,z=11,G={},W={};if(__DEV__)var Y={};var K=[],X=null,J=function(){};J.prototype.render=function(){return this.props};var Q={_instancesByReactRootID:G,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return Q.scrollMonitor(n,function(){I.enqueueElementInternal(e,t),r&&I.enqueueCallbackInternal(e,r)}),__DEV__&&(Y[a(n)]=i(n)),e},_registerComponent:function(e,t){k(t&&(t.nodeType===U||t.nodeType===q||t.nodeType===z),"_registerComponent(...): Target container is not a DOM element."),b.ensureScrollValueMonitoring();var n=Q.registerContainer(t);return G[n]=e,n},_renderNewRootComponent:function(e,t,n,r){V(null==S.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",S.current&&S.current.getName()||"ReactCompositeComponent");var o=M(e,null),a=Q._registerComponent(o,t);return P.batchedUpdates(g,o,a,t,n,r),__DEV__&&(Y[a]=i(t)),o},renderSubtreeIntoContainer:function(e,t,n,r){return k(null!=e&&null!=e._reactInternalInstance,"parentComponent must be a valid React Component"),Q._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){k(R.isValidElement(t),"React.render(): Invalid component element.%s","string"==typeof t?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof t?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":""),V(!n||!n.tagName||"BODY"!==n.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");var o=new R(J,null,null,null,t),s=G[a(n)];if(s){var u=s._currentElement,c=u.props;if(j(c,t))return Q._updateRootComponent(s,o,n,r)._renderedComponent.getPublicInstance();Q.unmountComponentAtNode(n)}var l=i(n),p=l&&Q.isRenderedByReact(l);if(__DEV__&&(!p||l.nextSibling))for(var h=l;h;){if(Q.isRenderedByReact(h)){V(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.");break}h=h.nextSibling}var f=p&&!s,d=Q._renderNewRootComponent(o,n,f,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):N)._renderedComponent.getPublicInstance();return r&&r.call(d),d},render:function(e,t,n){return Q._renderSubtreeIntoContainer(null,e,t,n)},registerContainer:function(e){var t=a(e);return t&&(t=w.getReactRootIDFromNodeID(t)),t||(t=w.createReactRootID()),W[t]=e,t},unmountComponentAtNode:function(e){V(null==S.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. Check the render method of %s.",S.current&&S.current.getName()||"ReactCompositeComponent"),k(e&&(e.nodeType===U||e.nodeType===q||e.nodeType===z),"unmountComponentAtNode(...): Target container is not a DOM element.");var t=a(e),n=G[t];return n?(P.batchedUpdates(y,n,e),delete G[t],delete W[t],__DEV__&&delete Y[t],!0):!1},findReactContainerForID:function(e){var t=w.getReactRootIDFromNodeID(e),n=W[t];if(__DEV__){var r=Y[t];if(r&&r.parentNode!==n){V(u(r)===t,"ReactMount: Root element ID differed from reactRootID.");var o=n.firstChild;o&&t===u(o)?Y[t]=o:V(!1,"ReactMount: Root element has been removed from its original container. New container: %s",r.parentNode)}}return n},findReactNodeByID:function(e){var t=Q.findReactContainerForID(e);return Q.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=Q.getID(e);return t?t.charAt(0)===F:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(Q.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var n=K,r=0,o=m(t)||e;for(n[0]=o.firstChild,n.length=1;r<n.length;){for(var i,a=n[r++];a;){var s=Q.getID(a);s?t===s?i=a:w.isAncestorIDOf(s,t)&&(n.length=r=0,n.push(a.firstChild)):n.push(a.firstChild),a=a.nextSibling}if(i)return n.length=0,i}n.length=0,k(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",t,Q.getID(e))},_mountImageIntoNode:function(e,t,n){if(k(t&&(t.nodeType===U||t.nodeType===q||t.nodeType===z),"mountComponentIntoNode(...): Target container is not valid."),n){var r=i(t);if(C.canReuseMarkup(e,r))return;var a=r.getAttribute(C.CHECKSUM_ATTR_NAME);r.removeAttribute(C.CHECKSUM_ATTR_NAME);var s=r.outerHTML;r.setAttribute(C.CHECKSUM_ATTR_NAME,a);var u=o(e,s),c=" (client) "+e.substring(u-20,u+20)+"\n (server) "+s.substring(u-20,u+20);k(t.nodeType!==q,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",c),__DEV__&&V(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",c)}k(t.nodeType!==q,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See React.renderToString() for server rendering."),A(t,e)},getReactRootID:a,getID:s,setID:c,getNode:l,getNodeFromInstance:p,purgeID:f};O.measureMethods(Q,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),n.exports=Q}),__d("ReactBrowserEventEmitter",["EventConstants","EventPluginHub","EventPluginRegistry","ReactEventEmitterMixin","ViewportMetrics","Object.assign","isEventSupported"],function(e,t,n,r){"use strict";function o(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=d++,h[e[v]]={}),h[e[v]]}var i=t("EventConstants"),a=t("EventPluginHub"),s=t("EventPluginRegistry"),u=t("ReactEventEmitterMixin"),c=t("ViewportMetrics"),l=t("Object.assign"),p=t("isEventSupported"),h={},f=!1,d=0,m={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),g=l({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=o(n),a=s.registrationNameDependencies[e],u=i.topLevelTypes,c=0;c<a.length;c++){var l=a[c];r.hasOwnProperty(l)&&r[l]||(l===u.topWheel?p("wheel")?g.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):p("mousewheel")?g.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):g.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):l===u.topScroll?p("scroll",!0)?g.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):g.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",g.ReactEventListener.WINDOW_HANDLE):l===u.topFocus||l===u.topBlur?(p("focus",!0)?(g.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),g.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):p("focusin")&&(g.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),g.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),r[u.topBlur]=!0,r[u.topFocus]=!0):m.hasOwnProperty(l)&&g.ReactEventListener.trapBubbledEvent(l,m[l],n),r[l]=!0)}},trapBubbledEvent:function(e,t,n){return g.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return g.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!f){var e=c.refreshScrollValues;g.ReactEventListener.monitorScrollValue(e),f=!0}},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:a.putListener,getListener:a.getListener,deleteListener:a.deleteListener,deleteAllListeners:a.deleteAllListeners});n.exports=g}),__d("ViewportMetrics",[],function(e,t,n,r){"use strict";var o={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){o.currentScrollLeft=e.x,o.currentScrollTop=e.y}};n.exports=o}),__d("isEventSupported",["ExecutionEnvironment"],function(e,t,n,r){"use strict";function o(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,a=t("ExecutionEnvironment");a.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),n.exports=o}),__d("ReactMarkupChecksum",["adler32"],function(e,t,n,r){"use strict";var o=t("adler32"),i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=o(e);return e.replace(">"," "+i.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=o(e);return r===n}};n.exports=i}),__d("adler32",[],function(e,t,n,r){"use strict";function o(e){for(var t=1,n=0,r=0;r<e.length;r++)t=(t+e.charCodeAt(r))%i,n=(n+t)%i;return t|n<<16}var i=65521;n.exports=o}),__d("containsNode",["isTextNode"],function(e,t,n,r){function o(e,t){return e&&t?e===t?!0:i(e)?!1:i(t)?o(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var i=t("isTextNode");n.exports=o}),__d("isTextNode",["isNode"],function(e,t,n,r){function o(e){return i(e)&&3==e.nodeType}var i=t("isNode");n.exports=o}),__d("setInnerHTML",["ExecutionEnvironment"],function(e,t,n,r){"use strict";var o=t("ExecutionEnvironment"),i=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(s=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),o.canUseDOM){var u=document.createElement("div");u.innerHTML=" ",""===u.innerHTML&&(s=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&a.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}n.exports=s}),__d("validateDOMNesting",["Object.assign","emptyFunction","warning"],function(e,t,n,r){"use strict";var o=t("Object.assign"),i=t("emptyFunction"),a=t("warning"),s=i;if(__DEV__){var u=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],c=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],l=c.concat(["button"]),p=["dd","dt","li","option","optgroup","p","rp","rt"],h={parentTag:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},f=function(e,t,n){var r=o({},e||h),i={tag:t,instance:n};return-1!==c.indexOf(t)&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),-1!==l.indexOf(t)&&(r.pTagInButtonScope=null),-1!==u.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.parentTag=i,"form"===t&&(r.formTag=i),"a"===t&&(r.aTagInScope=i),"button"===t&&(r.buttonTagInScope=i),"nobr"===t&&(r.nobrTagInScope=i),"p"===t&&(r.pTagInButtonScope=i),"li"===t&&(r.listItemTagAutoclosing=i),("dd"===t||"dt"===t)&&(r.dlItemTagAutoclosing=i),r},d=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===p.indexOf(t);case"caption":case"col":case"colgroup":case"frame":case"head":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},m=function(e,t){
switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},v=function(e){if(!e)return[];var t=[];do t.push(e);while(e=e._currentElement._owner);return t.reverse(),t},g={};s=function(e,t,n){n=n||h;var r=n.parentTag,o=r&&r.tag,i=d(e,o)?null:r,s=i?null:m(e,n),u=i||s;if(u){var c,l=u.tag,p=u.instance,f=t&&t._currentElement._owner,y=p&&p._currentElement._owner,_=v(f),b=v(y),S=Math.min(_.length,b.length),R=-1;for(c=0;S>c&&_[c]===b[c];c++)R=c;var E="(unknown)",w=_.slice(R+1).map(function(e){return e.getName()||E}),T=b.slice(R+1).map(function(e){return e.getName()||E}),C=[].concat(-1!==R?_[R].getName()||E:[],T,l,s?["..."]:[],w,e).join(" > "),O=!!i+"|"+e+"|"+l+"|"+C;if(g[O])return;if(g[O]=!0,i){var x="";"table"===l&&"tr"===e&&(x+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),a(!1,"validateDOMNesting(...): <%s> cannot appear as a child of <%s>. See %s.%s",e,l,C,x)}else a(!1,"validateDOMNesting(...): <%s> cannot appear as a descendant of <%s>. See %s.",e,l,C)}},s.ancestorInfoContextKey="__validateDOMNesting_ancestorInfo$"+Math.random().toString(36).slice(2),s.updatedAncestorInfo=f,s.isTagValidInContext=function(e,t){t=t||h;var n=t.parentTag,r=n&&n.tag;return d(e,r)&&!m(e,t)}}n.exports=s}),__d("AppStateIOS",["Map","NativeModules","RCTDeviceEventEmitter","logError","invariant"],function(e,t,n,r){"use strict";var o=t("Map"),i=t("NativeModules"),a=t("RCTDeviceEventEmitter"),s=i.AppState,u=t("logError"),c=t("invariant"),l={change:new o,memoryWarning:new o},p={addEventListener:function(e,t){c(-1!==["change","memoryWarning"].indexOf(e),'Trying to subscribe to unknown event: "%s"',e),"change"===e?l[e].set(t,a.addListener("appStateDidChange",function(e){t(e.app_state)})):"memoryWarning"===e&&l[e].set(t,a.addListener("memoryWarning",t))},removeEventListener:function(e,t){c(-1!==["change","memoryWarning"].indexOf(e),'Trying to remove listener for unknown event: "%s"',e),l[e].has(t)&&(l[e].get(t).remove(),l[e]["delete"](t))},currentState:s&&s.initialAppState};a.addListener("appStateDidChange",function(e){p.currentState=e.app_state}),s.getCurrentAppState(function(e){p.currentState=e.app_state},u),n.exports=p}),__d("BackAndroid",["warning"],function(e,t,n,r){"use strict";function o(){i(!1,"BackAndroid is not supported on this platform.")}var i=t("warning"),a={exitApp:o,addEventListener:o,removeEventListener:o};n.exports=a}),__d("CameraRoll",["ReactPropTypes","NativeModules","createStrictShapeTypeChecker","deepFreezeAndThrowOnMutationInDev","invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("ReactPropTypes"),s=t("NativeModules").CameraRollManager,u=t("createStrictShapeTypeChecker"),c=t("deepFreezeAndThrowOnMutationInDev"),l=t("invariant"),p=["Album","All","Event","Faces","Library","PhotoStream","SavedPhotos"],h=["All","Videos","Photos"];c(p),c(h);var f=u({first:a.number.isRequired,after:a.string,groupTypes:a.oneOf(p),groupName:a.string,assetType:a.oneOf(h),mimeTypes:a.arrayOf(a.string)}),d=u({edges:a.arrayOf(u({node:u({type:a.string.isRequired,group_name:a.string.isRequired,image:u({uri:a.string.isRequired,height:a.number.isRequired,width:a.number.isRequired,isStored:a.bool}).isRequired,timestamp:a.number.isRequired,location:u({latitude:a.number,longitude:a.number,altitude:a.number,heading:a.number,speed:a.number})}).isRequired})).isRequired,page_info:u({has_next_page:a.bool.isRequired,start_cursor:a.string,end_cursor:a.string}).isRequired}),m=function(){function e(){o(this,e)}return i(e,null,[{key:"saveImageWithTag",value:function(e,t,n){l("string"==typeof e,"CameraRoll.saveImageWithTag tag must be a valid string."),s.saveImageWithTag(e,function(e){t&&t(e)},function(e){n&&n(e)})}},{key:"getPhotos",value:function(e,t,n){var r=t;__DEV__&&(f({params:e},"params","CameraRoll.getPhotos"),l("function"==typeof t,"CameraRoll.getPhotos callback must be a valid function."),l("function"==typeof n,"CameraRoll.getPhotos errorCallback must be a valid function.")),__DEV__&&(r=function(e){d({response:e},"response","CameraRoll.getPhotos callback"),t(e)}),s.getPhotos(e,r,n)}}]),e}();m.GroupTypesOptions=p,m.AssetTypeOptions=h,n.exports=m}),__d("ImagePickerIOS",["NativeModules"],function(e,t,n,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=t("NativeModules").ImagePickerIOS,a={canRecordVideos:function(e){return i.canRecordVideos(e)},canUseCamera:function(e){return i.canUseCamera(e)},openCameraDialog:function(e,t,n){return e=o({videoMode:!1},e),i.openCameraDialog(e,t,n)},openSelectDialog:function(e,t,n){return e=o({showImages:!0,showVideos:!1},e),i.openSelectDialog(e,t,n)}};n.exports=a}),__d("LayoutAnimation",["ReactPropTypes","NativeModules","createStrictShapeTypeChecker","keyMirror"],function(e,t,n,r){"use strict";function o(e,t){m({config:e},"config","LayoutAnimation.configureNext"),s.configureNextLayoutAnimation(e,t||function(){},function(){})}function i(e,t,n){return{duration:e,create:{type:t,property:n},update:{type:t}}}var a=t("ReactPropTypes"),s=t("NativeModules").UIManager,u=t("createStrictShapeTypeChecker"),c=t("keyMirror"),l={spring:!0,linear:!0,easeInEaseOut:!0,easeIn:!0,easeOut:!0,keyboard:!0},p=c(l),h={opacity:!0,scaleXY:!0},f=c(h),d=u({duration:a.number,delay:a.number,springDamping:a.number,initialVelocity:a.number,type:a.oneOf(Object.keys(p)),property:a.oneOf(Object.keys(f))}),m=u({duration:a.number.isRequired,create:d,update:d,"delete":d}),v={easeInEaseOut:i(300,p.easeInEaseOut,f.opacity),linear:i(500,p.linear,f.opacity),spring:{duration:700,create:{type:p.linear,property:f.opacity},update:{type:p.spring,springDamping:.4}}},g={configureNext:o,create:i,Types:p,Properties:f,configChecker:m,Presets:v,easeInEaseOut:o.bind(null,v.easeInEaseOut),linear:o.bind(null,v.linear),spring:o.bind(null,v.spring)};n.exports=g}),__d("LinkingIOS",["RCTDeviceEventEmitter","NativeModules","Map","invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("RCTDeviceEventEmitter"),s=t("NativeModules").LinkingManager,u=t("Map"),c=t("invariant"),l=new u,p=s&&s.initialURL,h="openURL",f=function(){function e(){o(this,e)}return i(e,null,[{key:"addEventListener",value:function(e,t){c("url"===e,"LinkingIOS only supports `url` events");var n=a.addListener(h,t);l.set(t,n)}},{key:"removeEventListener",value:function(e,t){c("url"===e,"LinkingIOS only supports `url` events");var n=l.get(t);n&&(n.remove(),l["delete"](t))}},{key:"openURL",value:function(e){c("string"==typeof e,"Invalid url: should be a string"),s.openURL(e)}},{key:"canOpenURL",value:function(e,t){c("string"==typeof e,"Invalid url: should be a string"),c("function"==typeof t,"A valid callback function is required"),s.canOpenURL(e,t)}},{key:"popInitialURL",value:function(){var e=p;return p=null,e}}]),e}();n.exports=f}),__d("NetInfo",["Map","NativeModules","Platform","RCTDeviceEventEmitter"],function(e,t,n,r){"use strict";var o=t("Map"),i=t("NativeModules"),a=t("Platform"),s=t("RCTDeviceEventEmitter"),u=i.NetInfo,c="networkDidChange",l=new o;if("ios"===a.OS)var p=function(e){return"none"!==e&&"unknown"!==e};else if("android"===a.OS)var p=function(e){return"NONE"!==e&&"UNKNOWN"!==e};var h=new o,f={addEventListener:function(e,t){var n=s.addListener(c,function(e){t(e.network_info)});l.set(t,n)},removeEventListener:function(e,t){var n=l.get(t);n&&(n.remove(),l["delete"](t))},fetch:function(){return new Promise(function(e,t){u.getCurrentReachability(function(t){e(t.network_reachability)},t)})},isConnected:{addEventListener:function(e,t){var n=function(e){t(p(e))};h.set(t,n),f.addEventListener(e,n)},removeEventListener:function(e,t){var n=h.get(t);f.removeEventListener(e,n),h["delete"](t)},fetch:function(){return f.fetch().then(function(e){return p(e)})}},isConnectionMetered:{}};"android"===a.OS&&(f.isConnectionMetered=function(e){u.isConnectionMetered(function(t){e(t)})}),n.exports=f}),__d("PushNotificationIOS",["Map","RCTDeviceEventEmitter","NativeModules","invariant"],function(e,t,n,r){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("Map"),s=t("RCTDeviceEventEmitter"),u=t("NativeModules").PushNotificationManager,c=t("invariant"),l=new a,p=u&&u.initialNotification,h="remoteNotificationReceived",f="remoteNotificationsRegistered",d=function(){function e(t){var n=this;o(this,e),this._data={},Object.keys(t).forEach(function(e){var r=t[e];"aps"===e?(n._alert=r.alert,n._sound=r.sound,n._badgeCount=r.badge):n._data[e]=r})}return i(e,null,[{key:"presentLocalNotification",value:function(e){u.presentLocalNotification(e)}},{key:"scheduleLocalNotification",value:function(e){u.scheduleLocalNotification(e)}},{key:"setApplicationIconBadgeNumber",value:function(e){u.setApplicationIconBadgeNumber(e)}},{key:"getApplicationIconBadgeNumber",value:function(e){u.getApplicationIconBadgeNumber(e)}},{key:"addEventListener",value:function(t,n){c("notification"===t||"register"===t,"PushNotificationIOS only supports `notification` and `register` events");var r;"notification"===t?r=s.addListener(h,function(t){n(new e(t))}):"register"===t&&(r=s.addListener(f,function(e){n(e.deviceToken)})),l.set(n,r)}},{key:"requestPermissions",value:function(e){var t={};t=e?{alert:!!e.alert,badge:!!e.badge,sound:!!e.sound}:{alert:!0,badge:!0,sound:!0},u.requestPermissions(t)}},{key:"abandonPermissions",value:function(){u.abandonPermissions()}},{key:"checkPermissions",value:function(e){c("function"==typeof e,"Must provide a valid callback"),u.checkPermissions(e)}},{key:"removeEventListener",value:function(e,t){c("notification"===e||"register"===e,"PushNotificationIOS only supports `notification` and `register` events");var n=l.get(t);n&&(n.remove(),l["delete"](t))}},{key:"popInitialNotification",value:function(){var t=p&&new e(p);return p=null,t}}]),i(e,[{key:"getMessage",value:function(){return this._alert}},{key:"getSound",value:function(){return this._sound}},{key:"getAlert",value:function(){return this._alert}},{key:"getBadgeCount",value:function(){return this._badgeCount}},{key:"getData",value:function(){return this._data}}]),e}();n.exports=d}),__d("Settings",["RCTDeviceEventEmitter","NativeModules","invariant"],function(e,t,n,r){"use strict";var o=t("RCTDeviceEventEmitter"),i=t("NativeModules").SettingsManager,a=t("invariant"),s=[],u={_settings:i&&i.settings,get:function(e){return this._settings[e]},set:function(e){this._settings=Object.assign(this._settings,e),i.setValues(e)},watchKeys:function(e,t){"string"==typeof e&&(e=[e]),a(Array.isArray(e),"keys should be a string or array of strings");var n=s.length;return s.push({keys:e,callback:t}),n},clearWatch:function(e){e<s.length&&(s[e]={keys:[],callback:null})},_sendObservations:function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],o=t._settings[n]!==r;t._settings[n]=r,o&&s.forEach(function(e){-1!==e.keys.indexOf(n)&&e.callback&&e.callback()})})}};o.addListener("settingsUpdated",u._sendObservations.bind(u)),n.exports=u}),__d("StatusBarIOS",["NativeModules"],function(e,t,n,r){"use strict";var o=t("NativeModules").StatusBarManager,i={setStyle:function(e,t){t=t||!1,o.setStyle(e,t)},setHidden:function(e,t){t=t||"none",o.setHidden(e,t)},setNetworkActivityIndicatorVisible:function(e){o.setNetworkActivityIndicatorVisible(e)}};n.exports=i}),__d("VibrationIOS",["NativeModules","invariant"],function(e,t,n,r){"use strict";var o=t("NativeModules").Vibration,i=t("invariant"),a={vibrate:function(){i(void 0===arguments[0],"Vibration patterns not supported."),o.vibrate()}};n.exports=a}),__d("RCTNativeAppEventEmitter",["EventEmitter"],function(e,t,n,r){"use strict";var o=t("EventEmitter"),i=new o;n.exports=i}),__d("LinkedStateMixin",["ReactLink","ReactStateSetters"],function(e,t,n,r){"use strict";var o=t("ReactLink"),i=t("ReactStateSetters"),a={linkState:function(e){return new o(this.state[e],i.createStateKeySetter(this,e))}};n.exports=a}),__d("ReactLink",["React"],function(e,t,n,r){"use strict";function o(e,t){this.value=e,this.requestChange=t}function i(e){var t={value:"undefined"==typeof e?a.PropTypes.any.isRequired:e.isRequired,requestChange:a.PropTypes.func.isRequired};return a.PropTypes.shape(t)}var a=t("React");o.PropTypes={link:i},n.exports=o}),__d("ReactStateSetters",[],function(e,t,n,r){"use strict";function o(e,t){var n={};return function(r){n[t]=r,e.setState(n)}}var i={createStateSetter:function(e,t){return function(n,r,o,i,a,s){var u=t.call(e,n,r,o,i,a,s);u&&e.setState(u)}},createStateKeySetter:function(e,t){var n=e.__keySetters||(e.__keySetters={});return n[t]||(n[t]=o(e,t))}};i.Mixin={createStateSetter:function(e){return i.createStateSetter(this,e)},createStateKeySetter:function(e){return i.createStateKeySetter(this,e)}},n.exports=i}),__d("ReactComponentWithPureRenderMixin",["shallowCompare"],function(e,t,n,r){"use strict";var o=t("shallowCompare"),i={shouldComponentUpdate:function(e,t){return o(this,e,t)}};n.exports=i}),__d("shallowCompare",["shallowEqual"],function(e,t,n,r){"use strict";function o(e,t,n){return!i(e.props,t)||!i(e.state,n)}var i=t("shallowEqual");n.exports=o}),__d("shallowEqual",[],function(e,t,n,r){"use strict";function o(e,t){if(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(var o=Object.prototype.hasOwnProperty.bind(t),i=0;i<n.length;i++)if(!o(n[i])||e[n[i]]!==t[n[i]])return!1;return!0}n.exports=o}),__d("update",["Object.assign","keyOf","invariant"],function(e,t,n,r){"use strict";function o(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?s(new e.constructor,e):e}function i(e,t,n){c(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e);var r=t[n];c(Array.isArray(r),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,r)}function a(e,t){if(c("object"==typeof t,"update(): You provided a key path to update() that did not contain one of %s. Did you forget to include {%s: ...}?",g.join(", "),d),l.call(t,d))return c(1===Object.keys(t).length,"Cannot have more than one key in an object with %s",d),t[d];var n=o(e);if(l.call(t,m)){var r=t[m];c(r&&"object"==typeof r,"update(): %s expects a spec of type 'object'; got %s",m,r),c(n&&"object"==typeof n,"update(): %s expects a target of type 'object'; got %s",m,n),s(n,t[m])}l.call(t,p)&&(i(e,t,p),t[p].forEach(function(e){n.push(e)})),l.call(t,h)&&(i(e,t,h),t[h].forEach(function(e){n.unshift(e)})),l.call(t,f)&&(c(Array.isArray(e),"Expected %s target to be an array; got %s",f,e),c(Array.isArray(t[f]),"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",f,t[f]),t[f].forEach(function(e){c(Array.isArray(e),"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",f,t[f]),n.splice.apply(n,e)})),l.call(t,v)&&(c("function"==typeof t[v],"update(): expected spec of %s to be a function; got %s.",v,t[v]),n=t[v](n));for(var u in t)y.hasOwnProperty(u)&&y[u]||(n[u]=a(e[u],t[u]));return n}var s=t("Object.assign"),u=t("keyOf"),c=t("invariant"),l={}.hasOwnProperty,p=u({$push:null}),h=u({$unshift:null}),f=u({$splice:null}),d=u({$set:null}),m=u({$merge:null}),v=u({$apply:null}),g=[p,h,f,d,m,v],y={};g.forEach(function(e){y[e]=!0}),n.exports=a}),__d("ReactTestUtils",["EventConstants","EventPluginHub","EventPropagators","React","ReactElement","ReactEmptyComponent","ReactBrowserEventEmitter","ReactCompositeComponent","ReactInstanceHandles","ReactInstanceMap","ReactMount","ReactUpdates","SyntheticEvent","Object.assign","emptyObject","findDOMNode","invariant"],function(e,t,n,r){"use strict";function o(e){}function i(e,t){if(!e||!e.getPublicInstance)return[];var n=e.getPublicInstance(),r=t(n)?[n]:[];if(O.isDOMComponent(n)){var o,a=e._renderedChildren;for(o in a)a.hasOwnProperty(o)&&(r=r.concat(i(a[o],t)))}else O.isCompositeComponent(n)&&(r=r.concat(i(e._renderedComponent,t)));return r}function a(e){return function(t,n){var r;O.isDOMComponent(t)?r=w(t):t.tagName&&(r=t);var i=m.eventNameDispatchConfigs[e],a=new o;a.target=r;var s=new S(i,_.getID(r),a,r);R(s,n),i.phasedRegistrationNames?p.accumulateTwoPhaseDispatches(s):p.accumulateDirectDispatches(s),b.batchedUpdates(function(){l.enqueueEvents(s),l.processEventQueue()})}}function s(){O.Simulate={};var e;for(e in m.eventNameDispatchConfigs)O.Simulate[e]=a(e)}function u(e){return function(t,n){var r=new o(e);R(r,n),O.isDOMComponent(t)?O.simulateNativeEventOnDOMComponent(e,t,r):t.tagName&&O.simulateNativeEventOnNode(e,t,r)}}var c=t("EventConstants"),l=t("EventPluginHub"),p=t("EventPropagators"),h=t("React"),f=t("ReactElement"),d=t("ReactEmptyComponent"),m=t("ReactBrowserEventEmitter"),v=t("ReactCompositeComponent"),g=t("ReactInstanceHandles"),y=t("ReactInstanceMap"),_=t("ReactMount"),b=t("ReactUpdates"),S=t("SyntheticEvent"),R=t("Object.assign"),E=t("emptyObject"),w=t("findDOMNode"),T=t("invariant"),C=c.topLevelTypes,O={renderIntoDocument:function(e){var t=document.createElement("div");return h.render(e,t)},isElement:function(e){return f.isValidElement(e)},isElementOfType:function(e,t){return f.isValidElement(e)&&e.type===t},isDOMComponent:function(e){return!(!e||1!==e.nodeType||!e.tagName)},isDOMComponentElement:function(e){return!!(e&&f.isValidElement(e)&&e.tagName)},isCompositeComponent:function(e){return O.isDOMComponent(e)?!1:"function"==typeof e.render&&"function"==typeof e.setState},isCompositeComponentWithType:function(e,t){if(!O.isCompositeComponent(e))return!1;var n=y.get(e),r=n._currentElement.type;return r===t},isCompositeComponentElement:function(e){if(!f.isValidElement(e))return!1;var t=e.type.prototype;return"function"==typeof t.render&&"function"==typeof t.setState},isCompositeComponentElementWithType:function(e,t){var n=y.get(e),r=n._currentElement.type;return!(!O.isCompositeComponentElement(e)||r!==t)},getRenderedChildOfCompositeComponent:function(e){if(!O.isCompositeComponent(e))return null;var t=y.get(e);return t._renderedComponent.getPublicInstance()},findAllInRenderedTree:function(e,t){return e?(T(O.isCompositeComponent(e),"findAllInRenderedTree(...): instance must be a composite component"),i(y.get(e),t)):[]},scryRenderedDOMComponentsWithClass:function(e,t){return O.findAllInRenderedTree(e,function(e){if(O.isDOMComponent(e)){var n=h.findDOMNode(e).className;return n&&-1!==(""+n).split(/\s+/).indexOf(t)}return!1})},findRenderedDOMComponentWithClass:function(e,t){var n=O.scryRenderedDOMComponentsWithClass(e,t);if(1!==n.length)throw new Error("Did not find exactly one match (found: "+n.length+") for class:"+t);return n[0]},scryRenderedDOMComponentsWithTag:function(e,t){return O.findAllInRenderedTree(e,function(e){return O.isDOMComponent(e)&&e.tagName===t.toUpperCase()})},findRenderedDOMComponentWithTag:function(e,t){var n=O.scryRenderedDOMComponentsWithTag(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for tag:"+t);return n[0]},scryRenderedComponentsWithType:function(e,t){return O.findAllInRenderedTree(e,function(e){return O.isCompositeComponentWithType(e,t)})},findRenderedComponentWithType:function(e,t){var n=O.scryRenderedComponentsWithType(e,t);if(1!==n.length)throw new Error("Did not find exactly one match for componentType:"+t+" (found "+n.length+")");return n[0]},mockComponent:function(e,t){return t=t||e.mockTagName||"div",e.prototype.render.mockImplementation(function(){return h.createElement(t,null,this.props.children)}),this},simulateNativeEventOnNode:function(e,t,n){n.target=t,m.ReactEventListener.dispatchEvent(e,n)},simulateNativeEventOnDOMComponent:function(e,t,n){O.simulateNativeEventOnNode(e,w(t),n)},nativeTouchData:function(e,t){return{touches:[{pageX:e,pageY:t}]}},createRenderer:function(){return new x},Simulate:null,SimulateNative:{}},x=function(){this._instance=null};x.prototype.getRenderOutput=function(){return this._instance&&this._instance._renderedComponent&&this._instance._renderedComponent._renderedOutput||null};var I=function(e){this._renderedOutput=e,this._currentElement=null===e||e===!1?d.emptyElement:e};I.prototype={mountComponent:function(){},receiveComponent:function(e){this._renderedOutput=e,this._currentElement=null===e||e===!1?d.emptyElement:e},unmountComponent:function(){}};var P=function(){};R(P.prototype,v.Mixin,{_instantiateReactComponent:function(e){return new I(e)},_replaceNodeWithMarkupByID:function(){},_renderValidatedComponent:v.Mixin._renderValidatedComponentWithoutOwnerOrContext}),x.prototype.render=function(e,t){t||(t=E);var n=b.ReactReconcileTransaction.getPooled();this._render(e,n,t),b.ReactReconcileTransaction.release(n)},x.prototype.unmount=function(){this._instance&&this._instance.unmountComponent()},x.prototype._render=function(e,t,n){if(this._instance)this._instance.receiveComponent(e,t,n);else{var r=g.createReactRootID(),o=new P(e.type);o.construct(e),o.mountComponent(r,t,n),this._instance=o}};var N=l.injection.injectEventPluginOrder;l.injection.injectEventPluginOrder=function(){N.apply(this,arguments),s()};var D=l.injection.injectEventPluginsByName;l.injection.injectEventPluginsByName=function(){D.apply(this,arguments),s()},s();var M;for(M in C){var k=0===M.indexOf("top")?M.charAt(3).toLowerCase()+M.substr(4):M;O.SimulateNative[k]=u(M)}n.exports=O}),__d("findDOMNode",["ReactCurrentOwner","ReactInstanceMap","ReactMount","invariant","warning"],function(e,t,n,r){"use strict";function o(e){if(__DEV__){var t=i.current;null!==t&&(c(t._warnedAboutRefsInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",t.getName()||"A component"),t._warnedAboutRefsInRender=!0)}return null==e?null:1===e.nodeType?e:a.has(e)?s.getNodeFromInstance(e):(u(null==e.render||"function"!=typeof e.render,"Component (with keys: %s) contains `render` method but is not mounted in the DOM",Object.keys(e)),void u(!1,"Element appears to be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(e)))}var i=t("ReactCurrentOwner"),a=t("ReactInstanceMap"),s=t("ReactMount"),u=t("invariant"),c=t("warning");n.exports=o}),__d("Simple/HelloGL.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/index.js"),l=c.Shaders.create({helloGL:{frag:"\nprecision highp float;\nvarying vec2 uv; // This variable vary in all pixel position (normalized from vec2(0.0,0.0) to vec2(1.0,1.0))\n\nvoid main () { // This function is called FOR EACH PIXEL\n  gl_FragColor = vec4(uv.x, uv.y, 0.5, 1.0); // red vary over X, green vary over Y, blue is 50%, alpha is 100%.\n}\n    "}});var p=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height;return u.createElement(c.View,{shader:l.helloGL,width:t,height:n})}}]),t}(u.Component);n.exports=p}),__d("gl-react-native/src/index.js",["gl-react-native/src/Shaders.js","gl-react-native/src/View.js","gl-react-native/src/Uniform.js","gl-react-native/src/Component.js"],function(e,t,n,r){const o=t("gl-react-native/src/Shaders.js"),i=t("gl-react-native/src/View.js"),a=t("gl-react-native/src/Uniform.js"),s=t("gl-react-native/src/Component.js");n.exports={Shaders:o,View:i,Uniform:a,Component:s}}),__d("gl-react-native/src/Shaders.js",["react-native/Libraries/react-native/react-native.js","gl-react-core/src/index.js"],function(e,t,n,r){var o=t("gl-react-core/src/index.js");const i=o.createShaders;var a=t("react-native/Libraries/react-native/react-native.js");const s=a.NativeModules.GLShadersRegistry;n.exports=i(function(e,t){s.register(e,t)})}),__d("gl-react-core/src/index.js",["gl-react-core/src/createComponent.js","gl-react-core/src/createShaders.js","gl-react-core/src/createUniform.js","gl-react-core/src/createView.js"],function(e,t,n,r){const o=t("gl-react-core/src/createComponent.js"),i=t("gl-react-core/src/createShaders.js"),a=t("gl-react-core/src/createUniform.js"),s=t("gl-react-core/src/createView.js");n.exports={createComponent:o,createShaders:i,createUniform:a,createView:s}}),__d("gl-react-core/src/createComponent.js",[],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function s(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:s(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};n.exports=function(e){var t=function(e){function t(){o(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),t}(e.Component);return t}}),__d("gl-react-core/src/createShaders.js",["invariant"],function(e,t,n,r){const o=t("invariant");n.exports=function(e){var t=1;const n={},r={create:function(r){o("object"==typeof r,"config must be an object");const i={};for(var a in r){const s=r[a];o("object"==typeof s&&"string"==typeof s.frag,"invalid shader given to Shaders.create(). A valid shader is a { frag: String }");const u=t++;s.name||(s.name=a),n[u]=s.name,e(u,s),i[a]=u}return i},getName:function(e){return n[e]},list:function(){return Object.keys(n)},exists:function(e){return"number"==typeof e&&e>=1&&t>e}};return r}}),__d("invariant",[],function(e,t,n,r){"use strict";var o=function(e,t,n,r,o,i,a,s){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("invariant requires an error message argument");if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;u=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};n.exports=o}),__d("gl-react-core/src/createUniform.js",["invariant"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function c(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:c(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("invariant");n.exports=function(e){const t=e.Component,n=e.PropTypes;var r=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){u(!1,"GL.Uniform elements are for GL.View configuration only and should not be rendered")}}]),t}(t);return r.displayName="GL.Uniform",r.propTypes={children:n.any.isRequired,name:n.string.isRequired},r}}),__d("gl-react-core/src/createView.js",["invariant","gl-react-core/src/data/index.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(e,t){"undefined"!=typeof console&&console.debug&&console.debug("GL.View rendered with",e,t)}var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function v(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:v(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const p=t("invariant");var h=t("gl-react-core/src/data/index.js");const f=h.fill,d=h.resolve,m=h.createBuild;n.exports=function(e,t,n,r,h,v,g){const y=e.Component,_=e.PropTypes;var b=void 0,S=function(e){function t(e,n){i(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e,n),
this._renderId=1}return a(t,e),c(t,[{key:"captureFrame",value:function(e){const t=this.refs.canvas;return p(t&&t.captureFrame,"captureFrame() should be implemented by GLCanvas"),p("function"==typeof e,"captureFrame(cb) should have a callback function in first parameter"),t.captureFrame.call(t,e)}},{key:"render",value:function(){const e=this._renderId++,t=this.props,n=t.style,r=t.width,i=t.height,a=t.children,c=t.shader,l=t.uniforms,m=t.debug,y=t.preload,_=t.opaque,S=t.visibleContent,R=t.eventsThrough,E=o(t,["style","width","height","children","shader","uniforms","debug","preload","opaque","visibleContent","eventsThrough"]);p(r&&i&&r>0&&i>0,"width and height are required for the root GLView");var w=d(f(b(c,l,r,i,a,y||!1)));const T=w.data,C=w.contentsVDOM,O=w.imagesToPreload;return m&&s(T,C),h({width:r,height:i,style:n,visibleContent:S,eventsThrough:R},C.map(function(e,t){return v(T.width,T.height,t,e,{visibleContent:S})}),g(u({},E,{width:r,height:i,data:T,nbContentTextures:C.length,imagesToPreload:O,renderId:e,opaque:_,visibleContent:S,eventsThrough:R})))}}]),t}(y);return S.displayName="GL.View",S.propTypes={shader:_.number.isRequired,width:_.number,height:_.number,uniforms:_.object,opaque:_.bool,preload:_.bool,autoRedraw:_.bool,eventsThrough:_.bool,visibleContent:_.bool},S.defaultProps={opaque:!0},b=m(e,t,n,r,S),S}}),__d("gl-react-core/src/data/index.js",["gl-react-core/src/data/build.js","gl-react-core/src/data/fill.js","gl-react-core/src/data/resolve.js"],function(e,t,n,r){n.exports={createBuild:t("gl-react-core/src/data/build.js"),fill:t("gl-react-core/src/data/fill.js"),resolve:t("gl-react-core/src/data/resolve.js")}}),__d("gl-react-core/src/data/build.js",["invariant","gl-react-core/src/data/TextureObjects.js","gl-react-core/src/data/isNonSamplerUniformValue.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const a=t("invariant"),s=t("gl-react-core/src/data/TextureObjects.js"),u=t("gl-react-core/src/data/isNonSamplerUniformValue.js");n.exports=function(e,t,n,r,c){function l(t){return 1===e.Children.count(t)?t instanceof Array?t[0]:t:null}function p(e){const t=new e.type;if(t instanceof r)return t.props=e.props,l(t.render())}function h(e){for(var t=e;t&&"function"==typeof t.type;t=p(t))if(t.type===c)return t}return function f(r,c,l,p,d,m){a(t.exists(r),"Shader #%s does not exists",r);const v=t.getName(r),g=i({},c),y=[],_=[];return e.Children.forEach(d,function(e){a(e.type===n,"(Shader '%s') GL.View can only contains children of type GL.Uniform. Got '%s'",v,e.type&&e.type.displayName||e);var t=e.props;const r=t.name,i=t.children,s=o(t,["name","children"]);a("string"==typeof r&&r,"(Shader '%s') GL.Uniform must define an name String",v),a(!(c&&r in c),"(Shader '%s') The uniform '%s' set by GL.Uniform must not be in {uniforms} props",v),a(!(r in g),"(Shader '%s') The uniform '%s' set by GL.Uniform must not be defined in another GL.Uniform",v),g[r]=!i||i.value?i:{value:i,opts:s}}),Object.keys(g).forEach(function(t){var n=g[t];if(!u(n)){var o=void 0,i=typeof n;if(n&&"object"===i&&!n.prototype&&"value"in n&&("object"==typeof n.opts&&(o=n.opts),n=n.value,i=typeof n),n)if("string"===i)g[t]=s.withOpts(s.URI({uri:n}),o);else if("object"===i&&"string"==typeof n.uri)g[t]=s.withOpts(s.URI(n),o);else if("object"===i&&n.data&&n.shape&&n.stride)g[t]=s.withOpts(s.NDArray(n),o);else if("object"===i&&(n instanceof Array?e.isValidElement(n[0]):e.isValidElement(n))){const c=h(n);if(c){const d=c.props;y.push({vdom:n,uniform:t,data:f(d.shader,d.uniforms,d.width||l,d.height||p,d.children,"preload"in d?d.preload:m)})}else _.push({vdom:n,uniform:t,opts:o})}else delete g[t],"undefined"!=typeof console&&console.error&&console.error("invalid uniform '"+t+"' value:",n),a(!1,"Shader #%s: Unrecognized format for uniform '%s'",r,t);else g[t]=n}}),{shader:r,uniforms:g,width:l,height:p,children:y,contents:_,preload:m}}}}),__d("gl-react-core/src/data/TextureObjects.js",[],function(e,t,n,r){function o(e){return{type:"content",id:e}}function i(e){return{type:"ndarray",ndarray:e}}function a(e){return c({type:"uri"},e)}function s(e){return{type:"fbo",id:e}}function u(e,t){return c({},e,{opts:t})}var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.exports={Content:o,NDArray:i,URI:a,Framebuffer:s,withOpts:u}}),__d("gl-react-core/src/data/isNonSamplerUniformValue.js",[],function(e,t,n,r){function o(e){var t=typeof e;return"number"===t||"boolean"===t?!0:null!==e&&"object"===t&&e instanceof Array?(t=typeof e[0],"number"===t||"boolean"===t):!1}n.exports=o}),__d("gl-react-core/src/data/fill.js",[],function(e,t,n,r){function o(e){function t(e){var n=[],r=[];const o=e.data.children.map(function(e){const o=t(e);return-1===n.indexOf(o.vdom)&&(n.push(o.vdom),r.push(o.data)),o.descendantsVDOM.forEach(function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(o.descendantsVDOMData[t]))}),o});return i({},e,{data:i({},e.data,{children:o}),descendantsVDOM:n,descendantsVDOMData:r})}return t({data:e}).data}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.exports=o}),__d("gl-react-core/src/data/resolve.js",["invariant","gl-react-core/src/data/findContentsUniq.js","gl-react-core/src/data/findChildrenDuplicates.js","gl-react-core/src/data/TextureObjects.js","gl-react-core/src/data/extractImages.js","gl-react-core/src/data/uniqImages.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e){function t(e,r,u,h){const f=e.uniforms,d=e.children,m=e.contents,v=e.preload,g=o(e,["uniforms","children","contents","preload"]),y=a({},f),_=u.map(function(e){var t=e.vdom;return t}),b=function(e){return function(){for(e++;e===r||-1!==h.indexOf(e);)e++;return e}}(-1),S=c(e,_),R=S.map(function(e){var t=e.vdom;const n=b();return{vdom:t,fboId:n}}),E=u.concat(R),w=E.map(function(e){var t=e.vdom;return t}),T=E.map(function(e){var t=e.fboId;return t}),C=[],O=[],x=d.concat(S).map(function(e){const t=e.uniform,n=e.vdom,r=e.data;var o=w.indexOf(n),i=void 0,a=void 0;return-1===o?(i=b(),a=O):(i=E[o].fboId,o>=u.length&&(a=C)),t&&(y[t]=l.Framebuffer(i)),{data:r,fboId:i,addToCollection:a}}),I=x.map(function(e){var t=e.fboId;return t}),P=h.concat(T).concat(I),N=[];return x.forEach(function(e){var n=e.data,r=e.fboId,o=e.addToCollection;-1===N.indexOf(r)&&(N.push(r),o&&o.push(t(n,r,E,P)))}),m.forEach(function(e){var t=e.uniform,n=e.vdom,r=e.opts;const o=i.indexOf(n);s(-1!==o,"contents was discovered by findContentsMeta"),y[t]=l.withOpts(l.Content(o),r)}),v&&(n=n.concat(p(f))),a({},g,{uniforms:y,contextChildren:C,children:O,fboId:r})}var n=[];const r=u(e),i=r.map(function(e){var t=e.vdom;return t});return{data:t(e,-1,[],[]),contentsVDOM:i,imagesToPreload:h(n)}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};const s=t("invariant"),u=t("gl-react-core/src/data/findContentsUniq.js"),c=t("gl-react-core/src/data/findChildrenDuplicates.js"),l=t("gl-react-core/src/data/TextureObjects.js"),p=t("gl-react-core/src/data/extractImages.js"),h=t("gl-react-core/src/data/uniqImages.js");n.exports=i}),__d("gl-react-core/src/data/findContentsUniq.js",[],function(e,t,n,r){function o(e){function t(e){e.contents.forEach(function(e){-1===n.indexOf(e.vdom)&&(n.push(e.vdom),r.push(e))}),e.children.forEach(function(e){t(e.data)})}const n=[],r=[];return t(e),r}n.exports=o}),__d("gl-react-core/src/data/findChildrenDuplicates.js",[],function(e,t,n,r){function o(e,t){var n=[],r=[];return e.children.map(function(e){n=n.concat(e.descendantsVDOM),r=r.concat(e.descendantsVDOMData)}),n.map(function(n,o){if(-1===t.indexOf(n))for(var i=0,a=0;a<e.children.length;a++)if(-1!==e.children[a].descendantsVDOM.indexOf(n)&&(i++,i>1))return{data:r[o],vdom:n}}).filter(function(e){return e})}n.exports=o}),__d("gl-react-core/src/data/extractImages.js",[],function(e,t,n,r){function o(e){const t=[];for(var n in e){var r=e[n];r&&"object"==typeof r&&"image"===r.type&&r.value&&"string"==typeof r.value.uri&&t.push(r.value)}return t}n.exports=o}),__d("gl-react-core/src/data/uniqImages.js",[],function(e,t,n,r){function o(e){var t=[],n=[];return e.forEach(function(e){-1===t.indexOf(e.uri)&&(t.push(e.uri),n.push(e))}),n}n.exports=o}),__d("gl-react-native/src/View.js",["gl-react-core/src/index.js","react-native/Libraries/react-native/react-native.js","gl-react-native/src/Shaders.js","gl-react-native/src/Uniform.js","gl-react-native/src/Component.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=t("gl-react-core/src/index.js");const s=a.createView,u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/Shaders.js"),l=t("gl-react-native/src/Uniform.js"),p=t("gl-react-native/src/Component.js"),h=u.requireNativeComponent,f=u.View,d=h("GLCanvas",null),m=function(e,t,n,r,o){var i=o.visibleContent;const a={position:"absolute",top:i?0:t,left:0,width:e,height:t,overflow:"hidden"};return u.createElement(f,{key:n,style:a},r)},v=function(e){const t=e.width,n=e.height,r=o(e,["width","height"]);return u.createElement(d,i({key:"native"},r,{style:{width:t,height:n}}))},g=function(e,t,n){var r=e.style,o=e.width,a=e.height;const s=i({position:"relative"},r,{width:o,height:a,overflow:"hidden"});return u.createElement(f,{style:s},t,n)},y=s(u,c,l,p,g,m,v);y.prototype.setNativeProps=function(e){this.refs["native"].setNativeProps(e)},n.exports=y}),__d("gl-react-native/src/Uniform.js",["gl-react-core/src/index.js","react-native/Libraries/react-native/react-native.js"],function(e,t,n,r){var o=t("gl-react-core/src/index.js");const i=o.createUniform,a=t("react-native/Libraries/react-native/react-native.js");n.exports=i(a)}),__d("gl-react-native/src/Component.js",["react-native/Libraries/react-native/react-native.js","gl-react-core/src/index.js"],function(e,t,n,r){const o=t("react-native/Libraries/react-native/react-native.js");var i=t("gl-react-core/src/index.js");const a=i.createComponent;n.exports=a(o)}),__d("Simple/Saturation.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/index.js"),l=c.Shaders.create({saturation:{frag:"\nprecision highp float;\nvarying vec2 uv;\nuniform sampler2D image;\nuniform float factor;\n\nvoid main () {\n  vec4 c = texture2D(image, uv);\n  // Algorithm from Chapter 16 of OpenGL Shading Language\n  const vec3 W = vec3(0.2125, 0.7154, 0.0721);\n  gl_FragColor = vec4(mix(vec3(dot(c.rgb, W)), c.rgb, factor), c.a);\n}\n    "}});var p=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.factor,o=e.image;return u.createElement(c.View,{shader:l.saturation,width:t,height:n,uniforms:{factor:r,image:o}})}}]),t}(u.Component);n.exports=p}),__d("Simple/HueRotate.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const l=t("react-native/Libraries/react-native/react-native.js"),p=t("gl-react-native/src/index.js"),h=p.Shaders.create({hueRotate:{frag:"\nprecision highp float;\nvarying vec2 uv;\nuniform sampler2D tex;\nuniform float hue;\n\nconst mat3 rgb2yiq = mat3(0.299, 0.587, 0.114, 0.595716, -0.274453, -0.321263, 0.211456, -0.522591, 0.311135);\nconst mat3 yiq2rgb = mat3(1.0, 0.9563, 0.6210, 1.0, -0.2721, -0.6474, 1.0, -1.1070, 1.7046);\n\nvoid main() {\n  vec3 yColor = rgb2yiq * texture2D(tex, uv).rgb;\n  float originalHue = atan(yColor.b, yColor.g);\n  float finalHue = originalHue + hue;\n  float chroma = sqrt(yColor.b*yColor.b+yColor.g*yColor.g);\n  vec3 yFinalColor = vec3(yColor.r, chroma * cos(finalHue), chroma * sin(finalHue));\n  gl_FragColor = vec4(yiq2rgb*yFinalColor, 1.0);\n}\n    "}});var f=function(e){function t(){i(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),u(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.hue,i=e.children,a=o(e,["width","height","hue","children"]);return l.createElement(p.View,s({},a,{shader:h.hueRotate,width:t,height:n,uniforms:{hue:r,tex:i}}))}}]),t}(p.Component);n.exports=f}),__d("Simple/PieProgress.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/index.js"),l=c.Shaders.create({pieProgress:{frag:"\nprecision mediump float;\nvarying vec2 uv;\n\nuniform vec4 colorInside, colorOutside;\nuniform float radius;\nuniform float progress;\nuniform vec2 dim;\n\nconst vec2 center = vec2(0.5);\nconst float PI = acos(-1.0);\n\nvoid main () {\n  vec2 norm = dim / min(dim.x, dim.y);\n  vec2 p = uv * norm - (norm-1.0)/2.0;\n  vec2 delta = p - center;\n  float inside =\n    step(length(delta), radius) *\n    step((PI + atan(delta.y, -delta.x)) / (2.0 * PI), progress);\n  gl_FragColor = mix(\n    colorOutside,\n    colorInside,\n    inside\n  );\n}\n    "}});var p=function(e){function t(){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return i(t,e),a(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.progress,o=e.colorInside,i=e.colorOutside,a=e.radius;return u.createElement(c.View,{width:t,height:n,shader:l.pieProgress,opaque:!1,uniforms:{dim:[t,n],progress:r,colorInside:o,colorOutside:i,radius:a}})}}]),t}(u.Component);p.defaultProps={colorInside:[0,0,0,0],colorOutside:[0,0,0,.5],radius:.4},n.exports=p}),__d("Simple/OneFingerResponse.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/index.js"),l=c.Shaders.create({oneFingerResponse:{frag:"\nprecision mediump float;\nvarying vec2 uv;\n\nuniform float pressed;\nuniform vec2 position;\n\nvoid main () {\n  float dist = pow(1.0 - distance(position, uv), 4.0);\n  float edgeDistX = pow(1.0 - distance(position.x, uv.x), 24.0);\n  float edgeDistY = pow(1.0 - distance(position.y, uv.y), 24.0);\n  gl_FragColor = pressed * vec4(0.8 * dist + edgeDistX, 0.7 * dist + edgeDistY, 0.6 * dist, 1.0);\n}\n    "}});var p=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={pressed:0,position:[0,0]},this.onTouchStart=this.onTouchStart.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this),this.onTouchMove=this.onTouchMove.bind(this)}return i(t,e),a(t,[{key:"onTouchStart",value:function(e){this.setState({pressed:1}),this.onTouchMove(e)}},{key:"onTouchMove",value:function(e){var t=this.props;const n=t.width,r=t.height;var o=e.nativeEvent;const i=o.locationX,a=o.locationY;this.setState({position:[Math.max(0,Math.min(i/n,1)),Math.max(0,Math.min(1-a/r,1))]})}},{key:"onTouchEnd",value:function(){this.setState({pressed:0})}},{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height;var r=this.state;const o=r.pressed,i=r.position;return u.createElement(c.View,{onStartShouldSetResponderCapture:function(){return!0},onMoveShouldSetResponderCapture:function(){return!0},onResponderTerminationRequest:function(){return!1},onResponderGrant:this.onTouchStart,onResponderMove:this.onTouchMove,onResponderRelease:this.onTouchEnd,onResponderTerminate:this.onTouchEnd,width:t,height:n,shader:l.oneFingerResponse,uniforms:{pressed:o,position:i}})}}]),t}(u.Component);n.exports=p}),__d("Simple/AnimatedHelloGL.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function h(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:h(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const u=t("react-native/Libraries/react-native/react-native.js"),c=t("gl-react-native/src/index.js"),l=c.Shaders.create({helloGL:{frag:"\nprecision highp float;\nvarying vec2 uv;\n\nuniform float value;\n\nvoid main () {\n  gl_FragColor = vec4(uv.x, uv.y, value, 1.0);\n}\n    "}});var p=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={value:0}}return i(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this;const t=function(n){requestAnimationFrame(t),e.setState({value:(1+Math.cos(n/1e3))/2})};requestAnimationFrame(t)}},{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=this.state.value;return u.createElement(c.View,{shader:l.helloGL,width:t,height:n,uniforms:{value:r}})}}]),t}(u.Component);n.exports=p}),__d("Simple/Blur.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js","Simple/Blur1D.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const l=t("react-native/Libraries/react-native/react-native.js"),p=t("gl-react-native/src/index.js"),h=t("Simple/Blur1D.js");var f=function(e){function t(){i(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),u(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.factor,i=e.children,a=o(e,["width","height","factor","children"]);return l.createElement(h,s({},a,{width:t,height:n,direction:[r,0]}),l.createElement(h,{width:t,height:n,direction:[0,r]},i))}}]),t}(p.Component);n.exports=f}),__d("Simple/Blur1D.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/index.js"],function(e,t,n,r){function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function d(e,t,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,t);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:d(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)};const l=t("react-native/Libraries/react-native/react-native.js"),p=t("gl-react-native/src/index.js"),h=p.Shaders.create({blur1D:{frag:"\nprecision highp float;\nvarying vec2 uv;\nuniform sampler2D t;\nuniform vec2 direction;\nuniform vec2 resolution;\n\n// from https://github.com/Jam3/glsl-fast-gaussian-blur\nvec4 blur13(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) {\n  vec4 color = vec4(0.0);\n  vec2 off1 = vec2(1.411764705882353) * direction;\n  vec2 off2 = vec2(3.2941176470588234) * direction;\n  vec2 off3 = vec2(5.176470588235294) * direction;\n  color += texture2D(image, uv) * 0.1964825501511404;\n  color += texture2D(image, uv + (off1 / resolution)) * 0.2969069646728344;\n  color += texture2D(image, uv - (off1 / resolution)) * 0.2969069646728344;\n  color += texture2D(image, uv + (off2 / resolution)) * 0.09447039785044732;\n  color += texture2D(image, uv - (off2 / resolution)) * 0.09447039785044732;\n  color += texture2D(image, uv + (off3 / resolution)) * 0.010381362401148057;\n  color += texture2D(image, uv - (off3 / resolution)) * 0.010381362401148057;\n  return color;\n}\n\nvoid main () {\n  gl_FragColor = blur13(t, uv, resolution, direction);\n}\n    "}});var f=function(e){function t(){i(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),u(t,[{key:"render",value:function(){var e=this.props;const t=e.width,n=e.height,r=e.direction,i=e.children,a=o(e,["width","height","direction","children"]);return l.createElement(p.View,s({},a,{shader:h.blur1D,width:t,height:n,uniforms:{direction:r,resolution:[t,n],t:i}}))}}]),t}(p.Component);n.exports=f}),require("Simple/index.ios.js");
20
//# sourceMappingURL=bundle.js