__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(d){e.ErrorUtils.reportFatalError(d)}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 f=u.exports={},v=u.factory;if("[object Function]"===p.call(v)){var c,m=[],y=u.dependencies,_=y.length;u.special&g&&(_=Math.min(_,v.length));try{for(a=0;m.length<_;a++)i=y[a],u.inlineRequires[i]||m.push("module"===i?u:"exports"===i?f:r.call(null,i));++R,0===S++&&(E-=b());try{c=v.apply(u.context||e,m)}catch(d){if(h.ex&&h.erx){var T=r.call(null,"ex"),C=r.call(null,"erx"),O=C(d.message);O[0].indexOf(' from module "%s"')<0&&(O[0]+=' from module "%s"',O[O.length]=o),d.message=T.apply(null,O)}throw d}finally{0===--S&&(E+=b())}}catch(d){throw u.hasError=!0,u.exports=null,d}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=v;return 1===u.refcount--&&delete h[o],u.exports}function o(e,t,r,o,s,c,d){void 0===t?(t=[],r=e,e=a()):void 0===r&&(r=t,"[object Array]"===p.call(e)?(t=e,e=a()):t=[]);var v={cancel:i.bind(this,e)},m=h[e];if(m)return c&&(m.refcount+=c),v;if(!t&&!r&&c)return f[e]=(f[e]||0)+c,v;if(m={id:e},m.refcount=(f[e]||0)+(c||0),delete f[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 m.factory=r,m.dependencies=t,m.context=s,m.special=o,m.inlineRequires=d||{},m.waitingMap={},m.waiting=0,m.hasError=!1,h[e]=m,u(e),v}function i(e){if(h[e]){var t=h[e];delete h[e];for(var n in t.waitingMap)t.waitingMap[n]&&delete d[n][e];for(var r=0;r<t.dependencies.length;r++)n=t.dependencies[r],h[n]?1===h[n].refcount--&&i(n):f[n]&&f[n]--}}function a(){return"__mod__"+v++}function s(e,t){e.waitingMap[t]||e.id===t||(e.waiting++,e.waitingMap[t]=1,d[t]||(d[t]={}),d[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&m&&i.push(e),d[e]){var u,c=d[e];d[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&m&&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={},d={},f={},v=0,m=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,E=0,R=0,w=!1;r.__getFactoryTime=function(){return(S?b():0)+E},r.__getTotalFactories=function(){return R},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:d,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("")}),d=p(h,"-"),f=p(u),v=[f,d],m=0;m<t.length;m++)v.push(p(c[m]));e.nativeLoggingHook("\n"+v.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},__DEV__&&a&&Object.keys(e.console).forEach(function(t){var n=e.console[t];a[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 d=t.name?": "+t.name:"";return e.stylize("[Function"+d+"]","special")}if(v(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 f="",m=!1,b=["{","}"];if(c(t)&&(m=!0,b=["[","]"]),_(t)){var S=t.name?": "+t.name:"";f=" [Function"+S+"]"}if(v(t)&&(f=" "+RegExp.prototype.toString.call(t)),g(t)&&(f=" "+Date.prototype.toUTCString.call(t)),y(t)&&(f=" "+i(t)),0===p.length&&(!m||0==t.length))return b[0]+f+b[1];if(0>r)return v(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var E;return E=m?a(e,t,r,h,p):p.map(function(n){return s(e,t,r,h,n,m)}),e.seen.pop(),u(E,f,b)}function o(e,t){if(f(t))return e.stylize("undefined","undefined");if(d(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")),f(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 d(e){return"string"==typeof e}function f(e){return void 0===e}function v(e){return m(e)&&"[object RegExp]"===b(e)}function m(e){return"object"==typeof e&&null!==e}function g(e){return m(e)&&"[object Date]"===b(e)}function y(e){return m(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("Tests/index.ios.js",["react-native/Libraries/react-native/react-native.js","Tests/Blur.js","Tests/Add.js","Tests/Multiply.js","Tests/Layer.js","Tests/NativeLayer.js","Tests/HelloGL.js","Tests/Display2.js","Tests/Copy.js","Tests/TransparentNonPremultiplied.js","Dimensions"],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 O(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(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-native/Libraries/react-native/react-native.js"),c=u.AppRegistry,l=u.Text,p=u.View,h=u.ScrollView,d=u.Image,f=t("Tests/Blur.js"),v=t("Tests/Add.js"),m=t("Tests/Multiply.js"),g=t("Tests/Layer.js"),y=t("Tests/NativeLayer.js"),_=t("Tests/HelloGL.js"),b=t("Tests/Display2.js"),S=t("Tests/Copy.js"),E=t("Tests/TransparentNonPremultiplied.js"),R=t("Dimensions").get("window"),w=R.width,T=R.height,C=function(e){function t(e){o(this,t),s(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.onLoad=this.onLoad.bind(this),this.onProgress=this.onProgress.bind(this)}return i(t,e),a(t,[{key:"onLoad",value:function(){console.log("LOADED")}},{key:"onProgress",value:function(e){var t=e.nativeEvent,n=t.progress,r=t.loaded,o=t.total;console.log("PROGRESS",n,r,o)}},{key:"render",value:function(){var e=w/2,t=u.createElement(_,{width:64,height:64}),n=u.createElement(p,{style:{width:800,height:800,position:"relative",backgroundColor:"transparent"}},[0,1,2,3].map(function(e){return u.createElement(l,{style:{position:"absolute",top:40+200*e,left:0,width:800,height:200,textAlign:"center",color:["#f00","#0f0","#00f","#fff"][e],fontSize:80}},"Hello World ",e)})),r="http://i.imgur.com/zJIxPEo.jpg?t="+Date.now(),o=u.createElement(f,{factor:4,passes:6,width:200,height:200},r),i=u.createElement(g,null,o,n);return u.createElement(h,{style:{backgroundColor:"#000"}},u.createElement(b,{width:w,height:w,preload:!0,onLoad:this.onLoad,onProgress:this.onProgress},u.createElement(v,{width:w/2,height:T/2},n,t),u.createElement(b,{width:w/2,height:T/2,vertical:!0},u.createElement(f,{factor:1,passes:4,width:w/2,height:T/4},u.createElement(m,null,i,t)),o)),u.createElement(p,{style:{flexDirection:"row",flexWrap:"wrap"}},u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(d,{source:{uri:"http://i.imgur.com/mp79p5T.png"},width:e,height:e})),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(S,{width:e,height:e,opaque:!1,last:!0},"http://i.imgur.com/mp79p5T.png")),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(S,{width:e,height:e,opaque:!1,last:!0},u.createElement(S,null,"http://i.imgur.com/mp79p5T.png"))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(S,{width:e,height:e,opaque:!1,last:!0},u.createElement(S,null,u.createElement(S,null,"http://i.imgur.com/mp79p5T.png")))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(S,{width:e,height:e,opaque:!1,last:!0},u.createElement(S,null,u.createElement(S,null,u.createElement(S,null,"http://i.imgur.com/mp79p5T.png"))))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(S,{width:e,height:e,opaque:!1},u.createElement(S,{last:!0},u.createElement(S,null,u.createElement(S,null,u.createElement(S,null,"http://i.imgur.com/mp79p5T.png")))))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(y,null,u.createElement(d,{source:{uri:"http://i.imgur.com/mp79p5T.png"},width:e,height:e}),u.createElement(E,{width:e,height:e,premultipliedAlpha:!0},u.createElement(_,null)))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(y,null,u.createElement(d,{source:{uri:"http://i.imgur.com/mp79p5T.png"},width:e,height:e}),u.createElement(E,{width:e,height:e,premultipliedAlpha:!0},u.createElement(E,null,u.createElement(_,null))))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(y,null,u.createElement(d,{source:{uri:"http://i.imgur.com/mp79p5T.png"},width:e,height:e}),u.createElement(E,{width:e,height:e,premultipliedAlpha:!0},u.createElement(S,null,u.createElement(E,null,u.createElement(S,null,"http://i.imgur.com/S22HNaU.png")))))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(g,{width:e,height:e,opaque:!1,premultipliedAlpha:!0,debug:!0},"http://i.imgur.com/mp79p5T.png",u.createElement(E,null,u.createElement(_,null)))),u.createElement(y,{width:e,height:e},u.createElement(d,{source:{uri:"http://i.imgur.com/S22HNaU.png"},width:e,height:e}),u.createElement(g,{width:e,height:e,opaque:!1},"http://i.imgur.com/mp79p5T.png",u.createElement(E,null,u.createElement(S,null,u.createElement(E,null,u.createElement(S,null,"http://i.imgur.com/S22HNaU.png"))))))))}}]),t}(u.Component);c.registerComponent("Tests",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","SnapshotView","Switch","SwitchAndroid","SwitchIOS","TabBarIOS","Text","TextInput","ToastAndroid","ToolbarAndroid","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","View","ViewPagerAndroid","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"),SnapshotView:t("SnapshotView"),Switch:t("Switch"),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"),ViewPagerAndroid:t("ViewPagerAndroid"),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"),d=t("ReactPropTypes"),f=t("ReactUpdates"),v=(t("deprecated"),t("findNodeHandle")),m=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 E=function(e){var t=e.type.defaultProps,n=e.props;for(var r in t)void 0===n[r]&&(n[r]=t[r])},R=function(e){return __DEV__&&m(!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&&E(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:d,createClass:i.createClass,createElement:_,createFactory:b,cloneElement:S,_augmentElement:R,findNodeHandle:v,render:w,unmountComponentAtNode:h.unmountComponentAtNode,unstable_batchedUpdates:f.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);f(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__&&v(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 f(e,u,o),s.release(o),d.create(r)}function l(e,t,n){return null}function p(e,t){return f(e,l,null)}var h=t("PooledClass"),d=t("ReactFragment"),f=t("traverseAllChildren"),v=t("warning"),m=h.twoArgumentPooler,g=h.threeArgumentPooler;h.addPoolingTo(o,m),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,d=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||h,n.poolSize||(n.poolSize=p),n.release=l,n},f={addPoolingTo:d,oneArgumentPooler:i,twoArgumentPooler:a,threeArgumentPooler:s,fourArgumentPooler:u,fiveArgumentPooler:c};n.exports=f}),__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={},d=function(e){var t="";for(var n in e)t+=n+":"+typeof e[n]+",";var r=!!h[t];return h[t]=!0,r}}var f={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(d(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 f.extract(e)}return e}};n.exports=f}),__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 d=e.defaultProps;for(r in d)"undefined"==typeof i[r]&&(i[r]=d[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 d=Array(h),f=0;h>f;f++)d[f]=arguments[f+2];u.children=d}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?m+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:m)+i(a,y),h+=u(a,c,n,r);else{var _=d(e);if(_){var S,E=_.call(e);if(_!==e.entries)for(var R=0;!(S=E.next()).done;)a=S.value,c=(""!==t?t+g:m)+i(a,R++),h+=u(a,c,n,r);else for(__DEV__&&(v(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=E.next()).done;){var w=S.value;w&&(a=w[1],c=(""!==t?t+g:m)+s(w[0])+g+i(a,0),h+=u(a,c,n,r))}}else if("object"===o){f(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:m)+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"),d=t("getIteratorFn"),f=t("invariant"),v=t("warning"),m=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 f+e.toString(36)}function i(e,t){return e.charAt(t)===f||t===e.length}function a(e){return""===e||e.charAt(0)===f&&e.charAt(e.length-1)!==f}function s(e,t){return 0===t.indexOf(e)&&i(t,e.length)}function u(e){return e?e.substr(0,e.lastIndexOf(f)):""}function c(e,t){if(d(a(e)&&a(t),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,t),d(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+v;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 d(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||"",d(e!==t,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e);var a=s(t,e);d(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 f;if(o&&h===e||i&&h===t||(f=n(h,a,r)),f===!1||h===t)break;d(l++<m,"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"),d=t("invariant"),f=".",v=f.length,m=1e4,g={createReactRootID:function(){return o(h.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===f&&e.length>1){var t=e.indexOf(f,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:f};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(){x||(x=!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)&&E(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)&&E(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){E("function"!=typeof t,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."),E(!v.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];E(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;E(!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;E(!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){E(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(E(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 d(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=h(e,m.guard(n,e.constructor.displayName+"."+t))}}var f=t("ReactComponent"),v=t("ReactElement"),m=t("ReactErrorUtils"),g=t("ReactPropTypeLocations"),y=t("ReactPropTypeLocationNames"),_=t("ReactNoopUpdateQueue"),b=t("Object.assign"),S=t("emptyObject"),E=t("invariant"),R=t("keyMirror"),w=t("keyOf"),T=t("warning"),C=w({mixins:null}),O=R({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),I=[],x=!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,f.prototype,D);var A={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&&d(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),E("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,I.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={})),E(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){I.push(e)}}};n.exports=A}),__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(R.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];d.isValidElement(r)&&s(r,t)}else if(d.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;)d.isValidElement(i.value)&&s(i.value,t)}else if("object"==typeof e){var c=f.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",m[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",m[r],i,typeof a),a instanceof Error&&!(a.message in E)){E[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,v.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 d=t("ReactElement"),f=t("ReactFragment"),v=t("ReactPropTypeLocations"),m=t("ReactPropTypeLocationNames"),g=t("ReactCurrentOwner"),y=t("getIteratorFn"),_=t("invariant"),b=t("warning"),S={},E={},R=/^\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=d.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=d.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(d),S.injection.injectGlobalResponderHandler(m),S.injection.injectGlobalInteractionHandler(v),i.injection.injectEventPluginsByName({ResponderEventPlugin:S,IOSNativeBridgeEventPlugin:u}),b.injection.injectReconcileTransaction(f.ReactReconcileTransaction),b.injection.injectBatchingStrategy(p),l.injection.injectEnvironment(f);var e=R({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(E)}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"),d=t("ReactInstanceHandles"),f=t("ReactNativeComponentEnvironment"),v=t("ReactNativeGlobalInteractionHandler"),m=t("ReactNativeGlobalResponderHandler"),g=t("ReactNativeMount"),y=t("ReactNativeTextComponent"),_=t("ReactNativeComponent"),b=t("ReactUpdates"),S=t("ResponderEventPlugin"),E=t("UniversalWorkerNodeHandle"),R=t("createReactNativeComponentClass"),w=t("invariant");t("RCTEventEmitter"),t("RCTLog"),t("JSTimersExecution"),n.exports={inject:o}}),__d("InitializeJavaScriptAppEngine",["RCTDebugComponentOwnership","RCTDeviceEventEmitter","PerformanceLogger","regenerator/runtime.js","ExceptionsManager","ErrorUtils","ExceptionsManager","Platform","checkFlowAtRuntime","JSTimers","NativeModules","Promise","XMLHttpRequest","FormData","fetch","Geolocation","WebSocket","BridgeProfiling"],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(e,t){var n=arguments.length<=2||void 0===arguments[2]?GLOBAL:arguments[2],r=Object.getOwnPropertyDescriptor(n,e);if(void 0!==n[e]){var o="original"+e[0].toUpperCase()+e.substr(1);Object.defineProperty(n,o,y({},r,{value:n[e]}))}Object.defineProperty(n,e,y({},r,{value:t}))}function a(){var e=t("ErrorUtils");e.setGlobalHandler(o)}function s(){var e=t("ExceptionsManager"),n=t("Platform");__DEV__&&"ios"===n.OS&&e.installConsoleErrorReporter()}function u(){if(__DEV__){var e=t("checkFlowAtRuntime");e()}}function c(){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 l(){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 p(){GLOBAL.Promise=t("Promise")}function h(){i("XMLHttpRequest",t("XMLHttpRequest")),i("FormData",t("FormData"));var e=t("fetch");i("fetch",e.fetch),i("Headers",e.Headers),i("Request",e.Request),i("Response",e.Response)}function d(){GLOBAL.navigator=GLOBAL.navigator||{},i("geolocation",t("Geolocation"),GLOBAL.navigator)}function f(){i("WebSocket",t("WebSocket"))}function v(){console.profile=console.profile||GLOBAL.nativeTraceBeginSection||function(){},console.profileEnd=console.profileEnd||GLOBAL.nativeTraceEndSection||function(){},__DEV__&&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")}function g(){Number.EPSILON=Number.EPSILON||Math.pow(2,-52),Number.MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,Number.MIN_SAFE_INTEGER=Number.MIN_SAFE_INTEGER||-(Math.pow(2,53)-1)}var y=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};t("RCTDebugComponentOwnership"),t("RCTDeviceEventEmitter"),t("PerformanceLogger"),t("regenerator/runtime.js"),"undefined"==typeof GLOBAL&&(GLOBAL=this),"undefined"==typeof window&&(window=GLOBAL),a(),c(),l(),p(),h(),s(),d(),f(),v(),m(),u(),g()}),__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"),d=t("keyMirror"),f=t("stringifySafe"),v=0,m=1,g=2,y=!1,_=d({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(){for(p.batchedUpdates(function(){e.forEach(function(e){var n="callFunctionReturnFlushedQueue"===e.method?"__callFunction":"__invokeCallback";b(function(){return t[n].apply(t,e.args)})}),t.__callImmediates()});l.immediates.length;)p.batchedUpdates(function(){t.__callImmediates()})}),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(){return this.__callImmediates(),this.__flushedQueue()}},{key:"__callImmediates",value:function(){u.profile("JSTimersExecution.callImmediates()"),b(function(){return l.callImmediates()}),u.profileEnd()}},{key:"__flushedQueue",value:function(){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[v].push(e),this._queue[m].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+"("+f(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+", "+f(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],d=s[h];n[u][d.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,d=c?s:null;return r=r.slice(0,r.length-l),o.__nativeCall(e,t,r,d,p)},r.type=n,r}}]),e}();n.exports=S}),__d("BridgeProfiling",["ReactPerf"],function(e,t,n,r){"use strict";function o(){return s||(s=t("ReactPerf")),s}var i=1<<17,a=!1,s=null,u={setEnabled:function(e){a=e,o().enableMeasure=e},profile:function(e){a&&(e="function"==typeof e?e():e,console.profile(i,e))},profileEnd:function(){a&&console.profileEnd(i)},reactPerfMeasure:function(e,t,n){return function(r){if(!a)return n.apply(this,arguments);var o="ReactCompositeComponent"===e&&this.getName()||"";u.profile(e+"."+t+"("+o+")");var i=n.apply(this,arguments);return u.profileEnd(),i}},swizzleReactPerf:function(){o().injection.injectMeasure(u.reactPerfMeasure)}};n.exports=u}),__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,f.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"),d=t("ReactPerf"),f=t("ReactReconciler"),v=t("Transaction"),m=t("Object.assign"),g=t("invariant"),y=[],_=p.getPooled(),b=!1,S=null,E={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),T()):y.length=0}},R={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},w=[E,R];m(i.prototype,v.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 v.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=d.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,f);e._renderedComponent._topLevelWrapper=e,y._mountImageIntoNode(o,n)}function a(e,t,n){var r=d.ReactReconcileTransaction.getPooled();r.perform(i,null,e,t,n,r),d.ReactReconcileTransaction.release(r)}var s=t("NativeModules").UIManager,u=t("ReactElement"),c=t("ReactNativeTagHandles"),l=t("ReactPerf"),p=t("ReactReconciler"),h=t("ReactUpdateQueue"),d=t("ReactUpdates"),f=t("emptyObject"),v=t("instantiateReactComponent"),m=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(m(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 f=v(r);y._instancesByContainerID[i]=f;var _=o(i,y.instanceCount++);d.batchedUpdates(a,f,_,i);var b=f.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"),d={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&&d.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&&d.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=d}),__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 d}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"),d=function(){};l(d.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"),d=t("ReactUpdateQueue"),f=t("Object.assign"),v=t("emptyObject"),m=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,d);__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=v,a.updater=d,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),m("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 v;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){m("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)m(o in t.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",o);return f({},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{m("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=f({},o?r[0]:n.state),a=o?1:0;a<r.length;a++){var s=r[a];f(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 m(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===v?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)}},d=function(){};d.prototype.componentDidMount=function(){var e=c.get(this);e&&o(e._rootNodeID)},d.prototype.componentWillUnmount=function(){var e=c.get(this);e&&i(e._rootNodeID)},d.prototype.render=function(){return l(s,"Trying to return null from a render, but no null placeholder component was injected."),s()};var f=u.createElement(d),v={emptyElement:f,injection:h,isNullComponentID:a};n.exports=v}),__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 d(e)}function s(e){return e instanceof d}var u=t("Object.assign"),c=t("invariant"),l=null,p=null,h={},d=null,f={injectGenericComponentClass:function(e){p=e},injectTextComponentClass:function(e){d=e},injectComponentClasses:function(e){u(h,e)}},v={getComponentClassForElement:o,createInternalComponent:i,createInstanceForText:a,isTextComponent:s,injection:f};n.exports=v}),__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];
},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("SnapshotView",["Platform","React","StyleSheet","NativeModules","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("Platform"),a=t("React"),s=t("StyleSheet"),u=t("NativeModules"),c=u.TestModule,l=t("View"),p=t("requireNativeComponent"),h=a.createClass({displayName:"SnapshotView",onDefaultAction:function(e){c.verifySnapshot(c.markTestPassed)},render:function(){var e=this.props.testIdentifier||"test",t=this.props.onSnapshotReady||this.onDefaultAction;return a.createElement(f,o({style:d.snapshot},this.props,{onSnapshotReady:t,testIdentifier:e}))},propTypes:{onSnapshotReady:a.PropTypes.func,testIdentifier:a.PropTypes.string}}),d=s.create({snapshot:{flex:1}}),f="ios"===i.OS?p("RCTSnapshot",h):l;n.exports=h}),__d("Switch",["Platform","NativeMethodsMixin","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("Platform"),a=t("NativeMethodsMixin"),s=t("React"),u=t("StyleSheet"),c=t("requireNativeComponent"),l=s.createClass({displayName:"Switch",propTypes:{value:s.PropTypes.bool,disabled:s.PropTypes.bool,onValueChange:s.PropTypes.func,testID:s.PropTypes.string,tintColor:s.PropTypes.string,onTintColor:s.PropTypes.string,thumbTintColor:s.PropTypes.string},getDefaultProps:function(){return{value:!1,disabled:!1}},mixins:[a],_rctSwitch:{},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value),"android"===i.OS?this._rctSwitch.setNativeProps({on:this.props.value}):this._rctSwitch.setNativeProps({value:this.props.value})},render:function(){var e=this,t=o({},this.props);return t.onStartShouldSetResponder=function(){return!0},t.onResponderTerminationRequest=function(){return!1},"android"===i.OS?(t.enabled=!this.props.disabled,t.on=this.props.value,t.style=[p.rctSwitchAndroid,this.props.style]):"ios"===i.OS&&(t.style=[p.rctSwitchIOS,this.props.style]),s.createElement(h,o({},t,{ref:function(t){e._rctSwitch=t},onChange:this._onChange}))}}),p=u.create({rctSwitchIOS:{height:31,width:51},rctSwitchAndroid:{height:27,width:40}});if("android"===i.OS)var h=c("AndroidSwitch",null,{nativeOnly:{onChange:!0,on:!0,enabled:!0}});else var h=c("RCTSwitch",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(d,o({},this.props,{ref:l,onChange:this._onChange,style:[h.rkSwitch,this.props.style]}))}}),h=u.create({rkSwitch:{height:31,width:51}}),d=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","resolveAssetSource","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("resolveAssetSource"),p=t("requireNativeComponent"),h=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||l(this.props.icon),selectedIcon:l(this.props.selectedIcon),badge:t,style:[d.tab,this.props.style]}),e)}}),d=u.create({tab:{position:"absolute",top:0,right:0,bottom:0,left:0}}),f=p("RCTTabBarItem",h);n.exports=h}),__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"),d=t("merge"),f=c(l),v={validAttributes:d(u.UIView,{isHighlighted:!0,numberOfLines:!0,allowFontScaling:!0}),uiViewClassName:"RCTText"},m=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:f,testID:a.PropTypes.string,allowFontScaling:a.PropTypes.bool},viewConfig:v,getInitialState:function(){return d(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(v),_=y;"android"===i.OS&&(_=h({validAttributes:d(u.UIView,{isHighlighted:!0}),uiViewClassName:"RCTVirtualText"})),n.exports=m}),__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},d=s({DELAY:null,RESPONDER_GRANT:null,RESPONDER_RELEASE:null,RESPONDER_TERMINATED:null,ENTER_PRESS_RECT:null,LEAVE_PRESS_RECT:null,LONG_PRESS_DETECTED:null}),f={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}},v=130,m=20,g=500,y=g-v,_=10,b={componentWillUnmount:function(){this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!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(d.RESPONDER_GRANT,e);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):v;n=isNaN(n)?v: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(d.RESPONDER_RELEASE,e)},touchableHandleResponderTerminate:function(e){this._receiveSignal(d.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:m,i=null!=r.top?r.top:m,s=null!=r.right?r.right:m,u=null!=r.bottom?r.bottom:m,l=a.extractSingleTouch(e.nativeEvent),p=l&&l.pageX,h=l&&l.pageY;if(this.pressInLocation){var f=this._getDistanceBetweenPoints(p,h,this.pressInLocation.pageX,this.pressInLocation.pageY);f>_&&this._cancelLongPressDelayTimeout()}var v=p>t.left-o&&h>t.top-i&&p<t.left+n.width+s&&h<t.top+n.height+u;v?this._receiveSignal(d.ENTER_PRESS_RECT,e):(this._cancelLongPressDelayTimeout(),this._receiveSignal(d.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(d.DELAY,e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null,this._receiveSignal(d.LONG_PRESS_DETECTED,e)},_receiveSignal:function(e,t){var n=this.state.touchable.touchState;if(!f[n]||!f[n][e])throw new Error("Unrecognized signal `"+e+"` or state `"+n+"` for Touchable responder `"+this.state.touchable.responderID+"`");var r=f[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===d.RESPONDER_TERMINATED||n===d.RESPONDER_RELEASE;if(a&&this._cancelLongPressDelayTimeout(),!l[e]&&l[t]&&this._remeasureMetricsOnActivation(),p[e]&&n===d.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===d.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"),d=t("StyleSheet"),f=t("Text"),v=t("TextInputState"),m=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},E={onSubmitEditing:!0};if("android"===c.OS)var R=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:f.propTypes.style,testID:l.string,underlineColorAndroid:l.string},mixins:[s,m],viewConfig:"ios"===c.OS?T.viewConfig:"android"===c.OS?R.viewConfig:{},isFocused:function(){return v.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 E)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(f,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(f,null,r));var i=p.createElement(R,{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=d.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,d)}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}),d={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:d(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},d=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"),d=t("cloneWithProps"),f=t("ensureComponentIsNative"),v=t("ensurePositiveDelayProps"),m=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(){v(this.props),f(this.refs[E])},componentDidUpdate:function(){f(this.refs[E])},componentWillReceiveProps:function(e){v(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[R].setNativeProps(this.state.activeUnderlayProps),this.refs[E].setNativeProps(this.state.activeProps),this.props.onShowUnderlay&&this.props.onShowUnderlay())},_hideUnderlay:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this.refs[R]&&(this.refs[E].setNativeProps(w),this.refs[R].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:R,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},d(y(this.props.children),{ref:E}))}}),S={top:20,left:20,right:20,bottom:30},E=m({childRef:null}),R=m({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"),d=(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 f},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)}})),f={top:20,left:20,right:20,bottom:30};n.exports=d}),__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","ViewStylePropTypes","flattenStyle","invariant","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 m;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 v.createElement(e,c({},this._propsAnimated.__getValue(),{ref:t}))}}]),r}(v.Component);return n.propTypes={style:function(t,n,r){for(var o in y)e.propTypes[o]||void 0===t[o]||console.error("You are setting the style `{ "+o+": ... }` as a prop. You should nest it in a style object. E.g. `{ style: { "+o+": ... } }`")}},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 W(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:W(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"),d=t("InteractionManager"),f=t("Interpolation"),v=t("React"),m=t("Set"),g=t("SpringConfig"),y=t("ViewStylePropTypes"),_=t("flattenStyle"),b=t("invariant"),S=t("requestAnimationFrame"),E=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}(),w=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}(E),T=h.inOut(h.ease),C=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||T,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=S(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=S(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,clearTimeout(this._timeout),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._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=S(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=S(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(R),I=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?(b(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,d=this._tension*(this._toValue-n)-this._friction*r;n=e+h*c/2,r=t+d*c/2;var f=r,v=this._tension*(this._toValue-n)-this._friction*r;n=e+f*c/2,r=t+v*c/2;var m=r,g=this._tension*(this._toValue-n)-this._friction*r;n=e+f*c/2,r=t+v*c/2;var y=(l+2*(h+f)+m)/6,_=(p+2*(d+v)+g)/6;e+=y*c,t+=_*c}if(this._lastTime=i,this._lastPosition=e,this._lastVelocity=t,this._onUpdate(e),this.__active){var b=!1;this._overshootClamping&&0!==this._tension&&(b=this._startPosition<this._toValue?e>this._toValue:e<this._toValue);var E=Math.abs(t)<=this._restSpeedThreshold,R=!0;return 0!==this._tension&&(R=Math.abs(this._toValue-e)<=this._restDisplacementThreshold),b||E&&R?(0!==this._tension&&this._onUpdate(this._toValue),void this.__debouncedOnEnd({finished:!0})):void(this._animationFrame=S(this.onUpdate.bind(this)))}}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(R),x=1,P=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 D(this,f.create(e))}},{key:"animate",value:function(e,t){var n=this,r=d.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,d.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}(w),N=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 P(n.x),this.y=new P(n.y)):(b(n.x instanceof P&&n.y instanceof P,"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}(w),D=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 b("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)}},{key:"interpolate",value:function(e){return new t(this,f.create(e))}},{key:"__attach",value:function(){this._parent.__addChild(this)}},{key:"__detach",value:function(){this._parent.__removeChild(this)}}]),t}(w),M=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 E?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 E?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 E&&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 E&&r.__removeChild(e)}})}}]),t}(w),A=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 M(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 E?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 E&&(e[t]=n.__getAnimatedValue())}return e}},{key:"__attach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof E&&t.__addChild(this)}}},{key:"__detach",value:function(){for(var e in this._style){var t=this._style[e];t instanceof E&&t.__removeChild(this)}}}]),t}(w),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 A(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 E?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 E&&(e[t]=n.__getAnimatedValue())}return e}},{key:"__attach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof E&&t.__addChild(this)}}},{key:"__detach",value:function(){for(var e in this._props){var t=this._props[e];t instanceof E&&t.__removeChild(this)}}},{key:"update",value:function(){this._callback()}}]),t}(E),j=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}(E),L=function(e,t,n){if(e instanceof N){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 U([l,p],{stopTogether:!1})}return null},V=function(e,t){return L(e,t,V)||{start:function(n){var r=e,o=t;r.stopTracking(),t.toValue instanceof E?r.track(new j(r,t.toValue,I,o,n)):r.animate(new I(o),n)},stop:function(){e.stopAnimation()}}},F=function(e,t){return L(e,t,F)||{start:function(n){var r=e,o=t;r.stopTracking(),t.toValue instanceof E?r.track(new j(r,t.toValue,C,o,n)):r.animate(new C(o),n)},stop:function(){e.stopAnimation()}}},B=function(e,t){return L(e,t,B)||{start:function(n){var r=e,o=t;r.stopTracking(),r.animate(new O(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()}}},U=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},q=function(e){return F(new P(0),{toValue:0,delay:e,duration:0})},z=function(e,t){return U(t.map(function(t,n){return H([q(e*n),t])}))},G=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 b(e instanceof P,"Bad mapping of type "+typeof e+" for key "+n+", event value must map to AnimatedValue"),void e.setValue(t);b("object"==typeof e,"Bad mapping of type "+typeof e+" for key "+n),b("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:P,ValueXY:N,decay:B,timing:F,spring:V,delay:q,sequence:H,parallel:U,stagger:z,event:G,createAnimatedComponent:u,__PropsOnlyForTests:k}}),__d("Interpolation",["tinycolor"],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=f(e);if(t.isValid()){var n=t.toRgb(),r=n.r,o=n.g,i=n.b,a=n.a;return"rgba("+r+", "+o+", "+i+", "+(void 0===a?1:a)+")"}return e}function s(e){var t=e.outputRange;v(t.length>=2,"Bad output range"),t=t.map(a),u(t);var n=t[0].match(y).map(function(){return[]});t.forEach(function(e){e.match(y).forEach(function(e,t){n[t].push(+e)})});var r=t[0].match(y).map(function(t,r){return g.create(h({},e,{outputRange:n[r]}))});return function(e){var n=0;return t[0].replace(y,function(){return String(r[n++](e))})}}function u(e){for(var t=e[0].replace(y,""),n=1;n<e.length;++n)v(t===e[n].replace(y,""),"invalid pattern "+e[0]+" and "+e[n]);}function c(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}function l(e){v(e.length>=2,"inputRange must have at least 2 elements");for(var t=1;t<e.length;++t)v(e[t]>=e[t-1],"inputRange must be monotonically increasing "+e)}function p(e,t){v(t.length>=2,e+" must have at least 2 elements"),v(2!==t.length||t[0]!==-(1/0)||t[1]!==1/0,e+"cannot be ]-infinity;+infinity[ "+t)}Object.defineProperty(r,"__esModule",{value:!0});var h=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},d=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=t("tinycolor"),v=function(e,t){if(!e){var n=new Error(t);throw n.framesToPop=1,n}},m=function(e){return e},g=function(){function e(){o(this,e)}return d(e,null,[{key:"create",value:function(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return s(e);var t=e.outputRange;p("outputRange",t);var n=e.inputRange;p("inputRange",n),l(n),v(n.length===t.length,"inputRange ("+n.length+") and outputRange ("+t.length+") must have the same length");var r=e.easing||m,o="extend";void 0!==e.extrapolateLeft?o=e.extrapolateLeft:void 0!==e.extrapolate&&(o=e.extrapolate);var a="extend";return void 0!==e.extrapolateRight?a=e.extrapolateRight:void 0!==e.extrapolate&&(a=e.extrapolate),function(e){v("number"==typeof e,"Cannot interpolation an input which is not a number");var s=c(e,n);return i(e,n[s],n[s+1],t[s],t[s+1],r,o,a)}}}]),e}(),y=/[0-9\.-]+/g;n.exports=g}),__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){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 d=n(t/1.7,0,20),f=r(d,.5,200),v=s(h,p(f),.01);return{tension:o(f),friction:i(v)}}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("ViewPagerAndroid",["UnimplementedView"],function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__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"),d=a.PropTypes,f=t("NativeModules").WebViewManager,v="rgba(255,255,255,0.8)",m="webview",g=p({IDLE:null,LOADING:null,ERROR:null}),y={click:f.NavigationType.LinkClicked,formsubmit:f.NavigationType.FormSubmitted,backforward:f.NavigationType.BackForward,reload:f.NavigationType.Reload,formresubmit:f.NavigationType.FormResubmitted,other:f.NavigationType.Other},_=f.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))},E=a.createClass({displayName:"WebView",statics:{JSNavigationScheme:_,NavigationType:y},propTypes:{url:d.string,html:d.string,renderError:d.func,renderLoading:d.func,bounces:d.bool,scrollEnabled:d.bool,automaticallyAdjustContentInsets:d.bool,contentInset:i,onNavigationStateChange:d.func,startInLoadingState:d.bool,style:c.propTypes.style,javaScriptEnabledAndroid:d.bool,injectedJavaScript:d.string,scalesPageToFit:d.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(R,{ref:m,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(){f.goForward(this.getWebViewHandle())},goBack:function(){f.goBack(this.getWebViewHandle())},reload:function(){f.reload(this.getWebViewHandle())},updateNavigationState:function(e){this.props.onNavigationStateChange&&this.props.onNavigationStateChange(e.nativeEvent)},getWebViewHandle:function(){return a.findNodeHandle(this.refs[m])},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)}}),R=h("RCTWebView",E,{nativeOnly:{onLoadingStart:!0,onLoadingError:!0,onLoadingFinish:!0}}),w=s.create({container:{flex:1},errorContainer:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:v},errorText:{fontSize:14,textAlign:"center",marginBottom:2},errorTextTitle:{fontSize:15,fontWeight:"500",marginBottom:10},hidden:{height:0,flex:0},loadingView:{backgroundColor:v,flex:1,justifyContent:"center",alignItems:"center"},webView:{backgroundColor:"#ffffff"}});n.exports=E}),__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(d(r,"Expect to have a valid rootTag, instead got ",r),__DEV__&&!window.document){var o=t("setupDevtools");o()}u.render(u.createElement(f,{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"),d=t("invariant"),f=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:v.appContainer},u.createElement(p,{collapsible:!1,style:v.appContainer,ref:"main"},this.props.children),t,this.state.inspector)}}),v=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"),d=t("StyleSheet"),f=t("NativeModules").UIManager,v=t("View");window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=t("flattenStyle"));var m=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),f.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();f.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(v,{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(v,{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=d.create({container:{position:"absolute",backgroundColor:"transparent",top:0,left:0,right:0,bottom:0},panelContainer:{position:"absolute",left:0,right:0}});n.exports=m}),__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:[d.inspector,{height:o.get("window").height}]},e)}}),d=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 m(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:m(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"),d=t("flattenStyle"),f=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=d(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:[v.frame,r],pointerEvents:"none"},u.createElement(p,{box:t,style:v.margin},u.createElement(p,{box:n,style:v.padding},u.createElement(c,{style:[v.content,o]}))))}}]),t}(u.Component),v=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=f}),__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"),d=t("PerformanceOverlay"),f=t("TouchableHighlight"),v=u.PropTypes,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:"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(d,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);m.propTypes={devtoolsIsOpen:v.bool,inspecting:v.bool,setInspecting:v.func,inspected:v.object,perfing:v.bool,setPerfing:v.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(f,{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=m}),__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"),d=t("flattenStyle"),f=t("mapWithSeparator"),v=a.createClass({displayName:"ElementProperties",propTypes:{hierarchy:i.array.isRequired,style:i.oneOfType([i.object,i.array,i.number])},render:function(){var e=this,t=d(this.props.style),n=this.props.selection;return a.createElement(p,null,a.createElement(h,{style:m.info},a.createElement(h,{style:m.breadcrumb},f(this.props.hierarchy,function(t,r){return a.createElement(l,{style:[m.breadItem,r===n&&m.selected],onPress:function(){return e.props.setSelection(r)}},a.createElement(c,{style:m.breadItemText},t.getName?t.getName():"Unknown"))},function(){return a.createElement(c,{style:m.breadSep},"▸")})),a.createElement(h,{style:m.row},a.createElement(s,{style:t}),a.createElement(o,{style:t,frame:this.props.frame}))))}}),m=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=v}),__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"),d={top:0,left:0,right:0,bottom:0},f=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)||d,r=t&&h("padding",t)||d;return u.createElement(v,{title:"margin",titleStyle:m.marginLabel,box:n},u.createElement(v,{title:"padding",box:r},u.createElement(p,null,u.createElement(l,{style:m.innerText},"(",e.left,", ",e.top,")"),u.createElement(l,{style:m.innerText},e.width," × ",e.height))))}}]),t}(u.Component),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:"render",value:function(){var e=this.props.box;return u.createElement(p,{style:m.box},u.createElement(p,{style:m.row},u.createElement(l,{style:[this.props.titleStyle,m.label]},this.props.title),u.createElement(l,{style:m.boxText},e.top)),u.createElement(p,{style:m.row},u.createElement(l,{style:m.boxText},e.left),this.props.children,u.createElement(l,{style:m.boxText},e.right)),u.createElement(l,{style:m.boxText},e.bottom))}}]),t}(u.Component),m=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=f}),__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 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("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:d.noStyle},"No style");var t=Object.keys(this.props.style);return u.createElement(p,{style:d.container},u.createElement(p,null,t.map(function(e){return u.createElement(l,{style:d.attr},e,":")})),u.createElement(p,null,t.map(function(t){return u.createElement(l,{style:d.value},e.props.style[t])})))}}]),t}(u.Component),d=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(E),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"),d=t("TouchableOpacity"),f=t("View"),v=t("invariant"),m=t("rebound/rebound.js"),g=t("stringifySafe"),y=t("Dimensions").get("window").width,_="__DEV_WARNINGS_IGNORED",b=console.warn.bind(console),S=new u,E=[],R=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===E.indexOf(e)){var t=S.has(e)?S.get(e)+1:1;S.set(e,t),R+=1,w.emit("count",R)}}}),a.getItem(_,function(e,t){e||!t||console.yellowBoxResetIgnored||(E=JSON.parse(t))});var T=l.createClass({displayName:"WarningRow",componentWillMount:function(){var e=this;this.springSystem=new m.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:x.bold},"(",S.get(this.props.warning),")"," ")),l.createElement(f,i({style:x.warningBox,ref:function(e){t.container=e}},this.panGesture.panHandlers),l.createElement(d,{onPress:this.props.onOpened},l.createElement(h,{style:x.warningText,numberOfLines:2,ref:function(e){t.text=e}},e,this.props.warning)),l.createElement(f,{ref:function(e){t.closeButton=e},style:x.closeButton},l.createElement(d,{onPress:function(){t.dismissalSpring.setEndValue(1)}},l.createElement(h,{style:x.closeButtonText},"✕"))))}}),C=l.createClass({displayName:"WarningBoxOpened",render:function(){var e;return S.get(this.props.warning)>1&&(e=l.createElement(h,{style:x.bold},"(",S.get(this.props.warning),")"," ")),l.createElement(d,{activeOpacity:.9,onPress:this.props.onClose,style:x.yellowBox},l.createElement(h,{style:x.yellowBoxText},e,this.props.warning),l.createElement(f,{style:x.yellowBoxButtons},l.createElement(d,{onPress:this.props.onDismissed,style:x.yellowBoxButton},l.createElement(h,{style:x.yellowBoxButtonText},"Dismiss")),l.createElement(d,{onPress:this.props.onIgnored,style:x.yellowBoxButton},l.createElement(h,{style:x.yellowBoxButtonText},"Ignore"))))}}),O=!0,I=l.createClass({displayName:"WarningBox",getInitialState:function(){return{totalWarningCount:R,openWarning:null}},componentWillMount:function(){console.yellowBoxResetIgnored&&(a.setItem(_,"[]",function(e){e&&console.warn("Could not reset ignored warnings.",e)}),E=[])},componentDidMount:function(){v(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(f,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(){E.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(f,{style:x.warningContainer},t)}}),x=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=I}),__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 d=u.getID(o[1]);p._recordWrite(d,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 f="mountComponent"===t?o[0]:this._rootNodeID,v="_renderValidatedComponent"===t,m="mountComponent"===t,g=p._mountStack,y=p._allMeasurements[p._allMeasurements.length-1];if(v?i(y.counts,f,1):m&&g.push(0),h=l(),c=n.apply(this,o),s=l()-h,v)i(y.render,f,s);else if(m){var _=g.pop();g[g.length-1]+=s,i(y.exclusive,f,s-_),i(y.inclusive,f,s)}else i(y.inclusive,f,s);return y.displayNames[f]={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(),d=n[p],f={attributeName:h,attributeNamespace:null,propertyName:p,mutationMethod:null,mustUseAttribute:o(d,t.MUST_USE_ATTRIBUTE),mustUseProperty:o(d,t.MUST_USE_PROPERTY),hasSideEffects:o(d,t.HAS_SIDE_EFFECTS),hasBooleanValue:o(d,t.HAS_BOOLEAN_VALUE),hasNumericValue:o(d,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:o(d,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:o(d,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(i(!f.mustUseAttribute||!f.mustUseProperty,"DOMProperty: Cannot require using both attribute and property: %s",p),i(f.mustUseProperty||!f.hasSideEffects,"DOMProperty: Properties that have side effects must use property: %s",p),i(f.hasBooleanValue+f.hasNumericValue+f.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 v=s[p];f.attributeName=v,__DEV__&&(u.getPossibleStandardName[v]=p)}r.hasOwnProperty(p)&&(f.attributeNamespace=r[p]),c.hasOwnProperty(p)&&(f.propertyName=c[p]),l.hasOwnProperty(p)&&(f.mutationMethod=l[p]),u.properties[p]=f}}},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 d=[];for(n in r)r[n].time>=l&&d.push(r[n]);return d.sort(function(e,t){return t.time-e.time}),d}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(H.hasOwnProperty(t)){var n=H[t];n!==e&&(A(!h(n,t),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",B,t),H[t]=e)}else H[t]=e;return t}function u(e){return e&&e.getAttribute&&e.getAttribute(B)||""}function c(e,t){var n=u(e);n!==t&&delete H[n],e.setAttribute(B,t),H[t]=e}function l(e){return H.hasOwnProperty(e)&&h(H[e],e)||(H[e]=Q.findReactNodeByID(e)),H[e]}function p(e){var t=T.get(e)._rootNodeID;return R.isNullComponentID(t)?null:(H.hasOwnProperty(t)&&h(H[t],t)||(H[t]=Q.findReactNodeByID(t)),H[t])}function h(e,t){if(e){A(u(e)===t,"ReactMount: Unexpected modification of `%s`",B);var n=Q.findReactContainerForID(t);if(n&&D(n,e))return!0}return!1}function d(e){delete H[e]}function f(e){var t=H[e];return t&&h(t,e)?void(X=t):!1}function v(e){X=null,w.traverseAncestors(e,f);var t=X;return X=null,t}function m(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=I.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(m,null,e,t,n,i,r,o),P.ReactReconcileTransaction.release(i)}function y(e,t){for(I.unmountComponent(e),t.nodeType===q&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}var _=t("DOMProperty"),b=t("ReactBrowserEventEmitter"),S=t("ReactCurrentOwner"),E=t("ReactElement"),R=t("ReactEmptyComponent"),w=t("ReactInstanceHandles"),T=t("ReactInstanceMap"),C=t("ReactMarkupChecksum"),O=t("ReactPerf"),I=t("ReactReconciler"),x=t("ReactUpdateQueue"),P=t("ReactUpdates"),N=t("emptyObject"),D=t("containsNode"),M=t("instantiateReactComponent"),A=t("invariant"),k=t("setInnerHTML"),j=t("shouldUpdateReactComponent"),L=t("validateDOMNesting"),V=t("warning"),F=w.SEPARATOR,B=_.ID_ATTRIBUTE_NAME,H={},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(){x.enqueueElementInternal(e,t),r&&x.enqueueCallbackInternal(e,r)}),__DEV__&&(Y[a(n)]=i(n)),e},_registerComponent:function(e,t){A(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 A(null!=e&&null!=e._reactInternalInstance,"parentComponent must be a valid React Component"),Q._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){A(E.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 E(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 d=p&&!s,f=Q._renderNewRootComponent(o,n,d,null!=e?e._reactInternalInstance._processChildContext(e._reactInternalInstance._context):N)._renderedComponent.getPublicInstance();return r&&r.call(f),f},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"),A(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=v(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,A(!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(A(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);A(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)}A(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."),k(t,e)},getReactRootID:a,getID:s,setID:c,getNode:l,getNodeFromInstance:p,purgeID:d};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,m)||(e[m]=f++,h[e[m]]={}),h[e[m]]}var i=t("EventConstants"),a=t("EventPluginHub"),s=t("EventPluginRegistry"),u=t("ReactEventEmitterMixin"),c=t("ViewportMetrics"),l=t("Object.assign"),p=t("isEventSupported"),h={},d=!1,f=0,v={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"},m="_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):v.hasOwnProperty(l)&&g.ReactEventListener.trapBubbledEvent(l,v[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(!d){var e=c.refreshScrollValues;g.ReactEventListener.monitorScrollValue(e),d=!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},d=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},f=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},v=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},m=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=f(e,o)?null:r,s=i?null:v(e,n),u=i||s;if(u){var c,l=u.tag,p=u.instance,d=t&&t._currentElement._owner,y=p&&p._currentElement._owner,_=m(d),b=m(y),S=Math.min(_.length,b.length),E=-1;for(c=0;S>c&&_[c]===b[c];c++)E=c;var R="(unknown)",w=_.slice(E+1).map(function(e){return e.getName()||R}),T=b.slice(E+1).map(function(e){return e.getName()||R}),C=[].concat(-1!==E?_[E].getName()||R:[],T,l,s?["..."]:[],w,e).join(" > "),O=!!i+"|"+e+"|"+l+"|"+C;if(g[O])return;if(g[O]=!0,i){var I="";"table"===l&&"tr"===e&&(I+=" 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,I)}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=d,s.isTagValidInContext=function(e,t){t=t||h;var n=t.parentTag,r=n&&n.tag;return f(e,r)&&!v(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:"active"};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 d=u({first:a.number.isRequired,after:a.string,groupTypes:a.oneOf(p),groupName:a.string,assetType:a.oneOf(h),mimeTypes:a.arrayOf(a.string)}),f=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}),v=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__&&(d({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){f({response:e},"response","CameraRoll.getPhotos callback"),t(e)}),s.getPhotos(e,r,n)}}]),e}();v.GroupTypesOptions=p,v.AssetTypeOptions=h,n.exports=v}),__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){v({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},d=c(h),f=u({duration:a.number,delay:a.number,springDamping:a.number,initialVelocity:a.number,type:a.oneOf(Object.keys(p)),property:a.oneOf(Object.keys(d))}),v=u({duration:a.number.isRequired,create:f,update:f,"delete":f}),m={easeInEaseOut:i(300,p.easeInEaseOut,d.opacity),linear:i(500,p.linear,d.opacity),spring:{duration:700,create:{type:p.linear,property:d.opacity},update:{type:p.spring,springDamping:.4}}},g={configureNext:o,create:i,Types:p,Properties:d,configChecker:v,Presets:m,easeInEaseOut:o.bind(null,m.easeInEaseOut),linear:o.bind(null,m.linear),spring:o.bind(null,m.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",d=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=d}),__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,d={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_info)},t)})},isConnected:{addEventListener:function(e,t){var n=function(e){t(p(e))};h.set(t,n),d.addEventListener(e,n)},removeEventListener:function(e,t){var n=h.get(t);d.removeEventListener(e,n),h["delete"](t)},fetch:function(){return d.fetch().then(function(e){return p(e)})}},isConnectionMetered:{}};"android"===a.OS&&(d.isConnectionMetered=function(e){u.isConnectionMetered(function(t){e(t)})}),n.exports=d}),__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",d="remoteNotificationsRegistered",f=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(d,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=f}),__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(", "),f),l.call(t,f))return c(1===Object.keys(t).length,"Cannot have more than one key in an object with %s",f),t[f];var n=o(e);if(l.call(t,v)){var r=t[v];c(r&&"object"==typeof r,"update(): %s expects a spec of type 'object'; got %s",v,r),c(n&&"object"==typeof n,"update(): %s expects a target of type 'object'; got %s",v,n),s(n,t[v])}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,d)&&(c(Array.isArray(e),"Expected %s target to be an array; got %s",d,e),c(Array.isArray(t[d]),"update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",d,t[d]),t[d].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?",d,t[d]),n.splice.apply(n,e)})),l.call(t,m)&&(c("function"==typeof t[m],"update(): expected spec of %s to be a function; got %s.",m,t[m]),n=t[m](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}),d=u({$splice:null}),f=u({$set:null}),v=u({$merge:null}),m=u({$apply:null}),g=[p,h,d,f,v,m],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=v.eventNameDispatchConfigs[e],a=new o;a.target=r;var s=new S(i,_.getID(r),a,r);E(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 v.eventNameDispatchConfigs)O.Simulate[e]=a(e)}function u(e){return function(t,n){var r=new o(e);E(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"),d=t("ReactElement"),f=t("ReactEmptyComponent"),v=t("ReactBrowserEventEmitter"),m=t("ReactCompositeComponent"),g=t("ReactInstanceHandles"),y=t("ReactInstanceMap"),_=t("ReactMount"),b=t("ReactUpdates"),S=t("SyntheticEvent"),E=t("Object.assign"),R=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 d.isValidElement(e)},isElementOfType:function(e,t){return d.isValidElement(e)&&e.type===t},isDOMComponent:function(e){return!(!e||1!==e.nodeType||!e.tagName)},isDOMComponentElement:function(e){return!!(e&&d.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(!d.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,v.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 I},Simulate:null,SimulateNative:{}},I=function(){this._instance=null};I.prototype.getRenderOutput=function(){return this._instance&&this._instance._renderedComponent&&this._instance._renderedComponent._renderedOutput||null};var x=function(e){this._renderedOutput=e,this._currentElement=null===e||e===!1?f.emptyElement:e};x.prototype={mountComponent:function(){},receiveComponent:function(e){this._renderedOutput=e,this._currentElement=null===e||e===!1?f.emptyElement:e},unmountComponent:function(){}};var P=function(){};E(P.prototype,m.Mixin,{_instantiateReactComponent:function(e){return new x(e)},_replaceNodeWithMarkupByID:function(){},_renderValidatedComponent:m.Mixin._renderValidatedComponentWithoutOwnerOrContext}),I.prototype.render=function(e,t){t||(t=R);var n=b.ReactReconcileTransaction.getPooled();this._render(e,n,t),b.ReactReconcileTransaction.release(n)},I.prototype.unmount=function(){this._instance&&this._instance.unmountComponent()},I.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 A=0===M.indexOf("top")?M.charAt(3).toLowerCase()+M.substr(4):M;O.SimulateNative[A]=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("Tests/Blur.js",["react-native/Libraries/react-native/react-native.js","Tests/Blur1D.js","gl-react-native/index.ios.js"],function(e,t,n,r){function o(e,t,n){var r=t*e/n;switch(e%4){case 0:return[r,0];case 1:return[0,r];case 2:return[r*c,r*c];case 3:return[r*c,-r*c]}return e%2?[r,0]:[0,r]}var i=t("react-native/Libraries/react-native/react-native.js"),a=t("gl-react-native/index.ios.js"),s=i.PropTypes,u=t("Tests/Blur1D.js"),c=Math.sqrt(2)/2;n.exports=a.createComponent(function(e){var t=e.width,n=e.height,r=e.factor,a=e.children,s=e.passes,c=function(e){return 0>=e?a:i.createElement(u,{width:t,height:n,direction:o(e,r,s)},c(e-1))};return c(s)},{displayName:"Blur",defaultProps:{passes:2},propTypes:{width:s.number,height:s.number,factor:s.number.isRequired,children:s.any.isRequired,passes:s.number}})}),__d("gl-react-native/index.ios.js",["gl-react-native/src/Shaders.js","gl-react-native/src/View.js","gl-react-native/src/Uniform.js","gl-react-native/src/ComponentDeprecated.js","gl-react-native/src/createComponent.js"],function(e,t,n,r){var 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/ComponentDeprecated.js"),u=t("gl-react-native/src/createComponent.js");n.exports={Shaders:o,View:i,Uniform:a,Component:s,createComponent:u}}),__d("gl-react-native/src/Shaders.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"),i=o.createShaders,a=t("react-native/Libraries/react-native/react-native.js"),s=a.NativeModules.RNGLContext;n.exports=i(function(e,t){s.addShader(e,t)})}),__d("gl-react-core/src/index.js",["gl-react-core/src/createComponent.js","gl-react-core/src/createComponentDeprecated.js","gl-react-core/src/createShaders.js","gl-react-core/src/createUniform.js","gl-react-core/src/createView.js"],function(e,t,n,r){var o=t("gl-react-core/src/createComponent.js"),i=t("gl-react-core/src/createComponentDeprecated.js"),a=t("gl-react-core/src/createShaders.js"),s=t("gl-react-core/src/createUniform.js"),u=t("gl-react-core/src/createView.js");n.exports={createComponent:o,createComponentDeprecated:i,createShaders:a,createUniform:s,createView:u}}),__d("gl-react-core/src/createComponent.js",["invariant","gl-react-core/src/glViewMethods.json"],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=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 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)},c=t("invariant"),l=t("gl-react-core/src/glViewMethods.json");n.exports=function(e,t){function n(n,r){c("function"==typeof n,"GL.createComponent(props => glview) must have a function in parameter");var p=function(r){function p(e,t){o(this,p),u(Object.getPrototypeOf(p.prototype),"constructor",this).call(this,e,t),l.forEach(this._delegateMethod,this)}return i(p,r),s(p,[{key:"_delegateMethod",value:function(e){var t=this;this[e]=function(){var n=t.refs._;return c(n,"glView has been rendered"),n[e].apply(n,arguments)}}},{key:"render",value:function(){var r=n(this.props);return c(r&&(r.type===t||r.type.isGLComponent),"The GL.createComponent function parameter must return a GL.View or another GL Component"),e.cloneElement(r,a({},r.props,{ref:"_"}))}}]),p}(e.Component);if(p.isGLComponent=!0,p.displayName=n.name||"",r){c("object"==typeof r,"second parameter of createComponent must be an object of static fields to set in the React component. (example: propTypes, displayName)");for(var h in r)p[h]=r[h]}return p}return n}}),__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/glViewMethods.json",[],function(e,t,n,r){n.exports=["getGLCanvas","captureFrame"]}),__d("gl-react-core/src/createComponentDeprecated.js",["invariant","gl-react-core/src/glViewMethods.json"],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 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("invariant"),u=t("gl-react-core/src/glViewMethods.json");n.exports=function(e){var t=function(e){function t(e,n){var r=this;o(this,t),a(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e,n),u.forEach(function(e){r[e]||(r[e]=function(){return s(!0,"'%s' method is not available in deprecated GL.Component. Use GL.createComponent(props => glView) instead")})}),"production"!==process.env.NODE_ENV&&console.error("GL.Component class is deprecated. Use GL.createComponent(props => glView) function instead")}return i(t,e),t}(e.Component);return t.isGLComponent=!0,t}}),__d("gl-react-core/src/createShaders.js",["invariant"],function(e,t,n,r){var o=t("invariant");n.exports=function(e){var t=1,n={},r={create:function(r){o("object"==typeof r,"config must be an object");var i={};for(var a in r){var s=r[a];o("object"==typeof s&&"string"==typeof s.frag,"invalid shader given to Shaders.create(). A valid shader is a { frag: String }");var 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("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)},u=t("invariant");n.exports=function(e){var t=e.Component,n=e.PropTypes,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 m(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:m(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},p=t("invariant"),h=t("gl-react-core/src/data/index.js"),d=h.fill,f=h.resolve,v=h.createBuild;n.exports=function(e,t,n,r,h,m){var g=e.Component,y=e.PropTypes,_=void 0,b=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:"getGLCanvas",value:function(){return this.refs.canvas}},{key:"captureFrame",value:function(e){var t=this.getGLCanvas();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(){var e=this._renderId++,t=this.props,n=t.style,i=t.width,a=t.height,c=t.children,l=t.shader,v=t.uniforms,g=t.debug,y=t.preload,b=t.opaque,S=t.visibleContent,E=t.eventsThrough,R=o(t,["style","width","height","children","shader","uniforms","debug","preload","opaque","visibleContent","eventsThrough"]);p(i&&a&&i>0&&a>0,"width and height are required for the root GLView");var w=f(d(_(l,v,i,a,c,y||!1,[]))),T=w.data,C=w.contentsVDOM,O=w.imagesToPreload;return g&&s(T,C),r({width:i,height:a,style:n,visibleContent:S,eventsThrough:E},C.map(function(e,t){return h(T.width,T.height,t,e,{visibleContent:S})}),m(u({},R,{width:i,height:a,data:T,nbContentTextures:C.length,imagesToPreload:O,renderId:e,opaque:b,visibleContent:S,eventsThrough:E})))}}]),t}(g);return b.displayName="GL.View",b.propTypes={shader:y.number.isRequired,width:y.number,height:y.number,uniforms:y.object,opaque:y.bool,preload:y.bool,autoRedraw:y.bool,eventsThrough:y.bool,visibleContent:y.bool},b.defaultProps={opaque:!0},_=v(e,t,n,b),b}}),__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},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){function c(t){return 1===e.Children.count(t)?t instanceof Array?t[0]:t:null}function l(e,t){var n=e.type;if(n.isGLComponent){var r=new n;r.props=e.props;var o=c(r.render()),i=n.displayName||n.name||"";return t.push(i),o}}function p(e){for(var t=[],n=e;n&&"function"==typeof n.type;n=l(n,t))if(n.type===r)return{childGLView:n,via:t}}return function h(r,c,l,d,f,v,m){a(t.exists(r),"Shader #%s does not exists",r);var g=t.getName(r),y=i({},c),_=[],b=[];return e.Children.forEach(f,function(e){a(e.type===n,"(Shader '%s') GL.View can only contains children of type GL.Uniform. Got '%s'",g,e.type&&e.type.displayName||e);var t=e.props,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",g),a(!(c&&r in c),"(Shader '%s') The uniform '%s' set by GL.Uniform must not be in {uniforms} props",g),a(!(r in y),"(Shader '%s') The uniform '%s' set by GL.Uniform must not be defined in another GL.Uniform",g),y[r]=!i||i.value?i:{value:i,opts:s}}),Object.keys(y).forEach(function(t){var n=y[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)y[t]=s.withOpts(s.URI({uri:n}),o);else if("object"===i&&"string"==typeof n.uri)y[t]=s.withOpts(s.URI(n),o);else if("object"===i&&n.data&&n.shape&&n.stride)y[t]=s.withOpts(s.NDArray(n),o);else if("object"===i&&(n instanceof Array?e.isValidElement(n[0]):e.isValidElement(n))){var c=p(n);if(c){var f=c.childGLView,m=c.via,g=f.props;_.push({vdom:n,uniform:t,data:h(g.shader,g.uniforms,g.width||l,g.height||d,g.children,"preload"in g?g.preload:v,m)})}else b.push({vdom:n,uniform:t,opts:o})}else delete y[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 y[t]=n}}),{shader:r,uniforms:y,width:l,height:d,children:_,contents:b,preload:v,via: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=[e.vdom],r=[e.data],o=e.data.children.map(function(e){var 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){var d=e.uniforms,f=e.children,v=e.contents,m=e.preload,g=o(e,["uniforms","children","contents","preload"]),y=a({},d),_=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,_),E=S.map(function(e){var t=e.vdom,n=b();return{vdom:t,fboId:n}}),R=u.concat(E),w=R.map(function(e){var t=e.vdom;return t}),T=R.map(function(e){var t=e.fboId;return t}),C=[],O=[],I=f.concat(S).map(function(e){var t=e.uniform,n=e.vdom,r=e.data,o=w.indexOf(n),i=void 0,a=void 0;return-1===o?(i=b(),a=O):(i=R[o].fboId,o>=u.length&&(a=C)),t&&(y[t]=l.Framebuffer(i)),{data:r,fboId:i,addToCollection:a}}),x=I.map(function(e){var t=e.fboId;return t}),P=h.concat(T).concat(x),N=[];return I.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,R,P)))}),v.forEach(function(e){var t=e.uniform,n=e.vdom,r=e.opts,o=i.indexOf(n);s(-1!==o,"contents was discovered by findContentsMeta"),y[t]=l.withOpts(l.Content(o),r)}),m&&(n=n.concat(p(d))),a({},g,{uniforms:y,contextChildren:C,children:O,fboId:r})}var n=[],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},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)})}var 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){var t=[];for(var n in e){var r=e[n];r&&"object"==typeof r&&"uri"===r.type&&r.uri&&"string"==typeof r.uri&&t.push(r)}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/GLCanvas.js"],function(e,t,n,r){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("gl-react-core/src/index.js"),a=i.createView,s=t("react-native/Libraries/react-native/react-native.js"),u=t("gl-react-native/src/Shaders.js"),c=t("gl-react-native/src/Uniform.js"),l=t("gl-react-native/src/GLCanvas.js"),p=s.View,h=function(e,t,n,r,o){var i=o.visibleContent,a={position:"absolute",top:i?0:t,left:0,width:e,height:t,overflow:"hidden"};return s.createElement(p,{key:n,style:a},r)},d=function(e){return s.createElement(l,o({ref:"canvas"},e))},f=function(e,t,n){var r=e.style,i=e.width,a=e.height,u=o({position:"relative"},r,{width:i,height:a,overflow:"hidden"});return s.createElement(p,{style:u},t,n)},v=a(s,u,c,f,h,d);v.prototype.setNativeProps=function(e){this.refs["native"].setNativeProps(e)},n.exports=v}),__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"),i=o.createUniform,a=t("react-native/Libraries/react-native/react-native.js");n.exports=i(a)}),__d("gl-react-native/src/GLCanvas.js",["react-native/Libraries/react-native/react-native.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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 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 m(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:m(o,t,n)}if("value"in r)return r.value;var i=r.get;return void 0===i?void 0:i.call(n)},p=t("react-native/Libraries/react-native/react-native.js"),h=p.Component,d=p.requireNativeComponent,f=d("GLCanvas",v),v=function(e){function t(e){a(this,t),l(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={captureNextFrameId:0},this._captureId=1,this._captureListeners=i({},this._captureId,[]),this._needsCapture=!1,this.handleCapture=this.handleCapture.bind(this),this.onCaptureFrame=this.onCaptureFrame.bind(this)}return s(t,e),c(t,[{key:"captureFrame",value:function(e){this._captureListeners[this._captureId].push(e),this.requestCapture()}},{key:"onCaptureFrame",value:function(e){var t=e.nativeEvent,n=t.frame,r=t.id;r in this._captureListeners&&(this._captureListeners[r].forEach(function(e){return e(n)}),delete this._captureListeners[r]),this._captureId++,this._captureListeners[this._captureId]=[]}},{key:"requestCapture",value:function(){this._needsCapture||(this._needsCapture=!0,requestAnimationFrame(this.handleCapture))}},{key:"handleCapture",value:function(){this._needsCapture&&(this._needsCapture=!1,this.setState({captureNextFrameId:this._captureId}))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=o(e,["width","height"]),i=this.state.captureNextFrameId;return p.createElement(f,u({ref:"native"},r,{style:{width:t,height:n},captureNextFrameId:i,onChange:this.onCaptureFrame}))}}]),t}(h);n.exports=v}),__d("gl-react-native/src/ComponentDeprecated.js",["react-native/Libraries/react-native/react-native.js","gl-react-core/src/index.js"],function(e,t,n,r){var o=t("react-native/Libraries/react-native/react-native.js"),i=t("gl-react-core/src/index.js"),a=i.createComponentDeprecated;n.exports=a(o)}),__d("gl-react-native/src/createComponent.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/src/View.js","gl-react-core/src/index.js"],function(e,t,n,r){var o=t("react-native/Libraries/react-native/react-native.js"),i=t("gl-react-native/src/View.js"),a=t("gl-react-core/src/index.js"),s=a.createComponent;n.exports=s(o,i)}),__d("Tests/Blur1D.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.js"],function(e,t,n,r){var o=t("react-native/Libraries/react-native/react-native.js"),i=t("gl-react-native/index.ios.js"),a=(o.PropTypes,i.Shaders.create({blur1D:{frag:"\nprecision highp float;\nvarying vec2 uv;\nuniform sampler2D t;\nuniform vec2 resolution;\nuniform vec2 direction;\n// Credits: https://github.com/Jam3/glsl-fast-gaussian-blur\nvec4 blur9 (sampler2D image, vec2 uv, vec2 resolution, vec2 direction) {\n vec4 color = vec4(0.0);\n vec2 off1 = vec2(1.3846153846) * direction;\n vec2 off2 = vec2(3.2307692308) * direction;\n color += texture2D(image, uv) * 0.2270270270;\n color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162;\n color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703;\n color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703;\n return color;\n}\nvoid main () {\n gl_FragColor = blur9(t, uv, resolution, direction);\n}\n "}}));n.exports=i.createComponent(function(e){var t=e.width,n=e.height,r=e.direction,s=e.children;return o.createElement(i.View,{shader:a.blur1D,width:t,height:n,uniforms:{direction:r,resolution:[t,n]}},o.createElement(i.Uniform,{name:"t"},s))},{displayName:"Blur1D"})}),__d("Tests/Add.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.js"],function(e,t,n,r){var o=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")}}(),i=t("react-native/Libraries/react-native/react-native.js"),a=t("gl-react-native/index.ios.js"),s=a.Shaders.create({add:{frag:"\nprecision highp float;\n\nvarying vec2 uv;\nuniform sampler2D t1;\nuniform sampler2D t2;\n\nvoid main () {\n vec4 c1 = texture2D(t1, uv);\n vec4 c2 = texture2D(t2, uv);\n gl_FragColor = c1 + c2;\n}\n"}});n.exports=a.createComponent(function(e){var t=e.width,n=e.height,r=e.children;if(!r||2!==r.length)throw new Error("You must provide 2 children to Add");var u=o(r,2),c=u[0],l=u[1];return i.createElement(a.View,{shader:s.add,width:t,height:n,uniforms:{t1:c,t2:l}})},{displayName:"Add"})}),__d("Tests/Multiply.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.js"],function(e,t,n,r){var o=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")}}(),i=t("react-native/Libraries/react-native/react-native.js"),a=t("gl-react-native/index.ios.js"),s=a.Shaders.create({multiply:{frag:"\nprecision highp float;\n\nvarying vec2 uv;\nuniform sampler2D t1;\nuniform sampler2D t2;\n\nvoid main () {\n vec4 c1 = texture2D(t1, uv);\n vec4 c2 = texture2D(t2, uv);\n gl_FragColor = c1 * c2;\n}\n"}});n.exports=a.createComponent(function(e){var t=e.width,n=e.height,r=e.children;if(!r||2!==r.length)throw new Error("You must provide 2 children to Multiply");var u=o(r,2),c=u[0],l=u[1];return i.createElement(a.View,{shader:s.multiply,width:t,height:n,uniforms:{t1:c,t2:l}})},{displayName:"Multiply"})}),__d("Tests/Layer.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.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=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")}}(),s=t("react-native/Libraries/react-native/react-native.js"),u=t("gl-react-native/index.ios.js"),c=u.Shaders.create({layer:{frag:"\nprecision highp float;\n\nvarying vec2 uv;\nuniform sampler2D t1;\nuniform sampler2D t2;\n\nvoid main () {\n vec4 c1 = texture2D(t1, uv);\n vec4 c2 = texture2D(t2, uv);\n gl_FragColor = vec4(mix(c1.rgb, c2.rgb, c2.a), c1.a + c2.a);\n}\n"}});n.exports=u.createComponent(function(e){var t=e.children,n=o(e,["children"]);if(!t||2!==t.length)throw new Error("You must provide 2 children to Layer");var r=a(t,2),l=r[0],p=r[1];return s.createElement(u.View,i({},n,{shader:c.layer,uniforms:{t1:l,t2:p}}))},{displayName:"Layer"})}),__d("Tests/NativeLayer.js",["react-native/Libraries/react-native/react-native.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=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 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)},c=t("react-native/Libraries/react-native/react-native.js"),l=c.View,p=function(e){function t(){i(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=e.children;o(e,["width","height","children"]);return c.createElement(l,{style:{width:t,height:n,position:"relative"}},c.Children.map(r,function(e){return c.createElement(l,{style:{width:t,height:n,position:"absolute",top:0,left:0,backgroundColor:"transparent"}},e)}))}}]),t}(c.Component);n.exports=p}),__d("Tests/HelloGL.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.js"],function(e,t,n,r){var o=t("react-native/Libraries/react-native/react-native.js"),i=t("gl-react-native/index.ios.js"),a=i.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 "}});n.exports=i.createComponent(function(e){var t=e.width,n=e.height;return o.createElement(i.View,{shader:a.helloGL,width:t,height:n})},{displayName:"HelloGL"})}),__d("Tests/Display2.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.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=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")}}(),s=t("react-native/Libraries/react-native/react-native.js"),u=t("gl-react-native/index.ios.js"),c=u.Shaders.create({display2:{frag:"\nprecision highp float;\n\nvarying vec2 uv;\nuniform sampler2D t1;\nuniform sampler2D t2;\nuniform bool vertical;\n\nvoid main () {\n float v = vertical ? 1.0 : 0.0;\n vec2 p = uv * mix(vec2(2.0, 1.0), vec2(1.0, 2.0), v);\n vec4 c1 = step(mix(p.x, p.y, v), 1.0) * texture2D(t1, p);\n vec4 c2 = step(1.0, mix(p.x, p.y, v)) * texture2D(t2, p - vec2(1.0-v, v));\n gl_FragColor = c1 + c2;\n}\n"}});n.exports=u.createComponent(function(e){var t=e.width,n=e.height,r=e.children,l=e.vertical,p=o(e,["width","height","children","vertical"]);if(!r||2!==r.length)throw new Error("You must provide 2 children to Display2");var h=a(r,2),d=h[0],f=h[1];if(l){var v=[f,d];d=v[0],f=v[1]}return s.createElement(u.View,i({},p,{shader:c.display2,width:t,height:n,uniforms:{t1:d,t2:f,vertical:!!l},debug:!0}))},{displayName:"Display2"})}),__d("Tests/Copy.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.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("react-native/Libraries/react-native/react-native.js"),s=t("gl-react-native/index.ios.js"),u=s.Shaders.create({Copy:{frag:"\nprecision highp float;\n\nvarying vec2 uv;\nuniform sampler2D t;\nuniform bool preventAlphaMult;\n\nvoid main () {\n vec4 c = texture2D(t, uv);\n if (preventAlphaMult) // (I know if() in glsl is not performant. don't do this. It's just for readability purpose here)\n gl_FragColor = c / sqrt(c.a);\n else\n gl_FragColor = c;\n}\n"}});n.exports=s.createComponent(function(e){var t=e.width,n=e.height,r=e.children,c=e.last,l=o(e,["width","height","children","last"]);return a.createElement(s.View,i({},l,{shader:u.Copy,width:t,height:n,uniforms:{t:r,preventAlphaMult:!c}}))},{displayName:"Copy"})}),__d("Tests/TransparentNonPremultiplied.js",["react-native/Libraries/react-native/react-native.js","gl-react-native/index.ios.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("react-native/Libraries/react-native/react-native.js"),s=t("gl-react-native/index.ios.js"),u=s.Shaders.create({TransparentNonPremultiplied:{frag:"\nprecision highp float;\n\nvarying vec2 uv;\nuniform sampler2D t;\n\nvoid main () {\n gl_FragColor = vec4(texture2D(t, uv).rgb, 0.0);\n}\n"}});n.exports=s.createComponent(function(e){var t=e.children,n=o(e,["children"]);return a.createElement(s.View,i({},n,{opaque:!1,shader:u.TransparentNonPremultiplied,uniforms:{t:t}}))},{displayName:"TransparentNonPremultiplied"})}),require("Tests/index.ios.js");