0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,orginal:t,name:r}))},r.prototype._serializeMappings=function(){var e,t=0,n=1,r=0,s=0,a=0,u=0,c="";this._mappings.sort(i.compareByGeneratedPositions);for(var l=0,p=this._mappings.length;p>l;l++){if(e=this._mappings[l],e.generatedLine!==n)for(t=0;e.generatedLine!==n;)c+=";",n++;else if(l>0){if(!i.compareByGeneratedPositions(e,this._mappings[l-1]))continue;c+=","}c+=o.encode(e.generatedColumn-t),t=e.generatedColumn,e.source&&(c+=o.encode(this._sources.indexOf(e.source)-u),u=this._sources.indexOf(e.source),c+=o.encode(e.originalLine-1-s),s=e.originalLine-1,c+=o.encode(e.originalColumn-r),r=e.originalColumn,e.name&&(c+=o.encode(this._names.indexOf(e.name)-a),a=this._names.indexOf(e.name)))}return c},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,file:this._file,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this)},t.SourceMapGenerator=r}),e("source-map/base64-vlq",["require","exports","module","source-map/base64"],function(e,t,n){function r(e){return 0>e?(-e<<1)+1:(e<<1)+0}function o(e){var t=1===(1&e),n=e>>1;return t?-n:n}var i=e("./base64"),s=5,a=1<>>=s,o>0&&(t|=c),n+=i.encode(t);while(o>0);return n},t.decode=function(e){var t,n,r=0,a=e.length,l=0,p=0;do{if(r>=a)throw new Error("Expected more digits in base 64 VLQ value.");n=i.decode(e.charAt(r++)),t=!!(n&c),n&=u,l+=n<r)-(r>n)}function p(e,t,n){var r;return(r=l(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r||n?r:(r=l(e.name,t.name))?r:(r=e.generatedLine-t.generatedLine,r?r:e.generatedColumn-t.generatedColumn))}function h(e,t,n){var r;return(r=e.generatedLine-t.generatedLine)?r:(r=e.generatedColumn-t.generatedColumn,r||n?r:(r=l(e.source,t.source))?r:(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,r?r:l(e.name,t.name)))}t.getArg=r;var d=/([\w+\-.]+):\/\/((\w+:\w+)@)?([\w.]+)?(:(\d+))?(\S+)?/,f=/^data:.+\,.+/;t.urlParse=o,t.urlGenerate=i,t.join=s,t.toSetString=a,t.fromSetString=u,t.relative=c,t.compareByOriginalPositions=p,t.compareByGeneratedPositions=h}),e("source-map/array-set",["require","exports","module","source-map/util"],function(e,t,n){function r(){this._array=[],this._set={}}var o=e("./util");r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;i>o;o++)n.add(e[o],t);return n},r.prototype.add=function(e,t){var n=this.has(e),r=this._array.length;(!n||t)&&this._array.push(e),n||(this._set[o.toSetString(e)]=r)},r.prototype.has=function(e){return Object.prototype.hasOwnProperty.call(this._set,o.toSetString(e))},r.prototype.indexOf=function(e){if(this.has(e))return this._set[o.toSetString(e)];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e0;)if(";"===d.charAt(0))i++,d=d.slice(1),s=0;else if(","===d.charAt(0))d=d.slice(1);else{if(n={},n.generatedLine=i,r=a.decode(d),n.generatedColumn=s+r.value,s=n.generatedColumn,d=r.rest,d.length>0&&!h.test(d.charAt(0))){if(r=a.decode(d),n.source=this._sources.at(l+r.value),l+=r.value,d=r.rest,0===d.length||h.test(d.charAt(0)))throw new Error("Found a source, but no line and column");if(r=a.decode(d),n.originalLine=u+r.value,u=n.originalLine,n.originalLine+=1,d=r.rest,0===d.length||h.test(d.charAt(0)))throw new Error("Found a source and line, but no column");r=a.decode(d),n.originalColumn=c+r.value,c=n.originalColumn,d=r.rest,d.length>0&&!h.test(d.charAt(0))&&(r=a.decode(d),n.name=this._names.at(p+r.value),p+=r.value,d=r.rest)}this.__generatedMappings.push(n),"number"==typeof n.originalLine&&this.__originalMappings.push(n)}this.__originalMappings.sort(o.compareByOriginalPositions)},r.prototype._findMapping=function(e,t,n,r,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return i.search(e,t,o)},r.prototype.originalPositionFor=function(e){var t={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositions);if(n){var r=o.getArg(n,"source",null);return r&&this.sourceRoot&&(r=o.join(this.sourceRoot,r)),{source:r,line:o.getArg(n,"originalLine",null),column:o.getArg(n,"originalColumn",null),name:o.getArg(n,"name",null)}}return{source:null,line:null,column:null,name:null}},r.prototype.sourceContentFor=function(e){if(!this.sourcesContent)return null;if(this.sourceRoot&&(e=o.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var t;if(this.sourceRoot&&(t=o.urlParse(this.sourceRoot))){var n=e.replace(/^file:\/\//,"");if("file"==t.scheme&&this._sources.has(n))return this.sourcesContent[this._sources.indexOf(n)];if((!t.path||"/"==t.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}throw new Error('"'+e+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(e){var t={source:o.getArg(e,"source"),originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};this.sourceRoot&&(t.source=o.relative(this.sourceRoot,t.source));var n=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions);return n?{line:o.getArg(n,"generatedLine",null),column:o.getArg(n,"generatedColumn",null)}:{line:null,column:null}},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.prototype.eachMapping=function(e,t,n){var i,s=t||null,a=n||r.GENERATED_ORDER;switch(a){case r.GENERATED_ORDER:i=this._generatedMappings;break;case r.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;i.map(function(e){var t=e.source;return t&&u&&(t=o.join(u,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name}}).forEach(e,s)},t.SourceMapConsumer=r}),e("source-map/binary-search",["require","exports","module"],function(e,t,n){function r(e,t,n,o,i){var s=Math.floor((t-e)/2)+e,a=i(n,o[s],!0);return 0===a?o[s]:a>0?t-s>1?r(s,t,n,o,i):o[s]:s-e>1?r(e,s,n,o,i):0>e?null:o[e]}t.search=function(e,t,n){return t.length>0?r(-1,t.length,e,t,n):null}}),e("source-map/source-node",["require","exports","module","source-map/source-map-generator","source-map/util"],function(e,t,n){function r(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=void 0===e?null:e,this.column=void 0===t?null:t,this.source=void 0===n?null:n,this.name=void 0===o?null:o,null!=r&&this.add(r)}var o=e("./source-map-generator").SourceMapGenerator,i=e("./util");r.fromStringWithSourceMap=function(e,t){function n(e,t){null===e||void 0===e.source?o.add(t):o.add(new r(e.originalLine,e.originalColumn,e.source,t,e.name))}var o=new r,i=e.split("\n"),s=1,a=0,u=null;return t.eachMapping(function(e){if(null===u){for(;s=0;t--)this.prepend(e[t]);else{if(!(e instanceof r||"string"==typeof e))throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,o=this.children.length;o>n;n++)t=this.children[n],t instanceof r?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;r-1>n;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n instanceof r?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;n>t;t++)this.children[t]instanceof r&&this.children[t].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),t=0,n=o.length;n>t;t++)e(i.fromSetString(o[t]),this.sourceContents[o[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new o(e),r=!1,i=null,s=null,a=null,u=null;return this.walk(function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?((i!==o.source||s!==o.line||a!==o.column||u!==o.name)&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column
+},name:o.name}),i=o.source,s=o.line,a=o.column,u=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1),e.split("").forEach(function(e){"\n"===e?(t.line++,t.column=0):t.column++})}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},t.SourceNode=r}),this.sourceMap={SourceMapConsumer:n("source-map/source-map-consumer").SourceMapConsumer,SourceMapGenerator:n("source-map/source-map-generator").SourceMapGenerator,SourceNode:n("source-map/source-node").SourceNode}}var i={};o.call(i),n.exports=i.sourceMap}),__d("react-native/Libraries/JavaScriptAppEngine/Initialization/source-map-url.js",function(e,t,n,r){!function(){var e=null;void function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof r?n.exports=o():t.sourceMappingURL=o()}(this,function(){var e=/[#@] sourceMappingURL=([^\s'"]*)/,t=RegExp("(?:/\\*(?:\\s*\r?\n(?://)?)?(?:"+e.source+")\\s*\\*/|//(?:"+e.source+"))\\s*$");return{regex:t,_innerRegex:e,getFrom:function(e){var n=e.match(t);return n?n[1]||n[2]||"":null},existsIn:function(e){return t.test(e)},removeFrom:function(e){return e.replace(t,"")},insertBefore:function(e,n){var r=e.match(t);return r?e.slice(0,r.index)+n+e.slice(r.index):e+n}}})}()}),__d("parseErrorStack",function(e,t,n,r){"use strict";function o(e,t){try{var n=e.originalPositionFor({line:t.lineNumber,column:t.column});n&&(t.file=n.source,t.lineNumber=n.line,t.column=n.column)}catch(r){}}function i(e,t){if(!e||!e.stack)return[];for(var n=Array.isArray(e.stack)?e.stack:s.parse(e.stack),r=e.framesToPop||0;r--;)n.shift();return t&&n.forEach(o.bind(null,t)),n}var s=t("stacktrace-parser/index.js");n.exports=i}),__d("stacktrace-parser/index.js",function(e,t,n,r){n.exports=t("stacktrace-parser/lib/stacktrace-parser.js")}),__d("stacktrace-parser/lib/stacktrace-parser.js",function(e,t,n,r){var o="",i={parse:function(e){for(var t,n,r=/^\s*at (?:(?:(?:Anonymous function)?|((?:\[object object\])?\S+(?: \[as \S+\])?)) )?\(?((?:file|http|https):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^(?:\s*(\S*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,s=/^\s*at (?:((?:\[object object\])?\S+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=e.split("\n"),u=[],c=0,l=a.length;l>c;++c){if(t=i.exec(a[c]))n={file:t[3],methodName:t[1]||o,lineNumber:+t[4],column:t[5]?+t[5]:null};else if(t=r.exec(a[c]))n={file:t[2],methodName:t[1]||o,lineNumber:+t[3],column:t[4]?+t[4]:null};else{if(!(t=s.exec(a[c])))continue;n={file:t[2],methodName:t[1]||o,lineNumber:+t[3],column:t[4]?+t[4]:null}}u.push(n)}return u}};n.exports=i}),__d("Alert",function(e,t,n,r){"use strict";var o=t("AlertIOS"),i=t("Platform"),s=t("NativeModules").DialogManagerAndroid,a=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,t,n,r){"ios"===i.OS?o.alert(e,t,n,r):"android"===i.OS&&u.alert(e,t,n)}}]),e}(),u=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,t,n){var r={title:e||"",message:t||""},o=n?n.slice(0,3):[{text:"OK"}],i=o.pop(),a=o.pop(),u=o.pop();u&&(r=babelHelpers["extends"]({},r,{buttonNeutral:u.text||""})),a&&(r=babelHelpers["extends"]({},r,{buttonNegative:a.text||""})),i&&(r=babelHelpers["extends"]({},r,{buttonPositive:i.text||""})),s.showAlert(r,function(e){return console.warn(t)},function(e,t){e===s.buttonClicked&&(t===s.buttonNeutral?u.onPress&&u.onPress():t===s.buttonNegative?a.onPress&&a.onPress():t===s.buttonPositive&&i.onPress&&i.onPress())})}}]),e}();n.exports=a}),__d("AlertIOS",function(e,t,n,r){"use strict";var o=t("NativeModules").AlertManager,i=t("invariant"),s=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"alert",value:function(e,t,n,r){var i,s,a=[],u=[];n&&n.forEach(function(e,t){if(a[t]=e.onPress,"cancel"==e.style?i=String(t):"destructive"==e.style&&(s=String(t)),e.text||t<(n||[]).length-1){var r={};r[t]=e.text||"",u.push(r)}}),o.alertWithArgs({title:e||void 0,message:t||void 0,buttons:u,type:r||void 0,cancelButtonKey:i,destructiveButtonKey:s},function(e,t){var n=a[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),i(!(r&&n)&&(r||n),"Must provide either a button list or a callback, but not both"),n||(n=[{onPress:r}]),this.alert(e,t,n,"plain-text")}}]),e}();n.exports=s}),__d("XMLHttpRequest",function(e,t,n,r){"use strict";var o=t("FormData"),i=t("RCTNetworking"),s=t("XMLHttpRequestBase"),a=function(e){function t(){babelHelpers.classCallCheck(this,t);var e=babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).call(this));return e.upload={},e}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"sendImpl",value:function(e,t,n,r){"string"==typeof r?r={string:r}:r instanceof o&&(r={formData:r.getParts()}),i.sendRequest({method:e,url:t,data:r,headers:n,incrementalUpdates:this.onreadystatechange?!0:!1},this.didCreateRequest.bind(this))}}]),t}(s);n.exports=a}),__d("FormData",function(e,t,n,r){"use strict";var o=function(){function e(){babelHelpers.classCallCheck(this,e),this._parts=[]}return babelHelpers.createClass(e,[{key:"append",value:function(e,t){this._parts.push([e,t])}},{key:"getParts",value:function(){return this._parts.map(function(e){var t=babelHelpers.slicedToArray(e,2),n=t[0],r=t[1],o='form-data; name="'+n+'"',i={"content-disposition":o};return"string"==typeof r?{string:r,headers:i,fieldName:n}:("string"==typeof r.name&&(i["content-disposition"]+='; filename="'+r.name+'"'),"string"==typeof r.type&&(i["content-type"]=r.type),babelHelpers["extends"]({},r,{headers:i,fieldName:n}))})}}]),e}();n.exports=o}),__d("RCTNetworking",function(e,t,n,r){"use strict";var o=t("NativeModules").Networking,i=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"sendRequest",value:function(e,t){o.sendRequest(e,t)}},{key:"abortRequest",value:function(e){o.cancelRequest(e)}}]),e}();n.exports=i}),__d("XMLHttpRequestBase",function(e,t,n,r){"use strict";var o=t("RCTNetworking"),i=t("RCTDeviceEventEmitter"),s=function(){function e(){babelHelpers.classCallCheck(this,e),this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.onreadystatechange=null,this.onload=null,this.upload=void 0,this._reset(),this._method=null,this._url=null,this._aborted=!1}return babelHelpers.createClass(e,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.responseText="",this.status=0,this._requestId=null,this._headers={},this._sent=!1,this._lowerCaseResponseHeaders={},this._clearSubscriptions()}},{key:"didCreateRequest",value:function(e){var t=this;this._requestId=e,this._subscriptions.push(i.addListener("didSendNetworkData",function(e){var n;return(n=t._didUploadProgress).call.apply(n,[t].concat(babelHelpers.toConsumableArray(e)))})),this._subscriptions.push(i.addListener("didReceiveNetworkResponse",function(e){var n;return(n=t._didReceiveResponse).call.apply(n,[t].concat(babelHelpers.toConsumableArray(e)))})),this._subscriptions.push(i.addListener("didReceiveNetworkData",function(e){var n;return(n=t._didReceiveData).call.apply(n,[t].concat(babelHelpers.toConsumableArray(e)))})),this._subscriptions.push(i.addListener("didCompleteNetworkResponse",function(e){var n;return(n=t._didCompleteResponse).call.apply(n,[t].concat(babelHelpers.toConsumableArray(e)))}))}},{key:"_didUploadProgress",value:function(e,t,n){if(e===this._requestId&&this.upload&&this.upload.onprogress){var r={lengthComputable:!0,loaded:t,total:n};this.upload.onprogress(r)}}},{key:"_didReceiveResponse",value:function(e,t,n){e===this._requestId&&(this.status=t,this.setResponseHeaders(n),this.setReadyState(this.HEADERS_RECEIVED))}},{key:"_didReceiveData",value:function(e,t){e===this._requestId&&(this.responseText?this.responseText+=t:this.responseText=t,this.setReadyState(this.LOADING))}},{key:"_didCompleteResponse",value:function(e,t){e===this._requestId&&(t&&(this.responseText=t),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach(function(e){e.remove()}),this._subscriptions=[]}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders||{};return Object.keys(e).map(function(t){return t+": "+e[t]}).join("\n")}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error("Request has not been opened");this._headers[e.toLowerCase()]=t}},{key:"open",value:function(e,t,n){if(this.readyState!==this.UNSENT)throw new Error("Cannot open, already sending");if(void 0!==n&&!n)throw new Error("Synchronous http requests are not supported");this._reset(),this._method=e,this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"sendImpl",value:function(e,t,n,r){throw new Error("Subclass must define sendImpl method")}},{key:"send",value:function(e){if(this.readyState!==this.OPENED)throw new Error("Request has not been opened");if(this._sent)throw new Error("Request has already been sent");this._sent=!0,this.sendImpl(this._method,this._url,this._headers,e)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&o.abortRequest(this._requestId),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,n){return e[n.toLowerCase()]=t[n],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e;var t=this.onreadystatechange;t&&t(null),e!==this.DONE||this._aborted||this._sendLoad()}},{key:"_sendLoad",value:function(){var e=this.onload;e&&e(null)}}]),e}();n.exports=s}),__d("fetch",function(e,t,n,r){"use strict";var o={};!function(){function e(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){this.map={},e instanceof n?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function a(e){var t=new FileReader;return t.readAsText(e),i(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(f.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(f.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else{if(e)throw new Error("unsupported BodyInit type");this._bodyText=""}},f.blob?(this.blob=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return a(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=r(this);return e?e:Promise.resolve(this._bodyText)},f.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function c(e){var t=e.toUpperCase();return v.indexOf(t)>-1?t:e}function l(e,t){t=t||{};var r=t.body;if(l.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new n(e.headers)),this.method=e.method,this.mode=e.mode,r||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",(t.headers||!this.headers)&&(this.headers=new n(t.headers)),this.method=c(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function h(e){var t=new n,r=e.getAllResponseHeaders().trim().split("\n");return r.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t}function d(e,t){t||(t={}),this._initBody(e),this.type="default",this.url=null,this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof n?t.headers:new n(t.headers),this.url=t.url||""}if(!o.fetch){n.prototype.append=function(n,r){n=e(n),r=t(r);var o=this.map[n];o||(o=[],this.map[n]=o),o.push(r)},n.prototype["delete"]=function(t){delete this.map[e(t)]},n.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},n.prototype.getAll=function(t){return this.map[e(t)]||[]},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.set=function(n,r){this.map[e(n)]=[t(r)]},n.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)};var f={blob:"function"==typeof FileReader&&"function"==typeof Blob&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"function"==typeof FormData},v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];l.prototype.clone=function(){return new l(this)},u.call(l.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new n(this.headers),url:this.url})},u.call(d.prototype),o.Headers=n,o.Request=l,o.Response=d,o.fetch=function(e,t){var n;return n=l.prototype.isPrototypeOf(e)&&!t?e:new l(e,t),new Promise(function(e,t){function r(){return"responseURL"in o?o.responseURL:/^X-Request-URL:/m.test(o.getAllResponseHeaders())?o.getResponseHeader("X-Request-URL"):void 0}var o=new XMLHttpRequest;o.onload=function(){var n=1223===o.status?204:o.status;if(100>n||n>599)return void t(new TypeError("Network request failed"));var i={status:n,statusText:o.statusText,headers:h(o),url:r()},s="response"in o?o.response:o.responseText;e(new d(s,i))},o.onerror=function(){t(new TypeError("Network request failed"))},o.open(n.method,n.url,!0),"include"===n.credentials&&(o.withCredentials=!0),"responseType"in o&&f.blob&&(o.responseType="blob"),n.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send("undefined"==typeof n._bodyInit?null:n._bodyInit)})},o.fetch.polyfill=!0}}(),n.exports=o}),__d("Geolocation",function(e,t,n,r){"use strict";var o=t("RCTDeviceEventEmitter"),i=t("NativeModules").LocationObserver,s=t("invariant"),a=t("logError"),u=t("warning"),c=[],l=!1,p={getCurrentPosition:function(e,t,n){s("function"==typeof e,"Must provide a valid geo_success callback."),i.getCurrentPosition(n||{},e,t||a)},watchPosition:function(e,t,n){l||(i.startObserving(n||{}),l=!0);var r=c.length;return c.push([o.addListener("geolocationDidChange",e),t?o.addListener("geolocationError",t):null]),r},clearWatch:function(e){var t=c[e];if(t){t[0].remove();var n=t[1];n&&n.remove(),c[e]=void 0;for(var r=!0,o=0;o=o;o++)if(i(e,o)&&i(t,o))r=o;else if(e.charAt(o)!==t.charAt(o))break;var a=e.substr(0,r);return s(a)?void 0:"production"!==process.env.NODE_ENV?d(!1,"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,t,a):d(!1),a}function p(e,t,n,r,o,i){e=e||"",t=t||"",e===t?"production"!==process.env.NODE_ENV?d(!1,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e):d(!1):void 0;var s=a(t,e);s||a(e,t)?void 0:"production"!==process.env.NODE_ENV?d(!1,"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,t):d(!1);for(var l=0,p=s?u:c,h=e;;h=p(h,t)){var f;if(o&&h===e||i&&h===t||(f=n(h,s,r)),f===!1||h===t)break;l++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:a,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("ReactNativeMount",function(e,t,n,r){"use strict";function o(e,t){return e+"["+t+"]"}function i(e,t,n,r){var o=l.mountComponent(e,t,r,f);e._renderedComponent._topLevelWrapper=e,y._mountImageIntoNode(o,n)}function s(e,t,n){var r=h.ReactReconcileTransaction.getPooled();r.perform(i,null,e,t,n,r),h.ReactReconcileTransaction.release(r)}var a=t("ReactElement"),u=t("ReactNativeTagHandles"),c=t("ReactPerf"),l=t("ReactReconciler"),p=t("ReactUpdateQueue"),h=t("ReactUpdates"),d=t("UIManager"),f=t("emptyObject"),v=t("instantiateReactComponent"),m=t("shouldUpdateReactComponent"),g=function(){};g.prototype.isReactComponent={},g.prototype.render=function(){return this.props};var y={instanceCount:0,_instancesByContainerID:{},findNodeHandle:t("findNodeHandle"),nativeTagToRootNodeID:function(e){return u.tagToRootNodeID[e]},renderComponent:function(e,t,n){var r=new a(g,null,null,null,null,null,e),i=u.tagToRootNodeID[t];if(i){var c=y._instancesByContainerID[i];if(c){var l=c._currentElement,d=l.props;if(m(d,e))return p.enqueueElementInternal(c,r),n&&p.enqueueCallbackInternal(c,n),c;y.unmountComponentAtNode(t)}}if(!u.reactTagIsNativeTopRootID(t))return void console.error("You cannot render into anything but a top root");var i=u.allocateRootNodeIDForTag(t);u.associateRootNodeIDWithMountedNodeHandle(i,t);var f=v(r);y._instancesByContainerID[i]=f;var _=o(i,y.instanceCount++);h.batchedUpdates(s,f,_,i);var b=f.getPublicInstance();return n&&n.call(b),b},_mountImageIntoNode:c.measure("ReactComponentBrowserEnvironment","mountImageIntoNode",function(e,t){u.associateRootNodeIDWithMountedNodeHandle(e.rootNodeID,e.tag),d.setChildren(u.mostRecentMountedNodeHandleForRootNodeID(t),[e.tag])}),unmountComponentAtNodeAndRemoveContainer:function(e){y.unmountComponentAtNode(e),d.removeRootView(e)},unmountComponentAtNode:function(e){if(!u.reactTagIsNativeTopRootID(e))return console.error("You cannot render into anything but a top root"),!1;var t=u.tagToRootNodeID[e],n=y._instancesByContainerID[t];return n?(y.unmountComponentFromNode(n,t),delete y._instancesByContainerID[t],!0):!1},unmountComponentFromNode:function(e,t){l.unmountComponent(e);var n=u.mostRecentMountedNodeHandleForRootNodeID(t);d.removeSubviewsFromContainerWithID(n)},getNode:function(e){return u.rootNodeIDToTag[e]},getID:function(e){return u.tagToRootNodeID[e]}};y.renderComponent=c.measure("ReactMount","_renderNewRootComponent",y.renderComponent),n.exports=y}),__d("ReactReconciler",function(e,t,n,r){"use strict";function o(){i.attachRefs(this,this._currentElement)}var i=t("ReactRef"),s={mountComponent:function(e,t,n,r){var i=e.mountComponent(t,n,r);return e._currentElement&&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 s=e._currentElement;if(t!==s||r!==e._context){var a=i.shouldUpdateRefs(s,t);a&&i.detachRefs(e,s),e.receiveComponent(t,n,r),a&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(o,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};n.exports=s}),__d("ReactRef",function(e,t,n,r){"use strict";function o(e,t,n){"function"==typeof e?e(t.getPublicInstance()):s.addComponentAsRefTo(t,e,n)}function i(e,t,n){"function"==typeof e?e(null):s.removeComponentAsRefFrom(t,e,n)}var s=t("ReactOwner"),a={};a.attachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&o(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null===e||e===!1,r=null===t||t===!1;return n||r||t._owner!==e._owner||t.ref!==e.ref},a.detachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&i(n,e,t._owner)}},n.exports=a}),__d("ReactOwner",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){i.isValidOwner(n)?void 0:"production"!==process.env.NODE_ENV?o(!1,"addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."):o(!1),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){i.isValidOwner(n)?void 0:"production"!==process.env.NODE_ENV?o(!1,"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner)."):o(!1),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};n.exports=i}),__d("ReactUpdateQueue",function(e,t,n,r){"use strict";function o(e){c.enqueueUpdate(e)}function i(e,t){var n=u.get(e);return n?("production"!==process.env.NODE_ENV&&("production"!==process.env.NODE_ENV?h(null==s.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):void 0),n):("production"!==process.env.NODE_ENV&&("production"!==process.env.NODE_ENV?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):void 0),null)}var s=t("ReactCurrentOwner"),a=t("ReactElement"),u=t("ReactInstanceMap"),c=t("ReactUpdates"),l=t("Object.assign"),p=t("invariant"),h=t("warning"),d={isMounted:function(e){if("production"!==process.env.NODE_ENV){var t=s.current;null!==t&&("production"!==process.env.NODE_ENV?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"):void 0,t._warnedAboutRefsInRender=!0)}var n=u.get(e);return n?!!n._renderedComponent:!1},enqueueCallback:function(e,t){"function"!=typeof t?"production"!==process.env.NODE_ENV?p(!1,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):p(!1):void 0;var n=i(e);return n?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void o(n)):null},enqueueCallbackInternal:function(e,t){"function"!=typeof t?"production"!==process.env.NODE_ENV?p(!1,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):p(!1):void 0,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;n?void 0:"production"!==process.env.NODE_ENV?p(!1,"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."):p(!1);var r=n._pendingElement||n._currentElement,i=r.props,s=l({},i.props,t);n._pendingElement=a.cloneAndReplaceProps(r,a.cloneAndReplaceProps(i,s)),o(n)},enqueueReplaceProps:function(e,t){var n=i(e,"replaceProps");n&&d.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;n?void 0:"production"!==process.env.NODE_ENV?p(!1,"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."):p(!1);var r=n._pendingElement||n._currentElement,i=r.props;n._pendingElement=a.cloneAndReplaceProps(r,a.cloneAndReplaceProps(i,t)),o(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,o(e)}};n.exports=d}),__d("ReactUpdates",function(e,t,n,r){"use strict";function o(){x.ReactReconcileTransaction&&S?void 0:"production"!==process.env.NODE_ENV?g(!1,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):g(!1)}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=x.ReactReconcileTransaction.getPooled(!1)}function s(e,t,n,r,i,s){o(),S.batchedUpdates(e,t,n,r,i,s)}function a(e,t){return e._mountOrder-t._mountOrder}function u(e){var t=e.dirtyComponentsLength;t!==y.length?"production"!==process.env.NODE_ENV?g(!1,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",t,y.length):g(!1):void 0,y.sort(a);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 component.'),this._rootNodeID=e;var r=o.allocateTag(),s=o.getNativeTopRootIDFromNodeID(e);return i.createView(r,"RCTRawText",s?o.rootNodeIDToTag[s]:null,{text:this._stringText}),{rootNodeID:e,tag:r}},receiveComponent:function(e,t,n){if(e!==this._currentElement){this._currentElement=e;var r=""+e;r!==this._stringText&&(this._stringText=r,i.updateView(o.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),"RCTRawText",{text:this._stringText}))}},unmountComponent:function(){this._currentElement=null,this._stringText=null,this._rootNodeID=null}}),n.exports=u}),__d("PerformanceLogger",function(e,t,n,r){"use strict";var o=t("BatchedBridge"),i=t("performanceNow"),s={},a={},u={addTimespan:function(e,t,n){s[e]||(s[e]={description:n,totalTime:t})},startTimespan:function(e,t){s[e]||(s[e]={description:t,startTime:i()})},stopTimespan:function(e){s[e]&&s[e].startTime&&(s[e].endTime||(s[e].endTime=i(),s[e].totalTime=s[e].endTime-s[e].startTime))},clear:function(){s={},a={}},clearExceptTimespans:function(e){s=Object.keys(s).reduce(function(t,n){return-1!==e.indexOf(n)&&(t[n]=s[n]),t},{}),a={}},getTimespans:function(){return s},hasTimespan:function(e){return!!s[e]},logTimespans:function(){for(var e in s)s[e].totalTime&&console.log(e+": "+s[e].totalTime+"ms")},addTimespans:function(e,t){for(var n=0,r=e.length;r>n;n+=2){var o=t[n/2];u.addTimespan(o,e[n+1]-e[n],o)}},setExtra:function(e,t){a[e]||(a[e]=t)},getExtras:function(){return a}};o.registerCallableModule("PerformanceLogger",u),n.exports=u}),__d("EventPluginHub",function(e,t,n,r){"use strict";function o(){var e=g&&g.traverseTwoPhase&&g.traverseEnterLeave;"production"!==process.env.NODE_ENV?p(e,"InstanceHandle not injected before use!"):void 0}var i=t("EventPluginRegistry"),s=t("EventPluginUtils"),a=t("ReactErrorUtils"),u=t("accumulateInto"),c=t("forEachAccumulated"),l=t("invariant"),p=t("warning"),h={},d=null,f=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},v=function(e){return f(e,!0)},m=function(e){return f(e,!1)},g=null,y={injection:{injectMount:s.injection.injectMount,injectInstanceHandle:function(e){g=e,"production"!==process.env.NODE_ENV&&o()},getInstanceHandle:function(){return"production"!==process.env.NODE_ENV&&o(),g},injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.registrationNameModules,putListener:function(e,t,n){"function"!=typeof n?"production"!==process.env.NODE_ENV?l(!1,"Expected %s listener to be a function, instead got type %s",t,typeof n):l(!1):void 0;var r=h[t]||(h[t]={});r[e]=n;var o=i.registrationNameModules[t];o&&o.didPutListener&&o.didPutListener(e,t,n)},getListener:function(e,t){var n=h[t];return n&&n[e]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=h[t];r&&delete r[e]},deleteAllListeners:function(e){for(var t in h)if(h[t][e]){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t),delete h[t][e]}},extractEvents:function(e,t,n,r,o){for(var s,a=i.plugins,c=0;c-1?void 0:"production"!==process.env.NODE_ENV?a(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):a(!1),!l.plugins[n]){t.extractEvents?void 0:"production"!==process.env.NODE_ENV?a(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):a(!1),l.plugins[n]=t;var r=t.eventTypes;for(var o in r)i(r[o],t,o)?void 0:"production"!==process.env.NODE_ENV?a(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e):a(!1)}}}function i(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?"production"!==process.env.NODE_ENV?a(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n):a(!1):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];s(i,t,n)}return!0}return e.registrationName?(s(e.registrationName,t,n),!0):!1}function s(e,t,n){l.registrationNameModules[e]?"production"!==process.env.NODE_ENV?a(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):a(!1):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=t("invariant"),u=null,c={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){u?"production"!==process.env.NODE_ENV?a(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):a(!1):void 0,u=Array.prototype.slice.call(e),o()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];c.hasOwnProperty(n)&&c[n]===r||(c[n]?"production"!==process.env.NODE_ENV?a(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",n):a(!1):void 0,c[n]=r,t=!0)}t&&o()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){u=null;for(var e in c)c.hasOwnProperty(e)&&delete c[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};n.exports=l}),__d("EventPluginUtils",function(e,t,n,r){"use strict";function o(e){return e===_.topMouseUp||e===_.topTouchEnd||e===_.topTouchCancel}function i(e){return e===_.topMouseMove||e===_.topTouchMove}function s(e){return e===_.topMouseDown||e===_.topTouchStart}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=y.Mount.getNode(r),t?v.invokeGuardedCallbackWithCatch(o,n,e,r):v.invokeGuardedCallback(o,n,e,r),e.currentTarget=null}function u(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if("production"!==process.env.NODE_ENV&&d(e),Array.isArray(n))for(var o=0;oe,"Maximum deep merge depth exceeded. You may be attempting to merge circular structures in an unsupported way.")},checkArrayStrategy:function(e){o(void 0===e||e in u.ArrayStrategies,"You must provide an array strategy to deep merge functions to instruct the deep merge how to resolve merging two arrays.")},ArrayStrategies:i({Clobber:!0,IndexByIndex:!0})};n.exports=u}),__d("NodeHandle",function(e,t,n,r){var o={injection:{injectImplementation:function(e){o._Implementation=e}},_Implementation:null,getRootNodeID:function(e){return o._Implementation.getRootNodeID(e)}};n.exports=o}),__d("ReactDefaultBatchingStrategy",function(e,t,n,r){"use strict";function o(){this.reinitializeTransaction()}var i=t("ReactUpdates"),s=t("Transaction"),a=t("Object.assign"),u=t("emptyFunction"),c={initialize:u,close:function(){d.isBatchingUpdates=!1}},l={initialize:u,close:i.flushBatchedUpdates.bind(i)},p=[l,c];a(o.prototype,s.Mixin,{getTransactionWrappers:function(){return p}});var h=new o,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var s=d.isBatchingUpdates;d.isBatchingUpdates=!0,s?e(t,n,r,o,i):h.perform(e,null,t,n,r,o,i)}};n.exports=d}),__d("ReactNativeComponentEnvironment",function(e,t,n,r){"use strict";var o=t("ReactNativeDOMIDOperations"),i=t("ReactNativeReconcileTransaction"),s={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:o.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(){},clearNode:function(){},ReactReconcileTransaction:i};n.exports=s}),__d("ReactNativeDOMIDOperations",function(e,t,n,r){"use strict";var o=t("ReactNativeTagHandles"),i=t("ReactMultiChildUpdateTypes"),s=t("ReactPerf"),a=t("UIManager"),u=function(e,t){if(e.length){for(var n={},r=0;r0?setTimeout(i,0):h(i))}function i(){_=0;var e=v.size;m.forEach(function(e){return v.add(e)}),g.forEach(function(e){return v["delete"](e)});var t=v.size;if(0!==e&&0===t?d.emit(f.Events.interactionComplete):0===e&&0!==t&&d.emit(f.Events.interactionStart),0===t)for(;y.hasTasksToProcess();)if(y.processNext(),S>0&&s.getEventLoopRunningTime()>=S){o();break}m.clear(),g.clear()}var s=t("BatchedBridge"),a=t("EventEmitter"),u=t("Set"),c=t("TaskQueue"),l=t("invariant"),p=t("keyMirror"),h=t("setImmediate"),d=new a,f={Events:p({interactionStart:!0,interactionComplete:!0}),runAfterInteractions:function(e){return new Promise(function(t){o(),e&&y.enqueue(e);var n=e&&e.name||"?";y.enqueue({run:t,name:"resolve "+n})})},createInteractionHandle:function(){o();var e=++b;return m.add(e),e},clearInteractionHandle:function(e){l(!!e,"Must provide a handle to clear."),o(),m["delete"](e),g.add(e)},addListener:d.addListener.bind(d),setDeadline:function(e){S=e}},v=new u,m=new u,g=new u,y=new c({onMoreTasks:o}),_=0,b=0,S=-1;n.exports=f}),__d("TaskQueue",function(e,t,n,r){"use strict";var o=t("ErrorUtils"),i=t("invariant"),s=function(){function e(t){var n=t.onMoreTasks;babelHelpers.classCallCheck(this,e),this._onMoreTasks=n,this._queueStack=[{tasks:[],popable:!1}]}return babelHelpers.createClass(e,[{key:"enqueue",value:function(e){this._getCurrentQueue().push(e)}},{key:"hasTasksToProcess",value:function(){return this._getCurrentQueue().length>0}},{key:"processNext",value:function(){var e=this._getCurrentQueue();if(e.length){var t=e.shift();try{t.gen?this._genPromise(t):t.run?t.run():(i("function"==typeof t,"Expected Function, SimpleTask, or PromiseTask, but got: "+JSON.stringify(t)),t())}catch(n){n.message="TaskQueue: Error with task"+(t.name||" ")+": "+n.message,o.reportError(n)}}}},{key:"_getCurrentQueue",value:function(){var e=this._queueStack.length-1,t=this._queueStack[e];return t.popable&&0===t.tasks.length&&this._queueStack.length>1?(this._queueStack.pop(),this._getCurrentQueue()):t.tasks}},{key:"_genPromise",value:function(e){var t=this;this._queueStack.push({tasks:[],popable:!1});var n=this._queueStack.length-1;o.applyWithGuard(e.gen).then(function(){t._queueStack[n].popable=!0,t.hasTasksToProcess()&&t._onMoreTasks()})["catch"](function(t){throw console.warn("TaskQueue: Error resolving Promise in task "+e.name,t),t})}}]),e}();n.exports=s}),__d("Set",function(e,t,n,r){var o=t("Map"),i=t("toIterator"),s=t("_shouldPolyfillES6Collection");n.exports=function(e,t){function n(e){e._map=new o,e.size=e._map.size}if(!s("Set"))return e.Set;var r=function(){function e(t){if(babelHelpers.classCallCheck(this,e),null==this||"object"!=typeof this&&"function"!=typeof this)throw new TypeError("Wrong set object type.");if(n(this),null!=t)for(var r,o=i(t);!(r=o.next()).done;)this.add(r.value)}return babelHelpers.createClass(e,[{key:"add",value:function(e){return this._map.set(e,e),this.size=this._map.size,this}},{key:"clear",value:function(){n(this)}},{key:"delete",value:function(e){var t=this._map["delete"](e);return this.size=this._map.size,t}},{key:"entries",value:function(){return this._map.entries()}},{key:"forEach",value:function(e){for(var t,n=arguments[1],r=this._map.keys();!(t=r.next()).done;)e.call(n,t.value,t.value,this)}},{key:"has",value:function(e){return this._map.has(e)}},{key:"values",value:function(){return this._map.values()}}]),e}();return r.prototype[i.ITERATOR_SYMBOL]=r.prototype.values,r.prototype.keys=r.prototype.values,r}(Function("return this")())}),__d("Map",function(e,t,n,r){var o=t("guid"),i=t("isNode"),s=t("toIterator"),a=t("_shouldPolyfillES6Collection");n.exports=function(e,t){function n(e,t){if(c(t)){var n=S(t);return e._objectIndex[n]}var r=m+t;return"string"==typeof t?e._stringIndex[r]:e._otherIndex[r]}function r(e,t,n){var r=null==n;if(c(t)){var o=S(t);r?delete e._objectIndex[o]:e._objectIndex[o]=n}else{var i=m+t;"string"==typeof t?r?delete e._stringIndex[i]:e._stringIndex[i]=n:r?delete e._otherIndex[i]:e._otherIndex[i]=n}}function u(e){e._mapData=[],e._objectIndex={},e._stringIndex={},e._otherIndex={},e.size=0}function c(e){return null!=e&&("object"==typeof e||"function"==typeof e)}function l(e,t){return{value:e,done:t}}function p(e){return b?Object.isExtensible(e):!0}function h(e){var t;switch(e.nodeType){case 1:t=e.uniqueID;break;case 9:t=e.documentElement.uniqueID;break;default:return null}return t?g+t:null}if(!a("Map"))return e.Map;var d="key",f="value",v="key+value",m="$map_",g="IE_HASH_",y=function(){function e(t){if(babelHelpers.classCallCheck(this,e),!c(this))throw new TypeError("Wrong map object type.");if(u(this),null!=t)for(var n,r=s(t);!(n=r.next()).done;){if(!c(n.value))throw new TypeError("Expected iterable items to be pair objects.");this.set(n.value[0],n.value[1])}}return babelHelpers.createClass(e,[{key:"clear",value:function(){u(this)}},{key:"has",value:function(e){var t=n(this,e);return!(null==t||!this._mapData[t])}},{key:"set",value:function(e,t){var o=n(this,e);return null!=o&&this._mapData[o]?this._mapData[o][1]=t:(o=this._mapData.push([e,t])-1,r(this,e,o),this.size+=1),this}},{key:"get",value:function(e){var r=n(this,e);return null==r?t:this._mapData[r][1]}},{key:"delete",value:function(e){var o=n(this,e);return null!=o&&this._mapData[o]?(r(this,e,t),this._mapData[o]=t,this.size-=1,!0):!1}},{key:"entries",value:function(){return new _(this,v)}},{key:"keys",value:function(){return new _(this,d)}},{key:"values",value:function(){return new _(this,f)}},{key:"forEach",value:function(e,n){if("function"!=typeof e)throw new TypeError("Callback must be callable.");for(var r=e.bind(n||t),o=this._mapData,i=0;i=r?(this._iteratedObject=void 0,e(void 0,!0)):(this._nextIndex=a+1,u===o?e(a,!1):u===i?e(n[a],!1):u===s?e([a,n[a]],!1):void 0)}},{key:"@@iterator",value:function(){return this}}]),t}(),n=function(){function t(e){if(babelHelpers.classCallCheck(this,t),"string"!=typeof e)throw new TypeError("Object is not a string");this._iteratedString=e,this._nextIndex=0}return babelHelpers.createClass(t,[{key:"next",value:function(){if(!this instanceof t)throw new TypeError("Object is not a StringIterator");if(null==this._iteratedString)return e(void 0,!0);var n=this._nextIndex,r=this._iteratedString,o=r.length;if(n>=o)return this._iteratedString=void 0,e(void 0,!0);var i,s=r.charCodeAt(n);if(55296>s||s>56319||n+1===o)i=r[n];else{var a=r.charCodeAt(n+1);i=56320>a||a>57343?r[n]:r[n]+r[n+1]}return this._nextIndex=n+i.length,e(i,!1)}},{key:"@@iterator",value:function(){return this}}]),t}();return function(e,r){return"string"==typeof e?new n(e):Array.isArray(e)?new t(e,r||i):e[a]()}}()}();babelHelpers["extends"](u,{KIND_KEY:o,KIND_VALUE:i,KIND_KEY_VAL:s,ITERATOR_SYMBOL:a}),n.exports=u}),__d("_shouldPolyfillES6Collection",function(e,t,n,r){function o(t){var n=e[t];if(null==n)return!0;if("function"!=typeof e.Symbol)return!0;var r=n.prototype;return null==n||"function"!=typeof n||"function"!=typeof r.clear||0!==(new n).size||"function"!=typeof r.keys||"function"!=typeof r.forEach}n.exports=o}),__d("ReactNativeGlobalResponderHandler",function(e,t,n,r){"use strict";var o=t("ReactNativeTagHandles"),i=t("UIManager"),s={onChange:function(e,t,n){null!==t?i.setJSResponder(o.mostRecentMountedNodeHandleForRootNodeID(t),n):i.clearJSResponder()}};n.exports=s}),__d("ResponderEventPlugin",function(e,t,n,r){"use strict";function o(e,t,n,r){var o=m(e)?w.startShouldSetResponder:g(e)?w.moveShouldSetResponder:e===a.topLevelTypes.topSelectionChange?w.selectionChangeShouldSetResponder:w.scrollShouldSetResponder,i=E?l.getFirstCommonAncestorID(E,t):t,s=i===E,u=p.getPooled(o,i,n,r);u.touchHistory=h.touchHistory,s?c.accumulateTwoPhaseDispatchesSkipTarget(u):c.accumulateTwoPhaseDispatches(u);var f=S(u);if(u.isPersistent()||u.constructor.release(u),!f||f===E)return null;var v,y=p.getPooled(w.responderGrant,f,n,r);y.touchHistory=h.touchHistory,c.accumulateDirectDispatches(y);var R=_(y)===!0;if(E){var T=p.getPooled(w.responderTerminationRequest,E,n,r);T.touchHistory=h.touchHistory,c.accumulateDirectDispatches(T);var x=!b(T)||_(T);if(T.isPersistent()||T.constructor.release(T),x){var I=w.responderTerminate,O=p.getPooled(I,E,n,r);O.touchHistory=h.touchHistory,c.accumulateDirectDispatches(O),v=d(v,[y,O]),C(f,R)}else{var N=p.getPooled(w.responderReject,f,n,r);N.touchHistory=h.touchHistory,c.accumulateDirectDispatches(N),v=d(v,N)}}else v=d(v,y),C(f,R);return v}function i(e,t,n){return t&&(e===a.topLevelTypes.topScroll&&!n.responderIgnoreScroll||R>0&&e===a.topLevelTypes.topSelectionChange||m(e)||g(e))}function s(e){var t=e.touches;if(!t||0===t.length)return!0;for(var n=0;n=0?void 0:"production"!==process.env.NODE_ENV?f(!1,"Ended a touch event which was not counted in trackedTouchCount."):f(!1)),h.recordTouchTrack(e,r,u);var l=i(e,n,r)?o(e,n,r,u):null,v=E&&m(e),_=E&&g(e),b=E&&y(e),S=v?w.responderStart:_?w.responderMove:b?w.responderEnd:null;if(S){var I=p.getPooled(S,E,r,u);I.touchHistory=h.touchHistory,c.accumulateDirectDispatches(I),l=d(l,I)}var O=E&&e===a.topLevelTypes.topTouchCancel,N=E&&!O&&y(e)&&s(r),P=O?w.responderTerminate:N?w.responderRelease:null;if(P){var k=p.getPooled(P,E,r,u);k.touchHistory=h.touchHistory,c.accumulateDirectDispatches(k),l=d(l,k),C(null)}var D=h.touchHistory.numberActiveTouches;return x.GlobalInteractionHandler&&D!==T&&x.GlobalInteractionHandler.onChange(D),T=D,l},GlobalResponderHandler:null,GlobalInteractionHandler:null,injection:{injectGlobalResponderHandler:function(e){x.GlobalResponderHandler=e},injectGlobalInteractionHandler:function(e){x.GlobalInteractionHandler=e}}};n.exports=x}),__d("ResponderSyntheticEvent",function(e,t,n,r){"use strict";function o(e,t,n,r){i.call(this,e,t,n,r)}var i=t("SyntheticEvent"),s={touchHistory:function(e){return null}};i.augmentClass(o,s),n.exports=o}),__d("ResponderTouchHistoryStore",function(e,t,n,r){"use strict";var o=t("EventPluginUtils"),i=t("invariant"),s=o.isMoveish,a=o.isStartish,u=o.isEndish,c=20,l={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0},p=function(e){return e.timeStamp||e.timestamp},h=function(e){return{touchActive:!0,startTimeStamp:p(e),startPageX:e.pageX,startPageY:e.pageY,currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:p(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:p(e)}},d=function(e,t){e.touchActive=!0,e.startTimeStamp=p(t),e.startPageX=t.pageX,e.startPageY=t.pageY,e.currentPageX=t.pageX,e.currentPageY=t.pageY,e.currentTimeStamp=p(t),e.previousPageX=t.pageX,e.previousPageY=t.pageY,e.previousTimeStamp=p(t)},f=function(e){var t=e.identifier;null==t?"production"!==process.env.NODE_ENV?i(!1,"Touch object is missing identifier"):i(!1):void 0,t>c&&console.warn("Touch identifier "+t+" is greater than maximum supported "+c+" which causes performance issues backfilling array locations for all of the indices.")},v=function(e){var t=l.touchBank,n=e.identifier,r=t[n];"production"!==process.env.NODE_ENV&&f(e),r?d(r,e):t[e.identifier]=h(e),l.mostRecentTimeStamp=p(e)},m=function(e){var t=l.touchBank,n=t[e.identifier];"production"!==process.env.NODE_ENV&&(f(e),n?void 0:"production"!==process.env.NODE_ENV?i(!1,"Touch data should have been recorded on start"):i(!1)),n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=p(e),l.mostRecentTimeStamp=p(e)},g=function(e){var t=l.touchBank,n=t[e.identifier];"production"!==process.env.NODE_ENV&&(f(e),n?void 0:"production"!==process.env.NODE_ENV?i(!1,"Touch data should have been recorded on start"):i(!1)),n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=p(e),n.touchActive=!1,l.mostRecentTimeStamp=p(e)},y={recordTouchTrack:function(e,t){var n=l.touchBank;if(s(e))t.changedTouches.forEach(m);else if(a(e))t.changedTouches.forEach(v),l.numberActiveTouches=t.touches.length,1===l.numberActiveTouches&&(l.indexOfSingleActiveTouch=t.touches[0].identifier);else if(u(e)&&(t.changedTouches.forEach(g),l.numberActiveTouches=t.touches.length,1===l.numberActiveTouches)){for(var r=0;rn&&(n+=1),n>1&&(n-=1),1/6>n?e+6*(t-e)*n:.5>n?t:2/3>n?e+(t-e)*(2/3-n)*6:e}var o,i,s;if(e=l(e,360),t=l(t,100),n=l(n,100),0===t)o=i=s=n;else{var a=.5>n?n*(1+t):n+t-n*t,u=2*n-a;o=r(u,a,e+1/3),i=r(u,a,e),s=r(u,a,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function u(e,t,n){e=6*l(e,360),t=l(t,100),n=l(n,100);var r=math.floor(e),o=e-r,i=n*(1-t),s=n*(1-o*t),a=n*(1-(1-o)*t),u=r%6,c=[n,s,i,i,a,n][u],p=[a,n,n,s,i,i][u],h=[i,i,a,n,n,s][u];return{r:255*c,g:255*p,b:255*h}}function c(e){return e=parseFloat(e),(isNaN(e)||0>e||e>1)&&(e=1),e}function l(e,t){h(e)&&(e="100%");var n=d(e);return e=b(t,S(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function p(e){return parseInt(e,16)}function h(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function d(e){return"string"==typeof e&&-1!=e.indexOf("%");
+}function f(e){return 1>=e&&(e=100*e+"%"),e}function v(e){return p(e)/255}function m(e){e=e.replace(g,"").replace(y,"").toLowerCase();var t=!1;if(E[e])e=E[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=R.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=R.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=R.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=R.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=R.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=R.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=R.hex8.exec(e))?{r:p(n[1]),g:p(n[2]),b:p(n[3]),a:v(n[4]),format:t?"name":"hex"}:(n=R.hex6.exec(e))?{r:p(n[1]),g:p(n[2]),b:p(n[3]),format:t?"name":"hex"}:(n=R.hex4.exec(e))?{r:p(n[1]+""+n[1]),g:p(n[2]+""+n[2]),b:p(n[3]+""+n[3]),a:v(n[4]+""+n[4]),format:t?"name":"hex"}:(n=R.hex3.exec(e))?{r:p(n[1]+""+n[1]),g:p(n[2]+""+n[2]),b:p(n[3]+""+n[3]),format:t?"name":"hex"}:!1}var g=/^[\s,#]+/,y=/\s+$/,_=Math.round,b=Math.min,S=Math.max;o.prototype={toRgb:function(){return{r:_(this._r),g:_(this._g),b:_(this._b),a:this._a}},isValid:function(){return this._ok}};var E=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();n.exports=o}),__d("TransformPropTypes",function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i=o.arrayOf(o.number),s=function(e,t,n){return e.transform&&e.transformMatrix?new Error("transformMatrix and transform styles cannot be used on the same component"):i(e,t,n)},a={transform:o.arrayOf(o.oneOfType([o.shape({perspective:o.number}),o.shape({rotate:o.string}),o.shape({rotateX:o.string}),o.shape({rotateY:o.string}),o.shape({rotateZ:o.string}),o.shape({scale:o.number}),o.shape({scaleX:o.number}),o.shape({scaleY:o.number}),o.shape({translateX:o.number}),o.shape({translateY:o.number}),o.shape({skewX:o.string}),o.shape({skewY:o.string})])),transformMatrix:s,scaleX:o.number,scaleY:o.number,rotation:o.number,translateX:o.number,translateY:o.number};n.exports=a}),__d("TextStylePropTypes",function(e,t,n,r){"use strict";for(var o=t("ReactPropTypes"),i=t("ColorPropType"),s=t("ViewStylePropTypes"),a=babelHelpers["extends"](Object.create(s),{color:i,fontFamily:o.string,fontSize:o.number,fontStyle:o.oneOf(["normal","italic"]),fontWeight:o.oneOf(["normal","bold","100","200","300","400","500","600","700","800","900"]),textShadowOffset:o.shape({width:o.number,height:o.number}),textShadowRadius:o.number,textShadowColor:i,letterSpacing:o.number,lineHeight:o.number,textAlign:o.oneOf(["auto","left","right","center","justify"]),textDecorationLine:o.oneOf(["none","underline","line-through","underline line-through"]),textDecorationStyle:o.oneOf(["solid","double","dotted","dashed"]),textDecorationColor:i,writingDirection:o.oneOf(["auto","ltr","rtl"])}),u=Object.keys({padding:null,paddingTop:null,paddingLeft:null,paddingRight:null,paddingBottom:null,paddingVertical:null,paddingHorizontal:null}),c=0;c-1?t:t*Math.PI/180}var a=t("MatrixMath"),u=t("Platform");t("invariant"),t("stringifySafe");n.exports=o}),__d("MatrixMath",function(e,t,n,r){"use strict";var o=t("invariant"),i={createIdentityMatrix:function(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},createCopy:function(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]},createOrthographic:function(e,t,n,r,o,i){var s=2/(t-e),a=2/(r-n),u=-2/(i-o),c=-(t+e)/(t-e),l=-(r+n)/(r-n),p=-(i+o)/(i-o);return[s,0,0,0,0,a,0,0,0,0,u,0,c,l,p,1]},createFrustum:function(e,t,n,r,o,i){var s=1/(t-e),a=1/(r-n),u=1/(o-i),c=2*(o*s),l=2*(o*a),p=(t+e)*s,h=(r+n)*a,d=(i+o)*u,f=2*(i*o*u);return[c,0,0,0,0,l,0,0,p,h,d,-1,0,0,f,0]},createPerspective:function(e,t,n,r){var o=1/Math.tan(e),i=1/(n-r),s=(r+n)*i,a=2*(r*n*i);return[o/t,0,0,0,0,o,0,0,0,0,s,-1,0,0,a,0]},createTranslate2d:function(e,t){var n=i.createIdentityMatrix();return i.reuseTranslate2dCommand(n,e,t),n},reuseTranslate2dCommand:function(e,t,n){e[12]=t,e[13]=n},reuseTranslate3dCommand:function(e,t,n,r){e[12]=t,e[13]=n,e[14]=r},createScale:function(e){var t=i.createIdentityMatrix();return i.reuseScaleCommand(t,e),t},reuseScaleCommand:function(e,t){e[0]=t,e[5]=t},reuseScale3dCommand:function(e,t,n,r){e[0]=t,e[5]=n,e[10]=r},reusePerspectiveCommand:function(e,t){e[11]=-1/t},reuseScaleXCommand:function(e,t){e[0]=t},reuseScaleYCommand:function(e,t){e[5]=t},reuseScaleZCommand:function(e,t){e[10]=t},reuseRotateXCommand:function(e,t){e[5]=Math.cos(t),e[6]=Math.sin(t),e[9]=-Math.sin(t),e[10]=Math.cos(t)},reuseRotateYCommand:function(e,t){e[0]=Math.cos(t),e[2]=-Math.sin(t),e[8]=Math.sin(t),e[10]=Math.cos(t)},reuseRotateZCommand:function(e,t){e[0]=Math.cos(t),e[1]=Math.sin(t),e[4]=-Math.sin(t),e[5]=Math.cos(t)},createRotateZ:function(e){var t=i.createIdentityMatrix();return i.reuseRotateZCommand(t,e),t},reuseSkewXCommand:function(e,t){e[4]=Math.sin(t),e[5]=Math.cos(t)},reuseSkewYCommand:function(e,t){e[0]=Math.cos(t),e[1]=Math.sin(t)},multiplyInto:function(e,t,n){var r=t[0],o=t[1],i=t[2],s=t[3],a=t[4],u=t[5],c=t[6],l=t[7],p=t[8],h=t[9],d=t[10],f=t[11],v=t[12],m=t[13],g=t[14],y=t[15],_=n[0],b=n[1],S=n[2],E=n[3];e[0]=_*r+b*a+S*p+E*v,e[1]=_*o+b*u+S*h+E*m,e[2]=_*i+b*c+S*d+E*g,e[3]=_*s+b*l+S*f+E*y,_=n[4],b=n[5],S=n[6],E=n[7],e[4]=_*r+b*a+S*p+E*v,e[5]=_*o+b*u+S*h+E*m,e[6]=_*i+b*c+S*d+E*g,e[7]=_*s+b*l+S*f+E*y,_=n[8],b=n[9],S=n[10],E=n[11],e[8]=_*r+b*a+S*p+E*v,e[9]=_*o+b*u+S*h+E*m,e[10]=_*i+b*c+S*d+E*g,e[11]=_*s+b*l+S*f+E*y,_=n[12],b=n[13],S=n[14],E=n[15],e[12]=_*r+b*a+S*p+E*v,e[13]=_*o+b*u+S*h+E*m,e[14]=_*i+b*c+S*d+E*g,e[15]=_*s+b*l+S*f+E*y},determinant:function(e){var t=babelHelpers.slicedToArray(e,16),n=t[0],r=t[1],o=t[2],i=t[3],s=t[4],a=t[5],u=t[6],c=t[7],l=t[8],p=t[9],h=t[10],d=t[11],f=t[12],v=t[13],m=t[14],g=t[15];return i*u*p*f-o*c*p*f-i*a*h*f+r*c*h*f+o*a*d*f-r*u*d*f-i*u*l*v+o*c*l*v+i*s*h*v-n*c*h*v-o*s*d*v+n*u*d*v+i*a*l*m-r*c*l*m-i*s*p*m+n*c*p*m+r*s*d*m-n*a*d*m-o*a*l*g+r*u*l*g+o*s*p*g-n*u*p*g-r*s*h*g+n*a*h*g},inverse:function(e){var t=i.determinant(e);if(!t)return e;var n=babelHelpers.slicedToArray(e,16),r=n[0],o=n[1],s=n[2],a=n[3],u=n[4],c=n[5],l=n[6],p=n[7],h=n[8],d=n[9],f=n[10],v=n[11],m=n[12],g=n[13],y=n[14],_=n[15];return[(l*v*g-p*f*g+p*d*y-c*v*y-l*d*_+c*f*_)/t,(a*f*g-s*v*g-a*d*y+o*v*y+s*d*_-o*f*_)/t,(s*p*g-a*l*g+a*c*y-o*p*y-s*c*_+o*l*_)/t,(a*l*d-s*p*d-a*c*f+o*p*f+s*c*v-o*l*v)/t,(p*f*m-l*v*m-p*h*y+u*v*y+l*h*_-u*f*_)/t,(s*v*m-a*f*m+a*h*y-r*v*y-s*h*_+r*f*_)/t,(a*l*m-s*p*m-a*u*y+r*p*y+s*u*_-r*l*_)/t,(s*p*h-a*l*h+a*u*f-r*p*f-s*u*v+r*l*v)/t,(c*v*m-p*d*m+p*h*g-u*v*g-c*h*_+u*d*_)/t,(a*d*m-o*v*m-a*h*g+r*v*g+o*h*_-r*d*_)/t,(o*p*m-a*c*m+a*u*g-r*p*g-o*u*_+r*c*_)/t,(a*c*h-o*p*h-a*u*d+r*p*d+o*u*v-r*c*v)/t,(l*d*m-c*f*m-l*h*g+u*f*g+c*h*y-u*d*y)/t,(o*f*m-s*d*m+s*h*g-r*f*g-o*h*y+r*d*y)/t,(s*c*m-o*l*m-s*u*g+r*l*g+o*u*y-r*c*y)/t,(o*l*h-s*c*h+s*u*d-r*l*d-o*u*f+r*c*f)/t]},transpose:function(e){return[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]]},multiplyVectorByMatrix:function(e,t){var n=babelHelpers.slicedToArray(e,4),r=n[0],o=n[1],i=n[2],s=n[3];return[r*t[0]+o*t[4]+i*t[8]+s*t[12],r*t[1]+o*t[5]+i*t[9]+s*t[13],r*t[2]+o*t[6]+i*t[10]+s*t[14],r*t[3]+o*t[7]+i*t[11]+s*t[15]]},v3Length:function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])},v3Normalize:function(e,t){var n=1/(t||i.v3Length(e));return[e[0]*n,e[1]*n,e[2]*n]},v3Dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},v3Combine:function(e,t,n,r){return[n*e[0]+r*t[0],n*e[1]+r*t[1],n*e[2]+r*t[2]]},v3Cross:function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]},quaternionToDegreesXYZ:function(e,t,n){var r=babelHelpers.slicedToArray(e,4),o=r[0],s=r[1],a=r[2],u=r[3],c=u*u,l=o*o,p=s*s,h=a*a,d=o*s+a*u,f=c+l+p+h,v=180/Math.PI;return d>.49999*f?[0,2*Math.atan2(o,u)*v,90]:-.49999*f>d?[0,-2*Math.atan2(o,u)*v,-90]:[i.roundTo3Places(Math.atan2(2*o*u-2*s*a,1-2*l-2*h)*v),i.roundTo3Places(Math.atan2(2*s*u-2*o*a,1-2*p-2*h)*v),i.roundTo3Places(Math.asin(2*o*s+2*a*u)*v)]},roundTo3Places:function(e){var t=e.toString().split("e");return.001*Math.round(t[0]+"e"+(t[1]?+t[1]-3:3))},decomposeMatrix:function(e){o(16===e.length,"Matrix decomposition needs a list of 3d matrix values, received %s",e);var t=[],n=[],r=[],s=[],a=[];if(e[15]){for(var u=[],c=[],l=0;4>l;l++){u.push([]);for(var p=0;4>p;p++){var h=e[4*l+p]/e[15];u[l].push(h),c.push(3===p?0:h)}}if(c[15]=1,i.determinant(c)){if(0!==u[0][3]||0!==u[1][3]||0!==u[2][3])var d=[u[0][3],u[1][3],u[2][3],u[3][3]],f=i.inverse(c),v=i.transpose(f),t=i.multiplyVectorByMatrix(d,v);else t[0]=t[1]=t[2]=0,t[3]=1;for(var l=0;3>l;l++)a[l]=u[3][l];var m=[];for(l=0;3>l;l++)m[l]=[u[l][0],u[l][1],u[l][2]];r[0]=i.v3Length(m[0]),m[0]=i.v3Normalize(m[0],r[0]),s[0]=i.v3Dot(m[0],m[1]),m[1]=i.v3Combine(m[1],m[0],1,-s[0]),s[0]=i.v3Dot(m[0],m[1]),m[1]=i.v3Combine(m[1],m[0],1,-s[0]),r[1]=i.v3Length(m[1]),m[1]=i.v3Normalize(m[1],r[1]),s[0]/=r[1],s[1]=i.v3Dot(m[0],m[2]),m[2]=i.v3Combine(m[2],m[0],1,-s[1]),s[2]=i.v3Dot(m[1],m[2]),m[2]=i.v3Combine(m[2],m[1],1,-s[2]),r[2]=i.v3Length(m[2]),m[2]=i.v3Normalize(m[2],r[2]),s[1]/=r[2],s[2]/=r[2];var g=i.v3Cross(m[1],m[2]);if(i.v3Dot(m[0],g)<0)for(l=0;3>l;l++)r[l]*=-1,m[l][0]*=-1,m[l][1]*=-1,m[l][2]*=-1;n[0]=.5*Math.sqrt(Math.max(1+m[0][0]-m[1][1]-m[2][2],0)),n[1]=.5*Math.sqrt(Math.max(1-m[0][0]+m[1][1]-m[2][2],0)),n[2]=.5*Math.sqrt(Math.max(1-m[0][0]-m[1][1]+m[2][2],0)),n[3]=.5*Math.sqrt(Math.max(1+m[0][0]+m[1][1]+m[2][2],0)),m[2][1]>m[1][2]&&(n[0]=-n[0]),m[0][2]>m[2][0]&&(n[1]=-n[1]),m[1][0]>m[0][1]&&(n[2]=-n[2]);var y;return y=n[0]<.001&&n[0]>=0&&n[1]<.001&&n[1]>=0?[0,0,i.roundTo3Places(180*Math.atan2(m[0][1],m[0][0])/Math.PI)]:i.quaternionToDegreesXYZ(n,u,m),{rotationDegrees:y,perspective:t,quaternion:n,scale:r,skew:s,translation:a,rotate:y[2],rotateX:y[0],rotateY:y[1],scaleX:r[0],scaleY:r[1],translateX:a[0],translateY:a[1]}}}}};n.exports=i}),__d("sizesDiffer",function(e,t,n,r){"use strict";var o={width:void 0,height:void 0},i=function(e,t){return e=e||o,t=t||o,e!==t&&(e.width!==t.width||e.height!==t.height)};n.exports=i}),__d("ReactNativeViewAttributes",function(e,t,n,r){"use strict";var o=t("ReactNativeStyleAttributes"),i={};i.UIView={pointerEvents:!0,accessible:!0,accessibilityLabel:!0,accessibilityComponentType:!0,accessibilityLiveRegion:!0,accessibilityTraits:!0,importantForAccessibility:!0,testID:!0,renderToHardwareTextureAndroid:!0,shouldRasterizeIOS:!0,onLayout:!0,onAccessibilityTap:!0,onMagicTap:!0,collapsable:!0,needsOffscreenAlphaCompositing:!0,style:o},i.RCTView=babelHelpers["extends"]({},i.UIView,{removeClippedSubviews:!0}),n.exports=i}),__d("StyleSheetPropType",function(e,t,n,r){"use strict";function o(e){var t=i(e);return function(e,n,r,o){var i=e;return e[n]&&(i={},i[n]=s(e[n])),t(i,n,r,o)}}var i=t("createStrictShapeTypeChecker"),s=t("flattenStyle");n.exports=o}),__d("createStrictShapeTypeChecker",function(e,t,n,r){"use strict";function o(e){function t(t,n,r,o,u){if(!n[r])return void(t&&s(!1,"Required object `"+r+"` was not specified in "+("`"+o+"`.")));var c=n[r],l=typeof c,p=u&&i[u]||"(unknown)";"object"!==l&&s(!1,"Invalid "+p+" `"+r+"` of type `"+l+"` "+("supplied to `"+o+"`, expected `object`."));var h=a(n[r],e);for(var d in h){var f=e[d];f||s(!1,"Invalid props."+r+" key `"+d+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(n[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=f(c,d,o,u);v&&s(!1,v.message+"\nBad object: "+JSON.stringify(n[r],null," "))}}function n(e,n,r,o){return t(!1,e,n,r,o)}return n.isRequired=t.bind(null,!0),n}var i=t("ReactPropTypeLocationNames"),s=t("invariant"),a=t("merge");n.exports=o}),__d("requireNativeComponent",function(e,t,n,r){"use strict";function o(e,t,n){var r=s[e];if(!r||!r.NativeProps)return v(!1,'Native component for "%s" does not exist',e),a;var o=babelHelpers["extends"]({},s.RCTView.NativeProps,r.NativeProps);r.uiViewClassName=e,r.validAttributes={},r.propTypes=t&&t.propTypes;for(var c in o){var l=!1,p={},h=m[o[c]];h&&(p.diff=h,l=!0);var d=g[o[c]];d&&(p.process=d,l=!0),r.validAttributes[c]=l?p:!0}return r.validAttributes.style=i,u(r)}var i=t("ReactNativeStyleAttributes"),s=t("UIManager"),a=t("UnimplementedView"),u=t("createReactNativeComponentClass"),c=t("insetsDiffer"),l=t("pointsDiffer"),p=t("matricesDiffer"),h=t("processColor"),d=t("resolveAssetSource"),f=t("sizesDiffer"),v=(t("verifyPropTypes"),t("warning")),m={CATransform3D:p,CGPoint:l,CGSize:f,UIEdgeInsets:c},g={CGColor:h,CGColorArray:h,UIColor:h,UIColorArray:h,CGImage:d,UIImage:d,RCTImageSource:d,Color:h};n.exports=o}),__d("verifyPropTypes",function(e,t,n,r){"use strict";function o(e,t,n){if(t){var r=e.name||e.displayName||"unknown";if(!e.propTypes)throw new Error("`"+r+"` has no propTypes defined`");var o=t.NativeProps;for(var s in o)if(!(e.propTypes[s]||i[s]||n&&n[s])){var a;throw a=e.propTypes.hasOwnProperty(s)?"`"+r+"` has incorrectly defined propType for native prop `"+t.uiViewClassName+"."+s+"` of native type `"+o[s]:"`"+r+"` has no propType for native prop `"+t.uiViewClassName+"."+s+"` of native type `"+o[s]+"`",new Error(a)}}}var i=t("ReactNativeStyleAttributes");n.exports=o}),__d("UnimplementedView",function(e,t,n,r){"use strict";var o=t("React"),i=t("StyleSheet"),s=o.createClass({displayName:"UnimplementedView",setNativeProps:function(){},render:function(){var e=t("View");return o.createElement(e,{style:[a.unimplementedView,this.props.style]},this.props.children)}}),a=i.create({unimplementedView:{borderWidth:1,borderColor:"red",alignSelf:"flex-start"}});n.exports=s}),__d("StyleSheet",function(e,t,n,r){"use strict";var o=t("StyleSheetRegistry"),i=t("StyleSheetValidation"),s=t("flattenStyle"),a=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"create",value:function(e){var t={};for(var n in e)i.validateStyle(n,e),t[n]=o.registerStyle(e[n]);return t}}]),e}();a.flatten=s,n.exports=a}),__d("StyleSheetValidation",function(e,t,n,r){"use strict";var o=t("ImageStylePropTypes"),i=(t("ReactPropTypeLocations"),t("TextStylePropTypes")),s=t("ViewStylePropTypes"),a=(t("invariant"),function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"validateStyleProp",value:function(e,t,n){return}},{key:"validateStyle",value:function(e,t){return}},{key:"addValidStylePropTypes",value:function(e){for(var t in e)u[t]=e[t]}}]),e}()),u={};a.addValidStylePropTypes(o),a.addValidStylePropTypes(i),a.addValidStylePropTypes(s),n.exports=a}),__d("createReactNativeComponentClass",function(e,t,n,r){"use strict";var o=t("ReactNativeBaseComponent"),i=function(e){var t=function(e){this._currentElement=e,this._rootNodeID=null,this._renderedChildren=null};return t.displayName=e.uiViewClassName,t.viewConfig=e,t.propTypes=e.propTypes,t.prototype=new o(e),t.prototype.constructor=t,t};n.exports=i}),__d("ReactNativeBaseComponent",function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("ReactNativeAttributePayload"),s=t("ReactNativeEventEmitter"),a=t("ReactNativeTagHandles"),u=t("ReactMultiChild"),c=t("UIManager"),l=(t("deepFreezeAndThrowOnMutationInDev"),t("warning")),p=s.registrationNames,h=s.putListener,d=s.deleteListener,f=s.deleteAllListeners,v=function(e){this.viewConfig=e};v.Mixin={getPublicInstance:function(){return this},construct:function(e){this._currentElement=e},unmountComponent:function(){f(this._rootNodeID),this.unmountChildren(),this._rootNodeID=null},initializeChildren:function(e,t,n,r){var o=this.mountChildren(e,n,r);if(o.length){for(var i=[],s=0,u=o.length;u>s;s++){var p=o[s],h=p.tag,d=p.rootNodeID;l(p&&p.rootNodeID&&p.tag,"Mount image returned does not have required data"),a.associateRootNodeIDWithMountedNodeHandle(d,h),i[s]=p.tag}c.setChildren(t,i)}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e;var o=i.diff(r.props,e.props,this.viewConfig.validAttributes);o&&c.updateView(a.mostRecentMountedNodeHandleForRootNodeID(this._rootNodeID),this.viewConfig.uiViewClassName,o),this._reconcileListenersUponUpdate(r.props,e.props),this.updateChildren(e.props.children,t,n)},_registerListenersUponCreation:function(e){for(var t in e)if(p[t]&&e[t]){var n=e[t];h(this._rootNodeID,t,n)}},_reconcileListenersUponUpdate:function(e,t){for(var n in t)p[n]&&t[n]!==e[n]&&(t[n]?h(this._rootNodeID,n,t[n]):d(this._rootNodeID,n))},mountComponent:function(e,t,n){this._rootNodeID=e;var r=a.allocateTag(),o=i.create(this._currentElement.props,this.viewConfig.validAttributes),s=a.getNativeTopRootIDFromNodeID(e);return c.createView(r,this.viewConfig.uiViewClassName,s?a.rootNodeIDToTag[s]:null,o),this._registerListenersUponCreation(this._currentElement.props),this.initializeChildren(this._currentElement.props.children,r,t,n),{rootNodeID:e,tag:r}}},babelHelpers["extends"](v.prototype,u.Mixin,v.Mixin,o),n.exports=v}),__d("ReactMultiChild",function(e,t,n,r){"use strict";function o(e,t,n){y.push({parentID:e,parentNode:null,type:h.INSERT_MARKUP,markupIndex:_.push(t)-1,content:null,fromIndex:null,toIndex:n})}function i(e,t,n){y.push({parentID:e,parentNode:null,type:h.MOVE_EXISTING,markupIndex:null,content:null,fromIndex:t,toIndex:n})}function s(e,t){y.push({parentID:e,parentNode:null,type:h.REMOVE_NODE,markupIndex:null,content:null,fromIndex:t,toIndex:null})}function a(e,t){y.push({parentID:e,parentNode:null,type:h.SET_MARKUP,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function u(e,t){y.push({parentID:e,parentNode:null,type:h.TEXT_CONTENT,markupIndex:null,content:t,fromIndex:null,toIndex:null})}function c(){y.length&&(p.processChildrenUpdates(y,_),l())}function l(){y.length=0,_.length=0}var p=t("ReactComponentEnvironment"),h=t("ReactMultiChildUpdateTypes"),d=t("ReactCurrentOwner"),f=t("ReactReconciler"),v=t("ReactChildReconciler"),m=t("flattenChildren"),g=0,y=[],_=[],b={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){if("production"!==process.env.NODE_ENV&&this._currentElement)try{return d.current=this._currentElement._owner,v.instantiateChildren(e,t,n)}finally{d.current=null}return v.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r){var o;if("production"!==process.env.NODE_ENV&&this._currentElement){try{d.current=this._currentElement._owner,o=m(t)}finally{d.current=null}return v.updateChildren(e,o,n,r)}return o=m(t),v.updateChildren(e,o,n,r)},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s],u=this._rootNodeID+s,c=f.mountComponent(a,u,t,n);a._mountIndex=i++,o.push(c)}return o},updateTextContent:function(e){g++;var t=!0;try{var n=this._renderedChildren;v.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChild(n[r]);this.setTextContent(e),t=!1}finally{g--,g||(t?l():c())}},updateMarkup:function(e){g++;var t=!0;try{var n=this._renderedChildren;v.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setMarkup(e),t=!1}finally{g--,g||(t?l():c())}},updateChildren:function(e,t,n){g++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{g--,g||(r?l():c())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=this._reconcilerUpdateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var i,s=0,a=0;for(i in o)if(o.hasOwnProperty(i)){var u=r&&r[i],c=o[i];u===c?(this.moveChild(u,a,s),s=Math.max(u._mountIndex,s),u._mountIndex=a):(u&&(s=Math.max(u._mountIndex,s),this._unmountChild(u)),this._mountChildByNameAtIndex(c,i,a,t,n)),a++}for(i in r)!r.hasOwnProperty(i)||o&&o.hasOwnProperty(i)||this._unmountChild(r[i])}},unmountChildren:function(){var e=this._renderedChildren;v.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex=t)return e[n];return e[e.length-1]||1}function p(e){if("object"==typeof e)return e;var t=v.getAssetByID(e);return t?h(t):null}function h(e){var t=o();return{__packager_asset:!0,width:e.width,height:e.height,uri:t?a(t,e):s(e),scale:l(e.scales,m.get())}}var d,f,v=t("AssetRegistry"),m=t("PixelRatio"),g=t("Platform"),y=t("NativeModules").SourceCode;n.exports=p,n.exports.pickScale=l}),__d("AssetRegistry",function(e,t,n,r){"use strict";function o(e){return s.push(e)}function i(e){return s[e-1]}var s=[];n.exports={registerAsset:o,getAssetByID:i}}),__d("PixelRatio",function(e,t,n,r){"use strict";var o=t("Dimensions"),i=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"get",value:function(){return o.get("window").scale}},{key:"getFontScale",value:function(){return o.get("window").fontScale||e.get()}},{key:"getPixelSizeForLayoutSize",value:function(t){return Math.round(t*e.get())}},{key:"startDetecting",value:function(){}}]),e}();n.exports=i}),__d("Dimensions",function(e,t,n,r){"use strict";var o=t("UIManager"),i=t("invariant"),s=o.Dimensions;if(s&&s.windowPhysicalPixels){s=JSON.parse(JSON.stringify(s));var a=s.windowPhysicalPixels;s.window={width:a.width/a.scale,height:a.height/a.scale,scale:a.scale,fontScale:a.fontScale
+},delete s.windowPhysicalPixels}var u=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"set",value:function(e){return babelHelpers["extends"](s,e),!0}},{key:"get",value:function(e){return i(s[e],"No dimension set for key "+e),s[e]}}]),e}();n.exports=u}),__d("ReactChildren",function(e,t,n,r){"use strict";function o(e){return(""+e).replace(S,"//")}function i(e,t){this.func=e,this.context=t,this.count=0}function s(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function a(e,t,n){if(null==e)return e;var r=i.getPooled(t,n);y(e,s,r),i.release(r)}function u(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function c(e,t,n){var r=e.result,i=e.keyPrefix,s=e.func,a=e.context,u=s.call(a,t,e.count++);Array.isArray(u)?l(u,r,n,g.thatReturnsArgument):null!=u&&(m.isValidElement(u)&&(u=m.cloneAndReplaceKey(u,i+(u!==t?o(u.key||"")+"/":"")+n)),r.push(u))}function l(e,t,n,r,i){var s="";null!=n&&(s=o(n)+"/");var a=u.getPooled(t,s,r,i);y(e,c,a),u.release(a)}function p(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function h(e,t,n){return null}function d(e,t){return y(e,h,null)}function f(e){var t=[];return l(e,t,null,g.thatReturnsArgument),t}var v=t("PooledClass"),m=t("ReactElement"),g=t("emptyFunction"),y=t("traverseAllChildren"),_=v.twoArgumentPooler,b=v.fourArgumentPooler,S=/\/(?!\/)/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},v.addPoolingTo(i,_),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},v.addPoolingTo(u,b);var E={forEach:a,map:p,mapIntoWithKeyPrefixInternal:l,count:d,toArray:f};n.exports=E}),__d("ReactClass",function(e,t,n,r){"use strict";function o(){I||(I=!0,"production"!==process.env.NODE_ENV?T(!1,"setProps(...) and replaceProps(...) are deprecated. Instead, call render again at the top level."):void 0)}function i(e,t,n){for(var r in t)t.hasOwnProperty(r)&&("production"!==process.env.NODE_ENV?T("function"==typeof t[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",g[n],r):void 0)}function s(e,t){var n=O.hasOwnProperty(t)?O[t]:null;P.hasOwnProperty(t)&&(n!==w.OVERRIDE_BASE?"production"!==process.env.NODE_ENV?S(!1,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t):S(!1):void 0),e.hasOwnProperty(t)&&(n!==w.DEFINE_MANY&&n!==w.DEFINE_MANY_MERGED?"production"!==process.env.NODE_ENV?S(!1,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t):S(!1):void 0)}function a(e,t){if(t){"function"==typeof t?"production"!==process.env.NODE_ENV?S(!1,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."):S(!1):void 0,v.isValidElement(t)?"production"!==process.env.NODE_ENV?S(!1,"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object."):S(!1):void 0;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(s(n,r),N.hasOwnProperty(r))N[r](e,o);else{var i=O.hasOwnProperty(r),a=n.hasOwnProperty(r),u="function"==typeof o,c=u&&!i&&!a&&t.autobind!==!1;if(c)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[r]=o,n[r]=o;else if(a){var h=O[r];!i||h!==w.DEFINE_MANY_MERGED&&h!==w.DEFINE_MANY?"production"!==process.env.NODE_ENV?S(!1,"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,r):S(!1):void 0,h===w.DEFINE_MANY_MERGED?n[r]=l(n[r],o):h===w.DEFINE_MANY&&(n[r]=p(n[r],o))}else n[r]=o,"production"!==process.env.NODE_ENV&&"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;o?"production"!==process.env.NODE_ENV?S(!1,'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):S(!1):void 0;var i=n in e;i?"production"!==process.env.NODE_ENV?S(!1,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n):S(!1):void 0,e[n]=r}}}function c(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:"production"!==process.env.NODE_ENV?S(!1,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."):S(!1);for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?"production"!==process.env.NODE_ENV?S(!1,"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):S(!1):void 0,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("production"!==process.env.NODE_ENV){n.__reactBoundContext=e,n.__reactBoundMethod=t,n.__reactBoundArguments=null;var r=e.constructor.displayName,o=n.bind;n.bind=function(i){for(var s=arguments.length,a=Array(s>1?s-1:0),u=1;s>u;u++)a[u-1]=arguments[u];if(i!==e&&null!==i)"production"!==process.env.NODE_ENV?T(!1,"bind(): React component methods may only be bound to the component instance. See %s",r):void 0;else if(!a.length)return"production"!==process.env.NODE_ENV?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):void 0,n;var c=o.apply(n,arguments);return c.__reactBoundContext=e,c.__reactBoundMethod=t,c.__reactBoundArguments=a,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,n)}}var f=t("ReactComponent"),v=t("ReactElement"),m=t("ReactPropTypeLocations"),g=t("ReactPropTypeLocationNames"),y=t("ReactNoopUpdateQueue"),_=t("Object.assign"),b=t("emptyObject"),S=t("invariant"),E=t("keyMirror"),R=t("keyOf"),T=t("warning"),C=R({mixins:null}),w=E({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),x=[],I=!1,O={mixins:w.DEFINE_MANY,statics:w.DEFINE_MANY,propTypes:w.DEFINE_MANY,contextTypes:w.DEFINE_MANY,childContextTypes:w.DEFINE_MANY,getDefaultProps:w.DEFINE_MANY_MERGED,getInitialState:w.DEFINE_MANY_MERGED,getChildContext:w.DEFINE_MANY_MERGED,render:w.DEFINE_ONCE,componentWillMount:w.DEFINE_MANY,componentDidMount:w.DEFINE_MANY,componentWillReceiveProps:w.DEFINE_MANY,shouldComponentUpdate:w.DEFINE_ONCE,componentWillUpdate:w.DEFINE_MANY,componentDidUpdate:w.DEFINE_MANY,componentWillUnmount:w.DEFINE_MANY,updateComponent:w.OVERRIDE_BASE},N={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n.")}var s=y[e]||(y[e]={});if(s[r])return null;s[r]=!0;var a={parentOrOwner:r,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==d.current&&(a.childOwner=" It was passed a child from "+t._owner.getName()+"."),a}function a(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;nr;r++)n[r]=t(e[r],r);return n},s=function(e,t){if(e.isColor)this.red=e.red,this.green=e.green,this.blue=e.blue,this.alpha=e.alpha;else{var n=o[e];switch(n&&(e=n,t="hex"),typeof e){case"string":t||(t=(t=e.match(/^rgb|^hsb|^hsl/))?t[0]:"hex");break;case"object":t=t||"rgb",e=e.toString();break;case"number":t="hex",e=e.toString(16)}e=s["parse"+t.toUpperCase()](e),this.red=e[0],this.green=e[1],this.blue=e[2],this.alpha=e[3]}this.isColor=!0},a=function(e,t,n){return Math.min(n,Math.max(t,e))},u=/([-.\d]+\%?)\s*,\s*([-.\d]+\%?)\s*,\s*([-.\d]+\%?)\s*,?\s*([-.\d]*\%?)/,c=/^#?([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{0,2})$/i;s.parseRGB=function(e){return i(e.match(u).slice(1),function(e,t){return e&&(e=parseFloat(e)*("%"==e[e.length-1]?2.55:1)),3>t?Math.round((e%=256)<0?e+256:e):a(""===e?1:Number(e),0,1)})},s.parseHEX=function(e){return 1==e.length&&(e=e+e+e),i(e.match(c).slice(1),function(e,t){return 3==t?e?parseInt(e,16)/255:1:parseInt(1==e.length?e+e:e,16)})},s.parseHSB=function(e){var t=i(e.match(u).slice(1),function(e,t){return e&&(e=parseFloat(e)),0===t?Math.round((e%=360)<0?e+360:e):3>t?a(Math.round(e),0,100):a(""===e?1:Number(e),0,1)}),n=t[3],r=Math.round(t[2]/100*255);if(0==t[1])return[r,r,r,n];var o=t[0],s=o%60,c=Math.round(t[2]*(100-t[1])/1e4*255),l=Math.round(t[2]*(6e3-t[1]*s)/6e5*255),p=Math.round(t[2]*(6e3-t[1]*(60-s))/6e5*255);switch(Math.floor(o/60)){case 0:return[r,p,c,n];case 1:return[l,r,c,n];case 2:return[c,r,p,n];case 3:return[c,l,r,n];case 4:return[p,c,r,n];default:return[r,c,l,n]}},s.parseHSL=function(e){var t=i(e.match(u).slice(1),function(e,t){return e&&(e=parseFloat(e)),0===t?Math.round((e%=360)<0?e+360:e):3>t?a(Math.round(e),0,100):a(""===e?1:Number(e),0,1)}),n=t[0]/60,r=t[1]/100,o=t[2]/100,s=t[3],c=(1-Math.abs(2*o-1))*r,l=c*(1-Math.abs(n%2-1)),p=o-c/2,h=Math.round(255*(c+p)),d=Math.round(255*(l+p)),f=Math.round(255*p);switch(Math.floor(n)){case 0:return[h,d,f,s];case 1:return[d,h,f,s];case 2:return[f,h,d,s];case 3:return[f,d,h,s];case 4:return[d,f,h,s];default:return[h,f,d,s]}};var l=function(e,t){return 1!=t[3]?e+="a":t.pop(),e+"("+t.join(", ")+")"};s.prototype={toHSB:function(e){var t=this.red,n=this.green,r=this.blue,o=this.alpha,i=Math.max(t,n,r),s=Math.min(t,n,r),a=i-s,u=0,c=0!=a?a/i:0,p=i/255;if(c){var h=(i-t)/a,d=(i-n)/a,f=(i-r)/a;u=t==i?f-d:n==i?2+h-f:4+d-h,(u/=6)<0&&u++}var v=[Math.round(360*u),Math.round(100*c),Math.round(100*p),o];return e?v:l("hsb",v)},toHSL:function(e){var t=this.red,n=this.green,r=this.blue,o=this.alpha,i=Math.max(t,n,r),s=Math.min(t,n,r),a=i-s,u=0,c=0!=a?a/(255-Math.abs(i+s-255)):0,p=(i+s)/512;if(c){var h=(i-t)/a,d=(i-n)/a,f=(i-r)/a;u=t==i?f-d:n==i?2+h-f:4+d-h,(u/=6)<0&&u++}var v=[Math.round(360*u),Math.round(100*c),Math.round(100*p),o];return e?v:l("hsl",v)},toHEX:function(e){var t=this.alpha,n=1==(t=Math.round(255*t).toString(16)).length?t+t:t,r=i([this.red,this.green,this.blue],function(e){return e=e.toString(16),1==e.length?"0"+e:e});return e?r.concat(n):"#"+r.join("")+("ff"==n?"":n)},toRGB:function(e){var t=[this.red,this.green,this.blue,this.alpha];return e?t:l("rgb",t)}},s.prototype.toString=s.prototype.toRGB,s.hex=function(e){return new s(e,"hex")},null==this.hex&&(this.hex=s.hex),s.hsb=function(e,t,n,r){return new s([e||0,t||0,n||0,null==r?1:r],"hsb")},null==this.hsb&&(this.hsb=s.hsb),s.hsl=function(e,t,n,r){return new s([e||0,t||0,n||0,null==r?1:r],"hsl")},null==this.hsl&&(this.hsl=s.hsl),s.rgb=function(e,t,n,r){return new s([e||0,t||0,n||0,null==r?1:r],"rgb")},null==this.rgb&&(this.rgb=s.rgb),s.detach=function(e){return e=new s(e),[s.rgb(e.red,e.green,e.blue).toString(),e.alpha]},n.exports=s}),__d("ARTSerializablePath",function(e,t,n,r){"use strict";var o=t("art/core/class.js"),i=t("art/core/path.js"),s=0,a=1,u=2,c=3,l=4,p=o(i,{initialize:function(e){this.reset(),e instanceof p?this.path=e.path.slice(0):e&&(e.applyToPath?e.applyToPath(this):this.push(e))},onReset:function(){this.path=[]},onMove:function(e,t,n,r){this.path.push(s,n,r)},onLine:function(e,t,n,r){this.path.push(u,n,r)},onBezierCurve:function(e,t,n,r,o,i,s,a){this.path.push(c,n,r,o,i,s,a)},_arcToBezier:i.prototype.onArc,onArc:function(e,t,n,r,o,i,s,a,u,c,p,h){return s!==a||h?this._arcToBezier(e,t,n,r,o,i,s,a,u,c,p,h):void this.path.push(l,o,i,s,u,c,p?0:1)},onClose:function(){this.path.push(a)},toJSON:function(){return this.path}});n.exports=p}),__d("art/core/class.js",function(e,t,n,r){n.exports=function(e){for(var t={},n=0,r=arguments.length;r>n;n++){var o=arguments[n];"function"==typeof o&&(o=o.prototype);for(var i in o)t[i]=o[i]}return t.initialize||(t.initialize=function(){}),t.constructor=function(e,n,r,o,i,s,a,u){return new t.initialize(e,n,r,o,i,s,a,u)},t.constructor.prototype=t.initialize.prototype=t,t.constructor}}),__d("art/core/path.js",function(e,t,n,r){var o=t("art/core/class.js");n.exports=o({initialize:function(e){this.reset().push(e)},push:function(){var e=Array.prototype.join.call(arguments," ").match(/[a-df-z]|[\-+]?(?:[\d\.]e[\-+]?|[^\s\-+,a-z])+/gi);if(!e)return this;for(var t,n=e[0],r=1;n;){switch(n){case"m":this.move(e[r++],e[r++]);break;case"l":this.line(e[r++],e[r++]);break;case"c":this.curve(e[r++],e[r++],e[r++],e[r++],e[r++],e[r++]);break;case"s":this.curve(e[r++],e[r++],null,null,e[r++],e[r++]);break;case"q":this.curve(e[r++],e[r++],e[r++],e[r++]);break;case"t":this.curve(e[r++],e[r++]);break;case"a":this.arc(e[r+5],e[r+6],e[r],e[r+1],e[r+3],!+e[r+4],e[r+2]),r+=7;break;case"h":this.line(e[r++],0);break;case"v":this.line(0,e[r++]);break;case"M":this.moveTo(e[r++],e[r++]);break;case"L":this.lineTo(e[r++],e[r++]);break;case"C":this.curveTo(e[r++],e[r++],e[r++],e[r++],e[r++],e[r++]);break;case"S":this.curveTo(e[r++],e[r++],null,null,e[r++],e[r++]);break;case"Q":this.curveTo(e[r++],e[r++],e[r++],e[r++]);break;case"T":this.curveTo(e[r++],e[r++]);break;case"A":this.arcTo(e[r+5],e[r+6],e[r],e[r+1],e[r+3],!+e[r+4],e[r+2]),r+=7;break;case"H":this.lineTo(e[r++],this.penY);break;case"V":this.lineTo(this.penX,e[r++]);break;case"Z":case"z":this.close();break;default:n=t,r--;continue}t=n,"m"==t?t="l":"M"==t&&(t="L"),n=e[r++]}return this},reset:function(){return this.penX=this.penY=0,this.penDownX=this.penDownY=null,this._pivotX=this._pivotY=0,this.onReset(),this},move:function(e,t){return this.onMove(this.penX,this.penY,this._pivotX=this.penX+=+e,this._pivotY=this.penY+=+t),this},moveTo:function(e,t){return this.onMove(this.penX,this.penY,this._pivotX=this.penX=+e,this._pivotY=this.penY=+t),this},line:function(e,t){return this.lineTo(this.penX+ +e,this.penY+ +t)},lineTo:function(e,t){return null==this.penDownX&&(this.penDownX=this.penX,this.penDownY=this.penY),this.onLine(this.penX,this.penY,this._pivotX=this.penX=+e,this._pivotY=this.penY=+t),this},curve:function(e,t,n,r,o,i){var s=this.penX,a=this.penY;return this.curveTo(s+ +e,a+ +t,null==n?null:s+ +n,null==r?null:a+ +r,null==o?null:s+ +o,null==i?null:a+ +i)},curveTo:function(e,t,n,r,o,i){var s=this.penX,a=this.penY;return null==n&&(n=+e,r=+t,e=2*s-(this._pivotX||0),t=2*a-(this._pivotY||0)),null==o?(this._pivotX=+e,this._pivotY=+t,o=+n,i=+r,n=(o+2*+e)/3,r=(i+2*+t)/3,e=(s+2*+e)/3,t=(a+2*+t)/3):(this._pivotX=+n,this._pivotY=+r),null==this.penDownX&&(this.penDownX=s,this.penDownY=a),this.onBezierCurve(s,a,+e,+t,+n,+r,this.penX=+o,this.penY=+i),this},arc:function(e,t,n,r,o,i,s){return this.arcTo(this.penX+ +e,this.penY+ +t,n,r,o,i,s)},arcTo:function(e,t,n,r,o,i,s){if(r=Math.abs(+r||+n||+t-this.penY),n=Math.abs(+n||+e-this.penX),!n||!r||e==this.penX&&t==this.penY)return this.lineTo(e,t);var a=this.penX,u=this.penY,c=!+i,l=!!+o,p=s?s*Math.PI/180:0,h=Math.cos(p),d=Math.sin(p);e-=a,t-=u;var f=h*e/2+d*t/2,v=-d*e/2+h*t/2,m=n*n*r*r,g=r*r*f*f,y=n*n*v*v,_=m-y-g;if(0>_)_=Math.sqrt(1-_/m),n*=_,r*=_,f=e/2,v=t/2;else{_=Math.sqrt(_/(y+g)),l==c&&(_=-_);var b=-_*v*n/r,S=_*f*r/n;f=h*b-d*S+e/2,v=d*b+h*S+t/2}var E=h/n,R=d/n,T=-d/r,C=h/r,w=Math.atan2(T*-f+C*-v,E*-f+R*-v),x=Math.atan2(T*(e-f)+C*(t-v),E*(e-f)+R*(t-v));return f+=a,v+=u,e+=a,t+=u,null==this.penDownX&&(this.penDownX=this.penX,this.penDownY=this.penY),this.onArc(a,u,this._pivotX=this.penX=e,this._pivotY=this.penY=t,f,v,n,r,w,x,!c,s),this},counterArc:function(e,t,n,r,o){return this.arc(e,t,n,r,o,!0)},counterArcTo:function(e,t,n,r,o){return this.arcTo(e,t,n,r,o,!0)},close:function(){return null!=this.penDownX&&(this.onClose(this.penX,this.penY,this.penX=this.penDownX,this.penY=this.penDownY),this.penDownX=null),this},onReset:function(){},onMove:function(e,t,n,r){},onLine:function(e,t,n,r){this.onBezierCurve(e,t,e,t,n,r,n,r)},onBezierCurve:function(e,t,n,r,o,i,s,a){var u,c,l,p,h,d=s-e,f=a-t,v=d*d+f*f;if(l=n-e,p=r-t,h=l*d+p*f,h>v?(l-=d,p-=f):h>0&&0!=v&&(l-=h/v*d,p-=h/v*f),u=l*l+p*p,l=o-e,p=i-t,h=l*d+p*f,h>v?(l-=d,p-=f):h>0&&0!=v&&(l-=h/v*d,p-=h/v*f),c=l*l+p*p,.01>u&&.01>c)return void this.onLine(e,t,s,a);if(isNaN(u)||isNaN(c))throw new Error("Bad input");var m=.5*(n+o),g=.5*(r+i),y=.5*(n+e),_=.5*(r+t),b=.5*(y+m),S=.5*(_+g),E=.5*(s+o),R=.5*(a+i),T=.5*(E+m),C=.5*(R+g),w=.5*(b+T),x=.5*(S+C);this.onBezierCurve(e,t,y,_,b,S,w,x),this.onBezierCurve(w,x,T,C,E,R,s,a)},onArc:function(e,t,n,r,o,i,s,a,u,c,l,p){var h=p?p*Math.PI/180:0,d=Math.cos(h),f=Math.sin(h),v=d*s,m=-f*a,g=f*s,y=d*a,_=c-u;0>_&&!l?_+=2*Math.PI:_>0&&l&&(_-=2*Math.PI);for(var b=Math.ceil(Math.abs(_/(Math.PI/2))),S=_/b,E=4/3*Math.tan(S/4),R=Math.cos(u),T=Math.sin(u),C=0;b>C;C++){var w=R-E*T,x=T+E*R;u+=S,R=Math.cos(u),T=Math.sin(u);var I=R+E*T,O=T-E*R;this.onBezierCurve(e,t,o+v*w+m*x,i+g*w+y*x,o+v*I+m*O,i+g*I+y*O,e=o+v*R+m*T,t=i+g*R+y*T)}},onClose:function(e,t,n,r){this.onLine(e,t,n,r)}})}),__d("art/core/transform.js",function(e,t,n,r){function o(e,t,n,r,o,i){return e&&"object"==typeof e&&(t=e.yx,r=e.yy,i=e.y,n=e.xy,
+o=e.x,e=e.xx),this.xx=null==e?1:e,this.yx=t||0,this.xy=n||0,this.yy=null==r?1:r,this.x=(null==o?this.x:o)||0,this.y=(null==i?this.y:i)||0,this._transform(),this}var i=t("art/core/class.js");n.exports=i({initialize:o,_transform:function(){},xx:1,yx:0,x:0,xy:0,yy:1,y:0,transform:function(e,t,n,r,o,i){var s=this;return e&&"object"==typeof e&&(t=e.yx,r=e.yy,i=e.y,n=e.xy,o=e.x,e=e.xx),o||(o=0),i||(i=0),this.transformTo(s.xx*e+s.xy*t,s.yx*e+s.yy*t,s.xx*n+s.xy*r,s.yx*n+s.yy*r,s.xx*o+s.xy*i+s.x,s.yx*o+s.yy*i+s.y)},transformTo:o,translate:function(e,t){return this.transform(1,0,0,1,e,t)},move:function(e,t){return this.x+=e||0,this.y+=t||0,this._transform(),this},scale:function(e,t){return null==t&&(t=e),this.transform(e,0,0,t,0,0)},rotate:function(e,t,n){(null==t||null==n)&&(t=(this.left||0)+(this.width||0)/2,n=(this.top||0)+(this.height||0)/2);var r=e*Math.PI/180,o=Math.sin(r),i=Math.cos(r);this.transform(1,0,0,1,t,n);var s=this;return this.transformTo(i*s.xx-o*s.yx,o*s.xx+i*s.yx,i*s.xy-o*s.yy,o*s.xy+i*s.yy,s.x,s.y).transform(1,0,0,1,-t,-n)},moveTo:function(e,t){var n=this;return this.transformTo(n.xx,n.yx,n.xy,n.yy,e,t)},rotateTo:function(e,t,n){var r=this,o=r.yx/r.xx>r.yy/r.xy?-1:1;return(r.xx<0?r.xy>=0:r.xy<0)&&(o=-o),this.rotate(e-180*Math.atan2(o*r.yx,o*r.xx)/Math.PI,t,n)},scaleTo:function(e,t){var n=this,r=Math.sqrt(n.xx*n.xx+n.yx*n.yx);return n.xx/=r,n.yx/=r,r=Math.sqrt(n.yy*n.yy+n.xy*n.xy),n.yy/=r,n.xy/=r,this.scale(e,t)},resizeTo:function(e,t){var n=this.width,r=this.height;return n&&r?this.scaleTo(e/n,t/r):this},inversePoint:function(e,t){var n=this.xx,r=this.yx,o=this.xy,i=this.yy,s=this.x,a=this.y,u=r*o-n*i;return 0==u?null:{x:(i*(s-e)+o*(t-a))/u,y:(n*(a-t)+r*(e-s))/u}},point:function(e,t){var n=this;return{x:n.xx*e+n.xy*t+n.x,y:n.yx*e+n.yy*t+n.y}}})}),__d("DatePickerIOS",function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("ReactPropTypes"),s=t("React"),a=t("NativeModules").UIManager.RCTDatePicker.Constants,u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=s.createClass({displayName:"DatePickerIOS",_picker:void 0,mixins:[o],propTypes:babelHelpers["extends"]({},c.propTypes,{date:i.instanceOf(Date).isRequired,onDateChange:i.func.isRequired,maximumDate:i.instanceOf(Date),minimumDate:i.instanceOf(Date),mode:i.oneOf(["date","time","datetime"]),minuteInterval:i.oneOf([1,2,3,4,5,6,10,12,15,20,30]),timeZoneOffsetInMinutes:i.number}),getDefaultProps:function(){return{mode:"datetime"}},_onChange:function(e){var t=e.nativeEvent.timestamp;this.props.onDateChange&&this.props.onDateChange(new Date(t)),this.props.onChange&&this.props.onChange(e);var n=this.props.date.getTime();this._picker&&t!==n&&this._picker.setNativeProps({date:n})},render:function(){var e=this,t=this.props;return s.createElement(c,{style:t.style},s.createElement(d,{ref:function(t){return e._picker=t},style:h.datePickerIOS,date:t.date.getTime(),maximumDate:t.maximumDate?t.maximumDate.getTime():void 0,minimumDate:t.minimumDate?t.minimumDate.getTime():void 0,mode:t.mode,minuteInterval:t.minuteInterval,timeZoneOffsetInMinutes:t.timeZoneOffsetInMinutes,onChange:this._onChange}))}}),h=u.create({datePickerIOS:{height:a.ComponentHeight,width:a.ComponentWidth}}),d=l("RCTDatePicker",p,{nativeOnly:{onChange:!0}});n.exports=p}),__d("DrawerLayoutAndroid",function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("Image",function(e,t,n,r){"use strict";var o=t("EdgeInsetsPropType"),i=t("ImageResizeMode"),s=t("ImageStylePropTypes"),a=t("NativeMethodsMixin"),u=t("ReactPropTypes"),c=t("React"),l=t("ReactNativeViewAttributes"),p=(t("View"),t("StyleSheet")),h=t("StyleSheetPropType"),d=t("flattenStyle"),f=(t("invariant"),t("requireNativeComponent")),v=t("resolveAssetSource"),m=(t("warning"),t("NativeModules")),g=m.ImageViewManager,y=m.NetworkImageViewManager,_=c.createClass({displayName:"Image",propTypes:{style:h(s),source:u.oneOfType([u.shape({uri:u.string}),u.number]),defaultSource:u.oneOfType([u.shape({uri:u.string}),u.number]),accessible:u.bool,accessibilityLabel:u.string,capInsets:o,resizeMode:u.oneOf(["cover","contain","stretch"]),testID:u.string,onLayout:u.func,onLoadStart:u.func,onProgress:u.func,onError:u.func,onLoad:u.func,onLoadEnd:u.func},statics:{resizeMode:i},mixins:[a],viewConfig:{uiViewClassName:"UIView",validAttributes:l.UIView},contextTypes:{isInAParentText:c.PropTypes.bool},render:function(){var e=v(this.props.source)||{},t=e.width,n=e.height,r=d([{width:t,height:n},b.base,this.props.style])||{},o=e.uri&&e.uri.match(/^https?:/),i=o?E:S,s=this.props.resizeMode||(r||{}).resizeMode||"cover",a=(r||{}).tintColor;return o&&a&&(i=S),this.context.isInAParentText?c.createElement(R,{source:e}):c.createElement(i,babelHelpers["extends"]({},this.props,{style:r,resizeMode:s,tintColor:a,source:e}))}}),b=p.create({base:{overflow:"hidden"}}),S=f("RCTImageView",_),E=y?f("RCTNetworkImageView",_):S,R=f("RCTVirtualImage",_);_.getSize=function(e,t,n){g.getSize(e,t,n||function(){console.warn("Failed to get size for image: "+e)})},n.exports=_}),__d("EdgeInsetsPropType",function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i=t("createStrictShapeTypeChecker"),s=i({top:o.number,left:o.number,bottom:o.number,right:o.number});n.exports=s}),__d("ImageEditor",function(e,t,n,r){"use strict";var o=t("NativeModules").ImageEditingManager,i=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"cropImage",value:function(e,t,n,r){o.cropImage(e,t,n,r)}}]),e}();n.exports=i}),__d("ImageStore",function(e,t,n,r){"use strict";var o=t("NativeModules").ImageStoreManager,i=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"hasImageForTag",value:function(e,t){o.hasImageForTag?o.hasImageForTag(e,t):console.warn("hasImageForTag() not implemented")}},{key:"removeImageForTag",value:function(e){o.removeImageForTag?o.removeImageForTag(e):console.warn("removeImageForTag() not implemented")}},{key:"addImageFromBase64",value:function(e,t,n){o.addImageFromBase64(e,t,n)}},{key:"getBase64ForTag",value:function(e,t,n){o.getBase64ForTag(e,t,n)}}]),e}();n.exports=i}),__d("ListView",function(e,t,n,r){"use strict";var o=t("ListViewDataSource"),i=t("React"),s=t("NativeModules").ScrollViewManager,a=t("ScrollView"),u=t("ScrollResponder"),c=t("StaticRenderer"),l=t("react-timer-mixin/TimerMixin.js"),p=t("isEmpty"),h=(t("logError"),t("merge")),d=i.PropTypes,f=1,v=10,m=1e3,g=1e3,y=50,_="listviewscroll",b=i.createClass({displayName:"ListView",mixins:[u.Mixin,l],statics:{DataSource:o},propTypes:babelHelpers["extends"]({},a.propTypes,{dataSource:d.instanceOf(o).isRequired,renderSeparator:d.func,renderRow:d.func.isRequired,initialListSize:d.number,onEndReached:d.func,onEndReachedThreshold:d.number,pageSize:d.number,renderFooter:d.func,renderHeader:d.func,renderSectionHeader:d.func,renderScrollComponent:i.PropTypes.func.isRequired,scrollRenderAheadDistance:i.PropTypes.number,onChangeVisibleRows:i.PropTypes.func,removeClippedSubviews:i.PropTypes.bool}),getMetrics:function(){return{contentLength:this.scrollProperties.contentLength,totalRows:this.props.dataSource.getRowCount(),renderedRows:this.state.curRenderedRowsCount,visibleRows:Object.keys(this._visibleRows).length}},getScrollResponder:function(){return this.refs[_]&&this.refs[_].getScrollResponder&&this.refs[_].getScrollResponder()},setNativeProps:function(e){this.refs[_].setNativeProps(e)},getDefaultProps:function(){return{initialListSize:v,pageSize:f,renderScrollComponent:function(e){return i.createElement(a,e)},scrollRenderAheadDistance:m,onEndReachedThreshold:g}},getInitialState:function(){return{curRenderedRowsCount:this.props.initialListSize,highlightedRow:{}}},getInnerViewNode:function(){return this.refs[_].getInnerViewNode()},componentWillMount:function(){this.scrollProperties={visibleLength:null,contentLength:null,offset:0},this._childFrames=[],this._visibleRows={},this._prevRenderedRowsCount=0,this._sentEndForContentLength=null},componentDidMount:function(){var e=this;this.requestAnimationFrame(function(){e._measureAndUpdateScrollProps()})},componentWillReceiveProps:function(e){var t=this;this.props.dataSource!==e.dataSource&&this.setState(function(e,n){var r=Math.min(e.curRenderedRowsCount+n.pageSize,n.dataSource.getRowCount());return t._prevRenderedRowsCount=0,{curRenderedRowsCount:r}})},componentDidUpdate:function(){var e=this;this.requestAnimationFrame(function(){e._measureAndUpdateScrollProps()})},onRowHighlighted:function(e,t){this.setState({highlightedRow:{sectionID:e,rowID:t}})},render:function(){for(var e=[],t=this.props.dataSource,n=t.rowIdentities,r=0,o=[],s=this.props.renderHeader&&this.props.renderHeader(),a=this.props.renderFooter&&this.props.renderFooter(),u=s?1:0,l=0;l=this._prevRenderedRowsCount&&t.sectionHeaderShouldUpdate(l);e.push(i.createElement(c,{key:"s_"+p,shouldUpdate:!!d,render:this.props.renderSectionHeader.bind(null,t.getSectionHeaderData(l),p)})),o.push(u++)}for(var f=0;f=this._prevRenderedRowsCount&&t.rowShouldUpdate(l,f),b=i.createElement(c,{key:"r_"+m,shouldUpdate:!!g,render:this.props.renderRow.bind(null,t.getRowData(l,f),p,v,this.onRowHighlighted)});if(e.push(b),u++,this.props.renderSeparator&&(f!==h.length-1||l===n.length-1)){var S=this.state.highlightedRow.sectionID===p&&(this.state.highlightedRow.rowID===v||this.state.highlightedRow.rowID===h[f+1]),E=this.props.renderSeparator(p,v,S);e.push(E),u++}if(++r===this.state.curRenderedRowsCount)break}if(r>=this.state.curRenderedRowsCount)break}}var R=this.props,T=R.renderScrollComponent,C=babelHelpers.objectWithoutProperties(R,["renderScrollComponent"]);return C.scrollEventThrottle||(C.scrollEventThrottle=y),void 0===C.removeClippedSubviews&&(C.removeClippedSubviews=!0),babelHelpers["extends"](C,{onScroll:this._onScroll,stickyHeaderIndices:o,onKeyboardWillShow:void 0,onKeyboardWillHide:void 0,onKeyboardDidShow:void 0,onKeyboardDidHide:void 0}),i.cloneElement(T(C),{ref:_,onContentSizeChange:this._onContentSizeChange,onLayout:this._onLayout},s,e,a)},_measureAndUpdateScrollProps:function(){var e=this.getScrollResponder();e&&e.getInnerViewNode&&s&&s.calculateChildFrames&&s.calculateChildFrames(i.findNodeHandle(e),this._updateVisibleRows)},_onContentSizeChange:function(e,t){var n=this.props.horizontal?e:t;n!==this.scrollProperties.contentLength&&(this.scrollProperties.contentLength=n,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()),this.props.onContentSizeChange&&this.props.onContentSizeChange(e,t)},_onLayout:function(e){var t=e.nativeEvent.layout,n=t.width,r=t.height,o=this.props.horizontal?n:r;o!==this.scrollProperties.visibleLength&&(this.scrollProperties.visibleLength=o,this._updateVisibleRows(),this._renderMoreRowsIfNeeded()),this.props.onLayout&&this.props.onLayout(e)},_maybeCallOnEndReached:function(e){return this.props.onEndReached&&this.scrollProperties.contentLength!==this._sentEndForContentLength&&this._getDistanceFromEnd(this.scrollProperties)i||o>E?b&&(c=!0,delete m[y],l[v]||(l[v]={}),l[v][y]=!1):b||(c=!0,m[y]=!0,l[v]||(l[v]={}),l[v][y]=!0)}p(m)?this._visibleRows[v]&&delete this._visibleRows[v]:this._visibleRows[v]=m}}c&&this.props.onChangeVisibleRows(this._visibleRows,l)}},_onScroll:function(e){var t=!this.props.horizontal;this.scrollProperties.visibleLength=e.nativeEvent.layoutMeasurement[t?"height":"width"],this.scrollProperties.contentLength=e.nativeEvent.contentSize[t?"height":"width"],this.scrollProperties.offset=e.nativeEvent.contentOffset[t?"y":"x"],this._updateVisibleRows(e.nativeEvent.updatedChildFrames),this._maybeCallOnEndReached(e)||this._renderMoreRowsIfNeeded(),this.props.onEndReached&&this._getDistanceFromEnd(this.scrollProperties)>this.props.onEndReachedThreshold&&(this._sentEndForContentLength=null),this.props.onScroll&&this.props.onScroll(e)}});n.exports=b}),__d("ListViewDataSource",function(e,t,n,r){"use strict";function o(e,t,n){return e[t][n]}function i(e,t){return e[t]}function s(e){for(var t=0,n=0;n=this.rowIdentities[n].length))return this.rowIdentities[n][t];t-=this.rowIdentities[n].length}return null}},{key:"getSectionIDForFlatIndex",value:function(e){for(var t=e,n=0;n=this.rowIdentities[n].length))return this.sectionIdentities[n];t-=this.rowIdentities[n].length}return null}},{key:"getSectionLengths",value:function(){for(var e=[],t=0;tt||this.state.lastMomentumScrollEndTimen;n++){var i=r[n];if(i.id===t.nativeEvent.annotationId){"left"===t.nativeEvent.side?i.onLeftCalloutPress&&i.onLeftCalloutPress(t.nativeEvent):"right"===t.nativeEvent.side&&i.onRightCalloutPress&&i.onRightCalloutPress(t.nativeEvent);break}}},a=function(e){if(r)for(var t=0,n=r.length;n>t;t++){var o=r[t];if(o.id===e.nativeEvent.annotationId){o.latitude=e.nativeEvent.latitude,o.longitude=e.nativeEvent.longitude,o.onDragStateChange&&o.onDragStateChange(e.nativeEvent);break}}};if(this.props.onRegionChange||this.props.onRegionChangeComplete)var u=function(t){t.nativeEvent.continuous?e.props.onRegionChange&&e.props.onRegionChange(t.nativeEvent.region):e.props.onRegionChangeComplete&&e.props.onRegionChangeComplete(t.nativeEvent.region)};return l.createElement(_,babelHelpers["extends"]({},this.props,{annotations:r,children:t,overlays:o,onPress:i,onChange:u,onAnnotationDragStateChange:a}))}}),g=p.create({annotationView:{position:"absolute",backgroundColor:"transparent"},calloutView:{position:"absolute",backgroundColor:"white"}}),y=c&&c.PinColors;m.PinColors=y&&{RED:y.RED,GREEN:y.GREEN,PURPLE:y.PURPLE};var _=v("RCTMap",m,{nativeOnly:{onAnnotationDragStateChange:!0,onChange:!0,onPress:!0}});n.exports=m}),__d("Modal",function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i=t("React"),s=t("StyleSheet"),a=t("View"),u=t("requireNativeComponent"),c=u("RCTModalHostView",null),l=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"render",value:function(){if(this.props.visible===!1)return null;if(this.props.transparent)var e={backgroundColor:"transparent"};return i.createElement(c,{animated:this.props.animated,transparent:this.props.transparent,onDismiss:this.props.onDismiss,style:p.modal},i.createElement(a,{style:[p.container,e]},this.props.children))}}]),t}(i.Component);l.propTypes={animated:o.bool,transparent:o.bool,visible:o.bool,onDismiss:o.func},l.defaultProps={visible:!0};var p=s.create({modal:{position:"absolute"},container:{left:0,position:"absolute",top:0}});n.exports=l}),__d("Navigator",function(e,t,n,r){"use strict";function o(){return I++}function i(e){if(null===e||"object"!=typeof e)return String(e);var t="__navigatorRouteID";return e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!1,value:o()}),e[t]}var s=t("NativeModules").AnimationsDebugModule,a=t("Dimensions"),u=t("InteractionMixin"),c=t("Map"),l=t("NavigationContext"),p=t("NavigatorBreadcrumbNavigationBar"),h=t("NavigatorNavigationBar"),d=t("NavigatorSceneConfigs"),f=t("PanResponder"),v=t("React"),m=t("StyleSheet"),g=t("Subscribable"),y=t("react-timer-mixin/TimerMixin.js"),_=t("View"),b=t("clamp"),S=t("flattenStyle"),E=t("invariant"),R=t("rebound/rebound.js"),T=v.PropTypes,C=a.get("window").width,w=a.get("window").height,x={pointerEvents:"none",style:{top:w,bottom:-w,opacity:0}},I=0,O=m.create({container:{flex:1,overflow:"hidden"},defaultSceneStyle:{position:"absolute",left:0,right:0,bottom:0,top:0},baseScene:{position:"absolute",overflow:"hidden",left:0,right:0,bottom:0,top:0},disabledScene:{top:w,bottom:-w},transitioner:{flex:1,backgroundColor:"transparent",overflow:"hidden"}}),N=["pop","jumpBack","jumpForward"],P=v.createClass({displayName:"Navigator",propTypes:{configureScene:T.func,renderScene:T.func.isRequired,initialRoute:T.object,initialRouteStack:T.arrayOf(T.object),onWillFocus:T.func,onDidFocus:T.func,navigationBar:T.node,navigator:T.object,sceneStyle:_.propTypes.style},statics:{BreadcrumbNavigationBar:p,NavigationBar:h,SceneConfigs:d},mixins:[y,u,g.Mixin],getDefaultProps:function(){return{configureScene:function(){return d.PushFromRight},sceneStyle:O.defaultSceneStyle}},getInitialState:function(){var e=this;this._navigationBarNavigator=this.props.navigationBarNavigator||this,this._renderedSceneMap=new c;var t=this.props.initialRouteStack||[this.props.initialRoute];E(t.length>=1,"Navigator requires props.initialRoute or props.initialRouteStack.");var n=t.length-1;return this.props.initialRoute&&(n=t.indexOf(this.props.initialRoute),E(-1!==n,"initialRoute is not in initialRouteStack.")),{sceneConfigStack:t.map(function(t){return e.props.configureScene(t)}),routeStack:t,presentedIndex:n,transitionFromIndex:null,activeGesture:null,pendingGestureProgress:null,transitionQueue:[]}},componentWillMount:function(){var e=this;this.__defineGetter__("navigationContext",this._getNavigationContext),this._subRouteFocus=[],this.parentNavigator=this.props.navigator,this._handlers={},this.springSystem=new R.SpringSystem,this.spring=this.springSystem.createSpring(),this.spring.setRestSpeedThreshold(.05),this.spring.setCurrentValue(0).setAtRest(),this.spring.addListener({onSpringEndStateChange:function(){e._interactionHandle||(e._interactionHandle=e.createInteractionHandle())},onSpringUpdate:function(){e._handleSpringUpdate()},onSpringAtRest:function(){e._completeTransition()}}),this.panGesture=f.create({onMoveShouldSetPanResponder:this._handleMoveShouldSetPanResponder,onPanResponderRelease:this._handlePanResponderRelease,onPanResponderMove:this._handlePanResponderMove,onPanResponderTerminate:this._handlePanResponderTerminate}),this._interactionHandle=null,this._emitWillFocus(this.state.routeStack[this.state.presentedIndex])},componentDidMount:function(){this._handleSpringUpdate(),this._emitDidFocus(this.state.routeStack[this.state.presentedIndex])},componentWillUnmount:function(){this._navigationContext&&(this._navigationContext.dispose(),this._navigationContext=null),this.spring.destroy(),this._interactionHandle&&this.clearInteractionHandle(this._interactionHandle)},immediatelyResetRouteStack:function(e){var t=this,n=e.length-1;this.setState({routeStack:e,sceneConfigStack:e.map(this.props.configureScene),presentedIndex:n,activeGesture:null,transitionFromIndex:null,transitionQueue:[]},function(){t._handleSpringUpdate(),t._navBar&&t._navBar.immediatelyRefresh()})},_transitionTo:function(e,t,n,r){if(e!==this.state.presentedIndex){if(null!==this.state.transitionFromIndex)return void this.state.transitionQueue.push({destIndex:e,velocity:t,cb:r});this.state.transitionFromIndex=this.state.presentedIndex,this.state.presentedIndex=e,this.state.transitionCb=r,this._onAnimationStart(),s&&s.startRecordingFps();var o=this.state.sceneConfigStack[this.state.transitionFromIndex]||this.state.sceneConfigStack[this.state.presentedIndex];E(o,"Cannot configure scene at index "+this.state.transitionFromIndex),null!=n&&this.spring.setCurrentValue(n),this.spring.setOvershootClampingEnabled(!0),this.spring.getSpringConfig().friction=o.springFriction,this.spring.getSpringConfig().tension=o.springTension,this.spring.setVelocity(t||o.defaultTransitionVelocity),this.spring.setEndValue(1)}},_handleSpringUpdate:function(){if(this.isMounted())if(null!=this.state.transitionFromIndex)this._transitionBetween(this.state.transitionFromIndex,this.state.presentedIndex,this.spring.getCurrentValue());else if(null!=this.state.activeGesture){var e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._transitionBetween(this.state.presentedIndex,e,this.spring.getCurrentValue())}},_completeTransition:function(){if(this.isMounted()){if(1!==this.spring.getCurrentValue()&&0!==this.spring.getCurrentValue())return void(this.state.pendingGestureProgress&&(this.state.pendingGestureProgress=null));this._onAnimationEnd();var e=this.state.presentedIndex,t=this._subRouteFocus[e]||this.state.routeStack[e];if(this._emitDidFocus(t),s&&s.stopRecordingFps(Date.now()),this.state.transitionFromIndex=null,this.spring.setCurrentValue(0).setAtRest(),this._hideScenes(),this.state.transitionCb&&(this.state.transitionCb(),this.state.transitionCb=null),this._interactionHandle&&(this.clearInteractionHandle(this._interactionHandle),this._interactionHandle=null),this.state.pendingGestureProgress){var n=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);return this._enableScene(n),void this.spring.setEndValue(this.state.pendingGestureProgress)}if(this.state.transitionQueue.length){var r=this.state.transitionQueue.shift();this._enableScene(r.destIndex),this._emitWillFocus(this.state.routeStack[r.destIndex]),this._transitionTo(r.destIndex,r.velocity,null,r.cb)}}},_emitDidFocus:function(e){this.navigationContext.emit("didfocus",{route:e}),this.props.onDidFocus&&this.props.onDidFocus(e)},_emitWillFocus:function(e){this.navigationContext.emit("willfocus",{route:e});var t=this._navBar;t&&t.handleWillFocus&&t.handleWillFocus(e),this.props.onWillFocus&&this.props.onWillFocus(e)},_hideScenes:function(){var e=null;this.state.activeGesture&&(e=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture));for(var t=0;t=t;t++)this._setRenderSceneToHardwareTextureAndroid(t,!1);var n=this._navBar;n&&n.onAnimationEnd&&n.onAnimationEnd()},_setRenderSceneToHardwareTextureAndroid:function(e,t){var n=this.refs["scene_"+e];null!==n&&void 0!==n&&n.setNativeProps({renderToHardwareTextureAndroid:t})},_handleTouchStart:function(){this._eligibleGestures=N},_handleMoveShouldSetPanResponder:function(e,t){var n=this.state.sceneConfigStack[this.state.presentedIndex];return n?(this._expectingGestureGrant=this._matchGestureAction(this._eligibleGestures,n.gestures,t),!!this._expectingGestureGrant):!1},_doesGestureOverswipe:function(e){var t=this.state.presentedIndex<=0&&("pop"===e||"jumpBack"===e),n=this.state.presentedIndex>=this.state.routeStack.length-1&&"jumpForward"===e;return n||t},_deltaForGestureAction:function(e){switch(e){case"pop":case"jumpBack":return-1;case"jumpForward":return 1;default:return void E(!1,"Unsupported gesture action "+e)}},_handlePanResponderRelease:function(e,t){var n=this,r=this.state.sceneConfigStack[this.state.presentedIndex],o=this.state.activeGesture;if(o){var i=r.gestures[o],s=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);if(0===this.spring.getCurrentValue())return this.spring.setCurrentValue(0).setAtRest(),void this._completeTransition();var a,u,c="top-to-bottom"===i.direction||"bottom-to-top"===i.direction,l="right-to-left"===i.direction||"bottom-to-top"===i.direction;c?(a=l?-t.vy:t.vy,u=l?-t.dy:t.dy):(a=l?-t.vx:t.vx,u=l?-t.dx:t.dx);var p=b(-10,a,10);if(Math.abs(a)i.fullDistance*i.stillCompletionRatio;p=h?i.snapVelocity:-i.snapVelocity}if(0>p||this._doesGestureOverswipe(o)){if(null==this.state.transitionFromIndex){var d=this.state.presentedIndex;this.state.presentedIndex=s,this._transitionTo(d,-p,1-this.spring.getCurrentValue())}}else this._emitWillFocus(this.state.routeStack[s]),this._transitionTo(s,p,null,function(){"pop"===o&&n._cleanScenesPastIndex(s)});this._detachGesture()}},_handlePanResponderTerminate:function(e,t){if(null!=this.state.activeGesture){var n=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._detachGesture();var r=this.state.presentedIndex;this.state.presentedIndex=n,this._transitionTo(r,null,1-this.spring.getCurrentValue())}},_attachGesture:function(e){this.state.activeGesture=e;var t=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);this._enableScene(t)},_detachGesture:function(){this.state.activeGesture=null,this.state.pendingGestureProgress=null,this._hideScenes()},_handlePanResponderMove:function(e,t){void 0!==this._isMoveGestureAttached&&(E(this._expectingGestureGrant,"Responder granted unexpectedly."),this._attachGesture(this._expectingGestureGrant),this._onAnimationStart(),this._expectingGestureGrant=void 0);var n=this.state.sceneConfigStack[this.state.presentedIndex];if(this.state.activeGesture){var r=n.gestures[this.state.activeGesture];return this._moveAttachedGesture(r,t)}var o=this._matchGestureAction(N,n.gestures,t);o&&this._attachGesture(o)},_moveAttachedGesture:function(e,t){var n="top-to-bottom"===e.direction||"bottom-to-top"===e.direction,r="right-to-left"===e.direction||"bottom-to-top"===e.direction,o=n?t.dy:t.dx;o=r?-o:o;var i=e.gestureDetectMovement,s=(o-i)/(e.fullDistance-i);if(0>s&&e.isDetachable){var a=this.state.presentedIndex+this._deltaForGestureAction(this.state.activeGesture);return this._transitionBetween(this.state.presentedIndex,a,0),this._detachGesture(),void(null!=this.state.pendingGestureProgress&&this.spring.setCurrentValue(0))}if(this._doesGestureOverswipe(this.state.activeGesture)){var u=e.overswipe.frictionConstant,c=e.overswipe.frictionByDistance,l=1/(u+Math.abs(s)*c);s*=l}s=b(0,s,1),null!=this.state.transitionFromIndex?this.state.pendingGestureProgress=s:this.state.pendingGestureProgress?this.spring.setEndValue(s):this.spring.setCurrentValue(s)},_matchGestureAction:function(e,t,n){var r=this;if(!t)return null;var o=null;return e.some(function(e,i){var s=t[e];if(s){if(null==s.overswipe&&r._doesGestureOverswipe(e))return!1;var a="top-to-bottom"===s.direction||"bottom-to-top"===s.direction,u="right-to-left"===s.direction||"bottom-to-top"===s.direction,c=a?n.moveY:n.moveX,l=a?n.dy:n.dx,p=a?n.dx:n.dy,h=s.edgeHitWidth;u&&(c=-c,l=-l,p=-p,h=a?-(w-h):-(C-h));var d=null==s.edgeHitWidth||h>c;if(!d)return!1;var f=l>=s.gestureDetectMovement;if(!f)return!1;var v=Math.abs(l)>Math.abs(p)*s.directionRatio;return v?(o=e,!0):void(r._eligibleGestures=r._eligibleGestures.slice().splice(i,1))}}),o||null},_transitionSceneStyle:function(e,t,n,r){var o=this.refs["scene_"+r];if(null!==o&&void 0!==o){var i=t>e?t:e,s=this.state.sceneConfigStack[i];s||(s=this.state.sceneConfigStack[i-1]);var a={},u=e>r||t>r?s.animationInterpolators.out:s.animationInterpolators.into,c=t>e?n:1-n,l=u(a,c);l&&o.setNativeProps({style:a})}},_transitionBetween:function(e,t,n){this._transitionSceneStyle(e,t,n,e),this._transitionSceneStyle(e,t,n,t);var r=this._navBar;r&&r.updateProgress&&t>=0&&e>=0&&r.updateProgress(n,e,t)},_handleResponderTerminationRequest:function(){return!1},_getDestIndexWithinBounds:function(e){var t=this.state.presentedIndex,n=t+e;E(n>=0,"Cannot jump before the first route.");var r=this.state.routeStack.length-1;return E(r>=n,"Cannot jump past the last route."),n},_jumpN:function(e){var t=this._getDestIndexWithinBounds(e);this._enableScene(t),this._emitWillFocus(this.state.routeStack[t]),this._transitionTo(t)},jumpTo:function(e){var t=this.state.routeStack.indexOf(e);E(-1!==t,"Cannot jump to route that is not in the route stack"),this._jumpN(t-this.state.presentedIndex)},jumpForward:function(){this._jumpN(1)},jumpBack:function(){this._jumpN(-1)},push:function(e){var t=this;E(!!e,"Must supply route to push");var n=this.state.presentedIndex+1,r=this.state.routeStack.slice(0,n),o=this.state.sceneConfigStack.slice(0,n),i=r.concat([e]),s=i.length-1,a=o.concat([this.props.configureScene(e)]);this._emitWillFocus(i[s]),this.setState({routeStack:i,sceneConfigStack:a},function(){t._enableScene(s),t._transitionTo(s)})},_popN:function(e){var t=this;if(0!==e){E(this.state.presentedIndex-e>=0,"Cannot pop below zero");var n=this.state.presentedIndex-e;this._enableScene(n),this._emitWillFocus(this.state.routeStack[n]),this._transitionTo(n,null,null,function(){t._cleanScenesPastIndex(n)})}},pop:function(){this.state.transitionQueue.length||this.state.presentedIndex>0&&this._popN(1)},replaceAtIndex:function(e,t,n){var r=this;if(E(!!e,"Must supply route to replace"),0>t&&(t+=this.state.routeStack.length),!(this.state.routeStack.length<=t)){var o=this.state.routeStack.slice(),i=this.state.sceneConfigStack.slice();o[t]=e,i[t]=this.props.configureScene(e),t===this.state.presentedIndex&&this._emitWillFocus(e),this.setState({routeStack:o,sceneConfigStack:i},function(){t===r.state.presentedIndex&&r._emitDidFocus(e),n&&n()})}},replace:function(e){this.replaceAtIndex(e,this.state.presentedIndex)},replacePrevious:function(e){this.replaceAtIndex(e,this.state.presentedIndex-1)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(e){var t=this.state.routeStack.indexOf(e);E(-1!==t,"Calling popToRoute for a route that doesn't exist!");var n=this.state.presentedIndex-t;this._popN(n)},replacePreviousAndPop:function(e){this.state.routeStack.length<2||(this.replacePrevious(e),this.pop())},resetTo:function(e){var t=this;E(!!e,"Must supply route to push"),this.replaceAtIndex(e,0,function(){t.state.presentedIndex>0&&t._popN(t.state.presentedIndex)})},getCurrentRoutes:function(){return this.state.routeStack.slice()},_cleanScenesPastIndex:function(e){var t=e+1;t0){var i=Array.prototype.slice.call(arguments);return void this._emitQueue.push(i)}if(this._emitCounter++,d.has(e))this.__emit(e,t,null,{defaultPrevented:!1,eventPhase:l,propagationStopped:!0,target:this});else{for(var s=[this],a=this.parent;a;)s.unshift(a),a=a.parent;var u=!1,c=!1,f=function(e){u=u||e.isPropagationStopped(),c=c||e.defaultPrevented};s.some(function(n){if(u)return!0;var o={defaultPrevented:c,eventPhase:h,propagationStopped:u,target:r};n.__emit(e,t,f,o)},this),s.reverse().some(function(n){if(u)return!0;var o={defaultPrevented:c,eventPhase:p,propagationStopped:u,target:r};n.__emit(e,t,f,o)},this)}if(n){var v=o.pool(e,this,t);u&&v.stopPropagation(),c&&v.preventDefault(),n.call(this,v),v.dispose()}for(this._emitCounter--;this._emitQueue.length;){var i=this._emitQueue.shift();this.emit.apply(this,i)}}},{key:"dispose",value:function(){this._bubbleEventEmitter&&this._bubbleEventEmitter.removeAllListeners(),this._captureEventEmitter&&this._captureEventEmitter.removeAllListeners(),this._bubbleEventEmitter=null,this._captureEventEmitter=null,this._currentRoute=null}},{key:"__emit",value:function(e,t,n,r){var o;switch(r.eventPhase){case h:o=this._captureEventEmitter;break;case l:o=this._bubbleEventEmitter;break;case p:o=this._bubbleEventEmitter;break;default:c(!1,"invalid event phase %s",r.eventPhase)}r.target===this&&(r.eventPhase=l),o&&o.emit(e,t,n,r)}},{key:"_onFocus",value:function(e){c(e.data&&e.data.hasOwnProperty("route"),'event type "%s" should provide route',e.type),this._currentRoute=e.data.route}},{key:"parent",get:function(){var e=this.__node.getParent();return e?e.getValue():null}},{key:"top",get:function(){for(var e=null,t=this.__node.getParent();t;)e=t.getValue(),t=t.getParent();return e}},{key:"currentRoute",get:function(){return this._currentRoute}}]),e}();n.exports=f}),__d("NavigationEvent",function(e,t,n,r){"use strict";var o=t("invariant"),i=function(){function e(){babelHelpers.classCallCheck(this,e),this._list=[]}return babelHelpers.createClass(e,[{key:"get",value:function(e,t,n){var r;return this._list.length>0?(r=this._list.pop(),r.constructor.call(r,e,t,n)):r=new a(e,t,n),r}},{key:"put",value:function(e){this._list.push(e)}}]),e}(),s=new i,a=function(){function e(t,n,r){babelHelpers.classCallCheck(this,e),this.target=n,this.eventPhase=e.NONE,this._type=t,this._currentTarget=n,this._data=r,this._defaultPrevented=!1,this._disposed=!1,this._propagationStopped=!1}return babelHelpers.createClass(e,null,[{key:"pool",value:function(e,t,n){return s.get(e,t,n)}}]),babelHelpers.createClass(e,[{key:"preventDefault",value:function(){this._defaultPrevented=!0}},{key:"stopPropagation",value:function(){this._propagationStopped=!0}},{key:"stop",value:function(){this.preventDefault(),this.stopPropagation()}},{key:"isPropagationStopped",value:function(){return this._propagationStopped}},{key:"dispose",value:function(){o(!this._disposed,"NavigationEvent is already disposed"),this._disposed=!0,this.target=null,this.eventPhase=e.NONE,this._type=null,this._currentTarget=null,this._data=null,this._defaultPrevented=!1,s.put(this)}},{key:"type",get:function(){return this._type}},{key:"currentTarget",get:function(){return this._currentTarget}},{key:"data",get:function(){return this._data}},{key:"defaultPrevented",get:function(){return this._defaultPrevented}}]),e}();a.NONE=0,a.CAPTURING_PHASE=1,a.AT_TARGET=2,a.BUBBLING_PHASE=3,n.exports=a}),__d("NavigationEventEmitter",function(e,t,n,r){"use strict";var o=t("EventEmitter"),i=t("NavigationEvent"),s=function(e){function t(e){babelHelpers.classCallCheck(this,t);var n=babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).call(this));return n._emitting=!1,n._emitQueue=[],n._target=e,n}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"emit",value:function(e,n,r,o){if(this._emitting){var s=Array.prototype.slice.call(arguments);return void this._emitQueue.unshift(s)}this._emitting=!0;var a=i.pool(e,this._target,n);for(o&&(o.target&&(a.target=o.target),o.eventPhase&&(a.eventPhase=o.eventPhase),o.defaultPrevented&&a.preventDefault(),o.propagationStopped&&a.stopPropagation()),babelHelpers.get(Object.getPrototypeOf(t.prototype),"emit",this).call(this,String(e),a),"function"==typeof r&&r.call(this._target,a),a.dispose(),this._emitting=!1;this._emitQueue.length;){var s=this._emitQueue.shift();this.emit.apply(this,s)}}}]),t}(o);n.exports=s}),__d("NavigationTreeNode",function(e,t,n,r){"use strict";var o=t("invariant"),i=t("immutable/dist/immutable.js"),s=i.List,a=function(){function e(t){babelHelpers.classCallCheck(this,e),this.__parent=null,this._children=new s,this._value=t}return babelHelpers.createClass(e,[{key:"getValue",value:function(){return this._value}},{key:"getParent",value:function(){return this.__parent}},{key:"getChildrenCount",value:function(){return this._children.size}},{key:"getChildAt",value:function(e){return e>-1&&e-1,"The node to be removed is not a child of this node."),e.__parent=null,this._children=this._children.splice(t,1)}},{key:"indexOf",value:function(e){return this._children.indexOf(e)}},{key:"forEach",value:function(e,t){this._children.forEach(e,t)}},{key:"map",value:function(e,t){return this._children.map(e,t).toJS()}},{key:"some",value:function(e,t){return this._children.some(e,t)}}]),e}();n.exports=a}),__d("immutable/dist/immutable.js",function(e,t,n,r){!function(e,t){"object"==typeof r&&"undefined"!=typeof n?n.exports=t():"function"==typeof define&&define.amd?define(t):e.Immutable=t()}(this,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:O(e)}function n(e){return s(e)?e:N(e)}function r(e){return a(e)?e:P(e)}function o(e){return i(e)&&!u(e)?e:k(e)}function i(e){return!(!e||!e[cn])}function s(e){return!(!e||!e[ln])}function a(e){return!(!e||!e[pn])}function u(e){return s(e)||a(e)}function c(e){return!(!e||!e[hn])}function l(e){return e.value=!1,e}function p(e){e&&(e.value=!0)}function h(){}function d(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;n>o;o++)r[o]=e[o+t];return r}function f(e){return void 0===e.size&&(e.size=e.__iterate(m)),e.size}function v(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return 0>t?f(e)+t:t}function m(){return!0}function g(e,t,n){return(0===e||void 0!==n&&-n>=e)&&(void 0===t||void 0!==n&&t>=n)}function y(e,t){return b(e,t,0)}function _(e,t){return b(e,t,t)}function b(e,t,n){return void 0===e?n:0>e?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function S(e){this.next=e}function E(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function R(){return{value:void 0,done:!0}}function T(e){return!!x(e)}function C(e){return e&&"function"==typeof e.next}function w(e){var t=x(e);return t&&t.call(e)}function x(e){var t=e&&(Rn&&e[Rn]||e[Tn]);return"function"==typeof t?t:void 0}function I(e){return e&&"number"==typeof e.length}function O(e){return null===e||void 0===e?V():i(e)?e.toSeq():B(e)}function N(e){return null===e||void 0===e?V().toKeyedSeq():i(e)?s(e)?e.toSeq():e.fromEntrySeq():j(e)}function P(e){return null===e||void 0===e?V():i(e)?s(e)?e.entrySeq():e.toIndexedSeq():F(e)}function k(e){return(null===e||void 0===e?V():i(e)?s(e)?e.entrySeq():e:F(e)).toSetSeq()}function D(e){this._array=e,this.size=e.length}function A(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function M(e){this._iterable=e,this.size=e.length||e.size}function L(e){this._iterator=e,this._iteratorCache=[]}function H(e){return!(!e||!e[wn])}function V(){return xn||(xn=new D([]))}function j(e){var t=Array.isArray(e)?new D(e).fromEntrySeq():C(e)?new L(e).fromEntrySeq():T(e)?new M(e).fromEntrySeq():"object"==typeof e?new A(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function F(e){var t=q(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function B(e){var t=q(e)||"object"==typeof e&&new A(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function q(e){return I(e)?new D(e):C(e)?new L(e):T(e)?new M(e):void 0}function U(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,s=0;i>=s;s++){var a=o[n?i-s:s];if(t(a[1],r?a[0]:s,e)===!1)return s+1}return s}return e.__iterateUncached(t,n)}function z(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,s=0;return new S(function(){var e=o[n?i-s:s];return s++>i?R():E(t,r?e[0]:s-1,e[1])})}return e.__iteratorUncached(t,n)}function G(e,t){return t?W(t,e,"",{"":e}):Y(e)}function W(e,t,n,r){return Array.isArray(t)?e.call(r,n,P(t).map(function(n,r){return W(e,n,r,t)})):X(t)?e.call(r,n,N(t).map(function(n,r){return W(e,n,r,t)})):t}function Y(e){return Array.isArray(e)?P(e).map(Y).toList():X(e)?N(e).map(Y).toMap():e}function X(e){return e&&(e.constructor===Object||void 0===e.constructor)}function K(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;
+if(!e||!t)return!1}return"function"==typeof e.equals&&"function"==typeof t.equals&&e.equals(t)?!0:!1}function J(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||a(e)!==a(t)||c(e)!==c(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(c(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&K(o[1],e)&&(n||K(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var l=e;e=t,t=l}var p=!0,h=t.__iterate(function(t,r){return(n?e.has(t):o?K(t,e.get(r,gn)):K(e.get(r,gn),t))?void 0:(p=!1,!1)});return p&&e.size===h}function Q(e,t){if(!(this instanceof Q))return new Q(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(In)return In;In=this}}function $(e,t){if(!e)throw new Error(t)}function Z(e,t,n){if(!(this instanceof Z))return new Z(e,t,n);if($(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),e>t&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if(On)return On;On=this}}function ee(){throw TypeError("Abstract")}function te(){}function ne(){}function re(){}function oe(e){return e>>>1&1073741824|3221225471&e}function ie(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(e=e.valueOf(),e===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Hn?se(e):ae(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return ue(e);if("function"==typeof e.toString)return ae(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function se(e){var t=Fn[e];return void 0===t&&(t=ae(e),jn===Vn&&(jn=0,Fn={}),jn++,Fn[e]=t),t}function ae(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function le(e){$(e!==1/0,"Cannot perform this action with an infinite size.")}function pe(e){return null===e||void 0===e?Ee():he(e)&&!c(e)?e:Ee().withMutations(function(t){var r=n(e);le(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function he(e){return!(!e||!e[Bn])}function de(e,t){this.ownerID=e,this.entries=t}function fe(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function ve(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ye(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function _e(e,t){return E(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function Se(e,t,n,r){var o=Object.create(qn);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Ee(){return Un||(Un=Se(0))}function Re(e,t,n){var r,o;if(e._root){var i=l(yn),s=l(_n);if(r=Te(e._root,e.__ownerID,0,void 0,t,n,i,s),!s.value)return e;o=e.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return e;o=1,r=new de(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Se(o,r):Ee()}function Te(e,t,n,r,o,i,s,a){return e?e.update(t,n,r,o,i,s,a):i===gn?e:(p(a),p(s),new ge(t,r,[o,i]))}function Ce(e){return e.constructor===ge||e.constructor===me}function we(e,t,n,r,o){if(e.keyHash===r)return new me(t,r,[e.entry,o]);var i,s=(0===n?e.keyHash:e.keyHash>>>n)&mn,a=(0===n?r:r>>>n)&mn,u=s===a?[we(e,t,n+fn,r,o)]:(i=new ge(t,r,o),a>s?[e,i]:[i,e]);return new fe(t,1<a;a++,u<<=1){var l=t[a];void 0!==l&&a!==r&&(o|=u,s[i++]=l)}return new fe(e,o,s)}function Oe(e,t,n,r,o){for(var i=0,s=new Array(vn),a=0;0!==n;a++,n>>>=1)s[a]=1&n?t[i++]:void 0;return s[r]=o,new ve(e,i+1,s)}function Ne(e,t,r){for(var o=[],s=0;s>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function Le(e,t,n,r){var o=r?e:d(e);return o[t]=n,o}function He(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),s=0,a=0;o>a;a++)a===t?(i[a]=n,s=-1):i[a]=e[a+s];return i}function Ve(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var o=new Array(r),i=0,s=0;r>s;s++)s===t&&(i=1),o[s]=e[s+i];return o}function je(e){var t=ze();if(null===e||void 0===e)return t;if(Fe(e))return e;var n=r(e),o=n.size;return 0===o?t:(le(o),o>0&&vn>o?Ue(0,o,fn,null,new Be(n.toArray())):t.withMutations(function(e){e.setSize(o),n.forEach(function(t,n){return e.set(n,t)})}))}function Fe(e){return!(!e||!e[Yn])}function Be(e,t){this.array=e,this.ownerID=t}function qe(e,t){function n(e,t,n){return 0===t?r(e,n):o(e,t,n)}function r(e,n){var r=n===a?u&&u.array:e&&e.array,o=n>i?0:i-n,c=s-n;return c>vn&&(c=vn),function(){if(o===c)return Jn;var e=t?--c:o++;return r&&r[e]}}function o(e,r,o){var a,u=e&&e.array,c=o>i?0:i-o>>r,l=(s-o>>r)+1;return l>vn&&(l=vn),function(){for(;;){if(a){var e=a();if(e!==Jn)return e;a=null}if(c===l)return Jn;var i=t?--l:c++;a=n(u&&u[i],r-fn,o+(i<=e.size||0>t)return e.withMutations(function(e){0>t?Ke(e,t).set(0,n):Ke(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=l(_n);return t>=Qe(e._capacity)?r=We(r,e.__ownerID,0,t,n,i):o=We(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):Ue(e._origin,e._capacity,e._level,o,r):e}function We(e,t,n,r,o,i){var s=r>>>n&mn,a=e&&s0){var c=e&&e.array[s],l=We(c,t,n-fn,r,o,i);return l===c?e:(u=Ye(e,t),u.array[s]=l,u)}return a&&e.array[s]===o?e:(p(i),u=Ye(e,t),void 0===o&&s===u.array.length-1?u.array.pop():u.array[s]=o,u)}function Ye(e,t){return t&&e&&t===e.ownerID?e:new Be(e?e.array.slice():[],t)}function Xe(e,t){if(t>=Qe(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&mn],r-=fn;return n}}function Ke(e,t,n){void 0!==t&&(t=0|t),void 0!==n&&(n=0|n);var r=e.__ownerID||new h,o=e._origin,i=e._capacity,s=o+t,a=void 0===n?i:0>n?i+n:o+n;if(s===o&&a===i)return e;if(s>=a)return e.clear();for(var u=e._level,c=e._root,l=0;0>s+l;)c=new Be(c&&c.array.length?[void 0,c]:[],r),u+=fn,l+=1<=1<d?Xe(e,a-1):d>p?new Be([],r):f;if(f&&d>p&&i>s&&f.array.length){c=Ye(c,r);for(var m=c,g=u;g>fn;g-=fn){var y=p>>>g&mn;m=m.array[y]=Ye(m.array[y],r)}m.array[p>>>fn&mn]=f}if(i>a&&(v=v&&v.removeAfter(r,0,a)),s>=d)s-=d,a-=d,u=fn,c=null,v=v&&v.removeBefore(r,0,s);else if(s>o||p>d){for(l=0;c;){var _=s>>>u&mn;if(_!==d>>>u&mn)break;_&&(l+=(1<o&&(c=c.removeBefore(r,u,s-l)),c&&p>d&&(c=c.removeAfter(r,u,d-l)),l&&(s-=l,a-=l)}return e.__ownerID?(e.size=a-s,e._origin=s,e._capacity=a,e._level=u,e._root=c,e._tail=v,e.__hash=void 0,e.__altered=!0,e):Ue(s,a,u,c,v)}function Je(e,t,n){for(var o=[],s=0,a=0;as&&(s=c.size),i(u)||(c=c.map(function(e){return G(e)})),o.push(c)}return s>e.size&&(e=e.setSize(s)),De(e,t,o)}function Qe(e){return vn>e?0:e-1>>>fn<=vn&&s.size>=2*i.size?(o=s.filter(function(e,t){return void 0!==e&&a!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=a===s.size-1?s.pop():s.set(a,void 0))}else if(u){if(n===s.get(a)[1])return e;r=i,o=s.set(a,[t,n])}else r=i.set(t,s.size),o=s.set(s.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function st(e){this._iter=e,this.size=e.size}function at(e){var t=It(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Ot,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===En){var r=e.__iterator(t,n);return new S(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===Sn?bn:Sn,n)},t}function ut(e,t,n){var r=It(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,gn);return i===gn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,s){return r(t.call(n,e,o,s),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(En,o);return new S(function(){var o=i.next();if(o.done)return o;var s=o.value,a=s[0];return E(r,a,t.call(n,s[1],a,e),o)})},r}function ct(e,t){var n=It(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=at(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Ot,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function lt(e,t,n,r){var o=It(e);return r&&(o.has=function(r){var o=e.get(r,gn);return o!==gn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,gn);return i!==gn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var s=this,a=0;return e.__iterate(function(e,i,u){return t.call(n,e,i,u)?(a++,o(e,r?i:a-1,s)):void 0},i),a},o.__iteratorUncached=function(o,i){var s=e.__iterator(En,i),a=0;return new S(function(){for(;;){var i=s.next();if(i.done)return i;var u=i.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return E(o,r?c:a++,l,i)}})},o}function pt(e,t,n){var r=pe().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function ht(e,t,n){var r=s(e),o=(c(e)?$e():pe()).asMutable();e.__iterate(function(i,s){o.update(t.call(n,i,s,e),function(e){return e=e||[],e.push(r?[s,i]:i),e})});var i=xt(e);return o.map(function(t){return Tt(e,i(t))})}function dt(e,t,n,r){var o=e.size;if(void 0!==t&&(t=0|t),void 0!==n&&(n=0|n),g(t,n,o))return e;var i=y(t,o),s=_(n,o);if(i!==i||s!==s)return dt(e.toSeq().cacheResult(),t,n,r);var a,u=s-i;u===u&&(a=0>u?0:u);var c=It(e);return c.size=0===a?a:e.size&&a||void 0,!r&&H(e)&&a>=0&&(c.get=function(t,n){return t=v(this,t),t>=0&&a>t?e.get(t+i,n):n}),c.__iterateUncached=function(t,n){var o=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(t,n);var s=0,u=!0,c=0;return e.__iterate(function(e,n){return u&&(u=s++a)return R();var e=o.next();return r||t===Sn?e:t===bn?E(t,u-1,void 0,e):E(t,u-1,e.value[1],e)})},c}function ft(e,t,n){var r=It(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var s=0;return e.__iterate(function(e,o,a){return t.call(n,e,o,a)&&++s&&r(e,o,i)}),s},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var s=e.__iterator(En,o),a=!0;return new S(function(){if(!a)return R();var e=s.next();if(e.done)return e;var o=e.value,u=o[0],c=o[1];return t.call(n,c,u,i)?r===En?e:E(r,u,c,e):(a=!1,R())})},r}function vt(e,t,n,r){var o=It(e);return o.__iterateUncached=function(o,i){var s=this;if(i)return this.cacheResult().__iterate(o,i);var a=!0,u=0;return e.__iterate(function(e,i,c){return a&&(a=t.call(n,e,i,c))?void 0:(u++,o(e,r?i:u-1,s))}),u},o.__iteratorUncached=function(o,i){var s=this;if(i)return this.cacheResult().__iterator(o,i);var a=e.__iterator(En,i),u=!0,c=0;return new S(function(){var e,i,l;do{if(e=a.next(),e.done)return r||o===Sn?e:o===bn?E(o,c++,void 0,e):E(o,c++,e.value[1],e);var p=e.value;i=p[0],l=p[1],u&&(u=t.call(n,l,i,s))}while(u);return o===En?e:E(o,i,l,e)})},o}function mt(e,t){var r=s(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?j(e):F(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var u=o[0];if(u===e||r&&s(u)||a(e)&&a(u))return u}var c=new D(o);return r?c=c.toKeyedSeq():a(e)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}function gt(e,t,n){var r=It(e);return r.__iterateUncached=function(r,o){function s(e,c){var l=this;e.__iterate(function(e,o){return(!t||t>c)&&i(e)?s(e,c+1):r(e,n?o:a++,l)===!1&&(u=!0),!u},o)}var a=0,u=!1;return s(e,0),a},r.__iteratorUncached=function(r,o){var s=e.__iterator(r,o),a=[],u=0;return new S(function(){for(;s;){var e=s.next();if(e.done===!1){var c=e.value;if(r===En&&(c=c[1]),t&&!(a.length0}function Rt(e,n,r){var o=It(e);return o.size=new D(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(Sn,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),w(o?e.reverse():e)}),s=0,a=!1;return new S(function(){var t;return a||(t=i.map(function(e){return e.next()}),a=t.some(function(e){return e.done})),a?R():E(e,s++,n.apply(null,t.map(function(e){return e.value})))})},o}function Tt(e,t){return H(e)?t:e.constructor(t)}function Ct(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function wt(e){return le(e.size),f(e)}function xt(e){return s(e)?n:a(e)?r:o}function It(e){return Object.create((s(e)?N:a(e)?P:k).prototype)}function Ot(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):O.prototype.cacheResult.call(this)}function Nt(e,t){return e>t?1:t>e?-1:0}function Pt(e){var n=w(e);if(!n){if(!I(e))throw new TypeError("Expected iterable or array-like: "+e);n=w(t(e))}return n}function kt(e,t){var n,r=function(i){if(i instanceof r)return i;if(!(this instanceof r))return new r(i);if(!n){n=!0;var s=Object.keys(e);Mt(o,s),o.size=s.length,o._name=t,o._keys=s,o._defaultValues=e}this._map=pe(i)},o=r.prototype=Object.create($n);return o.constructor=r,r}function Dt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function At(e){return e._name||e.constructor.name||"Record"}function Mt(e,t){try{t.forEach(Lt.bind(void 0,e))}catch(n){}}function Lt(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){$(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function Ht(e){return null===e||void 0===e?Bt():Vt(e)&&!c(e)?e:Bt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function Vt(e){return!(!e||!e[Zn])}function jt(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function Ft(e,t){var n=Object.create(er);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Bt(){return tr||(tr=Ft(Ee()))}function qt(e){return null===e||void 0===e?Gt():Ut(e)?e:Gt().withMutations(function(t){var n=o(e);le(n.size),n.forEach(function(e){return t.add(e)})})}function Ut(e){return Vt(e)&&c(e)}function zt(e,t){var n=Object.create(nr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Gt(){return rr||(rr=zt(tt()))}function Wt(e){return null===e||void 0===e?Kt():Yt(e)?e:Kt().unshiftAll(e)}function Yt(e){return!(!e||!e[or])}function Xt(e,t,n,r){var o=Object.create(ir);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function Kt(){return sr||(sr=Xt(0))}function Jt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function Qt(e,t){return t}function $t(e,t){return[t,e]}function Zt(e){return function(){return!e.apply(this,arguments)}}function en(e){return function(){return-e.apply(this,arguments)}}function tn(e){return"string"==typeof e?JSON.stringify(e):e}function nn(){return d(arguments)}function rn(e,t){return t>e?1:e>t?-1:0}function on(e){if(e.size===1/0)return 0;var t=c(e),n=s(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+an(ie(e),ie(t))|0}:function(e,t){r=r+an(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0});return sn(o,r)}function sn(e,t){return t=Pn(t,3432918353),t=Pn(t<<15|t>>>-15,461845907),t=Pn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Pn(t^t>>>16,2246822507),t=Pn(t^t>>>13,3266489909),t=oe(t^t>>>16)}function an(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var un=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=s,t.isIndexed=a,t.isAssociative=u,t.isOrdered=c,t.Keyed=n,t.Indexed=r,t.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",hn="@@__IMMUTABLE_ORDERED__@@",dn="delete",fn=5,vn=1<=o;o++)if(e(n[t?r-o:o],o,this)===!1)return o+1;return o},D.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,o=0;return new S(function(){return o>r?R():E(e,o,n[t?r-o++:o++])})},e(A,N),A.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},A.prototype.has=function(e){return this._object.hasOwnProperty(e)},A.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;o>=i;i++){var s=r[t?o-i:i];if(e(n[s],s,this)===!1)return i+1}return i},A.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new S(function(){var s=r[t?o-i:i];return i++>o?R():E(e,s,n[s])})},A.prototype[hn]=!0,e(M,P),M.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=w(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},M.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=w(n);if(!C(r))return new S(R);var o=0;return new S(function(){var t=r.next();return t.done?t:E(e,o++,t.value)})},e(L,P),L.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return E(e,o,r[o++])})};var xn;e(Q,P),Q.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Q.prototype.get=function(e,t){return this.has(e)?this._value:t},Q.prototype.includes=function(e){return K(this._value,e)},Q.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:new Q(this._value,_(t,n)-y(e,n))},Q.prototype.reverse=function(){return this},Q.prototype.indexOf=function(e){return K(this._value,e)?0:-1},Q.prototype.lastIndexOf=function(e){return K(this._value,e)?this.size:-1},Q.prototype.__iterate=function(e,t){for(var n=0;n1?" by "+this._step:"")+" ]"},Z.prototype.get=function(e,t){return this.has(e)?this._start+v(this,e)*this._step:t},Z.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t=t?new Z(0,0):new Z(this.get(e,this._end),this.get(t,this._end),this._step))},Z.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var n=t/this._step;if(n>=0&&n=i;i++){if(e(o,i,this)===!1)return i+1;o+=t?-r:r}return i},Z.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,o=t?this._start+n*r:this._start,i=0;return new S(function(){var s=o;return o+=t?-r:r,i>n?R():E(e,i++,s)})},Z.prototype.equals=function(e){return e instanceof Z?this._start===e._start&&this._end===e._end&&this._step===e._step:J(this,e)};var On;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Nn,Pn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e=0|e,t=0|t;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},kn=Object.isExtensible,Dn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),An="function"==typeof WeakMap;An&&(Nn=new WeakMap);var Mn=0,Ln="__immutablehash__";"function"==typeof Symbol&&(Ln=Symbol(Ln));var Hn=16,Vn=255,jn=0,Fn={};e(pe,te),pe.prototype.toString=function(){return this.__toString("Map {","}")},pe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},pe.prototype.set=function(e,t){return Re(this,e,t)},pe.prototype.setIn=function(e,t){return this.updateIn(e,gn,function(){return t})},pe.prototype.remove=function(e){return Re(this,e,gn)},pe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return gn})},pe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},pe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ae(this,Pt(e),t,n);return r===gn?void 0:r},pe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ee()},pe.prototype.merge=function(){return Ne(this,void 0,arguments)},pe.prototype.mergeWith=function(e){var t=un.call(arguments,1);return Ne(this,e,t)},pe.prototype.mergeIn=function(e){var t=un.call(arguments,1);return this.updateIn(e,Ee(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},pe.prototype.mergeDeep=function(){return Ne(this,Pe,arguments)},pe.prototype.mergeDeepWith=function(e){var t=un.call(arguments,1);return Ne(this,ke(e),t)},pe.prototype.mergeDeepIn=function(e){var t=un.call(arguments,1);return this.updateIn(e,Ee(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},pe.prototype.sort=function(e){return $e(bt(this,e))},pe.prototype.sortBy=function(e,t){return $e(bt(this,t,e))},pe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},pe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new h)},pe.prototype.asImmutable=function(){return this.__ensureOwner()},pe.prototype.wasAltered=function(){return this.__altered},pe.prototype.__iterator=function(e,t){return new ye(this,e,t)},pe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},pe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Se(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},pe.isMap=he;var Bn="@@__IMMUTABLE_MAP__@@",qn=pe.prototype;qn[Bn]=!0,qn[dn]=qn.remove,qn.removeIn=qn.deleteIn,de.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,s=o.length;s>i;i++)if(K(n,o[i][0]))return o[i][1];return r},de.prototype.update=function(e,t,n,r,o,i,s){for(var a=o===gn,u=this.entries,c=0,l=u.length;l>c&&!K(r,u[c][0]);c++);var h=l>c;if(h?u[c][1]===o:a)return this;if(p(s),(a||!h)&&p(i),!a||1!==u.length){if(!h&&!a&&u.length>=zn)return xe(e,u,r,o);var f=e&&e===this.ownerID,v=f?u:d(u);return h?a?c===l-1?v.pop():v[c]=v.pop():v[c]=[r,o]:v.push([r,o]),f?(this.entries=v,this):new de(e,v)}},fe.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&mn),i=this.bitmap;return 0===(i&o)?r:this.nodes[Me(i&o-1)].get(e+fn,t,n,r)},fe.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=(0===t?n:n>>>t)&mn,u=1<=Gn)return Oe(e,h,c,a,f);if(l&&!f&&2===h.length&&Ce(h[1^p]))return h[1^p];if(l&&f&&1===h.length&&Ce(f))return f;var v=e&&e===this.ownerID,m=l?f?c:c^u:c|u,g=l?f?Le(h,p,f,v):Ve(h,p,v):He(h,p,f,v);return v?(this.bitmap=m,this.nodes=g,this):new fe(e,m,g)},ve.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&mn,i=this.nodes[o];return i?i.get(e+fn,t,n,r):r},ve.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=(0===t?n:n>>>t)&mn,u=o===gn,c=this.nodes,l=c[a];if(u&&!l)return this;var p=Te(l,e,t+fn,n,r,o,i,s);if(p===l)return this;var h=this.count;if(l){if(!p&&(h--,Wn>h))return Ie(e,c,h,a)}else h++;var d=e&&e===this.ownerID,f=Le(c,a,p,d);return d?(this.count=h,this.nodes=f,this):new ve(e,h,f)},me.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,s=o.length;s>i;i++)if(K(n,o[i][0]))return o[i][1];return r},me.prototype.update=function(e,t,n,r,o,i,s){void 0===n&&(n=ie(r));var a=o===gn;if(n!==this.keyHash)return a?this:(p(s),p(i),we(this,e,t,n,[r,o]));for(var u=this.entries,c=0,l=u.length;l>c&&!K(r,u[c][0]);c++);var h=l>c;if(h?u[c][1]===o:a)return this;if(p(s),(a||!h)&&p(i),a&&2===l)return new ge(e,this.keyHash,u[1^c]);var f=e&&e===this.ownerID,v=f?u:d(u);return h?a?c===l-1?v.pop():v[c]=v.pop():v[c]=[r,o]:v.push([r,o]),f?(this.entries=v,this):new me(e,this.keyHash,v)},ge.prototype.get=function(e,t,n,r){return K(n,this.entry[0])?this.entry[1]:r},ge.prototype.update=function(e,t,n,r,o,i,s){var a=o===gn,u=K(r,this.entry[0]);return(u?o===this.entry[1]:a)?this:(p(s),a?void p(i):u?e&&e===this.ownerID?(this.entry[1]=o,this):new ge(e,this.keyHash,[r,o]):(p(i),we(this,e,t,ie(r),[r,o])))},de.prototype.iterate=me.prototype.iterate=function(e,t){for(var n=this.entries,r=0,o=n.length-1;o>=r;r++)if(e(n[t?o-r:r])===!1)return!1},fe.prototype.iterate=ve.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,o=n.length-1;o>=r;r++){var i=n[t?o-r:r];if(i&&i.iterate(e,t)===!1)return!1}},ge.prototype.iterate=function(e,t){return e(this.entry)},e(ye,S),ye.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,o=t.index++;if(r.entry){if(0===o)return _e(e,r.entry)}else if(r.entries){if(n=r.entries.length-1,
+n>=o)return _e(e,r.entries[this._reverse?n-o:o])}else if(n=r.nodes.length-1,n>=o){var i=r.nodes[this._reverse?n-o:o];if(i){if(i.entry)return _e(e,i.entry);t=this._stack=be(i,t)}continue}t=this._stack=this._stack.__prev}return R()};var Un,zn=vn/4,Gn=vn/2,Wn=vn/4;e(je,ne),je.of=function(){return this(arguments)},je.prototype.toString=function(){return this.__toString("List [","]")},je.prototype.get=function(e,t){if(e=v(this,e),e>=0&&e>>t&mn;if(r>=this.array.length)return new Be([],e);var o,i=0===r;if(t>0){var s=this.array[r];if(o=s&&s.removeBefore(e,t-fn,n),o===s&&i)return this}if(i&&!o)return this;var a=Ye(this,e);if(!i)for(var u=0;r>u;u++)a.array[u]=void 0;return o&&(a.array[r]=o),a},Be.prototype.removeAfter=function(e,t,n){if(n===(t?1<>>t&mn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if(o=i&&i.removeAfter(e,t-fn,n),o===i&&r===this.array.length-1)return this}var s=Ye(this,e);return s.array.splice(r+1),o&&(s.array[r]=o),s};var Kn,Jn={};e($e,pe),$e.of=function(){return this(arguments)},$e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},$e.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},$e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},$e.prototype.set=function(e,t){return nt(this,e,t)},$e.prototype.remove=function(e){return nt(this,e,gn)},$e.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},$e.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},$e.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},$e.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},$e.isOrderedMap=Ze,$e.prototype[hn]=!0,$e.prototype[dn]=$e.prototype.remove;var Qn;e(rt,N),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ct(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=ut(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?wt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(Sn,t),r=t?wt(this):0;return new S(function(){var o=n.next();return o.done?o:E(e,t?--r:r++,o.value,o)})},rt.prototype[hn]=!0,e(ot,P),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Sn,t),r=0;return new S(function(){var t=n.next();return t.done?t:E(e,r++,t.value,t)})},e(it,k),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Sn,t);return new S(function(){var t=n.next();return t.done?t:E(e,t.value,t.value,t)})},e(st,N),st.prototype.entrySeq=function(){return this._iter.toSeq()},st.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Ct(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},st.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Sn,t);return new S(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Ct(r);var o=i(r);return E(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=st.prototype.cacheResult=Ot,e(kt,te),kt.prototype.toString=function(){return this.__toString(At(this)+" {","}")},kt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},kt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},kt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Dt(this,Ee()))},kt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+At(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Dt(this,n)},kt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Dt(this,t)},kt.prototype.wasAltered=function(){return this._map.wasAltered()},kt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},kt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},kt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Dt(this,t,e):(this.__ownerID=e,this._map=t,this)};var $n=kt.prototype;$n[dn]=$n.remove,$n.deleteIn=$n.removeIn=qn.removeIn,$n.merge=qn.merge,$n.mergeWith=qn.mergeWith,$n.mergeIn=qn.mergeIn,$n.mergeDeep=qn.mergeDeep,$n.mergeDeepWith=qn.mergeDeepWith,$n.mergeDeepIn=qn.mergeDeepIn,$n.setIn=qn.setIn,$n.update=qn.update,$n.updateIn=qn.updateIn,$n.withMutations=qn.withMutations,$n.asMutable=qn.asMutable,$n.asImmutable=qn.asImmutable,e(Ht,re),Ht.of=function(){return this(arguments)},Ht.fromKeys=function(e){return this(n(e).keySeq())},Ht.prototype.toString=function(){return this.__toString("Set {","}")},Ht.prototype.has=function(e){return this._map.has(e)},Ht.prototype.add=function(e){return jt(this,this._map.set(e,!0))},Ht.prototype.remove=function(e){return jt(this,this._map.remove(e))},Ht.prototype.clear=function(){return jt(this,this._map.clear())},Ht.prototype.union=function(){var e=un.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Xt(e,t)},Wt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;le(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xt(t,n)},Wt.prototype.pop=function(){return this.slice(1)},Wt.prototype.unshift=function(){return this.push.apply(this,arguments)},Wt.prototype.unshiftAll=function(e){return this.pushAll(e)},Wt.prototype.shift=function(){return this.pop.apply(this,arguments)},Wt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Kt()},Wt.prototype.slice=function(e,t){if(g(e,t,this.size))return this;var n=y(e,this.size),r=_(t,this.size);if(r!==this.size)return ne.prototype.slice.call(this,e,t);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):Xt(o,i)},Wt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Xt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},Wt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new S(function(){if(r){var t=r.value;return r=r.next,E(e,n++,t)}return R()})},Wt.isStack=Yt;var or="@@__IMMUTABLE_STACK__@@",ir=Wt.prototype;ir[or]=!0,ir.withMutations=qn.withMutations,ir.asMutable=qn.asMutable,ir.asImmutable=qn.asImmutable,ir.wasAltered=qn.wasAltered;var sr;t.Iterator=S,Jt(t,{toArray:function(){le(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return pe(this.toKeyedSeq())},toObject:function(){le(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return $e(this.toKeyedSeq())},toOrderedSet:function(){return qt(s(this)?this.valueSeq():this)},toSet:function(){return Ht(s(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return a(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wt(s(this)?this.valueSeq():this)},toList:function(){return je(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=un.call(arguments,0);return Tt(this,mt(this,e))},includes:function(e){return this.some(function(t){return K(t,e)})},entries:function(){return this.__iterator(En)},every:function(e,t){le(this.size);var n=!0;return this.__iterate(function(r,o,i){return e.call(t,r,o,i)?void 0:(n=!1,!1)}),n},filter:function(e,t){return Tt(this,lt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){return e.call(t,r,o,i)?(n=[o,r],!1):void 0}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return le(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){le(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(bn)},map:function(e,t){return Tt(this,ut(this,e,t))},reduce:function(e,t,n){le(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,s){o?(o=!1,r=t):r=e.call(n,r,t,i,s)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Tt(this,ct(this,!0))},slice:function(e,t){return Tt(this,dt(this,e,t,!0))},some:function(e,t){return!this.every(Zt(e),t)},sort:function(e){return Tt(this,bt(this,e))},values:function(){return this.__iterator(Sn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return f(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return pt(this,e,t)},equals:function(e){return J(this,e)},entrySeq:function(){var e=this;if(e._cache)return new D(e._cache);var t=e.toSeq().map($t).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Zt(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(m)},flatMap:function(e,t){return Tt(this,yt(this,e,t))},flatten:function(e){return Tt(this,gt(this,e,!0))},fromEntrySeq:function(){return new st(this)},get:function(e,t){return this.find(function(t,n){return K(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=Pt(e);!(n=o.next()).done;){var i=n.value;if(r=r&&r.get?r.get(i,gn):gn,r===gn)return t}return r},groupBy:function(e,t){return ht(this,e,t)},has:function(e){return this.get(e,gn)!==gn},hasIn:function(e){return this.getIn(e,gn)!==gn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(Qt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return St(this,e)},maxBy:function(e,t){return St(this,t,e)},min:function(e){return St(this,e?en(e):rn)},minBy:function(e,t){return St(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Tt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Tt(this,vt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Zt(e),t)},sortBy:function(e,t){return Tt(this,bt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Tt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Tt(this,ft(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Zt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=t.prototype;ar[cn]=!0,ar[Cn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=tn,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,function(){try{Object.defineProperty(ar,"length",{get:function(){if(!t.noLengthWarning){var e;try{throw new Error}catch(n){e=n.stack}if(-1===e.indexOf("_wrapObject"))return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Jt(n,{flip:function(){return Tt(this,at(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return K(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return K(t,e)})},mapEntries:function(e,t){var n=this,r=0;return Tt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Tt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var ur=n.prototype;ur[ln]=!0,ur[Cn]=ar.entries,ur.__toJS=ar.toObject,ur.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Jt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return Tt(this,lt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return Tt(this,ct(this,!1))},slice:function(e,t){return Tt(this,dt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=y(e,0>e?this.count():this.size);var r=this.slice(0,e);return Tt(this,1===n?r:r.concat(d(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return Tt(this,gt(this,e,!1))},get:function(e,t){return e=v(this,e),0>e||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return e=v(this,e),e>=0&&(void 0!==this.size?this.size===1/0||ee?o.Left[e]:o.Right[e]},T=u.createClass({displayName:"NavigatorBreadcrumbNavigationBar",propTypes:{navigator:m.shape({push:m.func,pop:m.func,replace:m.func,popToRoute:m.func,popToTop:m.func}),routeMapper:m.shape({rightContentForRoute:m.func,titleContentForRoute:m.func,iconForRoute:m.func}),navState:u.PropTypes.shape({routeStack:u.PropTypes.arrayOf(u.PropTypes.object),presentedIndex:u.PropTypes.number}),style:l.propTypes.style},statics:{Styles:o},_updateIndexProgress:function(e,t,n,r){var o,i=r>n?e:1-e,s=t-n,a=t-r;d(f[t],"Cannot find breadcrumb interpolators for "+t),o=s>0&&0===a||a>0&&0===s?f[t].RightToCenter:0>s&&0===a||0>a&&0===s?f[t].CenterToLeft:s===a?f[t].RightToCenter:f[t].RightToLeft,o.Crumb(g[t].style,i)&&this._setPropsIfExists("crumb_"+t,g[t]),o.Icon(y[t].style,i)&&this._setPropsIfExists("icon_"+t,y[t]),o.Separator(_[t].style,i)&&this._setPropsIfExists("separator_"+t,_[t]),o.Title(b[t].style,i)&&this._setPropsIfExists("title_"+t,b[t]);var u=this.refs["right_"+t];u&&o.RightItem(S[t].style,i)&&u.setNativeProps(S[t])},updateProgress:function(e,t,n){for(var r=Math.max(t,n),o=Math.min(t,n),i=o;r>=i;i++)this._updateIndexProgress(e,i,t,n)},onAnimationStart:function(e,t){for(var n=Math.max(e,t),r=Math.min(e,t),o=r;n>=o;o++)this._setRenderViewsToHardwareTextureAndroid(o,!0)},onAnimationEnd:function(){for(var e=this.props.navState.routeStack.length-1,t=0;e>=t;t++)this._setRenderViewsToHardwareTextureAndroid(t,!1)},_setRenderViewsToHardwareTextureAndroid:function(e,t){var n={renderToHardwareTextureAndroid:t};this._setPropsIfExists("icon_"+e,n),this._setPropsIfExists("separator_"+e,n),this._setPropsIfExists("title_"+e,n),this._setPropsIfExists("right_"+e,n)},componentWillMount:function(){this._descriptors={crumb:new h,title:new h,right:new h}},render:function(){var e=this.props.navState,t=e&&e.routeStack.map(this._getBreadcrumb),n=e.routeStack.map(this._getTitle),r=e.routeStack.map(this._getRightButton);return u.createElement(l,{style:[C.breadCrumbContainer,this.props.style]},n,t,r)},_getBreadcrumb:function(e,t){if(this._descriptors.crumb.has(e))return this._descriptors.crumb.get(e);var n=this.props.routeMapper,r=R(t,E(this.props.navState)),o=u.createElement(l,{key:"crumb_"+t,ref:"crumb_"+t,style:r.Crumb},u.createElement(l,{ref:"icon_"+t,style:r.Icon},n.iconForRoute(e,this.props.navigator)),u.createElement(l,{ref:"separator_"+t,style:r.Separator},n.separatorForRoute(e,this.props.navigator)));return this._descriptors.crumb=this._descriptors.crumb.set(e,o),o},_getTitle:function(e,t){if(this._descriptors.title.has(e))return this._descriptors.title.get(e);var n=this.props.routeMapper.titleContentForRoute(this.props.navState.routeStack[t],this.props.navigator),r=R(t,E(this.props.navState)),o=u.createElement(l,{key:"title_"+t,ref:"title_"+t,style:r.Title},n);return this._descriptors.title=this._descriptors.title.set(e,o),o},_getRightButton:function(e,t){if(this._descriptors.right.has(e))return this._descriptors.right.get(e);var n=this.props.routeMapper.rightContentForRoute(this.props.navState.routeStack[t],this.props.navigator);if(!n)return this._descriptors.right=this._descriptors.right.set(e,null),null;var r=R(t,E(this.props.navState)),o=u.createElement(l,{key:"right_"+t,ref:"right_"+t,style:r.RightItem},n);return this._descriptors.right=this._descriptors.right.set(e,o),o},_setPropsIfExists:function(e,t){var e=this.refs[e];e&&e.setNativeProps(t)}}),C=c.create({breadCrumbContainer:{overflow:"hidden",position:"absolute",height:v.General.TotalNavHeight,top:0,left:0,right:0}});n.exports=T}),__d("NavigatorBreadcrumbNavigationBarStyles",function(e,t,n,r){"use strict";for(var o=t("Dimensions"),i=t("NavigatorNavigationBarStylesIOS"),s=t("buildStyleInterpolator"),a=t("merge"),u=o.get("window").width,c=i.General.StatusBarHeight,l=i.General.NavBarHeight,p=4,h=40,d=9,f=h+d,v=100,m=.6,g=10,y={position:"absolute",flexDirection:"row",top:c,width:f,height:l,backgroundColor:"transparent"},_={width:h,height:l},b={width:d,height:l},S={position:"absolute",top:c,height:l,backgroundColor:"transparent"},E=a(S,{left:0,right:0,alignItems:"center",height:l}),R={position:"absolute",top:c,right:p,overflow:"hidden",opacity:1,height:l,backgroundColor:"transparent"},T=[],C=[],w=[],x=0;g>x;x++){var I=f*x+p;T[x]={Crumb:a(y,{left:I}),Icon:a(_,{opacity:m}),Separator:a(b,{opacity:1}),Title:a(S,{left:I,opacity:0}),RightItem:a(R,{opacity:0})},C[x]={Crumb:a(y,{left:I}),Icon:a(_,{opacity:1}),Separator:a(b,{opacity:0}),Title:a(S,{left:I+h,opacity:1}),RightItem:a(R,{opacity:1})};var O=u-100;w[x]={Crumb:a(y,{left:O}),Icon:a(_,{opacity:0}),Separator:a(b,{opacity:0}),Title:a(S,{left:O+h,opacity:0}),RightItem:a(R,{opacity:0})}}C[0]={Crumb:a(y,{left:u/4}),Icon:a(_,{opacity:0}),Separator:a(b,{opacity:0}),Title:a(E,{opacity:1}),RightItem:C[0].RightItem},T[0].Title=a(E,{left:-u/4,opacity:0}),w[0].Title=a(E,{opacity:0});var N=function(e,t){return{Crumb:s({left:{type:"linear",from:e.Crumb.left,to:t.Crumb.left,min:0,max:1,extrapolate:!0}}),Icon:s({opacity:{type:"linear",from:e.Icon.opacity,to:t.Icon.opacity,min:0,max:1}}),Separator:s({opacity:{type:"linear",from:e.Separator.opacity,to:t.Separator.opacity,min:0,max:1}}),Title:s({opacity:{type:"linear",from:e.Title.opacity,to:t.Title.opacity,min:0,max:1},left:{type:"linear",from:e.Title.left,to:t.Title.left,min:0,max:1,extrapolate:!0}}),RightItem:s({opacity:{type:"linear",from:e.RightItem.opacity,to:t.RightItem.opacity,min:0,max:1,round:v}})}},P=C.map(function(e,t){return{RightToCenter:N(w[t],C[t]),CenterToLeft:N(C[t],T[t]),RightToLeft:N(w[t],T[t])}});n.exports={Interpolators:P,Left:T,Center:C,Right:w,IconWidth:h,IconHeight:l,SeparatorWidth:d,SeparatorHeight:l}}),__d("NavigatorNavigationBarStylesIOS",function(e,t,n,r){"use strict";function o(e,t){return{Title:s({opacity:{type:"linear",from:e.Title.opacity,to:t.Title.opacity,min:0,max:1},left:{type:"linear",from:e.Title.left,to:t.Title.left,min:0,max:1,extrapolate:!0}}),LeftButton:s({opacity:{type:"linear",from:e.LeftButton.opacity,to:t.LeftButton.opacity,min:0,max:1,round:f},left:{type:"linear",from:e.LeftButton.left,to:t.LeftButton.left,min:0,max:1}}),RightButton:s({opacity:{type:"linear",from:e.RightButton.opacity,to:t.RightButton.opacity,min:0,max:1,round:f},left:{type:"linear",from:e.RightButton.left,to:t.RightButton.left,min:0,max:1,extrapolate:!0}})}}var i=t("Dimensions"),s=t("buildStyleInterpolator"),a=t("merge"),u=i.get("window").width,c=44,l=20,p=c+l,h={Title:{position:"absolute",top:l,left:0,right:0,alignItems:"center",height:c,backgroundColor:"transparent"},LeftButton:{position:"absolute",top:l,left:0,overflow:"hidden",opacity:1,height:c,backgroundColor:"transparent"},RightButton:{position:"absolute",top:l,right:0,overflow:"hidden",opacity:1,alignItems:"flex-end",height:c,backgroundColor:"transparent"}},d={Left:{Title:a(h.Title,{left:-u/2,opacity:0}),LeftButton:a(h.LeftButton,{left:-u/3,opacity:0}),RightButton:a(h.RightButton,{opacity:0})},Center:{Title:a(h.Title,{left:0,opacity:1}),LeftButton:a(h.LeftButton,{left:0,opacity:1}),RightButton:a(h.RightButton,{opacity:1})},Right:{Title:a(h.Title,{left:u/2,opacity:0}),LeftButton:a(h.LeftButton,{left:0,opacity:0}),RightButton:a(h.RightButton,{opacity:0})}},f=100,v={RightToCenter:o(d.Right,d.Center),CenterToLeft:o(d.Center,d.Left),RightToLeft:o(d.Right,d.Left)};n.exports={General:{NavBarHeight:c,StatusBarHeight:l,TotalNavHeight:p},Interpolators:v,Stages:d}}),__d("buildStyleInterpolator",function(e,t,n,r){for(var o=t("keyOf"),i=o({x:null}),s=o({y:null}),a=o({z:null}),u=o({w:null}),c=o({transformRotateRadians:null}),l={transformRotateRadians:!0,transformScale:!0,transformTranslate:!0},p={transformRotateRadians:[0,0,0,1],transformTranslate:[0,0,0],transformScale:[1,1,1]},h=/([^\s,]+)/g,d=function(e,t){var n=e.toString(),r=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(h)||[],o=r.map(function(e){return"\\b"+e+"\\b"}).join("|"),i=new RegExp(o,"g"),s=n.substring(n.indexOf("{")+1,n.lastIndexOf("}")),a=s.replace(i,function(e){var n=r.indexOf(e),o=t[n];return o});return a.split("\n")},f={unroll:function(e,t,n,r,o,i,s,a,u,c,l,p,h,d,f,v,m){t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],s=e[5],a=e[6],u=e[7],c=e[8],l=e[9],p=e[10],h=e[11],d=e[12],f=e[13],v=e[14],m=e[15]},matrixDiffers:function(e,t,n,r,o,i,s,a,u,c,l,p,h,d,f,v,m,g){e=e||n!==t[0]||r!==t[1]||o!==t[2]||i!==t[3]||s!==t[4]||a!==t[5]||u!==t[6]||c!==t[7]||l!==t[8]||p!==t[9]||h!==t[10]||d!==t[11]||f!==t[12]||v!==t[13]||m!==t[14]||g!==t[15]},transformScale:function(e,t){var n=t[0],r=t[1],o=t[2];e[0]=e[0]*n,e[1]=e[1]*n,e[2]=e[2]*n,e[3]=e[3]*n,e[4]=e[4]*r,e[5]=e[5]*r,e[6]=e[6]*r,e[7]=e[7]*r,e[8]=e[8]*o,e[9]=e[9]*o,e[10]=e[10]*o,e[11]=e[11]*o,e[12]=e[12],e[13]=e[13],e[14]=e[14],e[15]=e[15]},transformTranslate:function(e,t){var n=t[0],r=t[1],o=t[2];e[12]=e[0]*n+e[4]*r+e[8]*o+e[12],e[13]=e[1]*n+e[5]*r+e[9]*o+e[13],e[14]=e[2]*n+e[6]*r+e[10]*o+e[14],e[15]=e[3]*n+e[7]*r+e[11]*o+e[15]},transformRotateRadians:function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],s=n+n,a=r+r,u=o+o,c=n*s,l=n*a,p=n*u,h=r*a,d=r*u,f=o*u,v=i*s,m=i*a,g=i*u,y=1-(h+f),_=l+g,b=p-m,S=l-g,E=1-(c+f),R=d+v,T=p+m,C=d-v,w=1-(c+h),x=e[0],I=e[1],O=e[2],N=e[3],P=e[4],k=e[5],D=e[6],A=e[7],M=e[8],L=e[9],H=e[10],V=e[11],j=y,F=_,B=b;e[0]=j*x+F*P+B*M,e[1]=j*I+F*k+B*L,e[2]=j*O+F*D+B*H,e[3]=j*N+F*A+B*V,j=S,F=E,B=R,e[4]=j*x+F*P+B*M,e[5]=j*I+F*k+B*L,e[6]=j*O+F*D+B*H,e[7]=j*N+F*A+B*V,j=T,F=C,B=w,e[8]=j*x+F*P+B*M,e[9]=j*I+F*k+B*L,e[10]=j*O+F*D+B*H,e[11]=j*N+F*A+B*V}},v={transformScale:function(e,t){e[0]=t[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=t[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=t[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1},transformTranslate:function(e,t){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1},transformRotateRadians:function(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],s=n+n,a=r+r,u=o+o,c=n*s,l=n*a,p=n*u,h=r*a,d=r*u,f=o*u,v=i*s,m=i*a,g=i*u,y=1-(h+f),_=l+g,b=p-m,S=l-g,E=1-(c+f),R=d+v,T=p+m,C=d-v,w=1-(c+h),x=y,I=_,O=b;e[0]=x,e[1]=I,e[2]=O,e[3]=0,x=S,I=E,O=R,e[4]=x,e[5]=I,e[6]=O,e[7]=0,x=T,I=C,O=w,e[8]=x,e[9]=I,e[10]=O,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1}},m=function(e,t){return" if (!didChange) {\n var prevVal = result."+e+";\n result."+e+" = "+t+";\n didChange = didChange || ("+t+" !== prevVal);\n } else {\n result."+e+" = "+t+";\n }\n"},g=(function(e,t,n,r){
+var o="round"in e,i=e.round,s=" ratio = (value - "+e.min+") / "+(e.max-e.min)+";\n";e.extrapolate||(s+=" ratio = ratio > 1 ? 1 : (ratio < 0 ? 0 : ratio);\n");var a=o?"Math.round("+i+" * ":"",u=o?") / "+i:"";return s+=" "+r+" = "+a+"("+t+" * (1 - ratio) + "+n+" * ratio)"+u+";\n"}),y=function(e){return g(e,e.from,e.to,"nextScalarVal")},_=function(e){var t=JSON.stringify(e.value);return" nextScalarVal = "+t+";\n"},b=function(e){return" nextScalarVal = value >= "+(e.threshold+" ? "+e.to+" : "+e.from)+";\n"},S=function(e){return" nextScalarVal = value;\n"},E=function(e){return e+"ReuseOp"},R=function(e){var t="";for(var n in e)l[n]&&(t+="var "+E(n)+" = [];\n");return t},T=function(e){return"\n"+e.join("\n")+"\n"},C=function(e,t,n,r){var o=E(t)+"["+r+"]";return void 0!==e.from[n]&&void 0!==e.to[n]?" "+e.from[n]!==e.to[n]?g(e,e.from[n],e.to[n],o):o+" = "+e.from[n]+";":" "+o+" = "+p[t][r]+";"},w=[],x=0;16>x;x++)w.push("m"+x);var I=function(e){var t=[" var transformMatrix = result.transformMatrix !== undefined ? result.transformMatrix : (result.transformMatrix = []);"];t.push.apply(t,d(f.unroll,["transformMatrix"].concat(w)));for(var n=0;nn?e:1-e,s=t-n,a=t-r;o=s>0&&0===a||a>0&&0===s?this.props.navigationStyles.Interpolators.RightToCenter:0>s&&0===a||0>a&&0===s?this.props.navigationStyles.Interpolators.CenterToLeft:s===a?this.props.navigationStyles.Interpolators.RightToCenter:this.props.navigationStyles.Interpolators.RightToLeft,d.forEach(function(e){var n=this._components[e].get(this.props.navState.routeStack[t]),r=this._getReusableProps(e,t);n&&o[e](r.style,i)&&n.setNativeProps(r)},this)},updateProgress:function(e,t,n){for(var r=Math.max(t,n),o=Math.min(t,n),i=o;r>=i;i++)this._updateIndexProgress(e,i,t,n)},render:function(){var e=this,t={height:this.props.navigationStyles.General.TotalNavHeight},n=this.props.navState,r=n.routeStack.map(function(t,n){return d.map(function(r){return e._getComponent(r,t,n)})});return o.createElement(c,{key:this._key,style:[g.navBarContainer,t,this.props.style]},r)},_getComponent:function(e,t,n){var r=this;if(this._descriptors[e].includes(t))return this._descriptors[e].get(t);var i=null,s=this.props.routeMapper[e](this.props.navState.routeStack[n],this.props.navigator,n,this.props.navState);if(!s)return null;var a=n===v(this.props.navState)?this.props.navigationStyles.Stages.Center:this.props.navigationStyles.Stages.Left;return i=o.createElement(c,{ref:function(n){r._components[e]=r._components[e].set(t,n)},pointerEvents:"box-none",style:a[e]},s),this._descriptors[e]=this._descriptors[e].set(t,i),i}}),g=u.create({navBarContainer:{position:"absolute",top:0,left:0,right:0,backgroundColor:"transparent"}});n.exports=m}),__d("NavigatorSceneConfigs",function(e,t,n,r){"use strict";var o=t("Dimensions"),i=t("PixelRatio"),s=t("buildStyleInterpolator"),a=o.get("window").width,u=o.get("window").height,c={transformTranslate:{from:{x:0,y:0,z:0},to:{x:-Math.round(.3*o.get("window").width),y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},transformScale:{from:{x:1,y:1,z:1},to:{x:.95,y:.95,z:1},min:0,max:1,type:"linear",extrapolate:!0},opacity:{from:1,to:.3,min:0,max:1,type:"linear",extrapolate:!1,round:100},translateX:{from:0,to:-Math.round(.3*o.get("window").width),min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},scaleX:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0},scaleY:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0}},l=babelHelpers["extends"]({},c,{transformTranslate:{from:{x:0,y:0,z:0},to:{x:Math.round(.3*a),y:0,z:0}},translateX:{from:0,to:Math.round(.3*a)}}),p={opacity:{from:0,to:1,min:.5,max:1,type:"linear",extrapolate:!1,round:100}},h={opacity:{from:1,to:0,min:0,max:.5,type:"linear",extrapolate:!1,round:100}},d={transformTranslate:{from:{x:0,y:0,z:0},to:{x:-o.get("window").width,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},opacity:{value:1,type:"constant"},translateX:{from:0,to:-o.get("window").width,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}},f={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:-o.get("window").height,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},opacity:{value:1,type:"constant"},translateY:{from:0,to:-o.get("window").height,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}},v={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:o.get("window").height,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},opacity:{value:1,type:"constant"},translateY:{from:0,to:o.get("window").height,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}},m={opacity:{value:1,type:"constant"},transformTranslate:{from:{x:o.get("window").width,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},translateX:{from:o.get("window").width,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},scaleX:{value:1,type:"constant"},scaleY:{value:1,type:"constant"}},g=babelHelpers["extends"]({},m,{transformTranslate:{from:{x:-a,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},translateX:{from:-a,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}}),y=babelHelpers["extends"]({},m,{transformTranslate:{from:{y:u,x:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},translateY:{from:u,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}}),_=babelHelpers["extends"]({},m,{transformTranslate:{from:{y:-u,x:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},translateY:{from:-u,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}}),b={transformTranslate:{from:{x:0,y:0,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},transformScale:{from:{x:1,y:1,z:1},to:{x:.95,y:.95,z:1},min:0,max:1,type:"linear",extrapolate:!0},opacity:{from:1,to:.3,min:0,max:1,type:"linear",extrapolate:!1,round:100},scaleX:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0},scaleY:{from:1,to:.95,min:0,max:1,type:"linear",extrapolate:!0}},S={opacity:{value:1,type:"constant"},transformTranslate:{from:{x:0,y:o.get("window").height,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},translateY:{from:o.get("window").height,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},scaleX:{value:1,type:"constant"},scaleY:{value:1,type:"constant"}},E={opacity:{value:1,type:"constant"}},R={opacity:{from:0,to:1,min:.5,max:1,type:"linear",extrapolate:!1,round:100},transformTranslate:{from:{x:0,y:100,z:0},to:{x:0,y:0,z:0},min:0,max:1,type:"linear",extrapolate:!0,round:i.get()},translateY:{from:100,to:0,min:0,max:1,type:"linear",extrapolate:!0,round:i.get()}},T={frictionConstant:1,frictionByDistance:1.5},C={isDetachable:!1,gestureDetectMovement:2,notMoving:.3,directionRatio:.66,snapVelocity:2,edgeHitWidth:30,stillCompletionRatio:.6,fullDistance:a,direction:"left-to-right"},w=babelHelpers["extends"]({},C,{direction:"right-to-left"}),x=babelHelpers["extends"]({},C,{fullDistance:u,direction:"down-to-up"}),I=babelHelpers["extends"]({},C,{fullDistance:u,direction:"up-to-down"}),O={gestures:{pop:C},springFriction:26,springTension:200,defaultTransitionVelocity:1.5,animationInterpolators:{into:s(m),out:s(c)}},N={PushFromRight:babelHelpers["extends"]({},O),FloatFromRight:babelHelpers["extends"]({},O),FloatFromLeft:babelHelpers["extends"]({},O,{gestures:{pop:w},animationInterpolators:{into:s(g),out:s(l)}}),FloatFromBottom:babelHelpers["extends"]({},O,{gestures:{pop:babelHelpers["extends"]({},C,{edgeHitWidth:150,direction:"top-to-bottom",fullDistance:u})},animationInterpolators:{into:s(S),out:s(b)}}),FloatFromBottomAndroid:babelHelpers["extends"]({},O,{gestures:null,defaultTransitionVelocity:3,springFriction:20,animationInterpolators:{into:s(R),out:s(E)}}),FadeAndroid:babelHelpers["extends"]({},O,{gestures:null,animationInterpolators:{into:s(p),out:s(h)}}),HorizontalSwipeJump:babelHelpers["extends"]({},O,{gestures:{jumpBack:babelHelpers["extends"]({},C,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:babelHelpers["extends"]({},w,{overswipe:T,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:s(m),out:s(d)}}),HorizontalSwipeJumpFromRight:babelHelpers["extends"]({},O,{gestures:{jumpBack:babelHelpers["extends"]({},w,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:babelHelpers["extends"]({},C,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),pop:w},animationInterpolators:{into:s(g),out:s(l)}}),VerticalUpSwipeJump:babelHelpers["extends"]({},O,{gestures:{jumpBack:babelHelpers["extends"]({},x,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:babelHelpers["extends"]({},x,{overswipe:T,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:s(y),out:s(f)}}),VerticalDownSwipeJump:babelHelpers["extends"]({},O,{gestures:{jumpBack:babelHelpers["extends"]({},I,{overswipe:T,edgeHitWidth:null,isDetachable:!0}),jumpForward:babelHelpers["extends"]({},I,{overswipe:T,edgeHitWidth:null,isDetachable:!0})},animationInterpolators:{into:s(_),out:s(v)}})};n.exports=N}),__d("PanResponder",function(e,t,n,r){"use strict";var o=t("TouchHistoryMath"),i=o.currentCentroidXOfTouchesChangedAfter,s=o.currentCentroidYOfTouchesChangedAfter,a=o.previousCentroidXOfTouchesChangedAfter,u=o.previousCentroidYOfTouchesChangedAfter,c=o.currentCentroidX,l=o.currentCentroidY,p={_initializeGestureState:function(e){e.moveX=0,e.moveY=0,e.x0=0,e.y0=0,e.dx=0,e.dy=0,e.vx=0,e.vy=0,e.numberActiveTouches=0,e._accountsForMovesUpTo=0},_updateGestureStateOnMove:function(e,t){e.numberActiveTouches=t.numberActiveTouches,e.moveX=i(t,e._accountsForMovesUpTo),e.moveY=s(t,e._accountsForMovesUpTo);var n=e._accountsForMovesUpTo,r=a(t,n),o=i(t,n),c=u(t,n),l=s(t,n),p=e.dx+(o-r),h=e.dy+(l-c),d=t.mostRecentTimeStamp-e._accountsForMovesUpTo;e.vx=(p-e.dx)/d,e.vy=(h-e.dy)/d,e.dx=p,e.dy=h,e._accountsForMovesUpTo=t.mostRecentTimeStamp},create:function(e){var t={stateID:Math.random()};p._initializeGestureState(t);var n={onStartShouldSetResponder:function(n){return void 0===e.onStartShouldSetPanResponder?!1:e.onStartShouldSetPanResponder(n,t)},onMoveShouldSetResponder:function(n){return void 0===e.onMoveShouldSetPanResponder?!1:e.onMoveShouldSetPanResponder(n,t)},onStartShouldSetResponderCapture:function(n){return 1===n.nativeEvent.touches.length&&p._initializeGestureState(t),t.numberActiveTouches=n.touchHistory.numberActiveTouches,void 0!==e.onStartShouldSetPanResponderCapture?e.onStartShouldSetPanResponderCapture(n,t):!1},onMoveShouldSetResponderCapture:function(n){var r=n.touchHistory;return t._accountsForMovesUpTo===r.mostRecentTimeStamp?!1:(p._updateGestureStateOnMove(t,r),e.onMoveShouldSetPanResponderCapture?e.onMoveShouldSetPanResponderCapture(n,t):!1)},onResponderGrant:function(n){return t.x0=c(n.touchHistory),t.y0=l(n.touchHistory),t.dx=0,t.dy=0,e.onPanResponderGrant&&e.onPanResponderGrant(n,t),void 0===e.onShouldBlockNativeResponder?!0:e.onShouldBlockNativeResponder()},onResponderReject:function(n){e.onPanResponderReject&&e.onPanResponderReject(n,t)},onResponderRelease:function(n){e.onPanResponderRelease&&e.onPanResponderRelease(n,t),p._initializeGestureState(t)},onResponderStart:function(n){var r=n.touchHistory;t.numberActiveTouches=r.numberActiveTouches,e.onPanResponderStart&&e.onPanResponderStart(n,t)},onResponderMove:function(n){var r=n.touchHistory;t._accountsForMovesUpTo!==r.mostRecentTimeStamp&&(p._updateGestureStateOnMove(t,r),e.onPanResponderMove&&e.onPanResponderMove(n,t))},onResponderEnd:function(n){var r=n.touchHistory;t.numberActiveTouches=r.numberActiveTouches,e.onPanResponderEnd&&e.onPanResponderEnd(n,t)},onResponderTerminate:function(n){e.onPanResponderTerminate&&e.onPanResponderTerminate(n,t),p._initializeGestureState(t)},onResponderTerminationRequest:function(n){return void 0===e.onPanResponderTerminationRequest?!0:e.onPanResponderTerminationRequest(n,t)}};return{panHandlers:n}}};n.exports=p}),__d("TouchHistoryMath",function(e,t,n,r){"use strict";var o={centroidDimension:function(e,t,n,r){var i=e.touchBank,s=0,a=0,u=1===e.numberActiveTouches?e.touchBank[e.indexOfSingleActiveTouch]:null;if(null!==u)u.touchActive&&u.currentTimeStamp>t&&(s+=r&&n?u.currentPageX:r&&!n?u.currentPageY:!r&&n?u.previousPageX:u.previousPageY,a=1);else for(var c=0;c=t){var p;p=r&&n?l.currentPageX:r&&!n?l.currentPageY:!r&&n?l.previousPageX:l.previousPageY,s+=p,a++}}return a>0?s/a:o.noCentroid},currentCentroidXOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!0,!0)},currentCentroidYOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!1,!0)},previousCentroidXOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!0,!1)},previousCentroidYOfTouchesChangedAfter:function(e,t){return o.centroidDimension(e,t,!1,!1)},currentCentroidX:function(e){return o.centroidDimension(e,0,!0,!0)},currentCentroidY:function(e){return o.centroidDimension(e,0,!1,!0)},noCentroid:-1};n.exports=o}),__d("clamp",function(e,t,n,r){function o(e,t,n){return e>t?e:t>n?n:t}n.exports=o}),__d("rebound/rebound.js",function(e,t,n,r){!function(){function e(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)}var t={},n=t.util={},o=Array.prototype.concat,i=Array.prototype.slice;n.bind=function(e,t){var n=i.call(arguments,2);return function(){e.apply(t,o.call(n,i.call(arguments)))}},n.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};var s=t.SpringSystem=function(e){this._springRegistry={},this._activeSprings=[],this.listeners=[],this._idleSpringIndices=[],this.looper=e||new l,this.looper.springSystem=this};n.extend(s.prototype,{_springRegistry:null,_isIdle:!0,_lastTimeMillis:-1,_activeSprings:null,listeners:null,_idleSpringIndices:null,setLooper:function(e){this.looper=e,e.springSystem=this},createSpring:function(e,t){var n;return n=void 0===e||void 0===t?c.DEFAULT_ORIGAMI_SPRING_CONFIG:c.fromOrigamiTensionAndFriction(e,t),this.createSpringWithConfig(n)},createSpringWithBouncinessAndSpeed:function(e,t){var n;return n=void 0===e||void 0===t?c.DEFAULT_ORIGAMI_SPRING_CONFIG:c.fromBouncinessAndSpeed(e,t),this.createSpringWithConfig(n)},createSpringWithConfig:function(e){var t=new a(this);return this.registerSpring(t),t.setSpringConfig(e),t},getIsIdle:function(){return this._isIdle},getSpringById:function(e){return this._springRegistry[e]},getAllSprings:function(){var e=[];for(var t in this._springRegistry)this._springRegistry.hasOwnProperty(t)&&e.push(this._springRegistry[t]);return e},registerSpring:function(e){this._springRegistry[e.getId()]=e},deregisterSpring:function(t){e(this._activeSprings,t),delete this._springRegistry[t.getId()]},advance:function(e,t){for(;this._idleSpringIndices.length>0;)this._idleSpringIndices.pop();for(var n=0,r=this._activeSprings.length;r>n;n++){var o=this._activeSprings[n];o.systemShouldAdvance()?o.advance(e/1e3,t/1e3):this._idleSpringIndices.push(this._activeSprings.indexOf(o))}for(;this._idleSpringIndices.length>0;){var i=this._idleSpringIndices.pop();i>=0&&this._activeSprings.splice(i,1)}},loop:function(e){var t;-1===this._lastTimeMillis&&(this._lastTimeMillis=e-1);var n=e-this._lastTimeMillis;this._lastTimeMillis=e;var r=0,o=this.listeners.length;for(r=0;o>r;r++)t=this.listeners[r],t.onBeforeIntegrate&&t.onBeforeIntegrate(this);for(this.advance(e,n),0===this._activeSprings.length&&(this._isIdle=!0,this._lastTimeMillis=-1),r=0;o>r;r++)t=this.listeners[r],t.onAfterIntegrate&&t.onAfterIntegrate(this);this._isIdle||this.looper.run()},activateSpring:function(e){var t=this._springRegistry[e];-1==this._activeSprings.indexOf(t)&&this._activeSprings.push(t),this.getIsIdle()&&(this._isIdle=!1,this.looper.run())},addListener:function(e){this.listeners.push(e)},removeListener:function(t){e(this.listeners,t)},removeAllListeners:function(){this.listeners=[]}});var a=t.Spring=function m(e){this._id="s"+m._ID++,this._springSystem=e,this.listeners=[],this._currentState=new u,this._previousState=new u,this._tempState=new u};n.extend(a,{_ID:0,MAX_DELTA_TIME_SEC:.064,SOLVER_TIMESTEP_SEC:.001}),n.extend(a.prototype,{_id:0,_springConfig:null,_overshootClampingEnabled:!1,_currentState:null,_previousState:null,_tempState:null,_startValue:0,_endValue:0,_wasAtRest:!0,_restSpeedThreshold:.001,_displacementFromRestThreshold:.001,listeners:null,_timeAccumulator:0,_springSystem:null,destroy:function(){this.listeners=[],this.frames=[],this._springSystem.deregisterSpring(this)},getId:function(){return this._id},setSpringConfig:function(e){return this._springConfig=e,this},getSpringConfig:function(){return this._springConfig},setCurrentValue:function(e,t){return this._startValue=e,this._currentState.position=e,t||this.setAtRest(),this.notifyPositionUpdated(!1,!1),this},getStartValue:function(){return this._startValue},getCurrentValue:function(){return this._currentState.position},getCurrentDisplacementDistance:function(){return this.getDisplacementDistanceForState(this._currentState)},getDisplacementDistanceForState:function(e){return Math.abs(this._endValue-e.position)},setEndValue:function(e){if(this._endValue==e&&this.isAtRest())return this;this._startValue=this.getCurrentValue(),this._endValue=e,this._springSystem.activateSpring(this.getId());for(var t=0,n=this.listeners.length;n>t;t++){var r=this.listeners[t],o=r.onSpringEndStateChange;o&&o(this)}return this},getEndValue:function(){return this._endValue},setVelocity:function(e){return e===this._currentState.velocity?this:(this._currentState.velocity=e,this._springSystem.activateSpring(this.getId()),this)},getVelocity:function(){return this._currentState.velocity},setRestSpeedThreshold:function(e){return this._restSpeedThreshold=e,this},getRestSpeedThreshold:function(){return this._restSpeedThreshold},setRestDisplacementThreshold:function(e){this._displacementFromRestThreshold=e},getRestDisplacementThreshold:function(){return this._displacementFromRestThreshold},setOvershootClampingEnabled:function(e){return this._overshootClampingEnabled=e,this},isOvershootClampingEnabled:function(){return this._overshootClampingEnabled},isOvershooting:function(){var e=this._startValue,t=this._endValue;return this._springConfig.tension>0&&(t>e&&this.getCurrentValue()>t||e>t&&this.getCurrentValue()a.MAX_DELTA_TIME_SEC&&(r=a.MAX_DELTA_TIME_SEC),this._timeAccumulator+=r;for(var o,i,s,u,c,l,p,h,d,f,v=this._springConfig.tension,m=this._springConfig.friction,g=this._currentState.position,y=this._currentState.velocity,_=this._tempState.position,b=this._tempState.velocity;this._timeAccumulator>=a.SOLVER_TIMESTEP_SEC;)this._timeAccumulator-=a.SOLVER_TIMESTEP_SEC,this._timeAccumulator0&&this._interpolate(this._timeAccumulator/a.SOLVER_TIMESTEP_SEC),(this.isAtRest()||this._overshootClampingEnabled&&this.isOvershooting())&&(this._springConfig.tension>0?(this._startValue=this._endValue,this._currentState.position=this._endValue):(this._endValue=this._currentState.position,this._startValue=this._endValue),this.setVelocity(0),n=!0);var S=!1;this._wasAtRest&&(this._wasAtRest=!1,S=!0);var E=!1;n&&(this._wasAtRest=!0,E=!0),this.notifyPositionUpdated(S,E)}},notifyPositionUpdated:function(e,t){for(var n=0,r=this.listeners.length;r>n;n++){var o=this.listeners[n];e&&o.onSpringActivate&&o.onSpringActivate(this),o.onSpringUpdate&&o.onSpringUpdate(this),t&&o.onSpringAtRest&&o.onSpringAtRest(this)}},systemShouldAdvance:function(){return!this.isAtRest()||!this.wasAtRest()},wasAtRest:function(){return this._wasAtRest},isAtRest:function(){return Math.abs(this._currentState.velocity)=e?this.b3Friction1(e):e>18&&44>=e?this.b3Friction2(e):this.b3Friction3(e)}}),n.extend(c,{fromOrigamiTensionAndFriction:function(e,t){return new c(p.tensionFromOrigamiValue(e),p.frictionFromOrigamiValue(t))},fromBouncinessAndSpeed:function(e,n){var r=new t.BouncyConversion(e,n);return this.fromOrigamiTensionAndFriction(r.bouncyTension,r.bouncyFriction)},coastingConfigWithOrigamiFriction:function(e){return new c(0,p.frictionFromOrigamiValue(e))}}),c.DEFAULT_ORIGAMI_SPRING_CONFIG=c.fromOrigamiTensionAndFriction(40,7),n.extend(c.prototype,{friction:0,tension:0});var d={};n.hexToRGB=function(e){if(d[e])return d[e];e=e.replace("#",""),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=e.match(/.{2}/g),n={r:parseInt(t[0],16),g:parseInt(t[1],16),b:parseInt(t[2],16)};return d[e]=n,n},n.rgbToHex=function(e,t,n){return e=e.toString(16),t=t.toString(16),n=n.toString(16),e=e.length<2?"0"+e:e,t=t.length<2?"0"+t:t,n=n.length<2?"0"+n:n,"#"+e+t+n};var f=t.MathUtil={mapValueInRange:function(e,t,n,r,o){var i=n-t,s=o-r,a=(e-t)/i;return r+a*s},interpolateColor:function(e,t,r,o,i,s){o=void 0===o?0:o,i=void 0===i?1:i,t=n.hexToRGB(t),r=n.hexToRGB(r);var a=Math.floor(n.mapValueInRange(e,o,i,t.r,r.r)),u=Math.floor(n.mapValueInRange(e,o,i,t.g,r.g)),c=Math.floor(n.mapValueInRange(e,o,i,t.b,r.b));return s?"rgb("+a+","+u+","+c+")":n.rgbToHex(a,u,c)},degreesToRadians:function(e){return e*Math.PI/180},radiansToDegrees:function(e){return 180*e/Math.PI}};n.extend(n,f);var v;"undefined"!=typeof window&&(v=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}),v||"undefined"==typeof process||"node"!==process.title||(v=setImmediate),n.onFrame=function(e){return v(e)},"undefined"!=typeof r?n.extend(r,t):"undefined"!=typeof window&&(window.rebound=t)}()}),__d("NavigatorIOS",function(e,t,n,r){"use strict";function o(){return y++}var i=t("EventEmitter"),s=t("Image"),a=t("NavigationContext"),u=t("NativeModules").NavigatorManager,c=t("React"),l=t("StaticContainer.react"),p=t("StyleSheet"),h=t("View"),d=t("invariant"),f=t("logError"),v=t("requireNativeComponent"),m=(t("resolveAssetSource"),"transitionerRef"),g=c.PropTypes,y=0,_=c.createClass({displayName:"NavigatorTransitionerIOS",requestSchedulingNavigation:function(e){u.requestSchedulingJavaScriptNavigation(c.findNodeHandle(this),f,e)},render:function(){return c.createElement(E,this.props)}}),b=c.createClass({displayName:"NavigatorIOS",propTypes:{initialRoute:g.shape({component:g.func.isRequired,title:g.string.isRequired,passProps:g.object,backButtonIcon:s.propTypes.source,backButtonTitle:g.string,leftButtonIcon:s.propTypes.source,leftButtonTitle:g.string,onLeftButtonPress:g.func,rightButtonIcon:s.propTypes.source,rightButtonTitle:g.string,onRightButtonPress:g.func,wrapperStyle:h.propTypes.style,navigationBarHidden:g.bool,shadowHidden:g.bool,tintColor:g.string,barTintColor:g.string,titleTextColor:g.string,translucent:g.bool}).isRequired,navigationBarHidden:g.bool,shadowHidden:g.bool,itemWrapperStyle:h.propTypes.style,tintColor:g.string,barTintColor:g.string,titleTextColor:g.string,translucent:g.bool},navigator:void 0,navigationContext:new a,componentWillMount:function(){this.navigator={push:this.push,pop:this.pop,popN:this.popN,replace:this.replace,replacePrevious:this.replacePrevious,replacePreviousAndPop:this.replacePreviousAndPop,resetTo:this.resetTo,popToRoute:this.popToRoute,popToTop:this.popToTop,navigationContext:this.navigationContext},this._emitWillFocus(this.state.routeStack[this.state.observedTopOfStack])},componentDidMount:function(){this._emitDidFocus(this.state.routeStack[this.state.observedTopOfStack])},componentWillUnmount:function(){this.navigationContext.dispose(),this.navigationContext=new a},getDefaultProps:function(){return{translucent:!0}},getInitialState:function(){return{idStack:[o()],routeStack:[this.props.initialRoute],requestedTopOfStack:0,observedTopOfStack:0,progress:1,fromIndex:0,toIndex:0,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:0}},_toFocusOnNavigationComplete:void 0,_handleFocusRequest:function(e){this.state.makingNavigatorRequest?this._toFocusOnNavigationComplete=e:this._getFocusEmitter().emit("focus",e)},_focusEmitter:void 0,_getFocusEmitter:function(){var e=this._focusEmitter;return e||(e=new i,this._focusEmitter=e),e},getChildContext:function(){return{onFocusRequested:this._handleFocusRequest,focusEmitter:this._getFocusEmitter()}},childContextTypes:{onFocusRequested:c.PropTypes.func,focusEmitter:c.PropTypes.instanceOf(i)},_tryLockNavigator:function(e){this.refs[m].requestSchedulingNavigation(function(t){return t&&e()})},_handleNavigatorStackChanged:function(e){var t=e.nativeEvent.stackLength-1;this._emitDidFocus(this.state.routeStack[t]),d(t<=this.state.requestedTopOfStack,"No navigator item should be pushed without JS knowing about it %s %s",t,this.state.requestedTopOfStack);var n=this.state.requestedTopOfStack!==this.state.observedTopOfStack;n&&d(t===this.state.requestedTopOfStack,"If waiting for observedTopOfStack to reach requestedTopOfStack, the only valid observedTopOfStack should be requestedTopOfStack.");
+var r={observedTopOfStack:t,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:null,progress:1,toIndex:t,fromIndex:t};this.setState(r,this._eliminateUnneededChildren)},_eliminateUnneededChildren:function(){var e=this.state.routeStack.length>this.state.observedTopOfStack+1?this.state.observedTopOfStack+1:null;this.setState({idStack:this.state.idStack.slice(0,this.state.observedTopOfStack+1),routeStack:this.state.routeStack.slice(0,this.state.observedTopOfStack+1),requestedTopOfStack:this.state.observedTopOfStack,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:e})},_emitDidFocus:function(e){this.navigationContext.emit("didfocus",{route:e})},_emitWillFocus:function(e){this.navigationContext.emit("willfocus",{route:e})},push:function(e){var t=this;d(!!e,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&this._tryLockNavigator(function(){t._emitWillFocus(e);var n=t.state.routeStack.concat([e]),r=t.state.idStack.concat([o()]);t.setState({idStack:r,routeStack:n,requestedTopOfStack:n.length-1,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:n.length-1})})},popN:function(e){var t=this;0!==e&&this.state.requestedTopOfStack===this.state.observedTopOfStack&&this.state.requestedTopOfStack>0&&this._tryLockNavigator(function(){var n=t.state.requestedTopOfStack-e;d(n>=0,"Cannot pop below 0"),t._emitWillFocus(t.state.routeStack[n]),t.setState({requestedTopOfStack:n,makingNavigatorRequest:!0,updatingAllIndicesAtOrBeyond:t.state.requestedTopOfStack-e})})},pop:function(){this.popN(1)},replaceAtIndex:function(e,t){if(d(!!e,"Must supply route to replace"),0>t&&(t+=this.state.routeStack.length),!(this.state.routeStack.length<=t)){var n=this.state.idStack.slice(),r=this.state.routeStack.slice();n[t]=o(),r[t]=e,this.setState({idStack:n,routeStack:r,makingNavigatorRequest:!1,updatingAllIndicesAtOrBeyond:t}),this._emitWillFocus(e),this._emitDidFocus(e)}},replace:function(e){this.replaceAtIndex(e,-1)},replacePrevious:function(e){this.replaceAtIndex(e,-2)},popToTop:function(){this.popToRoute(this.state.routeStack[0])},popToRoute:function(e){var t=this.state.routeStack.indexOf(e);d(-1!==t,"Calling pop to route for a route that doesn't exist!");var n=this.state.routeStack.length-t-1;this.popN(n)},replacePreviousAndPop:function(e){var t=this;this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.state.routeStack.length<2||this._tryLockNavigator(function(){t.replacePrevious(e),t.setState({requestedTopOfStack:t.state.requestedTopOfStack-1,makingNavigatorRequest:!0})}))},resetTo:function(e){d(!!e,"Must supply route to push"),this.state.requestedTopOfStack===this.state.observedTopOfStack&&(this.replaceAtIndex(e,0),this.popToRoute(e))},handleNavigationComplete:function(e){this._toFocusOnNavigationComplete&&(this._getFocusEmitter().emit("focus",this._toFocusOnNavigationComplete),this._toFocusOnNavigationComplete=null),this._handleNavigatorStackChanged(e)},_routeToStackItem:function(e,t){var n=e.component,r=e.wrapperStyle,o=e.passProps,e=babelHelpers.objectWithoutProperties(e,["component","wrapperStyle","passProps"]),i=this.props,s=i.itemWrapperStyle,a=babelHelpers.objectWithoutProperties(i,["itemWrapperStyle"]),u=this.state.updatingAllIndicesAtOrBeyond&&this.state.updatingAllIndicesAtOrBeyond>=t,p=n;return c.createElement(l,{key:"nav"+t,shouldUpdate:u},c.createElement(R,babelHelpers["extends"]({},a,e,{style:[S.stackItem,s,r]}),c.createElement(p,babelHelpers["extends"]({navigator:this.navigator,route:e},o))))},renderNavigationStackItems:function(){var e=this.state.makingNavigatorRequest||null!==this.state.updatingAllIndicesAtOrBeyond,t=e?this.state.routeStack.map(this._routeToStackItem):null;return c.createElement(l,{shouldUpdate:e},c.createElement(_,{ref:m,style:S.transitioner,vertical:this.props.vertical,requestedTopOfStack:this.state.requestedTopOfStack,onNavigationComplete:this.handleNavigationComplete},t))},render:function(){return c.createElement(h,{style:this.props.style},this.renderNavigationStackItems())}}),S=p.create({stackItem:{backgroundColor:"white",overflow:"hidden",position:"absolute",top:0,left:0,right:0,bottom:0},transitioner:{flex:1}}),E=v("RCTNavigator"),R=v("RCTNavItem");n.exports=b}),__d("StaticContainer.react",function(e,t,n,r){var o=t("React"),i=t("onlyChild"),s=function(e){function t(){return babelHelpers.classCallCheck(this,t),babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).apply(this,arguments))}return babelHelpers.inherits(t,e),babelHelpers.createClass(t,[{key:"shouldComponentUpdate",value:function(e){return!!e.shouldUpdate}},{key:"render",value:function(){var e=this.props.children;return null===e||e===!1?null:i(e)}}]),t}(o.Component);n.exports=s}),__d("PickerIOS",function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("React"),s=t("ReactChildren"),a=t("NativeModules").UIManager.RCTPicker.Constants,u=t("StyleSheet"),c=t("StyleSheetPropType"),l=t("TextStylePropTypes"),p=t("View"),h=c(l),d=t("requireNativeComponent"),f=i.createClass({displayName:"PickerIOS",mixins:[o],propTypes:babelHelpers["extends"]({},p.propTypes,{itemStyle:h,onValueChange:i.PropTypes.func,selectedValue:i.PropTypes.any}),getInitialState:function(){return this._stateFromProps(this.props)},componentWillReceiveProps:function(e){this.setState(this._stateFromProps(e))},_stateFromProps:function(e){var t=0,n=[];return s.forEach(e.children,function(r,o){r.props.value===e.selectedValue&&(t=o),n.push({value:r.props.value,label:r.props.label})}),{selectedIndex:t,items:n}},render:function(){var e=this;return i.createElement(p,{style:this.props.style},i.createElement(m,{ref:function(t){return e._picker=t},style:[v.pickerIOS,this.props.itemStyle],items:this.state.items,selectedIndex:this.state.selectedIndex,onChange:this._onChange}))},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.newValue),this._picker&&this.state.selectedIndex!==e.nativeEvent.newIndex&&this._picker.setNativeProps({selectedIndex:this.state.selectedIndex})}});f.Item=i.createClass({displayName:"Item",propTypes:{value:i.PropTypes.any,label:i.PropTypes.string},render:function(){return null}});var v=u.create({pickerIOS:{height:a.ComponentHeight}}),m=d("RCTPicker",{propTypes:{style:h}},{nativeOnly:{items:!0,onChange:!0,selectedIndex:!0}});n.exports=f}),__d("ProgressBarAndroid",function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("ProgressViewIOS",function(e,t,n,r){"use strict";var o=t("Image"),i=t("NativeMethodsMixin"),s=t("NativeModules"),a=t("ReactPropTypes"),u=t("React"),c=t("StyleSheet"),l=t("View"),p=t("requireNativeComponent"),h=u.createClass({displayName:"ProgressViewIOS",mixins:[i],propTypes:babelHelpers["extends"]({},l.propTypes,{progressViewStyle:a.oneOf(["default","bar"]),progress:a.number,progressTintColor:a.string,trackTintColor:a.string,progressImage:o.propTypes.source,trackImage:o.propTypes.source}),render:function(){return u.createElement(f,babelHelpers["extends"]({},this.props,{style:[d.progressView,this.props.style]}))}}),d=c.create({progressView:{height:s.ProgressViewManager.ComponentHeight}}),f=p("RCTProgressView",h);n.exports=h}),__d("SegmentedControlIOS",function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("NativeModules"),s=t("ReactPropTypes"),a=t("React"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p="segmentedcontrol",h=a.createClass({displayName:"SegmentedControlIOS",mixins:[o],propTypes:babelHelpers["extends"]({},c.propTypes,{values:s.arrayOf(s.string),selectedIndex:s.number,onValueChange:s.func,onChange:s.func,enabled:s.bool,tintColor:s.string,momentary:s.bool}),getDefaultProps:function(){return{values:[],enabled:!0}},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value)},render:function(){return a.createElement(f,babelHelpers["extends"]({},this.props,{ref:p,style:[d.segmentedControl,this.props.style],onChange:this._onChange}))}}),d=u.create({segmentedControl:{height:i.SegmentedControlManager.ComponentHeight}}),f=l("RCTSegmentedControl",h);n.exports=h}),__d("SliderIOS",function(e,t,n,r){"use strict";var o=t("Image"),i=t("NativeMethodsMixin"),s=t("ReactPropTypes"),a=t("React"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=a.createClass({displayName:"SliderIOS",mixins:[i],propTypes:babelHelpers["extends"]({},c.propTypes,{style:c.propTypes.style,value:s.number,step:s.number,minimumValue:s.number,maximumValue:s.number,minimumTrackTintColor:s.string,maximumTrackTintColor:s.string,disabled:s.bool,trackImage:o.propTypes.source,minimumTrackImage:o.propTypes.source,maximumTrackImage:o.propTypes.source,thumbImage:o.propTypes.source,onValueChange:s.func,onSlidingComplete:s.func}),getDefaultProps:function(){return{disabled:!1}},render:function(){var e=this.props,t=e.style,n=e.onValueChange,r=e.onSlidingComplete,o=babelHelpers.objectWithoutProperties(e,["style","onValueChange","onSlidingComplete"]);return o.style=[h.slider,t],o.onValueChange=n&&function(e){n&&n(e.nativeEvent.value)},o.onSlidingComplete=r&&function(e){r&&r(e.nativeEvent.value)},a.createElement(d,o)}}),h=u.create({slider:{height:40}}),d=l("RCTSlider",p);n.exports=p}),__d("SnapshotViewIOS",function(e,t,n,r){"use strict";var o=t("React"),i=t("StyleSheet"),s=t("NativeModules"),a=s.TestModule,u=s.UIManager,c=t("View"),l=t("requireNativeComponent"),p=o.createClass({displayName:"SnapshotViewIOS",onDefaultAction:function(e){a.verifySnapshot(a.markTestPassed)},render:function(){var e=this.props.testIdentifier||"test",t=this.props.onSnapshotReady||this.onDefaultAction;return o.createElement(d,babelHelpers["extends"]({style:h.snapshot},this.props,{onSnapshotReady:t,testIdentifier:e}))},propTypes:babelHelpers["extends"]({},c.propTypes,{onSnapshotReady:o.PropTypes.func,testIdentifier:o.PropTypes.string})}),h=i.create({snapshot:{flex:1}}),d=u.RCTSnapshot?l("RCTSnapshot",p):c;n.exports=p}),__d("Switch",function(e,t,n,r){"use strict";var o=t("ColorPropType"),i=t("NativeMethodsMixin"),s=t("Platform"),a=t("React"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p=a.createClass({displayName:"Switch",propTypes:babelHelpers["extends"]({},c.propTypes,{value:a.PropTypes.bool,disabled:a.PropTypes.bool,onValueChange:a.PropTypes.func,testID:a.PropTypes.string,tintColor:o,onTintColor:o,thumbTintColor:o}),getDefaultProps:function(){return{value:!1,disabled:!1}},mixins:[i],_rctSwitch:{},_onChange:function(e){this.props.onChange&&this.props.onChange(e),this.props.onValueChange&&this.props.onValueChange(e.nativeEvent.value),"android"===s.OS?this._rctSwitch.setNativeProps({on:this.props.value}):this._rctSwitch.setNativeProps({value:this.props.value})},render:function(){var e=this,t=babelHelpers["extends"]({},this.props);return t.onStartShouldSetResponder=function(){return!0},t.onResponderTerminationRequest=function(){return!1},"android"===s.OS?(t.enabled=!this.props.disabled,t.on=this.props.value,t.style=[h.rctSwitchAndroid,this.props.style]):"ios"===s.OS&&(t.style=[h.rctSwitchIOS,this.props.style]),a.createElement(d,babelHelpers["extends"]({},t,{ref:function(t){e._rctSwitch=t},onChange:this._onChange}))}}),h=u.create({rctSwitchIOS:{height:31,width:51},rctSwitchAndroid:{height:27,width:40}});if("android"===s.OS)var d=l("AndroidSwitch",p,{nativeOnly:{onChange:!0,on:!0,enabled:!0}});else var d=l("RCTSwitch",p,{nativeOnly:{onChange:!0}});n.exports=p}),__d("PullToRefreshViewAndroid",function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("RecyclerViewBackedScrollView",function(e,t,n,r){"use strict";n.exports=t("ScrollView")}),__d("RefreshControl",function(e,t,n,r){"use strict";var o=t("React"),i=t("Platform"),s=t("ColorPropType"),a=t("requireNativeComponent");if("ios"===i.OS)var u={SIZE:{}};else if("android"===i.OS)var u=t("NativeModules").UIManager.AndroidSwipeRefreshLayout.Constants;var c=o.createClass({displayName:"RefreshControl",statics:{SIZE:u.SIZE},propTypes:{onRefresh:o.PropTypes.func,refreshing:o.PropTypes.bool,tintColor:s,title:o.PropTypes.string,enabled:o.PropTypes.bool,colors:o.PropTypes.arrayOf(s),progressBackgroundColor:s,size:o.PropTypes.oneOf(u.SIZE.DEFAULT,u.SIZE.LARGE)},render:function(){return"ios"===i.OS?o.createElement(l,this.props):null}});if("ios"===i.OS)var l=a("RCTRefreshControl",c);n.exports=c}),__d("SwitchAndroid",function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("SwitchIOS",function(e,t,n,r){"use strict";var o=t("ColorPropType"),i=t("NativeMethodsMixin"),s=t("ReactPropTypes"),a=t("React"),u=t("StyleSheet"),c=t("View"),l=t("requireNativeComponent"),p="switch",h=a.createClass({displayName:"SwitchIOS",mixins:[i],propTypes:babelHelpers["extends"]({},c.propTypes,{value:s.bool,disabled:s.bool,onValueChange:s.func,onTintColor:o,thumbTintColor:o,tintColor:o}),getDefaultProps:function(){return{value:!1,disabled:!1}},_onChange:function(e){this.refs[p].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 a.createElement(f,babelHelpers["extends"]({},this.props,{ref:p,onChange:this._onChange,style:[d.rkSwitch,this.props.style]}))}}),d=u.create({rkSwitch:{height:31,width:51}}),f=l("RCTSwitch",h,{nativeOnly:{onChange:!0}});n.exports=h}),__d("TabBarIOS",function(e,t,n,r){"use strict";var o=t("ColorPropType"),i=t("React"),s=t("StyleSheet"),a=t("TabBarItemIOS"),u=t("View"),c=t("requireNativeComponent"),l=i.createClass({displayName:"TabBarIOS",statics:{Item:a},propTypes:babelHelpers["extends"]({},u.propTypes,{style:u.propTypes.style,tintColor:o,barTintColor:o,translucent:i.PropTypes.bool}),render:function(){return i.createElement(h,{style:[p.tabGroup,this.props.style],tintColor:this.props.tintColor,barTintColor:this.props.barTintColor,translucent:this.props.translucent!==!1},this.props.children)}}),p=s.create({tabGroup:{flex:1}}),h=c("RCTTabBar",l);n.exports=l}),__d("TabBarItemIOS",function(e,t,n,r){"use strict";var o=t("Image"),i=t("React"),s=t("StaticContainer.react"),a=t("StyleSheet"),u=t("View"),c=t("requireNativeComponent"),l=i.createClass({displayName:"TabBarItemIOS",propTypes:babelHelpers["extends"]({},u.propTypes,{badge:i.PropTypes.oneOfType([i.PropTypes.string,i.PropTypes.number]),systemIcon:i.PropTypes.oneOf(["bookmarks","contacts","downloads","favorites","featured","history","more","most-recent","most-viewed","recents","search","top-rated"]),icon:o.propTypes.source,selectedIcon:o.propTypes.source,onPress:i.PropTypes.func,selected:i.PropTypes.bool,style:u.propTypes.style,title:i.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=this.props,t=e.style,n=e.children,r=babelHelpers.objectWithoutProperties(e,["style","children"]);if(this.state.hasBeenSelected)var o=i.createElement(s,{shouldUpdate:this.props.selected},n);else var o=i.createElement(u,null);return i.createElement(h,babelHelpers["extends"]({},r,{style:[p.tab,t]}),o)}}),p=a.create({tab:{position:"absolute",top:0,right:0,bottom:0,left:0}}),h=c("RCTTabBarItem",l);n.exports=l}),__d("Text",function(e,t,n,r){"use strict";var o=t("NativeMethodsMixin"),i=t("Platform"),s=t("React"),a=(t("ReactInstanceMap"),t("ReactNativeViewAttributes")),u=t("StyleSheetPropType"),c=t("TextStylePropTypes"),l=t("Touchable"),p=t("createReactNativeComponentClass"),h=t("merge"),d=u(c),f={validAttributes:h(a.UIView,{isHighlighted:!0,numberOfLines:!0,allowFontScaling:!0}),uiViewClassName:"RCTText"},v=s.createClass({displayName:"Text",propTypes:{numberOfLines:s.PropTypes.number,onLayout:s.PropTypes.func,onPress:s.PropTypes.func,suppressHighlighting:s.PropTypes.bool,style:d,testID:s.PropTypes.string,allowFontScaling:s.PropTypes.bool},getDefaultProps:function(){return{accessible:!0,allowFontScaling:!0}},getInitialState:function(){return h(l.Mixin.touchableGetInitialState(),{isHighlighted:!1})},mixins:[o],viewConfig:f,getChildContext:function(){return{isInAParentText:!0}},childContextTypes:{isInAParentText:s.PropTypes.bool},contextTypes:{isInAParentText:s.PropTypes.bool},_handlers:null,touchableHandleActivePressIn:null,touchableHandleActivePressOut:null,touchableHandlePress:null,touchableGetPressRectOffset:null,render:function(){var e=this,t=this.props;return(this.props.onStartShouldSetResponder||this.props.onPress)&&(this._handlers||(this._handlers={onStartShouldSetResponder:function(){var t=e.props.onStartShouldSetResponder&&e.props.onStartShouldSetResponder(),n=t||!!e.props.onPress;if(n&&!e.touchableHandleActivePressIn){for(var r in l.Mixin)"function"==typeof l.Mixin[r]&&(e[r]=l.Mixin[r].bind(e));e.touchableHandleActivePressIn=function(){!e.props.suppressHighlighting&&e.props.onPress&&e.setState({isHighlighted:!0})},e.touchableHandleActivePressOut=function(){!e.props.suppressHighlighting&&e.props.onPress&&e.setState({isHighlighted:!1})},e.touchableHandlePress=function(){e.props.onPress&&e.props.onPress()},e.touchableGetPressRectOffset=function(){return m}}return n},onResponderGrant:function(e,t){this.touchableHandleResponderGrant(e,t),this.props.onResponderGrant&&this.props.onResponderGrant.apply(this,arguments)}.bind(this),onResponderMove:function(e){this.touchableHandleResponderMove(e),this.props.onResponderMove&&this.props.onResponderMove.apply(this,arguments)}.bind(this),onResponderRelease:function(e){this.touchableHandleResponderRelease(e),this.props.onResponderRelease&&this.props.onResponderRelease.apply(this,arguments)}.bind(this),onResponderTerminate:function(e){this.touchableHandleResponderTerminate(e),this.props.onResponderTerminate&&this.props.onResponderTerminate.apply(this,arguments)}.bind(this),onResponderTerminationRequest:function(){var e=this.touchableHandleResponderTerminationRequest();return e&&this.props.onResponderTerminationRequest&&(e=this.props.onResponderTerminationRequest.apply(this,arguments)),e}.bind(this)}),t=babelHelpers["extends"]({},this.props,this._handlers,{isHighlighted:this.state.isHighlighted})),this.context.isInAParentText?s.createElement(y,t):s.createElement(g,t)}}),m={top:20,left:20,right:20,bottom:30},g=p(f),y=g;"android"===i.OS&&(y=p({validAttributes:h(a.UIView,{isHighlighted:!0}),uiViewClassName:"RCTVirtualText"})),n.exports=v}),__d("Touchable",function(e,t,n,r){"use strict";var o=t("BoundingDimensions"),i=t("Position"),s=t("TouchEventUtils"),a=t("keyMirror"),u=t("queryLayoutByID"),c=a({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=a({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():{left:m,right:m,top:m,bottom:m},o=r.left,i=r.top,a=r.right,u=r.bottom,l=s.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&&p0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};n.exports=o}),__d("queryLayoutByID",function(e,t,n,r){"use strict";var o=t("ReactNativeTagHandles"),i=t("UIManager"),s=function(e,t,n){i.measure(o.rootNodeIDToTag[e],n)};n.exports=s}),__d("TextInput",function(e,t,n,r){"use strict";var o=t("DocumentSelectionState"),i=t("EventEmitter"),s=t("NativeMethodsMixin"),a=t("Platform"),u=t("ReactPropTypes"),c=t("React"),l=t("ReactChildren"),p=t("StyleSheet"),h=t("Text"),d=t("TextInputState"),f=t("react-timer-mixin/TimerMixin.js"),v=t("TouchableWithoutFeedback"),m=t("UIManager"),g=t("View"),y=(t("createReactNativeComponentClass"),t("emptyFunction")),_=t("invariant"),b=t("requireNativeComponent"),S={onTextInput:!0,children:!0},E={};if("android"===a.OS)var R=b("AndroidTextInput",null);else if("ios"===a.OS)var T=b("RCTTextView",null),C=b("RCTTextField",null);var w=c.createClass({displayName:"TextInput",statics:{State:d},propTypes:babelHelpers["extends"]({},g.propTypes,{autoCapitalize:u.oneOf(["none","sentences","words","characters"]),autoCorrect:u.bool,autoFocus:u.bool,textAlign:u.oneOf(["start","center","end"]),textAlignVertical:u.oneOf(["top","center","bottom"]),editable:u.bool,keyboardType:u.oneOf(["default","numeric","email-address","ascii-capable","numbers-and-punctuation","url","number-pad","phone-pad","name-phone-pad","decimal-pad","twitter","web-search"]),keyboardAppearance:u.oneOf(["default","light","dark"]),returnKeyType:u.oneOf(["default","go","google","join","next","route","search","send","yahoo","done","emergency-call"]),maxLength:u.number,numberOfLines:u.number,enablesReturnKeyAutomatically:u.bool,multiline:u.bool,onBlur:u.func,onFocus:u.func,onChange:u.func,onChangeText:u.func,onEndEditing:u.func,onSubmitEditing:u.func,onKeyPress:u.func,onLayout:u.func,placeholder:u.string,placeholderTextColor:u.string,secureTextEntry:u.bool,selectionState:u.instanceOf(o),value:u.string,defaultValue:u.string,clearButtonMode:u.oneOf(["never","while-editing","unless-editing","always"]),clearTextOnFocus:u.bool,selectTextOnFocus:u.bool,blurOnSubmit:u.bool,style:h.propTypes.style,testID:u.string,underlineColorAndroid:u.string}),mixins:[s,f],viewConfig:"ios"===a.OS&&C?C.viewConfig:"android"===a.OS&&R?R.viewConfig:{},isFocused:function(){return d.currentlyFocusedField()===c.findNodeHandle(this.refs.input)},contextTypes:{onFocusRequested:c.PropTypes.func,focusEmitter:c.PropTypes.instanceOf(i)},_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:c.PropTypes.bool},clear:function(){this.setNativeProps({text:""})},render:function(){return"ios"===a.OS?this._renderIOS():"android"===a.OS?this._renderAndroid():void 0},_getText:function(){return"string"==typeof this.props.value?this.props.value:this.props.defaultValue},_renderIOS:function(){var e,t,n=this;(this.props.selectionState||this.props.onSelectionChange)&&(t=function(e){if(n.props.selectionState){var t=e.nativeEvent.selection;n.props.selectionState.update(t.start,t.end)}n.props.onSelectionChange&&n.props.onSelectionChange(e)});var r=babelHelpers["extends"]({},this.props);if(r.style=[x.input,this.props.style],r.multiline){for(var o in E)if(r[o])throw new Error("TextInput prop `"+o+"` cannot be used with multiline.");var i=r.children,s=0;l.forEach(i,function(){return++s}),_(!(r.value&&s),"Cannot specify both value and children."),s>1&&(i=c.createElement(h,null,i)),r.inputView&&(i=[i,r.inputView]),e=c.createElement(T,babelHelpers["extends"]({ref:"input"},r,{children:i,onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:t,onTextInput:this._onTextInput,onSelectionChangeShouldSetResponder:y.thatReturnsTrue,text:this._getText()}))}else{for(var o in S)if(r[o])throw new Error("TextInput prop `"+o+"` is only supported with multiline.");e=c.createElement(C,babelHelpers["extends"]({ref:"input"},r,{onFocus:this._onFocus,onBlur:this._onBlur,onChange:this._onChange,onSelectionChange:t,onSelectionChangeShouldSetResponder:y.thatReturnsTrue,text:this._getText()}))}return c.createElement(v,{onPress:this._onPress,rejectResponderTermination:!0,testID:r.testID
+},e)},_renderAndroid:function(){var e=m.UIText.AutocapitalizationType[this.props.autoCapitalize],t=m.AndroidTextInput.Constants.TextAlign[this.props.textAlign],n=m.AndroidTextInput.Constants.TextAlignVertical[this.props.textAlignVertical],r=this.props.children,o=0;l.forEach(r,function(){return++o}),_(!(this.props.value&&o),"Cannot specify both value and children."),o>1&&(r=c.createElement(h,null,r));var i=c.createElement(R,{ref:"input",style:[this.props.style],autoCapitalize:e,autoCorrect:this.props.autoCorrect,textAlign:t,textAlignVertical:n,keyboardType:this.props.keyboardType,mostRecentEventCount:0,multiline:this.props.multiline,numberOfLines:this.props.numberOfLines,maxLength:this.props.maxLength,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 c.createElement(v,{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){this.refs.input.setNativeProps({mostRecentEventCount:e.nativeEvent.eventCount});var t=e.nativeEvent.text;this.props.onChange&&this.props.onChange(e),this.props.onChangeText&&this.props.onChangeText(t),this.refs.input&&t!==this.props.value&&"string"==typeof this.props.value&&this.refs.input.setNativeProps({text:this.props.value})},_onBlur:function(e){this.blur(),this.props.onBlur&&this.props.onBlur(e)},_onTextInput:function(e){this.props.onTextInput&&this.props.onTextInput(e)}}),x=p.create({input:{alignSelf:"stretch"}});n.exports=w}),__d("DocumentSelectionState",function(e,t,n,r){var o=t("mixInEventEmitter"),i=function(){function e(t,n){babelHelpers.classCallCheck(this,e),this._anchorOffset=t,this._focusOffset=n,this._hasFocus=!1}return babelHelpers.createClass(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}();o(i,{blur:!0,focus:!0,update:!0}),n.exports=i}),__d("mixInEventEmitter",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"),s=t("EventEmitterWithHolding"),a=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,s){return this.__getEventEmitter().emit(e,t,n,r,o,i,s)},emitAndHold:function(e,t,n,r,o,i,s){return this.__getEventEmitter().emitAndHold(e,t,n,r,o,i,s)},addListener:function(e,t,n){return this.__getEventEmitter().addListener(e,t,n)},once:function(e,t,n){return this.__getEventEmitter().once(e,t,n)},addRetroactiveListener:function(e,t,n){return this.__getEventEmitter().addRetroactiveListener(e,t,n)},addListenerMap:function(e,t){return this.__getEventEmitter().addListenerMap(e,t)},addRetroactiveListenerMap:function(e,t){return this.__getEventEmitter().addListenerMap(e,t)},removeAllListeners:function(){this.__getEventEmitter().removeAllListeners()},removeCurrentListener:function(){this.__getEventEmitter().removeCurrentListener()},releaseHeldEventType:function(e){this.__getEventEmitter().releaseHeldEventType(e)},__getEventEmitter:function(){if(!this.__eventEmitter){var e=new i;e=u.addValidation(e,this.__types);var t=new a;this.__eventEmitter=new s(e,t)}return this.__eventEmitter}};n.exports=o}),__d("EventEmitterWithHolding",function(e,t,n,r){"use strict";var o=function(){function e(t,n){babelHelpers.classCallCheck(this,e),this._emitter=t,this._eventHolder=n,this._currentEventToken=null,this._emittingHeldEvents=!1}return babelHelpers.createClass(e,[{key:"addListener",value:function(e,t,n){return this._emitter.addListener(e,t,n)}},{key:"once",value:function(e,t,n){return this._emitter.once(e,t,n)}},{key:"addRetroactiveListener",value:function(e,t,n){var r=this._emitter.addListener(e,t,n);return this._emittingHeldEvents=!0,this._eventHolder.emitToListener(e,t,n),this._emittingHeldEvents=!1,r}},{key:"removeAllListeners",value:function(e){this._emitter.removeAllListeners(e)}},{key:"removeCurrentListener",value:function(){this._emitter.removeCurrentListener()}},{key:"listeners",value:function(e){return this._emitter.listeners(e)}},{key:"emit",value:function(e,t,n,r,o,i,s){this._emitter.emit(e,t,n,r,o,i,s)}},{key:"emitAndHold",value:function(e,t,n,r,o,i,s){this._currentEventToken=this._eventHolder.holdEvent(e,t,n,r,o,i,s),this._emitter.emit(e,t,n,r,o,i,s),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=o}),__d("EventHolder",function(e,t,n,r){"use strict";var o=t("invariant"),i=function(){function e(){babelHelpers.classCallCheck(this,e),this._heldEvents={},this._currentEventKey=null}return babelHelpers.createClass(e,[{key:"holdEvent",value:function(e,t,n,r,o,i,s){this._heldEvents[e]=this._heldEvents[e]||[];var a=this._heldEvents[e],u={eventType:e,index:a.length};return a.push([t,n,r,o,i,s]),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(){o(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=i}),__d("EventValidator",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 n+="Known event types: "+t.join(", ")+"."}var s=t("copyProperties"),a={addValidation:function(e,t){var n=Object.keys(t),r=Object.create(e);return s(r,{emit:function(t,r,i,s,a,u,c){return o(t,n),e.emit.call(this,t,r,i,s,a,u,c)}}),r}};n.exports=a}),__d("copyProperties",function(e,t,n,r){function o(e,t,n,r,o,i,s){e=e||{};for(var a,u=[t,n,r,o,i],c=0;u[c];){a=u[c++];for(var l in a)e[l]=a[l];a.hasOwnProperty&&a.hasOwnProperty("toString")&&"undefined"!=typeof a.toString&&e.toString!==a.toString&&(e.toString=a.toString)}return e}n.exports=o}),__d("TouchableWithoutFeedback",function(e,t,n,r){"use strict";var o=t("EdgeInsetsPropType"),i=t("React"),s=t("react-timer-mixin/TimerMixin.js"),a=t("Touchable"),u=t("View"),c=t("ensurePositiveDelayProps"),l=(t("invariant"),t("onlyChild")),p={top:20,left:20,right:20,bottom:30},h=i.createClass({displayName:"TouchableWithoutFeedback",mixins:[s,a.Mixin],propTypes:{accessible:i.PropTypes.bool,accessibilityComponentType:i.PropTypes.oneOf(u.AccessibilityComponentType),accessibilityTraits:i.PropTypes.oneOfType([i.PropTypes.oneOf(u.AccessibilityTraits),i.PropTypes.arrayOf(i.PropTypes.oneOf(u.AccessibilityTraits))]),onPress:i.PropTypes.func,onPressIn:i.PropTypes.func,onPressOut:i.PropTypes.func,onLayout:i.PropTypes.func,onLongPress:i.PropTypes.func,delayPressIn:i.PropTypes.number,delayPressOut:i.PropTypes.number,delayLongPress:i.PropTypes.number,pressRetentionOffset:o},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){c(this.props)},componentWillReceiveProps:function(e){c(e)},touchableHandlePress:function(e){this.props.onPress&&this.props.onPress(e)},touchableHandleActivePressIn:function(e){this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this.props.onPressOut&&this.props.onPressOut(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||p},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 i.cloneElement(l(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=h}),__d("ensurePositiveDelayProps",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",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",function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("TouchableHighlight",function(e,t,n,r){"use strict";var o=t("ColorPropType"),i=t("NativeMethodsMixin"),s=t("React"),a=t("ReactNativeViewAttributes"),u=t("StyleSheet"),c=t("react-timer-mixin/TimerMixin.js"),l=t("Touchable"),p=t("TouchableWithoutFeedback"),h=t("View"),d=t("ensureComponentIsNative"),f=t("ensurePositiveDelayProps"),v=t("keyOf"),m=t("merge"),g=t("onlyChild"),y={activeOpacity:.8,underlayColor:"black"},_={top:20,left:20,right:20,bottom:30},b=s.createClass({displayName:"TouchableHighlight",propTypes:babelHelpers["extends"]({},p.propTypes,{activeOpacity:s.PropTypes.number,underlayColor:o,style:h.propTypes.style,onShowUnderlay:s.PropTypes.func,onHideUnderlay:s.PropTypes.func}),mixins:[i,c,l.Mixin],getDefaultProps:function(){return y},computeSyntheticState:function(e){return{activeProps:{style:{opacity:e.activeOpacity}},activeUnderlayProps:{style:{backgroundColor:e.underlayColor}},underlayStyle:[T.style,e.style]}},getInitialState:function(){return m(this.touchableGetInitialState(),this.computeSyntheticState(this.props))},componentDidMount:function(){f(this.props),d(this.refs[S])},componentDidUpdate:function(){d(this.refs[S])},componentWillReceiveProps:function(e){f(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:a.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 this.props.pressRetentionOffset||_},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn},touchableGetLongPressDelayMS:function(){return this.props.delayLongPress},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_showUnderlay:function(){this.isMounted()&&(this.refs[E].setNativeProps(this.state.activeUnderlayProps),this.refs[S].setNativeProps(this.state.activeProps),this.props.onShowUnderlay&&this.props.onShowUnderlay())},_hideUnderlay:function(){this.clearTimeout(this._hideTimeout),this._hideTimeout=null,this.refs[E]&&(this.refs[S].setNativeProps(R),this.refs[E].setNativeProps(babelHelpers["extends"]({},T,{style:this.state.underlayStyle})),this.props.onHideUnderlay&&this.props.onHideUnderlay())},render:function(){return s.createElement(h,{accessible:!0,accessibilityComponentType:this.props.accessibilityComponentType,accessibilityTraits:this.props.accessibilityTraits,ref:E,style:this.state.underlayStyle,onLayout:this.props.onLayout,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,testID:this.props.testID},s.cloneElement(g(this.props.children),{ref:S}))}}),S=v({childRef:null}),E=v({underlayRef:null}),R={style:u.create({x:{opacity:1}}).x},T={style:u.create({x:{backgroundColor:"transparent"}}).x};n.exports=b}),__d("ensureComponentIsNative",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",function(e,t,n,r){"use strict";var o=t("React"),i=t("StyleSheet"),s=t("Text"),a=t("View"),u=o.createClass({displayName:"DummyTouchableNativeFeedback",render:function(){return o.createElement(a,{style:[c.container,this.props.style]},o.createElement(s,{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",function(e,t,n,r){"use strict";var o=t("Animated"),i=t("NativeMethodsMixin"),s=t("React"),a=t("react-timer-mixin/TimerMixin.js"),u=t("Touchable"),c=t("TouchableWithoutFeedback"),l=t("ensurePositiveDelayProps"),p=t("flattenStyle"),h={top:20,left:20,right:20,bottom:30},d=s.createClass({displayName:"TouchableOpacity",mixins:[a,u.Mixin,i],propTypes:babelHelpers["extends"]({},c.propTypes,{activeOpacity:s.PropTypes.number}),getDefaultProps:function(){return{activeOpacity:.2}},getInitialState:function(){return babelHelpers["extends"]({},this.touchableGetInitialState(),{anim:new o.Value(1)})},componentDidMount:function(){l(this.props)},componentWillReceiveProps:function(e){l(e)},setOpacityTo:function(e){o.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 this.props.pressRetentionOffset||h},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=p(this.props.style)||{};this.setOpacityTo(void 0===e.opacity?1:e.opacity)},render:function(){return s.createElement(o.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)}});n.exports=d}),__d("Animated",function(e,t,n,r){"use strict";var o=t("AnimatedImplementation"),i=t("Image"),s=t("Text"),a=t("View");n.exports=babelHelpers["extends"]({},o,{View:o.createAnimatedComponent(a),Text:o.createAnimatedComponent(s),Image:o.createAnimatedComponent(i)})}),__d("AnimatedImplementation",function(e,t,n,r){"use strict";function o(e){function t(e){"function"==typeof e.update?n.add(e):e.__getChildren().forEach(t)}var n=new p;t(e),n.forEach(function(e){return e.update()})}function i(e,t){return void 0===e||null===e?t:e}function s(e){var t="node",n=function(n){function r(){return babelHelpers.classCallCheck(this,r),babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(r).apply(this,arguments))}return babelHelpers.inherits(r,n),babelHelpers.createClass(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 l.createElement(e,babelHelpers["extends"]({},this._propsAnimated.__getValue(),{ref:t}))}}]),r}(l.Component);return n.propTypes={style:function(t,n,r){if(e.propTypes)for(var o in d)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 a=t("Easing"),u=t("InteractionManager"),c=t("Interpolation"),l=t("React"),p=t("Set"),h=t("SpringConfig"),d=t("ViewStylePropTypes"),f=t("flattenStyle"),v=t("invariant"),m=t("requestAnimationFrame"),g=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(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}(),y=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(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}(),_=function(e){function t(){babelHelpers.classCallCheck(this,t);var e=babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).call(this));return e._children=[],e}return babelHelpers.inherits(t,e),babelHelpers.createClass(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}(g),b=a.inOut(a.ease),S=function(e){function t(e){babelHelpers.classCallCheck(this,t);var n=babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).call(this));return n._toValue=e.toValue,n._easing=e.easing||b,n._duration=void 0!==e.duration?e.duration:500,n._delay=e.delay||0,n.__isInteraction=void 0!==e.isInteraction?e.isInteraction:!0,n}return babelHelpers.inherits(t,e),babelHelpers.createClass(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=m(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=m(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,clearTimeout(this._timeout),window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(y),E=function(e){function t(e){babelHelpers.classCallCheck(this,t);var n=babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).call(this));return n._deceleration=e.deceleration||.998,n._velocity=e.velocity,n.__isInteraction=void 0!==e.isInteraction?e.isInteraction:!0,n}return babelHelpers.inherits(t,e),babelHelpers.createClass(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=m(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=m(this.onUpdate.bind(this)))))}},{key:"stop",value:function(){this.__active=!1,window.cancelAnimationFrame(this._animationFrame),this.__debouncedOnEnd({finished:!1})}}]),t}(y),R=function(e){function t(e){babelHelpers.classCallCheck(this,t);var n=babelHelpers.possibleConstructorReturn(this,Object.getPrototypeOf(t).call(this));n._overshootClamping=i(e.overshootClamping,!1),n._restDisplacementThreshold=i(e.restDisplacementThreshold,.001),n._restSpeedThreshold=i(e.restSpeedThreshold,.001),n._initialVelocity=e.velocity,n._lastVelocity=i(e.velocity,0),n._toValue=e.toValue,n.__isInteraction=void 0!==e.isInteraction?e.isInteraction:!0;var r;return void 0!==e.bounciness||void 0!==e.speed?(v(void 0===e.tension&&void 0===e.friction,"You can only define bounciness/speed or tension/friction but not both"),r=h.fromBouncinessAndSpeed(i(e.bounciness,8),i(e.speed,12))):r=h.fromOrigamiTensionAndFriction(i(e.tension,40),i(e.friction,7)),n._tension=r.tension,n._friction=r.friction,n}return babelHelpers.inherits(t,e),babelHelpers.createClass(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 s=1,a=Math.floor((i-this._lastTime)/s),u=0;a>u;++u){var c=s/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 g=r,y=this._tension*(this._toValue-n)-this._friction*r;n=e+f*c/2,r=t+v*c/2;var _=(l+2*(h+f)+g)/6,b=(p+2*(d+v)+y)/6;e+=_*c,t+=b*c}if(this._lastTime=i,this._lastPosition=e,this._lastVelocity=t,this._onUpdate(e),this.__active){var S=!1;this._overshootClamping&&0!==this._tension&&(S=this._startPositionthis._toValue:eo;o++)r[o]=arguments[o];var i=function(e,t,n){if("number"==typeof t)return v(e instanceof C,"Bad mapping of type "+typeof e+" for key "+n+", event value must map to AnimatedValue"),void e.setValue(t);v("object"==typeof e,"Bad mapping of type "+typeof e+" for key "+n),v("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:C,ValueXY:w,decay:j,timing:V,spring:H,add:A,multiply:M,delay:q,sequence:F,parallel:B,stagger:U,event:z,createAnimatedComponent:s,__PropsOnlyForTests:k}}),__d("Interpolation",function(e,t,n,r){"use strict";function o(e,t,n,r,o,i,s,a){var u=e;if(t>u){if("identity"===s)return u;"clamp"===s&&(u=t)}if(u>n){if("identity"===a)return u;"clamp"===a&&(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 i(e){var t=p(e);if(t.isValid()){var n=t.toRgb(),r=n.r,o=n.g,i=n.b,s=n.a;return"rgba("+r+", "+o+", "+i+", "+(void 0===s?1:s)+")"}return e}function s(e){var t=e.outputRange;h(t.length>=2,"Bad output range"),t=t.map(i),a(t);var n=t[0].match(v).map(function(){return[]});t.forEach(function(e){e.match(v).forEach(function(e,t){n[t].push(+e)})});var r=t[0].match(v).map(function(t,r){return f.create(babelHelpers["extends"]({},e,{outputRange:n[r]}))});return function(e){var n=0;return t[0].replace(v,function(){return String(r[n++](e))})}}function a(e){for(var t=e[0].replace(v,""),n=1;n=e);++n);return n-1}function c(e){h(e.length>=2,"inputRange must have at least 2 elements");for(var t=1;t=e[t-1],"inputRange must be monotonically increasing "+e)}function l(e,t){h(t.length>=2,e+" must have at least 2 elements"),h(2!==t.length||t[0]!==-(1/0)||t[1]!==1/0,e+"cannot be ]-infinity;+infinity[ "+t)}var p=t("tinycolor"),h=function(e,t){if(!e){var n=new Error(t);throw n.framesToPop=1,n}},d=function(e){return e},f=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"create",value:function(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return s(e);var t=e.outputRange;l("outputRange",t);var n=e.inputRange;l("inputRange",n),c(n),h(n.length===t.length,"inputRange ("+n.length+") and outputRange ("+t.length+") must have the same length");var r=e.easing||d,i="extend";void 0!==e.extrapolateLeft?i=e.extrapolateLeft:void 0!==e.extrapolate&&(i=e.extrapolate);var a="extend";return void 0!==e.extrapolateRight?a=e.extrapolateRight:void 0!==e.extrapolate&&(a=e.extrapolate),function(e){h("number"==typeof e,"Cannot interpolation an input which is not a number");var s=u(e,n);return o(e,n[s],n[s+1],t[s],t[s+1],r,i,a)}}}]),e}(),v=/[0-9\.-]+/g;n.exports=f}),__d("Easing",function(e,t,n,r){"use strict";var o=t("bezier"),i=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"step0",value:function(e){return e>0?1:0}},{key:"step1",value:function(e){return e>=1?1:0}},{key:"linear",value:function(e){return e}},{key:"ease",value:function(e){return s(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,i){if(void 0===i){var s=500;i=1e3/60/s/4}return o(e,t,n,r,i)}},{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}(),s=i.bezier(.42,0,1,1);n.exports=i}),__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},s=function(e){var n=1-e;return 3*n*n*e*t+3*n*e*e*r+e*e*e},a=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)r)return s(t);if(r>n)return s(n);for(;n>t;){if(u=i(r),Math.abs(u-p)u?t=r:n=r,r=.5*(n-t)+t}return s(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 s(e,t){return{tension:o(e),friction:i(t)}}function a(e,t){function n(e,t,n){return(e-t)/(n-t)}function r(e,t,n){return t+e*(n-t)}function s(e,t,n){return e*n+(1-e)*t}function a(e,t,n){return s(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=a(h,p(f),.01);return{tension:o(f),friction:i(v)}}n.exports={fromOrigamiTensionAndFriction:s,fromBouncinessAndSpeed:a}}),__d("requestAnimationFrame",function(e,t,n,r){"use strict";var o=t("emptyFunction"),i=t("nativeRequestAnimationFrame"),s=0,a=i||function(t){var n=Date.now(),r=Math.max(0,16-(n-s));return s=n+r,e.setTimeout(function(){t(Date.now())},r)};a(o),n.exports=a}),__d("nativeRequestAnimationFrame",function(e,t,n,r){"use strict";var o=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame;n.exports=o}),__d("ViewPagerAndroid",function(e,t,n,r){"use strict";n.exports=t("UnimplementedView")}),__d("WebView",function(e,t,n,r){"use strict";var o=t("ActivityIndicatorIOS"),i=t("EdgeInsetsPropType"),s=t("React"),a=t("StyleSheet"),u=t("Text"),c=t("View"),l=t("invariant"),p=t("keyMirror"),h=t("requireNativeComponent"),d=s.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 s.createElement(c,{style:T.loadingView},s.createElement(o,null))},S=function(e,t,n){return s.createElement(c,{style:T.errorContainer},s.createElement(u,{style:T.errorTextTitle},"Error loading page"),s.createElement(u,{style:T.errorText},"Domain: "+e),s.createElement(u,{style:T.errorText},"Error Code: "+t),s.createElement(u,{style:T.errorText},"Description: "+n))},E=s.createClass({displayName:"WebView",statics:{JSNavigationScheme:_,NavigationType:y},propTypes:babelHelpers["extends"]({},c.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,domStorageEnabledAndroid:d.bool,injectedJavaScript:d.string,scalesPageToFit:d.bool,onShouldStartLoadWithRequest:d.func,allowsInlineMediaPlayback: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=this,t=null;if(this.state.viewState===g.LOADING)t=(this.props.renderLoading||b)();else if(this.state.viewState===g.ERROR){var n=this.state.lastErrorEvent;l(null!=n,"lastErrorEvent expected to be non-null"),t=(this.props.renderError||S)(n.domain,n.code,n.description)}else this.state.viewState!==g.IDLE&&console.error("RCTWebView invalid state encountered: "+this.state.loading);var r=[T.container,T.webView,this.props.style];(this.state.viewState===g.LOADING||this.state.viewState===g.ERROR)&&r.push(T.hidden);var o=this.props.onShouldStartLoadWithRequest&&function(t){var n=e.props.onShouldStartLoadWithRequest&&e.props.onShouldStartLoadWithRequest(t.nativeEvent);f.startLoadWithResult(!!n,t.nativeEvent.lockIdentifier)},i=s.createElement(R,{ref:m,key:"webViewKey",style:r,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,onShouldStartLoadWithRequest:o,scalesPageToFit:this.props.scalesPageToFit,allowsInlineMediaPlayback:this.props.allowsInlineMediaPlayback});return s.createElement(c,{style:T.container},i,t)},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 s.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}}),T=a.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",function(e,t,n,r){"use strict";var o=t("NativeModules").ActionSheetManager,i=t("invariant"),s=t("processColor"),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(babelHelpers["extends"]({},e,{tintColor:s(e.tintColor)}),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(babelHelpers["extends"]({},e,{tintColor:s(e.tintColor)}),t,n)}};n.exports=a}),__d("AdSupportIOS",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("AppRegistry",function(e,t,n,r){"use strict";var o=t("BatchedBridge"),i=t("ReactNative"),s=t("invariant"),a=t("renderApplication"),u={},c={registerConfig:function(e){for(var t=0;ti;i++){var s;o(i)}})},multiGet:function(e,t){var n=this;this._immediate||(this._immediate=setImmediate(function(){n._immediate=null,n.flushGetRequests()}));var r={keys:e,callback:t,keyIndex:this._getKeys.length,resolve:null,reject:null},o=new Promise(function(e,t){r.resolve=e,r.reject=t});return this._getRequests.push(r),this._getKeys.push.apply(this._getKeys,e),o},multiSet:function(e,t){return new Promise(function(n,r){l.multiSet(e,function(e){var i=o(e);t&&t(i),i?r(i):n(null)})})},multiRemove:function(e,t){return new Promise(function(n,r){l.multiRemove(e,function(e){var i=o(e);t&&t(i),i?r(i):n(null)})})},multiMerge:function(e,t){return new Promise(function(n,r){l.multiMerge(e,function(e){var i=o(e);t&&t(i),i?r(i):n(null)})})}};l.multiMerge||(delete p.mergeItem,delete p.multiMerge),n.exports=p}),__d("BackAndroid",function(e,t,n,r){"use strict";function o(){}var i={exitApp:o,addEventListener:o,removeEventListener:o};n.exports=i}),__d("CameraRoll",function(e,t,n,r){"use strict";var o=t("ReactPropTypes"),i=t("NativeModules").CameraRollManager,s=t("createStrictShapeTypeChecker"),a=t("deepFreezeAndThrowOnMutationInDev"),u=t("invariant"),c=["Album","All","Event","Faces","Library","PhotoStream","SavedPhotos"],l=["All","Videos","Photos"];a(c),a(l);var p=(s({first:o.number.isRequired,after:o.string,groupTypes:o.oneOf(c),groupName:o.string,assetType:o.oneOf(l),mimeTypes:o.arrayOf(o.string)}),s({edges:o.arrayOf(s({node:s({type:o.string.isRequired,group_name:o.string.isRequired,image:s({uri:o.string.isRequired,height:o.number.isRequired,width:o.number.isRequired,isStored:o.bool}).isRequired,timestamp:o.number.isRequired,location:s({latitude:o.number,longitude:o.number,altitude:o.number,heading:o.number,speed:o.number})}).isRequired})).isRequired,page_info:s({has_next_page:o.bool.isRequired,start_cursor:o.string,end_cursor:o.string}).isRequired}),function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"saveImageWithTag",value:function(e,t,n){u("string"==typeof e,"CameraRoll.saveImageWithTag tag must be a valid string."),i.saveImageWithTag(e,function(e){t&&t(e)},function(e){n&&n(e)})}},{key:"getPhotos",value:function(e,t,n){var r=t;i.getPhotos(e,r,n)}}]),e}());p.GroupTypesOptions=c,p.AssetTypeOptions=l,n.exports=p}),__d("Clipboard",function(e,t,n,r){"use strict";n.exports=t("NativeModules").Clipboard}),__d("ImagePickerIOS",function(e,t,n,r){"use strict";var o=t("NativeModules").ImagePickerIOS,i={canRecordVideos:function(e){return o.canRecordVideos(e)},canUseCamera:function(e){return o.canUseCamera(e)},openCameraDialog:function(e,t,n){return e=babelHelpers["extends"]({videoMode:!1},e),o.openCameraDialog(e,t,n)},openSelectDialog:function(e,t,n){return e=babelHelpers["extends"]({showImages:!0,showVideos:!1},e),o.openSelectDialog(e,t,n)}};n.exports=i}),__d("IntentAndroid",function(e,t,n,r){"use strict";n.exports={openURL:function(e){console.error("IntentAndroid is not supported on iOS")}}}),__d("LayoutAnimation",function(e,t,n,r){"use strict";function o(e,t){v({config:e},"config","LayoutAnimation.configureNext"),a.configureNextLayoutAnimation(e,t||function(){},function(){})}function i(e,t,n){return{duration:e,create:{type:t,property:n},update:{type:t}}}var s=t("ReactPropTypes"),a=t("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:s.number,delay:s.number,springDamping:s.number,initialVelocity:s.number,type:s.oneOf(Object.keys(p)),property:s.oneOf(Object.keys(d))}),v=u({duration:s.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",function(e,t,n,r){"use strict";var o=t("RCTDeviceEventEmitter"),i=t("NativeModules").LinkingManager,s=t("Map"),a=t("invariant"),u=new s,c=i&&i.initialURL,l="openURL",p=function(){function e(){babelHelpers.classCallCheck(this,e)}return babelHelpers.createClass(e,null,[{key:"addEventListener",value:function(e,t){a("url"===e,"LinkingIOS only supports `url` events");var n=o.addListener(l,t);u.set(t,n)}},{key:"removeEventListener",value:function(e,t){a("url"===e,"LinkingIOS only supports `url` events");var n=u.get(t);n&&(n.remove(),u["delete"](t))}},{key:"openURL",value:function(e){a("string"==typeof e,"Invalid url: should be a string"),i.openURL(e)}},{key:"canOpenURL",value:function(e,t){a("string"==typeof e,"Invalid url: should be a string"),a("function"==typeof t,"A valid callback function is required"),i.canOpenURL(e,t)}},{key:"popInitialURL",value:function(){var e=c;return c=null,e}}]),e}();n.exports=p}),__d("NetInfo",function(e,t,n,r){"use strict";var o=t("Map"),i=t("NativeModules"),s=t("Platform"),a=t("RCTDeviceEventEmitter"),u=i.NetInfo,c="networkStatusDidChange",l=new o,p=void 0;"ios"===s.OS?p=function(e){return"none"!==e&&"unknown"!==e}:"android"===s.OS&&(p=function(e){return"NONE"!==e&&"UNKNOWN"!==e});var h=new o,d={addEventListener:function(e,t){var n=a.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.getCurrentConnectivity(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)})}},isConnectionExpensive:function(e){"android"===s.OS?u.isConnectionMetered(function(t){e(t)}):e(null,"Unsupported")}};n.exports=d}),__d("PushNotificationIOS",function(e,t,n,r){"use strict";var o=t("Map"),i=t("RCTDeviceEventEmitter"),s=t("NativeModules").PushNotificationManager,a=t("invariant"),u=new o,c=s&&s.initialNotification,l="remoteNotificationReceived",p="remoteNotificationsRegistered",h=function(){function e(t){var n=this;babelHelpers.classCallCheck(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 babelHelpers.createClass(e,null,[{key:"presentLocalNotification",value:function(e){s.presentLocalNotification(e)}},{key:"scheduleLocalNotification",value:function(e){s.scheduleLocalNotification(e)}},{key:"cancelAllLocalNotifications",value:function(){s.cancelAllLocalNotifications()}},{key:"setApplicationIconBadgeNumber",value:function(e){s.setApplicationIconBadgeNumber(e)}},{key:"getApplicationIconBadgeNumber",value:function(e){s.getApplicationIconBadgeNumber(e)}},{key:"addEventListener",value:function(t,n){a("notification"===t||"register"===t,"PushNotificationIOS only supports `notification` and `register` events");var r;"notification"===t?r=i.addListener(l,function(t){n(new e(t))}):"register"===t&&(r=i.addListener(p,function(e){n(e.deviceToken)})),u.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},s.requestPermissions(t)}},{key:"abandonPermissions",value:function(){s.abandonPermissions()}},{key:"checkPermissions",value:function(e){a("function"==typeof e,"Must provide a valid callback"),s.checkPermissions(e)}},{key:"removeEventListener",value:function(e,t){a("notification"===e||"register"===e,"PushNotificationIOS only supports `notification` and `register` events");var n=u.get(t);n&&(n.remove(),u["delete"](t))}},{key:"popInitialNotification",value:function(){var t=c&&new e(c);return c=null,t}}]),babelHelpers.createClass(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=h}),__d("Settings",function(e,t,n,r){"use strict";var o=t("RCTDeviceEventEmitter"),i=t("NativeModules").SettingsManager,s=t("invariant"),a=[],u={_settings:i&&i.settings,get:function(e){return this._settings[e]},set:function(e){this._settings=babelHelpers["extends"](this._settings,e),i.setValues(e)},watchKeys:function(e,t){"string"==typeof e&&(e=[e]),s(Array.isArray(e),"keys should be a string or array of strings");var n=a.length;return a.push({keys:e,callback:t}),n},clearWatch:function(e){e1)for(var r=1;n>r;r++)t=arguments[r],t&&(e=(e?e+" ":"")+t);return e}n.exports=o}),__d("ReactFragment",function(e,t,n,r){"use strict";var o=t("ReactChildren"),i=t("ReactElement"),s=t("emptyFunction"),a=t("invariant"),u=t("warning"),c=/^\d+$/,l=!1,p={create:function(e){if("object"!=typeof e||!e||Array.isArray(e))return"production"!==process.env.NODE_ENV?u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e):void 0,e;if(i.isValidElement(e))return"production"!==process.env.NODE_ENV?u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."):void 0,e;1===e.nodeType?"production"!==process.env.NODE_ENV?a(!1,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components."):a(!1):void 0;var t=[];for(var n in e)"production"!==process.env.NODE_ENV&&!l&&c.test(n)&&("production"!==process.env.NODE_ENV?u(!1,"React.addons.createFragment(...): Child objects should have non-numeric keys so ordering is preserved."):void 0,l=!0),o.mapIntoWithKeyPrefixInternal(e[n],t,n,s.thatReturnsArgument);return t}};n.exports=p}),__d("update",function(e,t,n,r){"use strict";function o(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?a(new e.constructor,e):e}function i(e,t,n){Array.isArray(e)?void 0:"production"!==process.env.NODE_ENV?c(!1,"update(): expected target of %s to be an array; got %s.",n,e):c(!1);var r=t[n];Array.isArray(r)?void 0:"production"!==process.env.NODE_ENV?c(!1,"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",n,r):c(!1)}function s(e,t){if("object"!=typeof t?"production"!==process.env.NODE_ENV?c(!1,"update(): You provided a key path to update() that did not contain one of %s. Did you forget to include {%s: ...}?",g.join(", "),f):c(!1):void 0,l.call(t,f))return 1!==Object.keys(t).length?"production"!==process.env.NODE_ENV?c(!1,"Cannot have more than one key in an object with %s",f):c(!1):void 0,t[f];var n=o(e);if(l.call(t,v)){var r=t[v];r&&"object"==typeof r?void 0:"production"!==process.env.NODE_ENV?c(!1,"update(): %s expects a spec of type 'object'; got %s",v,r):c(!1),n&&"object"==typeof n?void 0:"production"!==process.env.NODE_ENV?c(!1,"update(): %s expects a target of type 'object'; got %s",v,n):c(!1),a(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)&&(Array.isArray(e)?void 0:"production"!==process.env.NODE_ENV?c(!1,"Expected %s target to be an array; got %s",d,e):c(!1),Array.isArray(t[d])?void 0:"production"!==process.env.NODE_ENV?c(!1,"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]):c(!1),t[d].forEach(function(e){Array.isArray(e)?void 0:"production"!==process.env.NODE_ENV?c(!1,"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]):c(!1),n.splice.apply(n,e)})),l.call(t,m)&&("function"!=typeof t[m]?"production"!==process.env.NODE_ENV?c(!1,"update(): expected spec of %s to be a function; got %s.",m,t[m]):c(!1):void 0,n=t[m](n));for(var u in t)y.hasOwnProperty(u)&&y[u]||(n[u]=s(e[u],t[u]));return n}var a=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=s}),__d("apsl-react-native-button/Button.js",function(e,t,n,r){"use strict";var o=t("react-native/Libraries/react-native/react-native.js"),i=o.View,s=o.TouchableOpacity,a=o.Text,u=o.StyleSheet,c=o.PropTypes,l=o.ActivityIndicatorIOS,p=o.ProgressBarAndroid,h=o.TouchableNativeFeedback,d=o.Platform,f=o.createClass({displayName:"Button",propTypes:babelHelpers["extends"]({},{textStyle:a.propTypes.style,children:c.string.isRequired,isLoading:c.bool,isDisabled:c.bool,activityIndicatorColor:c.string,onPress:c.func,onLongPress:c.func,onPressIn:c.func,onPressOut:c.func,background:h.propTypes?h.propTypes.background:c.any}),statics:{isAndroid:"android"===d.OS},_renderInnerTextAndroid:function(){return this.props.isLoading?o.createElement(p,{style:[{height:20},v.spinner],styleAttr:"Inverse",color:this.props.activityIndicatorColor||"black"}):o.createElement(a,{style:[v.textButton,this.props.textStyle]},this.props.children)},_renderInnerTextiOS:function(){return this.props.isLoading?o.createElement(l,{animating:!0,size:"small",style:v.spinner,color:this.props.activityIndicatorColor||"black"}):o.createElement(a,{style:[v.textButton,this.props.textStyle]},this.props.children)},_renderInnerText:function(){return f.isAndroid?this._renderInnerTextAndroid():this._renderInnerTextiOS()},render:function(){if(this.props.isDisabled===!0||this.props.isLoading===!0)return o.createElement(i,{style:[v.button,this.props.style,v.opacity]},this._renderInnerText());var e={onPress:this.props.onPress,onPressIn:this.props.onPressIn,onPressOut:this.props.onPressOut,onLongPress:this.props.onLongPress};return f.isAndroid?(e=babelHelpers["extends"](e,{background:this.props.background||h.SelectableBackground()}),o.createElement(h,e,o.createElement(a,{style:[v.button,this.props.style]},this._renderInnerTextAndroid()))):o.createElement(s,babelHelpers["extends"]({},e,{style:[v.button,this.props.style]}),this._renderInnerTextiOS())}}),v=u.create({button:{height:44,flexDirection:"row",borderWidth:1,borderRadius:8,marginBottom:10,alignSelf:"stretch",justifyContent:"center"},textButton:{fontSize:18,alignSelf:"center"},spinner:{alignSelf:"center"},opacity:{opacity:.5}});n.exports=f}),require("InitializeJavaScriptAppEngine"),require("button/index.ios.js");
+__SSTOKENSTRING = "@generated SignedSource<>";
diff --git a/Example/button/index.android.js b/Example/button/index.android.js
new file mode 100644
index 0000000..a59ff9d
--- /dev/null
+++ b/Example/button/index.android.js
@@ -0,0 +1,22 @@
+/**
+ * Sample React Native App
+ * https://github.com/facebook/react-native
+ */
+'use strict';
+
+var React = require('react-native');
+var {
+ AppRegistry,
+} = React;
+import Example from './Example'
+
+var button = React.createClass({
+ render: function() {
+ return (
+
+ );
+ }
+});
+
+
+AppRegistry.registerComponent('button', () => button);
diff --git a/Example/button/index.ios.js b/Example/button/index.ios.js
index e504670..a59ff9d 100644
--- a/Example/button/index.ios.js
+++ b/Example/button/index.ios.js
@@ -7,135 +7,16 @@
var React = require('react-native');
var {
AppRegistry,
- StyleSheet,
- Text,
- View,
} = React;
-var Button = require('apsl-react-native-button');
+import Example from './Example'
var button = React.createClass({
render: function() {
return (
-
-
-
-
-
-
-
-
-
-
-
+
);
}
});
-var styles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'center',
- alignItems: 'center',
- marginLeft: 20,
- marginRight: 20,
- },
- textStyle: {
- color: 'white'
- },
- textStyle6: {
- color: '#8e44ad',
- fontFamily: 'Avenir',
- fontWeight: 'bold'
- },
- buttonStyle: {
- borderColor: '#f39c12',
- backgroundColor: '#f1c40f'
- },
- buttonStyle1: {
- borderColor: '#d35400',
- backgroundColor: '#e98b39'
- },
- buttonStyle2: {
- borderColor: '#c0392b',
- backgroundColor: '#e74c3c'
- },
- buttonStyle3: {
- borderColor: '#16a085',
- backgroundColor: '#1abc9c'
- },
- buttonStyle4: {
- borderColor: '#27ae60',
- backgroundColor: '#2ecc71'
- },
- buttonStyle5: {
- borderColor: '#2980b9',
- backgroundColor: '#3498db'
- },
- buttonStyle6: {
- borderColor: '#8e44ad',
- backgroundColor: '#9b59b6'
- },
- buttonStyle7: {
- borderColor: '#8e44ad',
- backgroundColor: 'white',
- borderRadius: 0,
- borderWidth: 3,
- }
-});
AppRegistry.registerComponent('button', () => button);
diff --git a/Example/button/package.json b/Example/button/package.json
index 0ba7ce7..f2680e8 100644
--- a/Example/button/package.json
+++ b/Example/button/package.json
@@ -6,7 +6,7 @@
"start": "node_modules/react-native/packager/packager.sh"
},
"dependencies": {
- "apsl-react-native-button": "^2.2.0",
- "react-native": "^0.12.0"
+ "apsl-react-native-button": "^2.4.1",
+ "react-native": "^0.18.0"
}
}
diff --git a/README.md b/README.md
index 69c95eb..d69bc85 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,8 @@ Renders a ``TouchableOpacity`` under iOS and a ``TouchableNativeFeedback`` under
## Install
+``apsl-react-native-button`` needs React Native 0.16 or higher.
+
Install the package:
```bash
@@ -48,6 +50,7 @@ and disable it to prevent accidental taps.
| ``isLoading`` | ``bool`` | Renders an inactive state dimmed button with a spinner if ``true``. |
| ``isDisabled`` | ``bool`` | Renders an inactive state dimmed button if ``true``. |
| ``activityIndicatorColor`` | ``string`` | Sets the button of the ``ActivityIndicatorIOS`` or ``ProgressBarAndroid`` in the loading state. |
+| ``background`` | ``TouchableNativeFeedback.propTypes.background`` | **Android only**. The background prop of ``TouchableNativeFeedback``. |
Check the included example for more options.
diff --git a/package.json b/package.json
index 936935a..b9f2bc2 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apsl-react-native-button",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "React Native button component with rounded corners.",
"main": "Button.js",
"scripts": {